Commit Graph

240 Commits

Author SHA1 Message Date
Jochen Topf 7259487654 Github action: Use checkout v4 2023-10-02 09:37:52 +02:00
Jochen Topf 85e763ea0f Github action: Use clang 15 on Ubuntu 22.04 2023-10-02 09:37:52 +02:00
Jochen Topf ffd833fb22
Merge pull request #73 from probonopd/patch-1
#include <unistd.h>
2023-10-02 09:37:29 +02:00
probonopd 6483ae0dcb
#include <unistd.h>
Fixes compilation on FreeBSD
Closes #72
2023-10-01 23:58:09 +02:00
Jochen Topf 37adab91e5 Remove symlink from osmpbf to src, use osmpbf directly 2022-05-27 12:36:32 +02:00
Jochen Topf 4195fe6557 CMake config: Remove unused line 2022-05-27 12:35:46 +02:00
Jochen Topf 6e9c00769f CMake: Do not set C++ version any more.
At least C++11 is standard in modern compilers anyway. Only macOS seems
to need an explicit set for this.
2022-05-27 11:48:42 +02:00
Jochen Topf cffbe661b1 Github Actions: Build on Ubuntu 20.04/22.04, not 18.04 any more 2022-05-27 11:06:51 +02:00
Jochen Topf a3f9e58622 Show packaging status in README.md 2022-01-08 10:07:10 +01:00
Jochen Topf 278c07098f Guthub action: Remove Ubuntu 16 from CI build
Because thas system isn't supported any more by github.
2022-01-08 10:06:00 +01:00
Jochen Topf edad45f7ab
Merge pull request #67 from openstreetmap/dependabot/maven/com.google.protobuf-protobuf-java-3.16.1
Bump protobuf-java from 3.13.0 to 3.16.1
2022-01-08 10:04:02 +01:00
dependabot[bot] 6d91b131e1
Bump protobuf-java from 3.13.0 to 3.16.1
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.13.0 to 3.16.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.13.0...v3.16.1)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-07 22:36:35 +00:00
Jochen Topf 7e111e6791
Merge pull request #66 from openstreetmap/ant-build
Ant build
2021-01-09 21:49:01 +01:00
Jochen Topf 0e99a6fef2 Document build with Ant 2021-01-09 10:14:23 +01:00
Jochen Topf d9ee34140d Revert "Delete obsolete build.sh"
This reverts commit 33e940238b.

Ant build is still used by Debian
2021-01-09 09:54:12 +01:00
Jochen Topf 40d041e344 Revert "Delete obsolete Ant build file"
This reverts commit fa86a8a640.

Ant build is still used by Debian
2021-01-09 09:47:02 +01:00
Jochen Topf 5b8c95fb1d Release version 1.5.0 2021-01-06 14:47:22 +01:00
Jochen Topf 6d42449842
Merge pull request #65 from simon04/oneof
fileformat.proto: use oneof for blob data
2021-01-05 10:24:41 +01:00
Jochen Topf 22b9f74702
Merge pull request #63 from simon04/java-refact
BlockReaderAdapter: implement Closeable, Flushable
2021-01-05 10:10:34 +01:00
Simon Legner a1e4a59995 fileformat.proto: use oneof for blob data
Ref: https://developers.google.com/protocol-buffers/docs/proto#oneof
2021-01-04 23:51:08 +01:00
Simon Legner 3dac689ea7 BlockReaderAdapter: implement Closeable, Flushable 2021-01-04 20:34:57 +01:00
Jochen Topf 1c7fadcde8
Merge pull request #61 from simon04/patch-4
README: fix Java usage example link
2021-01-04 13:42:24 +01:00
Jochen Topf cba41e6ce1
Merge pull request #62 from simon04/license
Fix license files
2021-01-04 13:41:58 +01:00
Simon Legner 77f631ee8e The .proto files licensed under the MIT license 2021-01-04 11:02:25 +01:00
Simon Legner 751bada225 Rename COPYING.LESSER to LICENSE 2021-01-04 11:01:48 +01:00
Simon Legner 025a229a0c Delete GPLv3 file 2021-01-04 10:59:04 +01:00
Jochen Topf bc5ddaaa74
Merge pull request #59 from simon04/patch-3
Use consistent comments in fileformat.proto
2021-01-04 10:23:01 +01:00
Simon Legner c5fc8124bc
README: fix Java usage example link 2021-01-04 10:20:32 +01:00
Simon Legner eccef0c255 Use consistent comments in fileformat.proto 2021-01-04 10:07:12 +01:00
Jochen Topf ee9144ef25
Merge pull request #60 from simon04/java-8
Modernise Java codebase
2021-01-04 09:16:56 +01:00
Simon Legner d5bdd020c1 Replace Error with adequate Exceptions
Sometimes wrapped in UncheckedIOException to not change the method signatures.
2021-01-03 23:50:43 +01:00
Simon Legner 9985bf46ad Update Javadoc 2021-01-03 23:40:40 +01:00
Simon Legner 712c8cacf7 Use Java array syntax 2021-01-03 23:39:46 +01:00
Simon Legner b787a1fdaa Modernise Java codebase (Java 8 features) 2021-01-03 23:39:01 +01:00
Simon Legner 22092218af BlockInputStream: implement Closeable 2021-01-03 23:27:41 +01:00
Simon Legner 8789d7f40c BinarySerializer: implement Closeable, Flushable 2021-01-03 23:22:27 +01:00
Jochen Topf bf2076840e Also run CI workflows on pull requests 2021-01-03 21:04:26 +01:00
Jochen Topf bd8b4e8a17
Merge pull request #58 from simon04/java-dev
Convert Java tests to unit tests
2021-01-03 21:03:36 +01:00
Simon Legner de663a3de3 ReadFileTest: get rid of StringBuilder 2021-01-03 20:37:12 +01:00
Simon Legner 26d0a8328d Convert WriteFileTest to unit test 2021-01-03 20:29:25 +01:00
Simon Legner 23c0203f27 Autoformat BuildTestFile.java 2021-01-03 20:21:14 +01:00
Simon Legner 7b8354aadb Convert ReadFileTest to unit test 2021-01-03 20:21:14 +01:00
Simon Legner a683b4c2fa Move Java test files to test.java/ 2021-01-03 19:55:34 +01:00
Jochen Topf b77df6b492 Add deprecation notice for Makefiles 2021-01-03 18:20:16 +01:00
Jochen Topf f1a1bfbe49 CMake: Use single set_target_properties() command 2021-01-03 17:13:28 +01:00
Jochen Topf 35ab2cdad0 Fix formatting in pom.xml 2021-01-03 17:11:19 +01:00
Jochen Topf a386f1b48c Set shared library version and bump version number to 1.5.0
See #53.
2021-01-03 16:50:22 +01:00
Jochen Topf 218bfe8ed8 Add optional LZ4 and ZSTD compressed data blocks to proto file 2021-01-03 16:45:26 +01:00
Jochen Topf e5de634ce2 Set destination for installs explicitly
Apparently not setting this doesn't work on older versions of CMake.
2021-01-03 15:26:14 +01:00
Jochen Topf 7982f902f7
Merge pull request #52 from tomhughes/install-dirs
Use the GNUInstallDirs module to set installation directories
2021-01-03 15:19:15 +01:00