| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
OutOfBoundsException for a corrupted path entry thrown in
CacheUtil.pathToURLPath(). This Exception was catched in
RessourceTracker.Downloader.run() and only printed in debug mode.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The testDateRange* tests were rewritten so date wrapping is handled
correctly. Also fixes two bugs in pac-funcs.js (a missed return value
and using getYear instead of getFullYear).
2012-04-03 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/runtime/pac-funcs.js: Replace incorrect use of
getYear() with getFullYear().
(inYearMonthDateRange): Add missing conditional case.
* tests/netx/pac/pac-funcs-test.js
(runTest): New function.
(runTests): Call runTest.
(incDate): Deal with month/year wrapping around.
(decDate): Removed.
(testDateRange, testDateRange2, testDateRange3): Handle wrapping of month
and days.
|
| |
|
|
|
|
|
|
| |
JNLPMatcher was using PipedInputStream and PipedOutputStream without threads
which was deadlocking on large files. Use ByteArrayOutputStream instead to
avoid this.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-03-14 Omair Majid <[email protected]>
Print exceptions to terminal when running in gui mode too.
* netx/net/sourceforge/jnlp/AbstractLaunchHandler.java: New file.
* netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Extend
AbstractLaunchHandler.
(DefaultLaunchHandler): New method.
(printMessage): Moved to parent class.
* netx/net/sourceforge/jnlp/GuiLaunchHandler.java: Extend
AbstractLaunchHandler.
(GuiLauchHandler): New method.
(launchError): Print the error too.
(launchWarning,validationError): Call parent's printMessage.
* netx/net/sourceforge/jnlp/LaunchException.java: Use standard java
exception chaining. This removes compatibility with pre-java 1.3 class
libraries.
(LaunchException(JNLPFile,Exception,String,String,String,String)): Pass
cause to parent so exceptions are chanined properly.
(LaunchException(String,Throwable),LaunchException(Throwable)): Call
parent's constructor.
(printStackTrace(PrintStream),printStackTrace(PrintWriter),getCause):
Removed. Use parent's implementation instead.
(getCauses): Removed.
* netx/net/sourceforge/jnlp/LaunchHandler.java
(validationError): Rename argument to clarify meaing.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
(initialize): Redirect output of all handlers to System.err.
* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
(PluginAppletSecurityContext): Likewise.
* tests/netx/unit/net/sourceforge/jnlp/DefaultLaunchHandlerTest.java,
* tests/netx/unit/net/sourceforge/jnlp/LaunchExceptionTest.java: New
file. Contains tests.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Someone reported that the following JNLP was not starting:
http://findbugs.cs.umd.edu/cloud/eclipse.jnlp
The first problem was that icedtea-web was trying to ensure that all
jnlps, including extension jnlps have a main class. I wonder what other
applications were broken by this check. This patch modifies the check
to only check for main class when a main class is possible (applets and
applications).
The second second problem was that (in the extension jnlp file) the
jnlp element did not contain a codebase attribute. IcedTea-Web tried to
add this null codebase when merging the jnlp file, causing an exception.
The patch simply ignores this null.
2012-01-05 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(initializeResources): Only throw exceptions about the main class not
being found when the jnlp file can have a main class.
(addToCodeBaseLoader): Dont try to process null URLs.
|
| |
|
|
|
|
|
|
|
|
| |
2011-12-08 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/Launcher.java
(launchApplication): Print arguments being passed to the application's
main method in debug mode.
|
| |
|
|
|
|
| |
pac function
|
|\ |
|
| |
| |
| |
| | |
suffix domain SOP bypass
|
|/
|
|
|
|
|
|
|
|
| |
main jar
2011-10-31 Omair Majid <[email protected]>
* NEWS: Update.
* netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJars): Continue
with other jars if the first jar can't be used.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2011-09-29 Omair Majid <[email protected]>
* NEWS: Update.
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(getResource): Rename to ...
(findResource): New method.
(findResources): If resource can not be found, search in lazy resources.
(findResourcesBySearching): New method.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2011-09-28 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/AppletDesc.java (getMainClass): Clarify the
return value in javadoc.
* netx/net/sourceforge/jnlp/Launcher.java
(createApplet, createAppletObject): Do not replace '/' with '.'.
* netx/net/sourceforge/jnlp/PluginBridge.java (PluginBridge): Ensure that
the class name is in the dot-separated from.
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(checkForMain): Ensure that the name is an exact match.
|
|
|
|
| |
element in the manifest.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2011-09-26 Lars Herschke <[email protected]>
* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
CVExportPasswordMessage, CVImportPasswordMessage and
CVPasswordTitle.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize):
Initialize SSLContext with the user's client certificates.
* netx/net/sourceforge/jnlp/security/CertificateUtils.java
(addPKCS12ToKeyStore, addPKCS12ToKeyStore, dumpPKCS12): New methods.
* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
(getPasswords): New method.
(ImportButtonListener.actionPerformed): Import client certificates
in PKCS12 format.
(ExportButtonListener.actionPerformed): Export client certificates
in PKCS12 format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It turns out that TrustManager.checkTrusted() could be called by untrusted
code. In such a case, we should still show a warning to the user, and not
throw a SecurityException instead.
2011-09-23 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/security/SecurityDialogs.java
(showCertWarningDialog): Add a javadoc comment.
* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java
(askUser): Wrap the call to showCertWarningDialog in a doPrivileged
block.
|
|
|
|
|
|
|
|
|
|
| |
2011-09-22 Omair Majid <[email protected]>
PR788: Elluminate Live! is not working
* NEWS: Update.
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(checkForMain): If localFile is null (JAR couldn't be downloaded), try to
continue, rather than allowing the exception to cause an abort.
|
|
|
|
|
|
|
|
| |
2011-09-21 Omair Majid <[email protected]>
PR766: javaws fails to parse an <argument> node that contains CDATA
* netx/net/sourceforge/nanoxml/XMLElement.java
(sanitizeInput): Do not remove CDATA sections along with comments.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Based on patch from Lukas Zachar <lzachar at redhat dot com>
2011-08-29 Deepak Bhole <[email protected]>
* netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java
(find): Only process Profile sections. Do not throw an exception if a
Default= line is not found since it is not guaranteed to exist.
|
| |
|
|
|
|
| |
signed JNLP warning is displayed if appropriate.
|
| |
|
|
|
|
| |
untrusted.
|
|\ |
|
| | |
|
|/
|
|
| |
signature and stops the launch of application
|
| |
|
| |
|
| |
|
|
|
|
| |
applications
|
|
|
|
| |
launching JNLP file (with test case and its resources)
|
| |
|
| |
|