summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-04-07Setting version to 0.2.8-devPetteri Aimonen2-2/+2
2014-04-07Publishing nanopb-0.2.7Petteri Aimonen2-2/+2
2014-04-07Update changelogPetteri Aimonen1-0/+8
2014-04-05Add rule for building coverage summary using lcov.Petteri Aimonen6-18/+49
Also modified a few tests to be more compatible with coverage information, so that they use the same pb_encode/decode.c instead of making a copy.
2014-04-05Fix unused parameter warning when building without errmsg.Petteri Aimonen1-1/+5
2014-04-05Add a convenience function pb_get_encoded_size()Petteri Aimonen3-0/+24
There is minimal size penalty from this, and it is probably much more intuitive to use than PB_OSTREAM_SIZING itself. This has been suggested before also, but I ended up refusing it back them. Reconsidering it now, I see that an intuitive API is much better than any amount of documentation explaining a non-intuitive API. Update issue 16 Status: FixedInGit
2014-04-05Add a 'found' field to pb_extension_t.Petteri Aimonen4-2/+8
Update issue 112 Status: FixedInGit
2014-04-02Add some missing 'static' specifiersPetteri Aimonen3-22/+16
Update issue 91 Status: FixedInGit
2014-04-02Fix splint warnings, add splint test casePetteri Aimonen4-11/+60
2014-04-01Fix compile error when default value given for extension field.Petteri Aimonen2-1/+3
Update issue 111 Status: FixedInGit
2014-03-18Add stdlib.h to pb_syshdr.h for dynamic allocationPetteri Aimonen2-0/+12
2014-03-17More configuration options for dynamic allocPetteri Aimonen2-3/+17
2014-03-16Documentation updatesPetteri Aimonen4-8/+63
2014-03-15Finish the alltypes_pointer testcase, use valgrind if available.Petteri Aimonen4-168/+90
2014-03-15Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically.Petteri Aimonen7-77/+59
This makes the internal logic much simpler, and also keeps the datatypes more similar between STATIC/POINTER cases. It will still be a bit cumbersome to use because of variable length array member. Macros PB_BYTES_ARRAY_T(n) and PB_BYTES_ARRAY_T_ALLOCSIZE(n) have been added to make life a bit easier. This has the drawback that it is no longer as easy to use externally allocated byte array as input for bytes field in pointer mode. However, this is still easy to do using callbacks, so it shouldn't be a large issue.
2014-03-12Add pb_release() functionPetteri Aimonen5-38/+185
2014-03-10More fixes for dynamic allocationPetteri Aimonen3-66/+93
2014-02-25Bugfixes for dynamic allocationPetteri Aimonen1-13/+39
2014-02-24Beginnings of malloc support in pb_decodePetteri Aimonen4-6/+362
2014-02-15Setting version to 0.2.7-devPetteri Aimonen2-2/+2
2014-02-15Publishing nanopb-0.2.6Petteri Aimonen2-2/+2
2014-02-12Update changelogPetteri Aimonen1-0/+8
2014-02-12Move descriptor.proto to google/protobuf directory where it belongs.Petteri Aimonen5-5/+5
This fixes some interoperability problems when trying to compile nanopb.proto for e.g. the Google's C++ library. Update issue 104 Status: FixedInGit
2014-02-12Add test case for package names defined in .proto file.Petteri Aimonen1-0/+36
2014-02-12Improve status/error reporting in generator.Petteri Aimonen1-11/+19
Update issue 105 Status: FixedInGit
2014-02-10Add AllTypes decoding test with callbacks.Petteri Aimonen2-1/+427
Update issue 99 Status: FixedInGit
2014-02-09Add AllTypes encoding test for callbacks (issue #99)Petteri Aimonen3-0/+420
Still need to do the decoding side.
2014-02-05Extreme negative integer constants are a bit nasty to define in C, just ↵Petteri Aimonen1-2/+2
avoid the trouble in tests for now.
2014-02-04Add coments to places where STATIC_ASSERT is used.Petteri Aimonen2-13/+37
Update issue 96 Status: FixedInGit
2014-02-04Add proper suffixes for integer default values.Petteri Aimonen2-10/+16
Update issue 102 Status: FixedInGit
2014-02-04Add strict-aliasing GCC warnings for corePetteri Aimonen1-0/+1
2014-01-03Fix problem with callback-type fields (issue #99).Petteri Aimonen1-0/+1
2014-01-01Setting version to 0.2.6-devPetteri Aimonen2-2/+2
2014-01-01Publishing nanopb-0.2.5Petteri Aimonen3-2/+9
2014-01-01Fix Makefiles for the examplesPetteri Aimonen3-0/+6
The default rules for make were being selected before our own rules and the .pb.c was not being built.
2013-12-29Fix bundled protoc detection in scons scriptPetteri Aimonen1-3/+4
2013-12-29And same fixes on Mac also..Petteri Aimonen1-2/+2
2013-12-29Make the Mac OS X package a .zip insteadPetteri Aimonen1-1/+1
2013-12-29Fix spaces in paths on Windows alsoPetteri Aimonen2-2/+2
2013-12-29Fix handling spaces in directory namePetteri Aimonen2-4/+4
2013-12-29Fix build on WindowsPetteri Aimonen1-2/+4
2013-12-29Fix protoc-gen-nanopb when the path contains spacesPetteri Aimonen1-1/+2
2013-12-29Fix path change: compat/ -> extra/Petteri Aimonen2-4/+5
2013-12-29README updatesPetteri Aimonen1-3/+3
2013-12-29Include platform name in also the directory name in binary pkgsPetteri Aimonen3-6/+6
2013-12-29Add packaging script for Mac, add platform name to packages.Petteri Aimonen3-2/+51
2013-12-29Fixes for pyinstallerPetteri Aimonen1-0/+7
2013-12-29Small fix for previousPetteri Aimonen1-2/+2
2013-12-29Check for supported GCC CCFLAGS when building tests.Petteri Aimonen1-6/+20
2013-12-29Make generator print errors to stderr.Petteri Aimonen1-12/+14
Otherwise they won't be visible when run as a protoc plugin.