Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-07-22 | Finish the testcase for extensions | 4 | -6/+29 | ||
2013-07-22 | Fix bugs in extension support when multiple extension fields are present. | 3 | -4/+23 | ||
2013-07-17 | Extension support implemented for decoder. | 3 | -7/+109 | ||
Testing is still needed. Also only 'optional' extension fields are supported now, 'repeated' fields are not yet supported. | |||||
2013-07-17 | Add test case for extensions decoding | 3 | -2/+39 | ||
2013-07-17 | Implement extension support for the encoder | 2 | -22/+74 | ||
2013-07-17 | Implement generator support for extension fields (no encoder/decoder support ↵ | 6 | -16/+183 | ||
yet) | |||||
2013-07-16 | Fix formatting in documentation | 1 | -23/+41 | ||
2013-07-16 | Check for empty message type before incrementing required_field_index. | 1 | -3/+3 | ||
If you have a message that defined as empty, but attempt to decode a message that has one or more unknown fields then pb_decode fails. The method used to count the number of required fields counts 1 required field because the default type of PB_LAST_FIELD is PB_HTYPE_REQUIRED. | |||||
2013-07-16 | Add test case for extra fields in AllTypes | 2 | -0/+1 | ||
2013-07-06 | Add pb_decode_delimited and pb_encode_delimited wrapper functions. | 6 | -0/+48 | ||
Update issue 74 Status: FixedInGit | |||||
2013-07-06 | Clean up the comments in pb_encode.h and pb_decode.h | 2 | -86/+150 | ||
2013-07-06 | Add section in pb.h for changing compilation settings. | 2 | -19/+64 | ||
Update issue 76 Status: FixedInGit | |||||
2013-07-06 | Add error message macros to API reference. | 1 | -0/+25 | ||
2013-07-06 | Document the .options file usage. | 3 | -48/+193 | ||
Also add note about the 'packed' message option being incompatible with CPUs that do not support unaligned access. Update issue 12 Status: FixedInGit Update issue 77 Status: FixedInGit | |||||
2013-07-06 | Switch the example project to use the new .options file | 2 | -11/+16 | ||
2013-06-03 | Include the field tags in the generated .pb.h file. | 1 | -0/+11 | ||
Patch from Michael Haberler. | |||||
2013-04-14 | Setting version to 0.2.2-dev | 2 | -2/+2 | ||
2013-04-14 | Publishing nanopb-0.2.1 | 2 | -2/+2 | ||
2013-04-14 | Update changelog | 1 | -0/+17 | ||
2013-04-14 | Handle unterminated strings when encoding. | 3 | -5/+19 | ||
If the null terminator is not present, string will be limited to the data size of the field. If you are still using the pb_enc_string (deprecated since 0.1.3) from callbacks, now would be an excellent time to stop. The pb_field_t for the callback will not contain proper data_size. Use pb_encode_string() instead. Update issue 68 Status: FixedInGit | |||||
2013-04-14 | Fix bug with empty strings in repeated string callbacks. | 4 | -2/+23 | ||
Fix suggested by Henrik Carlgren. Added also unit test for the bug. Update issue 73 Status: FixedInGit | |||||
2013-04-08 | Avoid maybe-uninitialized warning | 1 | -4/+6 | ||
Patch from dch. | |||||
2013-04-08 | No need to include stdbool.h separately | 2 | -2/+0 | ||
2013-04-08 | __pragma keyword is only supported by recent Microsoft compilers | 1 | -1/+1 | ||
2013-04-02 | Do not generate has_ fields for callback fields. | 1 | -1/+1 | ||
The arg field can be used to store the field presence from inside the callback. Furthermore, having the has_ field for encoding callbacks would be more annoying than useful. Update issue 70 Status: FixedInGit | |||||
2013-04-02 | Change the callback function to use void**. | 11 | -30/+58 | ||
NOTE: This change breaks backwards-compatibility by default. If you have old callback functions, you can define PB_OLD_CALLBACK_STYLE to retain the old behaviour. If you want to convert your old callbacks to new signature, you need to do the following: 1) Change decode callback argument to void **arg and encode callback argument to void * const *arg. 2) Change any reference to arg into *arg. The rationale for making the new behaviour the default is that it simplifies the common case of "allocate some memory in decode callback". Update issue 69 Status: FixedInGit | |||||
2013-03-13 | Fix warning on clang. | 1 | -1/+1 | ||
Update issue 67 Status: FixedInGit | |||||
2013-03-13 | Add support for packed structures on IAR and MSVC. | 2 | -4/+29 | ||
Update issue 66 Status: FixedInGit | |||||
2013-03-09 | Make the generator options accept a file name in addition to format string. | 1 | -2/+10 | ||
2013-03-09 | Add PB_SYSTEM_HEADER compile time option. | 3 | -2/+5 | ||
This allows replacing the C99 standard include file names with a single system-specific file. It should provide all the necessary system functions (typedefs, memset, memcpy, strlen). Update issue 62 Status: FixedInGit | |||||
2013-03-09 | Rename pb_field_iterator_t field 'current' to 'pos'. | 1 | -38/+38 | ||
This avoids a name clash when compiling as Linux kernel module. Update issue 60 Status: FixedInGit | |||||
2013-03-09 | Implement error message support for the encoder side. | 5 | -15/+41 | ||
Update issue 7 Status: FixedInGit | |||||
2013-03-09 | alltypes.proto no longer needs to include nanopb.proto | 1 | -2/+0 | ||
2013-03-09 | Switch alltypes.proto to use the new .options file mechanism. | 2 | -23/+26 | ||
2013-03-09 | Add simple support for separate options file. | 2 | -33/+87 | ||
Update issue 12 Still needs documentation. | |||||
2013-03-09 | Fix additional bug with empty message types. | 1 | -0/+3 | ||
pb_field_next() would access past the fields array. | |||||
2013-03-09 | Add option to run the tests with mudflap to detect pointer errors. | 1 | -0/+8 | ||
2013-03-09 | Improve the fuzztest. | 1 | -4/+4 | ||
Enable -fstack-protector-all to detect any stack smashing bugs. Also use test_decode3 for maximal vulnerable surface. | |||||
2013-03-09 | Fix error in backwards compatibility testcase | 1 | -1/+1 | ||
2013-03-09 | Fix bug with decoding empty message types. Add test for the same. | 4 | -1/+13 | ||
Note: the bug only applies to empty message types. Empty messages of non-empty message types are not affected. Update issue 65 Status: FixedInGit | |||||
2013-03-06 | Add a dummy field if struct would otherwise be empty. | 1 | -0/+6 | ||
Update issue 64 Status: FixedInGit | |||||
2013-03-04 | Add generator option to configure #include directives. | 1 | -5/+14 | ||
This suits complex projects, where there are multiple interdependent .proto files in various directories. Patch by Michael Haberler. | |||||
2013-03-02 | Setting version to 0.2.1-dev | 2 | -2/+2 | ||
2013-03-02 | Publishing nanopb-0.2.0 | 2 | -2/+2 | ||
2013-03-02 | Update changelog | 1 | -0/+13 | ||
2013-03-02 | Update documentation | 3 | -35/+35 | ||
2013-02-28 | Add --extension option to generator. | 1 | -5/+7 | ||
Patch courtesy of Michael Haberler. | |||||
2013-02-22 | Added CMake file for use in projects linking against nanopb. | 1 | -0/+224 | ||
2013-02-21 | Merge branch 'dev-0.2' | 7 | -570/+507 | ||
2013-02-21 | Move STATIC_ASSERTs to .pb.c file. | 1 | -22/+24 | ||
This way the .pb.h will remain cleaner and easier to read. |