0a5b6852ecAdditional unsigned vs. signed fix for tag
Petteri Aimonen
2012-07-19 09:05:36 +03:00
8524de39ceFix an unsigned vs. signed warning on some compiler.
Petteri Aimonen
2012-07-18 21:21:07 +03:00
10b5da12dcFixed a few compiler warnings, added check.
Petteri Aimonen
2012-07-18 21:09:13 +03:00
d8bddabb83Fix bug with .proto without messages (again), and add a test case for it.
nanopb-0.1.4
Petteri Aimonen
2012-07-05 20:02:06 +03:00
01a1556898Apparently some compilers don't want to automatically cast size_t to uint64_t.
Petteri Aimonen
2012-07-05 18:27:07 +03:00
efef38cf78Fix some typos in __BIG_ENDIAN__ code
Petteri Aimonen
2012-07-05 18:24:11 +03:00
72cca8d783Replace #warning with the standard #error.
Petteri Aimonen
2012-07-05 18:19:38 +03:00
7c5bb6541aCast enum vaules to integers and cast them back where appropraite to prevent mixed enumeration type compiler warnings
Stan Hu
2012-07-02 14:00:45 -07:00
9b1e1b440aReplace PB_MANY_FIELDS with PB_FIELD_16BIT and PB_FIELD_32BIT.
Petteri Aimonen
2012-07-01 10:15:37 +03:00
34aa2031c4Code reduction optimization by sharing common field descriptor information for numeric field types
Daniel Kan
2012-02-24 13:46:36 -08:00
0cdc623050Modified nanopb_generator.py to generate includes for other .proto files. Implementation was suggested by extremeblue99. Fixes issue 4.
nanopb-0.1.2
Petteri Aimonen
2012-02-15 17:34:48 +02:00
f6b08404faFixed nanopb_generator.py to read the input file in binary mode.
Petteri Aimonen
2012-01-30 10:36:17 +02:00
b36a1a259aImproved documentation on field decoders.
Petteri Aimonen
2012-01-23 18:13:26 +02:00
c2e0b9ed5dAdded note in docs that this is the dev branch.
dynamic_alloc_dev
Petteri Aimonen
2012-01-12 19:23:30 +02:00
113bd7ee87Fixed issue 1 reported by Erik Rosen: The size of non-callback bytes-fields was miscalculated, which caused all following fields in a message to contain garbage.
nanopb-0.1.1
Petteri Aimonen
2012-01-12 19:08:05 +02:00
0f6b615ae3Added an encode/decode test for 'required' fields of all types.
Petteri Aimonen
2012-01-12 19:06:33 +02:00
a1adf39805Fixed a bug in the generator that caused a compiler error on sfixed32 and sfixed64 fields.
Petteri Aimonen
2012-01-12 18:10:12 +02:00
592d4213fdAdded mdpoole to LICENSE
Petteri Aimonen
2012-01-06 19:16:44 +02:00
9a0a930a18Merge branch 'master' into dynamic_alloc_dev
Petteri Aimonen
2012-01-06 19:16:28 +02:00
a2673f24faMerge branch 'master' into dynamic_alloc_dev
Petteri Aimonen
2012-01-05 22:10:29 +02:00
accd93be8dAdd an encoder optimized for in-memory buffers.
Michael Poole
2011-12-21 04:36:10 +00:00
3979f9137fUnify the non-MALLOC_HEADER tests for PB_POINTER fields.
Michael Poole
2011-12-20 11:47:59 +00:00
ba93b65e9fSet the defaults properly for newly allocated submessages.
Michael Poole
2011-12-20 03:54:57 +00:00
f7c8dd81d4Make field decoders return false for unsupported pointer fields.
Michael Poole
2011-12-20 03:38:48 +00:00
c66c6b43c4Support dynamic allocation for string, bytes and message fields.
Michael Poole
2011-12-20 03:30:52 +00:00
8e5337e9efMerge the generated has_<name> fields into a single one.
Michael Poole
2011-11-13 18:10:19 +00:00
43b8e20744Create a message descriptor type.
Michael Poole
2011-11-13 18:10:11 +00:00
dcf43a6416Convert pb_type_t to uint8_t.
Michael Poole
2011-11-13 18:10:01 +00:00
28aa0ce096Added logo for project :)
Petteri Aimonen
2012-01-05 18:35:12 +00:00
b5fb97f6f5Make the fuzztest runnable again
Petteri Aimonen
2011-12-30 09:05:01 +00:00
a3f5e4d81fExpanding the tests to better cover decoding from memory buffer.
Petteri Aimonen
2011-12-30 08:57:27 +00:00
1506450b11Fixed a bug related to submessage encoding into memory buffer. Stream state was not copied back from substream in pb_enc_submessage, which caused garbage output if the stream callback modified the state.
Petteri Aimonen
2011-12-30 08:43:50 +00:00
ad7a0e2111Merged 0005-Handle-endianness-correctly.patch by Matt Kern. On big endian machines, pb_dec_fixed32 and pb_dec_fixed64 were incorrectly overwriting the result value even if reading failed.
Petteri Aimonen
2011-11-30 15:08:32 +00:00
2a80ff2bd5Merged 0004-Added-missing-trailing-newlines.patch by Matt Kern. Just adding newlines at the end of files to satisfy old GCC versions.
Petteri Aimonen
2011-11-30 15:03:23 +00:00
e66675a25dMerged 0003-Fixed-format-specifiers.patch by Matt Kern. Fixes cross-platform issues with the length modifier in printf specifiers, most importantly %d -> %ld.
Petteri Aimonen
2011-11-30 15:01:59 +00:00
a77ab47c29Added Makefile for generating nanopb_pb2.py. I still left the precompiled version in place, as it "often works" :)
Petteri Aimonen
2011-11-30 14:59:25 +00:00
13b6988b64Fix some compiler warnings in strict C89 mode Contributed by Michael Poole.
Petteri Aimonen
2011-11-10 16:19:55 +00:00
85e0afd894Some additions to documentation
Petteri Aimonen
2011-11-04 07:22:05 +00:00