Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-12-29 | Fix missing error messages in pb_encode.c | 1 | -1/+6 | ||
2013-12-29 | Rename encode_static_field -> encode_basic_field. | 1 | -4/+4 | ||
2013-12-29 | Organize allocation logic in generator, add pb_bytes_ptr_t. | 4 | -66/+63 | ||
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 | Const-correctness and small cleanup. | 1 | -21/+25 | ||
2013-12-29 | Generating and encoding messages with dynamic allocaiton | 9 | -36/+373 | ||
2013-12-22 | Negative int32 values take 10 bytes now. | 1 | -1/+1 | ||
2013-12-21 | Fix problem with decode_legacy test case on Windows. | 1 | -3/+8 | ||
2013-12-21 | Add test for extreme integer values (INT32_MAX etc.) in AllTypes. | 7 | -1/+92 | ||
2013-12-21 | Add PB_LTYPE_UVARINT to fix encoding of negative int32 values. | 3 | -22/+55 | ||
Apparently int32 values that are negative must be cast into int64 first before being encoded. Because uint32 still needs to be cast to uint64, the cases for int32 and uint32 had to be separated. Update issue 97 Status: FixedInGit | |||||
2013-12-21 | Modify the alltypes test to check re-encoding through protoc. | 3 | -15/+53 | ||
This way we can verify that the message is encoded exactly the same way as the official protobuf implementation would do it. | |||||
2013-11-14 | Optimize the common case of 1-byte reads for varints. | 1 | -3/+23 | ||
For PB_BUFFER_ONLY configuration, this gives 20% speedup without increasing code size. | |||||
2013-11-13 | Make tests build in a separate folder, add to gitignore | 17 | -51/+61 | ||
2013-11-11 | Fix path in FindNanopb.cmake. | 1 | -1/+1 | ||
Update issue 94 Status: FixedInGit | |||||
2013-11-07 | Setting version to 0.2.5-dev | 2 | -2/+2 | ||
2013-11-07 | Publishing nanopb-0.2.4 | 3 | -3/+3 | ||
2013-11-02 | Add dates to changelog | 1 | -15/+15 | ||
2013-11-02 | Update changelog | 1 | -0/+9 | ||
2013-11-02 | Generate #define tags for extension fields also. | 2 | -0/+11 | ||
Update issue 93 Status: FixedInGit | |||||
2013-10-29 | Remove the NANOPB_INTERNALS functions from public API. | 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. | 2 | -13/+43 | ||
For compliance with MISRA C rules (issue 91). | |||||
2013-10-29 | Cleanup of comments. | 2 | -15/+27 | ||
2013-10-29 | Add a definition of the security model to the documentation. | 3 | -2/+82 | ||
2013-10-29 | Rename some internal functions to have unique names | 2 | -4/+4 | ||
2013-10-24 | Detect invalid sizes when encoding bytes fields. | 3 | -3/+24 | ||
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. | 5 | -8/+105 | ||
Add testcase for the same. | |||||
2013-10-20 | Define pb_size_t and pb_ssize_t data types. | 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. | 2 | -0/+17 | ||
Update issue 90 Status: FixedInGit | |||||
2013-09-26 | Add #defines for the maximum encoded message size. | 5 | -19/+111 | ||
Update issue 89 Status: FixedInGit | |||||
2013-09-18 | Setting version to 0.2.4-dev | 2 | -2/+2 | ||
2013-09-18 | Publishing nanopb-0.2.3 | 2 | -2/+2 | ||
2013-09-13 | Update changelog | 1 | -0/+9 | ||
2013-09-13 | Add a new very simple example | 5 | -7/+149 | ||
2013-09-13 | Move examples into subfolders, add READMEs | 24 | -55/+187 | ||
2013-09-13 | Merge branch 'dev_get_rid_of_ternary_operator' | 2 | -20/+45 | ||
2013-09-13 | Fine-tune the naming of new macros before merging into master. | 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. | 2 | -0/+4 | ||
2013-09-11 | Disable warning about uint64_t (long long) | 1 | -1/+4 | ||
2013-09-11 | Fix build error when path contains spaces | 1 | -3/+6 | ||
2013-09-11 | Merge branch 'dev_tests_using_scons' | 70 | -291/+1026 | ||
2013-09-11 | Add tests for different compilation options | 9 | -6/+286 | ||
2013-09-11 | Windows build fixes | 4 | -6/+13 | ||
2013-09-11 | Make all the tests ANSI C compatible. | 10 | -54/+100 | ||
2013-09-11 | Get rid of the ternary operator in the pb_field_t initialization. | 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 | 17 | -14/+151 | ||
2013-09-10 | Compiler options for GCC, clang and tcc | 2 | -9/+65 | ||
2013-09-10 | Move the declarations of _pb_ostream_t and _pb_istream_t before first use. | 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++ | 13 | -49/+141 | ||