Commit Graph

413 Commits (ec6ac4e5c26c909e3914338e852ef255937f360c)

Author SHA1 Message Date
Brett 7ac20db077 span 2024-02-09 00:14:43 -05:00
Brett 070f1812cd span 2024-02-09 00:13:59 -05:00
Brett c89aa61cca string_view splits, with sv variants for returning vectors of views into the string_view 2024-02-08 14:08:09 -05:00
Brett cf27247eb4 enumerate on itr_offset 2024-02-08 13:43:30 -05:00
Brett f3c3a3bc4a iterator offsetting 2024-02-08 12:59:15 -05:00
Brett 4f871806ab make arg_results public 2024-02-08 09:52:02 -05:00
Brett 82821c0095 add to_string values to argparse (make it cleaner 2024-02-08 08:49:19 -05:00
Brett 8c4c618cc0 refractor a bit 2024-02-06 00:20:37 -05:00
Brett e0f2069b19 make vec class trivially copyable. Also add a couple new useful constructors 2024-02-06 00:00:35 -05:00
Brett 83729b83d0 ugh TODO: measure gcc version 2024-02-04 14:38:52 -05:00
Brett 25b35024e1 remove unused but troublesome include from nbt 2024-02-04 14:27:44 -05:00
Brett 2f400a6240 c++20 fixes 2024-02-04 14:24:25 -05:00
Brett b2534baaf0 Merge remote-tracking branch 'github/main' 2024-02-04 13:07:31 -05:00
Brett c2387e6564 expected seems to be working 2024-02-03 17:09:59 -05:00
Brett f3b92c3c2c currently broken and untested but almost have c++23 std::expected in BLT (c++17) 2024-02-03 13:11:59 -05:00
Brett d638edf012 more std::expected 2024-02-01 18:46:47 -05:00
Brett 991acb8d4f working on expected 2024-02-01 15:51:54 -05:00
Brett 527595e1cf add assert with custom runtime fail message 2024-01-31 17:24:46 -05:00
Brett 215a596d21 assert print function 2024-01-31 17:13:22 -05:00
Brett 93f56ebcb2 system 2024-01-31 01:16:13 -05:00
Brett 2cc2b2d262 add cstdlib to assert.h because it's needed for exit() 2024-01-30 00:38:38 -05:00
Brett a0b92ddfa7 destory now checks for null 2024-01-25 10:01:21 -05:00
Brett 4116404763 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-01-25 10:01:03 -05:00
Brett b828f3b200 destory now checks for null 2024-01-25 10:00:56 -05:00
Brett 2ef516e66a check against nullptr 2024-01-24 17:37:01 -05:00
Brett b383fb0d16 lambda vistor help 2024-01-24 17:03:20 -05:00
Brett e219444d76 Merge remote-tracking branch 'github/main' 2024-01-19 16:36:50 -05:00
Brett 3163e66879 loader to string_view 2024-01-19 16:30:35 -05:00
Brett 0fbe3bf228 BLT rust like types because std::.... is too long 2024-01-16 14:31:58 -05:00
Brett a2e8cacaf2 we love warnings 2024-01-16 14:24:41 -05:00
Brett a4f0b1e3d4 obj laoder 2024-01-11 15:51:00 -05:00
Brett 60ec2051d8 nyahh 2024-01-11 11:16:46 -05:00
Brett 9147a85dc3 string_view trim 2024-01-08 22:08:48 -05:00
Brett 023b3f150b cstdint 2024-01-07 13:06:39 -05:00
Brett 8411810ab5 need to find a better way of doing contains on all containers 2024-01-02 02:21:44 -05:00
Brett bf6d15015a typecast 2024-01-02 01:27:43 -05:00
Brett 73094dbd6d add little fun != to vec 2024-01-02 01:18:47 -05:00
Brett d882b76d83 whoops forgot logging include 2024-01-01 20:57:05 -05:00
Brett f960dbddae thread class needs some work. use the constructor if non-queue 2024-01-01 20:53:26 -05:00
Brett 6e51e5cbe6 add features 2023-12-30 17:05:57 -05:00
Brett d913e95965 thread pool (untested) 2023-12-30 03:25:39 -05:00
Brett 13f82dfc2f math rads 2023-12-29 19:32:16 -05:00
Laptop Windows aad5958bc0 fixed windows 2023-12-29 01:07:08 -05:00
Brett 5ae17f4a86 fix msvc error 2023-12-28 12:33:01 -05:00
Brett c706e9b1df fix not including constexpr 2023-12-28 12:28:10 -05:00
Brett 1fed762bf8 string view in string.h 2023-12-20 14:57:17 -05:00
Brett 3778408504 make proper use of the allocator 2023-12-20 14:49:31 -05:00
Brett ce778da7f1 bin tree 2023-12-20 14:45:48 -05:00
Brett 665f6e0186 remove construct/destruct from allocator 2023-12-20 14:36:46 -05:00
Brett 111ab14b37 small done 2023-12-19 01:28:59 -05:00
Brett 8e701f6953 binary tree 2023-12-19 00:35:37 -05:00
Brett 2440044d72 bump version + allocator rule of 5 2023-12-18 23:24:53 -05:00
Brett b59f4af8ed bump version 2023-12-18 23:16:34 -05:00
Brett 085fd70063 move allocator to new file, memory_util, move functions around 2023-12-18 23:13:44 -05:00
Brett 3638703242 make work as a standard allocator 2023-12-18 20:55:27 -05:00
Brett 825e2c71a4 comments on the area allocator 2023-12-18 19:51:55 -05:00
Brett 19743d2be0 memory time 2023-12-18 19:22:29 -05:00
Brett b012b9f27c area allocator workings (basic, needs improvement) 2023-12-18 02:02:35 -05:00
Brett 57be387904 Merge remote-tracking branch 'refs/remotes/tpgc/main' 2023-12-16 15:53:18 -05:00
Brett 0f48bb8060 stacky 2023-12-16 15:53:02 -05:00
Brett 445a0028f7 vector? 2023-12-16 02:46:44 -05:00
Brett a691ca76b0 hashmap was in a bad place 2023-12-16 02:40:03 -05:00
Brett 4de984bdb8 emscript on system.h 2023-12-16 02:37:24 -05:00
Brett bda044de1e box 2023-12-15 14:03:33 -05:00
Brett 19f775b919 boxes now work nicely 2023-12-15 02:36:50 -05:00
Brett 1d52b21131 ascii box now fixed and back to where it was 2023-12-15 01:49:42 -05:00
Brett 90f271961f visit 2023-12-11 17:52:24 -05:00
Brett c1c989d416 love lambdas 2023-12-11 16:58:20 -05:00
Brett 4e526f1e8e boxes
need to make titleless boxes work next
2023-12-11 16:48:44 -05:00
Brett caaf91e9c7 boxes 2023-12-11 14:57:10 -05:00
Brett 7aae8272c3 memory tests 2023-12-10 15:15:23 -05:00
Brett 319f7a3771 static vector 2023-12-10 14:54:08 -05:00
Brett e6d096a486 move ranges around (utility over memory)
TOOD: add reverse
2023-12-10 13:21:26 -05:00
Brett ce6ade1a90 minior cleanup 2023-12-09 21:21:14 -05:00
Brett 8c862f5a8f enumerate fast enough 2023-12-09 15:32:02 -05:00
Brett eb9cd030e3 working on enumerate 2023-12-09 13:44:16 -05:00
Brett 704e77419f test 2023-12-08 20:44:45 -05:00
Brett a4220e3c0d test 2023-12-08 20:11:58 -05:00
Brett 8defbaf70d hot chocolate 2023-12-07 16:03:38 -05:00
Brett da891be991 fix memory leak in assert, add demangling and link options to find function names 2023-12-07 15:59:26 -05:00
Brett de84f9573b Merge remote-tracking branch 'refs/remotes/tpgc/main' + explict fixes 2023-12-03 17:02:50 -05:00
Brett 743cb4ae91 sexy columns 2023-12-03 17:01:51 -05:00
Brett 03c63cdf90 formatting broken 2023-12-01 15:03:47 -05:00
Brett 34451b5b86 please make all men gay -brett (to santa, xmas forever list) 2023-12-01 12:02:20 -05:00
Brett 98b5f6fa1e minor formatting 2023-11-30 20:14:18 -05:00
Brett e2b278e8bd working now 2023-11-30 19:56:45 -05:00
Brett da32f9b98a Autism (Ascii trees)
making ascii trees because fun
2023-11-29 21:36:22 -05:00
Brett 583807af96 fix profiler sorting 2023-11-26 18:05:38 -05:00
Brett f5886416bf move blackbox to utility 2023-11-26 17:35:06 -05:00
Brett f99ea36a85 utility is useless 2023-11-24 13:45:14 -05:00
Brett 02c62a2d63 move blackboxes to system 2023-11-22 21:21:17 -05:00
Brett 6514736262 add format to cycles to make look nice 2023-11-22 20:39:46 -05:00
Brett 06f87c9734 fix missing cstring 2023-11-17 01:47:24 -05:00
Brett fd9fa5454d compiler support for blackbox 2023-11-14 01:05:28 -05:00
Brett 5472783bd7 it's still recursive but it's honest work 2023-11-13 15:32:39 -05:00
Brett 3d7abd2765 fix assert, working on loading 2023-11-13 15:15:27 -05:00
Brett 19baf8b048 include recursive 2023-11-13 14:27:51 -05:00
Brett 32e2d48cd3 worsen logging 2023-11-10 12:40:10 -05:00
Brett bd7976cf71 fix logging 2023-11-09 21:11:34 -05:00
Brett e912e7e272 ranges 2023-11-09 19:11:56 -05:00