| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* doc/vmintegration.texinfo: Likewise.
* include/jvmti.h: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
* java/awt/MouseInfo.java,
* java/awt/PointerInfo.java,
* java/awt/peer/MouseInfoPeer.java:
New files.
* java/awt/Image.java
(accelerationPriority): New field.
(setAccelerationPriority, getAccelerationPriority): New methods..
* include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
(getMouseCoordinates): New method.
* gnu/java/awt/peer/gtk/GtkFramePeer.java
(updateAlwaysOnTop): Remove stub overload.
* gnu/java/awt/ClasspathToolkit.java,
* gnu/java/awt/peer/gtk/GtkToolkit.java,
* include/gnu_java_awt_peer_gtk_GtkToolkit.h,
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
(getMouseInfoPeer): New method.
(getMouseNumberOfButtons): New method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(gtkWindowSetAlwaysOnTop): New method.
(updateAlwaysOnTop): Implement.
* java/awt/Toolkit.java,
(getMouseInfoPeer): New method.
* java/awt/Window.java
(alwaysOnTop): New field.
(isAlwaysOnTop, setAlwaysOnTop): New methods.
* java/awt/peer/WindowPeer.java: Doc fix.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
(cairoArc): New native method.
(cairoRestore): New native method.
(cairoSave): New native method.
(cairoScale): New native method.
(createPath): New method to centralize code from draw and fill.
(draw): Modified to use createPath method.
(fill): Modified to use createPath method.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
function declarations.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
method.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
method.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
(available): Pass fd as argument and avoid JNI class/field
lookup.
(read): Likewise.
(write): Likewise.
* include/gnu_java_net_local_LocalSocketImpl.h:
Regenerated.
* gnu/java/net/local/LocalSocketImpl.h
(available): Pass fd as argument and avoid JNI class/field
lookup.
(read): Likewise.
(write): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
Changed all return values of native functions to void.
(create): Changed function to be syncronized. Removed
call to put value in groupMap, this is now done from
the native code.
(setState): Changed function to be syncronized.
(setLabel): Changed function to be syncronized.
(setCheckboxGroup): Changed function to be syncronized. Removed
call to put value in groupMap, this is now done from
the native code.
(postItemEvent): Changed function to be syncronized.
(addToGroupMap): New function. Called by native code to add
new value to the group.
(dispose): Changed function to be syncronized.
* include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
all functions.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
(cp_gtk_checkbox_init_jni): Added code to link to
java function.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
Changed return value to void. Added call
to java function to set pointer in groupMap.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
changed check to an assert. Also, removed call to set/del pointer.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
Likewise. Also, added check to determine if native_group should be
set to NULL.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
(create): Added check to prevent Seg Fault. Should not
set the label if it is null.
* gnu/java/awt/peer/gtk/GtkLabelPeer.java
(setText): Changed to be a non-native function. Calls
setNativeText if the String parameter is non-null.
(setNativeText): Replaces old native setText function.
* include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
(Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
(Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(drawImage): Clip volatile image correctly.
(drawVolatileImage): Added arguments for clipping.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(drawVolatileImage): Added arguments for clipping. Clip image
correctly.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(cairoDrawLine): New native method.
(cairoDrawRect): New native method.
(cairoFillRect): New native method.
(drawLine): Use special native method.
(drawRect): Use special native method.
(fillRect): Use special native method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(cairoDrawLine): New native method.
(cairoDrawRect): New native method.
(cairoFillRect): New native method.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawPixels): Include alpha in parameter list.
(cairoFill): Include alpha in parameter list.
(setComposite): Don't modify the color.
(draw(Shape))): Use fill when the current composite has an alpha
of != 1.0, so that the stroked shaped will be composited.
(fill(Shape)): Call cairoFill() with alpha.
(drawImage): Call drawPixels or drawSurface with alpha.
(drawGlyphVector): When composite alpha is != 1.0, render the
outline using fill() to enable compositing for text.
(drawRaster): Call drawPixels with alpha.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(nativeDrawSurface): Include alpha in parameter list.
(drawSurface): Include alpha in parameter list. Pass it to
nativeDrawSurface().
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
* include/gnu_java_awt_peer_gtk_CairoSurface.h:
Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(drawPixels): Handle possible alpha for compositing.
(cairoFill): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(nativeDrawSurface): Handle possible alpha for compositing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(setupGlyphMetrics): New method. Add glyphmetrics caching.
(getOutline): Operate on the shape directly.
* gnu/java/awt/peer/gtk/GdkFontPeer.java
(getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
* include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
(getGlyph renamed getGlyphs)
* java/awt/geom/AffineTransform.java
(getTranslateInstance): Set fields directly.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
(getGlyphs): Get all glyph codes at once.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removed.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
Mark all unused parameters.
(cp_gtk_get_cairo_t): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
Don't mix declerations and statements.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
Mark all unused parameters.
(Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
Get cairographics2d pointer directly.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
(Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
Use jlong to pass pointer.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
Mark all unused parameters.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
* include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
* include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
* include/java_io_VMFile.h: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
* gnu/java/awt/peer/gtk/GtkVolatileImage.java
* 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
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
Changed method signatures and calls to pass native pointers directly
into the JNI code, in order to avoid costly lookups on each
JNI call.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
* include/gnu_java_awt_peer_gtk_CairoSurface.h,
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
* include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
Regenerated
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 24895
* native/jni/java-io/java_io_VMFile.c
(Java_java_io_VMFile_toCanonicalForm): New method.
* configure.ac: Added checks for lstat and readlink.
* include/java_io_VMFile.h: Added new method.
* vm/reference/java/io/VMFile.java: Use new method.
* gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
* NEWS: Documented the above.
* java/io/File.java: Javadoc fix.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
* gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
call disposeSurface.
(disposeSurface): New native method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
pattern_pixels.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
cairo_pattern_destroy.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
New function to destroy the surface.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
* include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
|
|
|
|
| |
with JNICALL.
|
|
|
|
| |
(JDK1_1AttachArgs): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(initFromVolatile): New method.
* gnu/java/awt/peer/gtk/GtkVolatileImage.java
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
Reimplement.
* include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
(copyArea, drawVolatileImage): New methods.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/CairoSurface.java
(getFlippedBuffer): New method.
(getGtkImage): Renamed method.
* gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
* gnu/java/awt/peer/gtk/GtkVolatileImage.java
Renamed getSharedImage to getGtkImage.
* include/gnu_java_awt_peer_gtk_CairoSurface.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(getFlippedBuffer): New method
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
Avoid window casts.
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(cairoPreserveClip, cairoResetClip): New methods.
(setClip, clip): Reimplement.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
(cairoPreserveClip, cairoResetClip): New methods.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawImage): Check for zero size.
* gnu/java/awt/peer/gtk/GdkTextLayout.java:
(setFont): Declare new native method.
(GdkTextLayout): Read some attributes.
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
(setFont): New native method.
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(copyArea): Implemented.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
(copyAreaNative): New method.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GdkFontPeer.java
(getTrueTypeTable): New native method.
(getPostScriptName): Reimplement.
(parsePSName): New method.
(getNumGlyphs): Implement.
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
New function. File is now explicitly dependent on FT2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch by Michael Barker <mike@middlesoft.co.uk>.
* gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
* gnu/java/nio/SelectorImpl.java (register): Added condition for
gnu.java.nio.SocketChannelSelectionKeyImpl.
* gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
* gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
VMChannel.
* include/gnu_java_nio_VMChannel.h: new file.
* java/nio/FileChannel.java (read,write): changed to call abstract
method.
* native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
* native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
`gnu_java_nio_VMChannel.c.'
* vm/reference/gnu/java/nio/VMChannel.java: new file.
|
|
|
|
|
|
|
| |
* include/Makefile.am:
Added rules for gnu.java.net.local.LocalSocketImpl.h
* include/java_lang_VMSystem.h:
Regenerated correctly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
* include/gnu_java_awt_peer_gtk_GdkGraphics.h,
* include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
* include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
* include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
* include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
* include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
* include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
* include/gnu_java_awt_peer_gtk_GtkClipboard.h,
* include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
* include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
* include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
* include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
* include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
* include/gnu_java_awt_peer_gtk_GtkImage.h,
* include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
* include/gnu_java_awt_peer_gtk_GtkListPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
* include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
* include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
* include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
* include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
* include/gnu_java_awt_peer_gtk_GtkSelection.h,
* include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
* include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
* include/gnu_java_awt_peer_gtk_GtkToolkit.h,
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
* 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,
* include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
* include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
* 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_xml_libxmlj_dom_GnomeAttr.h,
* include/gnu_xml_libxmlj_dom_GnomeDocument.h,
* include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
* include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
* include/gnu_xml_libxmlj_dom_GnomeElement.h,
* include/gnu_xml_libxmlj_dom_GnomeEntity.h,
* include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
* include/gnu_xml_libxmlj_dom_GnomeNode.h,
* include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
* include/gnu_xml_libxmlj_dom_GnomeNotation.h,
* include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
* include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
* include/gnu_xml_libxmlj_sax_GnomeLocator.h,
* include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
* include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
* include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
* include/java_lang_VMProcess.h:
Regenerated.
* native/jni/java-lang/java_lang_VMProcess.c:
Redirect when pipe_count is 2 not 3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS:
Mention changes to VMProcess and VMSystem.
* doc/vmintegration.texinfo:
Change documentation on VMProcess and VMSystem.
* java/lang/reflect/Modifier.java:
(toString(int,StringBuilder)): Merged from generics
branch.
* vm/reference/java/lang/reflect/Constructor.java
(toString()): Use StringBuilder.
(toGenericString()): Likewise.
* vm/reference/java/lang/reflect/Field.java:
(toString()): Use StringBuilder.
(toGenericString()): Likewise.
* vm/reference/java/lang/reflect/Method.java
(toString()): Use StringBuilder.
(toGenericString()): Likewise.
* include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
* include/gnu_java_awt_peer_gtk_GdkGraphics.h,
* include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
* include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
* include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
* include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
* include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
* include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
* include/gnu_java_awt_peer_gtk_GtkClipboard.h,
* include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
* include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
* include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
* include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
* include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
* include/gnu_java_awt_peer_gtk_GtkImage.h,
* include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
* include/gnu_java_awt_peer_gtk_GtkListPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
* include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
* include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
* include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
* include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
* include/gnu_java_awt_peer_gtk_GtkSelection.h,
* include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
* include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
* include/gnu_java_awt_peer_gtk_GtkToolkit.h,
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
* 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,
* include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
* include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
* 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_xml_libxmlj_dom_GnomeAttr.h,
* include/gnu_xml_libxmlj_dom_GnomeDocument.h,
* include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
* include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
* include/gnu_xml_libxmlj_dom_GnomeElement.h,
* include/gnu_xml_libxmlj_dom_GnomeEntity.h,
* include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
* include/gnu_xml_libxmlj_dom_GnomeNode.h,
* include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
* include/gnu_xml_libxmlj_dom_GnomeNotation.h,
* include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
* include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
* include/gnu_xml_libxmlj_sax_GnomeLocator.h,
* include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
* include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
* include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
* include/java_lang_VMProcess.h,
* include/java_lang_VMSystem.h:
Regenerated with GCJ 4.1.
2005-12-05 Casey Marshall <csm@gnu.org>
* native/jni/classpath/jcl.h (environ): define, or declare
'extern.'
* native/jni/java-lang/java_lang_VMProcess.c: include <jcl.h>.
Remove 'extern' define.
* native/jni/java-lang/java_lang_VMSystem.c
(Java_java_lang_VMSystem_environ): don't declare 'environ.'
2005-09-25 Jeroen Frijters <jeroen@frijters.net>
* java/lang/System.java,
vm/reference/java/lang/VMSystem.java: Removed generic type
from VMSystem.environ() signature.
2005-05-04 Tom Tromey <tromey@redhat.com>
* native/jni/java-lang/java_lang_VMProcess.c
(Java_java_lang_VMProcess_nativeSpawn): Added 'redirect'
argument. Use defines instead of contents.
* vm/reference/java/lang/VMProcess.java (redirect): New field.
(spawn): Updated.
(setProcessInfo): Updated.
(VMProcess): Added 'redirect' argument.
(nativeSpawn): Likewise.
(exec): New overload.
2005-01-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
* include/java_lang_VMSystem.h:
(Java_java_lang_VMSystem_environ): added
* vm/reference/java/lang/VMSystem.java:
(environ()): new native method
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (--enable-local-sockets): new enable argument.
(ENABLE_LOCAL_SOCKETS): new define.
* native/jni/java-net/Makefile.am (local_sources): new variable.
(lib_javanet_la_SOURCES): append `local_sources.'
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
* native/jni/java-net/local.c,
* native/jni/java-net/local.h,
* include/gnu_java_net_local_LocalSocketImpl.h,
* gnu/java/net/local/LocalServerSocket.java,
* gnu/java/net/local/LocalSocket.java,
* gnu/java/net/local/LocalSocketAddress.java,
* gnu/java/net/local/LocalSocketImpl.java: new files.
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/26924
* gnu/java/awt/peer/gtk/GtkCanvasPeer.java
(realize): New native function.
* include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
Added new function declaration.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
(realize): New function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
Takes GtkImage, x and y coordinates.
(gtkWidgetSetCursorUnlocked): Likewise.
(GtkComponentPeer): Set cursor when set.
(setCursor): Handle GtkCursor.
* gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
New method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
(gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
* include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
|
|
|
|
|
|
| |
VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
* include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
* include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New static field.
(stringMimeType, imageMimeType, filesMimeType): Initialize directly.
(canCache): Likewise.
(GtkClipboard): Take String argument.
(getInstance): Removed.
(getClipboardInstance, getSelectionInstance): New static methods.
(setSystemContents): Make synchronized. Takes boolean argument.
(initNativeState): Add clipboard and selection.
* gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
(announceClipboardChange, announcePrimaryChange): New static field.
(announce): Take GtkClipboard as argument.
(run): Check which clipboard to announce change for.
* gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
boolean field.
(GtkSelection): Take GtkClipboard as argument.
(requestText, requestImage, requestURIs, requestBytes): Add boolean
clipboard argument.
(requestMimeTypes): Likewise.
* gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
New method.
* java/awt/Toolkit.java (getSystemSelection): Document.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
(cp_gtk_selection_instance): New var.
(current_selection, owner): Removed.
(clipboard_owner_change_cb): Use clipboard argument.
(initNativeState): Store clipboard and selection instances. Cache
setSystemContentsID, provideContentID, provideTextID, provideImageID,
and provideURIsID.
(clipboard_get_func): Use clipboard argument.
(clipboard_clear_func): Likewise. Always call method.
(advertiseContent): Don't cache method ids here. Check whether to
use clpboard or selection. Don't set owner or current_selection.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
(requestText, requestImage, requestURIs, requestBytes): Use extra
boolean argument to select clipboard.
* native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
(cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
* include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
* include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/java_lang_VMMath.h:
(Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
(Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
* java/lang/Math.java:
(cbrt(double)): Implemented.
(cosh(double)): Implemented.
(expm1(double)): Implemented.
(hypot(double,double)): Implemented.
(log10(double)): Implemented.
(log1p(double)): Implemented.
(signum(double)): Implemented.
(signum(float)): Implemented.
(sinh(double)): Implemented.
(tanh(double)): Implemented.
* native/fdlibm/Makefile.am:
Added new files from fdlibm 5.3.
* native/fdlibm/e_acos.c,
* native/fdlibm/e_asin.c,
* native/fdlibm/e_atan2.c,
* native/fdlibm/e_exp.c,
* native/fdlibm/e_fmod.c,
* native/fdlibm/e_log.c,
* native/fdlibm/e_rem_pio2.c,
* native/fdlibm/e_remainder.c,
* native/fdlibm/e_scalb.c,
* native/fdlibm/e_sqrt.c,
* native/fdlibm/k_cos.c,
* native/fdlibm/k_rem_pio2.c,
* native/fdlibm/k_sin.c,
* native/fdlibm/k_tan.c,
* native/fdlibm/s_atan.c,
* native/fdlibm/s_ceil.c,
* native/fdlibm/s_copysign.c,
* native/fdlibm/s_cos.c,
* native/fdlibm/s_fabs.c,
* native/fdlibm/s_finite.c,
* native/fdlibm/s_floor.c,
* native/fdlibm/s_rint.c,
* native/fdlibm/s_scalbn.c,
* native/fdlibm/s_sin.c,
* native/fdlibm/s_tan.c,
* native/fdlibm/w_acos.c,
* native/fdlibm/w_asin.c,
* native/fdlibm/w_atan2.c,
* native/fdlibm/w_acos.c,
* native/fdlibm/w_exp.c,
* native/fdlibm/w_fmod.c,
* native/fdlibm/w_log.c,
* native/fdlibm/w_pow.c,
* native/fdlibm/w_remainder.c,
* native/fdlibm/w_sqrt.c:
Updated to fdlibm 5.3.
* native/fdlibm/e_cosh.c,
* native/fdlibm/e_hypot.c,
* native/fdlibm/e_log10.c,
* native/fdlibm/e_sinh.c,
* native/fdlibm/s_cbrt.c,
* native/fdlibm/s_expm1.c,
* native/fdlibm/s_log1p.c,
* native/fdlibm/s_tanh.c,
* native/fdlibm/w_cosh.c,
* native/fdlibm/w_hypot.c,
* native/fdlibm/w_log10.c,
* native/fdlibm/w_sinh.c:
Imported from fdlibm 5.3.
* native/fdlibm/fdlibm.h:
Imported from fdlibm 5.3 with Classpath additions.
* native/fdlibm/namespace.h:
Updated from new math_symbols file.
* native/jni/java-lang/java_lang_VMMath.c:
(Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
Implemented.
(Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
* scripts/math_symbols:
Added tanh, expm1, log10 and log1p.
* vm/reference/java/lang/VMMath.java:
(cbrt(double)): Implemented.
(cosh(double)): Implemented.
(expm1(double)): Implemented.
(hypot(double,double)): Implemented.
(log10(double)): Implemented.
(log1p(double)): Implemented.
(sinh(double)): Implemented.
(tanh(double)): Implemented.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
AdjustmentEvents to 1.0 Events.
* java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
Call setValue() before processing event.
* gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
whether we are currently changing and being called back from the
Scrollbar component.
(setBarValues): New native method.
(postAdjustmentEvent): Mark AdjustmentEvent as user generated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
(Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
* include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parent field.
(insert): Likewise.
(addNotify): Add the item after addNotifying it.
* java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
there is a peer. Use getParent() and setParent() to manipulate parent
field.
(add(Menu)): Use getParent() and setParent() to manipulate parent
field. Call addNotify() and addMenu() when there is a peer.
(remove(int)): Call removeNotify() and delMenu() when there is a peer.
(addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
when there is a peer.
* gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
(GtkMenuComponentPeer): Document. Take MenuComponent as argument.
(setFont): Call setFont(Font).
(setFont(Font)): Document. Only set font when not null.
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
protected.
(connectSignals): Likewise.
(GtkMenuItemPeer): Document. Don't try to add item. Always call
connectSignals().
* gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
protected.
(postMenuActionEvent): Document.
* gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
protected.
(addItem): Document. Made private.
(addTearOff): Made private.
(connectSignals): New protected overridden method.
(GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
* gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
(create): Document.
(addMenu): Made private, take GtkMenuPeer as argument and document.
(GtkMenuBarPeer): Document.
(nativeSetHelpMenu): Removed.
(addHelpMenu): Implement.
(delMenu): Document.
(addMenu): Implement.
* gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
* include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
(Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkDialogPeer.java
(setVisible): Removed method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(setLocation): New method.
(setLocationUnlocked): New method.
(show): Changed to use setLocation instead of setBounds.
* java/awt/Component.java
(show): Should call peer.show(), not peer.setVisible(), so the
location of the component is correctly set.
(preferredSize): Added curly braces so else statements are
properly associated with if's.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
New function.
(Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
LocationUnlocked): New function.
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
Added declarations for Java_gnu_java_awt_peer_gtk_
GtkWindowPeer_nativeSetLocation and
Java_gnu_java_awt_peer_gtk_GtkWindowPeer
_nativeSetLocationUnlocked.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
final.
(gtkWidgetModifyFont(Font)): New protected helper method.
(gtkWidgetModifyFont(String,int,int)): Made protected and document.
* gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
protected and document.
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
Likewise.
* gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
Likewise.
* gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
Likewise.
* gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
(setFont): Removed method. Done in GtkMenuComponent.
* gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
abstract and protected.
(setFont): Made private, add implementation.
(setFont(Font)): Implemented.
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
Made protected and document.
(create): Made protected.
(setFont): Removed method. Done in GtkMenuComponent.
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
(gtkWidgetModifyFont): Made protected and document.
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
Removed, similar to GtkGenericPeer super class implementation.
* include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
(Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|