- Oct 11, 2018
-
-
Jari Vetoniemi authored
-
- Oct 03, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
This bug can only occur when all of the following apply: 1) Message contains extension fields and 2) the extension field is of callback type and 3) the pb_extension_t structure is defined, but the pointer to pb_callback_t is left as NULL. The correct behaviour in this case is that the field will be skipped. Further, for most compilers atleast and probably for all compilers, the bug will only occur if PB_OLD_CALLBACK_STYLE compilation option is specified.
-
Petteri Aimonen authored
-
- Sep 13, 2018
-
-
Petteri Aimonen authored
Previously the generator assumed that any submessage could be found in a different file. Now it knows that if the submessage is in current file, it won't be in a different file.
-
Petteri Aimonen authored
Instead of 2**n ternary operator construct, uses a sizeof(union{}) construct with linear length increase.
-
Petteri Aimonen authored
-
- Sep 02, 2018
-
-
Petteri Aimonen authored
Pass protoc-gen-nanopb.bat to protoc when on Windows
-
- Sep 01, 2018
-
-
Tobias Müller authored
-
- Aug 31, 2018
-
-
Petteri Aimonen authored
Feature: Flattening nested protobuf names
-
matejcik authored
-
- Aug 28, 2018
-
-
matejcik authored
-
- Aug 27, 2018
-
-
matejcik authored
Three options for what to do with long type names: M_NONE - original, default. Do nothing special. M_STRIP_PACKAGE - Strip local package name. Useful when you want to use package names, but don't want to deal with `com_mycompany_supersoftware_proto_` prefixes on every symbol. Not useful when your packages cross-reference each other, because it only strips the _current_ package name, so references to other packages actually become invalid. M_FLATTEN - Always use only the last part of a dotted name. Useful when you have packages and/or deeply nested structs that don't actually have colliding names. Then you get shorter C symbols for no additional cost. Not useful when the names can collide.
-
matejcik authored
-
- Jul 21, 2018
-
-
Petteri Aimonen authored
-
- May 31, 2018
-
-
Petteri Aimonen authored
-
- Apr 11, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Apr 09, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Cmake relpath fix
-
Petteri Aimonen authored
-
- Apr 07, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Apr 05, 2018
-
-
Jason Bishop authored
-
Jason Bishop authored
- The move to using the protoc plugin rather than the 2-step method has broken the relative path feature due to the differences in path handling. - Use CMAKE_CURRENT_BINARY_PATH instead of FIL_PATH_REL when calling protoc with nanopb plugin to avoid having files placed in an incorrectly nested directory
-
- Feb 28, 2018
-
-
Petteri Aimonen authored
Bytes init value fix
-
- Feb 27, 2018
-
-
Hamina, Juha-Pekka authored
-
- Feb 26, 2018
-
-
Hamina, Juha-Pekka authored
-
- Feb 24, 2018
-
-
Petteri Aimonen authored
Updates descriptor.proto to the latest.
-
- Feb 23, 2018
-
-
Andrew Ballinger authored
Many options have been added to descriptor.proto since the last time it was pulled in and nanopb will not work on .proto files using the new options. Addressed more permanently by https://github.com/nanopb/nanopb/pull/241 but that PR makes a series of larger changes to get there.
-
- Feb 20, 2018
-
-
Petteri Aimonen authored
-
- Feb 16, 2018
-
-
Petteri Aimonen authored
-
- Feb 15, 2018
-
-
Petteri Aimonen authored
Add fixed count option
-
Petteri Aimonen authored
Fix CMake options file dependency
-
Oliver Lee authored
Restore dependency of generated nanopb source and header files on an options file, if it exists in the same directory and has the name filename without extension. Add nanopb CMake variable NANOPB_DEPENDS which is a list of files to be manually set as dependencies for the generated source and header files. If these dependencies are options files, the corresponding directory is passed as an options path.
-
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
-
-
Oliver Lee authored
-
Oliver Lee authored
-