aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp
Commit message (Collapse)AuthorAgeFilesLines
* Clean up NP_Initialize; add more C++ unit testsAdam Domurad2012-12-211-92/+33
|
* Fix 2 memory leaks, pass corresponding C++ unit testsAdam Domurad2012-12-201-2/+2
|
* Added jacoco code coverage supportJiri Vanek2012-12-111-31/+24
| | | | | | | Note - in time of this commit one needs custom build of jacoco containing the xboot.patch form approving discussion: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121127/ba8f6a1e/xboot-0001.patch The tracking of upstraming can be found on jacoco page.
* Remove left-in System.outAdam Domurad2012-12-111-1/+0
|
* PR1217: Add command line arguments for pluginsSaad Mohammad2012-12-053-42/+120
|
* PluginAppletViewer refactoringAdam Domurad2012-12-042-245/+317
|
* Remove redundant HTML-tag scanner from ITW. Do not reconstruct tags.Adam Domurad2012-12-044-678/+171
|
* Refactor IcedTeaPluginUtilities::javaResultToNPVariant into multiple functionsAdam Domurad2012-11-302-89/+122
|
* 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
* Unit test integration for UnitTest++ with icedtea-webAdam Domurad2012-11-212-2/+4
|
* Free two memory leaksAdam Domurad2012-11-211-5/+5
|
* Splashscreen integrated to javaws and pluginJiri Vanek2012-11-021-16/+165
|
* Fix two typos.martin2012-10-022-2/+2
|
* 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-173-1/+77
|
* Refactor consume_message with helper consume_plugin_messageAdam Domurad2012-08-091-59/+64
|
* Export only a minimum of symbols. This should fix PR472.Thomas Meyer2012-08-071-0/+4
|
* Fixes PR1106, buffer overflow in plugin tableAdam Domurad2012-08-071-1/+6
|
* CVE-2012-3422, RH840592: Potential read from an uninitialized memory locationDeepak Bhole2012-07-241-0/+10
| | | | Updated NEWS file with entry for CVE-2012-3423
* Small correction in strSplitAdam Domurad2012-07-241-1/+1
|
* Fix possible endless loop while waiting for the applet object instance to ↵Thomas Meyer2012-07-191-1/+10
| | | | get create get created
* Small fixes to C++ side of plugin, submitted by Martin Olsson.Adam Domurad2012-07-093-9/+10
| | | | Also fixed a space in my last ChangeLog.
* Small comment cleanup to classes with missing or wrong descriptions.Adam Domurad2012-06-255-6/+7
|
* Allow passing of plugin tables and browser tables in NP_Initialize thatAdam Domurad2012-06-251-91/+96
| | | | are not the expected length but still large enough for our purposes.
* Fixed two memory leaks in C++ side of pluginAdam Domurad2012-06-152-8/+7
|
* Fixed PR855: AppletStub getDocumentBase() doesn't return full URLDanesh Dadachanji2012-06-141-14/+1
|
* 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.
* Fixing build for real, sorry for the noise.Adam Domurad2012-06-041-1/+1
| | | | For old versions of mozilla, there was a spurious ( in NPVariantAsString.
* Fix build for older versions of mozilla. (Typo in untested #ifdef)Adam Domurad2012-06-041-1/+1
|
* Fix for PR518, adds utility function for wrapping NPStringAdam Domurad2012-06-044-56/+43
| | | | in std::string.
* Fixed PR863: Error passing strings to applet methods in ChromiumDeepak Bhole2012-06-014-12/+20
|
* Changed for-loops over iterators and indices to for-each loops if theyAdam Domurad2012-05-254-21/+20
| | | | were sufficient and clearer.
* Introduced constant NUM_STR_BUFFER_SIZE to replace magic constants.Adam Domurad2012-05-253-58/+58
| | | | Clarified some uses of snprintf.
* Removed residual free(str) on stack variable.Adam Domurad2012-05-241-1/+0
|
* Reapplied the patches, sorry for the mess!Adam Domurad2012-05-241-2/+2
|
* Backed out changeset 43a78616b1ddAdam Domurad2012-05-241-2/+2
|
* fixing conflict in ChangeLogAdam Domurad2012-05-241-2/+2
|\
| * Added Martin Olsson's typo fixAdam Domurad2012-05-241-2/+2
| |
* | Use g_mutex_free instead of g_free to free appletviewer_mutex (fixesDeepak Bhole2012-05-231-2/+2
|/ | | | | | crash). Patch from Martin Olsson.
* Changed usage of sprintf to snprintf. Made some small malloc'd buffers on ↵Adam Domurad2012-05-222-29/+31
| | | | | | the stack. These changes are unlikely to change functionality, for if the buffer is too small to write to, something has already gone wrong. However, they are good as an additional safety guarantee, preventing memory from corruption in the case that something goes wrong.
* 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.
* Return 0 id to Java side if call/eval fail.Deepak Bhole2012-02-281-3/+9
|
* Define mime descriptions for 1.7, when built with Java7doko2012-02-271-2/+16
| | | | | | | | | 2012-02-27 Matthias Klose <[email protected]> * acinclude.m4 (IT_FIND_JAVA): Set VERSION_DEFS. * Makefile.am ($(PLUGIN_DIR)/%.o): Pass $(VERSION_DEFS) * IcedTeaNPPlugin.cc (PLUGIN_MIME_DESC): Define in terms of HAVE_JAVA7.
* PR820: IcedTea-Web 1.1.3 crashing Firefox when loading Citrix XenAppDeepak Bhole2012-02-272-64/+84
| | | | Patch from Thomas Meyer (primary) and Deepak Bhole
* PR852: Classloader not being flushed after last applet from a site is closedDeepak Bhole2012-01-271-0/+3
|
* PR838: IcedTea plugin crashes with chrome browser when javascript is executedicedtea-web-1.2-branchpointDeepak Bhole2012-01-091-1/+7
|
* Use correct response parameter when returning array member vs member itselfDeepak Bhole2011-12-221-3/+3
| | | | Patch from Thomas Meyer <[email protected]>