aboutsummaryrefslogtreecommitdiff
path: root/pb_encode.c
AgeCommit message (Expand)Author
2020-06-22Fix buffer overflow when encoding bytes with size set to 65535 (#547)Petteri Aimonen
2020-03-26Regression test + fix for proto3 submessage improperly considered emptyFranck
2019-12-19Fix empty submessages getting encoded in proto3 mode (#395)Petteri Aimonen
2019-10-16Avoid compiler warning in bool cast (#440)Petteri Aimonen
2019-10-11Fix "unused variable" warning when using PB_ENCODE_ARRAYS_UNPACKEDPavol Rusnak
2019-10-02Fix undefined behavior with bool fields (#434)Petteri Aimonen
2019-08-27Don't call stream callback with count=0 (#421)Petteri Aimonen
2019-08-27Introduce new compile time flag: PB_ENCODE_ARRAYS_UNPACKEDPavol Rusnak
2019-01-30Fix encoding of fixed size arrays inside proto3 submessages (#376)Petteri Aimonen
2018-11-02Fix splint test error (#359)Petteri Aimonen
2018-02-14Handle a single non-packed repeated fixed count fieldOliver Lee
2018-02-14Fix decoding of non-packable fixed count repeated fieldsOliver Lee
2018-02-14Allow fixed count repeated valuesOliver Lee
2017-10-06Fixing some warning on the test for clangSébastien Morin
2017-10-06Fixing some warning on the testSébastien Morin
2017-10-05Adding a special case to encode a negative varint.Sébastien Morin
2017-09-16Add pb_en/decode_nullterminated() (part of #278)Petteri Aimonen
2017-09-16Add option to build without 64-bit support (issue #86)Petteri Aimonen
2017-04-14Fix bugs in proto3 mode encoding of submessages (#256)Petteri Aimonen
2017-02-25Fix build failure (const_cast name conflict)Petteri Aimonen
2017-02-25Make pb_check_proto3_default_value() recurse into submessages (issue #247)Petteri Aimonen
2017-02-24Fix infinite loop in pb_check_proto3_default_valueJustin DeMartino
2017-02-22Extend inline / fixed length bytes array support (issue #244)Petteri Aimonen
2016-12-09Enable clang integer sanitizer and clean up a few warnings.Petteri Aimonen
2016-12-09Refactor proto3 logic into pb_check_proto3_default_value()Petteri Aimonen
2016-12-09Fix potential unaligned accessGuillaume Lager
2016-10-10Fix typo in encodingberni155
2016-10-09Prevent fields with default value from encoding when proto3 option is setBernhard Krämer
2016-08-04Add inline allocation of bytes fieldsTom Roeder
2016-01-27Fix a few remaining bugs related to CHAR_BIT!=8 platforms.Petteri Aimonen
2016-01-27Replace uint8_t with a pb_byte_t typedef.Petteri Aimonen
2016-01-26Get rid of type punning in pb_encode_fixedXX().Petteri Aimonen
2015-01-04Implement support for oneofs (C unions).Petteri Aimonen
2015-01-04Add int_size option for generator.Petteri Aimonen
2014-12-26Add support for POINTER type in extensionsPetteri Aimonen
2014-08-18Rename UNUSED() and STATIC_ASSERT() macros with PB_ prefix.Petteri Aimonen
2014-08-18Change the _count fields to use pb_size_t datatype.Petteri Aimonen
2014-08-10Switch pb_encode to use the common iterator logic in pb_common.cPetteri Aimonen
2014-04-05Add a convenience function pb_get_encoded_size()Petteri Aimonen
2014-04-02Add some missing 'static' specifiersPetteri Aimonen
2014-04-02Fix splint warnings, add splint test casePetteri Aimonen
2014-03-15Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically.Petteri Aimonen
2013-12-29Fix missing error messages in pb_encode.cPetteri Aimonen
2013-12-29Rename encode_static_field -> encode_basic_field.Petteri Aimonen
2013-12-29Organize allocation logic in generator, add pb_bytes_ptr_t.Petteri Aimonen
2013-12-29Const-correctness and small cleanup.Petteri Aimonen
2013-12-29Generating and encoding messages with dynamic allocaitonMartin Donath
2013-12-21Add PB_LTYPE_UVARINT to fix encoding of negative int32 values.Petteri Aimonen
2013-10-29Remove the NANOPB_INTERNALS functions from public API.Petteri Aimonen
2013-10-29Declare static functions before use.Petteri Aimonen