aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu
AgeCommit message (Collapse)AuthorFilesLines
2005-07-07* gnu/classpath/jdwp/util/Signature.javaAaron Luchko1-0/+14
(computeFieldSignature): New Method. From-SVN: r101745
2005-07-07* gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:NewAaron Luchko1-0/+321
file. From-SVN: r101730
2005-07-06InputStreamReader.java (refill): Handle no-progress case correctly.Tom Tromey1-1/+3
* java/io/InputStreamReader.java (refill): Handle no-progress case correctly. * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias. From-SVN: r101663
2005-07-05StringReferenceCommandSet.java: New file.Aaron Luchko1-0/+98
* gnu/classpath/jdwp/processor/StringReferenceCommandSet.java: New file. From-SVN: r101628
2005-07-04CommandSet.java: New file.Aaron Luchko3-33/+189
* gnu/classpath/jdwp/processor/CommandSet.java: New file. * gnu/classpath/jdwp/processor/PacketProcessor.java: Use CommandSets to handle JdwpCommandPackets. * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New Constructor. From-SVN: r101601
2005-06-30* gnu/classpath/jdwp/util/JdwpString.java: New file.Aaron Luchko1-0/+95
From-SVN: r101482
2005-06-30JdwpPacket.java (write): New method.Keith Seitz4-50/+40
* gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method. (myWrite): New abstract method. (toBytes): Remove. (myToBytes): Remove. * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New method. * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New method. * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use JdwpPacket.write instead of JdwpPacket.toBytes. From-SVN: r101472
2005-06-30JdwpConnection.java (sendEvent): New method.Keith Seitz1-2/+36
* gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New method. (_bytes): New member. (_doStream): New member. (JdwpConnection): Initialize new members. From-SVN: r101471
2005-06-30Update FSF addressKelley Cook805-1610/+1610
From-SVN: r101453
2005-06-28re PR libgcj/22189 (Table Full in gcj-dbtool if -m option used with smallest ↵Robin Green1-3/+3
possible input) 2005-06-28 Robin Green <greenrd@greenrd.org> PR java/22189 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding error. From-SVN: r101382
2005-06-27Okay, let's see if CVS can actually put these in the right place...Keith Seitz11-0/+697
* gnu/classpath/jdwp/exception/VmDeadException.java: New file. * gnu/classpath/jdwp/exception/NotImplementedException.java: New file. * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New file. * gnu/classpath/jdwp/exception/JdwpException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file. * gnu/classpath/jdwp/exception/InvalidStringException.java: New file * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file. * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New file. * gnu/classpath/jdwp/exception/InvalidCountException.java: New file. * gnu/classpath/jdwp/exception/InvalidClassException.java: New file. From-SVN: r101357
2005-06-15re PR libgcj/21074 (Trivial bug in the method getHeaderFieldKey() in the ↵Goffredo Baroncelli1-1/+5
file java/net/protocol/http/HTTPURLConnection.java) 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it> PR libgcj/21074: * gnu/java/net/protocol/http/HTTPURLConnection.java (getHeaderFieldKey): Check index. From-SVN: r100994
2005-06-15SystemClassLoader.java (init): Clear last_was_sep in loop.Tom Tromey1-0/+1
* gnu/gcj/runtime/SystemClassLoader.java (init): Clear last_was_sep in loop. From-SVN: r100991
2005-06-15JdwpIdFactory.java: New file.Keith Seitz2-0/+303
* gnu/classpath/jdwp/id/JdwpIdFactory.java: New file. * gnu/classpath/jdwp/processor/PacketProcessor.java: New file. From-SVN: r100970
2005-06-14ArrayId.java: New file.Keith Seitz12-0/+866
* gnu/classpath/jdwp/id/ArrayId.java: New file. * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/ClassLoaderId.java: New file. * gnu/classpath/jdwp/id/ClassObjectId.java: New file. * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/JdwpId.java: New file. * gnu/classpath/jdwp/id/ObjectId.java: New file. * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/StringId.java: New file. * gnu/classpath/jdwp/id/ThreadGroupId.java: New file. * gnu/classpath/jdwp/id/ThreadId.java: New file. From-SVN: r100913
2005-06-07* gnu/classpath/jdwp/transport/JdwpConnection.java: New file.Keith Seitz1-0/+265
From-SVN: r100688
2005-06-07* gnu/classpath/jdwp/util/Signature.java: New file.Keith Seitz1-0/+135
From-SVN: r100687
2005-06-06natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug.Anthony Green1-0/+1
2005-06-05 Anthony Green <green@redhat.com> * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug. From-SVN: r100650
2005-06-04Update copyright year.Anthony Green2-2/+2
From-SVN: r100585
2005-06-04URLClassLoader.java: import gnu.gcj.Core, and ↵Anthony Green2-0/+10
gnu.java.net.protocol.core.CoreInputStream. 2005-06-04 Anthony Green <green@redhat.com> * java/net/URLClassLoader.java: import gnu.gcj.Core, and gnu.java.net.protocol.core.CoreInputStream. (CureURLLoader): New class. (CoreResource): New class. (addURLImpl): Add special treatment for the "core" protocol. * gnu/gcj/natCore.cc (find): New method. * gnu/gcj/Core.java (find): New method. From-SVN: r100582
2005-06-03* gnu/classpath/jdwp/transport/TransportFactory.java: New file.Keith Seitz1-0/+115
From-SVN: r100556
2005-06-03ITransport.java: New file.Keith Seitz2-0/+255
* gnu/classpath/jdwp/transport/ITransport.java: New file. * gnu/classpath/jdwp/transport/SocketTransport.java: New file. From-SVN: r100553
2005-06-02* gnu/classpath/jdwp/transport/TransportException.java: New file.Keith Seitz1-0/+75
From-SVN: r100496
2005-06-01re PR libgcj/20435 (regex pattern compiling bug)Ziga Mahkovec3-14/+43
2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si> PR libgcj/20435: * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field. (static): Add possessive matching to JAVA_1_4 syntax. * gnu/regexp/RETokenRepeated.java (possessive): New field. (makePossessive, isPossessive): New methods. (match): Don't back off during possessive matching. * gnu/regexp/RE.java (initalize): Accept possessive quantifier. * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5 to JAVA_1_4. From-SVN: r100466
2005-06-01Fix typo in initial commit.Keith Seitz1-1/+1
From-SVN: r100464
2005-06-01JdwpPacket.java: New file.Keith Seitz3-0/+562
* gnu/classpath/jdwp/transport/JdwpPacket.java: New file. * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file. * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file. From-SVN: r100463
2005-05-30re PR libgcj/21821 (MAXPATHLEN usage in libjava)Bryce McKinlay1-5/+6
2005-05-30 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/21821 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use MAXPATHLEN. Format exception message using a StringBuffer instead. From-SVN: r100364
2005-05-25SAXEventSink.java: Ignore XML entities in start/ end entity callbacks.Chris Burdess1-0/+17
2005-05-25 Chris Burdess <dog@gnu.org> * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/ end entity callbacks. From-SVN: r100163
2005-05-18re PR libgcj/19729 (libgcj DSASignature.java null pointer exception)Thomas Fitzsimmons1-111/+99
2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/19729 * gnu/java/security/provider/DSASignature.java: Import updates from GNU Crypto. From-SVN: r99904
2005-05-16Headers.java (parse): Include final character of line.Tom Tromey1-2/+8
* gnu/java/net/protocol/http/Headers.java (parse): Include final character of line. From-SVN: r99794
2005-05-16re PR libgcj/20504 (java.util.regex implementation doesn't support quoting ↵Ziga Mahkovec1-21/+33
constructs) 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si> PR libgcj/20504 gnu/regexp/RE.java: Add support for quoting constructs. From-SVN: r99789
2005-05-13SystemClassLoader.java (init): Handle empty element in path.Tom Tromey1-3/+30
* gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty element in path. From-SVN: r99676
2005-05-07GtkVolatileImage.java: Add imports.Matthias Klose1-0/+4
2005-05-07 Matthias Klose <doko@debian.org> * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports. From-SVN: r99349
2005-05-06Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.Thomas Fitzsimmons3-13/+159
2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java. * Makefile.in: Regenerate. * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java (createCompatibleVolatileImage(int,int)): Implement. (createCompatibleVolatileImage(int,int,ImageCapabilities)): Likewise. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps): New fields. (createVolatileImage): Implement. (createBuffers): Likewise. (getBackBuffer): Likewise. (flip): Likewise. (destroyBuffers): Likewise. * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file. * java/awt/Canvas.java (CanvasBltBufferStrategy): New class. (CanvasFlipBufferStrategy): Likewise. (createBufferStrategy(int)): New method. (createBufferStrategy(int,BufferCapabilities)): Likewise. * java/awt/Component.java (BltBufferStrategy): Implement and document class. (FlipBufferStrategy): Likewise. * java/awt/Window.java (WindowBltBufferStrategy): New class. (WindowFlipBufferStrategy): Likewise. (createBufferStrategy(int)): New method. (createBufferStrategy(int,BufferCapabilities)): Likewise. (getBufferStrategy): Likewise. * java/awt/BufferCapabilities.java (BufferCapabilities): Rename front to frontCaps and back to backCaps. From-SVN: r99336
2005-05-03re PR libgcj/21372 (FileChannel.tryLock() return value incorrect)Andrew Overholt1-2/+4
2005-05-03 Andrew Overholt <overholt@redhat.com> PR libgcj/21372: * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock could not be acquired. * java/nio/channels/FileLock.java (toString): Re-implement to be in line with other implementations. From-SVN: r99188
2005-04-292005-04-29 Dalibor Topic <robilad@kaffe.org>Dalibor Topic1-1/+19
* java/nio/channels/FileChannelImpl.java (FileChannelImpl(String, int)): Removed. (FileChannelImpl(File, int)): Added. Check if opened file is a directory. * java/io/FileInputStream.java(FileInputStream): Fixed javadocs. Call FileChannelImpl(File, int). * java/io/FileOutputStream.java (FileInputStream): Call FileChannelImpl(File, int). * java/io/RandomAccessFile.java (RandomAccessFile): Call FileChannelImpl(File, int). Switched constructors around. From-SVN: r99011
2005-04-292005-04-29 Michael Koch <konqueror@gmx.de>Michael Koch1-22/+3
* gnu/java/net/protocol/http/HTTPConnection.java: (userAgent): Initialize from system properties. (initUserAgent): Removed. From-SVN: r98977
2005-04-28[multiple changes]Michael Koch1-20/+16
2005-04-28 Jeroen Frijters <jeroen@frijters.net> * gnu/java/net/protocol/file/Connection.java (StaticData): New inner class to contain statics. (connect, getHeaderField): Modified to use StaticData. 2005-04-28 Michael Koch <konqueror@gmx.de> * gnu/java/net/protocol/file/Connection.java (lineSeparator): Initialize with SystemProperties.getProperty(). From-SVN: r98929
2005-04-27Connection.java: Return correct content length for directory listing.Chris Burdess1-14/+55
2005-04-27 Chris Burdess <dog@gnu.org> * gnu/java/net/protocol/file/Connection.java: Return correct content length for directory listing. * java/net/URLClassLoader.java: Correction for URLClassLoader, bug #11285: return valid URLs for directories.i From-SVN: r98884
2005-04-27* gnu/java/net/protocol/https/Handler.java: Commit.Thomas Fitzsimmons1-0/+76
From-SVN: r98883
2005-04-27HTTPURLConnection.java (connect): Accept absolute and relative paths in ↵Chris Burdess1-1/+29
Location header. 2005-04-27 Chris Burdess <dog@gnu.org> * java/net/protocol/http/HTTPURLConnection.java (connect): Accept absolute and relative paths in Location header. 2005-04-27 Chris Burdess <dog@gnu.org> * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw FileNotFoundException and implement getErrorStream on 404. From-SVN: r98875
2005-04-26re PR libgcj/21136 ([4.0 only] tryLock waits for the lock, and lock doesn't)Luca Barbieri1-2/+2
2005-04-26 Luca Barbieri <luca.barbieri@gmail.com> PR libgcj/21136: * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass 'false' to native lock(). (lock): Pass 'true' to native lock(). From-SVN: r98792
2005-04-26ParserDelegator.java (callBack, gnu): Now package-private.Tom Tromey3-14/+21
* javax/swing/text/html/parser/ParserDelegator.java (callBack, gnu): Now package-private. * javax/swing/text/html/parser/DocumentParser.java (parser, callBack, gnu): Now package-private. * javax/swing/text/StringContent.java (content, setOffset, checkLocation): Now package-private. * javax/swing/text/JTextComponent.java (doc): Now package-private. * javax/swing/plaf/basic/BasicToolBarUI.java (owner, lastGoodOrientation, origParent, borders, cachedBounds, cachedOrientation, DragWindow): Now package-private. * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton, decrButton, viewport, panel, currentScrollLocation, layoutManager, tabAreaRect, contentRect, createIncreaseButton, createDecreaseButton, findPointForIndex): Now package-private. * javax/swing/plaf/basic/BasicSplitPaneDivider.java (currentDividerLocation, moveDividerTo): Now package-private. * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now package-private. * javax/swing/plaf/basic/BasicScrollBarUI.java (calculatePreferredSize, valueForYPosition, valueForXPosition): Now package-private. * javax/swing/plaf/basic/BasicPopupMenuUI.java (topWindowListener): Now package-private. * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize, OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants. (messageAreaContainer, buttonContainer, resetSelectedValue): Now package-private. * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now package-private. * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title): Now package-private. * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now package-private. * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize, borderInsets): Now package-private. (arrowButtonWidth): Likewise. Now a constant. * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane, makeTabs, updatePreviewPanel): Now package-private. * javax/swing/plaf/basic/BasicArrowButton.java (shadow, darkShadow, highlight): Now package-private. * javax/swing/colorchooser/DefaultSwatchChooserPanel.java (addColorToQueue): Now package-private. * javax/swing/colorchooser/DefaultRGBChooserPanel.java (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner, GSpinner, BSpinner): Now package-private. * javax/swing/colorchooser/DefaultHSBChooserPanel.java (gradientImage, trackImage, slider, hRadio, sRadio, bRadio, hSpinner, sSpinner, bSpinner, gradientPoint, internalChange, spinnerTrigger, locked, handlingMouse, updateImage, updateSlider, updateTrack): Now package-private. * javax/swing/TransferHandler.java (clipboard): Now package-private. * javax/swing/ToolTipManager.java (showTip, hideTip): Now package-private. * javax/swing/Timer.java (drainEvents, queueEvent): Now package-private. * javax/swing/RepaintManager.java (globalManager): Now package-private. * javax/swing/JFormattedTextField.java (editValid): Now package-private. * javax/swing/JColorChooser.java (makeModal): Now package-private. * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints, index, path): Now package-private. * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect, lineQuadIntersect, lineCubicIntersect, linesIntersect, pointEquals): Now package-private. * java/awt/geom/Arc2D.java (type): Now package-private. * java/awt/Window.java (windowFocusOwner): Now package-private. * java/awt/TextComponent.java (editable, selectionStart, selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now package-private. * java/awt/MenuItem.java (actionCommand, enabled, label): Now package-private. * java/awt/MenuComponent.java (focusListener): Now package-private. * java/awt/Frame.java (state): Now package-private. * java/awt/Choice.java (pItems): Now package-private. * java/awt/Checkbox.java (state): Now package-private. * java/awt/Button.java (actionCommand, label): Now package-private. * gnu/javax/swing/text/html/parser/support/Parser.java (attributes, _handleEndTag_remaining, _handleStartTag): Now package-private. * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now package-private. * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg, clip, transform, font, comp): Now package-private. From-SVN: r98786
2005-04-262005-04-26 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters1-5/+22
* gnu/java/security/action/GetSecurityPropertyAction.java (GetSecurityPropertyAction): Implement PrivilegedAction instead of extending GetPropertyAction. (name): New field. (value): Likewise. (setParamters): New methods. (GetSecurityPropertyAction): Use new setParameters methods. From-SVN: r98765
2005-04-25[multiple changes]Michael Koch1-0/+33
2005-04-25 Jeroen Frijters <jeroen@frijters.net> * java/awt/GraphicsEnvironment.java (localGraphicsEnvironment): New field. (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv property. (isHeadless): Added support for java.awt.headless property. (isHeadlessInstance): Call headless(). 2005-04-25 Roman Kennke <roman@kennke.org> * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java (getDisplayMode): Added. Returns the current display mode. (isFullScreenSupported): Added. * java/awt/GraphicsDevice.java (setFullScreenWindow): Implemented a primitive fullscreen mode. This resizes and relocates the fullscreen window so that it uses the whole screen. This is not a fully accelerated fullscreen exclusive mode. From-SVN: r98740
2005-04-25[multiple changes]Michael Koch2-0/+544
2005-04-25 Archie Cobbs <archie@dellroad.org> * java/lang/Throwable.java: simplify initializing cause in constructor 2005-04-25 Michael Koch <konqueror@gmx.de> * gnu/classpath/SystemProperties.java: New file. * gnu/classpath/natSystemProperties.cc: New file. * java/lang/Runtime.java (defaultProperties): Removed. (static): Likewise. (): Made thrown exceptions more verbose. (insertSystemProperties): Removed. * java/lang/System.java (static): Likewise. (properties): Likewise. (setSecurityManager): Reordered modifiers. (getenv): Improved javadoc. (): Likewise. (isWordsBigEndian): Removed. * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): Likewise. (file_encoding): Likewise. (default_file_encoding): Likewise. (getpwuid_adaptor): Likewise. (insertSystemProperties): Likewise. * java/lang/natSystem.cc (isWordsBigEndian): Likewise. * Makefile.am (ordinary_java_source_files): Added gnu/classpath/SystemProperties.java. (nat_source_files): Added gnu/classpath/natSystemProperties.cc. * Makefile.in: Regenerated. From-SVN: r98734
2005-04-222005-04-22 Casey Marshall <csm@gnu.org>Casey Marshall2-2/+9
* gnu/java/security/der/DERValue.java (getValueAs): new method. * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java (<init>): read both dates with 'DERValue.getValueAs', with 'GENERALIZED_TIME' as the argument. From-SVN: r98578
2005-04-22NameFinder.java (close): IN, OUT, and PROC can all be null, check for that ↵Andrew Pinski1-4/+6
case and don't deference it. 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu> * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all be null, check for that case and don't deference it. From-SVN: r98573
2005-04-21CRLFInputStream.java: Rewrite to return CRLF-delimited chunks.Chris Burdess1-80/+49
2005-04-21 Chris Burdess <dog@gnu.org> * gnu/java/net/CRLFInputStream.java: Rewrite to return CRLF-delimited chunks. From-SVN: r98493
2005-04-20Connection.java, [...]: Reorganized import statements.Michael Koch2-7/+7
2005-04-20 Michael Koch <konqueror@gmx.de> * gnu/java/net/protocol/file/Connection.java, gnu/java/net/protocol/jar/Connection.java: Reorganized import statements. Fixed @author tags. From-SVN: r98450