Commit Graph

  • 0e46431ad7 Make git commands in README.md code blocks Thomas Versteeg 2020-10-06 12:29:25 +02:00
  • 0c877db449 Merge branch 'docking_inter' Victor Bombi 2020-10-03 16:35:53 +02:00
  • 0e408d392e cpp2ffi: gen_structs_and_enums declares nested struct before parent struct, if nested struct declares member of parent keep it (imnodes needs that) Victor Bombi 2020-10-03 16:34:58 +02:00
  • cbed1120b1 Merge branch 'docking_inter' Victor Bombi 2020-10-02 21:20:58 +02:00
  • 8c6dbf6de7 cpp2ffi: take struct name; inside namespace (needed by imnodes) Victor Bombi 2020-10-02 21:19:33 +02:00
  • 3f0f7d2ba5 Merge branch 'docking_inter' Victor Bombi 2020-09-26 09:58:19 +02:00
  • 246c0e580f delete cimgui.h and cimgui.cpp from output folder Victor Bombi 2020-09-26 09:53:54 +02:00
  • e748e6bc95 Merge branch 'docking_inter' Victor Bombi 2020-09-26 09:37:39 +02:00
  • d2de965b2a generation Victor Bombi 2020-09-25 17:47:58 +02:00
  • 2bb45e2d77 cpp2ffi: linenumdict allows several repeated items Victor Bombi 2020-09-25 17:47:42 +02:00
  • c64cef9b8c generation Victor Bombi 2020-09-25 16:11:45 +02:00
  • 3fd24c568d generator.lua: repair_defaults only check ImU32 values and NULL Victor Bombi 2020-09-25 16:11:28 +02:00
  • 416b4f017b cpp2ffi: get correct line number when compiler outputs defines (gcc -dD) Victor Bombi 2020-09-25 15:46:33 +02:00
  • c2bd39271b README.md: update with location info Victor Bombi 2020-09-25 14:53:35 +02:00
  • 5f4aa99a3c cpp2ffi and generator: add parser:take_lines and use it Victor Bombi 2020-09-25 14:08:36 +02:00
  • aa5d3646be generation Victor Bombi 2020-09-25 13:52:25 +02:00
  • a898224cdc cpp2ffi and generator: cleaning and add linenumber for imgui_impl_ files also Victor Bombi 2020-09-25 13:51:59 +02:00
  • 10c52cc266 generation Victor Bombi 2020-09-25 13:25:34 +02:00
  • 350a316439 generator.lua: keep defaults values as strings Victor Bombi 2020-09-25 13:25:14 +02:00
  • 02834e8480 generate Victor Bombi 2020-09-25 13:15:26 +02:00
  • d52d267351 cpp2ffi: add destructors location info and realdestructor field Victor Bombi 2020-09-25 13:15:12 +02:00
  • c37df4d0b8 generate Victor Bombi 2020-09-25 10:00:15 +02:00
  • 31b598af72 cpp2ffi: dont generate comments Victor Bombi 2020-09-25 09:59:59 +02:00
  • 7685bab86f generation Victor Bombi 2020-09-24 16:21:29 +02:00
  • abe5b56fd6 cpp2ffi and generator: allow parsing of header lines Victor Bombi 2020-09-24 16:21:11 +02:00
  • 3270e6b0f2 cpp2ffi: manage comments in several enums values in one line Victor Bombi 2020-09-24 14:02:44 +02:00
  • 9339b62303 cpp2ffi: clean enumbody only if there is one Victor Bombi 2020-09-24 13:18:54 +02:00
  • 81e7df17c9 generation Victor Bombi 2020-09-24 12:32:53 +02:00
  • 59e6a69d88 generator.lua: add function to repair default values Victor Bombi 2020-09-24 12:32:36 +02:00
  • 6ee1d4c3fc generation Victor Bombi 2020-09-24 11:57:31 +02:00
  • b14352b9ef cpp2ffi: dont keep empty comments Victor Bombi 2020-09-24 11:56:56 +02:00
  • 277e37f4ef generation Victor Bombi 2020-09-24 11:14:13 +02:00
  • 54e64ba9c4 cpp2ffi: dont add comments to cimgui.h Victor Bombi 2020-09-24 11:13:14 +02:00
  • 060df0f4eb cpp2ffi: process comments also Victor Bombi 2020-09-24 10:53:41 +02:00
  • 9edbc20e89 Makefile add option to compile as static lib tga 2020-09-09 05:04:29 -04:00
  • 67c49ea1fd Merge pull request #149 from slmjkdbtl/make-static Victor Bombi 2020-09-20 16:09:08 +02:00
  • 101631d3c8 cpp2ffi: only generate typedef of structs when it is a vardef_re of struct, location get more defines (not only two words) Victor Bombi 2020-09-11 18:12:13 +02:00
  • b230afa909 cpp2ffi: only generate typedef of structs when it is a vardef_re of struct, location get more defines (not only two words) Victor Bombi 2020-09-11 18:12:13 +02:00
  • d59448763f Freetype2 allow generation and compilation with Freetype2 Victor Bombi 2020-09-10 12:19:15 +02:00
  • d9b50e696f Freetype2 allow generation and compilation with Freetype2 Victor Bombi 2020-09-10 12:19:15 +02:00
  • 1ed28e5a0e generation Victor Bombi 2020-09-09 18:01:06 +02:00
  • db6d57f899 cpp2ffi: new parseFunction allowing not named args and some & corrections Victor Bombi 2020-09-09 17:58:55 +02:00
  • 6fbdf5ce62 generation Victor Bombi 2020-09-09 17:59:31 +02:00
  • 7bbb7c79b7 cpp2ffi: new parseFunction allowing not named args and some & corrections Victor Bombi 2020-09-09 17:58:55 +02:00
  • e6540f7682 Makefile add option to compile as static lib tga 2020-09-09 05:04:29 -04:00
  • 4c1d18802f cpp2ffi: reconstruct signature from argsT (needed after allowing not named function arguments) Victor Bombi 2020-09-08 18:37:36 +02:00
  • 3b73c15805 cpp2ffi: reconstruct signature from argsT (needed after allowing not named function arguments) Victor Bombi 2020-09-08 18:37:36 +02:00
  • aa75ad3e99 cpp2ffi: dont break on untagged enums or unamed function arguments but post warning and try to repair Victor Bombi 2020-09-08 16:30:51 +02:00
  • bcad423dc7 cpp2ffi: dont break on untagged enums or unamed function arguments but post warning and try to repair Victor Bombi 2020-09-08 16:30:51 +02:00
  • dbcc6d1529 cpp2ffi: implement func templates by ftemplate_list Victor Bombi 2020-09-07 12:28:06 +02:00
  • 477f60f822 cpp2ffi: implement func templates by ftemplate_list Victor Bombi 2020-09-07 12:28:06 +02:00
  • 53156c32c6 cpp2ffi: export parse_enum_value (used in LuaJIT-ImGui class_gen) Victor Bombi 2020-09-06 18:42:02 +02:00
  • 1109a79367 cpp2ffi: export parse_enum_value (used in LuaJIT-ImGui class_gen) Victor Bombi 2020-09-06 18:42:02 +02:00
  • a91865dc27 cpp2ffi: add ":" to characters in default detection Victor Bombi 2020-09-06 15:58:03 +02:00
  • d766b79138 cpp2ffi: add ":" to characters in default detection Victor Bombi 2020-09-06 15:58:03 +02:00
  • bb0dd1ac93 cpp2ffi: split func_header_generate into func_header_generate_structs and func_header_generate_funcs Victor Bombi 2020-09-06 10:48:39 +02:00
  • 596f3008f6 cpp2ffi: split func_header_generate into func_header_generate_structs and func_header_generate_funcs Victor Bombi 2020-09-06 10:48:39 +02:00
  • 59e49145e8 cpp2ffi: skip static variable from template detection also Victor Bombi 2020-09-05 11:24:03 +02:00
  • 512efb3505 cpp2ffi: skip static variable from template detection also Victor Bombi 2020-09-05 11:24:03 +02:00
  • 75c05adbcb generation Victor Bombi 2020-09-04 16:59:21 +02:00
  • 22728d5470 generator.lua: generate_templates with table_do_sorted for output consistency Victor Bombi 2020-09-04 16:54:04 +02:00
  • aeac366ece generator.lua: pre sorted changes Victor Bombi 2020-09-04 16:40:19 +02:00
  • 678ae8b32b cpp2ffi: use table_do_sorted in func_header_generate to have more output consistency Victor Bombi 2020-09-04 16:19:30 +02:00
  • 2b0058b61e generator: cpp2ffi rule out template typename (ex. T) so avoid correction in generator.lua Victor Bombi 2020-09-04 15:44:40 +02:00
  • 3d997ffdae generation Victor Bombi 2020-09-04 16:57:18 +02:00
  • 95d626aef9 generator.lua: generate_templates with table_do_sorted for output consistency Victor Bombi 2020-09-04 16:54:04 +02:00
  • 3c30c86405 generator.lua: pre sorted changes Victor Bombi 2020-09-04 16:40:19 +02:00
  • 41ea43b13f cpp2ffi: use table_do_sorted in func_header_generate to have more output consistency Victor Bombi 2020-09-04 16:19:30 +02:00
  • 670965cbe5 generator: cpp2ffi rule out template typename (ex. T) so avoid correction in generator.lua Victor Bombi 2020-09-04 15:44:40 +02:00
  • 18af68901e generation with new recursive parser Victor Bombi 2020-09-04 10:53:15 +02:00
  • ebc4b3548a new parser: update README.md Victor Bombi 2020-09-04 10:33:25 +02:00
  • c6c733bac4 new parser: clean_structR1 clean vardef_re initializations Victor Bombi 2020-09-04 10:27:20 +02:00
  • bf98608d4f move parseFunctions to gen_structs_and_enums Victor Bombi 2020-09-04 09:48:38 +02:00
  • 83b5cc19a0 clean get_parents_name Victor Bombi 2020-09-04 09:12:31 +02:00
  • e9fa5cb5e2 new generator: embeded_structs use get_parents_name Victor Bombi 2020-09-04 09:11:07 +02:00
  • 66ae832d05 new generator move embeded_structs detection to gen_structs_and_enums Victor Bombi 2020-09-03 20:25:38 +02:00
  • 1d7ef93de9 new parser move templates in struct detection to parseItems Victor Bombi 2020-09-03 20:11:41 +02:00
  • d08bad2477 new recursive parser3: take care of static functions Victor Bombi 2020-09-03 17:44:58 +02:00
  • 2afe1f5beb new recusive parser2 Victor Bombi 2020-09-03 16:57:16 +02:00
  • 7b6e549e9c cpp2ffi: new recursive parser Victor Bombi 2020-09-03 16:28:37 +02:00
  • f635eb28c5 generation with new recursive parser Victor Bombi 2020-09-04 10:43:31 +02:00
  • 710ff2ae12 new parser: update README.md Victor Bombi 2020-09-04 10:33:25 +02:00
  • a7ba601962 new parser: clean_structR1 clean vardef_re initializations Victor Bombi 2020-09-04 10:27:20 +02:00
  • 6d112735ee move parseFunctions to gen_structs_and_enums Victor Bombi 2020-09-04 09:48:38 +02:00
  • ea1e5a3ab8 clean get_parents_name Victor Bombi 2020-09-04 09:12:31 +02:00
  • 46f51395eb new generator: embeded_structs use get_parents_name Victor Bombi 2020-09-04 09:11:07 +02:00
  • 8fee1a6fe7 new generator move embeded_structs detection to gen_structs_and_enums Victor Bombi 2020-09-03 20:25:38 +02:00
  • 8ba8ced1f5 new parser move templates in struct detection to parseItems Victor Bombi 2020-09-03 20:11:41 +02:00
  • 13aafdee96 new recursive parser3: take care of static functions Victor Bombi 2020-09-03 17:44:58 +02:00
  • 18745e0713 new recusive parser2 Victor Bombi 2020-09-03 16:57:16 +02:00
  • 5f1243c42c cpp2ffi: new recursive parser Victor Bombi 2020-09-03 16:28:37 +02:00
  • cfdfe11c10 cpp2ffi: skip function_re and functionD_re as not processed (they are processed already) Victor Bombi 2020-08-31 09:30:34 +02:00
  • a0056887df cpp2ffi: function_re: avoid confusion with asignment, templated args: allow several, add not processed info Victor Bombi 2020-08-31 09:15:37 +02:00
  • 804b0c0bab cpp2ffi: skip function_re and functionD_re as not processed (they are processed already) Victor Bombi 2020-08-31 09:30:34 +02:00
  • 4630f434ea cpp2ffi: function_re: avoid confusion with asignment, templated args: allow several, add not processed info Victor Bombi 2020-08-31 09:15:37 +02:00
  • a486f2999a cpp2ffi: embeded_enums typedef generation (for ImGuizmo) and gen_structs_and_enums keeps strings (to avoid running twice) Victor Bombi 2020-08-29 14:28:17 +02:00
  • a68f4a93ae cpp2ffi: embeded_enums typedef generation (for ImGuizmo) and gen_structs_and_enums keeps strings (to avoid running twice) Victor Bombi 2020-08-29 14:28:17 +02:00
  • 7cf1592256 cpp2ffi: get enums in namespace (needed by ImGuizmo) Victor Bombi 2020-08-28 19:04:55 +02:00
  • b6bc895d01 cpp2ffi: get enums in namespace (needed by ImGuizmo) Victor Bombi 2020-08-28 19:04:55 +02:00
  • f4e1cc4135 generator: move C writting functions inside cpp2ffi Victor Bombi 2020-08-28 17:09:37 +02:00