Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-10-29 | Improve .proto options parsing. | Petteri Aimonen | 3 | -21/+89 | |
Options can now be defined on command line, file, message or in field scope. Update issue 12 Status: Started | |||||
2012-10-29 | Use optparse in nanopb_generator.py | Petteri Aimonen | 1 | -31/+85 | |
2012-10-29 | Give names to generated structures to allow forward declaration. | Petteri Aimonen | 1 | -2/+2 | |
Update issue 39 Status: FixedInGit | |||||
2012-07-05 | Fix bug with .proto without messages (again), and add a test case for it. | Petteri Aimonen | 1 | -9/+10 | |
2012-07-05 | Replace #warning with the standard #error. | Petteri Aimonen | 1 | -5/+2 | |
2012-07-05 | Cast enum vaules to integers and cast them back where appropraite | Stan Hu | 1 | -3/+3 | |
to prevent mixed enumeration type compiler warnings | |||||
2012-07-01 | Replace PB_MANY_FIELDS with PB_FIELD_16BIT and PB_FIELD_32BIT. | Petteri Aimonen | 1 | -26/+37 | |
This allows more precise control over the memory use vs. field size. | |||||
2012-06-30 | Add PB_MANY_FIELDS option for supporting fields > 255. | Petteri Aimonen | 1 | -0/+38 | |
Add generator warning if this is necessary. Fixes issue #14. | |||||
2012-06-30 | Warn if PB_MAX_REQUIRED_FIELDS is not large enough. | Petteri Aimonen | 1 | -0/+10 | |
2012-06-20 | Fix error when .proto contains no Messages (e.g. just enums). | Petteri Aimonen | 1 | -1/+1 | |
Thanks to Paul Fertser for reporting this bug. | |||||
2012-06-12 | Add descriptor.proto into the #include exclusion list | Petteri Aimonen | 1 | -1/+1 | |
2012-05-19 | Add better error messages in the generator when libraries cannot be imported. | Petteri Aimonen | 1 | -2/+22 | |
Fixes issue #5. | |||||
2012-02-15 | Modified nanopb_generator.py to generate includes for other .proto files. | Petteri Aimonen | 1 | -2/+12 | |
Implementation was suggested by extremeblue99. Fixes issue 4. | |||||
2012-01-30 | Fixed nanopb_generator.py to read the input file in binary mode. | Petteri Aimonen | 1 | -1/+1 | |
2012-01-12 | Fixed issue 1 reported by Erik Rosen: | Petteri Aimonen | 1 | -3/+0 | |
The size of non-callback bytes-fields was miscalculated, which caused all following fields in a message to contain garbage. Previous commit contains a testcase for this. This fix changes the generated message description. If your protocol uses bytes-fields, you should regenerate *.pb.c. | |||||
2012-01-12 | Fixed a bug in the generator that caused a compiler error on sfixed32 and ↵ | Petteri Aimonen | 1 | -2/+2 | |
sfixed64 fields. | |||||
2011-11-30 | Added Makefile for generating nanopb_pb2.py. | Petteri Aimonen | 1 | -0/+2 | |
I still left the precompiled version in place, as it "often works" :) git-svn-id: https://svn.kapsi.fi/jpa/nanopb@1019 e3a754e5-d11d-0410-8d38-ebb782a927b9 | |||||
2011-09-13 | Fixed a bunch of bugs related to callback fields. | Petteri Aimonen | 1 | -4/+4 | |
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 | |||||
2011-09-01 | Python 2.6 compatibility for the generator | Petteri Aimonen | 1 | -4/+4 | |
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@973 e3a754e5-d11d-0410-8d38-ebb782a927b9 | |||||
2011-08-24 | Generator bugfixes | Petteri Aimonen | 1 | -24/+46 | |
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@970 e3a754e5-d11d-0410-8d38-ebb782a927b9 | |||||
2011-08-23 | Changed autogenerated file naming from foo.c to foo.pb.c | Petteri Aimonen | 1 | -3/+3 | |
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@965 e3a754e5-d11d-0410-8d38-ebb782a927b9 | |||||
2011-08-23 | Allocated extension number | Petteri Aimonen | 2 | -4/+12 | |
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@962 e3a754e5-d11d-0410-8d38-ebb782a927b9 | |||||
2011-08-22 | unittests, change to PB_LTYPE_BYTES data size | Petteri Aimonen | 1 | -0/+3 | |
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@959 e3a754e5-d11d-0410-8d38-ebb782a927b9 | |||||
2011-08-17 | Example | Petteri Aimonen | 1 | -4/+4 | |
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@957 e3a754e5-d11d-0410-8d38-ebb782a927b9 | |||||
2011-08-14 | More documentation, small improvements | Petteri Aimonen | 1 | -4/+4 | |
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@955 e3a754e5-d11d-0410-8d38-ebb782a927b9 | |||||
2011-08-04 | Encoder | Petteri Aimonen | 1 | -29/+89 | |
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@951 e3a754e5-d11d-0410-8d38-ebb782a927b9 | |||||
2011-07-31 | First version of header generator | Petteri Aimonen | 3 | -0/+433 | |
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@950 e3a754e5-d11d-0410-8d38-ebb782a927b9 |