Commit Graph

  • 3df0743cc4 Migrating wiki contents from Google Code wiki Google Code Exporter 2015-03-15 10:12:06 -04:00
  • ef422656a5 Fix oneof submessage initialization bug. master Petteri Aimonen 2015-03-07 10:25:09 +02:00
  • 5c16a116ec Better error messages for syntax errors in .options file Petteri Aimonen 2015-02-26 18:16:25 +02:00
  • 4a6580726e Fix generator error when long_names:false is combined with Oneofs. Petteri Aimonen 2015-02-26 17:33:36 +02:00
  • 651e97456b Include libprotobuf in linux binary package. Petteri Aimonen 2015-02-22 15:28:26 +02:00
  • b836ac29dd Lower required CMake version in example Petteri Aimonen 2015-02-13 18:57:46 +02:00
  • 93364463ac Update cmake_simple example readme Petteri Aimonen 2015-02-13 18:42:35 +02:00
  • 7c00b90910 Add simple example built with CMake Oliver Lee 2015-02-13 17:28:27 +01:00
  • 02bd49bc93 Fix search for Python 2 with CMake Oliver Lee 2015-02-13 17:14:00 +01:00
  • d8d3b75e2e Updates for the CMake rule file. Oliver Lee 2015-02-13 10:26:31 +01:00
  • 25b92c5b4e Fix generator bug when oneof is first field in a message. Petteri Aimonen 2015-01-27 17:47:25 +02:00
  • 5aa8207ab1 Setting version to nanopb-0.3.3-dev Petteri Aimonen 2015-01-24 17:40:42 +02:00
  • acd7291791 Publishing nanopb-0.3.2 nanopb-0.3.2 Petteri Aimonen 2015-01-24 17:33:01 +02:00
  • eb66254b79 Publishing nanopb-0.2.9.2 nanopb-0.2.9.2 maintenance_0.2 Petteri Aimonen 2015-01-24 17:18:25 +02:00
  • d32d04ba10 Fix encoded_size #defines for oneof messages. Petteri Aimonen 2015-01-23 21:29:29 +02:00
  • 0286a0746a Update changelog Petteri Aimonen 2015-01-15 19:34:49 +02:00
  • 24a45b0a9c Fix clang compiler warning in intsizes unit test. Petteri Aimonen 2015-01-15 19:18:48 +02:00
  • e1c50496d9 Release memory when overwriting oneof fields. Petteri Aimonen 2015-01-15 18:58:08 +02:00
  • f4b3a1c202 Add oneofs to AllTypes test case Petteri Aimonen 2015-01-11 19:47:27 +02:00
  • d2e023e3e5 Bugfixes for oneof support. Petteri Aimonen 2015-01-11 19:46:15 +02:00
  • 8d12fecc7e New generator options for oneofs: allow skipping or generating as normal 'optional' fields. Petteri Aimonen 2015-01-11 19:38:05 +02:00
  • 8ef0392231 Fix generator error with OneOfs Petteri Aimonen 2015-01-07 18:59:44 +02:00
  • fa444be424 Allow using 8/16/32/64 as values in int_size setting Petteri Aimonen 2015-01-05 22:32:34 +02:00
  • cc3c8732fd Actually make the protoc version check work Petteri Aimonen 2015-01-04 20:20:40 +02:00
  • 7135e2797a Only run oneof test when protoc >= 2.6 is available Petteri Aimonen 2015-01-04 20:00:37 +02:00
  • 77a71ceb6d Fix build failure Petteri Aimonen 2015-01-04 19:48:09 +02:00
  • 7713d43bc3 Implement support for oneofs (C unions). Petteri Aimonen 2015-01-04 19:39:37 +02:00
  • a0f0440394 Detect too large varint values when decoding. Petteri Aimonen 2015-01-04 12:04:24 +02:00
  • 50c67ecec4 Add int_size option for generator. Petteri Aimonen 2015-01-04 11:36:42 +02:00
  • b0d31468da Change PB_RETURN_ERROR() macro to avoid compiler warnings. Petteri Aimonen 2015-01-03 10:59:19 +02:00
  • 641c743b27 Fix build failure due to missing dependency in SConscript Petteri Aimonen 2014-12-27 00:37:59 +02:00
  • 7be7c7769f Fix build failure due to missing dependency in SConscript Petteri Aimonen 2014-12-27 00:37:59 +02:00
  • 4ce729df7f Backport memory leak fix for issue 138. Petteri Aimonen 2014-12-26 23:57:23 +02:00
  • 83157e3362 Backport mem_release testcase from 0.3.1. Petteri Aimonen 2014-12-26 17:08:17 +02:00
  • 88b2efe047 Fix memory leaks with PB_ENABLE_MALLOC and certain submessage type combinations. Petteri Aimonen 2014-12-26 23:14:39 +02:00
  • 5008830488 Initialize also extension fields to defaults in pb_decode(). Petteri Aimonen 2014-12-26 23:13:07 +02:00
  • 58643217b1 Fix bug in backwards_compatibility test case. Petteri Aimonen 2014-12-26 23:03:04 +02:00
  • 1515cfb5c2 Add testcase for releasing memory in submessages/extensions Petteri Aimonen 2014-12-26 18:24:23 +02:00
  • 418f7d88b3 Add support for POINTER type in extensions Petteri Aimonen 2014-12-26 18:23:36 +02:00
  • 980f899dd5 Include the field type in a comment for extension fields Petteri Aimonen 2014-12-26 17:43:38 +02:00
  • 0f3c0f79bc Move malloc support to tests/common directory Petteri Aimonen 2014-12-26 17:34:45 +02:00
  • 8a28b70351 Move malloc_wrappers.c to tests/common Petteri Aimonen 2014-12-26 17:08:17 +02:00
  • e5cbee84e1 Verify build with protobuf-3.0.0, fix problems. Petteri Aimonen 2014-12-22 22:52:36 +02:00
  • cfc517f36b Add compilation option to disable struct packing. Petteri Aimonen 2014-12-22 20:52:40 +02:00
  • baf44b367f Set version to nanopb-0.3.2-dev Petteri Aimonen 2014-09-16 20:41:45 +03:00
  • b947dc6e2c Publishing nanopb-0.3.1 nanopb-0.3.1 Petteri Aimonen 2014-09-11 19:36:14 +03:00
  • 8d7deb4952 Update changelog Petteri Aimonen 2014-09-11 19:26:32 +03:00
  • 07e9ffb97b Add a fuzz testing stub for ability to use external generators also Petteri Aimonen 2014-09-11 17:58:53 +03:00
  • d2099cc8f1 Protect against size_t overflows in pb_dec_bytes/pb_dec_string. Petteri Aimonen 2014-09-08 17:34:16 +03:00
  • d0466bdf43 Add just-to-be-sure check to allocate_field(). Petteri Aimonen 2014-09-08 17:33:05 +03:00
  • 5e3edb5415 Fix memory leak with duplicated fields and PB_ENABLE_MALLOC. Petteri Aimonen 2014-09-06 18:56:34 +03:00
  • 13a07e35b6 Fix crash in pb_release() if called twice on same message. Petteri Aimonen 2014-09-06 18:21:58 +03:00
  • 0dce9ef635 Add a better fuzz test. Petteri Aimonen 2014-09-06 19:01:11 +03:00
  • 45fc9f3ef6 Publishing nanopb-0.2.9.1 nanopb-0.2.9.1 Petteri Aimonen 2014-09-11 19:14:45 +03:00
  • 115de6e555 Update changelog Petteri Aimonen 2014-09-11 19:13:59 +03:00
  • 62bbe46a45 Publishing nanopb-0.1.9.1 nanopb-0.1.9.1 maintenance_0.1 Petteri Aimonen 2014-09-11 18:58:16 +03:00
  • 411db5b450 Update changelog Petteri Aimonen 2014-09-11 18:55:42 +03:00
  • 9c92410e2a Add a better fuzz test. Petteri Aimonen 2014-09-06 19:01:11 +03:00
  • 6df566859d Protect against size_t overflows in pb_dec_bytes/pb_dec_string. Petteri Aimonen 2014-09-08 17:34:16 +03:00
  • cc1c3a7963 Add just-to-be-sure check to allocate_field(). Petteri Aimonen 2014-09-08 17:33:05 +03:00
  • 33585924de Fix memory leak with duplicated fields and PB_ENABLE_MALLOC. Petteri Aimonen 2014-09-06 18:56:34 +03:00
  • b7add1e577 Fix crash in pb_release() if called twice on same message. Petteri Aimonen 2014-09-06 18:21:58 +03:00
  • 29479a7cca Protect against size_t overflows in pb_dec_bytes/pb_dec_string. Petteri Aimonen 2014-09-08 17:34:16 +03:00
  • 8189d538dd Add test case for simulated io errors. Petteri Aimonen 2014-09-07 20:31:36 +03:00
  • 38613acdb4 Add a few missing unit tests Petteri Aimonen 2014-09-07 19:49:26 +03:00
  • cdbf51db08 Fix compilation error with generated initializers for repeated pointer fields Petteri Aimonen 2014-09-07 19:49:00 +03:00
  • d0299d87ec Code coverage results were ignoring the data from encode/decode unittests. Petteri Aimonen 2014-09-07 19:25:09 +03:00
  • d82a264c41 Update security model with regards to pointer fields Petteri Aimonen 2014-09-04 21:19:54 +03:00
  • df7234fd8b Fix cyclic messages support in generator. Beginnings of test. Petteri Aimonen 2014-08-28 21:23:28 +03:00
  • 9e866b4853 Add missing * in migration docs Petteri Aimonen 2014-08-26 18:22:13 +03:00
  • 71b81ad573 Setting version to 0.3.1-dev Petteri Aimonen 2014-08-26 18:20:48 +03:00
  • 8dede6095e Publishing nanopb-0.3.0 nanopb-0.3.0 Petteri Aimonen 2014-08-26 18:08:31 +03:00
  • e60dee698a Update changelog Petteri Aimonen 2014-08-26 18:08:01 +03:00
  • 8a95311b51 Add pb_common.c to examples Petteri Aimonen 2014-08-26 18:05:10 +03:00
  • 3ed219382e Add #if guard for .pb.h version. Petteri Aimonen 2014-08-19 17:55:44 +03:00
  • be0b9e047a Rename poorly named identifier to avoid name conflicts. Petteri Aimonen 2014-08-18 21:11:10 +03:00
  • 62b4a8ecaa Rename UNUSED() and STATIC_ASSERT() macros with PB_ prefix. Petteri Aimonen 2014-08-18 20:49:48 +03:00
  • 1dd9f1900f Change the _count fields to use pb_size_t datatype. Petteri Aimonen 2014-08-18 20:09:52 +03:00
  • 0b517b0778 Fix windows build error in tests Petteri Aimonen 2014-08-10 17:44:27 +03:00
  • adf0ab81d4 Add document detailing migration from old versions Petteri Aimonen 2014-08-10 17:40:17 +03:00
  • 7edf250a62 Switch pb_encode to use the common iterator logic in pb_common.c Petteri Aimonen 2014-08-10 13:01:09 +03:00
  • a641e21b34 Separate field iterator logic from pb_decode to pb_common. Petteri Aimonen 2014-08-10 12:42:01 +03:00
  • 0150b98be6 Setting version to 0.3.0-dev Petteri Aimonen 2014-08-09 22:18:24 +03:00
  • 2f05a35b5f Publishing nanopb-0.2.9 nanopb-0.2.9 Petteri Aimonen 2014-08-09 22:01:04 +03:00
  • 4f76e64929 Update changelog Petteri Aimonen 2014-08-04 19:13:39 +03:00
  • ec3bff4ba1 Generate #defines for initializing message structures. Petteri Aimonen 2014-08-04 18:40:40 +03:00
  • 1d7f60fec3 Add skip_message option to generator. Petteri Aimonen 2014-07-20 14:56:12 +03:00
  • 5749606f5d Add support for inverted patterns in test framework. Petteri Aimonen 2014-07-20 14:55:47 +03:00
  • eaa3c7b157 Cleanup and comment the code of network_server example. Petteri Aimonen 2014-07-20 14:44:41 +03:00
  • 3cf9668c75 Do not automatically add a dot with generator -e option. Petteri Aimonen 2014-07-20 14:25:11 +03:00
  • 7f97ad549e Give better messages about the .options file path. Petteri Aimonen 2014-07-20 14:10:47 +03:00
  • f2f9f8a9ed Fix problem with .options file and extension fields. Petteri Aimonen 2014-07-20 14:02:56 +03:00
  • 788d2825b0 Add unit tests for allocate_field(). Petteri Aimonen 2014-06-02 21:20:57 +03:00
  • 99bc1d4f97 Make clearer that size = 0 in allocate_field() is not allowed. Petteri Aimonen 2014-06-02 21:12:38 +03:00
  • 8a857a7f75 Don't use SIZE_MAX macro, as it is not in C89. Petteri Aimonen 2014-06-02 21:09:06 +03:00
  • 8611958a7f Add PB_PACKED_STRUCT support for Keil MDK-ARM toolchain Petteri Aimonen 2014-05-30 13:45:48 +03:00
  • 2e9797af58 Setting version to 0.2.9-dev Petteri Aimonen 2014-05-20 19:52:09 +03:00
  • 2c51fb7771 Update changelog for 0.2.8 nanopb-0.2.8 Petteri Aimonen 2014-05-20 19:46:48 +03:00
  • 916bcb3643 Publishing nanopb-0.2.8 Petteri Aimonen 2014-05-20 19:34:28 +03:00
  • 9cf788de54 Fix bug in alltypes test case that made fuzzing difficult. Petteri Aimonen 2014-05-17 20:28:33 +03:00