#
309837c2 |
|
19-May-2019 |
Fay <fay2003hiend@gmail.com> |
fix error when __STDC_VERSION__ is not defined
|
#
72f45943 |
|
21-Mar-2019 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add missing uint32_t casts (#385)
|
#
4b869d74 |
|
01-Mar-2019 |
Vitali Lovich <vlovich@google.com> |
Add C++ message descriptors helper Zero-overhead. Allows creating simpler general nanopb C++ wrappers by examining variable type and not needing macro magic.
|
#
5acd3778 |
|
30-Jan-2019 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Build fixes for Microsoft VC++
|
#
b2d04dfc |
|
25-Jan-2019 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Rename #define fieldname_default to _DEFAULT to avoid conflict with older constant. This should make migration error messages less confusing.
|
#
1d43638c |
|
10-Dec-2018 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add descriptorsize option.
|
#
87319f6a |
|
09-Dec-2018 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Allow specifying a per-message callback. This allows callbacks to be combined with oneofs and pointer fields (#175)
|
#
b71e4b7b |
|
09-Dec-2018 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Combine new per-msg encode/decode callbacks to one field_callback. This seems like it will result in less boilerplate in typical situations where a specific message is either decoded or encoded. Otherwise it would result in lots of dummy functions like: bool MyQuery_encode_callback(...) { return false; /* MyQuery is never encoded */ }
|
#
e605e188 |
|
06-Dec-2018 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Prepare for moving callback pointer to pb_msgdesc_t.
|
#
330a8353 |
|
02-Dec-2018 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add static asserts to check that field values fit in descriptor.
|
#
6a595279 |
|
01-Dec-2018 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
New field descriptor format. Now field information is stored as a variable-length uint32_t array. This reduces the minimum size in most cases: old new basic field: 10 bytes 4 bytes repeated field: 10 bytes 8 bytes field with 12bit tag/size: 16 bytes 8 bytes field with 16bit tag/size: 16 bytes 16 bytes field with 32bit tag/size: 28 bytes 16 bytes Further, now the descriptor size can be increased per-field and per-message, instead of previous global PB_FIELD_16BIT and PB_FIELD_32BIT. PB_FIELD_32BIT still affects the pb_size_t type, which is 16-bit by default.
|
#
c29ca83f |
|
10-Nov-2018 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.4.0-dev
|
#
3626b5c4 |
|
10-Nov-2018 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.3.9.2
|
#
b28d29f9 |
|
13-Feb-2018 |
Oliver Lee <oliverzlee@gmail.com> |
Fix decoding of non-packable fixed count repeated fields
|
#
fc41a5da |
|
13-Feb-2018 |
Oliver Lee <oliverzlee@gmail.com> |
Allow fixed count repeated values
|
#
2c4c3948 |
|
23-Sep-2017 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.4.0-dev
|
#
71ba4e68 |
|
23-Sep-2017 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.3.9
|
#
c291fee0 |
|
16-Sep-2017 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add option to build without 64-bit support (issue #86)
|
#
2ac6e976 |
|
04-May-2017 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Check CHAR_BIT before using optimized pb_decode_fixedXX() version
|
#
1d527d07 |
|
02-May-2017 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Set version to nanopb-0.4.0-dev
|
#
a55a66e7 |
|
05-Mar-2017 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.3.9-dev
|
#
cc74b9f2 |
|
05-Mar-2017 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.3.8
|
#
07375a12 |
|
22-Feb-2017 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Extend inline / fixed length bytes array support (issue #244) Adds support for proto3 and POINTER field types to have fixed length bytes arrays. Also changed the .proto option to a separate fixed_length:true, while also supporting the old FT_INLINE option. Restructured the generator and decoder logic to threat the inline bytes fields more like "just another field type".
|
#
2467922d |
|
12-Feb-2017 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Zero-valued extension fields were mistakenly ignored by encoder. (issue #242)
|
#
48f5dd83 |
|
31-Dec-2016 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Fix multiple oneofs in same message (issue #229) Previously the field iterator logic didn't know whether two oneof fields were part of the same union, or separate. This caused wrong pointers to be calculated if multiple oneofs were inside a single message. This commit fixes this by using dataoffset of PB_SIZE_MAX to indicate union fields after the first field. Theoretically PB_SIZE_MAX is also a valid value for data offset, which could cause errors. Adding a compile-time assert for this is somewhat difficult. However I consider it extremely unlikely that there is any platform that could trigger this situation, as it would require 255 bytes of extra data/padding between two protobuf oneof fields. On 64-bit architectures the worst case is 16 bytes, and even esoteric platforms only align to 64 bytes or so. Manual modification of the generated .pb.h file could trigger this, but even then it would require pretty bad luck to happen.
|
#
af601e4e |
|
30-Oct-2016 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.3.8-dev
|
#
60d8ba22 |
|
29-Oct-2016 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.3.7
|
#
ba97926c |
|
09-Oct-2016 |
Bernhard Krämer <bdkrae@gmail.com> |
Add proto3 option to handle singular fields
|
#
62afd549 |
|
02-Aug-2016 |
Tom Roeder <tmroeder@google.com> |
Add inline allocation of bytes fields This commit adds a new FT_INLINE allocation type that forces bytes fields to be inlined into the struct. E.g., pb_byte_t my_bytes[32]. This requires max_size for the bytes field. The FT_INLINE type is represented as a new LTYPE: FT_LTYPE_FIXED_LENGTH_BYTES. This commit also updates the documentation with FT_INLINE and FT_LTYPE_FIXED_LENGTH_BYTES. Added an AUTHORS file in apparent order of appearance in the git log history from $(git log --all).
|
#
9c36b596 |
|
19-Jun-2016 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.3.7-dev
|
#
eb0e73ca |
|
19-Jun-2016 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.3.6
|
#
4110ff29 |
|
12-Feb-2016 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.3.6-dev
|
#
a57831ac |
|
12-Feb-2016 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.3.5
|
#
8d35488b |
|
27-Jan-2016 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Remove obsolete __BIG_ENDIAN__ compilation option. This is now handled automatically using shift operations.
|
#
fa45589d |
|
27-Jan-2016 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Replace uint8_t with a pb_byte_t typedef. This supports platforms where uint8_t does not exist. If you are using a custom pb_syshdr.h, this may require adding definitions for uint_least8_t etc.
|
#
abdb5941 |
|
27-Jan-2016 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Modify the int size STATIC_ASSERTS to work with CHAR_BITS!=8. 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.
|
#
c1aa8aa9 |
|
14-Nov-2015 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add testcase for anonymous unions + few fixes. 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 ##.
|
#
9a8cc597 |
|
04-Nov-2015 |
Benjamin Kamath <ben.kamath@synapse.com> |
Add option to allow for anonymous unions
|
#
6cd4f20b |
|
25-Sep-2015 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.3.5-dev
|
#
47fdbadd |
|
26-Sep-2015 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.3.4
|
#
708084e7 |
|
12-Sep-2015 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Fix handling of unsigned 8- or 16-bit enums. 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.
|
#
47e744f3 |
|
10-Apr-2015 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.3.4-dev
|
#
3486f67e |
|
10-Apr-2015 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.3.3
|
#
5aa8207a |
|
24-Jan-2015 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to nanopb-0.3.3-dev
|
#
acd72917 |
|
24-Jan-2015 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.3.2
|
#
d2e023e3 |
|
11-Jan-2015 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Bugfixes for oneof support. Fixes crashes / memory leaks when using pointer type fields. Also fixes initialization of which_oneof fields.
|
#
7713d43b |
|
04-Jan-2015 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Implement support for oneofs (C unions). Basic test included, should probably add an oneof to the AllTypes test also. Update issue 131 Status: Started
|
#
b0d31468 |
|
03-Jan-2015 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Change PB_RETURN_ERROR() macro to avoid compiler warnings. Update issue 140 Status: FixedInGit
|
#
418f7d88 |
|
26-Dec-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add support for POINTER type in extensions
|
#
cfc517f3 |
|
22-Dec-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add compilation option to disable struct packing. Update issue 136 Status: FixedInGit
|
#
baf44b36 |
|
16-Sep-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Set version to nanopb-0.3.2-dev
|
#
b947dc6e |
|
11-Sep-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.3.1
|
#
71b81ad5 |
|
26-Aug-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.3.1-dev
|
#
8dede609 |
|
26-Aug-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.3.0
|
#
3ed21938 |
|
19-Aug-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add #if guard for .pb.h version. 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
|
#
be0b9e04 |
|
18-Aug-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Rename poorly named identifier to avoid name conflicts. Update issue 106 Status: FixedInGit
|
#
62b4a8ec |
|
18-Aug-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Rename UNUSED() and STATIC_ASSERT() macros with PB_ prefix. This avoids possible namespace conflicts with other macros.
|
#
1dd9f190 |
|
18-Aug-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Change the _count fields to use pb_size_t datatype. Update issue 82 Status: FixedInGit
|
#
0150b98b |
|
09-Aug-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.3.0-dev
|
#
2f05a35b |
|
09-Aug-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.2.9
|
#
8611958a |
|
30-May-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add PB_PACKED_STRUCT support for Keil MDK-ARM toolchain Patch from Jon Read. Update issue 119 Status: FixedInGit
|
#
2e9797af |
|
20-May-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.2.9-dev
|
#
916bcb36 |
|
20-May-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.2.8
|
#
938c7ac3 |
|
07-Apr-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.2.8-dev
|
#
6d74c66a |
|
07-Apr-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.2.7
|
#
7880f308 |
|
05-Apr-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Fix unused parameter warning when building without errmsg.
|
#
e5b855fe |
|
05-Apr-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add a 'found' field to pb_extension_t. Update issue 112 Status: FixedInGit
|
#
607cb998 |
|
17-Mar-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
More configuration options for dynamic alloc
|
#
9be2cfe9 |
|
15-Mar-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically. 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.
|
#
011a30af |
|
24-Feb-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Beginnings of malloc support in pb_decode
|
#
842c960d |
|
15-Feb-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.2.7-dev
|
#
7f397b06 |
|
15-Feb-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.2.6
|
#
879860be |
|
04-Feb-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add coments to places where STATIC_ASSERT is used. Update issue 96 Status: FixedInGit
|
#
843fc4b1 |
|
01-Jan-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.2.6-dev
|
#
906c8283 |
|
01-Jan-2014 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.2.5
|
#
25516b05 |
|
09-Dec-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Organize allocation logic in generator, add pb_bytes_ptr_t. 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.
|
#
4ae3b2e5 |
|
08-Dec-2013 |
Martin Donath <scifish@gmail.com> |
Generating and encoding messages with dynamic allocaiton
|
#
ee5b12c5 |
|
20-Dec-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add PB_LTYPE_UVARINT to fix encoding of negative int32 values. 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
|
#
321ca6c1 |
|
07-Nov-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.2.5-dev
|
#
935a26ab |
|
07-Nov-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.2.4
|
#
2bfd497e |
|
20-Oct-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Define pb_size_t and pb_ssize_t data types. Use these in pb_field_t definition to clean up some #ifs, and also to prepare for solving issue #82.
|
#
2363af29 |
|
17-Sep-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.2.4-dev
|
#
283a8f36 |
|
17-Sep-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.2.3
|
#
9ada7e75 |
|
13-Sep-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Fine-tune the naming of new macros before merging into master. Requires re-generation of files generated with dev_get_rid_of_ternary_operator.
|
#
840e213b |
|
11-Sep-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Get rid of the ternary operator in the pb_field_t initialization. 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.
|
#
e681dd0d |
|
09-Sep-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add an example pb_syshdr.h file for platforms without C99. 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..
|
#
4aef194a |
|
18-Aug-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.2.3-dev
|
#
81cf3003 |
|
18-Aug-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.2.2
|
#
1f13e8cd |
|
22-Jul-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Fix bugs in extension support when multiple extension fields are present.
|
#
ebddda9b |
|
17-Jul-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Implement extension support for the encoder
|
#
7c5e184c |
|
16-Jul-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Implement generator support for extension fields (no encoder/decoder support yet)
|
#
0ed31585 |
|
06-Jul-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add section in pb.h for changing compilation settings. Update issue 76 Status: FixedInGit
|
#
bfd7cb36 |
|
14-Apr-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.2.2-dev
|
#
ef741ea5 |
|
14-Apr-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.2.1
|
#
710465a8 |
|
07-Apr-2013 |
dch <david.hotham@blueyonder.co.uk> |
__pragma keyword is only supported by recent Microsoft compilers
|
#
214b0eae |
|
02-Apr-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Change the callback function to use void**. NOTE: This change breaks backwards-compatibility by default. If you have old callback functions, you can define PB_OLD_CALLBACK_STYLE to retain the old behaviour. If you want to convert your old callbacks to new signature, you need to do the following: 1) Change decode callback argument to void **arg and encode callback argument to void * const *arg. 2) Change any reference to arg into *arg. The rationale for making the new behaviour the default is that it simplifies the common case of "allocate some memory in decode callback". Update issue 69 Status: FixedInGit
|
#
6f3740f7 |
|
13-Mar-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Fix warning on clang. Update issue 67 Status: FixedInGit
|
#
1396dce2 |
|
13-Mar-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add support for packed structures on IAR and MSVC. Update issue 66 Status: FixedInGit
|
#
03e53930 |
|
09-Mar-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add PB_SYSTEM_HEADER compile time option. This allows replacing the C99 standard include file names with a single system-specific file. It should provide all the necessary system functions (typedefs, memset, memcpy, strlen). Update issue 62 Status: FixedInGit
|
#
104710b2 |
|
02-Mar-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.2.1-dev
|
#
c8e0732e |
|
02-Mar-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.2.0
|
#
41f98343 |
|
20-Feb-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Separate PB_HTYPE to PB_ATYPE and PB_HTYPE. Also clean up the logic so that it is easier to implement more allocation types in the future. Update issue 53 Status: FixedInGit
|
#
69085d93 |
|
20-Feb-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Rename PB_HTYPE_ARRAY -> PB_HTYPE_REPEATED. This is a more logical name in parallel with PB_HTYPE_REQUIRED and PB_HTYPE_OPTIONAL. Warning: This breaks backwards-compatibility of generated .pb.c files. You will have to regenerate the files and recompile.
|
#
258ba833 |
|
16-Feb-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Reformat generated .pb.c files using macros. 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
|
#
5b536d40 |
|
13-Feb-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.1.9.1-dev
|
#
4cc3372b |
|
13-Feb-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.1.9
|
#
ec4a7a0c |
|
11-Feb-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Replace pb_type_t enum with #defines. See issue #57.
|
#
c1a355b2 |
|
11-Feb-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Set version to 0.2.0-dev
|
#
2392d255 |
|
21-Jan-2013 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Fix misleading comment (current generator sets LTYPE always).
|
#
bb5dc045 |
|
13-Dec-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.1.9-dev
|
#
09ec60ca |
|
13-Dec-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.1.8
|
#
59788e2a |
|
16-Nov-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Rename test_compiles.c to test_multiple_files.c
|
#
cc29958d |
|
11-Nov-2012 |
Steffen Siering <steffen siering gmail com> |
Fix STATIC_ASSERT macro when using multiple .proto files. 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.
|
#
fc6f56b2 |
|
11-Nov-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Setting version to 0.1.8-dev
|
#
92bb37b0 |
|
11-Nov-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Publishing nanopb-0.1.7
|
#
08391f35 |
|
29-Oct-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add nanopb version number to generated files. tools/set_version.sh is used to update the values. Update issue 36 Status: FixedInGit
|
#
c3fa3626 |
|
29-Oct-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Give names to generated structures to allow forward declaration. Update issue 39 Status: FixedInGit
|
#
b214de4e |
|
03-Sep-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Enable -Wconversion for core and fix the warnings. This should help avoid issue 33 in the future.
|
#
f187aad6 |
|
02-Sep-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Fix -Wextra warning in generated .pb.c files. Compile the generated files with the same extra-strict settings as the core, in order to detect problems in tests. Update issue 32 Status: FixedInGit
|
#
0fb5e5e0 |
|
24-Aug-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Implement error messages in the decoder side. Update issue 7 Status: Started
|
#
72cca8d7 |
|
05-Jul-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Replace #warning with the standard #error.
|
#
7c5bb654 |
|
02-Jul-2012 |
Stan Hu <stanhu@aclimalabs.com> |
Cast enum vaules to integers and cast them back where appropraite to prevent mixed enumeration type compiler warnings
|
#
9b1e1b44 |
|
01-Jul-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Replace PB_MANY_FIELDS with PB_FIELD_16BIT and PB_FIELD_32BIT. This allows more precise control over the memory use vs. field size.
|
#
78086cc2 |
|
30-Jun-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Add PB_MANY_FIELDS option for supporting fields > 255. Add generator warning if this is necessary. Fixes issue #14.
|
#
95eb4a54 |
|
30-Jun-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Improve the detection of missing required fields. Now the limit of tracked fields is configurable at compile-time using PB_MAX_REQUIRED_FIELDS. Added related test and updated documentation. Fixes issue #18.
|
#
d1ca88d2 |
|
18-Apr-2012 |
Petteri Aimonen <jpa@git.mail.kapsi.fi> |
Fixing compiler warnings, mostly related to unused parameters. Thanks to David Hotham for the patch. Fixes issue 8.
|
#
2a80ff2b |
|
30-Nov-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
Merged 0004-Added-missing-trailing-newlines.patch by Matt Kern. Just adding newlines at the end of files to satisfy old GCC versions. git-svn-id: https://svn.kapsi.fi/jpa/nanopb@1021 e3a754e5-d11d-0410-8d38-ebb782a927b9
|
#
fcfc99f7 |
|
13-Sep-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
Fixed a bunch of bugs related to callback fields. Most importantly, callback fields in submessages were being overwritten with garbage, causing segfaults. Additionally, converted PB_LTYPE_FIXED to PB_LTYPE_FIXED32 and PB_LTYPE_FIXED64. This makes the interface a bit easier to use, and in addition runs faster. git-svn-id: https://svn.kapsi.fi/jpa/nanopb@975 e3a754e5-d11d-0410-8d38-ebb782a927b9
|
#
7f53c3f7 |
|
17-Aug-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
Example git-svn-id: https://svn.kapsi.fi/jpa/nanopb@957 e3a754e5-d11d-0410-8d38-ebb782a927b9
|
#
842d5263 |
|
14-Aug-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
More documentation, small improvements git-svn-id: https://svn.kapsi.fi/jpa/nanopb@955 e3a754e5-d11d-0410-8d38-ebb782a927b9
|
#
09f92baf |
|
10-Aug-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
Started writing documentation git-svn-id: https://svn.kapsi.fi/jpa/nanopb@953 e3a754e5-d11d-0410-8d38-ebb782a927b9
|
#
a8d01725 |
|
04-Aug-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
Encoder git-svn-id: https://svn.kapsi.fi/jpa/nanopb@951 e3a754e5-d11d-0410-8d38-ebb782a927b9
|
#
3959290b |
|
30-Jul-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
First version of header generator git-svn-id: https://svn.kapsi.fi/jpa/nanopb@950 e3a754e5-d11d-0410-8d38-ebb782a927b9
|
#
f8364310 |
|
30-Jul-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
unittests (some) git-svn-id: https://svn.kapsi.fi/jpa/nanopb@949 e3a754e5-d11d-0410-8d38-ebb782a927b9
|
#
b9ca72e6 |
|
28-Jul-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@947 e3a754e5-d11d-0410-8d38-ebb782a927b9
|
#
ead3b734 |
|
27-Jul-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
Making code ansi-compatible git-svn-id: https://svn.kapsi.fi/jpa/nanopb@944 e3a754e5-d11d-0410-8d38-ebb782a927b9
|
#
84304b34 |
|
27-Jul-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
Improvements, array support git-svn-id: https://svn.kapsi.fi/jpa/nanopb@943 e3a754e5-d11d-0410-8d38-ebb782a927b9
|
#
14bbe229 |
|
25-Jul-2011 |
Petteri Aimonen <jpa@npb.mail.kapsi.fi> |
First version of decoding git-svn-id: https://svn.kapsi.fi/jpa/nanopb@942 e3a754e5-d11d-0410-8d38-ebb782a927b9
|