Bananymous
|
52aa98ba25
|
Kernel+LibC: Add some errno codes
Kernel now returns ENOMEM and other errnos, so we dont have to write
error messages
|
2023-03-02 21:10:44 +02:00 |
Bananymous
|
4afc4660a4
|
BAN: Basic containers have shrink_to_fit() method
I also chaged the default memory allocation increase from 1.5 to 2
|
2023-02-22 02:07:05 +02:00 |
Bananymous
|
247f03c79e
|
BAN: Make ErrorOr<> have attribute [[nodiscard]]
We don't have to specify it everytime we make function return ErrorOr
|
2023-02-19 20:10:30 +02:00 |
Bananymous
|
7ee4ecd7f4
|
BAN: Vector's and Queue's underlying type is T* instead of uint8_t*
I have no idea what kind of brainfart I had to make use uint8_t*
that just complicated the code :D
|
2023-02-10 00:12:23 +02:00 |
Bananymous
|
0d2d6e5348
|
BAN: Fix all emplace functions to actually do perfect forwarding
|
2023-02-01 21:41:51 +02:00 |
Bananymous
|
9b8de5025a
|
All: rename every function from UpperCamelCase to snake_case
This was a mess since I didn't know which to use but now I decided
to go with snake_case :)
|
2023-02-01 21:05:44 +02:00 |
Bananymous
|
c9e32b1b5b
|
BAN: Cleanup Queue AddressOf functions
|
2023-01-18 17:19:57 +02:00 |
Bananymous
|
59fa4055a6
|
BAN: Add Queue::Emplace()
|
2023-01-17 12:02:59 +02:00 |
Bananymous
|
cf63552b2a
|
BAN: Cleanup includes
|
2023-01-17 11:38:16 +02:00 |
Bananymous
|
a02d4c59ed
|
BAN: Vector and Queue replace Address() with AddressOf and correct const
|
2023-01-16 12:10:16 +02:00 |
Bananymous
|
57cbd728db
|
BAN: Rewrite Queue with move semantics
|
2023-01-13 15:04:06 +02:00 |
Bananymous
|
61de71e0d5
|
BAN: Properly allocate/deallocate elements in Vector/Queue
|
2023-01-13 01:09:40 +02:00 |
Bananymous
|
6ed542d6bf
|
BAN: Queue and Vector now default initialize newly allocated elements
|
2023-01-13 01:00:50 +02:00 |
Bananymous
|
c33c6c5785
|
BAN: memcpy only if we already have a buffer
|
2023-01-13 00:17:19 +02:00 |
Bananymous
|
61bd9da8e0
|
BAN: Add [[nodiscard]] to BAN functions returning ErrorOr
|
2023-01-12 23:57:07 +02:00 |
Bananymous
|
78da037dda
|
BAN: String, Queue and Vector dont use floating point arithmetic
|
2023-01-12 17:00:29 +02:00 |
Bananymous
|
6f9552d673
|
BAN: Add math to its own namespace
|
2023-01-10 19:11:27 +02:00 |
Bananymous
|
1a65ea977d
|
BAN: Better ASSERT()
|
2023-01-10 17:43:18 +02:00 |
Bananymous
|
b60af90538
|
BAN: Add min, max and clamp
|
2022-12-30 19:52:16 +02:00 |
Bananymous
|
b49a873d54
|
BAN: Add allocator/deallocator references for kernel/userspace
|
2022-12-13 13:40:54 +02:00 |
Bananymous
|
334abe6b27
|
Kernel: lol
|
2022-12-13 12:12:15 +02:00 |
Bananymous
|
835430e7b0
|
BAN: Move Formatter to new project called BAN
I also implemented basic ErrorOr and Queue
|
2022-12-13 10:39:57 +02:00 |