- Dec 10, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Dec 09, 2018
-
-
Petteri Aimonen authored
This allows callbacks to be combined with oneofs and pointer fields (#175)
-
Petteri Aimonen authored
This seems like it will result in less boilerplate in typical situations where a specific message is either decoded or encoded. Otherwise it would result in lots of dummy functions like: bool MyQuery_encode_callback(...) { return false; /* MyQuery is never encoded */ }
-
- Dec 06, 2018
-
-
Petteri Aimonen authored
-
- Dec 02, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Dec 01, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Now field information is stored as a variable-length uint32_t array. This reduces the minimum size in most cases: old new basic field: 10 bytes 4 bytes repeated field: 10 bytes 8 bytes field with 12bit tag/size: 16 bytes 8 bytes field with 16bit tag/size: 16 bytes 16 bytes field with 32bit tag/size: 28 bytes 16 bytes Further, now the descriptor size can be increased per-field and per-message, instead of previous global PB_FIELD_16BIT and PB_FIELD_32BIT. PB_FIELD_32BIT still affects the pb_size_t type, which is 16-bit by default.
-
- Nov 12, 2018
-
-
Petteri Aimonen authored
This will enable further development of the field descriptor encoding.
-
- Nov 10, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
This makes nanopb behaviour match protoc --cpp_out=.
-
Petteri Aimonen authored
The timestamp causes unnecessary trouble when storing generated files in version control.
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Nov 04, 2018
-
-
Petteri Aimonen authored
-
- Nov 02, 2018
-
-
Petteri Aimonen authored
-
- Nov 01, 2018
-
-
Petteri Aimonen authored
Clarify the usage of callback fields inside oneof sections in the docs
-
Pei Wang authored
-
- Oct 24, 2018
-
-
Petteri Aimonen authored
cmake: Include CMAKE_INSTALL_LIBDIR in CMAKE_INSTALL_CMAKEDIR
-
Petteri Aimonen authored
cmake: Allow to build a shared library
-
Michal Rostecki authored
If user defines non-standard directory in CMAKE_INSTALL_LIBDIR option (i.e. /usr/lib64), then CMAKE_INSTALL_CMAKEDIR should use it as a prefix.
-
Michal Rostecki authored
Introduce options BUILD_SHARED_LIBS and BUILD_STATIC_LIBS to allow building both types of libraries. By default only BUILD_STATIC_LIBS is enabled.
-
- Oct 20, 2018
-
-
Petteri Aimonen authored
Made some changes for Error Output.
-
Amarnath authored
Sometimes python protobuf version can't be found out by the above listed command. So added one more command to find python protobuf version which utilises pip freeze command.
-
- Oct 18, 2018
-
-
Petteri Aimonen authored
Update README.md w/minor formatting
-
- Oct 17, 2018
-
-
Gabriel Staples authored
Add minor formatting marks to make more readable. Ex: `` for `code` and ** for *italics*.
-
- Oct 11, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-