| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
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.
|
|
|
|
| |
For old versions of mozilla, there was a spurious ( in NPVariantAsString.
|
| |
|
|
|
|
| |
in std::string.
|
| |
|
|
|
|
| |
were sufficient and clearer.
|
|
|
|
| |
Clarified some uses of snprintf.
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
|/
|
|
|
|
| |
crash).
Patch from Martin Olsson.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Patch from Thomas Meyer (primary) and Deepak Bhole
|
| |
|
| |
|
|
|
|
| |
Patch from Thomas Meyer <[email protected]>
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Patch from Thomas Meyer <[email protected]>
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Original patch from: Ricardo Martín Camarero <rickyepoderi at yahoo dot es>
|
|
|
|
| |
different thread unless a different GMainContext *context is used
|
| |
|
|
|
|
| |
Do not stop applet threadgroup on exit.
|
| |
|
|
|
|
| |
opened and closed.
|
| |
|
|
|
|
| |
Fixed spacing issues in previous ChangeLog entry
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
destroyApplet() method.
|
| |
|
| |
|
| |
|
| |
|
| |
|