[cp-patches] FYI: Implementing cell editing in JTable.
This patch implements the cell editing in JTable. The editing session can be started by double clicking on the cell and completed by pressing Enter or canceled by pressing ESC. The table is updated and stores the changed value. This can be tested in the table of the Swing demo. The implementation for the user-defined text editors is till missing. 2006-01-16 Audrius Meskauskas [EMAIL PROTECTED] * javax/swing/DefaultCellEditor.java (delegate): Assign new instance immediately. (DefaultCellEditor(JTextField textfield)): Require 2 clicks. (getTableCellEditorComponent): Rewritten. (prepareAsJTextField):New method (add listener only once). * javax/swing/JTable.java (editingCanceled): Rewritten. (editingStopped ): Rewritten. (rowAtPoint): Mind row margin. (getCellRect): Mind row margin. (getDefaultEditor): Removing JTextComponent border. (editCellAt): Rewritten. javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler): Activate editing mode by the mouse clicks. (getMaximumSize): Mind row margin. (getPreferredSize): Mind row margin. (TableAction): Added 'stop editing' command. Index: javax/swing/DefaultCellEditor.java === RCS file: /cvsroot/classpath/classpath/javax/swing/DefaultCellEditor.java,v retrieving revision 1.16 diff -u -r1.16 DefaultCellEditor.java --- javax/swing/DefaultCellEditor.java 19 Oct 2005 15:45:03 - 1.16 +++ javax/swing/DefaultCellEditor.java 15 Jan 2006 23:17:36 - @@ -215,9 +215,9 @@ protected JComponent editorComponent; /** - * delegate + * The editor delegate (normally intialised only once). */ - protected EditorDelegate delegate; + protected EditorDelegate delegate = new EditorDelegate(); /** * clickCountToStart @@ -232,7 +232,7 @@ public DefaultCellEditor(JTextField textfield) { editorComponent = textfield; -clickCountToStart = 3; +clickCountToStart = 2; } // DefaultCellEditor() /** @@ -386,13 +386,14 @@ } // getTreeCellEditorComponent() /** - * getTableCellEditorComponent + * Get the cell editor component that will perform the editing session. + * If returned once, the same component should be returned again (reused). * - * @param table TODO - * @param value TODO - * @param isSelected TODO - * @param row TODO - * @param column TODO + * @param table the table where the editing is performed + * @param value the current value of the table + * @param isSelected if true, the cell is currently selected + * @param row the row of the cell being edited + * @param column the column of the cell being edited * * @returns Component */ @@ -402,24 +403,42 @@ { // NOTE: as specified by Sun, we don't call new() everytime, we return // editorComponent on each call to getTableCellEditorComponent or -// getTreeCellEditorComponent. However, currently JTextFields have a -// problem with getting rid of old text, so without calling new() there -// are some strange results. If you edit more than one cell in the table -// text from previously edited cells may unexpectedly show up in the -// cell you are currently editing. This will be fixed automatically -// when JTextField is fixed. +// getTreeCellEditorComponent. if (editorComponent instanceof JTextField) - { -((JTextField)editorComponent).setText(value.toString()); -delegate = new EditorDelegate(); -((JTextField)editorComponent).addActionListener(delegate); - } -else - { -// TODO - } + prepareAsJTextField(value); return editorComponent; } // getTableCellEditorComponent() + + /** + * Prepare the editorComponent as the text field. + * + * @param value the value of the cell before editin. + */ + private void prepareAsJTextField(Object value) + { +JTextField f = (JTextField) editorComponent; +if (value != null) + f.setText(value.toString()); +else + // Default null to the empty string. + f.setText(); +// Do not register our listener again and again (resource leak). +ActionListener[] l = f.getActionListeners(); + +boolean have = false; +for (int i = 0; i l.length; i++) + { +// We cannot just remove all listeners as the user listeners +// may be registered. +if (l[i]==delegate) + { +have = true; +break; + } + } +if (!have) + f.addActionListener(delegate); + } } Index: javax/swing/JTable.java === RCS file: /cvsroot/classpath/classpath/javax/swing/JTable.java,v retrieving revision 1.64 diff -u -r1.64 JTable.java --- javax/swing/JTable.java 17 Dec 2005 00:50:48 - 1.64 +++ javax/swing/JTable.java 15 Jan 2006 23:19:04 - @@ -1765,44 +1765,39 @@ { repaint(); } - + public void editingCanceled (ChangeEvent
[cp-patches] FYI: javax.swing.text.SimpleAttributeSet - added API docs
I committed this patch: 2006-01-16 David Gilbert [EMAIL PROTECTED] * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over. Regards, Dave Index: javax/swing/text/SimpleAttributeSet.java === RCS file: /sources/classpath/classpath/javax/swing/text/SimpleAttributeSet.java,v retrieving revision 1.12 diff -u -r1.12 SimpleAttributeSet.java --- javax/swing/text/SimpleAttributeSet.java27 Sep 2005 21:31:36 - 1.12 +++ javax/swing/text/SimpleAttributeSet.java16 Jan 2006 09:21:28 - @@ -1,5 +1,5 @@ /* SimpleAttributeSet.java -- - Copyright (C) 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -42,33 +42,67 @@ import java.util.Enumeration; import java.util.Hashtable; +/** + * A set of attributes. + */ public class SimpleAttributeSet implements MutableAttributeSet, Serializable, Cloneable { /** The serialization UID (compatible with JDK1.5). */ private static final long serialVersionUID = 8267656273837665219L; + /** An empty attribute set. */ public static final AttributeSet EMPTY = new SimpleAttributeSet(); + /** Storage for the attributes. */ Hashtable tab; + /** + * Creates a new attribute set that is initially empty. + */ public SimpleAttributeSet() { this(null); } + /** + * Creates a new codeSimpleAttributeSet/code with the same attributes + * and resolve parent as the specified set. + * + * @param a the attributes. + */ public SimpleAttributeSet(AttributeSet a) { +// FIXME: null argument should throw NullPointerException tab = new Hashtable(); if (a != null) addAttributes(a); } + /** + * Adds an attribute with the given codename/code and codevalue/code + * to the set. If the set already contains an attribute with the given + * codename/code, the attribute value is updated. + * + * @param name the attribute name (codenull/code not permitted). + * @param value the value (codenull/code not permitted). + * + * @throws NullPointerException if either argument is codenull/code. + */ public void addAttribute(Object name, Object value) { tab.put(name, value); } + /** + * Adds all the attributes from codeattributes/code to this set. + * + * @param attributes the set of attributes to add (codenull/code not + *permitted). + * + * @throws NullPointerException if codeattributes/code is + * codenull/code. + */ public void addAttributes(AttributeSet attributes) { Enumeration e = attributes.getAttributeNames(); @@ -80,6 +114,11 @@ } } + /** + * Returns a clone of the attribute set. + * + * @return A clone of the attribute set. + */ public Object clone() { SimpleAttributeSet s = new SimpleAttributeSet(); @@ -97,6 +136,8 @@ */ public boolean containsAttribute(Object name, Object value) { +// FIXME: if the name is defined in this set, any match in the parent +// should be ignored return (tab.containsKey(name) tab.get(name).equals(value)) || (getResolveParent() != null getResolveParent(). containsAttribute(name, value)); @@ -115,6 +156,15 @@ tab.get(name).equals(value); } + /** + * Returns codetrue/code of this codeAttributeSet/code contains all + * of the specified codeattributes/code. + * + * @param attributes the requested attributes + * + * @return codetrue/code of this codeAttributeSet/code contains all + * of the specified codeattributes/code + */ public boolean containsAttributes(AttributeSet attributes) { Enumeration e = attributes.getAttributeNames(); @@ -128,11 +178,24 @@ return true; } + /** + * Creates and returns a copy of this codeAttributeSet/code. + * + * @return a copy of this codeAttributeSet/code + */ public AttributeSet copyAttributes() { return (AttributeSet) clone(); } + /** + * Checks this set for equality with an arbitrary object. + * + * @param obj the object (codenull/code permitted). + * + * @return codetrue/code if this set is equal to codeobj/code, and + * codefalse/code otherwise. + */ public boolean equals(Object obj) { return @@ -140,12 +203,23 @@ this.isEqual((AttributeSet) obj); } + /** + * Returns the value of the specified attribute, or codenull/code if + * there is no attribute with that name. If the attribute is not defined + * directly in this set, the parent hierarchy (if there is one) will be + * used. + * + * @param name the attribute (codenull/code not permitted). + * + * @throws NullPointerException if codename/code is codenull/code. + */ public Object getAttribute(Object name) { Object val = tab.get(name); if (val !=
Re: [cp-patches] [FYI]: Patch for javax.print.attribute.standard package
Hi, Mark Wielaard wrote: Hi Wolfgang, On Fri, 2006-01-13 at 23:44 +0100, Wolfgang Baer wrote: Evrything I do here is to call one instance of every container class so it gets loaded and everyone of its static MediaSize objects are instantiated. Should I put a comment here ? Please do. I see now how initializing one static field makes sure all static fields are initialized, but since I had to ask it wasn't immediately obvious (at least to me). [...] I still think this is kind of strange. It means any user can register new MediaSizes even by accident. Please also add a good comment about this to the MediaSize constructor. This adds the comment to the static initializer and every constructor. 2006-01-16 Wolfgang Baer [EMAIL PROTECTED] * javax/print/attribute/standard/MediaSize.java: (static_initializer): Added comment. (MediaSize): Added javadoc to mention cache registration. (MediaSize): Likewise. (MediaSize): Likewise. (MediaSize): Likewise. Wolfgang Index: MediaSize.java === RCS file: /cvsroot/classpath/classpath/javax/print/attribute/standard/MediaSize.java,v retrieving revision 1.5 diff -u -r1.5 MediaSize.java --- MediaSize.java 14 Jan 2006 10:29:58 - 1.5 +++ MediaSize.java 16 Jan 2006 09:05:19 - @@ -72,7 +72,14 @@ static { mediaCache = new ArrayList(); - + + // We call one instance of every container class to make sure it gets + // loaded during class initialization and therefore all other static + // fields of this container class also. + + // This is needed to put all MediaSize instance into the mediaCache + // for use by the static methods in this class. + MediaSize tmp = MediaSize.ISO.A0; tmp = MediaSize.JIS.B0; tmp = MediaSize.Engineering.A; @@ -83,13 +90,18 @@ private MediaSizeName media; /** - * Creates a codeMediaSize/code object. + * Creates a codeMediaSize/code object. The created object will be added + * to an internal cache used in the static methods of this class for lookup + * of available codeMediaSize/code instances. * * @param x the size in x direction * @param y the size in y direction * @param units the units to use for the sizes * * @exception IllegalArgumentException if x or y lt; 0 or units lt; 1 + * + * @see #findMedia(float, float, int) + * @see #getMediaSizeForName(MediaSizeName) */ public MediaSize(float x, float y, int units) { @@ -99,7 +111,9 @@ /** * Creates a codeMediaSize/code object associated with the given - * media name. + * media name. The created object will be added to an internal cache used + * in the static methods of this class for lookup of available + * codeMediaSize/code instances. * * @param x the size in x direction * @param y the size in y direction @@ -107,6 +121,9 @@ * @param media the media name to associate * * @exception IllegalArgumentException if x or y lt; 0 or units lt; 1 + * + * @see #findMedia(float, float, int) + * @see #getMediaSizeForName(MediaSizeName) */ public MediaSize(float x, float y, int units, MediaSizeName media) { @@ -116,13 +133,18 @@ } /** - * Creates a codeMediaSize/code object. + * Creates a codeMediaSize/code object. The created object will be added + * to an internal cache used in the static methods of this class for lookup + * of available codeMediaSize/code instances. * * @param x the size in x direction * @param y the size in y direction * @param units the units to use for the sizes * * @exception IllegalArgumentException if x or y lt; 0 or units lt; 1 + * + * @see #findMedia(float, float, int) + * @see #getMediaSizeForName(MediaSizeName) */ public MediaSize(int x, int y, int units) { @@ -132,7 +154,9 @@ /** * Creates a codeMediaSize/code object associated with the given - * media name. + * media name. The created object will be added to an internal cache used + * in the static methods of this class for lookup of available + * codeMediaSize/code instances. * * @param x the size in x direction * @param y the size in y direction @@ -140,6 +164,9 @@ * @param media the media name to associate * * @exception IllegalArgumentException if x or y lt; 0 or units lt; 1 + * + * @see #findMedia(float, float, int) + * @see #getMediaSizeForName(MediaSizeName) */ public MediaSize(int x, int y, int units, MediaSizeName media) { ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI: MinGW layer
Hi, here comes the target native layer implementation for the MinGW platform. Nothing funky, for the most part this forwards to the generic/posix impl. I would think that somebody with some more knowledge of the build machinery must implement to include that target when compiling on MinGW. 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/MinGW/target_native.h, * native/target/MinGW/target_native_file.h, * native/target/MinGW/target_native_io.h, * native/target/MinGW/target_native_math.h, * native/target/MinGW/target_native_memory.h, * native/target/MinGW/target_native_misc.h, * native/target/MinGW/target_native_network.h: New files. Implement the target native layer for the MinGW platform. /Roman Index: native/target/MinGW/target_native.h === RCS file: native/target/MinGW/target_native.h diff -N native/target/MinGW/target_native.h --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/MinGW/target_native.h 16 Jan 2006 12:41:06 - @@ -0,0 +1,82 @@ +/* target_native.h - Some general definitions for the MinGW platform + Copyright (C) 2006 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. */ + +/* +Description: MinGW target global defintions +Systems: all +*/ + +#ifndef __TARGET_NATIVE__ +#define __TARGET_NATIVE__ + +/** Includes ***/ +/* do not move; needed here because of some macro definitions */ +#include config.h + +#include stdlib.h +#include winsock.h + +/** Conditional compilation switches ***/ + +/* Constants ***/ + +#define TARGET_NATIVE_ERROR_CONNECTION_REFUSED WSAECONNREFUSED +#define TARGET_NATIVE_ERROR_TIMEDOUT WSAETIMEDOUT + +/* Datatypes ***/ + +/* Variables ***/ + +/** Macros */ + +/* Functions ***/ + +#ifdef __cplusplus +extern C { +#endif + +#ifdef __cplusplus +} +#endif + +/* include rest of definitions from generic file (do not move it to + another position!) */ +#include target_generic.h + +#endif /* __TARGET_NATIVE__ */ + +/* end of file */ Index: native/target/MinGW/target_native_file.h === RCS file: native/target/MinGW/target_native_file.h diff -N native/target/MinGW/target_native_file.h --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/MinGW/target_native_file.h 16 Jan 2006 12:41:06 - @@ -0,0 +1,143 @@ +/* target_native_file.h - File operations for the MinGW platform + Copyright (C) 2006 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
[cp-patches] FYI: Load policies before setting security manager
Hi all, This fix loads java.security.Security before setting a security manager, ensuring that various classes and policy files are loaded before any restrictions on such things come into play. Cheers, Gary Index: ChangeLog === RCS file: /cvsroot/classpath/classpath/ChangeLog,v retrieving revision 1.6069 diff -u -r1.6069 ChangeLog --- ChangeLog 16 Jan 2006 09:24:19 - 1.6069 +++ ChangeLog 16 Jan 2006 09:53:13 - @@ -1,3 +1,8 @@ +2006-01-16 Gary Benson [EMAIL PROTECTED] + + * java/lang/System.java (setSecurityManager): Ensure policy + files are loaded before a security manager is put in place. + 2006-01-16 David Gilbert [EMAIL PROTECTED] * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over. Index: java/lang/System.java === RCS file: /cvsroot/classpath/classpath/java/lang/System.java,v retrieving revision 1.53 diff -u -r1.53 System.java --- java/lang/System.java 13 Sep 2005 22:19:15 - 1.53 +++ java/lang/System.java 16 Jan 2006 09:53:13 - @@ -178,6 +178,23 @@ if (SecurityManager.current != null) SecurityManager.current.checkPermission (new RuntimePermission(setSecurityManager)); + +// java.security.Security's class initialiser loads and parses the +// policy files. If it hasn't been run already it will be run +// during the first permission check. That initialisation will +// fail if a very restrictive security manager is in force, so we +// preload it here. +if (SecurityManager.current == null) + { + try + { + Class.forName(java.security.Security); + } + catch (Throwable t) + { + } + } + SecurityManager.current = sm; } ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
Re: [cp-patches] RFC: configure fixlet
Hi Wolfgang, On Mon, 2006-01-16 at 09:46 +0100, Wolfgang Baer wrote: if only ecj is available currently configure breaks because we don't test for a found ecj in the error test. Tested on my local box. 2006-01-16 Wolfgang Baer [EMAIL PROTECTED] * m4/acinclude.m4: Test also for ecj found before exiting configure with no javac found error message. OK, to commit ? Yes thanks. Cheers, Mark signature.asc Description: This is a digitally signed message part ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI : updated documentation of Instrumentation
Hi, This should have been done a long time ago. I updated the documentation of the instrumentation code in file vmintegration.texinfo to reflect the new implementation (see http://lists.gnu.org/archive/html/classpath-patches/2005-12/msg00111.html) Nicolas 2006-01-16 Nicolas Geoffray [EMAIL PROTECTED] * doc/vmintegration.texinfo: Updated subsection of the java.lang.InstrumentationImpl documentation. Index: doc/vmintegration.texinfo === RCS file: /cvsroot/classpath/classpath/doc/vmintegration.texinfo,v retrieving revision 1.20 diff -r1.20 vmintegration.texinfo 691c691 @code{java.lang.InstrumentationImpl} provides an implementation of the --- @code{java.lang.InstrumentationImpl} classes provide an implementation of the 694,697c694,698 A @code{InstrumentationImpl} object should be given to any agent given in the command line (see the @code{java.lang.instrument} package documentation). A VM has to implement the static native methods of the @code{VMInstrumentationImpl} class. --- A @code{InstrumentationImpl} object should be created by the VM when agents are given in the command line (see the @code{java.lang.instrument} package documentation). The VM has to set the static field @code{VMClassLoader.instrumenter} to this object. The VM should implement the static native methods of the @code{VMInstrumentationImpl} class. 710,724c711,728 When agents are defined, the VM has to call transformers of the @code{InstrumentImpl} object each time a class is loaded, eg a call to @code{VMClassLoader.defineClass}. The @code{InstrumentationImpl} class defines a method that has to be called before reading a class file in the VM. @itemize @bullet @item @code{callTransformers} -- Calls each transformer registered to the @code{InstrumentationImpl} object and returns a new bytecode file. @end itemize No default implementation is provided in gnu classpath for the @code{VMInstrumentationImpl} methods. A default implementation will perhaps be written, but it might break the @code{ClassLoader/VMClassLoader} interface for calling the @code{InstrumentationImpl.callTransformers} when a class byte code is defined with @code{ClassLoader.defineClass}. --- Instrumentation allows to modify the bytecode of a class before it gets read by the VM. In Gnu Classpath, the @code{ClassLoader.defineClass} method calls the @code{VMClassLoader.defineClassWithTransformers} method which first checks if @code{VMClassLoader.instrumenter} is @code{null}. If it's the case, it directly calls @code{VMClassLoader.defineClass}. If it's not the case, the method calls at first the @code{InstrumentationImpl.callTransformers} method, which calls each transformer registered to the @code{InstrumentationImpl} object and returns a new bytecode array. Then, it calls the @code{VMClassLoader.defineClass} method with this new bytecode array. The second use of instrumentation is to redefine a class after it has been loaded by the VM. This is done in the Java application by calling the @code{Instrumentation.redefineClasses} method of the standard interface on a @code{Instrumentation} object. The @code{InstrumentationImpl.redefineClasses} method calls the @code{VMInstrumentationImpl.redefineClasses} native method which must be implemented by the VM. The implementation should call the @code{InstrumentationImpl.callTransformers} method. ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI: API docs for javax.swing.text.MutableAttributeSet.java
I committed this patch: 2006-01-16 David Gilbert [EMAIL PROTECTED] * javax/swing/text/MutableAttributeSet.java: Updated API docs all over. Regards, Dave Index: javax/swing/text/MutableAttributeSet.java === RCS file: /sources/classpath/classpath/javax/swing/text/MutableAttributeSet.java,v retrieving revision 1.5 diff -u -r1.5 MutableAttributeSet.java --- javax/swing/text/MutableAttributeSet.java 2 Jul 2005 20:32:51 - 1.5 +++ javax/swing/text/MutableAttributeSet.java 16 Jan 2006 10:10:56 - @@ -1,5 +1,5 @@ /* MutableAttributeSet.java -- - Copyright (C) 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -40,46 +40,78 @@ import java.util.Enumeration; /** - * MutableAttributeSet + * An [EMAIL PROTECTED] AttributeSet} that supports modification of the stored + * attributes. + * * @author Andrew Selkirk - * @version1.0 + * @since 1.2 */ public interface MutableAttributeSet extends AttributeSet { /** - * addAttribute - * @param name TODO - * @param value TODO + * Adds an attribute with the given codename/code and codevalue/code + * to the set. If the set already contains an attribute with the given + * codename/code, the attribute value is updated. + * + * @param name the attribute name (codenull/code not permitted). + * @param value the value (codenull/code not permitted). + * + * @throws NullPointerException if either argument is codenull/code. */ void addAttribute(Object name, Object value); /** - * addAttributes - * @param attributes TODO + * Adds all the attributes from codeattributes/code to this set. + * + * @param attributes the set of attributes to add (codenull/code not + *permitted). + * + * @throws NullPointerException if codeattributes/code is + * codenull/code. */ void addAttributes(AttributeSet attributes); /** - * removeAttribute - * @param name TODO + * Removes the attribute with the specified codename/code, if this + * attribute is defined. This method will only remove an attribute from + * this set, not from the resolving parent. + * + * @param name the attribute name (codenull/code not permitted). + * + * @throws NullPointerException if codename/code is codenull/code. */ void removeAttribute(Object name); /** - * removeAttributes - * @param names TODO + * Removes the attributes listed in codenames/code. + * + * @param names the attribute names (codenull/code not permitted). + * + * @throws NullPointerException if codenames/code is codenull/code + * or contains any codenull/code values. */ void removeAttributes(Enumeration names); /** - * removeAttributes - * @param attributes TODO + * Removes attributes from this set if they are found in the + * given set. Only attributes whose key AND value are removed. + * Removes attributes only from this set, not from the resolving parent. + * Since the resolving parent is stored as an attribute, if + * codeattributes/code has the same resolving parent as this set, the + * parent will be removed from this set. + * + * @param attributes the attributes (codenull/code not permitted). */ void removeAttributes(AttributeSet attributes); /** - * setResolveParent - * @param parent TODO + * Sets the reolving parent for this set. When looking up an attribute, if + * it is not found in this set, then the resolving parent is also used for + * the lookup. + * + * @param parent the parent attribute set (codenull/code not permitted). + * + * @throws NullPointerException if codeparent/code is codenull/code. */ void setResolveParent(AttributeSet parent); } ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI: embOS target native layer
This is the target native layer implementation for the embOS platform. Again, this is pretty straightforward. 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/embOS/target_native.h, * native/target/embOS/target_native_file.h, * native/target/embOS/target_native_io.h, * native/target/embOS/target_native_math.h, * native/target/embOS/target_native_memory.h, * native/target/embOS/target_native_misc.h, * native/target/embOS/target_native_network.h: New files. Implement the target native layer for the embOS platform. /Roman Index: native/target/embOS/target_native.h === RCS file: native/target/embOS/target_native.h diff -N native/target/embOS/target_native.h --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/embOS/target_native.h 16 Jan 2006 13:05:55 - @@ -0,0 +1,78 @@ +/* target_native.h - General definitions for the embOS platform + Copyright (C) 2006 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. */ + +/* +Description: embOS target global defintions +Systems: all +*/ + +#ifndef __TARGET_NATIVE__ +#define __TARGET_NATIVE__ + +/** Includes ***/ +/* do not move; needed here because of some macro definitions */ +#include config.h + +#include stdlib.h + +/** Conditional compilation switches ***/ + +/* Constants ***/ + +/* Datatypes ***/ + +/* Variables ***/ + +/** Macros */ + +/* Functions ***/ + +#ifdef __cplusplus +extern C { +#endif + +#ifdef __cplusplus +} +#endif + +/* include rest of definitions from generic file (do not move it to + another position!) */ +#include target_generic.h + +#endif /* __TARGET_NATIVE__ */ + +/* end of file */ Index: native/target/embOS/target_native_file.h === RCS file: native/target/embOS/target_native_file.h diff -N native/target/embOS/target_native_file.h --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/embOS/target_native_file.h 16 Jan 2006 13:05:55 - @@ -0,0 +1,123 @@ +/* target_native_file.h - File operations for the embOS platform + Copyright (C) 2006 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
[cp-patches] FYI: target_native_math
I want to start my work on the TARGET_NATIVE layer with some small adjustments. Here I stack together the code from target_native_math_int.h and target_native_math_float.h into one new target_native_math.h. 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/generic/target_generic_math_float.h: Removed. This file has been replaced by target_generic_math.h. * native/target/generic/target_generic_math_int.h: Removed. This file has been replaced by target_generic_math.h. * native/target/generic/target_generic_math.h: New file. Replaces the old _int and _float versions. * native/target/Linux/target_native_math_float.h: Removed. This file has been replaced by target_native_math.h. * native/target/Linux/target_native_math_int.h: Removed. This file has been replaced by target_native_math.h. * native/target/Linux/target_native_math.h: New file. Replaces the old _int and _float versions. * native/target/Linux/Makefile.am: Adjusted for the changed filenames. * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h instead of target_native_math_int.h. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: Likewise. * native/target/generic/target_generic_file.h: Likewise. /Roman Index: native/jni/java-io/java_io_VMFile.c === RCS file: /cvsroot/classpath/classpath/native/jni/java-io/java_io_VMFile.c,v retrieving revision 1.6 diff -u -r1.6 java_io_VMFile.c --- native/jni/java-io/java_io_VMFile.c 26 Nov 2005 13:28:25 - 1.6 +++ native/jni/java-io/java_io_VMFile.c 16 Jan 2006 10:15:06 - @@ -48,7 +48,7 @@ #ifndef WITHOUT_FILESYSTEM #include target_native_file.h #endif -#include target_native_math_int.h +#include target_native_math.h #include java_io_VMFile.h Index: native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c === RCS file: /cvsroot/classpath/classpath/native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,v retrieving revision 1.28 diff -u -r1.28 gnu_java_nio_channels_FileChannelImpl.c --- native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c 9 Jan 2006 20:42:43 - 1.28 +++ native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c 16 Jan 2006 10:15:06 - @@ -48,7 +48,7 @@ #ifndef WITHOUT_FILESYSTEM #include target_native_file.h #endif -#include target_native_math_int.h +#include target_native_math.h #include gnu_java_nio_channels_FileChannelImpl.h Index: native/target/Linux/Makefile.am === RCS file: /cvsroot/classpath/classpath/native/target/Linux/Makefile.am,v retrieving revision 1.1 diff -u -r1.1 Makefile.am --- native/target/Linux/Makefile.am 14 Aug 2003 16:58:44 - 1.1 +++ native/target/Linux/Makefile.am 16 Jan 2006 10:15:06 - @@ -4,7 +4,6 @@ target_native_io.h \ target_native_misc.h \ target_native.h \ -target_native_math_float.h \ +target_native_math.h \ target_native_network.h \ -target_native_file.h \ -target_native_math_int.h +target_native_file.h Index: native/target/Linux/target_native_math.h === RCS file: native/target/Linux/target_native_math.h diff -N native/target/Linux/target_native_math.h --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/Linux/target_native_math.h 16 Jan 2006 10:15:06 - @@ -0,0 +1,80 @@ +/* target_native_math.h - Native methods for math operations + Copyright (C) 2006 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
[cp-patches] Patch: fix Content-Encoding for compressed HTTP responses
I found this while debugging Azureus. We automatically decompress compressed HTTP responses, but still report them as having compressed content. This patch removes the Content-Encoding header in these cases. This appears to be what Sun does in these cases. Ok? tromey: I would also like to apply this to GCC HEAD and the 4.1 branch (for FC5). Thanks, AG 2006-01-16 Anthony Green [EMAIL PROTECTED] PR classpath/25803 * gnu/java/net/protocol/http/Request.java (createResponseBodyStream): Remove Content-Encoding for compressed streams. --- gnu/java/net/protocol/http/Request.java.~1.6.~ 2005-10-12 12:48:25.0 -0700 +++ gnu/java/net/protocol/http/Request.java 2006-01-16 05:17:42.0 -0800 @@ -528,6 +528,9 @@ throw new ProtocolException(Unsupported Content-Encoding: + contentCoding); } + // Remove the Content-Encoding header because the content is + // no longer compressed. + responseHeaders.remove(Content-Encoding); } return in; } ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI: Fixed typo in generic target
... And on we go with the first fix for the generic target. A little typo has slipped in which is fixed by this patch. 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/generic/target_generic_network.c: Fixed typo. * native/target/generic/target_generic_network.h: Fixed typo. /Roman Index: native/target/generic/target_generic_network.c === RCS file: /cvsroot/classpath/classpath/native/target/generic/target_generic_network.c,v retrieving revision 1.1 diff -u -r1.1 target_generic_network.c --- native/target/generic/target_generic_network.c 16 Jan 2006 12:27:59 - 1.1 +++ native/target/generic/target_generic_network.c 16 Jan 2006 13:18:30 - @@ -148,7 +148,7 @@ /*-*/ -#ifdef TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC +#ifdef TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC #include sys/types.h #include fcntl.h int targetGenericNetwork_socketOpenStream(void) @@ -170,7 +170,7 @@ return socketDescriptor; } -#endif /* TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC */ +#endif /* TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC */ #ifdef TARGET_NATIVE_NETWORK_SOCKET_OPEN_DATAGRAM_GENERIC #include sys/types.h Index: native/target/generic/target_generic_network.h === RCS file: /cvsroot/classpath/classpath/native/target/generic/target_generic_network.h,v retrieving revision 1.16 diff -u -r1.16 target_generic_network.h --- native/target/generic/target_generic_network.h 16 Jan 2006 12:27:59 - 1.16 +++ native/target/generic/target_generic_network.h 16 Jan 2006 13:18:30 - @@ -340,7 +340,7 @@ #ifndef NEW_CP #ifndef TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM #ifndef WITHOUT_NETWORK -#define TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC +#define TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC #define TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM(socketDescriptor,result) \ do { \ socketDescriptor=targetGenericNetwork_socketOpenStream(); \ @@ -1991,9 +1991,9 @@ extern C { #endif -#ifdef TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC +#ifdef TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC int targetGenericNetwork_socketOpenStream(void); -#endif /* TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC */ +#endif /* TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC */ #ifdef TARGET_NATIVE_NETWORK_SOCKET_OPEN_DATAGRAM_GENERIC int targetGenericNetwork_socketOpenDatagram(void); ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI: Fix SocketPermission action checks
Hi, This patch fixes the action checks in java.net.SocketPermission's implies method. I noticed they were broken whilst writing Mauve tests to try and figure out what the patch on PR classpath/24708 is all about. Cheers, Gary Index: ChangeLog === RCS file: /cvsroot/classpath/classpath/ChangeLog,v retrieving revision 1.6073 diff -u -r1.6073 ChangeLog --- ChangeLog 16 Jan 2006 10:15:47 - 1.6073 +++ ChangeLog 16 Jan 2006 10:27:42 - @@ -1,3 +1,7 @@ +2006-01-16 Gary Benson [EMAIL PROTECTED] + + * java/net/SocketPermission.java (implies): Fix action checks. + 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/generic/target_generic_math_float.h: Removed. This Index: java/net/SocketPermission.java === RCS file: /cvsroot/classpath/classpath/java/net/SocketPermission.java,v retrieving revision 1.16 diff -u -r1.16 SocketPermission.java --- java/net/SocketPermission.java 2 Jul 2005 20:32:39 - 1.16 +++ java/net/SocketPermission.java 16 Jan 2006 10:27:42 - @@ -40,6 +40,7 @@ import java.io.Serializable; import java.security.Permission; import java.security.PermissionCollection; +import java.util.StringTokenizer; /** @@ -269,10 +270,11 @@ // Next check the actions String ourlist = getActions(); -String theirlist = p.getActions(); +StringTokenizer theirlist = new StringTokenizer(p.getActions(), ,); -if (! ourlist.startsWith(theirlist)) - return false; +while (theirlist.hasMoreTokens()) + if (ourlist.indexOf(theirlist.nextToken()) == -1) + return false; // Now check ports int ourfirstport = 0; ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
Re: [cp-patches] FYI: Old style event fixes, part 2
On Fri, 2006-01-13 at 21:29 +, Roman Kennke wrote: This is the second part for the old (1.0) style AWT event handling. The problem that is fixed here is that events that are targetted at menu components (like ActionEvents) must be forwarded along the parent chain and finally must end up in the frame that holds the menu bar (I have an application here that expects exactly this). Unfortunatly, the MenuBar knows nothing about its parent frame (MenuBars are not part of the normal component hierarchy, also they are not derived from Component). MenuBar.getParent() returns null. So I had to add a reference to the parent frame to MenuBar and forward the event this way. I haven't looked at this stuff, but this resembles very much what happens in Swing's KeyboardManager class. I don't know if the AWT handles it the same way or not, but you might want to look at how it's handled in Swing. Cheers, --Tony ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI: RTEMS impl for the target native layer
Hi, here comes the last patch for the target native layer (for now), which implements the layer for RTEMS platform. 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/RTEMS/target_native.h, * native/target/RTEMS/target_native_file.h, * native/target/RTEMS/target_native_io.h, * native/target/RTEMS/target_native_math.h, * native/target/RTEMS/target_native_memory.h, * native/target/RTEMS/target_native_misc.h, * native/target/RTEMS/target_native_network.h: New files. Implement the target native layer for the RTEMS platform. /Roman Index: native/target/RTEMS/target_native.h === RCS file: native/target/RTEMS/target_native.h diff -N native/target/RTEMS/target_native.h --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/RTEMS/target_native.h 16 Jan 2006 13:13:14 - @@ -0,0 +1,79 @@ +/* target_native.h - General definitions for the RTEMS platform + Copyright (C) 2006 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. */ + +/* +Description: RTEMS target global defintions +Systems: RTEMS +*/ + +#ifndef __TARGET_NATIVE__ +#define __TARGET_NATIVE__ + +/** Includes ***/ +/* do not move; needed here because of some macro definitions */ +#include config.h + +#include stdlib.h + +/** Conditional compilation switches ***/ + +/* Constants ***/ + +/* Datatypes ***/ + +/* Variables ***/ + +/** Macros */ + +/* Functions ***/ + +#ifdef __cplusplus +extern C { +#endif + +#ifdef __cplusplus +} +#endif + +/* include rest of definitions from generic file (do not move it to + another position!) */ +#include target_generic.h + +#endif /* __TARGET_NATIVE__ */ + +/* end of file */ + Index: native/target/RTEMS/target_native_file.h === RCS file: native/target/RTEMS/target_native_file.h diff -N native/target/RTEMS/target_native_file.h --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/RTEMS/target_native_file.h 16 Jan 2006 13:13:14 - @@ -0,0 +1,79 @@ +/* target_native_file.h - File operations for the RTEMS platform + Copyright (C) 2006 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. +
Re: [cp-patches] RFC: configure fixlet
Wolfgang Baer wrote: Hi, if only ecj is available currently configure breaks because we don't test for a found ecj in the error test. Tested on my local box. 2006-01-16 Wolfgang Baer [EMAIL PROTECTED] * m4/acinclude.m4: Test also for ecj found before exiting configure with no javac found error message. OK, to commit ? Thanks for catching it, the patch looks fine to me. cheers, dalibor topic ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI: SunOS target native layer
Here comes the target native layer implementation for the SunOS platform. Again, since this is pretty close to Posix, this is nothing serious. Some stuff in math and network and that's it. 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/SunOS/target_native.h, * native/target/SunOS/target_native_file.h, * native/target/SunOS/target_native_io.h, * native/target/SunOS/target_native_math.h, * native/target/SunOS/target_native_memory.h, * native/target/SunOS/target_native_misc.h, * native/target/SunOS/target_native_network.h: New files. Implement the target native layer for the SunOS platform. /Roman Index: native/target/SunOS/target_native.h === RCS file: native/target/SunOS/target_native.h diff -N native/target/SunOS/target_native.h --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/SunOS/target_native.h 16 Jan 2006 12:55:32 - @@ -0,0 +1,78 @@ +/* target_native.h - Some general definitions for the SunOS platform + Copyright (C) 2006 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. */ + +/* +Description: SunOS/Solaris target global defintions +Systems: all +*/ + +#ifndef __TARGET_NATIVE__ +#define __TARGET_NATIVE__ + +/** Includes ***/ +/* do not move; needed here because of some macro definitions */ +#include config.h + +#include stdlib.h + +/** Conditional compilation switches ***/ + +/* Constants ***/ + +/* Datatypes ***/ + +/* Variables ***/ + +/** Macros */ + +/* Functions ***/ + +#ifdef __cplusplus +extern C { +#endif + +#ifdef __cplusplus +} +#endif + +/* include rest of definitions from generic file (do not move it to + another position!) */ +#include target_generic.h + +#endif /* __TARGET_NATIVE__ */ + +/* end of file */ Index: native/target/SunOS/target_native_file.h === RCS file: native/target/SunOS/target_native_file.h diff -N native/target/SunOS/target_native_file.h --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/SunOS/target_native_file.h 16 Jan 2006 12:55:32 - @@ -0,0 +1,79 @@ +/* target_native_file.h - File portability macros for the SunOS platform + Copyright (C) 2006 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
[cp-patches] FYI: API docs for javax.swing.text.StyleConstants.java
I committed this patch: 2006-01-16 David Gilbert [EMAIL PROTECTED] * javax/swing/text/StyleConstants.java: Updated API docs all over. Regards, Dave Index: javax/swing/text/StyleConstants.java === RCS file: /sources/classpath/classpath/javax/swing/text/StyleConstants.java,v retrieving revision 1.8 diff -u -r1.8 StyleConstants.java --- javax/swing/text/StyleConstants.java4 Nov 2005 20:16:10 - 1.8 +++ javax/swing/text/StyleConstants.java16 Jan 2006 15:47:29 - @@ -1,5 +1,5 @@ /* StyleConstants.java -- - Copyright (C) 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -43,45 +43,124 @@ import javax.swing.Icon; +/** + * Represents standard attribute keys. This class also contains a set of + * useful static utility methods for querying and populating an + * [EMAIL PROTECTED] AttributeSet}. + * + * @since 1.2 + */ public class StyleConstants { + /** + * A value representing left alignment for the + * [EMAIL PROTECTED] ParagraphConstants#Alignment} attribute. + */ public static final int ALIGN_LEFT = 0; + + /** + * A value representing center alignment for the + * [EMAIL PROTECTED] ParagraphConstants#Alignment} attribute. + */ public static final int ALIGN_CENTER = 1; + + /** + * A value representing right alignment for the + * [EMAIL PROTECTED] ParagraphConstants#Alignment} attribute. + */ public static final int ALIGN_RIGHT = 2; + + /** + * A value representing ful justification for the + * [EMAIL PROTECTED] ParagraphConstants#Alignment} attribute. + */ public static final int ALIGN_JUSTIFIED = 3; + /** An alias for [EMAIL PROTECTED] CharacterConstants#Background}. */ public static final Object Background = CharacterConstants.Background; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#BidiLevel}. */ public static final Object BidiLevel = CharacterConstants.BidiLevel; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#Bold}. */ public static final Object Bold = CharacterConstants.Bold; - public static final Object ComponentAttribute = CharacterConstants.ComponentAttribute; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#ComponentAttribute}. */ + public static final Object ComponentAttribute + = CharacterConstants.ComponentAttribute; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#Family}. */ public static final Object Family = CharacterConstants.Family; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#Family}. */ public static final Object FontFamily = CharacterConstants.Family; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#Size}. */ public static final Object FontSize = CharacterConstants.Size; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#Foreground}. */ public static final Object Foreground = CharacterConstants.Foreground; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#IconAttribute}. */ public static final Object IconAttribute = CharacterConstants.IconAttribute; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#Italic}. */ public static final Object Italic = CharacterConstants.Italic; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#Size}. */ public static final Object Size = CharacterConstants.Size; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#StrikeThrough}. */ public static final Object StrikeThrough = CharacterConstants.StrikeThrough; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#Subscript}. */ public static final Object Subscript = CharacterConstants.Subscript; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#Superscript}. */ public static final Object Superscript = CharacterConstants.Superscript; + + /** An alias for [EMAIL PROTECTED] CharacterConstants#Underline}. */ public static final Object Underline = CharacterConstants.Underline; + /** An alias for [EMAIL PROTECTED] ParagraphConstants#Alignment}. */ public static final Object Alignment = ParagraphConstants.Alignment; - public static final Object FirstLineIndent = ParagraphConstants.FirstLineIndent; + + /** An alias for [EMAIL PROTECTED] ParagraphConstants#FirstLineIndent}. */ + public static final Object FirstLineIndent + = ParagraphConstants.FirstLineIndent; + + /** An alias for [EMAIL PROTECTED] ParagraphConstants#LeftIndent}. */ public static final Object LeftIndent = ParagraphConstants.LeftIndent; + + /** An alias for [EMAIL PROTECTED] ParagraphConstants#LineSpacing}. */ public static final Object LineSpacing = ParagraphConstants.LineSpacing; + + /** An alias for [EMAIL PROTECTED] ParagraphConstants#Orientation}. */ public static final Object Orientation = ParagraphConstants.Orientation; + + /** An alias for
[cp-patches] RFC: Build fixes for new target native layers
Hi, I adjusted some Makefile.am files to correctly include the new subdirectories in native/target. I need some help though. We need some configury to determine the target system for which we build and select the right options in native/target/Makefile.am. I just don*t know how to do that. Anybody there who can help me with this? I committed the attached patch anyway so that the build is fixed. 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS to include the new targets. * native/target/posix/Makefile.am: Fixed filenames. /Roman Index: native/target/Makefile.am === RCS file: /cvsroot/classpath/classpath/native/target/Makefile.am,v retrieving revision 1.2 diff -u -r1.2 Makefile.am --- native/target/Makefile.am 16 Jan 2006 13:47:13 - 1.2 +++ native/target/Makefile.am 16 Jan 2006 15:50:11 - @@ -1,5 +1,27 @@ ## Input file for automake to generate the Makefile.in used by configure -SUBDIRS = Linux generic embOS MinGW posix RTEMS SunOS +TARGET = Linux +# FIXME: How do I set these variables in configure? +#if TARGET_LINUX +# TARGET = Linux +#endif +#if TARGET_SUNOS +# TARGET = SunOS +#endif + +#if TARGET_RTEMS +# TARGET = RTEMS +#endif + +#if TARGET_MINGW +# TARGET = MinGW +#endif + +#if TARGET_EMBOS +# TARGET = embOS +#endif + +SUBDIRS = $(TARGET) generic +DIST_SUBDIRS = Linux SunOS RTEMS MinGW embOS posix generic EXTRA_DIST = readme.txt Index: native/target/posix/Makefile.am === RCS file: /cvsroot/classpath/classpath/native/target/posix/Makefile.am,v retrieving revision 1.2 diff -u -r1.2 Makefile.am --- native/target/posix/Makefile.am 16 Jan 2006 13:47:13 - 1.2 +++ native/target/posix/Makefile.am 16 Jan 2006 15:50:11 - @@ -1,17 +1,17 @@ ## Input file for automake to generate the Makefile.in used by configure EXTRA_DIST = \ -target_native.h \ -target_native.c \ -target_native_file.h \ -target_native_file.c \ -target_native_io.h \ -target_native_io.c \ -target_native_math.h \ -target_native_math.c \ -target_native_memory.h \ -target_native_memory.c \ -target_native_misc.h \ -target_native_misc.c \ -target_native_network.h \ -target_native_network.c +target_posix.h \ +target_posix.c \ +target_posix_file.h \ +target_posix_file.c \ +target_posix_io.h \ +target_posix_io.c \ +target_posix_math.h \ +target_posix_math.c \ +target_posix_memory.h \ +target_posix_memory.c \ +target_posix_misc.h \ +target_posix_misc.c \ +target_posix_network.h \ +target_posix_network.c ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] XML patch
This patch introduces checking of the arguments to the various XMLStreamWriter methods and fixes some XSLT conformance failures. 2006-01-16 Chris Burdess [EMAIL PROTECTED] * gnu/xml/stream/XMLParser.java, gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check XMLStreamWriter arguments for conformance to the XML specifications. * gnu/xml/transform/Stylesheet.java, gnu/xml/transform/Template.java, gnu/xml/transform/TransformerImpl.java, gnu/xml/xpath/LangFunction.java, gnu/xml/xpath/Selector.java: better handling of template priorities; fix indents when pretty-printing; recursive tests for xml:lang. * gnu/xml/util/XHTMLWriter.java, gnu/xml/util/XMLWriter.java: Deprecate old serializer classes. -- 犬 Chris Burdess They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety. - Benjamin Franklin patch Description: Binary data PGP.sig Description: This is a digitally signed message part ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] JamVM stopped working today
Hi All, JamVM stopped working for me today - I get this error when I try to run the SimpleTestHarness in Mauve: $ jamvm -classpath . gnu.testlet.SimpleTestHarness -file StyleConstantsTests.txt -verbose -debug Cannot create system class loader Exception occured while printing exception (java/lang/NoClassDefFoundError)... Original exception was java/lang/UnsatisfiedLinkError Any hints? Bearing in mind that I don't like any of this low-level stuff... Dave ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI: Some fixes for the generic layer
This patch fixes several typos and includes in the target generic implementation. 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/generic/target_generic_file.h: Added missing include. * native/target/generic/target_generic_network.c: Fixed several typos and includes. * native/target/generic/target_generic_network.h: Likewise. /Roman Index: native/target/generic/target_generic_file.h === RCS file: /cvsroot/classpath/classpath/native/target/generic/target_generic_file.h,v retrieving revision 1.20 diff -u -r1.20 target_generic_file.h --- native/target/generic/target_generic_file.h 16 Jan 2006 12:27:59 - 1.20 +++ native/target/generic/target_generic_file.h 16 Jan 2006 15:55:36 - @@ -55,6 +55,8 @@ #include stdlib.h #include assert.h +#include jcl.h + #include target_native.h #include target_native_math.h Index: native/target/generic/target_generic_network.c === RCS file: /cvsroot/classpath/classpath/native/target/generic/target_generic_network.c,v retrieving revision 1.2 diff -u -r1.2 target_generic_network.c --- native/target/generic/target_generic_network.c 16 Jan 2006 13:21:05 - 1.2 +++ native/target/generic/target_generic_network.c 16 Jan 2006 15:55:36 - @@ -62,10 +62,10 @@ /* Datatypes ***/ -#if defined(TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC) || \ +#if defined(TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC) || \ defined(TARGET_NATIVE_NETWORK_SOCKET_CLOSE_GENERIC) || \ -defined(TARGET_NATIVE_NETWORK_CONNECT_GENERIC) || \ -defined(TARGET_NATIVE_NETWORK_ACCEPT_GENERIC) +defined(TARGET_NATIVE_NETWORK_SOCKET_CONNECT_GENERIC) || \ +defined(TARGET_NATIVE_NETWORK_SOCKET_ACCEPT_GENERIC) typedef struct TsocketTimeout { struct TsocketTimeout *next; // next node in list @@ -76,19 +76,19 @@ /* Variables ***/ -#if defined(TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC) || \ +#if defined(TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC) || \ defined(TARGET_NATIVE_NETWORK_SOCKET_CLOSE_GENERIC) || \ -defined(TARGET_NATIVE_NETWORK_CONNECT_GENERIC) || \ -defined(TARGET_NATIVE_NETWORK_ACCEPT_GENERIC) +defined(TARGET_NATIVE_NETWORK_SOCKET_CONNECT_GENERIC) || \ +defined(TARGET_NATIVE_NETWORK_SOCKET_ACCEPT_GENERIC) static TsocketTimeout *socketTimeoutList=NULL; #endif /** Macros */ -#if defined(TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC) || \ +#if defined(TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC) || \ defined(TARGET_NATIVE_NETWORK_SOCKET_CLOSE_GENERIC) || \ -defined(TARGET_NATIVE_NETWORK_CONNECT_GENERIC) || \ -defined(TARGET_NATIVE_NETWORK_ACCEPT_GENERIC) +defined(TARGET_NATIVE_NETWORK_SOCKET_CONNECT_GENERIC) || \ +defined(TARGET_NATIVE_NETWORK_SOCKET_ACCEPT_GENERIC) static TsocketTimeout *addSocketTimeout(int socketDescriptor) { TsocketTimeout *socketTimeout; @@ -226,15 +226,17 @@ } #endif /* TARGET_NATIVE_NETWORK_SOCKET_CLOSE_GENERIC */ -#ifdef TARGET_NATIVE_NETWORK_CONNECT_GENERIC +#ifdef TARGET_NATIVE_NETWORK_SOCKET_CONNECT_GENERIC #include string.h #include sys/types.h #include sys/socket.h #ifdef HAVE_SYS_SELECT_H #include sys/select.h #endif +#ifdef HAVE_FCNTL_H + #include fcntl.h +#endif #include sys/time.h -#include fcntl.h #include errno.h int targetGenericNetwork_socketConnect(int socketDescriptor, unsigned long address, unsigned int port) { @@ -253,7 +255,7 @@ socketAddress.sin_family = AF_INET; socketAddress.sin_addr.s_addr = htonl(address); socketAddress.sin_port= htons(((short)port)); - #ifdef HAVE_SELECT + #if defined(HAVE_SELECT) defined(HAVE_FCNTL_H) defined(HAVE_FCNTL) socketTimeout=findSocketTimeout(socketDescriptor); if ((socketTimeout!=NULL) (socketTimeout-milliseconds0)) { @@ -315,21 +317,24 @@ { result=(connect(socketDescriptor,(struct sockaddr*)socketAddress,sizeof(socketAddress))==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; } - #else /* not HAVE_SELECT */ + #else /* not HAVE_SELECT HAVE_FCNTL_H HAVE_FCNTL */ result=(connect(socketDescriptor,(struct sockaddr*)socketAddress,sizeof(socketAddress))==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; #endif /* HAVE_SELECT */ return result; } -#endif /* TARGET_NATIVE_NETWORK_CONNECT_GENERIC */ +#endif /* TARGET_NATIVE_NETWORK_SOCKET_CONNECT_GENERIC */ -#ifdef TARGET_NATIVE_NETWORK_ACCEPT_GENERIC +#ifdef TARGET_NATIVE_NETWORK_SOCKET_ACCEPT_GENERIC #include string.h #include sys/types.h #include sys/socket.h #ifdef HAVE_SYS_SELECT_H #include sys/select.h #endif +#ifdef HAVE_FCNTL_H + #include fcntl.h +#endif #include sys/time.h int
Re: [cp-patches] FYI: New Posix Layer
Roman Kennke wrote: I committed the new Posix-Layer that implements a couple of portability macros and functions for use in our native code. This patch causes the build to fail with gcc -dynamiclib -o .libs/libjavaio.0.0.0.dylib .libs/ java_io_VMFile.o .libs/java_io_VMObjectInputStream.o .libs/ java_io_VMObjectStreamClass.o ../../../native/jni/classpath/.libs/ jcl.o -install_name /gnu/lib/classpath/libjavaio.0.dylib -Wl,- compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0 ld: Undefined symbols: _targetNativeLastErrorCode _targetNativeLastErrorString /usr/bin/libtool: internal link edit command failed -- 犬 Chris Burdess They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety. - Benjamin Franklin PGP.sig Description: This is a digitally signed message part ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
Re: [cp-patches] Patch: fix Content-Encoding for compressed HTTP responses
Anthony == Anthony Green [EMAIL PROTECTED] writes: Anthony I just want to get this patch into rawhide. My feeling is that it Anthony solves an incompatibility, and introduces no regressions. I agree, it is the minimal required improvement. Please check it in. I think what we want to do is auto-uncompress streams only where we invisibly requested the content encoding... i.e., if the caller explicitly asked for a particular content-encoding, we should take note of that and return the uninterpreted stream. I think this could be done with only minor changes in Request. I'm hoping Chris will comment on this. Hint, hint. Tom ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
Re: [cp-patches] JamVM stopped working today
On Mon, 2006-01-16 at 18:22 +, David Gilbert wrote: Hi All, JamVM stopped working for me today - I get this error when I try to run the SimpleTestHarness in Mauve: $ jamvm -classpath . gnu.testlet.SimpleTestHarness -file StyleConstantsTests.txt -verbose -debug Cannot create system class loader Exception occured while printing exception (java/lang/NoClassDefFoundError)... Original exception was java/lang/UnsatisfiedLinkError Any hints? Bearing in mind that I don't like any of this low-level stuff... I am getting this too. The build is broken. I rolled back my repository to sunday using cvs up -D 01/15/2006. Use cvs up -A when you want to update your repository to the current version when the build is working again. Lillian ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI: another build fix
The attached patch is also needed in order to correctly build the new target native code. 2006-01-16 Roman Kennke [EMAIL PROTECTED] * configure.ac: Include new target native directories in build. /Roman Index: configure.ac === RCS file: /cvsroot/classpath/classpath/configure.ac,v retrieving revision 1.125 diff -u -r1.125 configure.ac --- configure.ac 13 Jan 2006 11:34:06 - 1.125 +++ configure.ac 16 Jan 2006 15:57:57 - @@ -587,6 +587,11 @@ native/jni/midi-dssi/Makefile native/target/Makefile native/target/Linux/Makefile +native/target/embOS/Makefile +native/target/SunOS/Makefile +native/target/RTEMS/Makefile +native/target/MinGW/Makefile +native/target/posix/Makefile native/target/generic/Makefile resource/Makefile scripts/Makefile ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
Re: [cp-patches] RFC: Build fixes for new target native layers
Roman == Roman Kennke [EMAIL PROTECTED] writes: Roman I need some help though. We need some configury to determine Roman the target system for which we build and select the right Roman options in native/target/Makefile.am. I just don*t know how to Roman do that. Anybody there who can help me with this? Roman +# FIXME: How do I set these variables in configure? Roman +#if TARGET_LINUX Roman +# TARGET = Linux Roman +#endif Instead of doing things this way, with a bunch of independent 'if's, I would suggest computing TARGET in configure.ac and then AC_SUBSTing it. IMSNHO, it is bogus to have a separate 'SunOS' target. This sort of thing is better handled by feature tests. I didn't look at the uses of this, though... on occasion there's no alternative to a platform test. The way to set TARGET is by looking at what AC_CANONICAL_TARGET defined, eg: case $target_os in) linux*) TARGET=Posix ;; ... esac AC_SUBST(TARGET) Tom ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
Re: [cp-patches] Patch: fix Content-Encoding for compressed HTTP responses
On Mon, 2006-01-16 at 10:52 -0700, Tom Tromey wrote: When I run that case program, if I specify that it should ask for a gzip encoding, Sun's protocol handler hands back a gzipped stream -- i.e., it does not uncompress. I didn't even notice this option! I think either behavior is correct, since user code has no way of knowing whether it should have gotten a zipped stream. But I wonder... Sun's behavior seems a bit nicer since it allows the option of not uncompressing, if that is what is wanted. Ok, but this is a separate problem we could address in another patch. Also I wonder about throwing an exception if we don't recognize the content-encoding. It seems to me that the caller might well recognize it somehow. Maybe. Again, this is a separate problem we can address in another patch. I just want to get this patch into rawhide. My feeling is that it solves an incompatibility, and introduces no regressions. AG ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
Re: [cp-patches] JamVM stopped working today
Hi, Thanks for the replies. I didn't fancy doing a complete checkout over a 3G/GPRS datacard :) Rob. On 1/16/06, Lillian Angel [EMAIL PROTECTED] wrote: On Mon, 2006-01-16 at 18:22 +, David Gilbert wrote: Hi All, JamVM stopped working for me today - I get this error when I try to run the SimpleTestHarness in Mauve: $ jamvm -classpath . gnu.testlet.SimpleTestHarness -file StyleConstantsTests.txt -verbose -debug Cannot create system class loader Exception occured while printing exception (java/lang/NoClassDefFoundError)... Original exception was java/lang/UnsatisfiedLinkError Any hints? Bearing in mind that I don't like any of this low-level stuff... I am getting this too. The build is broken. I rolled back my repository to sunday using cvs up -D 01/15/2006. Use cvs up -A when you want to update your repository to the current version when the build is working again. Lillian ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] Re: JamVM stopped working today
Hi David, On Mon, 2006-01-16 at 18:22 +, David Gilbert wrote: Hi All, JamVM stopped working for me today - I get this error when I try to run the SimpleTestHarness in Mauve: $ jamvm -classpath . gnu.testlet.SimpleTestHarness -file StyleConstantsTests.txt -verbose -debug Cannot create system class loader Exception occured while printing exception (java/lang/NoClassDefFoundError)... Original exception was java/lang/UnsatisfiedLinkError Any hints? Bearing in mind that I don't like any of this low-level stuff... Seems something is completely broken in the new native layer, I cannot even get it to compile (Roman, did you try the --enable-Werror configure flag?). And since the macros are such a pain to debug I have not been able to really understand what goes wrong. For now just revert to yesterdays native stuff: cvs update -D yesterday native Then re-autogen.sh and re-configure and when everything is fixed again do a 'cvs update -A' to reset the date tag on the native CVS working dir. Cheers, Mark signature.asc Description: This is a digitally signed message part ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
Re: [cp-patches] Patch: fix Content-Encoding for compressed HTTP responses
David == David Daney [EMAIL PROTECTED] writes: Also I wonder about throwing an exception if we don't recognize the content-encoding. It seems to me that the caller might well recognize it somehow. David How would you make this behavior compatible with java.net.*? David What exception would you throw? David What state would the connection be in after throwing? Sorry... I meant, the existing code throws an exception if the Content-Encoding is not recognized. But this seems wrong. Tom ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI: Makefiles for new targets
The attached patch includes the new targets in the Makefile.am's so they are included in the distributions. 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/Makefile.am: Include new targets. * native/target/Linux/Makefile.am: Include new memory layer. * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist. * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist. * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist. * native/target/embOS/Makefile.am: New file. Includes embOS in dist. * native/target/generic/Makefile.am: Include new memory and math layer. * native/target/posix/Makefile.am: New file. Includes posix in dist. /Roman Index: native/target/Makefile.am === RCS file: /cvsroot/classpath/classpath/native/target/Makefile.am,v retrieving revision 1.1 diff -u -r1.1 Makefile.am --- native/target/Makefile.am 14 Aug 2003 16:58:44 - 1.1 +++ native/target/Makefile.am 16 Jan 2006 13:45:36 - @@ -1,5 +1,5 @@ ## Input file for automake to generate the Makefile.in used by configure -SUBDIRS = Linux generic +SUBDIRS = Linux generic embOS MinGW posix RTEMS SunOS EXTRA_DIST = readme.txt Index: native/target/Linux/Makefile.am === RCS file: /cvsroot/classpath/classpath/native/target/Linux/Makefile.am,v retrieving revision 1.2 diff -u -r1.2 Makefile.am --- native/target/Linux/Makefile.am 16 Jan 2006 10:15:48 - 1.2 +++ native/target/Linux/Makefile.am 16 Jan 2006 13:45:36 - @@ -5,5 +5,6 @@ target_native_misc.h \ target_native.h \ target_native_math.h \ +target_native_memory.h \ target_native_network.h \ target_native_file.h Index: native/target/MinGW/Makefile.am === RCS file: native/target/MinGW/Makefile.am diff -N native/target/MinGW/Makefile.am --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/MinGW/Makefile.am 16 Jan 2006 13:45:36 - @@ -0,0 +1,10 @@ +## Input file for automake to generate the Makefile.in used by configure + +EXTRA_DIST = \ +target_native_io.h \ +target_native_misc.h \ +target_native.h \ +target_native_math.h \ +target_native_memory.h \ +target_native_network.h \ +target_native_file.h Index: native/target/RTEMS/Makefile.am === RCS file: native/target/RTEMS/Makefile.am diff -N native/target/RTEMS/Makefile.am --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/RTEMS/Makefile.am 16 Jan 2006 13:45:36 - @@ -0,0 +1,10 @@ +## Input file for automake to generate the Makefile.in used by configure + +EXTRA_DIST = \ +target_native_io.h \ +target_native_misc.h \ +target_native.h \ +target_native_math.h \ +target_native_memory.h \ +target_native_network.h \ +target_native_file.h Index: native/target/SunOS/Makefile.am === RCS file: native/target/SunOS/Makefile.am diff -N native/target/SunOS/Makefile.am --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/SunOS/Makefile.am 16 Jan 2006 13:45:36 - @@ -0,0 +1,10 @@ +## Input file for automake to generate the Makefile.in used by configure + +EXTRA_DIST = \ +target_native_io.h \ +target_native_misc.h \ +target_native.h \ +target_native_math.h \ +target_native_memory.h \ +target_native_network.h \ +target_native_file.h Index: native/target/embOS/Makefile.am === RCS file: native/target/embOS/Makefile.am diff -N native/target/embOS/Makefile.am --- /dev/null 1 Jan 1970 00:00:00 - +++ native/target/embOS/Makefile.am 16 Jan 2006 13:45:36 - @@ -0,0 +1,11 @@ +## Input file for automake to generate the Makefile.in used by configure + +EXTRA_DIST = \ +target_native_io.h \ +target_native_io.c \ +target_native_misc.h \ +target_native.h \ +target_native_math.h \ +target_native_memory.h \ +target_native_network.h \ +target_native_file.h Index: native/target/generic/Makefile.am === RCS file: /cvsroot/classpath/classpath/native/target/generic/Makefile.am,v retrieving revision 1.1 diff -u -r1.1 Makefile.am --- native/target/generic/Makefile.am 14 Aug 2003 16:58:44 - 1.1 +++ native/target/generic/Makefile.am 16 Jan 2006 13:45:36 - @@ -4,7 +4,7 @@ target_generic_io.h \ target_generic_misc.h \ target_generic.h \ -target_generic_math_float.h \ +target_generic_math.h \ +target_generic_memory.h \ target_generic_network.h \ -target_generic_file.h \ -target_generic_math_int.h +target_generic_file.h Index: native/target/posix/Makefile.am === RCS file: /cvsroot/classpath/classpath/native/target/posix/Makefile.am,v retrieving revision 1.1 diff -u -r1.1 Makefile.am ---
Re: [cp-patches] Patch: fix Content-Encoding for compressed HTTP responses
Anthony == Anthony Green [EMAIL PROTECTED] writes: Anthony I found this while debugging Azureus. We automatically decompress Anthony compressed HTTP responses, but still report them as having compressed Anthony content. This patch removes the Content-Encoding header in these Anthony cases. This appears to be what Sun does in these cases. Ok? When I run that case program, if I specify that it should ask for a gzip encoding, Sun's protocol handler hands back a gzipped stream -- i.e., it does not uncompress. I think either behavior is correct, since user code has no way of knowing whether it should have gotten a zipped stream. But I wonder... Sun's behavior seems a bit nicer since it allows the option of not uncompressing, if that is what is wanted. Also I wonder about throwing an exception if we don't recognize the content-encoding. It seems to me that the caller might well recognize it somehow. Comments? Tom ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
Re: [cp-patches] Patch: fix Content-Encoding for compressed HTTP responses
On Mon, 2006-01-16 at 12:49 -0700, Tom Tromey wrote: Anthony == Anthony Green [EMAIL PROTECTED] writes: Anthony I just want to get this patch into rawhide. My feeling is that it Anthony solves an incompatibility, and introduces no regressions. I agree, it is the minimal required improvement. Please check it in. Done - thanks! AG ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
Re: [cp-patches] Patch: fix Content-Encoding for compressed HTTP responses
Tom Tromey wrote: Anthony == Anthony Green [EMAIL PROTECTED] writes: Anthony I found this while debugging Azureus. We automatically decompress Anthony compressed HTTP responses, but still report them as having compressed Anthony content. This patch removes the Content-Encoding header in these Anthony cases. This appears to be what Sun does in these cases. Ok? When I run that case program, if I specify that it should ask for a gzip encoding, Sun's protocol handler hands back a gzipped stream -- i.e., it does not uncompress. I think either behavior is correct, since user code has no way of knowing whether it should have gotten a zipped stream. But I wonder... Sun's behavior seems a bit nicer since it allows the option of not uncompressing, if that is what is wanted. I would have to study the relevant specifications in more depth, but this seems like a good idea. If the caller explicitly sets an Accept-Encoding of gzip or deflate, we should probably just send the data on through as is. Otherwise do the decoding in the runtime as we currently do. RFC 2616 section 14.3 seems to be the controlling-legal-authority here. It implies that if there was no Accept-Encoding specified, then the server is free to send anything it wants to. In this case we should probably handle any gzip or deflate Content-Encodings found. If Accept-Encoding is specified we would probably not handle automatic decoding. Also I wonder about throwing an exception if we don't recognize the content-encoding. It seems to me that the caller might well recognize it somehow. How would you make this behavior compatible with java.net.*? What exception would you throw? What state would the connection be in after throwing? David Daney. ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-testresults] FAIL: classpath build with gcj trunk on Mon Jan 16 17:43:29 UTC 2006
then mv -f .deps/jawt.Tpo .deps/jawt.Plo; else rm -f .deps/jawt.Tpo; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I../../../classpath/native/jawt -I../../include -I../../../classpath/include -I../../../classpath/native/jni/classpath -I../../../classpath/native/target/Linux -I../../../classpath/native/target/generic -g -pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -DXTHREADS -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -MT jawt.lo -MD -MP -MF .deps/jawt.Tpo -c ../../../classpath/native/jawt/jawt.c -fPIC -DPIC -o .libs/jawt.o /bin/sh ../../libtool --tag=CC --mode=link gcc -pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -DXTHREADS -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -module -version-info 0:0:0 -no-undefined -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgthread-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0-lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0-L/usr/X11R6/lib -lXtst -o libjawtgnu.la -rpath /home/cpdev/Nightly/classpath/install/lib/classpath jawt.lo ../../native/jni/gtk-peer/libgtkpeer.la *** Warning: Linking the shared library libjawtgnu.la against the loadable module *** libgtkpeer.so is not portable! gcc -shared .libs/jawt.o -Wl,--rpath -Wl,/home/cpdev/Nightly/classpath/build/native/jni/gtk-peer/.libs -Wl,--rpath -Wl,/home/cpdev/Nightly/classpath/install/lib/classpath -pthread /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libgthread-2.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -L/usr/X11R6/lib -lXtst ../../native/jni/gtk-peer/.libs/libgtkpeer.so -Wl,--export-dynamic -Wl,-soname -Wl,libjawtgnu.so.0 -o .libs/libjawtgnu.so.0.0.0 (cd .libs rm -f libjawtgnu.so.0 ln -s libjawtgnu.so.0.0.0 libjawtgnu.so.0) (cd .libs rm -f libjawtgnu.so ln -s libjawtgnu.so.0.0.0 libjawtgnu.so) creating libjawtgnu.la (cd .libs rm -f libjawtgnu.la ln -s ../libjawtgnu.la libjawtgnu.la) make[2]: Leaving directory `/home/cpdev/Nightly/classpath/build/native/jawt' Making all in target make[2]: Entering directory `/home/cpdev/Nightly/classpath/build/native/target' Making all in Linux make[3]: Entering directory `/home/cpdev/Nightly/classpath/build/native/target/Linux' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/cpdev/Nightly/classpath/build/native/target/Linux' Making all in generic make[3]: Entering directory `/home/cpdev/Nightly/classpath/build/native/target/generic' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/cpdev/Nightly/classpath/build/native/target/generic' Making all in embOS /bin/sh: line 1: cd: embOS: No such file or directory make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/cpdev/Nightly/classpath/build/native/target' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/cpdev/Nightly/classpath/build/native' make: *** [all-recursive] Error 1 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-testresults
[cp-testresults] FAIL: ecj built with ecj on jamvm on Mon Jan 16 21:18:40 UTC 2006
Exception occured while printing exception (java/lang/NoClassDefFoundError)... Original exception was java/lang/UnsatisfiedLinkError Cannot create system class loader Exception occured while printing exception (java/lang/NoClassDefFoundError)... Original exception was java/lang/UnsatisfiedLinkError Cannot create system class loader ___ Classpath-testresults mailing list Classpath-testresults@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-testresults
[cp-testresults] FAIL: classpath build with jikes on Mon Jan 16 21:16:16 UTC 2006
ar cru .libs/libclasspath.a .libs/jcl.o .libs/jnilink.o .libs/native_state.o ranlib .libs/libclasspath.a creating libclasspath.la (cd .libs rm -f libclasspath.la ln -s ../libclasspath.la libclasspath.la) make[3]: Leaving directory `/home/cpdev/Nightly/classpath/jikes-build/native/jni/classpath' Making all in java-io make[3]: Entering directory `/home/cpdev/Nightly/classpath/jikes-build/native/jni/java-io' if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../classpath/native/jni/java-io -I../../../include -I../../../../classpath/include -I../../../../classpath/native/jni/classpath -I../../../../classpath/native/target/Linux -I../../../../classpath/native/target/generic -pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -Werror -g -O2 -MT java_io_VMFile.lo -MD -MP -MF .deps/java_io_VMFile.Tpo -c -o java_io_VMFile.lo ../../../../classpath/native/jni/java-io/java_io_VMFile.c; \ then mv -f .deps/java_io_VMFile.Tpo .deps/java_io_VMFile.Plo; else rm -f .deps/java_io_VMFile.Tpo; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I../../../../classpath/native/jni/java-io -I../../../include -I../../../../classpath/include -I../../../../classpath/native/jni/classpath -I../../../../classpath/native/target/Linux -I../../../../classpath/native/target/generic -pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -Werror -g -O2 -MT java_io_VMFile.lo -MD -MP -MF .deps/java_io_VMFile.Tpo -c ../../../../classpath/native/jni/java-io/java_io_VMFile.c -fPIC -DPIC -o .libs/java_io_VMFile.o In file included from ../../../../classpath/native/target/Linux/target_native_file.h:74, from ../../../../classpath/native/jni/java-io/java_io_VMFile.c:49: ../../../../classpath/native/target/generic/target_generic_file.h:1125:1: error: C++ style comments are not allowed in ISO C90 ../../../../classpath/native/target/generic/target_generic_file.h:1125:1: error: (this will be reported only once per input file) cc1: warnings being treated as errors ../../../../classpath/native/jni/java-io/java_io_VMFile.c: In function 'Java_java_io_VMFile_list': ../../../../classpath/native/jni/java-io/java_io_VMFile.c:635: warning: passing argument 1 of 'memcpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:635: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:635: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:671: warning: passing argument 1 of 'memcpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:671: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:671: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type make[3]: *** [java_io_VMFile.lo] Error 1 make[3]: Leaving directory `/home/cpdev/Nightly/classpath/jikes-build/native/jni/java-io' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/cpdev/Nightly/classpath/jikes-build/native/jni' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/cpdev/Nightly/classpath/jikes-build/native' make: *** [all-recursive] Error 1 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-testresults
[cp-testresults] FAIL: classpath build with jikes on Tue Jan 17 00:44:00 UTC 2006
ar cru .libs/libclasspath.a .libs/jcl.o .libs/jnilink.o .libs/native_state.o ranlib .libs/libclasspath.a creating libclasspath.la (cd .libs rm -f libclasspath.la ln -s ../libclasspath.la libclasspath.la) make[3]: Leaving directory `/home/cpdev/Nightly/classpath/jikes-build/native/jni/classpath' Making all in java-io make[3]: Entering directory `/home/cpdev/Nightly/classpath/jikes-build/native/jni/java-io' if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../classpath/native/jni/java-io -I../../../include -I../../../../classpath/include -I../../../../classpath/native/jni/classpath -I../../../../classpath/native/target/Linux -I../../../../classpath/native/target/generic -pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -Werror -g -O2 -MT java_io_VMFile.lo -MD -MP -MF .deps/java_io_VMFile.Tpo -c -o java_io_VMFile.lo ../../../../classpath/native/jni/java-io/java_io_VMFile.c; \ then mv -f .deps/java_io_VMFile.Tpo .deps/java_io_VMFile.Plo; else rm -f .deps/java_io_VMFile.Tpo; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I../../../../classpath/native/jni/java-io -I../../../include -I../../../../classpath/include -I../../../../classpath/native/jni/classpath -I../../../../classpath/native/target/Linux -I../../../../classpath/native/target/generic -pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -Werror -g -O2 -MT java_io_VMFile.lo -MD -MP -MF .deps/java_io_VMFile.Tpo -c ../../../../classpath/native/jni/java-io/java_io_VMFile.c -fPIC -DPIC -o .libs/java_io_VMFile.o In file included from ../../../../classpath/native/target/Linux/target_native_file.h:74, from ../../../../classpath/native/jni/java-io/java_io_VMFile.c:49: ../../../../classpath/native/target/generic/target_generic_file.h:1125:1: error: C++ style comments are not allowed in ISO C90 ../../../../classpath/native/target/generic/target_generic_file.h:1125:1: error: (this will be reported only once per input file) cc1: warnings being treated as errors ../../../../classpath/native/jni/java-io/java_io_VMFile.c: In function 'Java_java_io_VMFile_list': ../../../../classpath/native/jni/java-io/java_io_VMFile.c:635: warning: passing argument 1 of 'memcpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:635: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:635: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:671: warning: passing argument 1 of 'memcpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:671: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:671: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type make[3]: *** [java_io_VMFile.lo] Error 1 make[3]: Leaving directory `/home/cpdev/Nightly/classpath/jikes-build/native/jni/java-io' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/cpdev/Nightly/classpath/jikes-build/native/jni' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/cpdev/Nightly/classpath/jikes-build/native' make: *** [all-recursive] Error 1 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-testresults
[cp-testresults] FAIL: ecj built with gcjx on Mon Jan 16 17:51:59 UTC 2006
import java.io.File; ^ error: required type 'java.lang.Object' not found; check your class path ￾ ^ batch/org/eclipse/jdt/internal/compiler/batch/FileFinder.java:13:0: error: type named 'java.io.File' is undefined import java.io.File; ^ error: required type 'java.lang.Object' not found; check your class path ￾ ^ batch/org/eclipse/jdt/internal/compiler/batch/FileSystem.java:13:0: error: type named 'java.io.File' is undefined import java.io.File; ^ error: required type 'java.lang.Object' not found; check your class path ￾ ^ batch/org/eclipse/jdt/internal/compiler/batch/Main.java:13:0: error: type named 'java.io.ByteArrayInputStream' is undefined import java.io.ByteArrayInputStream; ^ ___ Classpath-testresults mailing list Classpath-testresults@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-testresults
[cp-testresults] FAIL: classpath build with gcj (4.0) on Tue Jan 17 03:58:37 UTC 2006
ar cru .libs/libclasspath.a .libs/jcl.o .libs/jnilink.o .libs/native_state.o ranlib .libs/libclasspath.a creating libclasspath.la (cd .libs rm -f libclasspath.la ln -s ../libclasspath.la libclasspath.la) make[3]: Leaving directory `/home/cpdev/Nightly/classpath/build/native/jni/classpath' Making all in java-io make[3]: Entering directory `/home/cpdev/Nightly/classpath/build/native/jni/java-io' if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../classpath/native/jni/java-io -I../../../include -I../../../../classpath/include -I../../../../classpath/native/jni/classpath -I../../../../classpath/native/target/Linux -I../../../../classpath/native/target/generic -pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -Werror -g -O2 -MT java_io_VMFile.lo -MD -MP -MF .deps/java_io_VMFile.Tpo -c -o java_io_VMFile.lo ../../../../classpath/native/jni/java-io/java_io_VMFile.c; \ then mv -f .deps/java_io_VMFile.Tpo .deps/java_io_VMFile.Plo; else rm -f .deps/java_io_VMFile.Tpo; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I../../../../classpath/native/jni/java-io -I../../../include -I../../../../classpath/include -I../../../../classpath/native/jni/classpath -I../../../../classpath/native/target/Linux -I../../../../classpath/native/target/generic -pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -Werror -g -O2 -MT java_io_VMFile.lo -MD -MP -MF .deps/java_io_VMFile.Tpo -c ../../../../classpath/native/jni/java-io/java_io_VMFile.c -fPIC -DPIC -o .libs/java_io_VMFile.o In file included from ../../../../classpath/native/target/Linux/target_native_file.h:74, from ../../../../classpath/native/jni/java-io/java_io_VMFile.c:49: ../../../../classpath/native/target/generic/target_generic_file.h:1125:1: error: C++ style comments are not allowed in ISO C90 ../../../../classpath/native/target/generic/target_generic_file.h:1125:1: error: (this will be reported only once per input file) cc1: warnings being treated as errors ../../../../classpath/native/jni/java-io/java_io_VMFile.c: In function 'Java_java_io_VMFile_list': ../../../../classpath/native/jni/java-io/java_io_VMFile.c:635: warning: passing argument 1 of 'memcpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:635: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:635: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:671: warning: passing argument 1 of 'memcpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:671: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type ../../../../classpath/native/jni/java-io/java_io_VMFile.c:671: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type make[3]: *** [java_io_VMFile.lo] Error 1 make[3]: Leaving directory `/home/cpdev/Nightly/classpath/build/native/jni/java-io' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/cpdev/Nightly/classpath/build/native/jni' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/cpdev/Nightly/classpath/build/native' make: *** [all-recursive] Error 1 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-testresults
Re: Updating Mauve tags
The Sun's swing did have as many as 6514 bugs through the history, despite many of them are fixed now. Together with the new features and improvements, each new major release inevitably brings some regressions that are later fixed. J2SE 5.0 http://java.sun.com/j2se/1.5.0/download.jsp already had six updates in the past. They do make some mistakes, same as we do, same as any java development group inevitably does. This may be especially true for tests that were succeeding in the past but fail with the newest version. Because of that reason I would not suggest any automated removal or inactivation of the tests just because they fail on Sun's or any other java implementation. If the implemented behavior clearly mismatches the Sun's API specification, this is probably just a bug that is likely to be fixed - probably in the next minor release. Some tests can be invalid and can be inactivated or removed (probably better altered, making them valid). However I think that this work (a difficult work) must be done manually. The typical reason can be if we find the similar problem in the Sun's bug reports and the Sun states that this is not a bug or it will never be fixed, or if we realize that the former author of the test clearly misinterprets the Sun's API standard. If needed, we could probably simply have and use the list of tests that are known to pass with the final releases of the JDK 1.2, 1.3 and 1.4 (for the 1.5, such list would need the regular updates). Audrius. Roman Kennke wrote: Hi Mark, I see that we have a concept of tags in Mauve. That is a collection of keys at the top of each test class. This way we can filter the tests. ATM we have tags for the JDK versions like JDK1.4 JDK1.3 and so on and a couple of other tags. However, it seems that they are not maintained in a usable way, so most people simply include every tag that they can think of (that is what's done in batch_run for example) to run all tests. Why do you feel they aren't maintained in a usable way? This was caused by a misunderstanding of the usage/meaning of those tags. I was thinking that when a test has the tag JDK1.x, that this test is meant to PASS under a JDK1.x-ish JDK. As Michael and others have pointed out on IRC this is not the case. If I want to test a JDK1.3-sh (for example) environment I should include JDK1.0 JDK1.1 JDK1.2 and JDK1.3 tags in my keys. The problem that I am seeing is when a test that is written to PASS under 1.4 fails under 1.5. There are lots of those tests in the testsuite for the javax.swing package. So my plan would have been to tag all tests that pass under JDK1.5 with the 1.5 tag and those that don't only with JDK1.4 or whatever is ok. Since the tags are not meant to be used that way, maybe we can do it different. Could we extend the choose-classes script to detect !JDK1.x tags in the tag header of java source files and don't include the test in a JDK1.x test run? /Roman ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: Updating Mauve tags
Roman Kennke wrote: The problem that I am seeing is when a test that is written to PASS under 1.4 fails under 1.5. There are lots of those tests in the testsuite for the javax.swing package. Hi Roman, Did I write those tests (or some of them)? If so, send me the file names and I'll see if I can clean them up a bit. When I wrote them, I checked the results only against Sun JDK 1.4.2 (*), but recently I have started to use JDK 1.5 more regularly so now I can work on bringing the tests up to date. Regards, Dave (*) One of the problems with Swing is that the API docs are very much underspecified (completely missing in many cases), so it becomes necessary to make educated guesses when writing the tests, then confirm these against a specific implementation (in my case Sun's 1.4.2). ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: Updating Mauve tags
Hi Roman, On Mon, 2006-01-16 at 00:59 +0100, Roman Kennke wrote: The problem that I am seeing is when a test that is written to PASS under 1.4 fails under 1.5. There are lots of those tests in the testsuite for the javax.swing package. To be honest, I would just remove those tests and concentrate on the 1.5 ones. So my plan would have been to tag all tests that pass under JDK1.5 with the 1.5 tag and those that don't only with JDK1.4 or whatever is ok. Since the tags are not meant to be used that way, maybe we can do it different. Could we extend the choose-classes script to detect !JDK1.x tags in the tag header of java source files and don't include the test in a JDK1.x test run? I always thought it already worked that way (see the README), so if it doesn't and you can make it actually do that then that would be great. Cheers, Mark signature.asc Description: This is a digitally signed message part ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: SecurityManager troubles
Archie Cobbs wrote: Gary Benson wrote: + try + { + Class.forName(java.security.Security); + } + catch (Throwable t) + { + } It might be more appropriate to only catch Exception, not Throwable. So I was halfway through thinking about this when I forgot and committed it :( Why Exception as opposed to Throwable? My reasoning was that the code was added to possibly make more things work than do already, and that anything that might make less things work was to be avoided. The alternative to Throwable is to catch ClassNotFoundException, which is the only subclass of Exception that Class.forName throws. Cheers, Gary ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: a crazy idea -- the Book
Meskauskas Audrius wrote: Printing the book would probably require the initial money investment. This probably can be solved at least in the two ways: 1. The FSF pays for printing of this book and then gets the profit from selling it. 2. All authors contribute for printing of this book and then probably share the profit. With the large number of authors, both money contribution and expected profit will probably not be very big anyway. See also http://www.lulu.com/. Cheers, Gary ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: a crazy idea -- the Book
Typically, the best books are written by the authors of the methods or other things that are present in the book. For instance, the Molecular Cloning: A Laboratory Manual is present in near every serious biochemical laboratory, despite this book costs several hundreds of dollars. The book is popular because it consists of multiple chapters, written separately mainly by the authors of the described methods. It is more popular than many other books, describing the same methods and costing one order of magnitude less. If this is true for java also, the really good books can be written either by Sun, by active members of our project and probably by the authors of other Sun API implementations. For parts where the development is no longer active the sections could also be written by somebody else of (if there are enough material) maybe even skipped. Between the proposed topics of the book it could be (the list is discussible): 1. Advanced use of the standard java API. For simplicity, we can just assume that the reader knows the java language and various simple things like how to display a JFrame or iterate over collection. I suggest to assume that the reader is somebody like Sun Certified Java Programmer (then the program of that exam can be used to check what the reader already knows). We can focus mainly on packages and classes where the topics are difficult and documentation is very incomplete or even missing: advanced networking, swing models, non trivial class loaders and so on. There are already many - too many - books for beginners, frequently describing details that can be learned from the web without any book at all. 2. Each free java virtual machine project can contribute a chapter about that virtual machine. These must be the informative, useful chapters, giving the potentially useful technical details - not just the lists of supported platforms. 3. The structure of the GNU Classpath project can be described - that autogen.sh does, that configure.sh does, how this library is connected to the java virtual machine and so on. Other ideas can also be suggested. Hence we can write such book if there are enough persons willing to contribute chapters about the Free Java parts that they have implemented. In the past, I wrote multiple scientific articles for various journals (in English), once needed to write, technically prepare and arrange printing (but not distribution) of the small book and twice was supervising the shared development of the multi-author book where each author was contributing a separate chapter. If required, I can take the co-ordination of this Classpath subproject. In the first step, we need the chapter proposals (topic and possible date of submission). Using the CVS history information it is easy to set the priorities if several potential contributors want to write chapter about the same (or they can be just told to co-operate). In the second stage, the book is composed from the received chapters. Normally the authors then receive they sections as they would appear in the book for the additional editing and proofs. Finally the printing and distribution must be arranged. People probably may be more motivated and write more material if at least part of the profit from that book would be returned back to the authors. If I am wrong with this way thinking here, the better. Surely there are other reasons to contribute. Audrius. ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
[Bug swing/25770] JTable cell editor does not start after double clicking on the cell.
--- Comment #1 from audriusa at bluewin dot ch 2006-01-16 12:37 --- Created an attachment (id=10653) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10653action=view) Proposed patch. 2006-01-16 Audrius Meskauskas [EMAIL PROTECTED] * javax/swing/DefaultCellEditor.java (delegate): Assign new instance immediately. (DefaultCellEditor(JTextField textfield)): Require 2 clicks. (getTableCellEditorComponent): Rewritten. (prepareAsJTextField):New method (add listener only once). * javax/swing/JTable.java (editingCanceled): Rewritten. (editingStopped ): Rewritten. (rowAtPoint): Mind row margin. (getCellRect): Mind row margin. (getDefaultEditor): Removing JTextComponent border. (editCellAt): Rewritten. * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler): Activate editing mode by the mouse clicks. (getMaximumSize): Mind row margin. (getPreferredSize): Mind row margin. (TableAction): Added 'stop editing' command. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25770 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
Re: SecurityManager troubles
Gary Benson wrote: + catch (Throwable t) + { + } It might be more appropriate to only catch Exception, not Throwable. So I was halfway through thinking about this when I forgot and committed it :( Why Exception as opposed to Throwable? My reasoning was that the code was added to possibly make more things work than do already, and that anything that might make less things work was to be avoided. The alternative to Throwable is to catch ClassNotFoundException, which is the only subclass of Exception that Class.forName throws. It's definitely not a big deal, but e.g. you should at least not catch ThreadDeath. Moreover, if there is some obscure, unrelated VM startup issue, you might get an Error thrown at any time.. if you discard that here, it might make the obscure issue even more obscure. This comes from someone who's created his fair share of obscure VM startup issues :-) You're right that ClassNotFoundException would be more appropriate still than Exception. Then the code is clearest about what exactly is intended. -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
RE: SecurityManager troubles
Gary Benson wrote: Archie Cobbs wrote: Gary Benson wrote: + try + { + Class.forName(java.security.Security); + } + catch (Throwable t) + { + } It might be more appropriate to only catch Exception, not Throwable. So I was halfway through thinking about this when I forgot and committed it :( Why Exception as opposed to Throwable? If one of our VMs has a bug (it does happen ;-)) swallowing exceptions makes it much harder to debug (or to even notice it). My reasoning was that the code was added to possibly make more things work than do already, and that anything that might make less things work was to be avoided. The alternative to Throwable is to catch ClassNotFoundException, which is the only subclass of Exception that Class.forName throws. Simply catching ClassNotFoundException would be best. Sorry for not noticing that before. Regards, Jeroen ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
[Bug classpath/22943] regex: quantifier (?*+{}) without preceding token
--- Comment #2 from kaz at maczuka dot gcd dot org 2006-01-16 22:19 --- The bug reported in the original article is the same as the Bug #22884, and it has been fixed. The bug of comment #1 is another one. I will open another case. *** This bug has been marked as a duplicate of 22884 *** -- kaz at maczuka dot gcd dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22943 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[Bug classpath/22884] java.util.regex.Pattern doesn't understand (?s)
--- Comment #3 from kaz at maczuka dot gcd dot org 2006-01-16 22:04 --- Fixed. -- kaz at maczuka dot gcd dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22884 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[Bug classpath/22943] regex: quantifier (?*+{}) without preceding token
--- Comment #3 from kaz at maczuka dot gcd dot org 2006-01-16 22:34 --- As for the bug of comment #1, see Bug #25812. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22943 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[Bug classpath/22884] java.util.regex.Pattern doesn't understand (?s)
--- Comment #4 from kaz at maczuka dot gcd dot org 2006-01-16 22:19 --- *** Bug 22943 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22884 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[Bug classpath/25812] gnu.regexp: support for (?=X), (?!X), (?X) wanted
-- kaz at maczuka dot gcd dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-01-16 23:24:28 date|| Summary|gnu.regex: support for |gnu.regexp: support for |(?=X), (?!X), (?X) wanted|(?=X), (?!X), (?X) wanted http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25812 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[Bug classpath/25803] HttpUrlConnection reports gzip content on uncompressed data
--- Comment #2 from cvs-commit at developer dot classpath dot org 2006-01-16 21:11 --- Subject: Bug 25803 CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Anthony Green [EMAIL PROTECTED] 06/01/16 20:43:20 Modified files: . : ChangeLog gnu/java/net/protocol/http: Request.java Log message: 2006-01-16 Anthony Green [EMAIL PROTECTED] PR classpath/25803 * gnu/java/net/protocol/http/Request.java (createResponseBodyStream): Remove Content-Encoding for compressed streams. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6091tr2=1.6092r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/java/net/protocol/http/Request.java.diff?tr1=1.6tr2=1.7r1=textr2=text -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25803 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[Bug swing/25770] JTable cell editor does not start after double clicking on the cell.
--- Comment #2 from cvs-commit at developer dot classpath dot org 2006-01-16 17:53 --- Subject: Bug 25770 CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/01/16 12:36:50 Modified files: . : ChangeLog javax/swing: DefaultCellEditor.java JTable.java javax/swing/plaf/basic: BasicTableUI.java Log message: 2006-01-16 Audrius Meskauskas [EMAIL PROTECTED] PR 25770 * javax/swing/DefaultCellEditor.java (delegate): Assign new instance immediately. (DefaultCellEditor(JTextField textfield)): Require 2 clicks. (getTableCellEditorComponent): Rewritten. (prepareAsJTextField):New method (add listener only once). * javax/swing/JTable.java (editingCanceled): Rewritten. (editingStopped ): Rewritten. (rowAtPoint): Mind row margin. (getCellRect): Mind row margin. (getDefaultEditor): Removing JTextComponent border. (editCellAt): Rewritten. * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler): Activate editing mode by the mouse clicks. (getMaximumSize): Mind row margin. (getPreferredSize): Mind row margin. (TableAction): Added 'stop editing' command. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6075tr2=1.6076r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/DefaultCellEditor.java.diff?tr1=1.16tr2=1.17r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/JTable.java.diff?tr1=1.64tr2=1.65r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTableUI.java.diff?tr1=1.38tr2=1.39r1=textr2=text -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25770 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[commit-cp] classpath ./ChangeLog javax/swing/text/SimpleAt...
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/01/16 09:24:19 Modified files: . : ChangeLog javax/swing/text: SimpleAttributeSet.java Log message: 2006-01-16 David Gilbert [EMAIL PROTECTED] * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6068tr2=1.6069r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/SimpleAttributeSet.java.diff?tr1=1.12tr2=1.13r1=textr2=text
[commit-cp] classpath ./ChangeLog javax/swing/text/MutableA...
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/01/16 10:13:09 Modified files: . : ChangeLog javax/swing/text: MutableAttributeSet.java Log message: 2006-01-16 David Gilbert [EMAIL PROTECTED] * javax/swing/text/MutableAttributeSet.java: Updated API docs all over. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6071tr2=1.6072r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/MutableAttributeSet.java.diff?tr1=1.5tr2=1.6r1=textr2=text
[commit-cp] classpath ./ChangeLog native/target/SunOS/targe...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 12:56:57 Modified files: . : ChangeLog Added files: native/target/SunOS: target_native.h target_native_file.h target_native_io.h target_native_math.h target_native_memory.h target_native_misc.h target_native_network.h Log message: 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/SunOS/target_native.h, * native/target/SunOS/target_native_file.h, * native/target/SunOS/target_native_io.h, * native/target/SunOS/target_native_math.h, * native/target/SunOS/target_native_memory.h, * native/target/SunOS/target_native_misc.h, * native/target/SunOS/target_native_network.h: New files. Implement the target native layer for the SunOS platform. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6077tr2=1.6078r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/SunOS/target_native.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/SunOS/target_native_file.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/SunOS/target_native_io.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/SunOS/target_native_math.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/SunOS/target_native_memory.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/SunOS/target_native_misc.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/SunOS/target_native_network.h?rev=1.1
[commit-cp] classpath/native/target/embOS
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 12:59:52 classpath/native/target/embOS Update of /cvsroot/classpath/classpath/native/target/embOS In directory savannah:/tmp/cvs-serv28582/native/target/embOS Log Message: Directory /cvsroot/classpath/classpath/native/target/embOS added to the repository
[commit-cp] classpath ./ChangeLog javax/print/attribute/sta...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Wolfgang Baer [EMAIL PROTECTED] 06/01/16 09:09:10 Modified files: . : ChangeLog javax/print/attribute/standard: MediaSize.java Log message: 2006-01-16 Wolfgang Baer [EMAIL PROTECTED] * javax/print/attribute/standard/MediaSize.java: (static_initializer): Added comment. (MediaSize): Added javadoc to mention cache registration. (MediaSize): Likewise. (MediaSize): Likewise. (MediaSize): Likewise. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6067tr2=1.6068r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/print/attribute/standard/MediaSize.java.diff?tr1=1.5tr2=1.6r1=textr2=text
[commit-cp] classpath ./ChangeLog native/jni/java-io/java_i...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 10:15:48 Modified files: . : ChangeLog native/jni/java-io: java_io_VMFile.c native/jni/java-nio: gnu_java_nio_channels_FileChannelImpl.c native/target/Linux: Makefile.am native/target/generic: target_generic_file.h Added files: native/target/Linux: target_native_math.h native/target/generic: target_generic_math.h Removed files: native/target/Linux: target_native_math_float.h target_native_math_int.h native/target/generic: target_generic_math_float.h target_generic_math_int.h Log message: 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/generic/target_generic_math_float.h: Removed. This file has been replaced by target_generic_math.h. * native/target/generic/target_generic_math_int.h: Removed. This file has been replaced by target_generic_math.h. * native/target/generic/target_generic_math.h: New file. Replaces the old _int and _float versions. * native/target/Linux/target_native_math_float.h: Removed. This file has been replaced by target_native_math.h. * native/target/Linux/target_native_math_int.h: Removed. This file has been replaced by target_native_math.h. * native/target/Linux/target_native_math.h: New file. Replaces the old _int and _float versions. * native/target/Linux/Makefile.am: Adjusted for the changed filenames. * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h instead of target_native_math_int.h. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: Likewise. * native/target/generic/target_generic_file.h: Likewise. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6072tr2=1.6073r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/jni/java-io/java_io_VMFile.c.diff?tr1=1.6tr2=1.7r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c.diff?tr1=1.28tr2=1.29r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/Linux/Makefile.am.diff?tr1=1.1tr2=1.2r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/Linux/target_native_math.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_file.h.diff?tr1=1.18tr2=1.19r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_math.h?rev=1.1
[commit-cp] classpath ./ChangeLog javax/swing/text/SimpleAt...
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/01/16 10:00:26 Modified files: . : ChangeLog javax/swing/text: SimpleAttributeSet.java Log message: 2006-01-16 David Gilbert [EMAIL PROTECTED] * javax/swing/text/SimpleAttributeSet.java (SimpleAttributeSet()): Initialise storage directly, (SimpleAttributeSet(AttributeSet)): Removed null check and documented NullPointerException, (containsAttribute): If key is found locally, don't check resolving parent if the value doesn't match, (getAttribute): Removed redundant instanceof and cast. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6070tr2=1.6071r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/SimpleAttributeSet.java.diff?tr1=1.13tr2=1.14r1=textr2=text
[commit-cp] classpath ./ChangeLog native/target/embOS/targe...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 13:06:48 Modified files: . : ChangeLog Added files: native/target/embOS: target_native.h target_native_file.h target_native_io.c target_native_io.h target_native_math.h target_native_memory.h target_native_misc.h target_native_network.h Log message: 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/embOS/target_native.h, * native/target/embOS/target_native_file.h, * native/target/embOS/target_native_io.h, * native/target/embOS/target_native_math.h, * native/target/embOS/target_native_memory.h, * native/target/embOS/target_native_misc.h, * native/target/embOS/target_native_network.h: New files. Implement the target native layer for the embOS platform. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6078tr2=1.6079r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/embOS/target_native.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/embOS/target_native_file.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/embOS/target_native_io.c?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/embOS/target_native_io.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/embOS/target_native_math.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/embOS/target_native_memory.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/embOS/target_native_misc.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/embOS/target_native_network.h?rev=1.1
[commit-cp] classpath/native/target/SunOS
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 12:49:26 classpath/native/target/SunOS Update of /cvsroot/classpath/classpath/native/target/SunOS In directory savannah:/tmp/cvs-serv28149/native/target/SunOS Log Message: Directory /cvsroot/classpath/classpath/native/target/SunOS added to the repository
[commit-cp] classpath ./ChangeLog native/target/RTEMS/targe...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 13:14:12 Modified files: . : ChangeLog Added files: native/target/RTEMS: target_native.h target_native_file.h target_native_io.h target_native_math.h target_native_memory.h target_native_misc.h target_native_network.h Log message: 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/RTEMS/target_native.h, * native/target/RTEMS/target_native_file.h, * native/target/RTEMS/target_native_io.h, * native/target/RTEMS/target_native_math.h, * native/target/RTEMS/target_native_memory.h, * native/target/RTEMS/target_native_misc.h, * native/target/RTEMS/target_native_network.h: New files. Implement the target native layer for the RTEMS platform. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6079tr2=1.6080r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/RTEMS/target_native.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/RTEMS/target_native_file.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/RTEMS/target_native_io.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/RTEMS/target_native_math.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/RTEMS/target_native_memory.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/RTEMS/target_native_misc.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/RTEMS/target_native_network.h?rev=1.1
[commit-cp] classpath/native/target/posix
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 12:08:44 classpath/native/target/posix Update of /cvsroot/classpath/classpath/native/target/posix In directory savannah:/tmp/cvs-serv21440/target/posix Log Message: Directory /cvsroot/classpath/classpath/native/target/posix added to the repository
[commit-cp] classpath ./ChangeLog java/net/SocketPermission...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Gary Benson [EMAIL PROTECTED] 06/01/16 10:28:35 Modified files: . : ChangeLog java/net : SocketPermission.java Log message: 2006-01-16 Gary Benson [EMAIL PROTECTED] * java/net/SocketPermission.java (implies): Fix action checks. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6073tr2=1.6074r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/net/SocketPermission.java.diff?tr1=1.16tr2=1.17r1=textr2=text
[commit-cp] classpath ./ChangeLog doc/vmintegration.texinfo
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Nicolas Geoffray [EMAIL PROTECTED]06/01/16 13:18:31 Modified files: . : ChangeLog doc: vmintegration.texinfo Log message: 2006-01-16 Nicolas Geoffray [EMAIL PROTECTED] * doc/vmintegration.texinfo: Updated subsection of the java.lang.InstrumentationImpl documentation. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6080tr2=1.6081r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/doc/vmintegration.texinfo.diff?tr1=1.20tr2=1.21r1=textr2=text
[commit-cp] classpath ./ChangeLog javax/swing/DefaultCellEd...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/01/16 12:36:50 Modified files: . : ChangeLog javax/swing: DefaultCellEditor.java JTable.java javax/swing/plaf/basic: BasicTableUI.java Log message: 2006-01-16 Audrius Meskauskas [EMAIL PROTECTED] PR 25770 * javax/swing/DefaultCellEditor.java (delegate): Assign new instance immediately. (DefaultCellEditor(JTextField textfield)): Require 2 clicks. (getTableCellEditorComponent): Rewritten. (prepareAsJTextField):New method (add listener only once). * javax/swing/JTable.java (editingCanceled): Rewritten. (editingStopped ): Rewritten. (rowAtPoint): Mind row margin. (getCellRect): Mind row margin. (getDefaultEditor): Removing JTextComponent border. (editCellAt): Rewritten. * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler): Activate editing mode by the mouse clicks. (getMaximumSize): Mind row margin. (getPreferredSize): Mind row margin. (TableAction): Added 'stop editing' command. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6075tr2=1.6076r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/DefaultCellEditor.java.diff?tr1=1.16tr2=1.17r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/JTable.java.diff?tr1=1.64tr2=1.65r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTableUI.java.diff?tr1=1.38tr2=1.39r1=textr2=text
[commit-cp] classpath ./ChangeLog native/target/Makefile.am...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 13:47:13 Modified files: . : ChangeLog native/target : Makefile.am native/target/Linux: Makefile.am native/target/generic: Makefile.am native/target/posix: Makefile.am Added files: native/target/MinGW: Makefile.am native/target/RTEMS: Makefile.am native/target/SunOS: Makefile.am native/target/embOS: Makefile.am Log message: 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/Makefile.am: Include new targets. * native/target/Linux/Makefile.am: Include new memory layer. * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist. * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist. * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist. * native/target/embOS/Makefile.am: New file. Includes embOS in dist. * native/target/generic/Makefile.am: Include new memory and math layer. * native/target/posix/Makefile.am: New file. Includes posix in dist. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6083tr2=1.6084r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/Makefile.am.diff?tr1=1.1tr2=1.2r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/Linux/Makefile.am.diff?tr1=1.2tr2=1.3r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/MinGW/Makefile.am?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/RTEMS/Makefile.am?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/SunOS/Makefile.am?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/embOS/Makefile.am?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/Makefile.am.diff?tr1=1.1tr2=1.2r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/posix/Makefile.am.diff?tr1=1.1tr2=1.2r1=textr2=text
[commit-cp] classpath ./ChangeLog native/jni/java-io/java_i...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 12:28:00 Modified files: . : ChangeLog native/jni/java-io: java_io_VMFile.c native/target/Linux: target_native_io.h native/target/generic: target_generic.h target_generic_file.h target_generic_io.h target_generic_misc.h target_generic_network.h Added files: native/target/Linux: target_native_memory.h native/target/generic: target_generic.c target_generic_io.c target_generic_memory.h target_generic_misc.c target_generic_network.c native/target/posix: Makefile.am target_posix.c target_posix.h target_posix_file.c target_posix_file.h target_posix_io.c target_posix_io.h target_posix_math.c target_posix_math.h target_posix_memory.c target_posix_memory.h target_posix_misc.c target_posix_misc.h target_posix_network.c target_posix_network.h Log message: 2006-01-16 Roman Kennke [EMAIL PROTECTED] * jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list): Use new 4 argument version of TARGET_NATIVE_FILE_READ_DIR macro. * target/Linux/target_native_io.h: Fixed comment at #endif. * target/Linux/target_native_memory.h: New file. Contains portability macros for memory operations. * target/generic/target_generic.c: New file. Contains some functions for portability. * target/generic/target_generic.h: Use posix target and shorter macro names if CP_NEW is set. * target/generic/target_generic_file.h: Use posix target and shorter macro names if CP_NEW is set. (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength. * target/generic/target_generic_io.c: New file. Contains some functions for IO portability. * target/generic/target_generic_io.h: Use posix target and shorter macro names if CP_NEW is set. * target/generic/target_generic_misc.c: New file. Contains some functions for miscallaneaous portability issues. * target/generic/target_generic_misc.h: Use posix target and shorter macro names if CP_NEW is set. * target/generic/target_generic_network.c: New file. Contains some functions for networking portability. * target/generic/target_generic_network.h: Use posix target and shorter macro names if CP_NEW is set. * target/posix/Makefile.am, * target/posix/target_posix.c, * target/posix/target_posix.h, * target/posix/target_posix_file.c, * target/posix/target_posix_file.h, * target/posix/target_posix_io.c, * target/posix/target_posix_io.h, * target/posix/target_posix_math.c, * target/posix/target_posix_math.h, * target/posix/target_posix_memory.c, * target/posix/target_posix_memory.h, * target/posix/target_posix_misc.c, * target/posix/target_posix_misc.h, * target/posix/target_posix_network.c, * target/posix/target_posix_network.h: New files. This implements the target native layer macros for Posix-like systems. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6074tr2=1.6075r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/jni/java-io/java_io_VMFile.c.diff?tr1=1.7tr2=1.8r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/Linux/target_native_io.h.diff?tr1=1.5tr2=1.6r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/Linux/target_native_memory.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic.c?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic.h.diff?tr1=1.7tr2=1.8r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_file.h.diff?tr1=1.19tr2=1.20r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_io.c?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_io.h.diff?tr1=1.6tr2=1.7r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_memory.h?rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_misc.c?rev=1.1
[commit-cp] classpath ./ChangeLog native/target/generic/tar...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 13:21:05 Modified files: . : ChangeLog native/target/generic: target_generic_network.c target_generic_network.h Log message: 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/generic/target_generic_network.c: Fixed typo. * native/target/generic/target_generic_network.h: Fixed typo. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6081tr2=1.6082r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_network.c.diff?tr1=1.1tr2=1.2r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_network.h.diff?tr1=1.16tr2=1.17r1=textr2=text
[commit-cp] classpath ./ChangeLog native/target/Makefile.am...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 15:50:35 Modified files: . : ChangeLog native/target : Makefile.am native/target/posix: Makefile.am Log message: 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS to include the new targets. * native/target/posix/Makefile.am: Fixed filenames. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6084tr2=1.6085r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/Makefile.am.diff?tr1=1.2tr2=1.3r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/posix/Makefile.am.diff?tr1=1.2tr2=1.3r1=textr2=text
[commit-cp] classpath ./ChangeLog javax/swing/text/StyleCon...
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/01/16 15:59:47 Modified files: . : ChangeLog javax/swing/text: StyleConstants.java Log message: 2006-01-16 David Gilbert [EMAIL PROTECTED] * javax/swing/text/StyleConstants.java: Updated API docs all over. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6087tr2=1.6088r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/StyleConstants.java.diff?tr1=1.8tr2=1.9r1=textr2=text
[commit-cp] classpath native/target/generic/target_generic_...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 15:56:12 Modified files: native/target/generic: target_generic_file.h target_generic_network.c target_generic_network.h . : ChangeLog Log message: 2006-01-16 Roman Kennke [EMAIL PROTECTED] * native/target/generic/target_generic_file.h: Added missing include. * native/target/generic/target_generic_network.c: Fixed several typos and includes. * native/target/generic/target_generic_network.h: Likewise. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_file.h.diff?tr1=1.20tr2=1.21r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_network.c.diff?tr1=1.2tr2=1.3r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/target/generic/target_generic_network.h.diff?tr1=1.17tr2=1.18r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6085tr2=1.6086r1=textr2=text
[commit-cp] classpath ChangeLog
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 16:16:17 Modified files: . : ChangeLog Log message: Fixed ChangeLog entry for last commit. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6089tr2=1.6090r1=textr2=text
[commit-cp] classpath configure.ac ChangeLog
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/16 15:58:15 Modified files: . : configure.ac ChangeLog Log message: 2006-01-16 Roman Kennke [EMAIL PROTECTED] * configure.ac: Include new target native directories in build. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/configure.ac.diff?tr1=1.125tr2=1.126r1=textr2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6086tr2=1.6087r1=textr2=text