Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-10-29 | Remove the NANOPB_INTERNALS functions from public API. | Petteri Aimonen | 10 | -45/+27 | |
These have been deprecated since nanopb-0.1.6 (some since 0.1.3). Equivalent functions with better interface are available in the API. Update issue 91 Status: FixedInGit | |||||
2013-10-29 | Declare static functions before use. | Petteri Aimonen | 2 | -13/+43 | |
For compliance with MISRA C rules (issue 91). | |||||
2013-10-29 | Cleanup of comments. | Petteri Aimonen | 2 | -15/+27 | |
2013-10-29 | Add a definition of the security model to the documentation. | Petteri Aimonen | 3 | -2/+82 | |
2013-10-29 | Rename some internal functions to have unique names | Petteri Aimonen | 2 | -4/+4 | |
2013-10-24 | Detect invalid sizes when encoding bytes fields. | Petteri Aimonen | 3 | -3/+24 | |
2013-10-24 | Same fix for EncodedSize.__mul__ | Petteri Aimonen | 1 | -1/+1 | |
2013-10-24 | Handle also longs in EncodedSize | Petteri Aimonen | 1 | -1/+1 | |
2013-10-23 | Fix the size of length prefix for messages in other files. | Petteri Aimonen | 1 | -0/+5 | |
2013-10-23 | Generate message size #defines also for messages defined in multiple files. | Petteri Aimonen | 5 | -8/+105 | |
Add testcase for the same. | |||||
2013-10-20 | Define pb_size_t and pb_ssize_t data types. | Petteri Aimonen | 1 | -22/+19 | |
Use these in pb_field_t definition to clean up some #ifs, and also to prepare for solving issue #82. | |||||
2013-10-20 | Check array max size when encoding. | Petteri Aimonen | 2 | -0/+17 | |
Update issue 90 Status: FixedInGit | |||||
2013-09-26 | Add #defines for the maximum encoded message size. | Petteri Aimonen | 5 | -19/+111 | |
Update issue 89 Status: FixedInGit | |||||
2013-09-18 | Setting version to 0.2.4-dev | Petteri Aimonen | 2 | -2/+2 | |
2013-09-18 | Publishing nanopb-0.2.3 | Petteri Aimonen | 2 | -2/+2 | |
2013-09-13 | Update changelog | Petteri Aimonen | 1 | -0/+9 | |
2013-09-13 | Add a new very simple example | Petteri Aimonen | 5 | -7/+149 | |
2013-09-13 | Move examples into subfolders, add READMEs | Petteri Aimonen | 24 | -55/+187 | |
2013-09-13 | Merge branch 'dev_get_rid_of_ternary_operator' | Petteri Aimonen | 2 | -20/+45 | |
2013-09-13 | Fine-tune the naming of new macros before merging into master. | Petteri Aimonen | 2 | -12/+18 | |
Requires re-generation of files generated with dev_get_rid_of_ternary_operator. | |||||
2013-09-11 | Expand extra_fields test to cover field skipping in case of streams. | Petteri Aimonen | 2 | -0/+4 | |
2013-09-11 | Disable warning about uint64_t (long long) | Petteri Aimonen | 1 | -1/+4 | |
2013-09-11 | Fix build error when path contains spaces | Petteri Aimonen | 1 | -3/+6 | |
2013-09-11 | Merge branch 'dev_tests_using_scons' | Petteri Aimonen | 70 | -291/+1026 | |
2013-09-11 | Add tests for different compilation options | Petteri Aimonen | 9 | -6/+286 | |
2013-09-11 | Windows build fixes | Petteri Aimonen | 4 | -6/+13 | |
2013-09-11 | Make all the tests ANSI C compatible. | Petteri Aimonen | 10 | -54/+100 | |
2013-09-11 | Get rid of the ternary operator in the pb_field_t initialization. | Petteri Aimonen | 2 | -20/+39 | |
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-10 | Move the rest of the tests to scons | Petteri Aimonen | 17 | -14/+151 | |
2013-09-10 | Compiler options for GCC, clang and tcc | Petteri Aimonen | 2 | -9/+65 | |
2013-09-10 | Move the declarations of _pb_ostream_t and _pb_istream_t before first use. | Petteri Aimonen | 2 | -67/+67 | |
Otherwise Microsoft Visual C++ threats them as C++ classes instead of plain structs, forbidding use in C linkage functions. Thanks to Markus Schwarzenberg for the patch. Update issue 84 Status: Started | |||||
2013-09-10 | Build fixes for Windows/Visual C++ | Petteri Aimonen | 13 | -49/+141 | |
2013-09-10 | Add an example pb_syshdr.h file for platforms without C99. | Petteri Aimonen | 3 | -0/+89 | |
This allows building the tests easily on Visual C++ in C mode. Also add checks to pb.h that the defined integer types are of the proper sizes. This may prevent some difficult to debug problems later.. | |||||
2013-09-10 | Convert more test cases to scons | Petteri Aimonen | 4 | -66/+124 | |
2013-09-09 | Move the declarations of _pb_ostream_t and _pb_istream_t before first use. | Petteri Aimonen | 2 | -67/+67 | |
Otherwise Microsoft Visual C++ threats them as C++ classes instead of plain structs, forbidding use in C linkage functions. Thanks to Markus Schwarzenberg for the patch. Update issue 84 Status: Started | |||||
2013-09-08 | Add support for running the nanopb generator as protoc plugin. | Petteri Aimonen | 4 | -55/+419 | |
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 | Start moving the tests into subfolders. Transition to SCons for build system ↵ | Petteri Aimonen | 43 | -162/+132 | |
for the tests. Only a few tests updated so far. Have to include all the rest before merging to mainline. Update issue 63 Status: Started | |||||
2013-09-08 | Handle unsupported extension field types more gracefully. | Petteri Aimonen | 2 | -5/+16 | |
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 | 2 | -2/+2 | |
2013-08-18 | Publishing nanopb-0.2.2 | Petteri Aimonen | 2 | -2/+2 | |
2013-08-08 | Update changelog | Petteri Aimonen | 1 | -0/+9 | |
2013-08-08 | Document field extensions support | Petteri Aimonen | 3 | -1/+80 | |
Update issue 17 Status: FixedInGit | |||||
2013-08-08 | Document PB_SYSTEM_HEADER | Petteri Aimonen | 2 | -1/+8 | |
2013-07-22 | Finish the testcase for extensions | Petteri Aimonen | 4 | -6/+29 | |
2013-07-22 | Fix bugs in extension support when multiple extension fields are present. | Petteri Aimonen | 3 | -4/+23 | |
2013-07-17 | Extension support implemented for decoder. | Petteri Aimonen | 3 | -7/+109 | |
Testing is still needed. Also only 'optional' extension fields are supported now, 'repeated' fields are not yet supported. | |||||
2013-07-17 | Add test case for extensions decoding | Petteri Aimonen | 3 | -2/+39 | |
2013-07-17 | Implement extension support for the encoder | Petteri Aimonen | 2 | -22/+74 | |
2013-07-17 | Implement generator support for extension fields (no encoder/decoder support ↵ | Petteri Aimonen | 6 | -16/+183 | |
yet) | |||||
2013-07-16 | Fix formatting in documentation | Petteri Aimonen | 1 | -23/+41 | |