Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-12-22 | Verify build with protobuf-3.0.0, fix problems. | 1 | -2/+2 | ||
Also updated descriptor.proto from protobuf-3.0.0. | |||||
2014-09-11 | Add a fuzz testing stub for ability to use external generators also | 5 | -0/+209 | ||
2014-09-11 | Add a better fuzz test. | 8 | -1/+565 | ||
Attempts to verify all the properties defined in the security model, while also being portable and able to run on many platforms. | |||||
2014-09-07 | Add test case for simulated io errors. | 5 | -0/+203 | ||
Update issue 126 Status: FixedInGit | |||||
2014-09-07 | Add a few missing unit tests | 3 | -0/+36 | ||
2014-09-07 | Code coverage results were ignoring the data from encode/decode unittests. | 1 | -3/+3 | ||
Update issue 126 Status: Started | |||||
2014-08-28 | Fix cyclic messages support in generator. Beginnings of test. | 4 | -0/+191 | ||
Update issue 130 Status: Started | |||||
2014-08-19 | Add #if guard for .pb.h version. | 4 | -100/+367 | ||
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 | -1/+0 | ||
Update issue 106 Status: FixedInGit | |||||
2014-08-18 | Rename UNUSED() and STATIC_ASSERT() macros with PB_ prefix. | 1 | -3/+3 | ||
This avoids possible namespace conflicts with other macros. | |||||
2014-08-18 | Change the _count fields to use pb_size_t datatype. | 3 | -23/+23 | ||
Update issue 82 Status: FixedInGit | |||||
2014-08-10 | Fix windows build error in tests | 1 | -2/+2 | ||
2014-08-10 | Switch pb_encode to use the common iterator logic in pb_common.c | 1 | -0/+1 | ||
Update issue 128 Status: FixedInGit | |||||
2014-08-10 | Separate field iterator logic from pb_decode to pb_common. | 19 | -29/+40 | ||
2014-08-04 | Generate #defines for initializing message structures. | 4 | -4/+5 | ||
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. | 2 | -3/+10 | ||
Update issue 121 Status: FixedInGit | |||||
2014-07-20 | Add support for inverted patterns in test framework. | 1 | -3/+14 | ||
2014-07-20 | Fix problem with .options file and extension fields. | 5 | -1/+33 | ||
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(). | 1 | -0/+23 | ||
2014-05-17 | Fix bug in alltypes test case that made fuzzing difficult. | 5 | -0/+7 | ||
2014-04-15 | Fix typos in scons command line options | 1 | -2/+2 | ||
2014-04-15 | Remove -O0 from tests CFLAGS so that optimized builds can be tested also | 1 | -4/+4 | ||
2014-04-09 | Fix bug in missing_fields test case | 1 | -2/+5 | ||
2014-04-09 | Use -fsanitize=undefined when running tests with clang | 1 | -3/+13 | ||
2014-04-05 | Add rule for building coverage summary using lcov. | 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 | Add a convenience function pb_get_encoded_size() | 1 | -0/+9 | ||
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. | 2 | -0/+3 | ||
Update issue 112 Status: FixedInGit | |||||
2014-04-02 | Fix splint warnings, add splint test case | 2 | -0/+49 | ||
2014-04-01 | Fix compile error when default value given for extension field. | 1 | -1/+1 | ||
Update issue 111 Status: FixedInGit | |||||
2014-03-18 | Add stdlib.h to pb_syshdr.h for dynamic allocation | 1 | -0/+2 | ||
2014-03-16 | Documentation updates | 1 | -3/+0 | ||
2014-03-15 | Finish the alltypes_pointer testcase, use valgrind if available. | 4 | -168/+90 | ||
2014-03-15 | Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically. | 3 | -8/+10 | ||
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-03-12 | Add pb_release() function | 3 | -20/+81 | ||
2014-03-10 | More fixes for dynamic allocation | 2 | -25/+28 | ||
2014-02-24 | Beginnings of malloc support in pb_decode | 2 | -1/+220 | ||
2014-02-12 | Add test case for package names defined in .proto file. | 1 | -0/+36 | ||
2014-02-10 | Add AllTypes decoding test with callbacks. | 2 | -1/+427 | ||
Update issue 99 Status: FixedInGit | |||||
2014-02-09 | Add AllTypes encoding test for callbacks (issue #99) | 3 | -0/+420 | ||
Still need to do the decoding side. | |||||
2014-02-05 | Extreme negative integer constants are a bit nasty to define in C, just ↵ | 1 | -2/+2 | ||
avoid the trouble in tests for now. | |||||
2014-02-04 | Add proper suffixes for integer default values. | 1 | -10/+10 | ||
Update issue 102 Status: FixedInGit | |||||
2014-02-04 | Add strict-aliasing GCC warnings for core | 1 | -0/+1 | ||
2013-12-29 | Fix bundled protoc detection in scons script | 1 | -3/+4 | ||
2013-12-29 | Fix spaces in paths on Windows also | 1 | -1/+1 | ||
2013-12-29 | Fix handling spaces in directory name | 1 | -2/+2 | ||
2013-12-29 | Fix build on Windows | 1 | -2/+4 | ||
2013-12-29 | Fix path change: compat/ -> extra/ | 1 | -1/+1 | ||
2013-12-29 | Small fix for previous | 1 | -2/+2 | ||
2013-12-29 | Check for supported GCC CCFLAGS when building tests. | 1 | -6/+20 | ||
2013-12-29 | Add a SCons tool for nanopb protos. | 5 | -41/+129 | ||
This tool script is useful both for building the tests and also for use in other applications. |