1 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
3 Port to hosts whose 'sort' and 'tail' implementations
4 treat operands with leading '+' as file names, as POSIX
5 has required since 2001. However, make sure the code still
6 works on pre-POSIX hosts.
7 * libjava/classpath/ltmain.sh: Don't assume "sort +2" is
8 equivalent to "sort -k 3", since POSIX 1003.1-2001 no longer
10 This uses the same fix that is already in
11 libjava/libltdl/ltmain.sh.
13 2006-07-04 Peter O'Gorman <peter@pogma.com>
15 * ltconfig: chmod 644 before ranlib during install.
17 2006-05-15 Mark Wielaard <mark@klomp.org>
19 * configure.ac (VERSION): Set to 0.91.
21 2006-05-15 Mark Wielaard <mark@klomp.org>
23 * NEWS: Add release date and VMClassLoader.getBootPackages()
26 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
28 * README: Added CACAO to list of VMs.
30 2006-05-14 Mark Wielaard <mark@klomp.org>
32 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
35 2006-05-14 Chris Burdess <dog@gnu.org>
37 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
38 nodes to be preserved during cloneNode.
40 2006-05-14 Mark Wielaard <mark@klomp.org>
43 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
44 inherited timeout on socket.
46 2006-05-14 Lillian Angel <langel@redhat.com>
48 * java/util/SimpleTimeZone.java: Reverted patch.
49 (SimpleTimeZone): Throw exception if startMonth ==
51 (SimpleTimeZone): Likewise.
52 (checkRule): Rewritten to properly check all values (more
54 This code is now more stable, at least less buggy than before.
55 Fixed API documentation.
56 (setStartRule): Moved checkRule call to end.
57 (setStartRule): Likewise.
58 (setEndRule): Likewise.
59 (setEndRule): Likewise.
61 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
63 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
66 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
69 * javax/swing/text/AbstractDocument.java:
70 (insertString): Flipped if-expression and its blocks.
72 (replace): Flipped if-expression and its blocks, added note, invoke
73 insertString and remove instead of insertStringImpl and removeImpl.
75 2006-05-13 Tom Tromey <tromey@redhat.com>
77 * java/nio/ByteBufferImpl.java (compact): Always set position.
79 2006-05-11 Mark Wielaard <mark@klomp.org>
81 * java/util/logging/Logger.java (global): Initialize inside static
84 2006-05-11 Mark Wielaard <mark@klomp.org>
86 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
87 Fully qualify PathIterator constants
89 2006-05-10 Roman Kennke <kennke@aicas.com>
92 * javax/swing/plaf/basic/BasicInternalFrameUI.java
93 (installDefaults): Set background of content pane to null, if
94 no custom color has been installed by the application yet.
96 2006-05-10 Roman Kennke <kennke@aicas.com>
99 * javax/swing/JRootPane.java
100 (createContentPane): Don't set background to null.
102 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
105 * javax/swing/text/AbstractDocument.java:
106 (insertString): Added more documentation, added argument check.
107 (remove): Added more documentation.
108 (removeImpl): Added argument check.
109 (replace): Added more documentation, added argument check.
111 2006-05-08 Lillian Angel <langel@redhat.com>
113 * java/net/URLClassLoader.java
114 (JarURLLoader): Added check to make sure the INDEX.LIST file
117 2006-05-08 Roman Kennke <kennke@aicas.com>
120 * javax/swing/JRootPane.java
121 (createContentPane): Set background of the content pane to null,
122 so that the content pane inherits its background from the
125 2006-05-08 Roman Kennke <kennke@aicas.com>
128 * javax/swing/ButtonGroup.java
129 (add): Check if new button is selected and if so, deselect other
130 buttons in the group.
132 2006-05-08 Lillian Angel <langel@redhat.com>
135 * java/net/URLClassLoader.java
136 (JarURLLoader): Added code to go through
137 META-INF/INDEX.LIST file to load all jars listed.
139 2006-05-08 Roman Kennke <kennke@aicas.com>
142 * javax/swing/ImageIcon.java
143 (ImageIcon(URL)): Set description to URL.toString().
145 2006-05-08 Roman Kennke <kennke@aicas.com>
148 * javax/swing/JTable.java
149 (IconCellRenderer.getTableCellRendererComponent): Set icon to
150 null when cell value is null.
152 2006-05-08 Roman Kennke <kennke@aicas.com>
155 * javax/swing/DefaultDesktopManager.java
156 (closeFrame): Don't perform default close action on the frame
157 to prevent endless loop.
159 2006-05-08 Roman Kennke <kennke@aicas.com>
162 * javax/swing/table/DefaultTableModel.java
163 (addExtraRows): New helper method.
164 (checkSize): New helper method.
165 (setRowCount): Use addExtraRows helper method.
166 (addColumn): Use addExtraRows helper method.
167 (getColumnName): Check and adjust size if necessary using
170 2006-05-08 Roman Kennke <kennke@aicas.com>
173 * javax/swing/JTable.java
174 (setValueAt): Allow setting values even when table is editable.
176 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
179 * java/util/zip/DeflaterEngine.java:
180 (deflateFast(boolean,boolean)): Empty buffer when full.
182 2006-05-07 Sven de Marothy <sven@physto.se>
185 * java/util/Calendar.java (setTimeZone): Force recalculation.
187 2006-05-07 Sven de Marothy <sven@physto.se>
190 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
191 (propertyChange): Handle FRAME_ICON_PROPERTY property.
193 2006-05-06 Sven de Marothy <sven@physto.se>
196 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
197 Check for zero image sizes.
199 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
202 * gnu/java/text/StringFormatBuffer.java:
203 (toString()): Implemented so we can see the contents.
204 * java/text/DecimalFormat.java:
205 (formatInternal(double,StringFormatBuffer,FieldPosition)):
206 Don't calculate the exponent when the number is 0 or less.
207 Also, use log10 instead of log now it's available.
209 2006-05-07 Sven de Marothy <sven@physto.se>
212 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
213 * java/awt/Component.java (processMouseEvent):
214 Do lightweight cursor handling.
215 * javax/swing/plaf/basic/BasicTableHeaderUI.java
216 (endResizing,mouseMoved): Save and reset original cursor, not the
219 2006-05-07 Roman Kennke <kennke@aicas.com>
221 * gnu/java/awt/java2d/RasterGraphics.java: New file.
223 2006-05-07 Roman Kennke <kennke@aicas.com>
225 * gnu/java/awt/java2d/AbstractGraphics2D.java
226 (fillShape): Determine user space bounds of shape and feed them
227 into the actual rendering pipeline.
228 (rawSetPixel): Made non-abstract for now. Maybe remove later.
229 (rawSetForeground): Likewise.
230 (getDestinationColorModel): Removed.
231 (getDeviceBounds): Made non-abstract. Provide useful default impl.
232 (rawFillShape): Handle paint context.
233 (fillScanline): Implement painting and compositing.
234 (fillShapeAntialias): Handle paint context.
235 (fillScanlineAA): Implemented preliminary antialiasing based on
236 composite context. Not working yet.
237 (fillScanlineAlpha): Removed.
238 (init): Fetch destination raster.
239 (getDestinationRaster): New abstract method.
240 (updateRaster): New backend method.
242 2006-05-07 Roman Kennke <kennke@aicas.com>
244 * gnu/java/awt/java2d/AlphaCompositeContext.java
245 (compose): Fixed loops, conditions and logic to make compositing
248 2006-05-05 Roman Kennke <kennke@aicas.com>
250 * java/awt/image/ColorModel.java
251 (getNormalizedComponents): Implemented.
253 2006-05-05 Roman Kennke <kennke@aicas.com>
255 * javax/swing/plaf/basic/BasicRadioButtonUI.java
256 (paint): Query the button model for it's state, not the
259 2006-05-05 Roman Kennke <kennke@aicas.com>
261 * javax/swing/JTable.java
262 (tableChanged): Sync selection model with table model changes.
264 2006-05-04 Roman Kennke <kennke@aicas.com>
266 * javax/swing/plaf/basic/BasicButtonListener.java
267 (mouseEntered): Fixed conditions for changing states.
269 2006-05-04 Roman Kennke <kennke@aicas.com>
271 * javax/swing/JOptionPane.java
272 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
274 2006-05-04 Roman Kennke <kennke@aicas.com>
276 * javax/swing/JLabel.java
277 (AccessibleJLabel.getSelectedText): Return null instead of "".
278 (AccessibleJLabel.getSelectionStart): Added comment why
279 return -1 is correct here.
280 (AccessibleJLabel.getSelectionEnd): Added comment why
281 return -1 is correct here.
282 (AccessibleJLabel.getCharacterAttribute): Added comment about
284 (AccessibleJLabel.getCharCount): Added comment about what
286 (AccessibleJLabel.getCharacterBounds): Tagged as not
288 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
289 (paramString): Return super.paramString() here, this provides
290 a more meaningful output.
292 2006-05-04 Roman Kennke <kennke@aicas.com>
294 * javax/swing/JComponent.java
295 (paint): Added null check to avoid NPE when clip == null.
297 2006-05-04 Roman Kennke <kennke@aicas.com>
299 * javax/swing/AbstractButton.java
300 (addImpl): New method. Installs an OverlayLayout if no
301 other layout has been installed before.
302 (setLayout): New method. Detect if a client app installs a
305 2006-05-04 Roman Kennke <kennke@aicas.com>
307 * javax/swing/table/DefaultTableCellModel.java
308 (noFocusBorder): Fixed width of empty border to 1.
309 (getTableCellRendererComponent): Don't change the colors for
310 focuses cells. Fixed border for focused cells.
312 2006-05-04 Roman Kennke <kennke@aicas.com>
314 * javax/swing/JTable.java
315 (moveToCellBeingEdited): Adjust bounding box
316 of editing component to exactly cover the grid.
317 * javax/swing/plaf/basic/BasicTableUI.java
318 (paint): Paint grid to the bottom and right of
319 the cells instead of left and top. Adjust bounding
320 box of cells accordingly.
321 * javax/swing/plaf/metal/MetalLookAndFeel.java
322 (initComponentDefaults): Fixed color of JTable
324 * javax/swing/plaf/metal/OceanTheme.java
325 (addCustomEntriesToTable): Fixed color of JTable
328 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
330 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
331 Use _alias instead of alias.
333 2006-05-04 Lillian Angel <langel@redhat.com>
335 * javax/swing/JLabel.java
336 (JLabel): Pass in an empty string for the text parameter.
340 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
342 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
343 if there are no visible nodes to paint.
345 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
347 * include/Makefile.am:
348 Added rules for gnu.java.net.local.LocalSocketImpl.h
349 * include/java_lang_VMSystem.h:
350 Regenerated correctly.
352 2006-05-03 Sven de Marothy <sven@physto.se>
355 * java/awt/Image.java:
356 (getScaledInstance): Default to AreaAveraging for "smooth",
357 don't thrown an error on illegal flag values.
358 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
360 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
362 * javax/swing/text/FieldView.java:
363 (adjustAllocation): Added if-block to return null when shape argument
365 * javax/swing/text/PlainView.java:
366 (updateDamage): Added if-block to return early if a is null.
368 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
370 * javax/swing/plaf/basic/BasicTextUI.java:
371 (changeUpdate): Added note.
372 (removeUpdate): Dito.
373 (insertUpdate): Dito.
374 (damageRange): Added if-block to return early.
375 (modelToView): Added check of getVisibleEditorRect's return value.
376 (getVisibleEditorRect): Return null instead of empty rectangle.
377 * javax/swing/text/DefaultCaret.java:
378 (clearHighlight): Removed if-clause to create a highlight entry if it
379 did not exist before.
380 * javax/swing/text/WrappedPlainView.java:
381 (WrappedLine.modelToView): Throw exception if allocation area is empty,
382 removed 2nd part of if-expression.
383 (WrappedLine.updateDamage): Added more documentation, added check
384 whether allocation area rectangle is null.
386 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
388 * javax/swing/JSplitPane.java (setDividerLocation(int)):
389 Reset to preferred sizes if the argument is negative.
391 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
393 * javax/swing/JList.java: Added/updated API docs.
395 2006-05-03 Lillian Angel <langel@redhat.com>
397 * javax/swing/JComponent.java
398 (getRoot): New private function. Gets the root appropriate
399 for painting. If an applet exists as a parent, then it is returned.
400 (paintDoubleBuffered): Changed to use new function.
401 * javax/swing/RepaintManager.java
402 (getRoot): New private function. Gets the root appropriate
403 for painting. If an applet exists as a parent, then it is returned.
404 (getOffscreenBuffer): Changed to use new function.
405 * javax/swing/SwingUtilties.java
406 (getRoot): Reverted last patch to return Window, even if
409 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
411 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
412 a pair of one public keyring and one private keyring.
413 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
414 (containsCertificate): Added logging.
415 (getCertificate): Likewise.
416 (putCertificate): Likewsie.
419 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
420 (containsPrivateKey): Added logging.
421 (getPrivateKey): Likewise.
422 (putPrivateKey): Likewise.
423 (containsPublicKey): Likewise.
424 (getPublicKey): Likewise.
425 (putPublicKey): Likewise.
426 (containsCertPath): Likewise.
427 (getCertPath): Likewise.
428 (putCertPath): Likewise.
432 2006-05-03 Roman Kennke <kennke@aicas.com>
434 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
435 * java/awt/AlphaComposite.java
436 (createContext): Implemented.
438 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
440 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
441 Set the current color again after drawing the raster.
443 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
445 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
446 Do not check pos < currLineEnd if currLineStart == currLineEnd.
448 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
450 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
451 Assign returned value to field handler.
452 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
455 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
457 * javax/swing/ScrollPaneLayout.java (layoutContainer):
458 Return without action if there is no view in the viewport.
459 * javax/swing/text/WrappedPlainView.java
460 (WrappedLine.getPreferredSpan): If metrics == null, update
462 * javax/swing/tree/DefaultTreeModel.java (constructors):
463 Do not call setRoot, assign the root node directly.
465 2006-05-02 Lillian Angel <langel@redhat.com>
467 * javax/swing/SwingUtilities.java
468 (getRoot): Should return the Applet if it exists.
469 Only return the Window if an Applet has not been
472 2006-05-02 Lillian Angel <langel@redhat.com>
474 * gnu/javax/swing/text/html/parser/support/Parser.java
475 (readAttributes): Reverted Audrius' last patch. There is
476 a slight difference in code between the NUMTOKEN and SLASH case.
478 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
480 * javax/swing/text/JTextComponent.java:
481 (setText): Throw InternalError from catch-block.
482 * javax/swing/text/GapContent.java:
483 (removed): Removed if-expression, changed '>' to '>='.
485 2006-05-02 Roman Kennke <kennke@aicas.com>
487 * gnu/java/awt/java2d/AbstractGraphics2D.java
488 (AA_SAMPLING): New constant.
489 (alpha): New field. Used in the antialiasing renderer.
490 (edgeTable): New field. Used in the antialiasing renderer.
491 (AbstractGraphics2D): Initialize rendering hints wrt
493 (draw): Clip after stroking. Commented out clipping for now,
494 it seems to be buggy.
495 (fill): Commented out clipping for now, it seems to be buggy.
496 (setComposite): Don't create composite context.
497 (setPaint): Only change paint when parameter is not null.
498 (translate): Call setClip() so subclasses can update their clip
500 (clip): Call setClip() so subclasses can update their clip
502 (drawGlyphVector): Added clipping, but left it commented out
504 (getClipBounds): Returns null when clip is null.
505 (drawLine): Call rawDrawLine with translation applied.
506 (filLRect): Call rawFillRect with translation applied.
507 (fillShape): Added support for anti-aliasing.
508 (rawSetForeground(int,int,int)): New method.
509 (rawFillShape): A couple of painting fixes.
510 (fillScanline): Implemented to call rawDrawLine.
511 (fillShapeAntialias): New method. Implements an anti-aliasing
513 (fillScanlineAA): New method. Used for the anti-aliasing
515 (fillScanlineAlpha): New method. Used for the anti-aliasing
517 (init): Initialize clip with the device bounds.
518 (updateOptimization): Fixed the optimization condition.
520 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
522 * javax/swing/text/GapContent.java:
523 (GapContent): Restrict size argument by 2.
524 (insertString): Changed expression from >= to >.
525 (remove): Changed right side of expression to 'length - 1', changed
527 (getChars): Throw exception if where below 0.
528 (replace): Replaced call to setPositionsInRange() with
529 resetMarksAtZero(), removed note.
531 2006-05-02 Roman Kennke <kennke@aicas.com>
534 * javax/swing/MenuSelectionManager.java
535 (setSelectedPath): Rewritten.
537 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
539 * gnu/javax/swing/text/html/parser/support/Parser.java
540 (readAttributes): Merge case NUMTOKEN: and case SLASH:
543 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
545 * tools/.cvsignore: Added keytool.sh.
546 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
548 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
550 * doc/tools.texinfo: New file.
551 * doc/Makefile.am: Generate tools documentation.
553 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
555 * tools/keytool.sh.in: New file.
556 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
557 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
558 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
559 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
560 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
561 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
562 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
563 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
564 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
565 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
566 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
567 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
568 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
569 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
570 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
571 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
572 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
573 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
575 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
577 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
578 resemble more closely man-page style text.
579 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
580 Mark (Eclipse) strings that need not be externalised.
582 (writeDSA): Likewise.
583 Use package-private Messages class to provide i18n-ready strings.
585 Use package-private Messages class to provide i18n-ready strings.
586 (updateEntry): Likewise.
587 Mark (Eclipse) strings that need not be externalised.
588 (finishSigning): Likewise.
589 * tools/gnu/classpath/tools/jarsigner/Main.java:
590 Mark (Eclipse) strings that need not be externalised.
591 (main): Do not use constant strings as class name.
592 Use package-private Messages class to provide i18n-ready strings.
593 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
594 (processArgs): Do not use constant strings as class name.
595 Mark (Eclipse) strings that need not be externalised.
596 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
597 (start): Do not use constant strings as class name.
598 (teardown): Likewise.
600 (setupCommonParams): Do not use constant strings as class name.
601 Use package-private Messages class to provide i18n-ready strings.
602 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
603 (installNewProvider): Do not use constant strings as class name.
605 (setupSigningParams): Do not use constant strings as class name.
606 Use package-private Messages class to provide i18n-ready strings.
607 Mark (Eclipse) strings that need not be externalised.
608 (getCallbackHandler): Use CallbackUtil.
609 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
610 Use package-private Messages class to provide i18n-ready strings.
611 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
612 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
613 (verifySF): Likewise.
614 (verifySFEntries): Do not use constant strings as class name.
615 Use Boolean.valueOf instead of new Boolean().
616 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
617 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
619 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
620 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
622 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
624 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
625 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
626 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
628 2006-05-01 Tom Tromey <tromey@redhat.com>
630 * java/nio/ByteBufferImpl.java (compact): Don't reset position
632 * gnu/java/nio/ChannelReader.java (read): Synchronize.
633 (close): Synchronize.
634 * java/nio/ShortBufferImpl.java (compact): Rewrote.
635 * java/nio/LongBufferImpl.java (compact): Rewrote.
636 * java/nio/IntBufferImpl.java (compact): Rewrote.
637 * java/nio/FloatBufferImpl.java (compact): Rewrote.
638 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
639 * java/nio/CharBufferImpl.java (compact): Rewrote.
640 * gnu/java/nio/ChannelWriter.java: New file.
641 * java/nio/channels/Channels.java (newWriter): Implemented.
643 2006-05-01 Lillian Angel <langel@redhat.com>
645 * java/util/SimpleTimeZone.java
646 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
647 (SimpleTimeZone): Likewise.
648 (checkRule): Rewritten to properly check all values (more efficently).
649 This code is now more stable, at least less buggy than before. Fixed
651 (setStartRule): Moved checkRule call to end.
652 (setStartRule): Likewise.
653 (setEndRule): Likewise.
654 (setEndRule): Likewise.
656 2006-05-01 Tom Tromey <tromey@redhat.com>
658 * lib/.cvsignore: Added classes.2.
660 2006-05-01 Tom Tromey <tromey@redhat.com>
662 * java/util/jar/JarFile.java (provider): Now package-private.
663 * java/lang/Enum.java (compareTo): Javadoc fix.
664 * java/lang/Boolean.java (compareTo): Javadoc fix.
666 2006-05-01 Lillian Angel <langel@redhat.com>
668 * gnu/javax/swing/text/html/parser/support/Parser.java
669 (readAttributes): Formatted function. Added handling for
670 SLASH token. The value of an attribute may start with a slash
671 (i.e. a path). I added handling similar to to the NUMTOKEN code.
672 We should not be skipping over these type of attributes.
674 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
676 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
677 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
678 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
679 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
680 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
681 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
682 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
683 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
684 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
685 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
686 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
687 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
688 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
689 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
690 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
691 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
692 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
693 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
694 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
695 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
696 * include/gnu_java_awt_peer_gtk_GtkImage.h,
697 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
698 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
699 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
700 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
701 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
702 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
703 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
704 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
705 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
706 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
707 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
708 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
709 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
710 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
711 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
712 * include/gnu_java_awt_peer_qt_MainQtThread.h,
713 * include/gnu_java_awt_peer_qt_QMatrix.h,
714 * include/gnu_java_awt_peer_qt_QPainterPath.h,
715 * include/gnu_java_awt_peer_qt_QPen.h,
716 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
717 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
718 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
719 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
720 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
721 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
722 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
723 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
724 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
725 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
726 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
727 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
728 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
729 * include/gnu_java_awt_peer_qt_QtGraphics.h,
730 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
731 * include/gnu_java_awt_peer_qt_QtImage.h,
732 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
733 * include/gnu_java_awt_peer_qt_QtListPeer.h,
734 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
735 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
736 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
737 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
738 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
739 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
740 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
741 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
742 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
743 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
744 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
745 * include/gnu_java_awt_peer_qt_QtToolkit.h,
746 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
747 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
748 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
749 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
750 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
751 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
752 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
753 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
754 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
755 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
756 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
757 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
758 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
759 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
760 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
761 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
762 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
763 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
764 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
765 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
766 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
767 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
768 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
769 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
770 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
771 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
772 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
773 * include/java_lang_VMProcess.h:
775 * native/jni/java-lang/java_lang_VMProcess.c:
776 Redirect when pipe_count is 2 not 3.
778 2006-04-30 Sascha Brawer <sascha@brawer.ch>
780 * gnu/java/awt/font/FontDelegate.java,
781 * gnu/java/awt/font/FontFactory.java,
782 * gnu/java/awt/font/GNUGlyphVector.java,
783 * gnu/java/awt/font/opentype/CharGlyphMap.java,
784 * gnu/java/awt/font/opentype/GlyphNamer.java,
785 * gnu/java/awt/font/opentype/MacResourceFork.java,
786 * gnu/java/awt/font/opentype/NameDecoder.java,
787 * gnu/java/awt/font/opentype/OpenTypeFont.java,
788 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
789 * gnu/java/awt/font/opentype/Scaler.java,
790 * gnu/java/awt/font/opentype/truetype/Fixed.java,
791 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
792 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
793 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
794 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
795 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
796 * gnu/java/awt/font/opentype/truetype/Zone.java,
797 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
798 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
799 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
800 New files. Imported font framework from:
801 http://www.brawer.ch/software/fonts/
803 2006-04-30 Roman Kennke <kennke@aicas.com>
805 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
806 (lastTabInRun): Fix calculation of the last tab in a run. This
807 has caused painting problems sometimes, making the
808 last tab painted incorrectly.
810 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
813 * javax/swing/JComponent.java (paintChildrenWithOverlap):
814 Use for and not while to prevent the endless loop.
816 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
818 * javax/swing/JList.java
819 (paramString): Changed from public to protected.
821 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
823 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
824 (printHelpAndExit): Re-factored to use the above method.
826 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
828 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
829 Use -Xbootclasspath/p instead of -cp when invoking the main class.
830 * tools/gnu/classpath/tools/jarsigner/Main.java:
831 Changed license to GPL + Exception.
832 (handler): New field.
833 (getCallbackHandler): New method.
834 (setupSigningParams): Use above method.
835 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
836 Changed license to GPL + Exception.
837 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
838 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
839 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
840 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
842 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
844 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
845 (handleConfirmation): Use print instead of println.
846 (handleConfirmation): When case is YES_NO_OPTION, print default option
848 (handleLanguage): Use print instead of println.
850 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
852 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
853 (putComponent): Handle O and OU components.
854 (getDer): Use correct (it2) iterator.
855 (readAttributeValue): Read next character and break if end-of-stream.
857 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
859 * gnu/java/security/provider/Gnu.java (run):
860 Add "RSA" as an alias to MD5withRSA.
861 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
862 Always encode a NULL as the value of an algorithm parameters field.
863 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
864 (encodePrivateKey): Added trace/log statements.
865 (decodePrivateKey): Likewise.
866 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
867 (setup): Added trace/log statements.
868 (generate): Likewise.
869 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
870 (toString): New method.
871 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
873 (toString): New method.
874 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
875 (getEncoded): Use defaultFormat.
876 (toString): New method.
877 * gnu/java/security/key/dss/DSSKey.java (toString):
878 Include defaultFormat in string.
879 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
880 Break if successfully decoded public key.
881 (engineGeneratePrivate): Break if successfully decoded private key.
883 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
885 * java/security/Security.java <clinit>: Add our Callback provider.
886 * resource/java/security/classpath.security: Likewise
888 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
891 * javax/swing/ScrollPaneLayout.java (layoutContainer):
892 Decide about scroll bars from the preferred view size, not
894 * javax/swing/ViewportLayout.java (layoutContainer):
895 Do not change returned preferred size. Do not treat JScrollPane
898 2006-04-28 Sven de Marothy <sven@physto.se>
900 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
901 * javax/swing/ProgressMonitor.java (actionPerformed):
902 Avoid divide-by-zero.
904 2006-04-28 Sven de Marothy <sven@physto.se>
906 * javax/swing/JSpinner.java: Fix default text justification.
907 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
909 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
911 * javax/swing/JList.java
912 (getMinSelectionIndex): Return correct value, added API docs,
913 (getMaxSelectionIndex): Added API docs.
915 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
917 * javax/swing/JList.java
918 (JList(Object[])): Pass new model directly to init(),
919 (JList(Vector)): Likewise,
920 (JList(ListModel)): Renamed argument and updated API docs,
921 (init): Throw IllegalArgumentException for null argument,
922 (setListData(Object[])): Delegate model creation,
923 (setListData(Vector)): Likewise,
924 (createListModel(Object[])): New private method,
925 (createListModel(Vector)): New private method,
926 (paramString): Implemented.
928 2006-04-28 Tom Tromey <tromey@redhat.com>
930 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
932 (isSynthetic): Likewise.
933 (isAnnotation): Likewise.
934 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
935 (isAnnotation): Likewise.
938 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
940 * javax/swing/text/View.java:
941 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
944 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
946 * javax/swing/text/View.java:
947 (getNextVisualPositionFrom): Rewritten.
948 * javax/swing/text/CompositeView.java:
949 (getNextEastWestVisualPositionFrom): Partly implemented.
950 (getNextNorthSouthVisualPositionFrom): Partly implemented.
952 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
954 * javax/swing/JList.java
955 (setFixedCellHeight): Use correct property name for event.
957 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
959 * javax/swing/text/Utilities.java:
960 (getNextWord): Use codePointAt instead of charAt, added note, changed
961 if-expression, added throwing of exception.
962 (getPreviousWord): Use codePointAt instead of charAt.
964 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
966 * java/lang/StringBuilder.java
967 (ensureCapacity, getChars, append(StringBuffer),
968 append(char[],int,int), delete, replace, insert(int,char[],int,int),
969 insert(int,String), insert(int,char), trimToSize): Replaced
970 System.arraycopy calls with VMSystem.arraycopy.
972 2006-04-27 Tom Tromey <tromey@redhat.com>
974 * java/awt/image/renderable/RenderableImageProducer.java
975 (requestTopDownLeftRightResend): Implemented.
977 (startProduction): Add new consumer.
979 2006-04-27 Sven de Marothy <sven@physto.se>
981 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
983 2006-04-27 Roman Kennke <kennke@aicas.com>
985 * java/awt/LightweightDispatcher.java
986 Dispatch events only to targets that have a mouselistener
987 attached. Changed to also handle null targets.
989 2006-04-27 Roman Kennke <kennke@aicas.com>
991 * NEWS: Added entries about accessibility support and L&F
994 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
996 * javax/swing/text/Utilities.java:
997 (getTabbedTextOffset): Introduced width variable, rewritten the check
999 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
1002 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1004 * examples/gnu/classpath/examples/swing/TreeDemo.java
1005 (createContent): Added root visibility and selection listener demos.
1006 * javax/swing/JTree.java (setRootVisible): If false, unselect
1007 the root node, if it is selected.
1008 * javax/swing/plaf/basic/BasicTreeUI.java
1009 (TreeTraverseAction.actionPerformed): Do not select the root if it
1011 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
1012 removeSelectionPaths): Reset lead to null if the current lead path is
1013 removed from selection.
1014 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
1015 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
1016 Return the same path regardless is root visible or not. (update):
1017 Reduce the identation if the root is not visible.
1018 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
1019 Return the same path regardless is root visible or not. (update):
1020 Reduce the identation if the root is not visible.
1022 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
1024 * javax/swing/plaf/basic/BasicTreeUI.java
1025 (TreeAction.actionPerformed):Newly obtain the current lead
1026 path that must stay visible.
1027 (TreeTraverseAction.actionPerformed):Rewritten.
1028 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
1029 Do not treat root specially. (setModel): Assume the root node
1031 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
1032 Do not treat root specially. (setModel): Assume the root node
1035 2006-04-26 Chris Burdess <dog@gnu.org>
1038 * javax/xml/datatype/DatatypeFactory.java: Use complete
1039 implementation resolution mechanism.
1041 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1043 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
1045 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
1046 Removed NoImplementException form the implemented method.
1048 2006-04-26 Tom Tromey <tromey@redhat.com>
1050 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
1053 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
1055 * javax/swing/DefaultListSelectionModel.java
1056 (clone): Initialise empty listener list,
1057 (setSelectionMode): Throw IllegalArgumentException for bad input.
1059 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
1061 * javax/swing/DefaultListSelectionModel.java
1062 (clearSelection): Clear the Bitset.
1064 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1066 * javax/swing/JTree.java (setLeadSelectionPath):
1067 Repaint the new and old lead pathes.
1068 * javax/swing/plaf/basic/BasicTreeUI.java
1069 (FocusHandler): Repaint the lead row when focus changes.
1070 (PropertyChangeHandler): Use existing constants, not the
1071 string literals for the property names.
1072 (TreeIncrementAction): Shrink the selection when moving
1073 from the selection edge to the selection anchor.
1074 (TreeSelectionHandler.valueChanged): Repaint the
1075 new and old lead pathes.
1076 (paintRow): Treat row as focused only if it is the lead row.
1077 * javax/swing/tree/DefaultTreeCellRenderer.java
1078 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
1080 * javax/swing/tree/DefaultTreeSelectionModel.java
1081 (addSelectionPath): Event construction fix (old and new lead were
1083 (addSelectionPaths): Likewise.
1084 * javax/swing/JComponent.java (setOpaque): Explained.
1085 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
1087 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
1090 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1092 * examples/gnu/classpath/examples/swing/TreeDemo.java
1093 (createContent): Call DefaultTreeModel.reload(), not the
1094 tree.repaint(). Expand the parent of the added node.
1095 * javax/swing/JTree.java (constructor): Do not call
1096 UpdateUI (and documented why). (treeDidChange):
1097 Added comment, excluding the misinterpretation of this method.
1098 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
1099 focusListener, keyListener, mouseListener, propertyListener,
1100 selectionModelPropertyChangeListener, treeModelListener,
1101 treeSelectionListener): Made package private.
1102 (PropertyChangeHandler): If the model changes, install the
1103 listener on it. (installUI): Assign treeModel.
1104 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
1105 comment, excluding misinterpretation.
1106 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
1107 (reload(TreeNode)): Implemented.
1109 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1111 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
1112 If clicked on the other row, cancel the current editing session.
1114 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1116 * javax/swing/plaf/basic/BasicTreeUI.java
1117 (NodeDimensionsHandler.getRowX): Add half of the icon width.
1118 (paintExpandControl): Always paint in one gap distance from the left
1119 border of the path bounds.
1120 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
1122 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
1125 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1127 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
1129 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1131 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
1132 Allow slashes (/) in the unquoted parameter value.
1134 2006-04-25 Roman Kennke <kennke@aicas.com>
1136 * gnu/java/awt/java2d/AbstractGraphics2D.java
1137 (drawString(String,int,int)): Implemented.
1138 (drawString(String,float,float)): Implemented.
1139 (drawString(AttributedCharacterIterator,int,int)): Implemented.
1140 (drawString(AttributedCharacterIterator,float,float)): Implemented.
1141 (getFontRenderContext): Implemented.
1142 (drawGlyphVector): Implemented.
1143 (getFont): Implemented.
1144 (setFont): Don't change font setting when null.
1145 (getFontMetrics): Implemented.
1146 (fillShape): Re-written to fill call rawFillShape() with a list
1147 of the edges instead of double arrays.
1148 (rawFillShape): Implemented using a polygon scanline conversion.
1149 (fillScanline): New helper method.
1150 (init): Initialize foreground black. Set font.
1151 * gnu/java/awt/java2d/PolyEdge.java: New file.
1152 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
1154 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
1156 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
1158 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
1160 * javax/swing/JTable.java: Fixed API doc tags,
1161 * javax/swing/text/AsyncBoxView.java: Likewise,
1162 * javax/swing/text/FlowView.java: Likewise.
1164 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
1166 * javax/swing/table/DefaultTableColumnModel.java
1167 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
1169 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
1171 * javax/swing/table/DefaultTableColumnModel.java
1172 (DefaultTableColumnModel): Set selection model field and add 'this' as
1174 (addColumn): Add 'this' as a PropertyChangeListener,
1175 (removeColumn): Remove column before firing event, and remove 'this' as
1176 a PropertyChangeListener,
1177 (setSelectionModel): Remove 'this' as a listener from old model,
1178 (propertyChange): Check for 'width' property rather than
1179 TableColumn.COLUMN_WIDTH_PROPERTY.
1181 2006-04-24 Chris Burdess <dog@gnu.org>
1184 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
1185 attributes when no doctype exists.
1187 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
1189 * javax/swing/event/ChangeEvent.java: Updated API docs,
1190 * javax/swing/event/ChangeListener.java: Likewise,
1191 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
1192 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
1193 * javax/swing/table/TableColumnModel.java: Likewise.
1195 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
1197 * javax/swing/text/Utilities.java:
1198 (getBreakLocation): Introduced shift variable, added notes.
1199 * javax/swing/text/WrappedPlainView.java:
1200 (calculateBreakPosition): Decrease allocation area bounds by insets,
1201 added early return when allocation area is empty, provide start offset
1203 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
1204 (WrappedPlainView.WrappedLine.paint): Added count variable, update
1205 numLines after loop.
1206 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
1207 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
1208 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
1209 decreasing variable end by one, changed break condition in while-loop,
1210 added check for return value.
1211 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
1212 allocation area is empty.
1214 2006-04-24 Sven de Marothy <sven@physto.se>
1216 * gnu/java/awt/java2d/Segment.java: New file.
1217 * gnu/java/awt/java2d/CubicSegment.java: New file.
1218 * gnu/java/awt/java2d/QuadSegment.java: New file.
1219 * gnu/java/awt/java2d/LineSegment.java: New file.
1220 * java/awt/BasicStroke.java
1223 (createStrokedShape): Implemented.
1224 (solidStroke): New method.
1225 (dashedStroke): New method.
1226 (capEnds): New method.
1227 (convertPath): New method.
1228 (addSegments): New method.
1229 (capEnd): New method.
1230 (lineIntersection): New method.
1231 (joinSegments): New method.
1233 2006-04-24 Roman Kennke <kennke@aicas.com>
1235 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
1238 (clip): Changed clip to be in user space not in target space.
1239 (isOptimized): Added flag to allow optimized drawing for
1240 primitive operations (e.g. for Swing).
1241 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
1242 with the paint context etc.
1243 (draw): Clip the shape before drawing it.
1244 (fill): Clip the shape before drawing it.
1245 (setComposite): Update isOptimized flag.
1246 (setPaint): Likewise.
1247 (setStroke): Likewise.
1248 (translate): Update the clip.
1252 (transform): Likewise.
1253 (setTransform): Likewise.
1254 (clip): Added optimization for rectangle clips.
1255 (create): Implemented.
1256 (clone): New method.
1257 (setFont): Basic implementation.
1258 (setClip): Update opimization flag.
1259 (drawLine): Added possible optimization.
1260 (fillRect): Added possible optimization.
1261 (fillShape): Implemented shape-filling by filling the flattended
1262 shape using polygon fill.
1263 (drawPixel): Added basic painting.
1264 (rawSetPixel): Changed signature to only take coordinates.
1265 (rawSetForeground): New abstract method.
1266 (getUserBounds): Implemented default for this method.
1267 (rawDrawLine): New method.
1268 (rawFillRect): New method.
1269 (rawFillPolygon): New method.
1271 (updateOptimization): New method.
1272 (computeIntersection): New method.
1273 (updateClip): New method.
1274 (clipShape): New method.
1276 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1278 * examples/gnu/classpath/examples/swing/TreeDemo.java:
1279 (createContent): Added check box to swith between single and
1281 * javax/swing/JTree.java (leadSelectionPath): Removed.
1282 (addSelectionInterval): Explained. (getLeadSelectionPath):
1283 Request the path from model. (getPathsBetweenRows): Explained.
1284 (setLeadSelectionPath): Set the path in model.
1285 * javax/swing/plaf/basic/BasicTreeUI.java
1286 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
1287 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
1288 (MouseHandler.mousePressed): Call selectPathForEvent.
1290 2006-04-23 Roman Kennke <kennke@aicas.com>
1292 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
1294 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
1296 * NEWS: Added entry about new Package constructor.
1297 * java/lang/Package.java: Added compatibility constructor to ease
1298 VM interface migration.
1300 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
1302 * NEWS: Added information about annotation support.
1303 * java/lang/Class.java: Implement AnnotatedElement.
1304 (equals): Reformatted to match generics branch.
1305 (getEnumConstants): Implemented.
1306 (getAnnotation, getAnnotations, getDeclaredAnnotations,
1307 isAnnotationPresent): Merged from generics branch.
1308 * vm/reference/java/lang/VMClass.java (getDeclaredAnnotations):
1311 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
1313 * java/lang/ClassLoader.java (definePackage): Added argument to
1314 Package constructor.
1315 * java/lang/Package.java (Package): Added ClassLoader argument.
1316 (loader): New field.
1317 (getAnnotation, getAnnotations, getDeclaredAnnotations,
1318 isAnnotationPresent): Merged from generics branch.
1319 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
1320 to Package constructor.
1322 2005-12-14 Nicolas Geoffray <nicolas.geoffray@menlina.com>
1324 * java/lang/ClassLoader
1325 (defineClass(String,byte[],int,int,ProtectionDomain)):
1326 Calls VMClassLoader.defineClassWithTransformers instead
1327 of VMClassLoader.defineClass.
1329 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1332 Mention changes to VMProcess and VMSystem.
1333 * doc/vmintegration.texinfo:
1334 Change documentation on VMProcess and VMSystem.
1335 * java/lang/reflect/Modifier.java:
1336 (toString(int,StringBuilder)): Merged from generics
1338 * vm/reference/java/lang/reflect/Constructor.java
1339 (toString()): Use StringBuilder.
1340 (toGenericString()): Likewise.
1341 * vm/reference/java/lang/reflect/Field.java:
1342 (toString()): Use StringBuilder.
1343 (toGenericString()): Likewise.
1344 * vm/reference/java/lang/reflect/Method.java
1345 (toString()): Use StringBuilder.
1346 (toGenericString()): Likewise.
1347 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1348 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
1349 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
1350 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
1351 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
1352 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
1353 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
1354 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1355 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
1356 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
1357 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
1358 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
1359 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
1360 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
1361 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
1362 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
1363 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
1364 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
1365 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
1366 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
1367 * include/gnu_java_awt_peer_gtk_GtkImage.h,
1368 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
1369 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
1370 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
1371 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
1372 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
1373 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
1374 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
1375 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
1376 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
1377 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
1378 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
1379 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
1380 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
1381 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
1382 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
1383 * include/gnu_java_awt_peer_qt_MainQtThread.h,
1384 * include/gnu_java_awt_peer_qt_QMatrix.h,
1385 * include/gnu_java_awt_peer_qt_QPainterPath.h,
1386 * include/gnu_java_awt_peer_qt_QPen.h,
1387 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
1388 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
1389 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
1390 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
1391 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
1392 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
1393 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
1394 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
1395 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
1396 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
1397 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
1398 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
1399 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
1400 * include/gnu_java_awt_peer_qt_QtGraphics.h,
1401 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
1402 * include/gnu_java_awt_peer_qt_QtImage.h,
1403 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
1404 * include/gnu_java_awt_peer_qt_QtListPeer.h,
1405 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
1406 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
1407 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
1408 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
1409 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
1410 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
1411 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
1412 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
1413 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
1414 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
1415 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
1416 * include/gnu_java_awt_peer_qt_QtToolkit.h,
1417 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
1418 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
1419 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
1420 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
1421 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
1422 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
1423 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
1424 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
1425 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
1426 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
1427 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
1428 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
1429 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
1430 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
1431 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
1432 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
1433 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
1434 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
1435 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
1436 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
1437 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
1438 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
1439 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
1440 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
1441 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
1442 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
1443 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
1444 * include/java_lang_VMProcess.h,
1445 * include/java_lang_VMSystem.h:
1446 Regenerated with GCJ 4.1.
1448 2005-12-05 Casey Marshall <csm@gnu.org>
1450 * native/jni/classpath/jcl.h (environ): define, or declare
1452 * native/jni/java-lang/java_lang_VMProcess.c: include <jcl.h>.
1453 Remove 'extern' define.
1454 * native/jni/java-lang/java_lang_VMSystem.c
1455 (Java_java_lang_VMSystem_environ): don't declare 'environ.'
1457 2005-09-25 Jeroen Frijters <jeroen@frijters.net>
1459 * java/lang/System.java,
1460 vm/reference/java/lang/VMSystem.java: Removed generic type
1461 from VMSystem.environ() signature.
1463 2005-05-04 Tom Tromey <tromey@redhat.com>
1465 * native/jni/java-lang/java_lang_VMProcess.c
1466 (Java_java_lang_VMProcess_nativeSpawn): Added 'redirect'
1467 argument. Use defines instead of contents.
1468 * vm/reference/java/lang/VMProcess.java (redirect): New field.
1470 (setProcessInfo): Updated.
1471 (VMProcess): Added 'redirect' argument.
1472 (nativeSpawn): Likewise.
1473 (exec): New overload.
1475 2005-01-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1477 * include/java_lang_VMSystem.h:
1478 (Java_java_lang_VMSystem_environ): added
1479 * vm/reference/java/lang/VMSystem.java:
1480 (environ()): new native method
1482 2006-04-22 Casey Marshall <csm@gnu.org>
1484 Fixes PR classpath/27228.
1485 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
1486 (initialize): also accept `DHParameterSpec.'
1487 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
1488 handle a passed-in `DHParameterSpec' properly.
1489 (generate): don't check if the random exponent is less than `q -
1490 1' if no `q' was specified.
1492 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1494 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
1495 Only repaint the patches, speficied in the passed event.
1496 (expandPath): Do nothing if the path is already expanded.
1497 (scrollPathToVisible): Only scroll to visible, do nothing else.
1498 * javax/swing/plaf/basic/BasicTreeUI.java
1499 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
1500 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
1501 (TreeTraverseAction.actionPerformed): Collapse the node on the
1502 action "selectParent". (selectPath): Rewritten.
1503 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
1504 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
1505 Do not reuse selection array.
1506 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
1508 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
1511 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1513 * javax/swing/tree/DefaultTreeSelectionModel.java
1514 (addSelectionPath): If the path cannot be added, set it.
1515 (addSelectionPaths): Call insureRowContinuity.
1516 (arePathsContiguous): Implemented.
1517 (canPathBeAdded): New private method.
1518 (canPathsBeAdded): Implemented.
1519 (canPathsBeRemoved): Implemented.
1520 (getPath): New private method.
1521 (insureRowContinuity): Implemented.
1522 (removeSelectionPath): Call insureRowContinuity.
1523 (removeSelectionPaths): Call insureRowContinuity.
1524 (resetRowSelection): Removed stub marking, not used in implementation
1525 (nothing to do there).
1526 (selectOne): New private method.
1527 (setSelectionMode) Call insureRowContinuity.
1528 (setSelectionPaths) Remove the current selection by clearing it.
1530 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
1532 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
1533 parameters consistendly, documented some methods.
1534 * java/sql/Blob.java: Likewise.
1535 * java/sql/CallableStatement.java: Likewise.
1536 * java/sql/Clob.java: Likewise.
1537 * java/sql/Connection.java: Likewise.
1538 * java/sql/DatabaseMetaData.java: Likewise.
1539 * java/sql/Date.java: Likewise.
1540 * java/sql/Driver.java: Likewise.
1541 * java/sql/PreparedStatement.java: Likewise.
1542 * java/sql/ResultSet.java: Likewise.
1543 * java/sql/ResultSetMetaData.java: Likewise.
1544 * java/sql/SQLData.java: Likewise.
1545 * java/sql/SQLOutput.java: Likewise.
1546 * java/sql/SQLWarning.java: Likewise.
1547 * java/sql/Statement.java: Likewise.
1548 * java/sql/Time.java: Likewise.
1549 * java/sql/Timestamp.java: Likewise.
1551 2006-04-21 Tom Tromey <tromey@redhat.com>
1554 * gnu/java/net/protocol/ftp/FTPConnection.java
1555 (changeWorkingDirectory): Do nothing if path is empty.
1557 2006-04-21 Tom Tromey <tromey@redhat.com>
1560 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
1561 case where no '/' appears in 'location'.
1563 2006-04-21 Tom Tromey <tromey@redhat.com>
1565 * java/security/Security.java (<clinit>): Add all default providers.
1566 * resource/java/security/classpath.security: Added comment.
1568 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1570 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
1571 * javax/swing/SpinnerNumberModel.java: Likewise.
1573 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1575 * javax/swing/SpinnerDateModel.java
1576 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
1577 checking to call compareTo() on start and end.
1579 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
1581 * java/lang/reflect/AccessibleObject.java:
1582 Implemented AnnotatedElement.
1583 (getAnnotation, getAnnotations, getDeclaredAnnotations,
1584 isAnnotationPresent): New methods.
1586 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1588 * javax/swing/border/AbstractBorder.java: API doc updates,
1589 * javax/swing/border/BevelBorder.java: Likewise,
1590 * javax/swing/border/CompoundBorder.java: Likewise,
1591 * javax/swing/border/EtchedBorder.java: Likewise,
1592 * javax/swing/border/LineBorder.java: Likewise,
1593 * javax/swing/border/MatteBorder.java: Likewise,
1594 * javax/swing/border/TitledBorder.java: Likewise.
1596 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1598 * gnu/javax/crypto/cipher/Anubis.java:
1599 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
1601 * gnu/javax/crypto/cipher/Blowfish.java:
1602 (selfTest): Likewise,
1603 * gnu/javax/crypto/cipher/Cast5.java:
1604 (selfTest): Likewise,
1605 * gnu/javax/crypto/cipher/Khazad.java:
1606 (selfTest): Likewise,
1607 * gnu/javax/crypto/cipher/Rijndael.java:
1608 (selfTest): Likewise,
1609 * gnu/javax/crypto/cipher/Serpent.java:
1610 (selfTest): Likewise,
1611 * gnu/javax/crypto/cipher/Square.java:
1612 (selfTest): Likewise,
1613 * gnu/javax/crypto/cipher/Twofish.java:
1614 (selfTest): Likewise,
1615 * gnu/javax/crypto/mac/UMac32.java:
1616 (selfTest): Likewise,
1617 * gnu/javax/crypto/prng/CSPRNG.java:
1618 (getSystemInstance): Likewise.
1620 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1622 * gnu/java/security/hash/Haval.java:
1623 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
1625 * gnu/java/security/hash/MD2.java:
1626 (selfTest): Likewise,
1627 * gnu/java/security/hash/MD4.java:
1628 (selfTest): Likewise,
1629 * gnu/java/security/hash/MD5.java:
1630 (selfTest): Likewise,
1631 * gnu/java/security/hash/RipeMD128.java:
1632 (selfTest): Likewise,
1633 * gnu/java/security/hash/RipeMD160.java:
1634 (selfTest): Likewise,
1635 * gnu/java/security/hash/Sha160.java:
1636 (selfTest): Likewise,
1637 * gnu/java/security/hash/Sha256.java:
1638 (selfTest): Likewise,
1639 * gnu/java/security/hash/Sha384.java:
1640 (selfTest): Likewise,
1641 * gnu/java/security/hash/Sha512.java:
1642 (selfTest): Likewise,
1643 * gnu/java/security/hash/Tiger.java:
1644 (selfTest): Likewise,
1645 * gnu/java/security/hash/Whirlpool.java:
1646 (selfTest): Likewise.
1648 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1650 * javax/swing/plaf/basic/BasicTreeUI.java
1651 (PropertyChangeHandler.propertyChange): Set the row mapper
1652 for the selection model.
1653 * javax/swing/tree/AbstractLayoutCache.java
1654 (NodeDimensions.getNodeDimensions): Explained.
1655 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
1656 Implemented. (setRowHeight): Invalidate sizes.
1657 * javax/swing/tree/DefaultTreeSelectionModel.java
1658 (addSelectionPath, addSelectionPaths): Update lead row.
1659 (removeSelectionPath, removeSelectionPaths): Do nothing if
1661 (clone): Only clone list selection model if it is not null.
1662 (getRow): New method. (isRowSelected, getLeadSelectionRow,
1663 setSelectionPath, setSelectionPaths, toString): Implemented.
1664 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
1665 Pass the empty rectangle. (isFixedRowHeight): New method.
1666 * javax/swing/tree/VariableHeightLayoutCache.java
1667 (NodeRecord.getBounds): Pass the empty rectangle.
1669 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1671 * gnu/java/security/Properties.java
1672 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
1674 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1676 * gnu/classpath/jdwp/util/Value.java
1677 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
1678 creating new Boolean instances.
1680 2006-04-20 Mark Wielaard <mark@klomp.org>
1682 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
1683 PrivilegedAction. Access awt.toolkit through SystemProperties.
1685 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1687 * javax/swing/ActionMap.java: Removed unused imports,
1688 * javax/swing/DefaultListSelectionModel.java
1689 (clearSelection): Removed unused label,
1690 * javax/swing/JScrollPane.java: Removed unused imports,
1691 * javax/swing/UIManager.java: Likewise,
1692 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
1694 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1696 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
1697 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
1698 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
1699 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
1700 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
1702 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1704 * java/sql/Array.java: Fixed Eclipse API doc warnings,
1705 * java/sql/Blob.java: Likewise,
1706 * java/sql/CallableStatement.java: Likewise,
1707 * java/sql/Clob.java: Likewise,
1708 * java/sql/Connection.java: Likewise,
1709 * java/sql/DatabaseMetaData.java: Likewise,
1710 * java/sql/Date.java: Likewise,
1711 * java/sql/Driver.java: Likewise,
1712 * java/sql/PreparedStatement.java: Likewise,
1713 * java/sql/ResultSet.java: Likewise,
1714 * java/sql/ResultSetMetaData.java: Likewise,
1715 * java/sql/SQLData.java: Likewise,
1716 * java/sql/SQLOutput.java: Likewise,
1717 * java/sql/SQLWarning.java: Likewise,
1718 * java/sql/Statement.java: Likewise,
1719 * java/sql/Time.java: Likewise,
1720 * java/sql/Timestamp.java: Likewise.
1722 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1724 * java/sql/DriverManager.java
1725 (setLoginTimeout): Use incoming argument,
1726 (setLogStream): Likewise,
1727 (println): Fix API doc comment.
1729 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1731 * javax/swing/JMenuItem.java
1732 (paramString): Updated API docs,
1733 (getAccessibleContext): Added API docs,
1734 (AccessibleJMenuItem.stateChanged): Marked as stub,
1735 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
1736 * javax/swing/JSlider.java
1737 (paramString): Fix for API docs,
1738 * javax/swing/JToolTip.java
1739 (getAccessibleContext): Fix for API docs.
1741 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1743 * javax/swing/JRadioButtonMenuItem.java
1744 (paramString): Reimplemented,
1745 (getAccessibleContext): API docs added,
1746 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
1748 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
1750 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1752 * javax/swing/plaf/basic/BasicTreeUI.java
1753 (finish): Invalidate path bounds.
1754 (getMaxHeight): Set the row height to the layout cache.
1755 (startEditing): Do not request to recalculated
1756 row height and preferred size.
1757 * javax/swing/tree/DefaultTreeCellEditor.java
1758 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
1760 * javax/swing/tree/FixedHeightLayoutCache.java:
1763 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1765 * javax/swing/JDesktopPane.java
1766 (paramString): Reimplemented,
1767 plus API doc updates in AccessibleJDesktopPane.
1769 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1771 * javax/swing/ImageIcon.java:
1772 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
1773 (AccessibleImageIcon.getLocale): Declared exception and always return
1775 (getAccessibleContext): Updated API docs,
1776 plus updated API docs all over AccessibleImageIcon.
1778 2006-04-20 Roman Kennke <kennke@aicas.com>
1781 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1782 (paintText): Fetch the ascent only once. Add the ascent to
1783 the text rect also when tabs are disabled.
1785 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
1787 * java/util/Locale.java (defaultLocale): Set to en_US per
1788 default and use user.country but prioritize user.region if
1790 (getLocale(String language, String country)): Renamed region to
1792 (getLocale(String language, String region, String variant)):
1794 (getAvailableLocales): Likewise.
1796 2006-04-20 Roman Kennke <kennke@aicas.com>
1799 * javax/swing/JList.java
1800 (JList()): Call init() with DefaultListModel instance.
1801 (JList(Object[])): Call init() with null.
1802 (JList(Vector)): Call init() with null.
1803 (JList(ListModel)): Call init() with model.
1804 (init): Changed to take the model as argument. Don't call
1805 setter methods and initialize stuff directly instead.
1806 (getCellBounds): Check if UI is null.
1808 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
1810 * javax/swing/text/WrappedPlainView.java: Initialize
1811 WrappedLine.numLines with -1.
1812 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
1813 numLines is -1 and reculcalate the value appropriately.
1814 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
1815 allocation area is empty.
1817 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1819 * javax/swing/JTabbedPane.java
1820 (AccessibleJTabbedPane.stateChanged): Marked as stub,
1821 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
1822 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
1823 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
1824 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
1825 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
1826 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
1827 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
1828 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
1829 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
1830 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
1831 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
1832 (Page.getAccessibleStateSet): Likewise,
1833 (Page.getAccessibleIndexInParent): Likewise.
1835 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
1837 * javax/swing/JProgressBar.java
1838 (paramString): Reimplemented.
1840 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
1842 * javax/swing/JButton.java: Updated API docs all over.
1844 2006-04-19 Roman Kennke <kennke@aicas.com>
1846 * java/awt/Toolkit.java
1847 (getDefaultToolkit): Use system classloader to load the
1850 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
1852 * javax/swing/text/DefaultCaret.java:
1853 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
1854 instead of DefaultCaret.setDot.
1856 2006-04-19 Roman Kennke <kennke@aicas.com>
1858 * native/jni/java-net/local.c
1859 (local_read): Handle EINTR correctly.
1860 (local_write): Likewise.
1862 2006-04-19 Riccardo Mottola <multix@gmail.com>
1864 PR classpath/27062, PR classpath/25650:
1865 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
1867 2006-04-19 Tom Tromey <tromey@redhat.com>
1869 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
1870 value of 'pureMinutes'. PR classpath/27189.
1872 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
1874 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
1875 boot packages list from the META-INF/INDEX.LIST file if it exists.
1877 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
1879 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
1880 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
1881 (ITERATION_COUNT): Removed modifiers.
1882 (PASSWORD): Likewise.
1884 (PASSWORD_ENCODING): New property.
1885 (DEFAULT_PASSWORD_ENCODING): New constant.
1886 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
1887 material (bytes) before a password (chars).
1889 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
1891 * javax/swing/JMenu.java
1892 (getAccessibleChildrenCount): Marked as stub,
1893 (getAccessibleChild): Likewise,
1894 (getAccessibleSelection): Likewise,
1895 (getAccessibleSelection(int)): Likewise,
1896 (isAccessibleChildSelected): Likewise,
1897 (getAccessibleSelectionCount): Likewise,
1898 (addAccessibleSelection): Likewise,
1899 (removeAccessibleSelection): Likewise,
1900 (clearAccessibleSelection): Likewise,
1901 (selectAllAccessibleSelection): Likewise.
1903 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
1905 * javax/swing/JSplitPane.java
1906 (getAccessibleContext): Added API docs,
1907 (paramString): Reimplemented,
1908 (setOrientation): Updated API docs,
1909 (setResizeWeight): Added argument checking and event notification.
1911 2006-04-18 Casey Marshall <csm@gnu.org>
1913 Fixes PR classpath/25673
1914 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
1915 property is set. Update JavaDoc to reflect this.
1917 2006-04-18 Lillian Angel <langel@redhat.com>
1919 * gnu/xml/dom/DomDocument.java
1920 (setCheckingCharacters): New function used to set
1921 checkingCharacters flag.
1922 * gnu/xml/dom/html2/DomHTMLParser.java
1923 (parseDocument): Added call to set checkingCharacters flag
1926 2006-04-18 Lillian Angel <langel@redhat.com>
1928 * gnu/xml/dom/DomDocument.java
1929 (checkNCName): Reverted last patch. Added check for colon at
1930 last position back in.
1932 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
1934 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
1936 * examples/gnu/classpath/examples/swing/Demo.java:
1937 (mkMenuBar): Added NavigationFilter demo.
1939 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
1941 * javax/swing/JSeparator.java: Updated API docs all over, plus
1942 (setOrientation): Fire PropertyChangeEvent,
1943 (paramString): Reimplemented.
1945 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
1947 * javax/swing/plaf/basic/BasicTextUI.java: Implemented.
1949 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
1951 * javax/swing/JPanel.java: Updated API docs all over, plus
1952 (JPanel(LayoutManager, boolean)): Pass on null layout, set
1955 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
1957 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
1959 * examples/gnu/classpath/examples/swing/Demo.java:
1960 (mkMenuBar): Added DocumenFilter demo.
1962 2006-04-18 Tom Tromey <tromey@redhat.com>
1964 * doc/www.gnu.org/include/layout.wml: Add FMJ.
1966 2006-04-18 Mark Wielaard <mark@klomp.org>
1968 Reported by John Sullivan (johns@fsf.org)
1969 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
1971 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
1973 * javax/swing/JInternalFrame.java
1974 (JDesktopIcon.getAccessibleContext): Added API docs,
1975 (getDefaultCloseOperation): Likewise,
1976 (paramString): Added 'title' attribute,
1977 (setDefaultCloseOperation): Added API docs.
1979 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
1981 * javax/swing/JSlider.java
1982 (paramString): Reimplemented.
1984 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
1986 * javax/swing/JComboBox.java
1987 (paramString): Reimplemented,
1988 (getAccessibleContext): Added API docs,
1989 (AccessibleJComboBox.getAccessibleRole): Likewise.
1991 2006-04-18 Roman Kennke <kennke@aicas.com>
1993 * javax/swing/RepaintManager.java
1994 (dirtyComponentsWork): New field.
1995 (ComponentComparator): Use dirtyComponentsWork instead of
1997 (RepaintManager): Initialize new field.
1998 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
1999 and work on the copy.
2001 2006-04-18 Roman Kennke <kennke@aicas.com>
2003 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2004 (setBounds): Call reshape().
2005 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2006 (SwingContainerPeer): Changed argument to be a Component
2007 instead a Container.
2008 (getInsets): Call insets().
2009 (handleMouseEvent): Added null check to avoid NPE.
2010 (handleMouseMotionEvent): Added null check to avoid NPE.
2012 2006-04-18 Roman Kennke <kennke@aicas.com>
2015 * javax/swing/JComponent.java
2016 (paintChildrenWithOverlap): When one child is not opaque, propagate
2017 the dirty rectangles to the next child.
2018 (paintChildrenOptimized): Removed unnecessary 'optimization'.
2019 This actually didn't work right and probably gained nothing.
2021 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2023 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
2024 (moveToCellBeingEdited): Do not clone the rectangle here.
2026 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
2028 * javax/swing/plaf/basic/BasicSliderUI.java
2029 (getActionMap): Fixed lookup key,
2030 (createActionMap): Modified actions to fetch slider/ui from the event
2033 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
2035 * javax/swing/JToolBar.java
2036 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
2037 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
2038 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
2039 (getAccessibleContext): Likewise.
2041 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
2043 * java/lang/Enum.java: Documented.
2045 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
2048 Mention merge of instrumentation classes.
2049 * doc/vmintegration.texinfo:
2050 Move instrumentation to correct section.
2052 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
2054 * gnu/java/lang/InstrumentationImpl.java:
2055 Moved from java.lang.
2056 * java/lang/InstrumentationImpl.java:
2058 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
2059 Moved from java.lang.
2060 * vm/reference/java/lang/VMClassLoader.java:
2061 Corrected reference to InstrumentationImpl.
2062 * vm/reference/java/lang/VMInstrumentationImpl.java:
2065 2005-12-14 Nicolas Geoffray <nicolas.geoffray@menlina.com>
2067 * vm/reference/java/lang/VMClassLoader
2068 (defineClassWithTransformers): New method.
2069 (instrumenter): New Field.
2071 2005-12-04 Nicolas Geoffray <nicolas.geoffray@menlina.com>
2073 * vm/reference/java/lang/VMInstrumentationImpl.java
2074 (redefineClasses): Added an extra parameter of type
2075 java.lang.instrument.Instrument.
2076 * java/lang/InstrumentationImpl.java
2077 (redefineClasses): Added the Instrumentation object
2078 to the arguments of VMInstrumentationImpl.redefineClasses
2081 2005-12-03 Nicolas Geoffray <nicolas.geoffray@menlina.com>
2083 * java/lang/InstrumentationImpl.java:
2085 * vm/reference/java/lang/VMInstrumentationImpl.java:
2088 2006-04-17 Jeroen Frijters <jeroen@frijters.net>
2090 * java/util/Collection.java: Implemented java.lang.Iterable.
2092 2006-04-17 Jeroen Frijters <jeroen@frijters.net>
2094 * java/lang/Boolean.java: Implemented Comparable.
2095 * java/lang/ClassLoader.java
2096 (getResources): Not final anymore in 1.5.
2097 * java/lang/Enum.java, java/lang/Iterable.java:
2098 Copied from generics branch.
2099 * java/lang/Thread.java (destroy): Marked deprecated.
2100 * java/lang/ThreadLocal.java (remove): New method.
2102 2006-04-17 Dalibor Topic <robilad@kaffe.org>
2105 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
2107 * native/fdlibm/Makefile.am,
2108 native/jni/classpath/Makefile.am:
2109 Don't use -module and -version-info for convenience libraries LDFLAGS.
2110 Fixes libtool warnings.
2112 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
2114 * javax/swing/plaf/basic/BasicComboBoxUI.java:
2115 (installKeyboardActions): Marked as stub,
2116 (uninstallKeyboardActions): Likewise,
2117 * javax/swing/plaf/basic/BasicComboPopup.java:
2118 (installKeyboardActions): Marked as stub,
2119 (uninstallKeyboardActions): Likewise,
2120 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2121 (installKeyboardActions): Marked as stub,
2122 (uninstallKeyboardActions): Likewise,
2123 * javax/swing/plaf/basic/BasicLabelUI.java:
2124 (installKeyboardActions): Marked as stub,
2125 (uninstallKeyboardActions): Likewise,
2126 * javax/swing/plaf/basic/BasicListUI.java:
2127 (installKeyboardActions): Marked as stub,
2128 (uninstallKeyboardActions): Likewise,
2129 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2130 (installKeyboardActions): Marked as stub,
2131 (uninstallKeyboardActions): Likewise,
2132 * javax/swing/plaf/basic/BasicMenuUI.java:
2133 (installKeyboardActions): Marked as stub,
2134 (uninstallKeyboardActions): Likewise,
2135 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2136 (installKeyboardActions): Marked as stub,
2137 (uninstallKeyboardActions): Likewise,
2138 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2139 (installKeyboardActions): Marked as stub,
2140 (uninstallKeyboardActions): Likewise,
2141 * javax/swing/plaf/basic/BasicScrollBarUI.java:
2142 (installKeyboardActions): Marked as stub,
2143 (uninstallKeyboardActions): Likewise,
2144 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
2145 (installKeyboardActions): Marked as stub,
2146 (uninstallKeyboardActions): Likewise,
2147 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2148 (installKeyboardActions): Marked as stub,
2149 (uninstallKeyboardActions): Likewise,
2150 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2151 (installKeyboardActions): Marked as stub,
2152 (uninstallKeyboardActions): Likewise,
2153 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
2154 (installKeyboardActions): Marked as stub,
2155 (uninstallKeyboardActions): Likewise,
2156 * javax/swing/plaf/basic/BasicTableUI.java:
2157 (installKeyboardActions): Marked as stub,
2158 (uninstallKeyboardActions): Likewise,
2159 * javax/swing/plaf/basic/BasicTextUI.java:
2160 (installKeyboardActions): Marked as stub,
2161 (uninstallKeyboardActions): Likewise,
2162 * javax/swing/plaf/basic/BasicToolBarUI.java:
2163 (installKeyboardActions): Marked as stub,
2164 (uninstallKeyboardActions): Likewise.
2166 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
2168 * javax/swing/plaf/basic/BasicSliderUI.java
2169 (installKeyboardActions): Implemented,
2170 (uninstallKeyboardActions): Implemented,
2171 (scrollByBlock): Accept any value for direction,
2172 (scrollByUnit): Likewise,
2173 (getInputMap): New method,
2174 (getActionMap): New method,
2175 (createActionMap): New method.
2177 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
2179 * java/lang/annotation/Annotation.java:
2182 2005-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
2184 * java/lang/reflect/AnnotatedElement.java: Documented.
2186 2005-01-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
2188 * java/lang/reflect/AnnotatedElement.java:
2189 Added import of java.lang.annotation.Annotation
2191 2004-08-26 Tom Tromey <tromey@redhat.com>
2193 * java/lang/reflect/AnnotatedElement.java: New file.
2195 2004-08-07 Tom Tromey <tromey@redhat.com>
2197 * java/lang/annotation/Annotation.java: New file.
2199 2005-12-13 Tom Tromey <tromey@redhat.com>
2201 * java/lang/instrument/ClassDefinition.java: Reformatted.
2202 * java/lang/instrument/UnmodifiableClassException.java: Reformatted.
2203 * java/lang/instrument/IllegalClassFormatException.java: Reformatted.
2205 2005-12-13 Tom Tromey <tromey@redhat.com>
2207 * java/lang/instrument/ClassDefinition.java (ClassDefinition): Now
2210 2005-12-05 Tom Tromey <tromey@redhat.com>
2212 * java/lang/instrument/Instrumentation.java (redefineClasses): Javadoc
2214 * java/lang/instrument/ClassFileTransformer.java (transform): Javadoc
2217 2005-12-03 Nicolas Geoffray <nicolas.geoffray@menlina.com>
2219 * java/lang/instrument: New directory.
2220 * java/lang/instrument/ClassDefinition.java:
2222 * java/lang/instrument/ClassFileTransformer.java:
2224 * java/lang/instrument/IllegalClassFormatException.java:
2226 * java/lang/instrument/Instrumentation.java:
2228 * java/lang/instrument/UnmodifiableClassException.java:
2231 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
2233 * doc/vmintegration.texinfo:
2236 2006-04-16 Tom Tromey <tromey@redhat.com>
2238 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
2240 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
2243 Mention generics additions to the VM interface.
2244 * doc/vmintegration.texinfo:
2245 Added information on VMClass 1.5 additions and
2248 2006-04-16 Casey Marshall <csm@gnu.org>
2250 * NEWS: add an entry mentioning local socket support.
2252 2006-04-16 Casey Marshall <csm@gnu.org>
2254 * configure.ac (--enable-local-sockets): new enable argument.
2255 (ENABLE_LOCAL_SOCKETS): new define.
2256 * native/jni/java-net/Makefile.am (local_sources): new variable.
2257 (lib_javanet_la_SOURCES): append `local_sources.'
2258 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
2259 * native/jni/java-net/local.c,
2260 * native/jni/java-net/local.h,
2261 * include/gnu_java_net_local_LocalSocketImpl.h,
2262 * gnu/java/net/local/LocalServerSocket.java,
2263 * gnu/java/net/local/LocalSocket.java,
2264 * gnu/java/net/local/LocalSocketAddress.java,
2265 * gnu/java/net/local/LocalSocketImpl.java: new files.
2267 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2269 * javax/accessibility/AccessibleAction.java:
2270 (DECREMENT): Added field.
2271 (INCREMENT): Likewise.
2272 (TOGGLE_EXPAND): Likewise.
2273 * javax/accessibility/AccessibleRole.java:
2274 (EDITBAR): Added field.
2277 (PARAGRAPH): Likewise.
2278 (PROGRESS_MONITOR): Likewise.
2280 * javax/accessibility/AccessibleState.java:
2281 (INDETERMINATE): Added field.
2282 (MANAGES_DESCENDANTS): Likewise.
2283 (TRUNCATED): Likewise.
2284 * vm/reference/java/lang/reflect/Constructor.java:
2285 Fixed copyright header to match generics branch.
2286 * vm/reference/java/lang/reflect/Field.java:
2287 Fixed copyright header to match generics branch.
2288 (toGenericString()): Ported from generics branch.
2289 (getGenericType()): Likewise.
2290 (getSignature()): Likewise.
2292 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
2294 * javax/swing/text/DefaultCaret.java:
2295 (getBypass): New method.
2296 (moveDot): Rewritten.
2297 (moveDotImpl): New method.
2298 (setDot): Rewritten.
2299 (setDotImpl): New method.
2300 (DefaultCaret.Bypass): New class.
2302 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
2304 * javax/swing/text/AbstractDocument.java:
2305 (getBypass): New method.
2306 (insertString): Rewritten.
2307 (remove): Rewritten.
2308 (replace): Rewritten.
2309 (insertStringImpl): New method.
2310 (removeImpl): New method.
2311 (replaceImpl): New method.
2312 (AbstractDocument.Bypass): New class.
2314 2006-04-14 Casey Marshall <csm@gnu.org>
2316 Fixes PR classpath/24642
2317 * NEWS: add note about SecureRandom changes, and addition of
2319 * java/security/SecureRandom.java (isSeeded): new field.
2320 (setSeed, setSeed): set `isSeeded' to `true.'
2321 (nextBytes): seed this instance if `isSeeded' is false.
2322 (getSeed): call `generateSeed.'
2323 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
2324 (generateSeed, generateSeed): new methods.
2325 * vm/reference/java/security/VMSecureRandom.java: new file.
2327 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
2329 * javax/swing/text/FieldView.java:
2330 (paint): Apply clipping rectangle of the allocation area
2331 before painting the text.
2332 * javax/swing/text/DefaultHighlighter.java:
2333 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
2334 compute union and intersection, calculate intersection with allocation
2335 area before painting, adjust x and width when painting multiple lines
2336 by the range of the allocation area.
2338 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
2340 * javax/swing/text/DefaultHighlighter.java:
2341 (paintLayeredHighlights): Marked as stub.
2343 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
2345 * javax/swing/plaf/basic/BasicTextFieldUI.java:
2346 (propertyChanged): Added note, change color only if current background
2347 is a ColorUIResource instance.
2349 2006-04-14 Tom Tromey <tromey@redhat.com>
2351 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
2355 2006-04-14 Tom Tromey <tromey@redhat.com>
2357 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
2359 2006-04-14 Mark Wielaard <mark@klomp.org>
2361 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
2362 thread group when exceptionHandler isn't set.
2363 * vm/reference/java/lang/VMThread.java (run): Use result of
2364 thread.getUncaughtExceptionHandler directly.
2366 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
2368 * javax/swing/JSplitPane.java
2369 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
2370 (AccessibleJSplitPane.getAccessibleRole): Implemented,
2371 (AccessibleJSplitPane.getAccessibleValue): Implemented,
2372 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
2373 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
2374 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
2375 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
2377 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2379 * gnu/javax/crypto/assembly/Assembly.java,
2380 * gnu/javax/crypto/assembly/Cascade.java,
2381 * gnu/javax/crypto/assembly/CascadeStage.java,
2382 * gnu/javax/crypto/assembly/CascadeTransformer.java,
2383 * gnu/javax/crypto/assembly/Direction.java,
2384 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
2385 * gnu/javax/crypto/assembly/ModeStage.java,
2386 * gnu/javax/crypto/assembly/Operation.java,
2387 * gnu/javax/crypto/assembly/PaddingTransformer.java,
2388 * gnu/javax/crypto/assembly/Stage.java,
2389 * gnu/javax/crypto/assembly/Transformer.java,
2390 * gnu/javax/crypto/cipher/Square.java,
2391 * gnu/javax/crypto/jce/cipher/AESSpi.java,
2392 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
2393 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
2394 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
2395 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
2396 * gnu/javax/crypto/jce/cipher/DESSpi.java,
2397 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
2398 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
2399 * gnu/javax/crypto/jce/cipher/PBES2.java,
2400 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
2401 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
2402 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
2403 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
2404 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
2405 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
2406 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
2407 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
2408 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
2409 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
2410 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
2411 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
2412 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
2413 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
2414 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
2415 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
2416 * gnu/javax/crypto/jce/mac/MacAdapter.java,
2417 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
2418 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
2419 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
2420 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
2421 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
2422 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
2423 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
2424 * gnu/javax/crypto/pad/WrongPaddingException.java,
2425 * gnu/javax/crypto/prng/ICMGenerator.java,
2426 * gnu/javax/crypto/prng/IPBE.java,
2427 * gnu/javax/crypto/prng/PBKDF2.java,
2428 * gnu/javax/crypto/sasl/ConfidentialityException.java,
2429 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
2430 * gnu/javax/crypto/sasl/srp/IALG.java,
2431 * gnu/javax/crypto/sasl/srp/SRPServer.java:
2432 Remove CVS revision tags.
2434 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2436 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
2437 Removed debugging code.
2439 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2441 * javax/swing/JTree.java (getPreferredSize): Return the
2443 * javax/swing/ViewportLayout.java (layoutContainer):
2444 Do not manage the view size and location if the view is
2445 in the scroll pane. Also manage size and location for
2446 Scrollable, if it is not in the scroll pane.
2447 * javax/swing/plaf/basic/BasicTreeUI.java,
2448 * javax/swing/tree/FixedHeightLayoutCache.java,
2449 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
2450 * gnu/javax/swing/tree/GnuPath.java: New file.
2452 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
2454 * javax/swing/JToolBar.java
2455 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
2457 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
2459 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
2460 (createCustomColoredPanel): Set background color as demo intends,
2461 changed custom selection color to red.
2462 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
2463 Replaced various single variables with a Compound instance, added
2464 custom highlighter demo.
2465 (TextFieldDemo.DemoHighlightPainter): New class (taken from
2467 (TextFieldDemo.Compound): New class.
2468 (createTextFieldCompound): New method.
2469 (createLeftAlignedPanel): Rewritten.
2470 (createRightAlignedPanel): Rewritten.
2471 (createCenteredPanel): Rewritten.
2472 (createCustomColoredPanel): Removed.
2473 (createCustomColoredPanel1): New method.
2474 (createCustomColoredPanel2): New method.
2475 (createCustomBordersPanel): New method.
2476 (createMiscPanel): Rewritten.
2477 (actionPerformed): Rewritten.
2478 (createContent): Add panels of new compounds to main panel, put
2479 main panel in a JScrollPane.
2480 * examples/gnu/classpath/examples/swing/Demo.java:
2481 (Demo): Put desktop in a scrollpane.
2482 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
2483 method via reflection.
2485 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
2487 * javax/swing/plaf/metal/MetalDesktopIconUI.java
2488 (createUI): Return new instance rather than shared instance.
2490 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
2492 * javax/swing/text/FieldView.java:
2493 (checkContainer): Call updateVisibility() at the end.
2495 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
2497 * java/awt/event/MouseEvent.java:
2498 (paramString): Add value of 'consumed' variable in string.
2500 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
2503 * javax/swing/JTextField.java: Removed scrollOffset variable.
2504 (JTextField): Moved up initialization of horizontalVisibility field.
2505 (getScrollOffset): Implemented.
2506 (setScrollOffset): Implemented.
2507 (getHorizonztalVisibility): Removed note.
2508 (scrollRectToVisible): New method.
2509 * javax/swing/text/FieldView.java: Added cachedSpan variable.
2510 (checkContainer): New method.
2511 (updateVisibility): New method.
2512 (calculateHorizontalSpan): New method.
2513 (adjustAllocation): Removed unneeded local variables, added code
2514 to handle scrolling.
2515 (getPreferredSpan): Use new method calculateHorizontalSpan,
2516 avoid calculation by returning cached value cachedSpan.
2517 (paint): Added check whether the hosted component is a JTextField.
2518 (insertUpdate): Invalidate cached span value, update visibility
2520 (removeUpdate): Dito.
2521 (changeUpdate): Dito.
2523 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
2525 * javax/swing/JInternalFrame.java
2526 (setTitle): Set old value to 'this.title', not 'title'.
2528 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
2530 * javax/swing/JInternalFrame.java
2531 (AccessibleJInternalFrame.getAccessibleName): Implemented,
2532 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
2533 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
2534 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
2535 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
2536 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
2537 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
2538 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
2539 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
2540 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
2542 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
2544 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
2546 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
2548 (JInternalFrame()): Use "" for default title,
2549 (getAccessibleContext): Updated API docs,
2550 (getDesktopIcon): Likewise,
2551 (getLayer): Check for layer in client properties, and return
2552 DEFAULT_LAYER if no setting is found,
2553 (getTitle): Updated API docs,
2554 (setDesktopIcon): Fire property change event.
2556 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2558 * javax/swing/ScrollPaneLayout.java (layoutContainer):
2559 Mind that the presence of one scroll bar may cause the
2562 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
2564 * gnu/regexp/REToken.java(unicodeAware): New field,
2565 (toLowerCase, toUpperCase): New methods.
2566 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
2567 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
2568 Use toLowerCase and toUpperCase defined in REToken instead of
2569 those defined in java.lang.Character.
2570 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
2571 (initialize): Sets unicodeAware of the generated REToken to false if
2572 REG_ICASE_USASCII is set.
2573 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
2574 to lower case and keep the original value.
2575 (matchOneString): Use the new method charEquals to compare characters.
2576 (charEquals): New method to compare characters.
2577 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
2579 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
2581 * javax/swing/event/InternalFrameEvent.java:
2582 (paramString): Implemented,
2583 updated API docs all over.
2585 2006-04-12 Casey Marshall <csm@gnu.org>
2587 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
2588 (Generator.setup): call `fillBlock.'
2590 2006-04-12 Casey Marshall <csm@gnu.org>
2592 Fixes PR classpath/24481.
2593 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
2594 initialize the adaptee.
2595 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
2596 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
2597 addRandomBytes): new methods.
2599 2006-04-12 Tom Tromey <tromey@redhat.com>
2601 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
2604 2006-04-12 Lillian Angel <langel@redhat.com>
2606 * gnu/xml/dom/DomDocument.java
2607 (checkNCName): Removed unneeded part of check.
2608 * gnu/xml/dom/DomNode.java
2609 (dispatchEvent): Added code to grow ancestors array
2610 if needed. Changed checks to use depth of node instead.
2611 Fixes an infinite loop and segmentation fault.
2612 * gnu/xml/dom/html2/DomHTMLParser.java
2613 (handleEndTag): No need to use/make a copy of the node.
2614 Causes an infinite loop.
2616 2006-04-12 Tom Tromey <tromey@redhat.com>
2619 * java/util/BitSet.java (get): Early return if to==from.
2621 2006-04-12 Mark Wielaard <mark@klomp.org>
2623 * java/security/SecureRandom.java (algorithm): New private field.
2624 (SecureRandom): Initialize algorithm.
2625 (SecureRandom(SecureRandomSpi,Provider,String)): New private
2627 (getInstance): Call 3 argument constructor.
2628 (getAlgorithm): New method.
2630 2006-04-12 Mark Wielaard <mark@klomp.org>
2632 Port UncaughtExceptionHandler support from generics branch.
2633 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
2635 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
2637 * java/lang/Thread.java:
2638 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
2639 Added docs and security check.
2640 (getUncaughtExceptionHandler()): Documented.
2641 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
2642 Added docs and security check.
2643 (getDefaultUncaughtExceptionHandler()): Documented.
2644 (getId()): Documented.
2646 2006-04-12 Tom Tromey <tromey@redhat.com>
2648 * vm/reference/java/lang/VMThread.java (run): Use thread's
2650 * java/lang/Thread.java (defaultHandler): New field.
2651 (setDefaultUncaughtExceptionHandler,
2652 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
2653 getUncaughtExceptionHandler): New methods.
2654 * java/lang/ThreadGroup.java (ThreadGroup): Implements
2655 UncaughtExceptionHandler.
2656 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
2658 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
2660 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
2661 buffer. Loop only once to determine Utf8 length when possible. Make
2662 the inner loop bounded by buf.length.
2663 (getUTFlength): New private method.
2664 (buf): New private field.
2666 2006-04-11 Lillian Angel <langel@redhat.com>
2668 * gnu/xml/dom/DomNodeIterator.java
2669 (nextNode): Moved line of code to avoid an infinite loop.
2670 * gnu/xml/dom/html2/DomHTMLAppletElement.java
2671 (getCls): New function.
2675 * gnu/xml/dom/html2/DomHTMLDocument.java:
2676 Added DomHTMLEmbedElement to map.
2677 (getApplets): Added node name, 'embed'.
2678 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
2680 * gnu/xml/dom/html2/DomHTMLObjectElement.java
2681 (getJavaCode): New function.
2682 (setJavaCode): Likewise.
2683 (getObject): Likewise.
2684 (setObject): Likewise.
2685 (getJavaObject): Likewise.
2686 (setJavaObject): Likewise.
2687 (getJavaArchive): Likewise.
2688 (setJavaArchive): Likewise.
2689 (getJavaCodeBase): Likewise.
2690 (setJavaCodeBase): Likewise.
2691 (getJavaType): Likewise.
2692 (setJavaType): Likewise.
2693 (setMayscript): Likewise.
2694 (getMayscript): Likewise.
2695 (setScriptable): Likewise.
2696 (getScriptable): Likewise.
2697 * gnu/xml/dom/html2/DomHTMLParser.java
2698 (parseDocument): Should not check for well formedness
2699 when parsing an html document.
2700 * java/awt/Window.java
2701 (dispatchEvent): Added check to avoid NPE.
2703 2006-04-10 Tom Tromey <tromey@redhat.com>
2705 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
2707 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
2708 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
2710 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
2712 * javax/swing/plaf/basic/BasicTextUI.java:
2713 (getNextVisualPositionFrom): Marked as stub.
2715 2006-04-10 Roman Kennke <kennke@aicas.com>
2717 * javax/swing/plaf/basic/BasicLookAndFeel.java
2718 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
2719 and create the defaults as strings constants.
2720 (loadSystemColors): Implemented stubbed method.
2722 2006-04-10 Tom Tromey <tromey@redhat.com>
2724 * .settings/org.eclipse.core.resources.prefs: Set encoding for
2727 2006-04-10 Tom Tromey <tromey@redhat.com>
2729 * java/io/CharArrayWriter.java (append): Javadoc fix.
2732 2006-04-10 Tom Tromey <tromey@redhat.com>
2734 * javax/accessibility/AccessibleTextSequence.java: New file.
2735 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
2737 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
2738 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
2739 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
2740 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
2741 * javax/accessibility/AccessibleExtendedText.java: New file.
2742 * javax/accessibility/AccessibleContext.java
2743 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
2744 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
2745 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
2746 * javax/accessibility/AccessibleAttributeSequence.java: New file.
2747 * javax/accessibility/AccessibleStreamable.java: New file.
2748 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
2751 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2753 * javax/swing/tree/AbstractLayoutCache.java
2754 (getNodeDimensions, getRowsForPath): Implemented.
2755 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
2756 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
2758 2006-04-10 Roman Kennke <kennke@aicas.com>
2760 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
2762 2006-04-10 Roman Kennke <kennke@aicas.com>
2764 * javax/swing/JInternalFrame.java
2765 (AccessibleJInternalFrame): Marked all stubbed methods as such
2766 by adding throws NotImplementedException.
2768 2006-04-10 Roman Kennke <kennke@aicas.com>
2770 * javax/swing/JFileChooser.java
2771 (getAccessibleContext): Don't create a new instance on each
2772 call, instead store the accessible context in the
2773 accessibleContext field.
2775 2006-04-10 Roman Kennke <kennke@aicas.com>
2777 * javax/swing/JComboBox.java
2778 (AccessibleJComboBox): Marked all stubbed methods as such
2779 by adding throws NotImplementedException.
2781 2006-04-10 Roman Kennke <kennke@aicas.com>
2783 * javax/swing/ActionMap.java
2784 (readObject): Removed.
2785 (writeObject): Removed.
2787 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2789 * javax/swing/tree/DefaultTreeSelectionModel.java
2790 (addSelectionPaths, setSelectionPaths): Call
2791 insureUniqueness. (clone, setRowMapper): Implemented.
2792 * TreePath (path): Marked final.
2794 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2796 * javax/swing/tree/DefaultTreeSelectionModel.java:
2797 Documented and autoformatted. (insureUniqueness):
2798 Removed stub marking.
2800 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
2802 * javax/swing/SizeSequence.java
2803 (sizes): Don't initialise here,
2804 (SizeSequence(int, int)): Initialise sizes field,
2805 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
2806 (setSize): Do nothing when index is out of bounds,
2807 (getIndex): Implemented,
2808 (setSizes): Reimplemented,
2809 (getSizes): Likewise,
2810 (insertEntries): Likewise,
2811 (removeEntries): Likewise,
2812 plus added API docs all over.
2814 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
2816 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
2817 one way message and retry after any IOException.
2819 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2821 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
2824 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
2826 * org/omg/PortableServer/ServantLocatorPOA.java:
2827 (preinvoke, postinvoke): Remove default implementation.
2828 * org/omg/PortableServer/ServantActivatorPOA.java:
2829 (incarnate, etherealize): Remove default implementation.
2830 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
2831 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
2832 (make_object): Moved method from ObjectReferenceFactoryOperations.
2833 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
2834 Removed unspecified interface.
2835 * org/omg/DynamicAny/_DynAnyStub.java:
2836 (_DynAnyStub(Delegate)): Removed constructor.
2837 * org/omg/DynamicAny/_DynArrayStub.java,
2838 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
2839 * org/omg/DynamicAny/_DynEnumStub.java,
2840 * org/omg/DynamicAny/_DynFixedStub.java,
2841 * org/omg/DynamicAny/_DynSequenceStub.java,
2842 * org/omg/DynamicAny/_DynStructStub.java,
2843 * org/omg/DynamicAny/_DynUnionStub.java,
2844 * org/omg/DynamicAny/_DynValueStub.java:
2845 Extend from ObjectImpl and not from _DynAnyStub.
2846 (type, next, destroy, copy, rewind, assign, component_count,
2847 current_component, equal, from_any, get_any, get_boolean, get_char,
2848 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
2849 get_reference, get_short, get_string, get_typecode, get_ulong,
2850 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
2851 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
2852 insert_long, insert_longlong, insert_octet, insert_reference,
2853 insert_short, insert_string, insert_typecode, insert_ulong,
2854 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
2855 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
2856 * org/omg/CosNaming/_BindingIteratorStub.java:
2857 (_BindingIteratorStub(Delegate)): Made package private.
2858 * org/omg/CosNaming/_NamingContextExtStub.java:
2859 (_NamingContextExtStub(Delegate)): Made package private.
2860 * org/omg/CosNaming/_NamingContextStub.java:
2861 (_NamingContextStub(Delegate)): Made package private.
2862 (throw4, throw5): Likewise.
2863 * gnu/CORBA/NamingService/NameParser.java (resolve):
2864 Adapt to package private constructor. Use _set_delegate instead.
2865 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
2866 * org/omg/CORBA/ORB.java:
2867 (create_recursive_sequence_tc): Made abstract.
2868 (get_default_context): Likewise.
2869 * gnu/CORBA/OrbRestricted.java:
2870 (create_recursive_sequence_tc): New moved method.
2871 (get_default_context): Likewise.
2872 * org/omg/CORBA/ParameterMode.java:
2873 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
2875 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2877 * gnu/CORBA/GIOP/MessageHeader.java (write):
2878 More informative exception.
2879 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
2880 * gnu/CORBA/SocketRepository.java (get_socket):
2881 Removed debugging code.
2883 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2885 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
2886 one way message, but ignore if EOF was received.
2887 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
2888 Minor.EOF if the end of file is received instead of the header.
2890 2006-04-09 Roman Kennke <kennke@aicas.com>
2892 * javax/swing/plaf/metal/MetalRootPaneUI.java
2893 (MetalTitlePane.IconifyAction): New inner class.
2894 (MetalTitlePane.MaximizeAction): New inner class.
2895 (MetalTitlePane.createActions): Create iconifyAction and
2897 (MetalRootLayout.titlePane): New field.
2898 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
2900 (MetalRootLayout.preferredLayoutSize): Changed to not make
2901 assumptions about the actual component order.
2902 (MetalRootLayout.layoutContainer): Changed to not make
2903 assumptions about the actual component order.
2904 (installWindowDecorations): Pass the titlePane as parameter to
2905 the MetalRootLayout constructor.
2906 (uninstallWindowDecorations): Changed to not make
2907 assumptions about the actual component order.
2909 2006-04-08 Roman Kennke <kennke@aicas.com>
2911 * javax/swing/plaf/metal/MetalRootPaneUI.java
2912 (MetalTitlePane.MouseHandler): New inner class to handle dragging
2914 (MetalTitlePane.installListeners): Don't register a focus listener
2915 on the window. This is a potential memory leak and must be
2916 implemented on a different way. Install mouse listener here.
2917 (installWindowDecorations): Fixed assertion condition. Always
2918 insert the window decoration at index#1 in the layered
2921 2006-04-08 Roman Kennke <kennke@aicas.com>
2923 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2924 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
2925 Only resize window if actual width or height value changes.
2926 Avoids nasty flicker when only setLocation() is beeing called
2929 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2931 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
2932 exception if the magic sequence does not match.
2934 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2936 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
2937 response for the one way messages.
2939 2006-04-08 Roman Kennke <kennke@aicas.com>
2941 * javax/swing/MenuSelectionManager.java
2942 (processKeyEvent): Implemented stub method.
2943 * javax/swing/JMenu.java
2944 (processKeyEvent): Implemented stub method.
2945 * javax/swing/JMenu.java
2946 (processKeyEvent): Implemented stub method.
2947 (processMenuKeyEvent): Implemented stub method.
2949 2006-04-08 Roman Kennke <kennke@aicas.com>
2951 * javax/swing/AbstractAction.java
2952 (readObject): Removed unneeded method.
2953 (writeObject): Removed unneeded method.
2955 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
2957 * javax/swing/plaf/synth/SynthPainter.java:
2958 (paintSplitPaneDividerBorder): Removed.
2960 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
2962 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
2963 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
2964 No longer constants.
2965 (static_initializer): Added to initialize above fields.
2966 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
2967 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
2968 (static_initializer): Added to initialize above fields.
2970 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
2972 * java/awt/Dialog.java: Improved documentation all over.
2973 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
2974 (Dialog(Dialog)): Likewise.
2976 2006-04-08 Mark Wielaard <mark@klomp.org>
2978 * java/util/jar/JarFile.java (provider): New static field.
2979 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
2982 2006-04-08 Mark Wielaard <mark@klomp.org>
2985 * java/lang/StackTraceElement.java (toString): Don't add space
2986 between type and source indicator.
2988 2006-04-07 Casey Marshall <csm@gnu.org>
2990 Fixes PR classpath/24464
2991 * java/util/jar/JarFile.java (verify, verifyHashes,
2992 EntryInputStream.<init>): pass the Gnu provider directly to
2995 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
2998 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
2999 (DIGEST0): Use version 3 test vector.
3001 (S_box): New field: Version 3 S-box values.
3002 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
3003 (transform): Formating.
3004 (padBuffer): Likewise.
3005 (getResult): Likewise.
3006 (selfTest): Likewise.
3008 2006-04-07 Tom Tromey <tromey@redhat.com>
3010 * java/util/InvalidPropertiesFormatException.java
3011 (serialVersionUID): New field.
3012 (readObject, writeObject): New methods.
3013 * java/util/Arrays.java (toString): Javadoc fixes.
3014 * java/net/URLConnection.java: Cleaned up imports.
3015 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
3016 * java/lang/reflect/MalformedParameterizedTypeException.java
3017 (serialVersionUID): New field.
3018 * java/lang/reflect/GenericSignatureFormatError.java
3019 (serialVersionUID): New field.
3020 * java/lang/Class.java (Class): Javado fixes.
3021 (getComponentType): Likewise.
3022 (getGenericInterfaces): Likewise.
3023 (getTypeParameters): Likewise.
3024 * java/io/CharArrayWriter.java (append): Javadoc fixes.
3025 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
3027 * java/lang/TypeNotPresentException.java (serialVersionUID): New
3029 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
3032 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
3034 * java/awt/Dialog.java
3035 (AccessibleAWTDialog): Added api docs
3036 (AccessibleAWTDialog.getAccessibleStateSet):
3037 Renamed from getAccessibleState.
3038 * java/awt/Frame.java
3039 (AccessibleAWTFrame): Added api docs
3040 (AccessibleAWTFrame.getAccessibleStateSet):
3041 Renamed from getAccessibleState.
3043 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
3045 * java/awt/Dialog.java: Reformatted.
3047 2006-04-07 Lillian Angel <langel@redhat.com>
3049 * java/awt/Component.java
3050 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
3051 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
3053 2006-04-07 Tom Tromey <tromey@redhat.com>
3055 * java/beans/beancontext/BeanContextMembershipEvent.java
3056 (serialVersionUID): New field.
3057 * java/beans/beancontext/BeanContextServicesSupport.java
3058 (addBeanContextServicesListener): Synchronize.
3059 (addService): Implemented.
3060 (createBCSChild): Implemented.
3061 (BCSSChild): Added arguments.
3062 (fireServiceAdded): Implemented.
3063 (fireServiceRevoked): Implemented.
3064 (getCurrentServiceSelectors): Implemented.
3065 (hasService): Implemented.
3066 (removeBeanContextServicesListener): Implemented.
3067 (serviceAvailable): Implemented.
3068 (serviceRevoked): Implemented.
3069 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
3071 (createBCSChild): Implemented.
3072 (BeanContextSupport):
3073 (addBeanContextMembershipListener): Synchronize.
3074 (fireChildrenAdded): Implemented.
3075 (fireChildrenRemoved): Implemented.
3076 (BeanContextSupport): Use default locale.
3077 (isEmpty): Implemented.
3078 (isDesignTime): Implemented.
3079 (size): Implemented.
3080 (toArray): Synchronized.
3081 (toArray): Likewise.
3082 (iterator): Likewise.
3083 (BCSIterator): Implemented.
3084 (bcsChildren): Implemented.
3085 (validatePendingAdd): Implemented.
3086 (validatePendingRemove): Likewise.
3087 (childJustAddedHook): Implemented.
3088 (childJustRemovedHook): Likewise.
3089 (classEquals): Likewise.
3090 (toArray): Mark as stub.
3091 (setDesignTime): Implemented.
3092 (copyChildren): Implemented.
3093 (containsKey): Implemented.
3094 (contains): Likewise.
3095 (containsAll): Likewise.
3096 (getResource): Implemented.
3097 (getResourceAsStream): Likewise.
3098 (removeBeanContextMembershipListener): Likewise.
3099 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
3100 (serialVersionUID): New field.
3101 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
3102 (serialVersionUID): New field.
3103 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
3106 2006-04-06 Roman Kennke <kennke@aicas.com>
3109 * javax/swing/MenuSelectionManager.java
3110 (setSelectedPath): Search one more item in the loop.
3112 2006-04-06 Tom Tromey <tromey@redhat.com>
3114 * java/awt/image/renderable/RenderableImageProducer.java
3115 (image, context, consumers): New fields.
3116 (RenderableImageProducer): Implemented.
3117 (setRenderContext): Likewise.
3118 (addConsumer): Likewise.
3119 (isConsumer): Likewise.
3120 (removeConsumer): Likewise.
3121 (startProduction): Likewise.
3123 2006-04-06 Roman Kennke <kennke@aicas.com>
3125 * java/awt/Component.java
3126 (AccessibleAWTComponent.getBounds): Return the component
3127 bounds regardless of its showing state.
3128 (AccessibleAWTComponent.getLocation): Return the component
3129 location regardless of its showing state.
3130 (AccessibleAWTComponent.getSize): Return the component
3131 size regardless of its showing state.
3133 2006-04-06 Roman Kennke <kennke@aicas.com>
3135 * javax/swing/JRootPane.java
3136 (getAccessibleContext): New method. Provides an accessibleContext
3139 2006-04-06 Roman Kennke <kennke@aicas.com>
3141 * java/awt/Toolkit.java
3142 (initAccessibility): Use the 'gnu.classpath.home.url' property
3143 to determine the system confiuration directory.
3144 * java/awt/Component.java
3145 (dispatchEvent): Trigger Toolkit dispatching here.
3146 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
3147 so it can't be overridden by subclasses and is performed in
3150 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
3152 * javax/naming/Binding.java: Added API docs.
3153 * javax/naming/NameClassPair.java: Added API docs.
3154 (fullName): New field.
3155 (setNameInNamespace): New 1.5 method.
3156 (getNameInNamespace): Likewise.
3158 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
3160 * javax/naming/CompositeName.java:
3161 (readObject): New deserialization method.
3162 (writeObject): New serialization method.
3164 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
3166 * javax/security/auth/x500/X500Principal.java
3167 (readAttributeValue) Check for separator after quoted value was
3168 failing in all cases.
3170 2006-04-06 Mark Wielaard <mark@klomp.org>
3172 * java/lang/Class.java (getClassLoader): Don't do security check
3173 when loader is null.
3175 2006-04-06 Roman Kennke <kennke@aicas.com>
3177 * java/awt/Toolkit.java
3178 (getDefaultToolkit): Initialize accessibility after setting
3180 (initAccessibility): New helper method to setup accessibility.
3182 2006-04-06 Roman Kennke <kennke@aicas.com>
3184 * javax/swing/AbstractButton.java
3185 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
3186 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
3188 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
3189 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
3190 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
3191 (AccessibleAbstractButton.getCharCount): Implemented stub.
3192 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
3193 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
3194 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
3195 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
3196 (AccessibleAbstractButton.getSelectedText): Implemented stub.
3197 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
3200 2006-04-06 Roman Kennke <kennke@aicas.com>
3202 * java/awt/Component.java
3203 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
3204 state here. This is only done in JComponent.
3205 * javax/swing/JComponent.java
3206 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
3208 (getNextFocusableComponent): Implemented stub method.
3209 (grabFocus): Implemented stub method.
3210 (unregisterKeyboardAction): Implemented stub method.
3211 (setNextFocusableComponent): Implemented stub method.
3212 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
3213 This is a helper class for providing compatibility with the older
3216 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
3219 * javax/naming/directory/BasicAttribute.java,
3220 * javax/naming/directory/BasicAttributes.java:
3221 (readObject): New deserialization method.
3222 (writeObject): New serialization method.
3224 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
3226 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
3227 (getErrorHandler): Made method abstract.
3228 (setErrorHanlder): Likewise.
3229 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
3230 (getErrorHandler): Implement abstract method from superclass.
3231 (setErrorHandler): Likewise.
3232 (errorHandler): New field.
3233 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
3234 (getErrorHandler): Implement abstract method from superclass.
3235 (setErrorHandler): Likewise.
3236 (errorHandler): New field.
3237 * javax/xml/XMLConstants.java: Corrected since tag.
3238 (XMLConstants): Added private constructor.
3239 * javax/xml/datatype/Duration.java: Corrected since tag.
3240 (multiply): Made method abstract.
3241 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
3242 (DatatypeConstants): Added private constructor.
3243 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
3244 (XPathConstants): Added private constructor.
3246 2006-04-05 Tom Tromey <tromey@redhat.com>
3248 * javax/security/auth/kerberos/ServicePermission.java: Now final.
3250 2006-04-05 Tom Tromey <tromey@redhat.com>
3253 * lib/Makefile.am (compile-classes): Touch the output file.
3255 2006-04-05 Roman Kennke <kennke@aicas.com>
3257 * javax/swing/AbstractButton.java
3258 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
3259 of the focused state. This is already done in AccessibleAWTComponent.
3261 2006-04-05 Roman Kennke <kennke@aicas.com>
3263 * javax/swing/JComponent.java
3264 (accessibleContext): Fixed API doc for this field.
3265 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
3266 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
3267 Implemented and added API docs.
3268 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
3269 Implemented and added API docs.
3270 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
3271 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
3272 Implemented and added API docs.
3273 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
3274 Implemented and added API docs.
3275 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
3276 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
3277 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
3278 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
3279 (AccessibleJComponent.getAccessibleStateSet): Simply return
3280 super here. Added comment about this.
3282 2006-04-05 Roman Kennke <kennke@aicas.com>
3284 * javax/swing/JComponent.java
3285 (AccessibleJComponent.addPropertyChangeListener): Install
3286 ContainerHandler and FocusHandler here.
3287 (AccessibleJComponent.removePropertyChangeListener): Uninstall
3288 ContainerHandler and FocusHandler here.
3289 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
3290 by super.getAccessibleChildrenCount().
3291 (AccessibleJComponent.getAccessibleChild): Replaced
3292 by super.getAccessibleChild().
3293 (AccessibleJComponent.getAccessibleStateSet): Implemented by
3294 adding OPAQUE to the supported states.
3295 (AccessibleJComponent.getAccessibleName): Added titled border
3296 and label fallbacks.
3297 (AccessibleJComponent.getAccessibleDescription): Added tooltip
3298 and label fallbacks.
3299 (AccessibleJComponent.getAccessibleRole): Removed TODO.
3300 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
3301 explaining why return null seems correct here.
3302 * javax/swing/JLabel.java
3303 (LABEL_PROPERTY): New constant.
3304 (setLabelFor): Store label in labeled component's client properties
3305 for the AccessibleJComponent to read.
3307 2006-04-05 Tom Tromey <tromey@redhat.com>
3309 * java/util/zip/ZipFile.java (available): Defer to super if
3310 entry's size is unknown.
3312 2006-04-05 Tom Tromey <tromey@redhat.com>
3314 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
3315 property with mime.types name.
3316 * gnu/classpath/SystemProperties.java: Set
3317 gnu.classpath.mime.types.file if not already set.
3318 * java/net/URLConnection.java (defaultFactory): New field.
3319 (guessContentTypeFromStream): Mark as unimplemented.
3320 (getContentHandler): Updated with libgcj's implementation.
3321 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
3324 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
3328 * java/util/AbstractList.java (hasNext): Don't throw
3329 ConcurrentModificationException. Update Javadoc.
3330 (hasPrevious): Likewise.
3331 (nextIndex): Likewise.
3332 (previousIndex): Likewise.
3333 * java/util/HashMap.java (hasNext): Likewise.
3334 * java/util/Hashtable.java (hasNext): Likewise.
3335 * java/util/IdentityHashMap.java (hasNext): Likewise.
3336 * java/util/LinkedHashMap.java (hasNext): Likewise.
3337 * java/util/LinkedList.java (nextIndex): Likewise.
3338 (previousIndex): Likewise.
3339 (hasNext): Likewise.
3340 (hasPrevious): Likewise.
3341 * java/util/TreeMap.java (hasNext): Likewise.
3342 * java/util/WeakHashMap.java (hasNext): Likewise.
3344 2006-04-05 Roman Kennke <kennke@aicas.com>
3346 * javax/swing/AbstractButton.java
3347 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
3348 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
3349 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
3350 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
3351 (AccessibleAbstractButton.getAccessibleActionDescription):
3353 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
3354 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
3355 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
3356 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
3357 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
3358 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
3360 2006-04-05 Roman Kennke <kennke@aicas.com>
3362 * javax/swing/JComboBox.java
3363 (selectWithKeyChar): Implemented stubbed method.
3365 2006-04-05 Roman Kennke <kennke@aicas.com>
3367 * javax/swing/LookAndFeel.java
3368 (installProperty): New method. Allows primitive typed properties
3369 to be handled like UIResources.
3370 * javax/swing/AbstractButton.java
3371 (clientBorderPaintedSet): New field.
3372 (clientRolloverEnabledSet): New field.
3373 (clientIconTextGapSet): New field.
3374 (clientContentAreaFilledSet): New field.
3375 (setRolloverEnabled): Set the client field to true.
3376 (setBorderPainted): Likewise.
3377 (setIconTextGap): Likewise.
3378 (setContentAreaFilled): Likewise.
3379 (setUIProperty): New helper method.
3380 * javax/swing/JComponent.java
3381 (clientOpaqueSet): New field.
3382 (clientAutoscrollsSet): New field.
3383 (setAutoscrolls): Set the client field to true.
3384 (setOpaque): Likewise.
3385 (setUIProperty): New helper method.
3386 * javax/swing/JDesktopPane.java
3387 (clientDragModeSet): New field.
3388 (setDragMode): Set the client field to true.
3389 (setUIProperty): New helper method.
3390 * javax/swing/JSplitPane.java
3391 (clientDividerSizeSet): New field.
3392 (clientOneTouchExpandableSet): New field.
3393 (setDividerSize): Set the client field to true.
3394 (setOneTouchExpandable): Likewise.
3395 (setUIProperty): New helper method.
3396 * javax/swing/JTable.java
3397 (clientRowHeightSet): New field.
3398 (setRowHeight): Set the client field to true.
3399 (setUIProperty): New helper method.
3400 * javax/swing/JTree.java
3401 (clientRowHeightSet): New field.
3402 (clientScrollsOnExpandSet): New field.
3403 (clientShowsRootHandlesSet): New field.
3404 (setRowHeight): Set the client field to true.
3405 (setShowsRootHandles): Likewise.
3406 (setScrollsOnExpand): Likewise.
3407 (setUIProperty): New helper method.
3409 2006-04-05 Roman Kennke <kennke@aicas.com>
3411 * java/awt/Component.java
3412 (getFont): Don't request the font from the peer's graphics. The
3413 graphics should instead get the font from the Component, which might
3415 (getFocusCycleAncestor): Don't special case Window.
3416 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
3417 to here. Correctly determine the focus cycle root.
3418 (transferFocusBackward): Likewise.
3419 (transferFocusUpCycle): Likewise.
3420 * java/awt/Container.java
3421 (transferFocusDownCycle): Moved implementation from
3422 DefaultKeyboardFocusManager to here.
3423 * java/awt/DefaultKeyboardFocusManager.java
3424 (focusPreviousComponent): Moved implementation to
3425 Component.transferFocusBackward().
3426 (focusNextComponent): Moved implementation to
3427 Component.nextFocus().
3428 (upFocusCycle): Moved implementation to
3429 Component.transferFocusUpCycle().
3430 (downFocusCycle): Moved implementation to
3431 Container.transferFocusDownCycle().
3433 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
3435 * java/awt/image/ComponentSampleModel.java
3436 (equals): Implemented,
3437 (hashCode): Likewise.
3439 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
3441 * java/lang/Class.java
3444 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
3446 * java/awt/image/ComponentSampleModel.java
3447 (getBankIndices): Return a copy of the array, not a reference to the
3449 (getBandOffsets): Likewise.
3451 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
3453 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
3455 2006-04-04 Tom Tromey <tromey@redhat.com>
3457 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
3459 2006-04-04 Tom Tromey <tromey@redhat.com>
3461 * java/net/MimeTypeMapper.java (mime_types): No longer static.
3462 (MimeTypeMapper): Initialize.
3463 (fillFromFile): New method.
3465 (mime_strings): Updated.
3467 2006-04-04 Tom Tromey <tromey@redhat.com>
3469 * lib/gen-classlist.sh.in: Correct handle generated files.
3471 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
3473 * gnu/regexp/CharIndexed.java(setAnchor): New method.
3474 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
3475 * gnu/regexp/CharIndexedCharSequence.java: New file.
3476 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
3477 gnu.regexp.CharIndexedCharSequence.
3478 * gnu/regexp/CharIndexedString.java: Likewise.
3479 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
3480 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
3481 using CharIndexedCharSequence. Use setAnchor when the input
3482 object is already a CharIndexed.
3483 * java/util/regex/Matcher.java(inputCharIndexed): New field
3484 to be used as a parameter of the RE#getMatch.
3486 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
3488 * java/awt/image/SampleModel.java: Reformatted.
3490 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
3492 * java/awt/image/ComponentSampleModel.java
3493 (ComponentSampleModel(int, int, int, int, int[])): Added API
3495 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
3496 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
3497 of the bandOffsets and bankIndices arguments, added API documentation,
3498 * java/awt/image/SampleModel.java
3499 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
3500 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
3501 less than or equal to zero, added API documentation.
3503 2006-04-04 Lillian Angel <langel@redhat.com>
3505 * java/util/zip/ZipFile.java
3506 (getInputStream): Fixed to return size of ZipEntry
3507 minus the total bytes read. This guarantees that the
3508 right value is returned even if some bytes have already
3511 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3513 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
3514 Remove static modifier.
3516 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
3518 * java/awt/image/ComponentSampleModel.java: Reformatted.
3520 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3522 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
3523 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
3524 retrieval instructions to javadoc header.
3525 * javax/imageio/ImageWriteParam.java: Fix javadoc for
3526 compressionType field.
3527 * lib/Makefile.am (propertydirs): Add javax directory.
3528 (propertyfiles): Likewise.
3529 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
3532 2006-04-03 Tom Tromey <tromey@redhat.com>
3535 * javax/naming/directory/BasicAttribute.java: Added missing @since.
3536 (BasicAttributeEnumeration.where): Initialize to 0.
3537 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
3539 2006-04-03 Lillian Angel <langel@redhat.com>
3541 PR classpath/24596 and PR classpath/26930
3542 * java/util/zip/ZipFile.java
3543 (getInputStream): Override available function for
3544 InflaterInputStream instance.
3546 2006-04-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
3548 * gnu/java/lang/reflect/ClassSignatureParser.java,
3549 * gnu/java/lang/reflect/FieldSignatureParser.java,
3550 * gnu/java/lang/reflect/GenericSignatureParser.java,
3551 * gnu/java/lang/reflect/MethodSignatureParser.java,
3552 * gnu/java/lang/reflect/TypeImpl.java,
3553 * java/lang/Class.java,
3554 * java/lang/reflect/GenericDeclaration.java,
3555 * java/lang/reflect/MalformedParameterizedTypeException.java,
3556 * java/lang/reflect/TypeVariable.java,
3557 * java/util/Arrays.java,
3558 * vm/reference/java/lang/VMClass.java,
3559 * vm/reference/java/lang/reflect/Constructor.java,
3560 * vm/reference/java/lang/reflect/Method.java:
3561 Incorporate changes from the generics branch.
3563 2005-10-01 Jeroen Frijters <jeroen@frijters.net>
3565 * vm/reference/java/lang/reflect/Constructor.java
3566 (getSignature): New method.
3567 (getGenericExceptionTypes): New method.
3568 (getGenericParameterTypes): New method.
3569 * vm/reference/java/lang/reflect/Method.java
3570 (getSignature): New method.
3571 (getGenericExceptionTypes): New method.
3572 (getGenericParameterTypes): New method.
3573 (getGenericReturnType): New method.
3575 2005-09-30 Jeroen Frijters <jeroen@frijters.net>
3577 * gnu/java/lang/reflect/FieldSignatureParser.java: New file.
3578 * gnu/java/lang/reflect/ClassSignatureParser.java,
3579 gnu/java/lang/reflect/GenericSignatureParser.java,
3580 gnu/java/lang/reflect/MethodSignatureParser.java:
3581 Finished implementation.
3583 2005-09-25 Jeroen Frijters <jeroen@frijters.net>
3585 * gnu/java/lang/reflect/ClassSignatureParser.java,
3586 gnu/java/lang/reflect/GenericSignatureParser.java,
3587 gnu/java/lang/reflect/MethodSignatureParser.java: New files.
3588 * java/lang/Class.java
3589 (getGenericInterfaces, getGenericSuperclass, getTypeParameters):
3591 * vm/reference/java/lang/VMClass.java
3592 (getSimpleName, getDeclaredAnnotations, getCanonicalName,
3593 getEnclosingClass, getEnclosingConstructor, getEnclosingMethod,
3594 isAnonymousClass, isLocalClass, isMemberClass):
3595 Removed generic types from signatures.
3596 (getGenericInterfaces, getGenericSuperclass, getTypeParameters):
3598 (getClassSignature): New method.
3599 * vm/reference/java/lang/reflect/Constructor.java
3600 (getTypeParameters): Implemented.
3601 * vm/reference/java/lang/reflect/Method.java
3602 (getTypeParameters, getSignature): New methods.
3604 2005-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
3606 * java/lang/Class.java:
3607 (asSubclass(Class)): Documented.
3608 (getCanonicalName()): Implemented.
3609 (getEnclosingClass()): Implemented.
3610 (getEnclosingConstructor()): Implemented.
3611 (getEnclosingMethod()): Implemented.
3612 (getGenericInterfaces()): Implemented.
3613 (getGenericSuperclass()): Implemented.
3614 (getTypeParameters()): Implemented.
3615 (isAnonymousClass()): Implemented.
3616 (isLocalClass()): Implemented.
3617 (isMemberClass()): Implemented.
3618 * vm/reference/java/lang/VMClass.java:
3619 (getSuperClass(Class<?>)): Updated return type.
3620 (getSimpleName(Class<?>)): Use VM methods directly.
3621 (getCanonicalName(Class<?>)): Implemented.
3622 (getEnclosingClass(Class<?>)): New native method.
3623 (getEnclosingConstructor(Class<?>)): New native method.
3624 (getEnclosingMethod(Class<?>)): New native method.
3625 (getGenericInterfaces(Class<?>)): New native method.
3626 (getGenericSuperclass(Class<?>)): New native method.
3627 (getTypeParameters(Class<T>)): New native method.
3628 (isAnonymousClass(Class<?>)): New native method.
3629 (isLocalClass(Class<?>)): New native method.
3630 (isMemberClass(Class<?>)): New native method.
3631 * vm/reference/java/lang/reflect/Constructor.java:
3632 (getTypeParameters()): Changed to native method.
3634 2005-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
3636 * java/lang/Class.java:
3637 (getSimpleName()): Implemented.
3638 * vm/reference/java/lang/VMClass.java:
3639 (getSimpleName()): Reference implementation.
3641 2005-04-20 Tom Tromey <tromey@redhat.com>
3643 * java/util/Arrays.java (hashCode): New methods.
3644 (deepHashCode): New method.
3645 (deepEquals): Likewise.
3646 (toString): New methods.
3647 (deepToString): New method.
3649 2005-04-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
3651 * java/lang/Class.java:
3652 (isEnum()): New method implemented.
3653 (isSynthetic()): New method implemented.
3654 (isAnnotation()): New method implemented.
3655 * vm/reference/java/lang/VMClass.java:
3656 (isEnum()): New native method.
3657 (isSynthetic()): New native method.
3658 (isAnnotation()): New native method.
3660 2005-03-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3662 * java/lang/Class.java:
3663 Implements java.lang.reflect.Type
3665 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3667 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
3669 2006-04-03 Tom Tromey <tromey@redhat.com>
3671 * javax/security/auth/kerberos/ServicePermission.java: New file.
3672 * javax/security/auth/kerberos/DelegationPermission.java: New file.
3673 * javax/security/auth/kerberos/KerberosKey.java: New file.
3674 * javax/security/auth/kerberos/KeyImpl.java: New file.
3675 * javax/security/auth/kerberos/KerberosTicket.java: New file.
3676 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
3678 2006-04-03 Sven de Marothy <sven@physto.se>
3680 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
3681 non-GtkImage images.
3683 2006-04-03 Mark Wielaard <mark@klomp.org>
3685 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
3686 as temporary file name.
3688 2006-04-03 Dalibor Topic <robilad@kaffe.org>
3690 * INSTALL: Documented --with-glibj-zip option.
3692 2006-04-03 Dalibor Topic <robilad@kaffe.org>
3694 Fixed all pscan warnings.
3696 * native/jni/classpath/jcl.c (JCL_ThrowException),
3697 native/jni/classpath/jcl.h (DBG),
3698 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
3699 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
3700 Use "%s" format in fprintf and snprintf explicitely when printing a single
3701 string to prevent format string exploits.
3703 * native/jni/java-net/javanet.h (DBG): Removed duplicate
3704 definition. Included jcl.h instead.
3706 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
3708 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
3709 (provider): Made it protected.
3710 (providerInstalled): New field.
3711 (Main): Made it a 0-arguments constructor.
3712 Removed throws clasue.
3713 (main): Removed throws clause.
3714 Call processArgs(args) after constructing instance.
3715 Call teardown() before existing.
3716 (processArgs): Added javadoc.
3717 Reduced to throws Exception.
3719 (teardown): New method.
3720 (setupCommonParams): Added javadoc.
3721 Install designated provider if not already installed.
3722 (installNewProvider): New method.
3723 (setupSigningParams): Added javadoc.
3724 Instantiate the KeyStore using type only.
3725 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
3726 Removed unused imports.
3727 (start): Reduced to throws Exception.
3728 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
3729 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
3730 Re-organized imports.
3731 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
3733 (getNames): Add "dsa" as an algorithm provided by this Factory.
3734 (makeInstance): Construct IllegalArgumentException with 2 arguments.
3736 2006-04-03 Roman Kennke <kennke@aicas.com>
3738 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
3739 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
3740 Replaced g_free() with pango_item_free() to avoid problems
3743 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
3746 * java/util/logging/Level.java (parse): Document.
3747 * java/util/logging/LogManager.java (rootLogger): Removed.
3748 (LogManager): Just set loggers to new HashMap.
3749 (getLogManager): Make synchronized. Create and init LogManager if it
3751 (static): Removed block.
3752 (MANAGER_PROPERTY): New private final string.
3753 (makeLogManager): Use new property string, move warning to
3754 createInstance() method.
3755 (CONFIG_PROPERTY): New private final string.
3756 (initLogManager): New method.
3757 (addLogger): Use Logger.root, not rootLogger.
3758 (findAncestor): Likewise.
3759 (readConfiguration): Move warning to createInstance() method.
3760 Add handlers directly to Logger.root. Warn about bad level values.
3761 (getClassProperty): Use new locateClass() method.
3762 (getInstanceProperty): Only catch specific newInstance Errors.
3763 (createInstance): Make private and takes a string to use in warning
3764 messages. Use new locateClass() method and generate appropriate
3766 (warn): New methods.
3767 (locateClass): Locates a class through the context class loader and
3768 system class loader as backup.
3769 * java/util/logging/Logger.java (root): New static final field.
3770 (Logger): Set parent to root.
3771 (setParent): Directly check root field.
3773 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
3775 * javax/swing/text/Segment.java:
3776 (setPosition): Make exception message more verbose.
3777 * javax/swing/text/WrappedPlainView.java:
3778 (insertUpdate): Removed unneeded repaint call.
3779 (changeUpdate): Dito.
3780 (removeUpdate): Dito.
3781 (WrappedLine.determineNumLines): Do not return numLines, break
3782 from loop if no new break point has been calculated.
3783 (WrappedLine.updateDamage): Rewritten.
3784 (WrappedLine.insertUpdate): Removed unneeded update code.
3785 (WrappedLine.removeUpdate): Removed unneeded update code, added
3788 2006-04-02 Dalibor Topic <robilad@kaffe.org>
3790 * configure.ac (with-glibj-zip): Added new option.
3792 * examples/Makefile.am,
3794 tools/Makefile.am: Adapted build classpath to use glibj.zip,
3795 in addition to classes in lib directory.
3797 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3799 * tools/gnu/classpath/tools/giop/GRMIC.java,
3800 tools/gnu/classpath/tools/giop/IorParser.java,
3801 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
3802 tools/gnu/classpath/tools/giop/grmic/Generator.java,
3803 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
3804 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
3805 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
3806 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
3807 tools/gnu/classpath/tools/rmi/RMIC.java,
3808 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
3809 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
3810 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
3811 linking exception from the licensing header.
3812 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
3813 Added licensing header.
3815 2006-04-02 Mark Wielaard <mark@klomp.org>
3817 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
3818 (jarsigner): Removed.
3820 2006-04-02 Dalibor Topic <robilad@kaffe.org>
3822 * configure.ac: don't check for isnan function.
3823 * native/fdlibm/fdlibm.h: Always use the isnan macro.
3825 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
3827 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
3828 * tools/Makefile.am: Generate jarsigner shell script.
3829 * tools/jarsigner.sh.in: New template.
3830 * tools/.cvsignore: Added jarsigner.sh.
3832 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
3834 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
3835 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
3836 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
3837 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
3838 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
3839 Re-organised imports.
3841 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
3844 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
3845 Handle case where alpha==0.
3847 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
3850 * javax/swing/text/Utilities.java:
3851 (getTabbedTextOffset): Added check to decrement pos not below zero,
3852 changed '>' comparison to '>='.
3853 * javax/swing/text/WrappedPlainView.java:
3854 (lineHeight): New field.
3855 (calculateBreakPosition): Throw InternalError in catch block, removed
3856 unneeded brackets, use specific version of
3857 Utilities.getTabbedTextOffset.
3858 (paint): Set various properties neccessary for drawing.
3859 (WrappedLine.paint): Removed code to set field of outer class.
3860 (WrappedLine.modelToView): Removed unneeded expression from
3862 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
3863 -1 from return statement, copy only a subset into the Segment, removed
3864 special handling of mark value - just return it, simplified
3865 incrementation of currLineStart.
3866 (WrappedLine.insertUpdate): Recalculate numLines, report preference
3867 change to parent view.
3868 (WrappedLine.removeUpdate): Dito.
3870 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
3872 * javax/swing/text/Segment.java:
3873 (toString): Return empty string when array is null.
3875 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
3877 * javax/swing/plaf/basic/BasicTextUI.java:
3878 (damageRange): Use SwingUtilities.computeUnion to avoid
3879 unneccessary Rectangle instantiation.
3881 2006-04-01 Tom Tromey <tromey@redhat.com>
3883 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
3885 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
3887 * javax/swing/text/CompositeView.java: Fixed copyright header.
3888 * javax/swing/text/BoxView.java: Fixed copyright header.
3889 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
3890 * javax/swing/text/Utilities.java: Fixed copyright header.
3892 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
3894 * javax/swing/text/CompositeView.java:
3895 (modelToView): Throw BadLocationException when no child
3896 view can be found, restructed to throw exception as early
3898 (viewToModel): Use mutable allocation as argument for viewToModel
3900 * javax/swing/text/BoxView.java:
3901 (getViewAtPoint): Call setBounds() r before method returns with
3902 suitable child view.
3903 * javax/swing/text/Utilities.java:
3904 (getPositionBelow): Added try-catch-block around modelToView call,
3905 added method return when BadLocationException was thrown.
3906 * javax/swing/text/WrappedPlainView.java:
3907 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
3908 added note about meaning of rect.x and rect.width, removed unneeded
3909 checks, added code to not return the last possible document offset.
3911 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
3913 * javax/swing/text/WrappedPlainView.java:
3914 (WrappedLine.viewToModel): Change < to <= in if-statement,
3915 removed addition of currLineStart to return value.
3916 * javax/swing/text/BoxView.java:
3917 (getViewAtPoint): Use copy instead of r for method call
3918 which modifies the second argument.
3920 2006-04-01 Mark Wielaard <mark@klomp.org>
3923 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
3925 2006-03-31 Tom Tromey <tromey@redhat.com>
3927 * lib/split-for-gcj.sh: Updated for multi-field format.
3928 * lib/Makefile.am (CLEANFILES): Added classes.2.
3929 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
3930 classes.2 using multiple fields.
3932 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3934 * javax/swing/JTable.java (columnSelectionChanged):
3935 Removed print statement.
3936 * javax/swing/DefaultListSelectionModel.java
3937 (addSelectionInterval, removeSelectionInterval):
3938 Fire the difference between selection. (setLeadSelectionIndex):
3939 Fire the difference and mark current and previous lead
3940 selection indexes for repaint.
3942 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3944 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
3945 unnecessary copying.
3946 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
3948 2006-03-31 Lillian Angel <langel@redhat.com>
3950 * java/awt/Component.java
3951 (translateEvent): oldKey should be the value of the
3954 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3956 * javax/swing/JTable.java (columnSelectionChanged):
3957 Treat second repaint parameter as width.
3959 2006-03-31 Lillian Angel <langel@redhat.com>
3962 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
3963 (realize): New native function.
3964 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
3965 Added new function declaration.
3966 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
3967 (realize): New function.
3969 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
3971 * javax/swing/text/GapContent.java:
3972 (replace): Move all Position instances from gap's end to
3973 it's start before increasing the gap start.
3974 * javax/swing/plaf/basic/BasicTextAreaUI.java:
3975 (propertyChanged): Update the view only instead of
3976 indicating a document change.
3978 2006-03-31 Roman Kennke <kennke@aicas.com>
3980 * javax/swing/JTextField.java
3981 (fireActionPerformed): Put the textfields text in the action
3982 instead of the action name.
3984 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
3986 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
3987 Check for null jar-file argument.
3988 (setupSigningParams): Check for null alias argument.
3990 2006-03-31 Roman Kennke <kennke@aicas.com>
3992 * javax/swing/JComponent.java
3993 (paintChildren): Split up in two cases, depending on the
3994 optimizedDrawingEnabled flag.
3995 (paintChildrenWithOverlap): New method. Paints children when
3996 not optimizedDrawingEnabled. This implements better painting
3997 algorithm for overlapping components, so that the painted
3998 regions are minimized.
3999 (paintChildrenOptimized): New method. Paints children when
4000 when optimizedDrawingEnabled. This implements a painting
4001 algorithm that is optimized for the case when all children
4002 are guaranteed to be tiled.
4004 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
4006 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
4007 Attributes.putValue(String,String).
4008 (finishSigning): Likewise.
4009 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
4010 (SIGNATURE_VERSION): Likewise.
4011 (readSFManifest): Use local string constant.
4012 (readMainSection): Likewise.
4013 (readVersionInfo): Likewise.
4014 * java/util/jar/Attributes.java (MANIFEST_VERSION):
4015 Redefined using JarUtils constant.
4016 (SIGNATURE_VERSION): Likewise.
4017 (putValue(Name,String)): Made it private.
4019 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4021 * javax/swing/DefaultListSelectionModel.java (fireDifference):
4022 New method. (clearSelection): Rewritten. (setSelectionInterval):
4023 Fire the difference between current and new selection.
4024 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
4025 Only repaint the region, where selection has been changed.
4026 * javax/swing/plaf/basic/BasicTableUI.java
4027 (TableAction.actionPerformed): Do not change the column selection
4028 when only row selection change is wanted (and in reverse) and
4029 do not call the repaint() here.
4031 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
4034 * javax/swing/DefaultComboBoxModel.java
4035 (DefaultComboBoxModel(Vector)): Call getSize() instead of
4037 (addElement): Call list.addElement() rather than list.add(), and only
4038 update selected item if it is currently null,
4039 (removeElementAt): Update selected item, then remove the element.
4041 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
4044 * java/awt/geom/Point2D.java
4045 (distanceSq(double, double)): Fixed order of arguments,
4046 (distanceSq(Point2D)): Likewise,
4047 (distance(double, double)): Likewise,
4048 (distance(Point2D)): Likewise.
4050 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4052 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
4053 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
4054 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
4055 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
4056 DCLuminanceLengths, DCLuminanceValues): Remove fields.
4058 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4060 * javax.swing.JTable (constructor): Initialize column
4061 model column margin and table row margin before setting the
4062 table column model. (initialiseLocalVars): Do not call
4063 setIntercellSpacing.
4065 2006-03-30 Chris Burdess <dog@gnu.org>
4067 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
4069 * javax/xml/validation/SchemaFactoryLoader.java: New file.
4071 2006-03-30 Mark Wielaard <mark@klomp.org>
4074 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
4075 adjust bounds. On resize invalidate and validate container.
4076 Always pass on ComponentEvents to Container super class.
4077 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
4078 menuBar and pass to GtkWindowPeer super class.
4079 (postConfigureEvent): Adjust menu bar width. Adjust y and height
4080 bounds and pass to GtkWindowPeer super class.
4081 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
4082 New fields for local bounds.
4083 (getX, getY): New methods.
4084 (getWidth): Don't call into awtComponent.
4085 (getHeight): Likewise.
4086 (create): Cache local bounds.
4087 (setLocation): Documented, made protected and just call
4089 (setLocationUnlocked): Removed unused method.
4090 (setBoundsUnlocked): Likewise.
4091 (setBounds): Check whether bounds actually changed and cache local
4093 (setSize): Documented and made protected.
4094 (setResizable): Documented and cache local bounds.
4095 (postConfigureEvent): Update local bounds. Don't call awtComponent
4096 directly but post ComponentEvents.
4097 (show): Cache local bounds.
4098 (getBounds): Override to return cached bounds.
4100 2006-03-30 Lillian Angel <langel@redhat.com>
4102 * gnu/java/awt/peer/gtk/GdkGraphics.java
4103 (drawImage): Added check to prevent NPE.
4104 (drawImage): Likewise.
4105 (drawImage): Likewise.
4106 * java/awt/Choice.java
4107 (dispatchEventImpl): New function. selectedIndex was
4108 not being updated properly otherwise.
4110 2006-03-30 Roman Kennke <kennke@aicas.com>
4112 * javax/swing/JTabbedPane.java
4113 (removeTabAt): Removed debug code.
4115 2006-03-30 Roman Kennke <kennke@aicas.com>
4118 * javax/swing/plaf/basic/BasicTextUI.java
4119 (installKeyboardActions): Simply call getKeymap() and install this.
4120 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
4122 2006-03-30 Roman Kennke <kennke@aicas.com>
4124 * javax/swing/JTabbedPane.java
4125 (removeTabAt): Adjust selection correctly when removing a tab
4126 before the selected tab. Also remove the component from the
4127 container, not only the tab object. Repaint and revalidate the
4128 component after the removal.
4129 (removeAll): Set selection to -1 before removing the tabs.
4131 2006-03-29 Lillian Angel <langel@redhat.com>
4133 Partial fix for bug #26929
4134 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4135 (updateComponent): Removed. We want to clear the panel
4137 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4138 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
4139 Should set the background to the saved background color.
4141 2006-03-29 Mark Wielaard <mark@klomp.org>
4143 Partial fix for bug #26848 (pack).
4144 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
4145 Always show instances of Window.
4147 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
4149 * javax/swing/JSlider.java
4150 (setPaintLabels): Only create standard labels if labelTable is null,
4151 * javax/swing/plaf/basic/BasicSliderUI.java
4152 (PropertyChangeHandler.propertyChange): Recalculate geometry for
4153 "paintTicks" property change,
4154 (calculateThumbSize): Updated API docs,
4155 (calculateContentRect): Likewise,
4156 (calculateTrackBuffer): Take into account the lowest and highest
4157 labels when calculating buffer space,
4158 (calculateTrackRect): Include labels, if visible, in the calculation of
4159 the trackRect position,
4160 (calculateTickRect): Height is zero if ticks are not painted,
4161 (calculateLabelRect): Use max dimensions of actual labels,
4162 (getWidthOfHighValueLabel): Use preferred size,
4163 (getWidthOfLowValueLabel): Likewise,
4164 (getHeightOfHighValueLabel): Likewise,
4165 (getHeightOfLowValueLabel): Likewise,
4166 (drawInverted): Just return slider setting,
4167 (getHighestValueLabel): Updated API docs,
4168 (paintTicks): Removed redundant (and buggy) code, replaced with calls
4169 to xPositionForValue() and yPositionForValue(),
4170 (paintHorizontalLabel): Removed full qualification of class name,
4171 (paintVerticalLabel): Likewise,
4172 (xPositionForValue): Reimplemented,
4173 (yPositionForValue): Reimplemented,
4174 * javax/swing/plaf/metal/MetalSliderUI.java
4175 (paintTrack): Made track one pixel longer.
4177 2006-03-29 Tom Tromey <tromey@redhat.com>
4180 * tools/Makefile.am (JCOMPILER): Added encoding options.
4181 * examples/Makefile.am (JCOMPILER): Added encoding options.
4183 2006-03-29 Gary Benson <gbenson@redhat.com>
4185 Partial fix for PR classpath/24895
4186 * java/io/FilePermission.java (implies): Canonicalize paths.
4188 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
4191 * javax/swing/text/GapContent.java:
4192 (replace): Added call to resetMarksAtZero.
4194 2006-03-29 Roman Kennke <kennke@aicas.com>
4197 * javax/swing/plaf/basic/BasicMenuItemUI.java
4198 (cachedRect): New field.
4199 (BasicMenuItemUI): Initialize cachedRect field.
4200 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
4201 to determine layout. Store maximum accelerator and text width
4202 in client properties of parent to allow correct alignment
4203 of accelerators among menu items of one menu.
4204 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
4205 method. Align accelerators according to the values calculated
4206 in getPreferredMenuItemSize.
4207 (getAcceleratorString) New helper method.
4208 (layoutMenuItem): New helper method.
4210 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4212 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
4213 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
4214 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
4216 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
4217 readExternal, writeExternal): New methods.
4218 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
4219 two stages, invokeCommon(Remote, ...) and
4220 invokeCommen(UnicastConnection, ...).
4221 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
4222 also the ActivatableRef. toString(): Documented.
4223 * gnu/java/rmi/server/ActivatableRef.java,
4224 tools/gnu/classpath/tools/rmi/Persistent.java,
4225 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
4226 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
4227 tools/gnu/classpath/tools/rmi/REGISTRY.java,
4228 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
4229 tools/gnu/classpath/tools/rmi/RMID.java,
4230 tools/gnu/classpath/tools/rmi/RMID.txt,
4231 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
4232 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
4233 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
4234 tools/gnu/classpath/tools/rmi/registry/package.html,
4235 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
4236 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
4238 * tools/README: Documented.
4239 * NEWS: Added entry about the activation.
4241 2006-03-29 Roman Kennke <kennke@aicas.com>
4244 * javax/swing/plaf/basic/BasicMenuItemUI.java
4245 (viewRect): New field.
4246 (textRect): New field.
4247 (accelRect): New field.
4248 (iconRect): New field.
4249 (arrowIconRect): New field.
4250 (checkIconRect): New field.
4251 (BasicMenuItemUI): Initialize new fields.
4252 (paintMenuItem): Rewritten to correctly layout and paint
4253 the menu item in a more straightforward way. Use cached rectangle
4255 (paintAccelerator): Pulled inside the paintMenuItem method.
4257 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4259 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
4260 Do not use initCause with UnexpectedException.
4261 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
4264 2006-03-29 Mark Wielaard <mark@klomp.org>
4266 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4267 (setCursorID): Removed unused static variable.
4269 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
4271 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
4273 2006-03-29 Mark Wielaard <mark@klomp.org>
4276 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4277 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
4279 2006-03-28 Roman Kennke <kennke@aicas.com>
4281 * javax/swing/UIManager.java
4282 (installLookAndFeel): Implemented.
4283 (setInstalledLookAndFeels): Implemented.
4285 2006-03-28 Roman Kennke <kennke@aicas.com>
4287 * javax/swing/plaf/metal/MetalButtonUI.java
4288 (update): Paint gradient only when the background color
4289 is not a UIResource and if the button is neither armed nor
4290 pressed and if the button is contentAreaFilled.
4292 2006-03-28 Roman Kennke <kennke@aicas.com>
4294 * javax/swing/JLayeredPane.java
4295 (addImpl): Repaint added component.
4297 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
4299 * java/util/regex/Matcher.java: Reverted.
4301 2006-03-28 Roman Kennke <kennke@aicas.com>
4303 * javax/swing/text/AsyncBoxView.java
4304 (setEstimatedMajorSpan): Made method protected.
4305 (getEstimatedMajorSpan): Made method protected.
4306 * javax/swing/text/BoxView.java
4307 (flipEastAndWestAtEnds): Fixed typo.
4308 * javax/swing/text/InternationalFormatter.java
4309 (getActions): Made method protected.
4310 * javax/swing/text/Position.java
4311 (Bias): Made class final.
4312 * javax/swing/text/html/HTML.java
4313 (MEDIA): Made field package private. Not specified.
4314 (NOBR): Made field package private. Not specified.
4315 * javax/swing/text/html/NullView.java
4316 Made class package private.
4317 * javax/swing/text/html/parser/Entity.java
4318 Made class non-serializable as specified.
4320 2006-03-28 Roman Kennke <kennke@aicas.com>
4322 * javax/swing/plaf/metal/MetalButtonUI.java
4323 (update): Don't paint gradient if the background color is
4324 no UIResource. Removed double getModel() call. Don't check for
4327 2006-03-28 Roman Kennke <kennke@aicas.com>
4329 * javax/swing/plaf/basic/BasicMenuItemUI.java
4330 (paint): Call paintMenuItem with the selectionBackground as
4332 (paintBackground): Fixed the condition and color for the background
4335 2006-03-28 Roman Kennke <kennke@aicas.com>
4337 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
4338 (tabsOpaque): New field.
4339 (paintLeftTabBorder): Paint some parts only when the tabs are
4340 opaque. Determine the tab background using the paintLeftTabBorder()
4342 (paintRightTabBorder): Likewise.
4343 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
4345 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
4347 * java/rmi/activation/ActivationGroup_Stub.java:
4350 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
4352 * java/io/CharArrayWriter.java:
4353 (append(char)): Documented.
4354 (append(CharSequence)): Likewise.
4355 (append(CharSequence,int,int)): Likewise.
4357 2006-03-27 Tom Tromey <tromey@redhat.com>
4359 * java/io/CharArrayWriter.java (append): New overloads.
4361 2006-03-27 Lillian Angel <langel@redhat.com>
4363 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4364 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
4365 Added check for colormap. Prevents assertion error.
4366 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
4368 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
4370 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
4372 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
4374 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
4377 2006-03-27 Dalibor Topic <robilad@kaffe.org>
4379 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
4380 AC_MSG_ERROR instead of echoing the error message
4381 that no compiler has been found manually.
4383 2006-03-27 Roman Kennke <kennke@aicas.com>
4385 * javax/swing/RepaintManager.java
4386 (commitBuffer): Use simple drawImage() method instead of the
4389 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
4391 * javax/swing/text/PlainView.java:
4392 (drawLine): Use 'endOffset' instead of 'selectionEnd'
4393 for painting the selected line.
4395 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
4397 * javax/swing/plaf/basic/BasicSliderUI.java
4398 (getThumbSize): Removed TODO and updated API docs.
4400 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
4402 * javax/swing/text/DefaultCaret.java:
4403 (mouseClicked): Word selection rewritten.
4404 (paint): Draw line inside the bounding rectangle.
4405 (damage): Retrieve caret height from line height.
4407 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
4409 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
4411 Check for -help option.
4412 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
4414 2006-03-27 Roman Kennke <kennke@aicas.com>
4416 * javax/swing/text/FieldView.java
4417 (getPreferredSpan): Don't include trailing newline in
4419 * javax/swing/text/PlainView.java
4420 (drawLine): Don't include trailing newline.
4421 (determineMaxLineLength): Don't include trailing newline.
4422 (getLineBuffer): Made method final.
4424 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
4426 * javax/swing/JSlider.java
4427 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
4428 (AccessibleJSlider.getAccessibleRole): Removed declaration of
4429 NotImplementedException,
4430 (AccessibleJSlider.getAccessibleValue): Updated API docs.
4432 2006-03-26 Tom Tromey <tromey@redhat.com>
4435 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
4437 (getModifiersInternal): Renamed from getModifiers.
4438 (getModifiers): New method.
4439 (isBridge): Likewise.
4440 (isSynthetic): Likewise.
4441 (isVarArgs): Likewise.
4442 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
4444 (getModifiersInternal): Renamed from getModifiers.
4445 (getModifiers): New method.
4446 (isSynthetic): Likewise.
4447 (isEnumConstant): Likewise.
4448 * vm/reference/java/lang/reflect/Constructor.java
4449 (getModifiersInternal): Renamed from getModifiers.
4450 (getModifiers): New method
4451 (CONSTRUCTOR_MODIFIERS): New constant.
4452 (isSynthetic): New method.
4453 (isVarArgs): Likewise.
4454 * java/lang/reflect/Member.java (isSynthetic): New method.
4456 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
4458 * gnu/java/security/jce/hash/HavalSpi.java,
4459 * gnu/java/security/jce/hash/MD2Spi.java,
4460 * gnu/java/security/jce/hash/MD4Spi.java,
4461 * gnu/java/security/jce/hash/MD5Spi.java,
4462 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
4463 * gnu/java/security/jce/hash/RipeMD128Spi.java,
4464 * gnu/java/security/jce/hash/RipeMD160Spi.java,
4465 * gnu/java/security/jce/hash/Sha160Spi.java,
4466 * gnu/java/security/jce/hash/Sha256Spi.java,
4467 * gnu/java/security/jce/hash/Sha384Spi.java,
4468 * gnu/java/security/jce/hash/Sha512Spi.java,
4469 * gnu/java/security/jce/hash/TigerSpi.java,
4470 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
4471 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
4472 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
4473 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
4474 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
4475 * gnu/java/security/jce/sig/SignatureAdapter.java,
4476 * gnu/java/security/key/IKeyPairCodec.java,
4477 * gnu/java/security/key/IKeyPairGenerator.java,
4478 * gnu/java/security/key/KeyPairGeneratorFactory.java,
4479 * gnu/java/security/key/dss/DSSKey.java,
4480 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
4481 * gnu/java/security/key/dss/DSSPrivateKey.java,
4482 * gnu/java/security/key/dss/DSSPublicKey.java,
4483 * gnu/java/security/key/dss/FIPS186.java,
4484 * gnu/java/security/key/rsa/GnuRSAKey.java,
4485 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
4486 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
4487 * gnu/java/security/sig/ISignature.java,
4488 * gnu/java/security/sig/ISignatureCodec.java,
4489 * gnu/java/security/sig/dss/DSSSignature.java,
4490 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
4491 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
4492 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
4493 * gnu/java/security/util/Util.java:
4494 Remove CVS revision tags.
4496 2006-03-26 Tom Tromey <tromey@redhat.com>
4498 * java/io/InputStream.java (InputStream): Implements Closeable.
4500 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
4502 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
4504 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
4505 getAnchor): New methods.
4506 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
4507 getAnchor): New methods.
4508 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
4509 getAnchor): New methods.
4510 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
4511 getAnchor): New methods.
4512 * gnu/regexp/REMatch.java(start1): New field.
4513 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
4514 (match): set the starting position to start1[] instead of start[],
4515 (getMatchImpl): Set the found REMatch to the input,
4516 (makeCharIndexed): Made public.
4517 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
4518 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
4519 set the value of start[] copying from start1[].
4520 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
4522 * java/util/regex/Matcher.java(inputCharIndexed): New field
4523 to be used as a parameter of the RE#getMatch.
4525 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4527 * gnu/java/rmi/activation/DefaultActivationGroup.java:
4528 Documented the default jre spawning strategy (none).
4529 * java/rmi/activation/ActivationGroup.java (currentGroupId,
4530 getSystem): Obtain the acticivation system from the
4531 DefaultActivationSystem.
4533 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
4535 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
4536 Ask user for keystore password if one was not provided.
4538 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
4540 * tools/README: Added Security tools section.
4541 Documented the jarsigner tool.
4543 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
4545 * javax/swing/JScrollBar.java
4546 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
4547 (AccessibleJScrollBar.getAccessibleRole): Likewise,
4548 (AccessibleJScrollBar.getAccessibleValue): Likewise,
4549 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
4550 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
4551 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
4552 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
4553 (getAccessibleContext): Updated API docs.
4555 2006-03-25 Tom Tromey <tromey@redhat.com>
4557 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
4558 change or if generator script changes.
4560 2006-03-25 Tom Tromey <tromey@redhat.com>
4562 * javax/naming/ldap/StartTlsRequest.java: New file.
4563 * javax/naming/ldap/StartTlsResponse.java: New file.
4565 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
4567 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
4568 to validate all components of a resource path.
4569 (FileURLLoader.walkPathComponents): Helper which ensures that we are
4570 allowed to walk through every component of a resource path.
4572 2006-03-25 Michael Koch <konqueror@gmx.de>
4574 * NEWS: Added item for CLDR 1.3 update.
4576 2006-03-25 Michael Koch <konqueror@gmx.de>
4578 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
4579 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
4580 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
4581 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
4582 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
4583 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
4586 2006-03-25 Michael Koch <konqueror@gmx.de>
4588 * resource/gnu/java/locale/LocaleInformation_az.properties,
4589 resource/gnu/java/locale/LocaleInformation_bs.properties,
4590 resource/gnu/java/locale/LocaleInformation_byn.properties,
4591 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
4592 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
4593 resource/gnu/java/locale/LocaleInformation_gez.properties,
4594 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
4595 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
4596 resource/gnu/java/locale/LocaleInformation_haw.properties,
4597 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
4598 resource/gnu/java/locale/LocaleInformation_kok.properties,
4599 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
4600 resource/gnu/java/locale/LocaleInformation_sid.properties,
4601 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
4602 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
4603 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
4604 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
4605 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
4606 resource/gnu/java/locale/LocaleInformation_syr.properties,
4607 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
4608 resource/gnu/java/locale/LocaleInformation_tig.properties,
4609 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
4610 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
4611 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
4612 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
4613 resource/gnu/java/locale/LocaleInformation_wal.properties,
4614 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
4617 2006-03-25 Michael Koch <konqueror@gmx.de>
4619 * resource/gnu/java/locale/LocaleInformation_fa.properties,
4620 resource/gnu/java/locale/LocaleInformation_kn.properties,
4621 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
4622 resource/gnu/java/locale/LocaleInformation_ko.properties,
4623 resource/gnu/java/locale/LocaleInformation_sl.properties,
4624 resource/gnu/java/locale/LocaleInformation_so.properties,
4625 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
4626 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
4627 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
4628 resource/gnu/java/locale/LocaleInformation_sr.properties:
4629 Random fixes I forgot to commit before.
4631 2006-03-25 Michael Koch <konqueror@gmx.de>
4633 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
4634 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
4635 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
4636 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
4637 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
4638 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
4639 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
4640 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
4641 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
4642 resource/gnu/java/locale/LocaleInformation_en.properties,
4643 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
4644 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
4645 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
4646 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
4647 resource/gnu/java/locale/LocaleInformation_fa.properties,
4648 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
4649 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
4650 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
4651 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
4652 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
4653 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
4654 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
4655 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
4656 resource/gnu/java/locale/LocaleInformation_pa.properties,
4657 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
4658 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
4659 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
4660 resource/gnu/java/locale/LocaleInformation_sa.properties,
4661 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
4662 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
4663 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
4664 Updated currency formats.
4666 2006-03-25 Roman Kennke <kennke@aicas.com>
4668 * javax/swing/text/AbstractDocument.java
4669 (getAttributeContext): Made method final.
4670 (getCurrentWriter): Likewise.
4671 (getEndPosition): Likewise.
4672 (getProperty): Likewise.
4673 (getStartPosition): Likewise.
4674 (putProperty): Likewise.
4675 (readLock): Likewise.
4676 (readUnlock): Likewise.
4677 (writeLock): Likewise.
4678 (writeUnlock): Likewise.
4680 2006-03-25 Roman Kennke <kennke@aicas.com>
4682 * javax/swing/InputMap.java
4683 (allKeys): Check if parent keys is null.
4684 * javax/swing/KeyboardManager.java
4685 (registerEntireMap): Also register map's parent keys.
4686 * javax/swing/plaf/metal/MetalRootPaneUI.java
4687 (propertyChange): Also call super.propertyChange().
4689 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
4691 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
4692 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
4693 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
4694 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
4695 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
4696 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
4698 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
4700 * gnu/java/util/jar/JarUtils.java: New file.
4701 * java/util/jar/Manifest.java (CRLF): Removed.
4702 (read_main_section): Likewise.
4703 (read_version_info): Likewise.
4704 (expect_header(String,BufferedReader)): Likewise.
4705 (expect_header(String,BufferedReader,String)): Likewise.
4706 (read_header_value): Likewise.
4707 (read_attributes): Likewise.
4708 (read_attribute): Likewise.
4709 (read_individual_sections): Likewise.
4710 (read_section_name): Likewise.
4711 (write_main_section): Likewise.
4712 (write_version_info): Likewise.
4713 (write_header): Likewise.
4714 (write_main_attributes): Likewise.
4715 (write_attribute_entry): Likewise.
4716 (write_individual_sections): Likewise.
4717 (write_entry_attributes): Likewise.
4718 (read): use JarUtils.
4721 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
4723 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
4726 (SignerInfo(BERReader)): Updated javadoc.
4728 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
4730 (encode): New method.
4731 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
4732 (PKCS7_DATA): Removed.
4735 (PKCS7SignedData(BERReader)): Updated javadoc.
4737 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
4739 (encode): New method.
4740 * gnu/java/security/pkcs/PKCS7Data.java: New file.
4741 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
4742 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
4743 (decodePrivateKey): Decode x from an OCTET STRING.
4744 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
4745 (toString): New method.
4746 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
4748 (toString): New method.
4749 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
4750 (toString): New method.
4751 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
4753 2006-03-25 Roman Kennke <kennke@aicas.com>
4755 * java/util/GregorianCalender.java
4756 (computeTime): Fix comparison to correctly calculate the
4759 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
4762 * java/awt/Window.java:
4763 (setFocusCycleRoot): New overriden method.
4764 (isFocusCycleRoot): Likewise.
4765 (getFocusCycleRootAncestor): Likewise.
4766 * java/awt/Container.java:
4767 (getFocusTraversalPolicy): Check also for anchestor == null.
4769 2006-03-25 Mark Wielaard <mark@klomp.org>
4771 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
4772 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
4775 2006-03-24 Tom Tromey <tromey@redhat.com>
4777 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
4779 (writeChar): Removed useless cast.
4780 (writeChars(String)): Implemented.
4781 (writeDouble): Rewrote.
4782 (writeFloat): Likewise.
4783 (writeUTF): Implemented.
4784 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
4787 2006-03-24 Roman Kennke <kennke@aicas.com>
4789 * javax/swing/JButton.java
4790 (def): Replaced field with defaultCapable field.
4791 (is_def): Removed field.
4792 (JButton): Initialize defaultCapable with true.
4793 (isDefaultButton): Documented and implemented method by querying
4794 the button's root pane if present.
4795 (isDefaultCapable): Changed def field to defaultCapable.
4796 Added documentation.
4797 (paramString): Call isDefaultButton() instead of accessing field,
4799 (setDefaultCapable): Changed def field to defaultCapable.
4800 Added documentation.
4801 * javax/swing/JRootPane.java
4802 (setDefaultButton): Only change the default button if the
4803 new button is defaultCapable.
4804 * javax/swing/plaf/basic/BasicRootPaneUI.java
4805 (DefaultPressAction): New class.
4806 (DefaultReleaseAction): New class.
4807 (installKeyboardActions): Implemented.
4808 (uninstallKeyboardActions): Implemented.
4809 (propertyChange): Implemented.
4810 * javax/swing/plaf/metal/MetalBorders.java
4811 (ButtonBorder.paintBorder): 'Outsourced' default theme
4812 painting to paintDefaultButtonBorder().
4813 (ButtonBorder.paintDefaultButtonBorder): New helper method
4814 to paint the border in the default theme. This also fixes
4815 painting of the border for default buttons.
4816 (ButtonBorder.paintOceanButtonBorder): Added support for
4817 default button painting. Fixed border for pressed/default state.
4818 * javax/swing/plaf/metal/MetalButtonUI.java
4819 (update): Only paint gradient when in OceanTheme and when the
4820 button is not armed.
4822 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4824 * gnu/java/rmi/activation/ActivationSystemTransient.java:
4825 Inherit from Activator.
4827 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4829 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
4830 Print debug message if debug flag is set.
4831 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
4832 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
4833 detail, do not call iniCause(). (exportClass): New method.
4834 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
4835 Ignore null (bootstrap) class loader.
4836 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
4837 buildMethodHash, findStubSkelClass, getHelperClass): Changed
4838 visibility to protected.
4839 * java/rmi/activation/Activatable.java (export, register): Rewritten.
4840 (toStub): New method.
4841 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
4842 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
4843 Explained property java.rmi.activation.port.
4845 2006-03-24 Tom Tromey <tromey@redhat.com>
4847 * .externalToolBuilders/CreateLocaleData.launch: Updated.
4848 * gnu/java/locale/.cvsignore: New file.
4849 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
4850 * java/util/Locale.java (getAvailableLocales): Clone result.
4851 (getISOCountries): Likewise.
4852 (getISOLanguages): Likewise.
4853 * scripts/generate-locale-list.sh: Make class public. Added new
4855 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
4856 (getLocaleCount): Likewise.
4857 * java/text/Collator.java (getInstance): Javadoc typo fix.
4858 (getAvailableLocales): Wrote.
4860 2006-03-24 Roman Kennke <kennke@aicas.com>
4862 * javax/swing/JTabbedPane.java
4863 (getSelectedComponent): Return null when no component is
4866 2006-03-24 Mark Wielaard <mark@klomp.org>
4868 * NEWS: Add cursor and selection improvements.
4870 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
4872 * java/awt/Component.java
4873 (getAccessibleName): Just return accessibleName,
4874 * javax/swing/AbstractButton.java
4875 (getAccessibleStateSet): Mark as stub,
4876 (getAccessibleName): Implemented,
4877 (getAcessibleIcon): Mark as stub,
4878 (getAccessibleRelationSet): Likewise,
4879 (getAccessibleAction): Likewise,
4880 (getAccessibleValue): Likewise,
4881 (getAccessibleActionCount): Likewise,
4882 (getAccessibleActionDescription): Likewise,
4883 (doAccessibleAction): Likewise,
4884 (getCurrentAccessibleValue): Likewise,
4885 (setCurrentAccessibleValue): Likewise,
4886 (getMinimumAccessibleValue): Likewise,
4887 (getMaximumAccessibleValue): Likewise,
4888 (getAccessibleText): Likewise,
4889 (getIndexAtPoint): Likewise,
4890 (getCharacterBounds): Likewise,
4891 (getCharCount): Likewise,
4892 (getCaretPosition): Likewise,
4893 (getAtIndex): Likewise,
4894 (getAfterIndex): Likewise,
4895 (getBeforeIndex): Likewise,
4896 (getCharacterAttribute): Likewise,
4897 (getSelectionStart): Likewise,
4898 (getSelectionEnd): Likewise,
4899 (getSelectedText): Likewise,
4900 (getTextRectangle): Likewise,
4901 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
4902 (getIconTextGap): Added @since 1.4,
4903 (setContentAreaFilled): Reordered code to make event sequence match
4904 reference implementation,
4905 * javax/swing/JButton.java
4906 (getSelectedObjects): Removed,
4907 *javax/swing/JComponent.java
4908 (getAccessibleName): Call super.
4910 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
4912 * javax/swing/JProgressBar.java
4913 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
4914 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
4915 (AccessibleJProgressBar.getAccessibleValue): Implemented,
4916 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
4917 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
4918 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
4919 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
4920 (getAccessibleContext): Added API docs.
4922 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
4924 * javax/swing/plaf/basic/BasicTextUI.java:
4925 (FocusListener.focusLost): Put current selection into the system
4928 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
4930 * java/awt/Component.java:
4931 (processMouseEvent): Remove call to consume event.
4932 (dispatchEventImpl): Handle specific events first, do focus request
4933 only when mouse event was not yet consumed.
4934 * javax/swing/text/DefaultCaret.java:
4935 (mousePressed): Rewritten.
4936 (setDot): Changed order of operations.
4939 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
4941 * javax/swing/JComponent.java
4942 (AccessibleJComponent.changeSupport): Removed field,
4943 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
4944 (AccessibleJComponent.addPropertyChangeListener): Call super,
4945 (AccessibleJComponent.removePropertyChangeListener): Likewise,
4946 * javax/swing/JSlider.java
4947 (AccessibleJSlider.getAccessibleStateSet): Implemented,
4948 (AccessibleJSlider.getAccessibleRole): Likewise,
4949 (AccessibleJSlider.getAccessibleValue): Likewise,
4950 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
4951 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
4952 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
4953 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
4954 (getAccessibleContext): Added API docs.
4956 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4958 * gnu/java/rmi/activation/ActivationSystemTransient.java
4959 (debug): Made public. (constructor): Made protected.
4960 (activate, getActivationDesc): Throw more informative exceptions.
4961 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
4963 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
4965 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
4967 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
4969 * java/rmi/activation/Activatable.java (obtainId): Use the activation
4970 system, passed in the activation descriptor field.
4971 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
4972 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
4973 to package private final. (equals): Compare uid, not the system.
4974 (hashCode): Forward to uid.hashCode(). toString(): New method.
4975 * java/rmi/activation/ActivationID.java (readObject, writeObject):
4976 Rewritten. (equals): Compare UID only. toString(): New method.
4977 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
4978 UID (space). (hashCode, toString): Rewritten.
4979 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
4980 New method. (invoke): Treat null as an empty array for parameters.
4981 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
4982 Include count, do not include the static machineId.
4984 2006-03-23 Tom Tromey <tromey@redhat.com>
4986 * java/net/URLConnection.java (getContent(Class[])): Implemented.
4988 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4990 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
4991 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
4992 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
4993 (force): New field. (setForce): New method. (compile): Handle -force.
4994 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
4995 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
4997 2006-03-23 Roman Kennke <kennke@aicas.com>
4999 * javax/swing/JTabbedPane.java
5000 (Page.getBackground): Return the JTabbedPane's background,
5001 rather than the page's component background.
5002 (Page.getForeground): Return the JTabbedPane's foreground,
5003 rather than the page's component foreground.
5004 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5005 (uninstallUI): Don't set colors to null.
5006 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
5007 (paintTabBackground): Correctly determine the tab background.
5008 (getUnselectedBackground): New helper method to
5009 handle the UI property 'TabbedPane.unselectedBackground'
5012 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5014 * javax/swing/plaf/basic/BasicInternalFrameUI.java
5015 (BorderListener.showingResizeCursor): New field.
5016 (BorderListener.mouseMoved, BorderListner.mouseExited):
5019 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
5021 * javax/swing/JComboBox.java
5022 (selectWithKeyChar): Mark as stub,
5023 * javax/swing/JFileChooser.java
5024 (setDragEnabled): Mark as stub,
5025 (getDragEnabled): Likewise,
5026 * javax/swing/JSlider.java
5027 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
5028 (AccessibleJSlider.getAccessibleRole): Likewise,
5029 (AccessibleJSlider.getAccessibleValue): Likewise,
5030 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
5031 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
5032 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
5033 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
5034 * javax/swing/UIManager.java
5035 (installLookAndFeel): Mark as stub,
5036 (setInstalledLookAndFeels): Likewise.
5038 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
5040 * javax/swing/filechooser/UnixFileSystemView.java
5041 (getSystemDisplayName): Mark as stub,
5042 (getSystemIcon): Likewise,
5043 (getSystemTypeDescription): Likewise.
5045 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
5047 * javax/swing/tree/AbstractLayoutCache.java
5048 (getNodeDimensions): Mark as stub,
5049 (getPreferredHeight): Likewise,
5050 (getPreferredWidth): Likewise,
5051 (getRowsForPaths): Likewise,
5052 (isFixedRowHeight): Likewise,
5053 * javax/swing/tree/DefaultTreeModel.java
5054 (reload()): Mark as stub,
5055 (reload(TreeNode)): Likewise,
5056 (nodeStructureChanged): Likewise,
5057 * javax/swing/tree/DefaultTreeSelectionModel.java
5058 (clone): Mark as stub,
5059 (setRowMapper): Likewise,
5060 (setSelectionPaths): Likewise,
5061 (isRowSelected): Likewise,
5062 (resetRowSelection): Likewise,
5063 (insureRowContinuity): Likewise,
5064 (arePathsContiguous): Likewise,
5065 (canPathsBeAdded): Likewise,
5066 (canPathsBeRemoved): Likewise,
5067 (notifyPathChange): Likewise,
5068 (updateLeadIndex): Likewise,
5069 (insureUniqueness): Likewise,
5070 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
5072 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
5074 2006-03-22 Tom Tromey <tromey@redhat.com>
5076 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
5078 (getStaticAttributeKey): Likewise.
5079 (readAttributeSet): Likewise.
5080 (writeAttributeSet): Likewise.
5081 (readAttributes): Likewise.
5082 (writeAttributes): Likewise.
5083 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
5085 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
5087 (fireChangedUpdate): Likewise.
5090 (handleEndOfLineString): Likewise.
5091 (textAreaContent): Likewise.
5092 (preContent): Likewise.
5093 (addSpecialElement): Likewise.
5094 (setInnerHTML): Likewise.
5095 (setOuterHTML): Likewise.
5096 (insertBeforeStart): Likewise.
5097 (insertBeforeEnd): Likewise.
5098 (insertAfterEnd): Likewise.
5099 (insertAfterStart): Likewise.
5100 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
5101 Mark all methods as stub.s
5102 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
5104 (paintHorizontalSeparators): Likewise.
5105 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
5107 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
5109 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
5111 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
5114 2006-03-22 Mark Wielaard <mark@klomp.org>
5116 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
5118 2006-03-22 Mark Wielaard <mark@klomp.org>
5121 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
5122 Takes GtkImage, x and y coordinates.
5123 (gtkWidgetSetCursorUnlocked): Likewise.
5124 (GtkComponentPeer): Set cursor when set.
5125 (setCursor): Handle GtkCursor.
5126 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
5128 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5129 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
5130 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
5131 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
5133 2006-03-23 Roman Kennke <kennke@aicas.com>
5136 * gnu/java/security/Registry.java
5137 (PKCS5_PAD): Added pad PKCS#5 algorithm.
5138 * gnu/javax/crypto/pad/PadFactory.java
5139 (getInstance): For PKCS#5, also return PKCS#7 pad
5141 (getNames): Added PKCS#5.
5142 * javax/crypto/KeyGenerator.java
5143 (getInstance): Initialize key generator before returning
5146 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
5148 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
5149 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
5150 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
5153 2006-03-22 Tom Tromey <tromey@redhat.com>
5155 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
5156 (getBoolean): Likewise.
5157 (getString): Likewise.
5158 (getIcon): Likewise.
5160 2006-03-22 Mark Wielaard <mark@klomp.org>
5163 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
5164 (GLightweightPeer(Component)): Install MouseListener.
5165 (setCursor): Implement.
5166 (mouseEntered): New method.
5168 2006-03-22 Tom Tromey <tromey@redhat.com>
5170 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
5172 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
5174 (getFontForState): Likewise.
5175 (getInsets): Added 'result' argument.
5176 (getPainter): Renamed.
5178 2006-03-22 Tom Tromey <tromey@redhat.com>
5180 * javax/swing/plaf/synth/SynthPainter.java
5181 (paintScrollBarThumbBackground): Added 'orientation' argument.
5182 (paintScrollBarThumbBorder): Likewise.
5183 (paintSliderThumbBackground): Likewise.
5184 (paintSliderThumbBorder): Likewise.
5185 (paintTabbedPaneTabBackground): Added 'index' argument.
5186 (paintTabbedPaneTabBorder): Likewise.
5188 2006-03-22 Tom Tromey <tromey@redhat.com>
5190 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
5191 (toString): New method.
5193 2006-03-22 Tom Tromey <tromey@redhat.com>
5195 * doc/hacking.texinfo (Source Code Style Guide): Mention
5196 NotImplementedException.
5197 * javax/imageio/stream/MemoryCacheImageOutputStream.java
5198 (flushBefore): Mark as stub.
5200 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
5202 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
5205 (writeBit): Likewise.
5206 (writeChars): Likewise.
5207 (writeUTF): Likewise.
5208 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
5211 * java/net/URLConnection.java (getContent): Mark as stub.
5212 * java/awt/Window.java (applyResourceBundle): Mark as stub.
5213 * java/awt/TexturePaint.java (createContext): Mark as stub.
5214 (getTransparency): Mark as stub.
5215 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
5216 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
5217 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
5219 (getImageCapabilities): Likewise.
5220 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
5221 * java/awt/AlphaComposite.java (createContext): Mark as stub.
5222 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
5224 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
5225 (getAdvanceBetween): Likewise.
5226 (getLayout): Likewise.
5227 (insertChar): Likewise.
5228 (getLineBreakIndex): Likewise.
5229 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
5230 (getAdvance): Likewise.
5231 (getAscent): Likewise.
5232 (getDescent): Likewise.
5233 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
5234 (insertChar): Likewise.
5235 (nextLayout): Likewise.
5236 (nextLayout): Likewise.
5237 (nextOffset): Likewise.
5238 (nextOffset): Likewise.
5239 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
5241 (getAdvance): Likewise.
5242 (getAscent): Likewise.
5243 (getBounds): Likewise.
5244 (getDescent): Likewise.
5245 (hashCode): Likewise.
5246 (ImageGraphicAttribute): Likewise.
5247 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
5248 (getJustificationInfo): Likewise.
5249 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
5250 (getGlyphCharIndices): Likewise.
5251 (getGlyphOutline): Likewise.
5252 (getGlyphPixelBounds): Likewise.
5253 (getLayoutFlags): Likewise.
5254 (getPixelBounds): Likewise.
5255 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
5257 * java/nio/channels/Channels.java (newWriter): Mark as stub.
5258 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
5259 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
5261 (resetRecognizer): Likewise.
5262 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
5264 (getNativesForFlavor): Likewise.
5265 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
5266 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
5268 (getRegion): Likewise.
5269 (createUI): Likewise.
5270 (initialize): Likewise.
5271 (uninitialize): Likewise.
5272 (getDefaults): Likewise.
5274 (shouldUpdateStyleOnAncestorChanged): Likewise.
5275 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
5277 (getPreferredSize): Likewise.
5278 (getMaximumSize): Likewise.
5279 (paintText): Likewise.
5280 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
5282 * java/text/Collator.java (getAvailableLocales): Mark as stub.
5284 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
5286 * java/io/ObjectStreamConstants.java: Added since tag.
5287 (PROTOCOL_VERSION_1): Added javadoc.
5288 (PROTOCOL_VERSION_2): Likewise.
5289 * java/io/ObjectOutputStream.java:
5290 (setDefaultProtocolVersion): Removed.
5291 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
5293 2006-03-21 Lillian Angel <langel@redhat.com>
5295 * gnu/javax/imageio/bmp/BMPInfoHeader.java
5296 (BMPInfoHeader): Removed debug lines.
5297 * gnu/javax/imageio/bmp/EncodeRLE4.java
5298 (encode): Implemented.
5299 (uncompress): New function implemented to
5300 uncompress the image before encoding.
5301 * gnu/javax/imageio/bmp/EncodeRLE8.java
5302 (encode): Implemented.
5303 (uncompress): New function implemented to
5304 uncompress the image before encoding.
5306 2006-03-21 Roman Kennke <kennke@aicas.com>
5308 * javax/swing/text/html/FormView.java
5309 (getImageData): New helper method.
5311 2006-03-21 Tom Tromey <tromey@redhat.com>
5313 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
5315 (Unsafe): Now final.
5317 2006-03-21 Roman Kennke <kennke@aicas.com>
5319 * javax/swing/text/html/FormView.java
5320 (MouseEventListener): New inner class.
5322 2006-03-21 Roman Kennke <kennke@aicas.com>
5324 * javax/swing/text/html/ListView.java: New file.
5326 2006-03-21 Tom Tromey <tromey@redhat.com>
5328 * java/text/Bidi.java: Completed.
5330 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
5332 * javax/swing/JTable.java:
5333 (columnAtPoint): Removed the null check, this method should throw a NPE
5334 if the argument is null.
5336 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
5338 * javax/swing/text/DefaultHighlighter.java:
5339 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
5341 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
5343 * javax/swing/text/DefaultCaret.java: Added class variable denoting
5344 the textcomponent having a selection.
5345 (clearSelection): Clear 'componentWithSelection' variable.
5346 (handleSelection): Clear selection of current component having a
5347 selection before setting a new selection in another component.
5348 (mouseDragged): Only react on left mouse button.
5349 (mouseClicked): Only react on left mouse button.
5351 2006-03-21 Roman Kennke <kennke@aicas.com>
5353 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
5354 (paintContentBorderTopEdge): Implemented.
5355 (paintContentBorderBottomEdge): Implemented.
5356 (paintContentBorderLeftEdge): Implemented.
5357 (paintContentBorderRightEdge): Implemented.
5358 (isLastTabInRun): New helper method.
5360 2006-03-21 Roman Kennke <kennke@aicas.com>
5362 * javax/swing/JTabbedPane.java
5363 (Page.getForeground): Fall back to returning the tabbed pane's
5364 foreground if no foreground has been exclicitly set.
5366 2006-03-21 Roman Kennke <kennke@aicas.com>
5368 * javax/swing/plaf/metal/MetalComboBoxButton.java
5369 (setEnabled): Update colors of button correctly.
5370 * javax/swing/plaf/metal/MetalComboBoxUI.java
5371 (MetalPropertyChangeListener.propertyChange): Update the colors
5372 of the list and the button when any of the color properties
5373 of the ComboBox change.
5375 2006-03-21 Roman Kennke <kennke@aicas.com>
5377 * javax/swing/plaf/basic/BasicButtonUI.java
5378 (uninstallDefaults): Only nullify button colors if they are
5379 not UIResource instances.
5381 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
5383 * javax/swing/JComponent.java
5384 (AccessibleJComponent.getAccessibleDescription): Call super,
5385 * javax/swing/JToolTip.java: API doc updates all over, plus
5386 (AccessibleJToolTip.getAccessibleDescription): Implemented,
5387 (AccessibleJToolTip.getAccessibleRole): Implemented,
5388 (getAccessibleContext): Implemented,
5389 (paramString): Reimplemented,
5390 (setComponent): Fire PropertyChangeEvent,
5391 (setTipText): Likewise.
5393 2006-03-20 Tom Tromey <tromey@redhat.com>
5395 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
5396 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
5397 (CertStoreSpi): Updated throws clause.
5398 * java/security/cert/CertPathValidatorSpi.java: Added import for
5400 (engineValidate): Updated 'throws' clause.
5401 * java/security/cert/PKIXParameters.java: Javadoc fix.
5402 * java/security/cert/X509CertSelector.java
5403 (setAuthorityKeyIdentifier): Javadoc fix.
5405 2006-03-20 Tom Tromey <tromey@redhat.com>
5407 * .classpath: Build gnu.javax.swing.plaf.
5409 2006-03-20 Lillian Angel <langel@redhat.com>
5411 * gnu/javax/imageio/bmp/BMPDecoder.java:
5412 Removed unneeded import.
5413 * gnu/javax/imageio/bmp/BMPEncoder.java:
5415 * gnu/javax/imageio/bmp/BMPFileHeader.java
5416 (BMPFileHeader): New constructor used to create info header
5417 for an output stream.
5418 (write): Fixed indexes.
5419 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
5420 Initialized writerSpiNames field.
5421 * gnu/javax/imageio/bmp/BMPImageWriter.java:
5423 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
5425 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
5426 Change visibility for fields.
5427 (BMPInfoHeader): New constructor used to create
5428 file header for an output stream.
5429 (intToDWord): New method. Converts an int to a
5431 (intToWord): New method. Converts an int to a word.
5432 * gnu/javax/imageio/bmp/DecodeBF32.java:
5433 Removed unneeded imports.
5434 * gnu/javax/imageio/bmp/EncodeRGB1.java:
5436 * gnu/javax/imageio/bmp/EncodeRGB16.java:
5438 * gnu/javax/imageio/bmp/EncodeRGB24.java:
5440 * gnu/javax/imageio/bmp/EncodeRGB32.java:
5442 * gnu/javax/imageio/bmp/EncodeRGB4.java:
5444 * gnu/javax/imageio/bmp/EncodeRGB8.java:
5446 * gnu/javax/imageio/bmp/EncodeRLE4.java:
5448 * gnu/javax/imageio/bmp/EncodeRLE8.java:
5450 * javax/imageio/ImageIO.java:
5453 2006-03-20 Roman Kennke <kennke@aicas.com>
5455 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
5456 (TabbedPaneLayout.normalizeTabRuns): New method.
5457 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
5458 (paintTabBorder): Replaced if-else chain with switch.
5459 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
5461 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
5463 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
5465 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
5467 (paintTabBackground): Fetch background color from the TabbedPane.
5468 Fixed painting and improved by not using fillPolygon, and instead
5469 using fillRectangle. Replaced if-else chain with switch.
5470 (calculateMaxTabHeight): Added overridden method with FIXME.
5471 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
5473 (paintContentBorderTopEdge): Added stub with FIXME.
5474 (paintContentBorderBottomEdge): Added stub with FIXME.
5475 (paintContentBorderLeftEdge): Added stub with FIXME.
5476 (paintContentBorderRightEdge): Added stub with FIXME.
5478 2006-03-20 Roman Kennke <kennke@aicas.com>
5480 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5481 (tabsOpaque): New field.
5482 (installDefaults): Fetch tabsOpaque property from UIManager.
5483 (paintTab): Fill tab background when tabsOpaque property is true.
5484 * javax/swing/plaf/basic/BasicLookAndFeel.java
5485 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
5487 2006-03-20 Roman Kennke <kennke@aicas.com>
5489 * javax/swing/JTabbedPane.java
5490 (Pane.getBackground): When no background was explicitly set, return
5491 the JTabbedPane's background.
5493 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
5495 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
5496 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
5497 * org/omg/CORBA/BAD_INV_ORDER.java,
5498 * org/omg/CORBA/BAD_CONTEXT.java,
5499 * org/omg/CORBA/BAD_OPERATION.java,
5500 * org/omg/CORBA/BAD_PARAM.java,
5501 * org/omg/CORBA/BAD_QOS.java,
5502 * org/omg/CORBA/BAD_TYPECODE.java,
5503 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
5504 * org/omg/CORBA/COMM_FAILURE.java,
5505 * org/omg/CORBA/CurrentHolder.java,
5506 * org/omg/CORBA/DATA_CONVERSION.java,
5507 * org/omg/CORBA/FREE_MEM.java,
5508 * org/omg/CORBA/IMP_LIMIT.java,
5509 * org/omg/CORBA/INITIALIZE.java,
5510 * org/omg/CORBA/INTERNAL.java,
5511 * org/omg/CORBA/INTF_REPOS.java,
5512 * org/omg/CORBA/INVALID_ACTIVITY.java,
5513 * org/omg/CORBA/INVALID_TRANSACTION.java,
5514 * org/omg/CORBA/INV_FLAG.java,
5515 * org/omg/CORBA/INV_IDENT.java,
5516 * org/omg/CORBA/INV_OBJREF.java,
5517 * org/omg/CORBA/INV_POLICY.java,
5518 * org/omg/CORBA/MARSHAL.java,
5519 * org/omg/CORBA/NO_RESOURCES.java,
5520 * org/omg/CORBA/NO_MEMORY.java,
5521 * org/omg/CORBA/NO_IMPLEMENT.java,
5522 * org/omg/CORBA/NO_PERMISSION.java,
5523 * org/omg/CORBA/NO_RESPONSE.java,
5524 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
5525 * org/omg/CORBA/OBJ_ADAPTER.java,
5526 * org/omg/CORBA/ParameterModeHolder.java,
5527 * org/omg/CORBA/PolicyError.java,
5528 * org/omg/CORBA/PolicyErrorHolder.java,
5529 * org/omg/CORBA/PolicyHolder.java,
5530 * org/omg/CORBA/PolicyListHolder.java,
5531 * org/omg/CORBA/REBIND.java,
5532 * org/omg/CORBA/TIMEOUT.java,
5533 * org/omg/CORBA/TRANSACTION_MODE.java,
5534 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
5535 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
5536 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
5537 * org/omg/CORBA/TRANSIENT.java,
5538 * org/omg/CORBA/TypeCodeHolder.java,
5539 * org/omg/CORBA/UNKNOWN.java,
5540 * org/omg/CORBA/UnionMember.java,
5541 * org/omg/CORBA/UnknownUserException.java,
5542 * org/omg/CORBA/UnknownUserExceptionHolder.java,
5543 * org/omg/CORBA/WrongTransactionHolder.java,
5544 * org/omg/IOP/IOR.java,
5545 * org/omg/IOP/IORHolder.java,
5546 * org/omg/IOP/MultipleComponentProfileHolder.java,
5547 * org/omg/IOP/ServiceContextHolder.java,
5548 * org/omg/IOP/ServiceContextListHolder.java,
5549 * org/omg/IOP/TaggedComponentHolder.java,
5550 * org/omg/IOP/TaggedProfileHolder.java,
5551 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
5552 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
5553 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
5554 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
5555 Made class final, various javadoc fixlets.
5556 * org/omg/CORBA/CompletionStatus.java,
5557 * org/omg/CORBA/PERSIST_STORE.java,
5558 * org/omg/CORBA/ValueMember.java,
5559 * org/omg/PortableInterceptor/ForwardRequest.java,
5560 * org/omg/PortableInterceptor/InvalidSlot.java,
5561 * org/omg/IOP/CodecPackage/TypeMismatch.java,
5562 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
5563 * org/omg/IOP/CodecPackage/FormatMismatch.java,
5564 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
5565 * org/omg/IOP/Encoding.java,
5566 * org/omg/IOP/TaggedComponent.java,
5567 * org/omg/IOP/TaggedProfile.java: Made class final.
5568 * org/omg/CORBA/SystemException.java: Made class abstract.
5569 * org/omg/CORBA/UserException.java: Made class abstract.
5570 (UserException): Now protected.
5571 (UserException(String)): Likewise.
5572 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
5573 (typecode): Removed unused private variable.
5575 2006-03-20 Chris Burdess <dog@gnu.org>
5578 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
5580 2006-03-20 Roman Kennke <kennke@aicas.com>
5582 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5583 (paintTabArea): Look up tab run indices in tabRuns array instead
5584 of using the index directly.
5586 2006-03-20 Roman Kennke <kennke@aicas.com>
5588 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5589 (paintTab): Fixed painting.
5590 (paintText): Fixed text painting.
5591 (paintFocusIndicator): Fixed painting of the focus rectangle.
5592 (paintContentBorder): Fixed painting of the content area.
5594 2006-03-20 Mark Wielaard <mark@klomp.org>
5596 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
5597 static lock Object field.
5598 (produce): Synchronize on pixbufLock when calling initState(),
5599 pumpBytes() and pumpDone().
5600 (finalize): Likewise when calling finish().
5601 (GdkPixbufWriter.write): Likewise when calling streamImage().
5602 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
5603 when calling loadPixbuf. Chain exception.
5604 (GtkImage(byte[])): Likewise when calling loadImageFromData.
5605 (GtkImage(URL)): Likewise.
5606 (GtkImage(int,int)): Likewise when calling createPixmap().
5607 (GtkImage(GtkImage,int,int,int)): Likewise when calling
5608 createScaledPixmap().
5609 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
5610 (setImage): Likewise when calling createPixmap() and setPixels().
5611 (getSource): Likewise when calling getPixels().
5612 (flush): Likewise when calling freePixmap().
5613 (finalize): Likewise.
5614 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
5615 drawPixelsScaledFlipped().
5616 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5617 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
5618 gdk_threads_enter/leave().
5619 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
5620 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
5621 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5622 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
5623 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
5624 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
5625 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
5626 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
5627 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
5628 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
5629 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
5630 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
5631 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
5633 2006-03-20 Roman Kennke <kennke@aicas.com>
5635 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5636 (calculateTabHeight): Not need to use SwingUtilities here.
5637 (getTabInsets): Do not rotate insets.
5639 2006-03-20 Roman Kennke <kennke@aicas.com>
5641 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5642 (paint): Make sure the layout is valid before painting.
5643 (paintTabArea): Made tab painting more straightforward and efficient.
5645 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5647 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
5648 (getScrollableUnitIncrement): Rewritten.
5649 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
5650 (getScrollableUnitIncrement): Rewritten.
5651 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5652 (ROWS_PER_WHEEL_CLICK): New field.
5653 (MouseWheelHandler.mouseWheelMoved): Rewritten.
5655 2006-03-20 Roman Kennke <kennke@aicas.com>
5657 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5658 (paint): Make sure the layout is valid before painting.
5659 (paintTabArea): Made tab painting more straightforward and efficient.
5661 2006-03-20 Roman Kennke <kennke@aicas.com>
5663 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5664 (MouseHandler.mousePressed): Rewritten for clearer and simpler
5666 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
5667 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
5668 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
5669 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
5670 bounds here. That is moved into layoutContainer().
5671 (calculateSize): Correctly respect insets. Made code slightly more
5672 clear and efficient.
5673 (calculateTabRects): Rewritten completely. The old code was
5674 not quite right and unstable in some situations.
5675 (layoutContainer): Moved layout of tabbed pane's subcomponents
5677 (tabRunsDirty): New field.
5678 (rolloverTab): New field.
5679 (tabForCoordinate): Rewritten for simplicity and correctness.
5680 (setRolloverTab): New method.
5681 (getRolloverTab): New method.
5683 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5685 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
5686 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
5687 (getScrollableUnitIncrement
5688 * javax/swing/Scrollable.java: Documented.
5689 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5690 (MouseWheelHandler):Rewritten.
5692 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
5694 * doc/vmintegration.texinfo:
5695 Updated with gnu.classpath.Unsafe
5697 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
5700 Updated with VMArray and Unsafe changes.
5702 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5704 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
5705 (getScrollableUnitIncrement): Rewritten.
5706 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
5707 (getScrollableUnitIncrement): Rewritten.
5708 (getScrollableBlockIncrement): Rewritten.
5709 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5710 (MouseWheelHandler): Implemented. (ViewportContainerListener):
5711 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
5712 New field. (installListeners): Install wheel listeners.
5713 (uninstallListeners): Uninstall wheel listeners.
5714 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
5715 of the MouseWheelListener. (installListeners): Do not install wheel
5716 listener. (ROWS_PER_WHEEL_CLICK): Removed.
5718 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
5720 * vm/reference/gnu/classpath/Unsafe.java:
5722 (getUnsafe()): Updated to handle security.
5724 2006-03-19 Tom Tromey <tromey@redhat.com>
5726 * vm/reference/gnu/classpath/Unsafe.java:
5727 New class to handle low-level facilities for concurrency.
5729 2006-03-19 Michael Barker <mike@middlesoft.co.uk>
5731 * vm/reference/gnu/java/nio/VMChannel.java: Added, supports setting
5732 non-blocking and scatter-gather io operations.
5733 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel
5734 * gnu/java/nio/SelectorImpl.java
5735 (register) Added condition for gnu.java.nio.SocketChannelSelectionKeyImpl
5736 * gnu/java/nio/SocketChannelSelectionKeyImpl.java Added.
5737 * gnu/java/nio/channels/FileChannelImpl.java: Retrofitted to use VMChannel
5738 * java/nio/FileChannel.java
5739 (read (ByteBuffer)) Changed to call abstract method.
5740 (write (ByteBuffer)) Changed to call abstract method.
5741 * include/gnu_java_nio_VMChannel.h: Added.
5742 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added.
5744 2006-03-19 Mark Wielaard <mark@klomp.org>
5746 * include/Makefile.am: Rename PlainDatagramSocketImpl to
5747 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
5748 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
5749 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
5751 2006-03-19 Mark Wielaard <mark@klomp.org>
5753 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
5755 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
5757 2006-03-19 Michael Koch <konqueror@gmx.de>
5759 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
5760 resource/gnu/java/locale/LocaleInformation_am.properties,
5761 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
5762 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
5763 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
5764 resource/gnu/java/locale/LocaleInformation_bg.properties,
5765 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
5766 resource/gnu/java/locale/LocaleInformation_ca.properties,
5767 resource/gnu/java/locale/LocaleInformation_cs.properties,
5768 resource/gnu/java/locale/LocaleInformation_cy.properties,
5769 resource/gnu/java/locale/LocaleInformation_da.properties,
5770 resource/gnu/java/locale/LocaleInformation_de.properties,
5771 resource/gnu/java/locale/LocaleInformation_dv.properties,
5772 resource/gnu/java/locale/LocaleInformation_el.properties,
5773 resource/gnu/java/locale/LocaleInformation_en.properties,
5774 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
5775 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
5776 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
5777 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
5778 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
5779 resource/gnu/java/locale/LocaleInformation_es.properties,
5780 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
5781 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
5782 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
5783 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
5784 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
5785 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
5786 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
5787 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
5788 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
5789 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
5790 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
5791 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
5792 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
5793 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
5794 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
5795 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
5796 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
5797 resource/gnu/java/locale/LocaleInformation_es_US.properties,
5798 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
5799 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
5800 resource/gnu/java/locale/LocaleInformation_fa.properties,
5801 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
5802 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
5803 resource/gnu/java/locale/LocaleInformation_fi.properties,
5804 resource/gnu/java/locale/LocaleInformation_fr.properties,
5805 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
5806 resource/gnu/java/locale/LocaleInformation_ga.properties,
5807 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
5808 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
5809 resource/gnu/java/locale/LocaleInformation_hr.properties,
5810 resource/gnu/java/locale/LocaleInformation_hu.properties,
5811 resource/gnu/java/locale/LocaleInformation_id.properties,
5812 resource/gnu/java/locale/LocaleInformation_is.properties,
5813 resource/gnu/java/locale/LocaleInformation_it.properties,
5814 resource/gnu/java/locale/LocaleInformation_ja.properties,
5815 resource/gnu/java/locale/LocaleInformation_kk.properties,
5816 resource/gnu/java/locale/LocaleInformation_kl.properties,
5817 resource/gnu/java/locale/LocaleInformation_km.properties,
5818 resource/gnu/java/locale/LocaleInformation_ky.properties,
5819 resource/gnu/java/locale/LocaleInformation_lo.properties,
5820 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
5821 resource/gnu/java/locale/LocaleInformation_lt.properties,
5822 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
5823 resource/gnu/java/locale/LocaleInformation_lv.properties,
5824 resource/gnu/java/locale/LocaleInformation_mk.properties,
5825 resource/gnu/java/locale/LocaleInformation_mn.properties,
5826 resource/gnu/java/locale/LocaleInformation_mr.properties,
5827 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
5828 resource/gnu/java/locale/LocaleInformation_ms.properties,
5829 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
5830 resource/gnu/java/locale/LocaleInformation_mt.properties,
5831 resource/gnu/java/locale/LocaleInformation_nb.properties,
5832 resource/gnu/java/locale/LocaleInformation_nl.properties,
5833 resource/gnu/java/locale/LocaleInformation_nn.properties,
5834 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
5835 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
5836 resource/gnu/java/locale/LocaleInformation_pa.properties,
5837 resource/gnu/java/locale/LocaleInformation_pl.properties,
5838 resource/gnu/java/locale/LocaleInformation_pt.properties,
5839 resource/gnu/java/locale/LocaleInformation_ru.properties,
5840 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
5841 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
5842 resource/gnu/java/locale/LocaleInformation_sa.properties,
5843 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
5844 resource/gnu/java/locale/LocaleInformation_sk.properties,
5845 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
5846 resource/gnu/java/locale/LocaleInformation_sv.properties,
5847 resource/gnu/java/locale/LocaleInformation_sw.properties,
5848 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
5849 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
5850 resource/gnu/java/locale/LocaleInformation_te.properties,
5851 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
5852 resource/gnu/java/locale/LocaleInformation_th.properties,
5853 resource/gnu/java/locale/LocaleInformation_ti.properties,
5854 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
5855 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
5856 resource/gnu/java/locale/LocaleInformation_tr.properties,
5857 resource/gnu/java/locale/LocaleInformation_tt.properties,
5858 resource/gnu/java/locale/LocaleInformation_uk.properties,
5859 resource/gnu/java/locale/LocaleInformation_ur.properties,
5860 resource/gnu/java/locale/LocaleInformation_uz.properties,
5861 resource/gnu/java/locale/LocaleInformation_zh.properties,
5862 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
5863 More updates for CLDR 1.3.
5865 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
5867 * doc/vmintegration.texinfo:
5868 Updated to include VMArray.
5869 * include/Makefile.am:
5870 Replace java_lang_reflect_Array.h with
5871 java_lang_reflect_VMArray.h
5872 * include/java_lang_reflect_VMArray.h:
5873 New autogenerated header.
5874 * include/java_lang_reflect_Array.h:
5876 * java/lang/reflect/Array.java:
5877 (newInstance(Class,int)): Calls VMArray.
5878 (createMultiArray(Class,int[],int)): Likewise.
5879 (createObjectArray(Class,int)): Removed.
5880 * native/jni/java-lang/Makefile.am:
5881 Replaced java_lang_reflect_Array.c with
5882 java_lang_reflect_VMArray.c
5883 * native/jni/java-lang/java_lang_reflect_VMArray.c:
5884 Renamed from java_lang_reflect_Array.c.
5885 * vm/reference/java/lang/reflect/VMArray.java:
5886 (createObjectArray(Class,int)): Native method moved
5887 from java.lang.reflect.Array.
5889 2006-03-19 Roman Kennke <kennke@aicas.com>
5891 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
5892 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
5894 * examples/gnu/classpath/examples/swing/Demo.java
5895 (mkButtonBar): Hook up theme editor.
5896 (mkMenuBar): Hook up theme editor.
5898 2006-03-19 Roman Kennke <kennke@aicas.com>
5900 * javax/swing/plaf/basic/BasicFileChooserUI.java
5901 (ApproveSelectionAction.actionPerformed): Added case for when
5902 nothing has been selected but the user has typed a filename
5904 (getFileName): Return the value of the text field.
5906 2006-03-19 Roman Kennke <kennke@aicas.com>
5908 * javax/swing/JColorChooser.java
5909 (createDialog): Create JDialog instead of ModalDialog. Make this
5910 dialog modal by calling setModal(true).
5911 (ModalDialog): Removed unnecessary inner class.
5913 2006-03-19 Tom Tromey <tromey@redhat.com>
5915 * java/awt/font/NumericShaper.java: Rewrote.
5917 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5919 * javax/swing/plaf/basic/BasicTableUI.java:
5920 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
5921 New field. MouseInputHandler.mouseWheelMoved): New method.
5922 (installListeners): Register MouseInputHandler as
5923 wheel listener also.
5925 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5928 * javax/swing/ViewportLayout.java (layoutContainer):
5929 If Scrollable tracks dimension, set view size to the port size.
5930 If port is larger than the view, move the view to the top/left.
5932 2006-03-19 Roman Kennke <kennke@aicas.com>
5934 * javax/swing/MenuSelectionManager.java
5935 (isComponentPartOfCurrentMenu): Also consider the first element
5936 in a menu selection list. Make a isDescendentFrom check instead
5937 of simple equals to also catch sub components.
5939 2006-03-19 Roman Kennke <kennke@aicas.com>
5941 * javax/swing/JComboBox.java
5942 (actionPerformed): Fetch selected item directly from the editor
5943 instead of trying to get it from the event.
5945 2006-03-19 Roman Kennke <kennke@aicas.com>
5947 * javax/swing/plaf/basic/BasicComboBoxEditor.java
5948 (listener): Removed field.
5949 (BasicComboBoxEditor): Removed initialization of listener field.
5950 (addActionListener): Add listener directly to editor.
5951 (removeActionListener): Remove listener directly from editor.
5952 (ComboBoxEditorListener): Removed class.
5953 * javax/swing/plaf/basic/BasicComboBoxUI.java
5954 (getPreferredSize): Fixed to return the minimumSize.
5955 (getMinimumSize): Improved code for more clearness.
5956 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
5957 (rectangleForCurrentValue): Correctly respect insets.
5958 (getDefaultSize): Return preferredSize here. Dont override height
5960 (getDisplaySize): Moved around code for more clearness. Added
5961 handling of prototype renderer.
5962 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
5963 arrowButton bounds since the former depends on the latter.
5964 * javax/swing/plaf/metal/MetalComboBoxButton.java:
5965 (MetalComboBoxButton): Make button rollover disabled.
5966 (isFocusTraversable): Return false unconditionally.
5967 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
5968 (EditorTextField): New class. Fixes the size properties.
5969 (MetalComboBoxEditor): Create instance of EditorTextField.
5970 * javax/swing/plaf/metal/MetalComboBoxUI.java:
5971 (getMinimumSize): Fixed editable size.
5973 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5975 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
5977 2006-03-18 Roman Kennke <kennke@aicas.com>
5979 * javax/swing/plaf/metal/MetalToolBarUI.java
5980 (update): Added overridden method to support OceanTheme.
5982 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5984 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
5985 Activate the cell editing on character keystroke.
5987 2006-03-18 Mark Wielaard <mark@klomp.org>
5989 * java/awt/Component.java (eventTypeEnabled): Handle
5990 MouseEvent.MOUSE_WHEEL.
5991 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
5992 New callback method.
5993 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5994 (AWT_MOUSE_WHEEL): New constant.
5995 (AWT_WHEEL_UNIT_SCROLL): Likewise.
5996 (postMouseWheelEventID): New static variable.
5997 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
5998 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
5999 (button_number): Renamed to ...
6000 (button_number_direction): variable to hold button number or scroll
6002 (component_button_press_cb): Use button_number_direction.
6003 (component_scroll_cb): New static callback function.
6005 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6007 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
6008 Return without action.
6010 2006-03-18 Mark Wielaard <mark@klomp.org>
6012 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
6013 Don't cast graphics object to GdkGraphics.
6014 (updateComponent): Likewise.
6016 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6018 * examples/gnu/classpath/examples/swing/TableDemo.java
6019 (TModel.getColumnClass): Set second column to Icon.
6020 (TModel.isCellEditable): Say icons are not editable.
6021 (createContent): Fill the in second column with some icons from
6024 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6026 * examples/gnu/classpath/examples/swing/Demo.java
6027 (mkButtonBar): Set maximal button bar height to the preferred height.
6029 2006-03-18 Roman Kennke <kennke@aicas.com>
6031 * javax/swing/plaf/basic/BasicComboPopup.java
6032 (show): Substract insets from scroller width.
6033 (getPopupHeightForRowCount): If height==0, return a default of 100
6034 instead for empty ComboBoxes.
6036 2006-03-18 Roman Kennke <kennke@aicas.com>
6038 * javax/swing/plaf/basic/BasicLookAndFeel.java
6039 (PopupHelper.autoClosePopups): Removed field.
6040 (PopupHelper.mousePressed): Removed processing of registered
6042 (registerForAutoClose): Removed unneeded method.
6043 (autoClosePopups): Removed unneeded method.
6044 (registerForAutoClose): Removed unneeded method.
6046 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6048 * javax.swing.JTable.java (TableTextField): Set border.
6049 (moveToCellBeingEdited): Do not adjust the editor boundaries
6051 2006-03-18 Michael Koch <konqueror@gmx.de>
6053 * resource/gnu/java/locale/LocaleInformation_aa.properties,
6054 resource/gnu/java/locale/LocaleInformation_af.properties,
6055 resource/gnu/java/locale/LocaleInformation_am.properties,
6056 resource/gnu/java/locale/LocaleInformation_ar.properties,
6057 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
6058 resource/gnu/java/locale/LocaleInformation_be.properties,
6059 resource/gnu/java/locale/LocaleInformation_bg.properties,
6060 resource/gnu/java/locale/LocaleInformation_bn.properties,
6061 resource/gnu/java/locale/LocaleInformation_ca.properties,
6062 resource/gnu/java/locale/LocaleInformation_cs.properties,
6063 resource/gnu/java/locale/LocaleInformation_cy.properties,
6064 resource/gnu/java/locale/LocaleInformation_da.properties,
6065 resource/gnu/java/locale/LocaleInformation_de.properties,
6066 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
6067 resource/gnu/java/locale/LocaleInformation_dz.properties,
6068 resource/gnu/java/locale/LocaleInformation_en.properties,
6069 resource/gnu/java/locale/LocaleInformation_eo.properties,
6070 resource/gnu/java/locale/LocaleInformation_es.properties,
6071 resource/gnu/java/locale/LocaleInformation_et.properties,
6072 resource/gnu/java/locale/LocaleInformation_eu.properties,
6073 resource/gnu/java/locale/LocaleInformation_fa.properties,
6074 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
6075 resource/gnu/java/locale/LocaleInformation_fi.properties,
6076 resource/gnu/java/locale/LocaleInformation_fo.properties,
6077 resource/gnu/java/locale/LocaleInformation_fr.properties,
6078 resource/gnu/java/locale/LocaleInformation_ga.properties,
6079 resource/gnu/java/locale/LocaleInformation_gl.properties,
6080 resource/gnu/java/locale/LocaleInformation_gu.properties,
6081 resource/gnu/java/locale/LocaleInformation_he.properties,
6082 resource/gnu/java/locale/LocaleInformation_hi.properties,
6083 resource/gnu/java/locale/LocaleInformation_hr.properties,
6084 resource/gnu/java/locale/LocaleInformation_hu.properties,
6085 resource/gnu/java/locale/LocaleInformation_hy.properties,
6086 resource/gnu/java/locale/LocaleInformation_id.properties,
6087 resource/gnu/java/locale/LocaleInformation_is.properties,
6088 resource/gnu/java/locale/LocaleInformation_it.properties,
6089 resource/gnu/java/locale/LocaleInformation_ja.properties,
6090 resource/gnu/java/locale/LocaleInformation_ka.properties,
6091 resource/gnu/java/locale/LocaleInformation_km.properties,
6092 resource/gnu/java/locale/LocaleInformation_ko.properties,
6093 resource/gnu/java/locale/LocaleInformation_lo.properties,
6094 resource/gnu/java/locale/LocaleInformation_lt.properties,
6095 resource/gnu/java/locale/LocaleInformation_lv.properties,
6096 resource/gnu/java/locale/LocaleInformation_mk.properties,
6097 resource/gnu/java/locale/LocaleInformation_mr.properties,
6098 resource/gnu/java/locale/LocaleInformation_ms.properties,
6099 resource/gnu/java/locale/LocaleInformation_mt.properties,
6100 resource/gnu/java/locale/LocaleInformation_nb.properties,
6101 resource/gnu/java/locale/LocaleInformation_nl.properties,
6102 resource/gnu/java/locale/LocaleInformation_nn.properties,
6103 resource/gnu/java/locale/LocaleInformation_om.properties,
6104 resource/gnu/java/locale/LocaleInformation_pl.properties,
6105 resource/gnu/java/locale/LocaleInformation_ps.properties,
6106 resource/gnu/java/locale/LocaleInformation_pt.properties,
6107 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
6108 resource/gnu/java/locale/LocaleInformation_ro.properties,
6109 resource/gnu/java/locale/LocaleInformation_ru.properties,
6110 resource/gnu/java/locale/LocaleInformation_sk.properties,
6111 resource/gnu/java/locale/LocaleInformation_sl.properties,
6112 resource/gnu/java/locale/LocaleInformation_so.properties,
6113 resource/gnu/java/locale/LocaleInformation_sq.properties,
6114 resource/gnu/java/locale/LocaleInformation_sr.properties,
6115 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
6116 resource/gnu/java/locale/LocaleInformation_sv.properties,
6117 resource/gnu/java/locale/LocaleInformation_sw.properties,
6118 resource/gnu/java/locale/LocaleInformation_ta.properties,
6119 resource/gnu/java/locale/LocaleInformation_te.properties,
6120 resource/gnu/java/locale/LocaleInformation_th.properties,
6121 resource/gnu/java/locale/LocaleInformation_tr.properties,
6122 resource/gnu/java/locale/LocaleInformation_uk.properties,
6123 resource/gnu/java/locale/LocaleInformation_uz.properties,
6124 resource/gnu/java/locale/LocaleInformation_vi.properties,
6125 resource/gnu/java/locale/LocaleInformation_zh.properties,
6126 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
6127 Updated to use the new localized strings for currencies, languages,
6128 variants, territories, etc.
6130 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
6132 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
6133 (start, end): Added comment about the negative values of them,
6134 (finish): Saves the input text in matchedCharIndexed,
6135 (toString): If the start or end index is out of bounds of the
6136 matched text, get the substring from matchedCharIndexed.
6137 Added special handlings in case start/end index < -1,
6138 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
6139 Added special handlings in case start/end index < -1,
6140 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
6141 found match, but keep the index as the original match.
6142 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
6143 found match, but keep the index as the original match.
6144 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
6145 in case start/end index < -1.
6147 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6149 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
6152 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6154 * javax/swing/text/DefaultCaret.java:
6155 (mouseClicked) Use setDot() and moveDot() instead of
6156 JTextComponent.select().
6158 2006-03-17 Roman Kennke <kennke@aicas.com>
6160 * javax/swing/plaf/metal/MetalComboBoxEditor.java
6161 (MetalComboBoxEditorBorder.paintBorder): Implemented special
6162 border painting for the Ocean theme.
6163 (MetalComboBoxEditor): Create editor directly instead of going
6166 2006-03-17 Roman Kennke <kennke@aicas.com>
6168 * javax/swing/text/JTextComponent.java
6169 (JTextComponent): Make text components opaque.
6171 2006-03-17 Roman Kennke <kennke@aicas.com>
6173 * javax/swing/plaf/metal/MetalComboBoxUI.java
6174 (MetalComboBoxLayoutManager.layoutContainer): Forward to
6176 (MetalPropertyChangeListener.propertyChange): Update focusable
6177 flag according to the enable and editable state.
6178 (editablePropertyChanged): Removed unnecessary code.
6179 (getMinimumSize): Rewritten to correctly compute the
6180 size, respecting the insets of the components and the icon,
6181 the visual properties of the combobox, etc.
6182 (configureEditor): Update listeners correctly.
6183 (unconfigureEditor): Update listeners correctly.
6184 (layoutComboBox): Implemented.
6186 2006-03-17 Roman Kennke <kennke@aicas.com>
6188 * javax/swing/plaf/metal/MetalComboBoxEditor.java
6189 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
6190 instead of Flush3DBorder.
6191 (paintBorder): Fixed border painting.
6192 (editorBorderInsets): Fixed border's insets.
6194 2006-03-17 Roman Kennke <kennke@aicas.com>
6196 * javax/swing/plaf/metal/MetalComboBoxButton.java
6197 (rendererPane): Documented.
6198 (MetalComboBoxButton): Set enabled flag from ComboBox.
6199 Set focusable flag from ComboBox's enabled flag.
6200 (isFocusTraversable): Make button focus traversable if
6201 ComboBox is not editable but enable.
6202 (paintComponent): Fixed painting to correctly adjust
6203 the boxes of the renderer and button.
6205 2006-03-17 Roman Kennke <kennke@aicas.com>
6207 * javax/swing/plaf/basic/BasicButtonUI.java
6208 (installDefaults): Only install UI margin if installed margin.
6209 is null or a UIResource.
6210 (uninstallDefaults): Only uninstall margin if it's
6213 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6215 * javax/swing/text/DefaultCaret.java:
6216 (mouseClicked) Use setDot() and moveDot() instead of
6217 JTextComponent.select().
6219 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6221 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
6222 inner classes into package-private inner classes, added actions
6223 for caret movement and selection to the next and previous word
6224 and an action which selects the whole text.
6226 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6228 * javax/swing/Spring.java: Uncomment springdebug methods and
6229 rename them toString.
6230 * javax/swing/SpringLayout.java: Likewise.
6232 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6234 * javax/swing/text/FieldView.java:
6235 (viewToModel): Added call to adjust allocation area.
6237 2006-03-17 Roman Kennke <kennke@aicas.com>
6239 * javax/swing/plaf/basic/BasicComboBoxUI.java
6240 (mouseListener): Removed field.
6241 (buttonBackground): Removed field.
6242 (buttonShadow): Removed field.
6243 (buttonDarkShadow): Removed field.
6244 (buttonHighlight): Removed field.
6245 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
6246 (installUI): Initialize and configure renderer and editor here.
6247 (uninstallUI): Close popup before uninitializing.
6248 Message popup that we are uninitializing. Clear layout.
6249 (installDefaults): Install UI border. Don't install colors.
6250 (installListeners): Install listeners fetched from the popup.
6251 Remove handling of mouseListener.
6252 (uninstallDefaults): Uninstall border. Don't handle colors.
6253 (uninstallListeners): Don't handle mouseListener. Uninstall
6254 listener from the popup.
6255 (createMouseListener): Removed method.
6256 (createRenderer): Create UIResource.
6257 (installComponents): Cleaned up.
6258 (uninstallComponents): Only remove renderer when it is
6260 (addEditor): Remove editor before adding new one.
6261 Fetch editor from comboBox.
6262 (removeEditor): Only do something when editor != null. Unconfigure
6263 editor before removing.
6264 (configureEditor): Add key listener. Call comboBox.configureEditor.
6265 (unconfigureEditor): Removed key listener.
6266 (configureArrowButton): Only handle when arrowButton != null.
6267 Add mouse listeners to arrow button.
6268 (unconfigureArrowButton): Remove listeners.
6269 (createArrowButton): Don't handle colors here.
6270 (setPopupVisible): Don't handle focus here.
6271 (paint): Only paint when comboBox is not editable. Update
6273 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
6274 (getMinimumSize): Respect insets here.
6275 (getMaximumSize): Return preferredSize with width of 32767.
6276 (getInsets): Return ComboBox insets.
6277 (paintCurrentValue): Paint using currentValuePane.
6278 Install correct colors. Don't revalidate.
6279 (paintCurrentValueBackground): Implemented.
6280 (getDefaultSize): Reimplemented using a default renderer.
6281 (getDisplaySize): Reimplemented to use renderer.
6282 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
6283 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
6284 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
6285 (FocusHandler.focusGained): Don't invalidate minimumSize.
6286 (FocusHandler.focusLost): Don't invalidate minimumSize.
6287 Only close popup if focus change is not temporary.
6288 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
6289 Reconfigure editor if not null.
6290 (ListDataHandler.contentsChanged): Revalidate and reconfigure
6291 editor if necessary.
6292 (ListDataHandler.intervalAdded): Fixed updating of the display size.
6293 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
6294 (MouseHandler): Removed unnecessary class.
6296 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6298 * examples/gnu/classpath/examples/swing/Demo.java:
6299 (Demo): Set default closing operation to shutdown the runtime.
6301 2006-03-17 Roman Kennke <kennke@aicas.com>
6303 * javax/swing/plaf/basic/BasicComboPopup.java
6304 (BasicComboPopup): Create listeners here.
6305 Configure components here.
6306 (show): Correctly calculate bounds using computePopupBounds().
6307 Make scroller fixed-size. Removed special autocloser handling.
6308 (hide): Rewritten to use MenuSelectionHandler.
6309 (createList): Don't set selection mode here.
6310 (configureList): Correctly install colors and fonts and selectionMode.
6311 (createScroller): Set scrollpane policies.
6312 (configureScroller): Make scroller and scrollbar not-focusable.
6313 (configurePopup): Make popup opaque and borderPainted.
6314 (installComboBoxListeners): Don't install mouse listener on ComboBox.
6315 (delegateFocus): Implemented.
6316 (convertMouseEvent): Implemented.
6317 (updateListBoxSelectionForEvent): Implemented to also handle
6319 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
6320 Only open popup on left mouse-click.
6321 (InvocationMouseHandler.mouseReleased): Rewritten.
6322 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
6323 support autoscrolling.
6324 (ItemHandler.itemStateChanged): Implemented to sync selection with
6326 (ListMouseHandler.mouseReleased): Fetch selected index directly
6328 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
6330 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
6331 When model changes, then update listeners correctly.
6332 (uninstallListeners): Don't uninstall list listeners.
6333 (uninstallComboBoxListeners): Don't uninstall mouse listeners
6335 (syncSelection): New helper method.
6337 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6339 * javax/swing/text/PlainView.java:
6340 (drawLine): Rewritten.
6341 (drawSelectedText): Corrected last argument for
6342 Utilities.drawTabbedText() call.
6343 (paint): Store start and end of selection in object variables,
6344 store constant values of for-loop in local variables.
6345 * javax/swing/text/Utilities.java:
6346 (drawTabbedText): Add 'pixelWidth' to the return value, store
6347 constant value of for-loop in local variable.
6349 2006-03-17 Roman Kennke <kennke@aicas.com>
6351 * javax/swing/plaf/basic/BasicComboPopup.java
6352 (BasicComboPopup): Create listeners here.
6353 Configure components here.
6354 (show): Correctly calculate bounds using computePopupBounds().
6355 Make scroller fixed-size. Removed special autocloser handling.
6356 (hide): Rewritten to use MenuSelectionHandler.
6357 (createList): Don't set selection mode here.
6358 (configureList): Correctly install colors and fonts and selectionMode.
6359 (createScroller): Set scrollpane policies.
6360 (configureScroller): Make scroller and scrollbar not-focusable.
6361 (configurePopup): Make popup opaque and borderPainted.
6362 (installComboBoxListeners): Don't install mouse listener on ComboBox.
6363 (delegateFocus): Implemented.
6364 (convertMouseEvent): Implemented.
6365 (updateListBoxSelectionForEvent): Implemented to also handle
6367 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
6368 Only open popup on left mouse-click.
6369 (InvocationMouseHandler.mouseReleased): Rewritten.
6370 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
6371 support autoscrolling.
6372 (ItemHandler.itemStateChanged): Implemented to sync selection with
6374 (ListMouseHandler.mouseReleased): Fetch selected index directly
6376 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
6378 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
6379 When model changes, then update listeners correctly.
6380 (uninstallListeners): Don't uninstall list listeners.
6381 (uninstallComboBoxListeners): Don't uninstall mouse listeners
6383 (syncSelection): New helper method.
6385 2006-03-17 Roman Kennke <kennke@aicas.com>
6387 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
6388 (noFocusBorder): Make border with insets of (1,1,1,1).
6389 (BasicComboBoxRenderer): Make renderer opaque.
6390 No need to explicitly set alignment.
6391 (getListCellRendererComponent): Rewritten to correctly initialize
6394 2006-03-17 Roman Kennke <kennke@aicas.com>
6396 * javax/swing/JPopupMenu.java
6397 (setVisible): Handle JPopupMenu opening and closing via
6398 the MenuSelectionHandler.
6400 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
6402 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
6403 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
6404 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
6406 * org/omg/CORBA/portable/RemarshalException.java: Likewise
6407 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
6408 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
6409 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
6410 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
6411 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
6412 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
6413 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
6414 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
6415 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
6417 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6419 * java/rmi/activation/Activatable.java: Implemented.
6420 java/rmi/activation/ActivationDesc.java: Implemented.
6421 java/rmi/activation/ActivationGroup.java: Implemented.
6422 java/rmi/activation/ActivationGroupDesc.java: Implemented.
6423 java/rmi/activation/ActivationID.java: Implemented.
6424 java/rmi/activation/ActivationSystem.java: Implemented.
6425 * gnu/java/rmi/server/UnicastServerRef.java
6426 (exportObject, incommingMessageCall): Documented.
6427 * java/rmi/activation/package.html: Documented.
6428 * java/rmi/server/ObjID.java (objNum, space): Made package
6430 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
6431 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
6433 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
6434 gnu/java/rmi/activation/BidiTable.java: New file.
6435 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
6436 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
6437 gnu/java/rmi/server/ActivatableServerRef.java: New file.
6439 2006-03-17 Mark Wielaard <mark@klomp.org>
6441 * java/security/BasicPermission.java (BasicPermission): Check
6442 name equals empty string to force NullPointerException.
6444 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
6447 Commit patch by Caolan McNamara <caolanm@redhat.com>
6448 * javax/swing/Spring.java: Complete implementation
6449 * javax/swing/SpringLayout.java: Likewise.
6451 2006-03-16 Keith Seitz <keiths@redhat.com>
6453 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
6455 (run): Remove catch clause for InterruptedException. It is no
6458 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
6460 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
6461 (getFontMetrics): Handle monospaced fonts specially.
6463 2006-03-16 Keith Seitz <keiths@redhat.com>
6465 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
6466 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
6467 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
6468 Don't suspend the current thread unless it is not part of the JDWP
6471 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
6473 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
6475 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
6476 font metrics through toolkit.
6477 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
6479 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
6480 (getFontMetrics): To calculate Java logical ascent and descent
6481 values, average Pango ink and logical values.
6483 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
6485 * java/lang/Character.java: Updated header comment.
6487 2006-03-16 Tom Tromey <tromey@redhat.com>
6489 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
6491 * javax/sound/sampled/FloatControl.java: Now abstract.
6492 * javax/sound/sampled/EnumControl.java: Now abstract.
6493 * javax/sound/sampled/CompoundControl.java: Now abstract.
6494 * javax/sound/sampled/BooleanControl.java: Now abstract.
6496 2006-03-16 Tom Tromey <tromey@redhat.com>
6498 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
6500 2006-03-16 Roman Kennke <kennke@aicas.com>
6502 * java/util/zip/ZipFile.java
6503 (openFile): New helper method.
6504 (ZipFile): Use new openFile method to ensure the proper
6505 exception is thrown. This applies for all overloaded constructors.
6507 2006-03-16 Roman Kennke <kennke@aicas.com>
6509 * java/text/DateFormatSymbols.java
6510 (setAmPmStrings): Added null check and throw NPE.
6511 (setEras): Likewise.
6512 (setLocalPatternChars): Likewise.
6513 (setMonths): Likewise.
6514 (setShortMonths): Likewise.
6515 (setShortWeekdays): Likewise.
6516 (setWeekdays): Likewise.
6517 (setZoneStrings): Likewise.
6519 2006-03-16 Roman Kennke <kennke@aicas.com>
6521 * javax/swing/DefaultDesktopManager.java
6522 (iconifyFrame): Repaint after removing the frame.
6523 (removeIconFor): Repaint after removing the icon.
6525 2006-03-16 Roman Kennke <kennke@aicas.com>
6527 * javax/swing/JInternalFrame.java
6528 (remove): Respect the rootPaneCheckingEnabled flag here.
6530 2006-03-16 Roman Kennke <kennke@aicas.com>
6532 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
6533 Moved from examples into gnu.javax.swing.. namespace.
6534 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
6535 Moved to gnu.javax.swing.. namespace.
6536 * examples/gnu/classpath/examples/swing/Demo.java:
6537 (themesMenu): New field. Used to disable theme switch in
6539 (mkMenuBar): Added L&F menu.
6540 (ChangeThemeAction.actionPerformed): Only switch theme when
6542 (ChangeLAFAction): New class used for changing themes.
6543 * javax/swing/UIManager.java
6544 (installed): Added GNU L&F as installed L&F.
6546 2006-03-16 Mark Wielaard <mark@klomp.org>
6548 * examples/gnu/classpath/examples/swing/badge.png: Removed.
6549 * examples/gnu/classpath/examples/icons/badge.png: Added.
6550 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
6551 from icon directory.
6553 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6555 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
6557 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
6558 * examples/gnu/classpath/examples/awt/Demo.java: Add
6559 AnimationApplet demo.
6560 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
6563 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6566 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
6568 (handleEvent): Likewise.
6569 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
6571 (beginNativeRepaint): Remove method.
6572 (endNativeRepaint): Likewise.
6573 (handleEvent): Call paintComponent and updateComponent.
6574 (paintComponent): New method.
6575 (updateComponent): Likewise.
6576 (repaint): Return early if width or height is less than one.
6577 (postExposeEvent): Remove isInRepaint reference.
6578 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
6580 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
6582 (postMouseEvent): Likewise.
6583 (postExposeEvent): Likewise.
6584 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
6585 Override to do nothing.
6586 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
6588 (postMouseEvent): Likewise.
6589 (postExposeEvent): Likewise.
6590 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
6591 paint and update handling from GtkComponentPeer.
6592 (updateComponent): Override to call paintComponent.
6593 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
6594 gdk_flush calls with schedule_flush calls.
6595 (flush): New function.
6596 (schedule_flush): Likewise.
6598 2006-03-15 Tom Tromey <tromey@redhat.com>
6600 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
6602 (BCSIterator): Likewise.
6603 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
6605 (BCSSProxyServiceProvider): Likewise.
6606 (BCSSServiceProvider): Likewise.
6608 2006-03-15 Tom Tromey <tromey@redhat.com>
6610 * javax/sound/midi/Track.java (Track): New constructor.
6611 (events): Now package-private.
6612 * javax/sound/midi/MidiUnavailableException.java
6613 (MidiUnavailableException): Removed invalid constructors.
6614 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
6615 * javax/sound/midi/InvalidMidiDataException.java
6616 (InvalidMidiDataException): Removed invalid constructors.
6617 * javax/sound/midi/Sequencer.java (hashCode): Now final.
6618 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
6619 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
6620 (SYSTEM_EXCLUSIVE): Removed.
6621 (getDataLength): Updated.
6622 * javax/sound/midi/MidiDevice.java (Info): Now protected.
6624 (getName): Now final.
6625 (getVendor): Now final.
6626 (getDescription): Likewise.
6627 (hashCode): Likewise.
6628 (getVersion): Likewise.
6629 (toString): Likewise.
6630 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
6631 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
6632 (getEarlyReflectionDelay): Likewise.
6633 (getEarlyReflectionIntensity): Likewise.
6634 (getLateReflectionDelay): Likewise.
6635 (getLateReflectionIntensity): Likewise.
6636 (toString): Likewise.
6637 * javax/sound/sampled/Port.java (toString): Now final.
6638 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
6639 (getLine): Likewise.
6640 (getType): Likewise.
6641 * javax/sound/sampled/Mixer.java (Info): Now protected.
6642 (getDescription): Now final.
6643 (getName): Likewise.
6644 (getVendor): Likewise.
6645 (getVersion): Likewise.
6646 (toString): Likewise.
6647 * javax/sound/sampled/Control.java: Now abstract.
6648 (Type.toString): Now final.
6650 2006-03-15 Keith Seitz <keiths@redhat.com>
6652 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
6653 of this redundant variable.
6654 (LineTable): Assert that the number of line numbers and the number of
6655 code indicies is the same.
6657 2006-03-15 Tom Tromey <tromey@redhat.com>
6659 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
6661 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
6663 * java/util/zip/ZipFile.java (ENDNRD): New constant.
6664 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
6665 * java/util/zip/Inflater.java (end): Not deprecated.
6666 * java/util/zip/Deflater.java (end): Not deprecated.
6667 * java/text/Bidi.java (Bidi): Now final.
6668 * java/nio/MappedByteBuffer.java (finalize): Now protected.
6670 2006-03-15 Keith Seitz <keiths@redhat.com>
6672 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
6673 (Location): Index is a long, not an int.
6674 (getMethod): New method.
6675 (getIndex): New method.
6676 (toString): New method.
6678 2006-03-15 Tom Tromey <tromey@redhat.com>
6680 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
6681 * java/awt/image/LookupOp.java (filter): Now final.
6682 (getBounds2D): Likewise.
6683 (getPoint2D): Likewise.
6684 (getTable): Likewise.
6685 (getRenderingHints): Likewise.
6686 * java/awt/image/ConvolveOp.java (filter): Now final.
6687 (getBounds2D): Likewise.
6688 (getKernel): Likewise.
6689 (getPoint2D): Likewise.
6690 (getRenderingHints): Likewise.
6691 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
6692 (getMatrix): Likewise.
6693 (getBounds2D): Likewise.
6694 (getRenderingHints): Likewise.
6695 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
6696 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
6698 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
6700 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
6702 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
6704 2006-03-15 Keith Seitz <keiths@redhat.com>
6706 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
6708 (matches): Implement.
6710 2006-03-15 Keith Seitz <keiths@redhat.com>
6712 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
6714 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
6716 2006-03-15 Tom Tromey <tromey@redhat.com>
6718 * java/lang/StrictMath.java (signum): New methods.
6720 2006-03-15 Tom Tromey <tromey@redhat.com>
6722 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
6724 2006-03-15 Lillian Angel <langel@redhat.com>
6727 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6728 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
6729 Added check to avoid segmentation fault.
6731 2006-03-15 Lillian Angel <langel@redhat.com>
6733 * java/awt/Container.java
6734 (getComponentAt): Fixed documentation.
6735 (getComponentAt): Likewise.
6737 2006-03-15 Roman Kennke <kennke@aicas.com>
6739 * javax/swing/JComponent.java
6740 (dragBuffer): New field.
6741 (dragBufferInitialized): New field.
6742 (paint): Added facility for buffered dragging of components.
6743 (initializeDragBuffer): New method.
6744 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
6746 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6747 (BorderListener.mouseDragged): Turn on buffered dragging.
6748 (BorderListener.mouseReleased): Turn off buffered dragging.
6750 2006-03-15 Lillian Angel <langel@redhat.com>
6752 * java/awt/Container.java
6753 (getComponentAt): Fixed documentation.
6754 (getComponentAt): Likewise.
6755 (findComponentAt): Likewise.
6756 (findComponentAt): Likewise.
6758 2006-03-15 Roman Kennke <kennke@aicas.com>
6760 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6761 (PropertyChangeHandler.propertyChange): Call enableActions().
6762 Fixed 'iconable' property name.
6764 2006-03-15 Chris Burdess <dog@gnu.org>
6767 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
6769 2006-03-15 Roman Kennke <kennke@aicas.com>
6771 * examples/gnu/classpath/examples/swing/Demo.java:
6772 (desktop): New field.
6773 (mkMenuBar): Added new subdemos.
6774 (mkButtonWorld): Removed.
6775 (CheckCellRenderer): Moved to ListDemo.
6776 (LabelCellRenderer): Moved to ListDemo.
6777 (mkTreeWorld): Moved to TreeDemo.
6778 (mkDesktopWorld): Removed.
6779 (mkTabWorld): Moved to TabbedPaneDemo.
6780 (mkTabbedPane): Removed.
6781 (Demo): Replaced 'worlds' tabbed pane with desktop.
6782 (PopupAction): Made class non-static.
6783 (PopupAction.actionPerformed): Bring up subdemos in internal
6785 (mkButtonBar): Added new demos.
6786 (createDesktop): New method.
6787 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
6788 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
6789 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
6790 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
6791 * examples/gnu/classpath/examples/swing/badge.png: New image file.
6793 2006-03-15 Lillian Angel <langel@redhat.com>
6795 * java/awt/Container.java
6796 (getComponentAt): Fixed mistake in comments.
6797 (getComponentAt): Likewise.
6798 (locate): Likewise. Also, handled lightweight components.
6799 Heavyweights take precedence over lightweights, so we should
6800 iterate through the heavyweights first.
6802 2006-03-15 Lillian Angel <langel@redhat.com>
6804 * java/awt/Container.java
6805 (getComponentAt): Added API documentation.
6806 (getComponentAt): Likewise.
6807 (locate): Likewise. Also, removed lines to ignore
6808 invisible components.
6809 (findComponentAt): Added API documentation.
6810 (findComponentAt): Added API documentation.
6811 (findComponentForMouseEvent): Removed, never used.
6813 2006-03-15 Roman Kennke <kennke@aicas.com>
6815 * javax/swing/Popup.java
6816 (LightweightPopup.show): Repaint the panel after showing it.
6818 2006-03-15 Lillian Angel <langel@redhat.com>
6820 * java/awt/Component.java
6821 (show): repaint should only be called if the component
6822 isShowing and isLightweight.
6824 2006-03-15 Roman Kennke <kennke@aicas.com>
6826 * javax/swing/JInternalFrame.java
6827 (setClosable): Made this property bound.
6828 (setResizable): Made this property bound.
6829 (setIconifiable): Made this property bound.
6830 (setMaximizable): Made this property bound.
6832 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
6834 * javax/swing/table/TableColumn.java
6835 (sizeWidthToFit): Implemented.
6837 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
6839 * javax/swing/table/TableColumn.java: API docs updated all over, plus
6840 (setIdentifier): Fire required PropertyChangeEvent,
6841 (setCellEditor): Likewise.
6843 2006-03-15 Roman Kennke <kennke@aicas.com>
6845 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
6846 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
6847 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
6848 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
6849 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
6850 * examples/gnu/classpath/examples/swing/SliderDemo.java,
6851 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
6852 * examples/gnu/classpath/examples/swing/TableDemo.java,
6853 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
6854 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
6855 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
6856 * examples/gnu/classpath/examples/swing/Demo.java:
6857 Cleaned up. Reworked handling of Sub-demos to load lazily.
6858 * examples/gnu/classpath/examples/swing/DemoFactory.java:
6859 New interface. Used for loading the subdemos lazily.
6861 2006-03-15 Roman Kennke <kennke@aicas.com>
6863 * javax/swing/plaf/basic/BasicToolBarUI.java
6864 (PropertyListener.propertyChange): Added null check to avoid NPE.
6866 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
6868 * javax/swing/table/TableColumn.java
6869 (COLUMN_WIDTH_PROPERTY): Updated API docs,
6871 (minWidth): Likewise,
6872 (preferredWidth): Likewise,
6873 (maxWidth): Likewise,
6874 (headerRenderer): Likewise,
6875 (cellRenderer): Likewise,
6876 (cellEditor): Likewise,
6877 (changeSupport): Likewise,
6878 (firePropertyChange(String, Object, Object)): Removed,
6879 (firePropertyChange(String, int. int)): Likewise,
6880 (firePropertyChange(String, boolean, boolean)): Likewise,
6881 (setModelIndex): Fire property change,
6882 (setHeaderValue): Call changeSupport directly to generate event,
6883 (setHeaderRenderer): Likewise,
6884 (setCellRenderer): Likewise,
6885 (setWidth): Likewise,
6886 (setPreferredWidth): Likewise,
6887 (setMinWidth): Likewise,
6888 (setMaxWidth): Likewise,
6889 (createDefaultHeaderRenderer): Added API docs.
6891 2006-03-14 Roman Kennke <kennke@aicas.com>
6893 * examples/gnu/classpath/examples/swing/Demo.java
6894 Removed static initializer.
6895 (mkMenuBar): Made method non-static. Added themes menu.
6896 (ChangeThemeAction): New inner class, used to change themes.
6898 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
6900 * javax/swing/table/TableColumn.java
6901 (setMaxWidth): Updated width and preferredWidth if necessary,
6902 (getMaxWidth): Updated API docs.
6904 2006-03-14 Roman Kennke <kennke@aicas.com>
6906 * javax/swing/plaf/basic/BasicSliderUI.java
6907 (TrackListener.mouseDragged): Only process event when slider is
6909 (TrackListener.mouseReleased): Only process event when slider is
6911 (TrackListener.mousePressed): Only process event when slider is
6914 2006-03-14 Roman Kennke <kennke@aicas.com>
6916 * NEWS: Added note about OceanTheme support.
6918 2006-03-14 Roman Kennke <kennke@aicas.com>
6920 * javax/swing/plaf/metal/MetalIconFactory.java
6921 (HorizontalSliderThumbIcon.gradientMask): New field
6922 (HorizontalSliderThumbIcon.paintIcon): Added support for the
6924 (VerticalSliderThumbIcon.gradientMask): New field
6925 (VerticalSliderThumbIcon.paintIcon): Added support for the
6927 * javax/swing/plaf/metal/MetalUtils.java
6928 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
6929 (paintVerticalGradient): Fixed painting of 'masked' gradients.
6931 2006-03-14 Mark Wielaard <mark@klomp.org>
6934 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
6935 of handleMouseEvent.
6936 (handleMouseEvent): Return boolean to indicate whether we handled the
6937 event by passing it to a lightweight.
6939 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
6941 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
6942 * org/omg/PortableServer/ServantActivatorPOA.java,
6943 * org/omg/PortableServer/ServantLocatorPOA.java:
6944 Make class abstract and minor api docs fixlets.
6945 * org/omg/PortableServer/ForwardRequest.java,
6946 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
6947 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
6948 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
6949 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6950 * org/omg/PortableServer/POAPackage/NoServant.java,
6951 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
6952 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
6953 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
6954 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
6955 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
6956 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
6957 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
6958 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
6959 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
6960 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
6962 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
6964 * NEWS: Added entry about printing support.
6966 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
6968 * javax/swing/table/TableColumn.java
6969 (COLUMN_WIDTH_PROPERTY): Updated API docs,
6970 (isResizable): Likewise,
6971 (setWidth): Likewise,
6972 (getWidth): Likewise,
6973 (setPreferredWidth): Likewise,
6974 (getPreferredWidth): Likewise,
6975 (setMinWidth): Check for negative argument and update width and
6976 preferredWidth if necessary,
6977 (getMinWidth): Updated API docs.
6979 2006-03-14 Lillian Angel <langel@redhat.com>
6981 * java/awt/Container.java
6982 (addImpl): Removed call to repaint. No need to repaint here.
6984 2006-03-14 Roman Kennke <kennke@aicas.com>
6986 * javax/swing/plaf/metal/MetalSliderUI.java
6987 (paintTrack): Added OceanTheme support.
6989 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
6991 * javax/swing/table/TableColumn.java
6992 (setResizable): Fire PropertyChangeEvent if the flag value changes,
6993 (isResizable): Updated API docs.
6995 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
6997 * javax/swing/LookAndFeel.java: Updated API docs.
6999 2006-03-14 Roman Kennke <kennke@aicas.com>
7001 * javax/swing/plaf/metal/MetalUtils.java
7002 (paintGradient): Added support for 'masked' gradients.
7003 (paintHorizontalGradient): Likewise.
7004 (paintVerticalGradient): Likewise.
7005 * javax/swing/plaf/metal/MetalIconFactory.java
7006 (RadioButtonIcon.gradientMask): New field.
7007 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
7009 2006-03-14 Mark Wielaard <mark@klomp.org>
7012 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
7014 (removeActionListener): Add listener to ComboBoxEditorListener.
7015 (removeActionListener): Remove listener from ComboBoxEditorListener.
7016 (ComboBoxEditorListener): New static helper class.
7018 2006-03-14 Roman Kennke <kennke@aicas.com>
7020 * javax/swing/plaf/metal/MetalBorders.java
7021 (getToolBarButtonBorder): Don't create a UIResource border
7023 * javax/swing/plaf/metal/MetalToolBarUI.java
7024 (installUI): New overridden method. Installs the rollover property.
7025 (uninstallUI): New overridden method. Resets the rollover property.
7026 * javax/swing/plaf/metal/MetalUtils.java
7027 (paintGradient): Fetch Float values from the UIManager. Adjusted
7028 method signatures accordingly.
7029 (paintHorizontalGradient): Adjusted signature to accept float
7031 (paintVerticalGradient): Adjusted signature to accept float
7033 * javax/swing/plaf/metal/OceanTheme.java
7034 (addCustomEntriesToTable): Added missing UIDefaults entries,
7035 except of Icons. Fixed gradient entries to use Float instead
7038 2006-03-14 Roman Kennke <kennke@aicas.com>
7040 * javax/swing/JInternalFrame.java
7041 (JInternalFrame): Make JInternalFrame opaque.
7042 * javax/swing/JToolBarFrame.java
7043 (JToolBar): Make JToolBar opaque.
7045 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
7047 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
7048 * javax/swing/tree/TreePath.java: Likewise.
7050 2006-03-13 Keith Seitz <keiths@redhat.com>
7052 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
7053 (executeMethods): Output number of methods.
7055 2006-03-13 Roman Kennke <kennke@aicas.com>
7057 * javax/swing/plaf/basic/BasicButtonUI.java
7058 (uninstallDefaults): Only uninstall border if it's a UIResource.
7059 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
7060 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
7061 * javax/swing/plaf/basic/BasicInternalFrameUI.java
7062 (installUI): Don't touch the opaque flag of the glassPane and
7063 the frame. Don't invalidate.
7064 * javax/swing/plaf/basic/BasicInternalFrameUI.java
7065 (installUI): Don't touch the opaque flag of the glassPane.
7066 * javax/swing/plaf/basic/BasicMenuBarUI.java
7067 (properyChangeListener): Made field private.
7068 (ChangeHandler): Made class private.
7069 (ContainerHandler): Made class private.
7070 (PropertyChangeHandler): Made class private.
7071 * javax/swing/plaf/basic/BasicMenuUI.java
7072 (MenuHandler): Made class private.
7073 (PropertyChangeHandler): Removed unneeded class.
7074 (MenuDragMouseHandler): Made class private.
7075 (MenuKeyHandler): Made class private.
7076 * javax/swing/plaf/basic/BasicPanelUI.java
7077 (installDefaults): Made method protected. Don't set opaque
7079 * javax/swing/plaf/basic/BasicScrollBarUI.java
7080 (TrackListener.shouldScroll): Made method private.
7081 * javax/swing/plaf/basic/BasicSplitPaneUI.java
7082 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
7083 Made constructor package private.
7084 * javax/swing/plaf/basic/BasicTableHeaderUI.java
7085 (cellBorder): Made field private.
7086 * javax/swing/plaf/basic/BasicTextUI.java
7087 (installDefaults): Don't make component opaque.
7088 * javax/swing/plaf/basic/BasicToolBarUI.java
7089 (createNonRollOverBorder): Don't create UIResource border.
7090 (createRollOverBorder): Don't create UIResource border.
7091 (installComponents): Moved setRolloverBorders call here.
7092 (installDefaults): Moved setRolloverBorders call from here.
7093 (installUI): Don't make toolbar opaque.
7094 (setBorderToNonRollover): Handle AbstractButton instead of
7096 (uninstallComponents): Don't nullify class fields here.
7098 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
7100 * javax/swing/SwingUtilities.java
7101 (calculateInnerArea): handle null component, and replace
7102 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
7105 2006-03-13 Roman Kennke <kennke@aicas.com>
7107 * javax/swing/JColorChooser.java
7108 (updateUI): Don't call revalidate().
7109 * javax/swing/JComboBox.java
7110 (updateUI): Don't call invalidate().
7111 * javax/swing/JDesktopPane.java
7112 (updateUI): Don't call invalidate().
7113 * javax/swing/JFileChooser.java
7114 (updateUI): Don't call revalidate().
7115 * javax/swing/JMenu.java
7116 (updateUI): Don't call invalidate().
7117 * javax/swing/JMenuBar.java
7118 (updateUI): Don't call invalidate().
7119 * javax/swing/JMenuItem.java
7120 (updateUI): Don't call invalidate().
7121 * javax/swing/JOptionPane.java
7122 (updateUI): Don't call invalidate().
7123 * javax/swing/JPopupMenu.java
7124 (updateUI): Don't call invalidate().
7125 * javax/swing/JProgressBar.java
7126 (updateUI): Don't call invalidate().
7127 * javax/swing/JScrollBar.java
7128 (updateUI): Don't call invalidate() and repaint().
7129 * javax/swing/JScrollPane.java
7130 (updateUI): Rewritten to be like the other updateUI()
7132 * javax/swing/JSlider.java
7133 (updateUI): Don't call invalidate() and repaint().
7134 * javax/swing/JSplitPane.java
7135 (updateUI): Don't call invalidate() and repaint().
7136 * javax/swing/JTabbedPane.java
7137 (updateUI): Don't call invalidate().
7138 * javax/swing/JTable.java
7139 (updateUI): Don't call revalidate() and repaint().
7140 * javax/swing/JToolBar.java
7141 (updateUI): Don't call revalidate() and repaint().
7142 * javax/swing/JToolTip.java
7143 (updateUI): Don't call revalidate() and repaint().
7145 2006-03-13 Roman Kennke <kennke@aicas.com>
7147 * javax/swing/SwingUtilities.java
7148 (updateComponentTreeUI): Rewritten to be more robust. Handling of
7149 menus and non-Swing components is improved.
7150 (updateComponentTreeUIImpl): New helper method.
7151 (replaceUIActionMap): Added check for uiActionMap==parent to
7153 (replaceUIInputMap): Added check for uiInputMap==parent to
7156 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
7158 * gnu/classpath/debug/Component.java:
7159 (IPP) New component for IPP debugging.
7160 (EVERYTHING): Adapted to include IPP.
7161 * javax/print/PrintServiceLookup.java:
7162 (registerServiceProvider): New method.
7163 (registerService): Likewise.
7164 (lookupPrintServices): Likewise.
7165 (lookupMultiDocPrintServices): Likewise.
7166 (lookupDefaultPrintService): Likewise.
7167 (static_initializer): Likewise.
7168 (printServiceLookups): New field for found service providers.
7169 (printServices): New field for application registered providers.
7170 (systemProvider): New field for the system provider.
7171 * javax/print/ServiceUI.java: New file.
7172 * javax/print/package.html: Added more usage content.
7173 * javax/print/event/package.html: Likewise.
7174 * javax/print/attribute/package.html: Likewise.
7175 * javax/print/attribute/standard/package.html: Likewise.
7176 * gnu/javax/print/PrintUriException.java,
7177 gnu/javax/print/PrintFlavorException.java,
7178 gnu/javax/print/PrinterDialog.java,
7179 gnu/javax/print/PrintAttributeException.java,
7180 gnu/javax/print/CupsPrintServiceLookup.java,
7181 gnu/javax/print/CupsServer.java,
7182 gnu/javax/print/CupsPrintService.java,
7183 gnu/javax/print/CupsMediaMapping.java,
7184 gnu/javax/print/CupsIppOperation.java:
7185 New implementation files of the Java Print Service API.
7186 * gnu/javax/print/ipp/IppValueTag.java,
7187 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
7188 gnu/javax/print/ipp/IppStatusCode.java,
7189 gnu/javax/print/ipp/IppUtilities.java,
7190 gnu/javax/print/ipp/IppResponse.java,
7191 gnu/javax/print/ipp/IppException.java,
7192 gnu/javax/print/ipp/IppPrintService.java,
7193 gnu/javax/print/ipp/IppRequest.java,
7194 gnu/javax/print/ipp/IppMultiDocPrintService.java,
7195 gnu/javax/print/ipp/IppDelimiterTag.java,
7196 gnu/javax/print/ipp/DocPrintJobImpl.java:
7197 New files of the IPP client implementation.
7198 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
7199 gnu/javax/print/ipp/attribute/StatusMessage.java,
7200 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
7201 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
7202 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
7203 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
7204 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
7205 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
7206 New attribute syntax/role files of the printing implementation.
7207 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
7208 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
7209 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
7210 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
7211 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
7212 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
7213 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
7214 gnu/javax/print/ipp/attribute/supported/
7215 OrientationRequestedSupported.java,
7216 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
7217 gnu/javax/print/ipp/attribute/supported/
7218 MultipleDocumentHandlingSupported.java,
7219 gnu/javax/print/ipp/attribute/supported/
7220 MultipleDocumentJobsSupported.java,
7221 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
7222 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
7223 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
7224 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
7225 gnu/javax/print/ipp/attribute/supported/
7226 GeneratedNaturalLanguageSupported.java,
7227 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
7228 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
7229 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
7230 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
7231 New supported attribute files.
7232 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
7233 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
7234 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
7235 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
7236 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
7237 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
7238 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
7239 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
7240 New printer description attribute files.
7241 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
7242 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
7243 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
7244 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
7245 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
7246 gnu/javax/print/ipp/attribute/job/JobId.java,
7247 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
7248 gnu/javax/print/ipp/attribute/job/JobUri.java,
7249 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
7250 New job description attribute files.
7251 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
7252 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
7253 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
7254 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
7255 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
7256 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
7257 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
7258 gnu/javax/print/ipp/attribute/defaults/
7259 MultipleDocumentHandlingDefault.java,
7260 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
7261 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
7262 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
7263 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
7264 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
7265 New default printing attribute files.
7266 * resource/gnu/javax/print/PrinterDialog.properties: New file.
7267 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
7268 * examples/gnu/classpath/examples/print/Demo.java:
7269 New demo application of the current implemented functionality.
7271 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7273 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
7274 java/rmi/activation/ActivationDesc.java.java,
7275 java/rmi/activation/ActivationGroup.java,
7276 java/rmi/activation/ActivationID.java,
7277 java/rmi/activation/ActivationMonitor.java,
7278 java/rmi/activation/ActivationSystem.java,
7279 java/rmi/activation/package.html: Documenting.
7281 2006-03-13 Roman Kennke <kennke@aicas.com>
7283 * javax/swing/JInternalFrame.java
7284 (setSelected): Repaint frame when it is showing and the selection
7287 2006-03-13 Roman Kennke <kennke@aicas.com>
7289 * javax/swing/AbstractButton.java
7290 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
7293 2006-03-13 Roman Kennke <kennke@aicas.com>
7295 * javax/accessibility/AccessibleContext.java
7296 (getAccessibleRelationSet): Return empty set instead of null.
7298 2006-03-13 Roman Kennke <kennke@aicas.com>
7300 * javax/swing/ImageIcon.java
7301 (loadImage): Remove completed images from the MediaTracker. This
7302 avoids a potential memory leak.
7304 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
7306 * javax/print/MultiDocPrintService.java,
7307 * javax/print/MultiDocPrintJob.java,
7308 * javax/print/MultiDoc.java: Added and enhanced documentation.
7310 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7312 * java/rmi/activation/ActivationID.java (uid): New field.
7313 (writeExternal, readExternal): New methods.
7314 (equals, hashCode): Rewritten.
7315 * java/rmi/activation/ActivationInstantiator.java,
7316 * java/rmi/activation/ActivationSystem.java,
7317 * java/rmi/activation/Activator.java,
7318 * java/rmi/activation/Activatable.java,
7319 * java/rmi/activation/ActivationGroup.java,
7320 * java/rmi/activation/ActivationGroupDesc.java:
7321 Documented and autoformatted.
7322 * java/rmi/activation/package.html: Added content.
7324 2006-03-12 Chris Burdess <dog@gnu.org>
7327 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
7328 encoding are specified.
7330 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
7332 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
7333 (changeEvent): Initialise in fireStateChange(),
7334 (setSelectedIndex): Check if change is made before firing event,
7335 (clearSelection): Delegate to setSelectedIndex(),
7336 (fireStateChanged): Initialise changeEvent if necessary,
7337 * javax/swing/SingleSelectionModel.java: API docs all over.
7339 2006-03-11 Tom Tromey <tromey@redhat.com>
7341 * java/util/zip/InflaterInputStream.java: Reverted previous
7344 2006-03-11 Mark Wielaard <mark@klomp.org>
7346 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
7349 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
7351 * javax/swing/event/TreeSelectionEvent.java
7352 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
7353 not one of the added/removed paths,
7354 (cloneWithSource): Reformatted.
7356 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
7358 * javax/swing/tree/TreeCellEditor.java: Added API docs,
7359 * javax/swing/tree/TreeCellRenderer.java: Likewise.
7361 2006-03-10 Casey Marshall <csm@gnu.org>
7364 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
7366 (doFinal, update): new methods.
7367 (init, init, init, init): initialize `state' after trying the
7368 implementation, which can throw an exception.
7369 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
7372 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
7374 * gnu/regexp/BacktrackStack.java: New file.
7375 * gnu/regexp/RE.java(findMatch): New method.
7376 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
7377 REMatchList): Removed. (backtrackStack): New field.
7378 * gnu/regexp/REToken.java(match): Changed from an abstract
7379 method to an ordinary method defined with the new method
7380 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
7381 findFixedLengthMatches, backtrack, toString): New methods.
7382 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
7383 * gnu/regexp/RETokenBackRef.java: Likewise.
7384 * gnu/regexp/RETokenChar.java: Likewise.
7385 * gnu/regexp/RETokenEnd.java: Likewise.
7386 * gnu/regexp/RETokenEndSub.java: Likewise.
7387 * gnu/regexp/RETokenIndependent.java: Likewise.
7388 * gnu/regexp/RETokenLookAhead.java: Likewise.
7389 * gnu/regexp/RETokenLookBehind.java: Likewise.
7390 * gnu/regexp/RETokenNamedProperty.java: Likewise.
7391 * gnu/regexp/RETokenPOSIX.java: Likewise.
7392 * gnu/regexp/RETokenRange.java: Likewise.
7393 * gnu/regexp/RETokenStart.java: Likewise.
7394 * gnu/regexp/RETokenWordBoundary.java: Likewise
7395 * gnu/regexp/RETokenOneOf.java: Rewriten.
7396 * gnu/regexp/RETokenRepeated.java: Rewriten.
7398 2006-03-10 Roman Kennke <kennke@aicas.com>
7400 * javax/swing/plaf/metal/MetalBorders.java
7401 (RolloverButtonBorder.paintBorder): Only call super here.
7402 * javax/swing/plaf/metal/MetalButtonListener.java
7403 (propertyChange): Only call super here.
7404 * javax/swing/plaf/metal/MetalButtonUI.java
7405 (update): Changed condition from isOpaque() to isContentAreaFilled()
7406 for the gradient fill.
7407 * javax/swing/plaf/metal/MetalToggleButtonUI.java
7408 (paintText): API doc fix. Makes paintText not deprecated as specified
7409 but adds comment that this is obsolete.
7410 * javax/swing/plaf/metal/MetalUtils.java
7411 (fillMetalPattern): Fixed condition so that the Java2D is not
7412 used when the noGraphics2D property is set.
7414 2006-03-10 Roman Kennke <kennke@aicas.com>
7416 * javax/swing/plaf/metal/MetalLookAndFeel.java
7417 (createDefaultTheme): Set OceanTheme as default metal theme.
7419 2006-03-10 Roman Kennke <kennke@aicas.com>
7421 * javax/swing/text/WrappedPlainView.java
7422 (metrics): Made field package private to avoid accessor method.
7423 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
7424 The drawLine (righly) interprets the y parameter as the baseline.
7425 * javax/swing/text/Utilities.java
7426 (getBreakLocation): Don't consider the offset. The returned value
7427 for getTabbedTextOffset is already relative to the offset.
7429 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
7431 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
7432 (dateFormat): Made private.
7433 (put): Replace only the last occurance and the value.
7434 (putAll): Save one iteration. Clarified documentation.
7436 2006-03-10 Tom Tromey <tromey@redhat.com>
7438 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
7440 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
7443 2006-03-10 Lillian Angel <langel@redhat.com>
7445 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
7446 (comboboxgroup_get_widget): New function.
7447 (removed): Fixed to use new function to get the correct widget.
7448 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7449 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
7452 2006-03-10 Lillian Angel <langel@redhat.com>
7454 * java/awt/GridBagLayout.java
7455 (ArrangeGrid): Added checks to determine if component
7456 is placed last in a row or column. If so, the location
7457 of the last component should be used to get the location
7458 of the current component.
7460 2006-03-10 Lillian Angel <langel@redhat.com>
7462 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7463 (nativeSetCheckboxGroup): No need to use new function here.
7464 Should just pass in pointer.
7466 2006-03-10 Lillian Angel <langel@redhat.com>
7468 * java/awt/GridBagLayout.java
7469 (distributeSizeAndWeight): Change else if to else. This
7470 allows for components to be added to a new row when
7471 their gridheight is REMAINDER.
7473 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7475 * java/rmi/activation/ActivationDesc.java,
7476 java/rmi/activation/ActivationGroupID.java,
7477 java/rmi/activation/Activator.java,
7478 java/rmi/server/Operation.java,
7479 java/rmi/server/RemoteServer.java: Documented and formatted.
7481 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
7483 * javax/swing/JToggleButton.java: Fixed API doc tags,
7484 * javax/swing/OverlayLayout.java: Likewise.
7486 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
7488 * javax/swing/DefaultCellEditor.java
7489 (cancelCellEditing): Removed spurious API doc tag.
7491 2006-03-10 Lillian Angel <langel@redhat.com>
7493 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7494 (create): Put checkbox widget into an event box so it paints properly.
7495 (connectSignals): Fixed to use new function.
7496 (nativeSetCheckboxGroup): Likewise.
7497 (gtkToggleButtonSetActive): Likewise.
7498 (gtkWidgetModifyFont): Likewise.
7499 (gtkButtonSetLabel): Likewise.
7500 (combobox_get_widget): New function.
7502 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
7504 * javax/swing/text/rtf/package.html: New file.
7506 2006-03-10 Roman Kennke <kennke@aicas.com>
7508 * javax/swing/plaf/metal/OceanTheme.java
7509 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
7510 * javax/swing/plaf/metal/MetalScrollBarUI.java
7511 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
7512 (paintThumbHorizontal): Added handling of OceanTheme.
7513 (paintThumbVertical): Added handling of OceanTheme.
7515 2006-03-10 Roman Kennke <kennke@aicas.com>
7517 Reported by Fridjof Siebert <siebert@aicas.com>
7518 * java/awt/MediaTracker.java
7519 (removeImage): Only set prev to e when the the images of the
7520 entries are not the same. This avoids a potentially corrupt list.
7522 2006-03-10 Chris Burdess <dog@gnu.org>
7525 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
7526 checking while reindenting.
7528 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
7530 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
7532 2006-03-09 Tom Tromey <tromey@redhat.com>
7535 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
7536 subdir. Added README.
7537 (install-data-local): Removed.
7538 (uninstall-local): Likewise.
7539 (EXTRA_DIST): Removed.
7541 2006-03-09 Tom Tromey <tromey@redhat.com>
7544 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
7546 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
7548 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
7550 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
7552 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
7554 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
7556 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
7558 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
7560 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
7562 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
7564 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
7565 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
7567 2006-03-09 Keith Seitz <keiths@redhat.com>
7569 * gnu/classpath/jdwp/processor/MethodCommandSet.java
7570 (executeVariableTable): Use VMMethod instead of reflection.
7571 (executeLineTable): Likewise.
7572 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
7573 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
7574 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
7575 (getLineTable): Removed. Now resides in VMMethod.
7576 (getVarTable): Likewise.
7577 (getAllClassMethods): New method.
7579 2006-03-09 Keith Seitz <keiths@redhat.com>
7581 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
7582 * gnu/classpath/jdwp/event/ThreadStartEvent.java
7583 (ThreadStartEvent): Likewise.
7584 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
7585 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
7586 (ConditionalFilter): Likewise.
7587 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
7588 (ExceptionOnlyFilter): Likewise.
7589 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
7590 (FieldOnlyFilter): Likewise.
7591 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
7592 (getSize): Likewise.
7593 (StepFilter): Likewise.
7594 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
7595 * gnu/classpath/jdwp/transport/JdwpPacket.java
7596 (JdwpPacket): Likewise.
7597 (fromBytes): Likewise.
7598 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
7599 (JdwpReplyPacket): Likewise.
7600 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
7601 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
7602 (getReferenceType): Likewise.
7603 (newObjectId): Likewise.
7604 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
7605 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
7606 (getFrames): Fix typo in parameter name and update javadoc.
7607 (getClassMethod): Update javadoc.
7609 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
7611 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
7612 * javax/swing/event/TreeSelectionListener.java: Likewise.
7614 2006-03-09 Lillian Angel <langel@redhat.com>
7616 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
7617 (getHScrollbarHeight): Fixed property name.
7618 (getVScrollbarHeight): Likewise.
7620 2006-03-09 Lillian Angel <langel@redhat.com>
7622 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7623 (get_widget): New function.
7624 (gtkWidgetSetParent): Changed to use new function.
7625 (gtkWidgetSetCursorUnlocked): Likewise.
7626 (gtkWidgetSetSensitive): Likewise.
7627 (gtkWidgetRequestFocus): Likewise.
7628 (gtkWindowGetLocationOnScreen): Likewise.
7629 (gtkWidgetGetDimensions): Likewise.
7630 (gtkWidgetGetPreferredDimensions): Likewise.
7631 (setNativeBounds): Likewise.
7632 (gtkWidgetGetBackground): Likewise.
7633 (gtkWidgetGetForeground): Likewise.
7634 (gtkWidgetSetBackground): Likewise.
7635 (gtkWidgetSetForeground): Likewise.
7636 (setVisibleNativeUnlocked): Likewise.
7637 (isEnabled): Likewise.
7638 (isRealized): Likewise.
7639 (setNativeEventMask): Likewise.
7641 2006-03-09 Lillian Angel <langel@redhat.com>
7644 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7645 (create): Added combobox widget to an event box.
7646 (connectSignals): Added call to choice_get_widget to get the
7647 combobox out of the event box.
7649 (nativeRemoveAll): Likewise.
7650 (nativeRemove): Likwise.
7651 (nativeAdd): Likewise.
7652 (selectNative): Likewise.
7653 (choice_get_widget): New function.
7654 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7655 (create): Added list scroll window widget to an event box.
7656 (connectSignals): Changed call to use new function to get the
7657 correct widget out of the event box.
7658 (getWidgetModifyFont): Likewise.
7659 (getWidgetRequestFocus): Likewise.
7662 (delItems): Likewise.
7664 (deselect): Likewise.
7665 (getSize): Likewise.
7666 (getSelectedIndexes): Likewise.
7667 (makeVisible): Likewise.
7668 (setMultipleMode): Likewise.
7669 (list_get_widget): New function.
7670 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
7671 (create): Added scrollpane to an eventbox.
7672 (setScrollPosition): Changed call to use new function to get the
7673 correct widget out of the event box.
7674 (gtkScrolledWindowSetHScrollIncrement): Likewise.
7675 (gtkScrolledWindowSetVScrollIncrement): Likewise.
7676 (getHScrollbarHeight): Likewise.
7677 (getVScrollbarWidth): Likewise.
7678 (setPolicy): Likewise.
7679 (scrollpane_get_widget): New function.
7680 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
7681 (connectSignals): Changed call to use new function to get the
7682 correct widget out of the event box.
7683 (create): Added scrollbar to an eventbox.
7684 (setLineIncrement): Changed call to use new function to get the
7685 correct widget out of the event box.
7686 (setPageIncrement): Likewise.
7687 (setBarValues): Likewise.
7688 (scrollbar_get_widget): New function.
7689 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7690 (create): Added text area scroll window widget to an event box.
7691 (connectSignals): Changed call to use new function to get the
7692 correct widget out of the event box.
7694 (replaceRange): Likewise.
7695 (gtkWidgetModifyFont): Likewise.
7696 (gtkWidgetRequestFocus): Likewise.
7697 (getHScrollbarHeight): Likewise.
7698 (getVScrollbarWidth): Likewise.
7699 (getCaretPosition): Likewise.
7700 (setCaretPosition):Likewise.
7701 (getSelectionStart): Likewise.
7702 (getSelectionEnd): Likewise.
7704 (setEditable): Likewise.
7705 (getText): Likewise.
7706 (setText): Likewise.
7707 (textarea_get_widget): New function.
7709 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7711 * java/rmi/dgc/VMID.java:
7712 (equals, hashCode, static initializer): Rewritten.
7713 * java/rmi/dgc/package.html: Documented.
7715 2006-03-09 Mark Wielaard <mark@klomp.org>
7717 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
7719 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
7720 (canCache): Likewise.
7721 (GtkClipboard): Take String argument.
7722 (getInstance): Removed.
7723 (getClipboardInstance, getSelectionInstance): New static methods.
7724 (setSystemContents): Make synchronized. Takes boolean argument.
7725 (initNativeState): Add clipboard and selection.
7726 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
7727 (announceClipboardChange, announcePrimaryChange): New static field.
7728 (announce): Take GtkClipboard as argument.
7729 (run): Check which clipboard to announce change for.
7730 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
7732 (GtkSelection): Take GtkClipboard as argument.
7733 (requestText, requestImage, requestURIs, requestBytes): Add boolean
7735 (requestMimeTypes): Likewise.
7736 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
7738 * java/awt/Toolkit.java (getSystemSelection): Document.
7739 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
7740 (cp_gtk_selection_instance): New var.
7741 (current_selection, owner): Removed.
7742 (clipboard_owner_change_cb): Use clipboard argument.
7743 (initNativeState): Store clipboard and selection instances. Cache
7744 setSystemContentsID, provideContentID, provideTextID, provideImageID,
7746 (clipboard_get_func): Use clipboard argument.
7747 (clipboard_clear_func): Likewise. Always call method.
7748 (advertiseContent): Don't cache method ids here. Check whether to
7749 use clpboard or selection. Don't set owner or current_selection.
7750 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
7751 (requestText, requestImage, requestURIs, requestBytes): Use extra
7752 boolean argument to select clipboard.
7753 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
7754 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
7755 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
7756 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
7758 2006-03-09 Keith Seitz <keiths@redhat.com>
7760 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
7761 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
7762 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
7763 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
7764 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
7765 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
7766 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
7767 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
7768 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
7770 2006-03-09 Mark Wielaard <mark@klomp.org>
7772 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
7773 bounds for index is valid.
7774 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
7776 (getCellBounds): Update documentation.
7778 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
7780 * .classpath: added exclude pattern on source folders
7781 (Makefiles, README and .cvsignore)
7783 2006-03-08 Keith Seitz <keiths@redhat.com>
7785 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
7786 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
7787 (getClassMethod): New method.
7789 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7791 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
7793 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7795 * java/rmi/server/ObjID.java: Documented and autoformatted.
7797 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7800 * tools/Makefile.am (install-data-local,
7801 uninstall-local): Install/uninstall the tools/README only.
7802 * tools/gnu/classpath/tools/giop/README: Updated.
7803 * tools/README: New file.
7805 2006-03-08 Lillian Angel <langel@redhat.com>
7807 * java/awt/GridBagLayout.java
7808 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
7809 then the next item should be set to current_y (not 0).
7811 2006-03-08 Lillian Angel <langel@redhat.com>
7813 * java/awt/GridBagLayout.java
7814 (GetLayoutInfo): If gridy is RELATIVE and there is no component
7815 in the bottom-most spot of the column, we need to place that component
7816 at the y-location of the other components in that row. If there are
7817 no other components in that row, then place it at y = 0.
7819 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
7821 * javax/swing/ProgressMonitor.java: Updated API docs,
7822 * javax/swing/ProgressMonitorInputStream.java: Likewise.
7824 2006-03-08 Michael Koch <konqueror@gmx.de>
7826 * java/net/InetSocketAddress.java
7827 (InetSocketAddress(String,int,resolve)): New private contructor.
7828 (InetSocketAddress(String,int)): Use new private constructor.
7829 (createUnresolved): New method.
7831 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7833 * java/rmi/server/UID.java (constructor): Assign last and time fields
7836 2006-03-07 Tom Tromey <tromey@redhat.com>
7838 * java/lang/System.java (clearProperty): New method, merged from
7840 (getProperty): Removed 'else'.
7841 (getProperty): Check for empty key.
7842 (setProperty): Likewise.
7843 * gnu/classpath/SystemProperties.java (remove): New method, merged
7844 from generics branch.
7846 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7848 * java/rmi/server/UID.java: New file (replacing).
7850 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
7852 * java/util/jar/Manifest.java: Removed unused imports.
7853 (CRLF): New constant.
7854 (read): Added method documentation.
7855 Use UTF-8 encoding instead of 8859_1.
7856 (write): Added method documentation.
7857 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
7858 (write_main_section): Replace PrintWriter arg with OutputStream.
7859 Replace JarException with IOException.
7860 (write_version_info): Likewise.
7861 (write_main_attributes): Likewise.
7862 (write_attribute_entry): Likewise.
7863 (write_individual_sections): Likewise.
7864 (write_entry_attributes): Likewise.
7865 (write_header): Replace PrintWriter arg with OutputStream.
7868 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
7870 * javax/swing/tree/DefaultMutableTreeNode.java
7871 (getFirstChild): Updated API docs,
7872 (getLastChild): Likewise,
7873 (getChildAfter): Likewise,
7874 (getChildBefore): Likewise,
7875 (isNodeSibling): Return true if node == this,
7876 (getSiblingCount): Updated API docs,
7877 (getNextSibling): Likewise,
7878 (getPreviousSibling): Likewise,
7880 (getFirstLeaf): Likewise,
7881 (getLastLeaf): Likewise,
7882 (getNextLeaf): Implemented,
7883 (getPreviousLeaf): Implemented.
7885 2006-03-07 Tom Tromey <tromey@redhat.com>
7887 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
7888 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
7889 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
7890 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
7893 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
7895 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
7896 (clone): Reimplemented,
7897 (add): Throw IllegalArgumentException if child is an ancestor,
7898 (remove(int)): Set child's parent to null,
7899 (remove(MutableTreeNode)): Check arguments and set child's parent to
7901 (insert): Check allowsChildren flag, check for null argument, and
7902 check for a node that is an ancestor,
7903 (getIndex): Throw IllegalArgumentException for null argument,
7904 (setAllowsChildren): If setting to false, remove existing children,
7905 (removeAllChildren): Set parent to null for removed children.
7907 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
7909 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
7912 2006-03-06 Tom Tromey <tromey@redhat.com>
7914 * java/lang/StrictMath.java (ulp): New methods.
7915 * java/lang/Math.java (ulp): New methods.
7917 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7919 * gnu/java/rmi/server/UnicastRef.java,
7920 gnu/java/rmi/server/UnicastServer.java: Formatted.
7922 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7924 * gnu/java/rmi/server/CombinedClassLoader.java (findClass,
7925 findLibrary, findResouce, findResources): check all loaders in
7928 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7931 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
7932 (RefProtector): new inner class. (dirty): Rewritten.
7933 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
7934 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
7935 new methods. (readExternal): Create LeaseRenewingTask if non local.
7936 * gnu/java/rmi/server/UnicastServer.java (objects):
7937 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
7938 (getExported): New method.
7939 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
7941 2006-03-06 Mark Wielaard <mark@klomp.org>
7943 * doc/www.gnu.org/announce/20060306.wml: New file.
7944 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
7945 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
7947 2006-03-06 Mark Wielaard <mark@klomp.org>
7951 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
7953 * javax/swing/plaf/metal/MetalLookAndFeel.java
7954 (initComponentDefaults): Use Boolean.TRUE for
7955 'CheckBoxMenuItem.borderPainted'.
7957 2006-03-06 Lillian Angel <langel@redhat.com>
7960 * java/awt/List.java
7961 (preferredSize): Return the size of the list if the peer is null.
7962 * gnu/java/awt/peer/gtk/GtkListPeer.java
7963 (preferredSize): Code was returning the minimum size of the list.
7964 Added adjustment to the width of the list so it is a proper size.
7966 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
7968 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
7969 (getRequestProperty): Remove duplicated null check.
7970 * java/net/URLConnection.java:
7971 (URLConnection): Javadoc fix.
7972 (addRequestProperty): Likewise.
7973 (getDefaultRequestProperty): Likewise.
7974 (getHeaderField): Likewise.
7975 (getHeaderFieldDate): Likewise.
7976 (getHeaderFieldKey): Likewise.
7977 (getHeaderFields): Likewise.
7978 (getRequestProperties): Likewise.
7979 (getRequestProperty): Likewise.
7980 (setDefaultRequestProperty): Likewise.
7981 (setRequestProperty): Likewise.
7983 2006-03-06 Tom Tromey <tromey@redhat.com>
7985 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
7986 (FORMATTED_TEXT_FIELD): Likewise.
7988 2006-03-06 Tom Tromey <tromey@redhat.com>
7990 * javax/swing/plaf/synth/SynthPainter.java: Finished.
7992 2006-03-06 Mark Wielaard <mark@klomp.org>
7994 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
7995 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
7996 (isnan): Define explicitly isnan if it is not a macro.
7998 2006-03-06 Anthony Balkissoon <abalkiss@redhat.com>
8002 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
8004 * examples/gnu/classpath/examples/swing/Demo.java:
8005 (mkMenuBar): Added menu entry that will display the VM's name,
8006 version and distributor.
8008 2006-03-06 Tom Tromey <tromey@redhat.com>
8010 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
8012 (getName): Likewise.
8014 2006-03-06 Mark Wielaard <mark@klomp.org>
8016 * configure.ac (VERSION): Set to 0.91-pre.
8017 * NEWS: Add updates for 0.90 release.
8019 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
8021 * javax/swing/text/PlainDocument.java: Fix copyright header,
8023 (insertUpdate): Do not copy the whole document any more, added some
8024 more variables to prevent needless method calls.
8026 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
8028 * configure.ac: Check for FREETYPE2. This is a reverted patch and
8029 is required on Darwin.
8030 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
8031 (AM_CFLAGS): Likewise.
8033 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
8035 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
8036 API doc tag warnings,
8037 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
8039 2006-03-06 Dalibor Topic <robilad@kaffe.org>
8041 * gnu/java/net/protocol/file/Connection.java (unquote):
8042 Update position in buffer after decoding a unicode character
8043 outside of the basic plane.
8045 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
8047 * javax/swing/plaf/basic/BasicTextUI.java:
8048 (damageRange): Rewritten if-expressions to correctly identify the
8051 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
8053 * javax/swing/text/DefaultCaret.java:
8054 (mouseDragged): Do selection when shift is pressed.
8055 (mouseClicked): Implemented.
8057 2006-03-06 Dalibor Topic <robilad@kaffe.org>
8059 * libraries/javalib/external/classpath/java/net/URI.java (quote):
8060 Pass Unicode characters outside the basic plane through.
8062 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
8064 * javax/swing/text/PlainDocument.java:
8065 (insertUpdate): Extended if-expression, added
8066 code to generate another Element when newly inserted characters
8067 and old ones will be on the same line.
8069 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
8071 * javax/swing/text/GapContent.java:
8072 (insertString): Throw exception when argument is below
8075 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8077 * javax/swing/plaf/metal/MetalComboBoxButton.java
8078 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
8079 JList)): Fixed API doc tag,
8080 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
8081 (createLayout): Fixed API doc warning.
8083 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8085 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
8086 * javax/swing/FocusManager.java: Likewise.
8088 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8090 * javax/swing/undo/StateEditable.java
8091 (restoreState): Fixed bad API doc tag,
8092 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
8093 AbstractUndoableEdit.java,
8094 * javax/swing/undo/UndoableEditSupport.java
8095 (createCompoundEdit): Fixed bad API doc tag,
8096 * javax/swing/undo/UndoManager.java
8097 (editToBeUndone): Fixed bad API doc tag,
8098 (editToBeRedone): Likewise.
8100 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8102 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
8103 and corrected a bad API doc tag.
8105 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8107 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
8108 added API docs all over.
8110 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8112 * javax/swing/filechooser/FileFilter.java:
8113 (accept): Fixed API doc tag,
8114 (getDescription): Likewise,
8115 * javax/swing/filechooser/FileView.java:
8116 (isTraversable): Fixed API doc tag.
8118 2006-03-05 Tom Tromey <tromey@redhat.com>
8120 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
8121 ClassHelper.getUserName.
8122 * vm/reference/java/lang/reflect/Method.java (toString): Use
8123 ClassHelper.getUserName.
8124 (getUserTypeName): Removed.
8125 * gnu/java/lang/ClassHelper.java (getUserName): New method.
8126 * vm/reference/java/lang/reflect/Field.java (toString): Use
8127 ClassHelper.getUserName.
8129 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
8132 * java/net/URLClassLoader.java (FileURLLoader.getResource):
8133 Allows directories as valid resources.
8135 2006-03-04 Mark Wielaard <mark@klomp.org>
8137 * configure.ac (VERSION): Set to 0.90-pre.
8139 2006-03-04 Tom Tromey <tromey@redhat.com>
8141 * javax/swing/SpringLayout.java (Constraints): New constructor.
8142 * javax/swing/Spring.java (width): New method.
8146 2006-03-04 Mark Wielaard <mark@klomp.org>
8148 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
8149 existing connection from pool before returning.
8151 2006-03-04 Mark Wielaard <mark@klomp.org>
8153 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
8154 exceptions thrown by handlers while cleaning up and rethrow original
8157 2006-03-04 Tom Tromey <tromey@redhat.com>
8159 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
8161 (findConstructor): Likewise.
8162 (instantiateClass): Likewise.
8164 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8166 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
8167 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
8168 lease value and not always the default one.
8169 (LeaseRecord): Remember the array of objects, marked as dirty.
8170 java/rmi/dgc/Lease.java: Boilerplate fix.
8172 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
8174 * java/util/jar/Attributes.java (putValue): Made it public and updated
8175 method documentation.
8177 2006-03-04 Mark Wielaard <mark@klomp.org>
8179 * java/awt/Container.java (remove(int)): Always call removeNotify()
8180 on removed Component.
8182 2006-03-04 Mark Wielaard <mark@klomp.org>
8184 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
8185 * javax/swing/JEditorPane.java (setText): Check for empty String
8186 with equals(), not equality (==).
8188 2006-03-04 Mark Wielaard <mark@klomp.org>
8190 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
8191 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
8193 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
8195 * javax/swing/text/GapContent.java
8196 (getArray): Mark as final.
8198 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
8200 * javax/swing/text/StyleConstants.java
8201 (CharacterConstants.Background): Marked final,
8202 (CharacterConstants.BidiLevel): Likewise,
8203 (CharacterConstants.Bold): Likewise,
8204 (CharacterConstants.ComponentAttribute): Likewise,
8205 (CharacterConstants.Family): Likewise,
8206 (CharacterConstants.Size): Likewise,
8207 (CharacterConstants.Foreground): Likewise,
8208 (CharacterConstants.IconAttribute): Likewise,
8209 (CharacterConstants.Italic): Likewise,
8210 (CharacterConstants.StrikeThrough): Likewise,
8211 (CharacterConstants.Subscript): Likewise,
8212 (CharacterConstants.Superscript): Likewise,
8213 (CharacterConstants.Underline): Likewise,
8214 (ColorConstants.Foreground): Likewise,
8215 (ColorConstants.Background): Likewise,
8216 (FontConstants.Bold): Likewise,
8217 (FontConstants.Family): Likewise,
8218 (FontConstants.Italic): Likewise,
8219 (FontConstants.Size): Likewise,
8220 (ParagraphConstants.Alignment): Likewise,
8221 (ParagraphConstants.FirstLineIndent): Likewise,
8222 (ParagraphConstants.LeftIndent): Likewise,
8223 (ParagraphConstants.LineSpacing): Likewise,
8224 (ParagraphConstants.Orientation): Likewise,
8225 (ParagraphConstants.RightIndent): Likewise,
8226 (ParagraphConstants.SpaceAbove): Likewise,
8227 (ParagraphConstants.SpaceBelow): Likewise,
8228 (ParagraphConstants.TabSet): Likewise.
8230 2006-03-03 Tom Tromey <tromey@redhat.com>
8232 * javax/net/ssl/SSLException.java: Added missing @since.
8235 2006-03-03 Tom Tromey <tromey@redhat.com>
8237 * javax/net/ssl/SSLException.java (SSLException): New constructors.
8238 (serialVersionUID): New field.
8240 2006-03-03 Tom Tromey <tromey@redhat.com>
8242 * java/security/spec/InvalidKeySpecException.java
8243 (InvalidKeySpecException): New constructors.
8244 * java/security/cert/CertificateParsingException.java
8245 (CertificateParsingException): New constructors.
8246 * java/security/cert/CertificateEncodingException.java
8247 (CertificateEncodingException): New constructors.
8248 * java/security/cert/CertificateException.java (CertificateException):
8250 * java/security/cert/CRLException.java (CRLException): New
8253 2006-03-03 Tom Tromey <tromey@redhat.com>
8255 * java/security/SignatureException.java (SignatureException): New
8257 * java/security/ProviderException.java (ProviderException): New
8259 * java/security/NoSuchAlgorithmException.java
8260 (NoSuchAlgorithmException): New constructors.
8261 * java/security/KeyStoreException.java (KeyStoreException): New
8263 * java/security/KeyManagementException.java (KeyManagementException):
8265 * java/security/InvalidKeyException.java (InvalidKeyException): New
8267 * java/security/KeyException.java (KeyException): New constructors.
8268 * java/security/InvalidAlgorithmParameterException.java
8269 (InvalidAlgorithmParameterException): New constructors.
8270 * java/security/DigestException.java (DigestException): New
8272 * java/security/GeneralSecurityException.java
8273 (GeneralSecurityException): New constructors.
8275 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8277 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
8279 * javax/swing/event/DocumentEvent.java: Likewise,
8280 * javax/swing/event/EventListenerList.java: Likewise,
8281 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
8282 * javax/swing/event/MenuKeyEvent.java: Likewise,
8283 * javax/swing/event/TableColumnModelEvent.java: Likewise,
8284 * javax/swing/event/TreeExpansionEvent.java: Likewise,
8285 * javax/swing/event/TreeModelEvent.java: Likewise,
8286 * javax/swing/event/TreeSelectionEvent.java: Likewise,
8287 * javax/swing/event/UndoableEditEvent.java: Likewise.
8289 2006-03-03 Tom Tromey <tromey@redhat.com>
8291 * java/awt/Insets.java (set): New method.
8292 (equals): Added @since.
8294 2006-03-03 David Daney <ddaney@avtrex.com>
8296 * gnu/java/net/protocol/http/HTTPURLConnection.java
8297 (getRequestProperties): Rewrote.
8298 (addRequestProperty): Rewrote.
8299 (getHeaderFields): Rewrote.
8300 (getHeaderField): Rewrote.
8301 (getHeaderFieldKey): Rewrote.
8302 (getHeaderField): Removed useless cast.
8303 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
8304 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
8306 (notifyHeaderHandlers): Use new Headers interface.
8308 2006-03-03 Tom Tromey <tromey@redhat.com>
8310 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
8311 * javax/naming/spi/ResolveResult.java,
8312 javax/naming/event/NamingExceptionEvent.java,
8313 javax/naming/event/NamingEvent.java,
8314 javax/naming/directory/SearchResult.java,
8315 javax/naming/directory/SearchControls.java,
8316 javax/naming/directory/SchemaViolationException.java,
8317 javax/naming/directory/NoSuchAttributeException.java,
8318 javax/naming/directory/ModificationItem.java,
8319 javax/naming/directory/InvalidSearchFilterException.java,
8320 javax/naming/directory/InvalidSearchControlsException.java,
8321 javax/naming/directory/InvalidAttributesException.java,
8322 javax/naming/directory/InvalidAttributeIdentifierException.java,
8323 javax/naming/directory/AttributeModificationException.java,
8324 javax/naming/directory/AttributeInUseException.java,
8325 javax/naming/TimeLimitExceededException.java,
8326 javax/naming/SizeLimitExceededException.java,
8327 javax/naming/PartialResultException.java,
8328 javax/naming/Reference.java,
8329 javax/naming/ServiceUnavailableException.java,
8330 javax/naming/OperationNotSupportedException.java,
8331 javax/naming/NotContextException.java,
8332 javax/naming/NoPermissionException.java,
8333 javax/naming/NoInitialContextException.java,
8334 javax/naming/NameNotFoundException.java,
8335 javax/naming/NameAlreadyBoundException.java,
8336 javax/naming/NameClassPair.java,
8337 javax/naming/MalformedLinkException.java,
8338 javax/naming/LinkLoopException.java,
8339 javax/naming/LinkException.java,
8340 javax/naming/LimitExceededException.java,
8341 javax/naming/InvalidNameException.java,
8342 javax/naming/InterruptedNamingException.java,
8343 javax/naming/InsufficientResourcesException.java,
8344 javax/naming/ContextNotEmptyException.java,
8345 javax/naming/ConfigurationException.java,
8346 javax/naming/CannotProceedException.java,
8347 javax/naming/CommunicationException.java,
8348 javax/naming/Binding.java,
8349 javax/naming/AuthenticationNotSupportedException.java,
8350 javax/naming/AuthenticationException.java: Added serialVersionUID.
8352 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8354 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
8356 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8358 * javax/swing/event/TableModelListener.java: Updated API docs.
8360 2006-03-03 Mark Wielaard <mark@klomp.org>
8362 * java/awt/Component.java (addNotify): Expand documentation.
8364 2006-03-03 Mark Wielaard <mark@klomp.org>
8366 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8367 Always call setParentAndBounds().
8368 (setComponentBounds): Always call setBounds().
8369 (setBounds): Call setVisible().
8370 (setVisible): If no pixels are showing then don't make it visible.
8371 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
8372 to call setParentAndBounds() anymore.
8374 2006-03-03 Roman Kennke <kennke@aicas.com>
8376 * javax/swing/JInternalFrame.java
8377 (JInternalFrame): Set frame invisible.
8378 (show): Reformatted.
8379 * javax/swing/plaf/basic/BasicInternalFrameUI.java
8380 (installDefaults): Do not set invisible here.
8382 2006-03-03 Roman Kennke <kennke@aicas.com>
8384 * java/awt/Toolkit.java
8385 (getScreenInsets): Return (0,0,0,0) here.
8387 2006-03-03 Roman Kennke <kennke@aicas.com>
8389 * javax/swing/text/FlowView.java
8390 (FlowStrategy.layoutRow): Added check for rowCount == 0.
8391 (FlowStrategy.getLogicalView): Made method protected.
8393 2006-03-03 Chris Burdess <dog@gnu.org>
8395 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
8396 gnu/xml/validation/relaxng/AttributePattern.java,
8397 gnu/xml/validation/relaxng/ChoiceNameClass.java,
8398 gnu/xml/validation/relaxng/ChoicePattern.java,
8399 gnu/xml/validation/relaxng/DataPattern.java,
8400 gnu/xml/validation/relaxng/Define.java,
8401 gnu/xml/validation/relaxng/ElementPattern.java,
8402 gnu/xml/validation/relaxng/EmptyPattern.java,
8403 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
8404 gnu/xml/validation/relaxng/Grammar.java,
8405 gnu/xml/validation/relaxng/GrammarException.java,
8406 gnu/xml/validation/relaxng/GrammarValidator.java,
8407 gnu/xml/validation/relaxng/GroupPattern.java,
8408 gnu/xml/validation/relaxng/InterleavePattern.java,
8409 gnu/xml/validation/relaxng/ListPattern.java,
8410 gnu/xml/validation/relaxng/NSNameNameClass.java,
8411 gnu/xml/validation/relaxng/NameClass.java,
8412 gnu/xml/validation/relaxng/NameNameClass.java,
8413 gnu/xml/validation/relaxng/NotAllowedPattern.java,
8414 gnu/xml/validation/relaxng/OneOrMorePattern.java,
8415 gnu/xml/validation/relaxng/Param.java,
8416 gnu/xml/validation/relaxng/Pattern.java,
8417 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
8418 gnu/xml/validation/relaxng/RefPattern.java,
8419 gnu/xml/validation/relaxng/TextPattern.java,
8420 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
8421 builder and data model.
8422 * gnu/xml/validation/xmlschema/AnyAttribute.java,
8423 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
8424 gnu/xml/validation/xmlschema/AttributeUse.java,
8425 gnu/xml/validation/xmlschema/ComplexType.java,
8426 gnu/xml/validation/xmlschema/ElementDeclaration.java,
8427 gnu/xml/validation/xmlschema/Particle.java,
8428 gnu/xml/validation/xmlschema/ValidationException.java,
8429 gnu/xml/validation/xmlschema/XMLSchema.java,
8430 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
8431 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
8432 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
8433 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
8434 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
8435 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
8436 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
8437 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
8438 W3C XML Schema builder and schema components.
8439 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
8440 XML Schema namespace URIs.
8442 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
8444 * NEWS: Add entry for --enable-collections.
8445 * configure.ac: Add --enable-collections option.
8446 * lib/Makefile.am (collections.jar): New target.
8447 (glibj_DATA): Add $(COLLECTIONS).
8448 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
8449 configure substitution.
8450 (classpath): Read from command line.
8451 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
8453 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8455 * javax/swing/SpringLayout.java: Fixed API doc warnings.
8457 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8459 * javax/swing/event/ListSelectionEvent.java
8460 (toString): Implemented,
8461 plus updated API docs all over.
8463 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8465 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
8467 * javax/swing/event/ListSelectionListener.java: Updated API docs.
8469 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8471 * gnu/java/rmi/dgc/DGCImpl.java,
8472 java/rmi/dgc/DGC.java,
8473 java/rmi/dgc/Lease.java: Formatted and commented.
8475 2006-03-03 Roman Kennke <kennke@aicas.com>
8477 * NEWS: Added comment about text highlighting and copy+paste
8480 2006-03-03 Roman Kennke <kennke@aicas.com>
8482 * javax/swing/JTabbedPane.java
8483 (remove(int)): Call super.remove(int) instead of remove(Component).
8484 Avoids a stack overflow.
8486 2006-03-03 Roman Kennke <kennke@aicas.com>
8488 * javax/swing/JTable.java
8489 (distributeSpillResizing): Avoid ArithmeticException by checking
8492 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8494 * javax/swing/text/package.html: Added package description.
8496 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8498 * javax/swing/CellRendererPane.java: Minor API doc fix,
8499 * javax/swing/ComboBoxModel.java: Updated API docs.
8501 2006-03-03 Chris Burdess <dog@gnu.org>
8504 * gnu/xml/stream/EntityReferenceImpl.java,
8505 gnu/xml/stream/FilteredEventReader.java,
8506 gnu/xml/stream/SAXParser.java,
8507 gnu/xml/stream/XIncludeFilter.java,
8508 gnu/xml/stream/XMLEventAllocatorImpl.java,
8509 gnu/xml/stream/XMLEventFactoryImpl.java,
8510 gnu/xml/stream/XMLEventImpl.java,
8511 gnu/xml/stream/XMLEventReaderImpl.java,
8512 gnu/xml/stream/XMLEventWriterImpl.java,
8513 gnu/xml/stream/XMLInputFactoryImpl.java,
8514 gnu/xml/stream/XMLOutputFactoryImpl.java,
8515 gnu/xml/stream/XMLParser.java,
8516 javax/xml/stream/EventFilter.java,
8517 javax/xml/stream/Location.java,
8518 javax/xml/stream/StreamFilter.java,
8519 javax/xml/stream/XMLEventFactory.java,
8520 javax/xml/stream/XMLEventReader.java,
8521 javax/xml/stream/XMLEventWriter.java,
8522 javax/xml/stream/XMLInputFactory.java,
8523 javax/xml/stream/XMLOutputFactory.java,
8524 javax/xml/stream/XMLReporter.java,
8525 javax/xml/stream/XMLResolver.java,
8526 javax/xml/stream/XMLStreamConstants.java,
8527 javax/xml/stream/XMLStreamReader.java,
8528 javax/xml/stream/events/EntityDeclaration.java,
8529 javax/xml/stream/events/EntityReference.java,
8530 javax/xml/stream/events/XMLEvent.java,
8531 javax/xml/stream/util/EventReaderDelegate.java,
8532 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
8533 StAX API as specified in JWSDP 2.0.
8534 * gnu/xml/stream/EndEntityImpl.java,
8535 gnu/xml/stream/LocationImpl.java,
8536 gnu/xml/stream/StartEntityImpl.java,
8537 gnu/xml/stream/XMLStreamReaderImpl.java,
8538 javax/xml/stream/XMLFilter.java,
8539 javax/xml/stream/XMLIterator.java,
8540 javax/xml/stream/events/EndEntity.java,
8541 javax/xml/stream/events/StartEntity.java: Removed legacy files.
8543 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8545 * javax/swing/CellEditor.java: API doc updates,
8546 * javax/swing/DefaultCellEditor.java: Likewise.
8548 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8550 * javax/swing/AbstractListModel.java:
8551 (AbstractListModel): Added API docs,
8552 (fireContentsChanged): Minor API doc correction,
8553 (fireIntervalAdded): Likewise,
8554 (fireIntervalRemoved): Likewise.
8556 2006-03-03 Roman Kennke <kennke@aicas.com>
8558 * NEWS: Added paragraph about Swing improvements.
8560 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8562 * javax/swing/AbstractAction.java: Updated API docs all over,
8563 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
8564 (stopCellEditing): Minor API doc correction,
8565 * javax/swing/UnsupportedLookAndFeelException.java
8566 (UnsupportedLookAndFeelException): Changed argument name, updated API
8569 2006-03-03 Roman Kennke <kennke@aicas.com>
8571 * javax/swing/plaf/metal/MetalUtils.java
8572 (fillMetalPattern): Added switch to not use Graphics2D methods,
8573 even if they are available.
8575 2006-03-03 Roman Kennke <kennke@aicas.com>
8577 * javax/swing/plaf/basic/BasicHTML.java
8578 (isHTMLString): Check for string beeing null.
8579 * javax/swing/plaf/basic/BasicInternalFrameUI.java
8580 (BasicInternalFrameListener.internalFrameActivated): Implemented.
8581 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
8582 (InternalFrameLayout): Don't touch the glass pane here.
8583 (installUI): Fix handling of glass pane.
8584 * javax/swing/plaf/basic/BasicLabelUI.java
8588 (BasicLabelUI): Initialize new fields.
8589 (getPreferredSize): Avoid creating new Rectangles by using
8590 SwingUtilities method.
8591 (paint): Avoid creating new Rectangles by reusing
8592 new fields. Added some preliminary handling of HTML inside the
8594 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
8595 (uninstallComponents): Clear HTML renderer.
8596 (propertyChange): Check for HTML text and install renderer if
8598 * javax/swing/plaf/basic/BasicListUI.java
8599 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
8601 * javax/swing/plaf/basic/BasicTextUI.java
8602 (RootView.getStartOffset): Implemented.
8603 (RootView.getEndOffset): Implemented.
8604 (RootView.getDocument): Implemented.
8606 2006-03-03 Roman Kennke <kennke@aicas.com>
8608 * javax/swing/text/DefaultStyledDocument.java
8609 (ElementBuffer.inserUpdate): Added check for zero-length
8611 * javax/swing/text/DefaultStyledDocument.java
8612 (setIndex): Improved exception message.
8613 * javax/swing/text/TableView.java
8614 Made class abstract.
8615 (TableRow.replace): Probably extend columnRequirements
8617 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
8618 of super.layoutMajorAxis.
8619 (columnRequirements): Made field package private.
8620 (TableView): Do not load any child views here.
8621 (layoutColumns): Implemented this method.
8622 (updateColumnRequirements): New helper method.
8623 * javax/swing/text/Utilities.java
8624 (getBreakLocation): Also take offset into account when
8625 finding end location.
8626 * javax/swing/text/html/HTMLDocument.java
8627 (HTMLReader.parseStack): New field.
8628 (HTMLReader.blockOpen): Properly handle p-implied tags.
8629 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
8630 (HTMLReader.addContent): Insert p-implied when adding content to
8632 * javax/swing/text/html/HTMLEditorKit.java
8633 (HTMLFactory.create): Create HTMLTableView for <table> tags and
8634 ParagraphView for TD tags. Print out warning for tags that don't have
8635 matching view yet and create NullView for them.
8636 (read): Only set document base when document != null.
8637 * javax/swing/text/html/HTMLTableView.java:
8640 2006-03-03 Roman Kennke <kennke@aicas.com>
8642 * javax/swing/plaf/basic/BasicHTML.java
8643 (HTMLRootView): New inner class.
8644 (createHTMLView): Embed view inside a HTMLRootView.
8646 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
8648 * gnu/java/net/protocol/jar/Connection.java:
8649 (connect): Throw FileNotFoundException.
8650 (getInputStream): Remove duplicated code.
8652 2006-03-03 Roman Kennke <kennke@aicas.com>
8654 * javax/swing/RepaintManager.java
8655 (commitBuffer): Added null check for clip.
8657 2006-03-02 Lillian Angel <langel@redhat.com>
8659 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8660 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
8661 to use GtkWidget instead of GTKMenu.
8663 2006-03-02 Lillian Angel <langel@redhat.com>
8665 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8666 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
8667 use the submenu to get the list of children. This now works
8668 in the same way as addItem.
8670 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
8672 * java/lang/StringBuilder.java:
8673 (codePointAt): New method.
8674 (codePointBefore): Likewise.
8675 (codePointCount): Likewise.
8676 (trimToSize): Likewise.
8678 2006-03-02 Tom Tromey <tromey@redhat.com>
8680 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
8682 2006-03-02 Tom Tromey <tromey@redhat.com>
8684 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
8685 (getProviderInstance):
8687 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
8689 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
8690 Fix regression caused by move to VM variant.
8693 2006-03-01 Tom Tromey <tromey@redhat.com>
8695 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
8696 * vm/reference/java/net/VMInetAddress.java: Organized imports.
8697 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
8698 imports for javadoc.
8699 (getProxyClass): Javadoc fixes.
8700 (getProxyData): Likewise.
8701 (generateProxyClass): Likewise.
8702 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
8705 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
8706 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
8708 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
8710 (getModifiers): Likewise.
8711 (getDeclaredClasses): Javadoc fix.
8712 (getDeclaredFields): Likewise.
8713 (getDeclaredMethods): Likewise.
8714 (getDeclaredConstructors): Likewise.
8715 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
8718 2006-03-01 Tom Tromey <tromey@redhat.com>
8720 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
8721 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
8722 (getVersion): Javadoc fix.
8724 * gnu/java/net/protocol/http/Headers.java: Organized imports.
8725 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
8727 2006-03-01 David Daney <ddaney@avtrex.com>
8729 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
8730 as relative if it contains a colon but no protocol handler can be
8733 2006-03-01 Roman Kennke <kennke@aicas.com>
8735 * javax/swing/text/AbstractDocument.java
8736 (LeafElement.LeafElement): Handle delta with respect to content
8737 length not document length.
8738 * javax/swing/text/CompositeView.java
8739 (getViewIndex): Handle bias correctly.
8740 * javax/swing/text/DefaultCaret.java
8741 (paint): Align caret position to document bounds to avoid trouble
8742 when removing large portions of content.
8743 * javax/swing/text/DefaultStyledDocument.java
8744 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
8745 (ElementBuffer.createFracture): Copy old childs attribute. The
8746 ElementSpec usually doesn't carry attribute information.
8747 Use pos instead of offset.
8748 (ElementBuffer.insertFracture): Use pos instead of offset.
8749 (createDefaultRootElement): Don't use create* and instead directly
8750 instantiate the elements.
8751 (handleInsertAfterNewline): Compare the paragraphs startOffset
8752 rather than previous paragraphs endOffset.
8753 * javax/swing/text/JTextComponent.java
8754 (getScrollableTracksViewportWidth): Remove unnecessary cast to
8756 (getScrollableTracksViewportHeight): Remove unnecessary cast to
8758 * javax/swing/text/PlainView.java
8759 (damageLineRange): Avoid creating new Rectangle by using
8761 * javax/swing/text/View.java
8762 (forwardUpdate): Correct the use of bias.
8763 (modelToView): Avoid new Rectangles by using SwingUtilities.
8764 (dump): Made (temprorarily) protected for use in BasicTextUI.
8765 (dump(int)): Dump out the element of the view.
8767 2006-03-01 Lillian Angel <langel@redhat.com>
8769 * NEWS: javax.imageio.plugins.bmp implementation.
8771 2006-03-01 Lillian Angel <langel@redhat.com>
8773 * javax/imageio/ImageWriteParam.java:
8774 Added documentation for fields.
8775 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
8776 New class implemented.
8778 2006-03-01 Tom Tromey <tromey@redhat.com>
8780 * NEWS: Mention java.util.prefs update.
8782 2006-03-01 Tom Tromey <tromey@redhat.com>
8784 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
8785 * java/nio/charset/UnmappableCharacterException.java:
8786 (serialVersionUID): New field.
8787 * java/nio/charset/MalformedInputException.java:
8788 (serialVersionUID): New field.
8789 * java/nio/charset/CoderMalfunctionError.java:
8790 (serialVersionUID): New field.
8791 * java/nio/charset/CharacterCodingException.java:
8792 (serialVersionUID): New field.
8793 * java/nio/channels/UnsupportedAddressTypeException.java:
8794 (serialVersionUID): New field.
8795 * java/nio/channels/UnresolvedAddressException.java:
8796 (serialVersionUID): New field.
8797 * java/nio/channels/OverlappingFileLockException.java:
8798 (serialVersionUID): New field.
8799 * java/nio/channels/NotYetConnectedException.java:
8800 (serialVersionUID): New field.
8801 * java/nio/channels/NotYetBoundException.java
8802 (serialVersionUID): New field.
8803 * java/nio/channels/NonWritableChannelException.java
8804 (serialVersionUID): New field.
8805 * java/nio/channels/NonReadableChannelException.java
8806 (serialVersionUID): New field.
8807 * java/nio/channels/NoConnectionPendingException.java
8808 (serialVersionUID): New field.
8809 * java/nio/channels/IllegalSelectorException.java
8810 (serialVersionUID): New field.
8811 * java/nio/channels/IllegalBlockingModeException.java
8812 (serialVersionUID): New field.
8813 * java/nio/channels/FileLockInterruptionException.java
8814 (serialVersionUID): New field.
8815 * java/nio/channels/ConnectionPendingException.java
8816 (serialVersionUID): New field.
8817 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
8819 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
8821 * java/nio/channels/ClosedByInterruptException.java
8822 (serialVersionUID): New field.
8823 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
8825 * java/nio/channels/AsynchronousCloseException.java
8826 (serialVersionUID): New field.
8827 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
8829 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
8830 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
8831 * java/nio/BufferUnderflowException.java (serialVersionUID): New
8833 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
8834 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
8835 Javadoc fix. Added import.
8836 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
8837 (validOps): Likewise.
8838 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
8839 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
8840 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
8841 * java/nio/channels/Channels.java: Added import.
8842 * java/nio/channels/FileChannel.java (lock): Typo fix.
8843 (tryLock): Likewise.
8845 2006-03-01 Tom Tromey <tromey@redhat.com>
8847 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
8849 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
8850 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
8853 (newNode): Likewise.
8855 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
8856 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
8858 (systemRoot): Use it.
8859 (userPreferences): New field.
8862 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
8864 * java/util/ResourceBundle.java
8865 (tryBundle): Catch and ignore all Exceptions.
8867 2006-02-28 Roman Kennke <kennke@aicas.com>
8869 * javax/swing/plaf/basic/BasicScrollBarUI.java
8870 (getPreferredSize): Fixed add a fixed space between the buttons
8871 instead of something related to min/max.
8872 (installComponents): Create and install buttons here.
8873 (installDefaults): Don't create buttons here.
8874 * javax/swing/plaf/metal/MetalScrollBarUI.java
8875 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
8876 (getPreferredSize): New method.
8878 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
8880 * examples/gnu/classpath/examples/swing/Demo.java
8881 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
8882 connected 'Spinner' action to SpinnerDemo,
8883 (mkCheckbox): Removed,
8884 (mkRadio): Likewise,
8885 (mkSpinner): Likewise,
8886 (mkToggle): Likewise,
8887 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
8888 connected 'Spinner' action to SpinnerDemo.
8890 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
8892 * javax/print/ServiceUIFactory.java: Added documentation to class.
8894 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
8897 * javax/swing/DefaultListSelectionModel.java:
8898 (addSelectionInterval): Return early if either of the arguments is -1.
8899 (removeSelectionInterval): Likewise.
8900 (setSelectionInterval): Likewise.
8902 2006-02-28 Lillian Angel <langel@redhat.com>
8904 * javax/swing/text/DefaultFormatter.java
8905 (stringToValue): Added NPE check.
8907 2006-02-28 Roman Kennke <kennke@aicas.com>
8910 * javax/swing/JList.java
8911 (getPreferredScrollableViewportSize): Restored specified behaviour.
8912 * javax/swing/plaf/metal/MetalFileChooserUI.java
8913 (createList): Set filelist panel's preferredSize, so that it doesn't
8914 get size into infinity for big lists.
8916 2006-02-28 Lillian Angel <langel@redhat.com>
8918 * javax/swing/ViewportLayout.java
8919 (layoutContainer): Should not extend container to be
8920 minimum size. Mauve test shows that the preferred size
8921 and the size of the viewport can be set smaller than
8924 2006-02-28 Lillian Angel <langel@redhat.com>
8927 * javax/swing/JList.java
8928 (getPreferredScrollableViewportSize): Added a check to determine
8929 if orientation is VERTICAL_WRAP. If it is, we should only
8932 2006-02-28 Lillian Angel <langel@redhat.com>
8935 * javax/swing/ViewportLayout.java:
8936 Patch submitted by Audrius Meskauskas
8937 (addLayoutComponent): Added documentation.
8938 (removeLayoutComponent): Likewise.
8939 (preferredLayoutSize): Likewise.
8940 (minimumLayoutSize): Likewise.
8941 (layoutContainer): Fixed code, so view is set
8942 to the right position when inside a scrollpane.
8944 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
8946 * java/math/BigInteger.java:
8947 Committed patch by Rafael:
8948 developer.classpath.org/pipermail/classpath-patches/
8949 2006-February/000473.html
8950 (signum): Return early 0 if words == null and ival == 0.
8951 (readObject): Handle special case of magnitude.length or signum being
8953 (writeObject): If signum is zero return a zero-sized byte[].
8955 2006-02-28 Lillian Angel <langel@redhat.com>
8957 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8958 (create): Initially set the directory to the current working directory.
8959 (setDirectory): Removed else-if. No need for this check.
8961 2006-02-28 Tom Tromey <tromey@redhat.com>
8963 * .project: Run java builder before header generation.
8965 2006-02-28 Tom Tromey <tromey@redhat.com>
8967 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
8969 * gnu/java/util/prefs/EventDispatcher.java: New file.
8970 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
8971 (NodeWriter): Specify UTF-8.
8972 (writeHeader): Emit DOCTYPE.
8973 * java/util/prefs/Preferences.java (getFactory): Add cause to
8975 (exportNode): Documented.
8976 (exportSubtree): Likewise.
8977 (importPreferences): Likewise.
8978 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
8979 (writeObject): Likewise.
8980 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
8981 (writeObject): Likewise.
8982 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
8983 (nodeListeners): New field.
8984 (preferenceListeners): Likewise.
8985 (addNodeChangeListener): Implemented.
8986 (addPreferenceChangeListener): Likewise.
8987 (removeNodeChangeListener): Likewise.
8988 (removePreferenceChangeListener): Likewise.
8989 (fire): New methods.
8992 (purge): Likewise. Fixed synchronization.
8993 (removeNode): Fixed synchronization.
8994 (getNode): Fire event.
8995 (flushNode): Fixed synchronization.
8997 2006-02-28 Roman Kennke <kennke@aicas.com>
8999 * javax/swing/text/BranchElement.java
9000 (startOffset): New field.
9001 (endOffset): New field.
9002 (BranchElement): Initialize new fields.
9003 (getEndOffset): Rewritten to possibly return cached values
9004 if element has no children.
9005 (getStartOffset): Rewritten to possibly return cached values
9006 if element has no children.
9007 * javax/swing/text/LeafElement.java
9008 (startDelta): New field.
9009 (endDelta): New field.
9010 (LeafElement): Handle possible delta of start/endOffset when
9011 these parameters lie outside the document range.
9012 (getStartOffset): Handle possible startDelta.
9013 (getEndOffset): Handle possible startDelta.
9015 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
9017 * NEWS: Added line about Unicode 4.0.0 support.
9019 2006-02-28 Roman Kennke <kennke@aicas.com>
9021 * javax/swing/SwingUtilities.java
9022 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
9024 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
9026 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
9028 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
9030 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
9031 Amended class documentation.
9032 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
9034 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
9035 a BIT STRING construct.
9036 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
9038 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
9040 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
9041 a BIT STRING construct.
9042 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
9043 (engineVerify): Added logging.
9045 2006-02-28 Roman Kennke <kennke@aicas.com>
9047 * java/awt/Component.java
9048 (dispatchEventImpl): Let the Toolkit dispatch global events.
9049 * java/awt/Container.java
9050 (dispatchEventImpl): Let the LightweightDispatcher handle events
9052 * java/awt/EventQueue.java
9053 (dispatchEvent): Don't do the global event dispatching here. This
9054 is moved to the Component.
9055 (globalDispatchEvent): Moved this method to Toolkit.
9056 * java/awt/LightweightDispatcher.java
9057 (instances): New field.
9058 (getInstance): New method. Delivers an instance of
9059 LightweightDispatcher.
9060 (LightweightDispatcher): Made default constructor private.
9061 (dispatchEvent): New method. Replaces the eventDispatched method.
9062 This now returns true when the event was actually dispatched.
9063 (eventDispatched): Replaced by dispatchEvent.
9064 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
9065 received the last MOUSE_RELEASED.
9066 * java/awt/Toolkit.java
9067 (Toolkit): Don't register LightweightDispatcher as global event
9069 (globalDispatchEvent): Moved here from EventQueue.
9071 2006-02-27 David Daney <ddaney@avtrex.com>
9074 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
9076 (getRequestProperties): Rewrote.
9078 2006-02-27 David Daney <ddaney@avtrex.com>
9081 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
9083 (ChunkedInputStream): Extend InputStream.
9085 (headers): Moved to top of class.
9086 (constructor): Save referenct to in.
9087 (read(byte[])): Removed method.
9088 (read(byte[], int, int)): Made synchronized and throw IOException
9089 on error parsing chunk header.
9090 (available): New method.
9091 (close): New method.
9093 2006-02-27 David Daney <ddaney@avtrex.com>
9095 * gnu/java/net/protocol/http/HTTPURLConnection.java
9096 (imports): Cleaned up.
9097 (GetHTTPPropertiesAction): Removed, and moved contents to ...
9098 (constructor): ... Here, using SystemProperties instead of System.
9100 2006-02-27 Lillian Angel <langel@redhat.com>
9102 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
9103 (setDirectory): GtkFileChooser requires an absolute directory
9104 name. Added a check to make the directory passed to nativeSetDirectory
9107 2006-02-27 Roman Kennke <kennke@aicas.com>
9109 * javax/swing/SwingUtilities.java
9110 (computeIntersection): Changed to store result in rect, instead of
9111 creating new Rectangle instances. Fixed API docs accordingly.
9112 (computeUnion): Changed to store result in rect, instead of
9113 creating new Rectangle instances. Fixed API docs accordingly.
9115 2006-02-27 Roman Kennke <kennke@aicas.com>
9117 * javax/swing/JViewport.java
9118 (static_init): Changed default scrollmode to BLIT.
9119 (paintSimple): Added some clipping to avoid painting problems.
9120 (paintBlit): Added some clipping to avoid painting problems.
9122 2006-02-27 Roman Kennke <kennke@aicas.com>
9124 * javax/swing/JComponent.java
9125 (rectCache): Made field static to save memory.
9126 (getVisibleRect): Don't use rectCache and create new Rectangle
9128 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
9129 (repaint(long,int,int,int,int)): Directly call
9130 RepaintManager.addDirtyRegion(). The visibleRect check is now
9131 performed in the RepaintManager.
9133 2006-02-27 Roman Kennke <kennke@aicas.com>
9135 * javax/swing/RepaintManager.java
9136 (currentRepaintManagers): Made field private.
9137 (rectCache): New field.
9138 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
9139 component. Changed Rectangle handling to avoid unnecessary new
9140 Rectangle instances.
9141 (getOffscreenBuffer): Create buffer with size of the root window.
9142 Respect the maximum buffer size here.
9143 (commitBuffer): Align the regions so that they are inside the buffer
9144 image and inside the clip. This avoids problems with a bug in GTKImage.
9145 Fixed Rectangle handling to avoid creation of new Rectangle instances.
9147 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
9149 * native/fdlibm/e_acos.c,
9150 * native/fdlibm/e_asin.c,
9151 * native/fdlibm/e_atan2.c,
9152 * native/fdlibm/e_cosh.c,
9153 * native/fdlibm/e_exp.c,
9154 * native/fdlibm/e_fmod.c,
9155 * native/fdlibm/e_hypot.c,
9156 * native/fdlibm/e_log.c,
9157 * native/fdlibm/e_log10.c,
9158 * native/fdlibm/e_rem_pio2.c,
9159 * native/fdlibm/e_remainder.c,
9160 * native/fdlibm/e_sinh.c,
9161 * native/fdlibm/e_sqrt.c,
9162 * native/fdlibm/k_cos.c,
9163 * native/fdlibm/k_sin.c,
9164 * native/fdlibm/k_tan.c,
9165 * native/fdlibm/s_atan.c,
9166 * native/fdlibm/s_cbrt.c,
9167 * native/fdlibm/s_ceil.c,
9168 * native/fdlibm/s_copysign.c,
9169 * native/fdlibm/s_cos.c,
9170 * native/fdlibm/s_expm1.c,
9171 * native/fdlibm/s_fabs.c,
9172 * native/fdlibm/s_finite.c,
9173 * native/fdlibm/s_floor.c,
9174 * native/fdlibm/s_log1p.c,
9175 * native/fdlibm/s_rint.c,
9176 * native/fdlibm/s_scalbn.c,
9177 * native/fdlibm/s_sin.c,
9178 * native/fdlibm/s_tan.c,
9179 * native/fdlibm/s_tanh.c:
9180 Fixed to call our macros rather than __HI and __LO.
9181 * native/fdlibm/fdlibm.h:
9182 Reintroduced previous extraction code.
9183 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
9184 (GET_HIGH_WORD(i,d)): Readded.
9185 (GET_LOW_WORD(i,d)): Readded.
9186 (INSERT_WORDS(d,ix0,ix1)): Readded.
9187 (SET_HIGH_WORD(d,i)): Readded.
9188 (SET_LOW_WORD(d,i)): Readded.
9189 * native/jni/gtk-peer/gthread-jni.c:
9190 Use Glib macros to convert integers/pointers portably.
9192 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
9194 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
9195 as the fallback SPI.
9196 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
9197 ones referencing GNU-CRYPTO classes.
9198 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
9199 (engineValidate): Use GNU-CRYPTO class.
9200 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
9201 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
9202 * gnu/java/security/provider/DSAKeyFactory: Likewise.
9203 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
9204 * gnu/java/security/provider/DSAParameters: Likewise.
9205 * gnu/java/security/provider/DSASignature: Likewise.
9206 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
9207 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
9208 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
9209 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
9210 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
9211 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
9212 * gnu/java/security/provider/MD2withRSA: Likewise.
9213 * gnu/java/security/provider/MD4withRSA: Likewise.
9214 * gnu/java/security/provider/MD5: Likewise.
9215 * gnu/java/security/provider/MD5withRSA: Likewise.
9216 * gnu/java/security/provider/RSA: Likewise.
9217 * gnu/java/security/provider/RSAKeyFactory: Likewise.
9218 * gnu/java/security/provider/SHA: Likewise.
9219 * gnu/java/security/provider/SHA1PRNG: Likewise.
9220 * gnu/java/security/provider/SHA1withRSA: Likewise.
9221 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
9223 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
9225 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
9226 (engineGeneratePublic): Added logging.
9227 (engineGeneratePrivate): Likewise.
9228 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
9229 (encodePublicKey): Added logging.
9230 Clarified in method documentation that params is optional, but is
9231 always NULL if present.
9232 (decodePublicKey): Added logging.
9233 Handle optional NULL element.
9235 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
9237 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
9239 2006-02-25 Chris Burdess <dog@gnu.org>
9241 * gnu/java/net/CRLFInputStream.java,
9242 gnu/java/net/LineInputStream.java: Streams that use mark
9243 capabilities on the underlying stream do not expose mark
9244 functionality themselves.
9245 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
9248 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
9250 * gnu/regexp/REMatch.java(matchFlags): New int field used as
9251 option flags passed to match methods.
9252 (MF_FIND_ALL): New flag.
9253 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
9254 do not try other possibilties once a match is found.
9255 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
9256 so that all possibilities can be found.
9257 (match): Rewritten using new methods matchMinimum and _match.
9258 (_match): New method which performs a depth-first recursive search.
9259 (matchMinimum): New method.
9260 (initVisited), (visitedContains), (addVisited): New methods for
9261 manipulating an array of icharacter positions which _match has
9264 2006-02-24 David Daney <ddaney@avtrex.com>
9267 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
9269 (Pool): New inner class.
9270 (timeLastUsed): New field.
9271 (setPool): Changed parameter type to Pool.
9272 (release): Moved pool management logic to new class Pool.
9273 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
9275 (maxConnections) : Removed.
9276 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
9277 (getConnection): Moved pool management logic to HTTPConnection.Pool.
9279 2006-02-24 Lillian Angel <langel@redhat.com>
9281 * java/awt/Container.java:
9282 Added new field. True if Container has been cleared and
9283 heavyweights need to be repainted.
9284 (paint): Fixed comment. Fixed to use backCleared and
9286 (update): Set backCleared to true after the background
9287 of the container has been cleared.
9289 2006-02-24 Lillian Angel <langel@redhat.com>
9291 * java/awt/TextField.java
9292 (addNotify): Added call to super.
9294 2006-02-24 Lillian Angel <langel@redhat.com>
9296 * java/awt/Component.java
9297 (reshape): Reverted last patch. Should have check here.
9298 (addNotify): Added check. If parent is lightweight, then
9299 initialize listener on the parent.
9300 (HeavyweightInLightweightListener): New class.
9302 2006-02-24 Roman Kennke <kennke@aicas.com>
9304 * javax/swing/plaf/basic/BasicComboPopup.java
9305 (show): Register the popup with the autocloser after it has been
9306 opened completely, by putting the registration on the eventqueue.
9308 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
9310 * gnu/java/security/prng/BasePRNG.java:
9311 (clone()): Added cast of buffer to byte[].
9312 * gnu/javax/crypto/mac/TMMH16.java:
9313 (clone()): Fixed casting of cloned arrays.
9314 * native/fdlibm/fdlibm.h:
9315 Added missing defines from old fdlibm.h needed by Darwin.
9316 (GET_FLOAT_WORD(i,d)): Re-added.
9317 (SET_FLOAT_WORD(d,i)): Re-added.
9319 2006-02-24 Roman Kennke <kennke@aicas.com>
9321 * java/awt/Container.java:
9322 (dispatcher): Removed field.
9323 (dispatchEventImpl): Removed lightweight dispatching.
9324 (addNotifyContainerChildren): Removed LightweightDispatcher
9326 (LightweightDispatcher): Removed class.
9327 * java/awt/LightweightDispatcher.java: New class.
9328 * java/awt/Toolkit.java
9329 (Toolkit): Install LightweightDispatcher in global listener
9332 2006-02-24 Chris Burdess <dog@gnu.org>
9335 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
9338 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
9340 * NEWS: Mentions the VMMath runtime changes.
9341 * doc/vmintegration.texinfo: Updated to include
9344 2006-02-24 Roman Kennke <kennke@aicas.com>
9346 * javax/swing/plaf/basic/BasicLookAndFeel.java
9347 (PopupHelper.autoClosePopups): New field.
9348 (PopupHelper.mousePressed): Also autoclose any registered popups.
9349 (PopupHelper.registerForAutoClose): New method.
9350 (PopupHelper.autoClosePopups): New method.
9351 (popupHelper): Changed type of field to PopupHelper.
9352 (registerForAutoClose): New method.
9353 * javax/swing/plaf/basic/BasicComboPopup.java
9354 (show): Register this popup for autoclosing.
9356 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
9358 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
9359 * gnu/java/security/prng/MDGenerator.java (clone): New method.
9360 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
9362 2006-02-24 Roman Kennke <kennke@aicas.com>
9364 Reported by Ingo Proetel <proetel@aicas.com>
9365 * java/util/logging/LogManager.java
9366 (addLogger): Search the parent loggers for log level
9367 configuration and inherit that.
9368 (readConfiguration): Provide minimal default configuration
9369 if no configuration can be found otherwise.
9371 2006-02-23 Roman Kennke <kennke@aicas.com>
9373 * javax/swing/JRootPane.java
9374 (isOptimizedDrawingEnabled): Implemented to return true
9375 when the glassPane is not visible.
9377 2006-02-23 Roman Kennke <kennke@aicas.com>
9379 * javax/swing/plaf/basic/BasicLookAndFeel.java
9380 (PopupHelper): New inner class.
9381 (popupHelper): New field.
9382 (initialize): New method.
9383 (uninitialize): New method.
9384 * javax/swing/plaf/basic/BasicPopupMenuUI.java
9385 (mouseInputListener): Removed field.
9386 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
9387 handling of GlassPane.
9388 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
9389 handling of GlassPane.
9390 (MouseInputHandler): Removed class.
9392 2006-02-23 Roman Kennke <kennke@aicas.com>
9394 * java/awt/AWTEvent.java
9395 (eventIdToMask): New utility method.
9396 * java/awt/EventQueue.java
9397 (dispatchEvent): Also globally dispatch events via the toolkit.
9398 (globalDispatchEvent): New method.
9399 * java/awt/Toolkit.java
9400 (awtEventListeners): New field.
9401 (Toolkit()): Initialize new field.
9402 (createComponent): Create GLightweightPeer here.
9403 (addAWTEventListener): Implemented and documented.
9404 (removeAWTEventListener): Implemented and documented.
9405 (getAWTEventListeners): Implemented and documented both method
9407 * java/awt/event/AWTEventListenerProxy.java
9408 (eventDispatched): Don't filter events here.
9410 2006-02-23 Chris Burdess <dog@gnu.org>
9413 * gnu/xml/dom/DomDocumentBuilderFactory.java,
9414 gnu/xml/dom/JAXPFactory.java,
9415 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
9416 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
9417 implement DocumentBuilderFactory.get/setFeature methods.
9419 2006-02-23 Lillian Angel <langel@redhat.com>
9421 * gnu/java/awt/peer/GLightweightPeer.java
9422 (repaint): Scott's proposed fix. Send repaint to the
9424 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9425 (setBounds): Removed next_parent, not needed. Removed
9426 lightweightChild, we always need to compensate for the
9428 * java/awt/Component.java
9429 (setBounds): Removed check. Caused lots of problems, because some
9430 components were not being invalidated. Components should be
9431 invalidated when they are resized or moved, and in some cases,
9432 when a parent is resized/moved, the components do not know
9433 about it and do not adjust.
9434 * java/awt/Graphics.java
9435 (hitClip): Scott's proposed fix. Added check to handle a
9438 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
9440 * javax/print/attribute/standard/MediaSize.java:
9441 (media): Field renamed to mediaName for serialization.
9442 (MediaSize): Adapted to new fieldname.
9443 (getMediaSizeName): Likewise.
9444 * javax/print/attribute/HashAttributeSet.java:
9445 (interfaceName): Field renamed to myInterface for serialization.
9446 (HashAttributeSet): Adapted to the new fieldname.
9449 (addInternal): Likewise.
9450 (attributeMap): Made transient.
9451 (readObject): New serialization method.
9452 (writeObject): Likewise.
9453 * javax/print/attribute/AttributeSetUtilities.java:
9454 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
9455 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
9456 (SynchronizedAttributeSet.addAll): Likewise.
9457 (SynchronizedAttributeSet.clear): Likewise.
9458 (SynchronizedAttributeSet.containsKey): Likewise.
9459 (SynchronizedAttributeSet.containsValue): Likewise.
9460 (SynchronizedAttributeSet.equals): Likewise.
9461 (SynchronizedAttributeSet.get): Likewise.
9462 (SynchronizedAttributeSet.hashCode): Likewise.
9463 (SynchronizedAttributeSet.isEmpty): Likewise.
9464 (SynchronizedAttributeSet.remove): Likewise.
9465 (SynchronizedAttributeSet.size): Likewise.
9466 (SynchronizedAttributeSet.toArray): Likewise.
9467 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
9468 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
9469 (UnmodifiableAttributeSet.addAll): Likewise.
9470 (UnmodifiableAttributeSet.clear): Likewise.
9471 (UnmodifiableAttributeSet.containsKey): Likewise.
9472 (UnmodifiableAttributeSet.containsValue): Likewise.
9473 (UnmodifiableAttributeSet.equals): Likewise.
9474 (UnmodifiableAttributeSet.get): Likewise.
9475 (UnmodifiableAttributeSet.hashCode): Likewise.
9476 (UnmodifiableAttributeSet.isEmpty): Likewise.
9477 (UnmodifiableAttributeSet.remove): Likewise.
9478 (UnmodifiableAttributeSet.size): Likewise.
9479 (UnmodifiableAttributeSet.toArray): Likewise.
9480 * javax/print/attribute/standard/MediaPrintableArea.java:
9481 (width): Field renamed to w for serialization.
9482 (height): Field renamed to h for serialization.
9483 (MediaPrintableArea): Adapted to the new fieldnames.
9484 (MediaPrintableArea): Likewise.
9486 (hashCode): Likewise.
9487 (getHeight): Likewise.
9488 (getWidth): Likewise.
9490 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
9492 * include/java_lang_VMMath.h:
9493 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
9494 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
9495 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
9496 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
9497 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
9498 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
9499 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
9500 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
9501 * java/lang/Math.java:
9502 (cbrt(double)): Implemented.
9503 (cosh(double)): Implemented.
9504 (expm1(double)): Implemented.
9505 (hypot(double,double)): Implemented.
9506 (log10(double)): Implemented.
9507 (log1p(double)): Implemented.
9508 (signum(double)): Implemented.
9509 (signum(float)): Implemented.
9510 (sinh(double)): Implemented.
9511 (tanh(double)): Implemented.
9512 * native/fdlibm/Makefile.am:
9513 Added new files from fdlibm 5.3.
9514 * native/fdlibm/e_acos.c,
9515 * native/fdlibm/e_asin.c,
9516 * native/fdlibm/e_atan2.c,
9517 * native/fdlibm/e_exp.c,
9518 * native/fdlibm/e_fmod.c,
9519 * native/fdlibm/e_log.c,
9520 * native/fdlibm/e_rem_pio2.c,
9521 * native/fdlibm/e_remainder.c,
9522 * native/fdlibm/e_scalb.c,
9523 * native/fdlibm/e_sqrt.c,
9524 * native/fdlibm/k_cos.c,
9525 * native/fdlibm/k_rem_pio2.c,
9526 * native/fdlibm/k_sin.c,
9527 * native/fdlibm/k_tan.c,
9528 * native/fdlibm/s_atan.c,
9529 * native/fdlibm/s_ceil.c,
9530 * native/fdlibm/s_copysign.c,
9531 * native/fdlibm/s_cos.c,
9532 * native/fdlibm/s_fabs.c,
9533 * native/fdlibm/s_finite.c,
9534 * native/fdlibm/s_floor.c,
9535 * native/fdlibm/s_rint.c,
9536 * native/fdlibm/s_scalbn.c,
9537 * native/fdlibm/s_sin.c,
9538 * native/fdlibm/s_tan.c,
9539 * native/fdlibm/w_acos.c,
9540 * native/fdlibm/w_asin.c,
9541 * native/fdlibm/w_atan2.c,
9542 * native/fdlibm/w_acos.c,
9543 * native/fdlibm/w_exp.c,
9544 * native/fdlibm/w_fmod.c,
9545 * native/fdlibm/w_log.c,
9546 * native/fdlibm/w_pow.c,
9547 * native/fdlibm/w_remainder.c,
9548 * native/fdlibm/w_sqrt.c:
9549 Updated to fdlibm 5.3.
9550 * native/fdlibm/e_cosh.c,
9551 * native/fdlibm/e_hypot.c,
9552 * native/fdlibm/e_log10.c,
9553 * native/fdlibm/e_sinh.c,
9554 * native/fdlibm/s_cbrt.c,
9555 * native/fdlibm/s_expm1.c,
9556 * native/fdlibm/s_log1p.c,
9557 * native/fdlibm/s_tanh.c,
9558 * native/fdlibm/w_cosh.c,
9559 * native/fdlibm/w_hypot.c,
9560 * native/fdlibm/w_log10.c,
9561 * native/fdlibm/w_sinh.c:
9562 Imported from fdlibm 5.3.
9563 * native/fdlibm/fdlibm.h:
9564 Imported from fdlibm 5.3 with Classpath additions.
9565 * native/fdlibm/namespace.h:
9566 Updated from new math_symbols file.
9567 * native/jni/java-lang/java_lang_VMMath.c:
9568 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
9569 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
9570 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
9571 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
9573 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
9574 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
9575 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
9576 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
9577 * scripts/math_symbols:
9578 Added tanh, expm1, log10 and log1p.
9579 * vm/reference/java/lang/VMMath.java:
9580 (cbrt(double)): Implemented.
9581 (cosh(double)): Implemented.
9582 (expm1(double)): Implemented.
9583 (hypot(double,double)): Implemented.
9584 (log10(double)): Implemented.
9585 (log1p(double)): Implemented.
9586 (sinh(double)): Implemented.
9587 (tanh(double)): Implemented.
9589 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
9591 * javax/print/DocFlavor.java: Added documentation all over.
9592 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
9593 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
9594 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
9595 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
9596 (URL.TEXT_HTML_HOST): Likewise.
9597 (URL.TEXT_PLAIN_HOST): Likewise.
9598 (hostEncoding): Initialize with host default charset encoding.
9599 (mediaSubtype): Made transient.
9600 (mediaType): Likewise.
9601 (params): Made transient. Changed type to TreeMap.
9602 (className): Removed, changed to myClassName.
9603 (myClassName): New field as defined in serialized form.
9604 (DocFlavor): Adapted to new variable types, names.
9605 (parseMimeType): Reimplemented.
9606 (getParameter): Search with lowercase name.
9607 (getRepresentationClassName): Adapted to changed variable name.
9608 (hashCode): Likewise.
9609 (toString): Reimplemented.
9610 (readObject): New method for serialization.
9611 (writeObject): Likewise.
9613 2006-02-23 Roman Kennke <kennke@aicas.com>
9615 * javax/swing/RepaintManager.java
9616 (commitBuffer): Clip the repaint area with the current clip.
9618 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
9620 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
9621 (DEFAULT_PRIME_SIZE): Made public.
9622 (DEFAULT_EXPONENT_SIZE): Likewise.
9623 (setup): Handle DHParameterSpec as well.
9624 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
9625 defaultFormat instead of Raw.
9626 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
9627 (checkIsConstructed): Removed.
9628 (checkIsBigInteger): Likewise.
9629 (decodePublicKey): Use DerUtil.
9630 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
9631 (checkIsConstructed): Removed.
9632 (checkIsBigInteger): Likewise.
9633 (decodePrivateKey): Use DerUtil.
9634 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
9636 Added mappings for AlgorithmParameters.DH and
9637 AlgorithmParameterGenerator.DH.
9638 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
9639 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
9640 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
9641 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
9643 (engineGeneratePublic): Likewise.
9644 * gnu/java/security/util/DerUtil.java: New file.
9645 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
9646 Include only valid RSA PKCS1 (v1.5) signature names.
9647 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
9648 (RSAPKCS1V1_5SignatureX509Codec): Removed.
9649 (checkIsConstructed): Likewise.
9650 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
9651 (checkIsConstructed): Removed.
9652 (checkIsBigInteger): Likewise.
9653 (decodeSignature): Use DerUtil.
9654 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
9655 (checkIsConstructed): Removed.
9656 (checkIsBigInteger): Likewise.
9657 (decodePublicKey): Use DerUtil.
9658 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
9659 (checkIsConstructed): Removed.
9660 (checkIsBigInteger): Likewise.
9661 (decodePrivateKey): Use DerUtil.
9662 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
9663 (checkIsConstructed): Removed.
9664 (checkIsBigInteger): Likewise.
9665 (decodePublicKey): Use DerUtil.
9666 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
9667 (checkIsConstructed): Removed.
9668 (checkIsBigInteger): Likewise.
9669 (decodePrivateKey): Use DerUtil.
9670 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
9671 (DEFAULT_MODULUS_LENGTH): Made it public.
9672 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
9673 defaultFormat instead of Raw.
9674 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
9675 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
9676 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
9678 (engineGeneratePublic): Likewise.
9679 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
9681 2006-02-22 Mark Wielaard <mark@klomp.org>
9683 * java/awt/Checkbox.java (setState): Check that state actually changed
9684 before calling peer.
9685 (dispatchEventImpl): Set new state if ItemEvent.
9686 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
9687 (create): Set currentState.
9688 (setState): Make synchronized, check and set currentState before
9689 calling gtkToggleButtonSetActive.
9690 (postItemEvent): Make synchronized, check and set currentState before
9692 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9693 (postItemEventID): Method now takes boolean.
9694 (item_toggled_cb): Likewise.
9696 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
9698 * javax/swing/text/DefaultHighlighter.java:
9699 (changeHighlight): Added code to minimize the damaged area.
9701 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
9703 * javax/swing/text/PlainView.java:
9704 (getPreferredSpan): Added missing 'break'.
9705 statement which corrects an unwanted fall through.
9706 (updateDamage): Update maxLineLength correctly when text is
9707 removed, call preferenceChanged accordingly.
9708 (viewToModel): Restrict line number to be within 0 and the
9709 number of elements-1.
9711 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
9713 * javax/swing/text/Utilities.java:
9714 (getPositionAbove): Prefer first value by changing comparison
9716 (getPositionBelow): Dito.
9718 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
9720 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
9721 behavior when magic caret position is null.
9723 2006-02-22 Roman Kennke <kennke@aicas.com>
9725 * javax/swing/JTextField.java
9726 (isValidateRoot): New method.
9728 2006-02-22 Roman Kennke <kennke@aicas.com>
9730 * javax/swing/JEditorPane.java
9731 (getPreferredSize): Rewritten to behave like the reference impl.
9732 (getScrollableTracksViewportWidth): Likewise.
9733 (getScrollableTracksViewportHeight): Likewise.
9735 2006-02-22 Roman Kennke <kennke@aicas.com>
9737 * javax/swing/RepaintManager.java
9738 (addInvalidComponent): Also consider the component itself.
9740 2006-02-22 Mark Wielaard <mark@klomp.org>
9742 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
9743 qualify AbstractDocument.AttributeContext.
9744 (blockOpen): Likewise.
9746 2006-02-21 Mark Wielaard <mark@klomp.org>
9748 * java/awt/Component.java (translateEvent): Translate
9749 AdjustmentEvents to 1.0 Events.
9750 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
9751 Call setValue() before processing event.
9752 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
9753 whether we are currently changing and being called back from the
9754 Scrollbar component.
9755 (setBarValues): New native method.
9756 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
9757 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
9758 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
9759 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
9760 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
9762 2006-02-21 Roman Kennke <kennke@aicas.com>
9764 * javax/swing/text/View.java
9765 (setParent): Set child parent to null when disconnecting
9766 the view from the View hierarchy.
9768 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
9770 * javax/print/StreamPrintService.java: Added and enhanced documentation.
9772 2006-02-21 Roman Kennke <kennke@aicas.com>
9774 * javax/swing/text/WrappedPlainView.java
9775 (calculateBreakPosition): Changed to use the view's allocation instead
9776 of the container's preferredSize.
9778 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
9780 * java/awt/CardLayout.java:
9781 (first): Updated api documentation.
9784 (previous): Likewise.
9785 (show): Clarified api docs. Return if name is null. Throw
9786 IllegalArgumentException if layout of container is not this.
9787 (gotoComponent): Updated api documentation. Throw
9788 IllegalArgumentException if layout of container is not this.
9790 2006-02-21 Roman Kennke <kennke@aicas.com>
9792 * javax/swing/text/NavigationFilter.java
9793 (getNextVisualPositionFrom): New method.
9795 2006-02-21 Roman Kennke <kennke@aicas.com>
9797 * javax/swing/plaf/basic/BasicTextUI.java
9798 (RootView.setView): Call setParent() on the view with this as
9799 argument instead of null.
9800 (setView): Don't set root view's parent here.
9802 2006-02-21 Roman Kennke <kennke@aicas.com>
9804 * javax/swing/text/AbstractDocument.java
9805 (AbstractElement.getAttribute): Use getResolveParent() to fetch
9806 the resolving parent.
9807 (AbstractElement.getResolveParent): Fixed to handle possible null
9809 * javax/swing/text/BoxView.java
9810 (childReqs): New field.
9811 (paint): Added debugging code (commented out).
9812 (getPreferredSpan): Rewritten to use new update* methods.
9813 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
9814 for the minor axis and preferredSpan for the major axis.
9815 (getMinimumSpan): Rewritten to use new update* methods.
9816 (baselineRequirements): Rewritten to avoid creation of
9817 unnecessary SizeRequirements objects.
9818 (baselineLayout): Rewritten to use new update* methods.
9819 (calculateMajorAxisRequirements): Rewritten to avoid creation of
9820 unnecessary SizeRequirements objects.
9821 (calculateMinorAxisRequirements): Rewritten to avoid creation of
9822 unnecessary SizeRequirements objects.
9823 (layout): Some robustness fixes for the layout. Turned AssertionErrors
9825 (layoutMajorAxis): Rewritten to use new update* methods.
9826 (layoutMinorAxis): Rewritten to use new update* methods.
9827 (getChildRequirements): Replaced by the update* methods.
9828 (getAlignment): Use update* methods.
9829 (updateChildRequirements): New methods. Updates the child requirements
9831 (updateRequirements): New methods. Updates the BoxView requirements
9833 * javax/swing/text/DefaultStyledDocument.java
9834 (ElementBuffer.insert): Added warning for illegal replacement operation.
9835 * javax/swing/text/FlowView.java
9836 (layoutRow): When offset doesn't change, return -1.
9837 (LogicalView): Now subclasses BoxView.
9838 (loadChildren): Let the CompositeView.setParent() load the children
9840 (calculateMinorRequirements): New overridden method.
9841 * javax/swing/text/GlyphView.java
9842 (DefaultGlyphPainter.paint): Fixed typo.
9843 (startOffset): Made field private.
9844 (endOffset): Made field private.
9845 (paint): Call getStartOffset() and getEndOffset() instead of the
9847 (isStrikeThrough): Fixed typo.
9848 (breakView): Use Utilities.getBreakLocation() to determine best
9850 (changedUpdate): Call preferencedChange on this instead of parent.
9851 (removeUpdate): Call preferencedChange on this instead of parent.
9852 * javax/swing/text/ParagraphView.java
9853 (Row.getAlignment): For Y_AXIS, call super.
9854 (getAlignment): Likewise.
9855 * javax/swing/text/Utilities.java
9856 (getBreakLocation): Set Segment object directly on the BreakIterator.
9857 * javax/swing/text/html/HTML.java
9858 (Attribute): Made class non-serializable and final as specified.
9859 (Attribute(String)): Made constructor private.
9860 (Attribute.compareTo): Removed.
9861 (Attribute.equals): Removed.
9862 (Attribute.hashCode): Removed.
9863 (Tag): Made class non-comparable and non-serializable as specified.
9864 (Tag.compareTo): Removed.
9865 (Tag.equals): Removed.
9866 (Tag.hashCode): Removed.
9867 * javax/swing/text/html/HTMLDocument.java
9868 (HTMLReader.blockOpen): Add tag as name attribute to element.
9869 * javax/swing/text/html/HTMLEditorKit.java
9870 (HTMLFactory.create): Create NullView for <head> tags, removed unused
9872 * javax/swing/text/html/InlineView.java
9873 (setPropertiesFromAttributes): Call super.
9874 * javax/swing/text/html/NullView.java: New class.
9876 2006-02-21 Roman Kennke <kennke@aicas.com>
9879 * javax/swing/text/GapContent.java
9880 (GapContentPosition): Made class private.
9881 (InsertUndo): Made class private.
9882 (UndoRemove): Made class private.
9883 (WeakPositionComparator): New inner class.
9884 (positions): Made field private.
9885 (createPosition): Clear up GC'ed positions before creating
9886 a new one. Store position as WeakReference.
9887 (getPositionsInRange): Changed to handle WeakReference
9889 (setPositionsInRange): Changed to handle WeakReference
9891 (adjustPositionsInRange): Changed to handle WeakReference
9893 (dumpPositions): Handle WeakReference positions.
9894 (clearPositionReferences): New method.
9896 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
9898 * javax/swing/plaf/basic/BasicTextUI.java:
9899 (paint): Remove unneccessary part of the if-expression.
9900 (damageRange): Added case where the range spans multiple lines.
9901 * javax/swing/text/DefaultCaret.java:
9902 (clearHighlight): New method.
9903 (handleHighlight): Removed unneccessary part of the if-expression.
9904 (setDot): Use clearHighlight method.
9905 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
9907 (paint): Prevented calling size() on every loop iteration, fixed
9908 calculation of allocation area bounds.
9909 (getHighlights): Implemented.
9910 (removeHighlight): Mark damaged area in textcomponent.
9911 (addHighlight): Mark damaged area in textcomponent.
9912 (changeHighlight): Mark damaged area in textcomponent.
9913 (DefaultHighlighter.HighlightEntry): Made it a real
9914 Highlighter.Highlight implementation.
9915 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
9918 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
9920 * java/util/zip/ZipConstants.java
9921 (LOCSIG): Change type to long.
9925 * java/util/zip/ZipOutputStream.java
9926 (writeLeInt(long)): New method.
9928 2006-02-21 Michael Koch <konqueror@gmx.de>
9930 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
9932 2006-02-20 Mark Wielaard <mark@klomp.org>
9934 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9935 (begin_drawing_operation): Output stacktrace and return on bad cairo
9937 (end_drawing_operation): Likewise. And reset cairo_t.
9939 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
9941 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
9942 in backward selection action.
9944 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
9946 * java/lang/reflect/Proxy.java:
9947 (ProxyData.getProxyData): Skipped overriding of core methods.
9948 (ProxyData.isCoreObjectMethod): New method.
9950 2006-02-20 Mark Wielaard <mark@klomp.org>
9952 * gnu/java/nio/charset/Provider.java (Provider): Package private.
9954 2006-02-20 Roman Kennke <kennke@aicas.com>
9956 * javax/swing/text/html/Option.java: New class.
9958 2006-02-20 Lillian Angel <langel@redhat.com>
9960 * java/swt/Window.java
9961 (show): Calling show() on the owned windows caused problems.
9962 Changed back to get the peer and call setVisible.
9964 2006-02-20 Roman Kennke <kennke@aicas.com>
9966 * javax/swing/plaf/basic/BasicTextUI.java
9967 (damageRange): Implemented this method.
9969 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
9971 * javax/swing/text/GapContent.java:
9972 (shiftGapEndUp): Corrected new mark value.
9973 * javax/swing/text/AbstractDocument.java:
9974 (remove): Changed order of operations.
9976 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
9978 * javax/swing/text/GapContent.java:
9979 (shiftGapEndUp): Reverted.
9980 * javax/swing/text/AbstractDocument.java:
9983 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
9985 * javax/swing/text/GapContent.java:
9986 (shiftGapEndUp): Corrected new mark value.
9987 * javax/swing/text/AbstractDocument.java:
9988 (remove): Changed order of operations.
9990 2006-02-20 Mark Wielaard <mark@klomp.org>
9992 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
9995 (addNotify): Add the item after addNotifying it.
9996 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
9997 there is a peer. Use getParent() and setParent() to manipulate parent
9999 (add(Menu)): Use getParent() and setParent() to manipulate parent
10000 field. Call addNotify() and addMenu() when there is a peer.
10001 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
10002 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
10003 when there is a peer.
10004 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
10005 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
10006 (setFont): Call setFont(Font).
10007 (setFont(Font)): Document. Only set font when not null.
10008 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
10010 (connectSignals): Likewise.
10011 (GtkMenuItemPeer): Document. Don't try to add item. Always call
10013 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
10015 (postMenuActionEvent): Document.
10016 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
10018 (addItem): Document. Made private.
10019 (addTearOff): Made private.
10020 (connectSignals): New protected overridden method.
10021 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
10022 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
10023 (create): Document.
10024 (addMenu): Made private, take GtkMenuPeer as argument and document.
10025 (GtkMenuBarPeer): Document.
10026 (nativeSetHelpMenu): Removed.
10027 (addHelpMenu): Implement.
10028 (delMenu): Document.
10029 (addMenu): Implement.
10030 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
10031 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
10032 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
10033 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
10036 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10038 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
10039 Expect that proxy interfaces may have different class loaders.
10040 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
10041 * java/rmi/registry/Registry.java,
10042 * java/rmi/server/UnicastRemoteObject.java:
10043 Documented about proxy stubs.
10044 * gnu/java/rmi/server/CombinedClassLoader.java,
10045 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
10046 * NEWS: Added entry.
10048 2006-02-19 Mark Wielaard <mark@klomp.org>
10050 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
10051 Parent and Bounds of our children if either or parent is showing, or
10052 we are a Window and are showing ourselves now.
10054 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10056 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
10058 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
10059 Another stub name fix.
10061 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10063 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
10064 Call convertStubName. (convertStubName): New method.
10065 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
10066 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
10067 (convertStubName): New method.
10068 (getMethodHashCode):
10069 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
10070 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
10072 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10074 * java/rmi/server/UnicastRemoteObject.java: Documenting.
10076 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10078 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
10080 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10082 * javax/swing/JViewport.java (paintBackingStore): If the component has
10083 not been scrolled, only repaint the buffer part, indicated by
10084 the parameter graphics clip.
10086 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
10088 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
10090 (writePrivateKey): Likewise.
10091 (writeKey): New method.
10092 (getKeyType): Likewise.
10093 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
10095 (readPrivateKey): Likewise.
10096 (getKeyPairCodec): New method.
10097 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
10098 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
10099 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
10100 (RSA_PSS_ENCODING): Likewise..
10101 (RSA_PKCS1_V1_5_ENCODING): Likewise.
10102 (RSA_PSS_SIG): Redefined using other constants.
10103 (RSA_PKCS1_V1_5_SIG): Likewise.
10104 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
10105 * gnu/java/security/util/FormatUtil.java: New file.
10106 * gnu/java/security/sig/SignatureFactory.java (names): New field.
10107 (getInstance): Let RSASignatureFactory handle RSA signature names.
10108 (getNames): Handle new RSA signature (with format) names.
10109 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
10110 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
10112 (name): Include hash algorithm name.
10113 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
10114 * gnu/java/security/sig/rsa/RSAPSSSignature.java
10115 (RSAPSSSignature): Call constructor with IMessageDigest.
10116 (RSAPSSSignature(ImessageDigest,int)): New constructor.
10117 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
10119 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
10121 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
10122 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
10123 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
10124 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
10125 hash algorithm name to exception.
10126 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
10127 * gnu/java/security/key/KeyPairCodecFactory.java
10128 (names): New class field.
10129 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
10130 (getInstance(String,String)): New method.
10131 (getInstance(String,int)): New method.
10132 (getInstance(byte[])): Removed.
10133 (getInstance(Key)): Handle new formats.
10134 (getNames): Likewise.
10135 (getEncodingName(int)): Moved to FormatUtil.
10136 (getEncodingShortName(int)): Likewise.
10137 (getRawCodec(String)): New method.
10138 (getX509Codec(String)): Likewise.
10139 (getPKCS8Codec(String)): Likewise.
10140 (getRawCodec(Key)): Likewise.
10141 (getX509Codec(Key)): Likewise.
10142 (getPKCS8Codec(Key)): Likewise.
10143 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
10144 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
10145 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
10146 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
10147 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
10148 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
10149 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
10150 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
10151 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
10153 2006-02-18 Mark Wielaard <mark@klomp.org>
10155 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
10157 (NoDragGestureRecognizer): New static class.
10158 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
10159 Toolkit doesn't support drag and drop.
10161 2006-02-18 Mark Wielaard <mark@klomp.org>
10163 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
10164 (AbstractAction(String)): Just call putValue() for NAME.
10165 (putValue): Nothing to do is old and new value are both null.
10167 2006-02-18 Mark Wielaard <mark@klomp.org>
10169 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
10170 through getContentPane().
10171 (preferredLayoutSize): Likewise.
10173 2006-02-18 Mark Wielaard <mark@klomp.org>
10175 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
10176 actually set before painting.
10178 2006-02-18 Mark Wielaard <mark@klomp.org>
10180 * javax/swing/text/html/HTMLDocument.java (addContent):
10181 Fully qualify AbstractDocument.AttributeContext and
10182 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
10184 2006-02-18 Mark Wielaard <mark@klomp.org>
10186 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
10187 (getRepresentationClassFromMime): Add exception cause to
10188 IllegalArgumentException.
10190 2006-02-17 Lillian Angel <langel@redhat.com>
10192 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
10193 Removed unneeded import.
10194 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
10195 Removed unneeded imports.
10196 * java/awt/BorderLayout.java:
10197 Fixed comment, this is not yet handled in the JDK 1.5.
10198 * java/awt/Container.java:
10199 Removed unneeded import.
10201 2006-02-17 Lillian Angel <langel@redhat.com>
10203 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10204 (setBounds): Removed check. Coordinates should always be changed
10205 to incorporate the parent's coordinates.
10206 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10207 (setMenuBar): Added checks. Don't validate component if it has
10208 not been validated yet, it will be validated later. Only validate
10209 if it has already been validated, in that case it needs to be
10211 * java/awt/Window.java
10212 (show): Added check. If the window is visible, then bring it to the
10213 front. Otherwise, iterate through all its children windows and show them.
10214 No need to do both.
10216 2006-02-17 Roman Kennke <kennke@aicas.com>
10218 * javax/swing/text/html/ParagraphView.java: New file.
10220 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10222 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
10223 is included. (moveToCellBeingEdited): Adjusted to start editing at the
10224 same location where was the initial text.
10225 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
10227 2006-02-17 Chris Burdess <dog@gnu.org>
10229 Fixes PRs 26319, 26320, 26321, 26322, 26325
10230 * gnu/xml/stream/SAXParser.java: On error, reset parser before
10231 rethrowing exception.
10232 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
10233 1.1-style prefix unbinding in 1.0 document" error for xmlns
10234 prefixes, not xmlns attributes. Fix a problem with empty namespace
10235 stack at the end of a document. Permit parameter entity references
10236 in element and attribute-list definition name area. Corrected
10237 normalisation of whitespace character entity references in CDATA
10238 attribute values. Fixed number of characters read following a
10239 reset when detecting end of character data with characters after a
10240 Unicode surrogate pair.
10242 2006-02-17 Roman Kennke <kennke@aicas.com>
10244 * javax/swing/text/html/HTMLEditorKit.java
10245 (HTMLFactory.create): Create InlineView for content tags.
10246 * javax/swing/text/html/HTMLDocument.java
10247 (HTMLReader.flush): Call create() on first flush and insert
10248 on subsequent flushes.
10250 2006-02-17 Roman Kennke <kennke@aicas.com>
10252 * javax/swing/text/AbstractDocument.java
10253 (BranchElement.getStartOffset): Implemented workaround for wrong
10255 (BranchElement.getEndOffset): Implemented workaround for wrong
10257 (ElementBuffer.split): Use createBranchElement() instead of
10258 new BranchElement().
10259 (ElementBuffer.insertFracture): Use createBranchElement() instead of
10260 new BranchElement().
10261 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
10262 instead of new BranchElement().
10263 (createDefaultRoot): Use createBranchElement() and createLeafElement
10264 instead of the constructors.
10265 (create): Rewritten.
10267 2006-02-17 Keith Seitz <keiths@redhat.com>
10269 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
10270 (SIZE): New constant.
10271 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
10272 (executeIDsizes): Use SIZE constant.
10273 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
10274 (SIZE): New constant.
10276 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10278 * javax/swing/JTable.java (IconCellRenderer): Set the component
10279 text to empty string. (createDefaultRenderers): Register
10280 IconCellRenderer also for ImageIcon.
10281 (getCellEditor(int, int), getCellRenderer(int, int)):
10282 Use model index for data model and column index for column model.
10283 (getColumnClass): Convert to model index before requesting class
10286 2006-02-17 Roman Kennke <kennke@aicas.com>
10288 * javax/swing/text/html/HTMLDocument.java
10289 (createDefaultRoot): Implemented.
10290 (createLeafElement): Implemented.
10291 (createBranchElement): Implemented.
10292 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
10293 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
10294 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
10295 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
10296 (HTMLReader.blockOpen): Add name attribute with the current tag.
10297 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
10299 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10301 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
10303 * javax/swing/table/JTableHeader.java: Documenting related methods.
10305 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
10308 * gnu/java/net/protocol/ftp/FTPURLConnection.java
10309 (connect): Changed to use SystemProperties.
10310 (getInputStream): Try changeWorkingDirectory to figure out if
10311 url is a directory, if not use retrieve.
10312 (getOutputStream): Don't worry about directories, simply always
10315 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
10317 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
10318 (ActiveModeDTP): Mark accept thread as daemon.
10320 2006-02-17 Michael Koch <konqueror@gmx.de>
10322 * tools/.cvsignore: Ignore tools.zip.
10324 2006-02-16 Keith Seitz <keiths@redhat.com>
10326 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
10327 Set the ID's reference.
10328 (<clinit>): Remove comments for field, method, and frame ID types,
10329 which will not be handled by VMIdManager.
10331 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10333 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
10334 Use model index, not the column number.
10335 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
10336 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
10337 movement by painting draggingHeaderRect.
10338 * NEWS: Added entry about JTable columns.
10340 2006-02-16 Keith Seitz <keiths@redhat.com>
10342 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
10343 default size of eight bytes.
10344 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
10345 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
10346 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
10347 (executeIDsizes): Use new static methods.
10348 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
10351 2006-02-16 David Daney <ddaney@avtrex.com>
10354 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
10355 return value with 0xff.
10357 2006-02-16 Keith Seitz <keiths@redhat.com>
10359 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
10360 (matches): Use Iterator instead of ListIterator.
10362 2006-02-16 Keith Seitz <keiths@redhat.com>
10364 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
10365 processor thread for easier debugging.
10366 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
10369 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10371 * javax/swing/JTable.java
10372 (TableColumnPropertyChangeHandler.propertyChange): Return without
10373 action if table header resizing column in not null. (doLayout):
10374 Only repaint the header if it is not null.
10375 * javax/swing/plaf/basic/BasicTableHeaderUI.java
10376 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
10377 Rewritten. (MouseInputHandler.endResizing): New method.
10379 2006-02-16 Roman Kennke <kennke@aicas.com>
10381 * javax/swing/text/html/InlineView.java: New file.
10383 2006-02-16 Roman Kennke <kennke@aicas.com>
10385 * javax/swing/JTabbedPane.java
10386 (AccessibleJTable.getAccessibleChild): Implemented to return
10387 the Page instance for the specified index.
10388 (Page): Changed to implement Accessible and extend
10390 (Page.getAccessibleContext): New method.
10391 (Page.getAccessibleRole): New method.
10392 (Page.getAccessibleStateSet): New method.
10393 (Page.getAccessibleIndexInParent): New method.
10394 (Page.getAccessibleChildrenCount): New method.
10395 (Page.getAccessibleChild): New methdod.
10396 (Page.getLocale): New method.
10398 2006-02-16 Roman Kennke <kennke@aicas.com>
10400 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
10401 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
10402 tabCount gets greater than tabRuns.length.
10403 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
10404 when tabCount gets greater than tabRuns.length.
10405 (paintTabArea): Don't set tabCount == runCount.
10407 2006-02-16 Roman Kennke <kennke@aicas.com>
10409 * javax/swing/plaf/basic/BasicTextUI.java
10410 (installUI): Moved installation of PropertyChangeListener
10411 to installListeners(). Call modelChanged() after everything is
10413 (installListeners): Install PropertyChangeListener here.
10414 (uninstallUI): Moved uninstallation of PropertyChangeListener
10415 to uninstallListeners.
10416 (uninstallListeners): Uninstall PropertyChangeListener here.
10418 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10420 * javax/swing/JTable.java (doLayout):
10421 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
10423 javax/swing/plaf/basic/BasicTableHeaderUI.java
10424 (MouseInputHandler.mouseDragged): Do not repaint the header.
10426 2006-02-16 Roman Kennke <kennke@aicas.com>
10428 * javax/swing/JViewport.java
10429 (static_initializer): Set default scrollMode to backingstore.
10431 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10433 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
10434 returned by getCellRect. To not translate the component.
10436 2006-02-16 Roman Kennke <kennke@aicas.com>
10438 * javax/swing/JComponent.java
10439 (rectCache): Made field non-static to avoid nasty interferences.
10440 (computeVisibleRect): Avoid creation of new Rectangles and double
10441 calculations on ints by using Swing.computeIntersection() instead
10442 of Rectangle2D.intersect().
10443 (repaint): Interect the dirty region with the visible rectangle
10444 of this component to avoid unnecessary painting.
10446 2006-02-16 Gary Benson <gbenson@redhat.com>
10448 * java/lang/Thread.java (stop): Add a missing access check.
10450 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
10452 * javax/swing/text/JTextComponent.java:
10453 (replaceSelection): Added code to update the magic caret position.
10454 * javax/swing/text/DefaultEditorKit.java: Added code to update
10455 the magic caret position of the text component in all relevant
10456 movement actions, make use of the magic caret position in up
10457 and down movements and selections, simplified some actions
10460 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
10462 * gnu/java/lang/CharData.java: Regenerated from
10463 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
10464 and scripts/unicode-muncher.pl.
10465 * java/lang/Character.java:
10466 (PrivateUseCharacters): New private static class.
10467 (UnassignedCharacters): Likewise.
10468 (blocks): Changed from char[] to char[][] to reflect the changes in
10469 gnu/java/lang/CharData. There is now one char[] per Unicode code
10472 (numValue): Likewise.
10475 (direction): Likewise.
10476 (readChar): Replaced this method with new method readCodePoint.
10477 (readCodePoint): New method.
10478 (isLowerCase(char)): Redirected to new isLowerCase(int).
10479 (isLowerCase(int)): New method.
10480 (isUpperCase(char)): Redirected to new isUpperCase(int).
10481 (isUpperCase(int)): New method.
10482 (isTitleCase(char)): Redirected to new isTitleCase(int).
10483 (isTitleCase(int)): New method.
10484 (isDigit(char)): Redirected to new isDigit(int).
10485 (isDigit(int)): New method.
10486 (isDefined(char)): Redirected to new isDefined(int).
10487 (isDefined(int)): New method.
10488 (isLetter(char)): Redirected to new isLetter(int).
10489 (isLetter(int)): New method.
10490 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
10491 (isLetterOrDigit(int)): New method.
10492 (isJavaIdentifierStart(char)): Redirected to new
10493 isJavaIdentifierStart(int).
10494 (isJavaIdentifierStart(int)): New method.
10495 (isJavaIdentifierPart(char)): Redirected to new
10496 isJavaIdentifierPart(int).
10497 (isJavaIdentifierPart(int)): New method.
10498 (isUnicodeIdentifierStart(char)): Redirected to new
10499 isUnicodeIdentifierStart(int).
10500 (isUnicodeIdentifierStart(int)): New method.
10501 (isUnicodeIdentifierPart(char)): Redirected to new
10502 isUnicodeIdentifierPart(int).
10503 (isUnicodeIdentifierPart(int)): New method.
10504 (isIdentifierIgnorable(char)): Redirected to new
10505 isIdentifierIgnorable(int).
10506 (isIdentifierIgnorable(int)): New method.
10507 (toLowerCase(char)): Changed access to lower to correspond with new
10508 char[][] type of lower.
10509 (toLowerCase(int)) New method.
10510 (toUpperCase(char)): Changed access to upper to correspond with new
10511 char[][] type of upper.
10512 (toUpperCase(int)): New method.
10513 (toTitleCase(int)): New method.
10514 (digit(char, int)): Replaced call to readChar with call to
10515 readCodePoint and changed access to numValue to reflect new char[][]
10517 (digit(int, int)): New method.
10518 (getNumericValue(char)): Changed access to numValue to reflect new
10519 char[][] type of numValue.
10520 (getNumericValue(int)): New method.
10521 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
10522 (isSpaceChar(int)): New method.
10523 (isWhitespace(char)): Redirected to new isWhitespace(int).
10524 (isWhitespace(int)): New method.
10525 (isISOControl(char)): Redirected to new isISOControl(int).
10526 (isISOControl(int)): New method.
10527 (getType(char)): Redirected to new getType(int).
10528 (getType(int)): New method.
10529 (getDirectionality(char)): Redirected to new getDirectionality(int).
10530 (getDirectionality(int)): New method.
10531 (isMirrored(char)): Changed call to readChar to readCodePoint.
10532 (isMirrored(int)): New method.
10533 * java/lang/String.java:
10534 (upperCaseExpansion): Changed access to Character.direction to reflect
10535 new char[][] type of direction.
10536 (offsetByCodePoints): New method.
10537 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
10538 4.0.0 which introduced supplementary character assignments.
10540 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10542 * javax/swing/JTable.java,
10543 javax/swing/plaf/basic/BasicTableHeaderUI.java,
10544 javax/swing/table/DefaultTableModel.java: Documented.
10546 2006-02-15 Lillian Angel <langel@redhat.com>
10548 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10549 Removed duplicate methods.
10551 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10553 * javax/swing/JTable.java (distributeSpillResizing): New method.
10554 (doLayout): Use distributeSpillResizing when resizing.
10555 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
10556 Rewritten. (installListeners): Add mouse motion listener.
10557 (uninstallListeners): Remove mouse motion listener.
10559 2006-02-15 Lillian Angel <langel@redhat.com>
10561 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
10562 (setVisible): Removed method.
10563 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10564 (setLocation): New method.
10565 (setLocationUnlocked): New method.
10566 (show): Changed to use setLocation instead of setBounds.
10567 * java/awt/Component.java
10568 (show): Should call peer.show(), not peer.setVisible(), so the
10569 location of the component is correctly set.
10570 (preferredSize): Added curly braces so else statements are
10571 properly associated with if's.
10572 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10573 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
10575 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
10576 LocationUnlocked): New function.
10577 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10578 Added declarations for Java_gnu_java_awt_peer_gtk_
10579 GtkWindowPeer_nativeSetLocation and
10580 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
10581 _nativeSetLocationUnlocked.
10583 2006-02-15 Mark Wielaard <mark@klomp.org>
10585 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
10586 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
10587 Downcast gtk_plug_new result when used.
10589 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
10591 * java/io/ObjectOutputStream.java (writeClassDescriptor):
10592 Call assignNewHandle() after writing Proxy class.
10594 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
10597 * java/io/ObjectInputStream.java (readClassDescriptor):
10598 Class doesn't have to be abstract for first_nonserial.
10600 2006-02-15 Roman Kennke <kennke@aicas.com>
10602 * javax/swing/JInternalFrame.java
10603 (setClosed): Call dispose to actually make the frame invisible
10606 2006-02-15 Roman Kennke <kennke@aicas.com>
10608 * javax/swing/JInternalFrame.java
10609 (dispose): Call setVisible(false) instead of hide.
10610 (doDefaultCloseOperation): Likewise.
10612 2006-02-15 Roman Kennke <kennke@aicas.com>
10614 * javax/swing/JComponent.java
10615 (paintChildren): Also check for the visibility of a child component
10616 to avoid artifacts.
10617 (repaint): Simply add this component to the RepaintManager rather than
10618 trying to do useless optimization here.
10620 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
10622 * javax/swing/JSpinner.java
10623 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
10624 PropertyChangeListener,
10625 (DefaultEditor.getSpinner): Updated API docs,
10626 (DefaultEditor.dismiss): Likewise,
10627 (DefaultEditor.getTextField): Likewise,
10628 (DefaultEditor.layoutContainer): Likewise,
10629 (DefaultEditor.minimumLayoutSize): Likewise,
10630 (DefaultEditor.preferredLayoutSize): Likewise,
10631 (DefaultEditor.propertyChange): Implemented,
10632 (DefaultEditor.stateChanged): Implemented,
10633 (DefaultEditor.removeLayoutComponent): Updated API docs,
10634 (DefaultEditor.addLayoutComponent): Likewise,
10635 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
10636 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
10637 (NumberEditor.getFormat): Implemented,
10638 (NumberEditor.getModel): Updated API docs,
10639 (NumberEditorFormatter): New static inner class,
10640 (ListEditor.getModel): Updated API docs,
10641 (DateEditor.dateFormat): Removed,
10642 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
10643 (DateEditor.DateEditor(JSpinner, String)): Likewise,
10644 (DateEditor.init): Removed,
10645 (DateEditor.getFormat): Reimplemented,
10646 (DateEditorFormatter): New static inner class,
10647 (ModelListener): New inner class,
10648 (model): Updated API docs,
10649 (editor): Likewise,
10650 (listener): Removed,
10651 (JSpinner()): Updated API docs,
10652 (JSpinner(SpinnerModel)): Set up ModelListener,
10653 (setEditor): Fire property change,
10654 (getModel): Updated API docs,
10655 (setModel): Removed check for null editor,
10656 (setValue): Updated API docs,
10657 (getUIClassID): Updated API docs,
10658 (createEditor): Handle SpinnerListModel case,
10659 * javax/swing/plaf/basic/BasicSpinnerUI.java
10660 (createUI): Updated API docs,
10661 (createPropertyChangeListener): Added FIXME,
10662 (installDefaults): Set text field border to null,
10663 (DefaultLayoutManager): Updated API docs,
10664 (DefaultLayoutManager.layoutContainer): Modified layout,
10665 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
10666 (DefaultLayoutManager.preferredLayoutSize): Likewise,
10667 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
10668 (DefaultLayoutManager.addLayoutComponent): Likewise,
10669 (DefaultLayoutManager.minSize): Renamed prefSize,
10670 (DefaultLayoutManager.setBounds): Reformatted,
10671 (DefaultLayoutManager.editor): Added API docs,
10672 (DefaultLayoutManager.next): Likewise,
10673 (DefaultLayoutManager.previous): Likewise,
10674 * javax/swing/plaf/metal/MetalLookAndFeel.java
10675 (initComponentDefaults): Added entry for 'Spinner.border',
10676 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
10678 2006-02-15 Chris Burdess <dog@gnu.org>
10680 * gnu/xml/validation/datatype/BooleanType.java,
10681 gnu/xml/validation/datatype/ByteType.java,
10682 gnu/xml/validation/datatype/DateTimeType.java,
10683 gnu/xml/validation/datatype/DateType.java,
10684 gnu/xml/validation/datatype/DecimalType.java,
10685 gnu/xml/validation/datatype/DoubleType.java,
10686 gnu/xml/validation/datatype/DurationType.java,
10687 gnu/xml/validation/datatype/FloatType.java,
10688 gnu/xml/validation/datatype/GDayType.java,
10689 gnu/xml/validation/datatype/GMonthDayType.java,
10690 gnu/xml/validation/datatype/GMonthType.java,
10691 gnu/xml/validation/datatype/GYearMonthType.java,
10692 gnu/xml/validation/datatype/GYearType.java,
10693 gnu/xml/validation/datatype/IntType.java,
10694 gnu/xml/validation/datatype/IntegerType.java,
10695 gnu/xml/validation/datatype/LongType.java,
10696 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
10697 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
10698 gnu/xml/validation/datatype/MinExclusiveFacet.java,
10699 gnu/xml/validation/datatype/MinInclusiveFacet.java,
10700 gnu/xml/validation/datatype/NegativeIntegerType.java,
10701 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
10702 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
10703 gnu/xml/validation/datatype/PositiveIntegerType.java,
10704 gnu/xml/validation/datatype/ShortType.java,
10705 gnu/xml/validation/datatype/SimpleType.java,
10706 gnu/xml/validation/datatype/TimeType.java,
10707 gnu/xml/validation/datatype/TypeBuilder.java,
10708 gnu/xml/validation/datatype/UnsignedByteType.java,
10709 gnu/xml/validation/datatype/UnsignedIntType.java,
10710 gnu/xml/validation/datatype/UnsignedLongType.java,
10711 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
10712 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
10713 minInclusive facets use the value space of the base type, and
10716 2006-02-15 Mark Wielaard <mark@klomp.org>
10718 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
10719 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
10720 gtk_plug_new() returns a GtkWindow.
10722 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
10724 * javax/swing/SpinnerNumberModel.java
10725 (getNextValue): Check for null maximum,
10726 (getPreviousValue): Check for null minimum.
10728 2006-02-15 Roman Kennke <kennke@aicas.com>
10730 * javax/swing/plaf/basic/BasicTableUI.java
10731 (paint): Paint vertical and horizontal lines one pixel shifted
10734 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
10736 * java/util/zip/ZipFile.java
10737 (checkZipFile): Inlined readLeInt and rewritten for robustness.
10738 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
10739 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
10740 (readEntries): Rewritten to use PartialInputStream.
10741 (locBuf, checkLocalHeader): Removed.
10742 (getInputStream): Rewritten to use new PartialInputStream.
10743 (PartialInputStream): Rewritten to do buffering.
10745 2006-02-15 Michael Koch <konqueror@gmx.de>
10747 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
10748 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
10749 Make sure the embedded window gets no decorations.
10750 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10751 (window_get_frame_extents): Return early of the window has no
10754 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10756 * examples/gnu/classpath/examples/swing/TableDemo.java
10757 (TModel, createContent): Explain which value appears in the header.
10758 * javax/swing/JTable.java (setColumnModel): Only set the
10759 column header value if the getHeaderValue() returns null.
10761 2006-02-14 Mark Wielaard <mark@klomp.org>
10764 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
10765 (getErrorImage): New static method.
10766 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
10767 (bufferedImageOrError): Renamed to ...
10768 (imageOrError): Renamed from bufferedImageOrError, takes Image.
10769 Returns GtkImage.getErrorImage() when argument null.
10770 (createImage(String)): Always use imageOrError.
10771 (createImage(URL)): Likewise.
10772 (createImage(ImageProducer)): Likewise.
10773 (createImage(byte[],int,int)): Likewise.
10775 2006-02-14 Roman Kennke <kennke@aicas.com>
10777 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
10779 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
10780 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10781 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
10782 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
10783 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
10785 2006-02-14 Roman Kennke <kennke@aicas.com>
10787 * javax/swing/text/AsyncBoxView.java
10788 (ChildState.locator): Removed wrong field.
10789 (ChildState): Removed initialization of removed field.
10790 (locator): Changed access modifier to be protected as specified.
10792 2006-02-14 Roman Kennke <kennke@aicas.com>
10794 * javax/swing/ToolTipManager.java: Removed unneeded imports.
10795 * javax/swing/Timer.java: Some small reindention.
10796 (task): Made package private to avoid synthetic accessor method.
10798 2006-02-14 Roman Kennke <kennke@aicas.com>
10800 * javax/swing/SwingUtilities.java
10801 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
10804 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10806 * examples/gnu/classpath/examples/swing/TableDemo.java:
10807 Making the columns variable width.
10808 * javax/swing/JTable.java (distributeSpill, doLayout):
10809 Call getPreferredSize and not getSize().
10811 2006-02-14 Roman Kennke <kennke@aicas.com>
10813 * javax/swing/DefaultCellEditor.java
10814 (DefaultCellEditor): API doc fixlet.
10816 2006-02-14 Roman Kennke <kennke@aicas.com>
10818 * javax/swing/JViewport.java
10819 (isPaintRoot): New field.
10820 (repaint): Only call super here. Also added a comment regarding
10821 the diversion from the JDK.
10822 (paintBlit): Implemented real blitting.
10823 (paintImmediately2): New method. Overrides the same package private
10824 method in JComponent.
10826 2006-02-14 Roman Kennke <kennke@aicas.com>
10828 * javax/swing/plaf/basic/BasicTableUI.java
10829 (paint): Check for boundary cases when determining the painting
10832 2006-02-14 Mark Wielaard <mark@klomp.org>
10834 * java/awt/Menu.java (add): Always set parent of item to this. Call
10835 addNotify() on item when we have a MenuPeer already.
10836 (insert): Always adjust parent for item. Call addNotify() on item if
10837 we already have a peer.
10838 (remove(int)): Always clear item parent. Call removeNotify() on item
10841 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10843 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
10844 row == getRowCount().
10846 2006-02-14 Lillian Angel <langel@redhat.com>
10848 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
10849 (setVisible): New method to override super. Need to set the
10850 native bounds of the component, so it appears at the
10853 2006-02-14 Mark Wielaard <mark@klomp.org>
10855 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
10856 (remove): If menu component is the current MenuBar remove it,
10857 otherwise call super.remove().
10858 * java/awt/MenuBar.java (frame): Remove field.
10859 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
10861 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10863 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
10864 to NameServicePersistent.
10865 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
10866 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
10868 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10870 * NEWS: Updated tool status.
10871 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
10872 (constructor, bind, rebind): Rewritten.
10873 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
10874 * tools/gnu/classpath/tools/giop/README: Updated.
10875 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
10876 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
10877 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
10878 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
10879 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
10882 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
10884 * javax/swing/JComponent.java
10885 (getListeners): Check for PropertyChangeListener.class and delegate to
10886 getPropertyChangeListeners() for that case.
10888 2006-02-13 Roman Kennke <kennke@aicas.com>
10890 * javax/swing/plaf/basic/BasicTableUI.java
10891 (paint): Determine the cells that need painting based on the
10892 current clip. Use getCellRect() for calculating the cell
10895 2006-02-13 Roman Kennke <kennke@aicas.com>
10897 * javax/swing/JTable.java
10898 (rectCache): New field.
10899 (getCellRect): Returns cached Rectangle instance.
10901 2006-02-13 Roman Kennke <kennke@aicas.com>
10903 * javax/swing/JLayeredPane.java
10904 (removeAll): New method. Avoid potential memory leak.
10905 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
10908 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
10910 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
10911 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
10913 2006-02-13 Tom Tromey <tromey@redhat.com>
10915 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
10916 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
10918 2006-02-13 Roman Kennke <kennke@aicas.com>
10920 * javax/swing/RepaintManager.java
10921 (offscreenBuffers): New field.
10922 (doubleBuffer): Removed field.
10923 (repaintUnderway): New field.
10924 (commitRequests): New field.
10925 (RepaintManager): Initialize new fields.
10926 (paintDirtyRegions): Handle repaintUnderway flag. Commit
10928 (getOffscreenBuffer): Returns the offscreen buffer for the
10929 corresponding root component.
10930 (commitBuffer): New method.
10931 (commitRemainingBuffers): New method.
10932 * javax/swing/JComponent.java
10933 (paint): Call paintDoubleBuffered with the current clip.
10934 (paintImmediately2): Don't paint on screen here.
10935 (paintDoubleBuffered): Rewritten for real double buffering.
10936 (paintSimple): Draw to screen in this method.
10938 2006-02-13 Roman Kennke <kennke@aicas.com>
10940 * javax/swing/JRootPane.java
10941 (JRootPane): Set opaque property to true.
10943 2006-02-13 Tom Tromey <tromey@redhat.com>
10945 * .classpath: Updated for external/relaxngDatatype.
10947 2006-02-13 Chris Burdess <dog@gnu.org>
10949 * gnu/xml/stream/UnicodeReader.java,
10950 gnu/xml/validation/datatype/Annotation.java,
10951 gnu/xml/validation/datatype/AnySimpleType.java,
10952 gnu/xml/validation/datatype/AnyType.java,
10953 gnu/xml/validation/datatype/AnyURIType.java,
10954 gnu/xml/validation/datatype/AtomicSimpleType.java,
10955 gnu/xml/validation/datatype/Base64BinaryType.java,
10956 gnu/xml/validation/datatype/BooleanType.java,
10957 gnu/xml/validation/datatype/ByteType.java,
10958 gnu/xml/validation/datatype/DateTimeType.java,
10959 gnu/xml/validation/datatype/DateType.java,
10960 gnu/xml/validation/datatype/DecimalType.java,
10961 gnu/xml/validation/datatype/DoubleType.java,
10962 gnu/xml/validation/datatype/DurationType.java,
10963 gnu/xml/validation/datatype/EntitiesType.java,
10964 gnu/xml/validation/datatype/EntityType.java,
10965 gnu/xml/validation/datatype/EnumerationFacet.java,
10966 gnu/xml/validation/datatype/Facet.java,
10967 gnu/xml/validation/datatype/FloatType.java,
10968 gnu/xml/validation/datatype/FractionDigitsFacet.java,
10969 gnu/xml/validation/datatype/GDayType.java,
10970 gnu/xml/validation/datatype/GMonthDayType.java,
10971 gnu/xml/validation/datatype/GMonthType.java,
10972 gnu/xml/validation/datatype/GYearMonthType.java,
10973 gnu/xml/validation/datatype/GYearType.java,
10974 gnu/xml/validation/datatype/HexBinaryType.java,
10975 gnu/xml/validation/datatype/IDRefType.java,
10976 gnu/xml/validation/datatype/IDRefsType.java,
10977 gnu/xml/validation/datatype/IDType.java,
10978 gnu/xml/validation/datatype/IntType.java,
10979 gnu/xml/validation/datatype/IntegerType.java,
10980 gnu/xml/validation/datatype/LanguageType.java,
10981 gnu/xml/validation/datatype/LengthFacet.java,
10982 gnu/xml/validation/datatype/ListSimpleType.java,
10983 gnu/xml/validation/datatype/LongType.java,
10984 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
10985 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
10986 gnu/xml/validation/datatype/MaxLengthFacet.java,
10987 gnu/xml/validation/datatype/MinExclusiveFacet.java,
10988 gnu/xml/validation/datatype/MinInclusiveFacet.java,
10989 gnu/xml/validation/datatype/MinLengthFacet.java,
10990 gnu/xml/validation/datatype/NCNameType.java,
10991 gnu/xml/validation/datatype/NMTokenType.java,
10992 gnu/xml/validation/datatype/NMTokensType.java,
10993 gnu/xml/validation/datatype/NameType.java,
10994 gnu/xml/validation/datatype/NegativeIntegerType.java,
10995 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
10996 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
10997 gnu/xml/validation/datatype/NormalizedStringType.java,
10998 gnu/xml/validation/datatype/NotationType.java,
10999 gnu/xml/validation/datatype/PatternFacet.java,
11000 gnu/xml/validation/datatype/PositiveIntegerType.java,
11001 gnu/xml/validation/datatype/QNameType.java,
11002 gnu/xml/validation/datatype/ShortType.java,
11003 gnu/xml/validation/datatype/SimpleType.java,
11004 gnu/xml/validation/datatype/StringType.java,
11005 gnu/xml/validation/datatype/TimeType.java,
11006 gnu/xml/validation/datatype/TokenType.java,
11007 gnu/xml/validation/datatype/TotalDigitsFacet.java,
11008 gnu/xml/validation/datatype/Type.java,
11009 gnu/xml/validation/datatype/TypeBuilder.java,
11010 gnu/xml/validation/datatype/TypeLibrary.java,
11011 gnu/xml/validation/datatype/TypeLibraryFactory.java,
11012 gnu/xml/validation/datatype/UnionSimpleType.java,
11013 gnu/xml/validation/datatype/UnsignedByteType.java,
11014 gnu/xml/validation/datatype/UnsignedIntType.java,
11015 gnu/xml/validation/datatype/UnsignedLongType.java,
11016 gnu/xml/validation/datatype/UnsignedShortType.java,
11017 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
11018 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
11019 RELAX NG datatype library implementation for XML Schema Datatypes.
11021 2006-02-13 Chris Burdess <dog@gnu.org>
11027 external/Makefile.am,
11028 external/relaxngDatatype/.cvsignore,
11029 external/relaxngDatatype/Makefile.am,
11030 external/relaxngDatatype/README.txt,
11031 external/relaxngDatatype/copying.txt,
11032 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
11033 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
11034 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
11035 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
11036 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
11037 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
11038 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
11039 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
11040 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
11041 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
11043 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
11044 datatypes library API.
11046 2006-02-13 Mark Wielaard <mark@klomp.org>
11048 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
11050 (gtkWidgetModifyFont(Font)): New protected helper method.
11051 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
11052 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
11053 protected and document.
11054 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
11056 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
11058 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
11060 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
11061 (setFont): Removed method. Done in GtkMenuComponent.
11062 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
11063 abstract and protected.
11064 (setFont): Made private, add implementation.
11065 (setFont(Font)): Implemented.
11066 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
11067 Made protected and document.
11068 (create): Made protected.
11069 (setFont): Removed method. Done in GtkMenuComponent.
11070 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
11071 (gtkWidgetModifyFont): Made protected and document.
11072 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
11073 Removed, similar to GtkGenericPeer super class implementation.
11074 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
11075 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11076 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
11079 2006-02-13 Mark Wielaard <mark@klomp.org>
11081 * java/lang/Math.java (static): Explicitly call
11082 System.loadLibrary("javalang").
11084 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
11086 * javax/print/StreamPrintServiceFactory.java: New file.
11088 2006-02-13 Tom Tromey <tromey@redhat.com>
11090 * tools/.cvsignore: Added Makefile.
11092 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
11094 * java/awt/print/PrinterGraphics.java: Reformatted.
11095 * java/awt/print/Paper.java: Likewise.
11096 * java/awt/print/PageFormat.java: Likewise.
11097 * java/awt/print/Pageable.java: Likewise.
11099 2006-02-13 Lillian Angel <langel@redhat.com>
11101 * java/awt/BorderLayout.java
11102 (layoutContainer): Rewrote part of this function to
11103 properly set the bounds of the components.
11104 (setBounds): Removed method, not needed.
11106 2006-02-13 Roman Kennke <kennke@aicas.com>
11108 * javax/swing/text/DefaultStyledDocument.java
11109 (ElementBuffer.clone): Fixed replace call.
11110 (clone): Removed method.
11112 2006-02-13 Roman Kennke <kennke@aicas.com>
11114 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
11116 2006-02-13 Roman Kennke <kennke@aicas.com>
11118 * java/rmi/server/UnicastRemoteObject.java
11119 (exportObject(Remote)): Forward method call to export(Remote,int).
11121 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
11123 * include/Makefile.am:
11124 Swapped Math.h for VMMath.h
11125 * include/java_lang_Math.h:
11127 * include/java_lang_VMMath.h:
11128 New autogenerated header for the new class.
11129 * java/lang/Math.java:
11130 (sin(double)): Changed to link to VMMath.
11131 (cos(double)): Changed to link to VMMath.
11132 (tan(double)): Changed to link to VMMath.
11133 (asin(double)): Changed to link to VMMath.
11134 (acos(double)): Changed to link to VMMath.
11135 (atan(double)): Changed to link to VMMath.
11136 (atan2(double)): Changed to link to VMMath.
11137 (exp(double)): Changed to link to VMMath.
11138 (log(double)): Changed to link to VMMath.
11139 (sqrt(double)): Changed to link to VMMath.
11140 (pow(double,double)): Changed to link to VMMath.
11141 (IEEEremainder(double,double)): Changed to link to VMMath.
11142 (ceil(double)): Changed to link to VMMath.
11143 (floor(double)): Changed to link to VMMath.
11144 (rint(double)): Changed to link to VMMath.
11145 * native/jni/java-lang/Makefile.am:
11146 Replaced java_lang_Math.c with java_lang_VMMath.c
11147 * native/jni/java-lang/java_lang_Math.c:
11149 * native/jni/java-lang/java_lang_VMMath.c:
11150 Renamed from java_lang_Math.c.
11151 * vm/reference/java/lang/VMMath.java:
11153 (sin(double)): New native method.
11154 (cos(double)): New native method.
11155 (tan(double)): New native method.
11156 (asin(double)): New native method.
11157 (acos(double)): New native method.
11158 (atan(double)): New native method.
11159 (atan2(double)): New native method.
11160 (exp(double)): New native method.
11161 (log(double)): New native method.
11162 (sqrt(double)): New native method.
11163 (pow(double,double)): New native method.
11164 (IEEEremainder(double,double)): New native method.
11165 (ceil(double)): New native method.
11166 (floor(double)): New native method.
11167 (rint(double)): New native method.
11169 2006-02-13 Lillian Angel <langel@redhat.com>
11171 * java/awt/Component.java
11172 (repaint): No need to call isShowing, it is done in the other repaint call.
11173 (repaint): Likewise.
11174 (repaint): Likewise.
11176 2006-02-13 Lillian Angel <langel@redhat.com>
11178 * java/awt/Component.java
11179 (repaint): Reverted last change.
11180 (repaint): Likewise.
11181 (repaint): Likewise.
11183 2006-02-13 Lillian Angel <langel@redhat.com>
11185 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
11186 (handleEvent): Made more efficent by handling paint event and
11187 setting the clip for the graphics.
11188 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11189 (handleEvent): Likewise.
11190 * java/awt/Component.java
11191 (repaint): No need to call isShowing, it is done in the other repaint call.
11192 (repaint): Likewise.
11193 (repaint): Likewise.
11195 2006-02-13 Roman Kennke <kennke@aicas.com>
11197 * javax/swing/text/AbstractDocument.java
11198 (setParent): Added API docs. Call setParent(null) on children before
11199 disconnecting this view from the View hierarchy.
11201 2006-02-13 Roman Kennke <kennke@aicas.com>
11203 * javax/swing/text/AbstractDocument.java
11204 (readUnlock): Don't attempt to unlock when the current threads also
11205 holds a write lock.
11207 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
11209 * javax/swing/plaf/metal/MetalBorders.java
11210 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
11211 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
11213 (Flush3DBorder.borderInsets): New field,
11214 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
11215 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
11216 null insets argument, and populate result from borderInsets,
11217 (PaletteBorder.borderInsets): New field,
11218 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
11219 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
11220 null insets argument, and populate result from borderInsets,
11221 (InternalFrameBorder.borderInsets): New field,
11222 (InternalFrameBorder.getBorderInsets(Component)): Return insets
11224 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
11225 for null insets argument, and populate result from borderInsets,
11226 (MenuItemBorder.borderInsets): Initialise to correct value.
11228 2006-02-13 Roman Kennke <kennke@aicas.com>
11230 * javax/swing/text/AsyncBoxView.java: New file.
11232 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
11235 * gnu/regexp/RE.java(initialize): Parsing of character class expression
11236 was moved to a new method parseCharClass.
11237 (parseCharClass): New method originally in initialize. Added parsing
11238 of nested character classes.
11239 (ParseCharClassResult): New inner class used as a return value of
11241 (getCharExpression),(getNamedProperty): Made static.
11242 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
11243 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
11244 nested character classes.
11245 (RETokenOneOf): New constructor accepting the Vector addition.
11246 (getMinimumLength), (getMaximumLength): Returns 1 if the token
11247 stands for only one character.
11248 (match): Added the processing of the Vector addition.
11249 (matchN), (matchP): Do not check next token if addition is used.
11251 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
11253 * AUTHORS: add self.
11255 2006-02-12 Tom Tromey <tromey@redhat.com>
11257 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
11258 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
11259 (securityContext): Likewise.
11262 2006-02-12 Dalibor Topic <robilad@kaffe.org>
11266 * gnu/java/net/protocol/file/Connection.java (unquote):
11267 Convert Unicode characters outside basic plane to UTF-8,
11268 rather than throwing an exception.
11270 2006-02-12 Tom Tromey <tromey@redhat.com>
11272 * javax/sound/sampled/LineEvent.java (readObject): New method.
11273 (writeObject): Likewise.
11274 (serialVersionUID): New field.
11276 2006-02-12 Mark Wielaard <mark@klomp.org>
11278 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
11279 Silently ignores null listener.
11280 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
11281 (getPropertyChangeListeners): Returns empty PropertyChangeListener
11282 array for null propertyName.
11284 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
11286 * java/rmi/MarshalledObject.java: Added api docs to the class.
11287 * java/rmi/Remote.java: Added interface api docs.
11288 * java/rmi/package.html: Added package description.
11289 * java/rmi/AccessException.java: Minor api doc fixes.
11290 * java/rmi/NoSuchObjectException.java: Likewise.
11291 * java/rmi/AlreadyBoundException.java: Likewise.
11292 * java/rmi/RemoteException.java: Likewise.
11293 * java/rmi/NotBoundException.java: Likewise.
11294 * java/rmi/RMISecurityException.java: Likewise.
11295 * java/rmi/StubNotFoundException.java: Likewise.
11297 2006-02-12 Mark Wielaard <mark@klomp.org>
11299 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
11300 q() to get EventQueue.
11301 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
11302 (enableQueue): Remove static method.
11303 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
11304 Don't call GtkGenericPeer.enableQueue().
11306 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
11308 * java/rmi/MarshalledObject.java: Reformatted.
11309 * java/rmi/Naming.java: Likewise.
11311 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
11313 * java/io/InputStream.java
11314 (read(byte[],int,int)): Changed argument validation to prevent
11315 integer overflow. Remove redundant check.
11317 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
11320 * java/io/InputStreamReader.java
11321 (InputStreamReader(InputStream)): Use SystemProperties.
11322 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
11323 Throw NullPointerException if in is null.
11324 Added maxBytesPerChar initialisation.
11325 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
11326 Throw NullPointerException if in is null.
11328 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
11330 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
11331 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
11332 (GnuDHPublicKey): New constructor.
11333 (getEncoded): Removed.
11334 (valueOf): Added support for ASN.1 encoding.
11335 (getEncoded(int)): Likewise.
11336 (equals): New method.
11337 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
11338 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
11339 (GnuDHPrivateKey(5)): New constructor.
11340 (getEncoded): Removed.
11341 (valueOf): Added support for ASN.1 encoding.
11342 (getEncoded(int)): Likewise.
11343 (equals): New method.
11344 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
11345 (PREFERRED_ENCODING_FORMAT): New constant.
11346 (DEFAULT_ENCODING_FORMAT): Likewise.
11347 (preferredFormat): New field.
11348 (setup): Handle preferred encoding format identifier.
11349 (generate): Call constructors with format identifier.
11350 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
11351 (GnuDHKey): Added an int argument.
11352 (getEncoded): New method.
11353 (getFormat): New implementation.
11354 (getEncoded(int)): New abstract method.
11355 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
11356 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
11357 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
11358 key-pair generator and key-factory.
11359 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
11360 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
11361 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
11362 * gnu/java/security/jce/sig/EncodedKeyFactory.java
11363 (invokeConstructor): New method.
11364 (getConcreteClass): Likewise.
11365 (getConcreteCtor): Likewise.
11366 (invokeValueOf): Likewise.
11367 (getValueOfMethod): Likewise.
11368 (engineGeneratePublic): Add support for DH keys.
11369 (engineGeneratePrivate): Likewise.
11370 (decodeDHPublicKey(DHPublicKeySpec)): New method.
11371 (decodeDHPublicKey(byte[])): Likewise.
11372 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
11373 (decodeDHPrivateKey(byte[])): Likewise.
11375 2006-02-11 Mark Wielaard <mark@klomp.org>
11377 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
11379 (repaint): Immediately post to queue when tm <= 0, otherwise call
11380 RepaintTimerTask.schedule().
11381 (RepaintTimerTask): Make static.
11382 (RepaintTimerTask.repaintTimer): New static final field.
11383 (RepaintTimerTask.awtComponent): New field.
11384 (schedule): New static method.
11386 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11388 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
11389 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
11390 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
11391 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
11392 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
11394 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
11396 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
11398 * gnu/java/security/jce/sig/EncodedKeyFactory.java
11399 (engineGeneratePublic): Added support for raw key-specifications.
11400 (engineGeneratePrivate): Likewise.
11401 (decodeDSSPublicKey): New method.
11402 (decodeRSAPublicKey): Likewise.
11403 (decodeDSSPrivateKey): Likewise.
11404 (decodeRSAPrivateKey): Likewise.
11405 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
11406 (encodePrivateKey): Throw InvalidParameterException.
11407 (decodePublicKey): Likewise.
11408 (decodePrivateKey): Likewise.
11409 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
11410 (encodePublicKey): Likewise.
11411 (encodePrivateKey): Likewise.
11412 (decodePublicKey): Likewise.
11413 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
11414 (encodePrivateKey): Likewise.
11415 (decodePublicKey): Likewise.
11416 (decodePrivateKey): Likewise.
11417 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
11418 (encodePublicKey): Likewise.
11419 (encodePrivateKey): Likewise.
11420 (decodePublicKey): Likewise.
11422 2006-02-10 Roman Kennke <kennke@aicas.com>
11424 * javax/swing/text/StyleContext.java
11425 (registerStaticAttributeKey): New static method.
11427 2006-02-10 Roman Kennke <kennke@aicas.com>
11429 * javax/swing/text/DefaultStyledDocument.java
11430 (ElementBuffer.clone): New method.
11432 2006-02-10 Roman Kennke <kennke@aicas.com>
11434 * javax/swing/text/ParagraphView.java
11435 (findOffsetToCharactersInString): New method.
11436 (getClosestPositionTo): New method.
11437 (getPartialSize): New method.
11438 (getTabBase): New method.
11439 (adjustRow): New method.
11440 (breakView): New method.
11441 (getBreakWeight): New method.
11443 2006-02-10 Roman Kennke <kennke@aicas.com>
11445 * javax/swing/text/GapContent.java
11446 (updateUndoPositions): New method.
11447 * javax/swing/text/StringContent.java
11448 (updateUndoPositions): New method.
11450 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
11452 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
11454 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
11455 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
11456 Added support for encoded key specifications.
11457 (engineGeneratePrivate): Likewise.
11458 (engineGetKeySpec): Likewise.
11459 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
11461 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
11463 * javax/swing/text/Utilities.java:
11464 (getTabbedTextOffset): Fixed usage of variable p0.
11465 (getPositionAbove): Rewritten.
11466 (getPositionBelow): Rewritten.
11468 2006-02-09 Roman Kennke <kennke@aicas.com>
11470 * javax/swing/text/BoxView.java
11471 (getAxis): Added @since tag.
11472 (setAxis): Added @since tag.
11473 (layoutChanged): Added @since tag.
11474 (isLayoutValid): Added @since tag.
11475 (paint): Don't call setSize here. This is done in RootView already.
11476 (getMaximumSpan): Reimplemented to return the requirements'
11477 maximum size. Added API docs.
11478 (getMinimumSpan): New method.
11479 (layout): Fixed layout order.
11480 (modelToView): Call layout instead of setSize here.
11481 (getResizeWeight): New method.
11482 (getChildAllocation): New method.
11483 (forwardUpdate): New method.
11484 (viewToModel): New method.
11485 (flipEastEndWestEnds): New method.
11486 * javax/swing/text/CompositeView.java
11487 (modelToView): Made this method more robust by returning a default
11488 location if it's not possible to calculate one via the children.
11489 This default location returns the left or right edge of this
11491 (createDefaultLocation): New helper method.
11492 * javax/swing/text/IconView.java
11493 (modelToView): Don't throw BadLocationException. This should
11494 really only be thrown if the position is outside the document
11495 model, not if it's outside the view's boundary.
11497 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11499 * tools/Makefile.am: Handle rmi and giop folders separately.
11501 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
11503 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
11504 * javax/swing/SpinnerNumberModel.java: Likewise.
11506 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
11508 * javax/swing/SpinnerDateModel.java: Removed tabs,
11509 * javax/swing/SpinnerNumberModel.java: Likewise.
11511 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
11513 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
11514 * doc/unicode/UnicodeData-4.0.0.txt: New file.
11516 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
11519 * gnu/java/net/protocol/http/HTTPURLConnection.java:
11520 (isRedirect): Removed, moved to Response.java.
11521 (connect): If error condition redirect responseSink to errorSink.
11522 (getInputStream): If error condition throw IOException, for the error
11523 codes 404 and 410 throw a FileNotFoundException.
11524 * gnu/java/net/protocol/http/Response.java (isError): New method.
11525 (isRedirect): New method, moved from HTTPURLConnection.java.
11527 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11529 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
11530 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
11531 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
11533 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
11535 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
11536 AbstractMethodGenerator.
11537 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
11538 tools/gnu/classpath/tools/rmi/RMIC.java,
11539 tools/gnu/classpath/tools/rmi/RMIC.txt,
11540 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
11541 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
11542 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
11543 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
11544 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
11545 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
11547 * NEWS: Corrected entry about the tools.
11549 2006-02-09 Lillian Angel <langel@redhat.com>
11551 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11552 (handleEvent): Added more to check to prevent assertion errors.
11553 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
11554 (handleEvent): Likewise.
11555 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11556 (handleEvent): Likewise.
11558 2006-02-09 Mark Wielaard <mark@klomp.org>
11560 * javax/swing/JTable.java (tableChanged): Interpret null event as
11561 "everything changed".
11563 2006-02-09 Roman Kennke <kennke@aicas.com>
11565 * javax/swing/text/DefaultCaret.java
11566 (DocumentHandler.removeUpdate): When update policy is
11567 'on eventqueue', and the update doesn't come from the
11568 event queue, check if the current dot location is still
11570 (moveDot): Make sure the new dot location is valid.
11571 (setDot): Set the mark the same as the dot.
11573 2006-02-09 Roman Kennke <kennke@aicas.com>
11575 * javax/swing/text/AbstractDocument.java
11576 (remove): Perform all operations within a write lock and in the
11579 2006-02-09 Mark Wielaard <mark@klomp.org>
11581 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
11582 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
11583 creater than min, adjusting page_size if necessary.
11584 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
11586 2006-02-09 Lillian Angel <langel@redhat.com>
11588 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
11589 (handleEvent): Added code to handle PaintEvent.UPDATE.
11590 Sun does not call update(Graphics g) on Panels.
11591 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11592 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
11593 Sun does not call update(Graphics g) on Panels.
11595 2006-02-09 Roman Kennke <kennke@aicas.com>
11597 * javax/swing/text/BoxView.java
11598 (myAxis): Made field private.
11599 (xLayoutValid): Replaced by layoutValid array.
11600 (yLayoutValid): Replaced by layoutValid array.
11601 (layoutValid): New field.
11602 (spansX): Replaced by spans array.
11603 (spansY): Replaced by spans array.
11604 (spans): New field.
11605 (offsetsX): Replaced by offsets array.
11606 (offsetsY): Replaced by offsets array.
11607 (offsets): New field.
11608 (requirements): New field.
11609 (BoxView): Initialize new fields.
11610 (layoutChanged): Rewritten to use the layoutValid array.
11611 (isLayoutValid): Rewritten to use the layoutValid array.
11612 (replace): Use the new arrays.
11613 (getPreferredSpan): Rewritten to call calculateXXXRequirements
11614 instead of baselineRequirements.
11615 (baselineRequirements): Rewritten to calculate baseline requirements.
11616 (baselineLayout): Rewritten to calculate baseline layout.
11617 (childAllocation): Use new arrays.
11618 (layout): Rewritten. Only update the layout if necessary.
11619 (layoutMajorAxis): Directly set layoutValid.
11620 (layoutMinorAxis): Directly set layoutValid. Use cached size
11622 (getWidth): Use new span array.
11623 (getHeight): Likewise.
11624 (setSize): Rewritten to simply call layout().
11625 (validateLayout): Removed unneeded method.
11626 (getSpan): Use new arrays.
11627 (getOffset): Use new arrays.
11628 (getAlignment): Use cached requirements if possible.
11629 (preferenceChanged): Use new arrays.
11630 * javax/swing/text/FlowView.java
11631 (FlowStrategy.insertUpdate): Do nothing here.
11632 (FlowStrategy.removeUpdate): Do nothing here.
11633 (FlowStrategy.changedUpdate): Do nothing here.
11634 (FlowStrategy.layoutRow): Rewritten.
11635 (FlowStrategy.createView): Rewritten.
11636 (FlowStrategy.adjustRow): New method.
11637 (LogicalView.getViewIndex): Fixed condition for finding child
11639 (layoutDirty): New field indicating the state of the layout.
11640 (FlowView): Initialize new field.
11641 (loadChildren): Set parent on logical view so that preferenceChanges
11642 get propagated upwards.
11643 (layout): Rewritten to match the specs.
11644 (insertUpdate): Set layout to dirty.
11645 (removeUpdate): Set layout to dirty.
11646 (changedUpdate): Set layout to dirty.
11647 * javax/swing/text/GlyphView.java
11648 (getBreakWeight): Rewritten to use the Utilities class. Commented
11649 out though because that is broken.
11650 (insertUpdate): Call preferenceChanged on this object instead of
11652 * javax/swing/text/ParagraphView.java
11653 (Row.loadChildren): Overridden to be a noop to prevent initial
11654 creation of child views. This is carried out by the flow layout.
11655 * javax/swing/text/View.java
11656 (getPreferredSpan): Added API docs.
11657 (getResizeWeight): Added API docs.
11658 (getMaximumSpan): Added API docs. Rewritten to only have one exit
11660 (getMinimumSpan): Added API docs. Rewritten to return 0 when
11661 resizable instead of Integer.MAX_VALUE.
11662 (getAlignment): Added API docs.
11663 (replace): Added API docs.
11664 (forwardUpdate): Rewritten to only notify child views that need to
11667 2006-02-09 Roman Kennke <kennke@aicas.com>
11669 * javax/swing/plaf/basic/BasicTextUI.java
11670 (RootView.paint): Call setSize() before painting the view.
11672 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
11675 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
11676 flag which enables backslash escape in a replacement.
11677 (getReplacement): New public static method.
11678 (substituteImpl),(substituteAllImpl): Use getReplacement.
11679 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
11680 * java/util/regex/Matcher.java(appendReplacement)
11681 Use RE#getReplacement.
11682 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
11684 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
11686 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
11687 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
11688 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
11689 (PREFERRED_ENCODING_FORMAT): New constant.
11690 (DEFAULT_ENCODING_FORMAT): Likewise.
11691 (preferredFormat): New field.
11692 (setup): Add support for preferred encoding format.
11693 (generate): Call key constructors with explicit format identifier.
11694 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
11695 Call constructor with 3 arguments..
11696 (GnuRSAPublicKey(3)): New constructor.
11697 (valueOf): Added support for ASN.1 format.
11698 (getEncoded): Likewise.
11699 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
11700 Call constructor with 5 arguments.
11701 (GnuRSAPrivateKey(5)): New constructor.
11702 (GnuRSAPrivateKey(9)): New constructor.
11703 (valueOf): Added support for ASN.1 format.
11704 (getEncoded): Likewise.
11705 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
11706 (GnuRSAKey): Modified constructor.
11707 (getFormat): Return preferred format identifier.
11708 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
11709 (decodePrivateKey): Fixed documentation.
11710 Check Version field.
11711 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
11712 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
11714 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
11715 * gnu/java/security/jce/sig/EncodedKeyFactory.java
11716 (engineGeneratePublic): Added support for RSA.
11717 (engineGeneratePrivate): Likewise.
11719 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
11721 * java/net/URLConnection.java:
11722 (setAllowUserInteraction): Throw IllegalStateException if connected.
11723 (getRequestProperty): Document return value if key is null.
11724 * gnu/java/net/protocol/http/HTTPURLConnection.java:
11725 (getRequestProperty): Return null if key is null.
11726 (getRequestProperties): Throw IllegalStateException if connected.
11727 (setRequestProperty): Call super method for exception tests.
11728 (addRequestProperty): Likewise.
11730 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
11732 * gnu/java/net/protocol/http/Request.java:
11733 (Request): Remove initialization of removed field.
11734 (requestBodyNegotiationThreshold): Removed now unused field.
11735 (setRequestBodyNegotiationThreshold): Remove now unused method.
11736 (dispatch): Do not use 'Expect 100-continue' header if content-length
11737 is over a treshold. If user specified 'Expect 100-continue' still
11738 initialize the expectingContinue variable.
11740 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
11742 * javax/swing/SpinnerNumberModel.java
11743 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
11744 maximum and minimum to take null values,
11745 (setValue): Only fire ChangeEvent if new value is different to old
11747 (setMinimum): Fixed test for updating value,
11748 (setMaximum): Likewise,
11749 (setStepSize): Likewise.
11751 2006-02-08 Tom Tromey <tromey@redhat.com>
11753 * tools/.cvsignore: Added Makefile.in.
11755 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11757 * java/rmi/server/RemoteRef.java,
11758 java/rmi/server/RemoteStub.java: Commented.
11760 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
11762 * javax/swing/SpinnerDateModel.java
11763 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
11765 (getPreviousValue): Check result against start, not end,
11766 (setValue): Check that value actually changes before firing
11769 2006-02-08 Lillian Angel <langel@redhat.com>
11771 * java/awt/Choice.java
11772 (select): Fixed up code, added some checks to prevent errors.
11773 (dispatchEventImpl): Removed. This function is not needed. It
11774 causes several assertion errors.
11776 2006-02-08 Roman Kennke <kennke@aicas.com>
11778 * javax/swing/text/PlainView.java
11779 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
11780 drawing unnecessary characters.
11782 2006-02-08 Lillian Angel <langel@redhat.com>
11784 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11785 (handleEvent): Fixed check to determine if height or
11786 width is less than 1.
11788 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11790 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
11792 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11794 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
11795 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
11796 Documenting the code generator.
11797 * gnu/CORBA/IOR.java (toStringFormatted,
11798 CodeSet_component.toStringFormatted): New methods.
11799 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
11800 * tools/gnu/classpath/tools/giop/README: Rewritten.
11801 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
11802 (printHelpAndExit): Removed.
11803 *tools/gnu/classpath/tools/giop/IorParser.java,
11804 tools/gnu/classpath/tools/giop/IorParser.txt,
11805 tools/gnu/classpath/tools/giop/NameService.java,
11806 tools/gnu/classpath/tools/giop/NamingService.txt,
11807 tools/gnu/classpath/tools/HelpPrinter.java: New files.
11808 NEWS: Added note about GIOP tools.
11810 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11812 * .classpath: New source patch (tools).
11813 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
11814 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
11815 * tools/gnu/classpath/tools/Makefile.am,
11816 tools/gnu/classpath/tools/giop/GRMIC.java
11817 tools/gnu/classpath/tools/giop/GRMIC.txt,
11818 tools/gnu/classpath/tools/giop/README,
11819 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
11820 tools/gnu/classpath/tools/giop/grmic/Generator.java,
11821 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
11822 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
11823 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
11824 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
11825 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
11826 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
11827 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
11828 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
11829 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
11830 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
11832 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
11834 * java/awt/BasicStroke.java: Updated API docs all over,
11835 * java/awt/doc-files/capjoin.png: New file.
11837 2006-02-07 Lillian Angel <langel@redhat.com>
11839 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11840 (handleEvent): Added check. Should not paint or update the
11841 component if it's width and height are both 0.
11843 2006-02-07 Roman Kennke <kennke@aicas.com>
11845 * javax/swing/text/AbstractDocument.java
11846 (insertString): Enclose locking/unlocking in try-finally block
11847 and also keep locked while notifying the listeners.
11849 2006-02-07 Roman Kennke <kennke@aicas.com>
11851 * javax/swing/text/GlyphView.java
11852 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
11854 (getStartOffset): Return element boundary if startOffset < 0.
11855 (getEndOffset): Return element boundary if endOffset < 0.
11856 (createFragment): Set startOffset and endOffset fields of fragment
11857 if one of p0 or p1 is not at the element boundary.
11859 2006-02-07 Roman Kennke <kennke@aicas.com>
11861 * javax/swing/CellRendererPane.java
11862 (paintComponent): Enclosed painting in try finally to properly
11863 clean up even when throwing an exception.
11865 2006-02-07 Roman Kennke <kennke@aicas.com>
11867 * javax/swing/UIManager.java
11868 (listeners): Made this an instance of
11869 java.beans.PropertyChangeSupport instead of the obsoleted
11870 SwingPropertyChangeSupport.
11872 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
11874 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
11875 of actions "delete-next" and "delete-previous", added new TextAction
11876 implementations for "selection-begin", "selection-begin-line",
11877 "selection-end" and "selection-end-line".
11879 2006-02-07 Roman Kennke <kennke@aicas.com>
11881 * javax/swing/plaf/basic/BasicTextUI.java
11882 (paint): Acquire read lock on the document before calling
11884 (paintSafely): Added comment about what this method does.
11885 (paintBackground): Implemented to actually paint the background.
11886 (update): Overridden to _not_ paint the background. This is done
11887 in paintBackground in this UI.
11889 2006-02-07 Roman Kennke <kennke@aicas.com>
11891 * javax/swing/text/View.java
11892 (forwardUpdate): Don't notify newly added child views as specified.
11894 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
11896 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
11898 2006-02-07 Roman Kennke <kennke@aicas.com>
11900 * javax/swing/text/DefaultStyledDocument.java
11901 (ElementBuffer.insert): Only register change when the element
11904 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
11906 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
11908 (getEncodingShortName): Likewise.
11909 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
11910 (PKCS8_FORMAT): Likewise.
11911 (ASN1_FORMAT): Likewise.
11912 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
11913 constructor with 5 arguments.
11914 (DSSPublicKey(5)): New constructor.
11915 (valueOf): Handle ASN.1 encoding.
11916 (getEncoded): Likewise.
11917 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
11918 constructor with 5 arguments.
11919 (DSSPrivateKey(5)): New constructor.
11920 (valueOf): Handle ASN.1 encoding.
11921 (getEncoded): Likewise.
11922 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
11923 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
11924 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
11925 (PREFERRED_ENCODING_FORMAT): New constant.
11926 (DEFAULT_ENCODING_FORMAT): Likewise.
11927 (preferredFormat): New field.
11928 (setup): Handle preferred format ID.
11929 (generate): Use new ctors with 5 arguments.
11930 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
11931 ID as an additional argument.
11932 (defaultFormat): new field.
11933 (getFormat): Returns the preferred format as a short string.
11934 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
11935 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
11937 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
11938 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
11940 (initialize(int,boolean,SecureRandom)): Likewise.
11941 * gnu/java/security/der/DERWriter.java (writeBitString): Use
11942 writeLength() instead of write().
11943 return buf.length + 1 instead of buf.length.
11945 2006-02-07 Roman Kennke <kennke@aicas.com>
11947 * javax/swing/plaf/basic/BasicTextUI.java
11948 (RootView.preferenceChange): Changed view parameter to view so
11949 that it doesn't hide a field of that class.
11950 (RootView.getViewCount): Rewritten to clean up ECJ warning.
11951 (RootView.modelToView): Removed unnecessary cast from View to View.
11952 (PropertyChangeHandler): Made inner class private.
11953 (updateHandler): Made field private.
11954 (getVisibleEditorRect): Removed unneeded local variable that
11955 shadowed a field with the same name and purpose.
11957 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
11959 * javax/swing/text/JTextComponent.java:
11960 (getSelectedText): Calculate offset and use that as
11963 2006-02-07 Roman Kennke <kennke@aicas.com>
11965 * javax/swing/JTextPane.java
11966 (setCharacterAttributes): Replace input attributes when
11969 2006-02-07 Roman Kennke <kennke@aicas.com>
11971 * java/awt/Component.java
11972 (firePropertyChange(String,byte,byte)): Made method public.
11973 (firePropertyChange(String,char,char)): Made method public.
11974 (firePropertyChange(String,short,short)): Made method public.
11975 (firePropertyChange(String,long,long)): Made method public.
11976 (firePropertyChange(String,float,float)): Made method public.
11977 (firePropertyChange(String,double,double)): Made method public.
11979 2006-02-06 Tom Tromey <tromey@redhat.com>
11981 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
11983 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
11985 2006-02-06 Anthony Green <green@redhat.com>
11987 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
11989 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
11991 * .settings/org.eclipse.jdt.core.prefs:
11992 Force a line split on extends and implements.
11993 Force a white-space after unary operators.
11994 Don't force a new-line after @params.
11995 Add new-line at end-of-file.
11996 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
11998 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
12000 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
12002 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
12004 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
12006 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
12008 * gnu/java/security/provider/EncodedKeyFactory.java
12009 (ID_DSA): Redefined in terms of Registry constant.
12010 (ID_DSA): Redefined in terms of Registry constant.
12011 (ID_DH): Redefined in terms of Registry constant.
12012 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
12013 (PKCS8_ENCODING): Likewise.
12014 (ASN1_ENCODING): Likewise.
12015 (RAW_ENCODING_SHORT_NAME): Likewise.
12016 (X509_ENCODING_SORT_NAME): Likewise.
12017 (PKCS8_ENCODING_SHORT_NAME): Likewise.
12018 (ASN1_ENCODING_SHORT_NAME): Likewise.
12019 (X509_ENCODING_ID): Likewise.
12020 (PKCS8_ENCODING_ID): Likewise.
12021 (ASN1_ENCODING_ID): Likewise.
12022 (DSA_OID_STRING): Likewise.
12023 (RSA_OID_STRING): Likewise.
12024 (DH_OID_STRING): Likewise.
12026 2006-02-06 Roman Kennke <kennke@aicas.com>
12028 * javax/swing/text/GlyphView.java:
12029 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
12030 Only fill background if there is a background set on the view.
12031 Call Utilities.drawTabbedText with the baseline height, rather than
12032 the upper left corner of the view rectangle.
12033 (getBackground): Return null if no background is set.
12034 * javax/swing/text/GlyphView.java:
12035 (setPropertiesFromAttributes): Use null for background when no
12036 background is set. StyleConstants.getBackground() doesn't work
12037 for this, because it returns Color.BLACK in that case.
12039 2006-02-06 Roman Kennke <kennke@aicas.com>
12041 * java/awt/Container.java
12042 (changeSupport): Removed duplicate (from Component) field.
12043 (addPropertyChangeListener): Call super.
12045 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
12047 * java/util/regex/Matcher.java(matches):
12048 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
12050 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
12053 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
12054 * gnu/regexp/CharIndexedCharArray.java
12055 (lookBehind),(length): Implemented.
12056 * gnu/regexp/CharIndexedInputStream.java: Likewise.
12057 * gnu/regexp/CharIndexedString.java: Likewise.
12058 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
12059 * gnu/regexp/REToken.java(getMaximumLength): New method.
12060 * gnu/regexp/RE.java(internal constructor RE): Added new argument
12062 (initialize): Parse (?<=X), (?<!X), (?>X).
12063 (getMaximumLength): Implemented.
12064 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
12065 * gnu/regexp/RETokenChar.java: Likewise.
12066 * gnu/regexp/RETokenEnd.java: Likewise.
12067 * gnu/regexp/RETokenEndSub.java: Likewise.
12068 * gnu/regexp/RETokenLookAhead.java: Likewise.
12069 * gnu/regexp/RETokenNamedProperty.java: Likewise.
12070 * gnu/regexp/RETokenOneOf.java: Likewise.
12071 * gnu/regexp/RETokenPOSIX.java: Likewise.
12072 * gnu/regexp/RETokenRange.java: Likewise.
12073 * gnu/regexp/RETokenRepeated.java: Likewise.
12074 * gnu/regexp/RETokenStart.java: Likewise.
12075 * gnu/regexp/RETokenWordBoundary.java: Likewise.
12076 * gnu/regexp/RETokenIndependent.java: New file.
12077 * gnu/regexp/RETokenLookBehind.java: New file.
12079 2006-02-06 Roman Kennke <kennke@aicas.com>
12081 * java/awt/Component.java
12082 (firePropertyChange(String,byte,byte)): New method.
12083 (firePropertyChange(String,char,char)): New method.
12084 (firePropertyChange(String,short,short)): New method.
12085 (firePropertyChange(String,long,long)): New method.
12086 (firePropertyChange(String,float,float)): New method.
12087 (firePropertyChange(String,double,double)): New method.
12089 2006-02-06 Roman Kennke <kennke@aicas.com>
12091 * javax/swing/JComponent.java
12092 (AccessibleJComponent.changeSupport): Changed to be a
12093 java.beans.PropertyChangeSupport rather than
12094 SwingPropertyChangeSupport.
12095 (AccessibleJComponent.AccesibleJComponent()): Change initialization
12097 (changeSupport): Removed unneeded field.
12098 (removePropertyChangeListener): Removed unneeded methods.
12099 (addPropertyChangeListener): Removed unneeded methods.
12100 (getPropertyChangeListeners): Removed unneeded methods.
12101 (firePropertyChange(String,boolean,boolean)): Changed to simply
12102 call super. Added specnote.
12103 (firePropertyChange(String,char,char)): Changed to simply
12104 call super. Added specnote.
12105 (firePropertyChange(String,int,int)): Changed to simply
12106 call super. Added specnote.
12107 (firePropertyChange(String,byte,byte)): Removed.
12108 (firePropertyChange(String,Object,Object)): Removed.
12109 (firePropertyChange(String,double,double)): Removed.
12110 (firePropertyChange(String,float,float)): Removed.
12111 (firePropertyChange(String,long,long)): Removed.
12112 (firePropertyChange(String,short,short)): Removed.
12114 2006-02-06 Roman Kennke <kennke@aicas.com>
12116 * javax/swing/event/SwingPropertyChangeSupport.java
12117 (listeners): Removed field.
12118 (propertyListeners): Removed field.
12119 (source): Removed field.
12120 (SwingPropertyChangeSupport()): Removed initialization of removed
12122 (addPropertyChangeListener): Removed methods.
12123 (removePropertyChangeListener): Removed methods.
12124 (getPropertyChangeListeners): Removed methods.
12125 (firePropertyChange): Removed methods.
12126 (hasListeners): Removed methods.
12128 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
12131 * java/net/InetAddress.java
12132 (readResolve): Implemented.
12134 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
12137 * java/io/ObjectInputStream.java
12138 (readNextBlock()): Handle TC_RESET.
12140 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
12142 * javax/print/attribute/standard/Compression.java,
12143 * javax/print/attribute/standard/Finishings.java,
12144 * javax/print/attribute/standard/JobMediaSheets.java,
12145 * javax/print/attribute/standard/JobSheets.java,
12146 * javax/print/attribute/standard/JobState.java,
12147 * javax/print/attribute/standard/JobStateReason.java,
12148 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
12149 * javax/print/attribute/standard/PrintQuality.java,
12150 * javax/print/attribute/standard/Media.java,
12151 * javax/print/attribute/standard/MultipleDocumentHandling.java,
12152 * javax/print/attribute/standard/PrinterStateReason.java,
12153 * javax/print/attribute/standard/PDLOverrideSupported.java:
12154 (getName): Make method final.
12155 (getCategory): Likewise.
12156 * javax/print/attribute/standard/MediaSize.java:
12157 (getName): Make method final.
12158 (getCategory): Likewise.
12159 (ISO): Added private default constructor.
12163 (Engineering): Likewise.
12165 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
12167 * native/jni/java-net/javanet.c (_javanet_connect):
12168 Throw ConnectException instead of IOException if connection failed.
12169 * native/jni/java-net/javanet.h:
12170 Add a define for java.net.ConnectException
12172 2006-02-05 Mark Wielaard <mark@klomp.org>
12175 reported by Egon Willighagen <egon.willighagen@gmail.com>
12176 * javax/swing/DefaultListCellRenderer.java
12177 (getListCellRendererComponent): Turn null value into empty string.
12179 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
12181 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
12182 a Unicode block if the name starts with "In".
12183 (UnicodeBlockHandler): New inner class.
12185 2006-02-04 Roman Kennke <kennke@aicas.com>
12187 * java/awt/Container.java
12188 (getComponentZOrder): New method.
12189 (setComponentZOrder): New method.
12190 * javax/swing/JLayeredPane.java
12191 (setPosition): Reimplemented to use setComponentZOrder().
12192 (getIndexOf): Reimplemented to use getComponentZOrder().
12193 (addImpl): Pass layerContraint to super call. Important for possibly
12194 installed layout managers.
12195 (swapComponents): Remove unneeded method.
12197 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
12199 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
12200 DSAKeyPairGenerator.
12201 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
12202 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
12204 Surround call to adaptee in a try/catch.
12205 (initialize((DSAParams,SecureRandom)): New method.
12206 (initialize(int,boolean,SecureRandom)): New method.
12207 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
12208 KeyPairGenerator rather than KeyPairGeneratorSpi.
12209 (KeyPairGeneratorAdapter): Call super with algorithm name.
12211 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
12213 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
12214 (getDefaultPRNG): New method.
12215 (parseO): Use method above.
12216 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
12217 (getDefaultPRNG): New method.
12218 (createO): Use method above.
12219 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
12220 (nextByte): Use above field.
12221 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
12222 * gnu/java/security/sig/rsa/RSA.java: New class field.
12223 (newR): Use above field
12224 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
12225 (encode): Use field.above.
12226 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
12227 (getDefaultPRNG): new method.
12228 (nextRandomBytes): Use above method.
12229 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
12230 * gnu/java/security/sig/BaseSignature.java: Likewise.
12231 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
12232 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
12233 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
12234 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
12235 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
12236 (getDefaultPRNG): new method.
12237 (nextRandomBytes): Use above method.
12238 (STRICT_DEFAULTS): new class field.
12239 (USE_DEFAULTS): more documentation to clarify behavior.
12240 (setup): amended to handle new attribute.
12241 * gnu/java/security/util/PRNG.java: New file.
12243 2006-02-03 Lillian Angel <langel@redhat.com>
12245 * javax/swing/plaf/basic/BasicColorChooserUI.java:
12246 chooser field should be protected, not package-private.
12248 2006-02-03 Lillian Angel <langel@redhat.com>
12250 * javax/swing/text/DefaultStyledDocument.java
12251 (changeUpdate): Cleaned up code.
12253 (insertUpdate): Set offset to be equal to pos after
12254 insertContentTag call.
12255 (insertContentTag): If paragraph has no children, should use
12256 replace instead of Edit.
12257 (insertFracture): Moved around code to prevent any exception. Also,
12258 left side of tree should not be recreated if it has already been
12259 edited. In that case, we should only be creating a new right branch
12261 (getEditForParagraphAndIndex): No need to check index. We should
12262 use the same edit for each paragraph.
12264 2006-02-03 Mark Wielaard <mark@klomp.org>
12266 * javax/swing/event/SwingPropertyChangeSupport.java
12267 (propertyListeners): Change type to HashMap.
12268 (SwingPropertyChangeSupport): Allocate HashMap.
12270 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
12272 * java/security/KeyPairGenerator.java (getInstance): Test for
12273 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
12275 2006-02-02 Roman Kennke <kennke@aicas.com>
12277 * javax/swing/RepaintManager.java
12278 Made fields private.
12279 (RepaintWorker.run): Enclosed work stuff in try finally block in
12280 order to clean up correctly if invalidation or painting fails,
12281 otherwise we would get no more RepaintWorkers onto the EventQueue.
12282 Also, now the RepaintWorker is marked 'dead' only after it has
12283 finished its work, avoid more than one RepaintWorker on the queue.
12284 (ComponentComparator.compareTo): Compare dirty rectangle sizes
12285 instead of hierarchy depths.
12286 (workDirtyComponents): Removed unused field.
12287 (repaintOrder): Removed unused field.
12288 (workRepaintOrder): Removed unused field.
12289 (workInvalidComponents): Removed unused field.
12290 (RepaintManager()): Removed initialization of removed fields.
12291 (addInvalidComponent): Fine tuned synchronization.
12292 (removeInvalidComponent): Fine tune synchronization.
12293 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
12294 synchronization. Don't manager repaintOrder here.
12295 (insertRepaintOrder): Removed method.
12296 (markCompletelyClean): Fine tuned synchronization.
12297 (validateInvalidComponents): Dont use a working copy of the
12298 invalidComponents list, instead fine tuned synchronization on this
12299 list. Also, don't search validateRoot, this is already done in
12300 addInvalidComponent().
12301 (paintDirtyRegions): Compute repaint order here, based on size of
12302 damaged regions. Fine tuned synchronization. Avoid use of working
12303 copies of dirtyComponent.
12305 2006-02-02 Lillian Angel <langel@redhat.com>
12307 * javax/swing/text/DefaultStyledDocument.java
12308 (insertUpdate): JoinNextDirection should push the
12309 'next' paragraph on the stack.
12311 2006-02-02 Lillian Angel <langel@redhat.com>
12313 * javax/swing/text/DefaultStyledDocument.java
12314 (insertUpdate): Rewrote code for Originate. This prevents
12315 leaves being created multiple times. If it is on the last
12316 ElementSpec, the leaves need to be created right then;
12317 otherwise, only a branch is created.
12318 (insertContentTag): Rewrote to add new leaf directly if
12319 this is a branch with no children. Otherwise, it
12320 recreates the remainder of the tree as before.
12322 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
12324 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
12325 for making a list of REMatch instances.
12326 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
12327 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
12328 (match): Rewritten using REMatchList.
12329 (matchRest): Rewritten using REMatchList.
12331 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12333 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
12334 (friendsMove): Call repaint() only after endOfGame is assigned.
12336 2006-02-02 Mark Wielaard <mark@klomp.org>
12338 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
12339 * java/util/AbstractCollection.java (toString): Only use Iterator,
12340 check whether collection contains itself.
12342 2006-02-01 Casey Marshall <csm@gnu.org>
12344 Partial fix for PR classpath/25143.
12345 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
12346 (<init>): fill in `algName,' derive `algOid' from `algName.'
12347 (getOid): new method.
12348 (encode): embed NULL value for parameters if `params' is `null.'
12350 2006-02-01 Casey Marshall <csm@gnu.org>
12352 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
12353 <monoman@gmail.com>.
12354 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
12355 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
12357 2006-02-01 Casey Marshall <csm@gnu.org>
12359 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
12360 * gnu/java/security/der/DERValue.java
12361 (getLength, getEncoded, getEncodedLength): throw an exception,
12362 don't initialize `encoded' to a bogus value.
12363 (toString): return a more helpful string.
12365 Partial fix for PR classpath/25144.
12366 * gnu/java/security/der/DERWriter.java (write): if the value is
12367 the pseudo-value used for CONSTRUCTED, write the encoded value
12370 2006-02-01 Tom Tromey <tromey@redhat.com>
12372 * java/security/Security.java (loadProviders): Use system class
12375 2006-02-01 Mark Wielaard <mark@klomp.org>
12377 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
12378 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
12379 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
12380 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
12381 (UnicodeCategoriesHandler): New private static class.
12383 2006-02-01 Lillian Angel <langel@redhat.com>
12385 * javax/swing/text/DefaultStyledDocument.java:
12386 Removed unneeded fields.
12387 (insertUpdate): Removed field initialization.
12388 (insertContentTag): Rewrote part of function. Still
12391 2006-02-01 Lillian Angel <langel@redhat.com>
12393 * javax/swing/text/DefaultStyledDocument.java
12394 (insertParagraph): Cleaned up code.
12395 (insertFirstContentTag): Fixed call to recreateLeaves.
12396 (insertContentTag): Added check to code to determine where
12397 content should be inserted with respect to next element.
12398 (createFracture): Removed check, recreateLeaves is called in
12399 other places when needed.
12400 (recreateLeaves): Added new parameter for paragraph instead
12401 of checking the stack. Removed editing for newBranch, replaced
12402 with a replace call.
12404 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
12406 * doc/unicode/Blocks-4.0.0.txt: New file.
12407 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
12408 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
12409 * scripts/unicode-blocks.pl: Copied this over from the generics branch
12410 but replaced some 1.5-only features (such as enum).
12412 2006-01-31 Roman Kennke <kennke@aicas.com>
12414 * javax/swing/text/PasswordView.java
12415 (drawSelectedText): Use drawEchoCharacter() method to draw echo
12417 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
12420 2006-01-31 Roman Kennke <kennke@aicas.com>
12422 * javax/swing/JTextField.java
12423 (getPreferredSize): Also include textfield's insets in width
12426 2006-01-31 Roman Kennke <kennke@aicas.com>
12428 * javax/swing/plaf/basic/BasicTextUI.java
12429 (getPreferredSize): Include the textcomponent's insets in
12432 2006-01-31 Roman Kennke <kennke@aicas.com>
12434 * javax/swing/table/DefaultTableCellRenderer.java
12435 (getTableCellRendererComponent): Moved setting of the value into
12436 setValue(). Removed (bogus) special handling of JTextField values.
12437 (setValue): Made ?: statement more clear by rewriting it
12440 2006-01-31 Roman Kennke <kennke@aicas.com>
12442 * javax/swing/JLayeredPane.java
12443 (insertIndexForLayer): Fixed algorithm to correctly determine
12444 inser index for positions >= 0.
12445 (addImpl): Fixed API docs for the index parameter.
12447 2006-01-31 Mark Wielaard <mark@klomp.org>
12449 * java/net/URI.java (getURIGroup): Check for null to see whether
12450 group actually exists.
12452 2006-01-31 Lillian Angel <langel@redhat.com>
12454 * javax/swing/text/DefaultStyledDocument.java
12455 (changeUpdate): Fixed calls to split to incorporate
12457 (insertParagraph): Likewise. Uses 0 as editIndex
12458 because inserting into a new paragraph.
12459 (insertContentTag): Fixed check to use
12460 recreateLeaves. Added a FIXME comment.
12461 (split): Added a new parameter for edits.
12463 2006-01-31 Roman Kennke <kennke@aicas.com>
12465 * javax/swing/plaf/basic/BasicRootPaneUI.java
12466 (installDefaults): Don't install a background color here.
12468 2006-01-31 Lillian Angel <langel@redhat.com>
12470 * javax/swing/text/DefaultStyledDocument.java
12471 (insert): Removed comment.
12472 (insertUpdate): Added comment.
12473 (recreateLeaves): Removed call to push newBranch onto the
12474 stack. This does not need to be done here.
12476 2006-01-31 Chris Burdess <dog@gnu.org>
12478 * gnu/xml/stream/SAXParser.java,
12479 gnu/xml/stream/UnicodeReader.java,
12480 gnu/xml/stream/XIncludeFilter.java,
12481 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
12482 only resolved the system ID not the stream. Make some utility methods
12483 public and static for use by other private XML APIs.
12484 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
12485 called without throwing IllegalStateException.
12486 * java/util/logging/SimpleFormatter.java: Write thrown exception if
12489 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
12492 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
12493 for an invalid index and return null for a skipped group.
12495 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
12498 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
12499 (NamedProperty): New inner class.
12500 (getNamedProperty): New method.
12501 (getRETokenNamedProperty): New Method.
12502 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
12503 * gnu/regexp/RETokenNamedProperty.java: New file.
12505 2006-01-31 Roman Kennke <kennke@aicas.com>
12507 * javax/swing/plaf/PlainView.java
12508 (paint): Call drawLine with baseline coordinates.
12509 (drawLine): Documented and indented this method.
12510 (drawUnselecetedText): Documented and indented this method.
12511 * javax/swing/plaf/text/Utilites.java
12512 (drawTabbedText): The coordinates denote the baseline of the text
12513 not the upper left corner.
12515 2006-01-31 Roman Kennke <kennke@aicas.com>
12517 * javax/swing/plaf/basic/BasicTextUI.java
12518 (createKeymap): Don't store KeyBindings[] as focusInputMap in
12519 UIManager. Added FIXME regarding the implementation of this method.
12521 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
12523 * examples/gnu/classpath/examples/swing/ButtonDemo.java
12524 (ButtonDemo): Move content initialisation to new method,
12525 (initFrameContent): New method,
12526 (main): Call initFrameContent(),
12527 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
12528 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
12529 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
12530 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
12531 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
12533 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
12535 * examples/gnu/classpath/examples/swing/Demo.java
12536 (Demo): Set frame size,
12537 (mkButtonBar): Removed stacked sub-panels.
12539 2006-01-30 Lillian Angel <langel@redhat.com>
12541 * javax/swing/text/DefaultStyledDocument.java:
12543 (insert): Initialized fields. Removed call to addEdit,
12544 and created ElementEdit instead.
12545 (insertUpdate): Added check for fracturing. If the
12546 fracturing was not successful, we should push the
12547 last element back on the stack.
12548 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
12549 Also, changed replace calls to use Edit.
12550 (insertFirstContentTag): Removed unneeded check and fixed call
12552 (insertContent): Fixed check to use new fields. Added code in
12553 to check if leaves overlap.
12554 (createFracture): Fixed call to recreateLeaves.
12555 (recreateLeaves): Fixed code and cleaned it up a bit.
12556 (insertFracture): Set fracNotCreated field.
12557 (addEdit): Removed, this method is not needed.
12559 2006-01-30 Roman Kennke <kennke@aicas.com>
12561 * javax/swing/JRootPane.java
12562 (RootLayout.prefSize): Removed caching for preferredSize.
12563 (RootLayout.invalidateLayout): Likewise.
12564 (RootLayout.preferredLayoutSize): Likewise.
12566 2006-01-30 Roman Kennke <kennke@aicas.com>
12569 * javax/swing/JFrame.java
12570 (frameInit): Handle the defaultLookAndFeelDecorated flag.
12571 * javax/swing/plaf/metal/MetalRootPaneUI.java
12572 (MetalFrameBorder): New inner class, provides the border for
12573 top level containers with L&F decorations.
12574 (MetalTitlePane): New inner class, provides the title pane for
12575 top level containers with L&F decorations.
12576 (MetalRootLayout): New inner class. Used to layout the root pane
12577 when L&F window decorations are enabled.
12578 (installUI): New method. Handles window decorations.
12579 (uninstallUI): New method. Handles window decorations.
12580 (propertyChange): Handles window decorations.
12581 (installWindowDecorations): New method. Handles window
12583 (uninstallWindowDecorations): New method. Handles window
12585 * javax/swing/plaf/metal/MetalLookAndFeel.java
12586 (getSupportsWindowDecorations): Overridden to return true.
12588 2006-01-30 Mark Wielaard <mark@klomp.org>
12590 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
12591 IllegalArgumentException when orientation is illegal.
12592 (JProgressBar(int, int, int)): Likewise and throw exception.
12593 (setOrientation): Likewise.
12595 2006-01-30 Roman Kennke <kennke@aicas.com>
12597 * javax/swing/ViewportLayout.java
12598 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
12600 2006-01-30 Mark Wielaard <mark@klomp.org>
12602 * javax/swing/JProgressBar.java (orientation): Always set by
12604 (JProgressBar(int)): Document default on 'illegal' value.
12605 (JProgressBar(int, int, int)): Likewise and set orientation to
12606 HORIZONTAL when 'illegal'.
12607 (setOrientation): Likewise.
12609 2006-01-30 Roman Kennke <kennke@aicas.com>
12611 * javax/swing/plaf/basic/BasicListUI.java
12612 (ListDataHandler.contentsChanged): Update the
12613 updateLayoutStateNeeded flag.
12614 (ListDataHandler.intervalAdded): Update the
12615 updateLayoutStateNeeded flag.
12616 (ListDataHandler.intervalRemoved): Update the
12617 updateLayoutStateNeeded flag.
12618 (PropertyChangeHandler.propertyChange): Correctly update the
12619 listeners on new list model.
12620 (maybeUpdateLayoutState): Don't consider the validation state
12623 2006-01-30 Mark Wielaard <mark@klomp.org>
12625 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
12628 2006-01-30 Roman Kennke <kennke@aicas.com>
12630 * javax/swing/JLayeredPane.java
12631 (insertIndexForLayer): Fixed algorithm to correctly insert
12632 components within different layers and -1 position.
12634 2006-01-30 Mark Wielaard <mark@klomp.org>
12636 * doc/api/Makefile.am (create_html): Add -validhtml.
12638 2006-01-30 Roman Kennke <kennke@aicas.com>
12640 * javax/swing/JLayeredPane.java
12641 (insertIndexForLayer): Fixed algorithm to correctly insert
12642 components within same layer and -1 position.
12644 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
12647 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
12648 New execution flag.
12649 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
12650 implicit RETokenEnd at the end of the regexp chain.
12651 Do not select the longest match, but select the first match.
12652 (match): Do not take care of REMatch.empty.
12653 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
12654 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
12655 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
12656 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
12657 Do not take care of REMatch.empty. Set and check REMatch.empty
12658 when trying to match the single token.
12660 2006-01-30 Mark Wielaard <mark@klomp.org>
12662 * java/awt/Cursor.java (toString): Include name and type.
12664 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
12666 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
12668 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
12670 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12673 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
12674 Consider the validation state of the list.
12676 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
12678 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
12680 * java/beans/XMLDecoder.java:
12681 (setExceptionListener): Use shared DefaultExceptionListener
12683 * java/beans/Encoder.java:
12684 (setExceptionListener): Use shared DefaultExceptionListener
12687 2006-01-29 Roman Kennke <kennke@aicas.com>
12689 * javax/swing/ScrollPaneLayout.java
12690 (minimumLayoutSize): Rewritten to match JDKs behaviour.
12692 2006-01-29 Mark Wielaard <mark@klomp.org>
12694 * java/net/SocketPermission.java (setActions): Trim and lower case
12697 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
12699 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
12700 incorrectly failing primality test for some known primes. Fixed.
12701 (passFermatLittleTheorem): Removed.
12702 (passMillerRabin): Removed.
12703 (isProbablePrime): Cache primes that pass the primality tests.
12704 Use BigInteger.isProbablePrime(int) for primality tests.
12705 (debugBI): New static debugging method.
12707 2006-01-28 Roman Kennke <kennke@aicas.com>
12709 * javax/swing/plaf/basic/BasicListUI.java
12710 (updateLayoutState): Removed unneeded special case for VERTICAL.
12712 2006-01-28 Roman Kennke <kennke@aicas.com>
12714 * javax/swing/plaf/basic/BasicListUI.java
12715 (getCellBounds): Determine correct list width when having a
12716 layoutOrientation of VERTICAL.
12717 (maybeUpdateLayoutState): Don't consider the validation state of
12720 2006-01-28 Mark Wielaard <mark@klomp.org>
12722 Reported by Dimitri Fontaine <dimitri@dalibo.com>
12723 * java/awt/print/NoPrinterJob.java: New (fake) class.
12724 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
12726 2006-01-28 Mark Wielaard <mark@klomp.org>
12728 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
12730 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12732 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
12733 (addChildren): New method.
12735 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
12737 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
12738 constructor for cloning purposes.
12739 (clone): New implementation that ensures cloning.
12740 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
12741 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
12744 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12746 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
12747 Call updateCurrentVisiblePath.
12749 2006-01-27 Roman Kennke <kennke@aicas.com>
12751 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
12753 2006-01-27 Roman Kennke <kennke@aicas.com>
12755 * examples/gnu/classpath/examples/swing/ButtonDemo.java
12756 (createContent): Only create new content if we don't have one
12758 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
12759 (createContent): Only create new content if we don't have one
12761 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
12762 (createContent): Only create new content if we don't have one
12764 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
12765 (createContent): Only create new content if we don't have one
12767 * examples/gnu/classpath/examples/swing/SliderDemo.java
12768 (createContent): Only create new content if we don't have one
12770 * examples/gnu/classpath/examples/swing/TableDemo.java
12771 (createContent): Only create new content if we don't have one
12773 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
12774 (createContent): Only create new content if we don't have one
12777 2006-01-27 Lillian Angel <langel@redhat.com>
12779 * javax/swing/text/DefaultStyledDocument.java
12780 (insertFirstContentTag): Removed check, not needed. This
12781 still needs to be fixed for some cases. Added call to
12783 (createFracture): Added call to recreateLeaves.
12784 (recreateLeaves): New method used to recreate all the
12785 leaves after the initial insertion. This still needs
12787 (handleInsertAfterNewline): Removed else, not needed.
12789 2006-01-27 Roman Kennke <kennke@aicas.com>
12791 * javax/swing/JLayeredPane.java
12792 (inserIndexForLayer): Fixed direction of search.
12794 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12796 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
12797 node into nodeStates.
12799 2006-01-27 Roman Kennke <kennke@aicas.com>
12801 * javax/swing/JLayeredPane.java
12802 (FRAME_CONTENT_LAYER): Made field final.
12803 (componentToLayer): Made field private.
12804 (rectCache): Removed field.
12805 (layers): Removed field.
12806 (JLayeredPane()): Removed initialization of removed fields.
12807 (getLayer): Rewritten to make use of client properties in
12808 JComponents and to be more straighforward.
12809 (static getLayer): Rewritten to make use of client properties in
12811 (layerToRange): Removed method.
12812 (incrLayer): Removed method.
12813 (decrLayer): Removed method.
12814 (highestLayer): Rewritten to be more straightforward.
12815 (lowestLayer): Rewritten to be more straightforward.
12816 (getPosition): Rewritten to be more straightforward.
12817 (getComponentsInLayer): Rewritten to be more straightforward.
12818 (getComponentCountInLayer): Rewritten to be more straightforward.
12819 (getIndexOf): Rewritten to be more straightforward.
12820 (inserIndexForLayer): Rewritten to be more straightforward.
12821 (remove): Rewritten to be more straightforward.
12822 (setLayer): Rewritten to be more straightforward.
12823 (addImpl): Rewritten to be more straightforward.
12824 (putLayer): Rewritten to be more straightforward.
12826 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
12828 * java/lang/Character.java:
12829 (offsetByCodePoints(CharSequence, int, int)): New API method.
12830 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
12831 (toChars): Throw the Exception that the docs say we throw.
12832 (codePointAt): Fixed an off-by-one error in the bounds of the if
12834 * java/lang/String.java:
12835 (String(int[], int, int)): New API constructor.
12837 2006-01-27 Lillian Angel <langel@redhat.com>
12839 * javax/swing/text/DefaultStyledDocument.java
12840 (insert): Moved this loop to insertUpdate.
12841 (insertUpdate): Likewise. Fixed variable
12842 names. Incremented pos if new paragraph
12844 (split): Changed edits to use replace instead. Prevents
12846 (insertFirstContentTag): Removed else.
12847 (insertContentTag): Implemented else for JoinNextDirection.
12848 (createFracture): Fixed up code, still not fully complete.
12849 (insertFracture): Fixed to use return value from
12850 recreateAfterFracture.
12851 (recreateAfterFracture): Changed to return an array of the
12852 elements to be added. This prevents an assertion error.
12853 (contains): New function checks if an element is already in
12854 the Vector. Vector's contain function was not enough to use.
12855 (addAddedElement): Changed to use new contains function.
12856 (addAddedElements): Likewise.
12857 (addRemovedElement): Likewise.
12858 (addRemovedElements): Likewise.
12860 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12863 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
12864 If no user class loaders found on the stack, return the thread
12865 context class loader. (currentClassLoader): Explained.
12867 2006-01-27 Roman Kennke <kennke@aicas.com>
12869 * java/awt/Container.java
12870 (swapComponents): Removed unspecified method.
12871 * javax/swing/JLayeredPane.java
12872 (setPosition): Reimplemented correctly.
12873 (swapComponents): New helper method.
12875 2006-01-27 Mark Wielaard <mark@klomp.org>
12877 * configure.ac: Set version to 0.21-pre.
12879 2006-01-27 Roman Kennke <kennke@aicas.com>
12882 * javax/swing/JComponent.java
12883 (findOverlapFreeParent): Improved the algorithm to make better use
12884 of the optimizedDrawingEnabled flag.
12885 * javax/swing/JLayeredPane.java
12886 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
12887 * javax/swing/JViewport.java
12888 (computeBlit): Fixed check to decide if blitting is possible or not,
12889 so that it doesn't blit if nothing was scrolled (in order to
12890 update the buffer when the view updates itself).
12892 2006-01-27 Roman Kennke <kennke@aicas.com>
12894 * javax/swing/plaf/metal/MetalFileChooserUI.java
12895 (createList): Don't set scrollbar policy.
12897 2006-01-27 Roman Kennke <kennke@aicas.com>
12899 * javax/swing/plaf/basic/BasicPopupMenuUI.java
12900 (PopupMenuHandler.popupMenuWillBecomeInvisible):
12901 Fixed to also handle non-Swing toplevel containers.
12902 (PopupMenuHandler.popupMenuWillBecomeVisible):
12903 Fixed to also handle non-Swing toplevel containers.
12904 * javax/swing/Popup.java
12905 (JWindowPopup.JWindowPopup()): Correctly set parent window on
12908 2006-01-27 Roman Kennke <kennke@aicas.com>
12910 * javax/swing/plaf/basic/BasicInternalFrameUI.java
12911 (InternalFramePropertyChangeListener): Don't implement
12912 VetoableChangeListener.
12913 (InternalFramePropertyChangeListener.vetoableChange): Removed.
12914 (internalFrameVetoableChangeListener): Removed unneeded field.
12915 (installListeners): Don't install vetoableChangeListener.
12916 * javax/swing/event/DocumentEvent.java
12917 (EventType): Made class final.
12919 2006-01-27 Roman Kennke <kennke@aicas.com>
12921 * javax/swing/SwingUtilities.java
12922 (calculateInsetArea): Removed unneeded method. The method
12923 calculateInnerArea has the same purpose and is actually specified.
12924 (calculateInnerArea): Rewritten to not use calculateInsetArea.
12925 * javax/swing/plaf/basic/BasicMenuItemUI.java
12926 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
12927 of SwingUtilities.calculateInsetArea().
12929 2006-01-27 Roman Kennke <kennke@aicas.com>
12931 * javax/swing/plaf/basic/BasicTreeUI.java
12932 (installDefaults): Removed requestFocusInWindow() call.
12933 * javax/swing/JComponent.java
12934 (requestFocusInWindow(boolean)): Made method protected.
12935 (printComponent): Made method protected.
12936 (printChildren): Made method protected.
12937 (printComponent): Made method protected.
12938 (printBorder): Made method protected.
12940 2006-01-27 Roman Kennke <kennke@aicas.com>
12942 * javax/swing/AbstractButton.java
12943 (ButtonChangeListener.ButtonChangeListener()): Made constructor
12945 * javax/swing/ImageIcon.java
12946 (component): Made field final.
12947 (tracker): Made field final.
12948 * javax/swing/JApplet.java
12949 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
12950 * javax/swing/JCheckBox.java
12951 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
12953 * javax/swing/JDialog.java
12954 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
12955 * javax/swing/JFrame.java
12956 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
12957 * javax/swing/JLayeredPane.java
12958 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
12960 (DEFAULT_LAYER): Made field final.
12961 (PALETTE_LAYER): Made field final.
12962 (MODAL_LAYER): Made field final.
12963 (POPUP_LAYER): Made field final.
12964 (DRAG_LAYER): Made field final.
12965 * javax/swing/JMenu.java
12966 (ActionChangeListener): Made class private.
12967 * javax/swing/JOptionPane.java
12968 (UNITITIALIZED_VALUE): Made field final.
12969 * javax/swing/JPanel.java
12970 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
12971 * javax/swing/JPopupMenu.java
12972 (ActionChangeListener): Made class private.
12973 * javax/swing/JTree.java
12974 (paramString): Made method protected.
12975 * javax/swing/JViewport.java
12976 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
12977 * javax/swing/JWindow.java
12978 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
12979 * javax/swing/RepaintManager.java
12980 (RepaintWorker): Made class private.
12982 2006-01-27 Roman Kennke <kennke@aicas.com>
12984 * gnu/java/awt/peer/swing/SwingComponentPeer.java
12985 (handleEvent): Removed debug statement.
12987 2006-01-27 Roman Kennke <kennke@aicas.com>
12989 * java/awt/Component.java
12990 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
12991 more than it helps.
12993 2006-01-26 Lillian Angel <langel@redhat.com>
12995 * javax/swing/text/DefaultStyledDocument.java
12996 (createFracture): Commented out a known problem,
12999 2006-01-26 Lillian Angel <langel@redhat.com>
13001 * javax/swing/text/DefaultStyledDocument.java
13002 (ElementBuffer): Added fields.
13003 (remove): Initialized pos.
13004 (change): Likewise.
13005 (insert): Likewise.
13006 (insertUpdate): Incremented pos. Fixed check, createFracture should
13007 be called on first tag if it is not ContentType.
13008 (insertFirstContentTag): Reworked to use proper offsets and
13009 set offset accordingly. This might need more work in the future.
13010 (insertContentTag): Likewise. Fixed to use pos, instead of
13012 (createFracture): Fixed to recreate other leaves. Still needs
13014 (insertFracture): Reimplemented.
13015 (recreateAfterFracture): New method.
13016 (getParagraphElement): Reimplemented, more efficent.
13018 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
13020 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
13021 (doubleToRawLongBits, longBitsToDouble): Swap the byte
13022 ordering for little-endian arms without VFP.
13024 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
13027 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
13029 2006-01-26 Mark Wielaard <mark@klomp.org>
13031 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
13032 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
13033 Add trailing zeros to the fraction of the decimal with the smallest
13036 2006-01-26 Roman Kennke <kennke@aicas.com>
13038 * javax/swing/text/html/ObjectView.java: New file.
13040 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13042 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13043 Call startEditing when appropriate.
13044 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
13045 (startEditing): Always edit if directly ordered from
13046 MouseHandler.mousePressed.
13047 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
13048 New field. (createTreeCellEditor): Set click count to start.
13049 (getTreeCellEditorComponent): Assing realEditor directly.
13051 2006-01-25 Casey Marshall <csm@gnu.org>
13053 Merging GNU Crypto and Jessie.
13055 * NEWS: mention the merge in the 0.21 notes.
13056 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
13057 (SSL_RECORD_LAYER): new constants.
13058 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
13060 * resource/java/security/classpath.security: add new providers.
13061 * gnu/javax/crypto/assembly/Assembly.java,
13062 gnu/javax/crypto/assembly/Cascade.java,
13063 gnu/javax/crypto/assembly/CascadeStage.java,
13064 gnu/javax/crypto/assembly/CascadeTransformer.java,
13065 gnu/javax/crypto/assembly/DeflateTransformer.java,
13066 gnu/javax/crypto/assembly/Direction.java,
13067 gnu/javax/crypto/assembly/LoopbackTransformer.java,
13068 gnu/javax/crypto/assembly/ModeStage.java,
13069 gnu/javax/crypto/assembly/Operation.java,
13070 gnu/javax/crypto/assembly/PaddingTransformer.java,
13071 gnu/javax/crypto/assembly/Stage.java,
13072 gnu/javax/crypto/assembly/Transformer.java,
13073 gnu/javax/crypto/assembly/TransformerException.java,
13074 gnu/javax/crypto/cipher/Anubis.java,
13075 gnu/javax/crypto/cipher/BaseCipher.java,
13076 gnu/javax/crypto/cipher/Blowfish.java,
13077 gnu/javax/crypto/cipher/Cast5.java,
13078 gnu/javax/crypto/cipher/CipherFactory.java,
13079 gnu/javax/crypto/cipher/DES.java,
13080 gnu/javax/crypto/cipher/IBlockCipher.java,
13081 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
13082 gnu/javax/crypto/cipher/Khazad.java,
13083 gnu/javax/crypto/cipher/NullCipher.java,
13084 gnu/javax/crypto/cipher/Rijndael.java,
13085 gnu/javax/crypto/cipher/Serpent.java,
13086 gnu/javax/crypto/cipher/Square.java,
13087 gnu/javax/crypto/cipher/TripleDES.java,
13088 gnu/javax/crypto/cipher/Twofish.java,
13089 gnu/javax/crypto/cipher/WeakKeyException.java,
13090 gnu/javax/crypto/jce/GnuCrypto.java,
13091 gnu/javax/crypto/jce/GnuSasl.java,
13092 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
13093 gnu/javax/crypto/jce/cipher/AESSpi.java,
13094 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
13095 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
13096 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
13097 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
13098 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
13099 gnu/javax/crypto/jce/cipher/DESSpi.java,
13100 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
13101 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
13102 gnu/javax/crypto/jce/cipher/PBES2.java,
13103 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
13104 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
13105 gnu/javax/crypto/jce/cipher/SquareSpi.java,
13106 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
13107 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
13108 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
13109 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
13110 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
13111 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
13112 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
13113 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
13114 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
13115 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
13116 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
13117 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
13118 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
13119 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
13120 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
13121 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
13122 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
13123 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
13124 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
13125 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
13126 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
13127 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
13128 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
13129 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
13130 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
13131 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
13132 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
13133 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
13134 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
13135 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
13136 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
13137 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
13138 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
13139 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
13140 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
13141 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
13142 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
13143 gnu/javax/crypto/jce/mac/MacAdapter.java,
13144 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
13145 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
13146 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
13147 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
13148 gnu/javax/crypto/jce/mac/OMacImpl.java,
13149 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
13150 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
13151 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
13152 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
13153 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
13154 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
13155 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
13156 gnu/javax/crypto/jce/mac/UHash32Spi.java,
13157 gnu/javax/crypto/jce/mac/UMac32Spi.java,
13158 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
13159 gnu/javax/crypto/jce/params/DEREncodingException.java,
13160 gnu/javax/crypto/jce/params/DERReader.java,
13161 gnu/javax/crypto/jce/params/DERWriter.java,
13162 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
13163 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
13164 gnu/javax/crypto/jce/prng/FortunaImpl.java,
13165 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
13166 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
13167 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
13168 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
13169 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
13170 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
13171 gnu/javax/crypto/key/GnuSecretKey.java,
13172 gnu/javax/crypto/key/IKeyAgreementParty.java,
13173 gnu/javax/crypto/key/IncomingMessage.java,
13174 gnu/javax/crypto/key/KeyAgreementException.java,
13175 gnu/javax/crypto/key/KeyAgreementFactory.java,
13176 gnu/javax/crypto/key/OutgoingMessage.java,
13177 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
13178 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
13179 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
13180 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
13181 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
13182 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
13183 gnu/javax/crypto/key/dh/ElGamalSender.java,
13184 gnu/javax/crypto/key/dh/GnuDHKey.java,
13185 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
13186 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
13187 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
13188 gnu/javax/crypto/key/dh/RFC2631.java,
13189 gnu/javax/crypto/key/srp6/SRP6Host.java,
13190 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
13191 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
13192 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
13193 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
13194 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
13195 gnu/javax/crypto/key/srp6/SRP6User.java,
13196 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
13197 gnu/javax/crypto/key/srp6/SRPKey.java,
13198 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
13199 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
13200 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
13201 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
13202 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
13203 gnu/javax/crypto/keyring/BaseKeyring.java,
13204 gnu/javax/crypto/keyring/BinaryDataEntry.java,
13205 gnu/javax/crypto/keyring/CertPathEntry.java,
13206 gnu/javax/crypto/keyring/CertificateEntry.java,
13207 gnu/javax/crypto/keyring/CompressedEntry.java,
13208 gnu/javax/crypto/keyring/EncryptedEntry.java,
13209 gnu/javax/crypto/keyring/Entry.java,
13210 gnu/javax/crypto/keyring/EnvelopeEntry.java,
13211 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
13212 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
13213 gnu/javax/crypto/keyring/IKeyring.java,
13214 gnu/javax/crypto/keyring/IPrivateKeyring.java,
13215 gnu/javax/crypto/keyring/IPublicKeyring.java,
13216 gnu/javax/crypto/keyring/MalformedKeyringException.java,
13217 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
13218 gnu/javax/crypto/keyring/MeteredInputStream.java,
13219 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
13220 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
13221 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
13222 gnu/javax/crypto/keyring/PrimitiveEntry.java,
13223 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
13224 gnu/javax/crypto/keyring/Properties.java,
13225 gnu/javax/crypto/keyring/PublicKeyEntry.java,
13226 gnu/javax/crypto/mac/BaseMac.java,
13227 gnu/javax/crypto/mac/HMac.java,
13228 gnu/javax/crypto/mac/HMacFactory.java,
13229 gnu/javax/crypto/mac/IMac.java,
13230 gnu/javax/crypto/mac/MacFactory.java,
13231 gnu/javax/crypto/mac/MacInputStream.java,
13232 gnu/javax/crypto/mac/MacOutputStream.java,
13233 gnu/javax/crypto/mac/OMAC.java,
13234 gnu/javax/crypto/mac/TMMH16.java,
13235 gnu/javax/crypto/mac/UHash32.java,
13236 gnu/javax/crypto/mac/UMac32.java,
13237 gnu/javax/crypto/mode/BaseMode.java,
13238 gnu/javax/crypto/mode/CBC.java,
13239 gnu/javax/crypto/mode/CFB.java,
13240 gnu/javax/crypto/mode/CTR.java,
13241 gnu/javax/crypto/mode/EAX.java,
13242 gnu/javax/crypto/mode/ECB.java,
13243 gnu/javax/crypto/mode/IAuthenticatedMode.java,
13244 gnu/javax/crypto/mode/ICM.java,
13245 gnu/javax/crypto/mode/IMode.java,
13246 gnu/javax/crypto/mode/ModeFactory.java,
13247 gnu/javax/crypto/mode/OFB.java,
13248 gnu/javax/crypto/pad/BasePad.java,
13249 gnu/javax/crypto/pad/IPad.java,
13250 gnu/javax/crypto/pad/PKCS1_V1_5.java,
13251 gnu/javax/crypto/pad/PKCS7.java,
13252 gnu/javax/crypto/pad/PadFactory.java,
13253 gnu/javax/crypto/pad/SSL3.java,
13254 gnu/javax/crypto/pad/TBC.java,
13255 gnu/javax/crypto/pad/TLS1.java,
13256 gnu/javax/crypto/pad/WrongPaddingException.java,
13257 gnu/javax/crypto/prng/ARCFour.java,
13258 gnu/javax/crypto/prng/CSPRNG.java,
13259 gnu/javax/crypto/prng/Fortuna.java,
13260 gnu/javax/crypto/prng/ICMGenerator.java,
13261 gnu/javax/crypto/prng/IPBE.java,
13262 gnu/javax/crypto/prng/PBKDF2.java,
13263 gnu/javax/crypto/prng/PRNGFactory.java,
13264 gnu/javax/crypto/prng/UMacGenerator.java,
13265 gnu/javax/crypto/sasl/AuthInfo.java,
13266 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
13267 gnu/javax/crypto/sasl/ClientFactory.java,
13268 gnu/javax/crypto/sasl/ClientMechanism.java,
13269 gnu/javax/crypto/sasl/ConfidentialityException.java,
13270 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
13271 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
13272 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
13273 gnu/javax/crypto/sasl/InputBuffer.java,
13274 gnu/javax/crypto/sasl/IntegrityException.java,
13275 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
13276 gnu/javax/crypto/sasl/NoSuchUserException.java,
13277 gnu/javax/crypto/sasl/OutputBuffer.java,
13278 gnu/javax/crypto/sasl/SaslEncodingException.java,
13279 gnu/javax/crypto/sasl/SaslInputStream.java,
13280 gnu/javax/crypto/sasl/SaslOutputStream.java,
13281 gnu/javax/crypto/sasl/SaslUtil.java,
13282 gnu/javax/crypto/sasl/ServerFactory.java,
13283 gnu/javax/crypto/sasl/ServerMechanism.java,
13284 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
13285 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
13286 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
13287 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
13288 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
13289 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
13290 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
13291 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
13292 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
13293 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
13294 gnu/javax/crypto/sasl/plain/PasswordFile.java,
13295 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
13296 gnu/javax/crypto/sasl/plain/PlainClient.java,
13297 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
13298 gnu/javax/crypto/sasl/plain/PlainServer.java,
13299 gnu/javax/crypto/sasl/srp/CALG.java,
13300 gnu/javax/crypto/sasl/srp/ClientStore.java,
13301 gnu/javax/crypto/sasl/srp/IALG.java,
13302 gnu/javax/crypto/sasl/srp/KDF.java,
13303 gnu/javax/crypto/sasl/srp/PasswordFile.java,
13304 gnu/javax/crypto/sasl/srp/SRP.java,
13305 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
13306 gnu/javax/crypto/sasl/srp/SRPClient.java,
13307 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
13308 gnu/javax/crypto/sasl/srp/SRPServer.java,
13309 gnu/javax/crypto/sasl/srp/SecurityContext.java,
13310 gnu/javax/crypto/sasl/srp/ServerStore.java,
13311 gnu/javax/crypto/sasl/srp/StoreEntry.java,
13312 gnu/javax/net/ssl/Base64.java,
13313 gnu/javax/net/ssl/EntropySource.java,
13314 gnu/javax/net/ssl/NullManagerParameters.java,
13315 gnu/javax/net/ssl/PrivateCredentials.java,
13316 gnu/javax/net/ssl/SRPManagerParameters.java,
13317 gnu/javax/net/ssl/SRPTrustManager.java,
13318 gnu/javax/net/ssl/StaticTrustAnchors.java,
13319 gnu/javax/net/ssl/provider/Alert.java,
13320 gnu/javax/net/ssl/provider/AlertException.java,
13321 gnu/javax/net/ssl/provider/Certificate.java,
13322 gnu/javax/net/ssl/provider/CertificateRequest.java,
13323 gnu/javax/net/ssl/provider/CertificateType.java,
13324 gnu/javax/net/ssl/provider/CertificateVerify.java,
13325 gnu/javax/net/ssl/provider/CipherSuite.java,
13326 gnu/javax/net/ssl/provider/ClientHello.java,
13327 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
13328 gnu/javax/net/ssl/provider/CompressionMethod.java,
13329 gnu/javax/net/ssl/provider/Constructed.java,
13330 gnu/javax/net/ssl/provider/ContentType.java,
13331 gnu/javax/net/ssl/provider/Context.java,
13332 gnu/javax/net/ssl/provider/DiffieHellman.java,
13333 gnu/javax/net/ssl/provider/DigestInputStream.java,
13334 gnu/javax/net/ssl/provider/DigestOutputStream.java,
13335 gnu/javax/net/ssl/provider/Enumerated.java,
13336 gnu/javax/net/ssl/provider/Extension.java,
13337 gnu/javax/net/ssl/provider/Extensions.java,
13338 gnu/javax/net/ssl/provider/Finished.java,
13339 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
13340 gnu/javax/net/ssl/provider/Handshake.java,
13341 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
13342 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
13343 gnu/javax/net/ssl/provider/Jessie.java,
13344 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
13345 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
13346 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
13347 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
13348 gnu/javax/net/ssl/provider/KeyPool.java,
13349 gnu/javax/net/ssl/provider/MacException.java,
13350 gnu/javax/net/ssl/provider/OverflowException.java,
13351 gnu/javax/net/ssl/provider/PRNG.java,
13352 gnu/javax/net/ssl/provider/ProtocolVersion.java,
13353 gnu/javax/net/ssl/provider/Random.java,
13354 gnu/javax/net/ssl/provider/RecordInput.java,
13355 gnu/javax/net/ssl/provider/RecordInputStream.java,
13356 gnu/javax/net/ssl/provider/RecordOutputStream.java,
13357 gnu/javax/net/ssl/provider/RecordingInputStream.java,
13358 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
13359 gnu/javax/net/ssl/provider/SSLHMac.java,
13360 gnu/javax/net/ssl/provider/SSLRSASignature.java,
13361 gnu/javax/net/ssl/provider/SSLRandom.java,
13362 gnu/javax/net/ssl/provider/SSLServerSocket.java,
13363 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
13364 gnu/javax/net/ssl/provider/SSLSocket.java,
13365 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
13366 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
13367 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
13368 gnu/javax/net/ssl/provider/SecurityParameters.java,
13369 gnu/javax/net/ssl/provider/ServerHello.java,
13370 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
13371 gnu/javax/net/ssl/provider/Session.java,
13372 gnu/javax/net/ssl/provider/SessionContext.java,
13373 gnu/javax/net/ssl/provider/Signature.java,
13374 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
13375 gnu/javax/net/ssl/provider/TLSHMac.java,
13376 gnu/javax/net/ssl/provider/TLSRandom.java,
13377 gnu/javax/net/ssl/provider/Util.java,
13378 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
13379 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
13380 gnu/javax/net/ssl/provider/XMLSessionContext.java,
13381 gnu/javax/security/auth/Password.java,
13382 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
13383 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
13384 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
13385 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
13386 gnu/javax/security/auth/callback/GnuCallbacks.java,
13387 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
13388 gnu/java/security/Registry.java,
13389 gnu/java/security/Properties.java,
13390 gnu/java/security/hash/BaseHash.java,
13391 gnu/java/security/hash/HashFactory.java,
13392 gnu/java/security/hash/Haval.java,
13393 gnu/java/security/hash/IMessageDigest.java,
13394 gnu/java/security/hash/MD2.java,
13395 gnu/java/security/hash/MD4.java,
13396 gnu/java/security/hash/MD5.java,
13397 gnu/java/security/hash/RipeMD128.java,
13398 gnu/java/security/hash/RipeMD160.java,
13399 gnu/java/security/hash/Sha160.java,
13400 gnu/java/security/hash/Sha256.java,
13401 gnu/java/security/hash/Sha384.java,
13402 gnu/java/security/hash/Sha512.java,
13403 gnu/java/security/hash/Tiger.java,
13404 gnu/java/security/hash/Whirlpool.java,
13405 gnu/java/security/jce/hash/HavalSpi.java,
13406 gnu/java/security/jce/hash/MD2Spi.java,
13407 gnu/java/security/jce/hash/MD4Spi.java,
13408 gnu/java/security/jce/hash/MD5Spi.java,
13409 gnu/java/security/jce/hash/MessageDigestAdapter.java,
13410 gnu/java/security/jce/hash/RipeMD128Spi.java,
13411 gnu/java/security/jce/hash/RipeMD160Spi.java,
13412 gnu/java/security/jce/hash/Sha160Spi.java,
13413 gnu/java/security/jce/hash/Sha256Spi.java,
13414 gnu/java/security/jce/hash/Sha384Spi.java,
13415 gnu/java/security/jce/hash/Sha512Spi.java,
13416 gnu/java/security/jce/hash/TigerSpi.java,
13417 gnu/java/security/jce/hash/WhirlpoolSpi.java,
13418 gnu/java/security/jce/prng/HavalRandomSpi.java,
13419 gnu/java/security/jce/prng/MD2RandomSpi.java,
13420 gnu/java/security/jce/prng/MD4RandomSpi.java,
13421 gnu/java/security/jce/prng/MD5RandomSpi.java,
13422 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
13423 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
13424 gnu/java/security/jce/prng/SecureRandomAdapter.java,
13425 gnu/java/security/jce/prng/Sha160RandomSpi.java,
13426 gnu/java/security/jce/prng/Sha256RandomSpi.java,
13427 gnu/java/security/jce/prng/Sha384RandomSpi.java,
13428 gnu/java/security/jce/prng/Sha512RandomSpi.java,
13429 gnu/java/security/jce/prng/TigerRandomSpi.java,
13430 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
13431 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
13432 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
13433 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
13434 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
13435 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
13436 gnu/java/security/jce/sig/SignatureAdapter.java,
13437 gnu/java/security/key/IKeyPairCodec.java,
13438 gnu/java/security/key/IKeyPairGenerator.java,
13439 gnu/java/security/key/KeyPairCodecFactory.java,
13440 gnu/java/security/key/KeyPairGeneratorFactory.java,
13441 gnu/java/security/key/dss/DSSKey.java,
13442 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
13443 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
13444 gnu/java/security/key/dss/DSSPrivateKey.java,
13445 gnu/java/security/key/dss/DSSPublicKey.java,
13446 gnu/java/security/key/dss/FIPS186.java,
13447 gnu/java/security/key/rsa/GnuRSAKey.java,
13448 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
13449 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
13450 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
13451 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
13452 gnu/java/security/prng/BasePRNG.java,
13453 gnu/java/security/prng/EntropySource.java,
13454 gnu/java/security/prng/IRandom.java,
13455 gnu/java/security/prng/LimitReachedException.java,
13456 gnu/java/security/prng/MDGenerator.java,
13457 gnu/java/security/prng/PRNGFactory.java,
13458 gnu/java/security/prng/RandomEvent.java,
13459 gnu/java/security/prng/RandomEventListener.java,
13460 gnu/java/security/sig/BaseSignature.java,
13461 gnu/java/security/sig/ISignature.java,
13462 gnu/java/security/sig/ISignatureCodec.java,
13463 gnu/java/security/sig/SignatureFactory.java,
13464 gnu/java/security/sig/dss/DSSSignature.java,
13465 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
13466 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
13467 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
13468 gnu/java/security/sig/rsa/EMSA_PSS.java,
13469 gnu/java/security/sig/rsa/RSA.java,
13470 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
13471 gnu/java/security/sig/rsa/RSAPSSSignature.java,
13472 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
13473 gnu/java/security/util/Base64.java,
13474 gnu/java/security/util/ExpirableObject.java,
13475 gnu/java/security/util/Prime2.java,
13476 gnu/java/security/util/Sequence.java,
13477 gnu/java/security/util/SimpleList.java,
13478 gnu/java/security/util/Util.java,
13479 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
13480 new files imported from GNU Crypto and Jessie.
13482 2006-01-25 Tom Tromey <tromey@redhat.com>
13484 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
13485 Fixed calculation of number of bytes to read.
13486 (size, count, meta, eof): Document.
13488 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
13490 * java/lang/Character.java:
13491 (codePointCount(char[], int, int)): New API method.
13492 (codePointCount(CharSequence, int, int)): Likewise.
13494 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13497 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
13499 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
13500 action if not editing.
13501 * javax/swing/plaf/basic/BasicTreeUI.java
13502 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
13503 (CellEditorHandler.editingStopped): Delegate to stopEditing.
13504 (EditorUpdateTimer): Removed.
13505 (TreeAction.actionPerformed): Stop and not cancel the current editing
13506 when starting editing another node.
13507 (editorTimer, newVal): Removed.
13508 (cancelEditing): Do not send the cancel message.
13509 (completeEditing): Obtain the edited value from the editor.
13510 (finish): New method.
13511 (paintRow): Do not paint the editing component here.
13512 (startEditing, stopEditing): Rewritten.
13513 * javax/swing/tree/DefaultTreeCellEditor.java
13514 (DefaultTextField): Added SVUID.
13515 (EditorContainer): Rewritten.
13516 (RealEditorListener): New inner class.
13517 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
13518 (constructor): Add cell editor listener. Do not instantiate timer.
13519 (actionPerformed): Return without action.
13520 (cancelCellEditing): Rewritten.
13521 (createTreeCellEditor): Add cell editor listener to the editor.
13522 (getCellEditorValue): Request the value from the realEditor.
13523 (isCellEditable): Removed timer management.
13524 (prepareForEditing): Remove all components befor adding the
13526 (startEditingTimer): Start only if it is not null.
13527 (stopCellEditing): Rewritten.
13528 (stopEditingTimer): New method.
13529 (valueChanged): Do not configure editing component here.
13531 2006-01-25 Roman Kennke <kennke@aicas.com>
13533 * javax/swing/text/html/FormView.java: New file.
13535 2006-01-25 Roman Kennke <kennke@aicas.com>
13537 * javax/swing/JSplitPane.java
13538 (addImpl): Call resetToPreferredSizes() when no dividerLocation
13539 has been set in order to set an initial layout.
13540 * javax/swing/plaf/basic/BasicSplitPaneUI.java
13541 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
13542 layout of the right component.
13543 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
13544 dividerLocation to the size of the left component.
13545 (createDefaultNonContinuousLayoutDivider): Fetch the color from
13547 (setDividerLocation): Don't validate the location here. Sometimes
13548 the divider needs to be set to an invalid location.
13549 (startDragging): Don't revalidate and repaint here.
13550 (finishDraggingTo): Don't repaint here. Also, don't call
13551 dragDividerTo() here.
13552 * javax/swing/plaf/basic/BasicLookAndFeel.java
13553 (initComponentDefaults): Added SplitPaneDivider.draggingColor
13556 2006-01-25 Roman Kennke <kennke@aicas.com>
13558 * javax/swing/JSplitPane.java
13559 (addImpl): Removed invalidate() and layout() call.
13560 * javax/swing/plaf/basic/BasicSplitPaneUI.java
13561 (PropertyHandler.propertyChange): Remove layoutContainer() and
13564 2006-01-25 Roman Kennke <kennke@aicas.com>
13567 * native/Makefile.am
13568 * native/jni/classpath/Makefile.am
13569 * native/jni/classpath/jcl.c
13570 * native/jni/classpath/jcl.h
13571 * native/jni/classpath/native_state.c
13572 * native/jni/gtk-peer/Makefile.am
13573 * native/jni/java-io/Makefile.am
13574 * native/jni/java-io/java_io_VMFile.c
13575 * native/jni/java-io/java_io_VMObjectStreamClass.c
13576 * native/jni/java-lang/Makefile.am
13577 * native/jni/java-net/Makefile.am
13578 * native/jni/java-net/java_net_VMInetAddress.c
13579 * native/jni/java-net/javanet.c
13580 * native/jni/java-net/javanet.h
13581 * native/jni/java-nio/Makefile.am
13582 * native/jni/java-nio/gnu_java_nio_VMPipe.c
13583 * native/jni/java-nio/gnu_java_nio_VMSelector.c
13584 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
13585 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
13586 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
13587 * native/jni/java-util/Makefile.am
13588 * native/jni/java-util/java_util_VMTimeZone.c
13589 * native/jni/midi-dssi/Makefile.am
13590 * native/jni/xmlj/Makefile.am
13591 * native/target/Makefile.am
13592 * native/target/Linux/target_native_math.h
13593 * native/target/Linux/target_native_memory.h
13594 * native/target/Linux/Makefile.am
13595 * native/target/Linux/target_native_io.h
13596 * native/target/Linux/target_native_math_float.h
13597 * native/target/Linux/target_native_math_int.h
13598 * native/target/generic/target_generic.c
13599 * native/target/generic/target_generic_io.c
13600 * native/target/generic/target_generic_math.h
13601 * native/target/generic/target_generic_memory.h
13602 * native/target/generic/target_generic_misc.c
13603 * native/target/generic/target_generic_network.c
13604 * native/target/generic/Makefile.am
13605 * native/target/generic/target_generic.h
13606 * native/target/generic/target_generic_file.h
13607 * native/target/generic/target_generic_io.h
13608 * native/target/generic/target_generic_math_float.h
13609 * native/target/generic/target_generic_math_int.h
13610 * native/target/generic/target_generic_misc.h
13611 * native/target/generic/target_generic_network.h:
13612 Reverted target native related changes back to the state of the
13614 * native/target/MinGW/.cvsignore
13615 * native/target/MinGW/Makefile.am
13616 * native/target/MinGW/target_native.h
13617 * native/target/MinGW/target_native_file.h
13618 * native/target/MinGW/target_native_io.h
13619 * native/target/MinGW/target_native_math.h
13620 * native/target/MinGW/target_native_memory.h
13621 * native/target/MinGW/target_native_misc.h
13622 * native/target/MinGW/target_native_network.h
13623 * native/target/RTEMS/.cvsignore
13624 * native/target/RTEMS/Makefile.am
13625 * native/target/RTEMS/target_native.h
13626 * native/target/RTEMS/target_native_file.h
13627 * native/target/RTEMS/target_native_io.h
13628 * native/target/RTEMS/target_native_math.h
13629 * native/target/RTEMS/target_native_memory.h
13630 * native/target/RTEMS/target_native_misc.h
13631 * native/target/RTEMS/target_native_network.h
13632 * native/target/SunOS/.cvsignore
13633 * native/target/SunOS/Makefile.am
13634 * native/target/SunOS/target_native.h
13635 * native/target/SunOS/target_native_file.h
13636 * native/target/SunOS/target_native_io.h
13637 * native/target/SunOS/target_native_math.h
13638 * native/target/SunOS/target_native_memory.h
13639 * native/target/SunOS/target_native_misc.h
13640 * native/target/SunOS/target_native_network.h
13641 * native/target/embOS/.cvsignore
13642 * native/target/embOS/Makefile.am
13643 * native/target/embOS/target_native.h
13644 * native/target/embOS/target_native_file.h
13645 * native/target/embOS/target_native_io.c
13646 * native/target/embOS/target_native_io.h
13647 * native/target/embOS/target_native_math.h
13648 * native/target/embOS/target_native_memory.h
13649 * native/target/embOS/target_native_misc.h
13650 * native/target/embOS/target_native_network.h
13651 * native/target/posix/.cvsignore
13652 * native/target/posix/Makefile.am
13653 * native/target/posix/target_posix.c
13654 * native/target/posix/target_posix.h
13655 * native/target/posix/target_posix_file.c
13656 * native/target/posix/target_posix_file.h
13657 * native/target/posix/target_posix_io.c
13658 * native/target/posix/target_posix_io.h
13659 * native/target/posix/target_posix_math.c
13660 * native/target/posix/target_posix_math.h
13661 * native/target/posix/target_posix_memory.c
13662 * native/target/posix/target_posix_memory.h
13663 * native/target/posix/target_posix_misc.c
13664 * native/target/posix/target_posix_misc.h
13665 * native/target/posix/target_posix_network.c
13666 * native/target/posix/target_posix_network.h:
13669 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
13671 * javax/print/PrintService.java,
13672 * javax/print/DocPrintJob.java,
13673 * javax/print/CancelablePrintJob.java:
13674 Added and enhanced api documentation for class and methods.
13676 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
13678 * javax/print/SimpleDoc.java: Make class final.
13679 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
13680 * javax/print/attribute/DateTimeSyntax.java:
13681 (toString): New overridden method.
13682 * javax/print/attribute/standard/JobStateReasons.java:
13683 (add): Use the super.add method to avoid recursion.
13684 * javax/print/attribute/standard/PrinterStateReasons.java:
13685 (put): Use the super.put method to avoid recursion.
13687 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
13689 * java/beans/XMLEncoder.java:
13690 (writeExpression): Added early return (fixes PR #25941).
13691 (setExceptionListener, anonymous Class): Removed printStackTrace
13693 * java/beans/Encoder: Removed unused imports.
13694 (setupDefaultPersistenceDelegates): Removed unneccessary
13695 PersistenceDelegates for subclasses.
13696 * java/beans/PersistenceDelegate:
13697 (initialize): Use local variable as first argument as it was
13699 * java/beans/DefaultPersistenceDelegate:
13700 (initialize): Added call to superclass' implementation, added
13703 2006-01-24 Tom Tromey <tromey@redhat.com>
13705 * java/util/regex/PatternSyntaxException.java: Added @since.
13706 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
13707 * java/util/regex/MatchResult.java: New file.
13709 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
13711 * javax/swing/text/StringContent.java: Added API docs all over, plus
13712 minor reformatting.
13714 2006-01-24 Gary Benson <gbenson@redhat.com>
13716 * java/net/SocketPermission.java: Implemented serialization.
13718 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
13720 * javax/swing/text/StringContent.java
13721 (remove): Modified argument check to prevent removal of last character,
13722 (getChars): Removed null argument check to allow NullPointerException,
13724 (checkLocation): Added API docs and white space.
13726 2006-01-23 Lillian Angel <langel@redhat.com>
13728 * javax/swing/text/DefaultStyledDocument.java
13729 (insertUpdate): Should only call createFracture with
13730 StartTagType. Added check.
13731 (insertContentTag): Should use the tags length for splitting.
13732 Also, added a check to determine if current's start and end offset are
13733 equal to the offset and endOffset. If so, only one leaf element
13735 (createFracture): Removed FIXME. This function is complete.
13736 (split): Added calls to replace. Changed so the child is
13737 added immediately to the paragraph. Prevents NPEs.
13739 2006-01-23 Mark Wielaard <mark@klomp.org>
13741 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
13743 2006-01-23 Tom Tromey <tromey@redhat.com>
13745 * gnu/java/security/x509/X509Certificate.java (parse):
13746 Unconditionally read value; for version==1 case when reading
13749 2006-01-23 Roman Kennke <kennke@aicas.com>
13751 * javax/swing/plaf/synth/ColorType.java,
13752 * javax/swing/plaf/synth/Region.java,
13753 * javax/swing/plaf/synth/SynthConstants.java,
13754 * javax/swing/plaf/synth/SynthContext.java
13755 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
13756 * javax/swing/plaf/synth/SynthLookAndFeel.java,
13757 * javax/swing/plaf/synth/SynthPainter.java,
13758 * javax/swing/plaf/synth/SynthStyle.java,
13759 * javax/swing/plaf/synth/SynthStyleFactory.java,
13760 * javax/swing/plaf/synth/package.html:
13761 New files. Added the public API and framework classes for the
13762 Synth look and feel.
13764 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
13766 * javax/swing/text/Segment.java: API docs all over.
13768 2006-01-23 Lillian Angel <langel@redhat.com>
13770 * javax/swing/text/DefaultStyledDocument.java
13771 (split): Should not use createLeafElement and createBranchElement here.
13772 We should just instaniate the LeafElements and BranchElements instead
13773 to avoid the case where create*Element is overridden.
13775 2006-01-23 Lillian Angel <langel@redhat.com>
13777 * javax/swing/text/DefaultStyledDocument.java
13778 (insertFirstContentTag): Moved check outside of if-statement.
13779 This should be checked before creating the new leaf element.
13780 (insertFracture): Fixed check to prevent an NPE. The previous
13781 leaf should only be recreated if it has been created by
13782 insertFirstContentTag. Also, fixed up code: if the endOffset is
13783 greater than the offset, then we need to create a temp leaf
13784 as a place holder. Otherwise, the leaf elements should be
13787 2006-01-23 Gary Benson <gbenson@redhat.com>
13789 * java/net/SocketPermission.java: Almost completely rewritten.
13791 2006-01-23 Lillian Angel <langel@redhat.com>
13793 * javax/swing/text/DefaultStyledDocument.java
13794 (insertFracture): Set temp leaf's attributes to prevent an NPE.
13796 2006-01-23 Lillian Angel <langel@redhat.com>
13798 * javax/swing/text/DefaultStyledDocument.java:
13799 Formatted ElementBuffer and added new fields.
13800 (remove): Added check to determine if length is 0.
13801 (insertFirstContentTag): Initialized firstCreated to the element that is created
13802 by the first tag encountered. Removed check in JoinPreviousDirection case, no
13803 longer needed. In OriginateDirection case, added a loop to remove all old leafs
13804 that have been recreated.
13805 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
13806 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
13807 FIXME tags to the lines that need to be rewritten.
13809 2006-01-23 Mark Wielaard <mark@klomp.org>
13811 * examples/Makefile.am: Add support for fastjar.
13813 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
13815 * gnu/regexp/REToken.java(empty): Made Cloneable.
13816 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
13817 Use separate methods matchN and matchP depending on the
13819 (matchN): New method used when negative. Done as before.
13820 (matchP): New method used when not negative. Each token is
13821 tried not by itself but by a clone of it.
13823 2006-01-23 Chris Burdess <dog@gnu.org>
13826 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
13827 class to avoid getLength method contention.
13828 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
13830 2006-01-23 Chris Burdess <dog@gnu.org>
13832 * native/jni/java-util/Makefile.am: Include library required
13833 explicitly by BSD systems.
13834 * native/target/generic/target_generic_misc.h: Remove old commented
13836 * native/target/generic/target_generic_network.h: Fallbacks (to
13837 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
13839 2006-01-22 Tom Tromey <tromey@redhat.com>
13841 * native/target/posix/.cvsignore: Added .deps.
13843 2006-01-22 Mark Wielaard <mark@klomp.org>
13846 reported by James Damour <James.Damour@corp.request.com>
13847 * java/awt/Container.java (addImpl): Use empty string as name when
13848 null constraints for LayoutManager.addLayoutComponent().
13850 2006-01-22 Chris Burdess <dog@gnu.org>
13853 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
13854 representing current directory as base for relative URLs.
13856 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
13859 * gnu/regexp/REMatch.java(empty): New boolean indicating
13860 an empty string matched.
13861 * gnu/regexp/RE.java(match): Sets empty flag when an empty
13863 (initialize): Support back reference \10, \11, and so on.
13864 (parseInt): renamed from getEscapedChar and returns int.
13865 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
13866 when an empty string matched. Fixed a bug of the case where
13867 an empty string matched. Added special handling of {0}.
13868 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
13869 when an empty string matched. Fixed the case insensitive matching.
13871 2006-01-21 Roman Kennke <kennke@aicas.com>
13873 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
13874 (paint): Added painting of border if one is installed.
13876 2006-01-21 Roman Kennke <kennke@aicas.com>
13878 PR classpath/25843:
13879 * javax/swing/plaf/basic/BasicBorders.java
13880 (getSplitPaneDividerBorder): Use new border constructor
13882 (SplitPaneDividerBorder.highlight): Removed unneeded field.
13883 (SplitPaneDividerBorder.shadow): Removed unneeded field.
13884 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
13885 colors are fetched dynamically in the paintBorder method.
13886 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
13888 (SplitPaneDividerBorder.isBorderOpaque): Returns true
13890 * javax/swing/plaf/basic/BasicLookAndFeel.java
13891 (initComponentDefaults): Added default for SplitPaneDivider.border.
13892 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
13893 (tmpBorder): Removed unneeded inner class.
13894 (BasicSplitPaneDivider): Removed setting of border.
13895 (setSplitPaneUI): Don't add the mouse handler to the splitpane
13897 * javax/swing/plaf/basic/BasicSplitPaneUI.java
13898 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
13899 to get behaviour right.
13900 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
13901 implementation. This must be rewritten since the layout now works
13902 slightly different (basically, it shouldn't modify the sizes[]
13903 here but instead the dividerLocation.
13904 (dividerLocation): New field.
13905 (installDefaults): Initialize border on divider.
13906 (uninstallDefaults): Only remove background color and border from
13907 splitPane if they are instances of UIDefaults (== not set by
13909 (setDividerLocation): Set the dividerLocation field instead of
13910 doing stunt acts here.
13911 (getDividerLocation): Return dividerLocation field.
13912 (getMinimumDividerLocation): Fixed calculation of minimum location.
13914 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
13917 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
13919 * lib/Makefile.am: Likewise.
13921 2006-01-21 Roman Kennke <kennke@aicas.com>
13923 * javax/swing/PopupFactory.java
13924 (getPopup): If there is no Swing root found in any way, use a
13925 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
13926 for the Swing AWT peers.
13928 2006-01-20 Tom Tromey <tromey@redhat.com>
13930 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
13931 Read response body for redirect.
13933 2006-01-20 Chris Burdess <dog@gnu.org>
13935 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
13938 2006-01-20 Lillian Angel <langel@redhat.com>
13940 * javax/swing/text/DefaultStyledDocument.java
13941 (pad): Removed, not needed.
13942 (printElements): Likewise.
13943 (printEdit): Likewise.
13945 2006-01-20 Roman Kennke <kennke@aicas.com>
13947 * javax/swing/text/DefaultFormatter.java
13948 (DefaultFormatter): Don't set a value class.
13950 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13952 * javax/swing/DefaultCellEditor.java: Commented.
13954 2006-01-19 Roman Kennke <kennke@aicas.com>
13956 * javax/swing/JOptionPane.java
13957 Added cast to Frame for JDialog constructor.
13959 2006-01-19 Roman Kennke <kennke@aicas.com>
13961 * javax/swing/JWindow.java
13962 (JWindow(Window)): Fixed to accept null owner argument.
13963 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
13965 * javax/swing/SwingUtilities.java
13966 (getOwnerFrame): Owner parameter and return value are fixed to
13967 be of type Window for compatibity with the above JWindow
13969 * javax/swing/JDialog.java
13970 (JDialog): Added cast to Frame to make sure the correct constructor
13972 * javax/swing/JFileChooser.java
13973 (createDialog): Added cast to Frame for JDialog constructor.
13975 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13977 * javax/swing/JTable.java (rowAtPoint): Rewritten.
13979 2006-01-19 Roman Kennke <kennke@aicas.com>
13981 * javax/swing/JWindow.java: Added API docs to the constructors.
13983 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13985 * javax/swing/JTable.java: Commenting method headers.
13986 (EditorUpdateTimer): Removed.
13988 2006-01-19 Roman Kennke <kennke@aicas.com>
13990 * javax/swing/JDialog.java
13991 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
13992 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
13993 SwingUtilities.getOwnerFrame() with the owner argument.
13994 * javax/swing/JFileChooser.java
13995 (showOpenDialog(Component)): Call pack() on the dialog instead of
13996 setting a fixed height.
13997 (showSaveDialog()): Likewise.
13998 (showDialog()): Likewise.
13999 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
14000 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
14002 * javax/swing/JWindow.java
14003 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
14004 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
14006 * javax/swing/SwingUtilities.java
14007 (getOwnerFrame): Changed to take a owner parameter that is returned
14008 as owner frame when not null.
14010 2006-01-19 Roman Kennke <kennke@aicas.com>
14012 * gnu/java/awt/peer/swing/SwingFramePeer.java
14013 (handleMouseEvent): Fixed handling of mouse events.
14014 (handleMouseMotionEvent): Fixed handling of mouse events.
14016 2006-01-19 Roman Kennke <kennke@aicas.com>
14018 * native/target/generic/target_generic_misc.c:
14019 (targetGenericMisc_formatString): Added missing method.
14021 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
14023 * m4/acinclude.m4: Test also for ecj found before exiting configure
14024 with no javac found error message.
14026 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
14029 * gnu/regexp/RE.java(initialize): Support escaped characters such as
14030 \0123, \x1B, \u1234.
14031 (getEscapedChar): New method.
14032 (CharExpression): New inner class.
14033 (getCharExpression): New Method.
14034 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
14035 RE_UNICODE_CHAR): New syntax bits.
14037 2006-01-19 Roman Kennke <kennke@aicas.com>
14039 * native/target/Makefile.am: Fixed so that posix stuff is really
14040 only built when requested.
14042 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14044 * javax/swing/JTable.java (editingStopped, editingCancelled):
14045 Repaint the edited cell.
14046 (setValueAt): Do not add the value object to this container.
14047 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
14048 (editingStopped): Use editingRow, editingColumn and not
14049 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
14050 (doLayout): Move the editor component, if present, into the new
14051 location and call repaint(). (moveToCellBeingEdited): new method.
14052 (TableTextField): new inner class.
14053 (getDefaultEditor): Instantiante TableTextField, not JTextField.
14054 (setValueAt): Repaint the changed segment.
14055 (createDefaultEditors): Implemented.
14056 (BooleanCellRenderer): Center the checkbox and use the default foreground
14057 and background colors.
14058 * javax/swing/plaf/basic/BasicTableUI.java
14059 (paintCell): Do not paint the caret here. Do not accept unused parameters.
14060 (paint): No need to allocate rectangle for each cell.
14061 * javax/swing/DefaultCellEditor.java: Rewritten.
14062 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
14063 Use TableDemo.java table example.
14064 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
14066 2006-01-19 Roman Kennke <kennke@aicas.com>
14068 * configure.ac: Added/fixed --enable-posix-layer option to enable
14069 build of posix layer.
14070 * native/target/Makefile.am: Added build for posix layer.
14072 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
14074 * configure.ac: Set TARGET to Linux per default.
14075 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
14077 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
14078 * native/target/generic/Makefile.am (INCLUDES): Renamed to
14081 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
14083 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
14084 what looked like proprietary documentation with original or new one.
14085 * java/security/spec/PSSParameterSpec.java: Likewise.
14086 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
14087 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
14088 * java/security/AlgorithmParameterGenerator.java: Likewise.
14089 * java/security/AlgorithmParameters.java: Likewise.
14090 * java/security/Identity.java: Likewise.
14091 * java/security/IdentityScope.java: Likewise.
14092 * java/security/KeyFactory.java: Likewise.
14093 * java/security/KeyPairGenerator.java: Likewise.
14094 * java/security/MessageDigest.java: Likewise.
14095 * java/security/Policy.java: Likewise.
14096 * java/security/ProtectionDomain.java: Likewise.
14097 * java/security/Security.java: Likewise.
14098 * java/security/Signature.java: Likewise.
14099 * java/security/SignatureSpi.java: Likewise.
14100 * java/security/SignedObject.java: Likewise.
14101 * java/security/Signer.java: Likewise.
14103 2006-01-18 Roman Kennke <kennke@aicas.com>
14105 * configure.ac: Added --enable-posix-layer option to enable
14106 build of the posix target layer.
14108 2006-01-18 Roman Kennke <kennke@aicas.com>
14110 * native/jni/java-net/java_net_VMInetAddress.c
14111 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
14114 2006-01-18 Roman Kennke <kennke@aicas.com>
14116 * native/jni/java-util/java_util_VMTimeZone.c:
14117 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
14118 to use target native layer.
14119 (jint_to_charbuf): Removed unneeded helper function.
14121 2006-01-18 Roman Kennke <kennke@aicas.com>
14123 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
14124 Removed unnecessary include.
14125 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
14126 Reorganized includes to only include sys/* headers when available.
14127 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
14128 (get_pagesize): Return 0 when nothing else works.
14129 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
14130 Replaced munmap() and strerror() with corresponding target macros.
14131 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
14132 Replaced strerror() with corresponding target macro.
14133 (Java_java_nio_MappedByteBufferImpl_forceImpl):
14134 Replaced strerror() with corresponding target macro.
14135 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
14136 (Java_java_nio_VMDirectByteBuffer_allocate):
14137 Replaced malloc() with the corresponding target macro.
14138 (Java_java_nio_VMDirectByteBuffer_free):
14139 Replaced free() with the corresponding target macro.
14140 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
14141 Add index to pointer when assigning the value.
14142 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
14143 Replaced memcpy with corresponding target macro. Add index when
14144 doing the memcpy, not when fetching the pointer.
14145 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
14146 Replaced memcpy with corresponding target macro.
14147 (Java_java_nio_VMDirectByteBuffer_shiftDown):
14148 Replaced memmove with the corresponding target macro.
14150 2006-01-17 Tom Tromey <tromey@redhat.com>
14152 PR classpath/20198:
14153 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
14154 (JarURLLoader): Likewise.
14155 (addURLImpl): Canonicalize file URLs.
14157 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
14159 * configure.ac: Set TARGET.
14160 * native/Makefile.am, native/jni/classpath/Makefile.am,
14161 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
14162 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
14163 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
14164 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
14165 native/target/Linux/Makefile.am,
14166 native/target/generic/Makefile.am,
14167 native/target/posix/Makefile.am: Build libclasspath.so with jcl
14168 and target stuff linked in and link it against lib*.so libraries.
14170 2006-01-17 Roman Kennke <kennke@aicas.com>
14172 * native/jni/java-net/javanet.c:
14173 (_javanet_connect): Changed type of some local variables to jint.
14174 Fixed error handling to throw a SocketTimeoutException if the
14175 connection attempt times out.
14176 (_javanet_bind): Changed type of some local variables to jint.
14177 (_javanet_accept): Likewise.
14178 (_javanet_recvfrom): Likewise.
14179 (_javanet_sendto): Fixed error handling to throw a
14180 PortUnreachableException when connection is refused.
14181 (_javanet_get_option): Changed type of some local variables to jint.
14182 Implemented SOCKOPT_SO_BROADCAST.
14183 (_javanet_shutdownInput): Replaced shutdown call with corresponding
14184 target native macro.
14185 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
14186 target native macro.
14187 * native/jni/java-net/javanet.h:
14188 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
14189 SOCKOPT_SO_BROADCAST.
14191 2006-01-17 Lillian Angel <langel@redhat.com>
14193 * javax/swing/text/DefaultStyledDocument.java
14194 (insert): Cleaned up loop. No need to make so many calls
14195 to getAddedElements and getRemovedElements.
14196 (insertFracture): Removed unneeded array.
14198 2006-01-17 Lillian Angel <langel@redhat.com>
14200 * javax/swing/text/JTextComponent.java
14201 (AccessibleJTextComponent): Implemented.
14202 (getCaretPosition): Implemented.
14203 (getSelectedText): Implemented.
14204 (getSelectionStart): Implemented.
14205 (getSelectionEnd): Implemented.
14206 (getSelectionEnd): Implemented.
14207 (getCharCount): Implemented.
14208 (insertTextAtIndex): Implemented.
14209 (getTextRange): Implemented.
14210 (delete): Implemented.
14211 (cut): Implemented.
14212 (paste): Implemented.
14213 (replaceText): Implemented.
14214 (selectText): Implemented.
14216 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
14218 * javax/swing/text/DefaultStyledDocument.java:
14219 (pad): New debugging method.
14220 (printElements): Likewise.
14221 (printPendingEdits): Likewise.
14222 (printElement): Likewise.
14223 (Edit): Improved docs, moved this class to be an inner class of
14224 ElementBuffer since it only applies within that scope. Changed added
14225 and removed to be Vectors instead of arrays because we need to be able
14226 to add to them after construction.
14227 (ElementBuffer): Updated docs with link to article that helped in this
14228 classes implementation.
14229 (ElementBuffer.Edit.getRemovedElements): New method.
14230 (ElementBuffer.Edit.getAddedElements): Likewise.
14231 (ElementBuffer.Edit.addRemovedElement): Likewise.
14232 (ElementBuffer.Edit.addRemovedElements): Likewise.
14233 (ElementBuffer.Edit.addAddedElement): Likewise.
14234 (ElementBuffer.Edit.addAddedElements): Likewise.
14235 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
14237 (ElementBuffer.getEditForParagraphAndIndex): New method.
14238 (ElementBuffer.removeUpdate): Changed type of paragraph to
14239 BranchElement. Corrected style of adding the edit to use the new Edit
14241 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
14242 the new Edit facilities.
14243 (ElementBuffer.split): Likewise.
14244 (ElementBuffer.insertParagraph): Likewise.
14245 (ElementBuffer.insertContentTag): Likewise.
14246 (ElementBuffer.insert): Push all BranchElements until the deepest one,
14247 not just the root and the first one. Apply the structural changes to
14248 the tree at the same time as updating the DocumentEvent.
14249 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
14250 handling of EndTags as the first ElementSpec. Instead have to handle
14251 ContentTags as a special case if they are the first ElementSpec and if
14252 not have to fracture the tree.
14253 (ElementBuffer.createFracture): New method. May not be complete yet.
14254 Added FIXME indicating what may remain to be done.
14255 (ElementBuffer.insertFirstContentTag): New method.
14256 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
14257 be done. Changed the adding of edits to use the new Edit facilities.
14258 Removed the adding of edits for Elements that weren't in the tree prior
14260 (insertUpdate): Removed incorrect condition for setting a StartTag's
14261 direction to JoinNextDirection.
14262 * javax/swing/text/StyleContent.java:
14263 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
14264 that was causing an ArrayOutOfBoundsException.
14266 2006-01-17 Roman Kennke <kennke@aicas.com>
14268 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
14269 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
14270 exception messages a little.
14271 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
14272 alternative implementation for systems without filesystems.
14273 Replaced snprintf with the corresponding target native macro.
14274 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
14275 Only do something when we have a filesystem.
14276 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
14277 alternative implementation for systems without filesystems.
14278 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
14279 alternative implementation for systems without filesystems.
14280 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
14281 alternative implementation for systems without filesystems.
14282 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
14283 Only do something when we have a filesystem.
14284 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
14285 Only do something when we have a filesystem.
14286 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
14287 alternative implementation for systems without filesystems.
14288 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
14289 Replaced ssize_t variables with jint. Provided
14290 alternative implementation for systems without filesystems.
14291 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
14292 Replaced ssize_t variables with jint. Provided
14293 alternative implementation for systems without filesystems.
14294 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
14295 Replaced ssize_t variables with jint. Provided
14296 alternative implementation for systems without filesystems.
14297 (Java_gnu_java_nio_channels_FileChannelImpl_force):
14298 Only do something when we have a filesystem.
14299 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
14300 Replaced ssize_t variables with jint. Provided
14301 alternative implementation for systems without filesystems.
14302 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
14303 to use the corresponding target native macro.
14304 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
14305 to use the corresponding target native macro.
14307 2006-01-17 Lillian Angel <langel@redhat.com>
14309 * javax/swing/text/DefaultTextUI.java:
14310 Added deprecated tag.
14311 * javax/swing/text/JTextComponent.java
14312 (AccessibleJTextComponent): Fixed API doc and
14313 partiall9 implemented.
14314 (getCaretPosition): Fixed API doc and implemented.
14315 (getSelectedText): Fixed API doc.
14316 (getSelectionStart): Likewise.
14317 (getSelectionEnd): Likewise.
14318 (caretUpdate): Fixed API doc and
14319 partially implemented.
14320 (getAccessibleStateSet): Likewise.
14321 (getAccessibleRole): Fixed API doc and implemented.
14322 (getAccessibleEditableText): Implemented.
14323 (getAccessibleText): Fixed API doc and implemented.
14324 (insertUpdate): Fixed API doc.
14325 (changedUpdate): Likewise.
14326 (getIndexAtPoint): Likewise.
14327 (getRootEditorRect): Removed.
14328 (getCharacterBounds): Fixed API doc.
14329 (getCharCount): Likewise.
14330 (getCharacterAttribute): Likewise.
14331 (getAtIndex): Likewise.
14332 (getAfterIndex): Likewise.
14333 (getBeforeIndex): Likewise.
14334 (getAccessibleActionCount): Added function stub.
14335 (getAccessibleActionDescription): Added function,
14336 partially implemented.
14337 (doAccessibleAction): Added function stub.
14338 (setTextContents): Likewise.
14339 (insertTextAtIndex): Likewise.
14340 (delete): Likewise.
14343 (replaceText): Likewise.
14344 (selectText): Likewise.
14345 (setAttributes): Likewise.
14346 (getAccessibleContext): Implemented.
14348 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
14351 * gnu/regexp/RETokenRange.java(constructor):
14352 Keep lo and hi as they are.
14353 (match): Changed the case insensitive comparison.
14355 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
14357 * gnu/regexp/RETokenChar.java(chain):
14358 Do not concatenate tokens whose insens flags are diffent.
14360 2006-01-17 Roman Kennke <kennke@aicas.com>
14362 * native/target/generic/target_generic_network.c:
14363 (targetGenericNetwork_receive): Fixed signature to match the
14364 corresponding .h file.
14365 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
14366 to match the corresponding .h file.
14368 2006-01-17 Roman Kennke <kennke@aicas.com>
14370 * native/jni/classpath/jcl.c:
14371 (JCL_malloc): Replaced calls to malloc with the corresponding
14372 target layer macro.
14373 (JCL_free): Replaced calls to free with the corresponding
14374 target layer macro.
14375 * native/jni/classpath/native_state.c:
14376 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
14377 calloc with the corresponding target layer macro.
14378 (remove_node): Replaced calls to free with the corresponding
14379 target layer macro.
14380 (add_node): Replaced calls to malloc with the corresponding
14381 target layer macro.
14383 2006-01-17 Roman Kennke <kennke@aicas.com>
14385 * native/jni/java-io/java_io_VMObjectStreamClass.c:
14386 (getFieldReference): Use MALLOC/FREE macros for portability instead
14387 of direct call to malloc() and free().
14389 2006-01-17 Roman Kennke <kennke@aicas.com>
14391 * native/jni/classpath/jcl.c: Added missing imports.
14392 (JCL_realloc): Fixed signature to include oldsize. This is needed
14393 for some targets. Make this function use the MEMORY_REALLOC macro
14395 * native/jni/classpath/jcl.h
14396 (JCL_realloc): Adjusted signature.
14397 * native/jni/java-io/java_io_VMFile.c:
14398 (Java_java_io_VMFile_create): Use target layer macro for handling
14399 errno, for portability.
14400 (Java_java_io_VMFile_length): Release filename string in error cases
14402 (Java_java_io_VMFile_list): Initialize filename variable. Use new
14403 version of JCL_realloc.
14404 * native/jni/java-net/java_net_VMInetAddress.c:
14405 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
14406 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
14407 * native/jni/java-net/javanet.c:
14408 (_javanet_bind): Make errorstr variable const to avoid compiler
14410 (_javanet_set_option): Fixed typo.
14411 (_javanet_get_option): Fixed typo.
14412 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
14413 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
14414 error_string variable const to avoid compiler warning.
14415 * native/target/generic/target_generic_file.h:
14416 Replaced // comments with /* */ comments to avoid compiler warnings.
14417 Added some spaces to make code better readable.
14418 * native/target/generic/target_generic_memory.h:
14419 Replaced // comments with /* */ comments to avoid compiler warnings.
14420 * native/target/generic/target_generic_misc.c:
14421 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
14422 compiler warnings due to use of varargs.
14423 * native/target/generic/target_generic_misc.h:
14424 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
14425 compiler warnings due to use of varargs.
14426 * native/target/generic/target_generic_network.h:
14427 Replaced // comments with /* */ comments to avoid compiler warnings.
14428 (targetGenericNetwork_receive): Fixed signature to use signed chars
14429 for buffer parameter to avoid warning when passing a jbyte to the
14432 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
14434 * javax/swing/text/StyleConstants.java
14435 (getAlignment): Removed isDefined() check, so that resolving parent is
14437 (getBackground): Likewise, plus changed default value to Color.BLACK,
14438 (getBidiLevel): Removed isDefined() check,
14439 (getComponent): Likewise,
14440 (getFirstLineIndent): Likewise,
14441 (getFontFamily): Likewise,
14442 (getFontSize): Likewise,
14443 (getForeground): Likewise,
14444 (getIcon): Likewise,
14445 (getLeftIndent): Likewise,
14446 (getLineSpacing): Likewise,
14447 (getRightIndent): Likewise,
14448 (getSpaceAbove): Likewise,
14449 (getSpaceBelow): Likewise,
14450 (getTabSet): Likewise,
14451 (isBold): Likewise,
14452 (isItalic): Likewise,
14453 (isStrikeThrough): Likewise,
14454 (isSubscript): Likewise,
14455 (isSuperscript): Likewise,
14456 (isUnderline): Likewise.
14458 2006-01-17 Gary Benson <gbenson@redhat.com>
14460 * java/lang/System.java (setSecurityManager): Catch
14461 ClassNotFoundException not Throwable.
14463 2006-01-16 Anthony Green <green@redhat.com>
14466 * gnu/java/net/protocol/http/Request.java
14467 (createResponseBodyStream): Remove Content-Encoding for
14468 compressed streams.
14470 2006-01-16 Chris Burdess <dog@gnu.org>
14472 * gnu/xml/stream/XMLParser.java,
14473 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
14474 XMLStreamWriter arguments for conformance to the XML specifications.
14475 * gnu/xml/transform/Stylesheet.java,
14476 gnu/xml/transform/Template.java,
14477 gnu/xml/transform/TransformerImpl.java,
14478 gnu/xml/xpath/LangFunction.java,
14479 gnu/xml/xpath/Selector.java: better handling of template priorities;
14480 fix indents when pretty-printing; recursive tests for xml:lang.
14481 * gnu/xml/util/XHTMLWriter.java,
14482 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
14484 2006-01-16 Roman Kennke <kennke@aicas.com>
14486 * native/target/MinGW/.cvsignore: New file.
14487 * native/target/RTEMS/.cvsignore: New file.
14488 * native/target/SunOS/.cvsignore: New file.
14489 * native/target/embOS/.cvsignore: New file.
14490 * native/target/posix/.cvsignore: New file.
14492 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
14494 * javax/swing/text/StyleConstants.java: Updated API docs all over.
14496 2006-01-16 Roman Kennke <kennke@aicas.com>
14498 * configure.ac: Include new target native directories in build.
14500 2006-01-16 Roman Kennke <kennke@aicas.com>
14502 * native/target/generic/target_generic_file.h: Added missing
14504 * native/target/generic/target_generic_network.c: Fixed several
14505 typos and includes.
14506 * native/target/generic/target_generic_network.h: Likewise.
14508 2006-01-16 Roman Kennke <kennke@aicas.com>
14510 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
14511 to include the new targets.
14512 * native/target/posix/Makefile.am: Fixed filenames.
14514 2006-01-16 Roman Kennke <kennke@aicas.com>
14516 * native/target/Makefile.am: Include new targets.
14517 * native/target/Linux/Makefile.am: Include new memory layer.
14518 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
14519 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
14520 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
14521 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
14522 * native/target/generic/Makefile.am: Include new memory and math
14524 * native/target/posix/Makefile.am: New file. Includes posix in dist.
14526 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
14529 * gnu/regexp/RE.java(initialize): Parse embedded flags.
14530 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
14532 2006-01-16 Roman Kennke <kennke@aicas.com>
14534 * native/target/generic/target_generic_network.c: Fixed typo.
14535 * native/target/generic/target_generic_network.h: Fixed typo.
14537 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
14539 * doc/vmintegration.texinfo: Updated subsection of the
14540 java.lang.InstrumentationImpl documentation.
14542 2006-01-16 Roman Kennke <kennke@aicas.com>
14544 * native/target/RTEMS/target_native.h,
14545 * native/target/RTEMS/target_native_file.h,
14546 * native/target/RTEMS/target_native_io.h,
14547 * native/target/RTEMS/target_native_math.h,
14548 * native/target/RTEMS/target_native_memory.h,
14549 * native/target/RTEMS/target_native_misc.h,
14550 * native/target/RTEMS/target_native_network.h:
14551 New files. Implement the target native layer for the RTEMS platform.
14553 2006-01-16 Roman Kennke <kennke@aicas.com>
14555 * native/target/SunOS/target_native.h,
14556 * native/target/SunOS/target_native_file.h,
14557 * native/target/SunOS/target_native_io.h,
14558 * native/target/SunOS/target_native_math.h,
14559 * native/target/SunOS/target_native_memory.h,
14560 * native/target/SunOS/target_native_misc.h,
14561 * native/target/SunOS/target_native_network.h:
14562 New files. Implement the target native layer for the SunOS platform.
14564 2006-01-16 Roman Kennke <kennke@aicas.com>
14566 * native/target/MinGW/target_native.h,
14567 * native/target/MinGW/target_native_file.h,
14568 * native/target/MinGW/target_native_io.h,
14569 * native/target/MinGW/target_native_math.h,
14570 * native/target/MinGW/target_native_memory.h,
14571 * native/target/MinGW/target_native_misc.h,
14572 * native/target/MinGW/target_native_network.h:
14573 New files. Implement the target native layer for the MinGW
14576 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14579 * javax/swing/DefaultCellEditor.java
14580 (delegate): Assign new instance immediately.
14581 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
14582 (getTableCellEditorComponent): Rewritten.
14583 (prepareAsJTextField):New method (add listener only once).
14584 * javax/swing/JTable.java
14585 (editingCanceled): Rewritten.
14586 (editingStopped ): Rewritten.
14587 (rowAtPoint): Mind row margin.
14588 (getCellRect): Mind row margin.
14589 (getDefaultEditor): Removing JTextComponent border.
14590 (editCellAt): Rewritten.
14591 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
14592 Activate editing mode by the mouse clicks.
14593 (getMaximumSize): Mind row margin.
14594 (getPreferredSize): Mind row margin.
14595 (TableAction): Added 'stop editing' command.
14597 2006-01-16 Roman Kennke <kennke@aicas.com>
14599 * jni/java-io/java_io_VMFile.c
14600 (Java_java_io_VMFile_list): Use new 4 argument version of
14601 TARGET_NATIVE_FILE_READ_DIR macro.
14602 * target/Linux/target_native_io.h: Fixed comment at #endif.
14603 * target/Linux/target_native_memory.h: New file. Contains
14604 portability macros for memory operations.
14605 * target/generic/target_generic.c: New file. Contains some functions
14607 * target/generic/target_generic.h: Use posix target and shorter macro
14608 names if CP_NEW is set.
14609 * target/generic/target_generic_file.h: Use posix target and shorter
14610 macro names if CP_NEW is set.
14611 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
14612 * target/generic/target_generic_io.c: New file. Contains some
14613 functions for IO portability.
14614 * target/generic/target_generic_io.h: Use posix target and shorter
14615 macro names if CP_NEW is set.
14616 * target/generic/target_generic_misc.c: New file. Contains some
14617 functions for miscallaneaous portability issues.
14618 * target/generic/target_generic_misc.h: Use posix target and shorter
14619 macro names if CP_NEW is set.
14620 * target/generic/target_generic_network.c: New file. Contains some
14621 functions for networking portability.
14622 * target/generic/target_generic_network.h: Use posix target and
14623 shorter macro names if CP_NEW is set.
14624 * target/posix/Makefile.am,
14625 * target/posix/target_posix.c,
14626 * target/posix/target_posix.h,
14627 * target/posix/target_posix_file.c,
14628 * target/posix/target_posix_file.h,
14629 * target/posix/target_posix_io.c,
14630 * target/posix/target_posix_io.h,
14631 * target/posix/target_posix_math.c,
14632 * target/posix/target_posix_math.h,
14633 * target/posix/target_posix_memory.c,
14634 * target/posix/target_posix_memory.h,
14635 * target/posix/target_posix_misc.c,
14636 * target/posix/target_posix_misc.h,
14637 * target/posix/target_posix_network.c,
14638 * target/posix/target_posix_network.h:
14639 New files. This implements the target native layer macros for
14640 Posix-like systems.
14642 2006-01-16 Gary Benson <gbenson@redhat.com>
14644 * java/net/SocketPermission.java (implies): Fix action checks.
14646 2006-01-16 Roman Kennke <kennke@aicas.com>
14648 * native/target/generic/target_generic_math_float.h: Removed. This
14649 file has been replaced by target_generic_math.h.
14650 * native/target/generic/target_generic_math_int.h: Removed. This
14651 file has been replaced by target_generic_math.h.
14652 * native/target/generic/target_generic_math.h: New file. Replaces
14653 the old _int and _float versions.
14654 * native/target/Linux/target_native_math_float.h: Removed. This
14655 file has been replaced by target_native_math.h.
14656 * native/target/Linux/target_native_math_int.h: Removed. This
14657 file has been replaced by target_native_math.h.
14658 * native/target/Linux/target_native_math.h: New file. Replaces
14659 the old _int and _float versions.
14660 * native/target/Linux/Makefile.am: Adjusted for the changed
14662 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
14663 instead of target_native_math_int.h.
14664 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
14666 * native/target/generic/target_generic_file.h: Likewise.
14668 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
14670 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
14672 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
14674 * javax/swing/text/SimpleAttributeSet.java
14675 (SimpleAttributeSet()): Initialise storage directly,
14676 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
14677 NullPointerException,
14678 (containsAttribute): If key is found locally, don't check resolving
14679 parent if the value doesn't match,
14680 (getAttribute): Removed redundant instanceof and cast.
14682 2006-01-16 Gary Benson <gbenson@redhat.com>
14684 * java/lang/System.java (setSecurityManager): Ensure policy
14685 files are loaded before a security manager is put in place.
14687 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
14689 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
14691 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
14693 * javax/print/attribute/standard/MediaSize.java:
14694 (static_initializer): Added comment.
14695 (MediaSize): Added javadoc to mention cache registration.
14696 (MediaSize): Likewise.
14697 (MediaSize): Likewise.
14698 (MediaSize): Likewise.
14700 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
14703 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
14704 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
14705 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
14706 * javax/security/auth/login/AppConfigurationEntry.java: Updated
14708 (toString): Added method implementation.
14709 (LoginModuleControlFlag.toString): Removed class name from result.
14710 * javax/security/auth/login/Configuration.java: Updated copyright year.
14711 (getConfig(): replaced calls to NullConfiguration with
14714 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14716 * javax/swing/table/DefaultTableCellRenderer.java
14717 (getTableCellRendererComponent): Render null as the empty cell.
14719 2006-01-14 Anthony Green <green@redhat.com>
14721 * java/net/ServerSocket.java (accept): Remove bogus
14723 (implAccept): Add FIXME comment.
14725 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
14728 * javax/print/Doc.java: Added and enhanced documentation.
14729 * javax/print/SimpleDoc.java: New file.
14731 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
14733 * javax/print/attribute/standard/MediaSize.java:
14734 (Other.TABLOID): New MediaSize added in 1.5
14736 2006-01-14 Chris Burdess <dog@gnu.org>
14738 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
14739 correctly when I/O and runtime exceptions occur during parsing.
14741 2006-01-13 Roman Kennke <kennke@aicas.com>
14743 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
14744 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
14745 * gnu/java/awt/peer/swing/SwingComponent.java,
14746 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
14747 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
14748 * gnu/java/awt/peer/swing/SwingFramePeer.java,
14749 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
14750 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
14751 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
14752 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
14753 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
14754 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
14755 * gnu/java/awt/peer/swing/SwingToolkit.java,
14756 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
14757 * gnu/java/awt/peer/swing/package.html:
14758 New files. Implemented some basic AWT peers based on Swing.
14760 2006-01-13 Roman Kennke <kennke@aicas.com>
14762 * java/awt/peer/ComponentPeer.java: Added API docs all over.
14764 2006-01-13 Roman Kennke <kennke@aicas.com>
14766 * java/awt/MenuComponent.java: Reformatted to better match our
14769 2006-01-13 Roman Kennke <kennke@aicas.com>
14771 * java/awt/Frame.java: Reformatted to better match our
14774 2006-01-13 Roman Kennke <kennke@aicas.com>
14776 * java/awt/MenuBar.java
14777 (accessibleContext): Removed unnecessary field. This is already
14778 defined in MenuComponent.
14779 (setHelpMenu): Renamed the peer variable to myPeer because it was
14780 hiding a field of MenuComponent.
14781 (addNotify): Removed unnecessary cast.
14783 2006-01-13 Roman Kennke <kennke@aicas.com>
14785 * java/awt/MenuBar.java: Reformatted to better match our
14788 2006-01-13 Roman Kennke <kennke@aicas.com>
14790 * java/awt/MenuBar.java
14791 (frame): New field.
14792 (removeNotify): Clear frame field when beeing removed from the
14794 * java/awt/Frame.java
14795 (setMenuBar): Store a reference of the frame in the MenuBar.
14796 * java/awt/MenuComponent.java
14797 (postEvent): Implemented to forward the call to the parent until
14798 a parent can handle the event.
14799 (dispatchEvent): Moved handling of old style events from
14800 dispatchEventImpl() to here.
14801 (dispatchEventImpl): Moved handling of old style events to
14804 2006-01-13 Roman Kennke <kennke@aicas.com>
14806 * java/awt/Component.java
14807 (dispatchEvent): Moved handling of old style events from
14808 dispatchEventImpl() to this method.
14809 (translateEvent): Removed unnecessary cast.
14810 (dispatchEventImpl): Moved handling of old style events to
14813 2006-01-13 Lillian Angel <langel@redhat.com>
14815 * javax/swing/text/DefaultStyledDocument.java
14816 (createDefaultRoot): Removed FIXME.
14817 (setLogicalStyle): Added fireUndoableEditUpdate call and
14820 2006-01-13 Lillian Angel <langel@redhat.com>
14822 * javax/swing/text/DefaultStyledDocument.java
14823 (Edit): New inner class.
14824 (changeUpdate): Changed addEdit call to add a new
14825 instance of Edit to the edits Vector, so addEdits can
14828 (insertParagraph): Likewise.
14829 (insertFracture): Likewise.
14830 (insertContentTag): Likewise.
14831 (insert): Added loop to go through edits Vector and perform
14832 addEdit on each object.
14834 2006-01-13 Chris Burdess <dog@gnu.org>
14836 * gnu/xml/transform/AbstractNumberNode.java,
14837 gnu/xml/transform/ApplyImportsNode.java,
14838 gnu/xml/transform/ApplyTemplatesNode.java,
14839 gnu/xml/transform/AttributeNode.java,
14840 gnu/xml/transform/CallTemplateNode.java,
14841 gnu/xml/transform/ChooseNode.java,
14842 gnu/xml/transform/CommentNode.java,
14843 gnu/xml/transform/CopyNode.java,
14844 gnu/xml/transform/CopyOfNode.java,
14845 gnu/xml/transform/DocumentFunction.java,
14846 gnu/xml/transform/ElementNode.java,
14847 gnu/xml/transform/ForEachNode.java,
14848 gnu/xml/transform/IfNode.java,
14849 gnu/xml/transform/LiteralNode.java,
14850 gnu/xml/transform/MessageNode.java,
14851 gnu/xml/transform/OtherwiseNode.java,
14852 gnu/xml/transform/ParameterNode.java,
14853 gnu/xml/transform/ProcessingInstructionNode.java,
14854 gnu/xml/transform/Stylesheet.java,
14855 gnu/xml/transform/Template.java,
14856 gnu/xml/transform/TemplateNode.java,
14857 gnu/xml/transform/TextNode.java,
14858 gnu/xml/transform/TransformerImpl.java,
14859 gnu/xml/transform/ValueOfNode.java,
14860 gnu/xml/transform/WhenNode.java,
14861 gnu/xml/xpath/NodeTypeTest.java,
14862 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
14863 with-param parameters when template does not define parameters; apply
14864 conflict resolution for templates; strip whitespace on documents
14865 retrieved via document() function; allow node() to match document
14868 2006-01-13 Mark Wielaard <mark@klomp.org>
14870 * doc/www.gnu.org/announce/20060113.wml: New file.
14871 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
14872 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
14874 2006-01-13 Lillian Angel <langel@redhat.com>
14876 * javax/swing/text/DefaultStyledDocument.java:
14877 Removed unused fields.
14878 (insert): Removed unused fields.
14879 (endEdit): Removed, not needed.
14880 (insertUpdate): Removed call to endEdit.
14881 (prepareContentInsertion): Removed, not needed.
14882 (insertContentTag): Removed call to prepareContentInsertion.
14883 (printElements): Removed, not needed.
14884 (attributeSetsAreSame): Removed, not needed.
14886 2006-01-13 Mark Wielaard <mark@klomp.org>
14888 * configure.ac: Set version to 0.20.
14889 * NEWS: Add entries for all the new work done.
14891 2006-01-13 Mark Wielaard <mark@klomp.org>
14893 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
14895 2006-01-13 Mark Wielaard <mark@klomp.org>
14897 * java/util/regex/Pattern.java (Pattern): Chain REException.
14899 2006-01-13 Chris Burdess <dog@gnu.org>
14901 * gnu/xml/xpath/NameTest.java: Removed debugging output.
14903 2006-01-13 Jeroen Frijters <jeroen@frijters.net>
14905 * java/security/Security.java
14906 (getProperty): Added hack to skip security check when trusted
14907 code is direct caller.
14909 2006-01-13 Jeroen Frijters <jeroen@frijters.net>
14911 * java/io/PrintStream.java
14912 (line_separator, PrintStream(OutputStream,boolean)): Use
14915 2006-01-13 Jeroen Frijters <jeroen@frijters.net>
14917 * gnu/java/nio/charset/Provider.java: Added comment about its
14918 special relation with CharsetProvider.
14920 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
14921 its special relation with CharsetProvider.
14923 * java/nio/charset/spi/CharsetProvider.java
14924 (CharsetProvider): Add special case to skip security check for
14925 built in providers.
14927 2006-01-13 Mark Wielaard <mark@klomp.org>
14929 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
14930 name, accel, mnemonic and command are defined before setting.
14932 2006-01-12 Mark Wielaard <mark@klomp.org>
14934 * javax/swing/plaf/metal/MetalFileChooserUI.java
14935 (FileRenderer.getListCellRendererComponent): Set empty name and null
14936 icon when File is null.
14938 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14940 * gnu/java/rmi/server/UnicastRef.java (newCall):
14941 Throw ConnectException after catching IOException.
14943 2006-01-12 Lillian Angel <langel@redhat.com>
14945 * javax/swing/text/DefaultStyledDocument.java
14946 (insertUpdate): Removed unneeded check.
14948 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
14950 * javax/swing/text/DefaultStyledDocument.java:
14951 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
14952 and we haven't come immediately after a fracture, adjust the Element
14953 offsets. Added comment explaining the situation.
14954 (insert): Return early if no ElementSpecs passed in. Removed redundant
14955 call to insertUpdate. Fired the UndoableEditUpdate.
14957 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
14960 * gnu/regexp/RE.java(initialize): Fixed the parsing of
14961 character classes within a subexpression.
14963 2006-12-12 Lillian Angel <langel@redhat.com>
14965 * javax/swing/text/DefaultStyledDocument.java
14966 (insertUpdate): Added check to check if attribute set is
14968 (insertUpdate): Added check to determine if last character
14969 is a newline. If it is, we should not be fracturing.
14970 (insert): Added check to determine if attribute set is empty.
14971 If it is, insertUpdate should not be called.
14973 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
14975 * configure.ac: Check for isnan.
14977 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
14980 2006-01-12 Chris Burdess <dog@gnu.org>
14982 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
14983 1.1 character ranges.
14985 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
14987 * javax/swing/TransferHandler.java:
14988 (TransferAction<init>): Call super constructor. Fixes Mauve regression
14989 gnu/testlet/javax/swing/JTextField/CopyPaste.
14991 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
14993 * resource/Makefile.am: Install
14994 logging.properties into $(prefix)/lib.
14995 * resource/Makefile.am (securitydir): Changed to
14996 $(prefix)/lib/security.
14998 2006-01-12 Roman Kennke <kennke@aicas.com>
15000 * javax/swing/JTextField.java
15001 (createDefaultModel): Moved installation of the filterNewlines
15002 property to setDocument().
15003 (setDocument): New method. Installs the filterNewlines property
15006 2006-01-12 Chris Burdess <dog@gnu.org>
15008 * gnu/xml/dom/DomNode.java,
15009 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
15011 * gnu/xml/xpath/NameTest.java,
15012 gnu/xml/xpath/NamespaceTest.java,
15013 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
15015 * gnu/xml/transform/MessageNode.java: Use standard logging system
15016 for outputting messages.
15018 2006-01-12 Tom Tromey <tromey@redhat.com>
15020 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
15021 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
15022 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
15023 (static initializer): Removed cache code.
15024 (checkCacheFor, addToCache): Removed.
15025 (getAllByName): Removed cache code.
15026 (lookup_time): Removed.
15027 (InetAddress): Updated.
15029 2006-01-12 Chris Burdess <dog@gnu.org>
15031 * gnu/xml/dom/DomDocument.java,
15032 gnu/xml/dom/DomElement.java,
15033 gnu/xml/dom/DomNode.java,
15034 gnu/xml/stream/XMLParser.java,
15035 gnu/xml/transform/Bindings.java,
15036 gnu/xml/transform/ElementAvailableFunction.java,
15037 gnu/xml/transform/ElementNode.java,
15038 gnu/xml/transform/FunctionAvailableFunction.java,
15039 gnu/xml/transform/NamespaceProxy.java,
15040 gnu/xml/transform/StreamSerializer.java,
15041 gnu/xml/transform/Stylesheet.java,
15042 gnu/xml/transform/TransformerImpl.java,
15043 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
15044 document and element nodes; correct coalescing semantics when parsing;
15045 attribute-sets can only refer to top-level variables and parameters;
15046 fix namespace retrieval during element-available and
15047 function-available functions; implement xsl:fallback for extension
15048 elements; tokenize whitespace correctly during whitespace stripping;
15049 correct following and previous node axes selectors.
15051 2006-01-12 Roman Kennke <kennke@aicas.com>
15053 * java/util/Hashtable.java
15054 (KeyEnumerator.nextElement): Added null check to avoid NPE.
15055 (ValueEnumerator.nextElement): Added null check to avoid NPE.
15057 2006-01-12 Lillian Angel <langel@redhat.com>
15059 * javax/swing/text/GapContent.java
15060 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
15062 2006-01-12 Mark Wielaard <mark@klomp.org>
15064 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
15065 Throw UnknowHostException when name could not be resolved.
15067 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
15069 * java/net/URL.java
15070 (static, getURLStreamHandler): Use SystemProperties.
15072 2006-01-12 Mark Wielaard <mark@klomp.org>
15074 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
15075 Use packet.getLength().
15076 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
15077 (nativeReceive): Check whether the receiver wants zero bytes.
15079 2006-01-12 Mark Wielaard <mark@klomp.org>
15081 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
15082 other side orderly closed connection.
15083 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
15084 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
15085 when end of stream reached.
15087 2006-01-12 Mark Wielaard <mark@klomp.org>
15089 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
15091 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
15092 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
15093 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
15094 * native/jni/java-net/javanet.c: Likewise.
15096 2006-01-12 Mark Wielaard <mark@klomp.org>
15098 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
15099 PR classpath/23863.
15101 2006-01-11 Chris Burdess <dog@gnu.org>
15103 * gnu/xml/transform/AttributeNode.java,
15104 gnu/xml/transform/ElementNode.java,
15105 gnu/xml/transform/LiteralNode.java,
15106 gnu/xml/transform/StreamSerializer.java,
15107 gnu/xml/transform/StrippingInstruction.java,
15108 gnu/xml/transform/Stylesheet.java,
15109 gnu/xml/transform/TransformerImpl.java,
15110 gnu/xml/transform/ValueOfNode.java,
15111 gnu/xml/xpath/Expr.java,
15112 gnu/xml/xpath/LocalNameFunction.java,
15113 gnu/xml/xpath/NameFunction.java,
15114 gnu/xml/xpath/NameTest.java,
15115 gnu/xml/xpath/NamespaceUriFunction.java,
15116 gnu/xml/xpath/NodeTypeTest.java,
15117 gnu/xml/xpath/SubstringFunction.java,
15118 javax/xml/namespace/QName.java: don't determine element namespace
15119 from namespace aliases when specified; better namespace handling
15120 when serializing elements; don't create HTML meta element unless
15121 head element exists; correct encoding of CDATA sections containing
15122 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
15123 default encoding for HTML output; rewrite of XSLT
15124 strip-space/preserve-space handling; correct doctype-public and
15125 doctype-system output attributes; insert generated doctype before
15126 document element; fixed result tree whitespace stripping
15127 algorithm; fixed semantics of XPath name, local-name, and
15128 namespace-uri functions; name tests handle XML/XMLNS namespaces
15129 correctly; fixed semantics of processing-instruction node test.
15130 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
15133 2006-01-11 Lillian Angel <langel@redhat.com>
15135 * javax/swing/text/DefaultStyledDocument.java
15136 (insertFracture): Added calls to addEdit for each time a structure
15137 is changed. addEdit is called on the newBranch, previous, and parent
15140 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
15142 * javax/swing/text/DefaultStyledDocument.java:
15143 (ElementBuffer.insertContentTag): Don't adjust the structure here.
15144 This will have been taken care of in insertFracture. Added a comment
15145 explaining that we need to add edits to the DocumentEvent and that
15146 this may be the place to do it.
15148 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
15150 * javax/swing/text/DefaultStyledDocument.java:
15151 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
15152 tag is an end tag. Avoid NPE by pushing the proper Element on to the
15153 elementStack when there is a start tag with JoinNextDirection.
15155 2006-01-11 Roman Kennke <kennke@aicas.com>
15157 Reported by: Fridjof Siebert <siebert@aicas.com>
15158 * java/util/Hashtable.java
15159 (KEYS): Removed unneeded field.
15160 (VALUES): Removed unneeded field.
15161 (ENTRIES): Removed unneeded field.
15162 (keys): Return a KeyEnumerator instance.
15163 (elements): Returns a ValueEnumerator instance.
15164 (toString): Use an EntryIterator instance.
15165 (keySet): Return a KeyIterator instance.
15166 (values): Return a ValueIterator instance.
15167 (entrySet): Return an EntryIterator instance.
15168 (hashCode): Use EntryIterator instance.
15169 (rehash): Changed this loop to avoid redundant reads and make
15170 it obvious that null checking is not needed.
15171 (writeObject): Use EntryIterator instance.
15172 (HashIterator): Removed class.
15173 (Enumerator): Removed class.
15174 (EntryIterator): New class.
15175 (KeyIterator): New class.
15176 (ValueIterator): New class.
15177 (EntryEnumerator): New class.
15178 (KeyEnumerator): New class.
15179 (ValueEnumerator): New class.
15181 2006-01-11 Lillian Angel <langel@redhat.com>
15183 * javax/swing/text/DefaultStyledDocument.java
15184 (toString): Shouldn't append the '>' character here.
15185 (createDefaultRoot): Should not set the resolve parent. This
15186 causes problems when comparing attribute sets.
15188 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
15190 * javax/swing/text/DefaultStyledDocument.java:
15191 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
15193 (ElementBuffer.insertFracture): New method.
15194 (ElementBuffer.insertContentTag): Removed unnecessary case for
15195 JoinFractureDirection - this only applies to start tags, not content
15197 (insertUpdate): Corrected conditions for setting direction to
15200 2006-01-10 Roman Kennke <kennke@aicas.com>
15202 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
15203 * ChangeLog-2005: New File.
15205 2006-01-10 Roman Kennke <kennke@aicas.com>
15207 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
15208 (get): Release the array with the correct pointer.
15209 (put): Release the array with the correct pointer. Copy the array
15210 around _before_ releasing it.
15212 2006-01-10 Roman Kennke <kennke@aicas.com>
15214 * javax/swing/ViewportLayout.java
15215 (layoutContainer): Fixed condition, to avoid ClasscastException.
15217 2006-01-10 Roman Kennke <kennke@aicas.com>
15219 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
15220 (MouseHandler.mousePressed): Fixed indendation.
15221 (MouseHandler.mouseDragged): Fixed indendation.
15223 2006-01-10 Roman Kennke <kennke@aicas.com>
15225 * javax/swing/plaf/basic/BasicLookAndFeel.java
15226 (playSound): Added @since 1.4 to the API docs.
15228 2006-01-10 Roman Kennke <kennke@aicas.com>
15230 * javax/swing/plaf/basic/BasicListUI.java
15231 (maybeUpdateLayoutState): Also update the layout state, if the
15232 list has been invalidated since the last update.
15234 2006-01-10 Roman Kennke <kennke@aicas.com>
15236 * javax/swing/plaf/ComponentUI.java
15237 (update): Fixed indendation.
15239 2006-01-10 Roman Kennke <kennke@aicas.com>
15241 * javax/swing/ViewportLayout.java
15242 (layoutContainer): Fixed condition, so that Scrollable components
15243 are always forced to have to Viewport size, when they
15244 return true for getScrollableTracksViewportHeight() and ..Width().
15246 2006-01-10 Roman Kennke <kennke@aicas.com>
15248 * javax/swing/RepaintManager.java
15249 (validateInvalidComponents): Fixed condition to avoid NPE.
15251 2006-01-10 Roman Kennke <kennke@aicas.com>
15253 * javax/swing/JViewport.java:
15254 (static_initializer): Removed unused variable myScrollMode.
15256 2006-01-10 Roman Kennke <kennke@aicas.com>
15258 * javax/swing/JTabbedPane.java:
15259 Cleared API docs a little.
15261 2006-01-10 Roman Kennke <kennke@aicas.com>
15263 * java/util/StringTokenizer.java
15264 (StringTokenizer(String, String, boolean)):
15265 Don't trigger NPE here for conformance with the spec.
15267 2006-01-10 Roman Kennke <kennke@aicas.com>
15269 * java/util/ArrayList.java
15270 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
15272 2006-01-10 Roman Kennke <kennke@aicas.com>
15274 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15275 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
15276 field to avoid NPE.
15278 2006-01-10 Roman Kennke <kennke@aicas.com>
15280 * native/jni/java-net/javanet.c
15281 (_javanet_shutdownOutput): Replaced strerror() with
15282 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
15283 (_javanet_shutdownInput): Replaced strerror() with
15284 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
15286 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
15288 * java/beans/EventSetDescriptor.java: Reformatted and
15291 2006-01-10 Roman Kennke <kennke@aicas.com>
15293 * java/lang/SecurityManager.java
15294 Fully qualified AWT class references in API docs.
15296 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
15298 * java/beans/EventSetDescriptor.java:
15299 (getGetListenerMethod): New method.
15301 2006-01-10 Mark Wielaard <mark@klomp.org>
15303 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
15305 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
15308 * java/util/Hashtable.java
15309 (contains): Call equals on existing value.
15310 (containsKey, get, put, remove): Call equals on existing key.
15311 (getEntry): Call equals on existing entry.
15313 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
15316 * java/util/AbstractMap.java
15317 (equals(Object,Object)): Test for identity first.
15318 * java/util/WeakHashMap.java
15319 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
15320 (WeakBucket.WeakEntry.toString): Fixed string representation of
15322 (internalGet): Use helper method to determine equality.
15324 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
15326 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
15329 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
15331 * javax/swing/text/PlainDocument.java:
15332 (insertUpdate): Handle special case of an insertion immediately
15333 following a newline character.
15335 2006-01-09 Roman Kennke <kennke@aicas.com>
15337 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
15338 (connect): Added stream parameter to _connect() call.
15339 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
15340 (connect): Added stream parameter to _connect() call.
15341 * native/jni/java-net/javanet.c
15342 (_javanet_create_localfd): Added stream parameter. Look up
15343 fd field based on the stream parameter either in SocketImpl or
15344 in DatagramSocketImpl.
15345 (_javanet_connect): Added stream parameter. Call create_localfd
15346 using this stream parameter. Set localPort field either in
15347 SocketImpl or in DatagramSocketImpl, depending on the stream
15349 * native/jni/java-net/javanet.c
15350 (_javanet_connect): Added stream parameter.
15352 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15354 * javax.management.Attribute.java: Grammar and
15357 2006-01-09 Mark Wielaard <mark@klomp.org>
15359 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
15360 exception when channel is not readable or writable.
15361 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
15362 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
15363 there is enough space to mmap().
15365 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
15367 * java/beans/Introspector.java:
15368 (getBeanInfo(Class, int)): New method.
15369 (getBeanInfo(Class, Class): Moved common code in a new method.
15370 (merge): New method.
15372 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
15374 * java/beans/XMLEncoder.java: Fix spelling mistakes.
15376 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
15378 * javax/swing/text/DefaultStyledDocument.java:
15379 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
15380 inlined this method because it needs to change the value of the
15381 finalStartTag and finalStartDirection variables.
15382 (checkForInsertAfterNewline): Removed this method.
15383 (handleInsertAfterNewline): Added case for making the start tag's
15384 direction JoinNextDirection.
15386 2006-01-09 Lillian Angel <langel@redhat.com>
15388 * javax/swing/plaf/basic/BasicTreeUI.java:
15390 (setRowHeight): Row height is set to the max height of
15391 all the nodes, or 20 as a default value.
15392 (getPathBounds): Cleaned up code.
15393 (getMaxHeight): New helper function that gets the max
15394 height of all the rows.
15395 (getClosestPathForLocation): Fixed to use getMaxHeight.
15396 (updateCachedPreferredSize): Likewise.
15397 (installUI): Shouldn't expand tree on startup.
15398 (getNodeDimensions): Fixed to use getMaxHeight.
15400 2006-01-09 Mark Wielaard <mark@klomp.org>
15402 * javax/swing/JList.java (setSelectedIndex): Clear selection when
15403 argument is negative.
15405 2006-01-08 Mark Wielaard <mark@klomp.org>
15407 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
15409 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15411 * javax.management.Attribute.java: New file.
15413 2006-01-09 Roman Kennke <kennke@aicas.com>
15415 * java/net/DatagramSocketImpl.java
15416 (localPort): Renamed to localport for correct access from native
15419 2006-01-09 Roman Kennke <kennke@aicas.com>
15421 * javax/swing/Popup.java
15422 (LightweightPopup.hide): Repaint the layered pane when popup is
15425 2006-01-09 Roman Kennke <kennke@aicas.com>
15427 * java/awt/Container.java
15428 (remove): Don't repaint the container here.
15430 2006-01-08 Tom Tromey <tromey@redhat.com>
15432 * java/lang/InheritableThreadLocal.java: Organized imports.
15434 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
15437 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
15438 when an empty string matched an empty token.
15440 2006-01-08 Chris Burdess <dog@gnu.org>
15442 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
15443 content models from external entities.
15444 * gnu/xml/stream/UnicodeReader.java: Report error instead of
15445 attempting to continue with unpaired surrogates.
15446 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
15447 resolving entities with character entity references; better
15448 checking of valid character ranges; don't report an error for URI
15449 fragments in notation declarations; check unbound namespace
15450 prefixes for elements and attributes, including XML 1.1 unbinding
15451 syntax; namespace-aware checking of attribute duplicates.
15453 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
15455 * java/beans/Statement.java: Doc fixes.
15456 (doExecute): Workaround for Class.forName call.
15457 (toString): Made output look more like on the JDK.
15458 * java/beans/Expression.java: Doc fixes.
15459 (toString): Made output look more like on the JDK.
15460 * java/beans/PersistenceDelegate.java,
15461 java/beans/DefaultPersistenceDelegate.java,
15462 java/beans/Encoder.java,
15463 java/beans/XMLEncoder.java: New file.
15464 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
15465 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
15466 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
15467 gnu/java/beans/encoder/Context.java,
15468 gnu/java/beans/encoder/GenericScannerState.java,
15469 gnu/java/beans/encoder/IgnoringScannerState.java,
15470 gnu/java/beans/encoder/MapPersistenceDelegate.java,
15471 gnu/java/beans/encoder/ObjectId.java,
15472 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
15473 gnu/java/beans/encoder/ReportingScannerState.java,
15474 gnu/java/beans/encoder/Root.java,
15475 gnu/java/beans/encoder/ScanEngine.java,
15476 gnu/java/beans/encoder/ScannerState.java,
15477 gnu/java/beans/encoder/StAXWriter.java,
15478 gnu/java/beans/encoder/Writer.java: New file.
15479 * gnu/java/beans/encoder/elements/Array_Get.java,
15480 gnu/java/beans/encoder/elements/Element.java,
15481 gnu/java/beans/encoder/elements/List_Set.java,
15482 gnu/java/beans/encoder/elements/Array_Set.java,
15483 gnu/java/beans/encoder/elements/NullObject.java,
15484 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
15485 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
15486 gnu/java/beans/encoder/elements/StringReference.java,
15487 gnu/java/beans/encoder/elements/ClassResolution.java,
15488 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
15489 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
15490 gnu/java/beans/encoder/elements/ObjectReference.java,
15491 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
15492 gnu/java/beans/encoder/elements/List_Get.java,
15493 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
15495 2006-01-08 Chris Burdess <dog@gnu.org>
15497 * java/lang/Character.java (toChars,toCodePoint): Correct these
15498 methods to use algorithms from Unicode specification.
15500 2006-01-08 Mark Wielaard <mark@klomp.org>
15502 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
15504 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
15507 * examples/Makefile.am: Corrected DESTDIR install paths.
15509 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15511 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
15512 ASCII character (line 46).
15514 2006-01-07 Roman Kennke <kennke@aicas.com>
15516 * javax/swing/text/TableView.java: New file.
15518 2006-01-07 Chris Burdess <dog@gnu.org>
15520 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
15521 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
15522 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
15523 available; correct handling of unparsed entity references;
15524 absolutize all base URIs; remove commented out code.
15526 2006-01-07 Chris Burdess <dog@gnu.org>
15528 * gnu/xml/stream/SAXParser.java,
15529 gnu/xml/stream/XMLParser.java: Add SAX property to return base
15530 URI of the current event.
15532 2006-01-07 Chris Burdess <dog@gnu.org>
15534 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
15537 2006-01-07 Chris Burdess <dog@gnu.org>
15539 * gnu/xml/stream/SAXParser.java,
15540 gnu/xml/stream/XIncludeFilter.java,
15541 gnu/xml/stream/XMLParser.java: Updated documentation.
15543 2006-01-07 Chris Burdess <dog@gnu.org>
15545 * AUTHORS: add self.
15547 2006-01-06 Casey Marshall <csm@gnu.org>
15549 * AUTHORS: add myself.
15551 2006-01-06 Casey Marshall <csm@gnu.org>
15554 * javax/crypto/CipherInputStream.java (logger): new constant.
15555 (cipher): make final.
15556 (outLength, inBuffer, inLength): removed.
15557 (isStream): make final.
15558 (VIRGIN, LIVING, DYING, DEAD, state): removed.
15560 (<init>): call `super,' not `this;' remove `inBuffer' and
15561 `outBuffer' initialization; init `eof;' add debug logging.
15562 (<init>): call `this' with a new null cipher.
15563 (available): fix javadoc to reflect the real semantics; if we
15564 don't have a buffer, call `nextBlock.'
15565 (close): synchronize.
15566 (read): synchronize; fix testing for buffered data.
15567 (read): synchronize; add `skip' semantics if first argument is
15568 `null;' decrypt stream cipher data only if there is any; fix tests
15570 (skip): stop using `available' to see how many data are buffered.
15571 (nextBlock): simplify to use cipher-allocated output buffers
15572 instead of internally allocated ones.
15574 2006-01-06 Tom Tromey <tromey@redhat.com>
15576 * java/lang/String.java (codePointCount): Fixed javadoc.
15578 2006-01-06 Tom Tromey <tromey@redhat.com>
15580 * java/lang/String.java (contains): Added @since.
15582 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
15585 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
15586 * gnu/regexp/RETokenRepeated.java(match): Break the loop
15587 when an empty string matched an empty token.
15589 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
15592 * gnu/java/util/WeakIdentityHashMap.java: New file.
15593 * java/lang/InheritableThreadLocal.java
15594 (newChildThread): Modified to remove key indirection.
15595 * java/lang/Thread.java
15596 (locals): Changed type to WeakIdentityHashMap.
15597 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
15599 * java/lang/ThreadLocal.java
15600 (key, Key): Removed.
15601 (get, set): Changed to use "this" instead of "key".
15603 2006-01-06 Dalibor Topic <robilad@kaffe.org>
15605 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
15607 * native/fdlibm/java-assert.h: Removed file.
15609 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
15610 Replaced use of JvAssert by assert.
15612 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
15614 * javax/swing/text/DefaultCaret.java:
15615 (setDot): Fixed paramater to Math.max to be this.dot and not the
15618 2006-01-05 Roman Kennke <kennke@aicas.com>
15620 * javax/swing/plaf/basic/BasicListUI.java
15621 (getCellHeight): New helper method.
15622 (getCellBounds): Use new helper method for determining the cell
15624 (paint): Don't call list.indexToLocation() but instead call
15625 directly into the same UI method.
15626 (locationToIndex): Fixed calculation of # visible rows and handling
15628 (indexToLocation): Fixed calculation of # visible rows and handling
15631 2006-01-05 Roman Kennke <kennke@aicas.com>
15633 * javax/swing/plaf/metal/MetalFileChooserUI.java
15634 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
15635 in the file chooser.
15637 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
15639 * javax/swing/JTextPane.java:
15640 (replaceSelection): If the document is an AbstractDocument, use replace
15641 rather than remove and insert.
15642 * javax/swing/event/EventListenerList.java:
15643 (getListeners): Reversed the order of the listeners to match the
15644 reference implementation.
15645 * javax/swing/text/AbstractDocument.java:
15646 (insertString): Add the UndoableEdit from the content.insertString call
15647 to the DocumentEvent.
15648 (DefaultDocumentEvent.toString): Implemented.
15649 * javax/swing/text/DefaultCaret.java:
15650 (setDot): Make sure dot is > 0 and less than the length of the
15652 * javax/swing/text/DefaultStyledDocument.java:
15653 (ElementBuffer.insertUpdate): Set the modified tag of the document
15654 event when we get start and end tags. This ensures that we create the
15655 proper BranchElements in endEdit().
15656 (ElementBuffer.insertUpdate): Added FIXME to handle
15657 JoinFractureDirection case.
15658 (insertUpdate): Added code to check if we're inserting immediately
15659 after a newline and to handle this case (create start and end tags).
15660 Only change the direction of the first and last tags if they are of
15662 (checkForInsertAfterNewline): New helper method.
15663 (handleInsertAfterNewline): Likewise.
15664 * javax/swing/text/View.java:
15665 (updateLayout): Avoid NPE by checking if shape is null. Repaint
15668 2006-01-05 Mark Wielaard <mark@klomp.org>
15670 * newsitems.txt: Add fosdem meeting.
15671 * events/events.wml: Likewise.
15672 * events/fosdem06.wml: New file.
15674 2006-01-05 Lillian Angel <langel@redhat.com>
15676 * javax/swing/text/GapContent.java
15677 (createPosition): No positions should be created inside the
15678 gap. Fixed check to ensure this does not happen.
15680 2006-01-05 Roman Kennke <kennke@aicas.com>
15682 * javax/swing/RepaintManager.java
15683 (validateInvalidComponents): Search for the validate root
15684 and start validating there.
15686 2006-01-05 Roman Kennke <kennke@aicas.com>
15688 * javax/swing/plaf/basic/BasicListUI.java
15689 (ComponentHandler): Removed unneeded class.
15690 (ListDataHandler.contentsChanged): Revalidate instead of calling
15692 (ListDataHandler.intervalAdded): Revalidate instead of calling
15694 (ListDataHandler.intervalRemoved): Revalidate instead of calling
15696 (PropertyChangeHandler.propertyChange): Or flags together instead
15697 of adding them. Don't call damageLayout().
15698 (componentListener): Removed unnecessary field.
15699 (damageLayout): Removed unnecessary method.
15700 (installListeners): Don't install unnecessary listeners.
15701 (uninstallListeners): Dito.
15702 (getPreferredSize): Don't ask for the real list height and
15703 calculate with the previously calculated list height.
15704 (locationToIndex): Renamed list parameter to l so that it doesn't
15705 shadow the field with the same name.
15706 (indexToLocation): Renamed list parameter to l so that it doesn't
15707 shadow the field with the same name.
15709 2006-01-04 Tom Tromey <tromey@redhat.com>
15711 * include/.cvsignore: Ignore config-int.h.
15713 2006-01-04 Roman Kennke <kennke@aicas.com>
15715 * javax/swing/plaf/basic/BasicListUI.java
15716 (getPreferredSize): Rewritten to match the specs.
15718 2006-01-04 Roman Kennke <kennke@aicas.com>
15720 * javax/swing/JFileChooser.java
15721 (showOpenDialog): Set fixed width on the dialog.
15722 (showSaveDialog): Set fixed width on the dialog.
15723 (showDialog): Set fixed width on the dialog.
15725 2006-01-04 Roman Kennke <kennke@aicas.com>
15727 * javax/swing/plaf/basic/BasicListUI.java
15728 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
15729 Adjusted iteration to not use visibleRowCount and instead iterate
15730 over the real number of elements in cellHeights.
15731 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
15732 Adjusted iteration to not use visibleRowCount and instead iterate
15733 over the real number of elements in cellHeights.
15735 2006-01-04 Roman Kennke <kennke@aicas.com>
15737 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
15738 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
15739 Added __attribute__((__unused__)) macros to avoid gcc warnings.
15741 2006-01-04 Roman Kennke <kennke@aicas.com>
15743 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
15744 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
15746 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
15747 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
15749 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
15751 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
15752 * native/jni/java-net/Makefile.am: Adjusted for new source files.
15753 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
15754 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
15755 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
15756 * include/gnu_java_net_PlainSocketImpl.h: Removed.
15757 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
15758 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
15760 2006-01-04 Lillian Angel <langel@redhat.com>
15762 * javax/swing/plaf/metal/MetalFileChooserUI.java
15763 (propertyChange): Fixed to change the combo box label
15764 appropriately. Also, fixed to set the textfield's text
15766 (editFile): Fixed size of editing field.
15767 (installComponents): Correctly aligned all panels.
15768 (installStrings): Fixed to set the label's text
15769 appropriately depending on the dialog type.
15771 2006-01-04 Lillian Angel <langel@redhat.com>
15775 * javax/swing/JTree.java
15776 (JTree): Because some L&F defaults have been updated,
15777 the selectionMode for the tree needed to be set to SINGLE.
15778 * javax/swing/plaf/basic/BasicFileChooserUI.java:
15779 Initialized accessoryPanel.
15780 * javax/swing/plaf/metal/MetalFileChooserUI.java
15781 (installComponents): Added accessoryPanel to the filechooser.
15783 2006-01-04 Dalibor Topic <robilad@kaffe.org>
15785 * configure.ac: Added AX_CREATE_STDINT_H
15787 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
15789 * m4/ax_create_stdint_h.m4: New file.
15791 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
15792 typedefs. Removed stdint.h and inttypes.h includes.
15794 2006-01-03 Mark Wielaard <mark@klomp.org>
15796 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
15797 register keyboard action when accelerator is not null.
15798 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
15799 re-register accelerator if not null.
15800 (installKeyboardActions): Only put accelerator in map when not null.
15802 2006-01-04 Lillian Angel <langel@redhat.com>
15804 * javax/swing/plaf/basic/BasicLookAndFeel.java
15805 (initComponentDefaults): Removed unneeded default.
15806 * javax/swing/plaf/metal/MetalLookAndFeel.java
15807 (initComponentDefaults): Added and fixed several defaults.
15809 2006-01-04 Roman Kennke <kennke@aicas.com>
15811 * javax/swing/plaf/basic/BasicHTML.java: New class.
15813 2006-01-03 Tom Tromey <tromey@redhat.com>
15815 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
15816 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
15818 2006-01-03 Mark Wielaard <mark@klomp.org>
15820 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
15822 2006-01-03 Mark Wielaard <mark@klomp.org>
15824 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
15825 Always call createDefaultTheme().
15826 (createDefaultTheme): Check whether theme is still null.
15828 2006-01-03 Mark Wielaard <mark@klomp.org>
15830 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
15831 Color.WHITE if null.
15833 2006-01-03 Lillian Angel <langel@redhat.com>
15835 * javax/swing/plaf/metal/MetalLookAndFeel.java
15836 (getDescription): Fixed to return the correct string.
15838 (getName): Likewise.
15839 (getDefaults): Added check to avoid NPE.
15840 (getAcceleratorForeground): Likewise.
15841 (getAcceleratorSelectedForeground): Likewise.
15842 (getBlack): Likewise.
15843 (getControl): Likewise.
15844 (getControlDarkShadow): Likewise.
15845 (getControlDisabled): Likewise.
15846 (getControlHighlight): Likewise.
15847 (getControlInfo): Likewise.
15848 (getControlShadow): Likewise.
15849 (getControlTextColor): Likewise.
15850 (getControlTextFont): Likewise.
15851 (getDesktopColor): Likewise.
15852 (getFocusColor): Likewise.
15853 (getHighlightedTextColor): Likewise.
15854 (getInactiveControlTextColor): Likewise.
15855 (getInactiveSystemTextColor): Likewise.
15856 (getMenuBackground): Likewise.
15857 (getMenuDisabledForeground): Likewise.
15858 (getMenuForeground): Likewise.
15859 (getMenuSelectedBackground): Likewise.
15860 (getMenuSelectedForeground): Likewise.
15861 (getMenuTextFont): Likewise.
15862 (getPrimaryControl): Likewise.
15863 (getPrimaryControlDarkShadow): Likewise.
15864 (getPrimaryControlHighlight): Likewise.
15865 (getPrimaryControlInfo): Likewise.
15866 (getPrimaryControlShadow): Likewise.
15867 (getSeparatorBackground): Likewise.
15868 (getSeparatorForeground): Likewise.
15869 (getSubTextFont): Likewise.
15870 (getSystemTextColor): Likewise.
15871 (getSystemTextFont): Likewise.
15872 (getTextHighlightColor): Likewise.
15873 (getUserTextColor): Likewise.
15874 (getUserTextFont): Likewise.
15875 (getWhite): Likewise.
15876 (getWindowBackground): Likewise.
15877 (getWindowTitleBackground): Likewise.
15878 (getWindowTitleFont): Likewise.
15879 (getWindowTitleForeground): Likewise.
15880 (getWindowTitleInactiveBackground): Likewise.
15881 (getWindowTitleInactiveForeground): Likewise.
15883 2006-01-03 Mark Wielaard <mark@klomp.org>
15885 * javax/swing/JTextArea.java
15886 (JTextArea(Document,text,int,int)): Only call setText() when text is
15889 2006-01-03 Lillian Angel <langel@redhat.com>
15891 * javax/swing/plaf/basic/BasicFileChooserUI.java
15892 (installStrings): Fixed installation of defaults that
15893 were changed in BasicLookAndFeel.
15894 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15895 (installDefaults): Fixed installation of defaults that
15896 were changed in BasicLookAndFeel.
15898 2006-01-03 Lillian Angel <langel@redhat.com>
15900 * javax/swing/plaf/basic/BasicLookAndFeel.java
15901 (initComponentDefaults): Fixed several defaults that differed
15904 2006-01-03 Lillian Angel <langel@redhat.com>
15906 * javax/swing/tree/DefaultTreeSelectionModel.java
15907 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
15909 2006-01-03 Lillian Angel <langel@redhat.com>
15911 * javax/swing/AbstractAction.java
15912 (AbstractAction): Fixed to pass in null. Should not be
15913 an empty string. Removed TODO comment.
15914 (AbstractAction): Removed TODO comment.
15915 * javax/swing/JList.java
15916 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
15917 * javax/swing/JMenuItem.java
15918 (JMenuItem): Set all defaults if the action passed in is not null.
15919 * javax/swing/JProgressBar.java
15920 (JProgressBar): Added check to prevent NPE.
15922 2006-01-03 Lillian Angel <langel@redhat.com>
15924 * javax/swing/plaf/basic/BasicListUI.java
15925 (getPreferredSize): The JDK adds some extra space to
15926 the list, so we should as well.
15927 * javax/swing/plaf/metal/MetalFileChooserUI.java
15928 (getPreferredSize): Should only take the fileListPanel's
15929 width into account when getting the size. Also, the buttonPanel's
15930 size should not be checked, since it is in the bottomPanel already.
15931 (getMinimumSize): Likewise.
15933 2006-01-03 Lillian Angel <langel@redhat.com>
15935 * javax/swing/JList.java
15936 (init): visibleRowCount should be 7, like the JDK.
15937 * javax/swing/plaf/metal/MetalFileChooserUI.java
15938 (installComponents): No need to add the fileFilterCombo
15939 to a panel. It can be added to the row directly.
15941 2006-01-03 Lillian Angel <langel@redhat.com>
15943 PR classpath/25480 PR classpath/25478
15944 * javax/swing/plaf/basic/BasicScrollPaneUI.java
15945 (updateViewport): Made changes suggested by
15947 * javax/swing/plaf/metal/MetalFileChooserUI.java:
15948 Removed unneeded import.
15949 (createList): Removed comment, JList wrapping
15951 (getPreferredSize): Made changes suggested by
15952 Chris Lansdown. Uses fileListPanel, instead
15954 (getMinimumSize): Uses fileListPanel, instead
15956 * javax/swing/plaf/metal/MetalRadioButtonUI.java
15957 (paintFocus): Fixed height.
15959 2006-01-03 Roman Kennke <kennke@aicas.com>
15961 * javax/swing/plaf/basic/BasicListUI.java
15962 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
15964 2006-01-03 Roman Kennke <kennke@aicas.com>
15966 * javax/swing/plaf/basic/BasicListUI.java
15967 (locationToIndex): Special case for when variable cell heights
15968 are possible. (cellHeights is used instead of cellHeight).
15969 (indexToLocation): Special case for when variable cell heights
15970 are possible. (cellHeights is used instead of cellHeight).
15972 2006-01-03 Roman Kennke <kennke@aicas.com>
15974 * javax/swing/text/DefaultStyledDocument.java
15975 (ElementBuffer.remove): New method.
15976 (ElementBuffer.removeUpdate): New method.
15977 (removeUpdate): New method.
15979 2006-01-03 Roman Kennke <kennke@aicas.com>
15982 (dist-hook): Preserve attributes of Java sources when copying to
15985 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
15987 * AUTHORS: Added self.
15988 * java/security/Security.java (getProvider): Ensures provider's name is
15989 not null, not an empty string, and is trimmed before usage.
15991 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15993 * gnu/CORBA/Poa/AOM.java (add):
15994 Changed parameter Object into gnuServantObject.
15995 (Obj.object): Changed type to gnuServantObject.
15996 (findObject): Rewritten.
15998 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
16000 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
16001 buffering. Ability has gone in Qt-4.1.x.
16003 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
16004 to have the right include flags.
16006 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
16008 * java/security/MessageDigest.java (getInstance(String,String)):
16009 Use trimmed copy of provider name.
16010 * gnu/java/security/Engine.java
16011 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
16012 service and algorithm names.
16014 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
16016 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
16017 localhost is null or is an empty string. Trim hostname before
16022 coding: iso-latin-1-unix