Age | Commit message (Collapse) | Author | Files | Lines |
|
* Work around this by checking the appropriate class for the given
* environment.
|
|
* This is a shot in the dark.
|
|
* Not sure how to handle this case in python2, seems to work
* Python 3 doesn't need this since all strings are utf-8
|
|
* 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
|
|
Create a FieldMaxSize class that:
* Accumlates all C assertions
* Handles the checking of the longest simple field
* Also python3 doesn't support max(None)
|
|
* This works with python2 and python3
|
|
* Invoked with `2to3 -w nanopb_generator.py`
* No other changes.
|
|
* Use the system python binary and make sure the generator works with
both instead.
|
|
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
|
|
|
|
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.
|
|
In preparation for multi-file support in generator.
No functional changes yet.
|
|
|
|
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.
|
|
|
|
This can be generally useful for saving RAM, but also makes
it easier to test for issue #164.
|
|
|
|
|
|
Specify additional fields for @PlatformIO Registry
|
|
|
|
PlatformIO Library Registry manifest file
|
|
|
|
|
|
|
|
Update issue 155
Status: FixedInGit
|
|
|
|
|
|
Update issue 154
Status: FixedInGit
|
|
Update issue 153
Status: FixedInGit
|
|
|
|
Update issue 148
Status: FixedInGit
|
|
|
|
Update issue 145
Status: FixedInGit
|
|
Update issue 118
Status: FixedInGit
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
Update issue 149
Status: FixedInGit
|
|
|
|
Update issue 147
Status: FixedInGit
|
|
Previously this got included by bbfreeze, but apparently no more.
Update issue 146
Status: FixedInGit
|
|
|
|
|
|
|
|
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
|
|
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.
|
|
Added test case for the same.
Update issue 142
Status: FixedInGit
|