Commit Graph

251 Commits (aabb9d801dea45f5de138b0d3d80e87223d13587)

Author SHA1 Message Date
Brett 9ad96191ff memory love, expanding buffer. might already have one of theses. should makes docs! 2024-06-19 21:16:58 -04:00
Brett 2266d64f04 add raw type string 2024-06-19 13:07:39 -04:00
Brett 8d3bfbcdc3 use pointer type 2024-06-04 14:00:05 -04:00
Brett 00f368eb23 pointer difference type 2024-06-04 13:59:32 -04:00
Brett bc68e6dd4a allocator changes, allow huge pages 2024-06-03 02:14:43 -04:00
Brett a8b2bc2d01 easing functions 2024-05-14 21:57:51 -04:00
Brett a3e187bd01 constexpr on vector functions 2024-05-14 21:31:59 -04:00
Brett 9bd19ed372 color interpolation 2024-05-14 21:30:28 -04:00
Brett 12169a7001 matrix functions for vec2 operations, defaults are logically assumed. 2024-05-13 21:31:05 -04:00
Brett 9c0fc81969 quick push to make sure branches are up to date 2024-05-11 20:41:32 -04:00
Brett f228cfbbe3 move template functions into cpp file 2024-05-11 17:44:37 -04:00
Brett fa5083b637 templating works for what i need
might be bugs in some functions
2024-05-11 13:39:21 -04:00
Brett 7cd736cf6c templating works for what i need
might be bugs in it still
2024-05-11 13:39:07 -04:00
Brett c3cd00cf04 broekn 2024-05-10 21:36:38 -04:00
Brett 83329f6736 freezing hands 2024-05-10 19:01:23 -04:00
Brett ce7c1357e0 working on templating 2024-05-10 12:56:48 -04:00
Brett 4ef3fe7573 template broken 2024-05-10 01:53:50 -04:00
Brett da82a40699 silly 2024-05-09 21:53:49 -04:00
Brett fa979a2fd4 silly 2024-05-09 21:53:08 -04:00
Brett b857bc96ef template engine 2024-05-09 13:51:25 -04:00
Brett 943fb84211 fix missing ; 2024-05-05 13:14:41 -04:00
Brett 9b86278a29 constexpr on vecs 2024-05-03 15:57:04 -04:00
Brett 3f0ea887cd allow any type that can be static_cast to type of vector in operators like +, -, *. / 2024-05-01 21:28:42 -04:00
Brett 37da0bd76d support vectors with 1/(vec<T>) 2024-05-01 21:25:29 -04:00
Brett 8a5794cfee vec silly 2024-05-01 21:12:16 -04:00
Brett e6b4c4a330 change mat4x4 internal structure, adjugate and inverse now works
determinant probably does not
2024-05-01 12:11:53 -04:00
Brett 0a04408e70 inverse and bed 2024-05-01 03:27:17 -04:00
Brett 133728b641 make color no longer transparent 2024-04-29 21:46:32 -04:00
Brett 86fd4a2a9a inline make color 2024-04-29 21:45:01 -04:00
Brett 69e6a505d6 make color 2024-04-29 21:35:16 -04:00
Brett c8ce910fe1 warnings 2024-04-26 01:16:46 -04:00
Brett 1772e9a6d7 fix system and warnings 2024-04-25 19:35:05 -04:00
Brett 325508e807 forgot .data on elements 2024-04-12 00:04:23 -04:00
Brett 898760e938 allow access to vector data insides 2024-04-12 00:03:56 -04:00
Brett 9db3f12048 printing vectors is fun 2024-04-09 19:09:50 -04:00
Brett 4743018302 replace the filesystem because apparently i actually used that 2024-04-09 18:24:34 -04:00
Brett 0ec0548661 bump cmake, string 2024-04-06 17:02:10 -04:00
Brett 26d215be0a finish fixed point 2024-04-04 18:23:34 -04:00
Brett 27af4e339f parker used paper 2024-04-04 10:45:50 -04:00
Brett 646fd60212 more fixed point numbers now with explict conversions! 2024-04-04 10:27:16 -04:00
Brett de5d363fe8 unsigned div 2024-04-04 09:22:29 -04:00
Brett cbb747634a fp working now 2024-04-04 09:20:11 -04:00
Brett 2bab551319 fixed pointer numbers time! 2024-04-04 09:00:48 -04:00
Brett 496a1d6db7 argparse? 2024-04-02 12:08:33 -04:00
Brett 1e6bc67850 vector const fix for gcc12 2024-04-01 08:31:20 -04:00
Brett 93812fd138 namespace change 2024-03-31 13:57:42 -04:00
Brett 2280046f14 socket error handler 2024-03-31 13:56:56 -04:00
Brett 822d926651 argparse bug fix 2024-03-31 01:42:38 -04:00
Brett f100e95a30 fix some issue with the allocator 2024-03-24 17:31:11 -04:00
Brett 9950fd3c94 patch 2024-03-23 19:52:29 -04:00
Brett 26e606afb1 based 2024-03-23 02:48:13 -04:00
Brett 1256ec201c any_t const 2024-03-22 19:32:59 -04:00
Brett 2dd44ca6e7 allow any_t buffered (threads!!) 2024-03-22 18:56:44 -04:00
Brett 16641a27cb more thread pool changes, added counting of tasks. im sure parker will hate this :3 2024-03-22 11:40:01 -04:00
Brett 6a5b7a6865 minior thread pool change 2024-03-22 11:30:58 -04:00
Brett 9bba525b1f add any type 2024-03-11 17:08:11 -04:00
Brett 1abd3214be make not round by default 2024-03-11 12:07:00 -04:00
Brett 7e405a27ee changes to how formatter works 2024-03-11 12:05:37 -04:00
Brett b564b3e57b restrict member access 2024-03-11 11:56:15 -04:00
Brett 6400b1521b allocator stats 2024-03-11 11:51:13 -04:00
Brett 263bbc88cf fix not calling the destructor 2024-03-10 22:57:40 -04:00
Brett 62a973246d ranges 2024-03-10 15:49:52 -04:00
Brett 1dc08ca723 add null check 2024-03-09 12:57:58 -05:00
Brett 24cc37f220 docs for the allocator, minor cleanup 2024-03-08 22:34:50 -05:00
Brett 7e7e542f51 forgot to make free 2024-03-08 16:56:50 -05:00
Brett 7177b03a43 fix allocator issue
misaligned size
2024-03-08 16:37:51 -05:00
Brett 55bae67407 having some issues with the allocator 2024-03-08 12:27:07 -05:00
Brett b4be72795d make sure stored type is trivally_copyable 2024-03-07 13:01:58 -05:00
Brett e29faf7f3a move the extra data to the start 2024-03-07 12:55:12 -05:00
Brett b937df3ca6 allow storage of extra data inside metadata 2024-03-07 12:46:00 -05:00
Brett 19857f3b2b increase patch limit 2024-03-07 12:00:52 -05:00
Brett a18ea4b1a5 test patch limit 2024-03-07 11:59:38 -05:00
Brett f477f8d9f2 catch KeyboardInterrupt 2024-03-07 11:56:05 -05:00
Brett 7ed84ab0bf finished commit script? 2024-03-07 11:54:09 -05:00
Brett 0e8445e7ef maybe it works now? 2024-03-07 11:50:23 -05:00
Brett 479b28b2f8 python file working? 2024-03-07 11:50:04 -05:00
Brett 50dd245ecb python file now works 2024-03-07 11:49:29 -05:00
Brett a71df8b7de python script is now all you need@ 2024-03-07 11:48:49 -05:00
Brett 2eb4af7797 git commiting 2024-03-07 11:47:57 -05:00
Brett 3f06d0e619 array now accounts for alignment 2024-03-07 11:38:09 -05:00
Brett 56b569e0fd automatic commiting 2024-03-07 09:52:02 -05:00
Brett b55c00bcb5 version bumb 2024-03-07 09:00:36 -05:00
Brett 7444103897 version bump 2024-03-07 08:25:53 -05:00
Brett 9ad652195b fix private 2024-02-26 11:02:16 -05:00
Brett 9b4d0cc9a8 push version 0.12.0. Breaking changes to the hashmap typename, Now blt::hashmap_t and blt::hashset_t
This was done to be more consistent
2024-02-25 14:39:56 -05:00
Brett b4dbb6377e unicode, cmakes 2024-02-24 03:30:31 -05:00
Laptop Windows 43cf8c0ba1 windows 2024-02-21 20:24:00 -05:00
Brett 68f6a0af44 whoops 2024-02-16 00:23:11 -05:00
Brett 558ed1e0fd GET FUCKED 2024-02-16 00:16:58 -05:00
Brett 6ec0b1f886 changes? 2024-02-14 16:19:48 -05:00
Brett ea31d8f26c add resize to scoped buffer to allow better usage in the GP assignment 2024-02-14 15:21:59 -05:00
Brett 3473247e6c what changed? 2024-02-13 23:49:18 -05:00
Brett 8c4c618cc0 refractor a bit 2024-02-06 00:20:37 -05:00
Brett 903bac9fc1 mmmm 2024-01-08 15:38:36 -05:00
Brett 14d0ec8283 need static 2024-01-08 13:45:13 -05:00
Brett 2934750168 shared lib 2024-01-08 13:25:56 -05:00
Brett 58f575965c install 2024-01-08 09:17:17 -05:00
Brett c9070f66c3 merge 2024-01-08 09:00:07 -05:00
Brett 8bba4754dc fix warning, make lib shared 2024-01-08 08:58:14 -05:00
Laptop Windows aad5958bc0 fixed windows 2023-12-29 01:07:08 -05:00
Brett b59f4af8ed bump version 2023-12-18 23:16:34 -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 f99ea36a85 utility is useless 2023-11-24 13:45:14 -05:00
Brett 6512da83e3 properly setup blt tests 2023-11-22 23:25:29 -05:00
Brett da0609e0fd C++ 17 2023-11-22 23:06:29 -05:00
Brett f49147ca3d blt messages 2023-11-22 19:17:15 -05:00
Brett e2d932ea78 cpu timer 2023-09-13 16:49:56 -04:00
Brett 7bf9cdc19b update version to 0.8.1 2023-08-03 01:51:41 -04:00
Brett 147c46a1a4 fix cmake lists and move hashmap decl to hashmap.h 2023-07-29 17:41:45 -04:00
Brett 94e10e7674 fix include in argparse, update cmake version 2023-07-29 17:24:28 -04:00
Brett 90350e8584 parse 2023-07-29 13:38:19 -04:00
Brett 21425cff55 add parallel hashmaps optional submodule 2023-07-29 02:03:28 -04:00
Brett 7b7d9df67b NBT appears to be completely working 2023-07-28 01:35:01 -04:00
Brett 1998ddbafe update to c++20 2023-07-24 13:00:35 -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 fa55b5e929 update cmake logging config and README.md 2023-07-21 22:45:23 -04:00
Brett f5069859c5 Merge remote-tracking branch 'github/main' 2023-07-21 03:56:11 -04:00
Brett 58ba957b1d working on logging 2.0. Format defined, custom tags added. 2023-07-20 22:38:17 -04:00
Brett d06c7ebeb6 String buffer 2023-07-10 18:45:43 -04:00
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 d9b53aaa11 reduce min version 2023-04-01 16:49:54 -04:00
Brett 08c5426582 reduce cmake version
TODO: find the min version
2023-04-01 16:03:08 -04:00
Brett b51a5363b2 fix 2023-03-14 18:02:20 -04:00
Brett b77638436e fast functions of common math (untested!) 2023-02-28 23:50:13 -05:00
Brett cd4e4581ae move math.h to math subdir, update version to 5.0 2023-02-28 23:33:39 -05:00
Brett 2b203b086d Update version to reflect changes in API 2023-02-14 22:53:19 -05:00
Brett 12a5985916 Push V0.3.2a 2023-01-29 23:36:42 -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 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 d025b0595c Logging works for the most part, more features need to be added 2023-01-23 17:52:32 -05:00
Brett 0d2292e1d4 Fix cmake when not using phmaps 2023-01-16 14:09:27 -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
Brett beff47b8f0 Randoms, String refactor, Time, System, + Profiler improvements 2023-01-05 01:52:56 -05:00
Brett bc66a3ce79 include 2022-12-27 00:59:49 -05:00
Brett fda4012b42 include fix 2022-12-27 00:59:10 -05:00
Brett 3a763c1497 cmake 2022-12-27 00:55:50 -05:00
Brett 5899b4fae1 cmake 2022-12-27 00:53:30 -05:00
Brett 7cf07bb5c0 Typedefs for maps 2022-12-27 00:51:37 -05:00
Brett 28777afe9e Cmake 2022-12-26 00:36:28 -05:00
Brett 90b12dac78 Source fix 2022-12-25 23:25:32 -05:00
Brett b2d8fddbdd Cmake 2022-12-25 23:24:58 -05:00
Brett f78ec224f8 Cmake 2022-12-25 23:23:12 -05:00
Brett e5a1763e9b Code setup 2022-12-25 23:19:44 -05:00