Commit Graph

303 Commits

Author SHA1 Message Date
doyle a3318353fa Inline the code directory 2021-08-09 09:03:15 +10:00
doyle 2bd49c802a Add JsonWriter, reorganize data structure definition order 2021-08-09 08:57:53 +10:00
doyle 0ae5331d21 win32: Fix error messages for WinINet, add DSMap 2021-08-07 00:54:53 +10:00
doyle 8d9ee115e1 Organise win32 minimal header 2021-07-30 10:45:57 +10:00
doyle 7d8bd1dc16 win32: Add missing function prototypes 2021-07-29 17:36:01 +10:00
doyle 5db8a60014 Add some more helper libraries 2021-07-28 21:10:25 +10:00
doyle 07499b1004 Add some more win32 stuff, add intrinsics tests 2021-07-23 01:35:08 +10:00
doyle b536f407b8 test: Organize unit tests 2021-07-22 19:59:27 +10:00
doyle 9f9f9b52aa Update dqn 2021-07-01 22:02:39 +10:00
doyle 4442ccfb03 Fix the unit tests 2021-05-18 21:15:36 +10:00
doyle fb60fc44e1 Merge branch 'temp' into master 2021-05-17 21:19:33 +10:00
doyle 0165df23d7 Add more win32 defns, add comments 2021-05-17 21:19:27 +10:00
doyle ba3b8db967 Add Dqn_Timer using Win32 api 2021-05-17 21:10:20 +10:00
doyle 21cf140ba3 Add StringMap and log fixes 2021-04-21 00:24:15 +10:00
doyle 64b65e1406 safe: Fix safe arithmetic functions 2021-03-11 20:47:57 +11:00
doyle f45aed10ee Remove some std dependency, reorder code, use memcmp macro.. 2021-03-11 20:14:59 +11:00
doyle 8f8c954998 Add some string split functions, fix warnings 2021-02-23 20:49:43 +11:00
doyle eb2d542960 dqn: Move templates away from prototype 2021-02-16 23:49:07 +11:00
doyle 5a9260f95b tests: Fix unit tests again 2021-02-16 22:33:54 +11:00
doyle b5677b18c5 dqn: Add some more string helper functions 2021-02-16 22:22:28 +11:00
doyle 4cf2426193 hash: Add murmurhash, remove some dead functions 2021-02-10 20:41:28 +11:00
doyle 94057baad2 Some allocation stuff 2020-11-17 22:19:28 +11:00
Doyle 145c62db51 Remove unused project file 2020-10-08 01:13:13 +11:00
Doyle f728b3c292 Give name to anonymous v2 union, improve CRTAllocator 2020-10-08 01:12:03 +11:00
Doyle 38f25c51d7 idk so many updates, lost track of what changed 2020-09-20 17:15:07 +10:00
doyle 76bd54d9b0 len->size, make some functions null allocator aware 2020-07-18 00:49:21 +10:00
doyle 73f8a8bcb9 Re-organize bulk of library code 2020-07-17 00:12:27 +10:00
doyle 6cf6751013 Remove realloc, rename AllocateMetadata 2020-07-15 19:18:14 +10:00
doyle 4bc0aec917 Add stats for allocator, remove MAX_ for arrays 2020-06-22 20:58:23 +10:00
doyle 0c55abd4c3 Specify ZeroMem on allocations, rewrite rect intersect, configurable asserts 2020-06-02 22:48:20 +10:00
doyle 419a505ea9 Paramterize ZeroMem on allocations, allow override malloc and memcmp 2020-05-20 01:10:11 +10:00
doyle 6ee5b8e49e Assert if reads like an if statement, fix Dqn file bug 2020-05-07 01:24:32 +10:00
doyle 44d8f970b3 Rename Dqn_MemArena to Dqn_ArenaAllocator 2020-04-30 01:01:10 +10:00
doyle 5173478766 Fix Dqn_Bit check bugs 2020-04-19 14:31:34 +10:00
Doyle 927937df98 Rewrite Dqn_StringBuilder, stddef for ptrdiff_t 2020-04-17 18:17:08 +10:00
doyle 2f681515f6 Remove old deprecated dqn lib 2020-04-15 00:42:18 +10:00
doyle 21104f85d5 Reorganize code, fix malloc bug, allow overriding defaults 2020-04-15 00:40:12 +10:00
doyle 32fd82d740 Fix bit flag helper function bugs 2020-04-06 00:29:18 +10:00
doyle ce63bb7755 Default allocator = null, move allocator definitions
Allocator is null by default, this is to catch any unwanted used of the heap.
2020-04-05 08:50:30 +10:00
doyle f743c230e7 Add some helper functions 2020-04-01 01:08:59 +11:00
doyle ea8e29dc9f Slice: Fix arena->allocator, buf->data, add array->slice 2020-03-26 00:34:38 +11:00
doyle 1d2fa7f9ca Fix wrong param arena->allocator 2020-03-24 08:10:19 +11:00
doyle 35ade5dfc1 Add alignment to allocators 2020-03-23 23:33:31 +11:00
doyle f95836c5d5 Allocator: Rename data->user_context, File: Use allocators 2020-03-14 10:32:25 +11:00
doyle 2f7ce338a8 Add Allocator stats, StringBuilder len doesn't include null terminator 2020-02-23 01:19:59 +11:00
doyle 65cbe4b493 Add Dqn_String and update some arenas to allocators 2020-02-08 18:47:48 +11:00
doyle cd9ccfebe2 Make more /wall compliant 2020-01-31 21:02:26 +11:00
doyle f67d97ec3d Dqn_Rect_Intersection, remove Dqn_FixedStack, minor fixes 2020-01-18 02:01:25 +11:00
doyle 4bd8691076 Add Dqn_U64 string converter and time to seconds macros 2019-11-02 00:00:39 +11:00
doyle a11857690f Nullptr check for top_mem_block on reserve 2019-10-29 22:22:35 +11:00