2014-11-25 Jiri Vanek <jvanek@redhat.com>
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-June/028399.html (long thread)
* netx/net/sourceforge/jnlp/Launcher.java: using PropertyDesc.fromString to
add resources.
* netx/net/sourceforge/jnlp/PropertyDesc.java: New method fromString to handle
parsing
* netx/net/sourceforge/jnlp/runtime/Boot.java: is now merging the properties
to main configuration.
* tests/netx/unit/net/sourceforge/jnlp/PropertyDescTest.java: new file. Added
tests for fromString.
2014-11-25 Jiri Vanek <jvanek@redhat.com>
* netx/net/sourceforge/jnlp/Launcher.java: (fromUrl) file from href get
substituted codebase from previous one if it is missing in new one.
2014-11-25 Jie Kang <jkang@redhat.com>
Fixed newly failing unit test: JavaConsoleTest:CreatePluginHeaderTestNotOK
* tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java
(CreatePluginHeaderTestNotOK): Added a new failing string
(CreatePluginHeaderTestOK): Old string from NotOk moved to this test
2014-11-20 Jiri Vanek <jvanek@redhat.com>
Pre-release tuning
* Makefile.am: (netx-html-gen.stamp) set number of changests to 22 (since 1.5.1)
* NEWS: date of 1.5.2 set to 2014-11-26, added few lines.
* configure.ac: (AC_INIT) set to use 1.5.2
2014-11-19 Jiri Vanek <jvanek@redhat.com>
Logging jnlp file into console
* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java: is
now html-like escaping lesser then and greater then chars
* netx/net/sourceforge/nanoxml/XMLElement.java: instead of reprinting jnlp
file to stdout, the line is gathered and logged via standard logger
2014-11-19 Jie Kang <jkang@redhat.com>
Fixed PluginMessage dates to use localized date from icedteanp-side.
See PR2063
* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java:
Sort-by-date compares using timestamp
* netx/net/sourceforge/jnlp/util/logging/headers/Header.java:
'date' is a string for the localized date and 'timestamp' is a Date
for sort-by-date comparison
* netx/net/sourceforge/jnlp/util/logging/headers/PluginHeader.java:
no longer has timestamp field, uses Header's timestamp field
* netx/net/sourceforge/jnlp/util/logging/headers/PluginMessage.java:
'date' acquired directly from icedteanp-side (strftime) without formatting
2014-11-14 Jiri Vanek <jvanek@redhat.com>
Making loading of PAC provider more lenient
* netx/net/sourceforge/jnlp/runtime/PacEvaluatorFactory.java: (getPacEvaluator)
changed general Exception (instead IOException only) is catch.
2014-11-10 Jiri Vanek <jvanek@redhat.com>
Added CZ and DE translation for CertWarningDialog messages
* netx/net/sourceforge/jnlp/resources/Messages_cs.properties
* netx/net/sourceforge/jnlp/resources/Messages_de.properties
(CertWarnHTTPSAcceptTip, CertWarnHTTPSRejectTip): added
2014-11-05 Lukasz Dracz <ldracz@redhat.com>
Added PL translation for CertWarningDialog messages
* netx/net/sourceforge/jnlp/resources/Messages_pl.properties
(CertWarnHTTPSAcceptTip, CertWarnHTTPSRejectTip): added
2014-11-05 Andrew Azores <aazores@redhat.com>
* netx/net/sourceforge/jnlp/resources/Messages.properties
(CertWarnHTTPSAcceptTip, CertWarnHTTPSRejectTip): new messages more
applicable for HTTPS cert warning dialogs
* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java:
distinguish between HTTPS cert warnings and signed applet cert warnings.
Display appropriate text labels and buttons corresponding to either case.
* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissionsButton.java:
If any of file, securityDelegate, or linkedButton are null, simply
disable this component and do not add component listeners dependent upon
these fields. Also, do not add multiple groups of permissions, and do not
add the permissions to the securityDelegate until the linkedButton is
actually clicked (rather than when the menu item is clicked)
2014-10-21 Jiri Vanek <jvanek@redhat.com>
Fixed case when already decoded file is wonted from cache (RH1154177)
* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: (getCacheFile) if
all previous attempts to get cached file, plain url.getPath is tried.
2014-10-17 Jiri Vanek <jvanek@redhat.com>
Fixed jdk8 javadoc generation error
* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: invalid link
#allCommands replaced by plain optionsDefinitions.getItwsettingsCommands
2014-10-13 Fridrich Strba <fridrich.strba@suse.com>
Removed all references to deprecated sun.misc.Ref
* configure.ac: removed check for a sun.misc.Ref
* netx/net/sourceforge/jnlp/util/ui/NonEditableTableModel.java: all occurrences
of Vector<?> replaced by Vector. JDK9 compliant style.
* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: (getCachedImageRef)
type of return value changed from Ref to AppletImageRef. Adapted imports.
2014-10-09 Jiri Vanek <jvanek@redhat.com>
Empty "" codebase now behaves as "." codebase
* file netx/net/sourceforge/jnlp/Parser.java: introduced CODEBASE constant
to avoid duplicated String getAttribute split to getCleanAttribute, which
get the pure attribute, and remaining getAttribute keep adding null in case
of empty
* file netx/net/sourceforge/jnlp/security/SecurityDialogs.java: added
workaround about possible null codebase
* file tests/netx/unit/net/sourceforge/jnlp/ParserTest.java: added test for
empty codebase
2014-09-02 Jie Kang <jkang@redhat.com>
Fixed CacheUtils clearCache method to also clear the Least Recently Used
entries.
* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
2014-10-31 Jiri Vanek <jvanek@redhat.com>
* tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java
fixing typo Levgl->Level
2014-10-21 Jiri Vanek <jvanek@redhat.com>
Unittests coverage adapted to latest jacoco
* Makefile.am: (JACOCO_AGENT_SWITCH) is now using both JACOCO_ADVANCED_EXCLUDE)
and inclbootstrapclasses=true too. (JACOCO_AGENT_JAVAWS_SWITCH) and
(JACOCO_AGENT_PLUGIN_SWITCH) are using JACOCO_AGENT_SWITCH instead of copypasting
values.
2014-10-20 Jiri Vanek <jvanek@redhat.com>
Added support for chromium binary (along with older chromium-browser one)
* tests/test-extensions/net/sourceforge/jnlp/browsertesting/Browsers.java:
(static) check if legacy chromium-browser do exists. If so use it, otherwise
use newer chromium only
2014-10-17 Jiri Vanek <jvanek@redhat.com>
Jacoco boot class loading moved from custom built to upstreamed form
* Makefile.am: (JACOCO_AGENT_JAVAWS_SWITCH) and (JACOCO_AGENT_PLUGIN_SWITCH)
moved from xboot=true to inclbootstrapclasses=true which is now supported
by upstream.
2014-09-22 Jiri Vanek <jvanek@redhat.com>
Preventing rare class cast exception in erroneous detached applets
* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java: getSplashControler
renamed to getSplashController. (getSplashController) added check for
SplashController instance. Returning null if not so.
* netx/net/sourceforge/jnlp/splashscreen/SplashUtils.java: adapted to renaming
* tests/netx/unit/net/sourceforge/jnlp/splashscreen/SplashUtilsTest.java:
added (assertNulsAreOkInShow) test to check null values for showError methods
2014-09-21 Andrew Azores <aazores@redhat.com>
* netx/javaws.1: Fixed typos, made formatting more consistent, and added
missing documentation for -Xoffline switch.