- Feb 15, 2018
-
-
Petteri Aimonen authored
Always return size for messages with OneOf fields
-
Oliver Lee authored
Use a maximum calculation if submessage sizes are unknown.
-
- Feb 14, 2018
-
-
Petteri Aimonen authored
Use protoc plugin mode for source generation in CMake
-
Oliver Lee authored
This commit uses protoc using the nanopb plugin to generate source files in a single step instead of two. A new variable 'NANOPB_OPTIONS' can be used to pass nanopb options to protoc. The directory of a generated proto file is always passed as a search path for option files. This fixes the calculation of max encoded size for proto files with imports.
-
- Feb 09, 2018
-
-
Petteri Aimonen authored
-
- Jan 09, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Explicitly handle all enum values in switch
-
Robbie Shade authored
-
- Jan 08, 2018
-
-
Petteri Aimonen authored
Add nanopb_PROTOC_PATH variable to CMakeLists.txt
-
Robbie Shade authored
-
- Jan 06, 2018
-
-
Petteri Aimonen authored
-
- Dec 14, 2017
-
-
Petteri Aimonen authored
Require non-buggy version of cmake
-
Edward Z. Yang authored
See https://github.com/pytorch/pytorch/issues/4141 and https://github.com/gflags/gflags/issues/113 for context
-
- Dec 11, 2017
-
-
Petteri Aimonen authored
-
- Dec 09, 2017
-
-
Petteri Aimonen authored
Thanks to David Vescovi for the fix.
-
- Nov 27, 2017
-
-
Petteri Aimonen authored
Fix #296 - install path of Python plugins with CMake.
-
Dave Flogeras authored
No need of specifying the CMAKE_PREFIX_PATH to python when asking for sysconfig.get_python_lib since everything is installed relative to CMAKE_PREFIX_PATH anyway.
-
- Oct 08, 2017
-
-
Petteri Aimonen authored
Fix negative number without 64bit
-
- Oct 06, 2017
-
-
Sébastien Morin authored
-
Sébastien Morin authored
-
- Oct 05, 2017
-
-
Sébastien Morin authored
-
Sébastien Morin authored
-
- Oct 01, 2017
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Sep 23, 2017
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Sep 18, 2017
-
-
Petteri Aimonen authored
Added pb_decode_delimited_noinit
-
Elco Jacobs authored
I added API function to receive delimited data without initizializing the target structure. This is useful for partial updates.
-
- Sep 17, 2017
-
-
Petteri Aimonen authored
-
- Sep 16, 2017
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Nanopb has traditionally supported messages to be terminated with a zero tag. However, this is not really standard protobuf behaviour, so it makes sense to separate it into a different function. Because it is a breaking change, it will happen in 0.4.0 release. But I add the functions here early so that new code can start using them now. Also changed the network_server example to use en/decode_delimited(), which is the more common protobuf method of simple message framing.
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Sep 15, 2017
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Fix Travis-CI Build
-