summaryrefslogtreecommitdiffstats
path: root/pb_encode.c
AgeCommit message (Expand)AuthorFilesLines
2016-01-26Get rid of type punning in pb_encode_fixedXX().Petteri Aimonen1-26/+18
2015-01-04Implement support for oneofs (C unions).Petteri Aimonen1-0/+11
2015-01-04Add int_size option for generator.Petteri Aimonen1-1/+5
2014-12-26Add support for POINTER type in extensionsPetteri Aimonen1-1/+12
2014-08-18Rename UNUSED() and STATIC_ASSERT() macros with PB_ prefix.Petteri Aimonen1-3/+3
2014-08-18Change the _count fields to use pb_size_t datatype.Petteri Aimonen1-2/+2
2014-08-10Switch pb_encode to use the common iterator logic in pb_common.cPetteri Aimonen1-24/+21
2014-04-05Add a convenience function pb_get_encoded_size()Petteri Aimonen1-0/+11
2014-04-02Add some missing 'static' specifiersPetteri Aimonen1-9/+8
2014-04-02Fix splint warnings, add splint test casePetteri Aimonen1-3/+3
2014-03-15Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically.Petteri Aimonen1-16/+26
2013-12-29Fix missing error messages in pb_encode.cPetteri Aimonen1-1/+6
2013-12-29Rename encode_static_field -> encode_basic_field.Petteri Aimonen1-4/+4
2013-12-29Organize allocation logic in generator, add pb_bytes_ptr_t.Petteri Aimonen1-3/+3
2013-12-29Const-correctness and small cleanup.Petteri Aimonen1-21/+25
2013-12-29Generating and encoding messages with dynamic allocaitonMartin Donath1-14/+53
2013-12-21Add PB_LTYPE_UVARINT to fix encoding of negative int32 values.Petteri Aimonen1-2/+21
2013-10-29Remove the NANOPB_INTERNALS functions from public API.Petteri Aimonen1-1/+7
2013-10-29Declare static functions before use.Petteri Aimonen1-1/+12
2013-10-29Cleanup of comments.Petteri Aimonen1-8/+19
2013-10-29Rename some internal functions to have unique namesPetteri Aimonen1-2/+2
2013-10-24Detect invalid sizes when encoding bytes fields.Petteri Aimonen1-1/+4
2013-10-20Check array max size when encoding.Petteri Aimonen1-0/+3
2013-07-22Fix bugs in extension support when multiple extension fields are present.Petteri Aimonen1-1/+6
2013-07-17Extension support implemented for decoder.Petteri Aimonen1-1/+2
2013-07-17Implement extension support for the encoderPetteri Aimonen1-21/+73
2013-07-06Add pb_decode_delimited and pb_encode_delimited wrapper functions.Petteri Aimonen1-0/+5
2013-04-14Handle unterminated strings when encoding.Petteri Aimonen1-2/+10
2013-04-02Change the callback function to use void**.Petteri Aimonen1-1/+8
2013-03-09Add PB_SYSTEM_HEADER compile time option.Petteri Aimonen1-1/+0
2013-03-09Implement error message support for the encoder side.Petteri Aimonen1-14/+23
2013-02-20Separate PB_HTYPE to PB_ATYPE and PB_HTYPE.Petteri Aimonen1-33/+64
2013-02-20Rename PB_HTYPE_ARRAY -> PB_HTYPE_REPEATED.Petteri Aimonen1-2/+2
2013-02-06Add compile-time option PB_BUFFER_ONLY.Petteri Aimonen1-1/+10
2013-02-05Performance improvement: replace memcpy with loop.Petteri Aimonen1-1/+4
2012-09-03Enable -Wconversion for core and fix the warnings.Petteri Aimonen1-5/+5
2012-09-02Clean up one (uint64_t) cast.Petteri Aimonen1-2/+2
2012-08-26Fix warnings with -Wcast-qual. Add test for C++ compile.Petteri Aimonen1-14/+14
2012-08-09Declare warn_unused_result only on GCC >= 3.4.0.Petteri Aimonen1-5/+5
2012-07-18Fixed a few compiler warnings, added check.Petteri Aimonen1-2/+2
2012-07-05Apparently some compilers don't want to automatically cast size_t to uint64_t.Petteri Aimonen1-4/+4
2012-07-05Fix some typos in __BIG_ENDIAN__ codePetteri Aimonen1-2/+2
2012-06-13Fix non-constant initializer errors with some compilers.Petteri Aimonen1-3/+14
2012-04-18Fixing compiler warnings, mostly related to unused parameters.Petteri Aimonen1-2/+6
2012-03-01Refactoring the field encoder interface.Petteri Aimonen1-77/+93
2011-12-30Fixed a bug related to submessage encoding into memory buffer.Petteri Aimonen1-0/+1
2011-11-10Fix some compiler warnings in strict C89 modePetteri Aimonen1-3/+2
2011-09-13Fixed a bunch of bugs related to callback fields.Petteri Aimonen1-14/+30
2011-08-23More unittestsPetteri Aimonen1-1/+1
2011-08-23Changed autogenerated file naming from foo.c to foo.pb.cPetteri Aimonen1-0/+7