Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-10-14 | Add tests for negative values in the alltypes testcase. | 2 | -24/+24 | ||
2012-09-18 | Add buffer size check in test_decode1.c example. | 1 | -0/+6 | ||
This check gives a better error message in case you test stuff and have a message longer than 512 bytes. Update issue 34 Status: FixedInGit | |||||
2012-09-03 | Enable -Wconversion for core and fix the warnings. | 5 | -14/+17 | ||
This should help avoid issue 33 in the future. | |||||
2012-09-03 | Fix build warnings on MS compilers | 1 | -4/+4 | ||
Update issue 33 Status: FixedInGit | |||||
2012-09-02 | Created a CHANGELOG file for easy reference. | 2 | -0/+39 | ||
2012-09-02 | Clean up one (uint64_t) cast. | 1 | -2/+2 | ||
2012-09-02 | Fix -Wextra warning in generated .pb.c files. | 2 | -1/+4 | ||
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 | |||||
2012-08-26 | Fix warnings with -Wcast-qual. Add test for C++ compile. | 3 | -17/+30 | ||
Update issue 27 Status: FixedInGit | |||||
2012-08-26 | Add pb_decode_noinit and use it from pb_dec_submessage. | 3 | -4/+24 | ||
This avoids double initialization when decoding nested submessages. Fixes an issue with submessage arrays that was present in previous version of this patch. Update issue 28 Status: FixedInGit | |||||
2012-08-26 | Added alltypes-testcases for optional fields and default values. | 4 | -12/+180 | ||
2012-08-26 | Revert "Add pb_decode_noinit and use it from pb_dec_submessage." | 3 | -24/+4 | ||
The patch breaks default values inside submessage arrays (I think). Have to add test cases and check back. This reverts commit f1d7640fe1be0f150f604c72108ea516222c2505. | |||||
2012-08-26 | Add pb_decode_noinit and use it from pb_dec_submessage. | 3 | -4/+24 | ||
This avoids double initialization when decoding nested submessages. Update issue 28 Status: FixedInGit | |||||
2012-08-24 | Add note that stream callbacks must read the whole requested length. | 1 | -0/+1 | ||
Fixes issue #22. | |||||
2012-08-24 | Implement error messages in the decoder side. | 12 | -32/+52 | ||
Update issue 7 Status: Started | |||||
2012-08-24 | Document pb_close_string_substream. | 1 | -1/+13 | ||
2012-08-24 | Revert "Change the substream implementation in pb_decode." | 3 | -14/+29 | ||
This reverts commit dc2da0edc568b29361479fb7405c96b1a13442cf. Add pb_close_string_substream() for copying back the state. This makes adding error messages easier in the future, as also them need to be propagated back from the substream. | |||||
2012-08-24 | Reorganize the field decoder interface. | 6 | -152/+150 | ||
This makes the field decoding functions more intuitive to use. The old interface is still present if you specify NANOPB_INTERNALS. Update issue 2 Status: FixedInGit | |||||
2012-08-24 | Change the substream implementation in pb_decode. | 2 | -20/+13 | ||
This makes it unnecessary to copy back the state, and also relaxes the requirements on callbacks (bytes_left will always be valid). It decreases code size by a few bytes, but may be just slightly slower. | |||||
2012-08-24 | Fix a confusing statement in a comment. | 1 | -1/+1 | ||
2012-08-16 | Fix casting issues | 1 | -2/+2 | ||
2012-08-09 | Declare warn_unused_result only on GCC >= 3.4.0. | 2 | -10/+10 | ||
Thanks to cea.max.simoes for bug report & fix. Update issue 25 Status: FixedInGit | |||||
2012-08-04 | Fix signedness warning in example_unions. | 1 | -1/+1 | ||
2012-07-31 | Fix bug in decoder with packed arrays. | 1 | -1/+4 | ||
Update issue 23 Status: FixedInGit | |||||
2012-07-31 | Extend 'alltypes' testcase to cover repeated fields. | 3 | -24/+104 | ||
2012-07-19 | Additional unsigned vs. signed fix for tag | 1 | -1/+1 | ||
2012-07-18 | Fix an unsigned vs. signed warning on some compiler. | 2 | -3/+3 | ||
2012-07-18 | Fixed a few compiler warnings, added check. | 3 | -5/+8 | ||
Main code is now compiled (for tests) with -pedantic -Wextra. The test programs are not as strictly bound, but this should improve the chances that atleast the core library compiles with most compilers without warnings. | |||||
2012-07-05 | Fix bug with .proto without messages (again), and add a test case for it. | 3 | -10/+19 | ||
2012-07-05 | Apparently some compilers don't want to automatically cast size_t to uint64_t. | 1 | -4/+4 | ||
2012-07-05 | Fix some typos in __BIG_ENDIAN__ code | 1 | -2/+2 | ||
2012-07-05 | Replace #warning with the standard #error. | 2 | -7/+3 | ||
2012-07-05 | Cast enum vaules to integers and cast them back where appropraite | 2 | -4/+4 | ||
to prevent mixed enumeration type compiler warnings | |||||
2012-07-01 | Replace PB_MANY_FIELDS with PB_FIELD_16BIT and PB_FIELD_32BIT. | 3 | -34/+65 | ||
This allows more precise control over the memory use vs. field size. | |||||
2012-06-30 | Add PB_MANY_FIELDS option for supporting fields > 255. | 3 | -1/+56 | ||
Add generator warning if this is necessary. Fixes issue #14. | |||||
2012-06-30 | Warn if PB_MAX_REQUIRED_FIELDS is not large enough. | 1 | -0/+10 | ||
2012-06-30 | Improve the detection of missing required fields. | 6 | -24/+229 | ||
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. | |||||
2012-06-25 | Fixed formatting in docs | 1 | -2/+5 | ||
2012-06-25 | Documented NANOPB_INTERNALS compilation option | 1 | -0/+1 | ||
2012-06-25 | Note about __BIG_ENDIAN__ compilation option | 1 | -0/+6 | ||
2012-06-20 | Fix error when .proto contains no Messages (e.g. just enums). | 1 | -1/+1 | ||
Thanks to Paul Fertser for reporting this bug. | |||||
2012-06-16 | Added example on how to handle unions. | 4 | -0/+224 | ||
2012-06-16 | Added new functions to public interface in pb_decode.h. | 3 | -29/+73 | ||
pb_decode_tag and pb_skip_field allow manually iterating the fields in a message. | |||||
2012-06-13 | Fix non-constant initializer errors with some compilers. | 2 | -8/+28 | ||
Fixes issue #13. Thanks to Kevin Worth for reporting. | |||||
2012-06-12 | Add descriptor.proto into the #include exclusion list | 1 | -1/+1 | ||
2012-05-19 | Merge branch 'master' of https://code.google.com/p/nanopb | 2 | -5/+5 | ||
2012-05-19 | Add better error messages in the generator when libraries cannot be imported. | 1 | -2/+22 | ||
Fixes issue #5. | |||||
2012-05-19 | Fix 64-bitness warnings in the example. | 2 | -5/+5 | ||
Fixes issues 9 and 10. | |||||
2012-04-18 | Fixing compiler warnings, mostly related to unused parameters. | 3 | -4/+16 | ||
Thanks to David Hotham for the patch. Fixes issue 8. | |||||
2012-03-01 | Refactoring the field encoder interface. | 6 | -173/+179 | ||
Replaced the confusing pb_enc_* functions with new pb_encode_* functions that have a cleaner interface. Updated documentation. Got rid of the endian_copy stuff in pb_encode.c, instead using C casts to do it automatically. This makes the code safer and also reduces binary size by about 5%. Fixes Issue 6. | |||||
2012-02-15 | Modified nanopb_generator.py to generate includes for other .proto files. | 1 | -2/+12 | ||
Implementation was suggested by extremeblue99. Fixes issue 4. |