| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
icedtea-web plugin
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-04-24 Omair Majid <[email protected]>
* Makefile.am
(RUNTIME): Add resources.jar.
(stamps/run-unit-test-code-coverage.stamp) [WITH_EMMA]: Add resouces.jar
to classpath.
(stamps/run-reproducers-test-code-coverage.stamp) [WITH_EMMA]: Include
resources.jar in classpath.
(stamps/bootstrap-directory.stamp): Create a link to resources.jar in
BOOT_DIR.
|
|
|
|
| |
Added example reproducer.
|
| |
|
|
|
|
|
|
| |
OutOfBoundsException for a corrupted path entry thrown in
CacheUtil.pathToURLPath(). This Exception was catched in
RessourceTracker.Downloader.run() and only printed in debug mode.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
2012-02-27 Matthias Klose <[email protected]>
* acinclude.m4 (IT_FIND_JAVA): Set VERSION_DEFS.
* Makefile.am ($(PLUGIN_DIR)/%.o): Pass $(VERSION_DEFS)
* IcedTeaNPPlugin.cc (PLUGIN_MIME_DESC): Define in terms
of HAVE_JAVA7.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2011-08-23 Omair Majid <[email protected]>
* Makefile.am: Remove JRE. Replace uses with SYSTEM_JRE_DIR instead. Also
replace uses of SYSTEM_JDK_DIR/jre with SYSTEM_JRE_DIR.
* acinclude.m4
(IT_CHECK_FOR_JRE): New macro.
(IT_FIND_JAVA): Require IT_CHECK_FOR_JRE. Use java binary from within the
JRE.
|
| |
|
|
|
|
| |
launching JNLP file (with test case and its resources)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
easy navigation inside tests-output file (transformed to html)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2011-04-28 Omair Majid <[email protected]>
* Makefile.am (javaws, itweb_settings): New variables.
(edit_launcher_script, all-local, install-exe-local)
(uninstall-local, clean-launchers, javaws.desktop)
(itweb-settings.desktop): Replace all uses of javaws and
itweb-settings with the new variables.
(launcher.build/javaws): Replace with ...
(launcher.build/$(javaws)): New target.
(launcher.build/itweb-settings): Replace with...
(launcher.build/$(itweb-settings)): New target.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* Makefile.am: Fix comment explaining reasons for setting
JDK_UPDATE_VERSION.
|
|
|
|
|
|
| |
2011-03-30 Omair Majid <[email protected]>
* Makefile.am: Document reason for using bootclasspath.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
2011-03-15 Omair Majid <[email protected]>
* Makefile.am (LAUNCHER_BOOTCLASSPATH, PLUGIN_BOOTCLASSPATH)
(javaws.desktop, itweb-settings.desktop): Remove DESTDIR.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
2011-02-23 Omair Majid <[email protected]>
* Makefile.am: Add missing slash to JRE.
|
|
|
|
|
|
| |
2011-02-22 Omair Majid <[email protected]>
* Makefile.am (uninstall-local): Fix typo in PACKAGE_NAME.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Boot.java
Use PACKAGE_NAME and FULL_VERSION as defined during build time rather than
hardcoding them in net.sourceforge.jnlp.runtime.Boot. Generate a manifest file
at build time, and define Implementation-Title and Implementation-Version to
PACKAGE_NAME and FULL_VERSION. Use these values from the manifest file when
displaying project name and version, rather than hardcoding "netx" and 0.5.
2011-01-28 Omair Majid <[email protected]>
* Makefile.am: Move ICEDTEA_REV, ICEDTEA_PKG to acinclude.m4. Use
FULL_VERSION.
(stamps/netx-dist.stamp): Depend on netx.manifest. Use this file as the
jar file manifest.
* acinclude.m4 (IT_SET_VERSION): New macro. Defines FULL_VERSION.
* configure.ac: Add netx.manifest to AC_CONFIG_FILES. Invoke
IT_SET_VERSION.
* netx.manifest.in: New file.
* netx/net/sourceforge/jnlp/runtime/Boot.java: Set name and version using
information from the manifest file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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.
|