| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* netx/net/sourceforge/jnlp/NetxPanel.java: (init) ErrorSplash is shown
if fatal exception is cough
|
| |
|
| |
|
| |
|
|
|
|
| |
get create get created
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
were sufficient and clearer.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Original patch from: Ricardo Martín Camarero <rickyepoderi at yahoo dot es>
|
| |
|
|
|
|
| |
Do not stop applet threadgroup on exit.
|
| |
|
|
|
|
| |
opened and closed.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|