Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 054368b65a avoid NPEs when importing declination for a new year; started importing declination for 2013 2012-04-09 21:51:13 +02:00
Axel Uhl 845c766ee5 adjusted more declination test verdicts 2012-04-09 17:38:28 +02:00
Axel Uhl 8f8c24df4b fixing bug 536, adapting to new NOAA service interface and fixing test verdicts for modified results 2012-04-09 17:33:11 +02:00
Axel Uhl cedf9fc427 use a weak identity hash map to cache mapping of TracTrac event objects to SAP sailing domain Event objects 2012-04-09 13:07:39 +02:00
Axel Uhl c1eb61a617 clone listener set into array, moving listener notification out of synchronized block, trying to increase concurrency 2012-04-09 12:43:32 +02:00
Axel Uhl 3a718acd89 removed premature "return" by inverting "if" condition 2012-04-09 10:02:29 +02:00
Axel Uhl e2ccd71674 use SAP JVM 7 for profiling 2012-04-09 09:51:48 +02:00
Axel Uhl 497ed61a5b print "P" only every 1000 positions received to lower performance requirement for System.out handling 2012-04-09 09:50:22 +02:00
Axel Uhl e922f94e80 also use Canvas immediately for wind sensor overlays; untested 2012-04-06 22:52:13 +02:00
Axel Uhl b77ece0e68 use Canvas immediately for boat display, saving the tedious image conversions 2012-04-06 22:51:01 +02:00
Axel Uhl 193d07d8c2 deriving CombinedWindPanel canvas size from image resource's "radius" 2012-04-06 22:16:59 +02:00
Axel Uhl cd4eb14155 formatting; improved encapsulation 2012-04-06 21:30:00 +02:00
Axel Uhl 508a964852 Merge remote-tracking branch 'server/master' 2012-04-02 21:17:46 +02:00
Axel Uhl 85d1f24e2e fixed spelling: calculater-->calculator 2012-04-02 21:15:29 +02:00
Axel Uhl 8e795aeab4 refactored adding a race tracker in RacingEventService 2012-03-30 18:17:59 +02:00
Axel Uhl 4d8d02d5b1 refactored addRace functionality, introducing polymorphic connectivity parameter objects across connectors 2012-03-30 16:56:05 +02:00
Axel Uhl 328eaa6614 Merge remote-tracking branch 'server/master' 2012-03-30 15:08:41 +02:00
Axel Uhl 8d49f2dcd2 don't convert UUID to String to compare by first checking type for Comparable 2012-03-30 15:06:56 +02:00
Axel Uhl bddd5c7b70 added operationaltransformation bundle to launch configs 2012-03-29 13:49:34 +02:00
Axel Uhl 8302522287 added more OT implementation and another test case 2012-03-28 22:14:24 +02:00
Axel Uhl 2d03493cf3 fixed remove leaderboard operational transformation 2012-03-28 18:23:10 +02:00
Axel Uhl ebbd73c11e use wind bearing instead of inverting redundantly 2012-03-28 15:50:18 +02:00
Axel Uhl 90679bd706 Merge remote-tracking branch 'server/master' 2012-03-28 15:44:34 +02:00
Axel Uhl 52a4706417 Merge remote-tracking branch 'origin/master' 2012-03-28 15:44:32 +02:00
Axel Uhl ff23e68c9f added a second OT test which folds a leaderboard column addition with a leaderboard removal 2012-03-28 15:42:33 +02:00
Axel Uhl 2e603bc6e3 first successful tiny and trivial Operational Transformation test, replicating the addition of a leaderboard 2012-03-28 14:51:13 +02:00
Axel Uhl b35a479d9d preparing the first OT implementation for removing leaderboard columns 2012-03-28 14:06:39 +02:00
Axel Uhl 2fc3fc6173 prepared operations for local transformation by each operation type implementation 2012-03-28 12:30:46 +02:00
Axel Uhl b06c971b51 moved logic for leaderboard column handling to RacingEventService to prepare for a first OT test case 2012-03-28 12:00:23 +02:00
Axel Uhl e95cd424cf a few renames and another finally block to ensure taskFinished() is called also in case of abnormal termination 2012-03-28 11:30:17 +02:00
Axel Uhl 90a27e32a0 wrapped taskFinished call in finally block to ensure it is invoked even in case of abnormal termination 2012-03-28 11:04:40 +02:00
Axel Uhl e9c53ae7d8 eliminated the StatesAndOperations class, only keeping the currentState in PeerImpl 2012-03-28 10:09:22 +02:00
Axel Uhl 9ce1cdcc36 removed list of states in StatesAndOperations and replaced by simple field for only the current state 2012-03-28 09:54:15 +02:00
Axel Uhl 8a95d23f81 removed S return type from StatesAndOperations.apply, trying to avoid passing huge state objects around 2012-03-28 09:52:07 +02:00
Axel Uhl 61d0c68a61 added some javadoc 2012-03-27 00:03:37 +02:00
Axel Uhl 4431c934fc fixing bug 443: adding space between wind source type name and ID 2012-03-26 23:58:21 +02:00
Axel Uhl 430ebb75c5 introduced common base class for chart panels, sharing behavior for fixing checkbox alignment 2012-03-26 23:36:42 +02:00
Axel Uhl 52ede7a8d8 fixing the WindChart checkbox display in the legend; toggling visibility only possible through checkbox now 2012-03-26 23:15:08 +02:00
Axel Uhl 8850b6cab8 renamed test case class so maven can find it 2012-03-26 23:11:38 +02:00
Axel Uhl 1a42433181 renamed OperationTransformationTests to OperationTransformationTest to let maven find it 2012-03-26 22:11:12 +02:00
Axel Uhl 078b7d520f added operational transformation stuff to pom.xml hierarchy for central build 2012-03-26 21:20:30 +02:00
Axel Uhl 85d86b72e2 attempt at a patch to fix checkbox position in Highcharts legend 2012-03-26 21:09:37 +02:00
Axel Uhl 4e34a26f2d renamed from runlet to sailing 2012-03-26 21:07:10 +02:00
Axel Uhl 79709e0fee Moved OT tests into separate bundle; renamed from runlet to sailing 2012-03-26 21:04:39 +02:00
Axel Uhl f956c869c5 spun off test bundle for operationaltransformation tests 2012-03-26 20:55:36 +02:00
Axel Uhl 3d38cc0cff added operational transformation (OT) bundle 2012-03-26 20:40:43 +02:00
Axel Uhl 13e431e8e8 removed spurious empty lines 2012-03-26 13:17:30 +02:00
Axel Uhl a0c0c8b978 Merge remote-tracking branch 'server/master' 2012-03-23 12:15:55 +01:00
Axel Uhl 12f55689d3 fixed NPE in getStart() 2012-03-23 12:10:54 +01:00
Axel Uhl 2bb259a362 fixed DynamicTrackedRaceImpl's getMarkPassingsInOrder 2012-03-23 12:08:14 +01:00
Axel Uhl c65eb44a70 refactored calculation of race start time 2012-03-23 11:58:35 +01:00
Axel Uhl 470b4b0f1d don't set race start time anymore from arbitrary GPS fix; set startOfTracking instead of race start from TracTrac
So far, we confused the start of tracking with the start of race in DynamicTrackedRaceImpl and the TracTrac
provider. This is now fixed by a new setter for startOfTracking. Watch out for negative effects of this
fundamental change...
2012-03-23 09:35:22 +01:00
Axel Uhl 469d3ca54d made trackBasedEstimationWindTrackImpl synchronized to fix concurrent modification exception bug 452 2012-03-23 08:58:15 +01:00
Axel Uhl 3e4c6e7846 Nils suggested to use a greater angle for upwind/downwind tolerance; watch the reaching leg classification now! 2012-03-22 23:58:16 +01:00
Axel Uhl 7bd2de771e use checkboxes to show/hide series; the logic isn't initialized properly and Highchart has a display/layout bug 2012-03-22 23:57:45 +01:00
Axel Uhl 178ebd47b6 display checkboxes in wind chart legend to enable showing / hiding series 2012-03-22 23:26:12 +01:00
Axel Uhl 5d9229ee49 Nils: Added angle between boat bearing and wind direction to info window; fixed parentheses in maneuver tool tip 2012-03-22 10:53:35 +01:00
Axel Uhl 982ad9a1fb Merge remote-tracking branch 'server/master' 2012-03-21 18:18:49 +01:00
Axel Uhl 8482cbb239 By Nils: added combined wind to GPSFixDTO to prepare display of wind angle 2012-03-21 18:17:23 +01:00
Axel Uhl cba663b6ed compare competitor ID's toString() representation instead of the UUID itself 2012-03-21 14:24:19 +01:00
Axel Uhl b81e4421ed Merge remote-tracking branch 'server/master' 2012-03-21 13:35:00 +01:00
Axel Uhl 3f66428af7 changed competitor-related update service methods such that they use the ID instead of the name as identification 2012-03-21 13:32:43 +01:00
Axel Uhl c0cf60a049 removed extra closing brace that remained accidentally after merge 2012-03-20 15:14:20 +01:00
Axel Uhl d0e172afa4 Merge remote-tracking branch 'server/master'
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/RaceMap.java
2012-03-20 14:33:15 +01:00
Axel Uhl b9866e28c5 solving bug 479: auto-zoom settings are cleared as soon as user drags/zooms the map 2012-03-20 14:28:52 +01:00
Axel Uhl 3754728109 removed setWrapperCallback method 2012-03-19 02:44:33 +01:00
Axel Uhl acf21fa147 more refactorings in AsyncActionsExecutor 2012-03-19 02:37:24 +01:00
Axel Uhl 41d1bf0983 pass AsyncActionsExecutor also to WindPanel and WindChart and use in WindChart action call 2012-03-19 02:11:08 +01:00
Axel Uhl 9c4e5b3be9 some more formatting convention work; encapsulated wrapperCallback field 2012-03-19 01:53:21 +01:00
Axel Uhl c226780972 factored most code from action subclasses into abstract Default... implementation 2012-03-19 01:50:28 +01:00
Axel Uhl 62ceb223ab started to refactor and re-format the async call pattern with request dropping 2012-03-19 01:43:05 +01:00
Axel Uhl 1c19775f28 use average SOG / VMG for LegEntryDTO if the competitor has finished the leg already at timePoint;
this should fix bug 467 (VMG varying while leg already finished)
2012-03-18 23:22:38 +01:00
Axel Uhl 528318fbb9 fixed return types for getTimeInMilliseconds consistently 2012-03-18 10:26:02 +01:00
Axel Uhl 0863c84819 Merge remote-tracking branch 'server/master' 2012-03-18 10:25:06 +01:00
Axel Uhl 6b124da7e3 turned timeInMilliseconds into a Long, returning null if leg hasn't started yet 2012-03-18 10:23:55 +01:00
Axel Uhl 5e1e724c7e delay rank and maneuver cache invalidation by a constant time (currently 7.5s) 2012-03-17 15:32:27 +01:00
Axel Uhl af826a133b Merge remote-tracking branch 'server/master' 2012-03-17 12:46:34 +01:00
Axel Uhl be5865d318 avoid NPE during getWindInfo with null from-time 2012-03-17 12:46:12 +01:00
Axel Uhl 40aa55fdb0 avoid NPE in case a competitor doesn't exist on the map yet 2012-03-17 12:24:21 +01:00
Axel Uhl b5d885bdeb Merge remote-tracking branch 'server/master' 2012-03-17 10:16:53 +01:00
Axel Uhl 1dff60e0a3 implemented cache invalidation interval extend(...) method 2012-03-17 10:14:54 +01:00
Axel Uhl 8fe42155e0 Merge remote-tracking branch 'server/master' 2012-03-17 00:02:06 +01:00
Axel Uhl 4b8f009418 pass-through argument for wind estimation cache invalidation to fix test cases by setting delay to 0 2012-03-17 00:00:05 +01:00
Axel Uhl c108928133 introduced a delay for cache invalidation on the wind estimation WindTrackImpl subclass 2012-03-16 23:02:04 +01:00
Axel Uhl 6879c6556a avoid NPE when initializing leaderboard in live mode 2012-03-16 13:25:12 +01:00
Axel Uhl fb8fffe62e added default constructor to enable serialization 2012-03-15 20:18:59 +01:00
Axel Uhl 447940f282 removed final modifier to make serializable using GWT serialization 2012-03-15 19:20:19 +01:00
Axel Uhl 9a0609e250 fixed gap calculation in case there is no valid speed for the time point
The problem was a premature null result for speed/bearing based on an exponential weigher in case the
time point requested was too far away from the race.
2012-03-15 01:56:37 +01:00
Axel Uhl c4ead4c3a0 fixed exclusion selector: raceIdentifier needs to be updated as field so checkboxes use the current one 2012-03-14 22:52:22 +01:00
Axel Uhl a1aaa327ca fixed layout issues in WindPanel / AdminConsole 2012-03-14 21:14:23 +01:00
Axel Uhl 8530f643d3 aligned dynamic tooltip for measured wind with tool tip for combined wind 2012-03-14 21:01:11 +01:00
Axel Uhl 5a73d0cae6 dynamic tool-tip for measured wind markers 2012-03-14 20:58:26 +01:00
Axel Uhl 944aa71414 Merge remote-tracking branch 'server/master' 2012-03-14 18:23:35 +01:00
Axel Uhl 475723f720 turn wind source exclude panel into Vertical Panel 2012-03-14 18:23:20 +01:00
Axel Uhl c55d11c6e3 re-pack unmodifiable collection to make it serializable 2012-03-14 18:17:50 +01:00
Axel Uhl bdeb0db735 attempt at making wind sources to exclude selectable in WindPanel 2012-03-14 18:14:02 +01:00
Axel Uhl 9297a11004 spectator module required raceboard sources 2012-03-14 17:12:04 +01:00
Axel Uhl fd9870996b leaderboard editing indirectly now also references AdminConsole stuff 2012-03-14 17:03:13 +01:00
Axel Uhl b874cfe39d raceboard is now also reachable from leaderboard editing because of TVMode 2012-03-14 16:57:49 +01:00
Axel Uhl a0aca38d72 include raceboard since its stuff is reachable through LeaderboardPanel (default leaderboard) 2012-03-14 16:52:41 +01:00