Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-01-27 | Modify the int size STATIC_ASSERTS to work with CHAR_BITS!=8. | 1 | -9/+3 | ||
This will still catch the most common bug of long int vs. long long int. The uint8_t checks do not seem necessary, test for this will be added in later commit. | |||||
2015-11-14 | Add testcase for anonymous unions + few fixes. | 1 | -2/+2 | ||
Fixes compilation error with anonymous unions when it is not the last field in message. Also fixes extraneous newlines in header file. Cleanup the pb.h extraneous use of ##. | |||||
2015-11-10 | Add option to allow for anonymous unions | 1 | -1/+16 | ||
2015-09-26 | Setting version to 0.3.5-dev | 1 | -1/+1 | ||
2015-09-26 | Publishing nanopb-0.3.4 | 1 | -1/+1 | ||
2015-09-12 | Fix handling of unsigned 8- or 16-bit enums. | 1 | -1/+2 | ||
Previously unsigned enums would throw errors on decoding if the value went outside the signed range (issue #164). Currently only helps for enums defined within the same file, but solving issue #165 will make it work for multiple files also. | |||||
2015-04-10 | Setting version to 0.3.4-dev | 1 | -1/+1 | ||
2015-04-10 | Publishing nanopb-0.3.3 | 1 | -1/+1 | ||
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-11 | Bugfixes for oneof support. | 1 | -1/+1 | ||
Fixes crashes / memory leaks when using pointer type fields. Also fixes initialization of which_oneof fields. | |||||
2015-01-04 | Implement support for oneofs (C unions). | 1 | -0/+18 | ||
Basic test included, should probably add an oneof to the AllTypes test also. Update issue 131 Status: Started | |||||
2015-01-03 | Change PB_RETURN_ERROR() macro to avoid compiler warnings. | 1 | -11/+10 | ||
Update issue 140 Status: FixedInGit | |||||
2014-12-26 | Add support for POINTER type in extensions | 1 | -2/+4 | ||
2014-12-22 | Add compilation option to disable struct packing. | 1 | -1/+10 | ||
Update issue 136 Status: FixedInGit | |||||
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-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 | -14/+6 | ||
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 | -14/+14 | ||
Update issue 106 Status: FixedInGit | |||||
2014-08-18 | Rename UNUSED() and STATIC_ASSERT() macros with PB_ prefix. | 1 | -18/+22 | ||
This avoids possible namespace conflicts with other macros. | |||||
2014-08-18 | Change the _count fields to use pb_size_t datatype. | 1 | -2/+5 | ||
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-05-30 | Add PB_PACKED_STRUCT support for Keil MDK-ARM toolchain | 1 | -2/+2 | ||
Patch from Jon Read. Update issue 119 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-07 | Setting version to 0.2.8-dev | 1 | -1/+1 | ||
2014-04-07 | Publishing nanopb-0.2.7 | 1 | -1/+1 | ||
2014-04-05 | Fix unused parameter warning when building without errmsg. | 1 | -1/+5 | ||
2014-04-05 | Add a 'found' field to pb_extension_t. | 1 | -0/+4 | ||
Update issue 112 Status: FixedInGit | |||||
2014-03-17 | More configuration options for dynamic alloc | 1 | -0/+14 | ||
2014-03-15 | Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically. | 1 | -9/+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-24 | Beginnings of malloc support in pb_decode | 1 | -0/+4 | ||
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-04 | Add coments to places where STATIC_ASSERT is used. | 1 | -3/+13 | ||
Update issue 96 Status: FixedInGit | |||||
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 | Organize allocation logic in generator, add pb_bytes_ptr_t. | 1 | -3/+11 | ||
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 | -0/+17 | ||
2013-12-21 | Add PB_LTYPE_UVARINT to fix encoding of negative int32 values. | 1 | -17/+13 | ||
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-11-07 | Setting version to 0.2.5-dev | 1 | -1/+1 | ||
2013-11-07 | Publishing nanopb-0.2.4 | 1 | -1/+1 | ||
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-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 | Merge branch 'dev_get_rid_of_ternary_operator' | 1 | -19/+43 | ||
2013-09-13 | Fine-tune the naming of new macros before merging into master. | 1 | -11/+17 | ||
Requires re-generation of files generated with dev_get_rid_of_ternary_operator. |