Commit Graph
2478 Commits
Author SHA1 Message Date
fmittag 59248fcf49 added flagImageUrl as new attribute on competitor to enable custom flags (e.g. club flags) instead of the nation flags 2015-04-16 17:38:08 +02:00
Axel Uhl 68f70a8375 Merge branch 'master' into bug489
Conflicts:
	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_de.properties
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_ru.properties
2015-04-07 13:20:54 +02:00
Axel Uhl 9686605f2c added CustomFieldSerializer for CompactPosition in CompactWindImpl 2015-04-03 16:29:39 +02:00
Axel Uhl 094234b654 moved all Position-related classes including Compact... representations to common bundle; provided CustomFieldSerializer for all Position subclasses that require it 2015-04-03 16:12:21 +02:00
Axel Uhl 58bd451481 moved other Position implementations to common packages to share them with GWT and make then GWT-serializable 2015-04-02 16:42:10 +02:00
fmittag 2f08fb7a4e added a new method getLastLegStarted(timepoint) on trackedRace to improve leg progress calculation 2015-04-02 16:32:50 +02:00
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 748b674a95 Merge branch 'master' into bug489 2015-04-02 15:06:26 +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 6972ac9171 replaced PositionDTO by Position and DegreePosition 2015-04-02 12:06:39 +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 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
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 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 81fc752c06 Merge branch 'master' into mark-rounding-inference 2015-03-30 22:32:03 +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 b5ea074217 fixing deserialization for new raceStates weak hash map in TrackedRaceImpl 2015-03-30 13:16:38 +02:00
Axel Uhl b8ef26800f improved replication test logging; improved Javadoc for RaceTracker.stop(...) 2015-03-30 10:44:08 +02:00
Axel Uhl 1b6688d24a trying to provide a solution for bug 2741 by re-structuring how a start-covering edge is assigned a cost based on difference to start time and distance comparison 2015-03-29 22:03:36 +02:00
Axel Uhl 9b2c41b32d some refactoring in CandidateChooserImpl to make code more readable and re-usable 2015-03-29 21:31:31 +02:00
Axel Uhl 06872cc3ec Merge branch 'master' into mark-rounding-inference
Conflicts:
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/DynamicTrackedRaceImpl.java
2015-03-29 20:11:01 +02:00
Axel Uhl 023731f84f fixing bug regarding replication of tracked race live delay: the change of a fixed delay wasn't properly notified to listeners, therefore not replicated 2015-03-29 18:30:03 +02:00
Axel Uhl 297f91a098 Merge branch 'master' into mark-rounding-inference 2015-03-29 17:37:34 +02:00
Axel Uhl cd86e0b13d fix for bug 2742: recognize gate start by not applying fallback racing procedure but only actual racing procedure specifications 2015-03-29 17:23:52 +02:00
Axel Uhl ec066db3ac try to make tests run again; need a more sophisticated fix for bug 2741 2015-03-27 23:29:51 +01:00
Axel Uhl 7f74657fe9 added / improved comments 2015-03-27 21:48:45 +01:00
Axel Uhl 90fe698ab4 fixed sign issue: distances can be negative if they are computed relative to a line; need to use absolute value 2015-03-27 21:48:37 +01:00
Axel Uhl a865100dda avoid NPE by comparing Boolean to Boolean.TRUE, avoiding auto-unboxing of null value 2015-03-27 21:47:55 +01:00
Axel Uhl 3696888b98 fix for bug 2714 except for gate start: evaluating time gap between start time and start mark passing candidate --> closer means higher probability 2015-03-27 18:13:13 +01:00
Axel Uhl 7fb7a09188 tiny fix in toString reprensetation of CandidateImpl 2015-03-27 16:58:17 +01:00
Axel Uhl fd0f6eadcf fixed use of time point from fixed mark passing specification when reading from race log; minor refactoring saving a few HashMap look-ups 2015-03-27 16:28:50 +01:00
Axel Uhl ba47883a59 Merge branch 'master' into mark-rounding-inference
Conflicts:
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/markpassingcalculation/MarkPassingUpdateListener.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/DynamicTrackedRaceImpl.java
2015-03-27 15:39:19 +01:00
Axel Uhl 3bfe5c149a added short info to mark passing-related race log events; formatting; refactored common parts in CandidateFinderImpl 2015-03-27 15:36:59 +01:00
Axel Uhl ce4fabbaf2 Merge branch 'master' into bug2729 2015-03-26 16:36:49 +01:00
Axel Uhl 2bab13901d use only fixes between start end end of tracking for mark passing calculation; preparing for a solution for bug 2737, allowing explicit start/endOfTracking to be set for a race 2015-03-26 15:58:30 +01:00
Axel Uhl 275c208b57 avoid NPE in XTE calculation of CandidateFinderImpl 2015-03-26 15:43:13 +01:00