Commit graph

1158 commits

Author SHA1 Message Date
afischerdev
b15bdf3192 update locus to new output 2023-08-15 16:35:52 +02:00
afischerdev
1600c4356e code cleanup, rework 2023-08-15 16:31:06 +02:00
afischerdev
f6c5953241 added missed idle parameter 2023-08-02 15:32:59 +02:00
afischerdev
8ae614cfa4 monochrome icon added 2023-07-31 10:34:22 +02:00
afischerdev
071ff5863f break on config change prevented 2023-07-31 10:30:40 +02:00
afischerdev
2dbb57dd4e check for NPE on config 2023-07-31 10:25:58 +02:00
afischerdev
71dfbac13c check for NPE on badWays 2023-07-31 10:24:14 +02:00
quaelnix
03aab82e1e
Merge pull request #599 from quaelnix/improve-mapcreation-readme
Improve mapcreation readme
2023-07-27 17:32:30 +02:00
quaelnix
3bb0693fa3
Merge pull request #598 from quaelnix/fix-fastbike-options
Fix fastbike options
2023-07-27 17:31:17 +02:00
quaelnix
838141f597 Improve mapcreation readme 2023-07-27 16:05:19 +02:00
quaelnix
5ccc6ef766
Exploit constant expression optimization in fastbike.brf 2023-07-24 17:11:14 +02:00
quaelnix
c38a9186fd
Remove unused profile options 2023-07-24 17:01:04 +02:00
quaelnix
67f923b96e
Implement 'allow_steps' and 'allow_ferries' in fastbike.brf 2023-07-24 17:00:49 +02:00
afischerdev
0b6608eddb
Update gradle-publish.yml
Removed bundle from gradle build
2023-07-20 12:58:00 +02:00
afischerdev
cabdea1e94
Merge pull request #596 from afischerdev/new-apk
Prepare new release 1.7.2
2023-07-20 12:31:59 +02:00
afischerdev
ff73608f0a
Merge pull request #593 from quaelnix/fix-fastbike-regression
Fix profile regressions
2023-07-18 14:39:16 +02:00
afischerdev
f14b8795ea change new version number and date 2023-07-18 12:53:27 +02:00
afischerdev
ab60c442de add doc for new version 2023-07-18 12:45:52 +02:00
afischerdev
3eed1e18c8 add manual start, add Android bundle 2023-07-18 12:30:58 +02:00
afischerdev
ead951d149 change java version in git actions 2023-07-18 11:01:04 +02:00
afischerdev
1109021018
Merge pull request #590 from moving-bits/minor_spelling_fixes
Fix minor spelling issues

Thank you for your contribution.
2023-07-17 16:31:32 +02:00
quaelnix
38fc780055
Remove unused profile options 2023-07-17 14:52:28 +02:00
quaelnix
188280b448
Fix regression in trekking profile
The 'avoid_path' logic which was added in 89b71c2bfb ignores the cycleroute logic and makes no sense.
2023-07-17 14:48:16 +02:00
afischerdev
22cf0bba68
Merge pull request #594 from rkflx/PR/only-revert-voicehint-reindexing
Revert voice hint reindexing
2023-07-17 12:49:07 +02:00
afischerdev
bd6d22101c
Merge pull request #592 from afischerdev/new-apk
Update to new beta version
2023-07-17 12:41:39 +02:00
quaelnix
9125481aed
Fix regression in fastbike profile
e66468b091 broke the logic that handled highway=path. This patch reverts the problematic change in behavior. See: https://github.com/nrenner/brouter-web/issues/756
2023-07-16 19:33:34 +02:00
afischerdev
3706c0cb57 update to new beta version 2023-07-16 12:52:47 +02:00
moving-bits
0d89754ecf Fix minor spelling issues 2023-07-15 16:31:34 +02:00
afischerdev
2762744a84
Update build.gradle
Changed classifier  to archiveClassifier
2023-07-12 13:01:59 +02:00
afischerdev
c825f60eb1
Update gradle-publish.yml
Update checkout and setup-java to v3
2023-07-12 12:05:34 +02:00
afischerdev
67bc763188
Merge pull request #588 from afischerdev/new-apk
Version 1.7.1
2023-07-12 11:47:57 +02:00
afischerdev
f96b83750e
Merge pull request #587 from afischerdev/app-ui-update
Add a silent mode for app start
2023-07-12 11:38:44 +02:00
Henrik Fehlauer
d98b1060d4
Explicitly map internal voice hint ids to external JSON API ids
As c9ae7c8 showed, changing internal ids without being aware of the
possible impact might easily lead to break the external API.

While ids could be fixated by adding respective tests, an even more
elegant solution is to make the mapping from internal ids to external
ids explicit, similar how it is already done for other voice hint
formats.

To underline the purpose of the mapping even more, the
respective method is renamed appropriately.

Test Plan:
  - `./gradlew test`
  - Export a complex route in BRouter-Web and check voice hints have not
  been changed.
2023-07-12 08:59:12 +00:00
Henrik Fehlauer
82fecf95f6
Revert voice hint indexing change in JSON API to restore compatibility
a9e8731 made voice hints available from `formatAsGeoJson()`, which is
used both in the GeoJSON HTTP API and in the JSON Java API. To indicate
a specific type of voice hint, it was chosen to include its numeric id
in the output JSON array among other data. The full list of available
ids was defined in `class VoiceHint`, e.g. `static final int C = 1;`.

Consumers of the API now depended on the mapping from id to intended
voice hint not changing, since otherwise incorrect voice hints could be
displayed. Unfortunately that API contract was broken in c9ae7c8, where
instead of assigning unused ids to new commands, the meaning of existing
ids was changed. This broke compatibility: Clients adapted to the change
did not work with the old indexing anymore, and clients not yet adapted
would break with newer BRouter releases, e.g. they would suddenly
display "Off route" for a "right u-turn".

To restore compatibility, the indexing is reverted to its old state.

This will unbreak GeoJSON/JSON API users no yet adapted to BRouter 1.7.0
or 1.7.1, e.g. BRouter-Web as well as unmaintained clients. While API
users which already patched ids would need to undo or special-case their
changes, the impact is believed to be low, as no such users are
currently known and the breakage was released only recently.

The changed meaning of `TU` in output formats (before: `u-turn-left`,
now: `u-turn-180`) has not been reverted for now, since either that
command is mapped to fallback solutions anyway (e.g. Orux, old Locus,
Gpsies), the change has already been implemented in clients (new Locus,
Cruiser) or was only planned to be implemented in the future (OsmAnd).

Fixes #584

Test Plan:
  - `./gradlew test`
  - Run BRouter with an unpatched BRouter-Web and confirm voice hint
  ids have been restored to the same ones as emitted by BRouter 1.6.3.
2023-07-11 17:57:14 +00:00
afischerdev
bcc028606a update Android doc 2023-07-10 18:19:01 +02:00
afischerdev
6084db93d3 new version 1.7.1 2023-07-10 18:18:10 +02:00
afischerdev
993a3aa859
Merge pull request #579 from afischerdev/profiles-update
Update profiles for new db tags
2023-07-10 18:05:15 +02:00
afischerdev
c02ebecf65 add doc for silent mode 2023-07-10 12:12:03 +02:00
afischerdev
0fbf6ea096 add a silent mode for app start 2023-07-10 12:00:01 +02:00
afischerdev
086503e529
Merge pull request #586 from afischerdev/app-download
Fixed some smaller app problems
2023-07-10 11:07:37 +02:00
afischerdev
565cdde223
Merge pull request #583 from afischerdev/find-points
Find matching points in areas with longer distance between way points
2023-07-10 11:01:14 +02:00
afischerdev
94e29852d0
Merge pull request #582 from afischerdev/app-ui-update
Add portrait mode to app
2023-07-10 10:56:38 +02:00
afischerdev
9a8fd48418
Merge pull request #581 from afischerdev/app-problem
Fixed error in single download
2023-07-10 10:53:38 +02:00
afischerdev
62595b2553 move migration away from ui thread 2023-07-09 18:35:10 +02:00
afischerdev
9a029af8dd protect against limited data size 2023-07-09 18:22:25 +02:00
Arndt Brenschede
58e9ec301b changed db-tag-processing to csv-file 2023-07-09 15:39:55 +02:00
afischerdev
20ee509d39 basedir sometimes not filled 2023-07-09 14:56:42 +02:00
afischerdev
6cc5ae7717 change from StatFs to File 2023-07-09 14:54:50 +02:00
Arndt Brenschede
60c99500fa changed db-tag-processing to csv-file 2023-07-09 14:52:35 +02:00
Arndt Brenschede
30f548096b changed db-tag-processing to csv-file 2023-07-09 14:48:09 +02:00