Commit Graph
2805 Commits
Author SHA1 Message Date
Axel Uhl d7a3fca6eb moved assertion where it belongs: don't compare windward distances when one competitor has already finished the leg;
the marks may move, hence giving different windward distances for different time points for the same leg
2015-05-29 17:54:56 +02:00
fmittag b642a882fa Merge remote-tracking branch 'origin/master' into design2015
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT sdm.launch
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
2015-05-29 18:30:33 +03:00
Axel Uhl d19b853152 fixed SailingGWT sdm.launch regarding regatta overview 2015-05-29 17:27:40 +02:00
Axel Uhl 8c411bf6e2 Merge branch 'master' into bug1018
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT sdm.launch
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
2015-05-29 16:51:59 +02:00
Axel Uhl 9aba87a8a8 Merge remote-tracking branch 'server/master' 2015-05-29 16:49:56 +02:00
Axel Uhl 3ffd736edf fixed case where a competitor was identified as farthest ahead but hasn't started a leg for which a comparator is requested 2015-05-29 15:22:35 +02:00
Axel Uhl 6a3c4e1bae added more null safety for unstarted races
Conflicts:
	mobile/github-advrecyclerview_lib/.settings/org.eclipse.jdt.core.prefs
2015-05-29 14:50:05 +02:00
Jan Broß 329c0471bb Removes superfluous exception 2015-05-29 14:45:23 +02:00
Axel Uhl 3f354f6417 fixed column list, fixing RACE_CALCULATED_TIME_AT_ESTIMATED_ARRIVAL_AT_COMPETITOR_FARTHEST_AHEAD 2015-05-29 14:22:35 +02:00
Axel Uhl 0dbfaba524 fixed live time for getQuickRanks(); added several null checks for cases where competitors haven't started their legs yet 2015-05-29 14:17:58 +02:00
Axel Uhl 1a6663af45 Merge branch 'master' into bug1018 2015-05-29 13:17:18 +02:00
Axel Uhl c835c70275 fix attempt for bug 2922: deadlock due to TrackedRaceImpl.getMarkPassing locking the competitor mark passing collection;
the updateMarkPassing method locks competitor mark passings first, then the waypoint mark passings, while holding on to
the competitor mark passing collection's lock. Therefore, acquiring the competitor mark passing collection's lock is more
dangerous in "inner" methods that don't require more locks because callers may already hold on to the waypoint mark passing
lock, causing a deadlock with updateMarkPassing.
2015-05-29 13:16:12 +02:00
Jan Broß acef2a0613 Rename DependentStartTimeFinder to StartTimeFinder 2015-05-29 13:11:47 +02:00
Jan Broß 48fd80919f Simplifies accessing raceLog on Leaderboards 2015-05-29 11:10:49 +02:00
Jan Broß 636272b053 Merge remote-tracking branch 'origin/master' into jbross-dependent-race-start 2015-05-29 08:46:47 +02:00
Axel Uhl 9c5bf2c3b1 switched from "windward distance to leader" to "windward distance to competitor farthest ahead" 2015-05-28 17:10:04 +02:00
Axel Uhl f522527d65 accelerated chart calculations by pre-calculating RankingInfo beforehand, then sharing 2015-05-28 16:12:09 +02:00
Axel Uhl c9a43c5781 cache leg info about boat farthest ahead and calculate and cache the leader by calculated time for the leg in RankingInfo 2015-05-28 15:15:36 +02:00
Axel Uhl f11c534892 compute current VMG only if average VMG is not available 2015-05-28 14:33:09 +02:00
Axel Uhl e4e00fa228 turned competitorTracksOrderedByRank into a ConcurrentHashMap, avoiding synchronization 2015-05-28 14:32:35 +02:00
Frederik Petersen 18ec962a05 Merge both tacks in polar service 2015-05-28 14:24:32 +02:00
Axel Uhl 30a3b66c53 default time-on-time and time-on-distance values to 1.0 / 0.0, respectively, in BaseRegattaLinkImpl 2015-05-28 11:41:45 +02:00
Alexander Ries 5356f59bdb return empty list instead of null if no values in getPrevousRacesInExecutionOrder() 2015-05-28 10:55:14 +02:00
Axel Uhl 82757a685c pass RankingInfo through to getLegGapToLegLeaderInOwnTime as a preparation for a performance fix 2015-05-28 10:54:39 +02:00
Axel Uhl 38d757e9ff Merge branch 'master' into bug1018 2015-05-28 10:18:12 +02:00
Steffen Schaefer e07c585934 Merge remote-tracking branch 'origin/master' into design2015
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT sdm.launch
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
2015-05-28 09:55:11 +02:00
Alexander Ries e1fb488635 Merge remote-tracking branch 'origin/master' into ribdashboard 2015-05-28 09:20:27 +02:00
Axel Uhl 11fd9f907d getTrackedRaces() now also checks for write lock count 2015-05-28 00:23:02 +02:00
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