Commit Graph
18283 Commits
Author SHA1 Message Date
fmittag 5ef2631380 Merge remote-tracking branch 'origin/master' 2015-04-02 15:17:27 +02:00
fmittag ec9bb8a5a2 fixed legcouter for race progress 2015-04-02 15:17:11 +02:00
Axel Uhl 6c97c93172 obtain read lock on course before iterating over the tracked legs in RegattasResource 2015-04-02 15:05:25 +02:00
Axel Uhl 2e8f5dd9dd fixing locking issue in TrackedRaceImpl.getCurrentLeg(...) which could have lead to NPEs during course updates 2015-04-02 14:45:01 +02:00
Axel Uhl c2cbc75754 some comments and formatting 2015-04-02 11:15:35 +02:00
Axel Uhl 6146b9f814 Merge branch 'master' into mark-rounding-inference 2015-04-02 09:53:00 +02:00
Axel Uhl 19e3e4fe4c added a test case demonstrating that the cache is per ControlPoint and not by Waypoint 2015-04-01 22:25:06 +02:00
Axel Uhl ce0047edbd further improved performance of candidate chooser by caching per control point, collating cache contents for multiple waypoints using the same control point 2015-04-01 22:16:00 +02:00
Axel Uhl 46cad9a69f fixed bug introduced in 7d3b339ad6: distances along course need to be *added* leg by leg;
slight performance improvement for CandidateChooserImpl during initialization of end proxy candidate
2015-04-01 20:10:01 +02:00
Axel Uhl 90b563eabe added invalidation tests for WaypointPositionAndDistanceCache 2015-04-01 19:53:13 +02:00
Axel Uhl 7d3b339ad6 introducing a cache for approximate distances between waypoints/control points to speed up the mark rounding inference algorithm; see bug 2745 2015-04-01 17:55:01 +02:00
Axel Uhl fa3b125300 Introduced settable waypoint index for end proxy node, fixing bug 2747, allowing to update it after course changes 2015-04-01 11:37:35 +02:00
Alexander Ries 50a32e3558 fixed conflicts in Dummy and Moqued TrackedRaces 2015-04-01 10:31:21 +02:00
Alexander Ries a46f2a6b80 Merge remote-tracking branch 'origin/ribdashboard' into ribdashboard 2015-04-01 10:25:52 +02:00
Alexander Ries 8d3cb289d5 added getGateStartGolfDownTime() method to TrackedRace 2015-04-01 10:23:41 +02:00
Axel Uhl 01f1d8f832 improved logging performance; improved edge cost calculation performance, avoiding having to lock course and using new Course.getNumberOfWaypoints() method instead 2015-04-01 10:20:47 +02:00
Alexander Ries 37ff2061b8 startanalysis works now for gate starts 2015-04-01 10:00:15 +02:00
Alexander Ries 0a7d338103 small changes to event logo 2015-04-01 09:54:34 +02:00
Axel Uhl 19913d26b8 Merge branch 'master' into bug1701 2015-03-31 23:31:36 +02:00
Axel Uhl b591a61d01 fixing bug 2746 by treating an empty trimmed mark ID such as " " the same as null 2015-03-31 23:28:34 +02:00
Axel Uhl f1d6e22070 refactored CandidateFinder such that always the race's current course is used to obtain the waypoints list, and passing instructions are re-calculated on the fly if necessary 2015-03-31 23:07:33 +02:00
Axel Uhl 992229594d made mark passing calculation null-safe regarding strange effects during course updates and invalid two-mark control points with one undefined mark 2015-03-31 21:59:47 +02:00
Axel Uhl 2848ca207c stop MarkPassingCalculator listener/thread when race is FINISHED or removed; handle case where waypoint isn't found anymore in course 2015-03-31 20:31:03 +02:00
Axel Uhl d89f461191 don't create mark passing calculator on replica; mark passings are replicated using UpdateMarkPassings operation 2015-03-31 19:56:35 +02:00
Axel Uhl b8235825bb formatting only 2015-03-31 18:15:08 +02:00
Axel Uhl dcd4af2ce2 ignore SwissTiming-provided mark passings if useInternalMarkPassingAlgorithm is selected 2015-03-31 18:07:08 +02:00
Axel Uhl 228219ec3b added useInternalMarkPassingAlgorithm parameter also for SwissTiming replay races 2015-03-31 17:57:33 +02:00
Axel Uhl 44d7bb2d77 offering users to enable our own mark passing calculation also for SwissTiming live races 2015-03-31 17:35:16 +02:00
Axel Uhl 361d8c7679 renamed variables and fields and parameters for useInternalMarkPassingAlgorithm 2015-03-31 17:07:02 +02:00
Axel Uhl 976cc7d9be Merge branch 'master' into mark-rounding-inference 2015-03-31 16:28:42 +02:00
Axel Uhl 29aeccc612 fixed two bugs in RaceTimePanel/SliderBar relating to marker redraw; this was mostly a copy/paste problem with the drawTicks and drawMarkers methods 2015-03-31 16:27:17 +02:00
Axel Uhl 49f437f17b using an AbsolutePanel for the EditMarkPassings panel, solving bug 2611 regarding jerky resize behavior 2015-03-31 13:09:54 +02:00
Axel Uhl 3710f75916 updating waypoint list for mark passings in-place instead of replacing the list; fixes bug 2614 2015-03-31 10:20:44 +02:00
Axel Uhl 81fc752c06 Merge branch 'master' into mark-rounding-inference 2015-03-30 22:32:03 +02:00
Axel Uhl a75a4cdef3 made local variable final to express it will never change 2015-03-30 21:55:02 +02:00
Axel Uhl 980f18914f make sure that if we have a replicator to wait for then we hold on to it in case it gets nulled out in between 2015-03-30 21:43:28 +02:00
Axel Uhl e75b2e1985 it's important to always return the same classloader; otherwise, the classes and hence the objects won't be compatible / equal 2015-03-30 20:56:11 +02:00
Axel Uhl 9c5978ba4f notify waiters if ReplicationReceiver is stopped for any reason, setting stopped to true; example: consumer closed exception 2015-03-30 20:51:12 +02:00
Axel Uhl 824f975ba8 renamed isQueueEmpty to isQueueEmptyOrStopped; don't set thread context class loader in ReplicationReceiver: it's set in the replicable itself 2015-03-30 20:28:36 +02:00
Axel Uhl 26a286f243 re-establishing the effects of c74a3092661236b13ff0b667e1f08cc3fac11d22; need to serve the replication service's monitor properly as queue drains 2015-03-30 18:28:31 +02:00
Axel Uhl 943d66a2c5 Merge branch 'master' into bug2743 2015-03-30 18:28:16 +02:00
Axel Uhl 273152b0b0 temporarily taking back the pre-mature attempt to wait for replication queues to drain during test execution (c74a309266) 2015-03-30 18:27:04 +02:00
Axel Uhl 236a878910 Merge branch 'master' into bug2743 2015-03-30 18:23:54 +02:00
Axel Uhl e8c6164f96 avoid NPE in TrackedRaceImpl.getLineMarksAndPositions in case the leg determining the direction in which to pass waypoint is not successfully obtained 2015-03-30 17:22:38 +02:00
Axel Uhl bc232925f1 use boolean instead of Boolean in getPolarResults 2015-03-30 16:41:11 +02:00
Axel Uhl d5ade5742d fixing NPE in case polars for non-existing race are requested 2015-03-30 16:38:21 +02:00
Axel Uhl 5f30a0b6cb removed obsolete com.sap.sse.gateway reference from sailing feature.xml 2015-03-30 16:33:12 +02:00
Axel Uhl c74a309266 fixed bundle name for mongo driver in com.sap.sailing.feature's feature.xml 2015-03-30 16:30:38 +02:00
Axel Uhl ae53d23cc1 adjusted versions in feature.xml, particularly of mongodb.driver and gwt.osgi 2015-03-30 16:24:21 +02:00
Axel Uhl 21bb26ca71 Merge branch 'master' into bug2743 2015-03-30 14:02:08 +02:00