Commit Graph

52 Commits

Author SHA1 Message Date
d74b4645f0 fix: fix build issue in Unvirt and LibCmo
- fix build issue in Unvirt and LibCmo
- due to we use UTF8 string. the accessible value generator in EnumsMigration need to be changed at the same time.
- remove string helper in Unvirt because we no longer need it.
2024-08-23 17:38:45 +08:00
f7708c28e0 doc: add documentation for VxTypes 2024-08-20 10:52:05 +08:00
9903b61cac fix: fix issues
- fix BMapBindings generator due to the rename of LIBCMO_EXPORT -> BMAP_EXPORT.
- fix relative path issue in Python scripts within CodeGen.
- remove all references to LIBCMO_PANIC. use exception instead to tell user they are fool.
- basically finish universal encoding tables. add lost encoding name.
2024-08-17 23:29:08 +08:00
e682a87d25 refactor: refactor project
- rename LIBCMO_DISABLE_COPY_MOVE -> YYCC_DEL_CLS_COPY_MOVE and LIBCMO_DEFAULT_COPY_MOVE -> YYCC_DEF_CLS_COPY_MOVE.
- fix Vector declaration generator. throw exception when operator[] face invalid index, instead of do fallback.
- rename VTAll.hpp -> VTInternal.hpp and VYUserAll -> VTAll.hpp for easy to understand.
- fix project name error in Doxygen template.
- replace all LIBCMO_OS_WIN32 to YYCC_OS == YYCC_OS_WINDOWS.
- fix some compile error (involving utf8 encoding) but not the final result.
- use correct way to include std-image library (use <> instead of "")
- finish documentation for VTUtils.hpp and VTEncoding.hpp.
2024-08-17 20:43:27 +08:00
f870d4dde3 refactor: update project
- add documentation CMake build script. re-organise document layout for future changes.
- move LIBCMO_EXPORT to BMap and rename it to BMAP_EXPORT because only BMap need to use this macro.
- fully refactor VTEncoding to make it more like Python
	- Now language name is platform independent.
	- Hide implementation detail as possible as I can.
	- Language mapping are still work in progress.
- add code gen for new added universal encoding feature to generate language name mapping in Windows and Iconv respectively.
- remove old code of CMake build script.
- update VTUtils for new requirement.
	- remove useless functions.
	- create LibCmo specific custom exception classes.
2024-08-16 22:07:23 +08:00
da575e42f5 fix: update csharp interop code generator.
- update csharp interop code generator to have short output result.
2024-08-15 19:11:27 +08:00
a2fb376231 feat: add csharp interop code generation but no test.
- add csharp interop code generation without testing.
- add annotation for bmap binding project.
- fix README.
2024-04-23 16:01:26 +08:00
8a1fc03965 do some preparation work
- establish BMapSharp project for future development.
- refactor EnumsMigration. add csharp code output for it.
- add README for VectorGen and modify other READMEs.
2024-04-22 14:15:27 +08:00
afd4abadbb fix bugs
- fix typing hint error in PyBMap
- remove UNKNOWN_PF in PixelFormat enum in PyBMap.virtools_type. because it is a fallback value and should not be used directly. so when I apply it to Blender plugin, it cause a error.
2024-01-08 10:54:14 +08:00
b8b2368ef5 fix issues
- fix lifetime issue about python c callback function
- fix type hint in PyBMap
- fix formatter clamp issue in CKContext
2023-12-03 18:15:05 +08:00
279fa1eccb update code gen 2023-11-26 20:36:25 +08:00
562b44c7aa use different file name of BMap in PyBMap for different system 2023-11-16 21:11:36 +08:00
d8b7ace53d expose lit mode interface in CKMesh.
- provide lit mode and wrap mode getter and setter in CKMesh.
- add lost flags setter in CKMesh.
- show lit mode and wrap mode data in Unvirt.
- add interface for lit mode in BMap, because some old Ballance map use lit mode to light objects.
- expose a raw c callback when creating bmap to allow user decide how the log output by themselves.
- change python bindings for BMap interface changes.
2023-11-15 21:47:58 +08:00
77bb3ce7d2 fix bmap python binding error 2023-11-10 12:23:03 +08:00
aa8ec72df7 add json output for convenience about more lang bindings for bmap. 2023-11-07 15:55:07 +08:00
fcd1fa81db rename BM3dEntity to BM3dObject in BMap. continue writing python bmao binding. fix doc 2023-11-05 10:44:11 +08:00
2000a6ad9b update bmap python binding 2023-11-04 21:58:58 +08:00
d754b2fb44 fix bmap binding generation 2023-11-03 10:43:06 +08:00
52c2d3f7e0 add basic python writer for bmap binding 2023-11-02 22:02:39 +08:00
bcd58af132 update gitignore 2023-11-02 20:27:57 +08:00
57e6f14067 finish recognization part of bmap binding 2023-11-02 12:40:50 +08:00
68bffefe5a write binding code 2023-11-02 10:53:16 +08:00
ef5d1760a3 add lexer and parser for export function binding generation 2023-11-01 10:31:17 +08:00
99383779b3 add first work of BMap binding 2023-10-31 10:49:18 +08:00
e4a67a50a5 update codegen 2023-10-12 20:52:22 +08:00
09fd67fb5e update CodeGen for suiting new requirement of Python 2023-10-12 10:42:06 +08:00
0071e001fd update codegen. add python code gen 2023-10-10 10:39:27 +08:00
5671d7d7e6 create BMap project and copy-paste previous mesh convertion code 2023-09-21 13:47:30 +08:00
81872053f0 finish PreDelete and CheckPreDeletion. now there is no problem when deleting object 2023-09-20 15:25:43 +08:00
0a85832d63 update project 2023-09-20 13:13:08 +08:00
d66716acd7 write shit 2023-09-20 10:49:32 +08:00
2d190ea30b finish BuildNormals 2023-09-19 15:20:40 +08:00
1ddeeb3b68 refactor project 2023-09-16 18:31:25 +08:00
b499d907f7 prepare CKMesh 2023-09-15 13:21:49 +08:00
8419ff00d2 prepare CKMaterial 2023-09-14 17:03:09 +08:00
8894b1ccad write some boring struct in VxTypes 2023-09-13 22:33:41 +08:00
e907c18f35 fill info for CKBitmapData 2023-09-10 13:23:04 +08:00
2ec66131cf add more struct and enum. impl some functions 2023-09-05 22:23:05 +08:00
8a1f71e855 refactor (5/?) 2023-08-26 20:34:51 +08:00
1b8f2ff0d5 refactor project (1/?) 2023-08-22 15:30:26 +08:00
f687297ebb refact codegen 2023-08-20 21:38:16 +08:00
33b867e62a finish code gen 2023-08-20 16:10:22 +08:00
39363e1ba7 enrich code gen 2023-08-20 12:13:40 +08:00
75b7cbf95f update shit 2023-08-19 00:03:00 +08:00
77d8bbf3ba write shit 2023-08-18 15:55:31 +08:00
c1aac0beda try use new way to generate code 2023-08-17 15:48:30 +08:00
0519a557b8 refactor project 2023-02-26 21:48:03 +08:00
427c9ee06f update shit 2023-02-17 12:57:39 +08:00
01bc6074f4 finish hdr1 dep read 2023-02-14 21:31:18 +08:00
6cb4814cf0 almost finish migration from py to c++ 2023-02-11 15:29:51 +08:00