Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-26 | CMake: Installation improvements.dev_cmake_python_install | Petteri Aimonen | |
- Allow installed nanopb_generator.py wrapper script find the module by relative path. - Install include files under `nanopb` subdirectory. | |||
2023-10-20 | CMakeLists: reorder generator installation commands | Petteri Aimonen | |
2023-10-19 | Add GitHub workflow for testing CMake installation | Petteri Aimonen | |
2023-10-19 | Make 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-19 | Fix build failure on MSVC | Petteri Aimonen | |
2023-10-19 | Automatically 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-19 | Add test cases for initializer macro special cases (#806) | Petteri Aimonen | |
2023-10-19 | Fix 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-19 | Add test case for package name replacement in included file (#899) | Petteri Aimonen | |
2023-10-19 | Fix submessages with different mangling rules | Richard Patel | |
2023-10-14 | Add support for nanopb options files without patching rules_proto_grpc | mark | |
2023-10-11 | Add support for .options files in bazel rules | Tobias Thiel | |
2023-10-11 | Add unit test for .options files in bazel rules | Tobias Thiel | |
2023-10-09 | Fix Linux/Mac binary package build | Petteri 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-08 | Provide the maximum message size | jheaff1 | |
2023-08-31 | Add missing source and data files | Krishna Ersson | |
2023-08-17 | Ensure the long enum names conform to the naming style when using short enum ↵ | Josh Strohminger | |
names | |||
2023-08-17 | Keep track of enum auxiliary defines as mangled pairs | Josh Strohminger | |
2023-08-17 | Keep track of message initializers as mangled pairs | Josh Strohminger | |
2023-08-17 | Add test for stripping package names across dependent proto files | Josh Strohminger | |
2023-08-17 | Support 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-17 | Update readme to match other examples configurations for running tests on Mac | Josh Strohminger | |
2023-08-11 | Fix first path passed to protoc | Tobias 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-08 | Remove pkg_resources import (#887)dev_remove_pkg_resources | Petteri Aimonen | |
These were needed by old versions of pyinstaller. | |||
2023-07-12 | Allow substitutions in custom_nanopb_protos | Joseph 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-06 | Bump grpcio from 1.51.3 to 1.53.0 in /extra | dependabot[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-26 | Test 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-12 | Add migration documentation for int_size option for enum fields | jheaff1 | |
2023-06-12 | Add unit test for int_size option for enums | jheaff1 | |
2023-06-12 | Add ability to specify size of generated enums | jheaff1 | |
2023-05-17 | CMakeLists: Minimum version 3.14 | Petteri Aimonen | |
Needed for NAME_WLE (see commit 9cdc4cf2104ba1592). Thanks for Ilya Maykov for noticing. | |||
2023-05-15 | Add nanopb_PYTHON_INSTDIR_OVERRIDE to CMakeLists.txt | Nick St.Pierre | |
2023-05-11 | add "call" under Windows upon generator call | philippe44 | |
2023-05-09 | GitHub workflow: update bazel mac image version | Petteri Aimonen | |
2023-04-25 | ref |> Modified The generated code uses utf-8 encoding by default. | Jerry.Chen | |
2023-04-11 | Update Python2 CI workflow to Ubuntu 20.04 | Petteri Aimonen | |
GitHub no longer offers the Ubuntu 18.04 runner. | |||
2023-02-24 | bazel: update grpcio-tools to fix mac build on arm | Isaac 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-23 | Fix platformio build failure in example | Petteri Aimonen | |
2023-01-03 | Ensure generator files are updated when cached | Hans 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-27 | Bump setuptools from 60.2.0 to 65.5.1 in /extra | dependabot[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-23 | Use static_assert keyword on MSVC in C89 mode (#843) | Petteri Aimonen | |
2022-12-16 | CMakeLists: Add missing __init__.py to generator install (#841) | Petteri Aimonen | |
2022-12-11 | Setting version to 0.4.8-dev | Petteri Aimonen | |
2022-12-11 | Publishing nanopb-0.4.7nanopb-0.4.70.4.7 | Petteri Aimonen | |
2022-12-11 | Update changelog and authors | Petteri Aimonen | |
2022-12-09 | Add option NANOPB_PB2_TEMP_DIR to store nanopb_pb2.py in a temporary ↵dev_dynamic_nanopb_pb2_2 | Petteri 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-08 | Improve PlatformIO generator | Valerii 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-07 | Fix subprocess.run call on platformio_generator.py | Pavel Sokolov | |
2022-12-07 | platformio: Expand PYTHONEXE prior to constructing the action (#834) | Petteri Aimonen | |
2022-12-05 | Fix test failure on AVR (C++ vs. the app_main() test run wrapper) | Petteri Aimonen | |