Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | Fixes for pyinstaller | 1 | -0/+7 | ||
2013-12-29 | Make generator print errors to stderr. | 1 | -12/+14 | ||
Otherwise they won't be visible when run as a protoc plugin. | |||||
2013-12-29 | Rework the Makefiles to be compatible with binary packages. | 1 | -5/+12 | ||
2013-12-29 | Add build script for windows package | 1 | -13/+10 | ||
2013-12-29 | Move the generator .proto files to a subdir, and get rid of precompiled ↵ | 1 | -2/+2 | ||
versions. | |||||
2013-12-29 | Organize allocation logic in generator, add pb_bytes_ptr_t. | 1 | -45/+42 | ||
Allocation decision is now made before the field data type is decided. This way the data type decisions can more cleanly account for the allocation type, i.e. FT_DEFAULT logic etc. Added pb_bytes_ptr_t for pointer-allocated bytes-fields. There is no point generating separate structs for these, as they would all be of the same type. | |||||
2013-12-29 | Generating and encoding messages with dynamic allocaiton | 1 | -18/+44 | ||
2013-12-22 | Negative int32 values take 10 bytes now. | 1 | -1/+1 | ||
2013-11-07 | Setting version to 0.2.5-dev | 1 | -1/+1 | ||
2013-11-07 | Publishing nanopb-0.2.4 | 1 | -1/+1 | ||
2013-11-02 | Generate #define tags for extension fields also. | 1 | -0/+7 | ||
Update issue 93 Status: FixedInGit | |||||
2013-10-24 | Same fix for EncodedSize.__mul__ | 1 | -1/+1 | ||
2013-10-24 | Handle also longs in EncodedSize | 1 | -1/+1 | ||
2013-10-23 | Fix the size of length prefix for messages in other files. | 1 | -0/+5 | ||
2013-10-23 | Generate message size #defines also for messages defined in multiple files. | 1 | -8/+50 | ||
Add testcase for the same. | |||||
2013-09-26 | Add #defines for the maximum encoded message size. | 1 | -16/+95 | ||
Update issue 89 Status: FixedInGit | |||||
2013-09-18 | Setting version to 0.2.4-dev | 1 | -1/+1 | ||
2013-09-18 | Publishing nanopb-0.2.3 | 1 | -1/+1 | ||
2013-09-13 | Fine-tune the naming of new macros before merging into master. | 1 | -1/+1 | ||
Requires re-generation of files generated with dev_get_rid_of_ternary_operator. | |||||
2013-09-11 | Get rid of the ternary operator in the pb_field_t initialization. | 1 | -1/+2 | ||
Some compilers where unable to detect that the ternary operator can be evaluated at the compile time. This commit does the evaluation on the Python side, which should fix the problem. The new .pb.c files are generated using PB_FIELD2() macro. The old PB_FIELD() macro remains, so that previously generated files keep working. | |||||
2013-09-08 | Add support for running the nanopb generator as protoc plugin. | 1 | -55/+110 | ||
Will be used to implement issue 47. For now, symlink nanopb_generator.py as protoc-gen-nanopb and use protoc --nanopb_out=. to call it. | |||||
2013-09-08 | Handle unsupported extension field types more gracefully. | 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 | 1 | -1/+1 | ||
2013-08-18 | Publishing nanopb-0.2.2 | 1 | -1/+1 | ||
2013-07-22 | Fix bugs in extension support when multiple extension fields are present. | 1 | -3/+6 | ||
2013-07-17 | Extension support implemented for decoder. | 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 ↵ | 1 | -12/+85 | ||
yet) | |||||
2013-06-03 | Include the field tags in the generated .pb.h file. | 1 | -0/+11 | ||
Patch from Michael Haberler. | |||||
2013-04-14 | Setting version to 0.2.2-dev | 1 | -1/+1 | ||
2013-04-14 | Publishing nanopb-0.2.1 | 1 | -1/+1 | ||
2013-04-02 | Do not generate has_ fields for callback fields. | 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. | 1 | -0/+5 | ||
Update issue 66 Status: FixedInGit | |||||
2013-03-09 | Make the generator options accept a file name in addition to format string. | 1 | -2/+10 | ||
2013-03-09 | Add simple support for separate options file. | 1 | -33/+81 | ||
Update issue 12 Still needs documentation. | |||||
2013-03-06 | Add a dummy field if struct would otherwise be empty. | 1 | -0/+6 | ||
Update issue 64 Status: FixedInGit | |||||
2013-03-04 | Add generator option to configure #include directives. | 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 | 1 | -1/+1 | ||
2013-03-02 | Publishing nanopb-0.2.0 | 1 | -1/+1 | ||
2013-02-28 | Add --extension option to generator. | 1 | -5/+7 | ||
Patch courtesy of Michael Haberler. | |||||
2013-02-21 | Move STATIC_ASSERTs to .pb.c file. | 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. | 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 | 1 | -1/+1 | ||
2013-02-07 | Add check for sizeof(double) == 8. | 1 | -0/+15 | ||
Update issue 54 Status: FixedInGit | |||||
2013-02-07 | Sanitize filenames before putting them in #ifndef. | 1 | -1/+11 | ||
Update issue 50 Status: FixedInGit |