aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2004-01-09JLayeredPane.java: Rewrite to accomodate djee@redhat.com's recent inverse ↵Graydon Hoare2-67/+52
ordering of Container... 2004-01-08 Graydon Hoare <graydon@redhat.com> * javax/swing/JLayeredPane.java: Rewrite to accomodate djee@redhat.com's recent inverse ordering of Container elements. From-SVN: r75608
2004-01-09libjava.exp (bytecompile_file): Log compile command.Andrew Haley2-1/+6
2004-01-09 Andrew Haley <aph@redhat.com> * lib/libjava.exp (bytecompile_file): Log compile command. From-SVN: r75593
2004-01-092004-01-09 Michael Koch <konqueror@gmx.de>Michael Koch2-19/+5
* gnu/java/lang/ArrayHelper.java (equalsArray): Removed. From-SVN: r75592
2004-01-09natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve a Utf8Const field ↵Andrew Haley2-0/+6
before looking at its class. 2004-01-09 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve a Utf8Const field before looking at its class. From-SVN: r75591
2004-01-09DocumentName.java, [...]: New files.Michael Koch15-0/+1195
2004-01-09 Michael Koch <konqueror@gmx.de> * javax/print/attribute/standard/DocumentName.java, javax/print/attribute/standard/JobHoldUntil.java, javax/print/attribute/standard/JobMessageFromOperator.java, javax/print/attribute/standard/JobName.java, javax/print/attribute/standard/JobOriginatingUserName.java, javax/print/attribute/standard/OutputDeviceAssigned.java, javax/print/attribute/standard/PrinterInfo.java, javax/print/attribute/standard/PrinterLocation.java, javax/print/attribute/standard/PrinterMakeAndModel.java, javax/print/attribute/standard/PrinterMessageFromOperator.java, javax/print/attribute/standard/PrinterName.java, javax/print/attribute/standard/RequestingUserName.java: New files. * Makefile.am (javax_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r75573
2004-01-09AbstractAction.java, [...]: Reworked imports.Michael Koch26-122/+194
2004-01-09 Michael Koch <konqueror@gmx.de> * javax/swing/AbstractAction.java, javax/swing/AbstractSet.java, javax/swing/Action.java, javax/swing/ActionMap.java, javax/swing/BoundedRangeModel.java, javax/swing/ButtonModel.java, javax/swing/CellEditor.java, javax/swing/CellRendererPane.java, javax/swing/ComboBoxEditor.java, javax/swing/DebugGraphics.java, javax/swing/DefaultCellEditor.java, javax/swing/DefaultCellRenderer.java, javax/swing/DefaultComboBoxModel.java, javax/swing/DefaultDesktopManager.java, javax/swing/DefaultFocusManager.java, javax/swing/DefaultListCellRenderer.java, javax/swing/Icon.java, javax/swing/JButton.java, javax/swing/JCheckBoxMenuItem.java, javax/swing/JDesktopPane.java, javax/swing/JEditorPane.java, javax/swing/JMenu.java, javax/swing/JPanel.java, javax/swing/JPasswordField.java, javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java: Reworked imports. From-SVN: r75572
2004-01-092004-01-09 Michael Koch <konqueror@gmx.de>Michael Koch7-13/+32
* java/awt/geom/PathIterator.java (WIND_EVEN_ODD): Removed redundant modifiers. (WIND_NON_ZERO): Likewise. (SEG_MOVETO): Likewise. (SEG_LINETO): Likewise. (SEG_QUADTO): Likewise. (SEG_CUBICTO): Likewise. (SEG_CLOSE): Likewise. * java/awt/image/SinglePixelPackedSampleModel.java: Removed redundant semicolon. * java/io/ObjectInputStream.java (inputGetObjectStreamClasses): Removed unused variable "ret_val". * java/util/logging/Filter.java (isLoggable): Removed redundant modifier. * java/util/logging/LogManager.java: Removed redundant semicolon. * java/util/logging/XMLFormatter.java (format): Removed unused variable "key". From-SVN: r75570
2004-01-08GtkFileDialogPeer.java (nativeSetFile): New name for the former setFile ↵Fernando Nasser4-13/+386
native method. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile): New name for the former setFile native method. (setFile): New method. (setDirectory): Implemented. (connectSignals): New native method. (setFilenameFilter): Improve comment. (getGraphics): Comment. (gtkHideFileDialog): New method. (gtkDisposeFileDialog): New method. (gtkSetFilename): New method. * java/awt/Dialog.java (show): Block on modal dialogs, but only for FileDialog for now. (hide): New method. (dispose): New method. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace deprecated creation functions. Make dialog modal. Add it to the window group. (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New function. (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename): Rename to... (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New name. (window_closed): New function. (ok_clicked): New function. (cancel_clicked): New function. From-SVN: r75557
2004-01-08JLayeredPane.java: Revert changes to standard boilerplate, reworked imports.Michael Koch2-40/+44
2004-01-08 Michael Koch <konqueror@gmx.de> * javax/swing/JLayeredPane.java: Revert changes to standard boilerplate, reworked imports. From-SVN: r75543
2004-01-08re PR libgcj/13439 (gij VerifyError; works with JDK 1.4)Tom Tromey2-26/+121
PR libgcj/13439: * verify.cc (state::merge): Copy changed locals out of subroutine in NO_STACK case. (state::FLAG_CHANGED): New const. (state::FLAG_UNUSED): Likewise. (state::local_changed): Removed. Updated all users. (state::flags): New field. (state::merge): Added jsr_semantics argument, more logic. (push_jump_merge): Added jsr_semantics argument. (handle_jsr_insn): Set jsr_semantics on push_jump_merge when merging through the jsr instruction. From-SVN: r75533
2004-01-08MakeDefaultMimeTypes.java: Use \n, not backslash-newline.Tom Tromey2-19/+8
* scripts/MakeDefaultMimeTypes.java: Use \n, not backslash-newline. From-SVN: r75532
2004-01-08Container.java (LightweightDispatcher): Implement.Graydon Hoare2-27/+128
2004-01-07 Graydon Hoare <graydon@redhat.com> * java/awt/Container.java (LightweightDispatcher): Implement. (visitChild): Reuse graphics object. (dispatchEventImpl): Optionally dispatch to lightweight. (addNotifyContainerChildren): Build LightweightDispatcher. From-SVN: r75531
2004-01-072004-01-07 David Jee <djee@redhat.com>David Jee2-2/+13
* java/awt/Container.java (update): Clear only the clipped region, instead of clearing the entire Container. (visitChildren): Visit children in descending order. From-SVN: r75517
2004-01-07re PR libgcj/13011 (gij -jar simple.jar generates: Exception during runtime ↵Andreas Tobler2-1/+6
initialization) 2004-01-07 Andreas Tobler <a.tobler@schweiz.ch> PR libgcj/13011: * libjava.jar/simple.jar: Add a working MANIFEST.MF. From-SVN: r75513
2004-01-07Array.java: Merged documentation with classpath.Michael Koch2-34/+418
2004-01-07 Michael Koch <konqueror@gmx.de> * java/lang/reflect/Array.java: Merged documentation with classpath. From-SVN: r75512
2004-01-072004-01-07 Michael Koch <konqueror@gmx.de>Michael Koch4-31/+57
* java/text/CollationElementIterator.java (textIndex): Renamed from index. * java/text/CollationKey.java (collator): New member. (CollationKey): New argument for parent collator. (equals): Check for same collator, source string and key array. * java/text/RuleBasedCollator.java: Reformated. (RuleBasedCollator): Don't re-initialize frenchAccents with default value. (getCollationElementIterator): Rewritten. (getCollationKey): Added new argument to CollationKey constructor. From-SVN: r75510
2004-01-072004-01-07 Michael Koch <konqueror@gmx.de>Michael Koch5-12/+29
* gnu/java/nio/DatagramChannelImpl.java (blocking): Removed. (DatagramChannelImpl): Call configureBlocking(). (implConfigureBlocking): Dont initialize blocking. * gnu/java/nio/ServerSocketChannelImpl.java (blocking): Removed. (ServerSocketChannelImpl): Call configureBlocking(). (implConfigureBlocking): Dont initialize blocking. * gnu/java/nio/SocketChannelImpl.java (blocking): Removed. (SocketChannelImpl): Call configureBlocking(). (implConfigureBlocking): Dont initialize blocking. (connect): Use isBlocking(). * java/nio/channels/spi/AbstractSelectableChannel.java (configureBlocking): Use blockingLock() instead of LOCK. Set blocking after successfully called implConfigureBlocking(). (register): Use blockingLock() instead of LOCK. From-SVN: r75507
2004-01-07ServerSocket.java (isBound): Fixed documentation.Michael Koch2-1/+5
2004-01-07 Michael Koch <konqueror@gmx.de> * java/net/ServerSocket.java (isBound): Fixed documentation. From-SVN: r75506
2004-01-07DefaultBoundedRangeModel.java: Documented API.Sascha Brawer4-418/+682
2004-01-07 Sascha Brawer <brawer@dandelis.ch> * javax/swing/DefaultBoundedRangeModel.java: Documented API. (changeEvent): Create event object on demand. (DefaultBoundedRangeModel, toString, setValue, setExtent, setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties, fireStateChanged): Re-written. * javax/swing/event/EventListenerList.java: Reformatted, document typical usage. (toString): Implemented. (getListeners): Re-written. (remove): Re-written. (add): Re-written. (NO_LISTENERS): New singleton field. (listenerList): Declare as transient; document. (serialVersionUID): Document. (getListenerCount(Class)): More efficient implementation, also accepts null argument. Improve Javadoc. (getListenerCount()): Remove unnecessary cast; docfix. * javax/swing/undo/UndoableEditSupport.java: Re-format, document. (UndoableEditSupport): Set realSource field. Improve documentation. (_postEdit): Iterate over cloned listener vector. (toString): Don't emit realSource. (beginUpdate, endUpdate): Support nested updates. (postEdit): Use compound edit if present. From-SVN: r75505
2004-01-07Container.java (swapComponents): Add forgotten function, required for ↵Graydon Hoare2-0/+24
JLayeredPane change. 2004-01-06 Graydon Hoare <graydon@redhat.com> * java/awt/Container.java (swapComponents): Add forgotten function, required for JLayeredPane change. From-SVN: r75491
2004-01-06CollationElementIterator.java: Reformated.Michael Koch3-38/+62
2004-01-06 Michael Koch <konqueror@gmx.de> * java/text/CollationElementIterator.java: Reformated. (CollationElementIterator): Changed order of arguments. * java/text/RuleBasedCollator.java (RuleBasedCollator): Merged class documentation. (CollationElement): Added documentation. (compare): Reformated, renamed arguments. (equals): Likewise. (getCollationElementIterator): Likewise. (getCollationKey): Likewise. From-SVN: r75484
2004-01-06JLayeredPane.java: Fix semantics, add javadocs.Graydon Hoare2-303/+512
2004-01-06 Graydon Hoare <graydon@redhat.com> * javax/swing/JLayeredPane.java: Fix semantics, add javadocs. From-SVN: r75478
2004-01-06missing changelog entryGraydon Hoare1-0/+23
From-SVN: r75477
2004-01-06Connection.java: Reformated copyright.Michael Koch2-148/+48
2004-01-06 Michael Koch <konqueror@gmx.de> * gnu/java/net/protocol/file/Connection.java: Reformated copyright. (hdrHash): Removed. (hdrVec): Removed. (gotHeaders): Removed. (getHeaderField): Removed. (getHeaderField): Removed. (getHeaderFieldKey): Removed. (getKey): Removed. (getField): Removed. (getHeaders): Removed. From-SVN: r75473
2004-01-06DateTimeAtCompleted.java, [...]: New files.Michael Koch11-82/+905
2004-01-06 Michael Koch <konqueror@gmx.de> * javax/print/attribute/standard/DateTimeAtCompleted.java, javax/print/attribute/standard/DateTimeAtCreation.java, javax/print/attribute/standard/DateTimeAtProcessing.java, javax/print/attribute/standard/JobImpressionsCompleted.java, javax/print/attribute/standard/JobKOctets.java, javax/print/attribute/standard/JobKOctetsProcessed.java, javax/print/attribute/standard/JobMediaSheetsCompleted.java, javax/print/attribute/standard/JobPrioritySupported.java: New files. * Makefile.am (javax_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r75471
2004-01-062004-01-06 Michael Koch <konqueror@gmx.de>Michael Koch2-11/+26
* java/net/URLConnection.java (contentHandler): Removed. (locale): Removed. (getHeaderFields): Return an empty map instead of null. (getContent): Connect if needed, renamed "cType" to "type" and "contentHandler" to "ch" and made it a local variable. (getPermission): Don't use package in class name. (setDefaultRequestProperty): Fixed typo in documentation. (initializeDateFormats): Made locale a local variable. From-SVN: r75466
2004-01-062004-01-06 Michael Koch <konqueror@gmx.de>Michael Koch3-11/+24
* java/lang/Package.java (getPackage): Get the current class loader directly. * java/lang/SecurityManager.java (currentLoadedClass): Dont iterate over class contexts. (classLoaderDepth): Don't check class loaders if everything is allowed. From-SVN: r75465
2004-01-052004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons6-17/+108
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler): Set all insets to 0 when a Configure event is received for a GtkPlug. * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle. Make handle long, not int. (EmbeddedWindow()): New constructor. (EmbeddedWindow(int)): Rename window_id to handle. Make handle long, not int. (setHandle): New method. (getHandle): Return long, not int. * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method declaration. * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: (create(long)): Take long parameter, not int. Cast gtk_plug_new argument to GdkNativeWindow. (construct): New method. (embed): New method. From-SVN: r75447
2004-01-052004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons4-36/+142
* gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c (create(int, int)): New method. (create): Call new create method. (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove methods. (childResized): Remove native implementation. Implement in Java. (getHScrollbarHeight, getVScrollbarWidth): Call gtk_widget_size_request to get scrollbar dimensions. * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only call getVScrollbarWidth and getHScrollbarHeight when vertical and horizontal scrollbars respectively are needed. (doLayout): Enlarge child if it is smaller than the viewport. From-SVN: r75446
2004-01-05Dialog.java (constructor): Accept null title as per spec.Fernando Nasser3-4/+19
* java/awt/Dialog.java (constructor): Accept null title as per spec. * java/awt/FileDialog.java (constructor): Throw exception on invalid argument as per spec. From-SVN: r75444
2004-01-05Choice.java (add): Leave posting of ItemEvents to peer.Fernando Nasser4-74/+156
2004-01-05 Fernando Nasser <fnasser@redhat.com> * java/awt/Choice.java (add): Leave posting of ItemEvents to peer. (insert): Ditto. (remove): Ditto. Also, Check for valid argument. (removeAll): Use peer interface method. * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for native add function. (nativeRemove): New name for native remove function. (getHistory): New native function. (constructor): Generate ItemEvent. (add): Ditto, if selection is changed. (remove): Ditto, ditto. (removeAll): Add implementation. (handleEvent): Remove. Dead code. (choicePostItemEvent): Add comment. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to... (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add comments and fix condition to change selection. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to... (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add remove all capability. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function. (item_activate): Add cast to remove compiler warning. From-SVN: r75443
2004-01-052004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons3-26/+82
* gnu/java/awt/peer/gtk/GtkComponentPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (getPreferredSize): Call preferredSize. (preferredSize): Call gtkWidgetGetPreferredDimensions. (getMinimumSize): Call minimumSize. (minimumSize): Call gtkWidgetGetPreferredDimensions. (gtkWidgetGetDimensions): Return the peer widget's current size request. (gtkWidgetGetPreferredDimensions): Return the peer widget's natural size request. From-SVN: r75442
2004-01-05Thanks to Brian Gough <bjg@network-theory.com>Sascha Brawer3-16/+300
2004-01-05 Sascha Brawer <brawer@dandelis.ch> Thanks to Brian Gough <bjg@network-theory.com> * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented. * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written. From-SVN: r75437
2004-01-04aclocal.m4: Rebuilt using "aclocal -I .".Matthias Klose3-330/+1184
2004-01-04 Matthias Klose <doko@debian.org> * aclocal.m4: Rebuilt using "aclocal -I .". * configure: Rebuilt. From-SVN: r75383
2004-01-03Date.java (parse): Fix a number of problems.Per Bothner2-87/+79
* java/util/Date.java (parse): Fix a number of problems. (skipParens): Remove no-longer-needed method. From-SVN: r75381
2003-12-312003-12-31 Michael Koch <konqueror@gmx.de>Michael Koch2-2/+10
* gnu/java/net/protocol/http/Connection.java (sendRequest): Dont encode output in default character encoding, add correct version number to HTTP user agent string. From-SVN: r75266
2003-12-312003-12-31 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2-138/+260
* java/io/ObjectOutputStream.java (putFields): Reindented. Fixed behaviour: currentPutField should be null before calling this method. (writeFields): Likewise. (markFieldsWritten): Fixed the exception message. (callWriteMethod): Ensure currentPutField is null. (getBooleanField): Translate IllegalArgumentException into InvalidClassException. (getByteField): Likewise. (getCharField): Likewise. (getDoubleField): Likewise. (getFloatField): Likewise. (getIntField): Likewise. (getLongField): Likewise. (getShortField): Likewise. (getObjectField): Check the type code before returning the object. (getField): Translate NoSuchFieldException into InvalidClassException directly. From-SVN: r75265
2003-12-312003-12-31 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2-0/+9
* java/net/URL.java (URL): Change context path to "/" if it is empty. From-SVN: r75264
2003-12-31xfails: Removed tests that pass now...Michael Koch2-4/+11
2003-12-31 Michael Koch <konqueror@gmx.de> * testsuite/libjava.mauve/xfails: Removed tests that pass now: XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16) XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18) XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file) (number 26) XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file) (number 54) From-SVN: r75262
2003-12-31configure.in: Add --enable-gtk-cairo check.Graydon Hoare17-732/+1456
2003-12-16 Graydon Hoare <graydon@redhat.com> * configure.in: Add --enable-gtk-cairo check. * configure: Regenerate. * Makefile.am: Conditionally link against cairo. * Makefile.in: Regenerate. * acinclude.m4: Include PKG_CHECK_MODULES. * aclocal.m4: Regenerate. * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method. (getFontMetrics, getClasspathFontPeer): * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage): * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics): * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Switch behavior depending on GtkToolkit.useGraphics2D(). * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer. * java/awt/Font.java: Switch to peer model. * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff. * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h. From-SVN: r75260
2003-12-30[multiple changes]Michael Koch3-3/+20
2003-12-30 Guilhem Lavaux <guilhem@kaffe.org> * java/util/GregorianCalendar.java (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>. Fixed the computation of DAY_OF_WEEK_IN_MONTH. (computeTime): 12:00 midnight is AM and 12:00 noon is PM. 2003-12-30 Michael Koch <konqueror@gmx.de> * testsuite/libjava.mauve/xfails: Removed the following testcase because it passes now: FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict (number 1) From-SVN: r75244
2003-12-30ObjectInputStream.java, [...]: Reformated, no functional code changes.Michael Koch4-1126/+1151
2003-12-30 Michael Koch <konqueror@gmx.de> * java/io/ObjectInputStream.java, java/io/ObjectOutputStream.java, java/io/ObjectStreamClass.java: Reformated, no functional code changes. From-SVN: r75236
2003-12-302003-12-30 Michael Koch <konqueror@gmx.de>Michael Koch2-4/+55
* gnu/java/net/protocol/http/Connection.java (outputStream): New field. (bufferedOutputStream): New field. (connect): Initialize outputStream and bufferedOutputStream. (sendRequest): Create PrintWriter object from outputStream, support HTTP 1.1, send missing HTTP headers and buffered output data for POST method. (getOutputStream): Set request method to POST if output stream is used, return bufferedOutputStream. (setRequestMethod): Allow HEAD and POST methods. This fixes libgcj PR/6302 and libgcj PR/7752. From-SVN: r75233
2003-12-302003-12-30 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2-56/+74
* java/io/LineNumberReader.java (countLines): Removed. (fill): New private method. (mark): Changed logic to use and matchedNewLine. (reset): Likewise. (read): Likewise. (skipRedundantLF): Likewise. From-SVN: r75232
2003-12-302003-12-30 Michael Koch <konqueror@gmx.de>Michael Koch2-0/+50
* gnu/java/net/protocol/http/Connection.java (requestProperties): New field. (addRequestProperty): New method. (getRequestProperty): New method. (setRequestProperty): New method. (getRequestProperties): New method. From-SVN: r75228
2003-12-282003-12-28 Michael Koch <konqueror@gmx.de>Michael Koch5-89/+257
* gnu/java/net/protocol/http/Connection.java (inputStream): Made it a DataInputStream. (requestProperties): Removed. (hdrHash): Removed. (hdrVec): Removed. (headers): New field to store headers. (connect): Initialize inputStream. (receiveReply): Merged from classpath. The new algorithm is line based instead of character based. (getHeaderField): Use headers. (getHeaderFields): Use headers. (getKey): Removed. (getField): Removed. * gnu/java/net/HeaderFieldHelper.java: New file. * Makefile.am (ordinary_java_source_files): Added gnu/java/net/HeaderFieldHelper.java. * Makefile.in: Regenerated. From-SVN: r75183
2003-12-282003-12-28 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux4-8/+42
* java/io/LineNumberReader.java (mark): Improved error checking. (read): Likewise. (skip): Likewise. Skip is now really eating the specified number of characters. * java/io/CharArrayReader.java (read): It should throw IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see mauve). * java/io/BufferedReader.java (readLine): Make readLine() really block until either EOF is reached or a true error happens. From-SVN: r75180
2003-12-272003-12-27 Michael Koch <konqueror@gmx.de>Michael Koch2-16/+6
* gnu/java/net/protocol/http/Connection.java (getRequestProperty): Removed. (setRequestProperty): Removed. From-SVN: r75175
2003-12-272003-12-27 Michael Koch <konqueror@gmx.de>Michael Koch2-60/+77
* gnu/java/net/protocol/http/Connection.java (connect): Call receiveReply(). (receiveReply): Renamed from getHttpHeaders(). (getOutputStream): Moved check on doOutput before check for connection state. From-SVN: r75172
2003-12-27ResolutionSyntax.java, [...]: Fixed typo (s/then/than/).Michael Koch12-11/+26
2003-12-27 Michael Koch <konqueror@gmx.de> * javax/print/attribute/ResolutionSyntax.java, javax/print/attribute/SetOfIntegerSyntax.java, javax/print/attribute/Size2DSyntax.java, javax/print/attribute/standard/Copies.java, javax/print/attribute/standard/JobImpressions.java, javax/print/attribute/standard/JobMediaSheets.java, javax/print/attribute/standard/NumberOfDocuments.java, javax/print/attribute/standard/NumberOfInterveningJobs.java, javax/print/attribute/standard/PagesPerMinute.java, javax/print/attribute/standard/PagesPerMinuteColor.java, javax/print/attribute/standard/QueuedJobCount.java: Fixed typo (s/then/than/). From-SVN: r75171