| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java:
(getVersionedUrl) fix regression in previous PR1204 patch. Refactor
to not take Resource parameter, use instance's field instead.
(uriPartToString) new method
* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceUrlCreatorTest.java:
new tests for ResourceUrlCreator.getVersionedUrl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Absolute paths in resource URLs are correctly handled when appended to host
URLs and URL query strings are not removed.
* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java:
(getVersionedUrlUsingQuery) renamed to getVersionedUrl, refactored
construction of URL
* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
(requestPluginProxyInfo) extracted proxy URI logic.
(processProxyUri) new method for finding proxy URIs, handles absolute
resource paths correctly
* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceUrlCreatorTest.java:
added tests for ResourceUrlCreator#getVersionedUrl
* tests/netx/unit/sun/applet/PluginAppletViewerTest.java: added tests for
PluginAppletViewer.processProxyUri
* tests/reproducers/simple/AbsolutePathsAndQueryStrings/resources/AbsolutePathsAndQueryStrings.html:
new reproducer checks that absolute paths and query strings in resource
URLs are properly handled, and caching still works
* tests/reproducers/simple/AbsolutePathsAndQueryStrings/resources/AbsolutePathsAndQueryStrings.jnlp:
same
* tests/reproducers/simple/AbsolutePathsAndQueryStrings/testcases/AbsolutePathsAndQueryStrings.java:
same
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
properly
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
icedtea-web now skips over any jars that are corrupt or not actually jars.
This is how the proprietary plugin treats this situation.
|
|
|
|
| |
were sufficient and clearer.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
OutOfBoundsException for a corrupted path entry thrown in
CacheUtil.pathToURLPath(). This Exception was catched in
RessourceTracker.Downloader.run() and only printed in debug mode.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changeset adds support for explicitly using jars with pack200 compression
and versioning. This requires no server side support, but expects the client
to try and find the right jar and fallback to using uncompressed/unversioned
jars if the versioned/compressed ones can not be found.
2011-02-10 Omair Majid <[email protected]>
Fix RH669942; Add support for packEnabled and versionEnabled.
* NEWS: Update with bugfix.
* netx/net/sourceforge/jnlp/DownloadOptions.java: New file.
* netx/net/sourceforge/jnlp/JNLPFile.java
(openURL): Use null for DownloadOptions.
(getResourceDescs): New method.
(getResourceDescs(Locale,String,String)): New method.
* netx/net/sourceforge/jnlp/Launcher.java
(launchApplication): Add image to downloader with null DownloadOptions.
* netx/net/sourceforge/jnlp/cache/CacheUtil.java
(getCachedResource): Add resource with null DownloadOptions.
* netx/net/sourceforge/jnlp/cache/Resource.java: Add new field
downloadLocation.
(Resource): Initialize downloadLocation.
(getDownloadLocation): New method.
(setDownloadLocation): New method.
* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: Add new field
downloadOptions.
(addResource(URL,Version,UpdatePolicy)): Renamed to...
(addResource(URL,Version,DownloadOptions,UpdatePolicy)): New method.
(downloadResource): Add support for explicit downloading of packed jars as
well as content-encoded packed jars.
(initializeResource): Invokde findBestUrl to find the best url. Set that
as the download location for the resource.
(getVersionedResourceURL): Remove.
(findBestUrl): New method. Use ResourceUrlCreator to get a list of all
possible urls that can be used to download this resource. Try them one by
one until one works and return that.
* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java: New file.
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(initializeResources): Add resource with appropriate download options.
(activateJars): Likewise.
(loadClass): Likewise.
(getDownloadOptionsForJar): New method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2011-01-12 Omair Majid <[email protected]>
* netx/javax/jnlp/UnavailableServiceException.java: Remove unused
imports.
* netx/net/sourceforge/jnlp/AppletDesc.java: Likewise.
* netx/net/sourceforge/jnlp/ApplicationDesc.java: Likewise.
* netx/net/sourceforge/jnlp/ComponentDesc.java: Likewise.
* netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Likewise.
* netx/net/sourceforge/jnlp/IconDesc.java: Likewise.
* netx/net/sourceforge/jnlp/InformationDesc.java: Likewise.
* netx/net/sourceforge/jnlp/InstallerDesc.java: Likewise.
* netx/net/sourceforge/jnlp/JARDesc.java: Likewise.
* netx/net/sourceforge/jnlp/JREDesc.java: Likewise.
* netx/net/sourceforge/jnlp/Launcher.java: Likewise.
* netx/net/sourceforge/jnlp/PackageDesc.java: Likewise.
* netx/net/sourceforge/jnlp/ParseException.java: Likewise.
* netx/net/sourceforge/jnlp/PluginBridge.java: Likewise.
* netx/net/sourceforge/jnlp/PropertyDesc.java: Likewise.
* netx/net/sourceforge/jnlp/ResourcesDesc.java: Likewise.
* netx/net/sourceforge/jnlp/Version.java: Likewise.
* netx/net/sourceforge/jnlp/cache/CacheEntry.java: Likewise.
* netx/net/sourceforge/jnlp/cache/CacheUtil.java: Likewise.
* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
Likewise.
* netx/net/sourceforge/jnlp/cache/DownloadIndicator.java: Likewise.
* netx/net/sourceforge/jnlp/cache/UpdatePolicy.java: Likewise.
* netx/net/sourceforge/jnlp/controlpanel
/AdvancedProxySettingsDialog.java: Likewise.
* netx/net/sourceforge/jnlp/controlpanel
/AdvancedProxySettingsPane.java: Likewise.
* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
Likewise.
* netx/net/sourceforge/jnlp/controlpanel
/TemporaryInternetFilesPanel.java: Likewise.
* netx/net/sourceforge/jnlp/event/ApplicationEvent.java: Likewise.
* netx/net/sourceforge/jnlp/event/DownloadEvent.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/AppletInstance.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
Likewise.
* netx/net/sourceforge/jnlp/runtime/Boot13.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
Likewise.
* netx/net/sourceforge/jnlp/security/CertsInfoPane.java: Likewise.
* netx/net/sourceforge/jnlp/security/SecurityUtil.java: Likewise.
* netx/net/sourceforge/jnlp/services/XBasicService.java: Likewise.
* netx/net/sourceforge/jnlp/services/XDownloadService.java: Likewise.
* netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java:
Likewise.
* netx/net/sourceforge/jnlp/services/XFileContents.java: Likewise.
* netx/net/sourceforge/jnlp/services/XFileOpenService.java: Likewise.
* netx/net/sourceforge/jnlp/services/XFileSaveService.java: Likewise.
* netx/net/sourceforge/jnlp/services/XPersistenceService.java:
Likewise.
* netx/net/sourceforge/jnlp/util/PropertiesFile.java: Likewise.
* netx/net/sourceforge/jnlp/util/Reflect.java: Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-12-13 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/config/ValueValidator.java: New file.
* netx/net/sourceforge/jnlp/config/BasicValueValidators.java: New
file. Provides methods to get some common validators.
* netx/net/sourceforge/jnlp/config/ConfiguratonValidator.java: New
file. Provides methods to validate a configuration.
* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
Moved to config subpackage instead and split off into Setting.java,
DeploymentConfiguration.java and Defaults.java.
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
Renamed version of original DeploymentConfiguration.
(load): Delegate to load.
(load(boolean)): Load configuration and optionally fix any issues
found.
(checkAndFixConfiguration): New method. Validate all settings and
set them to default values if problems found.
* netx/net/sourceforge/jnlp/config/Setting.java: New file. Based on
ConfigValue which was originally a part of DeploymentConfiguration.
* netx/net/sourceforge/jnlp/config/Defaults.java: New file.
Contains the default configuration settings. Originally from
DeploymentConfiguration.java's loadDefaultProperties.
* netx/net/sourceforge/jnlp/resources/Messages.properties: Add new
messages.
* netx/net/sourceforge/jnlp/Launcher.java: Fix imports.
* netx/net/sourceforge/jnlp/SecurityDesc.java: Likewise.
* netx/net/sourceforge/jnlp/cache/CacheUtil.java: Likewise.
* netx/net/sourceforge/jnlp/controlpanel
/AdvancedProxySettingsDialog.java: Likewise
* netx/net/sourceforge/jnlp/controlpanel
/AdvancedProxySettingsPane.java: Likewise.
* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: Likewise
* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java:
Likewise.
* netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java:
Likewise.
* netx/net/sourceforge/jnlp/controlpanel/MiddleClickListener.java:
Likewise
* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
Likewise.
* netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java:
Likewise.
* netx/net/sourceforge/jnlp/controlpanel
/TemporaryInternetFilesPanel.java:Likewise.
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
Likewise.
* netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java:
Likewise.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Likewise.
* netx/net/sourceforge/jnlp/security/KeyStores.java: Likewise.
* netx/net/sourceforge/jnlp/security/SecurityWarning.java: Likewise.
* netx/net/sourceforge/jnlp/services/ServiceUtil.java: Likewise.
* netx/net/sourceforge/jnlp/services/SingleInstanceLock.java:
Likewise.
* netx/net/sourceforge/jnlp/services/XBasicService.java: Likewise
* netx/net/sourceforge/jnlp/services/XPersistenceService.java:
Likewise.
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: Likewise.
* plugin/icedteanp/java/sun/applet/JavaConsole.java: Likewise.
* plugin/icedteanp/java/sun/applet/PluginMain.java: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-12-07 Andrew John Hughes <[email protected]>
* netx/net/sourceforge/jnlp/InformationDesc.java,
(InformationDesc(JNLPFile,Locale)): Correct @param tag.
* netx/net/sourceforge/jnlp/JARDesc.java:
(JARDesc(URL,Version,String,boolean,boolean,boolean,boolean)):
Correct typo and add missing @param tag for cacheable.
* netx/net/sourceforge/jnlp/JREDesc.java:
(JREDesc(Version,URL,String,String,String,List)): Correct typo
in @param tag.
* netx/net/sourceforge/jnlp/Launcher.java:
(Launcher(boolean)): Correct broken @param tag.
* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
(addDownloadListener(DownloadListener)): Remove broken @param tags.
Add correct one.
(removeDownloadListener(DownloadListener)): Add missing @param tag.
* netx/net/sourceforge/jnlp/security/KeyStores.java:
(getKeyStoreLocation(Level,Type)): Add content to @param and @return tags.
(toTranslatableString(Level,Type)): Likewise.
* netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java:
(askUser(String,int,String,String)): Correct typo in @param tag.
* netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java:
(createSetValueListener(SecurityWarningDialog,int)): Add content to @return tag.
* netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java:
(showCertInfoDialog(CertVerifier,SecurityWarningDialog)): Remove broken
@param tag and add correct ones.
(showSingleCertInfoDialog(X509Certificate,JDialog)): Add content to @param tags.
* netx/net/sourceforge/jnlp/tools/CharacterEncoder.java:
Remove broken @see tags from import from OpenJDK.
* netx/net/sourceforge/jnlp/util/FileUtils.java:
Fix bad whitespace.
(sanitizeFileName(String)): Fix @param tag.
* netx/net/sourceforge/nanoxml/XMLElement.java:
Fix example in class documentation.
* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java,
(waitForAppletInit(NetxPanel)): Fix @param tag.
|
|
|
|
|
| |
Added a new .settings directory which contains Eclipse
preferences for code style.
|