summaryrefslogtreecommitdiff
path: root/native
Commit message (Collapse)AuthorAgeFilesLines
* 2009-10-22 Andrew Haley <aph@redhat.com>Andrew Haley2009-10-221-2/+4
| | | | | | | | | | | | * 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.
* Handle XULRunner 1.9.1.Andrew John Hughes2009-02-051-0/+22
| | | | | | | | | | 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.
* Revert the return on chdir == -1.Andrew John Hughes2009-02-041-2/+1
| | | | | | | | | 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.
* Fix build errors on gcc 4.3.3 with -Werror.Andrew John Hughes2009-02-041-1/+3
| | | | | | | | 2009-02-03 Andrew John Hughes <ahughes@redhat.com> * native/jni/native-lib/cpproc.c: (cpproc_forkAndExec): Handle return of chdir.
* Fix missing null terminator.Andrew John Hughes2008-12-181-1/+2
| | | | | | | 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.
* PR38473: Prevent segmentation fault with bitmap fonts.Andrew John Hughes2008-12-101-2/+16
| | | | | | | | | | 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.
* * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.cMark Wielaard2008-11-061-3/+0
| | | | (getKerning): Removed unused cls, method, values.
* 2008-11-05 Andrew Haley <aph@redhat.com>Andrew Haley2008-11-051-8/+7
| | | | | | | | * 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.
* 2008-10-23 David Edelsohn <edelsohn@gnu.org>Tom Tromey2008-10-241-0/+8
| | | | * native/fdlibm/fdlibm.h: Undef hz.
* 2008-10-17 Robert Lougher <rob.lougher@gmail.com>Tom Tromey2008-10-171-2/+3
| | | | | | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Release 'fonts'.
* Fix GStreamer peer typo.Andrew John Hughes2008-08-181-1/+1
| | | | | | | | 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.
* 2008-08-12 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2008-08-121-11/+2
| | | | | | * native/jni/java-net/local.c (local_bind): Removed fprintf call, fixed access outside of array bounds.
* 2008-07-07 Christian Thalinger <twisti@complang.tuwien.ac.at>Christian Thalinger2008-07-071-0/+6
| | | | | | | | | * 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.
* 2008-06-23 Andrew Haley <aph@redhat.com>Andrew Haley2008-06-2315-17/+29
| | | | | | | | | | | | | | | | | | | | | * 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.
* 2008-06-22 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-06-222-43/+43
| | | | | | | | | | | | | | | | | | | 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.
* 2008-05-16 Mario Torre <neugens@aicas.com>Mario Torre2008-05-161-1/+1
| | | | | | * native/jni/java-math/java_math_VMBigInteger.c (Java_java_math_VMBigInteger_natModInverse): fix variable res not initialized.
* 2008-05-15 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2008-05-151-1/+140
| | | | | | | | | | | | | | | | | | * 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.
* 2008-04-09 Mario Torre <neugens@aicas.com>Mario Torre2008-04-091-51/+55
| | | | | | | | | | | * 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.
* 2008-03-10 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-03-101-1/+1
| | | | | | | PR classpath/28664 * native/jni/java-math/Makefile.am: Add AM_LDFLAGS to the local LDFLAGS definition so gmp is linked.
* 2008-03-10 Jim Meyering <meyering@redhat.com>Tom Tromey2008-03-101-1/+3
| | | | | | Don't leak upon failed realloc. * native/jni/classpath/jcl.c (JCL_realloc): Upon failed realloc, free the original buffer before throwing the exception.
* 2008-03-03 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-03-031-4/+7
| | | | | | PR classpath/28664 * native/jni/Makefile.am: Check CREATE_GMPBI_LIBRARY and only compile GMP libraries if set.
* * native/jni/Makefile.am (DIST_SUBDIRS): Add java-math.Mark Wielaard2008-03-021-0/+1
|
* 2008-02-28 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-02-284-1/+1415
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2008-02-27 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-02-281-0/+5
| | | | | | | * configure.ac: Check for sys/loadavg.h. * native/jni/java-lang/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.c: Include sys/loadavg.h if found.
* 2008-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-02-261-104/+36
| | | | | | | | | | * 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.
* 2008-02-22 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-02-221-8/+2
| | | | | | | | | | | | 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.
* 2008-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-02-221-22/+90
| | | | | | | | | | * 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.
* 2008-02-09 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2008-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | * 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.
* 2008-02-09 Mario Torre <neugens@limasoftware.net>Mario Torre2008-02-091-16/+16
| | | | | | * include/java_util_VMTimeZone.h: Removed. * native/jni/gconf-peer/GConfNativePeer.c: all native methods, replaced GConfEngine with GConfClient and use GConfClient API instead.
* 2008-02-08 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2008-02-081-22/+0
| | | | | | | | | | | | | * 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.
* 2008-02-08 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2008-02-081-30/+2
| | | | | | | | | | | | | | | | | * 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.
* patch for avr32 supportDalibor Topic2008-01-131-0/+4
| | | | | | 2008-01-13 2007-12-18 Leen Toelen <toelen@gmail.com> * native/fdlibm/ieeefp.h: Added avr32 support.
* 2008-01-09 Stefan Huehner <stefan@huehner.org>Andrew John Hughes2008-01-113-3/+3
| | | | | | | | * 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.
* build fixes for arm-winceDalibor Topic2007-12-287-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2007-12-10 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2007-12-101-1/+2
| | | | | * native/jni/native-lib/cpio.c: (cpio_df): Mark arguments as possibly unused.
* 2007-11-27 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2007-11-272-11/+155
| | | | | | | | | | | | | | | | | | | | | * 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.
* 2007-11-23 Mario Torre <neugens@limasoftware.net>Mario Torre2007-11-231-104/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Make pointerClass a global JNI reference when pointers are 4 bytes wide and ↵Ian Rogers2007-11-231-5/+7
| | | | not just 8 bytes wide.
* 2007-11-06 Mario Torre <neugens@limasoftware.net>Mario Torre2007-11-063-1/+138
| | | | | | | | | | | | | | | | | | | * 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.
* 2007-10-22 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-10-221-0/+2
| | | | | * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: Include config-int.h for uint32_t.
* 2007-10-12 Ian Rogers <ian.rogers@manchester.ac.uk>Andrew John Hughes2007-10-121-4/+0
| | | | | | PR classpath/33746: * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove atexit call that makes JikesRVM deadlock.
* 2007-09-27 Mario Torre <neugens@limasoftware.net>Mario Torre2007-09-275-33/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2007-09-27 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-09-272-1/+3
| | | | | | * native/fdlibm/dtoa.c: Include mprec.h after system includes. * native/fdlibm/mprec.h [_EXFUN]: Only define _EXFUN if it is not already defined.
* 2007-09-19 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-09-191-1/+1
| | | | | * native/jni/native-lib/Makefile.am (AM_LDFLAGS) Use CLASSPATH_CONVENIENCE flags, as it is a convenience library.
* 2007-09-19 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-09-191-0/+1
| | | | * native/fdlibm/dtoa.c: Include stdlib.h to have a declaration for free.
* 2007-09-13 David P Grove <groved@us.ibm.com>Dalibor Topic2007-09-131-2/+5
| | | | | | PR 30275 * native/fdlibm/fdlibm.h [_AIX]: Define _ALL_SOURCE rather than _XOPEN_SOURCE to fix build on AIX 5.
* 2007-09-12 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2007-09-121-1/+2
| | | | | * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c: Add #ifndef guard around definition of _GNU_SOURCE.
* 2007-09-11 Roman Kennke <roman@kennke.org>Roman Kennke2007-09-119-180/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2007-09-08 Michael Koch <konqueror@gmx.de>Michael Koch2007-09-081-2/+2
| | | | | * native/jni/midi-alsa/Makefile.am (AM_CFLAGS): Removed @ERROR_CFLAGS@ to not fail build with GCC 4.2.
* 2007-08-23 Francis Kung <fkung@redhat.com>Francis Kung2007-08-231-8/+24
| | | | | | | | | | | | | | | | * 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.