aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
...
* 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]>
* RH586194: Unable to connect to connect with Juniper VPN clientDeepak Bhole2011-12-211-46/+5
| | | | | | | | Patch from Thomas Meyer <[email protected]> * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc(sendMember): Use createJavaObjectFromVariant to create the resulting object on Java side, rather than always creating a JSObject.
* Made compatible with both versions of xulrunnerJiri Vanek2011-12-211-1/+5
|
* Fixed function name in comment for sendMember.Deepak Bhole2011-12-161-1/+1
| | | | Patch from Thomas Meyer <[email protected]>
* made compatible with rhel5 librariesJiri Vanek2011-09-011-12/+41
|
* 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>
* Fix PR721: IcedTeaPlugin.so cannot run g_main_context_iteration on a ↵Deepak Bhole2011-06-088-106/+209
| | | | different thread unless a different GMainContext *context is used
* PR735: Firefox 4 sometimes freezes if the applet calls showDocument()Deepak Bhole2011-05-274-24/+79
|
* Call dispose() from swing thread when applet is closed.Deepak Bhole2011-05-271-3/+8
| | | | Do not stop applet threadgroup on exit.
* Backed out 0256de6a4bf6 as it is prone to race conditions.Deepak Bhole2011-05-271-18/+9
|
* Prevent applet from shutting down down if another tab with the same page isDeepak Bhole2011-05-021-9/+18
| | | | opened and closed.
* Fix appcontext related plugin bugs.Denis Lila2011-04-291-10/+26
|
* Use NPN_GetURLNotify (non-blocking) instead of NPN_GetURL (blocking)icedtea-web-1.1-branchpointDeepak Bhole2011-04-211-1/+1
| | | | Fixed spacing issues in previous ChangeLog entry
* Dont show error dialogs on exceptions with the pluginOmair Majid2011-04-201-0/+2
|
* Switch to explicit locks and condition queues in PluginAppletViewerAndrew John Hughes2011-04-181-68/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2010-04-14 Andrew John Hughes <[email protected]> * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java, (PluginAppletPanelFactory.createPanel(PluginStreamHandler, int,long,int,int,URL,Hashtable)): Remove duplication of wait for panel.isAlive(). (PluginAppletViewer.panelLock): New lock used to track panel creation. (PluginAppletViewer.panelLive): Condition queue for panel creation. (PluginAppletViewer.appletsLock): New lock used to track additions to the applets map. (PluginAppletViewer.appletAdded): Condition queue for applet addition. (PluginAppletViewer.statusLock): New lock for status changes. (PluginAppletViewer.initComplete): Condition queue for initialisation completion. (PluginAppletViewer.framePanel(int,long,NetxPanel)): Replace synchronized block with use of appletsLock and notification on appletAdded condition queue. (AppletEventListener.appletStateChanged(AppletEvent)): Signal the panelLive condition queue that the panel is live. (PluginAppletViewer.handleMessage(int,int,String)): Wait on appletAdded condition queue for applet to be added to the applets map. (PluginAppletViewer.updateStatus(Int,PAV_INIT_STATUS)): Signal when a status change occurs using the initComplete condition queue. (PluginAppletViewer.waitForAppletInit(NetxPanel)): Wait on the panelLive condition queue until the panel is created. (PluginAppletViewer.handleMessage(int,String)): Wait on the initComplete condition queue until initialisation is complete. Wait on the panelLive signal until panel is created. (waitTillTimeout(ReentrantLock,Condition,long)): Convert to use ReentrantLock and Condition. Add assertion to check the lock is held. Avoid conversion between milliseconds and nanoseconds.
* Fix applet rezising issue seen with some browsers (Midori)Deepak Bhole2011-04-181-1/+25
|
* Fixed RH691259: Midori sends a SIGSEGV with the IcedTea NP PluginDeepak Bhole2011-04-181-7/+11
|
* Use Object.wait() instead of periodic wakes in PluginAppletViewer.Deepak Bhole2011-04-141-56/+98
|
* Refactor PluginAppletViewer.java.Denis Lila2011-04-141-170/+74
|
* Fix some concurrency problems in PluginAppletViewer.java.Denis Lila2011-04-131-26/+35
|
* Prevent NPE in appletClose() by calling it only via the thread-safeDeepak Bhole2011-04-071-1/+1
| | | | destroyApplet() method.
* Use varargs in PluginDebug.debug calls in JSObject.java.Denis Lila2011-04-051-10/+10
|
* Set class path to JRE/lib/rt.jar for both plugin and javaws.Denis Lila2011-04-051-40/+30
|
* Fix PluginDebug regression.dlila2011-04-011-1/+6
|
* Fix JSObject.equals.Denis Lila2011-03-311-15/+1
|
* Add citation.Denis Lila2011-03-311-1/+2
|