aboutsummaryrefslogtreecommitdiffstats
path: root/pb_decode.c
AgeCommit message (Expand)AuthorFilesLines
2014-03-16Documentation updatesPetteri Aimonen1-1/+9
2014-03-15Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically.Petteri Aimonen1-41/+17
2014-03-12Add pb_release() functionPetteri Aimonen1-18/+96
2014-03-10More fixes for dynamic allocationPetteri Aimonen1-41/+65
2014-02-25Bugfixes for dynamic allocationPetteri Aimonen1-13/+39
2014-02-24Beginnings of malloc support in pb_decodePetteri Aimonen1-5/+138
2013-12-21Add PB_LTYPE_UVARINT to fix encoding of negative int32 values.Petteri Aimonen1-3/+21
2013-11-14Optimize the common case of 1-byte reads for varints.Petteri Aimonen1-3/+23
2013-10-29Remove the NANOPB_INTERNALS functions from public API.Petteri Aimonen1-0/+9
2013-10-29Declare static functions before use.Petteri Aimonen1-12/+31
2013-10-29Cleanup of comments.Petteri Aimonen1-7/+8
2013-10-29Rename some internal functions to have unique namesPetteri Aimonen1-2/+2
2013-07-17Extension support implemented for decoder.Petteri Aimonen1-2/+94
2013-07-16Check for empty message type before incrementing required_field_index.Kent Ryhorchuk1-3/+3
2013-07-06Add pb_decode_delimited and pb_encode_delimited wrapper functions.Petteri Aimonen1-0/+13
2013-04-14Fix bug with empty strings in repeated string callbacks.Petteri Aimonen1-2/+2
2013-04-08Avoid maybe-uninitialized warningPetteri Aimonen1-4/+6
2013-04-02Change the callback function to use void**.Petteri Aimonen1-2/+8
2013-03-09Add PB_SYSTEM_HEADER compile time option.Petteri Aimonen1-1/+0
2013-03-09Rename pb_field_iterator_t field 'current' to 'pos'.Petteri Aimonen1-38/+38
2013-03-09Fix additional bug with empty message types.Petteri Aimonen1-0/+3
2013-03-09Fix bug with decoding empty message types. Add test for the same.Petteri Aimonen1-1/+1
2013-02-20Separate PB_HTYPE to PB_ATYPE and PB_HTYPE.Petteri Aimonen1-66/+94
2013-02-20Rename PB_HTYPE_ARRAY -> PB_HTYPE_REPEATED.Petteri Aimonen1-4/+4
2013-02-07Fix error message bugs with packed arrays.Petteri Aimonen1-3/+9
2013-02-07Fix compiler warning on MSVC (issue #57)Petteri Aimonen1-1/+1
2013-02-06Use unsigned datatypes where appropriate.Petteri Aimonen1-9/+9
2013-02-06Improve the pb_decode_varint implementations.Petteri Aimonen1-18/+40
2013-02-06Avoid unnecessary looping in required fields check.Petteri Aimonen1-7/+26
2013-02-06Add compile-time option PB_BUFFER_ONLY.Petteri Aimonen1-0/+11
2013-02-05Make pb_decode_varint32 a separate implementation.Petteri Aimonen1-4/+14
2013-02-05Performance improvement: replace memcpy with loop.Petteri Aimonen1-2/+5
2013-01-16Oops, typoed #ifdef; again fixing previous commit.Petteri Aimonen1-1/+1
2013-01-16Put previous commit (issue 52) inside #ifndefPetteri Aimonen1-0/+3
2013-01-16Fix bug with error messages.Petteri Aimonen1-0/+1
2012-11-27Complete initialization of pb_istream_t.Jens Steinhauser1-0/+3
2012-10-18Remove the "buf = NULL" => skip requirement from pb_istream_t callbacks.Petteri Aimonen1-11/+26
2012-09-03Enable -Wconversion for core and fix the warnings.Petteri Aimonen1-4/+4
2012-09-03Fix build warnings on MS compilersdch1-4/+4
2012-08-26Fix warnings with -Wcast-qual. Add test for C++ compile.Petteri Aimonen1-1/+8
2012-08-26Add pb_decode_noinit and use it from pb_dec_submessage.Petteri Aimonen1-4/+8
2012-08-26Revert "Add pb_decode_noinit and use it from pb_dec_submessage."Petteri Aimonen1-8/+4
2012-08-26Add pb_decode_noinit and use it from pb_dec_submessage.Petteri Aimonen1-4/+8
2012-08-24Implement error messages in the decoder side.Petteri Aimonen1-15/+15
2012-08-24Revert "Change the substream implementation in pb_decode."Petteri Aimonen1-13/+20
2012-08-24Reorganize the field decoder interface.Petteri Aimonen1-55/+82
2012-08-24Change the substream implementation in pb_decode.Petteri Aimonen1-16/+13
2012-08-16Fix casting issuesStan Hu1-2/+2
2012-08-09Declare warn_unused_result only on GCC >= 3.4.0.Petteri Aimonen1-5/+5
2012-07-31Fix bug in decoder with packed arrays.Petteri Aimonen1-1/+4