[kaffe] CVS kaffe (riccardo): removed so classpath versions are used

Kaffe CVS cvs-commits at kaffe.org
Mon Apr 24 14:14:37 PDT 2006


PatchSet 7271 
Date: 2006/04/24 21:01:31
Author: riccardo
Branch: HEAD
Tag: (none) 
Log:
removed so classpath versions are used

Members: 
	ChangeLog:1.4775->1.4776 
	libraries/javalib/awt-implementations/kaffe/Makefile.am:1.14->1.15 
	libraries/javalib/awt-implementations/kaffe/Makefile.in:1.59->1.60 
	libraries/javalib/awt-implementations/kaffe/java/awt/AttributeValue.java:1.2->1.3(DEAD) 
	libraries/javalib/awt-implementations/kaffe/java/awt/BufferCapabilities.java:1.2->1.3(DEAD) 
	libraries/javalib/awt-implementations/kaffe/java/awt/Transparency.java:1.2->1.3(DEAD) 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4775 kaffe/ChangeLog:1.4776
--- kaffe/ChangeLog:1.4775	Mon Apr 24 11:23:00 2006
+++ kaffe/ChangeLog	Mon Apr 24 21:01:31 2006
@@ -1,5 +1,12 @@
 2006-04-24  Riccardo Mottola <riccardo at kaffe.org>
 
+	* libraries/javalib/awt-implementations/kaffe/java/awtAttributeValue.java,
+	libraries/javalib/awt-implementations/kaffe/java/awtBufferCapabilities.java,
+	libraries/javalib/awt-implementations/kaffe/java/awtTransparency.java:
+	removed so classpath versions are used.
+
+2006-04-24  Riccardo Mottola <riccardo at kaffe.org>
+
 	* libraries/javalib/awt-implementations/kaffe/java/awt/MouseEvt.java:
 	removed an empty method which should not be used anyway
 
Index: kaffe/libraries/javalib/awt-implementations/kaffe/Makefile.am
diff -u kaffe/libraries/javalib/awt-implementations/kaffe/Makefile.am:1.14 kaffe/libraries/javalib/awt-implementations/kaffe/Makefile.am:1.15
--- kaffe/libraries/javalib/awt-implementations/kaffe/Makefile.am:1.14	Tue Apr 18 23:02:24 2006
+++ kaffe/libraries/javalib/awt-implementations/kaffe/Makefile.am	Mon Apr 24 21:01:39 2006
@@ -37,7 +37,6 @@
 	java/awt/Adjustable.java \
 	java/awt/AdjustmentEvt.java \
 	java/awt/AlphaComposite.java \
-	java/awt/AttributeValue.java \
 	java/awt/AWTError.java \
 	java/awt/AWTEvent.java \
 	java/awt/AWTException.java \
@@ -45,7 +44,6 @@
 	java/awt/BarMenu.java \
 	java/awt/BasicStroke.java \
 	java/awt/BorderLayout.java \
-	java/awt/BufferCapabilities.java \
 	java/awt/Button.java \
 	java/awt/Canvas.java \
 	java/awt/CardLayout.java \
@@ -153,7 +151,6 @@
 	java/awt/TextField.java \
 	java/awt/TexturePaint.java \
 	java/awt/Toolkit.java \
-	java/awt/Transparency.java \
 	java/awt/WindowEvt.java \
 	java/awt/Window.java \
 	java/awt/WMEvent.java
Index: kaffe/libraries/javalib/awt-implementations/kaffe/Makefile.in
diff -u kaffe/libraries/javalib/awt-implementations/kaffe/Makefile.in:1.59 kaffe/libraries/javalib/awt-implementations/kaffe/Makefile.in:1.60
--- kaffe/libraries/javalib/awt-implementations/kaffe/Makefile.in:1.59	Fri Apr 21 01:32:52 2006
+++ kaffe/libraries/javalib/awt-implementations/kaffe/Makefile.in	Mon Apr 24 21:01:39 2006
@@ -387,7 +387,6 @@
 	java/awt/Adjustable.java \
 	java/awt/AdjustmentEvt.java \
 	java/awt/AlphaComposite.java \
-	java/awt/AttributeValue.java \
 	java/awt/AWTError.java \
 	java/awt/AWTEvent.java \
 	java/awt/AWTException.java \
@@ -395,7 +394,6 @@
 	java/awt/BarMenu.java \
 	java/awt/BasicStroke.java \
 	java/awt/BorderLayout.java \
-	java/awt/BufferCapabilities.java \
 	java/awt/Button.java \
 	java/awt/Canvas.java \
 	java/awt/CardLayout.java \
@@ -503,7 +501,6 @@
 	java/awt/TextField.java \
 	java/awt/TexturePaint.java \
 	java/awt/Toolkit.java \
-	java/awt/Transparency.java \
 	java/awt/WindowEvt.java \
 	java/awt/Window.java \
 	java/awt/WMEvent.java
===================================================================
Checking out kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/AttributeValue.java
RCS:  /home/cvs/kaffe/kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/Attic/AttributeValue.java,v
VERS: 1.2
***************
--- kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/AttributeValue.java	Mon Apr 24 21:14:37 2006
+++ /dev/null	Sun Aug  4 19:57:58 2002
@@ -1,98 +0,0 @@
-/* AttributeValue.java -- parent of type-safe enums of attributes
-   Copyright (C) 2002 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING.  If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library.  Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module.  An independent module is a module which is not derived from
-or based on this library.  If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so.  If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package java.awt;
-
-/**
- * This class is undocumented by Sun, but it is the parent of several other
- * classes, all of which are type-safe enumerations. This takes care of
- * <code>equals</code>, <code>toString</code>, and <code>hashCode</code>, so
- * that you don't have to (although hashCode is commonly overridden).
- *
- * @author Eric Blake <ebb9 at email.byu.edu>
- */
-class AttributeValue
-{
-  /** The value of the enumeration. Package visible for speed. */
-  final int value;
-
-  /** The list of enumeration names for the given subclass. */
-  private final String[] names;
-
-  /**
-   * Construct a type-safe enumeration element. For example,<br>
-   * <pre>
-   * class Foo extends AttributeValue
-   * {
-   *   private static final String[] names = { "one", "two" }
-   *   public static final Foo ONE = new Foo(0);
-   *   public static final Foo TWO = new Foo(1);
-   *   private Foo(int value) { super(value, names); }
-   * }
-   * </pre>
-   *
-   * @param value the position of this enumeration element, consecutive from 0
-   * @param names the constant list of enumeration names for the subclass
-   */
-  AttributeValue(int value, String[] names)
-  {
-    this.value = value;
-    this.names = names;
-  }
-
-  /**
-   * Returns the hashcode of this element. This is the index of the element
-   * in the enumeration. Note that equals defaults to the == relation.
-   *
-   * @return the hashcode
-   */
-  public int hashCode()
-  {
-    return value;
-  }
-
-  /**
-   * Returns the name of this enumeration element.
-   *
-   * @return the element name
-   */
-  public String toString()
-  {
-    return names[value];
-  }
-} // class AttributeValue
===================================================================
Checking out kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/BufferCapabilities.java
RCS:  /home/cvs/kaffe/kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/Attic/BufferCapabilities.java,v
VERS: 1.2
***************
--- kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/BufferCapabilities.java	Mon Apr 24 21:14:37 2006
+++ /dev/null	Sun Aug  4 19:57:58 2002
@@ -1,126 +0,0 @@
-/* BufferCapabilities.java -- 
-   Copyright (C) 2002 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING.  If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library.  Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module.  An independent module is a module which is not derived from
-or based on this library.  If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so.  If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package java.awt;
-
-/**
- * Needs documentation...
- *
- * @author Eric Blake <ebb9 at email.byu.edu>
- * @see BufferStrategy#getCapabilities()
- * @see GraphicsConfiguration#getCapabilities()
- * @since 1.4
- * @status updated to 1.4, lacks documentation
- */
-public class BufferCapabilities implements Cloneable
-{
-  public static final class FlipContents extends AttributeValue
-  {
-    private static final String[] NAMES
-      = { "undefined", "background", "prior", "copied" };
-    public static final FlipContents UNDEFINED = new FlipContents(0);
-    public static final FlipContents BACKGROUND = new FlipContents(1);
-    public static final FlipContents PRIOR = new FlipContents(2);
-    public static final FlipContents COPIED = new FlipContents(3);
-    private FlipContents(int value)
-    {
-      super(value, NAMES);
-    }
-  } // class FlipContents
-
-  private final ImageCapabilities front;
-  private final ImageCapabilities back;
-  private final FlipContents flip;
-
-  /**
-   * Creates a buffer capabilities object.
-   *
-   * @exception IllegalArgumentException If frontCaps or backCaps are null.
-   */
-  public BufferCapabilities(ImageCapabilities front, ImageCapabilities back,
-                            FlipContents flip)
-  {
-    this.front = front;
-    this.back = back;
-    this.flip = flip;
-    if (front ==  null || back == null)
-      throw new IllegalArgumentException();
-  }
-
-  public ImageCapabilities getFrontBufferCapabilities()
-  {
-    return front;
-  }
-
-  public ImageCapabilities getBackBufferCapabilities()
-  {
-    return back;
-  }
-
-  public boolean isPageFlipping()
-  {
-    return flip != null;
-  }
-
-  public FlipContents getFlipContents()
-  {
-    return flip;
-  }
-
-  public boolean isFullScreenRequired()
-  {
-    return true;
-  }
-
-  public boolean isMultiBufferAvailable()
-  {
-    return false;
-  }
-
-  public Object clone()
-  {
-    try
-      {
-        return super.clone();
-      }
-    catch (CloneNotSupportedException e)
-      {
-        throw (Error) new InternalError().initCause(e); // Impossible
-      }
-  }
-} // class BufferCapabilities
===================================================================
Checking out kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/Transparency.java
RCS:  /home/cvs/kaffe/kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/Attic/Transparency.java,v
VERS: 1.2
***************
--- kaffe/libraries/javalib/awt-implementations/kaffe/java/awt/Transparency.java	Mon Apr 24 21:14:37 2006
+++ /dev/null	Sun Aug  4 19:57:58 2002
@@ -1,67 +0,0 @@
-/* Transparency.java -- common transparency modes in graphics
-   Copyright (C) 2000, 2002 Free Software Foundation
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING.  If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library.  Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module.  An independent module is a module which is not derived from
-or based on this library.  If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so.  If you do not wish to do so, delete this
-exception statement from your version. */
-
-package java.awt;
-
-/**
- * A common transparency mode for layering graphics.
- *
- * @author Warren Levy <warrenl at cygnus.com>
- * @since 1.1
- * @status updated to 1.4
- */
-public interface Transparency
-{
-  /** Image data which is completely opaque, for an alpha value of 1.0. */
-  int OPAQUE = 1;
-
-  /**
-   * Image data which is either completely opaque or transparent, for an
-   * exact integer alpha value.
-   */
-  int BITMASK = 2;
-
-  /** Image data which is translucent, for a non-integer alpha value. */
-  int TRANSLUCENT = 3;
-
-  /**
-   * Return the transparency type.
-   *
-   * @return One of {@see #OPAQUE}, {@see #BITMASK}, or {@see #TRANSLUCENT}.
-   */
-  int getTransparency();
-} // interface Transparency




More information about the kaffe mailing list