Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-09-26 | Add documentation link to readme | Petteri Aimonen | 1 | -1/+2 | |
2015-09-26 | Fine-tune the readme | Petteri Aimonen | 1 | -6/+11 | |
2015-09-26 | Clean up the python2/python3 string type handling | Petteri Aimonen | 1 | -10/+9 | |
2015-09-26 | Merge pull request #170 from kylemanna/travis-ci | Petteri Aimonen | 1 | -0/+54 | |
Add Travis CI Support | |||||
2015-09-26 | Merge pull request #169 from kylemanna/python3 | Petteri Aimonen | 3 | -51/+67 | |
Add proper Python3 support to the generator | |||||
2015-09-26 | Setting version to 0.3.5-dev | Petteri Aimonen | 2 | -2/+2 | |
2015-09-26 | Publishing nanopb-0.3.4 | Petteri Aimonen | 3 | -3/+4 | |
2015-09-24 | Add initialization to examples/simple | Petteri Aimonen | 2 | -6/+12 | |
2015-09-22 | Merge pull request #171 from kylemanna/misc | Petteri Aimonen | 1 | -1/+2 | |
decode: Fix compiler issue with gcc-5 | |||||
2015-09-21 | decode: Fix compiler issue with gcc-5 | Kyle Manna | 1 | -1/+2 | |
* gcc 5.0 and 5.1 appear to take issue with this line and generates the following error: /home/nitro/tmp/nanopb/pb_decode.c: In function ‘pb_decode_noinit’: /home/nitro/tmp/nanopb/pb_decode.c:889:60: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion] fields_seen[iter.required_field_index >> 3] |= (uint8_t)(1 << (iter.required_field_index & 7)); ^ * This seems like a compiler bug, but this workaround is harmless. | |||||
2015-09-21 | travis-ci: Use protobuf v3 as it adds python3 | Kyle Manna | 1 | -5/+3 | |
* Still in testing currently. | |||||
2015-09-21 | travis-ci: Build C/C++/Python matrix | Kyle Manna | 1 | -10/+38 | |
* Test a number of C compilers * Travis CI can't handle three languages (C, C++, Python) * Add support for swapping python2/3 binaries * Scons has made no attempts to support python3 yet: * Build the matrix manually * Scons doesn't inherit $CC/$CXX from parent environement, so pass compiler flags directly | |||||
2015-09-21 | generator: Use search $PATH for python | Kyle Manna | 1 | -1/+1 | |
* Search $PATH for the python binary so that this works better with things like virtualenv as used on Travis CI | |||||
2015-09-20 | travis-ci: Initial working build | Kyle Manna | 1 | -0/+28 | |
* Initial working build for Travis CI build system. | |||||
2015-09-20 | generator: Fix strange unicode/str issue in python2 | Kyle Manna | 1 | -1/+8 | |
* Work around this by checking the appropriate class for the given * environment. | |||||
2015-09-20 | generator: Attempt to simplify the str/unicode madness | Kyle Manna | 1 | -0/+2 | |
* This is a shot in the dark. | |||||
2015-09-20 | generator: Strings are utf-8 by default in python3 | Kyle Manna | 1 | -4/+2 | |
* Not sure how to handle this case in python2, seems to work * Python 3 doesn't need this since all strings are utf-8 | |||||
2015-09-20 | generator: Remove cmp() to work with Python3 | Kyle Manna | 1 | -5/+2 | |
* Python3 ignores cmp() and __cmp__() and only needs __lt__() for sorting. Delete and update as appropriate. * Ref: https://docs.python.org/3.0/whatsnew/3.0.html#ordering-comparisons | |||||
2015-09-20 | generator: More exhaustive field size checking | Kyle Manna | 1 | -15/+36 | |
Create a FieldMaxSize class that: * Accumlates all C assertions * Handles the checking of the longest simple field * Also python3 doesn't support max(None) | |||||
2015-09-20 | generator: Use python2/3 binary read/write method | Kyle Manna | 1 | -3/+4 | |
* This works with python2 and python3 | |||||
2015-09-20 | generator: Run python's 2to3 converter | Kyle Manna | 1 | -10/+11 | |
* Invoked with `2to3 -w nanopb_generator.py` * No other changes. | |||||
2015-09-20 | cmake: Don't explicitly look for python2 | Kyle Manna | 1 | -12/+2 | |
* Use the system python binary and make sure the generator works with both instead. | |||||
2015-09-20 | generator: Don't force python2 | Kyle Manna | 1 | -2/+1 | |
Python2 is being phased out of the default python interpreter. Arch Linux has moved some time ago and upcoming Debian realeases will follow. My distro, Arch, doesn't have a python2-protobuf version, but does have a python3 version. With a python 2 & 3 compatible generator the exact interpreter can be ignored and can use the system default as most users expect. Update issue #155 | |||||
2015-09-20 | Update changelog | Petteri Aimonen | 1 | -1/+9 | |
2015-09-20 | Add syntax specification to .proto files (issue #167) | Petteri Aimonen | 33 | -13/+80 | |
Eliminates a warning on protoc 3.0. | |||||
2015-09-13 | Fix maximum encoded size for negative enums (issue #166). | Petteri Aimonen | 4 | -1/+87 | |
2015-09-12 | Make the generator understand included files (issue #165). | Petteri Aimonen | 6 | -36/+70 | |
This will allow message sizes and enum options to be available across the include files. Currently searching for .options files for included files may not work for all path combinations, this is related to issue #116. Should probably make a pull request to protoc about that. | |||||
2015-09-12 | Refactor the generator logic into a ProtoFile class. | Petteri Aimonen | 1 | -285/+297 | |
In preparation for multi-file support in generator. No functional changes yet. | |||||
2015-09-12 | Expand the multiple_files test case to include oneofs and enums | Petteri Aimonen | 5 | -14/+48 | |
2015-09-12 | Fix handling of unsigned 8- or 16-bit enums. | Petteri Aimonen | 2 | -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-12 | Add testcase for issue #164 | Petteri Aimonen | 3 | -0/+168 | |
2015-09-12 | Add packed_enum option to generator. | Petteri Aimonen | 2 | -1/+10 | |
This can be generally useful for saving RAM, but also makes it easier to test for issue #164. | |||||
2015-07-11 | Add note about running tests on Mac OS X | Petteri Aimonen | 1 | -1/+4 | |
2015-07-01 | Add link to forum to the readme | Petteri Aimonen | 1 | -0/+1 | |
2015-06-17 | Merge pull request #157 from ivankravets/patch-1 | Petteri Aimonen | 1 | -6/+7 | |
Specify additional fields for @PlatformIO Registry | |||||
2015-06-17 | Specify additional fields for @PlatformIO Registry | Ivan Kravets | 1 | -6/+7 | |
2015-06-16 | Merge pull request #156 from ncolomer/master | Petteri Aimonen | 1 | -0/+21 | |
PlatformIO Library Registry manifest file | |||||
2015-06-16 | PlatformIO Library Registry manifest file | Nicolas Colomer | 1 | -0/+21 | |
2015-05-07 | Add download link to readme | Petteri Aimonen | 1 | -1/+1 | |
2015-04-28 | Fix for previous (issue #155) | Petteri Aimonen | 1 | -1/+1 | |
2015-04-28 | Prefer python2 in generator/protoc-gen-nanopb. | Petteri Aimonen | 1 | -0/+1 | |
Update issue 155 Status: FixedInGit | |||||
2015-04-10 | Setting version to 0.3.4-dev | Petteri Aimonen | 2 | -2/+2 | |
2015-04-10 | Publishing nanopb-0.3.3 | Petteri Aimonen | 3 | -3/+5 | |
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 |