Commit Graph

235 Commits

Author SHA1 Message Date
20fc9cbbaf Fix dqn lib and misc bugs 2018-09-13 23:58:48 +10:00
650126f039 Revamp memory allocation system 2018-09-10 22:49:17 +10:00
Doyle
fd228d092b Head/Tail adaptive memory stack push 2018-09-03 00:02:32 +10:00
Doyle
43bc710dbd Simplify memstack api 2018-09-02 21:17:14 +10:00
Doyle
4f665562f1 Add default allocation type for memstacks, operator bool for slices 2018-09-02 13:28:19 +10:00
Doyle
a0b64be71b Simplify memory api to dqnallocator 2018-08-30 01:04:56 +10:00
Doyle
3501dd41c1 Add more default hashing procs, name changes, Dqn_EatLine 2018-08-28 00:25:08 +10:00
e0fc9f7b44 Add DqnBuffer, improve memstack macros 2018-08-19 11:59:04 +10:00
cfb1dc9d19 Initial dqn logger implementation 2018-08-18 16:14:29 +10:00
f8a5853862 Update DqnWin32 error handling 2018-08-18 16:08:29 +10:00
a9c351be61 Switch to snake case for var decls 2018-08-05 17:30:54 +10:00
f30cf8e580 Fix dqnjson failing on neg ints 2018-08-03 23:59:30 +10:00
2c80e53089 Add const iterator for arrays, remove head/tail API for memstacks 2018-08-03 23:30:58 +10:00
ed3f11dc7b Remove DqnHashTable, add DqnString tests 2018-07-30 00:34:00 +10:00
4e6d803605 Add Reserve and Cmp to DqnString_ rewrite 2018-07-29 19:02:32 +10:00
7ac814a625 Begin rewriting DqnString 2018-07-29 16:15:23 +10:00
21d04aa62c Fix lazy init DqnMemStack bug, add make dir 2018-07-29 15:09:35 +10:00
9b1223d5de Simplify catalog API 2018-07-28 17:40:57 +10:00
2eff450a72 Add DqnFile_WriteAll and convenience flag FileReadWrite 2018-07-28 15:16:01 +10:00
e2dbf2816a Fix invalid iterator in empty hash table 2018-07-28 14:41:38 +10:00
afd65dd83c Fix unix build issues? 2018-07-27 14:43:39 +10:00
6d6565c605 Cleanup DqnVHashTable, FixedString and add DqnCatalog 2018-07-25 01:33:31 +10:00
34907eeb04 Refactor DqnVHashTable to be simpler 2018-07-24 23:05:08 +10:00
71a1446fe0 Add post fix/prefix operator++ and arbitrary operator+- 2018-07-24 20:44:01 +10:00
fc11e9ac0e Allow unordered iteration over hash table 2018-07-24 00:05:43 +10:00
c876f2af0b Minor dqnmemstack annotation clean up 2018-07-23 00:12:11 +10:00
be4762c3f7 Remove non-used tracker variables 2018-07-22 23:59:11 +10:00
c282097a1f Update DqnMemStack to use struct for metadata 2018-07-22 23:53:08 +10:00
efe015017a Start reworking dqnmemstack to have unified push/pop interface 2018-07-18 01:53:58 +10:00
0bfca792ee Log DqnJson in unit test, convert MemStack to use constructor 2018-07-18 00:47:13 +10:00
cbf8e37295 Fix QuickSort regression taking a ptr to data causing memory overwrite 2018-07-15 21:45:50 +10:00
c1245619ff Add natural quick sort back for better debugging speed 2018-07-15 20:18:27 +10:00
1c5fdc6ce1 Update quicksort/bsearch to use templates better 2018-07-15 20:09:55 +10:00
9d12c532d1 Add lazy init to array/hash, rename 64bit max num, minor bug fixes 2018-07-15 02:17:34 +10:00
964304d1b7 Use bucketsUsed variable and more error handling for VHashTable 2018-07-14 23:21:57 +10:00
8997364892 Add DqnVHashTable, hash table backed by virtual memory 2018-07-14 23:00:25 +10:00
f1efb6f8f1 Make DqnJson handle more cases 2018-07-13 00:46:08 +10:00
33cf476d29 Move static functions outside of DqnFile 2018-07-10 23:01:18 +10:00
25410c7aac Fix ReadEntireFile bug 2018-07-10 15:52:12 +10:00
7785e35f91 Restore win32 prototypes, add virtual mem allocation and array, add fixed pool 2018-07-10 00:53:54 +10:00
39d75ae5bf Fix DqnFixedString len bug 2018-07-07 01:10:43 +10:00
6fc26c7bb8 Fix DqnJson bug matching property too early 2018-07-05 12:20:19 +10:00
9ebb4f8f23 Fix DqnArray::Insert count bug, misc unix fixes 2018-07-05 11:26:04 +10:00
da4ba37771 Fix return to pool negative free indexes 2018-07-05 01:38:35 +10:00
8b2df0d098 Remove old defer symbol 2018-07-05 01:05:43 +10:00
602cc32744 Add DqnPool and minor cleanup 2018-07-05 01:04:49 +10:00
c5d26f09c4 Fix unit tests, re-fix DqnArray::Insert 2018-07-05 00:58:40 +10:00
a23e2687fe Improve platform defines, update sprintf 2018-07-05 00:47:11 +10:00
a4c7934587 Fix DqnArray and add framework for Winsock 2018-07-04 20:10:11 +10:00
49577e2c27 Merge branch 'master' of https://github.com/Doy-lee/dqn 2018-07-03 23:02:36 +10:00