aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Make sure hostname used for testIsResolvable is really not resolvable.Mark Wielaard2011-03-112-1/+7
| | | | | | | | 2011-03-10 Mark Wielaard <[email protected]> * tests/netx/pac/pac-funcs-test.js (testIsResolvable): Change single host name icedtea to NotIcedTeaHost to make sure it really isn't resolvable.
* Replace binary launchers with shell scriptsOmair Majid2011-03-107-36/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2011-03-10 Omair Majid <[email protected]> Replace native launchers with shell scripts * NEWS: Update. * Makefile.am (LAUNCHER_BOOTCLASSPATH): Remove leading -J. (LAUNCHER_SRCDIR), (LAUNCHER_OBJECTS), (NETX_LAUNCHER_OBJECTS), (CONTROLPANEL_LAUNCHER_OBJECTS), (LAUNCHER_FLAGS), (LAUNCHER_LINK): Remove. (edit_launcher_script): New function. (all-local): Depend on new launcher targets. (clean-local): Depend on clean-launchers. (.PHONY): Add clean-launchers. (install-exec-local): Use new launcher paths. (clean-launchers): New target. ($(NETX_DIR)/launcher/%.o), ($(NETX_DIR)/launcher/controlpanel/%.o), ($(NETX_DIR)/launcher/javaws), ($(NETX_DIR)/launcher/controlpanel/itweb-settings): Remove. (launcher.build/javaws): New launcher. (launcher.build/itweb-settings): Likewise. * launcher/itweb-settings.in, * launcher/javaws.in: New file. * netx/net/sourceforge/jnlp/Launcher.java (launchExternal), * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java (CommandLine): Use new system properties to find paths and program names.
* Remove obsolete autoconf macro IT_FIND_RHINO_JAROmair Majid2011-03-102-56/+4
| | | | | | 2011-03-10 Omair Majid <[email protected]> * acinclude.m4 (IT_FIND_RHINO_JAR): Remove.
* Make output of PAC function tests more jtreg-like to help the buildbotOmair Majid2011-03-102-7/+10
| | | | | | | | | | | The buildbot already has support for parsing the results of jtreg tests; this changeset makes the output of PAC function tests more like jtreg's output. 2011-03-10 Omair Majid <[email protected]> * tests/netx/pac/pac-funcs-test.js (main): Make test summary output more jtreg-like. (runTests): Change test output format to be more jtreg-like.
* netx findbugs based refactoring.Denis Lila2011-03-0917-40/+56
|
* Fix typo in itw-settings.Andrew Su2011-03-092-1/+6
|
* Add new macro IT_FIND_OPTIONAL_JAROmair Majid2011-03-083-1/+86
| | | | | | | | | | | Introduce a new autoconf macro IT_FIND_OPTIONAL_JAR that find a jar (but does not fail if the jar is not available). Also make RHINO use this new macro. 2011-03-08 Omair Majid <[email protected]> * acinclude.m4 (IT_FIND_OPTIONAL_JAR): New macro. * configure.ac: Do not call IT_FIND_RHINO. Use IT_FIND_OPTIONAL_JAR instead.
* Fix typo when adding to cache.Denis Lila2011-03-082-1/+6
|
* Close streams after we're finished using them.Denis Lila2011-03-086-69/+105
|
* Close streams after opening them.Andrew Su2011-03-082-8/+22
|
* Fix race condition.Denis Lila2011-03-082-5/+13
|
* Use autoconf to generate build.properties and jrunscriptOmair Majid2011-03-076-26/+40
| | | | | | | | | | | | | | | | | | | 2011-03-07 Omair Majid <[email protected]> * acinclude.m4 (IT_FIND_RHINO_JAR): Set RHINO_AVAILABLE to true or false appropriately. * build.properties.in: New file. * jrunscript.in: New file. * configure.ac: Add build.properties and jrunscript to AC_CONFIG_FILES. * Makefile.am (.PHONY): Remove clean-jrunscript. (build.properties): Remove target. (stamps/netx.stamp): Remove dependency on build.properties. (clean-netx): Do not delete build.properties. (jrunscript): Remove target. (check-pac-functions): Remove dependency on jrunscript. (clean-tests): Remove dependency on clean-jrunscript. (clean-jrunscript): Remove target.
* Fix mercurial version detectionOmair Majid2011-03-073-1/+7
| | | | | | | | | | This is pretty much identical to PR497: Mercurial revision detection not very reliable. 2011-03-07 Omair Majid <[email protected]> * NEWS: Update. * acinclude.m4 (IT_OBTAIN_HG_REVISIONS): Use hg id instead of hg tip.
* Make ICEDTEAPLUGIN_DEBUG=suspend start the JVM in suspend modeOmair Majid2011-03-072-1/+15
| | | | | | | | 2011-03-07 Omair Majid <[email protected]> * plugin/icedteanp/IcedTeaNPPlugin.cc: Add plugin_debug_suspend. (plugin_start_appletviewer): If plugin_debug_suspend is true, start jvm in suspend mode.
* Add Proxy Auto Config (PAC) supportOmair Majid2011-03-0714-17/+1999
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for reading, parsing and evaluating PAC files using rhino. 2011-03-07 Omair Majid <[email protected]> * NEWS: Update. * Makefile.am (RHINO_RUNTIME): Define to point to rhino jars, or empty. (RUNTIME, LAUNCHER_BOOTCLASSPATH, PLUGIN_BOOTCLASSPATH): Include RHINO_RUNTIME. (PHONY): Add check-pac-functions, clean-jrunscript and clean-tests. (check-local): New target. Depends on check-pac-functions. (check-pac-functions): New target. (jrunscript): New target. (clean-tests): New target. (clean-jrunscript): New target. (netx-source-files.txt): Remove rhino related files if not building with rhino. (build.properties): New target. (stamps/netx.stamp): Depend on build.properties and copy new files to build location. (clean-netx): Remove build.properties. (stamps/bootstrap-directory.stamp): Add java to bootstrap programs. * acinclude.m4 (IT_FIND_RHINO_JAR): New macro. * configure.ac: Invoke IT_FIND_RHINO_JAR. * netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java: Add browserProxyAutoConfig. (initFromBrowserConfig): Initialize browserProxyAutoConfig if needed. (getFromBrowserPAC): Use browserProxyAutoConfig to find proxies. * netx/net/sourceforge/jnlp/resources/Messages.properties: Replace RPRoxyPacNotImplemented with RPRoxyPacNotSupported. * netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java: Add pacEvaluator. (parseConfiguration): Initialize pacEvaluator if needed. (getFromPAC): Use pacEvaulator to find proxies. (getProxiesFromPacResult): New method. Converts a proxy string to a list or proxies. * netx/net/sourceforge/jnlp/runtime/PacEvaluator.java: New file. Defines a Java interface for a PAC evaluator. * netx/net/sourceforge/jnlp/runtime/FakePacEvaluator.java: New file. Dummy implementation of a PAC evaluator. * netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java: New file. A rhino-based PAC evaluator. * netx/net/sourceforge/jnlp/runtime/PacEvaluatorFactory.java: New file. A factory for creating the right PAC evaulator. * netx/net/sourceforge/jnlp/runtime/pac-funcs.js: New file. Defines helper functions needed while evaluating PAC files. * tests/netx/pac/pac-funcs-test.js: New file. Tests the PAC helper functions.
* Minor refactoring.Denis Lila2011-03-077-107/+69
|
* Added comments, clarified a previous changelog entry.Denis Lila2011-03-074-4/+24
|
* Fix PR658Denis Lila2011-03-045-19/+66
|
* mergeDenis Lila2011-03-046-13/+161
|\
| * - PR475, RH604061: Allow applets from the same page to use the same classloaderDeepak Bhole2011-03-046-13/+162
| |
* | Fixed packed jar naming and pack.gz decompression problem.Denis Lila2011-03-043-23/+32
|/
* Send initialization information to Java side via a new function (also takesDeepak Bhole2011-03-032-17/+35
| | | | care of webkit/chromium breakage with a 0x0 sized plugin)
* Added check for instance validity before making calls to the browserDeepak Bhole2011-03-032-4/+41
|
* Minor cleanup of C++ code -- removed unused thread_counterDeepak Bhole2011-03-033-26/+11
|
* Fix PR612: NetDania application ends on java.security.AccessControlExceptionOmair Majid2011-03-023-0/+11
| | | | | | | | | | | | | NetDania application ends on java.security.AccessControlException: access denied (java.util.PropertyPermission browser read). Grant untrusted applets and applications access to "browser" and "broser.*" system properties. 2011-03-02 Omair Majid <[email protected]> Fix PR612. * NEWS: Update with fix. * netx/net/sourceforge/jnlp/SecurityDesc.java: Add PropertyPermissions for browser and browser.* to sandboxPermissions.
* Fix warning message for itweb-settings setOmair Majid2011-03-023-1/+9
| | | | | | | | | 2011-03-02 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java (handleSetCommand): Fix warning message. * netx/net/sourceforge/jnlp/resources/Messages.properties: Add CLWarningUnknownProperty.
* Check for nulls in JNLPPolicy.isSystemJarOmair Majid2011-03-012-0/+9
| | | | | | | | | | | It is possible to have CodeSource.getLocation() return null. For example, sun.applet.AppletPanel (line 1071) queries the policy using a null Location p.getPermissions(new CodeSource(null, (java.security.cert.Certificate[]) null)) 2011-03-01 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java (isSystemJar): Check for nulls.
* Hide unimplemented features in itw-settings.Andrew Su2011-03-013-20/+30
|
* Handle 'reset all' as an itweb-settings commandOmair Majid2011-02-282-4/+23
| | | | | | | | | 2011-02-28 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java (printResetHelp): Indicate that "all" is a valid argument. (handleResetCommand): Deal with "all" instead of a property name by reseting all properties.
* minor refactoring + dead code removalDenis Lila2011-02-282-36/+35
|
* Integrate JNLPAuthenticator into the rest of the security subsystemOmair Majid2011-02-286-117/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch integrates the password authentication pane into the rest of the security dialog system. The password authentication dialog is now shown using the secure thread, rather than the thread of the JNLP application. 2011-02-28 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/resources/Messages.properties: Add Password, Username and SAuthenticationPrompt. * netx/net/sourceforge/jnlp/security/JNLPAuthenticator.java (getPasswordAuthentication): Show password prompt using the secure thread. * netx/net/sourceforge/jnlp/security/PasswordAuthenticationPane.java (PasswordAuthenticationPane): Initialize variables. (initialize): For consistency, rename to.. (addComponents): New method. Set the appropriate return value when user takes an action. (askUser): Remove. (main): Remove. * netx/net/sourceforge/jnlp/security/SecurityDialog.java (initDialog): Add extra case for AUTHENTICATION dialog type. (installPanel): Likewise. * netx/net/sourceforge/jnlp/security/SecurityDialogs.java (DialogType): Add AUTHENTICATION. (showAuthenicationPrompt): New method. Shows a password authentication prompt.
* Rename security warning classes to security dialog classes.Omair Majid2011-02-2825-94/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the security dialogs that are shown are not warning dialogs. 2011-02-28 Omair Majid <[email protected]> Rename files * netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java: Rename to ... * netx/net/sourceforge/jnlp/security/PasswordAuthenticationPane.java: New file. * netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java: Rename to... * netx/net/sourceforge/jnlp/security/SecurityDialog.java: New file. * netx/net/sourceforge/jnlp/security/SecurityWarning.java: Rename to... * netx/net/sourceforge/jnlp/security/SecurityDialogs.java: New file. * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java, * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java, * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java, * netx/net/sourceforge/jnlp/security/AccessWarningPane.java, * netx/net/sourceforge/jnlp/security/AppletWarningPane.java, * netx/net/sourceforge/jnlp/security/CertWarningPane.java, * netx/net/sourceforge/jnlp/security/CertsInfoPane.java, * netx/net/sourceforge/jnlp/security/JNLPAuthenticator.java, * netx/net/sourceforge/jnlp/security/MoreInfoPane.java, * netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java, * netx/net/sourceforge/jnlp/security/SecurityDialogMessage.java, * netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java, * netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java, * netx/net/sourceforge/jnlp/security/SingleCertInfoPane.java, * netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java, * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java, * netx/net/sourceforge/jnlp/services/ServiceUtil.java, * netx/net/sourceforge/jnlp/services/XClipboardService.java, * netx/net/sourceforge/jnlp/services/XExtendedService.java, * netx/net/sourceforge/jnlp/services/XFileOpenService.java, * netx/net/sourceforge/jnlp/services/XFileSaveService.java: Update class names to the new classes.
* Do not add extra files to netx.jarOmair Majid2011-02-252-2/+5
| | | | | | | | | | | To quote Andrew John Hughes: This code dates back to when we used the OpenJDK import mechanism. If they weren't in classes.jar then, they wouldn't have been used. 2011-02-25 Omair Majid <[email protected]> * Makefile.am (stamps/netx-dist.stamp): Do not add extra files to classes.jar.
* Remove unused manifest fileOmair Majid2011-02-252-6/+4
| | | | | | | | | | The file netx/net/sourceforge/jnlp/resources/Manifest.mf looks like a holdover from the original NetX project. We use a different manifest file now for netx.jar 2011-02-25 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/resources/Manifest.mf: Remove unused file.
* Fix missing slash in JREOmair Majid2011-02-232-1/+5
| | | | | | 2011-02-23 Omair Majid <[email protected]> * Makefile.am: Add missing slash to JRE.
* RH677772: NoSuchAlgorithmException using SSL/TLS in javawsOmair Majid2011-02-234-49/+42
| | | | | | | | | | | | | | | | | | | | | Grant AllPermission to CodeSource originating from jre/lib/ext, and let Java's security model work. The cryptography code already does a doPrivilegedAction when initialzing cryptography providers which takes care of everything. 2011-02-23 Omair Majid <[email protected]> RH677772: NoSuchAlgorithmException using SSL/TLS in javaws * NEWS: Update with bugfix. * netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java: Add new field jreExtDir. (JNLPPolicy): Initialize jreExtDir. (getPermissions): Grant AllPermissions if the CodeSourse is a system jar. (isSystemJar): New method. * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java (checkPermission): Remove special casing of SecurityPermission("putProviderProperty.SunJCE") and SecurityPermission("accessClassInPackage.sun.security.internal.spec"). (inTrustedCallChain): Remove.
* Fix PR638: JNLPClassLoader.loadClass(String name) can return nullOmair Majid2011-02-224-0/+16
| | | | | | | | | | | 2011-02-22 Omair Majid <[email protected]> Mark Greenwood <[email protected]> Fix PR638 * NEWS: Update with fix. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (loadClass): Throw ClassNotFoundException instead of returning null. * AUTHORS: Update.
* Fix typo in uninstall-localOmair Majid2011-02-222-1/+5
| | | | | | 2011-02-22 Omair Majid <[email protected]> * Makefile.am (uninstall-local): Fix typo in PACKAGE_NAME.
* Fix lookup of about.jnlpOmair Majid2011-02-223-10/+19
| | | | | | | | | | | | | | | javaws -about was previously looking for about.jnlp in JAVA_HOME. Since javaws is not meant to be installed in JAVA_HOME, this makes no sense. This patch makes javaws use the about.jnlp inside netx.jar (by loading it using the classloader). 2011-02-22 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/resources/Messages.properties: Add RNoAboutJnlp. * netx/net/sourceforge/jnlp/runtime/Boot.java: Remove NETX_ABOUT_FILE. (getAboutFile): Look for about.jnlp using the classloader. (getFile): Use localized error message string.
* Fix --mandir switchOmair Majid2011-02-223-3/+12
| | | | | | | | | | 2011-02-22 Omair Majid <[email protected]> DJ Lucas <[email protected]> * Makefile.am (install-data-local): Use $(mandir) for man page dir. (uninstall-local): Use $(mandir) for man page dir. * AUTHORS: Update.
* Install icedtea-web into a FHS-compliant locationOmair Majid2011-02-225-90/+101
| | | | | | | | | | | | | | | | | | | | | 2011-02-22 Omair Majid <[email protected]> * Makefile.am: Add new vars JRE, LAUNCHER_BOOTCLASSPATH and PLUGIN_BOOTCLASSPATH. (install-exec-local): Install files to FHS-compliant location; do not create links. (install-data-local): Likewise. (uninstall-local): Update file paths to delete. ($(PLUGIN_DIR)/%.o): Pass PLUGIN_BOOTCLASSPATH and ICEDTEA_WEB_JRE. ($(NETX_DIR)/launcher/%.o): Pass LAUNCHER_BOOTCLASSPATH and ICEDTEA_WEB_JRE. ($(NETX_DIR)/launcher/controlpanel/%.o): Likewise. * launcher/java_md.c (GetIcedTeaWebJREPath): New method. (CreateExecutionEnvironment): Call GetIcedTeaWebJREPath. * plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_start_appletviewer): Add PLUGIN_BOOTCLASSPATH to the command. (NP_Initialize): Use ICEDTEA_WEB_JRE to initialize filename.
* Remove pluginappletviewer binaryOmair Majid2011-02-182-17/+13
| | | | | | | | | | | | | | | | | This changeset removes the unused pluginappletviewer binary from icedtea-web. IcedTeaPlugin.so invokes java directly. 2011-02-18 Omair Majid <[email protected]> Remove pluginappletviewer binary * Makefile.am (ICEDTEAPLUGIN_TARGET): Remove dependency on pluginappletviewer. (PLUGIN_LAUNCHER_OBJECTS): Remove. (install-exec-local): Do not install pluginappletviewer. (uninstall-local): Do not remove pluginappletviewer. ($(PLUGIN_DIR)/launcher/%.o): Remove. ($(PLUGIN_DIR)/launcher/pluginappletviewer): Remove. (clean-IcedTeaPlugin): Dont clean plugin launcher files.
* Fixed RH677332, CVE-2011-0706: IcedTea multiple signers privilege escalationDeepak Bhole2011-02-153-1/+16
|