aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix concurrent classloading problem in JNLPClassLoader.loadClass.Denis Lila2011-04-183-3/+12
|
* Switch to explicit locks and condition queues in PluginAppletViewerAndrew John Hughes2011-04-182-68/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-182-1/+32
|
* Fixed RH691259: Midori sends a SIGSEGV with the IcedTea NP PluginDeepak Bhole2011-04-182-7/+18
|
* Support Gentoo install location for JUnit 4.Andrew John Hughes2011-04-142-1/+6
| | | | | | | 2010-04-11 Andrew John Hughes <[email protected]> * configure.ac: Check Gentoo install location for JUnit 4.
* Use Object.wait() instead of periodic wakes in PluginAppletViewer.Deepak Bhole2011-04-142-56/+117
|
* Refactor PluginAppletViewer.java.Denis Lila2011-04-142-170/+92
|
* Make CacheDirectory final and not instantiable.Andrew Su2011-04-132-1/+11
|
* Fix some concurrency problems in PluginAppletViewer.java.Denis Lila2011-04-132-26/+45
|
* Backout 4f195bca0dc8 - unapproved patchAndrew John Hughes2011-04-113-7/+86
|
* Backed out changeset 1cce62b89f07 - unapproved patchAndrew John Hughes2011-04-116-92/+9
|
* added support for testngJiri Vanek2011-04-116-9/+92
|
* removed junitJiri Vanek2011-04-113-86/+7
|
* Update README with information about junit tests and rhinoOmair Majid2011-04-082-0/+49
|
* Prevent NPE in appletClose() by calling it only via the thread-safeDeepak Bhole2011-04-072-1/+7
| | | | destroyApplet() method.
* Restrict port fields in itw-settings to accept only valid port numbers.Andrew Su2011-04-064-5/+57
|
* Use varargs in PluginDebug.debug calls in JSObject.java.Denis Lila2011-04-052-10/+16
|
* Fix concurrent access problem to downloadOptions.Denis Lila2011-04-052-4/+9
|
* Set class path to JRE/lib/rt.jar for both plugin and javaws.Denis Lila2011-04-054-41/+45
|
* Fix PluginDebug regression.dlila2011-04-012-1/+11
|
* Let launcher handle parsing exceptionsOmair Majid2011-03-315-97/+252
| | | | | | | | | | | | | | | | | | | | | | 2011-03-31 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/Launcher.java: Add parserSettings and extra. (setParserSettings): New method. (setInformationToMerge): New method. (launch(JNLPFile,Container)): Call mergeExtraInformation. (launch(URL,boolean)): New method. (mergeExtraInformation): New method. (addProperties, addParameters, addArguments): Moved here from Boot.java (fromUrl): New method. * netx/net/sourceforge/jnlp/ParserSettings.java: New file. * netx/net/sourceforge/jnlp/resources/Messages.properties: Remove BArgNA, BParamNA. * netx/net/sourceforge/jnlp/runtime/Boot.java (run): Do not parse JNLP file. Pass ParserSettings and other command line additions to launcher. (getFile): Rename to... (getFileLocation): New method. (addProperties, addParameters, addArguments): Move to Launcher.java.
* Fix JSObject.equals.Denis Lila2011-03-312-15/+8
|
* Add citation.Denis Lila2011-03-312-1/+7
|
* Made PluginObjectStore a singleton.Denis Lila2011-03-313-10/+26
|
* Fix last merge of ChangeLog.Denis Lila2011-03-311-1/+0
|
* Make PluginDebug a bit lazier.Denis Lila2011-03-3116-93/+117
|
* mergeDenis Lila2011-03-3119-31/+1083
|\
| * Add unit tests for the parserOmair Majid2011-03-3110-3/+726
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds support for JUnit4 tests to icedtea-web. It also adds some parser tests that check that the parser works. make check will now run these tests if JUnit is available. 2011-03-31 Omair Majid <[email protected]> Add unit tests for the parser * Makefile.am: Add TESTS_DIR,TESTS_SRCDIR, NETX_UNIT_TEST_DIR, and NETX_UNIT_TEST_SRCDIR, JUNIT_RUNNER_DIR, JUNIT_RUNNER_SRCDIR, and JUNIT_RUNNER_JAR. Conditionally define RHINO_TESTS and UNIT_TESTS. (clean-local): Use RHINO_TESTS and UNIT_TESTS. (clean-tests): Depend on clean-netx-tests. Delete directory. (junit-runner-source-files.txt, $(JUNIT_RUNNER_JAR)), (next-unit-tests-sources-files.txt stamps/netx-unit-tests-compile.stamp), (run-netx-unit-tests, clean-netx-tests, clean-junit-runner) (clean-netx-unit-tests): New targets. * configure.ac: Add new optional dependency on junit. * tests/junit-runner/CommandLine.java, * tests/junit-runner/LessVerboseTextListener.java, * tests/junit-runner/README, * tests/netx/unit/net/sourceforge/jnlp/ParserBasicTests.java, * tests/netx/unit/net/sourceforge/jnlp/ParserCornerCaseTests.java, * tests/netx/unit/net/sourceforge/jnlp/ParserMalformedXmlTests.java, * tests/netx/unit/net/sourceforge/jnlp/basic.jnlp: New files.
| * 2011-03-30 Omair Majid <[email protected]>Omair Majid2011-03-302-2/+7
| | | | | | | | | | * Makefile.am: Fix comment explaining reasons for setting JDK_UPDATE_VERSION.
| * Fix typo in RCantRename in Messages.propertiesOmair Majid2011-03-302-1/+6
| | | | | | | | | | | | | | 2011-03-30 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/resources/Messages.properties: Fix typo in RCantRename.
| * Document reasons for using bootclasspath in Makefile.amOmair Majid2011-03-302-0/+11
| | | | | | | | | | | | 2011-03-30 Omair Majid <[email protected]> * Makefile.am: Document reason for using bootclasspath.
| * Update location of settings file in javaws man pageOmair Majid2011-03-302-1/+6
| | | | | | | | | | | | | | 2011-03-30 Omair Majid <[email protected]> * netx/javaws.1: Fix FILES section to point to ~/.icedtea/deployment.properties.
| * Add a new LaunchHandler to show error messages when starting applicationsOmair Majid2011-03-309-24/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This LaunchHandler is only used when not running in headless mode. This launchHandler is also responsible for showing the splash screen. 2011-03-30 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/LaunchHandler.java (launchInitialized, launchStarting): New methods. * netx/net/sourceforge/jnlp/DefaultLaunchHandler.java (launchInitialized, launchStarting): New methods. No-op implementation. (printMessage): Make it static. * netx/net/sourceforge/jnlp/GuiLaunchHandler.java: New file. (launchCompleted, launchError, launchStarting, launchInitialized), (launchWarning, validationError): New methods. * netx/net/sourceforge/jnlp/Launcher.java (launchApplication): Invoke handler.launchInitialized and handler.launchStarting instead of showing a splash screen directly. * netx/net/sourceforge/jnlp/resources/Messages.properties: Add ButShowDetails, ButHideDetails and Error. * netx/net/sourceforge/jnlp/runtime/Boot.java (run): Do not exit on error. * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize): Set handler to GuiLaunchHandler if not running in headless mode. * netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java: New file. (exceptionToString, show): New methods.
* | Remove race conditions in PluginObjectStore.java.Denis Lila2011-03-312-45/+74
|/
* branch mergeDenis Lila2011-03-292-2/+6
|\
| * Remove redundant if from JNLPFile.javaDenis Lila2011-03-292-2/+6
| |
* | Replace PDF documentation with editable HTML version of the same content.Andrew John Hughes2011-03-293-0/+123
|/ | | | | | | | 2010-03-29 Andrew John Hughes <[email protected]> * plugin/docs/npplugin_liveconnect_design.html: Replace binary PDF documentation with editable HTML. * plugin/docs/npplugin_liveconnect_design.pdf: Removed.
* fix broken -J command line argumentsOmair Majid2011-03-282-1/+23
| | | | | | 2011-03-28 Omair Majid <[email protected]> * launcher/javaws.in: Split out -J arguments and pass it to the JVM.
* Fixed classloader sharing rules for appletsDeepak Bhole2011-03-282-4/+34
|
* Implement codebase_lookup=false.dlila2011-03-254-4/+26
|
* Fix broken make distcheckOmair Majid2011-03-242-1/+5
| | | | | | | | Add tests dir to EXTRA_DIST to unbreak make distcheck 2011-03-24 Omair Majid <[email protected]> * Makefile.am (EXTRA_DIST): Add $(top_srcdir)/tests.
* Alternate means of finding browsersOmair Majid2011-03-245-9/+110
| | | | | | | | | | | | | | | | | | | | | This patch makes netx look for the users' default browser in this order: xdg-open, $BROWSER, and finally prompting the user for the command. To remain backwards compatible, this is only done if the user has not previously specified a default browser. 2011-03-24 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/resources/Messages.properties: Add RBrowserLocationPromptTitle, RBrowserLocationPromptMessage and RBrowserLocationPromptMessageWithReason. * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (isWindows): New method. Moved from XBasicService. (isUnix): New method. * netx/net/sourceforge/jnlp/services/XBasicService (initialize): Call initializeBrowserCommand. (initializeBrowserCommand): New method. (posixCommandExists): New method. (isWindows): Moved to JNLPRuntime.
* Don't look into <codebase>/META-INF/ for resources.Denis Lila2011-03-233-0/+23
|
* 2011-03-21 Matthias Klose <[email protected]>doko2011-03-213-2/+7
| | | | | * launcher/itweb-settings.in: Use /bin/sh as interpreter. * launcher/javaws.in: Likewise.
* Allow plugin and javaws to run concurrently, while maintaining locks on ↵Andrew Su2011-03-172-3/+16
| | | | systems that only support exclusive locks.
* Ensure that javaws can not clear cache while plugin or javaws is running.Andrew Su2011-03-174-89/+99
|
* net.sourceforge.javaws.Main.java updated to find resources in javaws ↵Jiri Vanek2011-03-162-24/+15
| | | | directory and removed code from net.sourceforge.jnlp and hyperlinklistener (useless without permissiopns), about.jnlp all-permitions removed,
* Refactored extras/net/sourceforge/jnlp to extras/net/sourceforge/javaws/ as ↵Jiri Vanek2011-03-1610-11/+31
| | | | first step to get rid of all-permitions tag in abouyt.jnlp, boot.java is now reading about.jnlp from insttall directory. About.jnlp codebase redirected to local directory by dot.
* Handling error code returning functions.Denis Lila2011-03-1510-18/+116
|
* Fix DESTDIR issues in MakefileOmair Majid2011-03-152-4/+9
| | | | | | | 2011-03-15 Omair Majid <[email protected]> * Makefile.am (LAUNCHER_BOOTCLASSPATH, PLUGIN_BOOTCLASSPATH) (javaws.desktop, itweb-settings.desktop): Remove DESTDIR.