This website requires JavaScript.
5ef128616b
Fix security issue with PB_ENABLE_MALLOC.
Petteri Aimonen
2014-05-17 20:06:55 +03:00
ba2ab9ea65
Docs update, remove malloc from limitations list
Petteri Aimonen
2014-04-26 20:11:54 +03:00
e6a57e512f
Add option to not add timestamps to .pb.h and .pb.c preambles.
Petteri Aimonen
2014-04-18 15:40:40 +03:00
d177af1639
Fix typos in scons command line options
Petteri Aimonen
2014-04-15 20:30:50 +03:00
3b36235cef
Remove -O0 from tests CFLAGS so that optimized builds can be tested also
Petteri Aimonen
2014-04-15 20:27:38 +03:00
1d249a48ea
Fix bug in missing_fields test case
Petteri Aimonen
2014-04-09 19:39:12 +03:00
3e83d81b09
Use -fsanitize=undefined when running tests with clang
Petteri Aimonen
2014-04-09 19:28:57 +03:00
938c7ac3f3
Setting version to 0.2.8-dev
Petteri Aimonen
2014-04-07 20:45:04 +03:00
6d74c66ada
Publishing nanopb-0.2.7
nanopb-0.2.7
Petteri Aimonen
2014-04-07 20:30:42 +03:00
c998ffe117
Update changelog
Petteri Aimonen
2014-04-07 20:30:12 +03:00
a8de6acf2d
Add rule for building coverage summary using lcov.
Petteri Aimonen
2014-04-05 13:26:37 +03:00
7880f308ea
Fix unused parameter warning when building without errmsg.
Petteri Aimonen
2014-04-05 13:25:44 +03:00
b63e582bdb
Add a convenience function pb_get_encoded_size()
Petteri Aimonen
2014-04-05 11:26:39 +03:00
e5b855fec5
Add a 'found' field to pb_extension_t.
Petteri Aimonen
2014-04-05 11:11:05 +03:00
70dee34da6
Add some missing 'static' specifiers
Petteri Aimonen
2014-04-02 21:08:15 +03:00
99434724d0
Fix splint warnings, add splint test case
Petteri Aimonen
2014-04-02 20:59:01 +03:00
6c90e824c4
Fix compile error when default value given for extension field.
Petteri Aimonen
2014-04-01 16:47:53 +03:00
f4949119ad
Add stdlib.h to pb_syshdr.h for dynamic allocation
Petteri Aimonen
2014-03-18 16:13:54 +02:00
607cb998b5
More configuration options for dynamic alloc
dev_dynamic_alloc_2
Petteri Aimonen
2014-03-17 17:25:58 +02:00
ab62402059
Documentation updates
Petteri Aimonen
2014-03-16 15:52:19 +02:00
108864963f
Finish the alltypes_pointer testcase, use valgrind if available.
Petteri Aimonen
2014-03-15 09:39:27 +02:00
9be2cfe968
Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically.
Petteri Aimonen
2014-03-15 08:45:58 +02:00
9c196b89ba
Add pb_release() function
Petteri Aimonen
2014-03-12 21:08:35 +02:00
bf61d2337b
More fixes for dynamic allocation
Petteri Aimonen
2014-03-10 18:19:38 +02:00
48ac461372
Bugfixes for dynamic allocation
Petteri Aimonen
2014-02-25 19:58:11 +02:00
011a30af9c
Beginnings of malloc support in pb_decode
Petteri Aimonen
2014-02-24 21:09:25 +02:00
842c960d5d
Setting version to 0.2.7-dev
Petteri Aimonen
2014-02-15 17:15:54 +02:00
7f397b067f
Publishing nanopb-0.2.6
nanopb-0.2.6
Petteri Aimonen
2014-02-15 16:40:38 +02:00
586777b52f
Update changelog
Petteri Aimonen
2014-02-12 19:50:52 +02:00
542463dbaa
Move descriptor.proto to google/protobuf directory where it belongs.
Petteri Aimonen
2014-02-12 19:43:04 +02:00
fe0bf121eb
Add test case for package names defined in .proto file.
Petteri Aimonen
2014-02-12 19:22:01 +02:00
bd22cf2777
Improve status/error reporting in generator.
Petteri Aimonen
2014-02-12 18:51:48 +02:00
057165966c
Add AllTypes decoding test with callbacks.
Petteri Aimonen
2014-02-10 21:00:26 +02:00
235219a295
Add AllTypes encoding test for callbacks (issue #99 )
Petteri Aimonen
2014-02-09 19:28:50 +02:00
d3ed0744d0
Extreme negative integer constants are a bit nasty to define in C, just avoid the trouble in tests for now.
Petteri Aimonen
2014-02-05 17:56:37 +02:00
879860be19
Add coments to places where STATIC_ASSERT is used.
Petteri Aimonen
2014-02-04 20:34:57 +02:00
a2f8112166
Add proper suffixes for integer default values.
Petteri Aimonen
2014-02-04 20:24:44 +02:00
5efeb392e0
Add strict-aliasing GCC warnings for core
Petteri Aimonen
2014-02-04 20:11:52 +02:00
a46ed9f475
Fix problem with callback-type fields (issue #99 ).
Petteri Aimonen
2014-01-03 11:17:39 +02:00
843fc4b11a
Setting version to 0.2.6-dev
Petteri Aimonen
2014-01-01 11:44:47 +02:00
906c8283b5
Publishing nanopb-0.2.5
nanopb-0.2.5
Petteri Aimonen
2014-01-01 11:11:19 +02:00
4546bb92dc
Fix Makefiles for the examples
Petteri Aimonen
2014-01-01 11:20:07 +02:00
18e71bbfe2
Fix bundled protoc detection in scons script
Petteri Aimonen
2013-12-29 22:08:13 +02:00
585cd0356e
And same fixes on Mac also..
Petteri Aimonen
2013-12-29 21:47:38 +02:00
bb51ee655b
Make the Mac OS X package a .zip instead
Petteri Aimonen
2013-12-29 21:43:22 +02:00
125b49bf24
Fix spaces in paths on Windows also
Petteri Aimonen
2013-12-29 21:36:06 +02:00
da8210b947
Fix handling spaces in directory name
Petteri Aimonen
2013-12-29 21:11:57 +02:00
10ef575d46
Fix build on Windows
Petteri Aimonen
2013-12-29 20:53:39 +02:00
7c9a8a132b
Fix protoc-gen-nanopb when the path contains spaces
Petteri Aimonen
2013-12-29 20:48:30 +02:00
ae7b9a3bd3
Fix path change: compat/ -> extra/
Petteri Aimonen
2013-12-29 20:41:36 +02:00
156139f112
README updates
Petteri Aimonen
2013-12-29 20:31:02 +02:00
26f7341094
Include platform name in also the directory name in binary pkgs
Petteri Aimonen
2013-12-29 20:25:36 +02:00
2b334015af
Add packaging script for Mac, add platform name to packages.
Petteri Aimonen
2013-12-03 20:35:29 +02:00
435ccbfdf7
Fixes for pyinstaller
Petteri Aimonen
2013-12-03 20:10:48 +02:00
b1cb035373
Small fix for previous
Petteri Aimonen
2013-12-03 19:30:39 +02:00
6d0e0695d0
Check for supported GCC CCFLAGS when building tests.
Petteri Aimonen
2013-12-03 19:27:08 +02:00
dde71cb426
Make generator print errors to stderr.
Petteri Aimonen
2013-12-03 18:44:25 +02:00
1fc90ab4c4
Add a SCons tool for nanopb protos.
Petteri Aimonen
2013-11-23 11:04:12 +02:00
440a53f859
Fix protoc-gen-nanopb in linux package
Petteri Aimonen
2013-11-17 22:37:48 +02:00
3bdbd4dc48
Include libprotoc
Petteri Aimonen
2013-11-17 22:33:26 +02:00
8be8b7e41a
Linux archive
Petteri Aimonen
2013-11-17 22:25:52 +02:00
94422ad456
Also include the manifest for MSVCR90.DLL
Petteri Aimonen
2013-11-17 22:19:54 +02:00
1d42f72f40
Include MSVCR90.DLL also.
Petteri Aimonen
2013-11-17 21:43:50 +02:00
2abd27c91c
Include Visual C++ runtime in the Windows package.
Petteri Aimonen
2013-11-17 21:20:12 +02:00
6e08773153
README updates
Petteri Aimonen
2013-11-17 20:57:50 +02:00
d7cadaa46f
Windows build fixes
Petteri Aimonen
2013-11-17 20:37:18 +02:00
d344bda28a
Fix protoc plugin path
Petteri Aimonen
2013-11-17 20:25:18 +02:00
05e2dc20f3
Actually no, it was a portability hassle
Petteri Aimonen
2013-11-17 20:24:32 +02:00
c61660b3ea
Makefile tuning
Petteri Aimonen
2013-11-17 20:09:30 +02:00
45c1a32e50
Rework the Makefiles to be compatible with binary packages.
Petteri Aimonen
2013-11-17 20:04:29 +02:00
ef31774cd9
Moving files around
Petteri Aimonen
2013-11-17 19:20:04 +02:00
480b39cc0a
Package as .zip, convert linebreaks
Petteri Aimonen
2013-11-17 19:09:13 +02:00
ec517e2108
Add build script for windows package
Petteri Aimonen
2013-11-17 17:37:29 +02:00
8c2dda67a1
Add descriptor.proto to repository to avoid messing with protoc include path.
Petteri Aimonen
2013-11-17 16:42:52 +02:00
58b3a22d6d
Add script for making linux binary package
Petteri Aimonen
2013-11-17 15:46:41 +02:00
356535da9b
Move the generator .proto files to a subdir, and get rid of precompiled versions.
Petteri Aimonen
2013-11-17 15:07:12 +02:00
b2ec9e29b3
Include platform name in also the directory name in binary pkgs
dev_installation_packages
Petteri Aimonen
2013-12-29 20:25:36 +02:00
f4146edf01
Bring alltypes_pointer testcase up to date
Petteri Aimonen
2013-12-29 18:44:58 +02:00
8da15d8b80
Improve alltypes_pointer test case
Petteri Aimonen
2013-12-29 18:35:14 +02:00
bc4ded3b43
Fix missing error messages in pb_encode.c
Petteri Aimonen
2013-12-29 18:34:57 +02:00
ef07635e35
Rename encode_static_field -> encode_basic_field.
Petteri Aimonen
2013-12-09 19:25:19 +02:00
25516b0591
Organize allocation logic in generator, add pb_bytes_ptr_t.
Petteri Aimonen
2013-12-09 19:19:12 +02:00
414e637867
Const-correctness and small cleanup.
Petteri Aimonen
2013-12-09 19:15:26 +02:00
4ae3b2e566
Generating and encoding messages with dynamic allocaiton
Martin Donath
2013-12-08 23:25:32 +01:00
c4074fa2e4
Improve alltypes_pointer test case
dev_pointer_encoding
Petteri Aimonen
2013-12-29 18:35:14 +02:00
8cd81956cb
Fix missing error messages in pb_encode.c
Petteri Aimonen
2013-12-29 18:34:57 +02:00
4f37c083d5
Negative int32 values take 10 bytes now.
Petteri Aimonen
2013-12-22 23:24:02 +02:00
ed93db08dc
Fix problem with decode_legacy test case on Windows.
Petteri Aimonen
2013-12-21 18:08:04 +02:00
cd9004089f
Add test for extreme integer values (INT32_MAX etc.) in AllTypes.
Petteri Aimonen
2013-12-21 12:41:20 +02:00
ee5b12c537
Add PB_LTYPE_UVARINT to fix encoding of negative int32 values.
Petteri Aimonen
2013-12-21 12:16:03 +02:00
9cc19a5e99
Modify the alltypes test to check re-encoding through protoc.
Petteri Aimonen
2013-12-21 12:14:20 +02:00
755dd57354
Rename encode_static_field -> encode_basic_field.
Petteri Aimonen
2013-12-09 19:25:19 +02:00
6874d2c4f9
Organize allocation logic in generator, add pb_bytes_ptr_t.
Petteri Aimonen
2013-12-09 19:19:12 +02:00
6ddb051563
Const-correctness and small cleanup.
Petteri Aimonen
2013-12-09 19:15:26 +02:00
03d4a7c916
Generating and encoding messages with dynamic allocaiton
Martin Donath
2013-12-08 23:25:32 +01:00
55bd3d706b
Merge branch 'dev_installation_packages' of https://code.google.com/p/nanopb into dev_installation_packages
Petteri Aimonen
2013-12-03 20:36:29 +02:00
a5006cc612
Add packaging script for Mac, add platform name to packages.
Petteri Aimonen
2013-12-03 20:35:29 +02:00
a0f91bbeeb
Fixes for pyinstaller
Petteri Aimonen
2013-12-03 20:10:48 +02:00
7723a30bd6
Small fix for previous
Petteri Aimonen
2013-12-03 19:30:39 +02:00
98e01b2b33
Check for supported GCC CCFLAGS when building tests.
Petteri Aimonen
2013-12-03 19:27:08 +02:00