Commit Graph

  • c36ea18a64 Implement DQN_HEADER_COPY_BEGIN/END ranged copy doyle 2019-08-26 23:56:50 +10:00
  • 0d0009ad5c Add a way to read comments in header file doyle 2019-08-26 23:24:22 +10:00
  • e2a3fc5bed Fix extra \n being grabbed in return type parsing doyle 2019-08-24 16:00:09 +10:00
  • 95272e77ee Write PoC simpler header generator code doyle 2019-08-24 15:43:14 +10:00
  • cee2573b00 Do some renaming to Dqn_* doyle 2019-08-24 14:20:53 +10:00
  • acdf4974f9 Fix bugs in making linked buffers doyle 2019-08-24 13:38:58 +10:00
  • bfd3829259 Add dqn lib and some new unit tests doyle 2019-08-24 11:39:12 +10:00
  • acf456811c Make enum count constexpr doyle 2019-05-10 10:48:58 +10:00
  • 05652be832 Serialize the base type without ptr and const modifiers doyle 2019-05-05 15:39:49 +10:00
  • fbcbd84a1b Generate a unique ID for each inspected struct and member doyle 2019-05-04 16:01:23 +10:00
  • 35ac1b4c53 Replace , in templates to _ in code gen, allow disabling of generated files via #defines doyle 2019-05-04 12:08:10 +10:00
  • 5dacfc6ae1 Return boolean type directly in metadata functions doyle 2019-05-03 21:53:20 +10:00
  • fbba79ee4a Change inspect function macro to DQN_INSPECT_FUNCTION doyle 2019-05-03 20:23:14 +10:00
  • 1890745719 Fix -1 inf loop, include comments in prototype inspect, fix unref type in inspect struct doyle 2019-05-02 22:21:25 +10:00
  • 1c573478c6 Support basic container template introspection doyle 2019-05-02 20:39:31 +10:00
  • bb9fd123e3 Store the compile time size of struct members doyle 2019-04-22 16:00:33 +10:00
  • f0684b4113 Fix bug not correctly parsing template expression doyle 2019-04-22 15:41:22 +10:00
  • 98f0402916 Add more metadata to struct members doyle 2019-04-22 15:41:05 +10:00
  • b9c4b080f2 Store the pod_struct_offset of members doyle 2019-04-22 02:18:28 +10:00
  • 455d9bcbfc Save the decl type in struct members as well doyle 2019-04-22 01:28:59 +10:00
  • c444d50d17 Fix some ordering issues doyle 2019-04-06 01:30:09 +11:00
  • 41ac05b401 Implement DqnInspectEnum_Count function doyle 2019-04-05 23:18:54 +11:00
  • 3c447706c9 Finish metadata system for struct members, fix parsing bugs for consts doyle 2019-04-05 23:09:07 +11:00
  • 4a794b2492 Begin drafting up improved parsing/metadata reflection doyle 2019-04-05 01:03:46 +11:00
  • a6c05a950e Allow arbitrary meta properties on enum fields doyle 2019-04-01 00:51:14 +11:00
  • 40f72c576e Return string length for enum strings Doyle 2019-03-24 16:09:20 +11:00
  • a38ef363db Align nicely generated prototypes to ease reading Doyle 2019-03-24 16:02:41 +11:00
  • a91eb241c4 Add msvc project file Doyle 2019-03-23 16:41:59 +11:00
  • a2c4ca02a9 Add support for var args as a function parameter Doyle 2019-03-23 16:41:22 +11:00
  • b61ad4a51a Add support for funciton default param initialiser Doyle 2019-03-23 16:08:12 +11:00
  • 2f750ecc52 Support templates in function arguments Doyle 2019-03-21 00:52:31 +11:00
  • f2cbbc3a8c Support more complex function return types Doyle 2019-02-26 23:23:43 +11:00
  • a325ea6130 Add macro for inspecting prototypes, fix string default val bug Doyle 2019-02-26 02:29:31 +11:00
  • b298eae175 Add ability to auto generate function prototypes Doyle 2019-02-26 02:15:51 +11:00
  • bdb6ca3352 Remove old readme Doyle 2019-02-23 15:42:11 +11:00
  • e9f824ee08 Move readme to root Doyle 2019-02-23 15:41:53 +11:00
  • 021c65316e Add readme Doyle 2019-02-23 15:41:14 +11:00
  • da955dbb73 Update examples and documentation Doyle 2019-02-23 15:23:40 +11:00
  • db04f7d9f0 Add partial template parsing Doyle 2019-02-23 14:59:03 +11:00
  • 5297511118 Partial support for fixed sized arrays Doyle 2019-02-23 14:38:41 +11:00
  • 13ed8b71c9 Update test file to be more compliant Doyle 2019-02-23 14:22:09 +11:00
  • a44603d3ca Support pointer asterisks syntax Doyle 2019-02-23 14:04:35 +11:00
  • 2acaebaf77 Handle const struct declarations Doyle 2019-02-23 13:19:36 +11:00
  • 51d30eb3bd Support comma separated decls in struct Doyle 2019-02-23 13:03:10 +11:00
  • 83802fcde3 Update test file to use updated macros Doyle 2019-02-23 12:32:08 +11:00
  • 97b81bceaf Rename to DqnInspect, clean up, better docs Doyle 2019-02-23 12:26:19 +11:00
  • a0caf1296d Correctly generate valid CPP reflected metadata Doyle 2019-02-23 12:03:36 +11:00
  • dc73407721 Flesh out DqnReflect_StructMember to support metadata Doyle 2019-02-23 02:25:19 +11:00
  • e5e699c05f Unify linked list for cpp decls Doyle 2019-02-23 01:54:27 +11:00
  • 2cd7acaacb Add basic CPP struct reflection Doyle 2019-02-22 23:15:39 +11:00
  • 28a1fe8b24 Add DqnReflect, deprecate old library Doyle 2019-02-21 00:22:21 +11:00
  • a38d7a7cb7 Tweak dqn logger display and printing Doyle 2018-12-16 02:23:04 +11:00
  • 2134b56ed6 Fix old reference to Dqn_vsnprintf Doyle 2018-12-16 02:00:36 +11:00
  • 8ba888c5e1 Add buffer helper Doyle 2018-12-16 01:58:11 +11:00
  • b1c7763ec6 Don't decorate stbsp Doyle 2018-12-13 00:36:19 +11:00
  • 1d62894f75 Greatly simplify DqnFixedString Doyle 2018-12-13 00:23:02 +11:00
  • 20fc9cbbaf Fix dqn lib and misc bugs Doyle 2018-09-13 23:58:48 +10:00
  • 650126f039 Revamp memory allocation system Doyle 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 Doyle T 2018-08-19 11:59:04 +10:00
  • cfb1dc9d19 Initial dqn logger implementation Doyle T 2018-08-18 16:14:29 +10:00
  • f8a5853862 Update DqnWin32 error handling Doyle T 2018-08-18 16:08:29 +10:00
  • a9c351be61 Switch to snake case for var decls Doyle T 2018-08-05 17:30:54 +10:00
  • f30cf8e580 Fix dqnjson failing on neg ints Doyle T 2018-08-03 23:59:30 +10:00
  • 2c80e53089 Add const iterator for arrays, remove head/tail API for memstacks Doyle T 2018-08-03 23:30:58 +10:00
  • ed3f11dc7b Remove DqnHashTable, add DqnString tests Doyle T 2018-07-30 00:34:00 +10:00
  • 4e6d803605 Add Reserve and Cmp to DqnString_ rewrite Doyle T 2018-07-29 19:02:32 +10:00
  • 7ac814a625 Begin rewriting DqnString Doyle T 2018-07-29 16:15:23 +10:00
  • 21d04aa62c Fix lazy init DqnMemStack bug, add make dir Doyle T 2018-07-29 15:09:35 +10:00
  • 9b1223d5de Simplify catalog API Doyle T 2018-07-28 17:40:57 +10:00
  • 2eff450a72 Add DqnFile_WriteAll and convenience flag FileReadWrite Doyle T 2018-07-28 15:16:01 +10:00
  • e2dbf2816a Fix invalid iterator in empty hash table Doyle T 2018-07-28 14:41:38 +10:00
  • afd65dd83c Fix unix build issues? Doyle T 2018-07-27 14:43:39 +10:00
  • 6d6565c605 Cleanup DqnVHashTable, FixedString and add DqnCatalog Doyle T 2018-07-25 01:33:31 +10:00
  • 34907eeb04 Refactor DqnVHashTable to be simpler Doyle T 2018-07-24 23:05:08 +10:00
  • 71a1446fe0 Add post fix/prefix operator++ and arbitrary operator+- Doyle T 2018-07-24 20:44:01 +10:00
  • fc11e9ac0e Allow unordered iteration over hash table Doyle T 2018-07-24 00:05:43 +10:00
  • c876f2af0b Minor dqnmemstack annotation clean up Doyle T 2018-07-23 00:12:11 +10:00
  • be4762c3f7 Remove non-used tracker variables Doyle T 2018-07-22 23:59:11 +10:00
  • c282097a1f Update DqnMemStack to use struct for metadata Doyle T 2018-07-22 23:53:08 +10:00
  • efe015017a Start reworking dqnmemstack to have unified push/pop interface Doyle T 2018-07-18 01:53:58 +10:00
  • 0bfca792ee Log DqnJson in unit test, convert MemStack to use constructor Doyle T 2018-07-18 00:47:13 +10:00
  • cbf8e37295 Fix QuickSort regression taking a ptr to data causing memory overwrite Doyle T 2018-07-15 21:45:50 +10:00
  • c1245619ff Add natural quick sort back for better debugging speed Doyle T 2018-07-15 20:18:27 +10:00
  • 1c5fdc6ce1 Update quicksort/bsearch to use templates better Doyle T 2018-07-15 20:09:55 +10:00
  • 9d12c532d1 Add lazy init to array/hash, rename 64bit max num, minor bug fixes Doyle T 2018-07-15 02:17:34 +10:00
  • 964304d1b7 Use bucketsUsed variable and more error handling for VHashTable Doyle T 2018-07-14 23:21:57 +10:00
  • 8997364892 Add DqnVHashTable, hash table backed by virtual memory Doyle T 2018-07-14 23:00:25 +10:00
  • f1efb6f8f1 Make DqnJson handle more cases Doyle T 2018-07-13 00:46:08 +10:00
  • 33cf476d29 Move static functions outside of DqnFile Doyle T 2018-07-10 23:01:18 +10:00
  • 25410c7aac Fix ReadEntireFile bug Doyle T 2018-07-10 15:52:12 +10:00
  • 7785e35f91 Restore win32 prototypes, add virtual mem allocation and array, add fixed pool Doyle T 2018-07-10 00:53:54 +10:00
  • 39d75ae5bf Fix DqnFixedString len bug Doyle T 2018-07-07 01:10:43 +10:00
  • 6fc26c7bb8 Fix DqnJson bug matching property too early Doyle T 2018-07-05 12:20:19 +10:00
  • 9ebb4f8f23 Fix DqnArray::Insert count bug, misc unix fixes Doyle T 2018-07-05 11:26:04 +10:00
  • da4ba37771 Fix return to pool negative free indexes Doyle T 2018-07-05 01:38:35 +10:00