Commit Graph
629 Commits
Author SHA1 Message Date
Axel Uhl 57528ca23e fixed endless recursion in new createRaceColumn method, probably only relevant in tests 2011-10-02 03:27:10 +02:00
Axel Uhl 09f122c88a fixed issue with RaceInLeaderboard identity by subclassing instead of using delegation;
The problems bit all over the place with the delegation pattern based on lack of identity / equality
with the delegates. Now I've changed the design such that LeaderboardImplWithDelayed... creates
subclassed RaceInLeaderboard instances consistently, avoiding any issues with wrappers not being
identical to their delegates.
2011-10-02 03:20:58 +02:00
Axel Uhl 77079015d4 fixed serious bugs regarding storage of score corrections/max points reasons
One problem was the proper escaping of + characters which during URLDecoder.decode were
replaced by space. Another issue was that when directly calling setTrackedRace on a
RaceInLeaderboard column, the left-overs were not properly assigned. I fixed this using
a delegate pattern with a wrapper around the RaceInLeaderboard objects returned from
the leaderboard with delayed score correction / max points data. This, however, led to
a follow-up problem when constructing the keys used for the score correction / max points
maps: the wrappers were neither identical nor equal to the delegate. I now delegate the
key construction to the RaceInLeaderboard instance which gives the wrapper a chance to
use its delegate in the key constructed.
2011-10-02 02:40:15 +02:00
Axel Uhl 36eed1f770 also store score corrections in DB for non-tracked races 2011-10-02 01:32:15 +02:00
Axel Uhl d7c9fb94c3 avoid unnecessary storing of leaderboard only due to selecting a different race column 2011-10-02 00:52:40 +02:00
Axel Uhl 4de848c120 fixed NPE in getMaxPoints 2011-10-01 19:25:11 +02:00
Axel Uhl 497a913d5a allow max points to be overridden 2011-10-01 19:08:07 +02:00
Axel Uhl 319f69e3ac use total number of competitors in leaderboard for max points calculation for untracked races 2011-10-01 19:04:10 +02:00
Axel Uhl e01d74102d changed xcelsius rankPerLeg output such that "to" mark instead of "from" mark is reported for the legs 2011-10-01 18:20:21 +02:00
Axel Uhl a093f9dd03 removed top padding in leaderboard panel again 2011-10-01 18:14:40 +02:00
Axel Uhl e30ec71dd7 added top padding for leaderboard if padding is chosen 2011-10-01 17:54:26 +02:00
Axel Uhl 6682943a53 use GWD/GWS if TWD/TWS are not transmitted (e.g., because the log doesn't work on the rib) 2011-10-01 17:36:38 +02:00
Axel Uhl 90c513e65d made leaderboard padding optional; reduced to 50px left, added 50px padding right 2011-10-01 16:45:11 +02:00
Axel Uhl 9dbc13e2dd added left-padding to leaderboard 2011-10-01 16:13:58 +02:00
Axel Uhl 7dff2daa08 added german translation 2011-10-01 15:59:49 +02:00
Axel Uhl c43649ed24 fixed heading for "leg details" popup 2011-09-30 23:54:44 +02:00
Axel Uhl afdf367522 fixed date for parsed time stamps in SwissTiming connector 2011-09-30 23:52:32 +02:00
Axel Uhl 8c87a0e8f9 fixed time formats in SwissTiming connector 2011-09-30 23:29:01 +02:00
Axel Uhl f93a4e1729 implemented (but didn't test) remaining SwissTiming functions / parsers 2011-09-30 17:13:55 +02:00
Axel Uhl 7ecaa99e75 introduced an interactive test console for SwissTiming 2011-09-30 16:36:05 +02:00
Axel Uhl d67f64facf implemented more structured SwissTiming service connector pieces 2011-09-30 16:23:32 +02:00
Axel Uhl 1379341980 started with structured SwissTiming services 2011-09-30 15:38:16 +02:00
Axel Uhl 46a81d231e started with structured SwissTiming services 2011-09-30 15:38:03 +02:00
Axel Uhl 2e7b3e4e24 consolidated imports 2011-09-30 11:19:02 +02:00
Axel Uhl 7fa4961faa initial SailMaster message splitting in place 2011-09-30 11:18:49 +02:00
Axel Uhl c802d2885d refactored SwissTiming connector APIs 2011-09-30 11:11:07 +02:00
Axel Uhl 9ee8128701 according to Kai's statement, set SailMaster charset to cp1252 2011-09-30 10:38:22 +02:00
Axel Uhl 70f0d8ce35 added first test case towards SwissTiming SailMaster connectivity 2011-09-30 10:36:39 +02:00
Axel Uhl c49c239289 fixed position gain/loss output for xcelsius getRankPerLeg 2011-09-30 08:32:26 +02:00
Axel Uhl a3999abaa8 compute posGL and use distance sailed instead of current SOG in xcelsius getRankPerLeg 2011-09-30 07:55:21 +02:00
Axel Uhl 88ee0237b0 based on shortened time interval for maneuver detection, lowered degrees diff threshold in test verdicts 2011-09-29 23:42:08 +02:00
Axel Uhl 0604b3d381 distinguish tack/jibe thresholds for upwind/downwind; use constant 10s interval for maneuver detection 2011-09-29 18:31:00 +02:00
Axel Uhl 51c75535cf write "deg" instead of "°" to label which doesn't accept UTML 2011-09-29 12:38:35 +02:00
Axel Uhl e7e1c1c45d transmit boat speed/bearing for display in RaceMapPanel; store successfully connected yet empty config in DB 2011-09-29 12:23:28 +02:00
Axel Uhl 27f8ad0657 fixed wind to/from confusion in expedition receiver; allow for omission of event/race in setwind service call 2011-09-28 10:51:54 +02:00
Axel Uhl 5f7585ea67 optional estimated wind display in WindPanel 2011-09-27 12:23:30 +02:00
Axel Uhl ace383d953 added TODO for WindTrackImpl 2011-09-27 11:40:23 +02:00
Axel Uhl fd240aa8fd mades text strings in WindPanel translatable 2011-09-27 11:37:57 +02:00
Axel Uhl c3084c3674 enhanced warnings, warning of once-only warning output 2011-09-27 11:15:31 +02:00
Axel Uhl d249bfb373 warn only once per tracked race of problems with obtaining wind from the requested source 2011-09-27 11:13:36 +02:00
Axel Uhl 3544e8dcd7 added some logging in case tracking / wind tracking aborts due to timeouts waiting for RaceDefinition 2011-09-27 11:10:40 +02:00
Axel Uhl 4476d79662 use timeouts consistently to terminate startWindTracking threads and stop race trackers 2011-09-27 10:52:53 +02:00
Axel Uhl b2c9101060 fixed bug in new timeout handling for getRaceDefinition in DomainFactoryImpl 2011-09-27 10:41:41 +02:00
Axel Uhl 0c5b986ea3 allow setwind call in admin app to omit eventname/racename parameter; prepare asynchronous startWindTracking 2011-09-27 10:35:25 +02:00
Axel Uhl 3090557225 trying to schedule a future that cleanly untracks a race if it doesn't show up 2011-09-27 09:38:57 +02:00
Axel Uhl a7edd95ab9 reverted to null values as per Kersten's request 2011-09-26 23:29:19 +02:00
Axel Uhl 9707144ea8 added timer to leaderboard 2011-09-26 23:27:33 +02:00
Axel Uhl 38f0c1d2fc fixed bug in result discarding implementation; now use the net points to sort before discarding 2011-09-26 21:05:34 +02:00
Axel Uhl ce255c5a88 added failing test reproducing a bug in leaderboard regarding discarding of maxPoints races 2011-09-26 20:58:43 +02:00
Axel Uhl b6e1b6a0dd added missing PlayStateListener registration for TimePanel 2011-09-26 20:27:25 +02:00