Commit Graph
100 Commits
Author SHA1 Message Date
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
Axel Uhl d08dd322c0 fixed advantage line rotation 2015-04-07 23:48:53 +02:00
Axel Uhl 61dcbe3337 fixed mark canvas transformations 2015-04-07 23:36:15 +02:00
Axel Uhl 3d03df60bd updated remaining non-simulator-related occurrences of LatLng.newInstance 2015-04-07 23:02:57 +02:00
Axel Uhl 9e4635abd0 fixed determination of average cosine where during the refactoring a getLatRad/getLngRad accidentally became getLatitude/getLongitude which is not radians but degrees 2015-04-07 22:11:02 +02:00
Axel Uhl 0ea7e2f106 basic map functionality without rotation up and running 2015-04-07 21:28:21 +02:00
Axel Uhl 2148001736 fixing GWT serialization exceptions by only transmitting the enum's ordinal, not the enum object as object 2015-04-07 20:44:43 +02:00
Axel Uhl 5c32b9559c a compileable yet untested version of introducing the CoordinateSystem mapping concept to VectorField and Swarm 2015-04-07 20:29:09 +02:00
Axel Uhl c191a0e559 use LatLngBounds for all map coordinate system bounds 2015-04-07 14:04:19 +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 14798edca5 consolidated imports to avoid warnings 2015-04-07 12:20:43 +02:00
Axel Uhl aed5b1fe3c started using CoordinateSystem to map from Position to LatLng 2015-04-07 12:19:53 +02:00
Axel Uhl df81a3b83f reverted inadvertent typo from commit dcdc33a556 2015-04-07 12:18:41 +02:00
Axel Uhl 83a8d4b176 introduced CoordinateSystem to all overlay implementations 2015-04-07 10:27:16 +02:00
Axel Uhl ecfd5d29ca introduced cached rotation angle in degrees field in coordinate system 2015-04-07 10:03:00 +02:00
Axel Uhl 39ae6ec5a3 added bearing transformation in CoordinateSystem based on double values 2015-04-07 09:40:02 +02:00
Axel Uhl 8f4f43a893 removed GWT.debugger() again from AdminConsoleEntryPoint 2015-04-04 19:02:23 +02:00
Axel Uhl a23b7e2040 reverted effects of c76c2153ac, removing custom field serializer for RaceColumnInSeriesDTO again (superclass field serialization was unclear) 2015-04-04 18:35:47 +02:00
Axel Uhl f4572256e2 added custom field serializer for UserManagementException whose message can now be final and which does no longer need a no-arg constructor 2015-04-04 01:34:31 +02:00
Axel Uhl 417887afa1 treated WindSourceImpl and WindSourceWithAdditionalID with a custom field serializer, allowing them to have final fields and not having a no-arg constructor 2015-04-04 01:14:25 +02:00
Axel Uhl 673811fa09 removed GWT.debugger() statement again from AdminConsoleEntryPoint 2015-04-04 01:09:13 +02:00
Axel Uhl c76c2153ac treated RaceColumnInSeriesDTO with a custom field serializer; can now have final fields and doesn't need a no-arg constructor 2015-04-04 01:07:56 +02:00
Axel Uhl e7ec7403ef introduced custom field serializers for com.sap.sse.common types in com.sap.sse.gwt;
This avoids a direct dependency of com.sap.sse.common on GWT code. The custom field serializers are
bundled in a new module "SSECommonSerializers" which is inherited by the SSESharedGWT module and hence
exposed to all modules inheriting SSESharedGWT.

Further classes in com.sap.sailing.domain.common could have final fields and no no-arg constructor.
Started with ImageSizeImpl. The corresponding custom field serializers can go to com.sap.sailing.gwt.ui
which is the GWT-dependent module using the com.sap.sailing.domain.common stuff.
2015-04-04 01:00:02 +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
Axel Uhl a39ce812d5 some more consolidation based on the convergence of Position and PositionDTO 2015-04-02 16:11:52 +02:00
Axel Uhl f5409e468b further exploitation of convergence between Position and PositionDTO 2015-04-02 15:55:29 +02:00
Axel Uhl 748b674a95 Merge branch 'master' into bug489 2015-04-02 15:06:26 +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 4fb14d7e06 further exploitation of unification of Position and PositionDTO 2015-04-02 14:01:59 +02:00
Axel Uhl c00b60e9b0 started to benefit from unification of PositionDTO with Position by eliminating some conversions and copy constructor calls 2015-04-02 12:14:45 +02:00
Axel Uhl 6972ac9171 replaced PositionDTO by Position and DegreePosition 2015-04-02 12:06:39 +02:00
Axel Uhl cd2d94d8b1 encapsulate fields of PositionDTO, preparing its replacement by Position 2015-04-02 11:47:24 +02:00
Axel Uhl 870537eeae introduced CoordinateSystem to RaceMap 2015-04-02 11:42:55 +02:00
Axel Uhl 66af723d45 added the notion of a coordinate system with identity and translate/rotate implementations 2015-04-02 11:35:10 +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
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 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