Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-12-22 | Allow overriding proto3 mode (#228) | Petteri Aimonen | 4 | -5/+23 | |
2016-12-09 | Enable clang integer sanitizer and clean up a few warnings. | Petteri Aimonen | 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) | Petteri Aimonen | 1 | -22/+55 | |
2016-12-09 | Add regression test for issue #227 | Petteri Aimonen | 4 | -1/+39 | |
2016-12-09 | Refactor proto3 logic into pb_check_proto3_default_value() | Petteri Aimonen | 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 | Guillaume Lager | 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) | Petteri Aimonen | 5 | -0/+72 | |
2016-11-22 | Test case for enum_to_string | Petteri Aimonen | 3 | -0/+45 | |
2016-11-22 | Small indentation and naming fixes to enum_to_string functionality | Petteri Aimonen | 1 | -5/+5 | |
2016-11-21 | nanopb: update generator to emit optional enum->string mapping function | William A. Kennington III | 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) | Petteri Aimonen | 2 | -0/+3 | |
2016-10-30 | Change download links to https | Petteri Aimonen | 1 | -3/+3 | |
2016-10-30 | Setting version to 0.3.8-dev | Petteri Aimonen | 3 | -3/+3 | |
2016-10-30 | Publishing nanopb-0.3.7 | Petteri Aimonen | 4 | -4/+4 | |
2016-10-24 | Note about protoc update | Petteri Aimonen | 1 | -0/+1 | |
2016-10-24 | Build fix for previous commit | Petteri Aimonen | 1 | -1/+1 | |
2016-10-24 | Build fix for previous commit | Petteri Aimonen | 1 | -1/+1 | |
2016-10-24 | Strip debug symbols from linux library files | Petteri Aimonen | 1 | -0/+3 | |
2016-10-23 | Only run alltypes_proto3 test case if protoc version is new enough | Petteri Aimonen | 1 | -30/+40 | |
2016-10-23 | Update changelog and authors list | Petteri Aimonen | 2 | -0/+15 | |
2016-10-23 | Add test cases for proto3 has_ field support. | Petteri Aimonen | 7 | -0/+408 | |
2016-10-23 | Set the proto3 option by default if file specifies proto3 syntax | Petteri Aimonen | 1 | -0/+3 | |
2016-10-23 | Fix missing warning with large bytes fields (issue #220) | Petteri Aimonen | 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 | Petteri Aimonen | 1 | -1/+4 | |
Fix typo in encoding | |||||
2016-10-10 | Fix typo in encoding | berni155 | 1 | -1/+4 | |
2016-10-10 | Merge pull request #208 from podsvirov/topic-cmake-project | Petteri Aimonen | 4 | -0/+72 | |
Added CMake project | |||||
2016-10-10 | Merge pull request #216 from berni155/proto3_singular_fields_support | Petteri Aimonen | 5 | -6/+42 | |
Proto3 singular fields support | |||||
2016-10-09 | Prevent fields with default value from encoding when proto3 option is set | Bernhard Krämer | 1 | -0/+17 | |
2016-10-09 | Add proto3 option to handle singular fields | Bernhard Krämer | 4 | -6/+25 | |
2016-09-02 | Fix typo in docs (thanks to @alecdavis) | Petteri Aimonen | 1 | -1/+1 | |
2016-08-10 | Merge pull request #213 from PiotrSikora/export_license | Petteri Aimonen | 1 | -0/+3 | |
Bazel: export LICENSE.txt file. | |||||
2016-08-10 | Bazel: export LICENSE.txt file. | Piotr Sikora | 1 | -0/+3 | |
Signed-off-by: Piotr Sikora <piotrsikora@google.com> | |||||
2016-08-06 | Fix formatting error in docs | Petteri Aimonen | 1 | -1/+1 | |
2016-08-05 | Merge pull request #211 from tmroeder/feat-inline-bytes | Petteri Aimonen | 13 | -38/+239 | |
Add inline allocation of bytes fields | |||||
2016-08-04 | Add inline allocation of bytes fields | Tom Roeder | 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 | Petteri Aimonen | 1 | -0/+18 | |
Add bazel BUILD file for nanopb. | |||||
2016-08-01 | Add bazel BUILD file for nanopb. | Ming Zhao | 1 | -0/+18 | |
2016-07-26 | Added CMake project | Konstantin Podsvirov | 4 | -0/+72 | |
2016-07-23 | Include package name in include guard (issue #207). | Petteri Aimonen | 4 | -2/+41 | |
Fix suggested by Ulenspiegel. Also added testcase for the same. | |||||
2016-06-19 | Setting version to 0.3.7-dev | Petteri Aimonen | 2 | -2/+2 | |
2016-06-19 | Publishing nanopb-0.3.6 | Petteri Aimonen | 3 | -3/+3 | |
2016-06-14 | Update changelog | Petteri Aimonen | 1 | -0/+9 | |
2016-06-06 | Clarify security model with regard to pointer _count fields. | Petteri Aimonen | 1 | -2/+5 | |
2016-06-06 | Protect against corrupted _count fields in pb_release(). | Petteri Aimonen | 1 | -0/+6 | |
Fixes a potential security issue (#205). Only relevant if the user code writes untrusted data to _count fields, but this is allowed as per the security model. | |||||
2016-06-06 | Add testcase for issue #205 | Petteri Aimonen | 4 | -0/+38 | |
2016-06-06 | Add static repeated submessage field to mem_release test case. | Petteri Aimonen | 2 | -0/+3 | |
Attempt at reproducing issue #204. | |||||
2016-05-25 | Small updates to docs | Petteri Aimonen | 1 | -4/+5 | |
2016-05-25 | Fix error in STATIC_ASSERT with multiple files (issue #203) | Petteri Aimonen | 1 | -1/+1 | |
The FieldMaxSize class was reusing the same list instance, causing problems when multiple files were specified on the protoc command line. | |||||
2016-05-25 | Add testcase for issue #203 | Petteri Aimonen | 4 | -1/+30 | |
2016-05-05 | Merge pull request #201 from yanivmo/patch-1 | Petteri Aimonen | 1 | -0/+55 | |
Added explanation of `oneof` section usage |