Commit Graph

73 Commits (b088565d3535aa62a430338b0f33909d42772748)

Author SHA1 Message Date
Brett 94624bddec Merge remote-tracking branch 'refs/remotes/tpgc/main' 2023-04-08 12:44:49 -04:00
Brett 5116981057 add prefix to LOG_LEVEL 2023-04-08 12:44:31 -04:00
Paragon-Win a6a2ee966c Fix windows! 2023-04-07 00:02:21 -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 409e814815 forgot convert to ms 2023-03-07 18:03:05 -05:00
Brett 13b7c3905b Add total to profiler 2023-03-07 18:02:19 -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 d895e6d033 write profile, histroy count in print-out 2023-03-04 13:07:35 -05:00
Brett 5d493a6493 cleanup printing
remove the needless addition of \n to the end of lines
2023-03-04 11:52:54 -05:00
Brett 643053c409 Ignore negative values by default 2023-03-04 11:46:37 -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 b6cf11505b fix missing + 2023-03-03 10:42:38 -05:00
Brett 8592ad6d92 fix memory issue? 2023-03-03 10:41:38 -05:00
Brett cd4e4581ae move math.h to math subdir, update version to 5.0 2023-02-28 23:33:39 -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
BuildTools d72441f170 Fix use-after-free issue in the logging library 2023-02-22 01:34:41 -05:00
Brett b95359a311 make read lines throw error on file failure 2023-02-17 23:14:22 -05:00
Brett 7a181e0c71 Add history vector size to readout 2023-02-15 09:50:20 -05:00
Brett 8a1d8dbe04 Add plus to the top seperator in the table formatter 2023-02-14 22:35:40 -05:00
Brett 0aab8d789c Add option to ignore negatives 2023-02-14 22:32:23 -05:00
Brett 70a8e3b2ff Add historical intervals to the profiler print (disabled by default) 2023-02-14 22:28:58 -05:00
Brett ed3dfb3dc3 Introduce scoped intervals 2023-02-14 22:22:48 -05:00
Brett 001b6ae46a Add history to intervals 2023-02-14 22:06:30 -05:00
Brett a196a2aa7d c 2023-02-13 21:48:13 -05:00
Brett 128fc2f9dc Fix system namespace 2023-02-11 12:53:32 -05:00
Brett cf48035378 shader processing 2023-02-08 22:30:20 -05:00
Brett cbc703b852 Cleaned up logging and added file location + line number 2023-02-08 17:22:27 -05:00
Brett 118b39c6f6 dido 2023-02-08 14:21:47 -05:00
Brett 2a5314be57 fix logger creating file when logging to file disabled 2023-02-08 14:21:21 -05:00
Brett f1cb6f05f5 flush 2023-02-08 14:12:21 -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 e07b631856 Switch to vector 2023-02-08 13:16:31 -05:00
Brett 54fdeb1ad5 Fix stack dynamic buffer overflow in the logging lib 2023-02-08 13:14:41 -05:00
Brett 3109ec13c0 vectors and matrix 2023-02-07 22:34:10 -05:00
Brett 12a5985916 Push V0.3.2a 2023-01-29 23:36:42 -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 33b0b7bbbb Cleanup + making way for NBT! 2023-01-27 10:45:18 -05:00
Brett 42b912604d Ordered table pretty print 2023-01-27 09:58:51 -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 e58f20d16e Better profiler 2023-01-26 00:59:36 -05:00
Brett bc4bf76be7 Add stream version of the logging macros 2023-01-24 23:01:34 -05:00
Brett 51a1468cf0 Console logging 2023-01-24 17:56:48 -05:00