Commit Graph

21 Commits (83f81ed463e39a9fb1ce136518b188ca8daa0019)

Author SHA1 Message Date
walon 83f81ed463 【调整】名称调整,统一 pb => protobuf
【特性】新增 gen_types 类型 code_template,可以自定义新的模板目录了,新增配合的命令行选项 --template:code:dir
【调整】模板参数名调整。 data_template_name => template:data:file, output_compact_json => output:data:compact_json
【修复】修复protobuf生成错误设置 language为lua的bug
2021-12-04 14:47:47 +08:00
walon 79d52c8820 【修复】从service.manager中获得Tables管理类的类名,而不是写死为Tables。 2021-12-03 18:10:09 +08:00
walon ca8e5035ba 【重构】模块相关函数由StringTemplateUtil移到StringTemplateManager
【特性】Luban.Server支持禁用生成缓存(但仍保留源文件缓存)。
【修复】修复 start_up.md 文档中的链接错误
2021-11-30 16:32:31 +08:00
walon bb534ef12e 【重构】重构cfg code生成,消除大量重复代码 2021-11-27 15:23:42 +08:00
walon 9083915b62 【重构】重构proto JobController代码,添加新的代码生成不再需要修改JobController代码。 2021-11-26 19:03:03 +08:00
walon 8f872289b8 【特性】新增 --naming_convention_xxx 相关选项,允许指定生成代码的命名风格 2021-10-25 16:16:57 +08:00
walon 0a5d7b6ab4 【调整】移除cfg,proto,db对const定义的支持 2021-09-27 16:27:13 +08:00
walon e0dda1c83c 【重构】使用vs内置工具进行代码清理 2021-09-01 11:30:56 +08:00
walon efd079939f 【重构】重构cfg JobController处理。通过注解方式,新增代码或者数据生成,不再需要修改JobController代码 2021-08-27 15:00:14 +08:00
walon 216bdee29d 【特性】新增 cfg java_json 支持
【重构】Render不再从ThreadStatic里获得Template,改从CocurrentDictionary中获取
【优化】优化 cfg java_bin 代码,不再从AbstraceBean继承,并且美化代码。
2021-08-25 11:52:08 +08:00
walon 6309108da0 【重构】将scriban模板字符串从代码中移到Templates目录 2021-08-24 20:17:25 +08:00
walon de250768bc 【修复】修复cfg c++代码没有填充Index索引Map的问题 2021-08-13 12:53:55 +08:00
walon b3eaee60ca 【优化】修复cpp代码文档注释*号未对齐的问题 2021-08-13 09:09:42 +08:00
walon 9b7e5848e4 【优化】不对没有注释的类或者字段生成注释代码 2021-08-12 19:03:14 +08:00
walon f68f82da4c 【调整】调整cfg c++生成,将使用到的std::类型替换成CommonMacros.h中的::bright::类型 2021-08-12 12:05:12 +08:00
walon 114ebb2573 【调整】解决生成的cfg c++代码中依然有一部分直接使用了std::shared_ptr的问题 2021-08-12 10:52:50 +08:00
walon 3825de6b07 【调整】cfg c++ 对于可空类型使用 shared_ptr 2021-08-11 16:10:55 +08:00
walon 9edb704199 【修复】为ue4生成cfg c++代码并且使用FString作为string类型时,由于FString无法作为unordered_map的key,产生编译错误,索性放弃对FString支持, 统一为std::string 2021-08-11 15:09:22 +08:00
walon 2854ba4a9f 【完善】补充cfg c++对可空变量的支持,补充对ref字段resolve的支持 2021-08-11 14:36:16 +08:00
walon e63220be9f 【特性】支持comment属性,生成代码时包含类和字段注释 2021-07-27 16:43:49 +08:00
walon f164dc82fb 【重构】重构 cfg JobController代码,减少重复代码
【调整】原来data_lua中类型部分代码被移到 code_lua_lua目标中
【修复】修复go_bin的生成代码有编译错误的问题
2021-07-15 16:14:34 +08:00