Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-09-08 | Handle unsupported extension field types more gracefully. | Petteri Aimonen | 1 | -5/+14 | |
Previously the generator would stop with NotImplementedException as soon as a required or repeated extension field is found. New behaviour is to just ignore the unsupported field and note that in a comment in the generated file. Furthermore, allow skipping of extension fields using the generator option (nanopb).type = FT_IGNORE. Update issue 83 Status: FixedInGit | |||||
2013-08-18 | Setting version to 0.2.3-dev | Petteri Aimonen | 1 | -1/+1 | |
2013-08-18 | Publishing nanopb-0.2.2 | Petteri Aimonen | 1 | -1/+1 | |
2013-07-22 | Fix bugs in extension support when multiple extension fields are present. | Petteri Aimonen | 1 | -3/+6 | |
2013-07-17 | Extension support implemented for decoder. | Petteri Aimonen | 1 | -4/+13 | |
Testing is still needed. Also only 'optional' extension fields are supported now, 'repeated' fields are not yet supported. | |||||
2013-07-17 | Implement generator support for extension fields (no encoder/decoder support ↵ | Petteri Aimonen | 1 | -12/+85 | |
yet) | |||||
2013-07-06 | Document the .options file usage. | Petteri Aimonen | 1 | -0/+2 | |
Also add note about the 'packed' message option being incompatible with CPUs that do not support unaligned access. Update issue 12 Status: FixedInGit Update issue 77 Status: FixedInGit | |||||
2013-06-03 | Include the field tags in the generated .pb.h file. | Petteri Aimonen | 1 | -0/+11 | |
Patch from Michael Haberler. | |||||
2013-04-14 | Setting version to 0.2.2-dev | Petteri Aimonen | 1 | -1/+1 | |
2013-04-14 | Publishing nanopb-0.2.1 | Petteri Aimonen | 1 | -1/+1 | |
2013-04-02 | Do not generate has_ fields for callback fields. | Petteri Aimonen | 1 | -1/+1 | |
The arg field can be used to store the field presence from inside the callback. Furthermore, having the has_ field for encoding callbacks would be more annoying than useful. Update issue 70 Status: FixedInGit | |||||
2013-03-13 | Add support for packed structures on IAR and MSVC. | Petteri Aimonen | 1 | -0/+5 | |
Update issue 66 Status: FixedInGit | |||||
2013-03-09 | Make the generator options accept a file name in addition to format string. | Petteri Aimonen | 1 | -2/+10 | |
2013-03-09 | Add simple support for separate options file. | Petteri Aimonen | 2 | -33/+87 | |
Update issue 12 Still needs documentation. | |||||
2013-03-06 | Add a dummy field if struct would otherwise be empty. | Petteri Aimonen | 1 | -0/+6 | |
Update issue 64 Status: FixedInGit | |||||
2013-03-04 | Add generator option to configure #include directives. | Petteri Aimonen | 1 | -5/+14 | |
This suits complex projects, where there are multiple interdependent .proto files in various directories. Patch by Michael Haberler. | |||||
2013-03-02 | Setting version to 0.2.1-dev | Petteri Aimonen | 1 | -1/+1 | |
2013-03-02 | Publishing nanopb-0.2.0 | Petteri Aimonen | 1 | -1/+1 | |
2013-02-28 | Add --extension option to generator. | Petteri Aimonen | 1 | -5/+7 | |
Patch courtesy of Michael Haberler. | |||||
2013-02-21 | Move STATIC_ASSERTs to .pb.c file. | Petteri Aimonen | 1 | -22/+24 | |
This way the .pb.h will remain cleaner and easier to read. | |||||
2013-02-17 | Reformat generated .pb.c files using macros. | Petteri Aimonen | 1 | -86/+63 | |
This has the following advantages: 1) Easier to modify pb_field_t encoding 2) Simpler generator logic 3) Tidier looking, easier to read .pb.c files Update issue 58 Status: FixedInGit | |||||
2013-02-11 | Set version to 0.2.0-dev | Petteri Aimonen | 1 | -1/+1 | |
2013-02-07 | Add check for sizeof(double) == 8. | Petteri Aimonen | 1 | -0/+15 | |
Update issue 54 Status: FixedInGit | |||||
2013-02-07 | Sanitize filenames before putting them in #ifndef. | Petteri Aimonen | 1 | -1/+11 | |
Update issue 50 Status: FixedInGit | |||||
2013-02-05 | Add Java package name to nanopb.proto. | Petteri Aimonen | 1 | -0/+2 | |
This fixes problems when interoperating with Java. Fix suggested by trepidacious: https://groups.google.com/forum/#!topic/nanopb/hZgrj6h9OnY | |||||
2013-01-14 | Add field type FT_IGNORE to generator. | Petteri Aimonen | 3 | -3/+15 | |
This allows ignoring fields that are unnecessary or too large for an embedded system using nanopb, while allowing them to remain in the .proto for other platforms. Update issue 51 Status: FixedInGit | |||||
2013-01-10 | Add generator option for packed structs. | Petteri Aimonen | 3 | -6/+22 | |
Usage is: message Foo { option (nanopb_msgopt).packed_struct = true; ... } Valid also in file scope. Update issue 49 Status: FixedInGit | |||||
2013-01-10 | Cleanup: get rid of unnecessary spaces | Petteri Aimonen | 1 | -6/+6 | |
2012-12-13 | Setting version to 0.1.9-dev | Petteri Aimonen | 1 | -1/+1 | |
2012-12-13 | Publishing nanopb-0.1.8 | Petteri Aimonen | 1 | -1/+1 | |
2012-11-16 | Fix STATIC_ASSERT macro when using multiple .proto files. | Steffen Siering | 1 | -2/+6 | |
The __COUNTER__ macro (used for generating unique names) is at least supported by gcc, clang and Visual Studio. With this change test_compiles.c is compilable, since no more typedefs are redefined. Compilers/Preprocessors not supporting __COUNTER__ error's are still possible which are hopfully handled by the usage of __LINE__ in most sittuations. Added unit test for the problem. | |||||
2012-11-14 | Fix naming of nested Enums with short names | Petteri Aimonen | 1 | -3/+4 | |
2012-11-14 | Fix naming of enums when long_names=false. | Petteri Aimonen | 1 | -3/+18 | |
Modify test case to check that options.pb.o compiles. Update issue 42 Status: FixedInGit Update issue 43 Status: FixedInGit | |||||
2012-11-11 | Setting version to 0.1.8-dev | Petteri Aimonen | 1 | -1/+1 | |
2012-11-11 | Publishing nanopb-0.1.7 | Petteri Aimonen | 1 | -1/+1 | |
2012-10-29 | Add nanopb version number to generated files. | Petteri Aimonen | 1 | -1/+4 | |
tools/set_version.sh is used to update the values. Update issue 36 Status: FixedInGit | |||||
2012-10-29 | Add extern "C" to header files. | Petteri Aimonen | 1 | -1/+8 | |
Update issue 35 Status: FixedInGit | |||||
2012-10-29 | Add option to use short names for enum values. | Petteri Aimonen | 3 | -7/+45 | |
Update issue 38 Status: FixedInGit | |||||
2012-10-29 | Allow defining field type in .proto. | Petteri Aimonen | 3 | -8/+61 | |
Update issue 30 Status: FixedInGit | |||||
2012-10-29 | Improve .proto options parsing. | Petteri Aimonen | 3 | -21/+89 | |
Options can now be defined on command line, file, message or in field scope. Update issue 12 Status: Started | |||||
2012-10-29 | Use optparse in nanopb_generator.py | Petteri Aimonen | 1 | -31/+85 | |
2012-10-29 | Give names to generated structures to allow forward declaration. | Petteri Aimonen | 1 | -2/+2 | |
Update issue 39 Status: FixedInGit | |||||
2012-07-05 | Fix bug with .proto without messages (again), and add a test case for it. | Petteri Aimonen | 1 | -9/+10 | |
2012-07-05 | Replace #warning with the standard #error. | Petteri Aimonen | 1 | -5/+2 | |
2012-07-05 | Cast enum vaules to integers and cast them back where appropraite | Stan Hu | 1 | -3/+3 | |
to prevent mixed enumeration type compiler warnings | |||||
2012-07-01 | Replace PB_MANY_FIELDS with PB_FIELD_16BIT and PB_FIELD_32BIT. | Petteri Aimonen | 1 | -26/+37 | |
This allows more precise control over the memory use vs. field size. | |||||
2012-06-30 | Add PB_MANY_FIELDS option for supporting fields > 255. | Petteri Aimonen | 1 | -0/+38 | |
Add generator warning if this is necessary. Fixes issue #14. | |||||
2012-06-30 | Warn if PB_MAX_REQUIRED_FIELDS is not large enough. | Petteri Aimonen | 1 | -0/+10 | |
2012-06-20 | Fix error when .proto contains no Messages (e.g. just enums). | Petteri Aimonen | 1 | -1/+1 | |
Thanks to Paul Fertser for reporting this bug. | |||||
2012-06-12 | Add descriptor.proto into the #include exclusion list | Petteri Aimonen | 1 | -1/+1 | |