Axel Uhl
394fa09cba
Merge branch 'master' into bug1018
2015-04-30 20:07:18 +02:00
Axel Uhl
20481e6fbe
Merge branch 'master' into bug1018
2015-04-30 14:10:04 +02:00
Axel Uhl
eaf7bed53f
Merge branch 'master' into bug1018
...
Conflicts:
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
2015-04-30 14:08:03 +02:00
Axel Uhl
1cf3fe2113
Merge branch 'design2015'
2015-04-30 13:31:13 +02:00
Axel Uhl
f70326abae
re-added extend-property + set-property for locale settings after checking back with OIO
2015-04-30 13:12:35 +02:00
Axel Uhl
3e909f00a9
explicitly added en locale
2015-04-30 09:52:15 +02:00
Axel Uhl
b45ce88800
Merge branch 'design2015'
...
Conflicts:
java/com.sap.sailing.gwt.ui/.settings/org.eclipse.core.resources.prefs
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_cn.properties
java/com.sap.sailing.gwt.ui/src/main/resources/com/sap/sailing/gwt/Home.gwt.xml
2015-04-30 09:51:09 +02:00
Axel Uhl
5ef75e3ba5
removed empty lines
2015-04-30 09:31:00 +02:00
Axel Uhl
50073115db
Merge remote-tracking branch 'server/master'
...
Conflicts:
java/com.sap.sailing.gwt.ui/.settings/org.eclipse.core.resources.prefs
2015-04-30 09:30:54 +02:00
Axel Uhl
6d20c02f17
added theme project to launch config
2015-04-30 01:11:33 +02:00
Axel Uhl
c7d428a3a5
Merge branch 'master' into design2015
...
Conflicts:
java/com.sap.sailing.gwt.ui/.settings/org.eclipse.core.resources.prefs
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.properties
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_cn.properties
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
2015-04-30 00:54:57 +02:00
Axel Uhl
cfb1d6673b
Merge branch 'master' into bug1018
2015-04-30 00:51:33 +02:00
Axel Uhl
c0794b3a69
Merge remote-tracking branch 'server/master'
2015-04-30 00:50:50 +02:00
Axel Uhl
10c7da6e36
Merge branch 'master' into bug1018
2015-04-30 00:47:46 +02:00
Axel Uhl
ec6133fd72
fixing bug 2789 (device configuration caption panel e-mail uneditable)
2015-04-30 00:46:23 +02:00
Axel Uhl
43b5c971ee
adjusted message texts for "uploaded file" instead of "uploaded image" only
2015-04-30 00:10:50 +02:00
Axel Uhl
356eed8119
fixed re-opened bug 1963 comment #23 by showing the flag image, not the competitor image, in the nationality/sail number column in leaderboard if present
2015-04-29 23:56:13 +02:00
Axel Uhl
543d58720b
fixed rendering of competitor image and flag image in admin console competitor table wrapper; see bug 1963 comment #23
2015-04-29 23:36:07 +02:00
Axel Uhl
c78fc9d4e8
fixing bug 2780 by adding flag URI change handling to listener interface and CompetitorImpl setter implementation; leaderboard cache handling updated
2015-04-29 23:23:39 +02:00
Axel Uhl
6a1f3c0e17
consolidated imports
2015-04-29 13:02:51 +02:00
Axel Uhl
558da0967f
Merge remote-tracking branch 'server/master'
2015-04-29 13:01:51 +02:00
Axel Uhl
ef1b348752
replaced remove icon by text to make button porpose clearer
2015-04-29 13:01:02 +02:00
Axel Uhl
143bd157ac
bug1963: also offer image upload for flag image; fixed swapping problem of competitor image and flag image
2015-04-29 12:52:01 +02:00
Axel Uhl
ff8adf4c84
started with allowances for competitors wherever they are on the course
2015-04-29 11:22:22 +02:00
Axel Uhl
2b3ae9310a
Merge branch 'master' into bug1018
2015-04-29 00:27:28 +02:00
Axel Uhl
4d7a3960d7
started to work on ORC Performance Curve implementation
2015-04-29 00:26:25 +02:00
Axel Uhl
d56c3aced6
fixed the other test cases as well; start fixes were missing, resulting in VMG=0
2015-04-28 22:39:14 +02:00
Axel Uhl
aaf6082563
fixed two out of four tests
2015-04-28 21:50:52 +02:00
Axel Uhl
1ee54ef6b1
changed race and leg ranking to predicted corrected arrival time at position of fastest boat; tests still fail; IllegalArgumentExceptions occur
2015-04-28 18:19:27 +02:00
Axel Uhl
9b8fab1d3a
changed getTimeToImprove and replaced by getGapToLeaderinOwnTime
2015-04-28 14:47:03 +02:00
Axel Uhl
df2510c0d4
implemented getGapToLeaderInOwnTime
2015-04-28 14:37:36 +02:00
Axel Uhl
9e22662c07
added a comparator by the corrected estimated time to reach the fastest boat's current position;
...
the corrected total time after which a competitor is estimated to arrive at the fastest boat's current
position can be used for a total ordering consistent ranking; gaps in each competitor's own time
can be inferred from this; see bug1018 comment #31
2015-04-28 14:12:55 +02:00
Axel Uhl
0f7a9a23af
removed a few more unnecessary "throw NoWindException" cases; eliminated corresponding try/catch where possible
2015-04-28 08:39:23 +02:00
Axel Uhl
14e9323763
added the overall ranking method that compares by estimated corrected times for reaching the boat that travled farthest so far
2015-04-28 01:17:26 +02:00
Axel Uhl
71c79818d3
added exceptions in case methods to project a competitor forward would need to project it backwards instead
2015-04-28 00:56:08 +02:00
Axel Uhl
aced04e1af
added an implementation of getDurationToReachAtEqualPerformance for time-on-time/time-on-distance;
...
this is the basis needed to estimate the total windward distance and duration that one competitor needs
to reach the windward position of another competitor that position-wise (but not necessarily corrected-time-wise)
is ahead.
2015-04-28 00:34:11 +02:00
Axel Uhl
6cb84f3782
refactored TrackedLegOfCompetitor.getEstimatedTimeToNextMarkInSeconds to return Duration; prepared methods in AbstractRankingMetric for new calculations
2015-04-27 22:01:11 +02:00
Axel Uhl
5fcb99964e
Merge branch 'master' into bug1018
...
Conflicts:
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRace.java
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRaceWithStartTimeAndRanks.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/TrackedRace.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/MockedTrackedRace.java
java/com.sap.sailing.server/src/com/sap/sailing/server/masterdata/DummyTrackedRace.java
2015-04-27 10:26:45 +02:00
Axel Uhl
b81824d37d
ensure that RankingMetric constructor function is serializable
2015-04-25 13:24:42 +02:00
Axel Uhl
ed61343693
fixing test Regatta mock implementations after adding method for ranking metric constructor
2015-04-25 00:13:28 +02:00
Axel Uhl
37eb4ddabf
factored the RankingMetric constructor parameter into the Regatta interface from where it is used by the DynamicTrackedRace constructions
2015-04-24 15:54:13 +02:00
Axel Uhl
4ffdf82b20
removed DynamicTrackedRaceConstructor that takes no RankingMetric argument
2015-04-24 14:44:10 +02:00
Axel Uhl
433458ea19
added implementation of getLegRankingComaprator for TimeOnTimeAndTDistanceRankingMetric
2015-04-24 14:37:48 +02:00
Axel Uhl
d18401242c
refactored TrackedLegOfCompetitorImpl to use getMarkPassingForLegStart/End
2015-04-24 14:18:26 +02:00
Axel Uhl
05a0cd94d9
don't return null for a competitor leg's time sailed when asking for beyond the end of tracking
2015-04-24 13:47:50 +02:00
Axel Uhl
85b20d1a06
Merge branch 'master' into bug1018
2015-04-24 09:09:51 +02:00
Axel Uhl
eef6479636
Merge remote-tracking branch 'server/master'
2015-04-23 15:46:10 +02:00
Axel Uhl
c7d6f62a75
fixing bug 2767 by also registering the old GPSFix(Moving)Impl type names with their old package locations for the Mongo persistence handler;
...
the commit in which the types were moved was 58bd451481
2015-04-23 15:41:08 +02:00
Axel Uhl
fac1e416a6
further improved logging in case mark GPS tracks cannot be loaded
2015-04-22 23:03:45 +02:00
Axel Uhl
4f24e2177b
improved exception logging for GPS track loading for smartphone tracking
2015-04-22 22:56:43 +02:00
Axel Uhl
a1da887ed9
fixing test issues on Hudson by introducing local subclass in test that makes required method public
2015-04-22 17:02:04 +02:00
Axel Uhl
adc37c5a30
fixed implementation of TimeOnTimeAndDistanceRankingMetric in line with bug 1018 comment #24 : subtracting time-on-distance allowance from reciproke VMG/VMC
2015-04-22 00:41:10 +02:00
Axel Uhl
5babab72a0
added a first very simple time-on-distance test
2015-04-21 23:43:42 +02:00
Axel Uhl
81c8f90a1f
fixed test logic; test still green
2015-04-21 23:14:54 +02:00
Axel Uhl
eab373a1a4
added first two successful test cases for time-on-time ranking
2015-04-21 23:06:55 +02:00
Axel Uhl
b62f6d9ac1
Merge branch 'master' into bug1018
2015-04-21 22:40:05 +02:00
Axel Uhl
3f6a706c45
added some convenience methods on Distance; moved getCourseLength() implementation from AbstractRankingMetric to TrackedRaceImpl
2015-04-21 22:39:08 +02:00
Axel Uhl
636bc9e925
made RankingMetric serializable, added serialVersionUIDs. Implemented getCorrectedTime for TimeOnTimeAndDistanceRankingMetric
2015-04-21 14:19:55 +02:00
Axel Uhl
d2e318899c
removed getCorrectedTime for leg again; corrected times should always be relative to the entire race, if needed taken for a particular mark passing time
2015-04-21 10:51:13 +02:00
Axel Uhl
d334099dd0
made compileable again and removed warnings by consolidating imports
2015-04-21 10:44:44 +02:00
Axel Uhl
b2d89790a1
refactored obtaining of ranking comparators to pass through RankingMetric
2015-04-21 10:24:07 +02:00
Axel Uhl
1cbd2646cc
finished OneDesignRankingMetric implementation of getTimeToImprove
2015-04-21 10:12:19 +02:00
Axel Uhl
41d8ad28b5
added a few methods deemed useful to RankingMetric and started implementing them for the OneDesignRankingMetric
2015-04-21 09:53:44 +02:00
Axel Uhl
40767d0d2a
added leg ranking comparator to the RankingMetric design
2015-04-20 18:24:07 +02:00
Axel Uhl
21ac8177c2
some more pass-through of WindLegTypeLegBearingCache for performance improvements; re-designed RankingMetric interface;
...
the new version of the interface returns a comparator for overall competitor ranking and a calculation for the time to improve
between a trailing and a leading competitor, determined in the trailing competitor's "time system." See bug 1018, comments
starting from #19 .
2015-04-20 18:17:53 +02:00
Axel Uhl
c1bf0240cf
introduced caching method with default implementation in RankingMetric
2015-04-17 18:08:39 +02:00
Axel Uhl
fb2e545bec
added a trivial OneDesignRankingMetric; removed more NoWindException declarations that were no longer required
2015-04-17 17:54:21 +02:00
Axel Uhl
0701401499
introduced RankingMetric interface; minor performance improvements for compareTo methods in AbstractDistance and AbstractSpeedImpl
2015-04-17 17:44:40 +02:00
Axel Uhl
3f8b076562
provided default implementations for the getCorrectedGapToLeader methods on TrackedLegOfCompetitorImpl
2015-04-17 17:21:19 +02:00
Axel Uhl
73b3bcef85
introduced new "*Corrected*" methods on TrackedRace and TrackedLegOfCompetitor; use Duration instead of Double / seconds for gap calculation results
2015-04-17 17:18:55 +02:00
Axel Uhl
7c59da1972
Merge branch 'bug26'
2015-04-17 17:00:29 +02:00
Axel Uhl
2b54719fa9
added some support for string-serialization of enum values
2015-04-17 15:03:34 +02:00
Axel Uhl
a6b60d6b96
added some Javadoc explaining the limitations and capabilities of the SettingsToJsonSerializer
2015-04-17 14:43:38 +02:00
Axel Uhl
7db994f3fe
support for enum lists
2015-04-17 14:34:56 +02:00
Axel Uhl
2a7444c3c9
fixed support for ___TYPE setting name escaping; added test case
2015-04-17 14:20:46 +02:00
Axel Uhl
a798b1247c
added test for nested settings
2015-04-17 14:09:29 +02:00
Axel Uhl
64431486da
simplified JSON-serialized representation, providing type names only for enums
2015-04-17 14:04:25 +02:00
Axel Uhl
6bc793844f
a first successful settings "serialization/deserialization" test with JSON
2015-04-17 12:20:51 +02:00
Axel Uhl
aff66aeaf7
Merge branch 'master' into bug26
2015-04-17 09:17:38 +02:00
Axel Uhl
1d198aa82c
Merge remote-tracking branch 'server/master'
2015-04-17 09:12:05 +02:00
Axel Uhl
33692ffcf8
use simpler version of EntryPointHelper service registration method in EditProfileEntryPoint
2015-04-16 15:28:14 +02:00
Axel Uhl
65cc616537
re-formatted org.json.simple.parser package contents to meet our code formatter
2015-04-16 14:37:54 +02:00
Axel Uhl
a4fd920ee3
re-formatted org.json.simple implementation to make it fit our code formatter
2015-04-16 14:22:20 +02:00
Axel Uhl
1026bfeafb
first draft implementation for a LeagueRacingProcedure with Class Up (3min), Papa Up (2min), Papa Down (1min), Class Down
2015-04-16 13:07:08 +02:00
Axel Uhl
3be144894c
introduced more settings types; introduced AbstractSettings
2015-04-15 14:14:27 +02:00
Axel Uhl
8b6f05cfb3
Merge remote-tracking branch 'server/master' into bug26
2015-04-15 13:19:39 +02:00
Axel Uhl
076b9e433c
added the first settings implementations
2015-04-15 09:58:52 +02:00
Axel Uhl
16b8c120b1
Merge remote-tracking branch 'origin/bug26'
2015-04-14 22:31:14 +02:00
Axel Uhl
c7aaaa6dd6
implemented StringMessages that moved to SSE's StringMessages in the various components
2015-04-14 17:51:08 +02:00
Axel Uhl
36b963638e
moved Settings interface and Component micro framework to SSE
2015-04-14 17:26:33 +02:00
Axel Uhl
c191899f3b
isolated "Components" stuff to prepare package to move to SSE
2015-04-14 16:09:54 +02:00
Axel Uhl
80a6b05af9
introduced Settings interface
2015-04-14 15:50:49 +02:00
Axel Uhl
0703ad00ac
removed EmulatedJRE from the gwt.ui pom.xml list of modules
2015-04-13 12:30:23 +02:00
Axel Uhl
36a3d6e3ae
export package com.google.gwt.user.client.rpc.core.java.util from com.sap.sse.gwt so that UUID_CustomFieldSerializer becomes visible to using bundles
2015-04-13 11:39:24 +02:00
Axel Uhl
ecfae35e81
added remote logging URL pattern for Home.html
2015-04-13 11:33:22 +02:00
Axel Uhl
6112b132d3
replaced usage of gwt.ui EmulatedJRE GWT module by that in SSE
2015-04-13 10:48:57 +02:00
Axel Uhl
d6758fbf11
removed GWT UUID emulation from com.sap.sailing.gwt.ui; it is already in com.sap.sse.gwt; see bug 2750
2015-04-13 10:42:32 +02:00
Axel Uhl
29d6981221
Merge remote branch 'origin/bug489'
2015-04-10 19:45:18 +02:00
Axel Uhl
11c1ceb9c2
Merge remote branch 'origin/master'
2015-04-10 19:45:05 +02:00
Axel Uhl
bb27f4101d
formatting change only
2015-04-10 16:50:50 +02:00