summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-09-12Fix handling of unsigned 8- or 16-bit enums.Petteri Aimonen2-2/+18
Previously unsigned enums would throw errors on decoding if the value went outside the signed range (issue #164). Currently only helps for enums defined within the same file, but solving issue #165 will make it work for multiple files also.
2015-09-12Add testcase for issue #164Petteri Aimonen3-0/+168
2015-09-12Add packed_enum option to generator.Petteri Aimonen2-1/+10
This can be generally useful for saving RAM, but also makes it easier to test for issue #164.
2015-07-11Add note about running tests on Mac OS XPetteri Aimonen1-1/+4
2015-07-01Add link to forum to the readmePetteri Aimonen1-0/+1
2015-06-17Merge pull request #157 from ivankravets/patch-1Petteri Aimonen1-6/+7
Specify additional fields for @PlatformIO Registry
2015-06-17Specify additional fields for @PlatformIO RegistryIvan Kravets1-6/+7
2015-06-16Merge pull request #156 from ncolomer/masterPetteri Aimonen1-0/+21
PlatformIO Library Registry manifest file
2015-06-16PlatformIO Library Registry manifest fileNicolas Colomer1-0/+21
2015-05-07Add download link to readmePetteri Aimonen1-1/+1
2015-04-28Fix for previous (issue #155)Petteri Aimonen1-1/+1
2015-04-28Prefer python2 in generator/protoc-gen-nanopb.Petteri Aimonen1-0/+1
Update issue 155 Status: FixedInGit
2015-04-10Setting version to 0.3.4-devPetteri Aimonen2-2/+2
2015-04-10Publishing nanopb-0.3.3Petteri Aimonen3-3/+5
2015-04-08Switch to .tar.gz format for Mac OS X packages.Petteri Aimonen1-1/+1
Update issue 154 Status: FixedInGit
2015-04-08Fix problem with plugin options on Python 2.7.2 and older.Petteri Aimonen1-1/+8
Update issue 153 Status: FixedInGit
2015-04-03Update changelogPetteri Aimonen1-0/+12
2015-04-03Clear callbacks for union fields.Petteri Aimonen1-0/+3
Update issue 148 Status: FixedInGit
2015-04-03Fix for test case build rulesPetteri Aimonen1-0/+1
2015-04-03Improve comment support in .options files.Petteri Aimonen5-2/+30
Update issue 145 Status: FixedInGit
2015-04-03Always define enum long names so that cross-file references work.Petteri Aimonen4-0/+29
Update issue 118 Status: FixedInGit
2015-04-03Add basic docs for msgid functionalityPetteri Aimonen2-0/+23
2015-04-03Generate #defines for plain message idsPetteri Aimonen2-3/+8
2015-03-22Add simple test case for message idsPetteri Aimonen2-0/+10
2015-03-22Use make_identifier() to create the name for FOO_MESSAGES define.Petteri Aimonen1-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-22nanopb_generator.py: emit macros for msgid message type id useMichael Haberler1-4/+30
2015-03-22nanopb.proto: add msgid message-level optionMichael Haberler1-0/+3
2015-03-07Fix oneof submessage initialization bug.Petteri Aimonen2-2/+10
Update issue 149 Status: FixedInGit
2015-02-26Better error messages for syntax errors in .options filePetteri Aimonen1-2/+16
2015-02-26Fix generator error when long_names:false is combined with Oneofs.Petteri Aimonen2-0/+12
Update issue 147 Status: FixedInGit
2015-02-22Include libprotobuf in linux binary package.Petteri Aimonen1-1/+2
Previously this got included by bbfreeze, but apparently no more. Update issue 146 Status: FixedInGit
2015-02-13Lower required CMake version in examplePetteri Aimonen1-1/+1
2015-02-13Update cmake_simple example readmePetteri Aimonen1-8/+1
2015-02-13Add simple example built with CMakeOliver Lee4-0/+117
2015-02-13Fix search for Python 2 with CMakeOliver Lee1-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-13Updates for the CMake rule file.Oliver Lee1-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-27Fix generator bug when oneof is first field in a message.Petteri Aimonen3-38/+104
Added test case for the same. Update issue 142 Status: FixedInGit
2015-01-24Setting version to nanopb-0.3.3-devPetteri Aimonen2-2/+2
2015-01-24Publishing nanopb-0.3.2Petteri Aimonen4-5/+5
2015-01-23Fix encoded_size #defines for oneof messages.Petteri Aimonen4-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-15Update changelogPetteri Aimonen1-0/+11
2015-01-15Fix clang compiler warning in intsizes unit test.Petteri Aimonen1-13/+13
2015-01-15Release memory when overwriting oneof fields.Petteri Aimonen3-22/+144
Update issue 131 Status: FixedInGit
2015-01-11Add oneofs to AllTypes test casePetteri Aimonen12-2/+53
2015-01-11Bugfixes for oneof support.Petteri Aimonen3-15/+24
Fixes crashes / memory leaks when using pointer type fields. Also fixes initialization of which_oneof fields.
2015-01-11New generator options for oneofs: allow skipping or generating as normal ↵Petteri Aimonen3-10/+42
'optional' fields. The behaviour with no_unions:true is the same as of nanopb 0.3.1 and earlier.
2015-01-07Fix generator error with OneOfsPetteri Aimonen1-2/+3
2015-01-05Allow using 8/16/32/64 as values in int_size settingPetteri Aimonen1-4/+4
2015-01-04Actually make the protoc version check workPetteri Aimonen2-6/+10
2015-01-04Only run oneof test when protoc >= 2.6 is availablePetteri Aimonen2-15/+27