JAL-3328 JAL-3300 changed invokeLaters to invokeAndWaits for more visible progress
authorBen Soares <bsoares@dundee.ac.uk>
Fri, 21 Jun 2019 16:15:19 +0000 (17:15 +0100)
committerBen Soares <bsoares@dundee.ac.uk>
Fri, 21 Jun 2019 16:15:19 +0000 (17:15 +0100)
getdown/lib/getdown-core.jar
getdown/lib/getdown-launcher.jar
getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/Getdown.java
getdown/src/getdown/mvn_cmd
j11lib/getdown-core.jar
j8lib/getdown-core.jar

index dedf216..a6aa23d 100644 (file)
Binary files a/getdown/lib/getdown-core.jar and b/getdown/lib/getdown-core.jar differ
index abab590..2a34fe9 100644 (file)
Binary files a/getdown/lib/getdown-launcher.jar and b/getdown/lib/getdown-launcher.jar differ
index fc3cfbd..e1ef2eb 100644 (file)
@@ -771,6 +771,10 @@ public abstract class Getdown extends Thread
         EventQueue.invokeLater(new Runnable() {
             public void run () {
 */
+        try {
+        EventQueue.invokeAndWait(new Runnable() {
+            public void run () {
+               
                 if (_container == null || reinit) {
                     if (_container == null) {
                         _container = createContainer();
@@ -831,14 +835,16 @@ public abstract class Getdown extends Thread
                     _patchNotes.setFont(StatusPanel.FONT);
                     _layers.add(_patchNotes);
                     _status = new StatusPanel(_msgs);
+                                       //setStatusAsync("test", stepToGlobalPercent(1), -1L, false);
                     _layers.add(_status, Integer.valueOf(10));
                     initInterface();
                 }
                 showContainer();
-/*
             }
         });
-*/
+        } catch (Exception e) {
+               e.printStackTrace();
+        }
     }
 
     /**
@@ -956,9 +962,15 @@ public abstract class Getdown extends Thread
             createInterfaceAsync(false);
         }
 
+/*
         EventQueue.invokeLater(new Runnable() {
             public void run () {
-                if (_status == null) {
+*/
+        try {
+        EventQueue.invokeAndWait(new Runnable() {
+            public void run () {
+
+               if (_status == null) {
                     if (message != null) {
                         log.info("Dropping status '" + message + "'.");
                     }
@@ -974,6 +986,9 @@ public abstract class Getdown extends Thread
                 }
             }
         });
+        } catch (Exception e) {
+               e.printStackTrace();
+        }
     }
 
     protected void reportTrackingEvent (String event, int progress)
index 2e80990..bf2db45 100755 (executable)
@@ -1,6 +1,10 @@
 #!/usr/bin/env bash
 
-export VERSION=1.8.3-1.0_JVL
+if [ x$JVLVERSION != x ]; then
+  export VERSION=$JVLVERSION
+else
+  export VERSION=1.8.3-1.0_JVL
+fi
 
 if [ x${VERSION%_JVL} = x$VERSION ]; then
   VERSION=${VERSION}_JVL
index dedf216..a6aa23d 100644 (file)
Binary files a/j11lib/getdown-core.jar and b/j11lib/getdown-core.jar differ
index dedf216..a6aa23d 100644 (file)
Binary files a/j8lib/getdown-core.jar and b/j8lib/getdown-core.jar differ