Commit Graph

  • 985f1b4943 Make generator print errors to stderr. Petteri Aimonen 2013-12-03 18:44:25 +02:00
  • df3fd72337 Add a SCons tool for nanopb protos. Petteri Aimonen 2013-11-23 11:04:12 +02:00
  • 5ef9d5b698 Fix protoc-gen-nanopb in linux package Petteri Aimonen 2013-11-17 22:37:48 +02:00
  • 4ecf27c817 Include libprotoc Petteri Aimonen 2013-11-17 22:33:26 +02:00
  • ccf63de0c6 Linux archive Petteri Aimonen 2013-11-17 22:25:52 +02:00
  • ece793fbc9 Also include the manifest for MSVCR90.DLL Petteri Aimonen 2013-11-17 22:19:54 +02:00
  • 6adf4e163c Include MSVCR90.DLL also. Petteri Aimonen 2013-11-17 21:43:50 +02:00
  • 420ad05e06 Include Visual C++ runtime in the Windows package. Petteri Aimonen 2013-11-17 21:20:12 +02:00
  • 5e82a426e6 Merge branch 'dev_installation_packages' of https://code.google.com/p/nanopb into dev_installation_packages Petteri Aimonen 2013-11-17 20:57:59 +02:00
  • 8209a668cd README updates Petteri Aimonen 2013-11-17 20:57:50 +02:00
  • be81effcf4 Windows build fixes Petteri Aimonen 2013-11-17 20:37:18 +02:00
  • f1b2ba57d3 Fix protoc plugin path Petteri Aimonen 2013-11-17 20:25:18 +02:00
  • d2ba776094 Actually no, it was a portability hassle Petteri Aimonen 2013-11-17 20:24:32 +02:00
  • 97554a41c6 Makefile tuning Petteri Aimonen 2013-11-17 20:09:30 +02:00
  • b4457a86d6 Rework the Makefiles to be compatible with binary packages. Petteri Aimonen 2013-11-17 20:04:29 +02:00
  • bee09c3a38 Moving files around Petteri Aimonen 2013-11-17 19:20:04 +02:00
  • 8daadc556e Package as .zip, convert linebreaks Petteri Aimonen 2013-11-17 19:09:13 +02:00
  • 43cc9940ad Add build script for windows package Petteri Aimonen 2013-11-17 17:37:29 +02:00
  • 85be7a634e Add descriptor.proto to repository to avoid messing with protoc include path. Petteri Aimonen 2013-11-17 16:42:52 +02:00
  • b5ae8eb6a5 Add script for making linux binary package Petteri Aimonen 2013-11-17 15:46:41 +02:00
  • 2f982d30ef Move the generator .proto files to a subdir, and get rid of precompiled versions. Petteri Aimonen 2013-11-17 15:07:12 +02:00
  • 17c10119dd Remove the PB_ENCODERS array. dev_no_pb_decoders Petteri Aimonen 2013-11-14 19:36:53 +02:00
  • 97210c91a9 Remove the PB_DECODERS array. Petteri Aimonen 2013-11-14 19:26:47 +02:00
  • cace53dfbd Change the API for pb_make_string_substream() to use less stack. Petteri Aimonen 2013-11-14 19:16:49 +02:00
  • eff9e11150 Optimize the common case of 1-byte reads for varints. Petteri Aimonen 2013-11-14 17:56:42 +02:00
  • 5813144246 Make tests build in a separate folder, add to gitignore Petteri Aimonen 2013-11-13 22:10:42 +02:00
  • 171d64734a Fix path in FindNanopb.cmake. Petteri Aimonen 2013-11-11 09:22:32 +02:00
  • 321ca6c1d5 Setting version to 0.2.5-dev Petteri Aimonen 2013-11-07 16:47:14 +02:00
  • 935a26ab1c Publishing nanopb-0.2.4 nanopb-0.2.4 Petteri Aimonen 2013-11-07 16:44:41 +02:00
  • d7af99434a Add dates to changelog Petteri Aimonen 2013-11-02 22:19:26 +02:00
  • 564bdc8448 Update changelog Petteri Aimonen 2013-11-02 22:11:27 +02:00
  • dcdd7f98fd Generate #define tags for extension fields also. Petteri Aimonen 2013-11-02 22:05:49 +02:00
  • 287207841d Remove the NANOPB_INTERNALS functions from public API. Petteri Aimonen 2013-10-29 16:32:47 +02:00
  • 0074deba9a Declare static functions before use. Petteri Aimonen 2013-10-29 16:24:50 +02:00
  • 4d69cc2f3e Cleanup of comments. Petteri Aimonen 2013-10-29 16:19:07 +02:00
  • c7b4ce0293 Add a definition of the security model to the documentation. Petteri Aimonen 2013-10-29 15:44:35 +02:00
  • cd3af3272d Rename some internal functions to have unique names Petteri Aimonen 2013-10-29 15:32:51 +02:00
  • ed564186e1 Detect invalid sizes when encoding bytes fields. Petteri Aimonen 2013-10-24 21:45:39 +03:00
  • 86d6983156 Same fix for EncodedSize.__mul__ Petteri Aimonen 2013-10-24 09:52:40 +03:00
  • 0848255d4a Handle also longs in EncodedSize Petteri Aimonen 2013-10-24 08:44:59 +03:00
  • 51f0e47295 Fix the size of length prefix for messages in other files. Petteri Aimonen 2013-10-23 21:21:43 +03:00
  • 49bd3f35a0 Generate message size #defines also for messages defined in multiple files. Petteri Aimonen 2013-10-23 21:01:11 +03:00
  • 2bfd497eea Define pb_size_t and pb_ssize_t data types. Petteri Aimonen 2013-10-20 21:49:55 +03:00
  • e83fbd18d3 Check array max size when encoding. Petteri Aimonen 2013-10-20 21:42:00 +03:00
  • 388d4de833 Add #defines for the maximum encoded message size. Petteri Aimonen 2013-09-26 10:23:37 +03:00
  • 2363af29a2 Setting version to 0.2.4-dev Petteri Aimonen 2013-09-18 12:47:32 +03:00
  • 283a8f36cb Publishing nanopb-0.2.3 nanopb-0.2.3 Petteri Aimonen 2013-09-18 12:44:46 +03:00
  • 8accc25710 Update changelog Petteri Aimonen 2013-09-13 13:41:57 +03:00
  • 73142ba082 Add a new very simple example Petteri Aimonen 2013-09-13 13:35:25 +03:00
  • f47410ea4b Move examples into subfolders, add READMEs Petteri Aimonen 2013-09-13 12:59:31 +03:00
  • fd9a79a06d Merge branch 'dev_get_rid_of_ternary_operator' Petteri Aimonen 2013-09-13 11:31:45 +03:00
  • 9ada7e7525 Fine-tune the naming of new macros before merging into master. Petteri Aimonen 2013-09-13 11:30:58 +03:00
  • 59cba0beea Expand extra_fields test to cover field skipping in case of streams. Petteri Aimonen 2013-09-11 17:33:50 +03:00
  • 152c2c910c Disable warning about uint64_t (long long) Petteri Aimonen 2013-09-11 16:51:53 +03:00
  • 2b72815036 Fix build error when path contains spaces Petteri Aimonen 2013-09-11 16:45:52 +03:00
  • 61ad04afd5 Merge branch 'dev_tests_using_scons' Petteri Aimonen 2013-09-11 16:13:19 +03:00
  • 9f93d39f72 Add tests for different compilation options dev_tests_using_scons Petteri Aimonen 2013-09-11 14:55:56 +03:00
  • d395768c8d Windows build fixes Petteri Aimonen 2013-09-11 13:42:56 +03:00
  • b9f14bddf7 Make all the tests ANSI C compatible. Petteri Aimonen 2013-09-11 13:16:20 +03:00
  • 840e213b9f Get rid of the ternary operator in the pb_field_t initialization. dev_get_rid_of_ternary_operator Petteri Aimonen 2013-09-11 09:53:51 +03:00
  • e2e9980627 Move the rest of the tests to scons Petteri Aimonen 2013-09-10 22:34:54 +03:00
  • 0bbcb7b367 Compiler options for GCC, clang and tcc Petteri Aimonen 2013-09-10 20:54:29 +03:00
  • 696a01bf14 Move the declarations of _pb_ostream_t and _pb_istream_t before first use. Petteri Aimonen 2013-09-09 10:53:04 +03:00
  • f04ab838ab Build fixes for Windows/Visual C++ Petteri Aimonen 2013-09-10 17:44:32 +03:00
  • e681dd0d75 Add an example pb_syshdr.h file for platforms without C99. Petteri Aimonen 2013-09-10 12:39:39 +03:00
  • 4dccf28ba9 Convert more test cases to scons Petteri Aimonen 2013-09-10 11:34:57 +03:00
  • 5b9ad17dc2 Move the declarations of _pb_ostream_t and _pb_istream_t before first use. Petteri Aimonen 2013-09-09 10:53:04 +03:00
  • 4821e7f457 Add support for running the nanopb generator as protoc plugin. Petteri Aimonen 2013-09-08 19:55:05 +03:00
  • 262c62676c Start moving the tests into subfolders. Transition to SCons for build system for the tests. Petteri Aimonen 2013-09-08 17:52:03 +03:00
  • d7f3a74388 Handle unsupported extension field types more gracefully. Petteri Aimonen 2013-09-08 11:05:20 +03:00
  • 4aef194a99 Setting version to 0.2.3-dev Petteri Aimonen 2013-08-18 22:12:31 +03:00
  • 81cf30034b Publishing nanopb-0.2.2 nanopb-0.2.2 Petteri Aimonen 2013-08-18 22:11:38 +03:00
  • dd72698508 Update changelog Petteri Aimonen 2013-08-08 20:45:30 +03:00
  • f15093e8bd Document field extensions support Petteri Aimonen 2013-08-08 20:37:59 +03:00
  • b663909fb6 Document PB_SYSTEM_HEADER Petteri Aimonen 2013-08-08 20:05:30 +03:00
  • ba40cacd3c Finish the testcase for extensions dev_extensions Petteri Aimonen 2013-07-22 19:00:04 +03:00
  • 1f13e8cd2c Fix bugs in extension support when multiple extension fields are present. Petteri Aimonen 2013-07-22 18:59:15 +03:00
  • 64947cb382 Extension support implemented for decoder. Petteri Aimonen 2013-07-17 20:21:51 +03:00
  • 0343e2bcfe Add test case for extensions decoding Petteri Aimonen 2013-07-17 19:29:06 +03:00
  • ebddda9b5c Implement extension support for the encoder Petteri Aimonen 2013-07-17 19:23:19 +03:00
  • 7c5e184c26 Implement generator support for extension fields (no encoder/decoder support yet) Petteri Aimonen 2013-07-17 00:06:54 +03:00
  • f064c2c48a Fix formatting in documentation Petteri Aimonen 2013-07-16 11:31:38 +03:00
  • 3c10e6fa71 Check for empty message type before incrementing required_field_index. Kent Ryhorchuk 2013-07-15 18:04:47 -07:00
  • a01856f4ab Add test case for extra fields in AllTypes Petteri Aimonen 2013-07-16 11:07:34 +03:00
  • bb985e9927 Add pb_decode_delimited and pb_encode_delimited wrapper functions. Petteri Aimonen 2013-07-06 16:16:00 +03:00
  • 314460c2a5 Clean up the comments in pb_encode.h and pb_decode.h Petteri Aimonen 2013-07-06 15:55:15 +03:00
  • 0ed3158560 Add section in pb.h for changing compilation settings. Petteri Aimonen 2013-07-06 15:27:31 +03:00
  • 4b705bf64b Add error message macros to API reference. Petteri Aimonen 2013-07-06 15:25:42 +03:00
  • 6e9e532927 Document the .options file usage. Petteri Aimonen 2013-07-06 13:49:47 +03:00
  • 68dd0171bc Switch the example project to use the new .options file Petteri Aimonen 2013-07-06 13:01:21 +03:00
  • a1cec46b3e Include the field tags in the generated .pb.h file. Petteri Aimonen 2013-06-03 22:46:19 +03:00
  • bfd7cb36b9 Setting version to 0.2.2-dev Petteri Aimonen 2013-04-14 10:07:46 +03:00
  • ef741ea530 Publishing nanopb-0.2.1 nanopb-0.2.1 Petteri Aimonen 2013-04-14 10:06:47 +03:00
  • 26b52b79ad Update changelog Petteri Aimonen 2013-04-14 10:04:46 +03:00
  • d2063ff0b6 Handle unterminated strings when encoding. Petteri Aimonen 2013-04-14 09:46:39 +03:00
  • 9939910833 Fix bug with empty strings in repeated string callbacks. Petteri Aimonen 2013-04-14 09:26:42 +03:00
  • 6a02298584 Avoid maybe-uninitialized warning Petteri Aimonen 2013-04-08 11:00:28 +03:00
  • a968233777 No need to include stdbool.h separately dch 2013-04-07 15:28:51 +01:00
  • 710465a8e0 __pragma keyword is only supported by recent Microsoft compilers dch 2013-04-07 15:28:05 +01:00
  • 7a9c29f2d7 Perform field initialization to defaults only when the field is skipped. dev_performance_improvement Petteri Aimonen 2013-04-05 21:35:36 +03:00