gcc/libjava
Kim Ho 2c20a17152 GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter.
2004-01-19  Kim Ho  <kho@redhat.com>

        * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
        MenuBarPeer parameter.
        (removeMenuBarPeer): New native method.
        (setMenuBar): Call remove if menu bar is null. Adjust insets
        appropriately.
        (postSizeAllocateEvent): New method. Called when menu bar size is
        allocated. Adjust insets and redo layout.
        (GtkFramePeer): Set menu bar during frame creation.
        (postConfigureEvent): Adjust position and size to accomodate
        menu bar.
        * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
        * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
        (addNotify): Create the peer if it doesn't exist and call addNotify
        for the menu's items.
        * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
        * java/awt/MenuItem.java (addNotify): Create the peer if it
        doesn't exist.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (removeMenuBarPeer): New method. Remove menu bar on the current
        frame.
        (setMenuBarPeer): Add the menu bar to the current frame and the
        callback for size-allocate events on the menu bar.
        (getMenuBarHeight): Add menu bar parameter.
        (menubar_resize_cb): New callback method for postSizeAllocate events.

        Also: Fix indentation on last ChangeLog entry.

From-SVN: r76149
2004-01-19 14:27:45 +00:00
..
doc except.c (choose_personality_routine): Export. 2001-05-13 01:28:18 +00:00
gcj 2004-01-13�� David Jee�� <djee@redhat.com> 2004-01-13 17:37:23 +00:00
gnu GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter. 2004-01-19 14:27:45 +00:00
include 2004-01-13�� David Jee�� <djee@redhat.com> 2004-01-13 17:37:23 +00:00
java GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter. 2004-01-19 14:27:45 +00:00
javax CompoundEdit.java (serialVersionUID): Added. 2004-01-11 12:40:49 +00:00
jni GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter. 2004-01-19 14:27:45 +00:00
libltdl configure.in: Add in AC_PREREQ(2.13) 2004-01-15 03:41:49 +00:00
org Makefile.am (ordinary_java_source_files): Add org/xml/sax/helpers/NewInstance.java. 2002-12-20 03:49:20 +00:00
scripts MakeDefaultMimeTypes.java: Use \n, not backslash-newline. 2004-01-08 05:20:31 +00:00
sysdep locks.h: Don't use in/out memory constraints. 2004-01-16 17:25:26 +00:00
testsuite ChangeLog rotation 2004-01-17 08:40:41 +00:00
acconfig.h acconfig.h: Removed most items. 2003-09-11 17:25:47 +00:00
acinclude.m4 configure.in: Add --enable-gtk-cairo check. 2003-12-31 08:58:31 +00:00
aclocal.m4 aclocal.m4: Rebuilt using "aclocal -I .". 2004-01-04 09:18:06 +00:00
addr2name.awk Jumbo patch: 2000-05-19 17:55:34 +00:00
boehm.cc boehm.cc (_Jv_MarkObj): Access hack_signers field. 2003-12-04 13:07:07 +00:00
ChangeLog GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter. 2004-01-19 14:27:45 +00:00
ChangeLog-1999 Rotated ChangeLogs 2000-02-17 22:57:30 +00:00
ChangeLog-2001 ChangeLog rotation 2002-01-22 00:20:23 +00:00
ChangeLog-2002 ChangeLog rotation 2004-01-17 08:40:41 +00:00
ChangeLog-2003 ChangeLog rotation 2004-01-17 08:40:41 +00:00
configure aclocal.m4: Rebuilt using "aclocal -I .". 2004-01-04 09:18:06 +00:00
configure.host mips-signal.h: New file. 2003-10-22 16:35:17 +00:00
configure.in configure.in: Add in AC_PREREQ(2.13) 2004-01-15 03:41:49 +00:00
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 09:12:19 +00:00
defineclass.cc lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
exception.cc lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
gij.cc * gij.cc (help): Document -? and -X. 2003-08-13 17:20:08 +00:00
glib-2.0.m4 glib-2.0.m4: New file. 2003-06-30 23:53:29 +00:00
gtk-2.0.m4 glib-2.0.m4: New file. 2003-06-30 23:53:29 +00:00
HACKING * HACKING: Fix URL for the automake-gcj. 2002-02-08 01:22:47 +00:00
interpret.cc interpret.cc (_Jv_InterpMethod::run): Don't use libffi types, they were meant to be internal. 2003-10-14 17:53:42 +00:00
jni.cc jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string is null. 2003-11-18 17:56:33 +00:00
libart.m4 libart.m4: check for libart-config binary under the name libart2-config as well. 2003-08-04 18:27:27 +00:00
LIBGCJ_LICENSE Add license clarification. 2002-01-22 22:40:42 +00:00
libgcj-test.spec.in * libgcj.spec.in, libgcj-test.spec.in: Revert for now. 2002-03-31 18:24:59 +00:00
libgcj.pc.in 2003-07-09 Michael Koch <konqueror@gmx.de> 2003-07-09 07:11:13 +00:00
libgcj.spec.in configure.host (alpha*-*): Default to -mieee. 2003-02-13 02:51:26 +00:00
libtool-version * libtool-version: Increased `current'. 2002-12-20 01:47:54 +00:00
Makefile.am natClassLoader.cc: Moved VMClassLoader methods... 2004-01-16 23:54:22 +00:00
Makefile.in natClassLoader.cc: Moved VMClassLoader methods... 2004-01-16 23:54:22 +00:00
mauve-libgcj mauve-libgcj: Removed the disabling of java.text.ACIAttribute and... 2003-12-18 20:23:48 +00:00
NEWS Updated the NEWS 2000-02-15 09:35:51 +00:00
no-threads.cc natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
nogc.cc nogc.cc: Remove warnings. 2002-01-27 22:33:35 +00:00
posix-threads.cc posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor. 2003-10-21 04:46:19 +00:00
posix.cc posix.cc: added #include<stdio.h> 2003-07-08 04:49:16 +00:00
prims.cc re PR libgcj/12001 (_Jv_FindClass dumps core when Oracle's classes12.zip in $CLASSPATH) 2004-01-14 22:49:58 +00:00
README gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. 2001-02-08 01:49:53 +00:00
resolve.cc lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
THANKS THANKS: Fix punctuation, alphabetization. 2002-03-15 22:36:05 +00:00
verify.cc re PR libgcj/13439 (gij VerifyError; works with JDK 1.4) 2004-01-08 05:27:39 +00:00
win32-threads.cc re PR libgcj/12647 ([win32] wait() does not release monitor correctly) 2003-10-31 03:36:38 +00:00
win32.cc win32.cc (WSAEventWrapper): Implemented default constructor and init() methods. 2003-12-16 22:54:22 +00:00

This is libgcj: the runtime library for gcj, the GNU Compiler for Java. 
libgcj provides a partial implementation of the Java Class Libraries.

libgcj is free software.  See the file LIBGCJ_LICENSE for copying permission.


DOCUMENTATION
=============

All documentation, including detailed installation and usage instructions,
can be found on the gcj web pages at this URL:

		http://gcc.gnu.org/java/


REQUIREMENTS
============

libgcj must be built with a compatible version of the gcc compiler. libgcj
releases are usually numbered according to their corresponding gcc release.
For example, if this is "libgcj 2.95.3", you need to build it using "gcc
2.95.3".


QUICK INSTALLATION
==================

  > mkdir build
  > cd build
  > ../libgcj/configure --enable-threads=<THREADS_TYPE> --prefix=<DIR>
  > make
  > make install

where:

<THREADS_TYPE> specifies the threads library to be used by libgcj. Currently 
the possible values are "posix" and "none". This value must be the same as
the value used when configuring gcc itself.

<DIR> specifies the installation directory. This should be the same location 
as where gcc is installed.

Consult the gcj web pages for additional "configure" arguments.

NOTE: libgcj can not be built in the same directory as `configure'. You must 
create a separate build directory. 


BUGS
====

Please submit bug reports via this URL:

	http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc