Commit Graph

  • 8ba888c5e1 Add buffer helper doylet 2018-12-16 01:58:11 +11:00
  • b1c7763ec6 Don't decorate stbsp doylet 2018-12-13 00:36:19 +11:00
  • 1d62894f75 Greatly simplify DqnFixedString doylet 2018-12-13 00:23:02 +11:00
  • 20fc9cbbaf Fix dqn lib and misc bugs doylet 2018-09-13 23:58:48 +10:00
  • 650126f039 Revamp memory allocation system doylet 2018-09-10 22:49:17 +10:00
  • fd228d092b Head/Tail adaptive memory stack push Doyle 2018-09-03 00:02:32 +10:00
  • 43bc710dbd Simplify memstack api Doyle 2018-09-02 21:17:14 +10:00
  • 4f665562f1 Add default allocation type for memstacks, operator bool for slices Doyle 2018-09-02 13:28:19 +10:00
  • a0b64be71b Simplify memory api to dqnallocator Doyle 2018-08-30 01:04:56 +10:00
  • 3501dd41c1 Add more default hashing procs, name changes, Dqn_EatLine Doyle 2018-08-28 00:25:08 +10:00
  • e0fc9f7b44 Add DqnBuffer, improve memstack macros doylet 2018-08-19 11:59:04 +10:00
  • cfb1dc9d19 Initial dqn logger implementation doylet 2018-08-18 16:14:29 +10:00
  • f8a5853862 Update DqnWin32 error handling doylet 2018-08-18 16:08:29 +10:00
  • a9c351be61 Switch to snake case for var decls doylet 2018-08-05 17:30:54 +10:00
  • f30cf8e580 Fix dqnjson failing on neg ints doylet 2018-08-03 23:59:30 +10:00
  • 2c80e53089 Add const iterator for arrays, remove head/tail API for memstacks doylet 2018-08-03 23:30:58 +10:00
  • ed3f11dc7b Remove DqnHashTable, add DqnString tests doylet 2018-07-30 00:34:00 +10:00
  • 4e6d803605 Add Reserve and Cmp to DqnString_ rewrite doylet 2018-07-29 19:02:32 +10:00
  • 7ac814a625 Begin rewriting DqnString doylet 2018-07-29 16:15:23 +10:00
  • 21d04aa62c Fix lazy init DqnMemStack bug, add make dir doylet 2018-07-29 15:09:35 +10:00
  • 9b1223d5de Simplify catalog API doylet 2018-07-28 17:40:57 +10:00
  • 2eff450a72 Add DqnFile_WriteAll and convenience flag FileReadWrite doylet 2018-07-28 15:16:01 +10:00
  • e2dbf2816a Fix invalid iterator in empty hash table doylet 2018-07-28 14:41:38 +10:00
  • afd65dd83c Fix unix build issues? doylet 2018-07-27 14:43:39 +10:00
  • 6d6565c605 Cleanup DqnVHashTable, FixedString and add DqnCatalog doylet 2018-07-25 01:33:31 +10:00
  • 34907eeb04 Refactor DqnVHashTable to be simpler doylet 2018-07-24 23:05:08 +10:00
  • 71a1446fe0 Add post fix/prefix operator++ and arbitrary operator+- doylet 2018-07-24 20:44:01 +10:00
  • fc11e9ac0e Allow unordered iteration over hash table doylet 2018-07-24 00:05:43 +10:00
  • c876f2af0b Minor dqnmemstack annotation clean up doylet 2018-07-23 00:12:11 +10:00
  • be4762c3f7 Remove non-used tracker variables doylet 2018-07-22 23:59:11 +10:00
  • c282097a1f Update DqnMemStack to use struct for metadata doylet 2018-07-22 23:53:08 +10:00
  • efe015017a Start reworking dqnmemstack to have unified push/pop interface doylet 2018-07-18 01:53:58 +10:00
  • 0bfca792ee Log DqnJson in unit test, convert MemStack to use constructor doylet 2018-07-18 00:47:13 +10:00
  • cbf8e37295 Fix QuickSort regression taking a ptr to data causing memory overwrite doylet 2018-07-15 21:45:50 +10:00
  • c1245619ff Add natural quick sort back for better debugging speed doylet 2018-07-15 20:18:27 +10:00
  • 1c5fdc6ce1 Update quicksort/bsearch to use templates better doylet 2018-07-15 20:09:55 +10:00
  • 9d12c532d1 Add lazy init to array/hash, rename 64bit max num, minor bug fixes doylet 2018-07-15 02:17:34 +10:00
  • 964304d1b7 Use bucketsUsed variable and more error handling for VHashTable doylet 2018-07-14 23:21:57 +10:00
  • 8997364892 Add DqnVHashTable, hash table backed by virtual memory doylet 2018-07-14 23:00:25 +10:00
  • f1efb6f8f1 Make DqnJson handle more cases doylet 2018-07-13 00:46:08 +10:00
  • 33cf476d29 Move static functions outside of DqnFile doylet 2018-07-10 23:01:18 +10:00
  • 25410c7aac Fix ReadEntireFile bug doylet 2018-07-10 15:52:12 +10:00
  • 7785e35f91 Restore win32 prototypes, add virtual mem allocation and array, add fixed pool doylet 2018-07-10 00:53:54 +10:00
  • 39d75ae5bf Fix DqnFixedString len bug doylet 2018-07-07 01:10:43 +10:00
  • 6fc26c7bb8 Fix DqnJson bug matching property too early doylet 2018-07-05 12:20:19 +10:00
  • 9ebb4f8f23 Fix DqnArray::Insert count bug, misc unix fixes doylet 2018-07-05 11:26:04 +10:00
  • da4ba37771 Fix return to pool negative free indexes doylet 2018-07-05 01:38:35 +10:00
  • 8b2df0d098 Remove old defer symbol doylet 2018-07-05 01:05:43 +10:00
  • 602cc32744 Add DqnPool and minor cleanup doylet 2018-07-05 01:04:49 +10:00
  • c5d26f09c4 Fix unit tests, re-fix DqnArray::Insert doylet 2018-07-05 00:58:40 +10:00
  • a23e2687fe Improve platform defines, update sprintf doylet 2018-07-05 00:47:11 +10:00
  • a4c7934587 Fix DqnArray and add framework for Winsock doylet 2018-07-04 20:10:11 +10:00
  • 49577e2c27 Merge branch 'master' of https://github.com/Doy-lee/dqn doylet 2018-07-03 23:02:36 +10:00
  • 4ee040b6b0 Improve DqnArray::Insert doylet 2018-07-03 23:01:15 +10:00
  • a0246bf996 Update for unix compliance again doylet 2018-06-29 18:07:54 +10:00
  • 6df3b32f4e Use simplified array from imgui doylet 2018-06-28 23:25:25 +10:00
  • 86d3418315 Fix DqnArray bugs doylet 2018-06-26 15:50:47 +10:00
  • 7e507ee470 Simplify nix get file size doylet 2018-06-26 00:33:46 +10:00
  • cf648c2281 Change true/false to yes/no for enums doylet 2018-06-25 20:54:38 +10:00
  • 5d77aa3f4a Simplify DqnJson array iterator, fixed string ctor change doylet 2018-06-25 20:51:18 +10:00
  • 920df31c51 Add VirtualAlloc and fix up platform defines doylet 2018-06-13 23:16:05 +10:00
  • 5dee3d9f89 Simplify DqnRndPCG doylet 2018-06-11 19:16:54 +10:00
  • 0bf1b6d3ff Sprintf returns bytes copied. Add IS_DEBUG flag doylet 2018-06-11 18:40:54 +10:00
  • d740efdf06 Compact operator overloads for FixedString doylet 2018-06-11 18:03:18 +10:00
  • 056c0b3aea Add DqnFixedString, remove DqnIni, minor cleanup doylet 2018-06-11 16:26:57 +10:00
  • 2c24eacc28 Clean up const func decls and vector constructors doylet 2018-06-09 14:29:19 +10:00
  • 6998fb84de Simplify DqnArray usage (zero is init), add multi-insert doylet 2018-05-28 23:07:29 +10:00
  • 8c34a0e6d1 Remove reliance on windows.h doylet 2018-05-18 23:19:50 +10:00
  • 101037b856 Tabs to spaces doylet 2018-05-17 21:19:58 +10:00
  • 0bc8a48dbd Fix off by 1 error in DqnString::Expand() doylet 2018-03-11 21:26:18 +11:00
  • dc22ba2a02 Const overloads for DqnJson_Get, restore InitLiteralNoAlloc doylet 2018-03-11 01:23:04 +11:00
  • 6fcf111d2d Make library work on unix again doylet 2018-03-09 02:03:05 +11:00
  • 540deb4774 Update lib with named bool parameters and minor fixes Doyle Thai 2018-02-20 00:21:00 +11:00
  • 7f2950b3dd Add slices, make returned bufs are null terminated Doyle Thai 2018-02-07 16:39:40 +11:00
  • b0217483db Fix mem leak in hash, add reset tail for allocator Doyle Thai 2018-02-05 17:42:27 +11:00
  • 701140287f Try separate mem apis for head/tail Doyle Thai 2018-02-05 01:50:36 +11:00
  • 019aad46ca Write tests for testing realloc stack Doyle Thai 2018-02-03 23:11:14 +11:00
  • 9be5194b17 Write more tests for push pop to tail Doyle Thai 2018-02-03 21:39:15 +11:00
  • b8157a3c9f Draft double-ended stack allocator for temp malloc Doyle Thai 2018-02-03 20:58:15 +11:00
  • 7228a8b344 Fix memstack free not clearing metadata Doyle Thai 2018-02-03 15:51:47 +11:00
  • 6a02e38706 Fix printf bug Doyle Thai 2018-02-03 13:26:00 +11:00
  • 21ff2f43dc Write basic tests for new revamped memstacks Doyle Thai 2018-02-03 02:49:54 +11:00
  • 1fc49c4fde Cleanup tests to be more structured Doyle Thai 2018-02-02 23:26:05 +11:00
  • 15a4c6ad22 Revamp MemStack with bounds guarding and simplify api Doyle Thai 2018-02-02 19:34:44 +11:00
  • 87b7d3362c Return true on resize to 0 for arrays Doyle Thai 2018-02-01 00:08:42 +11:00
  • f838cc79bf Add strutil getlastbackslash Doyle Thai 2018-01-29 19:03:20 +11:00
  • 06b0f25f2a Fix realloc bug destroying memory in stack Doyle Thai 2018-01-28 12:43:53 +11:00
  • 86d2db397c Update array api Doyle Thai 2018-01-26 14:54:03 +11:00
  • 47bf005dbf Fix string init with 0 sized literal crash Doyle Thai 2018-01-25 18:55:05 +11:00
  • b8aee7cef9 Fix off by 1byte error on tracking string free Doyle Thai 2018-01-25 16:43:51 +11:00
  • 81c6f4edc3 Natvis: Fix hash table and block display Doyle Thai 2018-01-25 12:32:32 +11:00
  • 9f25d5a98e Add msvc natvis for better debugging Doyle Thai 2018-01-25 12:26:33 +11:00
  • a412bf0bfa Add file copy, better log, iterator for array Doyle Thai 2018-01-24 14:58:03 +11:00
  • 1464181cc2 Add clear function to hashtable Doyle Thai 2018-01-21 21:18:34 +11:00
  • 0468024f35 Fix array off by 1 in remove/get Doyle Thai 2018-01-21 13:28:53 +11:00
  • 7e996981d6 Fix memstack not freeing right size block Doyle Thai 2018-01-20 21:08:04 +11:00
  • 121c630126 Change memAPI to ptr, add mem info, improve assert Doyle Thai 2018-01-20 19:03:29 +11:00
  • 2d7b942010 Disable sso strings because problems. Doyle Thai 2018-01-19 23:56:25 +11:00
  • 398ca0bc96 Add SSO for strings, memStack quick initialiser Doyle Thai 2018-01-19 21:52:34 +11:00
  • feeec0c610 Remove useless request api in DqnMemAPI Doyle Thai 2018-01-19 13:48:01 +11:00