| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
| |
2010-12-16 Omair Majid <[email protected]>
RH663680, CVE-2010-4351:
* NEWS: List issue.
* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
Make sure SecurityException is thrown if necessary.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2011-01-12 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
(main): Set look and feel. Set config object to use with KeyStores.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
(initialize): Set config object to use with KeyStores.
* netx/net/sourceforge/jnlp/security/KeyStores.java: Add new member
config.
(setConfiguration): New method. Sets the value of config after security
check.
(getKeyStoreLocation): Use config object instead of querying JNLPRuntime.
|
|
|
|
|
|
|
| |
2011-01-12 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/JNLPFile: Add missing generic type to info.
(getInformation): Remove redundant cast.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
2011-01-04 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/security/KeyStores.java
(getKeyStoreLocation): Fix typo. Return the user-level certificate
store correctly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
additional permissions
2011-01-04 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java: Add
systemJnlpPolicy and userJnlpPolicy.
(JNLPPolicy): Initialize the new policies.
(getPermissions): Consult the extra policies as well to determine the
resulting permissions to be granted.
(getPolicyFromConfig): New method. Create a new Policy instance to
delegate to for system- and user-level policies.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2011-01-04 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/SecurityDesc.java: Add
customTrustedPolicy.
(SecurityDesc): Initialize customTrustedPolicy.
(getCustomTrustedPolicy): New method. Get custom policy file from
configuration and use it to initialize a custom configuration.
(getPermissions): If trusted application and customTrustedPolicy is
not null, delegate to otherwise return AllPermissions.
* netx/net/sourceforge/jnlp/config/Defaults.java
(getDefaults): Use constant for property.
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
Add new constant KEY_SECURITY_TRUSTED_POLICY.
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
(installEnvironment): Pass cs as a parameter to
SecurityDesc.getPermissions.
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(getPermissions): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2011-01-04 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: Remove
JNLPRuntime import. Remove configBrowserCommand.
(createMainSettingsPanel): Remove call to loadConfiguration.
(loadConfiguration): Remove method. Setting the browser command
should be handled by the appropriate panel.
(main): Remove call to JNLPRuntime.initialize and just create a new
DeploymentConfiguration object. Clarify TODO comment.
|
|
|
|
|
|
|
| |
2011-01-04 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(installShutdownHooks): Only print when not null.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-12-20 Omair Majid <[email protected]>
* Makefile.am
($(NETX_DIR)/launcher/controlpanel/%.o): Set program name, and launch
net.sourceforge.jnlp.controlpanel.CommandLine.
* netx/net/sourceforge/jnlp/config/Defaults.java
(getDefaults): Set descriptions to Unknown rather than the name.
Set source to localized form of internal.
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
(getProperty): Check for nulls.
(setProperty): Add unknown as description and source for new
properties.
(checkAndFixConfiguration): Fix translation constants.
(parsePropertiesFile): Use unknown as description.
* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: New file
(CommandLine): New method.
(handleHelpCommand): Likewise.
(printListHelp): Likewise.
(handleListCommand): Likewise.
(printGetHelp): Likewise.
(handleGetCommand): Likewise.
(printSetHelp): Likewise.
(handleSetCommand): Likewise.
(printResetHelp): Likewise.
(handleResetCommand): Likewise.
(printInfoHelp): Likewise.
(handleInfoCommand): Likewise.
(printCheckHelp): Likewise.
(handleCheckCommand): Likewise.
(handle): Likewise.
(main): Likewise.
* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
Usage, Unknown, RConfigurationFatal, DCIncorrectValue,
DCSourceInternal, DCUnknownSettingWithName, VVPossibleValues,
CLNoInfo, CLValue, CLValueSource, CLDescription, CLUnknownCommand
CLUnknownProperty, CLNoIssuesFound, CLIncorrectValue,
CLListDescription, CLGetDescription, CLSetDescription,
CLResetDescription, CLInfoDescription, CLCheckDescription and
CLHelpDescription. Remove DCErrorInSetting and
DCUnknownSettingWithVal.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-12-17 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
(ControlPanel): Create and add the topPanel.
(createTopPanel): New method. Creates a JPanel to display the
description on top of the Control Panel.
(createNotImplementedPanel): Use the same way to load resource
as createTopPanel to avoid null pointer exceptions.
* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
CPMainDescriptionShort and CPMainDescriptionLong.
|
|
|
|
|
|
|
|
|
|
| |
2010-12-17 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/security/SecurityWarning.java
(shouldPromptUser): Use full privileges when checking configuration. This
value is not security-sensitive and the method is private.
* netx/net/sourceforge/jnlp/services/ServiceUtil.java
(shouldPromptUser): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-12-15 Omair Majid <[email protected]>
* Makefile.am
(install-exec-local): Install plugin.jar as data. If $(prefix)/jre/bin
exists, then install symlinks to real javaws and itweb-settings binaries
under it.
($(NETX_DIR)/launcher/%.o): Set system property java.icedtea-web.bin to
point to the installed location of the javaws binary.
* netx/net/sourceforge/jnlp/Launcher.java (launchExternal): Use the system
property java.icedtea-web.bin to locate javaws binary.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-12-14 Andrew John Hughes <[email protected]>
* Makefile.am:
(LAUNCHER_OBJECTS): Add jli_util.o, parse_manifest.o,
version_comp.o, wildcard.o.
(LAUNCEHR_FLAGS): Add -DEXPAND_CLASSPATH_WILDCARDS
as used in build of libjli in OpenJDK.
(LAUNCHER_LINK): Don't link to libjli.
* launcher/jli_util.c,
* launcher/parse_manifest.c,
* launcher/version_comp.c,
* launcher/wildcard.c:
Add source files from OpenJDK6 to match header files
already used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-13 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/Parser.java
(getInformationDesc): Fix whitespace in title, vendor and description
elements.
(getRelatedContent): Fix whitespace in title and description elements.
(getSpanText(Node)): Delegate to ...
(getSpanText(Node,boolean)): New method. Return the text in an element,
optionally fixing whitespace.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-12-10 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/tools/JarSigner.java: Remove unused variables
collator, VERSION, IN_KEYSTORE, IN_SCOPE, privateKey, store, keystore,
nullStream, token, jarfile, alias, storepass, protectedPath, storetype,
providerName, providers, providerArgs, keypass, sigfile, sigalg,
digestalg, signedjar, tsaUrl, tsaAlias, verify, debug, signManifest and
externalSF.
(getPublisher): Remove unnecessary cast.
(getRoot): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2010-12-08 Omair Majid <[email protected]>
* configure.ac: Add check for sun.misc.HexDumpEncoder
* netx/net/sourceforge/jnlp/security/CertsInfoPane.java: Import
sun.misc.HexDumpEncoder. Remove import of net.sourceforge.jnlp.tools.*
* netx/net/sourceforge/jnlp/tools/CharacterEncoder.java: Remove file.
* netx/net/sourceforge/jnlp/tools/HexDumpEncoder.java: Remove file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-12-08 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/JNLPFile.java
(getSupportedVersions): Remove method.
* netx/net/sourceforge/jnlp/Parser.java: Remove supportedVersions.
(Parser(JNLPFile,URL,Node,boolean,boolean)): Remove check for supported
version.
(getSupportedVersions): Remove method.
* netx/net/sourceforge/jnlp/resources/Messages.properties:
Remove PSpecUnsupported.
|
|
|
|
|
|
|
|
| |
2010-12-08 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/tools/JarRunner.java: Remove unused class.
* netx/net/sourceforge/jnlp/tools/JarSignerResources.java: Remove unused
class.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
2010-12-08 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/tools/KeyTool.java: Remove unused class.
|
| |
|
| |
|
|
|
|
| |
Corrected a typo in javadoc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-12-07 Omair Majid <[email protected]>
* Makefile.am
(PLUGIN_VERSION): Change to IcedTea-Web
($(PLUGIN_DIR)/%.o): Define PLUGIN_NAME and PACKAGE_URL.
* configure.ac
(AC_INTIT): Add url.
* plugin/icedteanp/IcedTeaNPPlugin.cc
(PLUGIN_NAME): Removed.
(PLUGIN_FULL_NAME): New definition.
(PLUGIN_DESC): Add link to IcedTea-Web wiki page.
(NP_GetValue): Return PLUGIN_FULL_NAME instead of PLUGIN_NAME.
|
|
|
|
|
| |
Added a new .settings directory which contains Eclipse
preferences for code style.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-December/011270.html
2010-12-03 Andrew John Hughes <[email protected]>
* netx/net/sourceforge/jnlp/cache/CacheUtil.java,
(getCachedResource(URL,Version,UpdatePolicy)):
Revert change to use toURI() for now.
See http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-December/011270.html
* netx/net/sourceforge/jnlp/cache/ResourceTracker.java,
(getCacheURL(URL)): Likewise.
* netx/net/sourceforge/jnlp/runtime/Boot.java,
(getFile()): Use toURI.toURL() to avoid broken escaping.
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
(initializeResources()): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-12-01 Andrew John Hughes <[email protected]>
* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
(getCachedResource(URL,Version,UpdatePolicy)): Use
toURI().toURL() to avoid broken escaping.
* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
(getCacheURL(URL)): Likewise.
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
(destroy()): Suppress deprecated warning from use of thread.stop().
Only use when interrupt() has already been tried.
* netx/net/sourceforge/jnlp/runtime/Boot.java:
(getFile()): Use toURI.toURL() to avoid broken escaping.
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
(initializeResources()): Likewise.
* netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java:
(askUser(String,int,String,String)): Use getPassword() to retrieve
a character array directly. Fix overrunning line.
* netx/net/sourceforge/jnlp/tools/JarSigner.java:
Remove unused IdentityScope variable, scope.
* netx/net/sourceforge/nanoxml/XMLElement.java:
(scanWhitespace(StringBuffer)): Don't fallthrough.
* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc:
Fix warnings where std::string is used in printf
rather than char* by invoking c_str on these strings.
* plugin/icedteanp/java/netscape/javascript/JSException.java:
(JSException()): Mark with @Deprecated annotation.
(JSException(String)): Likewise.
(JSException(String,String,int,String,int)): Likewise.
* plugin/icedteanp/java/netscape/javascript/JSObject.java:
(JSObject(String)): Remove redundant cast.
(getWindow(Applet)): Likewise.
* plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java:
(contexts): Initialise properly with generic typing.
* plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java:
(getMatchingMethod(Object[]): Add missing generic type to Class
instances.
(getMatchingConstructor(Object[])): Likewise.
(getCostAndCastedObject(Object,Class<?>)): Likewise.
(getMatchingMethods(Class<?>,String,int)): Likewise.
(getMatchingConstructors(Class<?>,int)): Likewise.
(getNum(String,Class<?>)): Likewise.
* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
(parseCall(String,ClassLoader,Class<V>)): Use c.cast rather than (V).
(handleMessage(int,String,AccessControlContext,String)): Add
missing generic type to Class instances. Remove redundant casts.
(prepopulateField(int,String)): Add missing generic type to Class instance.
* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
(createPanel(PluginStreamHandler,int,long,URL,Hashtable<String,String>)):
Add missing generic types on Hashtable and PrivilegedAction.
(initEventQueue(AppletPanel)): Add missing generic type to PrivilegedAction.
(splitSeparator(String,String)): Use an ArrayList rather than Vector
to avoid locking and use generic types.
(requests): Initialise properly with generic typing.
(applets): Likewise.
(appletStateChanged(AppletEvent)): Use setSize and getPreferredSize.
(handleMessage(int,String)): Remove redundant casts.
(audioClips): Add generic types.
(getAudioClip): Remove redundant cast.
(imageRefs): Add generic types.
(getCachedImageRef(URL)): Remove redundant cast.
(appletPanels): Add generic types.
(getApplets()): Likewise.
(getStream(String)): Mark with @Override.
(getStreamKeys()): Likewise.
(systemParam): Add generic types.
(printTag(PrintStream,Hashtable<String,String>)): Likewise.
Remove redundant casts.
(updateAtts()): Use getSize() and getInsets(). Use Integer.valueOf().
(appletReload()): Add generic types to PrivilegedAction.
(scanIdentifier(int[],Reader)): Use StringBuilder to avoid unnecessary
locking.
(skipComment(int[],Reader)): Likewise.
(scanTag(int[],Reader)): Likewise. Add generic types.
(parse(int,long,String,String,Reader,URL)): Use PrivilegedExceptionAction
to avoid catching and rethrowing the exception manually. Add generic types.
(parse(int,long,String,String,Reader,URL,PrintStream,PluginAppletPanelFactory)):
Add generic types. Remove unnecessary casts. Fix overlong lines.
* plugin/icedteanp/java/sun/applet/PluginMain.java:
(init()): Add generic types. Remove unnecessary cast.
* plugin/icedteanp/java/sun/applet/PluginObjectStore.java:
(objects): Initialise properly with generic typing.
(counts): Likewise.
(identifiers): Likewise.
* plugin/icedteanp/java/sun/applet/PluginProxySelector.java:
(get(Object)): Suppress unchecked warning arising from cast to K.
|
|
|
|
|
|
|
|
|
|
| |
2010-12-02 Omair Majid <[email protected]>
* Makefile.am (EXTRA_DIST): Add itweb-settings.desktop.in.
(all-local): Add itweb-settings.desktop.
(clean-desktop-files): Remove itweb-settings.desktop.
(itweb-settings.desktop): New target.
* itweb-settings.desktop.in: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-12-01 Andrew John Hughes <[email protected]>
* acinclude.m4:
(IT_CHECK_FOR_APPLETVIEWERPANEL_HOLE):
New check to ensure sun.applet.AppletViewerPanel
is public (via the patch in IcedTea, applet_hole.patch).
* configure.ac: Invoke the above macro. Don't call
IT_CHECK_FOR_CLASS for the same class (the above macro
handles this too).
* README: Mention this limitation.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1.8's rt.jar.
2010-11-30 Andrew John Hughes <[email protected]>
* Makefile.am:
(liveconnect): Add NETX_DIR first on the bootclasspath
so the plugin can be built against 1.7 and 1.8
branch releases of IcedTea6.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-11-26 Andrew John Hughes <[email protected]>
Make distcheck work.
* Makefile.am:
(EXTRA_DIST): Use relative paths for netx
and the plugin.
(clean-local): Remove empty stamps directory.
(install-exec-local): Use install to install
programs and data with the correct permissions.
(install-data-local): Likewise.
(uninstall-local): Remove documentation.
(netx): Use ${INSTALL_DATA} to add resources so
that read-only files aren't copied.
(extra-files): Likewise.
($(NETX_DIR)/launcher/javaws): Don't create empty launcher
directory.
(clean-docs): Remove empty docs directory.
(clean-bootstrap-directory): Remove empty bootstrap
directory.
|
|
|
|
| |
Also fixes inability to enter text in applet fields in certain cases
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-11-25 Andrew John Hughes <[email protected]>
* Makefile.am:
(JDK_UPDATE_VERSION): Document.
(NETX_PKGS): NetX packages for documentation.
(PLUGIN_PKGS): Same for the plugin.
(JAVADOC_OPTS): Common options passed to javadoc.
(JAVADOC_MEM_OPTS): Memory options passed to JVM
if possible (taken from the previous OpenJDK build).
(all-local): Depend on docs.stamp.
(clean-local): Add clean-docs.
(.PHONY): Add clean-docs, clean-plugin-docs, clean-netx-docs.
(install-exec-local): Install the documentation if enabled.
(docs): Meta-dependency for netx-docs and plugin-docs.
(clean-docs): Likewise but for clean targets.
(netx-docs): Build documentation for the NetX API.
(clean-netx-docs): Remove the NetX docs.
(plugin-docs): Build documentation for the plugin API.
(clean-plugin-docs): Likewise.
(bootstrap-directory): Link to javadoc binary.
* acinclude.m4:
(IT_FIND_JAVADOC): Find a javadoc binary, first checking
user input, then the JDK and the path for 'javadoc' and
'gjdoc'. Also sets JAVADOC_SUPPORTS_J_OPTIONS if it does.
* configure.ac:
Call IT_FIND_JAVADOC.
|
|
|
|
|
|
|
| |
2010-11-25 Omair Majid <[email protected]>
* Makefile.am (stamps/liveconnect.stamp): Set a bootclasspath to
avoid using an older netx.jar during compilation.
|