Axel Uhl
00b4a76f1c
working on a solution for bug 2897: introduced NamedReentrantReadWriteLock for TrackedRegattaImpl.trackedRaces and notify listeners outside of locked area
2015-05-27 18:24:49 +02:00
Axel Uhl
5d1322746a
Merge branch 'master' into bug2897
2015-05-27 18:00:09 +02:00
Axel Uhl
df3deb1a15
fixed bracing/indentation after cherry-picking commit 8cf239e31a
2015-05-27 17:59:22 +02:00
Axel Uhl
6a20efa1d9
fixing bug 2906: wind listeners didn't get de-registered proprely when removing a race and when re-starting the wind status servlet;
...
this should solve the problem with duplicate key exceptions hammering the DB
Conflicts:
java/com.sap.sailing.domain/src/com/sap/sailing/domain/markpassingcalculation/impl/WaypointPositionAndDistanceCache.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/ranking/AbstractRankingMetric.java
2015-05-27 17:57:20 +02:00
Axel Uhl
a6fa795f1f
enhanced Javadoc and REST API doc for target time estimation
2015-05-27 17:29:07 +02:00
Axel Uhl
19c54b8076
started to work on bug 1447 by adding Series.addRaceColumn flavor that accepts an insert index
...
Conflicts:
java/com.sap.sailing.gwt.ui/.settings/com.google.gwt.eclipse.core.prefs
java/com.sap.sailing.gwt.ui/SailingGWT sdm.launch
2015-05-27 17:28:14 +02:00
Axel Uhl
6830d26571
use NamedReentrantReadWriteLock for accessing LeaderboardGroup.leaderboards collection; works towards solving bug 2897
2015-05-27 16:52:44 +02:00
Axel Uhl
c236a3d0bf
fixed initialization problem by using readResolve() on owners of race execution order caches (RegattaImpl and FlexibleLeaderboardImpl)
2015-05-27 11:06:03 +02:00
Axel Uhl
7fcc63a8cb
added missing class AbstractRaceExecutionOrderProvider
2015-05-26 18:38:42 +02:00
Axel Uhl
8470c0b8d1
refactored RaceExecutionOrderProvider
2015-05-26 18:37:43 +02:00
Axel Uhl
82d53ac8ac
turned AbstractRaceColumnListener into an interface with default method implementations
2015-05-26 17:22:23 +02:00
Papick Garcia Taboada
1e0f861344
Introduced fullscreen viewer for home, moved necessary media classes to sse
2015-05-26 17:09:52 +02:00
Alexander Ries
532ad8903c
RegattaImpl getSeries() checks series for null
2015-05-23 16:22:58 +02:00
Jan Broß
45563b88db
Introduce RaceLogResolver and RaceLogDependentStartTimeFinder
2015-05-22 16:00:00 +02:00
Alexander Ries
7f9d278895
recordWind changes now time before race start to track wind depending on previous race that has wind
2015-05-21 16:08:02 +02:00
Axel Uhl
c0e55a5b56
added Javadoc to TrackedRace
2015-05-21 16:05:02 +02:00
Alexander Ries
b1155f8b48
Added extra long time before start to track wind in millis constant to TrackedRaceImpl
2015-05-21 15:50:53 +02:00
Alexander Ries
d7c2972bf8
Added getPreviousRaceFromAttachedRaceExecutionOrderProviders() implementation to DynamicTrackedRaceImpl
2015-05-21 15:49:37 +02:00
Alexander Ries
cc02a1e272
Added getPreviousRaceFromAttachedRaceExecutionOrderProviders() method to TrackedRace interface
2015-05-21 15:15:18 +02:00
Alexander Ries
5001b2ee9c
Added null checks in RegattaImpl inner RaceExecutionOrderCache class
2015-05-21 15:02:54 +02:00
Alexander Ries
73684d27c8
Revert "Merge remote-tracking branch 'server/ribdashboard' into ribdashboard"
...
This reverts commit 1fc692e4d3 , reversing
changes made to 1c8bb3b414 .
2015-05-21 14:53:49 +02:00
Axel Uhl
6304504e3c
added column for correctedTimeAtEstimatedArrivalAtCompetitorFarthestAhead (see bug 2862)
2015-05-21 12:58:46 +02:00
Axel Uhl
51f7f9f0c4
one more usage of WindLegTypeAndLegBearingCache
2015-05-21 12:57:17 +02:00
Axel Uhl
3069a2d70d
fixing incorrect veto of race column addition in race execution order listener
2015-05-21 09:39:01 +02:00
Axel Uhl
1fc692e4d3
Merge remote-tracking branch 'server/ribdashboard' into ribdashboard
2015-05-21 09:26:30 +02:00
Axel Uhl
d3073529ff
fixed gap change in own time, making a distinction between first and other legs
2015-05-21 08:39:02 +02:00
Axel Uhl
378d5f48cb
fixing severe bug in time traveled on TrackedLegOfCompetitorImpl; the column kept counting, even after leg finishing time
2015-05-20 23:34:15 +02:00
Alexander Ries
1c8bb3b414
Added RaceExecutionOrderProvider implementations to RegattaImpl and FlexibleLeaderboardImpl
2015-05-20 22:58:30 +02:00
Alexander Ries
99be7cc95a
Added AbstractRaceColumnListener
2015-05-20 22:57:20 +02:00
Axel Uhl
f7d72e7ab3
added corrected time columns (see bug 2862)
2015-05-20 22:45:42 +02:00
Axel Uhl
9bc3fddebc
avoid reducing windward distance traveled in case a competitor is at the mark rounding and has a negative windward distance traveled for the current leg
2015-05-20 18:03:58 +02:00
Axel Uhl
2d11ab9a31
fixed calculation bug in TimeOnTimeAndDistanceRankingMetric
2015-05-20 17:50:17 +02:00
Axel Uhl
cf09647e00
fixed issues with competitors who didn't start a leg yet; added toString() for TrackedLeg and TrackedLegOfCompetitor
2015-05-20 17:07:05 +02:00
Axel Uhl
96988ae292
an untested attempt to compute the gap to leader for a leg for TimeOnTimeAndDistanceRankingMetric; still square effort; extraction of pre-calculation still missing
2015-05-20 16:13:09 +02:00
Alexander Ries
c6601844ce
Merge branch 'master' into ribdashboard
2015-05-20 11:57:38 +02:00
Jan Broß
09d210a61b
Introduce SimpleRaceLogIdentifier for identifying dependent races
2015-05-20 10:05:48 +02:00
Alexander Ries
5610ae7e66
AbstractRaceColumn attaches now RaceExecutionOrderProvider to TrackedRace in setTrackedRace() method
2015-05-19 20:11:44 +02:00
Axel Uhl
132061a181
fixed some aspects of already finished legs and race
2015-05-19 18:24:07 +02:00
Axel Uhl
0ad2425617
also adapted gap chart to gap in own time
2015-05-19 16:01:19 +02:00
Axel Uhl
53ba99f9aa
added null safety in gap in own time calculation; no need to pass RankingInfo for gap change calculation
2015-05-19 15:13:01 +02:00
Axel Uhl
3654444570
renamed method that returns a Duration so it isn't called ...AsSeconds
2015-05-19 12:54:24 +02:00
Axel Uhl
775f01a7f6
gap to leader and gap at end of previous leg are now defined through the ranking metric's gap to leader in own time
2015-05-19 12:46:49 +02:00
Jan Broß
867a9702cc
Merge remote-tracking branch 'origin/master' into jbross-dependent-race-start
2015-05-19 11:44:29 +02:00
Jan Broß
74b03b597e
Introduce StartTimeFinderStatusEnum for StartTimeFinder
2015-05-19 11:41:45 +02:00
Alexander Ries
aacab56983
Series now attaches RaceExecutionOrderProvider to TrackedRaces in RaceColumns if Regatta is set. If set Regatta is null it detaches them.
2015-05-19 11:41:19 +02:00
Alexander Ries
5562e1121c
DynamicTrackedRace attachRaceExecutionOrderProvider Implementation now checks if map already contains id
2015-05-19 11:40:01 +02:00
Axel Uhl
7b0409497c
omitted redundant outer class name
2015-05-19 10:10:06 +02:00
Axel Uhl
958ecaba1a
added cache to gap calculation for LegEntryDTO
2015-05-19 10:07:13 +02:00
Axel Uhl
5e257f3cb5
Merge branch 'master' into bug1018
2015-05-19 08:57:21 +02:00
Axel Uhl
8679fb4450
use PassingInstruction.None during TracTrac control point construction
2015-05-19 08:50:38 +02:00