apps/agl-service-can-low-level.git
8 years agoMerge pull request #196 from mxk/api-ref
Petteri Aimonen [Mon, 7 Mar 2016 15:56:43 +0000 (17:56 +0200)]
Merge pull request #196 from mxk/api-ref

Update API reference to match headers

8 years agoUpdate API reference to match headers
Maxim Khitrov [Mon, 7 Mar 2016 13:15:03 +0000 (08:15 -0500)]
Update API reference to match headers

Update typedefs and function prototypes in the API reference to match
header files. Delete documentation for pb_skip_varint/pb_skip_string,
which are superseded by pb_skip_field, and add pb_get_encoded_size.

8 years agoProvide comments about uncalculable message sizes (issue #195)
Petteri Aimonen [Fri, 4 Mar 2016 15:38:47 +0000 (17:38 +0200)]
Provide comments about uncalculable message sizes (issue #195)

8 years agoMerge pull request #194 from isotes/master
Petteri Aimonen [Sat, 20 Feb 2016 14:17:51 +0000 (16:17 +0200)]
Merge pull request #194 from isotes/master

Generate MIN/MAX/ARRAYSIZE for enums

8 years agoMerge pull request #193 from recursify/master
Petteri Aimonen [Sat, 20 Feb 2016 09:26:00 +0000 (11:26 +0200)]
Merge pull request #193 from recursify/master

Add -D option to specify output directory

8 years agoGenerate MIN/MAX/ARRAYSIZE for enums
isotes [Fri, 19 Feb 2016 22:51:00 +0000 (23:51 +0100)]
Generate MIN/MAX/ARRAYSIZE for enums

This generates #defines mirroring the following values from the generated C++ code of GPB
* const Foo Foo_MIN: the smallest valid value of the enum (VALUE_A in the example).
* const Foo Foo_MAX: the largest valid value of the enum (VALUE_C in the example).
* const Foo Foo_ARRAYSIZE: always defined as Foo_MAX + 1.

8 years agoAdd -D option to specify output directory
Kenshi Kawaguchi [Fri, 19 Feb 2016 22:28:55 +0000 (14:28 -0800)]
Add -D option to specify output directory

8 years agoSetting version to 0.3.6-dev
Petteri Aimonen [Sat, 13 Feb 2016 10:51:44 +0000 (12:51 +0200)]
Setting version to 0.3.6-dev

8 years agoPublishing nanopb-0.3.5
Petteri Aimonen [Sat, 13 Feb 2016 10:39:45 +0000 (12:39 +0200)]
Publishing nanopb-0.3.5

8 years agoUpdate pb_release docs
Petteri Aimonen [Sun, 7 Feb 2016 08:50:02 +0000 (10:50 +0200)]
Update pb_release docs

8 years agoUpdate changelog
Petteri Aimonen [Sat, 6 Feb 2016 12:28:33 +0000 (14:28 +0200)]
Update changelog

8 years agoAdd code generator insertion points to files (#178).
Petteri Aimonen [Sat, 6 Feb 2016 11:57:38 +0000 (13:57 +0200)]
Add code generator insertion points to files (#178).

8 years agoFix a few remaining bugs related to CHAR_BIT!=8 platforms.
Petteri Aimonen [Wed, 27 Jan 2016 16:59:54 +0000 (18:59 +0200)]
Fix a few remaining bugs related to CHAR_BIT!=8 platforms.

8 years agoRemove obsolete __BIG_ENDIAN__ compilation option.
Petteri Aimonen [Wed, 27 Jan 2016 16:59:54 +0000 (18:59 +0200)]
Remove obsolete __BIG_ENDIAN__ compilation option.

This is now handled automatically using shift operations.

8 years agoAdd note to migration doc
Petteri Aimonen [Wed, 27 Jan 2016 16:59:02 +0000 (18:59 +0200)]
Add note to migration doc

8 years agoReplace uint8_t with a pb_byte_t typedef.
Petteri Aimonen [Wed, 27 Jan 2016 16:53:26 +0000 (18:53 +0200)]
Replace uint8_t with a pb_byte_t typedef.

This supports platforms where uint8_t does not exist.
If you are using a custom pb_syshdr.h, this may require adding
definitions for uint_least8_t etc.

8 years agoModify the int size STATIC_ASSERTS to work with CHAR_BITS!=8.
Petteri Aimonen [Wed, 27 Jan 2016 16:24:33 +0000 (18:24 +0200)]
Modify the int size STATIC_ASSERTS to work with CHAR_BITS!=8.

This will still catch the most common bug of long int vs. long long int.
The uint8_t checks do not seem necessary, test for this will be added
in later commit.

8 years agoGet rid of type punning in pb_encode_fixedXX().
Petteri Aimonen [Tue, 26 Jan 2016 20:10:09 +0000 (22:10 +0200)]
Get rid of type punning in pb_encode_fixedXX().

This was never very clean code, but it was fast. Hopefully
compilers are smart enough to optimize it away, or the speed
difference is not very large. This should be checked.

However working code is always more important than fast code,
and the previous way couldn't really work for platforms that
do not have byte-sized memory access. Related to PR #191.

8 years agoMerge pull request #190 from aeruder/master
Petteri Aimonen [Wed, 16 Dec 2015 14:39:30 +0000 (16:39 +0200)]
Merge pull request #190 from aeruder/master

pb_istream_from_buffer: add const to prototype

8 years agopb_istream_from_buffer: add const to prototype
Andrew Ruder [Wed, 16 Dec 2015 14:13:55 +0000 (08:13 -0600)]
pb_istream_from_buffer: add const to prototype

This commit changes the prototype for pb_istream_from_buffer from:
  pb_istream_t pb_istream_from_buffer(uint8_t *buf, size_t bufsize);
to
  pb_istream_t pb_istream_from_buffer(const uint8_t *buf, size_t bufsize);

This allows pb_istream_from_buffer users to point to const buffers
without having to inspect code (to ensure practical const-ness) and then be
forced to manually cast away const.

In order to not break compatibility with existing programs (by
introducing a const/non-const union in the pb_istream_t state) we simply
cast away the const in pb_istream_from_buffer and re-apply it when
possible in the callbacks.  Unfortunately we lose any compiler help in
the callbacks to ensure we are treating the buffer as const but manual
inspection is easy enough.

8 years agoFix mistake in previous commit
Petteri Aimonen [Sat, 21 Nov 2015 07:47:29 +0000 (09:47 +0200)]
Fix mistake in previous commit

8 years agoFix generator crash with Enum inside Oneof (issue #188).
Petteri Aimonen [Fri, 20 Nov 2015 21:57:37 +0000 (23:57 +0200)]
Fix generator crash with Enum inside Oneof (issue #188).

Add testcase for the same.

8 years agoSecond fix for -pedantic build issue in tests
Petteri Aimonen [Sun, 15 Nov 2015 07:26:10 +0000 (09:26 +0200)]
Second fix for -pedantic build issue in tests

8 years agoFix -Wno-pedantic on old GCC
Petteri Aimonen [Sat, 14 Nov 2015 20:37:54 +0000 (22:37 +0200)]
Fix -Wno-pedantic on old GCC

8 years agoAdd testcase for anonymous unions + few fixes.
Petteri Aimonen [Sat, 14 Nov 2015 20:23:48 +0000 (22:23 +0200)]
Add testcase for anonymous unions + few fixes.

Fixes compilation error with anonymous unions when
it is not the last field in message. Also fixes
extraneous newlines in header file. Cleanup the
pb.h extraneous use of ##.

8 years agoAdd option to allow for anonymous unions
Benjamin Kamath [Thu, 5 Nov 2015 00:42:25 +0000 (16:42 -0800)]
Add option to allow for anonymous unions

8 years agoIgnore null pointers in pb_release() (issue #183).
Petteri Aimonen [Sun, 25 Oct 2015 16:07:23 +0000 (18:07 +0200)]
Ignore null pointers in pb_release() (issue #183).

8 years agoAdd contributing.md to provide issue templates on github
Petteri Aimonen [Sat, 24 Oct 2015 19:20:39 +0000 (22:20 +0300)]
Add contributing.md to provide issue templates on github

8 years agoMerge pull request #181 from kylemanna/cmake
Petteri Aimonen [Sat, 17 Oct 2015 07:19:40 +0000 (10:19 +0300)]
Merge pull request #181 from kylemanna/cmake

Cmake updates

8 years agoexamples: cmake_simple: Use auto discovered path
Kyle Manna [Thu, 15 Oct 2015 20:57:37 +0000 (13:57 -0700)]
examples: cmake_simple: Use auto discovered path

* No need to specify the src path and the module path. Let cmake do it.

8 years agocmake: Auto discover NANOPB_SRC_ROOT_FOLDER
Kyle Manna [Thu, 15 Oct 2015 20:56:20 +0000 (13:56 -0700)]
cmake: Auto discover NANOPB_SRC_ROOT_FOLDER

* Use CMAKE_CURRENT_LIST_DIR to learn the path of the currently running
  file to determine location of NanoPB.
* Simplifies use in other projects.

8 years agocmake: Build generator files in build directory
Kyle Manna [Thu, 15 Oct 2015 20:04:23 +0000 (13:04 -0700)]
cmake: Build generator files in build directory

Treat the source directory as immutable.  Copy the generator directory
which previously generated files in-tree to the build directory and
then generate files.

Many emerging continuous integration build systems test builds across
multiple versions of dependencies protobuf and python versions in
particular.  The previous source tree builds resulted in stale files
from the last build breaking the current build.  By placing the build
files in the build directory, the build system automatically removes
stale files (removes output build directory) and regenerates them as
necessary.

8 years agoMerge pull request #176 from kylemanna/whitespace
Petteri Aimonen [Thu, 8 Oct 2015 15:23:32 +0000 (18:23 +0300)]
Merge pull request #176 from kylemanna/whitespace

generator: Remove trailing whitespace

8 years agogenerator: Remove trailing whitespace
Kyle Manna [Thu, 8 Oct 2015 01:16:36 +0000 (18:16 -0700)]
generator: Remove trailing whitespace

* Remove trailing whitespace
* No functional changes

8 years agoFix regression in generating message size defines (issue #172).
Petteri Aimonen [Mon, 5 Oct 2015 13:01:53 +0000 (16:01 +0300)]
Fix regression in generating message size defines (issue #172).

This bug was triggered when:
1. A .proto file included another .proto from a different directory.
2. The another .proto has an associated .options file.

Added regression test for the same.

8 years agoAdd random message generator to help with fuzz testing
Petteri Aimonen [Mon, 5 Oct 2015 12:36:24 +0000 (15:36 +0300)]
Add random message generator to help with fuzz testing

8 years agoFix bug in fuzzstub.
Petteri Aimonen [Thu, 1 Oct 2015 14:38:10 +0000 (17:38 +0300)]
Fix bug in fuzzstub.

The fread call always returned a message length of 1 byte,
making the fuzz stub used for external fuzzers useless. The
normal fuzztest.c was unaffected.

Bug found using afl-fuzz.

8 years agoFix list formatting in readme
Petteri Aimonen [Sat, 26 Sep 2015 09:53:26 +0000 (12:53 +0300)]
Fix list formatting in readme

8 years agoAdd documentation link to readme
Petteri Aimonen [Sat, 26 Sep 2015 09:48:52 +0000 (12:48 +0300)]
Add documentation link to readme

8 years agoFine-tune the readme
Petteri Aimonen [Sat, 26 Sep 2015 09:47:34 +0000 (12:47 +0300)]
Fine-tune the readme

8 years agoClean up the python2/python3 string type handling
Petteri Aimonen [Sat, 26 Sep 2015 09:32:12 +0000 (12:32 +0300)]
Clean up the python2/python3 string type handling

8 years agoMerge pull request #170 from kylemanna/travis-ci
Petteri Aimonen [Sat, 26 Sep 2015 09:21:08 +0000 (12:21 +0300)]
Merge pull request #170 from kylemanna/travis-ci

Add Travis CI Support

8 years agoMerge pull request #169 from kylemanna/python3
Petteri Aimonen [Sat, 26 Sep 2015 09:08:55 +0000 (12:08 +0300)]
Merge pull request #169 from kylemanna/python3

Add proper Python3 support to the generator

8 years agoSetting version to 0.3.5-dev
Petteri Aimonen [Sat, 26 Sep 2015 09:07:08 +0000 (12:07 +0300)]
Setting version to 0.3.5-dev

8 years agoPublishing nanopb-0.3.4
Petteri Aimonen [Sat, 26 Sep 2015 08:23:59 +0000 (11:23 +0300)]
Publishing nanopb-0.3.4

8 years agoAdd initialization to examples/simple
Petteri Aimonen [Thu, 24 Sep 2015 17:32:29 +0000 (20:32 +0300)]
Add initialization to examples/simple

8 years agoMerge pull request #171 from kylemanna/misc
Petteri Aimonen [Tue, 22 Sep 2015 04:24:21 +0000 (07:24 +0300)]
Merge pull request #171 from kylemanna/misc

decode: Fix compiler issue with gcc-5

8 years agodecode: Fix compiler issue with gcc-5
Kyle Manna [Mon, 21 Sep 2015 18:03:12 +0000 (11:03 -0700)]
decode: Fix compiler issue with gcc-5

* gcc 5.0 and 5.1 appear to take issue with this line and generates the
  following error:

    /home/nitro/tmp/nanopb/pb_decode.c: In function â€˜pb_decode_noinit’:
    /home/nitro/tmp/nanopb/pb_decode.c:889:60: error: conversion to â€˜uint8_t {aka unsigned char}’ from â€˜int’ may alter its value [-Werror=conversion]
                 fields_seen[iter.required_field_index >> 3] |= (uint8_t)(1 << (iter.required_field_index & 7));
                                                                ^
* This seems like a compiler bug, but this workaround is harmless.

8 years agotravis-ci: Use protobuf v3 as it adds python3
Kyle Manna [Mon, 21 Sep 2015 16:04:11 +0000 (09:04 -0700)]
travis-ci: Use protobuf v3 as it adds python3

* Still in testing currently.

8 years agotravis-ci: Build C/C++/Python matrix
Kyle Manna [Mon, 21 Sep 2015 05:58:54 +0000 (22:58 -0700)]
travis-ci: Build C/C++/Python matrix

* Test a number of C compilers
* Travis CI can't handle three languages (C, C++, Python)
* Add support for swapping python2/3 binaries
* Scons has made no attempts to support python3 yet:
* Build the matrix manually
* Scons doesn't inherit $CC/$CXX from parent environement,
  so pass compiler flags directly

8 years agogenerator: Use search $PATH for python
Kyle Manna [Mon, 21 Sep 2015 15:16:17 +0000 (08:16 -0700)]
generator: Use search $PATH for python

* Search $PATH for the python binary so that this works better with
  things like virtualenv as used on Travis CI

8 years agotravis-ci: Initial working build
Kyle Manna [Mon, 21 Sep 2015 04:49:48 +0000 (21:49 -0700)]
travis-ci: Initial working build

* Initial working build for Travis CI build system.

8 years agogenerator: Fix strange unicode/str issue in python2
Kyle Manna [Mon, 21 Sep 2015 01:39:45 +0000 (18:39 -0700)]
generator: Fix strange unicode/str issue in python2

* Work around this by checking the appropriate class for the given
* environment.

8 years agogenerator: Attempt to simplify the str/unicode madness
Kyle Manna [Mon, 21 Sep 2015 00:22:25 +0000 (17:22 -0700)]
generator: Attempt to simplify the str/unicode madness

* This is a shot in the dark.

8 years agogenerator: Strings are utf-8 by default in python3
Kyle Manna [Sat, 19 Sep 2015 22:13:05 +0000 (15:13 -0700)]
generator: Strings are utf-8 by default in python3

* Not sure how to handle this case in python2, seems to work
* Python 3 doesn't need this since all strings are utf-8

8 years agogenerator: Remove cmp() to work with Python3
Kyle Manna [Sat, 19 Sep 2015 22:03:13 +0000 (15:03 -0700)]
generator: Remove cmp() to work with Python3

* Python3 ignores cmp() and __cmp__() and only needs __lt__() for
  sorting.  Delete and update as appropriate.
* Ref: https://docs.python.org/3.0/whatsnew/3.0.html#ordering-comparisons

8 years agogenerator: More exhaustive field size checking
Kyle Manna [Sat, 19 Sep 2015 21:36:55 +0000 (14:36 -0700)]
generator: More exhaustive field size checking

Create a FieldMaxSize class that:
* Accumlates all C assertions
* Handles the checking of the longest simple field
* Also python3 doesn't support max(None)

8 years agogenerator: Use python2/3 binary read/write method
Kyle Manna [Sat, 19 Sep 2015 21:30:21 +0000 (14:30 -0700)]
generator: Use python2/3 binary read/write method

* This works with python2 and python3

8 years agogenerator: Run python's 2to3 converter
Kyle Manna [Sat, 19 Sep 2015 21:12:36 +0000 (14:12 -0700)]
generator: Run python's 2to3 converter

* Invoked with `2to3 -w nanopb_generator.py`
* No other changes.

8 years agocmake: Don't explicitly look for python2
Kyle Manna [Sat, 19 Sep 2015 22:19:28 +0000 (15:19 -0700)]
cmake: Don't explicitly look for python2

* Use the system python binary and make sure the generator works with
  both instead.

8 years agogenerator: Don't force python2
Kyle Manna [Sat, 19 Sep 2015 21:42:03 +0000 (14:42 -0700)]
generator: Don't force python2

Python2 is being phased out of the default python interpreter.  Arch
Linux has moved some time ago and upcoming Debian realeases will follow.

My distro, Arch, doesn't have a python2-protobuf version, but does have
a python3 version.  With a python 2 & 3 compatible generator the exact
interpreter can be ignored and can use the system default as most users
expect.

Update issue #155

8 years agoUpdate changelog
Petteri Aimonen [Sun, 20 Sep 2015 11:37:39 +0000 (14:37 +0300)]
Update changelog

8 years agoAdd syntax specification to .proto files (issue #167)
Petteri Aimonen [Sun, 20 Sep 2015 11:12:19 +0000 (14:12 +0300)]
Add syntax specification to .proto files (issue #167)

Eliminates a warning on protoc 3.0.

8 years agoFix maximum encoded size for negative enums (issue #166).
Petteri Aimonen [Sun, 13 Sep 2015 08:38:54 +0000 (11:38 +0300)]
Fix maximum encoded size for negative enums (issue #166).

8 years agoMake the generator understand included files (issue #165).
Petteri Aimonen [Sat, 12 Sep 2015 12:45:37 +0000 (15:45 +0300)]
Make the generator understand included files (issue #165).

This will allow message sizes and enum options to be available
across the include files.

Currently searching for .options files for included files may
not work for all path combinations, this is related to issue #116.
Should probably make a pull request to protoc about that.

8 years agoRefactor the generator logic into a ProtoFile class.
Petteri Aimonen [Sat, 12 Sep 2015 11:46:00 +0000 (14:46 +0300)]
Refactor the generator logic into a ProtoFile class.

In preparation for multi-file support in generator.
No functional changes yet.

8 years agoExpand the multiple_files test case to include oneofs and enums
Petteri Aimonen [Sat, 12 Sep 2015 10:27:56 +0000 (13:27 +0300)]
Expand the multiple_files test case to include oneofs and enums

8 years agoFix handling of unsigned 8- or 16-bit enums.
Petteri Aimonen [Sat, 12 Sep 2015 10:04:22 +0000 (13:04 +0300)]
Fix handling of unsigned 8- or 16-bit enums.

Previously unsigned enums would throw errors on decoding if the value
went outside the signed range (issue #164).

Currently only helps for enums defined within the same file, but solving
issue #165 will make it work for multiple files also.

8 years agoAdd testcase for issue #164
Petteri Aimonen [Sat, 12 Sep 2015 09:16:58 +0000 (12:16 +0300)]
Add testcase for issue #164

8 years agoAdd packed_enum option to generator.
Petteri Aimonen [Sat, 12 Sep 2015 09:15:27 +0000 (12:15 +0300)]
Add packed_enum option to generator.

This can be generally useful for saving RAM, but also makes
it easier to test for issue #164.

8 years agoAdd note about running tests on Mac OS X
Petteri Aimonen [Sat, 11 Jul 2015 06:23:47 +0000 (09:23 +0300)]
Add note about running tests on Mac OS X

9 years agoAdd link to forum to the readme
Petteri Aimonen [Wed, 1 Jul 2015 16:48:43 +0000 (19:48 +0300)]
Add link to forum to the readme

9 years agoMerge pull request #157 from ivankravets/patch-1
Petteri Aimonen [Wed, 17 Jun 2015 10:08:23 +0000 (13:08 +0300)]
Merge pull request #157 from ivankravets/patch-1

Specify additional fields for @PlatformIO Registry

9 years agoSpecify additional fields for @PlatformIO Registry
Ivan Kravets [Wed, 17 Jun 2015 10:05:01 +0000 (13:05 +0300)]
Specify additional fields for @PlatformIO Registry

9 years agoMerge pull request #156 from ncolomer/master
Petteri Aimonen [Tue, 16 Jun 2015 11:58:25 +0000 (14:58 +0300)]
Merge pull request #156 from ncolomer/master

PlatformIO Library Registry manifest file

9 years agoPlatformIO Library Registry manifest file
Nicolas Colomer [Tue, 16 Jun 2015 11:47:34 +0000 (13:47 +0200)]
PlatformIO Library Registry manifest file

9 years agoAdd download link to readme
Petteri Aimonen [Thu, 7 May 2015 16:59:56 +0000 (19:59 +0300)]
Add download link to readme

9 years agoFix for previous (issue #155)
Petteri Aimonen [Tue, 28 Apr 2015 15:16:51 +0000 (18:16 +0300)]
Fix for previous (issue #155)

9 years agoPrefer python2 in generator/protoc-gen-nanopb.
Petteri Aimonen [Tue, 28 Apr 2015 15:14:24 +0000 (18:14 +0300)]
Prefer python2 in generator/protoc-gen-nanopb.

Update issue 155
Status: FixedInGit

9 years agoSetting version to 0.3.4-dev
Petteri Aimonen [Fri, 10 Apr 2015 18:07:25 +0000 (21:07 +0300)]
Setting version to 0.3.4-dev

9 years agoPublishing nanopb-0.3.3
Petteri Aimonen [Fri, 10 Apr 2015 17:46:33 +0000 (20:46 +0300)]
Publishing nanopb-0.3.3

9 years agoSwitch to .tar.gz format for Mac OS X packages.
Petteri Aimonen [Wed, 8 Apr 2015 15:38:03 +0000 (18:38 +0300)]
Switch to .tar.gz format for Mac OS X packages.

Update issue 154
Status: FixedInGit

9 years agoFix problem with plugin options on Python 2.7.2 and older.
Petteri Aimonen [Wed, 8 Apr 2015 15:05:25 +0000 (18:05 +0300)]
Fix problem with plugin options on Python 2.7.2 and older.

Update issue 153
Status: FixedInGit

9 years agoUpdate changelog
Petteri Aimonen [Fri, 3 Apr 2015 18:14:06 +0000 (21:14 +0300)]
Update changelog

9 years agoClear callbacks for union fields.
Petteri Aimonen [Fri, 3 Apr 2015 18:07:14 +0000 (21:07 +0300)]
Clear callbacks for union fields.

Update issue 148
Status: FixedInGit

9 years agoFix for test case build rules
Petteri Aimonen [Fri, 3 Apr 2015 18:00:57 +0000 (21:00 +0300)]
Fix for test case build rules

9 years agoImprove comment support in .options files.
Petteri Aimonen [Fri, 3 Apr 2015 17:43:13 +0000 (20:43 +0300)]
Improve comment support in .options files.

Update issue 145
Status: FixedInGit

9 years agoAlways define enum long names so that cross-file references work.
Petteri Aimonen [Fri, 3 Apr 2015 17:08:05 +0000 (20:08 +0300)]
Always define enum long names so that cross-file references work.

Update issue 118
Status: FixedInGit

9 years agoAdd basic docs for msgid functionality
Petteri Aimonen [Fri, 3 Apr 2015 16:46:57 +0000 (19:46 +0300)]
Add basic docs for msgid functionality

9 years agoGenerate #defines for plain message ids
Petteri Aimonen [Fri, 3 Apr 2015 16:44:23 +0000 (19:44 +0300)]
Generate #defines for plain message ids

9 years agoAdd simple test case for message ids
Petteri Aimonen [Sun, 22 Mar 2015 09:19:43 +0000 (11:19 +0200)]
Add simple test case for message ids

9 years agoUse make_identifier() to create the name for FOO_MESSAGES define.
Petteri Aimonen [Sun, 22 Mar 2015 09:17:57 +0000 (11:17 +0200)]
Use make_identifier() to create the name for FOO_MESSAGES define.

This handles special charaters like in "my-file.proto" properly.
Also use headerbasename instead of full path, so that compiling files
with relative path doesn't create symbols like FOO/BAR/BAZ_MESSAGES.

9 years agonanopb_generator.py: emit macros for msgid message type id use
Michael Haberler [Sun, 22 Mar 2015 01:18:24 +0000 (02:18 +0100)]
nanopb_generator.py: emit macros for msgid message type id use

9 years agonanopb.proto: add msgid message-level option
Michael Haberler [Sun, 22 Mar 2015 01:17:30 +0000 (02:17 +0100)]
nanopb.proto: add msgid message-level option

9 years agoFix oneof submessage initialization bug.
Petteri Aimonen [Sat, 7 Mar 2015 08:25:09 +0000 (10:25 +0200)]
Fix oneof submessage initialization bug.

Update issue 149
Status: FixedInGit

9 years agoBetter error messages for syntax errors in .options file
Petteri Aimonen [Thu, 26 Feb 2015 16:16:25 +0000 (18:16 +0200)]
Better error messages for syntax errors in .options file

9 years agoFix generator error when long_names:false is combined with Oneofs.
Petteri Aimonen [Thu, 26 Feb 2015 15:33:36 +0000 (17:33 +0200)]
Fix generator error when long_names:false is combined with Oneofs.

Update issue 147
Status: FixedInGit

9 years agoInclude libprotobuf in linux binary package.
Petteri Aimonen [Sun, 22 Feb 2015 13:28:26 +0000 (15:28 +0200)]
Include libprotobuf in linux binary package.

Previously this got included by bbfreeze, but apparently no more.

Update issue 146
Status: FixedInGit

9 years agoLower required CMake version in example
Petteri Aimonen [Fri, 13 Feb 2015 16:57:46 +0000 (18:57 +0200)]
Lower required CMake version in example

9 years agoUpdate cmake_simple example readme
Petteri Aimonen [Fri, 13 Feb 2015 16:42:35 +0000 (18:42 +0200)]
Update cmake_simple example readme