summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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.
2013-12-29Add a SCons tool for nanopb protos.Petteri Aimonen5-41/+129
This tool script is useful both for building the tests and also for use in other applications.
2013-12-29Fix protoc-gen-nanopb in linux packagePetteri Aimonen2-7/+10
2013-12-29Include libprotocPetteri Aimonen1-0/+2
2013-12-29Linux archivePetteri Aimonen1-0/+3
2013-12-29Also include the manifest for MSVCR90.DLLPetteri Aimonen1-0/+8
2013-12-29Include MSVCR90.DLL also.Petteri Aimonen1-0/+4
2013-12-29Include Visual C++ runtime in the Windows package.Petteri Aimonen1-1/+3
2013-12-29README updatesPetteri Aimonen2-9/+58
2013-12-29Windows build fixesPetteri Aimonen2-1/+10
2013-12-29Fix protoc plugin pathPetteri Aimonen1-2/+2