Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-05 | Forgot to fill in the dates | Petteri Aimonen | 1 | -1/+1 | |
2017-02-22 | Extend inline / fixed length bytes array support (issue #244) | Petteri Aimonen | 2 | -6/+6 | |
Adds support for proto3 and POINTER field types to have fixed length bytes arrays. Also changed the .proto option to a separate fixed_length:true, while also supporting the old FT_INLINE option. Restructured the generator and decoder logic to threat the inline bytes fields more like "just another field type". | |||||
2017-01-12 | Fix closing a non-empty substream resulting in an incorrect stream state | Tobba | 1 | -0/+13 | |
2016-09-02 | Fix typo in docs (thanks to @alecdavis) | Petteri Aimonen | 1 | -1/+1 | |
2016-08-06 | Fix formatting error in docs | Petteri Aimonen | 1 | -1/+1 | |
2016-08-04 | Add inline allocation of bytes fields | Tom Roeder | 3 | -25/+32 | |
This commit adds a new FT_INLINE allocation type that forces bytes fields to be inlined into the struct. E.g., pb_byte_t my_bytes[32]. This requires max_size for the bytes field. The FT_INLINE type is represented as a new LTYPE: FT_LTYPE_FIXED_LENGTH_BYTES. This commit also updates the documentation with FT_INLINE and FT_LTYPE_FIXED_LENGTH_BYTES. Added an AUTHORS file in apparent order of appearance in the git log history from $(git log --all). | |||||
2016-06-06 | Clarify security model with regard to pointer _count fields. | Petteri Aimonen | 1 | -2/+5 | |
2016-05-25 | Small updates to docs | Petteri Aimonen | 1 | -4/+5 | |
2016-05-05 | Added explanation of `oneof` section usage | Yaniv Mordekhay | 1 | -0/+55 | |
2016-03-10 | Fix formatting in docs | Petteri Aimonen | 1 | -1/+1 | |
2016-03-07 | Some more docs updates | Petteri Aimonen | 1 | -1/+11 | |
2016-03-07 | Update API reference to match headers | Maxim Khitrov | 1 | -38/+32 | |
Update typedefs and function prototypes in the API reference to match header files. Delete documentation for pb_skip_varint/pb_skip_string, which are superseded by pb_skip_field, and add pb_get_encoded_size. | |||||
2016-02-13 | Publishing nanopb-0.3.5 | Petteri Aimonen | 1 | -1/+1 | |
2016-02-07 | Update pb_release docs | Petteri Aimonen | 1 | -2/+2 | |
2016-01-27 | Remove obsolete __BIG_ENDIAN__ compilation option. | Petteri Aimonen | 1 | -4/+0 | |
This is now handled automatically using shift operations. | |||||
2016-01-27 | Add note to migration doc | Petteri Aimonen | 1 | -0/+18 | |
2015-04-03 | Add basic docs for msgid functionality | Petteri Aimonen | 2 | -0/+23 | |
2015-01-24 | Publishing nanopb-0.3.2 | Petteri Aimonen | 1 | -1/+1 | |
2015-01-11 | New generator options for oneofs: allow skipping or generating as normal ↵ | Petteri Aimonen | 1 | -0/+19 | |
'optional' fields. The behaviour with no_unions:true is the same as of nanopb 0.3.1 and earlier. | |||||
2015-01-04 | Add int_size option for generator. | Petteri Aimonen | 1 | -0/+3 | |
This allows overriding the integer field types to e.g. uint8_t for saving RAM. Update issue 139 Status: FixedInGit | |||||
2014-12-22 | Add compilation option to disable struct packing. | Petteri Aimonen | 1 | -0/+3 | |
Update issue 136 Status: FixedInGit | |||||
2014-09-07 | Update security model with regards to pointer fields | Petteri Aimonen | 1 | -5/+7 | |
2014-08-26 | Add missing * in migration docs | Petteri Aimonen | 1 | -2/+2 | |
2014-08-26 | Update changelog | Petteri Aimonen | 1 | -1/+1 | |
2014-08-18 | Rename poorly named identifier to avoid name conflicts. | Petteri Aimonen | 1 | -1/+39 | |
Update issue 106 Status: FixedInGit | |||||
2014-08-18 | Change the _count fields to use pb_size_t datatype. | Petteri Aimonen | 1 | -0/+15 | |
Update issue 82 Status: FixedInGit | |||||
2014-08-10 | Add document detailing migration from old versions | Petteri Aimonen | 3 | -1/+189 | |
2014-04-26 | Docs update, remove malloc from limitations list | Petteri Aimonen | 1 | -1/+0 | |
2014-04-02 | Add some missing 'static' specifiers | Petteri Aimonen | 1 | -4/+0 | |
Update issue 91 Status: FixedInGit | |||||
2014-03-16 | Documentation updates | Petteri Aimonen | 1 | -2/+49 | |
2013-12-29 | Fix path change: compat/ -> extra/ | Petteri Aimonen | 1 | -3/+4 | |
2013-10-29 | Remove the NANOPB_INTERNALS functions from public API. | Petteri Aimonen | 1 | -1/+3 | |
These have been deprecated since nanopb-0.1.6 (some since 0.1.3). Equivalent functions with better interface are available in the API. Update issue 91 Status: FixedInGit | |||||
2013-10-29 | Add a definition of the security model to the documentation. | Petteri Aimonen | 3 | -2/+82 | |
2013-09-13 | Add a new very simple example | Petteri Aimonen | 1 | -7/+22 | |
2013-08-08 | Document field extensions support | Petteri Aimonen | 3 | -1/+80 | |
Update issue 17 Status: FixedInGit | |||||
2013-08-08 | Document PB_SYSTEM_HEADER | Petteri Aimonen | 2 | -1/+8 | |
2013-07-16 | Fix formatting in documentation | Petteri Aimonen | 1 | -23/+41 | |
2013-07-06 | Add section in pb.h for changing compilation settings. | Petteri Aimonen | 1 | -3/+7 | |
Update issue 76 Status: FixedInGit | |||||
2013-07-06 | Add error message macros to API reference. | Petteri Aimonen | 1 | -0/+25 | |
2013-07-06 | Document the .options file usage. | Petteri Aimonen | 2 | -48/+191 | |
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-04-02 | Change the callback function to use void**. | Petteri Aimonen | 2 | -8/+14 | |
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-02 | Update documentation | Petteri Aimonen | 3 | -35/+35 | |
2013-02-06 | Add compile-time option PB_BUFFER_ONLY. | Petteri Aimonen | 1 | -0/+2 | |
This allows slight optimizations if only memory buffer support (as opposed to stream callbacks) is wanted. On ARM difference is -12% execution time, -4% code size when enabled. | |||||
2012-12-06 | Fix small error in field callback documentation. | Petteri Aimonen | 1 | -1/+1 | |
Update issue 44 Status: FixedInGit | |||||
2012-10-29 | Document new generator options | Petteri Aimonen | 1 | -0/+14 | |
2012-10-18 | Remove the "buf = NULL" => skip requirement from pb_istream_t callbacks. | Petteri Aimonen | 1 | -2/+1 | |
Rationale: it's easy to implement the callback wrong. Doing so introduces io errors when unknown fields are present in the input. If code is not tested with unknown fields, these bugs can remain hidden for long time. Added a special case for the memory buffer stream, where it gives a small speed benefit. Added testcase for skipping fields with test_decode2 implementation. Update issue 37 Status: FixedInGit | |||||
2012-08-26 | Add pb_decode_noinit and use it from pb_dec_submessage. | Petteri Aimonen | 1 | -0/+10 | |
This avoids double initialization when decoding nested submessages. Fixes an issue with submessage arrays that was present in previous version of this patch. Update issue 28 Status: FixedInGit | |||||
2012-08-26 | Revert "Add pb_decode_noinit and use it from pb_dec_submessage." | Petteri Aimonen | 1 | -10/+0 | |
The patch breaks default values inside submessage arrays (I think). Have to add test cases and check back. This reverts commit f1d7640fe1be0f150f604c72108ea516222c2505. | |||||
2012-08-26 | Add pb_decode_noinit and use it from pb_dec_submessage. | Petteri Aimonen | 1 | -0/+10 | |
This avoids double initialization when decoding nested submessages. Update issue 28 Status: FixedInGit | |||||
2012-08-24 | Add note that stream callbacks must read the whole requested length. | Petteri Aimonen | 1 | -0/+1 | |
Fixes issue #22. |