Commit Graph
100 Commits
Author SHA1 Message Date
doylet 8f129e7893 dqn: Upgrade to latest lib 2023-08-25 20:35:04 +10:00
doylet c1de1a7c0d dqn: Remove dupe file, fix missing DQN_ONLY_PROFILER check 2023-08-16 22:12:07 +10:00
doylet 3ed939370a dqn: Add allocating string split 2023-08-16 22:06:48 +10:00
doylet a5a4485e29 dqn: Reorganize the library 2023-08-16 21:59:38 +10:00
doylet 3c614946e0 dqn: Fix up some grammar 2023-07-16 18:01:29 +10:00
doylet 5fdb1aa1a4 dqn: Update readme 2023-07-16 17:59:07 +10:00
doylet c3902e3a29 dqn: Move vector math to impl, add new macros 2023-07-16 17:52:18 +10:00
doylet 2bbc49242e dqn: Cleanup more documentation 2023-07-06 21:13:52 +10:00
doylet 55dbc25110 dqn: Cleanup more documentation 2023-07-06 00:14:13 +10:00
doylet 580b8a6882 dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
doylet 8ae369db0d dqn: Organise into files and use an amalgamated build 2023-07-05 00:04:53 +10:00
doylet 807c65a253 dqn: Add improved binary split and find routines for strings 2023-07-02 17:28:47 +10:00
doylet 44f7a696c5 dqn: Simplify testing routine 2023-06-08 22:07:55 +10:00
doylet d9116ae48e dqn: Add head ptr on arena blocks 2023-06-07 22:11:57 +10:00
doylet faa46b4921 dqn: Fix block metadata size free error 2023-06-06 21:10:51 +10:00
doylet 546f1a079c dqn: Reuse code for resetting blocks 2023-06-06 20:19:47 +10:00
doylet d9a19fd742 dqn: Reguard pages on arena memory pop 2023-06-01 22:54:43 +10:00
doylet adb429babd dqn: Fix rebase error 2023-06-01 00:05:01 +10:00
doylet 8504cbff3a dqn: Add first draft of use-after-free in arenas 2023-06-01 00:04:27 +10:00
doylet 558acd19e0 dqn: Fix missing enum in switch 2023-06-01 00:04:27 +10:00
doylet 582b084617 dqn: Various bug fixes 2023-06-01 00:04:25 +10:00
doylet e6e4b8a79e dqn: Put the arena label into the base arena class 2023-04-25 16:55:44 +10:00
doylet b3de9e268a build: Remove -v flag on clang build 2023-04-16 00:36:11 +10:00
doylet 3154f8b2f7 dqn: Address more warnings from clang 2023-04-16 00:35:03 +10:00
doylet c8a1d796b0 dqn: Remove Dqn_size, prefer usize (AAU) 2023-04-16 00:08:25 +10:00
doylet ee477272c4 dqn: Document VArray, TicketMutex, fix test ASAN crash 2023-04-12 00:27:32 +10:00
doylet df230539a1 dqn: Introduce commit API for virtual memory blocks 2023-04-11 00:11:53 +10:00
doylet cb8323dfc8 dqn: Introduce arena catalog 2023-04-10 13:21:57 +10:00
doylet 7fa4af549f dqn: Add VArray, reorganize arena, add arena blocks 2023-04-10 00:36:10 +10:00
doylet af046f15cd build: Flatten the directory structure 2023-03-28 22:56:25 +11:00
doylet 5e4c268b1a dsmap: Fix incorrect hash invocation 2023-03-28 22:52:06 +11:00
doylet 9e3dc694d8 dqn: Fix DSMap make slot resize bug, merge hash into key 2023-03-28 22:47:25 +11:00
doylet 0f15694de9 dqn: Remove Map and reimplement DSMap 2023-03-27 23:43:29 +11:00
doylet d827448ac2 fs: Fix file iteration returning 0 size item, distinguish files from directory 2023-03-24 23:05:18 +11:00
doylet 84bfc91362 dqn: Allow DSMap to accept arbitrary keys 2023-03-22 23:32:23 +11:00
doylet c8b93840c0 dqn: Flesh out FS stream API 2023-03-22 00:13:19 +11:00
doylet 92e56038f7 dqn: Dqn_Fs_Info -> Dqn_FsInfo 2023-03-21 09:42:20 +11:00
doylet c1364cf2bc dqn: Get content-length/type from request by default 2023-03-21 00:11:20 +11:00
doylet f228ff82a9 dqn: Improve windows net handle module 2023-03-20 23:36:05 +11:00
doylet 6d22734aaf dqn: Use defer loops for testing framework 2023-03-12 11:07:23 +11:00
doylet b22c7dbfce dqn: Pull changes from private projects 2023-03-12 01:28:17 +11:00
doylet d59aebb172 json: Add json helpers for Sheredom's JSON library 2022-11-27 22:43:05 +11:00
doylet 304dce8376 Deprecate jsmn and money, low quality headers 2022-11-27 22:42:50 +11:00
doylet 1048b79045 dqn: Update fixed array/string implementation 2022-11-25 00:35:53 +11:00
doylet 5c1ed1db8c jsonwriter: Update to jsonbuilder, fix some bugs 2022-11-24 00:12:21 +11:00
doylet 3fc2e87571 dqn: Rename String to String8 for consistency w/ String16 2022-08-06 16:55:51 +10:00
doylet 4056e19727 dqn: Rewrite crappy arena and string implementations 2022-08-06 16:43:20 +10:00
doylet 1d31d7f270 build: Fix clang warnings 2022-06-29 00:08:35 +10:00
doylet 2665e315e6 tester: Update the testing library 2022-06-27 23:39:24 +10:00
doylet f629c019e6 Update test suite to use dqn_tester 2022-02-17 21:01:31 +11:00
doylet 721c059c4e dqn: Add virtual memory funtions 2022-02-17 00:59:51 +11:00
doylet dc6cdf37f7 dqn_align: Remove unused functions 2022-02-17 00:38:06 +11:00
doylet 49eb8eb88a Simplify arena implementation 2022-02-17 00:36:45 +11:00
doylet 87c81d0861 Make dqn library work on x86 2022-01-02 00:07:28 +11:00
doylet bb14d9cd7a Add win32 read/write, standardized logging convention 2021-12-24 00:18:41 +11:00
doylet 2a433e0075 Remove outdated win32 #defines, ensure HMODULE is avail 2021-12-19 16:37:17 +11:00
doylet 15568a7919 Add search List api, add DPI awareness func, reduce win32 noise 2021-12-19 16:29:35 +11:00
doylet 9d0b0a2982 Fix Dqn_FixedArray name convention, fix Windows build 2021-12-19 00:08:19 +11:00
doylet 05fe604f5c Add experimental win32 http, tester lib 2021-12-17 00:07:33 +11:00
doylet 3af44d8f16 strings: Add more string helpers, add more string tests 2021-08-11 01:06:50 +10:00
doylet a3318353fa Inline the code directory 2021-08-09 09:03:15 +10:00
doylet 2bd49c802a Add JsonWriter, reorganize data structure definition order 2021-08-09 08:57:53 +10:00
doylet 0ae5331d21 win32: Fix error messages for WinINet, add DSMap 2021-08-07 00:54:53 +10:00
doylet 5db8a60014 Add some more helper libraries 2021-07-28 21:10:25 +10:00
doylet 07499b1004 Add some more win32 stuff, add intrinsics tests 2021-07-23 01:35:08 +10:00
doylet b536f407b8 test: Organize unit tests 2021-07-22 19:59:27 +10:00
doylet 9f9f9b52aa Update dqn 2021-07-01 22:02:39 +10:00
doylet 4442ccfb03 Fix the unit tests 2021-05-18 21:15:36 +10:00
doylet fb60fc44e1 Merge branch 'temp' into master 2021-05-17 21:19:33 +10:00
doylet 0165df23d7 Add more win32 defns, add comments 2021-05-17 21:19:27 +10:00
doylet ba3b8db967 Add Dqn_Timer using Win32 api 2021-05-17 21:10:20 +10:00
doylet 21cf140ba3 Add StringMap and log fixes 2021-04-21 00:24:15 +10:00
doylet 64b65e1406 safe: Fix safe arithmetic functions 2021-03-11 20:47:57 +11:00
doylet f45aed10ee Remove some std dependency, reorder code, use memcmp macro.. 2021-03-11 20:14:59 +11:00
doylet 8f8c954998 Add some string split functions, fix warnings 2021-02-23 20:49:43 +11:00
doylet eb2d542960 dqn: Move templates away from prototype 2021-02-16 23:49:07 +11:00
doylet 5a9260f95b tests: Fix unit tests again 2021-02-16 22:33:54 +11:00
doylet b5677b18c5 dqn: Add some more string helper functions 2021-02-16 22:22:28 +11:00
doylet 4cf2426193 hash: Add murmurhash, remove some dead functions 2021-02-10 20:41:28 +11:00
doylet 94057baad2 Some allocation stuff 2020-11-17 22:19:28 +11:00
doylet 145c62db51 Remove unused project file 2020-10-08 01:13:13 +11:00
doylet f728b3c292 Give name to anonymous v2 union, improve CRTAllocator 2020-10-08 01:12:03 +11:00
doylet 38f25c51d7 idk so many updates, lost track of what changed 2020-09-20 17:15:07 +10:00
doylet 76bd54d9b0 len->size, make some functions null allocator aware 2020-07-18 00:49:21 +10:00
doylet 73f8a8bcb9 Re-organize bulk of library code 2020-07-17 00:12:27 +10:00
doylet 6cf6751013 Remove realloc, rename AllocateMetadata 2020-07-15 19:18:14 +10:00
doylet 4bc0aec917 Add stats for allocator, remove MAX_ for arrays 2020-06-22 20:58:23 +10:00
doylet 0c55abd4c3 Specify ZeroMem on allocations, rewrite rect intersect, configurable asserts 2020-06-02 22:48:20 +10:00
doylet 419a505ea9 Paramterize ZeroMem on allocations, allow override malloc and memcmp 2020-05-20 01:10:11 +10:00
doylet 6ee5b8e49e Assert if reads like an if statement, fix Dqn file bug 2020-05-07 01:24:32 +10:00
doylet 44d8f970b3 Rename Dqn_MemArena to Dqn_ArenaAllocator 2020-04-30 01:01:10 +10:00
doylet 5173478766 Fix Dqn_Bit check bugs 2020-04-19 14:31:34 +10:00
doylet 927937df98 Rewrite Dqn_StringBuilder, stddef for ptrdiff_t 2020-04-17 18:17:08 +10:00
doylet 2f681515f6 Remove old deprecated dqn lib 2020-04-15 00:42:18 +10:00
doylet 21104f85d5 Reorganize code, fix malloc bug, allow overriding defaults 2020-04-15 00:40:12 +10:00
doylet 32fd82d740 Fix bit flag helper function bugs 2020-04-06 00:29:18 +10:00
doylet 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
doylet f743c230e7 Add some helper functions 2020-04-01 01:08:59 +11:00
doylet ea8e29dc9f Slice: Fix arena->allocator, buf->data, add array->slice 2020-03-26 00:34:38 +11:00
doylet 1d2fa7f9ca Fix wrong param arena->allocator 2020-03-24 08:10:19 +11:00