Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-01-18 | Merge pull request #236 from wak-google/fix-lib | 1 | -3/+3 | ||
cmake: Fix library name | |||||
2017-01-17 | cmake: Fix library name | 1 | -3/+3 | ||
The produced static library should be `libprotobuf-nanopb.a` instead of the current `liblibprotobuf-nanopb.a`. Signed-off-by: William A. Kennington III <wak@google.com> | |||||
2017-01-12 | Merge pull request #230 from Tobba/nonempty-substring | 3 | -9/+35 | ||
Fix closing a non-empty substream resulting in an incorrect stream state | |||||
2017-01-12 | Fix closing a non-empty substream resulting in an incorrect stream state | 3 | -9/+35 | ||
2016-12-31 | Merge branch 'master' of github.com:nanopb/nanopb | 2 | -2/+5 | ||
2016-12-31 | Fix multiple oneofs in same message (issue #229) | 3 | -8/+20 | ||
Previously the field iterator logic didn't know whether two oneof fields were part of the same union, or separate. This caused wrong pointers to be calculated if multiple oneofs were inside a single message. This commit fixes this by using dataoffset of PB_SIZE_MAX to indicate union fields after the first field. Theoretically PB_SIZE_MAX is also a valid value for data offset, which could cause errors. Adding a compile-time assert for this is somewhat difficult. However I consider it extremely unlikely that there is any platform that could trigger this situation, as it would require 255 bytes of extra data/padding between two protobuf oneof fields. On 64-bit architectures the worst case is 16 bytes, and even esoteric platforms only align to 64 bytes or so. Manual modification of the generated .pb.h file could trigger this, but even then it would require pretty bad luck to happen. | |||||
2016-12-31 | Add testcase for issue #229 | 3 | -0/+59 | ||
2016-12-23 | Update readme | 1 | -1/+1 | ||
2016-12-23 | Merge pull request #231 from Tobba/expose-varint32 | 2 | -2/+5 | ||
Make pb_decode_varint32 public API | |||||
2016-12-23 | Make pb_decode_varint32 public API | 2 | -2/+5 | ||
2016-12-22 | Allow overriding proto3 mode (#228) | 4 | -5/+23 | ||
2016-12-09 | Enable clang integer sanitizer and clean up a few warnings. | 3 | -5/+7 | ||
Changed to use simple indexing instead of while (count--) in buf_read()/buf_write(), because the count overflowed from 0 to max on the last iteration. While the unsigned integer overflow is defined and behaviour was correct, making this simple change allowed enabling the sanitizer which might catch true errors elsewhere in the code. | |||||
2016-12-09 | Merge branch 'kurddt-fix_unalign' (issues #226, #227) | 1 | -22/+55 | ||
2016-12-09 | Add regression test for issue #227 | 4 | -1/+39 | ||
2016-12-09 | Refactor proto3 logic into pb_check_proto3_default_value() | 1 | -26/+55 | ||
Mainly to clean up the code. Also fixed handling of PB_LTYPE_FIXED_LENGTH_BYTES for proto3 files. | |||||
2016-12-09 | Fix potential unaligned access | 1 | -5/+9 | ||
If the type is string, do not try to deference it as int16, int32 or int64. This may lead to unalign memory access, which may cause trap on some architectures (ARM) | |||||
2016-11-22 | Merge branch 'wak-google-upstream1' (#223) | 5 | -0/+72 | ||
2016-11-22 | Test case for enum_to_string | 3 | -0/+45 | ||
2016-11-22 | Small indentation and naming fixes to enum_to_string functionality | 1 | -5/+5 | ||
2016-11-21 | nanopb: update generator to emit optional enum->string mapping function | 2 | -0/+27 | ||
Google-Bug-Id: 28000875 Signed-off-by: William A. Kennington III <wak@google.com> Change-Id: I1bffd39168abe04593588291b0ebbe5199a00138 | |||||
2016-11-19 | Include version number in PlatformIO library.json (issue 222) | 2 | -0/+3 | ||
2016-10-30 | Change download links to https | 1 | -3/+3 | ||
2016-10-30 | Setting version to 0.3.8-dev | 3 | -3/+3 | ||
2016-10-30 | Publishing nanopb-0.3.7 | 4 | -4/+4 | ||
2016-10-24 | Note about protoc update | 1 | -0/+1 | ||
2016-10-24 | Build fix for previous commit | 1 | -1/+1 | ||
2016-10-24 | Build fix for previous commit | 1 | -1/+1 | ||
2016-10-24 | Strip debug symbols from linux library files | 1 | -0/+3 | ||
2016-10-23 | Only run alltypes_proto3 test case if protoc version is new enough | 1 | -30/+40 | ||
2016-10-23 | Update changelog and authors list | 2 | -0/+15 | ||
2016-10-23 | Add test cases for proto3 has_ field support. | 7 | -0/+408 | ||
2016-10-23 | Set the proto3 option by default if file specifies proto3 syntax | 1 | -0/+3 | ||
2016-10-23 | Fix missing warning with large bytes fields (issue #220) | 1 | -2/+5 | ||
Need to generate compile time check if the bytes field + size field might exceed 255 bytes. Also eliminated spurious checks generated for some callback fields. | |||||
2016-10-11 | Merge pull request #218 from berni155/master | 1 | -1/+4 | ||
Fix typo in encoding | |||||
2016-10-10 | Fix typo in encoding | 1 | -1/+4 | ||
2016-10-10 | Merge pull request #208 from podsvirov/topic-cmake-project | 4 | -0/+72 | ||
Added CMake project | |||||
2016-10-10 | Merge pull request #216 from berni155/proto3_singular_fields_support | 5 | -6/+42 | ||
Proto3 singular fields support | |||||
2016-10-09 | Prevent fields with default value from encoding when proto3 option is set | 1 | -0/+17 | ||
2016-10-09 | Add proto3 option to handle singular fields | 4 | -6/+25 | ||
2016-09-02 | Fix typo in docs (thanks to @alecdavis) | 1 | -1/+1 | ||
2016-08-10 | Merge pull request #213 from PiotrSikora/export_license | 1 | -0/+3 | ||
Bazel: export LICENSE.txt file. | |||||
2016-08-10 | Bazel: export LICENSE.txt file. | 1 | -0/+3 | ||
Signed-off-by: Piotr Sikora <piotrsikora@google.com> | |||||
2016-08-06 | Fix formatting error in docs | 1 | -1/+1 | ||
2016-08-05 | Merge pull request #211 from tmroeder/feat-inline-bytes | 13 | -38/+239 | ||
Add inline allocation of bytes fields | |||||
2016-08-04 | Add inline allocation of bytes fields | 13 | -38/+239 | ||
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-08-03 | Merge pull request #209 from LuminateWireless/bazel-build | 1 | -0/+18 | ||
Add bazel BUILD file for nanopb. | |||||
2016-08-01 | Add bazel BUILD file for nanopb. | 1 | -0/+18 | ||
2016-07-26 | Added CMake project | 4 | -0/+72 | ||
2016-07-23 | Include package name in include guard (issue #207). | 4 | -2/+41 | ||
Fix suggested by Ulenspiegel. Also added testcase for the same. | |||||
2016-06-19 | Setting version to 0.3.7-dev | 2 | -2/+2 | ||