| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
2010-11-24 Matthias Klose <[email protected]>
* Makefile.am (javaws.desktop): Search javaws.desktop.in in $(srcdir).
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (LAUNCHER_LINK): Don't explicitely link with -lc,
link with -pthread instead of -lpthread.
(LAUNCHER_FLAGS): Add -pthread.
2010-11-24 Chris Coulson <[email protected]>
* Makefile.am (pluginappletviewer, javaws):
Fix linking with --as-needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-11-19 Omair Majid <[email protected]>
* Makefile.am (EXTRA_DIST): Replace javaws.desktop with
javaws.desktop.in. (all-local): Add javaws.desktop. (clean-local):
Add dependency on clean-desktop-files. (.PHONY): Add clean-desktop-
files. (clean-desktop-files): New target. (javaws.desktop): New
target. Use the absolute path to javaws binary in the Exec= line to
create the javaws.desktop file.
* javaws.desktop: Renamed to...
* javaws.desktop.in: New file. Does not contain Encoding key. Value
for Icon does not contain extension.
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java
(JAVA_ICON_NAME): Set to icon name without the extension.
|
|
|
|
|
|
| |
2010-11-08 Omair Majid <[email protected]>
* Makefile.am (JDK_UPDATE_VERSION): Define variable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-10-28 Andrew John Hughes <[email protected]>
* Makefile.am:
(NETX_BOOTSTRAP_CLASSES): Removed.
(PLUGIN_BOOTSTRAP_CLASSES): Likewise.
(NETX_SUN_CLASSES): Likewise.
(PLUGIN_SUN_CLASSES): Likewise.
* acinclude.m4:
(IT_CHECK_FOR_CLASS): Require detection
of javac and java. Put test class in
sun.applet to get access to some internal
classes. Change test to use forName for
the same reason. I expect to be able to
revert this when usage of sun.applet is fixed.
(IT_FIND_JAVA): Ported from IcedTea6. Change
to prioritise 'java' over 'gij'.
* configure.ac:
Add IT_CHECK_FOR_CLASS checks for classes which
are required but not found in JDKs other than
Oracle-based ones. Also check for java.* classes
missing from current versions of gcj but which
may appear there in future.
|
|
|
|
|
|
|
| |
2010-11-01 Omair Majid <[email protected]>
* Makefile.am (clean-IcedTeaPlugin): Only delete launcher directory if it
exists.
|
| |
|