Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl aced04e1af added an implementation of getDurationToReachAtEqualPerformance for time-on-time/time-on-distance;
this is the basis needed to estimate the total windward distance and duration that one competitor needs
to reach the windward position of another competitor that position-wise (but not necessarily corrected-time-wise)
is ahead.
2015-04-28 00:34:11 +02:00
Axel Uhl 6cb84f3782 refactored TrackedLegOfCompetitor.getEstimatedTimeToNextMarkInSeconds to return Duration; prepared methods in AbstractRankingMetric for new calculations 2015-04-27 22:01:11 +02:00
Axel Uhl 5fcb99964e Merge branch 'master' into bug1018
Conflicts:
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRace.java
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRaceWithStartTimeAndRanks.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/TrackedRace.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
	java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/MockedTrackedRace.java
	java/com.sap.sailing.server/src/com/sap/sailing/server/masterdata/DummyTrackedRace.java
2015-04-27 10:26:45 +02:00
Axel Uhl b81824d37d ensure that RankingMetric constructor function is serializable 2015-04-25 13:24:42 +02:00
Axel Uhl ed61343693 fixing test Regatta mock implementations after adding method for ranking metric constructor 2015-04-25 00:13:28 +02:00
Axel Uhl 37eb4ddabf factored the RankingMetric constructor parameter into the Regatta interface from where it is used by the DynamicTrackedRace constructions 2015-04-24 15:54:13 +02:00
Axel Uhl 4ffdf82b20 removed DynamicTrackedRaceConstructor that takes no RankingMetric argument 2015-04-24 14:44:10 +02:00
Axel Uhl 433458ea19 added implementation of getLegRankingComaprator for TimeOnTimeAndTDistanceRankingMetric 2015-04-24 14:37:48 +02:00
Axel Uhl d18401242c refactored TrackedLegOfCompetitorImpl to use getMarkPassingForLegStart/End 2015-04-24 14:18:26 +02:00
Axel Uhl 05a0cd94d9 don't return null for a competitor leg's time sailed when asking for beyond the end of tracking 2015-04-24 13:47:50 +02:00
Axel Uhl 85b20d1a06 Merge branch 'master' into bug1018 2015-04-24 09:09:51 +02:00
Axel Uhl eef6479636 Merge remote-tracking branch 'server/master' 2015-04-23 15:46:10 +02:00
Axel Uhl c7d6f62a75 fixing bug 2767 by also registering the old GPSFix(Moving)Impl type names with their old package locations for the Mongo persistence handler;
the commit in which the types were moved was 58bd451481
2015-04-23 15:41:08 +02:00
Axel Uhl fac1e416a6 further improved logging in case mark GPS tracks cannot be loaded 2015-04-22 23:03:45 +02:00
Axel Uhl 4f24e2177b improved exception logging for GPS track loading for smartphone tracking 2015-04-22 22:56:43 +02:00
Axel Uhl a1da887ed9 fixing test issues on Hudson by introducing local subclass in test that makes required method public 2015-04-22 17:02:04 +02:00
Axel Uhl adc37c5a30 fixed implementation of TimeOnTimeAndDistanceRankingMetric in line with bug 1018 comment #24: subtracting time-on-distance allowance from reciproke VMG/VMC 2015-04-22 00:41:10 +02:00
Axel Uhl 5babab72a0 added a first very simple time-on-distance test 2015-04-21 23:43:42 +02:00
Axel Uhl 81c8f90a1f fixed test logic; test still green 2015-04-21 23:14:54 +02:00
Axel Uhl eab373a1a4 added first two successful test cases for time-on-time ranking 2015-04-21 23:06:55 +02:00
Axel Uhl b62f6d9ac1 Merge branch 'master' into bug1018 2015-04-21 22:40:05 +02:00
Axel Uhl 3f6a706c45 added some convenience methods on Distance; moved getCourseLength() implementation from AbstractRankingMetric to TrackedRaceImpl 2015-04-21 22:39:08 +02:00
Axel Uhl 636bc9e925 made RankingMetric serializable, added serialVersionUIDs. Implemented getCorrectedTime for TimeOnTimeAndDistanceRankingMetric 2015-04-21 14:19:55 +02:00
Axel Uhl d2e318899c removed getCorrectedTime for leg again; corrected times should always be relative to the entire race, if needed taken for a particular mark passing time 2015-04-21 10:51:13 +02:00
Axel Uhl d334099dd0 made compileable again and removed warnings by consolidating imports 2015-04-21 10:44:44 +02:00
Axel Uhl b2d89790a1 refactored obtaining of ranking comparators to pass through RankingMetric 2015-04-21 10:24:07 +02:00
Axel Uhl 1cbd2646cc finished OneDesignRankingMetric implementation of getTimeToImprove 2015-04-21 10:12:19 +02:00
Axel Uhl 41d8ad28b5 added a few methods deemed useful to RankingMetric and started implementing them for the OneDesignRankingMetric 2015-04-21 09:53:44 +02:00
Axel Uhl 40767d0d2a added leg ranking comparator to the RankingMetric design 2015-04-20 18:24:07 +02:00
Axel Uhl 21ac8177c2 some more pass-through of WindLegTypeLegBearingCache for performance improvements; re-designed RankingMetric interface;
the new version of the interface returns a comparator for overall competitor ranking and a calculation for the time to improve
between a trailing and a leading competitor, determined in the trailing competitor's "time system." See bug 1018, comments
starting from #19.
2015-04-20 18:17:53 +02:00
Axel Uhl c1bf0240cf introduced caching method with default implementation in RankingMetric 2015-04-17 18:08:39 +02:00
Axel Uhl fb2e545bec added a trivial OneDesignRankingMetric; removed more NoWindException declarations that were no longer required 2015-04-17 17:54:21 +02:00
Axel Uhl 0701401499 introduced RankingMetric interface; minor performance improvements for compareTo methods in AbstractDistance and AbstractSpeedImpl 2015-04-17 17:44:40 +02:00
Axel Uhl 3f8b076562 provided default implementations for the getCorrectedGapToLeader methods on TrackedLegOfCompetitorImpl 2015-04-17 17:21:19 +02:00
Axel Uhl 73b3bcef85 introduced new "*Corrected*" methods on TrackedRace and TrackedLegOfCompetitor; use Duration instead of Double / seconds for gap calculation results 2015-04-17 17:18:55 +02:00
Axel Uhl 7c59da1972 Merge branch 'bug26' 2015-04-17 17:00:29 +02:00
Axel Uhl 2b54719fa9 added some support for string-serialization of enum values 2015-04-17 15:03:34 +02:00
Axel Uhl a6b60d6b96 added some Javadoc explaining the limitations and capabilities of the SettingsToJsonSerializer 2015-04-17 14:43:38 +02:00
Axel Uhl 7db994f3fe support for enum lists 2015-04-17 14:34:56 +02:00
Axel Uhl 2a7444c3c9 fixed support for ___TYPE setting name escaping; added test case 2015-04-17 14:20:46 +02:00
Axel Uhl a798b1247c added test for nested settings 2015-04-17 14:09:29 +02:00
Axel Uhl 64431486da simplified JSON-serialized representation, providing type names only for enums 2015-04-17 14:04:25 +02:00
Axel Uhl 6bc793844f a first successful settings "serialization/deserialization" test with JSON 2015-04-17 12:20:51 +02:00
Axel Uhl aff66aeaf7 Merge branch 'master' into bug26 2015-04-17 09:17:38 +02:00
Axel Uhl 1d198aa82c Merge remote-tracking branch 'server/master' 2015-04-17 09:12:05 +02:00
Axel Uhl 33692ffcf8 use simpler version of EntryPointHelper service registration method in EditProfileEntryPoint 2015-04-16 15:28:14 +02:00
Axel Uhl 65cc616537 re-formatted org.json.simple.parser package contents to meet our code formatter 2015-04-16 14:37:54 +02:00
Axel Uhl a4fd920ee3 re-formatted org.json.simple implementation to make it fit our code formatter 2015-04-16 14:22:20 +02:00
Axel Uhl 3be144894c introduced more settings types; introduced AbstractSettings 2015-04-15 14:14:27 +02:00
Axel Uhl 8b6f05cfb3 Merge remote-tracking branch 'server/master' into bug26 2015-04-15 13:19:39 +02:00
Axel Uhl 076b9e433c added the first settings implementations 2015-04-15 09:58:52 +02:00
Axel Uhl 16b8c120b1 Merge remote-tracking branch 'origin/bug26' 2015-04-14 22:31:14 +02:00
Axel Uhl c7aaaa6dd6 implemented StringMessages that moved to SSE's StringMessages in the various components 2015-04-14 17:51:08 +02:00
Axel Uhl 36b963638e moved Settings interface and Component micro framework to SSE 2015-04-14 17:26:33 +02:00
Axel Uhl c191899f3b isolated "Components" stuff to prepare package to move to SSE 2015-04-14 16:09:54 +02:00
Axel Uhl 80a6b05af9 introduced Settings interface 2015-04-14 15:50:49 +02:00
Axel Uhl 0703ad00ac removed EmulatedJRE from the gwt.ui pom.xml list of modules 2015-04-13 12:30:23 +02:00
Axel Uhl 36a3d6e3ae export package com.google.gwt.user.client.rpc.core.java.util from com.sap.sse.gwt so that UUID_CustomFieldSerializer becomes visible to using bundles 2015-04-13 11:39:24 +02:00
Axel Uhl ecfae35e81 added remote logging URL pattern for Home.html 2015-04-13 11:33:22 +02:00
Axel Uhl 6112b132d3 replaced usage of gwt.ui EmulatedJRE GWT module by that in SSE 2015-04-13 10:48:57 +02:00
Axel Uhl d6758fbf11 removed GWT UUID emulation from com.sap.sailing.gwt.ui; it is already in com.sap.sse.gwt; see bug 2750 2015-04-13 10:42:32 +02:00
Axel Uhl 29d6981221 Merge remote branch 'origin/bug489' 2015-04-10 19:45:18 +02:00
Axel Uhl 11c1ceb9c2 Merge remote branch 'origin/master' 2015-04-10 19:45:05 +02:00
Axel Uhl bb27f4101d formatting change only 2015-04-10 16:50:50 +02:00
Axel Uhl dd7457cf12 Merge remote-tracking branch 'server/bug489' into bug489 2015-04-10 16:49:31 +02:00
Axel Uhl 4de1f5d612 Merge branch 'master' into bug489
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/shared/racemap/RaceMap.java
2015-04-10 16:44:56 +02:00
Axel Uhl 26171c462f Merge remote-tracking branch 'server/master' 2015-04-10 16:39:34 +02:00
Axel Uhl f6b8236d7c bug 2758: added tooltips to start line to next mark triangle lines; fixed their coordinates and their drawing and made tooltips dynamic 2015-04-10 16:27:14 +02:00
Axel Uhl 76b668133f Merge remote-tracking branch 'server/bug489' into bug489 2015-04-10 16:17:02 +02:00
Axel Uhl e20ff5b55f bug 2758: fixed drawing of start line to next mark triangle; added tool-tips 2015-04-10 16:14:33 +02:00
Axel Uhl 70ab668456 Merge branch 'master' into bug489
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/shared/racemap/RaceMap.java
2015-04-10 15:31:05 +02:00
Axel Uhl 034e7f93a8 Merge remote-tracking branch 'server/master' 2015-04-10 15:29:21 +02:00
Axel Uhl bb0400f410 fixing bug 2758 by removing triangle again when option is de-selected 2015-04-10 15:22:41 +02:00
Axel Uhl 5e5e4cb38c added a release notes entry regarding the compass display 2015-04-10 15:18:42 +02:00
Axel Uhl 0b6e922264 made a few methods private that don't need to be protected on RaceMap 2015-04-10 15:04:50 +02:00
Axel Uhl 83c8105a65 fixed initial display of true north indicator; sized compass icon properly; fixes bug 2757 2015-04-10 12:46:44 +02:00
Axel Uhl 0db1011d91 added compass needle image previously missing; still too large 2015-04-10 11:43:35 +02:00
Axel Uhl 0c6e898398 starting to add compass indicator to map; fixed de-serialization problem in custom field serializer for CompactWind$CompactPosition 2015-04-10 11:33:46 +02:00
Axel Uhl 4920b2341d formatting / whitespace change only 2015-04-10 10:10:10 +02:00
Axel Uhl f7c6d2af37 this seems to fix bug 2755; it seems a bit brittle with the order of redraw(), updating the zoom and setting the new options, but this way tests seem promising 2015-04-10 02:37:49 +02:00
Axel Uhl d0624854b5 switched back to north-up default display; added comments to the release notes 2015-04-10 00:23:50 +02:00
Axel Uhl 7d9ce307ff using wind and course for dynamic rotation; delayed update when either is not yet known 2015-04-10 00:12:16 +02:00
Axel Uhl 7ce954fc05 first steps towards solving bug 2754 by switching the coordinate system and re-drawing upon settings change; 2015-04-09 22:49:24 +02:00
Axel Uhl 00aac8d07e removed CombinedWindPanel.getWindSource() because it wasn't used 2015-04-09 22:37:20 +02:00
Axel Uhl e3c0c02d0c Merge branch 'master' into bug489 2015-04-09 22:18:49 +02:00
Axel Uhl 86bfd9aeb6 Merge remote-tracking branch 'server/bug2693' 2015-04-09 22:16:51 +02:00
Axel Uhl 6b65415f5d Merge remote-tracking branch 'server/master' 2015-04-09 22:14:41 +02:00
Axel Uhl d5210806a3 fixing remainder of bug 2717, see comment #21 2015-04-09 22:11:57 +02:00
Axel Uhl cbff2703cb fixing bug 2756 by adding a null check 2015-04-09 14:53:04 +02:00
Axel Uhl 2bccad9450 added a comment to account for bug 2717 comment #17 2015-04-09 14:34:25 +02:00
Axel Uhl 4258ef2099 formatting only 2015-04-09 14:22:03 +02:00
Axel Uhl a3c8b5eae6 aftermath to commit 9e249d53c9 2015-04-09 14:20:15 +02:00
Axel Uhl 674aaaa188 Merge branch 'master' into bug489 2015-04-09 14:08:39 +02:00
Axel Uhl 61bf0fc55c added DelegateCoordinateSystem to make a coordinate system changeable; added clear method on FixesAndTails and use when coordinate system changes 2015-04-09 14:08:10 +02:00
Axel Uhl 70db98d4d2 Merge branch 'master' into bug489
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
2015-04-09 09:10:50 +02:00
Axel Uhl 2b8e57dc6f removed unused event_name constant 2015-04-08 20:09:22 +02:00
Axel Uhl 4313da03c5 Merge branch 'master' into bug2722 2015-04-08 20:07:15 +02:00
Axel Uhl 2477c0e701 Merge remote-tracking branch 'server/master' into bug489 2015-04-08 01:01:28 +02:00
Axel Uhl e188b6aa5b added test to explain behavior of Position.getLocalCoordinate 2015-04-08 00:54:28 +02:00
Axel Uhl 67a0943b84 fixed use of rotational transformation; it seems that the AbstractPosition implementation rotates in the opposite direction of what the Javadoc says 2015-04-08 00:27:33 +02:00