Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-03-22 | nanopb_generator.py: emit macros for msgid message type id use | 1 | -4/+30 | ||
2015-03-22 | nanopb.proto: add msgid message-level option | 1 | -0/+3 | ||
2015-02-26 | Better error messages for syntax errors in .options file | 1 | -2/+16 | ||
2015-02-26 | Fix generator error when long_names:false is combined with Oneofs. | 1 | -0/+3 | ||
Update issue 147 Status: FixedInGit | |||||
2015-01-27 | Fix generator bug when oneof is first field in a message. | 1 | -1/+0 | ||
Added test case for the same. Update issue 142 Status: FixedInGit | |||||
2015-01-24 | Setting version to nanopb-0.3.3-dev | 1 | -1/+1 | ||
2015-01-24 | Publishing nanopb-0.3.2 | 1 | -1/+1 | ||
2015-01-23 | Fix encoded_size #defines for oneof messages. | 1 | -1/+11 | ||
The sizes are represented as EncodedSize() instances, which cause max() operation to sort them by address instead of value. This caused pretty much random item to be selected for the maximum. Update issue 141 Status: FixedInGit | |||||
2015-01-11 | New generator options for oneofs: allow skipping or generating as normal ↵ | 2 | -10/+23 | ||
'optional' fields. The behaviour with no_unions:true is the same as of nanopb 0.3.1 and earlier. | |||||
2015-01-07 | Fix generator error with OneOfs | 1 | -2/+3 | ||
2015-01-05 | Allow using 8/16/32/64 as values in int_size setting | 1 | -4/+4 | ||
2015-01-04 | Fix build failure | 1 | -1/+1 | ||
2015-01-04 | Implement support for oneofs (C unions). | 1 | -72/+192 | ||
Basic test included, should probably add an oneof to the AllTypes test also. Update issue 131 Status: Started | |||||
2015-01-04 | Add int_size option for generator. | 2 | -15/+41 | ||
This allows overriding the integer field types to e.g. uint8_t for saving RAM. Update issue 139 Status: FixedInGit | |||||
2014-12-26 | Include the field type in a comment for extension fields | 1 | -1/+2 | ||
2014-12-22 | Verify build with protobuf-3.0.0, fix problems. | 3 | -26/+124 | ||
Also updated descriptor.proto from protobuf-3.0.0. | |||||
2014-09-16 | Set version to nanopb-0.3.2-dev | 1 | -1/+1 | ||
2014-09-11 | Publishing nanopb-0.3.1 | 1 | -1/+1 | ||
2014-09-07 | Fix compilation error with generated initializers for repeated pointer fields | 1 | -0/+2 | ||
2014-08-28 | Fix cyclic messages support in generator. Beginnings of test. | 1 | -1/+1 | ||
Update issue 130 Status: Started | |||||
2014-08-26 | Setting version to 0.3.1-dev | 1 | -1/+1 | ||
2014-08-26 | Publishing nanopb-0.3.0 | 1 | -1/+1 | ||
2014-08-19 | Add #if guard for .pb.h version. | 1 | -1/+11 | ||
The version in PB_PROTO_HEADER_VERSION can be bumped whenever there is a breaking change to the generated files, and it will then alert to the difference. Update issue 129 Status: FixedInGit | |||||
2014-08-18 | Rename poorly named identifier to avoid name conflicts. | 1 | -2/+2 | ||
Update issue 106 Status: FixedInGit | |||||
2014-08-18 | Rename UNUSED() and STATIC_ASSERT() macros with PB_ prefix. | 1 | -3/+3 | ||
This avoids possible namespace conflicts with other macros. | |||||
2014-08-18 | Change the _count fields to use pb_size_t datatype. | 1 | -6/+3 | ||
Update issue 82 Status: FixedInGit | |||||
2014-08-09 | Setting version to 0.3.0-dev | 1 | -1/+1 | ||
2014-08-09 | Publishing nanopb-0.2.9 | 1 | -1/+1 | ||
2014-08-04 | Generate #defines for initializing message structures. | 1 | -16/+79 | ||
Usage like: MyMessage foo = MyMessage_init_default; MyMessage_init_default will initialize to default values defined in .proto. MyMessage_init_zero will initialize to null/zero values. Same results as {} or {0}, but will avoid compiler warnings by initializing everything explicitly. Update issue 79 Status: FixedInGit | |||||
2014-07-20 | Add skip_message option to generator. | 2 | -0/+7 | ||
Update issue 121 Status: FixedInGit | |||||
2014-07-20 | Do not automatically add a dot with generator -e option. | 1 | -6/+6 | ||
Now -e option in generator is more versatile. Especially it avoids double-dot problem with some build systems. Given foobar.proto, we now get: -e .pb => foobar.pb.c (default) -e _pb => foobar_pb.c -e '' => foobar.c Note that if you have used -e option previously, you will have to prepend . to the argument to get the same filenames as before. Update issue 122 Status: FixedInGit | |||||
2014-07-20 | Give better messages about the .options file path. | 1 | -1/+10 | ||
Update issue 124 Status: FixedInGit | |||||
2014-07-20 | Fix problem with .options file and extension fields. | 1 | -1/+1 | ||
The options for an extension field were being looked up under wrong name (MessageName instead of MessageName.fieldname). Fixed the problem and added regression test. Created a new subfolder for regression test cases. Update issue 125 Status: FixedInGit | |||||
2014-05-20 | Setting version to 0.2.9-dev | 1 | -1/+1 | ||
2014-05-20 | Publishing nanopb-0.2.8 | 1 | -1/+1 | ||
2014-04-18 | Add option to not add timestamps to .pb.h and .pb.c preambles. | 1 | -2/+10 | ||
Patch by rusnakp. Update issue 115 Status: FixedInGit | |||||
2014-04-07 | Setting version to 0.2.8-dev | 1 | -1/+1 | ||
2014-04-07 | Publishing nanopb-0.2.7 | 1 | -1/+1 | ||
2014-04-01 | Fix compile error when default value given for extension field. | 1 | -0/+2 | ||
Update issue 111 Status: FixedInGit | |||||
2014-03-15 | Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically. | 1 | -3/+3 | ||
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-02-15 | Setting version to 0.2.7-dev | 1 | -1/+1 | ||
2014-02-15 | Publishing nanopb-0.2.6 | 1 | -1/+1 | ||
2014-02-12 | Move descriptor.proto to google/protobuf directory where it belongs. | 5 | -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-12 | Improve status/error reporting in generator. | 1 | -11/+19 | ||
Update issue 105 Status: FixedInGit | |||||
2014-02-04 | Add coments to places where STATIC_ASSERT is used. | 1 | -10/+24 | ||
Update issue 96 Status: FixedInGit | |||||
2014-02-04 | Add proper suffixes for integer default values. | 1 | -0/+6 | ||
Update issue 102 Status: FixedInGit | |||||
2014-01-03 | Fix problem with callback-type fields (issue #99). | 1 | -0/+1 | ||
2014-01-01 | Setting version to 0.2.6-dev | 1 | -1/+1 | ||
2014-01-01 | Publishing nanopb-0.2.5 | 1 | -1/+1 | ||
2013-12-29 | Fix spaces in paths on Windows also | 1 | -1/+1 | ||