summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-12-09Merge branch 'kurddt-fix_unalign' (issues #226, #227)Petteri Aimonen1-22/+55
2016-12-09Add regression test for issue #227Petteri Aimonen4-1/+39
2016-12-09Refactor proto3 logic into pb_check_proto3_default_value()Petteri Aimonen1-26/+55
Mainly to clean up the code. Also fixed handling of PB_LTYPE_FIXED_LENGTH_BYTES for proto3 files.
2016-12-09Fix potential unaligned accessGuillaume Lager1-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-22Merge branch 'wak-google-upstream1' (#223)Petteri Aimonen5-0/+72
2016-11-22Test case for enum_to_stringPetteri Aimonen3-0/+45
2016-11-22Small indentation and naming fixes to enum_to_string functionalityPetteri Aimonen1-5/+5
2016-11-21nanopb: update generator to emit optional enum->string mapping functionWilliam A. Kennington III2-0/+27
Google-Bug-Id: 28000875 Signed-off-by: William A. Kennington III <wak@google.com> Change-Id: I1bffd39168abe04593588291b0ebbe5199a00138
2016-11-19Include version number in PlatformIO library.json (issue 222)Petteri Aimonen2-0/+3
2016-10-30Change download links to httpsPetteri Aimonen1-3/+3
2016-10-30Setting version to 0.3.8-devPetteri Aimonen3-3/+3
2016-10-30Publishing nanopb-0.3.7Petteri Aimonen4-4/+4
2016-10-24Note about protoc updatePetteri Aimonen1-0/+1
2016-10-24Build fix for previous commitPetteri Aimonen1-1/+1
2016-10-24Build fix for previous commitPetteri Aimonen1-1/+1
2016-10-24Strip debug symbols from linux library filesPetteri Aimonen1-0/+3
2016-10-23Only run alltypes_proto3 test case if protoc version is new enoughPetteri Aimonen1-30/+40
2016-10-23Update changelog and authors listPetteri Aimonen2-0/+15
2016-10-23Add test cases for proto3 has_ field support.Petteri Aimonen7-0/+408
2016-10-23Set the proto3 option by default if file specifies proto3 syntaxPetteri Aimonen1-0/+3
2016-10-23Fix missing warning with large bytes fields (issue #220)Petteri Aimonen1-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-11Merge pull request #218 from berni155/masterPetteri Aimonen1-1/+4
Fix typo in encoding
2016-10-10Fix typo in encodingberni1551-1/+4
2016-10-10Merge pull request #208 from podsvirov/topic-cmake-projectPetteri Aimonen4-0/+72
Added CMake project
2016-10-10Merge pull request #216 from berni155/proto3_singular_fields_supportPetteri Aimonen5-6/+42
Proto3 singular fields support
2016-10-09Prevent fields with default value from encoding when proto3 option is setBernhard Krämer1-0/+17
2016-10-09Add proto3 option to handle singular fieldsBernhard Krämer4-6/+25
2016-09-02Fix typo in docs (thanks to @alecdavis)Petteri Aimonen1-1/+1
2016-08-10Merge pull request #213 from PiotrSikora/export_licensePetteri Aimonen1-0/+3
Bazel: export LICENSE.txt file.
2016-08-10Bazel: export LICENSE.txt file.Piotr Sikora1-0/+3
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2016-08-06Fix formatting error in docsPetteri Aimonen1-1/+1
2016-08-05Merge pull request #211 from tmroeder/feat-inline-bytesPetteri Aimonen13-38/+239
Add inline allocation of bytes fields
2016-08-04Add inline allocation of bytes fieldsTom Roeder13-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-03Merge pull request #209 from LuminateWireless/bazel-buildPetteri Aimonen1-0/+18
Add bazel BUILD file for nanopb.
2016-08-01Add bazel BUILD file for nanopb.Ming Zhao1-0/+18
2016-07-26Added CMake projectKonstantin Podsvirov4-0/+72
2016-07-23Include package name in include guard (issue #207).Petteri Aimonen4-2/+41
Fix suggested by Ulenspiegel. Also added testcase for the same.
2016-06-19Setting version to 0.3.7-devPetteri Aimonen2-2/+2
2016-06-19Publishing nanopb-0.3.6Petteri Aimonen3-3/+3
2016-06-14Update changelogPetteri Aimonen1-0/+9
2016-06-06Clarify security model with regard to pointer _count fields.Petteri Aimonen1-2/+5
2016-06-06Protect against corrupted _count fields in pb_release().Petteri Aimonen1-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-06Add testcase for issue #205Petteri Aimonen4-0/+38
2016-06-06Add static repeated submessage field to mem_release test case.Petteri Aimonen2-0/+3
Attempt at reproducing issue #204.
2016-05-25Small updates to docsPetteri Aimonen1-4/+5
2016-05-25Fix error in STATIC_ASSERT with multiple files (issue #203)Petteri Aimonen1-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-25Add testcase for issue #203Petteri Aimonen4-1/+30
2016-05-05Merge pull request #201 from yanivmo/patch-1Petteri Aimonen1-0/+55
Added explanation of `oneof` section usage
2016-05-05Added explanation of `oneof` section usageYaniv Mordekhay1-0/+55
2016-03-10Fix formatting in docsPetteri Aimonen1-1/+1