aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-12-29Fixes for pyinstallerPetteri Aimonen1-0/+7
2013-12-29Small fix for previousPetteri Aimonen1-2/+2
2013-12-29Check for supported GCC CCFLAGS when building tests.Petteri Aimonen1-6/+20
2013-12-29Make generator print errors to stderr.Petteri Aimonen1-12/+14
Otherwise they won't be visible when run as a protoc plugin.
2013-12-29Add a SCons tool for nanopb protos.Petteri Aimonen5-41/+129
This tool script is useful both for building the tests and also for use in other applications.
2013-12-29Fix protoc-gen-nanopb in linux packagePetteri Aimonen2-7/+10
2013-12-29Include libprotocPetteri Aimonen1-0/+2
2013-12-29Linux archivePetteri Aimonen1-0/+3
2013-12-29Also include the manifest for MSVCR90.DLLPetteri Aimonen1-0/+8
2013-12-29Include MSVCR90.DLL also.Petteri Aimonen1-0/+4
2013-12-29Include Visual C++ runtime in the Windows package.Petteri Aimonen1-1/+3
2013-12-29README updatesPetteri Aimonen2-9/+58
2013-12-29Windows build fixesPetteri Aimonen2-1/+10
2013-12-29Fix protoc plugin pathPetteri Aimonen1-2/+2
2013-12-29Actually no, it was a portability hasslePetteri Aimonen1-7/+0
2013-12-29Makefile tuningPetteri Aimonen1-0/+7
2013-12-29Rework the Makefiles to be compatible with binary packages.Petteri Aimonen8-43/+86
2013-12-29Moving files aroundPetteri Aimonen9-2/+3
Renamed READMEs to README.txt to be more friendly for Windows users.
2013-12-29Package as .zip, convert linebreaksPetteri Aimonen1-0/+8
2013-12-29Add build script for windows packagePetteri Aimonen3-19/+46
2013-12-29Add descriptor.proto to repository to avoid messing with protoc include path.Petteri Aimonen4-4/+624
2013-12-29Add script for making linux binary packagePetteri Aimonen2-0/+40
2013-12-29Move the generator .proto files to a subdir, and get rid of precompiled ↵Petteri Aimonen7-326/+4
versions.
2013-12-29Bring alltypes_pointer testcase up to datePetteri Aimonen3-96/+24
2013-12-29Improve alltypes_pointer test casePetteri Aimonen3-95/+137
2013-12-29Fix missing error messages in pb_encode.cPetteri Aimonen1-1/+6
2013-12-29Rename encode_static_field -> encode_basic_field.Petteri Aimonen1-4/+4
2013-12-29Organize allocation logic in generator, add pb_bytes_ptr_t.Petteri Aimonen4-66/+63
Allocation decision is now made before the field data type is decided. This way the data type decisions can more cleanly account for the allocation type, i.e. FT_DEFAULT logic etc. Added pb_bytes_ptr_t for pointer-allocated bytes-fields. There is no point generating separate structs for these, as they would all be of the same type.
2013-12-29Const-correctness and small cleanup.Petteri Aimonen1-21/+25
2013-12-29Generating and encoding messages with dynamic allocaitonMartin Donath9-36/+373
2013-12-22Negative int32 values take 10 bytes now.Petteri Aimonen1-1/+1
2013-12-21Fix problem with decode_legacy test case on Windows.Petteri Aimonen1-3/+8
2013-12-21Add test for extreme integer values (INT32_MAX etc.) in AllTypes.Petteri Aimonen7-1/+92
2013-12-21Add PB_LTYPE_UVARINT to fix encoding of negative int32 values.Petteri Aimonen3-22/+55
Apparently int32 values that are negative must be cast into int64 first before being encoded. Because uint32 still needs to be cast to uint64, the cases for int32 and uint32 had to be separated. Update issue 97 Status: FixedInGit
2013-12-21Modify the alltypes test to check re-encoding through protoc.Petteri Aimonen3-15/+53
This way we can verify that the message is encoded exactly the same way as the official protobuf implementation would do it.
2013-11-14Optimize the common case of 1-byte reads for varints.Petteri Aimonen1-3/+23
For PB_BUFFER_ONLY configuration, this gives 20% speedup without increasing code size.
2013-11-13Make tests build in a separate folder, add to gitignorePetteri Aimonen17-51/+61
2013-11-11Fix path in FindNanopb.cmake.Petteri Aimonen1-1/+1
Update issue 94 Status: FixedInGit
2013-11-07Setting version to 0.2.5-devPetteri Aimonen2-2/+2
2013-11-07Publishing nanopb-0.2.4Petteri Aimonen3-3/+3
2013-11-02Add dates to changelogPetteri Aimonen1-15/+15
2013-11-02Update changelogPetteri Aimonen1-0/+9
2013-11-02Generate #define tags for extension fields also.Petteri Aimonen2-0/+11
Update issue 93 Status: FixedInGit
2013-10-29Remove the NANOPB_INTERNALS functions from public API.Petteri Aimonen10-45/+27
These have been deprecated since nanopb-0.1.6 (some since 0.1.3). Equivalent functions with better interface are available in the API. Update issue 91 Status: FixedInGit
2013-10-29Declare static functions before use.Petteri Aimonen2-13/+43
For compliance with MISRA C rules (issue 91).
2013-10-29Cleanup of comments.Petteri Aimonen2-15/+27
2013-10-29Add a definition of the security model to the documentation.Petteri Aimonen3-2/+82
2013-10-29Rename some internal functions to have unique namesPetteri Aimonen2-4/+4
2013-10-24Detect invalid sizes when encoding bytes fields.Petteri Aimonen3-3/+24
2013-10-24Same fix for EncodedSize.__mul__Petteri Aimonen1-1/+1