forked from calvinwilliams/DirectStruct
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-EN
123 lines (97 loc) · 4.5 KB
/
ChangeLog-EN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
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 )
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