aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp
Commit message (Collapse)AuthorAgeFilesLines
* Fix problem in resolving classesOmair Majid2012-06-281-2/+14
| | | | | | | | | | | | | | | | | The bug manifests when the following sequence of steps happen: 1. An applet with both a codebase and a jar (archive) is loaded 2. A class Foo is loaded using the codebase classloader 3. The Foo class tries to load a class Bar that is specified in the jar archive. The Bar class is not found. The following applet reproduces the problem: http://javadjvu.foxtrottechnologies.com/cgi-bin/djvuapplet.pl/examples/deer.djvu?zoom=page The fix addresses the problem by ensuring that the codebase classloader asks the classloader that knows about the jar archive to resolve classes too.
* Fixes PR1011 w/ reproducer, folders now allowed in archive tag.Adam Domurad2012-06-282-25/+60
| | | | | Previously folders in the archive tag were treated as jars. They are now correctly treated as resource folders.
* Last hope for not downloaded resources to be verifiedJiri Vanek2012-06-261-1/+20
|
* Small comment cleanup to classes with missing or wrong descriptions.Adam Domurad2012-06-251-0/+4
|
* Refactored two loops to for-each loops in JCVAdam Domurad2012-06-191-9/+3
|
* Fixes PR722: Now ignores unsigned content in META-INF/ during signing processAdam Domurad2012-06-121-20/+6
|
* Fixed bug in previous commit for PR861Deepak Bhole2012-06-071-4/+6
|
* PR861: Allow loading from non codebase hosts. Allow code to connect to ↵Deepak Bhole2012-06-052-17/+134
| | | | hosting server
* isDateInRange renamed to isDateInRange_internallForIcedTeaWebTestingJiri Vanek2012-06-051-8/+8
|
* Handle absolute paths passed into jnlp_href's value.Danesh Dadachanji2012-06-042-5/+52
|
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (getPermissions): ↵Jiri Vanek2012-05-291-14/+18
| | | | New rethrow of exceptions and following condition make more accurate
* Changed for-loops over iterators and indices to for-each loops if theyAdam Domurad2012-05-259-59/+56
| | | | were sufficient and clearer.
* 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.