Petteri Aimonen
99434724d0
Fix splint warnings, add splint test case
2014-04-02 21:07:30 +03:00
Petteri Aimonen
6c90e824c4
Fix compile error when default value given for extension field.
...
Update issue 111
Status: FixedInGit
2014-04-01 16:47:53 +03:00
Petteri Aimonen
f4949119ad
Add stdlib.h to pb_syshdr.h for dynamic allocation
2014-03-18 16:13:54 +02:00
Petteri Aimonen
607cb998b5
More configuration options for dynamic alloc
2014-03-17 17:25:58 +02:00
Petteri Aimonen
ab62402059
Documentation updates
2014-03-16 15:52:19 +02:00
Petteri Aimonen
108864963f
Finish the alltypes_pointer testcase, use valgrind if available.
2014-03-15 09:39:27 +02:00
Petteri Aimonen
9be2cfe968
Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically.
...
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-15 08:45:58 +02:00
Petteri Aimonen
9c196b89ba
Add pb_release() function
2014-03-12 21:08:35 +02:00
Petteri Aimonen
bf61d2337b
More fixes for dynamic allocation
2014-03-10 18:19:38 +02:00
Petteri Aimonen
48ac461372
Bugfixes for dynamic allocation
2014-02-25 19:58:11 +02:00
Petteri Aimonen
011a30af9c
Beginnings of malloc support in pb_decode
2014-02-24 21:09:25 +02:00
Petteri Aimonen
842c960d5d
Setting version to 0.2.7-dev
2014-02-15 17:15:54 +02:00
Petteri Aimonen
7f397b067f
Publishing nanopb-0.2.6
nanopb-0.2.6
2014-02-15 16:40:38 +02:00
Petteri Aimonen
586777b52f
Update changelog
2014-02-12 19:50:52 +02:00
Petteri Aimonen
542463dbaa
Move descriptor.proto to google/protobuf directory where it belongs.
...
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-12 19:43:04 +02:00
Petteri Aimonen
fe0bf121eb
Add test case for package names defined in .proto file.
2014-02-12 19:22:01 +02:00
Petteri Aimonen
bd22cf2777
Improve status/error reporting in generator.
...
Update issue 105
Status: FixedInGit
2014-02-12 18:51:48 +02:00
Petteri Aimonen
057165966c
Add AllTypes decoding test with callbacks.
...
Update issue 99
Status: FixedInGit
2014-02-10 21:00:26 +02:00
Petteri Aimonen
235219a295
Add AllTypes encoding test for callbacks (issue #99 )
...
Still need to do the decoding side.
2014-02-09 19:28:50 +02:00
Petteri Aimonen
d3ed0744d0
Extreme negative integer constants are a bit nasty to define in C, just avoid the trouble in tests for now.
2014-02-05 17:56:37 +02:00
Petteri Aimonen
879860be19
Add coments to places where STATIC_ASSERT is used.
...
Update issue 96
Status: FixedInGit
2014-02-04 20:34:57 +02:00
Petteri Aimonen
a2f8112166
Add proper suffixes for integer default values.
...
Update issue 102
Status: FixedInGit
2014-02-04 20:24:44 +02:00
Petteri Aimonen
5efeb392e0
Add strict-aliasing GCC warnings for core
2014-02-04 20:11:52 +02:00
Petteri Aimonen
a46ed9f475
Fix problem with callback-type fields (issue #99 ).
2014-01-03 11:17:39 +02:00
Petteri Aimonen
843fc4b11a
Setting version to 0.2.6-dev
2014-01-01 11:44:47 +02:00
Petteri Aimonen
906c8283b5
Publishing nanopb-0.2.5
nanopb-0.2.5
2014-01-01 11:20:54 +02:00
Petteri Aimonen
4546bb92dc
Fix Makefiles for the examples
...
The default rules for make were being selected before our own rules
and the .pb.c was not being built.
2014-01-01 11:20:54 +02:00
Petteri Aimonen
18e71bbfe2
Fix bundled protoc detection in scons script
2013-12-29 22:08:13 +02:00
Petteri Aimonen
585cd0356e
And same fixes on Mac also..
2013-12-29 21:47:38 +02:00
Petteri Aimonen
bb51ee655b
Make the Mac OS X package a .zip instead
2013-12-29 21:43:22 +02:00
Petteri Aimonen
125b49bf24
Fix spaces in paths on Windows also
2013-12-29 21:36:06 +02:00
Petteri Aimonen
da8210b947
Fix handling spaces in directory name
2013-12-29 21:16:38 +02:00
Petteri Aimonen
10ef575d46
Fix build on Windows
2013-12-29 20:53:39 +02:00
Petteri Aimonen
7c9a8a132b
Fix protoc-gen-nanopb when the path contains spaces
2013-12-29 20:48:30 +02:00
Petteri Aimonen
ae7b9a3bd3
Fix path change: compat/ -> extra/
2013-12-29 20:41:36 +02:00
Petteri Aimonen
156139f112
README updates
2013-12-29 20:31:02 +02:00
Petteri Aimonen
26f7341094
Include platform name in also the directory name in binary pkgs
2013-12-29 20:26:59 +02:00
Petteri Aimonen
2b334015af
Add packaging script for Mac, add platform name to packages.
2013-12-29 20:26:58 +02:00
Petteri Aimonen
435ccbfdf7
Fixes for pyinstaller
2013-12-29 20:26:58 +02:00
Petteri Aimonen
b1cb035373
Small fix for previous
2013-12-29 20:26:58 +02:00
Petteri Aimonen
6d0e0695d0
Check for supported GCC CCFLAGS when building tests.
2013-12-29 20:26:58 +02:00
Petteri Aimonen
dde71cb426
Make generator print errors to stderr.
...
Otherwise they won't be visible when run as a protoc plugin.
2013-12-29 20:26:58 +02:00
Petteri Aimonen
1fc90ab4c4
Add a SCons tool for nanopb protos.
...
This tool script is useful both for building the tests and also for use in other applications.
2013-12-29 20:26:58 +02:00
Petteri Aimonen
440a53f859
Fix protoc-gen-nanopb in linux package
2013-12-29 20:26:58 +02:00
Petteri Aimonen
3bdbd4dc48
Include libprotoc
2013-12-29 20:26:58 +02:00
Petteri Aimonen
8be8b7e41a
Linux archive
2013-12-29 20:26:58 +02:00
Petteri Aimonen
94422ad456
Also include the manifest for MSVCR90.DLL
2013-12-29 20:26:58 +02:00
Petteri Aimonen
1d42f72f40
Include MSVCR90.DLL also.
2013-12-29 20:26:58 +02:00
Petteri Aimonen
2abd27c91c
Include Visual C++ runtime in the Windows package.
2013-12-29 20:26:58 +02:00
Petteri Aimonen
6e08773153
README updates
2013-12-29 20:26:58 +02:00