Axel Uhl
f27814745d
renamed get... and create... methods to getOrCreate... if they get or create ...
2011-10-04 12:35:11 +02:00
Axel Uhl
55e73237b1
fixed leaderboard scoring bug: medal race doesn't count for number of discardable races
2011-10-03 15:18:11 +02:00
Axel Uhl
8eb0e04a47
fixed calculation of VMG which so far projected wind onto boat direction instead of the other way around
2011-10-03 10:18:53 +02:00
Axel Uhl
5f54fa186d
loosened synchronization to avoid deadlocks
2011-10-02 13:13:50 +02:00
Axel Uhl
909c01e5e1
added synchronization for gps fix adding and computing estimated speed
2011-10-02 12:10:32 +02:00
Axel Uhl
0e4d77596e
fixed leg ranks for non-started legs, setting to 0
2011-10-02 10:54:39 +02:00
Axel Uhl
f5871a3a00
consider untracked races for which we have score corrections for discarding
2011-10-02 09:06:18 +02:00
Axel Uhl
18329e6b5d
fixed unlink button enablement; added TODO for severe bug
2011-10-02 04:44:28 +02:00
Axel Uhl
ca5097ff90
also consider untracked races in leaderboard for result discarding
2011-10-02 04:27:29 +02:00
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
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
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
ace383d953
added TODO for WindTrackImpl
2011-09-27 11:40:23 +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
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
917a31bfaf
added output to xcelsius services
2011-09-22 18:34:09 +02:00
Axel Uhl
e3dae51ebf
added sailID to Boat; reduced number of decimals for distance to 0
2011-09-22 10:12:51 +02:00
Axel Uhl
c9d932f865
adjusted test case verdict for wind estimation after algorithms were fixed
2011-09-15 22:38:19 +02:00
Axel Uhl
a9de554d6d
fixed averaging bearings during estimating wind directions
2011-09-15 21:34:47 +02:00
Axel Uhl
e1650f6d8b
better clustering of bearings for wind estimation
2011-09-15 20:37:21 +02:00
Axel Uhl
db52f22739
added missing Tack enumeration
2011-09-15 16:24:06 +02:00
Axel Uhl
cadf618c07
added "tack" field to "showboatpositions" output, added corresponding doc to README
2011-09-15 10:05:32 +02:00
Axel Uhl
ac9e388c87
added tack detection (are sails on port or starboard for a boat at a given time?)
2011-09-15 09:56:05 +02:00
Axel Uhl
8ea116411f
added method to compute difference between bearings
2011-09-15 09:01:23 +02:00
Axel Uhl
8a4707ecf0
fixed NPEs for editable leaderboard in case a new untracked column is added
2011-09-14 18:17:37 +02:00
Axel Uhl
f5804520df
try to return corrected score even for untracked races; started a bit of user management logic
...
Additionally, generalized SailingGWT.launch by removing absolute path specifications
2011-09-14 16:10:50 +02:00
Axel Uhl
f1edc793ac
null values are now always sorted towards the bottom of the table
2011-09-13 23:09:23 +02:00
Axel Uhl
2b5d82795f
fixed sorting of medal races
2011-08-31 10:50:46 +02:00
Axel Uhl
b59fb2b067
updating score corrections now correctly updates the server
2011-08-31 00:08:14 +02:00
Axel Uhl
a81cbc82ef
LeaderboardEditing.html allows users to edit the carried points on the server
2011-08-30 21:35:56 +02:00
Axel Uhl
95f1d14e97
assume wind from front on first leg if nothing else known; added first building blocks for Leaderboard editing
2011-08-30 16:26:46 +02:00
Axel Uhl
4218b779fd
use compacting fix subclass also for buoy tracks
2011-08-29 11:05:08 +02:00
Axel Uhl
3a01b3e769
provided a memory-conserving flattened, compact representation of a GPSFixMoving, use it in track
2011-08-28 23:07:26 +02:00
Axel Uhl
1f3c31fcc7
fixed bug in ArrayListNavigableSet when inserting at the end; added medal to medal race display
2011-08-27 01:54:13 +02:00
Axel Uhl
ab4412c032
fixed ArrayListNavigableSet.addAll, added documentation to ArrayListNavigableSet
2011-08-27 01:02:38 +02:00
Axel Uhl
84dbcfd40a
fixed yet another off-by-one problem; all tests green
2011-08-27 00:46:14 +02:00
Axel Uhl
3a89debf19
fixed another off-by-one error; down to 1 failure
2011-08-27 00:01:06 +02:00
Axel Uhl
05e34fbeb0
fixed some border cases with subsetting a track that leads to empty track; 0 errors, 5 failures
2011-08-26 23:49:39 +02:00
Axel Uhl
905563c35d
compilable version of an array list-based track impl that runs with 2 errors, 4 failures
2011-08-26 23:41:52 +02:00
Axel Uhl
c55eb8cfb9
refactored dialog implementations, trying to extract commonalities such as validation
2011-08-26 14:40:06 +02:00
Axel Uhl
ba07d4d7e3
another test for leaderboard carried points persistence
2011-08-24 10:52:25 +02:00
Axel Uhl
89bfe4b99b
first untested pieces of code to load a leaderboard from MongoDB
2011-08-24 09:49:31 +02:00
Axel Uhl
d71add5bc3
first half-way complete but entirely untested storing routine for Leaderboard
2011-08-19 17:44:03 +02:00
Axel Uhl
8bd2f9d669
continued work on leaderboard persistence; removed alert window showing host name for race panel
2011-08-19 17:08:20 +02:00
Axel Uhl
71fee7a59c
continued development of leaderboard persistence; fixed flag URL toLowerCase issue
2011-08-18 18:00:34 +02:00