aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net
Commit message (Collapse)AuthorAgeFilesLines
* netx/net/sourceforge/jnlp/resources/Messages.properties: fixed error in ↵Jiri Vanek2012-05-231-4/+4
| | | | PBadNonrelativeUrl
* Added more debugging outputs (especially paths to keystores) for ↵Jiri Vanek2012-05-234-3/+26
| | | | JNLPClassLoader and CertificateUtils
* * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (getPermissions):Jiri Vanek2012-05-231-29/+51
| | | | | | | Any exception from this method is consumed somewhere. I have cough exception, reprint it in debug mode and re-throw (to be lost). Main condition in this method had several possible NullPointer exceptions. Separated and thrown before this condition.
* Fixed output to be printed just in case of debug modeJiri Vanek2012-05-211-1/+3
|
* Fixed behavior when encoded/characters needed encoding included in url (PR811)Jiri Vanek2012-05-182-11/+155
|
* More tests for Spaces and characters in urlsJiri Vanek2012-05-182-4/+4
|
* Went through the source of IcedTeaWeb with FindBugs and went over all ↵Adam Domurad2012-05-173-5/+6
| | | | reported cases of == being used to compare String's. Some usage cases were valid (eg, .equals eventually called, magic String value). I noted one such usage case. The others were changed to .equals calls.
* Reduce no. of loads of the cache index fileThomas Meyer2012-05-113-25/+49
|
* PR918: java applet windows uses a low resulution black/white iconOmair Majid2012-04-1911-46/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-04-19 Omair Majid <[email protected]> * NEWS: Update with fix. * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove windowIcon. (initialize): Do not call loadWindowIcon. (getWindowIcon): Remove. (setWindowIcon): Remove. (loadWindowIcon): Remove. * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java (checkTopLevelWindow): Do not set the icon for all top level windows. Use the default java icon instead. * netx/net/sourceforge/jnlp/util/ImageResources.java: New file. Provides access to icons. * netx/net/sourceforge/jnlp/JNLPSplashScreen.java (JNLPSplashScreen), * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java (getListener), * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java (AdvancedProxySettingsDialog), * netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java (CacheViewer), * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java (ControlPanel), * netx/net/sourceforge/jnlp/security/SecurityDialog.java (SecurityDialog), * netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java (CertificateViewer), * netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java (show), * plugin/icedteanp/java/sun/applet/JavaConsole.java (initialize): Explicitly load icons. * tests/netx/unit/net/sourceforge/jnlp/util/ImageResourcesTest.java: Test for ImageResources class.
* Validate the recently_used file at every load. This will fix the StringIndex-Thomas Meyer2012-04-103-104/+115
| | | | | | OutOfBoundsException for a corrupted path entry thrown in CacheUtil.pathToURLPath(). This Exception was catched in RessourceTracker.Downloader.run() and only printed in debug mode.
* Rename JarSigner to JarCertVerifier.Danesh Dadachanji2012-04-058-49/+49
|
* Fix pac testsOmair Majid2012-04-031-15/+20
| | | | | | | | | | | | | | | | | | | 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.
* Fixed check for a certificate whose start date has not yet been reached.Danesh Dadachanji2012-04-021-0/+6
|
* PR898: signed applications with big jnlp-file doesn't startOmair Majid2012-03-221-15/+10
| | | | | | JNLPMatcher was using PipedInputStream and PipedOutputStream without threads which was deadlocking on large files. Use ByteArrayOutputStream instead to avoid this.
* Fix JNLP parser to halt when required title and vendor elements are missing.Danesh Dadachanji2012-03-162-0/+7
|
* PR895: IcedTea-Web searches for missing classes on each loadClass or findClassDeepak Bhole2012-03-141-4/+46
|
* Launch errors are not being printed to terminalOmair Majid2012-03-146-112/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Change CertificateUtils.inKeyStores() to only check for certificate equalityDeepak Bhole2012-02-291-21/+6
|
* Added check for main class in jar manifest(s)Deepak Bhole2012-02-281-0/+57
|
* Add ability to check for use of jnlp_href outside of PluginBridge.Danesh Dadachanji2012-02-221-0/+7
|
* Fix regression in broken AppletTest.Danesh Dadachanji2012-02-132-0/+21
|
* Fix LaunchException constructor to handle null a description.Danesh Dadachanji2012-02-021-1/+2
|
* Use description parameter when creating a LaunchException.Danesh Dadachanji2012-02-011-1/+1
|
* fixed LRU cache behaviour in case of failure. Tests added.Jiri Vanek2012-02-015-134/+229
|
* PR852: Classloader not being flushed after last applet from a site is closedDeepak Bhole2012-01-271-1/+47
|
* Plugin does not make JNLP's <information> available when using jnlp_href.Danesh Dadachanji2012-01-243-10/+8
|
* fix findbugs cloud jnlpsOmair Majid2012-01-061-5/+11
| | | | | | | | | | | | | | | | | | | | | | | 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.
* BasicService code does not work when placed in the applet constructor.Danesh Dadachanji2011-12-192-6/+21
|
* Print the arguments passed to the application's main methodOmair Majid2011-12-081-0/+5
| | | | | | | | 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.
* Change icon for AccessWarningPane dialogsDanesh Dadachanji2011-12-051-1/+1
|
* Enabled testWeekdayRange, added tests for star/end of months for dateRange ↵Jiri Vanek2011-11-101-26/+39
| | | | pac function
* mergeDeepak Bhole2011-11-081-69/+1
|\
| * RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and ↵Deepak Bhole2011-10-281-69/+1
| | | | | | | | suffix domain SOP bypass
* | PR808: javaws is unable to start when missing jars are enumerated before ↵Omair Majid2011-10-311-1/+1
|/ | | | | | | | | | 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.
* PR778: Jar download and server certificate verification deadlockDeepak Bhole2011-10-271-9/+30
|
* sun.misc.BASE64Encoder replaced by internal implementationJiri Vanek2011-10-173-1/+465
|
* PR618: Can't install OpenDJ, JavaWebStart fails with Input stream is null error.Omair Majid2011-09-291-10/+43
| | | | | | | | | | | 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.
* Make getMainClass()'s return value consistent for AppletDesc and ApplicationDescOmair Majid2011-09-284-13/+6
| | | | | | | | | | | | | 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.
* PR794: IcedTea-Web does not work if a Web Start app jar has a Class-PathDeepak Bhole2011-09-282-7/+91
| | | | element in the manifest.
* Add support for client authentication certificatesLars Herschke2011-09-264-5/+91
| | | | | | | | | | | | | | | | | | 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.
* RH738814: Access denied at ssl handshakeOmair Majid2011-09-232-5/+15
| | | | | | | | | | | | | | 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.
* PR788: Elluminate Live! is not workingOmair Majid2011-09-221-3/+4
| | | | | | | | | | 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.
* PR766 javaws fails to parse an <argument> node that contains CDATAOmair Majid2011-09-211-5/+29
| | | | | | | | 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.
* added XrustAll optionJiri Vanek2011-09-224-0/+22
|
* RH734081: Javaws cannot use proxy settings from FirefoxDeepak Bhole2011-08-291-2/+2
| | | | | | | | | | 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.
* Fix PR769: IcedTea-Web does not work with some ssl sites with OpenJDK7Deepak Bhole2011-08-231-8/+12
|
* Checks and verifies a signed JNLP file at the launch of the application. A ↵Saad Mohammad2011-08-226-5/+346
| | | | signed JNLP warning is displayed if appropriate.
* Update UI for SecurityDialog.Danesh Dadachanji2011-08-173-5/+16
|
* PR742: IcedTea-Web checks certs only upto 1 level deep before declaring them ↵Danesh Dadachanji2011-08-111-1/+7
| | | | untrusted.
* MergeDeepak Bhole2011-08-091-5/+34
|\