Axel Uhl
30d53be082
added performance test for SmartFutureTest get/call
2013-04-16 12:01:05 +02:00
Simon Pamies
2cbe005dbb
Added welcome guid that also contains telephone for emergency
2013-04-16 10:51:26 +02:00
Simon Pamies
6d2d3a3389
Perform backup of server directory so that it can be rolled back without
...
rebuilding the whole thing from another ref
2013-04-16 10:49:57 +02:00
Axel Uhl
4054a98fed
added missing @Test
2013-04-16 07:52:01 +02:00
Axel Uhl
12202299c4
Merge branch 'master' into smartfuturecachelockpropagation
...
Conflicts:
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/LockTraceTest.java
2013-04-16 07:48:39 +02:00
Axel Uhl
a551869059
added locking performance test
2013-04-16 07:46:28 +02:00
Axel Uhl
e132c511f8
yield outside synchronized block to ensure the lock propagation gets its turn before the lock-seeking thread enters the synchronized block again
2013-04-15 17:28:33 +02:00
fmittag
cdbf910502
Made also the wind chart and the competitor charts in the raceboard "on/off switchable" via url parameters
2013-04-15 13:57:27 +02:00
fmittag
a70732aed3
fix for bug 1343: Enable switching on/off components in the RaceBoard entry point by URL parameter
...
+ some refactoring of the parameter reading in the RaceBoardEntryPoint
2013-04-15 13:18:01 +02:00
Axel Uhl
d863b68761
added failing test case for what comment #22 on Bug 1344 observed; LockUtil now doesn't deal properly anymore with reentrant read locks
2013-04-15 10:58:39 +02:00
Axel Uhl
d8a7fabdd2
made SmartFutureCache's lock propagation robust against concurrent get() calls
2013-04-15 10:57:04 +02:00
Axel Uhl
aaf1faad2c
fixed logging in SmartFutureCache for lock propagation; so far, NPEs were likely to happen due to the logging
2013-04-14 13:24:27 +02:00
Axel Uhl
33204ccf4a
Merge branch 'master' into smartfuturecachelockpropagation
2013-04-14 12:15:14 +02:00
Armin Zamani
7dced14016
Merge branch 'master' into racecommittee_integrated
2013-04-14 12:53:47 +08:00
Armin Zamani
0a23a1498f
worked on Java doc
2013-04-14 12:46:19 +08:00
Armin Zamani
28d6d05de7
Added more javadoc and comments for code explanations
2013-04-14 12:01:40 +08:00
Axel Uhl (Server)
98001cd1be
Fixed start script again - slow ssh makes things hard
2013-04-14 05:30:10 +02:00
Armin Zamani
12d39da164
bug fix for android string
2013-04-14 10:25:49 +08:00
Axel Uhl (Server)
4b1157d58b
Hopefully fixed scripts for good
2013-04-14 04:19:58 +02:00
Axel Uhl (Server)
45ef00d883
Fixed indicator of server and added tmpdir
2013-04-14 04:15:54 +02:00
Armin Zamani
7a57e77157
Merge branch 'master' into racecommittee_integrated
2013-04-14 10:10:16 +08:00
Armin Zamani
2f2ec1a9c3
organized import
2013-04-14 06:52:15 +08:00
Armin Zamani
c8953c6aad
Added first finisher time to the label in the app, score correction
...
confirmation is not thrown when blue flag down is pressed, added a test
for the passaware racelog
2013-04-14 06:51:08 +08:00
Simon Pamies
f7256ce8bb
Added uncorrected points (eq tracked rank) to json. This makes debugging
...
of issues easier when score corrections have already been entered.
2013-04-14 00:56:50 +08:00
Simon Pamies
cdbcd1f9b6
Catching a NoWindException earlier than it normally would've been.
...
Comment explains why this is a no brainer and safe.
2013-04-14 00:46:28 +08:00
Simon Pamies
2b6a9beb87
Moved implementation of getLeaderboardsNotInGroup away from $where
...
implementation. It has two drawbacks: First MongoDB 2.4 no longer
supports global access to objects like db. The other one is that plain
$where calls are knwon to be very inefficient because they wake up all
objects in the collections they're working on without ever using
indexes.
2013-04-14 00:44:03 +08:00
Simon Pamies
3969120fdd
Added stop script and updated build script to also copy start and stop script
2013-04-14 00:10:46 +08:00
Axel Uhl
8a46723c37
really unlock read lock if counter == 1 or current thread is owner;
...
this takes care of the possibility that the thread to which locks are propagated gets the read lock itself and later
is propagated the read lock again. In this case, the receiving thread needs to first actually unlock its lock before
only decrementing the counter and relying on the propagating thread's lock ownership.
2013-04-13 09:00:28 +02:00
Armin Zamani
e97c888369
Refactored Score corrector code
2013-04-13 12:52:56 +08:00
Armin Zamani
490cce4beb
added the case that a MaxPointsReason was set before and is now resetted by the race committee
2013-04-13 12:25:46 +08:00
Armin Zamani
fba0517ac5
Changed score correction comment to look more official by the Race
...
Committee, refactored code in course update handler, added more logging
regarding the result of the course update
2013-04-13 11:50:16 +08:00
Armin Zamani
af5c36c539
RC App: Competitors are removed from the list of unpositioned
...
competitors correctly again
2013-04-13 08:52:43 +08:00
Axel Uhl
d200670619
added a comment why the "fix" currently doesn't work; need to count actual read locks obtained and unlock in each thread where obtained
2013-04-13 02:45:14 +02:00
Armin Zamani
704bf9d095
Changed competitor in PositioningListEvent to a plain group of
...
competitor id and competitor name
2013-04-13 08:38:55 +08:00
Axel Uhl
7604fa4956
provide what looks like a fix for bug 1344
2013-04-13 01:21:44 +02:00
Axel Uhl
a91b379aab
implemented a failing test case for bug 1344 (deadlock)
2013-04-13 00:46:50 +02:00
Axel Uhl
d22f3c53be
added test case that demonstrates the old fix for the read-read deadlock in synchronous triggerUpdate/get combinations
2013-04-13 00:27:52 +02:00
Axel Uhl
3d4c747346
added a first few locking / threading / SmartFutureCache updating test rudiments
2013-04-12 23:57:43 +02:00
Axel Uhl
a6e8e6e530
started with a comment for a failing test case for bug 1344
2013-04-12 22:27:53 +02:00
Axel Uhl
0eea838f4f
preparing a pro-active propagation of locks from the calling thread to another thread to tackle bug 1344 (deadlock)
2013-04-12 22:06:46 +02:00
Axel Uhl
f0d7c550e2
Changed "final" semantics for leaderboard JSON export such that it never exports a started but not yet finished race;
...
other fixes include creation of regattas which need to be created with no RaceColumns attached to the Series yet because
it otherwise breaks assumptions asserted by "assert" statements, hence breaking tests when executed with -ea.
2013-04-12 20:44:22 +02:00
fmittag
737d4fa7d2
Changed the timepoint calculation for the "final" result state in the LeaderboardJsonGetServlet to avoid getting results from live races
2013-04-12 18:02:20 +02:00
Axel Uhl
524b67dacd
Merge branch 'master' into winregatta_resultimport; needed to fix various line end style conflicts
...
Conflicts:
java/com.sap.sailing.freg.resultimport.test/src/com/sap/sailing/freg/resultimport/test/SimpleHtmlParsingTest.java
java/com.sap.sailing.freg.resultimport/META-INF/MANIFEST.MF
java/com.sap.sailing.freg.resultimport/src/com/sap/sailing/freg/resultimport/impl/FregHtmlParser.java
java/com.sap.sailing.freg.resultimport/src/com/sap/sailing/freg/resultimport/impl/ScoreCorrectionProviderImpl.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/ResultImportUrlsManagementPanel.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingServiceAsync.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.resultimport/src/com/sap/sailing/resultimport/CompetitorEntry.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/CompetitorRow.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/RegattaResults.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/UrlResultProvider.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/impl/CompetitorRowImpl.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/impl/DefaultCompetitorEntryImpl.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/impl/RegattaScoreCorrectionsImpl.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/impl/ScoreCorrectionForCompetitorInRaceImpl.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/impl/ScoreCorrectionForRaceImpl.java
java/com.sap.sailing.server/SailingServer (No Proxy, Jetty on 8889).launch
java/pom.xml
2013-04-12 16:09:54 +02:00
Axel Uhl
12cf3f532e
fixed how the boat class name is determined for a leaderboard in xcelsiusadapter, no longer requiring it to be a RegattaLeaderboard
2013-04-12 15:09:08 +02:00
Axel Uhl
8088f1c9fe
adjusted start script to use telnet port and nohup
2013-04-12 13:05:18 +02:00
Axel Uhl
b704a21b81
changed name for mark passings locks
2013-04-12 13:05:07 +02:00
fmittag
df1f18f3f7
updated the doc according to the replacement of "EVENT_NAME" with "REGATTA_NAME" for wind tracks
2013-04-12 12:02:22 +02:00
fmittag
79bad34b0a
Merge remote-tracking branch 'origin/gwt2.5.1'
2013-04-12 11:53:28 +02:00
fmittag
760524ee8f
Merge remote-tracking branch 'origin/master' into gwt2.5.1
2013-04-12 11:51:40 +02:00
fmittag
a815a91f37
upgraded gwt version from 2.5.0 to 2.5.1
2013-04-12 11:44:45 +02:00