Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-09-07 | Add a few missing unit tests | Petteri Aimonen | 3 | -0/+36 | |
2014-09-07 | Fix compilation error with generated initializers for repeated pointer fields | Petteri Aimonen | 1 | -0/+2 | |
2014-09-07 | Code coverage results were ignoring the data from encode/decode unittests. | Petteri Aimonen | 1 | -3/+3 | |
Update issue 126 Status: Started | |||||
2014-09-07 | Update security model with regards to pointer fields | Petteri Aimonen | 1 | -5/+7 | |
2014-08-28 | Fix cyclic messages support in generator. Beginnings of test. | Petteri Aimonen | 5 | -1/+192 | |
Update issue 130 Status: Started | |||||
2014-08-26 | Add missing * in migration docs | Petteri Aimonen | 1 | -2/+2 | |
2014-08-26 | Setting version to 0.3.1-dev | Petteri Aimonen | 2 | -2/+2 | |
2014-08-26 | Publishing nanopb-0.3.0 | Petteri Aimonen | 2 | -2/+2 | |
2014-08-26 | Update changelog | Petteri Aimonen | 2 | -1/+13 | |
2014-08-26 | Add pb_common.c to examples | Petteri Aimonen | 3 | -3/+4 | |
2014-08-19 | Add #if guard for .pb.h version. | Petteri Aimonen | 6 | -115/+384 | |
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. | Petteri Aimonen | 7 | -28/+66 | |
Update issue 106 Status: FixedInGit | |||||
2014-08-18 | Rename UNUSED() and STATIC_ASSERT() macros with PB_ prefix. | Petteri Aimonen | 5 | -31/+35 | |
This avoids possible namespace conflicts with other macros. | |||||
2014-08-18 | Change the _count fields to use pb_size_t datatype. | Petteri Aimonen | 8 | -44/+77 | |
Update issue 82 Status: FixedInGit | |||||
2014-08-10 | Fix windows build error in tests | Petteri Aimonen | 1 | -2/+2 | |
2014-08-10 | Add document detailing migration from old versions | Petteri Aimonen | 3 | -1/+189 | |
2014-08-10 | Switch pb_encode to use the common iterator logic in pb_common.c | Petteri Aimonen | 5 | -43/+42 | |
Update issue 128 Status: FixedInGit | |||||
2014-08-10 | Separate field iterator logic from pb_decode to pb_common. | Petteri Aimonen | 22 | -138/+199 | |
2014-08-09 | Setting version to 0.3.0-dev | Petteri Aimonen | 2 | -2/+2 | |
2014-08-09 | Publishing nanopb-0.2.9 | Petteri Aimonen | 3 | -3/+3 | |
2014-08-04 | Update changelog | Petteri Aimonen | 1 | -0/+13 | |
2014-08-04 | Generate #defines for initializing message structures. | Petteri Aimonen | 5 | -20/+84 | |
Usage like: MyMessage foo = MyMessage_init_default; MyMessage_init_default will initialize to default values defined in .proto. MyMessage_init_zero will initialize to null/zero values. Same results as {} or {0}, but will avoid compiler warnings by initializing everything explicitly. Update issue 79 Status: FixedInGit | |||||
2014-07-20 | Add skip_message option to generator. | Petteri Aimonen | 4 | -3/+17 | |
Update issue 121 Status: FixedInGit | |||||
2014-07-20 | Add support for inverted patterns in test framework. | Petteri Aimonen | 1 | -3/+14 | |
2014-07-20 | Cleanup and comment the code of network_server example. | Petteri Aimonen | 2 | -65/+118 | |
Update issue 123 Status: FixedInGit | |||||
2014-07-20 | Do not automatically add a dot with generator -e option. | Petteri Aimonen | 1 | -6/+6 | |
Now -e option in generator is more versatile. Especially it avoids double-dot problem with some build systems. Given foobar.proto, we now get: -e .pb => foobar.pb.c (default) -e _pb => foobar_pb.c -e '' => foobar.c Note that if you have used -e option previously, you will have to prepend . to the argument to get the same filenames as before. Update issue 122 Status: FixedInGit | |||||
2014-07-20 | Give better messages about the .options file path. | Petteri Aimonen | 1 | -1/+10 | |
Update issue 124 Status: FixedInGit | |||||
2014-07-20 | Fix problem with .options file and extension fields. | Petteri Aimonen | 6 | -2/+34 | |
The options for an extension field were being looked up under wrong name (MessageName instead of MessageName.fieldname). Fixed the problem and added regression test. Created a new subfolder for regression test cases. Update issue 125 Status: FixedInGit | |||||
2014-06-02 | Add unit tests for allocate_field(). | Petteri Aimonen | 1 | -0/+23 | |
2014-06-02 | Make clearer that size = 0 in allocate_field() is not allowed. | Petteri Aimonen | 1 | -17/+12 | |
Back in design phase the code used realloc() for freeing the memory also. However, this is not entirely portable, and therefore the finished implementation used free() separately. There were some remnants of the size = 0 code in the allocate_field() code, which made it somewhat confusing. This change makes it clearer that size = 0 is not allowed (and not used by nanopb). | |||||
2014-06-02 | Don't use SIZE_MAX macro, as it is not in C89. | Petteri Aimonen | 1 | -1/+2 | |
Update issue 120 Status: FixedInGit | |||||
2014-05-30 | Add PB_PACKED_STRUCT support for Keil MDK-ARM toolchain | Petteri Aimonen | 1 | -2/+2 | |
Patch from Jon Read. Update issue 119 Status: FixedInGit | |||||
2014-05-20 | Setting version to 0.2.9-dev | Petteri Aimonen | 2 | -2/+2 | |
2014-05-20 | Update changelog for 0.2.8 | Petteri Aimonen | 1 | -0/+6 | |
2014-05-20 | Publishing nanopb-0.2.8 | Petteri Aimonen | 2 | -2/+2 | |
2014-05-17 | Fix bug in alltypes test case that made fuzzing difficult. | Petteri Aimonen | 5 | -0/+7 | |
2014-05-17 | Fix security issue with PB_ENABLE_MALLOC. | Petteri Aimonen | 1 | -2/+22 | |
The multiplication in allocate_field could potentially overflow, leading to allocating too little memory. This could subsequently allow an attacker to cause a write past the buffer, overwriting other memory contents. The attack is possible if untrusted message data is decoded using nanopb, and the message type includes a pointer-type string or bytes field, or a repeated numeric field. Submessage fields are not affected. This issue only affects systems that have been compiled with PB_ENABLE_MALLOC enabled. Only version nanopb-0.2.7 is affected, as prior versions do not include this functionality. Update issue 117 Status: FixedInGit | |||||
2014-04-26 | Docs update, remove malloc from limitations list | Petteri Aimonen | 1 | -1/+0 | |
2014-04-18 | Add option to not add timestamps to .pb.h and .pb.c preambles. | Petteri Aimonen | 1 | -2/+10 | |
Patch by rusnakp. Update issue 115 Status: FixedInGit | |||||
2014-04-15 | Fix typos in scons command line options | Petteri Aimonen | 1 | -2/+2 | |
2014-04-15 | Remove -O0 from tests CFLAGS so that optimized builds can be tested also | Petteri Aimonen | 1 | -4/+4 | |
2014-04-09 | Fix bug in missing_fields test case | Petteri Aimonen | 1 | -2/+5 | |
2014-04-09 | Use -fsanitize=undefined when running tests with clang | Petteri Aimonen | 1 | -3/+13 | |
2014-04-07 | Setting version to 0.2.8-dev | Petteri Aimonen | 2 | -2/+2 | |
2014-04-07 | Publishing nanopb-0.2.7 | Petteri Aimonen | 2 | -2/+2 | |
2014-04-07 | Update changelog | Petteri Aimonen | 1 | -0/+8 | |
2014-04-05 | Add rule for building coverage summary using lcov. | Petteri Aimonen | 6 | -18/+49 | |
Also modified a few tests to be more compatible with coverage information, so that they use the same pb_encode/decode.c instead of making a copy. | |||||
2014-04-05 | Fix unused parameter warning when building without errmsg. | Petteri Aimonen | 1 | -1/+5 | |
2014-04-05 | Add a convenience function pb_get_encoded_size() | Petteri Aimonen | 3 | -0/+24 | |
There is minimal size penalty from this, and it is probably much more intuitive to use than PB_OSTREAM_SIZING itself. This has been suggested before also, but I ended up refusing it back them. Reconsidering it now, I see that an intuitive API is much better than any amount of documentation explaining a non-intuitive API. Update issue 16 Status: FixedInGit | |||||
2014-04-05 | Add a 'found' field to pb_extension_t. | Petteri Aimonen | 4 | -2/+8 | |
Update issue 112 Status: FixedInGit |