| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
* native/jni/native-lib/cpnet.c (cpnet_addMembership): Fix
aliasing warning.
(cpnet_dropMembership): Likewise.
2009-10-21 Richard Guenther <rguenther@suse.de>
PR cp-tools/39177
* tools/gnu/classpath/tools/jar/Creator.java (writeCommandLineEntries):
Do not use uninitialized manifest.
|
|
|
|
|
|
|
|
|
|
| |
2009-02-05 Andrew Haley <aph@redhat.com>
PR libgcj/38861
* native/plugin/gcjwebplugin.cc: Cope with the changed header file
format. https://bugzilla.mozilla.org/show_bug.cgi?id=455458
(GCJ_GetJavaClass): Likewise.
(NP_Initialize): Likewise.
|
|
|
|
|
|
|
|
|
| |
2009-02-04 Andrew John Hughes <ahughes@redhat.com>
* native/jni/native-lib/cpproc.c:
(cpproc_forkAndExec): Don't return on a -1
result from chdir as this may be valid in
some cases. A better fix is needed.
|
|
|
|
|
|
|
|
| |
2009-02-03 Andrew John Hughes <ahughes@redhat.com>
* native/jni/native-lib/cpproc.c:
(cpproc_forkAndExec): Handle return of
chdir.
|
|
|
|
|
|
|
| |
2008-12-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c:
Include '\0' in the string.
|
|
|
|
|
|
|
|
|
|
| |
2008-12-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/38473:
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c:
(Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphOutlineNative):
Check that the glyph is an outline before calling
FT_Outline_Decompose.
|
|
|
|
| |
(getKerning): Removed unused cls, method, values.
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java (getKerning):
Return result in a float[], not a Point2D.
(performDefaultLayout): Call getKerning with a float[].
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
(getKerning): Return result in a float[], not a Point2D.
|
|
|
|
| |
* native/fdlibm/fdlibm.h: Undef hz.
|
|
|
|
|
|
| |
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector):
Release 'fonts'.
|
|
|
|
|
|
|
|
| |
2008-08-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
* native/jni/gstreamer-peer/gst_native_pipeline.c:
(get_free_space(int)): Use #else not #elif when
there is no condition.
|
|
|
|
|
|
| |
* native/jni/java-net/local.c
(local_bind): Removed fprintf call, fixed access outside
of array bounds.
|
|
|
|
|
|
|
|
|
| |
* configure.ac (AC_CHECK_HEADERS): Added sys/sockio.h, required
for Solaris.
(AC_CHECK_LIB): Check for socket.
* native/jni/java-net/java_net_VMNetworkInterface.c (unistd.h):
Added.
[HAVE_SYS_SOCKIO_H] (sys/sockio.h): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* native/jawt/Makefile.am,
native/fdlibm/Makefile.am,
native/jni/java-util/Makefile.am,
native/jni/gstreamer-peer/Makefile.am,
native/jni/native-lib/Makefile.am,
native/jni/gconf-peer/Makefile.am,
native/jni/gtk-peer/Makefile.am,
native/jni/xmlj/Makefile.am,
native/jni/midi-alsa/Makefile.am,
native/jni/java-nio/Makefile.am,
native/jni/midi-dssi/Makefile.am,
native/jni/classpath/Makefile.am,
native/jni/java-io/Makefile.am,
native/jni/java-lang/Makefile.am,
native/jni/java-net/Makefile.am (AM_CFLAGS): Add @EXTRA_CFLAGS@.
* configure.ac (EXTRA_CFLAGS): New macro.
* lib/Makefile.am (resources): Add .svn.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/28664:
* gnu/java/math/GMP.java:
Renamed from VMBigInteger.java and fixed to use
GMP instances directly.
* include/Makefile.am:
Generate GMP.h not VMBigInteger.h.
* java/math/BigInteger.java:
Send instances of GMP in calls to GMP rather than
the wrapping BigInteger class.
* native/jni/java-math/Makefile.am:
Fix filename of source code file.
* native/jni/java-math/gnu_java_math_GMP.c:
Renamed from java_math_VMBigInteger.c.
* native/jni/java-math/java_math_VMBigInteger.c,
* vm/reference/java/math/VMBigInteger.java:
Removed.
|
|
|
|
|
|
| |
* native/jni/java-math/java_math_VMBigInteger.c
(Java_java_math_VMBigInteger_natModInverse): fix variable res not
initialized.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/net/NetworkInterface.java:
(isUp): New method.
(isPointToPoint): Dito.
(isLoopback): Dito.
(supportsMulticast): Dito.
* vm/reference/java/net/VMNetworkInterface.java:
(isUp): New method.
(isPointToPoint): Dito.
(isLoopback): Dito.
(supportsMulticast): Dito.
* native/jni/java-net/java_net_VMNetworkInterface.c:
(isUp): New method.
(isPointToPoint): Dito.
(isLoopback): Dito.
(supportsMulticast): Dito.
|
|
|
|
|
|
|
|
|
|
|
| |
* java/io/File.java (canWrite): use canWriteDirectory(String).
* vm/reference/java/io/VMFile.java (canWriteDirectory): new native method.
* native/jni/java-io/java_io_VMFile.c: correct indentation, sync function
names with header file definition.
(Java_java_io_VMFile_canRead): use cpio_checkAccess to get access
permission. Removed unused variable.
(Java_java_io_VMFile_canWrite): likewise.
(Java_java_io_VMFile_canWriteDirectory): new function.
|
|
|
|
|
|
|
| |
PR classpath/28664
* native/jni/java-math/Makefile.am: Add
AM_LDFLAGS to the local LDFLAGS definition
so gmp is linked.
|
|
|
|
|
|
| |
Don't leak upon failed realloc.
* native/jni/classpath/jcl.c (JCL_realloc): Upon failed realloc,
free the original buffer before throwing the exception.
|
|
|
|
|
|
| |
PR classpath/28664
* native/jni/Makefile.am: Check CREATE_GMPBI_LIBRARY
and only compile GMP libraries if set.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/28664
* include/Makefile.am:
Add generation of header file java_math_VMBigInteger.h
* java/math/BigInteger.java: Separate NativeMPI into
VMBigInteger.
* native/jni/Makefile.am: Add java-math.
* native/jni/java-math/java_math_VMBigInteger.c:
Renamed from java_math_BigInteger.c.
* vm/reference/java/math/VMBigInteger.java:
Former NativeMPI class from java.math.BigInteger.
2006-11-28 Raif S. Naffah <classpath@naffah-raif.name>
Jeroen Frijters <jeroen@sumatra.nl>
PR classpath/28664
* configure.ac: Add support for configuring GNU MP.
* native/jni/Makefile.am: Include java-math directory if required.
* native/jni/java-math/.cvsignore: New file.
* native/jni/java-math/Makefile.am: Likewise.
* native/jni/java-math/java_math_BigInteger.c: Likewise.
* java/math/BigInteger.java: Added support for native methods.
* gnu/classpath/Configuration.java.in (WANT_NATIVE_BIG_INTEGER): New field.
|
|
|
|
|
|
|
| |
* configure.ac:
Check for sys/loadavg.h.
* native/jni/java-lang/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.c:
Include sys/loadavg.h if found.
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/prefs/EventDispatcher.java:
Removed again.
* gnu/java/util/prefs/GConfBasedPreferences.java,
* gnu/java/util/prefs/gconf/GConfNativePeer.java,
* java/util/prefs/AbstractPreferences.java,
* native/jni/gconf-peer/GConfNativePeer.c:
Revert to pre-release versions.
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/33751:
* configure.ac:
Don't check for readdir_r.
* native/jni/native-lib/cpio.c:
(cpio_readDir): Remove use of readdir_r, zero errno
before starting and always leave a \0 at the end after
strncpy.
* vm/reference/java/io/VMFile.java:
(list(String)): Make synchronized.
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/prefs/EventDispatcher.java:
Re-added.
* gnu/java/util/prefs/GConfBasedPreferences.java,
* gnu/java/util/prefs/gconf/GConfNativePeer.java,
* java/util/prefs/AbstractPreferences.java,
* native/jni/gconf-peer/GConfNativePeer.c:
Regress to 0.96 versions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* native/jni/Makefile.am (all-local): Call check_jni_methods.sh
directly.
* scripts/Makefile.am (EXTRA_DIST): Removed check_jni_methods.sh.
* include/Makefile.am (SOUND_H_FILES, GST_PEER_H_FILES)
(XMLJ_H_FILES, GTKPEER_H_FILES, QTPEER_H_FILES)
(GCONF_PREFS_FILES, H_FILES): Don't generate header files
in the source directory, as it may not be writeable.
(DISTCLEANFILES) Added H_FILES.
* configure.ac (AC_CONFIG_FILES): Added
scripts/check_jni_methods.sh.
* scripts/check_jni_methods.sh: Removed. Moved over to ..
* scripts/check_jni_methods.sh.in: New file. Added
top_srcdir and top_builddir where necessary.
|
|
|
|
|
|
| |
* include/java_util_VMTimeZone.h: Removed.
* native/jni/gconf-peer/GConfNativePeer.c: all native methods, replaced
GConfEngine with GConfClient and use GConfClient API instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* vm/reference/java/lang/VMFloat.java (floatToIntBits): Removed unused
method.
* native/jni/java-lang/java_lang_VMFloat.c (Java_java_lang_VMFloat_floatToIntBits): Removed unused function.
* include/java_lang_VMDouble.h: Regenerated.
* doc/cp-vmintegration.texinfo (java.lang.VMFloat): Removed
unused method floatToIntBits. (java.lang.VMDouble): Use similar
text to text used for floatToRawIntBits for doubleToLongBits.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/acinclude.m4 (CLASSPATH_CHECK_JAVAH) [USER_JAVAH]: Check for gjavah-4.2
and gjavah-4.1.
2008-02-08 Dalibor Topic <robilad@kaffe.org>
* vm/reference/java/lang/VMDouble.java (doubleToLongBits): Removed unused method.
* native/jni/java-lang/java_lang_VMDouble.c (Java_java_lang_VMDouble_doubleToLongBits):
Removed unused function.
* include/java_lang_VMDouble.h: Regenerated.
* doc/cp-vmintegration.texinfo (java.lang.VMDouble): Removed
unused method doubleToLongBits.
|
|
|
|
|
|
| |
2008-01-13 2007-12-18 Leen Toelen <toelen@gmail.com>
* native/fdlibm/ieeefp.h: Added avr32 support.
|
|
|
|
|
|
|
|
| |
* native/jni/java-io/java_io_VMObjectStreamClass.c,
* native/jni/java-lang/java_lang_VMDouble.c,
* native/jni/java-net/java_net_VMInetAddress.c:
Don't discard const by casting (const char *) to
(char *) when it's not needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-28 Dalibor Topic <robilad@kaffe.org>
* configure.ac (AC_CHECK_HEADERS): Check for
netinet/in_systm.h, netinet/ip.h and net/if.h
for Windows CE.
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
Guard net/if.h include statement. Use unsigned int
instead of u_int.
* native/jni/java-nio/gnu_java_nio_VMChannel.c:
Guard sys/mman.h include statement.
* native/jni/java-nio/gnu_java_nio_VMSelector.c:
Guard sys/select.h include statement.
* native/jni/java-nio/javanio.c:
Guard sys/select.h include statement.
* native/jni/java-nio/javanio.h:
Include sys/time.h.
* native/jni/native-lib/cpio.c:
Guard chmod call by S_IWRITE, since it's not
defined in the arm-wince toolchain.
* native/jni/native-lib/cpnet.h:
Guard netinet/in_systm.h and netinet/ip.h
include statements.
|
|
|
|
|
| |
* native/jni/native-lib/cpio.c:
(cpio_df): Mark arguments as possibly unused.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c
(isWindowUnderMouse): New method.
* include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h:
Regenerate.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(getLocationOnScreen): Move WindowPeer section to...
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (getLocationOnScreen):
New method.
* gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java
(isWindowUnderMouse): Implement.
* java/awt/Component.java (getMousePosition): New method.
(getMousePositionHelper): Likewise.
(mouseOverComponent): Likewise.
* java/awt/Container.java (getMousePosition): New method.
(mouseOverComponent): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
Revert 2007-09-11 changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/prefs/EventDispatcher.java: class removed.
* gnu/classpath/toolkit/DefaultDaemonThreadFactory.java: new file.
* java/util/prefs/AbstractPreferences.java: (fire(PreferenceChangeEvent)):
Use DefaultDaemonThreadFactory and Executors.newSingleThreadExecutor
instead of EventDispatcher. Import statement refactored accordingly.
Also refactored to use 1.5 enhanced for loop and generics.
(fire(NodeChangeEvent, boolean)): likewise.
* gnu/java/util/prefs/GConfBasedPreferences.java (childSpi):
removed startWatchingNode call.
* gnu/java/util/prefs/gconf/GConfNativePeer.java:
(GConfNativePeer): removed use of semaphore.
(gconf_all_nodes): method name shortened, renamed from
gconf_client_all_nodes (removed client_ from method signature) and
declared synchronized.
(gconf_suggest_sync): likewise.
(gconf_get_string): likewise.
(gconf_unescape_key): likewise.
(gconf_set_string): likewise.
(gconf_escape_key): likewise.
(gconf_all_keys): likewise.
(gconf_dir_exists): likewise.
(getKeys): refactored to use new native method name.
(getKey): likewise.
(setString): likewise.
(getChildrenNodes): likewise.
(unset): likewise.
(suggestSync): likewise.
(finalize): likewise.
(nodeExist): likewise.
(gconf_client_add_dir): removed, not needed anymore.
(gconf_client_remove_dir): likewise.
(startWatchingNode): likewise.
(stopWatchingNode): likewise.
* native/jni/conf-peer/GConfNativePeer.c:
All native methods renamed to match changes in GConfNativePeer.java
Now use GConfEngine instead of GConfClient.
Removed gdk_thread_enter/leave locking from all methods.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
removed.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
likewise.
* include/gnu_java_util_prefs_gconf_GConfNativePeer.h: regenerated.
|
|
|
|
| |
not just 8 bytes wide.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* vm/reference/java/io/VMFile.java:
(getTotalSpace): new method.
(getUsableSpace): likewise.
(getFreeSpace): likewise.
* java/io/File.java: (getTotalSpace): new method.
(getUsableSpace): likewise.
(getFreeSpace): likewise.
* native/jni/java-io/java_io_VMFile.c:
(Java_java_io_VMFile_getTotalSpace): new function.
(Java_java_io_VMFile_getFreeSpace): likewise.
(Java_java_io_VMFile_getUsableSpace): likewise.
* native/jni/native-lib/cpio.h: (cpio_df): new function.
(CPFILE_DF_TYPE): enum type for cpio_df.
* native/jni/native-lib/cpio.c: (cpio_df): new function.
* include/java_io_VMFile.h: regenerated.
* configure.ac: added check for statvfs.
|
|
|
|
|
| |
* native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c:
Include config-int.h for uint32_t.
|
|
|
|
|
|
| |
PR classpath/33746:
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
Remove atexit call that makes JikesRVM deadlock.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
(gstreamer_get_audio_format_stream): Removed parameter from javadoc.
(gstreamer_get_audio_format_file): likewise.
* gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java:
Added class javadoc and implementation notes.
(READ): new constant.
(WRITE): likewise.
(QUEUED): likewise.
(CAPACITY_KEY): likewise.
(lock): likewise.
(prefs): new variable.
(GstPipeline constructor): added OS independent rutines to detect
filesystem pipes size plus save and restores this information via
preferences. Now closes open pipe on user abort at VM exit.
(open_native_pipe): new native method.
(close_native_pipe): likewise.
(detect_pipe_size): likewise.
(createForWrite): update to use new native methods.
(setState): removed hack to synchronize reading and writing of the
filesystme named pipe.
(available): implemented.
(drain): new implementation, now correctly waits for data to be consumed
in the pipeline.
(prepareWrite): removed hack to synchronize reading and writing of the
filesystme named pipe.
(CleanPipeline): new inner class, used for cleaning of native pipelines
still opened at VM exit.
* gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine:
(getFramePosition): method still stubbed, now output "implement me"
note when called (used for testing).
(getLongFramePosition): likewise.
(getMicrosecondPosition): likewise.
* include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h:
regenerated.
* native/jni/gstreamer-peer/gst_native_data_line.c:
(setup_pipeline): Changed signature, now uses a file descriptor instead of
char with the name of the native pipeline. Also changed to use "fdsrc"
when creating the GStreamer pipeline.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine_setup_1sink_1pipeline):
now uses gst_native_pipeline_get_pipeline_fd to get the file descriptor
of the native pipeline, instead of gst_native_pipeline_get_pipeline_name.
Chaged to use "autoaudiosink" as GStreamer audio sink.
(gst_newpad): fix indentation.
* native/jni/gstreamer-peer/gst_native_pipeline.c: include new headers for
compilation.
(capacityFID): new filed for caching.
(GST_DETECTED_PIPE_CAPACITY): new field.
(enum): maps READ and WRITE in GstPipeline class.
(_GstNativePipelinePrivate.fd): new field.
(create_name): new function.
(init_pointer_IDs): likewise.
(get_free_space): likewise.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1id_1cache):
cache capacityFID.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1instance):
get value for GST_DETECTED_PIPE_CAPACITY from mapped class.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_set_1state):
removed "unused" attribute from parameters, clean pipeline name on exit.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_open_1native_1pipe):
new function.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_close_1native_1pipe):
likewise.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_create_1named_1pipe):
pipe name created with a dedicated function.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_available): new
function.
* native/jni/gstreamer-peer/gst_native_pipeline.h:
(gst_native_pipeline_clean): removed.
(gst_native_pipeline_get_pipeline_fd): new function.
* native/jni/gstreamer-peer/gst_peer.h: new defines used by the peer.
* native/jni/gstreamer-peer/gstreamer_io_peer.c: (_GST_MALLOC_SIZE_): moved
in gst_peer.h.
|
|
|
|
|
|
| |
* native/fdlibm/dtoa.c: Include mprec.h after system includes.
* native/fdlibm/mprec.h [_EXFUN]: Only define _EXFUN if it is not
already defined.
|
|
|
|
|
| |
* native/jni/native-lib/Makefile.am
(AM_LDFLAGS) Use CLASSPATH_CONVENIENCE flags, as it is a convenience library.
|
|
|
|
| |
* native/fdlibm/dtoa.c: Include stdlib.h to have a declaration for free.
|
|
|
|
|
|
| |
PR 30275
* native/fdlibm/fdlibm.h [_AIX]: Define _ALL_SOURCE
rather than _XOPEN_SOURCE to fix build on AIX 5.
|
|
|
|
|
| |
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c:
Add #ifndef guard around definition of _GNU_SOURCE.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
Removed unused includes.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
Removed unused includes.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
Removed unusued excludes. Put Xrender includes in HAVE_XRENDER
conditional.
(flush): Use gdk_display_flush() instead of XFlush().
(initState): Use GDK/Cairo functions to get cairo_t object.
(initFromVolatile): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
Removed unused includes.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c
Use HAVE_XTEST conditionals for code that uses XTest.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
Removed unused includes.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
Removed unused includes.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
Removed unused includes.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
Removed unused includes. Rewrote frame-extents code to use
gdk_window_get_frame_extents() rather than the X window properties
directly.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h
(initFromVolatile): Removed width and height parameters.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(initFromVolatile): Remove width and height parameters.
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
(VolatileImageGraphics): Use initFromVolatile without width and
height.
* configure.ac: Check for presence of XTest, and define HAVE_XTEST
accordingly.
|
|
|
|
|
| |
* native/jni/midi-alsa/Makefile.am (AM_CFLAGS):
Removed @ERROR_CFLAGS@ to not fail build with GCC 4.2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkComponentPeer.java:
(getLocationOnScreen): Check for GTK main thread.
(gtkWidgetGetLocationOnScreenUnlocked): New native method.
(gtkWindowGetLocationOnScreenUnlocked): New native method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWindowGetLocationOnScreen):
Delegate to unlocked function.
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWindowGetLocationOnScreenUnlocked):
New function.
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen):
Delegate to unlocked function.
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreenUnlocked):
New function.
|