Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-26CMake: Installation improvements.dev_cmake_python_installPetteri Aimonen
- Allow installed nanopb_generator.py wrapper script find the module by relative path. - Install include files under `nanopb` subdirectory.
2023-10-20CMakeLists: reorder generator installation commandsPetteri Aimonen
2023-10-19Add GitHub workflow for testing CMake installationPetteri Aimonen
2023-10-19Make CMakeLists install as Python module 'nanopb', not 'proto' (#845)Petteri Aimonen
Makes the installation consistent with "pip install nanopb" results, and avoids naming conflicts with other libraries.
2023-10-19Fix build failure on MSVCPetteri Aimonen
2023-10-19Automatically break circular dependencies (#881)Petteri Aimonen
It is better to define FT_CALLBACK manually at the point where it makes sense, but the automatic logic avoids build failures if you don't care about the details.
2023-10-19Add test cases for initializer macro special cases (#806)Petteri Aimonen
2023-10-19Fix initializer macros for custom callback datatype (#806)Petteri Aimonen
Uses NULL for pointer types and {} for other types. User can override the type with generator option "initializer".
2023-10-19Add test case for package name replacement in included file (#899)Petteri Aimonen
2023-10-19Fix submessages with different mangling rulesRichard Patel
2023-10-14Add support for nanopb options files without patching rules_proto_grpcmark
2023-10-11Add support for .options files in bazel rulesTobias Thiel
2023-10-11Add unit test for .options files in bazel rulesTobias Thiel
2023-10-09Fix Linux/Mac binary package buildPetteri Aimonen
PyInstaller now puts libraries in a subdirectory. Use --strip instead of manually stripping debug symbols. Needed also changes in how builtin protoc include path is constructed.
2023-09-08Provide the maximum message sizejheaff1
2023-08-31Add missing source and data filesKrishna Ersson
2023-08-17Ensure the long enum names conform to the naming style when using short enum ↵Josh Strohminger
names
2023-08-17Keep track of enum auxiliary defines as mangled pairsJosh Strohminger
2023-08-17Keep track of message initializers as mangled pairsJosh Strohminger
2023-08-17Add test for stripping package names across dependent proto filesJosh Strohminger
2023-08-17Support newer protoc version scheme that only includes the minor and patch ↵Josh Strohminger
versions If only the minor and patch versions are found, assume the major version is 3.
2023-08-17Update readme to match other examples configurations for running tests on MacJosh Strohminger
2023-08-11Fix first path passed to protocTobias Müller
Fix relative path passed to protoc when using RELPATH but NANOPB_GENERATE_CPP_APPEND_PATH not set. In this case the path provided by RELPATH should be passed to protoc first instead of the current source directory. This was working before and broke with 8cc860c. Co-authored-by: Guillaume Lager <g.lager@innoseis.com>
2023-08-08Remove pkg_resources import (#887)dev_remove_pkg_resourcesPetteri Aimonen
These were needed by old versions of pyinstaller.
2023-07-12Allow substitutions in custom_nanopb_protosJoseph Duchesne
Allows building protos found in libraries by using ${PIOENV} substitutions like so: `custom_nanopb_protos = +<.pio/libdeps/${PIOENV}/some_library/proto/*.proto>`
2023-07-06Bump grpcio from 1.51.3 to 1.53.0 in /extradependabot[bot]
Bumps [grpcio](https://github.com/grpc/grpc) from 1.51.3 to 1.53.0. - [Release notes](https://github.com/grpc/grpc/releases) - [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md) - [Commits](https://github.com/grpc/grpc/compare/v1.51.3...v1.53.0) --- updated-dependencies: - dependency-name: grpcio dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26Test cases: fix broken version check for libprotoc 23.1.Petteri Aimonen
Protoc version number seems to have dropped the last number, match only first two in the regexp.
2023-06-12Add migration documentation for int_size option for enum fieldsjheaff1
2023-06-12Add unit test for int_size option for enumsjheaff1
2023-06-12Add ability to specify size of generated enumsjheaff1
2023-05-17CMakeLists: Minimum version 3.14Petteri Aimonen
Needed for NAME_WLE (see commit 9cdc4cf2104ba1592). Thanks for Ilya Maykov for noticing.
2023-05-15Add nanopb_PYTHON_INSTDIR_OVERRIDE to CMakeLists.txtNick St.Pierre
2023-05-11add "call" under Windows upon generator callphilippe44
2023-05-09GitHub workflow: update bazel mac image versionPetteri Aimonen
2023-04-25ref |> Modified The generated code uses utf-8 encoding by default.Jerry.Chen
2023-04-11Update Python2 CI workflow to Ubuntu 20.04Petteri Aimonen
GitHub no longer offers the Ubuntu 18.04 runner.
2023-02-24bazel: update grpcio-tools to fix mac build on armIsaac Torres
Fixes the bazel build when using a standalone python interpreter on arm macs. The previous version of grpcio-tools is not available as a prebuilt wheel for darwin-aarch64, leading to a source build. Unfortunately the standalone python interpreters often have issues building packages that contain native dependencies. See https://github.com/bazelbuild/rules_python/issues/646 for more context.
2023-01-23Fix platformio build failure in examplePetteri Aimonen
2023-01-03Ensure generator files are updated when cachedHans Binderup
When bumping Nanopb, while having the previous version cached, the generator files are not correctly copied during build. CMake copy_directory does not seem to copy the content if the directory does already exist. By specifying that we want to copy the content of the directory we can avoid this issue. Review: Add comment
2022-12-27Bump setuptools from 60.2.0 to 65.5.1 in /extradependabot[bot]
Bumps [setuptools](https://github.com/pypa/setuptools) from 60.2.0 to 65.5.1. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst) - [Commits](https://github.com/pypa/setuptools/compare/v60.2.0...v65.5.1) --- updated-dependencies: - dependency-name: setuptools dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23Use static_assert keyword on MSVC in C89 mode (#843)Petteri Aimonen
2022-12-16CMakeLists: Add missing __init__.py to generator install (#841)Petteri Aimonen
2022-12-11Setting version to 0.4.8-devPetteri Aimonen
2022-12-11Publishing nanopb-0.4.7nanopb-0.4.70.4.7Petteri Aimonen
2022-12-11Update changelog and authorsPetteri Aimonen
2022-12-09Add option NANOPB_PB2_TEMP_DIR to store nanopb_pb2.py in a temporary ↵dev_dynamic_nanopb_pb2_2Petteri Aimonen
directory (#601) When environment variable NANOPB_PB2_TEMP_DIR is defined, the generator will store the autogenerated nanopb_pb2.py in a temporary directory. This can be the value of the environment variable, if it is valid directory, or otherwise system-wide temp directory is used. This avoids polluting the source code folder with autogenerated file, and may avoid some version incompatibility issues. By default the old behavior of storing nanopb_pb2.py under proto folder is preserved.
2022-12-08Improve PlatformIO generatorValerii Koval
- This commit mainly fixes #834 by placing path arguments of the Nanopb generator in the array separately to avoid possible issues if paths contain spaces - Other minor improvements
2022-12-07Fix subprocess.run call on platformio_generator.pyPavel Sokolov
2022-12-07platformio: Expand PYTHONEXE prior to constructing the action (#834)Petteri Aimonen
2022-12-05Fix test failure on AVR (C++ vs. the app_main() test run wrapper)Petteri Aimonen