summaryrefslogtreecommitdiff
path: root/include/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* 2008-06-22 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-06-221-3/+3
| | | | | | | | | | | | | | | | | | | 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.
* Forwardport native-only build fix #07.Andrew John Hughes2008-06-111-0/+4
| | | | | | | 2008-06-02 Andrew John Hughes <gnu_andrew@member.fsf.org> * include/Makefile.am: Don't delete headers when not rebuilding them.
* Forward port native-only build fix #01Andrew John Hughes2008-06-111-0/+2
| | | | | | | | | | 2008-06-01 Andrew John Hughes <gnu_andrew@member.fsf.org> * Makefile.am: Use default makedistcheck flags that test all optional dependencies. * include/Makefile.am: Add header files to dist. * lib/Makefile.am: Trick class files into being built for dist, so headers can be generated.
* 2008-02-28 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-02-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 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-10 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2008-02-101-1/+1
| | | | | | | | * lib/Makefile.am (compile_classpath), include/Makefile.am (JAVAH): Replaced USER_CLASSLIB with PATH_TO_GLIBJ_ZIP. * m4/acinclude.m4 (CLASSPATH_WITH_CLASSLIB)[--with-classpath]: Removed unused option. It's superceded by --with-glibj-zip.
* 2008-02-09 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2008-02-091-257/+257
| | | | | | | | | | | | | | | | | | | | * 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.
* 2007-08-18 Mario Torre <neugens@limasoftware.net>Mario Torre2007-08-181-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/sound/AudioPlayerSample.java: new file. * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: removed unused import. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java: (gstreamer_get_audio_format_stream): changed signature tu accept a Pointer object instead of a BufferedInputStream. (GstHeader): (getAudioFormat(InputStream, GstHeader)): new private method. (getAudioFormat(public)): refactored to use the private getAudioFormat with shared functionality. (getAudioFormat(GstHeader header)): removed a redundant check. (init_id_cache): new native method. * gnu/javax/sound/sampled/gstreamer/io/GstInputStream.java: new file. * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java: (GstDataLine.State): removed enum. (state): removed local variable. (isRunning): removed method. (open): likewise. (setFormat): new methods. (setOpen): likewise. (setBufferSize): likewise. * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java: (createSourcePipeline): new method. (setup_sink_pipeline): likewise. (init_id_cache): likewise. Added to the static initializer. * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java: (GstPipeline.State): new enum. (state): new local variable. (name): likewise. (output): likewise. (source): likewise. (ready): likewise. (getState): new method. (closePipe): likewise. (create_named_pipe): likewise. (set_state): likewise. (available): likewise. (drain): likewise. (GstPipeline): likewise. (close): likewise. (prepareWrite): likewise. (flush): likewise. (write): likewise. (init_instance): likewise. (read): likewise. (createForWrite): likewise. (setState): likewise. (getNativeClass): likewise. (init_id_cache): likewise. * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java: (pipeline): new local variable. (opne): likewise. (isActive): method implemented. (stop): likewise. (open): likewise. (flush): likewise. (isRunning): likewise. (start): likewise. (write): likewise. (available): likewise. (drain): likewise. (close): likewise. * include/Makefile.am: added entry to generate new header file. * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h: regenerated. * include/gnu_javax_sound_sampled_gstreamer_io_GstInputStream.h: likewise. * include/gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine.h: likewise. * include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h: likewise. * native/jni/gstreamer-peer/gstclasspathsrc.c: removed. * native/jni/gstreamer-peer/gstinputstream.c: likewise. * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise. * native/jni/gstreamer-peer/gstinputstream.h: likewise. * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise. * native/jni/gstreamer-peer/Makefile.am: new file added for compilation. code reformat to keep the 80 columns constraint. * native/jni/gstreamer-peer/gst_native_pipeline.h: new file. * native/jni/gstreamer-peer/gst_input_stream.c: likewise. * native/jni/gstreamer-peer/gst_input_stream.h: likewise. * native/jni/gstreamer-peer/gst_classpath_src.c: likewise. * native/jni/gstreamer-peer/gst_native_pipeline.c: likewise. * native/jni/gstreamer-peer/gst_native_data_line.c: likewise. * native/jni/gstreamer-peer/gst_classpath_src.h: likewise. * native/jni/gstreamer-peer/gstreamer_io_peer.c: likewise. * native/jni/gstreamer-peer/gst_peer.c: likewise. * native/jni/gstreamer-peer/gst_peer.h: likewise.
* 2007-07-08 Mario Torre <neugens@limasoftware.net>Mario Torre2007-07-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/javax/sound/sampled/gstreamer: new package hierarchy. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java: new file. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java: likewise. * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java: likewise. * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: likewise. * gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.java: likewise. * gnu/javax/sound/AudioSecurityManager.java: likewise. * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java: likewise. * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java: likewise. * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java: likewise. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise. * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader.in: likewise. * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider.in: likewise. * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider: likewise. * native/jni/gstreamer-peer/gstclasspathsrc.c: likewise. * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise. * native/jni/gstreamer-peer/gstinputstream.c: likewise. * native/jni/gstreamer-peer/gstinputstream.h: likewise. * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise. * native/jni/gstreamer-peer/Makefile.am: likewise. * native/jni/gstreamer-peer/.cvsignore: likewise. * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h: likewise. * include/Makefile.am: add gstreamer generated headers. * configure.ac: add gstreamer sound backend configuration. The backend is currently disabled by default. * native/jni/Makefile.am: code to allow compilation of the gstreamer sound backend. * javax/sound/sampled/spi/MixerProvider.java (isMixerSupported): indentation fixes. * javax/sound/sampled/AudioFormat.java (toString): fix method to display informations only when available. * javax/sound/sampled/DataLine.java: (Info.isFormatSupported): indentation fixes. (Info): indentation fixes. (Info.toString): indentation fixes. (Info.matches): indentation fixes.
* 2007-04-18 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-04-181-13/+117
| | | | | | | | | | | | | | | | | | * include/GtkDragSourceContextPeer.h: Removed, renamed to .. * include/gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h: New file. * native/jni/gtk-peer/GtkDragSourceContextPeer.c: Include gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h. * include/Makefile.am (GTKPEER_H_FILES): Renamed GtkDragSourceContextPeer.h to gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h per current convention. Use portable construct to create gtk and libxmlj peer headers. Depend on the java source code, rather then the class files in order to avoid spurious regeneration.
* 2007-04-18 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-04-181-3/+68
| | | | | | | * include/Makefile.am: Use portable construct to create qt peer headers. Depend on the java source code, rather then the class files in order to avoid spurious regeneration.
* 2007-04-18 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-04-181-6/+10
| | | | | | | * include/Makefile.am: Use portable construct to create alsa and dssi peer headers. Depend on the java source code, rather then the class files in order to avoid spurious regeneration.
* 2007-04-18 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-04-181-3/+2
| | | | | | * include/Makefile.am: Use portable construct to create gconf peer header. Depend on the java source code, rather the class file to avoid spurious regeneration.
* 2007-04-18 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-04-181-1/+0
| | | | | | | | * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h: Removed empty header file. * include/Makefile.am (QTPEER_H_FILES): Removed gnu_java_awt_peer_qt_QtGraphicsEnvironment.h.
* 2007-04-18 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-04-181-1/+0
| | | | | | | | | | | * native/jni/xmlj/xmlj_xpath.c: Don't include gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h. * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h: Removed empty header file. * include/Makefile.am (XMLJ_H_FILES): Removed gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h.
* 2007-04-18 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-04-181-1/+0
| | | | | | | | * include/gnu_java_awt_peer_qt_QtContainerPeer.h: Removed empty header file. * include/Makefile.am (QTPEER_H_FILES): Removed gnu_java_awt_peer_qt_QtContainerPeer.h.
* 2007-04-05 Francis Kung <fkung@redhat.com>Francis Kung2007-04-051-1/+0
| | | | * include/Makefile.am: Remove old entry.
* 2006-12-26 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-261-0/+3
| | | | | | | | | | | | | | | | | | | | | * NEWS: Mention 1.6 support for java.lang.management * configure.ac: Check for getloadavg. * examples/gnu/classpath/examples/management/TestOS.java: Print system load average. * gnu/java/lang/management/OperatingSystemMXBeanImpl.java: (getSystemLoadAverage()): Implemented. * include/Makefile.am: Add new header. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. * include/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.h: Generated. * java/lang/management/OperatingSystemMXBean.java: (getSystemLoadAverage()): Implemented. * native/jni/java-lang/Makefile.am: Add new native code. * native/jni/java-lang/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.c: New file. * vm/reference/gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java: Likewise.
* Lots of changes.Robert Schuster2006-10-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-10-25 Robert Schuster <robertschuster@fsfe.org> * gnu/java/net/PlainDatagramSocketImpl.java: (connect): Use VMChannel instance for connect call. (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive. (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive. (setOption): Handle multicast options. (getOption): Handle multicast options. * gnu/java/net/PlainSocketImpl.java: (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive. (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive. (setOption): Filter unappropriate options. (getOption): Filter unappropriate options. (connect): Use given SocketAddress. (close): Reset address and port. (getInetAddress): * include/Makefile.am: Removed all occurences of gnu_java_net_VMPlainDatagramSocketImpl.h. * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed. * native/jni/java-net/Makefile.am: Removed gnu_java_net_VMPlainDatagramSocketImpl.c from sources. * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c: Removed. as SocketException, declare to throw SocketException. * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions for SocketException and ConnectException. (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead of IOException. (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead of IOException. (Java_gnu_java_nio_VMChannel_accept): Rewritten. (JCL_thread_interrupted): New function. (initIDs): Added initialisation for isThreadInterrupted method id. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added CPNET_IP_TTL to java_sockopt enum. (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL case, handle SO_LINGER case properly. (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL case, handle SO_LINGER case properly. (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New function. (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New function. (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New function. (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be IPV6_LEAVE_GROUP. * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed. * vm/reference/gnu/java/nio/VMChannel.java: (connect(int, byte[], int, int)): Declare to throw SocketException. (connect6): Declare to throw SocketException. (connect(InetSocketAddress, int)): Catch IOException and rethrow (isThreadInterrupted): New method. * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL field. (setTimeToLive): New method. (getTimeToLive): New method. (setMulticastInterface(int, InetAddress)): New method. (setMulticastInterface(int, int, Inet4Address): New method. (setMulticastInterface6(int, int, Inet6Address): New method. (setOptions): Handle SO_LINGER case. (getOptions): Add missing SO_REUSEADDR case. * java/net/Socket.java: (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket when exception was thrown out of connect(). (setSoLinger): Replaced instantiations with valueOf calls, replaced Boolean.FALSE with Integer.valueOf(-1). * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration. * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation. * NEWS: Documented VM interface changes.
* 2006-09-20 Casey Marshall <csm@gnu.org>Casey Marshall2006-09-201-0/+4
| | | | | | | | | | | | | | | | * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.' (AC_CHECK_FUNCS): check for `epoll_create.' * gnu/java/nio/EpollSelectionKeyImpl.java: new file. * gnu/java/nio/EpollSelectorImpl.java: new file. * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class field. (openSelector): return epoll selector if requested and available. * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h. (gnu_java_nio_EpollSelectorImpl.h): new target. * include/gnu_java_nio_EpollSelectorImpl.h: new file. * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add gnu_java_nio_EpollSelectorImpl.c. * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
* 2006-09-16 Casey Marshall <csm@gnu.org>Casey Marshall2006-09-171-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS: updated. * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'. (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs, kqueue, and kevent. (HAVE_INET6): define if IPv6 is supported. * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field. (native_fd): removed. (impl): new field. (<init>): throw IOException; initialize fields. (finalize): removed. (getNativeFD): removed. (bind): use `PlainSocketImpl.bind.' (create): use `PlainSocketImpl.initSocket.' (disconnect): use `PlainSocketImpl.disconnect.' (getLocalPort): new method. (send): use `VMChannel.send.' (receive): use `VMChannel.receive.' (setOption): use `PlainSocketImpl.setOption.' (getOption): use `PlainSocketImpl.getOption.' (close): use `VMChannel.State.close.' (join): use `PlainSocketImpl.join.' (leave): use `PlainSocketImpl.leave.' (joinGroup, leaveGroup): implemented. * gnu/java/net/PlainSocketImpl.java: make non-final. (native_fd): removed. (impl): new field. (channel): new field. (<init>): initialize `impl.' (finalize, getNativeFD): removed. (setOption): use `PlainSocketImpl.setOption.' (getOption): use `PlainSocketImpl.getOption.' (shutdownInput): use `PlainSocketImpl.shutdownInput.' (shutdownOutput): use `PlainSocketImpl.shutdownOutput.' (create): create `channel,' initialize `impl's native state. (connect): use `connect(SocketAddress, int).' (connect): use `SocketChannelImpl.connect;' initialize `address' and `port.' (bind): use `VMPlainSocketImpl.bind.' (listen): use `VMPlainSocketImpl.listen.' (accept): use `SocketChannelImpl.accept.' (available): use `VMChannel.available.' (close): use `PlainSocketImpl.close.' (sendUrgentData): use `PlainSocketImpl.sendUrgentData.' (getVMChannel, getInetAddress, getLocalPort, getLocalAddress, getPort): new methods. (SocketInputStream.read): use `VMChannel.read.' (SocketInputStream.read): use `SocketChannel.read.' (SocketOutputStream.write): use `VMChannel.write.' (SocketOutputStream.write): use `SocketChannel.write.' * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel. (channel): new field. (<init>): initialize `channel.' (implCloseSelectableChannel): use `VMChannel.close.' (implConfigureBlocking): use `VMChannel.setBlocking.' (connect): use `VMChannel.connect.' (disconnect): use `VMChannel.disconnect.' (isConnected): use `VMChannel.getPeerAddress.' (write): use `VMChannel.write.' (write): use `VMChannel.writeGathering.' (read): use `VMChannel.read.' (read): use `VMChannel.readScattering.' (receive): use `VMChannel.receive.' (send): use `VMChannel.send.' (getVMChannel): new method. * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD): access native FD through VMChannel.State. * gnu/java/nio/FileChannelImpl.java: moved from gnu/java/nio/channels/FileChannelImpl.java. * gnu/java/nio/FileLockImpl.java: fix imports. * gnu/java/nio/KqueueSelectionKeyImpl.java: new file. * gnu/java/nio/KqueueSelectorImpl.java: new file. * gnu/java/nio/NIOSocket.java (impl): removed. (channel): new field. (<init>): init superclass with a `NIOSocketImpl;' init `channel.' (getPlainSocketImpl, setChannel): removed. (isConnected): new method. * gnu/java/nio/NIOSocketImpl.java: new file. * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement `VMChannelOwner.' (SourceChannelImpl.native_fd): removed. (SourceChannelImpl.<init>): init with a `VMChannel.' (SourceChannelImpl.getNativeFD): removed. (SourceChannelImpl.getVMChannel): new method. (SourceChannelImpl.implCloseSelectableChannel): implement. (SinkChannelImpl): implement `VMChannelOwner.' (SinkChannelImpl.native_fd): removed. (SinkChannelImpl.<init>): init with a `VMChannel.' (SinkChannelImpl.implCloseSelectableChannel): implement. (SinkChannelImpl.getNativeFD): removed. (SinkChannelImpl.getVMChannel): new method. * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark deprecated. * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE, SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants. (openSelector): return kqueue selector if available. * gnu/java/nio/ServerSocketChannelImpl.java: implement `VMChannelOwner.' (channel): new field. (<init>): init `channel.' (finalizer): check if the `VMChannel.State' is valid. (implCloseSelectableChannel): use `VMChannel.close.' (implConfigureBlocking): use `VMChannel.setBlocking.' (accept): use `VMChannel.accept.' (getVMChannel): new method. * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD): access native FD through `VMChannel.State.' * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.' (impl): removed. (channel, connected, connectAddress): new field. (<init>): new constructors. (getPlainSocketImpl): removed. (implCloseSelectableChannel): use `VMChannel.close.' (implConfigureBlocking): use `VMChannel.setBlocking.' (connect): use `connect(SocketAddress,int).' (connect): use `VMChannel.connect.' (finishConnect): don't use a selector. (isConnected): use `VMChannel.getPeerAddress.' (read): use `VMChannel.read.' (read): use `VMChannel.readScattering.' (write): use `VMChannel.write.' (write): use `VMChannel.writeGathering.' (getVMChannel): new method. * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get native FD from `VMChannel.State.' * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD): get native FD from `VMChannel.State.' * gnu/java/nio/VMChannelOwner.java: new file. * gnu/java/nio/channels/FileChannelImpl.java: removed. * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h' and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate `gnu_java_nio_channels_FileChannelImpl.h.' * include/gnu_java_net_VMPlainSocketImpl.h: regenerated. * include/gnu_java_nio_FileChannelImpl.h: new file. * include/gnu_java_nio_KqueueSelectorImpl.h: new file. * include/gnu_java_nio_VMChannel.h: regenerated. * include/gnu_java_nio_VMPipe.h: regenerated. * include/java_net_VMNetworkInterface.h: regenerated. * java/io/FileDescriptor.java: fix imports. * java/io/FileInputStream.java (<init>): handle exceptions. (read): wrap the destination arary. * java/io/FileOutputStream.java (<init>): handle exceptions. (write): wrap the source array. * java/io/RandomAccessFile.java (<init>): handle exceptions. * java/net/DatagramSocket.java (<init>): handle exceptions. (receive): handle length/port setting. (connect): bind to any address/port if the argument is null. * java/net/NetworkInterface.java (name, inetAddress): removed. (netif): new field. (<init>): make private. (getName): return `netif.name.' (getInetAddresses): access `netif.addresses.' (getDisplayName): return `netif.name.' (getByName, getByAddress): handle changes to `VMNetworkInterface.' (condense): removed. (getNetworkInterfaces): handle changes to `VMNetworkInterface.' (equals): compare `netif' fields. (hashCode): get hash codes from `netif.' (toString): use a StringBuffer. * java/net/ServerSocket.java (close): don't set `impl' to null. (isClosed): use `VMChannel.State.isClosed.' * java/net/Socket.java (getLocalAddress): don't use `getOption' if the `SocketImpl' is a `PlainSocketImpl.' (close): just close the `impl.' (toString): use `super.toString' in the value we return. (isConnected): just access `impl,' not `getImpl.' (isBound): use `PlainSocketImpl' methods if we can. (isClosed): look at `VMChannel.State.' * native/jni/classpath/jcl.c (JNI_OnLoad): new function. (JCL_NewRawDataObject): don't initialize cached fields here; throw an exception if they were not. (JCL_GetRawData): throw an exception if cached fields weren't created. * native/jni/java-lang/java_lang_VMProcess.c: handle FileChannelImpl move. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION, THROW_NO_NETWORK): new macros. (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented. (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function. (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented. (java_sockopt): new enum. (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented. (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented. (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput): reimplemented. (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput): reimplemented. (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new function. (Java_gnu_java_net_VMPlainSocketImpl_join): new function. (Java_gnu_java_net_VMPlainSocketImpl_join6): new function. (Java_gnu_java_net_VMPlainSocketImpl_read): removed. (Java_gnu_java_net_VMPlainSocketImpl_leave): new function. (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function. (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function. (Java_gnu_java_net_VMPlainSocketImpl_write): removed. (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function. (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function. (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function. (getif_address): new function. (getif_index): new function. * native/jni/java-net/java_net_VMNetworkInterface.c (java_net_VMNetworkInterface_init, java_net_VMNetworkInterface_addAddress): new file-scope globals. (Java_java_net_VMNetworkInterface_initIds): new function. (struct netif_entry): new struct. (free_netif_list): new function. (Java_java_net_VMNetworkInterface_getInterfaces): removed. (Java_java_net_VMNetworkInterface_getVMInterfaces): new function. * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove gnu_java_nio_channels_FileChannelImpl.c, add gnu_java_nio_KqueueSelectorImpl.c. * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file. * native/jni/java-nio/gnu_java_nio_VMChannel.c (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP, ALIGN_DOWN): new macros. (JCL_init_buffer): get the address through GetDirectBufferAddress if possible. (Java_gnu_java_nio_VMChannel_stdin_1fd, Java_gnu_java_nio_VMChannel_stdout_1fd, Java_gnu_java_nio_VMChannel_stderr_1fd): new functions. (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking value. (Java_gnu_java_nio_VMChannel_read): renamed... (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to this; handle interrupted IO; add HAVE_READ check. (Java_gnu_java_nio_VMChannel_write): renamed... (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to this; handle zero-length write; add HAVE_WRITE check. (Java_gnu_java_nio_VMChannel_receive): new function. (Java_gnu_java_nio_VMChannel_send): new function. (Java_gnu_java_nio_VMChannel_send6): new function. (Java_gnu_java_nio_VMChannel_read__I): new function. (Java_gnu_java_nio_VMChannel_write__II): new function. (Java_gnu_java_nio_VMChannel_socket): new function. (Java_gnu_java_nio_VMChannel_connect): new function. (Java_gnu_java_nio_VMChannel_connect6): new function. (Java_gnu_java_nio_VMChannel_getsockname): new function. (Java_gnu_java_nio_VMChannel_getpeername): new function. (Java_gnu_java_nio_VMChannel_accept): new function. (Java_gnu_java_nio_VMChannel_disconnect): new function. (Java_gnu_java_nio_VMChannel_close): new function. (Java_gnu_java_nio_VMChannel_available): new function. (FileChannel_mode): new enum. (Java_gnu_java_nio_VMChannel_open): new function. (Java_gnu_java_nio_VMChannel_position): new function. (Java_gnu_java_nio_VMChannel_seek): new function. (Java_gnu_java_nio_VMChannel_truncate): new funciton. (Java_gnu_java_nio_VMChannel_lock): new function. (Java_gnu_java_nio_VMChannel_unlock): new function. (Java_gnu_java_nio_VMChannel_size): new function. (Java_gnu_java_nio_VMChannel_map): new function. (Java_gnu_java_nio_VMChannel_flush): new function. * native/jni/java-nio/gnu_java_nio_VMPipe.c (Java_gnu_java_nio_VMPipe_init): removed. (Java_gnu_java_nio_VMPipe_pipe0): new function. * native/jni/java-nio/javanio.c: new file. * native/jni/java-nio/javanio.h: new file. * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for systems without `gethostbyname_r.' * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new field. (<init>, <init>): new constructors. (setOption, getOption): make instance methods; defer to native implementation. (connect): removed. (bind): make an instance method; defer to native methods. (accept): removed. (available): removed. (listen): make an instance method; defer to native method. (read): removed. (join, leave): new methods. (write): removed. (joinGroup, leaveGroup): new methods. (shutdownInput, shutdownOutput): make instance methods. (sendUrgentData): removed. (State): new class. * vm/reference/gnu/java/nio/VMChannel.java: make final. (fd): removed. (nfd): new field. (<init>): new, public constructors. (getVMChannel): methods removed. (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd, stderr_fd): new methods. (setBlocking): make an instance method. (available): new method. (read): get native fd from `nfd.' (read): new single-byte read method. (readScattering): get native fd from `nfd.' (receive): new method. (write, writeGathering): get native fd from `nfd.' (send): new method. (write): new single-byte write method. (initSocket): new method. (connect): new method. (disconnect): new method. (getLocalAddress): new method. (getPeerAddress): new method. (accept): new method. (openFile): new method. (position): new method. (seek): new method. (truncate): new method. (lock): new method. (unlock): new method. (size): new method. (map): new method. (flush): new method. (close): new method. (State): new class. (Kind): new class. * vm/reference/gnu/java/nio/VMPipe.java (init): removed. (pipe, pipe0): new method. * vm/reference/java/net/VMNetworkInterface.java (name, addresses): new fields. (<clinit>): call `initIds.' (initIds): new method. (getInterfaces): removed. (getVMInterfaces): new method. (addAddress): new method. * vm/reference/java/nio/channels/VMChannels.java: fix imports.
* 2006-07-17 Lillian Angel <langel@redhat.com>Lillian Angel2006-07-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/awt/Demo.java (Demo): Added new window for DnD demo. (DragDropWindow): New class. * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java: Added new fields and declarations for native functions. (GtkDragSourceContextPeer): Implemented. (getComponentPeer): New function. (startDrag): Partially implemented. (getCursor): Implemented. (setCursor): Implemented. * include/GtkDragSourceContextPeer.h: New file. * include/Makefile.am: Added new header file. * java/awt/Component.java (addNotify): Added call to the dropTarget's addNotify. * java/awt/dnd/DragSource.java (startDrag): Fixed code to use shared instances of peer and context. (getDragThreshold): Added stub. * java/awt/dnd/DropTarget.java (DropTarget): Implemented fully. (addNotify): Added code to get the peer of the parent that is not lightweight. * java/awt/dnd/DropTargetDragEvent.java (getTransferable): Added stub. * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file. * native/jni/gtk-peer/Makefile.am: Added new c file. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java: Changed to extend GtkGenericPeer. (GtkDropTargetContextPeer): New constructor. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java: Changed to extend GtkGenericPeer. (GtkDropTargetContextPeer): New constructor.
* * include/Makefile.am: RemoveMark Wielaard2006-07-151-1/+0
| | | | | | | | | | | include/gnu_java_awt_peer_gtk_GdkTextLayout.h. * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed. * native/jni/gtk-peer/Makefile.am: Remove gnu_java_awt_peer_gtk_GdkTextLayout.c * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed. * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
* 2006-06-30 Lillian Angel <langel@redhat.com>Lillian Angel2006-06-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tom Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Added current_group, groupMap fields. Added definitions for new native functions. (create): Removed FIXME. Added code to create the check button or radio button when appropriate. Updated groupMap to contain pointer to the newly created group. (setCheckboxGroup): Added code to handle all cases. Removing a button from a group, adding a button to a group, or changing the group of a button. (dispose): Changed to call super. * include/Makefile.am: Removed reference to gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h. * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file. * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions for new functions. * native/jni/gtk-peer/Makefile.am: Removed reference to gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c: Removed file. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): Renamed to checkbox_get_widget. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Changed to use checkbox_get_widget. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): Removed. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont): Changed to use checkbox_get_widget. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel): Likewise. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton): New function. Creates checkbutton without a group. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): Creates a radio button in a group, using groupPointer. If groupPointer is 0, then a new group is created. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the check button to a group, using groupPointer. A radio button is created in its place. If groupPointer is 0, then a new group is created. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The radio button is removed from the group. A check button is created in its place. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The radio button is moved to a new group.
* * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should dependMark Wielaard2006-06-181-1/+1
| | | | | | | | | | | | | | | | | | | on gnu/java/util/prefs/gconf/%.class. * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix chache typo, should be cache. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys): Declare tmp early. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes): Likewise. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir): Don't return a value for void function. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir) Likewise. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists): Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean function. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class): Mark clazz ad unused.
* 2006-0-12 Mario torre <neugens at limasoftware.net>Michael Koch2006-06-171-0/+7
| | | | | | | | | | | | | | | | * gnu/java/util/prefs/GConfBasedPreferences.java: new class. * gnu/java/util/prefs/GConfBasedFactory.java: new class. * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class. * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated header file. * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file. + * configure.ac: update to introduce new files. Added options to build gconf native peer used by the GConf preference backend. * include/Makefile.am: update to introduce new files. * native/jni/Makefile.am update to introduce new files. * scripts/check_jni_methods.sh: added three new ignored file from check. * native/jni/gconf-peer/Makefile.am: new Makefile needed to build gconf-peer shared library.
* 2006-06-05 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-071-0/+1
| | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c New files. * gnu/java/awt/peer/gtk/GdkFontPeer.java (getGlyphVector): Removed native method. (createGlyphVector, getStringBounds): Use new GV class. * include/Makefile.am * native/jni/gtk-peer/Makefile.am Add new files. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (getGlyphVector): Removed native method.
* 2006-06-06 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-06-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated. * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file. * include/Makefile.am: Added gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice. * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java: (GdkGraphicsConfiguration): Rewritten. (getColorModel): Rewritten. (getColorModel(int)): Rewritten. (getBounds): Rewritten. (createCompatibleVolatileImage): Implemented. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static initializer. (getDefaultScreenDevice): Rewritten. (nativeGetDefaultScreenDevice): New method. (getScreenDevices): Rewritten. (nativeGetScreenDevices): New method. (nativeInitState): New method. * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely rewritten. (X11DisplayMode): New inner class. * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c * native/jni/gtk-peer/gdkdisplay.h: New file. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c: (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState): New function. (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState): New function. (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment _nativeGetScreenDevices): New function. (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment _nativeGetDefaultScreenDevice): New function. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c: New file. * configure.ac: Added check for Xrandr library.
* 2006-06-02 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-031-0/+1
| | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c New files. * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage): Overloads for VolatileImage drawing. (drawVolatile): New method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c * include/gnu_java_awt_peer_gtk_ComponentGraphics.h (drawVolatile): New method. * gnu/java/awt/peer/gtk/GtkVolatileImage.java Unstub implementation. * include/Makefile.am * native/jni/gtk-peer/Makefile.am Add new files. * native/jni/gtk-peer/gtkpeer.h New prototype.
* * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.Mark Wielaard2006-05-301-0/+3
|
* 2006-05-30 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c New files. * include/Makefile.am * native/jni/gtk-peer/Makefile.am Add new files. * gnu/java/awt/peer/gtk/CairoSurface.java (getSharedGtkImage): New method. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c Fix copyArea. * gnu/java/awt/peer/gtk/ComponentGraphics.java Support a non-xrender context. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c Plug memory leak. * gnu/java/awt/peer/gtk/GtkImage.java * include/gnu_java_awt_peer_gtk_GtkImage.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c (initFromBuffer): New method. * native/jni/gtk-peer/gtkpeer.h: Remove declarations of previouslyremoved methods.
* 2006-05-29 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java * gnu/java/awt/peer/gtk/CairoGraphics2D.java * gnu/java/awt/peer/gtk/CairoSurface.java * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java * gnu/java/awt/peer/gtk/ComponentGraphics.java * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h * include/gnu_java_awt_peer_gtk_CairoSurface.h * include/gnu_java_awt_peer_gtk_ComponentGraphics.h * native/jni/gtk-peer/cairographics2d.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c New files. * gnu/java/awt/peer/gtk/GdkGraphics2D.java * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h Removed * include/gnu_java_awt_peer_gtk_GdkFontPeer.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c * gnu/java/awt/peer/gtk/GdkFontPeer.java (releasePeerGraphicsResource): Moved to Font peer class. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java (createGraphics): Use new context classes. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Use native BufferedImages where possible. * gnu/java/awt/peer/gtk/GdkTextLayout.java * include/gnu_java_awt_peer_gtk_GdkTextLayout.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class, renamed to cairoDrawGdkTextLayout. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (getGraphics): Use ComponentGraphics context. (createImage): Use native BufferedImage. * gnu/java/awt/peer/gtk/GtkImage.java: * include/gnu_java_awt_peer_gtk_GtkImage.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c Remove pixmap support. (GtkImage(int, int) constructor, getGraphics) Remove drawing methods. * gnu/java/awt/print/JavaPrinterGraphics.java: Use CairoSurface instead of GtkImage. * include/Makefile.am * native/jni/gtk-peer/Makefile.am Update for new files. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c Remove superfluous GtkImage code for GdkPixmaps. * native/jni/gtk-peer/gtkpeer.h Remove graphics2d structure.
* * configure.ac: Check for magic.h and -lmagic.Tom Tromey2006-05-271-0/+3
| | | | | | | | | | | * vm/reference/java/net/VMURLConnection.java: New file. * include/java_net_VMURLConnection.h: New file. * include/Makefile.am (H_FILES): Add VMURLConnection.h. ($(top_srcdir)/include/java_net_VMURLConnection.h): New target. * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES): Mention new file. (libjavanet_la_LIBADD): Add $(LIBMAGIC). * native/jni/java-net/java_net_VMURLConnection.c: New file.
* 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-05-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention Cairo version requirement. Do not mention --enable-gtk-cairo configure option. * NEWS: Add entry for GdkGraphics2D. * configure.ac: Remove --enable-gtk-cairo and explicit checks for Cairo library and headers. * .externalToolBuilders/Configure.launch: Remove --enable-gtk-cairo from configure line. * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove field. * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo. * gnu/java/awt/peer/gtk/GdkFontPeer.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove useGraphics2D references. Always assume Graphics2D is enabled. * gnu/java/awt/peer/gtk/GdkGraphics.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove. * gnu/java/awt/peer/gtk/GdkGraphics2D.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove Unlocked method variants. Remove GTK_CAIRO_ENABLED and useGraphics2D references. Always assume Graphics2D is enabled. * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof Graphics2D check. Always assume Graphics2D is enabled. * gnu/java/awt/peer/gtk/GtkCanvasPeer.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c (realize): Remove method. * gnu/java/awt/peer/gtk/GtkComponentPeer.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (isRealized): Remove method. (realize): Implement as a native method. Remove useGraphics2D references. Always assume Graphics2D is enabled. * gnu/java/awt/peer/gtk/GtkImage.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace GdkGraphics references with GdkGraphics2D references. * gnu/java/awt/peer/gtk/GtkToolkit.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove useGraphics2D references. Always assume Graphics2D is enabled. * include/Makefile.am (GTKPEER_H_FILES): Remove gnu_java_awt_peer_gtk_GdkGraphics.h. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate. * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove. * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate. * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise. * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise. * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS. * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove gnu_java_awt_peer_gtk_GdkGraphics.c. Include gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally. (AM_LDFLAGS): Remove CAIRO_LIBS. (AM_CFLAGS): Remove CAIRO_CFLAGS. * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations to ... * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
* 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>classpath-0_91-branch-pointAndrew John Hughes2006-05-031-0/+3
| | | | | | | * include/Makefile.am: Added rules for gnu.java.net.local.LocalSocketImpl.h * include/java_lang_VMSystem.h: Regenerated correctly.
* * include/Makefile.am: Rename PlainDatagramSocketImpl toMark Wielaard2006-03-191-6/+6
| | | | | | VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl. * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated. * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
* 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-03-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * doc/vmintegration.texinfo: Updated to include VMArray. * include/Makefile.am: Replace java_lang_reflect_Array.h with java_lang_reflect_VMArray.h * include/java_lang_reflect_VMArray.h: New autogenerated header. * include/java_lang_reflect_Array.h: Removed. * java/lang/reflect/Array.java: (newInstance(Class,int)): Calls VMArray. (createMultiArray(Class,int[],int)): Likewise. (createObjectArray(Class,int)): Removed. * native/jni/java-lang/Makefile.am: Replaced java_lang_reflect_Array.c with java_lang_reflect_VMArray.c * native/jni/java-lang/java_lang_reflect_VMArray.c: Renamed from java_lang_reflect_Array.c. * vm/reference/java/lang/reflect/VMArray.java: (createObjectArray(Class,int)): Native method moved from java.lang.reflect.Array.
* 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-02-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/Makefile.am: Swapped Math.h for VMMath.h * include/java_lang_Math.h: Removed. * include/java_lang_VMMath.h: New autogenerated header for the new class. * java/lang/Math.java: (sin(double)): Changed to link to VMMath. (cos(double)): Changed to link to VMMath. (tan(double)): Changed to link to VMMath. (asin(double)): Changed to link to VMMath. (acos(double)): Changed to link to VMMath. (atan(double)): Changed to link to VMMath. (atan2(double)): Changed to link to VMMath. (exp(double)): Changed to link to VMMath. (log(double)): Changed to link to VMMath. (sqrt(double)): Changed to link to VMMath. (pow(double,double)): Changed to link to VMMath. (IEEEremainder(double,double)): Changed to link to VMMath. (ceil(double)): Changed to link to VMMath. (floor(double)): Changed to link to VMMath. (rint(double)): Changed to link to VMMath. * native/jni/java-lang/Makefile.am: Replaced java_lang_Math.c with java_lang_VMMath.c * native/jni/java-lang/java_lang_Math.c: Removed. * native/jni/java-lang/java_lang_VMMath.c: Renamed from java_lang_Math.c. * vm/reference/java/lang/VMMath.java: New class. (sin(double)): New native method. (cos(double)): New native method. (tan(double)): New native method. (asin(double)): New native method. (acos(double)): New native method. (atan(double)): New native method. (atan2(double)): New native method. (exp(double)): New native method. (log(double)): New native method. (sqrt(double)): New native method. (pow(double,double)): New native method. (IEEEremainder(double,double)): New native method. (ceil(double)): New native method. (floor(double)): New native method. (rint(double)): New native method.
* Added AX_CREATE_STDINT.m4Dalibor Topic2006-01-041-1/+1
| | | | | | | | | | | | | 2006-01-04 Dalibor Topic <robilad@kaffe.org> * configure.ac: Added AX_CREATE_STDINT_H * include/Makefile.am (DISTCLEANFILES): Remove config-int.h. * m4/ax_create_stdint_h.m4: New file. * native/fdlibm/mprec.h: Include config-int.h. Removed C99 typedefs. Removed stdint.h and inttypes.h includes.
* * include/Makefile.am: Rename gnu_java_awt_peer_gtk_CairoGraphics.hMark Wielaard2005-12-221-1/+1
| | | | to gnu_java_awt_peer_gtk_GdkGraphics2D.h.
* 2005-12-21 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2005-12-221-8/+9
| | | | | | | | | | | | * .project: Add ClasspathHeaders.launch. * .externalToolBuilders/Autogen.launch: Run automatically when Makefile.am or configure.ac is updated. * .externalToolBuilders/CompileNative.launch: Run automatically. * .externalToolBuilders/Configure.launch: Run automatically when top-level Makefile.in changes. * include/Makefile.am (CLASSDIR): New variable. Replace lib references with $(CLASSDIR). * .externalToolBuilders/ClasspathHeaders.launch: New builder.
* 2005-10-02 Anthony Green <green@redhat.com>Anthony Green2005-10-031-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * native/jni/Makefile.am: Maybe build ALSA code. Maybe build DSSI code. * gnu/javax/sound/midi/alsa/AlsaPortDevice.java, gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.java gnu/javax/sound/midi/alsa/AlsaInputPortDevice.java gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.java gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Rebuilt. native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c, native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.c, native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaSequencerDevice.c, native/jni/midi-dssi/dssi_data.h, native/jni/midi-dssi/Makefile.am, native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.c native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c, native/jni/midi-alsa/Makefile.am: New files. * include/Makefile.am: Add sound header files. * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h, include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h, include/gnu_javax_sound_midi_alsa_AlsaSequencerDevice.h: New files. * configure.ac (AC_CONFIG_FILES): Add native/jni/midi-alsa/Makefile, native/jni/midi-dssi/Makefile.
* * configure.ac (AC_CONFIG_FILES): Add examples/Makefile.jawt.Mark Wielaard2005-09-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * examples/.cvsignore: Add Makefile.jawt. * examples/Makefile.am (EXAMPLE_C_FILES): New variable. (ALL_EXAMPLE_FILES): Likewise. (install-data-local): Use ALL_EXAMPLE_FILES and add Makefile.jawt. (uninstall-local): Likewise. (EXTRA_DIST): Add Makefile.awt.in. * examples/Makefile.jawt.in: New file. * examples/README: Add jawt instructions. * examples/gnu/classpath/examples/jawt/DemoJAWT.c (Java_DemoJAWT_paint): Rename to Java_gnu_classpath_examples_jawt_DemoJAWT_paintIt. (Java_gnu_classpath_examples_jawt_DemoJAWT_paintIt): Flip foreground color based on on parameter. * examples/gnu/classpath/examples/jawt/DemoJAWT.java (paint): Renamed paintIt. (paint): Call paintIt. (on): New boolean field. (main): Add Frame name, switch on variable every 0.5 seconds and call Frame.repaint(). * examples/gnu/classpath/examples/jawt/Makefile: Removed. * include/Makefile.am (include_HEADERS): New for jni.h, jni_md.h, jawt.h and jawt_md.h.
* build machinery for qt 4 peersDalibor Topic2005-08-171-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-15 Dalibor Topic <robilad@kaffe.org> * configure.ac: Added option to enable building qt peers. * include/Makefile.am: Added qt peer headers. * include/gnu_java_awt_peer_qt_MainQtThread.h, include/gnu_java_awt_peer_qt_QMatrix.h, include/gnu_java_awt_peer_qt_QPainterPath.h, include/gnu_java_awt_peer_qt_QPen.h, include/gnu_java_awt_peer_qt_QtAudioClip.h, include/gnu_java_awt_peer_qt_QtButtonPeer.h, include/gnu_java_awt_peer_qt_QtCanvasPeer.h, include/gnu_java_awt_peer_qt_QtCheckboxPeer.h, include/gnu_java_awt_peer_qt_QtChoicePeer.h, include/gnu_java_awt_peer_qt_QtComponentPeer.h, include/gnu_java_awt_peer_qt_QtContainerPeer.h, include/gnu_java_awt_peer_qt_QtDialogPeer.h, include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h, include/gnu_java_awt_peer_qt_QtFileDialogPeer.h, include/gnu_java_awt_peer_qt_QtFontMetrics.h, include/gnu_java_awt_peer_qt_QtFontPeer.h, include/gnu_java_awt_peer_qt_QtFramePeer.h, include/gnu_java_awt_peer_qt_QtGraphics.h, include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h, include/gnu_java_awt_peer_qt_QtImage.h, include/gnu_java_awt_peer_qt_QtLabelPeer.h, include/gnu_java_awt_peer_qt_QtListPeer.h, include/gnu_java_awt_peer_qt_QtMenuBarPeer.h, include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h, include/gnu_java_awt_peer_qt_QtMenuItemPeer.h, include/gnu_java_awt_peer_qt_QtMenuPeer.h, include/gnu_java_awt_peer_qt_QtPanelPeer.h, include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h, include/gnu_java_awt_peer_qt_QtScreenDevice.h, include/gnu_java_awt_peer_qt_QtScrollPanePeer.h, include/gnu_java_awt_peer_qt_QtScrollbarPeer.h, include/gnu_java_awt_peer_qt_QtTextAreaPeer.h, include/gnu_java_awt_peer_qt_QtTextFieldPeer.h, include/gnu_java_awt_peer_qt_QtToolkit.h, include/gnu_java_awt_peer_qt_QtVolatileImage.h, include/gnu_java_awt_peer_qt_QtWindowPeer.h, native/jni/qt-peer/Makefile.am: New files. * native/jni/Makefile.am: Handle qt peers. * native/jni/qt-peer/slotcallbacks.moc.h: Removed. Now generated on demand by moc.
* * gnu/java/awt/peer/gtk/GtkClipboard.java: Reimplemented.Mark Wielaard2005-08-161-0/+1
| | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: New class. * gnu/java/awt/peer/gtk/GtkSelection.java: New class. * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(Pointer)): New constructor. (createFromPixbuf): New private native method. * gnu/java/awt/peer/gtk/GtkToolkit.java (systemClipboard): Removed. (getSystemClipboard): Do security check and return GtkClipboard.getInstance(). * include/Makefile.am: Add gnu_java_awt_peer_gtk_GtkSelection.h. * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerated. * include/gnu_java_awt_peer_gtk_GtkImage.h: Regenerated. * include/gnu_java_awt_peer_gtk_GtkSelection.h: New header file. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: Reimplemented. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): New
* * include/Makefile.am (GTKPEER_H_FILES): Removed GtkTextComponentPeer.Mark Wielaard2005-07-051-1/+0
| | | | | | | | * include/gnu_java_awt_peer_gtk_GtkTextComponentPeer.h: Removed. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (classpath_gtk_component_connect_nonfocus_signals): Mark argument unused. (classpath_gtk_component_connect_signals): Likewise.
* 2005-06-02 Sven de Marothy <sven@physto.se>Sven de Marothy2005-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/GdkGraphics.java: (GdkGraphics): New constructor. (drawImage): Reimplemented. * gnu/java/awt/peer/gtk/GtkComponentPeer.java: (checkImage,createImage): Reimplemented. (prepareImage): Just call the GdkToolkit method. * gnu/java/awt/peer/gtk/GtkFramePeer.java: (setIconImage): Reimplemented. * gnu/java/awt/peer/gtk/GtkImage.java: Reimplemented. * gnu/java/awt/peer/gtk/GtkToolkit.java: (checkImage): Change handling of GtkImage. (createImage): Reimplemented for GtkImage. (getColorModel): Return the actual native color model. (prepareImage): Reimplemented. * include/Makefile.am, * native/jni/gtk-peer/Makefile.am: Removed old files, added new ones. * include/gnu_java_awt_peer_gtk_GdkGraphics.h, * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: (initFromImage): New method. (copyPixmap, flip_pixbuf, copyAndScalePixmap): Removed. * include/gnu_java_awt_peer_gtk_GtkFramePeer.h, * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: (nativeSetIconImage): New method. (nativeSetIconImageFromData,nativeSetIconImageFromDecoder): Removed. * gnu/java/awt/peer/gtk/GtkImageConsumer.java, * include/gnu_java_awt_peer_gtk_GtkImage.h, * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: New files. * gnu/java/awt/peer/gtk/GtkImagePainter.java, * gnu/java/awt/peer/gtk/GtkOffScreenImage.java, * include/gnu_java_awt_peer_gtk_GtkImagePainter.h, * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Removed files.
* 2005-04-18 Sven de Marothy <sven@physto.se>Sven de Marothy2005-04-181-0/+6
| | | | | | | | | | | | | | | * include/Makefile.am, * native/jni/java-nio/Makefile.am: Added new files. * gnu/java/nio/charset/iconv/IconvCharset.java, * gnu/java/nio/charset/iconv/IconvDecoder.java, * gnu/java/nio/charset/iconv/IconvEncoder.java, * gnu/java/nio/charset/iconv/IconvMetaData.java, * gnu/java/nio/charset/iconv/IconvProvider.java, * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c, * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c, * include/gnu_java_nio_charset_iconv_IconvDecoder.h, * include/gnu_java_nio_charset_iconv_IconvEncoder.h, New files.
* 2005-04-16 Michael Koch <konqueror@gmx.de>Michael Koch2005-04-161-3/+3
| | | | | | | | | | | | | | | * include/Makefile.am: Removed java_io_ObjectInputStream.h and added java_io_VMObjectInputStream.h. * include/java_io_ObjectInputStream.h: Removed. * include/java_io_VMObjectInputStream.h: New file. * java/io/ObjectInputStream.java (currentClassLoader): Removed. (allocateObject): Likewise. * native/jni/java-io/Makefile.am: Removed java_io_ObjectInputStream.c and added java_io_VMObjectInputStream.c. * native/jni/java-io/java_io_ObjectInputStream.c: Removed. * native/jni/java-io/java_io_VMObjectInputStream.c: New file. * vm/reference/java/io/VMObjectInputStream.java: Likewise.
* 2005-04-16 Michael Koch <konqueror@gmx.de>Michael Koch2005-04-161-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/java_lang_Double.h, include/java_lang_Object.h, native/jni/java-lang/java_lang_Double.c, native/jni/java-lang/java_lang_Object.c: Removed. * include/java_lang_VMDouble.h: Regenerated. * java/lang/Double.java (static): Removed. (toString): Call native method from VMDouble. (parseDouble): Make non-native and call native method from VMDouble. (toString): Removed. * java/lang/Float.java (toString): Call native method from VMDouble. * java/lang/Object.java (getClass): Refactored to call the native in java.lang.VMObject. * include/Makefile.am: Don't generate java_lang_Double.h and java_lang_Object.h. * native/jni/java-lang/Makefile.am: Removed java_lang_Double.c and java_lang_Object.c. * native/jni/java-lang/java_lang_VMDouble.c (initIDs): New method. (toString): Likewise. (parseDouble): Likewise. * vm/reference/java/lang/VMDouble.java (initIDs): Likewise. (toString): Likewise. (parseDouble): Likewise. * vm/reference/java/lang/VMObject.java (getClass): Likewise.
* 2005-04-11 Michael Koch <konqueror@gmx.de>Michael Koch2005-04-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/InetAddress.java (static): Removed. (getLocalHostname): Likewise. (lookupInaddrAny): Likewise. (getHostByAddr): Likewise. (getHostByName): Likewise. * java/net/NetworkInterface.java (static): Likewise. (getRealNetworkInterfaces): Likewise. * native/jni/java-net/java_net_InetAddress.c: Renamed to... * native/jni/java-net/java_net_VMInetAddress.c: New file. Renamed from java_net_InetAddress.c. All native methods moved to class VMInetAddress. * native/jni/java-net/java_net_NetworkInterface.c: Renamed to... Renamed from java_net_NetworkInterface.c. All native methods moved to class VMNetworkInterface. * native/jni/java-net/java_net_VMNetworkInterface.c: New file. * vm/reference/java/net/VMInetAddress.java, vm/reference/java/net/VMNetworkInterface.java: New files. * include/java_net_InetAddress.h, include/java_net_NetworkInterface.h: Removed. * include/java_net_VMInetAddress.h, include/java_net_VMNetworkInterface.h: New files. * include/Makefile.am: Build new header files.