Brett
63ae93c6e6
move around to bytes and make it faster
2023-10-24 21:43:22 -04:00
Brett
5a07594e42
fix assert
2023-10-15 17:48:10 -04:00
Brett
76b2d57f05
add split for char
2023-10-15 16:43:20 -04:00
Brett
88ef415f8b
add missing return
2023-10-14 18:36:32 -04:00
Brett
4f4ed1918b
add string char contains overload
2023-10-14 18:35:11 -04:00
Brett
ce642a30b7
rename
2023-10-14 17:06:10 -04:00
Brett
f55e7d931b
add string numbers check
2023-10-14 17:05:51 -04:00
Brett
4486edee60
add .get for argparse (does a get_cast), add rdtsc for profilers
2023-10-03 00:43:08 -04:00
Brett
0bbcb8eeef
Merge remote-tracking branch 'github/main'
2023-09-21 23:24:03 -04:00
Brett
029132c622
macro sackro allocator get fuckedero
2023-09-21 23:23:27 -04:00
Brett
a438baeca3
fix time returning only extra nanoseconds. function now returns the total nanoseconds sine starting the program
...
this might be changed in the future
2023-09-17 16:24:53 -04:00
Brett
6fc5496c76
remove path test
2023-09-13 16:52:23 -04:00
Brett
e2d932ea78
cpu timer
2023-09-13 16:49:56 -04:00
Brett
215220f98b
move defines to c++
2023-09-07 00:23:13 -04:00
Brett
465f1a4fc8
fix assert not requiring ; at the end
2023-09-07 00:21:02 -04:00
Brett
650af9877f
inline some string functions - disable warnings
2023-08-31 21:47:32 -04:00
Brett
d3ed46686e
add gcount to fs utils
2023-08-25 03:41:43 -04:00
Brett
1b4e36416a
make exception API more consistent
...
blt_throw no longer halts execution
BLT_THROW has been added which throws the exception
2023-08-23 15:26:36 -04:00
Brett
9348207ffb
Add exceptions / assertions
...
Only works for linux / GNU
2023-08-23 15:23:47 -04:00
Brett
1d03938f95
SQLite
2023-08-18 02:21:22 -04:00
Brett
6579a3f5cb
remove static from random dev
2023-08-17 12:20:59 -04:00
Brett
ea986bbc95
only allow uuid.h if openssl is included in parent project
2023-08-17 12:14:59 -04:00
Brett
1e8f431f9e
UUID
2023-08-15 19:25:06 -04:00
Brett
7f9d9bf241
fix issue with blt:logging using non-namespaced log function in macro expansion
2023-08-14 22:49:32 -04:00
Brett
04fd3aec8b
static, nbt, cassert, algoritmn, get exposed
...
Basically fix a bunch of stuff that came up in production
2023-08-09 21:48:30 -04:00
Brett
4ae730c9bb
remove blt::logging from argparse
...
use std::cout now as it produces more logical outputs
2023-08-07 22:39:25 -04:00
Brett
e91c915238
fix logging memory errors
2023-08-03 01:48:24 -04:00
Brett
4a3c03dd5e
add -vvv support and add some actions + version
2023-08-02 14:00:11 -04:00
Brett
620a16574d
update hashmap to include hash, eq and alloc
2023-07-30 14:04:59 -04:00
Brett
147c46a1a4
fix cmake lists and move hashmap decl to hashmap.h
2023-07-29 17:41:45 -04:00
Brett
7b7d9df67b
NBT appears to be completely working
2023-07-28 01:35:01 -04:00
Brett
126faa0b03
NBT working!!
2023-07-27 01:47:11 -04:00
Brett
c4c23e9cc6
NBT finished, need to add decoder / tests
...
- evil hacks are not fun (blt::nbt::_internal_ forward declares list and compound for use inside list / compound)
- list could be made faster by bulk allocating when type is known however i believe the compiler is smart enough to do this for me
- testing that should be a todo!
2023-07-26 13:09:41 -04:00
Brett
cf7c6f2237
logging NONE will now output without format string
2023-07-25 14:06:04 -04:00
Brett
983d7de820
std::function is slow!!
...
maybe change blt::logging to use something a little faster. base class + virtual function isn't that slow!
2023-07-24 03:30:23 -04:00
Brett
f5d6ef19a4
remove format changes
2023-07-24 02:55:03 -04:00
Brett
85fdc4fa65
Move constructing is now allowed for the scoped buffer, copy assignment disallowed.
...
Copy assignment isn't allowed because T cannot be guaranteed to be copyable and I don't want this class to involve type traits
2023-07-24 02:52:11 -04:00
Brett
31855dd0a4
move math functions to math.h
...
format contained a rounding function and power function, they are now in math.h
2023-07-24 02:44:25 -04:00
Brett
0d5abd143f
readme update plus time functions and cleaner scoped_buffer WITH begin()/end()
...
scoped_buffer update will break most uses
2023-07-24 02:39:03 -04:00
Brett
7fd3fbadb3
change default to not log to file!
2023-07-23 23:21:16 -04:00
Brett
ec16f5412b
new randomness functions
2023-07-23 13:10:11 -04:00
Brett
529d996a38
fix minor date issue
2023-07-22 18:26:39 -04:00
Brett
8ce22fd53a
Add STREAM macro varaints to the disabled logging section
2023-07-22 12:55:44 -04:00
Brett
fa55b5e929
update cmake logging config and README.md
2023-07-21 22:45:23 -04:00
Brett
f325d7aa83
BLT logging v2
2023-07-21 22:21:09 -04:00
Brett
0ba2254729
logging to file
2023-07-21 18:06:55 -04:00
Brett
7e1007526f
add functions to change logging settings (global\!)
2023-07-21 16:52:44 -04:00
Brett
b9b501d391
new blt logging works fine!
2023-07-21 16:49:48 -04:00
Brett
f5069859c5
Merge remote-tracking branch 'github/main'
2023-07-21 03:56:11 -04:00
Brett
db9c6c9446
strings
2023-07-21 03:54:06 -04:00