2004-03-07  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletTag.java: Add dimensions to the paramters.
2004-03-07  Michael Koch  <konqueror@gmx.de>

	* HACKING: Moved description on how to get Mozilla CVS compiled to README.Mozilla-CVS
	* README: Updated to depend on mozilla 1.7a+ and GCC 3.4.0 branch or better.
	* README.Mozilla-CVS: New file.
2004-03-07  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletStub.java: Reordered import statements

2004-03-07  Michael Koch  <konqueror@gmx.de>

	* configure.ac: Update version to 0.1.3 for next release.

2004-03-05  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* INSTALL: Add Prerequisite Tools section.  Warn about setting
	PKG_CONFIG_PATH if pkgconfig is installed in a non-standard
	prefix.
	* README: Remove tools recommendations and plan.

	* autogen.sh: Remove -I option to aclocal.
	* libtool.m4: Remove file.
	* pkg.m4: Remove file.

	* autogen.sh: Re-add 2003-07-27 fix to work around libtool-1.4.3
	-DPIC bug.

	* autogen.sh: Fix typo.

	* pkg.m4: New file.

2004-03-02  Michael Koch  <konqueror@gmx.de>

	* configure.ac: Bump version to 0.1.2.

2004-03-02  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/PluginAppletViewer.java:
	Add ConsoleDialog and show it at startup.

2004-03-02  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am: Added AppletWarning.java and ConsoleDialog.java
	* src/gnu/gcjwebplugin/ConsoleDialog.java: Much improved.

2004-03-01  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletStub.java,
	src/gnu/gcjwebplugin/AppletTag.java,
	src/gnu/gcjwebplugin/AppletViewer.java,
	src/gnu/gcjwebplugin/PluginAppletContext.java,
	src/gnu/gcjwebplugin/PluginAppletViewer.java,
	src/gnu/gcjwebplugin/PluginAppletWindow.java,
	src/gnu/gcjwebplugin/StandaloneAppletContext.java,
	src/gnu/gcjwebplugin/StandaloneAppletViewer.java,
	src/gnu/gcjwebplugin/StandaloneAppletWindow.java:
	Reworked imports.

2004-03-01  Michael Koch  <konqueror@gmx.de>

	* src/gnu/getopt/Makefile.am: Use $(GCJ) instead of 'gcj' directly.

2004-02-11  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletLoader.java:
	Removed redundant semicolon.

2004-02-11  Michael Koch  <konqueror@gmx.de>

	* src/gnu/getopt/Makefile.am: Removed unused GCJH definition.
	Put all *.properties files into EXTRA_DIST.

2004-02-11  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am: Added pluginDebug.h pluginMeta.h.

2004-02-11  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am: Define GCJH and use it to allow the user to
	overwrite it at compile time.

2004-02-05  Michael Koch  <konqueror@gmx.de>

	* configure.ac: Updated version for next release.

2004-02-05  Michael Koch  <konqueror@gmx.de>

	* autogen.sh: Call libtoolize. Use local m4 files with aclocal.
	* tests/.cvsignore: New file.

2004-01-31  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* testsuite.at: Include new tests.
	* tests/TestAppletNamed1.java (init): Don't call setName.
	* tests/TestAppletNamed2.java: Likewise.
	* tests/TestAppletNamed1.class: Regenerate.
	* tests/TestAppletNamed2.class: Likewise.
	* tests/t_appletcontext.at: Don't hard-code PWD.
	* tests/TestAppletCodebaseOne1.class,
	tests/TestAppletCodebaseOne1.java,
	tests/TestAppletCodebaseOne2.class,
	tests/TestAppletCodebaseOne2.java,
	tests/TestAppletCodebaseTwo.class,
	tests/TestAppletCodebaseTwo.java,
	tests/t_appletcontextcodebase.at,
	tests/t_appletcontextnocodebase.at: New files.

2004-01-30  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* tests/TestAppletContext.html, tests/TestAppletNamed1.class,
	tests/TestAppletNamed1.java, tests/TestAppletNamed2.class,
	tests/TestAppletNamed2.java, tests/TestAppletNamed3.class,
	tests/TestAppletNamed3.java, tests/TestAppletStub.class,
	tests/TestAppletStub.java, tests/t_appletcontext.at,
	tests/t_appletstub.at: New files.
	* src/gnu/gcjwebplugin/AppletStub.java,
	src/gnu/gcjwebplugin/AppletTag.java,
	src/gnu/gcjwebplugin/AppletViewer.java,
	src/gnu/gcjwebplugin/PluginAppletContext.java,
	src/gnu/gcjwebplugin/PluginAppletViewer.java,
	src/gnu/gcjwebplugin/PluginAppletWindow.java,
	src/gnu/gcjwebplugin/StandaloneAppletContext.java,
	src/gnu/gcjwebplugin/StandaloneAppletViewer.java,
	src/gnu/gcjwebplugin/StandaloneAppletWindow.java: Make
	everything package-private, except those methods that are
	required by inheritance or interface to be public.
	* src/gnu/gcjwebplugin/PluginAppletWindow.java (setHandle): Add
	applet to context before creating stub based on context's
	contents.
	* src/gnu/gcjwebplugin/StandaloneAppletViewer.java
	(StandaloneAppletViewer): Call new StandaloneAppletWindow
	constructor.
	* src/gnu/gcjwebplugin/StandaloneAppletWindow.java
	(test_window_count): New field.
	(StandaloneAppletWindow): Add this window to the list of applet
	windows.  Add this window's applet to context.  Check
	GCJAPPLETVIEWER_NOGUI's value against test_window_count to
	decide whether or not to exit.
	* tests/t_classfile.at, tests/t_classfilenoext.at,
	tests/t_cmdlinearchive.at, tests/t_cmdlinecode.at,
	tests/t_cmdlinecodebase.at, tests/t_cmdlineparam.at,
	tests/t_cmdlinewidthheight.at,
	tests/t_dimensionsnooverrideclass.at,
	tests/t_dimensionsnooverridecode.at,
	tests/t_dimensionsoverride.at, tests/t_parseapp.at,
	tests/t_parseapplet.at, tests/t_parsearchives.at,
	tests/t_parseembed.at, tests/t_parseembedjavaattrs.at,
	tests/t_parseobject.at, tests/t_parseobjectjavaattrs.at,
	tests/t_parseparams.at, tests/t_parsetwoapplets.at: Set
	GCJAPPLETVIEWER_NOGUI to number of windows that would be shown,
	were this not a test.

2004-01-20  Michael Koch  <konqueror@gmx.de>

	* INSTALL, README: Updated autoconf, automake and libtool versions.
	* autogen.sh: Removed libtoolize call, it's automatically called by
	autoconf/automake.
	* configure.ac: Updated autoconf/automake versions. Replaced
	AC_HELP_STRING by AS_HELP_STRING.
	* pkg.m4: Removed.

2004-01-08  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* TODO: Update.

2004-01-07  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/gcjwebplugin.cc (GCJ_New): Release references to peer and
	pluginTagInfo2 objects.

2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/gnu/gcjwebplugin/PluginAppletContext.java,
	src/gnu/gcjwebplugin/StandaloneAppletContext.java: New files.
	* src/Makefile.am (gcjappletviewer_SOURCES): Add
	PluginAppletContext.java and StandaloneAppletContext.java.
	* src/gnu/gcjwebplugin/AppletStub.java: Fix indentation.
	* src/gnu/gcjwebplugin/AppletViewer.java: Add imports.
	* src/gnu/gcjwebplugin/PluginAppletViewer.java: Don't implement
	AppletContext.
	* src/gnu/gcjwebplugin/PluginAppletWindow.java (contexts): New
	field.
	(setHandle): Create new PluginAppletContext and add it to
	contexts.
	* src/gnu/gcjwebplugin/StandaloneAppletViewer.java: Don't
	implement AppletContext.
	(StandaloneAppletViewer): Pass appletWindows to
	StandaloneAppletWindow constructor.
	* src/gnu/gcjwebplugin/StandaloneAppletWindow.java (contexts,
	status): New fields.
	(StandaloneAppletWindow): Change AppletViewer parameter to List
	of applet windows.  Create new StandaloneAppletContext and add
	it to contexts.  Add status bar to window.
	(showStatus): New method.
	* src/gnu/gcjwebplugin/AppletContextImpl.java,
	src/gnu/gcjwebplugin/natAppletContextImpl.cc: Remove files.

	* src/gnu/gcjwebplugin/AppletStubImpl.java,
	src/gnu/gcjwebplugin/natAppletStubImpl.cc: Remove files.
	* src/gnu/gcjwebplugin/AppletStub.java: New file.
	* src/Makefile.am (gcjappletviewer_SOURCES): Add
	AppletStub.java.
	* src/gnu/gcjwebplugin/PluginAppletWindow.java: Remove
	EmbeddedWindow FIXME.  Don't implement AppletStub.
	(PluginAppletWindow): Don't set size of applet window.  Set
	applet stub.
	* src/gnu/gcjwebplugin/StandaloneAppletWindow.java
	(StandaloneAppletWindow): Set applet stub.
	* tests/TestApplet.java (init): Don't set size of applet.

2004-01-03  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/gcjwebplugin.cc (GCJ_Destroy): Send destroy message to
	gcjappletviewer.

	* src/gnu/gcjwebplugin/PluginAppletWindow.java: New file.
	* src/gnu/gcjwebplugin/StandaloneAppletViewer.java: Likewise.
	* src/gnu/gcjwebplugin/StandaloneAppletWindow.java: Likewise.
	* src/Makefile.am (gcjappletviewer_SOURCES): Add new files.
	* src/gnu/gcjwebplugin/AppletViewer.java (appletWindows): Remove
	field.
	(AppletViewer): Move logic to StandaloneAppletWindow's
	constructor.
	(main): Move command line parsing logic to
	StandaloneAppletWindow's constructor.  Start the
	PluginAppletViewer if in plugin mode; create a new
	StandaloneAppletViewer if in standalone mode.
	* src/gnu/gcjwebplugin/PluginAppletViewer.java: Move
	PluginInstance logic to PluginAppletWindow.  Stub out
	AppletContext methods.
	(start): Handle width and height protocol keys.

	* src/gcjwebplugin.cc: Include stdlib.h. 
	(GCJ_SetWindow): Check for NULL instance, window and
	window->window values.  Only send xid, width and height to
	gcjappletviewer when necessary.

	* tests/t_cmdlineparams.at: Remove.

	* testsuite.at: Don't include tests/t_help.at.  Include new
	tests.
	* tests/t_help.at: Rename ...
	* tests/t_cmdlinehelp.at: New test.
	* tests/t_cmdlineparam.at, tests/t_cmdlineplugin.at: New tests.

2004-01-02  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/gcjwebplugin.cc: Indent GPL header.
	(NP_Shutdown): Check that output_to_appletviewer and
	input_from_appletviewer are non-NULL before shutting down
	GIOChannels.

2003-12-30  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* tests/t_cmdlinearchive.at,
	tests/t_dimensionsnooverrideclass.at,
	tests/t_dimensionsnooverridecode.at,
	tests/t_dimensionsoverride.at: New tests.
	* testsuite.at: Include new tests.
	* src/gnu/gcjwebplugin/AppletViewer.java (main): Don't override
	tag dimensions if --code option is given.  Only print tags after
	overriding dimensions.

	* Makefile.am (EXTRA_DIST): Add new test files.
	* tests/t_parsehtml.at: Rename ...
	* tests/t_parseapplet.at: New test.
	* tests/t_classfile.at, tests/t_classfilenoext.at,
	tests/t_cmdlinecode.at, tests/t_cmdlinecodebase.at,
	tests/t_cmdlineparams.at, tests/t_cmdlinewidthheight.at,
	tests/t_parseapp.at, tests/t_parseapplet.at,
	tests/t_parsearchives.at, tests/t_parseembed.at,
	tests/t_parseembedjavaattrs.at, tests/t_parseobject.at,
	tests/t_parseobjectjavaattrs.at, tests/t_parseparams.at,
	tests/t_parsetwoapplets.at: New tests.
	* tests/TestApplet2$1.class, tests/TestApplet2$2.class,
	tests/TestApplet2.class, tests/TestApplet2.java: New files.
	* testsuite.at: Include new tests.

2003-12-28  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/Makefile.am (gcjappletviewer_SOURCES): Add
	natAppletViewer.cc.
	(gcjappletviewer_CXXFLAGS, gcjappletviewer_DEPENDENCIES): New
	variable.
	Remove all targets and variables related to
	libgnugcjwebplugin.la.
	Add CNI targets for natAppletViewer.cc.
	* src/gnu/gcjwebplugin/natAppletViewer.cc: New file.
	* src/gnu/gcjwebplugin/AppletTag.java: Remove spaces around
	equal signs.
	* src/gnu/gcjwebplugin/AppletViewer.java (getenv): New method.
	(ViewerWindow.ViewerWindow): Check GCJAPPLETVIEWER_NOGUI
	environment variable.
	* testsuite.at: Include t_parsehtml.at.
	* tests/t_help.at: Fix comment.
	* tests/t_parsehtml.at: New test.
	* tests/TestApplet.class, tests/TestApplet$1.class,
	tests/TestApplet$2.class, TestApplet.java: New files.

2003-12-24  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* testsuite.at: t_run.at -> t_help.at.

	* .cvsignore: Add package.m4 and testsuite.
	* Makefile.am (EXTRA_DIST): Add autotest files.
	(TESTS, MOSTLYCLEANFILES, DISTCLEANFILES): New variables.
	(package.m4, testsuite): New targets.
	* configure.ac (AC_PREREQ): New macro call.
	(AC_INIT): Add bug report address.
	(AC_CONFIG_TESTDIR): New macro call.
	(AC_CONFIG_FILES, AC_OUTPUT): New macro calls.
	* testsuite.at: New file.
	* tests: New directory.
	* tests/atconfig.in, tests/atlocal.in, tests/t_help.at: New
	files.

2003-11-27  Michael Koch  <konqueror@gmx.de>

	* src/pluginMeta.h: Add defines for XPCOM plugin.

2003-11-27  Michael Koch  <konqueror@gmx.de>

	* .cvsignore: Ignore standard build dir.
	* src/gnu/gcjwebplugin/oji/GCJPluginInstance.cc: Cleaned XPCOM stuff,
	start gcjappletviewer process like it is done in the NS4API stuff.
	(Perhaps this code should be shared somehow)

2003-11-27  Michael Koch  <konqueror@gmx.de>

	* configure.ac: Bump version to 0.1.0. This is preparation for the
	next release.

2003-11-27  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/oji/GCJJVMPrefsWindow.cc
	(AddRef): Removed implementation and used Mozilla macro to implement
	it.
	(Release): Likewise.
	* src/gnu/gcjwebplugin/oji/GCJSecureEnv.cc
	(AddRef): Removed implementation and used Mozilla macro to implement
	it.
	(Release): Likewise.

2003-11-26  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am (gcjappletviewer_SOURCES):
	Added gnu/gcjwebplugin/PluginAppletViewer.java.
	(EXTRA_DIST): New variable with OJI headers.
	(.java.class): Fixed classpath for srcdir != builddir.
	

2003-11-26  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am: Revert Thomas commit.

2003-11-26  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/oji/GCJJVMConsole.cc
	(NS_IMPL_ISUPPORTS1): Moved around.

2003-11-26  Michael Koch  <konqueror@gmx.de>

	* Makefile.am (EXTRA_DIST): Removed files that dont exist anymore.

2003-11-26  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/oji/GCJPluginFactory.cc: Removed IID
	definitions, added nsIJVMPlugin and nsIFactory to NS_IMPL_SUPPORTS
	macro.

2003-11-25  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/gnu/gcjwebplugin/AppletViewer.java (main): Add support for --code
	and --codebase options.
	(printHelpMessage): Add new options to help message.

2003-11-21  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/Makefile.am: Comment out libgnugcjwebplugin.la build rules.
	(gcjappletviewer_SOURCES): Add PluginAppletViewer.java.
	* src/gnu/gcjwebplugin/AppletViewer.java: Remove non-static
	AppletViewer fields.
	(ViewerWindow): Pass AppletTag to constructor.  Create, initialize and
	start applet.
	(AppletViewer): Remove constructor.
	(main): Make minimum width and height 1.
	(appletWindows): New static field.
	* src/gnu/gcjwebplugin/PluginAppletViewer.java: New file.

2003-11-18  Michael Koch  <konqueror@gmx.de>

	* Makefile.am: Added subdir-objects option.

2003-11-18  Michael Koch  <konqueror@gmx.de>

	* src/GCJJVMConsole.cc,
	src/GCJJVMConsole.h,
	src/GCJJVMPrefsWindow.cc,
	src/GCJJVMPrefsWindow.h,
	src/GCJPluginFactory.cc,
	src/GCJPluginFactory.h,
	src/GCJPluginInstance.cc,
	src/GCJPluginInstance.h,
	src/GCJSecureEnv.cc,
	src/GCJSecureEnv.h,
	src/Makefile.am,
	src/oji.cc,
	src/oji.h,
	src/gnu/gcjwebplugin/Makefile.am,
	src/gnu/gcjwebplugin/oji/.cvsignore,
	src/gnu/gcjwebplugin/oji/GCJJVMConsole.cc,
	src/gnu/gcjwebplugin/oji/GCJJVMConsole.h,
	src/gnu/gcjwebplugin/oji/GCJJVMPrefsWindow.cc,
	src/gnu/gcjwebplugin/oji/GCJJVMPrefsWindow.h,
	src/gnu/gcjwebplugin/oji/GCJPluginFactory.cc,
	src/gnu/gcjwebplugin/oji/GCJPluginFactory.h,
	src/gnu/gcjwebplugin/oji/GCJPluginInstance.cc,
	src/gnu/gcjwebplugin/oji/GCJPluginInstance.h,
	src/gnu/gcjwebplugin/oji/GCJSecureEnv.cc,
	src/gnu/gcjwebplugin/oji/GCJSecureEnv.h,
	src/gnu/gcjwebplugin/oji/oji.cc,
	src/gnu/gcjwebplugin/oji/oji.h:
	Moved OJI stuff into its own directory.

2003-11-18  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletViewer.java:
	Directly import used classes.

2003-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/gcjwebplugin.cc (send_message_to_appletviewer): Remove value
	parameter.
	(struct GCJPluginData): Remove output_to_appletviewer and
	input_from_appletviewer fields.  Add instance_id field.  Remove const
	specifier on documentbase.
	(instance_counter): New variable.
	(gcjplugindata_new, gcjplugindata_destroy): New functions.
	(GCJ_New): Initialize instance_id.
	(NP_Shutdown): Send shutdown message to applet viewer.  Close
	input_from_appletviewer and output_to_appletviewer GIOChannels.
	* src/gnu/gcjwebplugin/AppletViewer.java (PluginInstance.start):
	Move check for "shutdown" to ...
	(PluginInstance.read): Check for "shutdown".

	* src/gcjwebplugin.cc: Don't pass instance to send_message and
	receive_message functions.  Make output_to_appletviewer and
	input_from_appletviewer GIOChannels global.
	(GCJ_New): Add hack to get documentbase.  Build tag string to pass to
	gcjappletviewer.  Move applet viewer spawning code to ...
	(GCJ_Initialize): Spawn applet viewer process.
	* src/gnu/gcjwebplugin/AppletTag.java: Add program name to license.
	Remove exception clause.
	(locationToURL): New method.
	(parseAppletTags(URL)): Rename to ...
	(parseNextTag): New method.
	(parseAppletTags(String)): Update to call parseNextTag.
	* src/gnu/gcjwebplugin/AppletViewer.java: Add program name to
	license.  Remove exception clause.
	(AppletViewer()): New constructor.
	(ViewerWindow.ViewerWindow): Call addWindowListener.
	(main): Handle class files with no .class extension.
	(PluginAppletViewer): New class.

	* src/gnu/gcjwebplugin/AppletTag.java
	(AppletTag(String,String,List,Dimension)): Allow the user to specify
	the class name on the command line.

2003-11-12  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletContextImpl.java: Fixed typo.

2003-11-10  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/gnu/gcjwebplugin/AppletViewer.java: Update license.
	(main): Remove paramArray.
	* src/gnu/gcjwebplugin/AppletTag.java: Handle OBJECT, EMBED and APP
	tags.

2003-11-09  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletViewer.java
	(main): Added comments to command line parsing,
	implemented --plugin.

2003-11-09  Michael Koch  <konqueror@gmx.de>

	* src/gcjwebplugin.cc: appletviewer -> gcjappletviewer,
	GetMimeDescription -> GetMIMEDescription.

2003-11-09  Michael Koch  <konqueror@gmx.de>

	* src/gcjwebplugin.cc: appletviewer -> gcjappletviewer.

2003-11-09  Michael Koch  <konqueror@gmx.de>

	* src/pluginDebug.h: Split text and argument with ':'
	in debug output.

2003-11-09  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletViewer.java:
	Replaced System.out with System.err.

2003-11-09  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletLoader.java: Reworked imports.

2003-11-09  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletTag.java: Replaced System.out with
	System.err. Reformated toString().

2003-11-09  Michael Koch  <konqueror@gmx.de>

	* src/gcjwebplugin.cc: Don't give --code=... to appelt viewer.

2003-11-08  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletViewer.java:
	Split Frame functionality into inner class ViewerWindow.
	Added new inner class PluginWindow.

2003-11-08  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am: Install gcjappletviewer.

2003-11-08  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/gnu/gcjwebplugin/AppletTag.java: Update license.
	(AppletTag(String,String,String[],Dimension): New constructor.
	(parseAppletTags(String): Remove .class clause.
	* src/gnu/gcjwebplugin/AppletViewer.java (main): Add command line
	option handling.
	(printHelpMessage): New method.

2003-11-07  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/gnu/gcjwebplugin/AppletTag.java: Parse archive element.
	Finish codebase prepending method.
	* src/gnu/gcjwebplugin/AppletViewer.java (AppletViewer, createApplet):
	New methods.
	(main): Create applet viewers.

2003-11-06  Michael Koch  <konqueror@gmx.de>

	* src/.cvsignore: Ignore gcjappletviewer not appletviewer.

2003-11-06  Michael Koch  <konqueror@gmx.de>

	* src/gnu/gcjwebplugin/AppletWarning.java
	(AppletWarning): Better implementation.
	(main): Removed.

2003-11-06  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am: Avoid versioned plugin library.
	* src/gnu/gcjwebplugin/.cvsignore: Added .dirstamp.
	* src/gnu/getopt/.cvsignore: Added properties.jar.

2003-11-06  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/Makefile.am (gcjappletviewer_SOURCES): Add AppletTag.java.
	* src/gnu/gcjwebplugin/AppletTag.java: New file.
	* src/gnu/gcjwebplugin/AppletViewer.java: Remove old implementation.
	Implement command line parsing.
	* src/pluginDebug.h: Replace stdio.h with glib.h.  Use g_printerr for
	all debug messages.

2003-11-05  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginFactory.cc,
	src/gcjwebplugin.cc: Removed plugin meta data
	* src/pluginMeta.h: New file with plugin meta data.

2003-11-04  Michael Koch  <konqueror@gmx.de>

	* README.Mozilla: Obsolete, removed.

2003-11-03  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am: Renamed appletviewer to gcjappletviewer.
	* src/gcjwebplugin.cc: Likewise.
	* src/gnu/gcjwebplugin/AppletViewer.java: Renamed appletviewer to
	gcjappletviewer. Reworks import statments.

2003-11-01  Michael Koch  <konqueror@gmx.de>

	* configure.ac,
	src/Makefile.am,
	src/gnu/Makefile.am,
	src/gnu/applet/.cvsignore,
	src/gnu/applet/AppletContextImpl.java,
	src/gnu/applet/AppletLoader.java,
	src/gnu/applet/AppletStubImpl.java,
	src/gnu/applet/AppletViewer.java,
	src/gnu/applet/AppletWarning.java,
	src/gnu/applet/ConsoleDialog.java,
	src/gnu/applet/ContextManager.java,
	src/gnu/applet/Makefile.am,
	src/gnu/applet/PreferencesDialog.java,
	src/gnu/applet/natAppletContextImpl.cc,
	src/gnu/applet/natAppletStubImpl.cc,
	src/gnu/gcjwebplugin/.cvsignore,
	src/gnu/gcjwebplugin/AppletContextImpl.java,
	src/gnu/gcjwebplugin/AppletLoader.java,
	src/gnu/gcjwebplugin/AppletStubImpl.java,
	src/gnu/gcjwebplugin/AppletViewer.java,
	src/gnu/gcjwebplugin/AppletWarning.java,
	src/gnu/gcjwebplugin/ConsoleDialog.java,
	src/gnu/gcjwebplugin/ContextManager.java,
	src/gnu/gcjwebplugin/Makefile.am,
	src/gnu/gcjwebplugin/PreferencesDialog.java,
	src/gnu/gcjwebplugin/natAppletContextImpl.cc,
	src/gnu/gcjwebplugin/natAppletStubImpl.cc:
	Moved all in gnu.applet namespace to gnu.gcjwebplugin
	to not get problems with other software.

2003-11-01  Michael Koch  <konqueror@gmx.de>

	* src/gcjwebplugin.cc: Moved debug macros to pluginDebug.h.
	* src/pluginDebug.h: Extended debug macros and support non-debug builds.

2003-10-27  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* HACKING: Add make -s step to Mozilla build instructions.

2003-10-25  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/gcjwebplugin.cc (GCJ_New): Search PATH for appletviewer.
	* src/GCJPluginInstance.cc (SetWindow): Likewise.
	* INSTALL: Add section on loading plug-in.

	* HACKING, INSTALL: New files.
	* README: Point user to HACKING.
	* README.Mozilla: Move to HACKING.
	* configure.ac: Clean up AC_ macro calls.  Default to Netscape API.
	* src/Makefile.am: Use XPCOM conditional.

	* COPYING.MPL, README.License, src/npunix.c: Remove files.
	* src/Makefile.am (libgcjwebplugin_la_SOURCES): Remove npunix.c.
	* src/gcjwebplugin.cc (PIPE_OUTPUT_DEBUG, PIPE_INPUT_DEBUG): New
	macros.
	(browserFunctions): New global variable.
	(struct GCJPluginData): Change width, height and xid fields to char
	pointers.  Add input and output GIOChannels.
	(send_message_to_appletviewer, receive_message_from_appletviewer): New
	functions.
	(NPP_GetMIMEDescription, NPP_Initialize, NPP_Shutdown): Remove
	functions.
	(NPP_GetValue, NPP_New, NPP_Destroy, NPP_SetWindow, NPP_NewStream,
	NPP_StreamAsFile, NPP_DestroyStream, NPP_WriteReady, NPP_Write,
	NPP_Print, NPP_HandleEvent, NPP_URLNotify, NPP_GetJavaClass): Change
	NPP_ prefix to GCJ_.
	(NP_Initialize, NP_GetMIMEDescription, NP_GetValue, NP_Shutdown): New
	functions.
	(GCJ_New): Spawn appletviewer.
	(GCJ_GetValue): Move name and description tests to NP_GetValue.
	(GCJ_SetWindow): Send width, height and xid to appletviewer process.
	* src/gnu/applet/AppletLoader.java (loadApplet(URL,String),
	loadApplet()): Print debug messages to System.err.
	* src/gnu/applet/AppletViewer.java (pluginmode): New field.
	(pluginMode, createEmbeddedWindow): New methods.
	(showApplet): Don't set frame size.
	(parseArgs): Remove support for xid option.  Add support for plugin
	option.
	(main): Add support for communication with plug-in via pipes.
	* TODO: Remove note about implementing embedded windows in libgcj.

2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* src/Makefile.am (appletviewer_LDADD): Add gnu.getopt property bundle
	object.
	* src/gnu/getopt/Makefile.am (libgnugetopt_la_LIBADD): Remove
	properties.o.
	(libgnugetopt_la_DEPENDENCIES): Add properties.o.
	(properties.o): Remove classpath and resource options from compile line.

	* src/gnu/getopt/Getopt.java: Make MessagesBundle a core
	resource.
	* src/gnu/getopt/LongOpt.java: Likewise.
	* src/gnu/getopt/Makefile.am: Link MessagesBundle property
	files into libgnugetopt convenience library.

2003-10-10  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* README: Remove note about needing to patch Mozilla.
	* src/GCJPluginFactory.cc (PLUGIN_MIME_DESC): Include all MIME
	types supported by Sun's plugin.

2003-09-17  Michael Koch  <konqueror@gmx.de>

	* src/.cvsignore: added appletviewer.

2003-09-14  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* configure.ac: Add check for GLib package.
	(AC_OUTPUT): Add getopt Makefile.
	* src/GCJPluginInstance.cc: Replace JNI implementation with
	stub implementation that spawns appletviewer process.
	* src/gcjwebplugin.cc: Likewise.
	* src/GCJPluginInstance.h: Replace JNI object pointers with
	pointers to applet tag information.
	* src/Makefile.am: Add appletviewer target.  Add GLib flags to
	libgcjwebplugin compile and link lines.
	* src/gnu/Makefile.am (SUBDIRS): Add getopt.
	* src/gnu/applet/AppletLoader.java: Replace EmbeddedWindow
	declarations with Frame declarations.
	* src/gnu/applet/AppletViewer.java: New file.
	* src/gnu/getopt: New directory.

2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* README.Mozilla: Add section on debugging gcjwebplugin in
	Mozilla.

2003-07-30  Michael Koch  <konqueror@gmx.de>

	* src/gcjwebplugin.cc
	(NPP_New): Implemented.
	(NPP_Destroy): Don't return error.
	(NPP_NewStream): Tell web browser to download file for us.
	(NPP_StreamAsFile): Added skeleton of implementation.
	(NPP_DestroyStream): Don't return error.

2003-07-30  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am: Use test_CXXFLAGS for C++ source of test.cc instead
	of test_CFLAGS.

2003-07-30  Michael Koch  <konqueror@gmx.de>

	* AUTHORS: Added Thomas Fitzsimmons
	* README.License: Added file to show files licensed different.
	* configure.ac: Added --enable-cni (not used yet), rewrote  some
	macros to be more readable, default path of --with-plugin-dir is now
	$HOME/.mozilla/plugins (we can later change this to a global default).
	* Makefile.am (EXTRA_DIST): Added README.License and COPYING.MPL.

2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* configure.ac: Remove redundant macros.

2003-07-29  Michael Koch  <konqueror@gmx.de>

	* configure.ac: Prepare for version 0.0.3.

2003-07-29  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginInstance.cc
	(GetValue): Fixed embedding.

2003-07-29  Michael Koch  <konqueror@gmx.de>

	* configure.ac: Increase version number 0.0.2.

2003-07-29  Michael Koch  <konqueror@gmx.de>

	* src/CNIEmbeddedWindow.cc,
	src/CNIEmbeddedWindow.h: Removed.
	* COPYING.MPL: Mozilla Public License.
	* src/gcjwebplugin.cc,
	src/npunix.c: New files for support of Netscape API.
	* src/Makefile.am: Compile files for Netscape API if configured.

2003-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* configure.ac: Manually substitue LIBGCJ_LIBS and
	LIBGCJ_CFLAGS.
	* src/Makefile.am: Replace -lgcj with $(LIBGCJ_LIBS).

2003-07-28  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am (EXTRA_DIST): New variable to include all header
	files.

2003-07-28  Michael Koch  <konqueror@gmx.de>

	* Makefile.am (EXTRA_DIST): Added README.Mozilla and removed
	README.gcj.

2003-07-28  Michael Koch  <konqueror@gmx.de>

	* README: Edited to make clear to use --with-plugin-dir configure
	option now.

2003-07-28  Michael Koch  <konqueror@gmx.de>

	* src/oji.cc: Show warnings when compiling non implemented code.

2003-07-28  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginFactory.h: Removed include of string.
	* src/GCJPluginFactory.cc: Added include of stdlib.h.

2003-07-28  Michael Koch  <konqueror@gmx.de>

	* src/jniHelp.h: Added new macros to make JNI usage simpler.
	* src/GCJJVMConsole.cc,
	src/GCJJVMPrefsWindow.cc,
	src/GCJPluginInstance.cc:
	Use new JNI macros.

2003-07-28  Michael Koch  <konqueror@gmx.de>

	* .cvsignore: Added more files to ignore (needed for libtool 1.5)
	* configure.ac: Added --enable-netscape-api (not used yet) and
	--plugin-dir, --enable-debug
	* src/Makefile.am: Install the plugin into the dir specified by
	--plugin-dir.

2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* pkg.m4, libtool.m4: New files.
	* .cvsignore: Add config.sub and config.guess.
	* autogen.sh: Add . to aclocal's m4 path.  Work around
	libtool-1.4's -DPIC bug.

	* autogen.sh: Remove specific versions from autotool commands.
	* configure.ac: Require automake 1.6.0.  Don't hardcode
	mozilla-config location.
	* src/GCJPluginInstance.cc: Include npapi.h.
	(Initialize): Use m_appletLoader member variable rather than
	local appletLoader variable.
	(GetValue): Add check for NPPVpluginNeedsXEmbed.
	(SetWindow): Implement.
	* src/GCJPluginInstance.h (m_appletLoader): New member variable.
	* src/Makefile.am (libgcjwebplugin_la_LDFLAGS): Don't link in
	lib-gnu-java-awt-peer-gtk directly.
	* src/gnu/applet/AppletLoader.java (window): New field.
	(setEmbeddedWindow): New method.
	* src/gnu/applet/Makefile.am: Changes to build generated header
	and class files in the build directory.

2003-07-17  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* README: Add reference to README.Mozilla.

	* README.Mozilla: New file.

2003-07-17  Michael Koch  <konqueror@gmx.de>

	* configure.ac: Use AC_PROG_LIBTOOL instead of AM_PROG_LIBTOOL and
	AC_PROG_RANLIB.

2003-07-16  Michael Koch  <konqueror@gmx.de>

	* src/gnu/applet/ConsoleDialog.java,
	src/gnu/applet/PreferencesDialog.java:
	New files.
	* src/gnu/applet/Makefile.am: Added new files to sources
	of libgnuapplet.

2003-07-16  Michael Koch  <konqueror@gmx.de>

	* src/GCJJVMConsole.cc,
	src/GCJJVMConsole.h,
	src/GCJJVMPrefsWindow.cc,
	src/GCJJVMPrefsWindow.h:
	Implemented.
	* src/GCJPluginFactory.cc,
	src/GCJPluginInstance.cc:
	Use new macro PLUGIN_DEBUG.
	* src/pluginDebug.h:
	Renamed DEBUG macro to PLUGIN_DEBUG to not conflict with macro
	provided by Mozilla.

2003-07-15  Michael Koch  <konqueror@gmx.de>

	* src/jniHelp.h: New filed
	* src/GCJPluginInstance.cc: Moved #define of CHECK_EXCEPTIONS to
	src/jniHelp.h.

2003-07-14  Michael Koch  <konqueror@gmx.de>

	* src/pluginDebug.h: New file which defines macros for debugging.
	* src/GCJPluginFactory.cc,
	src/GCJPluginInstance.cc:
	Removed definition of debug macros and include pluginDebug.h instead.

2003-07-13  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginFactory.cc
	(GCJPluginFactory): Don't strdup() return value from getenv().

2003-07-13  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginFactory.cc:
	Compile fixes.

2003-07-13  Michael Koch  <konqueror@gmx.de>

	* TODO: Added comment about security audit of CLASSPATH handling in
	src/GCJPluginFactory.cc.
	* src/GCJPluginFactory.cc
	(GCJPluginFactory): Reimplemented.
	(~GCJPluginFactory): Free allocated memory.
	(AddToClasspath): Reimplemented.
	(RemoveFromClasspath): Removed commented code.
	(CreateSecureEnv): Return NS_ERROR_NOT_IMPLEMENTED.
	(SpentTime): Likewise.
	(LockFactory): Likewise.
	* src/GCJPluginFactory.h
	(s_classpath): Removed.
	(m_class_AppletContextImpl): Removed.
	(m_appletContext: Removed.
	(m_classpath;): New member variable.
	* src/Makefile.am
	(libgcjwebplugin_la_LIBADD): Dont link libstdc++.

2003-07-13  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginInstance.cc
	(Destroy): Wrapped line.
	(SetWindow): Rewritten.
	(Print): Mark as not implemented.
	(NewStream): Likewise.

2003-07-13  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginInstance.cc,
	src/gnu/applet/AppletLoader.java:
	Made downloading and executing applet in principle work. In simple
	cases it works already. More work needed.

2003-07-13  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am: Link libstdc++ to libgcjwebplugin as it is needed
	by libgcj (bug in libgcj ?). Copy libgcjwebplugin to plugin directory
	of Mozilla in home directory of current user. Both has to be removed
	later again. Both are just workarounds.

2003-07-13  Michael Koch  <konqueror@gmx.de>

	* README: Added paragraph about dependencies for compilation from CVS.
	* src/gnu/applet/Makefile.am
	(CLASSPATH): New variable to be used for native and bytecode
	compilation of java files.

2003-07-12  Michael Koch  <konqueror@gmx.de>

	* src/gnu/applet/natAppletContextImpl.c,
	src/gnu/applet/natAppletStubImpl.c:
	Removed JNI versions of the native methods.
	* src/gnu/applet/natAppletContextImpl.cc,
	src/gnu/applet/natAppletStubImpl.cc:
	New CNI versions of the native methods.
	* src/gnu/applet/Makefile.am:
	Renamed libjni-gnu-applet.la to libgnuapplet.la.
	* src/Makefile.am: Link libgnuapplet.la.

2003-07-12  Michael Koch  <konqueror@gmx.de>

	* src/gnu/applet/AppletLoader.java
	(loadapplet): Make it compile.

2003-07-11  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginInstance.cc
	(Initialize): Implemented loading of applet.
	* src/gnu/applet/AppletLoader.java:
	Some new methods to initialize the loading of an applet and actually
	load it.

2003-07-11  Michael Koch  <konqueror@gmx.de>

	* src/gnu/applet/ContextManager.java
	(contexts): Made private.
	(getContext): Fixed typo in comment (found by Anthony Green
	<green@redhat.com>).

2003-07-11  Michael Koch  <konqueror@gmx.de>

	* src/gnu/applet/AppletContextImpl.java:
	Removed import of AppletStub.
	(AppletContextImpl): Implemented, do nothing.

2003-07-11  Michael Koch  <konqueror@gmx.de>

	* src/gnu/applet/AppletStubImpl.java
	(addParamter): New method.

2003-07-11  Michael Koch  <konqueror@gmx.de>

	* src/gnu/applet/AppletWarning.java:
	Reworked imports to explicitely import used classes.

2003-07-11  Michael Koch  <konqueror@gmx.de>

	* README: Fixed typo (found by Anthony Green <green@redhat.com>).
	* TODO: Added actions for security audit in libgcj (as suggested by
	Tom Tromey <tromey@redhat.com>).
	* src/GCJPluginFactory.cc
	(PLUGIN_DESC): Rewrote it to include the version number automatically.

2003-07-11  Michael Koch  <konqueror@gmx.de>

	* README:
	Added paragraph about installin the plugin to make Mozilla
	recognize it.
	* src/gnu/applet/.cvsignore:
	Ignore all .h files as they are generated.
	* src/gnu/applet/AppletContextImpl.java
	(addApplet): New method.
	(getImage): Implemented.
	* src/gnu/applet/ContextManager.java:
	New file.
	* src/gnu/applet/Makefile.am:
	Reworked again, hopefully the last time.

2003-07-11  Michael Koch  <konqueror@gmx.de>

	* src/gnu/applet/Makefile.am:
	Reworked
	* BUGS: All known bugs fixed.

2003-07-09  Michael Koch  <konqueror@gmx.de>

	* src/gnu/applet/AppletLoader.java: New file.
	* src/gnu/applet/Makefile.am: Added new file.

2003-07-08  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginFactory.cc,
	src/GCJPluginFactory.h:
	Start of real implementation.

2003-07-08  Michael Koch  <konqueror@gmx.de>

	* src/gnu/applet/AppletContextImpl.java,
	src/gnu/applet/AppletStubImpl.java:
	Mostly implemented.
	* src/gnu/applet/natAppletStubImpl.c:
	New file.
	* src/gnu/applet/Makefile.am,
	src/Makefile.am,
	Makefile.am:
	Reworked.
	* src/gnu/applet/.cvsignore:
	New JNI files added.
	* BUGS:
	New file.

2003-07-08  Michael Koch  <konqueror@gmx.de>

	* .cvsignore: Added gnu directory.
	* configure.ac: Reworked initialization.
	* src/Makefile.am
	(SUBDIRS): Added with subdirectory gnu.
	* src/gnu/Makefile.am,
	src/gnu/.cvsignore,
	src/gnu/applet/.cvsignore,
	src/gnu/applet/AppletContextImpl.java,
	src/gnu/applet/AppletStubImpl.java,
	src/gnu/applet/AppletWarning.java,
	src/gnu/applet/Makefile.am:
	New files.

2003-07-08  Michael Koch  <konqueror@gmx.de>

	* README: Rewrote.
	* TODO: New file.

2003-07-08  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginInstance.cc,
	src/GCJPluginInstance.h:
	Removed use of CNIEmbeddedWindow and use JNI instead. Its easier for
	now. Probably we can use CNIEmbeddedWindow later.

2003-07-08  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginFactory.cc:
	Removed unneeded include.

2003-07-07  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginFactory.h:
	Removed unneeded include.

2003-07-07  Michael Koch  <konqueror@gmx.de>

	* LICENSE: Replaced libjava by gcjwebplugin.
	* autogen.sh: Added some more output.
	* configure.ac: Added pkgconfig check for libgcj.
	* src/Makefile.am: Cleanup, use variables provided by configure.

2003-07-04  Michael Koch  <konqueror@gmx.de>

	* src/CNIEmbeddedWindow.cc
	(start): New method.
	(stop): New method.
	* src/CNIEmbeddedWindow.h
	(start): New method.
	(stop): New method.
	* src/GCJPluginInstance.cc:
	Use new CNIEmbeddedWindow class.
	* src/GCJPluginInstance.h:
	Use new CNIEmbeddedWindow class.

2003-07-04  Michael Koch  <konqueror@gmx.de>

	* src/GCJPluginFactory.cc:
	Cleaned up MIME constants.

2003-07-04  Michael Koch  <konqueror@gmx.de>

	* src/CNIEmbeddedWindow.cc
	src/CNIEmbeddedWindow.h:
	New files.
	* src/GCJPluginInstance.cc:
	Include new src/CNIEmbeddedWindow.h.

2003-07-04  Michael Koch  <konqueror@gmx.de>

	* src/Makefile.am:
	Added a little helper app to test linking of the plugin.
	* src/test.cc:
	New file.

2003-07-04  Michael Koch  <konqueror@gmx.de>

	* src/GCJJVMConsole.cc
	(IsVisible): New method.
	(Show): Likewise.
	(Hide): Likewise.
	(Print): Likewise.
	* src/GCJJVMPrefsWindow.cc
	(AddRef): New method.
	(Release): Likewise.
	(QueryInterface): Likewise.
	* src/GCJSecureEnv.cc
	(AddRef): New method.
	(Release): Likewise.
	(QueryInterface): Likewise.

2003-07-03  Michael Koch  <konqueror@gmx.de>

	* Initial version.

