Commit Graph
100 Commits
Author SHA1 Message Date
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
doylet 35ade5dfc1 Add alignment to allocators 2020-03-23 23:33:31 +11:00
doylet f95836c5d5 Allocator: Rename data->user_context, File: Use allocators 2020-03-14 10:32:25 +11:00
doylet 2f7ce338a8 Add Allocator stats, StringBuilder len doesn't include null terminator 2020-02-23 01:19:59 +11:00
doylet 65cbe4b493 Add Dqn_String and update some arenas to allocators 2020-02-08 18:47:48 +11:00
doylet cd9ccfebe2 Make more /wall compliant 2020-01-31 21:02:26 +11:00
doylet f67d97ec3d Dqn_Rect_Intersection, remove Dqn_FixedStack, minor fixes 2020-01-18 02:01:25 +11:00
doylet 4bd8691076 Add Dqn_U64 string converter and time to seconds macros 2019-11-02 00:00:39 +11:00
doylet a11857690f Nullptr check for top_mem_block on reserve 2019-10-29 22:22:35 +11:00
doylet d463fcbda8 Move stb define to implementation and fix compile error for string builder 2019-09-30 22:58:02 +10:00
doylet 4a57ec6b1e Forward declare stuff for linux 2019-09-24 14:13:29 +10:00
doylet 9dd058a5f0 Add soft asserts, fixed string test, conditional asserts 2019-09-23 23:21:14 +10:00
doylet 4150864d59 debugbreak typo and switch to memset 2019-09-21 10:14:03 +10:00
doylet e63e047550 Remove fixed size concept from MemArena 2019-09-20 21:29:57 +10:00
doylet 1c2b67892f Begin writing some Linux compatible changes 2019-09-20 16:03:09 +10:00
doylet d31c63cbb7 Add unit tests for allocators/arrays 2019-09-19 21:49:11 +10:00
doylet b34226498c Minor formatting 2019-09-10 21:35:18 +10:00
doylet 3b38cca63e Update usage of Dqn.h in Dqn_UnitTests.cpp 2019-09-03 23:19:03 +10:00
doylet 26ec804fd8 Fix generated output example for DqnHeader 2019-08-27 22:32:27 +10:00
doylet ab232ee88b Gate LOCAL_PERSIST and FILE_SCOPE to dqn namespace 2019-08-27 22:32:04 +10:00
doylet 96b7c05daf Delete DqnInspect, it's too broken. Replace with new one 2019-08-27 22:17:59 +10:00
doylet c36ea18a64 Implement DQN_HEADER_COPY_BEGIN/END ranged copy 2019-08-26 23:56:50 +10:00
doylet 0d0009ad5c Add a way to read comments in header file 2019-08-26 23:24:22 +10:00
doylet e2a3fc5bed Fix extra \n being grabbed in return type parsing 2019-08-24 16:00:09 +10:00
doylet 95272e77ee Write PoC simpler header generator code 2019-08-24 15:43:14 +10:00
doylet cee2573b00 Do some renaming to Dqn_* 2019-08-24 14:20:53 +10:00
doylet acdf4974f9 Fix bugs in making linked buffers 2019-08-24 13:38:58 +10:00
doylet bfd3829259 Add dqn lib and some new unit tests 2019-08-24 11:39:12 +10:00
doylet acf456811c Make enum count constexpr 2019-05-10 10:48:58 +10:00
doylet 05652be832 Serialize the base type without ptr and const modifiers 2019-05-05 15:39:49 +10:00
doylet fbcbd84a1b Generate a unique ID for each inspected struct and member 2019-05-04 16:01:23 +10:00