Commit Graph
1279 Commits
Author SHA1 Message Date
Axel Uhl b67f4ea9b0 using a ConcurrentHashBag to manage the reader threads in NamedReentrantReadWriteLock; fast remove and fast add are supported 2014-08-13 14:52:51 +02:00
Axel Uhl 6b06e20505 started to create a performance test for the readers collection in NamedReentrantReadWriteLock which is a performance bottleneck 2014-08-13 11:13:14 +02:00
Axel Uhl 1b9fa1000d added estimated speed caching 2014-08-13 01:29:16 +02:00
Axel Uhl 6a7418a40d introduced estimated speed cache on GPSFix interface and on CompactGPSFixImpl 2014-08-13 01:02:11 +02:00
Axel Uhl ce1d576644 ConcurrentHashMap was wrong; need to count duplicates (thank goodness a test caught that!); using ConcurrentLinkedQueue now 2014-08-12 00:02:54 +02:00
Axel Uhl 671ef7b929 create RaceColumnDTO / RaceColumnInSeriesDTO in a consistent, centralized way by the new RaceColumnDTOFactory 2014-08-10 18:53:07 +02:00
Axel Uhl 17c443b6f6 use Bounds instead of LatLngBounds for map bounds calculations and don't change zoom/pan if not necessary 2014-08-06 17:15:07 +02:00
Axel Uhl 0c87e7bca3 increasing time-out for TracTrac tests from 2 to 3 minutes after the upgrade to TracAPI 3.0.4 which seems slower than 3.0.3 2014-08-04 23:55:10 +02:00
Axel Uhl 33c194e16d working on bug 2079, adding displayName to leaderboard group and various related services and UIs 2014-08-04 23:49:31 +02:00
Axel Uhl fa317af2a4 trying to fix another NPE caused by insufficient mocking of wind sources in mocked tracked race implementation 2014-07-30 14:59:53 +02:00
Axel Uhl 17df49b9ba Merge branch 'newhome' 2014-07-29 14:57:37 +02:00
Axel Uhl 9b22ca61b0 fixed mocking of tracked race because createTrackedRaceDTO now requires wind sources collection to at least be valid 2014-07-29 14:56:53 +02:00
Axel Uhl c7b2aac868 Merge branch 'master' into bug2080 2014-07-27 13:56:53 +02:00
Axel Uhl 6a5d4723f8 added another test case for calculating the center of gravity of three marks 2014-07-26 15:47:42 +02:00
Axel Uhl 154b0de382 added implementation and test case for TrackeRace.getCenterOfCourse 2014-07-25 16:38:30 +02:00
Simon Pamies 3fed464b4a Merge branch 'master' into bug2078 2014-07-25 12:46:11 +02:00
Axel Uhl 3b04aa0ad0 renamed enum literal 2014-07-23 22:33:54 +02:00
Axel Uhl 66a3d1f687 added a test case ensuring that empty leg details transition properly to non-empty through incremental leaderboard diffing 2014-07-23 18:17:58 +02:00
Simon Pamies 38e0b17e6a Introduced enum for AdditionalScoringInformationEvent that denotes the type of the information; extended various methods to include that type information; added string messages 2014-07-23 16:13:47 +02:00
Simon Pamies ca60098834 addRace no longer requires a fleet - removing parameter 2014-07-21 13:26:46 +02:00
Simon Pamies 723c281f58 Merged master 2014-07-21 12:56:04 +02:00
Simon Pamies dcce82e4a0 Updated test that checks if additional scoring information really has an impact 2014-07-21 12:49:43 +02:00
Frederik Petersen 2b526f07b1 FlexibleLeaderboards now do not allow multiple fleets for race creation
The default fleet is a singleton and the interface of the
FlexibleLeaderboard was cleaned up. Before the cleanup, the user was
allowed to add mutiple fleets when creating a race or a race column. This
is not allowed in the persistence model
2014-07-21 10:06:47 +02:00
Simon Pamies ade5b5a35f Added new high point scoring scheme that checks if additional scoring information is available and iff gives a score of 8 for the winner 2014-07-20 23:20:30 +02:00
Axel Uhl d7ac712e05 adjusted TimerTest so it works fast usually and still works if things are slow for whatever reason 2014-07-18 00:41:59 +02:00
Axel Uhl d3ffd4b549 fixed competitor construction for tests; use UUID.randomUUID() now that competitors must not have the same ID within one race at least 2014-07-17 10:06:08 +02:00
Axel Uhl f36df6af13 added test that shows that an exception in a TimerTask cancels the timer and makes it unusable 2014-07-17 00:46:50 +02:00
Axel Uhl 6d0ea3c0a0 fixed compile errors after introducing RaceDefinition.getCompetitorByID 2014-07-16 19:03:20 +02:00
Axel Uhl 8b4f4fa7e4 replaced #!/bin/sh by #!/bin/bash to ensure compatibility on Debian-like Linux systems such as Ubuntu 2014-07-16 11:31:14 +02:00
Axel Uhl 4a0fba7eb5 removed Regatta.getBaseName() and modified RegattaImpl constructors to accept the full regatta name instead of the base name 2014-07-10 15:22:50 +02:00
Axel Uhl 2e0d32622c fixed beat angle calculation 2014-07-10 10:59:09 +02:00
Axel Uhl 6440068d0c added support for image sizes on Event / EventImpl 2014-07-10 09:13:25 +02:00
Axel Uhl b6014f2ca0 have the test fail upon exception 2014-07-09 10:54:54 +02:00
Axel Uhl a01929a87f Merge branch 'master' into bug2051 2014-07-09 10:49:48 +02:00
Axel Uhl df2331ed3d ifixing bug 1903 by changing getRaces(...) to getRace(...) and adjusting callers 2014-07-08 18:21:12 +02:00
Axel Uhl 3b29b9a291 added a failing test case that fails because of bug 1994 comment #5 (missing leaderboard cache invalidation after unchecking useStartTimeInference checkbox) 2014-07-08 14:34:04 +02:00
Benjamin Ebling 0231455482 Created test case for image size calculation from url. 2014-07-08 13:55:16 +02:00
Axel Uhl 62f0e17973 avoid warning by consolidating imports 2014-07-08 10:31:38 +02:00
Axel Uhl a05c16b9f5 Merge branch 'master' into bug1994 2014-07-07 18:12:37 +02:00
Axel Uhl 128acc64c5 avoid instantiation of TrackedRegattaImpl and use DynamicTrackedRegattaImpl instead to also comply in tests with assumptions of DynamicTrackedRace 2014-07-07 18:11:51 +02:00
Axel Uhl bf9a07a2b9 introduced change listener pattern for aborting a race and use this to send an update to TracTrac 2014-07-07 16:58:35 +02:00
Axel Uhl 22e6948dc9 made compilable by adding missing implementations of setUseStartTimeInference in some mock Regatta implementations 2014-07-07 15:14:01 +02:00
Axel Uhl e50fb80870 Merge remote-tracking branch 'server/master' into bug1994 2014-07-07 13:19:26 +02:00
Axel Uhl 4f15a562b3 introduced a manageable flag "useStartTimeInference" on Regatta that is evaluated by TrackedRaceImpl.getStartOfRace(), solving bug 1994 2014-07-07 11:27:25 +02:00
Axel Uhl cc5d6e5c74 completed use of WindLegTypeAndLegBearingCache in TrackedLeg.getRanks(...) 2014-07-05 00:05:46 +02:00
Axel Uhl ff140b5abb according to bug 2048 comment 6 use a simplified quick distance approximation for distance-based weighing 2014-07-04 23:47:41 +02:00
Axel Uhl c6daa5d6bb added more uses of WindLegTypeAndLegBearingCache in computeDTO and also for TrackedLeg.getRanks(...) 2014-07-04 22:50:25 +02:00
Axel Uhl 068d9c723e added tests for exclusion and re-inclusion of mark positions depending on start-of-tracking and end-of-tracking, fixing bug 2041 2014-06-30 17:12:02 +02:00
Axel Uhl ae59ed3de3 filter mark positions by start-of-tracking and end-of-tracking times; started a test case for this 2014-06-30 17:00:54 +02:00
Axel Uhl 52a53e7fd2 Merge branch 'bug2026' into spatial-wind 2014-06-29 15:31:02 +02:00