Add 'CAN-binder/libs/nanopb/' from commit '278ffb890e3d8722e4c7d824baaf221a1e375fc4'
[apps/agl-service-can-low-level.git] / CAN-binder / libs / nanopb / CHANGELOG.txt
1 nanopb-0.3.8 (2017-03-05)
2  Fix problems with multiple oneofs in same message (#229)
3  Zero-valued extension fields were mistakenly ignored by encoder (#242)
4  Multiple fixes related to proto3 mode (#242, #245, #247, #249)
5  Fix potential unaligned access (#226, #227)
6  Fix documentation for protoc --plugin argument (#239)
7  Extend inline / fixed length bytes array support (#244)
8  Add new option max_length for strings (#107)
9  Make string substream API more robust (#230)
10  Make pb_decode_varint32 public API (#231)
11  Allow overriding proto3 mode (#228)
12  Add optional enum->string mapping function (#223)
13  Add transitional options.proto file (#241)
14  Add better error message on Python library version imcompatibility (#240)
15  Include version number in PlatformIO library.json (#222)
16  CMake build script changes (#236, #237)
17  Change download links to https
18  Improvements to test cases.
19
20 nanopb-0.3.7 (2016-10-30)
21  Add support for proto3-style singular fields (#182, #206, #216)
22  Updated binary package protoc to version 3.1.0
23  Add FT_INLINE allocation of bytes fields (#211)
24  Include package name in include guard (#207)
25  Fix missing warning with large bytes fields (issue #220)
26  Added CMake project (#208)
27  Add bazel BUILD file for nanopb (#209)
28  Added an AUTHORS file (#211)
29  Documentation updates
30  Improvements to test cases.
31
32 nanopb-0.3.6 (2016-06-19)
33  Protect against corrupted _count fields in pb_release (#205)
34  Fix error in STATIC_ASSERT with multiple files (#203)
35  Add -D option to specify output directory (#193)
36  Generate MIN/MAX/ARRAYSIZE defines for enums (#194)
37  Generate comments about uncalculable message sizes (#195)
38  Documentation updates (#196, #201)
39  Improvements to test cases.
40
41 nanopb-0.3.5 (2016-02-13)
42  NOTE: If you are using pb_syshdr.h, you will need to add uint_least8_t
43  definition. See docs/migration.rst for details.
44
45  Fix generator crash with Enum inside Oneof (#188)
46  Fix some generator regressions related to .options file path (#172)
47  Add support for platforms without uint8_t (#191)
48  Allow const parameter to pb_istream_from_buffer (#152)
49  Ignore null pointers in pb_release() (#183)
50  Add support for anonymous unions (#184)
51  Add Python3 support to the generator (#169)
52  Add code generator insertion points to generated files (#178)
53  Improvements to CMake script (#181)
54  Improvements to test cases.
55
56 nanopb-0.3.4 (2015-09-26)
57  Fix handling of unsigned 8- and 16-bit enums (issue 164)
58  Fix generator on systems where python = python3. (issue 155)
59  Fix compiler warning on GCC 5.x (issue 171)
60  Make the generator better handle imported .protos (issue 165)
61  Add packed_enum option to generator.
62  Add syntax= line to .proto files (issue 167)
63  Add PlatformIO registry manifest file. (pr 156)
64
65 nanopb-0.3.3 (2015-04-10)
66  Fix missing files in Linux binary package (issue 146)
67  Fix generator bug when oneof is first field in a message. (issue 142)
68  Fix generator error when long_names:false is combined with Oneofs. (issue 147)
69  Fix oneof submessage initialization bug. (issue 149)
70  Fix problem with plugin options on Python 2.7.2 and older. (issue 153)
71  Fix crash when callback is inside oneof field. (issue 148)
72  Switch to .tar.gz format for Mac OS X packages. (issue 154)
73  Always define enum long names so that cross-file references work. (issue 118)
74  Add msgid generator option. (issue 151)
75  Improve comment support in .options files. (issue 145)
76  Updates for the CMake rule file, add cmake example.
77  Better error messages for syntax errors in .options file
78
79 nanopb-0.3.2 (2015-01-24)
80  Fix memory leaks with PB_ENABLE_MALLOC with some submessage hierarchies (issue 138)
81  Implement support for oneofs (C unions). (issues 131, 141)
82  Add int_size option for generator (issue 139)
83  Add compilation option to disable struct packing. (issue 136)
84  Change PB_RETURN_ERROR() macro to avoid compiler warnings (issue 140)
85  Fix build problems with protoc 3.0.0
86  Add support for POINTER type in extensions
87  Initialize also extension fields to defaults in pb_decode().
88  Detect too large varint values when decoding.
89
90 nanopb-0.3.1 (2014-09-11)
91  Fix security issue due to size_t overflows. (issue 132)
92  Fix memory leak with duplicated fields and PB_ENABLE_MALLOC
93  Fix crash if pb_release() is called twice.
94  Fix cyclic message support (issue 130)
95  Fix error in generated initializers for repeated pointer fields.
96  Improve tests (issues 113, 126)
97
98 nanopb-0.3.0 (2014-08-26)
99  NOTE: See docs/migration.html or online at
100  http://koti.kapsi.fi/~jpa/nanopb/docs/migration.html
101  for changes in this version. Most importantly, you need to add
102  pb_common.c to the list of files to compile.
103
104  Separated field iterator logic to pb_common.c (issue 128)
105  Change the _count fields to use pb_size_t datatype (issue 82)
106  Added PB_ prefix to macro names (issue 106)
107  Added #if version guard to generated files (issue 129)
108  Added migration document
109
110 nanopb-0.2.9 (2014-08-09)
111  NOTE: If you are using the -e option with the generator, you have
112  to prepend . to the argument to get the same behaviour as before.
113
114  Do not automatically add a dot with generator -e option. (issue 122)
115  Fix problem with .options file and extension fields. (issue 125)
116  Don't use SIZE_MAX macro, as it is not in C89. (issue 120)
117  Generate #defines for initializing message structures. (issue 79)
118  Add skip_message option to generator. (issue 121)
119  Add PB_PACKED_STRUCT support for Keil MDK-ARM toolchain (issue 119)
120  Give better messages about the .options file path. (issue 124)
121  Improved tests
122
123 nanopb-0.2.8 (2014-05-20)
124  Fix security issue with PB_ENABLE_MALLOC. (issue 117)
125  Add option to not add timestamps to .pb.h and .pb.c preambles. (issue 115)
126  Documentation updates
127  Improved tests
128
129 nanopb-0.2.7 (2014-04-07)
130  Fix bug with default values for extension fields (issue 111)
131  Fix some MISRA-C warnings (issue 91)
132  Implemented optional malloc() support (issue 80)
133  Changed pointer-type bytes field datatype
134  Add a "found" field to pb_extension_t (issue 112)
135  Add convenience function pb_get_encoded_size() (issue 16)
136
137 nanopb-0.2.6 (2014-02-15)
138  Fix generator error with bytes callback fields (issue 99)
139  Fix warnings about large integer constants (issue 102)
140  Add comments to where STATIC_ASSERT is used (issue 96)
141  Add warning about unknown field names on .options (issue 105)
142  Move descriptor.proto to google/protobuf subdirectory (issue 104)
143  Improved tests
144
145 nanopb-0.2.5 (2014-01-01)
146  Fix a bug with encoding negative values in int32 fields (issue 97)
147  Create binary packages of the generator + dependencies (issue 47)
148  Add support for pointer-type fields to the encoder (part of issue 80)
149  Fixed path in FindNanopb.cmake (issue 94)
150  Improved tests
151
152 nanopb-0.2.4 (2013-11-07)
153  Remove the deprecated NANOPB_INTERNALS functions from public API.
154  Document the security model.
155  Check array and bytes max sizes when encoding (issue 90)
156  Add #defines for maximum encoded message size (issue 89)
157  Add #define tags for extension fields (issue 93)
158  Fix MISRA C violations (issue 91)
159  Clean up pb_field_t definition with typedefs.
160
161 nanopb-0.2.3 (2013-09-18)
162  Improve compatibility by removing ternary operator from initializations (issue 88)
163  Fix build error on Visual C++ (issue 84, patch by Markus Schwarzenberg)
164  Don't stop on unsupported extension fields (issue 83)
165  Add an example pb_syshdr.h file for non-C99 compilers
166  Reorganize tests and examples into subfolders (issue 63)
167  Switch from Makefiles to scons for building the tests
168  Make the tests buildable on Windows
169
170 nanopb-0.2.2 (2013-08-18)
171  Add support for extension fields (issue 17)
172  Fix unknown fields in empty message (issue 78)
173  Include the field tags in the generated .pb.h file.
174  Add pb_decode_delimited and pb_encode_delimited wrapper functions (issue 74)
175  Add a section in top of pb.h for changing compilation settings (issue 76)
176  Documentation improvements (issues 12, 77 and others)
177  Improved tests
178
179 nanopb-0.2.1 (2013-04-14)
180  NOTE: The default callback function signature has changed.
181        If you don't want to update your code, define PB_OLD_CALLBACK_STYLE.
182  
183  Change the callback function to use void** (issue 69)
184  Add support for defining the nanopb options in a separate file (issue 12)
185  Add support for packed structs in IAR and MSVC (in addition to GCC) (issue 66)
186  Implement error message support for the encoder side (issue 7)
187  Handle unterminated strings when encoding (issue 68)
188  Fix bug with empty strings in repeated string callbacks (issue 73)
189  Fix regression in 0.2.0 with optional callback fields (issue 70)
190  Fix bugs with empty message types (issues 64, 65)
191  Fix some compiler warnings on clang (issue 67)
192  Some portability improvements (issues 60, 62)
193  Various new generator options
194  Improved tests
195
196 nanopb-0.2.0 (2013-03-02)
197  NOTE: This release requires you to regenerate all .pb.c
198        files. Files generated by older versions will not
199        compile anymore.
200
201  Reformat generated .pb.c files using macros (issue 58)
202  Rename PB_HTYPE_ARRAY -> PB_HTYPE_REPEATED
203  Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
204  Move STATIC_ASSERTs to .pb.c file
205  Added CMake file (by Pavel Ilin)
206  Add option to give file extension to generator (by Michael Haberler)
207  Documentation updates
208
209 nanopb-0.1.9 (2013-02-13)
210  Fixed error message bugs (issues 52, 56)
211  Sanitize #ifndef filename (issue 50)
212  Performance improvements
213  Add compile-time option PB_BUFFER_ONLY
214  Add Java package name to nanopb.proto
215  Check for sizeof(double) == 8 (issue 54)
216  Added generator option to ignore some fields. (issue 51)
217  Added generator option to make message structs packed. (issue 49)
218  Add more test cases.
219
220 nanopb-0.1.8 (2012-12-13)
221  Fix bugs in the enum short names introduced in 0.1.7 (issues 42, 43)
222  Fix STATIC_ASSERT macro when using multiple .proto files. (issue 41)
223  Fix missing initialization of istream.errmsg
224  Make tests/Makefile work for non-gcc compilers (issue 40)
225
226 nanopb-0.1.7 (2012-11-11)
227  Remove "skip" mode from pb_istream_t callbacks. Example implementation had a bug. (issue 37)
228  Add option to use shorter names for enum values (issue 38)
229  Improve options support in generator (issues 12, 30)
230  Add nanopb version number to generated files (issue 36)
231  Add extern "C" to generated headers (issue 35)
232  Add names for structs to allow forward declaration (issue 39)
233  Add buffer size check in example (issue 34)
234  Fix build warnings on MS compilers (issue 33)
235
236 nanopb-0.1.6 (2012-09-02)
237  Reorganize the field decoder interface (issue 2)
238  Improve performance in submessage decoding (issue 28)
239  Implement error messages in the decoder side (issue 7)
240  Extended testcases (alltypes test is now complete).
241  Fix some compiler warnings (issues 25, 26, 27, 32).
242
243 nanopb-0.1.5 (2012-08-04)
244  Fix bug in decoder with packed arrays (issue 23).
245  Extended testcases.
246  Fix some compiler warnings.
247
248 nanopb-0.1.4 (2012-07-05)
249  Add compile-time options for easy-to-use >255 field support.
250  Improve the detection of missing required fields.
251  Added example on how to handle union messages.
252  Fix generator error with .proto without messages.
253  Fix problems that stopped the code from compiling with some compilers.
254  Fix some compiler warnings.
255
256 nanopb-0.1.3 (2012-06-12)
257  Refactor the field encoder interface.
258  Improve generator error messages (issue 5)
259  Add descriptor.proto into the #include exclusion list
260  Fix some compiler warnings.
261
262 nanopb-0.1.2 (2012-02-15)
263  Make the generator to generate include for other .proto files (issue 4).
264  Fixed generator not working on Windows (issue 3)
265
266 nanopb-0.1.1 (2012-01-14)
267  Fixed bug in encoder with 'bytes' fields (issue 1).
268  Fixed a bug in the generator that caused a compiler error on sfixed32 and sfixed64 fields.
269  Extended testcases.
270
271 nanopb-0.1.0 (2012-01-06)
272  First stable release.