aboutsummaryrefslogtreecommitdiffstats
path: root/netx
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix PR727: Split conditional to removed duplicate entries in cache.Andrew Su2011-05-271-4/+6
|
* Fix PR726. Create recently_used on startup.Andrew Su2011-05-251-6/+13
|
* Fix sorting in itw-settings' cache viewerAndrew Su2011-05-101-1/+26
|
* Fix useless thread group creation.Denis Lila2011-05-031-5/+14
|
* Fix appcontext related plugin bugs.Denis Lila2011-04-294-122/+79
|
* Update recently_used when deleting cache entries with itw-settingsAndrew Su2011-04-201-0/+17
|
* Load classes from jars listed on the Class-Path in manifestOmair Majid2011-04-201-27/+97
| | | | | An applet the demonstrates the bug is located at http://jung.sourceforge.net/applet/showlayouts2.html
* PR687: BasicService.getCodeBase() returns null for IcedTea6 1.9.7 + OSGIOmair Majid2011-04-201-16/+40
| | | | | | | | The patch modifies how we try to find the JNLPClassLoader (from which we find the ApplicationInstance). We first search the Context ClassLoader (and it's parents) and then we search the ClassLoader for the classes on the stack (and their parents). The Launcher always sets the Context ClassLoader of the applications/applets it launches.
* Update itw-setting's cache viewer to display new directory structureAndrew Su2011-04-201-10/+12
|
* Allow delete only when plugin or javaws is not runningAndrew Su2011-04-201-0/+30
|
* Enforce cache size limitAndrew Su2011-04-201-17/+62
|
* Unhide components for setting cache size limit in itw-settingsAndrew Su2011-04-201-20/+18
|
* Store lru after modifying the entriesAndrew Su2011-04-201-0/+1
|
* Changed cache to prevent jar overwriting when update happens.Andrew Su2011-04-188-56/+573
|
* Fix concurrent classloading problem in JNLPClassLoader.loadClass.Denis Lila2011-04-182-3/+4
|
* Make CacheDirectory final and not instantiable.Andrew Su2011-04-131-1/+5
|
* Restrict port fields in itw-settings to accept only valid port numbers.Andrew Su2011-04-063-5/+46
|
* Fix concurrent access problem to downloadOptions.Denis Lila2011-04-051-4/+3
|
* Let launcher handle parsing exceptionsOmair Majid2011-03-314-97/+232
| | | | | | | | | | | | | | | | | | | | | | 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 typo in RCantRename in Messages.propertiesOmair Majid2011-03-301-1/+1
| | | | | | | 2011-03-30 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/resources/Messages.properties: Fix typo in RCantRename.
* Update location of settings file in javaws man pageOmair Majid2011-03-301-1/+1
| | | | | | | 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-308-24/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 redundant if from JNLPFile.javaDenis Lila2011-03-291-2/+1
|
* Fixed classloader sharing rules for appletsDeepak Bhole2011-03-281-4/+27
|
* Implement codebase_lookup=false.dlila2011-03-252-4/+16
|
* Alternate means of finding browsersOmair Majid2011-03-243-9/+95
| | | | | | | | | | | | | | | | | | | | | 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-231-0/+16
|
* Allow plugin and javaws to run concurrently, while maintaining locks on ↵Andrew Su2011-03-171-3/+10
| | | | systems that only support exclusive locks.
* Ensure that javaws can not clear cache while plugin or javaws is running.Andrew Su2011-03-173-89/+83
|
* Refactored extras/net/sourceforge/jnlp to extras/net/sourceforge/javaws/ as ↵Jiri Vanek2011-03-162-7/+15
| | | | 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-159-18/+92
|
* Replace binary launchers with shell scriptsOmair Majid2011-03-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* netx findbugs based refactoring.Denis Lila2011-03-0916-40/+14
|
* Fix typo in itw-settings.Andrew Su2011-03-091-1/+1
|
* Fix typo when adding to cache.Denis Lila2011-03-081-1/+1
|
* Close streams after we're finished using them.Denis Lila2011-03-085-69/+92
|
* Close streams after opening them.Andrew Su2011-03-081-8/+16
|
* Add Proxy Auto Config (PAC) supportOmair Majid2011-03-078-11/+1399
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Added comments, clarified a previous changelog entry.Denis Lila2011-03-073-3/+12
|
* Fix PR658Denis Lila2011-03-043-19/+52
|
* mergeDenis Lila2011-03-043-12/+125
|\
| * - PR475, RH604061: Allow applets from the same page to use the same classloaderDeepak Bhole2011-03-043-12/+125
| |
* | Fixed packed jar naming and pack.gz decompression problem.Denis Lila2011-03-042-23/+23
|/
* Fix PR612: NetDania application ends on java.security.AccessControlExceptionOmair Majid2011-03-021-0/+2
| | | | | | | | | | | | | 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-022-1/+2
| | | | | | | | | 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-011-0/+4
| | | | | | | | | | | 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-012-20/+23
|
* Handle 'reset all' as an itweb-settings commandOmair Majid2011-02-281-4/+16
| | | | | | | | | 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.
* Integrate JNLPAuthenticator into the rest of the security subsystemOmair Majid2011-02-285-117/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2824-94/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.