Commit graph

111 commits

Author SHA1 Message Date
Manuel Fuhr
dd896347a2 Fix newly detected violations from PMD 7 2024-04-03 22:42:30 +02:00
Manuel Fuhr
e2752c78bb Remove AndroidManifests for pure java libraries
AGP 8.0 upgrade assistant transforms those to build.gradle instructions which aren't supported for pure java libs
2024-04-03 22:36:30 +02:00
simdens
2f1422352e
Add "DIVIDE" command and new "maxslope" and "maxslopecost" parameters (#642)
* Added 'DIV' expression for profiles

* Added 'uphillmaxbuffercost' and 'downhillmaxbuffercost' parameter. This makes it possible to penalize very steep path sections

* Added 'div by zero' check in BExpression.java DIV command

* Simplify maxbuffercostdiv logic

* Added documentation about new features

* Fix typo

* Rename new DIV command

* Redesign the new commands
- Allow to set both the maxslope and the maxslopecost in the way context separately for uphill and downhill
- New names for the new commands that better reflect what they actually do

* Adapt the profile developers guide to the latest changes

* Improve wording

---------

Co-authored-by: quaelnix <122357328+quaelnix@users.noreply.github.com>
2024-01-17 16:34:52 +01:00
afischerdev
8f793150b0 changed wording for foot/feet 2023-08-30 17:03:45 +02:00
afischerdev
9d22709017 added to if-else-tree 2023-08-30 16:59:47 +02:00
afischerdev
093d400c5b added from/to check in test 2023-08-29 16:58:52 +02:00
afischerdev
2b17ae9255 added new character check 2023-08-29 16:55:41 +02:00
afischerdev
d26f77380d replaced windows characters 2023-08-29 16:51:59 +02:00
afischerdev
e954d2174b added check for from-to units 2023-08-29 16:49:29 +02:00
afischerdev
e697734d64 remove a last lower case 2023-08-27 17:24:54 +02:00
afischerdev
1ffd42904b update rework #616 and remove trim 2023-08-26 17:28:21 +02:00
moving-bits
5fea70d588 Replace multiple occurrences of toLowerCase() 2023-08-20 13:04:41 +02:00
afischerdev
1600c4356e code cleanup, rework 2023-08-15 16:31:06 +02:00
moving-bits
0d89754ecf Fix minor spelling issues 2023-07-15 16:31:34 +02:00
afischerdev
36dcc88a85 update test lookup with estimated_*_class 2023-07-08 11:33:38 +02:00
Arndt Brenschede
65953faec0 constant expressions: reworks keyvalue-injection, unit-test 2023-07-05 19:07:14 +02:00
Arndt Brenschede
de0acb77c5 optimizing constant expressions in profile parsing 2023-06-25 12:51:10 +02:00
Manuel Fuhr
28f205c1ad Enable PMD rule PrimitiveWrapperInstantiation and fix violations 2023-05-09 23:11:14 +02:00
Manuel Fuhr
7a6d3bd9d9 Enable PMD rule UseDiamondOperator and fix violations 2023-05-09 23:11:14 +02:00
moving-bits
79b1eda1ed Unify brackets for opening blocks with comments 2023-04-29 19:04:52 +02:00
afischerdev
fa64ff9192 add app version check to downloader 2023-04-04 11:46:50 +02:00
quaelnix
829baba037 Allow hill cost and hill cutoff in way context
This removes the limitation that `downhillcutoff` and `uphillcutoff` as well as `downhillcost` and `uphillcost` cannot be used in the way context.
2023-01-29 17:00:54 +01:00
afischerdev
d2297c0c52 add vars for misplaced pts 2023-01-09 18:13:03 +01:00
afischerdev
8fa27bcf6e remove compiler warnings 2022-11-23 16:28:43 +01:00
Manuel Fuhr
b68f1587b2 Enable PMD rule UnnecessaryFullyQualifiedName and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
09a9c1a104 Enable PMD rule SimplifiedTernary and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
1bff48b649 Enable PMD rule AvoidInstanceofChecksInCatchClause and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
30be64cbbe Enable PMD rule LooseCoupling and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
c75a8cb703 Enable PMD rule UnnecessaryImport and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
91459dbeb3 Fix codestyle violations from #481 2022-11-14 22:00:41 +01:00
afischerdev
70be61a81e made it pretty 2022-11-10 10:53:53 +01:00
afischerdev
da878abb90 add cmd line test profiles vs lookup 2022-11-09 10:06:37 +01:00
afischerdev
717f8c03d4 add cmd line test profiles vs lookup 2022-11-09 10:00:58 +01:00
afischerdev
fb7c73bb0f add test profiles with lookups.dat 2022-11-08 18:09:03 +01:00
Manuel Fuhr
f8d6aa7906 Fix checkstyle errors 2022-07-25 06:15:47 +02:00
Manuel Fuhr
c15913c1ab Reformat whole codebase using Android Studio 2022-07-25 06:14:46 +02:00
Arndt Brenschede
1640bafa80 fixed unknown value bug in pre-processor 2022-01-16 13:31:46 +01:00
afischerdev
d788dddcfa add variable values #233 2021-10-06 16:50:57 +02:00
afischerdev
11a4ef0515 add params 2021-07-24 11:48:07 +02:00
afischerdev
47f1b10b99 migrate to gradle part 2 2021-06-29 13:02:21 +02:00
Niklas Guertler
72e2e13d07 Switched build system to gradle 2020-05-24 16:46:04 +02:00
Arndt Brenschede
b0410daf89 version 1.6.1 2020-03-01 21:55:34 +01:00
Arndt Brenschede
cf5479a261 1.6.0 preparation 2020-02-15 14:36:27 +01:00
Arndt Brenschede
5c9b7fa7bf 1.5.5 versioning 2019-07-30 11:42:22 +02:00
Arndt Brenschede
2213d4f7fc some microtuning 2019-07-20 10:10:51 +02:00
Arndt Brenschede
f9f08cc0b7 1.5.0 preparations 2019-06-30 17:34:21 +02:00
Arndt Brenschede
02b8202001 patch times and turns (volker) 2019-04-17 12:36:57 +02:00
Arndt Brenschede
fb9334bf24 minor change to workariund a java6 profiling glitch 2018-12-16 13:32:16 +01:00
Phyks (Lucas Verney)
780e865870 Fix JavaDoc errors 2018-12-07 08:59:15 +01:00
Arndt Brenschede
9c5f2d113e 1.4.11 preps 2018-04-02 22:41:55 +02:00