/hg/release/icedtea-web-1.2: 4 new changesets
dbhole at icedtea.classpath.org
dbhole at icedtea.classpath.org
Mon Mar 5 12:07:26 PST 2012
changeset 89a1e512f12b in /hg/release/icedtea-web-1.2
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.2?cmd=changeset;node=89a1e512f12b
author: Deepak Bhole <dbhole at redhat.com>
date: Mon Mar 05 12:03:38 2012 -0500
Backout changeset 6b46e55a8854 that was causing regressions
changeset 58c02a3ace5d in /hg/release/icedtea-web-1.2
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.2?cmd=changeset;node=58c02a3ace5d
author: Deepak Bhole <dbhole at redhat.com>
date: Mon Mar 05 12:04:34 2012 -0500
Prepare for 1.2
changeset fd7bcee7c8e9 in /hg/release/icedtea-web-1.2
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.2?cmd=changeset;node=fd7bcee7c8e9
author: Deepak Bhole <dbhole at redhat.com>
date: Mon Mar 05 12:05:28 2012 -0500
Added tag icedtea-web-1.2 for changeset 58c02a3ace5d
changeset 55f1c09a5c5a in /hg/release/icedtea-web-1.2
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.2?cmd=changeset;node=55f1c09a5c5a
author: Deepak Bhole <dbhole at redhat.com>
date: Mon Mar 05 12:05:41 2012 -0500
Prepare for 1.2.1
diffstat:
.hgtags | 1 +
ChangeLog | 22 ++++
NEWS | 4 +-
configure.ac | 2 +-
netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java | 58 ++++------
5 files changed, 51 insertions(+), 36 deletions(-)
diffs (154 lines):
diff -r c93ef2cc3535 -r 55f1c09a5c5a .hgtags
--- a/.hgtags Wed Feb 29 13:56:57 2012 -0500
+++ b/.hgtags Mon Mar 05 12:05:41 2012 -0500
@@ -1,2 +1,3 @@
692d7e5b31039156aff1600fd7f5034fead2f258 icedtea-web-1.0-branchpoint
b605505179459c9f2119e4dfde999fc6300e4c87 icedtea-web-1.1-branchpoint
+58c02a3ace5dd11edc900d869b7c69186c54101d icedtea-web-1.2
diff -r c93ef2cc3535 -r 55f1c09a5c5a ChangeLog
--- a/ChangeLog Wed Feb 29 13:56:57 2012 -0500
+++ b/ChangeLog Mon Mar 05 12:05:41 2012 -0500
@@ -1,3 +1,25 @@
+2012-03-05 Deepak Bhole <dbhole at redhat.com>
+
+ * configure.ac: Prepare for 1.2.1
+ * NEWS: Same.
+
+2012-03-05 Deepak Bhole <dbhole at redhat.com>
+
+ * configure.ac: Prepare for 1.2
+ * NEWS: Same.
+
+2012-03-05 Deepak Bhole <dbhole at redhat.com>
+
+ Backout changeset 6b46e55a8854 that was causing regressions
+
+ 2011-06-10 Denis Lila <dlila at redhat.com>
+ * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
+ (frameMutex): New mutex to synchronize accesses to "frame".
+ (getListener): Make almost all of it synchronized on frameMutex.
+ (disposeListener): Sync hider's body around frameMutex and call
+ dispose on the frame so that the awt threads die when they should.
+ (addProgressPanel): Sync "frame" usage.
+
2012-02-29 Deepak Bhole <dbhole at redhat.com>
* netx/net/sourceforge/jnlp/security/CertificateUtils.java
diff -r c93ef2cc3535 -r 55f1c09a5c5a NEWS
--- a/NEWS Wed Feb 29 13:56:57 2012 -0500
+++ b/NEWS Mon Mar 05 12:05:41 2012 -0500
@@ -8,7 +8,9 @@
CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY
-New in release 1.2 (2011-XX-XX):
+New in release 1.2.1 (2012-XX-XX):
+
+New in release 1.2 (2012-03-05):
* Security updates:
- RH718164, CVE-2011-2513: Home directory path disclosure to untrusted applications
- RH718170, CVE-2011-2514: Java Web Start security warning dialog manipulation
diff -r c93ef2cc3535 -r 55f1c09a5c5a configure.ac
--- a/configure.ac Wed Feb 29 13:56:57 2012 -0500
+++ b/configure.ac Mon Mar 05 12:05:41 2012 -0500
@@ -1,4 +1,4 @@
-AC_INIT([icedtea-web],[1.2pre],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web])
+AC_INIT([icedtea-web],[1.2.1],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web])
AM_INIT_AUTOMAKE([1.9 tar-pax foreign])
AC_CONFIG_FILES([Makefile netx.manifest])
diff -r c93ef2cc3535 -r 55f1c09a5c5a netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java
--- a/netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java Wed Feb 29 13:56:57 2012 -0500
+++ b/netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java Mon Mar 05 12:05:41 2012 -0500
@@ -57,7 +57,6 @@
/** the display window */
private static JFrame frame;
- private static final Object frameMutex = new Object();
/** shared constraint */
static GridBagConstraints vertical;
@@ -98,32 +97,30 @@
public DownloadServiceListener getListener(ApplicationInstance app, String downloadName, URL resources[]) {
DownloadPanel result = new DownloadPanel(downloadName);
- synchronized (frameMutex) {
- if (frame == null) {
- frame = new JFrame(downloading + "...");
- frame.getContentPane().setLayout(new GridBagLayout());
- }
+ if (frame == null) {
+ frame = new JFrame(downloading + "...");
+ frame.getContentPane().setLayout(new GridBagLayout());
+ }
- if (resources != null)
- for (int i = 0; i < resources.length; i++)
- result.addProgressPanel(resources[i], null);
+ if (resources != null)
+ for (int i = 0; i < resources.length; i++)
+ result.addProgressPanel(resources[i], null);
- frame.getContentPane().add(result, vertical);
- frame.pack();
+ frame.getContentPane().add(result, vertical);
+ frame.pack();
- if (!frame.isVisible()) {
- Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
- Insets insets = Toolkit.getDefaultToolkit().getScreenInsets(frame.getGraphicsConfiguration());
- Dimension screen = new Dimension(screenSize.width - insets.left,
- screenSize.height - insets.top);
- frame.setLocation(screen.width - frame.getWidth(),
- screen.height - frame.getHeight());
- }
+ if (!frame.isVisible()) {
+ Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
+ Insets insets = Toolkit.getDefaultToolkit().getScreenInsets(frame.getGraphicsConfiguration());
+ Dimension screen = new Dimension(screenSize.width - insets.left,
+ screenSize.height - insets.top);
+ frame.setLocation(screen.width - frame.getWidth(),
+ screen.height - frame.getHeight());
+ }
- frame.setVisible(true);
+ frame.setVisible(true);
- return result;
- }
+ return result;
}
/**
@@ -137,16 +134,11 @@
ActionListener hider = new ActionListener() {
public void actionPerformed(ActionEvent evt) {
- synchronized(frameMutex) {
- frame.getContentPane().remove((DownloadPanel) listener);
- frame.pack();
+ if (frame.getContentPane().getComponentCount() == 1)
+ frame.setVisible(false);
- if (frame.getContentPane().getComponentCount() == 0) {
- frame.setVisible(false);
- frame.dispose();
- frame = null;
- }
- }
+ frame.getContentPane().remove((DownloadPanel) listener);
+ frame.pack();
}
};
@@ -194,9 +186,7 @@
ProgressPanel panel = new ProgressPanel(url, version);
add(panel, verticalIndent);
- synchronized (frameMutex) {
- frame.pack();
- }
+ frame.pack();
urls.add(url);
panels.add(panel);
More information about the distro-pkg-dev
mailing list