1 2006-05-15 Mark Wielaard <mark@klomp.org>
3 * configure.ac (VERSION): Set to 0.91.
5 2006-05-15 Mark Wielaard <mark@klomp.org>
7 * NEWS: Add release date and VMClassLoader.getBootPackages()
10 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
12 * README: Added CACAO to list of VMs.
14 2006-05-14 Mark Wielaard <mark@klomp.org>
16 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19 2006-05-14 Chris Burdess <dog@gnu.org>
21 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
22 nodes to be preserved during cloneNode.
24 2006-05-14 Mark Wielaard <mark@klomp.org>
27 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
28 inherited timeout on socket.
30 2006-05-14 Lillian Angel <langel@redhat.com>
32 * java/util/SimpleTimeZone.java: Reverted patch.
33 (SimpleTimeZone): Throw exception if startMonth ==
35 (SimpleTimeZone): Likewise.
36 (checkRule): Rewritten to properly check all values (more
38 This code is now more stable, at least less buggy than before.
39 Fixed API documentation.
40 (setStartRule): Moved checkRule call to end.
41 (setStartRule): Likewise.
42 (setEndRule): Likewise.
43 (setEndRule): Likewise.
45 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
47 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
50 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
53 * javax/swing/text/AbstractDocument.java:
54 (insertString): Flipped if-expression and its blocks.
56 (replace): Flipped if-expression and its blocks, added note, invoke
57 insertString and remove instead of insertStringImpl and removeImpl.
59 2006-05-13 Tom Tromey <tromey@redhat.com>
61 * java/nio/ByteBufferImpl.java (compact): Always set position.
63 2006-05-11 Mark Wielaard <mark@klomp.org>
65 * java/util/logging/Logger.java (global): Initialize inside static
68 2006-05-11 Mark Wielaard <mark@klomp.org>
70 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
71 Fully qualify PathIterator constants
73 2006-05-10 Roman Kennke <kennke@aicas.com>
76 * javax/swing/plaf/basic/BasicInternalFrameUI.java
77 (installDefaults): Set background of content pane to null, if
78 no custom color has been installed by the application yet.
80 2006-05-10 Roman Kennke <kennke@aicas.com>
83 * javax/swing/JRootPane.java
84 (createContentPane): Don't set background to null.
86 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
89 * javax/swing/text/AbstractDocument.java:
90 (insertString): Added more documentation, added argument check.
91 (remove): Added more documentation.
92 (removeImpl): Added argument check.
93 (replace): Added more documentation, added argument check.
95 2006-05-08 Lillian Angel <langel@redhat.com>
97 * java/net/URLClassLoader.java
98 (JarURLLoader): Added check to make sure the INDEX.LIST file
101 2006-05-08 Roman Kennke <kennke@aicas.com>
104 * javax/swing/JRootPane.java
105 (createContentPane): Set background of the content pane to null,
106 so that the content pane inherits its background from the
109 2006-05-08 Roman Kennke <kennke@aicas.com>
112 * javax/swing/ButtonGroup.java
113 (add): Check if new button is selected and if so, deselect other
114 buttons in the group.
116 2006-05-08 Lillian Angel <langel@redhat.com>
119 * java/net/URLClassLoader.java
120 (JarURLLoader): Added code to go through
121 META-INF/INDEX.LIST file to load all jars listed.
123 2006-05-08 Roman Kennke <kennke@aicas.com>
126 * javax/swing/ImageIcon.java
127 (ImageIcon(URL)): Set description to URL.toString().
129 2006-05-08 Roman Kennke <kennke@aicas.com>
132 * javax/swing/JTable.java
133 (IconCellRenderer.getTableCellRendererComponent): Set icon to
134 null when cell value is null.
136 2006-05-08 Roman Kennke <kennke@aicas.com>
139 * javax/swing/DefaultDesktopManager.java
140 (closeFrame): Don't perform default close action on the frame
141 to prevent endless loop.
143 2006-05-08 Roman Kennke <kennke@aicas.com>
146 * javax/swing/table/DefaultTableModel.java
147 (addExtraRows): New helper method.
148 (checkSize): New helper method.
149 (setRowCount): Use addExtraRows helper method.
150 (addColumn): Use addExtraRows helper method.
151 (getColumnName): Check and adjust size if necessary using
154 2006-05-08 Roman Kennke <kennke@aicas.com>
157 * javax/swing/JTable.java
158 (setValueAt): Allow setting values even when table is editable.
160 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
163 * java/util/zip/DeflaterEngine.java:
164 (deflateFast(boolean,boolean)): Empty buffer when full.
166 2006-05-07 Sven de Marothy <sven@physto.se>
169 * java/util/Calendar.java (setTimeZone): Force recalculation.
171 2006-05-07 Sven de Marothy <sven@physto.se>
174 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
175 (propertyChange): Handle FRAME_ICON_PROPERTY property.
177 2006-05-06 Sven de Marothy <sven@physto.se>
180 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
181 Check for zero image sizes.
183 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
186 * gnu/java/text/StringFormatBuffer.java:
187 (toString()): Implemented so we can see the contents.
188 * java/text/DecimalFormat.java:
189 (formatInternal(double,StringFormatBuffer,FieldPosition)):
190 Don't calculate the exponent when the number is 0 or less.
191 Also, use log10 instead of log now it's available.
193 2006-05-07 Sven de Marothy <sven@physto.se>
196 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
197 * java/awt/Component.java (processMouseEvent):
198 Do lightweight cursor handling.
199 * javax/swing/plaf/basic/BasicTableHeaderUI.java
200 (endResizing,mouseMoved): Save and reset original cursor, not the
203 2006-05-07 Roman Kennke <kennke@aicas.com>
205 * gnu/java/awt/java2d/RasterGraphics.java: New file.
207 2006-05-07 Roman Kennke <kennke@aicas.com>
209 * gnu/java/awt/java2d/AbstractGraphics2D.java
210 (fillShape): Determine user space bounds of shape and feed them
211 into the actual rendering pipeline.
212 (rawSetPixel): Made non-abstract for now. Maybe remove later.
213 (rawSetForeground): Likewise.
214 (getDestinationColorModel): Removed.
215 (getDeviceBounds): Made non-abstract. Provide useful default impl.
216 (rawFillShape): Handle paint context.
217 (fillScanline): Implement painting and compositing.
218 (fillShapeAntialias): Handle paint context.
219 (fillScanlineAA): Implemented preliminary antialiasing based on
220 composite context. Not working yet.
221 (fillScanlineAlpha): Removed.
222 (init): Fetch destination raster.
223 (getDestinationRaster): New abstract method.
224 (updateRaster): New backend method.
226 2006-05-07 Roman Kennke <kennke@aicas.com>
228 * gnu/java/awt/java2d/AlphaCompositeContext.java
229 (compose): Fixed loops, conditions and logic to make compositing
232 2006-05-05 Roman Kennke <kennke@aicas.com>
234 * java/awt/image/ColorModel.java
235 (getNormalizedComponents): Implemented.
237 2006-05-05 Roman Kennke <kennke@aicas.com>
239 * javax/swing/plaf/basic/BasicRadioButtonUI.java
240 (paint): Query the button model for it's state, not the
243 2006-05-05 Roman Kennke <kennke@aicas.com>
245 * javax/swing/JTable.java
246 (tableChanged): Sync selection model with table model changes.
248 2006-05-04 Roman Kennke <kennke@aicas.com>
250 * javax/swing/plaf/basic/BasicButtonListener.java
251 (mouseEntered): Fixed conditions for changing states.
253 2006-05-04 Roman Kennke <kennke@aicas.com>
255 * javax/swing/JOptionPane.java
256 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
258 2006-05-04 Roman Kennke <kennke@aicas.com>
260 * javax/swing/JLabel.java
261 (AccessibleJLabel.getSelectedText): Return null instead of "".
262 (AccessibleJLabel.getSelectionStart): Added comment why
263 return -1 is correct here.
264 (AccessibleJLabel.getSelectionEnd): Added comment why
265 return -1 is correct here.
266 (AccessibleJLabel.getCharacterAttribute): Added comment about
268 (AccessibleJLabel.getCharCount): Added comment about what
270 (AccessibleJLabel.getCharacterBounds): Tagged as not
272 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
273 (paramString): Return super.paramString() here, this provides
274 a more meaningful output.
276 2006-05-04 Roman Kennke <kennke@aicas.com>
278 * javax/swing/JComponent.java
279 (paint): Added null check to avoid NPE when clip == null.
281 2006-05-04 Roman Kennke <kennke@aicas.com>
283 * javax/swing/AbstractButton.java
284 (addImpl): New method. Installs an OverlayLayout if no
285 other layout has been installed before.
286 (setLayout): New method. Detect if a client app installs a
289 2006-05-04 Roman Kennke <kennke@aicas.com>
291 * javax/swing/table/DefaultTableCellModel.java
292 (noFocusBorder): Fixed width of empty border to 1.
293 (getTableCellRendererComponent): Don't change the colors for
294 focuses cells. Fixed border for focused cells.
296 2006-05-04 Roman Kennke <kennke@aicas.com>
298 * javax/swing/JTable.java
299 (moveToCellBeingEdited): Adjust bounding box
300 of editing component to exactly cover the grid.
301 * javax/swing/plaf/basic/BasicTableUI.java
302 (paint): Paint grid to the bottom and right of
303 the cells instead of left and top. Adjust bounding
304 box of cells accordingly.
305 * javax/swing/plaf/metal/MetalLookAndFeel.java
306 (initComponentDefaults): Fixed color of JTable
308 * javax/swing/plaf/metal/OceanTheme.java
309 (addCustomEntriesToTable): Fixed color of JTable
312 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
314 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
315 Use _alias instead of alias.
317 2006-05-04 Lillian Angel <langel@redhat.com>
319 * javax/swing/JLabel.java
320 (JLabel): Pass in an empty string for the text parameter.
324 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
326 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
327 if there are no visible nodes to paint.
329 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
331 * include/Makefile.am:
332 Added rules for gnu.java.net.local.LocalSocketImpl.h
333 * include/java_lang_VMSystem.h:
334 Regenerated correctly.
336 2006-05-03 Sven de Marothy <sven@physto.se>
339 * java/awt/Image.java:
340 (getScaledInstance): Default to AreaAveraging for "smooth",
341 don't thrown an error on illegal flag values.
342 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
344 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
346 * javax/swing/text/FieldView.java:
347 (adjustAllocation): Added if-block to return null when shape argument
349 * javax/swing/text/PlainView.java:
350 (updateDamage): Added if-block to return early if a is null.
352 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
354 * javax/swing/plaf/basic/BasicTextUI.java:
355 (changeUpdate): Added note.
356 (removeUpdate): Dito.
357 (insertUpdate): Dito.
358 (damageRange): Added if-block to return early.
359 (modelToView): Added check of getVisibleEditorRect's return value.
360 (getVisibleEditorRect): Return null instead of empty rectangle.
361 * javax/swing/text/DefaultCaret.java:
362 (clearHighlight): Removed if-clause to create a highlight entry if it
363 did not exist before.
364 * javax/swing/text/WrappedPlainView.java:
365 (WrappedLine.modelToView): Throw exception if allocation area is empty,
366 removed 2nd part of if-expression.
367 (WrappedLine.updateDamage): Added more documentation, added check
368 whether allocation area rectangle is null.
370 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
372 * javax/swing/JSplitPane.java (setDividerLocation(int)):
373 Reset to preferred sizes if the argument is negative.
375 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
377 * javax/swing/JList.java: Added/updated API docs.
379 2006-05-03 Lillian Angel <langel@redhat.com>
381 * javax/swing/JComponent.java
382 (getRoot): New private function. Gets the root appropriate
383 for painting. If an applet exists as a parent, then it is returned.
384 (paintDoubleBuffered): Changed to use new function.
385 * javax/swing/RepaintManager.java
386 (getRoot): New private function. Gets the root appropriate
387 for painting. If an applet exists as a parent, then it is returned.
388 (getOffscreenBuffer): Changed to use new function.
389 * javax/swing/SwingUtilties.java
390 (getRoot): Reverted last patch to return Window, even if
393 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
395 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
396 a pair of one public keyring and one private keyring.
397 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
398 (containsCertificate): Added logging.
399 (getCertificate): Likewise.
400 (putCertificate): Likewsie.
403 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
404 (containsPrivateKey): Added logging.
405 (getPrivateKey): Likewise.
406 (putPrivateKey): Likewise.
407 (containsPublicKey): Likewise.
408 (getPublicKey): Likewise.
409 (putPublicKey): Likewise.
410 (containsCertPath): Likewise.
411 (getCertPath): Likewise.
412 (putCertPath): Likewise.
416 2006-05-03 Roman Kennke <kennke@aicas.com>
418 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
419 * java/awt/AlphaComposite.java
420 (createContext): Implemented.
422 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
424 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
425 Set the current color again after drawing the raster.
427 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
429 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
430 Do not check pos < currLineEnd if currLineStart == currLineEnd.
432 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
434 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
435 Assign returned value to field handler.
436 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
439 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
441 * javax/swing/ScrollPaneLayout.java (layoutContainer):
442 Return without action if there is no view in the viewport.
443 * javax/swing/text/WrappedPlainView.java
444 (WrappedLine.getPreferredSpan): If metrics == null, update
446 * javax/swing/tree/DefaultTreeModel.java (constructors):
447 Do not call setRoot, assign the root node directly.
449 2006-05-02 Lillian Angel <langel@redhat.com>
451 * javax/swing/SwingUtilities.java
452 (getRoot): Should return the Applet if it exists.
453 Only return the Window if an Applet has not been
456 2006-05-02 Lillian Angel <langel@redhat.com>
458 * gnu/javax/swing/text/html/parser/support/Parser.java
459 (readAttributes): Reverted Audrius' last patch. There is
460 a slight difference in code between the NUMTOKEN and SLASH case.
462 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
464 * javax/swing/text/JTextComponent.java:
465 (setText): Throw InternalError from catch-block.
466 * javax/swing/text/GapContent.java:
467 (removed): Removed if-expression, changed '>' to '>='.
469 2006-05-02 Roman Kennke <kennke@aicas.com>
471 * gnu/java/awt/java2d/AbstractGraphics2D.java
472 (AA_SAMPLING): New constant.
473 (alpha): New field. Used in the antialiasing renderer.
474 (edgeTable): New field. Used in the antialiasing renderer.
475 (AbstractGraphics2D): Initialize rendering hints wrt
477 (draw): Clip after stroking. Commented out clipping for now,
478 it seems to be buggy.
479 (fill): Commented out clipping for now, it seems to be buggy.
480 (setComposite): Don't create composite context.
481 (setPaint): Only change paint when parameter is not null.
482 (translate): Call setClip() so subclasses can update their clip
484 (clip): Call setClip() so subclasses can update their clip
486 (drawGlyphVector): Added clipping, but left it commented out
488 (getClipBounds): Returns null when clip is null.
489 (drawLine): Call rawDrawLine with translation applied.
490 (filLRect): Call rawFillRect with translation applied.
491 (fillShape): Added support for anti-aliasing.
492 (rawSetForeground(int,int,int)): New method.
493 (rawFillShape): A couple of painting fixes.
494 (fillScanline): Implemented to call rawDrawLine.
495 (fillShapeAntialias): New method. Implements an anti-aliasing
497 (fillScanlineAA): New method. Used for the anti-aliasing
499 (fillScanlineAlpha): New method. Used for the anti-aliasing
501 (init): Initialize clip with the device bounds.
502 (updateOptimization): Fixed the optimization condition.
504 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
506 * javax/swing/text/GapContent.java:
507 (GapContent): Restrict size argument by 2.
508 (insertString): Changed expression from >= to >.
509 (remove): Changed right side of expression to 'length - 1', changed
511 (getChars): Throw exception if where below 0.
512 (replace): Replaced call to setPositionsInRange() with
513 resetMarksAtZero(), removed note.
515 2006-05-02 Roman Kennke <kennke@aicas.com>
518 * javax/swing/MenuSelectionManager.java
519 (setSelectedPath): Rewritten.
521 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
523 * gnu/javax/swing/text/html/parser/support/Parser.java
524 (readAttributes): Merge case NUMTOKEN: and case SLASH:
527 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
529 * tools/.cvsignore: Added keytool.sh.
530 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
532 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
534 * doc/tools.texinfo: New file.
535 * doc/Makefile.am: Generate tools documentation.
537 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
539 * tools/keytool.sh.in: New file.
540 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
541 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
542 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
543 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
544 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
545 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
546 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
547 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
548 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
549 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
550 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
551 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
552 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
553 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
554 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
555 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
556 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
557 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
559 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
561 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
562 resemble more closely man-page style text.
563 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
564 Mark (Eclipse) strings that need not be externalised.
566 (writeDSA): Likewise.
567 Use package-private Messages class to provide i18n-ready strings.
569 Use package-private Messages class to provide i18n-ready strings.
570 (updateEntry): Likewise.
571 Mark (Eclipse) strings that need not be externalised.
572 (finishSigning): Likewise.
573 * tools/gnu/classpath/tools/jarsigner/Main.java:
574 Mark (Eclipse) strings that need not be externalised.
575 (main): Do not use constant strings as class name.
576 Use package-private Messages class to provide i18n-ready strings.
577 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
578 (processArgs): Do not use constant strings as class name.
579 Mark (Eclipse) strings that need not be externalised.
580 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
581 (start): Do not use constant strings as class name.
582 (teardown): Likewise.
584 (setupCommonParams): Do not use constant strings as class name.
585 Use package-private Messages class to provide i18n-ready strings.
586 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
587 (installNewProvider): Do not use constant strings as class name.
589 (setupSigningParams): Do not use constant strings as class name.
590 Use package-private Messages class to provide i18n-ready strings.
591 Mark (Eclipse) strings that need not be externalised.
592 (getCallbackHandler): Use CallbackUtil.
593 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
594 Use package-private Messages class to provide i18n-ready strings.
595 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
596 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
597 (verifySF): Likewise.
598 (verifySFEntries): Do not use constant strings as class name.
599 Use Boolean.valueOf instead of new Boolean().
600 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
601 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
603 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
604 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
606 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
608 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
609 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
610 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
612 2006-05-01 Tom Tromey <tromey@redhat.com>
614 * java/nio/ByteBufferImpl.java (compact): Don't reset position
616 * gnu/java/nio/ChannelReader.java (read): Synchronize.
617 (close): Synchronize.
618 * java/nio/ShortBufferImpl.java (compact): Rewrote.
619 * java/nio/LongBufferImpl.java (compact): Rewrote.
620 * java/nio/IntBufferImpl.java (compact): Rewrote.
621 * java/nio/FloatBufferImpl.java (compact): Rewrote.
622 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
623 * java/nio/CharBufferImpl.java (compact): Rewrote.
624 * gnu/java/nio/ChannelWriter.java: New file.
625 * java/nio/channels/Channels.java (newWriter): Implemented.
627 2006-05-01 Lillian Angel <langel@redhat.com>
629 * java/util/SimpleTimeZone.java
630 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
631 (SimpleTimeZone): Likewise.
632 (checkRule): Rewritten to properly check all values (more efficently).
633 This code is now more stable, at least less buggy than before. Fixed
635 (setStartRule): Moved checkRule call to end.
636 (setStartRule): Likewise.
637 (setEndRule): Likewise.
638 (setEndRule): Likewise.
640 2006-05-01 Tom Tromey <tromey@redhat.com>
642 * lib/.cvsignore: Added classes.2.
644 2006-05-01 Tom Tromey <tromey@redhat.com>
646 * java/util/jar/JarFile.java (provider): Now package-private.
647 * java/lang/Enum.java (compareTo): Javadoc fix.
648 * java/lang/Boolean.java (compareTo): Javadoc fix.
650 2006-05-01 Lillian Angel <langel@redhat.com>
652 * gnu/javax/swing/text/html/parser/support/Parser.java
653 (readAttributes): Formatted function. Added handling for
654 SLASH token. The value of an attribute may start with a slash
655 (i.e. a path). I added handling similar to to the NUMTOKEN code.
656 We should not be skipping over these type of attributes.
658 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
660 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
661 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
662 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
663 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
664 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
665 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
666 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
667 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
668 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
669 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
670 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
671 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
672 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
673 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
674 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
675 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
676 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
677 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
678 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
679 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
680 * include/gnu_java_awt_peer_gtk_GtkImage.h,
681 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
682 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
683 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
684 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
685 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
686 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
687 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
688 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
689 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
690 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
691 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
692 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
693 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
694 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
695 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
696 * include/gnu_java_awt_peer_qt_MainQtThread.h,
697 * include/gnu_java_awt_peer_qt_QMatrix.h,
698 * include/gnu_java_awt_peer_qt_QPainterPath.h,
699 * include/gnu_java_awt_peer_qt_QPen.h,
700 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
701 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
702 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
703 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
704 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
705 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
706 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
707 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
708 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
709 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
710 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
711 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
712 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
713 * include/gnu_java_awt_peer_qt_QtGraphics.h,
714 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
715 * include/gnu_java_awt_peer_qt_QtImage.h,
716 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
717 * include/gnu_java_awt_peer_qt_QtListPeer.h,
718 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
719 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
720 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
721 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
722 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
723 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
724 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
725 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
726 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
727 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
728 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
729 * include/gnu_java_awt_peer_qt_QtToolkit.h,
730 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
731 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
732 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
733 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
734 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
735 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
736 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
737 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
738 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
739 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
740 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
741 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
742 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
743 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
744 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
745 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
746 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
747 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
748 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
749 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
750 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
751 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
752 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
753 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
754 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
755 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
756 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
757 * include/java_lang_VMProcess.h:
759 * native/jni/java-lang/java_lang_VMProcess.c:
760 Redirect when pipe_count is 2 not 3.
762 2006-04-30 Sascha Brawer <sascha@brawer.ch>
764 * gnu/java/awt/font/FontDelegate.java,
765 * gnu/java/awt/font/FontFactory.java,
766 * gnu/java/awt/font/GNUGlyphVector.java,
767 * gnu/java/awt/font/opentype/CharGlyphMap.java,
768 * gnu/java/awt/font/opentype/GlyphNamer.java,
769 * gnu/java/awt/font/opentype/MacResourceFork.java,
770 * gnu/java/awt/font/opentype/NameDecoder.java,
771 * gnu/java/awt/font/opentype/OpenTypeFont.java,
772 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
773 * gnu/java/awt/font/opentype/Scaler.java,
774 * gnu/java/awt/font/opentype/truetype/Fixed.java,
775 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
776 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
777 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
778 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
779 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
780 * gnu/java/awt/font/opentype/truetype/Zone.java,
781 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
782 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
783 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
784 New files. Imported font framework from:
785 http://www.brawer.ch/software/fonts/
787 2006-04-30 Roman Kennke <kennke@aicas.com>
789 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
790 (lastTabInRun): Fix calculation of the last tab in a run. This
791 has caused painting problems sometimes, making the
792 last tab painted incorrectly.
794 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
797 * javax/swing/JComponent.java (paintChildrenWithOverlap):
798 Use for and not while to prevent the endless loop.
800 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
802 * javax/swing/JList.java
803 (paramString): Changed from public to protected.
805 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
807 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
808 (printHelpAndExit): Re-factored to use the above method.
810 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
812 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
813 Use -Xbootclasspath/p instead of -cp when invoking the main class.
814 * tools/gnu/classpath/tools/jarsigner/Main.java:
815 Changed license to GPL + Exception.
816 (handler): New field.
817 (getCallbackHandler): New method.
818 (setupSigningParams): Use above method.
819 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
820 Changed license to GPL + Exception.
821 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
822 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
823 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
824 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
826 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
828 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
829 (handleConfirmation): Use print instead of println.
830 (handleConfirmation): When case is YES_NO_OPTION, print default option
832 (handleLanguage): Use print instead of println.
834 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
836 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
837 (putComponent): Handle O and OU components.
838 (getDer): Use correct (it2) iterator.
839 (readAttributeValue): Read next character and break if end-of-stream.
841 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
843 * gnu/java/security/provider/Gnu.java (run):
844 Add "RSA" as an alias to MD5withRSA.
845 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
846 Always encode a NULL as the value of an algorithm parameters field.
847 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
848 (encodePrivateKey): Added trace/log statements.
849 (decodePrivateKey): Likewise.
850 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
851 (setup): Added trace/log statements.
852 (generate): Likewise.
853 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
854 (toString): New method.
855 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
857 (toString): New method.
858 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
859 (getEncoded): Use defaultFormat.
860 (toString): New method.
861 * gnu/java/security/key/dss/DSSKey.java (toString):
862 Include defaultFormat in string.
863 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
864 Break if successfully decoded public key.
865 (engineGeneratePrivate): Break if successfully decoded private key.
867 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
869 * java/security/Security.java <clinit>: Add our Callback provider.
870 * resource/java/security/classpath.security: Likewise
872 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
875 * javax/swing/ScrollPaneLayout.java (layoutContainer):
876 Decide about scroll bars from the preferred view size, not
878 * javax/swing/ViewportLayout.java (layoutContainer):
879 Do not change returned preferred size. Do not treat JScrollPane
882 2006-04-28 Sven de Marothy <sven@physto.se>
884 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
885 * javax/swing/ProgressMonitor.java (actionPerformed):
886 Avoid divide-by-zero.
888 2006-04-28 Sven de Marothy <sven@physto.se>
890 * javax/swing/JSpinner.java: Fix default text justification.
891 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
893 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
895 * javax/swing/JList.java
896 (getMinSelectionIndex): Return correct value, added API docs,
897 (getMaxSelectionIndex): Added API docs.
899 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
901 * javax/swing/JList.java
902 (JList(Object[])): Pass new model directly to init(),
903 (JList(Vector)): Likewise,
904 (JList(ListModel)): Renamed argument and updated API docs,
905 (init): Throw IllegalArgumentException for null argument,
906 (setListData(Object[])): Delegate model creation,
907 (setListData(Vector)): Likewise,
908 (createListModel(Object[])): New private method,
909 (createListModel(Vector)): New private method,
910 (paramString): Implemented.
912 2006-04-28 Tom Tromey <tromey@redhat.com>
914 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
916 (isSynthetic): Likewise.
917 (isAnnotation): Likewise.
918 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
919 (isAnnotation): Likewise.
922 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
924 * javax/swing/text/View.java:
925 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
928 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
930 * javax/swing/text/View.java:
931 (getNextVisualPositionFrom): Rewritten.
932 * javax/swing/text/CompositeView.java:
933 (getNextEastWestVisualPositionFrom): Partly implemented.
934 (getNextNorthSouthVisualPositionFrom): Partly implemented.
936 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
938 * javax/swing/JList.java
939 (setFixedCellHeight): Use correct property name for event.
941 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
943 * javax/swing/text/Utilities.java:
944 (getNextWord): Use codePointAt instead of charAt, added note, changed
945 if-expression, added throwing of exception.
946 (getPreviousWord): Use codePointAt instead of charAt.
948 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
950 * java/lang/StringBuilder.java
951 (ensureCapacity, getChars, append(StringBuffer),
952 append(char[],int,int), delete, replace, insert(int,char[],int,int),
953 insert(int,String), insert(int,char), trimToSize): Replaced
954 System.arraycopy calls with VMSystem.arraycopy.
956 2006-04-27 Tom Tromey <tromey@redhat.com>
958 * java/awt/image/renderable/RenderableImageProducer.java
959 (requestTopDownLeftRightResend): Implemented.
961 (startProduction): Add new consumer.
963 2006-04-27 Sven de Marothy <sven@physto.se>
965 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
967 2006-04-27 Roman Kennke <kennke@aicas.com>
969 * java/awt/LightweightDispatcher.java
970 Dispatch events only to targets that have a mouselistener
971 attached. Changed to also handle null targets.
973 2006-04-27 Roman Kennke <kennke@aicas.com>
975 * NEWS: Added entries about accessibility support and L&F
978 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
980 * javax/swing/text/Utilities.java:
981 (getTabbedTextOffset): Introduced width variable, rewritten the check
983 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
986 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
988 * examples/gnu/classpath/examples/swing/TreeDemo.java
989 (createContent): Added root visibility and selection listener demos.
990 * javax/swing/JTree.java (setRootVisible): If false, unselect
991 the root node, if it is selected.
992 * javax/swing/plaf/basic/BasicTreeUI.java
993 (TreeTraverseAction.actionPerformed): Do not select the root if it
995 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
996 removeSelectionPaths): Reset lead to null if the current lead path is
997 removed from selection.
998 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
999 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
1000 Return the same path regardless is root visible or not. (update):
1001 Reduce the identation if the root is not visible.
1002 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
1003 Return the same path regardless is root visible or not. (update):
1004 Reduce the identation if the root is not visible.
1006 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
1008 * javax/swing/plaf/basic/BasicTreeUI.java
1009 (TreeAction.actionPerformed):Newly obtain the current lead
1010 path that must stay visible.
1011 (TreeTraverseAction.actionPerformed):Rewritten.
1012 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
1013 Do not treat root specially. (setModel): Assume the root node
1015 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
1016 Do not treat root specially. (setModel): Assume the root node
1019 2006-04-26 Chris Burdess <dog@gnu.org>
1022 * javax/xml/datatype/DatatypeFactory.java: Use complete
1023 implementation resolution mechanism.
1025 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1027 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
1029 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
1030 Removed NoImplementException form the implemented method.
1032 2006-04-26 Tom Tromey <tromey@redhat.com>
1034 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
1037 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
1039 * javax/swing/DefaultListSelectionModel.java
1040 (clone): Initialise empty listener list,
1041 (setSelectionMode): Throw IllegalArgumentException for bad input.
1043 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
1045 * javax/swing/DefaultListSelectionModel.java
1046 (clearSelection): Clear the Bitset.
1048 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1050 * javax/swing/JTree.java (setLeadSelectionPath):
1051 Repaint the new and old lead pathes.
1052 * javax/swing/plaf/basic/BasicTreeUI.java
1053 (FocusHandler): Repaint the lead row when focus changes.
1054 (PropertyChangeHandler): Use existing constants, not the
1055 string literals for the property names.
1056 (TreeIncrementAction): Shrink the selection when moving
1057 from the selection edge to the selection anchor.
1058 (TreeSelectionHandler.valueChanged): Repaint the
1059 new and old lead pathes.
1060 (paintRow): Treat row as focused only if it is the lead row.
1061 * javax/swing/tree/DefaultTreeCellRenderer.java
1062 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
1064 * javax/swing/tree/DefaultTreeSelectionModel.java
1065 (addSelectionPath): Event construction fix (old and new lead were
1067 (addSelectionPaths): Likewise.
1068 * javax/swing/JComponent.java (setOpaque): Explained.
1069 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
1071 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
1074 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1076 * examples/gnu/classpath/examples/swing/TreeDemo.java
1077 (createContent): Call DefaultTreeModel.reload(), not the
1078 tree.repaint(). Expand the parent of the added node.
1079 * javax/swing/JTree.java (constructor): Do not call
1080 UpdateUI (and documented why). (treeDidChange):
1081 Added comment, excluding the misinterpretation of this method.
1082 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
1083 focusListener, keyListener, mouseListener, propertyListener,
1084 selectionModelPropertyChangeListener, treeModelListener,
1085 treeSelectionListener): Made package private.
1086 (PropertyChangeHandler): If the model changes, install the
1087 listener on it. (installUI): Assign treeModel.
1088 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
1089 comment, excluding misinterpretation.
1090 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
1091 (reload(TreeNode)): Implemented.
1093 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1095 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
1096 If clicked on the other row, cancel the current editing session.
1098 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1100 * javax/swing/plaf/basic/BasicTreeUI.java
1101 (NodeDimensionsHandler.getRowX): Add half of the icon width.
1102 (paintExpandControl): Always paint in one gap distance from the left
1103 border of the path bounds.
1104 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
1106 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
1109 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1111 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
1113 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1115 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
1116 Allow slashes (/) in the unquoted parameter value.
1118 2006-04-25 Roman Kennke <kennke@aicas.com>
1120 * gnu/java/awt/java2d/AbstractGraphics2D.java
1121 (drawString(String,int,int)): Implemented.
1122 (drawString(String,float,float)): Implemented.
1123 (drawString(AttributedCharacterIterator,int,int)): Implemented.
1124 (drawString(AttributedCharacterIterator,float,float)): Implemented.
1125 (getFontRenderContext): Implemented.
1126 (drawGlyphVector): Implemented.
1127 (getFont): Implemented.
1128 (setFont): Don't change font setting when null.
1129 (getFontMetrics): Implemented.
1130 (fillShape): Re-written to fill call rawFillShape() with a list
1131 of the edges instead of double arrays.
1132 (rawFillShape): Implemented using a polygon scanline conversion.
1133 (fillScanline): New helper method.
1134 (init): Initialize foreground black. Set font.
1135 * gnu/java/awt/java2d/PolyEdge.java: New file.
1136 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
1138 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
1140 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
1142 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
1144 * javax/swing/JTable.java: Fixed API doc tags,
1145 * javax/swing/text/AsyncBoxView.java: Likewise,
1146 * javax/swing/text/FlowView.java: Likewise.
1148 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
1150 * javax/swing/table/DefaultTableColumnModel.java
1151 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
1153 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
1155 * javax/swing/table/DefaultTableColumnModel.java
1156 (DefaultTableColumnModel): Set selection model field and add 'this' as
1158 (addColumn): Add 'this' as a PropertyChangeListener,
1159 (removeColumn): Remove column before firing event, and remove 'this' as
1160 a PropertyChangeListener,
1161 (setSelectionModel): Remove 'this' as a listener from old model,
1162 (propertyChange): Check for 'width' property rather than
1163 TableColumn.COLUMN_WIDTH_PROPERTY.
1165 2006-04-24 Chris Burdess <dog@gnu.org>
1168 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
1169 attributes when no doctype exists.
1171 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
1173 * javax/swing/event/ChangeEvent.java: Updated API docs,
1174 * javax/swing/event/ChangeListener.java: Likewise,
1175 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
1176 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
1177 * javax/swing/table/TableColumnModel.java: Likewise.
1179 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
1181 * javax/swing/text/Utilities.java:
1182 (getBreakLocation): Introduced shift variable, added notes.
1183 * javax/swing/text/WrappedPlainView.java:
1184 (calculateBreakPosition): Decrease allocation area bounds by insets,
1185 added early return when allocation area is empty, provide start offset
1187 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
1188 (WrappedPlainView.WrappedLine.paint): Added count variable, update
1189 numLines after loop.
1190 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
1191 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
1192 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
1193 decreasing variable end by one, changed break condition in while-loop,
1194 added check for return value.
1195 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
1196 allocation area is empty.
1198 2006-04-24 Sven de Marothy <sven@physto.se>
1200 * gnu/java/awt/java2d/Segment.java: New file.
1201 * gnu/java/awt/java2d/CubicSegment.java: New file.
1202 * gnu/java/awt/java2d/QuadSegment.java: New file.
1203 * gnu/java/awt/java2d/LineSegment.java: New file.
1204 * java/awt/BasicStroke.java
1207 (createStrokedShape): Implemented.
1208 (solidStroke): New method.
1209 (dashedStroke): New method.
1210 (capEnds): New method.
1211 (convertPath): New method.
1212 (addSegments): New method.
1213 (capEnd): New method.
1214 (lineIntersection): New method.
1215 (joinSegments): New method.
1217 2006-04-24 Roman Kennke <kennke@aicas.com>
1219 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
1222 (clip): Changed clip to be in user space not in target space.
1223 (isOptimized): Added flag to allow optimized drawing for
1224 primitive operations (e.g. for Swing).
1225 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
1226 with the paint context etc.
1227 (draw): Clip the shape before drawing it.
1228 (fill): Clip the shape before drawing it.
1229 (setComposite): Update isOptimized flag.
1230 (setPaint): Likewise.
1231 (setStroke): Likewise.
1232 (translate): Update the clip.
1236 (transform): Likewise.
1237 (setTransform): Likewise.
1238 (clip): Added optimization for rectangle clips.
1239 (create): Implemented.
1240 (clone): New method.
1241 (setFont): Basic implementation.
1242 (setClip): Update opimization flag.
1243 (drawLine): Added possible optimization.
1244 (fillRect): Added possible optimization.
1245 (fillShape): Implemented shape-filling by filling the flattended
1246 shape using polygon fill.
1247 (drawPixel): Added basic painting.
1248 (rawSetPixel): Changed signature to only take coordinates.
1249 (rawSetForeground): New abstract method.
1250 (getUserBounds): Implemented default for this method.
1251 (rawDrawLine): New method.
1252 (rawFillRect): New method.
1253 (rawFillPolygon): New method.
1255 (updateOptimization): New method.
1256 (computeIntersection): New method.
1257 (updateClip): New method.
1258 (clipShape): New method.
1260 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1262 * examples/gnu/classpath/examples/swing/TreeDemo.java:
1263 (createContent): Added check box to swith between single and
1265 * javax/swing/JTree.java (leadSelectionPath): Removed.
1266 (addSelectionInterval): Explained. (getLeadSelectionPath):
1267 Request the path from model. (getPathsBetweenRows): Explained.
1268 (setLeadSelectionPath): Set the path in model.
1269 * javax/swing/plaf/basic/BasicTreeUI.java
1270 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
1271 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
1272 (MouseHandler.mousePressed): Call selectPathForEvent.
1274 2006-04-23 Roman Kennke <kennke@aicas.com>
1276 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
1278 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
1280 * NEWS: Added entry about new Package constructor.
1281 * java/lang/Package.java: Added compatibility constructor to ease
1282 VM interface migration.
1284 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
1286 * NEWS: Added information about annotation support.
1287 * java/lang/Class.java: Implement AnnotatedElement.
1288 (equals): Reformatted to match generics branch.
1289 (getEnumConstants): Implemented.
1290 (getAnnotation, getAnnotations, getDeclaredAnnotations,
1291 isAnnotationPresent): Merged from generics branch.
1292 * vm/reference/java/lang/VMClass.java (getDeclaredAnnotations):
1295 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
1297 * java/lang/ClassLoader.java (definePackage): Added argument to
1298 Package constructor.
1299 * java/lang/Package.java (Package): Added ClassLoader argument.
1300 (loader): New field.
1301 (getAnnotation, getAnnotations, getDeclaredAnnotations,
1302 isAnnotationPresent): Merged from generics branch.
1303 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
1304 to Package constructor.
1306 2005-12-14 Nicolas Geoffray <nicolas.geoffray@menlina.com>
1308 * java/lang/ClassLoader
1309 (defineClass(String,byte[],int,int,ProtectionDomain)):
1310 Calls VMClassLoader.defineClassWithTransformers instead
1311 of VMClassLoader.defineClass.
1313 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1316 Mention changes to VMProcess and VMSystem.
1317 * doc/vmintegration.texinfo:
1318 Change documentation on VMProcess and VMSystem.
1319 * java/lang/reflect/Modifier.java:
1320 (toString(int,StringBuilder)): Merged from generics
1322 * vm/reference/java/lang/reflect/Constructor.java
1323 (toString()): Use StringBuilder.
1324 (toGenericString()): Likewise.
1325 * vm/reference/java/lang/reflect/Field.java:
1326 (toString()): Use StringBuilder.
1327 (toGenericString()): Likewise.
1328 * vm/reference/java/lang/reflect/Method.java
1329 (toString()): Use StringBuilder.
1330 (toGenericString()): Likewise.
1331 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1332 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
1333 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
1334 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
1335 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
1336 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
1337 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
1338 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1339 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
1340 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
1341 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
1342 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
1343 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
1344 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
1345 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
1346 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
1347 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
1348 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
1349 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
1350 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
1351 * include/gnu_java_awt_peer_gtk_GtkImage.h,
1352 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
1353 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
1354 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
1355 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
1356 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
1357 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
1358 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
1359 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
1360 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
1361 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
1362 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
1363 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
1364 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
1365 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
1366 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
1367 * include/gnu_java_awt_peer_qt_MainQtThread.h,
1368 * include/gnu_java_awt_peer_qt_QMatrix.h,
1369 * include/gnu_java_awt_peer_qt_QPainterPath.h,
1370 * include/gnu_java_awt_peer_qt_QPen.h,
1371 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
1372 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
1373 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
1374 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
1375 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
1376 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
1377 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
1378 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
1379 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
1380 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
1381 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
1382 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
1383 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
1384 * include/gnu_java_awt_peer_qt_QtGraphics.h,
1385 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
1386 * include/gnu_java_awt_peer_qt_QtImage.h,
1387 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
1388 * include/gnu_java_awt_peer_qt_QtListPeer.h,
1389 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
1390 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
1391 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
1392 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
1393 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
1394 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
1395 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
1396 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
1397 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
1398 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
1399 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
1400 * include/gnu_java_awt_peer_qt_QtToolkit.h,
1401 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
1402 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
1403 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
1404 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
1405 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
1406 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
1407 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
1408 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
1409 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
1410 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
1411 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
1412 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
1413 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
1414 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
1415 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
1416 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
1417 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
1418 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
1419 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
1420 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
1421 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
1422 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
1423 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
1424 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
1425 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
1426 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
1427 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
1428 * include/java_lang_VMProcess.h,
1429 * include/java_lang_VMSystem.h:
1430 Regenerated with GCJ 4.1.
1432 2005-12-05 Casey Marshall <csm@gnu.org>
1434 * native/jni/classpath/jcl.h (environ): define, or declare
1436 * native/jni/java-lang/java_lang_VMProcess.c: include <jcl.h>.
1437 Remove 'extern' define.
1438 * native/jni/java-lang/java_lang_VMSystem.c
1439 (Java_java_lang_VMSystem_environ): don't declare 'environ.'
1441 2005-09-25 Jeroen Frijters <jeroen@frijters.net>
1443 * java/lang/System.java,
1444 vm/reference/java/lang/VMSystem.java: Removed generic type
1445 from VMSystem.environ() signature.
1447 2005-05-04 Tom Tromey <tromey@redhat.com>
1449 * native/jni/java-lang/java_lang_VMProcess.c
1450 (Java_java_lang_VMProcess_nativeSpawn): Added 'redirect'
1451 argument. Use defines instead of contents.
1452 * vm/reference/java/lang/VMProcess.java (redirect): New field.
1454 (setProcessInfo): Updated.
1455 (VMProcess): Added 'redirect' argument.
1456 (nativeSpawn): Likewise.
1457 (exec): New overload.
1459 2005-01-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1461 * include/java_lang_VMSystem.h:
1462 (Java_java_lang_VMSystem_environ): added
1463 * vm/reference/java/lang/VMSystem.java:
1464 (environ()): new native method
1466 2006-04-22 Casey Marshall <csm@gnu.org>
1468 Fixes PR classpath/27228.
1469 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
1470 (initialize): also accept `DHParameterSpec.'
1471 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
1472 handle a passed-in `DHParameterSpec' properly.
1473 (generate): don't check if the random exponent is less than `q -
1474 1' if no `q' was specified.
1476 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1478 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
1479 Only repaint the patches, speficied in the passed event.
1480 (expandPath): Do nothing if the path is already expanded.
1481 (scrollPathToVisible): Only scroll to visible, do nothing else.
1482 * javax/swing/plaf/basic/BasicTreeUI.java
1483 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
1484 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
1485 (TreeTraverseAction.actionPerformed): Collapse the node on the
1486 action "selectParent". (selectPath): Rewritten.
1487 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
1488 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
1489 Do not reuse selection array.
1490 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
1492 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
1495 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1497 * javax/swing/tree/DefaultTreeSelectionModel.java
1498 (addSelectionPath): If the path cannot be added, set it.
1499 (addSelectionPaths): Call insureRowContinuity.
1500 (arePathsContiguous): Implemented.
1501 (canPathBeAdded): New private method.
1502 (canPathsBeAdded): Implemented.
1503 (canPathsBeRemoved): Implemented.
1504 (getPath): New private method.
1505 (insureRowContinuity): Implemented.
1506 (removeSelectionPath): Call insureRowContinuity.
1507 (removeSelectionPaths): Call insureRowContinuity.
1508 (resetRowSelection): Removed stub marking, not used in implementation
1509 (nothing to do there).
1510 (selectOne): New private method.
1511 (setSelectionMode) Call insureRowContinuity.
1512 (setSelectionPaths) Remove the current selection by clearing it.
1514 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
1516 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
1517 parameters consistendly, documented some methods.
1518 * java/sql/Blob.java: Likewise.
1519 * java/sql/CallableStatement.java: Likewise.
1520 * java/sql/Clob.java: Likewise.
1521 * java/sql/Connection.java: Likewise.
1522 * java/sql/DatabaseMetaData.java: Likewise.
1523 * java/sql/Date.java: Likewise.
1524 * java/sql/Driver.java: Likewise.
1525 * java/sql/PreparedStatement.java: Likewise.
1526 * java/sql/ResultSet.java: Likewise.
1527 * java/sql/ResultSetMetaData.java: Likewise.
1528 * java/sql/SQLData.java: Likewise.
1529 * java/sql/SQLOutput.java: Likewise.
1530 * java/sql/SQLWarning.java: Likewise.
1531 * java/sql/Statement.java: Likewise.
1532 * java/sql/Time.java: Likewise.
1533 * java/sql/Timestamp.java: Likewise.
1535 2006-04-21 Tom Tromey <tromey@redhat.com>
1538 * gnu/java/net/protocol/ftp/FTPConnection.java
1539 (changeWorkingDirectory): Do nothing if path is empty.
1541 2006-04-21 Tom Tromey <tromey@redhat.com>
1544 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
1545 case where no '/' appears in 'location'.
1547 2006-04-21 Tom Tromey <tromey@redhat.com>
1549 * java/security/Security.java (<clinit>): Add all default providers.
1550 * resource/java/security/classpath.security: Added comment.
1552 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1554 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
1555 * javax/swing/SpinnerNumberModel.java: Likewise.
1557 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1559 * javax/swing/SpinnerDateModel.java
1560 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
1561 checking to call compareTo() on start and end.
1563 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
1565 * java/lang/reflect/AccessibleObject.java:
1566 Implemented AnnotatedElement.
1567 (getAnnotation, getAnnotations, getDeclaredAnnotations,
1568 isAnnotationPresent): New methods.
1570 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1572 * javax/swing/border/AbstractBorder.java: API doc updates,
1573 * javax/swing/border/BevelBorder.java: Likewise,
1574 * javax/swing/border/CompoundBorder.java: Likewise,
1575 * javax/swing/border/EtchedBorder.java: Likewise,
1576 * javax/swing/border/LineBorder.java: Likewise,
1577 * javax/swing/border/MatteBorder.java: Likewise,
1578 * javax/swing/border/TitledBorder.java: Likewise.
1580 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1582 * gnu/javax/crypto/cipher/Anubis.java:
1583 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
1585 * gnu/javax/crypto/cipher/Blowfish.java:
1586 (selfTest): Likewise,
1587 * gnu/javax/crypto/cipher/Cast5.java:
1588 (selfTest): Likewise,
1589 * gnu/javax/crypto/cipher/Khazad.java:
1590 (selfTest): Likewise,
1591 * gnu/javax/crypto/cipher/Rijndael.java:
1592 (selfTest): Likewise,
1593 * gnu/javax/crypto/cipher/Serpent.java:
1594 (selfTest): Likewise,
1595 * gnu/javax/crypto/cipher/Square.java:
1596 (selfTest): Likewise,
1597 * gnu/javax/crypto/cipher/Twofish.java:
1598 (selfTest): Likewise,
1599 * gnu/javax/crypto/mac/UMac32.java:
1600 (selfTest): Likewise,
1601 * gnu/javax/crypto/prng/CSPRNG.java:
1602 (getSystemInstance): Likewise.
1604 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1606 * gnu/java/security/hash/Haval.java:
1607 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
1609 * gnu/java/security/hash/MD2.java:
1610 (selfTest): Likewise,
1611 * gnu/java/security/hash/MD4.java:
1612 (selfTest): Likewise,
1613 * gnu/java/security/hash/MD5.java:
1614 (selfTest): Likewise,
1615 * gnu/java/security/hash/RipeMD128.java:
1616 (selfTest): Likewise,
1617 * gnu/java/security/hash/RipeMD160.java:
1618 (selfTest): Likewise,
1619 * gnu/java/security/hash/Sha160.java:
1620 (selfTest): Likewise,
1621 * gnu/java/security/hash/Sha256.java:
1622 (selfTest): Likewise,
1623 * gnu/java/security/hash/Sha384.java:
1624 (selfTest): Likewise,
1625 * gnu/java/security/hash/Sha512.java:
1626 (selfTest): Likewise,
1627 * gnu/java/security/hash/Tiger.java:
1628 (selfTest): Likewise,
1629 * gnu/java/security/hash/Whirlpool.java:
1630 (selfTest): Likewise.
1632 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1634 * javax/swing/plaf/basic/BasicTreeUI.java
1635 (PropertyChangeHandler.propertyChange): Set the row mapper
1636 for the selection model.
1637 * javax/swing/tree/AbstractLayoutCache.java
1638 (NodeDimensions.getNodeDimensions): Explained.
1639 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
1640 Implemented. (setRowHeight): Invalidate sizes.
1641 * javax/swing/tree/DefaultTreeSelectionModel.java
1642 (addSelectionPath, addSelectionPaths): Update lead row.
1643 (removeSelectionPath, removeSelectionPaths): Do nothing if
1645 (clone): Only clone list selection model if it is not null.
1646 (getRow): New method. (isRowSelected, getLeadSelectionRow,
1647 setSelectionPath, setSelectionPaths, toString): Implemented.
1648 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
1649 Pass the empty rectangle. (isFixedRowHeight): New method.
1650 * javax/swing/tree/VariableHeightLayoutCache.java
1651 (NodeRecord.getBounds): Pass the empty rectangle.
1653 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1655 * gnu/java/security/Properties.java
1656 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
1658 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
1660 * gnu/classpath/jdwp/util/Value.java
1661 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
1662 creating new Boolean instances.
1664 2006-04-20 Mark Wielaard <mark@klomp.org>
1666 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
1667 PrivilegedAction. Access awt.toolkit through SystemProperties.
1669 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1671 * javax/swing/ActionMap.java: Removed unused imports,
1672 * javax/swing/DefaultListSelectionModel.java
1673 (clearSelection): Removed unused label,
1674 * javax/swing/JScrollPane.java: Removed unused imports,
1675 * javax/swing/UIManager.java: Likewise,
1676 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
1678 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1680 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
1681 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
1682 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
1683 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
1684 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
1686 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1688 * java/sql/Array.java: Fixed Eclipse API doc warnings,
1689 * java/sql/Blob.java: Likewise,
1690 * java/sql/CallableStatement.java: Likewise,
1691 * java/sql/Clob.java: Likewise,
1692 * java/sql/Connection.java: Likewise,
1693 * java/sql/DatabaseMetaData.java: Likewise,
1694 * java/sql/Date.java: Likewise,
1695 * java/sql/Driver.java: Likewise,
1696 * java/sql/PreparedStatement.java: Likewise,
1697 * java/sql/ResultSet.java: Likewise,
1698 * java/sql/ResultSetMetaData.java: Likewise,
1699 * java/sql/SQLData.java: Likewise,
1700 * java/sql/SQLOutput.java: Likewise,
1701 * java/sql/SQLWarning.java: Likewise,
1702 * java/sql/Statement.java: Likewise,
1703 * java/sql/Time.java: Likewise,
1704 * java/sql/Timestamp.java: Likewise.
1706 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1708 * java/sql/DriverManager.java
1709 (setLoginTimeout): Use incoming argument,
1710 (setLogStream): Likewise,
1711 (println): Fix API doc comment.
1713 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1715 * javax/swing/JMenuItem.java
1716 (paramString): Updated API docs,
1717 (getAccessibleContext): Added API docs,
1718 (AccessibleJMenuItem.stateChanged): Marked as stub,
1719 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
1720 * javax/swing/JSlider.java
1721 (paramString): Fix for API docs,
1722 * javax/swing/JToolTip.java
1723 (getAccessibleContext): Fix for API docs.
1725 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1727 * javax/swing/JRadioButtonMenuItem.java
1728 (paramString): Reimplemented,
1729 (getAccessibleContext): API docs added,
1730 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
1732 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
1734 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1736 * javax/swing/plaf/basic/BasicTreeUI.java
1737 (finish): Invalidate path bounds.
1738 (getMaxHeight): Set the row height to the layout cache.
1739 (startEditing): Do not request to recalculated
1740 row height and preferred size.
1741 * javax/swing/tree/DefaultTreeCellEditor.java
1742 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
1744 * javax/swing/tree/FixedHeightLayoutCache.java:
1747 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1749 * javax/swing/JDesktopPane.java
1750 (paramString): Reimplemented,
1751 plus API doc updates in AccessibleJDesktopPane.
1753 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1755 * javax/swing/ImageIcon.java:
1756 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
1757 (AccessibleImageIcon.getLocale): Declared exception and always return
1759 (getAccessibleContext): Updated API docs,
1760 plus updated API docs all over AccessibleImageIcon.
1762 2006-04-20 Roman Kennke <kennke@aicas.com>
1765 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1766 (paintText): Fetch the ascent only once. Add the ascent to
1767 the text rect also when tabs are disabled.
1769 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
1771 * java/util/Locale.java (defaultLocale): Set to en_US per
1772 default and use user.country but prioritize user.region if
1774 (getLocale(String language, String country)): Renamed region to
1776 (getLocale(String language, String region, String variant)):
1778 (getAvailableLocales): Likewise.
1780 2006-04-20 Roman Kennke <kennke@aicas.com>
1783 * javax/swing/JList.java
1784 (JList()): Call init() with DefaultListModel instance.
1785 (JList(Object[])): Call init() with null.
1786 (JList(Vector)): Call init() with null.
1787 (JList(ListModel)): Call init() with model.
1788 (init): Changed to take the model as argument. Don't call
1789 setter methods and initialize stuff directly instead.
1790 (getCellBounds): Check if UI is null.
1792 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
1794 * javax/swing/text/WrappedPlainView.java: Initialize
1795 WrappedLine.numLines with -1.
1796 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
1797 numLines is -1 and reculcalate the value appropriately.
1798 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
1799 allocation area is empty.
1801 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
1803 * javax/swing/JTabbedPane.java
1804 (AccessibleJTabbedPane.stateChanged): Marked as stub,
1805 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
1806 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
1807 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
1808 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
1809 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
1810 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
1811 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
1812 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
1813 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
1814 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
1815 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
1816 (Page.getAccessibleStateSet): Likewise,
1817 (Page.getAccessibleIndexInParent): Likewise.
1819 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
1821 * javax/swing/JProgressBar.java
1822 (paramString): Reimplemented.
1824 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
1826 * javax/swing/JButton.java: Updated API docs all over.
1828 2006-04-19 Roman Kennke <kennke@aicas.com>
1830 * java/awt/Toolkit.java
1831 (getDefaultToolkit): Use system classloader to load the
1834 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
1836 * javax/swing/text/DefaultCaret.java:
1837 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
1838 instead of DefaultCaret.setDot.
1840 2006-04-19 Roman Kennke <kennke@aicas.com>
1842 * native/jni/java-net/local.c
1843 (local_read): Handle EINTR correctly.
1844 (local_write): Likewise.
1846 2006-04-19 Riccardo Mottola <multix@gmail.com>
1848 PR classpath/27062, PR classpath/25650:
1849 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
1851 2006-04-19 Tom Tromey <tromey@redhat.com>
1853 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
1854 value of 'pureMinutes'. PR classpath/27189.
1856 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
1858 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
1859 boot packages list from the META-INF/INDEX.LIST file if it exists.
1861 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
1863 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
1864 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
1865 (ITERATION_COUNT): Removed modifiers.
1866 (PASSWORD): Likewise.
1868 (PASSWORD_ENCODING): New property.
1869 (DEFAULT_PASSWORD_ENCODING): New constant.
1870 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
1871 material (bytes) before a password (chars).
1873 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
1875 * javax/swing/JMenu.java
1876 (getAccessibleChildrenCount): Marked as stub,
1877 (getAccessibleChild): Likewise,
1878 (getAccessibleSelection): Likewise,
1879 (getAccessibleSelection(int)): Likewise,
1880 (isAccessibleChildSelected): Likewise,
1881 (getAccessibleSelectionCount): Likewise,
1882 (addAccessibleSelection): Likewise,
1883 (removeAccessibleSelection): Likewise,
1884 (clearAccessibleSelection): Likewise,
1885 (selectAllAccessibleSelection): Likewise.
1887 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
1889 * javax/swing/JSplitPane.java
1890 (getAccessibleContext): Added API docs,
1891 (paramString): Reimplemented,
1892 (setOrientation): Updated API docs,
1893 (setResizeWeight): Added argument checking and event notification.
1895 2006-04-18 Casey Marshall <csm@gnu.org>
1897 Fixes PR classpath/25673
1898 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
1899 property is set. Update JavaDoc to reflect this.
1901 2006-04-18 Lillian Angel <langel@redhat.com>
1903 * gnu/xml/dom/DomDocument.java
1904 (setCheckingCharacters): New function used to set
1905 checkingCharacters flag.
1906 * gnu/xml/dom/html2/DomHTMLParser.java
1907 (parseDocument): Added call to set checkingCharacters flag
1910 2006-04-18 Lillian Angel <langel@redhat.com>
1912 * gnu/xml/dom/DomDocument.java
1913 (checkNCName): Reverted last patch. Added check for colon at
1914 last position back in.
1916 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
1918 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
1920 * examples/gnu/classpath/examples/swing/Demo.java:
1921 (mkMenuBar): Added NavigationFilter demo.
1923 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
1925 * javax/swing/JSeparator.java: Updated API docs all over, plus
1926 (setOrientation): Fire PropertyChangeEvent,
1927 (paramString): Reimplemented.
1929 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
1931 * javax/swing/plaf/basic/BasicTextUI.java: Implemented.
1933 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
1935 * javax/swing/JPanel.java: Updated API docs all over, plus
1936 (JPanel(LayoutManager, boolean)): Pass on null layout, set
1939 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
1941 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
1943 * examples/gnu/classpath/examples/swing/Demo.java:
1944 (mkMenuBar): Added DocumenFilter demo.
1946 2006-04-18 Tom Tromey <tromey@redhat.com>
1948 * doc/www.gnu.org/include/layout.wml: Add FMJ.
1950 2006-04-18 Mark Wielaard <mark@klomp.org>
1952 Reported by John Sullivan (johns@fsf.org)
1953 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
1955 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
1957 * javax/swing/JInternalFrame.java
1958 (JDesktopIcon.getAccessibleContext): Added API docs,
1959 (getDefaultCloseOperation): Likewise,
1960 (paramString): Added 'title' attribute,
1961 (setDefaultCloseOperation): Added API docs.
1963 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
1965 * javax/swing/JSlider.java
1966 (paramString): Reimplemented.
1968 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
1970 * javax/swing/JComboBox.java
1971 (paramString): Reimplemented,
1972 (getAccessibleContext): Added API docs,
1973 (AccessibleJComboBox.getAccessibleRole): Likewise.
1975 2006-04-18 Roman Kennke <kennke@aicas.com>
1977 * javax/swing/RepaintManager.java
1978 (dirtyComponentsWork): New field.
1979 (ComponentComparator): Use dirtyComponentsWork instead of
1981 (RepaintManager): Initialize new field.
1982 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
1983 and work on the copy.
1985 2006-04-18 Roman Kennke <kennke@aicas.com>
1987 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1988 (setBounds): Call reshape().
1989 * gnu/java/awt/peer/swing/SwingContainerPeer.java
1990 (SwingContainerPeer): Changed argument to be a Component
1991 instead a Container.
1992 (getInsets): Call insets().
1993 (handleMouseEvent): Added null check to avoid NPE.
1994 (handleMouseMotionEvent): Added null check to avoid NPE.
1996 2006-04-18 Roman Kennke <kennke@aicas.com>
1999 * javax/swing/JComponent.java
2000 (paintChildrenWithOverlap): When one child is not opaque, propagate
2001 the dirty rectangles to the next child.
2002 (paintChildrenOptimized): Removed unnecessary 'optimization'.
2003 This actually didn't work right and probably gained nothing.
2005 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2007 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
2008 (moveToCellBeingEdited): Do not clone the rectangle here.
2010 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
2012 * javax/swing/plaf/basic/BasicSliderUI.java
2013 (getActionMap): Fixed lookup key,
2014 (createActionMap): Modified actions to fetch slider/ui from the event
2017 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
2019 * javax/swing/JToolBar.java
2020 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
2021 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
2022 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
2023 (getAccessibleContext): Likewise.
2025 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
2027 * java/lang/Enum.java: Documented.
2029 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
2032 Mention merge of instrumentation classes.
2033 * doc/vmintegration.texinfo:
2034 Move instrumentation to correct section.
2036 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
2038 * gnu/java/lang/InstrumentationImpl.java:
2039 Moved from java.lang.
2040 * java/lang/InstrumentationImpl.java:
2042 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
2043 Moved from java.lang.
2044 * vm/reference/java/lang/VMClassLoader.java:
2045 Corrected reference to InstrumentationImpl.
2046 * vm/reference/java/lang/VMInstrumentationImpl.java:
2049 2005-12-14 Nicolas Geoffray <nicolas.geoffray@menlina.com>
2051 * vm/reference/java/lang/VMClassLoader
2052 (defineClassWithTransformers): New method.
2053 (instrumenter): New Field.
2055 2005-12-04 Nicolas Geoffray <nicolas.geoffray@menlina.com>
2057 * vm/reference/java/lang/VMInstrumentationImpl.java
2058 (redefineClasses): Added an extra parameter of type
2059 java.lang.instrument.Instrument.
2060 * java/lang/InstrumentationImpl.java
2061 (redefineClasses): Added the Instrumentation object
2062 to the arguments of VMInstrumentationImpl.redefineClasses
2065 2005-12-03 Nicolas Geoffray <nicolas.geoffray@menlina.com>
2067 * java/lang/InstrumentationImpl.java:
2069 * vm/reference/java/lang/VMInstrumentationImpl.java:
2072 2006-04-17 Jeroen Frijters <jeroen@frijters.net>
2074 * java/util/Collection.java: Implemented java.lang.Iterable.
2076 2006-04-17 Jeroen Frijters <jeroen@frijters.net>
2078 * java/lang/Boolean.java: Implemented Comparable.
2079 * java/lang/ClassLoader.java
2080 (getResources): Not final anymore in 1.5.
2081 * java/lang/Enum.java, java/lang/Iterable.java:
2082 Copied from generics branch.
2083 * java/lang/Thread.java (destroy): Marked deprecated.
2084 * java/lang/ThreadLocal.java (remove): New method.
2086 2006-04-17 Dalibor Topic <robilad@kaffe.org>
2089 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
2091 * native/fdlibm/Makefile.am,
2092 native/jni/classpath/Makefile.am:
2093 Don't use -module and -version-info for convenience libraries LDFLAGS.
2094 Fixes libtool warnings.
2096 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
2098 * javax/swing/plaf/basic/BasicComboBoxUI.java:
2099 (installKeyboardActions): Marked as stub,
2100 (uninstallKeyboardActions): Likewise,
2101 * javax/swing/plaf/basic/BasicComboPopup.java:
2102 (installKeyboardActions): Marked as stub,
2103 (uninstallKeyboardActions): Likewise,
2104 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2105 (installKeyboardActions): Marked as stub,
2106 (uninstallKeyboardActions): Likewise,
2107 * javax/swing/plaf/basic/BasicLabelUI.java:
2108 (installKeyboardActions): Marked as stub,
2109 (uninstallKeyboardActions): Likewise,
2110 * javax/swing/plaf/basic/BasicListUI.java:
2111 (installKeyboardActions): Marked as stub,
2112 (uninstallKeyboardActions): Likewise,
2113 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2114 (installKeyboardActions): Marked as stub,
2115 (uninstallKeyboardActions): Likewise,
2116 * javax/swing/plaf/basic/BasicMenuUI.java:
2117 (installKeyboardActions): Marked as stub,
2118 (uninstallKeyboardActions): Likewise,
2119 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2120 (installKeyboardActions): Marked as stub,
2121 (uninstallKeyboardActions): Likewise,
2122 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2123 (installKeyboardActions): Marked as stub,
2124 (uninstallKeyboardActions): Likewise,
2125 * javax/swing/plaf/basic/BasicScrollBarUI.java:
2126 (installKeyboardActions): Marked as stub,
2127 (uninstallKeyboardActions): Likewise,
2128 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
2129 (installKeyboardActions): Marked as stub,
2130 (uninstallKeyboardActions): Likewise,
2131 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2132 (installKeyboardActions): Marked as stub,
2133 (uninstallKeyboardActions): Likewise,
2134 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2135 (installKeyboardActions): Marked as stub,
2136 (uninstallKeyboardActions): Likewise,
2137 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
2138 (installKeyboardActions): Marked as stub,
2139 (uninstallKeyboardActions): Likewise,
2140 * javax/swing/plaf/basic/BasicTableUI.java:
2141 (installKeyboardActions): Marked as stub,
2142 (uninstallKeyboardActions): Likewise,
2143 * javax/swing/plaf/basic/BasicTextUI.java:
2144 (installKeyboardActions): Marked as stub,
2145 (uninstallKeyboardActions): Likewise,
2146 * javax/swing/plaf/basic/BasicToolBarUI.java:
2147 (installKeyboardActions): Marked as stub,
2148 (uninstallKeyboardActions): Likewise.
2150 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
2152 * javax/swing/plaf/basic/BasicSliderUI.java
2153 (installKeyboardActions): Implemented,
2154 (uninstallKeyboardActions): Implemented,
2155 (scrollByBlock): Accept any value for direction,
2156 (scrollByUnit): Likewise,
2157 (getInputMap): New method,
2158 (getActionMap): New method,
2159 (createActionMap): New method.
2161 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
2163 * java/lang/annotation/Annotation.java:
2166 2005-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
2168 * java/lang/reflect/AnnotatedElement.java: Documented.
2170 2005-01-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
2172 * java/lang/reflect/AnnotatedElement.java:
2173 Added import of java.lang.annotation.Annotation
2175 2004-08-26 Tom Tromey <tromey@redhat.com>
2177 * java/lang/reflect/AnnotatedElement.java: New file.
2179 2004-08-07 Tom Tromey <tromey@redhat.com>
2181 * java/lang/annotation/Annotation.java: New file.
2183 2005-12-13 Tom Tromey <tromey@redhat.com>
2185 * java/lang/instrument/ClassDefinition.java: Reformatted.
2186 * java/lang/instrument/UnmodifiableClassException.java: Reformatted.
2187 * java/lang/instrument/IllegalClassFormatException.java: Reformatted.
2189 2005-12-13 Tom Tromey <tromey@redhat.com>
2191 * java/lang/instrument/ClassDefinition.java (ClassDefinition): Now
2194 2005-12-05 Tom Tromey <tromey@redhat.com>
2196 * java/lang/instrument/Instrumentation.java (redefineClasses): Javadoc
2198 * java/lang/instrument/ClassFileTransformer.java (transform): Javadoc
2201 2005-12-03 Nicolas Geoffray <nicolas.geoffray@menlina.com>
2203 * java/lang/instrument: New directory.
2204 * java/lang/instrument/ClassDefinition.java:
2206 * java/lang/instrument/ClassFileTransformer.java:
2208 * java/lang/instrument/IllegalClassFormatException.java:
2210 * java/lang/instrument/Instrumentation.java:
2212 * java/lang/instrument/UnmodifiableClassException.java:
2215 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
2217 * doc/vmintegration.texinfo:
2220 2006-04-16 Tom Tromey <tromey@redhat.com>
2222 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
2224 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
2227 Mention generics additions to the VM interface.
2228 * doc/vmintegration.texinfo:
2229 Added information on VMClass 1.5 additions and
2232 2006-04-16 Casey Marshall <csm@gnu.org>
2234 * NEWS: add an entry mentioning local socket support.
2236 2006-04-16 Casey Marshall <csm@gnu.org>
2238 * configure.ac (--enable-local-sockets): new enable argument.
2239 (ENABLE_LOCAL_SOCKETS): new define.
2240 * native/jni/java-net/Makefile.am (local_sources): new variable.
2241 (lib_javanet_la_SOURCES): append `local_sources.'
2242 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
2243 * native/jni/java-net/local.c,
2244 * native/jni/java-net/local.h,
2245 * include/gnu_java_net_local_LocalSocketImpl.h,
2246 * gnu/java/net/local/LocalServerSocket.java,
2247 * gnu/java/net/local/LocalSocket.java,
2248 * gnu/java/net/local/LocalSocketAddress.java,
2249 * gnu/java/net/local/LocalSocketImpl.java: new files.
2251 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2253 * javax/accessibility/AccessibleAction.java:
2254 (DECREMENT): Added field.
2255 (INCREMENT): Likewise.
2256 (TOGGLE_EXPAND): Likewise.
2257 * javax/accessibility/AccessibleRole.java:
2258 (EDITBAR): Added field.
2261 (PARAGRAPH): Likewise.
2262 (PROGRESS_MONITOR): Likewise.
2264 * javax/accessibility/AccessibleState.java:
2265 (INDETERMINATE): Added field.
2266 (MANAGES_DESCENDANTS): Likewise.
2267 (TRUNCATED): Likewise.
2268 * vm/reference/java/lang/reflect/Constructor.java:
2269 Fixed copyright header to match generics branch.
2270 * vm/reference/java/lang/reflect/Field.java:
2271 Fixed copyright header to match generics branch.
2272 (toGenericString()): Ported from generics branch.
2273 (getGenericType()): Likewise.
2274 (getSignature()): Likewise.
2276 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
2278 * javax/swing/text/DefaultCaret.java:
2279 (getBypass): New method.
2280 (moveDot): Rewritten.
2281 (moveDotImpl): New method.
2282 (setDot): Rewritten.
2283 (setDotImpl): New method.
2284 (DefaultCaret.Bypass): New class.
2286 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
2288 * javax/swing/text/AbstractDocument.java:
2289 (getBypass): New method.
2290 (insertString): Rewritten.
2291 (remove): Rewritten.
2292 (replace): Rewritten.
2293 (insertStringImpl): New method.
2294 (removeImpl): New method.
2295 (replaceImpl): New method.
2296 (AbstractDocument.Bypass): New class.
2298 2006-04-14 Casey Marshall <csm@gnu.org>
2300 Fixes PR classpath/24642
2301 * NEWS: add note about SecureRandom changes, and addition of
2303 * java/security/SecureRandom.java (isSeeded): new field.
2304 (setSeed, setSeed): set `isSeeded' to `true.'
2305 (nextBytes): seed this instance if `isSeeded' is false.
2306 (getSeed): call `generateSeed.'
2307 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
2308 (generateSeed, generateSeed): new methods.
2309 * vm/reference/java/security/VMSecureRandom.java: new file.
2311 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
2313 * javax/swing/text/FieldView.java:
2314 (paint): Apply clipping rectangle of the allocation area
2315 before painting the text.
2316 * javax/swing/text/DefaultHighlighter.java:
2317 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
2318 compute union and intersection, calculate intersection with allocation
2319 area before painting, adjust x and width when painting multiple lines
2320 by the range of the allocation area.
2322 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
2324 * javax/swing/text/DefaultHighlighter.java:
2325 (paintLayeredHighlights): Marked as stub.
2327 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
2329 * javax/swing/plaf/basic/BasicTextFieldUI.java:
2330 (propertyChanged): Added note, change color only if current background
2331 is a ColorUIResource instance.
2333 2006-04-14 Tom Tromey <tromey@redhat.com>
2335 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
2339 2006-04-14 Tom Tromey <tromey@redhat.com>
2341 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
2343 2006-04-14 Mark Wielaard <mark@klomp.org>
2345 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
2346 thread group when exceptionHandler isn't set.
2347 * vm/reference/java/lang/VMThread.java (run): Use result of
2348 thread.getUncaughtExceptionHandler directly.
2350 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
2352 * javax/swing/JSplitPane.java
2353 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
2354 (AccessibleJSplitPane.getAccessibleRole): Implemented,
2355 (AccessibleJSplitPane.getAccessibleValue): Implemented,
2356 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
2357 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
2358 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
2359 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
2361 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2363 * gnu/javax/crypto/assembly/Assembly.java,
2364 * gnu/javax/crypto/assembly/Cascade.java,
2365 * gnu/javax/crypto/assembly/CascadeStage.java,
2366 * gnu/javax/crypto/assembly/CascadeTransformer.java,
2367 * gnu/javax/crypto/assembly/Direction.java,
2368 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
2369 * gnu/javax/crypto/assembly/ModeStage.java,
2370 * gnu/javax/crypto/assembly/Operation.java,
2371 * gnu/javax/crypto/assembly/PaddingTransformer.java,
2372 * gnu/javax/crypto/assembly/Stage.java,
2373 * gnu/javax/crypto/assembly/Transformer.java,
2374 * gnu/javax/crypto/cipher/Square.java,
2375 * gnu/javax/crypto/jce/cipher/AESSpi.java,
2376 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
2377 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
2378 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
2379 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
2380 * gnu/javax/crypto/jce/cipher/DESSpi.java,
2381 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
2382 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
2383 * gnu/javax/crypto/jce/cipher/PBES2.java,
2384 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
2385 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
2386 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
2387 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
2388 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
2389 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
2390 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
2391 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
2392 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
2393 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
2394 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
2395 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
2396 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
2397 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
2398 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
2399 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
2400 * gnu/javax/crypto/jce/mac/MacAdapter.java,
2401 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
2402 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
2403 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
2404 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
2405 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
2406 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
2407 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
2408 * gnu/javax/crypto/pad/WrongPaddingException.java,
2409 * gnu/javax/crypto/prng/ICMGenerator.java,
2410 * gnu/javax/crypto/prng/IPBE.java,
2411 * gnu/javax/crypto/prng/PBKDF2.java,
2412 * gnu/javax/crypto/sasl/ConfidentialityException.java,
2413 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
2414 * gnu/javax/crypto/sasl/srp/IALG.java,
2415 * gnu/javax/crypto/sasl/srp/SRPServer.java:
2416 Remove CVS revision tags.
2418 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2420 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
2421 Removed debugging code.
2423 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2425 * javax/swing/JTree.java (getPreferredSize): Return the
2427 * javax/swing/ViewportLayout.java (layoutContainer):
2428 Do not manage the view size and location if the view is
2429 in the scroll pane. Also manage size and location for
2430 Scrollable, if it is not in the scroll pane.
2431 * javax/swing/plaf/basic/BasicTreeUI.java,
2432 * javax/swing/tree/FixedHeightLayoutCache.java,
2433 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
2434 * gnu/javax/swing/tree/GnuPath.java: New file.
2436 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
2438 * javax/swing/JToolBar.java
2439 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
2441 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
2443 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
2444 (createCustomColoredPanel): Set background color as demo intends,
2445 changed custom selection color to red.
2446 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
2447 Replaced various single variables with a Compound instance, added
2448 custom highlighter demo.
2449 (TextFieldDemo.DemoHighlightPainter): New class (taken from
2451 (TextFieldDemo.Compound): New class.
2452 (createTextFieldCompound): New method.
2453 (createLeftAlignedPanel): Rewritten.
2454 (createRightAlignedPanel): Rewritten.
2455 (createCenteredPanel): Rewritten.
2456 (createCustomColoredPanel): Removed.
2457 (createCustomColoredPanel1): New method.
2458 (createCustomColoredPanel2): New method.
2459 (createCustomBordersPanel): New method.
2460 (createMiscPanel): Rewritten.
2461 (actionPerformed): Rewritten.
2462 (createContent): Add panels of new compounds to main panel, put
2463 main panel in a JScrollPane.
2464 * examples/gnu/classpath/examples/swing/Demo.java:
2465 (Demo): Put desktop in a scrollpane.
2466 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
2467 method via reflection.
2469 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
2471 * javax/swing/plaf/metal/MetalDesktopIconUI.java
2472 (createUI): Return new instance rather than shared instance.
2474 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
2476 * javax/swing/text/FieldView.java:
2477 (checkContainer): Call updateVisibility() at the end.
2479 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
2481 * java/awt/event/MouseEvent.java:
2482 (paramString): Add value of 'consumed' variable in string.
2484 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
2487 * javax/swing/JTextField.java: Removed scrollOffset variable.
2488 (JTextField): Moved up initialization of horizontalVisibility field.
2489 (getScrollOffset): Implemented.
2490 (setScrollOffset): Implemented.
2491 (getHorizonztalVisibility): Removed note.
2492 (scrollRectToVisible): New method.
2493 * javax/swing/text/FieldView.java: Added cachedSpan variable.
2494 (checkContainer): New method.
2495 (updateVisibility): New method.
2496 (calculateHorizontalSpan): New method.
2497 (adjustAllocation): Removed unneeded local variables, added code
2498 to handle scrolling.
2499 (getPreferredSpan): Use new method calculateHorizontalSpan,
2500 avoid calculation by returning cached value cachedSpan.
2501 (paint): Added check whether the hosted component is a JTextField.
2502 (insertUpdate): Invalidate cached span value, update visibility
2504 (removeUpdate): Dito.
2505 (changeUpdate): Dito.
2507 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
2509 * javax/swing/JInternalFrame.java
2510 (setTitle): Set old value to 'this.title', not 'title'.
2512 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
2514 * javax/swing/JInternalFrame.java
2515 (AccessibleJInternalFrame.getAccessibleName): Implemented,
2516 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
2517 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
2518 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
2519 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
2520 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
2521 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
2522 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
2523 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
2524 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
2526 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
2528 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
2530 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
2532 (JInternalFrame()): Use "" for default title,
2533 (getAccessibleContext): Updated API docs,
2534 (getDesktopIcon): Likewise,
2535 (getLayer): Check for layer in client properties, and return
2536 DEFAULT_LAYER if no setting is found,
2537 (getTitle): Updated API docs,
2538 (setDesktopIcon): Fire property change event.
2540 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2542 * javax/swing/ScrollPaneLayout.java (layoutContainer):
2543 Mind that the presence of one scroll bar may cause the
2546 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
2548 * gnu/regexp/REToken.java(unicodeAware): New field,
2549 (toLowerCase, toUpperCase): New methods.
2550 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
2551 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
2552 Use toLowerCase and toUpperCase defined in REToken instead of
2553 those defined in java.lang.Character.
2554 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
2555 (initialize): Sets unicodeAware of the generated REToken to false if
2556 REG_ICASE_USASCII is set.
2557 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
2558 to lower case and keep the original value.
2559 (matchOneString): Use the new method charEquals to compare characters.
2560 (charEquals): New method to compare characters.
2561 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
2563 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
2565 * javax/swing/event/InternalFrameEvent.java:
2566 (paramString): Implemented,
2567 updated API docs all over.
2569 2006-04-12 Casey Marshall <csm@gnu.org>
2571 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
2572 (Generator.setup): call `fillBlock.'
2574 2006-04-12 Casey Marshall <csm@gnu.org>
2576 Fixes PR classpath/24481.
2577 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
2578 initialize the adaptee.
2579 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
2580 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
2581 addRandomBytes): new methods.
2583 2006-04-12 Tom Tromey <tromey@redhat.com>
2585 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
2588 2006-04-12 Lillian Angel <langel@redhat.com>
2590 * gnu/xml/dom/DomDocument.java
2591 (checkNCName): Removed unneeded part of check.
2592 * gnu/xml/dom/DomNode.java
2593 (dispatchEvent): Added code to grow ancestors array
2594 if needed. Changed checks to use depth of node instead.
2595 Fixes an infinite loop and segmentation fault.
2596 * gnu/xml/dom/html2/DomHTMLParser.java
2597 (handleEndTag): No need to use/make a copy of the node.
2598 Causes an infinite loop.
2600 2006-04-12 Tom Tromey <tromey@redhat.com>
2603 * java/util/BitSet.java (get): Early return if to==from.
2605 2006-04-12 Mark Wielaard <mark@klomp.org>
2607 * java/security/SecureRandom.java (algorithm): New private field.
2608 (SecureRandom): Initialize algorithm.
2609 (SecureRandom(SecureRandomSpi,Provider,String)): New private
2611 (getInstance): Call 3 argument constructor.
2612 (getAlgorithm): New method.
2614 2006-04-12 Mark Wielaard <mark@klomp.org>
2616 Port UncaughtExceptionHandler support from generics branch.
2617 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
2619 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
2621 * java/lang/Thread.java:
2622 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
2623 Added docs and security check.
2624 (getUncaughtExceptionHandler()): Documented.
2625 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
2626 Added docs and security check.
2627 (getDefaultUncaughtExceptionHandler()): Documented.
2628 (getId()): Documented.
2630 2006-04-12 Tom Tromey <tromey@redhat.com>
2632 * vm/reference/java/lang/VMThread.java (run): Use thread's
2634 * java/lang/Thread.java (defaultHandler): New field.
2635 (setDefaultUncaughtExceptionHandler,
2636 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
2637 getUncaughtExceptionHandler): New methods.
2638 * java/lang/ThreadGroup.java (ThreadGroup): Implements
2639 UncaughtExceptionHandler.
2640 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
2642 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
2644 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
2645 buffer. Loop only once to determine Utf8 length when possible. Make
2646 the inner loop bounded by buf.length.
2647 (getUTFlength): New private method.
2648 (buf): New private field.
2650 2006-04-11 Lillian Angel <langel@redhat.com>
2652 * gnu/xml/dom/DomNodeIterator.java
2653 (nextNode): Moved line of code to avoid an infinite loop.
2654 * gnu/xml/dom/html2/DomHTMLAppletElement.java
2655 (getCls): New function.
2659 * gnu/xml/dom/html2/DomHTMLDocument.java:
2660 Added DomHTMLEmbedElement to map.
2661 (getApplets): Added node name, 'embed'.
2662 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
2664 * gnu/xml/dom/html2/DomHTMLObjectElement.java
2665 (getJavaCode): New function.
2666 (setJavaCode): Likewise.
2667 (getObject): Likewise.
2668 (setObject): Likewise.
2669 (getJavaObject): Likewise.
2670 (setJavaObject): Likewise.
2671 (getJavaArchive): Likewise.
2672 (setJavaArchive): Likewise.
2673 (getJavaCodeBase): Likewise.
2674 (setJavaCodeBase): Likewise.
2675 (getJavaType): Likewise.
2676 (setJavaType): Likewise.
2677 (setMayscript): Likewise.
2678 (getMayscript): Likewise.
2679 (setScriptable): Likewise.
2680 (getScriptable): Likewise.
2681 * gnu/xml/dom/html2/DomHTMLParser.java
2682 (parseDocument): Should not check for well formedness
2683 when parsing an html document.
2684 * java/awt/Window.java
2685 (dispatchEvent): Added check to avoid NPE.
2687 2006-04-10 Tom Tromey <tromey@redhat.com>
2689 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
2691 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
2692 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
2694 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
2696 * javax/swing/plaf/basic/BasicTextUI.java:
2697 (getNextVisualPositionFrom): Marked as stub.
2699 2006-04-10 Roman Kennke <kennke@aicas.com>
2701 * javax/swing/plaf/basic/BasicLookAndFeel.java
2702 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
2703 and create the defaults as strings constants.
2704 (loadSystemColors): Implemented stubbed method.
2706 2006-04-10 Tom Tromey <tromey@redhat.com>
2708 * .settings/org.eclipse.core.resources.prefs: Set encoding for
2711 2006-04-10 Tom Tromey <tromey@redhat.com>
2713 * java/io/CharArrayWriter.java (append): Javadoc fix.
2716 2006-04-10 Tom Tromey <tromey@redhat.com>
2718 * javax/accessibility/AccessibleTextSequence.java: New file.
2719 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
2721 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
2722 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
2723 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
2724 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
2725 * javax/accessibility/AccessibleExtendedText.java: New file.
2726 * javax/accessibility/AccessibleContext.java
2727 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
2728 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
2729 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
2730 * javax/accessibility/AccessibleAttributeSequence.java: New file.
2731 * javax/accessibility/AccessibleStreamable.java: New file.
2732 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
2735 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2737 * javax/swing/tree/AbstractLayoutCache.java
2738 (getNodeDimensions, getRowsForPath): Implemented.
2739 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
2740 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
2742 2006-04-10 Roman Kennke <kennke@aicas.com>
2744 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
2746 2006-04-10 Roman Kennke <kennke@aicas.com>
2748 * javax/swing/JInternalFrame.java
2749 (AccessibleJInternalFrame): Marked all stubbed methods as such
2750 by adding throws NotImplementedException.
2752 2006-04-10 Roman Kennke <kennke@aicas.com>
2754 * javax/swing/JFileChooser.java
2755 (getAccessibleContext): Don't create a new instance on each
2756 call, instead store the accessible context in the
2757 accessibleContext field.
2759 2006-04-10 Roman Kennke <kennke@aicas.com>
2761 * javax/swing/JComboBox.java
2762 (AccessibleJComboBox): Marked all stubbed methods as such
2763 by adding throws NotImplementedException.
2765 2006-04-10 Roman Kennke <kennke@aicas.com>
2767 * javax/swing/ActionMap.java
2768 (readObject): Removed.
2769 (writeObject): Removed.
2771 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2773 * javax/swing/tree/DefaultTreeSelectionModel.java
2774 (addSelectionPaths, setSelectionPaths): Call
2775 insureUniqueness. (clone, setRowMapper): Implemented.
2776 * TreePath (path): Marked final.
2778 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2780 * javax/swing/tree/DefaultTreeSelectionModel.java:
2781 Documented and autoformatted. (insureUniqueness):
2782 Removed stub marking.
2784 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
2786 * javax/swing/SizeSequence.java
2787 (sizes): Don't initialise here,
2788 (SizeSequence(int, int)): Initialise sizes field,
2789 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
2790 (setSize): Do nothing when index is out of bounds,
2791 (getIndex): Implemented,
2792 (setSizes): Reimplemented,
2793 (getSizes): Likewise,
2794 (insertEntries): Likewise,
2795 (removeEntries): Likewise,
2796 plus added API docs all over.
2798 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
2800 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
2801 one way message and retry after any IOException.
2803 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2805 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
2808 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
2810 * org/omg/PortableServer/ServantLocatorPOA.java:
2811 (preinvoke, postinvoke): Remove default implementation.
2812 * org/omg/PortableServer/ServantActivatorPOA.java:
2813 (incarnate, etherealize): Remove default implementation.
2814 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
2815 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
2816 (make_object): Moved method from ObjectReferenceFactoryOperations.
2817 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
2818 Removed unspecified interface.
2819 * org/omg/DynamicAny/_DynAnyStub.java:
2820 (_DynAnyStub(Delegate)): Removed constructor.
2821 * org/omg/DynamicAny/_DynArrayStub.java,
2822 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
2823 * org/omg/DynamicAny/_DynEnumStub.java,
2824 * org/omg/DynamicAny/_DynFixedStub.java,
2825 * org/omg/DynamicAny/_DynSequenceStub.java,
2826 * org/omg/DynamicAny/_DynStructStub.java,
2827 * org/omg/DynamicAny/_DynUnionStub.java,
2828 * org/omg/DynamicAny/_DynValueStub.java:
2829 Extend from ObjectImpl and not from _DynAnyStub.
2830 (type, next, destroy, copy, rewind, assign, component_count,
2831 current_component, equal, from_any, get_any, get_boolean, get_char,
2832 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
2833 get_reference, get_short, get_string, get_typecode, get_ulong,
2834 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
2835 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
2836 insert_long, insert_longlong, insert_octet, insert_reference,
2837 insert_short, insert_string, insert_typecode, insert_ulong,
2838 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
2839 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
2840 * org/omg/CosNaming/_BindingIteratorStub.java:
2841 (_BindingIteratorStub(Delegate)): Made package private.
2842 * org/omg/CosNaming/_NamingContextExtStub.java:
2843 (_NamingContextExtStub(Delegate)): Made package private.
2844 * org/omg/CosNaming/_NamingContextStub.java:
2845 (_NamingContextStub(Delegate)): Made package private.
2846 (throw4, throw5): Likewise.
2847 * gnu/CORBA/NamingService/NameParser.java (resolve):
2848 Adapt to package private constructor. Use _set_delegate instead.
2849 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
2850 * org/omg/CORBA/ORB.java:
2851 (create_recursive_sequence_tc): Made abstract.
2852 (get_default_context): Likewise.
2853 * gnu/CORBA/OrbRestricted.java:
2854 (create_recursive_sequence_tc): New moved method.
2855 (get_default_context): Likewise.
2856 * org/omg/CORBA/ParameterMode.java:
2857 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
2859 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2861 * gnu/CORBA/GIOP/MessageHeader.java (write):
2862 More informative exception.
2863 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
2864 * gnu/CORBA/SocketRepository.java (get_socket):
2865 Removed debugging code.
2867 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2869 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
2870 one way message, but ignore if EOF was received.
2871 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
2872 Minor.EOF if the end of file is received instead of the header.
2874 2006-04-09 Roman Kennke <kennke@aicas.com>
2876 * javax/swing/plaf/metal/MetalRootPaneUI.java
2877 (MetalTitlePane.IconifyAction): New inner class.
2878 (MetalTitlePane.MaximizeAction): New inner class.
2879 (MetalTitlePane.createActions): Create iconifyAction and
2881 (MetalRootLayout.titlePane): New field.
2882 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
2884 (MetalRootLayout.preferredLayoutSize): Changed to not make
2885 assumptions about the actual component order.
2886 (MetalRootLayout.layoutContainer): Changed to not make
2887 assumptions about the actual component order.
2888 (installWindowDecorations): Pass the titlePane as parameter to
2889 the MetalRootLayout constructor.
2890 (uninstallWindowDecorations): Changed to not make
2891 assumptions about the actual component order.
2893 2006-04-08 Roman Kennke <kennke@aicas.com>
2895 * javax/swing/plaf/metal/MetalRootPaneUI.java
2896 (MetalTitlePane.MouseHandler): New inner class to handle dragging
2898 (MetalTitlePane.installListeners): Don't register a focus listener
2899 on the window. This is a potential memory leak and must be
2900 implemented on a different way. Install mouse listener here.
2901 (installWindowDecorations): Fixed assertion condition. Always
2902 insert the window decoration at index#1 in the layered
2905 2006-04-08 Roman Kennke <kennke@aicas.com>
2907 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2908 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
2909 Only resize window if actual width or height value changes.
2910 Avoids nasty flicker when only setLocation() is beeing called
2913 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2915 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
2916 exception if the magic sequence does not match.
2918 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2920 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
2921 response for the one way messages.
2923 2006-04-08 Roman Kennke <kennke@aicas.com>
2925 * javax/swing/MenuSelectionManager.java
2926 (processKeyEvent): Implemented stub method.
2927 * javax/swing/JMenu.java
2928 (processKeyEvent): Implemented stub method.
2929 * javax/swing/JMenu.java
2930 (processKeyEvent): Implemented stub method.
2931 (processMenuKeyEvent): Implemented stub method.
2933 2006-04-08 Roman Kennke <kennke@aicas.com>
2935 * javax/swing/AbstractAction.java
2936 (readObject): Removed unneeded method.
2937 (writeObject): Removed unneeded method.
2939 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
2941 * javax/swing/plaf/synth/SynthPainter.java:
2942 (paintSplitPaneDividerBorder): Removed.
2944 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
2946 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
2947 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
2948 No longer constants.
2949 (static_initializer): Added to initialize above fields.
2950 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
2951 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
2952 (static_initializer): Added to initialize above fields.
2954 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
2956 * java/awt/Dialog.java: Improved documentation all over.
2957 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
2958 (Dialog(Dialog)): Likewise.
2960 2006-04-08 Mark Wielaard <mark@klomp.org>
2962 * java/util/jar/JarFile.java (provider): New static field.
2963 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
2966 2006-04-08 Mark Wielaard <mark@klomp.org>
2969 * java/lang/StackTraceElement.java (toString): Don't add space
2970 between type and source indicator.
2972 2006-04-07 Casey Marshall <csm@gnu.org>
2974 Fixes PR classpath/24464
2975 * java/util/jar/JarFile.java (verify, verifyHashes,
2976 EntryInputStream.<init>): pass the Gnu provider directly to
2979 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
2982 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
2983 (DIGEST0): Use version 3 test vector.
2985 (S_box): New field: Version 3 S-box values.
2986 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
2987 (transform): Formating.
2988 (padBuffer): Likewise.
2989 (getResult): Likewise.
2990 (selfTest): Likewise.
2992 2006-04-07 Tom Tromey <tromey@redhat.com>
2994 * java/util/InvalidPropertiesFormatException.java
2995 (serialVersionUID): New field.
2996 (readObject, writeObject): New methods.
2997 * java/util/Arrays.java (toString): Javadoc fixes.
2998 * java/net/URLConnection.java: Cleaned up imports.
2999 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
3000 * java/lang/reflect/MalformedParameterizedTypeException.java
3001 (serialVersionUID): New field.
3002 * java/lang/reflect/GenericSignatureFormatError.java
3003 (serialVersionUID): New field.
3004 * java/lang/Class.java (Class): Javado fixes.
3005 (getComponentType): Likewise.
3006 (getGenericInterfaces): Likewise.
3007 (getTypeParameters): Likewise.
3008 * java/io/CharArrayWriter.java (append): Javadoc fixes.
3009 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
3011 * java/lang/TypeNotPresentException.java (serialVersionUID): New
3013 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
3016 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
3018 * java/awt/Dialog.java
3019 (AccessibleAWTDialog): Added api docs
3020 (AccessibleAWTDialog.getAccessibleStateSet):
3021 Renamed from getAccessibleState.
3022 * java/awt/Frame.java
3023 (AccessibleAWTFrame): Added api docs
3024 (AccessibleAWTFrame.getAccessibleStateSet):
3025 Renamed from getAccessibleState.
3027 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
3029 * java/awt/Dialog.java: Reformatted.
3031 2006-04-07 Lillian Angel <langel@redhat.com>
3033 * java/awt/Component.java
3034 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
3035 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
3037 2006-04-07 Tom Tromey <tromey@redhat.com>
3039 * java/beans/beancontext/BeanContextMembershipEvent.java
3040 (serialVersionUID): New field.
3041 * java/beans/beancontext/BeanContextServicesSupport.java
3042 (addBeanContextServicesListener): Synchronize.
3043 (addService): Implemented.
3044 (createBCSChild): Implemented.
3045 (BCSSChild): Added arguments.
3046 (fireServiceAdded): Implemented.
3047 (fireServiceRevoked): Implemented.
3048 (getCurrentServiceSelectors): Implemented.
3049 (hasService): Implemented.
3050 (removeBeanContextServicesListener): Implemented.
3051 (serviceAvailable): Implemented.
3052 (serviceRevoked): Implemented.
3053 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
3055 (createBCSChild): Implemented.
3056 (BeanContextSupport):
3057 (addBeanContextMembershipListener): Synchronize.
3058 (fireChildrenAdded): Implemented.
3059 (fireChildrenRemoved): Implemented.
3060 (BeanContextSupport): Use default locale.
3061 (isEmpty): Implemented.
3062 (isDesignTime): Implemented.
3063 (size): Implemented.
3064 (toArray): Synchronized.
3065 (toArray): Likewise.
3066 (iterator): Likewise.
3067 (BCSIterator): Implemented.
3068 (bcsChildren): Implemented.
3069 (validatePendingAdd): Implemented.
3070 (validatePendingRemove): Likewise.
3071 (childJustAddedHook): Implemented.
3072 (childJustRemovedHook): Likewise.
3073 (classEquals): Likewise.
3074 (toArray): Mark as stub.
3075 (setDesignTime): Implemented.
3076 (copyChildren): Implemented.
3077 (containsKey): Implemented.
3078 (contains): Likewise.
3079 (containsAll): Likewise.
3080 (getResource): Implemented.
3081 (getResourceAsStream): Likewise.
3082 (removeBeanContextMembershipListener): Likewise.
3083 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
3084 (serialVersionUID): New field.
3085 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
3086 (serialVersionUID): New field.
3087 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
3090 2006-04-06 Roman Kennke <kennke@aicas.com>
3093 * javax/swing/MenuSelectionManager.java
3094 (setSelectedPath): Search one more item in the loop.
3096 2006-04-06 Tom Tromey <tromey@redhat.com>
3098 * java/awt/image/renderable/RenderableImageProducer.java
3099 (image, context, consumers): New fields.
3100 (RenderableImageProducer): Implemented.
3101 (setRenderContext): Likewise.
3102 (addConsumer): Likewise.
3103 (isConsumer): Likewise.
3104 (removeConsumer): Likewise.
3105 (startProduction): Likewise.
3107 2006-04-06 Roman Kennke <kennke@aicas.com>
3109 * java/awt/Component.java
3110 (AccessibleAWTComponent.getBounds): Return the component
3111 bounds regardless of its showing state.
3112 (AccessibleAWTComponent.getLocation): Return the component
3113 location regardless of its showing state.
3114 (AccessibleAWTComponent.getSize): Return the component
3115 size regardless of its showing state.
3117 2006-04-06 Roman Kennke <kennke@aicas.com>
3119 * javax/swing/JRootPane.java
3120 (getAccessibleContext): New method. Provides an accessibleContext
3123 2006-04-06 Roman Kennke <kennke@aicas.com>
3125 * java/awt/Toolkit.java
3126 (initAccessibility): Use the 'gnu.classpath.home.url' property
3127 to determine the system confiuration directory.
3128 * java/awt/Component.java
3129 (dispatchEvent): Trigger Toolkit dispatching here.
3130 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
3131 so it can't be overridden by subclasses and is performed in
3134 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
3136 * javax/naming/Binding.java: Added API docs.
3137 * javax/naming/NameClassPair.java: Added API docs.
3138 (fullName): New field.
3139 (setNameInNamespace): New 1.5 method.
3140 (getNameInNamespace): Likewise.
3142 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
3144 * javax/naming/CompositeName.java:
3145 (readObject): New deserialization method.
3146 (writeObject): New serialization method.
3148 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
3150 * javax/security/auth/x500/X500Principal.java
3151 (readAttributeValue) Check for separator after quoted value was
3152 failing in all cases.
3154 2006-04-06 Mark Wielaard <mark@klomp.org>
3156 * java/lang/Class.java (getClassLoader): Don't do security check
3157 when loader is null.
3159 2006-04-06 Roman Kennke <kennke@aicas.com>
3161 * java/awt/Toolkit.java
3162 (getDefaultToolkit): Initialize accessibility after setting
3164 (initAccessibility): New helper method to setup accessibility.
3166 2006-04-06 Roman Kennke <kennke@aicas.com>
3168 * javax/swing/AbstractButton.java
3169 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
3170 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
3172 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
3173 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
3174 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
3175 (AccessibleAbstractButton.getCharCount): Implemented stub.
3176 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
3177 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
3178 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
3179 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
3180 (AccessibleAbstractButton.getSelectedText): Implemented stub.
3181 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
3184 2006-04-06 Roman Kennke <kennke@aicas.com>
3186 * java/awt/Component.java
3187 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
3188 state here. This is only done in JComponent.
3189 * javax/swing/JComponent.java
3190 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
3192 (getNextFocusableComponent): Implemented stub method.
3193 (grabFocus): Implemented stub method.
3194 (unregisterKeyboardAction): Implemented stub method.
3195 (setNextFocusableComponent): Implemented stub method.
3196 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
3197 This is a helper class for providing compatibility with the older
3200 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
3203 * javax/naming/directory/BasicAttribute.java,
3204 * javax/naming/directory/BasicAttributes.java:
3205 (readObject): New deserialization method.
3206 (writeObject): New serialization method.
3208 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
3210 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
3211 (getErrorHandler): Made method abstract.
3212 (setErrorHanlder): Likewise.
3213 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
3214 (getErrorHandler): Implement abstract method from superclass.
3215 (setErrorHandler): Likewise.
3216 (errorHandler): New field.
3217 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
3218 (getErrorHandler): Implement abstract method from superclass.
3219 (setErrorHandler): Likewise.
3220 (errorHandler): New field.
3221 * javax/xml/XMLConstants.java: Corrected since tag.
3222 (XMLConstants): Added private constructor.
3223 * javax/xml/datatype/Duration.java: Corrected since tag.
3224 (multiply): Made method abstract.
3225 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
3226 (DatatypeConstants): Added private constructor.
3227 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
3228 (XPathConstants): Added private constructor.
3230 2006-04-05 Tom Tromey <tromey@redhat.com>
3232 * javax/security/auth/kerberos/ServicePermission.java: Now final.
3234 2006-04-05 Tom Tromey <tromey@redhat.com>
3237 * lib/Makefile.am (compile-classes): Touch the output file.
3239 2006-04-05 Roman Kennke <kennke@aicas.com>
3241 * javax/swing/AbstractButton.java
3242 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
3243 of the focused state. This is already done in AccessibleAWTComponent.
3245 2006-04-05 Roman Kennke <kennke@aicas.com>
3247 * javax/swing/JComponent.java
3248 (accessibleContext): Fixed API doc for this field.
3249 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
3250 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
3251 Implemented and added API docs.
3252 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
3253 Implemented and added API docs.
3254 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
3255 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
3256 Implemented and added API docs.
3257 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
3258 Implemented and added API docs.
3259 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
3260 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
3261 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
3262 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
3263 (AccessibleJComponent.getAccessibleStateSet): Simply return
3264 super here. Added comment about this.
3266 2006-04-05 Roman Kennke <kennke@aicas.com>
3268 * javax/swing/JComponent.java
3269 (AccessibleJComponent.addPropertyChangeListener): Install
3270 ContainerHandler and FocusHandler here.
3271 (AccessibleJComponent.removePropertyChangeListener): Uninstall
3272 ContainerHandler and FocusHandler here.
3273 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
3274 by super.getAccessibleChildrenCount().
3275 (AccessibleJComponent.getAccessibleChild): Replaced
3276 by super.getAccessibleChild().
3277 (AccessibleJComponent.getAccessibleStateSet): Implemented by
3278 adding OPAQUE to the supported states.
3279 (AccessibleJComponent.getAccessibleName): Added titled border
3280 and label fallbacks.
3281 (AccessibleJComponent.getAccessibleDescription): Added tooltip
3282 and label fallbacks.
3283 (AccessibleJComponent.getAccessibleRole): Removed TODO.
3284 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
3285 explaining why return null seems correct here.
3286 * javax/swing/JLabel.java
3287 (LABEL_PROPERTY): New constant.
3288 (setLabelFor): Store label in labeled component's client properties
3289 for the AccessibleJComponent to read.
3291 2006-04-05 Tom Tromey <tromey@redhat.com>
3293 * java/util/zip/ZipFile.java (available): Defer to super if
3294 entry's size is unknown.
3296 2006-04-05 Tom Tromey <tromey@redhat.com>
3298 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
3299 property with mime.types name.
3300 * gnu/classpath/SystemProperties.java: Set
3301 gnu.classpath.mime.types.file if not already set.
3302 * java/net/URLConnection.java (defaultFactory): New field.
3303 (guessContentTypeFromStream): Mark as unimplemented.
3304 (getContentHandler): Updated with libgcj's implementation.
3305 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
3308 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
3312 * java/util/AbstractList.java (hasNext): Don't throw
3313 ConcurrentModificationException. Update Javadoc.
3314 (hasPrevious): Likewise.
3315 (nextIndex): Likewise.
3316 (previousIndex): Likewise.
3317 * java/util/HashMap.java (hasNext): Likewise.
3318 * java/util/Hashtable.java (hasNext): Likewise.
3319 * java/util/IdentityHashMap.java (hasNext): Likewise.
3320 * java/util/LinkedHashMap.java (hasNext): Likewise.
3321 * java/util/LinkedList.java (nextIndex): Likewise.
3322 (previousIndex): Likewise.
3323 (hasNext): Likewise.
3324 (hasPrevious): Likewise.
3325 * java/util/TreeMap.java (hasNext): Likewise.
3326 * java/util/WeakHashMap.java (hasNext): Likewise.
3328 2006-04-05 Roman Kennke <kennke@aicas.com>
3330 * javax/swing/AbstractButton.java
3331 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
3332 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
3333 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
3334 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
3335 (AccessibleAbstractButton.getAccessibleActionDescription):
3337 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
3338 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
3339 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
3340 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
3341 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
3342 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
3344 2006-04-05 Roman Kennke <kennke@aicas.com>
3346 * javax/swing/JComboBox.java
3347 (selectWithKeyChar): Implemented stubbed method.
3349 2006-04-05 Roman Kennke <kennke@aicas.com>
3351 * javax/swing/LookAndFeel.java
3352 (installProperty): New method. Allows primitive typed properties
3353 to be handled like UIResources.
3354 * javax/swing/AbstractButton.java
3355 (clientBorderPaintedSet): New field.
3356 (clientRolloverEnabledSet): New field.
3357 (clientIconTextGapSet): New field.
3358 (clientContentAreaFilledSet): New field.
3359 (setRolloverEnabled): Set the client field to true.
3360 (setBorderPainted): Likewise.
3361 (setIconTextGap): Likewise.
3362 (setContentAreaFilled): Likewise.
3363 (setUIProperty): New helper method.
3364 * javax/swing/JComponent.java
3365 (clientOpaqueSet): New field.
3366 (clientAutoscrollsSet): New field.
3367 (setAutoscrolls): Set the client field to true.
3368 (setOpaque): Likewise.
3369 (setUIProperty): New helper method.
3370 * javax/swing/JDesktopPane.java
3371 (clientDragModeSet): New field.
3372 (setDragMode): Set the client field to true.
3373 (setUIProperty): New helper method.
3374 * javax/swing/JSplitPane.java
3375 (clientDividerSizeSet): New field.
3376 (clientOneTouchExpandableSet): New field.
3377 (setDividerSize): Set the client field to true.
3378 (setOneTouchExpandable): Likewise.
3379 (setUIProperty): New helper method.
3380 * javax/swing/JTable.java
3381 (clientRowHeightSet): New field.
3382 (setRowHeight): Set the client field to true.
3383 (setUIProperty): New helper method.
3384 * javax/swing/JTree.java
3385 (clientRowHeightSet): New field.
3386 (clientScrollsOnExpandSet): New field.
3387 (clientShowsRootHandlesSet): New field.
3388 (setRowHeight): Set the client field to true.
3389 (setShowsRootHandles): Likewise.
3390 (setScrollsOnExpand): Likewise.
3391 (setUIProperty): New helper method.
3393 2006-04-05 Roman Kennke <kennke@aicas.com>
3395 * java/awt/Component.java
3396 (getFont): Don't request the font from the peer's graphics. The
3397 graphics should instead get the font from the Component, which might
3399 (getFocusCycleAncestor): Don't special case Window.
3400 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
3401 to here. Correctly determine the focus cycle root.
3402 (transferFocusBackward): Likewise.
3403 (transferFocusUpCycle): Likewise.
3404 * java/awt/Container.java
3405 (transferFocusDownCycle): Moved implementation from
3406 DefaultKeyboardFocusManager to here.
3407 * java/awt/DefaultKeyboardFocusManager.java
3408 (focusPreviousComponent): Moved implementation to
3409 Component.transferFocusBackward().
3410 (focusNextComponent): Moved implementation to
3411 Component.nextFocus().
3412 (upFocusCycle): Moved implementation to
3413 Component.transferFocusUpCycle().
3414 (downFocusCycle): Moved implementation to
3415 Container.transferFocusDownCycle().
3417 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
3419 * java/awt/image/ComponentSampleModel.java
3420 (equals): Implemented,
3421 (hashCode): Likewise.
3423 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
3425 * java/lang/Class.java
3428 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
3430 * java/awt/image/ComponentSampleModel.java
3431 (getBankIndices): Return a copy of the array, not a reference to the
3433 (getBandOffsets): Likewise.
3435 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
3437 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
3439 2006-04-04 Tom Tromey <tromey@redhat.com>
3441 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
3443 2006-04-04 Tom Tromey <tromey@redhat.com>
3445 * java/net/MimeTypeMapper.java (mime_types): No longer static.
3446 (MimeTypeMapper): Initialize.
3447 (fillFromFile): New method.
3449 (mime_strings): Updated.
3451 2006-04-04 Tom Tromey <tromey@redhat.com>
3453 * lib/gen-classlist.sh.in: Correct handle generated files.
3455 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
3457 * gnu/regexp/CharIndexed.java(setAnchor): New method.
3458 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
3459 * gnu/regexp/CharIndexedCharSequence.java: New file.
3460 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
3461 gnu.regexp.CharIndexedCharSequence.
3462 * gnu/regexp/CharIndexedString.java: Likewise.
3463 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
3464 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
3465 using CharIndexedCharSequence. Use setAnchor when the input
3466 object is already a CharIndexed.
3467 * java/util/regex/Matcher.java(inputCharIndexed): New field
3468 to be used as a parameter of the RE#getMatch.
3470 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
3472 * java/awt/image/SampleModel.java: Reformatted.
3474 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
3476 * java/awt/image/ComponentSampleModel.java
3477 (ComponentSampleModel(int, int, int, int, int[])): Added API
3479 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
3480 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
3481 of the bandOffsets and bankIndices arguments, added API documentation,
3482 * java/awt/image/SampleModel.java
3483 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
3484 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
3485 less than or equal to zero, added API documentation.
3487 2006-04-04 Lillian Angel <langel@redhat.com>
3489 * java/util/zip/ZipFile.java
3490 (getInputStream): Fixed to return size of ZipEntry
3491 minus the total bytes read. This guarantees that the
3492 right value is returned even if some bytes have already
3495 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3497 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
3498 Remove static modifier.
3500 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
3502 * java/awt/image/ComponentSampleModel.java: Reformatted.
3504 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3506 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
3507 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
3508 retrieval instructions to javadoc header.
3509 * javax/imageio/ImageWriteParam.java: Fix javadoc for
3510 compressionType field.
3511 * lib/Makefile.am (propertydirs): Add javax directory.
3512 (propertyfiles): Likewise.
3513 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
3516 2006-04-03 Tom Tromey <tromey@redhat.com>
3519 * javax/naming/directory/BasicAttribute.java: Added missing @since.
3520 (BasicAttributeEnumeration.where): Initialize to 0.
3521 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
3523 2006-04-03 Lillian Angel <langel@redhat.com>
3525 PR classpath/24596 and PR classpath/26930
3526 * java/util/zip/ZipFile.java
3527 (getInputStream): Override available function for
3528 InflaterInputStream instance.
3530 2006-04-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
3532 * gnu/java/lang/reflect/ClassSignatureParser.java,
3533 * gnu/java/lang/reflect/FieldSignatureParser.java,
3534 * gnu/java/lang/reflect/GenericSignatureParser.java,
3535 * gnu/java/lang/reflect/MethodSignatureParser.java,
3536 * gnu/java/lang/reflect/TypeImpl.java,
3537 * java/lang/Class.java,
3538 * java/lang/reflect/GenericDeclaration.java,
3539 * java/lang/reflect/MalformedParameterizedTypeException.java,
3540 * java/lang/reflect/TypeVariable.java,
3541 * java/util/Arrays.java,
3542 * vm/reference/java/lang/VMClass.java,
3543 * vm/reference/java/lang/reflect/Constructor.java,
3544 * vm/reference/java/lang/reflect/Method.java:
3545 Incorporate changes from the generics branch.
3547 2005-10-01 Jeroen Frijters <jeroen@frijters.net>
3549 * vm/reference/java/lang/reflect/Constructor.java
3550 (getSignature): New method.
3551 (getGenericExceptionTypes): New method.
3552 (getGenericParameterTypes): New method.
3553 * vm/reference/java/lang/reflect/Method.java
3554 (getSignature): New method.
3555 (getGenericExceptionTypes): New method.
3556 (getGenericParameterTypes): New method.
3557 (getGenericReturnType): New method.
3559 2005-09-30 Jeroen Frijters <jeroen@frijters.net>
3561 * gnu/java/lang/reflect/FieldSignatureParser.java: New file.
3562 * gnu/java/lang/reflect/ClassSignatureParser.java,
3563 gnu/java/lang/reflect/GenericSignatureParser.java,
3564 gnu/java/lang/reflect/MethodSignatureParser.java:
3565 Finished implementation.
3567 2005-09-25 Jeroen Frijters <jeroen@frijters.net>
3569 * gnu/java/lang/reflect/ClassSignatureParser.java,
3570 gnu/java/lang/reflect/GenericSignatureParser.java,
3571 gnu/java/lang/reflect/MethodSignatureParser.java: New files.
3572 * java/lang/Class.java
3573 (getGenericInterfaces, getGenericSuperclass, getTypeParameters):
3575 * vm/reference/java/lang/VMClass.java
3576 (getSimpleName, getDeclaredAnnotations, getCanonicalName,
3577 getEnclosingClass, getEnclosingConstructor, getEnclosingMethod,
3578 isAnonymousClass, isLocalClass, isMemberClass):
3579 Removed generic types from signatures.
3580 (getGenericInterfaces, getGenericSuperclass, getTypeParameters):
3582 (getClassSignature): New method.
3583 * vm/reference/java/lang/reflect/Constructor.java
3584 (getTypeParameters): Implemented.
3585 * vm/reference/java/lang/reflect/Method.java
3586 (getTypeParameters, getSignature): New methods.
3588 2005-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
3590 * java/lang/Class.java:
3591 (asSubclass(Class)): Documented.
3592 (getCanonicalName()): Implemented.
3593 (getEnclosingClass()): Implemented.
3594 (getEnclosingConstructor()): Implemented.
3595 (getEnclosingMethod()): Implemented.
3596 (getGenericInterfaces()): Implemented.
3597 (getGenericSuperclass()): Implemented.
3598 (getTypeParameters()): Implemented.
3599 (isAnonymousClass()): Implemented.
3600 (isLocalClass()): Implemented.
3601 (isMemberClass()): Implemented.
3602 * vm/reference/java/lang/VMClass.java:
3603 (getSuperClass(Class<?>)): Updated return type.
3604 (getSimpleName(Class<?>)): Use VM methods directly.
3605 (getCanonicalName(Class<?>)): Implemented.
3606 (getEnclosingClass(Class<?>)): New native method.
3607 (getEnclosingConstructor(Class<?>)): New native method.
3608 (getEnclosingMethod(Class<?>)): New native method.
3609 (getGenericInterfaces(Class<?>)): New native method.
3610 (getGenericSuperclass(Class<?>)): New native method.
3611 (getTypeParameters(Class<T>)): New native method.
3612 (isAnonymousClass(Class<?>)): New native method.
3613 (isLocalClass(Class<?>)): New native method.
3614 (isMemberClass(Class<?>)): New native method.
3615 * vm/reference/java/lang/reflect/Constructor.java:
3616 (getTypeParameters()): Changed to native method.
3618 2005-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
3620 * java/lang/Class.java:
3621 (getSimpleName()): Implemented.
3622 * vm/reference/java/lang/VMClass.java:
3623 (getSimpleName()): Reference implementation.
3625 2005-04-20 Tom Tromey <tromey@redhat.com>
3627 * java/util/Arrays.java (hashCode): New methods.
3628 (deepHashCode): New method.
3629 (deepEquals): Likewise.
3630 (toString): New methods.
3631 (deepToString): New method.
3633 2005-04-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
3635 * java/lang/Class.java:
3636 (isEnum()): New method implemented.
3637 (isSynthetic()): New method implemented.
3638 (isAnnotation()): New method implemented.
3639 * vm/reference/java/lang/VMClass.java:
3640 (isEnum()): New native method.
3641 (isSynthetic()): New native method.
3642 (isAnnotation()): New native method.
3644 2005-03-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3646 * java/lang/Class.java:
3647 Implements java.lang.reflect.Type
3649 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3651 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
3653 2006-04-03 Tom Tromey <tromey@redhat.com>
3655 * javax/security/auth/kerberos/ServicePermission.java: New file.
3656 * javax/security/auth/kerberos/DelegationPermission.java: New file.
3657 * javax/security/auth/kerberos/KerberosKey.java: New file.
3658 * javax/security/auth/kerberos/KeyImpl.java: New file.
3659 * javax/security/auth/kerberos/KerberosTicket.java: New file.
3660 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
3662 2006-04-03 Sven de Marothy <sven@physto.se>
3664 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
3665 non-GtkImage images.
3667 2006-04-03 Mark Wielaard <mark@klomp.org>
3669 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
3670 as temporary file name.
3672 2006-04-03 Dalibor Topic <robilad@kaffe.org>
3674 * INSTALL: Documented --with-glibj-zip option.
3676 2006-04-03 Dalibor Topic <robilad@kaffe.org>
3678 Fixed all pscan warnings.
3680 * native/jni/classpath/jcl.c (JCL_ThrowException),
3681 native/jni/classpath/jcl.h (DBG),
3682 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
3683 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
3684 Use "%s" format in fprintf and snprintf explicitely when printing a single
3685 string to prevent format string exploits.
3687 * native/jni/java-net/javanet.h (DBG): Removed duplicate
3688 definition. Included jcl.h instead.
3690 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
3692 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
3693 (provider): Made it protected.
3694 (providerInstalled): New field.
3695 (Main): Made it a 0-arguments constructor.
3696 Removed throws clasue.
3697 (main): Removed throws clause.
3698 Call processArgs(args) after constructing instance.
3699 Call teardown() before existing.
3700 (processArgs): Added javadoc.
3701 Reduced to throws Exception.
3703 (teardown): New method.
3704 (setupCommonParams): Added javadoc.
3705 Install designated provider if not already installed.
3706 (installNewProvider): New method.
3707 (setupSigningParams): Added javadoc.
3708 Instantiate the KeyStore using type only.
3709 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
3710 Removed unused imports.
3711 (start): Reduced to throws Exception.
3712 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
3713 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
3714 Re-organized imports.
3715 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
3717 (getNames): Add "dsa" as an algorithm provided by this Factory.
3718 (makeInstance): Construct IllegalArgumentException with 2 arguments.
3720 2006-04-03 Roman Kennke <kennke@aicas.com>
3722 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
3723 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
3724 Replaced g_free() with pango_item_free() to avoid problems
3727 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
3730 * java/util/logging/Level.java (parse): Document.
3731 * java/util/logging/LogManager.java (rootLogger): Removed.
3732 (LogManager): Just set loggers to new HashMap.
3733 (getLogManager): Make synchronized. Create and init LogManager if it
3735 (static): Removed block.
3736 (MANAGER_PROPERTY): New private final string.
3737 (makeLogManager): Use new property string, move warning to
3738 createInstance() method.
3739 (CONFIG_PROPERTY): New private final string.
3740 (initLogManager): New method.
3741 (addLogger): Use Logger.root, not rootLogger.
3742 (findAncestor): Likewise.
3743 (readConfiguration): Move warning to createInstance() method.
3744 Add handlers directly to Logger.root. Warn about bad level values.
3745 (getClassProperty): Use new locateClass() method.
3746 (getInstanceProperty): Only catch specific newInstance Errors.
3747 (createInstance): Make private and takes a string to use in warning
3748 messages. Use new locateClass() method and generate appropriate
3750 (warn): New methods.
3751 (locateClass): Locates a class through the context class loader and
3752 system class loader as backup.
3753 * java/util/logging/Logger.java (root): New static final field.
3754 (Logger): Set parent to root.
3755 (setParent): Directly check root field.
3757 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
3759 * javax/swing/text/Segment.java:
3760 (setPosition): Make exception message more verbose.
3761 * javax/swing/text/WrappedPlainView.java:
3762 (insertUpdate): Removed unneeded repaint call.
3763 (changeUpdate): Dito.
3764 (removeUpdate): Dito.
3765 (WrappedLine.determineNumLines): Do not return numLines, break
3766 from loop if no new break point has been calculated.
3767 (WrappedLine.updateDamage): Rewritten.
3768 (WrappedLine.insertUpdate): Removed unneeded update code.
3769 (WrappedLine.removeUpdate): Removed unneeded update code, added
3772 2006-04-02 Dalibor Topic <robilad@kaffe.org>
3774 * configure.ac (with-glibj-zip): Added new option.
3776 * examples/Makefile.am,
3778 tools/Makefile.am: Adapted build classpath to use glibj.zip,
3779 in addition to classes in lib directory.
3781 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3783 * tools/gnu/classpath/tools/giop/GRMIC.java,
3784 tools/gnu/classpath/tools/giop/IorParser.java,
3785 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
3786 tools/gnu/classpath/tools/giop/grmic/Generator.java,
3787 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
3788 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
3789 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
3790 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
3791 tools/gnu/classpath/tools/rmi/RMIC.java,
3792 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
3793 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
3794 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
3795 linking exception from the licensing header.
3796 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
3797 Added licensing header.
3799 2006-04-02 Mark Wielaard <mark@klomp.org>
3801 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
3802 (jarsigner): Removed.
3804 2006-04-02 Dalibor Topic <robilad@kaffe.org>
3806 * configure.ac: don't check for isnan function.
3807 * native/fdlibm/fdlibm.h: Always use the isnan macro.
3809 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
3811 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
3812 * tools/Makefile.am: Generate jarsigner shell script.
3813 * tools/jarsigner.sh.in: New template.
3814 * tools/.cvsignore: Added jarsigner.sh.
3816 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
3818 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
3819 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
3820 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
3821 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
3822 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
3823 Re-organised imports.
3825 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
3828 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
3829 Handle case where alpha==0.
3831 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
3834 * javax/swing/text/Utilities.java:
3835 (getTabbedTextOffset): Added check to decrement pos not below zero,
3836 changed '>' comparison to '>='.
3837 * javax/swing/text/WrappedPlainView.java:
3838 (lineHeight): New field.
3839 (calculateBreakPosition): Throw InternalError in catch block, removed
3840 unneeded brackets, use specific version of
3841 Utilities.getTabbedTextOffset.
3842 (paint): Set various properties neccessary for drawing.
3843 (WrappedLine.paint): Removed code to set field of outer class.
3844 (WrappedLine.modelToView): Removed unneeded expression from
3846 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
3847 -1 from return statement, copy only a subset into the Segment, removed
3848 special handling of mark value - just return it, simplified
3849 incrementation of currLineStart.
3850 (WrappedLine.insertUpdate): Recalculate numLines, report preference
3851 change to parent view.
3852 (WrappedLine.removeUpdate): Dito.
3854 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
3856 * javax/swing/text/Segment.java:
3857 (toString): Return empty string when array is null.
3859 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
3861 * javax/swing/plaf/basic/BasicTextUI.java:
3862 (damageRange): Use SwingUtilities.computeUnion to avoid
3863 unneccessary Rectangle instantiation.
3865 2006-04-01 Tom Tromey <tromey@redhat.com>
3867 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
3869 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
3871 * javax/swing/text/CompositeView.java: Fixed copyright header.
3872 * javax/swing/text/BoxView.java: Fixed copyright header.
3873 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
3874 * javax/swing/text/Utilities.java: Fixed copyright header.
3876 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
3878 * javax/swing/text/CompositeView.java:
3879 (modelToView): Throw BadLocationException when no child
3880 view can be found, restructed to throw exception as early
3882 (viewToModel): Use mutable allocation as argument for viewToModel
3884 * javax/swing/text/BoxView.java:
3885 (getViewAtPoint): Call setBounds() r before method returns with
3886 suitable child view.
3887 * javax/swing/text/Utilities.java:
3888 (getPositionBelow): Added try-catch-block around modelToView call,
3889 added method return when BadLocationException was thrown.
3890 * javax/swing/text/WrappedPlainView.java:
3891 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
3892 added note about meaning of rect.x and rect.width, removed unneeded
3893 checks, added code to not return the last possible document offset.
3895 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
3897 * javax/swing/text/WrappedPlainView.java:
3898 (WrappedLine.viewToModel): Change < to <= in if-statement,
3899 removed addition of currLineStart to return value.
3900 * javax/swing/text/BoxView.java:
3901 (getViewAtPoint): Use copy instead of r for method call
3902 which modifies the second argument.
3904 2006-04-01 Mark Wielaard <mark@klomp.org>
3907 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
3909 2006-03-31 Tom Tromey <tromey@redhat.com>
3911 * lib/split-for-gcj.sh: Updated for multi-field format.
3912 * lib/Makefile.am (CLEANFILES): Added classes.2.
3913 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
3914 classes.2 using multiple fields.
3916 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3918 * javax/swing/JTable.java (columnSelectionChanged):
3919 Removed print statement.
3920 * javax/swing/DefaultListSelectionModel.java
3921 (addSelectionInterval, removeSelectionInterval):
3922 Fire the difference between selection. (setLeadSelectionIndex):
3923 Fire the difference and mark current and previous lead
3924 selection indexes for repaint.
3926 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3928 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
3929 unnecessary copying.
3930 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
3932 2006-03-31 Lillian Angel <langel@redhat.com>
3934 * java/awt/Component.java
3935 (translateEvent): oldKey should be the value of the
3938 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3940 * javax/swing/JTable.java (columnSelectionChanged):
3941 Treat second repaint parameter as width.
3943 2006-03-31 Lillian Angel <langel@redhat.com>
3946 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
3947 (realize): New native function.
3948 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
3949 Added new function declaration.
3950 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
3951 (realize): New function.
3953 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
3955 * javax/swing/text/GapContent.java:
3956 (replace): Move all Position instances from gap's end to
3957 it's start before increasing the gap start.
3958 * javax/swing/plaf/basic/BasicTextAreaUI.java:
3959 (propertyChanged): Update the view only instead of
3960 indicating a document change.
3962 2006-03-31 Roman Kennke <kennke@aicas.com>
3964 * javax/swing/JTextField.java
3965 (fireActionPerformed): Put the textfields text in the action
3966 instead of the action name.
3968 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
3970 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
3971 Check for null jar-file argument.
3972 (setupSigningParams): Check for null alias argument.
3974 2006-03-31 Roman Kennke <kennke@aicas.com>
3976 * javax/swing/JComponent.java
3977 (paintChildren): Split up in two cases, depending on the
3978 optimizedDrawingEnabled flag.
3979 (paintChildrenWithOverlap): New method. Paints children when
3980 not optimizedDrawingEnabled. This implements better painting
3981 algorithm for overlapping components, so that the painted
3982 regions are minimized.
3983 (paintChildrenOptimized): New method. Paints children when
3984 when optimizedDrawingEnabled. This implements a painting
3985 algorithm that is optimized for the case when all children
3986 are guaranteed to be tiled.
3988 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
3990 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
3991 Attributes.putValue(String,String).
3992 (finishSigning): Likewise.
3993 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
3994 (SIGNATURE_VERSION): Likewise.
3995 (readSFManifest): Use local string constant.
3996 (readMainSection): Likewise.
3997 (readVersionInfo): Likewise.
3998 * java/util/jar/Attributes.java (MANIFEST_VERSION):
3999 Redefined using JarUtils constant.
4000 (SIGNATURE_VERSION): Likewise.
4001 (putValue(Name,String)): Made it private.
4003 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4005 * javax/swing/DefaultListSelectionModel.java (fireDifference):
4006 New method. (clearSelection): Rewritten. (setSelectionInterval):
4007 Fire the difference between current and new selection.
4008 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
4009 Only repaint the region, where selection has been changed.
4010 * javax/swing/plaf/basic/BasicTableUI.java
4011 (TableAction.actionPerformed): Do not change the column selection
4012 when only row selection change is wanted (and in reverse) and
4013 do not call the repaint() here.
4015 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
4018 * javax/swing/DefaultComboBoxModel.java
4019 (DefaultComboBoxModel(Vector)): Call getSize() instead of
4021 (addElement): Call list.addElement() rather than list.add(), and only
4022 update selected item if it is currently null,
4023 (removeElementAt): Update selected item, then remove the element.
4025 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
4028 * java/awt/geom/Point2D.java
4029 (distanceSq(double, double)): Fixed order of arguments,
4030 (distanceSq(Point2D)): Likewise,
4031 (distance(double, double)): Likewise,
4032 (distance(Point2D)): Likewise.
4034 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4036 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
4037 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
4038 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
4039 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
4040 DCLuminanceLengths, DCLuminanceValues): Remove fields.
4042 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4044 * javax.swing.JTable (constructor): Initialize column
4045 model column margin and table row margin before setting the
4046 table column model. (initialiseLocalVars): Do not call
4047 setIntercellSpacing.
4049 2006-03-30 Chris Burdess <dog@gnu.org>
4051 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
4053 * javax/xml/validation/SchemaFactoryLoader.java: New file.
4055 2006-03-30 Mark Wielaard <mark@klomp.org>
4058 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
4059 adjust bounds. On resize invalidate and validate container.
4060 Always pass on ComponentEvents to Container super class.
4061 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
4062 menuBar and pass to GtkWindowPeer super class.
4063 (postConfigureEvent): Adjust menu bar width. Adjust y and height
4064 bounds and pass to GtkWindowPeer super class.
4065 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
4066 New fields for local bounds.
4067 (getX, getY): New methods.
4068 (getWidth): Don't call into awtComponent.
4069 (getHeight): Likewise.
4070 (create): Cache local bounds.
4071 (setLocation): Documented, made protected and just call
4073 (setLocationUnlocked): Removed unused method.
4074 (setBoundsUnlocked): Likewise.
4075 (setBounds): Check whether bounds actually changed and cache local
4077 (setSize): Documented and made protected.
4078 (setResizable): Documented and cache local bounds.
4079 (postConfigureEvent): Update local bounds. Don't call awtComponent
4080 directly but post ComponentEvents.
4081 (show): Cache local bounds.
4082 (getBounds): Override to return cached bounds.
4084 2006-03-30 Lillian Angel <langel@redhat.com>
4086 * gnu/java/awt/peer/gtk/GdkGraphics.java
4087 (drawImage): Added check to prevent NPE.
4088 (drawImage): Likewise.
4089 (drawImage): Likewise.
4090 * java/awt/Choice.java
4091 (dispatchEventImpl): New function. selectedIndex was
4092 not being updated properly otherwise.
4094 2006-03-30 Roman Kennke <kennke@aicas.com>
4096 * javax/swing/JTabbedPane.java
4097 (removeTabAt): Removed debug code.
4099 2006-03-30 Roman Kennke <kennke@aicas.com>
4102 * javax/swing/plaf/basic/BasicTextUI.java
4103 (installKeyboardActions): Simply call getKeymap() and install this.
4104 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
4106 2006-03-30 Roman Kennke <kennke@aicas.com>
4108 * javax/swing/JTabbedPane.java
4109 (removeTabAt): Adjust selection correctly when removing a tab
4110 before the selected tab. Also remove the component from the
4111 container, not only the tab object. Repaint and revalidate the
4112 component after the removal.
4113 (removeAll): Set selection to -1 before removing the tabs.
4115 2006-03-29 Lillian Angel <langel@redhat.com>
4117 Partial fix for bug #26929
4118 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4119 (updateComponent): Removed. We want to clear the panel
4121 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4122 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
4123 Should set the background to the saved background color.
4125 2006-03-29 Mark Wielaard <mark@klomp.org>
4127 Partial fix for bug #26848 (pack).
4128 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
4129 Always show instances of Window.
4131 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
4133 * javax/swing/JSlider.java
4134 (setPaintLabels): Only create standard labels if labelTable is null,
4135 * javax/swing/plaf/basic/BasicSliderUI.java
4136 (PropertyChangeHandler.propertyChange): Recalculate geometry for
4137 "paintTicks" property change,
4138 (calculateThumbSize): Updated API docs,
4139 (calculateContentRect): Likewise,
4140 (calculateTrackBuffer): Take into account the lowest and highest
4141 labels when calculating buffer space,
4142 (calculateTrackRect): Include labels, if visible, in the calculation of
4143 the trackRect position,
4144 (calculateTickRect): Height is zero if ticks are not painted,
4145 (calculateLabelRect): Use max dimensions of actual labels,
4146 (getWidthOfHighValueLabel): Use preferred size,
4147 (getWidthOfLowValueLabel): Likewise,
4148 (getHeightOfHighValueLabel): Likewise,
4149 (getHeightOfLowValueLabel): Likewise,
4150 (drawInverted): Just return slider setting,
4151 (getHighestValueLabel): Updated API docs,
4152 (paintTicks): Removed redundant (and buggy) code, replaced with calls
4153 to xPositionForValue() and yPositionForValue(),
4154 (paintHorizontalLabel): Removed full qualification of class name,
4155 (paintVerticalLabel): Likewise,
4156 (xPositionForValue): Reimplemented,
4157 (yPositionForValue): Reimplemented,
4158 * javax/swing/plaf/metal/MetalSliderUI.java
4159 (paintTrack): Made track one pixel longer.
4161 2006-03-29 Tom Tromey <tromey@redhat.com>
4164 * tools/Makefile.am (JCOMPILER): Added encoding options.
4165 * examples/Makefile.am (JCOMPILER): Added encoding options.
4167 2006-03-29 Gary Benson <gbenson@redhat.com>
4169 Partial fix for PR classpath/24895
4170 * java/io/FilePermission.java (implies): Canonicalize paths.
4172 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
4175 * javax/swing/text/GapContent.java:
4176 (replace): Added call to resetMarksAtZero.
4178 2006-03-29 Roman Kennke <kennke@aicas.com>
4181 * javax/swing/plaf/basic/BasicMenuItemUI.java
4182 (cachedRect): New field.
4183 (BasicMenuItemUI): Initialize cachedRect field.
4184 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
4185 to determine layout. Store maximum accelerator and text width
4186 in client properties of parent to allow correct alignment
4187 of accelerators among menu items of one menu.
4188 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
4189 method. Align accelerators according to the values calculated
4190 in getPreferredMenuItemSize.
4191 (getAcceleratorString) New helper method.
4192 (layoutMenuItem): New helper method.
4194 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4196 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
4197 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
4198 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
4200 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
4201 readExternal, writeExternal): New methods.
4202 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
4203 two stages, invokeCommon(Remote, ...) and
4204 invokeCommen(UnicastConnection, ...).
4205 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
4206 also the ActivatableRef. toString(): Documented.
4207 * gnu/java/rmi/server/ActivatableRef.java,
4208 tools/gnu/classpath/tools/rmi/Persistent.java,
4209 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
4210 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
4211 tools/gnu/classpath/tools/rmi/REGISTRY.java,
4212 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
4213 tools/gnu/classpath/tools/rmi/RMID.java,
4214 tools/gnu/classpath/tools/rmi/RMID.txt,
4215 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
4216 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
4217 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
4218 tools/gnu/classpath/tools/rmi/registry/package.html,
4219 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
4220 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
4222 * tools/README: Documented.
4223 * NEWS: Added entry about the activation.
4225 2006-03-29 Roman Kennke <kennke@aicas.com>
4228 * javax/swing/plaf/basic/BasicMenuItemUI.java
4229 (viewRect): New field.
4230 (textRect): New field.
4231 (accelRect): New field.
4232 (iconRect): New field.
4233 (arrowIconRect): New field.
4234 (checkIconRect): New field.
4235 (BasicMenuItemUI): Initialize new fields.
4236 (paintMenuItem): Rewritten to correctly layout and paint
4237 the menu item in a more straightforward way. Use cached rectangle
4239 (paintAccelerator): Pulled inside the paintMenuItem method.
4241 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4243 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
4244 Do not use initCause with UnexpectedException.
4245 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
4248 2006-03-29 Mark Wielaard <mark@klomp.org>
4250 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4251 (setCursorID): Removed unused static variable.
4253 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
4255 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
4257 2006-03-29 Mark Wielaard <mark@klomp.org>
4260 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4261 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
4263 2006-03-28 Roman Kennke <kennke@aicas.com>
4265 * javax/swing/UIManager.java
4266 (installLookAndFeel): Implemented.
4267 (setInstalledLookAndFeels): Implemented.
4269 2006-03-28 Roman Kennke <kennke@aicas.com>
4271 * javax/swing/plaf/metal/MetalButtonUI.java
4272 (update): Paint gradient only when the background color
4273 is not a UIResource and if the button is neither armed nor
4274 pressed and if the button is contentAreaFilled.
4276 2006-03-28 Roman Kennke <kennke@aicas.com>
4278 * javax/swing/JLayeredPane.java
4279 (addImpl): Repaint added component.
4281 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
4283 * java/util/regex/Matcher.java: Reverted.
4285 2006-03-28 Roman Kennke <kennke@aicas.com>
4287 * javax/swing/text/AsyncBoxView.java
4288 (setEstimatedMajorSpan): Made method protected.
4289 (getEstimatedMajorSpan): Made method protected.
4290 * javax/swing/text/BoxView.java
4291 (flipEastAndWestAtEnds): Fixed typo.
4292 * javax/swing/text/InternationalFormatter.java
4293 (getActions): Made method protected.
4294 * javax/swing/text/Position.java
4295 (Bias): Made class final.
4296 * javax/swing/text/html/HTML.java
4297 (MEDIA): Made field package private. Not specified.
4298 (NOBR): Made field package private. Not specified.
4299 * javax/swing/text/html/NullView.java
4300 Made class package private.
4301 * javax/swing/text/html/parser/Entity.java
4302 Made class non-serializable as specified.
4304 2006-03-28 Roman Kennke <kennke@aicas.com>
4306 * javax/swing/plaf/metal/MetalButtonUI.java
4307 (update): Don't paint gradient if the background color is
4308 no UIResource. Removed double getModel() call. Don't check for
4311 2006-03-28 Roman Kennke <kennke@aicas.com>
4313 * javax/swing/plaf/basic/BasicMenuItemUI.java
4314 (paint): Call paintMenuItem with the selectionBackground as
4316 (paintBackground): Fixed the condition and color for the background
4319 2006-03-28 Roman Kennke <kennke@aicas.com>
4321 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
4322 (tabsOpaque): New field.
4323 (paintLeftTabBorder): Paint some parts only when the tabs are
4324 opaque. Determine the tab background using the paintLeftTabBorder()
4326 (paintRightTabBorder): Likewise.
4327 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
4329 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
4331 * java/rmi/activation/ActivationGroup_Stub.java:
4334 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
4336 * java/io/CharArrayWriter.java:
4337 (append(char)): Documented.
4338 (append(CharSequence)): Likewise.
4339 (append(CharSequence,int,int)): Likewise.
4341 2006-03-27 Tom Tromey <tromey@redhat.com>
4343 * java/io/CharArrayWriter.java (append): New overloads.
4345 2006-03-27 Lillian Angel <langel@redhat.com>
4347 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4348 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
4349 Added check for colormap. Prevents assertion error.
4350 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
4352 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
4354 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
4356 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
4358 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
4361 2006-03-27 Dalibor Topic <robilad@kaffe.org>
4363 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
4364 AC_MSG_ERROR instead of echoing the error message
4365 that no compiler has been found manually.
4367 2006-03-27 Roman Kennke <kennke@aicas.com>
4369 * javax/swing/RepaintManager.java
4370 (commitBuffer): Use simple drawImage() method instead of the
4373 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
4375 * javax/swing/text/PlainView.java:
4376 (drawLine): Use 'endOffset' instead of 'selectionEnd'
4377 for painting the selected line.
4379 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
4381 * javax/swing/plaf/basic/BasicSliderUI.java
4382 (getThumbSize): Removed TODO and updated API docs.
4384 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
4386 * javax/swing/text/DefaultCaret.java:
4387 (mouseClicked): Word selection rewritten.
4388 (paint): Draw line inside the bounding rectangle.
4389 (damage): Retrieve caret height from line height.
4391 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
4393 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
4395 Check for -help option.
4396 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
4398 2006-03-27 Roman Kennke <kennke@aicas.com>
4400 * javax/swing/text/FieldView.java
4401 (getPreferredSpan): Don't include trailing newline in
4403 * javax/swing/text/PlainView.java
4404 (drawLine): Don't include trailing newline.
4405 (determineMaxLineLength): Don't include trailing newline.
4406 (getLineBuffer): Made method final.
4408 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
4410 * javax/swing/JSlider.java
4411 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
4412 (AccessibleJSlider.getAccessibleRole): Removed declaration of
4413 NotImplementedException,
4414 (AccessibleJSlider.getAccessibleValue): Updated API docs.
4416 2006-03-26 Tom Tromey <tromey@redhat.com>
4419 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
4421 (getModifiersInternal): Renamed from getModifiers.
4422 (getModifiers): New method.
4423 (isBridge): Likewise.
4424 (isSynthetic): Likewise.
4425 (isVarArgs): Likewise.
4426 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
4428 (getModifiersInternal): Renamed from getModifiers.
4429 (getModifiers): New method.
4430 (isSynthetic): Likewise.
4431 (isEnumConstant): Likewise.
4432 * vm/reference/java/lang/reflect/Constructor.java
4433 (getModifiersInternal): Renamed from getModifiers.
4434 (getModifiers): New method
4435 (CONSTRUCTOR_MODIFIERS): New constant.
4436 (isSynthetic): New method.
4437 (isVarArgs): Likewise.
4438 * java/lang/reflect/Member.java (isSynthetic): New method.
4440 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
4442 * gnu/java/security/jce/hash/HavalSpi.java,
4443 * gnu/java/security/jce/hash/MD2Spi.java,
4444 * gnu/java/security/jce/hash/MD4Spi.java,
4445 * gnu/java/security/jce/hash/MD5Spi.java,
4446 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
4447 * gnu/java/security/jce/hash/RipeMD128Spi.java,
4448 * gnu/java/security/jce/hash/RipeMD160Spi.java,
4449 * gnu/java/security/jce/hash/Sha160Spi.java,
4450 * gnu/java/security/jce/hash/Sha256Spi.java,
4451 * gnu/java/security/jce/hash/Sha384Spi.java,
4452 * gnu/java/security/jce/hash/Sha512Spi.java,
4453 * gnu/java/security/jce/hash/TigerSpi.java,
4454 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
4455 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
4456 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
4457 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
4458 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
4459 * gnu/java/security/jce/sig/SignatureAdapter.java,
4460 * gnu/java/security/key/IKeyPairCodec.java,
4461 * gnu/java/security/key/IKeyPairGenerator.java,
4462 * gnu/java/security/key/KeyPairGeneratorFactory.java,
4463 * gnu/java/security/key/dss/DSSKey.java,
4464 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
4465 * gnu/java/security/key/dss/DSSPrivateKey.java,
4466 * gnu/java/security/key/dss/DSSPublicKey.java,
4467 * gnu/java/security/key/dss/FIPS186.java,
4468 * gnu/java/security/key/rsa/GnuRSAKey.java,
4469 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
4470 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
4471 * gnu/java/security/sig/ISignature.java,
4472 * gnu/java/security/sig/ISignatureCodec.java,
4473 * gnu/java/security/sig/dss/DSSSignature.java,
4474 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
4475 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
4476 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
4477 * gnu/java/security/util/Util.java:
4478 Remove CVS revision tags.
4480 2006-03-26 Tom Tromey <tromey@redhat.com>
4482 * java/io/InputStream.java (InputStream): Implements Closeable.
4484 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
4486 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
4488 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
4489 getAnchor): New methods.
4490 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
4491 getAnchor): New methods.
4492 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
4493 getAnchor): New methods.
4494 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
4495 getAnchor): New methods.
4496 * gnu/regexp/REMatch.java(start1): New field.
4497 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
4498 (match): set the starting position to start1[] instead of start[],
4499 (getMatchImpl): Set the found REMatch to the input,
4500 (makeCharIndexed): Made public.
4501 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
4502 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
4503 set the value of start[] copying from start1[].
4504 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
4506 * java/util/regex/Matcher.java(inputCharIndexed): New field
4507 to be used as a parameter of the RE#getMatch.
4509 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4511 * gnu/java/rmi/activation/DefaultActivationGroup.java:
4512 Documented the default jre spawning strategy (none).
4513 * java/rmi/activation/ActivationGroup.java (currentGroupId,
4514 getSystem): Obtain the acticivation system from the
4515 DefaultActivationSystem.
4517 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
4519 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
4520 Ask user for keystore password if one was not provided.
4522 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
4524 * tools/README: Added Security tools section.
4525 Documented the jarsigner tool.
4527 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
4529 * javax/swing/JScrollBar.java
4530 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
4531 (AccessibleJScrollBar.getAccessibleRole): Likewise,
4532 (AccessibleJScrollBar.getAccessibleValue): Likewise,
4533 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
4534 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
4535 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
4536 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
4537 (getAccessibleContext): Updated API docs.
4539 2006-03-25 Tom Tromey <tromey@redhat.com>
4541 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
4542 change or if generator script changes.
4544 2006-03-25 Tom Tromey <tromey@redhat.com>
4546 * javax/naming/ldap/StartTlsRequest.java: New file.
4547 * javax/naming/ldap/StartTlsResponse.java: New file.
4549 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
4551 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
4552 to validate all components of a resource path.
4553 (FileURLLoader.walkPathComponents): Helper which ensures that we are
4554 allowed to walk through every component of a resource path.
4556 2006-03-25 Michael Koch <konqueror@gmx.de>
4558 * NEWS: Added item for CLDR 1.3 update.
4560 2006-03-25 Michael Koch <konqueror@gmx.de>
4562 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
4563 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
4564 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
4565 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
4566 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
4567 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
4570 2006-03-25 Michael Koch <konqueror@gmx.de>
4572 * resource/gnu/java/locale/LocaleInformation_az.properties,
4573 resource/gnu/java/locale/LocaleInformation_bs.properties,
4574 resource/gnu/java/locale/LocaleInformation_byn.properties,
4575 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
4576 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
4577 resource/gnu/java/locale/LocaleInformation_gez.properties,
4578 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
4579 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
4580 resource/gnu/java/locale/LocaleInformation_haw.properties,
4581 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
4582 resource/gnu/java/locale/LocaleInformation_kok.properties,
4583 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
4584 resource/gnu/java/locale/LocaleInformation_sid.properties,
4585 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
4586 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
4587 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
4588 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
4589 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
4590 resource/gnu/java/locale/LocaleInformation_syr.properties,
4591 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
4592 resource/gnu/java/locale/LocaleInformation_tig.properties,
4593 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
4594 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
4595 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
4596 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
4597 resource/gnu/java/locale/LocaleInformation_wal.properties,
4598 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
4601 2006-03-25 Michael Koch <konqueror@gmx.de>
4603 * resource/gnu/java/locale/LocaleInformation_fa.properties,
4604 resource/gnu/java/locale/LocaleInformation_kn.properties,
4605 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
4606 resource/gnu/java/locale/LocaleInformation_ko.properties,
4607 resource/gnu/java/locale/LocaleInformation_sl.properties,
4608 resource/gnu/java/locale/LocaleInformation_so.properties,
4609 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
4610 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
4611 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
4612 resource/gnu/java/locale/LocaleInformation_sr.properties:
4613 Random fixes I forgot to commit before.
4615 2006-03-25 Michael Koch <konqueror@gmx.de>
4617 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
4618 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
4619 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
4620 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
4621 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
4622 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
4623 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
4624 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
4625 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
4626 resource/gnu/java/locale/LocaleInformation_en.properties,
4627 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
4628 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
4629 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
4630 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
4631 resource/gnu/java/locale/LocaleInformation_fa.properties,
4632 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
4633 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
4634 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
4635 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
4636 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
4637 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
4638 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
4639 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
4640 resource/gnu/java/locale/LocaleInformation_pa.properties,
4641 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
4642 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
4643 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
4644 resource/gnu/java/locale/LocaleInformation_sa.properties,
4645 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
4646 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
4647 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
4648 Updated currency formats.
4650 2006-03-25 Roman Kennke <kennke@aicas.com>
4652 * javax/swing/text/AbstractDocument.java
4653 (getAttributeContext): Made method final.
4654 (getCurrentWriter): Likewise.
4655 (getEndPosition): Likewise.
4656 (getProperty): Likewise.
4657 (getStartPosition): Likewise.
4658 (putProperty): Likewise.
4659 (readLock): Likewise.
4660 (readUnlock): Likewise.
4661 (writeLock): Likewise.
4662 (writeUnlock): Likewise.
4664 2006-03-25 Roman Kennke <kennke@aicas.com>
4666 * javax/swing/InputMap.java
4667 (allKeys): Check if parent keys is null.
4668 * javax/swing/KeyboardManager.java
4669 (registerEntireMap): Also register map's parent keys.
4670 * javax/swing/plaf/metal/MetalRootPaneUI.java
4671 (propertyChange): Also call super.propertyChange().
4673 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
4675 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
4676 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
4677 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
4678 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
4679 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
4680 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
4682 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
4684 * gnu/java/util/jar/JarUtils.java: New file.
4685 * java/util/jar/Manifest.java (CRLF): Removed.
4686 (read_main_section): Likewise.
4687 (read_version_info): Likewise.
4688 (expect_header(String,BufferedReader)): Likewise.
4689 (expect_header(String,BufferedReader,String)): Likewise.
4690 (read_header_value): Likewise.
4691 (read_attributes): Likewise.
4692 (read_attribute): Likewise.
4693 (read_individual_sections): Likewise.
4694 (read_section_name): Likewise.
4695 (write_main_section): Likewise.
4696 (write_version_info): Likewise.
4697 (write_header): Likewise.
4698 (write_main_attributes): Likewise.
4699 (write_attribute_entry): Likewise.
4700 (write_individual_sections): Likewise.
4701 (write_entry_attributes): Likewise.
4702 (read): use JarUtils.
4705 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
4707 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
4710 (SignerInfo(BERReader)): Updated javadoc.
4712 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
4714 (encode): New method.
4715 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
4716 (PKCS7_DATA): Removed.
4719 (PKCS7SignedData(BERReader)): Updated javadoc.
4721 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
4723 (encode): New method.
4724 * gnu/java/security/pkcs/PKCS7Data.java: New file.
4725 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
4726 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
4727 (decodePrivateKey): Decode x from an OCTET STRING.
4728 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
4729 (toString): New method.
4730 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
4732 (toString): New method.
4733 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
4734 (toString): New method.
4735 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
4737 2006-03-25 Roman Kennke <kennke@aicas.com>
4739 * java/util/GregorianCalender.java
4740 (computeTime): Fix comparison to correctly calculate the
4743 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
4746 * java/awt/Window.java:
4747 (setFocusCycleRoot): New overriden method.
4748 (isFocusCycleRoot): Likewise.
4749 (getFocusCycleRootAncestor): Likewise.
4750 * java/awt/Container.java:
4751 (getFocusTraversalPolicy): Check also for anchestor == null.
4753 2006-03-25 Mark Wielaard <mark@klomp.org>
4755 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
4756 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
4759 2006-03-24 Tom Tromey <tromey@redhat.com>
4761 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
4763 (writeChar): Removed useless cast.
4764 (writeChars(String)): Implemented.
4765 (writeDouble): Rewrote.
4766 (writeFloat): Likewise.
4767 (writeUTF): Implemented.
4768 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
4771 2006-03-24 Roman Kennke <kennke@aicas.com>
4773 * javax/swing/JButton.java
4774 (def): Replaced field with defaultCapable field.
4775 (is_def): Removed field.
4776 (JButton): Initialize defaultCapable with true.
4777 (isDefaultButton): Documented and implemented method by querying
4778 the button's root pane if present.
4779 (isDefaultCapable): Changed def field to defaultCapable.
4780 Added documentation.
4781 (paramString): Call isDefaultButton() instead of accessing field,
4783 (setDefaultCapable): Changed def field to defaultCapable.
4784 Added documentation.
4785 * javax/swing/JRootPane.java
4786 (setDefaultButton): Only change the default button if the
4787 new button is defaultCapable.
4788 * javax/swing/plaf/basic/BasicRootPaneUI.java
4789 (DefaultPressAction): New class.
4790 (DefaultReleaseAction): New class.
4791 (installKeyboardActions): Implemented.
4792 (uninstallKeyboardActions): Implemented.
4793 (propertyChange): Implemented.
4794 * javax/swing/plaf/metal/MetalBorders.java
4795 (ButtonBorder.paintBorder): 'Outsourced' default theme
4796 painting to paintDefaultButtonBorder().
4797 (ButtonBorder.paintDefaultButtonBorder): New helper method
4798 to paint the border in the default theme. This also fixes
4799 painting of the border for default buttons.
4800 (ButtonBorder.paintOceanButtonBorder): Added support for
4801 default button painting. Fixed border for pressed/default state.
4802 * javax/swing/plaf/metal/MetalButtonUI.java
4803 (update): Only paint gradient when in OceanTheme and when the
4804 button is not armed.
4806 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4808 * gnu/java/rmi/activation/ActivationSystemTransient.java:
4809 Inherit from Activator.
4811 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4813 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
4814 Print debug message if debug flag is set.
4815 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
4816 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
4817 detail, do not call iniCause(). (exportClass): New method.
4818 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
4819 Ignore null (bootstrap) class loader.
4820 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
4821 buildMethodHash, findStubSkelClass, getHelperClass): Changed
4822 visibility to protected.
4823 * java/rmi/activation/Activatable.java (export, register): Rewritten.
4824 (toStub): New method.
4825 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
4826 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
4827 Explained property java.rmi.activation.port.
4829 2006-03-24 Tom Tromey <tromey@redhat.com>
4831 * .externalToolBuilders/CreateLocaleData.launch: Updated.
4832 * gnu/java/locale/.cvsignore: New file.
4833 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
4834 * java/util/Locale.java (getAvailableLocales): Clone result.
4835 (getISOCountries): Likewise.
4836 (getISOLanguages): Likewise.
4837 * scripts/generate-locale-list.sh: Make class public. Added new
4839 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
4840 (getLocaleCount): Likewise.
4841 * java/text/Collator.java (getInstance): Javadoc typo fix.
4842 (getAvailableLocales): Wrote.
4844 2006-03-24 Roman Kennke <kennke@aicas.com>
4846 * javax/swing/JTabbedPane.java
4847 (getSelectedComponent): Return null when no component is
4850 2006-03-24 Mark Wielaard <mark@klomp.org>
4852 * NEWS: Add cursor and selection improvements.
4854 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
4856 * java/awt/Component.java
4857 (getAccessibleName): Just return accessibleName,
4858 * javax/swing/AbstractButton.java
4859 (getAccessibleStateSet): Mark as stub,
4860 (getAccessibleName): Implemented,
4861 (getAcessibleIcon): Mark as stub,
4862 (getAccessibleRelationSet): Likewise,
4863 (getAccessibleAction): Likewise,
4864 (getAccessibleValue): Likewise,
4865 (getAccessibleActionCount): Likewise,
4866 (getAccessibleActionDescription): Likewise,
4867 (doAccessibleAction): Likewise,
4868 (getCurrentAccessibleValue): Likewise,
4869 (setCurrentAccessibleValue): Likewise,
4870 (getMinimumAccessibleValue): Likewise,
4871 (getMaximumAccessibleValue): Likewise,
4872 (getAccessibleText): Likewise,
4873 (getIndexAtPoint): Likewise,
4874 (getCharacterBounds): Likewise,
4875 (getCharCount): Likewise,
4876 (getCaretPosition): Likewise,
4877 (getAtIndex): Likewise,
4878 (getAfterIndex): Likewise,
4879 (getBeforeIndex): Likewise,
4880 (getCharacterAttribute): Likewise,
4881 (getSelectionStart): Likewise,
4882 (getSelectionEnd): Likewise,
4883 (getSelectedText): Likewise,
4884 (getTextRectangle): Likewise,
4885 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
4886 (getIconTextGap): Added @since 1.4,
4887 (setContentAreaFilled): Reordered code to make event sequence match
4888 reference implementation,
4889 * javax/swing/JButton.java
4890 (getSelectedObjects): Removed,
4891 *javax/swing/JComponent.java
4892 (getAccessibleName): Call super.
4894 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
4896 * javax/swing/JProgressBar.java
4897 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
4898 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
4899 (AccessibleJProgressBar.getAccessibleValue): Implemented,
4900 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
4901 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
4902 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
4903 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
4904 (getAccessibleContext): Added API docs.
4906 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
4908 * javax/swing/plaf/basic/BasicTextUI.java:
4909 (FocusListener.focusLost): Put current selection into the system
4912 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
4914 * java/awt/Component.java:
4915 (processMouseEvent): Remove call to consume event.
4916 (dispatchEventImpl): Handle specific events first, do focus request
4917 only when mouse event was not yet consumed.
4918 * javax/swing/text/DefaultCaret.java:
4919 (mousePressed): Rewritten.
4920 (setDot): Changed order of operations.
4923 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
4925 * javax/swing/JComponent.java
4926 (AccessibleJComponent.changeSupport): Removed field,
4927 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
4928 (AccessibleJComponent.addPropertyChangeListener): Call super,
4929 (AccessibleJComponent.removePropertyChangeListener): Likewise,
4930 * javax/swing/JSlider.java
4931 (AccessibleJSlider.getAccessibleStateSet): Implemented,
4932 (AccessibleJSlider.getAccessibleRole): Likewise,
4933 (AccessibleJSlider.getAccessibleValue): Likewise,
4934 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
4935 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
4936 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
4937 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
4938 (getAccessibleContext): Added API docs.
4940 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4942 * gnu/java/rmi/activation/ActivationSystemTransient.java
4943 (debug): Made public. (constructor): Made protected.
4944 (activate, getActivationDesc): Throw more informative exceptions.
4945 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
4947 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
4949 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
4951 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
4953 * java/rmi/activation/Activatable.java (obtainId): Use the activation
4954 system, passed in the activation descriptor field.
4955 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
4956 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
4957 to package private final. (equals): Compare uid, not the system.
4958 (hashCode): Forward to uid.hashCode(). toString(): New method.
4959 * java/rmi/activation/ActivationID.java (readObject, writeObject):
4960 Rewritten. (equals): Compare UID only. toString(): New method.
4961 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
4962 UID (space). (hashCode, toString): Rewritten.
4963 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
4964 New method. (invoke): Treat null as an empty array for parameters.
4965 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
4966 Include count, do not include the static machineId.
4968 2006-03-23 Tom Tromey <tromey@redhat.com>
4970 * java/net/URLConnection.java (getContent(Class[])): Implemented.
4972 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4974 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
4975 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
4976 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
4977 (force): New field. (setForce): New method. (compile): Handle -force.
4978 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
4979 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
4981 2006-03-23 Roman Kennke <kennke@aicas.com>
4983 * javax/swing/JTabbedPane.java
4984 (Page.getBackground): Return the JTabbedPane's background,
4985 rather than the page's component background.
4986 (Page.getForeground): Return the JTabbedPane's foreground,
4987 rather than the page's component foreground.
4988 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4989 (uninstallUI): Don't set colors to null.
4990 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
4991 (paintTabBackground): Correctly determine the tab background.
4992 (getUnselectedBackground): New helper method to
4993 handle the UI property 'TabbedPane.unselectedBackground'
4996 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4998 * javax/swing/plaf/basic/BasicInternalFrameUI.java
4999 (BorderListener.showingResizeCursor): New field.
5000 (BorderListener.mouseMoved, BorderListner.mouseExited):
5003 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
5005 * javax/swing/JComboBox.java
5006 (selectWithKeyChar): Mark as stub,
5007 * javax/swing/JFileChooser.java
5008 (setDragEnabled): Mark as stub,
5009 (getDragEnabled): Likewise,
5010 * javax/swing/JSlider.java
5011 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
5012 (AccessibleJSlider.getAccessibleRole): Likewise,
5013 (AccessibleJSlider.getAccessibleValue): Likewise,
5014 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
5015 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
5016 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
5017 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
5018 * javax/swing/UIManager.java
5019 (installLookAndFeel): Mark as stub,
5020 (setInstalledLookAndFeels): Likewise.
5022 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
5024 * javax/swing/filechooser/UnixFileSystemView.java
5025 (getSystemDisplayName): Mark as stub,
5026 (getSystemIcon): Likewise,
5027 (getSystemTypeDescription): Likewise.
5029 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
5031 * javax/swing/tree/AbstractLayoutCache.java
5032 (getNodeDimensions): Mark as stub,
5033 (getPreferredHeight): Likewise,
5034 (getPreferredWidth): Likewise,
5035 (getRowsForPaths): Likewise,
5036 (isFixedRowHeight): Likewise,
5037 * javax/swing/tree/DefaultTreeModel.java
5038 (reload()): Mark as stub,
5039 (reload(TreeNode)): Likewise,
5040 (nodeStructureChanged): Likewise,
5041 * javax/swing/tree/DefaultTreeSelectionModel.java
5042 (clone): Mark as stub,
5043 (setRowMapper): Likewise,
5044 (setSelectionPaths): Likewise,
5045 (isRowSelected): Likewise,
5046 (resetRowSelection): Likewise,
5047 (insureRowContinuity): Likewise,
5048 (arePathsContiguous): Likewise,
5049 (canPathsBeAdded): Likewise,
5050 (canPathsBeRemoved): Likewise,
5051 (notifyPathChange): Likewise,
5052 (updateLeadIndex): Likewise,
5053 (insureUniqueness): Likewise,
5054 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
5056 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
5058 2006-03-22 Tom Tromey <tromey@redhat.com>
5060 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
5062 (getStaticAttributeKey): Likewise.
5063 (readAttributeSet): Likewise.
5064 (writeAttributeSet): Likewise.
5065 (readAttributes): Likewise.
5066 (writeAttributes): Likewise.
5067 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
5069 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
5071 (fireChangedUpdate): Likewise.
5074 (handleEndOfLineString): Likewise.
5075 (textAreaContent): Likewise.
5076 (preContent): Likewise.
5077 (addSpecialElement): Likewise.
5078 (setInnerHTML): Likewise.
5079 (setOuterHTML): Likewise.
5080 (insertBeforeStart): Likewise.
5081 (insertBeforeEnd): Likewise.
5082 (insertAfterEnd): Likewise.
5083 (insertAfterStart): Likewise.
5084 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
5085 Mark all methods as stub.s
5086 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
5088 (paintHorizontalSeparators): Likewise.
5089 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
5091 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
5093 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
5095 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
5098 2006-03-22 Mark Wielaard <mark@klomp.org>
5100 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
5102 2006-03-22 Mark Wielaard <mark@klomp.org>
5105 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
5106 Takes GtkImage, x and y coordinates.
5107 (gtkWidgetSetCursorUnlocked): Likewise.
5108 (GtkComponentPeer): Set cursor when set.
5109 (setCursor): Handle GtkCursor.
5110 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
5112 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5113 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
5114 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
5115 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
5117 2006-03-23 Roman Kennke <kennke@aicas.com>
5120 * gnu/java/security/Registry.java
5121 (PKCS5_PAD): Added pad PKCS#5 algorithm.
5122 * gnu/javax/crypto/pad/PadFactory.java
5123 (getInstance): For PKCS#5, also return PKCS#7 pad
5125 (getNames): Added PKCS#5.
5126 * javax/crypto/KeyGenerator.java
5127 (getInstance): Initialize key generator before returning
5130 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
5132 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
5133 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
5134 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
5137 2006-03-22 Tom Tromey <tromey@redhat.com>
5139 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
5140 (getBoolean): Likewise.
5141 (getString): Likewise.
5142 (getIcon): Likewise.
5144 2006-03-22 Mark Wielaard <mark@klomp.org>
5147 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
5148 (GLightweightPeer(Component)): Install MouseListener.
5149 (setCursor): Implement.
5150 (mouseEntered): New method.
5152 2006-03-22 Tom Tromey <tromey@redhat.com>
5154 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
5156 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
5158 (getFontForState): Likewise.
5159 (getInsets): Added 'result' argument.
5160 (getPainter): Renamed.
5162 2006-03-22 Tom Tromey <tromey@redhat.com>
5164 * javax/swing/plaf/synth/SynthPainter.java
5165 (paintScrollBarThumbBackground): Added 'orientation' argument.
5166 (paintScrollBarThumbBorder): Likewise.
5167 (paintSliderThumbBackground): Likewise.
5168 (paintSliderThumbBorder): Likewise.
5169 (paintTabbedPaneTabBackground): Added 'index' argument.
5170 (paintTabbedPaneTabBorder): Likewise.
5172 2006-03-22 Tom Tromey <tromey@redhat.com>
5174 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
5175 (toString): New method.
5177 2006-03-22 Tom Tromey <tromey@redhat.com>
5179 * doc/hacking.texinfo (Source Code Style Guide): Mention
5180 NotImplementedException.
5181 * javax/imageio/stream/MemoryCacheImageOutputStream.java
5182 (flushBefore): Mark as stub.
5184 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
5186 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
5189 (writeBit): Likewise.
5190 (writeChars): Likewise.
5191 (writeUTF): Likewise.
5192 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
5195 * java/net/URLConnection.java (getContent): Mark as stub.
5196 * java/awt/Window.java (applyResourceBundle): Mark as stub.
5197 * java/awt/TexturePaint.java (createContext): Mark as stub.
5198 (getTransparency): Mark as stub.
5199 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
5200 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
5201 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
5203 (getImageCapabilities): Likewise.
5204 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
5205 * java/awt/AlphaComposite.java (createContext): Mark as stub.
5206 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
5208 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
5209 (getAdvanceBetween): Likewise.
5210 (getLayout): Likewise.
5211 (insertChar): Likewise.
5212 (getLineBreakIndex): Likewise.
5213 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
5214 (getAdvance): Likewise.
5215 (getAscent): Likewise.
5216 (getDescent): Likewise.
5217 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
5218 (insertChar): Likewise.
5219 (nextLayout): Likewise.
5220 (nextLayout): Likewise.
5221 (nextOffset): Likewise.
5222 (nextOffset): Likewise.
5223 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
5225 (getAdvance): Likewise.
5226 (getAscent): Likewise.
5227 (getBounds): Likewise.
5228 (getDescent): Likewise.
5229 (hashCode): Likewise.
5230 (ImageGraphicAttribute): Likewise.
5231 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
5232 (getJustificationInfo): Likewise.
5233 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
5234 (getGlyphCharIndices): Likewise.
5235 (getGlyphOutline): Likewise.
5236 (getGlyphPixelBounds): Likewise.
5237 (getLayoutFlags): Likewise.
5238 (getPixelBounds): Likewise.
5239 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
5241 * java/nio/channels/Channels.java (newWriter): Mark as stub.
5242 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
5243 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
5245 (resetRecognizer): Likewise.
5246 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
5248 (getNativesForFlavor): Likewise.
5249 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
5250 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
5252 (getRegion): Likewise.
5253 (createUI): Likewise.
5254 (initialize): Likewise.
5255 (uninitialize): Likewise.
5256 (getDefaults): Likewise.
5258 (shouldUpdateStyleOnAncestorChanged): Likewise.
5259 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
5261 (getPreferredSize): Likewise.
5262 (getMaximumSize): Likewise.
5263 (paintText): Likewise.
5264 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
5266 * java/text/Collator.java (getAvailableLocales): Mark as stub.
5268 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
5270 * java/io/ObjectStreamConstants.java: Added since tag.
5271 (PROTOCOL_VERSION_1): Added javadoc.
5272 (PROTOCOL_VERSION_2): Likewise.
5273 * java/io/ObjectOutputStream.java:
5274 (setDefaultProtocolVersion): Removed.
5275 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
5277 2006-03-21 Lillian Angel <langel@redhat.com>
5279 * gnu/javax/imageio/bmp/BMPInfoHeader.java
5280 (BMPInfoHeader): Removed debug lines.
5281 * gnu/javax/imageio/bmp/EncodeRLE4.java
5282 (encode): Implemented.
5283 (uncompress): New function implemented to
5284 uncompress the image before encoding.
5285 * gnu/javax/imageio/bmp/EncodeRLE8.java
5286 (encode): Implemented.
5287 (uncompress): New function implemented to
5288 uncompress the image before encoding.
5290 2006-03-21 Roman Kennke <kennke@aicas.com>
5292 * javax/swing/text/html/FormView.java
5293 (getImageData): New helper method.
5295 2006-03-21 Tom Tromey <tromey@redhat.com>
5297 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
5299 (Unsafe): Now final.
5301 2006-03-21 Roman Kennke <kennke@aicas.com>
5303 * javax/swing/text/html/FormView.java
5304 (MouseEventListener): New inner class.
5306 2006-03-21 Roman Kennke <kennke@aicas.com>
5308 * javax/swing/text/html/ListView.java: New file.
5310 2006-03-21 Tom Tromey <tromey@redhat.com>
5312 * java/text/Bidi.java: Completed.
5314 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
5316 * javax/swing/JTable.java:
5317 (columnAtPoint): Removed the null check, this method should throw a NPE
5318 if the argument is null.
5320 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
5322 * javax/swing/text/DefaultHighlighter.java:
5323 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
5325 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
5327 * javax/swing/text/DefaultCaret.java: Added class variable denoting
5328 the textcomponent having a selection.
5329 (clearSelection): Clear 'componentWithSelection' variable.
5330 (handleSelection): Clear selection of current component having a
5331 selection before setting a new selection in another component.
5332 (mouseDragged): Only react on left mouse button.
5333 (mouseClicked): Only react on left mouse button.
5335 2006-03-21 Roman Kennke <kennke@aicas.com>
5337 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
5338 (paintContentBorderTopEdge): Implemented.
5339 (paintContentBorderBottomEdge): Implemented.
5340 (paintContentBorderLeftEdge): Implemented.
5341 (paintContentBorderRightEdge): Implemented.
5342 (isLastTabInRun): New helper method.
5344 2006-03-21 Roman Kennke <kennke@aicas.com>
5346 * javax/swing/JTabbedPane.java
5347 (Page.getForeground): Fall back to returning the tabbed pane's
5348 foreground if no foreground has been exclicitly set.
5350 2006-03-21 Roman Kennke <kennke@aicas.com>
5352 * javax/swing/plaf/metal/MetalComboBoxButton.java
5353 (setEnabled): Update colors of button correctly.
5354 * javax/swing/plaf/metal/MetalComboBoxUI.java
5355 (MetalPropertyChangeListener.propertyChange): Update the colors
5356 of the list and the button when any of the color properties
5357 of the ComboBox change.
5359 2006-03-21 Roman Kennke <kennke@aicas.com>
5361 * javax/swing/plaf/basic/BasicButtonUI.java
5362 (uninstallDefaults): Only nullify button colors if they are
5363 not UIResource instances.
5365 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
5367 * javax/swing/JComponent.java
5368 (AccessibleJComponent.getAccessibleDescription): Call super,
5369 * javax/swing/JToolTip.java: API doc updates all over, plus
5370 (AccessibleJToolTip.getAccessibleDescription): Implemented,
5371 (AccessibleJToolTip.getAccessibleRole): Implemented,
5372 (getAccessibleContext): Implemented,
5373 (paramString): Reimplemented,
5374 (setComponent): Fire PropertyChangeEvent,
5375 (setTipText): Likewise.
5377 2006-03-20 Tom Tromey <tromey@redhat.com>
5379 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
5380 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
5381 (CertStoreSpi): Updated throws clause.
5382 * java/security/cert/CertPathValidatorSpi.java: Added import for
5384 (engineValidate): Updated 'throws' clause.
5385 * java/security/cert/PKIXParameters.java: Javadoc fix.
5386 * java/security/cert/X509CertSelector.java
5387 (setAuthorityKeyIdentifier): Javadoc fix.
5389 2006-03-20 Tom Tromey <tromey@redhat.com>
5391 * .classpath: Build gnu.javax.swing.plaf.
5393 2006-03-20 Lillian Angel <langel@redhat.com>
5395 * gnu/javax/imageio/bmp/BMPDecoder.java:
5396 Removed unneeded import.
5397 * gnu/javax/imageio/bmp/BMPEncoder.java:
5399 * gnu/javax/imageio/bmp/BMPFileHeader.java
5400 (BMPFileHeader): New constructor used to create info header
5401 for an output stream.
5402 (write): Fixed indexes.
5403 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
5404 Initialized writerSpiNames field.
5405 * gnu/javax/imageio/bmp/BMPImageWriter.java:
5407 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
5409 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
5410 Change visibility for fields.
5411 (BMPInfoHeader): New constructor used to create
5412 file header for an output stream.
5413 (intToDWord): New method. Converts an int to a
5415 (intToWord): New method. Converts an int to a word.
5416 * gnu/javax/imageio/bmp/DecodeBF32.java:
5417 Removed unneeded imports.
5418 * gnu/javax/imageio/bmp/EncodeRGB1.java:
5420 * gnu/javax/imageio/bmp/EncodeRGB16.java:
5422 * gnu/javax/imageio/bmp/EncodeRGB24.java:
5424 * gnu/javax/imageio/bmp/EncodeRGB32.java:
5426 * gnu/javax/imageio/bmp/EncodeRGB4.java:
5428 * gnu/javax/imageio/bmp/EncodeRGB8.java:
5430 * gnu/javax/imageio/bmp/EncodeRLE4.java:
5432 * gnu/javax/imageio/bmp/EncodeRLE8.java:
5434 * javax/imageio/ImageIO.java:
5437 2006-03-20 Roman Kennke <kennke@aicas.com>
5439 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
5440 (TabbedPaneLayout.normalizeTabRuns): New method.
5441 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
5442 (paintTabBorder): Replaced if-else chain with switch.
5443 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
5445 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
5447 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
5449 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
5451 (paintTabBackground): Fetch background color from the TabbedPane.
5452 Fixed painting and improved by not using fillPolygon, and instead
5453 using fillRectangle. Replaced if-else chain with switch.
5454 (calculateMaxTabHeight): Added overridden method with FIXME.
5455 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
5457 (paintContentBorderTopEdge): Added stub with FIXME.
5458 (paintContentBorderBottomEdge): Added stub with FIXME.
5459 (paintContentBorderLeftEdge): Added stub with FIXME.
5460 (paintContentBorderRightEdge): Added stub with FIXME.
5462 2006-03-20 Roman Kennke <kennke@aicas.com>
5464 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5465 (tabsOpaque): New field.
5466 (installDefaults): Fetch tabsOpaque property from UIManager.
5467 (paintTab): Fill tab background when tabsOpaque property is true.
5468 * javax/swing/plaf/basic/BasicLookAndFeel.java
5469 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
5471 2006-03-20 Roman Kennke <kennke@aicas.com>
5473 * javax/swing/JTabbedPane.java
5474 (Pane.getBackground): When no background was explicitly set, return
5475 the JTabbedPane's background.
5477 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
5479 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
5480 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
5481 * org/omg/CORBA/BAD_INV_ORDER.java,
5482 * org/omg/CORBA/BAD_CONTEXT.java,
5483 * org/omg/CORBA/BAD_OPERATION.java,
5484 * org/omg/CORBA/BAD_PARAM.java,
5485 * org/omg/CORBA/BAD_QOS.java,
5486 * org/omg/CORBA/BAD_TYPECODE.java,
5487 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
5488 * org/omg/CORBA/COMM_FAILURE.java,
5489 * org/omg/CORBA/CurrentHolder.java,
5490 * org/omg/CORBA/DATA_CONVERSION.java,
5491 * org/omg/CORBA/FREE_MEM.java,
5492 * org/omg/CORBA/IMP_LIMIT.java,
5493 * org/omg/CORBA/INITIALIZE.java,
5494 * org/omg/CORBA/INTERNAL.java,
5495 * org/omg/CORBA/INTF_REPOS.java,
5496 * org/omg/CORBA/INVALID_ACTIVITY.java,
5497 * org/omg/CORBA/INVALID_TRANSACTION.java,
5498 * org/omg/CORBA/INV_FLAG.java,
5499 * org/omg/CORBA/INV_IDENT.java,
5500 * org/omg/CORBA/INV_OBJREF.java,
5501 * org/omg/CORBA/INV_POLICY.java,
5502 * org/omg/CORBA/MARSHAL.java,
5503 * org/omg/CORBA/NO_RESOURCES.java,
5504 * org/omg/CORBA/NO_MEMORY.java,
5505 * org/omg/CORBA/NO_IMPLEMENT.java,
5506 * org/omg/CORBA/NO_PERMISSION.java,
5507 * org/omg/CORBA/NO_RESPONSE.java,
5508 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
5509 * org/omg/CORBA/OBJ_ADAPTER.java,
5510 * org/omg/CORBA/ParameterModeHolder.java,
5511 * org/omg/CORBA/PolicyError.java,
5512 * org/omg/CORBA/PolicyErrorHolder.java,
5513 * org/omg/CORBA/PolicyHolder.java,
5514 * org/omg/CORBA/PolicyListHolder.java,
5515 * org/omg/CORBA/REBIND.java,
5516 * org/omg/CORBA/TIMEOUT.java,
5517 * org/omg/CORBA/TRANSACTION_MODE.java,
5518 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
5519 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
5520 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
5521 * org/omg/CORBA/TRANSIENT.java,
5522 * org/omg/CORBA/TypeCodeHolder.java,
5523 * org/omg/CORBA/UNKNOWN.java,
5524 * org/omg/CORBA/UnionMember.java,
5525 * org/omg/CORBA/UnknownUserException.java,
5526 * org/omg/CORBA/UnknownUserExceptionHolder.java,
5527 * org/omg/CORBA/WrongTransactionHolder.java,
5528 * org/omg/IOP/IOR.java,
5529 * org/omg/IOP/IORHolder.java,
5530 * org/omg/IOP/MultipleComponentProfileHolder.java,
5531 * org/omg/IOP/ServiceContextHolder.java,
5532 * org/omg/IOP/ServiceContextListHolder.java,
5533 * org/omg/IOP/TaggedComponentHolder.java,
5534 * org/omg/IOP/TaggedProfileHolder.java,
5535 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
5536 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
5537 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
5538 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
5539 Made class final, various javadoc fixlets.
5540 * org/omg/CORBA/CompletionStatus.java,
5541 * org/omg/CORBA/PERSIST_STORE.java,
5542 * org/omg/CORBA/ValueMember.java,
5543 * org/omg/PortableInterceptor/ForwardRequest.java,
5544 * org/omg/PortableInterceptor/InvalidSlot.java,
5545 * org/omg/IOP/CodecPackage/TypeMismatch.java,
5546 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
5547 * org/omg/IOP/CodecPackage/FormatMismatch.java,
5548 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
5549 * org/omg/IOP/Encoding.java,
5550 * org/omg/IOP/TaggedComponent.java,
5551 * org/omg/IOP/TaggedProfile.java: Made class final.
5552 * org/omg/CORBA/SystemException.java: Made class abstract.
5553 * org/omg/CORBA/UserException.java: Made class abstract.
5554 (UserException): Now protected.
5555 (UserException(String)): Likewise.
5556 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
5557 (typecode): Removed unused private variable.
5559 2006-03-20 Chris Burdess <dog@gnu.org>
5562 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
5564 2006-03-20 Roman Kennke <kennke@aicas.com>
5566 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5567 (paintTabArea): Look up tab run indices in tabRuns array instead
5568 of using the index directly.
5570 2006-03-20 Roman Kennke <kennke@aicas.com>
5572 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5573 (paintTab): Fixed painting.
5574 (paintText): Fixed text painting.
5575 (paintFocusIndicator): Fixed painting of the focus rectangle.
5576 (paintContentBorder): Fixed painting of the content area.
5578 2006-03-20 Mark Wielaard <mark@klomp.org>
5580 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
5581 static lock Object field.
5582 (produce): Synchronize on pixbufLock when calling initState(),
5583 pumpBytes() and pumpDone().
5584 (finalize): Likewise when calling finish().
5585 (GdkPixbufWriter.write): Likewise when calling streamImage().
5586 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
5587 when calling loadPixbuf. Chain exception.
5588 (GtkImage(byte[])): Likewise when calling loadImageFromData.
5589 (GtkImage(URL)): Likewise.
5590 (GtkImage(int,int)): Likewise when calling createPixmap().
5591 (GtkImage(GtkImage,int,int,int)): Likewise when calling
5592 createScaledPixmap().
5593 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
5594 (setImage): Likewise when calling createPixmap() and setPixels().
5595 (getSource): Likewise when calling getPixels().
5596 (flush): Likewise when calling freePixmap().
5597 (finalize): Likewise.
5598 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
5599 drawPixelsScaledFlipped().
5600 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5601 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
5602 gdk_threads_enter/leave().
5603 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
5604 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
5605 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5606 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
5607 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
5608 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
5609 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
5610 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
5611 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
5612 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
5613 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
5614 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
5615 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
5617 2006-03-20 Roman Kennke <kennke@aicas.com>
5619 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5620 (calculateTabHeight): Not need to use SwingUtilities here.
5621 (getTabInsets): Do not rotate insets.
5623 2006-03-20 Roman Kennke <kennke@aicas.com>
5625 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5626 (paint): Make sure the layout is valid before painting.
5627 (paintTabArea): Made tab painting more straightforward and efficient.
5629 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5631 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
5632 (getScrollableUnitIncrement): Rewritten.
5633 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
5634 (getScrollableUnitIncrement): Rewritten.
5635 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5636 (ROWS_PER_WHEEL_CLICK): New field.
5637 (MouseWheelHandler.mouseWheelMoved): Rewritten.
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 Roman Kennke <kennke@aicas.com>
5647 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5648 (MouseHandler.mousePressed): Rewritten for clearer and simpler
5650 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
5651 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
5652 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
5653 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
5654 bounds here. That is moved into layoutContainer().
5655 (calculateSize): Correctly respect insets. Made code slightly more
5656 clear and efficient.
5657 (calculateTabRects): Rewritten completely. The old code was
5658 not quite right and unstable in some situations.
5659 (layoutContainer): Moved layout of tabbed pane's subcomponents
5661 (tabRunsDirty): New field.
5662 (rolloverTab): New field.
5663 (tabForCoordinate): Rewritten for simplicity and correctness.
5664 (setRolloverTab): New method.
5665 (getRolloverTab): New method.
5667 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5669 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
5670 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
5671 (getScrollableUnitIncrement
5672 * javax/swing/Scrollable.java: Documented.
5673 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5674 (MouseWheelHandler):Rewritten.
5676 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
5678 * doc/vmintegration.texinfo:
5679 Updated with gnu.classpath.Unsafe
5681 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
5684 Updated with VMArray and Unsafe changes.
5686 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5688 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
5689 (getScrollableUnitIncrement): Rewritten.
5690 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
5691 (getScrollableUnitIncrement): Rewritten.
5692 (getScrollableBlockIncrement): Rewritten.
5693 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5694 (MouseWheelHandler): Implemented. (ViewportContainerListener):
5695 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
5696 New field. (installListeners): Install wheel listeners.
5697 (uninstallListeners): Uninstall wheel listeners.
5698 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
5699 of the MouseWheelListener. (installListeners): Do not install wheel
5700 listener. (ROWS_PER_WHEEL_CLICK): Removed.
5702 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
5704 * vm/reference/gnu/classpath/Unsafe.java:
5706 (getUnsafe()): Updated to handle security.
5708 2006-03-19 Tom Tromey <tromey@redhat.com>
5710 * vm/reference/gnu/classpath/Unsafe.java:
5711 New class to handle low-level facilities for concurrency.
5713 2006-03-19 Michael Barker <mike@middlesoft.co.uk>
5715 * vm/reference/gnu/java/nio/VMChannel.java: Added, supports setting
5716 non-blocking and scatter-gather io operations.
5717 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel
5718 * gnu/java/nio/SelectorImpl.java
5719 (register) Added condition for gnu.java.nio.SocketChannelSelectionKeyImpl
5720 * gnu/java/nio/SocketChannelSelectionKeyImpl.java Added.
5721 * gnu/java/nio/channels/FileChannelImpl.java: Retrofitted to use VMChannel
5722 * java/nio/FileChannel.java
5723 (read (ByteBuffer)) Changed to call abstract method.
5724 (write (ByteBuffer)) Changed to call abstract method.
5725 * include/gnu_java_nio_VMChannel.h: Added.
5726 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added.
5728 2006-03-19 Mark Wielaard <mark@klomp.org>
5730 * include/Makefile.am: Rename PlainDatagramSocketImpl to
5731 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
5732 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
5733 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
5735 2006-03-19 Mark Wielaard <mark@klomp.org>
5737 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
5739 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
5741 2006-03-19 Michael Koch <konqueror@gmx.de>
5743 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
5744 resource/gnu/java/locale/LocaleInformation_am.properties,
5745 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
5746 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
5747 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
5748 resource/gnu/java/locale/LocaleInformation_bg.properties,
5749 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
5750 resource/gnu/java/locale/LocaleInformation_ca.properties,
5751 resource/gnu/java/locale/LocaleInformation_cs.properties,
5752 resource/gnu/java/locale/LocaleInformation_cy.properties,
5753 resource/gnu/java/locale/LocaleInformation_da.properties,
5754 resource/gnu/java/locale/LocaleInformation_de.properties,
5755 resource/gnu/java/locale/LocaleInformation_dv.properties,
5756 resource/gnu/java/locale/LocaleInformation_el.properties,
5757 resource/gnu/java/locale/LocaleInformation_en.properties,
5758 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
5759 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
5760 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
5761 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
5762 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
5763 resource/gnu/java/locale/LocaleInformation_es.properties,
5764 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
5765 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
5766 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
5767 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
5768 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
5769 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
5770 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
5771 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
5772 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
5773 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
5774 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
5775 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
5776 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
5777 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
5778 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
5779 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
5780 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
5781 resource/gnu/java/locale/LocaleInformation_es_US.properties,
5782 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
5783 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
5784 resource/gnu/java/locale/LocaleInformation_fa.properties,
5785 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
5786 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
5787 resource/gnu/java/locale/LocaleInformation_fi.properties,
5788 resource/gnu/java/locale/LocaleInformation_fr.properties,
5789 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
5790 resource/gnu/java/locale/LocaleInformation_ga.properties,
5791 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
5792 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
5793 resource/gnu/java/locale/LocaleInformation_hr.properties,
5794 resource/gnu/java/locale/LocaleInformation_hu.properties,
5795 resource/gnu/java/locale/LocaleInformation_id.properties,
5796 resource/gnu/java/locale/LocaleInformation_is.properties,
5797 resource/gnu/java/locale/LocaleInformation_it.properties,
5798 resource/gnu/java/locale/LocaleInformation_ja.properties,
5799 resource/gnu/java/locale/LocaleInformation_kk.properties,
5800 resource/gnu/java/locale/LocaleInformation_kl.properties,
5801 resource/gnu/java/locale/LocaleInformation_km.properties,
5802 resource/gnu/java/locale/LocaleInformation_ky.properties,
5803 resource/gnu/java/locale/LocaleInformation_lo.properties,
5804 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
5805 resource/gnu/java/locale/LocaleInformation_lt.properties,
5806 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
5807 resource/gnu/java/locale/LocaleInformation_lv.properties,
5808 resource/gnu/java/locale/LocaleInformation_mk.properties,
5809 resource/gnu/java/locale/LocaleInformation_mn.properties,
5810 resource/gnu/java/locale/LocaleInformation_mr.properties,
5811 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
5812 resource/gnu/java/locale/LocaleInformation_ms.properties,
5813 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
5814 resource/gnu/java/locale/LocaleInformation_mt.properties,
5815 resource/gnu/java/locale/LocaleInformation_nb.properties,
5816 resource/gnu/java/locale/LocaleInformation_nl.properties,
5817 resource/gnu/java/locale/LocaleInformation_nn.properties,
5818 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
5819 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
5820 resource/gnu/java/locale/LocaleInformation_pa.properties,
5821 resource/gnu/java/locale/LocaleInformation_pl.properties,
5822 resource/gnu/java/locale/LocaleInformation_pt.properties,
5823 resource/gnu/java/locale/LocaleInformation_ru.properties,
5824 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
5825 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
5826 resource/gnu/java/locale/LocaleInformation_sa.properties,
5827 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
5828 resource/gnu/java/locale/LocaleInformation_sk.properties,
5829 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
5830 resource/gnu/java/locale/LocaleInformation_sv.properties,
5831 resource/gnu/java/locale/LocaleInformation_sw.properties,
5832 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
5833 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
5834 resource/gnu/java/locale/LocaleInformation_te.properties,
5835 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
5836 resource/gnu/java/locale/LocaleInformation_th.properties,
5837 resource/gnu/java/locale/LocaleInformation_ti.properties,
5838 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
5839 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
5840 resource/gnu/java/locale/LocaleInformation_tr.properties,
5841 resource/gnu/java/locale/LocaleInformation_tt.properties,
5842 resource/gnu/java/locale/LocaleInformation_uk.properties,
5843 resource/gnu/java/locale/LocaleInformation_ur.properties,
5844 resource/gnu/java/locale/LocaleInformation_uz.properties,
5845 resource/gnu/java/locale/LocaleInformation_zh.properties,
5846 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
5847 More updates for CLDR 1.3.
5849 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
5851 * doc/vmintegration.texinfo:
5852 Updated to include VMArray.
5853 * include/Makefile.am:
5854 Replace java_lang_reflect_Array.h with
5855 java_lang_reflect_VMArray.h
5856 * include/java_lang_reflect_VMArray.h:
5857 New autogenerated header.
5858 * include/java_lang_reflect_Array.h:
5860 * java/lang/reflect/Array.java:
5861 (newInstance(Class,int)): Calls VMArray.
5862 (createMultiArray(Class,int[],int)): Likewise.
5863 (createObjectArray(Class,int)): Removed.
5864 * native/jni/java-lang/Makefile.am:
5865 Replaced java_lang_reflect_Array.c with
5866 java_lang_reflect_VMArray.c
5867 * native/jni/java-lang/java_lang_reflect_VMArray.c:
5868 Renamed from java_lang_reflect_Array.c.
5869 * vm/reference/java/lang/reflect/VMArray.java:
5870 (createObjectArray(Class,int)): Native method moved
5871 from java.lang.reflect.Array.
5873 2006-03-19 Roman Kennke <kennke@aicas.com>
5875 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
5876 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
5878 * examples/gnu/classpath/examples/swing/Demo.java
5879 (mkButtonBar): Hook up theme editor.
5880 (mkMenuBar): Hook up theme editor.
5882 2006-03-19 Roman Kennke <kennke@aicas.com>
5884 * javax/swing/plaf/basic/BasicFileChooserUI.java
5885 (ApproveSelectionAction.actionPerformed): Added case for when
5886 nothing has been selected but the user has typed a filename
5888 (getFileName): Return the value of the text field.
5890 2006-03-19 Roman Kennke <kennke@aicas.com>
5892 * javax/swing/JColorChooser.java
5893 (createDialog): Create JDialog instead of ModalDialog. Make this
5894 dialog modal by calling setModal(true).
5895 (ModalDialog): Removed unnecessary inner class.
5897 2006-03-19 Tom Tromey <tromey@redhat.com>
5899 * java/awt/font/NumericShaper.java: Rewrote.
5901 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5903 * javax/swing/plaf/basic/BasicTableUI.java:
5904 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
5905 New field. MouseInputHandler.mouseWheelMoved): New method.
5906 (installListeners): Register MouseInputHandler as
5907 wheel listener also.
5909 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5912 * javax/swing/ViewportLayout.java (layoutContainer):
5913 If Scrollable tracks dimension, set view size to the port size.
5914 If port is larger than the view, move the view to the top/left.
5916 2006-03-19 Roman Kennke <kennke@aicas.com>
5918 * javax/swing/MenuSelectionManager.java
5919 (isComponentPartOfCurrentMenu): Also consider the first element
5920 in a menu selection list. Make a isDescendentFrom check instead
5921 of simple equals to also catch sub components.
5923 2006-03-19 Roman Kennke <kennke@aicas.com>
5925 * javax/swing/JComboBox.java
5926 (actionPerformed): Fetch selected item directly from the editor
5927 instead of trying to get it from the event.
5929 2006-03-19 Roman Kennke <kennke@aicas.com>
5931 * javax/swing/plaf/basic/BasicComboBoxEditor.java
5932 (listener): Removed field.
5933 (BasicComboBoxEditor): Removed initialization of listener field.
5934 (addActionListener): Add listener directly to editor.
5935 (removeActionListener): Remove listener directly from editor.
5936 (ComboBoxEditorListener): Removed class.
5937 * javax/swing/plaf/basic/BasicComboBoxUI.java
5938 (getPreferredSize): Fixed to return the minimumSize.
5939 (getMinimumSize): Improved code for more clearness.
5940 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
5941 (rectangleForCurrentValue): Correctly respect insets.
5942 (getDefaultSize): Return preferredSize here. Dont override height
5944 (getDisplaySize): Moved around code for more clearness. Added
5945 handling of prototype renderer.
5946 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
5947 arrowButton bounds since the former depends on the latter.
5948 * javax/swing/plaf/metal/MetalComboBoxButton.java:
5949 (MetalComboBoxButton): Make button rollover disabled.
5950 (isFocusTraversable): Return false unconditionally.
5951 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
5952 (EditorTextField): New class. Fixes the size properties.
5953 (MetalComboBoxEditor): Create instance of EditorTextField.
5954 * javax/swing/plaf/metal/MetalComboBoxUI.java:
5955 (getMinimumSize): Fixed editable size.
5957 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5959 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
5961 2006-03-18 Roman Kennke <kennke@aicas.com>
5963 * javax/swing/plaf/metal/MetalToolBarUI.java
5964 (update): Added overridden method to support OceanTheme.
5966 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5968 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
5969 Activate the cell editing on character keystroke.
5971 2006-03-18 Mark Wielaard <mark@klomp.org>
5973 * java/awt/Component.java (eventTypeEnabled): Handle
5974 MouseEvent.MOUSE_WHEEL.
5975 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
5976 New callback method.
5977 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5978 (AWT_MOUSE_WHEEL): New constant.
5979 (AWT_WHEEL_UNIT_SCROLL): Likewise.
5980 (postMouseWheelEventID): New static variable.
5981 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
5982 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
5983 (button_number): Renamed to ...
5984 (button_number_direction): variable to hold button number or scroll
5986 (component_button_press_cb): Use button_number_direction.
5987 (component_scroll_cb): New static callback function.
5989 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5991 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
5992 Return without action.
5994 2006-03-18 Mark Wielaard <mark@klomp.org>
5996 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
5997 Don't cast graphics object to GdkGraphics.
5998 (updateComponent): Likewise.
6000 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6002 * examples/gnu/classpath/examples/swing/TableDemo.java
6003 (TModel.getColumnClass): Set second column to Icon.
6004 (TModel.isCellEditable): Say icons are not editable.
6005 (createContent): Fill the in second column with some icons from
6008 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6010 * examples/gnu/classpath/examples/swing/Demo.java
6011 (mkButtonBar): Set maximal button bar height to the preferred height.
6013 2006-03-18 Roman Kennke <kennke@aicas.com>
6015 * javax/swing/plaf/basic/BasicComboPopup.java
6016 (show): Substract insets from scroller width.
6017 (getPopupHeightForRowCount): If height==0, return a default of 100
6018 instead for empty ComboBoxes.
6020 2006-03-18 Roman Kennke <kennke@aicas.com>
6022 * javax/swing/plaf/basic/BasicLookAndFeel.java
6023 (PopupHelper.autoClosePopups): Removed field.
6024 (PopupHelper.mousePressed): Removed processing of registered
6026 (registerForAutoClose): Removed unneeded method.
6027 (autoClosePopups): Removed unneeded method.
6028 (registerForAutoClose): Removed unneeded method.
6030 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6032 * javax.swing.JTable.java (TableTextField): Set border.
6033 (moveToCellBeingEdited): Do not adjust the editor boundaries
6035 2006-03-18 Michael Koch <konqueror@gmx.de>
6037 * resource/gnu/java/locale/LocaleInformation_aa.properties,
6038 resource/gnu/java/locale/LocaleInformation_af.properties,
6039 resource/gnu/java/locale/LocaleInformation_am.properties,
6040 resource/gnu/java/locale/LocaleInformation_ar.properties,
6041 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
6042 resource/gnu/java/locale/LocaleInformation_be.properties,
6043 resource/gnu/java/locale/LocaleInformation_bg.properties,
6044 resource/gnu/java/locale/LocaleInformation_bn.properties,
6045 resource/gnu/java/locale/LocaleInformation_ca.properties,
6046 resource/gnu/java/locale/LocaleInformation_cs.properties,
6047 resource/gnu/java/locale/LocaleInformation_cy.properties,
6048 resource/gnu/java/locale/LocaleInformation_da.properties,
6049 resource/gnu/java/locale/LocaleInformation_de.properties,
6050 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
6051 resource/gnu/java/locale/LocaleInformation_dz.properties,
6052 resource/gnu/java/locale/LocaleInformation_en.properties,
6053 resource/gnu/java/locale/LocaleInformation_eo.properties,
6054 resource/gnu/java/locale/LocaleInformation_es.properties,
6055 resource/gnu/java/locale/LocaleInformation_et.properties,
6056 resource/gnu/java/locale/LocaleInformation_eu.properties,
6057 resource/gnu/java/locale/LocaleInformation_fa.properties,
6058 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
6059 resource/gnu/java/locale/LocaleInformation_fi.properties,
6060 resource/gnu/java/locale/LocaleInformation_fo.properties,
6061 resource/gnu/java/locale/LocaleInformation_fr.properties,
6062 resource/gnu/java/locale/LocaleInformation_ga.properties,
6063 resource/gnu/java/locale/LocaleInformation_gl.properties,
6064 resource/gnu/java/locale/LocaleInformation_gu.properties,
6065 resource/gnu/java/locale/LocaleInformation_he.properties,
6066 resource/gnu/java/locale/LocaleInformation_hi.properties,
6067 resource/gnu/java/locale/LocaleInformation_hr.properties,
6068 resource/gnu/java/locale/LocaleInformation_hu.properties,
6069 resource/gnu/java/locale/LocaleInformation_hy.properties,
6070 resource/gnu/java/locale/LocaleInformation_id.properties,
6071 resource/gnu/java/locale/LocaleInformation_is.properties,
6072 resource/gnu/java/locale/LocaleInformation_it.properties,
6073 resource/gnu/java/locale/LocaleInformation_ja.properties,
6074 resource/gnu/java/locale/LocaleInformation_ka.properties,
6075 resource/gnu/java/locale/LocaleInformation_km.properties,
6076 resource/gnu/java/locale/LocaleInformation_ko.properties,
6077 resource/gnu/java/locale/LocaleInformation_lo.properties,
6078 resource/gnu/java/locale/LocaleInformation_lt.properties,
6079 resource/gnu/java/locale/LocaleInformation_lv.properties,
6080 resource/gnu/java/locale/LocaleInformation_mk.properties,
6081 resource/gnu/java/locale/LocaleInformation_mr.properties,
6082 resource/gnu/java/locale/LocaleInformation_ms.properties,
6083 resource/gnu/java/locale/LocaleInformation_mt.properties,
6084 resource/gnu/java/locale/LocaleInformation_nb.properties,
6085 resource/gnu/java/locale/LocaleInformation_nl.properties,
6086 resource/gnu/java/locale/LocaleInformation_nn.properties,
6087 resource/gnu/java/locale/LocaleInformation_om.properties,
6088 resource/gnu/java/locale/LocaleInformation_pl.properties,
6089 resource/gnu/java/locale/LocaleInformation_ps.properties,
6090 resource/gnu/java/locale/LocaleInformation_pt.properties,
6091 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
6092 resource/gnu/java/locale/LocaleInformation_ro.properties,
6093 resource/gnu/java/locale/LocaleInformation_ru.properties,
6094 resource/gnu/java/locale/LocaleInformation_sk.properties,
6095 resource/gnu/java/locale/LocaleInformation_sl.properties,
6096 resource/gnu/java/locale/LocaleInformation_so.properties,
6097 resource/gnu/java/locale/LocaleInformation_sq.properties,
6098 resource/gnu/java/locale/LocaleInformation_sr.properties,
6099 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
6100 resource/gnu/java/locale/LocaleInformation_sv.properties,
6101 resource/gnu/java/locale/LocaleInformation_sw.properties,
6102 resource/gnu/java/locale/LocaleInformation_ta.properties,
6103 resource/gnu/java/locale/LocaleInformation_te.properties,
6104 resource/gnu/java/locale/LocaleInformation_th.properties,
6105 resource/gnu/java/locale/LocaleInformation_tr.properties,
6106 resource/gnu/java/locale/LocaleInformation_uk.properties,
6107 resource/gnu/java/locale/LocaleInformation_uz.properties,
6108 resource/gnu/java/locale/LocaleInformation_vi.properties,
6109 resource/gnu/java/locale/LocaleInformation_zh.properties,
6110 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
6111 Updated to use the new localized strings for currencies, languages,
6112 variants, territories, etc.
6114 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
6116 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
6117 (start, end): Added comment about the negative values of them,
6118 (finish): Saves the input text in matchedCharIndexed,
6119 (toString): If the start or end index is out of bounds of the
6120 matched text, get the substring from matchedCharIndexed.
6121 Added special handlings in case start/end index < -1,
6122 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
6123 Added special handlings in case start/end index < -1,
6124 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
6125 found match, but keep the index as the original match.
6126 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
6127 found match, but keep the index as the original match.
6128 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
6129 in case start/end index < -1.
6131 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6133 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
6136 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6138 * javax/swing/text/DefaultCaret.java:
6139 (mouseClicked) Use setDot() and moveDot() instead of
6140 JTextComponent.select().
6142 2006-03-17 Roman Kennke <kennke@aicas.com>
6144 * javax/swing/plaf/metal/MetalComboBoxEditor.java
6145 (MetalComboBoxEditorBorder.paintBorder): Implemented special
6146 border painting for the Ocean theme.
6147 (MetalComboBoxEditor): Create editor directly instead of going
6150 2006-03-17 Roman Kennke <kennke@aicas.com>
6152 * javax/swing/text/JTextComponent.java
6153 (JTextComponent): Make text components opaque.
6155 2006-03-17 Roman Kennke <kennke@aicas.com>
6157 * javax/swing/plaf/metal/MetalComboBoxUI.java
6158 (MetalComboBoxLayoutManager.layoutContainer): Forward to
6160 (MetalPropertyChangeListener.propertyChange): Update focusable
6161 flag according to the enable and editable state.
6162 (editablePropertyChanged): Removed unnecessary code.
6163 (getMinimumSize): Rewritten to correctly compute the
6164 size, respecting the insets of the components and the icon,
6165 the visual properties of the combobox, etc.
6166 (configureEditor): Update listeners correctly.
6167 (unconfigureEditor): Update listeners correctly.
6168 (layoutComboBox): Implemented.
6170 2006-03-17 Roman Kennke <kennke@aicas.com>
6172 * javax/swing/plaf/metal/MetalComboBoxEditor.java
6173 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
6174 instead of Flush3DBorder.
6175 (paintBorder): Fixed border painting.
6176 (editorBorderInsets): Fixed border's insets.
6178 2006-03-17 Roman Kennke <kennke@aicas.com>
6180 * javax/swing/plaf/metal/MetalComboBoxButton.java
6181 (rendererPane): Documented.
6182 (MetalComboBoxButton): Set enabled flag from ComboBox.
6183 Set focusable flag from ComboBox's enabled flag.
6184 (isFocusTraversable): Make button focus traversable if
6185 ComboBox is not editable but enable.
6186 (paintComponent): Fixed painting to correctly adjust
6187 the boxes of the renderer and button.
6189 2006-03-17 Roman Kennke <kennke@aicas.com>
6191 * javax/swing/plaf/basic/BasicButtonUI.java
6192 (installDefaults): Only install UI margin if installed margin.
6193 is null or a UIResource.
6194 (uninstallDefaults): Only uninstall margin if it's
6197 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6199 * javax/swing/text/DefaultCaret.java:
6200 (mouseClicked) Use setDot() and moveDot() instead of
6201 JTextComponent.select().
6203 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6205 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
6206 inner classes into package-private inner classes, added actions
6207 for caret movement and selection to the next and previous word
6208 and an action which selects the whole text.
6210 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6212 * javax/swing/Spring.java: Uncomment springdebug methods and
6213 rename them toString.
6214 * javax/swing/SpringLayout.java: Likewise.
6216 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6218 * javax/swing/text/FieldView.java:
6219 (viewToModel): Added call to adjust allocation area.
6221 2006-03-17 Roman Kennke <kennke@aicas.com>
6223 * javax/swing/plaf/basic/BasicComboBoxUI.java
6224 (mouseListener): Removed field.
6225 (buttonBackground): Removed field.
6226 (buttonShadow): Removed field.
6227 (buttonDarkShadow): Removed field.
6228 (buttonHighlight): Removed field.
6229 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
6230 (installUI): Initialize and configure renderer and editor here.
6231 (uninstallUI): Close popup before uninitializing.
6232 Message popup that we are uninitializing. Clear layout.
6233 (installDefaults): Install UI border. Don't install colors.
6234 (installListeners): Install listeners fetched from the popup.
6235 Remove handling of mouseListener.
6236 (uninstallDefaults): Uninstall border. Don't handle colors.
6237 (uninstallListeners): Don't handle mouseListener. Uninstall
6238 listener from the popup.
6239 (createMouseListener): Removed method.
6240 (createRenderer): Create UIResource.
6241 (installComponents): Cleaned up.
6242 (uninstallComponents): Only remove renderer when it is
6244 (addEditor): Remove editor before adding new one.
6245 Fetch editor from comboBox.
6246 (removeEditor): Only do something when editor != null. Unconfigure
6247 editor before removing.
6248 (configureEditor): Add key listener. Call comboBox.configureEditor.
6249 (unconfigureEditor): Removed key listener.
6250 (configureArrowButton): Only handle when arrowButton != null.
6251 Add mouse listeners to arrow button.
6252 (unconfigureArrowButton): Remove listeners.
6253 (createArrowButton): Don't handle colors here.
6254 (setPopupVisible): Don't handle focus here.
6255 (paint): Only paint when comboBox is not editable. Update
6257 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
6258 (getMinimumSize): Respect insets here.
6259 (getMaximumSize): Return preferredSize with width of 32767.
6260 (getInsets): Return ComboBox insets.
6261 (paintCurrentValue): Paint using currentValuePane.
6262 Install correct colors. Don't revalidate.
6263 (paintCurrentValueBackground): Implemented.
6264 (getDefaultSize): Reimplemented using a default renderer.
6265 (getDisplaySize): Reimplemented to use renderer.
6266 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
6267 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
6268 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
6269 (FocusHandler.focusGained): Don't invalidate minimumSize.
6270 (FocusHandler.focusLost): Don't invalidate minimumSize.
6271 Only close popup if focus change is not temporary.
6272 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
6273 Reconfigure editor if not null.
6274 (ListDataHandler.contentsChanged): Revalidate and reconfigure
6275 editor if necessary.
6276 (ListDataHandler.intervalAdded): Fixed updating of the display size.
6277 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
6278 (MouseHandler): Removed unnecessary class.
6280 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6282 * examples/gnu/classpath/examples/swing/Demo.java:
6283 (Demo): Set default closing operation to shutdown the runtime.
6285 2006-03-17 Roman Kennke <kennke@aicas.com>
6287 * javax/swing/plaf/basic/BasicComboPopup.java
6288 (BasicComboPopup): Create listeners here.
6289 Configure components here.
6290 (show): Correctly calculate bounds using computePopupBounds().
6291 Make scroller fixed-size. Removed special autocloser handling.
6292 (hide): Rewritten to use MenuSelectionHandler.
6293 (createList): Don't set selection mode here.
6294 (configureList): Correctly install colors and fonts and selectionMode.
6295 (createScroller): Set scrollpane policies.
6296 (configureScroller): Make scroller and scrollbar not-focusable.
6297 (configurePopup): Make popup opaque and borderPainted.
6298 (installComboBoxListeners): Don't install mouse listener on ComboBox.
6299 (delegateFocus): Implemented.
6300 (convertMouseEvent): Implemented.
6301 (updateListBoxSelectionForEvent): Implemented to also handle
6303 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
6304 Only open popup on left mouse-click.
6305 (InvocationMouseHandler.mouseReleased): Rewritten.
6306 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
6307 support autoscrolling.
6308 (ItemHandler.itemStateChanged): Implemented to sync selection with
6310 (ListMouseHandler.mouseReleased): Fetch selected index directly
6312 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
6314 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
6315 When model changes, then update listeners correctly.
6316 (uninstallListeners): Don't uninstall list listeners.
6317 (uninstallComboBoxListeners): Don't uninstall mouse listeners
6319 (syncSelection): New helper method.
6321 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
6323 * javax/swing/text/PlainView.java:
6324 (drawLine): Rewritten.
6325 (drawSelectedText): Corrected last argument for
6326 Utilities.drawTabbedText() call.
6327 (paint): Store start and end of selection in object variables,
6328 store constant values of for-loop in local variables.
6329 * javax/swing/text/Utilities.java:
6330 (drawTabbedText): Add 'pixelWidth' to the return value, store
6331 constant value of for-loop in local variable.
6333 2006-03-17 Roman Kennke <kennke@aicas.com>
6335 * javax/swing/plaf/basic/BasicComboPopup.java
6336 (BasicComboPopup): Create listeners here.
6337 Configure components here.
6338 (show): Correctly calculate bounds using computePopupBounds().
6339 Make scroller fixed-size. Removed special autocloser handling.
6340 (hide): Rewritten to use MenuSelectionHandler.
6341 (createList): Don't set selection mode here.
6342 (configureList): Correctly install colors and fonts and selectionMode.
6343 (createScroller): Set scrollpane policies.
6344 (configureScroller): Make scroller and scrollbar not-focusable.
6345 (configurePopup): Make popup opaque and borderPainted.
6346 (installComboBoxListeners): Don't install mouse listener on ComboBox.
6347 (delegateFocus): Implemented.
6348 (convertMouseEvent): Implemented.
6349 (updateListBoxSelectionForEvent): Implemented to also handle
6351 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
6352 Only open popup on left mouse-click.
6353 (InvocationMouseHandler.mouseReleased): Rewritten.
6354 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
6355 support autoscrolling.
6356 (ItemHandler.itemStateChanged): Implemented to sync selection with
6358 (ListMouseHandler.mouseReleased): Fetch selected index directly
6360 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
6362 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
6363 When model changes, then update listeners correctly.
6364 (uninstallListeners): Don't uninstall list listeners.
6365 (uninstallComboBoxListeners): Don't uninstall mouse listeners
6367 (syncSelection): New helper method.
6369 2006-03-17 Roman Kennke <kennke@aicas.com>
6371 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
6372 (noFocusBorder): Make border with insets of (1,1,1,1).
6373 (BasicComboBoxRenderer): Make renderer opaque.
6374 No need to explicitly set alignment.
6375 (getListCellRendererComponent): Rewritten to correctly initialize
6378 2006-03-17 Roman Kennke <kennke@aicas.com>
6380 * javax/swing/JPopupMenu.java
6381 (setVisible): Handle JPopupMenu opening and closing via
6382 the MenuSelectionHandler.
6384 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
6386 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
6387 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
6388 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
6390 * org/omg/CORBA/portable/RemarshalException.java: Likewise
6391 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
6392 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
6393 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
6394 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
6395 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
6396 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
6397 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
6398 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
6399 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
6401 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6403 * java/rmi/activation/Activatable.java: Implemented.
6404 java/rmi/activation/ActivationDesc.java: Implemented.
6405 java/rmi/activation/ActivationGroup.java: Implemented.
6406 java/rmi/activation/ActivationGroupDesc.java: Implemented.
6407 java/rmi/activation/ActivationID.java: Implemented.
6408 java/rmi/activation/ActivationSystem.java: Implemented.
6409 * gnu/java/rmi/server/UnicastServerRef.java
6410 (exportObject, incommingMessageCall): Documented.
6411 * java/rmi/activation/package.html: Documented.
6412 * java/rmi/server/ObjID.java (objNum, space): Made package
6414 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
6415 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
6417 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
6418 gnu/java/rmi/activation/BidiTable.java: New file.
6419 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
6420 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
6421 gnu/java/rmi/server/ActivatableServerRef.java: New file.
6423 2006-03-17 Mark Wielaard <mark@klomp.org>
6425 * java/security/BasicPermission.java (BasicPermission): Check
6426 name equals empty string to force NullPointerException.
6428 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
6431 Commit patch by Caolan McNamara <caolanm@redhat.com>
6432 * javax/swing/Spring.java: Complete implementation
6433 * javax/swing/SpringLayout.java: Likewise.
6435 2006-03-16 Keith Seitz <keiths@redhat.com>
6437 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
6439 (run): Remove catch clause for InterruptedException. It is no
6442 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
6444 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
6445 (getFontMetrics): Handle monospaced fonts specially.
6447 2006-03-16 Keith Seitz <keiths@redhat.com>
6449 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
6450 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
6451 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
6452 Don't suspend the current thread unless it is not part of the JDWP
6455 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
6457 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
6459 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
6460 font metrics through toolkit.
6461 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
6463 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
6464 (getFontMetrics): To calculate Java logical ascent and descent
6465 values, average Pango ink and logical values.
6467 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
6469 * java/lang/Character.java: Updated header comment.
6471 2006-03-16 Tom Tromey <tromey@redhat.com>
6473 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
6475 * javax/sound/sampled/FloatControl.java: Now abstract.
6476 * javax/sound/sampled/EnumControl.java: Now abstract.
6477 * javax/sound/sampled/CompoundControl.java: Now abstract.
6478 * javax/sound/sampled/BooleanControl.java: Now abstract.
6480 2006-03-16 Tom Tromey <tromey@redhat.com>
6482 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
6484 2006-03-16 Roman Kennke <kennke@aicas.com>
6486 * java/util/zip/ZipFile.java
6487 (openFile): New helper method.
6488 (ZipFile): Use new openFile method to ensure the proper
6489 exception is thrown. This applies for all overloaded constructors.
6491 2006-03-16 Roman Kennke <kennke@aicas.com>
6493 * java/text/DateFormatSymbols.java
6494 (setAmPmStrings): Added null check and throw NPE.
6495 (setEras): Likewise.
6496 (setLocalPatternChars): Likewise.
6497 (setMonths): Likewise.
6498 (setShortMonths): Likewise.
6499 (setShortWeekdays): Likewise.
6500 (setWeekdays): Likewise.
6501 (setZoneStrings): Likewise.
6503 2006-03-16 Roman Kennke <kennke@aicas.com>
6505 * javax/swing/DefaultDesktopManager.java
6506 (iconifyFrame): Repaint after removing the frame.
6507 (removeIconFor): Repaint after removing the icon.
6509 2006-03-16 Roman Kennke <kennke@aicas.com>
6511 * javax/swing/JInternalFrame.java
6512 (remove): Respect the rootPaneCheckingEnabled flag here.
6514 2006-03-16 Roman Kennke <kennke@aicas.com>
6516 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
6517 Moved from examples into gnu.javax.swing.. namespace.
6518 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
6519 Moved to gnu.javax.swing.. namespace.
6520 * examples/gnu/classpath/examples/swing/Demo.java:
6521 (themesMenu): New field. Used to disable theme switch in
6523 (mkMenuBar): Added L&F menu.
6524 (ChangeThemeAction.actionPerformed): Only switch theme when
6526 (ChangeLAFAction): New class used for changing themes.
6527 * javax/swing/UIManager.java
6528 (installed): Added GNU L&F as installed L&F.
6530 2006-03-16 Mark Wielaard <mark@klomp.org>
6532 * examples/gnu/classpath/examples/swing/badge.png: Removed.
6533 * examples/gnu/classpath/examples/icons/badge.png: Added.
6534 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
6535 from icon directory.
6537 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6539 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
6541 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
6542 * examples/gnu/classpath/examples/awt/Demo.java: Add
6543 AnimationApplet demo.
6544 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
6547 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6550 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
6552 (handleEvent): Likewise.
6553 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
6555 (beginNativeRepaint): Remove method.
6556 (endNativeRepaint): Likewise.
6557 (handleEvent): Call paintComponent and updateComponent.
6558 (paintComponent): New method.
6559 (updateComponent): Likewise.
6560 (repaint): Return early if width or height is less than one.
6561 (postExposeEvent): Remove isInRepaint reference.
6562 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
6564 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
6566 (postMouseEvent): Likewise.
6567 (postExposeEvent): Likewise.
6568 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
6569 Override to do nothing.
6570 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
6572 (postMouseEvent): Likewise.
6573 (postExposeEvent): Likewise.
6574 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
6575 paint and update handling from GtkComponentPeer.
6576 (updateComponent): Override to call paintComponent.
6577 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
6578 gdk_flush calls with schedule_flush calls.
6579 (flush): New function.
6580 (schedule_flush): Likewise.
6582 2006-03-15 Tom Tromey <tromey@redhat.com>
6584 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
6586 (BCSIterator): Likewise.
6587 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
6589 (BCSSProxyServiceProvider): Likewise.
6590 (BCSSServiceProvider): Likewise.
6592 2006-03-15 Tom Tromey <tromey@redhat.com>
6594 * javax/sound/midi/Track.java (Track): New constructor.
6595 (events): Now package-private.
6596 * javax/sound/midi/MidiUnavailableException.java
6597 (MidiUnavailableException): Removed invalid constructors.
6598 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
6599 * javax/sound/midi/InvalidMidiDataException.java
6600 (InvalidMidiDataException): Removed invalid constructors.
6601 * javax/sound/midi/Sequencer.java (hashCode): Now final.
6602 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
6603 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
6604 (SYSTEM_EXCLUSIVE): Removed.
6605 (getDataLength): Updated.
6606 * javax/sound/midi/MidiDevice.java (Info): Now protected.
6608 (getName): Now final.
6609 (getVendor): Now final.
6610 (getDescription): Likewise.
6611 (hashCode): Likewise.
6612 (getVersion): Likewise.
6613 (toString): Likewise.
6614 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
6615 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
6616 (getEarlyReflectionDelay): Likewise.
6617 (getEarlyReflectionIntensity): Likewise.
6618 (getLateReflectionDelay): Likewise.
6619 (getLateReflectionIntensity): Likewise.
6620 (toString): Likewise.
6621 * javax/sound/sampled/Port.java (toString): Now final.
6622 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
6623 (getLine): Likewise.
6624 (getType): Likewise.
6625 * javax/sound/sampled/Mixer.java (Info): Now protected.
6626 (getDescription): Now final.
6627 (getName): Likewise.
6628 (getVendor): Likewise.
6629 (getVersion): Likewise.
6630 (toString): Likewise.
6631 * javax/sound/sampled/Control.java: Now abstract.
6632 (Type.toString): Now final.
6634 2006-03-15 Keith Seitz <keiths@redhat.com>
6636 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
6637 of this redundant variable.
6638 (LineTable): Assert that the number of line numbers and the number of
6639 code indicies is the same.
6641 2006-03-15 Tom Tromey <tromey@redhat.com>
6643 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
6645 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
6647 * java/util/zip/ZipFile.java (ENDNRD): New constant.
6648 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
6649 * java/util/zip/Inflater.java (end): Not deprecated.
6650 * java/util/zip/Deflater.java (end): Not deprecated.
6651 * java/text/Bidi.java (Bidi): Now final.
6652 * java/nio/MappedByteBuffer.java (finalize): Now protected.
6654 2006-03-15 Keith Seitz <keiths@redhat.com>
6656 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
6657 (Location): Index is a long, not an int.
6658 (getMethod): New method.
6659 (getIndex): New method.
6660 (toString): New method.
6662 2006-03-15 Tom Tromey <tromey@redhat.com>
6664 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
6665 * java/awt/image/LookupOp.java (filter): Now final.
6666 (getBounds2D): Likewise.
6667 (getPoint2D): Likewise.
6668 (getTable): Likewise.
6669 (getRenderingHints): Likewise.
6670 * java/awt/image/ConvolveOp.java (filter): Now final.
6671 (getBounds2D): Likewise.
6672 (getKernel): Likewise.
6673 (getPoint2D): Likewise.
6674 (getRenderingHints): Likewise.
6675 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
6676 (getMatrix): Likewise.
6677 (getBounds2D): Likewise.
6678 (getRenderingHints): Likewise.
6679 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
6680 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
6682 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
6684 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
6686 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
6688 2006-03-15 Keith Seitz <keiths@redhat.com>
6690 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
6692 (matches): Implement.
6694 2006-03-15 Keith Seitz <keiths@redhat.com>
6696 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
6698 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
6700 2006-03-15 Tom Tromey <tromey@redhat.com>
6702 * java/lang/StrictMath.java (signum): New methods.
6704 2006-03-15 Tom Tromey <tromey@redhat.com>
6706 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
6708 2006-03-15 Lillian Angel <langel@redhat.com>
6711 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6712 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
6713 Added check to avoid segmentation fault.
6715 2006-03-15 Lillian Angel <langel@redhat.com>
6717 * java/awt/Container.java
6718 (getComponentAt): Fixed documentation.
6719 (getComponentAt): Likewise.
6721 2006-03-15 Roman Kennke <kennke@aicas.com>
6723 * javax/swing/JComponent.java
6724 (dragBuffer): New field.
6725 (dragBufferInitialized): New field.
6726 (paint): Added facility for buffered dragging of components.
6727 (initializeDragBuffer): New method.
6728 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
6730 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6731 (BorderListener.mouseDragged): Turn on buffered dragging.
6732 (BorderListener.mouseReleased): Turn off buffered dragging.
6734 2006-03-15 Lillian Angel <langel@redhat.com>
6736 * java/awt/Container.java
6737 (getComponentAt): Fixed documentation.
6738 (getComponentAt): Likewise.
6739 (findComponentAt): Likewise.
6740 (findComponentAt): Likewise.
6742 2006-03-15 Roman Kennke <kennke@aicas.com>
6744 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6745 (PropertyChangeHandler.propertyChange): Call enableActions().
6746 Fixed 'iconable' property name.
6748 2006-03-15 Chris Burdess <dog@gnu.org>
6751 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
6753 2006-03-15 Roman Kennke <kennke@aicas.com>
6755 * examples/gnu/classpath/examples/swing/Demo.java:
6756 (desktop): New field.
6757 (mkMenuBar): Added new subdemos.
6758 (mkButtonWorld): Removed.
6759 (CheckCellRenderer): Moved to ListDemo.
6760 (LabelCellRenderer): Moved to ListDemo.
6761 (mkTreeWorld): Moved to TreeDemo.
6762 (mkDesktopWorld): Removed.
6763 (mkTabWorld): Moved to TabbedPaneDemo.
6764 (mkTabbedPane): Removed.
6765 (Demo): Replaced 'worlds' tabbed pane with desktop.
6766 (PopupAction): Made class non-static.
6767 (PopupAction.actionPerformed): Bring up subdemos in internal
6769 (mkButtonBar): Added new demos.
6770 (createDesktop): New method.
6771 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
6772 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
6773 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
6774 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
6775 * examples/gnu/classpath/examples/swing/badge.png: New image file.
6777 2006-03-15 Lillian Angel <langel@redhat.com>
6779 * java/awt/Container.java
6780 (getComponentAt): Fixed mistake in comments.
6781 (getComponentAt): Likewise.
6782 (locate): Likewise. Also, handled lightweight components.
6783 Heavyweights take precedence over lightweights, so we should
6784 iterate through the heavyweights first.
6786 2006-03-15 Lillian Angel <langel@redhat.com>
6788 * java/awt/Container.java
6789 (getComponentAt): Added API documentation.
6790 (getComponentAt): Likewise.
6791 (locate): Likewise. Also, removed lines to ignore
6792 invisible components.
6793 (findComponentAt): Added API documentation.
6794 (findComponentAt): Added API documentation.
6795 (findComponentForMouseEvent): Removed, never used.
6797 2006-03-15 Roman Kennke <kennke@aicas.com>
6799 * javax/swing/Popup.java
6800 (LightweightPopup.show): Repaint the panel after showing it.
6802 2006-03-15 Lillian Angel <langel@redhat.com>
6804 * java/awt/Component.java
6805 (show): repaint should only be called if the component
6806 isShowing and isLightweight.
6808 2006-03-15 Roman Kennke <kennke@aicas.com>
6810 * javax/swing/JInternalFrame.java
6811 (setClosable): Made this property bound.
6812 (setResizable): Made this property bound.
6813 (setIconifiable): Made this property bound.
6814 (setMaximizable): Made this property bound.
6816 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
6818 * javax/swing/table/TableColumn.java
6819 (sizeWidthToFit): Implemented.
6821 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
6823 * javax/swing/table/TableColumn.java: API docs updated all over, plus
6824 (setIdentifier): Fire required PropertyChangeEvent,
6825 (setCellEditor): Likewise.
6827 2006-03-15 Roman Kennke <kennke@aicas.com>
6829 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
6830 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
6831 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
6832 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
6833 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
6834 * examples/gnu/classpath/examples/swing/SliderDemo.java,
6835 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
6836 * examples/gnu/classpath/examples/swing/TableDemo.java,
6837 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
6838 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
6839 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
6840 * examples/gnu/classpath/examples/swing/Demo.java:
6841 Cleaned up. Reworked handling of Sub-demos to load lazily.
6842 * examples/gnu/classpath/examples/swing/DemoFactory.java:
6843 New interface. Used for loading the subdemos lazily.
6845 2006-03-15 Roman Kennke <kennke@aicas.com>
6847 * javax/swing/plaf/basic/BasicToolBarUI.java
6848 (PropertyListener.propertyChange): Added null check to avoid NPE.
6850 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
6852 * javax/swing/table/TableColumn.java
6853 (COLUMN_WIDTH_PROPERTY): Updated API docs,
6855 (minWidth): Likewise,
6856 (preferredWidth): Likewise,
6857 (maxWidth): Likewise,
6858 (headerRenderer): Likewise,
6859 (cellRenderer): Likewise,
6860 (cellEditor): Likewise,
6861 (changeSupport): Likewise,
6862 (firePropertyChange(String, Object, Object)): Removed,
6863 (firePropertyChange(String, int. int)): Likewise,
6864 (firePropertyChange(String, boolean, boolean)): Likewise,
6865 (setModelIndex): Fire property change,
6866 (setHeaderValue): Call changeSupport directly to generate event,
6867 (setHeaderRenderer): Likewise,
6868 (setCellRenderer): Likewise,
6869 (setWidth): Likewise,
6870 (setPreferredWidth): Likewise,
6871 (setMinWidth): Likewise,
6872 (setMaxWidth): Likewise,
6873 (createDefaultHeaderRenderer): Added API docs.
6875 2006-03-14 Roman Kennke <kennke@aicas.com>
6877 * examples/gnu/classpath/examples/swing/Demo.java
6878 Removed static initializer.
6879 (mkMenuBar): Made method non-static. Added themes menu.
6880 (ChangeThemeAction): New inner class, used to change themes.
6882 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
6884 * javax/swing/table/TableColumn.java
6885 (setMaxWidth): Updated width and preferredWidth if necessary,
6886 (getMaxWidth): Updated API docs.
6888 2006-03-14 Roman Kennke <kennke@aicas.com>
6890 * javax/swing/plaf/basic/BasicSliderUI.java
6891 (TrackListener.mouseDragged): Only process event when slider is
6893 (TrackListener.mouseReleased): Only process event when slider is
6895 (TrackListener.mousePressed): Only process event when slider is
6898 2006-03-14 Roman Kennke <kennke@aicas.com>
6900 * NEWS: Added note about OceanTheme support.
6902 2006-03-14 Roman Kennke <kennke@aicas.com>
6904 * javax/swing/plaf/metal/MetalIconFactory.java
6905 (HorizontalSliderThumbIcon.gradientMask): New field
6906 (HorizontalSliderThumbIcon.paintIcon): Added support for the
6908 (VerticalSliderThumbIcon.gradientMask): New field
6909 (VerticalSliderThumbIcon.paintIcon): Added support for the
6911 * javax/swing/plaf/metal/MetalUtils.java
6912 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
6913 (paintVerticalGradient): Fixed painting of 'masked' gradients.
6915 2006-03-14 Mark Wielaard <mark@klomp.org>
6918 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
6919 of handleMouseEvent.
6920 (handleMouseEvent): Return boolean to indicate whether we handled the
6921 event by passing it to a lightweight.
6923 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
6925 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
6926 * org/omg/PortableServer/ServantActivatorPOA.java,
6927 * org/omg/PortableServer/ServantLocatorPOA.java:
6928 Make class abstract and minor api docs fixlets.
6929 * org/omg/PortableServer/ForwardRequest.java,
6930 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
6931 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
6932 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
6933 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6934 * org/omg/PortableServer/POAPackage/NoServant.java,
6935 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
6936 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
6937 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
6938 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
6939 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
6940 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
6941 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
6942 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
6943 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
6944 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
6946 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
6948 * NEWS: Added entry about printing support.
6950 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
6952 * javax/swing/table/TableColumn.java
6953 (COLUMN_WIDTH_PROPERTY): Updated API docs,
6954 (isResizable): Likewise,
6955 (setWidth): Likewise,
6956 (getWidth): Likewise,
6957 (setPreferredWidth): Likewise,
6958 (getPreferredWidth): Likewise,
6959 (setMinWidth): Check for negative argument and update width and
6960 preferredWidth if necessary,
6961 (getMinWidth): Updated API docs.
6963 2006-03-14 Lillian Angel <langel@redhat.com>
6965 * java/awt/Container.java
6966 (addImpl): Removed call to repaint. No need to repaint here.
6968 2006-03-14 Roman Kennke <kennke@aicas.com>
6970 * javax/swing/plaf/metal/MetalSliderUI.java
6971 (paintTrack): Added OceanTheme support.
6973 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
6975 * javax/swing/table/TableColumn.java
6976 (setResizable): Fire PropertyChangeEvent if the flag value changes,
6977 (isResizable): Updated API docs.
6979 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
6981 * javax/swing/LookAndFeel.java: Updated API docs.
6983 2006-03-14 Roman Kennke <kennke@aicas.com>
6985 * javax/swing/plaf/metal/MetalUtils.java
6986 (paintGradient): Added support for 'masked' gradients.
6987 (paintHorizontalGradient): Likewise.
6988 (paintVerticalGradient): Likewise.
6989 * javax/swing/plaf/metal/MetalIconFactory.java
6990 (RadioButtonIcon.gradientMask): New field.
6991 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
6993 2006-03-14 Mark Wielaard <mark@klomp.org>
6996 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
6998 (removeActionListener): Add listener to ComboBoxEditorListener.
6999 (removeActionListener): Remove listener from ComboBoxEditorListener.
7000 (ComboBoxEditorListener): New static helper class.
7002 2006-03-14 Roman Kennke <kennke@aicas.com>
7004 * javax/swing/plaf/metal/MetalBorders.java
7005 (getToolBarButtonBorder): Don't create a UIResource border
7007 * javax/swing/plaf/metal/MetalToolBarUI.java
7008 (installUI): New overridden method. Installs the rollover property.
7009 (uninstallUI): New overridden method. Resets the rollover property.
7010 * javax/swing/plaf/metal/MetalUtils.java
7011 (paintGradient): Fetch Float values from the UIManager. Adjusted
7012 method signatures accordingly.
7013 (paintHorizontalGradient): Adjusted signature to accept float
7015 (paintVerticalGradient): Adjusted signature to accept float
7017 * javax/swing/plaf/metal/OceanTheme.java
7018 (addCustomEntriesToTable): Added missing UIDefaults entries,
7019 except of Icons. Fixed gradient entries to use Float instead
7022 2006-03-14 Roman Kennke <kennke@aicas.com>
7024 * javax/swing/JInternalFrame.java
7025 (JInternalFrame): Make JInternalFrame opaque.
7026 * javax/swing/JToolBarFrame.java
7027 (JToolBar): Make JToolBar opaque.
7029 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
7031 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
7032 * javax/swing/tree/TreePath.java: Likewise.
7034 2006-03-13 Keith Seitz <keiths@redhat.com>
7036 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
7037 (executeMethods): Output number of methods.
7039 2006-03-13 Roman Kennke <kennke@aicas.com>
7041 * javax/swing/plaf/basic/BasicButtonUI.java
7042 (uninstallDefaults): Only uninstall border if it's a UIResource.
7043 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
7044 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
7045 * javax/swing/plaf/basic/BasicInternalFrameUI.java
7046 (installUI): Don't touch the opaque flag of the glassPane and
7047 the frame. Don't invalidate.
7048 * javax/swing/plaf/basic/BasicInternalFrameUI.java
7049 (installUI): Don't touch the opaque flag of the glassPane.
7050 * javax/swing/plaf/basic/BasicMenuBarUI.java
7051 (properyChangeListener): Made field private.
7052 (ChangeHandler): Made class private.
7053 (ContainerHandler): Made class private.
7054 (PropertyChangeHandler): Made class private.
7055 * javax/swing/plaf/basic/BasicMenuUI.java
7056 (MenuHandler): Made class private.
7057 (PropertyChangeHandler): Removed unneeded class.
7058 (MenuDragMouseHandler): Made class private.
7059 (MenuKeyHandler): Made class private.
7060 * javax/swing/plaf/basic/BasicPanelUI.java
7061 (installDefaults): Made method protected. Don't set opaque
7063 * javax/swing/plaf/basic/BasicScrollBarUI.java
7064 (TrackListener.shouldScroll): Made method private.
7065 * javax/swing/plaf/basic/BasicSplitPaneUI.java
7066 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
7067 Made constructor package private.
7068 * javax/swing/plaf/basic/BasicTableHeaderUI.java
7069 (cellBorder): Made field private.
7070 * javax/swing/plaf/basic/BasicTextUI.java
7071 (installDefaults): Don't make component opaque.
7072 * javax/swing/plaf/basic/BasicToolBarUI.java
7073 (createNonRollOverBorder): Don't create UIResource border.
7074 (createRollOverBorder): Don't create UIResource border.
7075 (installComponents): Moved setRolloverBorders call here.
7076 (installDefaults): Moved setRolloverBorders call from here.
7077 (installUI): Don't make toolbar opaque.
7078 (setBorderToNonRollover): Handle AbstractButton instead of
7080 (uninstallComponents): Don't nullify class fields here.
7082 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
7084 * javax/swing/SwingUtilities.java
7085 (calculateInnerArea): handle null component, and replace
7086 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
7089 2006-03-13 Roman Kennke <kennke@aicas.com>
7091 * javax/swing/JColorChooser.java
7092 (updateUI): Don't call revalidate().
7093 * javax/swing/JComboBox.java
7094 (updateUI): Don't call invalidate().
7095 * javax/swing/JDesktopPane.java
7096 (updateUI): Don't call invalidate().
7097 * javax/swing/JFileChooser.java
7098 (updateUI): Don't call revalidate().
7099 * javax/swing/JMenu.java
7100 (updateUI): Don't call invalidate().
7101 * javax/swing/JMenuBar.java
7102 (updateUI): Don't call invalidate().
7103 * javax/swing/JMenuItem.java
7104 (updateUI): Don't call invalidate().
7105 * javax/swing/JOptionPane.java
7106 (updateUI): Don't call invalidate().
7107 * javax/swing/JPopupMenu.java
7108 (updateUI): Don't call invalidate().
7109 * javax/swing/JProgressBar.java
7110 (updateUI): Don't call invalidate().
7111 * javax/swing/JScrollBar.java
7112 (updateUI): Don't call invalidate() and repaint().
7113 * javax/swing/JScrollPane.java
7114 (updateUI): Rewritten to be like the other updateUI()
7116 * javax/swing/JSlider.java
7117 (updateUI): Don't call invalidate() and repaint().
7118 * javax/swing/JSplitPane.java
7119 (updateUI): Don't call invalidate() and repaint().
7120 * javax/swing/JTabbedPane.java
7121 (updateUI): Don't call invalidate().
7122 * javax/swing/JTable.java
7123 (updateUI): Don't call revalidate() and repaint().
7124 * javax/swing/JToolBar.java
7125 (updateUI): Don't call revalidate() and repaint().
7126 * javax/swing/JToolTip.java
7127 (updateUI): Don't call revalidate() and repaint().
7129 2006-03-13 Roman Kennke <kennke@aicas.com>
7131 * javax/swing/SwingUtilities.java
7132 (updateComponentTreeUI): Rewritten to be more robust. Handling of
7133 menus and non-Swing components is improved.
7134 (updateComponentTreeUIImpl): New helper method.
7135 (replaceUIActionMap): Added check for uiActionMap==parent to
7137 (replaceUIInputMap): Added check for uiInputMap==parent to
7140 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
7142 * gnu/classpath/debug/Component.java:
7143 (IPP) New component for IPP debugging.
7144 (EVERYTHING): Adapted to include IPP.
7145 * javax/print/PrintServiceLookup.java:
7146 (registerServiceProvider): New method.
7147 (registerService): Likewise.
7148 (lookupPrintServices): Likewise.
7149 (lookupMultiDocPrintServices): Likewise.
7150 (lookupDefaultPrintService): Likewise.
7151 (static_initializer): Likewise.
7152 (printServiceLookups): New field for found service providers.
7153 (printServices): New field for application registered providers.
7154 (systemProvider): New field for the system provider.
7155 * javax/print/ServiceUI.java: New file.
7156 * javax/print/package.html: Added more usage content.
7157 * javax/print/event/package.html: Likewise.
7158 * javax/print/attribute/package.html: Likewise.
7159 * javax/print/attribute/standard/package.html: Likewise.
7160 * gnu/javax/print/PrintUriException.java,
7161 gnu/javax/print/PrintFlavorException.java,
7162 gnu/javax/print/PrinterDialog.java,
7163 gnu/javax/print/PrintAttributeException.java,
7164 gnu/javax/print/CupsPrintServiceLookup.java,
7165 gnu/javax/print/CupsServer.java,
7166 gnu/javax/print/CupsPrintService.java,
7167 gnu/javax/print/CupsMediaMapping.java,
7168 gnu/javax/print/CupsIppOperation.java:
7169 New implementation files of the Java Print Service API.
7170 * gnu/javax/print/ipp/IppValueTag.java,
7171 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
7172 gnu/javax/print/ipp/IppStatusCode.java,
7173 gnu/javax/print/ipp/IppUtilities.java,
7174 gnu/javax/print/ipp/IppResponse.java,
7175 gnu/javax/print/ipp/IppException.java,
7176 gnu/javax/print/ipp/IppPrintService.java,
7177 gnu/javax/print/ipp/IppRequest.java,
7178 gnu/javax/print/ipp/IppMultiDocPrintService.java,
7179 gnu/javax/print/ipp/IppDelimiterTag.java,
7180 gnu/javax/print/ipp/DocPrintJobImpl.java:
7181 New files of the IPP client implementation.
7182 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
7183 gnu/javax/print/ipp/attribute/StatusMessage.java,
7184 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
7185 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
7186 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
7187 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
7188 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
7189 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
7190 New attribute syntax/role files of the printing implementation.
7191 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
7192 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
7193 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
7194 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
7195 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
7196 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
7197 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
7198 gnu/javax/print/ipp/attribute/supported/
7199 OrientationRequestedSupported.java,
7200 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
7201 gnu/javax/print/ipp/attribute/supported/
7202 MultipleDocumentHandlingSupported.java,
7203 gnu/javax/print/ipp/attribute/supported/
7204 MultipleDocumentJobsSupported.java,
7205 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
7206 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
7207 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
7208 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
7209 gnu/javax/print/ipp/attribute/supported/
7210 GeneratedNaturalLanguageSupported.java,
7211 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
7212 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
7213 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
7214 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
7215 New supported attribute files.
7216 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
7217 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
7218 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
7219 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
7220 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
7221 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
7222 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
7223 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
7224 New printer description attribute files.
7225 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
7226 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
7227 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
7228 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
7229 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
7230 gnu/javax/print/ipp/attribute/job/JobId.java,
7231 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
7232 gnu/javax/print/ipp/attribute/job/JobUri.java,
7233 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
7234 New job description attribute files.
7235 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
7236 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
7237 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
7238 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
7239 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
7240 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
7241 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
7242 gnu/javax/print/ipp/attribute/defaults/
7243 MultipleDocumentHandlingDefault.java,
7244 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
7245 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
7246 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
7247 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
7248 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
7249 New default printing attribute files.
7250 * resource/gnu/javax/print/PrinterDialog.properties: New file.
7251 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
7252 * examples/gnu/classpath/examples/print/Demo.java:
7253 New demo application of the current implemented functionality.
7255 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7257 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
7258 java/rmi/activation/ActivationDesc.java.java,
7259 java/rmi/activation/ActivationGroup.java,
7260 java/rmi/activation/ActivationID.java,
7261 java/rmi/activation/ActivationMonitor.java,
7262 java/rmi/activation/ActivationSystem.java,
7263 java/rmi/activation/package.html: Documenting.
7265 2006-03-13 Roman Kennke <kennke@aicas.com>
7267 * javax/swing/JInternalFrame.java
7268 (setSelected): Repaint frame when it is showing and the selection
7271 2006-03-13 Roman Kennke <kennke@aicas.com>
7273 * javax/swing/AbstractButton.java
7274 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
7277 2006-03-13 Roman Kennke <kennke@aicas.com>
7279 * javax/accessibility/AccessibleContext.java
7280 (getAccessibleRelationSet): Return empty set instead of null.
7282 2006-03-13 Roman Kennke <kennke@aicas.com>
7284 * javax/swing/ImageIcon.java
7285 (loadImage): Remove completed images from the MediaTracker. This
7286 avoids a potential memory leak.
7288 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
7290 * javax/print/MultiDocPrintService.java,
7291 * javax/print/MultiDocPrintJob.java,
7292 * javax/print/MultiDoc.java: Added and enhanced documentation.
7294 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7296 * java/rmi/activation/ActivationID.java (uid): New field.
7297 (writeExternal, readExternal): New methods.
7298 (equals, hashCode): Rewritten.
7299 * java/rmi/activation/ActivationInstantiator.java,
7300 * java/rmi/activation/ActivationSystem.java,
7301 * java/rmi/activation/Activator.java,
7302 * java/rmi/activation/Activatable.java,
7303 * java/rmi/activation/ActivationGroup.java,
7304 * java/rmi/activation/ActivationGroupDesc.java:
7305 Documented and autoformatted.
7306 * java/rmi/activation/package.html: Added content.
7308 2006-03-12 Chris Burdess <dog@gnu.org>
7311 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
7312 encoding are specified.
7314 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
7316 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
7317 (changeEvent): Initialise in fireStateChange(),
7318 (setSelectedIndex): Check if change is made before firing event,
7319 (clearSelection): Delegate to setSelectedIndex(),
7320 (fireStateChanged): Initialise changeEvent if necessary,
7321 * javax/swing/SingleSelectionModel.java: API docs all over.
7323 2006-03-11 Tom Tromey <tromey@redhat.com>
7325 * java/util/zip/InflaterInputStream.java: Reverted previous
7328 2006-03-11 Mark Wielaard <mark@klomp.org>
7330 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
7333 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
7335 * javax/swing/event/TreeSelectionEvent.java
7336 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
7337 not one of the added/removed paths,
7338 (cloneWithSource): Reformatted.
7340 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
7342 * javax/swing/tree/TreeCellEditor.java: Added API docs,
7343 * javax/swing/tree/TreeCellRenderer.java: Likewise.
7345 2006-03-10 Casey Marshall <csm@gnu.org>
7348 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
7350 (doFinal, update): new methods.
7351 (init, init, init, init): initialize `state' after trying the
7352 implementation, which can throw an exception.
7353 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
7356 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
7358 * gnu/regexp/BacktrackStack.java: New file.
7359 * gnu/regexp/RE.java(findMatch): New method.
7360 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
7361 REMatchList): Removed. (backtrackStack): New field.
7362 * gnu/regexp/REToken.java(match): Changed from an abstract
7363 method to an ordinary method defined with the new method
7364 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
7365 findFixedLengthMatches, backtrack, toString): New methods.
7366 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
7367 * gnu/regexp/RETokenBackRef.java: Likewise.
7368 * gnu/regexp/RETokenChar.java: Likewise.
7369 * gnu/regexp/RETokenEnd.java: Likewise.
7370 * gnu/regexp/RETokenEndSub.java: Likewise.
7371 * gnu/regexp/RETokenIndependent.java: Likewise.
7372 * gnu/regexp/RETokenLookAhead.java: Likewise.
7373 * gnu/regexp/RETokenLookBehind.java: Likewise.
7374 * gnu/regexp/RETokenNamedProperty.java: Likewise.
7375 * gnu/regexp/RETokenPOSIX.java: Likewise.
7376 * gnu/regexp/RETokenRange.java: Likewise.
7377 * gnu/regexp/RETokenStart.java: Likewise.
7378 * gnu/regexp/RETokenWordBoundary.java: Likewise
7379 * gnu/regexp/RETokenOneOf.java: Rewriten.
7380 * gnu/regexp/RETokenRepeated.java: Rewriten.
7382 2006-03-10 Roman Kennke <kennke@aicas.com>
7384 * javax/swing/plaf/metal/MetalBorders.java
7385 (RolloverButtonBorder.paintBorder): Only call super here.
7386 * javax/swing/plaf/metal/MetalButtonListener.java
7387 (propertyChange): Only call super here.
7388 * javax/swing/plaf/metal/MetalButtonUI.java
7389 (update): Changed condition from isOpaque() to isContentAreaFilled()
7390 for the gradient fill.
7391 * javax/swing/plaf/metal/MetalToggleButtonUI.java
7392 (paintText): API doc fix. Makes paintText not deprecated as specified
7393 but adds comment that this is obsolete.
7394 * javax/swing/plaf/metal/MetalUtils.java
7395 (fillMetalPattern): Fixed condition so that the Java2D is not
7396 used when the noGraphics2D property is set.
7398 2006-03-10 Roman Kennke <kennke@aicas.com>
7400 * javax/swing/plaf/metal/MetalLookAndFeel.java
7401 (createDefaultTheme): Set OceanTheme as default metal theme.
7403 2006-03-10 Roman Kennke <kennke@aicas.com>
7405 * javax/swing/text/WrappedPlainView.java
7406 (metrics): Made field package private to avoid accessor method.
7407 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
7408 The drawLine (righly) interprets the y parameter as the baseline.
7409 * javax/swing/text/Utilities.java
7410 (getBreakLocation): Don't consider the offset. The returned value
7411 for getTabbedTextOffset is already relative to the offset.
7413 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
7415 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
7416 (dateFormat): Made private.
7417 (put): Replace only the last occurance and the value.
7418 (putAll): Save one iteration. Clarified documentation.
7420 2006-03-10 Tom Tromey <tromey@redhat.com>
7422 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
7424 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
7427 2006-03-10 Lillian Angel <langel@redhat.com>
7429 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
7430 (comboboxgroup_get_widget): New function.
7431 (removed): Fixed to use new function to get the correct widget.
7432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7433 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
7436 2006-03-10 Lillian Angel <langel@redhat.com>
7438 * java/awt/GridBagLayout.java
7439 (ArrangeGrid): Added checks to determine if component
7440 is placed last in a row or column. If so, the location
7441 of the last component should be used to get the location
7442 of the current component.
7444 2006-03-10 Lillian Angel <langel@redhat.com>
7446 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7447 (nativeSetCheckboxGroup): No need to use new function here.
7448 Should just pass in pointer.
7450 2006-03-10 Lillian Angel <langel@redhat.com>
7452 * java/awt/GridBagLayout.java
7453 (distributeSizeAndWeight): Change else if to else. This
7454 allows for components to be added to a new row when
7455 their gridheight is REMAINDER.
7457 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7459 * java/rmi/activation/ActivationDesc.java,
7460 java/rmi/activation/ActivationGroupID.java,
7461 java/rmi/activation/Activator.java,
7462 java/rmi/server/Operation.java,
7463 java/rmi/server/RemoteServer.java: Documented and formatted.
7465 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
7467 * javax/swing/JToggleButton.java: Fixed API doc tags,
7468 * javax/swing/OverlayLayout.java: Likewise.
7470 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
7472 * javax/swing/DefaultCellEditor.java
7473 (cancelCellEditing): Removed spurious API doc tag.
7475 2006-03-10 Lillian Angel <langel@redhat.com>
7477 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7478 (create): Put checkbox widget into an event box so it paints properly.
7479 (connectSignals): Fixed to use new function.
7480 (nativeSetCheckboxGroup): Likewise.
7481 (gtkToggleButtonSetActive): Likewise.
7482 (gtkWidgetModifyFont): Likewise.
7483 (gtkButtonSetLabel): Likewise.
7484 (combobox_get_widget): New function.
7486 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
7488 * javax/swing/text/rtf/package.html: New file.
7490 2006-03-10 Roman Kennke <kennke@aicas.com>
7492 * javax/swing/plaf/metal/OceanTheme.java
7493 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
7494 * javax/swing/plaf/metal/MetalScrollBarUI.java
7495 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
7496 (paintThumbHorizontal): Added handling of OceanTheme.
7497 (paintThumbVertical): Added handling of OceanTheme.
7499 2006-03-10 Roman Kennke <kennke@aicas.com>
7501 Reported by Fridjof Siebert <siebert@aicas.com>
7502 * java/awt/MediaTracker.java
7503 (removeImage): Only set prev to e when the the images of the
7504 entries are not the same. This avoids a potentially corrupt list.
7506 2006-03-10 Chris Burdess <dog@gnu.org>
7509 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
7510 checking while reindenting.
7512 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
7514 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
7516 2006-03-09 Tom Tromey <tromey@redhat.com>
7519 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
7520 subdir. Added README.
7521 (install-data-local): Removed.
7522 (uninstall-local): Likewise.
7523 (EXTRA_DIST): Removed.
7525 2006-03-09 Tom Tromey <tromey@redhat.com>
7528 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
7530 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
7532 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
7534 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
7536 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
7538 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
7540 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
7542 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
7544 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
7546 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
7548 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
7549 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
7551 2006-03-09 Keith Seitz <keiths@redhat.com>
7553 * gnu/classpath/jdwp/processor/MethodCommandSet.java
7554 (executeVariableTable): Use VMMethod instead of reflection.
7555 (executeLineTable): Likewise.
7556 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
7557 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
7558 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
7559 (getLineTable): Removed. Now resides in VMMethod.
7560 (getVarTable): Likewise.
7561 (getAllClassMethods): New method.
7563 2006-03-09 Keith Seitz <keiths@redhat.com>
7565 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
7566 * gnu/classpath/jdwp/event/ThreadStartEvent.java
7567 (ThreadStartEvent): Likewise.
7568 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
7569 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
7570 (ConditionalFilter): Likewise.
7571 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
7572 (ExceptionOnlyFilter): Likewise.
7573 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
7574 (FieldOnlyFilter): Likewise.
7575 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
7576 (getSize): Likewise.
7577 (StepFilter): Likewise.
7578 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
7579 * gnu/classpath/jdwp/transport/JdwpPacket.java
7580 (JdwpPacket): Likewise.
7581 (fromBytes): Likewise.
7582 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
7583 (JdwpReplyPacket): Likewise.
7584 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
7585 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
7586 (getReferenceType): Likewise.
7587 (newObjectId): Likewise.
7588 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
7589 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
7590 (getFrames): Fix typo in parameter name and update javadoc.
7591 (getClassMethod): Update javadoc.
7593 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
7595 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
7596 * javax/swing/event/TreeSelectionListener.java: Likewise.
7598 2006-03-09 Lillian Angel <langel@redhat.com>
7600 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
7601 (getHScrollbarHeight): Fixed property name.
7602 (getVScrollbarHeight): Likewise.
7604 2006-03-09 Lillian Angel <langel@redhat.com>
7606 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7607 (get_widget): New function.
7608 (gtkWidgetSetParent): Changed to use new function.
7609 (gtkWidgetSetCursorUnlocked): Likewise.
7610 (gtkWidgetSetSensitive): Likewise.
7611 (gtkWidgetRequestFocus): Likewise.
7612 (gtkWindowGetLocationOnScreen): Likewise.
7613 (gtkWidgetGetDimensions): Likewise.
7614 (gtkWidgetGetPreferredDimensions): Likewise.
7615 (setNativeBounds): Likewise.
7616 (gtkWidgetGetBackground): Likewise.
7617 (gtkWidgetGetForeground): Likewise.
7618 (gtkWidgetSetBackground): Likewise.
7619 (gtkWidgetSetForeground): Likewise.
7620 (setVisibleNativeUnlocked): Likewise.
7621 (isEnabled): Likewise.
7622 (isRealized): Likewise.
7623 (setNativeEventMask): Likewise.
7625 2006-03-09 Lillian Angel <langel@redhat.com>
7628 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7629 (create): Added combobox widget to an event box.
7630 (connectSignals): Added call to choice_get_widget to get the
7631 combobox out of the event box.
7633 (nativeRemoveAll): Likewise.
7634 (nativeRemove): Likwise.
7635 (nativeAdd): Likewise.
7636 (selectNative): Likewise.
7637 (choice_get_widget): New function.
7638 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7639 (create): Added list scroll window widget to an event box.
7640 (connectSignals): Changed call to use new function to get the
7641 correct widget out of the event box.
7642 (getWidgetModifyFont): Likewise.
7643 (getWidgetRequestFocus): Likewise.
7646 (delItems): Likewise.
7648 (deselect): Likewise.
7649 (getSize): Likewise.
7650 (getSelectedIndexes): Likewise.
7651 (makeVisible): Likewise.
7652 (setMultipleMode): Likewise.
7653 (list_get_widget): New function.
7654 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
7655 (create): Added scrollpane to an eventbox.
7656 (setScrollPosition): Changed call to use new function to get the
7657 correct widget out of the event box.
7658 (gtkScrolledWindowSetHScrollIncrement): Likewise.
7659 (gtkScrolledWindowSetVScrollIncrement): Likewise.
7660 (getHScrollbarHeight): Likewise.
7661 (getVScrollbarWidth): Likewise.
7662 (setPolicy): Likewise.
7663 (scrollpane_get_widget): New function.
7664 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
7665 (connectSignals): Changed call to use new function to get the
7666 correct widget out of the event box.
7667 (create): Added scrollbar to an eventbox.
7668 (setLineIncrement): Changed call to use new function to get the
7669 correct widget out of the event box.
7670 (setPageIncrement): Likewise.
7671 (setBarValues): Likewise.
7672 (scrollbar_get_widget): New function.
7673 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7674 (create): Added text area scroll window widget to an event box.
7675 (connectSignals): Changed call to use new function to get the
7676 correct widget out of the event box.
7678 (replaceRange): Likewise.
7679 (gtkWidgetModifyFont): Likewise.
7680 (gtkWidgetRequestFocus): Likewise.
7681 (getHScrollbarHeight): Likewise.
7682 (getVScrollbarWidth): Likewise.
7683 (getCaretPosition): Likewise.
7684 (setCaretPosition):Likewise.
7685 (getSelectionStart): Likewise.
7686 (getSelectionEnd): Likewise.
7688 (setEditable): Likewise.
7689 (getText): Likewise.
7690 (setText): Likewise.
7691 (textarea_get_widget): New function.
7693 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7695 * java/rmi/dgc/VMID.java:
7696 (equals, hashCode, static initializer): Rewritten.
7697 * java/rmi/dgc/package.html: Documented.
7699 2006-03-09 Mark Wielaard <mark@klomp.org>
7701 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
7703 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
7704 (canCache): Likewise.
7705 (GtkClipboard): Take String argument.
7706 (getInstance): Removed.
7707 (getClipboardInstance, getSelectionInstance): New static methods.
7708 (setSystemContents): Make synchronized. Takes boolean argument.
7709 (initNativeState): Add clipboard and selection.
7710 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
7711 (announceClipboardChange, announcePrimaryChange): New static field.
7712 (announce): Take GtkClipboard as argument.
7713 (run): Check which clipboard to announce change for.
7714 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
7716 (GtkSelection): Take GtkClipboard as argument.
7717 (requestText, requestImage, requestURIs, requestBytes): Add boolean
7719 (requestMimeTypes): Likewise.
7720 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
7722 * java/awt/Toolkit.java (getSystemSelection): Document.
7723 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
7724 (cp_gtk_selection_instance): New var.
7725 (current_selection, owner): Removed.
7726 (clipboard_owner_change_cb): Use clipboard argument.
7727 (initNativeState): Store clipboard and selection instances. Cache
7728 setSystemContentsID, provideContentID, provideTextID, provideImageID,
7730 (clipboard_get_func): Use clipboard argument.
7731 (clipboard_clear_func): Likewise. Always call method.
7732 (advertiseContent): Don't cache method ids here. Check whether to
7733 use clpboard or selection. Don't set owner or current_selection.
7734 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
7735 (requestText, requestImage, requestURIs, requestBytes): Use extra
7736 boolean argument to select clipboard.
7737 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
7738 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
7739 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
7740 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
7742 2006-03-09 Keith Seitz <keiths@redhat.com>
7744 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
7745 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
7746 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
7747 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
7748 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
7749 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
7750 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
7751 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
7752 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
7754 2006-03-09 Mark Wielaard <mark@klomp.org>
7756 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
7757 bounds for index is valid.
7758 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
7760 (getCellBounds): Update documentation.
7762 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
7764 * .classpath: added exclude pattern on source folders
7765 (Makefiles, README and .cvsignore)
7767 2006-03-08 Keith Seitz <keiths@redhat.com>
7769 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
7770 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
7771 (getClassMethod): New method.
7773 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7775 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
7777 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7779 * java/rmi/server/ObjID.java: Documented and autoformatted.
7781 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7784 * tools/Makefile.am (install-data-local,
7785 uninstall-local): Install/uninstall the tools/README only.
7786 * tools/gnu/classpath/tools/giop/README: Updated.
7787 * tools/README: New file.
7789 2006-03-08 Lillian Angel <langel@redhat.com>
7791 * java/awt/GridBagLayout.java
7792 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
7793 then the next item should be set to current_y (not 0).
7795 2006-03-08 Lillian Angel <langel@redhat.com>
7797 * java/awt/GridBagLayout.java
7798 (GetLayoutInfo): If gridy is RELATIVE and there is no component
7799 in the bottom-most spot of the column, we need to place that component
7800 at the y-location of the other components in that row. If there are
7801 no other components in that row, then place it at y = 0.
7803 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
7805 * javax/swing/ProgressMonitor.java: Updated API docs,
7806 * javax/swing/ProgressMonitorInputStream.java: Likewise.
7808 2006-03-08 Michael Koch <konqueror@gmx.de>
7810 * java/net/InetSocketAddress.java
7811 (InetSocketAddress(String,int,resolve)): New private contructor.
7812 (InetSocketAddress(String,int)): Use new private constructor.
7813 (createUnresolved): New method.
7815 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7817 * java/rmi/server/UID.java (constructor): Assign last and time fields
7820 2006-03-07 Tom Tromey <tromey@redhat.com>
7822 * java/lang/System.java (clearProperty): New method, merged from
7824 (getProperty): Removed 'else'.
7825 (getProperty): Check for empty key.
7826 (setProperty): Likewise.
7827 * gnu/classpath/SystemProperties.java (remove): New method, merged
7828 from generics branch.
7830 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7832 * java/rmi/server/UID.java: New file (replacing).
7834 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
7836 * java/util/jar/Manifest.java: Removed unused imports.
7837 (CRLF): New constant.
7838 (read): Added method documentation.
7839 Use UTF-8 encoding instead of 8859_1.
7840 (write): Added method documentation.
7841 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
7842 (write_main_section): Replace PrintWriter arg with OutputStream.
7843 Replace JarException with IOException.
7844 (write_version_info): Likewise.
7845 (write_main_attributes): Likewise.
7846 (write_attribute_entry): Likewise.
7847 (write_individual_sections): Likewise.
7848 (write_entry_attributes): Likewise.
7849 (write_header): Replace PrintWriter arg with OutputStream.
7852 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
7854 * javax/swing/tree/DefaultMutableTreeNode.java
7855 (getFirstChild): Updated API docs,
7856 (getLastChild): Likewise,
7857 (getChildAfter): Likewise,
7858 (getChildBefore): Likewise,
7859 (isNodeSibling): Return true if node == this,
7860 (getSiblingCount): Updated API docs,
7861 (getNextSibling): Likewise,
7862 (getPreviousSibling): Likewise,
7864 (getFirstLeaf): Likewise,
7865 (getLastLeaf): Likewise,
7866 (getNextLeaf): Implemented,
7867 (getPreviousLeaf): Implemented.
7869 2006-03-07 Tom Tromey <tromey@redhat.com>
7871 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
7872 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
7873 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
7874 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
7877 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
7879 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
7880 (clone): Reimplemented,
7881 (add): Throw IllegalArgumentException if child is an ancestor,
7882 (remove(int)): Set child's parent to null,
7883 (remove(MutableTreeNode)): Check arguments and set child's parent to
7885 (insert): Check allowsChildren flag, check for null argument, and
7886 check for a node that is an ancestor,
7887 (getIndex): Throw IllegalArgumentException for null argument,
7888 (setAllowsChildren): If setting to false, remove existing children,
7889 (removeAllChildren): Set parent to null for removed children.
7891 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
7893 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
7896 2006-03-06 Tom Tromey <tromey@redhat.com>
7898 * java/lang/StrictMath.java (ulp): New methods.
7899 * java/lang/Math.java (ulp): New methods.
7901 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7903 * gnu/java/rmi/server/UnicastRef.java,
7904 gnu/java/rmi/server/UnicastServer.java: Formatted.
7906 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7908 * gnu/java/rmi/server/CombinedClassLoader.java (findClass,
7909 findLibrary, findResouce, findResources): check all loaders in
7912 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7915 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
7916 (RefProtector): new inner class. (dirty): Rewritten.
7917 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
7918 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
7919 new methods. (readExternal): Create LeaseRenewingTask if non local.
7920 * gnu/java/rmi/server/UnicastServer.java (objects):
7921 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
7922 (getExported): New method.
7923 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
7925 2006-03-06 Mark Wielaard <mark@klomp.org>
7927 * doc/www.gnu.org/announce/20060306.wml: New file.
7928 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
7929 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
7931 2006-03-06 Mark Wielaard <mark@klomp.org>
7935 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
7937 * javax/swing/plaf/metal/MetalLookAndFeel.java
7938 (initComponentDefaults): Use Boolean.TRUE for
7939 'CheckBoxMenuItem.borderPainted'.
7941 2006-03-06 Lillian Angel <langel@redhat.com>
7944 * java/awt/List.java
7945 (preferredSize): Return the size of the list if the peer is null.
7946 * gnu/java/awt/peer/gtk/GtkListPeer.java
7947 (preferredSize): Code was returning the minimum size of the list.
7948 Added adjustment to the width of the list so it is a proper size.
7950 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
7952 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
7953 (getRequestProperty): Remove duplicated null check.
7954 * java/net/URLConnection.java:
7955 (URLConnection): Javadoc fix.
7956 (addRequestProperty): Likewise.
7957 (getDefaultRequestProperty): Likewise.
7958 (getHeaderField): Likewise.
7959 (getHeaderFieldDate): Likewise.
7960 (getHeaderFieldKey): Likewise.
7961 (getHeaderFields): Likewise.
7962 (getRequestProperties): Likewise.
7963 (getRequestProperty): Likewise.
7964 (setDefaultRequestProperty): Likewise.
7965 (setRequestProperty): Likewise.
7967 2006-03-06 Tom Tromey <tromey@redhat.com>
7969 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
7970 (FORMATTED_TEXT_FIELD): Likewise.
7972 2006-03-06 Tom Tromey <tromey@redhat.com>
7974 * javax/swing/plaf/synth/SynthPainter.java: Finished.
7976 2006-03-06 Mark Wielaard <mark@klomp.org>
7978 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
7979 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
7980 (isnan): Define explicitly isnan if it is not a macro.
7982 2006-03-06 Anthony Balkissoon <abalkiss@redhat.com>
7986 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
7988 * examples/gnu/classpath/examples/swing/Demo.java:
7989 (mkMenuBar): Added menu entry that will display the VM's name,
7990 version and distributor.
7992 2006-03-06 Tom Tromey <tromey@redhat.com>
7994 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
7996 (getName): Likewise.
7998 2006-03-06 Mark Wielaard <mark@klomp.org>
8000 * configure.ac (VERSION): Set to 0.91-pre.
8001 * NEWS: Add updates for 0.90 release.
8003 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
8005 * javax/swing/text/PlainDocument.java: Fix copyright header,
8007 (insertUpdate): Do not copy the whole document any more, added some
8008 more variables to prevent needless method calls.
8010 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
8012 * configure.ac: Check for FREETYPE2. This is a reverted patch and
8013 is required on Darwin.
8014 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
8015 (AM_CFLAGS): Likewise.
8017 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
8019 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
8020 API doc tag warnings,
8021 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
8023 2006-03-06 Dalibor Topic <robilad@kaffe.org>
8025 * gnu/java/net/protocol/file/Connection.java (unquote):
8026 Update position in buffer after decoding a unicode character
8027 outside of the basic plane.
8029 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
8031 * javax/swing/plaf/basic/BasicTextUI.java:
8032 (damageRange): Rewritten if-expressions to correctly identify the
8035 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
8037 * javax/swing/text/DefaultCaret.java:
8038 (mouseDragged): Do selection when shift is pressed.
8039 (mouseClicked): Implemented.
8041 2006-03-06 Dalibor Topic <robilad@kaffe.org>
8043 * libraries/javalib/external/classpath/java/net/URI.java (quote):
8044 Pass Unicode characters outside the basic plane through.
8046 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
8048 * javax/swing/text/PlainDocument.java:
8049 (insertUpdate): Extended if-expression, added
8050 code to generate another Element when newly inserted characters
8051 and old ones will be on the same line.
8053 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
8055 * javax/swing/text/GapContent.java:
8056 (insertString): Throw exception when argument is below
8059 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8061 * javax/swing/plaf/metal/MetalComboBoxButton.java
8062 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
8063 JList)): Fixed API doc tag,
8064 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
8065 (createLayout): Fixed API doc warning.
8067 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8069 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
8070 * javax/swing/FocusManager.java: Likewise.
8072 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8074 * javax/swing/undo/StateEditable.java
8075 (restoreState): Fixed bad API doc tag,
8076 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
8077 AbstractUndoableEdit.java,
8078 * javax/swing/undo/UndoableEditSupport.java
8079 (createCompoundEdit): Fixed bad API doc tag,
8080 * javax/swing/undo/UndoManager.java
8081 (editToBeUndone): Fixed bad API doc tag,
8082 (editToBeRedone): Likewise.
8084 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8086 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
8087 and corrected a bad API doc tag.
8089 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8091 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
8092 added API docs all over.
8094 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
8096 * javax/swing/filechooser/FileFilter.java:
8097 (accept): Fixed API doc tag,
8098 (getDescription): Likewise,
8099 * javax/swing/filechooser/FileView.java:
8100 (isTraversable): Fixed API doc tag.
8102 2006-03-05 Tom Tromey <tromey@redhat.com>
8104 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
8105 ClassHelper.getUserName.
8106 * vm/reference/java/lang/reflect/Method.java (toString): Use
8107 ClassHelper.getUserName.
8108 (getUserTypeName): Removed.
8109 * gnu/java/lang/ClassHelper.java (getUserName): New method.
8110 * vm/reference/java/lang/reflect/Field.java (toString): Use
8111 ClassHelper.getUserName.
8113 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
8116 * java/net/URLClassLoader.java (FileURLLoader.getResource):
8117 Allows directories as valid resources.
8119 2006-03-04 Mark Wielaard <mark@klomp.org>
8121 * configure.ac (VERSION): Set to 0.90-pre.
8123 2006-03-04 Tom Tromey <tromey@redhat.com>
8125 * javax/swing/SpringLayout.java (Constraints): New constructor.
8126 * javax/swing/Spring.java (width): New method.
8130 2006-03-04 Mark Wielaard <mark@klomp.org>
8132 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
8133 existing connection from pool before returning.
8135 2006-03-04 Mark Wielaard <mark@klomp.org>
8137 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
8138 exceptions thrown by handlers while cleaning up and rethrow original
8141 2006-03-04 Tom Tromey <tromey@redhat.com>
8143 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
8145 (findConstructor): Likewise.
8146 (instantiateClass): Likewise.
8148 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8150 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
8151 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
8152 lease value and not always the default one.
8153 (LeaseRecord): Remember the array of objects, marked as dirty.
8154 java/rmi/dgc/Lease.java: Boilerplate fix.
8156 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
8158 * java/util/jar/Attributes.java (putValue): Made it public and updated
8159 method documentation.
8161 2006-03-04 Mark Wielaard <mark@klomp.org>
8163 * java/awt/Container.java (remove(int)): Always call removeNotify()
8164 on removed Component.
8166 2006-03-04 Mark Wielaard <mark@klomp.org>
8168 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
8169 * javax/swing/JEditorPane.java (setText): Check for empty String
8170 with equals(), not equality (==).
8172 2006-03-04 Mark Wielaard <mark@klomp.org>
8174 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
8175 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
8177 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
8179 * javax/swing/text/GapContent.java
8180 (getArray): Mark as final.
8182 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
8184 * javax/swing/text/StyleConstants.java
8185 (CharacterConstants.Background): Marked final,
8186 (CharacterConstants.BidiLevel): Likewise,
8187 (CharacterConstants.Bold): Likewise,
8188 (CharacterConstants.ComponentAttribute): Likewise,
8189 (CharacterConstants.Family): Likewise,
8190 (CharacterConstants.Size): Likewise,
8191 (CharacterConstants.Foreground): Likewise,
8192 (CharacterConstants.IconAttribute): Likewise,
8193 (CharacterConstants.Italic): Likewise,
8194 (CharacterConstants.StrikeThrough): Likewise,
8195 (CharacterConstants.Subscript): Likewise,
8196 (CharacterConstants.Superscript): Likewise,
8197 (CharacterConstants.Underline): Likewise,
8198 (ColorConstants.Foreground): Likewise,
8199 (ColorConstants.Background): Likewise,
8200 (FontConstants.Bold): Likewise,
8201 (FontConstants.Family): Likewise,
8202 (FontConstants.Italic): Likewise,
8203 (FontConstants.Size): Likewise,
8204 (ParagraphConstants.Alignment): Likewise,
8205 (ParagraphConstants.FirstLineIndent): Likewise,
8206 (ParagraphConstants.LeftIndent): Likewise,
8207 (ParagraphConstants.LineSpacing): Likewise,
8208 (ParagraphConstants.Orientation): Likewise,
8209 (ParagraphConstants.RightIndent): Likewise,
8210 (ParagraphConstants.SpaceAbove): Likewise,
8211 (ParagraphConstants.SpaceBelow): Likewise,
8212 (ParagraphConstants.TabSet): Likewise.
8214 2006-03-03 Tom Tromey <tromey@redhat.com>
8216 * javax/net/ssl/SSLException.java: Added missing @since.
8219 2006-03-03 Tom Tromey <tromey@redhat.com>
8221 * javax/net/ssl/SSLException.java (SSLException): New constructors.
8222 (serialVersionUID): New field.
8224 2006-03-03 Tom Tromey <tromey@redhat.com>
8226 * java/security/spec/InvalidKeySpecException.java
8227 (InvalidKeySpecException): New constructors.
8228 * java/security/cert/CertificateParsingException.java
8229 (CertificateParsingException): New constructors.
8230 * java/security/cert/CertificateEncodingException.java
8231 (CertificateEncodingException): New constructors.
8232 * java/security/cert/CertificateException.java (CertificateException):
8234 * java/security/cert/CRLException.java (CRLException): New
8237 2006-03-03 Tom Tromey <tromey@redhat.com>
8239 * java/security/SignatureException.java (SignatureException): New
8241 * java/security/ProviderException.java (ProviderException): New
8243 * java/security/NoSuchAlgorithmException.java
8244 (NoSuchAlgorithmException): New constructors.
8245 * java/security/KeyStoreException.java (KeyStoreException): New
8247 * java/security/KeyManagementException.java (KeyManagementException):
8249 * java/security/InvalidKeyException.java (InvalidKeyException): New
8251 * java/security/KeyException.java (KeyException): New constructors.
8252 * java/security/InvalidAlgorithmParameterException.java
8253 (InvalidAlgorithmParameterException): New constructors.
8254 * java/security/DigestException.java (DigestException): New
8256 * java/security/GeneralSecurityException.java
8257 (GeneralSecurityException): New constructors.
8259 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8261 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
8263 * javax/swing/event/DocumentEvent.java: Likewise,
8264 * javax/swing/event/EventListenerList.java: Likewise,
8265 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
8266 * javax/swing/event/MenuKeyEvent.java: Likewise,
8267 * javax/swing/event/TableColumnModelEvent.java: Likewise,
8268 * javax/swing/event/TreeExpansionEvent.java: Likewise,
8269 * javax/swing/event/TreeModelEvent.java: Likewise,
8270 * javax/swing/event/TreeSelectionEvent.java: Likewise,
8271 * javax/swing/event/UndoableEditEvent.java: Likewise.
8273 2006-03-03 Tom Tromey <tromey@redhat.com>
8275 * java/awt/Insets.java (set): New method.
8276 (equals): Added @since.
8278 2006-03-03 David Daney <ddaney@avtrex.com>
8280 * gnu/java/net/protocol/http/HTTPURLConnection.java
8281 (getRequestProperties): Rewrote.
8282 (addRequestProperty): Rewrote.
8283 (getHeaderFields): Rewrote.
8284 (getHeaderField): Rewrote.
8285 (getHeaderFieldKey): Rewrote.
8286 (getHeaderField): Removed useless cast.
8287 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
8288 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
8290 (notifyHeaderHandlers): Use new Headers interface.
8292 2006-03-03 Tom Tromey <tromey@redhat.com>
8294 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
8295 * javax/naming/spi/ResolveResult.java,
8296 javax/naming/event/NamingExceptionEvent.java,
8297 javax/naming/event/NamingEvent.java,
8298 javax/naming/directory/SearchResult.java,
8299 javax/naming/directory/SearchControls.java,
8300 javax/naming/directory/SchemaViolationException.java,
8301 javax/naming/directory/NoSuchAttributeException.java,
8302 javax/naming/directory/ModificationItem.java,
8303 javax/naming/directory/InvalidSearchFilterException.java,
8304 javax/naming/directory/InvalidSearchControlsException.java,
8305 javax/naming/directory/InvalidAttributesException.java,
8306 javax/naming/directory/InvalidAttributeIdentifierException.java,
8307 javax/naming/directory/AttributeModificationException.java,
8308 javax/naming/directory/AttributeInUseException.java,
8309 javax/naming/TimeLimitExceededException.java,
8310 javax/naming/SizeLimitExceededException.java,
8311 javax/naming/PartialResultException.java,
8312 javax/naming/Reference.java,
8313 javax/naming/ServiceUnavailableException.java,
8314 javax/naming/OperationNotSupportedException.java,
8315 javax/naming/NotContextException.java,
8316 javax/naming/NoPermissionException.java,
8317 javax/naming/NoInitialContextException.java,
8318 javax/naming/NameNotFoundException.java,
8319 javax/naming/NameAlreadyBoundException.java,
8320 javax/naming/NameClassPair.java,
8321 javax/naming/MalformedLinkException.java,
8322 javax/naming/LinkLoopException.java,
8323 javax/naming/LinkException.java,
8324 javax/naming/LimitExceededException.java,
8325 javax/naming/InvalidNameException.java,
8326 javax/naming/InterruptedNamingException.java,
8327 javax/naming/InsufficientResourcesException.java,
8328 javax/naming/ContextNotEmptyException.java,
8329 javax/naming/ConfigurationException.java,
8330 javax/naming/CannotProceedException.java,
8331 javax/naming/CommunicationException.java,
8332 javax/naming/Binding.java,
8333 javax/naming/AuthenticationNotSupportedException.java,
8334 javax/naming/AuthenticationException.java: Added serialVersionUID.
8336 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8338 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
8340 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8342 * javax/swing/event/TableModelListener.java: Updated API docs.
8344 2006-03-03 Mark Wielaard <mark@klomp.org>
8346 * java/awt/Component.java (addNotify): Expand documentation.
8348 2006-03-03 Mark Wielaard <mark@klomp.org>
8350 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8351 Always call setParentAndBounds().
8352 (setComponentBounds): Always call setBounds().
8353 (setBounds): Call setVisible().
8354 (setVisible): If no pixels are showing then don't make it visible.
8355 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
8356 to call setParentAndBounds() anymore.
8358 2006-03-03 Roman Kennke <kennke@aicas.com>
8360 * javax/swing/JInternalFrame.java
8361 (JInternalFrame): Set frame invisible.
8362 (show): Reformatted.
8363 * javax/swing/plaf/basic/BasicInternalFrameUI.java
8364 (installDefaults): Do not set invisible here.
8366 2006-03-03 Roman Kennke <kennke@aicas.com>
8368 * java/awt/Toolkit.java
8369 (getScreenInsets): Return (0,0,0,0) here.
8371 2006-03-03 Roman Kennke <kennke@aicas.com>
8373 * javax/swing/text/FlowView.java
8374 (FlowStrategy.layoutRow): Added check for rowCount == 0.
8375 (FlowStrategy.getLogicalView): Made method protected.
8377 2006-03-03 Chris Burdess <dog@gnu.org>
8379 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
8380 gnu/xml/validation/relaxng/AttributePattern.java,
8381 gnu/xml/validation/relaxng/ChoiceNameClass.java,
8382 gnu/xml/validation/relaxng/ChoicePattern.java,
8383 gnu/xml/validation/relaxng/DataPattern.java,
8384 gnu/xml/validation/relaxng/Define.java,
8385 gnu/xml/validation/relaxng/ElementPattern.java,
8386 gnu/xml/validation/relaxng/EmptyPattern.java,
8387 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
8388 gnu/xml/validation/relaxng/Grammar.java,
8389 gnu/xml/validation/relaxng/GrammarException.java,
8390 gnu/xml/validation/relaxng/GrammarValidator.java,
8391 gnu/xml/validation/relaxng/GroupPattern.java,
8392 gnu/xml/validation/relaxng/InterleavePattern.java,
8393 gnu/xml/validation/relaxng/ListPattern.java,
8394 gnu/xml/validation/relaxng/NSNameNameClass.java,
8395 gnu/xml/validation/relaxng/NameClass.java,
8396 gnu/xml/validation/relaxng/NameNameClass.java,
8397 gnu/xml/validation/relaxng/NotAllowedPattern.java,
8398 gnu/xml/validation/relaxng/OneOrMorePattern.java,
8399 gnu/xml/validation/relaxng/Param.java,
8400 gnu/xml/validation/relaxng/Pattern.java,
8401 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
8402 gnu/xml/validation/relaxng/RefPattern.java,
8403 gnu/xml/validation/relaxng/TextPattern.java,
8404 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
8405 builder and data model.
8406 * gnu/xml/validation/xmlschema/AnyAttribute.java,
8407 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
8408 gnu/xml/validation/xmlschema/AttributeUse.java,
8409 gnu/xml/validation/xmlschema/ComplexType.java,
8410 gnu/xml/validation/xmlschema/ElementDeclaration.java,
8411 gnu/xml/validation/xmlschema/Particle.java,
8412 gnu/xml/validation/xmlschema/ValidationException.java,
8413 gnu/xml/validation/xmlschema/XMLSchema.java,
8414 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
8415 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
8416 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
8417 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
8418 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
8419 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
8420 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
8421 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
8422 W3C XML Schema builder and schema components.
8423 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
8424 XML Schema namespace URIs.
8426 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
8428 * NEWS: Add entry for --enable-collections.
8429 * configure.ac: Add --enable-collections option.
8430 * lib/Makefile.am (collections.jar): New target.
8431 (glibj_DATA): Add $(COLLECTIONS).
8432 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
8433 configure substitution.
8434 (classpath): Read from command line.
8435 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
8437 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8439 * javax/swing/SpringLayout.java: Fixed API doc warnings.
8441 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8443 * javax/swing/event/ListSelectionEvent.java
8444 (toString): Implemented,
8445 plus updated API docs all over.
8447 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8449 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
8451 * javax/swing/event/ListSelectionListener.java: Updated API docs.
8453 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8455 * gnu/java/rmi/dgc/DGCImpl.java,
8456 java/rmi/dgc/DGC.java,
8457 java/rmi/dgc/Lease.java: Formatted and commented.
8459 2006-03-03 Roman Kennke <kennke@aicas.com>
8461 * NEWS: Added comment about text highlighting and copy+paste
8464 2006-03-03 Roman Kennke <kennke@aicas.com>
8466 * javax/swing/JTabbedPane.java
8467 (remove(int)): Call super.remove(int) instead of remove(Component).
8468 Avoids a stack overflow.
8470 2006-03-03 Roman Kennke <kennke@aicas.com>
8472 * javax/swing/JTable.java
8473 (distributeSpillResizing): Avoid ArithmeticException by checking
8476 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8478 * javax/swing/text/package.html: Added package description.
8480 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8482 * javax/swing/CellRendererPane.java: Minor API doc fix,
8483 * javax/swing/ComboBoxModel.java: Updated API docs.
8485 2006-03-03 Chris Burdess <dog@gnu.org>
8488 * gnu/xml/stream/EntityReferenceImpl.java,
8489 gnu/xml/stream/FilteredEventReader.java,
8490 gnu/xml/stream/SAXParser.java,
8491 gnu/xml/stream/XIncludeFilter.java,
8492 gnu/xml/stream/XMLEventAllocatorImpl.java,
8493 gnu/xml/stream/XMLEventFactoryImpl.java,
8494 gnu/xml/stream/XMLEventImpl.java,
8495 gnu/xml/stream/XMLEventReaderImpl.java,
8496 gnu/xml/stream/XMLEventWriterImpl.java,
8497 gnu/xml/stream/XMLInputFactoryImpl.java,
8498 gnu/xml/stream/XMLOutputFactoryImpl.java,
8499 gnu/xml/stream/XMLParser.java,
8500 javax/xml/stream/EventFilter.java,
8501 javax/xml/stream/Location.java,
8502 javax/xml/stream/StreamFilter.java,
8503 javax/xml/stream/XMLEventFactory.java,
8504 javax/xml/stream/XMLEventReader.java,
8505 javax/xml/stream/XMLEventWriter.java,
8506 javax/xml/stream/XMLInputFactory.java,
8507 javax/xml/stream/XMLOutputFactory.java,
8508 javax/xml/stream/XMLReporter.java,
8509 javax/xml/stream/XMLResolver.java,
8510 javax/xml/stream/XMLStreamConstants.java,
8511 javax/xml/stream/XMLStreamReader.java,
8512 javax/xml/stream/events/EntityDeclaration.java,
8513 javax/xml/stream/events/EntityReference.java,
8514 javax/xml/stream/events/XMLEvent.java,
8515 javax/xml/stream/util/EventReaderDelegate.java,
8516 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
8517 StAX API as specified in JWSDP 2.0.
8518 * gnu/xml/stream/EndEntityImpl.java,
8519 gnu/xml/stream/LocationImpl.java,
8520 gnu/xml/stream/StartEntityImpl.java,
8521 gnu/xml/stream/XMLStreamReaderImpl.java,
8522 javax/xml/stream/XMLFilter.java,
8523 javax/xml/stream/XMLIterator.java,
8524 javax/xml/stream/events/EndEntity.java,
8525 javax/xml/stream/events/StartEntity.java: Removed legacy files.
8527 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8529 * javax/swing/CellEditor.java: API doc updates,
8530 * javax/swing/DefaultCellEditor.java: Likewise.
8532 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8534 * javax/swing/AbstractListModel.java:
8535 (AbstractListModel): Added API docs,
8536 (fireContentsChanged): Minor API doc correction,
8537 (fireIntervalAdded): Likewise,
8538 (fireIntervalRemoved): Likewise.
8540 2006-03-03 Roman Kennke <kennke@aicas.com>
8542 * NEWS: Added paragraph about Swing improvements.
8544 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
8546 * javax/swing/AbstractAction.java: Updated API docs all over,
8547 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
8548 (stopCellEditing): Minor API doc correction,
8549 * javax/swing/UnsupportedLookAndFeelException.java
8550 (UnsupportedLookAndFeelException): Changed argument name, updated API
8553 2006-03-03 Roman Kennke <kennke@aicas.com>
8555 * javax/swing/plaf/metal/MetalUtils.java
8556 (fillMetalPattern): Added switch to not use Graphics2D methods,
8557 even if they are available.
8559 2006-03-03 Roman Kennke <kennke@aicas.com>
8561 * javax/swing/plaf/basic/BasicHTML.java
8562 (isHTMLString): Check for string beeing null.
8563 * javax/swing/plaf/basic/BasicInternalFrameUI.java
8564 (BasicInternalFrameListener.internalFrameActivated): Implemented.
8565 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
8566 (InternalFrameLayout): Don't touch the glass pane here.
8567 (installUI): Fix handling of glass pane.
8568 * javax/swing/plaf/basic/BasicLabelUI.java
8572 (BasicLabelUI): Initialize new fields.
8573 (getPreferredSize): Avoid creating new Rectangles by using
8574 SwingUtilities method.
8575 (paint): Avoid creating new Rectangles by reusing
8576 new fields. Added some preliminary handling of HTML inside the
8578 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
8579 (uninstallComponents): Clear HTML renderer.
8580 (propertyChange): Check for HTML text and install renderer if
8582 * javax/swing/plaf/basic/BasicListUI.java
8583 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
8585 * javax/swing/plaf/basic/BasicTextUI.java
8586 (RootView.getStartOffset): Implemented.
8587 (RootView.getEndOffset): Implemented.
8588 (RootView.getDocument): Implemented.
8590 2006-03-03 Roman Kennke <kennke@aicas.com>
8592 * javax/swing/text/DefaultStyledDocument.java
8593 (ElementBuffer.inserUpdate): Added check for zero-length
8595 * javax/swing/text/DefaultStyledDocument.java
8596 (setIndex): Improved exception message.
8597 * javax/swing/text/TableView.java
8598 Made class abstract.
8599 (TableRow.replace): Probably extend columnRequirements
8601 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
8602 of super.layoutMajorAxis.
8603 (columnRequirements): Made field package private.
8604 (TableView): Do not load any child views here.
8605 (layoutColumns): Implemented this method.
8606 (updateColumnRequirements): New helper method.
8607 * javax/swing/text/Utilities.java
8608 (getBreakLocation): Also take offset into account when
8609 finding end location.
8610 * javax/swing/text/html/HTMLDocument.java
8611 (HTMLReader.parseStack): New field.
8612 (HTMLReader.blockOpen): Properly handle p-implied tags.
8613 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
8614 (HTMLReader.addContent): Insert p-implied when adding content to
8616 * javax/swing/text/html/HTMLEditorKit.java
8617 (HTMLFactory.create): Create HTMLTableView for <table> tags and
8618 ParagraphView for TD tags. Print out warning for tags that don't have
8619 matching view yet and create NullView for them.
8620 (read): Only set document base when document != null.
8621 * javax/swing/text/html/HTMLTableView.java:
8624 2006-03-03 Roman Kennke <kennke@aicas.com>
8626 * javax/swing/plaf/basic/BasicHTML.java
8627 (HTMLRootView): New inner class.
8628 (createHTMLView): Embed view inside a HTMLRootView.
8630 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
8632 * gnu/java/net/protocol/jar/Connection.java:
8633 (connect): Throw FileNotFoundException.
8634 (getInputStream): Remove duplicated code.
8636 2006-03-03 Roman Kennke <kennke@aicas.com>
8638 * javax/swing/RepaintManager.java
8639 (commitBuffer): Added null check for clip.
8641 2006-03-02 Lillian Angel <langel@redhat.com>
8643 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8644 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
8645 to use GtkWidget instead of GTKMenu.
8647 2006-03-02 Lillian Angel <langel@redhat.com>
8649 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8650 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
8651 use the submenu to get the list of children. This now works
8652 in the same way as addItem.
8654 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
8656 * java/lang/StringBuilder.java:
8657 (codePointAt): New method.
8658 (codePointBefore): Likewise.
8659 (codePointCount): Likewise.
8660 (trimToSize): Likewise.
8662 2006-03-02 Tom Tromey <tromey@redhat.com>
8664 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
8666 2006-03-02 Tom Tromey <tromey@redhat.com>
8668 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
8669 (getProviderInstance):
8671 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
8673 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
8674 Fix regression caused by move to VM variant.
8677 2006-03-01 Tom Tromey <tromey@redhat.com>
8679 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
8680 * vm/reference/java/net/VMInetAddress.java: Organized imports.
8681 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
8682 imports for javadoc.
8683 (getProxyClass): Javadoc fixes.
8684 (getProxyData): Likewise.
8685 (generateProxyClass): Likewise.
8686 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
8689 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
8690 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
8692 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
8694 (getModifiers): Likewise.
8695 (getDeclaredClasses): Javadoc fix.
8696 (getDeclaredFields): Likewise.
8697 (getDeclaredMethods): Likewise.
8698 (getDeclaredConstructors): Likewise.
8699 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
8702 2006-03-01 Tom Tromey <tromey@redhat.com>
8704 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
8705 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
8706 (getVersion): Javadoc fix.
8708 * gnu/java/net/protocol/http/Headers.java: Organized imports.
8709 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
8711 2006-03-01 David Daney <ddaney@avtrex.com>
8713 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
8714 as relative if it contains a colon but no protocol handler can be
8717 2006-03-01 Roman Kennke <kennke@aicas.com>
8719 * javax/swing/text/AbstractDocument.java
8720 (LeafElement.LeafElement): Handle delta with respect to content
8721 length not document length.
8722 * javax/swing/text/CompositeView.java
8723 (getViewIndex): Handle bias correctly.
8724 * javax/swing/text/DefaultCaret.java
8725 (paint): Align caret position to document bounds to avoid trouble
8726 when removing large portions of content.
8727 * javax/swing/text/DefaultStyledDocument.java
8728 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
8729 (ElementBuffer.createFracture): Copy old childs attribute. The
8730 ElementSpec usually doesn't carry attribute information.
8731 Use pos instead of offset.
8732 (ElementBuffer.insertFracture): Use pos instead of offset.
8733 (createDefaultRootElement): Don't use create* and instead directly
8734 instantiate the elements.
8735 (handleInsertAfterNewline): Compare the paragraphs startOffset
8736 rather than previous paragraphs endOffset.
8737 * javax/swing/text/JTextComponent.java
8738 (getScrollableTracksViewportWidth): Remove unnecessary cast to
8740 (getScrollableTracksViewportHeight): Remove unnecessary cast to
8742 * javax/swing/text/PlainView.java
8743 (damageLineRange): Avoid creating new Rectangle by using
8745 * javax/swing/text/View.java
8746 (forwardUpdate): Correct the use of bias.
8747 (modelToView): Avoid new Rectangles by using SwingUtilities.
8748 (dump): Made (temprorarily) protected for use in BasicTextUI.
8749 (dump(int)): Dump out the element of the view.
8751 2006-03-01 Lillian Angel <langel@redhat.com>
8753 * NEWS: javax.imageio.plugins.bmp implementation.
8755 2006-03-01 Lillian Angel <langel@redhat.com>
8757 * javax/imageio/ImageWriteParam.java:
8758 Added documentation for fields.
8759 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
8760 New class implemented.
8762 2006-03-01 Tom Tromey <tromey@redhat.com>
8764 * NEWS: Mention java.util.prefs update.
8766 2006-03-01 Tom Tromey <tromey@redhat.com>
8768 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
8769 * java/nio/charset/UnmappableCharacterException.java:
8770 (serialVersionUID): New field.
8771 * java/nio/charset/MalformedInputException.java:
8772 (serialVersionUID): New field.
8773 * java/nio/charset/CoderMalfunctionError.java:
8774 (serialVersionUID): New field.
8775 * java/nio/charset/CharacterCodingException.java:
8776 (serialVersionUID): New field.
8777 * java/nio/channels/UnsupportedAddressTypeException.java:
8778 (serialVersionUID): New field.
8779 * java/nio/channels/UnresolvedAddressException.java:
8780 (serialVersionUID): New field.
8781 * java/nio/channels/OverlappingFileLockException.java:
8782 (serialVersionUID): New field.
8783 * java/nio/channels/NotYetConnectedException.java:
8784 (serialVersionUID): New field.
8785 * java/nio/channels/NotYetBoundException.java
8786 (serialVersionUID): New field.
8787 * java/nio/channels/NonWritableChannelException.java
8788 (serialVersionUID): New field.
8789 * java/nio/channels/NonReadableChannelException.java
8790 (serialVersionUID): New field.
8791 * java/nio/channels/NoConnectionPendingException.java
8792 (serialVersionUID): New field.
8793 * java/nio/channels/IllegalSelectorException.java
8794 (serialVersionUID): New field.
8795 * java/nio/channels/IllegalBlockingModeException.java
8796 (serialVersionUID): New field.
8797 * java/nio/channels/FileLockInterruptionException.java
8798 (serialVersionUID): New field.
8799 * java/nio/channels/ConnectionPendingException.java
8800 (serialVersionUID): New field.
8801 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
8803 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
8805 * java/nio/channels/ClosedByInterruptException.java
8806 (serialVersionUID): New field.
8807 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
8809 * java/nio/channels/AsynchronousCloseException.java
8810 (serialVersionUID): New field.
8811 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
8813 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
8814 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
8815 * java/nio/BufferUnderflowException.java (serialVersionUID): New
8817 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
8818 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
8819 Javadoc fix. Added import.
8820 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
8821 (validOps): Likewise.
8822 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
8823 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
8824 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
8825 * java/nio/channels/Channels.java: Added import.
8826 * java/nio/channels/FileChannel.java (lock): Typo fix.
8827 (tryLock): Likewise.
8829 2006-03-01 Tom Tromey <tromey@redhat.com>
8831 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
8833 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
8834 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
8837 (newNode): Likewise.
8839 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
8840 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
8842 (systemRoot): Use it.
8843 (userPreferences): New field.
8846 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
8848 * java/util/ResourceBundle.java
8849 (tryBundle): Catch and ignore all Exceptions.
8851 2006-02-28 Roman Kennke <kennke@aicas.com>
8853 * javax/swing/plaf/basic/BasicScrollBarUI.java
8854 (getPreferredSize): Fixed add a fixed space between the buttons
8855 instead of something related to min/max.
8856 (installComponents): Create and install buttons here.
8857 (installDefaults): Don't create buttons here.
8858 * javax/swing/plaf/metal/MetalScrollBarUI.java
8859 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
8860 (getPreferredSize): New method.
8862 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
8864 * examples/gnu/classpath/examples/swing/Demo.java
8865 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
8866 connected 'Spinner' action to SpinnerDemo,
8867 (mkCheckbox): Removed,
8868 (mkRadio): Likewise,
8869 (mkSpinner): Likewise,
8870 (mkToggle): Likewise,
8871 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
8872 connected 'Spinner' action to SpinnerDemo.
8874 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
8876 * javax/print/ServiceUIFactory.java: Added documentation to class.
8878 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
8881 * javax/swing/DefaultListSelectionModel.java:
8882 (addSelectionInterval): Return early if either of the arguments is -1.
8883 (removeSelectionInterval): Likewise.
8884 (setSelectionInterval): Likewise.
8886 2006-02-28 Lillian Angel <langel@redhat.com>
8888 * javax/swing/text/DefaultFormatter.java
8889 (stringToValue): Added NPE check.
8891 2006-02-28 Roman Kennke <kennke@aicas.com>
8894 * javax/swing/JList.java
8895 (getPreferredScrollableViewportSize): Restored specified behaviour.
8896 * javax/swing/plaf/metal/MetalFileChooserUI.java
8897 (createList): Set filelist panel's preferredSize, so that it doesn't
8898 get size into infinity for big lists.
8900 2006-02-28 Lillian Angel <langel@redhat.com>
8902 * javax/swing/ViewportLayout.java
8903 (layoutContainer): Should not extend container to be
8904 minimum size. Mauve test shows that the preferred size
8905 and the size of the viewport can be set smaller than
8908 2006-02-28 Lillian Angel <langel@redhat.com>
8911 * javax/swing/JList.java
8912 (getPreferredScrollableViewportSize): Added a check to determine
8913 if orientation is VERTICAL_WRAP. If it is, we should only
8916 2006-02-28 Lillian Angel <langel@redhat.com>
8919 * javax/swing/ViewportLayout.java:
8920 Patch submitted by Audrius Meskauskas
8921 (addLayoutComponent): Added documentation.
8922 (removeLayoutComponent): Likewise.
8923 (preferredLayoutSize): Likewise.
8924 (minimumLayoutSize): Likewise.
8925 (layoutContainer): Fixed code, so view is set
8926 to the right position when inside a scrollpane.
8928 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
8930 * java/math/BigInteger.java:
8931 Committed patch by Rafael:
8932 developer.classpath.org/pipermail/classpath-patches/
8933 2006-February/000473.html
8934 (signum): Return early 0 if words == null and ival == 0.
8935 (readObject): Handle special case of magnitude.length or signum being
8937 (writeObject): If signum is zero return a zero-sized byte[].
8939 2006-02-28 Lillian Angel <langel@redhat.com>
8941 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8942 (create): Initially set the directory to the current working directory.
8943 (setDirectory): Removed else-if. No need for this check.
8945 2006-02-28 Tom Tromey <tromey@redhat.com>
8947 * .project: Run java builder before header generation.
8949 2006-02-28 Tom Tromey <tromey@redhat.com>
8951 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
8953 * gnu/java/util/prefs/EventDispatcher.java: New file.
8954 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
8955 (NodeWriter): Specify UTF-8.
8956 (writeHeader): Emit DOCTYPE.
8957 * java/util/prefs/Preferences.java (getFactory): Add cause to
8959 (exportNode): Documented.
8960 (exportSubtree): Likewise.
8961 (importPreferences): Likewise.
8962 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
8963 (writeObject): Likewise.
8964 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
8965 (writeObject): Likewise.
8966 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
8967 (nodeListeners): New field.
8968 (preferenceListeners): Likewise.
8969 (addNodeChangeListener): Implemented.
8970 (addPreferenceChangeListener): Likewise.
8971 (removeNodeChangeListener): Likewise.
8972 (removePreferenceChangeListener): Likewise.
8973 (fire): New methods.
8976 (purge): Likewise. Fixed synchronization.
8977 (removeNode): Fixed synchronization.
8978 (getNode): Fire event.
8979 (flushNode): Fixed synchronization.
8981 2006-02-28 Roman Kennke <kennke@aicas.com>
8983 * javax/swing/text/BranchElement.java
8984 (startOffset): New field.
8985 (endOffset): New field.
8986 (BranchElement): Initialize new fields.
8987 (getEndOffset): Rewritten to possibly return cached values
8988 if element has no children.
8989 (getStartOffset): Rewritten to possibly return cached values
8990 if element has no children.
8991 * javax/swing/text/LeafElement.java
8992 (startDelta): New field.
8993 (endDelta): New field.
8994 (LeafElement): Handle possible delta of start/endOffset when
8995 these parameters lie outside the document range.
8996 (getStartOffset): Handle possible startDelta.
8997 (getEndOffset): Handle possible startDelta.
8999 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
9001 * NEWS: Added line about Unicode 4.0.0 support.
9003 2006-02-28 Roman Kennke <kennke@aicas.com>
9005 * javax/swing/SwingUtilities.java
9006 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
9008 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
9010 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
9012 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
9014 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
9015 Amended class documentation.
9016 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
9018 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
9019 a BIT STRING construct.
9020 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
9022 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
9024 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
9025 a BIT STRING construct.
9026 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
9027 (engineVerify): Added logging.
9029 2006-02-28 Roman Kennke <kennke@aicas.com>
9031 * java/awt/Component.java
9032 (dispatchEventImpl): Let the Toolkit dispatch global events.
9033 * java/awt/Container.java
9034 (dispatchEventImpl): Let the LightweightDispatcher handle events
9036 * java/awt/EventQueue.java
9037 (dispatchEvent): Don't do the global event dispatching here. This
9038 is moved to the Component.
9039 (globalDispatchEvent): Moved this method to Toolkit.
9040 * java/awt/LightweightDispatcher.java
9041 (instances): New field.
9042 (getInstance): New method. Delivers an instance of
9043 LightweightDispatcher.
9044 (LightweightDispatcher): Made default constructor private.
9045 (dispatchEvent): New method. Replaces the eventDispatched method.
9046 This now returns true when the event was actually dispatched.
9047 (eventDispatched): Replaced by dispatchEvent.
9048 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
9049 received the last MOUSE_RELEASED.
9050 * java/awt/Toolkit.java
9051 (Toolkit): Don't register LightweightDispatcher as global event
9053 (globalDispatchEvent): Moved here from EventQueue.
9055 2006-02-27 David Daney <ddaney@avtrex.com>
9058 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
9060 (getRequestProperties): Rewrote.
9062 2006-02-27 David Daney <ddaney@avtrex.com>
9065 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
9067 (ChunkedInputStream): Extend InputStream.
9069 (headers): Moved to top of class.
9070 (constructor): Save referenct to in.
9071 (read(byte[])): Removed method.
9072 (read(byte[], int, int)): Made synchronized and throw IOException
9073 on error parsing chunk header.
9074 (available): New method.
9075 (close): New method.
9077 2006-02-27 David Daney <ddaney@avtrex.com>
9079 * gnu/java/net/protocol/http/HTTPURLConnection.java
9080 (imports): Cleaned up.
9081 (GetHTTPPropertiesAction): Removed, and moved contents to ...
9082 (constructor): ... Here, using SystemProperties instead of System.
9084 2006-02-27 Lillian Angel <langel@redhat.com>
9086 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
9087 (setDirectory): GtkFileChooser requires an absolute directory
9088 name. Added a check to make the directory passed to nativeSetDirectory
9091 2006-02-27 Roman Kennke <kennke@aicas.com>
9093 * javax/swing/SwingUtilities.java
9094 (computeIntersection): Changed to store result in rect, instead of
9095 creating new Rectangle instances. Fixed API docs accordingly.
9096 (computeUnion): Changed to store result in rect, instead of
9097 creating new Rectangle instances. Fixed API docs accordingly.
9099 2006-02-27 Roman Kennke <kennke@aicas.com>
9101 * javax/swing/JViewport.java
9102 (static_init): Changed default scrollmode to BLIT.
9103 (paintSimple): Added some clipping to avoid painting problems.
9104 (paintBlit): Added some clipping to avoid painting problems.
9106 2006-02-27 Roman Kennke <kennke@aicas.com>
9108 * javax/swing/JComponent.java
9109 (rectCache): Made field static to save memory.
9110 (getVisibleRect): Don't use rectCache and create new Rectangle
9112 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
9113 (repaint(long,int,int,int,int)): Directly call
9114 RepaintManager.addDirtyRegion(). The visibleRect check is now
9115 performed in the RepaintManager.
9117 2006-02-27 Roman Kennke <kennke@aicas.com>
9119 * javax/swing/RepaintManager.java
9120 (currentRepaintManagers): Made field private.
9121 (rectCache): New field.
9122 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
9123 component. Changed Rectangle handling to avoid unnecessary new
9124 Rectangle instances.
9125 (getOffscreenBuffer): Create buffer with size of the root window.
9126 Respect the maximum buffer size here.
9127 (commitBuffer): Align the regions so that they are inside the buffer
9128 image and inside the clip. This avoids problems with a bug in GTKImage.
9129 Fixed Rectangle handling to avoid creation of new Rectangle instances.
9131 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
9133 * native/fdlibm/e_acos.c,
9134 * native/fdlibm/e_asin.c,
9135 * native/fdlibm/e_atan2.c,
9136 * native/fdlibm/e_cosh.c,
9137 * native/fdlibm/e_exp.c,
9138 * native/fdlibm/e_fmod.c,
9139 * native/fdlibm/e_hypot.c,
9140 * native/fdlibm/e_log.c,
9141 * native/fdlibm/e_log10.c,
9142 * native/fdlibm/e_rem_pio2.c,
9143 * native/fdlibm/e_remainder.c,
9144 * native/fdlibm/e_sinh.c,
9145 * native/fdlibm/e_sqrt.c,
9146 * native/fdlibm/k_cos.c,
9147 * native/fdlibm/k_sin.c,
9148 * native/fdlibm/k_tan.c,
9149 * native/fdlibm/s_atan.c,
9150 * native/fdlibm/s_cbrt.c,
9151 * native/fdlibm/s_ceil.c,
9152 * native/fdlibm/s_copysign.c,
9153 * native/fdlibm/s_cos.c,
9154 * native/fdlibm/s_expm1.c,
9155 * native/fdlibm/s_fabs.c,
9156 * native/fdlibm/s_finite.c,
9157 * native/fdlibm/s_floor.c,
9158 * native/fdlibm/s_log1p.c,
9159 * native/fdlibm/s_rint.c,
9160 * native/fdlibm/s_scalbn.c,
9161 * native/fdlibm/s_sin.c,
9162 * native/fdlibm/s_tan.c,
9163 * native/fdlibm/s_tanh.c:
9164 Fixed to call our macros rather than __HI and __LO.
9165 * native/fdlibm/fdlibm.h:
9166 Reintroduced previous extraction code.
9167 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
9168 (GET_HIGH_WORD(i,d)): Readded.
9169 (GET_LOW_WORD(i,d)): Readded.
9170 (INSERT_WORDS(d,ix0,ix1)): Readded.
9171 (SET_HIGH_WORD(d,i)): Readded.
9172 (SET_LOW_WORD(d,i)): Readded.
9173 * native/jni/gtk-peer/gthread-jni.c:
9174 Use Glib macros to convert integers/pointers portably.
9176 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
9178 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
9179 as the fallback SPI.
9180 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
9181 ones referencing GNU-CRYPTO classes.
9182 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
9183 (engineValidate): Use GNU-CRYPTO class.
9184 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
9185 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
9186 * gnu/java/security/provider/DSAKeyFactory: Likewise.
9187 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
9188 * gnu/java/security/provider/DSAParameters: Likewise.
9189 * gnu/java/security/provider/DSASignature: Likewise.
9190 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
9191 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
9192 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
9193 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
9194 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
9195 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
9196 * gnu/java/security/provider/MD2withRSA: Likewise.
9197 * gnu/java/security/provider/MD4withRSA: Likewise.
9198 * gnu/java/security/provider/MD5: Likewise.
9199 * gnu/java/security/provider/MD5withRSA: Likewise.
9200 * gnu/java/security/provider/RSA: Likewise.
9201 * gnu/java/security/provider/RSAKeyFactory: Likewise.
9202 * gnu/java/security/provider/SHA: Likewise.
9203 * gnu/java/security/provider/SHA1PRNG: Likewise.
9204 * gnu/java/security/provider/SHA1withRSA: Likewise.
9205 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
9207 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
9209 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
9210 (engineGeneratePublic): Added logging.
9211 (engineGeneratePrivate): Likewise.
9212 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
9213 (encodePublicKey): Added logging.
9214 Clarified in method documentation that params is optional, but is
9215 always NULL if present.
9216 (decodePublicKey): Added logging.
9217 Handle optional NULL element.
9219 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
9221 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
9223 2006-02-25 Chris Burdess <dog@gnu.org>
9225 * gnu/java/net/CRLFInputStream.java,
9226 gnu/java/net/LineInputStream.java: Streams that use mark
9227 capabilities on the underlying stream do not expose mark
9228 functionality themselves.
9229 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
9232 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
9234 * gnu/regexp/REMatch.java(matchFlags): New int field used as
9235 option flags passed to match methods.
9236 (MF_FIND_ALL): New flag.
9237 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
9238 do not try other possibilties once a match is found.
9239 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
9240 so that all possibilities can be found.
9241 (match): Rewritten using new methods matchMinimum and _match.
9242 (_match): New method which performs a depth-first recursive search.
9243 (matchMinimum): New method.
9244 (initVisited), (visitedContains), (addVisited): New methods for
9245 manipulating an array of icharacter positions which _match has
9248 2006-02-24 David Daney <ddaney@avtrex.com>
9251 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
9253 (Pool): New inner class.
9254 (timeLastUsed): New field.
9255 (setPool): Changed parameter type to Pool.
9256 (release): Moved pool management logic to new class Pool.
9257 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
9259 (maxConnections) : Removed.
9260 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
9261 (getConnection): Moved pool management logic to HTTPConnection.Pool.
9263 2006-02-24 Lillian Angel <langel@redhat.com>
9265 * java/awt/Container.java:
9266 Added new field. True if Container has been cleared and
9267 heavyweights need to be repainted.
9268 (paint): Fixed comment. Fixed to use backCleared and
9270 (update): Set backCleared to true after the background
9271 of the container has been cleared.
9273 2006-02-24 Lillian Angel <langel@redhat.com>
9275 * java/awt/TextField.java
9276 (addNotify): Added call to super.
9278 2006-02-24 Lillian Angel <langel@redhat.com>
9280 * java/awt/Component.java
9281 (reshape): Reverted last patch. Should have check here.
9282 (addNotify): Added check. If parent is lightweight, then
9283 initialize listener on the parent.
9284 (HeavyweightInLightweightListener): New class.
9286 2006-02-24 Roman Kennke <kennke@aicas.com>
9288 * javax/swing/plaf/basic/BasicComboPopup.java
9289 (show): Register the popup with the autocloser after it has been
9290 opened completely, by putting the registration on the eventqueue.
9292 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
9294 * gnu/java/security/prng/BasePRNG.java:
9295 (clone()): Added cast of buffer to byte[].
9296 * gnu/javax/crypto/mac/TMMH16.java:
9297 (clone()): Fixed casting of cloned arrays.
9298 * native/fdlibm/fdlibm.h:
9299 Added missing defines from old fdlibm.h needed by Darwin.
9300 (GET_FLOAT_WORD(i,d)): Re-added.
9301 (SET_FLOAT_WORD(d,i)): Re-added.
9303 2006-02-24 Roman Kennke <kennke@aicas.com>
9305 * java/awt/Container.java:
9306 (dispatcher): Removed field.
9307 (dispatchEventImpl): Removed lightweight dispatching.
9308 (addNotifyContainerChildren): Removed LightweightDispatcher
9310 (LightweightDispatcher): Removed class.
9311 * java/awt/LightweightDispatcher.java: New class.
9312 * java/awt/Toolkit.java
9313 (Toolkit): Install LightweightDispatcher in global listener
9316 2006-02-24 Chris Burdess <dog@gnu.org>
9319 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
9322 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
9324 * NEWS: Mentions the VMMath runtime changes.
9325 * doc/vmintegration.texinfo: Updated to include
9328 2006-02-24 Roman Kennke <kennke@aicas.com>
9330 * javax/swing/plaf/basic/BasicLookAndFeel.java
9331 (PopupHelper.autoClosePopups): New field.
9332 (PopupHelper.mousePressed): Also autoclose any registered popups.
9333 (PopupHelper.registerForAutoClose): New method.
9334 (PopupHelper.autoClosePopups): New method.
9335 (popupHelper): Changed type of field to PopupHelper.
9336 (registerForAutoClose): New method.
9337 * javax/swing/plaf/basic/BasicComboPopup.java
9338 (show): Register this popup for autoclosing.
9340 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
9342 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
9343 * gnu/java/security/prng/MDGenerator.java (clone): New method.
9344 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
9346 2006-02-24 Roman Kennke <kennke@aicas.com>
9348 Reported by Ingo Proetel <proetel@aicas.com>
9349 * java/util/logging/LogManager.java
9350 (addLogger): Search the parent loggers for log level
9351 configuration and inherit that.
9352 (readConfiguration): Provide minimal default configuration
9353 if no configuration can be found otherwise.
9355 2006-02-23 Roman Kennke <kennke@aicas.com>
9357 * javax/swing/JRootPane.java
9358 (isOptimizedDrawingEnabled): Implemented to return true
9359 when the glassPane is not visible.
9361 2006-02-23 Roman Kennke <kennke@aicas.com>
9363 * javax/swing/plaf/basic/BasicLookAndFeel.java
9364 (PopupHelper): New inner class.
9365 (popupHelper): New field.
9366 (initialize): New method.
9367 (uninitialize): New method.
9368 * javax/swing/plaf/basic/BasicPopupMenuUI.java
9369 (mouseInputListener): Removed field.
9370 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
9371 handling of GlassPane.
9372 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
9373 handling of GlassPane.
9374 (MouseInputHandler): Removed class.
9376 2006-02-23 Roman Kennke <kennke@aicas.com>
9378 * java/awt/AWTEvent.java
9379 (eventIdToMask): New utility method.
9380 * java/awt/EventQueue.java
9381 (dispatchEvent): Also globally dispatch events via the toolkit.
9382 (globalDispatchEvent): New method.
9383 * java/awt/Toolkit.java
9384 (awtEventListeners): New field.
9385 (Toolkit()): Initialize new field.
9386 (createComponent): Create GLightweightPeer here.
9387 (addAWTEventListener): Implemented and documented.
9388 (removeAWTEventListener): Implemented and documented.
9389 (getAWTEventListeners): Implemented and documented both method
9391 * java/awt/event/AWTEventListenerProxy.java
9392 (eventDispatched): Don't filter events here.
9394 2006-02-23 Chris Burdess <dog@gnu.org>
9397 * gnu/xml/dom/DomDocumentBuilderFactory.java,
9398 gnu/xml/dom/JAXPFactory.java,
9399 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
9400 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
9401 implement DocumentBuilderFactory.get/setFeature methods.
9403 2006-02-23 Lillian Angel <langel@redhat.com>
9405 * gnu/java/awt/peer/GLightweightPeer.java
9406 (repaint): Scott's proposed fix. Send repaint to the
9408 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9409 (setBounds): Removed next_parent, not needed. Removed
9410 lightweightChild, we always need to compensate for the
9412 * java/awt/Component.java
9413 (setBounds): Removed check. Caused lots of problems, because some
9414 components were not being invalidated. Components should be
9415 invalidated when they are resized or moved, and in some cases,
9416 when a parent is resized/moved, the components do not know
9417 about it and do not adjust.
9418 * java/awt/Graphics.java
9419 (hitClip): Scott's proposed fix. Added check to handle a
9422 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
9424 * javax/print/attribute/standard/MediaSize.java:
9425 (media): Field renamed to mediaName for serialization.
9426 (MediaSize): Adapted to new fieldname.
9427 (getMediaSizeName): Likewise.
9428 * javax/print/attribute/HashAttributeSet.java:
9429 (interfaceName): Field renamed to myInterface for serialization.
9430 (HashAttributeSet): Adapted to the new fieldname.
9433 (addInternal): Likewise.
9434 (attributeMap): Made transient.
9435 (readObject): New serialization method.
9436 (writeObject): Likewise.
9437 * javax/print/attribute/AttributeSetUtilities.java:
9438 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
9439 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
9440 (SynchronizedAttributeSet.addAll): Likewise.
9441 (SynchronizedAttributeSet.clear): Likewise.
9442 (SynchronizedAttributeSet.containsKey): Likewise.
9443 (SynchronizedAttributeSet.containsValue): Likewise.
9444 (SynchronizedAttributeSet.equals): Likewise.
9445 (SynchronizedAttributeSet.get): Likewise.
9446 (SynchronizedAttributeSet.hashCode): Likewise.
9447 (SynchronizedAttributeSet.isEmpty): Likewise.
9448 (SynchronizedAttributeSet.remove): Likewise.
9449 (SynchronizedAttributeSet.size): Likewise.
9450 (SynchronizedAttributeSet.toArray): Likewise.
9451 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
9452 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
9453 (UnmodifiableAttributeSet.addAll): Likewise.
9454 (UnmodifiableAttributeSet.clear): Likewise.
9455 (UnmodifiableAttributeSet.containsKey): Likewise.
9456 (UnmodifiableAttributeSet.containsValue): Likewise.
9457 (UnmodifiableAttributeSet.equals): Likewise.
9458 (UnmodifiableAttributeSet.get): Likewise.
9459 (UnmodifiableAttributeSet.hashCode): Likewise.
9460 (UnmodifiableAttributeSet.isEmpty): Likewise.
9461 (UnmodifiableAttributeSet.remove): Likewise.
9462 (UnmodifiableAttributeSet.size): Likewise.
9463 (UnmodifiableAttributeSet.toArray): Likewise.
9464 * javax/print/attribute/standard/MediaPrintableArea.java:
9465 (width): Field renamed to w for serialization.
9466 (height): Field renamed to h for serialization.
9467 (MediaPrintableArea): Adapted to the new fieldnames.
9468 (MediaPrintableArea): Likewise.
9470 (hashCode): Likewise.
9471 (getHeight): Likewise.
9472 (getWidth): Likewise.
9474 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
9476 * include/java_lang_VMMath.h:
9477 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
9478 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
9479 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
9480 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
9481 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
9482 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
9483 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
9484 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
9485 * java/lang/Math.java:
9486 (cbrt(double)): Implemented.
9487 (cosh(double)): Implemented.
9488 (expm1(double)): Implemented.
9489 (hypot(double,double)): Implemented.
9490 (log10(double)): Implemented.
9491 (log1p(double)): Implemented.
9492 (signum(double)): Implemented.
9493 (signum(float)): Implemented.
9494 (sinh(double)): Implemented.
9495 (tanh(double)): Implemented.
9496 * native/fdlibm/Makefile.am:
9497 Added new files from fdlibm 5.3.
9498 * native/fdlibm/e_acos.c,
9499 * native/fdlibm/e_asin.c,
9500 * native/fdlibm/e_atan2.c,
9501 * native/fdlibm/e_exp.c,
9502 * native/fdlibm/e_fmod.c,
9503 * native/fdlibm/e_log.c,
9504 * native/fdlibm/e_rem_pio2.c,
9505 * native/fdlibm/e_remainder.c,
9506 * native/fdlibm/e_scalb.c,
9507 * native/fdlibm/e_sqrt.c,
9508 * native/fdlibm/k_cos.c,
9509 * native/fdlibm/k_rem_pio2.c,
9510 * native/fdlibm/k_sin.c,
9511 * native/fdlibm/k_tan.c,
9512 * native/fdlibm/s_atan.c,
9513 * native/fdlibm/s_ceil.c,
9514 * native/fdlibm/s_copysign.c,
9515 * native/fdlibm/s_cos.c,
9516 * native/fdlibm/s_fabs.c,
9517 * native/fdlibm/s_finite.c,
9518 * native/fdlibm/s_floor.c,
9519 * native/fdlibm/s_rint.c,
9520 * native/fdlibm/s_scalbn.c,
9521 * native/fdlibm/s_sin.c,
9522 * native/fdlibm/s_tan.c,
9523 * native/fdlibm/w_acos.c,
9524 * native/fdlibm/w_asin.c,
9525 * native/fdlibm/w_atan2.c,
9526 * native/fdlibm/w_acos.c,
9527 * native/fdlibm/w_exp.c,
9528 * native/fdlibm/w_fmod.c,
9529 * native/fdlibm/w_log.c,
9530 * native/fdlibm/w_pow.c,
9531 * native/fdlibm/w_remainder.c,
9532 * native/fdlibm/w_sqrt.c:
9533 Updated to fdlibm 5.3.
9534 * native/fdlibm/e_cosh.c,
9535 * native/fdlibm/e_hypot.c,
9536 * native/fdlibm/e_log10.c,
9537 * native/fdlibm/e_sinh.c,
9538 * native/fdlibm/s_cbrt.c,
9539 * native/fdlibm/s_expm1.c,
9540 * native/fdlibm/s_log1p.c,
9541 * native/fdlibm/s_tanh.c,
9542 * native/fdlibm/w_cosh.c,
9543 * native/fdlibm/w_hypot.c,
9544 * native/fdlibm/w_log10.c,
9545 * native/fdlibm/w_sinh.c:
9546 Imported from fdlibm 5.3.
9547 * native/fdlibm/fdlibm.h:
9548 Imported from fdlibm 5.3 with Classpath additions.
9549 * native/fdlibm/namespace.h:
9550 Updated from new math_symbols file.
9551 * native/jni/java-lang/java_lang_VMMath.c:
9552 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
9553 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
9554 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
9555 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
9557 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
9558 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
9559 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
9560 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
9561 * scripts/math_symbols:
9562 Added tanh, expm1, log10 and log1p.
9563 * vm/reference/java/lang/VMMath.java:
9564 (cbrt(double)): Implemented.
9565 (cosh(double)): Implemented.
9566 (expm1(double)): Implemented.
9567 (hypot(double,double)): Implemented.
9568 (log10(double)): Implemented.
9569 (log1p(double)): Implemented.
9570 (sinh(double)): Implemented.
9571 (tanh(double)): Implemented.
9573 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
9575 * javax/print/DocFlavor.java: Added documentation all over.
9576 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
9577 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
9578 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
9579 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
9580 (URL.TEXT_HTML_HOST): Likewise.
9581 (URL.TEXT_PLAIN_HOST): Likewise.
9582 (hostEncoding): Initialize with host default charset encoding.
9583 (mediaSubtype): Made transient.
9584 (mediaType): Likewise.
9585 (params): Made transient. Changed type to TreeMap.
9586 (className): Removed, changed to myClassName.
9587 (myClassName): New field as defined in serialized form.
9588 (DocFlavor): Adapted to new variable types, names.
9589 (parseMimeType): Reimplemented.
9590 (getParameter): Search with lowercase name.
9591 (getRepresentationClassName): Adapted to changed variable name.
9592 (hashCode): Likewise.
9593 (toString): Reimplemented.
9594 (readObject): New method for serialization.
9595 (writeObject): Likewise.
9597 2006-02-23 Roman Kennke <kennke@aicas.com>
9599 * javax/swing/RepaintManager.java
9600 (commitBuffer): Clip the repaint area with the current clip.
9602 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
9604 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
9605 (DEFAULT_PRIME_SIZE): Made public.
9606 (DEFAULT_EXPONENT_SIZE): Likewise.
9607 (setup): Handle DHParameterSpec as well.
9608 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
9609 defaultFormat instead of Raw.
9610 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
9611 (checkIsConstructed): Removed.
9612 (checkIsBigInteger): Likewise.
9613 (decodePublicKey): Use DerUtil.
9614 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
9615 (checkIsConstructed): Removed.
9616 (checkIsBigInteger): Likewise.
9617 (decodePrivateKey): Use DerUtil.
9618 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
9620 Added mappings for AlgorithmParameters.DH and
9621 AlgorithmParameterGenerator.DH.
9622 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
9623 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
9624 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
9625 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
9627 (engineGeneratePublic): Likewise.
9628 * gnu/java/security/util/DerUtil.java: New file.
9629 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
9630 Include only valid RSA PKCS1 (v1.5) signature names.
9631 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
9632 (RSAPKCS1V1_5SignatureX509Codec): Removed.
9633 (checkIsConstructed): Likewise.
9634 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
9635 (checkIsConstructed): Removed.
9636 (checkIsBigInteger): Likewise.
9637 (decodeSignature): Use DerUtil.
9638 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
9639 (checkIsConstructed): Removed.
9640 (checkIsBigInteger): Likewise.
9641 (decodePublicKey): Use DerUtil.
9642 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
9643 (checkIsConstructed): Removed.
9644 (checkIsBigInteger): Likewise.
9645 (decodePrivateKey): Use DerUtil.
9646 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
9647 (checkIsConstructed): Removed.
9648 (checkIsBigInteger): Likewise.
9649 (decodePublicKey): Use DerUtil.
9650 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
9651 (checkIsConstructed): Removed.
9652 (checkIsBigInteger): Likewise.
9653 (decodePrivateKey): Use DerUtil.
9654 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
9655 (DEFAULT_MODULUS_LENGTH): Made it public.
9656 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
9657 defaultFormat instead of Raw.
9658 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
9659 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
9660 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
9662 (engineGeneratePublic): Likewise.
9663 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
9665 2006-02-22 Mark Wielaard <mark@klomp.org>
9667 * java/awt/Checkbox.java (setState): Check that state actually changed
9668 before calling peer.
9669 (dispatchEventImpl): Set new state if ItemEvent.
9670 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
9671 (create): Set currentState.
9672 (setState): Make synchronized, check and set currentState before
9673 calling gtkToggleButtonSetActive.
9674 (postItemEvent): Make synchronized, check and set currentState before
9676 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9677 (postItemEventID): Method now takes boolean.
9678 (item_toggled_cb): Likewise.
9680 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
9682 * javax/swing/text/DefaultHighlighter.java:
9683 (changeHighlight): Added code to minimize the damaged area.
9685 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
9687 * javax/swing/text/PlainView.java:
9688 (getPreferredSpan): Added missing 'break'.
9689 statement which corrects an unwanted fall through.
9690 (updateDamage): Update maxLineLength correctly when text is
9691 removed, call preferenceChanged accordingly.
9692 (viewToModel): Restrict line number to be within 0 and the
9693 number of elements-1.
9695 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
9697 * javax/swing/text/Utilities.java:
9698 (getPositionAbove): Prefer first value by changing comparison
9700 (getPositionBelow): Dito.
9702 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
9704 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
9705 behavior when magic caret position is null.
9707 2006-02-22 Roman Kennke <kennke@aicas.com>
9709 * javax/swing/JTextField.java
9710 (isValidateRoot): New method.
9712 2006-02-22 Roman Kennke <kennke@aicas.com>
9714 * javax/swing/JEditorPane.java
9715 (getPreferredSize): Rewritten to behave like the reference impl.
9716 (getScrollableTracksViewportWidth): Likewise.
9717 (getScrollableTracksViewportHeight): Likewise.
9719 2006-02-22 Roman Kennke <kennke@aicas.com>
9721 * javax/swing/RepaintManager.java
9722 (addInvalidComponent): Also consider the component itself.
9724 2006-02-22 Mark Wielaard <mark@klomp.org>
9726 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
9727 qualify AbstractDocument.AttributeContext.
9728 (blockOpen): Likewise.
9730 2006-02-21 Mark Wielaard <mark@klomp.org>
9732 * java/awt/Component.java (translateEvent): Translate
9733 AdjustmentEvents to 1.0 Events.
9734 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
9735 Call setValue() before processing event.
9736 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
9737 whether we are currently changing and being called back from the
9738 Scrollbar component.
9739 (setBarValues): New native method.
9740 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
9741 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
9742 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
9743 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
9744 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
9746 2006-02-21 Roman Kennke <kennke@aicas.com>
9748 * javax/swing/text/View.java
9749 (setParent): Set child parent to null when disconnecting
9750 the view from the View hierarchy.
9752 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
9754 * javax/print/StreamPrintService.java: Added and enhanced documentation.
9756 2006-02-21 Roman Kennke <kennke@aicas.com>
9758 * javax/swing/text/WrappedPlainView.java
9759 (calculateBreakPosition): Changed to use the view's allocation instead
9760 of the container's preferredSize.
9762 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
9764 * java/awt/CardLayout.java:
9765 (first): Updated api documentation.
9768 (previous): Likewise.
9769 (show): Clarified api docs. Return if name is null. Throw
9770 IllegalArgumentException if layout of container is not this.
9771 (gotoComponent): Updated api documentation. Throw
9772 IllegalArgumentException if layout of container is not this.
9774 2006-02-21 Roman Kennke <kennke@aicas.com>
9776 * javax/swing/text/NavigationFilter.java
9777 (getNextVisualPositionFrom): New method.
9779 2006-02-21 Roman Kennke <kennke@aicas.com>
9781 * javax/swing/plaf/basic/BasicTextUI.java
9782 (RootView.setView): Call setParent() on the view with this as
9783 argument instead of null.
9784 (setView): Don't set root view's parent here.
9786 2006-02-21 Roman Kennke <kennke@aicas.com>
9788 * javax/swing/text/AbstractDocument.java
9789 (AbstractElement.getAttribute): Use getResolveParent() to fetch
9790 the resolving parent.
9791 (AbstractElement.getResolveParent): Fixed to handle possible null
9793 * javax/swing/text/BoxView.java
9794 (childReqs): New field.
9795 (paint): Added debugging code (commented out).
9796 (getPreferredSpan): Rewritten to use new update* methods.
9797 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
9798 for the minor axis and preferredSpan for the major axis.
9799 (getMinimumSpan): Rewritten to use new update* methods.
9800 (baselineRequirements): Rewritten to avoid creation of
9801 unnecessary SizeRequirements objects.
9802 (baselineLayout): Rewritten to use new update* methods.
9803 (calculateMajorAxisRequirements): Rewritten to avoid creation of
9804 unnecessary SizeRequirements objects.
9805 (calculateMinorAxisRequirements): Rewritten to avoid creation of
9806 unnecessary SizeRequirements objects.
9807 (layout): Some robustness fixes for the layout. Turned AssertionErrors
9809 (layoutMajorAxis): Rewritten to use new update* methods.
9810 (layoutMinorAxis): Rewritten to use new update* methods.
9811 (getChildRequirements): Replaced by the update* methods.
9812 (getAlignment): Use update* methods.
9813 (updateChildRequirements): New methods. Updates the child requirements
9815 (updateRequirements): New methods. Updates the BoxView requirements
9817 * javax/swing/text/DefaultStyledDocument.java
9818 (ElementBuffer.insert): Added warning for illegal replacement operation.
9819 * javax/swing/text/FlowView.java
9820 (layoutRow): When offset doesn't change, return -1.
9821 (LogicalView): Now subclasses BoxView.
9822 (loadChildren): Let the CompositeView.setParent() load the children
9824 (calculateMinorRequirements): New overridden method.
9825 * javax/swing/text/GlyphView.java
9826 (DefaultGlyphPainter.paint): Fixed typo.
9827 (startOffset): Made field private.
9828 (endOffset): Made field private.
9829 (paint): Call getStartOffset() and getEndOffset() instead of the
9831 (isStrikeThrough): Fixed typo.
9832 (breakView): Use Utilities.getBreakLocation() to determine best
9834 (changedUpdate): Call preferencedChange on this instead of parent.
9835 (removeUpdate): Call preferencedChange on this instead of parent.
9836 * javax/swing/text/ParagraphView.java
9837 (Row.getAlignment): For Y_AXIS, call super.
9838 (getAlignment): Likewise.
9839 * javax/swing/text/Utilities.java
9840 (getBreakLocation): Set Segment object directly on the BreakIterator.
9841 * javax/swing/text/html/HTML.java
9842 (Attribute): Made class non-serializable and final as specified.
9843 (Attribute(String)): Made constructor private.
9844 (Attribute.compareTo): Removed.
9845 (Attribute.equals): Removed.
9846 (Attribute.hashCode): Removed.
9847 (Tag): Made class non-comparable and non-serializable as specified.
9848 (Tag.compareTo): Removed.
9849 (Tag.equals): Removed.
9850 (Tag.hashCode): Removed.
9851 * javax/swing/text/html/HTMLDocument.java
9852 (HTMLReader.blockOpen): Add tag as name attribute to element.
9853 * javax/swing/text/html/HTMLEditorKit.java
9854 (HTMLFactory.create): Create NullView for <head> tags, removed unused
9856 * javax/swing/text/html/InlineView.java
9857 (setPropertiesFromAttributes): Call super.
9858 * javax/swing/text/html/NullView.java: New class.
9860 2006-02-21 Roman Kennke <kennke@aicas.com>
9863 * javax/swing/text/GapContent.java
9864 (GapContentPosition): Made class private.
9865 (InsertUndo): Made class private.
9866 (UndoRemove): Made class private.
9867 (WeakPositionComparator): New inner class.
9868 (positions): Made field private.
9869 (createPosition): Clear up GC'ed positions before creating
9870 a new one. Store position as WeakReference.
9871 (getPositionsInRange): Changed to handle WeakReference
9873 (setPositionsInRange): Changed to handle WeakReference
9875 (adjustPositionsInRange): Changed to handle WeakReference
9877 (dumpPositions): Handle WeakReference positions.
9878 (clearPositionReferences): New method.
9880 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
9882 * javax/swing/plaf/basic/BasicTextUI.java:
9883 (paint): Remove unneccessary part of the if-expression.
9884 (damageRange): Added case where the range spans multiple lines.
9885 * javax/swing/text/DefaultCaret.java:
9886 (clearHighlight): New method.
9887 (handleHighlight): Removed unneccessary part of the if-expression.
9888 (setDot): Use clearHighlight method.
9889 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
9891 (paint): Prevented calling size() on every loop iteration, fixed
9892 calculation of allocation area bounds.
9893 (getHighlights): Implemented.
9894 (removeHighlight): Mark damaged area in textcomponent.
9895 (addHighlight): Mark damaged area in textcomponent.
9896 (changeHighlight): Mark damaged area in textcomponent.
9897 (DefaultHighlighter.HighlightEntry): Made it a real
9898 Highlighter.Highlight implementation.
9899 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
9902 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
9904 * java/util/zip/ZipConstants.java
9905 (LOCSIG): Change type to long.
9909 * java/util/zip/ZipOutputStream.java
9910 (writeLeInt(long)): New method.
9912 2006-02-21 Michael Koch <konqueror@gmx.de>
9914 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
9916 2006-02-20 Mark Wielaard <mark@klomp.org>
9918 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9919 (begin_drawing_operation): Output stacktrace and return on bad cairo
9921 (end_drawing_operation): Likewise. And reset cairo_t.
9923 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
9925 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
9926 in backward selection action.
9928 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
9930 * java/lang/reflect/Proxy.java:
9931 (ProxyData.getProxyData): Skipped overriding of core methods.
9932 (ProxyData.isCoreObjectMethod): New method.
9934 2006-02-20 Mark Wielaard <mark@klomp.org>
9936 * gnu/java/nio/charset/Provider.java (Provider): Package private.
9938 2006-02-20 Roman Kennke <kennke@aicas.com>
9940 * javax/swing/text/html/Option.java: New class.
9942 2006-02-20 Lillian Angel <langel@redhat.com>
9944 * java/swt/Window.java
9945 (show): Calling show() on the owned windows caused problems.
9946 Changed back to get the peer and call setVisible.
9948 2006-02-20 Roman Kennke <kennke@aicas.com>
9950 * javax/swing/plaf/basic/BasicTextUI.java
9951 (damageRange): Implemented this method.
9953 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
9955 * javax/swing/text/GapContent.java:
9956 (shiftGapEndUp): Corrected new mark value.
9957 * javax/swing/text/AbstractDocument.java:
9958 (remove): Changed order of operations.
9960 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
9962 * javax/swing/text/GapContent.java:
9963 (shiftGapEndUp): Reverted.
9964 * javax/swing/text/AbstractDocument.java:
9967 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
9969 * javax/swing/text/GapContent.java:
9970 (shiftGapEndUp): Corrected new mark value.
9971 * javax/swing/text/AbstractDocument.java:
9972 (remove): Changed order of operations.
9974 2006-02-20 Mark Wielaard <mark@klomp.org>
9976 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
9979 (addNotify): Add the item after addNotifying it.
9980 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
9981 there is a peer. Use getParent() and setParent() to manipulate parent
9983 (add(Menu)): Use getParent() and setParent() to manipulate parent
9984 field. Call addNotify() and addMenu() when there is a peer.
9985 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
9986 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
9987 when there is a peer.
9988 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
9989 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
9990 (setFont): Call setFont(Font).
9991 (setFont(Font)): Document. Only set font when not null.
9992 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
9994 (connectSignals): Likewise.
9995 (GtkMenuItemPeer): Document. Don't try to add item. Always call
9997 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
9999 (postMenuActionEvent): Document.
10000 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
10002 (addItem): Document. Made private.
10003 (addTearOff): Made private.
10004 (connectSignals): New protected overridden method.
10005 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
10006 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
10007 (create): Document.
10008 (addMenu): Made private, take GtkMenuPeer as argument and document.
10009 (GtkMenuBarPeer): Document.
10010 (nativeSetHelpMenu): Removed.
10011 (addHelpMenu): Implement.
10012 (delMenu): Document.
10013 (addMenu): Implement.
10014 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
10015 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
10016 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
10017 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
10020 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10022 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
10023 Expect that proxy interfaces may have different class loaders.
10024 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
10025 * java/rmi/registry/Registry.java,
10026 * java/rmi/server/UnicastRemoteObject.java:
10027 Documented about proxy stubs.
10028 * gnu/java/rmi/server/CombinedClassLoader.java,
10029 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
10030 * NEWS: Added entry.
10032 2006-02-19 Mark Wielaard <mark@klomp.org>
10034 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
10035 Parent and Bounds of our children if either or parent is showing, or
10036 we are a Window and are showing ourselves now.
10038 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10040 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
10042 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
10043 Another stub name fix.
10045 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10047 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
10048 Call convertStubName. (convertStubName): New method.
10049 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
10050 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
10051 (convertStubName): New method.
10052 (getMethodHashCode):
10053 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
10054 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
10056 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10058 * java/rmi/server/UnicastRemoteObject.java: Documenting.
10060 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10062 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
10064 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10066 * javax/swing/JViewport.java (paintBackingStore): If the component has
10067 not been scrolled, only repaint the buffer part, indicated by
10068 the parameter graphics clip.
10070 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
10072 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
10074 (writePrivateKey): Likewise.
10075 (writeKey): New method.
10076 (getKeyType): Likewise.
10077 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
10079 (readPrivateKey): Likewise.
10080 (getKeyPairCodec): New method.
10081 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
10082 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
10083 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
10084 (RSA_PSS_ENCODING): Likewise..
10085 (RSA_PKCS1_V1_5_ENCODING): Likewise.
10086 (RSA_PSS_SIG): Redefined using other constants.
10087 (RSA_PKCS1_V1_5_SIG): Likewise.
10088 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
10089 * gnu/java/security/util/FormatUtil.java: New file.
10090 * gnu/java/security/sig/SignatureFactory.java (names): New field.
10091 (getInstance): Let RSASignatureFactory handle RSA signature names.
10092 (getNames): Handle new RSA signature (with format) names.
10093 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
10094 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
10096 (name): Include hash algorithm name.
10097 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
10098 * gnu/java/security/sig/rsa/RSAPSSSignature.java
10099 (RSAPSSSignature): Call constructor with IMessageDigest.
10100 (RSAPSSSignature(ImessageDigest,int)): New constructor.
10101 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
10103 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
10105 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
10106 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
10107 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
10108 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
10109 hash algorithm name to exception.
10110 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
10111 * gnu/java/security/key/KeyPairCodecFactory.java
10112 (names): New class field.
10113 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
10114 (getInstance(String,String)): New method.
10115 (getInstance(String,int)): New method.
10116 (getInstance(byte[])): Removed.
10117 (getInstance(Key)): Handle new formats.
10118 (getNames): Likewise.
10119 (getEncodingName(int)): Moved to FormatUtil.
10120 (getEncodingShortName(int)): Likewise.
10121 (getRawCodec(String)): New method.
10122 (getX509Codec(String)): Likewise.
10123 (getPKCS8Codec(String)): Likewise.
10124 (getRawCodec(Key)): Likewise.
10125 (getX509Codec(Key)): Likewise.
10126 (getPKCS8Codec(Key)): Likewise.
10127 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
10128 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
10129 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
10130 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
10131 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
10132 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
10133 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
10134 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
10135 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
10137 2006-02-18 Mark Wielaard <mark@klomp.org>
10139 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
10141 (NoDragGestureRecognizer): New static class.
10142 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
10143 Toolkit doesn't support drag and drop.
10145 2006-02-18 Mark Wielaard <mark@klomp.org>
10147 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
10148 (AbstractAction(String)): Just call putValue() for NAME.
10149 (putValue): Nothing to do is old and new value are both null.
10151 2006-02-18 Mark Wielaard <mark@klomp.org>
10153 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
10154 through getContentPane().
10155 (preferredLayoutSize): Likewise.
10157 2006-02-18 Mark Wielaard <mark@klomp.org>
10159 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
10160 actually set before painting.
10162 2006-02-18 Mark Wielaard <mark@klomp.org>
10164 * javax/swing/text/html/HTMLDocument.java (addContent):
10165 Fully qualify AbstractDocument.AttributeContext and
10166 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
10168 2006-02-18 Mark Wielaard <mark@klomp.org>
10170 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
10171 (getRepresentationClassFromMime): Add exception cause to
10172 IllegalArgumentException.
10174 2006-02-17 Lillian Angel <langel@redhat.com>
10176 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
10177 Removed unneeded import.
10178 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
10179 Removed unneeded imports.
10180 * java/awt/BorderLayout.java:
10181 Fixed comment, this is not yet handled in the JDK 1.5.
10182 * java/awt/Container.java:
10183 Removed unneeded import.
10185 2006-02-17 Lillian Angel <langel@redhat.com>
10187 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10188 (setBounds): Removed check. Coordinates should always be changed
10189 to incorporate the parent's coordinates.
10190 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10191 (setMenuBar): Added checks. Don't validate component if it has
10192 not been validated yet, it will be validated later. Only validate
10193 if it has already been validated, in that case it needs to be
10195 * java/awt/Window.java
10196 (show): Added check. If the window is visible, then bring it to the
10197 front. Otherwise, iterate through all its children windows and show them.
10198 No need to do both.
10200 2006-02-17 Roman Kennke <kennke@aicas.com>
10202 * javax/swing/text/html/ParagraphView.java: New file.
10204 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10206 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
10207 is included. (moveToCellBeingEdited): Adjusted to start editing at the
10208 same location where was the initial text.
10209 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
10211 2006-02-17 Chris Burdess <dog@gnu.org>
10213 Fixes PRs 26319, 26320, 26321, 26322, 26325
10214 * gnu/xml/stream/SAXParser.java: On error, reset parser before
10215 rethrowing exception.
10216 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
10217 1.1-style prefix unbinding in 1.0 document" error for xmlns
10218 prefixes, not xmlns attributes. Fix a problem with empty namespace
10219 stack at the end of a document. Permit parameter entity references
10220 in element and attribute-list definition name area. Corrected
10221 normalisation of whitespace character entity references in CDATA
10222 attribute values. Fixed number of characters read following a
10223 reset when detecting end of character data with characters after a
10224 Unicode surrogate pair.
10226 2006-02-17 Roman Kennke <kennke@aicas.com>
10228 * javax/swing/text/html/HTMLEditorKit.java
10229 (HTMLFactory.create): Create InlineView for content tags.
10230 * javax/swing/text/html/HTMLDocument.java
10231 (HTMLReader.flush): Call create() on first flush and insert
10232 on subsequent flushes.
10234 2006-02-17 Roman Kennke <kennke@aicas.com>
10236 * javax/swing/text/AbstractDocument.java
10237 (BranchElement.getStartOffset): Implemented workaround for wrong
10239 (BranchElement.getEndOffset): Implemented workaround for wrong
10241 (ElementBuffer.split): Use createBranchElement() instead of
10242 new BranchElement().
10243 (ElementBuffer.insertFracture): Use createBranchElement() instead of
10244 new BranchElement().
10245 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
10246 instead of new BranchElement().
10247 (createDefaultRoot): Use createBranchElement() and createLeafElement
10248 instead of the constructors.
10249 (create): Rewritten.
10251 2006-02-17 Keith Seitz <keiths@redhat.com>
10253 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
10254 (SIZE): New constant.
10255 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
10256 (executeIDsizes): Use SIZE constant.
10257 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
10258 (SIZE): New constant.
10260 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10262 * javax/swing/JTable.java (IconCellRenderer): Set the component
10263 text to empty string. (createDefaultRenderers): Register
10264 IconCellRenderer also for ImageIcon.
10265 (getCellEditor(int, int), getCellRenderer(int, int)):
10266 Use model index for data model and column index for column model.
10267 (getColumnClass): Convert to model index before requesting class
10270 2006-02-17 Roman Kennke <kennke@aicas.com>
10272 * javax/swing/text/html/HTMLDocument.java
10273 (createDefaultRoot): Implemented.
10274 (createLeafElement): Implemented.
10275 (createBranchElement): Implemented.
10276 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
10277 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
10278 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
10279 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
10280 (HTMLReader.blockOpen): Add name attribute with the current tag.
10281 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
10283 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10285 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
10287 * javax/swing/table/JTableHeader.java: Documenting related methods.
10289 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
10292 * gnu/java/net/protocol/ftp/FTPURLConnection.java
10293 (connect): Changed to use SystemProperties.
10294 (getInputStream): Try changeWorkingDirectory to figure out if
10295 url is a directory, if not use retrieve.
10296 (getOutputStream): Don't worry about directories, simply always
10299 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
10301 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
10302 (ActiveModeDTP): Mark accept thread as daemon.
10304 2006-02-17 Michael Koch <konqueror@gmx.de>
10306 * tools/.cvsignore: Ignore tools.zip.
10308 2006-02-16 Keith Seitz <keiths@redhat.com>
10310 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
10311 Set the ID's reference.
10312 (<clinit>): Remove comments for field, method, and frame ID types,
10313 which will not be handled by VMIdManager.
10315 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10317 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
10318 Use model index, not the column number.
10319 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
10320 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
10321 movement by painting draggingHeaderRect.
10322 * NEWS: Added entry about JTable columns.
10324 2006-02-16 Keith Seitz <keiths@redhat.com>
10326 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
10327 default size of eight bytes.
10328 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
10329 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
10330 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
10331 (executeIDsizes): Use new static methods.
10332 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
10335 2006-02-16 David Daney <ddaney@avtrex.com>
10338 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
10339 return value with 0xff.
10341 2006-02-16 Keith Seitz <keiths@redhat.com>
10343 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
10344 (matches): Use Iterator instead of ListIterator.
10346 2006-02-16 Keith Seitz <keiths@redhat.com>
10348 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
10349 processor thread for easier debugging.
10350 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
10353 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10355 * javax/swing/JTable.java
10356 (TableColumnPropertyChangeHandler.propertyChange): Return without
10357 action if table header resizing column in not null. (doLayout):
10358 Only repaint the header if it is not null.
10359 * javax/swing/plaf/basic/BasicTableHeaderUI.java
10360 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
10361 Rewritten. (MouseInputHandler.endResizing): New method.
10363 2006-02-16 Roman Kennke <kennke@aicas.com>
10365 * javax/swing/text/html/InlineView.java: New file.
10367 2006-02-16 Roman Kennke <kennke@aicas.com>
10369 * javax/swing/JTabbedPane.java
10370 (AccessibleJTable.getAccessibleChild): Implemented to return
10371 the Page instance for the specified index.
10372 (Page): Changed to implement Accessible and extend
10374 (Page.getAccessibleContext): New method.
10375 (Page.getAccessibleRole): New method.
10376 (Page.getAccessibleStateSet): New method.
10377 (Page.getAccessibleIndexInParent): New method.
10378 (Page.getAccessibleChildrenCount): New method.
10379 (Page.getAccessibleChild): New methdod.
10380 (Page.getLocale): New method.
10382 2006-02-16 Roman Kennke <kennke@aicas.com>
10384 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
10385 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
10386 tabCount gets greater than tabRuns.length.
10387 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
10388 when tabCount gets greater than tabRuns.length.
10389 (paintTabArea): Don't set tabCount == runCount.
10391 2006-02-16 Roman Kennke <kennke@aicas.com>
10393 * javax/swing/plaf/basic/BasicTextUI.java
10394 (installUI): Moved installation of PropertyChangeListener
10395 to installListeners(). Call modelChanged() after everything is
10397 (installListeners): Install PropertyChangeListener here.
10398 (uninstallUI): Moved uninstallation of PropertyChangeListener
10399 to uninstallListeners.
10400 (uninstallListeners): Uninstall PropertyChangeListener here.
10402 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10404 * javax/swing/JTable.java (doLayout):
10405 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
10407 javax/swing/plaf/basic/BasicTableHeaderUI.java
10408 (MouseInputHandler.mouseDragged): Do not repaint the header.
10410 2006-02-16 Roman Kennke <kennke@aicas.com>
10412 * javax/swing/JViewport.java
10413 (static_initializer): Set default scrollMode to backingstore.
10415 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10417 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
10418 returned by getCellRect. To not translate the component.
10420 2006-02-16 Roman Kennke <kennke@aicas.com>
10422 * javax/swing/JComponent.java
10423 (rectCache): Made field non-static to avoid nasty interferences.
10424 (computeVisibleRect): Avoid creation of new Rectangles and double
10425 calculations on ints by using Swing.computeIntersection() instead
10426 of Rectangle2D.intersect().
10427 (repaint): Interect the dirty region with the visible rectangle
10428 of this component to avoid unnecessary painting.
10430 2006-02-16 Gary Benson <gbenson@redhat.com>
10432 * java/lang/Thread.java (stop): Add a missing access check.
10434 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
10436 * javax/swing/text/JTextComponent.java:
10437 (replaceSelection): Added code to update the magic caret position.
10438 * javax/swing/text/DefaultEditorKit.java: Added code to update
10439 the magic caret position of the text component in all relevant
10440 movement actions, make use of the magic caret position in up
10441 and down movements and selections, simplified some actions
10444 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
10446 * gnu/java/lang/CharData.java: Regenerated from
10447 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
10448 and scripts/unicode-muncher.pl.
10449 * java/lang/Character.java:
10450 (PrivateUseCharacters): New private static class.
10451 (UnassignedCharacters): Likewise.
10452 (blocks): Changed from char[] to char[][] to reflect the changes in
10453 gnu/java/lang/CharData. There is now one char[] per Unicode code
10456 (numValue): Likewise.
10459 (direction): Likewise.
10460 (readChar): Replaced this method with new method readCodePoint.
10461 (readCodePoint): New method.
10462 (isLowerCase(char)): Redirected to new isLowerCase(int).
10463 (isLowerCase(int)): New method.
10464 (isUpperCase(char)): Redirected to new isUpperCase(int).
10465 (isUpperCase(int)): New method.
10466 (isTitleCase(char)): Redirected to new isTitleCase(int).
10467 (isTitleCase(int)): New method.
10468 (isDigit(char)): Redirected to new isDigit(int).
10469 (isDigit(int)): New method.
10470 (isDefined(char)): Redirected to new isDefined(int).
10471 (isDefined(int)): New method.
10472 (isLetter(char)): Redirected to new isLetter(int).
10473 (isLetter(int)): New method.
10474 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
10475 (isLetterOrDigit(int)): New method.
10476 (isJavaIdentifierStart(char)): Redirected to new
10477 isJavaIdentifierStart(int).
10478 (isJavaIdentifierStart(int)): New method.
10479 (isJavaIdentifierPart(char)): Redirected to new
10480 isJavaIdentifierPart(int).
10481 (isJavaIdentifierPart(int)): New method.
10482 (isUnicodeIdentifierStart(char)): Redirected to new
10483 isUnicodeIdentifierStart(int).
10484 (isUnicodeIdentifierStart(int)): New method.
10485 (isUnicodeIdentifierPart(char)): Redirected to new
10486 isUnicodeIdentifierPart(int).
10487 (isUnicodeIdentifierPart(int)): New method.
10488 (isIdentifierIgnorable(char)): Redirected to new
10489 isIdentifierIgnorable(int).
10490 (isIdentifierIgnorable(int)): New method.
10491 (toLowerCase(char)): Changed access to lower to correspond with new
10492 char[][] type of lower.
10493 (toLowerCase(int)) New method.
10494 (toUpperCase(char)): Changed access to upper to correspond with new
10495 char[][] type of upper.
10496 (toUpperCase(int)): New method.
10497 (toTitleCase(int)): New method.
10498 (digit(char, int)): Replaced call to readChar with call to
10499 readCodePoint and changed access to numValue to reflect new char[][]
10501 (digit(int, int)): New method.
10502 (getNumericValue(char)): Changed access to numValue to reflect new
10503 char[][] type of numValue.
10504 (getNumericValue(int)): New method.
10505 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
10506 (isSpaceChar(int)): New method.
10507 (isWhitespace(char)): Redirected to new isWhitespace(int).
10508 (isWhitespace(int)): New method.
10509 (isISOControl(char)): Redirected to new isISOControl(int).
10510 (isISOControl(int)): New method.
10511 (getType(char)): Redirected to new getType(int).
10512 (getType(int)): New method.
10513 (getDirectionality(char)): Redirected to new getDirectionality(int).
10514 (getDirectionality(int)): New method.
10515 (isMirrored(char)): Changed call to readChar to readCodePoint.
10516 (isMirrored(int)): New method.
10517 * java/lang/String.java:
10518 (upperCaseExpansion): Changed access to Character.direction to reflect
10519 new char[][] type of direction.
10520 (offsetByCodePoints): New method.
10521 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
10522 4.0.0 which introduced supplementary character assignments.
10524 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10526 * javax/swing/JTable.java,
10527 javax/swing/plaf/basic/BasicTableHeaderUI.java,
10528 javax/swing/table/DefaultTableModel.java: Documented.
10530 2006-02-15 Lillian Angel <langel@redhat.com>
10532 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10533 Removed duplicate methods.
10535 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10537 * javax/swing/JTable.java (distributeSpillResizing): New method.
10538 (doLayout): Use distributeSpillResizing when resizing.
10539 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
10540 Rewritten. (installListeners): Add mouse motion listener.
10541 (uninstallListeners): Remove mouse motion listener.
10543 2006-02-15 Lillian Angel <langel@redhat.com>
10545 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
10546 (setVisible): Removed method.
10547 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10548 (setLocation): New method.
10549 (setLocationUnlocked): New method.
10550 (show): Changed to use setLocation instead of setBounds.
10551 * java/awt/Component.java
10552 (show): Should call peer.show(), not peer.setVisible(), so the
10553 location of the component is correctly set.
10554 (preferredSize): Added curly braces so else statements are
10555 properly associated with if's.
10556 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10557 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
10559 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
10560 LocationUnlocked): New function.
10561 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10562 Added declarations for Java_gnu_java_awt_peer_gtk_
10563 GtkWindowPeer_nativeSetLocation and
10564 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
10565 _nativeSetLocationUnlocked.
10567 2006-02-15 Mark Wielaard <mark@klomp.org>
10569 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
10570 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
10571 Downcast gtk_plug_new result when used.
10573 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
10575 * java/io/ObjectOutputStream.java (writeClassDescriptor):
10576 Call assignNewHandle() after writing Proxy class.
10578 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
10581 * java/io/ObjectInputStream.java (readClassDescriptor):
10582 Class doesn't have to be abstract for first_nonserial.
10584 2006-02-15 Roman Kennke <kennke@aicas.com>
10586 * javax/swing/JInternalFrame.java
10587 (setClosed): Call dispose to actually make the frame invisible
10590 2006-02-15 Roman Kennke <kennke@aicas.com>
10592 * javax/swing/JInternalFrame.java
10593 (dispose): Call setVisible(false) instead of hide.
10594 (doDefaultCloseOperation): Likewise.
10596 2006-02-15 Roman Kennke <kennke@aicas.com>
10598 * javax/swing/JComponent.java
10599 (paintChildren): Also check for the visibility of a child component
10600 to avoid artifacts.
10601 (repaint): Simply add this component to the RepaintManager rather than
10602 trying to do useless optimization here.
10604 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
10606 * javax/swing/JSpinner.java
10607 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
10608 PropertyChangeListener,
10609 (DefaultEditor.getSpinner): Updated API docs,
10610 (DefaultEditor.dismiss): Likewise,
10611 (DefaultEditor.getTextField): Likewise,
10612 (DefaultEditor.layoutContainer): Likewise,
10613 (DefaultEditor.minimumLayoutSize): Likewise,
10614 (DefaultEditor.preferredLayoutSize): Likewise,
10615 (DefaultEditor.propertyChange): Implemented,
10616 (DefaultEditor.stateChanged): Implemented,
10617 (DefaultEditor.removeLayoutComponent): Updated API docs,
10618 (DefaultEditor.addLayoutComponent): Likewise,
10619 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
10620 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
10621 (NumberEditor.getFormat): Implemented,
10622 (NumberEditor.getModel): Updated API docs,
10623 (NumberEditorFormatter): New static inner class,
10624 (ListEditor.getModel): Updated API docs,
10625 (DateEditor.dateFormat): Removed,
10626 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
10627 (DateEditor.DateEditor(JSpinner, String)): Likewise,
10628 (DateEditor.init): Removed,
10629 (DateEditor.getFormat): Reimplemented,
10630 (DateEditorFormatter): New static inner class,
10631 (ModelListener): New inner class,
10632 (model): Updated API docs,
10633 (editor): Likewise,
10634 (listener): Removed,
10635 (JSpinner()): Updated API docs,
10636 (JSpinner(SpinnerModel)): Set up ModelListener,
10637 (setEditor): Fire property change,
10638 (getModel): Updated API docs,
10639 (setModel): Removed check for null editor,
10640 (setValue): Updated API docs,
10641 (getUIClassID): Updated API docs,
10642 (createEditor): Handle SpinnerListModel case,
10643 * javax/swing/plaf/basic/BasicSpinnerUI.java
10644 (createUI): Updated API docs,
10645 (createPropertyChangeListener): Added FIXME,
10646 (installDefaults): Set text field border to null,
10647 (DefaultLayoutManager): Updated API docs,
10648 (DefaultLayoutManager.layoutContainer): Modified layout,
10649 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
10650 (DefaultLayoutManager.preferredLayoutSize): Likewise,
10651 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
10652 (DefaultLayoutManager.addLayoutComponent): Likewise,
10653 (DefaultLayoutManager.minSize): Renamed prefSize,
10654 (DefaultLayoutManager.setBounds): Reformatted,
10655 (DefaultLayoutManager.editor): Added API docs,
10656 (DefaultLayoutManager.next): Likewise,
10657 (DefaultLayoutManager.previous): Likewise,
10658 * javax/swing/plaf/metal/MetalLookAndFeel.java
10659 (initComponentDefaults): Added entry for 'Spinner.border',
10660 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
10662 2006-02-15 Chris Burdess <dog@gnu.org>
10664 * gnu/xml/validation/datatype/BooleanType.java,
10665 gnu/xml/validation/datatype/ByteType.java,
10666 gnu/xml/validation/datatype/DateTimeType.java,
10667 gnu/xml/validation/datatype/DateType.java,
10668 gnu/xml/validation/datatype/DecimalType.java,
10669 gnu/xml/validation/datatype/DoubleType.java,
10670 gnu/xml/validation/datatype/DurationType.java,
10671 gnu/xml/validation/datatype/FloatType.java,
10672 gnu/xml/validation/datatype/GDayType.java,
10673 gnu/xml/validation/datatype/GMonthDayType.java,
10674 gnu/xml/validation/datatype/GMonthType.java,
10675 gnu/xml/validation/datatype/GYearMonthType.java,
10676 gnu/xml/validation/datatype/GYearType.java,
10677 gnu/xml/validation/datatype/IntType.java,
10678 gnu/xml/validation/datatype/IntegerType.java,
10679 gnu/xml/validation/datatype/LongType.java,
10680 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
10681 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
10682 gnu/xml/validation/datatype/MinExclusiveFacet.java,
10683 gnu/xml/validation/datatype/MinInclusiveFacet.java,
10684 gnu/xml/validation/datatype/NegativeIntegerType.java,
10685 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
10686 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
10687 gnu/xml/validation/datatype/PositiveIntegerType.java,
10688 gnu/xml/validation/datatype/ShortType.java,
10689 gnu/xml/validation/datatype/SimpleType.java,
10690 gnu/xml/validation/datatype/TimeType.java,
10691 gnu/xml/validation/datatype/TypeBuilder.java,
10692 gnu/xml/validation/datatype/UnsignedByteType.java,
10693 gnu/xml/validation/datatype/UnsignedIntType.java,
10694 gnu/xml/validation/datatype/UnsignedLongType.java,
10695 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
10696 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
10697 minInclusive facets use the value space of the base type, and
10700 2006-02-15 Mark Wielaard <mark@klomp.org>
10702 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
10703 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
10704 gtk_plug_new() returns a GtkWindow.
10706 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
10708 * javax/swing/SpinnerNumberModel.java
10709 (getNextValue): Check for null maximum,
10710 (getPreviousValue): Check for null minimum.
10712 2006-02-15 Roman Kennke <kennke@aicas.com>
10714 * javax/swing/plaf/basic/BasicTableUI.java
10715 (paint): Paint vertical and horizontal lines one pixel shifted
10718 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
10720 * java/util/zip/ZipFile.java
10721 (checkZipFile): Inlined readLeInt and rewritten for robustness.
10722 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
10723 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
10724 (readEntries): Rewritten to use PartialInputStream.
10725 (locBuf, checkLocalHeader): Removed.
10726 (getInputStream): Rewritten to use new PartialInputStream.
10727 (PartialInputStream): Rewritten to do buffering.
10729 2006-02-15 Michael Koch <konqueror@gmx.de>
10731 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
10732 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
10733 Make sure the embedded window gets no decorations.
10734 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10735 (window_get_frame_extents): Return early of the window has no
10738 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10740 * examples/gnu/classpath/examples/swing/TableDemo.java
10741 (TModel, createContent): Explain which value appears in the header.
10742 * javax/swing/JTable.java (setColumnModel): Only set the
10743 column header value if the getHeaderValue() returns null.
10745 2006-02-14 Mark Wielaard <mark@klomp.org>
10748 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
10749 (getErrorImage): New static method.
10750 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
10751 (bufferedImageOrError): Renamed to ...
10752 (imageOrError): Renamed from bufferedImageOrError, takes Image.
10753 Returns GtkImage.getErrorImage() when argument null.
10754 (createImage(String)): Always use imageOrError.
10755 (createImage(URL)): Likewise.
10756 (createImage(ImageProducer)): Likewise.
10757 (createImage(byte[],int,int)): Likewise.
10759 2006-02-14 Roman Kennke <kennke@aicas.com>
10761 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
10763 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
10764 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10765 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
10766 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
10767 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
10769 2006-02-14 Roman Kennke <kennke@aicas.com>
10771 * javax/swing/text/AsyncBoxView.java
10772 (ChildState.locator): Removed wrong field.
10773 (ChildState): Removed initialization of removed field.
10774 (locator): Changed access modifier to be protected as specified.
10776 2006-02-14 Roman Kennke <kennke@aicas.com>
10778 * javax/swing/ToolTipManager.java: Removed unneeded imports.
10779 * javax/swing/Timer.java: Some small reindention.
10780 (task): Made package private to avoid synthetic accessor method.
10782 2006-02-14 Roman Kennke <kennke@aicas.com>
10784 * javax/swing/SwingUtilities.java
10785 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
10788 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10790 * examples/gnu/classpath/examples/swing/TableDemo.java:
10791 Making the columns variable width.
10792 * javax/swing/JTable.java (distributeSpill, doLayout):
10793 Call getPreferredSize and not getSize().
10795 2006-02-14 Roman Kennke <kennke@aicas.com>
10797 * javax/swing/DefaultCellEditor.java
10798 (DefaultCellEditor): API doc fixlet.
10800 2006-02-14 Roman Kennke <kennke@aicas.com>
10802 * javax/swing/JViewport.java
10803 (isPaintRoot): New field.
10804 (repaint): Only call super here. Also added a comment regarding
10805 the diversion from the JDK.
10806 (paintBlit): Implemented real blitting.
10807 (paintImmediately2): New method. Overrides the same package private
10808 method in JComponent.
10810 2006-02-14 Roman Kennke <kennke@aicas.com>
10812 * javax/swing/plaf/basic/BasicTableUI.java
10813 (paint): Check for boundary cases when determining the painting
10816 2006-02-14 Mark Wielaard <mark@klomp.org>
10818 * java/awt/Menu.java (add): Always set parent of item to this. Call
10819 addNotify() on item when we have a MenuPeer already.
10820 (insert): Always adjust parent for item. Call addNotify() on item if
10821 we already have a peer.
10822 (remove(int)): Always clear item parent. Call removeNotify() on item
10825 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10827 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
10828 row == getRowCount().
10830 2006-02-14 Lillian Angel <langel@redhat.com>
10832 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
10833 (setVisible): New method to override super. Need to set the
10834 native bounds of the component, so it appears at the
10837 2006-02-14 Mark Wielaard <mark@klomp.org>
10839 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
10840 (remove): If menu component is the current MenuBar remove it,
10841 otherwise call super.remove().
10842 * java/awt/MenuBar.java (frame): Remove field.
10843 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
10845 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10847 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
10848 to NameServicePersistent.
10849 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
10850 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
10852 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10854 * NEWS: Updated tool status.
10855 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
10856 (constructor, bind, rebind): Rewritten.
10857 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
10858 * tools/gnu/classpath/tools/giop/README: Updated.
10859 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
10860 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
10861 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
10862 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
10863 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
10866 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
10868 * javax/swing/JComponent.java
10869 (getListeners): Check for PropertyChangeListener.class and delegate to
10870 getPropertyChangeListeners() for that case.
10872 2006-02-13 Roman Kennke <kennke@aicas.com>
10874 * javax/swing/plaf/basic/BasicTableUI.java
10875 (paint): Determine the cells that need painting based on the
10876 current clip. Use getCellRect() for calculating the cell
10879 2006-02-13 Roman Kennke <kennke@aicas.com>
10881 * javax/swing/JTable.java
10882 (rectCache): New field.
10883 (getCellRect): Returns cached Rectangle instance.
10885 2006-02-13 Roman Kennke <kennke@aicas.com>
10887 * javax/swing/JLayeredPane.java
10888 (removeAll): New method. Avoid potential memory leak.
10889 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
10892 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
10894 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
10895 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
10897 2006-02-13 Tom Tromey <tromey@redhat.com>
10899 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
10900 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
10902 2006-02-13 Roman Kennke <kennke@aicas.com>
10904 * javax/swing/RepaintManager.java
10905 (offscreenBuffers): New field.
10906 (doubleBuffer): Removed field.
10907 (repaintUnderway): New field.
10908 (commitRequests): New field.
10909 (RepaintManager): Initialize new fields.
10910 (paintDirtyRegions): Handle repaintUnderway flag. Commit
10912 (getOffscreenBuffer): Returns the offscreen buffer for the
10913 corresponding root component.
10914 (commitBuffer): New method.
10915 (commitRemainingBuffers): New method.
10916 * javax/swing/JComponent.java
10917 (paint): Call paintDoubleBuffered with the current clip.
10918 (paintImmediately2): Don't paint on screen here.
10919 (paintDoubleBuffered): Rewritten for real double buffering.
10920 (paintSimple): Draw to screen in this method.
10922 2006-02-13 Roman Kennke <kennke@aicas.com>
10924 * javax/swing/JRootPane.java
10925 (JRootPane): Set opaque property to true.
10927 2006-02-13 Tom Tromey <tromey@redhat.com>
10929 * .classpath: Updated for external/relaxngDatatype.
10931 2006-02-13 Chris Burdess <dog@gnu.org>
10933 * gnu/xml/stream/UnicodeReader.java,
10934 gnu/xml/validation/datatype/Annotation.java,
10935 gnu/xml/validation/datatype/AnySimpleType.java,
10936 gnu/xml/validation/datatype/AnyType.java,
10937 gnu/xml/validation/datatype/AnyURIType.java,
10938 gnu/xml/validation/datatype/AtomicSimpleType.java,
10939 gnu/xml/validation/datatype/Base64BinaryType.java,
10940 gnu/xml/validation/datatype/BooleanType.java,
10941 gnu/xml/validation/datatype/ByteType.java,
10942 gnu/xml/validation/datatype/DateTimeType.java,
10943 gnu/xml/validation/datatype/DateType.java,
10944 gnu/xml/validation/datatype/DecimalType.java,
10945 gnu/xml/validation/datatype/DoubleType.java,
10946 gnu/xml/validation/datatype/DurationType.java,
10947 gnu/xml/validation/datatype/EntitiesType.java,
10948 gnu/xml/validation/datatype/EntityType.java,
10949 gnu/xml/validation/datatype/EnumerationFacet.java,
10950 gnu/xml/validation/datatype/Facet.java,
10951 gnu/xml/validation/datatype/FloatType.java,
10952 gnu/xml/validation/datatype/FractionDigitsFacet.java,
10953 gnu/xml/validation/datatype/GDayType.java,
10954 gnu/xml/validation/datatype/GMonthDayType.java,
10955 gnu/xml/validation/datatype/GMonthType.java,
10956 gnu/xml/validation/datatype/GYearMonthType.java,
10957 gnu/xml/validation/datatype/GYearType.java,
10958 gnu/xml/validation/datatype/HexBinaryType.java,
10959 gnu/xml/validation/datatype/IDRefType.java,
10960 gnu/xml/validation/datatype/IDRefsType.java,
10961 gnu/xml/validation/datatype/IDType.java,
10962 gnu/xml/validation/datatype/IntType.java,
10963 gnu/xml/validation/datatype/IntegerType.java,
10964 gnu/xml/validation/datatype/LanguageType.java,
10965 gnu/xml/validation/datatype/LengthFacet.java,
10966 gnu/xml/validation/datatype/ListSimpleType.java,
10967 gnu/xml/validation/datatype/LongType.java,
10968 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
10969 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
10970 gnu/xml/validation/datatype/MaxLengthFacet.java,
10971 gnu/xml/validation/datatype/MinExclusiveFacet.java,
10972 gnu/xml/validation/datatype/MinInclusiveFacet.java,
10973 gnu/xml/validation/datatype/MinLengthFacet.java,
10974 gnu/xml/validation/datatype/NCNameType.java,
10975 gnu/xml/validation/datatype/NMTokenType.java,
10976 gnu/xml/validation/datatype/NMTokensType.java,
10977 gnu/xml/validation/datatype/NameType.java,
10978 gnu/xml/validation/datatype/NegativeIntegerType.java,
10979 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
10980 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
10981 gnu/xml/validation/datatype/NormalizedStringType.java,
10982 gnu/xml/validation/datatype/NotationType.java,
10983 gnu/xml/validation/datatype/PatternFacet.java,
10984 gnu/xml/validation/datatype/PositiveIntegerType.java,
10985 gnu/xml/validation/datatype/QNameType.java,
10986 gnu/xml/validation/datatype/ShortType.java,
10987 gnu/xml/validation/datatype/SimpleType.java,
10988 gnu/xml/validation/datatype/StringType.java,
10989 gnu/xml/validation/datatype/TimeType.java,
10990 gnu/xml/validation/datatype/TokenType.java,
10991 gnu/xml/validation/datatype/TotalDigitsFacet.java,
10992 gnu/xml/validation/datatype/Type.java,
10993 gnu/xml/validation/datatype/TypeBuilder.java,
10994 gnu/xml/validation/datatype/TypeLibrary.java,
10995 gnu/xml/validation/datatype/TypeLibraryFactory.java,
10996 gnu/xml/validation/datatype/UnionSimpleType.java,
10997 gnu/xml/validation/datatype/UnsignedByteType.java,
10998 gnu/xml/validation/datatype/UnsignedIntType.java,
10999 gnu/xml/validation/datatype/UnsignedLongType.java,
11000 gnu/xml/validation/datatype/UnsignedShortType.java,
11001 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
11002 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
11003 RELAX NG datatype library implementation for XML Schema Datatypes.
11005 2006-02-13 Chris Burdess <dog@gnu.org>
11011 external/Makefile.am,
11012 external/relaxngDatatype/.cvsignore,
11013 external/relaxngDatatype/Makefile.am,
11014 external/relaxngDatatype/README.txt,
11015 external/relaxngDatatype/copying.txt,
11016 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
11017 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
11018 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
11019 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
11020 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
11021 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
11022 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
11023 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
11024 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
11025 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
11027 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
11028 datatypes library API.
11030 2006-02-13 Mark Wielaard <mark@klomp.org>
11032 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
11034 (gtkWidgetModifyFont(Font)): New protected helper method.
11035 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
11036 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
11037 protected and document.
11038 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
11040 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
11042 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
11044 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
11045 (setFont): Removed method. Done in GtkMenuComponent.
11046 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
11047 abstract and protected.
11048 (setFont): Made private, add implementation.
11049 (setFont(Font)): Implemented.
11050 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
11051 Made protected and document.
11052 (create): Made protected.
11053 (setFont): Removed method. Done in GtkMenuComponent.
11054 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
11055 (gtkWidgetModifyFont): Made protected and document.
11056 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
11057 Removed, similar to GtkGenericPeer super class implementation.
11058 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
11059 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11060 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
11063 2006-02-13 Mark Wielaard <mark@klomp.org>
11065 * java/lang/Math.java (static): Explicitly call
11066 System.loadLibrary("javalang").
11068 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
11070 * javax/print/StreamPrintServiceFactory.java: New file.
11072 2006-02-13 Tom Tromey <tromey@redhat.com>
11074 * tools/.cvsignore: Added Makefile.
11076 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
11078 * java/awt/print/PrinterGraphics.java: Reformatted.
11079 * java/awt/print/Paper.java: Likewise.
11080 * java/awt/print/PageFormat.java: Likewise.
11081 * java/awt/print/Pageable.java: Likewise.
11083 2006-02-13 Lillian Angel <langel@redhat.com>
11085 * java/awt/BorderLayout.java
11086 (layoutContainer): Rewrote part of this function to
11087 properly set the bounds of the components.
11088 (setBounds): Removed method, not needed.
11090 2006-02-13 Roman Kennke <kennke@aicas.com>
11092 * javax/swing/text/DefaultStyledDocument.java
11093 (ElementBuffer.clone): Fixed replace call.
11094 (clone): Removed method.
11096 2006-02-13 Roman Kennke <kennke@aicas.com>
11098 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
11100 2006-02-13 Roman Kennke <kennke@aicas.com>
11102 * java/rmi/server/UnicastRemoteObject.java
11103 (exportObject(Remote)): Forward method call to export(Remote,int).
11105 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
11107 * include/Makefile.am:
11108 Swapped Math.h for VMMath.h
11109 * include/java_lang_Math.h:
11111 * include/java_lang_VMMath.h:
11112 New autogenerated header for the new class.
11113 * java/lang/Math.java:
11114 (sin(double)): Changed to link to VMMath.
11115 (cos(double)): Changed to link to VMMath.
11116 (tan(double)): Changed to link to VMMath.
11117 (asin(double)): Changed to link to VMMath.
11118 (acos(double)): Changed to link to VMMath.
11119 (atan(double)): Changed to link to VMMath.
11120 (atan2(double)): Changed to link to VMMath.
11121 (exp(double)): Changed to link to VMMath.
11122 (log(double)): Changed to link to VMMath.
11123 (sqrt(double)): Changed to link to VMMath.
11124 (pow(double,double)): Changed to link to VMMath.
11125 (IEEEremainder(double,double)): Changed to link to VMMath.
11126 (ceil(double)): Changed to link to VMMath.
11127 (floor(double)): Changed to link to VMMath.
11128 (rint(double)): Changed to link to VMMath.
11129 * native/jni/java-lang/Makefile.am:
11130 Replaced java_lang_Math.c with java_lang_VMMath.c
11131 * native/jni/java-lang/java_lang_Math.c:
11133 * native/jni/java-lang/java_lang_VMMath.c:
11134 Renamed from java_lang_Math.c.
11135 * vm/reference/java/lang/VMMath.java:
11137 (sin(double)): New native method.
11138 (cos(double)): New native method.
11139 (tan(double)): New native method.
11140 (asin(double)): New native method.
11141 (acos(double)): New native method.
11142 (atan(double)): New native method.
11143 (atan2(double)): New native method.
11144 (exp(double)): New native method.
11145 (log(double)): New native method.
11146 (sqrt(double)): New native method.
11147 (pow(double,double)): New native method.
11148 (IEEEremainder(double,double)): New native method.
11149 (ceil(double)): New native method.
11150 (floor(double)): New native method.
11151 (rint(double)): New native method.
11153 2006-02-13 Lillian Angel <langel@redhat.com>
11155 * java/awt/Component.java
11156 (repaint): No need to call isShowing, it is done in the other repaint call.
11157 (repaint): Likewise.
11158 (repaint): Likewise.
11160 2006-02-13 Lillian Angel <langel@redhat.com>
11162 * java/awt/Component.java
11163 (repaint): Reverted last change.
11164 (repaint): Likewise.
11165 (repaint): Likewise.
11167 2006-02-13 Lillian Angel <langel@redhat.com>
11169 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
11170 (handleEvent): Made more efficent by handling paint event and
11171 setting the clip for the graphics.
11172 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11173 (handleEvent): Likewise.
11174 * java/awt/Component.java
11175 (repaint): No need to call isShowing, it is done in the other repaint call.
11176 (repaint): Likewise.
11177 (repaint): Likewise.
11179 2006-02-13 Roman Kennke <kennke@aicas.com>
11181 * javax/swing/text/AbstractDocument.java
11182 (setParent): Added API docs. Call setParent(null) on children before
11183 disconnecting this view from the View hierarchy.
11185 2006-02-13 Roman Kennke <kennke@aicas.com>
11187 * javax/swing/text/AbstractDocument.java
11188 (readUnlock): Don't attempt to unlock when the current threads also
11189 holds a write lock.
11191 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
11193 * javax/swing/plaf/metal/MetalBorders.java
11194 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
11195 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
11197 (Flush3DBorder.borderInsets): New field,
11198 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
11199 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
11200 null insets argument, and populate result from borderInsets,
11201 (PaletteBorder.borderInsets): New field,
11202 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
11203 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
11204 null insets argument, and populate result from borderInsets,
11205 (InternalFrameBorder.borderInsets): New field,
11206 (InternalFrameBorder.getBorderInsets(Component)): Return insets
11208 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
11209 for null insets argument, and populate result from borderInsets,
11210 (MenuItemBorder.borderInsets): Initialise to correct value.
11212 2006-02-13 Roman Kennke <kennke@aicas.com>
11214 * javax/swing/text/AsyncBoxView.java: New file.
11216 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
11219 * gnu/regexp/RE.java(initialize): Parsing of character class expression
11220 was moved to a new method parseCharClass.
11221 (parseCharClass): New method originally in initialize. Added parsing
11222 of nested character classes.
11223 (ParseCharClassResult): New inner class used as a return value of
11225 (getCharExpression),(getNamedProperty): Made static.
11226 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
11227 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
11228 nested character classes.
11229 (RETokenOneOf): New constructor accepting the Vector addition.
11230 (getMinimumLength), (getMaximumLength): Returns 1 if the token
11231 stands for only one character.
11232 (match): Added the processing of the Vector addition.
11233 (matchN), (matchP): Do not check next token if addition is used.
11235 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
11237 * AUTHORS: add self.
11239 2006-02-12 Tom Tromey <tromey@redhat.com>
11241 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
11242 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
11243 (securityContext): Likewise.
11246 2006-02-12 Dalibor Topic <robilad@kaffe.org>
11250 * gnu/java/net/protocol/file/Connection.java (unquote):
11251 Convert Unicode characters outside basic plane to UTF-8,
11252 rather than throwing an exception.
11254 2006-02-12 Tom Tromey <tromey@redhat.com>
11256 * javax/sound/sampled/LineEvent.java (readObject): New method.
11257 (writeObject): Likewise.
11258 (serialVersionUID): New field.
11260 2006-02-12 Mark Wielaard <mark@klomp.org>
11262 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
11263 Silently ignores null listener.
11264 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
11265 (getPropertyChangeListeners): Returns empty PropertyChangeListener
11266 array for null propertyName.
11268 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
11270 * java/rmi/MarshalledObject.java: Added api docs to the class.
11271 * java/rmi/Remote.java: Added interface api docs.
11272 * java/rmi/package.html: Added package description.
11273 * java/rmi/AccessException.java: Minor api doc fixes.
11274 * java/rmi/NoSuchObjectException.java: Likewise.
11275 * java/rmi/AlreadyBoundException.java: Likewise.
11276 * java/rmi/RemoteException.java: Likewise.
11277 * java/rmi/NotBoundException.java: Likewise.
11278 * java/rmi/RMISecurityException.java: Likewise.
11279 * java/rmi/StubNotFoundException.java: Likewise.
11281 2006-02-12 Mark Wielaard <mark@klomp.org>
11283 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
11284 q() to get EventQueue.
11285 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
11286 (enableQueue): Remove static method.
11287 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
11288 Don't call GtkGenericPeer.enableQueue().
11290 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
11292 * java/rmi/MarshalledObject.java: Reformatted.
11293 * java/rmi/Naming.java: Likewise.
11295 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
11297 * java/io/InputStream.java
11298 (read(byte[],int,int)): Changed argument validation to prevent
11299 integer overflow. Remove redundant check.
11301 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
11304 * java/io/InputStreamReader.java
11305 (InputStreamReader(InputStream)): Use SystemProperties.
11306 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
11307 Throw NullPointerException if in is null.
11308 Added maxBytesPerChar initialisation.
11309 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
11310 Throw NullPointerException if in is null.
11312 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
11314 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
11315 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
11316 (GnuDHPublicKey): New constructor.
11317 (getEncoded): Removed.
11318 (valueOf): Added support for ASN.1 encoding.
11319 (getEncoded(int)): Likewise.
11320 (equals): New method.
11321 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
11322 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
11323 (GnuDHPrivateKey(5)): New constructor.
11324 (getEncoded): Removed.
11325 (valueOf): Added support for ASN.1 encoding.
11326 (getEncoded(int)): Likewise.
11327 (equals): New method.
11328 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
11329 (PREFERRED_ENCODING_FORMAT): New constant.
11330 (DEFAULT_ENCODING_FORMAT): Likewise.
11331 (preferredFormat): New field.
11332 (setup): Handle preferred encoding format identifier.
11333 (generate): Call constructors with format identifier.
11334 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
11335 (GnuDHKey): Added an int argument.
11336 (getEncoded): New method.
11337 (getFormat): New implementation.
11338 (getEncoded(int)): New abstract method.
11339 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
11340 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
11341 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
11342 key-pair generator and key-factory.
11343 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
11344 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
11345 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
11346 * gnu/java/security/jce/sig/EncodedKeyFactory.java
11347 (invokeConstructor): New method.
11348 (getConcreteClass): Likewise.
11349 (getConcreteCtor): Likewise.
11350 (invokeValueOf): Likewise.
11351 (getValueOfMethod): Likewise.
11352 (engineGeneratePublic): Add support for DH keys.
11353 (engineGeneratePrivate): Likewise.
11354 (decodeDHPublicKey(DHPublicKeySpec)): New method.
11355 (decodeDHPublicKey(byte[])): Likewise.
11356 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
11357 (decodeDHPrivateKey(byte[])): Likewise.
11359 2006-02-11 Mark Wielaard <mark@klomp.org>
11361 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
11363 (repaint): Immediately post to queue when tm <= 0, otherwise call
11364 RepaintTimerTask.schedule().
11365 (RepaintTimerTask): Make static.
11366 (RepaintTimerTask.repaintTimer): New static final field.
11367 (RepaintTimerTask.awtComponent): New field.
11368 (schedule): New static method.
11370 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11372 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
11373 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
11374 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
11375 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
11376 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
11378 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
11380 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
11382 * gnu/java/security/jce/sig/EncodedKeyFactory.java
11383 (engineGeneratePublic): Added support for raw key-specifications.
11384 (engineGeneratePrivate): Likewise.
11385 (decodeDSSPublicKey): New method.
11386 (decodeRSAPublicKey): Likewise.
11387 (decodeDSSPrivateKey): Likewise.
11388 (decodeRSAPrivateKey): Likewise.
11389 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
11390 (encodePrivateKey): Throw InvalidParameterException.
11391 (decodePublicKey): Likewise.
11392 (decodePrivateKey): Likewise.
11393 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
11394 (encodePublicKey): Likewise.
11395 (encodePrivateKey): Likewise.
11396 (decodePublicKey): Likewise.
11397 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
11398 (encodePrivateKey): Likewise.
11399 (decodePublicKey): Likewise.
11400 (decodePrivateKey): Likewise.
11401 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
11402 (encodePublicKey): Likewise.
11403 (encodePrivateKey): Likewise.
11404 (decodePublicKey): Likewise.
11406 2006-02-10 Roman Kennke <kennke@aicas.com>
11408 * javax/swing/text/StyleContext.java
11409 (registerStaticAttributeKey): New static method.
11411 2006-02-10 Roman Kennke <kennke@aicas.com>
11413 * javax/swing/text/DefaultStyledDocument.java
11414 (ElementBuffer.clone): New method.
11416 2006-02-10 Roman Kennke <kennke@aicas.com>
11418 * javax/swing/text/ParagraphView.java
11419 (findOffsetToCharactersInString): New method.
11420 (getClosestPositionTo): New method.
11421 (getPartialSize): New method.
11422 (getTabBase): New method.
11423 (adjustRow): New method.
11424 (breakView): New method.
11425 (getBreakWeight): New method.
11427 2006-02-10 Roman Kennke <kennke@aicas.com>
11429 * javax/swing/text/GapContent.java
11430 (updateUndoPositions): New method.
11431 * javax/swing/text/StringContent.java
11432 (updateUndoPositions): New method.
11434 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
11436 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
11438 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
11439 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
11440 Added support for encoded key specifications.
11441 (engineGeneratePrivate): Likewise.
11442 (engineGetKeySpec): Likewise.
11443 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
11445 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
11447 * javax/swing/text/Utilities.java:
11448 (getTabbedTextOffset): Fixed usage of variable p0.
11449 (getPositionAbove): Rewritten.
11450 (getPositionBelow): Rewritten.
11452 2006-02-09 Roman Kennke <kennke@aicas.com>
11454 * javax/swing/text/BoxView.java
11455 (getAxis): Added @since tag.
11456 (setAxis): Added @since tag.
11457 (layoutChanged): Added @since tag.
11458 (isLayoutValid): Added @since tag.
11459 (paint): Don't call setSize here. This is done in RootView already.
11460 (getMaximumSpan): Reimplemented to return the requirements'
11461 maximum size. Added API docs.
11462 (getMinimumSpan): New method.
11463 (layout): Fixed layout order.
11464 (modelToView): Call layout instead of setSize here.
11465 (getResizeWeight): New method.
11466 (getChildAllocation): New method.
11467 (forwardUpdate): New method.
11468 (viewToModel): New method.
11469 (flipEastEndWestEnds): New method.
11470 * javax/swing/text/CompositeView.java
11471 (modelToView): Made this method more robust by returning a default
11472 location if it's not possible to calculate one via the children.
11473 This default location returns the left or right edge of this
11475 (createDefaultLocation): New helper method.
11476 * javax/swing/text/IconView.java
11477 (modelToView): Don't throw BadLocationException. This should
11478 really only be thrown if the position is outside the document
11479 model, not if it's outside the view's boundary.
11481 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11483 * tools/Makefile.am: Handle rmi and giop folders separately.
11485 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
11487 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
11488 * javax/swing/SpinnerNumberModel.java: Likewise.
11490 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
11492 * javax/swing/SpinnerDateModel.java: Removed tabs,
11493 * javax/swing/SpinnerNumberModel.java: Likewise.
11495 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
11497 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
11498 * doc/unicode/UnicodeData-4.0.0.txt: New file.
11500 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
11503 * gnu/java/net/protocol/http/HTTPURLConnection.java:
11504 (isRedirect): Removed, moved to Response.java.
11505 (connect): If error condition redirect responseSink to errorSink.
11506 (getInputStream): If error condition throw IOException, for the error
11507 codes 404 and 410 throw a FileNotFoundException.
11508 * gnu/java/net/protocol/http/Response.java (isError): New method.
11509 (isRedirect): New method, moved from HTTPURLConnection.java.
11511 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11513 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
11514 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
11515 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
11517 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
11519 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
11520 AbstractMethodGenerator.
11521 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
11522 tools/gnu/classpath/tools/rmi/RMIC.java,
11523 tools/gnu/classpath/tools/rmi/RMIC.txt,
11524 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
11525 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
11526 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
11527 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
11528 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
11529 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
11531 * NEWS: Corrected entry about the tools.
11533 2006-02-09 Lillian Angel <langel@redhat.com>
11535 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11536 (handleEvent): Added more to check to prevent assertion errors.
11537 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
11538 (handleEvent): Likewise.
11539 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11540 (handleEvent): Likewise.
11542 2006-02-09 Mark Wielaard <mark@klomp.org>
11544 * javax/swing/JTable.java (tableChanged): Interpret null event as
11545 "everything changed".
11547 2006-02-09 Roman Kennke <kennke@aicas.com>
11549 * javax/swing/text/DefaultCaret.java
11550 (DocumentHandler.removeUpdate): When update policy is
11551 'on eventqueue', and the update doesn't come from the
11552 event queue, check if the current dot location is still
11554 (moveDot): Make sure the new dot location is valid.
11555 (setDot): Set the mark the same as the dot.
11557 2006-02-09 Roman Kennke <kennke@aicas.com>
11559 * javax/swing/text/AbstractDocument.java
11560 (remove): Perform all operations within a write lock and in the
11563 2006-02-09 Mark Wielaard <mark@klomp.org>
11565 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
11566 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
11567 creater than min, adjusting page_size if necessary.
11568 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
11570 2006-02-09 Lillian Angel <langel@redhat.com>
11572 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
11573 (handleEvent): Added code to handle PaintEvent.UPDATE.
11574 Sun does not call update(Graphics g) on Panels.
11575 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11576 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
11577 Sun does not call update(Graphics g) on Panels.
11579 2006-02-09 Roman Kennke <kennke@aicas.com>
11581 * javax/swing/text/BoxView.java
11582 (myAxis): Made field private.
11583 (xLayoutValid): Replaced by layoutValid array.
11584 (yLayoutValid): Replaced by layoutValid array.
11585 (layoutValid): New field.
11586 (spansX): Replaced by spans array.
11587 (spansY): Replaced by spans array.
11588 (spans): New field.
11589 (offsetsX): Replaced by offsets array.
11590 (offsetsY): Replaced by offsets array.
11591 (offsets): New field.
11592 (requirements): New field.
11593 (BoxView): Initialize new fields.
11594 (layoutChanged): Rewritten to use the layoutValid array.
11595 (isLayoutValid): Rewritten to use the layoutValid array.
11596 (replace): Use the new arrays.
11597 (getPreferredSpan): Rewritten to call calculateXXXRequirements
11598 instead of baselineRequirements.
11599 (baselineRequirements): Rewritten to calculate baseline requirements.
11600 (baselineLayout): Rewritten to calculate baseline layout.
11601 (childAllocation): Use new arrays.
11602 (layout): Rewritten. Only update the layout if necessary.
11603 (layoutMajorAxis): Directly set layoutValid.
11604 (layoutMinorAxis): Directly set layoutValid. Use cached size
11606 (getWidth): Use new span array.
11607 (getHeight): Likewise.
11608 (setSize): Rewritten to simply call layout().
11609 (validateLayout): Removed unneeded method.
11610 (getSpan): Use new arrays.
11611 (getOffset): Use new arrays.
11612 (getAlignment): Use cached requirements if possible.
11613 (preferenceChanged): Use new arrays.
11614 * javax/swing/text/FlowView.java
11615 (FlowStrategy.insertUpdate): Do nothing here.
11616 (FlowStrategy.removeUpdate): Do nothing here.
11617 (FlowStrategy.changedUpdate): Do nothing here.
11618 (FlowStrategy.layoutRow): Rewritten.
11619 (FlowStrategy.createView): Rewritten.
11620 (FlowStrategy.adjustRow): New method.
11621 (LogicalView.getViewIndex): Fixed condition for finding child
11623 (layoutDirty): New field indicating the state of the layout.
11624 (FlowView): Initialize new field.
11625 (loadChildren): Set parent on logical view so that preferenceChanges
11626 get propagated upwards.
11627 (layout): Rewritten to match the specs.
11628 (insertUpdate): Set layout to dirty.
11629 (removeUpdate): Set layout to dirty.
11630 (changedUpdate): Set layout to dirty.
11631 * javax/swing/text/GlyphView.java
11632 (getBreakWeight): Rewritten to use the Utilities class. Commented
11633 out though because that is broken.
11634 (insertUpdate): Call preferenceChanged on this object instead of
11636 * javax/swing/text/ParagraphView.java
11637 (Row.loadChildren): Overridden to be a noop to prevent initial
11638 creation of child views. This is carried out by the flow layout.
11639 * javax/swing/text/View.java
11640 (getPreferredSpan): Added API docs.
11641 (getResizeWeight): Added API docs.
11642 (getMaximumSpan): Added API docs. Rewritten to only have one exit
11644 (getMinimumSpan): Added API docs. Rewritten to return 0 when
11645 resizable instead of Integer.MAX_VALUE.
11646 (getAlignment): Added API docs.
11647 (replace): Added API docs.
11648 (forwardUpdate): Rewritten to only notify child views that need to
11651 2006-02-09 Roman Kennke <kennke@aicas.com>
11653 * javax/swing/plaf/basic/BasicTextUI.java
11654 (RootView.paint): Call setSize() before painting the view.
11656 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
11659 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
11660 flag which enables backslash escape in a replacement.
11661 (getReplacement): New public static method.
11662 (substituteImpl),(substituteAllImpl): Use getReplacement.
11663 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
11664 * java/util/regex/Matcher.java(appendReplacement)
11665 Use RE#getReplacement.
11666 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
11668 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
11670 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
11671 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
11672 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
11673 (PREFERRED_ENCODING_FORMAT): New constant.
11674 (DEFAULT_ENCODING_FORMAT): Likewise.
11675 (preferredFormat): New field.
11676 (setup): Add support for preferred encoding format.
11677 (generate): Call key constructors with explicit format identifier.
11678 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
11679 Call constructor with 3 arguments..
11680 (GnuRSAPublicKey(3)): New constructor.
11681 (valueOf): Added support for ASN.1 format.
11682 (getEncoded): Likewise.
11683 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
11684 Call constructor with 5 arguments.
11685 (GnuRSAPrivateKey(5)): New constructor.
11686 (GnuRSAPrivateKey(9)): New constructor.
11687 (valueOf): Added support for ASN.1 format.
11688 (getEncoded): Likewise.
11689 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
11690 (GnuRSAKey): Modified constructor.
11691 (getFormat): Return preferred format identifier.
11692 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
11693 (decodePrivateKey): Fixed documentation.
11694 Check Version field.
11695 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
11696 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
11698 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
11699 * gnu/java/security/jce/sig/EncodedKeyFactory.java
11700 (engineGeneratePublic): Added support for RSA.
11701 (engineGeneratePrivate): Likewise.
11703 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
11705 * java/net/URLConnection.java:
11706 (setAllowUserInteraction): Throw IllegalStateException if connected.
11707 (getRequestProperty): Document return value if key is null.
11708 * gnu/java/net/protocol/http/HTTPURLConnection.java:
11709 (getRequestProperty): Return null if key is null.
11710 (getRequestProperties): Throw IllegalStateException if connected.
11711 (setRequestProperty): Call super method for exception tests.
11712 (addRequestProperty): Likewise.
11714 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
11716 * gnu/java/net/protocol/http/Request.java:
11717 (Request): Remove initialization of removed field.
11718 (requestBodyNegotiationThreshold): Removed now unused field.
11719 (setRequestBodyNegotiationThreshold): Remove now unused method.
11720 (dispatch): Do not use 'Expect 100-continue' header if content-length
11721 is over a treshold. If user specified 'Expect 100-continue' still
11722 initialize the expectingContinue variable.
11724 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
11726 * javax/swing/SpinnerNumberModel.java
11727 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
11728 maximum and minimum to take null values,
11729 (setValue): Only fire ChangeEvent if new value is different to old
11731 (setMinimum): Fixed test for updating value,
11732 (setMaximum): Likewise,
11733 (setStepSize): Likewise.
11735 2006-02-08 Tom Tromey <tromey@redhat.com>
11737 * tools/.cvsignore: Added Makefile.in.
11739 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11741 * java/rmi/server/RemoteRef.java,
11742 java/rmi/server/RemoteStub.java: Commented.
11744 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
11746 * javax/swing/SpinnerDateModel.java
11747 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
11749 (getPreviousValue): Check result against start, not end,
11750 (setValue): Check that value actually changes before firing
11753 2006-02-08 Lillian Angel <langel@redhat.com>
11755 * java/awt/Choice.java
11756 (select): Fixed up code, added some checks to prevent errors.
11757 (dispatchEventImpl): Removed. This function is not needed. It
11758 causes several assertion errors.
11760 2006-02-08 Roman Kennke <kennke@aicas.com>
11762 * javax/swing/text/PlainView.java
11763 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
11764 drawing unnecessary characters.
11766 2006-02-08 Lillian Angel <langel@redhat.com>
11768 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11769 (handleEvent): Fixed check to determine if height or
11770 width is less than 1.
11772 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11774 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
11776 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11778 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
11779 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
11780 Documenting the code generator.
11781 * gnu/CORBA/IOR.java (toStringFormatted,
11782 CodeSet_component.toStringFormatted): New methods.
11783 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
11784 * tools/gnu/classpath/tools/giop/README: Rewritten.
11785 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
11786 (printHelpAndExit): Removed.
11787 *tools/gnu/classpath/tools/giop/IorParser.java,
11788 tools/gnu/classpath/tools/giop/IorParser.txt,
11789 tools/gnu/classpath/tools/giop/NameService.java,
11790 tools/gnu/classpath/tools/giop/NamingService.txt,
11791 tools/gnu/classpath/tools/HelpPrinter.java: New files.
11792 NEWS: Added note about GIOP tools.
11794 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11796 * .classpath: New source patch (tools).
11797 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
11798 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
11799 * tools/gnu/classpath/tools/Makefile.am,
11800 tools/gnu/classpath/tools/giop/GRMIC.java
11801 tools/gnu/classpath/tools/giop/GRMIC.txt,
11802 tools/gnu/classpath/tools/giop/README,
11803 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
11804 tools/gnu/classpath/tools/giop/grmic/Generator.java,
11805 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
11806 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
11807 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
11808 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
11809 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
11810 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
11811 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
11812 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
11813 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
11814 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
11816 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
11818 * java/awt/BasicStroke.java: Updated API docs all over,
11819 * java/awt/doc-files/capjoin.png: New file.
11821 2006-02-07 Lillian Angel <langel@redhat.com>
11823 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11824 (handleEvent): Added check. Should not paint or update the
11825 component if it's width and height are both 0.
11827 2006-02-07 Roman Kennke <kennke@aicas.com>
11829 * javax/swing/text/AbstractDocument.java
11830 (insertString): Enclose locking/unlocking in try-finally block
11831 and also keep locked while notifying the listeners.
11833 2006-02-07 Roman Kennke <kennke@aicas.com>
11835 * javax/swing/text/GlyphView.java
11836 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
11838 (getStartOffset): Return element boundary if startOffset < 0.
11839 (getEndOffset): Return element boundary if endOffset < 0.
11840 (createFragment): Set startOffset and endOffset fields of fragment
11841 if one of p0 or p1 is not at the element boundary.
11843 2006-02-07 Roman Kennke <kennke@aicas.com>
11845 * javax/swing/CellRendererPane.java
11846 (paintComponent): Enclosed painting in try finally to properly
11847 clean up even when throwing an exception.
11849 2006-02-07 Roman Kennke <kennke@aicas.com>
11851 * javax/swing/UIManager.java
11852 (listeners): Made this an instance of
11853 java.beans.PropertyChangeSupport instead of the obsoleted
11854 SwingPropertyChangeSupport.
11856 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
11858 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
11859 of actions "delete-next" and "delete-previous", added new TextAction
11860 implementations for "selection-begin", "selection-begin-line",
11861 "selection-end" and "selection-end-line".
11863 2006-02-07 Roman Kennke <kennke@aicas.com>
11865 * javax/swing/plaf/basic/BasicTextUI.java
11866 (paint): Acquire read lock on the document before calling
11868 (paintSafely): Added comment about what this method does.
11869 (paintBackground): Implemented to actually paint the background.
11870 (update): Overridden to _not_ paint the background. This is done
11871 in paintBackground in this UI.
11873 2006-02-07 Roman Kennke <kennke@aicas.com>
11875 * javax/swing/text/View.java
11876 (forwardUpdate): Don't notify newly added child views as specified.
11878 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
11880 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
11882 2006-02-07 Roman Kennke <kennke@aicas.com>
11884 * javax/swing/text/DefaultStyledDocument.java
11885 (ElementBuffer.insert): Only register change when the element
11888 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
11890 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
11892 (getEncodingShortName): Likewise.
11893 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
11894 (PKCS8_FORMAT): Likewise.
11895 (ASN1_FORMAT): Likewise.
11896 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
11897 constructor with 5 arguments.
11898 (DSSPublicKey(5)): New constructor.
11899 (valueOf): Handle ASN.1 encoding.
11900 (getEncoded): Likewise.
11901 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
11902 constructor with 5 arguments.
11903 (DSSPrivateKey(5)): New constructor.
11904 (valueOf): Handle ASN.1 encoding.
11905 (getEncoded): Likewise.
11906 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
11907 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
11908 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
11909 (PREFERRED_ENCODING_FORMAT): New constant.
11910 (DEFAULT_ENCODING_FORMAT): Likewise.
11911 (preferredFormat): New field.
11912 (setup): Handle preferred format ID.
11913 (generate): Use new ctors with 5 arguments.
11914 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
11915 ID as an additional argument.
11916 (defaultFormat): new field.
11917 (getFormat): Returns the preferred format as a short string.
11918 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
11919 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
11921 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
11922 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
11924 (initialize(int,boolean,SecureRandom)): Likewise.
11925 * gnu/java/security/der/DERWriter.java (writeBitString): Use
11926 writeLength() instead of write().
11927 return buf.length + 1 instead of buf.length.
11929 2006-02-07 Roman Kennke <kennke@aicas.com>
11931 * javax/swing/plaf/basic/BasicTextUI.java
11932 (RootView.preferenceChange): Changed view parameter to view so
11933 that it doesn't hide a field of that class.
11934 (RootView.getViewCount): Rewritten to clean up ECJ warning.
11935 (RootView.modelToView): Removed unnecessary cast from View to View.
11936 (PropertyChangeHandler): Made inner class private.
11937 (updateHandler): Made field private.
11938 (getVisibleEditorRect): Removed unneeded local variable that
11939 shadowed a field with the same name and purpose.
11941 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
11943 * javax/swing/text/JTextComponent.java:
11944 (getSelectedText): Calculate offset and use that as
11947 2006-02-07 Roman Kennke <kennke@aicas.com>
11949 * javax/swing/JTextPane.java
11950 (setCharacterAttributes): Replace input attributes when
11953 2006-02-07 Roman Kennke <kennke@aicas.com>
11955 * java/awt/Component.java
11956 (firePropertyChange(String,byte,byte)): Made method public.
11957 (firePropertyChange(String,char,char)): Made method public.
11958 (firePropertyChange(String,short,short)): Made method public.
11959 (firePropertyChange(String,long,long)): Made method public.
11960 (firePropertyChange(String,float,float)): Made method public.
11961 (firePropertyChange(String,double,double)): Made method public.
11963 2006-02-06 Tom Tromey <tromey@redhat.com>
11965 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
11967 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
11969 2006-02-06 Anthony Green <green@redhat.com>
11971 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
11973 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
11975 * .settings/org.eclipse.jdt.core.prefs:
11976 Force a line split on extends and implements.
11977 Force a white-space after unary operators.
11978 Don't force a new-line after @params.
11979 Add new-line at end-of-file.
11980 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
11982 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
11984 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
11986 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
11988 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
11990 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
11992 * gnu/java/security/provider/EncodedKeyFactory.java
11993 (ID_DSA): Redefined in terms of Registry constant.
11994 (ID_DSA): Redefined in terms of Registry constant.
11995 (ID_DH): Redefined in terms of Registry constant.
11996 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
11997 (PKCS8_ENCODING): Likewise.
11998 (ASN1_ENCODING): Likewise.
11999 (RAW_ENCODING_SHORT_NAME): Likewise.
12000 (X509_ENCODING_SORT_NAME): Likewise.
12001 (PKCS8_ENCODING_SHORT_NAME): Likewise.
12002 (ASN1_ENCODING_SHORT_NAME): Likewise.
12003 (X509_ENCODING_ID): Likewise.
12004 (PKCS8_ENCODING_ID): Likewise.
12005 (ASN1_ENCODING_ID): Likewise.
12006 (DSA_OID_STRING): Likewise.
12007 (RSA_OID_STRING): Likewise.
12008 (DH_OID_STRING): Likewise.
12010 2006-02-06 Roman Kennke <kennke@aicas.com>
12012 * javax/swing/text/GlyphView.java:
12013 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
12014 Only fill background if there is a background set on the view.
12015 Call Utilities.drawTabbedText with the baseline height, rather than
12016 the upper left corner of the view rectangle.
12017 (getBackground): Return null if no background is set.
12018 * javax/swing/text/GlyphView.java:
12019 (setPropertiesFromAttributes): Use null for background when no
12020 background is set. StyleConstants.getBackground() doesn't work
12021 for this, because it returns Color.BLACK in that case.
12023 2006-02-06 Roman Kennke <kennke@aicas.com>
12025 * java/awt/Container.java
12026 (changeSupport): Removed duplicate (from Component) field.
12027 (addPropertyChangeListener): Call super.
12029 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
12031 * java/util/regex/Matcher.java(matches):
12032 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
12034 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
12037 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
12038 * gnu/regexp/CharIndexedCharArray.java
12039 (lookBehind),(length): Implemented.
12040 * gnu/regexp/CharIndexedInputStream.java: Likewise.
12041 * gnu/regexp/CharIndexedString.java: Likewise.
12042 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
12043 * gnu/regexp/REToken.java(getMaximumLength): New method.
12044 * gnu/regexp/RE.java(internal constructor RE): Added new argument
12046 (initialize): Parse (?<=X), (?<!X), (?>X).
12047 (getMaximumLength): Implemented.
12048 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
12049 * gnu/regexp/RETokenChar.java: Likewise.
12050 * gnu/regexp/RETokenEnd.java: Likewise.
12051 * gnu/regexp/RETokenEndSub.java: Likewise.
12052 * gnu/regexp/RETokenLookAhead.java: Likewise.
12053 * gnu/regexp/RETokenNamedProperty.java: Likewise.
12054 * gnu/regexp/RETokenOneOf.java: Likewise.
12055 * gnu/regexp/RETokenPOSIX.java: Likewise.
12056 * gnu/regexp/RETokenRange.java: Likewise.
12057 * gnu/regexp/RETokenRepeated.java: Likewise.
12058 * gnu/regexp/RETokenStart.java: Likewise.
12059 * gnu/regexp/RETokenWordBoundary.java: Likewise.
12060 * gnu/regexp/RETokenIndependent.java: New file.
12061 * gnu/regexp/RETokenLookBehind.java: New file.
12063 2006-02-06 Roman Kennke <kennke@aicas.com>
12065 * java/awt/Component.java
12066 (firePropertyChange(String,byte,byte)): New method.
12067 (firePropertyChange(String,char,char)): New method.
12068 (firePropertyChange(String,short,short)): New method.
12069 (firePropertyChange(String,long,long)): New method.
12070 (firePropertyChange(String,float,float)): New method.
12071 (firePropertyChange(String,double,double)): New method.
12073 2006-02-06 Roman Kennke <kennke@aicas.com>
12075 * javax/swing/JComponent.java
12076 (AccessibleJComponent.changeSupport): Changed to be a
12077 java.beans.PropertyChangeSupport rather than
12078 SwingPropertyChangeSupport.
12079 (AccessibleJComponent.AccesibleJComponent()): Change initialization
12081 (changeSupport): Removed unneeded field.
12082 (removePropertyChangeListener): Removed unneeded methods.
12083 (addPropertyChangeListener): Removed unneeded methods.
12084 (getPropertyChangeListeners): Removed unneeded methods.
12085 (firePropertyChange(String,boolean,boolean)): Changed to simply
12086 call super. Added specnote.
12087 (firePropertyChange(String,char,char)): Changed to simply
12088 call super. Added specnote.
12089 (firePropertyChange(String,int,int)): Changed to simply
12090 call super. Added specnote.
12091 (firePropertyChange(String,byte,byte)): Removed.
12092 (firePropertyChange(String,Object,Object)): Removed.
12093 (firePropertyChange(String,double,double)): Removed.
12094 (firePropertyChange(String,float,float)): Removed.
12095 (firePropertyChange(String,long,long)): Removed.
12096 (firePropertyChange(String,short,short)): Removed.
12098 2006-02-06 Roman Kennke <kennke@aicas.com>
12100 * javax/swing/event/SwingPropertyChangeSupport.java
12101 (listeners): Removed field.
12102 (propertyListeners): Removed field.
12103 (source): Removed field.
12104 (SwingPropertyChangeSupport()): Removed initialization of removed
12106 (addPropertyChangeListener): Removed methods.
12107 (removePropertyChangeListener): Removed methods.
12108 (getPropertyChangeListeners): Removed methods.
12109 (firePropertyChange): Removed methods.
12110 (hasListeners): Removed methods.
12112 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
12115 * java/net/InetAddress.java
12116 (readResolve): Implemented.
12118 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
12121 * java/io/ObjectInputStream.java
12122 (readNextBlock()): Handle TC_RESET.
12124 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
12126 * javax/print/attribute/standard/Compression.java,
12127 * javax/print/attribute/standard/Finishings.java,
12128 * javax/print/attribute/standard/JobMediaSheets.java,
12129 * javax/print/attribute/standard/JobSheets.java,
12130 * javax/print/attribute/standard/JobState.java,
12131 * javax/print/attribute/standard/JobStateReason.java,
12132 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
12133 * javax/print/attribute/standard/PrintQuality.java,
12134 * javax/print/attribute/standard/Media.java,
12135 * javax/print/attribute/standard/MultipleDocumentHandling.java,
12136 * javax/print/attribute/standard/PrinterStateReason.java,
12137 * javax/print/attribute/standard/PDLOverrideSupported.java:
12138 (getName): Make method final.
12139 (getCategory): Likewise.
12140 * javax/print/attribute/standard/MediaSize.java:
12141 (getName): Make method final.
12142 (getCategory): Likewise.
12143 (ISO): Added private default constructor.
12147 (Engineering): Likewise.
12149 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
12151 * native/jni/java-net/javanet.c (_javanet_connect):
12152 Throw ConnectException instead of IOException if connection failed.
12153 * native/jni/java-net/javanet.h:
12154 Add a define for java.net.ConnectException
12156 2006-02-05 Mark Wielaard <mark@klomp.org>
12159 reported by Egon Willighagen <egon.willighagen@gmail.com>
12160 * javax/swing/DefaultListCellRenderer.java
12161 (getListCellRendererComponent): Turn null value into empty string.
12163 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
12165 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
12166 a Unicode block if the name starts with "In".
12167 (UnicodeBlockHandler): New inner class.
12169 2006-02-04 Roman Kennke <kennke@aicas.com>
12171 * java/awt/Container.java
12172 (getComponentZOrder): New method.
12173 (setComponentZOrder): New method.
12174 * javax/swing/JLayeredPane.java
12175 (setPosition): Reimplemented to use setComponentZOrder().
12176 (getIndexOf): Reimplemented to use getComponentZOrder().
12177 (addImpl): Pass layerContraint to super call. Important for possibly
12178 installed layout managers.
12179 (swapComponents): Remove unneeded method.
12181 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
12183 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
12184 DSAKeyPairGenerator.
12185 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
12186 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
12188 Surround call to adaptee in a try/catch.
12189 (initialize((DSAParams,SecureRandom)): New method.
12190 (initialize(int,boolean,SecureRandom)): New method.
12191 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
12192 KeyPairGenerator rather than KeyPairGeneratorSpi.
12193 (KeyPairGeneratorAdapter): Call super with algorithm name.
12195 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
12197 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
12198 (getDefaultPRNG): New method.
12199 (parseO): Use method above.
12200 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
12201 (getDefaultPRNG): New method.
12202 (createO): Use method above.
12203 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
12204 (nextByte): Use above field.
12205 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
12206 * gnu/java/security/sig/rsa/RSA.java: New class field.
12207 (newR): Use above field
12208 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
12209 (encode): Use field.above.
12210 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
12211 (getDefaultPRNG): new method.
12212 (nextRandomBytes): Use above method.
12213 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
12214 * gnu/java/security/sig/BaseSignature.java: Likewise.
12215 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
12216 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
12217 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
12218 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
12219 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
12220 (getDefaultPRNG): new method.
12221 (nextRandomBytes): Use above method.
12222 (STRICT_DEFAULTS): new class field.
12223 (USE_DEFAULTS): more documentation to clarify behavior.
12224 (setup): amended to handle new attribute.
12225 * gnu/java/security/util/PRNG.java: New file.
12227 2006-02-03 Lillian Angel <langel@redhat.com>
12229 * javax/swing/plaf/basic/BasicColorChooserUI.java:
12230 chooser field should be protected, not package-private.
12232 2006-02-03 Lillian Angel <langel@redhat.com>
12234 * javax/swing/text/DefaultStyledDocument.java
12235 (changeUpdate): Cleaned up code.
12237 (insertUpdate): Set offset to be equal to pos after
12238 insertContentTag call.
12239 (insertContentTag): If paragraph has no children, should use
12240 replace instead of Edit.
12241 (insertFracture): Moved around code to prevent any exception. Also,
12242 left side of tree should not be recreated if it has already been
12243 edited. In that case, we should only be creating a new right branch
12245 (getEditForParagraphAndIndex): No need to check index. We should
12246 use the same edit for each paragraph.
12248 2006-02-03 Mark Wielaard <mark@klomp.org>
12250 * javax/swing/event/SwingPropertyChangeSupport.java
12251 (propertyListeners): Change type to HashMap.
12252 (SwingPropertyChangeSupport): Allocate HashMap.
12254 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
12256 * java/security/KeyPairGenerator.java (getInstance): Test for
12257 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
12259 2006-02-02 Roman Kennke <kennke@aicas.com>
12261 * javax/swing/RepaintManager.java
12262 Made fields private.
12263 (RepaintWorker.run): Enclosed work stuff in try finally block in
12264 order to clean up correctly if invalidation or painting fails,
12265 otherwise we would get no more RepaintWorkers onto the EventQueue.
12266 Also, now the RepaintWorker is marked 'dead' only after it has
12267 finished its work, avoid more than one RepaintWorker on the queue.
12268 (ComponentComparator.compareTo): Compare dirty rectangle sizes
12269 instead of hierarchy depths.
12270 (workDirtyComponents): Removed unused field.
12271 (repaintOrder): Removed unused field.
12272 (workRepaintOrder): Removed unused field.
12273 (workInvalidComponents): Removed unused field.
12274 (RepaintManager()): Removed initialization of removed fields.
12275 (addInvalidComponent): Fine tuned synchronization.
12276 (removeInvalidComponent): Fine tune synchronization.
12277 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
12278 synchronization. Don't manager repaintOrder here.
12279 (insertRepaintOrder): Removed method.
12280 (markCompletelyClean): Fine tuned synchronization.
12281 (validateInvalidComponents): Dont use a working copy of the
12282 invalidComponents list, instead fine tuned synchronization on this
12283 list. Also, don't search validateRoot, this is already done in
12284 addInvalidComponent().
12285 (paintDirtyRegions): Compute repaint order here, based on size of
12286 damaged regions. Fine tuned synchronization. Avoid use of working
12287 copies of dirtyComponent.
12289 2006-02-02 Lillian Angel <langel@redhat.com>
12291 * javax/swing/text/DefaultStyledDocument.java
12292 (insertUpdate): JoinNextDirection should push the
12293 'next' paragraph on the stack.
12295 2006-02-02 Lillian Angel <langel@redhat.com>
12297 * javax/swing/text/DefaultStyledDocument.java
12298 (insertUpdate): Rewrote code for Originate. This prevents
12299 leaves being created multiple times. If it is on the last
12300 ElementSpec, the leaves need to be created right then;
12301 otherwise, only a branch is created.
12302 (insertContentTag): Rewrote to add new leaf directly if
12303 this is a branch with no children. Otherwise, it
12304 recreates the remainder of the tree as before.
12306 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
12308 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
12309 for making a list of REMatch instances.
12310 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
12311 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
12312 (match): Rewritten using REMatchList.
12313 (matchRest): Rewritten using REMatchList.
12315 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12317 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
12318 (friendsMove): Call repaint() only after endOfGame is assigned.
12320 2006-02-02 Mark Wielaard <mark@klomp.org>
12322 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
12323 * java/util/AbstractCollection.java (toString): Only use Iterator,
12324 check whether collection contains itself.
12326 2006-02-01 Casey Marshall <csm@gnu.org>
12328 Partial fix for PR classpath/25143.
12329 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
12330 (<init>): fill in `algName,' derive `algOid' from `algName.'
12331 (getOid): new method.
12332 (encode): embed NULL value for parameters if `params' is `null.'
12334 2006-02-01 Casey Marshall <csm@gnu.org>
12336 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
12337 <monoman@gmail.com>.
12338 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
12339 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
12341 2006-02-01 Casey Marshall <csm@gnu.org>
12343 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
12344 * gnu/java/security/der/DERValue.java
12345 (getLength, getEncoded, getEncodedLength): throw an exception,
12346 don't initialize `encoded' to a bogus value.
12347 (toString): return a more helpful string.
12349 Partial fix for PR classpath/25144.
12350 * gnu/java/security/der/DERWriter.java (write): if the value is
12351 the pseudo-value used for CONSTRUCTED, write the encoded value
12354 2006-02-01 Tom Tromey <tromey@redhat.com>
12356 * java/security/Security.java (loadProviders): Use system class
12359 2006-02-01 Mark Wielaard <mark@klomp.org>
12361 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
12362 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
12363 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
12364 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
12365 (UnicodeCategoriesHandler): New private static class.
12367 2006-02-01 Lillian Angel <langel@redhat.com>
12369 * javax/swing/text/DefaultStyledDocument.java:
12370 Removed unneeded fields.
12371 (insertUpdate): Removed field initialization.
12372 (insertContentTag): Rewrote part of function. Still
12375 2006-02-01 Lillian Angel <langel@redhat.com>
12377 * javax/swing/text/DefaultStyledDocument.java
12378 (insertParagraph): Cleaned up code.
12379 (insertFirstContentTag): Fixed call to recreateLeaves.
12380 (insertContentTag): Added check to code to determine where
12381 content should be inserted with respect to next element.
12382 (createFracture): Removed check, recreateLeaves is called in
12383 other places when needed.
12384 (recreateLeaves): Added new parameter for paragraph instead
12385 of checking the stack. Removed editing for newBranch, replaced
12386 with a replace call.
12388 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
12390 * doc/unicode/Blocks-4.0.0.txt: New file.
12391 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
12392 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
12393 * scripts/unicode-blocks.pl: Copied this over from the generics branch
12394 but replaced some 1.5-only features (such as enum).
12396 2006-01-31 Roman Kennke <kennke@aicas.com>
12398 * javax/swing/text/PasswordView.java
12399 (drawSelectedText): Use drawEchoCharacter() method to draw echo
12401 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
12404 2006-01-31 Roman Kennke <kennke@aicas.com>
12406 * javax/swing/JTextField.java
12407 (getPreferredSize): Also include textfield's insets in width
12410 2006-01-31 Roman Kennke <kennke@aicas.com>
12412 * javax/swing/plaf/basic/BasicTextUI.java
12413 (getPreferredSize): Include the textcomponent's insets in
12416 2006-01-31 Roman Kennke <kennke@aicas.com>
12418 * javax/swing/table/DefaultTableCellRenderer.java
12419 (getTableCellRendererComponent): Moved setting of the value into
12420 setValue(). Removed (bogus) special handling of JTextField values.
12421 (setValue): Made ?: statement more clear by rewriting it
12424 2006-01-31 Roman Kennke <kennke@aicas.com>
12426 * javax/swing/JLayeredPane.java
12427 (insertIndexForLayer): Fixed algorithm to correctly determine
12428 inser index for positions >= 0.
12429 (addImpl): Fixed API docs for the index parameter.
12431 2006-01-31 Mark Wielaard <mark@klomp.org>
12433 * java/net/URI.java (getURIGroup): Check for null to see whether
12434 group actually exists.
12436 2006-01-31 Lillian Angel <langel@redhat.com>
12438 * javax/swing/text/DefaultStyledDocument.java
12439 (changeUpdate): Fixed calls to split to incorporate
12441 (insertParagraph): Likewise. Uses 0 as editIndex
12442 because inserting into a new paragraph.
12443 (insertContentTag): Fixed check to use
12444 recreateLeaves. Added a FIXME comment.
12445 (split): Added a new parameter for edits.
12447 2006-01-31 Roman Kennke <kennke@aicas.com>
12449 * javax/swing/plaf/basic/BasicRootPaneUI.java
12450 (installDefaults): Don't install a background color here.
12452 2006-01-31 Lillian Angel <langel@redhat.com>
12454 * javax/swing/text/DefaultStyledDocument.java
12455 (insert): Removed comment.
12456 (insertUpdate): Added comment.
12457 (recreateLeaves): Removed call to push newBranch onto the
12458 stack. This does not need to be done here.
12460 2006-01-31 Chris Burdess <dog@gnu.org>
12462 * gnu/xml/stream/SAXParser.java,
12463 gnu/xml/stream/UnicodeReader.java,
12464 gnu/xml/stream/XIncludeFilter.java,
12465 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
12466 only resolved the system ID not the stream. Make some utility methods
12467 public and static for use by other private XML APIs.
12468 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
12469 called without throwing IllegalStateException.
12470 * java/util/logging/SimpleFormatter.java: Write thrown exception if
12473 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
12476 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
12477 for an invalid index and return null for a skipped group.
12479 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
12482 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
12483 (NamedProperty): New inner class.
12484 (getNamedProperty): New method.
12485 (getRETokenNamedProperty): New Method.
12486 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
12487 * gnu/regexp/RETokenNamedProperty.java: New file.
12489 2006-01-31 Roman Kennke <kennke@aicas.com>
12491 * javax/swing/plaf/PlainView.java
12492 (paint): Call drawLine with baseline coordinates.
12493 (drawLine): Documented and indented this method.
12494 (drawUnselecetedText): Documented and indented this method.
12495 * javax/swing/plaf/text/Utilites.java
12496 (drawTabbedText): The coordinates denote the baseline of the text
12497 not the upper left corner.
12499 2006-01-31 Roman Kennke <kennke@aicas.com>
12501 * javax/swing/plaf/basic/BasicTextUI.java
12502 (createKeymap): Don't store KeyBindings[] as focusInputMap in
12503 UIManager. Added FIXME regarding the implementation of this method.
12505 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
12507 * examples/gnu/classpath/examples/swing/ButtonDemo.java
12508 (ButtonDemo): Move content initialisation to new method,
12509 (initFrameContent): New method,
12510 (main): Call initFrameContent(),
12511 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
12512 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
12513 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
12514 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
12515 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
12517 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
12519 * examples/gnu/classpath/examples/swing/Demo.java
12520 (Demo): Set frame size,
12521 (mkButtonBar): Removed stacked sub-panels.
12523 2006-01-30 Lillian Angel <langel@redhat.com>
12525 * javax/swing/text/DefaultStyledDocument.java:
12527 (insert): Initialized fields. Removed call to addEdit,
12528 and created ElementEdit instead.
12529 (insertUpdate): Added check for fracturing. If the
12530 fracturing was not successful, we should push the
12531 last element back on the stack.
12532 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
12533 Also, changed replace calls to use Edit.
12534 (insertFirstContentTag): Removed unneeded check and fixed call
12536 (insertContent): Fixed check to use new fields. Added code in
12537 to check if leaves overlap.
12538 (createFracture): Fixed call to recreateLeaves.
12539 (recreateLeaves): Fixed code and cleaned it up a bit.
12540 (insertFracture): Set fracNotCreated field.
12541 (addEdit): Removed, this method is not needed.
12543 2006-01-30 Roman Kennke <kennke@aicas.com>
12545 * javax/swing/JRootPane.java
12546 (RootLayout.prefSize): Removed caching for preferredSize.
12547 (RootLayout.invalidateLayout): Likewise.
12548 (RootLayout.preferredLayoutSize): Likewise.
12550 2006-01-30 Roman Kennke <kennke@aicas.com>
12553 * javax/swing/JFrame.java
12554 (frameInit): Handle the defaultLookAndFeelDecorated flag.
12555 * javax/swing/plaf/metal/MetalRootPaneUI.java
12556 (MetalFrameBorder): New inner class, provides the border for
12557 top level containers with L&F decorations.
12558 (MetalTitlePane): New inner class, provides the title pane for
12559 top level containers with L&F decorations.
12560 (MetalRootLayout): New inner class. Used to layout the root pane
12561 when L&F window decorations are enabled.
12562 (installUI): New method. Handles window decorations.
12563 (uninstallUI): New method. Handles window decorations.
12564 (propertyChange): Handles window decorations.
12565 (installWindowDecorations): New method. Handles window
12567 (uninstallWindowDecorations): New method. Handles window
12569 * javax/swing/plaf/metal/MetalLookAndFeel.java
12570 (getSupportsWindowDecorations): Overridden to return true.
12572 2006-01-30 Mark Wielaard <mark@klomp.org>
12574 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
12575 IllegalArgumentException when orientation is illegal.
12576 (JProgressBar(int, int, int)): Likewise and throw exception.
12577 (setOrientation): Likewise.
12579 2006-01-30 Roman Kennke <kennke@aicas.com>
12581 * javax/swing/ViewportLayout.java
12582 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
12584 2006-01-30 Mark Wielaard <mark@klomp.org>
12586 * javax/swing/JProgressBar.java (orientation): Always set by
12588 (JProgressBar(int)): Document default on 'illegal' value.
12589 (JProgressBar(int, int, int)): Likewise and set orientation to
12590 HORIZONTAL when 'illegal'.
12591 (setOrientation): Likewise.
12593 2006-01-30 Roman Kennke <kennke@aicas.com>
12595 * javax/swing/plaf/basic/BasicListUI.java
12596 (ListDataHandler.contentsChanged): Update the
12597 updateLayoutStateNeeded flag.
12598 (ListDataHandler.intervalAdded): Update the
12599 updateLayoutStateNeeded flag.
12600 (ListDataHandler.intervalRemoved): Update the
12601 updateLayoutStateNeeded flag.
12602 (PropertyChangeHandler.propertyChange): Correctly update the
12603 listeners on new list model.
12604 (maybeUpdateLayoutState): Don't consider the validation state
12607 2006-01-30 Mark Wielaard <mark@klomp.org>
12609 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
12612 2006-01-30 Roman Kennke <kennke@aicas.com>
12614 * javax/swing/JLayeredPane.java
12615 (insertIndexForLayer): Fixed algorithm to correctly insert
12616 components within different layers and -1 position.
12618 2006-01-30 Mark Wielaard <mark@klomp.org>
12620 * doc/api/Makefile.am (create_html): Add -validhtml.
12622 2006-01-30 Roman Kennke <kennke@aicas.com>
12624 * javax/swing/JLayeredPane.java
12625 (insertIndexForLayer): Fixed algorithm to correctly insert
12626 components within same layer and -1 position.
12628 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
12631 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
12632 New execution flag.
12633 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
12634 implicit RETokenEnd at the end of the regexp chain.
12635 Do not select the longest match, but select the first match.
12636 (match): Do not take care of REMatch.empty.
12637 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
12638 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
12639 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
12640 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
12641 Do not take care of REMatch.empty. Set and check REMatch.empty
12642 when trying to match the single token.
12644 2006-01-30 Mark Wielaard <mark@klomp.org>
12646 * java/awt/Cursor.java (toString): Include name and type.
12648 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
12650 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
12652 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
12654 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12657 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
12658 Consider the validation state of the list.
12660 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
12662 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
12664 * java/beans/XMLDecoder.java:
12665 (setExceptionListener): Use shared DefaultExceptionListener
12667 * java/beans/Encoder.java:
12668 (setExceptionListener): Use shared DefaultExceptionListener
12671 2006-01-29 Roman Kennke <kennke@aicas.com>
12673 * javax/swing/ScrollPaneLayout.java
12674 (minimumLayoutSize): Rewritten to match JDKs behaviour.
12676 2006-01-29 Mark Wielaard <mark@klomp.org>
12678 * java/net/SocketPermission.java (setActions): Trim and lower case
12681 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
12683 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
12684 incorrectly failing primality test for some known primes. Fixed.
12685 (passFermatLittleTheorem): Removed.
12686 (passMillerRabin): Removed.
12687 (isProbablePrime): Cache primes that pass the primality tests.
12688 Use BigInteger.isProbablePrime(int) for primality tests.
12689 (debugBI): New static debugging method.
12691 2006-01-28 Roman Kennke <kennke@aicas.com>
12693 * javax/swing/plaf/basic/BasicListUI.java
12694 (updateLayoutState): Removed unneeded special case for VERTICAL.
12696 2006-01-28 Roman Kennke <kennke@aicas.com>
12698 * javax/swing/plaf/basic/BasicListUI.java
12699 (getCellBounds): Determine correct list width when having a
12700 layoutOrientation of VERTICAL.
12701 (maybeUpdateLayoutState): Don't consider the validation state of
12704 2006-01-28 Mark Wielaard <mark@klomp.org>
12706 Reported by Dimitri Fontaine <dimitri@dalibo.com>
12707 * java/awt/print/NoPrinterJob.java: New (fake) class.
12708 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
12710 2006-01-28 Mark Wielaard <mark@klomp.org>
12712 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
12714 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12716 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
12717 (addChildren): New method.
12719 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
12721 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
12722 constructor for cloning purposes.
12723 (clone): New implementation that ensures cloning.
12724 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
12725 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
12728 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12730 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
12731 Call updateCurrentVisiblePath.
12733 2006-01-27 Roman Kennke <kennke@aicas.com>
12735 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
12737 2006-01-27 Roman Kennke <kennke@aicas.com>
12739 * examples/gnu/classpath/examples/swing/ButtonDemo.java
12740 (createContent): Only create new content if we don't have one
12742 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
12743 (createContent): Only create new content if we don't have one
12745 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
12746 (createContent): Only create new content if we don't have one
12748 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
12749 (createContent): Only create new content if we don't have one
12751 * examples/gnu/classpath/examples/swing/SliderDemo.java
12752 (createContent): Only create new content if we don't have one
12754 * examples/gnu/classpath/examples/swing/TableDemo.java
12755 (createContent): Only create new content if we don't have one
12757 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
12758 (createContent): Only create new content if we don't have one
12761 2006-01-27 Lillian Angel <langel@redhat.com>
12763 * javax/swing/text/DefaultStyledDocument.java
12764 (insertFirstContentTag): Removed check, not needed. This
12765 still needs to be fixed for some cases. Added call to
12767 (createFracture): Added call to recreateLeaves.
12768 (recreateLeaves): New method used to recreate all the
12769 leaves after the initial insertion. This still needs
12771 (handleInsertAfterNewline): Removed else, not needed.
12773 2006-01-27 Roman Kennke <kennke@aicas.com>
12775 * javax/swing/JLayeredPane.java
12776 (inserIndexForLayer): Fixed direction of search.
12778 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12780 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
12781 node into nodeStates.
12783 2006-01-27 Roman Kennke <kennke@aicas.com>
12785 * javax/swing/JLayeredPane.java
12786 (FRAME_CONTENT_LAYER): Made field final.
12787 (componentToLayer): Made field private.
12788 (rectCache): Removed field.
12789 (layers): Removed field.
12790 (JLayeredPane()): Removed initialization of removed fields.
12791 (getLayer): Rewritten to make use of client properties in
12792 JComponents and to be more straighforward.
12793 (static getLayer): Rewritten to make use of client properties in
12795 (layerToRange): Removed method.
12796 (incrLayer): Removed method.
12797 (decrLayer): Removed method.
12798 (highestLayer): Rewritten to be more straightforward.
12799 (lowestLayer): Rewritten to be more straightforward.
12800 (getPosition): Rewritten to be more straightforward.
12801 (getComponentsInLayer): Rewritten to be more straightforward.
12802 (getComponentCountInLayer): Rewritten to be more straightforward.
12803 (getIndexOf): Rewritten to be more straightforward.
12804 (inserIndexForLayer): Rewritten to be more straightforward.
12805 (remove): Rewritten to be more straightforward.
12806 (setLayer): Rewritten to be more straightforward.
12807 (addImpl): Rewritten to be more straightforward.
12808 (putLayer): Rewritten to be more straightforward.
12810 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
12812 * java/lang/Character.java:
12813 (offsetByCodePoints(CharSequence, int, int)): New API method.
12814 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
12815 (toChars): Throw the Exception that the docs say we throw.
12816 (codePointAt): Fixed an off-by-one error in the bounds of the if
12818 * java/lang/String.java:
12819 (String(int[], int, int)): New API constructor.
12821 2006-01-27 Lillian Angel <langel@redhat.com>
12823 * javax/swing/text/DefaultStyledDocument.java
12824 (insert): Moved this loop to insertUpdate.
12825 (insertUpdate): Likewise. Fixed variable
12826 names. Incremented pos if new paragraph
12828 (split): Changed edits to use replace instead. Prevents
12830 (insertFirstContentTag): Removed else.
12831 (insertContentTag): Implemented else for JoinNextDirection.
12832 (createFracture): Fixed up code, still not fully complete.
12833 (insertFracture): Fixed to use return value from
12834 recreateAfterFracture.
12835 (recreateAfterFracture): Changed to return an array of the
12836 elements to be added. This prevents an assertion error.
12837 (contains): New function checks if an element is already in
12838 the Vector. Vector's contain function was not enough to use.
12839 (addAddedElement): Changed to use new contains function.
12840 (addAddedElements): Likewise.
12841 (addRemovedElement): Likewise.
12842 (addRemovedElements): Likewise.
12844 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12847 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
12848 If no user class loaders found on the stack, return the thread
12849 context class loader. (currentClassLoader): Explained.
12851 2006-01-27 Roman Kennke <kennke@aicas.com>
12853 * java/awt/Container.java
12854 (swapComponents): Removed unspecified method.
12855 * javax/swing/JLayeredPane.java
12856 (setPosition): Reimplemented correctly.
12857 (swapComponents): New helper method.
12859 2006-01-27 Mark Wielaard <mark@klomp.org>
12861 * configure.ac: Set version to 0.21-pre.
12863 2006-01-27 Roman Kennke <kennke@aicas.com>
12866 * javax/swing/JComponent.java
12867 (findOverlapFreeParent): Improved the algorithm to make better use
12868 of the optimizedDrawingEnabled flag.
12869 * javax/swing/JLayeredPane.java
12870 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
12871 * javax/swing/JViewport.java
12872 (computeBlit): Fixed check to decide if blitting is possible or not,
12873 so that it doesn't blit if nothing was scrolled (in order to
12874 update the buffer when the view updates itself).
12876 2006-01-27 Roman Kennke <kennke@aicas.com>
12878 * javax/swing/plaf/metal/MetalFileChooserUI.java
12879 (createList): Don't set scrollbar policy.
12881 2006-01-27 Roman Kennke <kennke@aicas.com>
12883 * javax/swing/plaf/basic/BasicPopupMenuUI.java
12884 (PopupMenuHandler.popupMenuWillBecomeInvisible):
12885 Fixed to also handle non-Swing toplevel containers.
12886 (PopupMenuHandler.popupMenuWillBecomeVisible):
12887 Fixed to also handle non-Swing toplevel containers.
12888 * javax/swing/Popup.java
12889 (JWindowPopup.JWindowPopup()): Correctly set parent window on
12892 2006-01-27 Roman Kennke <kennke@aicas.com>
12894 * javax/swing/plaf/basic/BasicInternalFrameUI.java
12895 (InternalFramePropertyChangeListener): Don't implement
12896 VetoableChangeListener.
12897 (InternalFramePropertyChangeListener.vetoableChange): Removed.
12898 (internalFrameVetoableChangeListener): Removed unneeded field.
12899 (installListeners): Don't install vetoableChangeListener.
12900 * javax/swing/event/DocumentEvent.java
12901 (EventType): Made class final.
12903 2006-01-27 Roman Kennke <kennke@aicas.com>
12905 * javax/swing/SwingUtilities.java
12906 (calculateInsetArea): Removed unneeded method. The method
12907 calculateInnerArea has the same purpose and is actually specified.
12908 (calculateInnerArea): Rewritten to not use calculateInsetArea.
12909 * javax/swing/plaf/basic/BasicMenuItemUI.java
12910 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
12911 of SwingUtilities.calculateInsetArea().
12913 2006-01-27 Roman Kennke <kennke@aicas.com>
12915 * javax/swing/plaf/basic/BasicTreeUI.java
12916 (installDefaults): Removed requestFocusInWindow() call.
12917 * javax/swing/JComponent.java
12918 (requestFocusInWindow(boolean)): Made method protected.
12919 (printComponent): Made method protected.
12920 (printChildren): Made method protected.
12921 (printComponent): Made method protected.
12922 (printBorder): Made method protected.
12924 2006-01-27 Roman Kennke <kennke@aicas.com>
12926 * javax/swing/AbstractButton.java
12927 (ButtonChangeListener.ButtonChangeListener()): Made constructor
12929 * javax/swing/ImageIcon.java
12930 (component): Made field final.
12931 (tracker): Made field final.
12932 * javax/swing/JApplet.java
12933 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
12934 * javax/swing/JCheckBox.java
12935 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
12937 * javax/swing/JDialog.java
12938 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
12939 * javax/swing/JFrame.java
12940 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
12941 * javax/swing/JLayeredPane.java
12942 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
12944 (DEFAULT_LAYER): Made field final.
12945 (PALETTE_LAYER): Made field final.
12946 (MODAL_LAYER): Made field final.
12947 (POPUP_LAYER): Made field final.
12948 (DRAG_LAYER): Made field final.
12949 * javax/swing/JMenu.java
12950 (ActionChangeListener): Made class private.
12951 * javax/swing/JOptionPane.java
12952 (UNITITIALIZED_VALUE): Made field final.
12953 * javax/swing/JPanel.java
12954 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
12955 * javax/swing/JPopupMenu.java
12956 (ActionChangeListener): Made class private.
12957 * javax/swing/JTree.java
12958 (paramString): Made method protected.
12959 * javax/swing/JViewport.java
12960 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
12961 * javax/swing/JWindow.java
12962 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
12963 * javax/swing/RepaintManager.java
12964 (RepaintWorker): Made class private.
12966 2006-01-27 Roman Kennke <kennke@aicas.com>
12968 * gnu/java/awt/peer/swing/SwingComponentPeer.java
12969 (handleEvent): Removed debug statement.
12971 2006-01-27 Roman Kennke <kennke@aicas.com>
12973 * java/awt/Component.java
12974 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
12975 more than it helps.
12977 2006-01-26 Lillian Angel <langel@redhat.com>
12979 * javax/swing/text/DefaultStyledDocument.java
12980 (createFracture): Commented out a known problem,
12983 2006-01-26 Lillian Angel <langel@redhat.com>
12985 * javax/swing/text/DefaultStyledDocument.java
12986 (ElementBuffer): Added fields.
12987 (remove): Initialized pos.
12988 (change): Likewise.
12989 (insert): Likewise.
12990 (insertUpdate): Incremented pos. Fixed check, createFracture should
12991 be called on first tag if it is not ContentType.
12992 (insertFirstContentTag): Reworked to use proper offsets and
12993 set offset accordingly. This might need more work in the future.
12994 (insertContentTag): Likewise. Fixed to use pos, instead of
12996 (createFracture): Fixed to recreate other leaves. Still needs
12998 (insertFracture): Reimplemented.
12999 (recreateAfterFracture): New method.
13000 (getParagraphElement): Reimplemented, more efficent.
13002 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
13004 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
13005 (doubleToRawLongBits, longBitsToDouble): Swap the byte
13006 ordering for little-endian arms without VFP.
13008 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
13011 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
13013 2006-01-26 Mark Wielaard <mark@klomp.org>
13015 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
13016 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
13017 Add trailing zeros to the fraction of the decimal with the smallest
13020 2006-01-26 Roman Kennke <kennke@aicas.com>
13022 * javax/swing/text/html/ObjectView.java: New file.
13024 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13026 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13027 Call startEditing when appropriate.
13028 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
13029 (startEditing): Always edit if directly ordered from
13030 MouseHandler.mousePressed.
13031 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
13032 New field. (createTreeCellEditor): Set click count to start.
13033 (getTreeCellEditorComponent): Assing realEditor directly.
13035 2006-01-25 Casey Marshall <csm@gnu.org>
13037 Merging GNU Crypto and Jessie.
13039 * NEWS: mention the merge in the 0.21 notes.
13040 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
13041 (SSL_RECORD_LAYER): new constants.
13042 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
13044 * resource/java/security/classpath.security: add new providers.
13045 * gnu/javax/crypto/assembly/Assembly.java,
13046 gnu/javax/crypto/assembly/Cascade.java,
13047 gnu/javax/crypto/assembly/CascadeStage.java,
13048 gnu/javax/crypto/assembly/CascadeTransformer.java,
13049 gnu/javax/crypto/assembly/DeflateTransformer.java,
13050 gnu/javax/crypto/assembly/Direction.java,
13051 gnu/javax/crypto/assembly/LoopbackTransformer.java,
13052 gnu/javax/crypto/assembly/ModeStage.java,
13053 gnu/javax/crypto/assembly/Operation.java,
13054 gnu/javax/crypto/assembly/PaddingTransformer.java,
13055 gnu/javax/crypto/assembly/Stage.java,
13056 gnu/javax/crypto/assembly/Transformer.java,
13057 gnu/javax/crypto/assembly/TransformerException.java,
13058 gnu/javax/crypto/cipher/Anubis.java,
13059 gnu/javax/crypto/cipher/BaseCipher.java,
13060 gnu/javax/crypto/cipher/Blowfish.java,
13061 gnu/javax/crypto/cipher/Cast5.java,
13062 gnu/javax/crypto/cipher/CipherFactory.java,
13063 gnu/javax/crypto/cipher/DES.java,
13064 gnu/javax/crypto/cipher/IBlockCipher.java,
13065 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
13066 gnu/javax/crypto/cipher/Khazad.java,
13067 gnu/javax/crypto/cipher/NullCipher.java,
13068 gnu/javax/crypto/cipher/Rijndael.java,
13069 gnu/javax/crypto/cipher/Serpent.java,
13070 gnu/javax/crypto/cipher/Square.java,
13071 gnu/javax/crypto/cipher/TripleDES.java,
13072 gnu/javax/crypto/cipher/Twofish.java,
13073 gnu/javax/crypto/cipher/WeakKeyException.java,
13074 gnu/javax/crypto/jce/GnuCrypto.java,
13075 gnu/javax/crypto/jce/GnuSasl.java,
13076 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
13077 gnu/javax/crypto/jce/cipher/AESSpi.java,
13078 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
13079 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
13080 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
13081 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
13082 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
13083 gnu/javax/crypto/jce/cipher/DESSpi.java,
13084 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
13085 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
13086 gnu/javax/crypto/jce/cipher/PBES2.java,
13087 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
13088 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
13089 gnu/javax/crypto/jce/cipher/SquareSpi.java,
13090 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
13091 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
13092 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
13093 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
13094 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
13095 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
13096 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
13097 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
13098 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
13099 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
13100 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
13101 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
13102 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
13103 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
13104 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
13105 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
13106 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
13107 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
13108 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
13109 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
13110 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
13111 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
13112 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
13113 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
13114 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
13115 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
13116 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
13117 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
13118 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
13119 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
13120 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
13121 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
13122 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
13123 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
13124 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
13125 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
13126 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
13127 gnu/javax/crypto/jce/mac/MacAdapter.java,
13128 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
13129 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
13130 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
13131 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
13132 gnu/javax/crypto/jce/mac/OMacImpl.java,
13133 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
13134 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
13135 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
13136 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
13137 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
13138 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
13139 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
13140 gnu/javax/crypto/jce/mac/UHash32Spi.java,
13141 gnu/javax/crypto/jce/mac/UMac32Spi.java,
13142 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
13143 gnu/javax/crypto/jce/params/DEREncodingException.java,
13144 gnu/javax/crypto/jce/params/DERReader.java,
13145 gnu/javax/crypto/jce/params/DERWriter.java,
13146 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
13147 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
13148 gnu/javax/crypto/jce/prng/FortunaImpl.java,
13149 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
13150 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
13151 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
13152 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
13153 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
13154 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
13155 gnu/javax/crypto/key/GnuSecretKey.java,
13156 gnu/javax/crypto/key/IKeyAgreementParty.java,
13157 gnu/javax/crypto/key/IncomingMessage.java,
13158 gnu/javax/crypto/key/KeyAgreementException.java,
13159 gnu/javax/crypto/key/KeyAgreementFactory.java,
13160 gnu/javax/crypto/key/OutgoingMessage.java,
13161 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
13162 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
13163 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
13164 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
13165 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
13166 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
13167 gnu/javax/crypto/key/dh/ElGamalSender.java,
13168 gnu/javax/crypto/key/dh/GnuDHKey.java,
13169 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
13170 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
13171 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
13172 gnu/javax/crypto/key/dh/RFC2631.java,
13173 gnu/javax/crypto/key/srp6/SRP6Host.java,
13174 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
13175 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
13176 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
13177 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
13178 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
13179 gnu/javax/crypto/key/srp6/SRP6User.java,
13180 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
13181 gnu/javax/crypto/key/srp6/SRPKey.java,
13182 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
13183 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
13184 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
13185 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
13186 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
13187 gnu/javax/crypto/keyring/BaseKeyring.java,
13188 gnu/javax/crypto/keyring/BinaryDataEntry.java,
13189 gnu/javax/crypto/keyring/CertPathEntry.java,
13190 gnu/javax/crypto/keyring/CertificateEntry.java,
13191 gnu/javax/crypto/keyring/CompressedEntry.java,
13192 gnu/javax/crypto/keyring/EncryptedEntry.java,
13193 gnu/javax/crypto/keyring/Entry.java,
13194 gnu/javax/crypto/keyring/EnvelopeEntry.java,
13195 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
13196 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
13197 gnu/javax/crypto/keyring/IKeyring.java,
13198 gnu/javax/crypto/keyring/IPrivateKeyring.java,
13199 gnu/javax/crypto/keyring/IPublicKeyring.java,
13200 gnu/javax/crypto/keyring/MalformedKeyringException.java,
13201 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
13202 gnu/javax/crypto/keyring/MeteredInputStream.java,
13203 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
13204 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
13205 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
13206 gnu/javax/crypto/keyring/PrimitiveEntry.java,
13207 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
13208 gnu/javax/crypto/keyring/Properties.java,
13209 gnu/javax/crypto/keyring/PublicKeyEntry.java,
13210 gnu/javax/crypto/mac/BaseMac.java,
13211 gnu/javax/crypto/mac/HMac.java,
13212 gnu/javax/crypto/mac/HMacFactory.java,
13213 gnu/javax/crypto/mac/IMac.java,
13214 gnu/javax/crypto/mac/MacFactory.java,
13215 gnu/javax/crypto/mac/MacInputStream.java,
13216 gnu/javax/crypto/mac/MacOutputStream.java,
13217 gnu/javax/crypto/mac/OMAC.java,
13218 gnu/javax/crypto/mac/TMMH16.java,
13219 gnu/javax/crypto/mac/UHash32.java,
13220 gnu/javax/crypto/mac/UMac32.java,
13221 gnu/javax/crypto/mode/BaseMode.java,
13222 gnu/javax/crypto/mode/CBC.java,
13223 gnu/javax/crypto/mode/CFB.java,
13224 gnu/javax/crypto/mode/CTR.java,
13225 gnu/javax/crypto/mode/EAX.java,
13226 gnu/javax/crypto/mode/ECB.java,
13227 gnu/javax/crypto/mode/IAuthenticatedMode.java,
13228 gnu/javax/crypto/mode/ICM.java,
13229 gnu/javax/crypto/mode/IMode.java,
13230 gnu/javax/crypto/mode/ModeFactory.java,
13231 gnu/javax/crypto/mode/OFB.java,
13232 gnu/javax/crypto/pad/BasePad.java,
13233 gnu/javax/crypto/pad/IPad.java,
13234 gnu/javax/crypto/pad/PKCS1_V1_5.java,
13235 gnu/javax/crypto/pad/PKCS7.java,
13236 gnu/javax/crypto/pad/PadFactory.java,
13237 gnu/javax/crypto/pad/SSL3.java,
13238 gnu/javax/crypto/pad/TBC.java,
13239 gnu/javax/crypto/pad/TLS1.java,
13240 gnu/javax/crypto/pad/WrongPaddingException.java,
13241 gnu/javax/crypto/prng/ARCFour.java,
13242 gnu/javax/crypto/prng/CSPRNG.java,
13243 gnu/javax/crypto/prng/Fortuna.java,
13244 gnu/javax/crypto/prng/ICMGenerator.java,
13245 gnu/javax/crypto/prng/IPBE.java,
13246 gnu/javax/crypto/prng/PBKDF2.java,
13247 gnu/javax/crypto/prng/PRNGFactory.java,
13248 gnu/javax/crypto/prng/UMacGenerator.java,
13249 gnu/javax/crypto/sasl/AuthInfo.java,
13250 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
13251 gnu/javax/crypto/sasl/ClientFactory.java,
13252 gnu/javax/crypto/sasl/ClientMechanism.java,
13253 gnu/javax/crypto/sasl/ConfidentialityException.java,
13254 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
13255 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
13256 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
13257 gnu/javax/crypto/sasl/InputBuffer.java,
13258 gnu/javax/crypto/sasl/IntegrityException.java,
13259 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
13260 gnu/javax/crypto/sasl/NoSuchUserException.java,
13261 gnu/javax/crypto/sasl/OutputBuffer.java,
13262 gnu/javax/crypto/sasl/SaslEncodingException.java,
13263 gnu/javax/crypto/sasl/SaslInputStream.java,
13264 gnu/javax/crypto/sasl/SaslOutputStream.java,
13265 gnu/javax/crypto/sasl/SaslUtil.java,
13266 gnu/javax/crypto/sasl/ServerFactory.java,
13267 gnu/javax/crypto/sasl/ServerMechanism.java,
13268 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
13269 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
13270 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
13271 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
13272 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
13273 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
13274 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
13275 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
13276 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
13277 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
13278 gnu/javax/crypto/sasl/plain/PasswordFile.java,
13279 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
13280 gnu/javax/crypto/sasl/plain/PlainClient.java,
13281 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
13282 gnu/javax/crypto/sasl/plain/PlainServer.java,
13283 gnu/javax/crypto/sasl/srp/CALG.java,
13284 gnu/javax/crypto/sasl/srp/ClientStore.java,
13285 gnu/javax/crypto/sasl/srp/IALG.java,
13286 gnu/javax/crypto/sasl/srp/KDF.java,
13287 gnu/javax/crypto/sasl/srp/PasswordFile.java,
13288 gnu/javax/crypto/sasl/srp/SRP.java,
13289 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
13290 gnu/javax/crypto/sasl/srp/SRPClient.java,
13291 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
13292 gnu/javax/crypto/sasl/srp/SRPServer.java,
13293 gnu/javax/crypto/sasl/srp/SecurityContext.java,
13294 gnu/javax/crypto/sasl/srp/ServerStore.java,
13295 gnu/javax/crypto/sasl/srp/StoreEntry.java,
13296 gnu/javax/net/ssl/Base64.java,
13297 gnu/javax/net/ssl/EntropySource.java,
13298 gnu/javax/net/ssl/NullManagerParameters.java,
13299 gnu/javax/net/ssl/PrivateCredentials.java,
13300 gnu/javax/net/ssl/SRPManagerParameters.java,
13301 gnu/javax/net/ssl/SRPTrustManager.java,
13302 gnu/javax/net/ssl/StaticTrustAnchors.java,
13303 gnu/javax/net/ssl/provider/Alert.java,
13304 gnu/javax/net/ssl/provider/AlertException.java,
13305 gnu/javax/net/ssl/provider/Certificate.java,
13306 gnu/javax/net/ssl/provider/CertificateRequest.java,
13307 gnu/javax/net/ssl/provider/CertificateType.java,
13308 gnu/javax/net/ssl/provider/CertificateVerify.java,
13309 gnu/javax/net/ssl/provider/CipherSuite.java,
13310 gnu/javax/net/ssl/provider/ClientHello.java,
13311 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
13312 gnu/javax/net/ssl/provider/CompressionMethod.java,
13313 gnu/javax/net/ssl/provider/Constructed.java,
13314 gnu/javax/net/ssl/provider/ContentType.java,
13315 gnu/javax/net/ssl/provider/Context.java,
13316 gnu/javax/net/ssl/provider/DiffieHellman.java,
13317 gnu/javax/net/ssl/provider/DigestInputStream.java,
13318 gnu/javax/net/ssl/provider/DigestOutputStream.java,
13319 gnu/javax/net/ssl/provider/Enumerated.java,
13320 gnu/javax/net/ssl/provider/Extension.java,
13321 gnu/javax/net/ssl/provider/Extensions.java,
13322 gnu/javax/net/ssl/provider/Finished.java,
13323 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
13324 gnu/javax/net/ssl/provider/Handshake.java,
13325 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
13326 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
13327 gnu/javax/net/ssl/provider/Jessie.java,
13328 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
13329 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
13330 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
13331 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
13332 gnu/javax/net/ssl/provider/KeyPool.java,
13333 gnu/javax/net/ssl/provider/MacException.java,
13334 gnu/javax/net/ssl/provider/OverflowException.java,
13335 gnu/javax/net/ssl/provider/PRNG.java,
13336 gnu/javax/net/ssl/provider/ProtocolVersion.java,
13337 gnu/javax/net/ssl/provider/Random.java,
13338 gnu/javax/net/ssl/provider/RecordInput.java,
13339 gnu/javax/net/ssl/provider/RecordInputStream.java,
13340 gnu/javax/net/ssl/provider/RecordOutputStream.java,
13341 gnu/javax/net/ssl/provider/RecordingInputStream.java,
13342 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
13343 gnu/javax/net/ssl/provider/SSLHMac.java,
13344 gnu/javax/net/ssl/provider/SSLRSASignature.java,
13345 gnu/javax/net/ssl/provider/SSLRandom.java,
13346 gnu/javax/net/ssl/provider/SSLServerSocket.java,
13347 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
13348 gnu/javax/net/ssl/provider/SSLSocket.java,
13349 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
13350 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
13351 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
13352 gnu/javax/net/ssl/provider/SecurityParameters.java,
13353 gnu/javax/net/ssl/provider/ServerHello.java,
13354 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
13355 gnu/javax/net/ssl/provider/Session.java,
13356 gnu/javax/net/ssl/provider/SessionContext.java,
13357 gnu/javax/net/ssl/provider/Signature.java,
13358 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
13359 gnu/javax/net/ssl/provider/TLSHMac.java,
13360 gnu/javax/net/ssl/provider/TLSRandom.java,
13361 gnu/javax/net/ssl/provider/Util.java,
13362 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
13363 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
13364 gnu/javax/net/ssl/provider/XMLSessionContext.java,
13365 gnu/javax/security/auth/Password.java,
13366 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
13367 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
13368 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
13369 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
13370 gnu/javax/security/auth/callback/GnuCallbacks.java,
13371 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
13372 gnu/java/security/Registry.java,
13373 gnu/java/security/Properties.java,
13374 gnu/java/security/hash/BaseHash.java,
13375 gnu/java/security/hash/HashFactory.java,
13376 gnu/java/security/hash/Haval.java,
13377 gnu/java/security/hash/IMessageDigest.java,
13378 gnu/java/security/hash/MD2.java,
13379 gnu/java/security/hash/MD4.java,
13380 gnu/java/security/hash/MD5.java,
13381 gnu/java/security/hash/RipeMD128.java,
13382 gnu/java/security/hash/RipeMD160.java,
13383 gnu/java/security/hash/Sha160.java,
13384 gnu/java/security/hash/Sha256.java,
13385 gnu/java/security/hash/Sha384.java,
13386 gnu/java/security/hash/Sha512.java,
13387 gnu/java/security/hash/Tiger.java,
13388 gnu/java/security/hash/Whirlpool.java,
13389 gnu/java/security/jce/hash/HavalSpi.java,
13390 gnu/java/security/jce/hash/MD2Spi.java,
13391 gnu/java/security/jce/hash/MD4Spi.java,
13392 gnu/java/security/jce/hash/MD5Spi.java,
13393 gnu/java/security/jce/hash/MessageDigestAdapter.java,
13394 gnu/java/security/jce/hash/RipeMD128Spi.java,
13395 gnu/java/security/jce/hash/RipeMD160Spi.java,
13396 gnu/java/security/jce/hash/Sha160Spi.java,
13397 gnu/java/security/jce/hash/Sha256Spi.java,
13398 gnu/java/security/jce/hash/Sha384Spi.java,
13399 gnu/java/security/jce/hash/Sha512Spi.java,
13400 gnu/java/security/jce/hash/TigerSpi.java,
13401 gnu/java/security/jce/hash/WhirlpoolSpi.java,
13402 gnu/java/security/jce/prng/HavalRandomSpi.java,
13403 gnu/java/security/jce/prng/MD2RandomSpi.java,
13404 gnu/java/security/jce/prng/MD4RandomSpi.java,
13405 gnu/java/security/jce/prng/MD5RandomSpi.java,
13406 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
13407 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
13408 gnu/java/security/jce/prng/SecureRandomAdapter.java,
13409 gnu/java/security/jce/prng/Sha160RandomSpi.java,
13410 gnu/java/security/jce/prng/Sha256RandomSpi.java,
13411 gnu/java/security/jce/prng/Sha384RandomSpi.java,
13412 gnu/java/security/jce/prng/Sha512RandomSpi.java,
13413 gnu/java/security/jce/prng/TigerRandomSpi.java,
13414 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
13415 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
13416 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
13417 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
13418 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
13419 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
13420 gnu/java/security/jce/sig/SignatureAdapter.java,
13421 gnu/java/security/key/IKeyPairCodec.java,
13422 gnu/java/security/key/IKeyPairGenerator.java,
13423 gnu/java/security/key/KeyPairCodecFactory.java,
13424 gnu/java/security/key/KeyPairGeneratorFactory.java,
13425 gnu/java/security/key/dss/DSSKey.java,
13426 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
13427 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
13428 gnu/java/security/key/dss/DSSPrivateKey.java,
13429 gnu/java/security/key/dss/DSSPublicKey.java,
13430 gnu/java/security/key/dss/FIPS186.java,
13431 gnu/java/security/key/rsa/GnuRSAKey.java,
13432 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
13433 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
13434 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
13435 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
13436 gnu/java/security/prng/BasePRNG.java,
13437 gnu/java/security/prng/EntropySource.java,
13438 gnu/java/security/prng/IRandom.java,
13439 gnu/java/security/prng/LimitReachedException.java,
13440 gnu/java/security/prng/MDGenerator.java,
13441 gnu/java/security/prng/PRNGFactory.java,
13442 gnu/java/security/prng/RandomEvent.java,
13443 gnu/java/security/prng/RandomEventListener.java,
13444 gnu/java/security/sig/BaseSignature.java,
13445 gnu/java/security/sig/ISignature.java,
13446 gnu/java/security/sig/ISignatureCodec.java,
13447 gnu/java/security/sig/SignatureFactory.java,
13448 gnu/java/security/sig/dss/DSSSignature.java,
13449 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
13450 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
13451 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
13452 gnu/java/security/sig/rsa/EMSA_PSS.java,
13453 gnu/java/security/sig/rsa/RSA.java,
13454 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
13455 gnu/java/security/sig/rsa/RSAPSSSignature.java,
13456 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
13457 gnu/java/security/util/Base64.java,
13458 gnu/java/security/util/ExpirableObject.java,
13459 gnu/java/security/util/Prime2.java,
13460 gnu/java/security/util/Sequence.java,
13461 gnu/java/security/util/SimpleList.java,
13462 gnu/java/security/util/Util.java,
13463 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
13464 new files imported from GNU Crypto and Jessie.
13466 2006-01-25 Tom Tromey <tromey@redhat.com>
13468 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
13469 Fixed calculation of number of bytes to read.
13470 (size, count, meta, eof): Document.
13472 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
13474 * java/lang/Character.java:
13475 (codePointCount(char[], int, int)): New API method.
13476 (codePointCount(CharSequence, int, int)): Likewise.
13478 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13481 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
13483 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
13484 action if not editing.
13485 * javax/swing/plaf/basic/BasicTreeUI.java
13486 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
13487 (CellEditorHandler.editingStopped): Delegate to stopEditing.
13488 (EditorUpdateTimer): Removed.
13489 (TreeAction.actionPerformed): Stop and not cancel the current editing
13490 when starting editing another node.
13491 (editorTimer, newVal): Removed.
13492 (cancelEditing): Do not send the cancel message.
13493 (completeEditing): Obtain the edited value from the editor.
13494 (finish): New method.
13495 (paintRow): Do not paint the editing component here.
13496 (startEditing, stopEditing): Rewritten.
13497 * javax/swing/tree/DefaultTreeCellEditor.java
13498 (DefaultTextField): Added SVUID.
13499 (EditorContainer): Rewritten.
13500 (RealEditorListener): New inner class.
13501 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
13502 (constructor): Add cell editor listener. Do not instantiate timer.
13503 (actionPerformed): Return without action.
13504 (cancelCellEditing): Rewritten.
13505 (createTreeCellEditor): Add cell editor listener to the editor.
13506 (getCellEditorValue): Request the value from the realEditor.
13507 (isCellEditable): Removed timer management.
13508 (prepareForEditing): Remove all components befor adding the
13510 (startEditingTimer): Start only if it is not null.
13511 (stopCellEditing): Rewritten.
13512 (stopEditingTimer): New method.
13513 (valueChanged): Do not configure editing component here.
13515 2006-01-25 Roman Kennke <kennke@aicas.com>
13517 * javax/swing/text/html/FormView.java: New file.
13519 2006-01-25 Roman Kennke <kennke@aicas.com>
13521 * javax/swing/JSplitPane.java
13522 (addImpl): Call resetToPreferredSizes() when no dividerLocation
13523 has been set in order to set an initial layout.
13524 * javax/swing/plaf/basic/BasicSplitPaneUI.java
13525 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
13526 layout of the right component.
13527 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
13528 dividerLocation to the size of the left component.
13529 (createDefaultNonContinuousLayoutDivider): Fetch the color from
13531 (setDividerLocation): Don't validate the location here. Sometimes
13532 the divider needs to be set to an invalid location.
13533 (startDragging): Don't revalidate and repaint here.
13534 (finishDraggingTo): Don't repaint here. Also, don't call
13535 dragDividerTo() here.
13536 * javax/swing/plaf/basic/BasicLookAndFeel.java
13537 (initComponentDefaults): Added SplitPaneDivider.draggingColor
13540 2006-01-25 Roman Kennke <kennke@aicas.com>
13542 * javax/swing/JSplitPane.java
13543 (addImpl): Removed invalidate() and layout() call.
13544 * javax/swing/plaf/basic/BasicSplitPaneUI.java
13545 (PropertyHandler.propertyChange): Remove layoutContainer() and
13548 2006-01-25 Roman Kennke <kennke@aicas.com>
13551 * native/Makefile.am
13552 * native/jni/classpath/Makefile.am
13553 * native/jni/classpath/jcl.c
13554 * native/jni/classpath/jcl.h
13555 * native/jni/classpath/native_state.c
13556 * native/jni/gtk-peer/Makefile.am
13557 * native/jni/java-io/Makefile.am
13558 * native/jni/java-io/java_io_VMFile.c
13559 * native/jni/java-io/java_io_VMObjectStreamClass.c
13560 * native/jni/java-lang/Makefile.am
13561 * native/jni/java-net/Makefile.am
13562 * native/jni/java-net/java_net_VMInetAddress.c
13563 * native/jni/java-net/javanet.c
13564 * native/jni/java-net/javanet.h
13565 * native/jni/java-nio/Makefile.am
13566 * native/jni/java-nio/gnu_java_nio_VMPipe.c
13567 * native/jni/java-nio/gnu_java_nio_VMSelector.c
13568 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
13569 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
13570 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
13571 * native/jni/java-util/Makefile.am
13572 * native/jni/java-util/java_util_VMTimeZone.c
13573 * native/jni/midi-dssi/Makefile.am
13574 * native/jni/xmlj/Makefile.am
13575 * native/target/Makefile.am
13576 * native/target/Linux/target_native_math.h
13577 * native/target/Linux/target_native_memory.h
13578 * native/target/Linux/Makefile.am
13579 * native/target/Linux/target_native_io.h
13580 * native/target/Linux/target_native_math_float.h
13581 * native/target/Linux/target_native_math_int.h
13582 * native/target/generic/target_generic.c
13583 * native/target/generic/target_generic_io.c
13584 * native/target/generic/target_generic_math.h
13585 * native/target/generic/target_generic_memory.h
13586 * native/target/generic/target_generic_misc.c
13587 * native/target/generic/target_generic_network.c
13588 * native/target/generic/Makefile.am
13589 * native/target/generic/target_generic.h
13590 * native/target/generic/target_generic_file.h
13591 * native/target/generic/target_generic_io.h
13592 * native/target/generic/target_generic_math_float.h
13593 * native/target/generic/target_generic_math_int.h
13594 * native/target/generic/target_generic_misc.h
13595 * native/target/generic/target_generic_network.h:
13596 Reverted target native related changes back to the state of the
13598 * native/target/MinGW/.cvsignore
13599 * native/target/MinGW/Makefile.am
13600 * native/target/MinGW/target_native.h
13601 * native/target/MinGW/target_native_file.h
13602 * native/target/MinGW/target_native_io.h
13603 * native/target/MinGW/target_native_math.h
13604 * native/target/MinGW/target_native_memory.h
13605 * native/target/MinGW/target_native_misc.h
13606 * native/target/MinGW/target_native_network.h
13607 * native/target/RTEMS/.cvsignore
13608 * native/target/RTEMS/Makefile.am
13609 * native/target/RTEMS/target_native.h
13610 * native/target/RTEMS/target_native_file.h
13611 * native/target/RTEMS/target_native_io.h
13612 * native/target/RTEMS/target_native_math.h
13613 * native/target/RTEMS/target_native_memory.h
13614 * native/target/RTEMS/target_native_misc.h
13615 * native/target/RTEMS/target_native_network.h
13616 * native/target/SunOS/.cvsignore
13617 * native/target/SunOS/Makefile.am
13618 * native/target/SunOS/target_native.h
13619 * native/target/SunOS/target_native_file.h
13620 * native/target/SunOS/target_native_io.h
13621 * native/target/SunOS/target_native_math.h
13622 * native/target/SunOS/target_native_memory.h
13623 * native/target/SunOS/target_native_misc.h
13624 * native/target/SunOS/target_native_network.h
13625 * native/target/embOS/.cvsignore
13626 * native/target/embOS/Makefile.am
13627 * native/target/embOS/target_native.h
13628 * native/target/embOS/target_native_file.h
13629 * native/target/embOS/target_native_io.c
13630 * native/target/embOS/target_native_io.h
13631 * native/target/embOS/target_native_math.h
13632 * native/target/embOS/target_native_memory.h
13633 * native/target/embOS/target_native_misc.h
13634 * native/target/embOS/target_native_network.h
13635 * native/target/posix/.cvsignore
13636 * native/target/posix/Makefile.am
13637 * native/target/posix/target_posix.c
13638 * native/target/posix/target_posix.h
13639 * native/target/posix/target_posix_file.c
13640 * native/target/posix/target_posix_file.h
13641 * native/target/posix/target_posix_io.c
13642 * native/target/posix/target_posix_io.h
13643 * native/target/posix/target_posix_math.c
13644 * native/target/posix/target_posix_math.h
13645 * native/target/posix/target_posix_memory.c
13646 * native/target/posix/target_posix_memory.h
13647 * native/target/posix/target_posix_misc.c
13648 * native/target/posix/target_posix_misc.h
13649 * native/target/posix/target_posix_network.c
13650 * native/target/posix/target_posix_network.h:
13653 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
13655 * javax/print/PrintService.java,
13656 * javax/print/DocPrintJob.java,
13657 * javax/print/CancelablePrintJob.java:
13658 Added and enhanced api documentation for class and methods.
13660 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
13662 * javax/print/SimpleDoc.java: Make class final.
13663 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
13664 * javax/print/attribute/DateTimeSyntax.java:
13665 (toString): New overridden method.
13666 * javax/print/attribute/standard/JobStateReasons.java:
13667 (add): Use the super.add method to avoid recursion.
13668 * javax/print/attribute/standard/PrinterStateReasons.java:
13669 (put): Use the super.put method to avoid recursion.
13671 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
13673 * java/beans/XMLEncoder.java:
13674 (writeExpression): Added early return (fixes PR #25941).
13675 (setExceptionListener, anonymous Class): Removed printStackTrace
13677 * java/beans/Encoder: Removed unused imports.
13678 (setupDefaultPersistenceDelegates): Removed unneccessary
13679 PersistenceDelegates for subclasses.
13680 * java/beans/PersistenceDelegate:
13681 (initialize): Use local variable as first argument as it was
13683 * java/beans/DefaultPersistenceDelegate:
13684 (initialize): Added call to superclass' implementation, added
13687 2006-01-24 Tom Tromey <tromey@redhat.com>
13689 * java/util/regex/PatternSyntaxException.java: Added @since.
13690 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
13691 * java/util/regex/MatchResult.java: New file.
13693 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
13695 * javax/swing/text/StringContent.java: Added API docs all over, plus
13696 minor reformatting.
13698 2006-01-24 Gary Benson <gbenson@redhat.com>
13700 * java/net/SocketPermission.java: Implemented serialization.
13702 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
13704 * javax/swing/text/StringContent.java
13705 (remove): Modified argument check to prevent removal of last character,
13706 (getChars): Removed null argument check to allow NullPointerException,
13708 (checkLocation): Added API docs and white space.
13710 2006-01-23 Lillian Angel <langel@redhat.com>
13712 * javax/swing/text/DefaultStyledDocument.java
13713 (insertUpdate): Should only call createFracture with
13714 StartTagType. Added check.
13715 (insertContentTag): Should use the tags length for splitting.
13716 Also, added a check to determine if current's start and end offset are
13717 equal to the offset and endOffset. If so, only one leaf element
13719 (createFracture): Removed FIXME. This function is complete.
13720 (split): Added calls to replace. Changed so the child is
13721 added immediately to the paragraph. Prevents NPEs.
13723 2006-01-23 Mark Wielaard <mark@klomp.org>
13725 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
13727 2006-01-23 Tom Tromey <tromey@redhat.com>
13729 * gnu/java/security/x509/X509Certificate.java (parse):
13730 Unconditionally read value; for version==1 case when reading
13733 2006-01-23 Roman Kennke <kennke@aicas.com>
13735 * javax/swing/plaf/synth/ColorType.java,
13736 * javax/swing/plaf/synth/Region.java,
13737 * javax/swing/plaf/synth/SynthConstants.java,
13738 * javax/swing/plaf/synth/SynthContext.java
13739 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
13740 * javax/swing/plaf/synth/SynthLookAndFeel.java,
13741 * javax/swing/plaf/synth/SynthPainter.java,
13742 * javax/swing/plaf/synth/SynthStyle.java,
13743 * javax/swing/plaf/synth/SynthStyleFactory.java,
13744 * javax/swing/plaf/synth/package.html:
13745 New files. Added the public API and framework classes for the
13746 Synth look and feel.
13748 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
13750 * javax/swing/text/Segment.java: API docs all over.
13752 2006-01-23 Lillian Angel <langel@redhat.com>
13754 * javax/swing/text/DefaultStyledDocument.java
13755 (split): Should not use createLeafElement and createBranchElement here.
13756 We should just instaniate the LeafElements and BranchElements instead
13757 to avoid the case where create*Element is overridden.
13759 2006-01-23 Lillian Angel <langel@redhat.com>
13761 * javax/swing/text/DefaultStyledDocument.java
13762 (insertFirstContentTag): Moved check outside of if-statement.
13763 This should be checked before creating the new leaf element.
13764 (insertFracture): Fixed check to prevent an NPE. The previous
13765 leaf should only be recreated if it has been created by
13766 insertFirstContentTag. Also, fixed up code: if the endOffset is
13767 greater than the offset, then we need to create a temp leaf
13768 as a place holder. Otherwise, the leaf elements should be
13771 2006-01-23 Gary Benson <gbenson@redhat.com>
13773 * java/net/SocketPermission.java: Almost completely rewritten.
13775 2006-01-23 Lillian Angel <langel@redhat.com>
13777 * javax/swing/text/DefaultStyledDocument.java
13778 (insertFracture): Set temp leaf's attributes to prevent an NPE.
13780 2006-01-23 Lillian Angel <langel@redhat.com>
13782 * javax/swing/text/DefaultStyledDocument.java:
13783 Formatted ElementBuffer and added new fields.
13784 (remove): Added check to determine if length is 0.
13785 (insertFirstContentTag): Initialized firstCreated to the element that is created
13786 by the first tag encountered. Removed check in JoinPreviousDirection case, no
13787 longer needed. In OriginateDirection case, added a loop to remove all old leafs
13788 that have been recreated.
13789 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
13790 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
13791 FIXME tags to the lines that need to be rewritten.
13793 2006-01-23 Mark Wielaard <mark@klomp.org>
13795 * examples/Makefile.am: Add support for fastjar.
13797 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
13799 * gnu/regexp/REToken.java(empty): Made Cloneable.
13800 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
13801 Use separate methods matchN and matchP depending on the
13803 (matchN): New method used when negative. Done as before.
13804 (matchP): New method used when not negative. Each token is
13805 tried not by itself but by a clone of it.
13807 2006-01-23 Chris Burdess <dog@gnu.org>
13810 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
13811 class to avoid getLength method contention.
13812 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
13814 2006-01-23 Chris Burdess <dog@gnu.org>
13816 * native/jni/java-util/Makefile.am: Include library required
13817 explicitly by BSD systems.
13818 * native/target/generic/target_generic_misc.h: Remove old commented
13820 * native/target/generic/target_generic_network.h: Fallbacks (to
13821 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
13823 2006-01-22 Tom Tromey <tromey@redhat.com>
13825 * native/target/posix/.cvsignore: Added .deps.
13827 2006-01-22 Mark Wielaard <mark@klomp.org>
13830 reported by James Damour <James.Damour@corp.request.com>
13831 * java/awt/Container.java (addImpl): Use empty string as name when
13832 null constraints for LayoutManager.addLayoutComponent().
13834 2006-01-22 Chris Burdess <dog@gnu.org>
13837 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
13838 representing current directory as base for relative URLs.
13840 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
13843 * gnu/regexp/REMatch.java(empty): New boolean indicating
13844 an empty string matched.
13845 * gnu/regexp/RE.java(match): Sets empty flag when an empty
13847 (initialize): Support back reference \10, \11, and so on.
13848 (parseInt): renamed from getEscapedChar and returns int.
13849 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
13850 when an empty string matched. Fixed a bug of the case where
13851 an empty string matched. Added special handling of {0}.
13852 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
13853 when an empty string matched. Fixed the case insensitive matching.
13855 2006-01-21 Roman Kennke <kennke@aicas.com>
13857 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
13858 (paint): Added painting of border if one is installed.
13860 2006-01-21 Roman Kennke <kennke@aicas.com>
13862 PR classpath/25843:
13863 * javax/swing/plaf/basic/BasicBorders.java
13864 (getSplitPaneDividerBorder): Use new border constructor
13866 (SplitPaneDividerBorder.highlight): Removed unneeded field.
13867 (SplitPaneDividerBorder.shadow): Removed unneeded field.
13868 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
13869 colors are fetched dynamically in the paintBorder method.
13870 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
13872 (SplitPaneDividerBorder.isBorderOpaque): Returns true
13874 * javax/swing/plaf/basic/BasicLookAndFeel.java
13875 (initComponentDefaults): Added default for SplitPaneDivider.border.
13876 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
13877 (tmpBorder): Removed unneeded inner class.
13878 (BasicSplitPaneDivider): Removed setting of border.
13879 (setSplitPaneUI): Don't add the mouse handler to the splitpane
13881 * javax/swing/plaf/basic/BasicSplitPaneUI.java
13882 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
13883 to get behaviour right.
13884 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
13885 implementation. This must be rewritten since the layout now works
13886 slightly different (basically, it shouldn't modify the sizes[]
13887 here but instead the dividerLocation.
13888 (dividerLocation): New field.
13889 (installDefaults): Initialize border on divider.
13890 (uninstallDefaults): Only remove background color and border from
13891 splitPane if they are instances of UIDefaults (== not set by
13893 (setDividerLocation): Set the dividerLocation field instead of
13894 doing stunt acts here.
13895 (getDividerLocation): Return dividerLocation field.
13896 (getMinimumDividerLocation): Fixed calculation of minimum location.
13898 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
13901 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
13903 * lib/Makefile.am: Likewise.
13905 2006-01-21 Roman Kennke <kennke@aicas.com>
13907 * javax/swing/PopupFactory.java
13908 (getPopup): If there is no Swing root found in any way, use a
13909 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
13910 for the Swing AWT peers.
13912 2006-01-20 Tom Tromey <tromey@redhat.com>
13914 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
13915 Read response body for redirect.
13917 2006-01-20 Chris Burdess <dog@gnu.org>
13919 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
13922 2006-01-20 Lillian Angel <langel@redhat.com>
13924 * javax/swing/text/DefaultStyledDocument.java
13925 (pad): Removed, not needed.
13926 (printElements): Likewise.
13927 (printEdit): Likewise.
13929 2006-01-20 Roman Kennke <kennke@aicas.com>
13931 * javax/swing/text/DefaultFormatter.java
13932 (DefaultFormatter): Don't set a value class.
13934 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13936 * javax/swing/DefaultCellEditor.java: Commented.
13938 2006-01-19 Roman Kennke <kennke@aicas.com>
13940 * javax/swing/JOptionPane.java
13941 Added cast to Frame for JDialog constructor.
13943 2006-01-19 Roman Kennke <kennke@aicas.com>
13945 * javax/swing/JWindow.java
13946 (JWindow(Window)): Fixed to accept null owner argument.
13947 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
13949 * javax/swing/SwingUtilities.java
13950 (getOwnerFrame): Owner parameter and return value are fixed to
13951 be of type Window for compatibity with the above JWindow
13953 * javax/swing/JDialog.java
13954 (JDialog): Added cast to Frame to make sure the correct constructor
13956 * javax/swing/JFileChooser.java
13957 (createDialog): Added cast to Frame for JDialog constructor.
13959 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13961 * javax/swing/JTable.java (rowAtPoint): Rewritten.
13963 2006-01-19 Roman Kennke <kennke@aicas.com>
13965 * javax/swing/JWindow.java: Added API docs to the constructors.
13967 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13969 * javax/swing/JTable.java: Commenting method headers.
13970 (EditorUpdateTimer): Removed.
13972 2006-01-19 Roman Kennke <kennke@aicas.com>
13974 * javax/swing/JDialog.java
13975 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
13976 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
13977 SwingUtilities.getOwnerFrame() with the owner argument.
13978 * javax/swing/JFileChooser.java
13979 (showOpenDialog(Component)): Call pack() on the dialog instead of
13980 setting a fixed height.
13981 (showSaveDialog()): Likewise.
13982 (showDialog()): Likewise.
13983 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
13984 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
13986 * javax/swing/JWindow.java
13987 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
13988 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
13990 * javax/swing/SwingUtilities.java
13991 (getOwnerFrame): Changed to take a owner parameter that is returned
13992 as owner frame when not null.
13994 2006-01-19 Roman Kennke <kennke@aicas.com>
13996 * gnu/java/awt/peer/swing/SwingFramePeer.java
13997 (handleMouseEvent): Fixed handling of mouse events.
13998 (handleMouseMotionEvent): Fixed handling of mouse events.
14000 2006-01-19 Roman Kennke <kennke@aicas.com>
14002 * native/target/generic/target_generic_misc.c:
14003 (targetGenericMisc_formatString): Added missing method.
14005 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
14007 * m4/acinclude.m4: Test also for ecj found before exiting configure
14008 with no javac found error message.
14010 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
14013 * gnu/regexp/RE.java(initialize): Support escaped characters such as
14014 \0123, \x1B, \u1234.
14015 (getEscapedChar): New method.
14016 (CharExpression): New inner class.
14017 (getCharExpression): New Method.
14018 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
14019 RE_UNICODE_CHAR): New syntax bits.
14021 2006-01-19 Roman Kennke <kennke@aicas.com>
14023 * native/target/Makefile.am: Fixed so that posix stuff is really
14024 only built when requested.
14026 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14028 * javax/swing/JTable.java (editingStopped, editingCancelled):
14029 Repaint the edited cell.
14030 (setValueAt): Do not add the value object to this container.
14031 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
14032 (editingStopped): Use editingRow, editingColumn and not
14033 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
14034 (doLayout): Move the editor component, if present, into the new
14035 location and call repaint(). (moveToCellBeingEdited): new method.
14036 (TableTextField): new inner class.
14037 (getDefaultEditor): Instantiante TableTextField, not JTextField.
14038 (setValueAt): Repaint the changed segment.
14039 (createDefaultEditors): Implemented.
14040 (BooleanCellRenderer): Center the checkbox and use the default foreground
14041 and background colors.
14042 * javax/swing/plaf/basic/BasicTableUI.java
14043 (paintCell): Do not paint the caret here. Do not accept unused parameters.
14044 (paint): No need to allocate rectangle for each cell.
14045 * javax/swing/DefaultCellEditor.java: Rewritten.
14046 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
14047 Use TableDemo.java table example.
14048 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
14050 2006-01-19 Roman Kennke <kennke@aicas.com>
14052 * configure.ac: Added/fixed --enable-posix-layer option to enable
14053 build of posix layer.
14054 * native/target/Makefile.am: Added build for posix layer.
14056 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
14058 * configure.ac: Set TARGET to Linux per default.
14059 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
14061 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
14062 * native/target/generic/Makefile.am (INCLUDES): Renamed to
14065 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
14067 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
14068 what looked like proprietary documentation with original or new one.
14069 * java/security/spec/PSSParameterSpec.java: Likewise.
14070 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
14071 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
14072 * java/security/AlgorithmParameterGenerator.java: Likewise.
14073 * java/security/AlgorithmParameters.java: Likewise.
14074 * java/security/Identity.java: Likewise.
14075 * java/security/IdentityScope.java: Likewise.
14076 * java/security/KeyFactory.java: Likewise.
14077 * java/security/KeyPairGenerator.java: Likewise.
14078 * java/security/MessageDigest.java: Likewise.
14079 * java/security/Policy.java: Likewise.
14080 * java/security/ProtectionDomain.java: Likewise.
14081 * java/security/Security.java: Likewise.
14082 * java/security/Signature.java: Likewise.
14083 * java/security/SignatureSpi.java: Likewise.
14084 * java/security/SignedObject.java: Likewise.
14085 * java/security/Signer.java: Likewise.
14087 2006-01-18 Roman Kennke <kennke@aicas.com>
14089 * configure.ac: Added --enable-posix-layer option to enable
14090 build of the posix target layer.
14092 2006-01-18 Roman Kennke <kennke@aicas.com>
14094 * native/jni/java-net/java_net_VMInetAddress.c
14095 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
14098 2006-01-18 Roman Kennke <kennke@aicas.com>
14100 * native/jni/java-util/java_util_VMTimeZone.c:
14101 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
14102 to use target native layer.
14103 (jint_to_charbuf): Removed unneeded helper function.
14105 2006-01-18 Roman Kennke <kennke@aicas.com>
14107 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
14108 Removed unnecessary include.
14109 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
14110 Reorganized includes to only include sys/* headers when available.
14111 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
14112 (get_pagesize): Return 0 when nothing else works.
14113 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
14114 Replaced munmap() and strerror() with corresponding target macros.
14115 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
14116 Replaced strerror() with corresponding target macro.
14117 (Java_java_nio_MappedByteBufferImpl_forceImpl):
14118 Replaced strerror() with corresponding target macro.
14119 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
14120 (Java_java_nio_VMDirectByteBuffer_allocate):
14121 Replaced malloc() with the corresponding target macro.
14122 (Java_java_nio_VMDirectByteBuffer_free):
14123 Replaced free() with the corresponding target macro.
14124 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
14125 Add index to pointer when assigning the value.
14126 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
14127 Replaced memcpy with corresponding target macro. Add index when
14128 doing the memcpy, not when fetching the pointer.
14129 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
14130 Replaced memcpy with corresponding target macro.
14131 (Java_java_nio_VMDirectByteBuffer_shiftDown):
14132 Replaced memmove with the corresponding target macro.
14134 2006-01-17 Tom Tromey <tromey@redhat.com>
14136 PR classpath/20198:
14137 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
14138 (JarURLLoader): Likewise.
14139 (addURLImpl): Canonicalize file URLs.
14141 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
14143 * configure.ac: Set TARGET.
14144 * native/Makefile.am, native/jni/classpath/Makefile.am,
14145 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
14146 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
14147 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
14148 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
14149 native/target/Linux/Makefile.am,
14150 native/target/generic/Makefile.am,
14151 native/target/posix/Makefile.am: Build libclasspath.so with jcl
14152 and target stuff linked in and link it against lib*.so libraries.
14154 2006-01-17 Roman Kennke <kennke@aicas.com>
14156 * native/jni/java-net/javanet.c:
14157 (_javanet_connect): Changed type of some local variables to jint.
14158 Fixed error handling to throw a SocketTimeoutException if the
14159 connection attempt times out.
14160 (_javanet_bind): Changed type of some local variables to jint.
14161 (_javanet_accept): Likewise.
14162 (_javanet_recvfrom): Likewise.
14163 (_javanet_sendto): Fixed error handling to throw a
14164 PortUnreachableException when connection is refused.
14165 (_javanet_get_option): Changed type of some local variables to jint.
14166 Implemented SOCKOPT_SO_BROADCAST.
14167 (_javanet_shutdownInput): Replaced shutdown call with corresponding
14168 target native macro.
14169 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
14170 target native macro.
14171 * native/jni/java-net/javanet.h:
14172 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
14173 SOCKOPT_SO_BROADCAST.
14175 2006-01-17 Lillian Angel <langel@redhat.com>
14177 * javax/swing/text/DefaultStyledDocument.java
14178 (insert): Cleaned up loop. No need to make so many calls
14179 to getAddedElements and getRemovedElements.
14180 (insertFracture): Removed unneeded array.
14182 2006-01-17 Lillian Angel <langel@redhat.com>
14184 * javax/swing/text/JTextComponent.java
14185 (AccessibleJTextComponent): Implemented.
14186 (getCaretPosition): Implemented.
14187 (getSelectedText): Implemented.
14188 (getSelectionStart): Implemented.
14189 (getSelectionEnd): Implemented.
14190 (getSelectionEnd): Implemented.
14191 (getCharCount): Implemented.
14192 (insertTextAtIndex): Implemented.
14193 (getTextRange): Implemented.
14194 (delete): Implemented.
14195 (cut): Implemented.
14196 (paste): Implemented.
14197 (replaceText): Implemented.
14198 (selectText): Implemented.
14200 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
14202 * javax/swing/text/DefaultStyledDocument.java:
14203 (pad): New debugging method.
14204 (printElements): Likewise.
14205 (printPendingEdits): Likewise.
14206 (printElement): Likewise.
14207 (Edit): Improved docs, moved this class to be an inner class of
14208 ElementBuffer since it only applies within that scope. Changed added
14209 and removed to be Vectors instead of arrays because we need to be able
14210 to add to them after construction.
14211 (ElementBuffer): Updated docs with link to article that helped in this
14212 classes implementation.
14213 (ElementBuffer.Edit.getRemovedElements): New method.
14214 (ElementBuffer.Edit.getAddedElements): Likewise.
14215 (ElementBuffer.Edit.addRemovedElement): Likewise.
14216 (ElementBuffer.Edit.addRemovedElements): Likewise.
14217 (ElementBuffer.Edit.addAddedElement): Likewise.
14218 (ElementBuffer.Edit.addAddedElements): Likewise.
14219 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
14221 (ElementBuffer.getEditForParagraphAndIndex): New method.
14222 (ElementBuffer.removeUpdate): Changed type of paragraph to
14223 BranchElement. Corrected style of adding the edit to use the new Edit
14225 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
14226 the new Edit facilities.
14227 (ElementBuffer.split): Likewise.
14228 (ElementBuffer.insertParagraph): Likewise.
14229 (ElementBuffer.insertContentTag): Likewise.
14230 (ElementBuffer.insert): Push all BranchElements until the deepest one,
14231 not just the root and the first one. Apply the structural changes to
14232 the tree at the same time as updating the DocumentEvent.
14233 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
14234 handling of EndTags as the first ElementSpec. Instead have to handle
14235 ContentTags as a special case if they are the first ElementSpec and if
14236 not have to fracture the tree.
14237 (ElementBuffer.createFracture): New method. May not be complete yet.
14238 Added FIXME indicating what may remain to be done.
14239 (ElementBuffer.insertFirstContentTag): New method.
14240 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
14241 be done. Changed the adding of edits to use the new Edit facilities.
14242 Removed the adding of edits for Elements that weren't in the tree prior
14244 (insertUpdate): Removed incorrect condition for setting a StartTag's
14245 direction to JoinNextDirection.
14246 * javax/swing/text/StyleContent.java:
14247 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
14248 that was causing an ArrayOutOfBoundsException.
14250 2006-01-17 Roman Kennke <kennke@aicas.com>
14252 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
14253 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
14254 exception messages a little.
14255 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
14256 alternative implementation for systems without filesystems.
14257 Replaced snprintf with the corresponding target native macro.
14258 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
14259 Only do something when we have a filesystem.
14260 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
14261 alternative implementation for systems without filesystems.
14262 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
14263 alternative implementation for systems without filesystems.
14264 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
14265 alternative implementation for systems without filesystems.
14266 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
14267 Only do something when we have a filesystem.
14268 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
14269 Only do something when we have a filesystem.
14270 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
14271 alternative implementation for systems without filesystems.
14272 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
14273 Replaced ssize_t variables with jint. Provided
14274 alternative implementation for systems without filesystems.
14275 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
14276 Replaced ssize_t variables with jint. Provided
14277 alternative implementation for systems without filesystems.
14278 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
14279 Replaced ssize_t variables with jint. Provided
14280 alternative implementation for systems without filesystems.
14281 (Java_gnu_java_nio_channels_FileChannelImpl_force):
14282 Only do something when we have a filesystem.
14283 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
14284 Replaced ssize_t variables with jint. Provided
14285 alternative implementation for systems without filesystems.
14286 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
14287 to use the corresponding target native macro.
14288 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
14289 to use the corresponding target native macro.
14291 2006-01-17 Lillian Angel <langel@redhat.com>
14293 * javax/swing/text/DefaultTextUI.java:
14294 Added deprecated tag.
14295 * javax/swing/text/JTextComponent.java
14296 (AccessibleJTextComponent): Fixed API doc and
14297 partiall9 implemented.
14298 (getCaretPosition): Fixed API doc and implemented.
14299 (getSelectedText): Fixed API doc.
14300 (getSelectionStart): Likewise.
14301 (getSelectionEnd): Likewise.
14302 (caretUpdate): Fixed API doc and
14303 partially implemented.
14304 (getAccessibleStateSet): Likewise.
14305 (getAccessibleRole): Fixed API doc and implemented.
14306 (getAccessibleEditableText): Implemented.
14307 (getAccessibleText): Fixed API doc and implemented.
14308 (insertUpdate): Fixed API doc.
14309 (changedUpdate): Likewise.
14310 (getIndexAtPoint): Likewise.
14311 (getRootEditorRect): Removed.
14312 (getCharacterBounds): Fixed API doc.
14313 (getCharCount): Likewise.
14314 (getCharacterAttribute): Likewise.
14315 (getAtIndex): Likewise.
14316 (getAfterIndex): Likewise.
14317 (getBeforeIndex): Likewise.
14318 (getAccessibleActionCount): Added function stub.
14319 (getAccessibleActionDescription): Added function,
14320 partially implemented.
14321 (doAccessibleAction): Added function stub.
14322 (setTextContents): Likewise.
14323 (insertTextAtIndex): Likewise.
14324 (delete): Likewise.
14327 (replaceText): Likewise.
14328 (selectText): Likewise.
14329 (setAttributes): Likewise.
14330 (getAccessibleContext): Implemented.
14332 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
14335 * gnu/regexp/RETokenRange.java(constructor):
14336 Keep lo and hi as they are.
14337 (match): Changed the case insensitive comparison.
14339 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
14341 * gnu/regexp/RETokenChar.java(chain):
14342 Do not concatenate tokens whose insens flags are diffent.
14344 2006-01-17 Roman Kennke <kennke@aicas.com>
14346 * native/target/generic/target_generic_network.c:
14347 (targetGenericNetwork_receive): Fixed signature to match the
14348 corresponding .h file.
14349 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
14350 to match the corresponding .h file.
14352 2006-01-17 Roman Kennke <kennke@aicas.com>
14354 * native/jni/classpath/jcl.c:
14355 (JCL_malloc): Replaced calls to malloc with the corresponding
14356 target layer macro.
14357 (JCL_free): Replaced calls to free with the corresponding
14358 target layer macro.
14359 * native/jni/classpath/native_state.c:
14360 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
14361 calloc with the corresponding target layer macro.
14362 (remove_node): Replaced calls to free with the corresponding
14363 target layer macro.
14364 (add_node): Replaced calls to malloc with the corresponding
14365 target layer macro.
14367 2006-01-17 Roman Kennke <kennke@aicas.com>
14369 * native/jni/java-io/java_io_VMObjectStreamClass.c:
14370 (getFieldReference): Use MALLOC/FREE macros for portability instead
14371 of direct call to malloc() and free().
14373 2006-01-17 Roman Kennke <kennke@aicas.com>
14375 * native/jni/classpath/jcl.c: Added missing imports.
14376 (JCL_realloc): Fixed signature to include oldsize. This is needed
14377 for some targets. Make this function use the MEMORY_REALLOC macro
14379 * native/jni/classpath/jcl.h
14380 (JCL_realloc): Adjusted signature.
14381 * native/jni/java-io/java_io_VMFile.c:
14382 (Java_java_io_VMFile_create): Use target layer macro for handling
14383 errno, for portability.
14384 (Java_java_io_VMFile_length): Release filename string in error cases
14386 (Java_java_io_VMFile_list): Initialize filename variable. Use new
14387 version of JCL_realloc.
14388 * native/jni/java-net/java_net_VMInetAddress.c:
14389 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
14390 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
14391 * native/jni/java-net/javanet.c:
14392 (_javanet_bind): Make errorstr variable const to avoid compiler
14394 (_javanet_set_option): Fixed typo.
14395 (_javanet_get_option): Fixed typo.
14396 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
14397 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
14398 error_string variable const to avoid compiler warning.
14399 * native/target/generic/target_generic_file.h:
14400 Replaced // comments with /* */ comments to avoid compiler warnings.
14401 Added some spaces to make code better readable.
14402 * native/target/generic/target_generic_memory.h:
14403 Replaced // comments with /* */ comments to avoid compiler warnings.
14404 * native/target/generic/target_generic_misc.c:
14405 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
14406 compiler warnings due to use of varargs.
14407 * native/target/generic/target_generic_misc.h:
14408 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
14409 compiler warnings due to use of varargs.
14410 * native/target/generic/target_generic_network.h:
14411 Replaced // comments with /* */ comments to avoid compiler warnings.
14412 (targetGenericNetwork_receive): Fixed signature to use signed chars
14413 for buffer parameter to avoid warning when passing a jbyte to the
14416 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
14418 * javax/swing/text/StyleConstants.java
14419 (getAlignment): Removed isDefined() check, so that resolving parent is
14421 (getBackground): Likewise, plus changed default value to Color.BLACK,
14422 (getBidiLevel): Removed isDefined() check,
14423 (getComponent): Likewise,
14424 (getFirstLineIndent): Likewise,
14425 (getFontFamily): Likewise,
14426 (getFontSize): Likewise,
14427 (getForeground): Likewise,
14428 (getIcon): Likewise,
14429 (getLeftIndent): Likewise,
14430 (getLineSpacing): Likewise,
14431 (getRightIndent): Likewise,
14432 (getSpaceAbove): Likewise,
14433 (getSpaceBelow): Likewise,
14434 (getTabSet): Likewise,
14435 (isBold): Likewise,
14436 (isItalic): Likewise,
14437 (isStrikeThrough): Likewise,
14438 (isSubscript): Likewise,
14439 (isSuperscript): Likewise,
14440 (isUnderline): Likewise.
14442 2006-01-17 Gary Benson <gbenson@redhat.com>
14444 * java/lang/System.java (setSecurityManager): Catch
14445 ClassNotFoundException not Throwable.
14447 2006-01-16 Anthony Green <green@redhat.com>
14450 * gnu/java/net/protocol/http/Request.java
14451 (createResponseBodyStream): Remove Content-Encoding for
14452 compressed streams.
14454 2006-01-16 Chris Burdess <dog@gnu.org>
14456 * gnu/xml/stream/XMLParser.java,
14457 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
14458 XMLStreamWriter arguments for conformance to the XML specifications.
14459 * gnu/xml/transform/Stylesheet.java,
14460 gnu/xml/transform/Template.java,
14461 gnu/xml/transform/TransformerImpl.java,
14462 gnu/xml/xpath/LangFunction.java,
14463 gnu/xml/xpath/Selector.java: better handling of template priorities;
14464 fix indents when pretty-printing; recursive tests for xml:lang.
14465 * gnu/xml/util/XHTMLWriter.java,
14466 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
14468 2006-01-16 Roman Kennke <kennke@aicas.com>
14470 * native/target/MinGW/.cvsignore: New file.
14471 * native/target/RTEMS/.cvsignore: New file.
14472 * native/target/SunOS/.cvsignore: New file.
14473 * native/target/embOS/.cvsignore: New file.
14474 * native/target/posix/.cvsignore: New file.
14476 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
14478 * javax/swing/text/StyleConstants.java: Updated API docs all over.
14480 2006-01-16 Roman Kennke <kennke@aicas.com>
14482 * configure.ac: Include new target native directories in build.
14484 2006-01-16 Roman Kennke <kennke@aicas.com>
14486 * native/target/generic/target_generic_file.h: Added missing
14488 * native/target/generic/target_generic_network.c: Fixed several
14489 typos and includes.
14490 * native/target/generic/target_generic_network.h: Likewise.
14492 2006-01-16 Roman Kennke <kennke@aicas.com>
14494 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
14495 to include the new targets.
14496 * native/target/posix/Makefile.am: Fixed filenames.
14498 2006-01-16 Roman Kennke <kennke@aicas.com>
14500 * native/target/Makefile.am: Include new targets.
14501 * native/target/Linux/Makefile.am: Include new memory layer.
14502 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
14503 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
14504 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
14505 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
14506 * native/target/generic/Makefile.am: Include new memory and math
14508 * native/target/posix/Makefile.am: New file. Includes posix in dist.
14510 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
14513 * gnu/regexp/RE.java(initialize): Parse embedded flags.
14514 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
14516 2006-01-16 Roman Kennke <kennke@aicas.com>
14518 * native/target/generic/target_generic_network.c: Fixed typo.
14519 * native/target/generic/target_generic_network.h: Fixed typo.
14521 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
14523 * doc/vmintegration.texinfo: Updated subsection of the
14524 java.lang.InstrumentationImpl documentation.
14526 2006-01-16 Roman Kennke <kennke@aicas.com>
14528 * native/target/RTEMS/target_native.h,
14529 * native/target/RTEMS/target_native_file.h,
14530 * native/target/RTEMS/target_native_io.h,
14531 * native/target/RTEMS/target_native_math.h,
14532 * native/target/RTEMS/target_native_memory.h,
14533 * native/target/RTEMS/target_native_misc.h,
14534 * native/target/RTEMS/target_native_network.h:
14535 New files. Implement the target native layer for the RTEMS platform.
14537 2006-01-16 Roman Kennke <kennke@aicas.com>
14539 * native/target/SunOS/target_native.h,
14540 * native/target/SunOS/target_native_file.h,
14541 * native/target/SunOS/target_native_io.h,
14542 * native/target/SunOS/target_native_math.h,
14543 * native/target/SunOS/target_native_memory.h,
14544 * native/target/SunOS/target_native_misc.h,
14545 * native/target/SunOS/target_native_network.h:
14546 New files. Implement the target native layer for the SunOS platform.
14548 2006-01-16 Roman Kennke <kennke@aicas.com>
14550 * native/target/MinGW/target_native.h,
14551 * native/target/MinGW/target_native_file.h,
14552 * native/target/MinGW/target_native_io.h,
14553 * native/target/MinGW/target_native_math.h,
14554 * native/target/MinGW/target_native_memory.h,
14555 * native/target/MinGW/target_native_misc.h,
14556 * native/target/MinGW/target_native_network.h:
14557 New files. Implement the target native layer for the MinGW
14560 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14563 * javax/swing/DefaultCellEditor.java
14564 (delegate): Assign new instance immediately.
14565 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
14566 (getTableCellEditorComponent): Rewritten.
14567 (prepareAsJTextField):New method (add listener only once).
14568 * javax/swing/JTable.java
14569 (editingCanceled): Rewritten.
14570 (editingStopped ): Rewritten.
14571 (rowAtPoint): Mind row margin.
14572 (getCellRect): Mind row margin.
14573 (getDefaultEditor): Removing JTextComponent border.
14574 (editCellAt): Rewritten.
14575 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
14576 Activate editing mode by the mouse clicks.
14577 (getMaximumSize): Mind row margin.
14578 (getPreferredSize): Mind row margin.
14579 (TableAction): Added 'stop editing' command.
14581 2006-01-16 Roman Kennke <kennke@aicas.com>
14583 * jni/java-io/java_io_VMFile.c
14584 (Java_java_io_VMFile_list): Use new 4 argument version of
14585 TARGET_NATIVE_FILE_READ_DIR macro.
14586 * target/Linux/target_native_io.h: Fixed comment at #endif.
14587 * target/Linux/target_native_memory.h: New file. Contains
14588 portability macros for memory operations.
14589 * target/generic/target_generic.c: New file. Contains some functions
14591 * target/generic/target_generic.h: Use posix target and shorter macro
14592 names if CP_NEW is set.
14593 * target/generic/target_generic_file.h: Use posix target and shorter
14594 macro names if CP_NEW is set.
14595 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
14596 * target/generic/target_generic_io.c: New file. Contains some
14597 functions for IO portability.
14598 * target/generic/target_generic_io.h: Use posix target and shorter
14599 macro names if CP_NEW is set.
14600 * target/generic/target_generic_misc.c: New file. Contains some
14601 functions for miscallaneaous portability issues.
14602 * target/generic/target_generic_misc.h: Use posix target and shorter
14603 macro names if CP_NEW is set.
14604 * target/generic/target_generic_network.c: New file. Contains some
14605 functions for networking portability.
14606 * target/generic/target_generic_network.h: Use posix target and
14607 shorter macro names if CP_NEW is set.
14608 * target/posix/Makefile.am,
14609 * target/posix/target_posix.c,
14610 * target/posix/target_posix.h,
14611 * target/posix/target_posix_file.c,
14612 * target/posix/target_posix_file.h,
14613 * target/posix/target_posix_io.c,
14614 * target/posix/target_posix_io.h,
14615 * target/posix/target_posix_math.c,
14616 * target/posix/target_posix_math.h,
14617 * target/posix/target_posix_memory.c,
14618 * target/posix/target_posix_memory.h,
14619 * target/posix/target_posix_misc.c,
14620 * target/posix/target_posix_misc.h,
14621 * target/posix/target_posix_network.c,
14622 * target/posix/target_posix_network.h:
14623 New files. This implements the target native layer macros for
14624 Posix-like systems.
14626 2006-01-16 Gary Benson <gbenson@redhat.com>
14628 * java/net/SocketPermission.java (implies): Fix action checks.
14630 2006-01-16 Roman Kennke <kennke@aicas.com>
14632 * native/target/generic/target_generic_math_float.h: Removed. This
14633 file has been replaced by target_generic_math.h.
14634 * native/target/generic/target_generic_math_int.h: Removed. This
14635 file has been replaced by target_generic_math.h.
14636 * native/target/generic/target_generic_math.h: New file. Replaces
14637 the old _int and _float versions.
14638 * native/target/Linux/target_native_math_float.h: Removed. This
14639 file has been replaced by target_native_math.h.
14640 * native/target/Linux/target_native_math_int.h: Removed. This
14641 file has been replaced by target_native_math.h.
14642 * native/target/Linux/target_native_math.h: New file. Replaces
14643 the old _int and _float versions.
14644 * native/target/Linux/Makefile.am: Adjusted for the changed
14646 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
14647 instead of target_native_math_int.h.
14648 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
14650 * native/target/generic/target_generic_file.h: Likewise.
14652 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
14654 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
14656 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
14658 * javax/swing/text/SimpleAttributeSet.java
14659 (SimpleAttributeSet()): Initialise storage directly,
14660 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
14661 NullPointerException,
14662 (containsAttribute): If key is found locally, don't check resolving
14663 parent if the value doesn't match,
14664 (getAttribute): Removed redundant instanceof and cast.
14666 2006-01-16 Gary Benson <gbenson@redhat.com>
14668 * java/lang/System.java (setSecurityManager): Ensure policy
14669 files are loaded before a security manager is put in place.
14671 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
14673 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
14675 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
14677 * javax/print/attribute/standard/MediaSize.java:
14678 (static_initializer): Added comment.
14679 (MediaSize): Added javadoc to mention cache registration.
14680 (MediaSize): Likewise.
14681 (MediaSize): Likewise.
14682 (MediaSize): Likewise.
14684 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
14687 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
14688 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
14689 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
14690 * javax/security/auth/login/AppConfigurationEntry.java: Updated
14692 (toString): Added method implementation.
14693 (LoginModuleControlFlag.toString): Removed class name from result.
14694 * javax/security/auth/login/Configuration.java: Updated copyright year.
14695 (getConfig(): replaced calls to NullConfiguration with
14698 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14700 * javax/swing/table/DefaultTableCellRenderer.java
14701 (getTableCellRendererComponent): Render null as the empty cell.
14703 2006-01-14 Anthony Green <green@redhat.com>
14705 * java/net/ServerSocket.java (accept): Remove bogus
14707 (implAccept): Add FIXME comment.
14709 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
14712 * javax/print/Doc.java: Added and enhanced documentation.
14713 * javax/print/SimpleDoc.java: New file.
14715 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
14717 * javax/print/attribute/standard/MediaSize.java:
14718 (Other.TABLOID): New MediaSize added in 1.5
14720 2006-01-14 Chris Burdess <dog@gnu.org>
14722 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
14723 correctly when I/O and runtime exceptions occur during parsing.
14725 2006-01-13 Roman Kennke <kennke@aicas.com>
14727 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
14728 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
14729 * gnu/java/awt/peer/swing/SwingComponent.java,
14730 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
14731 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
14732 * gnu/java/awt/peer/swing/SwingFramePeer.java,
14733 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
14734 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
14735 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
14736 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
14737 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
14738 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
14739 * gnu/java/awt/peer/swing/SwingToolkit.java,
14740 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
14741 * gnu/java/awt/peer/swing/package.html:
14742 New files. Implemented some basic AWT peers based on Swing.
14744 2006-01-13 Roman Kennke <kennke@aicas.com>
14746 * java/awt/peer/ComponentPeer.java: Added API docs all over.
14748 2006-01-13 Roman Kennke <kennke@aicas.com>
14750 * java/awt/MenuComponent.java: Reformatted to better match our
14753 2006-01-13 Roman Kennke <kennke@aicas.com>
14755 * java/awt/Frame.java: Reformatted to better match our
14758 2006-01-13 Roman Kennke <kennke@aicas.com>
14760 * java/awt/MenuBar.java
14761 (accessibleContext): Removed unnecessary field. This is already
14762 defined in MenuComponent.
14763 (setHelpMenu): Renamed the peer variable to myPeer because it was
14764 hiding a field of MenuComponent.
14765 (addNotify): Removed unnecessary cast.
14767 2006-01-13 Roman Kennke <kennke@aicas.com>
14769 * java/awt/MenuBar.java: Reformatted to better match our
14772 2006-01-13 Roman Kennke <kennke@aicas.com>
14774 * java/awt/MenuBar.java
14775 (frame): New field.
14776 (removeNotify): Clear frame field when beeing removed from the
14778 * java/awt/Frame.java
14779 (setMenuBar): Store a reference of the frame in the MenuBar.
14780 * java/awt/MenuComponent.java
14781 (postEvent): Implemented to forward the call to the parent until
14782 a parent can handle the event.
14783 (dispatchEvent): Moved handling of old style events from
14784 dispatchEventImpl() to here.
14785 (dispatchEventImpl): Moved handling of old style events to
14788 2006-01-13 Roman Kennke <kennke@aicas.com>
14790 * java/awt/Component.java
14791 (dispatchEvent): Moved handling of old style events from
14792 dispatchEventImpl() to this method.
14793 (translateEvent): Removed unnecessary cast.
14794 (dispatchEventImpl): Moved handling of old style events to
14797 2006-01-13 Lillian Angel <langel@redhat.com>
14799 * javax/swing/text/DefaultStyledDocument.java
14800 (createDefaultRoot): Removed FIXME.
14801 (setLogicalStyle): Added fireUndoableEditUpdate call and
14804 2006-01-13 Lillian Angel <langel@redhat.com>
14806 * javax/swing/text/DefaultStyledDocument.java
14807 (Edit): New inner class.
14808 (changeUpdate): Changed addEdit call to add a new
14809 instance of Edit to the edits Vector, so addEdits can
14812 (insertParagraph): Likewise.
14813 (insertFracture): Likewise.
14814 (insertContentTag): Likewise.
14815 (insert): Added loop to go through edits Vector and perform
14816 addEdit on each object.
14818 2006-01-13 Chris Burdess <dog@gnu.org>
14820 * gnu/xml/transform/AbstractNumberNode.java,
14821 gnu/xml/transform/ApplyImportsNode.java,
14822 gnu/xml/transform/ApplyTemplatesNode.java,
14823 gnu/xml/transform/AttributeNode.java,
14824 gnu/xml/transform/CallTemplateNode.java,
14825 gnu/xml/transform/ChooseNode.java,
14826 gnu/xml/transform/CommentNode.java,
14827 gnu/xml/transform/CopyNode.java,
14828 gnu/xml/transform/CopyOfNode.java,
14829 gnu/xml/transform/DocumentFunction.java,
14830 gnu/xml/transform/ElementNode.java,
14831 gnu/xml/transform/ForEachNode.java,
14832 gnu/xml/transform/IfNode.java,
14833 gnu/xml/transform/LiteralNode.java,
14834 gnu/xml/transform/MessageNode.java,
14835 gnu/xml/transform/OtherwiseNode.java,
14836 gnu/xml/transform/ParameterNode.java,
14837 gnu/xml/transform/ProcessingInstructionNode.java,
14838 gnu/xml/transform/Stylesheet.java,
14839 gnu/xml/transform/Template.java,
14840 gnu/xml/transform/TemplateNode.java,
14841 gnu/xml/transform/TextNode.java,
14842 gnu/xml/transform/TransformerImpl.java,
14843 gnu/xml/transform/ValueOfNode.java,
14844 gnu/xml/transform/WhenNode.java,
14845 gnu/xml/xpath/NodeTypeTest.java,
14846 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
14847 with-param parameters when template does not define parameters; apply
14848 conflict resolution for templates; strip whitespace on documents
14849 retrieved via document() function; allow node() to match document
14852 2006-01-13 Mark Wielaard <mark@klomp.org>
14854 * doc/www.gnu.org/announce/20060113.wml: New file.
14855 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
14856 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
14858 2006-01-13 Lillian Angel <langel@redhat.com>
14860 * javax/swing/text/DefaultStyledDocument.java:
14861 Removed unused fields.
14862 (insert): Removed unused fields.
14863 (endEdit): Removed, not needed.
14864 (insertUpdate): Removed call to endEdit.
14865 (prepareContentInsertion): Removed, not needed.
14866 (insertContentTag): Removed call to prepareContentInsertion.
14867 (printElements): Removed, not needed.
14868 (attributeSetsAreSame): Removed, not needed.
14870 2006-01-13 Mark Wielaard <mark@klomp.org>
14872 * configure.ac: Set version to 0.20.
14873 * NEWS: Add entries for all the new work done.
14875 2006-01-13 Mark Wielaard <mark@klomp.org>
14877 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
14879 2006-01-13 Mark Wielaard <mark@klomp.org>
14881 * java/util/regex/Pattern.java (Pattern): Chain REException.
14883 2006-01-13 Chris Burdess <dog@gnu.org>
14885 * gnu/xml/xpath/NameTest.java: Removed debugging output.
14887 2006-01-13 Jeroen Frijters <jeroen@frijters.net>
14889 * java/security/Security.java
14890 (getProperty): Added hack to skip security check when trusted
14891 code is direct caller.
14893 2006-01-13 Jeroen Frijters <jeroen@frijters.net>
14895 * java/io/PrintStream.java
14896 (line_separator, PrintStream(OutputStream,boolean)): Use
14899 2006-01-13 Jeroen Frijters <jeroen@frijters.net>
14901 * gnu/java/nio/charset/Provider.java: Added comment about its
14902 special relation with CharsetProvider.
14904 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
14905 its special relation with CharsetProvider.
14907 * java/nio/charset/spi/CharsetProvider.java
14908 (CharsetProvider): Add special case to skip security check for
14909 built in providers.
14911 2006-01-13 Mark Wielaard <mark@klomp.org>
14913 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
14914 name, accel, mnemonic and command are defined before setting.
14916 2006-01-12 Mark Wielaard <mark@klomp.org>
14918 * javax/swing/plaf/metal/MetalFileChooserUI.java
14919 (FileRenderer.getListCellRendererComponent): Set empty name and null
14920 icon when File is null.
14922 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14924 * gnu/java/rmi/server/UnicastRef.java (newCall):
14925 Throw ConnectException after catching IOException.
14927 2006-01-12 Lillian Angel <langel@redhat.com>
14929 * javax/swing/text/DefaultStyledDocument.java
14930 (insertUpdate): Removed unneeded check.
14932 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
14934 * javax/swing/text/DefaultStyledDocument.java:
14935 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
14936 and we haven't come immediately after a fracture, adjust the Element
14937 offsets. Added comment explaining the situation.
14938 (insert): Return early if no ElementSpecs passed in. Removed redundant
14939 call to insertUpdate. Fired the UndoableEditUpdate.
14941 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
14944 * gnu/regexp/RE.java(initialize): Fixed the parsing of
14945 character classes within a subexpression.
14947 2006-12-12 Lillian Angel <langel@redhat.com>
14949 * javax/swing/text/DefaultStyledDocument.java
14950 (insertUpdate): Added check to check if attribute set is
14952 (insertUpdate): Added check to determine if last character
14953 is a newline. If it is, we should not be fracturing.
14954 (insert): Added check to determine if attribute set is empty.
14955 If it is, insertUpdate should not be called.
14957 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
14959 * configure.ac: Check for isnan.
14961 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
14964 2006-01-12 Chris Burdess <dog@gnu.org>
14966 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
14967 1.1 character ranges.
14969 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
14971 * javax/swing/TransferHandler.java:
14972 (TransferAction<init>): Call super constructor. Fixes Mauve regression
14973 gnu/testlet/javax/swing/JTextField/CopyPaste.
14975 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
14977 * resource/Makefile.am: Install
14978 logging.properties into $(prefix)/lib.
14979 * resource/Makefile.am (securitydir): Changed to
14980 $(prefix)/lib/security.
14982 2006-01-12 Roman Kennke <kennke@aicas.com>
14984 * javax/swing/JTextField.java
14985 (createDefaultModel): Moved installation of the filterNewlines
14986 property to setDocument().
14987 (setDocument): New method. Installs the filterNewlines property
14990 2006-01-12 Chris Burdess <dog@gnu.org>
14992 * gnu/xml/dom/DomNode.java,
14993 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
14995 * gnu/xml/xpath/NameTest.java,
14996 gnu/xml/xpath/NamespaceTest.java,
14997 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
14999 * gnu/xml/transform/MessageNode.java: Use standard logging system
15000 for outputting messages.
15002 2006-01-12 Tom Tromey <tromey@redhat.com>
15004 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
15005 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
15006 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
15007 (static initializer): Removed cache code.
15008 (checkCacheFor, addToCache): Removed.
15009 (getAllByName): Removed cache code.
15010 (lookup_time): Removed.
15011 (InetAddress): Updated.
15013 2006-01-12 Chris Burdess <dog@gnu.org>
15015 * gnu/xml/dom/DomDocument.java,
15016 gnu/xml/dom/DomElement.java,
15017 gnu/xml/dom/DomNode.java,
15018 gnu/xml/stream/XMLParser.java,
15019 gnu/xml/transform/Bindings.java,
15020 gnu/xml/transform/ElementAvailableFunction.java,
15021 gnu/xml/transform/ElementNode.java,
15022 gnu/xml/transform/FunctionAvailableFunction.java,
15023 gnu/xml/transform/NamespaceProxy.java,
15024 gnu/xml/transform/StreamSerializer.java,
15025 gnu/xml/transform/Stylesheet.java,
15026 gnu/xml/transform/TransformerImpl.java,
15027 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
15028 document and element nodes; correct coalescing semantics when parsing;
15029 attribute-sets can only refer to top-level variables and parameters;
15030 fix namespace retrieval during element-available and
15031 function-available functions; implement xsl:fallback for extension
15032 elements; tokenize whitespace correctly during whitespace stripping;
15033 correct following and previous node axes selectors.
15035 2006-01-12 Roman Kennke <kennke@aicas.com>
15037 * java/util/Hashtable.java
15038 (KeyEnumerator.nextElement): Added null check to avoid NPE.
15039 (ValueEnumerator.nextElement): Added null check to avoid NPE.
15041 2006-01-12 Lillian Angel <langel@redhat.com>
15043 * javax/swing/text/GapContent.java
15044 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
15046 2006-01-12 Mark Wielaard <mark@klomp.org>
15048 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
15049 Throw UnknowHostException when name could not be resolved.
15051 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
15053 * java/net/URL.java
15054 (static, getURLStreamHandler): Use SystemProperties.
15056 2006-01-12 Mark Wielaard <mark@klomp.org>
15058 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
15059 Use packet.getLength().
15060 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
15061 (nativeReceive): Check whether the receiver wants zero bytes.
15063 2006-01-12 Mark Wielaard <mark@klomp.org>
15065 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
15066 other side orderly closed connection.
15067 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
15068 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
15069 when end of stream reached.
15071 2006-01-12 Mark Wielaard <mark@klomp.org>
15073 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
15075 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
15076 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
15077 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
15078 * native/jni/java-net/javanet.c: Likewise.
15080 2006-01-12 Mark Wielaard <mark@klomp.org>
15082 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
15083 PR classpath/23863.
15085 2006-01-11 Chris Burdess <dog@gnu.org>
15087 * gnu/xml/transform/AttributeNode.java,
15088 gnu/xml/transform/ElementNode.java,
15089 gnu/xml/transform/LiteralNode.java,
15090 gnu/xml/transform/StreamSerializer.java,
15091 gnu/xml/transform/StrippingInstruction.java,
15092 gnu/xml/transform/Stylesheet.java,
15093 gnu/xml/transform/TransformerImpl.java,
15094 gnu/xml/transform/ValueOfNode.java,
15095 gnu/xml/xpath/Expr.java,
15096 gnu/xml/xpath/LocalNameFunction.java,
15097 gnu/xml/xpath/NameFunction.java,
15098 gnu/xml/xpath/NameTest.java,
15099 gnu/xml/xpath/NamespaceUriFunction.java,
15100 gnu/xml/xpath/NodeTypeTest.java,
15101 gnu/xml/xpath/SubstringFunction.java,
15102 javax/xml/namespace/QName.java: don't determine element namespace
15103 from namespace aliases when specified; better namespace handling
15104 when serializing elements; don't create HTML meta element unless
15105 head element exists; correct encoding of CDATA sections containing
15106 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
15107 default encoding for HTML output; rewrite of XSLT
15108 strip-space/preserve-space handling; correct doctype-public and
15109 doctype-system output attributes; insert generated doctype before
15110 document element; fixed result tree whitespace stripping
15111 algorithm; fixed semantics of XPath name, local-name, and
15112 namespace-uri functions; name tests handle XML/XMLNS namespaces
15113 correctly; fixed semantics of processing-instruction node test.
15114 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
15117 2006-01-11 Lillian Angel <langel@redhat.com>
15119 * javax/swing/text/DefaultStyledDocument.java
15120 (insertFracture): Added calls to addEdit for each time a structure
15121 is changed. addEdit is called on the newBranch, previous, and parent
15124 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
15126 * javax/swing/text/DefaultStyledDocument.java:
15127 (ElementBuffer.insertContentTag): Don't adjust the structure here.
15128 This will have been taken care of in insertFracture. Added a comment
15129 explaining that we need to add edits to the DocumentEvent and that
15130 this may be the place to do it.
15132 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
15134 * javax/swing/text/DefaultStyledDocument.java:
15135 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
15136 tag is an end tag. Avoid NPE by pushing the proper Element on to the
15137 elementStack when there is a start tag with JoinNextDirection.
15139 2006-01-11 Roman Kennke <kennke@aicas.com>
15141 Reported by: Fridjof Siebert <siebert@aicas.com>
15142 * java/util/Hashtable.java
15143 (KEYS): Removed unneeded field.
15144 (VALUES): Removed unneeded field.
15145 (ENTRIES): Removed unneeded field.
15146 (keys): Return a KeyEnumerator instance.
15147 (elements): Returns a ValueEnumerator instance.
15148 (toString): Use an EntryIterator instance.
15149 (keySet): Return a KeyIterator instance.
15150 (values): Return a ValueIterator instance.
15151 (entrySet): Return an EntryIterator instance.
15152 (hashCode): Use EntryIterator instance.
15153 (rehash): Changed this loop to avoid redundant reads and make
15154 it obvious that null checking is not needed.
15155 (writeObject): Use EntryIterator instance.
15156 (HashIterator): Removed class.
15157 (Enumerator): Removed class.
15158 (EntryIterator): New class.
15159 (KeyIterator): New class.
15160 (ValueIterator): New class.
15161 (EntryEnumerator): New class.
15162 (KeyEnumerator): New class.
15163 (ValueEnumerator): New class.
15165 2006-01-11 Lillian Angel <langel@redhat.com>
15167 * javax/swing/text/DefaultStyledDocument.java
15168 (toString): Shouldn't append the '>' character here.
15169 (createDefaultRoot): Should not set the resolve parent. This
15170 causes problems when comparing attribute sets.
15172 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
15174 * javax/swing/text/DefaultStyledDocument.java:
15175 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
15177 (ElementBuffer.insertFracture): New method.
15178 (ElementBuffer.insertContentTag): Removed unnecessary case for
15179 JoinFractureDirection - this only applies to start tags, not content
15181 (insertUpdate): Corrected conditions for setting direction to
15184 2006-01-10 Roman Kennke <kennke@aicas.com>
15186 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
15187 * ChangeLog-2005: New File.
15189 2006-01-10 Roman Kennke <kennke@aicas.com>
15191 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
15192 (get): Release the array with the correct pointer.
15193 (put): Release the array with the correct pointer. Copy the array
15194 around _before_ releasing it.
15196 2006-01-10 Roman Kennke <kennke@aicas.com>
15198 * javax/swing/ViewportLayout.java
15199 (layoutContainer): Fixed condition, to avoid ClasscastException.
15201 2006-01-10 Roman Kennke <kennke@aicas.com>
15203 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
15204 (MouseHandler.mousePressed): Fixed indendation.
15205 (MouseHandler.mouseDragged): Fixed indendation.
15207 2006-01-10 Roman Kennke <kennke@aicas.com>
15209 * javax/swing/plaf/basic/BasicLookAndFeel.java
15210 (playSound): Added @since 1.4 to the API docs.
15212 2006-01-10 Roman Kennke <kennke@aicas.com>
15214 * javax/swing/plaf/basic/BasicListUI.java
15215 (maybeUpdateLayoutState): Also update the layout state, if the
15216 list has been invalidated since the last update.
15218 2006-01-10 Roman Kennke <kennke@aicas.com>
15220 * javax/swing/plaf/ComponentUI.java
15221 (update): Fixed indendation.
15223 2006-01-10 Roman Kennke <kennke@aicas.com>
15225 * javax/swing/ViewportLayout.java
15226 (layoutContainer): Fixed condition, so that Scrollable components
15227 are always forced to have to Viewport size, when they
15228 return true for getScrollableTracksViewportHeight() and ..Width().
15230 2006-01-10 Roman Kennke <kennke@aicas.com>
15232 * javax/swing/RepaintManager.java
15233 (validateInvalidComponents): Fixed condition to avoid NPE.
15235 2006-01-10 Roman Kennke <kennke@aicas.com>
15237 * javax/swing/JViewport.java:
15238 (static_initializer): Removed unused variable myScrollMode.
15240 2006-01-10 Roman Kennke <kennke@aicas.com>
15242 * javax/swing/JTabbedPane.java:
15243 Cleared API docs a little.
15245 2006-01-10 Roman Kennke <kennke@aicas.com>
15247 * java/util/StringTokenizer.java
15248 (StringTokenizer(String, String, boolean)):
15249 Don't trigger NPE here for conformance with the spec.
15251 2006-01-10 Roman Kennke <kennke@aicas.com>
15253 * java/util/ArrayList.java
15254 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
15256 2006-01-10 Roman Kennke <kennke@aicas.com>
15258 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15259 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
15260 field to avoid NPE.
15262 2006-01-10 Roman Kennke <kennke@aicas.com>
15264 * native/jni/java-net/javanet.c
15265 (_javanet_shutdownOutput): Replaced strerror() with
15266 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
15267 (_javanet_shutdownInput): Replaced strerror() with
15268 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
15270 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
15272 * java/beans/EventSetDescriptor.java: Reformatted and
15275 2006-01-10 Roman Kennke <kennke@aicas.com>
15277 * java/lang/SecurityManager.java
15278 Fully qualified AWT class references in API docs.
15280 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
15282 * java/beans/EventSetDescriptor.java:
15283 (getGetListenerMethod): New method.
15285 2006-01-10 Mark Wielaard <mark@klomp.org>
15287 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
15289 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
15292 * java/util/Hashtable.java
15293 (contains): Call equals on existing value.
15294 (containsKey, get, put, remove): Call equals on existing key.
15295 (getEntry): Call equals on existing entry.
15297 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
15300 * java/util/AbstractMap.java
15301 (equals(Object,Object)): Test for identity first.
15302 * java/util/WeakHashMap.java
15303 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
15304 (WeakBucket.WeakEntry.toString): Fixed string representation of
15306 (internalGet): Use helper method to determine equality.
15308 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
15310 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
15313 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
15315 * javax/swing/text/PlainDocument.java:
15316 (insertUpdate): Handle special case of an insertion immediately
15317 following a newline character.
15319 2006-01-09 Roman Kennke <kennke@aicas.com>
15321 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
15322 (connect): Added stream parameter to _connect() call.
15323 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
15324 (connect): Added stream parameter to _connect() call.
15325 * native/jni/java-net/javanet.c
15326 (_javanet_create_localfd): Added stream parameter. Look up
15327 fd field based on the stream parameter either in SocketImpl or
15328 in DatagramSocketImpl.
15329 (_javanet_connect): Added stream parameter. Call create_localfd
15330 using this stream parameter. Set localPort field either in
15331 SocketImpl or in DatagramSocketImpl, depending on the stream
15333 * native/jni/java-net/javanet.c
15334 (_javanet_connect): Added stream parameter.
15336 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15338 * javax.management.Attribute.java: Grammar and
15341 2006-01-09 Mark Wielaard <mark@klomp.org>
15343 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
15344 exception when channel is not readable or writable.
15345 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
15346 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
15347 there is enough space to mmap().
15349 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
15351 * java/beans/Introspector.java:
15352 (getBeanInfo(Class, int)): New method.
15353 (getBeanInfo(Class, Class): Moved common code in a new method.
15354 (merge): New method.
15356 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
15358 * java/beans/XMLEncoder.java: Fix spelling mistakes.
15360 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
15362 * javax/swing/text/DefaultStyledDocument.java:
15363 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
15364 inlined this method because it needs to change the value of the
15365 finalStartTag and finalStartDirection variables.
15366 (checkForInsertAfterNewline): Removed this method.
15367 (handleInsertAfterNewline): Added case for making the start tag's
15368 direction JoinNextDirection.
15370 2006-01-09 Lillian Angel <langel@redhat.com>
15372 * javax/swing/plaf/basic/BasicTreeUI.java:
15374 (setRowHeight): Row height is set to the max height of
15375 all the nodes, or 20 as a default value.
15376 (getPathBounds): Cleaned up code.
15377 (getMaxHeight): New helper function that gets the max
15378 height of all the rows.
15379 (getClosestPathForLocation): Fixed to use getMaxHeight.
15380 (updateCachedPreferredSize): Likewise.
15381 (installUI): Shouldn't expand tree on startup.
15382 (getNodeDimensions): Fixed to use getMaxHeight.
15384 2006-01-09 Mark Wielaard <mark@klomp.org>
15386 * javax/swing/JList.java (setSelectedIndex): Clear selection when
15387 argument is negative.
15389 2006-01-08 Mark Wielaard <mark@klomp.org>
15391 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
15393 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15395 * javax.management.Attribute.java: New file.
15397 2006-01-09 Roman Kennke <kennke@aicas.com>
15399 * java/net/DatagramSocketImpl.java
15400 (localPort): Renamed to localport for correct access from native
15403 2006-01-09 Roman Kennke <kennke@aicas.com>
15405 * javax/swing/Popup.java
15406 (LightweightPopup.hide): Repaint the layered pane when popup is
15409 2006-01-09 Roman Kennke <kennke@aicas.com>
15411 * java/awt/Container.java
15412 (remove): Don't repaint the container here.
15414 2006-01-08 Tom Tromey <tromey@redhat.com>
15416 * java/lang/InheritableThreadLocal.java: Organized imports.
15418 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
15421 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
15422 when an empty string matched an empty token.
15424 2006-01-08 Chris Burdess <dog@gnu.org>
15426 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
15427 content models from external entities.
15428 * gnu/xml/stream/UnicodeReader.java: Report error instead of
15429 attempting to continue with unpaired surrogates.
15430 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
15431 resolving entities with character entity references; better
15432 checking of valid character ranges; don't report an error for URI
15433 fragments in notation declarations; check unbound namespace
15434 prefixes for elements and attributes, including XML 1.1 unbinding
15435 syntax; namespace-aware checking of attribute duplicates.
15437 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
15439 * java/beans/Statement.java: Doc fixes.
15440 (doExecute): Workaround for Class.forName call.
15441 (toString): Made output look more like on the JDK.
15442 * java/beans/Expression.java: Doc fixes.
15443 (toString): Made output look more like on the JDK.
15444 * java/beans/PersistenceDelegate.java,
15445 java/beans/DefaultPersistenceDelegate.java,
15446 java/beans/Encoder.java,
15447 java/beans/XMLEncoder.java: New file.
15448 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
15449 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
15450 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
15451 gnu/java/beans/encoder/Context.java,
15452 gnu/java/beans/encoder/GenericScannerState.java,
15453 gnu/java/beans/encoder/IgnoringScannerState.java,
15454 gnu/java/beans/encoder/MapPersistenceDelegate.java,
15455 gnu/java/beans/encoder/ObjectId.java,
15456 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
15457 gnu/java/beans/encoder/ReportingScannerState.java,
15458 gnu/java/beans/encoder/Root.java,
15459 gnu/java/beans/encoder/ScanEngine.java,
15460 gnu/java/beans/encoder/ScannerState.java,
15461 gnu/java/beans/encoder/StAXWriter.java,
15462 gnu/java/beans/encoder/Writer.java: New file.
15463 * gnu/java/beans/encoder/elements/Array_Get.java,
15464 gnu/java/beans/encoder/elements/Element.java,
15465 gnu/java/beans/encoder/elements/List_Set.java,
15466 gnu/java/beans/encoder/elements/Array_Set.java,
15467 gnu/java/beans/encoder/elements/NullObject.java,
15468 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
15469 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
15470 gnu/java/beans/encoder/elements/StringReference.java,
15471 gnu/java/beans/encoder/elements/ClassResolution.java,
15472 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
15473 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
15474 gnu/java/beans/encoder/elements/ObjectReference.java,
15475 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
15476 gnu/java/beans/encoder/elements/List_Get.java,
15477 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
15479 2006-01-08 Chris Burdess <dog@gnu.org>
15481 * java/lang/Character.java (toChars,toCodePoint): Correct these
15482 methods to use algorithms from Unicode specification.
15484 2006-01-08 Mark Wielaard <mark@klomp.org>
15486 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
15488 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
15491 * examples/Makefile.am: Corrected DESTDIR install paths.
15493 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15495 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
15496 ASCII character (line 46).
15498 2006-01-07 Roman Kennke <kennke@aicas.com>
15500 * javax/swing/text/TableView.java: New file.
15502 2006-01-07 Chris Burdess <dog@gnu.org>
15504 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
15505 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
15506 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
15507 available; correct handling of unparsed entity references;
15508 absolutize all base URIs; remove commented out code.
15510 2006-01-07 Chris Burdess <dog@gnu.org>
15512 * gnu/xml/stream/SAXParser.java,
15513 gnu/xml/stream/XMLParser.java: Add SAX property to return base
15514 URI of the current event.
15516 2006-01-07 Chris Burdess <dog@gnu.org>
15518 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
15521 2006-01-07 Chris Burdess <dog@gnu.org>
15523 * gnu/xml/stream/SAXParser.java,
15524 gnu/xml/stream/XIncludeFilter.java,
15525 gnu/xml/stream/XMLParser.java: Updated documentation.
15527 2006-01-07 Chris Burdess <dog@gnu.org>
15529 * AUTHORS: add self.
15531 2006-01-06 Casey Marshall <csm@gnu.org>
15533 * AUTHORS: add myself.
15535 2006-01-06 Casey Marshall <csm@gnu.org>
15538 * javax/crypto/CipherInputStream.java (logger): new constant.
15539 (cipher): make final.
15540 (outLength, inBuffer, inLength): removed.
15541 (isStream): make final.
15542 (VIRGIN, LIVING, DYING, DEAD, state): removed.
15544 (<init>): call `super,' not `this;' remove `inBuffer' and
15545 `outBuffer' initialization; init `eof;' add debug logging.
15546 (<init>): call `this' with a new null cipher.
15547 (available): fix javadoc to reflect the real semantics; if we
15548 don't have a buffer, call `nextBlock.'
15549 (close): synchronize.
15550 (read): synchronize; fix testing for buffered data.
15551 (read): synchronize; add `skip' semantics if first argument is
15552 `null;' decrypt stream cipher data only if there is any; fix tests
15554 (skip): stop using `available' to see how many data are buffered.
15555 (nextBlock): simplify to use cipher-allocated output buffers
15556 instead of internally allocated ones.
15558 2006-01-06 Tom Tromey <tromey@redhat.com>
15560 * java/lang/String.java (codePointCount): Fixed javadoc.
15562 2006-01-06 Tom Tromey <tromey@redhat.com>
15564 * java/lang/String.java (contains): Added @since.
15566 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
15569 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
15570 * gnu/regexp/RETokenRepeated.java(match): Break the loop
15571 when an empty string matched an empty token.
15573 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
15576 * gnu/java/util/WeakIdentityHashMap.java: New file.
15577 * java/lang/InheritableThreadLocal.java
15578 (newChildThread): Modified to remove key indirection.
15579 * java/lang/Thread.java
15580 (locals): Changed type to WeakIdentityHashMap.
15581 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
15583 * java/lang/ThreadLocal.java
15584 (key, Key): Removed.
15585 (get, set): Changed to use "this" instead of "key".
15587 2006-01-06 Dalibor Topic <robilad@kaffe.org>
15589 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
15591 * native/fdlibm/java-assert.h: Removed file.
15593 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
15594 Replaced use of JvAssert by assert.
15596 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
15598 * javax/swing/text/DefaultCaret.java:
15599 (setDot): Fixed paramater to Math.max to be this.dot and not the
15602 2006-01-05 Roman Kennke <kennke@aicas.com>
15604 * javax/swing/plaf/basic/BasicListUI.java
15605 (getCellHeight): New helper method.
15606 (getCellBounds): Use new helper method for determining the cell
15608 (paint): Don't call list.indexToLocation() but instead call
15609 directly into the same UI method.
15610 (locationToIndex): Fixed calculation of # visible rows and handling
15612 (indexToLocation): Fixed calculation of # visible rows and handling
15615 2006-01-05 Roman Kennke <kennke@aicas.com>
15617 * javax/swing/plaf/metal/MetalFileChooserUI.java
15618 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
15619 in the file chooser.
15621 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
15623 * javax/swing/JTextPane.java:
15624 (replaceSelection): If the document is an AbstractDocument, use replace
15625 rather than remove and insert.
15626 * javax/swing/event/EventListenerList.java:
15627 (getListeners): Reversed the order of the listeners to match the
15628 reference implementation.
15629 * javax/swing/text/AbstractDocument.java:
15630 (insertString): Add the UndoableEdit from the content.insertString call
15631 to the DocumentEvent.
15632 (DefaultDocumentEvent.toString): Implemented.
15633 * javax/swing/text/DefaultCaret.java:
15634 (setDot): Make sure dot is > 0 and less than the length of the
15636 * javax/swing/text/DefaultStyledDocument.java:
15637 (ElementBuffer.insertUpdate): Set the modified tag of the document
15638 event when we get start and end tags. This ensures that we create the
15639 proper BranchElements in endEdit().
15640 (ElementBuffer.insertUpdate): Added FIXME to handle
15641 JoinFractureDirection case.
15642 (insertUpdate): Added code to check if we're inserting immediately
15643 after a newline and to handle this case (create start and end tags).
15644 Only change the direction of the first and last tags if they are of
15646 (checkForInsertAfterNewline): New helper method.
15647 (handleInsertAfterNewline): Likewise.
15648 * javax/swing/text/View.java:
15649 (updateLayout): Avoid NPE by checking if shape is null. Repaint
15652 2006-01-05 Mark Wielaard <mark@klomp.org>
15654 * newsitems.txt: Add fosdem meeting.
15655 * events/events.wml: Likewise.
15656 * events/fosdem06.wml: New file.
15658 2006-01-05 Lillian Angel <langel@redhat.com>
15660 * javax/swing/text/GapContent.java
15661 (createPosition): No positions should be created inside the
15662 gap. Fixed check to ensure this does not happen.
15664 2006-01-05 Roman Kennke <kennke@aicas.com>
15666 * javax/swing/RepaintManager.java
15667 (validateInvalidComponents): Search for the validate root
15668 and start validating there.
15670 2006-01-05 Roman Kennke <kennke@aicas.com>
15672 * javax/swing/plaf/basic/BasicListUI.java
15673 (ComponentHandler): Removed unneeded class.
15674 (ListDataHandler.contentsChanged): Revalidate instead of calling
15676 (ListDataHandler.intervalAdded): Revalidate instead of calling
15678 (ListDataHandler.intervalRemoved): Revalidate instead of calling
15680 (PropertyChangeHandler.propertyChange): Or flags together instead
15681 of adding them. Don't call damageLayout().
15682 (componentListener): Removed unnecessary field.
15683 (damageLayout): Removed unnecessary method.
15684 (installListeners): Don't install unnecessary listeners.
15685 (uninstallListeners): Dito.
15686 (getPreferredSize): Don't ask for the real list height and
15687 calculate with the previously calculated list height.
15688 (locationToIndex): Renamed list parameter to l so that it doesn't
15689 shadow the field with the same name.
15690 (indexToLocation): Renamed list parameter to l so that it doesn't
15691 shadow the field with the same name.
15693 2006-01-04 Tom Tromey <tromey@redhat.com>
15695 * include/.cvsignore: Ignore config-int.h.
15697 2006-01-04 Roman Kennke <kennke@aicas.com>
15699 * javax/swing/plaf/basic/BasicListUI.java
15700 (getPreferredSize): Rewritten to match the specs.
15702 2006-01-04 Roman Kennke <kennke@aicas.com>
15704 * javax/swing/JFileChooser.java
15705 (showOpenDialog): Set fixed width on the dialog.
15706 (showSaveDialog): Set fixed width on the dialog.
15707 (showDialog): Set fixed width on the dialog.
15709 2006-01-04 Roman Kennke <kennke@aicas.com>
15711 * javax/swing/plaf/basic/BasicListUI.java
15712 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
15713 Adjusted iteration to not use visibleRowCount and instead iterate
15714 over the real number of elements in cellHeights.
15715 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
15716 Adjusted iteration to not use visibleRowCount and instead iterate
15717 over the real number of elements in cellHeights.
15719 2006-01-04 Roman Kennke <kennke@aicas.com>
15721 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
15722 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
15723 Added __attribute__((__unused__)) macros to avoid gcc warnings.
15725 2006-01-04 Roman Kennke <kennke@aicas.com>
15727 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
15728 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
15730 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
15731 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
15733 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
15735 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
15736 * native/jni/java-net/Makefile.am: Adjusted for new source files.
15737 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
15738 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
15739 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
15740 * include/gnu_java_net_PlainSocketImpl.h: Removed.
15741 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
15742 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
15744 2006-01-04 Lillian Angel <langel@redhat.com>
15746 * javax/swing/plaf/metal/MetalFileChooserUI.java
15747 (propertyChange): Fixed to change the combo box label
15748 appropriately. Also, fixed to set the textfield's text
15750 (editFile): Fixed size of editing field.
15751 (installComponents): Correctly aligned all panels.
15752 (installStrings): Fixed to set the label's text
15753 appropriately depending on the dialog type.
15755 2006-01-04 Lillian Angel <langel@redhat.com>
15759 * javax/swing/JTree.java
15760 (JTree): Because some L&F defaults have been updated,
15761 the selectionMode for the tree needed to be set to SINGLE.
15762 * javax/swing/plaf/basic/BasicFileChooserUI.java:
15763 Initialized accessoryPanel.
15764 * javax/swing/plaf/metal/MetalFileChooserUI.java
15765 (installComponents): Added accessoryPanel to the filechooser.
15767 2006-01-04 Dalibor Topic <robilad@kaffe.org>
15769 * configure.ac: Added AX_CREATE_STDINT_H
15771 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
15773 * m4/ax_create_stdint_h.m4: New file.
15775 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
15776 typedefs. Removed stdint.h and inttypes.h includes.
15778 2006-01-03 Mark Wielaard <mark@klomp.org>
15780 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
15781 register keyboard action when accelerator is not null.
15782 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
15783 re-register accelerator if not null.
15784 (installKeyboardActions): Only put accelerator in map when not null.
15786 2006-01-04 Lillian Angel <langel@redhat.com>
15788 * javax/swing/plaf/basic/BasicLookAndFeel.java
15789 (initComponentDefaults): Removed unneeded default.
15790 * javax/swing/plaf/metal/MetalLookAndFeel.java
15791 (initComponentDefaults): Added and fixed several defaults.
15793 2006-01-04 Roman Kennke <kennke@aicas.com>
15795 * javax/swing/plaf/basic/BasicHTML.java: New class.
15797 2006-01-03 Tom Tromey <tromey@redhat.com>
15799 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
15800 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
15802 2006-01-03 Mark Wielaard <mark@klomp.org>
15804 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
15806 2006-01-03 Mark Wielaard <mark@klomp.org>
15808 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
15809 Always call createDefaultTheme().
15810 (createDefaultTheme): Check whether theme is still null.
15812 2006-01-03 Mark Wielaard <mark@klomp.org>
15814 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
15815 Color.WHITE if null.
15817 2006-01-03 Lillian Angel <langel@redhat.com>
15819 * javax/swing/plaf/metal/MetalLookAndFeel.java
15820 (getDescription): Fixed to return the correct string.
15822 (getName): Likewise.
15823 (getDefaults): Added check to avoid NPE.
15824 (getAcceleratorForeground): Likewise.
15825 (getAcceleratorSelectedForeground): Likewise.
15826 (getBlack): Likewise.
15827 (getControl): Likewise.
15828 (getControlDarkShadow): Likewise.
15829 (getControlDisabled): Likewise.
15830 (getControlHighlight): Likewise.
15831 (getControlInfo): Likewise.
15832 (getControlShadow): Likewise.
15833 (getControlTextColor): Likewise.
15834 (getControlTextFont): Likewise.
15835 (getDesktopColor): Likewise.
15836 (getFocusColor): Likewise.
15837 (getHighlightedTextColor): Likewise.
15838 (getInactiveControlTextColor): Likewise.
15839 (getInactiveSystemTextColor): Likewise.
15840 (getMenuBackground): Likewise.
15841 (getMenuDisabledForeground): Likewise.
15842 (getMenuForeground): Likewise.
15843 (getMenuSelectedBackground): Likewise.
15844 (getMenuSelectedForeground): Likewise.
15845 (getMenuTextFont): Likewise.
15846 (getPrimaryControl): Likewise.
15847 (getPrimaryControlDarkShadow): Likewise.
15848 (getPrimaryControlHighlight): Likewise.
15849 (getPrimaryControlInfo): Likewise.
15850 (getPrimaryControlShadow): Likewise.
15851 (getSeparatorBackground): Likewise.
15852 (getSeparatorForeground): Likewise.
15853 (getSubTextFont): Likewise.
15854 (getSystemTextColor): Likewise.
15855 (getSystemTextFont): Likewise.
15856 (getTextHighlightColor): Likewise.
15857 (getUserTextColor): Likewise.
15858 (getUserTextFont): Likewise.
15859 (getWhite): Likewise.
15860 (getWindowBackground): Likewise.
15861 (getWindowTitleBackground): Likewise.
15862 (getWindowTitleFont): Likewise.
15863 (getWindowTitleForeground): Likewise.
15864 (getWindowTitleInactiveBackground): Likewise.
15865 (getWindowTitleInactiveForeground): Likewise.
15867 2006-01-03 Mark Wielaard <mark@klomp.org>
15869 * javax/swing/JTextArea.java
15870 (JTextArea(Document,text,int,int)): Only call setText() when text is
15873 2006-01-03 Lillian Angel <langel@redhat.com>
15875 * javax/swing/plaf/basic/BasicFileChooserUI.java
15876 (installStrings): Fixed installation of defaults that
15877 were changed in BasicLookAndFeel.
15878 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15879 (installDefaults): Fixed installation of defaults that
15880 were changed in BasicLookAndFeel.
15882 2006-01-03 Lillian Angel <langel@redhat.com>
15884 * javax/swing/plaf/basic/BasicLookAndFeel.java
15885 (initComponentDefaults): Fixed several defaults that differed
15888 2006-01-03 Lillian Angel <langel@redhat.com>
15890 * javax/swing/tree/DefaultTreeSelectionModel.java
15891 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
15893 2006-01-03 Lillian Angel <langel@redhat.com>
15895 * javax/swing/AbstractAction.java
15896 (AbstractAction): Fixed to pass in null. Should not be
15897 an empty string. Removed TODO comment.
15898 (AbstractAction): Removed TODO comment.
15899 * javax/swing/JList.java
15900 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
15901 * javax/swing/JMenuItem.java
15902 (JMenuItem): Set all defaults if the action passed in is not null.
15903 * javax/swing/JProgressBar.java
15904 (JProgressBar): Added check to prevent NPE.
15906 2006-01-03 Lillian Angel <langel@redhat.com>
15908 * javax/swing/plaf/basic/BasicListUI.java
15909 (getPreferredSize): The JDK adds some extra space to
15910 the list, so we should as well.
15911 * javax/swing/plaf/metal/MetalFileChooserUI.java
15912 (getPreferredSize): Should only take the fileListPanel's
15913 width into account when getting the size. Also, the buttonPanel's
15914 size should not be checked, since it is in the bottomPanel already.
15915 (getMinimumSize): Likewise.
15917 2006-01-03 Lillian Angel <langel@redhat.com>
15919 * javax/swing/JList.java
15920 (init): visibleRowCount should be 7, like the JDK.
15921 * javax/swing/plaf/metal/MetalFileChooserUI.java
15922 (installComponents): No need to add the fileFilterCombo
15923 to a panel. It can be added to the row directly.
15925 2006-01-03 Lillian Angel <langel@redhat.com>
15927 PR classpath/25480 PR classpath/25478
15928 * javax/swing/plaf/basic/BasicScrollPaneUI.java
15929 (updateViewport): Made changes suggested by
15931 * javax/swing/plaf/metal/MetalFileChooserUI.java:
15932 Removed unneeded import.
15933 (createList): Removed comment, JList wrapping
15935 (getPreferredSize): Made changes suggested by
15936 Chris Lansdown. Uses fileListPanel, instead
15938 (getMinimumSize): Uses fileListPanel, instead
15940 * javax/swing/plaf/metal/MetalRadioButtonUI.java
15941 (paintFocus): Fixed height.
15943 2006-01-03 Roman Kennke <kennke@aicas.com>
15945 * javax/swing/plaf/basic/BasicListUI.java
15946 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
15948 2006-01-03 Roman Kennke <kennke@aicas.com>
15950 * javax/swing/plaf/basic/BasicListUI.java
15951 (locationToIndex): Special case for when variable cell heights
15952 are possible. (cellHeights is used instead of cellHeight).
15953 (indexToLocation): Special case for when variable cell heights
15954 are possible. (cellHeights is used instead of cellHeight).
15956 2006-01-03 Roman Kennke <kennke@aicas.com>
15958 * javax/swing/text/DefaultStyledDocument.java
15959 (ElementBuffer.remove): New method.
15960 (ElementBuffer.removeUpdate): New method.
15961 (removeUpdate): New method.
15963 2006-01-03 Roman Kennke <kennke@aicas.com>
15966 (dist-hook): Preserve attributes of Java sources when copying to
15969 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
15971 * AUTHORS: Added self.
15972 * java/security/Security.java (getProvider): Ensures provider's name is
15973 not null, not an empty string, and is trimmed before usage.
15975 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15977 * gnu/CORBA/Poa/AOM.java (add):
15978 Changed parameter Object into gnuServantObject.
15979 (Obj.object): Changed type to gnuServantObject.
15980 (findObject): Rewritten.
15982 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
15984 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
15985 buffering. Ability has gone in Qt-4.1.x.
15987 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
15988 to have the right include flags.
15990 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
15992 * java/security/MessageDigest.java (getInstance(String,String)):
15993 Use trimmed copy of provider name.
15994 * gnu/java/security/Engine.java
15995 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
15996 service and algorithm names.
15998 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
16000 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
16001 localhost is null or is an empty string. Trim hostname before
16006 coding: iso-latin-1-unix