Brett
f6ca082e15
randomness test
2023-07-23 13:59:11 -04:00
Brett
ec16f5412b
new randomness functions
2023-07-23 13:10:11 -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
889f24d402
logging 2.0 is almost at first working build
2023-07-21 03:32:42 -04:00
Brett
58ba957b1d
working on logging 2.0. Format defined, custom tags added.
2023-07-20 22:38:17 -04:00
Brett
7033474455
memory\!, working on logging!
2023-07-20 21:44:52 -04:00
Brett
d06c7ebeb6
String buffer
2023-07-10 18:45:43 -04:00
Brett
5116981057
add prefix to LOG_LEVEL
2023-04-08 12:44:31 -04:00
Brett
89df343e4f
fix most warnings
2023-04-05 17:21:19 -04:00
Brett
289af13171
fix incorrect translate function
2023-04-01 02:55:00 -04:00
Brett
bd4f07d866
add restrictions to vector template
2023-03-29 13:12:17 -04:00
Brett
1770113f1f
Add test for matrix, works fine, generic template as well
2023-03-08 21:33:34 -05:00
Brett
b62d4bfe78
update vector and fix profile memory usage
2023-03-06 21:29:04 -05:00
Brett
bd89abb2f3
random tests
2023-03-04 22:38:25 -05:00
Brett
811cdff8d1
refactor profiler
...
code is now much more clean
-removed ugly nested loops
-used functions to reduce code clutter and duplcation
removed redundant functions
cleaned up sort and improved names
2023-03-04 11:42:24 -05:00
Brett
7ff48d4916
cleanup math
...
-Moved matrix and vectors into their own file
-math.h now includes all math components
-math moved into sub-folder
-matrix class updated
-new vector types added
2023-02-28 23:20:56 -05:00
Brett
cbc703b852
Cleaned up logging and added file location + line number
2023-02-08 17:22:27 -05:00
Brett
b4548166c3
Finally fully fix logging issue
...
-buffer size is now calculated
-overflows have been fixed
-temporary buffer is allocated on the heap.
2023-02-08 13:40:28 -05:00
Brett
38e6abe4e3
Writing and Reading buffers
2023-01-29 22:27:48 -05:00
Brett
060e1a8efb
Tables now have names
2023-01-29 17:10:36 -05:00
Brett
c5f732342d
Test NBT block reading
...
Block reading is slower than raw reading from the file. Going to run another test:
Test reading in smaller blocks
2023-01-29 15:39:49 -05:00
Brett
483713b265
tests cleanup, NBT UTF
...
The UTF8 implementaion is ripped from openjdk-source's java source code, adapted by me for c++
2023-01-29 15:24:33 -05:00
Brett
f68f23ae30
Update 0.3a!
...
Added table format (TODO: add title to table!)
printing of profiler
ordered table printing to come
TODO: add old table print back, default to table print!
2023-01-27 00:49:44 -05:00
Brett
8ec971f8ce
Printing
2023-01-26 12:21:19 -05:00
Brett
bc4bf76be7
Add stream version of the logging macros
2023-01-24 23:01:34 -05:00
Brett
4562171205
Logging macros now print new line even if the supplied string does not include one.
...
this is done because the use of macros does not support complex line outputs and therefore there will never be a case where \n is not desired.
2023-01-24 15:19:44 -05:00
Brett
6816ddaf7a
Logging is now working with all types + formatting
...
Can provide raw data types like ints, long, float, byte, double etc. Will be printed out as a full line. This cannot be avoided as writing requires the prefix, which cannot be calculated via discrete macro calls. At least not easily.
Performance of the logging needs to be tested
plus writing to filesystem is required.
2023-01-24 15:16:47 -05:00
Brett
5e1deefe48
Add time to the log output
2023-01-23 23:53:37 -05:00
Brett
d025b0595c
Logging works for the most part, more features need to be added
2023-01-23 17:52:32 -05:00
Brett
dee1c92532
string contains functions as well
2023-01-22 18:08:50 -05:00
Brett
69ab5d7079
Added some std::string functions from c++ 20
2023-01-22 17:54:24 -05:00
Brett
4a5c1799ce
Fix delete function for dual children nodes
2023-01-12 23:11:17 -05:00
Brett
4b89ec2ee1
Two children delete is still broken. Single / no child delete works fine.
2023-01-12 14:09:34 -05:00
Brett
89f77e3aa9
Delete is broken
2023-01-12 12:18:39 -05:00
Brett
60c1371a9d
Switching to recursive delete. Fixed search
2023-01-11 18:56:42 -05:00