Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-04-08 | Switch to .tar.gz format for Mac OS X packages. | Petteri Aimonen | 1 | -1/+1 | |
Update issue 154 Status: FixedInGit | |||||
2015-04-08 | Fix problem with plugin options on Python 2.7.2 and older. | Petteri Aimonen | 1 | -1/+8 | |
Update issue 153 Status: FixedInGit | |||||
2015-04-03 | Update changelog | Petteri Aimonen | 1 | -0/+12 | |
2015-04-03 | Clear callbacks for union fields. | Petteri Aimonen | 1 | -0/+3 | |
Update issue 148 Status: FixedInGit | |||||
2015-04-03 | Fix for test case build rules | Petteri Aimonen | 1 | -0/+1 | |
2015-04-03 | Improve comment support in .options files. | Petteri Aimonen | 5 | -2/+30 | |
Update issue 145 Status: FixedInGit | |||||
2015-04-03 | Always define enum long names so that cross-file references work. | Petteri Aimonen | 4 | -0/+29 | |
Update issue 118 Status: FixedInGit | |||||
2015-04-03 | Add basic docs for msgid functionality | Petteri Aimonen | 2 | -0/+23 | |
2015-04-03 | Generate #defines for plain message ids | Petteri Aimonen | 2 | -3/+8 | |
2015-03-22 | Add simple test case for message ids | Petteri Aimonen | 2 | -0/+10 | |
2015-03-22 | Use make_identifier() to create the name for FOO_MESSAGES define. | Petteri Aimonen | 1 | -3/+4 | |
This handles special charaters like in "my-file.proto" properly. Also use headerbasename instead of full path, so that compiling files with relative path doesn't create symbols like FOO/BAR/BAZ_MESSAGES. | |||||
2015-03-22 | nanopb_generator.py: emit macros for msgid message type id use | Michael Haberler | 1 | -4/+30 | |
2015-03-22 | nanopb.proto: add msgid message-level option | Michael Haberler | 1 | -0/+3 | |
2015-03-07 | Fix oneof submessage initialization bug. | Petteri Aimonen | 2 | -2/+10 | |
Update issue 149 Status: FixedInGit | |||||
2015-02-26 | Better error messages for syntax errors in .options file | Petteri Aimonen | 1 | -2/+16 | |
2015-02-26 | Fix generator error when long_names:false is combined with Oneofs. | Petteri Aimonen | 2 | -0/+12 | |
Update issue 147 Status: FixedInGit | |||||
2015-02-22 | Include libprotobuf in linux binary package. | Petteri Aimonen | 1 | -1/+2 | |
Previously this got included by bbfreeze, but apparently no more. Update issue 146 Status: FixedInGit | |||||
2015-02-13 | Lower required CMake version in example | Petteri Aimonen | 1 | -1/+1 | |
2015-02-13 | Update cmake_simple example readme | Petteri Aimonen | 1 | -8/+1 | |
2015-02-13 | Add simple example built with CMake | Oliver Lee | 4 | -0/+117 | |
2015-02-13 | Fix search for Python 2 with CMake | Oliver Lee | 1 | -8/+7 | |
Do not assume that Python has already been found by CMake. Fix value of CMake variable PYTHON_EXECUTABLE if Python 3 was found. Change minimum supported Python version to 2.6. This fixes a bug introduced by this commit: d8d3b75e2e3b348d016f48cebc1be764061975d2 | |||||
2015-02-13 | Updates for the CMake rule file. | Oliver Lee | 1 | -4/+45 | |
1) Search explicitly for python2.7 In systems where python3 is default or in build cases where the user has already searched for and found python3 in CMake, store the python3 executable and search for python2.7. 2) Generate nanopb core protobuf files with CMake Generate python output files used in turn by the nanopb generator script. This removes the requirement of manually calling 'make' in the nanopb/generator/proto directory. 3) Use nanopb options file if it exists Look for nanopb options file and use in protobuf source and header generation if it exists. The options file must have the same name and path as the proto file, excluding the extension. | |||||
2015-01-27 | Fix generator bug when oneof is first field in a message. | Petteri Aimonen | 3 | -38/+104 | |
Added test case for the same. Update issue 142 Status: FixedInGit | |||||
2015-01-24 | Setting version to nanopb-0.3.3-dev | Petteri Aimonen | 2 | -2/+2 | |
2015-01-24 | Publishing nanopb-0.3.2 | Petteri Aimonen | 4 | -5/+5 | |
2015-01-23 | Fix encoded_size #defines for oneof messages. | Petteri Aimonen | 4 | -1/+76 | |
The sizes are represented as EncodedSize() instances, which cause max() operation to sort them by address instead of value. This caused pretty much random item to be selected for the maximum. Update issue 141 Status: FixedInGit | |||||
2015-01-15 | Update changelog | Petteri Aimonen | 1 | -0/+11 | |
2015-01-15 | Fix clang compiler warning in intsizes unit test. | Petteri Aimonen | 1 | -13/+13 | |
2015-01-15 | Release memory when overwriting oneof fields. | Petteri Aimonen | 3 | -22/+144 | |
Update issue 131 Status: FixedInGit | |||||
2015-01-11 | Add oneofs to AllTypes test case | Petteri Aimonen | 12 | -2/+53 | |
2015-01-11 | Bugfixes for oneof support. | Petteri Aimonen | 3 | -15/+24 | |
Fixes crashes / memory leaks when using pointer type fields. Also fixes initialization of which_oneof fields. | |||||
2015-01-11 | New generator options for oneofs: allow skipping or generating as normal ↵ | Petteri Aimonen | 3 | -10/+42 | |
'optional' fields. The behaviour with no_unions:true is the same as of nanopb 0.3.1 and earlier. | |||||
2015-01-07 | Fix generator error with OneOfs | Petteri Aimonen | 1 | -2/+3 | |
2015-01-05 | Allow using 8/16/32/64 as values in int_size setting | Petteri Aimonen | 1 | -4/+4 | |
2015-01-04 | Actually make the protoc version check work | Petteri Aimonen | 2 | -6/+10 | |
2015-01-04 | Only run oneof test when protoc >= 2.6 is available | Petteri Aimonen | 2 | -15/+27 | |
2015-01-04 | Fix build failure | Petteri Aimonen | 1 | -1/+1 | |
2015-01-04 | Implement support for oneofs (C unions). | Petteri Aimonen | 9 | -73/+415 | |
Basic test included, should probably add an oneof to the AllTypes test also. Update issue 131 Status: Started | |||||
2015-01-04 | Detect too large varint values when decoding. | Petteri Aimonen | 3 | -17/+53 | |
Because Issue #139 now allows limiting integer fields, it is good to check the values received from other protobuf libraries against the lower limits. | |||||
2015-01-04 | Add int_size option for generator. | Petteri Aimonen | 8 | -16/+212 | |
This allows overriding the integer field types to e.g. uint8_t for saving RAM. Update issue 139 Status: FixedInGit | |||||
2015-01-03 | Change PB_RETURN_ERROR() macro to avoid compiler warnings. | Petteri Aimonen | 2 | -14/+10 | |
Update issue 140 Status: FixedInGit | |||||
2014-12-27 | Fix build failure due to missing dependency in SConscript | Petteri Aimonen | 1 | -2/+2 | |
2014-12-26 | Fix memory leaks with PB_ENABLE_MALLOC and certain submessage type combinations. | Petteri Aimonen | 1 | -20/+45 | |
There was a memory leak when: 1) A statically allocated submessage or 2) an extension field submessage contained A) a pointer-type field or B) a submessage that further contained a pointer-type field. This was because pb_release() didn't recurse into non-pointer fields. Update issue 138 Status: FixedInGit | |||||
2014-12-26 | Initialize also extension fields to defaults in pb_decode(). | Petteri Aimonen | 1 | -54/+83 | |
This makes the behaviour more consistent with non-extension fields, and also makes sure that all 'found' fields of extensions are initially false. | |||||
2014-12-26 | Fix bug in backwards_compatibility test case. | Petteri Aimonen | 1 | -4/+1 | |
The memset() filled also the extensions field, which was just waiting for a crash to happen. | |||||
2014-12-26 | Add testcase for releasing memory in submessages/extensions | Petteri Aimonen | 3 | -0/+149 | |
2014-12-26 | Add support for POINTER type in extensions | Petteri Aimonen | 3 | -3/+24 | |
2014-12-26 | Include the field type in a comment for extension fields | Petteri Aimonen | 1 | -1/+2 | |
2014-12-26 | Move malloc support to tests/common directory | Petteri Aimonen | 5 | -73/+60 | |
2014-12-26 | Move malloc_wrappers.c to tests/common | Petteri Aimonen | 7 | -7/+10 | |