Commit Graph

  • 8b2df0d098 Remove old defer symbol Doyle T 2018-07-05 01:05:43 +10:00
  • 602cc32744 Add DqnPool and minor cleanup Doyle T 2018-07-05 01:04:49 +10:00
  • c5d26f09c4 Fix unit tests, re-fix DqnArray::Insert Doyle T 2018-07-05 00:58:40 +10:00
  • a23e2687fe Improve platform defines, update sprintf Doyle T 2018-07-05 00:47:11 +10:00
  • a4c7934587 Fix DqnArray and add framework for Winsock Doyle T 2018-07-04 20:10:11 +10:00
  • 49577e2c27 Merge branch 'master' of https://github.com/Doy-lee/dqn Doyle T 2018-07-03 23:02:36 +10:00
  • 4ee040b6b0 Improve DqnArray::Insert Doyle T 2018-07-03 23:01:15 +10:00
  • a0246bf996 Update for unix compliance again Doyle T 2018-06-29 18:07:54 +10:00
  • 6df3b32f4e Use simplified array from imgui Doyle T 2018-06-28 23:25:25 +10:00
  • 86d3418315 Fix DqnArray bugs Doyle T 2018-06-26 15:50:47 +10:00
  • 7e507ee470 Simplify nix get file size Doyle T 2018-06-26 00:33:46 +10:00
  • cf648c2281 Change true/false to yes/no for enums Doyle T 2018-06-25 20:54:38 +10:00
  • 5d77aa3f4a Simplify DqnJson array iterator, fixed string ctor change Doyle T 2018-06-25 20:51:18 +10:00
  • 920df31c51 Add VirtualAlloc and fix up platform defines Doyle T 2018-06-13 23:16:05 +10:00
  • 5dee3d9f89 Simplify DqnRndPCG Doyle T 2018-06-11 19:16:54 +10:00
  • 0bf1b6d3ff Sprintf returns bytes copied. Add IS_DEBUG flag Doyle T 2018-06-11 18:40:54 +10:00
  • d740efdf06 Compact operator overloads for FixedString Doyle T 2018-06-11 18:03:18 +10:00
  • 056c0b3aea Add DqnFixedString, remove DqnIni, minor cleanup Doyle T 2018-06-11 16:26:57 +10:00
  • 2c24eacc28 Clean up const func decls and vector constructors Doyle T 2018-06-09 14:29:19 +10:00
  • 6998fb84de Simplify DqnArray usage (zero is init), add multi-insert Doyle T 2018-05-28 23:07:29 +10:00
  • 8c34a0e6d1 Remove reliance on windows.h Doyle T 2018-05-18 23:19:50 +10:00
  • 101037b856 Tabs to spaces Doyle T 2018-05-17 21:19:58 +10:00
  • 0bc8a48dbd Fix off by 1 error in DqnString::Expand() Doyle T 2018-03-11 21:26:18 +11:00
  • dc22ba2a02 Const overloads for DqnJson_Get, restore InitLiteralNoAlloc Doyle T 2018-03-11 01:23:04 +11:00
  • 6fcf111d2d Make library work on unix again Doyle T 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
  • 912ca43056 Fix formatting and clean up documentation Doyle Thai 2018-01-18 20:25:44 +11:00
  • db25c5997f Minor fixes, add trim whitespace Doyle Thai 2018-01-18 16:01:37 +11:00
  • 7809185daa Fix string append crash on 0 len Doyle Thai 2018-01-06 16:53:53 +11:00
  • fd00b9071c Minor const changes, string fix and name changes Doyle Thai 2018-01-06 00:46:44 +11:00
  • 5876c16abe Fix array resize crash on 0 initialisation Doyle Thai 2018-01-04 16:27:50 +11:00
  • 8209593f57 Fix literals not working with strings in structs Doyle Thai 2018-01-04 16:07:18 +11:00
  • 18967312d6 Clean up DqnFile to be more C++ and minor fixes Doyle Thai 2018-01-04 00:40:27 +11:00
  • ee4f8eca17 Finally fix clip rect bug? Doyle Thai 2017-12-06 19:08:49 +11:00
  • 3d3d741ad6 Add missing default constructor for DqnV2i Doyle Thai 2017-11-12 00:14:49 +11:00
  • 25d6308a5f List removal for arrays, template specialize sort Doyle Thai 2017-11-11 20:08:43 +11:00
  • 88bac561ec Update vector and rect api to use constructors Doyle Thai 2017-11-10 23:14:50 +11:00
  • 2f6624fad7 Make DqnRnd a class, make array memapi aware Doyle Thai 2017-11-08 21:32:06 +11:00
  • 25098ca74c Add hash table and binary search to library Doyle Thai 2017-10-29 20:30:07 +11:00
  • 15dad9d8d2 Simplify DqnMemAPI and DqnMemStack api Doyle Thai 2017-10-29 12:45:00 +11:00
  • d01e2fbc2f Remove the need for isFreeable in strings Doyle Thai 2017-10-29 11:51:16 +11:00
  • b6a3600283 Clean up tests, fix DqnString bug, rename DqnDir Doyle Thai 2017-10-29 11:41:26 +11:00
  • 3ee5500124 Remove C-style api for strings, fix stack alloc bug Doyle Thai 2017-10-28 23:25:17 +11:00
  • bfa00944c6 Various fixes, string lib, start removing C-style API Doyle Thai 2017-10-28 19:58:09 +11:00
  • 5533ad0b68 Fix typos, add utilties for wstr/file reading Doyle Thai 2017-07-26 21:31:17 +10:00
  • d2ebb53322 Fix mat4 lookat, add translate[3f|v3] Doyle Thai 2017-07-16 20:47:49 +10:00
  • be0b84a244 Static analysis cppcheck Doyle Thai 2017-07-13 12:50:01 +10:00
  • 979679470b Fix DqnMat4_Rotate not normalising axis Doyle Thai 2017-07-04 14:22:24 +10:00
  • 924aa84e7d Fix problem exposing platform w/o implementation Doyle Thai 2017-07-03 15:17:09 +10:00
  • f8a4d4fe4b Fix crashes on unix using gcc -O3 Doyle Thai 2017-07-02 16:31:29 +10:00
  • 2d163fa554 Add fix for strict-aliasing in DqnRnd Doyle Thai 2017-07-02 14:47:38 +10:00
  • cbf7b4d606 Add quicksort generic to lib Doyle Thai 2017-06-28 22:47:27 +10:00
  • 825caefe4a Fix non-used param bugs, add minimal win32 sample Doyle Thai 2017-06-27 17:45:51 +10:00
  • db1f76996c Add quicker filesize query, and ReadEntireFile() Doyle Thai 2017-06-26 21:46:28 +10:00
  • 866126e735 Make atomic add allow amounts not just +-1 Doyle Thai 2017-06-26 12:37:52 +10:00
  • fca8db0366 Port atomics, mutex lock and job queue to unix Doyle Thai 2017-06-26 01:57:51 +10:00
  • 19c427d756 Add opt. RAII-isms for destruction, fix thread bug Doyle Thai 2017-06-24 14:59:48 +10:00
  • 886425eaa3 Add CPP api for dqn file and lock Doyle Thai 2017-06-24 11:00:44 +10:00
  • 45bc637773 Expose job queue, update init function Doyle Thai 2017-06-23 23:12:20 +10:00
  • f9de41b6c0 Add cpp members to DqnArray Doyle Thai 2017-06-23 21:17:26 +10:00
  • 3d61d66388 Fix destructor premature call in memstack cpp api Doyle Thai 2017-06-23 19:05:51 +10:00
  • 9bb8efcf9d Add CPP member functions to DqnMemStack Doyle Thai 2017-06-23 15:30:21 +10:00
  • 187fc14d02 DqnTimer unix implementation Doyle Thai 2017-06-22 18:10:44 +10:00
  • f464e869ec Add compile time asserts, table of contents Doyle Thai 2017-06-22 16:16:28 +10:00
  • b2639447d0 Reorganise layout with table of contents Doyle Thai 2017-06-22 14:43:53 +10:00
  • 81c68ad908 Add better documentation Doyle Thai 2017-06-22 14:00:11 +10:00
  • 84149d0ad1 Add file write tests and delete functionality Doyle Thai 2017-06-22 01:26:08 +10:00
  • 93bbc25b11 Fix compile and warnings on MSVC Doyle Thai 2017-06-21 19:01:36 +10:00
  • a067fed81f Implement dir read/free and file write in Unix Doyle 2017-06-21 18:52:14 +10:00
  • 245e6b11f1 Basic file open/close/read implemented in Unix Doyle 2017-06-21 18:05:30 +10:00
  • 036afb9b10 Implemented unix DqnFile_Open Doyle 2017-06-21 17:48:00 +10:00
  • 73b5d05df8 Enable more warnings for unix, fix StrtoF32 bug Doyle 2017-06-21 14:54:57 +10:00
  • 341388bb70 Get basics to compile & work in unix Doyle 2017-06-21 14:10:53 +10:00