27 Star 37 Fork 27

calvinwilliams/DirectStruct

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ChangeLog-EN 6.37 KB
一键复制 编辑 原始数据 按行查看 历史
calvinwilliams 提交于 2019-01-16 10:22 . UPDATE TO V1.14.1
ver 1.14.1 2019-01-16 calvin
* Add "#ifdef __cplusplus extern "C" { #endif" in header files
ver 1.14.0 2019-01-03 calvin
* Fixed a bug about macro _WINDLL_FUNC not point to 'extern'
* Add command parameter '-c-rename-cpp'
ver 1.13.4 2018-08-08 calvin
* Sync depend on fasterjson v1.1.8
ver 1.13.3 2018-05-03 calvin
* Fixed a warnning in func CallbackOnJsonNode_* for varible unused
* Adjust src/makefile for new mktpl2
ver 1.13.2 2017-11-01 calvin
* Fixed a bug about expect first line "<?xml ..." on pack xml with dup mode
ver 1.13.1 2017-10-19 liufei
* modify generate xml functionc , Fixed a probelm support for MESSAGE option
ver 1.13.0 2017-09-30 calvin
* add keyword MESSAGE after STRUCT
ver 1.12.1 2017-09-29 liufei
* rename EXAMPLE_1.txt EXAMPLE_2.txt
ver 1.12.0 2017-09-29 liufei
* modify GenerateCCode function , add variable _falg_/_falg1_ instead of modify buf[0] operator
* Fixed a probelm of out of bound error
ver 1.11.0 2017-06-28 calvin
* Add multi-connection support for ESQL
ver 1.10.0 2017-05-02 calvin
* Add generate functions
DSCSERIALIZE_XML_DUP_xxx_V,DSCDESERIALIZE_XML_xxx_V
DSCSERIALIZE_XML_COMPACT_DUP_xxx_V,DSCDESERIALIZE_XML_COMPACT_xxx_V
* Add some unuseful code for ignoring warnning on some complier
ver 1.9.1 2017-04-26 calvin
* Fixed a problem about unuse varible warning on higher version gcc
ver 1.9.0 2017-04-17 calvin
* add 'COMMENT' statements in SQL
ver 1.8.1 2017-02-06 calvin
* Fixed a bug about json-pack function at double type
ver 1.8.0 2017-02-05 calvin
* Add generate functions
DSCSERIALIZE_JSON_DUP_xxx_V,DSCDESERIALIZE_JSON_xxx_V
DSCSERIALIZE_JSON_COMPACT_DUP_xxx_V,DSCDESERIALIZE_JSON_COMPACT_xxx_V
ver 1.7.0 2016-12-30 calvin
* Adujst source file
* Add type 'AMOUNT' , double for C language , NUMERIC for SQL : NUMERIC( (len-8)/2*4 , 2 )
* Add type 'NUMERIC' , double for C language , NUMERIC for SQL ; define length format "(all digits length),(decimal part digits length)"
ver 1.6.5 2016-10-22 calvin
* Adujst processing with type 'CHAR' and 'INT 1'
ver 1.6.4 2016-06-13 calvin
* Add generate function DSCGetErrorLine_%s
ver 1.6.3 2016-04-26 calvin
* Update with fasterjson v1.1.6
ver 1.6.2 2016-04-14 calvin
* Fixed format-spec "%lld" for long long on Linux
ver 1.6.1 2015-12-13 calvin
FIXED
* More than two structs in one .dsc file
ver 1.6.0 2015-12-13 calvin
ADD
* First tag "H" append output to header file in IDL files
* No limited using first tag "CREATE_SQL","DROP_SQL","SQLACTION" in IDL files
FIXED
* incorrect error line no on parse IDL files
ver 1.5.0 2015-11-29 calvin
* Some adjustion in generate codes
* Add json dump funcation by alloc memory internally
Alloc memory internally , application free memory
base = NULL ;
nret = DSCSERIALIZE_JSON_DUP_BankJsonTransaction( & st , NULL , & ptr , NULL , NULL ) ;
|| alloc initial size internally
base = NULL ;
buf_size = 1024 ;
nret = DSCSERIALIZE_JSON_DUP_BankJsonTransaction( & st , NULL , & ptr , & buf_size , NULL ) ;
|| application alloc memory , realloc on needs internally ; len output fill-length actually
base = malloc( 1024 ) ;
buf_size = 1024 ;
len = buf_size - 1 ;
nret = DSCSERIALIZE_JSON_DUP_BankJsonTransaction( & st , NULL , & ptr , & buf_size , & len ) ;
|| reserving space on len < buf_size - 1 ; len output fill-length actually
ver 1.4.5 2015-05-22 calvin
* Fixed a bug on multi-loop too
ver 1.4.4 2015-05-22 calvin
* Fixed a bug on multi-loop
ver 1.4.3 2015-05-12 calvin
* Precise buffer length calculation
* Adjust makefile*
ver 1.4.2 2015-05-11 calvin
* Fixed a bug on serializing XML,JSON
* Effect field '_*_count' on serializing XML,JSON
ver 1.4.1 2015-05-02 calvin
* Adjust by library fasterjson v1.1.1
ver 1.4.0 2015-05-01 calvin
* Adjust by library fasterjson v1.1.0
* Support json expression as like "name:[1,2,3,4,5,6]" , add prefix '_' on defining field in IDL file
* Add test program 'test/press_deserialize_json' for pressing
* Add test program 'test/test_deserialize_json_utf8' for encoding UTF8
* Add field type 'BOOL' on defining field in IDL file , use macro DSCTRUE or DSCFALSE in code
ver 1.3.3 2015-04-25 calvin
* Increase output by internal varible "_*_count" on XML or JSON serializing
ver 1.3.2 2015-03-21 calvin
* Completion function DSCDESERIALIZE_JSON_COMPACT_*
ver 1.3.1 2015-03-16 calvin
* Adjust by library fasterjson
ver 1.3.0 2015-03-14 calvin
* Fixed ec automatic code generation problems of SQL conditions for <>, <=, >=
* Adjust to 'pgsql' on command line parameters include 'pqsql'
* Unwrapped command line parameters '-sql' into '-sql-pgsql' and '-sql-oracle'
* Add compactly json style serialization function
* Add compactly xml style serialization function
ver 1.2.0 2015-02-12 calvin
* Solve a compile problem , remove the auto-generated code in the return value macro FASTERJSON_INFO_END_OF_BUFFER FASTERXML_INFO_END_OF_BUFFER
* Remove the top structure name of the generated JSON message as a root node. Cautious upgrade!
ver 1.1.3 2014-11-21 calvin
* Add generate code automatically : CONNECT,DISCONNECT,BEGINWORK,COMMIT,ROLLBACK with keyword SQLCONN
* Add comment grammar
ver 1.1.2 2014-10-10 calvin
* ESQL add generate SQLACTION code
* Fixed bug in XML,JSON serialize/unserialize functions
* Support ORACLE
ver 1.1.1 2014-10-07 calvin
* Add demo test_client,test_server
* Add demo test_db2json
ver 1.1.0 2014-09-20 calvin
* Add generate code automatically : XML serialize/unserialize functions , Depend on library fasterxml
* Add generate code automatically : JSON serialize/unserialize functions , Depend on library fasterjson
* Add generate code automatically : ESQL code
* Support PQSQL
ver 1.0.4 2014-09-09 calvin
* Fixed a problem on AIX
* Fixed a problem about float-number
* Optimized generate automatically code layout
* Generate code header ( dsc version )
ver 1.0.3 2014-09-05 calvin
* Add generate code automatically : compack/compress serialize/unserialize functions
ver 1.0.1 2014-09-01 calvin
* Add type INT 8 and UINT (1,2,4,8) and UCHAR
ver 1.0.0 2014-08-29 calvin
* Create
* Read abstract definition file
* Add generate code automatically : network/host byte-order convert functions , log output function
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/calvinwilliams/DirectStruct.git
git@gitee.com:calvinwilliams/DirectStruct.git
calvinwilliams
DirectStruct
DirectStruct
release

搜索帮助