aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp/java
Commit message (Collapse)AuthorAgeFilesLines
* Move some proxy logic to BrowserAwareProxySelectorOmair Majid2013-10-092-31/+39
| | | | | | The logic for mangling URIs to be compatible with the browser seems more appropriate to keep in the ProxySelector rather than the catch-all PluginAppletViewer.
* Add unit tests for PluginProxySelectorOmair Majid2013-10-011-1/+6
| | | | | | There are no functional changes to PluginProxySelector itself. Refactor minimial code to make it possible to unit test. Mark suspicious behaviour with a FIXME or TODO.
* Fix for PR1204, handling of query strings and absolute paths.Andrew Azores2013-09-261-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | Absolute paths in resource URLs are correctly handled when appended to host URLs and URL query strings are not removed. * netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java: (getVersionedUrlUsingQuery) renamed to getVersionedUrl, refactored construction of URL * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: (requestPluginProxyInfo) extracted proxy URI logic. (processProxyUri) new method for finding proxy URIs, handles absolute resource paths correctly * tests/netx/unit/net/sourceforge/jnlp/cache/ResourceUrlCreatorTest.java: added tests for ResourceUrlCreator#getVersionedUrl * tests/netx/unit/sun/applet/PluginAppletViewerTest.java: added tests for PluginAppletViewer.processProxyUri * tests/reproducers/simple/AbsolutePathsAndQueryStrings/resources/AbsolutePathsAndQueryStrings.html: new reproducer checks that absolute paths and query strings in resource URLs are properly handled, and caching still works * tests/reproducers/simple/AbsolutePathsAndQueryStrings/resources/AbsolutePathsAndQueryStrings.jnlp: same * tests/reproducers/simple/AbsolutePathsAndQueryStrings/testcases/AbsolutePathsAndQueryStrings.java: same
* Introduced logging bottleneckJiri Vanek2013-09-2513-70/+82
|
* Unit tests for JNLPProxySelectorOmair Majid2013-09-232-1/+6
| | | | | | | | | | This contains one functional change: - String host = uri.getSchemeSpecificPart().split(":")[0]; + String host = uri.getHost(); Given the URI of "socket://example.org", the first line evaluates to "//example.org", while the second one (correctly) evaluates to "example.org".
* Fix PR1271: icedtea-web does not handle javascript:-protocol URLsAdam Domurad2013-08-192-6/+33
|
* IcedTea-Web is now following XDG .config and .cache specification(RH947647)Jiri Vanek2013-07-181-1/+1
|
* Fix potential NPE on GetValue messageAdam Domurad2013-06-281-1/+2
|
* Made it work with OpenJDK build 25 by creating application as soon as possibleJiri Vanek2013-06-201-0/+5
|
* Silenced deployment.properties and zero size applet exceptions with testsJiri Vanek2013-06-061-1/+3
|
* Handle resizing plugin message more robustly by not blocking worker threadAdam Domurad2013-06-031-37/+46
|
* Fixed possible deadlock for applet->js->applet call with testcaseJiri Vanek2013-05-201-12/+23
|
* Fix PR854: Resizing an applet several times causes 100% CPU loadAdam Domurad2013-05-171-12/+1
|
* Ensure that PluginAppletViewer is resized in case of error.Adam Domurad2013-05-022-37/+32
|
* MethodOverloadResolve array casting testsAdam Domurad2013-05-021-0/+4
|
* Remove incorrect undummied code in MethodOverloadResolverAdam Domurad2013-05-021-12/+3
|
* Fix a dead-lock bug that can cause Firefox to hang.Adam Domurad2013-04-251-26/+4
|
* Tests & test extensions for mocking the plugin input & output pipes.Adam Domurad2013-04-251-2/+1
|
* Remove unnecessary line that can result in NPEAdam Domurad2013-04-241-2/+0
|
* Ensure document-base is properly encodedAdam Domurad2013-04-231-2/+1
|
* Clean-up of dead & outdated parts of NetxPanelAdam Domurad2013-04-231-1/+1
|
* Rewrite of MethodOverloadResolverAdam Domurad2013-04-232-602/+373
|
* Don't interrupt message handling threadsAdam Domurad2013-03-282-23/+37
|
* Integration of unsigned applet confirmation dialogue.Adam Domurad2013-03-261-1/+12
|
* Revert behaviour of PluginParameterParser#isInt to fail on overflowAdam Domurad2013-03-221-1/+6
|
* Only destroy full initialized appletsAdam Domurad2013-02-071-0/+4
|
* Provide names for unnamed threads for better debuggingAdam Domurad2013-02-063-3/+8
|
* Unit tests for PR1198: JSObject not passed correctly to JavascriptAdam Domurad2013-01-151-9/+18
|
* Fix for PR1198: JSObject passed incorrectly to JavascriptAdam Domurad2013-01-155-169/+168
|
* Minor code formatting & cosmetic changesAdam Domurad2013-01-042-10/+14
|
* Remove left-in System.outAdam Domurad2012-12-111-1/+0
|
* PluginAppletViewer refactoringAdam Domurad2012-12-042-245/+317
|
* Remove redundant HTML-tag scanner from ITW. Do not reconstruct tags.Adam Domurad2012-12-042-505/+119
|
* Better error reporting from appletsJiri Vanek2012-11-271-2/+5
| | | | | * netx/net/sourceforge/jnlp/NetxPanel.java: (init) ErrorSplash is shown if fatal exception is cough
* Splashscreen integrated to javaws and pluginJiri Vanek2012-11-021-16/+165
|
* Fix a small bug in the contain() methodThomas Meyer2012-08-191-9/+11
|
* Fixes PR588, Icedtea-web now saves cookies set in java cookie jarAdam Domurad2012-08-172-1/+32
|
* Fix possible endless loop while waiting for the applet object instance to ↵Thomas Meyer2012-07-191-1/+10
| | | | get create get created
* Small comment cleanup to classes with missing or wrong descriptions.Adam Domurad2012-06-255-6/+7
|
* Added patch so that applet-tags take last param.Adam Domurad2012-06-041-3/+0
| | | | | Our plugin had previously took the first param, except for a few special param's like archive. With this patch the last param is taken consistently.
* Changed for-loops over iterators and indices to for-each loops if theyAdam Domurad2012-05-254-21/+20
| | | | were sufficient and clearer.
* Removal of synchronization on Boolean in PluginStreamHandler.Adam Domurad2012-05-181-8/+4
| | | | | | Synchronization on Boolean is dangerous and was unnecessary in this context. As well, the Boolean flag that was being used during shut down was changed to a volatile boolean so changes could be seen without synchronization.
* Went through the source of IcedTeaWeb with FindBugs and went over all ↵Adam Domurad2012-05-172-6/+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.
* PR918: java applet windows uses a low resulution black/white iconOmair Majid2012-04-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Launch errors are not being printed to terminalOmair Majid2012-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* PR852: Classloader not being flushed after last applet from a site is closedDeepak Bhole2012-01-271-0/+3
|
* Fix RH718693: MindTerm SSH Applet doesn't workDeepak Bhole2011-08-241-0/+75
| | | | | | | | 2011-08-24 Deepak Bhole <[email protected]> RH718693: MindTerm SSH Applet doesn't work * plugin/icedteanp/java/netscape/security/PrivilegeManager.java: New file. Stub class, not needed with IcedTea-Web.
* PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slowDeepak Bhole2011-07-211-19/+59
| | | | Original patch from: Ricardo Martín Camarero <rickyepoderi at yahoo dot es>
* PR735: Firefox 4 sometimes freezes if the applet calls showDocument()Deepak Bhole2011-05-271-2/+2
|
* Call dispose() from swing thread when applet is closed.Deepak Bhole2011-05-271-3/+8
| | | | Do not stop applet threadgroup on exit.