Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 37d9e33183 upgraded Highcharts to version 4.0.1; now have to test how this plays with the GWT wrapper 2014-05-20 22:57:06 +02:00
Axel Uhl 055de5b4ba don't explicitly turn off first label in wind charts 2014-05-20 22:49:42 +02:00
Axel Uhl 1d4663e220 Merge remote-tracking branch 'server/master' 2014-05-20 15:59:26 +02:00
Axel Uhl 2cd8569019 Whitespace change only 2014-05-20 15:51:31 +02:00
Axel Uhl c51ded4a92 fixed initial load serialization for remote sailing server references with proper logging 2014-05-19 23:20:03 +02:00
Axel Uhl b6fc523852 moved functionality of remote server reference and event cache management to new class RemoteSailingServerSet 2014-05-19 23:02:35 +02:00
Axel Uhl 3d14fbc546 made robust for remote server URLs entered without http:// prefix; fixed error handling for remote server refs 2014-05-19 22:37:45 +02:00
Axel Uhl 732551bcc5 named event cache updater thread 2014-05-19 22:23:30 +02:00
Axel Uhl f6a41cbb7e renamed RemoveSailingServer to RemoveRemoteSailingServerReference 2014-05-19 22:16:59 +02:00
Axel Uhl 5d552525ec hold remote server references in memory in RacingEventService and periodically update event cache 2014-05-19 22:13:44 +02:00
Axel Uhl 2e4cb0176c Merge branch 'master' into bug1930 2014-05-19 17:37:55 +02:00
Axel Uhl 2ad2466728 remote server editing functionality working again 2014-05-19 17:36:22 +02:00
Axel Uhl 43a33214d5 more formatting 2014-05-19 17:20:03 +02:00
Axel Uhl a1b80d9695 worked through remote server config UI 2014-05-19 17:14:52 +02:00
Axel Uhl 5bea924a78 fixed compile error introduced by previous commit 2014-05-19 16:17:23 +02:00
Axel Uhl d5442bd2e8 slight change in how obtaining the remote events works 2014-05-19 16:16:21 +02:00
Axel Uhl 50ec91568a more formatting issues 2014-05-19 15:50:00 +02:00
Axel Uhl ef42a0cf76 expose only public events by default in the /events REST service. Queries for specific IDs will be satisfied regardless the publicness 2014-05-19 15:48:15 +02:00
Axel Uhl a60be3850a formatting and naming 2014-05-19 15:47:45 +02:00
Axel Uhl 62f1e5620c Merge branch 'master' into bug1930 2014-05-19 14:48:00 +02:00
Axel Uhl 5fbb6a5f68 Merge branch 'natural-comparator-test' 2014-05-17 00:34:05 +02:00
Axel Uhl 34758852c4 added failing test case for bug 1954 2014-05-17 00:33:47 +02:00
Axel Uhl f8771c3de7 fixing bug 1954 (credits to Petra :-) ). The problem was in converting the two string to lower case; b=a.toLowerCase()... 2014-05-17 00:30:31 +02:00
Axel Uhl 060e667141 updated release notes about the modified maneuver analysis and left a note about how we call cleared OCSs 2014-05-16 22:03:04 +02:00
Axel Uhl 44121d1057 Merge remote-tracking branch 'server/master' 2014-05-16 18:36:20 +02:00
Axel Uhl 61991d6440 made robust against competitors that are not found in SwissTiming start lists 2014-05-16 18:33:33 +02:00
Axel Uhl 8e8eeba77a Talk about /etc/security/limits.d and nproc 2014-05-16 15:13:02 +00:00
Axel Uhl dfaa72cff0 Merge branch 'bug1950' 2014-05-16 15:26:19 +02:00
Axel Uhl ab03589e23 allow HighPointFirstGetsFixedScore with parameterizable minimum score from rank and use it for the new Bundesliga high-point-with-max-5 to set min to 0 2014-05-16 14:21:07 +02:00
Axel Uhl f3f83aa6cd formatting only 2014-05-16 14:15:36 +02:00
Axel Uhl f1fc788b22 added fix for mark passing maneuver position 2014-05-16 11:30:13 +02:00
Axel Uhl 01d8422025 Merge branch 'master' into bug1950 2014-05-16 10:34:52 +02:00
Axel Uhl a456b4ce3e Merge branch 'master' into bug1950 2014-05-16 01:10:11 +02:00
Axel Uhl 2e3bdc531f use ConcurrentWeakHashMap again to see if simply not overloading the CPU during maneuver calculation recursion already fixes the problem 2014-05-16 01:07:46 +02:00
Axel Uhl d1abac0c8d resolved the deep maneuver analysis recursion by setting strict time bounds for start/end of maneuver in case of recursions 2014-05-16 00:57:01 +02:00
Axel Uhl efe9fb6295 avoid NPE in getLeaderboardEntryDTO in case competitor has no tracked race associated 2014-05-15 23:56:01 +02:00
Axel Uhl f2e1735562 Merge branch 'master' into bug1950 2014-05-15 23:33:14 +02:00
Axel Uhl 3c86721f2d (temporarily) replacing the ConcurrentWeakHashMaps in LockUtil by ConcurrentHashMaps again to see if it fixes bug 1921 2014-05-15 23:31:28 +02:00
Axel Uhl 1aa9e091e3 removed redundant synchronization on getCurrentThreadsPropagationCounts() in LockUtil.unlockAfterWrite 2014-05-15 22:19:19 +02:00
Axel Uhl fe0fcb4b83 Merge branch 'master' into bug1950 2014-05-15 21:19:14 +02:00
Axel Uhl 52ea7b1e57 working on bug 1954: first of all, reducing the number of constructor invocatoins for NaturalComparator 2014-05-15 16:25:25 +02:00
Axel Uhl ea73edf91c Merge remote-tracking branch 'server/master' 2014-05-15 15:26:44 +02:00
Axel Uhl 2018364a55 keep de-serialization compatible with earlier versions by creating the lock object if it doesn't exist in readObject 2014-05-15 15:24:53 +02:00
Axel Uhl de4b2fb13e Merge branch 'master' into bug1950 2014-05-15 13:17:03 +02:00
Axel Uhl 4e3769e527 added test and fix for nationality setting and null handling on Competitor / Team 2014-05-15 11:44:27 +02:00
Axel Uhl 5349f5459e fixed NPE in TeamImpl.getNationality() in case there was no nationality set yet 2014-05-15 11:34:21 +02:00
Axel Uhl 2b2094e14a Merge branch 'master' into bug1950 2014-05-15 11:22:14 +02:00
Axel Uhl 0abe9c4a41 added a test case that without the fix of 98707dfc9b fails 2014-05-15 10:58:46 +02:00
Axel Uhl 98707dfc9b determine boat class from race ID in SwissTiming replay adapter; fixes a bug introduced by a refactoring that tries to get the boat class from Manage2Sail 2014-05-15 10:52:26 +02:00
Axel Uhl 0de90765a3 avoid NPE in leaderboard DTO calculation in case competitor track is not found (e.g., untracked competitor) 2014-05-15 10:31:22 +02:00
Axel Uhl beed4ed4ea use recursion if mark passing and tack and/or jibe are recognized in one group of unidirectional changes; see bug 1950 comment 3 2014-05-15 10:26:30 +02:00
Axel Uhl 46df62fb30 Merge branch 'master' into bug1950 2014-05-15 09:49:03 +02:00
Axel Uhl 6d9cfbd637 fixed an unlocking statement (had accidentally used unlockAfterRead after a lockForWrite) 2014-05-15 09:44:40 +02:00
Axel Uhl 102caa8f76 replaced ConcurrentSkipListSet by Collections.newSetFromMap(new ConcurrentHashMap()) which doesn't require comparability 2014-05-15 07:37:21 +02:00
Axel Uhl 4dac3e571b seems to fix bug 1950 by not calling it a penalty if a mark passing was between the tack and the jibe 2014-05-15 00:44:56 +02:00
Axel Uhl 9e6c41aa53 added a failing test case for bug 1950: the Alinghi penalty that is none because a mark passing is between jibe and tack 2014-05-15 00:38:14 +02:00
Axel Uhl aff7ecef7a added missing concurrency protection to regattasByName by using a lock 2014-05-15 00:04:54 +02:00
Axel Uhl ab960a0c9d Merge remote-tracking branch 'server/master' 2014-05-14 23:52:14 +02:00
Axel Uhl 56b61bfc21 added test for re-entrance of write locks with in-between read lock 2014-05-14 23:50:39 +02:00
Axel Uhl 17e58bb6cc Added hint on how to use MeasurementXMLFile to plot measurements in Hudson/Jenkins 2014-05-14 21:46:30 +00:00
Axel Uhl 9c9f8b4693 simplified construction of MeasurementXMLFile for Jenkins/Hudson measurements; use this to measure locking performance 2014-05-14 23:42:32 +02:00
Axel Uhl cdac144759 fixed type of tracker set to ConcurrentSkipListSet in test mock after changing it in RacingEventServiceImpl 2014-05-14 23:19:42 +02:00
Axel Uhl 77bea92fde implemented locking instead of synchronization (see bug 1935) for regattaTrackingCache 2014-05-14 23:13:16 +02:00
Axel Uhl 587824d807 replaced use of synchronized for raceTrackersByRegatta by the use of a corresponding lock 2014-05-14 22:57:58 +02:00
Axel Uhl 5a3defcf82 avoid needless iteration across all regattas' trackers when regatta is known in all callers 2014-05-14 21:31:46 +02:00
Axel Uhl de395104b1 turned regattasObservedForDefaultLeaderboard into a ConcurrentSkipListSet to avoid the use of synchronized 2014-05-14 21:23:40 +02:00
Axel Uhl cf49175417 fixed the consistent use of raceTrackersByIDLocks for write access to raceTrackersByID 2014-05-14 21:20:34 +02:00
Axel Uhl 40d57dbdda working on the completion of bug 1935 regarding the consistent use of locks instead of synchronized where possible 2014-05-14 21:09:05 +02:00
Axel Uhl 958d7b15e2 fixing bug 1935 by initializing the RaceLogInformation after deserializing RegattaImpl and FlexibleLeaderboardImpl objects; 2014-05-14 14:26:57 +02:00
Axel Uhl 2ea2457409 added net.sf.marineapi to Jetty on 8889 launch config with Proxy 2014-05-14 13:11:59 +02:00
Axel Uhl 18d6856a67 Merge remote-tracking branch 'origin/master' 2014-05-14 11:12:04 +02:00
Axel Uhl 858b2b55fe Merge remote-tracking branch 'origin/master'
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_ru.properties
2014-05-14 10:53:17 +02:00
Axel Uhl cc37019222 Merge remote-tracking branch 'server/master' 2014-05-13 14:38:12 +02:00
Axel Uhl 78b65ae114 the randomized wait interval in the SwissTiming connector killed a bunch of tests assuming faster response; withdrew the random wait;
This was a workaround for bug 171 (see comment #2). We need to wait for what I expect to be a fix coming from SwissTiming.
2014-05-13 14:38:05 +02:00
Axel Uhl 88215764a5 use SwissTiming race UUID as RaceDefinition ID 2014-05-13 01:26:15 +02:00
Axel Uhl b4c2202fd4 see bug 171, comment #2; introducing a random delay as a workaround for mass-loading of SwissTiming races 2014-05-13 00:06:58 +02:00
Axel Uhl e39836cdb3 working on old bug 171; when one connection in a whole series fails, subsequent connections were affected; resolved these dependencies 2014-05-12 23:45:33 +02:00
Axel Uhl b1ff618eef fixed more NPEs in context of bug 1947 2014-05-12 22:00:14 +02:00
Axel Uhl ebbd963847 trying to fix bug 1947 (NPE with RaceLogTrackingState when there is no RaceLog attached to a column) 2014-05-12 21:28:47 +02:00
Axel Uhl b531218338 In racelog tracking wiki, described how to obtain the GPSFixStore into which to deliver the GPS fixes when creating an adapter 2014-05-11 22:11:59 +00:00
Axel Uhl 3082e3a0ea Honored the merge of ftes-rltracking into master in racelog tracking Wiki 2014-05-11 21:42:47 +00:00
Axel Uhl e8806ea55c change the Bundesliga high point scoring scheme to use no interpolation 2014-05-08 15:37:03 +02:00
Axel Uhl caf1140444 Merge branch 'bug1923' 2014-05-08 15:03:37 +02:00
Axel Uhl d7fc9d8056 for bug 1946, started to implement the HighPointWinnerGetsSixLastGetsOneOthersAreInterpolated scoring scheme for the Bundesliga 2014 2014-05-08 15:02:25 +02:00
Axel Uhl 4d38870c9e removed obsolete comment 2014-05-08 13:11:03 +02:00
Axel Uhl 6bda5a92e5 fixing the bug noted in comment #3 of bug 1923 related to the potentially incorrect clearing of scheduledRefreshInterval; now cleanly subtracting the interval refreshed 2014-05-08 11:32:25 +02:00
Axel Uhl bb085e2f23 use ConcurrentWeakHashMap in LockUtil to reduce amount of synchronization required, particularly for the reading case 2014-05-08 10:58:58 +02:00
Axel Uhl e4fe19f164 first test for concurrent weak hash map that tests purging 2014-05-08 10:39:26 +02:00
Axel Uhl 5753845ef7 a first working test showing that put and get basically work on ConcurrentWeakHashMap 2014-05-08 10:10:48 +02:00
Axel Uhl 5ec3e0f21c a first implementation of a concurrent and weak hash map 2014-05-08 09:55:52 +02:00
Axel Uhl 7d977e600c In LockUtil use WeakHashMap<Thread, ...> to ensure that threads can be garbage collected with all their local variables and everything! Use Mockito.reset(). 2014-05-08 01:03:12 +02:00
Axel Uhl b33035c00c Merge branch 'master' into bug1923 2014-05-08 00:34:08 +02:00
Axel Uhl 929353267f at another place, let removeFromCache do the unregistration of competitor observers 2014-05-08 00:25:26 +02:00
Axel Uhl 57b0f4b98d let de-registration of competitor change listener get done by removeFromCache 2014-05-08 00:16:55 +02:00
Axel Uhl 1dd02519a3 fixed de-registration of competitor listener in leaderboard cache manager 2014-05-08 00:04:09 +02:00
Axel Uhl e0f0cfd556 unified how the leaderboard cache manager's competitor change listener is applied to the leaderboard's competitors 2014-05-07 23:52:54 +02:00
Axel Uhl 48cb36ab60 apply competitor listener pattern to leaderboard caching infrastructure; competitor change will invalidate leaderboard cache 2014-05-07 23:42:23 +02:00
Axel Uhl dc688e857e added tests for competitor change listener / observer pattern in conjunction with serialization 2014-05-07 23:08:25 +02:00
Axel Uhl 7ca425d4a2 added observer pattern for Competitor, Team, Boat and Person 2014-05-07 22:57:27 +02:00
Axel Uhl ad4ce750c8 fixing bug 1945 (empty (null) color not allowed in competitor edit dialog); empty field means null 2014-05-07 21:34:58 +02:00