489b9aa8cf7d2af2e98b73f2f8a17d4b1ba2d56c
[gcc.git] / libjava / classpath / ChangeLog
1 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
2
3 * java/util/Arrays.java (binarySearch): Change comparison order.
4
5 2007-01-17 Tom Tromey <tromey@redhat.com>
6
7 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
8 (PathOptionGroup): Set default boot class path.
9
10 2006-12-14 Andrew Haley <aph@redhat.com>
11
12 * tools/gnu/classpath/tools/jar/Creator.java: Close the
13 inputStream.
14
15 2006-10-12 Andrew Haley <aph@redhat.com>
16
17 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
18 * java/lang/ThreadLocal.java: Likewise.
19
20 2006-09-13 Andrew Haley <aph@redhat.com>
21
22 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
23 Revert previous gcj-specific disabling of checks.
24 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
25 Likewise.
26 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
27 Likewise.
28
29 2006-09-13 Andrew Haley <aph@redhat.com>
30
31 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
32 capacity < 1.
33 (Iterator.remove()): Decrement index after removing element.
34
35 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
36
37 * javax/net/ssl/SSLSocketFactory.java (getDefault):
38 Chain exception cause.
39
40 2006-12-11 Roman Kennke <kennke@aicas.com>
41
42 * .classpath: Include ASM in Eclipse classpath.
43
44 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
45
46 * gnu/java/lang/management/BeanImpl.java:
47 (translate(String)): Trim strings of whitespace.
48 * javax/management/MBeanAttributeInfo.java:
49 (MBeanAttributeInfo(String,String,Method,Method)):
50 Use Class.getName() for normal (non-parameterized) cases.
51 * javax/management/MBeanConstructorInfo.java:
52 (MBeanConstructorInfo(String, Constructor)):
53 Likewise.
54 * javax/management/MBeanOperationInfo.java:
55 (MBeanOperationInfo(String, Method)):
56 Likewise.
57
58 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
59
60 * java/lang/Class.java:
61 (getClasses()): Return Class<?>[].
62 (internalGetClasses()): Likewise.
63 (getConstructor(Class<?>...)): Add type parameter
64 to parameters.
65 (getDeclaredConstructor(Class<?>...)): Likewise.
66 (getDeclaredClasses()): Return Class<?>[].
67 (getDeclaredClasses(boolean)): Likewise.
68 (getDeclaredConstructors()): Return Constructor<?>[].
69 (getDeclaredConstructors(boolean)): Likewise.
70 (getDeclaredMethod(String,Class<?>...)): Add type
71 parameter to parameters.
72 (getInterfaces()): Return Class<?>[].
73 (getMethods(String,Class<?>...)): Add type
74 parameter to parameters.
75 * java/text/CollationKey.java:
76 Make non-final.
77 * java/text/DecimalFormatSymbols.java:
78 Likewise.
79
80 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
81
82 * gnu/java/lang/management/BeanImpl.java:
83 (translate(String)): Handle Map and List as
84 Strings of the form "java.util.Map<K,V>" and
85 "java.util.List<E>"
86 * javax/management/MBeanAttributeInfo.java:
87 (MBeanAttributeInfo(String,String,Method,Method)):
88 Use generic parameter and return types.
89 * javax/management/MBeanConstructorInfo.java:
90 (MBeanConstructorInfo(String, Constructor)):
91 Use generic parameter types.
92 * javax/management/MBeanOperationInfo.java:
93 (MBeanOperationInfo(String, Method)):
94 Use generic parameter and return types.
95
96 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
97
98 * gnu/java/lang/management/BeanImpl.java:
99 (translate(String)): Comment out code for using type
100 variables for Map and List.
101 * java/lang/Thread.java:
102 (Thread(ThreadGroup,Runnable,String,long)): Fix
103 incrementation of totalThreadsCreated to be prior to use.
104
105 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
106
107 * javax/management/MBeanServerFactory.java:
108 (createMBeanServer(String)): Added security check.
109 (findMBeanServer(String)): Likewise.
110 (newMBeanServer(String)): Likewise.
111 (releaseMBeanServer(String)): Likewise.
112 * javax/management/MBeanServerPermission.java:
113 New file.
114
115 2006-12-08 David Daney <ddaney@avtrex.com>
116
117 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
118 Fix comment.
119
120 2006-12-08 David Daney <ddaney@avtrex.com>
121
122 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
123
124 2006-12-08 David Daney <ddaney@avtrex.com>
125
126 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
127 SocketException.
128 (HTTPConnection): Handle NumberFormatException in properties parsing.
129 (Pool.get): Set timeout on reused sockets.
130 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
131 Initialize.
132 (HTTPURLConnection): Cleanup properties handling.
133 (getConnection): Use both connection and read timeouts.
134 (setConnectTimeout): Removed.
135 (setReadTimeout): New method.
136 * java/net/URLConnection.java (timeout): Renamed to...
137 (connectTimeout): ... connectTimeout throughout.
138 (readTimeout): New field.
139 (getReadTimeout): New method.
140 (setReadTimeout): New method.
141
142 2006-12-08 Tania Bento <tbento@redhat.com>
143
144 * java/awt/ScrollPane.java
145 (doLayout): Change the location of the scrollpane's child
146 to (0, 0).
147
148 2006-12-08 David Daney <ddaney@avtrex.com>
149
150 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
151 New method.
152 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
153 SocketTimeoutException if a blocking socket timesout.
154 (Java_gnu_java_nio_VMChannel_readScattering): Same.
155 (Java_gnu_java_nio_VMChannel_read__I): Same.
156 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
157 (Java_gnu_java_nio_VMChannel_connect6): Same.
158
159 2006-12-08 Mark Wielaard <mark@klomp.org>
160
161 * configure.ac (VERSION): Set to 0.93-generics.
162 * NEWS: Add release date.
163
164 2006-12-08 Tania Bento <tbento@redhat.com>
165
166 * java/awt/ScrollPane.java
167 (getScrollPosition): Throw NullPointerException if scrollpane
168 does have a child.
169 (setScrollPosition(int, int)): Throw NullPointerException if
170 scrollpane does have a child. Check that both ints are within
171 the allowed bounds; If they are not, scroll to the closest allowed
172 bound.
173
174 2006-12-07 Roman Kennke <kennke@aicas.com>
175
176 * javax/swing/JEditorPane.java
177 (EditorKitMapping): New inner helper class.
178 (editorKits): New static field for caching editor kit instances.
179 (static_initiazer): Initialize static mappings here.
180 (createEditorKitForContentType): Try to use cached instance.
181 Use correct classloader for loading.
182 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
183 class.
184 (getEditorKitForContentType): Store the fetched editor kit.
185 Fallback to createDefaultEditorKit().
186 (init): Don't clean the static registry here.
187 (registerEditorKitForContentType(String,String,ClassLoader)):
188 Implemented.
189 (registerEditorKitForContentType(String,String)): Delegate to
190 the other version of this method with the thread's context
191 classloader.
192
193 2006-12-07 Mark Wielaard <mark@klomp.org>
194
195 * examples/gnu/classpath/examples/swing/HtmlDemo.java
196 (setPage): Don't convert URL to String for setPage().
197
198 2006-12-07 Mark Wielaard <mark@klomp.org>
199
200 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
201
202 2006-12-07 Mark Wielaard <mark@klomp.org>
203
204 * tools/Makefile.am: Explicitly define and use bootclasspath as
205 GLIBJ_BOOTCLASSPATH
206
207 2006-12-07 Mark Wielaard <mark@klomp.org>
208
209 * javax/swing/JEditorPane.java (createEditorKitForContentType):
210 Always load from system class loader.
211
212 2006-12-07 Mark Wielaard <mark@klomp.org>
213
214 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
215 private constructor.
216 (URL(URL,String,URLStreamHandler)): Call new constructor.
217 (URL(URL,String)): Likewise.
218 (URL(String)): Likewise.
219
220 2006-12-07 Tom Tromey <tromey@redhat.com>
221
222 * NEWS: Mention ASM.
223 * INSTALL: Don't mention --with-asm.
224 * tools/external/README: New file.
225 * tools/toolwrapper.c (main): Don't use ASM_JAR.
226 * tools/gjavah.in: Don't use PATH_TO_ASM.
227 * tools/grmic.in: Likewise.
228 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
229 'asm'.
230 (javah, rmic): Removed variables.
231 (bin_PROGRAMS): Updated.
232 (gappletviewer_CFLAGS): Don't define ASM_JAR.
233 (gjarsigner_CFLAGS): Likewise.
234 (gkeytool_CFLAGS): Likewise.
235 (gjar_CFLAGS): Likewise.
236 (gnative2ascii_CFLAGS): Likewise.
237 (gserialver_CFLAGS): Likewise.
238 (grmiregistry_CFLAGS): Likewise.
239 (gtnameserv_CFLAGS): Likewise.
240 (gorbd_CFLAGS): Likewise.
241 (grmid_CFLAGS): Likewise.
242 (gjavah_CFLAGS): Likewise.
243 (grmic_CFLAGS): Likewise.
244 (bin_SCRIPTS): Updated.
245 (TOOLS_JAVA_FILES): Updated.
246 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
247 * configure.ac: Removed --with-asm. Always build gjavah.
248
249 2006-12-06 Roman Kennke <kennke@aicas.com>
250
251 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
252 New class.
253 * examples/gnu/classpath/examples/swing/HtmlDemo.java
254 (LoadActionListener): Call setPage() helper method.
255 (createContent): Register tweaked editor kit. For FormSubmitEvents
256 call submitForm(), otherwise setPage().
257 (postData): Helper method for posting form data.
258 (setPage): Helper method for navigating to a new URL.
259 (submitForm): Helper method for submitting a form.
260 * examples/gnu/classpath/examples/swing/forms.html:
261 Added text/password fields and select boxes.
262 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
263
264 2006-12-06 Roman Kennke <kennke@aicas.com>
265
266 * javax/swing/text/html/FormView.java
267 (SubmitThread.postData): Implemented.
268 (SubmitThread.run): Pass data to postData().
269 (actionPerformed): Reset form when reset button is activated.
270 (createComponent): Add support for select lists and comboboxes.
271 Don't set value of text and password fields here, this is done
272 now in HTMLDocument for consistency.
273 (getElementFormData): Add support for fetching form data from
274 select lists and comboboxes as well as textareas.
275 (getSelectData): New helper method. Fetches form data from
276 select boxes.
277 (getTextAreaData): New helper method. Fetches form data from
278 textareas.
279 (resetForm): New helper method. Resets the entire form.
280 * javax/swing/text/html/HTMLDocument.java
281 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
282 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
283 (HTMLReader.FormAction.setModel): Initialize text and password
284 values here. Also, use the resetable special models.
285 Group radio buttons into ButtonGroup for exclusive selection.
286 (HTMLReader.FormTagAction): New class. Handles FORM tags.
287 (HTMLReader.buttonGroups): New field.
288 (HTMLReader.numOptions): New field.
289 (HTMLReader.option): New field.
290 (HTMLReader.selectModel): New field.
291 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
292 (HTMLReader.handleText): Handle OPTION text.
293 (HTMLReader.initTags): Map FORM tags to FormTagAction.
294 (HTMLReader.textAreaContent): Set initial content.
295 * javax/swing/text/html/Option.java
296 (Option): Make copy of attribute set. Initialize selected state.
297 (getValue): Fetch value from attribute set.
298 * javax/swing/text/html/ResetableModel.java: New interface.
299 * javax/swing/text/html/ResetablePlainDocument.java: New class.
300 Supports resetting the state.
301 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
302 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
303 * javax/swing/text/html/SelectListModel.java: Likewise.
304
305 2006-12-06 Roman Kennke <kennke@aicas.com>
306
307 * javax/swing/text/DefaultCaret.java
308 (appear): Adjust visibility here.
309 (setDotImpl): Don't adjust visibility here.
310 (moveDotImpl): Don't adjust visibility here.
311
312 2006-12-06 Roman Kennke <kennke@aicas.com>
313
314 * gnu/java/awt/peer/gtk/AsyncImage.java
315 (Loader.run): Synchronize on the AsyncImage to avoid threading
316 issues.
317 (addObservers): Check for obs==null outside and synchronize on
318 this inside to avoid locking issues.
319 (checkImage): New helper method.
320 (notifyObservers): Check that the correct lock is held and
321 remove actual locking.
322 * gnu/java/awt/peer/gtk/GtkToolkit.java
323 (checkImage): Added special handling for AsyncImages.
324
325 2006-12-06 Roman Kennke <kennke@aicas.com>
326
327 * examples/gnu/classpath/examples/swing/Demo.java
328 (getIcon): Made package private.
329 * examples/gnu/classpath/examples/swing/HtmlDemo.java
330 (hyperlinkUpdate): Convert URL to string.
331
332 2006-12-06 Mark Wielaard <mark@klomp.org>
333
334 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
335 null Observer.
336
337 2006-12-06 Roman Kennke <kennke@aicas.com>
338
339 * examples/gnu/classpath/examples/icons/back.png,
340 * examples/gnu/classpath/examples/icons/reload.png:
341 New icons for the HTML browser.
342 * examples/gnu/classpath/examples/swing/HtmlDemo.java
343 (history): New field. Manages the browsing history.
344 (HtmlDemo): Initialize history.
345 (createContent): Set location and add history. Add toolbar.
346 (createToolBar): New helper method.
347 (main): Make default size bigger.
348 * examples/gnu/classpath/examples/swing/frame1.html,
349 * examples/gnu/classpath/examples/swing/frame2.html,
350 * examples/gnu/classpath/examples/swing/frame3.html,
351 * examples/gnu/classpath/examples/swing/frame4.html,
352 * examples/gnu/classpath/examples/swing/frames.html,
353 * examples/gnu/classpath/examples/swing/tables.html:
354 New example pages.
355 * examples/gnu/classpath/examples/swing/welcome.html
356 Add a couple of links and new test pages.
357
358 2006-12-06 Roman Kennke <kennke@aicas.com>
359
360 * javax/swing/JEditorPane.java
361 (getStream): Buffer the stream for efficiency.
362 (setPage): Don't scroll the view at this point.
363 * javax/swing/plaf/basic/BasicTextUI.java
364 (RootView.paint): Call RootView's setSize to get synchronization.
365 (RootView.setSize): Synchronize to prevent race in layout code.
366 * javax/swing/text/AbstractDocument.java
367 (notifyListeners): New field.
368 (fireChangedUpdate): Track notifyListener field.
369 (fireRemoveUpdate): Track notifyListener field.
370 (fireIndertUpdate): Track notifyListener field.
371 (writeLock): Check notifyListener and throw IllegalStateException.
372 * javax/swing/text/View.java
373 (preferenceChanged): Create local var for better thread safety and
374 more efficiency.
375
376 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
377
378 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
379 lightweight component, not just for non-Panel components.
380 (addImpl): Do not call doLayout.
381 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
382 (setNativeBounds): Ensure widget parent is a GtkFixed before
383 calling gtk_fixed_move.
384 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
385 (setNativeBounds): Likewise.
386 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
387 (setNativeBounds): Likewise.
388
389 2006-12-06 Roman Kennke <kennke@aicas.com>
390
391 * javax/swing/text/html/TableView.java
392 (RowView.layoutMajorAxis): Check column index for invalid value.
393 (updateGrid): Check column index for invalid value.
394
395 2006-12-06 Roman Kennke <kennke@aicas.com>
396
397 * javax/swing/text/html/BlockView.java
398 (getAlignment): Align blocks horizontally by the superclass.
399 * javax/swing/text/html/HTMLEditorKit.java
400 (HTMLFactory.create): Replace equals comparison by == for efficiency.
401 Add mapping for misplaced tr, td and th tags. Include object mapping.
402 * javax/swing/text/html/TableView.java
403 (RowView.replace): Invalidate grid early.
404 (gridValid): Initialize with false.
405 (create): Only create RowView and CellView for correctly placed
406 tags. Avoid unnecessary casts.
407 (getAlignment): Removed.
408 (replace): Invalidate grid early.
409
410 2006-12-06 Francis Kung <fkung@redhat.com>
411
412 * java/awt/geom/RectangularShape.java
413 (getBounds): Remove empty rectangle check.
414
415 2006-12-06 Ben Konrath <bkonrath@redhat.com>
416
417 Fixes PR 29853.
418 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
419 newValue are the same.
420 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
421
422 2006-12-06 Tania Bento <tbento@redhat.com>
423
424 * javax/swing/border/CompoundBorder.java:
425 (isBorderOpaque): If inside border is null, return true if outside
426 border is opaque, false otherwise; if outside border is null, return
427 true if inside border is opaque, false otherwise; if inside or
428 outside border are both not null, then return true only if both the
429 inside and outside border are opaque, false otherwise.
430
431 2006-12-06 Tania Bento <tbento@redhat.com>
432
433 * javax/swing/border/CompoundBorder.java:
434 (isBorderOpaque): If inside and outside border both have a null
435 value, return true.
436
437 2006-12-06 Chris Burdess <dog@gnu.org>
438
439 Fixes PR 29272.
440 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
441 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
442
443 2006-12-06 Chris Burdess <dog@gnu.org>
444
445 Fixes PR 29264.
446 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
447 writeDTD method.
448
449 2006-12-06 Chris Burdess <dog@gnu.org>
450
451 Fixes PR 28816.
452 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
453 discover schema factory implementation class.
454
455 2006-12-05 Francis Kung <fkung@redhat.com>
456
457 * java/awt/BasicStroke.java
458 (capEnd): Prevent division by zero.
459 * java/awt/geom/Arc2D.java
460 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
461 (ArcIterator.currentSegment): Handle a negative extent.
462
463 2006-12-05 Francis Kung <fkung@redhat.com>
464
465 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
466 (constructor): Handle translated subimages properly, ie, if the image's
467 0,0 position is not the data buffer's first element.
468
469 2006-12-05 Roman Kennke <kennke@aicas.com>
470
471 * gnu/java/awt/peer/gtk/AsyncImage.java
472 (Loader.run): Nullify observers after loading.
473 (observers): Made package private.
474 (addObserver): Check for null observers field. Create local
475 variable for thread safety.
476 (getHeight): Use addObserver() for checking state of field
477 and notifying observer when necessary.
478 (getWidth): Use addObserver() for checking state of field
479 and notifying observer when necessary.
480 (getProperty): Use addObserver() for checking state of field
481 and notifying observer when necessary.
482 (notifyObservers): Check for null observers field. Create local
483 variable for thread safety.
484
485 2006-12-05 Roman Kennke <kennke@aicas.com>
486
487 * javax/swing/text/html/HTMLEditorKit.java
488 (HTMLFactory.create): Removed debug output.
489 * javax/swing/text/html/InlineView.java
490 (getBreakWeight): Likewise.
491 * javax/swing/text/html/StyleSheet.java
492 (addRule): Likewise.
493 (ListPainter.paint): Removed debug output.
494
495 2006-12-05 Roman Kennke <kennke@aicas.com>
496
497 * javax/swing/text/html/BlockView.java
498 (painter): Made package visible.
499 * javax/swing/text/html/StyleSheet.java
500 (translateBorder): New helper method.
501 (translateHTMLToCSS): Add mappings for border attributes.
502 * javax/swing/text/html/TableView.java
503 Made class subclass of BlockView to get CSS goodness.
504 (CellView.rowSpan): New field.
505 (CellView.setPropertiesFromAttributes): Fetch rowspan.
506 (RowView.overlap): New field.
507 (RowView.rowIndex): New field.
508 (RowView.layoutMajorAxis): Skip overlapping cells.
509 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
510 (numColumns): New field.
511 (tmpRect): New field.
512 (TableView): Initialize tmpRect.
513 (calculateColumnRequirements): Adjusted and fixed for multirows.
514 (getAlignment): Overridden to center tables.
515 (paint): Overridden to fix clipping.
516 (getStyleSheet): Made protected.
517 (layoutMajorAxis): Invalidate rows.
518 (setPropertiesFromAttributes): Made protected and call super.
519 (updateGrid): Update the overlapping information for multirows.
520
521 2006-12-05 Roman Kennke <kennke@aicas.com>
522
523 * gnu/java/awt/peer/gtk/AsyncImage.java
524 (addObserver): Check for null and ignore null observers.
525 (getWidth): Check for null and ignore null observers.
526 (getHeight): Check for null and ignore null observers.
527 (getProperty): Check for null and ignore null observers.
528
529 2006-12-05 Francis Kung <fkung@redhat.com>
530
531 * java/awt/BasicStroke.java
532 (capEnd): Prevent division by zero.
533 * java/awt/geom/Arc2D.java
534 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
535 (ArcIterator.currentSegment): Handle a negative extent.
536
537 2006-12-05 Francis Kung <fkung@redhat.com>
538
539 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
540 (constructor): Handle translated subimages properly, ie, if the image's
541 0,0 position is not the data buffer's first element.
542
543 2006-12-05 Roman Kennke <kennke@aicas.com>
544
545 * javax/swing/text/html/ImageView.java
546 (imageUpdate): Use spans field to determine if the CSS width/height
547 are set. Call safePreferenceChanged to protect view structure
548 from threading issues.
549 (spans): Made package private.
550 (ImageView): Initialize loadOnDemand with false.
551 (loadImage): Call Toolkit.prepareImage() to make sure we have
552 our Observer registered.
553 (safePreferenceChanged): New helper method. Calls preferenceChanged
554 in a thread safe environment.
555
556 2006-12-05 Roman Kennke <kennke@aicas.com>
557
558 * NEWS: Add entry about improved HTML support.
559
560 2006-12-05 Roman Kennke <kennke@aicas.com>
561
562 * javax/swing/text/html/ImageView.java
563 (ImageView): Initialize spans array here.
564 (setPropertiesFromAttributes): Moved init of spans array to
565 constructor.
566
567 2006-12-05 Roman Kennke <kennke@aicas.com>
568
569 * javax/swing/text/html/BlockView.java
570 (painter): Made package visible.
571 * javax/swing/text/html/StyleSheet.java
572 (translateBorder): New helper method.
573 (translateHTMLToCSS): Add mappings for border attributes.
574 * javax/swing/text/html/TableView.java
575 Made class subclass of BlockView to get CSS goodness.
576 (CellView.rowSpan): New field.
577 (CellView.setPropertiesFromAttributes): Fetch rowspan.
578 (RowView.overlap): New field.
579 (RowView.rowIndex): New field.
580 (RowView.layoutMajorAxis): Skip overlapping cells.
581 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
582 (numColumns): New field.
583 (tmpRect): New field.
584 (TableView): Initialize tmpRect.
585 (calculateColumnRequirements): Adjusted and fixed for multirows.
586 (getAlignment): Overridden to center tables.
587 (paint): Overridden to fix clipping.
588 (getStyleSheet): Made protected.
589 (layoutMajorAxis): Invalidate rows.
590 (setPropertiesFromAttributes): Made protected and call super.
591 (updateGrid): Update the overlapping information for multirows.
592
593 2006-12-05 Roman Kennke <kennke@aicas.com>
594
595 * javax/swing/text/html/HTMLEditorKit.java
596 (HTMLFactory.create): Removed debug output.
597 * javax/swing/text/html/InlineView.java
598 (getBreakWeight): Likewise.
599 * javax/swing/text/html/StyleSheet.java
600 (addRule): Likewise.
601 (ListPainter.paint): Removed debug output.
602
603 2006-12-06 Roman Kennke <kennke@aicas.com>
604
605 * javax/swing/text/html/BlockView.java
606 (getAlignment): Align blocks horizontally by the superclass.
607 * javax/swing/text/html/HTMLEditorKit.java
608 (HTMLFactory.create): Replace equals comparison by == for efficiency.
609 Add mapping for misplaced tr, td and th tags. Include object mapping.
610 * javax/swing/text/html/TableView.java
611 (RowView.replace): Invalidate grid early.
612 (gridValid): Initialize with false.
613 (create): Only create RowView and CellView for correctly placed
614 tags. Avoid unnecessary casts.
615 (getAlignment): Removed.
616 (replace): Invalidate grid early.
617
618
619 2006-12-06 Roman Kennke <kennke@aicas.com>
620
621 * javax/swing/text/html/TableView.java
622 (RowView.layoutMajorAxis): Check column index for invalid value.
623 (updateGrid): Check column index for invalid value.
624
625 2006-12-06 Roman Kennke <kennke@aicas.com>
626
627 * javax/swing/JEditorPane.java
628 (getStream): Buffer the stream for efficiency.
629 (setPage): Don't scroll the view at this point.
630 * javax/swing/plaf/basic/BasicTextUI.java
631 (RootView.paint): Call RootView's setSize to get synchronization.
632 (RootView.setSize): Synchronize to prevent race in layout code.
633 * javax/swing/text/AbstractDocument.java
634 (notifyListeners): New field.
635 (fireChangedUpdate): Track notifyListener field.
636 (fireRemoveUpdate): Track notifyListener field.
637 (fireIndertUpdate): Track notifyListener field.
638 (writeLock): Check notifyListener and throw IllegalStateException.
639 * javax/swing/text/View.java
640 (preferenceChanged): Create local var for better thread safety and
641 more efficiency.
642
643 2006-12-06 Roman Kennke <kennke@aicas.com>
644
645 * examples/gnu/classpath/examples/icons/back.png,
646 * examples/gnu/classpath/examples/icons/reload.png:
647 New icons for the HTML browser.
648 * examples/gnu/classpath/examples/swing/HtmlDemo.java
649 (history): New field. Manages the browsing history.
650 (HtmlDemo): Initialize history.
651 (createContent): Set location and add history. Add toolbar.
652 (createToolBar): New helper method.
653 (main): Make default size bigger.
654 * examples/gnu/classpath/examples/swing/frame1.html,
655 * examples/gnu/classpath/examples/swing/frame2.html,
656 * examples/gnu/classpath/examples/swing/frame3.html,
657 * examples/gnu/classpath/examples/swing/frame4.html,
658 * examples/gnu/classpath/examples/swing/frames.html,
659 * examples/gnu/classpath/examples/swing/tables.html:
660 New example pages.
661 * examples/gnu/classpath/examples/swing/welcome.html
662 Add a couple of links and new test pages.
663
664 2006-12-06 Roman Kennke <kennke@aicas.com>
665
666 * examples/gnu/classpath/examples/swing/Demo.java
667 (getIcon): Made package private.
668 * examples/gnu/classpath/examples/swing/HtmlDemo.java
669 (hyperlinkUpdate): Convert URL to string.
670
671 2006-12-06 Roman Kennke <kennke@aicas.com>
672
673 * javax/swing/text/DefaultCaret.java
674 (appear): Adjust visibility here.
675 (setDotImpl): Don't adjust visibility here.
676 (moveDotImpl): Don't adjust visibility here.
677
678 2006-12-06 Roman Kennke <kennke@aicas.com>
679
680 * javax/swing/text/html/FormView.java
681 (SubmitThread.postData): Implemented.
682 (SubmitThread.run): Pass data to postData().
683 (actionPerformed): Reset form when reset button is activated.
684 (createComponent): Add support for select lists and comboboxes.
685 Don't set value of text and password fields here, this is done
686 now in HTMLDocument for consistency.
687 (getElementFormData): Add support for fetching form data from
688 select lists and comboboxes as well as textareas.
689 (getSelectData): New helper method. Fetches form data from
690 select boxes.
691 (getTextAreaData): New helper method. Fetches form data from
692 textareas.
693 (resetForm): New helper method. Resets the entire form.
694 * javax/swing/text/html/HTMLDocument.java
695 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
696 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
697 (HTMLReader.FormAction.setModel): Initialize text and password
698 values here. Also, use the resetable special models.
699 Group radio buttons into ButtonGroup for exclusive selection.
700 (HTMLReader.FormTagAction): New class. Handles FORM tags.
701 (HTMLReader.buttonGroups): New field.
702 (HTMLReader.numOptions): New field.
703 (HTMLReader.option): New field.
704 (HTMLReader.selectModel): New field.
705 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
706 (HTMLReader.handleText): Handle OPTION text.
707 (HTMLReader.initTags): Map FORM tags to FormTagAction.
708 (HTMLReader.textAreaContent): Set initial content.
709 * javax/swing/text/html/Option.java
710 (Option): Make copy of attribute set. Initialize selected state.
711 (getValue): Fetch value from attribute set.
712 * javax/swing/text/html/ResetableModel.java: New interface.
713 * javax/swing/text/html/ResetablePlainDocument.java: New class.
714 Supports resetting the state.
715 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
716 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
717 * javax/swing/text/html/SelectListModel.java: Likewise.
718
719 2006-12-06 Roman Kennke <kennke@aicas.com>
720
721 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
722 New class.
723 * examples/gnu/classpath/examples/swing/HtmlDemo.java
724 (LoadActionListener): Call setPage() helper method.
725 (createContent): Register tweaked editor kit. For FormSubmitEvents
726 call submitForm(), otherwise setPage().
727 (postData): Helper method for posting form data.
728 (setPage): Helper method for navigating to a new URL.
729 (submitForm): Helper method for submitting a form.
730 * examples/gnu/classpath/examples/swing/forms.html:
731 Added text/password fields and select boxes.
732 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
733
734 2006-12-07 Mark Wielaard <mark@klomp.org>
735
736 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
737 private constructor.
738 (URL(URL,String,URLStreamHandler)): Call new constructor.
739 (URL(URL,String)): Likewise.
740 (URL(String)): Likewise.
741
742 2006-12-07 Mark Wielaard <mark@klomp.org>
743
744 * javax/swing/JEditorPane.java (createEditorKitForContentType):
745 Always load from system class loader.
746
747 2006-12-06 Ben Konrath <bkonrath@redhat.com>
748
749 Fixes PR 29853.
750 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
751 newValue are the same.
752 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
753
754 2006-12-06 Chris Burdess <dog@gnu.org>
755
756 Fixes PR 29272.
757 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
758 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
759
760 2006-12-06 Chris Burdess <dog@gnu.org>
761
762 Fixes PR 29264.
763 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
764 writeDTD method.
765
766 2006-12-056 Chris Burdess <dog@gnu.org>
767
768 Fixes PR 28816.
769 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
770 discover schema factory implementation class.
771
772 2006-12-05 Roman Kennke <kennke@aicas.com>
773
774 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
775 asynchronous loading of images.
776 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
777 (drawImage): Fetch real image from possibly AsyncImage.
778 * gnu/java/awt/peer/gtk/ComponentGraphics.java
779 (drawImage): Fetch real image from possibly AsyncImage.
780 * gnu/java/awt/peer/gtk/GtkToolkit.java
781 (createImage(URL)): Create async image.
782 (imageOrError): Made method static for easy access from AsyncImage.
783 (prepareImage): For async images, register the observer to the
784 image.
785
786 2006-12-05 Roman Kennke <kennke@aicas.com>
787
788 (paintComponent): Include paint area from event.
789 (updateComponent): Include paint area from event.
790
791 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
792
793 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
794 lightweight component, not just for non-Panel components.
795 (addImpl): Do not call doLayout.
796 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
797 (setNativeBounds): Ensure widget parent is a GtkFixed before
798 calling gtk_fixed_move.
799 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
800 (setNativeBounds): Likewise.
801 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
802 (setNativeBounds): Likewise.
803
804 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
805
806 * java/awt/Component.java (getFontImpl): Return a default font if
807 topmost parent's font is null.
808
809 2006-12-04 Mark Wielaard <mark@klomp.org>
810
811 * javax/swing/text/html/CSS.java (parseMarginShorthand):
812 Remove debug output.
813
814 2006-12-04 Roman Kennke <kennke@aicas.com>
815
816 * java/awt/font/TextLayout.java
817 (hitTestChar): Fixed conditions for inclusion of range.
818 Use layout information in the run for more efficiency.
819
820 2006-12-04 Roman Kennke <kennke@aicas.com>
821
822 * javax/swing/text/GlyphView.java
823 (J2DGlyphPainter): New inner class.
824 (checkPainter): For Java2D capable environments create
825 a J2DGlyphPainter.
826
827 2006-12-04 Roman Kennke <kennke@aicas.com>
828
829 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
830 (FreeTypeGlyphVector): Don't filter control chars here.
831 (getGlyphs): Filter control chars and replace them by
832 hair space char.
833
834 2006-12-04 Roman Kennke <kennke@aicas.com>
835
836 * native/jni/java-nio/gnu_java_nio_VMChannel.c
837 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
838
839 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
840
841 * gnu/java/lang/management/BeanImpl.java:
842 (translate(String)): Don't assume the list uses "E",
843 just use the first and only type variable.
844 * java/lang/management/ManagementFactory.java:
845 (getPlatformMBeanServer()): Register logging bean.
846 * javax/management/openmbean/OpenType.java:
847 (OpenType(String,String,String)): Actually use
848 the string created to handle arrays.
849
850 2006-12-04 Mark Wielaard <mark@klomp.org>
851
852 * native/jni/java-nio/gnu_java_nio_VMChannel.c
853 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
854
855 2006-12-04 Mark Wielaard <mark@klomp.org>
856
857 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
858 Make static.
859 * native/jni/java-nio/gnu_java_nio_VMChannel.c
860 (JCL_thread_interrupted): Only take JNIEnv.
861 (vm_channel_class): New static variable.
862 (initID): Set vm_channel_class.
863 Wrap all reads() and writes() in do-while blocks that check
864 interrupted status.
865
866 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
867
868 * gnu/javax/management/Server.java:
869 Make map final and initialise it.
870 (unregisterMBean(ObjectName)): Match against
871 delegate's object name and not the instance.
872 * java/lang/management/ManagementFactory.java:
873 Added constant fields.
874 (getPlatformMBeanServer()): Implemented.
875 * javax/management/MBeanServerFactory.java: New file.
876
877 2006-12-04 Roman Kennke <kennke@aicas.com>
878
879 * javax/swing/text/BoxView.java
880 (paint): Replaced painting algorithm with more simple and more
881 reliable painting of the box.
882 * javax/swing/text/html/BlockView.java
883 (PositionInfo): New inner class. Stores additional CSS
884 positioning information.
885 (positionInfo): New field.
886 (BlockView): Initialize positionInfo field.
887 (fetchLayoutInfo): New helper method. Fetches additional
888 CSS positioning information.
889 (layoutMajorAxis): Perform additional CSS layout.
890 (layoutMinorAxis): Perform additional CSS layout.
891 (positionView): New helper method.
892 (replace): Overridden to fetch additional layout information.
893 * javax/swing/text/html/CSS.java
894 (Attribute.POSITION): New field.
895 (Attribute.LEFT): New field.
896 (Attribute.RIGHT): New field.
897 (Attribute.TOP): New field.
898 (Attribute.BOTTOM): New field.
899 (getValue): Create Length for left, right, top and bottom
900 attributes.
901
902 2006-12-04 Roman Kennke <kennke@aicas.com>
903
904 * gnu/javax/swing/text/html/parser/support/Parser.java
905 (Sgml): Consume any whitespace that immediately follows
906 and sgml insertion.
907 (parseDocument): Consume any initial whitespace.
908
909 2006-12-03 Mark Wielaard <mark@klomp.org>
910
911 * gnu/javax/management/Server.java (beans): Initialize.
912 (registerMBean): Don't initialize beans.
913
914 2006-12-03 Mark Wielaard <mark@klomp.org>
915
916 * java/util/logging/LogManager.java (getLevelProperty): Check
917 whether value is null before passing to Level.parse().
918
919 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
920
921 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
922 whether given a null lock and lockOwner.
923
924 2006-12-03 Mark Wielaard <mark@klomp.org>
925
926 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
927 (PageLoader.page): Made package local.
928 (PageLoader.run): Don't reset loader.
929 (PageLoader.cancel): New method.
930 (loading): Renamed to loader.
931 (getPage): Return loader.page.
932 (setPage): Always set loader. Never reset to null.
933
934 2006-12-03 Mark Wielaard <mark@klomp.org>
935
936 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
937 path[k] is null.
938 (isLastChild): Return false when path is null.
939
940 2006-12-03 Mark Wielaard <mark@klomp.org>
941
942 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
943 to currentPaintArea.
944 (paintComponent): Work with local reference to currentPaintArea.
945 (updateComponent): Likewise.
946 (coalescePaintEvent): Set currentPaintArea.
947
948 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
949
950 * javax/management/MBeanServerBuilder.java: New file.
951
952 2006-12-01 Mark Wielaard <mark@klomp.org>
953
954 * java/text/DecimalFormat.java (parse): Always increment parsing
955 index and adjust pos result.
956
957 2006-12-01 Roman Kennke <kennke@aicas.com>
958
959 * javax/swing/text/html/HTML.java
960 (Attribute.DYNAMIC_CLASS): New field.
961 (Attribute.PSEUDO_CLASS): New field.
962 * javax/swing/text/html/HTMLDocument.java
963 (HTMLReader.CharacterAction.start): Initialize anchor with link
964 pseudo attribute.
965 (updateSpecialClass): New helper method. Updates the dynamic
966 or pseudo class for anchor tags.
967 * javax/swing/text/html/HTMLEditorKit.java
968 (LinkController.lastAnchorElement): New field. For tracking
969 enter/exit of anchors.
970 (LinkController.activateLink): Set pseudo class to 'visited'.
971 (LinkController.mouseMoved): Added support for tracking
972 the 'hover' dynamic class.
973 * javax/swing/text/html/InlineView.java
974 (changedUpdate): Fetch new properties.
975 * javax/swing/text/html/StyleSheet.java
976 (attributeSetToMap): New helper method.
977 (getRule): Also append dynamic and pseudo class to key.
978 (resolveStyle): Resolve style based generally on all attributes.
979 * javax/swing/text/html/TableView.java
980 (RowView.layoutMajorAxis): Make sure the grid is valid.
981 (updateGrid): Made package private.
982 * gnu/javax/swing/text/html/css/Selector.java
983 (calculateSpecificity): Added support for dynamic and pseudo classes.
984 (matches): Changed to operate on general attributes.
985 Added support for dynamic and pseudo classes.
986
987 2006-12-01 Mario Torre <neugens@limasoftware.net>
988
989 * java/text/DecimalFormat.java (formatInternal): move the formatting of
990 fractional portion in a separate method.
991 Also fixes the handling of decimal separator and its associated field.
992 (handleFractionalPart): new method, needed to relax a bit
993 formatInternal.
994
995 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
996
997 * java/beans/beancontext/BeanContextServicesSupport.java:
998 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
999 Class)): Implemented.
1000 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1001 Class, Object)): Implemented.
1002 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1003 Object, Object)): Implemented.
1004 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1005 Implemented.
1006 (initialiseBeanContextResources()): Implemented.
1007 (releaseBeanContextResoures()): Implemented.
1008
1009 2006-12-01 Mark Wielaard <mark@klomp.org>
1010
1011 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1012
1013 2006-12-01 Roman Kennke <kennke@aicas.com>
1014
1015 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1016 handling border styles.
1017 * gnu/javax/swing/text/html/css/BorderWidth.java
1018 (isValid): New method.
1019 * gnu/javax/swing/text/html/css/Length.java
1020 (isValid): New method.
1021 * javax/swing/text/html/CSS.java
1022 (addInternal): Added shorthand parsing for border, padding and
1023 margin.
1024 (parseBackgroundShorthand): Added API docs.
1025 (parsePaddingShorthand): New method. Handles padding shorthand
1026 values.
1027 (parseMarginShorthand): New method. Handles margin shorthand
1028 values.
1029 (parseBorderShorthand): New method. Handles border shorthand
1030 values.
1031 * javax/swing/text/html/StyleSheet.java
1032 (translateHTMLToCSS): Set specific padding attributes.
1033 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1034 These shorthands are now handled in CSS.
1035 (BoxPainter.paint): Exclude the outer margin.
1036
1037 2006-12-01 Roman Kennke <kennke@aicas.com>
1038
1039 * gnu/javax/swing/text/html/css/Length.java
1040 (emBase): New field.
1041 (exBase): New field.
1042 (isFontEMRelative): New field.
1043 (isFontEXRelative): New field.
1044 (Length): Recognize and setup EM and EX relative values.
1045 (getValue): Handle EM and EX relative values.
1046 (isEMRelative): New method.
1047 (isEXRelative): New method.
1048 (setEMBase): New method.
1049 (setEXBase): New method.
1050 (setFontBases): New method.
1051 * gnu/javax/swing/text/html/parser/support/Parser.java
1052 (_handleEmptyTag): Use new isBlock() helper method.
1053 (_handleEndTag_remaining): Use new isBlock() helper method.
1054 (_handleStartTag): Consume whitespace after block start tag.
1055 (Comment): Consume whitespace after a comment.
1056 (isBlock): New helper method.
1057 (readAttributes): Consider all characters in unquoted attribute
1058 values.
1059 * javax/swing/text/html/BlockView.java
1060 (layoutMinorAxis): Use cached span value.
1061 (paint): Added debug code (commented out).
1062 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1063 * javax/swing/text/html/CSSBorder.java
1064 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1065 with stylesheet.
1066 (getBorderWidth): Set the EM and EX base on the length values.
1067 * javax/swing/text/html/HTMLDocument.java
1068 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1069 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1070 (HTMLReader.inImpliedParagraph): Removed.
1071 (HTMLReader.inParagraph): Removed.
1072 (HTMLReader.parseStack): New field.
1073 (HTMLReader.addContent): Use new paragraph handling.
1074 (HTMLReader.addSpecialElement): Use new paragraph handling.
1075 (HTMLReader.blockClose): Use new paragraph handling.
1076 (HTMLReader.blockOpen): Use new paragraph handling.
1077 (HTMLReader.inImpliedParagraph): New helper method.
1078 (HTMLReader.inParagraph): New helper method.
1079 * javax/swing/text/html/ImageView.java
1080 (attributes): New field. Caches view attributes.
1081 (spans): New field. Caches CSS spans.
1082 (getAttributes): Correctly setup CSS view attributes.
1083 (getPreferredSpan): Use caches spans.
1084 (getStyleSheet): Use the view's getDocument() method.
1085 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1086 (updateSize): Use cached spans.
1087 * javax/swing/text/html/ParagraphView.java
1088 (setPropertiesFromAttributes): Setup EM and EX.
1089 * javax/swing/text/html/StyleSheet.java
1090 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1091 (getEMBase): New helper method.
1092 (getEXBase): New helper method.
1093 * javax/swing/text/html/TableView.java
1094 (width): New field. Caches the table width.
1095 (calculateMinorAxisRequirements): Use caches span.
1096 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1097 (updateGrid): Correctly setup EM/EX.
1098
1099 2006-11-30 Roman Kennke <kennke@aicas.com>
1100
1101 * javax/swing/text/html/FormSubmitEvent.java: New class.
1102 * javax/swing/text/html/FormView.java
1103 (SubmitThread): New class for submitting data in a separate thread.
1104 (actionPerformed): Fetch the actual for data.
1105 (addData): New helper method.
1106 (getElementFormData): New helper method.
1107 (getFormData): New helper method.
1108 (getInputFormData): New helper method.
1109 (submitData): Implemented.
1110 * javax/swing/text/html/FrameView.java
1111 (createComponent): Add this as hyperlink listener.
1112 Set the target document as frame document.
1113 (getTopEditorPane): New helper method.
1114 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1115 (handleHyperlinkEvent): New helper method.
1116 (handleFormSubmitEvent): New helper method.
1117 * javax/swing/text/html/HTMLDocument.java
1118 (HTMLReader.BaseAction.start): Track the base target.
1119 (HTMLReader.BaseAction.end): Removed.
1120 (baseTarget): New field.
1121 (frameDocument): New field.
1122 (getBaseTarget): New property accessor.
1123 (isFrameDocument): New property accessor.
1124 (processHTMLFrameHyperlinkEvent): Implemented.
1125 (setFrameDocument): New property accessor.
1126 (updateFrame): New helper method.
1127 (updateFrameSet): New helper method.
1128 * javax/swing/text/html/HTMLEditorKit.java
1129 (LinkController.createHyperlinkEvent): Handle frame documents.
1130 (autoFormSubmission): New field.
1131 (HTMLEditorKit): Set autoFormSubmission to true.
1132 (isAutoFormSubmission): New property accessor.
1133 (setAutoFormSubmission): New property accessor.
1134
1135 2006-11-30 Roman Kennke <kennke@aicas.com>
1136
1137 * javax/swing/text/ElementIterator.java
1138 (ElementRef): New inner class.
1139 (currentDepth): Removed.
1140 (currentElement): Removed.
1141 (previousItem): Removed.
1142 (stack): New field. Holds the iteration stack.
1143 (state): Removed.
1144 (ElementIterator(Document)): Removed init of removed fields.
1145 (ElementIterator(Element)): Removed init of removed fields.
1146 (current): Changed to stack based algorithm.
1147 (deepestLeaf): New helper method.
1148 (depth): Changed to stack based algorithm.
1149 (first): Changed to stack based algorithm.
1150 (next): Changed to stack based algorithm.
1151 (previous): Changed to stack based algorithm.
1152
1153 2006-11-30 Francis Kung <fkung@redhat.com>
1154
1155 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1156 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1157
1158 2006-11-30 Francis Kung <fkung@redhat.com>
1159
1160 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1161 (draw): Set transform in buffered composite.
1162 (drawComposite): Do not transform bounds; round bounds.
1163 (drawGlyphVector): Set transform in buffered composite.
1164 (drawRenderedImage): Set transform in buffered composite.
1165 (fill): Set transform in buffered composite.
1166 (updateBufferedImage): Fix scanline & height calculations.
1167 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1168 (createPath): Simplify width & height calculation.
1169 (drawImage): Also transform width & height.
1170
1171 2006-11-30 Roman Kennke <kennke@aicas.com>
1172
1173 * javax/swing/text/html/FrameSetView.java: New class. Implements
1174 HTML framesets.
1175 * javax/swing/text/html/FrameView.java: New class. Implements
1176 HTML frames.
1177 * javax/swing/text/html/HTMLDocument.java:
1178 (HTMLReader.addSpecialElement): Only add one artificial space.
1179 * javax/swing/text/html/HTMLEditorKit.java
1180 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1181 * gnu/javax/swing/text/html/parser/support/Parser.java
1182 (_handleEmptyTag): Also consume whitespace after frame tags.
1183
1184 2006-11-30 Gary Benson <gbenson@redhat.com>
1185
1186 * java/lang/Thread.java: Javadoc fixes.
1187
1188 2006-11-29 Tom Tromey <tromey@redhat.com>
1189
1190 PR classpath/28203:
1191 * java/lang/Class.java (getAnnotations): Rewrote.
1192
1193 2006-11-29 Tania Bento <tbento@redhat.com>
1194
1195 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1196 (parseParams): Unescape 'val' before putting it into the Map.
1197 (unescapeString): New private method.
1198
1199 2006-11-29 Tom Tromey <tromey@redhat.com>
1200
1201 * tools/gnu/classpath/tools/getopt/package.html: New file.
1202
1203 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1204
1205 * javax/swing/plaf/metal/MetalIconFactory.java
1206 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1207 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1208
1209 2006-11-29 Mario Torre <neugens@limasoftware.net>
1210
1211 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1212 with the default international currency sign \u00A4.
1213 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1214 table for string formatting.
1215 (formatInternal): likewise.
1216 (scanNegativePattern): likewise.
1217 (applyPattern): likewise.
1218 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1219 Locale is immutable and does not need clone.
1220
1221 2006-11-29 Francis Kung <fkung@redhat.com>
1222
1223 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1224 (drawLine): Remove hard-coded pixel shifting.
1225
1226 2006-11-29 Roman Kennke <kennke@aicas.com>
1227
1228 * java/awt/Component.java
1229 (isShowing): Simplified condition code and avoid unnecessary
1230 if-codepaths.
1231 (coalesceEvents): Always coalesce paint events and let the peer
1232 figure out the expanding of the repaint area.
1233 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1234 (currentPaintEvents): Removed. Replaced by paintArea.
1235 (paintArea): New field. Tracks the dirty area.
1236 (SwingComponentPeer): Removed init of currentPaintEvents.
1237 (coalescePaintEvent): Simplified to only union the dirty regions.
1238 (handleEvent): Paint dirty region that was tracked in paintArea.
1239 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1240 (paintArea): New field. Tracks the dirty region.
1241 (coalescePaintEvent): Implemented to track the dirty region.
1242 (paintComponent): Use the dirty region in paintArea. Protect
1243 state by putting the paint and dispose code in a try-finally.
1244 (updateComponent): Use the dirty region in paintArea. Protect
1245 state by putting the paint and dispose code in a try-finally.
1246
1247 2006-11-29 Roman Kennke <kennke@aicas.com>
1248
1249 * java/awt/font/TextLayout.java
1250 (getVisualHighlightShape): Removed debug output.
1251
1252 2006-11-28 Andrew Haley <aph@redhat.com>
1253
1254 * vm/reference/sun/reflect/misc/ReflectUtil.java
1255 (checkPackageAccess): Implement.
1256
1257 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1258
1259 * native/jni/java-lang/java_lang_VMDouble.c:
1260 (parseDoubleFromChars) New function. Factored out from ...
1261 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1262 (dtoa_toString): New function. Factored out from ...
1263 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1264 Changed conversion mode to 2, as modes 0 and 1 don't round
1265 as the API spec demands. Invoke conversion function as often
1266 as necessary with growing precision until a reversible
1267 representation of the double in form of a string is reached.
1268
1269 2006-11-28 Roman Kennke <kennke@aicas.com>
1270
1271 * javax/swing/JComponent.java
1272 (putClientProperty): Do not fire event when both old and new
1273 value are == null.
1274
1275 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1276
1277 * java/lang/Enum.java:
1278 Make name and ordinal final.
1279
1280 2006-11-27 Casey Marshall <csm@gnu.org>
1281
1282 * java/util/jar/JarEntry.java (certs): removed.
1283 (jarfile): new field.
1284 (getCertificates): read the certificates from the containing JarFile.
1285 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1286 fill in 'certs,' fill in 'jarfile' for the entry.
1287 (getEntry): likewise.
1288
1289 2006-11-27 Francis Kung <fkung@redhat.com>
1290
1291 * java/awt/image/WritableRaster.java
1292 (createChild): Implemented.
1293
1294 2006-11-27 Roman Kennke <kennke@aicas.com>
1295
1296 * java/awt/font/TextLayout.java
1297 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1298 (getVisualHighlightShape): Implemented.
1299 (layoutRuns): Fixed boundary so that the last run is also laid out.
1300 (left): New helper method.
1301 (right): New helper method.
1302
1303 2006-11-27 Roman Kennke <kennke@aicas.com>
1304
1305 * java/awt/font/TextLayout.java
1306 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1307 (getCaretShape(TextHitInfo)): Use natural bounds.
1308 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1309 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1310 above with DEFAULT_CARET_POLICY.
1311 (getCaretShapes(int)): Use natural bounds.
1312
1313 2006-11-27 Roman Kennke <kennke@aicas.com>
1314
1315 * java/awt/font/TextLayout.java
1316 (Run.font): New field.
1317 (Run.location): New field.
1318 (Run.Run): Initialize font.
1319 (font): Removed field. This is moved into Run as the actual font
1320 is something run-specific.
1321 (TextLayout(String,Font,FontRenderContext)): Set font on the
1322 single runs. Layout the runs here.
1323 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1324 (findRunAtIndex): New helper method.
1325 (getCaretInfo): Implemented.
1326 (layoutRuns): New helper method.
1327 (toString): Don't put font in output string.
1328
1329 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1330
1331 * AUTHORS: Added Jeroen Fritjers.
1332
1333 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1334
1335 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1336 for FieldPosition to be null.
1337 Check if the factional part is just 0 and can be omitted from the
1338 result.
1339 (scanNegativePattern): Fixed index out of bound exception when searching
1340 for international currency symbol in negative pattern.
1341
1342 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1343
1344 * java/beans/beancontext/BeanContextSupport.java:
1345 (readObject(ObjectInputStream)): Implemented.
1346 (writeObject(ObjectOutputStream)): Likewise.
1347 (BCSChild.getTargetChild()): Added.
1348 (bcsPreDeserializationHook()): Implemented.
1349 (bcsPreSerializationHook()): Likewise.
1350 (childDeserializedHook(Object,BCSChild)): Likewise.
1351 (isSerializing()): Likewise.
1352 (readChildren(ObjectInputStream)): Likewise.
1353 (writeChildren(ObjectOutputStream)): Likewise.
1354
1355 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1356 Ian Lance Taylor <ian <at> airs.com>
1357 Paolo Bonzini <bonzini <at> gnu.org>
1358
1359 Fixes bug #25557.
1360
1361 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1362 increased portability. Likewise, use -f instead of -e.
1363
1364 2006-11-26 Mark Wielaard <mark@klomp.org>
1365
1366 * lib/Makefile.am (propertydirs): Removed.
1367 (resources): Explicitly create all dirs.
1368
1369 2006-11-26 Mark Wielaard <mark@klomp.org>
1370
1371 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1372
1373 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1374
1375 * native/target/.cvsignore,
1376 native/target/generic/.cvsignore,
1377 native/target/Linux/.cvsignore:
1378 Removed no longer used files.
1379
1380 * native/target: Removed no longer used directory.
1381
1382 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1383
1384 Fixes bug #29133.
1385
1386 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1387 (Java_gnu_java_nio_VMSelector_select):
1388 Use strerror if strerror_r is not available.
1389
1390 Reported by: Michael Franz <mvfranz@gmail.com>,
1391 Riccardo Mottola <zuse@libero.it>
1392
1393 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1394
1395 Fixes bug #26756.
1396
1397 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1398 STRICT_WARNING_CFLAGS since it caused the build to fail
1399 on GNU/Linux.
1400
1401 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1402
1403 * doc/vmintegration.texinfo: Update VM Threading Model section.
1404
1405 2006-11-26 Tom Tromey <tromey@redhat.com>
1406
1407 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1408 include ifaddrs.h.
1409 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1410 conditional.
1411 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1412 Conditionally include ifaddrs.h.
1413 (getif_address): Updated conditional.
1414 (getif_index): Likewise.
1415 * configure.ac: Check for ifaddrs.h.
1416
1417 2006-11-25 Mark Wielaard <mark@klomp.org>
1418
1419 * java/io/File.java (list): Return empty list for unreadable dirs.
1420
1421 2006-11-25 Mark Wielaard <mark@klomp.org>
1422
1423 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1424 Synchronize on font peer.
1425 (setFont): Likewise.
1426 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1427 synchronized.
1428 (getTextMetrics): Likewise.
1429
1430 2006-11-25 Roman Kennke <kennke@aicas.com>
1431
1432 * javax/swing/text/GapContent.java
1433 (getPositionsInRange): Rewritten to use the more efficient
1434 binary search searchFirst() and avoid an NPE that was caused
1435 by GC'ed positions.
1436
1437 2006-11-25 Mark Wielaard <mark@klomp.org>
1438
1439 * javax/swing/text/CompositeView.java (modelToView): Never return
1440 null.
1441
1442 2006-11-25 Mark Wielaard <mark@klomp.org>
1443
1444 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1445 Check whether rowView instanceof RowView.
1446 (updateGrid): Likewise.
1447
1448 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1449
1450 PR28462
1451 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1452 * java/text/NumberFormat.java (format): all format methods, fixed
1453 FieldPosition argument should never be null.
1454 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1455 method is not final.
1456 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1457 locale.
1458 * AUTHORS: added my name to the file.
1459
1460 2006-11-25 Mark Wielaard <mark@klomp.org>
1461
1462 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1463 getChildAllocation() returning null.
1464
1465 2006-11-25 Mark Wielaard <mark@klomp.org>
1466
1467 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1468 Use clazzIndex for id substring.
1469
1470 2006-11-25 Mark Wielaard <mark@klomp.org>
1471
1472 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1473 it is still running.
1474
1475 2006-11-25 Mark Wielaard <mark@klomp.org>
1476
1477 Fixes bug #28822
1478 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1479 CREATE_API_DOCS
1480
1481 2006-11-24 Tania Bento <tbento@redhat.com>
1482
1483 * java/awt/font/TextHitInfo.java
1484 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1485 (beforeOffset): Decreased first parameter by 1.
1486
1487 2006-11-24 Francis Kung <fkung@redhat.com>
1488
1489 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1490 (constructor): Check sample model when setting fastCM flag.
1491 (updateBufferedImage): Check scanline and sample model offsets before
1492 copying data directly into the image data buffer.
1493
1494 2006-11-24 Francis Kung <fkung@redhat.com>
1495
1496 * gnu/java/awt/java2d/QuadSegment.java
1497 (offsetSubdivided): Handle special straight-line cases.
1498
1499 2006-11-24 Roman Kennke <kennke@aicas.com>
1500
1501 * java/awt/dnd/DropTarget.java
1502 (DropTargetAutoScroller.HYSTERESIS): New constant.
1503 (DropTargetAutoScroller.DELAY): New constant.
1504 (DropTargetAutoScroller.inner): New field. A cached
1505 Rectangle instance.
1506 (DropTargetAutoScroller.outer): New field. A cached
1507 Rectangle instance.
1508 (DropTargetAutoScroller.timer): New field. The actual timer.
1509 (DropTargetAutoScroller.DropTargetAutoScroller):
1510 Initialize timer.
1511 (DropTargetAutoScroller.actionPerformed): Implemented.
1512 (DropTargetAutoScroller.stop): Implemented.
1513 (DropTargetAutoScroller.updateLocation): Implemented.
1514 (clearAutoscroll): Stop the autoscroller before nullifying it.
1515 (createDropTargetAutoScroller): Don't set the field here,
1516 only return a new instance.
1517 (dragEnter): Only do something when active. Initialize
1518 auto scrolling.
1519 (dragExit): Only do something when active. Stop auto scrolling.
1520 (dragOver): Only do something when active. Update auto scrolling.
1521 (drop): Only do something when active. Update auto scrolling.
1522 (dropActionChanged): Only do something when active. Update
1523 auto scrolling.
1524 (initializeAutoScrolling): Check if component is an instance
1525 of Autoscroll, otherwise do nothing.
1526 (setActive): Disable autoscrolling when deactivating.
1527 (setComponent): When component is set to null, disable autoscrolling.
1528
1529 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1530
1531 * java/beans/beancontext/BeanContextServicesSupport.java
1532 (getChildBeanContextServicesListener): Implemented.
1533
1534 2006-11-23 Roman Kennke <kennke@aicas.com>
1535
1536 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1537 (createGraphics): Use constructor to create new instance of
1538 BufferedImageGraphics.
1539 * java/awt/Toolkit.java
1540 (getDefaultToolkit): Really try to get a real toolkit. Only
1541 use HeadlessToolkit if no other is available.
1542 * gnu/java/awt/peer/gtk/GtkToolkit.java
1543 (checkHeadless): New helper method. Checks for headless environment
1544 and throws HeadlessException if appropriate.
1545 (createButton): Check for headless.
1546 (createCanvas): Check for headless.
1547 (createCheckbox): Check for headless.
1548 (createCheckboxMenuItem): Check for headless.
1549 (createChoice): Check for headless.
1550 (createDialog): Check for headless.
1551 (createDragGestureRecognizer): Check for headless.
1552 (createDragSourceContextPeer): Check for headless.
1553 (createEmbeddedWindow): Check for headless.
1554 (createFileDialog): Check for headless.
1555 (createFrame): Check for headless.
1556 (createCheckbox): Check for headless.
1557 (createLabel): Check for headless.
1558 (createList): Check for headless.
1559 (createMenu): Check for headless.
1560 (createMenuBar): Check for headless.
1561 (createMenuItem): Check for headless.
1562 (createPanel): Check for headless.
1563 (createPopupMenu): Check for headless.
1564 (createScrollbar): Check for headless.
1565 (createScrollPane): Check for headless.
1566 (createTextArea): Check for headless.
1567 (createTextField): Check for headless.
1568 (createWindow): Check for headless.
1569
1570 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
1571
1572 * java/beans/beancontext/BeanContextSupport.java
1573 (deserialize): Implemented,
1574 (serialize): Implemented.
1575
1576 2006-11-23 Roman Kennke <kennke@aicas.com>
1577
1578 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1579 (createGraphics): Try to use Cairo graphics if available.
1580
1581 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1582
1583 * java/beans/beancontext/BeanContextSupport.java
1584 (toArray): Added API docs,
1585 (toArray(Object[])): Added API docs, removed NotImplementedException.
1586
1587 2006-11-22 Tania Bento <tbento@redhat.com>
1588
1589 * javax/swing/JRootPane.java
1590 (setLayeredPane): Added documentation; throw
1591 IllegalComponentStateException if layered pane parameter is null.
1592
1593 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1594
1595 * java/beans/beancontext/BeanContextSupport.java
1596 (avoidingGui): Removed NotImplementedException.
1597
1598 2006-11-22 Francis Kung <fkung@redhat.com>
1599
1600 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1601 (drawGlyphVector): Clip updated area to glyph bounds.
1602 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1603 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1604 x-coordinate and y-coordinate pixel shifting.
1605 (shifted): Removed method.
1606 (shiftX): New method, recognising scaling transforms.
1607 (shiftY): New method, recognising scaling transforms.
1608 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1609
1610 2006-11-22 Roman Kennke <kennke@aicas.com>
1611
1612 * java/awt/font/TextLayout.java
1613 (hash): New field. Caches the hash code.
1614 (hashCode): Implemented.
1615
1616 2006-11-22 Roman Kennke <kennke@aicas.com>
1617
1618 * java/awt/image/ImageFilter.java
1619 Reformat whole class.
1620 (getFilterInstance): Don't touch the consumer field. Don't check
1621 consumer.
1622 (imageComplete): Don't check consumer.
1623 (setColorModel): Don't check consumer.
1624 (setDimensions): Don't check consumer.
1625 (setHints): Don't check consumer.
1626 (setPixels): Don't check consumer.
1627 (setProperties): Pass the original property too.
1628 * java/awt/image/IndexColorModel.java
1629 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
1630 transparent pixel by calling the new helper method.
1631 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
1632 transparent pixel by calling the new helper method.
1633 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
1634 transparent pixel by calling the new helper method.
1635 (coerceData): Removed. This is not needed.
1636 (getAlpha): Simply return value from color map. The transparent
1637 pixel has to be there.
1638 (setTransparentPixel): New helper method. Inserts the transparent
1639 pixel.
1640 * java/awt/image/RGBImageFilter.java
1641 Reformat whole class.
1642 (convertColorModelToDefault): Removed. No longer needed.
1643 (filterIndexColorModel): Don't handle transparent pixels
1644 separately.
1645 (filterRGBPixels): Set pixels on consumer already.
1646 (makeColor): Removed. No longer needed.
1647 * java/awt/image/ReplicateScaleFilter.java
1648 (replicatePixels): Removed.
1649 (setDimension): Correctly compute destination size, avoid double
1650 calculations.
1651 (setPixels): Avoid double calculations. Fixed some boundary cases.
1652 (setupSources): New helper method.
1653 * java/awt/image/SampleModel.java
1654 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
1655 and TYPE_DOUBLE.
1656 * java/awt/image/SinglePixelPackedSampleModel.java
1657 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
1658 This is not needed as the superclass already copies line
1659 by line.
1660 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
1661 removed some checks that the RI also doesn't perform. Call
1662 DataBuffer.setElem().
1663
1664 2006-11-22 Roman Kennke <kennke@aicas.com>
1665
1666 * java/awt/text/TextLayout.java
1667 (getLogicalRangesForVisualSelection): Implemented.
1668
1669 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1670
1671 * sun/reflect/annotation/AnnotationParser.java,
1672 * sun/reflect/annotation/AnnotationType.java,
1673 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
1674 * sun/reflect/annotation/ExceptionProxy.java:
1675 Stubbed.
1676 * sun/misc/ServiceConfigurationError.java,
1677 * sun/misc/Service.java:
1678 Implemented.
1679
1680 2006-11-21 Roman Kennke <kennke@aicas.com>
1681
1682 * java/awt/text/TextLayout.java
1683 (Run.isLeftToRight): New helper method.
1684 (logicalToVisual): New field. Maps logical indices to visual
1685 indices.
1686 (visualToLogical): New field. Maps visual indices to logical
1687 indices.
1688 (TextLayout): Setup mappings.
1689 (setupMappings): New method for setting up the mappings.
1690 (getCharacterLevel): Reorganized code.
1691 (getNextLeftHit(int)): Implemented.
1692 (getNextLeftHit(int,CaretPolicy)): New method.
1693 (getNextLeftHit(TextHitInfo)): Implemented.
1694 (getNextRightHit(int)): Implemented.
1695 (getNextRightHit(int,CaretPolicy)): New method.
1696 (getNextRightHit(TextHitInfo)): New method.
1697 (getVisualOtherHit): Implemented.
1698 (checkHitInfo): New helper methods for checking parameters.
1699 (hitToCaret): New helper method. Maps hit infos to caret locations.
1700 (caretToHit): New helper method. Maps caret locations to hit infos.
1701 (isCharacterLTR): New helper method.
1702 (CaretPolicy.getStrongCaret): Implemented.
1703
1704 2006-11-21 Francis Kung <fkung@redhat.com>
1705
1706 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1707 (draw): Include stroke width when calculating bounds.
1708 (updateBufferedImage): Round bounds more generously, handle negative
1709 height/width values, and clip more intelligently.
1710 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1711 (createPath): Add shortcut optimization for lines.
1712 (draw): Include stroke width when calculating bounds.
1713 (drawLine): Delegate to main draw() method.
1714 (drawRect): Likewise.
1715 (fillRect): Delegate to main fill() method.
1716 (findStrokedBounds): New method.
1717 (setCustomPaint): Round bounds more generously.
1718 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1719 (drawLine): Removed.
1720 (drawRect): Removed.
1721 (fillRect): Removed.
1722
1723 2006-11-21 Francis Kung <fkung@redhat.com>
1724
1725 * gnu/java/awt/java2d/TexturePaintContext.java
1726 (getRaster): Handle negative coordinate values.
1727 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1728 (setPaint): Moved custom paint processing to a new method.
1729 (setPaintPixels): Added x, y parameters.
1730 (getRealBounds): Added documentation.
1731 (copy): Copy clipping information.
1732 (drawLine): Process custom paints.
1733 (setCustomPaint): New method.
1734 (fill): Process custom paints.
1735 (drawGlyphVector): Process custom paints.
1736 (drawRect): Process custom paints.
1737 (draw): Process custom paints.
1738 * gnu/java/awt/peer/gtk/CairoSurface.java
1739 (cairoCM_opaque): New constant.
1740 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1741 (argb32): Removed constant.
1742 (rgb32): Removed constant.
1743 (BufferedImageGraphics(BufferedImage)): Updated constant names.
1744 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
1745 (updateBufferedImage): Transform to device-space before updating.
1746 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
1747 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
1748 parameters.
1749 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1750 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
1751 source at designated x, y origin.
1752
1753 2006-11-21 Roman Kennke <kennke@aicas.com>
1754
1755 * java/awt/text/TextLayout.java
1756 (Run): New inner helper class.
1757 (length): New field.
1758 (naturalBounds): New field.
1759 (offset): New field.
1760 (runIndices): Removed. This is now encapsulate in a Run object.
1761 (runs): Changed to Run[].
1762 (string): Changed to char[].
1763 (totalAdvance): New field. Caches advance value.
1764 (TextLayout(String,Font,FontRenderContext)): Change to store
1765 string as char[] and run layout as Run[]. Clean out empty
1766 run items.
1767 (TextLayout(TextLayout,int,int)): Change to store
1768 string as char[] and run layout as Run[].
1769 (clone): Call private constructor for maximum efficiency.
1770 (determineWhitespace): Adapted to use char[] data.
1771 (draw): Adapted to use Run objects.
1772 (getAdvance): Cache computed total advance.
1773 (getBlackBoxBounds): Adapted to use Run objects.
1774 (getCaretInfo): Use natural layout bounds.
1775 (getCharacterCount): Return length field.
1776 (getLogicalHighlightShape): Adapted to use Run objects.
1777 (getNaturalBounds): New helper method. Calculates and returns the
1778 natural bounds of this text layout.
1779 (getOutline): Adapted to use Run objects.
1780 (getStringProperties): Adapted to use char[] data.
1781 (getVisibleAdvance): Adapted to use char[] and Run data.
1782 (handleJustify): Adapted to use char[] and Run data.
1783 (hitTestChar(float,float,Rectangle2D)): Implemented.
1784 (hitTestChar(float,float)): Use natural bounds.
1785 (setCharIndices): Adapted to use char[] and Run data.
1786 (toString): Adapted to use char[] and Run data.
1787 * java/text/Bidi.java
1788 (requiresBidi): Exclude paragraph separators from bidi-triggers.
1789
1790 2006-11-21 Roman Kennke <kennke@aicas.com>
1791
1792 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
1793 Removed. This is now an inner class in GdkFontPeer.
1794 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1795 (drawString(float,float)): Use text layout cache from
1796 GdkFontPeer.
1797 (getFontMetrics): Delegate to GdkFontPeer.
1798 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1799 (getGlyphCodes): Also check array size.
1800 (getGlyphPositions): Also check array size.
1801 * gnu/java/awt/peer/gtk/GdkFontPeer.java
1802 (GdkFontLineMetrics.fm): Removed.
1803 (GdkFontLineMetrics.strikeThroughOffset): Removed.
1804 (GdkFontLineMetrics.strikeThroughThickness): Removed.
1805 (GdkFontLineMetrics.underlineOffset): Removed.
1806 (GdkFontLineMetrics.underlineThickness): Removed.
1807 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
1808 FontMetrics argument. Don't init removed fields.
1809 (GdkFontLineMetrics.getAscent): Return font peer's field.
1810 (GdkFontLineMetrics.getDescent): Return font peer's field.
1811 (GdkFontLineMetrics.getHeight): Return font peer's field.
1812 (GdkFontLineMetrics.getLeading): Return font peer's field.
1813 (GdkFontLineMetrics.getNumChars): Reformat.
1814 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
1815 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
1816 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
1817 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
1818 (GdkFontMetrics): Moved class in here as inner class.
1819 Make it use the font peer's fields and for the char(s) width
1820 and string width method, use TextLayout to measure the actual widths.
1821 (ascent): New field.
1822 (bundle): Removed.
1823 (DEFAULT_CTX): New constant field.
1824 (descent): New field.
1825 (FONT_METRICS_ASCENT): New constant.
1826 (FONT_METRICS_DESCENT): New constant.
1827 (FONT_METRICS_HEIGHT): New constant.
1828 (FONT_METRICS_MAX_ADVANCE): New constant.
1829 (FONT_METRICS_MAX_ASCENT): New constant.
1830 (FONT_METRICS_MAX_DESCENT): New constant.
1831 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
1832 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
1833 (height): New field.
1834 (maxAdvance): New field.
1835 (maxAscent): New field.
1836 (maxDescent): New field.
1837 (metrics): New field. Stores a FontMetrics for this font.
1838 (textLayoutCache): New field. Caches TextLayout instances.
1839 (underlineOffset): New field.
1840 (underlineThickness): New field.
1841 (cinit): Don't initialize resource bundle.
1842 (GdkFontPeer): Setup the metrics.
1843 (getFontMetrics): Return stored metrics if possible.
1844 (getLineMetrics): Adapt to new constructor.
1845 (initFont): New helper method.
1846 (setupMetrics): New helper method.
1847 * gnu/java/awt/peer/gtk/GtkToolkit.java
1848 (LRUCache): Made class a static class.
1849 (getFontMetrics): Delegate to GdkFontPeer.
1850 * native/jni/gtk-peer/gdkfont.h
1851 Added new constant defines.
1852 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1853 (getFontMetrics): Rewritten to fetch the font metrics from
1854 FreeType.
1855
1856 2006-11-20 Tania Bento <tbento@redhat.com>
1857
1858 * javax/swing/ButtonGroup.java:
1859 (setSelected): Select the ButtonModel if all conditions
1860 are met.
1861
1862 2006-11-20 Tania Bento <tbento@redhat.com>
1863
1864 * javax/swing/JSlider.java:
1865 (updateLabelUIs): Removed casting.
1866
1867 2006-11-20 Mark Wielaard <mark@klomp.org>
1868
1869 * gnu/java/util/regex/RE.java (messages): Don't initialize.
1870 (bundle): New static final String field.
1871 (getLocalizedMessage): Initialize messages when still null.
1872 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
1873 (set): Use RE.getLocalizedMessage().
1874 (clear): Likewise.
1875 (setLineSeparator): Likewise.
1876
1877 2006-11-20 Roman Kennke <kennke@aicas.com>
1878
1879 * javax/swing/text/html/StyleSheet.java
1880 (linked): New field.
1881 (styleSheet): Replaced by linked.
1882 (addStyleSheet): Use an arraylist for simplicity.
1883 (getRule): Removed useless instantiation.
1884 (getStyleSheets): Convert array list to array.
1885 (removeStyleSheet): Use an arraylist for simplicity.
1886 (resolveStyle): Include styles from linked lists.
1887
1888 2006-11-20 Roman Kennke <kennke@aicas.com>
1889
1890 * javax/swing/text/BoxView.java
1891 (BoxView): Initialize with invalid req's.
1892 (forwardUpdate): Trigger repaint when children changed the
1893 major axis.
1894 (getResizeWeight): Return resizable when the pref differs from
1895 the min or the pref differs from the max size.
1896 (layoutMajorAxis): Actually sum up the preferred sizes.
1897 (paint): Made binary search more robust.
1898 (replace): Let arrays shrink when needed.
1899 (replaceLayoutArray): Let arrays shrink when needed.
1900 (setAxis): Trigger preferenceChanged.
1901 * javax/swing/text/CompositeView.java
1902 (getInsideAllocation): Call insets method to take account
1903 of overriding subclasses.
1904 * javax/swing/text/DefaultStyledDocument.java
1905 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
1906 (ElementBuffer.insertUpdate): Only remove the found element, not
1907 all.
1908 * javax/swing/text/GlyphView.java
1909 (insertUpdate): Pass null in preferenceChanged.
1910 (removeUpdate): Pass null in preferenceChanged.
1911 (changedUpdate): Pass null in preferenceChanged.
1912 * javax/swing/text/Utilities.java
1913 (drawTabbedText): Avoid single calls to charWidth() and instead
1914 call charsWidth() on whole chunks.
1915 * javax/swing/text/html/HTMLDocument.java
1916 (BlockElement.getName): Fall back to super when necessary.
1917 (RunElement.getName): Fall back to super when necessary.
1918 (HTMLReader.MAX_THRESHOLD): New constant field.
1919 (HTMLReader.GROW_THRESHOLD): New constant field.
1920 (HTMLReader.theshold): New field.
1921 (HTMLReader.HTMLReader): Fetch threshold from document.
1922 (HTMLReader.addContent): Sucessivly grow the threshold.
1923 (createLeafElement): Don't create two elemens and don't set
1924 attribute.
1925 * javax/swing/text/html/TableView.java
1926 (RowView.replace): Invalidate grid.
1927 (gridValid): Made package private.
1928 (layoutMinorAxis): Mark all rows as invalid.
1929 (replace): Invalidate grid.
1930
1931 2006-11-20 Roman Kennke <kennke@aicas.com>
1932
1933 * javax/swing/text/AbstractDocument.java
1934 (DefaultDocumentEvent.changes): Changed to be a HashMap.
1935 (DefaultDocumentEvent.modified): Made private.
1936 (DefaultDocumentEvent.THRESHOLD): New constant field.
1937 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
1938 changes table.
1939 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
1940 exceeding threshold.
1941 (DefaultDocumentEvent.getChange): Use iterative approach
1942 when we have no hashmap yet.
1943 (documentCV): Removed.
1944 (numWriters): Renamed from numWritersWaiting.
1945 (createPosition): Reformat.
1946 (getCurrentWriter): Synchronized.
1947 (readLock): Implement more straightforward.
1948 (readUnlock): Implement more straightforward.
1949 (writeLock): Implement more straightforward.
1950 (writeUnlock): Implement more straightforward.
1951 (remove): Write-lock here.
1952 (removeImpl): Don't write-lock here.
1953
1954 2006-11-20 Roman Kennke <kennke@aicas.com>
1955
1956 * javax/swing/JEditorPane.java
1957 (setPage): Set priority on loading thread.
1958
1959 2006-11-20 Roman Kennke <kennke@aicas.com>
1960
1961 * javax/swing/plaf/basic/BasicTextUI.java
1962 (RootView.paint): Avoid allocation.
1963 (cachedInsets): New field. Caches an Insets instance.
1964 (getNextVisualPositionFrom): Read-lock the document to avoid
1965 thread nastiness. Push allocation.
1966 (getPreferredSize): Push fake allocation when not yet laid out.
1967 (getVisibleEditorRect): Use cached insets.
1968 (viewToModel): Read-lock the document to avoid
1969 thread nastiness. Push allocation.
1970
1971 2006-11-20 Roman Kennke <kennke@aicas.com>
1972
1973 * javax/swing/text/StyleContext.java
1974 (attributeSetPool): Synchronize this map.
1975 (addAttribute): Synchronize this method.
1976 (addAttributes: Synchronize this method.
1977 (readObject): Install synchronized map on target object.
1978 (removeAttribute): Synchronize this method.
1979 (removeAttributes): Synchronize this method.
1980 (removeAttributes): Synchronize this method.
1981
1982 2006-11-20 Roman Kennke <kennke@aicas.com>
1983
1984 * javax/swing/text/GapContent.java
1985 (GapContentPosition.GapContentPosition): Removed constructor.
1986 (Mark): Made subclass of WeakReference to refer directly to
1987 the associated position.
1988 (Mark.refCount): Removed.
1989 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
1990 New constructor. Used to reference a position and register the
1991 reference queue.
1992 (Mark.Mark(index)): Call super and don't adjust mark offset.
1993 (Mark.compareTo): Removed.
1994 (Mark.equals): Removed.
1995 (Mark.getOffset): Return at least null. Removed assert.
1996 (Mark.getPosition): New helper method.
1997 (garbageMarks): New field.
1998 (positions): Removed.
1999 (searchMark): New field.
2000 (GapContent): Removed init of positions map.
2001 (addImpl): New helper method.
2002 (adjustPositionsInRange): Removed.
2003 (compare): New helper method.
2004 (createPosition): Rewritten for new datastructures. This now
2005 performs a much more efficient binary search for finding
2006 a position at the requested offste.
2007 (garbageCollect): Rewritten to collect unused marks.
2008 (getPositionsInRange): Adjusted for new data structures.
2009 (removeImpl): New helper method.
2010 (replace): Use new addImpl() and removeImpl() helper method for
2011 correctly adjusting the positions and gap.
2012 (search): Rewritten. Implements a more suitable binary search.
2013 (searchFirst): New helper method.
2014 (setPositionsInRange): Removed.
2015 (shiftEnd): Update the marks here.
2016 (shiftGap): Update the marks here.
2017 (shiftGapEndUp): Update the marks here.
2018 (shiftGapStartDown): Update the marks here.
2019
2020 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2021
2022 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2023 digest algorithm implementations.
2024 (readSignatures): Parse the manifest once and reuse that data.
2025 Add support for line breaks.
2026 (verifyHashes): Use the parsed manifest entry.
2027 (readManifestEntry): Removed.
2028
2029 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2030
2031 * java/beans/beancontext/BeanContextServicesSupport.java:
2032 Added more documentation.
2033 (addService(Class,BeanContextServiceProvider,boolean)):
2034 Synchronized over global hierarchy lock.
2035 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2036 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2037 (childJustRemovedHook(Object,BCSChild)): Implemented.
2038 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2039 Implemented.
2040 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2041 Added revocation-only listeners.
2042 (getBeanContextServicesPeer()): Implemented.
2043 (getCurrentServiceClasses(Class)): Synchronized over global
2044 hierarchy lock.
2045 (getCurrentServiceSelectors(Class)): Synchronized over global
2046 hierarchy lock, and fixed FIXME.
2047 (getService(BeanContextChild,Object,Class,Object,
2048 BeanContextServiceRevokedListener)): Implemented.
2049 (hasService(Class)): Synchronized over global hierarchy lock.
2050 (releaseService(BeanContextChild,Object,Object)): Implemented.
2051 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2052 * java/beans/beancontext/BeanContextSupport.java:
2053 (remove(Object, boolean)): Documentation correction.
2054
2055 2006-11-19 Roman Kennke <kennke@aicas.com>
2056
2057 * javax/swing/JEditorPane.java
2058 (PageStream): New inner class.
2059 (PageLoader): New inner class.
2060 (loading): New field.
2061 (setPage): Implemented asynchronous loading.
2062 * javax/swing/text/DefaultStyledDocument.java
2063 (ElementBuffer.create): New helper method.
2064 (create): Use new ElementBuffer method instead of hack.
2065 * javax/swing/text/html/HTMLDocument.java
2066 (HTMLReader.flushImpl): New helper method.
2067 (HTMLReader.addContent): Use flushImpl().
2068 (HTMLReader.blockClose): Added null check.
2069 (HTMLReader.flush): Use flushImpl().
2070 * javax/swing/text/html/HTMLEditorKit.java
2071 (createDefaultDocument): Set load priority to 4 and token threshold
2072 to 100.
2073 * javax/swing/text/html/TableView.java
2074 (insertUpdate): Overridden to provide correct view factory.
2075 (removeUpdate): Overridden to provide correct view factory.
2076 (changedUpdate): Overridden to provide correct view factory.
2077
2078 2006-11-19 Roman Kennke <kennke@aicas.com>
2079
2080 * javax/swing/text/BoxView.java
2081 (clipRect): New field.
2082 (tmpRect): New field.
2083 (layout): Reorganized code. Now uses layoutAxis() helper method.
2084 (layoutAxis): New helper method.
2085 (paint): Optimized by using cached Rectangle objects and
2086 a binary search for child views inside the clip.
2087 * javax/swing/text/CompositeView.java
2088 (insideAllocation): Made private and initialized in constructor.
2089 (getInsideAllocation): Removed initialization block for
2090 insideAllocation field. Avoid unnecessary allocations.
2091 * javax/swing/text/GlyphView.java
2092 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2093 The remaining stuff (background, underline and striking) is
2094 done in the GlpyhView itself. Avoid unnecessary allocations.
2095 (cached): A cached Segment instance.
2096 (getText): Return cached segment.
2097 (paint): Paint underline, strike and background here. Avoid
2098 unecessary allocs.
2099
2100 2006-11-19 Roman Kennke <kennke@aicas.com>
2101
2102 * javax/swing/text/html/StyleSheet.java
2103 (getFontSize): Removed debug output.
2104 (ListPainter.tmpRect): New field.
2105 (ListPainter.paint): Align bullet vertically centered to
2106 the first line of the paragraph.
2107
2108 2006-11-17 Roman Kennke <kennke@aicas.com>
2109
2110 * gnu/javax/swing/text/html/css/CSSParser.java
2111 (parseDeclaration): Trim string before reporting.
2112 * gnu/javax/swing/text/html/css/FontSize.java
2113 (size): New field.
2114 (isRelative): New field.
2115 (sizeIndex): New field.
2116 (FontSize): Initialize new fields.
2117 (getValue): Changed to call getValue(int).
2118 (getValue(int)): New method. Implements relative font sizes.
2119 (isRelative): New method.
2120 (mapAbsolute): Store index.
2121 (mapEM): New helper method.
2122 (mapLarger): New helper method.
2123 (mapPercent): New helper method.
2124 (mapRelative): New helper method.
2125 (mapSmaller): New helper method.
2126 (mapValue): New helper method.
2127 * javax/swing/text/html/CSS.java
2128 (parseBackgroundShorthand): Create CSSColor directly.
2129 * javax/swing/text/html/StyleSheet.java
2130 (addRule): Invalidate resolved styles.
2131 (getFont): Call new getFontSize() method to resolve relative
2132 font sizes.
2133 (getFontSize): New helper method. Resolves relative font sizes.
2134 (translateHTMLToCSS): Create CSS objects directly.
2135
2136 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2137
2138 * gnu/java/util/regex/RETokenNamedProperty.java:
2139 (getHandler(String)): Add support for 'all'.
2140
2141 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2142
2143 * gnu/javax/management/Server.java:
2144 Initial implementation of a GNU management server.
2145 * javax/management/MBeanPermission.java,
2146 * javax/management/MBeanRegistration.java,
2147 * javax/management/MBeanTrustPermission.java:
2148 Implemented.
2149
2150 2006-11-17 Mark Wielaard <mark@klomp.org>
2151
2152 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2153
2154 2006-11-17 Gary Benson <gbenson@redhat.com>
2155
2156 * java/net/DatagramSocket.java (getLocalAddress, connect,
2157 receive): Perform security check on address not hostname.
2158
2159 2006-11-16 Roman Kennke <kennke@aicas.com>
2160
2161 * gnu/javax/swing/text/html/parser/support/Parser.java
2162 (_handleText): Fixed condition for consuming whitespace.
2163 Removed validator check, this is superfluous now.
2164
2165 2006-11-16 Roman Kennke <kennke@aicas.com>
2166
2167 * gnu/javax/swing/text/html/css/CSSParser.java
2168 (parseRuleset): Support 'combined' selectors.
2169 (main): Adapt callback for combined selectors support.
2170 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2171 (startStatement): Take selector array as argument, to
2172 support combined selectors.
2173 * javax/swing/text/html/BlockView.java
2174 (calculateMinorAxisRequirements): Fetch and apply alignment.
2175 * javax/swing/text/html/StyleSheet.java
2176 (CSSStyle): Inverted the constants for correct precedence.
2177 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2178 styles.
2179 (CSSStyleSheetParserCallback.style): Removed.
2180 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2181 (CSSStyleSheetParserCallback.end): Push multiple styles.
2182 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2183
2184 2006-11-16 Roman Kennke <kennke@aicas.com>
2185
2186 * javax/swing/text/FlowView.java
2187 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2188 * javax/swing/text/GlyphView.java
2189 (tabExpander): New field.
2190 (tabX): New field.
2191 (breakView): Set tabX on broken view.
2192 (getPartialSpan): Let the painter fetch the span.
2193 (getTabbedSpan): Update the tab expander field. Maybe trigger
2194 relayout.
2195 (getTabExpander): Simply return the stored expander.
2196 * javax/swing/text/Utilities.java
2197 (getTabbedTextOffset): Made algoritm a little smarter and more
2198 efficient.
2199 (getTabbedTextWidth): Don't add single char widths, instead add
2200 chunks of characters.
2201 * javax/swing/text/html/ParagraphView.java
2202 (calculateMinorAxisRequirements): Adjust margin only when the
2203 CSS span is not fixed.
2204
2205 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2206
2207 * java/beans/beancontext/BeanContextSupport.java
2208 (getChildBeanContextMembershipListener): Implemented,
2209 (getChildPropertyChangeListener): Implemented,
2210 (getChildSerializable): Implemented,
2211 (getChildVetoableChangeListener): Implemented,
2212 (getChildVisibility): Implemented,
2213 (setDesignTime): Use same property name as Sun's implementation.
2214
2215 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2216
2217 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2218 * java/beans/Statement.java
2219 (toString): Updated to match reference implementation.
2220
2221 2006-11-15 Roman Kennke <kennke@aicas.com>
2222
2223 * javax/swing/text/html/HTMLEditorKit.java
2224 (InsertHTMLTextAction.actionPerformed): Also try inserting
2225 the alternate tag. Adjust the selection accordingly.
2226 (InsertHTMLTextAction.adjustSelection): New helper method.
2227 Adjusts the selection after an insertion.
2228 (insertAtBoundary): Delegate to deprecated method.
2229 (insertAtBoundry): Implemented missing method.
2230 (tryInsert): New helper method.
2231 (defaultActions): Implemented to fill the array with
2232 a couple of InsertHTMLTextActions.
2233
2234 2006-11-15 Roman Kennke <kennke@aicas.com>
2235
2236 * javax/swing/text/html/ImageView.java
2237 (Observer): New class. Observes image loading.
2238 (haveHeight): New field.
2239 (haveWidth): New field.
2240 (height): New field.
2241 (width): New field.
2242 (image): New field.
2243 (imageIcon): New field.
2244 (loading): New field.
2245 (observer): New field.
2246 (reloadImage): New field.
2247 (reloadProperties): New field.
2248 (ImageView): Initialize observer and some flags.
2249 (getImage): Update the image state and return the image.
2250 (loadImage): New helper method. Actually starts loading.
2251 (paint): Rewritten to paint the image directly, not via Icon.
2252 (reloadImage): Rewritten. Loads the image and its properties.
2253 (renderIcon): Removed. No more necessary.
2254 (setPropertiesFromAttributes): Don't nullify image here.
2255 Added comment about missing impl.
2256 (setSize): Added comment about missing impl.
2257 (updateSize): New helper method. Updates the size attributes.
2258 (updateState): New helper method. Makes sure the image
2259 and its properties are valid.
2260
2261 2006-11-15 Roman Kennke <kennke@aicas.com>
2262
2263 * gnu/javax/swing/text/html/parser/support/Parser.java
2264 (_handleEndTag_remaining): Consume whitespace after a closing
2265 block like tag.
2266
2267 2006-11-15 Roman Kennke <kennke@aicas.com>
2268
2269 * javax/swing/text/html/HTMLDocument.java
2270 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2271 directly.
2272 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2273 directly.
2274 (HTMLReader.parseStack): Removed.
2275 (HTMLReader.blockClose): Simply call addContent() with ' '
2276 instead of doing more complicated stuff. Removed parseStack
2277 handling.
2278 (HTMLReader.blockOpen): Removed parseStack handling.
2279 (getInsertingReader): Removed parseStack init.
2280 * gnu/javax/swing/text/html/parser/htmlValidator.java
2281 (closeTag): Return true only when the tag actually should be
2282 closed.
2283 * gnu/javax/swing/text/html/parser/support/Parser.java
2284 (_handleEndTag): Only actually close the tag when the validator
2285 allows it.
2286
2287 2006-11-15 Roman Kennke <kennke@aicas.com>
2288
2289 * javax/swing/text/html/CSS.java
2290 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2291 attribute.
2292 * javax/swing/text/html/StyleSheet.java
2293 (BoxPainter.bottomPadding): New field.
2294 (BoxPainter.leftPadding): New field.
2295 (BoxPainter.rightPadding): New field.
2296 (BoxPainter.topPadding): New field.
2297 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2298 too.
2299 (BoxPainter.getInset): Recognize and include the padding.
2300 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2301 javax/swing/text/html/TableView.java
2302 (RowView.calculateMajorAxisRequirements): Adjust req's for
2303 cellSpacing.
2304 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2305 (cellSpacing): New field.
2306 (columnRequirements): Made package private to avoid accessor method.
2307 (calculateMinorAxisRequirements): Include cellSpacing.
2308 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2309 (layoutMajorAxis): Likewise.
2310 (layoutColumns): Respect cellSpacing.
2311 (setParent): Overridden to fetch the CSS attributes when view gets
2312 connected.
2313 (setPropertiesFromAttributes): New method. Fetches the cell
2314 spacing from the CSS attributes.
2315
2316 2006-11-15 Roman Kennke <kennke@aicas.com>
2317
2318 * gnu/javax/swing/text/html/parser/support/Parser.java
2319 (_handleText): Consume whitespace directly before a closing tag.
2320 (restOfTag): Consume whitespace directly after opening.
2321 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2322 (preprocess): Don't perform array boundary checking by
2323 catch AIOOBE, instead check the boundary in loop condition.
2324 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2325 (TAG_CLOSE): New constants. Describes the token pattern for
2326 a closing tag.
2327
2328 2006-11-14 Roman Kennke <kennke@aicas.com>
2329
2330 * javax/swing/text/html/ImageView.java
2331 (getPreferredSpan): Use CSS length values.
2332 * javax/swing/text/html/TableView.java
2333 (CellView.calculateMajorAxisRequirements): Overridden to
2334 set the maximum reqs to maximum.
2335 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2336 span to maximum.
2337 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2338 the total column reqs.
2339 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2340 the total column reqs.
2341 * gnu/javax/swing/text/html/css/CSSColor.java
2342 (convertValue): Catch NumberFormatExceptions for more robustness.
2343 * gnu/javax/swing/text/html/css/FontSize.java
2344 (mapPixels): Actually map px values. Catch NFE for more robustness.
2345
2346 2006-11-14 Roman Kennke <kennke@aicas.com>
2347
2348 * gnu/java/awt/font/autofit/AxisHints.java,
2349 * gnu/java/awt/font/autofit/Constants.java,
2350 * gnu/java/awt/font/autofit/GlyphHints.java,
2351 * nu/java/awt/font/autofit/Latin.java,
2352 * nu/java/awt/font/autofit/LatinAxis.java,
2353 * gnu/java/awt/font/autofit/LatinMetrics.java,
2354 * gnu/java/awt/font/autofit/Scaler.java,
2355 * gnu/java/awt/font/autofit/Script.java,
2356 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2357 * gnu/java/awt/font/autofit/Segment.java,
2358 * gnu/java/awt/font/autofit/Width.java:
2359 New classes. This is some skeleton stuff for the FreeType-alike
2360 auto-gridfitter.
2361 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2362 * gnu/java/awt/font/opentype/OpenTypeFont.java
2363 (unitsPerEm): Made field public.
2364 (getRawGlyphOutline): New method. Fetches the raw outline.
2365 * gnu/java/awt/font/opentype/Scaler.java
2366 (getRawGlyphOutline): New method. Fetches the raw outline.
2367 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2368 (loadGlyph): New method. This is used to load raw outlines.
2369 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2370 (getRawOutline): New method. Fetches the raw outline.
2371 * gnu/java/awt/font/opentype/truetype/Zone.java:
2372 Made class public.
2373
2374 2006-11-14 Roman Kennke <kennke@aicas.com>
2375
2376 * javax/swing/RepaintManager.java
2377 (RepaintManager): Fetch the default state for the double buffering
2378 from a system property gnu.swing.doublebuffering.
2379
2380 2006-11-14 Roman Kennke <kennke@aicas.com>
2381
2382 * javax/swing/plaf/basic/BasicLabelUI.java
2383 (cachedInsets): New field.
2384 (getFontMetrics): New helper method. Fetches the font metrics
2385 from the component or the toolkit.
2386 (getPreferredSize): Use getFontMetrics() helper method for
2387 fetching the font metrics.
2388 (paint): Use getFontMetrics() helper method for
2389 fetching the font metrics. Only paint if icon or text
2390 are != null. Use cached insets.
2391 (paintDisabledText): Don't store/restore color object. The
2392 JComponent painting mechanism takes care of this by calling
2393 create().
2394 (paintEnabledText): Don't store/restore color object. The
2395 JComponent painting mechanism takes care of this by calling
2396 create().
2397
2398 2006-11-14 Roman Kennke <kennke@aicas.com>
2399
2400 * gnu/java/awt/peer/GLightweightPeer.java
2401 (handleEvent): Try to do something reasonable and trigger painting
2402 for the lightweight component.
2403 (getFontMetrics): Fetch and return a font metrics object from
2404 the Toolkit.
2405
2406 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2407
2408 * gnu/java/util/regex/RETokenNamedProperty.java:
2409 (getHandler(String)): Add support for 'all'.
2410
2411 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2412
2413 * AUTHORS: Add myself.
2414
2415 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2416
2417 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2418 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2419 Roman Kennke's entry.
2420
2421 2006-11-13 Roman Kennke <kennke@aicas.com>
2422
2423 * java/awt/image/IndexColorModel.java
2424 (createCompatibleSampleModel): Implemented missing method.
2425
2426 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2427
2428 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2429 from big endian systems correctly.
2430
2431 2006-11-11 Roman Kennke <kennke@aicas.com>
2432
2433 * gnu/javax/swing/text/html/css/CSSColor.java
2434 (isValidColor): New helper method. Checks strings if they
2435 form a valid color value.
2436 * gnu/javax/swing/text/html/css/Length.java
2437 (Length): Catch number format exceptions.
2438 * javax/swing/text/html/CSS.java
2439 (addInternal): New method. Checks for shorthand CSS attributes
2440 and parses them.
2441 (parseBackgroundShorthand): New method. Parses the background
2442 shorthand attribute.
2443 * javax/swing/text/html/HTMLDocument.java
2444 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2445 (HTMLReader.LinkAction.start): Implemented to load the linked
2446 stylesheet.
2447 (HTMLReader.LinkAction.end): Removed. This is not needed.
2448 * javax/swing/text/html/StyleSheet.java
2449 (CSSStyleSheetParserCallback.declaration): Push declaration
2450 through CSS.addInternal() to parse shorthand attributes.
2451 (addCSSAttribute): Push declaration through CSS.addInternal()
2452 to parse shorthand attributes.
2453 (importStyleSheet): Implemented. This adds a stylesheet from
2454 an URL.
2455 * javax/swing/text/html/TableView.java
2456 (calculateColumnRequirements): Increase column index for
2457 non CellView children to avoid endless loop.
2458 * javax/swing/text/CompositeView.java
2459 (setParent): Comparen with numChildren not with real arraylength.
2460
2461 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2462
2463 * java/beans/beancontext/BeanContextSupport.java
2464 (getChildBeanContextChild): Implemented.
2465
2466 2006-11-10 Roman Kennke <kennke@aicas.com>
2467
2468 * javax/swing/text/View.java
2469 (updateLayout): Only repaint when needed.
2470
2471 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2472
2473 * java/util/Collections.java
2474 (sort(List)): Minor API doc addition,
2475 (sort(List, Comparator)): Likewise.
2476
2477 2006-11-10 David Fu <fchoong@netbeans.jp>
2478
2479 * javax/swing/text/html/HTMLWriter.java
2480 (traverse): Removed Classpath specific handling of implied
2481 tags.
2482 (traverseHtmlFragment): Removed Classpath specific handling of
2483 implied tags.
2484
2485 2006-11-10 Roman Kennke <kennke@aicas.com>
2486
2487 * javax/swing/text/ParagraphView.java
2488 (Row.getMaximumSize): Removed. This method is not necessary.
2489 * javax/swing/text/html/TableView.java
2490 (CellView): Moved attribute init to setPropertiesFromAttributes().
2491 (setPropertiesFromAttributes): Fetch attributes here.
2492 (RowView.RowView): Documented.
2493 (RowView.getMaximumSpan): Overridden to restrict the max span
2494 in the Y direction.
2495 (RowView.layoutMajorAxis): Correctly layout the spans.
2496 (columnWidths): New field. Stores the width attributes of
2497 the columns.
2498 (calculateColumnRequirements): Added support for relative
2499 (== percent) width attributes.
2500 (calculateMajorAxisRequirements): Removed.
2501 (calculateMinorAxisRequirements): Removed unnecessary code.
2502 (getMaximumSpan): Overridden to restrict the table's width.
2503 (layoutColumns): Documented. Implement more clever table layout,
2504 i.e. for relative columns etc.
2505 (layoutMinorAxis): Don't mark rows invalid.
2506 (updateGrid): Added docs. Initialize column widths.
2507
2508 2006-11-09 Roman Kennke <kennke@aicas.com>
2509
2510 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2511 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2512 Implement basic headless toolkit.
2513 * java/awt/Toolkit.java
2514 (getDefaultToolkit): Check headless property and create
2515 headless toolkit when true.
2516
2517 2006-11-09 Ingo Proetel <proetel@aicas.com>
2518 2006-11-09 Roman Kennke <kennke@aicas.com>
2519
2520 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2521 (SwingButton.button): New field.
2522 (SwingButton.SwingButton): Added constructor.
2523 (SwingButton.isShowing): Access button field instead of
2524 the surrounding class.
2525 (SwingButton.getParent): Access button field instead of
2526 the surrounding class.
2527 (SwingButtonPeer): Call new SwingButton constructor.
2528 * gnu/java/awt/peer/swing/SwingComponent.java:
2529 Several documentation updates.
2530 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2531 (currentPaintEvents): New field.
2532 (peerFont): New field.
2533 (SwingComponentPeer): Initialize currentPaintEvents fields.
2534 (coalescePaintEvents): Implemented.
2535 (dispose): Unregister peer from heavyweight list of its container.
2536 (getGraphics): Fetch graphics from parent component.
2537 (handleEvent): Discard paint event if its coalesced.
2538 (init): Register component with its container for proper painting.
2539 (paint): Call peerPaint().
2540 (peerPaint): Added argument that indicates if we should update.
2541 Call paint or update on the actual AWT component.
2542 (peerPaintComponent): New method. Paints the peer (Swing) component.
2543 (setFont): Set peerFont field.
2544 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2545 (backbuffer): New field.
2546 (focusOwner): New field.
2547 (heavyweightDescendents): New field.
2548 (SwingContainerPeer): Take Container as argument. Don't call init
2549 yet.
2550 (addHeavyweightDescendent): New method.
2551 (getFocusOwner): New helper method.
2552 (getInsets): Delegate to insets().
2553 (handleKeyEvent): Dispatch event to focus owner.
2554 (handleMouseEvent): Dispatch to child component.
2555 (isDoubleBuffering): New helper method.
2556 (peerPaint): Overridden to implement container painting with
2557 double buffering.
2558 (peerPaintChildren): New method. Paints the descendents of this
2559 container.
2560 (removeHeavyweightDescendent): New helper method.
2561 * gnu/java/awt/peer/swing/SwingFramePeer.java
2562 (peerPaint): Removed.
2563 (peerPaintComponent): Overridden to paint the menu bar.
2564 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2565 (SwingLabel.label): New field.
2566 (SwingLabel.SwingLabel): Added constructor with Label argument.
2567 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2568 the actual AWT component.
2569 (SwingLabel.getParent): Implemented to fetch the parent from
2570 the AWT component.
2571 (SwingLabel.isShowing): Access the label field.
2572 (SwingLabelPeer): Set alignment from label.
2573 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2574 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2575 fixlet.
2576 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2577 Don't be a lighweight peer.
2578 (SwingPanelPeer): Call init.
2579 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2580 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2581 (SwingTextField.textField): New field.
2582 (SwingTextField.SwingTextField): New constructor.
2583 (SwingTextField.isShowing): Access field not enclosing class.
2584 (SwingTextField.getGraphics): New method.
2585 (SwingTextField.getParent): New method.
2586 (SwingTextFieldPeer): Call new constructor.
2587 (select): Renamed arguments.
2588 * gnu/java/awt/peer/swing/SwingWindowPeer.java
2589 (SwingWindowPeer): Call init.
2590
2591 2006-11-09 Tania Bento <tbento@redhat.com>
2592
2593 * javax/swing/JLabel.java
2594 (JLabel(Icon)): Changed documentation; Changed text to null.
2595 (JLabel(Icon,int)): Likewise.
2596 (JLabel(text)): Changed documenation.
2597 (JLabel(text,int)): Likewise.
2598 (JLabel(text,Icon,int)): Changed documentation; Throw
2599 IllegalArgumentException if int is not one of LEFT, RIGHT,
2600 CENTER, LEADING or TRAILING.
2601
2602 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2603
2604 * java/beans/beancontext/BeanContextSupport.java
2605 (BeanContextSupport): Use correct dtime default,
2606 (BeanContextSupport(BeanContext)): Likewise,
2607 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2608 locale argument,
2609 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2610 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2611
2612 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2613
2614 * java/beans/beancontext/BeanContextSupport.java
2615 (getBeanContextPeer): Implemented.
2616
2617 2006-11-09 Roman Kennke <kennke@aicas.com>
2618
2619 * javax/swing/text/html/BlockView.java
2620 (cssHeight): Removed.
2621 (cssWidth): Removed.
2622 (cssSpans): New field. Replaces the two fields above.
2623 (BlockView): Allocate cssSpans array.
2624 (layoutMinorAxis): Fetch and use child span, not this view's span.
2625 (setCSSSpan): Adjusted to use cssSpans array.
2626 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
2627
2628 2006-11-09 Roman Kennke <kennke@aicas.com>
2629
2630 * javax/swing/text/html/InlineView.java
2631 (nowrap): New field.
2632 (getBreakWeight): Add support for nowrap.
2633 (setPropertiesFromAttributes): Fetch the nowrap setting.
2634
2635 2006-11-09 Roman Kennke <kennke@aicas.com>
2636
2637 * gnu/javax/swing/text/html/css/CSSParser.java
2638 (parseRuleset): Use new Selector class.
2639 (parseValue): Parse multiple anys, not only one.
2640 (main): Allow stylesheet be specified on the command line.
2641 Use new Selector class.
2642 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2643 (startStatement): Use Selector class.
2644 * gnu/javax/swing/text/html/css/CSSScanner.java
2645 (readName): Actually read a character in the loop to avoid
2646 endless loop.
2647 * gnu/javax/swing/text/html/css/Length.java
2648 (getValue): Only multiply when we have a percentage value.
2649 * gnu/javax/swing/text/html/css/Selector.java:
2650 New class. Provides handling of CSS selectors.
2651 * javax/swing/text/html/StyleSheet.java
2652 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
2653 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
2654 (CSSStyle.PREC_NORM): New constant field.
2655 (CSSStyle.PREC_UA): New constant field.
2656 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
2657 (CSSStyle.precedence): New field.
2658 (CSSStyle.priority): Removed.
2659 (CSSStyle.selector): New field.
2660 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
2661 and precendence.
2662 (CSSStyle.compareTo): Adjusted to use the precedence and
2663 specificity of the selector.
2664 (CSSStyleSheetParserCallback.precedence): New field.
2665 (CSSStyleSheetParserCallback.selector): Removed.
2666 (CSSStyleSheetParserCallback.style): New field.
2667 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
2668 Initialize with precedence.
2669 (CSSStyleSheetParserCallback.declaration): Don't look up
2670 existing rule, simply create new one.
2671 (CSSStyleSheetParserCallback.endStatement): Append style
2672 to stylesheet.
2673 (CSSStyleSheetParserCallback.startStatement): Use new Selector
2674 class.
2675 (css): Changed to be ArrayList.
2676 (addRule): Create parser with author-normal precendence.
2677 (getRule): Fixed implementation.
2678 (loadRules): Create parser with UA precendence.
2679 (resolveStyle): Use Selector class for resolving and matching
2680 stylesheet rules.
2681 (translateHTMLToCSS): Added mappings for a couple of HTML
2682 attributes.
2683
2684 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2685
2686 Fixes bug #29770
2687 * java/beans/SimpleBeanInfo.java
2688 (loadImage): Check for nulls.
2689
2690 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2691
2692 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2693 (getpeername): Added 16 byte offset to memcpy operation.
2694
2695 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2696
2697 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2698 (getsockname): Added 16 byte offset to memcpy operation.
2699
2700 2006-11-08 Mark Wielaard <mark@klomp.org>
2701
2702 Fixes bug #29754
2703 * java/io/OutputStreamWriter.java
2704 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
2705 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2706
2707 2006-11-08 Roman Kennke <kennke@aicas.com>
2708
2709 * javax/swing/text/html/HTMLEditorKit.java
2710 (getParser): Use plain HTML_401F DTD.
2711 * javax/swing/text/html/HTMLDocument.java
2712 (HTMLReader.print): Removed method and all calls to it.
2713 (HTMLReader.printBuffer): Removed method and all calls to it.
2714 (HTMLReader.inImpliedParagraph): New field.
2715 (HTMLReader.inParagraph): New field.
2716 (HTMLReader.addContent): Create implied p-tag if necessary.
2717 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
2718 (HTMLReader.blockClose): Close implied p-tag if necessary.
2719 (HTMLReader.blockOpen): Close implied p-tag if necessary.
2720 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
2721
2722 2006-11-08 Roman Kennke <kennke@aicas.com>
2723
2724 * javax/swing/text/html/HTMLEditorKit.java
2725 (HTMLFactory.create): Removed mapping for TD tag. This
2726 is done in TableView.
2727 * javax/swing/text/html/TableView.java:
2728 Implemented from scratch.
2729
2730 2006-11-07 Roman Kennke <kennke@aicas.com>
2731
2732 * gnu/javax/swing/text/html/parser/support/Parser.java
2733 (_handleText): Check if text content is actually allowed before
2734 passing empty text fragments on to the parser callbacks.
2735
2736 2006-11-07 Mark Wielaard <mark@klomp.org>
2737
2738 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
2739 path.
2740 (flat): New method.
2741
2742 2006-11-07 Tania Bento <tbento@redhat.com>
2743
2744 * java/awt/FlowLayout.java
2745 (getSize): If parent does not have a component, then a
2746 different formula is used to calcuate the width.
2747
2748 2006-11-07 Roman Kennke <kennke@aicas.com>
2749
2750 * javax/swing/text/html/HTMLEditorKit.java
2751 (HTMLFactory.create): Include ListView.
2752 * javax/swing/text/html/ListView.java
2753 (paint): Removed comment.
2754 * javax/swing/text/html/StyleSheet.java
2755 (CSSStyle.priority): New field.
2756 (CSSStyle.CSSStyle(int)): New constructor with priority.
2757 (CSSStyle.compareTo): New method. Used for sorting the styles.
2758 (CSSStyleSheetParserCallback.declaration): Store the style
2759 with the complete selector.
2760 (ListPainter.attributes): Renamed as field.
2761 (ListPainter.styleSheet): New field.
2762 (ListPainter.type): New field.
2763 (ListPainter.ListPainter): Pass StyleSheet to constructor.
2764 (ListPainter.paint): Provide simplistic implementation.
2765 (getListPainter): Pass StyleSheet to constructor.
2766 (resolveStyle): Fixed CSS style resolving.
2767
2768 2006-11-07 Roman Kennke <kennke@aicas.com>
2769
2770 * gnu/javax/swing/text/html/css/BorderWidth.java:
2771 New class. Handles CSS border width values.
2772 * gnu/javax/swing/text/html/css/Length.java
2773 (floatValue): Made protected so that BorderWidth can access it.
2774 * javax/swing/text/html/CSS.java
2775 (Attribute.BORDER_BOTTOM_COLOR): New static field.
2776 (Attribute.BORDER_BOTTOM_STYLE): New static field.
2777 (Attribute.BORDER_LEFT_COLOR): New static field.
2778 (Attribute.BORDER_LEFT_STYLE): New static field.
2779 (Attribute.BORDER_RIGHT_COLOR): New static field.
2780 (Attribute.BORDER_RIGHT_STYLE): New static field.
2781 (Attribute.BORDER_TOP_COLOR): New static field.
2782 (Attribute.BORDER_TOP_STYLE): New static field.
2783 (getValue): Added some mappings for the border color and
2784 border width values.
2785 * javax/swing/text/html/CSSBorder.java: New class. Implements
2786 CSS borders.
2787 * javax/swing/text/html/StyleSheet.java
2788 (BoxPainter.background): New field.
2789 (BoxPainter.border): New field.
2790 (BoxPainter.bottomInset): Documented.
2791 (BoxPainter.leftInset): Documented.
2792 (BoxPainter.rightInset): Documented.
2793 (BoxPainter.topInset): Documented.
2794 (BoxPainter.BoxPainter): Added support for borders and background.
2795 (BoxPainter.getInset): Add border insets.
2796 (BoxPainter.paint): Implemented. Paints the background and the
2797 CSS border.
2798 (addRule): Be less picky about parse and IO exceptions.
2799 (getBoxPainter): Adjust to new BoxPainter constructor.
2800
2801 2006-11-07 Andreas <a.tobler@schweiz.org>
2802
2803 * examples/Makefile.am: Add rule to install the *.html files we use
2804 in the Swing Demo.
2805
2806 2006-11-06 Francis Kung <fkung@redhat.com>
2807
2808 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2809 (fillRect): Handle custom composites.
2810 (drawRenderedImage): Handle custom composites.
2811 (drawImage): Handle custom composites.
2812 (createBuffer): New method.
2813 (drawLine): Handle custom composites.
2814 (drawComposite): New method.
2815 (fill): Handle custom composites.
2816 (getNativeCM): New method.
2817 (drawGlyphVector): Handle custom composites.
2818 (drawRect): Handle custom composites.
2819 (draw): Handle custom composites.
2820 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
2821 (drawComposite): Unset composite during draw call, to prevent parent
2822 from handling composite again.
2823 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2824 (getBufferCM): Added comments.
2825 (getNativeCM): Made abstract.
2826 (setComposite): Removed comments.
2827
2828 2006-11-06 Roman Kennke <kennke@aicas.com>
2829
2830 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2831 Fixed initial window size and start document.
2832
2833 2006-11-06 Roman Kennke <kennke@aicas.com>
2834
2835 * javax/swing/text/html/HTMLDocument.java
2836 (HTMLReader.addSpecialElement): Removed comment about
2837 htmlAttributeSet.
2838 (HTMLReader.handleComment): Create SimpleAttributeSet instead
2839 of htmlAttributeSet.
2840 * javax/swing/text/html/parser/DocumentParser.java
2841 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2842 of htmlAttributeSet.
2843 * javax/swing/text/html/parser/ParserDelegator.java
2844 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2845 of htmlAttributeSet.
2846 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
2847 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2848 of htmlAttributeSet.
2849 * gnu/javax/swing/text/html/parser/support/Parser.java
2850 (getAttributes): Return a SimpleAttributeSet.
2851 (restOfTag): Don't set resolving parent here.
2852
2853 2006-11-06 Tania Bento <tbento@redhat.com>
2854
2855 * java/awt/TextComponent.java
2856 (setSelectionStart): Added check.
2857
2858 2006-11-06 Tania Bento <tbento@redhat.com>
2859
2860 * java/awt/TextField.java
2861 (minimumSize(int)): Check if minimum size has been previously
2862 set and changed values of Dimension returned if peer == null.
2863 (preferredSize(int)): Check if preferred size has been previously
2864 set and changed values of Dimension returned if peer == null.
2865
2866 2006-11-06 Roman Kennke <kennke@aicas.com>
2867
2868 * javax/swing/JTree.java
2869 (TreeModelHandler.treeNodesRemoved): Implemented.
2870 (TreeModelHandler.treeStructureChanged): Implemented.
2871 (nodeStates): Made package private.
2872
2873 2006-11-06 Francis Kung <fkung@redhat.com>
2874
2875 PR 29420
2876 * javax/swing/JTree.java
2877 (clearSelectionPathStates): New private method to clean up nodeStates.
2878 (removeSelectionPath): Call clearSelectionPathStates().
2879 (removeSelectionPaths): Call clearSelectionPathStates().
2880 (removeSelectionRow): Call clearSelectionPathStates().
2881 (setSelectionPath): Call clearSelectionPathStates().
2882 (setSelectionPaths): Call clearSelectionPathStates().
2883 (setSelectionRow): Call clearSelectionPathStates().
2884
2885 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
2886
2887 Fixes bug #29703
2888 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
2889
2890 2006-11-06 Roman Kennke <kennke@aicas.com>
2891
2892 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2893 Changed to implement a minimalistic browser.
2894 * examples/gnu/classpath/examples/swing/forms.html,
2895 * examples/gnu/classpath/examples/swing/textstyles.html,
2896 * examples/gnu/classpath/examples/swing/welcome.html:
2897 Some example content.
2898
2899 2006-11-06 Roman Kennke <kennke@aicas.com>
2900
2901 * javax/swing/text/ComponentView.java
2902 (setParent): Lock the document and repaint the hosting
2903 container.
2904 * javax/swing/text/FlowView.java
2905 (FlowStrategy.createView): Removed comment.
2906 (FlowView): Initialize span with Short.MAX_VALUE.
2907 (getFlowStart): Return 0 unconditionally.
2908 (layout): Moved code around to make it more readable.
2909 (loadChildren): Always set the parent.
2910 * javax/swing/text/GlyphView.java
2911 (DefaultGlyphPainter.fontMetrics): New field.
2912 (DefaultGlyphPainter.getAscent): Use new helper method to
2913 synchronize the font metrics.
2914 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
2915 to synchronize the font metrics.
2916 (DefaultGlyphPainter.getDescent): Use new helper method to
2917 synchronize the font metrics.
2918 (DefaultGlyphPainter.getHeight): Use new helper method to
2919 synchronize the font metrics.
2920 (DefaultGlyphPainter.getSpan): Use new helper method to
2921 synchronize the font metrics.
2922 (DefaultGlyphPainter.modelToView): Use new helper method to
2923 synchronize the font metrics.
2924 (DefaultGlyphPainter.updateFontMetrics): New helper method for
2925 font metrics caching.
2926 (DefaultGlyphPainter.viewToModel): Use new helper method to
2927 synchronize the font metrics. Fixed view to model mapping.
2928 * javax/swing/text/View.java
2929 (removeAll): Pass null to replace().
2930 (setParent): Only reparent children that have this view as parent.
2931
2932 2006-11-05 Mark Wielaard <mark@klomp.org>
2933
2934 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
2935 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
2936 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
2937 Removed.
2938 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
2939 Removed.
2940 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
2941 Remove gnu_java_nio_channels_FileChannelImpl.c.
2942
2943 2006-11-03 Roman Kennke <kennke@aicas.com>
2944
2945 * javax/swing/text/html/BlockView.java
2946 (attributes): New field.
2947 (cssHeight): New field.
2948 (cssWidth): New field.
2949 (painter): New field.
2950 (calculateMajorAxisRequirements): Overridden to account for
2951 CSS settings.
2952 (calculateMinorAxisRequirements): Overridden to account for
2953 CSS settings.
2954 (layoutMinorAxis): Overridden to account for CSS settings.
2955 (changedUpdate): Formatting fixlet.
2956 (constrainSize): New helper method.
2957 (getAlignment): Fix alignment.
2958 (getAttributes): Cache attributes for better performance.
2959 (getStyleSheet): Fetch stylesheet from document rather than creating
2960 a new one.
2961 (paint): Remove comment.
2962 (setCSSSpan): New helper method.
2963 (setPropertiesFromAttributes): Implemented to fetch the
2964 recognized properties.
2965 * javax/swing/text/html/CSS.java
2966 (getValue): Added mapping for width and height attributes.
2967 * javax/swing/text/html/InlineView.java
2968 (longestWord): New field.
2969 (getLongestWord): New helper method.
2970 (calculateLongestWord): New helper method.
2971 (getMinimumSpan): Overridden to constrain the minimum span by the
2972 longest word.
2973 * javax/swing/text/html/ParagraphView.java
2974 (cssHeight): New field.
2975 (cssWidth): New field.
2976 (calculateMinorAxisRequirements): Overridden to account for
2977 CSS settings.
2978 (setCSSSpan): New helper method.
2979 (setPropertiesFromAttributes): Fetch CSS width and height. Added
2980 null check.
2981 * gnu/javax/swing/text/html/css/Length.java
2982 (percentage): New field.
2983 (Length): Determine percentage values.
2984 (getValue(float)): New method for handling percentage values.
2985 (isPercentage): New method.
2986
2987 2006-11-03 Tania Bento <tbento@redhat.com>
2988
2989 * java/awt/TextArea.java
2990 (getMinimumSize): Changed documentation.
2991 (getPreferredSize): Changed documentation.
2992 (getMinimumSize(int,int)): Changed documenation.
2993 (getPreferredSize(int,int)): Changed documenation.
2994 (minimumSize): Changed documentation.
2995 (preferredSize): Changed documenation.
2996 (minimumSize(int,int)): Changed documentation. Checked if
2997 minimum size had been previously set and changed values of
2998 Dimension returned if peer == null.
2999 (preferredSize(int, int)): Checked if preferred size had been
3000 previously set and changed values of Dimension returned if
3001 peer = null.
3002
3003 2006-11-03 Tania Bento <tbento@redhat.com>
3004
3005 * java/awt/event/ComponentEvent.java
3006 (paramString): Changed format of string representation returned.
3007
3008 2006-11-03 Roman Kennke <kennke@aicas.com>
3009
3010 * javax/swing/text/html/HTMLDocument.java
3011 (HTMLReader.FormAction.start): Added support for textarea.
3012 (HTMLReader.FormAction.end): Added support for textarea.
3013 (HTMLReader.HeadAction.end): Call super to actually close the
3014 block.
3015 (HTMLReader.inTextArea): New field.
3016 (HTMLReader.textAreaDocument): New field.
3017 (HTMLReader.handleText): Call textAreaContent when inside
3018 a textarea tag.
3019 (HTMLReader.textAreaContent): Implemented to initialize
3020 the text area's model.
3021 * javax/swing/text/html/FormView.java
3022 (createComponent): Added support for textarea tag.
3023
3024 2006-11-03 Roman Kennke <kennke@aicas.com>
3025
3026 * javax/swing/text/html/HTMLDocument.java
3027 (HTMLReader.IsindexAction.start): Implemented.
3028
3029 2006-11-03 Roman Kennke <kennke@aicas.com>
3030
3031 * javax/swing/text/html/StyleSheet.java
3032 (addRule): Implemented.
3033 * javax/swing/text/html/HTMLDocument.java
3034 (HTMLReader.inStyleTag): New field.
3035 (HTMLReader.styles): New field.
3036 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3037 if any.
3038 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3039 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3040 (HTMLReader.handleText): When inside a style tag, add
3041 content to the styles array.
3042
3043 2006-11-02 Roman Kennke <kennke@aicas.com>
3044
3045 * javax/swing/text/html/FormView.java
3046 (maxIsPreferred): New field.
3047 (createComponent): Initialize components correctly.
3048 (getMaximumSpan): Return the preferred span for components
3049 that need this. The maxIsPreferred flag is set accordingly
3050 in createComponent.
3051 * javax/swing/text/html/HTMLDocument.java
3052 (HTMLReader.FormAction.start): Implemented to set the
3053 correct model as attribute.
3054 (HTMLReader.FormAction.setModel): New helper method.
3055 (HTMLReader.FormAction.end): Call super to finish the element.
3056 Added TODO about things left to do.
3057 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3058 than htmlAttributeSet.
3059 * javax/swing/text/html/HTMLEditorKit.java
3060 (HTMLFactory.create): Create BlockView for FORM tags.
3061 Create FormView for INPUT, TEXTAREA and SELECT tags.
3062
3063 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3064
3065 * java/awt/geom/GeneralPath.java: API doc fixes.
3066
3067 2006-11-02 Roman Kennke <kennke@aicas.com>
3068
3069 * javax/swing/text/html/ImageView.java
3070 (getImageURL): Fetch attribute from element. Consider the
3071 base URL for relative image locations.
3072
3073 2006-11-02 Roman Kennke <kennke@aicas.com>
3074
3075 * javax/swing/JEditorPane.java
3076 (setContentType): Strip off attributes.
3077 * javax/swing/text/html/HTMLEditorKit.java
3078 (LinkController.activateLink(int,JEditorPane,int,int): New
3079 method. Implements activation of a hyperlink.
3080 (LinkController.activateLinke(int,JEditorPane)): Delegate
3081 to the other activateLink() method.
3082 (LinkController.createHyperlinkEvent): New helper method.
3083 (LinkController.mouseClicked): Implemented to activate the link.
3084 (LinkController.mouseDragged): Added comment that this
3085 method does nothing.
3086 (LinkController.mouseMoved): Update cursor for hyperlinks.
3087 (mouseHandler): Renamed field to linkController.
3088 (HTMLEditorKit): Create a link controller.
3089 (clone): Give the clone a new link controller.
3090 (deinstall): De-install link controller as mouseMotionListener too.
3091 (install): Install link controller as mouseMotionListener too.
3092
3093 2006-11-02 Roman Kennke <kennke@aicas.com>
3094
3095 PR 29644
3096 * javax/swing/text/FlowView.java
3097 (FlowStrategy.changedUpdate): Reversed condition. This caused
3098 wrong layout and bad performance.
3099 (FlowStrategy.insertUpdate): Reversed condition. This caused
3100 wrong layout and bad performance.
3101 (FlowStrategy.removeUpdate): Reversed condition. This caused
3102 wrong layout and bad performance.
3103 (LogicalView): Changed to be a subclass of CompositeView.
3104 (LogicalView()): Only take one Element argument.
3105 (LogicalView.childAllocation): New method for implementing
3106 the abstract CompositeView method.
3107 (LogicalView.forwardUpdateToView): Overridden for correct
3108 reparenting.
3109 (getMinimumSpan): Overridden to handle line breaking correctly.
3110 (getPreferredSpan): Implemented to handle line breaking correctly.
3111 (getViewAtPoint): New method for implementing
3112 the abstract CompositeView method.
3113 (getViewIndexAtPosition): Overridden to handle leaf elements
3114 correctly.
3115 (isAfter): New method for implementing
3116 the abstract CompositeView method.
3117 (isBefore): New method for implementing
3118 the abstract CompositeView method.
3119 (loadChildren): Overridden to handle leaf elements
3120 correctly.
3121 (paint): New method for implementing
3122 the abstract CompositeView method.
3123 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3124 (loadChildren): Initialize flow layout by sending a synthetic
3125 insertUpdate() to the layout strategy.
3126 * javax/swing/text/GlyphView.java
3127 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3128 font metrics if component is not available. Add initial offset
3129 to result.
3130 (breakView): Be more clever when breaking the view.
3131 (getBreakLocation): New helper method to determine a good
3132 break location.
3133 (getBreakWeight): Be more clever when breaking the view.
3134 (getTabbedSpan): Make sure we have a painter. Use view's
3135 start and end offset rather than the element's.
3136 * javax/swing/text/Utilities.java
3137 (drawTabbedText): Avoid useless add and sub with the y offset.
3138
3139 2006-11-02 Roman Kennke <kennke@aicas.com>
3140
3141 PR 29644
3142 * gnu/java/awt/peer/ClasspathFontPeer.java
3143 (getStringBounds): Removed abstract method. This is replaced
3144 in java.awt.Font to use a TextLayout.
3145 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3146 (GtkWindowPeer): Set a font on the window object.
3147 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3148 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3149 Changed to take char,int,int instead of String. Filter
3150 control characters.
3151 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3152 Create char array out of string.
3153 (getLogicalBounds): Don't translate bounds. They already are
3154 translated.
3155 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3156 (stringWidth): Filter out control characters.
3157 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3158 (getStringBounds): Removed unneeded method.
3159 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3160 constructor.
3161 * gnu/java/awt/peer/qt/QtFontPeer.java
3162 (getStringBounds): Removed unneeded method.
3163 * gnu/java/awt/peer/x/XFontPeer.java
3164 (getStringBounds): Removed unneeded method.
3165 * gnu/java/awt/peer/x/XFontPeer2.java
3166 (getStringBounds): Removed unneeded method.
3167 * java/awt/Font.java
3168 (getStringBounds(char[],int,int,FontRenderContext)):
3169 Use TextLayout to determine the bounds.
3170 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3171 Delegate to the char[] version of this method.
3172 (getStringBounds(String,FontRenderContext)):
3173 Delegate to the char[] version of this method.
3174 (getStringBounds(String,int,int,FontRenderContext)):
3175 Delegate to the String version of this method.
3176
3177 2006-11-01 Tania Bento <tbento@redhat.com>
3178
3179 * java/awt/ScrollPaneAdjustable.java
3180 (paramString): Changed format of string representation returned.
3181 (paramStringHelper): New private method.
3182
3183 2006-11-01 Tania Bento <tbento@redhat.com>
3184
3185 * java/awt/GridBagLayout.java
3186 (toString): Implemented method.
3187
3188 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3189
3190 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3191 initialization to NP_Initialize.
3192 (NP_Initialize): Initialize GLib threading.
3193
3194 2006-10-31 Tania Bento <tbento@redhat.com>
3195
3196 * javax/swing/JTextField.java
3197 (fireActionPerformed): When creating the new event, if
3198 actionCommand == null, then getText() is used.
3199
3200 2006-10-31 Francis Kung <fkung@redhat.com>
3201
3202 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3203 (fillArc): Corrected arc type to Arc2D.PIE.
3204
3205 2006-10-31 Roman Kennke <kennke@aicas.com>
3206
3207 * javax/swing/text/html/HTMLDocument.java
3208 (HTMLReader.PreAction.end): Implemented.
3209 (HTMLReader.PreAction.start): Implemented.
3210 (HTMLReader.inPreTag): New field.
3211 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3212 (HTMLReader.preContent): Implemented.
3213
3214 2006-10-31 Tania Bento <tbento@redhat.com>
3215
3216 * javax/swing/JTextField.java
3217 (fireActionPerformed): When creating the new event,
3218 actionCommand should be used as the command, not
3219 getText().
3220
3221 2006-10-31 Roman Kennke <kennke@aicas.com>
3222
3223 * javax/swing/text/html/HTMLEditorKit.java
3224 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3225 HTML or Styled documents.
3226
3227 2006-10-31 David Fu <fchoong@netbeans.jp>
3228
3229 * javax/swing/text/html/HTMLWriter.java: New class.
3230
3231 2006-10-30 Roman Kennke <kennke@aicas.com>
3232
3233 * java/awt/dnd/DragSourceContext.java
3234 (dragExit): Use constant fields instead of 0.
3235 (updateCurrentCursor): Completed implementation.
3236
3237 2006-10-30 Roman Kennke <kennke@aicas.com>
3238
3239 * java/awt/dnd/DragGestureRecognizer.java
3240 (resetRecognizer): Added API docs. Do not replace the events object
3241 but rather clear() it. Removed not implemented tag.
3242
3243 2006-10-30 Roman Kennke <kennke@aicas.com>
3244
3245 * java/awt/datatransfer/DataFlavor.java
3246 (writeExternal): Remove not implemented tag.
3247
3248 2006-10-30 Roman Kennke <kennke@aicas.com>
3249
3250 * java/awt/datatransfer/DataFlavor.java
3251 (javaFileListFlavor): Don't explicitly specify class.
3252 (plainTextFlavor): Don't explicitly specify class.
3253 (mimeType): Changed to type MimeType. Remove final.
3254 (representationClass): Remove final.
3255 (DataFlavor): Don't do anything here.
3256 (DataFlavor(Class,String,String)): Removed.
3257 (DataFlavor(Class,String)): Initialize here.
3258 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3259 (DataFlavor(String,String)): Initialize in init().
3260 (DataFlavor(String)): Initialize in init().
3261 (init): New initialization method.
3262 (getMimeType): Delegate to MimeType.toString().
3263 (getParameter(String,String)): Removed. Is now done in MimeType.
3264 (getParameter(String)): Delegate to MimeType.
3265 (getPrimaryType): Delegate to MimeType.
3266 (getRepresentationClassFromMime): Removed.
3267 (getRepresentationClassFromMimeThrows): Removed.
3268 (getSubType): Delegate to MimeType.
3269 (hashCode): Take MimeType.toString() for the hashCode.
3270 (isFlavorRemoveObjectType): Return true only when representation
3271 class is remove and serializable and the mime type is remote.
3272 (isFlavorSerializedObjectType): Return true only when representation
3273 class is serializable and the mime type is serialized.
3274 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3275 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3276 (readExternal): Implemented stub method.
3277 (writeExternal): Implemented stub method.
3278 * java/awt/datatransfer/MimeType.java: New helper class.
3279
3280 2006-10-28 Roman Kennke <kennke@aicas.com>
3281
3282 * javax/swing/TransferHandler.java
3283 (importData): Implemented stub method. Added API docs.
3284
3285 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3286
3287 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3288 function.
3289 * native/jni/classpath/classpath_jawt.h: Likewise.
3290 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3291 initializer for surface_info_x11->depth.
3292
3293 2006-10-26 Tania Bento <tbento@redhat.com>
3294
3295 * java/awt/FileDialog.java:
3296 (setFile): Changed if-clause condition.
3297
3298 2006-10-25 Francis Kung <fkung@redhat.com>
3299
3300 * include/gnu_java_nio_VMChannel.h,
3301 * include/java_net_VMNetworkInterface.h,
3302 * include/gnu_java_nio_EpollSelectorImpl.h,
3303 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3304 * include/gnu_java_nio_FileChannelImpl.h,
3305 * include/gnu_java_nio_KqueueSelectorImpl.h,
3306 * include/gnu_java_nio_VMPipe.h,
3307 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3308
3309 2006-10-25 Tania Bento <tbento@redhat.com>
3310
3311 * java/awt/Dialog.java: Created new private variable
3312 next_dialog_number.
3313 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3314 Set cursor to default cursor.
3315 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3316 Same.
3317 (generateName): New method.
3318 (getUniqueLong): New private method.
3319 * java/awt/FileDialog.java: Created new private variable
3320 next_file_dialog_number.
3321 (setFile): If file == "", set it to null.
3322 (generateName): New method.
3323 (getUniqueLong): New private method.
3324
3325 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3326
3327 * java/net/MulticastSocket.java:
3328 (setNetworkInterface): Rewritten.
3329
3330 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3331
3332 * native/jni/java-net/javanet.h: Added declaration for
3333 _javanet_create_inetaddress.
3334 * native/jni/java-net/javanet.c:
3335 (_javanet_create_inetaddress): Removed static keyword.
3336
3337 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3338
3339 * gnu/java/net/PlainDatagramSocketImpl.java:
3340 (connect): Use VMChannel instance for connect call.
3341 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3342 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3343 (setOption): Handle multicast options.
3344 (getOption): Handle multicast options.
3345 * gnu/java/net/PlainSocketImpl.java:
3346 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3347 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3348 (setOption): Filter unappropriate options.
3349 (getOption): Filter unappropriate options.
3350 (connect): Use given SocketAddress.
3351 (close): Reset address and port.
3352 (getInetAddress):
3353 * include/Makefile.am: Removed all occurences of
3354 gnu_java_net_VMPlainDatagramSocketImpl.h.
3355 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3356 * native/jni/java-net/Makefile.am: Removed
3357 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3358 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3359 Removed.
3360 as SocketException, declare to throw SocketException.
3361 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3362 for SocketException and ConnectException.
3363 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3364 of IOException.
3365 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3366 of IOException.
3367 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3368 (JCL_thread_interrupted): New function.
3369 (initIDs): Added initialisation for isThreadInterrupted method id.
3370 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3371 CPNET_IP_TTL to java_sockopt enum.
3372 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3373 case, handle SO_LINGER case properly.
3374 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3375 case, handle SO_LINGER case properly.
3376 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3377 function.
3378 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3379 function.
3380 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3381 function.
3382 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3383 IPV6_LEAVE_GROUP.
3384 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3385 * vm/reference/gnu/java/nio/VMChannel.java:
3386 (connect(int, byte[], int, int)): Declare to throw SocketException.
3387 (connect6): Declare to throw SocketException.
3388 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3389 (isThreadInterrupted): New method.
3390 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3391 field.
3392 (setTimeToLive): New method.
3393 (getTimeToLive): New method.
3394 (setMulticastInterface(int, InetAddress)): New method.
3395 (setMulticastInterface(int, int, Inet4Address): New method.
3396 (setMulticastInterface6(int, int, Inet6Address): New method.
3397 (setOptions): Handle SO_LINGER case.
3398 (getOptions): Add missing SO_REUSEADDR case.
3399 * java/net/Socket.java:
3400 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3401 when exception was thrown out of connect().
3402 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3403 Boolean.FALSE with Integer.valueOf(-1).
3404 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3405 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3406 * NEWS: Documented VM interface changes.
3407
3408 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3409
3410 * java/net/Inet6Address.java:
3411 (isMulticastAddress): Fixed check.
3412
3413 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3414
3415 Fixes PR29576
3416 * java/net/MulticastSocket.java:
3417 (getNetworkInterface): Return a special NetworkInterface instance
3418 if the socket's multicast interface is set to any.
3419
3420 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3421
3422 Fixes PR29576
3423 * java/net/NetworkInterface.java:
3424 (createAnyInterface): New method.
3425 (equals): Added if-statement to handle case where netif.name is null.
3426 * vm/reference/java/net/VMNetworkInterface.java:
3427 (hashCode): Rewritten.
3428 (VMNetworkInterface): New constructor.
3429
3430 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3431
3432 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3433 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3434 Add ASM_JAR to bootclasspath.
3435
3436 2006-10-24 Tania Bento <tbento@redhat.com>
3437
3438 * java/awt/Scrollbar.java:
3439 (setLineIncrement): Removed unnecessary if-clause and if
3440 lineIncrement == 0, then it should be set to 1, not 0.
3441 (setPageIncrement): Removed unnecessary if-clause and if
3442 pageIncrement == 0, then it should be set to 1, not 0.
3443 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3444 If maximum <= minimum, maximum should be set to mininum + 1. The
3445 actual value of maximum is maximum - visibleAmount, so I made
3446 this change to the appropriate if-check. Remove the two unneccessary
3447 if-clauses.
3448
3449 2006-10-23 Francis Kung <fkung@redhat.com>
3450
3451 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3452 (cairoSetFont): New method.
3453 (copy): Set font using setFont method.
3454 (setFont): Call cairoSetFont.
3455 (setup): Set font using setFont method.
3456 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3457 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3458 (install_font_peer): Removed.
3459 (cairoDrawGlyphVector): Removed call to install_font_peer.
3460 (cairoSetFont): New method.
3461
3462 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3463
3464 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3465 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3466 NativeEventLoopRunningEvent after GTK main loop start and stop.
3467 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3468 (getNextEvent): Set dispatchThread to null.
3469 (postEventImpl): Set nativeLoopRunning.
3470 (pop): Interrupt event dispatch thread.
3471 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3472
3473 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3474
3475 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3476 Added include.
3477 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3478 Likewise.
3479
3480 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3481
3482 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3483 * javax/crypto/CipherOutputStream.java: Re-implemented.
3484 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3485 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3486 decryption mode and check if it is a complete block.
3487 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3488 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3489 partially processed data into account.
3490
3491 2006-10-21 Tom Tromey <tromey@redhat.com>
3492
3493 PR classpath/29086:
3494 * java/util/AbstractCollection.java (toArray): Removed cast.
3495
3496 2006-10-20 Tom Tromey <tromey@redhat.com>
3497
3498 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3499 Don't use mangled class name for .h file.
3500 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3501 Don't use mangled class name for .c file.
3502 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3503 Handle classes from the default package.
3504
3505 2006-10-20 Francis Kung <fkung@redhat.com>
3506
3507 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3508
3509 2006-10-19 Francis Kung <fkung@redhat.com>
3510
3511 PR 29510
3512 * java/awt/image/BufferedImage.java
3513 (constructor): Updated some properties of default image types.
3514 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3515 (argb32): Updated field to match default in BufferedImage.
3516
3517 2006-10-18 Roman Kennke <kennke@aicas.com>
3518
3519 PR 29419
3520 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3521 (copyArea): Changed size comparison to return when size == 0
3522 too.
3523 * javax/swing/JViewport.java
3524 (paintBackingStore): Check width and height of blitted area
3525 and only do blit if its > 0.
3526 (paintBlit): Check width and height of blitted area
3527 and only do blit if its > 0.
3528
3529 2006-10-18 Roman Kennke <kennke@aicas.com>
3530
3531 PR 27091
3532 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3533 (maximize): New native method.
3534 (unmaximize): New native method.
3535 (iconify): New native method.
3536 (deiconify): New native method.
3537 (getState): Implemented.
3538 (setState): Implemented.
3539 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3540 (oldState): Rename to windowState and made protected, so that
3541 the FramePeer can access it.
3542 (postWindowEvent): Handle state change events more gently and
3543 correctly.
3544 * java/awt/Frame.java
3545 (getState): Fetch state from getExtendedState().
3546 (setExtendedState): Update the peer. Check if the state change
3547 is actually supported.
3548 (getExtendedState): Update the state from the peer.
3549 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3550 (maximize): New method.
3551 (unmaximize): New method.
3552 (iconify): New method.
3553 (deiconify): New method.
3554 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3555 (AWT_FRAME_NORMAL): New macro.
3556 (AWT_FRAME_ICONIFIED): New macro.
3557 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3558 (window_window_state_cb): Rewritten to handle window state changes
3559 more gently (mostly on the java side of the world).
3560 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3561
3562 2006-10-18 Tania Bento <tbento@redhat.com>
3563
3564 * java/awt/CardLayout.java:
3565 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3566 its height and width if Container passed as argument is null.
3567 (gotoComponent): Consider the case where the component is not visible.
3568
3569 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3570
3571 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3572 Rename file...
3573 * resource/gnu/classpath/tools/appletviewer/messages.properties:
3574 New file.
3575 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3576 Remove file.
3577 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3578 Remove file.
3579 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3580 Likewise.
3581 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3582 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3583 Retrieve user-visible strings through Messages.getString.
3584 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3585 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3586 Likewise.
3587 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3588 Likewise.
3589 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3590 Likewise.
3591 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3592 Likewise.
3593 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3594 Likewise.
3595 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3596 Likewise.
3597
3598 2006-10-18 Roman Kennke <kennke@aicas.com>
3599
3600 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3601 (AWT_WINDOW_OPENED): Remove unnecessary macro.
3602 (window_show_cb): Removed unnecessary function.
3603 (connect_signals): Don't connect signal for show. *
3604 gnu/java/awt/peer/gtk/GtkWindowPeer.java
3605 (hasBeenShown): Removed. This is handled in java.awt.Window.
3606 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3607 in java.awt.Window. * java/awt/Window.java
3608 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3609
3610 2006-10-18 Francis Kung <fkung@redhat.com>
3611
3612 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3613 (drawRenderedImage): New method.
3614 (drawImage): New method.
3615 (CairoSurfaceGraphics): Set clip.
3616 (createBuffer): New method.
3617 (getBufferCM): New method.
3618 (drawComposite): New method.
3619 (fill): New method.
3620 (getNativeCM): New method.
3621 (drawGlyphVector): New method.
3622 (draw): New method.
3623 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3624 (getNativeCM): Reflect renamed field.
3625 * gnu/java/awt/peer/gtk/CairoSurface.java
3626 (cairoCM_pre): Renamed from cairoColorModel.
3627 (cairoColorModel): Set premultiplication to false.
3628
3629 2006-10-18 Roman Kennke <kennke@aicas.com>
3630
3631 PR 28769
3632 * javax/swing/JScrollPane.java
3633 (viewportBorder): Made field private.
3634 (wheelScrollingEnabled): Made field private.
3635 (JScrollPane): Enabled wheel scrolling by default.
3636 * javax/swing/JTree.java
3637 (TreeSelectionRedirector.valueChanged): Don't repaint anything
3638 here.
3639 (getScrollableUnitIncrement): Fixed thinko.
3640 * javax/swing/plaf/basic/BasicScrollBarUI.java
3641 (static scrollByBlock): New static method to avoid code duplication
3642 for the BasicScrollPane wheel scrolling.
3643 (static scrollByUnits): New static method to avoid code duplication
3644 for the BasicScrollPane wheel scrolling.
3645 (scrollByBlock): Delegate to static helper method.
3646 (scrollByUnit): Delegate to static helper method.
3647 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3648 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
3649 static helper methods to avoid code duplication.
3650 (MouseWheelHandler.bounds): Removed.
3651 (MouseWheelHandler.getValue): Removed.
3652 (MouseWheelHandler.scroll): Removed.
3653
3654 2006-10-18 Roman Kennke <kennke@aicas.com>
3655
3656 PR 29502
3657 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3658 (updateComponent): Don't override this here.
3659 * java/awt/Window.java
3660 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
3661 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
3662 flag.
3663 (addWindowStateListener): Ignore null listener. Set newEventsOnly
3664 flag.
3665
3666 2006-10-18 Roman Kennke <kennke@aicas.com>
3667
3668 * javax/swing/JEditorPane.java
3669 (getStream): Try to detect and set the content type of the
3670 connection stream.
3671
3672 2006-10-18 Roman Kennke <kennke@aicas.com>
3673
3674 * javax/swing/RepaintManager.java
3675 (RepaintWorkerEvent): Pass full set of params to super.
3676 (RepaintWorker.dispatch): Overridden to allow apps to call this
3677 via reflection.
3678 (addDirtyRegion): Synchronize a little more to protect the
3679 dirtyComponents field and avoid NPEs.
3680 (invokeLater): Pass full set of params to RepaintWorkerEvent
3681 constructor.
3682
3683 2006-10-18 Roman Kennke <kennke@aicas.com>
3684
3685 * javax/swing/JEditorPane.java
3686 (page): Removed field. The page is now stored in the correct
3687 document property.
3688 (getPage): Fetch page URL from document property.
3689 (read): Set the document for this JEditorPane. Use a Reader
3690 for reading in the document.
3691 (setPage): Call getStream() to get the stream from which we read.
3692 Fire property change. Store page in document property.
3693
3694 2006-10-18 Roman Kennke <kennke@aicas.com>
3695
3696 * java/awt/datatransfer/DataFlavor.java
3697 (DataFlavor(String)): Removed check for space in mime string.
3698
3699 2006-10-18 Roman Kennke <kennke@aicas.com>
3700
3701 * java/awt/Container.java
3702 (validateTree): Call ContainerPeer.begin|endLayout() rather than
3703 begin|endValidate().
3704 (validate): Call ContainerPeer.begin|endValidate() here.
3705 Added some local vars to avoid NPEs.
3706
3707 2006-10-18 Roman Kennke <kennke@aicas.com>
3708
3709 * native/target/.cvsignore
3710 * native/target/Linux/.cvsignore
3711 * native/target/generic/.cvsignore:
3712 Added to let CVS ignore the generated Makefile and Makefile.in
3713 files.
3714
3715 2006-10-18 Roman Kennke <kennke@aicas.com>
3716
3717 PR 29448
3718 * java/awt/Window.java
3719 (eventTypeEnabled): Overridden to handle WindowEvents.
3720 (processEvent): Switch between processWindowEvent(),
3721 processWindowFocusEvent() and processWindowStateEvent() here,
3722 rather than simply calling processWindowEvent().
3723 (processWindowEvent): Only dispatch event to listener, do not
3724 switch to processWindowFocusEvent() or processWindowStateEvent()
3725 here.
3726 * javax/swing/JFrame.java
3727 (frameInit): Explicitly enable window and key events here.
3728 (processWindowEvent): Throw out some unnecessary code.
3729 * javax/swing/JWindow.java
3730 (windowInit): Explicitly enable key events here.
3731 * javax/swing/JDialog.java
3732 (close_action): Renamed to closeAction.
3733 (dialogInit): Explicitly enable window events here.
3734 (getDefaultCloseOperation): Renamed close_action to closeAction.
3735 (processWindowEvent): Throw out some unnecessary code.
3736 Renamed close_action to closeAction.
3737 (setDefaultCloseOperation): Renamed close_action to closeAction.
3738
3739 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3740
3741 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
3742 to track native GTK event loop status.
3743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
3744 clear running flag when native GTK event loop starts and stops.
3745
3746 2006-10-17 Roman Kennke <kennke@aicas.com>
3747
3748 * javax/swing/TransferHandler.java
3749 (exportToClipboard): Implemented.
3750
3751 2006-10-17 Francis Kung <fkung@redhat.com>
3752
3753 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
3754 region to account for pixel-shifting.
3755 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
3756 proctected.
3757
3758 2006-10-17 Francis Kung <fkung@redhat.com>
3759
3760 PR 29450
3761 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3762 (getLogicalBounds): Translate individual glyphs before appending bounds.
3763 (getOutline): Translate individual glyphs before appending outline.
3764
3765 2006-10-17 Cameron McCormack <cam@mcc.id.au>
3766
3767 PR 29014
3768 * java/awt/font/TextLayout.java
3769 (bidi): New field.
3770 (constructor): Store bidi in field.
3771 (getCharacterLevel): Implemented.
3772
3773 2006-10-17 Roman Kennke <kennke@aicas.com>
3774
3775 * javax/swing/TransferHandler.java
3776 (PropertyTransferable): New inner class. Handles transfers
3777 from component properties.
3778 (createTransferable): Implemented.
3779
3780 2006-10-17 Francis Kung <fkung@redhat.com>
3781
3782 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3783 (drawComposite): Ensure composite does not extend beyond buffer
3784 bounds.
3785 * java/awt/image/Raster.java
3786 (createChild): Ensure child does not extend beyond parent's
3787 bounds.
3788 * java/awt/image/WritableRaster.java
3789 (createWritableChild): Ensure child does not extend beyond
3790 parent's bounds.
3791
3792 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
3793
3794 * native/jni/classpath/jcl.c
3795 (JNI_OnLoad): Corrected calling convention.
3796
3797 2006-10-16 Roman Kennke <kennke@aicas.com>
3798
3799 * javax/swing/TransferHandler.java
3800 (propertyName): New field.
3801 (TransferHandler(String)): Store property name in field.
3802 (canImport): Implemented stub method.
3803 (exportDone): This is a no-op. Removed not-implemented mark.
3804 (getPropertyDataFlavor): New helper method.
3805 (getPropertyDescriptor): New helper method.
3806
3807 2006-10-16 Roman Kennke <kennke@aicas.com>
3808
3809 * javax/swing/AbstractButton.java
3810 (AccessibleJButton.getAfterIndex): Implemented.
3811 (AccessibleJButton.getAtIndex): Implemented.
3812 (AccessibleJButton.getBeforeIndex): Implemented.
3813 (AccessibleJButton.getCharacterAttribute): Completed incomplete
3814 method implementation.
3815
3816 2006-10-16 Roman Kennke <kennke@aicas.com>
3817
3818 * javax/swing/JLabel.java
3819 (AccessibleJLabel.getIndexAtPoint): Implemented.
3820 (AccessibleJLabel.getCharacterBounds): Implemented.
3821 (AccessibleJLabel.getTextRectangle): New helper method.
3822
3823 2006-10-16 Roman Kennke <kennke@aicas.com>
3824
3825 * javax/swing/filechooser/FileSystemView.java
3826 (getFileSystemView): Mark as implemented.
3827
3828 2006-10-14 Roman Kennke <kennke@aicas.com>
3829
3830 PR 27957
3831 * javax/swing/JComponent.java
3832 (toolTipText): Removed field.
3833 (createToolTip): Don't set tooltip text here. This is done
3834 in the ToolTipManager.
3835 (setToolTipText): Set tooltip text as client property.
3836 (getToolTipText): Get tooltip text from client property.
3837 * javax/swing/ToolTipManager.java
3838 (currentComponent): Made field non-static and of type JComponent.
3839 (currentPoint): Made field non-static.
3840 (currentTip): Made field non-static.
3841 (popup): Made field non-static.
3842 (toolTipText): New field. Stores the current tooltip text.
3843 (checkTipUpdate): New helper method. Checks for updates of
3844 the tooltip text and triggers the appropriate actions.
3845 (getContentPaneDeepestComponent): Removed unneeded casts.
3846 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
3847 text from component.
3848 (mouseMoved): Check for tooltip text updates.
3849 (showTip): Set tooltip text from current setting.
3850
3851 2006-10-14 Roman Kennke <kennke@aicas.com>
3852
3853 PR 27956
3854 * javax/swing/JSlider.java
3855 (setPaintLabels): Call setLabelTable() instead of setting
3856 the field directly. This also updates the label's size.
3857
3858 2006-10-13 Tom Tromey <tromey@redhat.com>
3859
3860 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
3861 method.
3862
3863 2006-10-13 Tania Bento <tbento@redhat.com>
3864
3865 * java/awt/ScrollPane.java
3866 (setLayout): Should throw AWTError whenever called.
3867
3868 2006-10-13 Roman Kennke <kennke@aicas.com>
3869
3870 PR 29448
3871 * java/awt/Component.java
3872 (dispatchEventImpl): Special handle ComponentReshapeEvents to
3873 update the AWT's knowledge about a component's size.
3874 * gnu/java/awt/ComponentReshapeEvent.java: New class.
3875 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3876 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
3877 to update the AWT's knowledge about the component bounds.
3878
3879 2006-10-13 Tania Bento <tbento@redhat.com>
3880
3881 * java/awt/ScrollPaneAdjustable.java
3882 (setMaximum): Should throw AWTError whenever called.
3883 (setMinimum): Same.
3884 (setVisibleAmount): Same.
3885
3886 2006-10-13 Tania Bento <tbento@redhat.com>
3887
3888 * java/awt/ScrollPane.java
3889 (addImpl): When calling super, index should be value passed,
3890 not -1.
3891 (getIsValidString): New helper method for paramString().
3892 (getScrollbarDisplayString): New helper method for paramString().
3893 (paramString): Changed format of outputted string.
3894
3895 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
3896
3897 * javax/swing/tree/DefaultTreeSelectionModel.java
3898 (clone): Added cast to TreePath[].
3899
3900 2006-10-13 Roman Kennke <kennke@aicas.com>
3901
3902 PR 27780
3903 * javax/swing/JMenuItem.java
3904 (isDragging): New field. Indicates if we are inside a mouse
3905 drag.
3906 (createMenuDragMouseEvent): Removed unneeded method.
3907 (processMenuDragMouseEvent): Track if we are dragging.
3908 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
3909 * javax/swing/plaf/basic/BasicMenuItemUI.java
3910 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
3911 MenuSelectionManager from event.
3912 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
3913 MenuSelectionManager from event.
3914 (MenuDragMouseHandler.menuDragMouseExited): Fetch
3915 MenuSelectionManager from event.
3916 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
3917 release inside menu item, otherwise clear selection.
3918 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
3919 and getY(). Call doClick() rather than the doClick() of JMenuItem.
3920 (doClick): Perform an immediate click.
3921
3922 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3923
3924 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
3925 return if object is not in the list.
3926
3927 2006-10-12 Andrew Haley <aph@redhat.com>
3928
3929 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
3930 * java/lang/ThreadLocal.java: Likewise.
3931
3932 2006-10-12 Roman Kennke <kennke@aicas.com>
3933
3934 PR 27956
3935 * javax/swing/JSlider.java
3936 (LabelUIResource): New inner class. A JLabel as UIResource.
3937 (createStandardLabels): Don't set label bounds here.
3938 Create LabelUIResource instances.
3939 (setInverted): Repaint.
3940 (setLabelTable): Update the label UIs. Revalidate and repaint.
3941 (setMajorTickSpacing): Update the label table. Repaint if
3942 necessary.
3943 (setMinorTickSpacing): Repaint if necessary.
3944 (setOrientation): Revalidate.
3945 (setPaintLabels): Revalidate and repaint.
3946 (setPaintTicks): Revalidate and repaint.
3947 (setPaintTrack): Repaint.
3948 (updateLabelUIs): Set the label sizes here.
3949 (updateUI): Also update the label UIs.
3950 * javax/swing/plaf/basic/BasicSliderUI.java
3951 (ComponentHandler.componentResized): Don't revalidate.
3952 (FocusHandler.focusGained): Don't set field.
3953 (FocusHandler.focusLost): Don't set field.
3954 (PropertyChangeHandler.propertyChange): Calculate geometry
3955 and repaint for a couple more properties.
3956 (TrackListener.mouseReleased): Repaint.
3957 (hasFocus): Removed unneeded field.
3958 (calculateContentRect): No need to check for content size < 0.
3959 (calculateFocusRect): Use insets from insetCache.
3960 (calculateLabelRect): Fixed calculation of label rectangle.
3961 It is relative to the tick rectangle, rather than the content
3962 rectangle.
3963 (calculateTickRect): Small restructuring to avoid unnecessary
3964 comparisons.
3965 (calculateTrackRect): Fixed calculation of track rectangle.
3966 (getMaximumSize): Fixed. Fetch preferred size and set
3967 the height of width to Short.MAX_VALUE.
3968 (getMinimumHorizontalSize): Fixed to return UIManager value.
3969 (getMinimumVerticalSize): Fixed to return UIManager value.
3970 (getPreferredHorizontalSize): Fixed to return UIManager value.
3971 (getPreferredVerticalSize): Fixed to return UIManager value.
3972 (getMinimumSize): Fixed to return the UIManager value plus
3973 insets added.
3974 (getPreferredSize): Fixed to return the UIManager value plus
3975 insets added.
3976 (getWidthOfWidestLabel): Restructured for more cleanness and
3977 efficiency.
3978 (hitClip): New helper method.
3979 (paintHorizontalLabel): Replaced by more efficient and clean
3980 implementation.
3981 (paintVerticalLabel): Replaced by more efficient and clean
3982 implementation.
3983 (paintLabels): Replaced by more efficient and clean
3984 implementation.
3985 (paint): Check if rectangles intersect with clip for maximum
3986 efficiency.
3987 (recalculateIfInsetsChanged): Fixed. This method should
3988 recalculate only when the insets changed.
3989 (setThumbLocation): Repaint with a reasonable clip.
3990 (xPositionForValue): Made more clean and efficient.
3991 (yPositionForValue): Made more clean and efficient.
3992 * javax/swing/plaf/basic/BasicLookAndFeel.java
3993 (initComponenDefaults): Added Slider.horizontalSize,
3994 Slider.verticalSize, Slider.minimumHorizontalSize and
3995 Slider.minimumVerticalSize properties.
3996 * javax/swing/plaf/metal/MetalSliderUI.java
3997 (getTickLength): Add 1 for horizontal sliders and 3 for
3998 vertical sliders.
3999 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4000 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4001 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4002 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4003
4004 2006-10-12 Roman Kennke <kennke@aicas.com>
4005
4006 PR 28696
4007 * javax/swing/text/FlowView.java
4008 (FlowStrategy.layout): Preserve logical views from getting lost.
4009 (FlowStrategy.layoutRow): Fix line breaking.
4010 (FlowStrategy.adjustRow): Fix line breaking.
4011 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4012 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4013 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4014 (createView): Don't check index.
4015 (contains): New helper method.
4016 (reparent): New helper method.
4017 (layoutDirty): Removed unneeded field.
4018 (FlowView): Removed layoutDirty field init.
4019 (changedUpdate): Removed layoutDirty handling.
4020 (insertUpdate): Removed layoutDirty handling.
4021 (removeUpdate): Removed layoutDirty handling.
4022 (layout): Use isLayoutValid() rather than the layoutDirty field.
4023 * javax/swing/text/GlyphView.java
4024 (startOffset): Removed.
4025 (endOffset): Removed.
4026 (offset): New field.
4027 (length): New field.
4028 (GlyphView): Initialize new fields. Removed old fields.
4029 (createFragment): Create fragment with new relative offsets.
4030 (getEndOffset): Work with new relative offsets.
4031 (getStartOffset): Work with new relative offsets.
4032 * javax/swing/text/ParagraphView.java
4033 (Row.getStartOffset): Overidden to determine the minimum start
4034 offset from the children.
4035 (Row.getEndOffset): Overidden to determine the maximum end
4036 offset from the children.
4037 * javax/swing/text/html/BRView.java
4038 Make subclass of InlineView.
4039 (getBreakWeight): Fall back to super for Y_AXIS.
4040
4041 2006-10-12 Roman Kennke <kennke@aicas.com>
4042
4043 PR 28733
4044 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4045 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4046 one that avoids faulty state that could cause division by zero
4047 error.
4048
4049 2006-10-12 Roman Kennke <kennke@aicas.com>
4050
4051 PR 28057
4052 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4053 (paint): Determine correct icon. Added support for HTML label.
4054 Added small optimizations.
4055 (getPreferredSize): Only consider the buttons iconTextGap, and
4056 only when the text is not null.
4057 * javax/swing/plaf/basic/BasicLookAndFeel.java
4058 (initComponentDefaults): Fetch border for RadioButton from
4059 BasicButtons.getRadioButtonBorder().
4060 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4061 (paintFocus): Paint focus rectangle one pixel smaller.
4062
4063 2006-10-12 Roman Kennke <kennke@aicas.com>
4064
4065 PR 29418
4066 * javax/swing/tree/AbstractLayoutCache.java
4067 (getNodeDimensions): Don't throw InternalError, but instead
4068 return null.
4069 (getRowsForPaths): Check for null here.
4070 (isFixedRowHeight): Returns true when rowHeight > 0.
4071 (setSelectionModel): Set this as the row mapper for the selection
4072 model.
4073 * javax/swing/tree/VariableHeightLayoutCache.java
4074 (NodeRecord.NodeRecord): Initialize bounds field.
4075 (getBounds): Simply return the bounds field.
4076 (row2Node): Changed to be an ArrayList.
4077 (RECT_CACHE): New field. Caches a Rectangle instance.
4078 (countRows): Added y parameter and return value. The method
4079 now takes the current y position as parameter, and returns
4080 the updated y position.
4081 (getBounds): Fixed to return the correct bounds.
4082 (getPathForRow): Replaced by fixed implementation.
4083 (getPreferredHeight): Replaced by more efficient implementation.
4084 This simply fetches the last node record and returns its lower
4085 bounds.
4086 (getPreferredWidth): Added null check.
4087 (getVisibleChildCount): Added null check.
4088 (getVisiblePathsFrom): Added null check.
4089 (setExpandedState): Also expand the ancestors of the node
4090 to be expanded.
4091 (setModel): Set dirty flag rather than updating for real.
4092 (setNodeDimensions): Overridden to set the dirty flag.
4093 (setRowHeight): Overridden to set the dirty flag.
4094 (update): Don't special case the root here, this is done now
4095 in countRows().
4096
4097 2006-10-12 Roman Kennke <kennke@aicas.com>
4098
4099 * javax/swing/JComponent.java
4100 (paintImmediately2): Added support for components which need
4101 to force themselves as paint root.
4102 (isPaintRoot): New method. This should be overridden by components
4103 which need to force themselves as paint root.
4104 * javax/swing/JViewport.java
4105 (isPaintRoot): Overridden to force the viewport as paint root
4106 when running in backingstore mode.
4107
4108 2006-10-12 Roman Kennke <kennke@aicas.com>
4109
4110 * javax/swing/tree/DefaultTreeSelectionModel.java
4111 (PathPlaceHolder): New inner class. Wraps a path and its status
4112 wrt to its newness.
4113 (selectedPaths): New field. A supporting datastructure.
4114 (tmpPaths): New field. A supporting datastructure.
4115 (DefaultTreeSelectionModel): Initialize the list selection model,
4116 the leadIndex and the supporting datastructures.
4117 (addPropertyChangeListener): Create changeSupport object lazily.
4118 (addSelectionPaths): Mostly rewritten to handle the different
4119 selection modes correctly.
4120 (addSelectionPath): Delegate to addSelectionPaths().
4121 (arePathsContiguous): Replaced with more efficient implementation
4122 using BitSet
4123 (canPathBeAdded): Removed unneeded method.
4124 (canPathsBeAdded): Replaced with more efficient implementation.
4125 (clearSelection): Create correct event. Clear the fields correctly,
4126 including the supporting datastructures.
4127 (clone): Also clone the supporting datastructures and nullify
4128 changeSupport field.
4129 (getMaxSelectionRow): Delegate to list selection model.
4130 (getMinSelectionRow): Delegate to list selection model.
4131 (getPath): Removed unneeded method.
4132 (getPropertyChangeListeners): Handle null changeSupport field
4133 correctly.
4134 (getRow): Handle null rowMapper field correctly.
4135 (getSelectionRows): Handle invisible rows correctly.
4136 (insureRowContinuity): Replaced by more efficient and correct
4137 implementation.
4138 (isRowSelected): Delegate to list selection model.
4139 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4140 class.
4141 (removePropertyChangeListener): Handle null changeSupport field.
4142 (removeSelectionPaths): Mostly rewritten to handle the different
4143 selection modes correctly.
4144 (removeSelectionPath): Delegate to removeSelectionPaths().
4145 (resetRowSelection): Handle list selection model.
4146 (selectOne): Removed unneeded field.
4147 (setRowMapper): Reset the row selection.
4148 (setSelectionMode): Check for invalid mode and set to
4149 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4150 (setSelectionPaths): Mostly rewritten to handle the different
4151 selection modes correctly.
4152 (setSelectionPath): Delegate to setSelectionPaths().
4153 (updateLeadIndex): Made more efficient.
4154
4155 2006-10-11 Francis Kung <fkung@redhat.com>
4156
4157 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4158 (buffer, locked): New fields.
4159 (constructors): Initialize new variables.
4160 (createBuffer): New method.
4161 (draw): Implement custom composites.
4162 (drawComposite): New method.
4163 (drawGlyphVector): Implement custom composites.
4164 (drawImage): Implement custom composites.
4165 (drawRenderedImage): Implement custom composites.
4166 (fill): Implement custom composites.
4167 (getBufferCM): New method.
4168 (getNativeCM): New method.
4169 (updateBufferedImage): Fix premultiplication.
4170 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4171 (copy): Copy composite.
4172 (drawImage): Set background properly.
4173 (getBufferCM): New method.
4174 (setComposite): Reset alpha composite when using custom composite.
4175 * gnu/java/awt/peer/gtk/CairoSurface.java
4176 (cairoColorModel): New field.
4177 (nativeColorModel): Renamed.
4178 (constructor): Use renamed createCairoSampleModel method.
4179 (createCairoSampleModel): New method.
4180 (createNativeSampleModel): Renamed.
4181 (getBufferedImage): Use renamed cairoColorModel field.
4182 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4183 (gdkColorModel): New field.
4184 (createGdkSampleModel): New method.
4185 (getPixels): Added comments.
4186 (getSnapshot): Use GDK colour and sample models.
4187 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4188 (createBuffer): Use GDK colour and sample models.
4189 (getNativeCM): Added comments.
4190 * java/awt/image/BufferedImage.java
4191 (constructor): Set premultiplied flag properly.
4192
4193 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4194
4195 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4196 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4197
4198 2006-10-10 Francis Kung <fkung@redhat.com>
4199
4200 PR 29372
4201 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4202 (createPath): Added isDraw parameter.
4203 (draw): Updated createPath call.
4204 (fill): Updated createPath call.
4205
4206 2006-10-10 Tom Tromey <tromey@redhat.com>
4207
4208 PR classpath/29362:
4209 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4210 there is a stylesheet.
4211
4212 2006-10-10 Roman Kennke <kennke@aicas.com>
4213
4214 * java/awt/Toolkit.java
4215 (getDefaultTookit): Make method synchronized to avoid
4216 accidentally creating more than one toolkits from different
4217 threads.
4218
4219 2006-10-10 Roman Kennke <kennke@aicas.com>
4220
4221 * java/awt/LightweightDispatcher.java
4222 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4223 (redispatch): Transfer the button to the redispatched event.
4224
4225 2006-10-10 Francis Kung <fkung@redhat.com>
4226
4227 * java/awt/image/ColorModel.java (coerceData): Implemented.
4228
4229 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4230
4231 * vm/reference/java/lang/VMClassLoader.java:
4232 (defineClassWithTransformers): Use proper class name format.
4233
4234 2006-10-09 Gary Benson <gbenson@redhat.com>
4235
4236 * java/net/ServerSocket.java
4237 (implAccept): Add security check.
4238 (accept): Close socket if security check fails.
4239 (setSocketFactory): Add security check and already-set check.
4240
4241 2006-10-09 Roman Kennke <kennke@aicas.com>
4242
4243 PR 29325
4244 * javax/swing/JSplitPane.java
4245 (dividerLocation): New field. Stores the divider location.
4246 (JSplitPane): Initialize dividerLocation with -1.
4247 (addImpl): Removed unneeded local variables.
4248 (getDividerLocation): Manage dividerLocation in the JSplitPane
4249 class, not in the UI.
4250 (setDividerLocation): Manage dividerLocation in the JSplitPane
4251 class, not in the UI. Only call the UI method for notification.
4252 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4253 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4254 location from the JSplitPane. Honour the minimumSize, but only
4255 if the divider location hasn't been set explicitly.
4256 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4257 statement.
4258 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4259 statement.
4260 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4261 the divider location.
4262 (dividerLocationSet): New field.
4263 (dividerLocation): Removed field.
4264 (createActionMap): Fetch and set divider location on the JSplitPane.
4265 (getDividerLocation): Return the actual real divider location.
4266 (getMaximumSize): Removed unneeded cast.
4267 (getPreferredSize): Removed unneeded cast.
4268 (getMinimumSize): Removed unneeded cast.
4269 (installUI): Initialize dividerLocationSet with false.
4270 (uninstallUI): Initialize dividerLocationSet with false.
4271 (setDividerLocation): Set dividerLocationSet to true.
4272
4273 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4274
4275 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4276 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4277 convert jstring into char *.
4278 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4279 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4280 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4281 (getif_address): Added const modifier to second argument.
4282 (getif_index): Dito.
4283
4284 2006-10-09 Roman Kennke <kennke@aicas.com>
4285
4286 * javax/swing/JTree.java
4287 (isSelected): Added API docs.
4288
4289 2006-10-09 Roman Kennke <kennke@aicas.com>
4290
4291 * javax/swing/JTree.java
4292 (isSelected): Delegate to the selection model directly.
4293
4294 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4295
4296 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4297 sizeof_struct_kevent to _sizeof_struct_kevent.
4298
4299 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4300
4301 * tools/gnu/classpath/tools/rmic/RMICException.java:
4302 javadoc corrections, reformatted.
4303
4304 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4305
4306 * gnu/java/lang/InstrumentationImpl.java:
4307 Made constructor package visible.
4308
4309 2006-10-05 Gary Benson <gbenson@redhat.com>
4310
4311 * java/net/Socket.java
4312 (Socket): Perform security check on address not hostname.
4313
4314 2006-10-04 Roman Kennke <kennke@aicas.com>
4315
4316 * javax/swing/tree/VariableHeightLayoutCache.java
4317 (getBounds): When rect is null, create a new Rectangle.
4318
4319 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4320
4321 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4322 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4323 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4324 (cpnio_select): Use CPNIO_EXPORT.
4325 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4326 inline instead of extern inline, as newer GCCs changed their
4327 behavior.
4328
4329 2006-10-04 Gary Benson <gbenson@redhat.com>
4330
4331 * java/net/InetAddress.java: Updated javadoc.
4332 (<clinit>, getByLiteral): Throw InternalError on failures.
4333
4334 2006-10-03 Francis Kung <fkung@redhat.com>
4335
4336 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4337 (compCtx): New field for composite context.
4338 (copy): Copy composite.
4339 (dispose): Dispose of composite context.
4340 (getNativeCM): New method.
4341 (setComposite): Discard old composite context and set up new context.
4342 (setRenderingHints): Update composite context.
4343 * gnu/java/awt/peer/gtk/CairoSurface.java
4344 (nativeColorModel): New field, renamed from nativeModel.
4345 (nativeModel): Renamed field to nativeColorModel.
4346 (CairoSurface(int, int)): Call new method to create sample model.
4347 (createNativeSampleModel): New method.
4348 (getBufferedImage): Updated variable name.
4349 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4350 (buffer): New field.
4351 (createBuffer): New method.
4352 (draw): New method.
4353 (drawComposite): New method.
4354 (drawGlyphVector): New method.
4355 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4356 (drawImage(Image, int, int, ImageObserver)): Check composite.
4357 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4358 (fill): New method.
4359 (getNativeCM): New method.
4360 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4361 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4362 intermediary pixbuf to grab on-screen pixels.
4363
4364 2006-10-03 Tom Tromey <tromey@redhat.com>
4365
4366 PR classpath/28987:
4367 * java/util/IdentityHashMap.java (tombstone): Removed.
4368 (emptyslot): Removed.
4369 (nullslot): New field.
4370 (IdentityHashMap): Don't fill array.
4371 (clear): Fill with null.
4372 (hash): Now final. Use linear probing.
4373 (xform): New method.
4374 (unxform): Likewise.
4375 (removeAtIndex): Likewise.
4376 (clone, containsKey, containsValue, entrySet, get, hashCode,
4377 keySet, put, remove, values): Updated.
4378 (IdentityIterator, IdentityEntry): Likewise.
4379 (writeObject): Likewise.
4380
4381 2006-10-03 Tom Tromey <tromey@redhat.com>
4382
4383 * java/util/Locale.java (hashcode): Updated javadoc.
4384 (hashcodeCache): Removed.
4385 (Locale): Updated.
4386 (hashCode): Updated.
4387 (writeObject): New method.
4388 (readObject): Updated.
4389
4390 2006-10-02 Francis Kung <fkung@redhat.com>
4391
4392 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4393 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4394 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4395 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4396 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4397 pre-multiply data before drawing.
4398 (fillRect): Draw using regular fill() method.
4399 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4400 * gnu/java/awt/peer/gtk/CairoSurface.java
4401 (nativeModel): Use correct value for alpha premultiplication (true).
4402 * java/awt/image/BufferedImage.java
4403 (coerceData): Update isPremultiplied field.
4404
4405 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4406
4407 * gnu/classpath/ListenerData.java:
4408 New class for holding listener data.
4409 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4410 ListenerData class moved to its own file.
4411 * javax/management/MBeanServerDelegate.java,
4412 * javax/management/MBeanServerDelegateMBean.java,
4413 * javax/management/MBeanServerNotification.java:
4414 Implemented.
4415
4416 2006-10-02 Tania Bento <tbento@redhat.com>
4417
4418 * java/ast/Rectangle.java:
4419 (Rectangle(Rectangle)): Do not throw NPE.
4420 (Rectangle(Point, Dimension)): Same.
4421 (Rectangle(Point)): Same.
4422 (Rectangle(Dimension)): Same.
4423
4424 2006-09-29 Casey Marshall <csm@gnu.org>
4425
4426 PR 29190
4427 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4428 `AbstractSelectionKey.'
4429 (cancel, isValid): removed.
4430 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4431 (events): new field.
4432 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4433 fields.
4434 (<clinit>): initialize those constants.
4435 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4436 (doSelect): deregister cancelled keys; remove keys attached to
4437 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4438 `events' buffer; reallocate `events' buffer if needed.
4439 (register): reallocate `events' buffer if needed.
4440 (reallocateBuffer): new method.
4441 (cancel): removed.
4442
4443 2006-09-29 Roman Kennke <kennke@aicas.com>
4444
4445 PR 28929
4446 * javax/swing/JViewport.java
4447 (cinit): Renamed system property to gnu.swing.scrollmode
4448 to avoid bloat. Default to BACKINGSTORE, this is much
4449 more reliable.
4450 (repaint): Forward repaint() to parent as is specified.
4451
4452 2006-09-29 Tania Bento <tbento@redhat.com>
4453
4454 * javax/swing/plaf/basic/BasicTableUI.java
4455 (getPreferredSize): The number of iterations for the for-loop should be
4456 the number of columns in the table's column model, not the number of
4457 columns of the table.
4458 * javax/swing/JTable.java
4459 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4460 lines that are not needed.
4461 (initializeLocalVars): dragEnabled should be set to false, not true.
4462 (getCellRenderer): Added a check to prevent an
4463 ArrayIndexOutOfBoundsException.
4464 (doLayout): The number of iterations for the for-loops should be the
4465 number of columns in the table's column model, not the number of columns
4466 of the table.
4467
4468 2006-09-29 Roman Kennke <kennke@aicas.com>
4469
4470 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4471 API docs.
4472 (isOptimized): Initialize with true.
4473 (paintRaster): Removed unneeded field.
4474 (shapeCache): New static field. Caches certain shapes for reuse.
4475 (computeIntersection): Removed unneeded casts.
4476 (drawArc): Use shape cache.
4477 (drawImage): Removed unneeded statement.
4478 (drawLine): Use shape cache. Pass untranslated coordinates
4479 to rawDrawLine().
4480 (drawOval): Use shape cache.
4481 (drawPolygon): Use shape cache.
4482 (drawRect): Overridden to provide accelerated rectangle drawing
4483 if possible and to use the shape cache.
4484 (drawRoundRect): Use shape cache.
4485 (fillArc): Use shape cache.
4486 (fillOval): Use shape cache.
4487 (fillPolygon): Use shape cache.
4488 (fillRect): Pass untranslated coordinates to rawFillRect().
4489 Use shape cache.
4490 (fillRoundRect): Use shape cache.
4491 (fillScanlineAA): Removed unneeded statement.
4492 (fillScanline): Updated API docs.
4493 (fillShapeAntialias): Removed unnecessary cast.
4494 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4495 (fillShape): Updated API docs.
4496 (getShapeCache): New helper method.
4497 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4498 certain shapes for reuse in AbstractGraphics2D.
4499
4500 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4501
4502 * javax/management/BadBinaryOpValueExpException.java:
4503 (getExp()): Implemented.
4504 * javax/management/MBeanConnection.java:
4505 Renamed to MBeanServerConnection.
4506 * javax/management/MBeanServer.java:
4507 (setAttribute(Attribute)): Fixed...
4508 (setAttribute(ObjectName,Attribute)): to this.
4509 * javax/management/MBeanServerConnection.java:
4510 Renamed from MBeanConnection.
4511 * javax/management/QueryExp.java:
4512 Extend Serializable.
4513 * javax/management/ValueExp.java:
4514 Likewise.
4515 * javax/management/loading/ClassLoaderRepository.java:
4516 (loadClass(String)): Throw ClassNotFoundException.
4517 (loadClassBefore(ClassLoader,String)): Likewise.
4518 (loadClassWithout(String, ClassLoader): Fixed...
4519 (loadClassWithout(ClassLoader,String)): to this.
4520
4521 2006-09-28 Roman Kennke <kennke@aicas.com>
4522
4523 * javax/swing/tree/DefaultTreeCellRenderer.java
4524 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4525 property from UIManager.
4526 (paint): Rewritten to use super's implementation and only paint
4527 background and focus indicator before.
4528 (paintFocus): New helper method.
4529 (getXOffset): New helper method.
4530
4531 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4532
4533 * javax/management/BadBinaryOpValueExpException.java,
4534 * javax/management/MBeanConnection.java,
4535 * javax/management/MBeanServer.java,
4536 * javax/management/ObjectInstance.java:
4537 Implemented.
4538 * javax/management/ObjectName.java:
4539 (setMBeanServer(MBeanServer)): Implemented.
4540 * javax/management/QueryExp.java,
4541 * javax/management/ValueExp.java,
4542 * javax/management/loading/ClassLoaderRepository.java:
4543 Implemented.
4544
4545 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4546
4547 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4548
4549 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4550
4551 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4552 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4553 * gnu/java/nio/EpollSelectorImpl.java:
4554 (doSelect): Use Integer.valueOf() instead of constructor call.
4555 (register): Use Integer.valueOf() instead of constructor call.
4556
4557 2006-09-27 Roman Kennke <kennke@aicas.com>
4558
4559 * java/awt/Container.java
4560 (addContainerListener): Activate newEventsOnly for the component.
4561 Ignore null listeners.
4562
4563 2006-09-27 Roman Kennke <kennke@aicas.com>
4564
4565 * java/awt/EventQueue.java
4566 (Queue): New inner class. Implements the actual queue.
4567 (LOW_PRIORITY): New constant field.
4568 (NORM_PRIORITY): New constant field.
4569 (queueHead): Removed. Moved into Queue.
4570 (queueTail): Removed. Moved into Queue.
4571 (queues): New field.
4572 (EventQueue): Initialize two internal queues, one for
4573 normal events, one for low priority events.
4574 (getNextEventImpl): New helper method, fetches the next event.
4575 (getNextEvent): Use getNextEventImpl() for fetching the event.
4576 (peekEvent): Use getNextEventImpl() for fetching the event.
4577 (peekEvent(int)): Search for event in all queues.
4578 (postEventImpl(AWTEvent)): Moved actual posting into
4579 postEventImpl(AWTEvent,int). Prioritize events here.
4580 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4581 event into correct queue. Re-enable event coalescing.
4582 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4583 * javax/swing/RepaintManager.java
4584 (RepaintWorkerEvent): New internal class. This is a low priority
4585 event for the repaint worker.
4586 (addDirtyRegion): Use new internal invokeLater() for sending
4587 a low priority event.
4588 (addInvalidComponent): Use new internal invokeLater() for sending
4589 a low priority event.
4590 (commitBuffer): Added some null checks.
4591 (invokeLater): New helper method. Sends a low priority
4592 repaint worker event on the event queue.
4593
4594 2006-09-27 Roman Kennke <kennke@aicas.com>
4595
4596 PR 29036
4597 PR 29161
4598 * javax/swing/plaf/basic/BasicButtonUI.java
4599 (cachedInsets): New field.
4600 (installListeners): Fire synthetic property change to initialize
4601 TEXT_LAYOUT_CACHE for the button because the font has been
4602 installed before.
4603 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4604 (paint): Use cached insets.
4605 (paintText): Let new method forward to old one, not vice versa.
4606 * javax/swing/plaf/basic/BasicMenuItemUI.java
4607 (defaultAcceleratorLabelGap): Removed unused field.
4608 (MenuGap): Removed unused field.
4609 (propertyChangeListener): Made private.
4610 (getAcceleratorRect): Removed unused method.
4611 (getAcceleratorText): Removed unused method.
4612 (getPath): Removed unnecessary cast.
4613 (installListeners): Fire synthetic property change to initialize
4614 TEXT_LAYOUT_CACHE for the button because the font has been
4615 installed before.
4616 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4617 (layoutMenuItem): Removed unused statements.
4618
4619 2006-09-27 Roman Kennke <kennke@aicas.com>
4620
4621 PR 29218
4622 * javax/swing/tree/DefaultTreeModel.java
4623 (isLeaf): Check if the node allows children when
4624 asksAllowsChildren is true, otherwise fall back
4625 to return the node's leaf property.
4626
4627 2006-09-27 Mario Torre <neugens@limasoftware.net>
4628
4629 * scripts/check_jni_methods.sh: removed methods from the
4630 ignore list:
4631 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
4632 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
4633 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
4634 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4635 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4636 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
4637 to better follow the GNU style.
4638 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
4639 regenerated header file for GConfNativePeer.
4640
4641 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4642
4643 * INSTALL: Added information about grmic being built when ASM
4644 is available, added information about gconf dependency, indented
4645 Qt4 dependency section.
4646 * configure.ac: Added information about grmic being built when ASM
4647 is available.
4648
4649 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
4650
4651 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
4652 DeleteGlobalRef on a local ref.
4653
4654 2006-09-24 Mario Torre <neugens@limasoftware.net>
4655
4656 * scripts/check_jni_methods.sh: added two new methods in the
4657 ignore list:
4658 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4659 and
4660 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4661 * native/jni/gconf-peer/GConfNativePeer.c:
4662 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
4663 refacored method name, renamed from
4664 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
4665 Added code to unescape escaped GConf key names.
4666 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
4667 refacored method name, renamed from
4668 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
4669 Added code to unescape escaped GConf key names.
4670 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
4671 new function.
4672 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
4673 new function.
4674 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
4675 version javadoc tag.
4676 (escapeString): new method.
4677 (unescapeString): likewise.
4678 (gconf_escape_key): new native method.
4679 (gconf_unescape_key): likewise.
4680 (gconf_client_suggest_sync): update native method signature, now
4681 explicity throws BackingStoreException.
4682 (gconf_client_all_nodes): update native method signature, now
4683 explicity throws BackingStoreException. Refactored method name,
4684 renamed from gconf_client_gconf_client_all_nodes.
4685 (gconf_client_all_keys): update native method signature, now
4686 explicity throws BackingStoreException. Refactored method name,
4687 renamed from gconf_client_gconf_client_all_keys.
4688 (getKeys): refactored to use the new method name
4689 gconf_client_all_keys.
4690 (getChildrenNodes): refactored to use the new method name
4691 gconf_client_all_nodes.
4692 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
4693 version javadoc tag.
4694 (GConfBasedPreferences): Added code to escape node names from
4695 invalid characters so that GConf now accept invalid node names.
4696 (GConfBasedPreferences): Moved code to register the current
4697 node to the list of nodes watched by GConf outside the constructor.
4698 (childSpi): Added code to register the current node to the
4699 list of nodes watched by GConf.
4700 (getGConfKey): Added code to escape key names from
4701 invalid characters so that GConf now accept invalid key names.
4702
4703 2006-09-26 Tom Tromey <tromey@redhat.com>
4704
4705 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
4706 call mkdirs in output-directory case.
4707 (getPrintStream): Create output directory.
4708 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
4709 Don't call mkdirs.
4710
4711 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
4712
4713 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
4714 Accept three additional arguments.
4715 (writePreambleImpl): New method.
4716 (getPrintStreamImpl): Likewise.
4717 (printClass): Adapted to use new methods in Printer superclass.
4718 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
4719 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
4720 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
4721 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
4722 (force): Likewise.
4723 (getParser): Add support for -o option.
4724 Check that only one of -d or -o is defined.
4725 Add support for -jni option.
4726 Add support for -force option.
4727 (makeOutputFile): New method.
4728 (writeHeaders): Removed File argument from signature.
4729 (run): Take into account newly added fields.
4730 Invoke concrete PrintStream implementations with augmented constructors.
4731 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
4732 (isDirectory): Likewise.
4733 (force): Likewise.
4734 (wrotePreamble): Likewise.
4735 (Printer): Changed ctor to accept three additional arguments.
4736 (printClass): Changed signature to accept one ClassWrapper argument.
4737 (writePreambleImpl): New abstract method.
4738 (getPrintStreamImpl): Likewise.
4739 (getPrintStream): New method.
4740 (writePreamble): Likewise.
4741
4742 2006-09-26 Tania Bento <tbento@redhat.com>
4743
4744 * java/awt/GridLayout.java
4745 (toString): There is no common before hgap.
4746 * java/awt/Rectangle.java
4747 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
4748 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
4749 Rectangle is null.
4750 (Rectangle(Point)): Throw NPE if Point is null.
4751 (Rectangle(Dimension)): Throw NPE if Dimension is null.
4752
4753 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4754
4755 * javax/swing/plaf/metal/MetalIconFactory.java
4756 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
4757 returned by getShift(),
4758 (FileIcon16.getShift): Updated API docs,
4759 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
4760 returned by getShift(),
4761 (FolderIcon16.getShift): Updated API docs,
4762 (TreeFolderIcon.getShift): Likewise,
4763 (TreeLeafIcon.getShift): Likewise.
4764
4765 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4766
4767 * javax/swing/plaf/metal/MetalIconFactory.java
4768 (FileIcon16.paintIcon): Fetch colors from look and feel,
4769 (FolderIcon16.paintIcon): Likewise.
4770
4771 2006-09-25 Casey Marshall <csm@gnu.org>
4772
4773 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
4774 `readScattering.'
4775 (write): revert back to using `writeGathering.'
4776 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
4777 the first buffer that has data remaining, and start at that one.
4778
4779 2006-09-25 Tom Tromey <tromey@redhat.com>
4780
4781 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
4782 variable.
4783
4784 2006-09-25 Tom Tromey <tromey@redhat.com>
4785
4786 * tools/.cvsignore: Updated.
4787
4788 2006-09-25 Tom Tromey <tromey@redhat.com>
4789
4790 PR libgcj/29178:
4791 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
4792 (Encoder.canEncode): Likewise.
4793 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
4794 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
4795 method.
4796 (Encoder.canEncode): Likewise.
4797 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
4798 method.
4799 (Encoder.canEncode): Likewise.
4800
4801 2006-09-25 Tom Tromey <tromey@redhat.com>
4802
4803 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
4804 (Balloc): Updated.
4805
4806 2006-09-25 Francis Kung <fkung@redhat.com>
4807
4808 * java/awt/image/ColorModel.java
4809 (coerceData): Made abstract.
4810 (coerceDataWorker): New protected method.
4811 * java/awt/image/ComponentColorModel.java
4812 (coerceData): Return new instance of proper ColorModel.
4813 * java/awt/image/DirectColorModel.java
4814 (coerceData): Return new instance of proper ColorModel.
4815 * java/awt/image/IndexColorModel.java
4816 (coerceData): New method.
4817
4818 2006-09-24 Casey Marshall <csm@gnu.org>
4819
4820 * gnu/java/nio/FileChannelImpl.java
4821 (read): call `read' in a loop, don't use `readScattering.'
4822 (write): call `write' in a loop, don't use `writeGathering.'
4823
4824 2006-09-24 Mark Wielaard <mark@klomp.org>
4825
4826 * configure.ac: Move -pedantic from WARNING to STRICT flags.
4827
4828 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4829
4830 * java/nio/channels/spi/AbstractSelectableChannel.java
4831 (register): Set interestOps and attachment when the key already
4832 exists.
4833
4834 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4835
4836 * java/net/ServerSocket.java
4837 (bind(SocketAddress,int)): Added support for null address.
4838 Throw proper exception if already bound.
4839 Handle unresolved addresses correctly. Ignore exceptions that
4840 happen during close in error path (to prevent losing the original
4841 exception.)
4842
4843 2006-09-24 Mark Wielaard <mark@klomp.org>
4844
4845 Suggested by Aaron M. Ucko <ucko@debian.org>
4846 Fixes bug #29203
4847 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
4848
4849 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4850
4851 * java/nio/channels/spi/AbstractSelectableChannel.java
4852 (implCloseChannel): Cancel all keys after closing the channel.
4853
4854 2006-09-22 Casey Marshall <csm@gnu.org>
4855
4856 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
4857 after we delete them.
4858 (selectedKeys): return an empty set if nothing's been selected.
4859 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
4860 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
4861 throw an exception on EBADF.
4862 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
4863 throw exception on EINTR, just return 0.
4864
4865 2006-09-22 Casey Marshall <csm@gnu.org>
4866
4867 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4868 remove `const' from `filename.'
4869 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
4870 `filename.'
4871 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
4872
4873 2006-09-22 Casey Marshall <csm@gnu.org>
4874
4875 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
4876 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4877 allocate `filename,' and handle changes to `cpio_readDir.'
4878 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
4879 available; copy the filename into the destination buffer; return
4880 an error code if readdir returns NULL, but errno is 0.
4881 * native/jni/native-lib/cpio.h (cpio_readDir): change second
4882 parameter to `const char *.'
4883
4884 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
4885
4886 * javax/management/ObjectName.java:
4887 Implemented.
4888
4889 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4890
4891 * resource/gnu/classpath/tools/orbd: New directory.
4892 * resource/gnu/classpath/tools/rmic: Likewise.
4893 * resource/gnu/classpath/tools/rmid: Likewise.
4894 * resource/gnu/classpath/tools/rmiregistry: Likewise.
4895 * resource/gnu/classpath/tools/tnameserv: Likewise.
4896 * tools/gnu/classpath/tools/giop: Move contents to...
4897 * tools/gnu/classpath/tools/orbd,
4898 tools/gnu/classpath/tools/tnameserv: New directories.
4899 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
4900 * tools/gnu/classpath/tools/rmic: New directory.
4901 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
4902 * tools/gnu/classpath/tools/rmid: New directory.
4903 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
4904 * tools/gnu/classpath/tools/rmiregistry: New directory.
4905 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
4906 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
4907 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
4908 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
4909 Likewise.
4910 * resource/gnu/classpath/tools/tnameserv/messages.properties:
4911 Likewise.
4912 * tools/gnu/classpath/tools/orbd/Main.java,
4913 tools/gnu/classpath/tools/orbd/Messages.java,
4914 tools/gnu/classpath/tools/orbd/PersistentContext.java,
4915 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
4916 tools/gnu/classpath/tools/orbd/PersistentMap.java,
4917 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
4918 tools/gnu/classpath/tools/rmic/CompilationError.java,
4919 tools/gnu/classpath/tools/rmic/Generator.java,
4920 tools/gnu/classpath/tools/rmic/GiopIo.java,
4921 tools/gnu/classpath/tools/rmic/HashFinder.java,
4922 tools/gnu/classpath/tools/rmic/Main.java,
4923 tools/gnu/classpath/tools/rmic/Messages.java,
4924 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
4925 tools/gnu/classpath/tools/rmic/RMICException.java,
4926 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
4927 tools/gnu/classpath/tools/rmic/RmicBackend.java,
4928 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
4929 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
4930 tools/gnu/classpath/tools/rmic/Variables.java,
4931 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
4932 tools/gnu/classpath/tools/rmic/templates,
4933 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
4934 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
4935 tools/gnu/classpath/tools/rmid/Main.java,
4936 tools/gnu/classpath/tools/rmid/Messages.java,
4937 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
4938 tools/gnu/classpath/tools/rmiregistry/Main.java,
4939 tools/gnu/classpath/tools/rmiregistry/Messages.java,
4940 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
4941 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
4942 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
4943 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
4944 tools/gnu/classpath/tools/tnameserv/Main.java,
4945 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
4946 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
4947 RMIC.java from cp-tools.
4948 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
4949 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
4950 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
4951 and grmic.
4952 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
4953 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
4954 Rename...
4955 (start): New method.
4956 * tools/Makefile.am: Add build support for new tool wrappers.
4957 * tools/gorbd.in: New file.
4958 * tools/grmic.in: Likewise.
4959 * tools/grmid.in: Likewise.
4960 * tools/grmiregistry.in: Likewise.
4961 * tools/gtnameserv.in: Likewise.
4962 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
4963 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
4964 file.
4965 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
4966 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
4967 * tools/gnu/classpath/tools/common/Persistent.java: New file.
4968
4969 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
4970
4971 Fixes bug #29047
4972 * gnu/java/util/regex/RETokenRepeated.java
4973 (findMatch): Rewriten without using recursive calls,
4974 (FindMatchControlStack): New class,
4975 (FindMatchControl): New class,
4976 (TryAnotherResult): New class,
4977 (tryAnother): New method.
4978
4979 2006-09-22 Gary Benson <gbenson@redhat.com>
4980
4981 * java/net/SocketPermission.java
4982 (processHostport): Cope with IPv6 addresses with a
4983 one-digit first component.
4984
4985 2006-09-22 Roman Kennke <kennke@aicas.com>
4986
4987 * java/awt/Component.java
4988 (enableEvents): Set newEventsOnly flag.
4989 * java/awt/Container.java
4990 (dispatchEventImpl): Consume event if lightweight dispatcher
4991 dispatched the event. Don't call processEvent() here, this
4992 is already done in Component.dispatchEventImpl(). For
4993 heavyweights or when the lightweight dispatcher could
4994 not dispatch, fall back to calling super.
4995 (dispatchNoLightweight): New helper method to avoid
4996 recursivly calling the lightweight dispatcher.
4997 * java/awt/LightweightDispatcher.java
4998 (dragButton): Removed field.
4999 (dragTarget): Removed field.
5000 (mouseEventTarget): New field.
5001 (convertPointToChild): Removed method.
5002 (dispatchEvent): Don't depend on component beeing
5003 a window.
5004 (findTarget): Improved algorithm for finding a target.
5005 Before we went down to the deepest component and went
5006 up again to find a suitable target. Now we go
5007 down only once, without going up.
5008 (handleMouseEvent): Broke method down into some smaller
5009 helper methods.
5010 (isDragging): New helper method.
5011 (isMouseListening): New helper method.
5012 (redispatch): New helper method.
5013 (trackEnterExit): New helper method.
5014
5015 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5016
5017 * javax/swing/SizeSequence.java
5018 (getSize): Return 0 if index is out of bounds.
5019
5020 2006-09-21 Tom Tromey <tromey@redhat.com>
5021
5022 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5023 (PathOptionGroup): Make -I a joined option.
5024 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5025 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5026 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5027 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5028 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5029 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5030 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5031 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5032 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5033 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5034 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5035 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5036 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5037 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5038 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5039 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5040 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5041 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5042 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5043 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5044 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5045 unused entries.
5046 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5047 * tools/gnu/classpath/tools/common/Messages.java: New file.
5048 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5049 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5050 from getopt.
5051 (ClasspathToolParser): Add -J option here.
5052 (ClasspathToolParser): Call other constructor in this class.
5053 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5054 Handle joined options.
5055 (handleShortOptions): Likewise.
5056 (handleShortOption): Removed.
5057 (finalGroup): New field.
5058 (Parser): Initialize new field. Don't add -J option.
5059 (addFinal): New method.
5060 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5061 isJoined.
5062 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5063 (Option): Check short option for validity.
5064 (Option): New constructors.
5065 (joined): New field.
5066
5067 2006-09-21 csm <csm@pollux.local>
5068
5069 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5070 `InterruptedIOException;' try again if it gets thrown.
5071 (receive): likewise, but re-throw `SocketTimeoutException.'
5072 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5073 if we have nothing to select.
5074
5075 2006-09-21 Francis Kung <fkung@redhat.com>
5076
5077 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5078 (getLogicalBounds): Respect glyph transformations.
5079 (getGlyphOutline): Added null pointer check.
5080 (getGlyphTransform): Do not generate identity transform (API permits null).
5081 (setGlyphPosition): Do not invalidate transform.
5082 (setGlyphTransform): Do not modify glyph position.
5083
5084 2006-09-21 Francis Kung <fkung@redhat.com>
5085
5086 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5087
5088 2006-09-21 Francis Kung <fkung@redhat.com>
5089
5090 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5091 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5092 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5093
5094 2006-09-21 Tania Bento <tbento@redhat.com>
5095
5096 * javax/swing/JTabbedPane.java:
5097 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5098 (setModel): A ChangeListener should be created only if there does not
5099 currently exist one.
5100
5101 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5102
5103 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5104 (MaximizeAction.actionPerformed): Change icon on maxButton.
5105
5106 2006-09-21 Roman Kennke <kennke@aicas.com>
5107
5108 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5109 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5110 Use more efficient getViewPosition() and getViewSize() methods
5111 to avoid creating a rectangle.
5112 (HSBChangeListener.stateChanged): Update the view position
5113 unconditionally. Let the Viewport figure out if something
5114 changed.
5115 (VSBChangeListener.stateChanged): Update the view position
5116 unconditionally. Let the Viewport figure out if something
5117 changed.
5118 * javax/swing/JViewport.java
5119 (ViewListener.componentResized): Fire state change, because
5120 the extentSize changes.
5121 (extentSize): Removed unneeded field.
5122 (viewSize): Removed unneeded field.
5123 (getExtentSize): Return the viewport's size here.
5124 (getViewRect): Reformatted.
5125 (getViewSize): Reordered for only one return statement.
5126 (paintImmediately2): Fixed up javadoc.
5127 (paint): Removed unneeded statement.
5128 (setExtentSize): Set viewport size and check for actual change
5129 of value.
5130 (setViewPosition): Simplified condition. Set scrollUnderway
5131 true and don't set isViewSizeSet. Avoid creating one Point
5132 object.
5133 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5134 to false.
5135 * javax/swing/JScrollBar.java
5136 (ScrollBarListener): New class. Forwards change events from
5137 the model as adjustment events.
5138 (sbChangeListener): New field.
5139 (JScrollBar): Install listener on new model.
5140 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5141 method.
5142 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5143 method to allow custom isAdjusting value.
5144 (setMaximum): Only forward to model.
5145 (setMinimum): Only forward to model.
5146 (setValue): Only forward to model.
5147 (setVisibleAmount): Only forward to model.
5148 (setValues): Only forward to model.
5149 (setModel): Update the change listener.
5150
5151 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5152
5153 * java/util/Formatter.java (basicIntegralConversion): Removed
5154 check for ZERO && !LEFT_JUSTIFY.
5155
5156 2006-09-20 Roman Kennke <kennke@aicas.com>
5157
5158 PR 29036
5159 * javax/swing/plaf/metal/DefaultMetalTheme.java
5160 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5161 (BOLD_CONTROL_TEXT_FONT): New constant field.
5162 (PLAIN_MENU_TEXT_FONT): New constant field.
5163 (BOLD_MENU_TEXT_FONT): New constant field.
5164 (controlTextFont): Removed.
5165 (menuTextFont): Removed.
5166 (CONTROL_TEXT_FONT): New constant field.
5167 (MENU_TEXT_FONT): New constant field.
5168 (getControlTextFont): Use getFont() helper method for fetching
5169 the correct font.
5170 (getMenuTextFont): Use getFont() helper method for fetching
5171 the correct font.
5172 (getFont): New helper method.
5173 (isBoldMetal): New helper method.
5174
5175 2006-09-20 Casey Marshall <csm@gnu.org>
5176
5177 * NEWS: mention epoll selector along with the kqueue one.
5178
5179 2006-09-20 Casey Marshall <csm@gnu.org>
5180
5181 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5182 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5183
5184 2006-09-20 Francis Kung <fkung@redhat.com>
5185
5186 PR 29011
5187 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5188 (getGlyphTransform): Use translation instead of scale.
5189 (performDefaultLayout): Increment position values instead of resetting, and
5190 pre-increment instead of post-increment.
5191 (setGlyphTransform): Handle null case with identity transform.
5192
5193 2006-09-20 Casey Marshall <csm@gnu.org>
5194
5195 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5196 (AC_CHECK_FUNCS): check for `epoll_create.'
5197 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5198 * gnu/java/nio/EpollSelectorImpl.java: new file.
5199 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5200 field.
5201 (openSelector): return epoll selector if requested and available.
5202 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5203 (gnu_java_nio_EpollSelectorImpl.h): new target.
5204 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5205 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5206 gnu_java_nio_EpollSelectorImpl.c.
5207 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5208
5209 2006-09-20 Casey Marshall <csm@gnu.org>
5210
5211 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5212 call `isConnected.'
5213 (isConnected): return false if `connectionPending' is true.
5214
5215 2006-09-20 Francis Kung <fkung@redhat.com>
5216
5217 PR 29011
5218 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5219 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5220 (getGlyphOutline): Call getGylphTransform to generate transform.
5221 (getGylphPosition): Read position directly out of array.
5222 (getGlyphPositions): Read positions directly out of array.
5223 (getGlyphTransform): Generate transform based on gylphPositions array.
5224 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5225 (setGlyphPosition): Set position directly into array.
5226 (setGlyphTransform): Update positions array as well.
5227
5228 2006-09-20 David Daney <ddaney@avtrex.com>
5229
5230 PR classpath/28661
5231 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5232 default content-type for POST method.
5233
5234 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5235
5236 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5237 (BasicRadioButtonUI): Don't fetch icon here,
5238 (installDefaults): Initialise icon here,
5239 (getDefaultIcon): Just return icon.
5240
5241 2006-09-20 Mark Wielaard <mark@klomp.org>
5242
5243 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5244 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5245 (EXTRA_DIST): Include javanio.c.
5246
5247 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5248
5249 * java/awt/geom/RoundRectangle2D.java:
5250 (getPathIterator): Reimplemented,
5251 and updated various API doc comments.
5252
5253 2006-09-20 Roman Kennke <kennke@aicas.com>
5254
5255 * java/awt/Container.java
5256 (addImpl): Set the new component's parent after it has been
5257 added to the array. Call addNotify() and invalidate()
5258 after the component has been added, so that the peer
5259 gets to know about the component structure when it is created.
5260 * java/awt/Window.java
5261 (dispatchEventImpl): Only revalidate when window is resized,
5262 let the other stuff be processed by the superclass.
5263 (dispose): Post WINDOW_CLOSED event only when some listener
5264 is registered or event is explicitly enabled.
5265 (show): Post WINDOW_OPENED event when appropriate.
5266
5267 2006-09-20 Roman Kennke <kennke@aicas.com>
5268
5269 * java/awt/Component.java
5270 (addNotify): Invalidate here. Fetch peer font.
5271 (getFont): Delegate to helper method, to protect from
5272 overriding client code. Lock the tree while fetching the font.
5273 (getFontImpl): New helper method. Moved code from getFont() in
5274 here.
5275 (removeNotify): Nullify peerFont too.
5276 (setFont): Synchronize on tree and component to avoid threading
5277 issues. Update the peerFont correctly.
5278 (validate): Update the peer font if necessary, before validating.
5279 (getGraphics): Revert to recursive graphics fetching.
5280 Set component font on the Graphics object.
5281 (translateEvent): Removed unnecessary cast.
5282 * java/awt/Container.java
5283 (invalidateTree): Made final and private. Made implementation
5284 slightly more efficient.
5285 (setFont): Get old and new font via getFont() to account for
5286 the real font, and only invalidate the tree when they are not
5287 the same and not equal.
5288 (visitChild): Set the font of the child on the component graphics.
5289 * java/awt/Frame.java
5290 (setMenuBar): Create local reference of peer for thread safety.
5291 Only call simple invalidate, not invalidateTree().
5292
5293 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5294
5295 PR 29012
5296 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5297 (constructor): Copy image field.
5298
5299 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5300
5301 * javax/swing/JMenuBar.java
5302 (getHelpMenu): Implemented to throw an Error, and added API docs,
5303 (getMargin): Added API docs,
5304 (setMargin): Likewise.
5305
5306 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5307
5308 * javax/swing/AbstractButton.java
5309 (AbstractButton): Don't call updateUI(),
5310 * javax/swing/JButton.java
5311 (JButton(String, Icon)): Call setModel() before init(),
5312 * javax/swing/JMenuItem.java
5313 (JMenuItem()): Delegate to another constructor,
5314 (JMenuItem(Icon)): Likewise,
5315 (JMenuItem(Action)): Set model,
5316 (JMenuItem(String, Icon)): Likewise,
5317 * javax/swing/JToggleButton.java
5318 (init): Call setModel() before init().
5319
5320 2006-09-19 Mark Wielaard <mark@klomp.org>
5321
5322 Fixes bug #29137
5323 * java/util/logging/LogManager.java (addLogger): Always check for
5324 existing children of a new Logger.
5325
5326 2006-09-19 Roman Kennke <kennke@aicas.com>
5327
5328 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5329 (HSBChangeListener.stateChanged): Moved handling of header to
5330 syncScrollPaneWithViewport().
5331 (VSBChangeListener.stateChanged): Moved handling of header to
5332 syncScrollPaneWithViewport().
5333 (ViewportChangedHandler.stateChanged): Removed unused statements.
5334 (syncScrollPaneWithViewport): Added null checks. Use setValues
5335 rather then the single setter methods to avoid multiple
5336 adjustments and side effects. Also snyc the headers here.
5337 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5338 (uninstallUI): Removed unnecessary cast and this qualifier as well
5339 as the call to super.
5340
5341 2006-09-19 Gary Benson <gbenson@redhat.com>
5342
5343 * java/net/ResolverCache.java: New class (a DNS cache).
5344 * java/net/InetAddress.java
5345 (internalGetCanonicalHostName, getAllByName): Use the above.
5346
5347 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5348
5349 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5350 * java/net/ServerSocket.java
5351 (port): New field.
5352 (bind): Set port field.
5353 (close): Set impl to null.
5354 (isClosed): Check impl and channel instead of using VMChannel.
5355 (toString): Use port field and getLocalPort() method.
5356 * java/net/Socket.java
5357 (isClosed): Check impl and channel instead of using VMChannel.
5358
5359 2006-09-18 Tom Tromey <tromey@redhat.com>
5360
5361 * java/util/concurrent/CopyOnWriteArrayList.java
5362 (CopyOnWriteArrayList): New constructor.
5363
5364 2006-09-18 Casey Marshall <csm@gnu.org>
5365
5366 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5367 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5368
5369 2006-09-18 Tom Tromey <tromey@redhat.com>
5370
5371 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5372 isConnected): Removed old comment.
5373 (getRemoteSocketAddress): Uncommented.
5374 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5375 setTrafficClass, getTrafficClass, setReuseAddress,
5376 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5377 isOutputShutdown): Uncommented.
5378
5379 2006-09-18 David Pirkle <dpirkle@symyx.com>
5380
5381 Fixes PR 28589
5382 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5383 input stream during resolution.
5384
5385 2006-09-18 Roman Kennke <kennke@aicas.com>
5386
5387 * java/awt/LightweightDispatcher.java
5388 (findTarget): Correctly translate child coordinates.
5389 Use Component.eventTypeEnabled() for checking if a component
5390 has a certain event enabled.
5391 (handleMouseEvent): Find the correct mouse event target.
5392 Use Component.eventTypeEnabled() for checking if a component
5393 has a certain event enabled.
5394
5395 2006-09-18 Roman Kennke <kennke@aicas.com>
5396
5397 * java/awt/Component.java
5398 (show): Test for the peer beeing lightweight directly.
5399 (paintAll): Validate before painting. Don't paint when not
5400 showing. Call peer.paint() when the component is heavyweight.
5401 (repaint): Delegate to the parent when lightweight, rather
5402 than skipping to the nearest heavyweight.
5403 (createImage): Added null check to prevent NPE.
5404 (dispatchEvent): Moved old event dispatching and toolkit
5405 event dispatching to dispatchEventImpl.
5406 (addComponentListener): Don't enable event. Only add listener
5407 when not null. Switch to new event dispatching only.
5408 (addFocusListener): Likewise.
5409 (addHierarchyListener): Likewise.
5410 (addHierarchyBoundsListener): Likewise.
5411 (addKeyListener): Likewise.
5412 (addMouseListener): Likewise.
5413 (addMouseMotionListener): Likewise.
5414 (addMouseWheelListener): Likewise.
5415 (addInputMethodListener): Likewise.
5416 (coalesceEvents): For mouse events coalesce them only when
5417 their modifiers are equal. For paint events coalesce the events
5418 when one contains the other, without going through complicated
5419 heuristics.
5420 (dispatchEventImpl): Moved old event dispatching and toolkit
5421 event dispatching to dispatchEventImpl.
5422 (coalescePaintEvents): Removed.
5423 (HeavyweightInLightweightListener.componentHidden):
5424 Fixed condition.
5425 * java/awt/Container.java
5426 (addImpl): Don't enable events on lightweights.
5427 (remove): Reordered operations. Don't remove any listeners.
5428 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5429 Only removeNotify() when peer is != null. Only invalidate if
5430 not already invalid. Only fire ContainerEvent if there is
5431 an interested listener or the event is enabled. Dispatch this
5432 event directly without the event queue.
5433 (removeAll): Likewise.
5434 (paintComponents): Only paint when showing. Also paint heavyweights.
5435 Don't paint the container itself.
5436 (removeNotify): Create local variables for improved thread safety.
5437 (addNotifyContainerChildren): Don't enable events for lightweights.
5438
5439 2006-09-18 Roman Kennke <kennke@aicas.com>
5440
5441 * java/awt/EventQueue.java
5442 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5443 (next_in): Removed obsolete field.
5444 (next_out): Removed obsolete field.
5445 (queueHead): New field. Markes the head of the queue.
5446 (queueTail): New field. Markes the tail of the queue.
5447 (queue): Removed obsolete field.
5448 (EventQueue): Documented empty block.
5449 (getNextEvent): Changed array based implementation to single-linked
5450 list based implementation.
5451 (invokeAndWait): Use an Object as synchronization object rather
5452 than the current thread.
5453 (peekEvent(int)): Changed array based implementation to single-linked
5454 list based implementation.
5455 (peekEvent()): Changed array based implementation to single-linked
5456 list based implementation.
5457 (pop()): Changed array based implementation to single-linked
5458 list based implementation.
5459 (postEvent): Foward to postEventImpl.
5460 (postEventImpl): Changed array based implementation to single-linked
5461 list based implementation.
5462 (push): Changed array based implementation to single-linked
5463 list based implementation.
5464 * java/awt/AWTEvent.java
5465 (queueNext): New field. Implements a single-linked list for
5466 the EventQueue.
5467
5468 2006-09-17 Mark Wielaard <mark@klomp.org>
5469
5470 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5471 resource from HTMLEditorKit.class.
5472
5473 2006-09-17 Mark Wielaard <mark@klomp.org>
5474
5475 * javax/swing/plaf/basic/BasicToolBarUI.java
5476 (setBorderToNonRollover): Check whether border is null.
5477 (setBorderToRollover): Likewise.
5478
5479 2006-09-17 Mark Wielaard <mark@klomp.org>
5480
5481 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5482
5483 2006-09-17 Mark Wielaard <mark@klomp.org>
5484
5485 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5486 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5487 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5488 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5489 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5490
5491 2006-09-17 Casey Marshall <csm@gnu.org>
5492
5493 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5494 unused.
5495
5496 2006-09-17 Chris Burdess <dog@gnu.org>
5497
5498 Fixes PR 27610 27687.
5499 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5500 * gnu/xml/transform/SAXTemplatesHandler.java,
5501 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5502 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5503 SAXTransformerFactory.
5504
5505 2006-09-16 Casey Marshall <csm@gnu.org>
5506
5507 * NEWS: updated.
5508 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5509 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5510 kqueue, and kevent.
5511 (HAVE_INET6): define if IPv6 is supported.
5512 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5513 (native_fd): removed.
5514 (impl): new field.
5515 (<init>): throw IOException; initialize fields.
5516 (finalize): removed.
5517 (getNativeFD): removed.
5518 (bind): use `PlainSocketImpl.bind.'
5519 (create): use `PlainSocketImpl.initSocket.'
5520 (disconnect): use `PlainSocketImpl.disconnect.'
5521 (getLocalPort): new method.
5522 (send): use `VMChannel.send.'
5523 (receive): use `VMChannel.receive.'
5524 (setOption): use `PlainSocketImpl.setOption.'
5525 (getOption): use `PlainSocketImpl.getOption.'
5526 (close): use `VMChannel.State.close.'
5527 (join): use `PlainSocketImpl.join.'
5528 (leave): use `PlainSocketImpl.leave.'
5529 (joinGroup, leaveGroup): implemented.
5530 * gnu/java/net/PlainSocketImpl.java: make non-final.
5531 (native_fd): removed.
5532 (impl): new field.
5533 (channel): new field.
5534 (<init>): initialize `impl.'
5535 (finalize, getNativeFD): removed.
5536 (setOption): use `PlainSocketImpl.setOption.'
5537 (getOption): use `PlainSocketImpl.getOption.'
5538 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5539 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5540 (create): create `channel,' initialize `impl's native state.
5541 (connect): use `connect(SocketAddress, int).'
5542 (connect): use `SocketChannelImpl.connect;' initialize `address'
5543 and `port.'
5544 (bind): use `VMPlainSocketImpl.bind.'
5545 (listen): use `VMPlainSocketImpl.listen.'
5546 (accept): use `SocketChannelImpl.accept.'
5547 (available): use `VMChannel.available.'
5548 (close): use `PlainSocketImpl.close.'
5549 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5550 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5551 getPort): new methods.
5552 (SocketInputStream.read): use `VMChannel.read.'
5553 (SocketInputStream.read): use `SocketChannel.read.'
5554 (SocketOutputStream.write): use `VMChannel.write.'
5555 (SocketOutputStream.write): use `SocketChannel.write.'
5556 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5557 (channel): new field.
5558 (<init>): initialize `channel.'
5559 (implCloseSelectableChannel): use `VMChannel.close.'
5560 (implConfigureBlocking): use `VMChannel.setBlocking.'
5561 (connect): use `VMChannel.connect.'
5562 (disconnect): use `VMChannel.disconnect.'
5563 (isConnected): use `VMChannel.getPeerAddress.'
5564 (write): use `VMChannel.write.'
5565 (write): use `VMChannel.writeGathering.'
5566 (read): use `VMChannel.read.'
5567 (read): use `VMChannel.readScattering.'
5568 (receive): use `VMChannel.receive.'
5569 (send): use `VMChannel.send.'
5570 (getVMChannel): new method.
5571 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5572 access native FD through VMChannel.State.
5573 * gnu/java/nio/FileChannelImpl.java: moved from
5574 gnu/java/nio/channels/FileChannelImpl.java.
5575 * gnu/java/nio/FileLockImpl.java: fix imports.
5576 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5577 * gnu/java/nio/KqueueSelectorImpl.java: new file.
5578 * gnu/java/nio/NIOSocket.java (impl): removed.
5579 (channel): new field.
5580 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5581 (getPlainSocketImpl, setChannel): removed.
5582 (isConnected): new method.
5583 * gnu/java/nio/NIOSocketImpl.java: new file.
5584 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5585 `VMChannelOwner.'
5586 (SourceChannelImpl.native_fd): removed.
5587 (SourceChannelImpl.<init>): init with a `VMChannel.'
5588 (SourceChannelImpl.getNativeFD): removed.
5589 (SourceChannelImpl.getVMChannel): new method.
5590 (SourceChannelImpl.implCloseSelectableChannel): implement.
5591 (SinkChannelImpl): implement `VMChannelOwner.'
5592 (SinkChannelImpl.native_fd): removed.
5593 (SinkChannelImpl.<init>): init with a `VMChannel.'
5594 (SinkChannelImpl.implCloseSelectableChannel): implement.
5595 (SinkChannelImpl.getNativeFD): removed.
5596 (SinkChannelImpl.getVMChannel): new method.
5597 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5598 deprecated.
5599 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5600 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5601 (openSelector): return kqueue selector if available.
5602 * gnu/java/nio/ServerSocketChannelImpl.java: implement
5603 `VMChannelOwner.'
5604 (channel): new field.
5605 (<init>): init `channel.'
5606 (finalizer): check if the `VMChannel.State' is valid.
5607 (implCloseSelectableChannel): use `VMChannel.close.'
5608 (implConfigureBlocking): use `VMChannel.setBlocking.'
5609 (accept): use `VMChannel.accept.'
5610 (getVMChannel): new method.
5611 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5612 access native FD through `VMChannel.State.'
5613 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5614 (impl): removed.
5615 (channel, connected, connectAddress): new field.
5616 (<init>): new constructors.
5617 (getPlainSocketImpl): removed.
5618 (implCloseSelectableChannel): use `VMChannel.close.'
5619 (implConfigureBlocking): use `VMChannel.setBlocking.'
5620 (connect): use `connect(SocketAddress,int).'
5621 (connect): use `VMChannel.connect.'
5622 (finishConnect): don't use a selector.
5623 (isConnected): use `VMChannel.getPeerAddress.'
5624 (read): use `VMChannel.read.'
5625 (read): use `VMChannel.readScattering.'
5626 (write): use `VMChannel.write.'
5627 (write): use `VMChannel.writeGathering.'
5628 (getVMChannel): new method.
5629 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
5630 native FD from `VMChannel.State.'
5631 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
5632 get native FD from `VMChannel.State.'
5633 * gnu/java/nio/VMChannelOwner.java: new file.
5634 * gnu/java/nio/channels/FileChannelImpl.java: removed.
5635 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
5636 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
5637 `gnu_java_nio_channels_FileChannelImpl.h.'
5638 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
5639 * include/gnu_java_nio_FileChannelImpl.h: new file.
5640 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
5641 * include/gnu_java_nio_VMChannel.h: regenerated.
5642 * include/gnu_java_nio_VMPipe.h: regenerated.
5643 * include/java_net_VMNetworkInterface.h: regenerated.
5644 * java/io/FileDescriptor.java: fix imports.
5645 * java/io/FileInputStream.java (<init>): handle exceptions.
5646 (read): wrap the destination arary.
5647 * java/io/FileOutputStream.java (<init>): handle exceptions.
5648 (write): wrap the source array.
5649 * java/io/RandomAccessFile.java (<init>): handle exceptions.
5650 * java/net/DatagramSocket.java (<init>): handle exceptions.
5651 (receive): handle length/port setting.
5652 (connect): bind to any address/port if the argument is null.
5653 * java/net/NetworkInterface.java (name, inetAddress): removed.
5654 (netif): new field.
5655 (<init>): make private.
5656 (getName): return `netif.name.'
5657 (getInetAddresses): access `netif.addresses.'
5658 (getDisplayName): return `netif.name.'
5659 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
5660 (condense): removed.
5661 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
5662 (equals): compare `netif' fields.
5663 (hashCode): get hash codes from `netif.'
5664 (toString): use a StringBuffer.
5665 * java/net/ServerSocket.java (close): don't set `impl' to null.
5666 (isClosed): use `VMChannel.State.isClosed.'
5667 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
5668 the `SocketImpl' is a `PlainSocketImpl.'
5669 (close): just close the `impl.'
5670 (toString): use `super.toString' in the value we return.
5671 (isConnected): just access `impl,' not `getImpl.'
5672 (isBound): use `PlainSocketImpl' methods if we can.
5673 (isClosed): look at `VMChannel.State.'
5674 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
5675 (JCL_NewRawDataObject): don't initialize cached fields here; throw
5676 an exception if they were not.
5677 (JCL_GetRawData): throw an exception if cached fields weren't
5678 created.
5679 * native/jni/java-lang/java_lang_VMProcess.c: handle
5680 FileChannelImpl move.
5681 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5682 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
5683 THROW_NO_NETWORK): new macros.
5684 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
5685 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
5686 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
5687 (java_sockopt): new enum.
5688 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
5689 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
5690 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
5691 reimplemented.
5692 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
5693 reimplemented.
5694 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
5695 function.
5696 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
5697 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
5698 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
5699 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
5700 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
5701 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
5702 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
5703 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
5704 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
5705 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
5706 (getif_address): new function.
5707 (getif_index): new function.
5708 * native/jni/java-net/java_net_VMNetworkInterface.c
5709 (java_net_VMNetworkInterface_init,
5710 java_net_VMNetworkInterface_addAddress): new file-scope globals.
5711 (Java_java_net_VMNetworkInterface_initIds): new function.
5712 (struct netif_entry): new struct.
5713 (free_netif_list): new function.
5714 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
5715 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
5716 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
5717 gnu_java_nio_channels_FileChannelImpl.c, add
5718 gnu_java_nio_KqueueSelectorImpl.c.
5719 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
5720 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5721 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
5722 ALIGN_DOWN): new macros.
5723 (JCL_init_buffer): get the address through GetDirectBufferAddress
5724 if possible.
5725 (Java_gnu_java_nio_VMChannel_stdin_1fd,
5726 Java_gnu_java_nio_VMChannel_stdout_1fd,
5727 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
5728 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
5729 value.
5730 (Java_gnu_java_nio_VMChannel_read): renamed...
5731 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
5732 this; handle interrupted IO; add HAVE_READ check.
5733 (Java_gnu_java_nio_VMChannel_write): renamed...
5734 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
5735 this; handle zero-length write; add HAVE_WRITE check.
5736 (Java_gnu_java_nio_VMChannel_receive): new function.
5737 (Java_gnu_java_nio_VMChannel_send): new function.
5738 (Java_gnu_java_nio_VMChannel_send6): new function.
5739 (Java_gnu_java_nio_VMChannel_read__I): new function.
5740 (Java_gnu_java_nio_VMChannel_write__II): new function.
5741 (Java_gnu_java_nio_VMChannel_socket): new function.
5742 (Java_gnu_java_nio_VMChannel_connect): new function.
5743 (Java_gnu_java_nio_VMChannel_connect6): new function.
5744 (Java_gnu_java_nio_VMChannel_getsockname): new function.
5745 (Java_gnu_java_nio_VMChannel_getpeername): new function.
5746 (Java_gnu_java_nio_VMChannel_accept): new function.
5747 (Java_gnu_java_nio_VMChannel_disconnect): new function.
5748 (Java_gnu_java_nio_VMChannel_close): new function.
5749 (Java_gnu_java_nio_VMChannel_available): new function.
5750 (FileChannel_mode): new enum.
5751 (Java_gnu_java_nio_VMChannel_open): new function.
5752 (Java_gnu_java_nio_VMChannel_position): new function.
5753 (Java_gnu_java_nio_VMChannel_seek): new function.
5754 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
5755 (Java_gnu_java_nio_VMChannel_lock): new function.
5756 (Java_gnu_java_nio_VMChannel_unlock): new function.
5757 (Java_gnu_java_nio_VMChannel_size): new function.
5758 (Java_gnu_java_nio_VMChannel_map): new function.
5759 (Java_gnu_java_nio_VMChannel_flush): new function.
5760 * native/jni/java-nio/gnu_java_nio_VMPipe.c
5761 (Java_gnu_java_nio_VMPipe_init): removed.
5762 (Java_gnu_java_nio_VMPipe_pipe0): new function.
5763 * native/jni/java-nio/javanio.c: new file.
5764 * native/jni/java-nio/javanio.h: new file.
5765 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
5766 systems without `gethostbyname_r.'
5767 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
5768 field.
5769 (<init>, <init>): new constructors.
5770 (setOption, getOption): make instance methods; defer to native
5771 implementation.
5772 (connect): removed.
5773 (bind): make an instance method; defer to native methods.
5774 (accept): removed.
5775 (available): removed.
5776 (listen): make an instance method; defer to native method.
5777 (read): removed.
5778 (join, leave): new methods.
5779 (write): removed.
5780 (joinGroup, leaveGroup): new methods.
5781 (shutdownInput, shutdownOutput): make instance methods.
5782 (sendUrgentData): removed.
5783 (State): new class.
5784 * vm/reference/gnu/java/nio/VMChannel.java: make final.
5785 (fd): removed.
5786 (nfd): new field.
5787 (<init>): new, public constructors.
5788 (getVMChannel): methods removed.
5789 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
5790 stderr_fd): new methods.
5791 (setBlocking): make an instance method.
5792 (available): new method.
5793 (read): get native fd from `nfd.'
5794 (read): new single-byte read method.
5795 (readScattering): get native fd from `nfd.'
5796 (receive): new method.
5797 (write, writeGathering): get native fd from `nfd.'
5798 (send): new method.
5799 (write): new single-byte write method.
5800 (initSocket): new method.
5801 (connect): new method.
5802 (disconnect): new method.
5803 (getLocalAddress): new method.
5804 (getPeerAddress): new method.
5805 (accept): new method.
5806 (openFile): new method.
5807 (position): new method.
5808 (seek): new method.
5809 (truncate): new method.
5810 (lock): new method.
5811 (unlock): new method.
5812 (size): new method.
5813 (map): new method.
5814 (flush): new method.
5815 (close): new method.
5816 (State): new class.
5817 (Kind): new class.
5818 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
5819 (pipe, pipe0): new method.
5820 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
5821 new fields.
5822 (<clinit>): call `initIds.'
5823 (initIds): new method.
5824 (getInterfaces): removed.
5825 (getVMInterfaces): new method.
5826 (addAddress): new method.
5827 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
5828
5829 2006-09-16 Chris Burdess <dog@gnu.org>
5830
5831 Fixes PR 28572.
5832 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
5833 when in text output mode.
5834
5835 2006-09-16 Chris Burdess <dog@gnu.org>
5836
5837 Fixes PR 27293.
5838 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
5839
5840 2006-09-14 Michael Koch <konqueror@gmx.de>
5841
5842 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
5843
5844 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
5845
5846 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
5847 Added !cl.isArray() to serialVersionUID mismatch check.
5848
5849 2006-09-14 Francis Kung <fkung@redhat.com>
5850
5851 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5852 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
5853 be compatibe with Cairo 1.2.x.
5854
5855 2006-09-14 Francis Kung <fkung@redhat.com>
5856
5857 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
5858 (cairoSurfaceSetFilter): Removed method.
5859 (drawImage): Pass interpolation type as argument to drawing methods.
5860 (drawPixels): Added interpolation parameter.
5861 (drawRaster): Pass interpolation type as argument to drawing method.
5862 (getInterpolation): New method.
5863 (setRenderingHint): Store hints, but do not set interpolation in cairo.
5864 (setRenderingHints): Store hints, but do not set interpolation in cairo.
5865 * gnu/java/awt/peer/gtk/CairoSurface.java
5866 (drawSurface): Added interpolation parameter.
5867 (nativeDrawSurface): Added interpolation parameter.
5868 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
5869 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5870 parameter.
5871 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5872 * native/jni/gtk-peer/cairographics2d.h
5873 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
5874 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5875 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5876 parameter.
5877 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5878 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
5879 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
5880 interpolation parameter.
5881
5882 2006-09-14 Gary Benson <gbenson@redhat.com>
5883
5884 * java/net/InetAddress.java
5885 (internalGetCanonicalHostName): New method.
5886 (getCanonicalHostName): Use internalGetCanonicalHostName.
5887 (getByLiteral): New method.
5888 (getAllByName): Use getByLiteral.
5889 * java/net/SocketPermission.java
5890 (host): Replaced with...
5891 (hostname, address): New fields.
5892 (equals, hashcode): Reflect the above.
5893 (setHostPort): Parse host into hostname or address.
5894 (implies): Rewrite host checks.
5895
5896 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
5897
5898 Fixes PR28699
5899 * java/awt/Menu.java
5900 (insert(MenuItem, int)): Fixed loop range,
5901 (insert(String, int)): Updated API docs.
5902
5903 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
5904
5905 Fixes PR22800
5906 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
5907 architectures (like Arm).
5908 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
5909 Reverted SWAP_DOUBLE patch.
5910 (doubleToRawLongBits): Likewise.
5911 (longBitsToDouble): Likewise.
5912
5913 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
5914
5915 * java/awt/Menu.java: Reformatted source file.
5916
5917 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
5918
5919 * gnu/java/rmi/server/ActivatableRef.java
5920 (readExternal, writeExternal): Partial fix for serialization format.
5921
5922 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
5923
5924 PR classpath/28984
5925 * java/io/InputStreamReader.java
5926 (read(char[],int,int)): Fixed bug.
5927
5928 2006-09-13 Francis Kung <fkung@redhat.com>
5929
5930 * java/awt/image/BandCombineOp.java: Updated documentation.
5931 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
5932
5933 2006-09-13 Tom Tromey <tromey@redhat.com>
5934
5935 PR classpath/29034:
5936 * java/io/PipedReader.java (read): Return early if len==0.
5937 * java/io/PipedInputStream.java (read): Return early if len==0.
5938
5939 2006-09-13 Francis Kung <fkung@redhat.com>
5940
5941 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
5942 Removed hard-coded max sample value.
5943 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
5944 Fixed finding of max sample value.
5945
5946 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5947
5948 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5949 (setPaint): Check null argument ('p').
5950
5951 2006-09-12 Francis Kung <fkung@redhat.com>
5952
5953 PR 27940
5954 * gnu/java/awt/java2d/TexturePaintContext.java
5955 (constructor): Fixed typo, getMinY instead of getMaxX.
5956 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5957 (setPaint): Implemented support for custom Paint classes.
5958 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
5959 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
5960 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
5961 to setPaintPixels, and added repeat parameter.
5962 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
5963 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
5964
5965 2006-09-12 Gary Benson <gbenson@redhat.com>
5966
5967 * java/net/NetworkInterface.java (getInetAddresses):
5968 Fix port used in security check.
5969
5970 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5971
5972 * javax/swing/plaf/metal/DefaultMetalTheme.java
5973 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
5974 (MENU_TEXT_FONT): Renamed 'menuTextFont',
5975 (getControlTextFont): Check 'swing.boldMetal' setting before
5976 initialising font,
5977 (getMenuTextFont): Likewise.
5978
5979 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5980
5981 * javax/swing/plaf/metal/OceanTheme.java
5982 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
5983
5984 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5985
5986 * javax/swing/plaf/metal/MetalIconFactory.java
5987 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
5988
5989 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5990
5991 * javax/swing/AbstractSpinnerModel.java: API doc updates.
5992
5993 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5994
5995 * javax/swing/AbstractButton.java
5996 (AbstractButton): Initialise textIconGap field.
5997
5998 2006-09-11 Tom Tromey <tromey@redhat.com>
5999
6000 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6001 "volatile" when needed.
6002
6003 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6004
6005 * java/text/AttributedCharacterIterator.java
6006 (LANGUAGE): Initialise with lower case string,
6007 (INPUT_METHOD_SEGMENT): Likewise,
6008 (READING): Likewise,
6009 * java/text/AttributedStringIterator.java
6010 (getRunLimit): Check all attributes for changes.
6011
6012 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6013
6014 * java/text/AttributedCharacterIterator.java: Added @since tag,
6015 renamed some variables (no underscores) and removed some spaces to
6016 match the common style,
6017 * java/text/AttributedString.java: Likewise,
6018 * java/text/AttributedStringIterator.java: Likewise.
6019
6020 2006-09-11 Gary Benson <gbenson@redhat.com>
6021
6022 * java/net/Inet4Address.java
6023 (FAMILY): Renamed back to AF_INET.
6024 (<init>, writeReplace): Reflect the above.
6025 * java/net/Inet6Address.java
6026 (FAMILY): Renamed back to AF_INET6.
6027 (<init>): Reflect the above.
6028
6029 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6030
6031 Fixes PR29010
6032 * java/text/AttributedString.java
6033 (AttributedString(AttributedCharacterIterator, int, int,
6034 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6035 attribute.
6036
6037 2006-09-11 Gary Benson <gbenson@redhat.com>
6038
6039 * java/net/Inet4Address.java
6040 (AF_INET): Renamed to FAMILY.
6041 (<init>, writeReplace): Reflect the above.
6042 * java/net/Inet6Address.java
6043 (AF_INET6): Renamed to FAMILY.
6044 (<init>): Reflect the above.
6045
6046 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6047
6048 Fixes bug #28867
6049 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6050 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6051 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6052 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6053 (bind): Call getImpl().create(true).
6054
6055 2006-09-09 Chris Burdess <dog@gnu.org>
6056
6057 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6058 an instance of org.w3c.dom.NodeList.
6059
6060 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6061
6062 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6063 missing security manager when run in standalone mode.
6064
6065 2006-09-08 Francis Kung <fkung@redhat.com>
6066
6067 * java/awt/image/AffineTransformOp.java: Updated documentation.
6068 (createCompatibleDestRaster): Updated formatting.
6069 (filter(BufferedImage, BufferedImage)): Updated formatting.
6070 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6071 if colour model is compatible.
6072 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6073 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6074
6075 2006-09-08 Gary Benson <gbenson@redhat.com>
6076
6077 * java/net/InetAddress.java
6078 (family): Updated javadoc and made private.
6079 (<init>): Add an address family argument.
6080 (readObject): Don't overwrite family.
6081 * java/net/Inet4Address.java
6082 (AF_INET): New constant.
6083 (<init>): Use AF_INET as the family.
6084 (writeReplace): Likewise.
6085 * java/net/Inet6Address.java
6086 (AF_INET6): New constant.
6087 (<init>): Use AF_INET6 as the family.
6088
6089 2006-09-08 Gary Benson <gbenson@redhat.com>
6090
6091 * java/net/InetAddress.java
6092 (getHostName): Move lookup into getCanonicalHostName.
6093 (getCanonicalHostName): Move lookup from getHostName,
6094 Perform security check on canonical name (ie after lookup).
6095
6096 2006-09-08 Gary Benson <gbenson@redhat.com>
6097
6098 * java/net/Inet4Address.java (isMulticastAddress,
6099 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6100 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6101 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6102 implementations from InetAddress.
6103 * java/net/InetAddress.java (isMulticastAddress,
6104 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6105 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6106 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6107 implementations with UnsupportedOperationExceptions.
6108
6109 2006-09-08 Gary Benson <gbenson@redhat.com>
6110
6111 * java/net/InetAddress.java
6112 (inaddr_any): Removed.
6113 (ANY_IF, LOCALHOST): Create using getByAddress.
6114 (<init>): Updated javadoc.
6115 (getHostName): Cache hostname even if the lookup failed.
6116 (getByAddress): Create Inet4Address objects when passed
6117 IPv4-mapped IPv6 addresses.
6118 (aton): Removed.
6119 (getAllByName): Create address objects using getByAddress.
6120 Do not perform security checks unless actually required.
6121 Do not strip whitespace from the hostname.
6122 (getInaddrAny): Removed.
6123 (getLocalHost): Return the loopback address if getByName
6124 throws a SecurityException.
6125 (readResolve): Updated javadoc.
6126 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6127 * include/java_net_VMInetAddress.h
6128 (Java_java_net_VMInetAddress_aton): Likewise.
6129 * native/jni/java-net/java_net_VMInetAddress.c
6130 (Java_java_net_VMInetAddress_aton): New method.
6131 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6132 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6133 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6134 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6135 * NEWS: Added note about updated VM interface.
6136
6137 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6138
6139 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6140 (setNorthPane): Assign component to titlePane.
6141
6142 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6143
6144 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6145 Remove unused variable alt_addr.
6146 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6147 Remove unused variables.
6148
6149 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6150
6151 * javax/swing/plaf/metal/MetalScrollBarUI.java
6152 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6153 (createDecreaseButton): Don't fetch scrollBarWidth here,
6154 (createIncreaseButton): Likewise.
6155
6156 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6157
6158 * java/awt/image/MemoryImageSource.java: Added API docs.
6159
6160 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6161
6162 * javax/swing/plaf/basic/BasicScrollBarUI.java
6163 (installDefaults): Call configureScrollBarColors().
6164
6165 2006-09-06 Francis Kung <fkung@redhat.com>
6166
6167 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6168 (constructor): Make copy of arrays.
6169 (createCompatibleDestImage): Changed treatment of null ColorModel.
6170 (filter(BufferedImage, BufferedImage)): Re-implemented.
6171 (filter(Raster, WritableRaster, boolean[])): New method.
6172 (filter(Raster, WritableRaster)): Re-implemented.
6173 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6174 (getPoint2D): Cleaned up formatting.
6175 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6176
6177 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6178
6179 * javax/swing/UIManager.java
6180 (getBoolean(Object)): Reimplemented,
6181 (getBoolean(Object, Locale)): Likewise,
6182 (getBorder(Object)): Likewise,
6183 (getBorder(Object, Locale)): Likewise,
6184 (getColor(Object)): Likewise,
6185 (getColor(Object, Locale)): Likewise,
6186 (getDimension(Object)): Likewise,
6187 (getDimension(Object, Locale)): Likewise,
6188 (getFont(Object)): Likewise,
6189 (getFont(Object, Locale)): Likewise,
6190 (getIcon(Object)): Likewise,
6191 (getIcon(Object, Locale)): Likewise,
6192 (getInsets(Object)): Updated API docs,
6193 (getInsets(Object, Locale)): Likewise,
6194 (getInt(Object)): Reimplemented,
6195 (getInt(Object, Locale)): Likewise,
6196 (getString(Object)): Likewise,
6197 (getString(Object, Locale)): Likewise.
6198
6199 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6200
6201 * javax/swing/UIManager.java
6202 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6203 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6204
6205 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6206
6207 * javax/swing/plaf/metal/MetalLookAndFeel.java
6208 (initComponentDefaults): Corrected various font defaults.
6209
6210 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6211
6212 * java/awt/List.java: Added @since to various methods.
6213
6214 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6215
6216 * native/jni/native-lib/cpprocess.c:
6217 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6218 Add redirection of stdout to stderr.
6219 * native/jni/native-lib/cpprocess.h:
6220 Added redirect argument.
6221 * native/jni/java-lang/java_lang_VMProcess.c
6222 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6223 * vm/reference/java/lang/VMProcess.java: Likewise.
6224 * include/java_lang_VMProcess.h: Regenerated.
6225
6226 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6227
6228 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6229 __attribute to __attribute__.
6230
6231 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6232 header include.
6233
6234 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6235
6236 * java/awt/List.java: Source code reformatted.
6237
6238 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6239
6240 * gnu/CORBA/CollocatedOrbs.java,
6241 gnu/CORBA/SafeForDirectCalls.java: New files.
6242 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6243 Implement gnu.CORBA.SafeForDirectCalls.
6244 * gnu/CORBA/NamingService/Ext.java: Likewise.
6245 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6246 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6247 of the local host. (ior_to_object): Return the local object
6248 where possible. (run): Register/unregister this ORB.
6249 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6250 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6251 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6252 (constructors): Initialize noRetain. (_invoke): Drop servant
6253 if noRetain is true. (getHandler): Always seach for the new servant
6254 if noRetain is true.
6255 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6256 * NEWS: Added note about the new feature.
6257
6258 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6259
6260 * java/awt/Choice.java
6261 (addItem): Fixed API doc glitch.
6262
6263 2006-09-05 Francis Kung <fkung@redhat.com>
6264
6265 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6266 (createCompatibleDestImage): Re-implemented.
6267 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6268 compatibility, and use ColorConvertOp for color conversion if needed.
6269 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6270
6271 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6272
6273 gnu/CORBA/CDR/Vio.java,
6274 org/omg/CORBA_2_3/ORB.java,
6275 org/omg/CORBA_2_3/portable/InputStream.java,
6276 org/omg/CORBA_2_3/portable/OutputStream.java,
6277 org/omg/CosNaming/BindingIteratorHelper.java,
6278 org/omg/CosNaming/BindingTypeHelper.java,
6279 org/omg/CosNaming/NameComponentHelper.java,
6280 org/omg/CosNaming/NameHelper.java,
6281 org/omg/CosNaming/NamingContextExtHelper.java,
6282 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6283 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6284 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6285 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6286 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6287 org/omg/CosNaming/NamingContextHelper.java,
6288 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6289 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6290 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6291 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6292 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6293 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6294 org/omg/DynamicAny/AnySeqHelper.java,
6295 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6296 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6297 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6298 org/omg/DynamicAny/DynAnyHelper.java,
6299 org/omg/DynamicAny/DynAnyOperations.java,
6300 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6301 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6302 org/omg/DynamicAny/DynAnySeqHelper.java,
6303 org/omg/DynamicAny/DynArrayHelper.java,
6304 org/omg/DynamicAny/DynEnumHelper.java,
6305 org/omg/DynamicAny/DynFixedHelper.java,
6306 org/omg/DynamicAny/DynSequenceHelper.java,
6307 org/omg/DynamicAny/DynStructHelper.java,
6308 org/omg/DynamicAny/DynStructOperations.java,
6309 org/omg/DynamicAny/DynUnionHelper.java,
6310 org/omg/DynamicAny/DynValueHelper.java,
6311 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6312 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6313 org/omg/IOP/CodecFactoryHelper.java,
6314 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6315 org/omg/IOP/CodecOperations.java,
6316 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6317 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6318 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6319 org/omg/IOP/ComponentIdHelper.java,
6320 org/omg/IOP/ExceptionDetailMessage.java,
6321 org/omg/IOP/MultipleComponentProfileHelper.java,
6322 org/omg/IOP/ProfileIdHelper.java,
6323 org/omg/IOP/ServiceContextListHelper.java,
6324 org/omg/IOP/ServiceIdHelper.java,
6325 org/omg/IOP/TAG_CODE_SETS.java,
6326 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6327 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6328 org/omg/PortableInterceptor/CurrentHelper.java,
6329 org/omg/PortableInterceptor/IORInfo.java,
6330 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6331 org/omg/PortableInterceptor/ORBIdHelper.java,
6332 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6333 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6334 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6335 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6336 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6337 org/omg/PortableInterceptor/RequestInfoOperations.java,
6338 org/omg/PortableInterceptor/ServerIdHelper.java,
6339 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6340 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6341 org/omg/PortableServer/AdapterActivatorOperations.java,
6342 org/omg/PortableServer/CurrentHelper.java,
6343 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6344 org/omg/PortableServer/ForwardRequestHelper.java,
6345 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6346 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6347 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6348 org/omg/PortableServer/LifespanPolicyValue.java,
6349 org/omg/PortableServer/POA.java,
6350 org/omg/PortableServer/POAHelper.java,
6351 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6352 org/omg/PortableServer/POAManagerPackage/State.java,
6353 org/omg/PortableServer/POAOperations.java,
6354 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6355 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6356 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6357 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6358 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6359 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6360 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6361 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6362 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6363 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6364 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6365 org/omg/PortableServer/ServantActivatorHelper.java,
6366 org/omg/PortableServer/ServantLocatorHelper.java,
6367 org/omg/PortableServer/ServantLocatorOperations.java,
6368 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6369 org/omg/PortableServer/ThreadPolicyValue.java,
6370 org/omg/PortableServer/_ServantActivatorStub.java,
6371 org/omg/PortableServer/_ServantLocatorStub.java,
6372 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6373
6374 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6375
6376 * javax/rmi/CORBA/Tie.java,
6377 org/omg/CORBA/AnyHolder.java,
6378 org/omg/CORBA/AnySeqHelper.java,
6379 org/omg/CORBA/AnySeqHolder.java,
6380 org/omg/CORBA/BooleanHolder.java,
6381 org/omg/CORBA/BooleanSeqHelper.java,
6382 org/omg/CORBA/BooleanSeqHolder.java,
6383 org/omg/CORBA/ByteHolder.java,
6384 org/omg/CORBA/CharHolder.java,
6385 org/omg/CORBA/CharSeqHelper.java,
6386 org/omg/CORBA/CharSeqHolder.java,
6387 org/omg/CORBA/Context.java,
6388 org/omg/CORBA/CurrentHelper.java,
6389 org/omg/CORBA/CustomValue.java,
6390 org/omg/CORBA/DataOutputStream.java,
6391 org/omg/CORBA/DefinitionKindHelper.java,
6392 org/omg/CORBA/DomainManagerOperations.java,
6393 org/omg/CORBA/DoubleHolder.java,
6394 org/omg/CORBA/DoubleSeqHelper.java,
6395 org/omg/CORBA/DoubleSeqHolder.java,
6396 org/omg/CORBA/DynAny.java,
6397 org/omg/CORBA/DynSequence.java,
6398 org/omg/CORBA/DynValue.java,
6399 org/omg/CORBA/DynamicImplementation.java,
6400 org/omg/CORBA/FieldNameHelper.java,
6401 org/omg/CORBA/FixedHolder.java,
6402 org/omg/CORBA/FloatHolder.java,
6403 org/omg/CORBA/FloatSeqHelper.java,
6404 org/omg/CORBA/FloatSeqHolder.java,
6405 org/omg/CORBA/IdentifierHelper.java,
6406 org/omg/CORBA/IntHolder.java,
6407 org/omg/CORBA/LocalObject.java,
6408 org/omg/CORBA/LongHolder.java,
6409 org/omg/CORBA/LongLongSeqHelper.java,
6410 org/omg/CORBA/LongLongSeqHolder.java,
6411 org/omg/CORBA/LongSeqHelper.java,
6412 org/omg/CORBA/LongSeqHolder.java,
6413 org/omg/CORBA/ORB.java,
6414 org/omg/CORBA/ObjectHelper.java,
6415 org/omg/CORBA/ObjectHolder.java,
6416 org/omg/CORBA/OctetSeqHelper.java,
6417 org/omg/CORBA/OctetSeqHolder.java,
6418 org/omg/CORBA/PolicyErrorCodeHelper.java,
6419 org/omg/CORBA/PolicyErrorHelper.java,
6420 org/omg/CORBA/PolicyHelper.java,
6421 org/omg/CORBA/PolicyListHelper.java,
6422 org/omg/CORBA/PolicyTypeHelper.java,
6423 org/omg/CORBA/PrincipalHolder.java,
6424 org/omg/CORBA/RepositoryIdHelper.java,
6425 org/omg/CORBA/Request.java,
6426 org/omg/CORBA/ShortHolder.java,
6427 org/omg/CORBA/ShortSeqHelper.java,
6428 org/omg/CORBA/ShortSeqHolder.java,
6429 org/omg/CORBA/StringSeqHelper.java,
6430 org/omg/CORBA/StringSeqHolder.java,
6431 org/omg/CORBA/ULongLongSeqHelper.java,
6432 org/omg/CORBA/ULongLongSeqHolder.java,
6433 org/omg/CORBA/ULongSeqHelper.java,
6434 org/omg/CORBA/ULongSeqHolder.java,
6435 org/omg/CORBA/UShortSeqHelper.java,
6436 org/omg/CORBA/UShortSeqHolder.java,
6437 org/omg/CORBA/ValueBaseHelper.java,
6438 org/omg/CORBA/ValueBaseHolder.java,
6439 org/omg/CORBA/VersionSpecHelper.java,
6440 org/omg/CORBA/WCharSeqHelper.java,
6441 org/omg/CORBA/WCharSeqHolder.java,
6442 org/omg/CORBA/WStringSeqHelper.java,
6443 org/omg/CORBA/WStringSeqHolder.java,
6444 org/omg/CORBA/WrongTransactionHelper.java,
6445 org/omg/CORBA/_IDLTypeStub.java,
6446 org/omg/CORBA/_PolicyStub.java,
6447 org/omg/CORBA/portable/BoxedValueHelper.java,
6448 org/omg/CORBA/portable/Delegate.java,
6449 org/omg/CORBA/portable/ObjectImpl.java,
6450 org/omg/CORBA/portable/ServantObject.java,
6451 org/omg/CORBA/portable/StreamableValue.java,
6452 org/omg/CosNaming/BindingType.java,
6453 org/omg/CosNaming/IstringHelper.java,
6454 org/omg/DynamicAny/FieldNameHelper.java,
6455 org/omg/PortableServer/Servant.java: Documentation fixes.
6456
6457 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6458
6459 * java/awt/Rectangle.java
6460 (setRect(double, double, double, double)): Modified rounding of input
6461 values.
6462
6463 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6464
6465 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6466 Disallow H1 - H6 in the paragraphs.
6467 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6468 (preprocess): Leave at most one leading and/or trailing space.
6469 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6470 Do not add any text after closing the HTML tag.
6471
6472 2006-09-02 Roman Kennke <kennke@aicas.com>
6473
6474 PR 28928
6475 * javax/swing/plaf/basic/BasicTextUI.java
6476 (RootView.getPreferredSpan): Default to 10 when there is no
6477 real view.
6478 (RootView.getMinimumSpan): Forward to view and default to 10
6479 when there is no real view.
6480 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6481 (getMaximumSize): Check for overflow.
6482 * javax/swing/text/FieldView.java
6483 (getResizeWeight): Removed unneeded assignment.
6484
6485 2006-09-01 Francis Kung <fkung@redhat.com>
6486 * java/awt/image/ColorConvertOp.java
6487 (copyImage): Updated javadoc and comments.
6488 (copyRaster): Add javadoc.
6489 (createCompatibleColorModel): Add javadocs and comments.
6490 (createCompatibleDestImage): Use correct transfer type.
6491 (createCompatibleDestRaster): Add new parameter for transfer type.
6492 (filter): Use correct transfer type.
6493 * java/awt/image/ConvolveOp.java: Updated javadocs.
6494 (createCompatibleDestImage): Set new image properties correctly.
6495 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6496 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6497
6498 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6499
6500 * javax/swing/table/DefaultTableModel.java:
6501 (checkSize): Added null check for dataVector.
6502
6503 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6504
6505 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6506 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6507 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6508
6509 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6510
6511 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6512 (paintIcon): Removed unused import statements, lowered cast requirement
6513 from JCheckBox to AbstractButton.
6514
6515 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6516
6517 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6518 (initComponentDefaults): Added, changed and removed some
6519 tabbed pane properties.
6520
6521 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6522
6523 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6524 (createContent): Changed menu item name and tab naming.
6525
6526 2006-09-01 Roman Kennke <kennke@aicas.com>
6527
6528 PR 28922
6529 * javax/swing/plaf/basic/BasicHTML.java
6530 (HTMLRootView.getAttributes): Overridden to return null.
6531 (HTMLRootView.getElement): Overridden to return the view's
6532 element.
6533
6534 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6535
6536 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6537 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6538 of accessing variable directly.
6539 (calculateTabAreaWidth): Dito.
6540
6541 2006-08-31 Keith Seitz <keiths@redhat.com>
6542
6543 * include/jvmti.h: Include jvmti_md.h.
6544
6545 2006-08-31 Keith Seitz <keiths@redhat.com>
6546
6547 From Martin Platter <motse@complang.tuwien.ac.at>:
6548 * Makefile.am (include_HEADERS): Include jvmti.h.
6549 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6550 (jvmtiError): Remove superfluous comma after last entry.
6551 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6552 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6553 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6554 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6555 character pointer.
6556 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6557 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6558 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6559 character pointer.
6560
6561 2006-08-31 Roman Kennke <kennke@aicas.com>
6562
6563 * javax/swing/text/BoxView.java
6564 (getWidth): Return the width with insets added, not with one
6565 added and one removed.
6566 (getHeight): Return the height with insets added, not with one
6567 added and one removed.
6568 * javax/swing/text/GlyphView.java
6569 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6570 * javax/swing/text/ParagraphView.java
6571 (Row.getAlignment): Adjust alignment with respect to
6572 the justification attribute.
6573 (Row.getLeftInset): Overridden to adjust for firstLineIndent
6574 attribute.
6575 * javax/swing/text/html/CSS.java
6576 (getValue): Convert length values.
6577 * javax/swing/text/html/Paragraph.java
6578 (painter): New field.
6579 (paint): Implemented to delegate painting to the BoxPainter too.
6580 (setPropertiesFromAttributes): Implemented to load attributes
6581 from CSS.
6582 * javax/swing/text/html/StyleSheet.java
6583 (BoxPainter.as): Removed field.
6584 (BoxPainter.leftInset): New field.
6585 (BoxPainter.bottomInset): New field.
6586 (BoxPainter.rightInset): New field.
6587 (BoxPainter.topInset): New field.
6588 (BoxPainter.BoxPainter): Implemented to load the insets from
6589 CSS.
6590 (BoxPainter.getInset): Implemented.
6591 * gnu/javax/swing/text/html/Length.java: New class.
6592 Converts CSS length units to usable values.
6593
6594 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6595
6596 * configure.ac: Add check for gethostbyname_r.
6597 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6598 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6599 SOCKET_NOSIGNAL according to the configure check.
6600 (cpnet_send): Use SOCKET_NOSIGNAL.
6601 (cpnet_sendTo): Likewise.
6602 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6603 defined.
6604 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6605 are not available.
6606
6607 * lib/Makefile.am (cssfiles): Add new rule to install css files.
6608
6609 2006-08-31 Roman Kennke <kennke@aicas.com>
6610
6611 * javax/swing/JEditorPane.java
6612 (getPreferredSize): Replace preferred size with minimum
6613 UI size only if the scrollable does _not_ track the viewport
6614 size and only if the viewport's size is smaller than the
6615 scrollable's size.
6616 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6617 method calls.
6618 * javax/swing/plaf/basic/BasicTextUI.java
6619 (getPreferredSize): Read-lock the document to avoid
6620 concurrency problems.
6621 (getMaximumSize): Return maximum size of the view.
6622 Read-lock the document to avoid concurrency problems.
6623 (getMinimumSize): Return minimum size of the view.
6624 Read-lock the document to avoid concurrency problems.
6625
6626 2006-08-31 Gary Benson <gbenson@redhat.com>
6627
6628 * java/net/SocketPermission.java
6629 (maybeBracketIPv6Address): Renamed to processHostport.
6630 (processHostport): Also translate "" to "localhost".
6631 (setHostPort): Remove special cases for empty hostport and for
6632 extra colons in hostport (processHostport handles these now).
6633
6634 2006-08-31 Mark Wielaard <mark@klomp.org>
6635
6636 * javax/swing/text/ZoneView.java (Zone): Make static class.
6637 Constructor takes axis parameter.
6638 (createZone): Create Zone with getAxis() as major axis.
6639
6640 2006-08-30 Roman Kennke <kennke@aicas.com>
6641
6642 * javax/swing/text/ZoneView.java
6643 (loadChildren): Implemented.
6644 (getViewIndexAtPosition): Implemented.
6645 (checkZoneAt): New helper method.
6646 (splitZone): New helper method.
6647 (getPreferredZoneEnd): New helper method.
6648
6649 2006-08-30 Roman Kennke <kennke@aicas.com>
6650
6651 * javax/swing/text/ZoneView.java: New class.
6652
6653 2006-08-30 Roman Kennke <kennke@aicas.com>
6654
6655 * javax/swing/JMenu.java
6656 (getMenu): Removed unneeded cast.
6657 (getPopupMenuOrigin): Made positioning algorithm better respect
6658 the screen bounds.
6659 (setMenuLocation): Also set the location on the popup if it's
6660 not null.
6661 (setModel): Use menuChangeListener so that we don't override
6662 the changeListener field from AbstractButton.
6663 (setPopupMenuVisible): Use custom location if set, otherwise
6664 fallback to getPopupMenuOrigin().
6665
6666 2006-08-29 Roman Kennke <kennke@aicas.com>
6667
6668 * javax/swing/text/InternationalFormatter.java
6669 (stringToValue): Fixed bounds check.
6670 * javax/swing/text/MaskFormatter.java
6671 (MaskFormatter): Don't explicitly set allosInvalid property.
6672 (convertStringToValue): New helper method.
6673 (convertValueToString): New helper method.
6674 (convertValue): Removed. Replaced by the 2 convert* methods
6675 above.
6676 (getPadCharAt): Removed.
6677 (isCharValid): Removed.
6678 (pad): Removed.
6679 (stringToValue): Fixed stringToValue conversion.
6680 (stripLiterals): Removed.
6681 (valueToString): Fixed valueToString conversion.
6682 * javax/swing/text/DefaultFormatter.java
6683 (DefaultFormatter): Default to commitsOnValidEdit = false.
6684
6685 2006-08-29 Roman Kennke <kennke@aicas.com>
6686
6687 * javax/swing/text/TextAction.java
6688 (getTextComponent): Check event for null and return null in
6689 this case.
6690 (augmentList): Augment Actions based on their names.
6691 * javax/swing/text/DefaultEditorKit.java
6692 (BeginAction.actionPerformed): Check target for null.
6693 (BeginLineAction.actionPerformed): Check target for null.
6694 (CopyAction.actionPerformed): Check target for null.
6695 (CutAction.actionPerformed): Check target for null.
6696 (EndAction.actionPerformed): Check target for null.
6697 (EndLineAction.actionPerformed): Check target for null.
6698 (InsertBreakAction.actionPerformed): Check target for null.
6699 (InsertTabAction.actionPerformed): Check target for null.
6700 (PasteAction.actionPerformed): Check target for null.
6701 (SelectAllAction.actionPerformed): Check target for null.
6702 (SelectionBeginAction.actionPerformed): Check target for null.
6703 (SelectionBeginLineAction.actionPerformed): Check target for null.
6704 (SelectionEndAction.actionPerformed): Check target for null.
6705 (SelectionEndLineAction.actionPerformed): Check target for null.
6706 (SelectLineAction.actionPerformed): Check target for null.
6707 (SelectWordAction.actionPerformed): Check target for null.
6708
6709 2006-08-29 Roman Kennke <kennke@aicas.com>
6710
6711 * javax/swing/plaf/basic/BasicTextUI.java
6712 (FocusHandler): New class. This is moved from the anonymous
6713 inner focus listener class to a static member class, and
6714 is now shared between components.
6715 (DocumentHandler): This class is combined with the PropertyHandler
6716 into the Handler class.
6717 (PropertyChangeHandler): This class is combined with the
6718 DocumentHandler into the Handler class.
6719 (Handler): New class. This combines the Property and Document
6720 handler into one class.
6721 (RootView.changedUpdate): Only forward if real view != null.
6722 (RootView.insertUpdate): Only forward if real view != null.
6723 (RootView.removeUpdate): Only forward if real view != null.
6724 (documentHandler): Removed field and replaced by handler.
6725 (focuslistener): Made field static and renamed to focusListener.
6726 (handler): New field.
6727 (kit): Lazily initialize field.
6728 (rootView): Lazily initialize field.
6729 (updateHandler): Removed and replaced by handler.
6730 (getEditorKit): Lazily instantiate field.
6731 (installDefaults): Don't set margin twice. Install correct
6732 property for disabledTextColor. Moved caret and highlighter
6733 initialization to installFixedDefaults.
6734 (installFixedDefaults): New method. Installs defaults that
6735 can't be overridden by subclasses.
6736 (installListeners): Only install focus handler when new
6737 system property gnu.swing.text.no-xlike-clipboard is not set.
6738 Lazily initialize focus handler.
6739 (installUI): Lazily initialize rootView. Install handler
6740 both for property and document changes.
6741 (uninstallDefaults): Uninstall the UI defaults.
6742 (uninstallFixedDefaults): New method. Uninstalls the fixed
6743 defaults.
6744 (installListeners): Only uninstall focus handler when not null.
6745 (uninstallUI): Uninstall property and document listener here.
6746
6747 2006-08-29 Gary Benson <gbenson@redhat.com>
6748
6749 * java/net/SocketPermission.java
6750 (maybeBracketIPv6Address): New method.
6751 (<init>): Pass the hostport argument through the above.
6752
6753 * java/net/NetworkInterface.java (getInetAddresses):
6754 Don't bracket IPv6 addresses.
6755
6756 2006-08-28 Roman Kennke <kennke@aicas.com>
6757
6758 * javax/swing/text/BoxView.java
6759 (calculateMinorAxisRequirements): Initialize max size
6760 with Integer.MAX_VALUE.
6761 * javax/swing/text/Utilities.java
6762 (getBreakLocation): For simple chars, scan the text directly.
6763 * javax/swing/text/WrappedPlainView.java
6764 (tabBase): New field.
6765 (tabSize): New field.
6766 (calculateBreakPosition): Use Utilities. Fixed for correct
6767 break calculation.
6768 (changedUpdate): Update children directly.
6769 (insertUpdate): Update children directly. Notify children.
6770 (removeUpdate): Update children directly. Notify children.
6771 (updateChildren): New helper method.
6772 (nextTabStop): Fixed to return correct results.
6773 (paint): Update tabBase.
6774 (updateMetrics): Update tab size.
6775
6776 2006-08-28 Roman Kennke <kennke@aicas.com>
6777
6778 * javax/swing/text/Position.java
6779 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
6780 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
6781
6782 2006-08-28 Roman Kennke <kennke@aicas.com>
6783
6784 * javax/swing/text/View.java
6785 (height): Removed unneeded field.
6786 (width): Removed unneeded field.
6787 (getBreakWeight): Return GoodBreakWeight when pos is after
6788 the view's span.
6789 (getToolTipText): Check view index more carefully. Avoid
6790 Rectangle creation.
6791 (insertUpdate): Only execute method body if view count > 0.
6792 When updateChildren returns false, clear the ec variable.
6793 (updateChildren): Added null checks.
6794 (viewToModel): Initialize bias array correctly.
6795 * javax/swing/text/CompositeView.java
6796 (children): Made private.
6797 (numChildren): New field.
6798 (loadChildren): Check factory for null. Don't load children
6799 when factory is null.
6800 (replace): Removed null check. Nullify removed children. Made
6801 growing the array more efficient.
6802 (getViewCount): Return numChildren rather then the real array
6803 size.
6804 * javax/swing/text/BoxView.java
6805 (getViewAtPoint): Fixed algorithm for finding the view.
6806 (replace): Made array growing more efficient.
6807 (replaceLayoutArray): New helper method for growing/patching
6808 the layout arrays.
6809 (viewToModel): Make sure we have a valid layout.
6810
6811 2006-08-28 Tania Bento <tbento@redhat.com>
6812
6813 * java/awt/MenuShortcut.java
6814 (MenuShortcut (int, boolean)): Set keyName.
6815 (toString): Modified string output.
6816 (setKeyName): New private method.
6817
6818 2006-08-28 Roman Kennke <kennke@aicas.com>
6819
6820 * javax/swing/text/GapContent.java
6821 (Mark.getOffset): Made assert less strict, include boundary.
6822 (search): Made package private to avoid accessor method.
6823
6824 2006-08-28 Roman Kennke <kennke@aicas.com>
6825
6826 * javax/swing/text/StringContent.java
6827 (InsertUndo.positions): New field.
6828 (InsertUndo.redo): Update the undo positions.
6829 (InsertUndo.undo): Fetch the undo positions.
6830 (Mark): New class. Layer of indirection to allow Positions
6831 to be GC'ed while we still hold references to the Mark.
6832 (RemoveUndo.len): New field.
6833 (RemoveUndo.positions): New field.
6834 (RemoveUndo.RemoveUndo): Fetch undo positions.
6835 (RemoveUndo.redo): Re-fetch positions and string.
6836 (RemoveUndo.undo): Update undo positions.
6837 (StickyPosition.mark): New field.
6838 (StickyPosition.offset): Removed field.
6839 (StickyPosition.StickyPosition): Create new Mark. Register
6840 Position in queueOfDeath. Update reference count on mark.
6841 (StickyPosition.getOffset): Return offset stored in mark.
6842 (StickyPosition.setOffset): Removed unneeded method.
6843 (UndoPosRef): New class. Handles undo/redo on positions/marks.
6844 (EMPTY): New field.
6845 (marks): New field. Stores the marks.
6846 (positions): Removed field.
6847 (queueOfDeath): New field. Used for GCing the positions.
6848 (StringContent): Initialize queueOfDeath.
6849 (createPosition): Lazily create marks vector.
6850 (garbageCollect): New helper method. Collects positions
6851 to be GCed and updates their marks.
6852 (getChars): Fixed bounds check.
6853 (getPositionsInRange): When v == null, create new Vector,
6854 otherwise use v. Store UndoPosRefs in vector.
6855 (getString): Added comment about bug in RI.
6856 (insertString): Use new helper method for replacing the array.
6857 Correctly update positions.
6858 (length): Removed this qualifier.
6859 (remove): Use new helper method for replacing the array.
6860 Correctly update positions.
6861 (replace): New helper method for growing or patching the array.
6862 (updateUndoPositions): Implemented. Updates the positions
6863 for undo/redo operations.
6864
6865 2006-08-27 Roman Kennke <kennke@aicas.com>
6866
6867 * javax/swing/text/StyleContext.java
6868 (NamedStyle.attributes): Made field transient.
6869 (NamedStyle.changeEvent): Made field transient.
6870 (NamedStyle.name): Removed field. The name is stored as
6871 attribute.
6872 (NamedStyle.NamedStyle(String,Style)): Call setName() for
6873 storing the name and check for null name and resolveParent.
6874 Don't initialize changeEvent.
6875 (NamedStyle.copyAttributes): Return a new NamedStyle,
6876 rather than a plain copy of the attributes field.
6877 (NamedStyle.fireStateChange): Lazily create changeEvent
6878 field.
6879 (NamedStyle.getName): Fetch name from attributes.
6880 (NamedStyle.setName): Store name from attributes.
6881 (NamedStyle.readObject): Implemented for correct
6882 deserialization.
6883 (NamedStyle.writeObject): Implemented for correct
6884 serialization.
6885 (NamedStyle.setResolveParent): When new parent is null,
6886 remove resolveParent attribute. Use addAttribute() method
6887 rather than StyleContext addAttribute().
6888 (NamedStyle.toString): Fixed to produce output equal to the
6889 RI.
6890 (SmallAttributeSet.resolveParent): New field.
6891 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
6892 the resolveParent field correctly.
6893 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
6894 array but store it directly. Update
6895 the resolveParent field correctly.
6896 (SmallAttributeSet.clone): Return this as the object is
6897 immutable.
6898 (SmallAttributeSet.containsAttributes): Make sure that keys
6899 and values are the same.
6900 (SmallAttributeSet.containsAttribute): Make sure that keys
6901 and values are the same.
6902 (SmallAttributeSet.copyAttributes): Return this as the object is
6903 immutable.
6904 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
6905 are equal if they have the same number of attributes and
6906 one contains the other.
6907 (SmallAttributeSet.getAttribute): Improved lookup of
6908 resolveParent.
6909 (SmallAttributeSet.getResolveParent): Improved lookup of
6910 resolveParent.
6911 (SmallAttributeSet.isEqual): When comparing object is a
6912 SmallAttributeSet, consider them equal only if they are the
6913 same object.
6914 (SmallAttributeSet.toString): Fixed to produce output equal to the
6915 RI.
6916 (attributeSetPool): New field.
6917 (defaultStyleContext): Initialize lazily.
6918 (defaultStyle): Removed field. This is stored in the style context
6919 as attribute.
6920 (listenerList): Removed field. The NamedStyle stores the
6921 listeners.
6922 (readAttributeKeys): New static field. Used for looking up
6923 the serialization mappings when reading.
6924 (search): New field. Used as search key.
6925 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
6926 (styles): New field. Stores the styles and listeners.
6927 (styleTable): Removed field. Replaced by styles field.
6928 (writeAttributeKeys): New static field. Used for looking up
6929 the serialization mappings when writing.
6930 (static_initializer): Register mappings for all keys in
6931 StyleConstants.
6932 (StyleContext): Initialize styles correctly.
6933 (addAttributes): Fixed caching of immutable attributes.
6934 (addAttribute): Fixed caching of immutable attributes.
6935 (removeAttributes): Fixed caching of immutable attributes.
6936 (removeAttribute): Fixed caching of immutable attributes.
6937 (addChangeListener): Add listener to styles field.
6938 (removeChangeListener): Remove listener from styles field.
6939 (getChangeListeners): Fetch listeners from styles field.
6940 (addStyle): Add style to styles field.
6941 (cleanupPool): New method.
6942 (getDefaultStyleContext): Lazily create context.
6943 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
6944 (getMutableAttributeSet): New helper method. Used for
6945 caching.
6946 (getStaticAttribute): Fetch key from readAttributeKeys.
6947 (getStyleNames): Return names from styles field.
6948 (getStyle): Lookup style in styles field.
6949 (removeStyle): Remove style from styles field.
6950 (readAttributeSet): Fixed deserialization.
6951 (writeAttributeSet): Fixed serialization.
6952 (readObject): Fixed deserialization.
6953 (writeObject): Fixed serialization.
6954 (reclaim): Simply cleanup the pool.
6955 (registerStaticAttributeKey): Store mapping in both ways.
6956 (searchImmutableSet): New helper method for caching.
6957 (toString): Fixed for output like the RI.
6958 * javax/swing/text/StyleConstants.java
6959 (keys): New field. Stores all known keys.
6960 (StyleConstants): Store created key in keys list.
6961 * javax/swing/event/EventListenerList.java
6962 (readObject): Fixed deserialization.
6963 (writeObject): Fixed serialization.
6964
6965 2006-08-25 Roman Kennke <kennke@aicas.com>
6966
6967 * javax/swing/text/CompositeView.java
6968 (insets): Removed. Replaced by single short fields.
6969 (top): New field. Replaces insets.
6970 (bottom): New field. Replaces insets.
6971 (left): New field. Replaces insets.
6972 (right): New field. Replaces insets.
6973 (CompositeView): Initialize insets fields.
6974 (createDefaultLocation): Removed unneeded method.
6975 (getBottomInset): Return field directly.
6976 (getTopInset): Return field directly.
6977 (getLeftInset): Return field directly.
6978 (getRightInset): Return field directly.
6979 (getInsideAllocation): Adjusted to work on new insets fields.
6980 (getViewIndex): Fixed check.
6981 (loadChildren): Don't replace the old children.
6982 (replace): Make sure that there is an array to operate on.
6983 Only set parent to null, when it is this View.
6984 (setInsets): Adjusted to work with new insets fields.
6985 (setParagraphInsets): Fixed to pull insets directly from
6986 StyleConstants.
6987
6988 2006-08-25 Roman Kennke <kennke@aicas.com>
6989
6990 * javax/swing/text/ComponentView.java
6991 (Interceptor): New inner helper class. Used to propagate
6992 invalidate requests and cache component layout sizes.
6993 (interceptor): New field.
6994 (getAlignment): Fetch alignment from interceptor container.
6995 (getComponent): Don't create component here. This is done
6996 in setParent().
6997 (getMaximumSpan): Fetch layout info from interceptor. Check
6998 for illegal axis.
6999 (getMinimumSpan): Fetch layout info from interceptor. Check
7000 for illegal axis.
7001 (getPreferredSpan): Fetch layout info from interceptor. Check
7002 for illegal axis.
7003 (modelToView): Fixed model to view mapping.
7004 (viewToModel): Fixed view to model mapping.
7005 (paint): Check for null. Set bounds on interceptor rather
7006 then component.
7007 (setParentImpl): Install interceptor between component
7008 and hosting container.
7009 (setParent): Call super.setParent() immediately.
7010
7011 2006-08-25 Roman Kennke <kennke@aicas.com>
7012
7013 * javax/swing/text/LabelView.java
7014 (setPropertiesFromAttributes): Only set background when
7015 the corresponding attribute is actually defined, otherwise
7016 set to null, as the StyleConstants would return black.
7017 * javax/swing/text/DefaultStyledDocument.java
7018 (ElementBuffer.documentEvent): Removed obsolete field.
7019 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7020 to correctly update the element structure.
7021 (ElementBuffer.insertContentTag): Removed unused statement.
7022 (ElementBuffer.recreateAfterFracture): Removed
7023 unused obsolete method.
7024 (setCharacterAttributes): Removed unused statement.
7025
7026 2006-08-25 Roman Kennke <kennke@aicas.com>
7027
7028 * examples/gnu/classpath/examples/swing/Demo.java
7029 (LaterMain.run): Removed unused local variable.
7030 (Demo): Don't put desktop in scrollpane.
7031 (addChildren): Removed unused method.
7032 (mkButtonBar): Added HTML demo.
7033 (mkMenuBar): Added HTML demo.
7034 (mkPanel): Removed unused method.
7035 (mkScrollPane): Removed unused method.
7036 (mkTree): Removed unused method.
7037 (valign2str): Removed unused method.
7038 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7039 Initialize text field with some HTML that already works.
7040 (DEBUG): New field. Set to true for debugging output.
7041 (createContent): Dump element tree after parsing.
7042
7043 2006-08-25 Roman Kennke <kennke@aicas.com>
7044
7045 * javax/swing/text/html/CSS.java
7046 (getValue): Added color value conversion.
7047 * javax/swing/text/html/HTMLDocument.java
7048 (HTMLReader.ConvertAction): New class, converts HTML style tags
7049 to CSS attributes.
7050 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7051 * javax/swing/text/html/InlineView.java
7052 (setPropertiesFromAttributes): Implemented to fetch
7053 CSS character attributes.
7054 * javax/swing/text/html/StyleSheet.java
7055 (addCSSAttribute): Convert value.
7056 (getBackground): Implemented to fetch CSS background color
7057 attribute.
7058 (getForeground): Implemented to fetch CSS color
7059 attribute.
7060 (getFont): Adjust font size for superscript and subscript.
7061 (translateHTMLToCSS): Rudimentary implementation that
7062 copies the original attributes, so that any CSS attributes in
7063 there are preserved.
7064 (stringToColor): Use CSSColor for conversion.
7065 * gnu/javax/swing/text/html/css/CSSColor.java:
7066 New class. Converts CSS color values to RGB color values.
7067 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7068 Removed. This is more or less replaced by CSSColor and the
7069 ConvertAction in HTMLReader.
7070
7071 2006-08-25 Roman Kennke <kennke@aicas.com>
7072
7073 * javax/swing/text/BoxView.java
7074 (childReqs): Removed obsolete field.
7075 (baselineLayout): Reimplemented for correct baseline layout.
7076 (baselineRequirements): Reimplemented for correct baseline
7077 layout.
7078 (updateChildRequirements): Removed obsolete method.
7079 * javax/swing/text/GlyphView.java
7080 (DefaultGlyphPainter.getSpan): Removed unused statement.
7081 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7082 specially. The subscript/superscript layout is performed
7083 via the alignment, the font is supplied by the StyleContext.
7084 (breakView): Removed unused statements.
7085 (getAlignment): Adjust alignment according to the
7086 superscript/subscript setting.
7087 (getFont): Reimplemented to fetch the font from the style
7088 context, or from the document if the stylecontext is not
7089 available.
7090 (getPreferredSpan): Adjust span for superscript. Use switch
7091 instead of if-else.
7092 * javax/swing/text/LabelView.java
7093 (setPropertiesFromAttributes): Fetch background and foreground
7094 from document / style context.
7095 (isSubscript): Resync properties if needed.
7096 * javax/swing/text/ParagraphView.java
7097 (Row.calculateMinorAxisRequirements): Overridden to perform
7098 a baseline layout.
7099 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7100
7101 2006-08-24 Roman Kennke <kennke@aicas.com>
7102
7103 * javax/swing/text/Utilities.java
7104 (BUF_LENGTH): Removed unused field.
7105 (drawTabbedText): Removed unneeded cast.
7106 (getBreakLocation): Removed unneeded cast.
7107 Fixed offset to account for Segments not starting at 0.
7108
7109 2006-08-24 Roman Kennke <kennke@aicas.com>
7110
7111 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7112 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7113 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7114 (ScrollingPane.updateUI): Likewise.
7115 (calculateTabWidth): Rewritten to correctly and efficiently
7116 layout the tab width.
7117 (layoutLabel): Call SwingUtilities method with the tabPane
7118 as argument.
7119 (paintContentBorderLeftEdge): Removed unused statement.
7120 (paintContentBorderRightEdge): Removed unused statement.
7121 (paintContentBorder): Removed unused statement.
7122
7123 2006-08-24 Roman Kennke <kennke@aicas.com>
7124
7125 * javax/swing/plaf/basic/BasicTextUI.java
7126 (RootView.getAttributes): Overridden to return null,
7127 as the RootView has no parent.
7128
7129 2006-08-24 Roman Kennke <kennke@aicas.com>
7130
7131 * javax/swing/text/html/CSSParser.java: Removed.
7132 * javax/swing/text/html/CSS.java
7133 (getValue): New helper method. Returns special converter
7134 instances for certain kinds of property values.
7135 * javax/swing/text/html/HTMLDocument.java
7136 (HTMLReader.CharacterAction.start): Don't translate tags
7137 here. Instead, store the attributes directly with the tag
7138 as key.
7139 (content): Removed field. The Content object is handled
7140 by AbstractDocument.
7141 (styleSheet): Removed field. The styleSheet is the styleContext
7142 of this document and handled by the DefaultStyledDocument already.
7143 (HTMLDocument(Content,StyleSheet): Simply call super here.
7144 The super classes already handle the content and styleContext.
7145 (HTMLDocument()): Call this() with a default GapContent and
7146 StyleSheet.
7147 (getStyleSheet): Return the styleContext here.
7148 (insertUpdate): New method. Overridden to add the
7149 CONTENT dummy tag to the element's attributes.
7150 (setBase): Set the base on the styleContext.
7151 * javax/swing/text/html/HTMLEditorKit.java
7152 (styleContext): Removed unneeded field.
7153 (styleSheet): Made field private.
7154 (HTMLEditorKit): Do nothing here. The StyleSheet is
7155 created lazily in getStyleSheet(). A styleContext is not
7156 needed here.
7157 (getStyleSheet): Create StyleSheet correctly.
7158 (insertHTML): Removed unneeded cast.
7159 * javax/swing/text/html/InlineView.java
7160 (attributes): New field.
7161 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7162 (getAttributes): Implemented to fetch the attributes from
7163 the stylesheet.
7164 * javax/swing/text/html/MultiAttributeSet.java: New class.
7165 Multiplexes between several AttributeSets.
7166 * javax/swing/text/html/MultiStyle.java: New class.
7167 Multiplexes between several Styles.
7168 * javax/swing/text/html/ParagraphView.java
7169 (attributes): New field.
7170 (getAttributes): Implemented to fetch the attributes from
7171 the stylesheet.
7172 * javax/swing/text/html/StyleSheet.java
7173 (CssParser): Removed inner class.
7174 (CSSStyle): New inner class. Represents a style defined
7175 by a CSS rule.
7176 (CSSStyleSheetParserCallback): New class, for parsing
7177 CSS stylesheets.
7178 (css): New field. Stores the CSS rules.
7179 (resolvedStyles): New field. Stores resolved styles.
7180 (StyleSheet): Initialize resolvedStyles map.
7181 (addRule): Removed bogus impl.
7182 (getFont): Implemented to fetch font, based on CSS rules.
7183 (getResolvedStyle): New helper method. Looks up resolved
7184 styles, and resolves a style if necessary.
7185 (resolveStyle): New pair of helper methods. Resolves
7186 CSS style rules.
7187 (getRule(String)): Provide rudimentary implementation.
7188 (getRule(Tag,Element)): Implemented.
7189 (getViewAttributes): Implemented.
7190 (loadRules): Implemented.
7191 (translateHTMLToCSS): Tagged as not implemented.
7192 * javax/swing/text/html/ViewAttributeSet.java: New class.
7193
7194 2006-08-24 Roman Kennke <kennke@aicas.com>
7195
7196 * javax/swing/text/FlowView.java:
7197 (LogicalView.getAttributes): New method. Overrides super
7198 impl to return the attributes of the FlowView instance.
7199 * javax/swing/text/LabelView.java:
7200 (setPropertiesFromAttributes): Fetch attributes from
7201 View, rather then from the Element. (In the HTML
7202 package the getAttributes() method is overridden to
7203 return different attributes). Fetch font from the StyledDocument.
7204
7205 2006-08-24 Roman Kennke <kennke@aicas.com>
7206
7207 * javax/swing/text/DefaultEditorKit.java:
7208 (DefaultKeyTypedAction.actionPerform): Also filter
7209 ALT and CTRL modifiers.
7210
7211 2006-08-24 Roman Kennke <kennke@aicas.com>
7212
7213 * gnu/javax/swing/text/html/css/FontSize.java,
7214 * gnu/javax/swing/text/html/css/FontStyle.java,
7215 * gnu/javax/swing/text/html/css/FontWeight.java:
7216 New classes. Used to convert CSS font attributes to AWT/Swing
7217 Font constants.
7218
7219 2006-08-24 Francis Kung <fkung@redhat.com>
7220 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7221 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7222 (srccs, dstcs, rasterValid): Variables removed.
7223 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7224 (copyRaster): Check for null rendering hints
7225 (createCompatibleColorModel): New private method.
7226 (createCompatibleDestImage): Re-implemented.
7227 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7228 (createCompatibleDestRaster(Raster)): Re-implemented.
7229 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7230 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7231 (getPoint2D): Clean up formatting.
7232 * java/awt/image/ComponentColorModel.java
7233 (constructor): use findBits method instead of passing null.
7234 (findBits): New method.
7235
7236 2006-08-24 Gary Benson <gbenson@redhat.com>
7237
7238 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7239 addresses.
7240
7241 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7242
7243 * java/lang/ref/Reference.java
7244 (queue, nextOnQueue): Made volatile.
7245 (enqueue): Made thread safe.
7246 * java/lang/ref/ReferenceQueue.java
7247 (lock): New field.
7248 (poll): Removed synchronized.
7249 (enqueue): Changed to synchronize on lock object, to update Reference
7250 state and return success status.
7251 (dequeue, remove): Synchronize on lock object.
7252
7253 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7254
7255 * java/security/SecureClassLoader.java
7256 (protectionDomainCache): Changed to HashMap.
7257 (SecureClassLoader): Removed redundant security check.
7258 (defineClass(String,byte[],int,int,CodeSource): Moved
7259 protection domain lookup/construction to new method.
7260 (defineClass(String,ByteBuffer,CodeSource): New method.
7261 (getProtectionDomain): New method.
7262
7263 2006-08-23 Roman Kennke <kennke@aicas.com>
7264
7265 * javax/swing/JComponent.java
7266 (isRepainting): Made package private.
7267 (paintChild): New field.
7268 (findOpaqueParent): Removed method. This is now in
7269 paintImmediately().
7270 (findOverlapFreeParent): Removed method. This is now
7271 in paintImmediately2().
7272 (findPaintRoot): Removed method. This is now
7273 in paintImmediately2().
7274 (isCompletelyObscured): Changed to take rectangle as single
7275 ints as argument.
7276 (isPaintingDoubleBuffered): Removed method. This is now
7277 in paintImmediately2().
7278 (isPartiallyObscured): New helper method.
7279 (onTop): New helper method for optimization.
7280 (paintChildren): Paint only to specific child when
7281 requested like this from paintImmediately2().
7282 (paintDoubleBuffered): Changed to take rectangle as single int
7283 arguments.
7284 (paintImmediately2): Changed to take rectangle as single int
7285 arguments. Optimized determination of paint root.
7286 (paintImmediately(Rectangle)): Change to delegate to
7287 paintImmediately(int,int,int,int).
7288 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7289 and start painting there.
7290 (paint): Call paintDoubleBuffered() with int arguments. Only
7291 paint component, when not completely occupied by opaque child.
7292 (processKeyBinding): Removed unnecessary cast.
7293 (isOccupiedByChild): New helper method.
7294 * javax/swing/RepaintManager.java
7295 (repaintUnderway): Removed obsolete field.
7296 (commitRequests): Removed obsolete field.
7297 (RepaintManager): Removed initialization of obsolete fields.
7298 (addDirtyRegion): Removed unused statement.
7299 (commitBuffer): Changed to take plain ints as argument.
7300 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7301 Compute offsets in place, rather than using SwingUtilities.
7302 (paintDirtyRegions): Removed unused field.
7303 * javax/swing/JMenuItem.java
7304 (onTop): Return true when not descendant of JInternalFrame.
7305 * javax/swing/JPopupMenu.java
7306 (onTop): Return true.
7307 * javax/swing/JToolTip.java
7308 (onTop): Return true.
7309 * javax/swing/JViewport.java
7310 (paintImmediately2): Change signature to match the
7311 corresponding JComponent method.
7312
7313 2006-08-23 Tania Bento <tbento@redhat.com>
7314
7315 * java/awt/Color.java
7316 (brighter): Modified algorithm to correctly determine the
7317 new brighter colour.
7318
7319 2006-08-23 Roman Kennke <kennke@aicas.com>
7320
7321 * java/awt/Container.java
7322 (maxSize): Removed field. This is already declared in Component.
7323 (validateTree): Check for ContainerPeer. Don't addNotify here.
7324 Only validate Component instances if they are invalid.
7325
7326 2006-08-22 Roman Kennke <kennke@aicas.com>
7327
7328 * javax/swing/JComponent.java
7329 (preferredSize): Removed field.
7330 (maximumSize): Removed field.
7331 (minimumSize): Removed field.
7332 (getMaximumSize): Adjusted to delegate to Component, rather
7333 then managing the size in JComponent.
7334 (getMinimumSize): Adjusted to delegate to Component, rather
7335 then managing the size in JComponent.
7336 (getPreferredSize): Adjusted to delegate to Component, rather
7337 then managing the size in JComponent.
7338 (isMaximumSizeSet): Removed.
7339 (isMinimumSizeSet): Removed.
7340 (isPreferredSizeSet): Removed.
7341 (setMaximumSize): Removed.
7342 (setMinimumSize): Removed
7343 (setPreferredSize): Removed.
7344
7345 2006-08-22 Roman Kennke <kennke@aicas.com>
7346
7347 * javax/swing/AbstractButton.java
7348 (ButtonChangeListener.stateChanged): Delegate to combined
7349 handler.
7350 (EventHandler): New inner class. Handles all three types
7351 of events on the model.
7352 (eventHandler): New field. Stores the combined event
7353 handler.
7354 (AbstractButton): Moved listener initialization to
7355 setModel().
7356 (createActionListener): Return combined handler.
7357 (createChangeListener): Return combined handler.
7358 (createItemListener): Return combined handler.
7359 (getEventHandler): New helper method for creating the combined
7360 handler.
7361 (setModel): Initialize listeners here.
7362 * javax/swing/plaf/basic/BasicButtonListener.java
7363 (ButtonAction): New class. Implements the keyboard action
7364 for buttons.
7365 (checkOpacity): Implemented.
7366 (createDefaultActionMap): New helper method.
7367 (installKeyboardActions): Rewritten to install InputMap
7368 and ActionMap according to 'new' keyboard input method.
7369 (mouseClicked): Commented as no-op.
7370 (mouseDragged): Commented as no-op.
7371 (mouseMoved): Commented as no-op.
7372 (propertyChange): Check for contentAreaFilled change and
7373 update opacity. Pull handling of HTLM in font and text handler.
7374 (stateChanged): Repaint button.
7375 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7376 * javax/swing/plaf/basic/BasicButtonUI.java
7377 (listener): Removed.
7378 (sharedListener): New static field. Stores the shared listener.
7379 (sharedUI): New static field. Stores the shared UI.
7380 (createButtonListener): Return shared instance here.
7381 (createUI): Return shared instance here.
7382 (getButtonListener): New helper method. Looks for the
7383 BasicButtonListener installed on a button and returns it.
7384 (installDefaults): Correctly install rollover property here.
7385 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7386 (installKeyboardActions): Fetch listener with new helper method.
7387 (installListeners): Don't use removed field. Check for null.
7388 (installUI): Added comment about order of method invocations.
7389 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7390 (uninstallKeyboardActions): Fetch listener with new helper method.
7391 (uninstallListeners): Fetch listener with new helper method.
7392 (paintIcon): Paint icon offset when pressed and armed.
7393 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7394 * javax/swing/plaf/metal/MetalButtonUI.java
7395 (sharedUI): New field. Stores the shared UI.
7396 (MetalButtonUI): Don't initialize fields here.
7397 (createButtonListener): Removed method. Use super impl.
7398 (createUI): Return shared instance.
7399 (getDisabledTextColor): Update field here.
7400 (getFocusColor): Update field here.
7401 (getSelectColor): Update field here.
7402 (installDefaults): Don't handle rollover property here.
7403 (uninstallDefaults): Don't handle rollover property here.
7404 (paintButtonPressed): Use accessor method to update the
7405 field value.
7406
7407 2006-08-21 Mark Wielaard <mark@klomp.org>
7408
7409 Merge NATIVE_LAYER branch.
7410
7411 2006-08-20 Mark Wielaard <mark@klomp.org>
7412
7413 * doc/tools.texinfo: Add file from trunk.
7414 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7415 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7416 headers.
7417 * native/jni/java-lang/java_lang_VMProcess.c
7418 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7419 * native/jni/java-net/java_net_VMInetAddress.c
7420 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7421 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7422 files.
7423 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7424 mask.
7425 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7426 theaddr.
7427 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7428 cpnet.h.
7429 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7430 don't implement.
7431 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7432 argument.
7433 * include/java_lang_VMProcess.h: Regenerated.
7434
7435 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7436
7437 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7438 (nativeReceive): Fixed the type of the arrays (use java types).
7439 (nativeSendTo): Force throwing an exception if port is 0.
7440
7441 * native/jni/java-net/javanet.c:
7442 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7443 returned.
7444 (_javanet_recvfrom): Likewise.
7445 (_javanet_sendto): Throw a NullPointerException if the socket is
7446 not connected and no address is given.
7447
7448 * native/jni/java-net/javanet.h
7449 (NULL_EXCEPTION): Defined.
7450
7451 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7452
7453 * native/jni/java-net/java_net_VMInetAddress.c
7454 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7455 error.
7456
7457 * native/jni/java-net/javanet.c
7458 (_javanet_accept): Fixed bogus call to TARGET.
7459 (_javanet_create_inetaddress): Fixed address generation. Fixed
7460 bogus memory free.
7461 (_javanet_bind): set "Reuse address" flag.
7462
7463 * native/jni/native-lib/cpio.c
7464 (cpio_getModificationTime): Fixed type.
7465 (cpio_removeFile): Use rmdir too.
7466
7467 * native/jni/native-lib/cpnet.c
7468 (cpnet_getHostByName): Fixed error detection.
7469
7470 * native/jni/native-lib/cpnet.h
7471 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7472 memory.
7473 (cpnet_IPV4AddressToBytes): Fixed types.
7474
7475 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7476
7477 * native/jni/native-lib/cpio.c
7478 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7479
7480 * native/jni/native-lib/cpnet.h:
7481 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7482 messed by signs in jbyte.
7483
7484 * native/jni/native-lib/cpproc.h
7485 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7486
7487 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7488
7489 * native/jni/native-lib/cpnet.c
7490 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7491 (waitForWritable, waitForReadable): New functions.
7492 (socketTimeouts): New static global table to hold timeouts for all
7493 socket fds.
7494 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7495 Added waitForXXXX safeguards to handle socket timeouts.
7496
7497 * native/jni/java-net/javanet.c
7498 (_javanet_accept): Check for the right error value when a timeout
7499 occurs.
7500
7501 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7502
7503 * native/jni/java-io/Makefile.am,
7504 native/jni/java-lang/Makefile.am,
7505 native/jni/java-net/Makefile.am,
7506 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7507
7508 * native/jni/native-lib/Makefile.am: Added cpproc.c
7509
7510 * native/jni/native-lib/cpio.c: Implemented missing functions for
7511 CPIO.
7512
7513 * native/jni/native-lib/cpnet.c
7514 (cpnet_getHostByName): Fixed address array initialization.
7515
7516 * native/jni/native-lib/cpproc.c: Implemented.
7517
7518 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7519
7520 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7521
7522 * m4/gcc_attribute.m4: New file from ac_archive.
7523
7524 * native/jni/java-net/javanet.c: Adapted to cpnet API
7525 modification.
7526
7527 * native/jni/native-lib/cpnet.c: Implemented.
7528
7529 * native/jni/native-lib/cpnet.h
7530 (cpnet_openSocketDatagram,
7531 cpnet_openSocketStream): These calls need an address family now.
7532 (cpnet_IPV4AddressToBytes,
7533 cpnet_bytesToIPV4Address): Convert the address to network order.
7534
7535 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7536
7537 * native/jni/java-io/java_io_VMFile.c,
7538 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7539 native/jni/midi-dssi/dssi_data.h,
7540 native/jni/native-lib/cpio.c,
7541 native/jni/native-lib/cpmath.h: Removed cpmath
7542 dependency. Fixed coding style.
7543
7544 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7545
7546 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7547 dependency. Simplified the JNI code by moving some part into the
7548 native layer.
7549
7550 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7551
7552 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7553
7554 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7555 errors. Removed any remaining TARGET invocations.
7556
7557 * native/jni/java-net/javanet.c
7558 (_javanet_create_inetaddress): Removed spurious arr and
7559 octets. Fixed compilation errors.
7560
7561 * native/jni/native-lib/cpnet.h
7562 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7563 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7564 cpnet_isIPV4Address): New functions.
7565 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7566 the rest.
7567
7568 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7569
7570 * native/jni/java-io/java_io_VMFile.c,
7571 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7572 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7573 native/jni/java-net/javanet.c,
7574 native/jni/java-net/javanet.h: Adapted the VM layer code
7575 to the new native layer.
7576
7577 * native/jni/native-lib/cpnet.h
7578 (cpnet_addMembership,
7579 cpnet_dropMembership,
7580 cpnet_getAvailableBytes): Added the declarations of
7581 some new functions.
7582 (cpnet_newIPV6Address,
7583 cpnet_IPV6AddressToBytes,
7584 cpnet_bytesToIPV6Address): Implemented.
7585 (cpnet_newIPV4Address): Initialize the sin_family field.
7586
7587 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7588
7589 * native/target: Removed.
7590
7591 * configure.ac: Removed target from CLASSPATH_INCLUDES and
7592 Makefile generation.
7593
7594 * native/jni/native-lib/Makefile.am,
7595 native/jni/native-lib/cpnet.h,
7596 native/jni/native-lib/cpnet.c
7597 native/jni/native-lib/cpio.h,
7598 native/jni/native-lib/cpio.c,
7599 native/jni/native-lib/cpmath.h: Imported new native compatibility
7600 layer.
7601
7602 2006-08-21 Roman Kennke <kennke@aicas.com>
7603
7604 * gnu/javax/swing/text/html/css/CSSParser.java:
7605 New class.
7606 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7607 New interface.
7608 * gnu/javax/swing/text/html/css/CSSParserException.java:
7609 New exception.
7610 * gnu/javax/swing/text/html/css/CSSScanner.java:
7611 Adjusted API comments. Made all constants package private.
7612 (EOF): New constant field.
7613 (parseBuffer): Made package private.
7614 (tokenEnd): Made package private.
7615 (CSSScanner): Initialize lookahead buffer with -1.
7616 (main): Print out to System.out rather then System.err.
7617 (nextToken): Push back character after IDENT.
7618
7619 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7620
7621 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7622
7623 2006-08-21 Roman Kennke <kennke@aicas.com>
7624
7625 * gnu/javax/swing/text/html/css/CSSScanner.java
7626 (main): Use buffered input stream.
7627 (nextToken): Removed 65536 workaround. Use int value directly
7628 without cast to char.
7629 (readComment): Use int value directly without cast to char.
7630 Cast to char only when putting the character into the buffer.
7631 (readEscape): Likewise.
7632 (readIdent): Likewise.
7633 (readName): Likewise.
7634 (readNum): Likewise.
7635 (readString): Likewise.
7636 (readWhitespace): Likewise.
7637
7638 2006-08-21 Ingo Proetel <proetel@aicas.com>
7639
7640 * java/io/InputStreamReader.java
7641 (bytesCache): New field.
7642 (cacheLock): New field.
7643 (read(byte[],int,int): Avoid allocations of new byte
7644 array on every call and reuse cached byte array if possible.
7645
7646 2006-08-21 Roman Kennke <kennke@aicas.com>
7647
7648 * gnu/java/net/local/LocalSocketImpl.java
7649 Only load native lib if this is supported by runtime.
7650 * native/jni/java-net/local.c
7651 Include config.h unconditionally.
7652 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
7653 Include config.h unconditionally.
7654
7655 2006-08-21 Friedjof Siebert <siebert@aicas.com>
7656
7657 * java/io/ObjectInputStream.java
7658 (objectLookupTable): Changed to be a Vector.
7659 (ObjectInputStream): Initialize objectLookupTable as Vector.
7660 (assignNewHandle): Store Object using handle index rather than
7661 Hashtable, using the new rememberHandle() method.
7662 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
7663 with a caching in ObjectStreamClass.
7664 (inputGetObjectStreamClass): Replaced by hierarchy().
7665 (lookupHandle): New method. Looks up an object by it's handle
7666 index.
7667 (parseContent): Avoid creating of Integer objects. Use
7668 hierarchy() method for looking up the class hierarchy.
7669 (processResolution): Use rememberHandle() to store
7670 handle per index, rather than Hashtabling the object.
7671 (readFields):
7672 (rememberHandle): New method.
7673 * java/io/ObjectOutputStream.java
7674 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
7675 Hashtable for improved lookup performance.
7676 (ObjectOutputStream): Initialize OIDLookupTable as
7677 ObjectIdentityMap2Int.
7678 (assignNewHandle): Change to use ObjectIdentityMap2Int.
7679 (findHandle): Change to use ObjectIdentityMap2Int.
7680 (getBooleanField): Removed.
7681 (getByteField): Removed.
7682 (getCharField): Removed.
7683 (getDoubleField): Removed.
7684 (getField): Removed.
7685 (getFloatField): Removed.
7686 (getIntField): Removed.
7687 (getLongField): Removed.
7688 (getObjectField): Removed.
7689 (writeFields(Object,ObjectStreamClass)): Use new helper method.
7690 (writeFields(Object,ObjectStreamField)): New helper method.
7691 Use switch rather then if-else cascade.
7692 (writeObject): Use int handle, rather then Integer.
7693 * java/io/ObjectStreamClass.java
7694 (hierarchy): New field. Caches the class hierarchy.
7695 (methodCache): New field. Caches methods.
7696 (readObjectSignature): New field. Stores the read signature.
7697 (uidCache): New field. Caches UIDs.
7698 (writeObjectSignature): New field. Stores the write signature.
7699 (cacheMethods): Cache methods in methodCache.
7700 (calculateClassID): Outsourced from getClassUID()
7701 for computing the UIDs.
7702 (getClassUIDFromField): Outsourced from getClassUID() for
7703 fetching the UID from the class field.
7704 (getClassUID): Use cached uid if possible. Use new helper
7705 methods for fetching the UID from the field or computing
7706 from scratch.
7707 (getObjectStreamClasses): Removed. Replaced by more
7708 efficient hierarchy() method, that also caches the result.
7709 (hierarchy): Replaces getObjectStreamClasses() for caching
7710 the result.
7711 (loadedByBootOrApplicationClassLoader): New helper method.
7712 (setClass): Invalidate hierarchy cache.
7713 (setSuperclass): Invalidate hierarchy cache.
7714 * java/io/ObjectStreamField.java
7715 (field): Made field package private for access from other
7716 classes.
7717 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
7718 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
7719 hashtable for mapping objects to ints.
7720
7721 2006-08-21 Roman Kennke <kennke@aicas.com>
7722
7723 * java/io/File.java
7724 (getAbsolutePath): Fetch absolute path from
7725 VMFile.getAbsolutePath(). Moved actual impl to there.
7726 (isAbsolute): Let VMFile determine the absoluteness.
7727 (toURL): Let VMFile convert the filename.
7728 * vm/reference/java/io/VMFile.java
7729 (getAbsolutePath): New method.
7730 (isAbsolute): New method.
7731 (toURL): New method.
7732
7733 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7734
7735 * NEWS: Added note about updated VM interface.
7736
7737 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
7738
7739 * java/lang/management/ManagementFactory.java:
7740 Updated documentation.
7741
7742 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
7743
7744 Fixes bug #28412
7745 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
7746 New methods.
7747 * gnu/java/util/regex/CharIndexedCharSequence.java,
7748 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
7749 new methods above.
7750 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
7751 (match): call the new method setHitEnd of the input,
7752 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
7753 Some optimization commented out, Use CharIndexed#move1 instead of move.
7754 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
7755 * gnu/java/util/regex/REToken.java(match): The method body has been
7756 moved to an internal private method, (matchFake): New method,
7757 (setHitEnd): New method.
7758 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
7759 if the match is not complete, (matchOneString): Count the number of
7760 characters which matched the pattern.
7761 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
7762 (setFake): New method, (match): Call super.match or super.matchFake.
7763 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
7764 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
7765 setHitEnd of the input,
7766 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
7767 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
7768 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
7769
7770 2006-08-18 Tom Tromey <tromey@redhat.com>
7771
7772 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
7773 the 'int', not the cast char.
7774
7775 2006-08-18 Roger Sayle <roger@eyesopen.com>
7776
7777 * scripts/check_jni_methods.sh: Don't use the "set -C" command
7778 which isn't available in all shells.
7779
7780 2006-08-18 Roger Sayle <roger@eyesopen.com>
7781
7782 * lib/Makefile.am (resources): Fix some shell portability issues.
7783
7784 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7785
7786 * configure.ac (tool-wrappers): Check for ltdl support when tool
7787 wrapper binaries are enabled.
7788 * tools/Makefile.am (LIBJVM): Remove variable.
7789 (AM_CPPFLAGS): Add LIBJVM define.
7790 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
7791 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
7792 gjavah_LDFLAGS): Remove variables.
7793 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
7794
7795 2006-08-18 Tom Tromey <tromey@redhat.com>
7796
7797 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
7798 debugging prints.
7799 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
7800 print.
7801 (readEntries): Likewise.
7802
7803 2006-08-17 Roman Kennke <kennke@aicas.com>
7804
7805 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7806 (layoutLabel): Reset the text and icon rectangles.
7807
7808 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7809
7810 PR classpath/28537
7811 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
7812 Transform gappletviewer name using program_transform_name.
7813
7814 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
7815
7816 * javax/swing/filechooser/FileSystemView.java
7817 (getFileSystemView): Always return UnixFileSystemView, since
7818 that's the only one we got. Marked with NotImplementedException.
7819 * javax/swing/plaf/basic/BasicFileChooserUI.java
7820 (mouseClicked, installUI): Don't parse path by hand.
7821
7822 2006-08-17 Roman Kennke <kennke@aicas.com>
7823
7824 * javax/swing/JComponent.java
7825 (scrollRectToVisible): Handle intermediate non-JComponents
7826 more gracefully.
7827
7828 2006-08-17 Roman Kennke <kennke@aicas.com>
7829
7830 * javax/swing/RepaintManager.java
7831 (blitBuffer): Removed. This is now done in commitBuffer().
7832 (commitBuffer): Always paint on the root window or applet.
7833 No need to look for intermediate heavyweights. Optimized
7834 rectangle translation.
7835 (commitRemainingBuffers): Removed. Not needed anymore.
7836 (getHeavyweightParent): Removed. Not needed anymore.
7837 (getOffscreenBuffer): Fetch offscreen image from the
7838 actual root component.
7839 (paintDirtyRegions): Don't call commitRemainingBuffers().
7840
7841 2006-08-17 Roman Kennke <kennke@aicas.com>
7842
7843 * javax/swing/SwingUtilities.java
7844 (clipString): New helper method for trimming strings.
7845 (layoutCompoundLabelImpl): Fixed algorithm to conform
7846 testsuites. Trim text if it's too long. Avoid creating
7847 new Rectangles. Optimized for performance.
7848 (layoutCompoundLabel): Use switch rather then if-else-chain.
7849 * javax/swing/plaf/basic/BasicButtonUI.java
7850 (viewR): New field.
7851 (iconR): New field.
7852 (textR): New field.
7853 (paint): Reset and use cached rectangles. Only call paintIcon()
7854 if icon is not null. Don't call paintButtonPressed() when
7855 button is selected, only when it is both armed and pressed.
7856 * javax/swing/plaf/basic/BasicGraphicsUtils.java
7857 (getPreferredButtonSize): Reused cached rectangles rather
7858 then creating new ones. Don't create new Rectangle via
7859 Rectangle.union().
7860 * javax/swing/plaf/basic/BasicLabelUI.java
7861 (getPreferredSize): Correctly reset cached rectangles. Especially
7862 the view rect must have a big size to give it room for layouting.
7863 Short cut layout when text == null.
7864 (paint): Correctly reset cached rectangles.
7865 * javax/swing/plaf/basic/BasicMenuItemUI.java
7866 (resetRectangles): New helper method.
7867 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
7868 (paintMenuItem): Correctly reset the cached rectangles.
7869 * javax/swing/plaf/basic/BasicRadioButtonUI.java
7870 (getPreferredSize): Use cached Rectangle objects and initialize
7871 them correctly.
7872 (paint): Use cached Rectangle objects and initialize
7873 them correctly.
7874
7875 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
7876
7877 * java/util/Calendar.java: API doc additions.
7878
7879 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7880
7881 * javax/swing/DefaultButtonModel.java:
7882 (setRollover): Simplified statement.
7883
7884 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
7885
7886 * gnu/java/rmi/server/RMIClassLoaderImpl.java
7887 (loadClass): Rewritten to use getClassLoader.
7888 (loadProxyClass): Implemented.
7889 (getClassLoader): Fixed support for null or empty codebase.
7890 * gnu/java/rmi/server/RMIObjectInputStream.java
7891 (resolveClass): Use user class loader as default class loader.
7892 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
7893 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
7894 (loadClass): Simplified and use user class loader instead of
7895 context class loader as default.
7896 * java/io/ObjectInputStream.java
7897 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
7898 * vm/reference/gnu/classpath/VMStackWalker.java
7899 (firstNonNullClassLoader): New method.
7900 * vm/reference/java/io/VMObjectInputStream.java
7901 (loaderAction, currentClassLoader): Removed.
7902
7903 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7904
7905 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7906 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
7907 by current scroll offset, added method documention.
7908 (getTabBounds(int, Rectangle)): Added method documentation.
7909 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
7910 (paintContentBorderLeftEdge): Changed y to 1.
7911
7912 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7913
7914 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7915 (MouseHandler.mouseReleased): Implemented.
7916 (MouseHandler.mousePressed): Added delegation to tabbed pane.
7917 (MouseHandler.mouseEntered): Dito.
7918 (MouseHandler.mouseExited): Dito.
7919 (MouseHandler.mouseMoved): Dito.
7920 (MouseHandler.redispatchEvent): New method.
7921 (PropertyChangeHandler.propertyChange): Added extra block level,
7922 added code to handle tab placement changes, added comment.
7923 (updateViewPosition): Set unneeded coordinate to 0, added comment.
7924
7925 2006-08-16 Roman Kennke <kennke@aicas.com>
7926
7927 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
7928 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
7929 New file.
7930
7931 2006-08-16 Mark Wielaard <mark@klomp.org>
7932
7933 * java/awt/Component.java (orientation): Renamed to
7934 componentOrientation.
7935 (setComponentOrientation): Use new field name.
7936 (getComponentOrientation): Likewise.
7937
7938 2006-08-16 Roman Kennke <kennke@aicas.com>
7939
7940 PR 28750
7941 * javax/swing/plaf/basic/BasicTreeUI.java
7942 (CellEditorHandler.editingCancelled): Call completeEditing
7943 directly.
7944 (CellEditorHandler.editingStopped): Call completeEditing
7945 directly.
7946 (NodeDimensionHandler.getNodeDimensions): Rewritten
7947 to use the preferred sizes of the renderer and editor.
7948 (TreeExpansionHandler.treeCollapsed): Complete editing
7949 here.
7950 (TreeSelectionHandler.valueChanged): Complete editing
7951 here.
7952 (cancelEditing): Call completeEditing with false, false and
7953 false. Don't call finish (removed method).
7954 (completeEditing(boolean,boolean,boolean): Only do something when
7955 stopEditingInCompleteEditing is true. Nullify editingComponent
7956 and editingPath. Remove editingComponent from tree. Update
7957 the layout when necessary and repaint.
7958 (completeEditing): Stop editing when necessary.
7959 (editorRequestFocus): New helper method. Request focus
7960 on the actual editor.
7961 (finish) Removed. This is now done in completeEditing().
7962 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
7963 (setLargeModel): Complete editing here.
7964 (setRootVisible): Complete editing here.
7965 (setRowHeight): Complete editing here.
7966 (setSelectionModel): Complete editing here.
7967 (startEditing): Correctly initialize and start editing.
7968 (updateExpandedDescendants): Complete editing here.
7969 * javax/swing/tree/DefaultTreeCellEditor.java
7970 (DefaultTextField): Fetch size from super and use renderer's height
7971 if appropriate.
7972 (EditorContainer.EditorContainer): Set layout to null, just
7973 to make sure.
7974 (EditorContainer.doLayout): Layout so that the editor
7975 is offset to the right of the icon.
7976 (EditorContainer.getPreferredSize): Implemented to
7977 provide a reasonable preferred size.
7978 (EditorContainer.paint): Position icon in the middle.
7979 Also paint border if appropriate.
7980 (EditorContainer.setBounds): Removed.
7981 (RealEditorListener): Removed.
7982 (DefaultTreeCellEditor): Set correct border.
7983 (cancelCellEditing): Message real editor. Call finish().
7984 (createCellEditor): Don't add listener.
7985 (determineOffset): Correctly determine offset, and update
7986 the icon.
7987 (finish): New helper method.
7988 (getTreeCellEditorComponent): Set correct font. Call
7989 prepareForEditing() and determineOffset() to correctly initialize
7990 the state.
7991 (stopCellEditing): Messsage realEditor to stop editing. Call
7992 finish to clean up.
7993 (stopEditingTimer): Removed.
7994 (valueChanged): Correctly reset lastPath.
7995 * javax/swing/tree/DefaultTreeCellRenderer.java
7996 (getPreferredSize): Return super plus some extra space for
7997 better readability.
7998
7999 2006-08-16 Roman Kennke <kennke@aicas.com>
8000
8001 * javax/swing/plaf/metal/MetalTreeUI.java
8002 (LineStyleListener): New property listener, that updates
8003 the line style setting if the corresponding property
8004 changes.
8005 (lineStyleListener): New field.
8006 (lineStyle): New field.
8007 (LINE_STYLE_ANGLED): New constant field.
8008 (LINE_STYLE_HORIZONTAL): New constant field.
8009 (LINE_STYLE_NONE): New constant field.
8010 (LINE_STYLE_VALUE_ANGLED): New constant field.
8011 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8012 (LINE_STYLE_VALUE_NONE): New constant field.
8013 (LINE_STYLE_PROPERTY): New constant field.
8014 (decodeLineStyle): Implemented.
8015 (installUI): Install line style listener. Set initial
8016 lineStyle.
8017 (uninstallUI): Uninstall line style listener.
8018 (paintHorizontalPartOfLeg): Only call super for angled
8019 lineStyle.
8020 (paintVerticalPartOfLeg): Only call super for angled
8021 lineStyle.
8022 (paintHorizontalSeparators): Implemented.
8023 (paint): If lineStyle==HORIZONTAL, call
8024 paintHorizontalSeparators().
8025 * examples/gnu/classpath/examples/swing/TreeDemo.java
8026 (createContent): Add panel for selecting line styles.
8027
8028 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8029
8030 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8031 (createContent): Rewritten.
8032 (createPlacementChangingMenuItem): New method.
8033 (createLayoutPolicyChangingMenuItem): New method.
8034 (createTabbedPane): New method.
8035 (createTabContent): New method.
8036
8037 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8038
8039 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8040 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8041 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8042
8043 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8044
8045 * javax/swing/text/WrappedPlainView.java:
8046 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8047 (calculateBreakPosition): Add p0 to return value.
8048
8049 2006-08-15 Roman Kennke <kennke@aicas.com>
8050
8051 * javax/swing/plaf/basic/BasicTreeUI.java
8052 (MouseHandler.selectedOnPress): New field.
8053 (MouseHandler.handleEvent): New helper method for handling
8054 selection and start/stop editing for mouse events.
8055 (MouseHandler.mouseDragged): Commented as no-op method.
8056 (MouseHandler.mouseMoved): Commented as no-op method.
8057 (MouseHandler.mousePressed): Use handleEvent() to handle
8058 selection and editing handling.
8059 (MouseHandler.mouseReleased): Use handleEvent() to handle
8060 selection and editing handling.
8061 (MouseInputHandler.MouseInputHandler): Register itself
8062 as mouse listener on source. Redispatch event to
8063 destination.
8064 (MouseInputHandler.dispatch): New helper method.
8065 (MouseInputHandler.mouseClicked): Dispatch event.
8066 (MouseInputHandler.mouseDragged): Dispatch event.
8067 (MouseInputHandler.mouseEntered): Stop dispatching
8068 if dragging stopped.
8069 (MouseInputHandler.mouseExited): Stop dispatching
8070 if dragging stopped.
8071 (MouseInputHandler.mouseMoved): Stop dispatching.
8072 (MouseInputHandler.mousePressed): Marked as no-op.
8073 (MouseInputHandler.mouseReleased): Dispatch and stop
8074 dispatching afterwards.
8075 (MouseInputHandler.removeFromSource): Implemented.
8076 (PropertyChangeHandler.propertyChange): Also handle
8077 editable property changes by calling setEditable().
8078 (SelectionModelPropertyChangeHandler.propertyChange):
8079 Reset row selection.
8080 (startEditTimer): Removed.
8081 (setCellEditor): Call updateEditor().
8082 (setEditable): Call updateEditor().
8083 (startEditingAtPath): Make path fully visible before starting
8084 editing.
8085 (startEditing): Maybe cancel previous edit session. Add
8086 editing component itself, not its parent container.
8087 Register MouseInputHandler for correctly redispatching
8088 initial events.
8089 (stopEditing): Message cellEditor and only completeEditing()
8090 when approved by cell editor.
8091 (updateCellEditor): Complete editing before updating
8092 the cell editor. Get cell editor from JTree if possible,
8093 otherwise create default editor. Update the listeners
8094 on the editor.
8095 * javax/swing/tree/DefaultTreeCellEditor.java
8096 (CLICK_COUNT_TO_START): Removed.
8097 (DefaultTreeCellEditor): Install correct border. Let setTree()
8098 update the listeners. Don't initialize lastPath and font yet.
8099 (actionPerformed): Implemented to start editing.
8100 (createTreeCellEditor): Set click count to start to 1, rather than
8101 3.
8102 (isCellEditable): Prepare editor here. Determine if we can
8103 start immediately, or if we trigger a timer to do so.
8104 (prepareForEditing): Don't removeAll() (not necessary),
8105 check editingComponent to be non-null.
8106 (setTree): Update listeners.
8107 (shouldStartEditingTimer): Check for left mouse button.
8108 (startEditingTimer): Lazily create timer.
8109
8110 2006-08-15 Lillian Angel <langel@redhat.com>
8111
8112 * java/awt/dnd/DropTargetDragEvent.java
8113 (getTransferable): Implemented.
8114
8115 2006-08-15 Roman Kennke <kennke@aicas.com>
8116
8117 * java/util/Vector.java
8118 (removeAll): Added comment about NPE.
8119 (retainAll): Added comment about NPE.
8120
8121 2006-08-15 Roman Kennke <kennke@aicas.com>
8122
8123 * java/util/zip/ZipFile.java
8124 (UTF8DECODER): Removed.
8125 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8126 (utf8Decoder): New instance field.
8127 (decodeChars): Lazily create UTF8 decoder. Use instance
8128 field rather than a static field to avoid corruption.
8129
8130 2006-08-15 Roman Kennke <kennke@aicas.com>
8131
8132 * java/io/PrintStream.java
8133 (line_separator): Provide default for system property.
8134 * java/io/FileDescriptor.java
8135 (valid): Create local copy of channel field for better
8136 threading safetly.
8137
8138 2006-08-15 Ingo Proetel <proetel@aicas.com>
8139
8140 * java/util/zip/ZipFile.java
8141 (PartialInputStream.UTF8DECODER): New constant field, used
8142 for decoding UTF8 strings.
8143 (readLeShort): Access buffer directly if it has enough bytes
8144 available.
8145 (readLeInt): Access buffer directly if it has enough bytes
8146 available.
8147 (decodeChars): New helper method for decoding UTF8 strings.
8148 (readString): Avoid NIO charset decoder if possible.
8149
8150 2006-08-15 Roman Kennke <kennke@aicas.com>
8151
8152 * java/util/Vector.java
8153 (removeAll): Don't explicitly null-check here. The RI allows
8154 null arguments when Vector is empty. In other cases we
8155 implicitly throw an NPE.
8156 (retainAll): Don't explicitly null-check here. The RI allows
8157 null arguments when Vector is empty. In other cases we
8158 implicitly throw an NPE.
8159
8160 2006-08-14 Casey Marshall <csm@gnu.org>
8161
8162 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8163 of changes made on this branch.
8164 Files modified:
8165 * gnu/classpath/debug/Component.java
8166 * gnu/classpath/debug/SystemLogger.java
8167 * gnu/java/security/action/GetPropertyAction.java
8168 * gnu/java/security/action/GetSecurityPropertyAction.java
8169 * gnu/javax/crypto/RSACipherImpl.java
8170 * gnu/javax/net/ssl/PrivateCredentials.java
8171 * gnu/javax/net/ssl/provider/Alert.java
8172 * gnu/javax/net/ssl/provider/AlertException.java
8173 * gnu/javax/net/ssl/provider/Certificate.java
8174 * gnu/javax/net/ssl/provider/CertificateRequest.java
8175 * gnu/javax/net/ssl/provider/CertificateType.java
8176 * gnu/javax/net/ssl/provider/CertificateVerify.java
8177 * gnu/javax/net/ssl/provider/CipherSuite.java
8178 * gnu/javax/net/ssl/provider/ClientHello.java
8179 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8180 * gnu/javax/net/ssl/provider/CompressionMethod.java
8181 * gnu/javax/net/ssl/provider/Constructed.java
8182 * gnu/javax/net/ssl/provider/ContentType.java
8183 * gnu/javax/net/ssl/provider/DiffieHellman.java
8184 * gnu/javax/net/ssl/provider/Extension.java
8185 * gnu/javax/net/ssl/provider/Finished.java
8186 * gnu/javax/net/ssl/provider/Handshake.java
8187 * gnu/javax/net/ssl/provider/Jessie.java
8188 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8189 * gnu/javax/net/ssl/provider/Random.java
8190 * gnu/javax/net/ssl/provider/ServerHello.java
8191 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8192 * gnu/javax/net/ssl/provider/Signature.java
8193 * gnu/javax/net/ssl/provider/Util.java
8194 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8195 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8196 * java/security/MessageDigest.java
8197 * java/security/MessageDigestSpi.java
8198 * java/security/Signature.java
8199 * java/security/SignatureSpi.java
8200 * javax/crypto/Mac.java
8201 * javax/crypto/MacSpi.java
8202 * javax/net/ssl/HandshakeCompletedEvent.java
8203 * javax/net/ssl/HttpsURLConnection.java
8204 * javax/net/ssl/SSLContext.java
8205 * javax/net/ssl/SSLContextSpi.java
8206 * javax/net/ssl/SSLSession.java
8207 Files added:
8208 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8209 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8210 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8211 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8212 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8213 * gnu/javax/net/ssl/provider/ServerDHParams.java
8214 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8215 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8216 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8217 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8218 * gnu/javax/net/ssl/provider/ServerNameList.java
8219 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8220 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8221 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8222 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8223 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8224 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8225 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8226 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8227 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8228 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8229 * gnu/javax/net/ssl/provider/Record.java
8230 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8231 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8232 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8233 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8234 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8235 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8236 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8237 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8238 * gnu/javax/net/ssl/provider/ExtensionList.java
8239 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8240 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8241 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8242 * gnu/javax/net/ssl/provider/ServerHandshake.java
8243 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8244 * gnu/javax/net/ssl/provider/SessionImpl.java
8245 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8246 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8247 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8248 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8249 * gnu/javax/net/ssl/provider/HelloRequest.java
8250 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8251 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8252 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8253 * gnu/javax/net/ssl/provider/ClientHandshake.java
8254 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8255 * gnu/javax/net/ssl/provider/CertificateURL.java
8256 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8257 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8258 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8259 * gnu/javax/net/ssl/provider/Builder.java
8260 * gnu/javax/net/ssl/provider/Debug.java
8261 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8262 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8263 * gnu/javax/net/ssl/provider/DelegatedTask.java
8264 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8265 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8266 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8267 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8268 * javax/net/ssl/SSLEngine.java
8269 * javax/net/ssl/CertPathTrustManagerParameters.java
8270 * javax/net/ssl/KeyStoreBuilderParameters.java
8271 * javax/net/ssl/X509ExtendedKeyManager.java
8272 * javax/net/ssl/SSLEngineResult.java
8273 * gnu/javax/net/ssl/PreSharedKeyManager.java
8274 * gnu/javax/net/ssl/Session.java
8275 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8276 * gnu/javax/net/ssl/SSLCipherSuite.java
8277 * gnu/javax/net/ssl/AbstractSessionContext.java
8278 * gnu/javax/net/ssl/SessionStoreException.java
8279 * gnu/javax/net/ssl/SSLRecordHandler.java
8280 * gnu/javax/net/ssl/SSLProtocolVersion.java
8281 * gnu/javax/crypto/key/GnuPBEKey.java
8282 * gnu/java/security/util/ByteBufferOutputStream.java
8283 * gnu/java/security/Requires.java
8284 * gnu/javax/security/auth/callback/CertificateCallback.java
8285 Files removed:
8286 * gnu/javax/net/ssl/provider/Context.java
8287 * gnu/javax/net/ssl/provider/DigestInputStream.java
8288 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8289 * gnu/javax/net/ssl/provider/Enumerated.java
8290 * gnu/javax/net/ssl/provider/Extensions.java
8291 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8292 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8293 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8294 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8295 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8296 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8297 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8298 * gnu/javax/net/ssl/provider/KeyPool.java
8299 * gnu/javax/net/ssl/provider/OverflowException.java
8300 * gnu/javax/net/ssl/provider/RecordInput.java
8301 * gnu/javax/net/ssl/provider/RecordInputStream.java
8302 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8303 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8304 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8305 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8306 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8307 * gnu/javax/net/ssl/provider/SSLSocket.java
8308 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8309 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8310 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8311 * gnu/javax/net/ssl/provider/SecurityParameters.java
8312 * gnu/javax/net/ssl/provider/Session.java
8313 * gnu/javax/net/ssl/provider/SessionContext.java
8314 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8315 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8316
8317 2006-08-14 Roman Kennke <kennke@aicas.com>
8318
8319 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8320 (DividerLayout.layoutContainer): Removed debug output.
8321 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8322 (BasicHorizontalLayoutManager.axis): New field.
8323 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8324 New constructor.
8325 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8326 Call new axis constructor.
8327 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8328 handle direction.
8329 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8330 handle direction.
8331 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8332 Refactored to handle direction.
8333 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8334 to handle direction.
8335 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8336 handle direction.
8337 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8338 to handle direction.
8339 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8340 to handle direction.
8341 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8342 to handle direction.
8343 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8344 divider size.
8345 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8346 New explicit constructor. Calls super with vertical axis.
8347 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8348 to BasicHorizontalLayoutManager.
8349 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8350 moved to BasicHorizontalLayoutManager.
8351 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8352 Functionality moved to BasicHorizontalLayoutManager.
8353 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8354 moved to BasicHorizontalLayoutManager.
8355 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8356 moved to BasicHorizontalLayoutManager.
8357 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8358 Functionality moved to BasicHorizontalLayoutManager.
8359 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8360 moved to BasicHorizontalLayoutManager.
8361 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8362 moved to BasicHorizontalLayoutManager.
8363 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8364 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8365 (BUTTON_SPRITE_R): New constant field.
8366 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8367 L sprite for left buttons.
8368
8369 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8370
8371 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8372 (query_formats): g_free 'name' after usage.
8373 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8374 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8375
8376 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8377
8378 PR classpath/27723
8379 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8380 seamonkey-plugin.
8381
8382 2006-08-14 Francis Kung <fkung@redhat.com>
8383
8384 PR 28694
8385 * java/awt/image/ColorModel.java
8386 (coerceData): Added check for non-transparent images.
8387
8388 2006-08-14 Francis Kung <fkung@redhat.com>
8389
8390 * java/awt/image/BandCombineOp.java
8391 (BandCombineOp): Perform checks on validity of matrix.
8392 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8393 (filter): Updated to work with new matrix storage.
8394 (getMatrix): Updated javadoc.
8395 (getPoint2D): Formatting change.
8396
8397 2006-08-14 Francis Kung <fkung@redhat.com>
8398
8399 * java/awt/image/AffineTransformOp.java
8400 (AffineTransformOp): Updated javadoc.
8401 (createCompatibleDestImage): Match behaviour of reference implementation.
8402 (createCompatibleDestRaster): Formatting changes.
8403 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8404 (filter(Raster, WritableRaster)): Re-implemented.
8405 (filterBicubic): New private method.
8406 (filterBilinear): New private method.
8407 (filterNearest): New private method.
8408 (getBounds2D): No longer fixed around one point for rotations.
8409 (getInterpolationType): Add support for bicubic interpolation.
8410
8411 2006-08-14 Roman Kennke <kennke@aicas.com>
8412
8413 * javax/swing/plaf/metal/MetalLookAndFeel.java
8414 (MetalLookAndFeel): Moved theme initialization to
8415 getDefaults().
8416 (createDefaultTheme): Forward to getCurrentTheme().
8417 (getDefaults): Initialize theme before doing anything else.
8418 (getCurrentTheme): Recognize swing.metalTheme property.
8419
8420 2006-08-14 Roman Kennke <kennke@aicas.com>
8421
8422 * javax/swing/JTable
8423 (getScrollableUnitIncrement): Expose partially exposed
8424 row in scrolling direction.
8425
8426 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8427
8428 * javax/swing/JTable (getScrollableUnitIncrement):
8429 Removing my name as the whole method body have been
8430 recently completely replaced.
8431
8432 2006-08-14 Roman Kennke <kennke@aicas.com>
8433
8434 PR 28028
8435 * javax/swing/text/Utilities.java
8436 (getTabbedTextOffset): Don't add p0 here.
8437
8438 2006-08-14 Roman Kennke <kennke@aicas.com>
8439
8440 PR 28719
8441 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8442 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8443 when wheel is going up.
8444
8445 2006-08-14 Roman Kennke <kennke@aicas.com>
8446
8447 PR 28693
8448 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8449 (BasicOneTouchButton): New inner class.
8450 (DividerLayout.changeButtonOrientation): Removed.
8451 (DividerLayout.positionButtons): Moved into layoutContainer.
8452 (DividerLayout.layoutContainer): Reworked for correct layout.
8453 (OneTouchAction): New inner class.
8454 (centerOneTouchButtons): New field.
8455 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8456 UIManager.
8457 (createLeftOneTouchButton): Reimplemented to return
8458 BasicOneTouchButton.
8459 (createRightOneTouchButton): Reimplemented to return
8460 BasicOneTouchButton.
8461 (getPreferredSize): Reimplemented to return fixed preferredSize.
8462 (oneTouchExpandableChanged): Add OneTouchAction action to
8463 buttons. Don't install mouse listeners.
8464 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8465 (paint): Don't trigger extra paint for buttons.
8466 (propertyChange): Revalidate splitPane when orientation is changed.
8467 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8468 oneTouchExpandable is true.
8469 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8470 (installDefaults): Install dividerSize on the divider too.
8471 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8472 (MetalDividerLayout): Removed. Functionality is already
8473 in BasicSplitPaneDivider.DividerLayout.
8474 (MetalOneTouchButton): New inner class.
8475 (BUTTON_SPRITE): New constant field.
8476 (MetalSplitPaneDivider): Don't change layout.
8477 (createLeftOneTouchButton): Overridden to return custom button
8478 for Metal.
8479 (createRightOneTouchButton): Overridden to return custom button
8480 for Metal.
8481 (paint): Don't trigger button painting. Call super instead.
8482
8483 2006-08-13 Roman Kennke <kennke@aicas.com>
8484
8485 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8486 (installKeyboardAction): Unmarked as stub. Added comment
8487 explaining that the RI seems to do nothing here.
8488 (uninstallKeyboardAction): Unmarked as stub. Added comment
8489 explaining that the RI seems to do nothing here.
8490
8491 2006-08-13 Roman Kennke <kennke@aicas.com>
8492
8493 PR 28135
8494 * javax/swing/ScrollPaneLayout.java
8495 (layoutContainer): Consider the viewportBorder of the
8496 JScrollPane.
8497 (minimumLayoutSize): Consider the viewportBorder of the
8498 JScrollPane.
8499 (preferredLayoutSize): Consider the viewportBorder of the
8500 JScrollPane.
8501 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8502 (installDefaults): Also install viewportBorder if specified.
8503 (paint): Paint viewportBorder if present.
8504 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8505 Don't nullify foreground, background and font. Uninstall
8506 border via LookAndFeel helper method to avoid uninstall
8507 user set border.
8508
8509 2006-08-13 Roman Kennke <kennke@aicas.com>
8510
8511 PR 28696
8512 * javax/swing/plaf/basic/BasicHTML.java
8513 (HTMLRootView.HTMLRootView): Trigger initial layout.
8514 (HTMLRootView.setSize): Overridden to forward to real view.
8515 * javax/swing/plaf/basic/BasicToolTipUI.java
8516 (PropertyChangeHandler): New inner class. Updates the HTML
8517 renderer.
8518 (propertyChangeHandler): New field.
8519 (getMaximumSize): Add HTML width delta.
8520 (getMinimumSize): Add HTML width delta.
8521 (getPreferredSize): Reimplemented to use HTML view for size
8522 calculation if appropriate, otherwise use simple stringWidth()
8523 measurement.
8524 (installListeners): Install propertyChangeHandler.
8525 (uninstallListeners): Uninstall propertyChangeHandler.
8526 (installUI): Update HTML renderer.
8527 (uninstallUI): Update HTML renderer.
8528 (paint): Reimplemented to use HTML view for rendering if
8529 appropriate, simple drawString otherwise.
8530 * javax/swing/plaf/metal/MetalToolTipUI.java
8531 (getPreferredSize): Call super and add accelerator delta.
8532 (paint): Simply call super.
8533
8534 2006-08-13 Roman Kennke <kennke@aicas.com>
8535
8536 * javax/swing/JMenu.java
8537 (changeListener): Renamed to menuChangeListener to avoid
8538 shadowing changeListener field from AbstractButton.
8539
8540 2006-08-13 Roman Kennke <kennke@aicas.com>
8541
8542 * javax/swing/JTree.java
8543 (getScrollableUnitIncrement): Fixed direction.
8544 (getScrollableBlockIncrement): Implemented to scroll one
8545 page.
8546 * javax/swing/tree/VariableHeightLayoutCache.java
8547 (distance): Consider y + height already outside the node.
8548
8549 2006-08-13 Roman Kennke <kennke@aicas.com>
8550
8551 * javax/swing/JTable.java
8552 (getScrollableUnitIncrement): Fixed direction. Make it behave
8553 like the RI.
8554 (getScrollableBlockIncrement): Fixed direction. Make it behave
8555 like the RI.
8556
8557 2006-08-13 Roman Kennke <kennke@aicas.com>
8558
8559 * javax/swing/JList.java
8560 (getScrollableUnitIncrement): Fixed direction. Implemented
8561 horizontal scrolling. Improved usability.
8562 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8563
8564 2006-08-13 Roman Kennke <kennke@aicas.com>
8565
8566 * javax/swing/plaf/basic/BasicScrollBarUI.java
8567 (scrollByUnit): Scroll by -unit when direction is not positive
8568 and +unit otherwise.
8569 (scrollByBlock): Scroll by -unit when direction is not positive
8570 and +unit otherwise.
8571
8572 2006-08-13 Roman Kennke <kennke@aicas.com>
8573
8574 PR 28028
8575 * javax/swing/text/PlainView.java
8576 (paint): Limit painted area to the lines inside the clip
8577 and allocation.
8578
8579 2006-08-13 Roman Kennke <kennke@aicas.com>
8580
8581 * javax/swing/plaf/basic/BasicTextUI.java
8582 (uninstallListeners): Unregister document listener.
8583
8584 2006-08-13 Sven de Marothy <sven@physto.se>
8585
8586 * java/util/Locale.java
8587 (hashcodeCache): New field.
8588 (hashCode): use the above field instead of the serialized one
8589 (writeObject): Removed method.
8590 (readObject): Intern strings.
8591 (equals): Revert to previous method.
8592
8593 2006-08-13 Roman Kennke <kennke@aicas.com>
8594
8595 * javax/swing/JTabbedPane.java
8596 (JTabbedPane): Call setModel() here and let this install the
8597 change listener correctly.
8598 (setModel): Correctly uninstall and reinstall ChangeListener when
8599 model changes.
8600
8601 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8602
8603 PR Classpath/23952
8604 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8605 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8606 (lastDefaultLocale): Removed.
8607 (emptyLocale): Likewise.
8608 (BundleKey.defaultLocale): New field.
8609 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8610 (BundleKey.set): Likewise.
8611 (BundleKey.equals): Take defaultLocal field into consideration.
8612 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8613
8614 2006-08-13 Roman Kennke <kennke@aicas.com>
8615
8616 * javax/swing/JMenu.java
8617 (MenuChangeListener): New inner class, helps firing menu events.
8618 (changeListener): New field.
8619 (add(text)): Create new JMenuItem here and call add(JMenuItem).
8620 (add(Action)): Create Action using createActionComponent()
8621 and add via add(Component).
8622 (setModel): Install and uninstall MenuChangeListener here.
8623
8624 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8625
8626 PR Classpath/27372
8627 * java/math/BigInteger.java: Updated copyright year.
8628 (init): Consume as little bytes as possible.
8629 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
8630 (valueOf(String, int)): Throw NumberFormatException for malformed strings
8631 as per RI's documentation.
8632
8633 2006-08-13 Sven de Marothy <sven@physto.se>
8634
8635 * java/util/Locale.java
8636 (hashcode): Is a serialized field, not transient.
8637 (equals): Should NOT compare strings by reference.
8638 (readObject/writeObject): Use the default methods and handle the hash
8639 seperately.
8640
8641 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8642
8643 PR Classpath/28678
8644 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
8645 Updated documentation.
8646 Formatting.
8647 (getInstance(String, String, Provider, Object[])): Likewise.
8648 Separate checks for null and empty string arguments.
8649 Include as much information as possible in the exception's message.
8650 Do not swallow original exception; instead use it as the cause of the
8651 resulting exception.
8652 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
8653 (getInstance(String)): Updated documentation.
8654 Formatting.
8655 Store last exception caught when iterating through all providers.
8656 If no implementation found, raise last exception if one was caught.
8657 (getInstance(String, String)): Updated documentation.
8658 Formatting.
8659 Check for null or empty provider as per RI-5's documentation.
8660 (getInstance(String, Provider)): Updated documentation.
8661 Formatting.
8662 Use as much information as possible in the exception message.
8663 Do not swallow original exception; instead use it as the cause for the
8664 ultimate raised exception(s).
8665 * java/security/cert/CertificateFactory.java: Likewise.
8666 * java/security/cert/CertPathBuilder.java: Likewise.
8667 * java/security/cert/CertPathValidator.java: Likewise.
8668 * java/security/cert/CertStore.java: Likewise.
8669 * java/security/AlgorithmParameterGenerator.java: Likewise.
8670 * java/security/AlgorithmParameters.java: Likewise.
8671 * java/security/KeyFactory.java: Likewise.
8672 * java/security/KeyPairGenerator.java: Likewise.
8673 * java/security/KeyStore.java: Likewise.
8674 * java/security/MessageDigest.java: Likewise.
8675 * java/security/SecureRandom.java: Likewise.
8676 * java/security/Signature.java: Likewise.
8677 * javax/crypto/Cipher.java: Likewise.
8678 * javax/crypto/ExemptionMechanism.java: Likewise.
8679 * javax/crypto/KeyAgreement.java: Likewise.
8680 * javax/crypto/KeyGenerator.java: Likewise.
8681 * javax/crypto/Mac.java: Likewise.
8682 * javax/crypto/SecretKeyFactory.java: Likewise.
8683 * javax/net/ssl/KeyManagerFactory.java: Likewise.
8684 * javax/net/ssl/SSLContext.java: Likewise.
8685 * javax/net/ssl/TrustManagerFactory.java: Likewise.
8686
8687 2006-08-13 Roman Kennke <kennke@aicas.com>
8688
8689 * javax/swing/JEditorPane.java
8690 (getScrollableTracksViewportHeight): Also check maximum size.
8691 * javax/swing/JTextPane.java
8692 (insertIcon): Use input attributes for adding the icon
8693 attribute.
8694 * javax/swing/plaf/basic/BasicTextUI.java
8695 (RootView.setSize): Overridden to forward to real view.
8696 (getPreferredSize): Trigger setSize() on the view.
8697 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
8698 to viewToModel() call, rather then null.
8699 * javax/swing/text/ParagraphView.java
8700 (changedUpdate): Invalide layout. Call super.
8701 * javax/swing/text/SimpleAttributeSet.java
8702 (clone): Use super's clone method to create clone.
8703 * javax/swing/text/StyleConstants.java
8704 (setIcon): Also set element name attribute.
8705 * javax/swing/text/StyledEditorKit.java
8706 (BoldAction.actionPerformed): Actually set the bold attribute,
8707 not italic.
8708 (setCharacterAttributes): Replaced with more straightforward
8709 impl.
8710 * javax/swing/text/TextAction.java
8711 (getFocusedComponent): Implemented.
8712 * javax/swing/text/Utilities.java
8713 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
8714 of null.
8715 * javax/swing/text/View.java
8716 (changedUpdate): Nullify element change when updateChildren
8717 says so.
8718
8719 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
8720
8721 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
8722 Fix documentation typos.
8723
8724 2006-08-11 David Daney <ddaney@avtrex.com>
8725
8726 PR classpath/28580
8727 * gnu/java/net/protocol/http/Request.java (readResponse): Call
8728 createResponseBodyStream in more cases and with new parameter.
8729 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
8730 HEAD and !mayHaveBody responses specially.
8731
8732 2006-08-11 Roman Kennke <kennke@aicas.com>
8733
8734 * javax/swing/text/GlyphView.java
8735 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
8736 * javax/swing/text/LabelView.java
8737 (valid): New flag indicating if the text attributes are valid.
8738 (LabelView): Initialize valid field with false.
8739 (setPropertiesFromAttributes): Call setter methods instead
8740 of setting properties directly. Set valid to true.
8741 (changedUpdate): Invalidate attributes. Call super.
8742 (getBackground): Sync attributes if necessary.
8743 (getForeground): Sync attributes if necessary.
8744 (getFont): Sync attributes if necessary.
8745 (isUnderline): Sync attributes if necessary.
8746 (isSuperscript): Sync attributes if necessary.
8747 (isStrikeThrough): Sync attributes if necessary.
8748 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
8749 from toolkit if Container is not available yet.
8750
8751 2006-08-11 Roman Kennke <kennke@aicas.com>
8752
8753 * javax/swing/text/PlainView.java
8754 (tabBase): New field.
8755 (tabSize): New field.
8756 (updateMetrics): Update tabSize.
8757 (lineToRect): Only allocate when really necessary.
8758 (modelToView): Use tabBase for offset calculations.
8759 (paint): Only allocate when really necessary. Update tabBase.
8760 (nextTabStop): Fixed tab calculation.
8761 (viewToModel): Correctly handle multiline text and locations
8762 outside the view's bounds. Set bias.
8763 (getLineLength): Use tabBase.
8764 * javax/swing/text/Utilities.java
8765 (drawTabbedText): Don't special case newlines. The views
8766 must take care of this.
8767
8768 2006-08-11 Roman Kennke <kennke@aicas.com>
8769
8770 * javax/swing/text/GapContent.java
8771 (UndoPosRef): New inner class. Used for resetting positions
8772 after undo/redo operations.
8773 (InsertUndo.positions): New field.
8774 (InsertUndo.undo): Store positions in removed range.
8775 (InsertUndo.redo): Restore positions in re-inserted range.
8776 (UndoRemove.positions): New field.
8777 (UndoRemove.UndoRemove): Store positions in removed range.
8778 (UndoRemove.undo): Restore positions in re-inserted range.
8779 (UndoRemove.redo): Store positions in removed range.
8780 (insertString): Create InsertUndo instance before actually
8781 inserting the string.
8782 (remove): Create UndoRemove instance before actually
8783 removing.
8784 (getPositionsInRange): Don't clear the Vector. Return Vector
8785 of UndoPosRefs.
8786 (updateUndoPositions): Implemented to reset all UndoPosRefs
8787 in the vector.
8788
8789 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
8790
8791 * java/io/ObjectInputStream.java (readClassDescriptor):
8792 Use class's class loader to resolve field types.
8793 * java/io/ObjectStreamField.java
8794 (ObjectStreamField(String,String,ClassLoader)): Removed.
8795 (ObjectStreamField(String,String)): Don't try to resolve typename.
8796 (resolveType): New method.
8797
8798 2006-08-10 Roman Kennke <kennke@aicas.com>
8799
8800 * javax/swing/text/BoxView.java
8801 (calculateMajorAxisRequirements): Sum up the preferred and
8802 maximum sizes.
8803 (isAfter): Also add in the rectangle's with/height.
8804 (childAllocation): Don't trigger layout here.
8805 (layoutMinorAxis): Removed debug output.
8806 (getWidth): Consider the insets.
8807 (getHeight): Consider the insets.
8808 (setSize): Consider the insets.
8809 (updateRequirements): Check axis and throw
8810 IllegalArgumentException.
8811
8812 2006-08-10 Roman Kennke <kennke@aicas.com>
8813
8814 * javax/swing/text/AbstractDocument.java
8815 (BidiRootName): New constant field, denotes the element name
8816 for bidi root elements.
8817 (AsyncLoadPriority): New constant field, denotes the property
8818 to store the asynchronousLoadPriority.
8819 (I18N): New constant field, denotes the property for
8820 I18N support.
8821 (bidiRoot): Made field type BidiRootElement.
8822 (AbstractDocument): Build initial element structure for
8823 bidi.
8824 (getAsynchronousLoadPriority): Implemented. Returns the
8825 value stored in the document properties.
8826 (setAsynchronousLoadPriority): Implemented. Sets the
8827 value stored in the document properties.
8828 (getEndPosition): Implemented to use a Position from the
8829 content.
8830 (getStartPosition): Implemented to use a Position from the
8831 content.
8832 (insertStringImpl): Update the I18N setting if necessary.
8833 (insertUpdate): Update the bidi structure if necessary.
8834 (postRemoveUpdate): Update the bidi structure if necessary.
8835 (putProperty): Update the I18N setting and bidi structure
8836 if necessary.
8837 (updateBidi): New helper method for updating the bidi
8838 structure.
8839 (getBidis): New helper method. Fetches the Bidi analysers
8840 for the paragraphs of the range to check.
8841 (dump): Also dump the bidi structure.
8842 (AbstractElement.dump): Indent the '>' correctly.
8843 (AbstractElement.children): Check numChildren rather then
8844 children.length.
8845 (BidiRootElement): New inner class.
8846 (BidiElement): New inner class.
8847
8848 2006-08-10 Roman Kennke <kennke@aicas.com>
8849
8850 * javax/swing/text/GapContent.java
8851 (getChars): Optimized to only copy array when really necessary.
8852 Respect the partialReturn property.
8853
8854 2006-08-10 Lillian Angel <langel@redhat.com>
8855
8856 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
8857 (getComponentPeer): Added check to prevent NPE.
8858
8859 2006-08-10 Gary Benson <gbenson@redhat.com>
8860
8861 * java/security/AccessControlContext.java (<init>):
8862 Avoid a duplicated AccessController.getContext() call.
8863
8864 2006-08-09 Mark Wielaard <mark@klomp.org>
8865
8866 * doc/www.gnu.org/newsitems.txt: Add 0.92.
8867 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
8868 * doc/www.gnu.org/announce/20060809.wml: New file.
8869
8870 2006-08-09 Mark Wielaard <mark@klomp.org>
8871
8872 * configure.ac (VERSION): Set to 0.92-generics.
8873 * NEWS: Add updates for 0.92 release.
8874
8875 2006-08-09 Tom Tromey <tromey@redhat.com>
8876
8877 PR classpath/28658:
8878 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
8879 the pattern match any number of spaces in the text.
8880
8881 2006-08-09 Sven de Marothy <sven@physto.se>
8882
8883 * java/awt/image/BufferedImage.java
8884 (BufferedImage): Reimplement predefined-type constructor.
8885 (observers/tileObservers): Field renamed to tileObservers.
8886 (createDefaultIndexedColorModel): New method.
8887
8888 2006-08-09 Tom Tromey <tromey@redhat.com>
8889
8890 PR classpath/28666:
8891 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
8892 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
8893 Create a 'short' array.
8894
8895 2006-08-09 Tom Tromey <tromey@redhat.com>
8896
8897 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
8898 handle arrays.
8899 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
8900 (writeFields): Print "L" after int constant. Don't mangle the field
8901 name. Only print int/long fields.
8902
8903 2006-08-09 Tom Tromey <tromey@redhat.com>
8904
8905 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
8906 "javah".
8907
8908 2006-08-09 Sven de Marothy <sven@physto.se>
8909
8910 * javax/swing/JTree.java
8911 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
8912 (setSelectionModel): Null parameter should create an EmptySelectionM.
8913
8914 2006-08-09 Roman Kennke <kennke@aicas.com>
8915
8916 * javax/swing/text/AbstractDocument.java
8917 (insertString): Perform modifications inside a write lock.
8918 (insertStringImpl): Don't lock here. This is already done
8919 in insertString().
8920 (replace): Perform modifications inside a write lock.
8921 (AbstractElement.AbstractElement): Call addAttributes() to
8922 add the attributes.
8923 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
8924 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
8925 (BranchElement.BranchElement): Set lastIndex to -1.
8926 (BranchElement.getElementIndex): Implemented more efficient
8927 search.
8928
8929 2006-08-09 Roman Kennke <kennke@aicas.com>
8930
8931 * javax/swing/text/DefaultStyledDocument.java
8932 (Edit): Moved this inner class into ElementBuffer where it
8933 is actually needed.
8934 (edits): Moved this field into ElementBuffer.
8935 (getEditForParagraphAndIndex): Removed obsolete method.
8936 (insertUpdate): Added some optimizations and fixes. Split
8937 out handling insertion after newlines.
8938 (insertAfterNewline): New helper method. Handles insertions
8939 after a newline.
8940 (ElementBuffer.Edit): New inner class. Moved here from
8941 DefaultStyledDocument.
8942 (ElementBuffer.createdFracture): New field.
8943 (ElementBuffer.documentEvent): Made private.
8944 (ElementBuffer.edits): New field. Moved here from
8945 DefaultStyledDocument.
8946 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
8947 (ElementBuffer.fracturedChild): New field.
8948 (ElementBuffer.fracturedParent): New field.
8949 (ElementBuffer.insertPath): New field.
8950 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
8951 fracturedParent.
8952 (ElementBuffer.offsetLastIndex): New field.
8953 (ElementBuffer.offsetLastIndexReplace): New field.
8954 (ElementBuffer.recreateLeafs): New field.
8955 (ElementBuffer.ElementBuffer): Don't initialize stack here.
8956 (ElementBuffer.canJoin): New helper method.
8957 (ElementBuffer.changeUpdate): Changed to use elementStack with
8958 Edits rather than Elements. Let the split method do the work.
8959 (ElementBuffer.cloneAsNecessary): New helper method.
8960 (ElementBuffer.createFracture): Changed to fracture the bottommost
8961 child in the stack.
8962 (ElementBuffer.finishEdit): New helper method. Moved out
8963 from insertUpdate to perform the actual changes and update
8964 the event.
8965 (fracture): New helper method.
8966 (insertContentTag): Fixed some bugs and changed to use Edit
8967 instances in the stack, rather then Elements.
8968 (insertElement): New helper method. Moved out from insertUpdate()
8969 to process the ElementSpecs.
8970 (insertFirstContentTag): Fixed some problems and changed to use Edit
8971 instances in the stack, rather then Elements.
8972 (insertFracture): Removed. Basically moved into createFracture()
8973 and fracture().
8974 (insertParagraph): Removed.
8975 (insertUpdate): Split out the ElementSpec processing into
8976 insertElement(). Use Edit instances in the stack. Fixed some
8977 problems.
8978 (insert): Split out the preparation and finishing code into
8979 prepareEdit() and finishEdit().
8980 (join): New helper method.
8981 (pop): New helper method.
8982 (prepareEdit): New helper method.
8983 (recreateFracturedElement): New helper method.
8984 (recreateLeaves): Removed.
8985 (recreate): New helper method.
8986 (removeElements): New helper method. Split out from removeUpdate().
8987 (removeUpdate): Split out the actual removal. Use the
8988 Edit stack to perform removal and perform the remove actions
8989 and event updates afterwards, just like in insertImpl().
8990 (remove): Use prepareEdit() and finishEdit().
8991 (split): Replaced with more flexible impl.
8992
8993 2006-08-09 Sven de Marothy <sven@physto.se>
8994
8995 * gnu/java/awt/peer/gtk/CairoSurface.java
8996 Change class to extend WritableRaster and not DataBuffer.
8997 (CairoDataBuffer): New inner class.
8998 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
8999 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9000 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9001 Accomodate the above change.
9002
9003 2006-08-09 Sven de Marothy <sven@physto.se>
9004
9005 * gnu/java/awt/peer/gtk/GtkMainThread.java
9006 New file.
9007 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9008 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9009 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9010 * gnu/java/awt/peer/gtk/GtkToolkit.java
9011 Minor style fixes; removed unused fields,
9012 set fields to private where possible.
9013 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9014 Call GtkMainThread.createWindow().
9015 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9016 (dispose): New method.
9017 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9018 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9019 (gtkQuit): New native method.
9020
9021 2006-08-08 Lillian Angel <langel@redhat.com>
9022
9023 * java/awt/Component.java
9024 (setDropTarget): Added check.
9025
9026 2006-08-08 Lillian Angel <langel@redhat.com>
9027
9028 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9029 (GtkDragSourceContextPeer): Added FIXME. Changed call
9030 to setTarget.
9031 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9032 (GtkDropTargetContextPeer): Removed target initialization.
9033 * java/awt/Component.java
9034 (setTarget): Removed commented out code.
9035
9036 2006-08-08 Mark Wielaard <mark@klomp.org>
9037
9038 * javax/swing/text/DefaultHighlighter.java: Qualify
9039 Highlighter.HighlightPainter class name for gcj.
9040
9041 2006-08-05 Roman Kennke <kennke@aicas.com>
9042
9043 * javax/swing/plaf/basic/BasicTableUI.java
9044 (MouseInputHandler.mousePressed): Request focus on list
9045 component.
9046
9047 2006-08-05 Roman Kennke <kennke@aicas.com>
9048
9049 * javax/swing/plaf/basic/BasicListUI.java
9050 (MouseInputHandler.mousePressed): Request focus on list
9051 component.
9052
9053 2006-08-05 Roman Kennke <kennke@aicas.com>
9054
9055 PR 28650
9056 * javax/swing/plaf/basic/BasicMenuBarUI.java
9057 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9058 than Tree.actionMap.
9059 * javax/swing/plaf/basic/BasicTreeUI.java
9060 (action): Removed obsolete field.
9061 (uninstallKeyboardActions): Removed action field handling.
9062 (installKeyboardActions): Removed action field handling.
9063 (createDefaultActions): Don't install removed TreeAction.
9064 (TreeAction): Removed obsolete inner class.
9065 (ActionListenerProxy): Removed obsolete inner class.
9066 (MouseHandler.mousePressed): Request focus on JTree component
9067 on mouse press.
9068
9069 2006-08-08 Roman Kennke <kennke@aicas.com>
9070
9071 * javax/swing/plaf/basic/BasicListUI.java
9072 (MouseInputHandler.mousePressed): Request focus on list
9073 component.
9074
9075 2006-08-08 Roman Kennke <kennke@aicas.com>
9076
9077 * javax/swing/plaf/basic/BasicTableUI.java
9078 (MouseInputHandler.mousePressed): Request focus on list
9079 component.
9080
9081 2006-08-08 Roman Kennke <kennke@aicas.com>
9082
9083 * javax/swing/plaf/basic/BasicTextUI.java
9084 (damageRange(JTextComponent,int,int)): Call damageRange() with
9085 correct biases, rather than null.
9086 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9087 to use simpler modelToView() approach without much special
9088 casing. This seems not worth the effort and actually
9089 caused problems. Added locking of the document.
9090 * javax/swing/text/BoxView.java
9091 (requirementsValid): New field.
9092 (calculateMajorAxisRequirements): Rewritten without using
9093 SizeRequirements. The SizeRequirements algorithms are slightly
9094 different and too inefficient.
9095 (calculateMinorAxisRequirements): Rewritten without using
9096 SizeRequirements. The SizeRequirements algorithms are slightly
9097 different and too inefficient.
9098 (getAlignment): Simply return the alignment of the cached
9099 requirements.
9100 (getMaximumSpan): Add insets.
9101 (getMinimumSpan): Add insets.
9102 (getPreferredSpan): Add insets.
9103 (layoutMajorAxis): Rewritten without using
9104 SizeRequirements. The SizeRequirements algorithms are slightly
9105 different and too inefficient.
9106 (layoutMinorAxis): Rewritten without using
9107 SizeRequirements. The SizeRequirements algorithms are slightly
9108 different and too inefficient.
9109 (modelToView): Call setSize() rather than layout().
9110 (paint): Check clip for more efficient painting.
9111 (preferenceChanged): Invalidate requirements here.
9112 (replace): Invalidate requirements here.
9113 (updateRequirements): Update requirements only when requirements
9114 are marked invalid.
9115 * javax/swing/text/CompositeView.java
9116 (modelToView): Added some more checks and handling of corner cases.
9117 * javax/swing/text/FlowView.java
9118 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9119 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9120 * javax/swing/text/IconView.java
9121 (getAlignment): Implemented to return 1.0 for vertical alignment.
9122 * javax/swing/text/ParagraphView.java
9123 (Row.getMaximumSpan): Implemented to let Rows span the whole
9124 ParagraphView.
9125 (getAlignment): Fixed horizontal alignment and vertical alignment
9126 for empty paragraphs to be 0.5.
9127
9128 2006-08-08 Roman Kennke <kennke@aicas.com>
9129
9130 * javax/swing/text/View.java
9131 (modelToView): Added special handling for corner case at the end
9132 of the view and for multiline views.
9133
9134 2006-08-08 Roman Kennke <kennke@aicas.com>
9135
9136 * javax/swing/plaf/basic/BasicTextUI.java
9137 (modelToView): Read-lock the document. Set size of the
9138 root view before fetching the model-to-view mapping.
9139 (getViewIndex): Check of the position is inside the range and
9140 return -1 if this is not the case.
9141 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9142 view index.
9143 (getViewIndexAtPosition(int)): Delegate the index search to
9144 the element since we have a 1:1 mapping between elements and
9145 views here.
9146 * javax/swing/text/DefaultCaret.java
9147 (appear): Ignore BadLocationException.
9148 (paint): Ignore BadLocationException.
9149 * javax/swing/text/FlowView.java
9150 (changedUpdate): Also notify the layoutPool view.
9151 (removeUpdate): Also notify the layoutPool view.
9152 * javax/swing/text/ParagraphView.java
9153 (Row.getViewIndexAtPosition): Overridden to search linearily
9154 through the view instead of relying on a 1:1 model to view
9155 mapping.
9156 * javax/swing/text/View.java
9157 (removeUpdate): Clear ElementChange object if updateChildren
9158 returns false.
9159 (forwardUpdate): Special handle some boundary cases.
9160
9161 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9162
9163 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9164 (hasInheritedParameters): New method.
9165 (equals): Updated documentation.
9166 Take into consideration the outcome of hasInheritedParameters invocation.
9167 (toString): Call hasInheritedParameters and adjust the result accordingly.
9168 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9169 Updated documentation.
9170 Handle case of public keys with null p, q, and g MPIs.
9171 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9172
9173 2006-08-07 Tom Tromey <tromey@redhat.com>
9174
9175 PR libgcj/23682:
9176 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9177 (attachment): Likewise.
9178 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9179 synchronized.
9180 (isValid): Likewise.
9181 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9182 (ch): Likewise.
9183 (interestOps): Synchronize.
9184 (readyOps): Likewise.
9185 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9186 interestOps call.
9187
9188 2006-08-07 C. Scott Marshall <csm@gnu.org>
9189
9190 Fixes PR 28608.
9191 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9192 the mark has been set.
9193 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9194 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9195 allocated data.
9196
9197 2006-08-07 Sven de Marothy <sven@physto.se>
9198
9199 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9200 (drawGlyphVector): Synchronize against font object when drawing.
9201 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9202 (nativeDrawGlyphVector): Use pango locking when drawing.
9203 (install_font_peer): Use pango locking when creating the cairo face.
9204
9205 2006-08-06 Roman Kennke <kennke@aicas.com>
9206
9207 PR 28571
9208 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9209 (getPreferredSize): Renamed method to preferredSize(). That's
9210 the one that gets called from java.awt.*.
9211 * java/awt/peer/ComponentPeer.java
9212 (getPreferredSize): Added specnote about this method never
9213 beeing called in the RI.
9214 (getMinimumSize): Added specnote about this method never
9215 beeing called in the RI.
9216
9217 2006-08-03 Sven de Marothy <sven@physto.se>
9218
9219 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9220 (grab, nativeGrab): New methods.
9221 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9222 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9223 (nativeGrab): New method.
9224 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9225 (print): Implement.
9226 * java/awt/Component.java
9227 (printAll): Should call peer print method.
9228
9229 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9230
9231 * java/net/URL.java (getContent(Class[])): Implement.
9232
9233 2006-08-06 Mark Wielaard <mark@klomp.org>
9234
9235 PR 28555
9236 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9237 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9238 withParams is null.
9239 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9240 sortKeys is null.
9241
9242 2006-08-06 Roman Kennke <kennke@aicas.com>
9243
9244 * NEWS: Added note about the X peers.
9245 * INSTALL: Added install notes about the X peers.
9246
9247 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9248 Paul Jenner <psj@harker.dyndns.org>
9249
9250 * README: Update bug, patches and cvs instructions plus new URLs of
9251 various external projects.
9252
9253 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9254
9255 * configure.ac (MOZILLA_FOUND): Fall back to
9256 mozilla-firefox-plugin.
9257
9258 2006-08-06 Mario Torre <neugens@limasoftware.net>
9259
9260 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9261 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9262 g_type_init earlier in function to correctly initialize the
9263 type system used by the backend.
9264
9265 2006-08-05 Roman Kennke <kennke@aicas.com>
9266
9267 * javax/swing/text/DefaultHighlight.java
9268 (DefaultHighlightPainter.paintHighlight): Removed method.
9269 (DefaultHighlightPainter.paintLayer): Implemented.
9270 (DefaultHighlightPainter.paint): Implemented more efficient
9271 painting for multiline-highlights.
9272 (HighlightEntry.p0): Changed to be a Position.
9273 (HighlightEntry.p1): Changed to be a Position.
9274 (HighlightEntry.HighlightEntry): Changed to take Position
9275 arfuments.
9276 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9277 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9278 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9279 and tracks the painted rectangle for efficient repainting.
9280 (addHighlight): Handle layered highlight.
9281 (changeHighlight): Handle layered highlight.
9282 (paintLayeredHighlights): Implemented.
9283 (paint): Paint only non-layered highlights here.
9284 (removeAllHighlights): Trigger correct repaint.
9285 (removeHighlight): Handle layered highlight here for
9286 more efficient repainting.
9287 * javax/swing/text/GlyphView.java
9288 (paint): Handle layered highlights.
9289 * javax/swing/text/PlainView.java
9290 (paint): Handle layered highlights.
9291 * javax/swing/text/WrappedPlainView.java
9292 (WrappedLine.paint): Handle layered highlights.
9293
9294 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9295
9296 PR 26972
9297 * NEWS: As suggested by Paul Jennier, added note about the fix of
9298 the InitialContext.
9299
9300 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9301
9302 * NEWS: Added entry about the context factories for JNDI.
9303
9304 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9305
9306 PR 27383
9307 * gnu/CORBA/Connected_objects.java (size): New method.
9308 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9309 New method.
9310 * javax/naming/spi/NamingManager.java (getURLContext):
9311 Also search for the URL context factories in
9312 gnu/javax/naming/jndi/url.
9313 * gnu/javax/naming/giop/ContextContinuation.java,
9314 gnu/javax/naming/giop/CorbalocParser.java,
9315 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9316 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9317 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9318 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9319 gnu/javax/naming/giop/ListEnumeration.java,
9320 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9321 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9322 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9323 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9324 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9325 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9326 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9327 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9328
9329 2006-08-06 Sven de Marothy <sven@physto.se>
9330
9331 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9332 (drawGlyphVector): Synchronize against font object when drawing.
9333 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9334 (nativeDrawGlyphVector): Use pango locking when drawing.
9335 (install_font_peer): Use pango locking when creating the cairo face.
9336
9337 2006-08-06 C. Scott Marshall <csm@gnu.org>
9338
9339 Fixes PR 28608.
9340 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9341 the mark has been set.
9342 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9343 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9344 allocated data.
9345
9346 2006-08-06 Mark Wielaard <mark@klomp.org>
9347
9348 PR 28555
9349 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9350 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9351 withParams is null.
9352 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9353 sortKeys is null.
9354
9355 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9356 Paul Jenner <psj@harker.dyndns.org>
9357
9358 * README: Update bug, patches and cvs instructions plus new URLs of
9359 various external projects.
9360
9361 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9362
9363 * gnu/java/lang/management/BeanImpl.java:
9364 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9365 with open variant.
9366 (getCachedMBeanInfo()): Return open variant.
9367 (getMBeanInfo()): Likewise.
9368 (getTypeFromClass(Class)): Implemented.
9369 (translateSignature(MBeanParameterInfo)): Likewise.
9370 (translate(String)): Likewise.
9371 * javax/management/StandardMBean.java:
9372 (getMBeanInfo()): Return attribute names with capital letters,
9373 as in docs for java.lang.management.ManagementFactory, and
9374 ensure descriptions are not "".
9375 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9376 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9377 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9378 (toString()): Use Arrays.toString().
9379 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9380 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9381 Set open type here rather than in other constructors.
9382
9383 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9384
9385 * javax/management/MBeanFeatureInfo.java:
9386 Make string variable package-private.
9387 * javax/management/StandardMBean.java:
9388 (getMBeanInterface()): Made final.
9389 * javax/management/openmbean/SimpleType.java:
9390 Made final.
9391
9392 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9393
9394 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9395 code.
9396
9397 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9398
9399 * examples/gnu/classpath/examples/swing/FillRect.java,
9400 * gnu/CORBA/Focused_ORB.java,
9401 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9402 * gnu/classpath/ByteArray.java,
9403 * gnu/classpath/ObjectPool.java,
9404 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9405 * gnu/java/awt/peer/x/fonts.properties,
9406 * gnu/java/security/util/Prime2.java,
9407 * gnu/javax/imageio/gif/GIFStream.java,
9408 * javax/swing/text/html/HTMLTableView.java,
9409 * native/cni/Makefile.am,
9410 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9411 * org/omg/CORBA/SendingContext/Runtime.java,
9412 * resource/gnu/regexp/MessagesBundle.properties,
9413 * resource/gnu/regexp/MessagesBundle_fr.properties,
9414 * resource/gnu/regexp/MessagesBundle_it.properties,
9415 * tools/appletviewer.in,
9416 * tools/jarsigner.in,
9417 * tools/keytool.in,
9418 * vm/reference/java/lang/management/VMThreadInfo.java:
9419 Removed.
9420 * examples/gnu/classpath/examples/awt/aicas.png,
9421 * examples/gnu/classpath/examples/awt/palme.gif,
9422 * examples/gnu/classpath/examples/java2d/aicas.png,
9423 * examples/gnu/classpath/examples/java2d/palme.gif,
9424 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9425 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9426 * java/awt/doc-files/capjoin.png,
9427 * java/awt/geom/doc-files/Area-1.png,
9428 * java/awt/geom/doc-files/Ellipse-1.png,
9429 * java/awt/geom/doc-files/GeneralPath-1.png:
9430 Added.
9431
9432 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9433
9434 * configdiag.jnlp:
9435 Removed.
9436
9437 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9438
9439 * gnu/java/lang/management/BeanImpl.java:
9440 (getAttribute(String)): Implemented.
9441
9442 2006-08-05 Roman Kennke <kennke@aicas.com>
9443
9444 * javax/swing/text/JTextComponent.java
9445 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9446 (AccessibleJTextComponent.textComp): Removed field
9447 and replace with JTextComponent.this construct.
9448 (AccessibleJTextComponent.AccessibleJTextComponent):
9449 Fetch caret position.
9450 (caretUpdate): Implemented. Fires property change events and
9451 updates the caretDot field.
9452 (changedUpdate): Implemented. Fires property change events.
9453 (insertUpdate): Implemented. Fires property change events.
9454 (removeUpdate): Implemented. Fires property change events.
9455 (cut): Replaced textComp with JTextComponent.this construct.
9456 (paste): Replaced textComp with JTextComponent.this construct.
9457 (replaceText): Replaced textComp with JTextComponent.this construct.
9458 (selectText): Replaced textComp with JTextComponent.this construct.
9459 (getCaretPosition): Replaced textComp with JTextComponent.this
9460 construct.
9461 (getCharCount): Replaced textComp with JTextComponent.this construct.
9462 (getSelectedText): Replaced textComp with JTextComponent.this
9463 construct.
9464 (getSelectionEnd): Replaced textComp with JTextComponent.this
9465 construct.
9466 (getSelectionStart): Replaced textComp with JTextComponent.this
9467 construct.
9468 (getTextRange): Replaced textComp with JTextComponent.this
9469 construct.
9470 (doAccessibleAction): Implemented.
9471 (getAccessibleActionCount): Implemented.
9472 (getAccessibleActionDescription): Implemented.
9473 (getAccessibleStateSet): Implemented.
9474 (getAfterIndex): Implemented.
9475 (getBeforeIndex): Implemented.
9476 (getAtIndex): Implemented.
9477 (getAtIndexImpl): New helper method.
9478 (getCharacterAttribute): Implemented.
9479 (getCharacterBounds): Implemented.
9480 (getIndexAtPoint): Implemented.
9481 (insertTextAtIndex): Implemented.
9482 (setAttributes): Implemented.
9483 (setTextContents): Implemented.
9484
9485 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9486
9487 * configure.ac: Better handling of default-preferences-peer option.
9488
9489 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9490
9491 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9492 double[].
9493
9494 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9495
9496 * javax/management/openmbean/TabularData.java:
9497 Documentation corrections.
9498 * javax/management/openmbean/TabularDataSupport.java:
9499 New file.
9500
9501 2006-08-04 Francis Kung <fkung@redhat.com>
9502
9503 * java/awt/BasicStroke.java
9504 (dashedStroke): Implemented.
9505
9506 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9507
9508 * javax/management/BadAttributeValueExpException.java,
9509 * javax/management/BadStringOperationException.java,
9510 * javax/management/InstanceAlreadyExistsException.java,
9511 * javax/management/InstanceNotFoundException.java,
9512 * javax/management/InvalidApplicationException.java,
9513 * javax/management/MBeanRegistrationException.java,
9514 * javax/management/MalformedObjectNameException.java,
9515 * javax/management/RuntimeErrorException.java,
9516 * javax/management/RuntimeMBeanException.java,
9517 * javax/management/ServiceNotFoundException.java:
9518 New files.
9519
9520 2006-08-04 Roman Kennke <kennke@aicas.com>
9521
9522 * javax/swing/SwingUtilities.java
9523 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9524 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9525 layoutCompoundLabelImpl().
9526 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9527 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9528 layoutCompoundLabelImpl().
9529 (layoutCompoundLabelImpl): New helper method. Moved impl from
9530 layoutCompoundLabel() to here and added handling of HTML.
9531 * javax/swing/plaf/basic/BasicButtonUI.java
9532 (installUI): Update HTML view if appropriate.
9533 (uninstallUI): New method. Do the usual uninstallUI things
9534 and uninstall HTML view.
9535 (getMinimumSize): New method. Adjusts the minimum size
9536 by the HTML view minimum size.
9537 (getMaximumSize): New method. Adjusts the maximum size
9538 by the HTML view maximum size.
9539 (getPreferredSize): Pass the button's iconTextGap to the
9540 BasicGraphicsUtils method.
9541 (paint): Let HTML view paint the text, if present.
9542 * javax/swing/plaf/basic/BasicButtonListener.java
9543 (propertyChange): Update the HTML view when the button's
9544 text is changed.
9545
9546 2006-08-04 Mario Torre <neugens@limasoftware.net>
9547
9548 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9549 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9550 g_type_init earlier in function to correctly initialize the
9551 type system used by the backend.
9552
9553 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9554
9555 PR 26972
9556 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9557 Documented.
9558 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9559
9560 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9561
9562 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9563 Fixes PR27864.
9564 * gnu/xml/dom/DomIterator.java:
9565 (successor): Added if-statement.
9566
9567 2006-08-04 Mark Wielaard <mark@klomp.org>
9568
9569 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9570
9571 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9572
9573 * javax/swing/plaf/metal/MetalMenuBarUI.java:
9574 (update): Check size and paint smaller gradient.
9575 * javax/swing/plaf/metal/MetalBorders.java:
9576 (MenuBarBorder): Removed borderColor field.
9577 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9578 MetalLookAndFeel.
9579
9580 2006-08-03 Roman Kennke <kennke@aicas.com>
9581
9582 PR 27637
9583 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9584 (ComponentHandler.componentResized): Reimplemented to handle
9585 arbitrary parents.
9586 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9587 component listener on changed ancestor.
9588 (installListeners): Install componentListener.
9589 (uninstallListeners): Uninstall componentListener.
9590
9591 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9592
9593 * StrictMath.java (cbrt): Return argument if it is a NaN.
9594 (cosh): Likewise.
9595 (expm1): Likewise.
9596 (sinh): Likewise.
9597
9598 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9599
9600 * java/lang/StrictMath.java (tanh): New method.
9601
9602 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
9603
9604 * scripts/import-cacerts.sh: Batch CA certificates import script.
9605
9606 2006-08-03 Roman Kennke <kennke@aicas.com>
9607
9608 PR 27606
9609 * javax/swing/plaf/basic/BasicListUI.java
9610 (paintCell): Pass row index to cell renderer.
9611 * javax/swing/plaf/basic/MetalFileChooserUI.java
9612 (DirectoryComboBoxRenderer.indentIcon): New field.
9613 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9614 Initialize indentIcon.
9615 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9616 Fall back to super and removed standard functionality.
9617 Handle indentation.
9618 (IndentIcon): New class. Wraps and indents another icon.
9619
9620 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9621
9622 * javax/management/MBeanConstructorInfo.java:
9623 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
9624 Copy array rather than directly assigning.
9625 * javax/management/MBeanInfo.java:
9626 (MBeanInfo(String,String,MBeanAttributeInfo[],
9627 MBeanConstructorInfo[], MBeanOperationInfo[],
9628 MBeanNotificationInfo[])): Likewise.
9629 * javax/management/MBeanOperationInfo.java:
9630 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
9631 Likewise.
9632 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
9633 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
9634 New files.
9635 * javax/management/openmbean/OpenMBeanInfo.java:
9636 Corrected documentation.
9637 * javax/management/openmbean/OpenMBeanInfoSupport.java:
9638 New file.
9639 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9640 Corrected documentation.
9641 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9642 New file.
9643 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9644 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
9645 Call other constructor rather than reimplementing.
9646
9647 2006-08-02 Lillian Angel <langel@redhat.com>
9648
9649 * java/awt/dnd/DragSource.java
9650 (isDragImageSupported): Implemented.
9651 (getDragThreshold): Changed default value.
9652 * java/awt/dnd/DropTarget.java
9653 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
9654 (DropTarget): Likewise.
9655 (DropTarget): If FlavorMap passed in is null, we should use the system default.
9656 (addDropTargetListener): Added check to determine if new DropTargetListener
9657 is this class. If so, an IllegalArgumentException is thrown. If the
9658 new listener is null, nothing happens.
9659
9660 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
9661
9662 * configure.ac (MOZILLA_FOUND): Fall back to
9663 mozilla-firefox-plugin.
9664
9665 2006-08-02 Sven de Marothy <sven@physto.se>
9666
9667 * java/awt/geom/AffineTransform.java
9668 (hashCode): Tweak impl.
9669 * java/awt/font/FontRenderContext.java
9670 (hashCode): Implement.
9671
9672 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
9673
9674 * java/lang/StrictMath.java (sinh): New method.
9675
9676 2006-08-02 Roman Kennke <kennke@aicas.com>
9677
9678 PR 27605
9679 * javax/swing/JComboBox.java
9680 (setSelectedItem): Fire ActionEvent here.
9681 * javax/swing/plaf/basic/BasicDirectoryModel.java
9682 (directories): Changed to type Vector.
9683 (files): New field.
9684 (loadThread): New field.
9685 (DirectoryLoadThread): New inner class. This loads the contents
9686 of directories asynchronously.
9687 (getDirectories): Return cached Vector.
9688 (getFiles): Return cached Vector.
9689 (getSize): Return plain size of contents Vector.
9690 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
9691 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
9692 (sort): Don't store sorted list in contents. This must be done
9693 asynchronously from the EventThread.
9694 (validateFileCache): Rewritten for asynchronous reading
9695 of directory contents.
9696 * javax/swing/plaf/basic/BasicFileChooserUI.java
9697 (installListeners): Install model as PropertyChangeListener.
9698 (uninstallListeners): Uninstall model as PropertyChangeListener.
9699 (createPropertyChangeListener): Return null just like the
9700 RI.
9701
9702 2006-08-02 Sven de Marothy <sven@physto.se>
9703
9704 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9705 (remove): Force event on removing item 0 when it's selected.
9706 (handleEvent): Always call Choice.selected().
9707 * java/awt/Choice.java:
9708 (remove): Simplify and correct.
9709
9710 2006-08-02 Mark Wielaard <mark@klomp.org>
9711
9712 PR 28535
9713 * configure.ac (gconf-peer): Check for gdk-2.0.
9714 * native/jni/gconf-peer/Makefile.am
9715 (AM_LDFLAGS): Use GDK_LIBS.
9716 (AM_CFLAGS): Use GDK_CFLAGS.
9717
9718 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9719
9720 * java/net/URL.java (getContent(Class[])): Implement.
9721
9722 2006-08-02 Roman Kennke <kennke@aicas.com>
9723
9724 PR 27624
9725 * javax/swing/JMenu.java
9726 (JMenu()): Removed setting of delay.
9727 (JMenu(String)): Removed setting of delay.
9728 (JMenu(Action)): Removed setting of delay.
9729 (JMenu(String,boolean)): Removed setting of delay.
9730 (setSelectedHelper): Removed unneeded method.
9731 (setSelected): Simply set the model state.
9732 (setPopupMenuVisible): Recognize the popup location
9733 determined by getPopupMenuOrigin().
9734 (getPopupMenuOrigin): Recognize the UI properties for
9735 X and Y offset.
9736 (menuSelectionChanged): Call setSelected() directly.
9737 * javax/swing/JPopupMenu.java
9738 (menuSelectionChanged): If invoker is a JMenu, then delegate
9739 to that to get the position right.
9740 * javax/swing/Popup.java
9741 (LightweightPopup.show): Insert the popup as first component
9742 in the layer, so that it overlaps it's caller.
9743 * javax/swing/plaf/basic/BasicMenuItemUI.java
9744 (getPath): Don't include the popup.
9745 * javax/swing/plaf/basic/BasicMenuUI.java
9746 (SelectMenuAction): New class. This invokes the popup when
9747 a menu is selected.
9748 (installDefaults): Install delay of 200 ms.
9749 (setupPostTimer): Implemented.
9750 (MouseInputHandler.mouseClicked): Do nothing here.
9751 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
9752 magic to handle the selection. Open the menu via a timer.
9753 (MouseInputHandler.mousePressed): Use MenuSelectionManager
9754 magic to handle the selection. Open the menu via a timer.
9755 (MenuDragMouseHandler.menuMouseDragged): Probably use
9756 timer.
9757 (menuDragMouseEntered): Do nothing here.
9758
9759 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9760
9761 * javax/management/openmbean/InvalidOpenTypeException.java,
9762 * javax/management/openmbean/KeyAlreadyExistsException.java:
9763 New files.
9764
9765 2006-08-02 Roman Kennke <kennke@aicas.com>
9766
9767 PR 27604
9768 * javax/swing/plaf/basic/BasicChooserUI.java
9769 (BasicFileView.getName): Fetch the real name from the
9770 file chooser's FileSystemView.
9771 * javax/swing/plaf/metal/MetalChooserUI.java
9772 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9773 Set the text fetched from the JFileChooser.getName().
9774 * javax/swing/FileSystemView.java
9775 (createFileObject): When file is a filesystem root,
9776 create a filesystem root object first.
9777 (getSystemDisplayName): Return the filename. Added specnote
9778 about ShellFolder class that is mentioned in the spec.
9779 * javax/swing/UnixFileSystemView.java
9780 (getSystemDisplayName): Implemented to return the real name
9781 of a file, special handling files like '.' or '..'.
9782
9783 2006-08-03 Mark Wielaard <mark@klomp.org>
9784
9785 * examples/gnu/classpath/examples/icons/badge.png: Add file.
9786
9787 2006-08-03 Roman Kennke <kennke@aicas.com>
9788
9789 PR 28562
9790 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9791 (PropertyChangeHandler.propertyChange): Cleanly reinstall
9792 components when visual property chanegs.
9793
9794 2006-08-03 Roman Kennke <kennke@aicas.com>
9795
9796 PR 28562
9797 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9798 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
9799 component when visual properties change.
9800
9801 2006-08-03 Roman Kennke <kennke@aicas.com>
9802
9803 PR 28534
9804 * javax/swing/JTree.java
9805 (JTree(TreeModel)): Set cell renderer to null.
9806 * javax/swing/plaf/basic/BasicTreeUI.java
9807 (setCellRenderer): Finish editing before setting the
9808 cell renderer. Refresh the layout. Don't set the
9809 currentCellRenderer field here (that's done in updateRenderer).
9810 (updateRenderer): Handle createdRenderer field here too.
9811 Set renderer to a default handler when the current renderer
9812 in the JTree is null.
9813
9814 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9815
9816 PR Classpath/23899
9817 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
9818
9819 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9820
9821 PR Classpath/28556
9822 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
9823 Updated documentation to clarify that RFC-2459 states that the parameters
9824 field of the AlgorithmIdentifier element MUST be NULL if present.
9825 Amended the code to reflect the specs.
9826 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
9827
9828 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9829
9830 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9831 Call parameter 'defaultValue' not 'defValue'.
9832
9833 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9834
9835 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9836 New file.
9837
9838 2006-08-01 Roman Kennke <kennke@aicas.com>
9839
9840 PR 28562
9841 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9842 (PropertyChangeHandler.propertyChange): Cleanly reinstall
9843 components when visual property chanegs.
9844
9845 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9846
9847 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
9848 (toString()): Corrected documentation.
9849 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
9850 * javax/management/openmbean/OpenMBeanInfo.java,
9851 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9852 New files.
9853 * javax/management/openmbean/OpenMBeanParameterInfo.java:
9854 (toString()): Corrected documentation.
9855
9856 2006-08-01 Tania Bento <tbento@redhat.com>
9857
9858 * java/awt/Choice.java
9859 (remove(int)): Added documentation.
9860
9861 2006-08-01 Tania Bento <tbento@redhat.com>
9862
9863 * java/awt/Choice.java
9864 (remove(int)): An IllegalArgumentException should not be thrown
9865 if int is invalid. Update selectedIndex and peer selection.
9866
9867 2006-08-01 Tania Bento <tbento@redhat.com>
9868
9869 * java/awt/CardLayout.java
9870 (toString): Changed format of string outputted.
9871 (goToComponent): Changed the order of the if-clause.
9872
9873 2006-07-31 Tom Tromey <tromey@redhat.com>
9874
9875 * INSTALL: Updated for ASM.
9876
9877 2006-07-31 Tom Tromey <tromey@redhat.com>
9878
9879 PR libgcj/23682:
9880 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9881 (attachment): Likewise.
9882 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9883 synchronized.
9884 (isValid): Likewise.
9885 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9886 (ch): Likewise.
9887 (interestOps): Synchronize.
9888 (readyOps): Likewise.
9889 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9890 interestOps call.
9891
9892 2006-07-31 Roman Kennke <kennke@aicas.com>
9893
9894 * NEWS: Added note about the X peers.
9895 * INSTALL: Added install notes about the X peers.
9896
9897 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
9898
9899 * StrictMath.java (getLowDWord): Return long instead of int.
9900 (getHighDWord): Likewise.
9901 (buildDouble): Take two long arguments.
9902 (cbrt): Adapted to int -> long change.
9903 (expm1): Likewise.
9904 (cosh): Likewise.
9905
9906 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
9907
9908 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
9909 -avoid-version.
9910
9911 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
9912
9913 * java/security/Provider.java: Updated copyright year.
9914 Updated documentation.
9915 Formatting.
9916 (put): Updated documentation.
9917 Added security manager check.
9918 Canonicalize the key before adding its mapping.
9919 (get): Override superclass implementation to use canonicalized keys.
9920 (remove): Updated documentation.
9921 Added security manager check.
9922 Canonicalize the key before removing its mapping.
9923 (clear): Updated documentation.
9924 Added security manager check.
9925 (toCanonicalKey): New method.
9926
9927 2006-07-30 Matt Wringe <mwringe@redhat.com>
9928
9929 * gnu/java/security/Engine.java
9930 (getInstance): Ignore self referencing aliases.
9931
9932 2006-07-30 Mark Wielaard <mark@klomp.org>
9933
9934 * javax/swing/JComponent.java (getListeners): Revert
9935 un-genericization.
9936
9937 2006-07-30 Mark Wielaard <mark@klomp.org>
9938
9939 * resource/java/security/classpath.security: Add /dev/urandom as
9940 default securerandom.source.
9941
9942 2006-07-30 Mark Wielaard <mark@klomp.org>
9943
9944 * java/util/GregorianCalendar.java (maximums): Months can have up to
9945 6 weeks.
9946 (nonLeniencyCheck): weeks is either 5 or 6.
9947
9948 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
9949
9950 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
9951 * javax/management/openmbean/OpenMBeanParameterInfo.java:
9952 New files.
9953
9954 2006-07-30 Matt Wringe <mwringe@redhat.com>
9955
9956 * gnu/java/security/Engine.java
9957 (getInstance): Ignore self referencing aliases.
9958
9959 2006-07-30 Sven de Marothy <sven@physto.se>
9960
9961 * java/awt/Choice.java:
9962 (accessibleAction): Call select() directly.
9963 (add, insert, remove): Reimplement.
9964 (dispatchEventImpl): Always call super.
9965 (processItemEvent): Does not set the index.
9966 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
9967 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9968 (append): removed.
9969 (nativeAdd): Name changed to add.
9970 (selection_changed_cb): Simplify callback.
9971 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9972 (selected): New field.
9973 (add): Replaced with native impl.
9974 (handleEvent): New method.
9975
9976 2006-07-30 Sven de Marothy <sven@physto.se>
9977
9978 * java/awt/Choice.java:
9979 Reformat, fix copyright year.
9980
9981 2006-07-29 Mark Wielaard <mark@klomp.org>
9982
9983 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
9984 static field isPaintingDoubleBuffered to not have the same name
9985 as a method.
9986
9987 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
9988
9989 * examples/gnu/classpath/examples/management/TestBeans.java:
9990 New file.
9991 * javax/management/MBeanAttributeInfo.java:
9992 (toString()): Implemented.
9993 * javax/management/MBeanConstructorInfo.java:
9994 (toString()): Implemented.
9995 * javax/management/MBeanFeatureInfo.java:
9996 (toString()): Implemented.
9997 * javax/management/MBeanInfo.java:
9998 (toString()): Implemented.
9999 * javax/management/MBeanNotificationInfo.java:
10000 (toString()): Implemented.
10001 * javax/management/MBeanOperationInfo.java:
10002 (toString()): Implemented.
10003 * javax/management/MBeanParameterInfo.java:
10004 (toString()): Implemented.
10005 * javax/management/StandardMBean.java:
10006 (getMBeanInfo()): Fix attribute naming.
10007
10008 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10009
10010 * gnu/java/lang/management/BeanImpl.java:
10011 Extended javax.management.StandardMBean.
10012 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10013 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10014 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10015 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10016 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10017 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10018 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10019 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10020 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10021 Call the superclass with the appropriate class.
10022 * java/lang/management/ManagementFactory.java:
10023 (getOperatingSystemMXBean()): Catch exception from
10024 StandardMBean.
10025 (getRuntimeMXBean()): Likewise.
10026 (getClassLoadingMXBean()): Likewise.
10027 (getThreadMXBean()): Likewise.
10028 (getMemoryMXBean()): Likewise.
10029 (getCompilationMXBean()): Likewise.
10030 (getMemoryPoolMXBeans()): Likewise.
10031 (getMemoryManagerMXBeans()): Likewise.
10032 (getGarbageCollectorMXBeans()): Likewise.
10033 * javax/management/MBeanFeatureInfo.java:
10034 hashCode()): Fixed to check for null values.
10035
10036 2006-07-29 Matt Wringe <mwringe@redhat.com>
10037
10038 * gnu/java/security/Engine.java
10039 (getInstance): Add case insentivity to algorithm names
10040 * java/security/Provider.java
10041 (put): Stop using canonical key naming
10042 (remove): Likewise
10043 (toCanonicalKey): Method removed
10044 (get): Method removed, no longer needs to overwrite
10045 parent implementation
10046
10047 2006-07-29 Mark Wielaard <mark@klomp.org>
10048
10049 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10050 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10051 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10052 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10053 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10054 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10055 Removed.
10056
10057 2006-07-29 Sven de Marothy <sven@physto.se>
10058
10059 * java/math/BigDecimal.java
10060 Adjust copyright date.
10061 (divide(BigDecimal): Implement.
10062 (precision): Reimplement.
10063 (numDigitsInBigInteger, numDigitsInLong): Removed.
10064 (toString): Get exponent from string length,
10065 fix negative values with exponential form.
10066 (toEngineeringString): Same as for toString.
10067 (setScale): Throw ArithmeticException if scale < 0.
10068
10069 2006-07-27 Francis Kung <fkung@redhat.com>
10070
10071 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10072 (cp1): Renamed from first().
10073 (c2): Renamed from last().
10074 (first): Renamed to cp1().
10075 (getDisplacedSegments): Implemented.
10076 (last): Renamed to cp2().
10077 * gnu/java/awt/java2d/LineSegment.java
10078 (cp1): Renamed from first().
10079 (c2): Renamed from last().
10080 (first): Renamed to cp1().
10081 (last): Renamed to cp2().
10082 * gnu/java/awt/java2d/QuadSegment.java
10083 (cp1): Renamed from first().
10084 (c2): Renamed from last().
10085 (first): Renamed to cp1().
10086 (last): Renamed to cp2().
10087 * gnu/java/awt/java2d/Segment.java: Added comments.
10088 (first): New field.
10089 (Segment): Keep track of first element in list.
10090 (add): Update first & last element variables.
10091 (cp1): Renamed from first().
10092 (c2): Renamed from last().
10093 (first()): Renamed to cp1() to reduce ambiguity.
10094 (last()): Renamed to cp2() to reduce ambiguity.
10095 (reverseAll): Update first element variable..
10096 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10097 (draw): Remove flattening path iterator.
10098 * java/awt/BasicStroke.java: Clarified comments.
10099 (addSegments): Refactored some code into joinSegments and
10100 joinInnerSegments.
10101 (capEnd): Rename of Segment.first() and Segment.end().
10102 (joinInnerSegments): New method.
10103 (joinOuterSegments): New method.
10104 (joinSegments): Refactored some code into joinOuterSegments.
10105 (solidStroke): Connect segments together properly.
10106
10107 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10108
10109 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10110 -avoid-version.
10111 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10112 Likewise.
10113 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10114 Likewise.
10115 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10116 Likewise.
10117
10118 2006-07-28 Tom Tromey <tromey@redhat.com>
10119
10120 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10121
10122 2006-07-28 Lillian Angel <langel@redhat.com>
10123
10124 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10125 Removed function declarations.
10126 (connect_signals_for_widget): Removed implementation because
10127 stub functions have been removed.
10128 (drag_begin_cb): Removed function.
10129 (drag_motion_cb): Likewise.
10130 (drag_data_get_cb): Likewise.
10131 (drag_data_delete_cb): Likewise.
10132 (drag_drop_cb): Likewise.
10133 (drag_end_cb): Likewise.
10134 (drag_data_received_cb): Likewise.
10135
10136 2006-07-28 Mark Wielaard <mark@klomp.org>
10137
10138 * configure.ac: Set version to 0.93-pre.
10139
10140 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10141
10142 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10143
10144 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10145
10146 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10147 (getCallbackHandler): Fully qualify linked class in javadoc.
10148 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10149 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10150 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10151
10152 2006-07-27 Tom Tromey <tromey@redhat.com>
10153
10154 PR classpath/28486:
10155 * java/net/URLStreamHandler.java (equals): Properly handle default
10156 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10157
10158 2006-07-27 Roman Kennke <kennke@aicas.com>
10159
10160 * javax/swing/text/AbstractDocument.java
10161 (documentCV): Made field private.
10162 (bypass): Made field private.
10163 (bidiRoot): New field.
10164 (AbstractDocument): Initialize bidiRoot.
10165 (getBidiRootElement): Return bidiRoot.
10166 (getRootElements): Adjusted to also return the bidiRoot element.
10167 (BranchElement.startOffset): Removed unneeded field.
10168 (BranchElement.endOffset): Removed unneeded field.
10169 (BranchElement.BranchElement): Removed unneeded fields.
10170 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10171 done automatically when there's no element left in the array.
10172 (BranchElement.getStartOffset): Likewise.
10173 (BranchElement.replace): Reordered calculations to avoid double
10174 calculations.
10175 (removeImpl): Silently ignore requests with length <= 0.
10176 * javax/swing/text/GapContent.java
10177 (createPosition): Removed explicit check for correct offset.
10178 This class can deal with offsets outside the document.
10179 (shiftEnd): Update all positions, even those outside the
10180 document.
10181 (adjustPositionsInRange): Fixed to also adjust positions outside
10182 the document boundary.
10183
10184 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10185
10186 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10187 defining class.
10188 (getParameter): Returns _klass field instead of determining
10189 class from _instance.
10190 (setCatchLoc): New method.
10191 (writeData): Now assumes Location deals with empty locations instead of
10192 using null.
10193 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10194 locations and write out accordingly.
10195 (getEmptyLocation): New method.
10196
10197 2006-07-27 Roman Kennke <kennke@aicas.com>
10198
10199 * javax/swing/text/SimpleAttributeSet.java
10200 (EMPTY): Use EmptyAttributeSet for this field rather than
10201 SimpleAttributeSet.
10202 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10203 an empty and immutable AttributeSet.
10204
10205 2006-07-27 Roman Kennke <kennke@aicas.com>
10206
10207 * java/awt/Component.java
10208 (reshape): Invalidate the component itself only when the
10209 size has changed. Invalidate the parent always. Fixed
10210 repainting. Pulled out the notification into
10211 notifyReshape().
10212 (notifyReshape): New helper method. Notify interested listeners
10213 about a reshape.
10214 (update): Simply call paint() without clearing the background.
10215 This is done in Container.update() if appropriate.
10216 (repaint): Delagate the repaint to the nearest heavyweight
10217 parent (for lightweights) and send an UPDATE event, rather than
10218 calling ComponentPeer.repaint().
10219 * java/awt/Container.java
10220 (backCleared): Removed field.
10221 (paint): Removed handling of backCleared flag.
10222 (update): Only paint if the container is actually
10223 showing. Removed handling of backCleared flag.
10224
10225 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10226
10227 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10228 authorship.
10229 (NavigateAction): New inner class.
10230 (NavigatePageDownAction): New inner class.
10231 (NavigatePageUpAction): New inner class.
10232 (RequestFocusAction): New inner class.
10233 (RequestFocusForVisibleComponentAction): New inner class.
10234 (FocusHandler.focusGained): Implemented.
10235 (FocusHandler.focusLost): Implemented.
10236 (MouseHandler.mouseReleased): Implemented.
10237 (MouseHandler.mousePressed): Rewritten.
10238 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10239 currentScrollLocation to 0.
10240 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10241 removed local variables, fixed indentation to stay under 80 column
10242 limit.
10243 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10244 one, set selectedIndex to 0 if its negative, corrected start values
10245 for normalization, suppressed padding when only one tab run,
10246 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10247 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10248 80 column limit, corrected the starting value for the bounds fixing
10249 phase.
10250 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10251 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10252 selectedRun, set start index for loop to 0.
10253 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10254 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10255 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10256 alignment and visibility handling.
10257 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10258 layout mode.
10259 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10260 (currentScrollOffset): New field.
10261 (tabRuns): Rewritten documentation.
10262 (selectedColor): New field.
10263 (tempTextRect): New field.
10264 (tempIconRect): New field.
10265 (scrollTab): New method.
10266 (updateButtons): New method.
10267 (updateViewPosition): New method.
10268 (createLayoutManager): Reordered method calls, predefine new fields,
10269 register proper listeners.
10270 (uninstallComponents): Implemented.
10271 (installDefaults): Corrected property names, fixed indentation,.
10272 (uninstallDefaults): Set new fields to null.
10273 (uninstallListeners): Remove listeners from components neccessary for
10274 scrolling tab layout.
10275 (installKeyboardActions): Implemented.
10276 (uninstallKeyboardActions): Implemented.
10277 (paint): Paint tab area background.
10278 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10279 objects.
10280 (getTabLabelShiftX): Rewritten.
10281 (getTabLabelShiftY): Rewritten.
10282 (paintFocusIndicator): Reindented.
10283 (paintTabBorder): Rewritten.
10284 (paintTabBackground): Corrected color usage, rewritten background
10285 rectangle painting.
10286 (paintContentBorderTopEdge): Rewritten.
10287 (paintContentBorderBottomEdge): Rewritten.
10288 (paintContentBorderLeftEdge): Rewritten.
10289 (paintContentBorderRightEdge): Rewritten.
10290 (tabForCoordinate): Return selected index when no tab could be
10291 found, removed FIXME note.
10292 (getRunForTab): Changed return value for first if-statement.
10293 (navigateSelectedTab): Fixed last argument for both
10294 getTabRunOffset() calls.
10295 (selectedNextTabInRun): Added scrolling code.
10296 (selectedPreviousTabInRun): Added scrolling code.
10297 (selectedNextTab): Added scrolling code.
10298 (selectedPreviousTab): Added scrolling code.
10299 (selectAdjacentRunTab): Added scrolling code.
10300 (getTextViewForTab): Added FIXME note.
10301 (calculateTabHeight): Changed FIXME note.
10302 (getTabRunOffset): Fixed indentation.
10303 (getNextTabIndexInRun): Corrected return value.
10304 (rotateInsets): Make TOP case the default in switch-statement.
10305 (getActionMap): New method.
10306 (createActionMap): New method.
10307 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10308 (createLayoutManager): Rewritten.
10309 (paintLeftTabBorder): Do not paint left line when previous tab
10310 is selected but current tab is the first in its run, do not paint
10311 left line when current tab is selected and is first in its run.
10312 (paintRightTabBorder): Added missing setColor() call, fixed color
10313 usage, do not paint right line if previous tab is selected but
10314 current tab is the first in its run.
10315 (paintBottomTabBorder): Do not paint left line if tab is selected
10316 and is the first tab in the last run.
10317 (paintFocusIndicator): New method.
10318 (getLabelShiftX): New method.
10319 (getLabelShiftY): New method.
10320
10321 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10322
10323 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10324 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10325 g_assert from unused obj.
10326 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10327 obj as unused and remove g_assert on it.
10328
10329 2006-07-26 Roman Kennke <kennke@aicas.com>
10330
10331 * javax/swing/RepaintManager.java
10332 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10333 for the component.
10334 (isCompletelyDirty): Consider a component completely dirty
10335 when it has a dirty region with Integer.MAX_VALUE.
10336
10337 2006-07-26 Roman Kennke <kennke@aicas.com>
10338
10339 * java/awt/KeyboardFocusManager.java
10340 (getGlobalFocusOwner): Explicitly check for thread security.
10341 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10342 (getGlobalFocusedWindow): Explicitly check for thread security.
10343 (getGlobalActiveWindow): Explicitly check for thread security.
10344 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10345 (getGlobalObject): Added new argument for specifying if
10346 a security check should be performed or not.
10347 (setGlobalObject): Don't check for thread security when
10348 calling getGlobalObject.
10349
10350 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10351
10352 * javax/management/MBeanConstructorInfo.java:
10353 Documentation fix.
10354 * javax/management/MBeanInfo.java:
10355 (MBeanInfo(String,String,MBeanAttributeInfo[],
10356 MBeanConstructorInfo[], MBeanOperationInfo[],
10357 MBeanNotificationInfo[])): Implemented.
10358 (equals(Object)): Likewise.
10359 (getAttributes()): Likewise.
10360 (getConstructors()): Likewise.
10361 (getOperations()): Likewise.
10362 (hashCode()): Likewise.
10363 * javax/management/MBeanOperationInfo.java,
10364 * javax/management/NotCompliantMBeanException.java,
10365 * javax/management/StandardMBean.java:
10366 New files.
10367
10368 2006-07-26 Sven de Marothy <sven@physto.se>
10369
10370 * java/awt/geom/GeneralPath.java: Fix severe typo.
10371
10372 2006-07-26 Sven de Marothy <sven@physto.se>
10373
10374 * include/java_lang_VMSystem.h
10375 * vm/reference/java/lang/VMSystem.java
10376 * native/jni/java-lang/java_lang_VMSystem.c
10377 (nanoTime, currentTimeMillis): Switch the former to native code and
10378 the latter to java.
10379
10380 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10381
10382 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10383 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10384 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10385 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10386 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10387 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10388 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10389 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10390 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10391 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10392 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10393 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10394 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10395 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10396 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10397 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10398 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10399 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10400 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10401 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10402 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10403
10404 2006-07-26 Roman Kennke <kennke@aicas.com>
10405
10406 * java/awt/KeyboardFocusManager.java
10407 (getFocusOwner): Don't check permanent owner.
10408 (getGlobalFocusOwner): Don't check permanent owner.
10409
10410 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10411
10412 * StrictMath.java (cosh): New method.
10413 (expm1): New method.
10414 (EXPM1_Q1): New field.
10415 (EXPM1_Q2): Likewise.
10416 (EXPM1_Q3): Likewise.
10417 (EXPM1_Q4): Likewise.
10418 (EXPM1_Q6): Likewise.
10419
10420 2006-07-26 Roman Kennke <kennke@aicas.com>
10421
10422 * javax/swing/plaf/basic/BasicButtonListener.java
10423 (mousePressed): Request focus if appropriate.
10424 * javax/swing/text/DefaultCaret.java
10425 (mousePressed): Also handle the focus of the text component
10426 as specified. Don't consume events.
10427
10428 2006-07-26 Roman Kennke <kennke@aicas.com>
10429
10430 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10431 (focusRequest): Removed field.
10432 (postFocusEvent(int,boolean,Component)): Removed.
10433 (postFocusEvent(int,boolean)): Reverted to post event using
10434 the heavyweight component.
10435 (requestFocus): Post focus event using the heavyweight
10436 component.
10437 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10438 (requestFocus): Post focus event using the heavyweight
10439 component.
10440 * java/awt/AWTEvent.java
10441 (isFocusManagerEvent): New field, indicating if this is
10442 an event that is redispatched by the KeyboardFocusManager.
10443 * java/awt/Component.java
10444 (requestFocusImpl): Register component for
10445 heavyweight->lightweight mapping.
10446 (dispatchEventImpl): Retarget focus events before dispatching
10447 to the KeyboardFocusManager. Use new AWTEvent flag instead
10448 of locking hack. Dispatch all events through the
10449 KeyboardFocusManager. Don't request focus on lightweight
10450 components.
10451 * java/awt/DefaultKeyboardFocusManager.java
10452 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10453 FOCUS_LOST.
10454 (handleFocusGained): Fixed handling of temporary vs permanent
10455 focus changes. Added some checks.
10456 (handleFocusLost): Fixed handling of temporary vs permanent
10457 focus changes. Added some checks.
10458 * java/awt/EventDispatchThread.java
10459 (run): Don't dispatch to KeyboardFocusManager here. This
10460 is done in Component.dispatchEventImpl().
10461 * java/awt/KeyboardFocusManager.java
10462 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10463 (focusRequests): New field.
10464 (retargetFocusEvent): New method. Retargets focus events
10465 that come from heavyweights to the correct lightweight component.
10466 (addLightweightFocusRequest): New method. Stores a mapping
10467 for later retargetting of heavyweight focus events.
10468 * java/awt/Window.java
10469 (addFocusListener): Removed bogus method. If at all, this
10470 should be performed in the KeyboardFocusManager.
10471 (Window): Don't install a focus listener on the Window.
10472
10473 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10474
10475 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10476 (drawLine): Apply shift to line coordinates.
10477
10478 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10479
10480 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10481 (copyimage): Do not call setRenderingHints() when the respective map
10482 does not exist.
10483 (filter): Removed code to clone the ColorModel instance.
10484 * java/awt/image/ColorModel.java:
10485 (cloneColorModel): Removed.
10486
10487 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10488
10489 * javax/swing/JTabbedPane.java:
10490 (setSelectedIndex): Removed updating of component visibility status,
10491 added note.
10492 (remove(Component)): Use indexOfComponent() to find whether we have
10493 to use super.remove(int) or removeTabAt().
10494
10495 2006-07-26 Roman Kennke <kennke@aicas.com>
10496
10497 * javax/swing/JOptionPane.java
10498 (createDialog): Add property change handler for closing
10499 the dialog when the value property changes.
10500 (ValuePropertyHandler): New inner helper class.
10501 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10502 (OptionPaneCloseAction): New class.
10503 (messageForeground): Removed field.
10504 (messageBorder): Removed field.
10505 (buttonBorder): Removed field.
10506 (addIcon): Configure the new label.
10507 (addMessageComponents): Configure newly created labels.
10508 (burstStringInto): Likewise.
10509 (createButtonArea): Install border here.
10510 (createMessageArea): Install border and foreground here.
10511 (createSeparator): Added comment and removed
10512 NotImplementedException.
10513 (installComponents): Don't install the UI defaults for the
10514 message and button area here. This is moved to the
10515 corresponding create* methods. Adjusted comment about
10516 separator.
10517 (installDefaults): Removed initialization of removed fields.
10518 (installKeyboardActions): Implemented.
10519 (getActionMap): New helper method.
10520 (createDefaultActions): New helper method.
10521 (uninstallDefaults): Removed de-initialization of removed fields.
10522 (uninstallKeyboardActions): Implemented.
10523 (configureLabel): New helper method.
10524 * javax/swing/plaf/basic/BasicTableUI.java
10525 (getActionMap): Fixed the UI property names.
10526 * javax/swing/plaf/basic/BasicToolBarUI.java
10527 (getActionMap): Fixed the UI property names.
10528
10529 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10530
10531 * java/awt/image/BandedSampleModel.java
10532 (getDataElements): Check for negative x or y,
10533 (getPixels): Likewise,
10534 (getSamples): Likewise,
10535 (setSamples): Likewise.
10536
10537 2006-07-26 Roman Kennke <kennke@aicas.com>
10538
10539 * javax/swing/plaf/basic/BasicToolBarUI.java
10540 (ToolBarAction): New inner class for handling keyboard
10541 actions.
10542 (installKeyboardActions): Implemented.
10543 (getActionMap): New helper method.
10544 (createDefaultActions): New helper method.
10545 (installListeners): Install focus listener on toolbar's
10546 children, rather than the toolbar itself.
10547 (navigateFocusedComp): Implemented.
10548 (uninstallKeyboardActions): Implemented.
10549 (uninstallListeners): Uninstall focus listener from
10550 toolbar's children, rather than the toolbar itself.
10551 (ToolBarContListener.componentAdded): Install focus
10552 listener on added child.
10553 (ToolBarContListener.componentRemoved): Uninstall focus
10554 listener from removed child.
10555 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10556 (ToolBarFocusListener.focusGained): Implemented.
10557 (ToolBarFocusListener.focusLost): Implemented.
10558
10559 2006-07-26 Roman Kennke <kennke@aicas.com>
10560
10561 * java/awt/DefaultKeyboardFocusManager.java
10562 (dispatchEvent): Notify old focus owner when it has lost
10563 focus.
10564
10565 2006-07-26 Roman Kennke <kennke@aicas.com>
10566
10567 * javax/swing/plaf/basic/BasicTableUI.java
10568 (FocusHandler.focusGained): Implemented to refresh the
10569 lead cell.
10570 (FocusHandler.focusLost): Implemented to refresh the
10571 lead cell.
10572 (FocusHandler.repaintLeadCell): New helper method.
10573 (MouseInputHandler.mouseEntered): Do nothing here.
10574 (MouseInputHandler.mouseExited): Do nothing here.
10575 (MouseInputHandler.mouseMoved): Do nothing here.
10576 (installKeyboardActions): Rewritten to use a shared InputMap
10577 and ActionMap and correctly install the maps via SwingUtilities
10578 methods.
10579 (getActionMap): New helper method.
10580 (createDefaultActions): New helper method.
10581 (ActionListenerProxy): Removed unneeded class.
10582 (TableAction): Made class static.
10583 (TableAction.actionPerformed): Determine table by fetching
10584 the event source. Pass the table to helper methods.
10585 Use __command__ hack to determine the action command.
10586 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10587 (TableAction.getLastVisibleColumnIndex): Get table as argument.
10588 (TableAction.getFirstVisibleRowIndex): Get table as argument.
10589 (TableAction.getLastVisibleRowIndex): Get table as argument.
10590 (TableAction.advanceMultipleSelection): Get table as argument.
10591 (uninstallDefaults): Do nothing here.
10592 (uninstallKeyboardActions): Uninstall the keyboard actions.
10593
10594 2006-07-26 Roman Kennke <kennke@aicas.com>
10595
10596 * javax/swing/JComponent.java
10597 (processKeyBinding): Store the action command as property
10598 in the Action instance that we call. This allows for
10599 improvement on the side of the Action.
10600
10601 2006-07-26 Roman Kennke <kennke@aicas.com>
10602
10603 * javax/swing/plaf/metal/MetalUtils.java
10604 (fillMetalPattern): Use fillRect() instead of drawLine() to
10605 fill single pixels.
10606
10607 2006-07-26 Roman Kennke <kennke@aicas.com>
10608
10609 * javax/swing/text/GapContent.java
10610 (getChars): Check for negative length and throw
10611 BadLocationException.
10612
10613 2006-07-26 Roman Kennke <kennke@aicas.com>
10614
10615 * javax/swing/plaf/basic/BasicMenuBarUI.java
10616 (FocusAction): Made class static.
10617
10618 2006-07-26 Roman Kennke <kennke@aicas.com>
10619
10620 * javax/swing/plaf/basic/BasicLookAndFeel.java
10621 (initComponentDefaults): Add keyboard bindings for
10622 PopupMenu.
10623
10624 2006-07-26 Roman Kennke <kennke@aicas.com>
10625
10626 * javax/swing/UIManager.java
10627 (getLookAndFeelDefaults): Return the look and feel defaults.
10628 (setLookAndFeel): Improved exception messsage.
10629
10630 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10631
10632 * javax/swing/text/StringContent.java
10633 (StringContent): Changed initialLength to 10.
10634
10635 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10636
10637 * java/util/Vector.java: Fixed API doc typo.
10638
10639 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10640
10641 * java/awt/image/BandedSampleModel.java
10642 (createCompatibleSampleModel): Fixed typo in loop increment, set
10643 correct scanlineStride, and updated API docs.
10644
10645 2006-07-25 Roman Kennke <kennke@aicas.com>
10646
10647 * javax/swing/plaf/basic/BasicPopupMenuUI.java
10648 (NavigateAction): New inner class. This is responsible for
10649 keyboard navigation through menus.
10650 (KeyboardHelper): New inner class. This manages the
10651 keyboard mappings and focus when a popup opens or closes.
10652 (keyboardHelper): New static field.
10653 (numPopups): New static field.
10654 (installUI): Create KeyboardHelper for first popup.
10655 Call installKeyboardActions().
10656 (installKeyboardActions): Removed NotImplementedException.
10657 This method is a no-op.
10658 (installKeyboardActionsImpl): New method. Installs keyboard
10659 mapping when a popup is opened.
10660 (getActionMap): New helper method.
10661 (createDefaultActions): New helper method.
10662 (uninstallUI): Uninstall KeyboardHelper when last Popup is
10663 uninstalled. Call uninstallKeyboardActions().
10664 (uninstallKeyboardActions): Removed NotImplementedException.
10665 This method is a no-op.
10666 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
10667 mapping when a popup is closed.
10668
10669 2006-07-25 Roman Kennke <kennke@aicas.com>
10670
10671 * java/awt/Component.java
10672 (requestFocus()): Reimplemented to use requestFocusImpl().
10673 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
10674 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
10675 (requestFocusInWindow(boolean)): Reimplemented to use
10676 requestFocusImpl().
10677 (requestFocusImpl): Reimplemented focus request to use
10678 new peer method. Also added some obvious additional checks
10679 for rejecting focus requests early.
10680 * java/awt/ComponentPeer.java
10681 (requestFocus(Component,boolean,boolean,long)): Documented
10682 this method.
10683 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10684 (requestFocus): New field.
10685 (gtkWidgetHasFocus): New native method.
10686 (gtkWidgetCanFocus): New native method.
10687 (requestFocus): Replaced with assert false to prevent
10688 usage of obsolete method.
10689 (postFocusEvent(int,boolean,Component)): New overloaded method
10690 for posting the focus event to a specific target.
10691 (postFocusEvent(int,boolean)): Post event to requestFocus
10692 component.
10693 (requestFocus(Component,boolean,boolean,long)): Implemented.
10694 (getWindowFor): New helper method.
10695 (isLightweightDescendant): New helper method.
10696 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10697 (gtkWindowHasFocus): New native method.
10698 (requestFocus(Component,boolean,boolean,long)): New method.
10699 Overrides GtkComponentPeer method to specially handly the
10700 case when a Window receives a focus request for a lightweight
10701 child.
10702 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10703 (gtkWidgetHasFocus): New native method.
10704 (gtkWidgetCanFocus): New native method.
10705 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10706 (gtkWindowHasFocus): New native method.
10707 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
10708 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10709 Regenerated.
10710
10711 2006-07-25 Francis Kung <fkung@redhat.com>
10712
10713 * java/awt/DefaultKeyboardFocusManager.java
10714 (dispatchEvent): Add check for valid component.
10715
10716 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
10717
10718 * javax/management/MBeanConstructorInfo.java:
10719 New file.
10720 * javax/management/MBeanNotificationInfo.java:
10721 Documentation fix.
10722 * javax/management/MBeanParameterInfo.java:
10723 New file.
10724
10725 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10726
10727 * java/awt/peer/gtk/CairoGraphics.java:
10728 (drawLine): Added special case for 1 pixel lines.
10729
10730 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10731
10732 Fixes PR27844.
10733 * java/awt/peer/gtk/CairoGraphics.java:
10734 (drawLine): Removed calls to shifted().
10735
10736 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10737
10738 * javax/swing/JTabbedPane.java:
10739 (remove(Component)): Rewritten.
10740 (setSelectedIndex): Implemented updating of component visibility state.
10741
10742 2006-07-25 Sven de Marothy <sven@physto.se>
10743
10744 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
10745 (init): Default to the actual depth in the worst case.
10746
10747 * java/awt/Font.java
10748 (createFont(int, File)): New method.
10749
10750 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
10751
10752 Fixes bug #28413
10753 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
10754 New field.
10755 (RETokenEnd): New constructer to set check_java_line_terminators.
10756 (matchThis): Checck line terminators if check_java_line_terminators.
10757 * gnu/java/util/regex/RETokenStart.java: Likewise.
10758 * gnu/regexp/RE.java(initialize): Use the new constructors for
10759 RETokenEnd and RETokenStart if REG_MULTILINE is set.
10760 * java/util/regex/Pattern.java(Patteren): Changed so that
10761 gnu/regexp/RE.java may use the new the new constructors.
10762
10763 2006-07-25 Roman Kennke <kennke@aicas.com>
10764
10765 * java/awt/Container.java
10766 (focusTraversalPolicyProvider): New field.
10767 (isFocusTraversalPolicyProvider): New method.
10768 (setFocusTraversalPolicyProvider): New method.
10769 * java/awt/ContainerOrderFocusTraversalPolicy.java
10770 (getFirstComponent): Use accept() instead of lengthy checks.
10771 Don't fetch getComponents() to avoid copying of array.
10772 Traverse down the hierarchy to find the first focused component.
10773 * java/awt/DefaultKeyboardFocusManager.java
10774 (dispatchEvent): Let the initial component request focus.
10775
10776 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10777
10778 * javax/swing/text/Segment.java
10779 (last): Update current index before returning DONE for zero count.
10780
10781 2006-07-24 Mark Wielaard <mark@klomp.org>
10782
10783 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
10784
10785 2006-07-25 Roman Kennke <kennke@aicas.com>
10786
10787 * javax/swing/plaf/basic/BasicMenuBarUI.java
10788 (FocusAction): New inner class. Used to grab focus.
10789 (installKeyboardActions): Implemented.
10790 (uninstallKeyboardActions): Implemented.
10791 (getActionMap): New helper method.
10792 (createDefaultActions): New helper method.
10793
10794 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10795
10796 * examples/gnu/classpath/examples/swing/Demo.java:
10797 (mkMenuBar): Install instantiable basic look and feel.
10798 (InstantiableBasicLookAndFeel): New inner class.
10799
10800 2006-07-25 Roman Kennke <kennke@aicas.com>
10801
10802 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10803 (GlassPaneDispatcher.dragTarget): New field.
10804 (GlassPaneDispatcher.isDragging): New field.
10805 (GlassPaneDispatcher.pressedComponent): Removed field.
10806 (GlassPaneDispatcher.tempComponent): Removed field.
10807 (GlassPaneDispatcher.pressCount): Removed field.
10808 (GlassPaneDispatcher.mousePressed): Call
10809 borderListener.mousePressed() to activate the frame.
10810 (acquireComponentForMouseEvent): Removed method.
10811 (handleEvent): Rewritten.
10812 (redispatch): New method.
10813 (InternalFramePropertyChangeListener.propertyChange):
10814 Make glasspane invisible when frame is selected, and visible
10815 if it gets deselected.
10816
10817 2006-07-25 Roman Kennke <kennke@aicas.com>
10818
10819 * java/awt/LightweightDispatcher.java
10820 (handleMouseEvent): Dispatch event to real target if
10821 the dragTarget has become invisible in the meantime.
10822
10823 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10824
10825 * javax/swing/text/TabSet.java
10826 (equals): New method override for 1.5,
10827 (hashCode): Likewise,
10828 (toString): Added spaces to match reference implementation.
10829
10830 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
10831
10832 * javax/management/IntrospectionException.java,
10833 * javax/management/MBeanAttributeInfo.java:
10834 New files.
10835 * javax/management/MBeanNotificationInfo.java:
10836 Documentation cleanups.
10837
10838 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
10839
10840 * javax/swing/text/TabSet.java
10841 (TabSet): Check for null argument,
10842 (getTab): Throw IllegalArgumentException for index out of bounds,
10843 (getTabIndexAfter): Changed test to '<=',
10844 and updated API docs all over,
10845 * javax/swing/text/TabStop.java: Updated API docs.
10846
10847 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
10848
10849 * javax/swing/text/TabStop.java
10850 (toString): Don't use 'left ' prefix, and added space between tab
10851 location and '(w/leader)' suffix.
10852
10853 2006-07-24 Francis Kung <fkung@redhat.com>
10854
10855 * javax/swing/JComboBox.java
10856 (DefaultKeySelectionManager): Implemented.
10857 (createDefaultKeySelectionManager): Implemented.
10858 (getKeySelectionManager): Implemented.
10859 (processKeyEvent): Removed duplicate code.
10860 * javax/swing/JPopupMenu.java
10861 (selectionModel): Changed visibility.
10862 * javax/swing/plaf/basic/BasicComboBoxUI.java
10863 (KeyHandler.keyPressed): Added navigation keys.
10864 (configureEditor): Add key listener.
10865 (installListeners): Install focus listener to combo box.
10866 (isNavigationKey): Added enter, escape, and tab.
10867 (selectPreviousPossibleValue): Added out of bounds check.
10868 (unconfigureEditor): Remove key listener.
10869 * javax/swing/plaf/metal/MetalComboBoxButton.java
10870 (paintComponent): Highlight combo box when in focus.
10871
10872 2006-07-24 Roman Kennke <kennke@aicas.com>
10873
10874 * javax/swing/SwingUtilities.java
10875 (isLeftMouseButton): Fixed condition.
10876 * java/awt/LightweightDispatcher.java
10877 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
10878 is dragged.
10879
10880 2006-07-24 Roman Kennke <kennke@aicas.com>
10881
10882 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10883 (setPaint): Fixed scaleX and scaleY.
10884
10885 2006-07-24 Roman Kennke <kennke@aicas.com>
10886
10887 * javax/swing/JTable.java
10888 (handleInsert): Repaint the whole table for variable row
10889 height tables and an optimized region otherwise.
10890 (handleDelete): Likewise.
10891 (handleUpdate): Likewise.
10892
10893 2006-07-24 Mario Torre <neugens@limasoftware.net>
10894
10895 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
10896 now explicity registerListeners on GtkMouseDragGestureRecognizer
10897 instance.
10898 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
10899 (unregisterListeners): new method, overrided from base class
10900 to rise visibility (from protected to public).
10901 (registerListeners): Likewise.
10902 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
10903 removed call to registerListeners from the constructor.
10904
10905 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
10906
10907 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10908 * java/lang/management/MemoryPoolMXBean.java:
10909 (getType()): Changed return type to MemoryType.
10910 * java/lang/management/MemoryType.java:
10911 New file.
10912
10913 2006-07-23 Mark Wielaard <mark@klomp.org>
10914
10915 * configure.ac: Check for moc and moc-qt4.
10916
10917 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
10918
10919 * java/awt/image/Kernel.java: API doc updates.
10920
10921 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
10922
10923 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
10924 bit more.
10925
10926 2006-07-22 Mark Wielaard <mark@klomp.org>
10927
10928 * java/lang/Iterable.java: Import all of java.util.
10929 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
10930 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
10931
10932 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10933
10934 * doc/vmintegration.texinfo:
10935 Document getType(String).
10936 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10937 * java/lang/management/MemoryPoolMXBean.java:
10938 (getType()): Implemented.
10939 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
10940 (getType(String)): Implemented.
10941
10942 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10943
10944 * doc/vmintegration.texinfo:
10945 Move end of itemization block.
10946
10947 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
10948
10949 * javax/swing/plaf/metal/MetalLookAndFeel.java:
10950 (initComponentDefaults): Added new properties, added comments.
10951
10952 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10953
10954 * doc/vmintegration.texinfo:
10955 Mention callback methods.
10956 * gnu/java/lang/management/MemoryMXBeanImpl.java:
10957 (fireNotification(String,String,long,long,long,long,long)):
10958 Made package-private.
10959 (fireThresholdExceededNotification(String,long,long,long,
10960 long,long)): Likewise.
10961 (fireCollectionThresholdExceededNotification(String,long,
10962 long,long,long,long)): Likewise.
10963 * java/lang/management/MemoryMXBean.java:
10964 Document notifications.
10965
10966 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10967
10968 * gnu/java/lang/management/MemoryMXBeanImpl.java:
10969 (fireNotification(String,String,long,long,long,long,long)):
10970 Implemented.
10971 (fireThresholdExceededNotification(String,long,long,long,
10972 long,long)): Likewise.
10973 (fireCollectionThresholdExceededNotification(String,long,
10974 long,long,long,long)): Likewise.
10975 * java/lang/management/MemoryNotificationInfo.java:
10976 Use composite type from MemoryMXBeanImpl.
10977 * javax/management/openmbean/CompositeData.java:
10978 Correct documentation.
10979 * javax/management/openmbean/CompositeDataSupport.java,
10980 * javax/management/openmbean/InvalidKeyException.java:
10981 New files.
10982
10983 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
10984
10985 * gnu/java/security/util/IntegerUtil.java: New file.
10986
10987 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
10988
10989 PR Classpath/28100
10990 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
10991 (KEY_SIZE): Likewise.
10992 (adjustParity(int,byte[],int): New method.
10993 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
10994 (isParityAdjusted(int,byte[],int)): New method.
10995 (isParityAdjusted): Call above method with 3 as 1st argument.
10996 (keySizes): Add 8 and 16 as other valid key sizes.
10997 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
10998
10999 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11000
11001 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11002 code for the pixel swap routine to be more efficient.
11003
11004 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11005
11006 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11007 (lastIndexOf(E, int)): Likewise.
11008 (add(E)): Increase the size of newData array by one.
11009 (add(int, E)): Likewise.
11010
11011 2006-07-20 Lillian Angel <langel@redhat.com>
11012
11013 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11014 Removed unused fields.
11015 (GtkMouseDragGestureRecognizer): Removed initializations.
11016
11017 2006-07-20 Lillian Angel <langel@redhat.com>
11018
11019 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11020 (GtkMouseDragGestureRecognizer): New constructor.
11021 (GtkMouseDragGestureRecognizer): New constructor.
11022 (GtkMouseDragGestureRecognizer): New constructor.
11023 (mouseClicked): Removed FIXME.
11024 (mousePressed): Implemented.
11025 (mouseReleased): Implemented.
11026 (mouseEntered): Implemented.
11027 (mouseDragged): Implemented to check mouse point and trigger origin.
11028 (mouseMoved): Removed FIXME.
11029 (getDropActionFromEvent): New helper function used to convert mouse event
11030 modifiers to a drop action.
11031 * java/awt/dnd/DragSource.java
11032 (getDragThreshold): Changed to return some arbitrary value for testing
11033 purposes.
11034
11035 2006-07-20 Roman Kennke <kennke@aicas.com>
11036
11037 * java/awt/LightweightDispatcher.java
11038 (findTarget): Also consider components that have their eventMask
11039 set, for compatibility with stonage AWT. Optimized check
11040 for MouseListener.
11041 (handleMouseEvent): Likewise.
11042
11043 2006-07-20 Roman Kennke <kennke@aicas.com>
11044
11045 * javax/swing/JTable.java
11046 (tableChanged): Split out handling of the event into multiple
11047 subroutines.
11048 (handleCompleteChange): New method. Clear the selection and
11049 check the lead/anchor indices.
11050 (handleInsert): New method. Check the lead/anchor indices.
11051 Optimized repainting.
11052 (handleDelete): New method. Check the lead/anchor indices.
11053 Optimized repainting.
11054 (handleUpdate): New method. Optimized repainting.
11055 (checkSelection): New helper method.
11056 (setSelectionModel): Update lead/anchor indices.
11057
11058 2006-07-20 Lillian Angel <langel@redhat.com>
11059
11060 PR 28440
11061 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11062 (dispose): Reset all fields.
11063
11064 2006-07-20 Roman Kennke <kennke@aicas.com>
11065
11066 * gnu/java/awt/peer/x/XToolkit.java
11067 (createImage(InputStream)): Only copy image to Pixmap if
11068 it's actually opaque. Transparent images are left as
11069 BufferedImage and composited later onto the screen.
11070 * gnu/java/awt/peer/x/XGraphics.java
11071 (XGraphics): Fetch some parameters for image rendering.
11072 (drawImage): Added special handling of transparent images.
11073 (getRGB): New helper method.
11074 (setRGB): New helper method.
11075
11076 2006-07-20 Roman Kennke <kennke@aicas.com>
11077
11078 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11079 ImageInputStreams as normal InputStreams.
11080 * gnu/javax/imageio/gif/GIFStream.java:
11081 Moved to gnu/javax/imageio/IIOInputStream.java.
11082 * gnu/javax/imageio/gif/GIFImageReader.java
11083 (readImage): Use IIOInputStream.
11084 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11085 (canDecodeInput): Use IIOInputStream.
11086 * gnu/javax/imageio/png/PNGException.java: Make subclass
11087 of IOException.
11088 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11089 Implements the ImageIO ImageReader for PNG.
11090 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11091 Implements the ImageIO ImageReaderSpi for PNG.
11092 * javax/imageio/spi/IIORegistry.java:
11093 (IIORegistry): Add PNGImageReaderSpi.
11094
11095 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11096
11097 * java/awt/image/ComponentSampleModel.java
11098 (getPixel): Added argument check,
11099 (getSample): Modified exception message.
11100
11101 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11102
11103 PR Classpath/28422
11104 * java/awt/image/ConvolveOp.java
11105 (filter(Raster, WritableRaster)): Reimplemented,
11106 (fillEdge): New private method.
11107
11108 2006-07-19 Keith Seitz <keiths@redhat.com>
11109
11110 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11111 (JVMTI_VERSION): Define.
11112
11113 2006-07-19 Roman Kennke <kennke@aicas.com>
11114
11115 * resource/gnu/regexp/MessagesBundle.properties,
11116 * resource/gnu/regexp/MessagesBundle_fr.properties,
11117 * resource/gnu/regexp/MessagesBundle_it.properties:
11118 Moved to resource/gnu/java/util/regex.
11119 * resource/gnu/java/util/regex/MessagesBundle.properties,
11120 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11121 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11122 New files.
11123 * gnu/java/util/regex/RE.java
11124 Use new resource bundle location.
11125
11126 2006-07-19 Roman Kennke <kennke@aicas.com>
11127
11128 * javax/swing/JComponent.java
11129 (paintChildren): Refactored. The paintChildrenOptimized method
11130 has been moved back in here. Added locking of the tree and
11131 only check for completely obscured child components
11132 when not optimized drawing enabled. Use Graphics.create() to
11133 protect from irreversible changes.
11134 (isCompletelyObscured): New helper method.
11135 (paintComponent): Also use Graphics.create() for Graphics2D,
11136 to protect from irreverible changes.
11137 (clipAndTranslateGraphics): Refactored to use more efficient
11138 iterative (vs recursive) approach.
11139 * javax/swing/RepaintManager.java
11140 (getOffscreenBuffer): Create image from root component.
11141
11142 2006-07-19 Roman Kennke <kennke@aicas.com>
11143
11144 * gnu/java/awt/peer/x/XGraphics.java
11145 (translate): Don't set the clip on the X server.
11146 (clipRect): Use setXClip() to set the clip on the X server.
11147 (hitClip): More efficient and correct implementation.
11148 (setClip): Use setXClip() to set the clip on the X server.
11149 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11150 (copyArea): Translate and clip the source rectangle correctly.
11151 (dispose): Only flush when object is not yet disposed.
11152 (clone): Use setXClip() to set the clip on the X server.
11153
11154 2006-07-19 Sven de Marothy <sven@physto.se>
11155
11156 * gnu/javax/imageio/png/PNGChunk.java,
11157 * gnu/javax/imageio/png/PNGData.java,
11158 * gnu/javax/imageio/png/PNGDecoder.java,
11159 * gnu/javax/imageio/png/PNGEncoder.java,
11160 * gnu/javax/imageio/png/PNGException.java,
11161 * gnu/javax/imageio/png/PNGFile.java,
11162 * gnu/javax/imageio/png/PNGFilter.java,
11163 * gnu/javax/imageio/png/PNGGamma.java,
11164 * gnu/javax/imageio/png/PNGHeader.java,
11165 * gnu/javax/imageio/png/PNGICCProfile.java,
11166 * gnu/javax/imageio/png/PNGPalette.java,
11167 * gnu/javax/imageio/png/PNGPhys.java,
11168 * gnu/javax/imageio/png/PNGTime.java:
11169 New files.
11170
11171 2006-07-19 Sven de Marothy <sven@physto.se>
11172
11173 * java/net/Inet6Address.java:
11174 (getScopedId, getScopedInterface): New methods.
11175
11176 2006-07-19 Lillian Angel <langel@redhat.com>
11177
11178 * examples/gnu/classpath/examples/awt/Demo.java
11179 (DragDropWindow): Fixed typo in Label text.
11180 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11181 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11182 (startDrag): Initialized context field.
11183 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11184 function.
11185 (dragEnter): New function.
11186 (dragExit): Likewise.
11187 (dragDropEnd): Likewise.
11188 (dragMouseMoved): Likewise.
11189 (dragOver): Likewise.
11190 (dragActionChanged): Likewise.
11191
11192 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11193
11194 PR Classpath/26302
11195 * resource/java/security/classpath.security: Updated copyright year.
11196 (auth.login.defaultCallbackHandler): New property; set to our default
11197 callback handler. This is needed by the LoginContext when no callback
11198 handler was specified.
11199 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11200 (LoginContext(4)): Assign passed parameters to local fields before invoking
11201 lookup method.
11202
11203 2006-07-19 Roman Kennke <kennke@aicas.com>
11204
11205 * gnu/java/awt/peer/x/XGraphics.java
11206 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11207 Fixed ordering of parameters.
11208
11209 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11210
11211 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11212 (MemoryMXBeanImpl()): Implemented.
11213 (ListenerData): New private class.
11214 (addNotificationListener(NotificationListener,
11215 NotificationFilter, Object)): Implemented.
11216 (getNotificationInfo()): Likewise.
11217 (removeNotificationListener(NotificationListener)):
11218 Likewise.
11219 (removeNotificationListener(NotificationListener,
11220 NotificationFilter, Object)): Likewise.
11221
11222 2006-07-18 Roman Kennke <kennke@aicas.com>
11223
11224 * gnu/java/awt/peer/x/XFontPeer.java
11225 (encodeFont): Be more flexible with font sizes.
11226 (validSize): New helper method.
11227 * gnu/java/awt/peer/x/XGraphics.java
11228 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11229 Implemented.
11230 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11231 Implemented.
11232 * gnu/java/awt/peer/x/XImage.java
11233 (properties): New field.
11234 (getProperty): Implemented.
11235 * resource/gnu/java/awt/peer/x/fonts.properties:
11236 Added copyright header. Fixed font size field.
11237
11238 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11239
11240 * java/awt/image/BandedSampleModel.java
11241 (createDataBuffer): New method override,
11242 * java/awt/image/ByteLookupTable.java
11243 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11244 (ByteLookuptable(int, byte[])): Check for null array,
11245 * java/awt/image/ComponentSampleModel.java
11246 (createDataBuffer): Removed unnecessary braces,
11247 (getSample): Check (x, y) is within bounds,
11248 * java/awt/image/ShortLookupTable.java
11249 (ShortLookupTable(int, short[][])): Create new array to hold references,
11250 (ShortLookupTable(int, short[])): Check for null array,
11251 (getTable): Added API docs,
11252 (lookupPixel): Source reformatting.
11253
11254 2006-07-18 Tania Bento <tbento@redhat.com>
11255
11256 * java/awt/GridLayout.java
11257 (setHgap): Illegal Argument Exception should not be thrown if
11258 hgap < 0.
11259 (setVgap): Illegal Argument Exception should not be thrown if
11260 vgap < 0.
11261 (toString): Opening square braket ([) should appear before hgap
11262 value, not the name of the class.
11263
11264 2006-07-18 Roman Kennke <kennke@aicas.com>
11265
11266 * lib/copy-vmresources.sh.in: Reverted.
11267 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11268 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11269
11270 2006-07-18 Roman Kennke <kennke@aicas.com>
11271
11272 * lib/copy-vmresources.sh.in: Include properties from X peers.
11273
11274 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11275
11276 PR Classpath/27205
11277 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11278 certificate validity.
11279 (getIssuerName): New method.
11280 (getSubjectName): Likewise.
11281 (getNotAfterDate): Likewise.
11282 (getNotBeforeDate): Likewise.
11283 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11284 messages for newly added messages in SFHelper.
11285
11286 2006-07-18 Roman Kennke <kennke@aicas.com>
11287
11288 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11289 * gnu/java/awt/peer/x/XEventPump.java
11290 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11291 * gnu/java/awt/peer/x/XFramePeer.java
11292 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11293 * gnu/java/awt/peer/x/XGraphics.java
11294 Made subclass of Graphics rather than Graphics2D. Removed
11295 all Graphics2D specific method stubs.
11296 (setColor): Map colors using the X color map that is
11297 stored in XToolkit.
11298 * gnu/java/awt/peer/x/XToolkit.java
11299 (colorMap): New field.
11300 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11301 instance.
11302 (createDialog): Implemented.
11303 (createImage(ImageProducer)): Implemented.
11304 (createImage(InputStream)): Use createImage(ImageProducer)
11305 to convert the BufferedImage to an XImage.
11306 * gnu/java/awt/peer/x/XWindowPeer.java
11307 (XWindowPeer): Removed debug output.
11308
11309 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11310
11311 * java/awt/image/BufferedImageOp.java: API docs added,
11312 * java/awt/image/RasterOp.java: Likewise.
11313
11314 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11315
11316 * java/awt/Graphics2D.java: API docs updated.
11317
11318 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11319
11320 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11321 source code.
11322
11323 2006-07-18 Sven de Marothy <sven@physto.se>
11324
11325 * java/net/Inet6Address.java:
11326 Add 1.5 serialized fields.
11327 (getByAddress): New methods.
11328 (readObject, writeObject): New methods.
11329 (equals): Reimplement.
11330
11331 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11332
11333 * java/awt/image/Raster.java: Added API docs and reformatted source
11334 code.
11335
11336 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11337
11338 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11339 imports.
11340 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11341 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11342 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11343 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11344 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11345 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11346 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11347 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11348 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11349 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11350 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11351 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11352 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11353 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11354 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11355 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11356 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11357 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11358 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11359 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11360 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11361
11362 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11363
11364 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11365 to make it compile again under jikes. Note added.
11366
11367 2006-07-17 Lillian Angel <langel@redhat.com>
11368
11369 * examples/gnu/classpath/examples/awt/Demo.java
11370 (Demo): Added new window for DnD demo.
11371 (DragDropWindow): New class.
11372 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11373 Added new fields and declarations for native functions.
11374 (GtkDragSourceContextPeer): Implemented.
11375 (getComponentPeer): New function.
11376 (startDrag): Partially implemented.
11377 (getCursor): Implemented.
11378 (setCursor): Implemented.
11379 * include/GtkDragSourceContextPeer.h: New file.
11380 * include/Makefile.am: Added new header file.
11381 * java/awt/Component.java
11382 (addNotify): Added call to the dropTarget's addNotify.
11383 * java/awt/dnd/DragSource.java
11384 (startDrag): Fixed code to use shared instances of peer and
11385 context.
11386 (getDragThreshold): Added stub.
11387 * java/awt/dnd/DropTarget.java
11388 (DropTarget): Implemented fully.
11389 (addNotify): Added code to get the peer of the parent that is
11390 not lightweight.
11391 * java/awt/dnd/DropTargetDragEvent.java
11392 (getTransferable): Added stub.
11393 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11394 * native/jni/gtk-peer/Makefile.am: Added new c file.
11395 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11396 Changed to extend GtkGenericPeer.
11397 (GtkDropTargetContextPeer): New constructor.
11398 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11399 Changed to extend GtkGenericPeer.
11400 (GtkDropTargetContextPeer): New constructor.
11401
11402 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11403
11404 * java/awt/image/SinglePixelPackedSampleModel.java
11405 (createSubsetSampleModel): Added argument check and API docs.
11406
11407 2006-07-17 Roman Kennke <kennke@aicas.com>
11408
11409 * gnu/java/awt/peer/x/XGraphics.java
11410 (copyArea): Implemented.
11411
11412 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11413
11414 * java/awt/image/SinglePixelPackedSampleModel.java
11415 (getSampleSize): Return copy of array,
11416 (getOffset): Added API docs,
11417 (getScanlineStride): Likewise,
11418 (hashCode): Implemented.
11419
11420 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11421
11422 * java/awt/image/MultiPixelPackedSampleModel.java
11423 (getOffset): Updated API docs and source reformatting,
11424 (getBitOffset): Source reformatting only,
11425 (getDataElements): Likewise,
11426 (getPixel): Likewise,
11427 (getPixels): Removed method override,
11428 (setDataElements): Reimplemented.
11429
11430 2006-07-17 Gary Benson <gbenson@redhat.com>
11431
11432 * resource/META-INF/services/.cvsignore: New file.
11433 * lib/.cvsignore: Updated.
11434
11435 2006-07-17 Roman Kennke <kennke@aicas.com>
11436
11437 * javax/swing/plaf/basic/BasicButtonListener.java
11438 (propertyChange): Only do the text layout caching as long
11439 as the noGraphics2D property isn't set.
11440 * javax/swing/plaf/basic/BasicMenuItemUI.java
11441 (PropertyChangeHandler.propertyChange): Only do the text layout
11442 caching as long as the noGraphics2D property isn't set.
11443
11444 2006-07-17 Roman Kennke <kennke@aicas.com>
11445
11446 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11447 (XGraphicsEnvironment): Make constructor public so that it
11448 can be called via Class.forName().newInstance().
11449 * gnu/java/awt/peer/x/XImage.java
11450 (XImage): Fetch GraphicsEnvironment via
11451 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11452 than the XToolkit method, to avoid double instantiation
11453 of the XGraphicsEnvironment.
11454 * gnu/java/awt/peer/x/XToolkit.java
11455 (env): Removed field.
11456 (getLocalGraphicsEnvironment): Removed impl. This method
11457 should not be called since we set the graphicsenv property
11458 in the constructor.
11459
11460 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11461
11462 * java/util/UUID.java:
11463 (compareTo(Object)): Call compareTo(UUID).
11464 (compareTo(UUID)): Implemented.
11465
11466 2006-07-16 Tom Tromey <tromey@redhat.com>
11467
11468 * java/lang/StrictMath.java (cbrt): Added '@since'.
11469
11470 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11471
11472 * java/lang/StrictMath.java (cbrt): New method.
11473 (getLowDWord): New helper method.
11474 (getHighDWord): Likewise.
11475 (buildDouble): Likewise.
11476 (CBRT_B1): New field.
11477 (CBRT_B2): Likewise.
11478 (CBRT_C): Likewise.
11479 (CBRT_D): Likewise.
11480 (CBRT_E): Likewise.
11481 (CBRT_F): Likewise.
11482 (CBRT_G): Likewise.
11483
11484 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11485
11486 * javax/management/MBeanInfo.java:
11487 (getNotifications()): Implemented.
11488 * javax/management/NotificationBroadcaster.java:
11489 (removeNotificationListener(NotificationListener)):
11490 Renamed from removeListener.
11491 * javax/management/NotificationEmitter.java:
11492 (removeNotificationListener(NotificationListener,
11493 NotificationFilter, Object)): Likewise.
11494 * javax/management/NotificationFilter.java:
11495 Implement Serializable.
11496 * javax/management/NotificationListener.java:
11497 Implement java.util.EventListener.
11498 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11499 Implement Serializable.
11500
11501 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11502
11503 * java/lang/management/MemoryNotificationInfo.java:
11504 New file.
11505
11506 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11507
11508 PR 28392
11509 * gnu/javax/swing/text/html/parser/htmlValidator.java
11510 (tagIsValidForContext): If it is not possible to insert any tag, but
11511 is possible to insert a P, insert a P.
11512 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11513 (newInstance): Removed print statement. (getBodyElements):
11514 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11515 valid body level tags (will be enclosed into P's).
11516
11517 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11518
11519 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11520 Condition the creation of .keystore (a default keystore) based on the
11521 createIfNotFound argument as well.
11522
11523 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11524
11525 PR 28392
11526 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11527 Removed heading p tag from the parsing example.
11528 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11529 (createHtmlContentModel): Explained.
11530 (defineElements): Call getBodyElements to get the body
11531 elements. (getBodyElements): New method. (model):
11532 Made protected from private.
11533 * gnu/javax/swing/text/html/parser/htmlValidator.java
11534 (openTag): Mind that current content model may be null.
11535 (tagIsValidForContext): If the tag is PCDATA, and it is not
11536 valid for context, but the paragraph (P) is valid for context,
11537 suggest to insert the P tag here.
11538 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11539 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11540 implied P tags here.
11541 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11542 Get the custom parser, using HTML_401Swing.java DTD.
11543 * javax/swing/text/html/parser/ParserDelegator.java:
11544 Removed the obsolete note that HTMLEditorKit does not exist.
11545 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11546 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11547
11548 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11549
11550 * javax/management/ListenerNotFoundException.java:
11551 New file.
11552 * javax/management/MBeanFeatureInfo.java:
11553 (hashCode()): Use summation instead of multiplication
11554 for consistency with other classes.
11555 * javax/management/MBeanNotificationInfo.java,
11556 * javax/management/Notification.java,
11557 * javax/management/NotificationBroadcaster.java,
11558 * javax/management/NotificationEmitter.java,
11559 * javax/management/NotificationFilter.java,
11560 * javax/management/NotificationListener.java:
11561 New files.
11562 * javax/management/OperationsException.java:
11563 (serialVersionUID): Added.
11564
11565 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11566 Mark Wielaard <mark@klomp.org>
11567
11568 * java/io/PrintStream.java: Added four constructors, for File and
11569 String describing a filename with or without explicit encoding.
11570
11571 2006-07-16 Sven de Marothy <sven@physto.se>
11572
11573 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11574 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11575 New files.
11576
11577 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11578
11579 PR Classpath/28391
11580 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
11581 New method.
11582 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11583 (setProviderClassNameParam): Made private.
11584 (setKeystoreTypeParam): Likewise.
11585 (setKeyPasswordParam): Likewise
11586 (setKeystorePasswordParam): Likewise.
11587 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11588 create or not the keystore if it's not there, and the second is the store's
11589 password to process before loading the keystore. Amended the code
11590 accordingly.
11591 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11592 setKeyStoreParams(5) with true as its first argument.
11593 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11594 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11595
11596 2006-07-16 Sven de Marothy <sven@physto.se>
11597
11598 * java/util/UUID.java: New file.
11599
11600 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11601
11602 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11603 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11604 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11605 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11606 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11607 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11608 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11609 added Key Wrapping Algorithm SPIs.
11610
11611 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11612
11613 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11614 wrapping/unwrapping to invoke their engineGetOutputSize.
11615
11616 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11617
11618 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11619 (engineInit): If a SecureRandom was specified then use it.
11620 (nextRandomBytes): New method.
11621 (engineWrap): Use above method.
11622 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
11623 (getDefaultPRNG): New method.
11624 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
11625 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
11626 New constant.
11627
11628 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11629
11630 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
11631 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
11632
11633 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11634
11635 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
11636 offset into consideration.
11637
11638 2006-07-16 Mario Torre <neugens@limasoftware.net>
11639
11640 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
11641 Fixed comment. This functions now requires to be called
11642 with gdk lock held, the comment states that.
11643 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
11644 Introduces gdk locks around critical regions of code.
11645 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
11646 Likewise.
11647 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
11648 Likewise.
11649 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
11650 Likewise.
11651 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
11652 Likewise.
11653 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
11654 Likewise.
11655 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
11656 Likewise.
11657 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
11658 Likewise.
11659 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
11660 Likewise.
11661 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
11662 Likewise.
11663 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
11664 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
11665
11666 2006-07-15 Sven de Marothy <sven@physto.se>
11667
11668 * javax/swing/JFileChooser.java
11669 Change default selection mode to FILES_ONLY.
11670 * javax/swing/plaf/basic/BasicDirectoryModel.java
11671 Document, fix selection mode filtering.
11672 (renameFile): Implement
11673 * javax/swing/plaf/basic/BasicFileChooserUI.java
11674 (selectedDir): New field to handle selected directories,
11675 disallow selecting of directories in FILES_ONLY mode.
11676 * javax/swing/plaf/metal/MetalFileChooserUI.java:
11677 (EditingActionListener.actionPerformed):
11678 Stop editing on all actions (e.g. return-key press)
11679
11680 2006-07-15 Mark Wielaard <mark@klomp.org>
11681
11682 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
11683 to code.
11684 (JNI Implementation): Mark JVMTI Implementation as next.
11685 (JVMTI Implementation): Mark JNI Implementation as prev.
11686
11687 2006-07-15 Mark Wielaard <mark@klomp.org>
11688
11689 * include/Makefile.am: Remove
11690 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
11691 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
11692 * native/jni/gtk-peer/Makefile.am: Remove
11693 gnu_java_awt_peer_gtk_GdkTextLayout.c
11694 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
11695 Removed.
11696
11697 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
11698
11699 2006-07-15 Mark Wielaard <mark@klomp.org>
11700
11701 * autogen.sh: Recognize autoconf 2.60.
11702
11703 2006-07-15 Keith Seitz <keiths@redhat.com>
11704
11705 * NEWS: Update for JVMTI and jvmti.h.
11706 * doc/vmintegration.texinfo: Likewise.
11707 * include/jvmti.h: New file.
11708
11709 2006-07-15 Mark Wielaard <mark@klomp.org>
11710
11711 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11712 Removed C++ style comment.
11713
11714 2006-07-15 Sven de Marothy <sven@physto.se>
11715
11716 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
11717 * java/awt/MouseInfo.java,
11718 * java/awt/PointerInfo.java,
11719 * java/awt/peer/MouseInfoPeer.java:
11720 New files.
11721
11722 * java/awt/Image.java
11723 (accelerationPriority): New field.
11724 (setAccelerationPriority, getAccelerationPriority): New methods..
11725
11726 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11727 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
11728 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
11729 (getMouseCoordinates): New method.
11730
11731 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11732 (updateAlwaysOnTop): Remove stub overload.
11733
11734 * gnu/java/awt/ClasspathToolkit.java,
11735 * gnu/java/awt/peer/gtk/GtkToolkit.java,
11736 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11737 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11738 (getMouseInfoPeer): New method.
11739 (getMouseNumberOfButtons): New method.
11740
11741 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11742 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
11743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11744 (gtkWindowSetAlwaysOnTop): New method.
11745 (updateAlwaysOnTop): Implement.
11746
11747 * java/awt/Toolkit.java,
11748 (getMouseInfoPeer): New method.
11749
11750 * java/awt/Window.java
11751 (alwaysOnTop): New field.
11752 (isAlwaysOnTop, setAlwaysOnTop): New methods.
11753
11754 * java/awt/peer/WindowPeer.java: Doc fix.
11755
11756 2006-07-14 Sven de Marothy <sven@physto.se>
11757
11758 * java/awt/font/TextLayout.java:
11759 (hitTestChar): Stub method.
11760 * java/awt/font/TextMeasurer.java:
11761 (getLayout): Throw exception on invalid argument.
11762
11763 2006-07-14 Sven de Marothy <sven@physto.se>
11764
11765 * java/awt/image/DataBuffer.java
11766 (DataBuffer): Call constructors in the correct order,
11767
11768 2006-07-14 Mark Wielaard <mark@klomp.org>
11769
11770 Revert to previous implementation.
11771 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
11772 constraints insets.
11773
11774 2006-07-14 Roman Kennke <kennke@aicas.com>
11775
11776 * gnu/java/awt/peer/x/XToolkit.java
11777 (XToolkit): Install properties to SystemProperties
11778 rather than System, to avoid SecurityManager.
11779 (getImage(String)): Return error image when string is invalid.
11780 (createImage(URL)): Moved image loading to helper method.
11781 (createImage(ImageProducer)): Implemented.
11782 (createImage(byte[],int,int)): Implemented.
11783 (createImage(InputStream)): New helper method.
11784
11785 2006-07-14 Tania Bento <tbento@redhat.com>
11786
11787 * java/awt/FlowLayout.java
11788 (setHgap): No Excpetion should be thrown if hgap has
11789 a negative value.
11790 (setVgap): No Exception should be thrown if vgap has
11791 a negative value.
11792
11793 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11794
11795 * java/awt/image/MultiPixelPackedSampleModel.java:
11796 Added API docs all over.
11797
11798 2006-07-14 Matt Wringe <mwringe@redhat.com>
11799
11800 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
11801 (engineInit): Throw InvalidAlgorithmParameterException
11802 for invalid IVParameterSpec IV length.
11803
11804 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11805
11806 * java/awt/image/MultiPixelPackedSampleModel.java
11807 (createDataBuffer): Include dataBitOffset in calculating the size for
11808 the data buffer.
11809
11810 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11811
11812 * java/awt/image/MultiPixelPackedSampleModel.java
11813 (getSampleSize()): Return a copy of the array,
11814 (getTransferType()): New method override.
11815
11816 2006-07-14 Roman Kennke <kennke@aicas.com>
11817
11818 * java/awt/CardLayout.java
11819 (show): Validate parent to make sure that the layout is
11820 valid.
11821
11822 2006-07-14 Roman Kennke <kennke@aicas.com>
11823
11824 * java/awt/Component.java
11825 (enable): Added tree locking.
11826 (disable): Added tree locking.
11827 (show): Added tree locking.
11828 (hide): Added tree locking.
11829 (getLocationOnScreen): Added tree locking.
11830 (reshape): Added tree locking.
11831 (addHierarchyListener): Added tree locking.
11832 (removeHierarchyListener): Added tree locking.
11833 (addHierarchyBoundsListener): Added tree locking.
11834 (removeHierarchyBoundsListener): Added tree locking.
11835 (addNotify): Added tree locking.
11836 (removeNotify): Added tree locking.
11837 * java/awt/Container.java
11838 (invalidateTree): Added tree locking.
11839 (getAlignmentX): Added tree locking.
11840 (getAlignmentY): Added tree locking.
11841 (addNotify): Added tree locking.
11842 (setComponentZOrder): Added tree locking.
11843 (getComponentZOrder): Added tree locking.
11844
11845 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11846
11847 * java/awt/image/MultiPixelPackedSampleModel.java
11848 (createSubsetSampleModel): Restored argument check, but let null
11849 through.
11850
11851 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11852
11853 * java/awt/image/MultiPixelPackedSampleModel.java
11854 (createSubsetSampleModel): Removed argument check.
11855
11856 2006-07-14 Roman Kennke <kennke@aicas.com>
11857
11858 * java/awt/Component.java
11859 (numHierarchyListeners): New field.
11860 (numHierarchyBoundsListeners): New field.
11861 (show): Fire hierarchy events here. Only fire component event
11862 if there is actually a listener for it.
11863 (hide): Fire hierarchy events here. Only fire component event
11864 if there is actually a listener for it.
11865 (reshape): Fire hierarchy events here. Only fire component event
11866 if there is actually a listener for it.
11867 (addHierarchyListeners): Update listener counters.
11868 (removeHierarchyListeners): Update listener counters.
11869 (addHierarchyBoundsListeners): Update listener counters.
11870 (removeHierarchyBoundsListeners): Update listener counters.
11871 (fireHierarchyEvent): New helper method for firing hierarchy
11872 events.
11873 * java/awt/Container.java
11874 (addImpl): Update listener counters. Fire hierarchy event.
11875 (remove): Update listener counters. Fire hierarchy event.
11876 (fireHierarchyEvent): New helper method for firing hierarchy
11877 events.
11878 (updateHierarchyListenerCount): New helper method for
11879 updating the listener counters.
11880
11881 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11882
11883 * java/awt/image/MultiPixelPackedSampleModel.java
11884 (equals): New method override,
11885 (hashCode): Likewise.
11886
11887 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11888
11889 * java/awt/image/MultiPixelPackedSampleModel.java
11890 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
11891 Corrected scanlineStride calculation.
11892
11893 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
11894
11895 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
11896 (AES_KWA): Likewise.
11897 (AES128_KWA): Likewise.
11898 (AES192_KWA): Likewise.
11899 (AES256_KWA): Likewise.
11900 (RIJNDAEL_KWA): Likewise.
11901 (TRIPLEDES_KWA): Likewise.
11902 (DESEDE_KWA): Likewise.
11903 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
11904 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
11905 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
11906 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
11907 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
11908 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
11909
11910 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
11911
11912 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
11913 (PADDING_BLOCK_SIZE): New constant.
11914 (init(Map attributes)): New method.
11915 * gnu/javax/crypto/pad/BasePad.java (init): New method.
11916
11917 2006-07-14 Mario Torre <neugens@limasoftware.net>
11918
11919 * gnu/java/security/OID.java (OID): Private Constructor removed as
11920 it is not needed anymore.
11921 (clone): Fixed. Now uses super.clone instead of the private
11922 constructor as per specification of clone method.
11923 (serialVersionUID): added new field to allow serialization.
11924
11925 2006-07-13 Sven de Marothy <sven@physto.se>
11926
11927 * gnu/javax/imageio/gif/GIFImageReader.java
11928 (read): Remove old debugging trace.
11929
11930 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
11931
11932 PR awt/28369:
11933 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
11934 blue mask.
11935
11936 2006-07-13 Roman Kennke <kennke@aicas.com>
11937
11938 * java/awt/Component.java
11939 (DEFAULT_MAX_SIZE): New static constant.
11940 (preferredSize): Return copy of the actual value computed
11941 by new helper method.
11942 (preferredSizeImpl): New helper method. Adds locking and
11943 correct handling of cached value.
11944 (minimumSize): Return copy of the actual value computed
11945 by new helper method.
11946 (minimumSizeImpl): New helper method. Adds locking and
11947 correct handling of cached value.
11948 (getMaximumSize): Return copy of the actual value computed
11949 by new helper method.
11950 (maximumSizeImpl): New helper method. Adds locking and
11951 correct handling of cached value.
11952 (invalidate): Correct handling of cached layout information.
11953 Added locking.
11954 * java/awt/Container.java
11955 (preferredSize): Minimized locking. Corrected handling of cached
11956 values. Return copy of real value.
11957 (minimumSize): Minimized locking. Corrected handling of cached
11958 values. Return copy of real value.
11959 (getMaximumSize): Minimized locking. Corrected handling of cached
11960 values. Return copy of real value.
11961
11962 2006-07-13 Tania Bento <tbento@redhat.com>
11963
11964 * gnu/java/awt/peer/ClasspathFontPeer.java
11965 (isLogicalFontName): Return true if name == default.
11966 (logicalFontNameToFaceName): Check if name == default,
11967 and if so, return "Dialog.plain".
11968 (setStandardAttributes(String, Map)): If name == null,
11969 it should be set to "Default", not "SansSerif".
11970 * java/awt/Canvas.java
11971 (generateName): Fixed documentation.
11972 * java/awt/CheckboxMenuItem.java
11973 Added static variable "next_chkmenuitem_number".
11974 (generateName): Added and implemented method.
11975 (getUniqueLong): Likewise.
11976 * java/awt/Choice.java
11977 Added static variable "next_choice_number".
11978 (generateName): Added and implemented method.
11979 (getUniqueLong): Likewise.
11980 * java/awt/Cursor.java
11981 (Cursor(int)): Set name depending on the type passed.
11982 * java/awt/List.java
11983 Added static variable "next_list_number".
11984 (generateName): Added and implemented method.
11985 (getUniqueLong): Likewise.
11986 * java/awt/Menu.java
11987 Added static variable "next_menu_number".
11988 (generateName): Added and implemented method.
11989 (getUniqueLong): Likewise.
11990 * java/awt/MenuBar.java
11991 Added static variable "next_menubar_number".
11992 (generateName): Added and implemented method.
11993 (getUniqueLong): Likewise.
11994 * java/awt/MenuComponent.java
11995 (getName): Before returning name, check if name == null
11996 and name is not explicity set. If this is the case,
11997 name will be generated.
11998 (generateName): Added and implemented method.
11999 * java/awt/MenuItem.java
12000 Added static variable "next_menuitem_number".
12001 (generateName): Added and implemented method.
12002 (getUniqueLong): Likewise.
12003 * java/awt/PopupMenu.java
12004 Added static variable "next_popup_number".
12005 (generateName): Added and implemented method.
12006 (getUniqueLong): Likewise.
12007 * java/awt/ScrollPane.java
12008 Added static variable "next_scrollpane_number".
12009 (generateName): Added and implemented method.
12010 (getUniqueLong): Likewise.
12011 * java/awt/TextField.java
12012 Added static variable "next_textfield_number".
12013 (generateName): Added and implemented method.
12014 (getUniqueLong): Likewise.
12015
12016
12017 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12018
12019 * java/awt/image/SinglePixelPackedSampleModel.java
12020 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12021 mask correctly as an unsigned integer,
12022 (equals): New method override.
12023
12024 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12025
12026 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12027 insertAfterStart, insertBeforeEnd): Removed stub markings.
12028
12029 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12030
12031 * java/awt/image/BandedSampleModel.java: API doc updates and source
12032 code reformatting,
12033 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12034
12035 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12036
12037 * java/awt/image/BandedSampleModel.java: API doc updates.
12038
12039 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12040
12041 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12042 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12043 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12044 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12045 (HRMLReader.blockClose): Mind that parser stack may be empty.
12046 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12047 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12048 (HTMLReader.shouldInsert): New method. (getElement(String)):
12049 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12050 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12051 Implemented. (getInsertingReader): New method.
12052 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12053 Added buttons to demonstrate the work of the insert actions.
12054
12055 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12056
12057 * java/awt/image/SampleModel.java: API doc updates and additions,
12058 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12059
12060 2006-07-12 Sven de Marothy <sven@physto.se>
12061
12062 * javax/swing/JFileChooser.java:
12063 (createDialog): Close operation should cause a cancel.
12064
12065 2006-07-12 Francis Kung <fkung@redhat.com>
12066
12067 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12068 (cairoArc): New native method.
12069 (cairoRestore): New native method.
12070 (cairoSave): New native method.
12071 (cairoScale): New native method.
12072 (createPath): New method to centralize code from draw and fill.
12073 (draw): Modified to use createPath method.
12074 (fill): Modified to use createPath method.
12075 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12076 function declarations.
12077 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12078 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12079 method.
12080 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12081 method.
12082 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12083 method.
12084
12085 2006-07-12 Tom Tromey <tromey@redhat.com>
12086
12087 PR libgcj/27271:
12088 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12089 on PartialInputStream.
12090 (PartialInputStream.dummyByteCount): New field.
12091 (PartialInputStream.fillBuffer): Handle dummy byte.
12092 (PartialInputStream.read): Likewise.
12093 (PartialInputStream.addDummyByte): New method.
12094
12095 2006-07-12 Mario Torre <neugens@limasoftware.net>
12096
12097 * native/jni/gconf-peer/GConfNativePeer.c
12098 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12099 Fixed C++ style comment.
12100
12101 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12102
12103 * java/util/Arrays.java
12104 (asList): Updated API docs.
12105
12106 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12107
12108 Fixes PR28350.
12109 * native/jni/gconf-peer/GConfNativePeer.c:
12110 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12111 Changed if-expression.
12112 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12113 Added check for _value not being NULL.
12114
12115 2006-07-11 Roman Kennke <kennke@aicas.com>
12116
12117 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12118 (read): Use fd when local sockets are disabled to make the
12119 compiler quite.
12120 (write): Likewise.
12121
12122 2006-07-11 Roman Kennke <kennke@aicas.com>
12123
12124 * java/awt/image/MultiPixelPackedSampleModel.java
12125 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12126 division gets rounded up.
12127
12128 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12129
12130 * java/lang/management/ManageFactory.java:
12131 (getMemoryManagerMXBeans()): Use addAll, not add.
12132
12133 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12134
12135 PR 27649:
12136 * gnu/classpath/ByteArray.java: Removed (moved).
12137 * gnu/java/security/util/ByteArray.java: New File.
12138 * gnu/javax/crypto/RSACipherImpl.java: Reference
12139 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12140
12141 2006-07-11 Roman Kennke <kennke@aicas.com>
12142
12143 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12144 (available): Pass fd as argument and avoid JNI class/field
12145 lookup.
12146 (read): Likewise.
12147 (write): Likewise.
12148 * include/gnu_java_net_local_LocalSocketImpl.h:
12149 Regenerated.
12150 * gnu/java/net/local/LocalSocketImpl.h
12151 (available): Pass fd as argument and avoid JNI class/field
12152 lookup.
12153 (read): Likewise.
12154 (write): Likewise.
12155
12156 2006-07-11 Sven de Marothy <sven@physto.se>
12157
12158 * gnu/javax/sound/sampled/AU/AUReader.java:
12159 Correct file extension from .as to .au.
12160
12161 2006-07-11 Sven de Marothy <sven@physto.se>
12162
12163 * gnu/javax/sound/sampled/AU/AUReader.java:
12164 New file.
12165 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12166 Added new provider.
12167
12168 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12169
12170 * javax/swing/JTable.java
12171 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12172 (setColumnSelectionAllowed): Likewise.
12173
12174 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12175
12176 PR 27649:
12177 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12178 AccessController.doPrivileged instead of SystemProperties.getProperty.
12179 * gnu/classpath/debug/SystemLogger.java: Likewise.
12180 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12181 repeated getProperty calls for "file.seperator".
12182 (refresh): Since already in privileged block, call System.getProperty
12183 instead of SystemProperties.getProperty.
12184 * gnu/java/security/key/dss/DSSKey.java
12185 (toString): Use AccessController.doPrivileged instead of
12186 SystemProperties.getProperty.
12187 * gnu/java/security/key/dss/DSSPrivateKey.java
12188 (toString): Likewise.
12189 * gnu/java/security/key/dss/DSSPublicKey.java
12190 (toString): Likewise.
12191 * gnu/java/security/key/rsa/GnuRSAKey.java
12192 (toString): Likewise.
12193 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12194 (toString): Likewise.
12195 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12196 (toString): Likewise.
12197 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12198 * gnu/javax/crypto/key/dh/GnuDHKey.java
12199 (toString): Likewise.
12200 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12201 (toString): Likewise.
12202 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12203 (toString): Likewise.
12204
12205 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12206
12207 * javax/swing/AbstractButton.java
12208 (disabledIcon): Fixed name (was 'disabeldIcon'),
12209 (getDisabledIcon): Updated for corrected field name,
12210 (setDisabledIcon): Fire a PropertyChangeEvent.
12211
12212 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12213
12214 * javax/swing/DefaultBoundedRangeModel.java
12215 (readObject): New private method,
12216 (writeObject): Likewise.
12217
12218 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12219
12220 * javax/swing/ButtonGroup.java
12221 (add): Ignore null argument,
12222 (remove): Ignore null argument. If removing selected button, clear the
12223 sel field,
12224 (findButton): Changed case for method name, and documented,
12225 (setSelected): Updated for modification to findButton() method name,
12226 (isSelected): Updated API docs.
12227
12228 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12229
12230 * java/awt/image/BufferedImage.java
12231 (BufferedImage(int, int, int)): Use correct color space for
12232 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12233 IllegalArgumentException for an unrecognised type.
12234
12235 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12236
12237 * java/lang/management/ManagementFactory.java:
12238 (getMemoryPoolMXBeans): Genericized fully.
12239 (getMemoryManagerMXBeans): Likewise.
12240 (getGarbageCollectorMXBeans): Likewise.
12241
12242 2006-07-10 Tom Tromey <tromey@redhat.com>
12243
12244 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12245 Genericized.
12246 (getMemoryManagerMXBeans): Likewise.
12247 (getGarbageCollectorMXBeans): Likewise.
12248
12249 2006-07-10 Mario Torre <neugens@limasoftware.net>
12250
12251 * java/awt/BasicStroke.java: Removed unused import.
12252 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12253 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12254 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12255
12256 2006-07-10 Matt Wringe <mwringe@redhat.com>
12257
12258 PR classpath/28212:
12259 * javax/crypto/spec/SecretKeySpec.java
12260 (equals): Check object type.
12261
12262 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12263
12264 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12265 communication/StructureToPassHelper.java,
12266 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12267 communication/StructureToReturnHelper.java,
12268 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12269 communication/TreeNodeHelper.java,
12270 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12271 communication/WeThrowThisExceptionHelper.java,
12272 gnu/CORBA/ForwardRequestHelper.java,
12273 org/omg/CORBA/CompletionStatusHelper.java,
12274 org/omg/CORBA/CurrentHelper.java,
12275 org/omg/CORBA/DefinitionKindHelper.java,
12276 org/omg/CORBA/IDLTypeHelper.java,
12277 org/omg/CORBA/NameValuePairHelper.java,
12278 org/omg/CORBA/ObjectHelper.java,
12279 org/omg/CORBA/ParameterModeHelper.java,
12280 org/omg/CORBA/PolicyErrorCodeHelper.java,
12281 org/omg/CORBA/PolicyErrorHelper.java,
12282 org/omg/CORBA/PolicyHelper.java,
12283 org/omg/CORBA/PolicyListHelper.java,
12284 org/omg/CORBA/PolicyTypeHelper.java,
12285 org/omg/CORBA/ServiceDetailHelper.java,
12286 org/omg/CORBA/ServiceInformationHelper.java,
12287 org/omg/CORBA/SetOverrideTypeHelper.java,
12288 org/omg/CORBA/StringValueHelper.java,
12289 org/omg/CORBA/UnionMemberHelper.java,
12290 org/omg/CORBA/UnknownUserExceptionHelper.java,
12291 org/omg/CORBA/VisibilityHelper.java,
12292 org/omg/CORBA/WStringValueHelper.java,
12293 org/omg/CORBA/WrongTransactionHelper.java,
12294 org/omg/CosNaming/BindingHelper.java,
12295 org/omg/CosNaming/BindingIteratorHelper.java,
12296 org/omg/CosNaming/BindingListHelper.java,
12297 org/omg/CosNaming/BindingTypeHelper.java,
12298 org/omg/CosNaming/NameComponentHelper.java,
12299 org/omg/CosNaming/NameHelper.java,
12300 org/omg/CosNaming/NamingContextExtHelper.java,
12301 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12302 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12303 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12304 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12305 org/omg/CosNaming/NamingContextHelper.java,
12306 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12307 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12308 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12309 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12310 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12311 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12312 org/omg/DynamicAny/AnySeqHelper.java,
12313 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12314 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12315 org/omg/DynamicAny/DynAnyHelper.java,
12316 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12317 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12318 org/omg/DynamicAny/DynAnySeqHelper.java,
12319 org/omg/DynamicAny/DynArrayHelper.java,
12320 org/omg/DynamicAny/DynEnumHelper.java,
12321 org/omg/DynamicAny/DynFixedHelper.java,
12322 org/omg/DynamicAny/DynSequenceHelper.java,
12323 org/omg/DynamicAny/DynStructHelper.java,
12324 org/omg/DynamicAny/DynUnionHelper.java,
12325 org/omg/DynamicAny/DynValueHelper.java,
12326 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12327 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12328 org/omg/DynamicAny/NameValuePairHelper.java,
12329 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12330 org/omg/IOP/CodecFactoryHelper.java,
12331 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12332 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12333 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12334 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12335 org/omg/IOP/ComponentIdHelper.java,
12336 org/omg/IOP/IORHelper.java,
12337 org/omg/IOP/MultipleComponentProfileHelper.java,
12338 org/omg/IOP/ProfileIdHelper.java,
12339 org/omg/IOP/ServiceContextHelper.java,
12340 org/omg/IOP/ServiceContextListHelper.java,
12341 org/omg/IOP/ServiceIdHelper.java,
12342 org/omg/IOP/TaggedComponentHelper.java,
12343 org/omg/IOP/TaggedProfileHelper.java,
12344 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12345 org/omg/PortableInterceptor/AdapterNameHelper.java,
12346 org/omg/PortableInterceptor/AdapterStateHelper.java,
12347 org/omg/PortableInterceptor/CurrentHelper.java,
12348 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12349 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12350 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12351 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12352 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12353 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12354 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12355 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12356 org/omg/PortableServer/CurrentHelper.java,
12357 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12358 org/omg/PortableServer/ForwardRequestHelper.java,
12359 org/omg/PortableServer/POAHelper.java,
12360 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12361 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12362 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12363 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12364 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12365 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12366 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12367 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12368 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12369 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12370 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12371 org/omg/PortableServer/ServantActivatorHelper.java,
12372 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12373 typecode caching and always use OrbRestricted.Singleton.
12374
12375 2006-07-09 Tom Tromey <tromey@redhat.com>
12376
12377 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12378
12379 2006-07-09 Mark Wielaard <mark@klomp.org>
12380
12381 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12382 New static final boolean field.
12383 (getComponentGraphics): Use hasXRenderExtension.
12384 (setClip): Override method for locking.
12385
12386 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12387
12388 * javax/swing/AbstractButton.java
12389 (setHorizontalTextPosition): Added check for illegal argument,
12390 (setVerticalTextPosition): Likewise.
12391
12392 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12393
12394 * javax/swing/Timer.java
12395 (setDelay): Throw IllegalArgumentException for negative delay,
12396 (setInitialDelay): Likewise,
12397 * javax/swing/ToolTipManager.java
12398 (setInitialDelay): Document IllegalArgumentException,
12399 (setDismissDelay): Likewise,
12400 (setReshowDelay): Likewise.
12401
12402 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12403
12404 * java/lang/management/MemoryUsage.java:
12405 (from(javax.management.openmbean.CompositeData)):
12406 Implemented.
12407 * java/lang/management/ThreadInfo.java:
12408 Changed to use open types throughout for the state.
12409 (ThreadInfo(long,String,String,long,long,String,
12410 long,String,long,long,boolean,StackTraceElement[])):
12411 New constructor.
12412 (checkAttribute(javax.management.openmbean.CompositeType,
12413 String, javax.management.openmbean.OpenType)): New method.
12414 (from(javax.management.openmbean.CompositeData)):
12415 Implemented.
12416 (getLockName()): Fixed to use new variable.
12417 (getLockOwnerId()): Likewise.
12418 (getLockOwnerName()): Likewise.
12419 (getThreadId()): Likewise.
12420 (getThreadName()): Likewise.
12421 (getThreadState()): Likewise.
12422 (toString()): Refactored to use new variables.
12423 * javax/management/openmbean/ArrayType.java:
12424 New file.
12425 * javax/management/openmbean/CompositeType.java:
12426 Variables should be transient, not volatile.
12427 * javax/management/openmbean/OpenDataException.java:
12428 (serialVersionUID): Added.
12429 * javax/management/openmbean/SimpleType.java:
12430 New file.
12431 * javax/management/openmbean/TabularType.java
12432 Variables should be transient, not volatile.
12433
12434 2006-07-09 Tom Tromey <tromey@redhat.com>
12435
12436 * tools/.cvsignore: Updated for new tools.
12437
12438 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12439
12440 * javax/management/openmbean/CompositeData.java,
12441 * javax/management/openmbean/CompositeType.java,
12442 * javax/management/openmbean/OpenDataException.java,
12443 * javax/management/openmbean/OpenType.java,
12444 * javax/management/openmbean/TabularData.java,
12445 * javax/management/openmbean/TabularType.java,
12446 * javax/management/openmbean/package.html:
12447 New files.
12448
12449 2006-07-09 Mark Wielaard <mark@klomp.org>
12450
12451 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12452 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12453 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12454
12455 2006-07-08 Anthony Green <green@redhat.com>
12456
12457 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12458 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12459 New files.
12460
12461 2006-07-09 Mario Torre <neugens@limasoftware.net>
12462
12463 * native/jni/gconf-peer/GConfNativePeer.c:
12464 Fixed indentation to be more compliant to the GNU coding
12465 guidelines.
12466 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12467 Added explicit test for errors in the GConf backend.
12468 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12469 Added explicit test for errors in the GConf backend.
12470 Fixed Segmentation Fault when non valid key names are given as input.
12471 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12472 likewise.
12473 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12474 Added explicit test for errors in the GConf backend.
12475 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12476 Added javadoc comments for all native methods.
12477 (nodeExist): removed test to check for valid absolute path name
12478 for nodes.
12479 (startWatchingNode): likewise.
12480 (stopWatchingNode): likewise.
12481 (setString): likewise, plus fixed javadoc comments.
12482 (unset): likekwise.
12483 (getKey): likewise.
12484 (getKeys): likewise, also fixed javadoc comments.
12485 (getChildrenNodes): likewise.
12486 * gnu/java/util/prefs/GConfBasedPreferences.java:
12487 changed DEFAULT_USER_ROOT to /apps/classpath.
12488 (constructor): Test to check for a valid absolute path for nodes
12489 is now in the contructor for that node, instead of being on
12490 each method of the backend.
12491 (getGConfKey): removed empty new line.
12492
12493 2006-07-08 Mark Wielaard <mark@klomp.org>
12494
12495 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12496
12497 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12498
12499 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12500 Handle the forced break in the same way as exceeding the
12501 available row space.
12502 * javax/swing/text/html/HRuleView.java: Rewritten.
12503 * javax/swing/text/html/HTMLDocument.java
12504 (HTMLReader.addSpecialElement):Reserve two characters for
12505 the special elements.
12506 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12507 (text): Extended the HTML example to parse.
12508
12509 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12510
12511 * javax/swing/AbstractButton.java
12512 (setHorizontalAlignment): Check for illegal argument,
12513 (setVerticalAlignment): Likewise.
12514
12515 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12516
12517 * javax/swing/text/html/TableView.java
12518 (getStyleSheet): New method. (RowView.getStyleSheet):
12519 New method.
12520
12521 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12522
12523 * javax/swing/AbstractButton.java
12524 (setRolloverIcon): Call setRolloverEnabled(true),
12525 (setRolloverSelectedIcon): Likewise.
12526
12527 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12528
12529 * javax/swing/border/TitledBorder.java
12530 (setTitlePosition): Added message to exception,
12531 (setTitleJustification): Likewise.
12532
12533 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12534
12535 * javax/swing/plaf/metal/MetalLookAndFeel.java
12536 (createDefaultTheme): Corrected API docs,
12537 (initComponentDefaults): Added entry for 'TitledBorder.border',
12538 (getCurrentTheme): Initialise theme if it is null.
12539
12540 2006-07-07 Roman Kennke <kennke@aicas.com>
12541
12542 * java/awt/Component.java
12543 (isValid): Return false when component has no peer,
12544 don't query the showing state.
12545
12546 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12547
12548 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12549 Advance the offset also in the case of the enforced break.
12550
12551 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12552
12553 * javax/swing/plaf/basic/BasicArrowButton.java
12554 (MAXIMUM_SIZE): Removed field,
12555 (MINIMUM_SIZE): Likewise,
12556 (PREFERRED_SIZE): Likewise,
12557 (getMaximumSize): Return new instance every time,
12558 (getMinimumSize): Likewise,
12559 (getPreferredSize): Likewise.
12560
12561 2006-07-07 Roman Kennke <kennke@aicas.com>
12562
12563 * java/awt/LightweightDispatcher.java
12564 (findTarget): Avoid array copying in
12565 Container.getComponents().
12566
12567 2006-07-07 Roman Kennke <kennke@aicas.com>
12568
12569 * javax/swing/JComponent.java
12570 (paintChildrenWithOverlap): Avoid array copying in
12571 Container.getComponents().
12572 (paintChildrenOptimized): Avoid array copying in
12573 Container.getComponents().
12574 (fireAncestorEvent): Avoid array copying in
12575 Container.getComponents().
12576 (findOverlapFreeParent): Avoid array copying in
12577 Container.getComponents().
12578
12579 2006-07-07 Matt Wringe <mwringe@redhat.com>
12580
12581 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12582 (passwordValid): New field.
12583 (setPassword): New method.
12584 (setSalt): Likewise.
12585 (setIterationCount): Likewise.
12586 (setKeyLength): Likewise.
12587 (PBEKeySpec(char[])): Use new setter methods.
12588 (PBEKeySpec(char[], byte[], int)): Likewise.
12589 (PBEKeySpec(char[], byte[], int, int)): Likewise.
12590 (clearPassword): Set passwordValid to false.
12591 (getPassword): Check that clearPassword() was not called earlier.
12592 Return a clone of the password.
12593 (getSalt): Return a clone of the salt if it was not null.
12594
12595 2006-07-07 Roman Kennke <kennke@aicas.com>
12596
12597 * java/awt/Component.java
12598 (isValid): Always return false when component is
12599 not showing.
12600 (setFont): Always set font, even when setting
12601 the same or equal font again.
12602
12603 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12604
12605 * javax/swing/plaf/metal/MetalIconFactory.java
12606 (CheckBoxMenuItemIcon): Implement UIResource,
12607 (FileChooserDetailViewIcon): Likewise,
12608 (FileChooserHomeFolderIcon): Likewise,
12609 (FileChooserListViewIcon): Likewise,
12610 (FileChooserNewFolderIcon): Likewise,
12611 (FileChooserUpFolderIcon): Removed redundant 'implements',
12612 (RadioButtonMenuItemIcon): Implement UIResource,
12613 (HorizontalSliderThumbIcon): Likewise,
12614 (InternalFrameCloseIcon): Likewise,
12615 (InternalFrameDefaultMenuIcon): Likewise,
12616 (InternalFrameAltMaximizeIcon): Likewise,
12617 (InternalFrameMaximizeIcon): Likewise,
12618 (InternalFrameMinimizeIcon): Likewise,
12619 (VerticalSliderThumbIcon): Likewise,
12620 (TreeHardDriveIcon): Likewise,
12621 (TreeFloppyDriveIcon): Likewise,
12622 (TreeComputerIcon): Likewise,
12623 (horizontalSliderThumbIcon): New field,
12624 (verticalSliderThumbIcon): New field,
12625 (getHorizontalSliderThumbIcon): Cache icon,
12626 (getVerticalSliderThumbIcon): Likewise.
12627
12628 2006-07-06 Mark Wielaard <mark@klomp.org>
12629
12630 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
12631 (DISTCLEANFILES): Add standard.omit.
12632 (clean-local): Remove Makefile.deps, only remove dirs.
12633
12634 2006-07-06 Roman Kennke <kennke@aicas.com>
12635
12636 * java/awt/Component.java
12637 (setFont): Only invalidate when component is valid.
12638 * java/awt/Container.java
12639 (setLayout): Only invalidate when component is valid.
12640
12641 2006-07-06 Lillian Angel <langel@redhat.com>
12642
12643 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12644 New class not fully implemented.
12645 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12646 New class not fully implemented.
12647 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12648 New class not fully implemented.
12649 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12650 New class not fully implemented.
12651 * nu/java/awt/peer/gtk/GtkToolkit.java:
12652 Fixed Imports.
12653 (createDragSourceContextPeer): Implemented.
12654 (createDragGestureRecognizer): New function to override
12655 java.awt.Toolkit.createDragGestureRecognizer.
12656 * java/awt/dnd/DragSource.java
12657 (NoDragGestureRecognizer): Removed inner class.
12658 (createDragGestureRecognizer): Re-Implemented to
12659 call Toolkit's createDragGestureRecognizer.
12660 (createDefaultDragGestureRecognizer): Re-Implemented to
12661 call Toolkit's createDragGestureRecognizer.
12662 * java/awt/dnd/DropTarget.java
12663 (addNotify): Added check to determine type of peer and call
12664 addDropTarget.
12665 (removeNotify): Added call to removeDropTarget.
12666
12667 2006-07-06 Tom Tromey <tromey@redhat.com>
12668
12669 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
12670 'queue'.
12671 (run): Wait on queue, not 'this'.
12672
12673 2006-07-06 Lillian Angel <langel@redhat.com>
12674
12675 * java/awt/dnd/DragSource.java
12676 (startDrag): Implemented. Added comments describing
12677 what the function should do. Removed FIXME.
12678
12679 2006-07-06 Tania Bento <tbento@redhat.com>
12680
12681 * gnu/java/awt/Canvas.java
12682 Added new private variable 'next_canvas_number'.
12683 (generateName): Added.
12684 (getUniqueLong): Added.
12685
12686 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12687
12688 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
12689 (getColor): Made public.
12690 * javax/swing/text/html/StyleSheet.java (stringToColor):
12691 Use CharacterAttributeTranslator.getColor(String)
12692
12693 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12694
12695 * javax/swing/text/html/HTMLEditorKit.java:
12696 (HTMLFactory.createElement): Update reference to the html table view.
12697 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
12698 * javax/swing/text/html/TableView.java: New file.
12699
12700 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12701
12702 * javax/swing/text/html/HTMLEditorKit.java:
12703 (HTMLFactory.createElement): Uncomment
12704 code for BRView and HRuleView.
12705 * javax/swing/text/html/BRView.java,
12706 javax/swing/text/html/HRuleView.java: New files.
12707
12708 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12709
12710 * java/lang/Thread.java:
12711 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
12712 Added generic type signature.
12713
12714 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12715
12716 * NEWS: Updated.
12717 * doc/vmintegration.texinfo: Likewise.
12718 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
12719 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
12720 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
12721 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
12722 * java/lang/management/GarbageCollectorMXBean.java:
12723 New files.
12724 * java/lang/management/ManagementFactory.java:
12725 (getGarbageCollectorMXBeans()): Implemented.
12726 (getMemoryManagerMXBeans()): Likewise.
12727 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
12728 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
12729 New files.
12730 * vm/reference/java/lang/management/VMManagementFactory.java:
12731 (getMemoryManagerNames()): Added.
12732 (getGarbageCollectorNames()): Added.
12733
12734 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12735
12736 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
12737 from lib_LTLIBRARIES.
12738 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
12739
12740 2006-07-05 Lillian Angel <langel@redhat.com>
12741
12742 * java/awt/dnd/DragGestureEvent.java:
12743 Added new fields.
12744 (DragGestureEvent): Initialized new fields, added to check and
12745 added documentation.
12746 (getSourceAsDragGestureRecognizer): Added documentation and
12747 changed to use getSource.
12748 (getComponent): Added documentation and fixed to return the proper
12749 value.
12750 (getDragSource): Likewise.
12751 (getDragOrigin): Added documentation.
12752 (iterator): Implemented and added documentation.
12753 (toArray): Likewise.
12754 (toArray): Likewise.
12755 (getDragAction): Likewise.
12756 (getTriggerEvent): Likewise.
12757 (startDrag): Likewise.
12758 * java/awt/dnd/DragGestureRecognizer.java
12759 (resetRecognizer): Added FIXME.
12760 * java/awt/dnd/DragSource.java:
12761 Added new field.
12762 (DragSource): Set ds to be null if headless.
12763 (getDefaultDragSource): Added documentation and implemented.
12764 (isDragImageSupported): Marked as unimplemented.
12765 (startDrag): Likewise.
12766 (createDragSourceContext): Implemented.
12767 (NoDragGestureRecognizer): Formatted inner class.
12768 * java/awt/dnd/DropTarget.java
12769 (stop): Marked as unimplemented.
12770 (actionPerformed): Likewise.
12771 (addDropTargetListener): Added code to throw exception.
12772 (removeDropTargetListener): Added check, removed FIXME.
12773 (dragEnter): Implemented.
12774 (dragOver): Implemented.
12775 (dropActionChanged): Implemented.
12776 (dragExit): Implemented.
12777 (drop): Implemented.
12778 (addNotify): Implemented.
12779 (removeNotify): Implemented.
12780 (createDropTargetContext): Implemented.
12781 (createDropTargetAutoScroller): Implemented.
12782 (initializeAutoscrolling): Implemented.
12783 (updateAutoscroll): Implemented.
12784 (clearAutoscroll): Implemented.
12785 * java/awt/dnd/DropTargetContext.java
12786 (dropComplete): Implemented.
12787 (acceptDrag): Implemented.
12788 (rejectDrag): Implemented.
12789 (acceptDrop): Implemented.
12790 (rejectDrop): Implemented.
12791 (getCurrentDataFlavors): Implemented.
12792 (getTransferable): Partially implemented.
12793 * java/awt/dnd/DropTargetDragEvent.java
12794 (getDropAction): Uncommented correct code.
12795 * java/awt/dnd/DropTargetDropEvent.java
12796 (dropComplete) :Implemented.
12797 * java/awt/dnd/InvalidDnDOperationException.java
12798 (InvalidDnDOperationException): Added call to super.
12799
12800 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
12801
12802 * javax/swing/plaf/basic/BasicArrowButton.java:
12803 (paint): Removed getBounds() call, changed center point
12804 calculation.
12805
12806 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12807
12808 * javax/swing/InputMap.java
12809 (inputMap): Don't initialize yet,
12810 (InputMap): Removed TODO,
12811 (get): Check for null inputMap,
12812 (put): Return immediately for null keyStroke, check for null inputMap
12813 and initialize if necessary,
12814 (remove): Check for null inputMap,
12815 (size): Likewise,
12816 (clear): Likewise,
12817 (keys): Likewise,
12818 (allKeys): Likewise,
12819 (writeObject): Removed,
12820 (readObject): Removed.
12821
12822 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12823
12824 * gnu/classpath/examples/swing/TabbedPaneDemo.java
12825 (createContent): Use different labels for buttons.
12826
12827 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
12828
12829 * NEWS: Updated.
12830 * doc/vmintegration.texinfo: Likewise.
12831 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
12832 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
12833 New files.
12834 * java/lang/management/ManagementFactory.java:
12835 (getMemoryPoolMXBeans()): Implemented.
12836 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
12837 * vm/reference/java/lang/management/VMManagementFactory.java:
12838 New files.
12839
12840 2006-07-04 Lillian Angel <langel@redhat.com>
12841
12842 * java/awt/dnd/DragSourceContext.java:
12843 Removed FIXMEs from fields.
12844 (DragSourceContext): Added code to initialize cursor and sourceActions.
12845 (getDragSource): Added documentation.
12846 (getComponent): Likewise.
12847 (getTrigger): Likewise.
12848 (getSourceActions): Added documentation and implemented.
12849 (setCursor): Implemented. Added documentation.
12850 (getCursor): Implemented. Added documentation.
12851 (dragEnter): Added code to notify DragSource's listeners.
12852 (dragOver): Likewise.
12853 (dragExit): Likewise.
12854 (dropActionChanged): Likewise.
12855 (dragDropEnd): Likewise.
12856 (dragMouseMoved): Implemented.
12857 (getTransferable): Added API documentation.
12858 (updateCurrentCursor): Added API documentation and partially implemented.
12859
12860 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12861
12862 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
12863
12864 2006-07-04 Lillian Angel <langel@redhat.com>
12865
12866 * java/awt/dnd/DragSourceContext.java
12867 (DragSourceContext): Implemented fully. Fixed API docs.
12868 (transferablesFlavorsChanged): Implemented.
12869 (dragEnter): Implemented.
12870 (dragOver): Implemented.
12871 (dragExit): Implemented.
12872 (dropActionChanged): Implemented.
12873 (dragDropEnd): Implemented.
12874
12875 2006-07-04 Lillian Angel <langel@redhat.com>
12876
12877 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12878 Fixed name of constant.
12879 (getIconWidth): Changed name of constant returned.
12880 (getIconHeight): Likewise.
12881 (paint): Likewise.
12882 (createSeparator): Marked as unimplemented.
12883 * javax/swing/plaf/basic/BasicTableUI.java
12884 (focusGained): Marked as unimplemented.
12885 (focusLost): Marked as unimplemented.
12886 (mouseEntered): Likewise.
12887 (mouseMoved): Likewise.
12888 (uninstallDefaults): Likewise.
12889 * javax/swing/plaf/basic/BasicToolBarUI.java
12890 (mouseClicked): Changed comment.
12891 (mouseEntered): Likewise.
12892 (mouseExited): Likewise.
12893 (mouseMoved): Likewise.
12894 (setOrientation): Implemented.
12895 (ToolBarFocusListener): Marked as unimplemented.
12896 (focusGained): Marked as unimplemented.
12897 (focusLost): Marked as unimplemented.
12898
12899 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12900
12901 PR 28061
12902 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
12903 Mind the effect of the root visibility on the position of the control.
12904 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
12905 vertical line over first level nodes.
12906
12907 2006-07-04 Lillian Angel <langel@redhat.com>
12908
12909 * javax/swing/plaf/basic/BasicMenuUI.java
12910 (installKeyboardActions): Implemented to call super. Nothing else
12911 needs to be done here.
12912 (setupPostTimer): Marked as unimplemented.
12913 (uninstallKeyboardActions): Implemented to call super. Nothing else
12914 needs to be done here.
12915 (mouseMoved): Removed TODO. Nothing to be done here.
12916 (ChangeHandler): Implemented.
12917 (menuDragMouseExited): Removed TODO. Nothing to be done here.
12918 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
12919 (menuKeyReleased): Removed TODO. Nothing to be done here.
12920 (menuKeyTyped): Marked as unimplemented.
12921
12922 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12923
12924 PR 28061
12925 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
12926 (getDefaults): Set hash color to black.
12927 * javax/swing/plaf/basic/BasicLookAndFeel.java
12928 (initComponentDefaults): Set hash color to grey blue.
12929 * javax/swing/plaf/basic/BasicTreeUI.java
12930 (instellDefaults): Set hash color.
12931 * javax/swing/plaf/metal/MetalIconFactory.java
12932 (TreeControlIcon.paint): Rewritten.
12933
12934 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12935
12936 PR 28061
12937 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
12938 Always cancel the current editing session before doing anything else,
12939 return immediately if this fails.
12940 (TreeHomeAction): Ensure that the lead selection path is visible after
12941 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
12942 Likewise. TreeTraverseAction: Likewise.
12943
12944 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12945
12946 PR 28061
12947 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
12948 Returned back the code to handle the start of the click-pause-click
12949 editing initiation, explained about this code.
12950 (TreeStartEditingAction): New inner class.
12951 (stopEditingInCompleteEditing): Explained about this field.
12952 (completeEditing(boolean, boolean, boolean): Only return early
12953 if there is no current editing session.
12954 (createDefaultActions): Install TreeStartEditingAction and
12955 TreeCancelEditingAction.
12956
12957 2006-07-04 Mario Torre <neugens@limasoftware.net>
12958
12959 * configure.ac: Added new option --enable-default-preferences-peer
12960 to pass user specified default preference backend.
12961 If the GConf peer is built, GConf become the default backend.
12962 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
12963 new file.
12964 * lib/Makefile.am: excludes files terminating in 'in' from
12965 the metafiles list.
12966 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
12967 from copy into META-INF.
12968 * java/util/prefs/Preferences.java: added two new import
12969 classes gnu.classpath.ServiceFactory and java.util.Iterator.
12970 (getFactory): Now try to check for
12971 a system defined default preference backend before to fall back on
12972 FileBasedPreference.
12973
12974 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12975
12976 PR 28061
12977 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
12978 (EXPANDED): Initialise to Boolean.TRUE.
12979 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
12980 First configure layout cache and then set the assigned value
12981 as row mapper. Set the root visibility property.
12982 (toggleExpandState): Obtains expansion state from the layout cache.
12983
12984 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
12985
12986 * java/lang/management/MemoryPoolMXBean.java:
12987 New file.
12988
12989 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
12990
12991 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
12992
12993 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
12994
12995 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
12996 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
12997 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
12998 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
12999 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13000 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13001 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13002 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13003 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13004 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13005 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13006 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13007 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13008 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13009 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13010 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13011 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13012 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13013 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13014 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13015 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13016 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13017 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13018 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13019 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13020 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13021 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13022 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13023 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13024 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13025 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13026 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13027 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13028 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13029 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13030 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13031 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13032 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13033 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13034 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13035 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13036 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13037 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13038 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13039 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13040 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13041 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13042
13043 2006-07-02 Anthony Green <green@redhat.com>
13044
13045 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13046 sure that every track written ends with an End Of Track meta
13047 message.
13048
13049 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13050
13051 * java/lang/management/MemoryUsage.java:
13052 (toString()): Fix missing MB for maximum memory usage.
13053
13054 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13055
13056 * NEWS:
13057 Updated to include VMCompilationMXBeanImpl.
13058 * doc/vmintegration.texinfo:
13059 Likewise, along with update to VMMemoryMXBeanImpl
13060 as below.
13061 * examples/gnu/classpath/examples/management/TestCompilation.java,
13062 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13063 * java/lang/management/CompilationMXBeanImpl.java:
13064 New files.
13065 * java/lang/management/ManagementFactory.java:
13066 (getCompilationMXBean()): Implemented.
13067 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13068 New file.
13069 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13070 (getHeapMemoryUsage()): Added default implementation.
13071
13072 2006-07-02 Anthony Green <green@redhat.com>
13073
13074 * NEWS: Mention MIDI file reader/writer providers.
13075
13076 2006-07-02 Anthony Green <green@redhat.com>
13077
13078 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13079 gnu/javax/sound/midi/file/MidiFileWriter.java,
13080 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13081
13082 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13083
13084 * NEWS:
13085 Updated to include VMMemoryMXBeanImpl.
13086 * doc/vmintegration.texinfo: Likewise.
13087 * examples/gnu/classpath/examples/management/TestMemory.java:
13088 New file.
13089 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13090 Remove redundant import.
13091 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13092 New file.
13093 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13094 Remove redundant import.
13095 * java/lang/management/ManagementFactory.java:
13096 (getMemoryMXBean()): Implemented.
13097 * java/lang/management/MemoryMXBean.java,
13098 * java/lang/management/MemoryUsage.java:
13099 New files.
13100 * java/lang/management/ThreadInfo.java:
13101 (toString()): Updated documentation.
13102 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13103 New file.
13104
13105 2006-07-01 Anthony Green <green@redhat.com>
13106
13107 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13108 gnu/javax/sound/midi/file/MidiFileReader.java,
13109 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13110 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13111
13112 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13113
13114 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13115 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13116 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13117 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13118 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13119 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13120 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13121
13122 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13123
13124 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13125 * gnu/javax/crypto/pad/IPad.java: Likewise.
13126 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13127 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13128 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13129 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13130 * gnu/javax/crypto/pad/TBC.java: Likewise.
13131 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13132 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13133
13134 2006-07-01 Anthony Green <green@redhat.com>
13135
13136 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13137 status byte test.
13138 (setMessage): Fix it again, in a different setMessage method.
13139
13140 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13141
13142 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13143 * gnu/javax/crypto/mode/CBC.java: Likewise.
13144 * gnu/javax/crypto/mode/CFB.java: Likewise.
13145 * gnu/javax/crypto/mode/CTR.java: Likewise.
13146 * gnu/javax/crypto/mode/EAX.java: Likewise.
13147 * gnu/javax/crypto/mode/ECB.java: Likewise.
13148 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13149 * gnu/javax/crypto/mode/ICM.java: Likewise.
13150 * gnu/javax/crypto/mode/IMode.java: Likewise.
13151 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13152 * gnu/javax/crypto/mode/OFB.java: Likewise.
13153
13154 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13155
13156 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13157 * gnu/javax/crypto/mac/HMac.java: Likewise.
13158 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13159 * gnu/javax/crypto/mac/IMac.java: Likewise.
13160 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13161 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13162 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13163 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13164 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13165 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13166 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13167
13168 2006-07-01 Anthony Green <green@redhat.com>
13169
13170 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13171
13172 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13173
13174 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13175 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13176 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13177 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13178 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13179 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13180 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13181 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13182 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13183 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13184 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13185 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13186 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13187 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13188 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13189 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13190 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13191 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13192 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13193 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13194 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13195 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13196 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13197 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13198
13199 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13200
13201 * javax/swing/AbstractCellEditor.java: Source code formatting,
13202 * javax/swing/AbstractSpinnerModel.java: Likewise,
13203 * javax/swing/Box.java: Likewise,
13204 * javax/swing/BoxLayout.java: Likewise,
13205 * javax/swing/DefaultListModel.java: Likewise,
13206 * javax/swing/GrayFilter.java: Likewise,
13207 * javax/swing/LookAndFeel.java: Likewise,
13208 * javax/swing/ProgressMonitor.java: Likewise,
13209 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13210 * javax/swing/ScrollPaneLayout.java: Likewise,
13211 * javax/swing/SpringLayout.java: Likewise,
13212 * javax/swing/event/EventListenerList.java: Likewise,
13213 * javax/swing/event/MenuEvent.java: Likewise,
13214 * javax/swing/event/TreeExpansionListener.java: Likewise.
13215
13216 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13217
13218 * NEWS:
13219 Mention threading bean and getState().
13220 * doc/vmintegration.texinfo:
13221 Update documentation for threading bean and new
13222 method of VMThread.
13223
13224 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13225
13226 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13227 * examples/gnu/classpath/examples/management/TestOS.java,
13228 * examples/gnu/classpath/examples/management/TestRuntime.java,
13229 * examples/gnu/classpath/examples/management/TestThread.java:
13230 New files.
13231
13232 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13233
13234 * java/lang/ThreadGroup.java
13235 (getThreadFromId, getThreadFromIdImpl): New methods.
13236
13237 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13238
13239 * java/lang/Thread.java:
13240 Make thread IDs start from 1 in a more efficient way.
13241
13242 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13243
13244 * java/lang/Thread.java:
13245 Make thread IDs start from 1.
13246
13247 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13248
13249 * gnu/java/lang/management/BeanImpl.java:
13250 New superclass for all bean implementations.
13251 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13252 Extend BeanImpl and call permission code there.
13253 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13254 Extend BeanImpl.
13255 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13256 Extend BeanImpl and call permission code there.
13257 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13258 New file.
13259 * java/lang/management/ManagementFactory.java:
13260 (getThreadMXBean()): Implemented.
13261 * java/lang/management/ThreadInfo.java:
13262 (ThreadInfo(Thread,int)): Replaced...
13263 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13264 boolean, boolean, StackTraceElement[])): with this.
13265 (getBlockedCount()): Refactored to use local variables.
13266 (getBlockedTime()): Likewise.
13267 (getLockName()): Likewise.
13268 (getLockOwnerId()): Likewise.
13269 (getLockOwnerName()): Likewise.
13270 (getStackTrace()): Likewise.
13271 (getWaitedCount()): Likewise.
13272 (getWaitedTime()): Likewise.
13273 (isInNative()): Likewise.
13274 (isSuspended()): Likewise.
13275 (toString()): Changed to use new local variables.
13276 * java/lang/management/ThreadMXBean.java:
13277 (getThreadInfo(long, int)): Corrected documentation.
13278 (getThreadInfo(long[], int)): Likewise.
13279 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13280 New file.
13281 * vm/reference/java/lang/management/VMThreadInfo.java:
13282 Removed.
13283
13284 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13285
13286 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13287 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13288 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13289 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13290 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13291 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13292 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13293 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13294 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13295 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13296 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13297 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13298 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13299 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13300 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13301 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13302 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13303 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13304 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13305 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13306 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13307 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13308 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13309 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13310 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13311 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13312 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13313 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13314 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13315 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13316 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13317 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13318
13319 2006-07-01 Roman Kennke <kennke@aicas.com>
13320
13321 * gnu/java/awt/java2d/AbstractGraphics2D.java
13322 (transform): Make field protected.
13323 (getDestinationRaster): Provide default implementation for
13324 previously abstract method.
13325
13326 2006-06-30 Tania Bento <tbento@redhat.com>
13327
13328 * java/awt/TextArea.java
13329 (TextArea(String, int, int, int)): No longer throws
13330 IllegalArgumentException if rows, columns, or scrollbarVisibility
13331 values are invalid.
13332 (TextArea(String, int, int, int)): If rows or columns are < 0,
13333 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13334 gets set to the default value of 0 (SCROLLBARS_BOTH).
13335 (appendText): Added case when peer = null.
13336 (insertText): Added case when peer == null.
13337 (replaceText): Added case when peer == null.
13338 * java/awt/TextComponent.java
13339 (TextComponent(String)): If text == null, set it to "".
13340
13341 2006-06-30 Lillian Angel <langel@redhat.com>
13342
13343 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13344 (create): Added synchronized block around groupMap.get calls.
13345 (setCheckboxGroup): Likewise.
13346
13347 2006-06-30 Lillian Angel <langel@redhat.com>
13348
13349 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13350 (create): Changed to be non-synchronized.
13351 (setLabel): Likewise.
13352 (setCheckboxGroup): Likewise.
13353 (addToGroupMap): Likewise. Added synchronized block around
13354 code.
13355 (dispose): Changed to be non-synchronized.
13356
13357 2006-06-30 Lillian Angel <langel@redhat.com>
13358
13359 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13360 Changed all return values of native functions to void.
13361 (create): Changed function to be synchronized. Removed
13362 call to put value in groupMap, this is now done from
13363 the native code.
13364 (setState): Changed function to be synchronized.
13365 (setLabel): Changed function to be synchronized.
13366 (setCheckboxGroup): Changed function to be synchronized. Removed
13367 call to put value in groupMap, this is now done from
13368 the native code.
13369 (postItemEvent): Changed function to be synchronized.
13370 (addToGroupMap): New function. Called by native code to add
13371 new value to the group.
13372 (dispose): Changed function to be synchronized.
13373 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13374 all functions.
13375 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13376 (cp_gtk_checkbox_init_jni): Added code to link to
13377 java function.
13378 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13379 Changed return value to void. Added call
13380 to java function to set pointer in groupMap.
13381 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13382 changed check to an assert. Also, removed call to set/del pointer.
13383 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13384 Likewise. Also, added check to determine if native_group should be
13385 set to NULL.
13386 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13387
13388 2006-06-30 Sven de Marothy <sven@physto.se>
13389
13390 * gnu/java/awt/ClasspathToolkit.java,
13391 * gnu/java/awt/peer/x/XToolkit.java,
13392 * gnu/java/awt/peer/qt/QtToolkit.java,
13393 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13394 Remove ClasspathTextLayoutPeer.
13395 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13396 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13397 Files removed.
13398
13399 2006-06-30 Sven de Marothy <sven@physto.se>
13400
13401 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13402 (drawGlyphVector): Don't draw empty vectors.
13403
13404 2006-06-30 Lillian Angel <langel@redhat.com>
13405 Tom Fitzsimmons <fitzsim@redhat.com>
13406
13407 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13408 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13409 Added current_group, groupMap fields. Added definitions for
13410 new native functions.
13411 (create): Removed FIXME. Added code to create the check button or
13412 radio button when appropriate. Updated groupMap to contain
13413 pointer to the newly created group.
13414 (setCheckboxGroup): Added code to handle all cases. Removing
13415 a button from a group, adding a button to a group, or changing the
13416 group of a button.
13417 (dispose): Changed to call super.
13418 * include/Makefile.am: Removed reference to
13419 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13420 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13421 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13422 for new functions.
13423 * native/jni/gtk-peer/Makefile.am: Removed reference to
13424 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13425 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13426 Removed file.
13427 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13428 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13429 Renamed to checkbox_get_widget.
13430 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13431 Changed to use checkbox_get_widget.
13432 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13433 Removed.
13434 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13435 Changed to use checkbox_get_widget.
13436 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13437 Likewise.
13438 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13439 New function. Creates checkbutton without a group.
13440 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13441 Creates a radio button in a group, using groupPointer. If groupPointer
13442 is 0, then a new group is created.
13443 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13444 check button to a group, using groupPointer. A radio button is created
13445 in its place. If groupPointer is 0, then a new group is created.
13446 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13447 radio button is removed from the group. A check button is created in
13448 its place.
13449 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13450 radio button is moved to a new group.
13451
13452 2006-06-30 Mark Wielaard <mark@klomp.org>
13453
13454 * configure.ac: Move standard.omit creation after dirs are created.
13455 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13456 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13457 (clean-local): Remove standard.omit.
13458 * lib/gen-classlist.sh.in: Use omit file in build dir.
13459 * lib/standard.omit.in: Make exclude regex more explicit.
13460
13461 2006-06-30 Roman Kennke <kennke@aicas.com>
13462
13463 * lib/Makefile.am: Added Escher dir/jar to classpath when
13464 requested.
13465 * configure.ac: Moved handling of standard.omit to a place
13466 where it actually gets executed.
13467
13468 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13469
13470 * java/awt/TextComponent.java: Reformatted source code,
13471 * java/awt/TextField.java: Likewise.
13472
13473 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13474
13475 * java/lang/Thread.java:
13476 (getState()): Handle case of no VMThread
13477 correctly.
13478
13479 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13480
13481 * java/lang/Thread.java,
13482 * java/lang/VMThread.java:
13483 Reverted patch from 2006-06-28.
13484
13485 2006-06-29 Roman Kennke <kennke@aicas.com>
13486
13487 * gnu/java/awt/peer/x/GLGraphics.java,
13488 * gnu/java/awt/peer/x/ImageConverter.java,
13489 * gnu/java/awt/peer/x/KeyboardMapping.java,
13490 * gnu/java/awt/peer/x/XEventPump.java,
13491 * gnu/java/awt/peer/x/XFontPeer.java,
13492 * gnu/java/awt/peer/x/XFontPeer2.java,
13493 * gnu/java/awt/peer/x/XFramePeer.java,
13494 * gnu/java/awt/peer/x/XGraphics.java,
13495 * gnu/java/awt/peer/x/XGraphics2D.java,
13496 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13497 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13498 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13499 * gnu/java/awt/peer/x/XImage.java,
13500 * gnu/java/awt/peer/x/XLightweightPeer.java,
13501 * gnu/java/awt/peer/x/XToolkit.java,
13502 * gnu/java/awt/peer/x/XWindowPeer.java,
13503 * gnu/java/awt/peer/x/fonts.properties: New files.
13504 * lib/standard.omit: Removed.
13505 * lib/standard.omit.in: Added.
13506 * configure.ac: Added configure option --with-escher. Added some
13507 configury for omitting gnu.java.awt.peer.x package when
13508 this option is not specified.
13509
13510 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13511
13512 * javax/swing/JComponent.java
13513 (JComponent()): Initialize the locale here, not the default locale,
13514 (getDefaultLocale): If null, return Locale.getDefault(),
13515 (setDefaultLocale): Added API docs.
13516
13517 2006-06-29 Tania Bento <tbento@redhat.com>
13518
13519 * java/awt/Container.java
13520 (applyComponentOrientation): Implemented method.
13521
13522 2006-06-29 Gary Benson <gbenson@redhat.com>
13523
13524 * java/io/File.java (listRoots): Merge security checks from libgcj.
13525
13526 2006-06-29 Gary Benson <gbenson@redhat.com>
13527
13528 * java/io/FilePermission.java (implies): Work when path is "/".
13529
13530 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13531
13532 * java/lang/Thread.java:
13533 (Thread(ThreadGroup,Runnable,String,long)): Update
13534 state.
13535 (Thread(VMThread,String,int,boolean)): Likewise.
13536 (join(long,int)): Likewise.
13537 (resume()): Likewise.
13538 (sleep(long,int)): Likewise.
13539 (start()): Likewise.
13540 (stop()): Likewise.
13541 (suspend()): Likewise.
13542 (die()): Likewise.
13543 (getState()): Return either state or use VMThread.
13544 * java/lang/VMThread.java:
13545 (getState()): Added default implementation to return
13546 thread.state
13547
13548 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13549
13550 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13551 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13552 endian swapping code.
13553
13554 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13555 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13556 without alpha information correctly on big endian systems.
13557
13558 2006-06-28 Roman Kennke <kennke@aicas.com>
13559
13560 * gnu/java/net/local/LocalSocket.java
13561 (setSoTimeout): Don't throw exception and ignore request.
13562 (getSoTimeout): Don't throw exception and always return 0.
13563
13564 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13565
13566 * javax/swing/JComponent.java
13567 (getRegisteredKeyStrokes): Implemented.
13568
13569 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13570
13571 * javax/swing/JComponent.java
13572 (verifyInputWhenFocusTarget): Initialise to true.
13573
13574 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13575
13576 * java/beans/VetoableChangeSupport.java
13577 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13578 null listener,
13579 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13580 for null property name and/or listener,
13581 * javax/swing/JComponent.java
13582 (getListeners): Handle VetoableChangeListener.class as a special case,
13583 (getVetoableChangeListeners): Fetch these from the
13584 vetoableChangeSupport object.
13585
13586 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13587
13588 * javax/swing/JComponent.java
13589 (componentPopupMenu): New field,
13590 (inheritsPopupMenu): New field,
13591 (getInheritsPopupMenu): Implemented,
13592 (setInheritsPopupMenu): Likewise,
13593 (getComponentPopupMenu): Likewise,
13594 (setComponentPopupMenu): Likewise,
13595 * javax/swing/JLabel.java
13596 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13597
13598 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
13599
13600 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13601 (toString): New method.
13602 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13603 (toString): New method.
13604 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13605 (toString): New method.
13606 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13607 Handle case when Q is null.
13608 (decodePrivateKey): Likewise.
13609 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13610 Likewise.
13611 (decodePublicKey): Likewise.
13612 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13613 aliases for all block ciphers.
13614 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13615 (engineDoPhase): Compute fully the shared secret.
13616 (checkState): New method.
13617 (reset): Likewise.
13618 (engineGenerateSecret()): Reset key-agreement before returning.
13619 (engineGenerateSecret(byte[],int)): Check for short-buffer.
13620 Reset key-agreement before returning.
13621 (engineGenerateSecret(String)): Reset key-agreement before returning.
13622 (engineInit(Key,SecureRandom)): Call reset() before returning.
13623 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
13624 (engineInit): Replace printing to System.out with conditional logging.
13625 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
13626 When the key-size is not specified, attempt best effort to find a suitable
13627 value among those advertised by the cipher before setting it to the length
13628 of provided key material.
13629
13630 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13631
13632 * javax/swing/table/DefaultTableColumnModel.java
13633 (changeEvent): Don't initialize yet, removed FIXME,
13634 (fireColumnModelChanged): Initialize changeEvent if necessary.
13635
13636 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13637
13638 * java/lang/Thread.java:
13639 (getAllStackTraces()): Implemented.
13640 (getStackTrace()): Likewise.
13641
13642 2006-06-27 Tania Bento <tbento@redhat.com>
13643
13644 * java/awt/Component.java
13645 (setComponentOrientation): NPE should not be thrown.
13646
13647 2006-06-27 Tom Tromey <tromey@redhat.com>
13648
13649 * configure.ac: Create gjar, gnative2ascii, gserialver.
13650 * tools/gappletviewer.in: Quote $@.
13651 * tools/gkeytool.in: Likewise.
13652 * tools/gjarsigner.in: Likewise.
13653 * tools/gjar.in: New file.
13654 * tools/gnative2ascii.in: Likewise.
13655 * tools/gserialver.in: Likewise.
13656 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
13657 gserialver.
13658 (bin_SCRIPTS): Likewise.
13659
13660 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13661
13662 * java/lang/management/ThreadMXBean.java:
13663 (getThreadInfo(long[])): Corrected return type.
13664 (getThreadInfo(long[], int)): Likewise.
13665
13666 2006-06-27 Mark Wielaard <mark@klomp.org>
13667
13668 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
13669 nothing when listener is null.
13670 (removeFlavorListener): Likewise.
13671
13672 * java/awt/datatransfer/DataFlavor.java
13673 (getRepresentationClassFromMime): Renamed to
13674 getRepresentationClassFromMimeThrows.
13675 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
13676 (isRepresentationClassSerializable): Likewise.
13677 (isFlavorJavaFileListType): Likewise and check primary and
13678 subtype.
13679 (getParameter): Parameters are separated by semi-colons.
13680 (DataFlavor(Class,String,String)): Do some sanity checks.
13681 (DataFlavor(String,String,ClassLoader)): Call
13682 getRepresentationClassFromMimeThrows.
13683 (DataFlavor(String)): Likewise.
13684 (equals(DataFlavor)): Special case primary type text and charset
13685 parameter.
13686
13687 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13688
13689 * java/awt/Component.java
13690 (setName): Fire required PropertyChangeEvent,
13691 * java/awt/Label.java
13692 (getText): Removed redundant brackets,
13693 (generateName): New method (override),
13694 (nextLabelNumber): New field,
13695 (getUniqueLong): New method.
13696
13697 2006-06-27 Roman Kennke <kennke@aicas.com>
13698
13699 * gnu/java/awt/peer/swing/SwingComponentPeer.java
13700 (createImage): Delegate this to the parent.
13701 (handleEvent): Only handle PAINT/UPDATE events when the
13702 component is actually showing.
13703 (hide): Repaint the parent after hiding a component.
13704 (prepareImage): Have only one return point.
13705 (setVisible): Delegate to show() and hide().
13706 (createVolatileImage): Added null check to avoid NPE.
13707
13708 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13709
13710 * java/awt/Label.java: Reformatted source code.
13711
13712 2006-06-27 Roman Kennke <kennke@aicas.com>
13713
13714 * java/awt/image/BufferedImage.java
13715 (getSource): Use a fixed DirectColorModel to deliver the
13716 RGB pixels to the ImageConsumer.
13717
13718 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13719
13720 * java/awt/Point.java
13721 (setLocation(double, double)): Round to nearest integer coordinates.
13722
13723 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13724
13725 * java/awt/Component.java
13726 (minSizeSet): New field,
13727 (maxSize): Likewise,
13728 (maxSizeSet): Likewise,
13729 (isMaximumSizeSet): Implemented,
13730 (isMinimumSizeSet): Likewise,
13731 (isPreferredSizeSet): Likewise,
13732 (setMaximumSize): Likewise,
13733 (setMinimumSize): Likewise,
13734 (setPreferredSize): Likewise.
13735
13736 2006-06-27 Roman Kennke <kennke@aicas.com>
13737
13738 * javax/imageio/spi/IIORegistry.java
13739 (IIORegistry): Added BMP codec.
13740
13741 2006-06-27 Mark Wielaard <mark@klomp.org>
13742
13743 * javax/swing/JComponent.java
13744 (firePropertyChange(String,char,char)): New override method.
13745
13746 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
13747
13748 * java/lang/Thread.java:
13749 (getState()): New method.
13750 * java/lang/management/ClassLoadingMXBean.java:
13751 Corrected class documentation.
13752 * java/lang/management/ManagementFactory.java:
13753 Added new temporary marked stub to get thread bean.
13754 * java/lang/management/OperatingSystemMXBean.java:
13755 Corrected class documentation.
13756 * java/lang/management/RuntimeMXBean.java:
13757 Corrected class documentation.
13758 * java/lang/management/ThreadInfo.java,
13759 * java/lang/management/ThreadMXBean.java:
13760 New classes.
13761 * vm/reference/java/lang/VMThread.java:
13762 (getState()): New method.
13763 * vm/reference/java/lang/management/VMThreadInfo.java:
13764 New VM class.
13765
13766 2006-06-26 Sven de Marothy <sven@physto.se>
13767
13768 * gnu/javax/imageio/gif/GIFFile.java
13769 * gnu/javax/imageio/gif/GIFImageReader.java
13770 * gnu/javax/imageio/gif/GIFImageSpi.java
13771 * gnu/javax/imageio/gif/GIFStream.java
13772 New files.
13773 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
13774
13775 2006-06-26 Tania Bento <tbento@redhat.com>
13776
13777 * java/awt/List.java
13778 (List): A list should have at least 4 visible rows.
13779 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
13780 not an IllegalArgumentException.
13781 (makeVisible): Should not throw an IllegalArgumentException if
13782 the specified index is out of range.
13783
13784 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13785
13786 * javax/swing/JList.java
13787 (getNextMatch): Reimplemented to perform a circular search for the
13788 matching item.
13789
13790 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13791
13792 * javax/swing/JList.java
13793 (init): Set default value for visibleRowCount to 8,
13794 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
13795
13796 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13797
13798 * javax/swing/JList.java
13799 (valueIsAdjusting): Removed,
13800 (init): Removed initialization of valueIsAdjusting field,
13801 (getValueIsAdjusting): Fetch value from selection model,
13802 (setValueIsAdjusting): Store value in selection model.
13803
13804 2006-06-26 Roman Kennke <kennke@aicas.com>
13805
13806 * javax/swing/plaf/basic/BasicListUI.java
13807 (installKeyboardActions): Rewritten to fit with the
13808 ActionMap/InputMap architecture.
13809 (uninstallKeyboardActions): Implemented.
13810 (ListAction): Made private. Added TODO for splitting
13811 up this bulk Action.
13812 (ListAction.ListAction): New constructor. This one
13813 takes a cmd parameter to be installed as actionCommand.
13814
13815 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13816
13817 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
13818 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
13819
13820 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13821
13822 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
13823 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
13824 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
13825 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
13826 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
13827 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
13828 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
13829 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
13830 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13831 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13832 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
13833 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
13834 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
13835 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
13836 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
13837 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
13838 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
13839 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
13840 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
13841 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
13842 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
13843 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
13844 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
13845 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
13846 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
13847 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
13848 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
13849 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
13850 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
13851 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
13852 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
13853 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
13854 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
13855 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
13856 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
13857 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
13858 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
13859 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
13860 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
13861 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
13862 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
13863 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
13864 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
13865 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
13866 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13867 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
13868 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
13869 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
13870 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
13871 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
13872 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
13873 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
13874 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
13875 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
13876 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
13877 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
13878 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
13879 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
13880 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
13881 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
13882 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
13883 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
13884 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
13885 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
13886 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
13887 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
13888 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
13889 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
13890 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
13891 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
13892 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
13893 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
13894 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
13895 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
13896 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
13897 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
13898 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
13899 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
13900 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
13901 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
13902 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
13903 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
13904
13905 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13906
13907 * javax/swing/JList.java
13908 (setLayoutOrientation): Check for valid argument.
13909
13910 2006-06-26 Roman Kennke <kennke@aicas.com>
13911
13912 * javax/swing/JComponent.java
13913 (firePropertyChange(String,int,int)): New method. Overrides
13914 Component method and makes it public.
13915 (firePropertyChange(String,boolean,boolean)): Likewise.
13916
13917 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
13918
13919 * gnu/java/security/.cvsignore: New File.
13920 * gnu/java/security/Configuration.java.in: New File.
13921 * gnu/java/security/Properties.java: Change import from
13922 gnu.classpath.Configuration to gnu.java.security.Configuration.
13923 * gnu/java/security/hash/Whirlpool.java: Likewise.
13924 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
13925 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
13926 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
13927 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
13928 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
13929 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
13930 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
13931 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
13932 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
13933 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
13934 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
13935 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
13936 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
13937 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
13938 * gnu/java/security/util/Base64.java: Likewise.
13939 * gnu/java/security/x509/X509CRL.java: Likewise.
13940 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
13941 * gnu/java/security/x509/ext/Extension.java: Likewise.
13942 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
13943 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
13944 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
13945 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
13946 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
13947 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13948 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13949 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13950 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13951 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13952 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13953 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13954 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13955 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13956 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13957 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13958 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13959 * gnu/javax/crypto/pad/BasePad.java: Likewise.
13960 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13961 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13962 * gnu/javax/crypto/pad/TBC.java: Likewise.
13963 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13964 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13965 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13966 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13967 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13968 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
13969 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
13970 * gnu/javax/security/auth/login/GnuConfiguration.java
13971 (getAppConfigurationEntry): Change reference to
13972 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
13973 (getConfigFromUserHome): Likewise.
13974 (getInputStreamFromURL): Likewise.
13975 (getUserHome): Likewise.
13976 (init): Likewise.
13977 (processSecurityProperties): Likewise.
13978 (processSystemProperty): Likewise.
13979 (processUserHome): Likewise.
13980 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
13981 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
13982
13983
13984 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
13985
13986 * javax/swing/text/DefaultCaret.java (isActive): New method.
13987
13988 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
13989
13990 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
13991 * java/lang/management/ClassLoadingMXBean.java:
13992 (getTotalLoadedClassCount()): Corrected return type.
13993 (getUnloadedClassCount()): Likewise.
13994 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
13995 (getUnloadedClassCount()): Likewise.
13996
13997 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
13998
13999 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14000 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14001 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14002 * gnu/javax/crypto/cipher/Square.java: Likewise.
14003 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14004 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14005 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14006 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14007 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14008 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14009 * gnu/javax/crypto/cipher/DES.java: Likewise.
14010 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14011 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14012 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14013 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14014 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14015
14016 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14017
14018 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14019 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14020 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14021 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14022 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14023 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14024 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14025 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14026 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14027 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14028 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14029 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14030 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14031
14032 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14033
14034 * NEWS,
14035 * doc/vmintegration.texinfo:
14036 Updated with information on new VM interface.
14037 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14038 * java/lang/management/ClassLoadingMXBean.java:
14039 New files implementing the class loading bean.
14040 * java/lang/management/ManagementFactory.java:
14041 (getClassLoadingMXBean()): Implemented.
14042 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14043 New VM interface file.
14044
14045 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14046
14047 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14048 (isBootClassPathSupported()): Use SystemProperties
14049 rather than System.getProperty.
14050
14051 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14052
14053 * gnu/java/security/Properties.java: Source formatting.
14054 * gnu/java/security/Registry.java: Likewise.
14055
14056 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14057
14058 * gnu/java/security/util/Util.java: Source formatting.
14059 * gnu/java/security/util/SimpleList.java: Likewise.
14060 * gnu/java/security/util/Sequence.java: Likewise.
14061 * gnu/java/security/util/PRNG.java: Likewise.
14062 * gnu/java/security/util/ExpirableObject.java: Likewise.
14063 * gnu/java/security/util/Base64.java: Likewise.
14064 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14065 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14066 * gnu/java/security/sig/ISignature.java: Likewise.
14067 * gnu/java/security/sig/BaseSignature.java: Likewise.
14068 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14069 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14070 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14071 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14072 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14073 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14074 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14075 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14076 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14077 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14078 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14079 * gnu/java/security/provider/Gnu.java: Likewise.
14080 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14081 * gnu/java/security/prng/RandomEvent.java: Likewise.
14082 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14083 * gnu/java/security/prng/MDGenerator.java: Likewise.
14084 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14085 * gnu/java/security/prng/IRandom.java: Likewise.
14086 * gnu/java/security/prng/EntropySource.java: Likewise.
14087 * gnu/java/security/prng/BasePRNG.java: Likewise.
14088
14089 2006-06-23 Francis Kung <fkung@redhat.com>
14090
14091 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14092 (Harness.actionPerformed): Process additional options.
14093 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14094 (J2dBenchmarkWrapper.setAlias): New method.
14095 (J2dBenchmarkWrapper.setComposite): New method.
14096 (J2dBenchmarkWrapper.setFill): New method.
14097 (J2dBenchmarkWrapper.setRotation): New method.
14098 (J2dBenchmarkWrapper.setShear): New method.
14099 (J2dBenchmarkWrapper.setStroke): New method.
14100 (J2dBenchmarkWrapper.setTranslation): New method.
14101 (run): Add additional options to GUI.
14102 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14103 Added protected fields for various options.
14104 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14105 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14106 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14107 (getNextColor): Renamed to setRandom.
14108 (init): Load additional image for texturing if needed.
14109 (loadBufferedImage): New method.
14110 (main): Accept additional command-line switches.
14111 (prepareGraphics): New method.
14112 (resetGraphics): New method.
14113 (runTestSuite): Accept additional image-processing options.
14114 (setRandom): Renamed from getNextColor; generate various random options
14115 (test_drawArc): Rename getNextColor to setRandom.
14116 (test_drawCubic): Likewise.
14117 (test_drawEllipse): Likewise.
14118 (test_drawGeneralPath): Likewise.
14119 (test_drawImage): Likewise.
14120 (test_drawLine): Likewise.
14121 (test_drawQuadCurve): Likewise.
14122 (test_drawRectangle): Likewise.
14123 (test_drawRoundRectangle): Likewise.
14124 (test_drawTransparentImage): Likewise.
14125 (test_fillArc): Rename getNextColor to setRandom.
14126 (test_fillEllipse): Likewise.
14127 (test_fillGeneralPath): Likewise.
14128 (test_fillRectangle): Likewise.
14129 (test_fillRoundRectangle): Likewise.
14130 (TestRecorder.getAverage): Round the average time.
14131
14132 2006-06-23 Tom Tromey <tromey@redhat.com>
14133
14134 * java/util/logging/LoggingMXBean.java: New file.
14135 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14136 (loggingBean): New field.
14137 (getLoggingMXBean): New method.
14138
14139 2006-06-23 Tania Bento <tbento@redhat.com>
14140
14141 * java/awt/TextField.java
14142 (TextField): Default number of columns should be 0, not 1.
14143 (TextField): Check if number of columns given as argument
14144 is valid (>= 0) and set the number of columns accordingly.
14145 (TextField): Check if the string passed is null. If it is,
14146 set columns to 0, else columns is set to the length of
14147 the string.
14148
14149 2006-06-23 Roman Kennke <kennke@aicas.com>
14150
14151 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14152 (InternalFramePropertyChangeListener.propertyChange):
14153 Don't call getPropertyName() repeatedly. Added null checks
14154 to avoid NPEs. Call closeFrame() if the closed property
14155 changes.
14156
14157 2006-06-23 Roman Kennke <kennke@aicas.com>
14158
14159 * javax/swing/JInternalFrame.java
14160 (maxTransition): Removed.
14161 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14162 Don't initialize storedBounds here.
14163 (dipose): Rewritten to correctly dispose the JInternalFrame.
14164 (getDesktopIcon): Don't initialize desktopIcon here.
14165 (getLayer): Delegate to JLayeredPane.getLayer().
14166 (getNormalBounds): Return bounds when storedBounds == null,
14167 otherwise storedBounds.
14168 (hide): Don't change selection. Also hide the desktopIcon.
14169 (moveToBack): Call getParent() only once.
14170 (moveToFront): Call getParent() only once.
14171 (pack): Call validate() to make sure that the layout is
14172 propagated to the children.
14173 (setClosed): Fire InternalFrameEvent first, before the
14174 PropertyVetoEvent.
14175 (setJMenuBar): Fire PropertyChangeEvent for this property.
14176 (setLayer): Delegate to JLayeredPane.
14177 (setLayeredPane): Check for null and throw IllegalArgumenException.
14178 (setMaximum): Remove handling of maxTransition and normalBounds.
14179 Should probably be done in the UI.
14180 (setNormalBounds): Store Rectangle object directly, not a copy.
14181 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14182 adding the RootPane doesn't add it to the contentPane.
14183 Fire PropertyChangeEvent.
14184 (setSelected): Added condition for when this property must not
14185 be changed.
14186 (show): Don't ask the DesktopPane to select the frame. Moved
14187 code around to fire InternalFrameEvent before actually calling
14188 super.show(). Also make the desktopIcon visible.
14189 (setTitle): Fire PropertyChangeEvent unconditionally.
14190
14191 2006-06-23 Roman Kennke <kennke@aicas.com>
14192
14193 * javax/swing/JLayeredPane.java
14194 (getPosition): Moved code around to avoid unnecessary method calls.
14195 (setPosition): Delegate to setLayer().
14196 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14197 (insertIndexForLayer(Component,int,int)): New helper method
14198 to support the use of setComponentZOrder() which doesn't remove
14199 the component and thus the insertIndexForLayer must ignore
14200 the component to be moved to get the index right.
14201 (setLayer): Added check to prevent unnecessary execution of
14202 method body. Changed to update the component order here.
14203 Added repaint() to make sure that the update becomes visible.
14204 (addImpl): Call setLayer() only when a constraint has been specified.
14205 Validate and repaint the JLayeredPane.
14206
14207 2006-06-23 Roman Kennke <kennke@aicas.com>
14208
14209 * java/awt/Container.java
14210 (getComponentZOrder): Use ncomponents instead of
14211 component.length so that we don't consider the empty space
14212 after the last component.
14213
14214 2006-06-22 Roman Kennke <kennke@aicas.com>
14215
14216 * javax/swing/JComponent.java
14217 (vetoableChangeSupport): New field.
14218 (removeVetoableChangeListener): Rewritten to use
14219 vetoableChangeSupport.
14220 (addVetoableChangeListener): Rewritten to use
14221 vetoableChangeSupport.
14222 (fireVetoableChange): Rewritten to use
14223 vetoableChangeSupport.
14224 (addPropertyChangeListener): Removed. This is handled in
14225 Component already.
14226 (firePropertyChange(String,boolean,boolean)): Likewise.
14227 (firePropertyChange(String,char,char)): Likewise.
14228 (firePropertyChange(String,int,int)): Likewise.
14229 (revalidate): Don't do anything when the commponent has no
14230 parent.
14231
14232 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14233
14234 * javax/swing/JLabel.java: Updated API docs.
14235
14236 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14237
14238 * java/awt/Insets.java: Updated copyright year.
14239 (toString): Changed string, removed a line from the
14240 documentation.
14241
14242 2006-06-22 Roman Kennke <kennke@aicas.com>
14243
14244 * javax/swing/text/AbstractDocument.java
14245 (AbstractDocument): Set the i18n document property.
14246 (removeImpl): Added checks for correct boundaries.
14247
14248 2006-06-22 Roman Kennke <kennke@aicas.com>
14249
14250 * javax/swing/text/PlainDocument.java
14251 (rootElement): Changed type to Element.
14252 (tabSize): Removed field. This is stored in the document properties
14253 instead.
14254 (PlainDocument): Set tabSize property. Init rootElement without
14255 cast.
14256 (insertUpdate): Rewritten. The previous implementation did not
14257 handle some corner cases properly and was a mess.
14258 (removeUpdate): Cast rootElement to BranchElement.
14259
14260 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14261
14262 * javax/swing/plaf/basic/BasicLabelUI.java
14263 (installKeyboardActions): Implemented,
14264 (uninstallKeyboardActions): Implemented,
14265 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14266 properties.
14267
14268 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14269
14270 * javax/swing/JMenu.java:
14271 (removeAll): Added check for popupMenu not being null.
14272
14273 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14274
14275 * javax/swing/JLabel.java
14276 (getText): Updated API docs,
14277 (setText): Corrected the check for an unchanged value, and the update
14278 of the displayedMnemonicIndex.
14279
14280 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14281
14282 * javax/swing/JLabel.java
14283 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14284 field,
14285 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14286 where label text is null.
14287
14288 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14289
14290 * javax/swing/JLabel.java
14291 (setDisplayedMnemonic): Updated API docs,
14292 (getDisplayedMnemonic): Removed unnecessary type-cast,
14293 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14294 (getDisplayedMnemonicIndex): Updated API docs.
14295
14296 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14297
14298 * java/util/Collections (entrySet): Fixed compile error.
14299
14300 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14301
14302 * javax/swing/DefaultListSelectionModel.java
14303 (getSelectionMode): Updated API docs,
14304 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14305 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14306 setSelectionInterval(),
14307 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14308 SINGLE_INTERVAL_SELECTION cases.
14309
14310 2006-06-21 Roman Kennke <kennke@aicas.com>
14311
14312 * javax/swing/text/AbstractDocument.java
14313 (BranchElement.numChildren): New field.
14314 (BranchElement.BranchElement): Initialize children array with
14315 one element (that's the least number of elements that makes sense).
14316 Initialize numChildren.
14317 (BranchElement.children): Use numChildren as boundary.
14318 (BranchElement.getElement): Use numChildren as boundary.
14319 (BranchElement.getElementCount): Use numChildren as boundary.
14320 (BranchElement.getElementIndex): Use numChildren as boundary.
14321 (BranchElement.getEndOffset): Use numChildren as boundary.
14322 (BranchElement.getStartOffset): Use numChildren as boundary.
14323 (BranchElement.positionToElement): Use numChildren as boundary.
14324 (BranchElement.replace): Handle the children array more efficiently
14325 by growing in blocks > 1, and reusing space from removed elements.
14326 (LeafElement.startDelta): Removed.
14327 (LeafElement.endDelta): Removed.
14328 (LeafElement.LeafElement): Removed handling of deltas.
14329 (LeafElement.getEndOffset): Likewise.
14330 (LeafElement.getStartOffset): Likewise.
14331 * javax/swing/text/JTextComponent.java
14332 (setDocument): Added locking of the old document to avoid dangling
14333 notification beeing delivered while the document is beeing
14334 disconnected.
14335 (getScrollableTracksViewportWidth): Fixed condition.
14336 * javax/swing/text/PlainDocument.java
14337 (createDefaultRoot): Create elements without AttributeSet.
14338 * javax/swing/text/rtf/RTFParser.java
14339 (parseFile): Handle slightly incorrect RTF gracefully.
14340 * javax/swing/text/rtf/RTFScanner.java
14341 (lastToken): New field.
14342 (readTokenImpl): New method.
14343 (peekToken): New method.
14344 (readToken): Changed to call readTokenImpl or return the lastToken
14345 if there's one present.
14346
14347 2006-06-21 Tania Bento <tbento@redhat.com>
14348
14349 * javax/swing/JMenu.java
14350 (remove): An IllegalArgumentException should be thrown if
14351 either index < 0 or if index > 0 and there are no menu
14352 components. Also, a check was added that ensures there are
14353 menu components before removing the desired the component.
14354
14355 2006-06-21 Lillian Angel <langel@redhat.com>
14356
14357 * javax/swing/text/DefaultCaret.java
14358 (install): Added check to prevent NPE.
14359 (propertyChange): Added checks to prevent NPEs.
14360
14361 2006-06-21 Tania Bento <tbento@redhat.com>
14362
14363 * javax/swing/JMenu.java
14364 Changed instantiation of popupMenu to null.
14365 (JMenu): Instantiated popupMenu to new JPopupMenu.
14366 (JMenu): Instantiated popupMenu to new JPopupMenu.
14367 (add): Changed popupMenu to getPopupMenu().
14368 (add): Changed popupMenu to getPopupMenu().
14369 (add): Changed popupMenu to getPopupMenu().
14370 (add): Changed popupMenu to getPopupMenu().
14371 (remove): Changed popupMenu to getPopupMenu().
14372 (remove): Changed popupMenu to getPopupMenu().
14373 (insert): Changed popupMenu to getPopupMenu().
14374 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14375 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14376 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14377 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14378 (getMenuComponents): Changed popupMenu to getPopupMenu().
14379 (getPopupMenu): Check first if popupMenu is null and if so,
14380 instantiate it to a new JPopupMenu and set the invoker.
14381 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14382 (popupMenuWillBecomeVisible): Component Listener should only
14383 be added to the root container if the root container is not
14384 null. This avoids a null pointer exception.
14385
14386 2006-06-21 Tania Bento <tbento@redhat.com>
14387
14388 * javax/swing/JMenu.java
14389 (JMenu): Delay should be set to 200, not default of 0.
14390 (JMenu): Delay should be set to 200, not default of 0.
14391 (JMenu): Delay should be set to 200, not default of 0.
14392 (JMenu): Delay should be set to 200, not default of 0.
14393 (remove): Added check that index >= 0 before removing
14394 the component.
14395 (getItem): Return null if item count equals 0.
14396 (isTearOff): Should throw new error and not return false.
14397 (getMenuComponent): Return null if popupMenu is null or
14398 if there are no menu components.
14399
14400 2006-06-21 Roman Kennke <kennke@aicas.com>
14401
14402 * java/awt/font/FontRenderContext.java:
14403 (equals): Added special conditions for affineTransform beeing
14404 null.
14405
14406 2006-06-21 Roman Kennke <kennke@aicas.com>
14407
14408 * javax/swing/UIManager.java
14409 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14410 must not be cleared.
14411
14412 2006-06-21 Roman Kennke <kennke@aicas.com>
14413
14414 * javax/swing/plaf/metal/MetalUtils.java
14415 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14416 Graphics2D is available. Use fillRect instead of drawLine, this
14417 is much faster.
14418 (paintVerticalGradient): Use paintHorizontalGradient2D when
14419 Graphics2D is available. Use fillRect instead of drawLine, this
14420 is much faster.
14421 (paintHorizontalGradient2D): New method. Paints gradient
14422 using Graphics2D functions.
14423 (paintVerticalGradient2D): New method. Paints gradient
14424 using Graphics2D functions.
14425
14426 2006-06-21 Roman Kennke <kennke@aicas.com>
14427
14428 * javax/swing/plaf/basic/BasicButtonListener.java
14429 (propertyChange): Create a TextLayout and store it in the button
14430 when the 'text' property changes.
14431 * javax/swing/plaf/basic/BasicButtonUI.java
14432 (paintText): Call BasicGraphicsUtils utility method for
14433 drawing strings, instead of Graphics.drawString().
14434 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14435 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14436 cached text layouts as client properties in JComponents.
14437 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14438 (drawStringUnderlineCharAt): New helper method.
14439 * javax/swing/plaf/basic/BasicMenuItemUI.java
14440 (PropertyChangeHandler.propertyChange): Update cached text layout
14441 when 'text' property changes. Use equals() instead of == for
14442 string comparison.
14443 (paintText): Use new BasicGraphicsUtils methods for painting
14444 the cached text layout.
14445 (installListeners): Call super.installListeners() and remove
14446 the unneeded listener installs.
14447 (uninstallListeners): Call super.uninstallListeners() and remove
14448 the unneeded listener uninstalls.
14449
14450 2006-06-21 Roman Kennke <kennke@aicas.com>
14451
14452 * javax/swing/plaf/basic/BasicTextUI.java
14453 (PropertyChangeHandler.propertyChange): Handle document listener
14454 update here.
14455 (background): Removed unneeded fields.
14456 (inactiveBackground): Remove unneeded fields.
14457 (installUI): Install the document listener. Slightly changed
14458 order of operations. Don't trigger modelChanged().
14459 (installDefaults): Only install properties when the
14460 current properties are null or instances of UIResource.
14461 (installListeners): Removed unnecessary listener installs.
14462 (installDocumentListeners): Removed unneeded method.
14463 (uninstallListeners): Removed unnecessary listener uninstalls.
14464 (modelChanged): Removed call to installDocumentListeners().
14465 * javax/swing/plaf/basic/BasicTextFieldUI.java
14466 (propertyChange): Update the colors by fetching them from
14467 SharedUIDefaults. Fixed conditions.
14468 * javax/swing/plaf/basic/SharedUIDefaults.java
14469 (getColor): New method.
14470
14471 2006-06-21 Roman Kennke <kennke@aicas.com>
14472
14473 * javax/swing/SizeSequence.java
14474 (SizeSequence): Initialize array with correct number of entries.
14475
14476 2006-06-21 Roman Kennke <kennke@aicas.com>
14477
14478 * javax/swing/JSplitPane.java
14479 (setDividerLocation): Substract divider size when computing
14480 the absolute size.
14481
14482 2006-06-21 Roman Kennke <kennke@aicas.com>
14483
14484 * javax/swing/JComponent.java
14485 (paintChildrenWithOverlap): Determine opaque property by
14486 calling the corresponding Component method, without requiring
14487 a JComponent.
14488 (paintChildrenOptimized): Removed old unneeded code.
14489 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14490 method instead of SwingUtilities.convertRectangle(). This is
14491 more efficient.
14492
14493 2006-06-21 Roman Kennke <kennke@aicas.com>
14494
14495 * javax/swing/AbstractButton.java
14496 (init): Call setText() instead of setting the property directly,
14497 so that listeners (especially in the UI) get notified.
14498
14499 2006-06-21 Roman Kennke <kennke@aicas.com>
14500
14501 * javax/swing/UIManager.java
14502 (MultiplexUIDefaults): New inner class.
14503 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14504 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14505 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14506 directly. Print stacktrace if something goes wrong.
14507 (get): Delegate call to currentUIDefaults.
14508 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14509 it.
14510 (getUI): Delegate call to currentUIDefaults.
14511 (put): Delegate call to currentUIDefaults.
14512 (setLookAndFeel): Initialize currentUIDefaults with
14513 MultiplexUIDefaults. Set lookAndFeelDefaults.
14514 (setLookAndFeel): Use current thread's context classloader for
14515 loading the L&F.
14516
14517 2006-06-21 Roman Kennke <kennke@aicas.com>
14518
14519 * javax/swing/text/GapContent.java
14520 (GapContentPosition.GapContentPosition): Replace
14521 Collections.binarySearch with call to local search() to make
14522 sure we find the first object that equals the searched object.
14523 (setPositionsInRange): Likewise.
14524 (adjustPositionsInRange): Likewise.
14525 (search): New helper method.
14526
14527 2006-06-21 Gary Benson <gbenson@redhat.com>
14528
14529 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14530 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14531 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14532
14533 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14534
14535 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14536 APPLETVIEWER_EXECUTABLE to gappletviewer.
14537
14538 2006-06-20 Tom Tromey <tromey@redhat.com>
14539
14540 PR classpath/28095:
14541 * java/net/URL.java (URL): Throw MalformedURLException if a
14542 RuntimeException is caught. Chain exceptions.
14543
14544 2006-06-20 Lillian Angel <langel@redhat.com>
14545
14546 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14547 (create): Added check to prevent Seg Fault. Should not
14548 set the label if it is null.
14549 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14550 (setText): Changed to be a non-native function. Calls
14551 setNativeText if the String parameter is non-null.
14552 (setNativeText): Replaces old native setText function.
14553 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14554 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14555 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14556 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14557 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14558 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14559
14560 2006-06-20 Lillian Angel <langel@redhat.com>
14561
14562 * javax/swing/text/JTextComponent.java
14563 (AccessibleJTextComponent): Rewrote all javadocs
14564 for this inner class.
14565
14566 2006-06-20 Francis Kung <fkung@redhat.com>
14567
14568 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14569 Changed many members to be protected.
14570 (J2dBenchmark): moved to init() instead.
14571 (init): New method.
14572 (main): Call init() after creating object
14573 (testComplete): New method.
14574 (test_drawArc): Use maxTests varialbe instead of constant.
14575 (test_drawCubicCurve): Likewise.
14576 (test_drawEllipse): Likewise.
14577 (test_drawGeneralPath): Likewise.
14578 (test_drawImage): Likewise.
14579 (test_drawLine): Likewise.
14580 (test_drawQuadCurve): Likewise.
14581 (test_drawRectangle): Likewise.
14582 (test_drawRoundRectangle): Likewise.
14583 (test_drawTransparentImage): Likewise.
14584 (test_fillArc): Likewise.
14585 (test_fillEllipse): Likewise.
14586 (test_fillGeneralPath): Likewise.
14587 (test_fillRectangle): Likewise.
14588 (test_fillRoundRectangle): Likewise.
14589 (GraphicsTest.runSetNoClipping): Added runCount parameter.
14590 (GraphicsTest.runSetWithClipping): Likewise.
14591 (GraphicsTest.runSetZeroClipping): Likewise.
14592 (GraphicsTest.run): Added checks for more option flags.
14593 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14594 New file.
14595
14596 2006-06-20 Roman Kennke <kennke@aicas.com>
14597
14598 * javax/swing/text/GapContent.java
14599 (GapContentPosition.mark): New field.
14600 (GapContentPosition.index): Removed.
14601 (GapContentPosition.GapContentPosition): Changed to take the
14602 real offset as parameter. Added handling of reference counter.
14603 Try to cleanup before creating new instances.
14604 (getOffset): Delegate to the Mark method with same name.
14605 (Mark): New class, encapsulating a mark.
14606 (positionMarks): Removed field.
14607 (numMarks): Removed field.
14608 (marks): New field.
14609 (queueOfDeath): New field.
14610 (GapContent): Removed init of old fields, added init of new fields.
14611 (createPosition): Added check for validity of arguments.
14612 Create GapContentPosition directly with offset.
14613 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14614 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14615 (shiftGapStartDown): Call resetMarksAtZero().
14616 (shiftGapEndUp): Call resetMarksAtZero().
14617 (replace): Don't call resetMarksAtZero().
14618 (setPositionInRange): Replaced by simpler algorithm, similar to
14619 adjustPositionsInRange.
14620 (adjustPositionsInRange): Adapted to use of Mark objects.
14621 (resetMarksAtZero): Reset all marks that point to zero instead
14622 of only the first one.
14623 (dumpMarks): Adjusted to dump Mark objects.
14624 (insertMark): Removed.
14625 (garbageCollect): New method. Cleans up the marks list.
14626 (binarySearch): Removed.
14627
14628 2006-06-20 Lillian Angel <langel@redhat.com>
14629
14630 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14631 (drawImage): Added call to updateColor because
14632 Cairo seems to lose the current color.
14633
14634 2006-06-20 Gary Benson <gbenson@redhat.com>
14635
14636 * java/awt/Toolkit.java: Add security check.
14637 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
14638 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
14639
14640 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
14641
14642 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
14643 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14644 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14645 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
14646 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
14647 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14648 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
14649 * gnu/java/security/key/dss/FIPS186.java: Likewise.
14650 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
14651 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14652 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
14653 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14654 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14655 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
14656 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14657 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
14658 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
14659 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
14660 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
14661
14662 2006-06-19 Lillian Angel <langel@redhat.com>
14663
14664 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14665 (drawImage): Should always use getRGB to get the pixels.
14666 getData returns an incorrect array of pixels.
14667
14668 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14669
14670 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
14671 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
14672 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
14673 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
14674 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
14675 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
14676 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
14677 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
14678 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
14679 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
14680 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
14681 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
14682 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
14683 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
14684 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
14685 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
14686 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
14687 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
14688 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
14689 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
14690 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
14691 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
14692 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
14693 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
14694 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
14695 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
14696 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
14697 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
14698 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
14699 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
14700 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14701 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
14702 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
14703 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14704 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
14705 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14706
14707 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14708
14709 * NEWS: Updated (delayed) for security tools and tools.texinfo.
14710
14711 2006-06-19 Roman Kennke <kennke@aicas.com>
14712
14713 * gnu/java/awt/peer/gtk/ComponentGraphics.java
14714 (drawImage): Clip volatile image correctly.
14715 (drawVolatileImage): Added arguments for clipping.
14716 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
14717 (drawVolatileImage): Added arguments for clipping. Clip image
14718 correctly.
14719 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
14720
14721 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14722
14723 PR 28035
14724 * java/rmi/server/UID.java (constructor): Synchronized
14725 the whole constructor on the UID class.
14726
14727 2006-06-19 Roman Kennke <kennke@aicas.com>
14728
14729 * javax/swing/RepaintManager.java
14730 (addInvalidComponent): Only add component that are displayable,
14731 that have displayable parents and that have a validateRoot.
14732 Also, don't validate components that have a CellRendererPane
14733 ancestor.
14734
14735 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
14736
14737 * javax/swing/plaf/IconUIResource.java
14738 (IconUIResource): Throw IllegalArgumentException for null icon.
14739
14740 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14741
14742 PR 28035
14743 * java/rmi/server/UID.java (constructor): First increment
14744 uidCounter, and then use the value.
14745
14746 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
14747
14748 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14749 * java/awt/GridBagConstraints.java: Indent.
14750
14751 2006-06-18 Tom Tromey <tromey@redhat.com>
14752
14753 * native/jni/gconf-peer/.cvsignore: New file.
14754
14755 2006-06-18 Tom Tromey <tromey@redhat.com>
14756
14757 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
14758 Also handle short options.
14759
14760 2006-06-18 Jim Huang <jserv@kaffe.org>
14761
14762 PR classpath/28076:
14763 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
14764 Fixed typo.
14765
14766 2006-06-19 Mark Wielaard <mark@klomp.org>
14767
14768 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
14769 on gnu/java/util/prefs/gconf/%.class.
14770 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
14771 chache typo, should be cache.
14772 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
14773 Declare tmp early.
14774 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
14775 Likewise.
14776 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
14777 Don't return a value for void function.
14778 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
14779 Likewise.
14780 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
14781 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
14782 function.
14783 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
14784 Mark clazz ad unused.
14785
14786 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14787
14788 * gnu/java/security/hash/Whirlpool.java: Source formatting.
14789 * gnu/java/security/hash/Tiger.java: Likewise.
14790 * gnu/java/security/hash/Sha512.java: Likewise.
14791 * gnu/java/security/hash/Sha384.java: Likewise.
14792 * gnu/java/security/hash/Sha256.java: Likewise.
14793 * gnu/java/security/hash/Sha160.java: Likewise.
14794 * gnu/java/security/hash/RipeMD160.java: Likewise.
14795 * gnu/java/security/hash/RipeMD128.java: Likewise.
14796 * gnu/java/security/hash/MD5.java: Likewise.
14797 * gnu/java/security/hash/MD4.java: Likewise.
14798 * gnu/java/security/hash/MD2.java: Likewise.
14799 * gnu/java/security/hash/IMessageDigest.java: Likewise.
14800 * gnu/java/security/hash/Haval.java: Likewise.
14801 * gnu/java/security/hash/HashFactory.java: Likewise.
14802 * gnu/java/security/hash/BaseHash.java: Likewise.
14803
14804 2006-06-18 Sven de Marothy <sven@physto.se>
14805
14806 * java/awt/event/KeyEvent.java:
14807 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
14808 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
14809 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
14810
14811 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14812
14813 * gnu/java/security/util/Prime2.java: Removed.
14814 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
14815 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14816 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
14817 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
14818 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
14819 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14820 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
14821 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
14822 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
14823 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14824 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
14825 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
14826
14827 2006-06-18 Sven de Marothy <sven@physto.se>
14828
14829 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14830 * java/awt/font/TextMeasurer.java: Fix copyright date,
14831 remove commented-out code.
14832
14833 2006-06-18 Sven de Marothy <sven@physto.se>
14834
14835 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
14836 (FreetypeGlyphVector, clone): Implement cloning.
14837 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
14838 * java/awt/font/TextMeasurer.java: Implement.
14839 * java/awt/font/LineBreakMeasurer.java:
14840 Reimplement to use TextMeasurer.
14841 * java/awt/font/TextLayout.java
14842 New constructors.
14843 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
14844 (getText, getFont): New private static methods.
14845 (setCharIndices): New method.
14846 * java/text/AttributedString.java
14847 (AttributedString): Fix constructor to stop at end point.
14848
14849 2006-06-17 Tom Tromey <tromey@redhat.com>
14850
14851 * lib/gen-classlist.sh.in: Search all top-level directories, not
14852 just 'org', in external.
14853
14854 2006-06-12 Mario torre <neugens at limasoftware.net>
14855
14856 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
14857 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
14858 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
14859 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
14860 header file.
14861 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
14862 * configure.ac: update to introduce new files. Added options
14863 to build gconf native peer used by the GConf preference backend.
14864 * include/Makefile.am: update to introduce new files.
14865 * native/jni/Makefile.am update to introduce new files.
14866 * scripts/check_jni_methods.sh: added three new ignored file
14867 from check.
14868 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
14869 build gconf-peer shared library.
14870
14871 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
14872
14873 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
14874 Use Integer.valueOf() instead of new Integer().
14875 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14876 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14877 * gnu/java/security/util/Sequence.java: Likewise.
14878 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
14879 * gnu/java/security/x509/X509Certificate.java: Likewise.
14880 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14881 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14882 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14883 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14884 * gnu/javax/crypto/cipher/DES.java: Likewise.
14885 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14886 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14887 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14888 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14889 * gnu/javax/crypto/cipher/Square.java: Likewise.
14890 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14891 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14892 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14893 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14894 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14895 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
14896 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14897 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14898 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
14899 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
14900 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
14901 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14902 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14903 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
14904 * gnu/javax/crypto/mac/UHash32.java: Likewise.
14905 * gnu/javax/crypto/mac/UMac32.java: Likewise.
14906 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
14907 * gnu/javax/crypto/mode/EAX.java: Likewise.
14908 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
14909 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
14910 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
14911 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
14912 * java/security/cert/X509CertSelector.java: Likewise.
14913
14914 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
14915
14916 * javax/management/DynamicMBean.java:
14917 (setAttribute): Fixed to return void.
14918 * javax/management/MBeanFeatureInfo.java:
14919 New file.
14920
14921 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
14922
14923 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
14924 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
14925 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
14926 into engineInitHandler and reuse the code in
14927 engineInit(int, Key, AlgorithmSpec, SecureRandom).
14928 (engineInitHandler): New method.
14929 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
14930 null, use random or default information when possible.
14931
14932 2006-06-16 Francis Kung <fkung@redhat.com>
14933
14934 * examples/gnu/classpath/examples/swing/Demo.java:
14935 (mkButtonBar): Rename FillRect to JNIOverhead.
14936 (mkMenuBar): Rename FillRect to JNIOverhead.
14937 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
14938 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
14939 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
14940 Moved from old FillRect.
14941
14942 2006-06-16 Tom Tromey <tromey@redhat.com>
14943
14944 * tools/.cvsignore: Added new tool names.
14945
14946 2006-06-16 Keith Seitz <keiths@redhat.com>
14947
14948 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
14949 instantiation so that EventManager is created when getDefault
14950 is first called.
14951 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
14952 of EventManager.
14953
14954 2006-06-16 Keith Seitz <keiths@redhat.com>
14955
14956 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
14957 (_initCount): New field.
14958 (Jdwp): Don't set isDebugging until fully initialized.
14959 (subcomponentInitialized): New method.
14960 (run): Wait for PacketProcessor and JdwpConnection to
14961 startup, then set isDebugging, and then let this thread
14962 die.
14963 * gnu/classpath/jdwp/transport/JdwpConnection.java
14964 (run): Add synchronization notification.
14965 * gnu/classpath/jdwp/processor/PacketProcessor.java
14966 (run): Likewise.
14967
14968 2006-06-16 Tom Tromey <tromey@redhat.com>
14969
14970 * NEWS: Updated for JSR 166.
14971
14972 2006-06-16 Tom Tromey <tromey@redhat.com>
14973
14974 * lib/Makefile.am (compile_classpath): Added jsr166.
14975 * configure.ac: Added external/jsr166/Makefile.
14976 * external/Makefile.am (SUBDIRS): Added jsr166.
14977 * external/jsr166/Makefile.am: New file.
14978 * lib/gen-classlist.sh.in: Look in external/jsr166.
14979
14980 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
14981
14982 * gnu/classpath/jdwp/event/ExceptionEvent:
14983 Added Object instance to javadoc in constructor
14984 * gnu/classpath/jdwp/event/MethodEntryEvent:
14985 Ditto.
14986 * gnu/classpath/jdwp/event/MethodExitEvent:
14987 Ditto,
14988 * gnu/classpath/jdwp/event/SingleStepEvent:
14989 Ditto.
14990
14991 2006-06-16 Tom Tromey <tromey@redhat.com>
14992
14993 Imported JSR 166 reference implementation:
14994 * .classpath: Added external/jsr166.
14995 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
14996 * java/util/AbstractQueue.java: Removed.
14997 * java/util/Queue.java: Removed.
14998 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
14999 (runPeriodic): Added explicit cast.
15000 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15001 elements.clone.
15002
15003 2006-06-16 Tom Tromey <tromey@redhat.com>
15004
15005 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15006 Removed.
15007 (getCallerClass): Now static.
15008 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15009
15010 2006-06-16 Lillian Angel <langel@redhat.com>
15011
15012 * java/awt/FileDialog.java
15013 (FileDialog): Added @since tag to API docs.
15014 (FileDialog): Likewise.
15015 (FileDialog): Likewise.
15016 * java/awt/Font.java:
15017 Added @since tag to TYPE1_FONT field docs.
15018 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15019 (isThumbRollover): Likewise.
15020 (setThumbRollover): Likewise.
15021 (getSupportsAbsolutePositioning): Likewise.
15022 * javax/swing/plaf/basic/BasicSliderUI.java:
15023 (isDragging): Likewise.
15024
15025 2006-06-16 Lillian Angel <langel@redhat.com>
15026
15027 * java/awt/FileDialog.java
15028 (FileDialog): Implemented.
15029 (FileDialog): Implemented.
15030 (FileDialog): Implemented.
15031 * java/awt/Font.java:
15032 Added TYPE1_FONT constant field.
15033
15034 2006-06-16 Lillian Angel <langel@redhat.com>
15035
15036 * java/awt/font/TextLayout.java:
15037 Removed unneeded imports.
15038 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15039 Added new thumbRollover field.
15040 (mouseMoved): Added code to set thumbRollover field.
15041 (isThumbRollover): New function.
15042 (setThumbRollover): New function.
15043 (getSupportsAbsolutePositioning): Implemented. This
15044 needs to be changed once the feature has been
15045 implemented.
15046 * javax/swing/plaf/basic/BasicSliderUI.java:
15047 Added new dragging field.
15048 (mouseDragged): Initialized dragging field.
15049 (isDragging): New function.
15050 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15051 (focusGained): Marked as not implemented.
15052 (focusLost): Likewise.
15053
15054 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15055
15056 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15057 Added check for null ThreadId to avoid null pointer
15058 exception.
15059
15060 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15061
15062 * javax/swing/DefaultComboBoxModel.java
15063 (removeElementAt): Set new selected item by calling setSelectedItem().
15064
15065 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15066
15067 * javax/swing/DefaultButtonModel.java
15068 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15069
15070 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15071
15072 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15073 (ListDataEvent): Handle case where index0 > index1,
15074 (toString): Implemented.
15075
15076 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15077
15078 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15079 (update): Added subexpression to if-statement.
15080
15081 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15082
15083 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15084 (installDefaults): Removed unneccessary code.
15085 (paint): Removed complex if-cascade, revert to default icon if
15086 icon property is not set.
15087 (getPreferredSize): New method.
15088
15089 2006-06-16 Roman Kennke <kennke@aicas.com>
15090
15091 PR 28027
15092 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15093 (drawImage): Don't use setClip() but instead clipRect() to
15094 intersect the current clip with a new one.
15095
15096 2006-06-15 Tom Tromey <tromey@redhat.com>
15097
15098 * scripts/sanitize-jsr166: New file.
15099 * external/jsr166/IMPORTING: New file.
15100 * vm/reference/sun/reflect/Reflection.java: New file.
15101 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15102 * vm/reference/sun/misc/Unsafe.java: ...here.
15103
15104 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15105
15106 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15107 gjarsigner and keytool to gkeytool.
15108 * doc/tools.texinfo: Add note about tool exectable names.
15109 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15110 jarsigner to gjarsigner and keytool to gkeytool.
15111 * tools/appletviewer.in: Rename ...
15112 * tools/gappletviewer.in: New file.
15113 * tools/jarsigner.in: Rename ...
15114 * tools/gjarsigner.in: New file.
15115 * tools/keytool.in: Rename ...
15116 * tools/gkeytool.in: New file.
15117 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15118
15119 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15120
15121 * javax/management/AttributeList.java:
15122 Add serialization UID.
15123 * javax/management/DynamicMBean.java:
15124 New file.
15125 * javax/management/JMRuntimeException.java:
15126 Add serialization UID and correct name
15127 of serialized field.
15128 * javax/management/MBeanInfo.java: New file.
15129
15130 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15131
15132 * javax/management/AttributeList.java,
15133 * javax/management/JMRuntimeException.java,
15134 * javax/management/RuntimeOperationsException.java:
15135 New files.
15136
15137 2006-06-15 Lillian Angel <langel@redhat.com>
15138
15139 * java/awt/font/TextLayout.java:
15140 DEFAULT_CARET_POLICY changed to be public static final.
15141
15142 2006-06-15 Tania Bento <tbento@redhat.com>
15143
15144 * javax/swing/plaf/metal/MetalScrollButton.java
15145 (MetalScrollButton): Should set 'focusable' to false.
15146
15147 2006-06-15 Tania Bento <tbento@redhat.com>
15148
15149 * javax/swing/plaf/basic/BasicArrowButton.java
15150 (BasicArrowButton): Should set 'focusable' to false.
15151 (BasicArrowButton): Should set 'focusable' to false.
15152
15153 2006-06-15 Mark Wielaard <mark@klomp.org>
15154
15155 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15156 (getGraphicsConfiguration): Return default screen device.
15157 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15158 New field.
15159 (GtkVolatileImage): Record initiating component.
15160 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15161 (getDeviceConfiguration): Return configuration of image component.
15162
15163 2006-06-15 Mark Wielaard <mark@klomp.org>
15164
15165 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15166 closed.
15167
15168 2006-06-15 Mark Wielaard <mark@klomp.org>
15169
15170 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15171 with null argument.
15172
15173 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15174
15175 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15176 (matches): Added explicit brackets to return statement.
15177
15178 2006-06-15 Tania Bento <tbento@redhat.com>
15179
15180 * javax/swing/JRadioButtonMenuItem.java
15181 (JRadioButtonMenuItem): Should set 'focusable' to false.
15182
15183 2006-06-15 Tania Bento <tbento@redhat.com>
15184
15185 * javax/swing/JCheckBoxMenuItem.java
15186 (JCheckBoxMenuItem): Should set 'focusable' to false.
15187
15188 2006-06-15 Tania Bento <tbento@redhat.com>
15189
15190 * javax/swing/AbstractButton.java:
15191 (AbstractButton): 'Focusable' should be set to true and not false.
15192
15193 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15194
15195 * java/lang/management/ManagementFactory.java:
15196 Add private constructor to prevent instance creation.
15197 * java/lang/management/ManagementPermission.java:
15198 Make final.
15199
15200 2006-06-15 Francis Kung <fkung@redhat.com>
15201
15202 * javax/swing/plaf/basic/BasicArrowButton.java:
15203 (BasicArrowButton): move client property for not triggering out
15204 of consturctor
15205 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15206 (configureArrowButton): set client property for not triggering
15207 (installUI): set client property for not triggering
15208 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15209 (PopupHelper.mousePressed): check client property for triggering
15210
15211 2006-06-15 Roman Kennke <kennke@aicas.com>
15212
15213 PR 28037
15214 * javax/swing/RepaintManager.java
15215 (blitBuffer): Substract coordinates the other way around.
15216
15217 2006-06-15 Roman Kennke <kennke@aicas.com>
15218
15219 PR 28027
15220 * javax/swing/JComponent.java
15221 (paintImmediately2): Only paint component without double buffering
15222 when all of it's parents have also double buffering disabled.
15223 (isPaintingDoubleBuffered): New helper method.
15224
15225 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15226
15227 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15228 (draw(Shape)): Pass null transform to getPathIterator(),
15229 (getClip): Likewise,
15230 * gnu/java/print/PostscriptGraphics2D.java
15231 (drawStringShape): Pass null transform to getPathIterator(),
15232 (writeShape): Likewise,
15233 * java/awt/Shape.java: Small updates to API docs.
15234
15235 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15236
15237 * javax/naming/InitialContext.java:
15238 (list(javax.naming.Name)): Fixed generic type.
15239 (list(String)): Likewise.
15240 (listBindings(javax.naming.Name)): Likewise.
15241 (listBindings(String)): Likewise.
15242
15243 2006-06-14 Roman Kennke <kennke@aicas.com>
15244
15245 * javax/swing/plaf/basic/BasicComboBoxUI.java
15246 (getAccessibleChildrenCount): Implemented.
15247 (getAccessibleChild): Implemented.
15248 (isNavigationKey): Implemented.
15249 (KeyHandler.keyPressed): Implemented.
15250
15251 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15252
15253 * java/lang/management/ManagementPermission.java:
15254 Added serialization UID.
15255 * javax/management/Attribute.java: Likewise.
15256 * javax/management/MBeanException.java,
15257 * javax/management/ReflectionException.java:
15258 Added serialization UID and changed to extend
15259 javax.management.JMException.
15260
15261 2006-06-14 Lillian Angel <langel@redhat.com>
15262
15263 * java/awt/Component.java
15264 (ignoreOldMouseEvents): Made static.
15265 (translateEvent): Made static.
15266 * java/awt/TextComponent.java
15267 (ignoreOldMouseEvents): Made static.
15268
15269 2006-06-14 Mark Wielaard <mark@klomp.org>
15270
15271 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15272 call super.
15273 (drawRect): Likewise.
15274 (fillRect): Likewise.
15275
15276 2006-06-14 Lillian Angel <langel@redhat.com>
15277
15278 * java/awt/Component.java
15279 (ignoreOldMouseEvents): New helper function.
15280 (translateEvent): Changed to be non-static and use new helper.
15281 * java/awt/TextComponent.java
15282 (ignoreOldMouseEvents): New helper function.
15283
15284 2006-06-14 Roman Kennke <kennke@aicas.com>
15285
15286 * javax/swing/RepaintManager.java
15287 (MERGE_REGIONS): New constant flag.
15288 (commitBuffer): Exclude the merging of regions by default. This
15289 was causing painting artifacts in some applications, especially
15290 when different areas of the GUI are updated synchronously.
15291
15292 2006-06-14 Roman Kennke <kennke@aicas.com>
15293
15294 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15295 New file. This is a benchmark for AWT 1.1 style graphics operations.
15296 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15297 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15298
15299 2006-06-14 Tom Tromey <tromey@redhat.com>
15300
15301 * java/io/File.java (getParent): Javadoc fix.
15302
15303 2006-06-14 Tom Tromey <tromey@redhat.com>
15304
15305 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15306 jar.
15307 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15308 when index entry does not exist.
15309
15310 2006-06-14 Tania Bento <tbento@redhat.com>
15311
15312 * javax/swing/AbstractButton.java
15313 (AbstractButton): Set focusable to false, not true.
15314
15315 2006-06-14 Tania Bento <tbento@redhat.com>
15316
15317 * javax/swing/JMenuItem.java
15318 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15319
15320 2006-06-14 Tania Bento <tbento@redhat.com>
15321
15322 * javax/swing/JCheckBoxMenuItem.java
15323 (JCheckBoxMenuItem): Added check to set the selected state.
15324
15325 2006-06-14 Roman Kennke <kennke@aicas.com>
15326
15327 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15328 (cairoDrawLine): New native method.
15329 (cairoDrawRect): New native method.
15330 (cairoFillRect): New native method.
15331 (drawLine): Use special native method.
15332 (drawRect): Use special native method.
15333 (fillRect): Use special native method.
15334 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15335 (cairoDrawLine): New native method.
15336 (cairoDrawRect): New native method.
15337 (cairoFillRect): New native method.
15338 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15339
15340 2006-06-14 Mark Wielaard <mark@klomp.org>
15341
15342 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15343 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15344 cannot be allocated.
15345
15346 2006-06-14 Tom Tromey <tromey@redhat.com>
15347
15348 PR java/28024:
15349 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15350 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15351
15352 2006-06-14 Roman Kennke <kennke@aicas.com>
15353
15354 * javax/swing/JComponent.java
15355 (isRepainting): New flag.
15356 (paintImmediately2): Set isRepainting flag.
15357 (getRoot): Removed obsolete method.
15358 (paintDoubleBuffered): Differenciate between paint calls from
15359 RepaintManager and from AWT refresh. Call
15360 RepaintManager.commitBuffer with this and local coordinates.
15361 (findOpaqueParent): Stop searching at heavyweight component. These
15362 are always opaque.
15363 (paintChildrenOptimized): Don't paint heavyweight children. These
15364 should care for themselves.
15365 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15366 should care for themselves.
15367 * javax/swing/RepaintManager.java
15368 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15369 windows only.
15370 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15371 toplevel windows only.
15372 (getRoot): Removed obsolete method.
15373 (commitBuffer): Blit buffer on nearest heavyweight.
15374 (blitBuffer): New helper method.
15375 (getHeavyweightParent): New helper method.
15376 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15377 * javax/swing/SwingUtilities.java
15378 (convertRectangleToAncestor): New helper method.
15379
15380 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15381
15382 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15383 Condition all trace/debug code based on Configuration.DEBUG.
15384 Use logger instead of STDOUT and ot STDERR.
15385
15386 2006-06-13 Lillian Angel <langel@redhat.com>
15387
15388 * native/plugin/gcjwebplugin.cc
15389 (NP_Initialize): Removed code to create whitelist file.
15390 (GCJ_New): Added code to create whitelist file.
15391 (plugin_user_trusts_documentbase): Fixed error message.
15392
15393 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15394
15395 * javax/swing/plaf/metal/MetalIconFactory.java
15396 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15397 prevent overwriting border,
15398 (VerticalSliderThumbIcon.gradientMask): Likewise.
15399
15400 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15401
15402 * javax/management/AttributeNotFoundException.java,
15403 * javax/management/InvalidAttributeValueException.java,
15404 * javax/management/JMException.java,
15405 * javax/management/MBeanException.java,
15406 * javax/management/OperationsException.java,
15407 * javax/management/ReflectionException.java:
15408 New files.
15409
15410 2006-06-13 Roman Kennke <kennke@aicas.com>
15411
15412 * java/awt/Component.java
15413 (dispatchEvent): Handle events even when consumed (this might be
15414 picked up later in the dispatching chain).
15415 * javax/swing/plaf/basic/BasicLookAndFeel.java
15416 (PopupHelper.mousePressed): Don't consume event. Only close popup
15417 when target component isn't flagged as DONT_CANCEL_POPUP.
15418 (DONT_CANCEL_POPUP): New package private constant for flagging
15419 special components that don't trigger popup closing.
15420 * javax/swing/plaf/basic/BasicArrowButton.java
15421 (BasicArrowButton): Set client property for not triggering closing
15422 of popups.
15423
15424 2006-06-13 Lillian Angel <langel@redhat.com>
15425
15426 * java/awt/image/PixelGrabber.java
15427 (PixelGrabber): Added to API documentation.
15428
15429 2006-06-13 Keith Seitz <keiths@redhat.com>
15430
15431 From Kyle Galloway <kgallowa@redhat.com>:
15432 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15433 (ExceptionOnlyFilter): Allow null refId.
15434
15435 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15436 compatibility with filters.
15437 (getParameter): Modified to allow access to above.
15438
15439 2006-06-13 Sven de Marothy <sven@physto.se>
15440
15441 * gnu/java/awt/peer/gtk/CairoSurface.java
15442 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15443 (create): Use stride in ints.
15444
15445 2006-06-13 Keith Seitz <keiths@redhat.com>
15446
15447 From Kyle Galloway <kgallowa@redhat.com>:
15448 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15449
15450 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15451
15452 * javax/swing/plaf/basic/BasicSliderUI.java
15453 (calculateThumbSize): Removed unnecessary code,
15454 (calculateThumbLocation): Shift position by one,
15455 (calculateTickRect): Shift position by one when ticks are displayed,
15456 (calculateLabelRect): Calculate rect differently according to whether
15457 or not the labels are visible,
15458 (paintTrack): Shift track down one pixel.
15459
15460 2006-06-13 Lillian Angel <langel@redhat.com>
15461
15462 * java/awt/image/PixelGrabber.java
15463 (PixelGrabber): Removed check to throw exception. JDK does
15464 not do this.
15465 (startGrabbing): Removed line to print stacktrace.
15466
15467 2006-06-13 Mark Wielaard <mark@klomp.org>
15468
15469 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15470 allocate unused AffineTransform. Add comment about conversion to
15471 BufferedImage.
15472 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15473 Recognize identity transform as "easy". Always convert to
15474 BufferedImage before calling super.
15475
15476 2006-06-13 Roman Kennke <kennke@aicas.com>
15477
15478 * java/awt/Component.java
15479 (getGraphics): Translate child graphics correctly.
15480 (dispatchEvent): Only dispatch event if it hasn't been consumed
15481 yet by the global dispatcher.
15482 * javax/swing/plaf/basic/BasicLookAndFeel.java
15483 Added some API docs.
15484 (PopupHelper.mousePressed): Consume the event after closing
15485 opened menus.
15486
15487 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15488
15489 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15490 changes only,
15491 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15492 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15493 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15494 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15495 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15496 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15497 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15498 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15499 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15500 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15501 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15502 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15503 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15504 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15505 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15506 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15507
15508 2006-06-12 Sven de Marothy <sven@physto.se>
15509
15510 * java/awt/font/LineBreakMeasurer.java): Implement.
15511
15512 2006-06-12 Keith Seitz <keiths@redhat.com>
15513
15514 From Kyle Galloway <kgallowa@redhat.com>:
15515 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15516
15517 2006-06-12 Keith Seitz <keiths@redhat.com>
15518
15519 From Kyle Galloway <kgallowa@redhat.com>:
15520 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15521
15522 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15523
15524 2006-06-12 Roman Kennke <kennke@aicas.com>
15525
15526 * javax/swing/JComponent.java
15527 (paintDoubleBuffered): Correctly translate and clip the Graphics
15528 instance.
15529 (clipAndTranslateGraphics): New helper method.
15530
15531 2006-06-12 Roman Kennke <kennke@aicas.com>
15532
15533 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15534 (copy): Use getClip() to copy the clip. Make copied transform
15535 null when original transform is null. Set clip here.
15536 (setTransform): Correctly update the clip.
15537 (setTransformImpl): New method. Updates the actual transform for
15538 Cairo.
15539 (transform): Correctly update the clip.
15540 (translate): Correctly update the clip.
15541 (clip): Handle null clip and argument correctly.
15542 (clipRect): Avoid creating new Rectangle objects.
15543 (getClip): Get the correct copy of the clip.
15544 (setClip): Correctly handle null argument.
15545 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15546 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15547 be null or whatever has been set in copy().
15548 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15549 (drawImage): Add translation to the image coordinates.
15550 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15551 (VolatileImageGraphics): Don't set clip here. The clip can either
15552 be null or whatever has been set in copy().
15553
15554 2006-06-12 Keith Seitz <keiths@redhat.com>
15555
15556 From Kyle Galloway <kgallowa@redhat.com>:
15557 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15558 (forCaught): Removed unused/unnecessary method.
15559 (forUncaught): Likewise.
15560 (matches): Implement.
15561
15562 2006-06-12 Keith Seitz <keiths@redhat.com>
15563
15564 From Kyle Galloway <kgallowa@redhat.com>:
15565 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15566
15567 2006-06-12 Keith Seitz <keiths@redhat.com>
15568
15569 From Kyle Galloway <kgallowa@redhat.com>:
15570 * gnu/classpath/jdwp/event/Event.java: Added constants for
15571 type.
15572 (getParameter): Changed parameter type from Class to int.
15573 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15574 Changed from Class type to constants.
15575 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15576 Likewise.
15577 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15578 Likewise.
15579 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15580 Likewise.
15581 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15582 Likewise.
15583 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15584 Likewise.
15585 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15586 Likewise.
15587 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15588 Likewise.
15589 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15590 Likewise.
15591 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15592 Likewise.
15593
15594 2006-06-12 Lillian Angel <langel@redhat.com>
15595
15596 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15597 (StandaloneAppletWindow): Changed title of standalone window.
15598
15599 2006-06-12 Lillian Angel <langel@redhat.com>
15600
15601 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15602 (layoutContainer): Added missing selectedComponent assignment.
15603
15604 2006-06-12 Lillian Angel <langel@redhat.com>
15605
15606 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15607 (layoutContainer): Added check to prevent exception.
15608
15609 2006-06-12 Tom Tromey <tromey@redhat.com>
15610
15611 * java/lang/Thread.java (uncaughtException): Javadoc fix.
15612
15613 2006-06-12 Mark Wielaard <mark@klomp.org>
15614
15615 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15616 New static field.
15617 (ONE): Likewise.
15618 (lock): New method.
15619 (unlock): Likewise.
15620 (draw): Use lock() and unlock().
15621 (fill): Likewise.
15622 (drawRenderedImage): Likewise.
15623 (drawImage): Likewise.
15624 (drawGlyphVector): Likewise.
15625
15626 2006-06-12 Roman Kennke <kennke@aicas.com>
15627
15628 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15629 (drawPixels): Include alpha in parameter list.
15630 (cairoFill): Include alpha in parameter list.
15631 (setComposite): Don't modify the color.
15632 (draw(Shape))): Use fill when the current composite has an alpha
15633 of != 1.0, so that the stroked shaped will be composited.
15634 (fill(Shape)): Call cairoFill() with alpha.
15635 (drawImage): Call drawPixels or drawSurface with alpha.
15636 (drawGlyphVector): When composite alpha is != 1.0, render the
15637 outline using fill() to enable compositing for text.
15638 (drawRaster): Call drawPixels with alpha.
15639 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15640 (nativeDrawSurface): Include alpha in parameter list.
15641 (drawSurface): Include alpha in parameter list. Pass it to
15642 nativeDrawSurface().
15643 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
15644 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
15645 Regenerated.
15646 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15647 (drawPixels): Handle possible alpha for compositing.
15648 (cairoFill): Likewise.
15649 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15650 (nativeDrawSurface): Handle possible alpha for compositing.
15651
15652 2006-06-12 Mark Wielaard <mark@klomp.org>
15653
15654 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15655 Notify data when completely done. Wait for worker thread to finish.
15656 Rethrow any pending exceptions.
15657 (exception): New field.
15658 (run): Store pending exception.
15659
15660 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
15661
15662 * java/lang/management/ManagementPermission.java:
15663 New file.
15664
15665 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15666
15667 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
15668
15669 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15670
15671 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15672 Use String.charAt().
15673
15674 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
15675
15676 * doc/tools.texinfo
15677 (Applet Tools): New chapter.
15678 (appletviewer Tool): New section.
15679 (gcjwebplugin): New section.
15680
15681 2006-06-11 Mark Wielaard <mark@klomp.org>
15682
15683 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15684 Takes GdkPixbufWriter.
15685 (GdkPixbufWriter): Implements Runnable.
15686 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
15687 data processing.
15688 (DATADONE): New static final field.
15689 (data): New field.
15690 (write(byte[])): New method.
15691 (run): Likewise.
15692 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15693 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
15694 Get dataOutputWriteID from writeClass.
15695 (stream_save_request): Change stream field to writer.
15696 (save_to_stream): Remove FIXME, call writer.
15697 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
15698 Store writer.
15699
15700 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
15701
15702 * NEWS:
15703 Mention new VM interface and use of properties.
15704 * doc/vmintegration.texinfo:
15705 Update with new gnu.java.lang.management section.
15706 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
15707 New file.
15708 * java/lang/management/ManagementFactory.java:
15709 (getRuntimeMXBean()): Implemented.
15710 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
15711 New VM interface file.
15712
15713 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15714
15715 PR Classpath/26065
15716 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
15717 debug code based on Configuration.DEBUG.
15718 Use logger instead of STDOUT and ot STDERR.
15719 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
15720 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
15721 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
15722 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
15723 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
15724 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
15725 * gnu/javax/crypto/pad/TBC.java: Likewise.
15726 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
15727 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
15728 * gnu/javax/crypto/pad/BasePad.java: Likewise.
15729 * gnu/javax/crypto/mac/OMAC.java: Likewise.
15730 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15731 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15732 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
15733 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
15734 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
15735 * gnu/javax/crypto/keyring/Entry.java: Likewise.
15736 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
15737 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
15738 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15739 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15740 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15741 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15742 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15743 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15744 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15745 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15746 * gnu/java/security/Properties.java: Likewise.
15747 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
15748 * gnu/java/security/x509/X509CRL.java: Likewise.
15749 * gnu/java/security/x509/ext/Extension.java: Likewise.
15750 * gnu/java/security/util/Prime2.java: Likewise.
15751 * gnu/java/security/util/Base64.java: Likewise.
15752 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15753 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15754 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15755 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
15756 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
15757 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15758 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15759 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15760 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15761 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15762 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15763 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15764 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15765 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15766 * gnu/java/security/hash/Whirlpool.java: Likewise.
15767
15768 2006-06-11 Mark Wielaard <mark@klomp.org>
15769
15770 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15771 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
15772 Remove unused variable glyph_index.
15773
15774 2006-06-11 Mark Wielaard <mark@klomp.org>
15775
15776 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
15777 Don't recurse, return false if not an BufferedImage and no image
15778 source available.
15779 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
15780 end_gdk_drawing() to finally block.
15781 (fill): Likewise.
15782 (drawRenderedImage): Likewise.
15783 (drawImage): Likewise.
15784 (drawGlyphVector): Likewise.
15785
15786 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15787
15788 * doc/tools.texinfo: Added text for new -cacert command.
15789 Re-structured sections.
15790 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
15791 for -cacert command.
15792 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
15793 (_CACERT): Likewise.
15794 (shutdownThread): New field.
15795 (Main): Install shutdown thread.
15796 (main): Uninstall shutdown thread.
15797 (start): Handle new -cacert command.
15798 (getParser): Likewise.
15799 (teardown): Increased visibility.
15800 (ShutdownHook): New inner class.
15801 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
15802
15803 2006-06-11 Sven de Marothy <sven@physto.se>
15804
15805 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15806 (setupGlyphMetrics): New method. Add glyphmetrics caching.
15807 (getOutline): Operate on the shape directly.
15808 * gnu/java/awt/peer/gtk/GdkFontPeer.java
15809 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
15810 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
15811 (getGlyph renamed getGlyphs)
15812 * java/awt/geom/AffineTransform.java
15813 (getTranslateInstance): Set fields directly.
15814 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15815 (getGlyphs): Get all glyph codes at once.
15816
15817 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15818
15819 PR Classpath/27853
15820 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
15821
15822 2006-06-11 Sven de Marothy <sven@physto.se>
15823
15824 * java/awt/font/TextLayout.java
15825 (getLogicalHighlightShape): Add check.
15826 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15827 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
15828
15829 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15830
15831 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15832 Check that every component of 'cn' starts with a valid Java identifier char.
15833
15834 2006-06-10 Tom Tromey <tromey@redhat.com>
15835
15836 * java/io/File.java (pathSeparator): Typo fix.
15837
15838 2006-06-10 Mark Wielaard <mark@klomp.org>
15839
15840 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
15841 Removed.
15842 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15843 Mark all unused parameters.
15844 (cp_gtk_get_cairo_t): Removed.
15845 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
15846 Don't mix declerations and statements.
15847 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
15848 Mark all unused parameters.
15849 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
15850 Get cairographics2d pointer directly.
15851 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
15852 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
15853 Use jlong to pass pointer.
15854 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15855 Mark all unused parameters.
15856 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15857 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
15858 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15859 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
15860 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
15861 * include/java_io_VMFile.h: Regenerated.
15862
15863 2006-06-10 Roman Kennke <kennke@aicas.com>
15864
15865 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15866 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
15867 instead of setClip(), so that an already present clip is intersected
15868 and not resetted.
15869
15870 2006-06-10 Mark Wielaard <mark@klomp.org>
15871
15872 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
15873 Call getSize() to avoid accessor method.
15874
15875 2006-06-10 Mark Wielaard <mark@klomp.org>
15876
15877 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
15878 Qualify ElementSpec.
15879
15880 2006-06-10 Mark Wielaard <mark@klomp.org>
15881
15882 * lib/.cvsignore: Add sun.
15883 * lib/Makefile.am (dist-hook): Likewise.
15884
15885 2006-06-10 Roman Kennke <kennke@aicas.com>
15886
15887 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15888 * gnu/java/awt/peer/gtk/CairoSurface.java
15889 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15890 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15891 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
15892 * native/jni/gtk-peer/cairographics2d.h
15893 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15894 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15895 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15896 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15897 Changed method signatures and calls to pass native pointers directly
15898 into the JNI code, in order to avoid costly lookups on each
15899 JNI call.
15900 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
15901 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
15902 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
15903 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
15904 Regenerated
15905
15906 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15907
15908 PR 27973
15909 * javax/swing/text/DefaultStyledDocument.java
15910 (ElementBuffer.insertContentTag):
15911 Do not recreate leaves and do not remove elements here.
15912
15913 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15914
15915 * javax/swing/text/html/HTMLDocument.java
15916 (HTMLReader.HiddenAction): Implemented.
15917
15918 2006-06-10 Roman Kennke <kennke@aicas.com>
15919
15920 * javax/swing/RepaintManager.java
15921 (getVolatileOffscreenBuffer): Store the created buffer.
15922 * javax/swing/JComponent.java
15923 (paintDoubleBuffered): Try to use a volatile offscreen buffer
15924 for better performance.
15925
15926 2006-06-10 Roman Kennke <kennke@aicas.com>
15927
15928 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15929 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
15930 context correctly.
15931 (getRealBounds): Overridden to return the correct bounds.
15932
15933 2006-06-10 Roman Kennke <kennke@aicas.com>
15934
15935 * javax/swing/plaf/metal/MetalButtonUI.java
15936 (update): Fixed to paint the gradient under the correct conditions.
15937 (updateWidthGradient): Removed.
15938 (isToolbarButton): New helper method.
15939 (isDrawingGradient): New helper method.
15940
15941 2006-06-09 Roman Kennke <kennke@aicas.com>
15942
15943 * javax/swing/JTabbedPane.java
15944 (setSelectedIndex): Don't change the visibility of the components,
15945 this is done by the UI class.
15946 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15947 (TabbedPaneLayout.layoutContainer): Change visibility of component
15948 here, depending on the selected index. Only do this if the new
15949 selected component is not null. Some programs seem to expect
15950 this.
15951 (visibleComponent): New field.
15952 (getVisibleComponent): Changed to return visibleComponent field.
15953 (setVisibleComponent): Changed to set the visibility of
15954 the old and new visible component.
15955
15956 2006-06-09 Roman Kennke <kennke@aicas.com>
15957
15958 * javax/swing/JComponent.java
15959 (paintChildrenOptimized): Paint component with a new Graphics
15960 object to protect the other painting code from modifications
15961 done in that object, and avoid cleanup ops on possibly dispose()ed
15962 Graphics object.
15963
15964 2006-06-09 Sven de Marothy <sven@physto.se>
15965
15966 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15967 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
15968 Use GTK locks while disposing (Xlib) surface.
15969
15970 2006-06-09 Tom Tromey <tromey@redhat.com>
15971
15972 * lib/Makefile.am (install-data-local): Copy 'sun' files.
15973 (uninstall-local): Delete 'sun' directory.
15974 (glibj.zip): Include 'sun' classes.
15975 (clean-local): Delete 'sun' directory.
15976 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
15977
15978 2006-06-09 Roman Kennke <kennke@aicas.com>
15979
15980 * gnu/java/awt/java2d/AbstractGraphics2D.java
15981 (drawImage): Fixed scaling.
15982 (fillShape): Removed offset handling.
15983 (fillShapeImpl): Limit scanlining to device bounds.
15984 (getSegments): Removed offset handling.
15985 * gnu/java/awt/java2d/PolyEdge.java
15986 (toString): Include isClip flag in output.
15987
15988 2006-06-08 Sven de Marothy <sven@physto.se>
15989
15990 * java/awt/font/TextLayout.java
15991 (getOutline): Allow null transform.
15992
15993 2006-06-08 Sven de Marothy <sven@physto.se>
15994
15995 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15996 (drawString): Use TextLayout instead of GlyphVector.
15997
15998 2006-06-08 Sven de Marothy <sven@physto.se>
15999
16000 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16001 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16002 New constructor for bidirectionality.
16003 (getGlyphMetrics): Return whitespace glyphs.
16004 (getLogicalBounds): Offset rectangles to correct positions.
16005 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16006 (getBaselineFor): Default to ROMAN_BASELINE.
16007 (GdkFontLineMetrics): Guess some values for underline and
16008 strikethrough.
16009 (layoutGlyphVector): Use bidirectionality.
16010 * java/awt/font/TextLayout.java: Implement, mostly.
16011
16012 2006-06-09 Anthony Green <green@redhat.com>
16013
16014 PR classpath/27888:
16015 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16016 * java/util/Collections.java (binarySearch): Use unsigned shift.
16017 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16018
16019 2006-06-09 Tom Tromey <tromey@redhat.com>
16020
16021 * tools/.cvsignore: Added .deps.
16022
16023 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16024
16025 PR classpath/27966:
16026 * gnu/javax/security/auth/login/ConfigFileParser.java
16027 (validateClassName): Quote '.' in regexp.
16028
16029 2006-06-09 Tom Tromey <tromey@redhat.com>
16030
16031 PR classpath/23863:
16032 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16033 finished.
16034 * native/fdlibm/mprec.c: New version from newlib. Commented out
16035 some includes. Added <assert.h>.
16036 (_reent, _Bigint): New defines.
16037 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16038 (__ULong, __Long): New types.
16039 (_calloc_r): New function.
16040 (Balloc): Dynamically add new _freelist entries as needed.
16041 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16042 MAX_BIGNUMS to size _x[].
16043 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16044 _allocation_map, num. Added _max_k.
16045
16046 2006-06-09 Roman Kennke <kennke@aicas.com>
16047
16048 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16049 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16050 implementations.
16051
16052 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16053
16054 * java/awt/image/BufferedImage.java
16055 (BufferedImage(int, int, int)): Added API docs,
16056 (getProperty(String)): Return correct value for undefined properties,
16057 (getPropertyNames()): Added comments and removed FIXME.
16058
16059 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16060
16061 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16062 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16063
16064 2006-06-09 Francis Kung <fkung@redhat.com>
16065
16066 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16067 (getPreferredSize): Return correct height for null or empty
16068 items.
16069
16070 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16071
16072 * java/awt/datatransfer/DataFlavor.java
16073 (readExternal): Mark as stub,
16074 (writeExternal): Likewise,
16075 * java/awt/dnd/DropTargetContext.java
16076 (dropComplete): Mark as stub,
16077 (acceptDrag): Likewise,
16078 (rejectDrag): Likewise,
16079 (acceptDrop): Likewise,
16080 (rejectDrop): Likewise,
16081 (getCurrentDataFlavors): Likewise,
16082 (getTransferable): Likewise,
16083 * java/awt/dnd/DropTargetDropEvent.java
16084 (dropComplete): Mark as stub.
16085
16086 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16087
16088 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16089 (constructor): Do not lowercase the values.
16090 * javax/swing/text/html/HTMLDocument.java
16091 (HTMLReader.addSpecialElement): Implemented.
16092 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16093
16094 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16095
16096 On behalf of Matthew Wringe <mwringe@redhat.com>
16097 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16098 * gnu/javax/crypto/pad/ISO10126.java: New class.
16099 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16100 (getInstance): Added support for ISO-10126 scheme.
16101 (getNames): Likewise.
16102 Cache result for speed.
16103
16104 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16105
16106 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16107 flexible self-test by sub-classes.
16108 (test1BlockSize): New method.
16109
16110 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16111
16112 * javax/swing/plaf/basic/BasicLookAndFeel.java
16113 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16114 * javax/swing/plaf/basic/BasicScrollBarUI.java
16115 (installKeyboardActions): Implemented,
16116 (uninstallKeyboardActions): Implemented,
16117 (getInputMap): New method,
16118 (getActionMap): New method,
16119 (createActionMap): New method,
16120 (installUI): Call installKeyboardActions(),
16121 (uninstallUI): Call uninstallKeyboardActions().
16122
16123 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16124
16125 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16126 (getActionMap): Use correct key to store action map.
16127
16128 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16129
16130 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16131 (executeInstruction): Added NOT support.
16132
16133 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16134
16135 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16136 New file.
16137
16138 2006-06-08 Tom Tromey <tromey@redhat.com>
16139
16140 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16141 of 'types'.
16142
16143 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16144
16145 * java/lang/management/RuntimeMXBean.java:
16146 New file.
16147
16148 2006-06-08 Lillian Angel <langel@redhat.com>
16149
16150 * native/plugin/gcjwebplugin.cc:
16151 (NP_Shutdown): Freed whitelist_filename.
16152
16153 2006-06-08 Lillian Angel <langel@redhat.com>
16154
16155 * native/plugin/Makefile.am:
16156 Removed DATA_DIRECTORY.
16157 * native/plugin/gcjwebplugin.cc:
16158 Added new global fields for whitelist_file
16159 and data_directory. Removed WHITELIST_FILE.
16160 (NP_Initialize): Initialized new fields. Also,
16161 Changed to use new fields.
16162 (NP_Shutdown): Freed data_directory.
16163 (GCJ_New): Changed to use new fields.
16164 (plugin_ask_user_about_documentbase): Likewise.
16165
16166 2006-06-08 Lillian Angel <langel@redhat.com>
16167
16168 * native/plugin/Makefile.am:
16169 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16170 * native/plugin/gcjwebplugin.cc:
16171 Changed all instances of PLUGIN_DATA_DIRECTORY
16172 to DATA_DIRECTORY.
16173
16174 2006-06-08 Roman Kennke <kennke@aicas.com>
16175
16176 * java/awt/LightweightDispatcher.java
16177 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16178 with convertPointToChild(). This is more efficient and avoids
16179 problems with getLocationOnScreen().
16180 (findTarget): Check for component beeing showing() early.
16181 Simplified AWTUtilities.convertPoint() to a simple substraction
16182 operation.
16183 (convertPointToChild): New helper method.
16184
16185 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16186
16187 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16188 message.
16189
16190 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16191 Lillian Angel <langel@redhat.com>
16192
16193 * native/plugin/gcjwebplugin.cc
16194 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16195 Also, reset initialized field.
16196
16197 2006-06-08 Lillian Angel <langel@redhat.com>
16198
16199 * javax/swing/plaf/basic/BasicProgressBarUI.java
16200 (paintString): Fixed to paint string at the correct location.
16201
16202 2006-06-08 Roman Kennke <kennke@aicas.com>
16203
16204 * javax/swing/plaf/basic/BasicTreeUI.java
16205 (createDefaultActions): Added new actions.
16206 (TreePageAction.TreePageAction): Set action name.
16207 (TreePageAction.actionPerformed): Implemented.
16208 (TreePageAction.isEnabled): Implemented.
16209 (TreeToggleAction.TreePageAction): Set action name.
16210 (TreeToggleAction.actionPerformed): Implemented.
16211 (TreeToggleAction.isEnabled): Implemented.
16212 (TreeTraverseAction.TreeTraverseAction): Set action name.
16213 (TreeTraverseAction.actionPerformed): Use action name as command.
16214 (TreeTraverseAction.isEnabled): Implemented.
16215
16216 2006-06-08 Roman Kennke <kennke@aicas.com>
16217
16218 * javax/swing/plaf/basic/BasicTreeUI.java
16219 (installKeyboardActions): Rewritten to correctly install the UI
16220 input and action maps.
16221 (getActionMap): New helper method.
16222 (createDefaultActionMap): New helper method.
16223 (TreeHomeAction.TreeHomeAction()): Implemented.
16224 (TreeHomeAction.actionPerformed): Implemented.
16225 (TreeHomeAction.isEnabled): Implemented.
16226 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16227 (TreeIncrementAction.actionPerformed): Use action name as command.
16228 (TreeIncrementAction.isEnabled): Implemented.
16229
16230 2006-06-08 Mark Wielaard <mark@klomp.org>
16231
16232 PR 27917
16233 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16234 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16235 and unref loader.
16236
16237 2006-06-08 Mark Wielaard <mark@klomp.org>
16238
16239 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16240 (attrs): Removed unused static.
16241
16242 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16243
16244 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16245 (getInputMap): New method,
16246 (getActionMap): New method,
16247 (createActionMap): New method,
16248 (installKeyboardActions): Implemented,
16249 (uninstallKeyboardActions): Implemented.
16250
16251 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16252
16253 * javax/swing/border/MatteBorder.java:
16254 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16255 throwing.
16256 (paintBorder): Added if-statement to abort painting early.
16257
16258 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16259
16260 Fixes PR27864.
16261 * gnu/xml/dom/DomIterator.java:
16262 (successor): Changed expression.
16263
16264 2006-06-08 Sven de Marothy <sven@physto.se>
16265
16266 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16267 (defaultLayout): Do kerning.
16268 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16269 (getKerning): Correct class name, removed unused variable.
16270
16271 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16272
16273 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16274 libqtpeer.so unconditionally.
16275
16276 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16277
16278 * java/util/InputMismatchException.java:
16279 Documented.
16280
16281 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16282
16283 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16284
16285 2006-06-07 Roman Kennke <kennke@aicas.com>
16286
16287 * javax/swing/plaf/basic/BasicTreeUI.java
16288 (completeUIUninstall): Implemented.
16289 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16290 editing before uninstalling anything.
16291 (isToggleEvent): Implemented.
16292 (selectPathForEvent): Make use of isToggleEvent().
16293 (ComponentHandler.componentMoved): Implemented.
16294 (ComponentHandler.startTimer): Implemented.
16295 (ComponentHandler.getScrollPane): Implemented.
16296 (ComponentHandler.actionPerformed): Implemented.
16297
16298 2006-06-07 Francis Kung <fkung@redhat.com>
16299
16300 * javax/swing/JMenuBar.java:
16301 (getSubElements): Do not return null values.
16302
16303 2006-06-07 Roman Kennke <kennke@aicas.com>
16304
16305 PR 27902
16306 * gnu/regexp/BacktrackStack.java
16307 * gnu/regexp/CharIndexed.java
16308 * gnu/regexp/CharIndexedCharArray.java
16309 * gnu/regexp/CharIndexedCharSequence.java
16310 * gnu/regexp/CharIndexedInputStream.java
16311 * gnu/regexp/CharIndexedString.java
16312 * gnu/regexp/CharIndexedStringBuffer.java
16313 * gnu/regexp/RE.java
16314 * gnu/regexp/REException.java
16315 * gnu/regexp/REFilterInputStream.java
16316 * gnu/regexp/REMatch.java
16317 * gnu/regexp/REMatchEnumeration.java
16318 * gnu/regexp/RESyntax.java
16319 * gnu/regexp/REToken.java
16320 * gnu/regexp/RETokenAny.java
16321 * gnu/regexp/RETokenBackRef.java
16322 * gnu/regexp/RETokenChar.java
16323 * gnu/regexp/RETokenEnd.java
16324 * gnu/regexp/RETokenEndOfPreviousMatch.java
16325 * gnu/regexp/RETokenEndSub.java
16326 * gnu/regexp/RETokenIndependent.java
16327 * gnu/regexp/RETokenLookAhead.java
16328 * gnu/regexp/RETokenLookBehind.java
16329 * gnu/regexp/RETokenNamedProperty.java
16330 * gnu/regexp/RETokenOneOf.java
16331 * gnu/regexp/RETokenPOSIX.java
16332 * gnu/regexp/RETokenRange.java
16333 * gnu/regexp/RETokenRepeated.java
16334 * gnu/regexp/RETokenStart.java
16335 * gnu/regexp/RETokenWordBoundary.java
16336 * gnu/regexp/UncheckedRE.java
16337 * gnu/java/util/regex/BacktrackStack.java
16338 * gnu/java/util/regex/CharIndexed.java
16339 * gnu/java/util/regex/CharIndexedCharArray.java
16340 * gnu/java/util/regex/CharIndexedCharSequence.java
16341 * gnu/java/util/regex/CharIndexedInputStream.java
16342 * gnu/java/util/regex/CharIndexedString.java
16343 * gnu/java/util/regex/CharIndexedStringBuffer.java
16344 * gnu/java/util/regex/RE.java
16345 * gnu/java/util/regex/REException.java
16346 * gnu/java/util/regex/REFilterInputStream.java
16347 * gnu/java/util/regex/REMatch.java
16348 * gnu/java/util/regex/REMatchEnumeration.java
16349 * gnu/java/util/regex/RESyntax.java
16350 * gnu/java/util/regex/REToken.java
16351 * gnu/java/util/regex/RETokenAny.java
16352 * gnu/java/util/regex/RETokenBackRef.java
16353 * gnu/java/util/regex/RETokenChar.java
16354 * gnu/java/util/regex/RETokenEnd.java
16355 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16356 * gnu/java/util/regex/RETokenEndSub.java
16357 * gnu/java/util/regex/RETokenIndependent.java
16358 * gnu/java/util/regex/RETokenLookAhead.java
16359 * gnu/java/util/regex/RETokenLookBehind.java
16360 * gnu/java/util/regex/RETokenNamedProperty.java
16361 * gnu/java/util/regex/RETokenOneOf.java
16362 * gnu/java/util/regex/RETokenPOSIX.java
16363 * gnu/java/util/regex/RETokenRange.java
16364 * gnu/java/util/regex/RETokenRepeated.java
16365 * gnu/java/util/regex/RETokenStart.java
16366 * gnu/java/util/regex/RETokenWordBoundary.java
16367 * gnu/java/util/regex/UncheckedRE.java
16368 Moved gnu.regexp classes to gnu.java.util.regex package.
16369 * java/util/regex/Matcher.java
16370 * java/util/regex/Pattern.java
16371 Adjusted import statements for new package name for gnu regexp.
16372
16373 2006-06-07 Tom Tromey <tromey@redhat.com>
16374
16375 PR classpath/27905:
16376 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16377 Added missing charsets.
16378 (charsetForName): Don't check 'extendedLoaded'.
16379
16380 2006-06-07 Roman Kennke <kennke@aicas.com>
16381
16382 PR 27833
16383 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16384 (clip(Shape)): Implemented correctly, so that the current shape
16385 gets intersected by the parameter shape.
16386
16387 2006-06-07 Lillian Angel <langel@redhat.com>
16388
16389 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16390 (getTabBounds): If this method is called with a tab index
16391 that is not in the rects array, we need to re-layout the container
16392 so it is created.
16393
16394 2006-06-07 Lillian Angel <langel@redhat.com>
16395
16396 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16397 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16398 * java/lang/String.java
16399 (codePointCount): Fixed check to match API. Shouldn't throw exception
16400 if end == count. end is 1 more than the endIndex, so end == count is
16401 possible.
16402
16403 2006-06-07 Gary Benson <gbenson@redhat.com>
16404
16405 PR 24895
16406 * native/jni/java-io/java_io_VMFile.c
16407 (Java_java_io_VMFile_toCanonicalForm): New method.
16408 * configure.ac: Added checks for lstat and readlink.
16409 * include/java_io_VMFile.h: Added new method.
16410 * vm/reference/java/io/VMFile.java: Use new method.
16411 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16412 * NEWS: Documented the above.
16413 * java/io/File.java: Javadoc fix.
16414
16415 2006-06-07 Roman Kennke <kennke@aicas.com>
16416
16417 PR 27920
16418 * javax/swing/JTree.java
16419 (JTree()): Initialize with default model.
16420 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16421 on the updateUI() / setModel() order.
16422 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16423 paths.
16424 * javax/swing/plaf/basic/BasicTreeUI.java
16425 (BasicTreeUI()): Initialize listeners in installListeners().
16426 (setModel): Complete editing on model change. Correctly resetup
16427 the listeners. Update the layout cache accordingly.
16428 (setShowRootHandles): Complete editing and update layout. Do not
16429 call back into the JTree, this could cause cycles.
16430 (prepareForUIInstall): Implemented. Moved some init code from
16431 installUI() to this method.
16432 (completeUIInstall): Implemented. Moved some init code from
16433 installUI() to this method.
16434 (createDefaultCellEditor): Check for type of renderer, and install
16435 with null renderer when not DefaultTreeCellRenderer.
16436 (updateLayoutCacheExpandedNodes): Added null check for tree root
16437 to avoid NPE.
16438 (updateRenderer): Call updateEditor().
16439 (installListeners): Initialize the listeners here. Added some null
16440 checks to avoid NPEs.
16441 (installUI): Moved some init code to prepareForUIInstall() and
16442 completeUIInstall().
16443 (completeEditing): Return immediately if editing component is null
16444 or if the setting is to not stop editing on complete editing.
16445 (checkForClickInExpandControl): Call handleExpandControlClick()
16446 instead of toggleExpandState() directly.
16447 (isLocationInExpandControl): Rewritten to correctly determine the
16448 expand click location.
16449 (MouseHandler.mousePressed): Rewritten to make better use of the
16450 instance methods of BasicTreeUI to handle the click.
16451 (PropertyHandler.propertyChange): Handle model and cell renderer
16452 updates.
16453 * javax/swing/tree/DefaultTreeCellEditor.java
16454 (DefaultTreeCellEditor): Removed initialization of the icon. This
16455 is done so that the constructor can deal with null renderer as the
16456 RI does. Maybe this needs more fixing.
16457 * javax/swing/tree/TreePath.java
16458 (isDescendant): Fixed this method. The previous version did too
16459 much and compared the wrong things, which lead to a ClassCastException
16460 in equals().
16461 * javax/swing/tree/VariableHeightLayoutCache.java
16462 (update): Do nothing when model is null.
16463 (setModel): Clear the tables and update the layout. Added null
16464 check to prevent NPE.
16465
16466 2006-06-07 Sven de Marothy <sven@physto.se>
16467
16468 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16469
16470 2006-06-07 Sven de Marothy <sven@physto.se>
16471
16472 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16473 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16474 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16475 New files.
16476
16477 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16478 (getGlyphVector): Removed native method.
16479 (createGlyphVector, getStringBounds): Use new GV class.
16480
16481 * include/Makefile.am
16482 * native/jni/gtk-peer/Makefile.am
16483 Add new files.
16484
16485 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16486 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16487 (getGlyphVector): Removed native method.
16488
16489 2006-06-07 Chris Burdess <dog@gnu.org>
16490
16491 * gnu/classpath/debug/TeeInputStream.java,
16492 gnu/classpath/debug/TeeOutputStream.java,
16493 gnu/classpath/debug/TeeReader.java,
16494 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16495 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16496 read more characters than absolutely necessary in tryRead method.
16497
16498 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16499
16500 * examples/gnu/classpath/examples/swing/Demo.java:
16501 (mkMenuBar): Put look and feel radio buttons into
16502 appropriate button group.
16503
16504 2006-06-07 Chris Burdess <dog@gnu.org>
16505
16506 * gnu/xml/stream/SAXParser.java,
16507 gnu/xml/stream/XMLParser.java: Add command line options for setting
16508 parsing parameters (for simpler debugging).
16509 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16510 closing output stream is propagated to application.
16511
16512 2006-06-06 Mark Wielaard <mark@klomp.org>
16513
16514 PR 27917
16515 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16516 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16517 call disposeSurface.
16518 (disposeSurface): New native method.
16519 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16520 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16521 pattern_pixels.
16522 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16523 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16524 cairo_pattern_destroy.
16525 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16526 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16527 New function to destroy the surface.
16528 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16529 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16530 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16531
16532 2006-06-06 Mark Wielaard <mark@klomp.org>
16533
16534 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16535 with JNICALL.
16536
16537 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16538
16539 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16540 (paint): If has focus, paint special background color,
16541 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16542 (FocusHandler.focusGained): Implemented,
16543 (FocusHandler.focusLost): Implemented.
16544
16545 2006-06-06 Tom Tromey <tromey@redhat.com>
16546
16547 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16548 Javadoc fix.
16549 (writeAttributeSet): Implemented.
16550
16551 2006-06-06 Tom Tromey <tromey@redhat.com>
16552
16553 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16554 Implement.
16555 (SpecialAction.end): Removed.
16556 (IsindexAction.end): Likewise.
16557
16558 2006-06-06 Tom Tromey <tromey@redhat.com>
16559
16560 * include/jni.h (JDK1_1InitArgs): New struct.
16561 (JDK1_1AttachArgs): Likewise.
16562
16563 2006-06-06 Tom Tromey <tromey@redhat.com>
16564
16565 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16566 method.
16567 (getUnresolvedName): New method.
16568 (getUnresolvedActions): New method.
16569 (getUnresolvedCerts): New method.
16570
16571 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16572
16573 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16574 (getColor): Removed debugging code.
16575
16576 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16577
16578 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16579 (getColor): Added support for "rgb(red, green, blue)" notation.
16580 (translateTag): Use Boolean.TRUE, not new Boolean().
16581
16582 2006-06-06 Roman Kennke <kennke@aicas.com>
16583
16584 PR 27651
16585 * javax/swing/JTree.java
16586 (JTree(TreeModel)): Call updateUI() before setModel().
16587 (setModel): Don't call updateUI here.
16588
16589 2006-06-06 Lillian Angel <langel@redhat.com>
16590
16591 * native/plugin/gcjwebplugin.cc:
16592 Fixed failure message and commenting.
16593 (NP_Initialize): Added more comments.
16594
16595 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16596
16597 * javax/swing/JSplitPane.java
16598 (AccessibleJSplitPane): API doc fixes,
16599 (setDividerLocation): Likewise,
16600 * javax/swing/plaf/basic/BasicLookAndFeel.java
16601 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16602 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16603 (getInputMap): New method,
16604 (getActionMap): New method,
16605 (createActionMap): New method,
16606 (installKeyboardActions): Implemented,
16607 (uninstallKeyboardActions): Implemented.
16608
16609 2006-06-06 Roman Kennke <kennke@aicas.com>
16610
16611 PR 27523
16612 * javax/swing/MenuSelectionManager.java
16613 (processKeyEvent): Added check to avoid
16614 ArrayIndexOutOfBoundsException.
16615
16616 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16617
16618 * gnu/javax/swing/text/html/htmlAttributeSet.java
16619 (getAttributeNames): Rewritten
16620
16621 2006-06-06 Chris Burdess <dog@gnu.org>
16622
16623 * gnu/xml/transform/TransformerImpl.java: Check type of created
16624 document (more cases).
16625
16626 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16627
16628 * gnu/javax/swing/text/html/htmlAttributeSet.java
16629 (clone): New method. (copyAttributes): New method.
16630 (getResolveParent): Comment fix. (getAttribute):
16631 Rewritten. (addAttribute): Rewritten.
16632 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
16633 New file.
16634
16635 2006-06-06 Roman Kennke <kennke@aicas.com>
16636
16637 PR 27522
16638 * javax/swing/JMenuBar.java
16639 (processKeyBindingHelper): Added null check to prevent NPE.
16640
16641 2006-06-06 Roman Kennke <kennke@aicas.com>
16642
16643 * javax/swing/plaf/basic/BasicInternalFrameUI.java
16644 (ShowSystemMenuAction): New class.
16645 (installKeyboardActions): Implemented.
16646 (uninstallKeyboardActions): Implemented.
16647 * javax/swing/plaf/metal/MetalInternalFrameUI.java
16648 (installKeyboardActions): Overridden to remove showSystemMenu action.
16649
16650 2006-06-06 Chris Burdess <dog@gnu.org>
16651
16652 * gnu/xml/transform/TransformerImpl.java: Check type of created
16653 document.
16654
16655 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16656
16657 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
16658 (getScreenDevices): Added explicit cast.
16659
16660 2006-06-06 Roman Kennke <kennke@aicas.com>
16661
16662 * javax/swing/plaf/basic/BasicTextUI.java
16663 (installKeyboardActions): Use shared input map. Correctly
16664 install the input/action maps in the component's input/action
16665 map hierarchies.
16666 (getActionMap): New helper method for fetching an ActionMap from
16667 the UIManager or creating a default one if there is none supplied
16668 by the UIManager.
16669 (createActionMap): Add the TransferHandler's actions here. Made
16670 method private.
16671 (getInputMap): Leave out unnecessary method parameter. Load
16672 shared input map.
16673 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
16674
16675 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16676
16677 * configure.ac: Added missing [ to expression.
16678
16679 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16680
16681 * configure.ac: Added missing { to expression.
16682
16683 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16684
16685 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
16686 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
16687 * include/Makefile.am: Added
16688 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
16689 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
16690 (GdkGraphicsConfiguration): Rewritten.
16691 (getColorModel): Rewritten.
16692 (getColorModel(int)): Rewritten.
16693 (getBounds): Rewritten.
16694 (createCompatibleVolatileImage): Implemented.
16695 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
16696 initializer.
16697 (getDefaultScreenDevice): Rewritten.
16698 (nativeGetDefaultScreenDevice): New method.
16699 (getScreenDevices): Rewritten.
16700 (nativeGetScreenDevices): New method.
16701 (nativeInitState): New method.
16702 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
16703 rewritten.
16704 (X11DisplayMode): New inner class.
16705 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
16706 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
16707 * native/jni/gtk-peer/gdkdisplay.h: New file.
16708 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
16709 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
16710 New function.
16711 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
16712 New function.
16713 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16714 _nativeGetScreenDevices):
16715 New function.
16716 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16717 _nativeGetDefaultScreenDevice):
16718 New function.
16719 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
16720 New file.
16721 * configure.ac: Added check for Xrandr library.
16722
16723 2006-06-06 Roman Kennke <kennke@aicas.com>
16724
16725 * javax/swing/plaf/basic/BasicTableUI.java
16726 (getMaximumSize): Don't return null. Fixed calculation of
16727 table height.
16728 (getMinimumSize): Don't return null. Fixed calculation of
16729 table height.
16730 (getPreferredSize): Fixed calculation of with and height. Added
16731 API docs.
16732 (getHeight): New helper method.
16733
16734 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16735
16736 * javax/swing/JComponent.java
16737 (getInputMap(int)): Throw IllegalArgumentException for unknown
16738 condition argument, and added API docs,
16739 (getInputMap()): Added API docs.
16740
16741 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16742
16743 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
16744
16745 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16746
16747 * javax/swing/JTable.java
16748 (AccessibleJTableHeaderCell.header): New field,
16749 (AccessibleJTableHeaderCell.columnIndex): Likewise,
16750 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
16751 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
16752 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
16753 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
16754 (AccessibleJTable.getAccessibleChild(int)): Overridden,
16755 (AccessibleJTable.getAccessibleAt): Reimplemented.
16756
16757 2006-06-05 Sven de Marothy <sven@physto.se>
16758
16759 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
16760 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16761 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16762 (initFromVolatile): New method.
16763 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16764 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16765 Reimplement.
16766 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16767 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16768 (copyArea, drawVolatileImage): New methods.
16769
16770 2006-06-05 Tania Bento <tbento@redhat.com>
16771
16772 * javax/swing/JFrame.java
16773 (frameInit): Set background color and fixed layout parameters.
16774
16775 2006-06-05 Tom Tromey <tromey@redhat.com>
16776
16777 * NEWS: Mention VMURLConnection.
16778
16779 2006-06-05 Lillian Angel <langel@redhat.com>
16780
16781 * native/plugin/gcjwebplugin.cc:
16782 Added new field to keep track of initialization.
16783 (plugin_start_appletviewer): Fixed to return an error value, if
16784 an error was encountered when loading the appletviewer.
16785 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
16786 has failed.
16787 (plugin_failed): New helper function. Shows a warning if the appletviewer
16788 has not been installed.
16789 (NP_Initialize): Added code to make sure this function is only called
16790 once.
16791
16792 2006-06-05 Lillian Angel <langel@redhat.com>
16793
16794 * native/plugin/Makefile.am:
16795 Fixed to use a set plugin directory in the .mozilla directory.
16796 All applet logs are now stored here, instead of /tmp.
16797 * native/plugin/gcjwebplugin.cc:
16798 Added new fields for security warning.
16799 (GCJ_NEW): Added code to generate a security warning for all pages
16800 that spawn an appletviewer. This warning asks the user if they trust
16801 the applet and if they would like to add it to a 'whitelist'. This
16802 whitelist keeps track of all the addresses the user would like
16803 to trust indefinitely.
16804 (plugin_user_trusts_documentbase): New helper function.
16805 (plugin_add_documentbase_to_whitelist): New helper function.
16806 (plugin_ask_user_about_documentbase): New helper function.
16807 (plugin_in_pipe_callback): Fixed check to determine if channel_error
16808 has been set.
16809 (plugin_start_appletviewer): Likewise.
16810 (plugin_create_applet_tag): Reset all fields to null after they have been
16811 freed.
16812 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
16813 if channel_error has been set.
16814 (plugin_stop_appletviewer): Likewise.
16815 (NP_Initialize): Likewise. Also, added code to determine if directory and file
16816 should be created.
16817
16818 2006-06-05 Francis Kung <fkung@redhat.com>
16819
16820 PR 27507
16821 * gnu/java/awt/peer/gtk/GtkImage.java
16822 (getSource): Added check to determine if in
16823 errorLoading state.
16824 * gnu/java/awt/peer/gtk/GtkToolkit.java
16825 (createImage): Added check to prevent NPE.
16826
16827 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16828
16829 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
16830 Create the ImageView, when applicable.
16831 * gnu/javax/swing/text/html/CombinedAttributes.java,
16832 javax/swing/text/html/ImageView.java: New files.
16833
16834 2006-06-05 Roman Kennke <kennke@aicas.com>
16835
16836 PR 27834
16837 * javax/swing/text/GapContent.java
16838 (setPositionsInRange): Compare with startIndex and endIndex
16839 rather than start and end.
16840 (dumpMarks): Only dump real marks.
16841
16842 2006-06-05 Sven de Marothy <sven@physto.se>
16843
16844 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16845 (ComponentGraphics): Use 0,0 as clip origin.
16846
16847 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16848
16849 * java/util/Formattable.java,
16850 * java/util/FormattableFlags.java,
16851 * java/util/Formatter.java:
16852 Documented.
16853
16854 2006-06-04 Tom Tromey <tromey@redhat.com>
16855
16856 * javax/naming/Context.java (list): Genericized.
16857 (listBindings): Likewise.
16858 * javax/naming/Reference.java (addrs): Genericized.
16859 * javax/naming/InitialContext.java (myProps): Fixed type.
16860 (init): Genericized.
16861
16862 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16863
16864 * java/util/DuplicateFormatFlagsException.java,
16865 * java/util/FormatFlagsConversionMismatchException.java,
16866 * java/util/FormatterClosedException.java,
16867 * java/util/IllegalFormatCodePointException.java,
16868 * java/util/IllegalFormatConversionException.java,
16869 * java/util/IllegalFormatException.java,
16870 * java/util/IllegalFormatFlagsException.java,
16871 * java/util/IllegalFormatPrecisionException.java,
16872 * java/util/IllegalFormatWidthException.java,
16873 * java/util/MissingFormatArgumentException.java,
16874 * java/util/MissingFormatWidthException.java,
16875 * java/util/UnknownFormatConversionException.java,
16876 * java/util/UnknownFormatFlagsException.java:
16877 Documented.
16878
16879 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16880
16881 * java/lang/System.java:
16882 (getenv()): Handle cases where split only
16883 returns an array of size 1.
16884
16885 2006-06-04 Sven de Marothy <sven@physto.se>
16886
16887 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16888 (createVolatileImage): Pass peer to VolatileImage constructor.
16889 * java/awt/Component.java
16890 (createVolatileImage): Call peer method directly.
16891
16892 2006-06-04 Sven de Marothy <sven@physto.se>
16893
16894 * gnu/java/awt/peer/gtk/CairoSurface.java
16895 (getFlippedBuffer): New method.
16896 (getGtkImage): Renamed method.
16897 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
16898 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16899 Renamed getSharedImage to getGtkImage.
16900 * include/gnu_java_awt_peer_gtk_CairoSurface.h
16901 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16902 (getFlippedBuffer): New method
16903 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16904 Avoid window casts.
16905 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16906
16907 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
16908 (drawVolatile): Add casts.
16909 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
16910 (getOutline): Add casts.
16911 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16912 Comment out unused prototype.
16913 (getPixels): Add appropriate cast and comment out unused variable.
16914
16915 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
16916
16917 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
16918 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
16919 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
16920 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
16921 (getSystemInstance): Fix javadoc @link.
16922 (counter): Increased visibility.
16923 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
16924 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
16925 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
16926 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
16927 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
16928 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
16929 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
16930 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
16931 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
16932 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
16933 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
16934 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
16935 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
16936 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
16937 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16938 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
16939 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
16940 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
16941 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
16942 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
16943 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
16944 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
16945 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
16946 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
16947 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
16948 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
16949 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
16950 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
16951 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
16952 * gnu/javax/crypto/assembly/Direction.java: Likewise.
16953 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
16954
16955 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
16956
16957 * gnu/java/security/PolicyFile.java: Updated copyright year.
16958 (logger): Increased visibility.
16959 * gnu/java/security/x509/Util.java: Updated copyright year.
16960 (hexDump): Fix javadoc @link.
16961 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
16962 Removed unused import.
16963 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
16964 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
16965 * gnu/java/security/util/ExpirableObject.java: Likewise.
16966 (destroy): Likewise.
16967 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
16968 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
16969 Updated copyright year.
16970 (checkCRL): Fix javadoc @param.
16971
16972 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
16973
16974 * java/lang/annotation/IncompleteAnnotationException.java:
16975 Documented.
16976
16977 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
16978
16979 * java/lang/ProcessBuilder.java:
16980 Documented.
16981 (environment): Create as a copy.
16982 * java/lang/System.java:
16983 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
16984 New constructor.
16985 (EnvironmentMap.put(String,String)): Override superclass
16986 method with checks for nulls and non-Strings.
16987
16988 2006-06-02 Sven de Marothy <sven@physto.se>
16989
16990 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16991 (cairoPreserveClip, cairoResetClip): New methods.
16992 (setClip, clip): Reimplement.
16993 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16994 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16995 (cairoPreserveClip, cairoResetClip): New methods.
16996
16997 2006-06-02 Sven de Marothy <sven@physto.se>
16998
16999 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17000 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17001 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17002 New files.
17003 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17004 (drawImage): Overloads for VolatileImage drawing.
17005 (drawVolatile): New method.
17006 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17007 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17008 (drawVolatile): New method.
17009 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17010 Unstub implementation.
17011 * include/Makefile.am
17012 * native/jni/gtk-peer/Makefile.am
17013 Add new files.
17014 * native/jni/gtk-peer/gtkpeer.h
17015 New prototype.
17016
17017 2006-06-03 Roman Kennke <kennke@aicas.com>
17018
17019 PR 27418
17020 * javax/swing/plaf/basic/BasicTextUI.java
17021 (damageRange): Added null check to avoid NPE.
17022
17023 2006-06-03 Roman Kennke <kennke@aicas.com>
17024
17025 * javax/swing/text/PlainView.java
17026 (updateDamage): Check for valid longestLine and initialize if
17027 necessary.
17028
17029 2006-06-03 Mark Wielaard <mark@klomp.org>
17030
17031 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17032 comments, not C++.
17033
17034 2006-06-02 Sven de Marothy <sven@physto.se>
17035
17036 PR 27879
17037 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17038 (copyArea): Implement.
17039 (copyAreaImpl, getRealBounds): New methods.
17040 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17041 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17042 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17043 (copyAreaImpl, getRealBounds): Implement.
17044 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17045 (nativeCopyArea): Reimplement.
17046
17047 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17048
17049 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17050 (XTEST_LIBS): New, substitute.
17051 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17052
17053 2006-06-02 Roman Kennke <kennke@aicas.com>
17054
17055 PR 26738
17056 * javax/swing/text/PlainView.java
17057 (updateDamage): Rewritten for correct repainting and revalidating.
17058 (findLongestLine): New helper method.
17059 (getLineLength): New helper method.
17060
17061 2006-06-02 Sven de Marothy <sven@physto.se>
17062
17063 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17064 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17065 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17066 (nativeCopyArea): Change stride parameter to use # of ints.
17067 (setPixels): Add checks.
17068 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17069 (ComponentGraphics): Set background, clip.
17070 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17071 (Cairographics2D): Don't set clip.
17072 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17073 Add flush.
17074
17075 2006-06-02 Lillian Angel <langel@redhat.com>
17076
17077 PR 24458
17078 * java/awt/DefaultKeyboardFocusManager.java
17079 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17080 to get the focused window.
17081
17082 2006-06-01 Miriam Schuster <schmir11@web.de>
17083
17084 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17085 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17086
17087 2006-06-02 Roman Kennke <kennke@aicas.com>
17088
17089 * javax/swing/JTable.java
17090 (columnSelectionChanged): Don't return when there's only one
17091 column (might still need repainting). Correctly calculate
17092 repaint rectangle.
17093 (valueChanged): Use return value of SwingUtilities.computeUnion
17094 as dirty region.
17095
17096 2006-06-01 Keith Seitz <keiths@redhat.com>
17097
17098 From Martin Platter <motse@complang.tuwien.ac.at>:
17099 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17100 (executeSet): Fix buffer underflow reading reference ID.
17101 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17102 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17103 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17104 (executeSuperclass): Handle case of Object with ID zero.
17105
17106 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17107
17108 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17109 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17110 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17111 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17112 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17113 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17114 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17115 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17116 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17117 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17118 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17119
17120 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17121
17122 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17123 (Command): Add the shutdown hook.
17124 (doCommand): Remove the shutdown hook.
17125 (ShutdownHook): New class.
17126
17127 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17128
17129 * tools/jarsigner.in: Use @VM_BINARY@.
17130 * tools/keytool.in: Likewise.
17131
17132 2006-06-01 Sven de Marothy <sven@physto.se>
17133
17134 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17135 (setColor): Update the cairo paint.
17136
17137 2006-06-01 Mark Wielaard <mark@klomp.org>
17138
17139 * java/util/logging/LogManager.java (createInstance): Always add
17140 original exception on warning.
17141
17142 2006-06-01 Lillian Angel <langel@redhat.com>
17143
17144 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17145 (prependCodebase): Fixed check. No dirname was ever considered to
17146 be a file, so every applet fell into the if-statement causing a lot
17147 of classloading problems with the applets.
17148
17149 2006-06-01 Sven de Marothy <sven@physto.se>
17150
17151 Patch submitted by Boris Dusek.
17152 * native/jni/qt-peer/qtmenupeer.cpp
17153 Fix segfault
17154
17155 2006-06-01 Roman Kennke <kennke@aicas.com>
17156
17157 * javax/swing/JTable.java
17158 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17159 why the behaviour is like it is.
17160 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17161 (AccessibleJTableHeader): New inner class.
17162 (AccessibleJTableHeaderCell): New inner class.
17163 (AccessibleJTable.lastSelectedRow): New field.
17164 (AccessibleJTable.lastSelectedColumn): New field.
17165 (AccessibleJTable.caption): New field.
17166 (AccessibleJTable.summary): New field.
17167 (AccessibleJTable.rowDescriptions): New field.
17168 (AccessibleJTable.columnDescriptions): New field.
17169 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17170 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17171 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17172 (AccessibleJTable.addAccessibleSelection): Implemented.
17173 (AccessibleJTable.removeAccessibleSelection): Implemented.
17174 (AccessibleJTable.clearAccessibleSelection): Implemented.
17175 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17176 (AccessibleJTable.valueChange): Implemented.
17177 (AccessibleJTable.tableRowsInserted): Implemented.
17178 (AccessibleJTable.tableRowsDeleted): Implemented.
17179 (AccessibleJTable.handleRowChange): New helper method.
17180 (AccessibleJTable.columnAdded): Implemented.
17181 (AccessibleJTable.columnMarginChanged): Implemented.
17182 (AccessibleJTable.columnMoved): Implemented.
17183 (AccessibleJTable.columnRemoved): Implemented.
17184 (AccessibleJTable.columnSelectionChanged): Implemented.
17185 (AccessibleJTable.handleColumnChange): New helper method.
17186 (AccessibleJTable.editingCanceled): Implemented.
17187 (AccessibleJTable.editingStopped): Implemented.
17188 (AccessibleJTable.getAccessibleRow): Implemented.
17189 (AccessibleJTable.getAccessibleColumn): Implemented.
17190 (AccessibleJTable.getAccessibleIndex): Implemented.
17191 (AccessibleJTable.getAccessibleCaption): Implemented.
17192 (AccessibleJTable.setAccessibleCaption): Implemented.
17193 (AccessibleJTable.getAccessibleSummary): Implemented.
17194 (AccessibleJTable.setAccessibleSummary): Implemented.
17195 (AccessibleJTable.getAccessibleRowCount): Implemented.
17196 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17197 (AccessibleJTable.getAccessibleAt): Implemented.
17198 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17199 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17200 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17201 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17202 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17203 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17204 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17205 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17206 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17207 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17208 (AccessibleJTable.isAccessibleSelected): Implemented.
17209 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17210 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17211 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17212 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17213 (getAccessibleContext): Register listeners for the accessibility
17214 class on the JTable.
17215
17216 2006-06-01 Sven de Marothy <sven@physto.se>
17217
17218 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17219 (setPaint): Scale +1 pixel larger.
17220
17221 2006-06-01 Sven de Marothy <sven@physto.se>
17222
17223 PR 27854
17224 * gnu/java/awt/Buffers.java (getData): Reimplement.
17225 * gnu/java/awt/peer/gtk/CairoSurface.java
17226 (getElem, setElem): Call native methods.
17227
17228 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17229
17230 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17231
17232 2006-06-01 Sven de Marothy <sven@physto.se>
17233
17234 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17235 (drawImage): Check for zero size.
17236 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17237 (setFont): Declare new native method.
17238 (GdkTextLayout): Read some attributes.
17239 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17240 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17241 (setFont): New native method.
17242
17243 2006-06-01 Sven de Marothy <sven@physto.se>
17244
17245 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17246 (updateBufferedImage): Fix some errors.
17247
17248 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17249
17250 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17251 fixes,
17252 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17253 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17254 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17255 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17256 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17257 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17258 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17259 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17260 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17261 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17262
17263 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17264
17265 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17266 * javax/swing/JEditorPane.java: Likewise,
17267 * javax/swing/JFormattedTextField.java: Likewise,
17268 * javax/swing/JLayeredPane.java: Likewise,
17269 * javax/swing/JScrollPane.java: Likewise,
17270 * javax/swing/JSlider.java: Likewise,
17271 * javax/swing/JSpinner.java: Likewise,
17272 * javax/swing/JTree.java: Likewise,
17273 * javax/swing/JViewport.java: Likewise,
17274 * javax/swing/UIDefaults.java: Likewise,
17275 * javax/swing/UIManager.java: Likewise.
17276
17277 2006-06-01 Sven de Marothy <sven@physto.se>
17278
17279 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17280 (BufferedImageGraphics): Cache surfaces.
17281 (updateBufferedImage): Copy directly for certain color models.
17282 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17283 (drawImage): Reimplement.
17284
17285 2006-06-01 Sven de Marothy <sven@physto.se>
17286
17287 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17288 (setPixels): Don't swap, correct size.
17289
17290 2006-05-31 Anthony Green <green@redhat.com>
17291
17292 PR 27828
17293 * java/net/InetSocketAddress.java: Defer getting the host
17294 name until somebody calls InetSocketAddress.getHostName().
17295 Fix "represenation" typo.
17296
17297 2006-06-01 Sven de Marothy <sven@physto.se>
17298
17299 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17300 (updateBufferedImage): Simplify.
17301 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17302 (getPixels): Don't swap.
17303
17304 2006-06-01 Sven de Marothy <sven@physto.se>
17305
17306 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17307 (setGradient): Reimplement.
17308
17309 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17310
17311 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17312 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17313 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17314 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17315 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17316 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17317 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17318 Likewise.
17319
17320 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17321
17322 * javax/swing/table/JTableHeader.java
17323 (getColumnHeaderRenderer): New method,
17324 (getAccessibleColumnHeaderRenderer): Delegate part to new
17325 getColumnHeaderRenderer() method,
17326 (getLocale): Implemented.
17327
17328 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17329
17330 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17331 (cp_gtk_grab_current_drawable): Rename
17332 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17333 cp_gtk_grab_current_drawable, remove static declaration.
17334 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17335 function.
17336 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17337 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17338 Remove prototype of
17339 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17340 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17341 function.
17342 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17343 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17344 cp_gtk_grab_current_drawable here.
17345
17346 2006-05-31 Sven de Marothy <sven@physto.se>
17347
17348 Should fix PR 27835
17349 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17350 (updateBufferedImage): Keep within image bounds.
17351
17352 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17353 Andreas Tobler <a.tobler@schweiz.ch>
17354
17355 * configure.ac: Check for libXrender when the GTK peers are
17356 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17357 X_EXTRA_LIBS.
17358 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17359 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17360 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17361
17362 2006-05-31 Lillian Angel <langel@redhat.com>
17363
17364 * javax/swing/plaf/basic/BasicProgressBarUI.java
17365 (paintString): Implemented to paint the string vertically.
17366
17367 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17368
17369 * javax/swing/JTable.java
17370 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17371 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17372 value,
17373 (AccessibleJTable.getAccessibleTable()): Likewise,
17374 (getAccessibleContext): Create new context if required.
17375
17376 2006-05-31 Roman Kennke <kennke@aicas.com>
17377
17378 * javax/swing/JTabbedPane.java
17379 (AccessibleJTabbedPane.stateChanged): Implemented.
17380 (Page.getAccessibleStateSet): Implemented.
17381 (Page.getAccessibleIndexInParent): Implemented.
17382 (getAccessibleContext): Add AccessibleJTabbedPane object
17383 as ChangeListener to the JTabbedPane.
17384
17385 2006-05-31 Roman Kennke <kennke@aicas.com>
17386
17387 * javax/swing/JMenuItem.java
17388 (getAccessibleContext): Register accessible object as ChangeListener
17389 to the JMenuItem.
17390 (AccessibleJMenuItem.armed): New field.
17391 (AccessibleJMenuItem.focusOwner): New field.
17392 (AccessibleJMenuItem.pressed): New field.
17393 (AccessibleJMenuItem.selected): New field.
17394 (stateChanged): Implemented.
17395
17396 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17397
17398 * javax/swing/ListSelectionModel.java: Added API docs all over.
17399
17400 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17401
17402 * examples/gnu/classpath/examples/swing/FillRect.java
17403 (paintComponent): Optionally paint lines rather than rectangles.
17404 (createContent): Added option to test line painting.
17405
17406 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17407
17408 * javax/swing/event/EventListenerList.java
17409 (getListenerList): Updated API docs.
17410
17411 2006-05-30 Sven de Marothy <sven@physto.se>
17412
17413 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17414 (drawImage): Clip scaled image to dest rectangle.
17415
17416 2006-05-30 Sven de Marothy <sven@physto.se>
17417
17418 * gnu/java/awt/peer/gtk/CairoSurface.java:
17419 (CairoSurface): Convert pixels properly.
17420 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17421 Remove commented-out lines.
17422
17423 2006-05-30 Sven de Marothy <sven@physto.se>
17424
17425 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17426 (drawImage): Use Toolkit to convert to BufferedImage.
17427 * gnu/java/awt/peer/gtk/CairoSurface.java
17428 (CairoSurface(GtkImage)): New Constructor.
17429 (getBufferedImage): New method.
17430 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17431 Don't fill background - FIXME.
17432 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17433 Remove unused methods.
17434 * gnu/java/awt/peer/gtk/GtkImage.java:
17435 (pixbuflock): New field. Methods change to use this lock.
17436 * gnu/java/awt/peer/gtk/GtkToolkit.java
17437 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17438 GtkPixbufDecoder.
17439 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17440 (setPixels): Correct length in bytes.
17441
17442 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17443
17444 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17445 System.loadLibrary unconditionally.
17446 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17447 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17448 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17449 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17450
17451 2006-05-30 Mark Wielaard <mark@klomp.org>
17452
17453 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17454 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17455 Mark unused parameters, remove unused variables.
17456
17457 2006-05-30 Sven de Marothy <sven@physto.se>
17458
17459 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17460 (copyArea): Implemented.
17461 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17462 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17463 (copyAreaNative): New method.
17464
17465 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17466
17467 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17468 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17469 for non big endian systems.
17470 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17471
17472 2006-05-30 Roman Kennke <kennke@aicas.com>
17473
17474 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17475 * java/awt/TexturePaint.java
17476 (createContext): Implemented.
17477
17478 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17479
17480 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17481 field early.
17482
17483 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17484
17485 * java/awt/Container.java:
17486 (removeAll): Reimplemented, added note.
17487
17488 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17489
17490 * java/awt/Container.java:
17491 (removeAll): Implemented different removal mechanism, added note.
17492
17493 2006-05-30 Lillian Angel <langel@redhat.com>
17494
17495 PR 27785
17496 * java/awt/Component.java:
17497 (translateEvent): Added handling to translate WindowEvents
17498 * java/awt/Window.java:
17499 Removed unneeded imports.
17500
17501 2006-05-30 Mark Wielaard <mark@klomp.org>
17502
17503 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17504 cairographics2d.h.
17505
17506 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17507
17508 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17509
17510 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17511
17512 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17513 (clearRect): Do not reuse the fg field, call updateColor.
17514 (drawRaster): Likewise.
17515 (setColor): Call updateColor.
17516 (updateColor): New method.
17517
17518 2006-05-30 Mark Wielaard <mark@klomp.org>
17519
17520 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17521 (PTR_TO_JLONG): Likewise.
17522 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17523 (getPointer): Use new conversion macros.
17524 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17525 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17526 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17527 Likewise.
17528 (setNativeObject): Likewise.
17529 (getNativeObject): Likewise.
17530 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17531 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17532 Mark static.
17533 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17534 Correctly cast XID and pointer values.
17535 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17536 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17537 Mark unused variables.
17538 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17539 Likewise.
17540 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17541 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17542 Remove unused cairographics2d struct.
17543 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17544 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17545 Use new conversion macros.
17546 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17547
17548 2006-05-30 Mark Wielaard <mark@klomp.org>
17549
17550 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17551
17552 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17553
17554 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17555 (copy): Do not reuse the fd field.
17556 (setColor): Do not set the color if the parameter
17557 matches fd field.
17558 (translate(double, double): Rewritten to use
17559 AffineTransform.translate.
17560
17561 2006-05-30 Sven de Marothy <sven@physto.se>
17562
17563 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17564 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17565 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17566 New files.
17567 * include/Makefile.am
17568 * native/jni/gtk-peer/Makefile.am
17569 Add new files.
17570 * gnu/java/awt/peer/gtk/CairoSurface.java
17571 (getSharedGtkImage): New method.
17572 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17573 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17574 Fix copyArea.
17575 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17576 Support a non-xrender context.
17577 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17578 Plug memory leak.
17579 * gnu/java/awt/peer/gtk/GtkImage.java
17580 * include/gnu_java_awt_peer_gtk_GtkImage.h
17581 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17582 (initFromBuffer): New method.
17583 * native/jni/gtk-peer/gtkpeer.h:
17584 Remove declarations of previouslyremoved methods.
17585
17586 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
17587
17588 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17589
17590 2006-05-29 Mark Wielaard <mark@klomp.org>
17591
17592 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17593 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17594 arguments.
17595 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17596 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17597 early. Remove unused return statement in void function.
17598 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17599 ptr early.
17600 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17601 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17602 unused arguments.
17603 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17604 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17605 Likewise.
17606 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17607 Likewise.
17608
17609 2006-05-29 Sven de Marothy <sven@physto.se>
17610
17611 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17612 (setPixels): Remove superfluous return statement.
17613
17614 2006-05-29 Sven de Marothy <sven@physto.se>
17615
17616 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17617 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17618 * gnu/java/awt/peer/gtk/CairoSurface.java
17619 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17620 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17621 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17622 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17623 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17624 * native/jni/gtk-peer/cairographics2d.h
17625 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17626 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17627 New files.
17628
17629 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17630 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17631 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
17632 Removed
17633
17634 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17635 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17636 * gnu/java/awt/peer/gtk/GdkFontPeer.java
17637 (releasePeerGraphicsResource): Moved to Font peer class.
17638
17639 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
17640 (createGraphics): Use new context classes.
17641
17642 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17643 Use native BufferedImages where possible.
17644
17645 * gnu/java/awt/peer/gtk/GdkTextLayout.java
17646 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17647 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17648 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
17649 renamed to cairoDrawGdkTextLayout.
17650
17651 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17652 (getGraphics): Use ComponentGraphics context.
17653 (createImage): Use native BufferedImage.
17654
17655 * gnu/java/awt/peer/gtk/GtkImage.java:
17656 * include/gnu_java_awt_peer_gtk_GtkImage.h
17657 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17658 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
17659 Remove drawing methods.
17660
17661 * gnu/java/awt/print/JavaPrinterGraphics.java:
17662 Use CairoSurface instead of GtkImage.
17663
17664 * include/Makefile.am
17665 * native/jni/gtk-peer/Makefile.am
17666 Update for new files.
17667
17668 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
17669 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
17670 Remove superfluous GtkImage code for GdkPixmaps.
17671
17672 * native/jni/gtk-peer/gtkpeer.h
17673 Remove graphics2d structure.
17674
17675 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17676
17677 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
17678 Do not reuse fg in the constructor.
17679
17680 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
17681
17682 * java/io/ObjectStreamConstants.java: Added API docs.
17683
17684 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17685
17686 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
17687 Take no action if this color is already set.
17688
17689 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17690
17691 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
17692 Rewritten.
17693 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
17694 Optionally paint with translation. (createContent): Added option
17695 to test painting with translation
17696
17697 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
17698
17699 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
17700 pattern to the default value when null.
17701 Pass field pattern, and not parameter with same name to createFileStream.
17702
17703 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
17704
17705 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
17706 New class implementing the OS bean.
17707 * gnu/java/lang/management/package.html:
17708 New file to document the gnu.java.lang.management package.
17709 * java/lang/management/ManagementFactory.java:
17710 New class to provide access to the OS bean.
17711 * java/lang/management/OperatingSystemMXBean.java:
17712 New interface.
17713 * java/lang/management/package.html:
17714 New file to document the java.lang.management package.
17715
17716 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17717
17718 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
17719 (JKS): Likewise.
17720 (LIB): Likewise.
17721 (SECURITY): Likewise.
17722 (CACERTS): Likewise.
17723 (CACERTS_GKR): Likewise.
17724 (gkrCaCertsPathName): New field.
17725 (jksCaCertsPathName): Likewise.
17726 (selfSignedCertificate): Likewise.
17727 (start): Initialize trusted certificate key stores if -trustcacerts is
17728 specified.
17729 (ensureReplyIsOurs): Initialize selfSignedCertificate.
17730 (orderChain): Implemented.
17731 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
17732 certificate key stores if -trustcacerts option is specified.
17733 (findTrustInCACerts): Removed.
17734 (getCertPathParameters): New method.
17735 (validate): New method.
17736 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
17737
17738 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17739
17740 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
17741 (PATTERN_KEY): Likewise.
17742 (DEFAULT_PATTERN): Likewise.
17743 (LIMIT_KEY): Likewise.
17744 (DEFAULT_LIMIT): Likewise.
17745 (COUNT_KEY): Likewise.
17746 (DEFAULT_COUNT): Likewise.
17747 (APPEND_KEY): Likewise.
17748 (DEFAULT_APPEND): Likewise.
17749 (FileHandler()): Use pattern value as set in logging.properties.
17750 Use constants defined above.
17751 (FileHandler(1)): Use constants defined above.
17752 (FileHandler(2)): Likewise.
17753 (FileHandler(3)): Likewise.
17754 (FileHandler(4)): Likewise.
17755 (createFileStream): Likewise.
17756
17757 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17758
17759 * java/util/logging/FileHandler.java: Reverted previous patch.
17760 * java/util/logging/LogManager.java: Likewise.
17761
17762 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17763
17764 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
17765 (DEFAULT_PATTERN): Likewise.
17766 (FileHandler()): Use configured pattern property if any; otherwise use a
17767 default value as per RI documentation.
17768 * java/util/logging/LogManager.java (getStringProperty): New method.
17769
17770 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17771
17772 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
17773
17774 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17775
17776 * configure.ac (FOUND_CACAO): New automake conditional.
17777 Add --enable-tool-wrappers.
17778 * NEWS: Introduce the --enable-tool-wrappers option.
17779 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
17780 * tools/appletviewer.c: Remove file. Make tool-indepedent and
17781 rename ...
17782 * tools/toolwrapper.c: New file.
17783
17784 2006-05-27 Dalibor Topic <robilad@kaffe.org>
17785
17786 * java/awt/Graphics2D.java: Use full class name for
17787 PrinterJob in javadoc.
17788
17789 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
17790
17791 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
17792 (callMouseMethod): Likewise.
17793
17794 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17795
17796 * native/jni/java-net/java_net_VMURLConnection.c:
17797 Fix function declarations to specify unused parameters.
17798 * scripts/check_jni_methods.sh:
17799 Remove copies of the same function using uniq.
17800
17801 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17802
17803 * vm/reference/java/net/VMURLConnection.java:
17804 Make package-private and final.
17805
17806 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17807
17808 * examples/gnu/classpath/examples/swing/TableDemo.java
17809 (TModed): Added editor for the icons column.
17810 (createContent): Increase the row height by 2 px.
17811
17812 2006-05-26 Tom Tromey <tromey@redhat.com>
17813
17814 PR classpath/27685:
17815 * java/math/BigInteger.java (modPow): Correctly handle negative
17816 exponent.
17817
17818 2006-05-26 Tom Tromey <tromey@redhat.com>
17819
17820 * configure.ac: Check for magic.h and -lmagic.
17821 * vm/reference/java/net/VMURLConnection.java: New file.
17822 * include/java_net_VMURLConnection.h: New file.
17823 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
17824 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
17825 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
17826 Mention new file.
17827 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
17828 * native/jni/java-net/java_net_VMURLConnection.c: New file.
17829
17830 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17831
17832 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
17833
17834 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17835
17836 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
17837 libjawtgnu.la libjawt.la.
17838
17839 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17840
17841 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17842 gtkcairopeer.h.
17843
17844 2006-05-25 Lillian Angel <langel@redhat.com>
17845
17846 PR 26174
17847 * java/awt/Window.java
17848 (Window): Moved code to helper.
17849 (addWindowFocusListener): New function. Handles focus
17850 listener code. Added code to handle focus lost/gained
17851 from the window.
17852
17853 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
17854
17855 * configure.ac:
17856 Make pkg-config check for GTK+ >= 2.8.
17857
17858 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17859
17860 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17861 (flush): Remove debugging printfs.
17862
17863 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17864
17865 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17866 (schedule_flush): New function.
17867 (end_drawing_operation): Call schedule_flush.
17868
17869 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17870
17871 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
17872 paint performance demo.
17873 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
17874
17875 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17876
17877 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
17878 Cairo version requirement. Do not mention --enable-gtk-cairo
17879 configure option.
17880 * NEWS: Add entry for GdkGraphics2D.
17881 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
17882 Cairo library and headers.
17883 * .externalToolBuilders/Configure.launch: Remove
17884 --enable-gtk-cairo from configure line.
17885 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
17886 field.
17887 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
17888 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
17889 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
17890 useGraphics2D references. Always assume Graphics2D is enabled.
17891 * gnu/java/awt/peer/gtk/GdkGraphics.java,
17892 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
17893 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
17894 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
17895 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
17896 useGraphics2D references. Always assume Graphics2D is enabled.
17897 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
17898 Graphics2D check. Always assume Graphics2D is enabled.
17899 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
17900 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
17901 (realize): Remove method.
17902 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
17903 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17904 (isRealized): Remove method.
17905 (realize): Implement as a native method. Remove useGraphics2D
17906 references. Always assume Graphics2D is enabled.
17907 * gnu/java/awt/peer/gtk/GtkImage.java,
17908 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
17909 GdkGraphics references with GdkGraphics2D references.
17910 * gnu/java/awt/peer/gtk/GtkToolkit.java,
17911 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
17912 useGraphics2D references. Always assume Graphics2D is enabled.
17913 * include/Makefile.am (GTKPEER_H_FILES): Remove
17914 gnu_java_awt_peer_gtk_GdkGraphics.h.
17915 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
17916 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
17917 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
17918 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
17919 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
17920 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
17921 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17922 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
17923 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
17924 (AM_LDFLAGS): Remove CAIRO_LIBS.
17925 (AM_CFLAGS): Remove CAIRO_CFLAGS.
17926 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
17927 to ...
17928 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
17929
17930 2006-05-25 Lillian Angel <langel@redhat.com>
17931
17932 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17933 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
17934 Added check to prevent assertion error. If widget->window is null, then
17935 use the parent widget's window to set the cursor on.
17936
17937 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17938
17939 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
17940 Implemented.
17941
17942 2006-05-24 Lillian Angel <langel@redhat.com>
17943
17944 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17945 (prependCodeBase): Added check to determine if the documentbase
17946 points to a directory or a file.
17947
17948 2006-05-24 Sven de Marothy <sven@physto.se>
17949
17950 * java/awt/dnd/DragGestureRecognizer.java
17951 (resetRecognizer): Implement.
17952 (fireDragGestureRecognized): Implement.
17953
17954 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
17955
17956 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
17957 fixed source code formatting.
17958
17959 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17960
17961 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
17962
17963 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17964
17965 Reported by Antony Balkisson.
17966 * javax/swing/JTable.java (selectAll): Return without action
17967 if the table is empty.
17968
17969 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17970
17971 * examples/gnu/classpath/examples/swing/TableDemo.java:
17972 (SliderCell): New inner class. (setCustomEditors,
17973 setInformativeHeaders): New fields. (createContent):
17974 Rewritten.
17975 * javax/swing/DefaultCellEditor.java
17976 (JComboBoxDelegate.shouldSelectCell): New method.
17977 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
17978 * javax/swing/plaf/basic/BasicTableUI.java
17979 (MouseInputHandler.mouseClicked): Start editing on a single
17980 click if the cell editor is not a default cell editor.
17981
17982 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17983
17984 * javax/swing/naming/CompositeName.java,
17985 javax/swing/naming/CompoundName.java:
17986 Documented.
17987
17988 2006-05-23 Archie Cobbs <archie@dellroad.org>
17989
17990 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
17991 ordering problem.
17992
17993 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
17994
17995 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
17996 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
17997 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
17998 * javax/swing/tree/DefaultTreeModel.java: Likewise,
17999 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18000 * javax/swing/tree/ExpandVetoException.java: Likewise,
18001 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18002 * javax/swing/tree/RowMapper.java: Likewise,
18003 * javax/swing/tree/TreeNode.java: Likewise,
18004 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18005 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18006
18007 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18008
18009 * javax/swing/tree/DefaultTreeCellRenderer.java
18010 (DefaultTreeCellRenderer): Changed key for
18011 setBackgroundNonSelectionColor(),
18012 plus API docs all over.
18013
18014 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18015
18016 PR 27680
18017 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18018 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18019 Initialise in constructor. (columnMoved): Cancel editing.
18020 (createDefaultEditors): Rewritten. (editCellAt):
18021 Just invert the value if this is a boolean cell.
18022 (initialiseLocalVars): Do not initialise renderer and editor tables.
18023 (setUI): Create editors and renderers here.
18024
18025 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18026
18027 * examples/gnu/classpath/examples/awt/Demo.java:
18028 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18029 instance as subframe.
18030 (ResolutionWindow): New inner class.
18031 (FullscreenWindow): New inner class.
18032
18033 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18034
18035 PR 27680
18036 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18037 Set horizontal alignment to centered.
18038
18039 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18040
18041 * javax/accessibility/AccessibleContext.java
18042 (getAccessibleComponent): Fixed typo in docs,
18043 * javax/swing/JLabel.java:
18044 (AccessibleJLabel.getAccessibleName): Check for explicit
18045 accessibleName,
18046 * javax/swing/JTableHeader.java
18047 (AccessibleJTableHeaderEntry.columnIndex): New field,
18048 (AccessibleJTableHeaderEntry.parent): New field,
18049 (AccessibleJTableHeaderEntry.table): New field,
18050 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18051 Implemented,
18052 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18053 utility method,
18054 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18055 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18056 (AccessibleJTableHeaderEntry.contains): Implemented,
18057 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18058 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18059 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18060 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18061 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18062 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18063 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18064 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18065 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18066 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18067 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18068 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18069 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18070 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18071 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18072 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18073 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18074 (AccessibleJTableHeaderEntry.getFont): Implemented,
18075 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18076 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18077 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18078 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18079 (AccessibleJTableHeaderEntry.getSize): Implemented,
18080 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18081 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18082 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18083 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18084 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18085 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18086 Implemented,
18087 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18088 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18089 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18090 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18091 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18092 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18093 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18094 (AccessibleJTableHeaderEntry.setFont): Implemented,
18095 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18096 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18097 (AccessibleJTableHeaderEntry.setSize): Implemented,
18098 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18099 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18100 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18101 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18102 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18103
18104 2006-05-22 Tom Tromey <tromey@redhat.com>
18105
18106 * NEWS: Updated.
18107
18108 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18109
18110 * javax/swing/JLabel.java
18111 (AccessibleJLabel.getAccessibleName): New method (override),
18112 (setLabelFor): Fire 'labelFor' property change event before other
18113 events.
18114
18115 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18116
18117 * javax/swing/JLabel.java
18118 (AccessibleJLabel.getAccessibleRole): New method (override).
18119
18120 2006-05-22 Tom Tromey <tromey@redhat.com>
18121
18122 * resource/gnu/classpath/tools/serialver/messages.properties: New
18123 file.
18124 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18125 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18126 field.
18127 (classpath): Likewise.
18128 (run): New method.
18129 (main): Use it.
18130 (addFileURL): New method.
18131 (getClassLoader): Likewise.
18132 (printMessage): Likewise.
18133
18134 2006-05-22 Tom Tromey <tromey@redhat.com>
18135
18136 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18137
18138 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18139
18140 * javax/swing/JTable.java (doLayout): In the column
18141 resize mode, only repaing the changed part of the table.
18142 (getLeftResizingBoundary): New method.
18143
18144 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18145
18146 * javax/naming/spi/InitialContextFactory.java,
18147 javax/naming/spi/InitialContextFactoryBuilder.java,
18148 javax/naming/spi/NamingManager.java,
18149 javax/naming/spi/ObjectFactory.java,
18150 javax/naming/spi/ResolveResult.java,
18151 javax/naming/spi/Resolver.java,
18152 javax/naming/spi/StateFactory.java: Documented.
18153
18154 2006-05-21 Tom Tromey <tromey@redhat.com>
18155
18156 PR classpath/27688:
18157 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18158 a WorkSet.
18159 (initSet): Removed.
18160 (shouldExtract): Removed.
18161 (run): Updated.
18162 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18163 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18164 method.
18165 (listJar): Use it.
18166 (allItems): New field.
18167 (run): Initialize it.
18168 (listJar): Use it.
18169
18170 2006-05-22 Sven de Marothy <sven@physto.se>
18171
18172 * java/nio/CharBuffer.java
18173 (wrap): Fix bounds checking.
18174
18175 2004-08-26 Tom Tromey <tromey@redhat.com>
18176
18177 * java/io/OutputStream.java
18178 (OutputStream): Implements Closeable, Flushable.
18179
18180 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18181
18182 * java/io/ObjectOutputStream.java:
18183 (writeObject(Object)): Added enum support.
18184 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18185 * java/io/ObjectStreamClass.java:
18186 (isEnum()): New package-private method.
18187 (setFlags(Class)): Added enum support.
18188 * java/io/ObjectStreamConstants.java:
18189 (SC_ENUM): Added.
18190
18191 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18192
18193 * java/io/ObjectInputStream.java:
18194 (parseContent(byte)): Added enum support.
18195 * java/io/ObjectStreamConstants.java:
18196 (TC_ENUM): Added.
18197 (TC_MAX): Changed to new maximum, TC_ENUM.
18198
18199 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18200
18201 * java/beans/beancontext/BeanContextSupport.java:
18202 (instantiateChild(String)): Implemented.
18203
18204 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18205
18206 * java/beans/beancontext/BeanContextSupport.java:
18207 (add(Object)): Add further documentation.
18208 (isEmpty()): Documented.
18209 (propertyChange(PropertyChangeEvent)): Implemented.
18210 (remove(Object)): Documented.
18211 (remove(Object,boolean)): Documented and implemented.
18212 (vetoableChange(PropertyChangeEvent)): Marked as
18213 implemented (only subclasses appear to need this).
18214
18215 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18216
18217 * java/beans/beancontext/BeanContextSupport.java:
18218 (add(Object)): Implement support for the child being
18219 a BeanContextChild.
18220 (avoidingGui()): Implemented.
18221 (dontUseGui()): Likewise.
18222 (needsGui()): Likewise.
18223 (okToUseGui()): Likewise.
18224
18225 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18226
18227 * javax/naming/Context.java,
18228 javax/naming/ContextNotEmptyException.java,
18229 javax/naming/Reference.java: Documented.
18230
18231 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18232
18233 * javax/swing/text/html/MinimalHTMLWriter.java
18234 (writeComponent, writeImage): Declare that the method
18235 may throw the IOException.
18236
18237 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18238
18239 PR 26972
18240 * javax/naming/InitialContext.java (colon_list): Changed type to
18241 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18242 (merge): Rewritten.
18243
18244 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18245
18246 * javax/naming/InitialContext.java: Documented.
18247
18248 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18249
18250 * javax/naming/NameParser.java,
18251 javax/naming/NamingEnumeration.java,
18252 javax/naming/PartialResultException.java,
18253 javax/naming/SizeLimitExceededException.java,
18254 javax/naming/spi/ObjectFactory.java,
18255 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18256
18257 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18258
18259 * gnu/java/net/loader/JarURLLoader.java:
18260 Use Map.Entry instead of LinkedHashMap.Entry
18261
18262 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18263
18264 * javax/naming/Context.java: Documented.
18265
18266 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18267
18268 * javax/naming/Referenceable.java: Documented.
18269 * javax/naming/spi/NamingManager.java: Documented.
18270
18271 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18272
18273 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18274 to messages.properties.
18275 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18276 Renamed to messages.properties.
18277 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18278 Likewise.
18279 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18280 Renamed from MessageBundle.properties.
18281 Added copyright notice.
18282 * resource/gnu/classpath/tools/keytool/messages.properties:
18283 Likewise.
18284 * tools/gnu/classpath/tools/jarsigner/Messages.java
18285 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18286 (getFormattedString): Fixed a spelling mistake.
18287 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18288
18289 2006-05-20 Sven de Marothy <sven@physto.se>
18290
18291 * gnu/java/awt/font/opentype/NameDecoder.java
18292 Made class public.
18293 (getName): Use getShort instead of getChar(), fix PS name.
18294 (decodeName): New method.
18295 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18296 (getSubFamilyName): Implement.
18297 (getPostScriptName): Use the NameDecoder class instead.
18298 (parsePSName): Removed.
18299 (getName): Added
18300
18301 2006-05-20 Sven de Marothy <sven@physto.se>
18302
18303 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18304 (getTrueTypeTable): New native method.
18305 (getPostScriptName): Reimplement.
18306 (parsePSName): New method.
18307 (getNumGlyphs): Implement.
18308 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18309 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18310 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18311 New function. File is now explicitly dependent on FT2.
18312
18313 2006-05-20 Tom Tromey <tromey@redhat.com>
18314
18315 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18316 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18317 file.
18318 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18319 (HandleFile): New class.
18320 (input, output, encoding, reversed): New fields.
18321 (createParser): New method.
18322 (run): Likewise.
18323 (main): Use 'run'.
18324 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18325 (notifyFile): Throws OptionException.
18326
18327 2006-05-20 Tom Tromey <tromey@redhat.com>
18328
18329 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18330 from cp-tools.
18331
18332 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18333
18334 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18335 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18336 platforms.
18337
18338 2006-05-20 Sven de Marothy <sven@physto.se>
18339
18340 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18341
18342 2006-05-20 Sven de Marothy <sven@physto.se>
18343
18344 * gnu/java/awt/print/JavaPrinterJob.java
18345 (print): Use PostScriptGraphics2D.
18346 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18347
18348 2006-05-20 Sven de Marothy <sven@physto.se>
18349
18350 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18351
18352 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18353
18354 * gnu/java/security/OID.java: Updated copyright year.
18355 (OID): Removed unused Javadoc param tag.
18356 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18357 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18358
18359 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18360
18361 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18362 Formatting.
18363 Added trace/debug statements.
18364 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18365 Entry. Also ensure that any previous entry for this alias is removed
18366 before a new one is added.
18367 (engineGetKey): Do not trace/log passwords.
18368 Trace key's class name only.
18369 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18370 Certificate Entry. Also ensure that previous entry for this alias is
18371 removed before a new one is added.
18372 (engineLoad): Do not trace/log passwords.
18373 (engineStore): Likewise.
18374 (engineSize): Use size of enumeration instead of collection size.
18375
18376 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18377
18378 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18379 (toString): New method.
18380 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18381 Do not trace/log passwords.
18382 Set masked to false before decoding envelope.
18383 Do not set payload to null.
18384 (encrypt): Set masked to true.
18385 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18386 Do not trace/log passwords.
18387 Set masked to false before decoding envelope.
18388 Do not set payload to null.
18389 Added trace/debug statements.
18390 (authenticate): Do not trace/log passwords.
18391 Set masked to true.
18392 Added trace/debug statements.
18393 (getMac): Added trace/debug statements.
18394 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18395 (remove(String)): Changed the signature to return a boolean.
18396 (toString): New method.
18397 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18398 Formatting
18399 (getCertificate): Likewise.
18400 (putCertificate): Likewise.
18401 (load): Likewise.
18402 Do not trace/log passwords.
18403 (store): Likewise.
18404 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18405 Do not trace/log passwords.
18406 Added more trace/logging statements.
18407 (putPrivateKey): Do not trace/log passwords.
18408 Trace only key's class name.
18409 Formatting.
18410 (containsPublicKey): Formatting.
18411 (getPublicKey): Likewise.
18412 Trace only key's class name.
18413 (putPublicKey): Trace only key's class name.
18414 (containsCertPath): Formatting.
18415 (getCertPath): Likewise.
18416 (putCertPath): Likewise.
18417 (load): Do not trace/log passwords.
18418 Formatting.
18419 (store): Likewise.
18420 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18421 (add): Do not set payload to null.
18422 Added trace/debug statements.
18423 (containsAlias): Added trace/debug statements.
18424 (get): Likewise.
18425 (remove(Entry)): Likewise.
18426 (remove(String)): Likewise.
18427 Changed the signature to return a boolean.
18428 Do not set payload to null unless really removed.
18429 (toString): New method.
18430 (decodeEnvelope): Clear entries before proceeding.
18431 (makeAliasList): Added trace/debug statements.
18432 Ensure only non-null aliases and alias-lists are added.
18433 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18434 (TYPES): New constant.
18435 (toString): New method.
18436 (defaultDecode): Add trace/debug statement.
18437
18438 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18439
18440 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18441 Increased visibility.
18442 (setup): Do not trace/log passwords.
18443 (parsed): Was not setting correct (rfc) field; fixed.
18444 (print1Chain): Formatting.
18445 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18446 Do not trace/log passwords.
18447 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18448 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18449 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18450 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18451 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18452 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18453 (orderChain): Added FIXME.
18454 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18455 Do not trace/log passwords.
18456 Removed commented out code.
18457 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18458 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18459 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18460 (setKeystoreURLParam): Likewise.
18461 (setKeystorePasswordParam): Do not trace/log passwords.
18462 (saveKeyStore): Likewise.
18463
18464 2006-05-19 Roman Kennke <kennke@aicas.com>
18465
18466 * gnu/java/awt/java2d/AbstractGraphics2D.java
18467 Added class docs.
18468 (pixel): Removed obsolete field.
18469 (draw(Shape)): Removed commented out code.
18470 (drawImage): Formatting.
18471 (drawString): Added optimization hook.
18472 (setPaint): Removed rawSetForeground().
18473 (getFontRenderContext): Return context with correct transform.
18474 (drawGlyphVector): Draw complete outline in one go.
18475 (copyArea): Added optimization hook.
18476 (clearRect): Added optimization hook.
18477 (drawImage): Added optimization hook.
18478 (fillShape): (Temporarily) Set antialiasing off by default for
18479 font rendering. Adjust the shape by some bits to improve rendering.
18480 Pass clip bounds to the render methods.
18481 (drawPixel): Removed.
18482 (rawSetPixel): Removed.
18483 (rawSetForeground): Removed.
18484 (rawDrawLine): Default impl calls standard pipeline.
18485 (rawDrawString): New method, calls standard pipeline for rendering.
18486 (rawClearRect): New method, calls standard pipeline for rendering.
18487 (rawFillRect): New method, calls standard pipeline for rendering.
18488 (rawDrawImage): New method, calls standard pipeline for rendering.
18489 (rawCopyArea): New method.
18490 (copyAreaImpl): New method.
18491 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18492 for rendering.
18493 (fillShapeAntialias): Fixed AA rendering.
18494 (fillScanlineAA): Fixed AA rendering.
18495 (getSegments): Take offset into account.
18496
18497 2006-05-19 Sven de Marothy <sven@physto.se>
18498
18499 * javax/swing/text/AbstractWriter.java
18500 (getText): Fix parameters (start, length) not (start, end).
18501
18502 2006-05-19 Tom Tromey <tromey@redhat.com>
18503
18504 PR classpath/27444:
18505 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18506 Changed return type.
18507 * java/net/URLClassLoader.java (urlloaders): Removed.
18508 (addURLImpl): Updated.
18509 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18510 (indexSet): Likewise.
18511 (classPath): Changed type.
18512 (JarURLLoader): New constructor.
18513 (initialize): New method.
18514 (getResource): Use index set if it exists.
18515 (getClassPath): Updated.
18516 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18517 (prefixes): New field.
18518 (headers): Removed.
18519 (IndexListParser): Fill in prefixes.
18520 (clearAll): Clear prefixes.
18521 (getHeaders): Changed return type.
18522
18523 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18524
18525 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18526 (MouseInputHandler.mouseExitted): No nothing there.
18527 (MouseInputHandler.endDragging): Move column to the
18528 first/last position if released outside the horizontal
18529 table range.
18530
18531 2006-05-19 Lillian Angel <langel@redhat.com>
18532
18533 * java/awt/font/GlyphVector.java
18534 (getGlyphCharIndex): Implemented.
18535 (getGlyphCharIndices): Implemented.
18536 (getGlyphOutline): Implemented.
18537 (getGlyphVisualBounds): Implemented.
18538 (getGlyphVisualBounds): Implemented.
18539 (getPixelBounds): Implemented.
18540 (getLayoutFlags): Implemented.
18541
18542 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18543
18544 * java/awt/LightweightDispatcher.java: Added field dragButton and
18545 documentation for it.
18546 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18547 added subexpression to if-clause in MOUSE_RELEASED case.
18548
18549 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18550
18551 * javax/swing/metal/MetalButtonUI.java:
18552 (update): Removed some subexpression from if-clause and call
18553 updateWithGradient.
18554 (updateWithGradient): New method.
18555
18556 2006-05-19 Roman Kennke <kennke@aicas.com>
18557
18558 * javax/swing/JComponent.java
18559 (findOverlapFreeParent): Implemented algorithm for finding
18560 overlapping in component hierarchy.
18561
18562 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18563
18564 * java/lang/Thread.java
18565 (contextClassLoaderIsSystemClassLoader): New field.
18566 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18567 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18568 and set contextClassLoaderIsSystemClassLoader.
18569 (Thread(ThreadGroup,Runnable,String,long)):
18570 Set contextClassLoaderIsSystemClassLoader.
18571 (createAnonymousThreadName): New method.
18572 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18573 and fixed security check.
18574 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18575
18576 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18577
18578 * javax/swing/plaf/basic/BasicToolBarUI.java:
18579 (createNonRolloverBorder): Rewritten.
18580 (createRolloverBorder): Rewritten.
18581 (setToNonRolloverBorder): Store old border instance in hashtable.
18582 (setToRolloverBorder): Store old border instance in hashtable, use
18583 AbstractButton instead of JButton in statements.
18584 (setBorderToNormal): Rewritten.
18585 * javax/swing/plaf/metal/MetalLookAndFeel.java:
18586 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18587 ToolBar.nonrolloverBorder.
18588
18589 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
18590
18591 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18592 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18593
18594 2006-05-18 Lillian Angel <langel@redhat.com>
18595
18596 * java/awt/font/GlyphMetrics.java
18597 (getLSB): Implemented.
18598 (getRSB): Implemented.
18599
18600 2006-05-18 Lillian Angel <langel@redhat.com>
18601
18602 * java/awt/font/GraphicAttribute.java:
18603 Documented entire class.
18604 (GraphicAttribute): Added check for alignment.
18605 (getBounds): Implemented.
18606 (getJustificationInfo): Implemented.
18607
18608 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18609
18610 * java/awt/LightweightDispatcher.java:
18611 (handleMouseEvent): Added note, added subexpression to if-statement.
18612
18613 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18614
18615 * javax/swing/plaf/basic/BasicToolBarUI.java:
18616 (navigateFocusedComp): Marked as stub.
18617 (createRolloverBorder): Create a different Border instance, added note.
18618 * javax/swing/plaf/metal/MetalBorders.java:
18619 (ButtonBorder): Added documentation.
18620 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18621 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18622 subexpression into if-else cascade, added note.
18623
18624 2006-05-18 Lillian Angel <langel@redhat.com>
18625
18626 * java/awt/font/ShapeGraphicAttribute.java:
18627 Documented entire class.
18628 (ShapeGraphicAttribute): Initialized bounds field.
18629 (draw): Implemented.
18630 (equals): Implemented.
18631 (getAdvance): Implemented.
18632 (getAscent): Implemented.
18633 (getBounds): Implemented.
18634 (getDescent): Implemented.
18635 (hashCode): Implemented.
18636
18637 2006-05-18 Roman Kennke <kennke@aicas.com>
18638
18639 * javax/swing/CellRendererPane.java
18640 (CellRendererPane): Set CellRendererPane to invisible.
18641
18642 2006-05-18 Roman Kennke <kennke@aicas.com>
18643
18644 * gnu/java/awt/peer/gtk/GdkGraphics.java
18645 (clipRect): Removed old intersection statement.
18646
18647 2006-05-18 Roman Kennke <kennke@aicas.com>
18648
18649 * gnu/java/awt/peer/gtk/GdkGraphics.java
18650 (clipRect): Don't use Rectangle.intersection() to avoid creating
18651 2 unnecessary Rectangle instances and fix a clipping problem.
18652 (computeIntersection): New helper method, adapted from SwingUtilities.
18653
18654 2006-05-18 Roman Kennke <kennke@aicas.com>
18655
18656 * javax/swing/JComponent.java
18657 (isCompletelyDirty): Removed.
18658 (paint): Don't mark children as clean, this is no longer necessary.
18659 (findOverlapFreeParent): Don't stop at Viewports, this breaks
18660 painting when something overlaps the viewport (like a popup/menu).
18661 * javax/swing/RepaintManager.java
18662 (currentRepaintManagers): Made package private to avoid accessor
18663 methods.
18664 (dirtyComponents): Made private.
18665 (dirtyComponentsWork): Made private.
18666 (markCompletelyDirty): Fixed bounds of dirtyrect to be
18667 component-local not parent-local. Do not set flag in JComponent.
18668 (markCompletelyClean): Don't set JComponent flag.
18669 (isCompletelyDirty): Rewritten to return true when the complete
18670 component is marked dirty.
18671 (paintDirtyRegions): Improved parent-merging so that the merged-in
18672 components don't get painted too. 'Outsourced' the compilation
18673 of the repaint root components.
18674 (compileRepaintRoots): New helper method.
18675
18676 2006-05-18 Roman Kennke <kennke@aicas.com>
18677
18678 PR 26368
18679 * javax/swing/text/GapContent.java
18680 (GapContentPosition(int)): Use adapted binarySearch method to
18681 allow for having a greater array than number of entries.
18682 (numMarks): New field, holds the end of the marks list.
18683 (GapContent): Initialize positionMarks with size of 10 instead of 0.
18684 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
18685 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
18686 (setPositionsInRange): Changed signature to narrow the purpose and
18687 special cases inside. Reimplemented to crunch together equal marks.
18688 (adjustPositionsInRange): Added assertion to make sure we do
18689 not accidentally change the order of the mark. Added some debug
18690 output for a special case of which I don't know if it even exists.
18691 (resetMarksAtZero): Made impl simpler.
18692 (dumpMarks): New debug helper method.
18693 (insertMark): Grow array in bigger chunks to avoid excessive copying.
18694 (binarySearch): New method. An adaption of Arrays.binarySearch()
18695 that allows for an maxIndex parameter.
18696
18697 2006-05-18 Roman Kennke <kennke@aicas.com>
18698
18699 * javax/swing/KeyboardManager.java
18700 (topLevelLookup): Use WeakHashMap to avoid memory leak.
18701
18702 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
18703
18704 * gnu/java/net/loader/JarURLLoader.java
18705 (JarURLLoader): Use a slightly more efficient URL constructor.
18706
18707 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
18708
18709 * gnu/java/awt/print/JavaPrinterGraphics.java
18710 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
18711 (drawImage(Image, int, int, ImageObserver)): Likewise,
18712 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
18713 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
18714 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
18715 ImageObserver)): Likewise,
18716 (drawImage(Image, int, int, int, int, int, int, int, int,
18717 ImageObserver)): Likewise.
18718
18719 2006-05-17 Tom Tromey <tromey@redhat.com>
18720
18721 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
18722 LinkedHashSet.
18723
18724 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18725
18726 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
18727 * javax/swing/border/BevelBorder.java: Likewise,
18728 * javax/swing/border/CompoundBorder.java: Likewise,
18729 * javax/swing/border/TitledBorder.java: Likewise.
18730
18731 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18732
18733 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
18734 * javax/swing/table/DefaultTableModel.java: Likewise,
18735 * javax/swing/table/TableCellEditor.java: Likewise,
18736 * javax/swing/table/TableCellRenderer.java: Likewise.
18737
18738 2006-05-17 Lillian Angel <langel@redhat.com>
18739
18740 * java/awt/font/ImageGraphicAttribute.java:
18741 Documented entire class.
18742 (ImageGraphicAttribute): Changed to call this.
18743 (ImageGraphicAttribute): Implemented.
18744 (draw): Implemented.
18745 (equals): Implemented.
18746 (getAdvance): Implemented.
18747 (getAscent): Implemented.
18748 (getBounds): Implemented.
18749 (getDescent): Implemented.
18750 (hashCode): Implemented.
18751 * javax/swing/text/html/HTMLDocument.java
18752 (create): Removed. Sufficent enough for
18753 super to be called.
18754 (insert): Likewise.
18755 (insertUpdate): Likewise.
18756 (processHTMLFrameHyperlinkEvent): Marked as stub.
18757 (start): Removed FIXME.
18758 (end): Likewise.
18759 (start): Called super.
18760 (end): Called super.
18761 (getElement): removed unneeded code.
18762 (setParagraphAttribute): Removed. Sufficent enough
18763 for super to be called.
18764 (fireChangedUpdate): Likewise.
18765 (fireUndoableEditUpdate): Likewise.
18766
18767 2006-05-17 Lillian Angel <langel@redhat.com>
18768
18769 * java/awt/TexturePaint.java:
18770 Added documentation for class and all functions.
18771 (getTransparency): Implemented.
18772
18773 2006-05-17 Roman Kennke <kennke@aicas.com>
18774
18775 * java/awt/LightweightDispatcher.java
18776 (findTarget): Translate point to child components.
18777
18778 2006-05-17 Roman Kennke <kennke@aicas.com>
18779
18780 PR 26368
18781 * javax/swing/text/GapContent.java
18782 (GapContentPosition): Do no more implement Comparable.
18783 (GapContentPosition.mark): Removed field.
18784 (GapContentPosition.index): New field to hold the index into
18785 the positions array.
18786 (GapContentPosition(int)): Rewritten to use the new indirection
18787 to the positions array.
18788 (GapContentPosition.compareTo): Removed.
18789 (GapContentPosition.getOffset): Synchronized. Fetch mark from
18790 positionMarks array.
18791 (WeakPositionComparator): Removed obsolete class.
18792 (positions): Changed type to WeakHashMap.
18793 (positionMarks): New field, holds the marks of the positions.
18794 (GapContent): Initialize new fields.
18795 (createPosition): Rewritten to use the new indirection
18796 to the positions array.
18797 (getPositionsInRange): Rewritten to use the new indirection
18798 to the positions array.
18799 (setPositionsInRange): Rewritten to use the new indirection
18800 to the positions array.
18801 (adjustPositionsInRange): Rewritten to use the new indirection
18802 to the positions array.
18803 (insertMark): New helper method.
18804 (clearPositionReferences): Removed obsolete methods.
18805
18806 2006-05-17 Lillian Angel <langel@redhat.com>
18807
18808 * java/awt/GraphicsConfiguration.java
18809 (getImageCapabilities): Implemented.
18810 (getBufferCapabilities): Implemented.
18811
18812 2006-05-17 Lillian Angel <langel@redhat.com>
18813
18814 * javax/swing/plaf/basic/BasicSliderUI.java
18815 (focusGained): Implemented.
18816 (focusLost): Implemented.
18817 (paint): Added code to paint the focus.
18818 * javax/swing/plaf/metal/MetalSliderUI.java
18819 (paintThumb): Added code to set the thumbColor.
18820 (paintFocus): Implemented properly.
18821
18822 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18823
18824 PR 27383
18825 * javax/naming/spi/NamingManager.java (getURLContext):
18826 Always search for the factory class in all possible places
18827 and use VMStackWalker.
18828 (forName): New method.
18829
18830 2006-05-17 Roman Kennke <kennke@aicas.com>
18831
18832 * java/awt/LightweightDispatcher.java
18833 (handleMouseEvent): Fixed search algorithm for finding the
18834 mouse event target.
18835 (findTarget): Fixed search algorithm for finding the
18836 mouse event target.
18837
18838 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18839
18840 * javax/naming/spi/NamingManager.java: Documented.
18841
18842 2006-05-17 Mark Wielaard <mark@klomp.org>
18843
18844 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
18845 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
18846 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
18847 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
18848
18849 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
18850
18851 Fixes PR 26947.
18852 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
18853 year.
18854 (BorderListener.mouseClicked): Detect double-clicks in title pane,
18855 copied code from
18856 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
18857
18858 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
18859
18860 Fixes PR 27626.
18861 * java/awt/LightweightDispatcher.java:
18862 (handleMouseEvent): Moved assignment into switch-block, added notes.
18863
18864 2006-05-16 Lillian Angel <langel@redhat.com>
18865
18866 * javax/swing/text/StyleContext.java:
18867 Changed staticAttributeKeys to be a Hashtable.
18868 (getStaticAttribute): Implemented.
18869 (getStaticAttributeKey): Implemented.
18870 (readAttributeSet): Implemented.
18871 (writeAttributeSet): Added FIXME. Not sure how
18872 to implement this.
18873 (readAttributes): Implemented.
18874 (writeAttributes): Implemented.
18875 (registerStaticAttibuteKey): Fixed to add key to
18876 the hash table.
18877
18878 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
18879
18880 * javax/swing/DefaultButtonModel.java
18881 (setGroup): Removed event notification.
18882
18883 2006-05-16 Lillian Angel <langel@redhat.com>
18884
18885 * javax/swing/plaf/basic/BasicComboBoxUI.java
18886 (installKeyboardActions): Implemented.
18887 (uninstallKeyboardActions): Implemented.
18888 * javax/swing/plaf/basic/BasicComboPopup.java
18889 (uninstallKeyboardActions): Removed FIXME. Nothing
18890 to be done here.
18891 (installKeyboardActions): Likewise.
18892 * javax/swing/plaf/basic/BasicTextUI.java
18893 (uninstallKeyboardActions): Implemented.
18894 * javax/swing/plaf/basic/BasicTreeUI.java:
18895 Added field for hashColor.
18896 Marked stub methods.
18897 (getHashColor): Implemented to use field.
18898 (setHashColor): Likewise.
18899 (getRowX): Implemented.
18900 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
18901
18902 2006-05-16 Roman Kennke <kennke@aicas.com>
18903
18904 PR 26521
18905 * javax/swing/JTable.java
18906 (rowHeights): New field.
18907 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
18908 in order to initialize rowHeights correctly.
18909 (tableChanged): Nullify rowHeights when model changes. Only
18910 create default columns from model when corresponding property
18911 is set. Sync table model with rowHeights as appropriate.
18912 (valueChanged): Call repaint with the correct rectangle.
18913 (rowAtPoint): Handle rowHeights.
18914 (getCellRect): Mostly rewritten. Check for boundaries
18915 of model and return (0,0,0,0) or (0,0,width,height) when outside.
18916 Handle component orientation. Round correctly.
18917 (getRowHeight(int)): Implemented for variable row height.
18918 (setRowHeight(int,int)): Implemented for variable row height.
18919 (setRowHeight(int)): Nullify rowHeights.
18920 (setModel): Notify tableChanged().
18921 * javax/swing/plaf/basic/BasicTableUI.java
18922 (installDefaults): Create rendererPane in installUI.
18923 (installUI): Create and install rendererPane.
18924 (uninstallUI): Uninstall rendererPane and nullify rendererPane
18925 and table.
18926 (paint): Correctly handle rowMargin.
18927
18928 2006-05-16 Tom Tromey <tromey@redhat.com>
18929
18930 PR classpath/27563:
18931 * java/text/NumberFormat.java (getIntegerInstance): Use
18932 "integerFormat", not "numberFormat".
18933
18934 2006-05-16 Lillian Angel <langel@redhat.com>
18935
18936 * javax/swing/JPopupMenu.java
18937 (addMenuKeyListener): Implemented.
18938 (removeMenuKeyListener): Implemented.
18939 (getMenuKeyListeners): Implemented.
18940 * javax/swing/ProgressMonitor.java:
18941 Added new protected field.
18942 (getAccessibleContext): Implemented.
18943
18944 2006-05-16 Lillian Angel <langel@redhat.com>
18945
18946 * javax/swing/JFileChooser.java:
18947 Added new private field.
18948 (setDragEnabled): Implemented.
18949 (getDragEnabled): Implemented.
18950
18951 2006-05-16 Lillian Angel <langel@redhat.com>
18952
18953 * java/awt/Window.java
18954 (applyResourceBundle): Implemented.
18955
18956 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
18957
18958 * javax/swing/DefaultButtonModel.java
18959 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
18960 states also.
18961
18962 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18963
18964 * javax/swing/JList.java (getSelectedValues):
18965 Ask the value for the indexed array element.
18966
18967 2006-05-16 Roman Kennke <kennke@aicas.com>
18968
18969 * javax/swing/JTable.java
18970 (valueChanged): Also repaint when table has only 1 row. Fixed
18971 repaint rectangle to span the entire changed rows.
18972
18973 2006-05-16 Roman Kennke <kennke@aicas.com>
18974
18975 PR 24031
18976 * javax/swing/JOptionPane.java
18977 (startModal): Rewritten. The events are now dispatched, even
18978 when the event dispatch thread gets blocked by the call
18979 to this method. Also, mouse events get intercepted outside the
18980 internal frame.
18981
18982 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18983
18984 * javax/swing/plaf/basic/BasicInternalFrameUI.java
18985 (BorderListener.mouseDragged):Do not set cursor
18986 if the frame is being dragged.
18987
18988 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18989
18990 * javax/swing/plaf/basic/BasicInternalFrameUI.java
18991 (BorderListener): Rewritten. (InternalFrameBorder):
18992 Made package private.
18993 (InternalFrameBorder.offset):
18994 Renamed to cornerSize, made package private.
18995 (bSize): Made package private.
18996
18997 2006-05-16 Roman Kennke <kennke@aicas.com>
18998
18999 * javax/swing/JMenu.java
19000 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19001 (AccessibleJMenu.getAccessibleChild): Implemented.
19002 (AccessibleJMenu.getAccessibleSelection): Implemented.
19003 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19004 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19005 (AccessibleJMenu.getAccessibleRole): Documented.
19006 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19007 (AccessibleJMenu.addAccessibleSelection): Implemented.
19008 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19009 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19010 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19011 (createPath): New helper method.
19012
19013 2006-05-15 Tom Tromey <tromey@redhat.com>
19014
19015 * java/text/MessageFormat.java (format): Now varargs.
19016
19017 2006-05-15 Tom Tromey <tromey@redhat.com>
19018
19019 * java/lang/Thread.java (State): Fixed typo.
19020
19021 2006-05-15 Tom Tromey <tromey@redhat.com>
19022
19023 * java/net/URLClassLoader.java: Moved inner classes to
19024 gnu.java.net.loader.
19025 (factoryCache): Changed type.
19026 (URL_LOADER_PREFIX): New constant.
19027 (URLClassLoader): Updated for new factoryCache.
19028 (addURLImpl): Use reflection to search for a loader.
19029 (findClass): Use getClass method on URLLoader.
19030 (getURLStreamHandler): Removed.
19031 * gnu/java/net/loader/URLLoader.java: New file, extracted
19032 from URLClassLoader.
19033 * gnu/java/net/loader/Resource.java: Likewise.
19034 * gnu/java/net/loader/FileResource.java: Likewise.
19035 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19036 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19037 * gnu/java/net/loader/JarURLResource.java: Likewise.
19038 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19039 * gnu/java/net/loader/RemoteResource.java: Likewise.
19040 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19041
19042 2006-05-15 Sven de Marothy <sven@physto.se>
19043
19044 * native/target/generic/target_generic_network.h:
19045 Add a pair of parenthesis.
19046
19047 2006-05-15 Mark Wielaard <mark@klomp.org>
19048
19049 * java/awt/Graphics2D.java: Remove PrinterJob import.
19050
19051 2006-05-15 Mark Wielaard <mark@klomp.org>
19052
19053 * doc/www.gnu.org/announce/20060515.wml: New file.
19054 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19055 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19056
19057 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19058
19059 * NEWS: Announce inclusion of gcjwebplugin.
19060 Announce inclusion of appletviewer.
19061 * INSTALL: Note gcjwebplugin dependencies.
19062
19063 2006-05-15 Mark Wielaard <mark@klomp.org>
19064
19065 * configure.ac (VERSION): Set to 0.91-generics.
19066
19067 2006-05-15 Mark Wielaard <mark@klomp.org>
19068
19069 * NEWS: Add release date and VMClassLoader.getBootPackages()
19070 changes.
19071
19072 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19073
19074 * README: Added CACAO to list of VMs.
19075
19076 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19077
19078 * javax/swing/RepaintManager.java (paintDirtyRegions):
19079 Break loop as soon as the component repaint is merged
19080 with some parent. (ComponentComparator): Removed.
19081 (comparator): Removed.
19082
19083 2006-05-15 Roman Kennke <kennke@aicas.com>
19084
19085 * javax/swing/border/TitledBorder.java
19086 (paintBorderWithTitle): Fixed indentation.
19087
19088 2006-05-15 Roman Kennke <kennke@aicas.com>
19089
19090 * javax/swing/border/TitledBorder.java
19091 (layoutBorderWithTitle): Fetch border using getBorder() instead
19092 of using the border field directly. Allows for the use of
19093 an UI supplied border in the case when a null border was set.
19094 Fixed component orientation.
19095 (paintBorderWithTitle): Fetch border using getBorder() instead
19096 of using the border field directly. Allows for the use of
19097 an UI supplied border in the case when a null border was set.
19098
19099 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19100
19101 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19102 (contains): New method.
19103
19104 2006-05-15 Tom Tromey <tromey@redhat.com>
19105
19106 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19107 argument indices.
19108 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19109 argument indices.
19110
19111 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19112
19113 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19114 JViewport's.
19115 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19116 region. (paintDirtyRegions): Rewritten.
19117
19118 2006-05-15 Tom Tromey <tromey@redhat.com>
19119
19120 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19121 MessageFormat.
19122 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19123 MessageFormat.
19124 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19125 (run): Use MessageFormat.
19126 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19127 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19128 (writeFile): Use MessageFormat.
19129
19130 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19131
19132 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19133 instead of directly calling the class loader.
19134
19135 2006-05-15 Tom Tromey <tromey@redhat.com>
19136
19137 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19138 Removed old comment.
19139 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19140 Externalized strings.
19141 (getVersionString): Use MessageFormat.
19142 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19143 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19144 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19145 (getArgument): Use a MessageFormat.
19146 (handleLongOption): Likewise.
19147 (parse): Likewise.
19148
19149 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19150
19151 Fixes PR 27197.
19152 * javax/swing/text/FieldView.java:
19153 (paint): Calculate intersection between clip and allocation area and
19154 set that as new clip.
19155
19156 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19157
19158 * javax/swing/text/JTextComponent.java: Marked stub methods.
19159
19160 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19161
19162 * javax/swing/JTable.java: Marked stub methods.
19163
19164 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19165
19166 * tools/gnu/classpath/tools/jarsigner/Main.java:
19167 Increased visibility of fields used by parser anonymous classes.
19168 (KEYTOOL_TOOL): New constant.
19169 (cmdLineParser): Changed type to ToolParser.
19170 (fileAndAlias): new field.
19171 (main): Don't catch OptionException.
19172 (processArgs): Removed validation checks; now handled by ToolParser.
19173 (getParser): Removed.
19174 (ToolParserCallback): New inner class.
19175 (ToolParser): Likewise.
19176
19177 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19178
19179 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19180 Removed.
19181
19182 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19183
19184 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19185 endResizingFrame): Do not repaint, unless in the outline mode.
19186
19187 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19188
19189 * javax/swing/JTabbedPane.java
19190 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19191 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19192 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19193 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19194 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19195 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19196 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19197 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19198 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19199 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19200 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19201 (Page.getAccessibleName): Implemented.
19202
19203 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19204
19205 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19206 Do not repaint nor revalidate here.
19207
19208 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19209
19210 * javax/swing/RepaintManager.java (addDirtyRegion):
19211 If there is a lightweight parent, recursively add the corresponding
19212 region of the parent instead.
19213
19214 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19215
19216 * java/awt/Graphics2D.java: Added some API doc comments.
19217
19218 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19219
19220 * javax/swing/JTabbedPane.java
19221 (paramString): Reimplemented,
19222 (getAccessibleContext): Added API docs.
19223
19224 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19225
19226 * javax/swing/JFileChooser.java
19227 (paramString): Reimplemented,
19228 (getAccessibleContext): Updated API docs,
19229 (AccessibleJFileChooser): Added API docs.
19230
19231 2006-05-14 Tom Tromey <tromey@redhat.com>
19232
19233 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19234 OptionException.
19235 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19236 OptionException.
19237 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19238 OptionException.
19239 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19240 validation to JarParser.
19241 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19242 (run): Moved validation to JarParser. Don't throw OptionException.
19243 (initializeParser): Create a JarParser.
19244 (main): Don't catch OptionException.
19245 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19246 public.
19247 (validate): New method.
19248 (parse): Call it. Print '-help' in error message when long-only.
19249
19250 2006-05-14 Tom Tromey <tromey@redhat.com>
19251
19252 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19253 assignment.
19254
19255 2006-05-15 Sven de Marothy <sven@physto.se>
19256
19257 * gnu/java/awt/print/JavaPrinterGraphics.java:
19258 Sweeping changes I can't be bothered to document in detail.
19259 * gnu/java/awt/print/JavaPrinterJob.java
19260 (getPageAttributes): New method.
19261 (setPageable,cancel,isCancelled): Implement.
19262
19263 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19264
19265 * javax/swing/JCheckBoxMenuItem.java
19266 (requestFocus): Fixed typo in API docs,
19267 (paramString): Just call super.paramString(),
19268 (getAccessibleContext): Added API docs,
19269 (AccessibleJCheckBoxMenuItem): Likewise.
19270
19271 2006-05-14 Tom Tromey <tromey@redhat.com>
19272
19273 * tools/gnu/classpath/tools/jar/Indexer.java
19274 (writeCommandLineEntries): Simplify insertion.
19275 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19276 -m and -M.
19277
19278 2006-05-14 Tom Tromey <tromey@redhat.com>
19279
19280 PR classpath/27514:
19281 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19282 constant.
19283 (JAR_INDEX_VERSION_KEY): Likewise.
19284 (IndexListParser): Updated.
19285 (getVersionInfo): Likewise.
19286 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19287 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19288 OptionException.
19289 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19290 -i.
19291 (ModeOption): New constructor.
19292 (parsed): Updated. Use setArchiveFile.
19293 (setArchiveFile): New method.
19294 (run): Handle no-argument case.
19295 (main): Emit --help message on option error.
19296 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19297 (createManifest): New method.
19298 (run): Updated. Throws OptionException. Correctly copy zip entry.
19299 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19300 method.
19301 (writeManifest): Removed.
19302 (outputStream): Now a JarOutputStream.
19303 (writeCommandLineEntries): Changed parameters. Updated callers.
19304 (run): Throws OptionException.
19305 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19306 * java/util/jar/Manifest.java (read): Typo fix.
19307
19308 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19309
19310 * javax/swing/JMenuItem.java
19311 (paramString): Fixed class name in API doc comment.
19312
19313 2006-05-14 Tom Tromey <tromey@redhat.com>
19314
19315 * native/plugin/.cvsignore: Updated.
19316
19317 2006-05-14 Mark Wielaard <mark@klomp.org>
19318
19319 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19320 comments.
19321
19322 2006-05-14 Chris Burdess <dog@gnu.org>
19323
19324 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19325 nodes to be preserved during cloneNode.
19326
19327 2006-05-14 Mark Wielaard <mark@klomp.org>
19328
19329 PR 27459
19330 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19331 inherited timeout on socket.
19332
19333 2006-05-14 Lillian Angel <langel@redhat.com>
19334
19335 * java/util/SimpleTimeZone.java: Reverted patch.
19336 (SimpleTimeZone): Throw exception if startMonth ==
19337 endMonth.
19338 (SimpleTimeZone): Likewise.
19339 (checkRule): Rewritten to properly check all values (more
19340 efficently).
19341 This code is now more stable, at least less buggy than before.
19342 Fixed API documentation.
19343 (setStartRule): Moved checkRule call to end.
19344 (setStartRule): Likewise.
19345 (setEndRule): Likewise.
19346 (setEndRule): Likewise.
19347
19348 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19349
19350 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19351 Initialise to -1.
19352
19353 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19354
19355 PR classpath/27595
19356 * javax/swing/text/AbstractDocument.java:
19357 (insertString): Flipped if-expression and its blocks.
19358 (remove): Dito.
19359 (replace): Flipped if-expression and its blocks, added note, invoke
19360 insertString and remove instead of insertStringImpl and removeImpl.
19361
19362 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19363
19364 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19365
19366 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19367
19368 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19369 Added help text.
19370 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19371 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19372 Increased visibility of fields used by parser anonymous classes.
19373 (processArgs): Removed.
19374 (getParser): New method.
19375 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19376 (setup): Mark (Eclipse) strings that need not be externalised.
19377 (start): Likewise.
19378 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19379 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19380 command line option parsing.
19381 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19382 Increased visibility of fields used by parser anonymous classes.
19383 (processArgs): Removed.
19384 (setup): set 'all' local field.
19385 (getParser): New method.
19386 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19387 Increased visibility of fields used by parser anonymous classes.
19388 (processArgs): Removed.
19389 (getParser): New method.
19390 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19391 (setNewKeyPassword): Fixed comments.
19392 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19393 Increased visibility of fields used by parser anonymous classes.
19394 (processArgs): Removed.
19395 (getParser): New method.
19396 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19397 externalised.
19398 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19399 Increased visibility of fields used by parser anonymous classes.
19400 (processArgs): Removed.
19401 (setup): Mark (Eclipse) strings that need not be externalised.
19402 (getParser): New method.
19403 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19404 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19405 Increased visibility of fields used by parser anonymous classes.
19406 (processArgs): Removed.
19407 (getParser): New method.
19408 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19409 (ATTRIBUTES_OPT): New constant.
19410 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19411 Increased visibility of fields used by parser anonymous classes.
19412 (processArgs): Removed.
19413 (setup): Mark (Eclipse) strings that need not be externalised.
19414 (start): Likewise.
19415 Reduced logging level.
19416 (getParser): New method.
19417 * tools/gnu/classpath/tools/keytool/Command.java
19418 (processArgs): Made it concrete.
19419 (getParser): New abstract method.
19420 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19421
19422 2006-05-13 Casey Marshall <csm@gnu.org>
19423
19424 Patch by Michael Barker <mike@middlesoft.co.uk>.
19425 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19426 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19427 gnu.java.nio.SocketChannelSelectionKeyImpl.
19428 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19429 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19430 VMChannel.
19431 * include/gnu_java_nio_VMChannel.h: new file.
19432 * java/nio/FileChannel.java (read,write): changed to call abstract
19433 method.
19434 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19435 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19436 `gnu_java_nio_VMChannel.c.'
19437 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19438
19439 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19440
19441 * javax/swing/text/AbstractDocument.java:
19442 (insertString): Flipped if-expression and its blocks.
19443 (remove): Dito.
19444 (replace): Flipped if-expression and its blocks, added note, invoke
19445 insertString and remove instead of insertStringImpl and removeImpl.
19446
19447 2006-05-13 Tom Tromey <tromey@redhat.com>
19448
19449 * java/nio/ByteBufferImpl.java (compact): Always set position.
19450
19451 2006-05-13 Sven de Marothy <sven@physto.se>
19452
19453 * gnu/java/awt/print/JavaPrinterGraphics.java
19454 (spoolPostScript): Use a faster writer.
19455
19456 2006-05-13 Sven de Marothy <sven@physto.se>
19457
19458 * gnu/java/awt/print/JavaPrinterGraphics.java
19459 (colorTripleHex): Reimplement better.
19460
19461 2006-05-13 Sven de Marothy <sven@physto.se>
19462
19463 * javax/swing/text/html/HTMLDocument.java
19464 (CharacterAction.start): Translate tag to StyleAttribute.
19465 (pushCharacterStyle): Push copy of attributes onto stack.
19466 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19467 New file
19468
19469 2006-05-13 Sven de Marothy <sven@physto.se>
19470
19471 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19472 * java/awt/print/PrinterJob.java
19473 (getPrinterJob): Return a JavaPrinterJob
19474 (setPrintService,getPrintService): Implement.
19475 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19476 (getPixels): Gtk_threads_enter required.
19477 * gnu/java/awt/print/JavaPrinterGraphics.java
19478 * gnu/java/awt/print/JavaPrinterJob.java
19479 * gnu/java/awt/print/SpooledDocumet.java:
19480 New files.
19481
19482 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19483
19484 * javax/swing/text/TextAction.java:
19485 (HorizontalMovementAction): New inner class.
19486 (VerticalMovementAction): New inner class.
19487 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19488 new inner classes to array 'defaultActions'.
19489 (SelectionBeginWordAction): New inner class.
19490 (SelectionEndWordAction): New inner class.
19491 (BeginWordAction): New inner class.
19492 (EndWordAction): New inner class.
19493 (PreviousWordAction.actionPerformed): Rewritten.
19494 (SelectLineAction): New inner class.
19495 (SelectWordAction): New inner class.
19496 (SelectionDownAction): Rewritten.
19497 (SelectionUpAction): Rewritten.
19498 (DownAction): Rewritten.
19499 (UpAction): Rewritten.
19500 (SelectionForwardAction): Rewritten.
19501 (SelectionBackwardAction): Rewritten.
19502 (ForwardAction): Rewritten.
19503 (BackwardAction): Rewritten.
19504 (BeginAction): New inner class.
19505 (EndAction): New inner class.
19506 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19507 Character.isISOControl.
19508
19509 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19510
19511 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19512 (WordFilter.getNextVisualPositionFrom): Added statement to check
19513 for variable pt not being null.
19514
19515 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19516
19517 * javax/swing/text/Utilities.java:
19518 (getNextWord): Fixed grammar in exception message.
19519 (getPreviousWord): Changed expression in first if-clause, added sub-
19520 expression to if-clause in while-loop.
19521 (getWordStart): Changed expression in if-clause.
19522 getNextVisualPositionFrom): Added package-private helper method.
19523
19524 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19525
19526 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19527 Initialise to -1.
19528
19529 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19530
19531 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19532 Added help text.
19533 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19534 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19535 * tools/gnu/classpath/tools/jarsigner/Main.java:
19536 Increased visibility of fields used by parser anonymous classes.
19537 (HELP_PATH): Removed.
19538 (cmdLineParser): New field.
19539 (main): Handle JVM exit status.
19540 Handle command line parsing exceptions.
19541 (processArgs): Use getopt command line parser.
19542 (getParser): New method.
19543 (setupCommonParams): Removed checks now handled by processArgs().
19544 (setupSigningParams): Likewise.
19545 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19546 Reuse an existing message-bundle constant.
19547
19548 2006-05-12 Tom Tromey <tromey@redhat.com>
19549
19550 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19551 Explicitly specify class for synchronization.
19552
19553 2006-05-12 Tom Tromey <tromey@redhat.com>
19554
19555 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19556
19557 2006-05-12 Sven de Marothy <sven@physto.se>
19558
19559 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19560 * gnu/java/net/protocol/http/HTTPURLConnection.java
19561 (setConnectTimeout): New method.
19562 (getConnection): Add timeout parameter.
19563 * java/net/URLConnection.java
19564 (getConnectTimeout, setConnectTimeout): Implement.
19565 * native/target/generic/target_generic_network.h:
19566 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19567
19568 2006-05-12 Sven de Marothy <sven@physto.se>
19569
19570 * gnu/javax/print/CupsServer.java
19571 (CupsServer): Make the Cups host configurable.
19572 * java/lang/System.java: Document the system property.
19573
19574 2006-05-12 Roman Kennke <kennke@aicas.com>
19575
19576 * javax/swing/border/TitledBorder.java
19577 (paintBorder): Rewritten for simplicity and correctness.
19578 (layoutBorderWithTitle): New helper method.
19579 (paintBorderWithTitle): New helper method.
19580 (getBorderInsets): Rewritten.
19581 (getMinimumSize): Rewritten.
19582 (getRealJustification): Removed.
19583 (getMeasurements): Removed.
19584 (Measurements): Removed.
19585
19586 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19587
19588 * javax/swing/plaf/basic/BasicPanelUI.java
19589 (sharedUI): New field,
19590 (createUI): Return a shared instance rather than a new instance,
19591 (installUI): Reformatted and added API docs,
19592 (installDefaults): Install border if one is defined,
19593 (uninstallDefaults): Uninstall border.
19594
19595 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19596
19597 * javax/swing/JProgressBar.java: Updated API docs all over.
19598
19599 2006-05-11 Lillian Angel <langel@redhat.com>
19600
19601 * java/awt/ContainerOrderFocusTraversalPolicy.java
19602 (getComponentAfter): Should not throw exception if
19603 the ancestor is null. Added a check for this.
19604 Also, changed to use new helper function, we should
19605 iterate through all the components at least once.
19606 (getNextAvailableComponent): New helper function.
19607 (getPrevAvailableComponent): New helper function.
19608 (getComponentBefore): Should not throw exception if
19609 the ancestor is null. Added a check for this.
19610 Also, changed to use new helper function, we should
19611 iterate through all the components at least once.
19612 (getFirstComponent): Changed check to manually check
19613 fields. Calling accept() casts the object to a Component,
19614 so different values may be returned.
19615 (getLastComponent): Likewise.
19616
19617 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19618
19619 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19620 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19621 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19622 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
19623 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
19624 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
19625 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
19626 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
19627 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
19628 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
19629 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
19630 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
19631 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
19632 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
19633 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
19634 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
19635 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
19636 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
19637
19638 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19639
19640 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
19641 package-private, added field 'active'.
19642 (PropertyChangeHandler.propertyChange): Added variable 'name', added
19643 cases to update field 'active'.
19644 (mouseDragged): Added documentation, added if-clause to update
19645 selection or caret position.
19646 (mouseClicked): Added early return when text component is disabled.
19647 (focusGained): Moved statements into an if-clause.
19648 (focusLost): Added subexpression to if-clause.
19649 (install): Preset value of 'active'.
19650 (paint): Added subexpression to if-clause.
19651 (isVisible): Extended return expression.
19652 * javax/swing/text/JTextComponent.java:
19653 (copy): Copy only if component is enabled.
19654 (cut): Cut only if component is enabled and editable.
19655 (paste): Dito.
19656
19657 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19658
19659 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
19660 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
19661 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
19662 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
19663 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
19664 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
19665 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
19666
19667 2006-05-11 Roman Kennke <kennke@aicas.com>
19668
19669 * gnu/java/awt/font/GNUGlyphVector.java
19670 (GNUGlyphVector): Don't apply the font renderer context's
19671 transform.
19672
19673 2006-05-11 Mark Wielaard <mark@klomp.org>
19674
19675 * java/util/logging/Logger.java (global): Initialize inside static
19676 PrivilegedAction.
19677
19678 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19679
19680 * javax/swing/JFrame.java
19681 (EXIT_ON_CLOSE): Added note to API docs,
19682 (close_action): Renamed closeAction,
19683 (JFrame()): Change title to "",
19684 (JFrame(String)): Added API docs,
19685 (getAccessibleContext): Likewise,
19686 (getDefaultCloseOperation): Updated for renamed field, added API docs,
19687 (processWindowEvent): Updated for renamed field,
19688 (setDefaultCloseOperation): Likewise, and updated API docs.
19689
19690 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19691
19692 * javax/swing/JFrame.java
19693 (paramString): Reimplemented,
19694 * javax/swing/SwingUtilities.java
19695 (convertWindowConstantToString): New method.
19696
19697 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19698
19699 * javax/swing/WindowConstants.java: Updated API docs.
19700
19701 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19702
19703 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
19704 (createUI): Removed 'final' qualifier for parameter,
19705 (paint): Reformatted.
19706
19707 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19708
19709 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
19710 (createUI): Removed 'final' qualifier on method argument.
19711
19712 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19713
19714 * javax/swing/plaf/basic/BasicCheckBoxUI.java
19715 (getDefaultIcon): Removed this redundant method.
19716
19717 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19718
19719 * javax/swing/plaf/basic/BasicRadioButtonUI.java
19720 (paint): Pass component size to paintFocus().
19721
19722 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19723
19724 * java/awt/Component.java:
19725 (dispatchEventImpl): Added comment.
19726
19727 2006-05-11 Mark Wielaard <mark@klomp.org>
19728
19729 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
19730 Option constructor null argument to String.
19731
19732 2006-05-11 Mark Wielaard <mark@klomp.org>
19733
19734 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
19735 Fully qualify PathIterator constants
19736
19737 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19738
19739 * java/awt/Component.java:
19740 (dispatchEventImpl): Added subexpression to if-clause.
19741
19742 2006-05-11 Mark Wielaard <mark@klomp.org>
19743
19744 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
19745 Map.Entry.
19746
19747 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19748
19749 * javax/swing/TransferHandler.java: Marked stub methods.
19750
19751 2006-05-10 Roman Kennke <kennke@aicas.com>
19752
19753 PR classpath/27481
19754 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19755 (installDefaults): Set background of content pane to null, if
19756 no custom color has been installed by the application yet.
19757
19758 2006-05-10 Roman Kennke <kennke@aicas.com>
19759
19760 PR classpath/27481
19761 * javax/swing/JRootPane.java
19762 (createContentPane): Don't set background to null.
19763
19764 2006-05-10 Sven de Marothy <sven@physto.se>
19765
19766 * java/awt/print/PrinterJob.java:
19767 (lookupPrintServices): Un-comment-out.
19768
19769 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
19770
19771 * tools/gnu/classpath/tools/getopt/OptionGroup.java
19772 (FILLER): New constant.
19773 (formatText(PrintStream,String,int)): New method.
19774 (formatText(PrintStream,String,int,Locale)): Likewise.
19775 (printHelp): Use formatText method.
19776 * tools/gnu/classpath/tools/getopt/Parser.java
19777 (MAX_LINE_LENGTH): New constant.
19778 (formatText(PrintStream,String)): New method.
19779 (formatText(PrintStream,String,Locale)): Likewise.
19780 (printHelp): New method.
19781 (printHelp(PrintStream)): Increased visibility to protected.
19782 Use formatText method.
19783
19784 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19785
19786 * javax/swing/plaf/metal/MetalRadioButtonUI.java
19787 (installDefaults): Use getPropertyPrefix() to allow subclasses to
19788 modify the lookup key.
19789
19790 2006-05-10 Lillian Angel <langel@redhat.com>
19791
19792 * java/util/SimpleTimeZone.java: Reverted patch.
19793 (SimpleTimeZone): Throw exception if startMonth ==
19794 endMonth.
19795 (SimpleTimeZone): Likewise.
19796 (checkRule): Rewritten to properly check all values (more
19797 efficently).
19798 This code is now more stable, at least less buggy than before.
19799 Fixed API documentation.
19800 (setStartRule): Moved checkRule call to end.
19801 (setStartRule): Likewise.
19802 (setEndRule): Likewise.
19803 (setEndRule): Likewise.
19804
19805 2006-05-10 Roman Kennke <kennke@aicas.com>
19806
19807 * gnu/java/awt/peer/swing/SwingComponent.java:
19808 Some API comment fixlets.
19809 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
19810 (createImage): Create a BufferedImage, not a Toolkit image.
19811 (paint): Removed bogus API comment.
19812 (prepareImage): Added checks to avoid NPE.
19813 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
19814 (getInsets): Added check to avoid NPE.
19815 (handleMouseEvent): Added check to avoid NPE.
19816 * gnu/java/awt/peer/swing/SwingFramePeer.java:
19817 Some API comment fixlets.
19818 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
19819 Some API comment fixlets.
19820 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
19821 Changed start_pos name to startPos.
19822 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
19823 Some API comment fixlets.
19824
19825 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19826
19827 * java/awt/BasicStroke.java
19828 (equals): Fixed typo in HTML tag for API doc comment.
19829
19830 2006-05-10 Gary Benson <gbenson@redhat.com>
19831
19832 * java/lang/ThreadGroup.java (parent): Make package-private.
19833 * java/lang/SecurityManager.java (checkAccess(Thread)):
19834 Reference ThreadGroup.parent directly to avoid extra checks.
19835 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
19836 Likewise.
19837
19838 2006-05-10 Roman Kennke <kennke@aicas.com>
19839
19840 Reported by Ingo Proetel (proetel@aicas.com)
19841 * java/awt/EventDispatchThread.java
19842 (DEFAULT_PRIORITY): New constant field.
19843 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
19844 system property for adjusting the priority of the event
19845 dispatch thread.
19846
19847 2006-05-10 Roman Kennke <kennke@aicas.com>
19848
19849 Reported by Ingo Proetel (proetel@aicas.com)
19850 * java/awt/image/ColorModel.java
19851 (S_RGB_MODEL): New constant field.
19852 (getRGBDefault): Return constant SRGBColorModel.
19853 (SRGBColorModel): Specialized color model for sRGB.
19854
19855 2006-05-10 Roman Kennke <kennke@aicas.com>
19856
19857 * java/awt/ColorPaintContext.java
19858 (getRaster): Create Raster with (0,0) as source location.
19859
19860 2006-05-10 Roman Kennke <kennke@aicas.com>
19861
19862 * gnu/java/awt/java2d/AlphaCompositeContext.java
19863 (compose): Don't premultiply alpha to alpha itself.
19864
19865 2006-05-10 Roman Kennke <kennke@aicas.com>
19866
19867 * gnu/java/awt/java2d/AbstractGraphics2D.java
19868 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
19869 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
19870 New method.
19871 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
19872 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
19873 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
19874 New method.
19875 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
19876 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
19877 New method.
19878 (scale): Inverse transform by doing 1/scale instead of -scale.
19879 (drawImage(Image,int,int,ImageObserver)): Implemented.
19880 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
19881 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
19882 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
19883 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
19884 Implemented.
19885 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
19886 Implemented.
19887 (fillScanline): Work on translated destination raster for
19888 correct compositin.
19889 (init): Fetch the clip after the destination raster is initialized.
19890 * gnu/java/awt/java2d/ImagePaint.java: New file.
19891 * gnu/java/awt/java2d/RasterGraphics
19892 (drawImage): Removed.
19893
19894 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
19895
19896 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
19897 Clarify option descriptions.
19898 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
19899 uppercase for metasyntactic variables.
19900
19901 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
19902
19903 PR classpath/24216
19904 * javax/swing/text/AbstractDocument.java:
19905 (insertString): Added more documentation, added argument check.
19906 (remove): Added more documentation.
19907 (removeImpl): Added argument check.
19908 (replace): Added more documentation, added argument check.
19909
19910 2006-05-09 Tom Tromey <tromey@redhat.com>
19911
19912 * tools/.cvsignore: Added appletviewer.
19913
19914 2006-05-09 Tom Tromey <tromey@redhat.com>
19915
19916 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
19917 empty groups.
19918
19919 2006-05-09 Tom Tromey <tromey@redhat.com>
19920
19921 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
19922 Special case for '-J'. Use space instead of '='.
19923 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
19924 comment.
19925
19926 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
19927
19928 * configure.ac: Add --disable-plugin and --with-vm options. Check
19929 for plugin support headers and libraries.
19930 * native/Makefile.am: Recurse into plugin directory.
19931 * native/plugin/.cvsignore: New file.
19932 * native/plugin/Makefile.am: New file.
19933 * native/plugin/gcjwebplugin.cc: New file.
19934 * tools/Makefile.am: Install appletviewer wrapper script.
19935 * tools/appletviewer.in: Replace VM location heuristic with
19936 VM_BINARY configure substitution.
19937
19938 2006-05-09 Tom Tromey <tromey@redhat.com>
19939
19940 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
19941 an initial pass to look for short options. Added 'longOnly' option.
19942 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
19943 option.
19944 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
19945 options into final group. Added -J.
19946 (add): Insert new groups before final group.
19947 (printHelp): Updated.
19948
19949 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19950
19951 PR 27518
19952 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
19953 tools/gnu/classpath/tools/rmi/RMIC.java (main):
19954 Expect -classpath option.
19955 * tools/gnu/classpath/tools/rmi/RMIC.txt,
19956 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
19957 -classpath option.
19958 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
19959 (classLoader): New field. (loadClass, setClassPath):
19960 New methods.
19961
19962 2006-05-09 Roman Kennke <kennke@aicas.com>
19963
19964 * gnu/java/awt/java2d/RasterGraphics.java
19965 (RasterGraphics): Call init() and super().
19966 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
19967 this.
19968
19969 2006-05-09 Gary Benson <gbenson@redhat.com>
19970
19971 * java/lang/Thread.java (Thread): Always perform threadgroup
19972 access checks on thread creation.
19973
19974 2006-05-09 Chris Burdess <dog@gnu.org>
19975
19976 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
19977 be preserved during cloneNode.
19978
19979 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19980
19981 PR 27517
19982 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
19983 Do not demand all thrown exceptions to be an instance of RemoteException.
19984
19985 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
19986
19987 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
19988 Use hash-style comments.
19989 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
19990 Likewise.
19991
19992 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
19993
19994 * javax/swing/JLabel.java
19995 (paramString): Added more attribute details,
19996 * javax/swing/SwingUtilities.java
19997 (convertHorizontalAlignmentCodeToString): New method,
19998 (convertVerticalAlignmentCodeToString): New method.
19999
20000 2006-05-08 Tom Tromey <tromey@redhat.com>
20001
20002 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20003 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20004 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20005 ZipInputStream.
20006 (run): Updated.
20007 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20008 for verbose.
20009 (run): Use ZipInputStream.
20010 (initSet): New method.
20011 (shouldExtract): Likewise.
20012 (run): Use new methods.
20013 * tools/gnu/classpath/tools/jar/Creator.java
20014 (writeCommandLineEntries): New overload.
20015 (writeFile): Use System.err for verbose.
20016 (writeManifest): New method.
20017 (writtenItems): New field.
20018 (writeFile): Update it.
20019 (writeCommandLineEntries): Return void. Call writeManifest.
20020 (addEntries): Don't add extra '/'.
20021 * NEWS: Mention jar.
20022
20023 2006-05-08 Lillian Angel <langel@redhat.com>
20024
20025 * gnu/java/net/IndexListParser.java: New class.
20026 * java/net/URLClassLoader.java
20027 (JarURLLoader): Fixed code to use new class.
20028
20029 2006-05-08 Roman Kennke <kennke@aicas.com>
20030
20031 * javax/swing/JComboBox.java
20032 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20033 (AccessibleJComboBox.getAccessibleChild): Implemented.
20034 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20035 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20036 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20037 (AccessibleJComboBox.getAccessibleAction): Implemented.
20038 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20039 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20040 (AccessibleJComboBox.doAccessibleAction): Implemented.
20041 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20042 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20043 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20044 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20045 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20046
20047 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20048
20049 * configure.ac: Add support for building appletviewer.
20050 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20051 New file.
20052 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20053 New file.
20054 * tools/appletviewer.c: New file.
20055 * tools/appletviewer.in: New file.
20056 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20057 New file.
20058 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20059 New file.
20060 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20061 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20062 file.
20063 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20064 New file.
20065 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20066 New file.
20067 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20068 file.
20069 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20070 file.
20071 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20072 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20073 New file.
20074 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20075 New file.
20076 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20077 New file.
20078 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20079 New file.
20080 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20081 New file.
20082 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20083 New file.
20084 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20085 file.
20086
20087 2006-05-08 Tom Tromey <tromey@redhat.com>
20088
20089 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20090 * tools/gnu/classpath/tools/jar/Action.java: New file.
20091 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20092 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20093 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20094 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20095 * tools/gnu/classpath/tools/jar/Main.java: New file.
20096 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20097 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20098 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20099 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20100 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20101 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20102 file.
20103
20104 2006-05-08 Lillian Angel <langel@redhat.com>
20105
20106 * java/net/URLClassLoader.java
20107 (JarURLLoader): Added check to make sure the INDEX.LIST file
20108 exists.
20109
20110 2006-05-08 Roman Kennke <kennke@aicas.com>
20111
20112 * gnu/java/awt/java2d/AbstractGraphics2D.java
20113 (fill): Removed commented out code.
20114 (fillShape): Also determine the outline of the clip and feed
20115 it into the rendering method. Use new helper method for
20116 converting the shapes into lists of segments.
20117 (getUserBounds): Removed obsolete method.
20118 (rawFillShape): Respect the clip when rendering shapes.
20119 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20120 However, the implementation can't clip still.
20121 (getSegments): New helper method for converting a shape into
20122 a list of segments.
20123 (clipShape): Removed obsolete method.
20124 * gnu/java/awt/java2d/PolyEdge.java
20125 (isClip): New field.
20126 (PolyEdge): Added isField argument to constructor.
20127
20128 2006-05-08 Roman Kennke <kennke@aicas.com>
20129
20130 PR 27481
20131 * javax/swing/JRootPane.java
20132 (createContentPane): Set background of the content pane to null,
20133 so that the content pane inherits its background from the
20134 root pane.
20135
20136 2006-05-08 Roman Kennke <kennke@aicas.com>
20137
20138 PR 27480
20139 * javax/swing/ButtonGroup.java
20140 (add): Check if new button is selected and if so, deselect other
20141 buttons in the group.
20142
20143 2006-05-08 Lillian Angel <langel@redhat.com>
20144
20145 PR 27444
20146 * java/net/URLClassLoader.java
20147 (JarURLLoader): Added code to go through
20148 META-INF/INDEX.LIST file to load all jars listed.
20149
20150 2006-05-08 Roman Kennke <kennke@aicas.com>
20151
20152 PR 27461
20153 * javax/swing/ImageIcon.java
20154 (ImageIcon(URL)): Set description to URL.toString().
20155
20156 2006-05-08 Roman Kennke <kennke@aicas.com>
20157
20158 PR 27482
20159 * javax/swing/JTable.java
20160 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20161 null when cell value is null.
20162
20163 2006-05-08 Roman Kennke <kennke@aicas.com>
20164
20165 PR 27484
20166 * javax/swing/DefaultDesktopManager.java
20167 (closeFrame): Don't perform default close action on the frame
20168 to prevent endless loop.
20169
20170 2006-05-08 Roman Kennke <kennke@aicas.com>
20171
20172 PR 27485
20173 * javax/swing/table/DefaultTableModel.java
20174 (addExtraRows): New helper method.
20175 (checkSize): New helper method.
20176 (setRowCount): Use addExtraRows helper method.
20177 (addColumn): Use addExtraRows helper method.
20178 (getColumnName): Check and adjust size if necessary using
20179 checkSize().
20180
20181 2006-05-08 Roman Kennke <kennke@aicas.com>
20182
20183 PR 27486
20184 * javax/swing/JTable.java
20185 (setValueAt): Allow setting values even when table is editable.
20186
20187 2006-05-08 Tom Tromey <tromey@redhat.com>
20188
20189 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20190 space to error message.
20191
20192 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20193
20194 * javax/swing/AbstractButton.java: Fixed comment typos.
20195
20196 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20197
20198 PR classpath/27435:
20199 * java/util/zip/DeflaterEngine.java:
20200 (deflateFast(boolean,boolean)): Empty buffer when full.
20201
20202 2006-05-07 Sven de Marothy <sven@physto.se>
20203
20204 Fixed PR27343
20205 * java/util/Calendar.java (setTimeZone): Force recalculation.
20206
20207 2006-05-07 Sven de Marothy <sven@physto.se>
20208
20209 Fixed PR27463
20210 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20211 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20212
20213 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20214
20215 PR classpath/27311:
20216 * gnu/java/text/StringFormatBuffer.java:
20217 (toString()): Implemented so we can see the contents.
20218 * java/text/DecimalFormat.java:
20219 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20220 Don't calculate the exponent when the number is 0 or less.
20221 Also, use log10 instead of log now it's available.
20222
20223 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20224
20225 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20226 Use instance's field creationDate not the constructor's argument.
20227 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20228 Removed unused imports.
20229 Sorted imports.
20230 (log): New field.
20231 (decrypt): Added trace/debug/timing statements.
20232 (encrypt): Likewise.
20233 Use PRNG instead of instantiating every time a new SecureRandom.
20234 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20235 Removed unused imports.
20236 Sorted imports.
20237 (log): New field.
20238 (verify): Added trace/debug/timing statements.
20239 (authenticate): Likewise.
20240 Use PRNG instead of instantiating every time a new SecureRandom.
20241
20242 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20243
20244 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20245 (THREAD_FORMAT): Likewise.
20246 (dateFormat): Added field.
20247 (threadFormat): Added field.
20248 (format): Initialize instance fields if null.
20249 Use StringBuilder instead of StringBuffer.
20250
20251 2006-05-07 Roman Kennke <kennke@aicas.com>
20252
20253 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20254
20255 2006-05-07 Roman Kennke <kennke@aicas.com>
20256
20257 * gnu/java/awt/java2d/AbstractGraphics2D.java
20258 (fillShape): Determine user space bounds of shape and feed them
20259 into the actual rendering pipeline.
20260 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20261 (rawSetForeground): Likewise.
20262 (getDestinationColorModel): Removed.
20263 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20264 (rawFillShape): Handle paint context.
20265 (fillScanline): Implement painting and compositing.
20266 (fillShapeAntialias): Handle paint context.
20267 (fillScanlineAA): Implemented preliminary antialiasing based on
20268 composite context. Not working yet.
20269 (fillScanlineAlpha): Removed.
20270 (init): Fetch destination raster.
20271 (getDestinationRaster): New abstract method.
20272 (updateRaster): New backend method.
20273
20274 2006-05-07 Roman Kennke <kennke@aicas.com>
20275
20276 * gnu/java/awt/java2d/AlphaCompositeContext.java
20277 (compose): Fixed loops, conditions and logic to make compositing
20278 work correctly.
20279
20280 2006-05-07 Roman Kennke <kennke@aicas.com>
20281
20282 * java/awt/ColorPaintContext.java
20283 (ColorPaintContext): Fixed filling of the raster.
20284
20285 2006-05-07 Sven de Marothy <sven@physto.se>
20286
20287 Fixed PR27455
20288 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20289 * java/awt/Component.java (processMouseEvent):
20290 Do lightweight cursor handling.
20291 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20292 (endResizing,mouseMoved): Save and reset original cursor, not the
20293 default one.
20294
20295 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20296
20297 PR 27298
20298 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20299 getNodeDimensions): Mind the size of the node icon. (getRowX):
20300 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20301 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20302 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20303 (installDefaults): assign totalChildIndent. (installUI): Call
20304 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20305 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20306 the tree.
20307
20308 2006-05-06 Sven de Marothy <sven@physto.se>
20309
20310 Fixed PR27454
20311 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20312 Check for zero image sizes.
20313
20314 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20315
20316 Fixed PR27362
20317 * java/util/Calendar.java (clear(int)): Forced internal state
20318 completion before performing a field clearing.
20319
20320 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20321
20322 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20323 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20324 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20325 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20326 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20327 UnmodifiableMapEntry as part of their return value.
20328
20329 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20330
20331 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20332 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20333 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20334 Generate jarsigner and keytool scripts.
20335 * tools/keytool.in: New file (renamed from keytool.sh.in).
20336 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20337 * tools/.cvsignore: Replaced *.sh with *
20338 * configure.ac: Replaced tools/*.sh with tools/*.
20339
20340 2006-05-05 Roman Kennke <kennke@aicas.com>
20341
20342 * java/awt/image/ColorModel.java
20343 (getNormalizedComponents): Implemented.
20344
20345 2006-05-05 Roman Kennke <kennke@aicas.com>
20346
20347 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20348 (paint): Query the button model for it's state, not the
20349 button itself.
20350
20351 2006-05-05 Roman Kennke <kennke@aicas.com>
20352
20353 * javax/swing/JTable.java
20354 (tableChanged): Sync selection model with table model changes.
20355
20356 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20357
20358 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20359 if there are no visible nodes to paint.
20360
20361 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20362
20363 * javax/swing/JOptionPane.java: API doc updates.
20364
20365 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20366
20367 * javax/swing/JToolBar.java
20368 (paramString): Reimplemented.
20369
20370 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20371
20372 * javax/swing/JScrollBar.java
20373 (paramString): Reimplemented.
20374
20375 2006-05-04 Tom Tromey <tromey@redhat.com>
20376
20377 PR classpath/27375:
20378 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20379 (readEntries): Updated.
20380 (getEntries): Likewise.
20381 (getEntry): Likewise.
20382 (getInputStream): Likewise.
20383
20384 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20385
20386 * gnu/javax/imageio/jpeg/DCT.java,
20387 gnu/javax/imageio/jpeg/HuffmanTable.java,
20388 gnu/javax/imageio/jpeg/JPEGComponent.java,
20389 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20390 gnu/javax/imageio/jpeg/JPEGException.java,
20391 gnu/javax/imageio/jpeg/JPEGFrame.java,
20392 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20393 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20394 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20395 gnu/javax/imageio/jpeg/JPEGMarker.java,
20396 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20397 gnu/javax/imageio/jpeg/JPEGScan.java,
20398 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20399 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20400
20401 2006-05-04 Lillian Angel <langel@redhat.com>
20402
20403 * javax/swing/JLabel.java
20404 (JLabel): Pass in an empty string for the text parameter.
20405 (JLabel): Likewise.
20406 (JLabel): Likewise.
20407
20408 2006-05-04 Roman Kennke <kennke@aicas.com>
20409
20410 * javax/swing/plaf/basic/BasicButtonListener.java
20411 (mouseEntered): Fixed conditions for changing states.
20412
20413 2006-05-04 Roman Kennke <kennke@aicas.com>
20414
20415 * javax/swing/JOptionPane.java
20416 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20417
20418 2006-05-04 Roman Kennke <kennke@aicas.com>
20419
20420 * javax/swing/JLabel.java
20421 (AccessibleJLabel.getSelectedText): Return null instead of "".
20422 (AccessibleJLabel.getSelectionStart): Added comment why
20423 return -1 is correct here.
20424 (AccessibleJLabel.getSelectionEnd): Added comment why
20425 return -1 is correct here.
20426 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20427 to do here.
20428 (AccessibleJLabel.getCharCount): Added comment about what
20429 to do here.
20430 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20431 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20432 (paramString): Return super.paramString() here, this provides
20433 a more meaningful output.
20434
20435 2006-05-04 Roman Kennke <kennke@aicas.com>
20436
20437 * javax/swing/JComponent.java
20438 (paint): Added null check to avoid NPE when clip == null.
20439
20440 2006-05-04 Roman Kennke <kennke@aicas.com>
20441
20442 * javax/swing/AbstractButton.java
20443 (addImpl): New method. Installs an OverlayLayout if no
20444 other layout has been installed before.
20445 (setLayout): New method. Detect if a client app installs a custom
20446 layout.
20447
20448 2006-05-04 Roman Kennke <kennke@aicas.com>
20449
20450 * javax/swing/table/DefaultTableCellRenderer.java
20451 (noFocusBorder): Fixed width of empty border to 1.
20452 (getTableCellRendererComponent): Don't change the colors for
20453 focuses cells. Fixed border for focused cells.
20454
20455 2006-05-04 Roman Kennke <kennke@aicas.com>
20456
20457 * javax/swing/JTable.java
20458 (moveToCellBeingEdited): Adjust bounding box of editing component
20459 to exactly cover the grid.
20460 * javax/swing/plaf/basic/BasicTableUI.java
20461 (paint): Paint grid to the bottom and right of the cells instead
20462 of left and top. Adjust bounding box of cells accordingly.
20463 * javax/swing/plaf/metal/MetalLookAndFeel.java
20464 (initComponentDefaults): Fixed color of JTable selection border.
20465 * javax/swing/plaf/metal/OceanTheme.java
20466 (addCustomEntriesToTable): Fixed color of JTable selection border.
20467
20468 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20469
20470 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20471 Use _alias instead of alias.
20472
20473 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20474
20475 * configure.ac:
20476 Set version to 0.92-pre.
20477 * NEWS:
20478 Add space for 0.92 entries.
20479
20480 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20481
20482 * include/Makefile.am:
20483 Added rules for gnu.java.net.local.LocalSocketImpl.h
20484 * include/java_lang_VMSystem.h:
20485 Regenerated correctly.
20486
20487 2006-05-03 Sven de Marothy <sven@physto.se>
20488
20489 PR 24023, 24701
20490 * java/awt/Image.java:
20491 (getScaledInstance): Default to AreaAveraging for "smooth",
20492 don't thrown an error on illegal flag values.
20493 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20494
20495 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20496
20497 * javax/swing/text/FieldView.java:
20498 (adjustAllocation): Added if-block to return null when shape argument
20499 is null.
20500 * javax/swing/text/PlainView.java:
20501 (updateDamage): Added if-block to return early if a is null.
20502
20503 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20504
20505 * javax/swing/plaf/basic/BasicTextUI.java:
20506 (changeUpdate): Added note.
20507 (removeUpdate): Dito.
20508 (insertUpdate): Dito.
20509 (damageRange): Added if-block to return early.
20510 (modelToView): Added check of getVisibleEditorRect's return value.
20511 (getVisibleEditorRect): Return null instead of empty rectangle.
20512 * javax/swing/text/DefaultCaret.java:
20513 (clearHighlight): Removed if-clause to create a highlight entry if it
20514 did not exist before.
20515 * javax/swing/text/WrappedPlainView.java:
20516 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20517 removed 2nd part of if-expression.
20518 (WrappedLine.updateDamage): Added more documentation, added check
20519 whether allocation area rectangle is null.
20520
20521 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20522
20523 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20524 Reset to preferred sizes if the argument is negative.
20525
20526 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20527
20528 * javax/swing/JList.java: Added/updated API docs.
20529
20530 2006-05-03 Lillian Angel <langel@redhat.com>
20531
20532 * javax/swing/JComponent.java
20533 (getRoot): New private function. Gets the root appropriate
20534 for painting. If an applet exists as a parent, then it is returned.
20535 (paintDoubleBuffered): Changed to use new function.
20536 * javax/swing/RepaintManager.java
20537 (getRoot): New private function. Gets the root appropriate
20538 for painting. If an applet exists as a parent, then it is returned.
20539 (getOffscreenBuffer): Changed to use new function.
20540 * javax/swing/SwingUtilties.java
20541 (getRoot): Reverted last patch to return Window, even if
20542 an Applet exists.
20543
20544 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20545
20546 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20547 a pair of one public keyring and one private keyring.
20548 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20549 (containsCertificate): Added logging.
20550 (getCertificate): Likewise.
20551 (putCertificate): Likewsie.
20552 (load): Likewise.
20553 (store): Likewise.
20554 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20555 (containsPrivateKey): Added logging.
20556 (getPrivateKey): Likewise.
20557 (putPrivateKey): Likewise.
20558 (containsPublicKey): Likewise.
20559 (getPublicKey): Likewise.
20560 (putPublicKey): Likewise.
20561 (containsCertPath): Likewise.
20562 (getCertPath): Likewise.
20563 (putCertPath): Likewise.
20564 (load): Likewise.
20565 (store): Likewise.
20566
20567 2006-05-03 Roman Kennke <kennke@aicas.com>
20568
20569 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20570 * java/awt/AlphaComposite.java
20571 (createContext): Implemented.
20572
20573 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20574
20575 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20576 Set the current color again after drawing the raster.
20577
20578 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20579
20580 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20581 Do not check pos < currLineEnd if currLineStart == currLineEnd.
20582
20583 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20584
20585 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20586 Assign returned value to field handler.
20587 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20588 Likewise.
20589
20590 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20591
20592 * javax/swing/ScrollPaneLayout.java (layoutContainer):
20593 Return without action if there is no view in the viewport.
20594 * javax/swing/text/WrappedPlainView.java
20595 (WrappedLine.getPreferredSpan): If metrics == null, update
20596 metrics.
20597 * javax/swing/tree/DefaultTreeModel.java (constructors):
20598 Do not call setRoot, assign the root node directly.
20599
20600 2006-05-02 Lillian Angel <langel@redhat.com>
20601
20602 * javax/swing/SwingUtilities.java
20603 (getRoot): Should return the Applet if it exists.
20604 Only return the Window if an Applet has not been
20605 encountered.
20606
20607 2006-05-02 Lillian Angel <langel@redhat.com>
20608
20609 * gnu/javax/swing/text/html/parser/support/Parser.java
20610 (readAttributes): Reverted Audrius' last patch. There is
20611 a slight difference in code between the NUMTOKEN and SLASH case.
20612
20613 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20614
20615 * javax/swing/text/JTextComponent.java:
20616 (setText): Throw InternalError from catch-block.
20617 * javax/swing/text/GapContent.java:
20618 (removed): Removed if-expression, changed '>' to '>='.
20619
20620 2006-05-02 Roman Kennke <kennke@aicas.com>
20621
20622 * gnu/java/awt/java2d/AbstractGraphics2D.java
20623 (AA_SAMPLING): New constant.
20624 (alpha): New field. Used in the antialiasing renderer.
20625 (edgeTable): New field. Used in the antialiasing renderer.
20626 (AbstractGraphics2D): Initialize rendering hints wrt
20627 anti-aliasing.
20628 (draw): Clip after stroking. Commented out clipping for now,
20629 it seems to be buggy.
20630 (fill): Commented out clipping for now, it seems to be buggy.
20631 (setComposite): Don't create composite context.
20632 (setPaint): Only change paint when parameter is not null.
20633 (translate): Call setClip() so subclasses can update their clip
20634 too.
20635 (clip): Call setClip() so subclasses can update their clip
20636 too.
20637 (drawGlyphVector): Added clipping, but left it commented out
20638 because it's buggy.
20639 (getClipBounds): Returns null when clip is null.
20640 (drawLine): Call rawDrawLine with translation applied.
20641 (filLRect): Call rawFillRect with translation applied.
20642 (fillShape): Added support for anti-aliasing.
20643 (rawSetForeground(int,int,int)): New method.
20644 (rawFillShape): A couple of painting fixes.
20645 (fillScanline): Implemented to call rawDrawLine.
20646 (fillShapeAntialias): New method. Implements an anti-aliasing
20647 shape filler.
20648 (fillScanlineAA): New method. Used for the anti-aliasing
20649 shape filler.
20650 (fillScanlineAlpha): New method. Used for the anti-aliasing
20651 shape filler.
20652 (init): Initialize clip with the device bounds.
20653 (updateOptimization): Fixed the optimization condition.
20654
20655 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20656
20657 * javax/swing/text/GapContent.java:
20658 (GapContent): Restrict size argument by 2.
20659 (insertString): Changed expression from >= to >.
20660 (remove): Changed right side of expression to 'length - 1', changed
20661 exception message.
20662 (getChars): Throw exception if where below 0.
20663 (replace): Replaced call to setPositionsInRange() with
20664 resetMarksAtZero(), removed note.
20665
20666 2006-05-02 Roman Kennke <kennke@aicas.com>
20667
20668 PR 27326
20669 * javax/swing/MenuSelectionManager.java
20670 (setSelectedPath): Rewritten.
20671
20672 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20673
20674 * gnu/javax/swing/text/html/parser/support/Parser.java
20675 (readAttributes): Merge case NUMTOKEN: and case SLASH:
20676 sections.
20677
20678 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20679
20680 * tools/.cvsignore: Added keytool.sh.
20681 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
20682
20683 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20684
20685 * doc/tools.texinfo: New file.
20686 * doc/Makefile.am: Generate tools documentation.
20687
20688 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20689
20690 * tools/keytool.sh.in: New file.
20691 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20692 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
20693 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
20694 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
20695 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
20696 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20697 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
20698 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20699 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
20700 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
20701 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
20702 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
20703 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20704 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20705 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
20706 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
20707 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
20708 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
20709
20710 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20711
20712 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
20713 resemble more closely man-page style text.
20714 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
20715 Mark (Eclipse) strings that need not be externalised.
20716 (writeSF): Likewise.
20717 (writeDSA): Likewise.
20718 Use package-private Messages class to provide i18n-ready strings.
20719 (startSigning):
20720 Use package-private Messages class to provide i18n-ready strings.
20721 (updateEntry): Likewise.
20722 Mark (Eclipse) strings that need not be externalised.
20723 (finishSigning): Likewise.
20724 * tools/gnu/classpath/tools/jarsigner/Main.java:
20725 Mark (Eclipse) strings that need not be externalised.
20726 (main): Do not use constant strings as class name.
20727 Use package-private Messages class to provide i18n-ready strings.
20728 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20729 (processArgs): Do not use constant strings as class name.
20730 Mark (Eclipse) strings that need not be externalised.
20731 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20732 (start): Do not use constant strings as class name.
20733 (teardown): Likewise.
20734 Use ProviderUtil.
20735 (setupCommonParams): Do not use constant strings as class name.
20736 Use package-private Messages class to provide i18n-ready strings.
20737 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20738 (installNewProvider): Do not use constant strings as class name.
20739 Use ProviderUtil.
20740 (setupSigningParams): Do not use constant strings as class name.
20741 Use package-private Messages class to provide i18n-ready strings.
20742 Mark (Eclipse) strings that need not be externalised.
20743 (getCallbackHandler): Use CallbackUtil.
20744 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20745 Use package-private Messages class to provide i18n-ready strings.
20746 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20747 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
20748 (verifySF): Likewise.
20749 (verifySFEntries): Do not use constant strings as class name.
20750 Use Boolean.valueOf instead of new Boolean().
20751 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
20752 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20753 New file.
20754 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
20755 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
20756
20757 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20758
20759 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
20760 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
20761 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
20762
20763 2006-05-01 Tom Tromey <tromey@redhat.com>
20764
20765 * java/nio/ByteBufferImpl.java (compact): Don't reset position
20766 in empty case.
20767 * gnu/java/nio/ChannelReader.java (read): Synchronize.
20768 (close): Synchronize.
20769 * java/nio/ShortBufferImpl.java (compact): Rewrote.
20770 * java/nio/LongBufferImpl.java (compact): Rewrote.
20771 * java/nio/IntBufferImpl.java (compact): Rewrote.
20772 * java/nio/FloatBufferImpl.java (compact): Rewrote.
20773 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
20774 * java/nio/CharBufferImpl.java (compact): Rewrote.
20775 * gnu/java/nio/ChannelWriter.java: New file.
20776 * java/nio/channels/Channels.java (newWriter): Implemented.
20777
20778 2006-05-01 Lillian Angel <langel@redhat.com>
20779
20780 * java/util/SimpleTimeZone.java
20781 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
20782 (SimpleTimeZone): Likewise.
20783 (checkRule): Rewritten to properly check all values (more efficently).
20784 This code is now more stable, at least less buggy than before. Fixed
20785 API documentation.
20786 (setStartRule): Moved checkRule call to end.
20787 (setStartRule): Likewise.
20788 (setEndRule): Likewise.
20789 (setEndRule): Likewise.
20790
20791 2006-05-01 Tom Tromey <tromey@redhat.com>
20792
20793 * lib/.cvsignore: Added classes.2.
20794
20795 2006-05-01 Tom Tromey <tromey@redhat.com>
20796
20797 * java/util/jar/JarFile.java (provider): Now package-private.
20798 * java/lang/Enum.java (compareTo): Javadoc fix.
20799 * java/lang/Boolean.java (compareTo): Javadoc fix.
20800
20801 2006-05-01 Lillian Angel <langel@redhat.com>
20802
20803 * gnu/javax/swing/text/html/parser/support/Parser.java
20804 (readAttributes): Formatted function. Added handling for
20805 SLASH token. The value of an attribute may start with a slash
20806 (i.e. a path). I added handling similar to to the NUMTOKEN code.
20807 We should not be skipping over these type of attributes.
20808
20809 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
20810
20811 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
20812 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
20813 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
20814 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
20815 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
20816 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
20817 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
20818 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
20819 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
20820 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
20821 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
20822 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
20823 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
20824 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
20825 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
20826 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
20827 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
20828 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
20829 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
20830 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
20831 * include/gnu_java_awt_peer_gtk_GtkImage.h,
20832 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
20833 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
20834 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
20835 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
20836 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
20837 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
20838 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
20839 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
20840 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
20841 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
20842 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
20843 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
20844 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
20845 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
20846 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
20847 * include/gnu_java_awt_peer_qt_MainQtThread.h,
20848 * include/gnu_java_awt_peer_qt_QMatrix.h,
20849 * include/gnu_java_awt_peer_qt_QPainterPath.h,
20850 * include/gnu_java_awt_peer_qt_QPen.h,
20851 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
20852 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
20853 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
20854 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
20855 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
20856 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
20857 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
20858 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
20859 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
20860 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
20861 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
20862 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
20863 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
20864 * include/gnu_java_awt_peer_qt_QtGraphics.h,
20865 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
20866 * include/gnu_java_awt_peer_qt_QtImage.h,
20867 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
20868 * include/gnu_java_awt_peer_qt_QtListPeer.h,
20869 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
20870 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
20871 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
20872 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
20873 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
20874 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
20875 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
20876 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
20877 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
20878 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
20879 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
20880 * include/gnu_java_awt_peer_qt_QtToolkit.h,
20881 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
20882 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
20883 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
20884 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
20885 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
20886 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
20887 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
20888 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
20889 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
20890 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
20891 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
20892 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
20893 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
20894 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
20895 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
20896 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
20897 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
20898 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
20899 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
20900 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
20901 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
20902 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
20903 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
20904 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
20905 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
20906 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
20907 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
20908 * include/java_lang_VMProcess.h:
20909 Regenerated.
20910 * native/jni/java-lang/java_lang_VMProcess.c:
20911 Redirect when pipe_count is 2 not 3.
20912
20913 2006-04-30 Sascha Brawer <sascha@brawer.ch>
20914
20915 * gnu/java/awt/font/FontDelegate.java,
20916 * gnu/java/awt/font/FontFactory.java,
20917 * gnu/java/awt/font/GNUGlyphVector.java,
20918 * gnu/java/awt/font/opentype/CharGlyphMap.java,
20919 * gnu/java/awt/font/opentype/GlyphNamer.java,
20920 * gnu/java/awt/font/opentype/MacResourceFork.java,
20921 * gnu/java/awt/font/opentype/NameDecoder.java,
20922 * gnu/java/awt/font/opentype/OpenTypeFont.java,
20923 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
20924 * gnu/java/awt/font/opentype/Scaler.java,
20925 * gnu/java/awt/font/opentype/truetype/Fixed.java,
20926 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
20927 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
20928 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
20929 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
20930 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
20931 * gnu/java/awt/font/opentype/truetype/Zone.java,
20932 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
20933 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
20934 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
20935 New files. Imported font framework from:
20936 http://www.brawer.ch/software/fonts/
20937
20938 2006-04-30 Roman Kennke <kennke@aicas.com>
20939
20940 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
20941 (lastTabInRun): Fix calculation of the last tab in a run. This
20942 has caused painting problems sometimes, making the
20943 last tab painted incorrectly.
20944
20945 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20946
20947 PR 27297
20948 * javax/swing/JComponent.java (paintChildrenWithOverlap):
20949 Use for and not while to prevent the endless loop.
20950
20951 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
20952
20953 * javax/swing/JList.java
20954 (paramString): Changed from public to protected.
20955
20956 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20957
20958 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
20959 (printHelpAndExit): Re-factored to use the above method.
20960
20961 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20962
20963 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
20964 Use -Xbootclasspath/p instead of -cp when invoking the main class.
20965 * tools/gnu/classpath/tools/jarsigner/Main.java:
20966 Changed license to GPL + Exception.
20967 (handler): New field.
20968 (getCallbackHandler): New method.
20969 (setupSigningParams): Use above method.
20970 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
20971 Changed license to GPL + Exception.
20972 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
20973 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
20974 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
20975 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
20976
20977 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20978
20979 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
20980 (handleConfirmation): Use print instead of println.
20981 (handleConfirmation): When case is YES_NO_OPTION, print default option
20982 if one was set.
20983 (handleLanguage): Use print instead of println.
20984
20985 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20986
20987 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
20988 (putComponent): Handle O and OU components.
20989 (getDer): Use correct (it2) iterator.
20990 (readAttributeValue): Read next character and break if end-of-stream.
20991
20992 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20993
20994 * gnu/java/security/provider/Gnu.java (run):
20995 Add "RSA" as an alias to MD5withRSA.
20996 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
20997 Always encode a NULL as the value of an algorithm parameters field.
20998 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
20999 (encodePrivateKey): Added trace/log statements.
21000 (decodePrivateKey): Likewise.
21001 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21002 (setup): Added trace/log statements.
21003 (generate): Likewise.
21004 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21005 (toString): New method.
21006 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21007 (str): New field.
21008 (toString): New method.
21009 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21010 (getEncoded): Use defaultFormat.
21011 (toString): New method.
21012 * gnu/java/security/key/dss/DSSKey.java (toString):
21013 Include defaultFormat in string.
21014 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21015 Break if successfully decoded public key.
21016 (engineGeneratePrivate): Break if successfully decoded private key.
21017
21018 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21019
21020 * java/security/Security.java <clinit>: Add our Callback provider.
21021 * resource/java/security/classpath.security: Likewise
21022
21023 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21024
21025 PR 27296
21026 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21027 Decide about scroll bars from the preferred view size, not
21028 the current size.
21029 * javax/swing/ViewportLayout.java (layoutContainer):
21030 Do not change returned preferred size. Do not treat JScrollPane
21031 specially.
21032
21033 2006-04-28 Sven de Marothy <sven@physto.se>
21034
21035 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21036 * javax/swing/ProgressMonitor.java (actionPerformed):
21037 Avoid divide-by-zero.
21038
21039 2006-04-28 Sven de Marothy <sven@physto.se>
21040
21041 * javax/swing/JSpinner.java: Fix default text justification.
21042 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21043
21044 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21045
21046 * javax/swing/JList.java
21047 (getMinSelectionIndex): Return correct value, added API docs,
21048 (getMaxSelectionIndex): Added API docs.
21049
21050 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21051
21052 * javax/swing/JList.java
21053 (JList(Object[])): Pass new model directly to init(),
21054 (JList(Vector)): Likewise,
21055 (JList(ListModel)): Renamed argument and updated API docs,
21056 (init): Throw IllegalArgumentException for null argument,
21057 (setListData(Object[])): Delegate model creation,
21058 (setListData(Vector)): Likewise,
21059 (createListModel(Object[])): New private method,
21060 (createListModel(Vector)): New private method,
21061 (paramString): Implemented.
21062
21063 2006-04-28 Tom Tromey <tromey@redhat.com>
21064
21065 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21066 (isEnum): Rewrote.
21067 (isSynthetic): Likewise.
21068 (isAnnotation): Likewise.
21069 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21070 (isAnnotation): Likewise.
21071 (isEnum): Likewise.
21072
21073 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21074
21075 * javax/swing/text/View.java:
21076 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21077 view.
21078
21079 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21080
21081 * javax/swing/text/View.java:
21082 (getNextVisualPositionFrom): Rewritten.
21083 * javax/swing/text/CompositeView.java:
21084 (getNextEastWestVisualPositionFrom): Partly implemented.
21085 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21086
21087 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21088
21089 * javax/swing/JList.java
21090 (setFixedCellHeight): Use correct property name for event.
21091
21092 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21093
21094 * javax/swing/text/Utilities.java:
21095 (getNextWord): Use codePointAt instead of charAt, added note, changed
21096 if-expression, added throwing of exception.
21097 (getPreviousWord): Use codePointAt instead of charAt.
21098
21099 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21100
21101 * java/lang/StringBuilder.java
21102 (ensureCapacity, getChars, append(StringBuffer),
21103 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21104 insert(int,String), insert(int,char), trimToSize): Replaced
21105 System.arraycopy calls with VMSystem.arraycopy.
21106
21107 2006-04-27 Tom Tromey <tromey@redhat.com>
21108
21109 * java/awt/image/renderable/RenderableImageProducer.java
21110 (requestTopDownLeftRightResend): Implemented.
21111 (run): Likewise.
21112 (startProduction): Add new consumer.
21113
21114 2006-04-27 Sven de Marothy <sven@physto.se>
21115
21116 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21117
21118 2006-04-27 Roman Kennke <kennke@aicas.com>
21119
21120 * java/awt/LightweightDispatcher.java
21121 Dispatch events only to targets that have a mouselistener
21122 attached. Changed to also handle null targets.
21123
21124 2006-04-27 Roman Kennke <kennke@aicas.com>
21125
21126 * NEWS: Added entries about accessibility support and L&F
21127 window decorations.
21128
21129 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21130
21131 * javax/swing/text/Utilities.java:
21132 (getTabbedTextOffset): Introduced width variable, rewritten the check
21133 which ends the loop.
21134 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21135 to false.
21136
21137 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21138
21139 * examples/gnu/classpath/examples/swing/TreeDemo.java
21140 (createContent): Added root visibility and selection listener demos.
21141 * javax/swing/JTree.java (setRootVisible): If false, unselect
21142 the root node, if it is selected.
21143 * javax/swing/plaf/basic/BasicTreeUI.java
21144 (TreeTraverseAction.actionPerformed): Do not select the root if it
21145 is not visible.
21146 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21147 removeSelectionPaths): Reset lead to null if the current lead path is
21148 removed from selection.
21149 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21150 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21151 Return the same path regardless is root visible or not. (update):
21152 Reduce the identation if the root is not visible.
21153 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21154 Return the same path regardless is root visible or not. (update):
21155 Reduce the identation if the root is not visible.
21156
21157 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21158
21159 * javax/swing/plaf/basic/BasicTreeUI.java
21160 (TreeAction.actionPerformed):Newly obtain the current lead
21161 path that must stay visible.
21162 (TreeTraverseAction.actionPerformed):Rewritten.
21163 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21164 Do not treat root specially. (setModel): Assume the root node
21165 initially expanded.
21166 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21167 Do not treat root specially. (setModel): Assume the root node
21168 initially expanded.
21169
21170 2006-04-26 Chris Burdess <dog@gnu.org>
21171
21172 Fixes PR 27290
21173 * javax/xml/datatype/DatatypeFactory.java: Use complete
21174 implementation resolution mechanism.
21175
21176 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21177
21178 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21179 Implemented.
21180 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21181 Removed NoImplementException form the implemented method.
21182
21183 2006-04-26 Tom Tromey <tromey@redhat.com>
21184
21185 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21186 throw IOException.
21187
21188 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21189
21190 * javax/swing/DefaultListSelectionModel.java
21191 (clone): Initialise empty listener list,
21192 (setSelectionMode): Throw IllegalArgumentException for bad input.
21193
21194 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21195
21196 * javax/swing/DefaultListSelectionModel.java
21197 (clearSelection): Clear the Bitset.
21198
21199 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21200
21201 * javax/swing/JTree.java (setLeadSelectionPath):
21202 Repaint the new and old lead pathes.
21203 * javax/swing/plaf/basic/BasicTreeUI.java
21204 (FocusHandler): Repaint the lead row when focus changes.
21205 (PropertyChangeHandler): Use existing constants, not the
21206 string literals for the property names.
21207 (TreeIncrementAction): Shrink the selection when moving
21208 from the selection edge to the selection anchor.
21209 (TreeSelectionHandler.valueChanged): Repaint the
21210 new and old lead pathes.
21211 (paintRow): Treat row as focused only if it is the lead row.
21212 * javax/swing/tree/DefaultTreeCellRenderer.java
21213 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21214 (paint): Rewritten.
21215 * javax/swing/tree/DefaultTreeSelectionModel.java
21216 (addSelectionPath): Event construction fix (old and new lead were
21217 always the same).
21218 (addSelectionPaths): Likewise.
21219 * javax/swing/JComponent.java (setOpaque): Explained.
21220 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21221 Accept null.
21222 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21223 Accept null.
21224
21225 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21226
21227 * examples/gnu/classpath/examples/swing/TreeDemo.java
21228 (createContent): Call DefaultTreeModel.reload(), not the
21229 tree.repaint(). Expand the parent of the added node.
21230 * javax/swing/JTree.java (constructor): Do not call
21231 UpdateUI (and documented why). (treeDidChange):
21232 Added comment, excluding the misinterpretation of this method.
21233 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21234 focusListener, keyListener, mouseListener, propertyListener,
21235 selectionModelPropertyChangeListener, treeModelListener,
21236 treeSelectionListener): Made package private.
21237 (PropertyChangeHandler): If the model changes, install the
21238 listener on it. (installUI): Assign treeModel.
21239 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21240 comment, excluding misinterpretation.
21241 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21242 (reload(TreeNode)): Implemented.
21243
21244 2006-04-25 Tom Tromey <tromey@redhat.com>
21245
21246 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21247 * javax/swing/tree/VariableHeightLayoutCache.java
21248 (getVisiblePathsFrom): Genericized.
21249 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21250 Genericized.
21251
21252 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21253
21254 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21255 If clicked on the other row, cancel the current editing session.
21256
21257 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21258
21259 * javax/swing/plaf/basic/BasicTreeUI.java
21260 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21261 (paintExpandControl): Always paint in one gap distance from the left
21262 border of the path bounds.
21263 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21264 into consideration.
21265 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21266 left edge.
21267
21268 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21269
21270 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21271
21272 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21273
21274 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21275 Allow slashes (/) in the unquoted parameter value.
21276
21277 2006-04-25 Roman Kennke <kennke@aicas.com>
21278
21279 * gnu/java/awt/java2d/AbstractGraphics2D.java
21280 (drawString(String,int,int)): Implemented.
21281 (drawString(String,float,float)): Implemented.
21282 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21283 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21284 (getFontRenderContext): Implemented.
21285 (drawGlyphVector): Implemented.
21286 (getFont): Implemented.
21287 (setFont): Don't change font setting when null.
21288 (getFontMetrics): Implemented.
21289 (fillShape): Re-written to fill call rawFillShape() with a list
21290 of the edges instead of double arrays.
21291 (rawFillShape): Implemented using a polygon scanline conversion.
21292 (fillScanline): New helper method.
21293 (init): Initialize foreground black. Set font.
21294 * gnu/java/awt/java2d/PolyEdge.java: New file.
21295 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21296
21297 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21298
21299 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21300
21301 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21302
21303 * javax/swing/JTable.java: Fixed API doc tags,
21304 * javax/swing/text/AsyncBoxView.java: Likewise,
21305 * javax/swing/text/FlowView.java: Likewise.
21306
21307 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21308
21309 * javax/swing/table/DefaultTableColumnModel.java
21310 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21311
21312 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21313
21314 * javax/swing/table/DefaultTableColumnModel.java
21315 (DefaultTableColumnModel): Set selection model field and add 'this' as
21316 listener directly,
21317 (addColumn): Add 'this' as a PropertyChangeListener,
21318 (removeColumn): Remove column before firing event, and remove 'this' as
21319 a PropertyChangeListener,
21320 (setSelectionModel): Remove 'this' as a listener from old model,
21321 (propertyChange): Check for 'width' property rather than
21322 TableColumn.COLUMN_WIDTH_PROPERTY.
21323
21324 2006-04-24 Chris Burdess <dog@gnu.org>
21325
21326 Fixes PR 27262
21327 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21328 attributes when no doctype exists.
21329
21330 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21331
21332 * javax/swing/event/ChangeEvent.java: Updated API docs,
21333 * javax/swing/event/ChangeListener.java: Likewise,
21334 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21335 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21336 * javax/swing/table/TableColumnModel.java: Likewise.
21337
21338 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21339
21340 * javax/swing/text/Utilities.java:
21341 (getBreakLocation): Introduced shift variable, added notes.
21342 * javax/swing/text/WrappedPlainView.java:
21343 (calculateBreakPosition): Decrease allocation area bounds by insets,
21344 added early return when allocation area is empty, provide start offset
21345 as argument.
21346 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21347 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21348 numLines after loop.
21349 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21350 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21351 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21352 decreasing variable end by one, changed break condition in while-loop,
21353 added check for return value.
21354 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21355 allocation area is empty.
21356
21357 2006-04-24 Sven de Marothy <sven@physto.se>
21358
21359 * gnu/java/awt/java2d/Segment.java: New file.
21360 * gnu/java/awt/java2d/CubicSegment.java: New file.
21361 * gnu/java/awt/java2d/QuadSegment.java: New file.
21362 * gnu/java/awt/java2d/LineSegment.java: New file.
21363 * java/awt/BasicStroke.java
21364 (start): New field.
21365 (end): New field.
21366 (createStrokedShape): Implemented.
21367 (solidStroke): New method.
21368 (dashedStroke): New method.
21369 (capEnds): New method.
21370 (convertPath): New method.
21371 (addSegments): New method.
21372 (capEnd): New method.
21373 (lineIntersection): New method.
21374 (joinSegments): New method.
21375
21376 2006-04-24 Roman Kennke <kennke@aicas.com>
21377
21378 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21379 Cloneable.
21380 (font): New field.
21381 (clip): Changed clip to be in user space not in target space.
21382 (isOptimized): Added flag to allow optimized drawing for
21383 primitive operations (e.g. for Swing).
21384 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21385 with the paint context etc.
21386 (draw): Clip the shape before drawing it.
21387 (fill): Clip the shape before drawing it.
21388 (setComposite): Update isOptimized flag.
21389 (setPaint): Likewise.
21390 (setStroke): Likewise.
21391 (translate): Update the clip.
21392 (rotate): Likewise.
21393 (scale): Likewise.
21394 (shear): Likewise.
21395 (transform): Likewise.
21396 (setTransform): Likewise.
21397 (clip): Added optimization for rectangle clips.
21398 (create): Implemented.
21399 (clone): New method.
21400 (setFont): Basic implementation.
21401 (setClip): Update opimization flag.
21402 (drawLine): Added possible optimization.
21403 (fillRect): Added possible optimization.
21404 (fillShape): Implemented shape-filling by filling the flattended
21405 shape using polygon fill.
21406 (drawPixel): Added basic painting.
21407 (rawSetPixel): Changed signature to only take coordinates.
21408 (rawSetForeground): New abstract method.
21409 (getUserBounds): Implemented default for this method.
21410 (rawDrawLine): New method.
21411 (rawFillRect): New method.
21412 (rawFillPolygon): New method.
21413 (init): New method.
21414 (updateOptimization): New method.
21415 (computeIntersection): New method.
21416 (updateClip): New method.
21417 (clipShape): New method.
21418
21419 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21420
21421 * java/lang/Package.java: Added compatibility constructor to ease
21422 VM interface migration.
21423
21424 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21425
21426 * java/lang/Class.java (getEnumConstants): Implemented without
21427 delegating to VMClass.
21428 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21429
21430 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21431
21432 * java/lang/ClassLoader.java (definePackage): Added argument to
21433 Package constructor.
21434 * java/lang/Package.java (Package): Added ClassLoader argument.
21435 (loader): New field.
21436 (getDeclaredAnnotations): Implemented without help from VMPackage.
21437 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21438 to Package constructor.
21439 * vm/reference/java/lang/VMPackage.java: Removed.
21440
21441 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21442
21443 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21444 (createContent): Added check box to swith between single and
21445 multiple selection.
21446 * javax/swing/JTree.java (leadSelectionPath): Removed.
21447 (addSelectionInterval): Explained. (getLeadSelectionPath):
21448 Request the path from model. (getPathsBetweenRows): Explained.
21449 (setLeadSelectionPath): Set the path in model.
21450 * javax/swing/plaf/basic/BasicTreeUI.java
21451 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21452 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21453 (MouseHandler.mousePressed): Call selectPathForEvent.
21454
21455 2006-04-23 Roman Kennke <kennke@aicas.com>
21456
21457 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21458
21459 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21460
21461 * NEWS:
21462 Mention changes to VMProcess and VMSystem.
21463 * doc/vmintegration.texinfo:
21464 Change documentation on VMProcess and VMSystem.
21465 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21466 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21467 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21468 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21469 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21470 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21471 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21472 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21473 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21474 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21475 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21476 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21477 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21478 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21479 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21480 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21481 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21482 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21483 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21484 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21485 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21486 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21487 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21488 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21489 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21490 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21491 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21492 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21493 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21494 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21495 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21496 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21497 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21498 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21499 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21500 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21501 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21502 * include/gnu_java_awt_peer_qt_QMatrix.h,
21503 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21504 * include/gnu_java_awt_peer_qt_QPen.h,
21505 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21506 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21507 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21508 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21509 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21510 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21511 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21512 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21513 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21514 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21515 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21516 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21517 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21518 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21519 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21520 * include/gnu_java_awt_peer_qt_QtImage.h,
21521 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21522 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21523 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21524 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21525 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21526 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21527 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21528 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21529 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21530 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21531 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21532 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21533 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21534 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21535 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21536 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21537 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21538 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21539 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21540 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21541 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21542 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21543 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21544 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21545 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21546 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21547 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21548 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21549 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21550 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21551 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21552 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21553 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21554 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21555 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21556 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21557 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21558 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21559 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21560 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21561 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21562 * include/java_lang_VMProcess.h,
21563 * include/java_lang_VMSystem.h:
21564 Regenerated with GCJ 4.1.
21565
21566 2006-04-22 Casey Marshall <csm@gnu.org>
21567
21568 Fixes PR classpath/27228.
21569 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21570 (initialize): also accept `DHParameterSpec.'
21571 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21572 handle a passed-in `DHParameterSpec' properly.
21573 (generate): don't check if the random exponent is less than `q -
21574 1' if no `q' was specified.
21575
21576 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21577
21578 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21579 Only repaint the patches, speficied in the passed event.
21580 (expandPath): Do nothing if the path is already expanded.
21581 (scrollPathToVisible): Only scroll to visible, do nothing else.
21582 * javax/swing/plaf/basic/BasicTreeUI.java
21583 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21584 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21585 (TreeTraverseAction.actionPerformed): Collapse the node on the
21586 action "selectParent". (selectPath): Rewritten.
21587 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21588 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21589 Do not reuse selection array.
21590 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21591 Accept null.
21592 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21593 Accept null.
21594
21595 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21596
21597 * javax/swing/tree/DefaultTreeSelectionModel.java
21598 (addSelectionPath): If the path cannot be added, set it.
21599 (addSelectionPaths): Call insureRowContinuity.
21600 (arePathsContiguous): Implemented.
21601 (canPathBeAdded): New private method.
21602 (canPathsBeAdded): Implemented.
21603 (canPathsBeRemoved): Implemented.
21604 (getPath): New private method.
21605 (insureRowContinuity): Implemented.
21606 (removeSelectionPath): Call insureRowContinuity.
21607 (removeSelectionPaths): Call insureRowContinuity.
21608 (resetRowSelection): Removed stub marking, not used in implementation
21609 (nothing to do there).
21610 (selectOne): New private method.
21611 (setSelectionMode) Call insureRowContinuity.
21612 (setSelectionPaths) Remove the current selection by clearing it.
21613
21614 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
21615
21616 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21617 parameters consistendly, documented some methods.
21618 * java/sql/Blob.java: Likewise.
21619 * java/sql/CallableStatement.java: Likewise.
21620 * java/sql/Clob.java: Likewise.
21621 * java/sql/Connection.java: Likewise.
21622 * java/sql/DatabaseMetaData.java: Likewise.
21623 * java/sql/Date.java: Likewise.
21624 * java/sql/Driver.java: Likewise.
21625 * java/sql/PreparedStatement.java: Likewise.
21626 * java/sql/ResultSet.java: Likewise.
21627 * java/sql/ResultSetMetaData.java: Likewise.
21628 * java/sql/SQLData.java: Likewise.
21629 * java/sql/SQLOutput.java: Likewise.
21630 * java/sql/SQLWarning.java: Likewise.
21631 * java/sql/Statement.java: Likewise.
21632 * java/sql/Time.java: Likewise.
21633 * java/sql/Timestamp.java: Likewise.
21634
21635 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
21636
21637 * java/lang/reflect/AccessibleObject.java:
21638 Implemented AnnotatedElement.
21639 (getAnnotation, getAnnotations, getDeclaredAnnotations,
21640 isAnnotationPresent): New methods.
21641
21642 2006-04-21 Tom Tromey <tromey@redhat.com>
21643
21644 PR classpath/27163:
21645 * gnu/java/net/protocol/ftp/FTPConnection.java
21646 (changeWorkingDirectory): Do nothing if path is empty.
21647
21648 2006-04-21 Tom Tromey <tromey@redhat.com>
21649
21650 PR libgcj/27231:
21651 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
21652 case where no '/' appears in 'location'.
21653
21654 2006-04-21 Tom Tromey <tromey@redhat.com>
21655
21656 * java/security/Security.java (<clinit>): Add all default providers.
21657 * resource/java/security/classpath.security: Added comment.
21658
21659 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21660
21661 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
21662 * javax/swing/SpinnerNumberModel.java: Likewise.
21663
21664 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21665
21666 * javax/swing/SpinnerDateModel.java
21667 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
21668 checking to call compareTo() on start and end.
21669
21670 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21671
21672 * javax/swing/border/AbstractBorder.java: API doc updates,
21673 * javax/swing/border/BevelBorder.java: Likewise,
21674 * javax/swing/border/CompoundBorder.java: Likewise,
21675 * javax/swing/border/EtchedBorder.java: Likewise,
21676 * javax/swing/border/LineBorder.java: Likewise,
21677 * javax/swing/border/MatteBorder.java: Likewise,
21678 * javax/swing/border/TitledBorder.java: Likewise.
21679
21680 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21681
21682 * gnu/javax/crypto/cipher/Anubis.java:
21683 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
21684 instance,
21685 * gnu/javax/crypto/cipher/Blowfish.java:
21686 (selfTest): Likewise,
21687 * gnu/javax/crypto/cipher/Cast5.java:
21688 (selfTest): Likewise,
21689 * gnu/javax/crypto/cipher/Khazad.java:
21690 (selfTest): Likewise,
21691 * gnu/javax/crypto/cipher/Rijndael.java:
21692 (selfTest): Likewise,
21693 * gnu/javax/crypto/cipher/Serpent.java:
21694 (selfTest): Likewise,
21695 * gnu/javax/crypto/cipher/Square.java:
21696 (selfTest): Likewise,
21697 * gnu/javax/crypto/cipher/Twofish.java:
21698 (selfTest): Likewise,
21699 * gnu/javax/crypto/mac/UMac32.java:
21700 (selfTest): Likewise,
21701 * gnu/javax/crypto/prng/CSPRNG.java:
21702 (getSystemInstance): Likewise.
21703
21704 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21705
21706 * gnu/java/security/hash/Haval.java:
21707 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
21708 instance,
21709 * gnu/java/security/hash/MD2.java:
21710 (selfTest): Likewise,
21711 * gnu/java/security/hash/MD4.java:
21712 (selfTest): Likewise,
21713 * gnu/java/security/hash/MD5.java:
21714 (selfTest): Likewise,
21715 * gnu/java/security/hash/RipeMD128.java:
21716 (selfTest): Likewise,
21717 * gnu/java/security/hash/RipeMD160.java:
21718 (selfTest): Likewise,
21719 * gnu/java/security/hash/Sha160.java:
21720 (selfTest): Likewise,
21721 * gnu/java/security/hash/Sha256.java:
21722 (selfTest): Likewise,
21723 * gnu/java/security/hash/Sha384.java:
21724 (selfTest): Likewise,
21725 * gnu/java/security/hash/Sha512.java:
21726 (selfTest): Likewise,
21727 * gnu/java/security/hash/Tiger.java:
21728 (selfTest): Likewise,
21729 * gnu/java/security/hash/Whirlpool.java:
21730 (selfTest): Likewise.
21731
21732 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21733
21734 * javax/swing/plaf/basic/BasicTreeUI.java
21735 (PropertyChangeHandler.propertyChange): Set the row mapper
21736 for the selection model.
21737 * javax/swing/tree/AbstractLayoutCache.java
21738 (NodeDimensions.getNodeDimensions): Explained.
21739 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
21740 Implemented. (setRowHeight): Invalidate sizes.
21741 * javax/swing/tree/DefaultTreeSelectionModel.java
21742 (addSelectionPath, addSelectionPaths): Update lead row.
21743 (removeSelectionPath, removeSelectionPaths): Do nothing if
21744 selection is empty.
21745 (clone): Only clone list selection model if it is not null.
21746 (getRow): New method. (isRowSelected, getLeadSelectionRow,
21747 setSelectionPath, setSelectionPaths, toString): Implemented.
21748 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
21749 Pass the empty rectangle. (isFixedRowHeight): New method.
21750 * javax/swing/tree/VariableHeightLayoutCache.java
21751 (NodeRecord.getBounds): Pass the empty rectangle.
21752
21753 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21754
21755 * gnu/java/security/Properties.java
21756 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
21757
21758 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21759
21760 * gnu/classpath/jdwp/util/Value.java
21761 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
21762 creating new Boolean instances.
21763
21764 2006-04-20 Mark Wielaard <mark@klomp.org>
21765
21766 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
21767 PrivilegedAction. Access awt.toolkit through SystemProperties.
21768
21769 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21770
21771 * javax/swing/ActionMap.java: Removed unused imports,
21772 * javax/swing/DefaultListSelectionModel.java
21773 (clearSelection): Removed unused label,
21774 * javax/swing/JScrollPane.java: Removed unused imports,
21775 * javax/swing/UIManager.java: Likewise,
21776 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
21777
21778 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21779
21780 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
21781 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
21782 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
21783 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
21784 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
21785
21786 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21787
21788 * java/sql/Array.java: Fixed Eclipse API doc warnings,
21789 * java/sql/Blob.java: Likewise,
21790 * java/sql/CallableStatement.java: Likewise,
21791 * java/sql/Clob.java: Likewise,
21792 * java/sql/Connection.java: Likewise,
21793 * java/sql/DatabaseMetaData.java: Likewise,
21794 * java/sql/Date.java: Likewise,
21795 * java/sql/Driver.java: Likewise,
21796 * java/sql/PreparedStatement.java: Likewise,
21797 * java/sql/ResultSet.java: Likewise,
21798 * java/sql/ResultSetMetaData.java: Likewise,
21799 * java/sql/SQLData.java: Likewise,
21800 * java/sql/SQLOutput.java: Likewise,
21801 * java/sql/SQLWarning.java: Likewise,
21802 * java/sql/Statement.java: Likewise,
21803 * java/sql/Time.java: Likewise,
21804 * java/sql/Timestamp.java: Likewise.
21805
21806 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21807
21808 * java/sql/DriverManager.java
21809 (setLoginTimeout): Use incoming argument,
21810 (setLogStream): Likewise,
21811 (println): Fix API doc comment.
21812
21813 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21814
21815 * javax/swing/JMenuItem.java
21816 (paramString): Updated API docs,
21817 (getAccessibleContext): Added API docs,
21818 (AccessibleJMenuItem.stateChanged): Marked as stub,
21819 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
21820 * javax/swing/JSlider.java
21821 (paramString): Fix for API docs,
21822 * javax/swing/JToolTip.java
21823 (getAccessibleContext): Fix for API docs.
21824
21825 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21826
21827 * javax/swing/JRadioButtonMenuItem.java
21828 (paramString): Reimplemented,
21829 (getAccessibleContext): API docs added,
21830 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
21831 Likewise,
21832 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
21833
21834 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21835
21836 * javax/swing/plaf/basic/BasicTreeUI.java
21837 (finish): Invalidate path bounds.
21838 (getMaxHeight): Set the row height to the layout cache.
21839 (startEditing): Do not request to recalculated
21840 row height and preferred size.
21841 * javax/swing/tree/DefaultTreeCellEditor.java
21842 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
21843 with 0.
21844 * javax/swing/tree/FixedHeightLayoutCache.java:
21845 Rewritten.
21846
21847 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21848
21849 * javax/swing/JDesktopPane.java
21850 (paramString): Reimplemented,
21851 plus API doc updates in AccessibleJDesktopPane.
21852
21853 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21854
21855 * javax/swing/ImageIcon.java:
21856 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
21857 (AccessibleImageIcon.getLocale): Declared exception and always return
21858 null,
21859 (getAccessibleContext): Updated API docs,
21860 plus updated API docs all over AccessibleImageIcon.
21861
21862 2006-04-20 Roman Kennke <kennke@aicas.com>
21863
21864 PR 27196
21865 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21866 (paintText): Fetch the ascent only once. Add the ascent to
21867 the text rect also when tabs are disabled.
21868
21869 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
21870
21871 * java/util/Locale.java (defaultLocale): Set to en_US per
21872 default and use user.country but prioritize user.region if
21873 defined.
21874 (getLocale(String language, String country)): Renamed region to
21875 country.
21876 (getLocale(String language, String region, String variant)):
21877 Likewise.
21878 (getAvailableLocales): Likewise.
21879
21880 2006-04-20 Roman Kennke <kennke@aicas.com>
21881
21882 PR 27222
21883 * javax/swing/JList.java
21884 (JList()): Call init() with DefaultListModel instance.
21885 (JList(Object[])): Call init() with null.
21886 (JList(Vector)): Call init() with null.
21887 (JList(ListModel)): Call init() with model.
21888 (init): Changed to take the model as argument. Don't call
21889 setter methods and initialize stuff directly instead.
21890 (getCellBounds): Check if UI is null.
21891
21892 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
21893
21894 * javax/swing/text/WrappedPlainView.java: Initialize
21895 WrappedLine.numLines with -1.
21896 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
21897 numLines is -1 and reculcalate the value appropriately.
21898 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
21899 allocation area is empty.
21900
21901 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21902
21903 * javax/swing/JTabbedPane.java
21904 (AccessibleJTabbedPane.stateChanged): Marked as stub,
21905 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
21906 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
21907 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
21908 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
21909 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
21910 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
21911 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
21912 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
21913 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
21914 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
21915 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
21916 (Page.getAccessibleStateSet): Likewise,
21917 (Page.getAccessibleIndexInParent): Likewise.
21918
21919 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21920
21921 * javax/swing/JProgressBar.java
21922 (paramString): Reimplemented.
21923
21924 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21925
21926 * javax/swing/JButton.java: Updated API docs all over.
21927
21928 2006-04-19 Roman Kennke <kennke@aicas.com>
21929
21930 * java/awt/Toolkit.java
21931 (getDefaultToolkit): Use system classloader to load the
21932 toolkit.
21933
21934 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
21935
21936 * javax/swing/text/DefaultCaret.java:
21937 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
21938 instead of DefaultCaret.setDot.
21939
21940 2006-04-19 Roman Kennke <kennke@aicas.com>
21941
21942 * native/jni/java-net/local.c
21943 (local_read): Handle EINTR correctly.
21944 (local_write): Likewise.
21945
21946 2006-04-19 Riccardo Mottola <multix@gmail.com>
21947
21948 PR classpath/27062, PR classpath/25650:
21949 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
21950
21951 2006-04-19 Tom Tromey <tromey@redhat.com>
21952
21953 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
21954 value of 'pureMinutes'. PR classpath/27189.
21955
21956 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
21957
21958 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
21959 boot packages list from the META-INF/INDEX.LIST file if it exists.
21960
21961 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
21962
21963 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
21964 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
21965 (ITERATION_COUNT): Removed modifiers.
21966 (PASSWORD): Likewise.
21967 (SALT): Likewise.
21968 (PASSWORD_ENCODING): New property.
21969 (DEFAULT_PASSWORD_ENCODING): New constant.
21970 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
21971 material (bytes) before a password (chars).
21972
21973 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21974
21975 * javax/swing/JMenu.java
21976 (getAccessibleChildrenCount): Marked as stub,
21977 (getAccessibleChild): Likewise,
21978 (getAccessibleSelection): Likewise,
21979 (getAccessibleSelection(int)): Likewise,
21980 (isAccessibleChildSelected): Likewise,
21981 (getAccessibleSelectionCount): Likewise,
21982 (addAccessibleSelection): Likewise,
21983 (removeAccessibleSelection): Likewise,
21984 (clearAccessibleSelection): Likewise,
21985 (selectAllAccessibleSelection): Likewise.
21986
21987 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21988
21989 * javax/swing/JSplitPane.java
21990 (getAccessibleContext): Added API docs,
21991 (paramString): Reimplemented,
21992 (setOrientation): Updated API docs,
21993 (setResizeWeight): Added argument checking and event notification.
21994
21995 2006-04-18 Casey Marshall <csm@gnu.org>
21996
21997 Fixes PR classpath/25673
21998 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
21999 property is set. Update JavaDoc to reflect this.
22000
22001 2006-04-18 Lillian Angel <langel@redhat.com>
22002
22003 * gnu/xml/dom/DomDocument.java
22004 (setCheckingCharacters): New function used to set
22005 checkingCharacters flag.
22006 * gnu/xml/dom/html2/DomHTMLParser.java
22007 (parseDocument): Added call to set checkingCharacters flag
22008 to false.
22009
22010 2006-04-18 Lillian Angel <langel@redhat.com>
22011
22012 * gnu/xml/dom/DomDocument.java
22013 (checkNCName): Reverted last patch. Added check for colon at
22014 last position back in.
22015
22016 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22017
22018 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22019 New file.
22020 * examples/gnu/classpath/examples/swing/Demo.java:
22021 (mkMenuBar): Added NavigationFilter demo.
22022
22023 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22024
22025 * javax/swing/JSeparator.java: Updated API docs all over, plus
22026 (setOrientation): Fire PropertyChangeEvent,
22027 (paramString): Reimplemented.
22028
22029 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22030
22031 * javax/swing/plaf/basic/BasicTextUI.java:
22032 (getNextVisualPositionFrom): Implemented.
22033
22034 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22035
22036 * javax/swing/JPanel.java: Updated API docs all over, plus
22037 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22038 double-buffer flag.
22039
22040 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22041
22042 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22043 New file.
22044 * examples/gnu/classpath/examples/swing/Demo.java:
22045 (mkMenuBar): Added DocumenFilter demo.
22046
22047 2006-04-18 Tom Tromey <tromey@redhat.com>
22048
22049 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22050
22051 2006-04-18 Mark Wielaard <mark@klomp.org>
22052
22053 Reported by John Sullivan (johns@fsf.org)
22054 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22055
22056 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22057
22058 * javax/swing/JInternalFrame.java
22059 (JDesktopIcon.getAccessibleContext): Added API docs,
22060 (getDefaultCloseOperation): Likewise,
22061 (paramString): Added 'title' attribute,
22062 (setDefaultCloseOperation): Added API docs.
22063
22064 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22065
22066 * javax/swing/JSlider.java
22067 (paramString): Reimplemented.
22068
22069 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22070
22071 * javax/swing/JComboBox.java
22072 (paramString): Reimplemented,
22073 (getAccessibleContext): Added API docs,
22074 (AccessibleJComboBox.getAccessibleRole): Likewise.
22075
22076 2006-04-18 Roman Kennke <kennke@aicas.com>
22077
22078 * javax/swing/RepaintManager.java
22079 (dirtyComponentsWork): New field.
22080 (ComponentComparator): Use dirtyComponentsWork instead of
22081 dirtyComponents.
22082 (RepaintManager): Initialize new field.
22083 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22084 and work on the copy.
22085
22086 2006-04-18 Roman Kennke <kennke@aicas.com>
22087
22088 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22089 (setBounds): Call reshape().
22090 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22091 (SwingContainerPeer): Changed argument to be a Component
22092 instead a Container.
22093 (getInsets): Call insets().
22094 (handleMouseEvent): Added null check to avoid NPE.
22095 (handleMouseMotionEvent): Added null check to avoid NPE.
22096
22097 2006-04-18 Roman Kennke <kennke@aicas.com>
22098
22099 PR 27185
22100 * javax/swing/JComponent.java
22101 (paintChildrenWithOverlap): When one child is not opaque, propagate
22102 the dirty rectangles to the next child.
22103 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22104 This actually didn't work right and probably gained nothing.
22105
22106 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22107
22108 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22109 (moveToCellBeingEdited): Do not clone the rectangle here.
22110
22111 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22112
22113 * javax/swing/plaf/basic/BasicSliderUI.java
22114 (getActionMap): Fixed lookup key,
22115 (createActionMap): Modified actions to fetch slider/ui from the event
22116 source.
22117
22118 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22119
22120 * java/lang/Enum.java: Documented.
22121
22122 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22123
22124 * gnu/java/lang/InstrumentationImpl.java:
22125 Moved from java.lang.
22126 * java/lang/InstrumentationImpl.java:
22127 Removed.
22128 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22129 Moved from java.lang.
22130 * vm/reference/java/lang/VMClassLoader.java:
22131 Corrected reference to InstrumentationImpl.
22132 * vm/reference/java/lang/VMInstrumentationImpl.java:
22133 Removed.
22134
22135 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22136
22137 * java/lang/annotation/Annotation.java:
22138 Documented.
22139
22140 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22141
22142 * javax/swing/JToolBar.java
22143 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22144 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22145 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22146 (getAccessibleContext): Likewise.
22147
22148 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22149
22150 * configure.ac:
22151 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22152
22153 * native/fdlibm/Makefile.am,
22154 native/jni/classpath/Makefile.am:
22155 Don't use -module and -version-info for convenience libraries LDFLAGS.
22156 Fixes libtool warnings.
22157
22158 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22159
22160 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22161 (installKeyboardActions): Marked as stub,
22162 (uninstallKeyboardActions): Likewise,
22163 * javax/swing/plaf/basic/BasicComboPopup.java:
22164 (installKeyboardActions): Marked as stub,
22165 (uninstallKeyboardActions): Likewise,
22166 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22167 (installKeyboardActions): Marked as stub,
22168 (uninstallKeyboardActions): Likewise,
22169 * javax/swing/plaf/basic/BasicLabelUI.java:
22170 (installKeyboardActions): Marked as stub,
22171 (uninstallKeyboardActions): Likewise,
22172 * javax/swing/plaf/basic/BasicListUI.java:
22173 (installKeyboardActions): Marked as stub,
22174 (uninstallKeyboardActions): Likewise,
22175 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22176 (installKeyboardActions): Marked as stub,
22177 (uninstallKeyboardActions): Likewise,
22178 * javax/swing/plaf/basic/BasicMenuUI.java:
22179 (installKeyboardActions): Marked as stub,
22180 (uninstallKeyboardActions): Likewise,
22181 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22182 (installKeyboardActions): Marked as stub,
22183 (uninstallKeyboardActions): Likewise,
22184 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22185 (installKeyboardActions): Marked as stub,
22186 (uninstallKeyboardActions): Likewise,
22187 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22188 (installKeyboardActions): Marked as stub,
22189 (uninstallKeyboardActions): Likewise,
22190 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22191 (installKeyboardActions): Marked as stub,
22192 (uninstallKeyboardActions): Likewise,
22193 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22194 (installKeyboardActions): Marked as stub,
22195 (uninstallKeyboardActions): Likewise,
22196 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22197 (installKeyboardActions): Marked as stub,
22198 (uninstallKeyboardActions): Likewise,
22199 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22200 (installKeyboardActions): Marked as stub,
22201 (uninstallKeyboardActions): Likewise,
22202 * javax/swing/plaf/basic/BasicTableUI.java:
22203 (installKeyboardActions): Marked as stub,
22204 (uninstallKeyboardActions): Likewise,
22205 * javax/swing/plaf/basic/BasicTextUI.java:
22206 (installKeyboardActions): Marked as stub,
22207 (uninstallKeyboardActions): Likewise,
22208 * javax/swing/plaf/basic/BasicToolBarUI.java:
22209 (installKeyboardActions): Marked as stub,
22210 (uninstallKeyboardActions): Likewise.
22211
22212 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22213
22214 * javax/swing/plaf/basic/BasicSliderUI.java
22215 (installKeyboardActions): Implemented,
22216 (uninstallKeyboardActions): Implemented,
22217 (scrollByBlock): Accept any value for direction,
22218 (scrollByUnit): Likewise,
22219 (getInputMap): New method,
22220 (getActionMap): New method,
22221 (createActionMap): New method.
22222
22223
22224 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22225
22226 * doc/vmintegration.texinfo:
22227 Fix sectioning.
22228
22229 2006-04-16 Tom Tromey <tromey@redhat.com>
22230
22231 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22232
22233 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22234
22235 * NEWS:
22236 Mention generics additions to the VM interface.
22237 * doc/vmintegration.texinfo:
22238 Added information on VMClass 1.5 additions and
22239 VMSecureRandom.
22240
22241 2006-04-16 Casey Marshall <csm@gnu.org>
22242
22243 * NEWS: add an entry mentioning local socket support.
22244
22245 2006-04-16 Casey Marshall <csm@gnu.org>
22246
22247 * configure.ac (--enable-local-sockets): new enable argument.
22248 (ENABLE_LOCAL_SOCKETS): new define.
22249 * native/jni/java-net/Makefile.am (local_sources): new variable.
22250 (lib_javanet_la_SOURCES): append `local_sources.'
22251 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22252 * native/jni/java-net/local.c,
22253 * native/jni/java-net/local.h,
22254 * include/gnu_java_net_local_LocalSocketImpl.h,
22255 * gnu/java/net/local/LocalServerSocket.java,
22256 * gnu/java/net/local/LocalSocket.java,
22257 * gnu/java/net/local/LocalSocketAddress.java,
22258 * gnu/java/net/local/LocalSocketImpl.java: new files.
22259
22260 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22261
22262 * javax/accessibility/AccessibleAction.java:
22263 (DECREMENT): Added field.
22264 (INCREMENT): Likewise.
22265 (TOGGLE_EXPAND): Likewise.
22266 * javax/accessibility/AccessibleRole.java:
22267 (EDITBAR): Added field.
22268 (FOOTER): Likewise.
22269 (HEADER): Likewise.
22270 (PARAGRAPH): Likewise.
22271 (PROGRESS_MONITOR): Likewise.
22272 (RULER): Likewise.
22273 * javax/accessibility/AccessibleState.java:
22274 (INDETERMINATE): Added field.
22275 (MANAGES_DESCENDANTS): Likewise.
22276 (TRUNCATED): Likewise.
22277
22278 2006-04-14 Tom Tromey <tromey@redhat.com>
22279
22280 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22281 Genericized.
22282 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22283 Genericized.
22284
22285 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22286
22287 * javax/swing/text/DefaultCaret.java:
22288 (getBypass): New method.
22289 (moveDot): Rewritten.
22290 (moveDotImpl): New method.
22291 (setDot): Rewritten.
22292 (setDotImpl): New method.
22293 (DefaultCaret.Bypass): New class.
22294
22295 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22296
22297 * javax/swing/text/AbstractDocument.java:
22298 (getBypass): New method.
22299 (insertString): Rewritten.
22300 (remove): Rewritten.
22301 (replace): Rewritten.
22302 (insertStringImpl): New method.
22303 (removeImpl): New method.
22304 (replaceImpl): New method.
22305 (AbstractDocument.Bypass): New class.
22306
22307 2006-04-14 Casey Marshall <csm@gnu.org>
22308
22309 Fixes PR classpath/24642
22310 * NEWS: add note about SecureRandom changes, and addition of
22311 VMSecureRandom.
22312 * java/security/SecureRandom.java (isSeeded): new field.
22313 (setSeed, setSeed): set `isSeeded' to `true.'
22314 (nextBytes): seed this instance if `isSeeded' is false.
22315 (getSeed): call `generateSeed.'
22316 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22317 (generateSeed, generateSeed): new methods.
22318 * vm/reference/java/security/VMSecureRandom.java: new file.
22319
22320 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22321
22322 * javax/swing/text/FieldView.java:
22323 (paint): Apply clipping rectangle of the allocation area
22324 before painting the text.
22325 * javax/swing/text/DefaultHighlighter.java:
22326 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22327 compute union and intersection, calculate intersection with allocation
22328 area before painting, adjust x and width when painting multiple lines
22329 by the range of the allocation area.
22330
22331 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22332
22333 * javax/swing/text/DefaultHighlighter.java:
22334 (paintLayeredHighlights): Marked as stub.
22335
22336 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22337
22338 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22339 (propertyChanged): Added note, change color only if current background
22340 is a ColorUIResource instance.
22341
22342 2006-04-14 Tom Tromey <tromey@redhat.com>
22343
22344 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22345 a stub.
22346 (next): Likewise.
22347
22348 2006-04-14 Tom Tromey <tromey@redhat.com>
22349
22350 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22351
22352 2006-04-14 Mark Wielaard <mark@klomp.org>
22353
22354 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22355 thread group when exceptionHandler isn't set.
22356 * vm/reference/java/lang/VMThread.java (run): Use result of
22357 thread.getUncaughtExceptionHandler directly.
22358
22359 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22360
22361 * javax/swing/JSplitPane.java
22362 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22363 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22364 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22365 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22366 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22367 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22368 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22369
22370 2006-04-10 Tom Tromey <tromey@redhat.com>
22371
22372 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22373 Fixed parameter bounds.
22374
22375 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22376
22377 * gnu/javax/crypto/assembly/Assembly.java,
22378 * gnu/javax/crypto/assembly/Cascade.java,
22379 * gnu/javax/crypto/assembly/CascadeStage.java,
22380 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22381 * gnu/javax/crypto/assembly/Direction.java,
22382 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22383 * gnu/javax/crypto/assembly/ModeStage.java,
22384 * gnu/javax/crypto/assembly/Operation.java,
22385 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22386 * gnu/javax/crypto/assembly/Stage.java,
22387 * gnu/javax/crypto/assembly/Transformer.java,
22388 * gnu/javax/crypto/cipher/Square.java,
22389 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22390 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22391 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22392 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22393 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22394 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22395 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22396 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22397 * gnu/javax/crypto/jce/cipher/PBES2.java,
22398 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22399 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22400 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22401 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22402 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22403 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22404 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22405 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22406 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22407 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22408 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22409 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22410 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22411 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22412 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22413 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22414 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22415 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22416 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22417 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22418 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22419 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22420 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22421 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22422 * gnu/javax/crypto/pad/WrongPaddingException.java,
22423 * gnu/javax/crypto/prng/ICMGenerator.java,
22424 * gnu/javax/crypto/prng/IPBE.java,
22425 * gnu/javax/crypto/prng/PBKDF2.java,
22426 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22427 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22428 * gnu/javax/crypto/sasl/srp/IALG.java,
22429 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22430 Remove CVS revision tags.
22431
22432 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22433
22434 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22435 Removed debugging code.
22436
22437 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22438
22439 * javax/swing/JTree.java (getPreferredSize): Return the
22440 cloned instance.
22441 * javax/swing/ViewportLayout.java (layoutContainer):
22442 Do not manage the view size and location if the view is
22443 in the scroll pane. Also manage size and location for
22444 Scrollable, if it is not in the scroll pane.
22445 * javax/swing/plaf/basic/BasicTreeUI.java,
22446 * javax/swing/tree/FixedHeightLayoutCache.java,
22447 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22448 * gnu/javax/swing/tree/GnuPath.java: New file.
22449
22450 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22451
22452 * javax/swing/JToolBar.java
22453 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22454
22455 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22456
22457 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22458 (createCustomColoredPanel): Set background color as demo intends,
22459 changed custom selection color to red.
22460 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22461 Replaced various single variables with a Compound instance, added
22462 custom highlighter demo.
22463 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22464 TextAreaDemo).
22465 (TextFieldDemo.Compound): New class.
22466 (createTextFieldCompound): New method.
22467 (createLeftAlignedPanel): Rewritten.
22468 (createRightAlignedPanel): Rewritten.
22469 (createCenteredPanel): Rewritten.
22470 (createCustomColoredPanel): Removed.
22471 (createCustomColoredPanel1): New method.
22472 (createCustomColoredPanel2): New method.
22473 (createCustomBordersPanel): New method.
22474 (createMiscPanel): Rewritten.
22475 (actionPerformed): Rewritten.
22476 (createContent): Add panels of new compounds to main panel, put
22477 main panel in a JScrollPane.
22478 * examples/gnu/classpath/examples/swing/Demo.java:
22479 (Demo): Put desktop in a scrollpane.
22480 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22481 method via reflection.
22482
22483 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22484
22485 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22486 (createUI): Return new instance rather than shared instance.
22487
22488 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22489
22490 * javax/swing/text/FieldView.java:
22491 (checkContainer): Call updateVisibility() at the end.
22492
22493 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22494
22495 * java/awt/event/MouseEvent.java:
22496 (paramString): Add value of 'consumed' variable in string.
22497
22498 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22499
22500 PR 26967
22501 * javax/swing/JTextField.java: Removed scrollOffset variable.
22502 (JTextField): Moved up initialization of horizontalVisibility field.
22503 (getScrollOffset): Implemented.
22504 (setScrollOffset): Implemented.
22505 (getHorizonztalVisibility): Removed note.
22506 (scrollRectToVisible): New method.
22507 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22508 (checkContainer): New method.
22509 (updateVisibility): New method.
22510 (calculateHorizontalSpan): New method.
22511 (adjustAllocation): Removed unneeded local variables, added code
22512 to handle scrolling.
22513 (getPreferredSpan): Use new method calculateHorizontalSpan,
22514 avoid calculation by returning cached value cachedSpan.
22515 (paint): Added check whether the hosted component is a JTextField.
22516 (insertUpdate): Invalidate cached span value, update visibility
22517 if neccessary.
22518 (removeUpdate): Dito.
22519 (changeUpdate): Dito.
22520
22521 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22522
22523 * javax/swing/JInternalFrame.java
22524 (setTitle): Set old value to 'this.title', not 'title'.
22525
22526 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22527
22528 * javax/swing/JInternalFrame.java
22529 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22530 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22531 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22532 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22533 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22534 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22535 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22536 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22537 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22538 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22539 Implemented,
22540 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22541 Implemented,
22542 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22543 Implemented,
22544 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22545 Implemented,
22546 (JInternalFrame()): Use "" for default title,
22547 (getAccessibleContext): Updated API docs,
22548 (getDesktopIcon): Likewise,
22549 (getLayer): Check for layer in client properties, and return
22550 DEFAULT_LAYER if no setting is found,
22551 (getTitle): Updated API docs,
22552 (setDesktopIcon): Fire property change event.
22553
22554 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22555
22556 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22557 Mind that the presence of one scroll bar may cause the
22558 need for another.
22559
22560 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22561
22562 * gnu/regexp/REToken.java(unicodeAware): New field,
22563 (toLowerCase, toUpperCase): New methods.
22564 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22565 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22566 Use toLowerCase and toUpperCase defined in REToken instead of
22567 those defined in java.lang.Character.
22568 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22569 (initialize): Sets unicodeAware of the generated REToken to false if
22570 REG_ICASE_USASCII is set.
22571 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22572 to lower case and keep the original value.
22573 (matchOneString): Use the new method charEquals to compare characters.
22574 (charEquals): New method to compare characters.
22575 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22576
22577 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
22578
22579 * javax/swing/event/InternalFrameEvent.java:
22580 (paramString): Implemented,
22581 updated API docs all over.
22582
22583 2006-04-12 Casey Marshall <csm@gnu.org>
22584
22585 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22586 (Generator.setup): call `fillBlock.'
22587
22588 2006-04-12 Casey Marshall <csm@gnu.org>
22589
22590 Fixes PR classpath/24481.
22591 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22592 initialize the adaptee.
22593 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22594 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22595 addRandomBytes): new methods.
22596
22597 2006-04-12 Tom Tromey <tromey@redhat.com>
22598
22599 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22600 length strings.
22601
22602 2006-04-12 Lillian Angel <langel@redhat.com>
22603
22604 * gnu/xml/dom/DomDocument.java
22605 (checkNCName): Removed unneeded part of check.
22606 * gnu/xml/dom/DomNode.java
22607 (dispatchEvent): Added code to grow ancestors array
22608 if needed. Changed checks to use depth of node instead.
22609 Fixes an infinite loop and segmentation fault.
22610 * gnu/xml/dom/html2/DomHTMLParser.java
22611 (handleEndTag): No need to use/make a copy of the node.
22612 Causes an infinite loop.
22613
22614 2006-04-12 Tom Tromey <tromey@redhat.com>
22615
22616 PR classpath/27131:
22617 * java/util/BitSet.java (get): Early return if to==from.
22618
22619 2006-04-12 Mark Wielaard <mark@klomp.org>
22620
22621 * java/security/SecureRandom.java (algorithm): New private field.
22622 (SecureRandom): Initialize algorithm.
22623 (SecureRandom(SecureRandomSpi,Provider,String)): New private
22624 constructor.
22625 (getInstance): Call 3 argument constructor.
22626 (getAlgorithm): New method.
22627
22628 2006-04-12 Mark Wielaard <mark@klomp.org>
22629
22630 Port UncaughtExceptionHandler support from generics branch.
22631 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
22632
22633 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
22634
22635 * java/lang/Thread.java:
22636 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
22637 Added docs and security check.
22638 (getUncaughtExceptionHandler()): Documented.
22639 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
22640 Added docs and security check.
22641 (getDefaultUncaughtExceptionHandler()): Documented.
22642 (getId()): Documented.
22643
22644 2006-04-12 Tom Tromey <tromey@redhat.com>
22645
22646 * vm/reference/java/lang/VMThread.java (run): Use thread's
22647 uncaught handler.
22648 * java/lang/Thread.java (defaultHandler): New field.
22649 (setDefaultUncaughtExceptionHandler,
22650 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
22651 getUncaughtExceptionHandler): New methods.
22652 * java/lang/ThreadGroup.java (ThreadGroup): Implements
22653 UncaughtExceptionHandler.
22654 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
22655
22656 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
22657
22658 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
22659 buffer. Loop only once to determine Utf8 length when possible. Make
22660 the inner loop bounded by buf.length.
22661 (getUTFlength): New private method.
22662 (buf): New private field.
22663
22664 2006-04-11 Lillian Angel <langel@redhat.com>
22665
22666 * gnu/xml/dom/DomNodeIterator.java
22667 (nextNode): Moved line of code to avoid an infinite loop.
22668 * gnu/xml/dom/html2/DomHTMLAppletElement.java
22669 (getCls): New function.
22670 (setCls): Likewise.
22671 (getSrc): Likewise.
22672 (setSrc): Likewise.
22673 * gnu/xml/dom/html2/DomHTMLDocument.java:
22674 Added DomHTMLEmbedElement to map.
22675 (getApplets): Added node name, 'embed'.
22676 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
22677 New class.
22678 * gnu/xml/dom/html2/DomHTMLObjectElement.java
22679 (getJavaCode): New function.
22680 (setJavaCode): Likewise.
22681 (getObject): Likewise.
22682 (setObject): Likewise.
22683 (getJavaObject): Likewise.
22684 (setJavaObject): Likewise.
22685 (getJavaArchive): Likewise.
22686 (setJavaArchive): Likewise.
22687 (getJavaCodeBase): Likewise.
22688 (setJavaCodeBase): Likewise.
22689 (getJavaType): Likewise.
22690 (setJavaType): Likewise.
22691 (setMayscript): Likewise.
22692 (getMayscript): Likewise.
22693 (setScriptable): Likewise.
22694 (getScriptable): Likewise.
22695 * gnu/xml/dom/html2/DomHTMLParser.java
22696 (parseDocument): Should not check for well formedness
22697 when parsing an html document.
22698 * java/awt/Window.java
22699 (dispatchEvent): Added check to avoid NPE.
22700
22701 2006-04-10 Tom Tromey <tromey@redhat.com>
22702
22703 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
22704 name.
22705 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
22706 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22707
22708 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
22709
22710 * javax/swing/plaf/basic/BasicTextUI.java:
22711 (getNextVisualPositionFrom): Marked as stub.
22712
22713 2006-04-10 Roman Kennke <kennke@aicas.com>
22714
22715 * javax/swing/plaf/basic/BasicLookAndFeel.java
22716 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
22717 and create the defaults as strings constants.
22718 (loadSystemColors): Implemented stubbed method.
22719
22720 2006-04-10 Tom Tromey <tromey@redhat.com>
22721
22722 * .settings/org.eclipse.core.resources.prefs: Set encoding for
22723 ChangeLog.
22724
22725 2006-04-10 Tom Tromey <tromey@redhat.com>
22726
22727 * java/io/CharArrayWriter.java (append): Javadoc fix.
22728 (append): Likewise.
22729
22730 2006-04-10 Tom Tromey <tromey@redhat.com>
22731
22732 * javax/accessibility/AccessibleTextSequence.java: New file.
22733 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
22734 field.
22735 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
22736 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
22737 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
22738 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22739 * javax/accessibility/AccessibleExtendedText.java: New file.
22740 * javax/accessibility/AccessibleContext.java
22741 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
22742 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
22743 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
22744 * javax/accessibility/AccessibleAttributeSequence.java: New file.
22745 * javax/accessibility/AccessibleStreamable.java: New file.
22746 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
22747 fix.
22748
22749 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22750
22751 * javax/swing/tree/AbstractLayoutCache.java
22752 (getNodeDimensions, getRowsForPath): Implemented.
22753 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
22754 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22755
22756 2006-04-10 Roman Kennke <kennke@aicas.com>
22757
22758 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
22759
22760 2006-04-10 Roman Kennke <kennke@aicas.com>
22761
22762 * javax/swing/JInternalFrame.java
22763 (AccessibleJInternalFrame): Marked all stubbed methods as such
22764 by adding throws NotImplementedException.
22765
22766 2006-04-10 Roman Kennke <kennke@aicas.com>
22767
22768 * javax/swing/JFileChooser.java
22769 (getAccessibleContext): Don't create a new instance on each
22770 call, instead store the accessible context in the
22771 accessibleContext field.
22772
22773 2006-04-10 Roman Kennke <kennke@aicas.com>
22774
22775 * javax/swing/JComboBox.java
22776 (AccessibleJComboBox): Marked all stubbed methods as such
22777 by adding throws NotImplementedException.
22778
22779 2006-04-10 Roman Kennke <kennke@aicas.com>
22780
22781 * javax/swing/ActionMap.java
22782 (readObject): Removed.
22783 (writeObject): Removed.
22784
22785 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22786
22787 * javax/swing/tree/DefaultTreeSelectionModel.java
22788 (addSelectionPaths, setSelectionPaths): Call
22789 insureUniqueness. (clone, setRowMapper): Implemented.
22790 * TreePath (path): Marked final.
22791
22792 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22793
22794 * javax/swing/tree/DefaultTreeSelectionModel.java:
22795 Documented and autoformatted. (insureUniqueness):
22796 Removed stub marking.
22797
22798 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
22799
22800 * javax/swing/SizeSequence.java
22801 (sizes): Don't initialise here,
22802 (SizeSequence(int, int)): Initialise sizes field,
22803 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
22804 (setSize): Do nothing when index is out of bounds,
22805 (getIndex): Implemented,
22806 (setSizes): Reimplemented,
22807 (getSizes): Likewise,
22808 (insertEntries): Likewise,
22809 (removeEntries): Likewise,
22810 plus added API docs all over.
22811
22812 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
22813
22814 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
22815 one way message and retry after any IOException.
22816
22817 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22818
22819 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
22820 Set the byte order.
22821
22822 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
22823
22824 * org/omg/PortableServer/ServantLocatorPOA.java:
22825 (preinvoke, postinvoke): Remove default implementation.
22826 * org/omg/PortableServer/ServantActivatorPOA.java:
22827 (incarnate, etherealize): Remove default implementation.
22828 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
22829 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
22830 (make_object): Moved method from ObjectReferenceFactoryOperations.
22831 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
22832 Removed unspecified interface.
22833 * org/omg/DynamicAny/_DynAnyStub.java:
22834 (_DynAnyStub(Delegate)): Removed constructor.
22835 * org/omg/DynamicAny/_DynArrayStub.java,
22836 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
22837 * org/omg/DynamicAny/_DynEnumStub.java,
22838 * org/omg/DynamicAny/_DynFixedStub.java,
22839 * org/omg/DynamicAny/_DynSequenceStub.java,
22840 * org/omg/DynamicAny/_DynStructStub.java,
22841 * org/omg/DynamicAny/_DynUnionStub.java,
22842 * org/omg/DynamicAny/_DynValueStub.java:
22843 Extend from ObjectImpl and not from _DynAnyStub.
22844 (type, next, destroy, copy, rewind, assign, component_count,
22845 current_component, equal, from_any, get_any, get_boolean, get_char,
22846 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
22847 get_reference, get_short, get_string, get_typecode, get_ulong,
22848 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
22849 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
22850 insert_long, insert_longlong, insert_octet, insert_reference,
22851 insert_short, insert_string, insert_typecode, insert_ulong,
22852 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
22853 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
22854 * org/omg/CosNaming/_BindingIteratorStub.java:
22855 (_BindingIteratorStub(Delegate)): Made package private.
22856 * org/omg/CosNaming/_NamingContextExtStub.java:
22857 (_NamingContextExtStub(Delegate)): Made package private.
22858 * org/omg/CosNaming/_NamingContextStub.java:
22859 (_NamingContextStub(Delegate)): Made package private.
22860 (throw4, throw5): Likewise.
22861 * gnu/CORBA/NamingService/NameParser.java (resolve):
22862 Adapt to package private constructor. Use _set_delegate instead.
22863 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
22864 * org/omg/CORBA/ORB.java:
22865 (create_recursive_sequence_tc): Made abstract.
22866 (get_default_context): Likewise.
22867 * gnu/CORBA/OrbRestricted.java:
22868 (create_recursive_sequence_tc): New moved method.
22869 (get_default_context): Likewise.
22870 * org/omg/CORBA/ParameterMode.java:
22871 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
22872
22873 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22874
22875 * gnu/CORBA/GIOP/MessageHeader.java (write):
22876 More informative exception.
22877 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
22878 * gnu/CORBA/SocketRepository.java (get_socket):
22879 Removed debugging code.
22880
22881 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22882
22883 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
22884 one way message, but ignore if EOF was received.
22885 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
22886 Minor.EOF if the end of file is received instead of the header.
22887
22888 2006-04-09 Roman Kennke <kennke@aicas.com>
22889
22890 * javax/swing/plaf/metal/MetalRootPaneUI.java
22891 (MetalTitlePane.IconifyAction): New inner class.
22892 (MetalTitlePane.MaximizeAction): New inner class.
22893 (MetalTitlePane.createActions): Create iconifyAction and
22894 maximizeAction.
22895 (MetalRootLayout.titlePane): New field.
22896 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
22897 constructor.
22898 (MetalRootLayout.preferredLayoutSize): Changed to not make
22899 assumptions about the actual component order.
22900 (MetalRootLayout.layoutContainer): Changed to not make
22901 assumptions about the actual component order.
22902 (installWindowDecorations): Pass the titlePane as parameter to
22903 the MetalRootLayout constructor.
22904 (uninstallWindowDecorations): Changed to not make
22905 assumptions about the actual component order.
22906
22907 2006-04-08 Roman Kennke <kennke@aicas.com>
22908
22909 * javax/swing/plaf/metal/MetalRootPaneUI.java
22910 (MetalTitlePane.MouseHandler): New inner class to handle dragging
22911 of frames.
22912 (MetalTitlePane.installListeners): Don't register a focus listener
22913 on the window. This is a potential memory leak and must be
22914 implemented on a different way. Install mouse listener here.
22915 (installWindowDecorations): Fixed assertion condition. Always
22916 insert the window decoration at index#1 in the layered
22917 pane.
22918
22919 2006-04-08 Roman Kennke <kennke@aicas.com>
22920
22921 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22922 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
22923 Only resize window if actual width or height value changes.
22924 Avoids nasty flicker when only setLocation() is beeing called
22925 on a window.
22926
22927 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22928
22929 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
22930 exception if the magic sequence does not match.
22931
22932 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22933
22934 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
22935 response for the one way messages.
22936
22937 2006-04-08 Roman Kennke <kennke@aicas.com>
22938
22939 * javax/swing/MenuSelectionManager.java
22940 (processKeyEvent): Implemented stub method.
22941 * javax/swing/JMenu.java
22942 (processKeyEvent): Implemented stub method.
22943 * javax/swing/JMenu.java
22944 (processKeyEvent): Implemented stub method.
22945 (processMenuKeyEvent): Implemented stub method.
22946
22947 2006-04-08 Roman Kennke <kennke@aicas.com>
22948
22949 * javax/swing/AbstractAction.java
22950 (readObject): Removed unneeded method.
22951 (writeObject): Removed unneeded method.
22952
22953 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
22954
22955 * javax/swing/plaf/synth/SynthPainter.java:
22956 (paintSplitPaneDividerBorder): Removed.
22957
22958 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
22959
22960 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
22961 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
22962 No longer constants.
22963 (static_initializer): Added to initialize above fields.
22964 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
22965 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
22966 (static_initializer): Added to initialize above fields.
22967
22968 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
22969
22970 * java/awt/Dialog.java: Improved documentation all over.
22971 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
22972 (Dialog(Dialog)): Likewise.
22973
22974 2006-04-08 Mark Wielaard <mark@klomp.org>
22975
22976 * java/util/jar/JarFile.java (provider): New static field.
22977 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
22978 to `getInstance.'
22979
22980 2006-04-08 Mark Wielaard <mark@klomp.org>
22981
22982 PR 27081
22983 * java/lang/StackTraceElement.java (toString): Don't add space
22984 between type and source indicator.
22985
22986 2006-04-07 Casey Marshall <csm@gnu.org>
22987
22988 Fixes PR classpath/24464
22989 * java/util/jar/JarFile.java (verify, verifyHashes,
22990 EntryInputStream.<init>): pass the Gnu provider directly to
22991 `getInstance.'
22992
22993 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
22994
22995 PR classpath/27071
22996 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
22997 (DIGEST0): Use version 3 test vector.
22998 (Sd): Removed.
22999 (S_box): New field: Version 3 S-box values.
23000 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23001 (transform): Formating.
23002 (padBuffer): Likewise.
23003 (getResult): Likewise.
23004 (selfTest): Likewise.
23005
23006 2006-04-07 Tom Tromey <tromey@redhat.com>
23007
23008 * java/util/InvalidPropertiesFormatException.java
23009 (serialVersionUID): New field.
23010 (readObject, writeObject): New methods.
23011 * java/util/Arrays.java (toString): Javadoc fixes.
23012 * java/net/URLConnection.java: Cleaned up imports.
23013 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23014 * java/lang/reflect/MalformedParameterizedTypeException.java
23015 (serialVersionUID): New field.
23016 * java/lang/reflect/GenericSignatureFormatError.java
23017 (serialVersionUID): New field.
23018 * java/lang/Class.java (Class): Javado fixes.
23019 (getComponentType): Likewise.
23020 (getGenericInterfaces): Likewise.
23021 (getTypeParameters): Likewise.
23022 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23023 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23024 New field.
23025 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23026 field.
23027 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23028 New field.
23029
23030 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23031
23032 * java/awt/Dialog.java
23033 (AccessibleAWTDialog): Added api docs
23034 (AccessibleAWTDialog.getAccessibleStateSet):
23035 Renamed from getAccessibleState.
23036 * java/awt/Frame.java
23037 (AccessibleAWTFrame): Added api docs
23038 (AccessibleAWTFrame.getAccessibleStateSet):
23039 Renamed from getAccessibleState.
23040
23041 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23042
23043 * java/awt/Dialog.java: Reformatted.
23044
23045 2006-04-07 Lillian Angel <langel@redhat.com>
23046
23047 * java/awt/Component.java
23048 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23049 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23050
23051 2006-04-07 Tom Tromey <tromey@redhat.com>
23052
23053 * java/beans/beancontext/BeanContextMembershipEvent.java
23054 (serialVersionUID): New field.
23055 * java/beans/beancontext/BeanContextServicesSupport.java
23056 (addBeanContextServicesListener): Synchronize.
23057 (addService): Implemented.
23058 (createBCSChild): Implemented.
23059 (BCSSChild): Added arguments.
23060 (fireServiceAdded): Implemented.
23061 (fireServiceRevoked): Implemented.
23062 (getCurrentServiceSelectors): Implemented.
23063 (hasService): Implemented.
23064 (removeBeanContextServicesListener): Implemented.
23065 (serviceAvailable): Implemented.
23066 (serviceRevoked): Implemented.
23067 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23068 arguments.
23069 (createBCSChild): Implemented.
23070 (BeanContextSupport):
23071 (addBeanContextMembershipListener): Synchronize.
23072 (fireChildrenAdded): Implemented.
23073 (fireChildrenRemoved): Implemented.
23074 (BeanContextSupport): Use default locale.
23075 (isEmpty): Implemented.
23076 (isDesignTime): Implemented.
23077 (size): Implemented.
23078 (toArray): Synchronized.
23079 (toArray): Likewise.
23080 (iterator): Likewise.
23081 (BCSIterator): Implemented.
23082 (bcsChildren): Implemented.
23083 (validatePendingAdd): Implemented.
23084 (validatePendingRemove): Likewise.
23085 (childJustAddedHook): Implemented.
23086 (childJustRemovedHook): Likewise.
23087 (classEquals): Likewise.
23088 (toArray): Mark as stub.
23089 (setDesignTime): Implemented.
23090 (copyChildren): Implemented.
23091 (containsKey): Implemented.
23092 (contains): Likewise.
23093 (containsAll): Likewise.
23094 (getResource): Implemented.
23095 (getResourceAsStream): Likewise.
23096 (removeBeanContextMembershipListener): Likewise.
23097 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23098 (serialVersionUID): New field.
23099 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23100 (serialVersionUID): New field.
23101 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23102 fix.
23103
23104 2006-04-06 Roman Kennke <kennke@aicas.com>
23105
23106 PR 26937
23107 * javax/swing/MenuSelectionManager.java
23108 (setSelectedPath): Search one more item in the loop.
23109
23110 2006-04-06 Tom Tromey <tromey@redhat.com>
23111
23112 * java/awt/image/renderable/RenderableImageProducer.java
23113 (image, context, consumers): New fields.
23114 (RenderableImageProducer): Implemented.
23115 (setRenderContext): Likewise.
23116 (addConsumer): Likewise.
23117 (isConsumer): Likewise.
23118 (removeConsumer): Likewise.
23119 (startProduction): Likewise.
23120
23121 2006-04-06 Roman Kennke <kennke@aicas.com>
23122
23123 * java/awt/Component.java
23124 (AccessibleAWTComponent.getBounds): Return the component
23125 bounds regardless of its showing state.
23126 (AccessibleAWTComponent.getLocation): Return the component
23127 location regardless of its showing state.
23128 (AccessibleAWTComponent.getSize): Return the component
23129 size regardless of its showing state.
23130
23131 2006-04-06 Roman Kennke <kennke@aicas.com>
23132
23133 * javax/swing/JRootPane.java
23134 (getAccessibleContext): New method. Provides an accessibleContext
23135 for JRootPanes.
23136
23137 2006-04-06 Roman Kennke <kennke@aicas.com>
23138
23139 * java/awt/Toolkit.java
23140 (initAccessibility): Use the 'gnu.classpath.home.url' property
23141 to determine the system confiuration directory.
23142 * java/awt/Component.java
23143 (dispatchEvent): Trigger Toolkit dispatching here.
23144 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23145 so it can't be overridden by subclasses and is performed in
23146 any case.
23147
23148 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23149
23150 * javax/naming/Binding.java: Added API docs.
23151 * javax/naming/NameClassPair.java: Added API docs.
23152 (fullName): New field.
23153 (setNameInNamespace): New 1.5 method.
23154 (getNameInNamespace): Likewise.
23155
23156 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23157
23158 * javax/naming/CompositeName.java:
23159 (readObject): New deserialization method.
23160 (writeObject): New serialization method.
23161
23162 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23163
23164 * javax/security/auth/x500/X500Principal.java
23165 (readAttributeValue) Check for separator after quoted value was
23166 failing in all cases.
23167
23168 2006-04-06 Mark Wielaard <mark@klomp.org>
23169
23170 * java/lang/Class.java (getClassLoader): Don't do security check
23171 when loader is null.
23172
23173 2006-04-06 Roman Kennke <kennke@aicas.com>
23174
23175 * java/awt/Toolkit.java
23176 (getDefaultToolkit): Initialize accessibility after setting
23177 up the toolkit.
23178 (initAccessibility): New helper method to setup accessibility.
23179
23180 2006-04-06 Roman Kennke <kennke@aicas.com>
23181
23182 * javax/swing/AbstractButton.java
23183 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23184 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23185 stub.
23186 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23187 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23188 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23189 (AccessibleAbstractButton.getCharCount): Implemented stub.
23190 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23191 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23192 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23193 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23194 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23195 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23196 private method.
23197
23198 2006-04-06 Roman Kennke <kennke@aicas.com>
23199
23200 * java/awt/Component.java
23201 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23202 state here. This is only done in JComponent.
23203 * javax/swing/JComponent.java
23204 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23205 here.
23206 (getNextFocusableComponent): Implemented stub method.
23207 (grabFocus): Implemented stub method.
23208 (unregisterKeyboardAction): Implemented stub method.
23209 (setNextFocusableComponent): Implemented stub method.
23210 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23211 This is a helper class for providing compatibility with the older
23212 Swing focus API.
23213
23214 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23215
23216 Fixes bug #26995
23217 * javax/naming/directory/BasicAttribute.java,
23218 * javax/naming/directory/BasicAttributes.java:
23219 (readObject): New deserialization method.
23220 (writeObject): New serialization method.
23221
23222 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23223
23224 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23225 (getErrorHandler): Made method abstract.
23226 (setErrorHanlder): Likewise.
23227 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23228 (getErrorHandler): Implement abstract method from superclass.
23229 (setErrorHandler): Likewise.
23230 (errorHandler): New field.
23231 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23232 (getErrorHandler): Implement abstract method from superclass.
23233 (setErrorHandler): Likewise.
23234 (errorHandler): New field.
23235 * javax/xml/XMLConstants.java: Corrected since tag.
23236 (XMLConstants): Added private constructor.
23237 * javax/xml/datatype/Duration.java: Corrected since tag.
23238 (multiply): Made method abstract.
23239 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23240 (DatatypeConstants): Added private constructor.
23241 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23242 (XPathConstants): Added private constructor.
23243
23244 2006-04-05 Tom Tromey <tromey@redhat.com>
23245
23246 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23247
23248 2006-04-05 Tom Tromey <tromey@redhat.com>
23249
23250 PR libgcj/26625:
23251 * lib/Makefile.am (compile-classes): Touch the output file.
23252
23253 2006-04-05 Roman Kennke <kennke@aicas.com>
23254
23255 * javax/swing/AbstractButton.java
23256 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23257 of the focused state. This is already done in AccessibleAWTComponent.
23258
23259 2006-04-05 Roman Kennke <kennke@aicas.com>
23260
23261 * javax/swing/JComponent.java
23262 (accessibleContext): Fixed API doc for this field.
23263 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23264 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23265 Implemented and added API docs.
23266 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23267 Implemented and added API docs.
23268 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23269 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23270 Implemented and added API docs.
23271 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23272 Implemented and added API docs.
23273 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23274 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23275 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23276 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23277 (AccessibleJComponent.getAccessibleStateSet): Simply return
23278 super here. Added comment about this.
23279
23280 2006-04-05 Roman Kennke <kennke@aicas.com>
23281
23282 * javax/swing/JComponent.java
23283 (AccessibleJComponent.addPropertyChangeListener): Install
23284 ContainerHandler and FocusHandler here.
23285 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23286 ContainerHandler and FocusHandler here.
23287 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23288 by super.getAccessibleChildrenCount().
23289 (AccessibleJComponent.getAccessibleChild): Replaced
23290 by super.getAccessibleChild().
23291 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23292 adding OPAQUE to the supported states.
23293 (AccessibleJComponent.getAccessibleName): Added titled border
23294 and label fallbacks.
23295 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23296 and label fallbacks.
23297 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23298 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23299 explaining why return null seems correct here.
23300 * javax/swing/JLabel.java
23301 (LABEL_PROPERTY): New constant.
23302 (setLabelFor): Store label in labeled component's client properties
23303 for the AccessibleJComponent to read.
23304
23305 2006-04-05 Tom Tromey <tromey@redhat.com>
23306
23307 * java/util/zip/ZipFile.java (available): Defer to super if
23308 entry's size is unknown.
23309
23310 2006-04-05 Tom Tromey <tromey@redhat.com>
23311
23312 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23313 property with mime.types name.
23314 * gnu/classpath/SystemProperties.java: Set
23315 gnu.classpath.mime.types.file if not already set.
23316 * java/net/URLConnection.java (defaultFactory): New field.
23317 (guessContentTypeFromStream): Mark as unimplemented.
23318 (getContentHandler): Updated with libgcj's implementation.
23319 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23320 from libgcj.
23321
23322 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23323
23324 PR classpath/27028
23325 PR classpath/24752
23326 * java/util/AbstractList.java (hasNext): Don't throw
23327 ConcurrentModificationException. Update Javadoc.
23328 (hasPrevious): Likewise.
23329 (nextIndex): Likewise.
23330 (previousIndex): Likewise.
23331 * java/util/HashMap.java (hasNext): Likewise.
23332 * java/util/Hashtable.java (hasNext): Likewise.
23333 * java/util/IdentityHashMap.java (hasNext): Likewise.
23334 * java/util/LinkedHashMap.java (hasNext): Likewise.
23335 * java/util/LinkedList.java (nextIndex): Likewise.
23336 (previousIndex): Likewise.
23337 (hasNext): Likewise.
23338 (hasPrevious): Likewise.
23339 * java/util/TreeMap.java (hasNext): Likewise.
23340 * java/util/WeakHashMap.java (hasNext): Likewise.
23341
23342 2006-04-05 Roman Kennke <kennke@aicas.com>
23343
23344 * javax/swing/AbstractButton.java
23345 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23346 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23347 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23348 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23349 (AccessibleAbstractButton.getAccessibleActionDescription):
23350 Implemented stub.
23351 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23352 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23353 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23354 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23355 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23356 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23357
23358 2006-04-05 Roman Kennke <kennke@aicas.com>
23359
23360 * javax/swing/JComboBox.java
23361 (selectWithKeyChar): Implemented stubbed method.
23362
23363 2006-04-05 Roman Kennke <kennke@aicas.com>
23364
23365 * javax/swing/LookAndFeel.java
23366 (installProperty): New method. Allows primitive typed properties
23367 to be handled like UIResources.
23368 * javax/swing/AbstractButton.java
23369 (clientBorderPaintedSet): New field.
23370 (clientRolloverEnabledSet): New field.
23371 (clientIconTextGapSet): New field.
23372 (clientContentAreaFilledSet): New field.
23373 (setRolloverEnabled): Set the client field to true.
23374 (setBorderPainted): Likewise.
23375 (setIconTextGap): Likewise.
23376 (setContentAreaFilled): Likewise.
23377 (setUIProperty): New helper method.
23378 * javax/swing/JComponent.java
23379 (clientOpaqueSet): New field.
23380 (clientAutoscrollsSet): New field.
23381 (setAutoscrolls): Set the client field to true.
23382 (setOpaque): Likewise.
23383 (setUIProperty): New helper method.
23384 * javax/swing/JDesktopPane.java
23385 (clientDragModeSet): New field.
23386 (setDragMode): Set the client field to true.
23387 (setUIProperty): New helper method.
23388 * javax/swing/JSplitPane.java
23389 (clientDividerSizeSet): New field.
23390 (clientOneTouchExpandableSet): New field.
23391 (setDividerSize): Set the client field to true.
23392 (setOneTouchExpandable): Likewise.
23393 (setUIProperty): New helper method.
23394 * javax/swing/JTable.java
23395 (clientRowHeightSet): New field.
23396 (setRowHeight): Set the client field to true.
23397 (setUIProperty): New helper method.
23398 * javax/swing/JTree.java
23399 (clientRowHeightSet): New field.
23400 (clientScrollsOnExpandSet): New field.
23401 (clientShowsRootHandlesSet): New field.
23402 (setRowHeight): Set the client field to true.
23403 (setShowsRootHandles): Likewise.
23404 (setScrollsOnExpand): Likewise.
23405 (setUIProperty): New helper method.
23406
23407 2006-04-05 Roman Kennke <kennke@aicas.com>
23408
23409 * java/awt/Component.java
23410 (getFont): Don't request the font from the peer's graphics. The
23411 graphics should instead get the font from the Component, which might
23412 result in a loop.
23413 (getFocusCycleAncestor): Don't special case Window.
23414 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23415 to here. Correctly determine the focus cycle root.
23416 (transferFocusBackward): Likewise.
23417 (transferFocusUpCycle): Likewise.
23418 * java/awt/Container.java
23419 (transferFocusDownCycle): Moved implementation from
23420 DefaultKeyboardFocusManager to here.
23421 * java/awt/DefaultKeyboardFocusManager.java
23422 (focusPreviousComponent): Moved implementation to
23423 Component.transferFocusBackward().
23424 (focusNextComponent): Moved implementation to
23425 Component.nextFocus().
23426 (upFocusCycle): Moved implementation to
23427 Component.transferFocusUpCycle().
23428 (downFocusCycle): Moved implementation to
23429 Container.transferFocusDownCycle().
23430
23431 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23432
23433 * java/awt/image/ComponentSampleModel.java
23434 (equals): Implemented,
23435 (hashCode): Likewise.
23436
23437 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23438
23439 * java/lang/Class.java
23440 (cast): New method.
23441
23442 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23443
23444 * java/awt/image/ComponentSampleModel.java
23445 (getBankIndices): Return a copy of the array, not a reference to the
23446 original,
23447 (getBandOffsets): Likewise.
23448
23449 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23450
23451 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23452
23453 2006-04-04 Tom Tromey <tromey@redhat.com>
23454
23455 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23456
23457 2006-04-04 Tom Tromey <tromey@redhat.com>
23458
23459 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23460 (MimeTypeMapper): Initialize.
23461 (fillFromFile): New method.
23462 (main): New method.
23463 (mime_strings): Updated.
23464
23465 2006-04-04 Tom Tromey <tromey@redhat.com>
23466
23467 * lib/gen-classlist.sh.in: Correct handle generated files.
23468
23469 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23470
23471 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23472 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23473 * gnu/regexp/CharIndexedCharSequence.java: New file.
23474 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23475 gnu.regexp.CharIndexedCharSequence.
23476 * gnu/regexp/CharIndexedString.java: Likewise.
23477 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23478 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23479 using CharIndexedCharSequence. Use setAnchor when the input
23480 object is already a CharIndexed.
23481 * java/util/regex/Matcher.java(inputCharIndexed): New field
23482 to be used as a parameter of the RE#getMatch.
23483
23484 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23485
23486 * java/awt/image/SampleModel.java: Reformatted.
23487
23488 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23489
23490 * java/awt/image/ComponentSampleModel.java
23491 (ComponentSampleModel(int, int, int, int, int[])): Added API
23492 documentation,
23493 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23494 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23495 of the bandOffsets and bankIndices arguments, added API documentation,
23496 * java/awt/image/SampleModel.java
23497 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23498 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23499 less than or equal to zero, added API documentation.
23500
23501 2006-04-04 Lillian Angel <langel@redhat.com>
23502
23503 * java/util/zip/ZipFile.java
23504 (getInputStream): Fixed to return size of ZipEntry
23505 minus the total bytes read. This guarantees that the
23506 right value is returned even if some bytes have already
23507 been read.
23508
23509 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23510
23511 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23512 Remove static modifier.
23513
23514 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23515
23516 * java/awt/image/ComponentSampleModel.java: Reformatted.
23517
23518 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23519
23520 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23521 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23522 retrieval instructions to javadoc header.
23523 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23524 compressionType field.
23525 * lib/Makefile.am (propertydirs): Add javax directory.
23526 (propertyfiles): Likewise.
23527 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23528 New file.
23529
23530 2006-04-03 Tom Tromey <tromey@redhat.com>
23531
23532 PR classpath/26971:
23533 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23534 (BasicAttributeEnumeration.where): Initialize to 0.
23535 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23536
23537 2006-04-03 Lillian Angel <langel@redhat.com>
23538
23539 PR classpath/24596 and PR classpath/26930
23540 * java/util/zip/ZipFile.java
23541 (getInputStream): Override available function for
23542 InflaterInputStream instance.
23543
23544 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23545
23546 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23547
23548 2006-04-03 Tom Tromey <tromey@redhat.com>
23549
23550 * javax/security/auth/kerberos/ServicePermission.java: New file.
23551 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23552 * javax/security/auth/kerberos/KerberosKey.java: New file.
23553 * javax/security/auth/kerberos/KeyImpl.java: New file.
23554 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23555 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23556
23557 2006-04-03 Sven de Marothy <sven@physto.se>
23558
23559 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23560 non-GtkImage images.
23561
23562 2006-04-03 Mark Wielaard <mark@klomp.org>
23563
23564 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23565 as temporary file name.
23566
23567 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23568
23569 * INSTALL: Documented --with-glibj-zip option.
23570
23571 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23572
23573 Fixed all pscan warnings.
23574
23575 * native/jni/classpath/jcl.c (JCL_ThrowException),
23576 native/jni/classpath/jcl.h (DBG),
23577 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23578 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23579 Use "%s" format in fprintf and snprintf explicitely when printing a single
23580 string to prevent format string exploits.
23581
23582 * native/jni/java-net/javanet.h (DBG): Removed duplicate
23583 definition. Included jcl.h instead.
23584
23585 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
23586
23587 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23588 (provider): Made it protected.
23589 (providerInstalled): New field.
23590 (Main): Made it a 0-arguments constructor.
23591 Removed throws clasue.
23592 (main): Removed throws clause.
23593 Call processArgs(args) after constructing instance.
23594 Call teardown() before existing.
23595 (processArgs): Added javadoc.
23596 Reduced to throws Exception.
23597 (start): Likewise.
23598 (teardown): New method.
23599 (setupCommonParams): Added javadoc.
23600 Install designated provider if not already installed.
23601 (installNewProvider): New method.
23602 (setupSigningParams): Added javadoc.
23603 Instantiate the KeyStore using type only.
23604 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23605 Removed unused imports.
23606 (start): Reduced to throws Exception.
23607 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23608 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23609 Re-organized imports.
23610 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23611 Test ignoring case.
23612 (getNames): Add "dsa" as an algorithm provided by this Factory.
23613 (makeInstance): Construct IllegalArgumentException with 2 arguments.
23614
23615 2006-04-03 Roman Kennke <kennke@aicas.com>
23616
23617 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23618 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23619 Replaced g_free() with pango_item_free() to avoid problems
23620 with the allocator.
23621
23622 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
23623
23624 Fixes bug #26668
23625 * java/util/logging/Level.java (parse): Document.
23626 * java/util/logging/LogManager.java (rootLogger): Removed.
23627 (LogManager): Just set loggers to new HashMap.
23628 (getLogManager): Make synchronized. Create and init LogManager if it
23629 doesn't exist yet.
23630 (static): Removed block.
23631 (MANAGER_PROPERTY): New private final string.
23632 (makeLogManager): Use new property string, move warning to
23633 createInstance() method.
23634 (CONFIG_PROPERTY): New private final string.
23635 (initLogManager): New method.
23636 (addLogger): Use Logger.root, not rootLogger.
23637 (findAncestor): Likewise.
23638 (readConfiguration): Move warning to createInstance() method.
23639 Add handlers directly to Logger.root. Warn about bad level values.
23640 (getClassProperty): Use new locateClass() method.
23641 (getInstanceProperty): Only catch specific newInstance Errors.
23642 (createInstance): Make private and takes a string to use in warning
23643 messages. Use new locateClass() method and generate appropriate
23644 warning message.
23645 (warn): New methods.
23646 (locateClass): Locates a class through the context class loader and
23647 system class loader as backup.
23648 * java/util/logging/Logger.java (root): New static final field.
23649 (Logger): Set parent to root.
23650 (setParent): Directly check root field.
23651
23652 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23653
23654 * java/util/Collections.java:
23655 (binarySearch(List, T)): Fixed signature.
23656 (unmodifiableList(List)): Likewise.
23657 (UnmodifiableList(List)): Fixed constructor.
23658 (UnmodifiableRandomAccessList(List)): Likewise.
23659 (unmodifiableMap(Map)): Fixed signature.
23660 (UnmodifiableMap(Map)): Fixed constructor.
23661 (unmodifiableSortedMap(Map)): Fixed signature.
23662 (UnmodifiableSortedMap(Map)): Fixed constructor.
23663
23664 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23665
23666 * java/io/ObjectOutputStream.java:
23667 (writeObject(Object)): Added enum support.
23668 (writeClassDescriptor(ObjectStreamClass)): Likewise.
23669 * java/io/ObjectStreamClass.java:
23670 (isEnum()): New package-private method.
23671 (setFlags(Class)): Added enum support.
23672 * java/io/ObjectStreamConstants.java:
23673 (SC_ENUM): Added.
23674
23675 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23676
23677 * javax/swing/text/Segment.java:
23678 (setPosition): Make exception message more verbose.
23679 * javax/swing/text/WrappedPlainView.java:
23680 (insertUpdate): Removed unneeded repaint call.
23681 (changeUpdate): Dito.
23682 (removeUpdate): Dito.
23683 (WrappedLine.determineNumLines): Do not return numLines, break
23684 from loop if no new break point has been calculated.
23685 (WrappedLine.updateDamage): Rewritten.
23686 (WrappedLine.insertUpdate): Removed unneeded update code.
23687 (WrappedLine.removeUpdate): Removed unneeded update code, added
23688 comment.
23689
23690 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23691
23692 * configure.ac (with-glibj-zip): Added new option.
23693
23694 * examples/Makefile.am,
23695 lib/Makefile.am,
23696 tools/Makefile.am: Adapted build classpath to use glibj.zip,
23697 in addition to classes in lib directory.
23698
23699 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23700
23701 * tools/gnu/classpath/tools/giop/GRMIC.java,
23702 tools/gnu/classpath/tools/giop/IorParser.java,
23703 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
23704 tools/gnu/classpath/tools/giop/grmic/Generator.java,
23705 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
23706 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
23707 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
23708 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
23709 tools/gnu/classpath/tools/rmi/RMIC.java,
23710 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
23711 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
23712 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
23713 linking exception from the licensing header.
23714 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
23715 Added licensing header.
23716
23717 2006-04-02 Mark Wielaard <mark@klomp.org>
23718
23719 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
23720 (jarsigner): Removed.
23721
23722 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23723
23724 * configure.ac: don't check for isnan function.
23725 * native/fdlibm/fdlibm.h: Always use the isnan macro.
23726
23727 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23728
23729 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
23730 * tools/Makefile.am: Generate jarsigner shell script.
23731 * tools/jarsigner.sh.in: New template.
23732 * tools/.cvsignore: Added jarsigner.sh.
23733
23734 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23735
23736 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
23737 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
23738 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
23739 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
23740 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
23741 Re-organised imports.
23742
23743 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
23744
23745 PR classpath/25924:
23746 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
23747 Handle case where alpha==0.
23748
23749 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23750
23751 PR #26676
23752 * javax/swing/text/Utilities.java:
23753 (getTabbedTextOffset): Added check to decrement pos not below zero,
23754 changed '>' comparison to '>='.
23755 * javax/swing/text/WrappedPlainView.java:
23756 (lineHeight): New field.
23757 (calculateBreakPosition): Throw InternalError in catch block, removed
23758 unneeded brackets, use specific version of
23759 Utilities.getTabbedTextOffset.
23760 (paint): Set various properties neccessary for drawing.
23761 (WrappedLine.paint): Removed code to set field of outer class.
23762 (WrappedLine.modelToView): Removed unneeded expression from
23763 if-statement.
23764 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
23765 -1 from return statement, copy only a subset into the Segment, removed
23766 special handling of mark value - just return it, simplified
23767 incrementation of currLineStart.
23768 (WrappedLine.insertUpdate): Recalculate numLines, report preference
23769 change to parent view.
23770 (WrappedLine.removeUpdate): Dito.
23771
23772 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23773
23774 * javax/swing/text/Segment.java:
23775 (toString): Return empty string when array is null.
23776
23777 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23778
23779 * javax/swing/plaf/basic/BasicTextUI.java:
23780 (damageRange): Use SwingUtilities.computeUnion to avoid
23781 unneccessary Rectangle instantiation.
23782
23783 2006-04-01 Tom Tromey <tromey@redhat.com>
23784
23785 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
23786
23787 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23788
23789 * javax/swing/text/CompositeView.java: Fixed copyright header.
23790 * javax/swing/text/BoxView.java: Fixed copyright header.
23791 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
23792 * javax/swing/text/Utilities.java: Fixed copyright header.
23793
23794 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23795
23796 * javax/swing/text/CompositeView.java:
23797 (modelToView): Throw BadLocationException when no child
23798 view can be found, restructed to throw exception as early
23799 as possible.
23800 (viewToModel): Use mutable allocation as argument for viewToModel
23801 call on child view.
23802 * javax/swing/text/BoxView.java:
23803 (getViewAtPoint): Call setBounds() r before method returns with
23804 suitable child view.
23805 * javax/swing/text/Utilities.java:
23806 (getPositionBelow): Added try-catch-block around modelToView call,
23807 added method return when BadLocationException was thrown.
23808 * javax/swing/text/WrappedPlainView.java:
23809 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
23810 added note about meaning of rect.x and rect.width, removed unneeded
23811 checks, added code to not return the last possible document offset.
23812
23813 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23814
23815 * javax/swing/text/WrappedPlainView.java:
23816 (WrappedLine.viewToModel): Change < to <= in if-statement,
23817 removed addition of currLineStart to return value.
23818 * javax/swing/text/BoxView.java:
23819 (getViewAtPoint): Use copy instead of r for method call
23820 which modifies the second argument.
23821
23822 2006-04-01 Mark Wielaard <mark@klomp.org>
23823
23824 Fixes PR26973
23825 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
23826
23827 2006-03-31 Tom Tromey <tromey@redhat.com>
23828
23829 * lib/split-for-gcj.sh: Updated for multi-field format.
23830 * lib/Makefile.am (CLEANFILES): Added classes.2.
23831 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
23832 classes.2 using multiple fields.
23833
23834 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23835
23836 * javax/swing/JTable.java (columnSelectionChanged):
23837 Removed print statement.
23838 * javax/swing/DefaultListSelectionModel.java
23839 (addSelectionInterval, removeSelectionInterval):
23840 Fire the difference between selection. (setLeadSelectionIndex):
23841 Fire the difference and mark current and previous lead
23842 selection indexes for repaint.
23843
23844 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
23845
23846 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
23847 unnecessary copying.
23848 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
23849
23850 2006-03-31 Lillian Angel <langel@redhat.com>
23851
23852 * java/awt/Component.java
23853 (translateEvent): oldKey should be the value of the
23854 key char.
23855
23856 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23857
23858 * javax/swing/JTable.java (columnSelectionChanged):
23859 Treat second repaint parameter as width.
23860
23861 2006-03-31 Lillian Angel <langel@redhat.com>
23862
23863 PR classpath/26924
23864 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
23865 (realize): New native function.
23866 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
23867 Added new function declaration.
23868 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
23869 (realize): New function.
23870
23871 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
23872
23873 * javax/swing/text/GapContent.java:
23874 (replace): Move all Position instances from gap's end to
23875 it's start before increasing the gap start.
23876 * javax/swing/plaf/basic/BasicTextAreaUI.java:
23877 (propertyChanged): Update the view only instead of
23878 indicating a document change.
23879
23880 2006-03-31 Roman Kennke <kennke@aicas.com>
23881
23882 * javax/swing/JTextField.java
23883 (fireActionPerformed): Put the textfields text in the action
23884 instead of the action name.
23885
23886 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
23887
23888 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
23889 Check for null jar-file argument.
23890 (setupSigningParams): Check for null alias argument.
23891
23892 2006-03-31 Roman Kennke <kennke@aicas.com>
23893
23894 * javax/swing/JComponent.java
23895 (paintChildren): Split up in two cases, depending on the
23896 optimizedDrawingEnabled flag.
23897 (paintChildrenWithOverlap): New method. Paints children when
23898 not optimizedDrawingEnabled. This implements better painting
23899 algorithm for overlapping components, so that the painted
23900 regions are minimized.
23901 (paintChildrenOptimized): New method. Paints children when
23902 when optimizedDrawingEnabled. This implements a painting
23903 algorithm that is optimized for the case when all children
23904 are guaranteed to be tiled.
23905
23906 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
23907
23908 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
23909 Attributes.putValue(String,String).
23910 (finishSigning): Likewise.
23911 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
23912 (SIGNATURE_VERSION): Likewise.
23913 (readSFManifest): Use local string constant.
23914 (readMainSection): Likewise.
23915 (readVersionInfo): Likewise.
23916 * java/util/jar/Attributes.java (MANIFEST_VERSION):
23917 Redefined using JarUtils constant.
23918 (SIGNATURE_VERSION): Likewise.
23919 (putValue(Name,String)): Made it private.
23920
23921 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23922
23923 * javax/swing/DefaultListSelectionModel.java (fireDifference):
23924 New method. (clearSelection): Rewritten. (setSelectionInterval):
23925 Fire the difference between current and new selection.
23926 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
23927 Only repaint the region, where selection has been changed.
23928 * javax/swing/plaf/basic/BasicTableUI.java
23929 (TableAction.actionPerformed): Do not change the column selection
23930 when only row selection change is wanted (and in reverse) and
23931 do not call the repaint() here.
23932
23933 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
23934
23935 Fixes bug #26951
23936 * javax/swing/DefaultComboBoxModel.java
23937 (DefaultComboBoxModel(Vector)): Call getSize() instead of
23938 vector.size(),
23939 (addElement): Call list.addElement() rather than list.add(), and only
23940 update selected item if it is currently null,
23941 (removeElementAt): Update selected item, then remove the element.
23942
23943 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
23944
23945 Fixes bug #26955
23946 * java/awt/geom/Point2D.java
23947 (distanceSq(double, double)): Fixed order of arguments,
23948 (distanceSq(Point2D)): Likewise,
23949 (distance(double, double)): Likewise,
23950 (distance(Point2D)): Likewise.
23951
23952 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
23953
23954 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
23955 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
23956 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
23957 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
23958 DCLuminanceLengths, DCLuminanceValues): Remove fields.
23959
23960 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23961
23962 * javax.swing.JTable (constructor): Initialize column
23963 model column margin and table row margin before setting the
23964 table column model. (initialiseLocalVars): Do not call
23965 setIntercellSpacing.
23966
23967 2006-03-30 Chris Burdess <dog@gnu.org>
23968
23969 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
23970 method signature.
23971 * javax/xml/validation/SchemaFactoryLoader.java: New file.
23972
23973 2006-03-30 Mark Wielaard <mark@klomp.org>
23974
23975 PR 26848
23976 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
23977 adjust bounds. On resize invalidate and validate container.
23978 Always pass on ComponentEvents to Container super class.
23979 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
23980 menuBar and pass to GtkWindowPeer super class.
23981 (postConfigureEvent): Adjust menu bar width. Adjust y and height
23982 bounds and pass to GtkWindowPeer super class.
23983 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
23984 New fields for local bounds.
23985 (getX, getY): New methods.
23986 (getWidth): Don't call into awtComponent.
23987 (getHeight): Likewise.
23988 (create): Cache local bounds.
23989 (setLocation): Documented, made protected and just call
23990 nativeSetLocation.
23991 (setLocationUnlocked): Removed unused method.
23992 (setBoundsUnlocked): Likewise.
23993 (setBounds): Check whether bounds actually changed and cache local
23994 bounds.
23995 (setSize): Documented and made protected.
23996 (setResizable): Documented and cache local bounds.
23997 (postConfigureEvent): Update local bounds. Don't call awtComponent
23998 directly but post ComponentEvents.
23999 (show): Cache local bounds.
24000 (getBounds): Override to return cached bounds.
24001
24002 2006-03-30 Lillian Angel <langel@redhat.com>
24003
24004 * gnu/java/awt/peer/gtk/GdkGraphics.java
24005 (drawImage): Added check to prevent NPE.
24006 (drawImage): Likewise.
24007 (drawImage): Likewise.
24008 * java/awt/Choice.java
24009 (dispatchEventImpl): New function. selectedIndex was
24010 not being updated properly otherwise.
24011
24012 2006-03-30 Roman Kennke <kennke@aicas.com>
24013
24014 * javax/swing/JTabbedPane.java
24015 (removeTabAt): Removed debug code.
24016
24017 2006-03-30 Roman Kennke <kennke@aicas.com>
24018
24019 PR 26045
24020 * javax/swing/plaf/basic/BasicTextUI.java
24021 (installKeyboardActions): Simply call getKeymap() and install this.
24022 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24023
24024 2006-03-30 Roman Kennke <kennke@aicas.com>
24025
24026 * javax/swing/JTabbedPane.java
24027 (removeTabAt): Adjust selection correctly when removing a tab
24028 before the selected tab. Also remove the component from the
24029 container, not only the tab object. Repaint and revalidate the
24030 component after the removal.
24031 (removeAll): Set selection to -1 before removing the tabs.
24032
24033 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24034
24035 * java/io/ObjectInputStream.java:
24036 (parseContent(byte)): Added enum support.
24037 * java/io/ObjectStreamConstants.java:
24038 (TC_ENUM): Added.
24039 (TC_MAX): Changed to new maximum, TC_ENUM.
24040
24041 2006-03-29 Lillian Angel <langel@redhat.com>
24042
24043 Partial fix for bug #26929
24044 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24045 (updateComponent): Removed. We want to clear the panel
24046 before painting.
24047 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24048 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24049 Should set the background to the saved background color.
24050
24051 2006-03-29 Mark Wielaard <mark@klomp.org>
24052
24053 Partial fix for bug #26848 (pack).
24054 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24055 Always show instances of Window.
24056
24057 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24058
24059 * javax/swing/JSlider.java
24060 (setPaintLabels): Only create standard labels if labelTable is null,
24061 * javax/swing/plaf/basic/BasicSliderUI.java
24062 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24063 "paintTicks" property change,
24064 (calculateThumbSize): Updated API docs,
24065 (calculateContentRect): Likewise,
24066 (calculateTrackBuffer): Take into account the lowest and highest
24067 labels when calculating buffer space,
24068 (calculateTrackRect): Include labels, if visible, in the calculation of
24069 the trackRect position,
24070 (calculateTickRect): Height is zero if ticks are not painted,
24071 (calculateLabelRect): Use max dimensions of actual labels,
24072 (getWidthOfHighValueLabel): Use preferred size,
24073 (getWidthOfLowValueLabel): Likewise,
24074 (getHeightOfHighValueLabel): Likewise,
24075 (getHeightOfLowValueLabel): Likewise,
24076 (drawInverted): Just return slider setting,
24077 (getHighestValueLabel): Updated API docs,
24078 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24079 to xPositionForValue() and yPositionForValue(),
24080 (paintHorizontalLabel): Removed full qualification of class name,
24081 (paintVerticalLabel): Likewise,
24082 (xPositionForValue): Reimplemented,
24083 (yPositionForValue): Reimplemented,
24084 * javax/swing/plaf/metal/MetalSliderUI.java
24085 (paintTrack): Made track one pixel longer.
24086
24087 2006-03-29 Tom Tromey <tromey@redhat.com>
24088
24089 PR gcc/26901:
24090 * tools/Makefile.am (JCOMPILER): Added encoding options.
24091 * examples/Makefile.am (JCOMPILER): Added encoding options.
24092
24093 2006-03-29 Gary Benson <gbenson@redhat.com>
24094
24095 Partial fix for PR classpath/24895
24096 * java/io/FilePermission.java (implies): Canonicalize paths.
24097
24098 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24099
24100 PR 26888
24101 * javax/swing/text/GapContent.java:
24102 (replace): Added call to resetMarksAtZero.
24103
24104 2006-03-29 Roman Kennke <kennke@aicas.com>
24105
24106 PR 23527
24107 * javax/swing/plaf/basic/BasicMenuItemUI.java
24108 (cachedRect): New field.
24109 (BasicMenuItemUI): Initialize cachedRect field.
24110 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24111 to determine layout. Store maximum accelerator and text width
24112 in client properties of parent to allow correct alignment
24113 of accelerators among menu items of one menu.
24114 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24115 method. Align accelerators according to the values calculated
24116 in getPreferredMenuItemSize.
24117 (getAcceleratorString) New helper method.
24118 (layoutMenuItem): New helper method.
24119
24120 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24121
24122 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24123 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24124 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24125 Avoid NPEs.
24126 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24127 readExternal, writeExternal): New methods.
24128 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24129 two stages, invokeCommon(Remote, ...) and
24130 invokeCommen(UnicastConnection, ...).
24131 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24132 also the ActivatableRef. toString(): Documented.
24133 * gnu/java/rmi/server/ActivatableRef.java,
24134 tools/gnu/classpath/tools/rmi/Persistent.java,
24135 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24136 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24137 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24138 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24139 tools/gnu/classpath/tools/rmi/RMID.java,
24140 tools/gnu/classpath/tools/rmi/RMID.txt,
24141 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24142 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24143 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24144 tools/gnu/classpath/tools/rmi/registry/package.html,
24145 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24146 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24147 New files.
24148 * tools/README: Documented.
24149 * NEWS: Added entry about the activation.
24150
24151 2006-03-29 Roman Kennke <kennke@aicas.com>
24152
24153 PR 23527
24154 * javax/swing/plaf/basic/BasicMenuItemUI.java
24155 (viewRect): New field.
24156 (textRect): New field.
24157 (accelRect): New field.
24158 (iconRect): New field.
24159 (arrowIconRect): New field.
24160 (checkIconRect): New field.
24161 (BasicMenuItemUI): Initialize new fields.
24162 (paintMenuItem): Rewritten to correctly layout and paint
24163 the menu item in a more straightforward way. Use cached rectangle
24164 objects for layout.
24165 (paintAccelerator): Pulled inside the paintMenuItem method.
24166
24167 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24168
24169 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24170 Do not use initCause with UnexpectedException.
24171 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24172 Likewise.
24173
24174 2006-03-29 Mark Wielaard <mark@klomp.org>
24175
24176 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24177 (setCursorID): Removed unused static variable.
24178
24179 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24180
24181 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24182
24183 2006-03-29 Mark Wielaard <mark@klomp.org>
24184
24185 Fixes bug #26527
24186 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24187 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24188
24189 2006-03-28 Roman Kennke <kennke@aicas.com>
24190
24191 * javax/swing/UIManager.java
24192 (installLookAndFeel): Implemented.
24193 (setInstalledLookAndFeels): Implemented.
24194
24195 2006-03-28 Roman Kennke <kennke@aicas.com>
24196
24197 * javax/swing/plaf/metal/MetalButtonUI.java
24198 (update): Paint gradient only when the background color
24199 is not a UIResource and if the button is neither armed nor
24200 pressed and if the button is contentAreaFilled.
24201
24202 2006-03-28 Roman Kennke <kennke@aicas.com>
24203
24204 * javax/swing/JLayeredPane.java
24205 (addImpl): Repaint added component.
24206
24207 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24208
24209 * java/util/regex/Matcher.java: Reverted.
24210
24211 2006-03-28 Roman Kennke <kennke@aicas.com>
24212
24213 * javax/swing/text/AsyncBoxView.java
24214 (setEstimatedMajorSpan): Made method protected.
24215 (getEstimatedMajorSpan): Made method protected.
24216 * javax/swing/text/BoxView.java
24217 (flipEastAndWestAtEnds): Fixed typo.
24218 * javax/swing/text/InternationalFormatter.java
24219 (getActions): Made method protected.
24220 * javax/swing/text/Position.java
24221 (Bias): Made class final.
24222 * javax/swing/text/html/HTML.java
24223 (MEDIA): Made field package private. Not specified.
24224 (NOBR): Made field package private. Not specified.
24225 * javax/swing/text/html/NullView.java
24226 Made class package private.
24227 * javax/swing/text/html/parser/Entity.java
24228 Made class non-serializable as specified.
24229
24230 2006-03-28 Roman Kennke <kennke@aicas.com>
24231
24232 * javax/swing/plaf/metal/MetalButtonUI.java
24233 (update): Don't paint gradient if the background color is
24234 no UIResource. Removed double getModel() call. Don't check for
24235 OceanTheme.
24236
24237 2006-03-28 Roman Kennke <kennke@aicas.com>
24238
24239 * javax/swing/plaf/basic/BasicMenuItemUI.java
24240 (paint): Call paintMenuItem with the selectionBackground as
24241 parameter.
24242 (paintBackground): Fixed the condition and color for the background
24243 painting.
24244
24245 2006-03-28 Roman Kennke <kennke@aicas.com>
24246
24247 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24248 (tabsOpaque): New field.
24249 (paintLeftTabBorder): Paint some parts only when the tabs are
24250 opaque. Determine the tab background using the paintLeftTabBorder()
24251 helper method.
24252 (paintRightTabBorder): Likewise.
24253 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24254
24255 2006-03-27 Tom Tromey <tromey@redhat.com>
24256
24257 PR classpath/25189:
24258 * java/lang/Enum.java (valueOf): Ensure that the named field
24259 is an enum constant.
24260 (compareTo): Check class of enum.
24261
24262 2006-03-27 Tom Tromey <tromey@redhat.com>
24263
24264 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24265
24266 2006-03-27 Tom Tromey <tromey@redhat.com>
24267
24268 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24269 New constant.
24270 (getModifiersInternal): Renamed from getModifiers.
24271 (getModifiers): New method.
24272 (isBridge): Likewise.
24273 (isSynthetic): Likewise.
24274 (isVarArgs): Likewise.
24275 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24276 New constant.
24277 (getModifiersInternal): Renamed from getModifiers.
24278 (getModifiers): New method.
24279 (isSynthetic): Likewise.
24280 (isEnumConstant): Likewise.
24281 * vm/reference/java/lang/reflect/Constructor.java
24282 (getModifiersInternal): Renamed from getModifiers.
24283 (getModifiers): New method
24284 (CONSTRUCTOR_MODIFIERS): New constant.
24285 (isSynthetic): New method.
24286 (isVarArgs): Likewise.
24287 * java/lang/reflect/Member.java (isSynthetic): New method.
24288
24289 2006-03-28 Tom Tromey <tromey@redhat.com>
24290
24291 * java/net/Proxy.java (TYPE): Added missing ";".
24292
24293 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24294
24295 * java/math/RoundingMode.java:
24296 Fixed serialization UID.
24297 * java/net/Proxy.java:
24298 (Type): Likewise.
24299
24300 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24301
24302 * java/io/CharArrayWriter.java:
24303 (append(char)): Documented.
24304 (append(CharSequence)): Likewise.
24305 (append(CharSequence,int,int)): Likewise.
24306
24307 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24308
24309 * vm/reference/java/lang/reflect/Constructor.java
24310 (getTypeParameters): Check return value of getSignature for null.
24311 * vm/reference/java/lang/reflect/Method.java
24312 (getTypeParameters): Check return value of getSignature for null.
24313
24314 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24315
24316 * java/rmi/activation/ActivationGroup_Stub.java:
24317 Made final.
24318
24319 2006-03-27 Tom Tromey <tromey@redhat.com>
24320
24321 * java/io/CharArrayWriter.java (append): New overloads.
24322
24323 2006-03-27 Lillian Angel <langel@redhat.com>
24324
24325 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24326 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24327 Added check for colormap. Prevents assertion error.
24328 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24329 Likewise.
24330 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24331 Likewise.
24332 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24333 Likewise.
24334 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24335 Likewise.
24336 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24337 Likewise.
24338
24339 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24340
24341 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24342 AC_MSG_ERROR instead of echoing the error message
24343 that no compiler has been found manually.
24344
24345 2006-03-27 Roman Kennke <kennke@aicas.com>
24346
24347 * javax/swing/RepaintManager.java
24348 (commitBuffer): Use simple drawImage() method instead of the
24349 scaling version.
24350
24351 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24352
24353 * javax/swing/text/PlainView.java:
24354 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24355 for painting the selected line.
24356
24357 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24358
24359 * javax/swing/plaf/basic/BasicSliderUI.java
24360 (getThumbSize): Removed TODO and updated API docs.
24361
24362 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24363
24364 * javax/swing/text/DefaultCaret.java:
24365 (mouseClicked): Word selection rewritten.
24366 (paint): Draw line inside the bounding rectangle.
24367 (damage): Retrieve caret height from line height.
24368
24369 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24370
24371 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24372 for null args.
24373 Check for -help option.
24374 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24375
24376 2006-03-27 Roman Kennke <kennke@aicas.com>
24377
24378 * javax/swing/text/FieldView.java
24379 (getPreferredSpan): Don't include trailing newline in
24380 calculations.
24381 * javax/swing/text/PlainView.java
24382 (drawLine): Don't include trailing newline.
24383 (determineMaxLineLength): Don't include trailing newline.
24384 (getLineBuffer): Made method final.
24385
24386 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24387
24388 * javax/swing/JSlider.java
24389 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24390 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24391 NotImplementedException,
24392 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24393
24394 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24395
24396 * java/lang/ProcessBuilder.java:
24397 Made final.
24398
24399 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24400
24401 * gnu/java/net/protocol/http/Headers.java:
24402 Match layout of file on HEAD.
24403 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24404 Likewise.
24405 * java/awt/datatransfer/DataFlavor.java
24406 Likewise.
24407
24408 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24409
24410 * gnu/java/security/jce/hash/HavalSpi.java,
24411 * gnu/java/security/jce/hash/MD2Spi.java,
24412 * gnu/java/security/jce/hash/MD4Spi.java,
24413 * gnu/java/security/jce/hash/MD5Spi.java,
24414 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24415 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24416 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24417 * gnu/java/security/jce/hash/Sha160Spi.java,
24418 * gnu/java/security/jce/hash/Sha256Spi.java,
24419 * gnu/java/security/jce/hash/Sha384Spi.java,
24420 * gnu/java/security/jce/hash/Sha512Spi.java,
24421 * gnu/java/security/jce/hash/TigerSpi.java,
24422 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24423 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24424 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24425 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24426 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24427 * gnu/java/security/jce/sig/SignatureAdapter.java,
24428 * gnu/java/security/key/IKeyPairCodec.java,
24429 * gnu/java/security/key/IKeyPairGenerator.java,
24430 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24431 * gnu/java/security/key/dss/DSSKey.java,
24432 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24433 * gnu/java/security/key/dss/DSSPrivateKey.java,
24434 * gnu/java/security/key/dss/DSSPublicKey.java,
24435 * gnu/java/security/key/dss/FIPS186.java,
24436 * gnu/java/security/key/rsa/GnuRSAKey.java,
24437 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24438 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24439 * gnu/java/security/sig/ISignature.java,
24440 * gnu/java/security/sig/ISignatureCodec.java,
24441 * gnu/java/security/sig/dss/DSSSignature.java,
24442 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24443 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24444 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24445 * gnu/java/security/util/Util.java:
24446 Remove CVS revision tags.
24447
24448 2006-03-26 Tom Tromey <tromey@redhat.com>
24449
24450 * java/io/InputStream.java (InputStream): Implements Closeable.
24451
24452 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24453
24454 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24455 New methods.
24456 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24457 getAnchor): New methods.
24458 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24459 getAnchor): New methods.
24460 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24461 getAnchor): New methods.
24462 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24463 getAnchor): New methods.
24464 * gnu/regexp/REMatch.java(start1): New field.
24465 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24466 (match): set the starting position to start1[] instead of start[],
24467 (getMatchImpl): Set the found REMatch to the input,
24468 (makeCharIndexed): Made public.
24469 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24470 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24471 set the value of start[] copying from start1[].
24472 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24473 offset.
24474 * java/util/regex/Matcher.java(inputCharIndexed): New field
24475 to be used as a parameter of the RE#getMatch.
24476
24477 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24478
24479 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24480 Documented the default jre spawning strategy (none).
24481 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24482 getSystem): Obtain the acticivation system from the
24483 DefaultActivationSystem.
24484
24485 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24486
24487 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24488 Ask user for keystore password if one was not provided.
24489
24490 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24491
24492 * tools/README: Added Security tools section.
24493 Documented the jarsigner tool.
24494
24495 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24496
24497 * javax/swing/JScrollBar.java
24498 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24499 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24500 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24501 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24502 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24503 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24504 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24505 (getAccessibleContext): Updated API docs.
24506
24507 2006-03-25 Tom Tromey <tromey@redhat.com>
24508
24509 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24510 change or if generator script changes.
24511
24512 2006-03-25 Tom Tromey <tromey@redhat.com>
24513
24514 * javax/naming/ldap/StartTlsRequest.java: New file.
24515 * javax/naming/ldap/StartTlsResponse.java: New file.
24516
24517 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24518
24519 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24520 to validate all components of a resource path.
24521 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24522 allowed to walk through every component of a resource path.
24523
24524 2006-03-25 Michael Koch <konqueror@gmx.de>
24525
24526 * NEWS: Added item for CLDR 1.3 update.
24527
24528 2006-03-25 Michael Koch <konqueror@gmx.de>
24529
24530 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24531 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24532 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24533 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24534 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24535 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24536 Removed locales.
24537
24538 2006-03-25 Michael Koch <konqueror@gmx.de>
24539
24540 * resource/gnu/java/locale/LocaleInformation_az.properties,
24541 resource/gnu/java/locale/LocaleInformation_bs.properties,
24542 resource/gnu/java/locale/LocaleInformation_byn.properties,
24543 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24544 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24545 resource/gnu/java/locale/LocaleInformation_gez.properties,
24546 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24547 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24548 resource/gnu/java/locale/LocaleInformation_haw.properties,
24549 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24550 resource/gnu/java/locale/LocaleInformation_kok.properties,
24551 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24552 resource/gnu/java/locale/LocaleInformation_sid.properties,
24553 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24554 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24555 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24556 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24557 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24558 resource/gnu/java/locale/LocaleInformation_syr.properties,
24559 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24560 resource/gnu/java/locale/LocaleInformation_tig.properties,
24561 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24562 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24563 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24564 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24565 resource/gnu/java/locale/LocaleInformation_wal.properties,
24566 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24567 New locales.
24568
24569 2006-03-25 Michael Koch <konqueror@gmx.de>
24570
24571 * resource/gnu/java/locale/LocaleInformation_fa.properties,
24572 resource/gnu/java/locale/LocaleInformation_kn.properties,
24573 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24574 resource/gnu/java/locale/LocaleInformation_ko.properties,
24575 resource/gnu/java/locale/LocaleInformation_sl.properties,
24576 resource/gnu/java/locale/LocaleInformation_so.properties,
24577 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24578 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24579 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24580 resource/gnu/java/locale/LocaleInformation_sr.properties:
24581 Random fixes I forgot to commit before.
24582
24583 2006-03-25 Michael Koch <konqueror@gmx.de>
24584
24585 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24586 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24587 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24588 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24589 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24590 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24591 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24592 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24593 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24594 resource/gnu/java/locale/LocaleInformation_en.properties,
24595 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24596 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24597 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24598 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24599 resource/gnu/java/locale/LocaleInformation_fa.properties,
24600 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24601 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24602 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24603 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24604 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24605 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24606 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24607 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24608 resource/gnu/java/locale/LocaleInformation_pa.properties,
24609 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24610 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24611 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24612 resource/gnu/java/locale/LocaleInformation_sa.properties,
24613 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24614 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24615 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24616 Updated currency formats.
24617
24618 2006-03-25 Roman Kennke <kennke@aicas.com>
24619
24620 * javax/swing/text/AbstractDocument.java
24621 (getAttributeContext): Made method final.
24622 (getCurrentWriter): Likewise.
24623 (getEndPosition): Likewise.
24624 (getProperty): Likewise.
24625 (getStartPosition): Likewise.
24626 (putProperty): Likewise.
24627 (readLock): Likewise.
24628 (readUnlock): Likewise.
24629 (writeLock): Likewise.
24630 (writeUnlock): Likewise.
24631
24632 2006-03-25 Roman Kennke <kennke@aicas.com>
24633
24634 * javax/swing/InputMap.java
24635 (allKeys): Check if parent keys is null.
24636 * javax/swing/KeyboardManager.java
24637 (registerEntireMap): Also register map's parent keys.
24638 * javax/swing/plaf/metal/MetalRootPaneUI.java
24639 (propertyChange): Also call super.propertyChange().
24640
24641 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24642
24643 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
24644 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24645 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24646 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
24647 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24648 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
24649
24650 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24651
24652 * gnu/java/util/jar/JarUtils.java: New file.
24653 * java/util/jar/Manifest.java (CRLF): Removed.
24654 (read_main_section): Likewise.
24655 (read_version_info): Likewise.
24656 (expect_header(String,BufferedReader)): Likewise.
24657 (expect_header(String,BufferedReader,String)): Likewise.
24658 (read_header_value): Likewise.
24659 (read_attributes): Likewise.
24660 (read_attribute): Likewise.
24661 (read_individual_sections): Likewise.
24662 (read_section_name): Likewise.
24663 (write_main_section): Likewise.
24664 (write_version_info): Likewise.
24665 (write_header): Likewise.
24666 (write_main_attributes): Likewise.
24667 (write_attribute_entry): Likewise.
24668 (write_individual_sections): Likewise.
24669 (write_entry_attributes): Likewise.
24670 (read): use JarUtils.
24671 (write): Likewise.
24672
24673 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24674
24675 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
24676 (DEBUG): Removed.
24677 (debug): Likewise.
24678 (SignerInfo(BERReader)): Updated javadoc.
24679 Use JDK logging.
24680 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
24681 New constructor.
24682 (encode): New method.
24683 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
24684 (PKCS7_DATA): Removed.
24685 (DEBUG): Likewise.
24686 (debug): Likewise.
24687 (PKCS7SignedData(BERReader)): Updated javadoc.
24688 Use JDK logging.
24689 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
24690 constructor.
24691 (encode): New method.
24692 * gnu/java/security/pkcs/PKCS7Data.java: New file.
24693 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
24694 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
24695 (decodePrivateKey): Decode x from an OCTET STRING.
24696 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
24697 (toString): New method.
24698 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
24699 (str): Likewise.
24700 (toString): New method.
24701 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
24702 (toString): New method.
24703 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
24704
24705 2006-03-25 Roman Kennke <kennke@aicas.com>
24706
24707 * java/util/GregorianCalender.java
24708 (computeTime): Fix comparison to correctly calculate the
24709 calendar.
24710
24711 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
24712
24713 Fixes bug #26837
24714 * java/awt/Window.java:
24715 (setFocusCycleRoot): New overriden method.
24716 (isFocusCycleRoot): Likewise.
24717 (getFocusCycleRootAncestor): Likewise.
24718 * java/awt/Container.java:
24719 (getFocusTraversalPolicy): Check also for anchestor == null.
24720
24721 2006-03-25 Mark Wielaard <mark@klomp.org>
24722
24723 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
24724 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
24725 close root tag.
24726
24727 2006-03-24 Tom Tromey <tromey@redhat.com>
24728
24729 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
24730 Rewrote.
24731 (writeChar): Removed useless cast.
24732 (writeChars(String)): Implemented.
24733 (writeDouble): Rewrote.
24734 (writeFloat): Likewise.
24735 (writeUTF): Implemented.
24736 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
24737 to big endian.
24738
24739 2006-03-24 Roman Kennke <kennke@aicas.com>
24740
24741 * javax/swing/JButton.java
24742 (def): Replaced field with defaultCapable field.
24743 (is_def): Removed field.
24744 (JButton): Initialize defaultCapable with true.
24745 (isDefaultButton): Documented and implemented method by querying
24746 the button's root pane if present.
24747 (isDefaultCapable): Changed def field to defaultCapable.
24748 Added documentation.
24749 (paramString): Call isDefaultButton() instead of accessing field,
24750 which got removed.
24751 (setDefaultCapable): Changed def field to defaultCapable.
24752 Added documentation.
24753 * javax/swing/JRootPane.java
24754 (setDefaultButton): Only change the default button if the
24755 new button is defaultCapable.
24756 * javax/swing/plaf/basic/BasicRootPaneUI.java
24757 (DefaultPressAction): New class.
24758 (DefaultReleaseAction): New class.
24759 (installKeyboardActions): Implemented.
24760 (uninstallKeyboardActions): Implemented.
24761 (propertyChange): Implemented.
24762 * javax/swing/plaf/metal/MetalBorders.java
24763 (ButtonBorder.paintBorder): 'Outsourced' default theme
24764 painting to paintDefaultButtonBorder().
24765 (ButtonBorder.paintDefaultButtonBorder): New helper method
24766 to paint the border in the default theme. This also fixes
24767 painting of the border for default buttons.
24768 (ButtonBorder.paintOceanButtonBorder): Added support for
24769 default button painting. Fixed border for pressed/default state.
24770 * javax/swing/plaf/metal/MetalButtonUI.java
24771 (update): Only paint gradient when in OceanTheme and when the
24772 button is not armed.
24773
24774 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24775
24776 * gnu/java/rmi/activation/ActivationSystemTransient.java:
24777 Inherit from Activator.
24778
24779 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24780
24781 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
24782 Print debug message if debug flag is set.
24783 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
24784 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
24785 detail, do not call iniCause(). (exportClass): New method.
24786 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
24787 Ignore null (bootstrap) class loader.
24788 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
24789 buildMethodHash, findStubSkelClass, getHelperClass): Changed
24790 visibility to protected.
24791 * java/rmi/activation/Activatable.java (export, register): Rewritten.
24792 (toStub): New method.
24793 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
24794 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
24795 Explained property java.rmi.activation.port.
24796
24797 2006-03-24 Tom Tromey <tromey@redhat.com>
24798
24799 * .externalToolBuilders/CreateLocaleData.launch: Updated.
24800 * gnu/java/locale/.cvsignore: New file.
24801 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
24802 * java/util/Locale.java (getAvailableLocales): Clone result.
24803 (getISOCountries): Likewise.
24804 (getISOLanguages): Likewise.
24805 * scripts/generate-locale-list.sh: Make class public. Added new
24806 array.
24807 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
24808 (getLocaleCount): Likewise.
24809 * java/text/Collator.java (getInstance): Javadoc typo fix.
24810 (getAvailableLocales): Wrote.
24811
24812 2006-03-24 Roman Kennke <kennke@aicas.com>
24813
24814 * javax/swing/JTabbedPane.java
24815 (getSelectedComponent): Return null when no component is
24816 selected.
24817
24818 2006-03-24 Mark Wielaard <mark@klomp.org>
24819
24820 * NEWS: Add cursor and selection improvements.
24821
24822 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24823
24824 * java/awt/Component.java
24825 (getAccessibleName): Just return accessibleName,
24826 * javax/swing/AbstractButton.java
24827 (getAccessibleStateSet): Mark as stub,
24828 (getAccessibleName): Implemented,
24829 (getAcessibleIcon): Mark as stub,
24830 (getAccessibleRelationSet): Likewise,
24831 (getAccessibleAction): Likewise,
24832 (getAccessibleValue): Likewise,
24833 (getAccessibleActionCount): Likewise,
24834 (getAccessibleActionDescription): Likewise,
24835 (doAccessibleAction): Likewise,
24836 (getCurrentAccessibleValue): Likewise,
24837 (setCurrentAccessibleValue): Likewise,
24838 (getMinimumAccessibleValue): Likewise,
24839 (getMaximumAccessibleValue): Likewise,
24840 (getAccessibleText): Likewise,
24841 (getIndexAtPoint): Likewise,
24842 (getCharacterBounds): Likewise,
24843 (getCharCount): Likewise,
24844 (getCaretPosition): Likewise,
24845 (getAtIndex): Likewise,
24846 (getAfterIndex): Likewise,
24847 (getBeforeIndex): Likewise,
24848 (getCharacterAttribute): Likewise,
24849 (getSelectionStart): Likewise,
24850 (getSelectionEnd): Likewise,
24851 (getSelectedText): Likewise,
24852 (getTextRectangle): Likewise,
24853 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
24854 (getIconTextGap): Added @since 1.4,
24855 (setContentAreaFilled): Reordered code to make event sequence match
24856 reference implementation,
24857 * javax/swing/JButton.java
24858 (getSelectedObjects): Removed,
24859 *javax/swing/JComponent.java
24860 (getAccessibleName): Call super.
24861
24862 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24863
24864 * javax/swing/JProgressBar.java
24865 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
24866 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
24867 (AccessibleJProgressBar.getAccessibleValue): Implemented,
24868 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
24869 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
24870 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
24871 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
24872 (getAccessibleContext): Added API docs.
24873
24874 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
24875
24876 * javax/swing/plaf/basic/BasicTextUI.java:
24877 (FocusListener.focusLost): Put current selection into the system
24878 clipboard.
24879
24880 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
24881
24882 * java/awt/Component.java:
24883 (processMouseEvent): Remove call to consume event.
24884 (dispatchEventImpl): Handle specific events first, do focus request
24885 only when mouse event was not yet consumed.
24886 * javax/swing/text/DefaultCaret.java:
24887 (mousePressed): Rewritten.
24888 (setDot): Changed order of operations.
24889 (moveDot): Dito.
24890
24891 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24892
24893 * javax/swing/JComponent.java
24894 (AccessibleJComponent.changeSupport): Removed field,
24895 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
24896 (AccessibleJComponent.addPropertyChangeListener): Call super,
24897 (AccessibleJComponent.removePropertyChangeListener): Likewise,
24898 * javax/swing/JSlider.java
24899 (AccessibleJSlider.getAccessibleStateSet): Implemented,
24900 (AccessibleJSlider.getAccessibleRole): Likewise,
24901 (AccessibleJSlider.getAccessibleValue): Likewise,
24902 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
24903 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
24904 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
24905 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
24906 (getAccessibleContext): Added API docs.
24907
24908 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24909
24910 * gnu/java/rmi/activation/ActivationSystemTransient.java
24911 (debug): Made public. (constructor): Made protected.
24912 (activate, getActivationDesc): Throw more informative exceptions.
24913 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
24914 New method.
24915 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
24916 Stub, implemented.
24917 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
24918 Documented.
24919 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
24920 Better exception.
24921 * java/rmi/activation/Activatable.java (obtainId): Use the activation
24922 system, passed in the activation descriptor field.
24923 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
24924 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
24925 to package private final. (equals): Compare uid, not the system.
24926 (hashCode): Forward to uid.hashCode(). toString(): New method.
24927 * java/rmi/activation/ActivationID.java (readObject, writeObject):
24928 Rewritten. (equals): Compare UID only. toString(): New method.
24929 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
24930 UID (space). (hashCode, toString): Rewritten.
24931 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
24932 New method. (invoke): Treat null as an empty array for parameters.
24933 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
24934 Include count, do not include the static machineId.
24935
24936 2006-03-23 Tom Tromey <tromey@redhat.com>
24937
24938 * java/net/URLConnection.java (getContent(Class[])): Implemented.
24939
24940 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24941
24942 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
24943 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
24944 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
24945 (force): New field. (setForce): New method. (compile): Handle -force.
24946 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
24947 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
24948
24949 2006-03-23 Roman Kennke <kennke@aicas.com>
24950
24951 * javax/swing/JTabbedPane.java
24952 (Page.getBackground): Return the JTabbedPane's background,
24953 rather than the page's component background.
24954 (Page.getForeground): Return the JTabbedPane's foreground,
24955 rather than the page's component foreground.
24956 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
24957 (uninstallUI): Don't set colors to null.
24958 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24959 (paintTabBackground): Correctly determine the tab background.
24960 (getUnselectedBackground): New helper method to
24961 handle the UI property 'TabbedPane.unselectedBackground'
24962 correctly.
24963
24964 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24965
24966 * javax/swing/plaf/basic/BasicInternalFrameUI.java
24967 (BorderListener.showingResizeCursor): New field.
24968 (BorderListener.mouseMoved, BorderListner.mouseExited):
24969 Implemented.
24970
24971 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24972
24973 * javax/swing/JComboBox.java
24974 (selectWithKeyChar): Mark as stub,
24975 * javax/swing/JFileChooser.java
24976 (setDragEnabled): Mark as stub,
24977 (getDragEnabled): Likewise,
24978 * javax/swing/JSlider.java
24979 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
24980 (AccessibleJSlider.getAccessibleRole): Likewise,
24981 (AccessibleJSlider.getAccessibleValue): Likewise,
24982 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
24983 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
24984 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
24985 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
24986 * javax/swing/UIManager.java
24987 (installLookAndFeel): Mark as stub,
24988 (setInstalledLookAndFeels): Likewise.
24989
24990 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24991
24992 * javax/swing/filechooser/UnixFileSystemView.java
24993 (getSystemDisplayName): Mark as stub,
24994 (getSystemIcon): Likewise,
24995 (getSystemTypeDescription): Likewise.
24996
24997 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24998
24999 * javax/swing/tree/AbstractLayoutCache.java
25000 (getNodeDimensions): Mark as stub,
25001 (getPreferredHeight): Likewise,
25002 (getPreferredWidth): Likewise,
25003 (getRowsForPaths): Likewise,
25004 (isFixedRowHeight): Likewise,
25005 * javax/swing/tree/DefaultTreeModel.java
25006 (reload()): Mark as stub,
25007 (reload(TreeNode)): Likewise,
25008 (nodeStructureChanged): Likewise,
25009 * javax/swing/tree/DefaultTreeSelectionModel.java
25010 (clone): Mark as stub,
25011 (setRowMapper): Likewise,
25012 (setSelectionPaths): Likewise,
25013 (isRowSelected): Likewise,
25014 (resetRowSelection): Likewise,
25015 (insureRowContinuity): Likewise,
25016 (arePathsContiguous): Likewise,
25017 (canPathsBeAdded): Likewise,
25018 (canPathsBeRemoved): Likewise,
25019 (notifyPathChange): Likewise,
25020 (updateLeadIndex): Likewise,
25021 (insureUniqueness): Likewise,
25022 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25023 stubs,
25024 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25025
25026 2006-03-22 Tom Tromey <tromey@redhat.com>
25027
25028 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25029 stub.
25030 (getStaticAttributeKey): Likewise.
25031 (readAttributeSet): Likewise.
25032 (writeAttributeSet): Likewise.
25033 (readAttributes): Likewise.
25034 (writeAttributes): Likewise.
25035 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25036 as stub.
25037 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25038 Mark as stub.
25039 (fireChangedUpdate): Likewise.
25040 (start): Likewise.
25041 (end): Likewise.
25042 (handleEndOfLineString): Likewise.
25043 (textAreaContent): Likewise.
25044 (preContent): Likewise.
25045 (addSpecialElement): Likewise.
25046 (setInnerHTML): Likewise.
25047 (setOuterHTML): Likewise.
25048 (insertBeforeStart): Likewise.
25049 (insertBeforeEnd): Likewise.
25050 (insertAfterEnd): Likewise.
25051 (insertAfterStart): Likewise.
25052 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25053 Mark all methods as stub.s
25054 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25055 as stub.
25056 (paintHorizontalSeparators): Likewise.
25057 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25058 Mark as stub.
25059 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25060 stub.
25061 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25062 as stubs.
25063 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25064 methods as stubs.
25065
25066 2006-03-22 Mark Wielaard <mark@klomp.org>
25067
25068 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25069
25070 2006-03-22 Mark Wielaard <mark@klomp.org>
25071
25072 Fixes bug #26527
25073 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25074 Takes GtkImage, x and y coordinates.
25075 (gtkWidgetSetCursorUnlocked): Likewise.
25076 (GtkComponentPeer): Set cursor when set.
25077 (setCursor): Handle GtkCursor.
25078 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25079 New method.
25080 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25081 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25082 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25083 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25084
25085 2006-03-23 Roman Kennke <kennke@aicas.com>
25086
25087 PR 26805
25088 * gnu/java/security/Registry.java
25089 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25090 * gnu/javax/crypto/pad/PadFactory.java
25091 (getInstance): For PKCS#5, also return PKCS#7 pad
25092 algorithm.
25093 (getNames): Added PKCS#5.
25094 * javax/crypto/KeyGenerator.java
25095 (getInstance): Initialize key generator before returning
25096 it.
25097
25098 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25099
25100 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25101 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25102 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25103 if COMMENTS is set.
25104
25105 2006-03-22 Tom Tromey <tromey@redhat.com>
25106
25107 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25108 (getBoolean): Likewise.
25109 (getString): Likewise.
25110 (getIcon): Likewise.
25111
25112 2006-03-22 Mark Wielaard <mark@klomp.org>
25113
25114 Fixes bug #26301
25115 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25116 (GLightweightPeer(Component)): Install MouseListener.
25117 (setCursor): Implement.
25118 (mouseEntered): New method.
25119
25120 2006-03-22 Tom Tromey <tromey@redhat.com>
25121
25122 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25123 constant.
25124 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25125 protected.
25126 (getFontForState): Likewise.
25127 (getInsets): Added 'result' argument.
25128 (getPainter): Renamed.
25129
25130 2006-03-22 Tom Tromey <tromey@redhat.com>
25131
25132 * javax/swing/plaf/synth/SynthPainter.java
25133 (paintScrollBarThumbBackground): Added 'orientation' argument.
25134 (paintScrollBarThumbBorder): Likewise.
25135 (paintSliderThumbBackground): Likewise.
25136 (paintSliderThumbBorder): Likewise.
25137 (paintTabbedPaneTabBackground): Added 'index' argument.
25138 (paintTabbedPaneTabBorder): Likewise.
25139
25140 2006-03-22 Tom Tromey <tromey@redhat.com>
25141
25142 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25143 (toString): New method.
25144
25145 2006-03-22 Tom Tromey <tromey@redhat.com>
25146
25147 * doc/hacking.texinfo (Source Code Style Guide): Mention
25148 NotImplementedException.
25149 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25150 (flushBefore): Mark as stub.
25151 (read): Likewise.
25152 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25153 Mark as stub.
25154 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25155 as stub.
25156 (write): Likewise.
25157 (writeBit): Likewise.
25158 (writeChars): Likewise.
25159 (writeUTF): Likewise.
25160 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25161 as stub.
25162 (read): Likewise.
25163 * java/net/URLConnection.java (getContent): Mark as stub.
25164 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25165 * java/awt/TexturePaint.java (createContext): Mark as stub.
25166 (getTransparency): Mark as stub.
25167 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25168 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25169 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25170 stub.
25171 (getImageCapabilities): Likewise.
25172 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25173 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25174 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25175 methods as stubs.
25176 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25177 (getAdvanceBetween): Likewise.
25178 (getLayout): Likewise.
25179 (insertChar): Likewise.
25180 (getLineBreakIndex): Likewise.
25181 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25182 (getAdvance): Likewise.
25183 (getAscent): Likewise.
25184 (getDescent): Likewise.
25185 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25186 (insertChar): Likewise.
25187 (nextLayout): Likewise.
25188 (nextLayout): Likewise.
25189 (nextOffset): Likewise.
25190 (nextOffset): Likewise.
25191 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25192 (equals): Likewise.
25193 (getAdvance): Likewise.
25194 (getAscent): Likewise.
25195 (getBounds): Likewise.
25196 (getDescent): Likewise.
25197 (hashCode): Likewise.
25198 (ImageGraphicAttribute): Likewise.
25199 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25200 (getJustificationInfo): Likewise.
25201 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25202 (getGlyphCharIndices): Likewise.
25203 (getGlyphOutline): Likewise.
25204 (getGlyphPixelBounds): Likewise.
25205 (getLayoutFlags): Likewise.
25206 (getPixelBounds): Likewise.
25207 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25208 (getRSB): Likewise.
25209 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25210 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25211 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25212 Mark as stub.
25213 (resetRecognizer): Likewise.
25214 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25215 Mark as stub.
25216 (getNativesForFlavor): Likewise.
25217 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25218 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25219 as stub.
25220 (getRegion): Likewise.
25221 (createUI): Likewise.
25222 (initialize): Likewise.
25223 (uninitialize): Likewise.
25224 (getDefaults): Likewise.
25225 (load): Likewise.
25226 (shouldUpdateStyleOnAncestorChanged): Likewise.
25227 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25228 Mark as stub.
25229 (getPreferredSize): Likewise.
25230 (getMaximumSize): Likewise.
25231 (paintText): Likewise.
25232 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25233 as stub.
25234 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25235
25236 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25237
25238 * java/io/ObjectStreamConstants.java: Added since tag.
25239 (PROTOCOL_VERSION_1): Added javadoc.
25240 (PROTOCOL_VERSION_2): Likewise.
25241 * java/io/ObjectOutputStream.java:
25242 (setDefaultProtocolVersion): Removed.
25243 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25244
25245 2006-03-21 Lillian Angel <langel@redhat.com>
25246
25247 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25248 (BMPInfoHeader): Removed debug lines.
25249 * gnu/javax/imageio/bmp/EncodeRLE4.java
25250 (encode): Implemented.
25251 (uncompress): New function implemented to
25252 uncompress the image before encoding.
25253 * gnu/javax/imageio/bmp/EncodeRLE8.java
25254 (encode): Implemented.
25255 (uncompress): New function implemented to
25256 uncompress the image before encoding.
25257
25258 2006-03-21 Roman Kennke <kennke@aicas.com>
25259
25260 * javax/swing/text/html/FormView.java
25261 (getImageData): New helper method.
25262
25263 2006-03-21 Tom Tromey <tromey@redhat.com>
25264
25265 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25266 fix.
25267 (Unsafe): Now final.
25268
25269 2006-03-21 Roman Kennke <kennke@aicas.com>
25270
25271 * javax/swing/text/html/FormView.java
25272 (MouseEventListener): New inner class.
25273
25274 2006-03-21 Roman Kennke <kennke@aicas.com>
25275
25276 * javax/swing/text/html/ListView.java: New file.
25277
25278 2006-03-21 Tom Tromey <tromey@redhat.com>
25279
25280 * java/text/Bidi.java: Completed.
25281
25282 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25283
25284 * javax/swing/JTable.java:
25285 (columnAtPoint): Removed the null check, this method should throw a NPE
25286 if the argument is null.
25287
25288 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25289
25290 * javax/swing/text/DefaultHighlighter.java:
25291 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25292
25293 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25294
25295 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25296 the textcomponent having a selection.
25297 (clearSelection): Clear 'componentWithSelection' variable.
25298 (handleSelection): Clear selection of current component having a
25299 selection before setting a new selection in another component.
25300 (mouseDragged): Only react on left mouse button.
25301 (mouseClicked): Only react on left mouse button.
25302
25303 2006-03-21 Roman Kennke <kennke@aicas.com>
25304
25305 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25306 (paintContentBorderTopEdge): Implemented.
25307 (paintContentBorderBottomEdge): Implemented.
25308 (paintContentBorderLeftEdge): Implemented.
25309 (paintContentBorderRightEdge): Implemented.
25310 (isLastTabInRun): New helper method.
25311
25312 2006-03-21 Roman Kennke <kennke@aicas.com>
25313
25314 * javax/swing/JTabbedPane.java
25315 (Page.getForeground): Fall back to returning the tabbed pane's
25316 foreground if no foreground has been exclicitly set.
25317
25318 2006-03-21 Roman Kennke <kennke@aicas.com>
25319
25320 * javax/swing/plaf/metal/MetalComboBoxButton.java
25321 (setEnabled): Update colors of button correctly.
25322 * javax/swing/plaf/metal/MetalComboBoxUI.java
25323 (MetalPropertyChangeListener.propertyChange): Update the colors
25324 of the list and the button when any of the color properties
25325 of the ComboBox change.
25326
25327 2006-03-21 Roman Kennke <kennke@aicas.com>
25328
25329 * javax/swing/plaf/basic/BasicButtonUI.java
25330 (uninstallDefaults): Only nullify button colors if they are
25331 not UIResource instances.
25332
25333 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25334
25335 * javax/swing/JComponent.java
25336 (AccessibleJComponent.getAccessibleDescription): Call super,
25337 * javax/swing/JToolTip.java: API doc updates all over, plus
25338 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25339 (AccessibleJToolTip.getAccessibleRole): Implemented,
25340 (getAccessibleContext): Implemented,
25341 (paramString): Reimplemented,
25342 (setComponent): Fire PropertyChangeEvent,
25343 (setTipText): Likewise.
25344
25345 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25346
25347 * java/util/Formatter.java:
25348 Make the class final.
25349
25350 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25351
25352 * java/lang/System.java:
25353 (nanoTime()): Documented.
25354 * java/lang/Thread.java:
25355 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25356 Added docs and security check.
25357 (getUncaughtExceptionHandler()): Documented.
25358 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25359 Added docs and security check.
25360 (getDefaultUncaughtExceptionHandler()): Documented.
25361 (getId()): Documented.
25362 (Thread.State): Documented.
25363 * vm/reference/gnu/classpath/Unsafe.java:
25364 Documented.
25365 (getUnsafe()): Updated to handle security.
25366
25367 2006-03-20 Tom Tromey <tromey@redhat.com>
25368
25369 * java/lang/System.java:
25370 (nanoTime()): Implemented.
25371 * java/lang/Thread.java:
25372 (getId()): Implemented.
25373 * java/util/AbstractMap.java:
25374 (SimpleImmutableEntry): New 1.6 class.
25375 (BasicMapEntry): Modified to be SimpleEntry.
25376 * java/util/Collections.java:
25377 Modified to use SimpleEntry.
25378 * java/util/EnumMap.java: Likewise.
25379 * java/util/HashMap.java: Likewise.
25380 * java/util/Hashtable.java: Likewise.
25381 * java/util/TreeMap.java: Likewise.
25382 * vm/reference/gnu/classpath/Unsafe.java:
25383 New class to handle low-level facilities for concurrency.
25384 * vm/reference/java/lang/VMSystem.java:
25385 (nanoTime()): Implemented.
25386
25387 2006-03-20 Tom Tromey <tromey@redhat.com>
25388
25389 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25390 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25391 (CertStoreSpi): Updated throws clause.
25392 * java/security/cert/CertPathValidatorSpi.java: Added import for
25393 javadoc.
25394 (engineValidate): Updated 'throws' clause.
25395 * java/security/cert/PKIXParameters.java: Javadoc fix.
25396 * java/security/cert/X509CertSelector.java
25397 (setAuthorityKeyIdentifier): Javadoc fix.
25398
25399 2006-03-20 Tom Tromey <tromey@redhat.com>
25400
25401 * .classpath: Build gnu.javax.swing.plaf.
25402
25403 2006-03-20 Lillian Angel <langel@redhat.com>
25404
25405 * gnu/javax/imageio/bmp/BMPDecoder.java:
25406 Removed unneeded import.
25407 * gnu/javax/imageio/bmp/BMPEncoder.java:
25408 New class.
25409 * gnu/javax/imageio/bmp/BMPFileHeader.java
25410 (BMPFileHeader): New constructor used to create info header
25411 for an output stream.
25412 (write): Fixed indexes.
25413 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25414 Initialized writerSpiNames field.
25415 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25416 New class.
25417 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25418 New class.
25419 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25420 Change visibility for fields.
25421 (BMPInfoHeader): New constructor used to create
25422 file header for an output stream.
25423 (intToDWord): New method. Converts an int to a
25424 double word.
25425 (intToWord): New method. Converts an int to a word.
25426 * gnu/javax/imageio/bmp/DecodeBF32.java:
25427 Removed unneeded imports.
25428 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25429 New class.
25430 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25431 New class.
25432 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25433 New class.
25434 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25435 New class.
25436 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25437 New class.
25438 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25439 New class.
25440 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25441 New class.
25442 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25443 New class.
25444 * javax/imageio/ImageIO.java:
25445 Fixed comment.
25446
25447 2006-03-20 Roman Kennke <kennke@aicas.com>
25448
25449 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25450 (TabbedPaneLayout.normalizeTabRuns): New method.
25451 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25452 (paintTabBorder): Replaced if-else chain with switch.
25453 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25454 Ocean theme.
25455 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25456 Ocean theme.
25457 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25458 Ocean theme.
25459 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25460 Ocean theme.
25461 (paintTabBackground): Fetch background color from the TabbedPane.
25462 Fixed painting and improved by not using fillPolygon, and instead
25463 using fillRectangle. Replaced if-else chain with switch.
25464 (calculateMaxTabHeight): Added overridden method with FIXME.
25465 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25466 placement.
25467 (paintContentBorderTopEdge): Added stub with FIXME.
25468 (paintContentBorderBottomEdge): Added stub with FIXME.
25469 (paintContentBorderLeftEdge): Added stub with FIXME.
25470 (paintContentBorderRightEdge): Added stub with FIXME.
25471
25472 2006-03-20 Roman Kennke <kennke@aicas.com>
25473
25474 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25475 (tabsOpaque): New field.
25476 (installDefaults): Fetch tabsOpaque property from UIManager.
25477 (paintTab): Fill tab background when tabsOpaque property is true.
25478 * javax/swing/plaf/basic/BasicLookAndFeel.java
25479 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25480
25481 2006-03-20 Roman Kennke <kennke@aicas.com>
25482
25483 * javax/swing/JTabbedPane.java
25484 (Pane.getBackground): When no background was explicitly set, return
25485 the JTabbedPane's background.
25486
25487 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25488
25489 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25490 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25491 * org/omg/CORBA/BAD_INV_ORDER.java,
25492 * org/omg/CORBA/BAD_CONTEXT.java,
25493 * org/omg/CORBA/BAD_OPERATION.java,
25494 * org/omg/CORBA/BAD_PARAM.java,
25495 * org/omg/CORBA/BAD_QOS.java,
25496 * org/omg/CORBA/BAD_TYPECODE.java,
25497 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25498 * org/omg/CORBA/COMM_FAILURE.java,
25499 * org/omg/CORBA/CurrentHolder.java,
25500 * org/omg/CORBA/DATA_CONVERSION.java,
25501 * org/omg/CORBA/FREE_MEM.java,
25502 * org/omg/CORBA/IMP_LIMIT.java,
25503 * org/omg/CORBA/INITIALIZE.java,
25504 * org/omg/CORBA/INTERNAL.java,
25505 * org/omg/CORBA/INTF_REPOS.java,
25506 * org/omg/CORBA/INVALID_ACTIVITY.java,
25507 * org/omg/CORBA/INVALID_TRANSACTION.java,
25508 * org/omg/CORBA/INV_FLAG.java,
25509 * org/omg/CORBA/INV_IDENT.java,
25510 * org/omg/CORBA/INV_OBJREF.java,
25511 * org/omg/CORBA/INV_POLICY.java,
25512 * org/omg/CORBA/MARSHAL.java,
25513 * org/omg/CORBA/NO_RESOURCES.java,
25514 * org/omg/CORBA/NO_MEMORY.java,
25515 * org/omg/CORBA/NO_IMPLEMENT.java,
25516 * org/omg/CORBA/NO_PERMISSION.java,
25517 * org/omg/CORBA/NO_RESPONSE.java,
25518 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25519 * org/omg/CORBA/OBJ_ADAPTER.java,
25520 * org/omg/CORBA/ParameterModeHolder.java,
25521 * org/omg/CORBA/PolicyError.java,
25522 * org/omg/CORBA/PolicyErrorHolder.java,
25523 * org/omg/CORBA/PolicyHolder.java,
25524 * org/omg/CORBA/PolicyListHolder.java,
25525 * org/omg/CORBA/REBIND.java,
25526 * org/omg/CORBA/TIMEOUT.java,
25527 * org/omg/CORBA/TRANSACTION_MODE.java,
25528 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25529 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25530 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25531 * org/omg/CORBA/TRANSIENT.java,
25532 * org/omg/CORBA/TypeCodeHolder.java,
25533 * org/omg/CORBA/UNKNOWN.java,
25534 * org/omg/CORBA/UnionMember.java,
25535 * org/omg/CORBA/UnknownUserException.java,
25536 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25537 * org/omg/CORBA/WrongTransactionHolder.java,
25538 * org/omg/IOP/IOR.java,
25539 * org/omg/IOP/IORHolder.java,
25540 * org/omg/IOP/MultipleComponentProfileHolder.java,
25541 * org/omg/IOP/ServiceContextHolder.java,
25542 * org/omg/IOP/ServiceContextListHolder.java,
25543 * org/omg/IOP/TaggedComponentHolder.java,
25544 * org/omg/IOP/TaggedProfileHolder.java,
25545 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25546 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25547 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25548 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25549 Made class final, various javadoc fixlets.
25550 * org/omg/CORBA/CompletionStatus.java,
25551 * org/omg/CORBA/PERSIST_STORE.java,
25552 * org/omg/CORBA/ValueMember.java,
25553 * org/omg/PortableInterceptor/ForwardRequest.java,
25554 * org/omg/PortableInterceptor/InvalidSlot.java,
25555 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25556 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25557 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25558 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25559 * org/omg/IOP/Encoding.java,
25560 * org/omg/IOP/TaggedComponent.java,
25561 * org/omg/IOP/TaggedProfile.java: Made class final.
25562 * org/omg/CORBA/SystemException.java: Made class abstract.
25563 * org/omg/CORBA/UserException.java: Made class abstract.
25564 (UserException): Now protected.
25565 (UserException(String)): Likewise.
25566 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25567 (typecode): Removed unused private variable.
25568
25569 2006-03-20 Chris Burdess <dog@gnu.org>
25570
25571 Fixes PR 26761
25572 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25573
25574 2006-03-20 Roman Kennke <kennke@aicas.com>
25575
25576 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25577 (paintTabArea): Look up tab run indices in tabRuns array instead
25578 of using the index directly.
25579
25580 2006-03-20 Roman Kennke <kennke@aicas.com>
25581
25582 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25583 (paintTab): Fixed painting.
25584 (paintText): Fixed text painting.
25585 (paintFocusIndicator): Fixed painting of the focus rectangle.
25586 (paintContentBorder): Fixed painting of the content area.
25587
25588 2006-03-20 Mark Wielaard <mark@klomp.org>
25589
25590 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25591 static lock Object field.
25592 (produce): Synchronize on pixbufLock when calling initState(),
25593 pumpBytes() and pumpDone().
25594 (finalize): Likewise when calling finish().
25595 (GdkPixbufWriter.write): Likewise when calling streamImage().
25596 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25597 when calling loadPixbuf. Chain exception.
25598 (GtkImage(byte[])): Likewise when calling loadImageFromData.
25599 (GtkImage(URL)): Likewise.
25600 (GtkImage(int,int)): Likewise when calling createPixmap().
25601 (GtkImage(GtkImage,int,int,int)): Likewise when calling
25602 createScaledPixmap().
25603 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25604 (setImage): Likewise when calling createPixmap() and setPixels().
25605 (getSource): Likewise when calling getPixels().
25606 (flush): Likewise when calling freePixmap().
25607 (finalize): Likewise.
25608 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25609 drawPixelsScaledFlipped().
25610 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25611 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25612 gdk_threads_enter/leave().
25613 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25614 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25615 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25616 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25617 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25618 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25619 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25620 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25621 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25622 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
25623 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
25624 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
25625 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
25626
25627 2006-03-20 Roman Kennke <kennke@aicas.com>
25628
25629 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25630 (calculateTabHeight): Not need to use SwingUtilities here.
25631 (getTabInsets): Do not rotate insets.
25632
25633 2006-03-20 Roman Kennke <kennke@aicas.com>
25634
25635 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25636 (paint): Make sure the layout is valid before painting.
25637 (paintTabArea): Made tab painting more straightforward and efficient.
25638
25639 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25640
25641 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
25642 (getScrollableUnitIncrement): Rewritten.
25643 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
25644 (getScrollableUnitIncrement): Rewritten.
25645 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25646 (ROWS_PER_WHEEL_CLICK): New field.
25647 (MouseWheelHandler.mouseWheelMoved): Rewritten.
25648
25649 2006-03-20 Roman Kennke <kennke@aicas.com>
25650
25651 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25652 (paint): Make sure the layout is valid before painting.
25653 (paintTabArea): Made tab painting more straightforward and efficient.
25654
25655 2006-03-20 Roman Kennke <kennke@aicas.com>
25656
25657 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25658 (MouseHandler.mousePressed): Rewritten for clearer and simpler
25659 code.
25660 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
25661 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
25662 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
25663 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
25664 bounds here. That is moved into layoutContainer().
25665 (calculateSize): Correctly respect insets. Made code slightly more
25666 clear and efficient.
25667 (calculateTabRects): Rewritten completely. The old code was
25668 not quite right and unstable in some situations.
25669 (layoutContainer): Moved layout of tabbed pane's subcomponents
25670 here.
25671 (tabRunsDirty): New field.
25672 (rolloverTab): New field.
25673 (tabForCoordinate): Rewritten for simplicity and correctness.
25674 (setRolloverTab): New method.
25675 (getRolloverTab): New method.
25676
25677 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25678
25679 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
25680 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
25681 (getScrollableUnitIncrement
25682 * javax/swing/Scrollable.java: Documented.
25683 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25684 (MouseWheelHandler):Rewritten.
25685
25686 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25687
25688 * doc/vmintegration.texinfo:
25689 Updated with gnu.classpath.Unsafe
25690
25691 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25692
25693 * NEWS:
25694 Updated with VMArray and Unsafe changes.
25695
25696 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25697
25698 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
25699 (getScrollableUnitIncrement): Rewritten.
25700 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
25701 (getScrollableUnitIncrement): Rewritten.
25702 (getScrollableBlockIncrement): Rewritten.
25703 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25704 (MouseWheelHandler): Implemented. (ViewportContainerListener):
25705 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
25706 New field. (installListeners): Install wheel listeners.
25707 (uninstallListeners): Uninstall wheel listeners.
25708 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
25709 of the MouseWheelListener. (installListeners): Do not install wheel
25710 listener. (ROWS_PER_WHEEL_CLICK): Removed.
25711
25712 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
25713
25714 * vm/reference/gnu/classpath/Unsafe.java:
25715 Documented.
25716 (getUnsafe()): Updated to handle security.
25717
25718 2006-03-19 Tom Tromey <tromey@redhat.com>
25719
25720 * vm/reference/gnu/classpath/Unsafe.java:
25721 New class to handle low-level facilities for concurrency.
25722
25723 2006-03-19 Mark Wielaard <mark@klomp.org>
25724
25725 * include/Makefile.am: Rename PlainDatagramSocketImpl to
25726 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
25727 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
25728 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
25729
25730 2006-03-19 Mark Wielaard <mark@klomp.org>
25731
25732 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
25733 familyName.
25734 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
25735
25736 2006-03-19 Michael Koch <konqueror@gmx.de>
25737
25738 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
25739 resource/gnu/java/locale/LocaleInformation_am.properties,
25740 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
25741 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25742 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
25743 resource/gnu/java/locale/LocaleInformation_bg.properties,
25744 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25745 resource/gnu/java/locale/LocaleInformation_ca.properties,
25746 resource/gnu/java/locale/LocaleInformation_cs.properties,
25747 resource/gnu/java/locale/LocaleInformation_cy.properties,
25748 resource/gnu/java/locale/LocaleInformation_da.properties,
25749 resource/gnu/java/locale/LocaleInformation_de.properties,
25750 resource/gnu/java/locale/LocaleInformation_dv.properties,
25751 resource/gnu/java/locale/LocaleInformation_el.properties,
25752 resource/gnu/java/locale/LocaleInformation_en.properties,
25753 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
25754 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25755 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25756 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
25757 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25758 resource/gnu/java/locale/LocaleInformation_es.properties,
25759 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
25760 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
25761 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
25762 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
25763 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
25764 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
25765 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
25766 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
25767 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
25768 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
25769 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
25770 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
25771 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
25772 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
25773 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
25774 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25775 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
25776 resource/gnu/java/locale/LocaleInformation_es_US.properties,
25777 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
25778 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
25779 resource/gnu/java/locale/LocaleInformation_fa.properties,
25780 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25781 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25782 resource/gnu/java/locale/LocaleInformation_fi.properties,
25783 resource/gnu/java/locale/LocaleInformation_fr.properties,
25784 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
25785 resource/gnu/java/locale/LocaleInformation_ga.properties,
25786 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25787 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25788 resource/gnu/java/locale/LocaleInformation_hr.properties,
25789 resource/gnu/java/locale/LocaleInformation_hu.properties,
25790 resource/gnu/java/locale/LocaleInformation_id.properties,
25791 resource/gnu/java/locale/LocaleInformation_is.properties,
25792 resource/gnu/java/locale/LocaleInformation_it.properties,
25793 resource/gnu/java/locale/LocaleInformation_ja.properties,
25794 resource/gnu/java/locale/LocaleInformation_kk.properties,
25795 resource/gnu/java/locale/LocaleInformation_kl.properties,
25796 resource/gnu/java/locale/LocaleInformation_km.properties,
25797 resource/gnu/java/locale/LocaleInformation_ky.properties,
25798 resource/gnu/java/locale/LocaleInformation_lo.properties,
25799 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
25800 resource/gnu/java/locale/LocaleInformation_lt.properties,
25801 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
25802 resource/gnu/java/locale/LocaleInformation_lv.properties,
25803 resource/gnu/java/locale/LocaleInformation_mk.properties,
25804 resource/gnu/java/locale/LocaleInformation_mn.properties,
25805 resource/gnu/java/locale/LocaleInformation_mr.properties,
25806 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25807 resource/gnu/java/locale/LocaleInformation_ms.properties,
25808 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
25809 resource/gnu/java/locale/LocaleInformation_mt.properties,
25810 resource/gnu/java/locale/LocaleInformation_nb.properties,
25811 resource/gnu/java/locale/LocaleInformation_nl.properties,
25812 resource/gnu/java/locale/LocaleInformation_nn.properties,
25813 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
25814 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25815 resource/gnu/java/locale/LocaleInformation_pa.properties,
25816 resource/gnu/java/locale/LocaleInformation_pl.properties,
25817 resource/gnu/java/locale/LocaleInformation_pt.properties,
25818 resource/gnu/java/locale/LocaleInformation_ru.properties,
25819 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25820 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
25821 resource/gnu/java/locale/LocaleInformation_sa.properties,
25822 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25823 resource/gnu/java/locale/LocaleInformation_sk.properties,
25824 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
25825 resource/gnu/java/locale/LocaleInformation_sv.properties,
25826 resource/gnu/java/locale/LocaleInformation_sw.properties,
25827 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
25828 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25829 resource/gnu/java/locale/LocaleInformation_te.properties,
25830 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
25831 resource/gnu/java/locale/LocaleInformation_th.properties,
25832 resource/gnu/java/locale/LocaleInformation_ti.properties,
25833 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
25834 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
25835 resource/gnu/java/locale/LocaleInformation_tr.properties,
25836 resource/gnu/java/locale/LocaleInformation_tt.properties,
25837 resource/gnu/java/locale/LocaleInformation_uk.properties,
25838 resource/gnu/java/locale/LocaleInformation_ur.properties,
25839 resource/gnu/java/locale/LocaleInformation_uz.properties,
25840 resource/gnu/java/locale/LocaleInformation_zh.properties,
25841 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
25842 More updates for CLDR 1.3.
25843
25844 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
25845
25846 * doc/vmintegration.texinfo:
25847 Updated to include VMArray.
25848 * include/Makefile.am:
25849 Replace java_lang_reflect_Array.h with
25850 java_lang_reflect_VMArray.h
25851 * include/java_lang_reflect_VMArray.h:
25852 New autogenerated header.
25853 * include/java_lang_reflect_Array.h:
25854 Removed.
25855 * java/lang/reflect/Array.java:
25856 (newInstance(Class,int)): Calls VMArray.
25857 (createMultiArray(Class,int[],int)): Likewise.
25858 (createObjectArray(Class,int)): Removed.
25859 * native/jni/java-lang/Makefile.am:
25860 Replaced java_lang_reflect_Array.c with
25861 java_lang_reflect_VMArray.c
25862 * native/jni/java-lang/java_lang_reflect_VMArray.c:
25863 Renamed from java_lang_reflect_Array.c.
25864 * vm/reference/java/lang/reflect/VMArray.java:
25865 (createObjectArray(Class,int)): Native method moved
25866 from java.lang.reflect.Array.
25867
25868 2006-03-19 Roman Kennke <kennke@aicas.com>
25869
25870 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
25871 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
25872 New class.
25873 * examples/gnu/classpath/examples/swing/Demo.java
25874 (mkButtonBar): Hook up theme editor.
25875 (mkMenuBar): Hook up theme editor.
25876
25877 2006-03-19 Roman Kennke <kennke@aicas.com>
25878
25879 * javax/swing/plaf/basic/BasicFileChooserUI.java
25880 (ApproveSelectionAction.actionPerformed): Added case for when
25881 nothing has been selected but the user has typed a filename
25882 into the textfield.
25883 (getFileName): Return the value of the text field.
25884
25885 2006-03-19 Roman Kennke <kennke@aicas.com>
25886
25887 * javax/swing/JColorChooser.java
25888 (createDialog): Create JDialog instead of ModalDialog. Make this
25889 dialog modal by calling setModal(true).
25890 (ModalDialog): Removed unnecessary inner class.
25891
25892 2006-03-19 Tom Tromey <tromey@redhat.com>
25893
25894 * java/awt/font/NumericShaper.java: Rewrote.
25895
25896 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25897
25898 * javax/swing/plaf/basic/BasicTableUI.java:
25899 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
25900 New field. MouseInputHandler.mouseWheelMoved): New method.
25901 (installListeners): Register MouseInputHandler as
25902 wheel listener also.
25903
25904 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25905
25906 PR 26746
25907 * javax/swing/ViewportLayout.java (layoutContainer):
25908 If Scrollable tracks dimension, set view size to the port size.
25909 If port is larger than the view, move the view to the top/left.
25910
25911 2006-03-19 Roman Kennke <kennke@aicas.com>
25912
25913 * javax/swing/MenuSelectionManager.java
25914 (isComponentPartOfCurrentMenu): Also consider the first element
25915 in a menu selection list. Make a isDescendentFrom check instead
25916 of simple equals to also catch sub components.
25917
25918 2006-03-19 Roman Kennke <kennke@aicas.com>
25919
25920 * javax/swing/JComboBox.java
25921 (actionPerformed): Fetch selected item directly from the editor
25922 instead of trying to get it from the event.
25923
25924 2006-03-19 Roman Kennke <kennke@aicas.com>
25925
25926 * javax/swing/plaf/basic/BasicComboBoxEditor.java
25927 (listener): Removed field.
25928 (BasicComboBoxEditor): Removed initialization of listener field.
25929 (addActionListener): Add listener directly to editor.
25930 (removeActionListener): Remove listener directly from editor.
25931 (ComboBoxEditorListener): Removed class.
25932 * javax/swing/plaf/basic/BasicComboBoxUI.java
25933 (getPreferredSize): Fixed to return the minimumSize.
25934 (getMinimumSize): Improved code for more clearness.
25935 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
25936 (rectangleForCurrentValue): Correctly respect insets.
25937 (getDefaultSize): Return preferredSize here. Dont override height
25938 with 100.
25939 (getDisplaySize): Moved around code for more clearness. Added
25940 handling of prototype renderer.
25941 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
25942 arrowButton bounds since the former depends on the latter.
25943 * javax/swing/plaf/metal/MetalComboBoxButton.java:
25944 (MetalComboBoxButton): Make button rollover disabled.
25945 (isFocusTraversable): Return false unconditionally.
25946 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
25947 (EditorTextField): New class. Fixes the size properties.
25948 (MetalComboBoxEditor): Create instance of EditorTextField.
25949 * javax/swing/plaf/metal/MetalComboBoxUI.java:
25950 (getMinimumSize): Fixed editable size.
25951
25952 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25953
25954 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
25955
25956 2006-03-18 Roman Kennke <kennke@aicas.com>
25957
25958 * javax/swing/plaf/metal/MetalToolBarUI.java
25959 (update): Added overridden method to support OceanTheme.
25960
25961 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25962
25963 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
25964 Activate the cell editing on character keystroke.
25965
25966 2006-03-18 Mark Wielaard <mark@klomp.org>
25967
25968 * java/awt/Component.java (eventTypeEnabled): Handle
25969 MouseEvent.MOUSE_WHEEL.
25970 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
25971 New callback method.
25972 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25973 (AWT_MOUSE_WHEEL): New constant.
25974 (AWT_WHEEL_UNIT_SCROLL): Likewise.
25975 (postMouseWheelEventID): New static variable.
25976 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
25977 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
25978 (button_number): Renamed to ...
25979 (button_number_direction): variable to hold button number or scroll
25980 direction.
25981 (component_button_press_cb): Use button_number_direction.
25982 (component_scroll_cb): New static callback function.
25983
25984 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25985
25986 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
25987 Return without action.
25988
25989 2006-03-18 Mark Wielaard <mark@klomp.org>
25990
25991 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
25992 Don't cast graphics object to GdkGraphics.
25993 (updateComponent): Likewise.
25994
25995 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25996
25997 * examples/gnu/classpath/examples/swing/TableDemo.java
25998 (TModel.getColumnClass): Set second column to Icon.
25999 (TModel.isCellEditable): Say icons are not editable.
26000 (createContent): Fill the in second column with some icons from
26001 MetalIconFactory.
26002
26003 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26004
26005 * examples/gnu/classpath/examples/swing/Demo.java
26006 (mkButtonBar): Set maximal button bar height to the preferred height.
26007
26008 2006-03-18 Roman Kennke <kennke@aicas.com>
26009
26010 * javax/swing/plaf/basic/BasicComboPopup.java
26011 (show): Substract insets from scroller width.
26012 (getPopupHeightForRowCount): If height==0, return a default of 100
26013 instead for empty ComboBoxes.
26014
26015 2006-03-18 Roman Kennke <kennke@aicas.com>
26016
26017 * javax/swing/plaf/basic/BasicLookAndFeel.java
26018 (PopupHelper.autoClosePopups): Removed field.
26019 (PopupHelper.mousePressed): Removed processing of registered
26020 autoclose popups.
26021 (registerForAutoClose): Removed unneeded method.
26022 (autoClosePopups): Removed unneeded method.
26023 (registerForAutoClose): Removed unneeded method.
26024
26025 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26026
26027 * javax.swing.JTable.java (TableTextField): Set border.
26028 (moveToCellBeingEdited): Do not adjust the editor boundaries
26029
26030 2006-03-18 Michael Koch <konqueror@gmx.de>
26031
26032 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26033 resource/gnu/java/locale/LocaleInformation_af.properties,
26034 resource/gnu/java/locale/LocaleInformation_am.properties,
26035 resource/gnu/java/locale/LocaleInformation_ar.properties,
26036 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26037 resource/gnu/java/locale/LocaleInformation_be.properties,
26038 resource/gnu/java/locale/LocaleInformation_bg.properties,
26039 resource/gnu/java/locale/LocaleInformation_bn.properties,
26040 resource/gnu/java/locale/LocaleInformation_ca.properties,
26041 resource/gnu/java/locale/LocaleInformation_cs.properties,
26042 resource/gnu/java/locale/LocaleInformation_cy.properties,
26043 resource/gnu/java/locale/LocaleInformation_da.properties,
26044 resource/gnu/java/locale/LocaleInformation_de.properties,
26045 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26046 resource/gnu/java/locale/LocaleInformation_dz.properties,
26047 resource/gnu/java/locale/LocaleInformation_en.properties,
26048 resource/gnu/java/locale/LocaleInformation_eo.properties,
26049 resource/gnu/java/locale/LocaleInformation_es.properties,
26050 resource/gnu/java/locale/LocaleInformation_et.properties,
26051 resource/gnu/java/locale/LocaleInformation_eu.properties,
26052 resource/gnu/java/locale/LocaleInformation_fa.properties,
26053 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26054 resource/gnu/java/locale/LocaleInformation_fi.properties,
26055 resource/gnu/java/locale/LocaleInformation_fo.properties,
26056 resource/gnu/java/locale/LocaleInformation_fr.properties,
26057 resource/gnu/java/locale/LocaleInformation_ga.properties,
26058 resource/gnu/java/locale/LocaleInformation_gl.properties,
26059 resource/gnu/java/locale/LocaleInformation_gu.properties,
26060 resource/gnu/java/locale/LocaleInformation_he.properties,
26061 resource/gnu/java/locale/LocaleInformation_hi.properties,
26062 resource/gnu/java/locale/LocaleInformation_hr.properties,
26063 resource/gnu/java/locale/LocaleInformation_hu.properties,
26064 resource/gnu/java/locale/LocaleInformation_hy.properties,
26065 resource/gnu/java/locale/LocaleInformation_id.properties,
26066 resource/gnu/java/locale/LocaleInformation_is.properties,
26067 resource/gnu/java/locale/LocaleInformation_it.properties,
26068 resource/gnu/java/locale/LocaleInformation_ja.properties,
26069 resource/gnu/java/locale/LocaleInformation_ka.properties,
26070 resource/gnu/java/locale/LocaleInformation_km.properties,
26071 resource/gnu/java/locale/LocaleInformation_ko.properties,
26072 resource/gnu/java/locale/LocaleInformation_lo.properties,
26073 resource/gnu/java/locale/LocaleInformation_lt.properties,
26074 resource/gnu/java/locale/LocaleInformation_lv.properties,
26075 resource/gnu/java/locale/LocaleInformation_mk.properties,
26076 resource/gnu/java/locale/LocaleInformation_mr.properties,
26077 resource/gnu/java/locale/LocaleInformation_ms.properties,
26078 resource/gnu/java/locale/LocaleInformation_mt.properties,
26079 resource/gnu/java/locale/LocaleInformation_nb.properties,
26080 resource/gnu/java/locale/LocaleInformation_nl.properties,
26081 resource/gnu/java/locale/LocaleInformation_nn.properties,
26082 resource/gnu/java/locale/LocaleInformation_om.properties,
26083 resource/gnu/java/locale/LocaleInformation_pl.properties,
26084 resource/gnu/java/locale/LocaleInformation_ps.properties,
26085 resource/gnu/java/locale/LocaleInformation_pt.properties,
26086 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26087 resource/gnu/java/locale/LocaleInformation_ro.properties,
26088 resource/gnu/java/locale/LocaleInformation_ru.properties,
26089 resource/gnu/java/locale/LocaleInformation_sk.properties,
26090 resource/gnu/java/locale/LocaleInformation_sl.properties,
26091 resource/gnu/java/locale/LocaleInformation_so.properties,
26092 resource/gnu/java/locale/LocaleInformation_sq.properties,
26093 resource/gnu/java/locale/LocaleInformation_sr.properties,
26094 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26095 resource/gnu/java/locale/LocaleInformation_sv.properties,
26096 resource/gnu/java/locale/LocaleInformation_sw.properties,
26097 resource/gnu/java/locale/LocaleInformation_ta.properties,
26098 resource/gnu/java/locale/LocaleInformation_te.properties,
26099 resource/gnu/java/locale/LocaleInformation_th.properties,
26100 resource/gnu/java/locale/LocaleInformation_tr.properties,
26101 resource/gnu/java/locale/LocaleInformation_uk.properties,
26102 resource/gnu/java/locale/LocaleInformation_uz.properties,
26103 resource/gnu/java/locale/LocaleInformation_vi.properties,
26104 resource/gnu/java/locale/LocaleInformation_zh.properties,
26105 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26106 Updated to use the new localized strings for currencies, languages,
26107 variants, territories, etc.
26108
26109 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26110
26111 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26112 (start, end): Added comment about the negative values of them,
26113 (finish): Saves the input text in matchedCharIndexed,
26114 (toString): If the start or end index is out of bounds of the
26115 matched text, get the substring from matchedCharIndexed.
26116 Added special handlings in case start/end index < -1,
26117 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26118 Added special handlings in case start/end index < -1,
26119 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26120 found match, but keep the index as the original match.
26121 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26122 found match, but keep the index as the original match.
26123 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26124 in case start/end index < -1.
26125
26126 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26127
26128 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26129 Set to false.
26130
26131 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26132
26133 * javax/swing/text/DefaultCaret.java:
26134 (mouseClicked) Use setDot() and moveDot() instead of
26135 JTextComponent.select().
26136
26137 2006-03-17 Roman Kennke <kennke@aicas.com>
26138
26139 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26140 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26141 border painting for the Ocean theme.
26142 (MetalComboBoxEditor): Create editor directly instead of going
26143 to super.
26144
26145 2006-03-17 Roman Kennke <kennke@aicas.com>
26146
26147 * javax/swing/text/JTextComponent.java
26148 (JTextComponent): Make text components opaque.
26149
26150 2006-03-17 Roman Kennke <kennke@aicas.com>
26151
26152 * javax/swing/plaf/metal/MetalComboBoxUI.java
26153 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26154 layoutComboBox().
26155 (MetalPropertyChangeListener.propertyChange): Update focusable
26156 flag according to the enable and editable state.
26157 (editablePropertyChanged): Removed unnecessary code.
26158 (getMinimumSize): Rewritten to correctly compute the
26159 size, respecting the insets of the components and the icon,
26160 the visual properties of the combobox, etc.
26161 (configureEditor): Update listeners correctly.
26162 (unconfigureEditor): Update listeners correctly.
26163 (layoutComboBox): Implemented.
26164
26165 2006-03-17 Roman Kennke <kennke@aicas.com>
26166
26167 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26168 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26169 instead of Flush3DBorder.
26170 (paintBorder): Fixed border painting.
26171 (editorBorderInsets): Fixed border's insets.
26172
26173 2006-03-17 Roman Kennke <kennke@aicas.com>
26174
26175 * javax/swing/plaf/metal/MetalComboBoxButton.java
26176 (rendererPane): Documented.
26177 (MetalComboBoxButton): Set enabled flag from ComboBox.
26178 Set focusable flag from ComboBox's enabled flag.
26179 (isFocusTraversable): Make button focus traversable if
26180 ComboBox is not editable but enable.
26181 (paintComponent): Fixed painting to correctly adjust
26182 the boxes of the renderer and button.
26183
26184 2006-03-17 Roman Kennke <kennke@aicas.com>
26185
26186 * javax/swing/plaf/basic/BasicButtonUI.java
26187 (installDefaults): Only install UI margin if installed margin.
26188 is null or a UIResource.
26189 (uninstallDefaults): Only uninstall margin if it's
26190 a UIResource.
26191
26192 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26193
26194 * javax/swing/text/DefaultCaret.java:
26195 (mouseClicked) Use setDot() and moveDot() instead of
26196 JTextComponent.select().
26197
26198 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26199
26200 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26201 inner classes into package-private inner classes, added actions
26202 for caret movement and selection to the next and previous word
26203 and an action which selects the whole text.
26204
26205 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26206
26207 * javax/swing/Spring.java: Uncomment springdebug methods and
26208 rename them toString.
26209 * javax/swing/SpringLayout.java: Likewise.
26210
26211 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26212
26213 * javax/swing/text/FieldView.java:
26214 (viewToModel): Added call to adjust allocation area.
26215
26216 2006-03-17 Roman Kennke <kennke@aicas.com>
26217
26218 * javax/swing/plaf/basic/BasicComboBoxUI.java
26219 (mouseListener): Removed field.
26220 (buttonBackground): Removed field.
26221 (buttonShadow): Removed field.
26222 (buttonDarkShadow): Removed field.
26223 (buttonHighlight): Removed field.
26224 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26225 (installUI): Initialize and configure renderer and editor here.
26226 (uninstallUI): Close popup before uninitializing.
26227 Message popup that we are uninitializing. Clear layout.
26228 (installDefaults): Install UI border. Don't install colors.
26229 (installListeners): Install listeners fetched from the popup.
26230 Remove handling of mouseListener.
26231 (uninstallDefaults): Uninstall border. Don't handle colors.
26232 (uninstallListeners): Don't handle mouseListener. Uninstall
26233 listener from the popup.
26234 (createMouseListener): Removed method.
26235 (createRenderer): Create UIResource.
26236 (installComponents): Cleaned up.
26237 (uninstallComponents): Only remove renderer when it is
26238 a UIResource.
26239 (addEditor): Remove editor before adding new one.
26240 Fetch editor from comboBox.
26241 (removeEditor): Only do something when editor != null. Unconfigure
26242 editor before removing.
26243 (configureEditor): Add key listener. Call comboBox.configureEditor.
26244 (unconfigureEditor): Removed key listener.
26245 (configureArrowButton): Only handle when arrowButton != null.
26246 Add mouse listeners to arrow button.
26247 (unconfigureArrowButton): Remove listeners.
26248 (createArrowButton): Don't handle colors here.
26249 (setPopupVisible): Don't handle focus here.
26250 (paint): Only paint when comboBox is not editable. Update
26251 hasFocus flag.
26252 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26253 (getMinimumSize): Respect insets here.
26254 (getMaximumSize): Return preferredSize with width of 32767.
26255 (getInsets): Return ComboBox insets.
26256 (paintCurrentValue): Paint using currentValuePane.
26257 Install correct colors. Don't revalidate.
26258 (paintCurrentValueBackground): Implemented.
26259 (getDefaultSize): Reimplemented using a default renderer.
26260 (getDisplaySize): Reimplemented to use renderer.
26261 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26262 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26263 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26264 (FocusHandler.focusGained): Don't invalidate minimumSize.
26265 (FocusHandler.focusLost): Don't invalidate minimumSize.
26266 Only close popup if focus change is not temporary.
26267 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26268 Reconfigure editor if not null.
26269 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26270 editor if necessary.
26271 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26272 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26273 (MouseHandler): Removed unnecessary class.
26274
26275 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26276
26277 * examples/gnu/classpath/examples/swing/Demo.java:
26278 (Demo): Set default closing operation to shutdown the runtime.
26279
26280 2006-03-17 Roman Kennke <kennke@aicas.com>
26281
26282 * javax/swing/plaf/basic/BasicComboPopup.java
26283 (BasicComboPopup): Create listeners here.
26284 Configure components here.
26285 (show): Correctly calculate bounds using computePopupBounds().
26286 Make scroller fixed-size. Removed special autocloser handling.
26287 (hide): Rewritten to use MenuSelectionHandler.
26288 (createList): Don't set selection mode here.
26289 (configureList): Correctly install colors and fonts and selectionMode.
26290 (createScroller): Set scrollpane policies.
26291 (configureScroller): Make scroller and scrollbar not-focusable.
26292 (configurePopup): Make popup opaque and borderPainted.
26293 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26294 (delegateFocus): Implemented.
26295 (convertMouseEvent): Implemented.
26296 (updateListBoxSelectionForEvent): Implemented to also handle
26297 autoscrolling.
26298 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26299 Only open popup on left mouse-click.
26300 (InvocationMouseHandler.mouseReleased): Rewritten.
26301 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26302 support autoscrolling.
26303 (ItemHandler.itemStateChanged): Implemented to sync selection with
26304 the comboBox.
26305 (ListMouseHandler.mouseReleased): Fetch selected index directly
26306 from list.
26307 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26308 the list box.
26309 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26310 When model changes, then update listeners correctly.
26311 (uninstallListeners): Don't uninstall list listeners.
26312 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26313 from comboBox.
26314 (syncSelection): New helper method.
26315
26316 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26317
26318 * javax/swing/text/PlainView.java:
26319 (drawLine): Rewritten.
26320 (drawSelectedText): Corrected last argument for
26321 Utilities.drawTabbedText() call.
26322 (paint): Store start and end of selection in object variables,
26323 store constant values of for-loop in local variables.
26324 * javax/swing/text/Utilities.java:
26325 (drawTabbedText): Add 'pixelWidth' to the return value, store
26326 constant value of for-loop in local variable.
26327
26328 2006-03-17 Roman Kennke <kennke@aicas.com>
26329
26330 * javax/swing/plaf/basic/BasicComboPopup.java
26331 (BasicComboPopup): Create listeners here.
26332 Configure components here.
26333 (show): Correctly calculate bounds using computePopupBounds().
26334 Make scroller fixed-size. Removed special autocloser handling.
26335 (hide): Rewritten to use MenuSelectionHandler.
26336 (createList): Don't set selection mode here.
26337 (configureList): Correctly install colors and fonts and selectionMode.
26338 (createScroller): Set scrollpane policies.
26339 (configureScroller): Make scroller and scrollbar not-focusable.
26340 (configurePopup): Make popup opaque and borderPainted.
26341 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26342 (delegateFocus): Implemented.
26343 (convertMouseEvent): Implemented.
26344 (updateListBoxSelectionForEvent): Implemented to also handle
26345 autoscrolling.
26346 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26347 Only open popup on left mouse-click.
26348 (InvocationMouseHandler.mouseReleased): Rewritten.
26349 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26350 support autoscrolling.
26351 (ItemHandler.itemStateChanged): Implemented to sync selection with
26352 the comboBox.
26353 (ListMouseHandler.mouseReleased): Fetch selected index directly
26354 from list.
26355 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26356 the list box.
26357 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26358 When model changes, then update listeners correctly.
26359 (uninstallListeners): Don't uninstall list listeners.
26360 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26361 from comboBox.
26362 (syncSelection): New helper method.
26363
26364 2006-03-17 Roman Kennke <kennke@aicas.com>
26365
26366 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26367 (noFocusBorder): Make border with insets of (1,1,1,1).
26368 (BasicComboBoxRenderer): Make renderer opaque.
26369 No need to explicitly set alignment.
26370 (getListCellRendererComponent): Rewritten to correctly initialize
26371 color and font.
26372
26373 2006-03-17 Roman Kennke <kennke@aicas.com>
26374
26375 * javax/swing/JPopupMenu.java
26376 (setVisible): Handle JPopupMenu opening and closing via
26377 the MenuSelectionHandler.
26378
26379 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26380
26381 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26382 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26383 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26384 Likewise.
26385 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26386 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26387 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26388 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26389 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26390 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26391 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26392 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26393 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26394 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26395
26396 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26397
26398 * java/rmi/activation/Activatable.java: Implemented.
26399 java/rmi/activation/ActivationDesc.java: Implemented.
26400 java/rmi/activation/ActivationGroup.java: Implemented.
26401 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26402 java/rmi/activation/ActivationID.java: Implemented.
26403 java/rmi/activation/ActivationSystem.java: Implemented.
26404 * gnu/java/rmi/server/UnicastServerRef.java
26405 (exportObject, incommingMessageCall): Documented.
26406 * java/rmi/activation/package.html: Documented.
26407 * java/rmi/server/ObjID.java (objNum, space): Made package
26408 protected.
26409 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26410 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26411 Iteration bug fix.
26412 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26413 gnu/java/rmi/activation/BidiTable.java: New file.
26414 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26415 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26416 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26417
26418 2006-03-17 Mark Wielaard <mark@klomp.org>
26419
26420 * java/security/BasicPermission.java (BasicPermission): Check
26421 name equals empty string to force NullPointerException.
26422
26423 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26424
26425 PR classpath/26606
26426 Commit patch by Caolan McNamara <caolanm@redhat.com>
26427 * javax/swing/Spring.java: Complete implementation
26428 * javax/swing/SpringLayout.java: Likewise.
26429
26430 2006-03-16 Keith Seitz <keiths@redhat.com>
26431
26432 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26433 all references.
26434 (run): Remove catch clause for InterruptedException. It is no
26435 longer necessary.
26436
26437 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26438
26439 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26440 (getFontMetrics): Handle monospaced fonts specially.
26441
26442 2006-03-16 Keith Seitz <keiths@redhat.com>
26443
26444 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26445 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26446 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26447 Don't suspend the current thread unless it is not part of the JDWP
26448 thread group.
26449
26450 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26451
26452 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26453 return 0.
26454 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26455 font metrics through toolkit.
26456 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26457 Likewise.
26458 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26459 (getFontMetrics): To calculate Java logical ascent and descent
26460 values, average Pango ink and logical values.
26461
26462 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26463
26464 * java/lang/Character.java: Updated header comment.
26465
26466 2006-03-16 Tom Tromey <tromey@redhat.com>
26467
26468 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26469 constructor.
26470 * javax/sound/sampled/FloatControl.java: Now abstract.
26471 * javax/sound/sampled/EnumControl.java: Now abstract.
26472 * javax/sound/sampled/CompoundControl.java: Now abstract.
26473 * javax/sound/sampled/BooleanControl.java: Now abstract.
26474
26475 2006-03-16 Tom Tromey <tromey@redhat.com>
26476
26477 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26478
26479 2006-03-16 Roman Kennke <kennke@aicas.com>
26480
26481 * java/util/zip/ZipFile.java
26482 (openFile): New helper method.
26483 (ZipFile): Use new openFile method to ensure the proper
26484 exception is thrown. This applies for all overloaded constructors.
26485
26486 2006-03-16 Roman Kennke <kennke@aicas.com>
26487
26488 * java/text/DateFormatSymbols.java
26489 (setAmPmStrings): Added null check and throw NPE.
26490 (setEras): Likewise.
26491 (setLocalPatternChars): Likewise.
26492 (setMonths): Likewise.
26493 (setShortMonths): Likewise.
26494 (setShortWeekdays): Likewise.
26495 (setWeekdays): Likewise.
26496 (setZoneStrings): Likewise.
26497
26498 2006-03-16 Roman Kennke <kennke@aicas.com>
26499
26500 * javax/swing/DefaultDesktopManager.java
26501 (iconifyFrame): Repaint after removing the frame.
26502 (removeIconFor): Repaint after removing the icon.
26503
26504 2006-03-16 Roman Kennke <kennke@aicas.com>
26505
26506 * javax/swing/JInternalFrame.java
26507 (remove): Respect the rootPaneCheckingEnabled flag here.
26508
26509 2006-03-16 Roman Kennke <kennke@aicas.com>
26510
26511 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26512 Moved from examples into gnu.javax.swing.. namespace.
26513 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26514 Moved to gnu.javax.swing.. namespace.
26515 * examples/gnu/classpath/examples/swing/Demo.java:
26516 (themesMenu): New field. Used to disable theme switch in
26517 non-Metal-L&Fs.
26518 (mkMenuBar): Added L&F menu.
26519 (ChangeThemeAction.actionPerformed): Only switch theme when
26520 in Metal L&F.
26521 (ChangeLAFAction): New class used for changing themes.
26522 * javax/swing/UIManager.java
26523 (installed): Added GNU L&F as installed L&F.
26524
26525 2006-03-16 Mark Wielaard <mark@klomp.org>
26526
26527 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26528 * examples/gnu/classpath/examples/icons/badge.png: Added.
26529 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26530 from icon directory.
26531
26532 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26533
26534 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26535 example.
26536 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26537 * examples/gnu/classpath/examples/awt/Demo.java: Add
26538 AnimationApplet demo.
26539 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26540 demo.
26541
26542 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26543
26544 PR classpath/26486
26545 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26546 method.
26547 (handleEvent): Likewise.
26548 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26549 Remove field.
26550 (beginNativeRepaint): Remove method.
26551 (endNativeRepaint): Likewise.
26552 (handleEvent): Call paintComponent and updateComponent.
26553 (paintComponent): New method.
26554 (updateComponent): Likewise.
26555 (repaint): Return early if width or height is less than one.
26556 (postExposeEvent): Remove isInRepaint reference.
26557 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26558 Remove method.
26559 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26560 from GtkWindowPeer.
26561 (postMouseEvent): Likewise.
26562 (postExposeEvent): Likewise.
26563 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26564 Override to do nothing.
26565 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26566 from GtkWindowPeer.
26567 (postMouseEvent): Likewise.
26568 (postExposeEvent): Likewise.
26569 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26570 paint and update handling from GtkComponentPeer.
26571 (updateComponent): Override to call paintComponent.
26572 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26573 gdk_flush calls with schedule_flush calls.
26574 (flush): New function.
26575 (schedule_flush): Likewise.
26576
26577 2006-03-15 Tom Tromey <tromey@redhat.com>
26578
26579 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26580 constructor.
26581 (BCSIterator): Likewise.
26582 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26583 New constructor.
26584 (BCSSProxyServiceProvider): Likewise.
26585 (BCSSServiceProvider): Likewise.
26586
26587 2006-03-15 Tom Tromey <tromey@redhat.com>
26588
26589 * javax/sound/midi/Track.java (Track): New constructor.
26590 (events): Now package-private.
26591 * javax/sound/midi/MidiUnavailableException.java
26592 (MidiUnavailableException): Removed invalid constructors.
26593 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26594 * javax/sound/midi/InvalidMidiDataException.java
26595 (InvalidMidiDataException): Removed invalid constructors.
26596 * javax/sound/midi/Sequencer.java (hashCode): Now final.
26597 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26598 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26599 (SYSTEM_EXCLUSIVE): Removed.
26600 (getDataLength): Updated.
26601 * javax/sound/midi/MidiDevice.java (Info): Now protected.
26602 (equals): Now final
26603 (getName): Now final.
26604 (getVendor): Now final.
26605 (getDescription): Likewise.
26606 (hashCode): Likewise.
26607 (getVersion): Likewise.
26608 (toString): Likewise.
26609 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26610 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26611 (getEarlyReflectionDelay): Likewise.
26612 (getEarlyReflectionIntensity): Likewise.
26613 (getLateReflectionDelay): Likewise.
26614 (getLateReflectionIntensity): Likewise.
26615 (toString): Likewise.
26616 * javax/sound/sampled/Port.java (toString): Now final.
26617 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26618 (getLine): Likewise.
26619 (getType): Likewise.
26620 * javax/sound/sampled/Mixer.java (Info): Now protected.
26621 (getDescription): Now final.
26622 (getName): Likewise.
26623 (getVendor): Likewise.
26624 (getVersion): Likewise.
26625 (toString): Likewise.
26626 * javax/sound/sampled/Control.java: Now abstract.
26627 (Type.toString): Now final.
26628
26629 2006-03-15 Keith Seitz <keiths@redhat.com>
26630
26631 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
26632 of this redundant variable.
26633 (LineTable): Assert that the number of line numbers and the number of
26634 code indicies is the same.
26635
26636 2006-03-15 Tom Tromey <tromey@redhat.com>
26637
26638 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
26639 final.
26640 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
26641 fix.
26642 * java/util/zip/ZipFile.java (ENDNRD): New constant.
26643 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
26644 * java/util/zip/Inflater.java (end): Not deprecated.
26645 * java/util/zip/Deflater.java (end): Not deprecated.
26646 * java/text/Bidi.java (Bidi): Now final.
26647 * java/nio/MappedByteBuffer.java (finalize): Now protected.
26648
26649 2006-03-15 Keith Seitz <keiths@redhat.com>
26650
26651 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
26652 (Location): Index is a long, not an int.
26653 (getMethod): New method.
26654 (getIndex): New method.
26655 (toString): New method.
26656
26657 2006-03-15 Tom Tromey <tromey@redhat.com>
26658
26659 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
26660 * java/awt/image/LookupOp.java (filter): Now final.
26661 (getBounds2D): Likewise.
26662 (getPoint2D): Likewise.
26663 (getTable): Likewise.
26664 (getRenderingHints): Likewise.
26665 * java/awt/image/ConvolveOp.java (filter): Now final.
26666 (getBounds2D): Likewise.
26667 (getKernel): Likewise.
26668 (getPoint2D): Likewise.
26669 (getRenderingHints): Likewise.
26670 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
26671 (getMatrix): Likewise.
26672 (getBounds2D): Likewise.
26673 (getRenderingHints): Likewise.
26674 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
26675 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
26676 private.
26677 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
26678 protected.
26679 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
26680 protected.
26681 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
26682
26683 2006-03-15 Keith Seitz <keiths@redhat.com>
26684
26685 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
26686 Update javadoc.
26687 (matches): Implement.
26688
26689 2006-03-15 Keith Seitz <keiths@redhat.com>
26690
26691 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
26692
26693 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
26694
26695 2006-03-15 Tom Tromey <tromey@redhat.com>
26696
26697 * java/lang/StrictMath.java (signum): New methods.
26698
26699 2006-03-15 Tom Tromey <tromey@redhat.com>
26700
26701 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
26702
26703 2006-03-15 Lillian Angel <langel@redhat.com>
26704
26705 PR classpath/24211
26706 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
26707 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
26708 Added check to avoid segmentation fault.
26709
26710 2006-03-15 Lillian Angel <langel@redhat.com>
26711
26712 * java/awt/Container.java
26713 (getComponentAt): Fixed documentation.
26714 (getComponentAt): Likewise.
26715
26716 2006-03-15 Roman Kennke <kennke@aicas.com>
26717
26718 * javax/swing/JComponent.java
26719 (dragBuffer): New field.
26720 (dragBufferInitialized): New field.
26721 (paint): Added facility for buffered dragging of components.
26722 (initializeDragBuffer): New method.
26723 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
26724 API docs.
26725 * javax/swing/plaf/basic/BasicInternalFrameUI.java
26726 (BorderListener.mouseDragged): Turn on buffered dragging.
26727 (BorderListener.mouseReleased): Turn off buffered dragging.
26728
26729 2006-03-15 Lillian Angel <langel@redhat.com>
26730
26731 * java/awt/Container.java
26732 (getComponentAt): Fixed documentation.
26733 (getComponentAt): Likewise.
26734 (findComponentAt): Likewise.
26735 (findComponentAt): Likewise.
26736
26737 2006-03-15 Roman Kennke <kennke@aicas.com>
26738
26739 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
26740 (PropertyChangeHandler.propertyChange): Call enableActions().
26741 Fixed 'iconable' property name.
26742
26743 2006-03-15 Chris Burdess <dog@gnu.org>
26744
26745 Fixes PR 26700
26746 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
26747
26748 2006-03-15 Roman Kennke <kennke@aicas.com>
26749
26750 * examples/gnu/classpath/examples/swing/Demo.java:
26751 (desktop): New field.
26752 (mkMenuBar): Added new subdemos.
26753 (mkButtonWorld): Removed.
26754 (CheckCellRenderer): Moved to ListDemo.
26755 (LabelCellRenderer): Moved to ListDemo.
26756 (mkTreeWorld): Moved to TreeDemo.
26757 (mkDesktopWorld): Removed.
26758 (mkTabWorld): Moved to TabbedPaneDemo.
26759 (mkTabbedPane): Removed.
26760 (Demo): Replaced 'worlds' tabbed pane with desktop.
26761 (PopupAction): Made class non-static.
26762 (PopupAction.actionPerformed): Bring up subdemos in internal
26763 frame.
26764 (mkButtonBar): Added new demos.
26765 (createDesktop): New method.
26766 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
26767 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
26768 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
26769 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
26770 * examples/gnu/classpath/examples/swing/badge.png: New image file.
26771
26772 2006-03-15 Lillian Angel <langel@redhat.com>
26773
26774 * java/awt/Container.java
26775 (getComponentAt): Fixed mistake in comments.
26776 (getComponentAt): Likewise.
26777 (locate): Likewise. Also, handled lightweight components.
26778 Heavyweights take precedence over lightweights, so we should
26779 iterate through the heavyweights first.
26780
26781 2006-03-15 Lillian Angel <langel@redhat.com>
26782
26783 * java/awt/Container.java
26784 (getComponentAt): Added API documentation.
26785 (getComponentAt): Likewise.
26786 (locate): Likewise. Also, removed lines to ignore
26787 invisible components.
26788 (findComponentAt): Added API documentation.
26789 (findComponentAt): Added API documentation.
26790 (findComponentForMouseEvent): Removed, never used.
26791
26792 2006-03-15 Roman Kennke <kennke@aicas.com>
26793
26794 * javax/swing/Popup.java
26795 (LightweightPopup.show): Repaint the panel after showing it.
26796
26797 2006-03-15 Lillian Angel <langel@redhat.com>
26798
26799 * java/awt/Component.java
26800 (show): repaint should only be called if the component
26801 isShowing and isLightweight.
26802
26803 2006-03-15 Roman Kennke <kennke@aicas.com>
26804
26805 * javax/swing/JInternalFrame.java
26806 (setClosable): Made this property bound.
26807 (setResizable): Made this property bound.
26808 (setIconifiable): Made this property bound.
26809 (setMaximizable): Made this property bound.
26810
26811 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26812
26813 * javax/swing/table/TableColumn.java
26814 (sizeWidthToFit): Implemented.
26815
26816 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26817
26818 * javax/swing/table/TableColumn.java: API docs updated all over, plus
26819 (setIdentifier): Fire required PropertyChangeEvent,
26820 (setCellEditor): Likewise.
26821
26822 2006-03-15 Roman Kennke <kennke@aicas.com>
26823
26824 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
26825 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
26826 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
26827 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
26828 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
26829 * examples/gnu/classpath/examples/swing/SliderDemo.java,
26830 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
26831 * examples/gnu/classpath/examples/swing/TableDemo.java,
26832 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
26833 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
26834 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
26835 * examples/gnu/classpath/examples/swing/Demo.java:
26836 Cleaned up. Reworked handling of Sub-demos to load lazily.
26837 * examples/gnu/classpath/examples/swing/DemoFactory.java:
26838 New interface. Used for loading the subdemos lazily.
26839
26840 2006-03-15 Roman Kennke <kennke@aicas.com>
26841
26842 * javax/swing/plaf/basic/BasicToolBarUI.java
26843 (PropertyListener.propertyChange): Added null check to avoid NPE.
26844
26845 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26846
26847 * javax/swing/table/TableColumn.java
26848 (COLUMN_WIDTH_PROPERTY): Updated API docs,
26849 (width): Likewise.
26850 (minWidth): Likewise,
26851 (preferredWidth): Likewise,
26852 (maxWidth): Likewise,
26853 (headerRenderer): Likewise,
26854 (cellRenderer): Likewise,
26855 (cellEditor): Likewise,
26856 (changeSupport): Likewise,
26857 (firePropertyChange(String, Object, Object)): Removed,
26858 (firePropertyChange(String, int. int)): Likewise,
26859 (firePropertyChange(String, boolean, boolean)): Likewise,
26860 (setModelIndex): Fire property change,
26861 (setHeaderValue): Call changeSupport directly to generate event,
26862 (setHeaderRenderer): Likewise,
26863 (setCellRenderer): Likewise,
26864 (setWidth): Likewise,
26865 (setPreferredWidth): Likewise,
26866 (setMinWidth): Likewise,
26867 (setMaxWidth): Likewise,
26868 (createDefaultHeaderRenderer): Added API docs.
26869
26870 2006-03-14 Roman Kennke <kennke@aicas.com>
26871
26872 * examples/gnu/classpath/examples/swing/Demo.java
26873 Removed static initializer.
26874 (mkMenuBar): Made method non-static. Added themes menu.
26875 (ChangeThemeAction): New inner class, used to change themes.
26876
26877 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26878
26879 * javax/swing/table/TableColumn.java
26880 (setMaxWidth): Updated width and preferredWidth if necessary,
26881 (getMaxWidth): Updated API docs.
26882
26883 2006-03-14 Roman Kennke <kennke@aicas.com>
26884
26885 * javax/swing/plaf/basic/BasicSliderUI.java
26886 (TrackListener.mouseDragged): Only process event when slider is
26887 enabled.
26888 (TrackListener.mouseReleased): Only process event when slider is
26889 enabled.
26890 (TrackListener.mousePressed): Only process event when slider is
26891 enabled.
26892
26893 2006-03-14 Roman Kennke <kennke@aicas.com>
26894
26895 * NEWS: Added note about OceanTheme support.
26896
26897 2006-03-14 Roman Kennke <kennke@aicas.com>
26898
26899 * javax/swing/plaf/metal/MetalIconFactory.java
26900 (HorizontalSliderThumbIcon.gradientMask): New field
26901 (HorizontalSliderThumbIcon.paintIcon): Added support for the
26902 OceanTheme.
26903 (VerticalSliderThumbIcon.gradientMask): New field
26904 (VerticalSliderThumbIcon.paintIcon): Added support for the
26905 OceanTheme.
26906 * javax/swing/plaf/metal/MetalUtils.java
26907 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
26908 (paintVerticalGradient): Fixed painting of 'masked' gradients.
26909
26910 2006-03-14 Mark Wielaard <mark@klomp.org>
26911
26912 Fixes bug #26641
26913 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
26914 of handleMouseEvent.
26915 (handleMouseEvent): Return boolean to indicate whether we handled the
26916 event by passing it to a lightweight.
26917
26918 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
26919
26920 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
26921 * org/omg/PortableServer/ServantActivatorPOA.java,
26922 * org/omg/PortableServer/ServantLocatorPOA.java:
26923 Make class abstract and minor api docs fixlets.
26924 * org/omg/PortableServer/ForwardRequest.java,
26925 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
26926 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
26927 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
26928 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
26929 * org/omg/PortableServer/POAPackage/NoServant.java,
26930 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
26931 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
26932 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
26933 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
26934 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
26935 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
26936 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
26937 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
26938 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
26939 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
26940
26941 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
26942
26943 * NEWS: Added entry about printing support.
26944
26945 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26946
26947 * javax/swing/table/TableColumn.java
26948 (COLUMN_WIDTH_PROPERTY): Updated API docs,
26949 (isResizable): Likewise,
26950 (setWidth): Likewise,
26951 (getWidth): Likewise,
26952 (setPreferredWidth): Likewise,
26953 (getPreferredWidth): Likewise,
26954 (setMinWidth): Check for negative argument and update width and
26955 preferredWidth if necessary,
26956 (getMinWidth): Updated API docs.
26957
26958 2006-03-14 Lillian Angel <langel@redhat.com>
26959
26960 * java/awt/Container.java
26961 (addImpl): Removed call to repaint. No need to repaint here.
26962
26963 2006-03-14 Roman Kennke <kennke@aicas.com>
26964
26965 * javax/swing/plaf/metal/MetalSliderUI.java
26966 (paintTrack): Added OceanTheme support.
26967
26968 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26969
26970 * javax/swing/table/TableColumn.java
26971 (setResizable): Fire PropertyChangeEvent if the flag value changes,
26972 (isResizable): Updated API docs.
26973
26974 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26975
26976 * javax/swing/LookAndFeel.java: Updated API docs.
26977
26978 2006-03-14 Roman Kennke <kennke@aicas.com>
26979
26980 * javax/swing/plaf/metal/MetalUtils.java
26981 (paintGradient): Added support for 'masked' gradients.
26982 (paintHorizontalGradient): Likewise.
26983 (paintVerticalGradient): Likewise.
26984 * javax/swing/plaf/metal/MetalIconFactory.java
26985 (RadioButtonIcon.gradientMask): New field.
26986 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
26987
26988 2006-03-14 Mark Wielaard <mark@klomp.org>
26989
26990 Fixes bug #26645.
26991 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
26992 New field.
26993 (removeActionListener): Add listener to ComboBoxEditorListener.
26994 (removeActionListener): Remove listener from ComboBoxEditorListener.
26995 (ComboBoxEditorListener): New static helper class.
26996
26997 2006-03-14 Roman Kennke <kennke@aicas.com>
26998
26999 * javax/swing/plaf/metal/MetalBorders.java
27000 (getToolBarButtonBorder): Don't create a UIResource border
27001 here.
27002 * javax/swing/plaf/metal/MetalToolBarUI.java
27003 (installUI): New overridden method. Installs the rollover property.
27004 (uninstallUI): New overridden method. Resets the rollover property.
27005 * javax/swing/plaf/metal/MetalUtils.java
27006 (paintGradient): Fetch Float values from the UIManager. Adjusted
27007 method signatures accordingly.
27008 (paintHorizontalGradient): Adjusted signature to accept float
27009 instead of double.
27010 (paintVerticalGradient): Adjusted signature to accept float
27011 instead of double.
27012 * javax/swing/plaf/metal/OceanTheme.java
27013 (addCustomEntriesToTable): Added missing UIDefaults entries,
27014 except of Icons. Fixed gradient entries to use Float instead
27015 of Double.
27016
27017 2006-03-14 Roman Kennke <kennke@aicas.com>
27018
27019 * javax/swing/JInternalFrame.java
27020 (JInternalFrame): Make JInternalFrame opaque.
27021 * javax/swing/JToolBarFrame.java
27022 (JToolBar): Make JToolBar opaque.
27023
27024 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27025
27026 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27027 * javax/swing/tree/TreePath.java: Likewise.
27028
27029 2006-03-13 Tom Tromey <tromey@redhat.com>
27030
27031 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27032 Genericized.
27033 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27034 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27035
27036 2006-03-13 Keith Seitz <keiths@redhat.com>
27037
27038 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27039 (executeMethods): Output number of methods.
27040
27041 2006-03-13 Roman Kennke <kennke@aicas.com>
27042
27043 * javax/swing/plaf/basic/BasicButtonUI.java
27044 (uninstallDefaults): Only uninstall border if it's a UIResource.
27045 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27046 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27047 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27048 (installUI): Don't touch the opaque flag of the glassPane and
27049 the frame. Don't invalidate.
27050 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27051 (installUI): Don't touch the opaque flag of the glassPane.
27052 * javax/swing/plaf/basic/BasicMenuBarUI.java
27053 (properyChangeListener): Made field private.
27054 (ChangeHandler): Made class private.
27055 (ContainerHandler): Made class private.
27056 (PropertyChangeHandler): Made class private.
27057 * javax/swing/plaf/basic/BasicMenuUI.java
27058 (MenuHandler): Made class private.
27059 (PropertyChangeHandler): Removed unneeded class.
27060 (MenuDragMouseHandler): Made class private.
27061 (MenuKeyHandler): Made class private.
27062 * javax/swing/plaf/basic/BasicPanelUI.java
27063 (installDefaults): Made method protected. Don't set opaque
27064 flag.
27065 * javax/swing/plaf/basic/BasicScrollBarUI.java
27066 (TrackListener.shouldScroll): Made method private.
27067 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27068 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27069 Made constructor package private.
27070 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27071 (cellBorder): Made field private.
27072 * javax/swing/plaf/basic/BasicTextUI.java
27073 (installDefaults): Don't make component opaque.
27074 * javax/swing/plaf/basic/BasicToolBarUI.java
27075 (createNonRollOverBorder): Don't create UIResource border.
27076 (createRollOverBorder): Don't create UIResource border.
27077 (installComponents): Moved setRolloverBorders call here.
27078 (installDefaults): Moved setRolloverBorders call from here.
27079 (installUI): Don't make toolbar opaque.
27080 (setBorderToNonRollover): Handle AbstractButton instead of
27081 JButton here.
27082 (uninstallComponents): Don't nullify class fields here.
27083
27084 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27085
27086 * javax/swing/SwingUtilities.java
27087 (calculateInnerArea): handle null component, and replace
27088 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27089 creation.
27090
27091 2006-03-13 Roman Kennke <kennke@aicas.com>
27092
27093 * javax/swing/JColorChooser.java
27094 (updateUI): Don't call revalidate().
27095 * javax/swing/JComboBox.java
27096 (updateUI): Don't call invalidate().
27097 * javax/swing/JDesktopPane.java
27098 (updateUI): Don't call invalidate().
27099 * javax/swing/JFileChooser.java
27100 (updateUI): Don't call revalidate().
27101 * javax/swing/JMenu.java
27102 (updateUI): Don't call invalidate().
27103 * javax/swing/JMenuBar.java
27104 (updateUI): Don't call invalidate().
27105 * javax/swing/JMenuItem.java
27106 (updateUI): Don't call invalidate().
27107 * javax/swing/JOptionPane.java
27108 (updateUI): Don't call invalidate().
27109 * javax/swing/JPopupMenu.java
27110 (updateUI): Don't call invalidate().
27111 * javax/swing/JProgressBar.java
27112 (updateUI): Don't call invalidate().
27113 * javax/swing/JScrollBar.java
27114 (updateUI): Don't call invalidate() and repaint().
27115 * javax/swing/JScrollPane.java
27116 (updateUI): Rewritten to be like the other updateUI()
27117 methods.
27118 * javax/swing/JSlider.java
27119 (updateUI): Don't call invalidate() and repaint().
27120 * javax/swing/JSplitPane.java
27121 (updateUI): Don't call invalidate() and repaint().
27122 * javax/swing/JTabbedPane.java
27123 (updateUI): Don't call invalidate().
27124 * javax/swing/JTable.java
27125 (updateUI): Don't call revalidate() and repaint().
27126 * javax/swing/JToolBar.java
27127 (updateUI): Don't call revalidate() and repaint().
27128 * javax/swing/JToolTip.java
27129 (updateUI): Don't call revalidate() and repaint().
27130
27131 2006-03-13 Roman Kennke <kennke@aicas.com>
27132
27133 * javax/swing/SwingUtilities.java
27134 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27135 menus and non-Swing components is improved.
27136 (updateComponentTreeUIImpl): New helper method.
27137 (replaceUIActionMap): Added check for uiActionMap==parent to
27138 avoid loop.
27139 (replaceUIInputMap): Added check for uiInputMap==parent to
27140 avoid loop.
27141
27142 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27143
27144 * gnu/classpath/debug/Component.java:
27145 (IPP) New component for IPP debugging.
27146 (EVERYTHING): Adapted to include IPP.
27147 * javax/print/PrintServiceLookup.java:
27148 (registerServiceProvider): New method.
27149 (registerService): Likewise.
27150 (lookupPrintServices): Likewise.
27151 (lookupMultiDocPrintServices): Likewise.
27152 (lookupDefaultPrintService): Likewise.
27153 (static_initializer): Likewise.
27154 (printServiceLookups): New field for found service providers.
27155 (printServices): New field for application registered providers.
27156 (systemProvider): New field for the system provider.
27157 * javax/print/ServiceUI.java: New file.
27158 * javax/print/package.html: Added more usage content.
27159 * javax/print/event/package.html: Likewise.
27160 * javax/print/attribute/package.html: Likewise.
27161 * javax/print/attribute/standard/package.html: Likewise.
27162 * gnu/javax/print/PrintUriException.java,
27163 gnu/javax/print/PrintFlavorException.java,
27164 gnu/javax/print/PrinterDialog.java,
27165 gnu/javax/print/PrintAttributeException.java,
27166 gnu/javax/print/CupsPrintServiceLookup.java,
27167 gnu/javax/print/CupsServer.java,
27168 gnu/javax/print/CupsPrintService.java,
27169 gnu/javax/print/CupsMediaMapping.java,
27170 gnu/javax/print/CupsIppOperation.java:
27171 New implementation files of the Java Print Service API.
27172 * gnu/javax/print/ipp/IppValueTag.java,
27173 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27174 gnu/javax/print/ipp/IppStatusCode.java,
27175 gnu/javax/print/ipp/IppUtilities.java,
27176 gnu/javax/print/ipp/IppResponse.java,
27177 gnu/javax/print/ipp/IppException.java,
27178 gnu/javax/print/ipp/IppPrintService.java,
27179 gnu/javax/print/ipp/IppRequest.java,
27180 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27181 gnu/javax/print/ipp/IppDelimiterTag.java,
27182 gnu/javax/print/ipp/DocPrintJobImpl.java:
27183 New files of the IPP client implementation.
27184 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27185 gnu/javax/print/ipp/attribute/StatusMessage.java,
27186 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27187 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27188 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27189 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27190 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27191 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27192 New attribute syntax/role files of the printing implementation.
27193 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27194 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27195 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27196 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27197 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27198 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27199 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27200 gnu/javax/print/ipp/attribute/supported/
27201 OrientationRequestedSupported.java,
27202 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27203 gnu/javax/print/ipp/attribute/supported/
27204 MultipleDocumentHandlingSupported.java,
27205 gnu/javax/print/ipp/attribute/supported/
27206 MultipleDocumentJobsSupported.java,
27207 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27208 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27209 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27210 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27211 gnu/javax/print/ipp/attribute/supported/
27212 GeneratedNaturalLanguageSupported.java,
27213 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27214 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27215 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27216 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27217 New supported attribute files.
27218 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27219 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27220 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27221 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27222 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27223 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27224 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27225 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27226 New printer description attribute files.
27227 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27228 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27229 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27230 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27231 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27232 gnu/javax/print/ipp/attribute/job/JobId.java,
27233 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27234 gnu/javax/print/ipp/attribute/job/JobUri.java,
27235 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27236 New job description attribute files.
27237 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27238 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27239 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27240 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27241 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27242 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27243 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27244 gnu/javax/print/ipp/attribute/defaults/
27245 MultipleDocumentHandlingDefault.java,
27246 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27247 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27248 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27249 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27250 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27251 New default printing attribute files.
27252 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27253 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27254 * examples/gnu/classpath/examples/print/Demo.java:
27255 New demo application of the current implemented functionality.
27256
27257 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27258
27259 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27260 java/rmi/activation/ActivationDesc.java.java,
27261 java/rmi/activation/ActivationGroup.java,
27262 java/rmi/activation/ActivationID.java,
27263 java/rmi/activation/ActivationMonitor.java,
27264 java/rmi/activation/ActivationSystem.java,
27265 java/rmi/activation/package.html: Documenting.
27266
27267 2006-03-13 Roman Kennke <kennke@aicas.com>
27268
27269 * javax/swing/JInternalFrame.java
27270 (setSelected): Repaint frame when it is showing and the selection
27271 state changes.
27272
27273 2006-03-13 Roman Kennke <kennke@aicas.com>
27274
27275 * javax/swing/AbstractButton.java
27276 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27277 instead of null.
27278
27279 2006-03-13 Roman Kennke <kennke@aicas.com>
27280
27281 * javax/accessibility/AccessibleContext.java
27282 (getAccessibleRelationSet): Return empty set instead of null.
27283
27284 2006-03-13 Roman Kennke <kennke@aicas.com>
27285
27286 * javax/swing/ImageIcon.java
27287 (loadImage): Remove completed images from the MediaTracker. This
27288 avoids a potential memory leak.
27289
27290 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27291
27292 * javax/print/MultiDocPrintService.java,
27293 * javax/print/MultiDocPrintJob.java,
27294 * javax/print/MultiDoc.java: Added and enhanced documentation.
27295
27296 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27297
27298 * java/rmi/activation/ActivationID.java (uid): New field.
27299 (writeExternal, readExternal): New methods.
27300 (equals, hashCode): Rewritten.
27301 * java/rmi/activation/ActivationInstantiator.java,
27302 * java/rmi/activation/ActivationSystem.java,
27303 * java/rmi/activation/Activator.java,
27304 * java/rmi/activation/Activatable.java,
27305 * java/rmi/activation/ActivationGroup.java,
27306 * java/rmi/activation/ActivationGroupDesc.java:
27307 Documented and autoformatted.
27308 * java/rmi/activation/package.html: Added content.
27309
27310 2006-03-12 Chris Burdess <dog@gnu.org>
27311
27312 Fixes PR 26652
27313 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27314 encoding are specified.
27315
27316 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27317
27318 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27319 (changeEvent): Initialise in fireStateChange(),
27320 (setSelectedIndex): Check if change is made before firing event,
27321 (clearSelection): Delegate to setSelectedIndex(),
27322 (fireStateChanged): Initialise changeEvent if necessary,
27323 * javax/swing/SingleSelectionModel.java: API docs all over.
27324
27325 2006-03-11 Tom Tromey <tromey@redhat.com>
27326
27327 * java/util/zip/InflaterInputStream.java: Reverted previous
27328 patch.
27329
27330 2006-03-11 Mark Wielaard <mark@klomp.org>
27331
27332 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27333 Compare name.
27334
27335 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27336
27337 * javax/swing/event/TreeSelectionEvent.java
27338 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27339 not one of the added/removed paths,
27340 (cloneWithSource): Reformatted.
27341
27342 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27343
27344 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27345 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27346
27347 2006-03-10 Casey Marshall <csm@gnu.org>
27348
27349 Fixes PR 23768.
27350 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27351 reset `state.'
27352 (doFinal, update): new methods.
27353 (init, init, init, init): initialize `state' after trying the
27354 implementation, which can throw an exception.
27355 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27356 methods.
27357
27358 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27359
27360 * gnu/regexp/BacktrackStack.java: New file.
27361 * gnu/regexp/RE.java(findMatch): New method.
27362 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27363 REMatchList): Removed. (backtrackStack): New field.
27364 * gnu/regexp/REToken.java(match): Changed from an abstract
27365 method to an ordinary method defined with the new method
27366 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27367 findFixedLengthMatches, backtrack, toString): New methods.
27368 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27369 * gnu/regexp/RETokenBackRef.java: Likewise.
27370 * gnu/regexp/RETokenChar.java: Likewise.
27371 * gnu/regexp/RETokenEnd.java: Likewise.
27372 * gnu/regexp/RETokenEndSub.java: Likewise.
27373 * gnu/regexp/RETokenIndependent.java: Likewise.
27374 * gnu/regexp/RETokenLookAhead.java: Likewise.
27375 * gnu/regexp/RETokenLookBehind.java: Likewise.
27376 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27377 * gnu/regexp/RETokenPOSIX.java: Likewise.
27378 * gnu/regexp/RETokenRange.java: Likewise.
27379 * gnu/regexp/RETokenStart.java: Likewise.
27380 * gnu/regexp/RETokenWordBoundary.java: Likewise
27381 * gnu/regexp/RETokenOneOf.java: Rewriten.
27382 * gnu/regexp/RETokenRepeated.java: Rewriten.
27383
27384 2006-03-10 Roman Kennke <kennke@aicas.com>
27385
27386 * javax/swing/plaf/metal/MetalBorders.java
27387 (RolloverButtonBorder.paintBorder): Only call super here.
27388 * javax/swing/plaf/metal/MetalButtonListener.java
27389 (propertyChange): Only call super here.
27390 * javax/swing/plaf/metal/MetalButtonUI.java
27391 (update): Changed condition from isOpaque() to isContentAreaFilled()
27392 for the gradient fill.
27393 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27394 (paintText): API doc fix. Makes paintText not deprecated as specified
27395 but adds comment that this is obsolete.
27396 * javax/swing/plaf/metal/MetalUtils.java
27397 (fillMetalPattern): Fixed condition so that the Java2D is not
27398 used when the noGraphics2D property is set.
27399
27400 2006-03-10 Roman Kennke <kennke@aicas.com>
27401
27402 * javax/swing/plaf/metal/MetalLookAndFeel.java
27403 (createDefaultTheme): Set OceanTheme as default metal theme.
27404
27405 2006-03-10 Roman Kennke <kennke@aicas.com>
27406
27407 * javax/swing/text/WrappedPlainView.java
27408 (metrics): Made field package private to avoid accessor method.
27409 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27410 The drawLine (righly) interprets the y parameter as the baseline.
27411 * javax/swing/text/Utilities.java
27412 (getBreakLocation): Don't consider the offset. The returned value
27413 for getTabbedTextOffset is already relative to the offset.
27414
27415 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27416
27417 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27418 (dateFormat): Made private.
27419 (put): Replace only the last occurance and the value.
27420 (putAll): Save one iteration. Clarified documentation.
27421
27422 2006-03-10 Tom Tromey <tromey@redhat.com>
27423
27424 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27425 implementation.
27426 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27427 not '8'.
27428
27429 2006-03-10 Lillian Angel <langel@redhat.com>
27430
27431 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27432 (comboboxgroup_get_widget): New function.
27433 (removed): Fixed to use new function to get the correct widget.
27434 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27435 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27436 function.
27437
27438 2006-03-10 Lillian Angel <langel@redhat.com>
27439
27440 * java/awt/GridBagLayout.java
27441 (ArrangeGrid): Added checks to determine if component
27442 is placed last in a row or column. If so, the location
27443 of the last component should be used to get the location
27444 of the current component.
27445
27446 2006-03-10 Lillian Angel <langel@redhat.com>
27447
27448 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27449 (nativeSetCheckboxGroup): No need to use new function here.
27450 Should just pass in pointer.
27451
27452 2006-03-10 Lillian Angel <langel@redhat.com>
27453
27454 * java/awt/GridBagLayout.java
27455 (distributeSizeAndWeight): Change else if to else. This
27456 allows for components to be added to a new row when
27457 their gridheight is REMAINDER.
27458
27459 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27460
27461 * java/rmi/activation/ActivationDesc.java,
27462 java/rmi/activation/ActivationGroupID.java,
27463 java/rmi/activation/Activator.java,
27464 java/rmi/server/Operation.java,
27465 java/rmi/server/RemoteServer.java: Documented and formatted.
27466
27467 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27468
27469 * javax/swing/JToggleButton.java: Fixed API doc tags,
27470 * javax/swing/OverlayLayout.java: Likewise.
27471
27472 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27473
27474 * javax/swing/DefaultCellEditor.java
27475 (cancelCellEditing): Removed spurious API doc tag.
27476
27477 2006-03-10 Lillian Angel <langel@redhat.com>
27478
27479 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27480 (create): Put checkbox widget into an event box so it paints properly.
27481 (connectSignals): Fixed to use new function.
27482 (nativeSetCheckboxGroup): Likewise.
27483 (gtkToggleButtonSetActive): Likewise.
27484 (gtkWidgetModifyFont): Likewise.
27485 (gtkButtonSetLabel): Likewise.
27486 (combobox_get_widget): New function.
27487
27488 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27489
27490 * javax/swing/text/rtf/package.html: New file.
27491
27492 2006-03-10 Roman Kennke <kennke@aicas.com>
27493
27494 * javax/swing/plaf/metal/OceanTheme.java
27495 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27496 * javax/swing/plaf/metal/MetalScrollBarUI.java
27497 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27498 (paintThumbHorizontal): Added handling of OceanTheme.
27499 (paintThumbVertical): Added handling of OceanTheme.
27500
27501 2006-03-10 Roman Kennke <kennke@aicas.com>
27502
27503 Reported by Fridjof Siebert <siebert@aicas.com>
27504 * java/awt/MediaTracker.java
27505 (removeImage): Only set prev to e when the the images of the
27506 entries are not the same. This avoids a potentially corrupt list.
27507
27508 2006-03-10 Chris Burdess <dog@gnu.org>
27509
27510 PR 26620:
27511 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27512 checking while reindenting.
27513
27514 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27515
27516 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27517
27518 2006-03-09 Tom Tromey <tromey@redhat.com>
27519
27520 PR classpath/26585:
27521 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27522 subdir. Added README.
27523 (install-data-local): Removed.
27524 (uninstall-local): Likewise.
27525 (EXTRA_DIST): Removed.
27526
27527 2006-03-09 Tom Tromey <tromey@redhat.com>
27528
27529 PR classpath/26623:
27530 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27531 Renamed.
27532 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27533 Renamed.
27534 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27535 Renamed.
27536 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27537 Renamed.
27538 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27539 Renamed.
27540 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27541 Renamed.
27542 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27543 Renamed.
27544 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27545 Renamed.
27546 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27547 Renamed.
27548 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27549 Renamed.
27550 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27551 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27552
27553 2006-03-09 Keith Seitz <keiths@redhat.com>
27554
27555 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27556 (executeVariableTable): Use VMMethod instead of reflection.
27557 (executeLineTable): Likewise.
27558 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27559 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27560 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27561 (getLineTable): Removed. Now resides in VMMethod.
27562 (getVarTable): Likewise.
27563 (getAllClassMethods): New method.
27564
27565 2006-03-09 Keith Seitz <keiths@redhat.com>
27566
27567 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27568 * gnu/classpath/jdwp/event/ThreadStartEvent.java
27569 (ThreadStartEvent): Likewise.
27570 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27571 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27572 (ConditionalFilter): Likewise.
27573 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27574 (ExceptionOnlyFilter): Likewise.
27575 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27576 (FieldOnlyFilter): Likewise.
27577 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27578 (getSize): Likewise.
27579 (StepFilter): Likewise.
27580 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27581 * gnu/classpath/jdwp/transport/JdwpPacket.java
27582 (JdwpPacket): Likewise.
27583 (fromBytes): Likewise.
27584 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27585 (JdwpReplyPacket): Likewise.
27586 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27587 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27588 (getReferenceType): Likewise.
27589 (newObjectId): Likewise.
27590 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27591 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27592 (getFrames): Fix typo in parameter name and update javadoc.
27593 (getClassMethod): Update javadoc.
27594
27595 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
27596
27597 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27598 * javax/swing/event/TreeSelectionListener.java: Likewise.
27599
27600 2006-03-09 Lillian Angel <langel@redhat.com>
27601
27602 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27603 (getHScrollbarHeight): Fixed property name.
27604 (getVScrollbarHeight): Likewise.
27605
27606 2006-03-09 Lillian Angel <langel@redhat.com>
27607
27608 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27609 (get_widget): New function.
27610 (gtkWidgetSetParent): Changed to use new function.
27611 (gtkWidgetSetCursorUnlocked): Likewise.
27612 (gtkWidgetSetSensitive): Likewise.
27613 (gtkWidgetRequestFocus): Likewise.
27614 (gtkWindowGetLocationOnScreen): Likewise.
27615 (gtkWidgetGetDimensions): Likewise.
27616 (gtkWidgetGetPreferredDimensions): Likewise.
27617 (setNativeBounds): Likewise.
27618 (gtkWidgetGetBackground): Likewise.
27619 (gtkWidgetGetForeground): Likewise.
27620 (gtkWidgetSetBackground): Likewise.
27621 (gtkWidgetSetForeground): Likewise.
27622 (setVisibleNativeUnlocked): Likewise.
27623 (isEnabled): Likewise.
27624 (isRealized): Likewise.
27625 (setNativeEventMask): Likewise.
27626
27627 2006-03-09 Lillian Angel <langel@redhat.com>
27628
27629 PR Classpath\22163
27630 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
27631 (create): Added combobox widget to an event box.
27632 (connectSignals): Added call to choice_get_widget to get the
27633 combobox out of the event box.
27634 (append): Likewise.
27635 (nativeRemoveAll): Likewise.
27636 (nativeRemove): Likwise.
27637 (nativeAdd): Likewise.
27638 (selectNative): Likewise.
27639 (choice_get_widget): New function.
27640 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
27641 (create): Added list scroll window widget to an event box.
27642 (connectSignals): Changed call to use new function to get the
27643 correct widget out of the event box.
27644 (getWidgetModifyFont): Likewise.
27645 (getWidgetRequestFocus): Likewise.
27646 (append): Likewise.
27647 (add): Likewise.
27648 (delItems): Likewise.
27649 (select): Likewise.
27650 (deselect): Likewise.
27651 (getSize): Likewise.
27652 (getSelectedIndexes): Likewise.
27653 (makeVisible): Likewise.
27654 (setMultipleMode): Likewise.
27655 (list_get_widget): New function.
27656 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27657 (create): Added scrollpane to an eventbox.
27658 (setScrollPosition): Changed call to use new function to get the
27659 correct widget out of the event box.
27660 (gtkScrolledWindowSetHScrollIncrement): Likewise.
27661 (gtkScrolledWindowSetVScrollIncrement): Likewise.
27662 (getHScrollbarHeight): Likewise.
27663 (getVScrollbarWidth): Likewise.
27664 (setPolicy): Likewise.
27665 (scrollpane_get_widget): New function.
27666 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
27667 (connectSignals): Changed call to use new function to get the
27668 correct widget out of the event box.
27669 (create): Added scrollbar to an eventbox.
27670 (setLineIncrement): Changed call to use new function to get the
27671 correct widget out of the event box.
27672 (setPageIncrement): Likewise.
27673 (setBarValues): Likewise.
27674 (scrollbar_get_widget): New function.
27675 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
27676 (create): Added text area scroll window widget to an event box.
27677 (connectSignals): Changed call to use new function to get the
27678 correct widget out of the event box.
27679 (insert): Likewise.
27680 (replaceRange): Likewise.
27681 (gtkWidgetModifyFont): Likewise.
27682 (gtkWidgetRequestFocus): Likewise.
27683 (getHScrollbarHeight): Likewise.
27684 (getVScrollbarWidth): Likewise.
27685 (getCaretPosition): Likewise.
27686 (setCaretPosition):Likewise.
27687 (getSelectionStart): Likewise.
27688 (getSelectionEnd): Likewise.
27689 (select): Likewise.
27690 (setEditable): Likewise.
27691 (getText): Likewise.
27692 (setText): Likewise.
27693 (textarea_get_widget): New function.
27694
27695 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27696
27697 * java/rmi/dgc/VMID.java:
27698 (equals, hashCode, static initializer): Rewritten.
27699 * java/rmi/dgc/package.html: Documented.
27700
27701 2006-03-09 Mark Wielaard <mark@klomp.org>
27702
27703 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
27704 New static field.
27705 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
27706 (canCache): Likewise.
27707 (GtkClipboard): Take String argument.
27708 (getInstance): Removed.
27709 (getClipboardInstance, getSelectionInstance): New static methods.
27710 (setSystemContents): Make synchronized. Takes boolean argument.
27711 (initNativeState): Add clipboard and selection.
27712 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
27713 (announceClipboardChange, announcePrimaryChange): New static field.
27714 (announce): Take GtkClipboard as argument.
27715 (run): Check which clipboard to announce change for.
27716 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
27717 boolean field.
27718 (GtkSelection): Take GtkClipboard as argument.
27719 (requestText, requestImage, requestURIs, requestBytes): Add boolean
27720 clipboard argument.
27721 (requestMimeTypes): Likewise.
27722 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
27723 New method.
27724 * java/awt/Toolkit.java (getSystemSelection): Document.
27725 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
27726 (cp_gtk_selection_instance): New var.
27727 (current_selection, owner): Removed.
27728 (clipboard_owner_change_cb): Use clipboard argument.
27729 (initNativeState): Store clipboard and selection instances. Cache
27730 setSystemContentsID, provideContentID, provideTextID, provideImageID,
27731 and provideURIsID.
27732 (clipboard_get_func): Use clipboard argument.
27733 (clipboard_clear_func): Likewise. Always call method.
27734 (advertiseContent): Don't cache method ids here. Check whether to
27735 use clpboard or selection. Don't set owner or current_selection.
27736 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
27737 (requestText, requestImage, requestURIs, requestBytes): Use extra
27738 boolean argument to select clipboard.
27739 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
27740 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
27741 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
27742 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
27743
27744 2006-03-09 Keith Seitz <keiths@redhat.com>
27745
27746 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
27747 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
27748 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
27749 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
27750 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
27751 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
27752 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
27753 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
27754 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
27755
27756 2006-03-09 Mark Wielaard <mark@klomp.org>
27757
27758 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
27759 bounds for index is valid.
27760 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
27761 (paint): Likewise.
27762 (getCellBounds): Update documentation.
27763
27764 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
27765
27766 * .classpath: added exclude pattern on source folders
27767 (Makefiles, README and .cvsignore)
27768
27769 2006-03-08 Michael Koch <konqueror@gmx.de>
27770
27771 * java/net/Proxy.java (NO_PROXY): Made final.
27772 (equals): Likewise.
27773 (hashCode): Likewise.
27774
27775 2006-03-08 Keith Seitz <keiths@redhat.com>
27776
27777 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
27778 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27779 (getClassMethod): New method.
27780
27781 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27782
27783 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
27784
27785 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27786
27787 * java/rmi/server/ObjID.java: Documented and autoformatted.
27788
27789 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27790
27791 PR 26584
27792 * tools/Makefile.am (install-data-local,
27793 uninstall-local): Install/uninstall the tools/README only.
27794 * tools/gnu/classpath/tools/giop/README: Updated.
27795 * tools/README: New file.
27796
27797 2006-03-08 Lillian Angel <langel@redhat.com>
27798
27799 * java/awt/GridBagLayout.java
27800 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
27801 then the next item should be set to current_y (not 0).
27802
27803 2006-03-08 Lillian Angel <langel@redhat.com>
27804
27805 * java/awt/GridBagLayout.java
27806 (GetLayoutInfo): If gridy is RELATIVE and there is no component
27807 in the bottom-most spot of the column, we need to place that component
27808 at the y-location of the other components in that row. If there are
27809 no other components in that row, then place it at y = 0.
27810
27811 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
27812
27813 * javax/swing/ProgressMonitor.java: Updated API docs,
27814 * javax/swing/ProgressMonitorInputStream.java: Likewise.
27815
27816 2006-03-08 Michael Koch <konqueror@gmx.de>
27817
27818 * java/net/InetSocketAddress.java
27819 (InetSocketAddress(String,int,resolve)): New private contructor.
27820 (InetSocketAddress(String,int)): Use new private constructor.
27821 (createUnresolved): New method.
27822
27823 2006-03-07 Michael Koch <konqueror@gmx.de>
27824
27825 * gnu/java/net/DefaultProxySelector.java,
27826 java/net/Proxy.java, java/net/ProxySelector.java:
27827 New files.
27828
27829 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27830
27831 * java/rmi/server/UID.java (constructor): Assign last and time fields
27832 after pause.
27833
27834 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27835
27836 * java/rmi/server/UID.java: New file (replacing).
27837
27838 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
27839
27840 * java/util/jar/Manifest.java: Removed unused imports.
27841 (CRLF): New constant.
27842 (read): Added method documentation.
27843 Use UTF-8 encoding instead of 8859_1.
27844 (write): Added method documentation.
27845 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
27846 (write_main_section): Replace PrintWriter arg with OutputStream.
27847 Replace JarException with IOException.
27848 (write_version_info): Likewise.
27849 (write_main_attributes): Likewise.
27850 (write_attribute_entry): Likewise.
27851 (write_individual_sections): Likewise.
27852 (write_entry_attributes): Likewise.
27853 (write_header): Replace PrintWriter arg with OutputStream.
27854 Re-implemented.
27855
27856 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27857
27858 * javax/swing/tree/DefaultMutableTreeNode.java
27859 (getFirstChild): Updated API docs,
27860 (getLastChild): Likewise,
27861 (getChildAfter): Likewise,
27862 (getChildBefore): Likewise,
27863 (isNodeSibling): Return true if node == this,
27864 (getSiblingCount): Updated API docs,
27865 (getNextSibling): Likewise,
27866 (getPreviousSibling): Likewise,
27867 (isLeaf): Likewise,
27868 (getFirstLeaf): Likewise,
27869 (getLastLeaf): Likewise,
27870 (getNextLeaf): Implemented,
27871 (getPreviousLeaf): Implemented.
27872
27873 2006-03-07 Tom Tromey <tromey@redhat.com>
27874
27875 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
27876 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
27877 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
27878 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
27879 field.
27880
27881 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27882
27883 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
27884 (clone): Reimplemented,
27885 (add): Throw IllegalArgumentException if child is an ancestor,
27886 (remove(int)): Set child's parent to null,
27887 (remove(MutableTreeNode)): Check arguments and set child's parent to
27888 null,
27889 (insert): Check allowsChildren flag, check for null argument, and
27890 check for a node that is an ancestor,
27891 (getIndex): Throw IllegalArgumentException for null argument,
27892 (setAllowsChildren): If setting to false, remove existing children,
27893 (removeAllChildren): Set parent to null for removed children.
27894
27895 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27896
27897 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
27898 over.
27899
27900 2006-03-06 Tom Tromey <tromey@redhat.com>
27901
27902 * java/lang/StrictMath.java (ulp): New methods.
27903 * java/lang/Math.java (ulp): New methods.
27904
27905 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27906
27907 * gnu/java/rmi/server/UnicastRef.java,
27908 * gnu/java/rmi/server/UnicastServer.java: Formatted.
27909
27910 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27911
27912 * gnu/java/rmi/server/CombinedClassLoader.java
27913 (findClass, findLibrary, findResouce, findResources): check
27914 all loaders in array.
27915
27916 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27917
27918 PR 25526
27919 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
27920 (RefProtector): new inner class. (dirty): Rewritten.
27921 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
27922 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
27923 new methods. (readExternal): Create LeaseRenewingTask if non local.
27924 * gnu/java/rmi/server/UnicastServer.java (objects):
27925 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
27926 (getExported): New method.
27927 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
27928
27929 2006-03-06 Mark Wielaard <mark@klomp.org>
27930
27931 * doc/www.gnu.org/announce/20060306.wml: New file.
27932 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
27933 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
27934
27935 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
27936
27937 * javax/swing/plaf/metal/MetalLookAndFeel.java
27938 (initComponentDefaults): Use Boolean.TRUE for
27939 'CheckBoxMenuItem.borderPainted'.
27940
27941 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
27942
27943 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27944 (dateFormat): Made private.
27945 (put): Replace only the last occurance and the value.
27946 (putAll): Reimplemented with the put method.
27947
27948 2006-03-06 Lillian Angel <langel@redhat.com>
27949
27950 PR classpath/26569
27951 * java/awt/List.java
27952 (preferredSize): Return the size of the list if the peer is
27953 null.
27954 * gnu/java/awt/peer/gtk/GtkListPeer.java
27955 (preferredSize): Code was returning the minimum size of the
27956 list. Added adjustment to the width of the list so it is a
27957 proper size.
27958
27959 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
27960
27961 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
27962 (getRequestProperty): Remove duplicated null check.
27963 * java/net/URLConnection.java:
27964 (URLConnection): Javadoc fix.
27965 (addRequestProperty): Likewise.
27966 (getDefaultRequestProperty): Likewise.
27967 (getHeaderField): Likewise.
27968 (getHeaderFieldDate): Likewise.
27969 (getHeaderFieldKey): Likewise.
27970 (getHeaderFields): Likewise.
27971 (getRequestProperties): Likewise.
27972 (getRequestProperty): Likewise.
27973 (setDefaultRequestProperty): Likewise.
27974 (setRequestProperty): Likewise.
27975
27976 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
27977
27978 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
27979 * examples/gnu/classpath/examples/swing/Demo.java:
27980 (mkButtonBar): Changed layout manager to GridLayout, added entry for
27981 textarea example.
27982 (mkMenuBar): Added entry for text area example.
27983
27984 2006-03-06 Tom Tromey <tromey@redhat.com>
27985
27986 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
27987 (FORMATTED_TEXT_FIELD): Likewise.
27988
27989 2006-03-06 Tom Tromey <tromey@redhat.com>
27990
27991 * javax/swing/plaf/synth/SynthPainter.java: Finished.
27992
27993 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
27994
27995 * examples/gnu/classpath/examples/swing/Demo.java:
27996 (mkMenuBar): Added menu entry that will display the VM's name,
27997 version and distributor.
27998
27999 2006-03-06 Tom Tromey <tromey@redhat.com>
28000
28001 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28002 Javadoc fix.
28003 (getName): Likewise.
28004
28005 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28006
28007 * java/util/jar/Manifest.java: Removed unused imports.
28008 (CRLF): New constant.
28009 (read): Added method documentation.
28010 Use UTF-8 encoding instead of 8859_1.
28011 (write): Added method documentation.
28012 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28013 (write_main_section): Replace PrintWriter arg with OutputStream.
28014 Replace JarException with IOException.
28015 (write_version_info): Likewise.
28016 (write_main_attributes): Likewise.
28017 (write_attribute_entry): Likewise.
28018 (write_individual_sections): Likewise.
28019 (write_entry_attributes): Likewise.
28020 (write_header): Replace PrintWriter arg with OutputStream.
28021 Re-implemented.
28022
28023 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28024
28025
28026 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28027 API doc tag warnings,
28028 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28029
28030 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28031
28032 * gnu/java/net/protocol/file/Connection.java (unquote):
28033 Update position in buffer after decoding a unicode character
28034 outside of the basic plane.
28035
28036 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28037
28038 * java/net/URI.java
28039 (quote): Pass Unicode characters outside the basic plane through.
28040
28041 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28042
28043 * javax/swing/plaf/basic/BasicTextUI.java:
28044 (damageRange): Rewritten if-expressions to correctly identify the
28045 break condition.
28046
28047 2006-03-06 Mark Wielaard <mark@klomp.org>
28048
28049 * configure.ac: Set version to 0.90-generics.
28050 * NEWS: Fix typos.
28051
28052 2006-03-06 Mark Wielaard <mark@klomp.org>
28053
28054 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28055 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28056 (isnan): Define explicitly isnan if it is not a macro.
28057
28058 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28059
28060 * javax/swing/text/GapContent.java:
28061 (insertString): Throw exception when argument is below
28062 zero.
28063
28064 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28065
28066 * javax/swing/text/PlainDocument.java:
28067 (insertUpdate): Extended if-expression, added
28068 code to generate another Element when newly inserted characters
28069 and old ones will be on the same line.
28070
28071 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28072
28073 * javax/swing/text/DefaultCaret.java:
28074 (mouseDragged): Do selection when shift is pressed.
28075 (mouseClicked): Implemented.
28076
28077 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28078
28079 * javax/swing/text/PlainDocument.java: Fix copyright header,
28080 added author tags.
28081 (insertUpdate): Do not copy the whole document any more, added some
28082 more variables to prevent needless method calls.
28083
28084 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28085
28086 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28087 is required on Darwin.
28088 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28089 (AM_CFLAGS): Likewise.
28090
28091 2006-03-06 Mark Wielaard <mark@klomp.org>
28092
28093 * NEWS: Add updates for 0.90 release.
28094
28095 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28096
28097 * javax/swing/text/GapContent.java:
28098 (insertString): Throw exception when argument is below
28099 zero.
28100
28101 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28102
28103
28104 * javax/swing/filechooser/FileFilter.java:
28105 (accept): Fixed API doc tag,
28106 (getDescription): Likewise,
28107 * javax/swing/filechooser/FileView.java:
28108 (isTraversable): Fixed API doc tag.
28109
28110 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28111
28112 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28113 added API docs all over.
28114
28115 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28116
28117 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28118 and corrected a bad API doc tag.
28119
28120 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28121
28122 * javax/swing/undo/StateEditable.java
28123 (restoreState): Fixed bad API doc tag,
28124 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28125 AbstractUndoableEdit.java,
28126 * javax/swing/undo/UndoableEditSupport.java
28127 (createCompoundEdit): Fixed bad API doc tag,
28128 * javax/swing/undo/UndoManager.java
28129 (editToBeUndone): Fixed bad API doc tag,
28130 (editToBeRedone): Likewise.
28131
28132 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28133
28134 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28135 * javax/swing/FocusManager.java: Likewise.
28136
28137
28138 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28139
28140
28141 * javax/swing/plaf/metal/MetalComboBoxButton.java
28142 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28143 JList)): Fixed API doc tag,
28144 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28145 (createLayout): Fixed API doc warning.
28146
28147 2006-03-05 Tom Tromey <tromey@redhat.com>
28148
28149 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28150 ClassHelper.getUserName.
28151 * vm/reference/java/lang/reflect/Method.java (toString): Use
28152 ClassHelper.getUserName.
28153 (getUserTypeName): Removed.
28154 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28155 * vm/reference/java/lang/reflect/Field.java (toString): Use
28156 ClassHelper.getUserName.
28157
28158 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28159
28160 Fixes PR 22813
28161 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28162 Allows directories as valid resources.
28163
28164 2006-03-05 Mark Wielaard <mark@klomp.org>
28165
28166 * configure.ac (VERSION): Set to 0.90-pre-generics.
28167 * Merge with CVS trunk from classpath-0_90-branch-point.
28168
28169 2006-03-04 Tom Tromey <tromey@redhat.com>
28170
28171 * javax/swing/SpringLayout.java (Constraints): New constructor.
28172 * javax/swing/Spring.java (width): New method.
28173 (height): Likewise.
28174 (scale): Likewise.
28175
28176 2006-03-04 Mark Wielaard <mark@klomp.org>
28177
28178 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28179 existing connection from pool before returning.
28180
28181 2006-03-04 Mark Wielaard <mark@klomp.org>
28182
28183 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28184 exceptions thrown by handlers while cleaning up and rethrow original
28185 exception.
28186
28187 2006-03-04 Tom Tromey <tromey@redhat.com>
28188
28189 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28190 method.
28191 (findConstructor): Likewise.
28192 (instantiateClass): Likewise.
28193
28194 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28195
28196 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28197 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28198 lease value and not always the default one.
28199 (LeaseRecord): Remember the array of objects, marked as dirty.
28200 java/rmi/dgc/Lease.java: Boilerplate fix.
28201
28202 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28203
28204 * java/util/jar/Attributes.java (putValue): Made it public and updated
28205 method documentation.
28206
28207 2006-03-04 Mark Wielaard <mark@klomp.org>
28208
28209 * java/awt/Container.java (remove(int)): Always call removeNotify()
28210 on removed Component.
28211
28212 2006-03-04 Mark Wielaard <mark@klomp.org>
28213
28214 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28215 * javax/swing/JEditorPane.java (setText): Check for empty String
28216 with equals(), not equality (==).
28217
28218 2006-03-04 Mark Wielaard <mark@klomp.org>
28219
28220 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28221 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28222
28223 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28224
28225 * javax/swing/text/GapContent.java
28226 (getArray): Mark as final.
28227
28228 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28229
28230 * javax/swing/text/StyleConstants.java
28231 (CharacterConstants.Background): Marked final,
28232 (CharacterConstants.BidiLevel): Likewise,
28233 (CharacterConstants.Bold): Likewise,
28234 (CharacterConstants.ComponentAttribute): Likewise,
28235 (CharacterConstants.Family): Likewise,
28236 (CharacterConstants.Size): Likewise,
28237 (CharacterConstants.Foreground): Likewise,
28238 (CharacterConstants.IconAttribute): Likewise,
28239 (CharacterConstants.Italic): Likewise,
28240 (CharacterConstants.StrikeThrough): Likewise,
28241 (CharacterConstants.Subscript): Likewise,
28242 (CharacterConstants.Superscript): Likewise,
28243 (CharacterConstants.Underline): Likewise,
28244 (ColorConstants.Foreground): Likewise,
28245 (ColorConstants.Background): Likewise,
28246 (FontConstants.Bold): Likewise,
28247 (FontConstants.Family): Likewise,
28248 (FontConstants.Italic): Likewise,
28249 (FontConstants.Size): Likewise,
28250 (ParagraphConstants.Alignment): Likewise,
28251 (ParagraphConstants.FirstLineIndent): Likewise,
28252 (ParagraphConstants.LeftIndent): Likewise,
28253 (ParagraphConstants.LineSpacing): Likewise,
28254 (ParagraphConstants.Orientation): Likewise,
28255 (ParagraphConstants.RightIndent): Likewise,
28256 (ParagraphConstants.SpaceAbove): Likewise,
28257 (ParagraphConstants.SpaceBelow): Likewise,
28258 (ParagraphConstants.TabSet): Likewise.
28259
28260 2006-03-03 Tom Tromey <tromey@redhat.com>
28261
28262 * javax/net/ssl/SSLException.java: Added missing @since.
28263 Wrote javadoc.
28264
28265 2006-03-03 Tom Tromey <tromey@redhat.com>
28266
28267 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28268 (serialVersionUID): New field.
28269
28270 2006-03-03 Tom Tromey <tromey@redhat.com>
28271
28272 * java/security/spec/InvalidKeySpecException.java
28273 (InvalidKeySpecException): New constructors.
28274 * java/security/cert/CertificateParsingException.java
28275 (CertificateParsingException): New constructors.
28276 * java/security/cert/CertificateEncodingException.java
28277 (CertificateEncodingException): New constructors.
28278 * java/security/cert/CertificateException.java (CertificateException):
28279 New constructors.
28280 * java/security/cert/CRLException.java (CRLException): New
28281 constructors.
28282
28283 2006-03-03 Tom Tromey <tromey@redhat.com>
28284
28285 * java/security/SignatureException.java (SignatureException): New
28286 constructors.
28287 * java/security/ProviderException.java (ProviderException): New
28288 constructors.
28289 * java/security/NoSuchAlgorithmException.java
28290 (NoSuchAlgorithmException): New constructors.
28291 * java/security/KeyStoreException.java (KeyStoreException): New
28292 constructors.
28293 * java/security/KeyManagementException.java (KeyManagementException):
28294 New constructors.
28295 * java/security/InvalidKeyException.java (InvalidKeyException): New
28296 constructors.
28297 * java/security/KeyException.java (KeyException): New constructors.
28298 * java/security/InvalidAlgorithmParameterException.java
28299 (InvalidAlgorithmParameterException): New constructors.
28300 * java/security/DigestException.java (DigestException): New
28301 constructors.
28302 * java/security/GeneralSecurityException.java
28303 (GeneralSecurityException): New constructors.
28304
28305 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28306
28307 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28308 warnings,
28309 * javax/swing/event/DocumentEvent.java: Likewise,
28310 * javax/swing/event/EventListenerList.java: Likewise,
28311 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28312 * javax/swing/event/MenuKeyEvent.java: Likewise,
28313 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28314 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28315 * javax/swing/event/TreeModelEvent.java: Likewise,
28316 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28317 * javax/swing/event/UndoableEditEvent.java: Likewise.
28318
28319 2006-03-03 Tom Tromey <tromey@redhat.com>
28320
28321 * java/awt/Insets.java (set): New method.
28322 (equals): Added @since.
28323
28324 2006-03-03 David Daney <ddaney@avtrex.com>
28325
28326 * gnu/java/net/protocol/http/HTTPURLConnection.java
28327 (getRequestProperties): Rewrote.
28328 (addRequestProperty): Rewrote.
28329 (getHeaderFields): Rewrote.
28330 (getHeaderField): Rewrote.
28331 (getHeaderFieldKey): Rewrote.
28332 (getHeaderField): Removed useless cast.
28333 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28334 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28335 interface.
28336 (notifyHeaderHandlers): Use new Headers interface.
28337
28338 2006-03-03 Tom Tromey <tromey@redhat.com>
28339
28340 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28341 * javax/naming/spi/ResolveResult.java,
28342 javax/naming/event/NamingExceptionEvent.java,
28343 javax/naming/event/NamingEvent.java,
28344 javax/naming/directory/SearchResult.java,
28345 javax/naming/directory/SearchControls.java,
28346 javax/naming/directory/SchemaViolationException.java,
28347 javax/naming/directory/NoSuchAttributeException.java,
28348 javax/naming/directory/ModificationItem.java,
28349 javax/naming/directory/InvalidSearchFilterException.java,
28350 javax/naming/directory/InvalidSearchControlsException.java,
28351 javax/naming/directory/InvalidAttributesException.java,
28352 javax/naming/directory/InvalidAttributeIdentifierException.java,
28353 javax/naming/directory/AttributeModificationException.java,
28354 javax/naming/directory/AttributeInUseException.java,
28355 javax/naming/TimeLimitExceededException.java,
28356 javax/naming/SizeLimitExceededException.java,
28357 javax/naming/PartialResultException.java,
28358 javax/naming/Reference.java,
28359 javax/naming/ServiceUnavailableException.java,
28360 javax/naming/OperationNotSupportedException.java,
28361 javax/naming/NotContextException.java,
28362 javax/naming/NoPermissionException.java,
28363 javax/naming/NoInitialContextException.java,
28364 javax/naming/NameNotFoundException.java,
28365 javax/naming/NameAlreadyBoundException.java,
28366 javax/naming/NameClassPair.java,
28367 javax/naming/MalformedLinkException.java,
28368 javax/naming/LinkLoopException.java,
28369 javax/naming/LinkException.java,
28370 javax/naming/LimitExceededException.java,
28371 javax/naming/InvalidNameException.java,
28372 javax/naming/InterruptedNamingException.java,
28373 javax/naming/InsufficientResourcesException.java,
28374 javax/naming/ContextNotEmptyException.java,
28375 javax/naming/ConfigurationException.java,
28376 javax/naming/CannotProceedException.java,
28377 javax/naming/CommunicationException.java,
28378 javax/naming/Binding.java,
28379 javax/naming/AuthenticationNotSupportedException.java,
28380 javax/naming/AuthenticationException.java: Added serialVersionUID.
28381
28382 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28383
28384 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28385
28386 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28387
28388 * javax/swing/event/TableModelListener.java: Updated API docs.
28389
28390 2006-03-03 Mark Wielaard <mark@klomp.org>
28391
28392 * java/awt/Component.java (addNotify): Expand documentation.
28393
28394 2006-03-03 Mark Wielaard <mark@klomp.org>
28395
28396 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28397 Always call setParentAndBounds().
28398 (setComponentBounds): Always call setBounds().
28399 (setBounds): Call setVisible().
28400 (setVisible): If no pixels are showing then don't make it visible.
28401 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28402 to call setParentAndBounds() anymore.
28403
28404 2006-03-03 Roman Kennke <kennke@aicas.com>
28405
28406 * javax/swing/JInternalFrame.java
28407 (JInternalFrame): Set frame invisible.
28408 (show): Reformatted.
28409 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28410 (installDefaults): Do not set invisible here.
28411
28412 2006-03-03 Roman Kennke <kennke@aicas.com>
28413
28414 * java/awt/Toolkit.java
28415 (getScreenInsets): Return (0,0,0,0) here.
28416
28417 2006-03-03 Roman Kennke <kennke@aicas.com>
28418
28419 * javax/swing/text/FlowView.java
28420 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28421 (FlowStrategy.getLogicalView): Made method protected.
28422
28423 2006-03-03 Chris Burdess <dog@gnu.org>
28424
28425 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28426 gnu/xml/validation/relaxng/AttributePattern.java,
28427 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28428 gnu/xml/validation/relaxng/ChoicePattern.java,
28429 gnu/xml/validation/relaxng/DataPattern.java,
28430 gnu/xml/validation/relaxng/Define.java,
28431 gnu/xml/validation/relaxng/ElementPattern.java,
28432 gnu/xml/validation/relaxng/EmptyPattern.java,
28433 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28434 gnu/xml/validation/relaxng/Grammar.java,
28435 gnu/xml/validation/relaxng/GrammarException.java,
28436 gnu/xml/validation/relaxng/GrammarValidator.java,
28437 gnu/xml/validation/relaxng/GroupPattern.java,
28438 gnu/xml/validation/relaxng/InterleavePattern.java,
28439 gnu/xml/validation/relaxng/ListPattern.java,
28440 gnu/xml/validation/relaxng/NSNameNameClass.java,
28441 gnu/xml/validation/relaxng/NameClass.java,
28442 gnu/xml/validation/relaxng/NameNameClass.java,
28443 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28444 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28445 gnu/xml/validation/relaxng/Param.java,
28446 gnu/xml/validation/relaxng/Pattern.java,
28447 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28448 gnu/xml/validation/relaxng/RefPattern.java,
28449 gnu/xml/validation/relaxng/TextPattern.java,
28450 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28451 builder and data model.
28452 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28453 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28454 gnu/xml/validation/xmlschema/AttributeUse.java,
28455 gnu/xml/validation/xmlschema/ComplexType.java,
28456 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28457 gnu/xml/validation/xmlschema/Particle.java,
28458 gnu/xml/validation/xmlschema/ValidationException.java,
28459 gnu/xml/validation/xmlschema/XMLSchema.java,
28460 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28461 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28462 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28463 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28464 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28465 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28466 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28467 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28468 W3C XML Schema builder and schema components.
28469 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28470 XML Schema namespace URIs.
28471
28472 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28473
28474 * NEWS: Add entry for --enable-collections.
28475 * configure.ac: Add --enable-collections option.
28476 * lib/Makefile.am (collections.jar): New target.
28477 (glibj_DATA): Add $(COLLECTIONS).
28478 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28479 configure substitution.
28480 (classpath): Read from command line.
28481 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28482
28483 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28484
28485 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28486
28487 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28488
28489 * javax/swing/event/ListSelectionEvent.java
28490 (toString): Implemented,
28491 plus updated API docs all over.
28492
28493 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28494
28495 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28496 API doc warnings,
28497 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28498
28499 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28500
28501 * gnu/java/rmi/dgc/DGCImpl.java,
28502 java/rmi/dgc/DGC.java,
28503 java/rmi/dgc/Lease.java: Formatted and commented.
28504
28505 2006-03-03 Roman Kennke <kennke@aicas.com>
28506
28507 * NEWS: Added comment about text highlighting and copy+paste
28508 in Swing.
28509
28510 2006-03-03 Roman Kennke <kennke@aicas.com>
28511
28512 * javax/swing/JTabbedPane.java
28513 (remove(int)): Call super.remove(int) instead of remove(Component).
28514 Avoids a stack overflow.
28515
28516 2006-03-03 Roman Kennke <kennke@aicas.com>
28517
28518 * javax/swing/JTable.java
28519 (distributeSpillResizing): Avoid ArithmeticException by checking
28520 divisor.
28521
28522 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28523
28524 * javax/swing/text/package.html: Added package description.
28525
28526 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28527
28528 * javax/swing/CellRendererPane.java: Minor API doc fix,
28529 * javax/swing/ComboBoxModel.java: Updated API docs.
28530
28531 2006-03-03 Chris Burdess <dog@gnu.org>
28532
28533 Fixes PR 26503
28534 * gnu/xml/stream/EntityReferenceImpl.java,
28535 gnu/xml/stream/FilteredEventReader.java,
28536 gnu/xml/stream/SAXParser.java,
28537 gnu/xml/stream/XIncludeFilter.java,
28538 gnu/xml/stream/XMLEventAllocatorImpl.java,
28539 gnu/xml/stream/XMLEventFactoryImpl.java,
28540 gnu/xml/stream/XMLEventImpl.java,
28541 gnu/xml/stream/XMLEventReaderImpl.java,
28542 gnu/xml/stream/XMLEventWriterImpl.java,
28543 gnu/xml/stream/XMLInputFactoryImpl.java,
28544 gnu/xml/stream/XMLOutputFactoryImpl.java,
28545 gnu/xml/stream/XMLParser.java,
28546 javax/xml/stream/EventFilter.java,
28547 javax/xml/stream/Location.java,
28548 javax/xml/stream/StreamFilter.java,
28549 javax/xml/stream/XMLEventFactory.java,
28550 javax/xml/stream/XMLEventReader.java,
28551 javax/xml/stream/XMLEventWriter.java,
28552 javax/xml/stream/XMLInputFactory.java,
28553 javax/xml/stream/XMLOutputFactory.java,
28554 javax/xml/stream/XMLReporter.java,
28555 javax/xml/stream/XMLResolver.java,
28556 javax/xml/stream/XMLStreamConstants.java,
28557 javax/xml/stream/XMLStreamReader.java,
28558 javax/xml/stream/events/EntityDeclaration.java,
28559 javax/xml/stream/events/EntityReference.java,
28560 javax/xml/stream/events/XMLEvent.java,
28561 javax/xml/stream/util/EventReaderDelegate.java,
28562 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28563 StAX API as specified in JWSDP 2.0.
28564 * gnu/xml/stream/EndEntityImpl.java,
28565 gnu/xml/stream/LocationImpl.java,
28566 gnu/xml/stream/StartEntityImpl.java,
28567 gnu/xml/stream/XMLStreamReaderImpl.java,
28568 javax/xml/stream/XMLFilter.java,
28569 javax/xml/stream/XMLIterator.java,
28570 javax/xml/stream/events/EndEntity.java,
28571 javax/xml/stream/events/StartEntity.java: Removed legacy files.
28572
28573 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28574
28575 * javax/swing/CellEditor.java: API doc updates,
28576 * javax/swing/DefaultCellEditor.java: Likewise.
28577
28578 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28579
28580 * javax/swing/AbstractListModel.java:
28581 (AbstractListModel): Added API docs,
28582 (fireContentsChanged): Minor API doc correction,
28583 (fireIntervalAdded): Likewise,
28584 (fireIntervalRemoved): Likewise.
28585
28586 2006-03-03 Roman Kennke <kennke@aicas.com>
28587
28588 * NEWS: Added paragraph about Swing improvements.
28589
28590 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28591
28592 * javax/swing/AbstractAction.java: Updated API docs all over,
28593 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28594 (stopCellEditing): Minor API doc correction,
28595 * javax/swing/UnsupportedLookAndFeelException.java
28596 (UnsupportedLookAndFeelException): Changed argument name, updated API
28597 docs.
28598
28599 2006-03-03 Roman Kennke <kennke@aicas.com>
28600
28601 * javax/swing/plaf/metal/MetalUtils.java
28602 (fillMetalPattern): Added switch to not use Graphics2D methods,
28603 even if they are available.
28604
28605 2006-03-03 Roman Kennke <kennke@aicas.com>
28606
28607 * javax/swing/plaf/basic/BasicHTML.java
28608 (isHTMLString): Check for string beeing null.
28609 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28610 (BasicInternalFrameListener.internalFrameActivated): Implemented.
28611 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28612 (InternalFrameLayout): Don't touch the glass pane here.
28613 (installUI): Fix handling of glass pane.
28614 * javax/swing/plaf/basic/BasicLabelUI.java
28615 (vr): New field.
28616 (ir): New field.
28617 (tr): New field.
28618 (BasicLabelUI): Initialize new fields.
28619 (getPreferredSize): Avoid creating new Rectangles by using
28620 SwingUtilities method.
28621 (paint): Avoid creating new Rectangles by reusing
28622 new fields. Added some preliminary handling of HTML inside the
28623 label.
28624 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
28625 (uninstallComponents): Clear HTML renderer.
28626 (propertyChange): Check for HTML text and install renderer if
28627 appropriate.
28628 * javax/swing/plaf/basic/BasicListUI.java
28629 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
28630 method.
28631 * javax/swing/plaf/basic/BasicTextUI.java
28632 (RootView.getStartOffset): Implemented.
28633 (RootView.getEndOffset): Implemented.
28634 (RootView.getDocument): Implemented.
28635
28636 2006-03-03 Roman Kennke <kennke@aicas.com>
28637
28638 * javax/swing/text/DefaultStyledDocument.java
28639 (ElementBuffer.inserUpdate): Added check for zero-length
28640 element.
28641 * javax/swing/text/DefaultStyledDocument.java
28642 (setIndex): Improved exception message.
28643 * javax/swing/text/TableView.java
28644 Made class abstract.
28645 (TableRow.replace): Probably extend columnRequirements
28646 arrays.
28647 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
28648 of super.layoutMajorAxis.
28649 (columnRequirements): Made field package private.
28650 (TableView): Do not load any child views here.
28651 (layoutColumns): Implemented this method.
28652 (updateColumnRequirements): New helper method.
28653 * javax/swing/text/Utilities.java
28654 (getBreakLocation): Also take offset into account when
28655 finding end location.
28656 * javax/swing/text/html/HTMLDocument.java
28657 (HTMLReader.parseStack): New field.
28658 (HTMLReader.blockOpen): Properly handle p-implied tags.
28659 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
28660 (HTMLReader.addContent): Insert p-implied when adding content to
28661 a block element.
28662 * javax/swing/text/html/HTMLEditorKit.java
28663 (HTMLFactory.create): Create HTMLTableView for <table> tags and
28664 ParagraphView for TD tags. Print out warning for tags that don't have
28665 matching view yet and create NullView for them.
28666 (read): Only set document base when document != null.
28667 * javax/swing/text/html/HTMLTableView.java:
28668 New class
28669
28670 2006-03-03 Roman Kennke <kennke@aicas.com>
28671
28672 * javax/swing/plaf/basic/BasicHTML.java
28673 (HTMLRootView): New inner class.
28674 (createHTMLView): Embed view inside a HTMLRootView.
28675
28676 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
28677
28678 * gnu/java/net/protocol/jar/Connection.java:
28679 (connect): Throw FileNotFoundException.
28680 (getInputStream): Remove duplicated code.
28681
28682 2006-03-03 Roman Kennke <kennke@aicas.com>
28683
28684 * javax/swing/RepaintManager.java
28685 (commitBuffer): Added null check for clip.
28686
28687 2006-03-02 Lillian Angel <langel@redhat.com>
28688
28689 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28690 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
28691 to use GtkWidget instead of GTKMenu.
28692
28693 2006-03-02 Lillian Angel <langel@redhat.com>
28694
28695 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28696 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
28697 use the submenu to get the list of children. This now works
28698 in the same way as addItem.
28699
28700 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
28701
28702 * java/lang/StringBuilder.java:
28703 (codePointAt): New method.
28704 (codePointBefore): Likewise.
28705 (codePointCount): Likewise.
28706 (trimToSize): Likewise.
28707
28708 2006-03-02 Tom Tromey <tromey@redhat.com>
28709
28710 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
28711
28712 2006-03-02 Tom Tromey <tromey@redhat.com>
28713
28714 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
28715 (getProviderInstance):
28716
28717 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
28718
28719 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
28720 Fix regression caused by move to VM variant.
28721 PR classpath/22926.
28722
28723 2006-03-01 Tom Tromey <tromey@redhat.com>
28724
28725 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
28726 * vm/reference/java/net/VMInetAddress.java: Organized imports.
28727 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
28728 imports for javadoc.
28729 (getProxyClass): Javadoc fixes.
28730 (getProxyData): Likewise.
28731 (generateProxyClass): Likewise.
28732 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
28733 (setOut): Likewise.
28734 (setErr): Likewise.
28735 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
28736 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
28737 fix.
28738 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
28739 javadoc.
28740 (getModifiers): Likewise.
28741 (getDeclaredClasses): Javadoc fix.
28742 (getDeclaredFields): Likewise.
28743 (getDeclaredMethods): Likewise.
28744 (getDeclaredConstructors): Likewise.
28745 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
28746 Javadoc fix.
28747
28748 2006-03-01 Tom Tromey <tromey@redhat.com>
28749
28750 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
28751 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
28752 (getVersion): Javadoc fix.
28753 (get): Likewise.
28754 * gnu/java/net/protocol/http/Headers.java: Organized imports.
28755 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
28756
28757 2006-03-01 David Daney <ddaney@avtrex.com>
28758
28759 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
28760 as relative if it contains a colon but no protocol handler can be
28761 found.
28762
28763 2006-03-01 Roman Kennke <kennke@aicas.com>
28764
28765 * javax/swing/text/AbstractDocument.java
28766 (LeafElement.LeafElement): Handle delta with respect to content
28767 length not document length.
28768 * javax/swing/text/CompositeView.java
28769 (getViewIndex): Handle bias correctly.
28770 * javax/swing/text/DefaultCaret.java
28771 (paint): Align caret position to document bounds to avoid trouble
28772 when removing large portions of content.
28773 * javax/swing/text/DefaultStyledDocument.java
28774 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
28775 (ElementBuffer.createFracture): Copy old childs attribute. The
28776 ElementSpec usually doesn't carry attribute information.
28777 Use pos instead of offset.
28778 (ElementBuffer.insertFracture): Use pos instead of offset.
28779 (createDefaultRootElement): Don't use create* and instead directly
28780 instantiate the elements.
28781 (handleInsertAfterNewline): Compare the paragraphs startOffset
28782 rather than previous paragraphs endOffset.
28783 * javax/swing/text/JTextComponent.java
28784 (getScrollableTracksViewportWidth): Remove unnecessary cast to
28785 JViewport.
28786 (getScrollableTracksViewportHeight): Remove unnecessary cast to
28787 JViewport.
28788 * javax/swing/text/PlainView.java
28789 (damageLineRange): Avoid creating new Rectangle by using
28790 SwingUtilities.
28791 * javax/swing/text/View.java
28792 (forwardUpdate): Correct the use of bias.
28793 (modelToView): Avoid new Rectangles by using SwingUtilities.
28794 (dump): Made (temprorarily) protected for use in BasicTextUI.
28795 (dump(int)): Dump out the element of the view.
28796
28797 2006-03-01 Lillian Angel <langel@redhat.com>
28798
28799 * NEWS: javax.imageio.plugins.bmp implementation.
28800
28801 2006-03-01 Lillian Angel <langel@redhat.com>
28802
28803 * javax/imageio/ImageWriteParam.java:
28804 Added documentation for fields.
28805 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
28806 New class implemented.
28807
28808 2006-03-01 Tom Tromey <tromey@redhat.com>
28809
28810 * NEWS: Mention java.util.prefs update.
28811
28812 2006-03-01 Tom Tromey <tromey@redhat.com>
28813
28814 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
28815 * java/nio/charset/UnmappableCharacterException.java:
28816 (serialVersionUID): New field.
28817 * java/nio/charset/MalformedInputException.java:
28818 (serialVersionUID): New field.
28819 * java/nio/charset/CoderMalfunctionError.java:
28820 (serialVersionUID): New field.
28821 * java/nio/charset/CharacterCodingException.java:
28822 (serialVersionUID): New field.
28823 * java/nio/channels/UnsupportedAddressTypeException.java:
28824 (serialVersionUID): New field.
28825 * java/nio/channels/UnresolvedAddressException.java:
28826 (serialVersionUID): New field.
28827 * java/nio/channels/OverlappingFileLockException.java:
28828 (serialVersionUID): New field.
28829 * java/nio/channels/NotYetConnectedException.java:
28830 (serialVersionUID): New field.
28831 * java/nio/channels/NotYetBoundException.java
28832 (serialVersionUID): New field.
28833 * java/nio/channels/NonWritableChannelException.java
28834 (serialVersionUID): New field.
28835 * java/nio/channels/NonReadableChannelException.java
28836 (serialVersionUID): New field.
28837 * java/nio/channels/NoConnectionPendingException.java
28838 (serialVersionUID): New field.
28839 * java/nio/channels/IllegalSelectorException.java
28840 (serialVersionUID): New field.
28841 * java/nio/channels/IllegalBlockingModeException.java
28842 (serialVersionUID): New field.
28843 * java/nio/channels/FileLockInterruptionException.java
28844 (serialVersionUID): New field.
28845 * java/nio/channels/ConnectionPendingException.java
28846 (serialVersionUID): New field.
28847 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
28848 New field.
28849 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
28850 New field.
28851 * java/nio/channels/ClosedByInterruptException.java
28852 (serialVersionUID): New field.
28853 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
28854 New field.
28855 * java/nio/channels/AsynchronousCloseException.java
28856 (serialVersionUID): New field.
28857 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
28858 New field.
28859 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
28860 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
28861 * java/nio/BufferUnderflowException.java (serialVersionUID): New
28862 field.
28863 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
28864 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
28865 Javadoc fix. Added import.
28866 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
28867 (validOps): Likewise.
28868 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
28869 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
28870 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
28871 * java/nio/channels/Channels.java: Added import.
28872 * java/nio/channels/FileChannel.java (lock): Typo fix.
28873 (tryLock): Likewise.
28874
28875 2006-03-01 Tom Tromey <tromey@redhat.com>
28876
28877 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
28878 FileBasedFactory.
28879 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
28880 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
28881 (clear): Likewise.
28882 (putSpi): Likewise.
28883 (newNode): Likewise.
28884 (node): Likewise.
28885 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
28886 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
28887 field.
28888 (systemRoot): Use it.
28889 (userPreferences): New field.
28890 (userRoot): Use it.
28891
28892 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
28893
28894 * java/util/ResourceBundle.java
28895 (tryBundle): Catch and ignore all Exceptions.
28896
28897 2006-02-28 Roman Kennke <kennke@aicas.com>
28898
28899 * javax/swing/plaf/basic/BasicScrollBarUI.java
28900 (getPreferredSize): Fixed add a fixed space between the buttons
28901 instead of something related to min/max.
28902 (installComponents): Create and install buttons here.
28903 (installDefaults): Don't create buttons here.
28904 * javax/swing/plaf/metal/MetalScrollBarUI.java
28905 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
28906 (getPreferredSize): New method.
28907
28908 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
28909
28910 * examples/gnu/classpath/examples/swing/Demo.java
28911 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
28912 connected 'Spinner' action to SpinnerDemo,
28913 (mkCheckbox): Removed,
28914 (mkRadio): Likewise,
28915 (mkSpinner): Likewise,
28916 (mkToggle): Likewise,
28917 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
28918 connected 'Spinner' action to SpinnerDemo.
28919
28920 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
28921
28922 * javax/print/ServiceUIFactory.java: Added documentation to class.
28923
28924 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
28925
28926 PR classpath/26434
28927 * javax/swing/DefaultListSelectionModel.java:
28928 (addSelectionInterval): Return early if either of the arguments is -1.
28929 (removeSelectionInterval): Likewise.
28930 (setSelectionInterval): Likewise.
28931
28932 2006-02-28 Lillian Angel <langel@redhat.com>
28933
28934 * javax/swing/text/DefaultFormatter.java
28935 (stringToValue): Added NPE check.
28936
28937 2006-02-28 Roman Kennke <kennke@aicas.com>
28938
28939 PR classpath/25675
28940 * javax/swing/JList.java
28941 (getPreferredScrollableViewportSize): Restored specified behaviour.
28942 * javax/swing/plaf/metal/MetalFileChooserUI.java
28943 (createList): Set filelist panel's preferredSize, so that it doesn't
28944 get size into infinity for big lists.
28945
28946 2006-02-28 Lillian Angel <langel@redhat.com>
28947
28948 * javax/swing/ViewportLayout.java
28949 (layoutContainer): Should not extend container to be
28950 minimum size. Mauve test shows that the preferred size
28951 and the size of the viewport can be set smaller than
28952 the minimum.
28953
28954 2006-02-28 Lillian Angel <langel@redhat.com>
28955
28956 PR classpath/25675
28957 * javax/swing/JList.java
28958 (getPreferredScrollableViewportSize): Added a check to determine
28959 if orientation is VERTICAL_WRAP. If it is, we should only
28960 show 3 columns.
28961
28962 2006-02-28 Lillian Angel <langel@redhat.com>
28963
28964 PR classpath/26003
28965 * javax/swing/ViewportLayout.java:
28966 Patch submitted by Audrius Meskauskas
28967 (addLayoutComponent): Added documentation.
28968 (removeLayoutComponent): Likewise.
28969 (preferredLayoutSize): Likewise.
28970 (minimumLayoutSize): Likewise.
28971 (layoutContainer): Fixed code, so view is set
28972 to the right position when inside a scrollpane.
28973
28974 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
28975
28976 * java/math/BigInteger.java:
28977 Committed patch by Rafael:
28978 developer.classpath.org/pipermail/classpath-patches/
28979 2006-February/000473.html
28980 (signum): Return early 0 if words == null and ival == 0.
28981 (readObject): Handle special case of magnitude.length or signum being
28982 0.
28983 (writeObject): If signum is zero return a zero-sized byte[].
28984
28985 2006-02-28 Lillian Angel <langel@redhat.com>
28986
28987 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
28988 (create): Initially set the directory to the current working directory.
28989 (setDirectory): Removed else-if. No need for this check.
28990
28991 2006-02-28 Tom Tromey <tromey@redhat.com>
28992
28993 * .project: Run java builder before header generation.
28994
28995 2006-02-28 Tom Tromey <tromey@redhat.com>
28996
28997 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
28998 Javadoc fix.
28999 * gnu/java/util/prefs/EventDispatcher.java: New file.
29000 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29001 (NodeWriter): Specify UTF-8.
29002 (writeHeader): Emit DOCTYPE.
29003 * java/util/prefs/Preferences.java (getFactory): Add cause to
29004 exception.
29005 (exportNode): Documented.
29006 (exportSubtree): Likewise.
29007 (importPreferences): Likewise.
29008 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29009 (writeObject): Likewise.
29010 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29011 (writeObject): Likewise.
29012 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29013 (nodeListeners): New field.
29014 (preferenceListeners): Likewise.
29015 (addNodeChangeListener): Implemented.
29016 (addPreferenceChangeListener): Likewise.
29017 (removeNodeChangeListener): Likewise.
29018 (removePreferenceChangeListener): Likewise.
29019 (fire): New methods.
29020 (put): Fire event.
29021 (remove): Likewise.
29022 (purge): Likewise. Fixed synchronization.
29023 (removeNode): Fixed synchronization.
29024 (getNode): Fire event.
29025 (flushNode): Fixed synchronization.
29026
29027 2006-02-28 Roman Kennke <kennke@aicas.com>
29028
29029 * javax/swing/text/BranchElement.java
29030 (startOffset): New field.
29031 (endOffset): New field.
29032 (BranchElement): Initialize new fields.
29033 (getEndOffset): Rewritten to possibly return cached values
29034 if element has no children.
29035 (getStartOffset): Rewritten to possibly return cached values
29036 if element has no children.
29037 * javax/swing/text/LeafElement.java
29038 (startDelta): New field.
29039 (endDelta): New field.
29040 (LeafElement): Handle possible delta of start/endOffset when
29041 these parameters lie outside the document range.
29042 (getStartOffset): Handle possible startDelta.
29043 (getEndOffset): Handle possible startDelta.
29044
29045 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29046
29047 * NEWS: Added line about Unicode 4.0.0 support.
29048
29049 2006-02-28 Roman Kennke <kennke@aicas.com>
29050
29051 * javax/swing/SwingUtilities.java
29052 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29053
29054 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29055
29056 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29057
29058 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29059
29060 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29061 Amended class documentation.
29062 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29063 STRING.
29064 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29065 a BIT STRING construct.
29066 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29067 documentation.
29068 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29069 STRING.
29070 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29071 a BIT STRING construct.
29072 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29073 (engineVerify): Added logging.
29074
29075 2006-02-28 Roman Kennke <kennke@aicas.com>
29076
29077 * java/awt/Component.java
29078 (dispatchEventImpl): Let the Toolkit dispatch global events.
29079 * java/awt/Container.java
29080 (dispatchEventImpl): Let the LightweightDispatcher handle events
29081 first.
29082 * java/awt/EventQueue.java
29083 (dispatchEvent): Don't do the global event dispatching here. This
29084 is moved to the Component.
29085 (globalDispatchEvent): Moved this method to Toolkit.
29086 * java/awt/LightweightDispatcher.java
29087 (instances): New field.
29088 (getInstance): New method. Delivers an instance of
29089 LightweightDispatcher.
29090 (LightweightDispatcher): Made default constructor private.
29091 (dispatchEvent): New method. Replaces the eventDispatched method.
29092 This now returns true when the event was actually dispatched.
29093 (eventDispatched): Replaced by dispatchEvent.
29094 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29095 received the last MOUSE_RELEASED.
29096 * java/awt/Toolkit.java
29097 (Toolkit): Don't register LightweightDispatcher as global event
29098 handler.
29099 (globalDispatchEvent): Moved here from EventQueue.
29100
29101 2006-02-27 David Daney <ddaney@avtrex.com>
29102
29103 PR classpath/25851
29104 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29105 up.
29106 (getRequestProperties): Rewrote.
29107
29108 2006-02-27 David Daney <ddaney@avtrex.com>
29109
29110 PR classpath/26312
29111 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29112 up.
29113 (ChunkedInputStream): Extend InputStream.
29114 (in): New field.
29115 (headers): Moved to top of class.
29116 (constructor): Save referenct to in.
29117 (read(byte[])): Removed method.
29118 (read(byte[], int, int)): Made synchronized and throw IOException
29119 on error parsing chunk header.
29120 (available): New method.
29121 (close): New method.
29122
29123 2006-02-27 David Daney <ddaney@avtrex.com>
29124
29125 * gnu/java/net/protocol/http/HTTPURLConnection.java
29126 (imports): Cleaned up.
29127 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29128 (constructor): ... Here, using SystemProperties instead of System.
29129
29130 2006-02-27 Lillian Angel <langel@redhat.com>
29131
29132 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29133 (setDirectory): GtkFileChooser requires an absolute directory
29134 name. Added a check to make the directory passed to nativeSetDirectory
29135 is absolute.
29136
29137 2006-02-27 Roman Kennke <kennke@aicas.com>
29138
29139 * javax/swing/SwingUtilities.java
29140 (computeIntersection): Changed to store result in rect, instead of
29141 creating new Rectangle instances. Fixed API docs accordingly.
29142 (computeUnion): Changed to store result in rect, instead of
29143 creating new Rectangle instances. Fixed API docs accordingly.
29144
29145 2006-02-27 Roman Kennke <kennke@aicas.com>
29146
29147 * javax/swing/JViewport.java
29148 (static_init): Changed default scrollmode to BLIT.
29149 (paintSimple): Added some clipping to avoid painting problems.
29150 (paintBlit): Added some clipping to avoid painting problems.
29151
29152 2006-02-27 Roman Kennke <kennke@aicas.com>
29153
29154 * javax/swing/JComponent.java
29155 (rectCache): Made field static to save memory.
29156 (getVisibleRect): Don't use rectCache and create new Rectangle
29157 instance instead.
29158 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29159 (repaint(long,int,int,int,int)): Directly call
29160 RepaintManager.addDirtyRegion(). The visibleRect check is now
29161 performed in the RepaintManager.
29162
29163 2006-02-27 Roman Kennke <kennke@aicas.com>
29164
29165 * javax/swing/RepaintManager.java
29166 (currentRepaintManagers): Made field private.
29167 (rectCache): New field.
29168 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29169 component. Changed Rectangle handling to avoid unnecessary new
29170 Rectangle instances.
29171 (getOffscreenBuffer): Create buffer with size of the root window.
29172 Respect the maximum buffer size here.
29173 (commitBuffer): Align the regions so that they are inside the buffer
29174 image and inside the clip. This avoids problems with a bug in GTKImage.
29175 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29176
29177 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29178
29179 * native/fdlibm/e_acos.c,
29180 * native/fdlibm/e_asin.c,
29181 * native/fdlibm/e_atan2.c,
29182 * native/fdlibm/e_cosh.c,
29183 * native/fdlibm/e_exp.c,
29184 * native/fdlibm/e_fmod.c,
29185 * native/fdlibm/e_hypot.c,
29186 * native/fdlibm/e_log.c,
29187 * native/fdlibm/e_log10.c,
29188 * native/fdlibm/e_rem_pio2.c,
29189 * native/fdlibm/e_remainder.c,
29190 * native/fdlibm/e_sinh.c,
29191 * native/fdlibm/e_sqrt.c,
29192 * native/fdlibm/k_cos.c,
29193 * native/fdlibm/k_sin.c,
29194 * native/fdlibm/k_tan.c,
29195 * native/fdlibm/s_atan.c,
29196 * native/fdlibm/s_cbrt.c,
29197 * native/fdlibm/s_ceil.c,
29198 * native/fdlibm/s_copysign.c,
29199 * native/fdlibm/s_cos.c,
29200 * native/fdlibm/s_expm1.c,
29201 * native/fdlibm/s_fabs.c,
29202 * native/fdlibm/s_finite.c,
29203 * native/fdlibm/s_floor.c,
29204 * native/fdlibm/s_log1p.c,
29205 * native/fdlibm/s_rint.c,
29206 * native/fdlibm/s_scalbn.c,
29207 * native/fdlibm/s_sin.c,
29208 * native/fdlibm/s_tan.c,
29209 * native/fdlibm/s_tanh.c:
29210 Fixed to call our macros rather than __HI and __LO.
29211 * native/fdlibm/fdlibm.h:
29212 Reintroduced previous extraction code.
29213 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29214 (GET_HIGH_WORD(i,d)): Readded.
29215 (GET_LOW_WORD(i,d)): Readded.
29216 (INSERT_WORDS(d,ix0,ix1)): Readded.
29217 (SET_HIGH_WORD(d,i)): Readded.
29218 (SET_LOW_WORD(d,i)): Readded.
29219 * native/jni/gtk-peer/gthread-jni.c:
29220 Use Glib macros to convert integers/pointers portably.
29221
29222 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29223
29224 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29225 as the fallback SPI.
29226 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29227 ones referencing GNU-CRYPTO classes.
29228 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29229 (engineValidate): Use GNU-CRYPTO class.
29230 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29231 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29232 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29233 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29234 * gnu/java/security/provider/DSAParameters: Likewise.
29235 * gnu/java/security/provider/DSASignature: Likewise.
29236 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29237 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29238 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29239 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29240 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29241 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29242 * gnu/java/security/provider/MD2withRSA: Likewise.
29243 * gnu/java/security/provider/MD4withRSA: Likewise.
29244 * gnu/java/security/provider/MD5: Likewise.
29245 * gnu/java/security/provider/MD5withRSA: Likewise.
29246 * gnu/java/security/provider/RSA: Likewise.
29247 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29248 * gnu/java/security/provider/SHA: Likewise.
29249 * gnu/java/security/provider/SHA1PRNG: Likewise.
29250 * gnu/java/security/provider/SHA1withRSA: Likewise.
29251 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29252
29253 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29254
29255 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29256 (engineGeneratePublic): Added logging.
29257 (engineGeneratePrivate): Likewise.
29258 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29259 (encodePublicKey): Added logging.
29260 Clarified in method documentation that params is optional, but is
29261 always NULL if present.
29262 (decodePublicKey): Added logging.
29263 Handle optional NULL element.
29264
29265 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29266
29267 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29268
29269 2006-03-03 Tom Tromey <tromey@redhat.com>
29270
29271 * java/awt/MenuBar.java (shortcuts): Genericized.
29272
29273 2006-03-03 Tom Tromey <tromey@redhat.com>
29274
29275 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29276 Genericized.
29277 (getListenerType): Likewise.
29278 * java/beans/Introspector.java (getBeanInfo): Genericized.
29279 * java/beans/DefaultPersistenceDelegate.java (initialize):
29280 Genericized.
29281
29282 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29283
29284 * java/math/BigDecimal.java:
29285 (precision): Fixed overflow problem with large numbers.
29286 (longValueExact): New method.
29287 (intValueExact): Likewise.
29288 (byteValueExact): Likewise.
29289 (shortValueExact): Likewise.
29290
29291 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29292
29293 * java/math/BigDecimal.java:
29294 (remainder(BigDecimal)): New method.
29295 (divideAndRemainder(BigDecimal)): Likewise.
29296 (divideToIntegralValue(BigDecimal)): Likewise.
29297 (floor): New implementation method.
29298
29299 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29300
29301 * java/math/BigDecimal.java:
29302 (divide(BigDecimal, int, RoundingMode)): New method.
29303 (divide(BigDecimal, RoundingMode)): Likewise.
29304 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29305 when the new scale is < 0.
29306 (setScale(int, RoundingMode)): New method.
29307 (ulp): Likewise.
29308
29309 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29310
29311 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29312 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29313 (add(BigDecimal, MathContext)): New method.
29314 (subtract(BigDecimal, MathContext)): Likewise.
29315 (precision): Fixed to correctly handle BigIntegers with more than 19
29316 digits.
29317 (pow(int, MathContext)): New method.
29318
29319 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29320
29321 * java/math/BigDecimal.java: Added @throws clause to constructors.
29322 (mathContext): Removed this unneeded field.
29323 (BigDecimal(int, MathContext)): New constructor.
29324 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29325 (multiply(BigDecimal, MathContext)): New method.
29326 (negate(MathContext)): Likewise.
29327 (plus(MathContext)): Likewise.
29328 (numDigitsInLong): Fixed to properly handle negatives.
29329
29330 2006-02-25 Chris Burdess <dog@gnu.org>
29331
29332 * gnu/java/net/CRLFInputStream.java,
29333 gnu/java/net/LineInputStream.java: Streams that use mark
29334 capabilities on the underlying stream do not expose mark
29335 functionality themselves.
29336 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29337 off > 0.
29338
29339 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29340
29341 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29342 option flags passed to match methods.
29343 (MF_FIND_ALL): New flag.
29344 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29345 do not try other possibilties once a match is found.
29346 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29347 so that all possibilities can be found.
29348 (match): Rewritten using new methods matchMinimum and _match.
29349 (_match): New method which performs a depth-first recursive search.
29350 (matchMinimum): New method.
29351 (initVisited), (visitedContains), (addVisited): New methods for
29352 manipulating an array of icharacter positions which _match has
29353 already visited.
29354
29355 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29356
29357 * java/math/BigDecimal.java:
29358 (BigDecimal(long, MathContext)): New constructor.
29359 (BigDecimal(BigInteger, MathContext)): Likewise.
29360 (BigDecimal(String, MathContext)): Likewise.
29361 (BigDecimal(double, MathContext)): Likewise.
29362 (round): Fixed a typo where the precision field was used instead of a
29363 call to the precision method, and also store the new precision in the
29364 returned BigDecimal.
29365 (abs(MathContext)): New method.
29366
29367 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29368
29369 * java/math/BigDecimal.java
29370 (toBigInteger): Fixed problem where this method couldn't handle
29371 negative values for scale.
29372 (toBigIntegerExact): New method.
29373 (stripTrailingZeros): Likewise.
29374
29375 2006-02-24 David Daney <ddaney@avtrex.com>
29376
29377 PR classpath/26082
29378 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29379 type Pool.
29380 (Pool): New inner class.
29381 (timeLastUsed): New field.
29382 (setPool): Changed parameter type to Pool.
29383 (release): Moved pool management logic to new class Pool.
29384 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29385 Removed.
29386 (maxConnections) : Removed.
29387 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29388 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29389
29390 2006-02-24 Lillian Angel <langel@redhat.com>
29391
29392 * java/awt/Container.java:
29393 Added new field. True if Container has been cleared and
29394 heavyweights need to be repainted.
29395 (paint): Fixed comment. Fixed to use backCleared and
29396 reset backCleared.
29397 (update): Set backCleared to true after the background
29398 of the container has been cleared.
29399
29400 2006-02-24 Lillian Angel <langel@redhat.com>
29401
29402 * java/awt/TextField.java
29403 (addNotify): Added call to super.
29404
29405 2006-02-24 Lillian Angel <langel@redhat.com>
29406
29407 * java/awt/Component.java
29408 (reshape): Reverted last patch. Should have check here.
29409 (addNotify): Added check. If parent is lightweight, then
29410 initialize listener on the parent.
29411 (HeavyweightInLightweightListener): New class.
29412
29413 2006-02-24 Roman Kennke <kennke@aicas.com>
29414
29415 * javax/swing/plaf/basic/BasicComboPopup.java
29416 (show): Register the popup with the autocloser after it has been
29417 opened completely, by putting the registration on the eventqueue.
29418
29419 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29420
29421 * gnu/java/security/prng/BasePRNG.java:
29422 (clone()): Added cast of buffer to byte[].
29423 * gnu/javax/crypto/mac/TMMH16.java:
29424 (clone()): Fixed casting of cloned arrays.
29425 * native/fdlibm/fdlibm.h:
29426 Added missing defines from old fdlibm.h needed by Darwin.
29427 (GET_FLOAT_WORD(i,d)): Re-added.
29428 (SET_FLOAT_WORD(d,i)): Re-added.
29429
29430 2006-02-24 Roman Kennke <kennke@aicas.com>
29431
29432 * java/awt/Container.java:
29433 (dispatcher): Removed field.
29434 (dispatchEventImpl): Removed lightweight dispatching.
29435 (addNotifyContainerChildren): Removed LightweightDispatcher
29436 handling.
29437 (LightweightDispatcher): Removed class.
29438 * java/awt/LightweightDispatcher.java: New class.
29439 * java/awt/Toolkit.java
29440 (Toolkit): Install LightweightDispatcher in global listener
29441 array.
29442
29443 2006-02-24 Chris Burdess <dog@gnu.org>
29444
29445 Fixes PR 26324
29446 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29447 off > 0.
29448
29449 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29450
29451 * NEWS: Mentions the VMMath runtime changes.
29452 * doc/vmintegration.texinfo: Updated to include
29453 VMMath.
29454
29455 2006-02-24 Roman Kennke <kennke@aicas.com>
29456
29457 * javax/swing/plaf/basic/BasicLookAndFeel.java
29458 (PopupHelper.autoClosePopups): New field.
29459 (PopupHelper.mousePressed): Also autoclose any registered popups.
29460 (PopupHelper.registerForAutoClose): New method.
29461 (PopupHelper.autoClosePopups): New method.
29462 (popupHelper): Changed type of field to PopupHelper.
29463 (registerForAutoClose): New method.
29464 * javax/swing/plaf/basic/BasicComboPopup.java
29465 (show): Register this popup for autoclosing.
29466
29467 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29468
29469 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29470 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29471 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29472
29473 2006-02-24 Roman Kennke <kennke@aicas.com>
29474
29475 Reported by Ingo Proetel <proetel@aicas.com>
29476 * java/util/logging/LogManager.java
29477 (addLogger): Search the parent loggers for log level
29478 configuration and inherit that.
29479 (readConfiguration): Provide minimal default configuration
29480 if no configuration can be found otherwise.
29481
29482 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29483
29484 * java/math/BigDecimal.java:
29485 (toString): Fixed a problem where the negative sign was being displayed
29486 twice in the exponent.
29487 (toEngineeringString): New method.
29488 (toPlainString): Likewise.
29489 (pow): Likewise.
29490
29491 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29492
29493 * java/math/BigDecimal.java:
29494 (toString): Rewrote this method to behave as specified. Added API
29495 comments to explain behaviour.
29496 (scaleByPowerOfTen): New method.
29497
29498 2006-02-23 Roman Kennke <kennke@aicas.com>
29499
29500 * javax/swing/JRootPane.java
29501 (isOptimizedDrawingEnabled): Implemented to return true
29502 when the glassPane is not visible.
29503
29504 2006-02-23 Roman Kennke <kennke@aicas.com>
29505
29506 * javax/swing/plaf/basic/BasicLookAndFeel.java
29507 (PopupHelper): New inner class.
29508 (popupHelper): New field.
29509 (initialize): New method.
29510 (uninitialize): New method.
29511 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29512 (mouseInputListener): Removed field.
29513 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29514 handling of GlassPane.
29515 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29516 handling of GlassPane.
29517 (MouseInputHandler): Removed class.
29518
29519 2006-02-23 Roman Kennke <kennke@aicas.com>
29520
29521 * java/awt/AWTEvent.java
29522 (eventIdToMask): New utility method.
29523 * java/awt/EventQueue.java
29524 (dispatchEvent): Also globally dispatch events via the toolkit.
29525 (globalDispatchEvent): New method.
29526 * java/awt/Toolkit.java
29527 (awtEventListeners): New field.
29528 (Toolkit()): Initialize new field.
29529 (createComponent): Create GLightweightPeer here.
29530 (addAWTEventListener): Implemented and documented.
29531 (removeAWTEventListener): Implemented and documented.
29532 (getAWTEventListeners): Implemented and documented both method
29533 variants.
29534 * java/awt/event/AWTEventListenerProxy.java
29535 (eventDispatched): Don't filter events here.
29536
29537 2006-02-23 Chris Burdess <dog@gnu.org>
29538
29539 Fixes PR 26410
29540 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29541 gnu/xml/dom/JAXPFactory.java,
29542 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29543 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29544 implement DocumentBuilderFactory.get/setFeature methods.
29545
29546 2006-02-23 Lillian Angel <langel@redhat.com>
29547
29548 * gnu/java/awt/peer/GLightweightPeer.java
29549 (repaint): Scott's proposed fix. Send repaint to the
29550 component's parent.
29551 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29552 (setBounds): Removed next_parent, not needed. Removed
29553 lightweightChild, we always need to compensate for the
29554 menu bar's height.
29555 * java/awt/Component.java
29556 (setBounds): Removed check. Caused lots of problems, because some
29557 components were not being invalidated. Components should be
29558 invalidated when they are resized or moved, and in some cases,
29559 when a parent is resized/moved, the components do not know
29560 about it and do not adjust.
29561 * java/awt/Graphics.java
29562 (hitClip): Scott's proposed fix. Added check to handle a
29563 null clip.
29564
29565 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29566
29567 * javax/print/attribute/standard/MediaSize.java:
29568 (media): Field renamed to mediaName for serialization.
29569 (MediaSize): Adapted to new fieldname.
29570 (getMediaSizeName): Likewise.
29571 * javax/print/attribute/HashAttributeSet.java:
29572 (interfaceName): Field renamed to myInterface for serialization.
29573 (HashAttributeSet): Adapted to the new fieldname.
29574 (add): Likewise.
29575 (addAll): Likewise.
29576 (addInternal): Likewise.
29577 (attributeMap): Made transient.
29578 (readObject): New serialization method.
29579 (writeObject): Likewise.
29580 * javax/print/attribute/AttributeSetUtilities.java:
29581 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29582 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29583 (SynchronizedAttributeSet.addAll): Likewise.
29584 (SynchronizedAttributeSet.clear): Likewise.
29585 (SynchronizedAttributeSet.containsKey): Likewise.
29586 (SynchronizedAttributeSet.containsValue): Likewise.
29587 (SynchronizedAttributeSet.equals): Likewise.
29588 (SynchronizedAttributeSet.get): Likewise.
29589 (SynchronizedAttributeSet.hashCode): Likewise.
29590 (SynchronizedAttributeSet.isEmpty): Likewise.
29591 (SynchronizedAttributeSet.remove): Likewise.
29592 (SynchronizedAttributeSet.size): Likewise.
29593 (SynchronizedAttributeSet.toArray): Likewise.
29594 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29595 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29596 (UnmodifiableAttributeSet.addAll): Likewise.
29597 (UnmodifiableAttributeSet.clear): Likewise.
29598 (UnmodifiableAttributeSet.containsKey): Likewise.
29599 (UnmodifiableAttributeSet.containsValue): Likewise.
29600 (UnmodifiableAttributeSet.equals): Likewise.
29601 (UnmodifiableAttributeSet.get): Likewise.
29602 (UnmodifiableAttributeSet.hashCode): Likewise.
29603 (UnmodifiableAttributeSet.isEmpty): Likewise.
29604 (UnmodifiableAttributeSet.remove): Likewise.
29605 (UnmodifiableAttributeSet.size): Likewise.
29606 (UnmodifiableAttributeSet.toArray): Likewise.
29607 * javax/print/attribute/standard/MediaPrintableArea.java:
29608 (width): Field renamed to w for serialization.
29609 (height): Field renamed to h for serialization.
29610 (MediaPrintableArea): Adapted to the new fieldnames.
29611 (MediaPrintableArea): Likewise.
29612 (equals): Likewise.
29613 (hashCode): Likewise.
29614 (getHeight): Likewise.
29615 (getWidth): Likewise.
29616
29617 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
29618
29619 * include/java_lang_VMMath.h:
29620 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29621 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29622 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
29623 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
29624 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
29625 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
29626 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
29627 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
29628 * java/lang/Math.java:
29629 (cbrt(double)): Implemented.
29630 (cosh(double)): Implemented.
29631 (expm1(double)): Implemented.
29632 (hypot(double,double)): Implemented.
29633 (log10(double)): Implemented.
29634 (log1p(double)): Implemented.
29635 (signum(double)): Implemented.
29636 (signum(float)): Implemented.
29637 (sinh(double)): Implemented.
29638 (tanh(double)): Implemented.
29639 * native/fdlibm/Makefile.am:
29640 Added new files from fdlibm 5.3.
29641 * native/fdlibm/e_acos.c,
29642 * native/fdlibm/e_asin.c,
29643 * native/fdlibm/e_atan2.c,
29644 * native/fdlibm/e_exp.c,
29645 * native/fdlibm/e_fmod.c,
29646 * native/fdlibm/e_log.c,
29647 * native/fdlibm/e_rem_pio2.c,
29648 * native/fdlibm/e_remainder.c,
29649 * native/fdlibm/e_scalb.c,
29650 * native/fdlibm/e_sqrt.c,
29651 * native/fdlibm/k_cos.c,
29652 * native/fdlibm/k_rem_pio2.c,
29653 * native/fdlibm/k_sin.c,
29654 * native/fdlibm/k_tan.c,
29655 * native/fdlibm/s_atan.c,
29656 * native/fdlibm/s_ceil.c,
29657 * native/fdlibm/s_copysign.c,
29658 * native/fdlibm/s_cos.c,
29659 * native/fdlibm/s_fabs.c,
29660 * native/fdlibm/s_finite.c,
29661 * native/fdlibm/s_floor.c,
29662 * native/fdlibm/s_rint.c,
29663 * native/fdlibm/s_scalbn.c,
29664 * native/fdlibm/s_sin.c,
29665 * native/fdlibm/s_tan.c,
29666 * native/fdlibm/w_acos.c,
29667 * native/fdlibm/w_asin.c,
29668 * native/fdlibm/w_atan2.c,
29669 * native/fdlibm/w_acos.c,
29670 * native/fdlibm/w_exp.c,
29671 * native/fdlibm/w_fmod.c,
29672 * native/fdlibm/w_log.c,
29673 * native/fdlibm/w_pow.c,
29674 * native/fdlibm/w_remainder.c,
29675 * native/fdlibm/w_sqrt.c:
29676 Updated to fdlibm 5.3.
29677 * native/fdlibm/e_cosh.c,
29678 * native/fdlibm/e_hypot.c,
29679 * native/fdlibm/e_log10.c,
29680 * native/fdlibm/e_sinh.c,
29681 * native/fdlibm/s_cbrt.c,
29682 * native/fdlibm/s_expm1.c,
29683 * native/fdlibm/s_log1p.c,
29684 * native/fdlibm/s_tanh.c,
29685 * native/fdlibm/w_cosh.c,
29686 * native/fdlibm/w_hypot.c,
29687 * native/fdlibm/w_log10.c,
29688 * native/fdlibm/w_sinh.c:
29689 Imported from fdlibm 5.3.
29690 * native/fdlibm/fdlibm.h:
29691 Imported from fdlibm 5.3 with Classpath additions.
29692 * native/fdlibm/namespace.h:
29693 Updated from new math_symbols file.
29694 * native/jni/java-lang/java_lang_VMMath.c:
29695 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
29696 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
29697 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
29698 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
29699 Implemented.
29700 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
29701 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
29702 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
29703 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
29704 * scripts/math_symbols:
29705 Added tanh, expm1, log10 and log1p.
29706 * vm/reference/java/lang/VMMath.java:
29707 (cbrt(double)): Implemented.
29708 (cosh(double)): Implemented.
29709 (expm1(double)): Implemented.
29710 (hypot(double,double)): Implemented.
29711 (log10(double)): Implemented.
29712 (log1p(double)): Implemented.
29713 (sinh(double)): Implemented.
29714 (tanh(double)): Implemented.
29715
29716 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29717
29718 * javax/print/DocFlavor.java: Added documentation all over.
29719 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
29720 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
29721 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
29722 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
29723 (URL.TEXT_HTML_HOST): Likewise.
29724 (URL.TEXT_PLAIN_HOST): Likewise.
29725 (hostEncoding): Initialize with host default charset encoding.
29726 (mediaSubtype): Made transient.
29727 (mediaType): Likewise.
29728 (params): Made transient. Changed type to TreeMap.
29729 (className): Removed, changed to myClassName.
29730 (myClassName): New field as defined in serialized form.
29731 (DocFlavor): Adapted to new variable types, names.
29732 (parseMimeType): Reimplemented.
29733 (getParameter): Search with lowercase name.
29734 (getRepresentationClassName): Adapted to changed variable name.
29735 (hashCode): Likewise.
29736 (toString): Reimplemented.
29737 (readObject): New method for serialization.
29738 (writeObject): Likewise.
29739
29740 2006-02-23 Roman Kennke <kennke@aicas.com>
29741
29742 * javax/swing/RepaintManager.java
29743 (commitBuffer): Clip the repaint area with the current clip.
29744
29745 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
29746
29747 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
29748 (DEFAULT_PRIME_SIZE): Made public.
29749 (DEFAULT_EXPONENT_SIZE): Likewise.
29750 (setup): Handle DHParameterSpec as well.
29751 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
29752 defaultFormat instead of Raw.
29753 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
29754 (checkIsConstructed): Removed.
29755 (checkIsBigInteger): Likewise.
29756 (decodePublicKey): Use DerUtil.
29757 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
29758 (checkIsConstructed): Removed.
29759 (checkIsBigInteger): Likewise.
29760 (decodePrivateKey): Use DerUtil.
29761 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
29762 KeyAgreement.DH.
29763 Added mappings for AlgorithmParameters.DH and
29764 AlgorithmParameterGenerator.DH.
29765 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
29766 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
29767 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
29768 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
29769 Return result.
29770 (engineGeneratePublic): Likewise.
29771 * gnu/java/security/util/DerUtil.java: New file.
29772 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
29773 Include only valid RSA PKCS1 (v1.5) signature names.
29774 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
29775 (RSAPKCS1V1_5SignatureX509Codec): Removed.
29776 (checkIsConstructed): Likewise.
29777 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
29778 (checkIsConstructed): Removed.
29779 (checkIsBigInteger): Likewise.
29780 (decodeSignature): Use DerUtil.
29781 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
29782 (checkIsConstructed): Removed.
29783 (checkIsBigInteger): Likewise.
29784 (decodePublicKey): Use DerUtil.
29785 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
29786 (checkIsConstructed): Removed.
29787 (checkIsBigInteger): Likewise.
29788 (decodePrivateKey): Use DerUtil.
29789 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
29790 (checkIsConstructed): Removed.
29791 (checkIsBigInteger): Likewise.
29792 (decodePublicKey): Use DerUtil.
29793 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
29794 (checkIsConstructed): Removed.
29795 (checkIsBigInteger): Likewise.
29796 (decodePrivateKey): Use DerUtil.
29797 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
29798 (DEFAULT_MODULUS_LENGTH): Made it public.
29799 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
29800 defaultFormat instead of Raw.
29801 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
29802 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
29803 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
29804 Return result.
29805 (engineGeneratePublic): Likewise.
29806 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
29807
29808 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
29809
29810 * java/math/BigDecimal.java:
29811 (BigDecimal(char[], int, int, MathContext)): New constructor.
29812 (BigDecimal(char[], MathContext)): Likewise.
29813 (BigDecimal(char[])): Likewise.
29814 (BigDecimal(char[], int, int)): Likewise.
29815 (BigDecimal(String)): Fixed handling of exponent and scale.
29816
29817 2006-02-22 Mark Wielaard <mark@klomp.org>
29818
29819 * java/awt/Checkbox.java (setState): Check that state actually changed
29820 before calling peer.
29821 (dispatchEventImpl): Set new state if ItemEvent.
29822 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
29823 (create): Set currentState.
29824 (setState): Make synchronized, check and set currentState before
29825 calling gtkToggleButtonSetActive.
29826 (postItemEvent): Make synchronized, check and set currentState before
29827 posting ItemEvent.
29828 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
29829 (postItemEventID): Method now takes boolean.
29830 (item_toggled_cb): Likewise.
29831
29832 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29833
29834 * javax/swing/text/DefaultHighlighter.java:
29835 (changeHighlight): Added code to minimize the damaged area.
29836
29837 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29838
29839 * javax/swing/text/PlainView.java:
29840 (getPreferredSpan): Added missing 'break'.
29841 statement which corrects an unwanted fall through.
29842 (updateDamage): Update maxLineLength correctly when text is
29843 removed, call preferenceChanged accordingly.
29844 (viewToModel): Restrict line number to be within 0 and the
29845 number of elements-1.
29846
29847 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29848
29849 * javax/swing/text/Utilities.java:
29850 (getPositionAbove): Prefer first value by changing comparison
29851 from < to <=.
29852 (getPositionBelow): Dito.
29853
29854 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29855
29856 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
29857 behavior when magic caret position is null.
29858
29859 2006-02-22 Roman Kennke <kennke@aicas.com>
29860
29861 * javax/swing/JTextField.java
29862 (isValidateRoot): New method.
29863
29864 2006-02-22 Roman Kennke <kennke@aicas.com>
29865
29866 * javax/swing/JEditorPane.java
29867 (getPreferredSize): Rewritten to behave like the reference impl.
29868 (getScrollableTracksViewportWidth): Likewise.
29869 (getScrollableTracksViewportHeight): Likewise.
29870
29871 2006-02-22 Roman Kennke <kennke@aicas.com>
29872
29873 * javax/swing/RepaintManager.java
29874 (addInvalidComponent): Also consider the component itself.
29875
29876 2006-02-22 Mark Wielaard <mark@klomp.org>
29877
29878 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
29879 qualify AbstractDocument.AttributeContext.
29880 (blockOpen): Likewise.
29881
29882 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
29883
29884 * java/math/BigDecimal.java:
29885 (mathContext): New field.
29886 (precision): Likewise.
29887 (BigDecimal(int)): New constructor.
29888 (BigDecimal(long)): Likewise.
29889 (BigDecimal(BigInteger)): Added API docs.
29890 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
29891 and added API docs.
29892 (plus): New method.
29893 (round): Likewise.
29894 (precision): Likewise.
29895 (valueOf): Likewise.
29896 (numDigitsInLong): New implementation method.
29897
29898 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
29899
29900 * java/math/MathContext.java: New class.
29901 * java/math/RoundingMode: New Enum.
29902
29903 2006-02-21 Mark Wielaard <mark@klomp.org>
29904
29905 * java/awt/Component.java (translateEvent): Translate
29906 AdjustmentEvents to 1.0 Events.
29907 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
29908 Call setValue() before processing event.
29909 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
29910 whether we are currently changing and being called back from the
29911 Scrollbar component.
29912 (setBarValues): New native method.
29913 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
29914 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
29915 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
29916 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
29917 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
29918
29919 2006-02-21 Roman Kennke <kennke@aicas.com>
29920
29921 * javax/swing/text/View.java
29922 (setParent): Set child parent to null when disconnecting
29923 the view from the View hierarchy.
29924
29925 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
29926
29927 * javax/print/StreamPrintService.java: Added and enhanced documentation.
29928
29929 2006-02-21 Roman Kennke <kennke@aicas.com>
29930
29931 * javax/swing/text/WrappedPlainView.java
29932 (calculateBreakPosition): Changed to use the view's allocation instead
29933 of the container's preferredSize.
29934
29935 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
29936
29937 * java/awt/CardLayout.java:
29938 (first): Updated api documentation.
29939 (last): Likewise.
29940 (next): Likewise.
29941 (previous): Likewise.
29942 (show): Clarified api docs. Return if name is null. Throw
29943 IllegalArgumentException if layout of container is not this.
29944 (gotoComponent): Updated api documentation. Throw
29945 IllegalArgumentException if layout of container is not this.
29946
29947 2006-02-21 Roman Kennke <kennke@aicas.com>
29948
29949 * javax/swing/text/NavigationFilter.java
29950 (getNextVisualPositionFrom): New method.
29951
29952 2006-02-21 Roman Kennke <kennke@aicas.com>
29953
29954 * javax/swing/plaf/basic/BasicTextUI.java
29955 (RootView.setView): Call setParent() on the view with this as
29956 argument instead of null.
29957 (setView): Don't set root view's parent here.
29958
29959 2006-02-21 Roman Kennke <kennke@aicas.com>
29960
29961 * javax/swing/text/AbstractDocument.java
29962 (AbstractElement.getAttribute): Use getResolveParent() to fetch
29963 the resolving parent.
29964 (AbstractElement.getResolveParent): Fixed to handle possible null
29965 parent.
29966 * javax/swing/text/BoxView.java
29967 (childReqs): New field.
29968 (paint): Added debugging code (commented out).
29969 (getPreferredSpan): Rewritten to use new update* methods.
29970 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
29971 for the minor axis and preferredSpan for the major axis.
29972 (getMinimumSpan): Rewritten to use new update* methods.
29973 (baselineRequirements): Rewritten to avoid creation of
29974 unnecessary SizeRequirements objects.
29975 (baselineLayout): Rewritten to use new update* methods.
29976 (calculateMajorAxisRequirements): Rewritten to avoid creation of
29977 unnecessary SizeRequirements objects.
29978 (calculateMinorAxisRequirements): Rewritten to avoid creation of
29979 unnecessary SizeRequirements objects.
29980 (layout): Some robustness fixes for the layout. Turned AssertionErrors
29981 into warnings.
29982 (layoutMajorAxis): Rewritten to use new update* methods.
29983 (layoutMinorAxis): Rewritten to use new update* methods.
29984 (getChildRequirements): Replaced by the update* methods.
29985 (getAlignment): Use update* methods.
29986 (updateChildRequirements): New methods. Updates the child requirements
29987 if necessary.
29988 (updateRequirements): New methods. Updates the BoxView requirements
29989 if necessary.
29990 * javax/swing/text/DefaultStyledDocument.java
29991 (ElementBuffer.insert): Added warning for illegal replacement operation.
29992 * javax/swing/text/FlowView.java
29993 (layoutRow): When offset doesn't change, return -1.
29994 (LogicalView): Now subclasses BoxView.
29995 (loadChildren): Let the CompositeView.setParent() load the children
29996 of the logicalView.
29997 (calculateMinorRequirements): New overridden method.
29998 * javax/swing/text/GlyphView.java
29999 (DefaultGlyphPainter.paint): Fixed typo.
30000 (startOffset): Made field private.
30001 (endOffset): Made field private.
30002 (paint): Call getStartOffset() and getEndOffset() instead of the
30003 element methods.
30004 (isStrikeThrough): Fixed typo.
30005 (breakView): Use Utilities.getBreakLocation() to determine best
30006 break location.
30007 (changedUpdate): Call preferencedChange on this instead of parent.
30008 (removeUpdate): Call preferencedChange on this instead of parent.
30009 * javax/swing/text/ParagraphView.java
30010 (Row.getAlignment): For Y_AXIS, call super.
30011 (getAlignment): Likewise.
30012 * javax/swing/text/Utilities.java
30013 (getBreakLocation): Set Segment object directly on the BreakIterator.
30014 * javax/swing/text/html/HTML.java
30015 (Attribute): Made class non-serializable and final as specified.
30016 (Attribute(String)): Made constructor private.
30017 (Attribute.compareTo): Removed.
30018 (Attribute.equals): Removed.
30019 (Attribute.hashCode): Removed.
30020 (Tag): Made class non-comparable and non-serializable as specified.
30021 (Tag.compareTo): Removed.
30022 (Tag.equals): Removed.
30023 (Tag.hashCode): Removed.
30024 * javax/swing/text/html/HTMLDocument.java
30025 (HTMLReader.blockOpen): Add tag as name attribute to element.
30026 * javax/swing/text/html/HTMLEditorKit.java
30027 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30028 fallback.
30029 * javax/swing/text/html/InlineView.java
30030 (setPropertiesFromAttributes): Call super.
30031 * javax/swing/text/html/NullView.java: New class.
30032
30033 2006-02-21 Roman Kennke <kennke@aicas.com>
30034
30035 PR classpath/26368
30036 * javax/swing/text/GapContent.java
30037 (GapContentPosition): Made class private.
30038 (InsertUndo): Made class private.
30039 (UndoRemove): Made class private.
30040 (WeakPositionComparator): New inner class.
30041 (positions): Made field private.
30042 (createPosition): Clear up GC'ed positions before creating
30043 a new one. Store position as WeakReference.
30044 (getPositionsInRange): Changed to handle WeakReference
30045 positions.
30046 (setPositionsInRange): Changed to handle WeakReference
30047 positions.
30048 (adjustPositionsInRange): Changed to handle WeakReference
30049 positions.
30050 (dumpPositions): Handle WeakReference positions.
30051 (clearPositionReferences): New method.
30052
30053 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30054
30055 * javax/swing/plaf/basic/BasicTextUI.java:
30056 (paint): Remove unneccessary part of the if-expression.
30057 (damageRange): Added case where the range spans multiple lines.
30058 * javax/swing/text/DefaultCaret.java:
30059 (clearHighlight): New method.
30060 (handleHighlight): Removed unneccessary part of the if-expression.
30061 (setDot): Use clearHighlight method.
30062 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30063 of Vector.
30064 (paint): Prevented calling size() on every loop iteration, fixed
30065 calculation of allocation area bounds.
30066 (getHighlights): Implemented.
30067 (removeHighlight): Mark damaged area in textcomponent.
30068 (addHighlight): Mark damaged area in textcomponent.
30069 (changeHighlight): Mark damaged area in textcomponent.
30070 (DefaultHighlighter.HighlightEntry): Made it a real
30071 Highlighter.Highlight implementation.
30072 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30073 calculations.
30074
30075 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30076
30077 * java/util/zip/ZipConstants.java
30078 (LOCSIG): Change type to long.
30079 (EXTSIG): Likewise.
30080 (CENSIG): Likewise.
30081 (ENDSIG): Likewise.
30082 * java/util/zip/ZipOutputStream.java
30083 (writeLeInt(long)): New method.
30084
30085 2006-02-21 Michael Koch <konqueror@gmx.de>
30086
30087 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30088
30089 2006-02-20 Mark Wielaard <mark@klomp.org>
30090
30091 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30092 (begin_drawing_operation): Output stacktrace and return on bad cairo
30093 status.
30094 (end_drawing_operation): Likewise. And reset cairo_t.
30095
30096 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30097
30098 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30099 in backward selection action.
30100
30101 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30102
30103 * java/lang/reflect/Proxy.java:
30104 (ProxyData.getProxyData): Skipped overriding of core methods.
30105 (ProxyData.isCoreObjectMethod): New method.
30106
30107 2006-02-20 Mark Wielaard <mark@klomp.org>
30108
30109 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30110
30111 2006-02-20 Roman Kennke <kennke@aicas.com>
30112
30113 * javax/swing/text/html/Option.java: New class.
30114
30115 2006-02-20 Lillian Angel <langel@redhat.com>
30116
30117 * java/swt/Window.java
30118 (show): Calling show() on the owned windows caused problems.
30119 Changed back to get the peer and call setVisible.
30120
30121 2006-02-20 Roman Kennke <kennke@aicas.com>
30122
30123 * javax/swing/plaf/basic/BasicTextUI.java
30124 (damageRange): Implemented this method.
30125
30126 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30127
30128 * javax/swing/text/GapContent.java:
30129 (shiftGapEndUp): Corrected new mark value.
30130 * javax/swing/text/AbstractDocument.java:
30131 (remove): Changed order of operations.
30132
30133 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30134
30135 * javax/swing/text/GapContent.java:
30136 (shiftGapEndUp): Reverted.
30137 * javax/swing/text/AbstractDocument.java:
30138 (remove): Reverted.
30139
30140 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30141
30142 * javax/swing/text/GapContent.java:
30143 (shiftGapEndUp): Corrected new mark value.
30144 * javax/swing/text/AbstractDocument.java:
30145 (remove): Changed order of operations.
30146
30147 2006-02-20 Mark Wielaard <mark@klomp.org>
30148
30149 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30150 parent field.
30151 (insert): Likewise.
30152 (addNotify): Add the item after addNotifying it.
30153 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30154 there is a peer. Use getParent() and setParent() to manipulate parent
30155 field.
30156 (add(Menu)): Use getParent() and setParent() to manipulate parent
30157 field. Call addNotify() and addMenu() when there is a peer.
30158 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30159 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30160 when there is a peer.
30161 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30162 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30163 (setFont): Call setFont(Font).
30164 (setFont(Font)): Document. Only set font when not null.
30165 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30166 protected.
30167 (connectSignals): Likewise.
30168 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30169 connectSignals().
30170 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30171 protected.
30172 (postMenuActionEvent): Document.
30173 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30174 protected.
30175 (addItem): Document. Made private.
30176 (addTearOff): Made private.
30177 (connectSignals): New protected overridden method.
30178 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30179 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30180 (create): Document.
30181 (addMenu): Made private, take GtkMenuPeer as argument and document.
30182 (GtkMenuBarPeer): Document.
30183 (nativeSetHelpMenu): Removed.
30184 (addHelpMenu): Implement.
30185 (delMenu): Document.
30186 (addMenu): Implement.
30187 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30188 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30189 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30190 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30191 Removed.
30192
30193 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30194
30195 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30196 Expect that proxy interfaces may have different class loaders.
30197 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30198 * java/rmi/registry/Registry.java,
30199 * java/rmi/server/UnicastRemoteObject.java:
30200 Documented about proxy stubs.
30201 * gnu/java/rmi/server/CombinedClassLoader.java,
30202 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30203 * NEWS: Added entry.
30204
30205 2006-02-19 Mark Wielaard <mark@klomp.org>
30206
30207 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30208 Parent and Bounds of our children if either or parent is showing, or
30209 we are a Window and are showing ourselves now.
30210
30211 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30212
30213 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30214 New method.
30215 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30216 Another stub name fix.
30217
30218 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30219
30220 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30221 Call convertStubName. (convertStubName): New method.
30222 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30223 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30224 (convertStubName): New method.
30225 (getMethodHashCode):
30226 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30227 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30228
30229 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30230
30231 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30232
30233 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30234
30235 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30236
30237 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30238
30239 * javax/swing/JViewport.java (paintBackingStore): If the component has
30240 not been scrolled, only repaint the buffer part, indicated by
30241 the parameter graphics clip.
30242
30243 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30244
30245 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30246 internal format.
30247 (writePrivateKey): Likewise.
30248 (writeKey): New method.
30249 (getKeyType): Likewise.
30250 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30251 internal format.
30252 (readPrivateKey): Likewise.
30253 (getKeyPairCodec): New method.
30254 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30255 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30256 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30257 (RSA_PSS_ENCODING): Likewise..
30258 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30259 (RSA_PSS_SIG): Redefined using other constants.
30260 (RSA_PKCS1_V1_5_SIG): Likewise.
30261 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30262 * gnu/java/security/util/FormatUtil.java: New file.
30263 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30264 (getInstance): Let RSASignatureFactory handle RSA signature names.
30265 (getNames): Handle new RSA signature (with format) names.
30266 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30267 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30268 for null md.
30269 (name): Include hash algorithm name.
30270 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30271 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30272 (RSAPSSSignature): Call constructor with IMessageDigest.
30273 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30274 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30275 file.
30276 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30277 Likewise.
30278 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30279 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30280 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30281 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30282 hash algorithm name to exception.
30283 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30284 * gnu/java/security/key/KeyPairCodecFactory.java
30285 (names): New class field.
30286 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30287 (getInstance(String,String)): New method.
30288 (getInstance(String,int)): New method.
30289 (getInstance(byte[])): Removed.
30290 (getInstance(Key)): Handle new formats.
30291 (getNames): Likewise.
30292 (getEncodingName(int)): Moved to FormatUtil.
30293 (getEncodingShortName(int)): Likewise.
30294 (getRawCodec(String)): New method.
30295 (getX509Codec(String)): Likewise.
30296 (getPKCS8Codec(String)): Likewise.
30297 (getRawCodec(Key)): Likewise.
30298 (getX509Codec(Key)): Likewise.
30299 (getPKCS8Codec(Key)): Likewise.
30300 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30301 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30302 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30303 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30304 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30305 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30306 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30307 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30308 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30309
30310 2006-02-18 Mark Wielaard <mark@klomp.org>
30311
30312 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30313 DragSource.
30314 (NoDragGestureRecognizer): New static class.
30315 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30316 Toolkit doesn't support drag and drop.
30317
30318 2006-02-18 Mark Wielaard <mark@klomp.org>
30319
30320 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30321 (AbstractAction(String)): Just call putValue() for NAME.
30322 (putValue): Nothing to do is old and new value are both null.
30323
30324 2006-02-18 Mark Wielaard <mark@klomp.org>
30325
30326 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30327 through getContentPane().
30328 (preferredLayoutSize): Likewise.
30329
30330 2006-02-18 Mark Wielaard <mark@klomp.org>
30331
30332 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30333 actually set before painting.
30334
30335 2006-02-18 Mark Wielaard <mark@klomp.org>
30336
30337 * javax/swing/text/html/HTMLDocument.java (addContent):
30338 Fully qualify AbstractDocument.AttributeContext and
30339 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30340
30341 2006-02-18 Mark Wielaard <mark@klomp.org>
30342
30343 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30344 (getRepresentationClassFromMime): Add exception cause to
30345 IllegalArgumentException.
30346
30347 2006-02-17 Lillian Angel <langel@redhat.com>
30348
30349 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30350 Removed unneeded import.
30351 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30352 Removed unneeded imports.
30353 * java/awt/BorderLayout.java:
30354 Fixed comment, this is not yet handled in the JDK 1.5.
30355 * java/awt/Container.java:
30356 Removed unneeded import.
30357
30358 2006-02-17 Lillian Angel <langel@redhat.com>
30359
30360 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30361 (setBounds): Removed check. Coordinates should always be changed
30362 to incorporate the parent's coordinates.
30363 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30364 (setMenuBar): Added checks. Don't validate component if it has
30365 not been validated yet, it will be validated later. Only validate
30366 if it has already been validated, in that case it needs to be
30367 revalidated.
30368 * java/awt/Window.java
30369 (show): Added check. If the window is visible, then bring it to the
30370 front. Otherwise, iterate through all its children windows and show them.
30371 No need to do both.
30372
30373 2006-02-17 Roman Kennke <kennke@aicas.com>
30374
30375 * javax/swing/text/html/ParagraphView.java: New file.
30376
30377 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30378
30379 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30380 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30381 same location where was the initial text.
30382 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30383
30384 2006-02-17 Chris Burdess <dog@gnu.org>
30385
30386 Fixes PRs 26319, 26320, 26321, 26322, 26325
30387 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30388 rethrowing exception.
30389 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30390 1.1-style prefix unbinding in 1.0 document" error for xmlns
30391 prefixes, not xmlns attributes. Fix a problem with empty namespace
30392 stack at the end of a document. Permit parameter entity references
30393 in element and attribute-list definition name area. Corrected
30394 normalisation of whitespace character entity references in CDATA
30395 attribute values. Fixed number of characters read following a
30396 reset when detecting end of character data with characters after a
30397 Unicode surrogate pair.
30398
30399 2006-02-17 Roman Kennke <kennke@aicas.com>
30400
30401 * javax/swing/text/html/HTMLEditorKit.java
30402 (HTMLFactory.create): Create InlineView for content tags.
30403 * javax/swing/text/html/HTMLDocument.java
30404 (HTMLReader.flush): Call create() on first flush and insert
30405 on subsequent flushes.
30406
30407 2006-02-17 Roman Kennke <kennke@aicas.com>
30408
30409 * javax/swing/text/AbstractDocument.java
30410 (BranchElement.getStartOffset): Implemented workaround for wrong
30411 NPE.
30412 (BranchElement.getEndOffset): Implemented workaround for wrong
30413 NPE.
30414 (ElementBuffer.split): Use createBranchElement() instead of
30415 new BranchElement().
30416 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30417 new BranchElement().
30418 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30419 instead of new BranchElement().
30420 (createDefaultRoot): Use createBranchElement() and createLeafElement
30421 instead of the constructors.
30422 (create): Rewritten.
30423
30424 2006-02-17 Keith Seitz <keiths@redhat.com>
30425
30426 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30427 (SIZE): New constant.
30428 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30429 (executeIDsizes): Use SIZE constant.
30430 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30431 (SIZE): New constant.
30432
30433 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30434
30435 * javax/swing/JTable.java (IconCellRenderer): Set the component
30436 text to empty string. (createDefaultRenderers): Register
30437 IconCellRenderer also for ImageIcon.
30438 (getCellEditor(int, int), getCellRenderer(int, int)):
30439 Use model index for data model and column index for column model.
30440 (getColumnClass): Convert to model index before requesting class
30441 from model.
30442
30443 2006-02-17 Roman Kennke <kennke@aicas.com>
30444
30445 * javax/swing/text/html/HTMLDocument.java
30446 (createDefaultRoot): Implemented.
30447 (createLeafElement): Implemented.
30448 (createBranchElement): Implemented.
30449 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30450 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30451 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30452 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30453 (HTMLReader.blockOpen): Add name attribute with the current tag.
30454 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30455
30456 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30457
30458 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30459 Rewritten.
30460 * javax/swing/table/JTableHeader.java: Documenting related methods.
30461
30462 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30463
30464 Fixes PR 25752
30465 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30466 (connect): Changed to use SystemProperties.
30467 (getInputStream): Try changeWorkingDirectory to figure out if
30468 url is a directory, if not use retrieve.
30469 (getOutputStream): Don't worry about directories, simply always
30470 try to do a store.
30471
30472 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30473
30474 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30475 (ActiveModeDTP): Mark accept thread as daemon.
30476
30477 2006-02-17 Michael Koch <konqueror@gmx.de>
30478
30479 * tools/.cvsignore: Ignore tools.zip.
30480
30481 2006-02-16 Keith Seitz <keiths@redhat.com>
30482
30483 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30484 Set the ID's reference.
30485 (<clinit>): Remove comments for field, method, and frame ID types,
30486 which will not be handled by VMIdManager.
30487
30488 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30489
30490 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30491 Use model index, not the column number.
30492 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30493 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30494 movement by painting draggingHeaderRect.
30495 * NEWS: Added entry about JTable columns.
30496
30497 2006-02-16 Keith Seitz <keiths@redhat.com>
30498
30499 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30500 default size of eight bytes.
30501 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30502 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30503 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30504 (executeIDsizes): Use new static methods.
30505 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30506 method.
30507
30508 2006-02-16 David Daney <ddaney@avtrex.com>
30509
30510 PR classpath/26312
30511 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30512 return value with 0xff.
30513
30514 2006-02-16 Keith Seitz <keiths@redhat.com>
30515
30516 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30517 (matches): Use Iterator instead of ListIterator.
30518
30519 2006-02-16 Keith Seitz <keiths@redhat.com>
30520
30521 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30522 processor thread for easier debugging.
30523 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30524 main thread.
30525
30526 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30527
30528 * javax/swing/JTable.java
30529 (TableColumnPropertyChangeHandler.propertyChange): Return without
30530 action if table header resizing column in not null. (doLayout):
30531 Only repaint the header if it is not null.
30532 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30533 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30534 Rewritten. (MouseInputHandler.endResizing): New method.
30535
30536 2006-02-16 Roman Kennke <kennke@aicas.com>
30537
30538 * javax/swing/text/html/InlineView.java: New file.
30539
30540 2006-02-16 Roman Kennke <kennke@aicas.com>
30541
30542 * javax/swing/JTabbedPane.java
30543 (AccessibleJTable.getAccessibleChild): Implemented to return
30544 the Page instance for the specified index.
30545 (Page): Changed to implement Accessible and extend
30546 AccessibleContext.
30547 (Page.getAccessibleContext): New method.
30548 (Page.getAccessibleRole): New method.
30549 (Page.getAccessibleStateSet): New method.
30550 (Page.getAccessibleIndexInParent): New method.
30551 (Page.getAccessibleChildrenCount): New method.
30552 (Page.getAccessibleChild): New methdod.
30553 (Page.getLocale): New method.
30554
30555 2006-02-16 Roman Kennke <kennke@aicas.com>
30556
30557 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30558 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30559 tabCount gets greater than tabRuns.length.
30560 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30561 when tabCount gets greater than tabRuns.length.
30562 (paintTabArea): Don't set tabCount == runCount.
30563
30564 2006-02-16 Roman Kennke <kennke@aicas.com>
30565
30566 * javax/swing/plaf/basic/BasicTextUI.java
30567 (installUI): Moved installation of PropertyChangeListener
30568 to installListeners(). Call modelChanged() after everything is
30569 is installed.
30570 (installListeners): Install PropertyChangeListener here.
30571 (uninstallUI): Moved uninstallation of PropertyChangeListener
30572 to uninstallListeners.
30573 (uninstallListeners): Uninstall PropertyChangeListener here.
30574
30575 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30576
30577 * javax/swing/JTable.java (doLayout):
30578 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30579 on exit.
30580 javax/swing/plaf/basic/BasicTableHeaderUI.java
30581 (MouseInputHandler.mouseDragged): Do not repaint the header.
30582
30583 2006-02-16 Roman Kennke <kennke@aicas.com>
30584
30585 * javax/swing/JViewport.java
30586 (static_initializer): Set default scrollMode to backingstore.
30587
30588 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30589
30590 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30591 returned by getCellRect. To not translate the component.
30592
30593 2006-02-16 Roman Kennke <kennke@aicas.com>
30594
30595 * javax/swing/JComponent.java
30596 (rectCache): Made field non-static to avoid nasty interferences.
30597 (computeVisibleRect): Avoid creation of new Rectangles and double
30598 calculations on ints by using Swing.computeIntersection() instead
30599 of Rectangle2D.intersect().
30600 (repaint): Interect the dirty region with the visible rectangle
30601 of this component to avoid unnecessary painting.
30602
30603 2006-02-16 Gary Benson <gbenson@redhat.com>
30604
30605 * java/lang/Thread.java (stop): Add a missing access check.
30606
30607 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
30608
30609 * javax/swing/text/JTextComponent.java:
30610 (replaceSelection): Added code to update the magic caret position.
30611 * javax/swing/text/DefaultEditorKit.java: Added code to update
30612 the magic caret position of the text component in all relevant
30613 movement actions, make use of the magic caret position in up
30614 and down movements and selections, simplified some actions
30615 (code-wise).
30616
30617 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
30618
30619 * gnu/java/lang/CharData.java: Regenerated from
30620 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30621 and scripts/unicode-muncher.pl.
30622 * java/lang/Character.java:
30623 (PrivateUseCharacters): New private static class.
30624 (UnassignedCharacters): Likewise.
30625 (blocks): Changed from char[] to char[][] to reflect the changes in
30626 gnu/java/lang/CharData. There is now one char[] per Unicode code
30627 plane.
30628 (data): Likewise.
30629 (numValue): Likewise.
30630 (upper): Likewise.
30631 (lower): Likewise.
30632 (direction): Likewise.
30633 (readChar): Replaced this method with new method readCodePoint.
30634 (readCodePoint): New method.
30635 (isLowerCase(char)): Redirected to new isLowerCase(int).
30636 (isLowerCase(int)): New method.
30637 (isUpperCase(char)): Redirected to new isUpperCase(int).
30638 (isUpperCase(int)): New method.
30639 (isTitleCase(char)): Redirected to new isTitleCase(int).
30640 (isTitleCase(int)): New method.
30641 (isDigit(char)): Redirected to new isDigit(int).
30642 (isDigit(int)): New method.
30643 (isDefined(char)): Redirected to new isDefined(int).
30644 (isDefined(int)): New method.
30645 (isLetter(char)): Redirected to new isLetter(int).
30646 (isLetter(int)): New method.
30647 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
30648 (isLetterOrDigit(int)): New method.
30649 (isJavaIdentifierStart(char)): Redirected to new
30650 isJavaIdentifierStart(int).
30651 (isJavaIdentifierStart(int)): New method.
30652 (isJavaIdentifierPart(char)): Redirected to new
30653 isJavaIdentifierPart(int).
30654 (isJavaIdentifierPart(int)): New method.
30655 (isUnicodeIdentifierStart(char)): Redirected to new
30656 isUnicodeIdentifierStart(int).
30657 (isUnicodeIdentifierStart(int)): New method.
30658 (isUnicodeIdentifierPart(char)): Redirected to new
30659 isUnicodeIdentifierPart(int).
30660 (isUnicodeIdentifierPart(int)): New method.
30661 (isIdentifierIgnorable(char)): Redirected to new
30662 isIdentifierIgnorable(int).
30663 (isIdentifierIgnorable(int)): New method.
30664 (toLowerCase(char)): Changed access to lower to correspond with new
30665 char[][] type of lower.
30666 (toLowerCase(int)) New method.
30667 (toUpperCase(char)): Changed access to upper to correspond with new
30668 char[][] type of upper.
30669 (toUpperCase(int)): New method.
30670 (toTitleCase(int)): New method.
30671 (digit(char, int)): Replaced call to readChar with call to
30672 readCodePoint and changed access to numValue to reflect new char[][]
30673 type of numValue.
30674 (digit(int, int)): New method.
30675 (getNumericValue(char)): Changed access to numValue to reflect new
30676 char[][] type of numValue.
30677 (getNumericValue(int)): New method.
30678 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
30679 (isSpaceChar(int)): New method.
30680 (isWhitespace(char)): Redirected to new isWhitespace(int).
30681 (isWhitespace(int)): New method.
30682 (isISOControl(char)): Redirected to new isISOControl(int).
30683 (isISOControl(int)): New method.
30684 (getType(char)): Redirected to new getType(int).
30685 (getType(int)): New method.
30686 (getDirectionality(char)): Redirected to new getDirectionality(int).
30687 (getDirectionality(int)): New method.
30688 (isMirrored(char)): Changed call to readChar to readCodePoint.
30689 (isMirrored(int)): New method.
30690 * java/lang/String.java:
30691 (upperCaseExpansion): Changed access to Character.direction to reflect
30692 new char[][] type of direction.
30693 (offsetByCodePoints): New method.
30694 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
30695 4.0.0 which introduced supplementary character assignments.
30696
30697 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30698
30699 * javax/swing/JTable.java,
30700 javax/swing/plaf/basic/BasicTableHeaderUI.java,
30701 javax/swing/table/DefaultTableModel.java: Documented.
30702
30703 2006-02-15 Lillian Angel <langel@redhat.com>
30704
30705 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
30706 Removed duplicate methods.
30707
30708 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30709
30710 * javax/swing/JTable.java (distributeSpillResizing): New method.
30711 (doLayout): Use distributeSpillResizing when resizing.
30712 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30713 Rewritten. (installListeners): Add mouse motion listener.
30714 (uninstallListeners): Remove mouse motion listener.
30715
30716 2006-02-15 Lillian Angel <langel@redhat.com>
30717
30718 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
30719 (setVisible): Removed method.
30720 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
30721 (setLocation): New method.
30722 (setLocationUnlocked): New method.
30723 (show): Changed to use setLocation instead of setBounds.
30724 * java/awt/Component.java
30725 (show): Should call peer.show(), not peer.setVisible(), so the
30726 location of the component is correctly set.
30727 (preferredSize): Added curly braces so else statements are
30728 properly associated with if's.
30729 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30730 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
30731 New function.
30732 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
30733 LocationUnlocked): New function.
30734 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
30735 Added declarations for Java_gnu_java_awt_peer_gtk_
30736 GtkWindowPeer_nativeSetLocation and
30737 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
30738 _nativeSetLocationUnlocked.
30739
30740 2006-02-15 Mark Wielaard <mark@klomp.org>
30741
30742 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30743 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30744 Downcast gtk_plug_new result when used.
30745
30746 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
30747
30748 * java/io/ObjectOutputStream.java (writeClassDescriptor):
30749 Call assignNewHandle() after writing Proxy class.
30750
30751 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
30752
30753 Fixes bug #14144
30754 * java/io/ObjectInputStream.java (readClassDescriptor):
30755 Class doesn't have to be abstract for first_nonserial.
30756
30757 2006-02-15 Roman Kennke <kennke@aicas.com>
30758
30759 * javax/swing/JInternalFrame.java
30760 (setClosed): Call dispose to actually make the frame invisible
30761 and unselected.
30762
30763 2006-02-15 Roman Kennke <kennke@aicas.com>
30764
30765 * javax/swing/JInternalFrame.java
30766 (dispose): Call setVisible(false) instead of hide.
30767 (doDefaultCloseOperation): Likewise.
30768
30769 2006-02-15 Roman Kennke <kennke@aicas.com>
30770
30771 * javax/swing/JComponent.java
30772 (paintChildren): Also check for the visibility of a child component
30773 to avoid artifacts.
30774 (repaint): Simply add this component to the RepaintManager rather than
30775 trying to do useless optimization here.
30776
30777 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
30778
30779 * javax/swing/JSpinner.java
30780 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
30781 PropertyChangeListener,
30782 (DefaultEditor.getSpinner): Updated API docs,
30783 (DefaultEditor.dismiss): Likewise,
30784 (DefaultEditor.getTextField): Likewise,
30785 (DefaultEditor.layoutContainer): Likewise,
30786 (DefaultEditor.minimumLayoutSize): Likewise,
30787 (DefaultEditor.preferredLayoutSize): Likewise,
30788 (DefaultEditor.propertyChange): Implemented,
30789 (DefaultEditor.stateChanged): Implemented,
30790 (DefaultEditor.removeLayoutComponent): Updated API docs,
30791 (DefaultEditor.addLayoutComponent): Likewise,
30792 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
30793 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
30794 (NumberEditor.getFormat): Implemented,
30795 (NumberEditor.getModel): Updated API docs,
30796 (NumberEditorFormatter): New static inner class,
30797 (ListEditor.getModel): Updated API docs,
30798 (DateEditor.dateFormat): Removed,
30799 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
30800 (DateEditor.DateEditor(JSpinner, String)): Likewise,
30801 (DateEditor.init): Removed,
30802 (DateEditor.getFormat): Reimplemented,
30803 (DateEditorFormatter): New static inner class,
30804 (ModelListener): New inner class,
30805 (model): Updated API docs,
30806 (editor): Likewise,
30807 (listener): Removed,
30808 (JSpinner()): Updated API docs,
30809 (JSpinner(SpinnerModel)): Set up ModelListener,
30810 (setEditor): Fire property change,
30811 (getModel): Updated API docs,
30812 (setModel): Removed check for null editor,
30813 (setValue): Updated API docs,
30814 (getUIClassID): Updated API docs,
30815 (createEditor): Handle SpinnerListModel case,
30816 * javax/swing/plaf/basic/BasicSpinnerUI.java
30817 (createUI): Updated API docs,
30818 (createPropertyChangeListener): Added FIXME,
30819 (installDefaults): Set text field border to null,
30820 (DefaultLayoutManager): Updated API docs,
30821 (DefaultLayoutManager.layoutContainer): Modified layout,
30822 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
30823 (DefaultLayoutManager.preferredLayoutSize): Likewise,
30824 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
30825 (DefaultLayoutManager.addLayoutComponent): Likewise,
30826 (DefaultLayoutManager.minSize): Renamed prefSize,
30827 (DefaultLayoutManager.setBounds): Reformatted,
30828 (DefaultLayoutManager.editor): Added API docs,
30829 (DefaultLayoutManager.next): Likewise,
30830 (DefaultLayoutManager.previous): Likewise,
30831 * javax/swing/plaf/metal/MetalLookAndFeel.java
30832 (initComponentDefaults): Added entry for 'Spinner.border',
30833 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
30834
30835 2006-02-15 Chris Burdess <dog@gnu.org>
30836
30837 * gnu/xml/validation/datatype/BooleanType.java,
30838 gnu/xml/validation/datatype/ByteType.java,
30839 gnu/xml/validation/datatype/DateTimeType.java,
30840 gnu/xml/validation/datatype/DateType.java,
30841 gnu/xml/validation/datatype/DecimalType.java,
30842 gnu/xml/validation/datatype/DoubleType.java,
30843 gnu/xml/validation/datatype/DurationType.java,
30844 gnu/xml/validation/datatype/FloatType.java,
30845 gnu/xml/validation/datatype/GDayType.java,
30846 gnu/xml/validation/datatype/GMonthDayType.java,
30847 gnu/xml/validation/datatype/GMonthType.java,
30848 gnu/xml/validation/datatype/GYearMonthType.java,
30849 gnu/xml/validation/datatype/GYearType.java,
30850 gnu/xml/validation/datatype/IntType.java,
30851 gnu/xml/validation/datatype/IntegerType.java,
30852 gnu/xml/validation/datatype/LongType.java,
30853 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
30854 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
30855 gnu/xml/validation/datatype/MinExclusiveFacet.java,
30856 gnu/xml/validation/datatype/MinInclusiveFacet.java,
30857 gnu/xml/validation/datatype/NegativeIntegerType.java,
30858 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
30859 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
30860 gnu/xml/validation/datatype/PositiveIntegerType.java,
30861 gnu/xml/validation/datatype/ShortType.java,
30862 gnu/xml/validation/datatype/SimpleType.java,
30863 gnu/xml/validation/datatype/TimeType.java,
30864 gnu/xml/validation/datatype/TypeBuilder.java,
30865 gnu/xml/validation/datatype/UnsignedByteType.java,
30866 gnu/xml/validation/datatype/UnsignedIntType.java,
30867 gnu/xml/validation/datatype/UnsignedLongType.java,
30868 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
30869 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
30870 minInclusive facets use the value space of the base type, and
30871 implement.
30872
30873 2006-02-15 Mark Wielaard <mark@klomp.org>
30874
30875 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30876 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30877 gtk_plug_new() returns a GtkWindow.
30878
30879 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
30880
30881 * javax/swing/SpinnerNumberModel.java
30882 (getNextValue): Check for null maximum,
30883 (getPreviousValue): Check for null minimum.
30884
30885 2006-02-15 Roman Kennke <kennke@aicas.com>
30886
30887 * javax/swing/plaf/basic/BasicTableUI.java
30888 (paint): Paint vertical and horizontal lines one pixel shifted
30889 left/top.
30890
30891 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
30892
30893 * java/util/zip/ZipFile.java
30894 (checkZipFile): Inlined readLeInt and rewritten for robustness.
30895 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
30896 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
30897 (readEntries): Rewritten to use PartialInputStream.
30898 (locBuf, checkLocalHeader): Removed.
30899 (getInputStream): Rewritten to use new PartialInputStream.
30900 (PartialInputStream): Rewritten to do buffering.
30901
30902 2006-02-15 Michael Koch <konqueror@gmx.de>
30903
30904 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30905 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30906 Make sure the embedded window gets no decorations.
30907 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30908 (window_get_frame_extents): Return early of the window has no
30909 decorations.
30910
30911 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30912
30913 * examples/gnu/classpath/examples/swing/TableDemo.java
30914 (TModel, createContent): Explain which value appears in the header.
30915 * javax/swing/JTable.java (setColumnModel): Only set the
30916 column header value if the getHeaderValue() returns null.
30917
30918 2006-02-14 Mark Wielaard <mark@klomp.org>
30919
30920 Fixes bug #23931
30921 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
30922 (getErrorImage): New static method.
30923 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
30924 (bufferedImageOrError): Renamed to ...
30925 (imageOrError): Renamed from bufferedImageOrError, takes Image.
30926 Returns GtkImage.getErrorImage() when argument null.
30927 (createImage(String)): Always use imageOrError.
30928 (createImage(URL)): Likewise.
30929 (createImage(ImageProducer)): Likewise.
30930 (createImage(byte[],int,int)): Likewise.
30931
30932 2006-02-14 Roman Kennke <kennke@aicas.com>
30933
30934 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
30935 unneeded imports.
30936 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
30937 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
30938 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
30939 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
30940 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
30941
30942 2006-02-14 Roman Kennke <kennke@aicas.com>
30943
30944 * javax/swing/text/AsyncBoxView.java
30945 (ChildState.locator): Removed wrong field.
30946 (ChildState): Removed initialization of removed field.
30947 (locator): Changed access modifier to be protected as specified.
30948
30949 2006-02-14 Roman Kennke <kennke@aicas.com>
30950
30951 * javax/swing/ToolTipManager.java: Removed unneeded imports.
30952 * javax/swing/Timer.java: Some small reindention.
30953 (task): Made package private to avoid synthetic accessor method.
30954
30955 2006-02-14 Roman Kennke <kennke@aicas.com>
30956
30957 * javax/swing/SwingUtilities.java
30958 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
30959 no icon.
30960
30961 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30962
30963 * examples/gnu/classpath/examples/swing/TableDemo.java:
30964 Making the columns variable width.
30965 * javax/swing/JTable.java (distributeSpill, doLayout):
30966 Call getPreferredSize and not getSize().
30967
30968 2006-02-14 Roman Kennke <kennke@aicas.com>
30969
30970 * javax/swing/DefaultCellEditor.java
30971 (DefaultCellEditor): API doc fixlet.
30972
30973 2006-02-14 Roman Kennke <kennke@aicas.com>
30974
30975 * javax/swing/JViewport.java
30976 (isPaintRoot): New field.
30977 (repaint): Only call super here. Also added a comment regarding
30978 the diversion from the JDK.
30979 (paintBlit): Implemented real blitting.
30980 (paintImmediately2): New method. Overrides the same package private
30981 method in JComponent.
30982
30983 2006-02-14 Roman Kennke <kennke@aicas.com>
30984
30985 * javax/swing/plaf/basic/BasicTableUI.java
30986 (paint): Check for boundary cases when determining the painting
30987 area.
30988
30989 2006-02-14 Mark Wielaard <mark@klomp.org>
30990
30991 * java/awt/Menu.java (add): Always set parent of item to this. Call
30992 addNotify() on item when we have a MenuPeer already.
30993 (insert): Always adjust parent for item. Call addNotify() on item if
30994 we already have a peer.
30995 (remove(int)): Always clear item parent. Call removeNotify() on item
30996 if we had a peer.
30997
30998 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30999
31000 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31001 row == getRowCount().
31002
31003 2006-02-14 Lillian Angel <langel@redhat.com>
31004
31005 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31006 (setVisible): New method to override super. Need to set the
31007 native bounds of the component, so it appears at the
31008 correct location.
31009
31010 2006-02-14 Mark Wielaard <mark@klomp.org>
31011
31012 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31013 (remove): If menu component is the current MenuBar remove it,
31014 otherwise call super.remove().
31015 * java/awt/MenuBar.java (frame): Remove field.
31016 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31017
31018 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31019
31020 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31021 to NameServicePersistent.
31022 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31023 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31024
31025 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31026
31027 * NEWS: Updated tool status.
31028 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31029 (constructor, bind, rebind): Rewritten.
31030 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31031 * tools/gnu/classpath/tools/giop/README: Updated.
31032 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31033 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31034 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31035 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31036 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31037 New files.
31038
31039 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31040
31041 * javax/swing/JComponent.java
31042 (getListeners): Check for PropertyChangeListener.class and delegate to
31043 getPropertyChangeListeners() for that case.
31044
31045 2006-02-13 Roman Kennke <kennke@aicas.com>
31046
31047 * javax/swing/plaf/basic/BasicTableUI.java
31048 (paint): Determine the cells that need painting based on the
31049 current clip. Use getCellRect() for calculating the cell
31050 bounds.
31051
31052 2006-02-13 Roman Kennke <kennke@aicas.com>
31053
31054 * javax/swing/JTable.java
31055 (rectCache): New field.
31056 (getCellRect): Returns cached Rectangle instance.
31057
31058 2006-02-13 Roman Kennke <kennke@aicas.com>
31059
31060 * javax/swing/JLayeredPane.java
31061 (removeAll): New method. Avoid potential memory leak.
31062 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31063 calculation.
31064
31065 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31066
31067 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31068 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31069
31070 2006-02-13 Tom Tromey <tromey@redhat.com>
31071
31072 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31073 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31074
31075 2006-02-13 Roman Kennke <kennke@aicas.com>
31076
31077 * javax/swing/RepaintManager.java
31078 (offscreenBuffers): New field.
31079 (doubleBuffer): Removed field.
31080 (repaintUnderway): New field.
31081 (commitRequests): New field.
31082 (RepaintManager): Initialize new fields.
31083 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31084 buffers when done.
31085 (getOffscreenBuffer): Returns the offscreen buffer for the
31086 corresponding root component.
31087 (commitBuffer): New method.
31088 (commitRemainingBuffers): New method.
31089 * javax/swing/JComponent.java
31090 (paint): Call paintDoubleBuffered with the current clip.
31091 (paintImmediately2): Don't paint on screen here.
31092 (paintDoubleBuffered): Rewritten for real double buffering.
31093 (paintSimple): Draw to screen in this method.
31094
31095 2006-02-13 Roman Kennke <kennke@aicas.com>
31096
31097 * javax/swing/JRootPane.java
31098 (JRootPane): Set opaque property to true.
31099
31100 2006-02-13 Tom Tromey <tromey@redhat.com>
31101
31102 * .classpath: Updated for external/relaxngDatatype.
31103
31104 2006-02-13 Chris Burdess <dog@gnu.org>
31105
31106 * gnu/xml/stream/UnicodeReader.java,
31107 gnu/xml/validation/datatype/Annotation.java,
31108 gnu/xml/validation/datatype/AnySimpleType.java,
31109 gnu/xml/validation/datatype/AnyType.java,
31110 gnu/xml/validation/datatype/AnyURIType.java,
31111 gnu/xml/validation/datatype/AtomicSimpleType.java,
31112 gnu/xml/validation/datatype/Base64BinaryType.java,
31113 gnu/xml/validation/datatype/BooleanType.java,
31114 gnu/xml/validation/datatype/ByteType.java,
31115 gnu/xml/validation/datatype/DateTimeType.java,
31116 gnu/xml/validation/datatype/DateType.java,
31117 gnu/xml/validation/datatype/DecimalType.java,
31118 gnu/xml/validation/datatype/DoubleType.java,
31119 gnu/xml/validation/datatype/DurationType.java,
31120 gnu/xml/validation/datatype/EntitiesType.java,
31121 gnu/xml/validation/datatype/EntityType.java,
31122 gnu/xml/validation/datatype/EnumerationFacet.java,
31123 gnu/xml/validation/datatype/Facet.java,
31124 gnu/xml/validation/datatype/FloatType.java,
31125 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31126 gnu/xml/validation/datatype/GDayType.java,
31127 gnu/xml/validation/datatype/GMonthDayType.java,
31128 gnu/xml/validation/datatype/GMonthType.java,
31129 gnu/xml/validation/datatype/GYearMonthType.java,
31130 gnu/xml/validation/datatype/GYearType.java,
31131 gnu/xml/validation/datatype/HexBinaryType.java,
31132 gnu/xml/validation/datatype/IDRefType.java,
31133 gnu/xml/validation/datatype/IDRefsType.java,
31134 gnu/xml/validation/datatype/IDType.java,
31135 gnu/xml/validation/datatype/IntType.java,
31136 gnu/xml/validation/datatype/IntegerType.java,
31137 gnu/xml/validation/datatype/LanguageType.java,
31138 gnu/xml/validation/datatype/LengthFacet.java,
31139 gnu/xml/validation/datatype/ListSimpleType.java,
31140 gnu/xml/validation/datatype/LongType.java,
31141 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31142 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31143 gnu/xml/validation/datatype/MaxLengthFacet.java,
31144 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31145 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31146 gnu/xml/validation/datatype/MinLengthFacet.java,
31147 gnu/xml/validation/datatype/NCNameType.java,
31148 gnu/xml/validation/datatype/NMTokenType.java,
31149 gnu/xml/validation/datatype/NMTokensType.java,
31150 gnu/xml/validation/datatype/NameType.java,
31151 gnu/xml/validation/datatype/NegativeIntegerType.java,
31152 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31153 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31154 gnu/xml/validation/datatype/NormalizedStringType.java,
31155 gnu/xml/validation/datatype/NotationType.java,
31156 gnu/xml/validation/datatype/PatternFacet.java,
31157 gnu/xml/validation/datatype/PositiveIntegerType.java,
31158 gnu/xml/validation/datatype/QNameType.java,
31159 gnu/xml/validation/datatype/ShortType.java,
31160 gnu/xml/validation/datatype/SimpleType.java,
31161 gnu/xml/validation/datatype/StringType.java,
31162 gnu/xml/validation/datatype/TimeType.java,
31163 gnu/xml/validation/datatype/TokenType.java,
31164 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31165 gnu/xml/validation/datatype/Type.java,
31166 gnu/xml/validation/datatype/TypeBuilder.java,
31167 gnu/xml/validation/datatype/TypeLibrary.java,
31168 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31169 gnu/xml/validation/datatype/UnionSimpleType.java,
31170 gnu/xml/validation/datatype/UnsignedByteType.java,
31171 gnu/xml/validation/datatype/UnsignedIntType.java,
31172 gnu/xml/validation/datatype/UnsignedLongType.java,
31173 gnu/xml/validation/datatype/UnsignedShortType.java,
31174 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31175 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31176 RELAX NG datatype library implementation for XML Schema Datatypes.
31177
31178 2006-02-13 Chris Burdess <dog@gnu.org>
31179
31180 * LICENCE,
31181 NEWS,
31182 configure.ac,
31183 doc/README.jaxp,
31184 external/Makefile.am,
31185 external/relaxngDatatype/.cvsignore,
31186 external/relaxngDatatype/Makefile.am,
31187 external/relaxngDatatype/README.txt,
31188 external/relaxngDatatype/copying.txt,
31189 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31190 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31191 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31192 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31193 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31194 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31195 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31196 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31197 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31198 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31199 lib/Makefile.am,
31200 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31201 datatypes library API.
31202
31203 2006-02-13 Mark Wielaard <mark@klomp.org>
31204
31205 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31206 final.
31207 (gtkWidgetModifyFont(Font)): New protected helper method.
31208 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31209 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31210 protected and document.
31211 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31212 Likewise.
31213 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31214 Likewise.
31215 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31216 Likewise.
31217 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31218 (setFont): Removed method. Done in GtkMenuComponent.
31219 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31220 abstract and protected.
31221 (setFont): Made private, add implementation.
31222 (setFont(Font)): Implemented.
31223 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31224 Made protected and document.
31225 (create): Made protected.
31226 (setFont): Removed method. Done in GtkMenuComponent.
31227 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31228 (gtkWidgetModifyFont): Made protected and document.
31229 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31230 Removed, similar to GtkGenericPeer super class implementation.
31231 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31232 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31233 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31234 Removed.
31235
31236 2006-02-13 Mark Wielaard <mark@klomp.org>
31237
31238 * java/lang/Math.java (static): Explicitly call
31239 System.loadLibrary("javalang").
31240
31241 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31242
31243 * javax/print/StreamPrintServiceFactory.java: New file.
31244
31245 2006-02-13 Tom Tromey <tromey@redhat.com>
31246
31247 * tools/.cvsignore: Added Makefile.
31248
31249 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31250
31251 * java/awt/print/PrinterGraphics.java: Reformatted.
31252 * java/awt/print/Paper.java: Likewise.
31253 * java/awt/print/PageFormat.java: Likewise.
31254 * java/awt/print/Pageable.java: Likewise.
31255
31256 2006-02-13 Lillian Angel <langel@redhat.com>
31257
31258 * java/awt/BorderLayout.java
31259 (layoutContainer): Rewrote part of this function to
31260 properly set the bounds of the components.
31261 (setBounds): Removed method, not needed.
31262
31263 2006-02-13 Roman Kennke <kennke@aicas.com>
31264
31265 * javax/swing/text/DefaultStyledDocument.java
31266 (ElementBuffer.clone): Fixed replace call.
31267 (clone): Removed method.
31268
31269 2006-02-13 Roman Kennke <kennke@aicas.com>
31270
31271 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31272
31273 2006-02-13 Roman Kennke <kennke@aicas.com>
31274
31275 * java/rmi/server/UnicastRemoteObject.java
31276 (exportObject(Remote)): Forward method call to export(Remote,int).
31277
31278 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31279
31280 * include/Makefile.am:
31281 Swapped Math.h for VMMath.h
31282 * include/java_lang_Math.h:
31283 Removed.
31284 * include/java_lang_VMMath.h:
31285 New autogenerated header for the new class.
31286 * java/lang/Math.java:
31287 (sin(double)): Changed to link to VMMath.
31288 (cos(double)): Changed to link to VMMath.
31289 (tan(double)): Changed to link to VMMath.
31290 (asin(double)): Changed to link to VMMath.
31291 (acos(double)): Changed to link to VMMath.
31292 (atan(double)): Changed to link to VMMath.
31293 (atan2(double)): Changed to link to VMMath.
31294 (exp(double)): Changed to link to VMMath.
31295 (log(double)): Changed to link to VMMath.
31296 (sqrt(double)): Changed to link to VMMath.
31297 (pow(double,double)): Changed to link to VMMath.
31298 (IEEEremainder(double,double)): Changed to link to VMMath.
31299 (ceil(double)): Changed to link to VMMath.
31300 (floor(double)): Changed to link to VMMath.
31301 (rint(double)): Changed to link to VMMath.
31302 * native/jni/java-lang/Makefile.am:
31303 Replaced java_lang_Math.c with java_lang_VMMath.c
31304 * native/jni/java-lang/java_lang_Math.c:
31305 Removed.
31306 * native/jni/java-lang/java_lang_VMMath.c:
31307 Renamed from java_lang_Math.c.
31308 * vm/reference/java/lang/VMMath.java:
31309 New class.
31310 (sin(double)): New native method.
31311 (cos(double)): New native method.
31312 (tan(double)): New native method.
31313 (asin(double)): New native method.
31314 (acos(double)): New native method.
31315 (atan(double)): New native method.
31316 (atan2(double)): New native method.
31317 (exp(double)): New native method.
31318 (log(double)): New native method.
31319 (sqrt(double)): New native method.
31320 (pow(double,double)): New native method.
31321 (IEEEremainder(double,double)): New native method.
31322 (ceil(double)): New native method.
31323 (floor(double)): New native method.
31324 (rint(double)): New native method.
31325
31326 2006-02-13 Lillian Angel <langel@redhat.com>
31327
31328 * java/awt/Component.java
31329 (repaint): No need to call isShowing, it is done in the other repaint call.
31330 (repaint): Likewise.
31331 (repaint): Likewise.
31332
31333 2006-02-13 Lillian Angel <langel@redhat.com>
31334
31335 * java/awt/Component.java
31336 (repaint): Reverted last change.
31337 (repaint): Likewise.
31338 (repaint): Likewise.
31339
31340 2006-02-13 Lillian Angel <langel@redhat.com>
31341
31342 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31343 (handleEvent): Made more efficent by handling paint event and
31344 setting the clip for the graphics.
31345 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31346 (handleEvent): Likewise.
31347 * java/awt/Component.java
31348 (repaint): No need to call isShowing, it is done in the other repaint call.
31349 (repaint): Likewise.
31350 (repaint): Likewise.
31351
31352 2006-02-13 Roman Kennke <kennke@aicas.com>
31353
31354 * javax/swing/text/AbstractDocument.java
31355 (setParent): Added API docs. Call setParent(null) on children before
31356 disconnecting this view from the View hierarchy.
31357
31358 2006-02-13 Roman Kennke <kennke@aicas.com>
31359
31360 * javax/swing/text/AbstractDocument.java
31361 (readUnlock): Don't attempt to unlock when the current threads also
31362 holds a write lock.
31363
31364 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31365
31366 * javax/swing/plaf/metal/MetalBorders.java
31367 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31368 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31369 insets argument,
31370 (Flush3DBorder.borderInsets): New field,
31371 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31372 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31373 null insets argument, and populate result from borderInsets,
31374 (PaletteBorder.borderInsets): New field,
31375 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31376 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31377 null insets argument, and populate result from borderInsets,
31378 (InternalFrameBorder.borderInsets): New field,
31379 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31380 directly,
31381 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31382 for null insets argument, and populate result from borderInsets,
31383 (MenuItemBorder.borderInsets): Initialise to correct value.
31384
31385 2006-02-13 Roman Kennke <kennke@aicas.com>
31386
31387 * javax/swing/text/AsyncBoxView.java: New file.
31388
31389 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31390
31391 Fixes bug #26166
31392 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31393 was moved to a new method parseCharClass.
31394 (parseCharClass): New method originally in initialize. Added parsing
31395 of nested character classes.
31396 (ParseCharClassResult): New inner class used as a return value of
31397 parseCharClass.
31398 (getCharExpression),(getNamedProperty): Made static.
31399 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31400 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31401 nested character classes.
31402 (RETokenOneOf): New constructor accepting the Vector addition.
31403 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31404 stands for only one character.
31405 (match): Added the processing of the Vector addition.
31406 (matchN), (matchP): Do not check next token if addition is used.
31407
31408 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31409
31410 * AUTHORS: add self.
31411
31412 2006-02-12 Tom Tromey <tromey@redhat.com>
31413
31414 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31415 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31416 (securityContext): Likewise.
31417 (log): Likewise.
31418
31419 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31420
31421 Fixes PR 26218.
31422
31423 * gnu/java/net/protocol/file/Connection.java (unquote):
31424 Convert Unicode characters outside basic plane to UTF-8,
31425 rather than throwing an exception.
31426
31427 2006-02-12 Tom Tromey <tromey@redhat.com>
31428
31429 * javax/sound/sampled/LineEvent.java (readObject): New method.
31430 (writeObject): Likewise.
31431 (serialVersionUID): New field.
31432
31433 2006-02-12 Mark Wielaard <mark@klomp.org>
31434
31435 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31436 Silently ignores null listener.
31437 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31438 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31439 array for null propertyName.
31440
31441 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31442
31443 * java/rmi/MarshalledObject.java: Added api docs to the class.
31444 * java/rmi/Remote.java: Added interface api docs.
31445 * java/rmi/package.html: Added package description.
31446 * java/rmi/AccessException.java: Minor api doc fixes.
31447 * java/rmi/NoSuchObjectException.java: Likewise.
31448 * java/rmi/AlreadyBoundException.java: Likewise.
31449 * java/rmi/RemoteException.java: Likewise.
31450 * java/rmi/NotBoundException.java: Likewise.
31451 * java/rmi/RMISecurityException.java: Likewise.
31452 * java/rmi/StubNotFoundException.java: Likewise.
31453
31454 2006-02-12 Mark Wielaard <mark@klomp.org>
31455
31456 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31457 q() to get EventQueue.
31458 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31459 (enableQueue): Remove static method.
31460 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31461 Don't call GtkGenericPeer.enableQueue().
31462
31463 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31464
31465 * java/rmi/MarshalledObject.java: Reformatted.
31466 * java/rmi/Naming.java: Likewise.
31467
31468 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31469
31470 * java/io/InputStream.java
31471 (read(byte[],int,int)): Changed argument validation to prevent
31472 integer overflow. Remove redundant check.
31473
31474 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31475
31476 Fixes PR 26220
31477 * java/io/InputStreamReader.java
31478 (InputStreamReader(InputStream)): Use SystemProperties.
31479 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31480 Throw NullPointerException if in is null.
31481 Added maxBytesPerChar initialisation.
31482 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31483 Throw NullPointerException if in is null.
31484
31485 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31486
31487 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31488 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31489 (GnuDHPublicKey): New constructor.
31490 (getEncoded): Removed.
31491 (valueOf): Added support for ASN.1 encoding.
31492 (getEncoded(int)): Likewise.
31493 (equals): New method.
31494 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31495 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31496 (GnuDHPrivateKey(5)): New constructor.
31497 (getEncoded): Removed.
31498 (valueOf): Added support for ASN.1 encoding.
31499 (getEncoded(int)): Likewise.
31500 (equals): New method.
31501 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31502 (PREFERRED_ENCODING_FORMAT): New constant.
31503 (DEFAULT_ENCODING_FORMAT): Likewise.
31504 (preferredFormat): New field.
31505 (setup): Handle preferred encoding format identifier.
31506 (generate): Call constructors with format identifier.
31507 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31508 (GnuDHKey): Added an int argument.
31509 (getEncoded): New method.
31510 (getFormat): New implementation.
31511 (getEncoded(int)): New abstract method.
31512 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31513 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31514 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31515 key-pair generator and key-factory.
31516 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31517 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31518 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31519 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31520 (invokeConstructor): New method.
31521 (getConcreteClass): Likewise.
31522 (getConcreteCtor): Likewise.
31523 (invokeValueOf): Likewise.
31524 (getValueOfMethod): Likewise.
31525 (engineGeneratePublic): Add support for DH keys.
31526 (engineGeneratePrivate): Likewise.
31527 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31528 (decodeDHPublicKey(byte[])): Likewise.
31529 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31530 (decodeDHPrivateKey(byte[])): Likewise.
31531
31532 2006-02-11 Mark Wielaard <mark@klomp.org>
31533
31534 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31535 Removed field.
31536 (repaint): Immediately post to queue when tm <= 0, otherwise call
31537 RepaintTimerTask.schedule().
31538 (RepaintTimerTask): Make static.
31539 (RepaintTimerTask.repaintTimer): New static final field.
31540 (RepaintTimerTask.awtComponent): New field.
31541 (schedule): New static method.
31542
31543 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31544
31545 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31546 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31547 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31548 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31549 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31550 Rewritten.
31551 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31552
31553 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31554
31555 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31556 (engineGeneratePublic): Added support for raw key-specifications.
31557 (engineGeneratePrivate): Likewise.
31558 (decodeDSSPublicKey): New method.
31559 (decodeRSAPublicKey): Likewise.
31560 (decodeDSSPrivateKey): Likewise.
31561 (decodeRSAPrivateKey): Likewise.
31562 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31563 (encodePrivateKey): Throw InvalidParameterException.
31564 (decodePublicKey): Likewise.
31565 (decodePrivateKey): Likewise.
31566 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31567 (encodePublicKey): Likewise.
31568 (encodePrivateKey): Likewise.
31569 (decodePublicKey): Likewise.
31570 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31571 (encodePrivateKey): Likewise.
31572 (decodePublicKey): Likewise.
31573 (decodePrivateKey): Likewise.
31574 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31575 (encodePublicKey): Likewise.
31576 (encodePrivateKey): Likewise.
31577 (decodePublicKey): Likewise.
31578
31579 2006-02-10 Roman Kennke <kennke@aicas.com>
31580
31581 * javax/swing/text/StyleContext.java
31582 (registerStaticAttributeKey): New static method.
31583
31584 2006-02-10 Roman Kennke <kennke@aicas.com>
31585
31586 * javax/swing/text/DefaultStyledDocument.java
31587 (ElementBuffer.clone): New method.
31588
31589 2006-02-10 Roman Kennke <kennke@aicas.com>
31590
31591 * javax/swing/text/ParagraphView.java
31592 (findOffsetToCharactersInString): New method.
31593 (getClosestPositionTo): New method.
31594 (getPartialSize): New method.
31595 (getTabBase): New method.
31596 (adjustRow): New method.
31597 (breakView): New method.
31598 (getBreakWeight): New method.
31599
31600 2006-02-10 Roman Kennke <kennke@aicas.com>
31601
31602 * javax/swing/text/GapContent.java
31603 (updateUndoPositions): New method.
31604 * javax/swing/text/StringContent.java
31605 (updateUndoPositions): New method.
31606
31607 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
31608
31609 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31610 Made it public.
31611 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31612 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31613 Added support for encoded key specifications.
31614 (engineGeneratePrivate): Likewise.
31615 (engineGetKeySpec): Likewise.
31616 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31617
31618 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
31619
31620 * javax/swing/text/Utilities.java:
31621 (getTabbedTextOffset): Fixed usage of variable p0.
31622 (getPositionAbove): Rewritten.
31623 (getPositionBelow): Rewritten.
31624
31625 2006-02-09 Roman Kennke <kennke@aicas.com>
31626
31627 * javax/swing/text/BoxView.java
31628 (getAxis): Added @since tag.
31629 (setAxis): Added @since tag.
31630 (layoutChanged): Added @since tag.
31631 (isLayoutValid): Added @since tag.
31632 (paint): Don't call setSize here. This is done in RootView already.
31633 (getMaximumSpan): Reimplemented to return the requirements'
31634 maximum size. Added API docs.
31635 (getMinimumSpan): New method.
31636 (layout): Fixed layout order.
31637 (modelToView): Call layout instead of setSize here.
31638 (getResizeWeight): New method.
31639 (getChildAllocation): New method.
31640 (forwardUpdate): New method.
31641 (viewToModel): New method.
31642 (flipEastEndWestEnds): New method.
31643 * javax/swing/text/CompositeView.java
31644 (modelToView): Made this method more robust by returning a default
31645 location if it's not possible to calculate one via the children.
31646 This default location returns the left or right edge of this
31647 view.
31648 (createDefaultLocation): New helper method.
31649 * javax/swing/text/IconView.java
31650 (modelToView): Don't throw BadLocationException. This should
31651 really only be thrown if the position is outside the document
31652 model, not if it's outside the view's boundary.
31653
31654 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31655
31656 * tools/Makefile.am: Handle rmi and giop folders separately.
31657
31658 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31659
31660 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
31661 * javax/swing/SpinnerNumberModel.java: Likewise.
31662
31663 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31664
31665 * javax/swing/SpinnerDateModel.java: Removed tabs,
31666 * javax/swing/SpinnerNumberModel.java: Likewise.
31667
31668 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
31669
31670 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
31671 * doc/unicode/UnicodeData-4.0.0.txt: New file.
31672
31673 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31674
31675 Fixes bug #26081
31676 * gnu/java/net/protocol/http/HTTPURLConnection.java:
31677 (isRedirect): Removed, moved to Response.java.
31678 (connect): If error condition redirect responseSink to errorSink.
31679 (getInputStream): If error condition throw IOException, for the error
31680 codes 404 and 410 throw a FileNotFoundException.
31681 * gnu/java/net/protocol/http/Response.java (isError): New method.
31682 (isRedirect): New method, moved from HTTPURLConnection.java.
31683
31684 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31685
31686 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
31687 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
31688 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
31689 Better diagnostic.
31690 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
31691 Rewritten.
31692 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
31693 AbstractMethodGenerator.
31694 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
31695 tools/gnu/classpath/tools/rmi/RMIC.java,
31696 tools/gnu/classpath/tools/rmi/RMIC.txt,
31697 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
31698 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
31699 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
31700 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
31701 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
31702 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
31703 New files.
31704 * NEWS: Corrected entry about the tools.
31705
31706 2006-02-09 Lillian Angel <langel@redhat.com>
31707
31708 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31709 (handleEvent): Added more to check to prevent assertion errors.
31710 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31711 (handleEvent): Likewise.
31712 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31713 (handleEvent): Likewise.
31714
31715 2006-02-09 Mark Wielaard <mark@klomp.org>
31716
31717 * javax/swing/JTable.java (tableChanged): Interpret null event as
31718 "everything changed".
31719
31720 2006-02-09 Roman Kennke <kennke@aicas.com>
31721
31722 * javax/swing/text/DefaultCaret.java
31723 (DocumentHandler.removeUpdate): When update policy is
31724 'on eventqueue', and the update doesn't come from the
31725 event queue, check if the current dot location is still
31726 valid.
31727 (moveDot): Make sure the new dot location is valid.
31728 (setDot): Set the mark the same as the dot.
31729
31730 2006-02-09 Roman Kennke <kennke@aicas.com>
31731
31732 * javax/swing/text/AbstractDocument.java
31733 (remove): Perform all operations within a write lock and in the
31734 correct order.
31735
31736 2006-02-09 Mark Wielaard <mark@klomp.org>
31737
31738 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
31739 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
31740 creater than min, adjusting page_size if necessary.
31741 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
31742
31743 2006-02-09 Lillian Angel <langel@redhat.com>
31744
31745 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31746 (handleEvent): Added code to handle PaintEvent.UPDATE.
31747 Sun does not call update(Graphics g) on Panels.
31748 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31749 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
31750 Sun does not call update(Graphics g) on Panels.
31751
31752 2006-02-09 Roman Kennke <kennke@aicas.com>
31753
31754 * javax/swing/text/BoxView.java
31755 (myAxis): Made field private.
31756 (xLayoutValid): Replaced by layoutValid array.
31757 (yLayoutValid): Replaced by layoutValid array.
31758 (layoutValid): New field.
31759 (spansX): Replaced by spans array.
31760 (spansY): Replaced by spans array.
31761 (spans): New field.
31762 (offsetsX): Replaced by offsets array.
31763 (offsetsY): Replaced by offsets array.
31764 (offsets): New field.
31765 (requirements): New field.
31766 (BoxView): Initialize new fields.
31767 (layoutChanged): Rewritten to use the layoutValid array.
31768 (isLayoutValid): Rewritten to use the layoutValid array.
31769 (replace): Use the new arrays.
31770 (getPreferredSpan): Rewritten to call calculateXXXRequirements
31771 instead of baselineRequirements.
31772 (baselineRequirements): Rewritten to calculate baseline requirements.
31773 (baselineLayout): Rewritten to calculate baseline layout.
31774 (childAllocation): Use new arrays.
31775 (layout): Rewritten. Only update the layout if necessary.
31776 (layoutMajorAxis): Directly set layoutValid.
31777 (layoutMinorAxis): Directly set layoutValid. Use cached size
31778 requirements.
31779 (getWidth): Use new span array.
31780 (getHeight): Likewise.
31781 (setSize): Rewritten to simply call layout().
31782 (validateLayout): Removed unneeded method.
31783 (getSpan): Use new arrays.
31784 (getOffset): Use new arrays.
31785 (getAlignment): Use cached requirements if possible.
31786 (preferenceChanged): Use new arrays.
31787 * javax/swing/text/FlowView.java
31788 (FlowStrategy.insertUpdate): Do nothing here.
31789 (FlowStrategy.removeUpdate): Do nothing here.
31790 (FlowStrategy.changedUpdate): Do nothing here.
31791 (FlowStrategy.layoutRow): Rewritten.
31792 (FlowStrategy.createView): Rewritten.
31793 (FlowStrategy.adjustRow): New method.
31794 (LogicalView.getViewIndex): Fixed condition for finding child
31795 view.
31796 (layoutDirty): New field indicating the state of the layout.
31797 (FlowView): Initialize new field.
31798 (loadChildren): Set parent on logical view so that preferenceChanges
31799 get propagated upwards.
31800 (layout): Rewritten to match the specs.
31801 (insertUpdate): Set layout to dirty.
31802 (removeUpdate): Set layout to dirty.
31803 (changedUpdate): Set layout to dirty.
31804 * javax/swing/text/GlyphView.java
31805 (getBreakWeight): Rewritten to use the Utilities class. Commented
31806 out though because that is broken.
31807 (insertUpdate): Call preferenceChanged on this object instead of
31808 parent.
31809 * javax/swing/text/ParagraphView.java
31810 (Row.loadChildren): Overridden to be a noop to prevent initial
31811 creation of child views. This is carried out by the flow layout.
31812 * javax/swing/text/View.java
31813 (getPreferredSpan): Added API docs.
31814 (getResizeWeight): Added API docs.
31815 (getMaximumSpan): Added API docs. Rewritten to only have one exit
31816 point.
31817 (getMinimumSpan): Added API docs. Rewritten to return 0 when
31818 resizable instead of Integer.MAX_VALUE.
31819 (getAlignment): Added API docs.
31820 (replace): Added API docs.
31821 (forwardUpdate): Rewritten to only notify child views that need to
31822 be notified.
31823
31824 2006-02-09 Roman Kennke <kennke@aicas.com>
31825
31826 * javax/swing/plaf/basic/BasicTextUI.java
31827 (RootView.paint): Call setSize() before painting the view.
31828
31829 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
31830
31831 Fixes bug #26112
31832 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
31833 flag which enables backslash escape in a replacement.
31834 (getReplacement): New public static method.
31835 (substituteImpl),(substituteAllImpl): Use getReplacement.
31836 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
31837 * java/util/regex/Matcher.java(appendReplacement)
31838 Use RE#getReplacement.
31839 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
31840
31841 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
31842
31843 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
31844 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
31845 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
31846 (PREFERRED_ENCODING_FORMAT): New constant.
31847 (DEFAULT_ENCODING_FORMAT): Likewise.
31848 (preferredFormat): New field.
31849 (setup): Add support for preferred encoding format.
31850 (generate): Call key constructors with explicit format identifier.
31851 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
31852 Call constructor with 3 arguments..
31853 (GnuRSAPublicKey(3)): New constructor.
31854 (valueOf): Added support for ASN.1 format.
31855 (getEncoded): Likewise.
31856 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
31857 Call constructor with 5 arguments.
31858 (GnuRSAPrivateKey(5)): New constructor.
31859 (GnuRSAPrivateKey(9)): New constructor.
31860 (valueOf): Added support for ASN.1 format.
31861 (getEncoded): Likewise.
31862 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
31863 (GnuRSAKey): Modified constructor.
31864 (getFormat): Return preferred format identifier.
31865 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31866 (decodePrivateKey): Fixed documentation.
31867 Check Version field.
31868 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
31869 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
31870 format.
31871 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
31872 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31873 (engineGeneratePublic): Added support for RSA.
31874 (engineGeneratePrivate): Likewise.
31875
31876 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31877
31878 * java/net/URLConnection.java:
31879 (setAllowUserInteraction): Throw IllegalStateException if connected.
31880 (getRequestProperty): Document return value if key is null.
31881 * gnu/java/net/protocol/http/HTTPURLConnection.java:
31882 (getRequestProperty): Return null if key is null.
31883 (getRequestProperties): Throw IllegalStateException if connected.
31884 (setRequestProperty): Call super method for exception tests.
31885 (addRequestProperty): Likewise.
31886
31887 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31888
31889 * gnu/java/net/protocol/http/Request.java:
31890 (Request): Remove initialization of removed field.
31891 (requestBodyNegotiationThreshold): Removed now unused field.
31892 (setRequestBodyNegotiationThreshold): Remove now unused method.
31893 (dispatch): Do not use 'Expect 100-continue' header if content-length
31894 is over a treshold. If user specified 'Expect 100-continue' still
31895 initialize the expectingContinue variable.
31896
31897 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
31898
31899 * javax/swing/SpinnerNumberModel.java
31900 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
31901 maximum and minimum to take null values,
31902 (setValue): Only fire ChangeEvent if new value is different to old
31903 value,
31904 (setMinimum): Fixed test for updating value,
31905 (setMaximum): Likewise,
31906 (setStepSize): Likewise.
31907
31908 2006-02-08 Tom Tromey <tromey@redhat.com>
31909
31910 * tools/.cvsignore: Added Makefile.in.
31911
31912 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31913
31914 * java/rmi/server/RemoteRef.java,
31915 java/rmi/server/RemoteStub.java: Commented.
31916
31917 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
31918
31919 * javax/swing/SpinnerDateModel.java
31920 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
31921 checks,
31922 (getPreviousValue): Check result against start, not end,
31923 (setValue): Check that value actually changes before firing
31924 ChangeEvent.
31925
31926 2006-02-08 Lillian Angel <langel@redhat.com>
31927
31928 * java/awt/Choice.java
31929 (select): Fixed up code, added some checks to prevent errors.
31930 (dispatchEventImpl): Removed. This function is not needed. It
31931 causes several assertion errors.
31932
31933 2006-02-08 Roman Kennke <kennke@aicas.com>
31934
31935 * javax/swing/text/PlainView.java
31936 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
31937 drawing unnecessary characters.
31938
31939 2006-02-08 Lillian Angel <langel@redhat.com>
31940
31941 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31942 (handleEvent): Fixed check to determine if height or
31943 width is less than 1.
31944
31945 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31946
31947 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
31948
31949 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31950
31951 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
31952 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
31953 Documenting the code generator.
31954 * gnu/CORBA/IOR.java (toStringFormatted,
31955 CodeSet_component.toStringFormatted): New methods.
31956 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
31957 * tools/gnu/classpath/tools/giop/README: Rewritten.
31958 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
31959 (printHelpAndExit): Removed.
31960 *tools/gnu/classpath/tools/giop/IorParser.java,
31961 tools/gnu/classpath/tools/giop/IorParser.txt,
31962 tools/gnu/classpath/tools/giop/NameService.java,
31963 tools/gnu/classpath/tools/giop/NamingService.txt,
31964 tools/gnu/classpath/tools/HelpPrinter.java: New files.
31965 NEWS: Added note about GIOP tools.
31966
31967 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31968
31969 * .classpath: New source patch (tools).
31970 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
31971 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
31972 * tools/gnu/classpath/tools/Makefile.am,
31973 tools/gnu/classpath/tools/giop/GRMIC.java
31974 tools/gnu/classpath/tools/giop/GRMIC.txt,
31975 tools/gnu/classpath/tools/giop/README,
31976 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
31977 tools/gnu/classpath/tools/giop/grmic/Generator.java,
31978 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
31979 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
31980 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
31981 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
31982 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
31983 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
31984 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
31985 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31986 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31987 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
31988
31989 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
31990
31991 * java/awt/BasicStroke.java: Updated API docs all over,
31992 * java/awt/doc-files/capjoin.png: New file.
31993
31994 2006-02-07 Lillian Angel <langel@redhat.com>
31995
31996 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31997 (handleEvent): Added check. Should not paint or update the
31998 component if it's width and height are both 0.
31999
32000 2006-02-07 Roman Kennke <kennke@aicas.com>
32001
32002 * javax/swing/text/AbstractDocument.java
32003 (insertString): Enclose locking/unlocking in try-finally block
32004 and also keep locked while notifying the listeners.
32005
32006 2006-02-07 Roman Kennke <kennke@aicas.com>
32007
32008 * javax/swing/text/GlyphView.java
32009 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32010 element boundary).
32011 (getStartOffset): Return element boundary if startOffset < 0.
32012 (getEndOffset): Return element boundary if endOffset < 0.
32013 (createFragment): Set startOffset and endOffset fields of fragment
32014 if one of p0 or p1 is not at the element boundary.
32015
32016 2006-02-07 Roman Kennke <kennke@aicas.com>
32017
32018 * javax/swing/CellRendererPane.java
32019 (paintComponent): Enclosed painting in try finally to properly
32020 clean up even when throwing an exception.
32021
32022 2006-02-07 Roman Kennke <kennke@aicas.com>
32023
32024 * javax/swing/UIManager.java
32025 (listeners): Made this an instance of
32026 java.beans.PropertyChangeSupport instead of the obsoleted
32027 SwingPropertyChangeSupport.
32028
32029 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32030
32031 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32032 of actions "delete-next" and "delete-previous", added new TextAction
32033 implementations for "selection-begin", "selection-begin-line",
32034 "selection-end" and "selection-end-line".
32035
32036 2006-02-07 Roman Kennke <kennke@aicas.com>
32037
32038 * javax/swing/plaf/basic/BasicTextUI.java
32039 (paint): Acquire read lock on the document before calling
32040 paintSafely.
32041 (paintSafely): Added comment about what this method does.
32042 (paintBackground): Implemented to actually paint the background.
32043 (update): Overridden to _not_ paint the background. This is done
32044 in paintBackground in this UI.
32045
32046 2006-02-07 Roman Kennke <kennke@aicas.com>
32047
32048 * javax/swing/text/View.java
32049 (forwardUpdate): Don't notify newly added child views as specified.
32050
32051 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32052
32053 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32054
32055 2006-02-07 Roman Kennke <kennke@aicas.com>
32056
32057 * javax/swing/text/DefaultStyledDocument.java
32058 (ElementBuffer.insert): Only register change when the element
32059 actually changed.
32060
32061 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32062
32063 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32064 method.
32065 (getEncodingShortName): Likewise.
32066 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32067 (PKCS8_FORMAT): Likewise.
32068 (ASN1_FORMAT): Likewise.
32069 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32070 constructor with 5 arguments.
32071 (DSSPublicKey(5)): New constructor.
32072 (valueOf): Handle ASN.1 encoding.
32073 (getEncoded): Likewise.
32074 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32075 constructor with 5 arguments.
32076 (DSSPrivateKey(5)): New constructor.
32077 (valueOf): Handle ASN.1 encoding.
32078 (getEncoded): Likewise.
32079 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32080 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32081 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32082 (PREFERRED_ENCODING_FORMAT): New constant.
32083 (DEFAULT_ENCODING_FORMAT): Likewise.
32084 (preferredFormat): New field.
32085 (setup): Handle preferred format ID.
32086 (generate): Use new ctors with 5 arguments.
32087 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32088 ID as an additional argument.
32089 (defaultFormat): new field.
32090 (getFormat): Returns the preferred format as a short string.
32091 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32092 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32093 Likewise
32094 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32095 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32096 encoding format.
32097 (initialize(int,boolean,SecureRandom)): Likewise.
32098 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32099 writeLength() instead of write().
32100 return buf.length + 1 instead of buf.length.
32101
32102 2006-02-07 Roman Kennke <kennke@aicas.com>
32103
32104 * javax/swing/plaf/basic/BasicTextUI.java
32105 (RootView.preferenceChange): Changed view parameter to view so
32106 that it doesn't hide a field of that class.
32107 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32108 (RootView.modelToView): Removed unnecessary cast from View to View.
32109 (PropertyChangeHandler): Made inner class private.
32110 (updateHandler): Made field private.
32111 (getVisibleEditorRect): Removed unneeded local variable that
32112 shadowed a field with the same name and purpose.
32113
32114 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32115
32116 * javax/swing/text/JTextComponent.java:
32117 (getSelectedText): Calculate offset and use that as
32118 second argument.
32119
32120 2006-02-07 Roman Kennke <kennke@aicas.com>
32121
32122 * javax/swing/JTextPane.java
32123 (setCharacterAttributes): Replace input attributes when
32124 replace==true.
32125
32126 2006-02-07 Roman Kennke <kennke@aicas.com>
32127
32128 * java/awt/Component.java
32129 (firePropertyChange(String,byte,byte)): Made method public.
32130 (firePropertyChange(String,char,char)): Made method public.
32131 (firePropertyChange(String,short,short)): Made method public.
32132 (firePropertyChange(String,long,long)): Made method public.
32133 (firePropertyChange(String,float,float)): Made method public.
32134 (firePropertyChange(String,double,double)): Made method public.
32135
32136 2006-02-06 Tom Tromey <tromey@redhat.com>
32137
32138 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32139 2006.
32140 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32141
32142 2006-02-06 Anthony Green <green@redhat.com>
32143
32144 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32145
32146 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32147
32148 * .settings/org.eclipse.jdt.core.prefs:
32149 Force a line split on extends and implements.
32150 Force a white-space after unary operators.
32151 Don't force a new-line after @params.
32152 Add new-line at end-of-file.
32153 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32154
32155 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32156
32157 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32158 Registry constant.
32159 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32160 Likewise.
32161 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32162 Likewise.
32163 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32164 Likewise.
32165 * gnu/java/security/provider/EncodedKeyFactory.java
32166 (ID_DSA): Redefined in terms of Registry constant.
32167 (ID_DSA): Redefined in terms of Registry constant.
32168 (ID_DH): Redefined in terms of Registry constant.
32169 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32170 (PKCS8_ENCODING): Likewise.
32171 (ASN1_ENCODING): Likewise.
32172 (RAW_ENCODING_SHORT_NAME): Likewise.
32173 (X509_ENCODING_SORT_NAME): Likewise.
32174 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32175 (ASN1_ENCODING_SHORT_NAME): Likewise.
32176 (X509_ENCODING_ID): Likewise.
32177 (PKCS8_ENCODING_ID): Likewise.
32178 (ASN1_ENCODING_ID): Likewise.
32179 (DSA_OID_STRING): Likewise.
32180 (RSA_OID_STRING): Likewise.
32181 (DH_OID_STRING): Likewise.
32182
32183 2006-02-06 Roman Kennke <kennke@aicas.com>
32184
32185 * javax/swing/text/GlyphView.java:
32186 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32187 Only fill background if there is a background set on the view.
32188 Call Utilities.drawTabbedText with the baseline height, rather than
32189 the upper left corner of the view rectangle.
32190 (getBackground): Return null if no background is set.
32191 * javax/swing/text/GlyphView.java:
32192 (setPropertiesFromAttributes): Use null for background when no
32193 background is set. StyleConstants.getBackground() doesn't work
32194 for this, because it returns Color.BLACK in that case.
32195
32196 2006-02-06 Roman Kennke <kennke@aicas.com>
32197
32198 * java/awt/Container.java
32199 (changeSupport): Removed duplicate (from Component) field.
32200 (addPropertyChangeListener): Call super.
32201
32202 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32203
32204 * java/util/regex/Matcher.java(matches):
32205 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32206
32207 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32208
32209 Fixes bug #25812
32210 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32211 * gnu/regexp/CharIndexedCharArray.java
32212 (lookBehind),(length): Implemented.
32213 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32214 * gnu/regexp/CharIndexedString.java: Likewise.
32215 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32216 * gnu/regexp/REToken.java(getMaximumLength): New method.
32217 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32218 maxLength.
32219 (initialize): Parse (?<=X), (?<!X), (?>X).
32220 (getMaximumLength): Implemented.
32221 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32222 * gnu/regexp/RETokenChar.java: Likewise.
32223 * gnu/regexp/RETokenEnd.java: Likewise.
32224 * gnu/regexp/RETokenEndSub.java: Likewise.
32225 * gnu/regexp/RETokenLookAhead.java: Likewise.
32226 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32227 * gnu/regexp/RETokenOneOf.java: Likewise.
32228 * gnu/regexp/RETokenPOSIX.java: Likewise.
32229 * gnu/regexp/RETokenRange.java: Likewise.
32230 * gnu/regexp/RETokenRepeated.java: Likewise.
32231 * gnu/regexp/RETokenStart.java: Likewise.
32232 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32233 * gnu/regexp/RETokenIndependent.java: New file.
32234 * gnu/regexp/RETokenLookBehind.java: New file.
32235
32236 2006-02-06 Roman Kennke <kennke@aicas.com>
32237
32238 * java/awt/Component.java
32239 (firePropertyChange(String,byte,byte)): New method.
32240 (firePropertyChange(String,char,char)): New method.
32241 (firePropertyChange(String,short,short)): New method.
32242 (firePropertyChange(String,long,long)): New method.
32243 (firePropertyChange(String,float,float)): New method.
32244 (firePropertyChange(String,double,double)): New method.
32245
32246 2006-02-06 Roman Kennke <kennke@aicas.com>
32247
32248 * javax/swing/JComponent.java
32249 (AccessibleJComponent.changeSupport): Changed to be a
32250 java.beans.PropertyChangeSupport rather than
32251 SwingPropertyChangeSupport.
32252 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32253 of above field.
32254 (changeSupport): Removed unneeded field.
32255 (removePropertyChangeListener): Removed unneeded methods.
32256 (addPropertyChangeListener): Removed unneeded methods.
32257 (getPropertyChangeListeners): Removed unneeded methods.
32258 (firePropertyChange(String,boolean,boolean)): Changed to simply
32259 call super. Added specnote.
32260 (firePropertyChange(String,char,char)): Changed to simply
32261 call super. Added specnote.
32262 (firePropertyChange(String,int,int)): Changed to simply
32263 call super. Added specnote.
32264 (firePropertyChange(String,byte,byte)): Removed.
32265 (firePropertyChange(String,Object,Object)): Removed.
32266 (firePropertyChange(String,double,double)): Removed.
32267 (firePropertyChange(String,float,float)): Removed.
32268 (firePropertyChange(String,long,long)): Removed.
32269 (firePropertyChange(String,short,short)): Removed.
32270
32271 2006-02-06 Roman Kennke <kennke@aicas.com>
32272
32273 * javax/swing/event/SwingPropertyChangeSupport.java
32274 (listeners): Removed field.
32275 (propertyListeners): Removed field.
32276 (source): Removed field.
32277 (SwingPropertyChangeSupport()): Removed initialization of removed
32278 fields.
32279 (addPropertyChangeListener): Removed methods.
32280 (removePropertyChangeListener): Removed methods.
32281 (getPropertyChangeListeners): Removed methods.
32282 (firePropertyChange): Removed methods.
32283 (hasListeners): Removed methods.
32284
32285 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32286
32287 Fixes PR 25313
32288 * java/net/InetAddress.java
32289 (readResolve): Implemented.
32290
32291 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32292
32293 Fixes PR 26121
32294 * java/io/ObjectInputStream.java
32295 (readNextBlock()): Handle TC_RESET.
32296
32297 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32298
32299 * javax/print/attribute/standard/Compression.java,
32300 * javax/print/attribute/standard/Finishings.java,
32301 * javax/print/attribute/standard/JobMediaSheets.java,
32302 * javax/print/attribute/standard/JobSheets.java,
32303 * javax/print/attribute/standard/JobState.java,
32304 * javax/print/attribute/standard/JobStateReason.java,
32305 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32306 * javax/print/attribute/standard/PrintQuality.java,
32307 * javax/print/attribute/standard/Media.java,
32308 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32309 * javax/print/attribute/standard/PrinterStateReason.java,
32310 * javax/print/attribute/standard/PDLOverrideSupported.java:
32311 (getName): Make method final.
32312 (getCategory): Likewise.
32313 * javax/print/attribute/standard/MediaSize.java:
32314 (getName): Make method final.
32315 (getCategory): Likewise.
32316 (ISO): Added private default constructor.
32317 (NA): Likewise.
32318 (JIS): Likewise.
32319 (Other): Likewise.
32320 (Engineering): Likewise.
32321
32322 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32323
32324 * native/jni/java-net/javanet.c (_javanet_connect):
32325 Throw ConnectException instead of IOException if connection failed.
32326 * native/jni/java-net/javanet.h:
32327 Add a define for java.net.ConnectException
32328
32329 2006-02-05 Mark Wielaard <mark@klomp.org>
32330
32331 Fixes bug #26101
32332 reported by Egon Willighagen <egon.willighagen@gmail.com>
32333 * javax/swing/DefaultListCellRenderer.java
32334 (getListCellRendererComponent): Turn null value into empty string.
32335
32336 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32337
32338 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32339 a Unicode block if the name starts with "In".
32340 (UnicodeBlockHandler): New inner class.
32341
32342 2006-02-04 Roman Kennke <kennke@aicas.com>
32343
32344 * java/awt/Container.java
32345 (getComponentZOrder): New method.
32346 (setComponentZOrder): New method.
32347 * javax/swing/JLayeredPane.java
32348 (setPosition): Reimplemented to use setComponentZOrder().
32349 (getIndexOf): Reimplemented to use getComponentZOrder().
32350 (addImpl): Pass layerContraint to super call. Important for possibly
32351 installed layout managers.
32352 (swapComponents): Remove unneeded method.
32353
32354 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32355
32356 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32357 DSAKeyPairGenerator.
32358 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32359 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32360 message.
32361 Surround call to adaptee in a try/catch.
32362 (initialize((DSAParams,SecureRandom)): New method.
32363 (initialize(int,boolean,SecureRandom)): New method.
32364 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32365 KeyPairGenerator rather than KeyPairGeneratorSpi.
32366 (KeyPairGeneratorAdapter): Call super with algorithm name.
32367
32368 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32369
32370 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32371 (getDefaultPRNG): New method.
32372 (parseO): Use method above.
32373 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32374 (getDefaultPRNG): New method.
32375 (createO): Use method above.
32376 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32377 (nextByte): Use above field.
32378 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32379 * gnu/java/security/sig/rsa/RSA.java: New class field.
32380 (newR): Use above field
32381 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32382 (encode): Use field.above.
32383 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32384 (getDefaultPRNG): new method.
32385 (nextRandomBytes): Use above method.
32386 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32387 * gnu/java/security/sig/BaseSignature.java: Likewise.
32388 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32389 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32390 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32391 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32392 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32393 (getDefaultPRNG): new method.
32394 (nextRandomBytes): Use above method.
32395 (STRICT_DEFAULTS): new class field.
32396 (USE_DEFAULTS): more documentation to clarify behavior.
32397 (setup): amended to handle new attribute.
32398 * gnu/java/security/util/PRNG.java: New file.
32399
32400 2006-02-03 Lillian Angel <langel@redhat.com>
32401
32402 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32403 chooser field should be protected, not package-private.
32404
32405 2006-02-03 Lillian Angel <langel@redhat.com>
32406
32407 * javax/swing/text/DefaultStyledDocument.java
32408 (changeUpdate): Cleaned up code.
32409 (split): Likewise.
32410 (insertUpdate): Set offset to be equal to pos after
32411 insertContentTag call.
32412 (insertContentTag): If paragraph has no children, should use
32413 replace instead of Edit.
32414 (insertFracture): Moved around code to prevent any exception. Also,
32415 left side of tree should not be recreated if it has already been
32416 edited. In that case, we should only be creating a new right branch
32417 when fracturing.
32418 (getEditForParagraphAndIndex): No need to check index. We should
32419 use the same edit for each paragraph.
32420
32421 2006-02-03 Mark Wielaard <mark@klomp.org>
32422
32423 * javax/swing/event/SwingPropertyChangeSupport.java
32424 (propertyListeners): Change type to HashMap.
32425 (SwingPropertyChangeSupport): Allocate HashMap.
32426
32427 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32428
32429 * java/security/KeyPairGenerator.java (getInstance): Test for
32430 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32431
32432 2006-02-02 Roman Kennke <kennke@aicas.com>
32433
32434 * javax/swing/RepaintManager.java
32435 Made fields private.
32436 (RepaintWorker.run): Enclosed work stuff in try finally block in
32437 order to clean up correctly if invalidation or painting fails,
32438 otherwise we would get no more RepaintWorkers onto the EventQueue.
32439 Also, now the RepaintWorker is marked 'dead' only after it has
32440 finished its work, avoid more than one RepaintWorker on the queue.
32441 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32442 instead of hierarchy depths.
32443 (workDirtyComponents): Removed unused field.
32444 (repaintOrder): Removed unused field.
32445 (workRepaintOrder): Removed unused field.
32446 (workInvalidComponents): Removed unused field.
32447 (RepaintManager()): Removed initialization of removed fields.
32448 (addInvalidComponent): Fine tuned synchronization.
32449 (removeInvalidComponent): Fine tune synchronization.
32450 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32451 synchronization. Don't manager repaintOrder here.
32452 (insertRepaintOrder): Removed method.
32453 (markCompletelyClean): Fine tuned synchronization.
32454 (validateInvalidComponents): Dont use a working copy of the
32455 invalidComponents list, instead fine tuned synchronization on this
32456 list. Also, don't search validateRoot, this is already done in
32457 addInvalidComponent().
32458 (paintDirtyRegions): Compute repaint order here, based on size of
32459 damaged regions. Fine tuned synchronization. Avoid use of working
32460 copies of dirtyComponent.
32461
32462 2006-02-02 Lillian Angel <langel@redhat.com>
32463
32464 * javax/swing/text/DefaultStyledDocument.java
32465 (insertUpdate): JoinNextDirection should push the
32466 'next' paragraph on the stack.
32467
32468 2006-02-02 Lillian Angel <langel@redhat.com>
32469
32470 * javax/swing/text/DefaultStyledDocument.java
32471 (insertUpdate): Rewrote code for Originate. This prevents
32472 leaves being created multiple times. If it is on the last
32473 ElementSpec, the leaves need to be created right then;
32474 otherwise, only a branch is created.
32475 (insertContentTag): Rewrote to add new leaf directly if
32476 this is a branch with no children. Otherwise, it
32477 recreates the remainder of the tree as before.
32478
32479 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32480
32481 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32482 for making a list of REMatch instances.
32483 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32484 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32485 (match): Rewritten using REMatchList.
32486 (matchRest): Rewritten using REMatchList.
32487
32488 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32489
32490 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32491 (friendsMove): Call repaint() only after endOfGame is assigned.
32492
32493 2006-02-02 Mark Wielaard <mark@klomp.org>
32494
32495 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32496 * java/util/AbstractCollection.java (toString): Only use Iterator,
32497 check whether collection contains itself.
32498
32499 2006-02-01 Casey Marshall <csm@gnu.org>
32500
32501 Partial fix for PR classpath/25143.
32502 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32503 (<init>): fill in `algName,' derive `algOid' from `algName.'
32504 (getOid): new method.
32505 (encode): embed NULL value for parameters if `params' is `null.'
32506
32507 2006-02-01 Casey Marshall <csm@gnu.org>
32508
32509 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32510 <monoman@gmail.com>.
32511 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32512 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32513
32514 2006-02-01 Casey Marshall <csm@gnu.org>
32515
32516 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32517 * gnu/java/security/der/DERValue.java
32518 (getLength, getEncoded, getEncodedLength): throw an exception,
32519 don't initialize `encoded' to a bogus value.
32520 (toString): return a more helpful string.
32521
32522 Partial fix for PR classpath/25144.
32523 * gnu/java/security/der/DERWriter.java (write): if the value is
32524 the pseudo-value used for CONSTRUCTED, write the encoded value
32525 directly.
32526
32527 2006-02-01 Tom Tromey <tromey@redhat.com>
32528
32529 * java/security/Security.java (loadProviders): Use system class
32530 loader.
32531
32532 2006-02-01 Mark Wielaard <mark@klomp.org>
32533
32534 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32535 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32536 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32537 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32538 (UnicodeCategoriesHandler): New private static class.
32539
32540 2006-02-01 Lillian Angel <langel@redhat.com>
32541
32542 * javax/swing/text/DefaultStyledDocument.java:
32543 Removed unneeded fields.
32544 (insertUpdate): Removed field initialization.
32545 (insertContentTag): Rewrote part of function. Still
32546 not complete.
32547
32548 2006-02-01 Lillian Angel <langel@redhat.com>
32549
32550 * javax/swing/text/DefaultStyledDocument.java
32551 (insertParagraph): Cleaned up code.
32552 (insertFirstContentTag): Fixed call to recreateLeaves.
32553 (insertContentTag): Added check to code to determine where
32554 content should be inserted with respect to next element.
32555 (createFracture): Removed check, recreateLeaves is called in
32556 other places when needed.
32557 (recreateLeaves): Added new parameter for paragraph instead
32558 of checking the stack. Removed editing for newBranch, replaced
32559 with a replace call.
32560
32561 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32562
32563 * doc/unicode/Blocks-4.0.0.txt: New file.
32564 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32565 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32566 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32567 but replaced some 1.5-only features (such as enum).
32568
32569 2006-01-31 Roman Kennke <kennke@aicas.com>
32570
32571 * javax/swing/text/PasswordView.java
32572 (drawSelectedText): Use drawEchoCharacter() method to draw echo
32573 character.
32574 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32575 character.
32576
32577 2006-01-31 Roman Kennke <kennke@aicas.com>
32578
32579 * javax/swing/JTextField.java
32580 (getPreferredSize): Also include textfield's insets in width
32581 calculation.
32582
32583 2006-01-31 Roman Kennke <kennke@aicas.com>
32584
32585 * javax/swing/plaf/basic/BasicTextUI.java
32586 (getPreferredSize): Include the textcomponent's insets in
32587 preferredSize.
32588
32589 2006-01-31 Roman Kennke <kennke@aicas.com>
32590
32591 * javax/swing/table/DefaultTableCellRenderer.java
32592 (getTableCellRendererComponent): Moved setting of the value into
32593 setValue(). Removed (bogus) special handling of JTextField values.
32594 (setValue): Made ?: statement more clear by rewriting it
32595 with if .. else.
32596
32597 2006-01-31 Roman Kennke <kennke@aicas.com>
32598
32599 * javax/swing/JLayeredPane.java
32600 (insertIndexForLayer): Fixed algorithm to correctly determine
32601 inser index for positions >= 0.
32602 (addImpl): Fixed API docs for the index parameter.
32603
32604 2006-01-31 Mark Wielaard <mark@klomp.org>
32605
32606 * java/net/URI.java (getURIGroup): Check for null to see whether
32607 group actually exists.
32608
32609 2006-01-31 Lillian Angel <langel@redhat.com>
32610
32611 * javax/swing/text/DefaultStyledDocument.java
32612 (changeUpdate): Fixed calls to split to incorporate
32613 new parameter.
32614 (insertParagraph): Likewise. Uses 0 as editIndex
32615 because inserting into a new paragraph.
32616 (insertContentTag): Fixed check to use
32617 recreateLeaves. Added a FIXME comment.
32618 (split): Added a new parameter for edits.
32619
32620 2006-01-31 Roman Kennke <kennke@aicas.com>
32621
32622 * javax/swing/plaf/basic/BasicRootPaneUI.java
32623 (installDefaults): Don't install a background color here.
32624
32625 2006-01-31 Lillian Angel <langel@redhat.com>
32626
32627 * javax/swing/text/DefaultStyledDocument.java
32628 (insert): Removed comment.
32629 (insertUpdate): Added comment.
32630 (recreateLeaves): Removed call to push newBranch onto the
32631 stack. This does not need to be done here.
32632
32633 2006-01-31 Chris Burdess <dog@gnu.org>
32634
32635 * gnu/xml/stream/SAXParser.java,
32636 gnu/xml/stream/UnicodeReader.java,
32637 gnu/xml/stream/XIncludeFilter.java,
32638 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
32639 only resolved the system ID not the stream. Make some utility methods
32640 public and static for use by other private XML APIs.
32641 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
32642 called without throwing IllegalStateException.
32643 * java/util/logging/SimpleFormatter.java: Write thrown exception if
32644 provided.
32645
32646 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32647
32648 Fixes bug #22873
32649 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
32650 for an invalid index and return null for a skipped group.
32651
32652 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32653
32654 Fixes bug #26002
32655 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
32656 (NamedProperty): New inner class.
32657 (getNamedProperty): New method.
32658 (getRETokenNamedProperty): New Method.
32659 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
32660 * gnu/regexp/RETokenNamedProperty.java: New file.
32661
32662 2006-01-31 Roman Kennke <kennke@aicas.com>
32663
32664 * javax/swing/plaf/PlainView.java
32665 (paint): Call drawLine with baseline coordinates.
32666 (drawLine): Documented and indented this method.
32667 (drawUnselecetedText): Documented and indented this method.
32668 * javax/swing/plaf/text/Utilites.java
32669 (drawTabbedText): The coordinates denote the baseline of the text
32670 not the upper left corner.
32671
32672 2006-01-31 Roman Kennke <kennke@aicas.com>
32673
32674 * javax/swing/plaf/basic/BasicTextUI.java
32675 (createKeymap): Don't store KeyBindings[] as focusInputMap in
32676 UIManager. Added FIXME regarding the implementation of this method.
32677
32678 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32679
32680 * examples/gnu/classpath/examples/swing/ButtonDemo.java
32681 (ButtonDemo): Move content initialisation to new method,
32682 (initFrameContent): New method,
32683 (main): Call initFrameContent(),
32684 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
32685 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
32686 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
32687 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
32688 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
32689
32690 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32691
32692 * examples/gnu/classpath/examples/swing/Demo.java
32693 (Demo): Set frame size,
32694 (mkButtonBar): Removed stacked sub-panels.
32695
32696 2006-01-30 Lillian Angel <langel@redhat.com>
32697
32698 * javax/swing/text/DefaultStyledDocument.java:
32699 Added new fields.
32700 (insert): Initialized fields. Removed call to addEdit,
32701 and created ElementEdit instead.
32702 (insertUpdate): Added check for fracturing. If the
32703 fracturing was not successful, we should push the
32704 last element back on the stack.
32705 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
32706 Also, changed replace calls to use Edit.
32707 (insertFirstContentTag): Removed unneeded check and fixed call
32708 to recreateLeaves.
32709 (insertContent): Fixed check to use new fields. Added code in
32710 to check if leaves overlap.
32711 (createFracture): Fixed call to recreateLeaves.
32712 (recreateLeaves): Fixed code and cleaned it up a bit.
32713 (insertFracture): Set fracNotCreated field.
32714 (addEdit): Removed, this method is not needed.
32715
32716 2006-01-30 Roman Kennke <kennke@aicas.com>
32717
32718 * javax/swing/JRootPane.java
32719 (RootLayout.prefSize): Removed caching for preferredSize.
32720 (RootLayout.invalidateLayout): Likewise.
32721 (RootLayout.preferredLayoutSize): Likewise.
32722
32723 2006-01-30 Roman Kennke <kennke@aicas.com>
32724
32725 PR classpath/26035
32726 * javax/swing/JFrame.java
32727 (frameInit): Handle the defaultLookAndFeelDecorated flag.
32728 * javax/swing/plaf/metal/MetalRootPaneUI.java
32729 (MetalFrameBorder): New inner class, provides the border for
32730 top level containers with L&F decorations.
32731 (MetalTitlePane): New inner class, provides the title pane for
32732 top level containers with L&F decorations.
32733 (MetalRootLayout): New inner class. Used to layout the root pane
32734 when L&F window decorations are enabled.
32735 (installUI): New method. Handles window decorations.
32736 (uninstallUI): New method. Handles window decorations.
32737 (propertyChange): Handles window decorations.
32738 (installWindowDecorations): New method. Handles window
32739 decorations.
32740 (uninstallWindowDecorations): New method. Handles window
32741 decorations.
32742 * javax/swing/plaf/metal/MetalLookAndFeel.java
32743 (getSupportsWindowDecorations): Overridden to return true.
32744
32745 2006-01-30 Mark Wielaard <mark@klomp.org>
32746
32747 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
32748 IllegalArgumentException when orientation is illegal.
32749 (JProgressBar(int, int, int)): Likewise and throw exception.
32750 (setOrientation): Likewise.
32751
32752 2006-01-30 Roman Kennke <kennke@aicas.com>
32753
32754 * javax/swing/ViewportLayout.java
32755 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
32756
32757 2006-01-30 Mark Wielaard <mark@klomp.org>
32758
32759 * javax/swing/JProgressBar.java (orientation): Always set by
32760 constructor.
32761 (JProgressBar(int)): Document default on 'illegal' value.
32762 (JProgressBar(int, int, int)): Likewise and set orientation to
32763 HORIZONTAL when 'illegal'.
32764 (setOrientation): Likewise.
32765
32766 2006-01-30 Roman Kennke <kennke@aicas.com>
32767
32768 * javax/swing/plaf/basic/BasicListUI.java
32769 (ListDataHandler.contentsChanged): Update the
32770 updateLayoutStateNeeded flag.
32771 (ListDataHandler.intervalAdded): Update the
32772 updateLayoutStateNeeded flag.
32773 (ListDataHandler.intervalRemoved): Update the
32774 updateLayoutStateNeeded flag.
32775 (PropertyChangeHandler.propertyChange): Correctly update the
32776 listeners on new list model.
32777 (maybeUpdateLayoutState): Don't consider the validation state
32778 of the list.
32779
32780 2006-01-30 Mark Wielaard <mark@klomp.org>
32781
32782 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
32783 sortKeys is null.
32784
32785 2006-01-30 Roman Kennke <kennke@aicas.com>
32786
32787 * javax/swing/JLayeredPane.java
32788 (insertIndexForLayer): Fixed algorithm to correctly insert
32789 components within different layers and -1 position.
32790
32791 2006-01-30 Mark Wielaard <mark@klomp.org>
32792
32793 * doc/api/Makefile.am (create_html): Add -validhtml.
32794
32795 2006-01-30 Roman Kennke <kennke@aicas.com>
32796
32797 * javax/swing/JLayeredPane.java
32798 (insertIndexForLayer): Fixed algorithm to correctly insert
32799 components within same layer and -1 position.
32800
32801 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
32802
32803 Fixes bug #24876
32804 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
32805 New execution flag.
32806 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
32807 implicit RETokenEnd at the end of the regexp chain.
32808 Do not select the longest match, but select the first match.
32809 (match): Do not take care of REMatch.empty.
32810 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
32811 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
32812 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
32813 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
32814 Do not take care of REMatch.empty. Set and check REMatch.empty
32815 when trying to match the single token.
32816
32817 2006-01-30 Mark Wielaard <mark@klomp.org>
32818
32819 * java/awt/Cursor.java (toString): Include name and type.
32820
32821 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
32822
32823 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
32824 the ipad buffer.
32825 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
32826
32827 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32828
32829 PR 26027
32830 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
32831 Consider the validation state of the list.
32832
32833 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
32834
32835 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
32836 INSTANCE added.
32837 * java/beans/XMLDecoder.java:
32838 (setExceptionListener): Use shared DefaultExceptionListener
32839 instance.
32840 * java/beans/Encoder.java:
32841 (setExceptionListener): Use shared DefaultExceptionListener
32842 instance.
32843
32844 2006-01-29 Roman Kennke <kennke@aicas.com>
32845
32846 * javax/swing/ScrollPaneLayout.java
32847 (minimumLayoutSize): Rewritten to match JDKs behaviour.
32848
32849 2006-01-29 Mark Wielaard <mark@klomp.org>
32850
32851 * java/net/SocketPermission.java (setActions): Trim and lower case
32852 action.
32853
32854 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
32855
32856 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
32857 incorrectly failing primality test for some known primes. Fixed.
32858 (passFermatLittleTheorem): Removed.
32859 (passMillerRabin): Removed.
32860 (isProbablePrime): Cache primes that pass the primality tests.
32861 Use BigInteger.isProbablePrime(int) for primality tests.
32862 (debugBI): New static debugging method.
32863
32864 2006-01-28 Roman Kennke <kennke@aicas.com>
32865
32866 * javax/swing/plaf/basic/BasicListUI.java
32867 (updateLayoutState): Removed unneeded special case for VERTICAL.
32868
32869 2006-01-28 Roman Kennke <kennke@aicas.com>
32870
32871 * javax/swing/plaf/basic/BasicListUI.java
32872 (getCellBounds): Determine correct list width when having a
32873 layoutOrientation of VERTICAL.
32874 (maybeUpdateLayoutState): Don't consider the validation state of
32875 the list.
32876
32877 2006-01-28 Mark Wielaard <mark@klomp.org>
32878
32879 Reported by Dimitri Fontaine <dimitri@dalibo.com>
32880 * java/awt/print/NoPrinterJob.java: New (fake) class.
32881 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
32882
32883 2006-01-28 Mark Wielaard <mark@klomp.org>
32884
32885 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
32886
32887 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32888
32889 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
32890 (addChildren): New method.
32891
32892 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
32893
32894 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
32895 constructor for cloning purposes.
32896 (clone): New implementation that ensures cloning.
32897 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
32898 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
32899 "GNU".
32900
32901 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32902
32903 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
32904 Call updateCurrentVisiblePath.
32905
32906 2006-01-27 Roman Kennke <kennke@aicas.com>
32907
32908 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
32909
32910 2006-01-27 Roman Kennke <kennke@aicas.com>
32911
32912 * examples/gnu/classpath/examples/swing/ButtonDemo.java
32913 (createContent): Only create new content if we don't have one
32914 already.
32915 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
32916 (createContent): Only create new content if we don't have one
32917 already.
32918 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
32919 (createContent): Only create new content if we don't have one
32920 already.
32921 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
32922 (createContent): Only create new content if we don't have one
32923 already.
32924 * examples/gnu/classpath/examples/swing/SliderDemo.java
32925 (createContent): Only create new content if we don't have one
32926 already.
32927 * examples/gnu/classpath/examples/swing/TableDemo.java
32928 (createContent): Only create new content if we don't have one
32929 already.
32930 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
32931 (createContent): Only create new content if we don't have one
32932 already.
32933
32934 2006-01-27 Lillian Angel <langel@redhat.com>
32935
32936 * javax/swing/text/DefaultStyledDocument.java
32937 (insertFirstContentTag): Removed check, not needed. This
32938 still needs to be fixed for some cases. Added call to
32939 recreateLeaves.
32940 (createFracture): Added call to recreateLeaves.
32941 (recreateLeaves): New method used to recreate all the
32942 leaves after the initial insertion. This still needs
32943 more work.
32944 (handleInsertAfterNewline): Removed else, not needed.
32945
32946 2006-01-27 Roman Kennke <kennke@aicas.com>
32947
32948 * javax/swing/JLayeredPane.java
32949 (inserIndexForLayer): Fixed direction of search.
32950
32951 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32952
32953 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
32954 node into nodeStates.
32955
32956 2006-01-27 Roman Kennke <kennke@aicas.com>
32957
32958 * javax/swing/JLayeredPane.java
32959 (FRAME_CONTENT_LAYER): Made field final.
32960 (componentToLayer): Made field private.
32961 (rectCache): Removed field.
32962 (layers): Removed field.
32963 (JLayeredPane()): Removed initialization of removed fields.
32964 (getLayer): Rewritten to make use of client properties in
32965 JComponents and to be more straighforward.
32966 (static getLayer): Rewritten to make use of client properties in
32967 JComponents.
32968 (layerToRange): Removed method.
32969 (incrLayer): Removed method.
32970 (decrLayer): Removed method.
32971 (highestLayer): Rewritten to be more straightforward.
32972 (lowestLayer): Rewritten to be more straightforward.
32973 (getPosition): Rewritten to be more straightforward.
32974 (getComponentsInLayer): Rewritten to be more straightforward.
32975 (getComponentCountInLayer): Rewritten to be more straightforward.
32976 (getIndexOf): Rewritten to be more straightforward.
32977 (inserIndexForLayer): Rewritten to be more straightforward.
32978 (remove): Rewritten to be more straightforward.
32979 (setLayer): Rewritten to be more straightforward.
32980 (addImpl): Rewritten to be more straightforward.
32981 (putLayer): Rewritten to be more straightforward.
32982
32983 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
32984
32985 * java/lang/Character.java:
32986 (offsetByCodePoints(CharSequence, int, int)): New API method.
32987 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
32988 (toChars): Throw the Exception that the docs say we throw.
32989 (codePointAt): Fixed an off-by-one error in the bounds of the if
32990 statement.
32991 * java/lang/String.java:
32992 (String(int[], int, int)): New API constructor.
32993
32994 2006-01-27 Lillian Angel <langel@redhat.com>
32995
32996 * javax/swing/text/DefaultStyledDocument.java
32997 (insert): Moved this loop to insertUpdate.
32998 (insertUpdate): Likewise. Fixed variable
32999 names. Incremented pos if new paragraph
33000 is inserted.
33001 (split): Changed edits to use replace instead. Prevents
33002 assertion errors.
33003 (insertFirstContentTag): Removed else.
33004 (insertContentTag): Implemented else for JoinNextDirection.
33005 (createFracture): Fixed up code, still not fully complete.
33006 (insertFracture): Fixed to use return value from
33007 recreateAfterFracture.
33008 (recreateAfterFracture): Changed to return an array of the
33009 elements to be added. This prevents an assertion error.
33010 (contains): New function checks if an element is already in
33011 the Vector. Vector's contain function was not enough to use.
33012 (addAddedElement): Changed to use new contains function.
33013 (addAddedElements): Likewise.
33014 (addRemovedElement): Likewise.
33015 (addRemovedElements): Likewise.
33016
33017 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33018
33019 PR 25520
33020 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33021 If no user class loaders found on the stack, return the thread
33022 context class loader. (currentClassLoader): Explained.
33023
33024 2006-01-27 Roman Kennke <kennke@aicas.com>
33025
33026 * java/awt/Container.java
33027 (swapComponents): Removed unspecified method.
33028 * javax/swing/JLayeredPane.java
33029 (setPosition): Reimplemented correctly.
33030 (swapComponents): New helper method.
33031
33032 2006-01-27 Mark Wielaard <mark@klomp.org>
33033
33034 * configure.ac: Set version to 0.21-pre.
33035
33036 2006-01-27 Roman Kennke <kennke@aicas.com>
33037
33038 PR classpath/25968
33039 * javax/swing/JComponent.java
33040 (findOverlapFreeParent): Improved the algorithm to make better use
33041 of the optimizedDrawingEnabled flag.
33042 * javax/swing/JLayeredPane.java
33043 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33044 * javax/swing/JViewport.java
33045 (computeBlit): Fixed check to decide if blitting is possible or not,
33046 so that it doesn't blit if nothing was scrolled (in order to
33047 update the buffer when the view updates itself).
33048
33049 2006-01-27 Roman Kennke <kennke@aicas.com>
33050
33051 * javax/swing/plaf/metal/MetalFileChooserUI.java
33052 (createList): Don't set scrollbar policy.
33053
33054 2006-01-27 Roman Kennke <kennke@aicas.com>
33055
33056 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33057 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33058 Fixed to also handle non-Swing toplevel containers.
33059 (PopupMenuHandler.popupMenuWillBecomeVisible):
33060 Fixed to also handle non-Swing toplevel containers.
33061 * javax/swing/Popup.java
33062 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33063 popup.
33064
33065 2006-01-27 Roman Kennke <kennke@aicas.com>
33066
33067 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33068 (InternalFramePropertyChangeListener): Don't implement
33069 VetoableChangeListener.
33070 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33071 (internalFrameVetoableChangeListener): Removed unneeded field.
33072 (installListeners): Don't install vetoableChangeListener.
33073 * javax/swing/event/DocumentEvent.java
33074 (EventType): Made class final.
33075
33076 2006-01-27 Roman Kennke <kennke@aicas.com>
33077
33078 * javax/swing/SwingUtilities.java
33079 (calculateInsetArea): Removed unneeded method. The method
33080 calculateInnerArea has the same purpose and is actually specified.
33081 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33082 * javax/swing/plaf/basic/BasicMenuItemUI.java
33083 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33084 of SwingUtilities.calculateInsetArea().
33085
33086 2006-01-27 Roman Kennke <kennke@aicas.com>
33087
33088 * javax/swing/plaf/basic/BasicTreeUI.java
33089 (installDefaults): Removed requestFocusInWindow() call.
33090 * javax/swing/JComponent.java
33091 (requestFocusInWindow(boolean)): Made method protected.
33092 (printComponent): Made method protected.
33093 (printChildren): Made method protected.
33094 (printComponent): Made method protected.
33095 (printBorder): Made method protected.
33096
33097 2006-01-27 Roman Kennke <kennke@aicas.com>
33098
33099 * javax/swing/AbstractButton.java
33100 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33101 package private.
33102 * javax/swing/ImageIcon.java
33103 (component): Made field final.
33104 (tracker): Made field final.
33105 * javax/swing/JApplet.java
33106 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33107 * javax/swing/JCheckBox.java
33108 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33109 protected.
33110 * javax/swing/JDialog.java
33111 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33112 * javax/swing/JFrame.java
33113 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33114 * javax/swing/JLayeredPane.java
33115 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33116 protected.
33117 (DEFAULT_LAYER): Made field final.
33118 (PALETTE_LAYER): Made field final.
33119 (MODAL_LAYER): Made field final.
33120 (POPUP_LAYER): Made field final.
33121 (DRAG_LAYER): Made field final.
33122 * javax/swing/JMenu.java
33123 (ActionChangeListener): Made class private.
33124 * javax/swing/JOptionPane.java
33125 (UNITITIALIZED_VALUE): Made field final.
33126 * javax/swing/JPanel.java
33127 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33128 * javax/swing/JPopupMenu.java
33129 (ActionChangeListener): Made class private.
33130 * javax/swing/JTree.java
33131 (paramString): Made method protected.
33132 * javax/swing/JViewport.java
33133 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33134 * javax/swing/JWindow.java
33135 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33136 * javax/swing/RepaintManager.java
33137 (RepaintWorker): Made class private.
33138
33139 2006-01-27 Roman Kennke <kennke@aicas.com>
33140
33141 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33142 (handleEvent): Removed debug statement.
33143
33144 2006-01-27 Roman Kennke <kennke@aicas.com>
33145
33146 * java/awt/Component.java
33147 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33148 more than it helps.
33149
33150 2006-01-26 Lillian Angel <langel@redhat.com>
33151
33152 * javax/swing/text/DefaultStyledDocument.java
33153 (createFracture): Commented out a known problem,
33154 added FIXME tag.
33155
33156 2006-01-26 Lillian Angel <langel@redhat.com>
33157
33158 * javax/swing/text/DefaultStyledDocument.java
33159 (ElementBuffer): Added fields.
33160 (remove): Initialized pos.
33161 (change): Likewise.
33162 (insert): Likewise.
33163 (insertUpdate): Incremented pos. Fixed check, createFracture should
33164 be called on first tag if it is not ContentType.
33165 (insertFirstContentTag): Reworked to use proper offsets and
33166 set offset accordingly. This might need more work in the future.
33167 (insertContentTag): Likewise. Fixed to use pos, instead of
33168 offset.
33169 (createFracture): Fixed to recreate other leaves. Still needs
33170 more work.
33171 (insertFracture): Reimplemented.
33172 (recreateAfterFracture): New method.
33173 (getParagraphElement): Reimplemented, more efficent.
33174
33175 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33176
33177 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33178 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33179 ordering for little-endian arms without VFP.
33180
33181 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33182
33183 PR classpath/25981
33184 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33185
33186 2006-01-26 Mark Wielaard <mark@klomp.org>
33187
33188 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33189 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33190 Add trailing zeros to the fraction of the decimal with the smallest
33191 scale.
33192
33193 2006-01-26 Roman Kennke <kennke@aicas.com>
33194
33195 * javax/swing/text/html/ObjectView.java: New file.
33196
33197 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33198
33199 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33200 Call startEditing when appropriate.
33201 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33202 (startEditing): Always edit if directly ordered from
33203 MouseHandler.mousePressed.
33204 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33205 New field. (createTreeCellEditor): Set click count to start.
33206 (getTreeCellEditorComponent): Assing realEditor directly.
33207
33208 2006-01-25 Casey Marshall <csm@gnu.org>
33209
33210 Merging GNU Crypto and Jessie.
33211
33212 * NEWS: mention the merge in the 0.21 notes.
33213 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33214 (SSL_RECORD_LAYER): new constants.
33215 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33216 to provider.
33217 * resource/java/security/classpath.security: add new providers.
33218 * gnu/javax/crypto/assembly/Assembly.java,
33219 gnu/javax/crypto/assembly/Cascade.java,
33220 gnu/javax/crypto/assembly/CascadeStage.java,
33221 gnu/javax/crypto/assembly/CascadeTransformer.java,
33222 gnu/javax/crypto/assembly/DeflateTransformer.java,
33223 gnu/javax/crypto/assembly/Direction.java,
33224 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33225 gnu/javax/crypto/assembly/ModeStage.java,
33226 gnu/javax/crypto/assembly/Operation.java,
33227 gnu/javax/crypto/assembly/PaddingTransformer.java,
33228 gnu/javax/crypto/assembly/Stage.java,
33229 gnu/javax/crypto/assembly/Transformer.java,
33230 gnu/javax/crypto/assembly/TransformerException.java,
33231 gnu/javax/crypto/cipher/Anubis.java,
33232 gnu/javax/crypto/cipher/BaseCipher.java,
33233 gnu/javax/crypto/cipher/Blowfish.java,
33234 gnu/javax/crypto/cipher/Cast5.java,
33235 gnu/javax/crypto/cipher/CipherFactory.java,
33236 gnu/javax/crypto/cipher/DES.java,
33237 gnu/javax/crypto/cipher/IBlockCipher.java,
33238 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33239 gnu/javax/crypto/cipher/Khazad.java,
33240 gnu/javax/crypto/cipher/NullCipher.java,
33241 gnu/javax/crypto/cipher/Rijndael.java,
33242 gnu/javax/crypto/cipher/Serpent.java,
33243 gnu/javax/crypto/cipher/Square.java,
33244 gnu/javax/crypto/cipher/TripleDES.java,
33245 gnu/javax/crypto/cipher/Twofish.java,
33246 gnu/javax/crypto/cipher/WeakKeyException.java,
33247 gnu/javax/crypto/jce/GnuCrypto.java,
33248 gnu/javax/crypto/jce/GnuSasl.java,
33249 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33250 gnu/javax/crypto/jce/cipher/AESSpi.java,
33251 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33252 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33253 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33254 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33255 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33256 gnu/javax/crypto/jce/cipher/DESSpi.java,
33257 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33258 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33259 gnu/javax/crypto/jce/cipher/PBES2.java,
33260 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33261 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33262 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33263 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33264 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33265 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33266 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33267 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33268 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33269 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33270 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33271 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33272 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33273 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33274 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33275 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33276 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33277 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33278 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33279 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33280 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33281 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33282 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33283 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33284 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33285 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33286 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33287 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33288 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33289 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33290 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33291 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33292 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33293 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33294 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33295 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33296 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33297 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33298 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33299 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33300 gnu/javax/crypto/jce/mac/MacAdapter.java,
33301 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33302 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33303 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33304 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33305 gnu/javax/crypto/jce/mac/OMacImpl.java,
33306 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33307 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33308 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33309 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33310 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33311 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33312 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33313 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33314 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33315 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33316 gnu/javax/crypto/jce/params/DEREncodingException.java,
33317 gnu/javax/crypto/jce/params/DERReader.java,
33318 gnu/javax/crypto/jce/params/DERWriter.java,
33319 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33320 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33321 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33322 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33323 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33324 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33325 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33326 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33327 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33328 gnu/javax/crypto/key/GnuSecretKey.java,
33329 gnu/javax/crypto/key/IKeyAgreementParty.java,
33330 gnu/javax/crypto/key/IncomingMessage.java,
33331 gnu/javax/crypto/key/KeyAgreementException.java,
33332 gnu/javax/crypto/key/KeyAgreementFactory.java,
33333 gnu/javax/crypto/key/OutgoingMessage.java,
33334 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33335 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33336 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33337 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33338 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33339 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33340 gnu/javax/crypto/key/dh/ElGamalSender.java,
33341 gnu/javax/crypto/key/dh/GnuDHKey.java,
33342 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33343 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33344 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33345 gnu/javax/crypto/key/dh/RFC2631.java,
33346 gnu/javax/crypto/key/srp6/SRP6Host.java,
33347 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33348 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33349 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33350 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33351 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33352 gnu/javax/crypto/key/srp6/SRP6User.java,
33353 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33354 gnu/javax/crypto/key/srp6/SRPKey.java,
33355 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33356 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33357 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33358 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33359 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33360 gnu/javax/crypto/keyring/BaseKeyring.java,
33361 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33362 gnu/javax/crypto/keyring/CertPathEntry.java,
33363 gnu/javax/crypto/keyring/CertificateEntry.java,
33364 gnu/javax/crypto/keyring/CompressedEntry.java,
33365 gnu/javax/crypto/keyring/EncryptedEntry.java,
33366 gnu/javax/crypto/keyring/Entry.java,
33367 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33368 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33369 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33370 gnu/javax/crypto/keyring/IKeyring.java,
33371 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33372 gnu/javax/crypto/keyring/IPublicKeyring.java,
33373 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33374 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33375 gnu/javax/crypto/keyring/MeteredInputStream.java,
33376 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33377 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33378 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33379 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33380 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33381 gnu/javax/crypto/keyring/Properties.java,
33382 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33383 gnu/javax/crypto/mac/BaseMac.java,
33384 gnu/javax/crypto/mac/HMac.java,
33385 gnu/javax/crypto/mac/HMacFactory.java,
33386 gnu/javax/crypto/mac/IMac.java,
33387 gnu/javax/crypto/mac/MacFactory.java,
33388 gnu/javax/crypto/mac/MacInputStream.java,
33389 gnu/javax/crypto/mac/MacOutputStream.java,
33390 gnu/javax/crypto/mac/OMAC.java,
33391 gnu/javax/crypto/mac/TMMH16.java,
33392 gnu/javax/crypto/mac/UHash32.java,
33393 gnu/javax/crypto/mac/UMac32.java,
33394 gnu/javax/crypto/mode/BaseMode.java,
33395 gnu/javax/crypto/mode/CBC.java,
33396 gnu/javax/crypto/mode/CFB.java,
33397 gnu/javax/crypto/mode/CTR.java,
33398 gnu/javax/crypto/mode/EAX.java,
33399 gnu/javax/crypto/mode/ECB.java,
33400 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33401 gnu/javax/crypto/mode/ICM.java,
33402 gnu/javax/crypto/mode/IMode.java,
33403 gnu/javax/crypto/mode/ModeFactory.java,
33404 gnu/javax/crypto/mode/OFB.java,
33405 gnu/javax/crypto/pad/BasePad.java,
33406 gnu/javax/crypto/pad/IPad.java,
33407 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33408 gnu/javax/crypto/pad/PKCS7.java,
33409 gnu/javax/crypto/pad/PadFactory.java,
33410 gnu/javax/crypto/pad/SSL3.java,
33411 gnu/javax/crypto/pad/TBC.java,
33412 gnu/javax/crypto/pad/TLS1.java,
33413 gnu/javax/crypto/pad/WrongPaddingException.java,
33414 gnu/javax/crypto/prng/ARCFour.java,
33415 gnu/javax/crypto/prng/CSPRNG.java,
33416 gnu/javax/crypto/prng/Fortuna.java,
33417 gnu/javax/crypto/prng/ICMGenerator.java,
33418 gnu/javax/crypto/prng/IPBE.java,
33419 gnu/javax/crypto/prng/PBKDF2.java,
33420 gnu/javax/crypto/prng/PRNGFactory.java,
33421 gnu/javax/crypto/prng/UMacGenerator.java,
33422 gnu/javax/crypto/sasl/AuthInfo.java,
33423 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33424 gnu/javax/crypto/sasl/ClientFactory.java,
33425 gnu/javax/crypto/sasl/ClientMechanism.java,
33426 gnu/javax/crypto/sasl/ConfidentialityException.java,
33427 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33428 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33429 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33430 gnu/javax/crypto/sasl/InputBuffer.java,
33431 gnu/javax/crypto/sasl/IntegrityException.java,
33432 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33433 gnu/javax/crypto/sasl/NoSuchUserException.java,
33434 gnu/javax/crypto/sasl/OutputBuffer.java,
33435 gnu/javax/crypto/sasl/SaslEncodingException.java,
33436 gnu/javax/crypto/sasl/SaslInputStream.java,
33437 gnu/javax/crypto/sasl/SaslOutputStream.java,
33438 gnu/javax/crypto/sasl/SaslUtil.java,
33439 gnu/javax/crypto/sasl/ServerFactory.java,
33440 gnu/javax/crypto/sasl/ServerMechanism.java,
33441 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33442 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33443 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33444 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33445 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33446 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33447 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33448 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33449 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33450 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33451 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33452 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33453 gnu/javax/crypto/sasl/plain/PlainClient.java,
33454 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33455 gnu/javax/crypto/sasl/plain/PlainServer.java,
33456 gnu/javax/crypto/sasl/srp/CALG.java,
33457 gnu/javax/crypto/sasl/srp/ClientStore.java,
33458 gnu/javax/crypto/sasl/srp/IALG.java,
33459 gnu/javax/crypto/sasl/srp/KDF.java,
33460 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33461 gnu/javax/crypto/sasl/srp/SRP.java,
33462 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33463 gnu/javax/crypto/sasl/srp/SRPClient.java,
33464 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33465 gnu/javax/crypto/sasl/srp/SRPServer.java,
33466 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33467 gnu/javax/crypto/sasl/srp/ServerStore.java,
33468 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33469 gnu/javax/net/ssl/Base64.java,
33470 gnu/javax/net/ssl/EntropySource.java,
33471 gnu/javax/net/ssl/NullManagerParameters.java,
33472 gnu/javax/net/ssl/PrivateCredentials.java,
33473 gnu/javax/net/ssl/SRPManagerParameters.java,
33474 gnu/javax/net/ssl/SRPTrustManager.java,
33475 gnu/javax/net/ssl/StaticTrustAnchors.java,
33476 gnu/javax/net/ssl/provider/Alert.java,
33477 gnu/javax/net/ssl/provider/AlertException.java,
33478 gnu/javax/net/ssl/provider/Certificate.java,
33479 gnu/javax/net/ssl/provider/CertificateRequest.java,
33480 gnu/javax/net/ssl/provider/CertificateType.java,
33481 gnu/javax/net/ssl/provider/CertificateVerify.java,
33482 gnu/javax/net/ssl/provider/CipherSuite.java,
33483 gnu/javax/net/ssl/provider/ClientHello.java,
33484 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33485 gnu/javax/net/ssl/provider/CompressionMethod.java,
33486 gnu/javax/net/ssl/provider/Constructed.java,
33487 gnu/javax/net/ssl/provider/ContentType.java,
33488 gnu/javax/net/ssl/provider/Context.java,
33489 gnu/javax/net/ssl/provider/DiffieHellman.java,
33490 gnu/javax/net/ssl/provider/DigestInputStream.java,
33491 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33492 gnu/javax/net/ssl/provider/Enumerated.java,
33493 gnu/javax/net/ssl/provider/Extension.java,
33494 gnu/javax/net/ssl/provider/Extensions.java,
33495 gnu/javax/net/ssl/provider/Finished.java,
33496 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33497 gnu/javax/net/ssl/provider/Handshake.java,
33498 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33499 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33500 gnu/javax/net/ssl/provider/Jessie.java,
33501 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33502 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33503 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33504 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33505 gnu/javax/net/ssl/provider/KeyPool.java,
33506 gnu/javax/net/ssl/provider/MacException.java,
33507 gnu/javax/net/ssl/provider/OverflowException.java,
33508 gnu/javax/net/ssl/provider/PRNG.java,
33509 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33510 gnu/javax/net/ssl/provider/Random.java,
33511 gnu/javax/net/ssl/provider/RecordInput.java,
33512 gnu/javax/net/ssl/provider/RecordInputStream.java,
33513 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33514 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33515 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33516 gnu/javax/net/ssl/provider/SSLHMac.java,
33517 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33518 gnu/javax/net/ssl/provider/SSLRandom.java,
33519 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33520 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33521 gnu/javax/net/ssl/provider/SSLSocket.java,
33522 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33523 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33524 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33525 gnu/javax/net/ssl/provider/SecurityParameters.java,
33526 gnu/javax/net/ssl/provider/ServerHello.java,
33527 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33528 gnu/javax/net/ssl/provider/Session.java,
33529 gnu/javax/net/ssl/provider/SessionContext.java,
33530 gnu/javax/net/ssl/provider/Signature.java,
33531 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33532 gnu/javax/net/ssl/provider/TLSHMac.java,
33533 gnu/javax/net/ssl/provider/TLSRandom.java,
33534 gnu/javax/net/ssl/provider/Util.java,
33535 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33536 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33537 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33538 gnu/javax/security/auth/Password.java,
33539 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33540 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33541 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33542 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33543 gnu/javax/security/auth/callback/GnuCallbacks.java,
33544 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33545 gnu/java/security/Registry.java,
33546 gnu/java/security/Properties.java,
33547 gnu/java/security/hash/BaseHash.java,
33548 gnu/java/security/hash/HashFactory.java,
33549 gnu/java/security/hash/Haval.java,
33550 gnu/java/security/hash/IMessageDigest.java,
33551 gnu/java/security/hash/MD2.java,
33552 gnu/java/security/hash/MD4.java,
33553 gnu/java/security/hash/MD5.java,
33554 gnu/java/security/hash/RipeMD128.java,
33555 gnu/java/security/hash/RipeMD160.java,
33556 gnu/java/security/hash/Sha160.java,
33557 gnu/java/security/hash/Sha256.java,
33558 gnu/java/security/hash/Sha384.java,
33559 gnu/java/security/hash/Sha512.java,
33560 gnu/java/security/hash/Tiger.java,
33561 gnu/java/security/hash/Whirlpool.java,
33562 gnu/java/security/jce/hash/HavalSpi.java,
33563 gnu/java/security/jce/hash/MD2Spi.java,
33564 gnu/java/security/jce/hash/MD4Spi.java,
33565 gnu/java/security/jce/hash/MD5Spi.java,
33566 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33567 gnu/java/security/jce/hash/RipeMD128Spi.java,
33568 gnu/java/security/jce/hash/RipeMD160Spi.java,
33569 gnu/java/security/jce/hash/Sha160Spi.java,
33570 gnu/java/security/jce/hash/Sha256Spi.java,
33571 gnu/java/security/jce/hash/Sha384Spi.java,
33572 gnu/java/security/jce/hash/Sha512Spi.java,
33573 gnu/java/security/jce/hash/TigerSpi.java,
33574 gnu/java/security/jce/hash/WhirlpoolSpi.java,
33575 gnu/java/security/jce/prng/HavalRandomSpi.java,
33576 gnu/java/security/jce/prng/MD2RandomSpi.java,
33577 gnu/java/security/jce/prng/MD4RandomSpi.java,
33578 gnu/java/security/jce/prng/MD5RandomSpi.java,
33579 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33580 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33581 gnu/java/security/jce/prng/SecureRandomAdapter.java,
33582 gnu/java/security/jce/prng/Sha160RandomSpi.java,
33583 gnu/java/security/jce/prng/Sha256RandomSpi.java,
33584 gnu/java/security/jce/prng/Sha384RandomSpi.java,
33585 gnu/java/security/jce/prng/Sha512RandomSpi.java,
33586 gnu/java/security/jce/prng/TigerRandomSpi.java,
33587 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33588 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33589 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33590 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33591 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33592 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33593 gnu/java/security/jce/sig/SignatureAdapter.java,
33594 gnu/java/security/key/IKeyPairCodec.java,
33595 gnu/java/security/key/IKeyPairGenerator.java,
33596 gnu/java/security/key/KeyPairCodecFactory.java,
33597 gnu/java/security/key/KeyPairGeneratorFactory.java,
33598 gnu/java/security/key/dss/DSSKey.java,
33599 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33600 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33601 gnu/java/security/key/dss/DSSPrivateKey.java,
33602 gnu/java/security/key/dss/DSSPublicKey.java,
33603 gnu/java/security/key/dss/FIPS186.java,
33604 gnu/java/security/key/rsa/GnuRSAKey.java,
33605 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33606 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33607 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33608 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33609 gnu/java/security/prng/BasePRNG.java,
33610 gnu/java/security/prng/EntropySource.java,
33611 gnu/java/security/prng/IRandom.java,
33612 gnu/java/security/prng/LimitReachedException.java,
33613 gnu/java/security/prng/MDGenerator.java,
33614 gnu/java/security/prng/PRNGFactory.java,
33615 gnu/java/security/prng/RandomEvent.java,
33616 gnu/java/security/prng/RandomEventListener.java,
33617 gnu/java/security/sig/BaseSignature.java,
33618 gnu/java/security/sig/ISignature.java,
33619 gnu/java/security/sig/ISignatureCodec.java,
33620 gnu/java/security/sig/SignatureFactory.java,
33621 gnu/java/security/sig/dss/DSSSignature.java,
33622 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
33623 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
33624 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
33625 gnu/java/security/sig/rsa/EMSA_PSS.java,
33626 gnu/java/security/sig/rsa/RSA.java,
33627 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
33628 gnu/java/security/sig/rsa/RSAPSSSignature.java,
33629 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
33630 gnu/java/security/util/Base64.java,
33631 gnu/java/security/util/ExpirableObject.java,
33632 gnu/java/security/util/Prime2.java,
33633 gnu/java/security/util/Sequence.java,
33634 gnu/java/security/util/SimpleList.java,
33635 gnu/java/security/util/Util.java,
33636 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
33637 new files imported from GNU Crypto and Jessie.
33638
33639 2006-01-25 Tom Tromey <tromey@redhat.com>
33640
33641 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
33642 Fixed calculation of number of bytes to read.
33643 (size, count, meta, eof): Document.
33644
33645 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
33646
33647 * java/lang/Character.java:
33648 (codePointCount(char[], int, int)): New API method.
33649 (codePointCount(CharSequence, int, int)): Likewise.
33650
33651 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33652
33653 PR 25205
33654 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
33655 Rewritten.
33656 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
33657 action if not editing.
33658 * javax/swing/plaf/basic/BasicTreeUI.java
33659 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
33660 (CellEditorHandler.editingStopped): Delegate to stopEditing.
33661 (EditorUpdateTimer): Removed.
33662 (TreeAction.actionPerformed): Stop and not cancel the current editing
33663 when starting editing another node.
33664 (editorTimer, newVal): Removed.
33665 (cancelEditing): Do not send the cancel message.
33666 (completeEditing): Obtain the edited value from the editor.
33667 (finish): New method.
33668 (paintRow): Do not paint the editing component here.
33669 (startEditing, stopEditing): Rewritten.
33670 * javax/swing/tree/DefaultTreeCellEditor.java
33671 (DefaultTextField): Added SVUID.
33672 (EditorContainer): Rewritten.
33673 (RealEditorListener): New inner class.
33674 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
33675 (constructor): Add cell editor listener. Do not instantiate timer.
33676 (actionPerformed): Return without action.
33677 (cancelCellEditing): Rewritten.
33678 (createTreeCellEditor): Add cell editor listener to the editor.
33679 (getCellEditorValue): Request the value from the realEditor.
33680 (isCellEditable): Removed timer management.
33681 (prepareForEditing): Remove all components befor adding the
33682 editingComponent.
33683 (startEditingTimer): Start only if it is not null.
33684 (stopCellEditing): Rewritten.
33685 (stopEditingTimer): New method.
33686 (valueChanged): Do not configure editing component here.
33687
33688 2006-01-25 Roman Kennke <kennke@aicas.com>
33689
33690 * javax/swing/text/html/FormView.java: New file.
33691
33692 2006-01-25 Roman Kennke <kennke@aicas.com>
33693
33694 * javax/swing/JSplitPane.java
33695 (addImpl): Call resetToPreferredSizes() when no dividerLocation
33696 has been set in order to set an initial layout.
33697 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33698 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
33699 layout of the right component.
33700 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
33701 dividerLocation to the size of the left component.
33702 (createDefaultNonContinuousLayoutDivider): Fetch the color from
33703 the UIManager.
33704 (setDividerLocation): Don't validate the location here. Sometimes
33705 the divider needs to be set to an invalid location.
33706 (startDragging): Don't revalidate and repaint here.
33707 (finishDraggingTo): Don't repaint here. Also, don't call
33708 dragDividerTo() here.
33709 * javax/swing/plaf/basic/BasicLookAndFeel.java
33710 (initComponentDefaults): Added SplitPaneDivider.draggingColor
33711 default value.
33712
33713 2006-01-25 Roman Kennke <kennke@aicas.com>
33714
33715 * javax/swing/JSplitPane.java
33716 (addImpl): Removed invalidate() and layout() call.
33717 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33718 (PropertyHandler.propertyChange): Remove layoutContainer() and
33719 repaint() call.
33720
33721 2006-01-25 Roman Kennke <kennke@aicas.com>
33722
33723 * configure.ac
33724 * native/Makefile.am
33725 * native/jni/classpath/Makefile.am
33726 * native/jni/classpath/jcl.c
33727 * native/jni/classpath/jcl.h
33728 * native/jni/classpath/native_state.c
33729 * native/jni/gtk-peer/Makefile.am
33730 * native/jni/java-io/Makefile.am
33731 * native/jni/java-io/java_io_VMFile.c
33732 * native/jni/java-io/java_io_VMObjectStreamClass.c
33733 * native/jni/java-lang/Makefile.am
33734 * native/jni/java-net/Makefile.am
33735 * native/jni/java-net/java_net_VMInetAddress.c
33736 * native/jni/java-net/javanet.c
33737 * native/jni/java-net/javanet.h
33738 * native/jni/java-nio/Makefile.am
33739 * native/jni/java-nio/gnu_java_nio_VMPipe.c
33740 * native/jni/java-nio/gnu_java_nio_VMSelector.c
33741 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
33742 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
33743 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
33744 * native/jni/java-util/Makefile.am
33745 * native/jni/java-util/java_util_VMTimeZone.c
33746 * native/jni/midi-dssi/Makefile.am
33747 * native/jni/xmlj/Makefile.am
33748 * native/target/Makefile.am
33749 * native/target/Linux/target_native_math.h
33750 * native/target/Linux/target_native_memory.h
33751 * native/target/Linux/Makefile.am
33752 * native/target/Linux/target_native_io.h
33753 * native/target/Linux/target_native_math_float.h
33754 * native/target/Linux/target_native_math_int.h
33755 * native/target/generic/target_generic.c
33756 * native/target/generic/target_generic_io.c
33757 * native/target/generic/target_generic_math.h
33758 * native/target/generic/target_generic_memory.h
33759 * native/target/generic/target_generic_misc.c
33760 * native/target/generic/target_generic_network.c
33761 * native/target/generic/Makefile.am
33762 * native/target/generic/target_generic.h
33763 * native/target/generic/target_generic_file.h
33764 * native/target/generic/target_generic_io.h
33765 * native/target/generic/target_generic_math_float.h
33766 * native/target/generic/target_generic_math_int.h
33767 * native/target/generic/target_generic_misc.h
33768 * native/target/generic/target_generic_network.h:
33769 Reverted target native related changes back to the state of the
33770 0.20 release.
33771 * native/target/MinGW/.cvsignore
33772 * native/target/MinGW/Makefile.am
33773 * native/target/MinGW/target_native.h
33774 * native/target/MinGW/target_native_file.h
33775 * native/target/MinGW/target_native_io.h
33776 * native/target/MinGW/target_native_math.h
33777 * native/target/MinGW/target_native_memory.h
33778 * native/target/MinGW/target_native_misc.h
33779 * native/target/MinGW/target_native_network.h
33780 * native/target/RTEMS/.cvsignore
33781 * native/target/RTEMS/Makefile.am
33782 * native/target/RTEMS/target_native.h
33783 * native/target/RTEMS/target_native_file.h
33784 * native/target/RTEMS/target_native_io.h
33785 * native/target/RTEMS/target_native_math.h
33786 * native/target/RTEMS/target_native_memory.h
33787 * native/target/RTEMS/target_native_misc.h
33788 * native/target/RTEMS/target_native_network.h
33789 * native/target/SunOS/.cvsignore
33790 * native/target/SunOS/Makefile.am
33791 * native/target/SunOS/target_native.h
33792 * native/target/SunOS/target_native_file.h
33793 * native/target/SunOS/target_native_io.h
33794 * native/target/SunOS/target_native_math.h
33795 * native/target/SunOS/target_native_memory.h
33796 * native/target/SunOS/target_native_misc.h
33797 * native/target/SunOS/target_native_network.h
33798 * native/target/embOS/.cvsignore
33799 * native/target/embOS/Makefile.am
33800 * native/target/embOS/target_native.h
33801 * native/target/embOS/target_native_file.h
33802 * native/target/embOS/target_native_io.c
33803 * native/target/embOS/target_native_io.h
33804 * native/target/embOS/target_native_math.h
33805 * native/target/embOS/target_native_memory.h
33806 * native/target/embOS/target_native_misc.h
33807 * native/target/embOS/target_native_network.h
33808 * native/target/posix/.cvsignore
33809 * native/target/posix/Makefile.am
33810 * native/target/posix/target_posix.c
33811 * native/target/posix/target_posix.h
33812 * native/target/posix/target_posix_file.c
33813 * native/target/posix/target_posix_file.h
33814 * native/target/posix/target_posix_io.c
33815 * native/target/posix/target_posix_io.h
33816 * native/target/posix/target_posix_math.c
33817 * native/target/posix/target_posix_math.h
33818 * native/target/posix/target_posix_memory.c
33819 * native/target/posix/target_posix_memory.h
33820 * native/target/posix/target_posix_misc.c
33821 * native/target/posix/target_posix_misc.h
33822 * native/target/posix/target_posix_network.c
33823 * native/target/posix/target_posix_network.h:
33824 Removed.
33825
33826 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
33827
33828 * javax/print/PrintService.java,
33829 * javax/print/DocPrintJob.java,
33830 * javax/print/CancelablePrintJob.java:
33831 Added and enhanced api documentation for class and methods.
33832
33833 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
33834
33835 * javax/print/SimpleDoc.java: Make class final.
33836 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
33837 * javax/print/attribute/DateTimeSyntax.java:
33838 (toString): New overridden method.
33839 * javax/print/attribute/standard/JobStateReasons.java:
33840 (add): Use the super.add method to avoid recursion.
33841 * javax/print/attribute/standard/PrinterStateReasons.java:
33842 (put): Use the super.put method to avoid recursion.
33843
33844 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
33845
33846 * java/beans/XMLEncoder.java:
33847 (writeExpression): Added early return (fixes PR #25941).
33848 (setExceptionListener, anonymous Class): Removed printStackTrace
33849 call.
33850 * java/beans/Encoder: Removed unused imports.
33851 (setupDefaultPersistenceDelegates): Removed unneccessary
33852 PersistenceDelegates for subclasses.
33853 * java/beans/PersistenceDelegate:
33854 (initialize): Use local variable as first argument as it was
33855 intended once.
33856 * java/beans/DefaultPersistenceDelegate:
33857 (initialize): Added call to superclass' implementation, added
33858 early return.
33859
33860 2006-01-24 Tom Tromey <tromey@redhat.com>
33861
33862 * java/util/regex/PatternSyntaxException.java: Added @since.
33863 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
33864 * java/util/regex/MatchResult.java: New file.
33865
33866 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
33867
33868 * javax/swing/text/StringContent.java: Added API docs all over, plus
33869 minor reformatting.
33870
33871 2006-01-24 Gary Benson <gbenson@redhat.com>
33872
33873 * java/net/SocketPermission.java: Implemented serialization.
33874
33875 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
33876
33877 * javax/swing/text/StringContent.java
33878 (remove): Modified argument check to prevent removal of last character,
33879 (getChars): Removed null argument check to allow NullPointerException,
33880 added API docs,
33881 (checkLocation): Added API docs and white space.
33882
33883 2006-01-23 Lillian Angel <langel@redhat.com>
33884
33885 * javax/swing/text/DefaultStyledDocument.java
33886 (insertUpdate): Should only call createFracture with
33887 StartTagType. Added check.
33888 (insertContentTag): Should use the tags length for splitting.
33889 Also, added a check to determine if current's start and end offset are
33890 equal to the offset and endOffset. If so, only one leaf element
33891 should be added.
33892 (createFracture): Removed FIXME. This function is complete.
33893 (split): Added calls to replace. Changed so the child is
33894 added immediately to the paragraph. Prevents NPEs.
33895
33896 2006-01-23 Mark Wielaard <mark@klomp.org>
33897
33898 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
33899
33900 2006-01-23 Tom Tromey <tromey@redhat.com>
33901
33902 * gnu/java/security/x509/X509Certificate.java (parse):
33903 Unconditionally read value; for version==1 case when reading
33904 algorithm ID.
33905
33906 2006-01-23 Roman Kennke <kennke@aicas.com>
33907
33908 * javax/swing/plaf/synth/ColorType.java,
33909 * javax/swing/plaf/synth/Region.java,
33910 * javax/swing/plaf/synth/SynthConstants.java,
33911 * javax/swing/plaf/synth/SynthContext.java
33912 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
33913 * javax/swing/plaf/synth/SynthLookAndFeel.java,
33914 * javax/swing/plaf/synth/SynthPainter.java,
33915 * javax/swing/plaf/synth/SynthStyle.java,
33916 * javax/swing/plaf/synth/SynthStyleFactory.java,
33917 * javax/swing/plaf/synth/package.html:
33918 New files. Added the public API and framework classes for the
33919 Synth look and feel.
33920
33921 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
33922
33923 * javax/swing/text/Segment.java: API docs all over.
33924
33925 2006-01-23 Lillian Angel <langel@redhat.com>
33926
33927 * javax/swing/text/DefaultStyledDocument.java
33928 (split): Should not use createLeafElement and createBranchElement here.
33929 We should just instaniate the LeafElements and BranchElements instead
33930 to avoid the case where create*Element is overridden.
33931
33932 2006-01-23 Lillian Angel <langel@redhat.com>
33933
33934 * javax/swing/text/DefaultStyledDocument.java
33935 (insertFirstContentTag): Moved check outside of if-statement.
33936 This should be checked before creating the new leaf element.
33937 (insertFracture): Fixed check to prevent an NPE. The previous
33938 leaf should only be recreated if it has been created by
33939 insertFirstContentTag. Also, fixed up code: if the endOffset is
33940 greater than the offset, then we need to create a temp leaf
33941 as a place holder. Otherwise, the leaf elements should be
33942 created normally.
33943
33944 2006-01-23 Gary Benson <gbenson@redhat.com>
33945
33946 * java/net/SocketPermission.java: Almost completely rewritten.
33947
33948 2006-01-23 Lillian Angel <langel@redhat.com>
33949
33950 * javax/swing/text/DefaultStyledDocument.java
33951 (insertFracture): Set temp leaf's attributes to prevent an NPE.
33952
33953 2006-01-23 Lillian Angel <langel@redhat.com>
33954
33955 * javax/swing/text/DefaultStyledDocument.java:
33956 Formatted ElementBuffer and added new fields.
33957 (remove): Added check to determine if length is 0.
33958 (insertFirstContentTag): Initialized firstCreated to the element that is created
33959 by the first tag encountered. Removed check in JoinPreviousDirection case, no
33960 longer needed. In OriginateDirection case, added a loop to remove all old leafs
33961 that have been recreated.
33962 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
33963 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
33964 FIXME tags to the lines that need to be rewritten.
33965
33966 2006-01-23 Mark Wielaard <mark@klomp.org>
33967
33968 * examples/Makefile.am: Add support for fastjar.
33969
33970 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
33971
33972 * gnu/regexp/REToken.java(empty): Made Cloneable.
33973 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
33974 Use separate methods matchN and matchP depending on the
33975 boolean negative.
33976 (matchN): New method used when negative. Done as before.
33977 (matchP): New method used when not negative. Each token is
33978 tried not by itself but by a clone of it.
33979
33980 2006-01-23 Chris Burdess <dog@gnu.org>
33981
33982 Fixes bug #25906
33983 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
33984 class to avoid getLength method contention.
33985 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
33986
33987 2006-01-23 Chris Burdess <dog@gnu.org>
33988
33989 * native/jni/java-util/Makefile.am: Include library required
33990 explicitly by BSD systems.
33991 * native/target/generic/target_generic_misc.h: Remove old commented
33992 out code.
33993 * native/target/generic/target_generic_network.h: Fallbacks (to
33994 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
33995
33996 2006-01-22 Tom Tromey <tromey@redhat.com>
33997
33998 * native/target/posix/.cvsignore: Added .deps.
33999
34000 2006-01-22 Mark Wielaard <mark@klomp.org>
34001
34002 Fixes bug #25832,
34003 reported by James Damour <James.Damour@corp.request.com>
34004 * java/awt/Container.java (addImpl): Use empty string as name when
34005 null constraints for LayoutManager.addLayoutComponent().
34006
34007 2006-01-22 Chris Burdess <dog@gnu.org>
34008
34009 Fixes bug #25903
34010 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34011 representing current directory as base for relative URLs.
34012
34013 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34014
34015 Fixes bug #25837
34016 * gnu/regexp/REMatch.java(empty): New boolean indicating
34017 an empty string matched.
34018 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34019 string matched.
34020 (initialize): Support back reference \10, \11, and so on.
34021 (parseInt): renamed from getEscapedChar and returns int.
34022 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34023 when an empty string matched. Fixed a bug of the case where
34024 an empty string matched. Added special handling of {0}.
34025 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34026 when an empty string matched. Fixed the case insensitive matching.
34027
34028 2006-01-21 Roman Kennke <kennke@aicas.com>
34029
34030 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34031 (paint): Added painting of border if one is installed.
34032
34033 2006-01-21 Roman Kennke <kennke@aicas.com>
34034
34035 PR classpath/25843:
34036 * javax/swing/plaf/basic/BasicBorders.java
34037 (getSplitPaneDividerBorder): Use new border constructor
34038 without arguments.
34039 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34040 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34041 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34042 colors are fetched dynamically in the paintBorder method.
34043 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34044 the look and feel.
34045 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34046 unconditionally.
34047 * javax/swing/plaf/basic/BasicLookAndFeel.java
34048 (initComponentDefaults): Added default for SplitPaneDivider.border.
34049 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34050 (tmpBorder): Removed unneeded inner class.
34051 (BasicSplitPaneDivider): Removed setting of border.
34052 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34053 itself.
34054 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34055 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34056 to get behaviour right.
34057 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34058 implementation. This must be rewritten since the layout now works
34059 slightly different (basically, it shouldn't modify the sizes[]
34060 here but instead the dividerLocation.
34061 (dividerLocation): New field.
34062 (installDefaults): Initialize border on divider.
34063 (uninstallDefaults): Only remove background color and border from
34064 splitPane if they are instances of UIDefaults (== not set by
34065 application).
34066 (setDividerLocation): Set the dividerLocation field instead of
34067 doing stunt acts here.
34068 (getDividerLocation): Return dividerLocation field.
34069 (getMinimumDividerLocation): Fixed calculation of minimum location.
34070
34071 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34072
34073 * m4/acinclude.m4
34074 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34075
34076 * lib/Makefile.am: Likewise.
34077
34078 2006-01-21 Roman Kennke <kennke@aicas.com>
34079
34080 * javax/swing/PopupFactory.java
34081 (getPopup): If there is no Swing root found in any way, use a
34082 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34083 for the Swing AWT peers.
34084
34085 2006-01-20 Tom Tromey <tromey@redhat.com>
34086
34087 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34088 Read response body for redirect.
34089
34090 2006-01-20 Chris Burdess <dog@gnu.org>
34091
34092 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34093 redirects on 304.
34094
34095 2006-01-20 Lillian Angel <langel@redhat.com>
34096
34097 * javax/swing/text/DefaultStyledDocument.java
34098 (pad): Removed, not needed.
34099 (printElements): Likewise.
34100 (printEdit): Likewise.
34101
34102 2006-01-20 Roman Kennke <kennke@aicas.com>
34103
34104 * javax/swing/text/DefaultFormatter.java
34105 (DefaultFormatter): Don't set a value class.
34106
34107 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34108
34109 * javax/swing/DefaultCellEditor.java: Commented.
34110
34111 2006-01-19 Roman Kennke <kennke@aicas.com>
34112
34113 * javax/swing/JOptionPane.java
34114 Added cast to Frame for JDialog constructor.
34115
34116 2006-01-19 Roman Kennke <kennke@aicas.com>
34117
34118 * javax/swing/JWindow.java
34119 (JWindow(Window)): Fixed to accept null owner argument.
34120 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34121 owner argument.
34122 * javax/swing/SwingUtilities.java
34123 (getOwnerFrame): Owner parameter and return value are fixed to
34124 be of type Window for compatibity with the above JWindow
34125 constructor.
34126 * javax/swing/JDialog.java
34127 (JDialog): Added cast to Frame to make sure the correct constructor
34128 is called.
34129 * javax/swing/JFileChooser.java
34130 (createDialog): Added cast to Frame for JDialog constructor.
34131
34132 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34133
34134 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34135
34136 2006-01-19 Roman Kennke <kennke@aicas.com>
34137
34138 * javax/swing/JWindow.java: Added API docs to the constructors.
34139
34140 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34141
34142 * javax/swing/JTable.java: Commenting method headers.
34143 (EditorUpdateTimer): Removed.
34144
34145 2006-01-19 Roman Kennke <kennke@aicas.com>
34146
34147 * javax/swing/JDialog.java
34148 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34149 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34150 SwingUtilities.getOwnerFrame() with the owner argument.
34151 * javax/swing/JFileChooser.java
34152 (showOpenDialog(Component)): Call pack() on the dialog instead of
34153 setting a fixed height.
34154 (showSaveDialog()): Likewise.
34155 (showDialog()): Likewise.
34156 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34157 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34158 with null.
34159 * javax/swing/JWindow.java
34160 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34161 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34162 argument.
34163 * javax/swing/SwingUtilities.java
34164 (getOwnerFrame): Changed to take a owner parameter that is returned
34165 as owner frame when not null.
34166
34167 2006-01-19 Roman Kennke <kennke@aicas.com>
34168
34169 * gnu/java/awt/peer/swing/SwingFramePeer.java
34170 (handleMouseEvent): Fixed handling of mouse events.
34171 (handleMouseMotionEvent): Fixed handling of mouse events.
34172
34173 2006-01-19 Roman Kennke <kennke@aicas.com>
34174
34175 * native/target/generic/target_generic_misc.c:
34176 (targetGenericMisc_formatString): Added missing method.
34177
34178 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34179
34180 * m4/acinclude.m4: Test also for ecj found before exiting configure
34181 with no javac found error message.
34182
34183 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34184
34185 Fixes bug #23212
34186 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34187 \0123, \x1B, \u1234.
34188 (getEscapedChar): New method.
34189 (CharExpression): New inner class.
34190 (getCharExpression): New Method.
34191 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34192 RE_UNICODE_CHAR): New syntax bits.
34193
34194 2006-01-19 Roman Kennke <kennke@aicas.com>
34195
34196 * native/target/Makefile.am: Fixed so that posix stuff is really
34197 only built when requested.
34198
34199 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34200
34201 * javax/swing/JTable.java (editingStopped, editingCancelled):
34202 Repaint the edited cell.
34203 (setValueAt): Do not add the value object to this container.
34204 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34205 (editingStopped): Use editingRow, editingColumn and not
34206 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34207 (doLayout): Move the editor component, if present, into the new
34208 location and call repaint(). (moveToCellBeingEdited): new method.
34209 (TableTextField): new inner class.
34210 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34211 (setValueAt): Repaint the changed segment.
34212 (createDefaultEditors): Implemented.
34213 (BooleanCellRenderer): Center the checkbox and use the default foreground
34214 and background colors.
34215 * javax/swing/plaf/basic/BasicTableUI.java
34216 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34217 (paint): No need to allocate rectangle for each cell.
34218 * javax/swing/DefaultCellEditor.java: Rewritten.
34219 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34220 Use TableDemo.java table example.
34221 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34222
34223 2006-01-19 Roman Kennke <kennke@aicas.com>
34224
34225 * configure.ac: Added/fixed --enable-posix-layer option to enable
34226 build of posix layer.
34227 * native/target/Makefile.am: Added build for posix layer.
34228
34229 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34230
34231 * configure.ac: Set TARGET to Linux per default.
34232 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34233 libtargetos.la.
34234 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34235 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34236 AM_CPPFLAGS.
34237
34238 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34239
34240 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34241 what looked like proprietary documentation with original or new one.
34242 * java/security/spec/PSSParameterSpec.java: Likewise.
34243 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34244 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34245 * java/security/AlgorithmParameterGenerator.java: Likewise.
34246 * java/security/AlgorithmParameters.java: Likewise.
34247 * java/security/Identity.java: Likewise.
34248 * java/security/IdentityScope.java: Likewise.
34249 * java/security/KeyFactory.java: Likewise.
34250 * java/security/KeyPairGenerator.java: Likewise.
34251 * java/security/MessageDigest.java: Likewise.
34252 * java/security/Policy.java: Likewise.
34253 * java/security/ProtectionDomain.java: Likewise.
34254 * java/security/Security.java: Likewise.
34255 * java/security/Signature.java: Likewise.
34256 * java/security/SignatureSpi.java: Likewise.
34257 * java/security/SignedObject.java: Likewise.
34258 * java/security/Signer.java: Likewise.
34259
34260 2006-01-18 Roman Kennke <kennke@aicas.com>
34261
34262 * configure.ac: Added --enable-posix-layer option to enable
34263 build of the posix target layer.
34264
34265 2006-01-18 Roman Kennke <kennke@aicas.com>
34266
34267 * native/jni/java-net/java_net_VMInetAddress.c
34268 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34269 for INADDR_ANY.
34270
34271 2006-01-18 Roman Kennke <kennke@aicas.com>
34272
34273 * native/jni/java-util/java_util_VMTimeZone.c:
34274 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34275 to use target native layer.
34276 (jint_to_charbuf): Removed unneeded helper function.
34277
34278 2006-01-18 Roman Kennke <kennke@aicas.com>
34279
34280 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34281 Removed unnecessary include.
34282 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34283 Reorganized includes to only include sys/* headers when available.
34284 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34285 (get_pagesize): Return 0 when nothing else works.
34286 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34287 Replaced munmap() and strerror() with corresponding target macros.
34288 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34289 Replaced strerror() with corresponding target macro.
34290 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34291 Replaced strerror() with corresponding target macro.
34292 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34293 (Java_java_nio_VMDirectByteBuffer_allocate):
34294 Replaced malloc() with the corresponding target macro.
34295 (Java_java_nio_VMDirectByteBuffer_free):
34296 Replaced free() with the corresponding target macro.
34297 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34298 Add index to pointer when assigning the value.
34299 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34300 Replaced memcpy with corresponding target macro. Add index when
34301 doing the memcpy, not when fetching the pointer.
34302 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34303 Replaced memcpy with corresponding target macro.
34304 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34305 Replaced memmove with the corresponding target macro.
34306
34307 2006-01-17 Tom Tromey <tromey@redhat.com>
34308
34309 PR classpath/20198:
34310 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34311 (JarURLLoader): Likewise.
34312 (addURLImpl): Canonicalize file URLs.
34313
34314 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34315
34316 * configure.ac: Set TARGET.
34317 * native/Makefile.am, native/jni/classpath/Makefile.am,
34318 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34319 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34320 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34321 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34322 native/target/Linux/Makefile.am,
34323 native/target/generic/Makefile.am,
34324 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34325 and target stuff linked in and link it against lib*.so libraries.
34326
34327 2006-01-17 Roman Kennke <kennke@aicas.com>
34328
34329 * native/jni/java-net/javanet.c:
34330 (_javanet_connect): Changed type of some local variables to jint.
34331 Fixed error handling to throw a SocketTimeoutException if the
34332 connection attempt times out.
34333 (_javanet_bind): Changed type of some local variables to jint.
34334 (_javanet_accept): Likewise.
34335 (_javanet_recvfrom): Likewise.
34336 (_javanet_sendto): Fixed error handling to throw a
34337 PortUnreachableException when connection is refused.
34338 (_javanet_get_option): Changed type of some local variables to jint.
34339 Implemented SOCKOPT_SO_BROADCAST.
34340 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34341 target native macro.
34342 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34343 target native macro.
34344 * native/jni/java-net/javanet.h:
34345 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34346 SOCKOPT_SO_BROADCAST.
34347
34348 2006-01-17 Lillian Angel <langel@redhat.com>
34349
34350 * javax/swing/text/DefaultStyledDocument.java
34351 (insert): Cleaned up loop. No need to make so many calls
34352 to getAddedElements and getRemovedElements.
34353 (insertFracture): Removed unneeded array.
34354
34355 2006-01-17 Lillian Angel <langel@redhat.com>
34356
34357 * javax/swing/text/JTextComponent.java
34358 (AccessibleJTextComponent): Implemented.
34359 (getCaretPosition): Implemented.
34360 (getSelectedText): Implemented.
34361 (getSelectionStart): Implemented.
34362 (getSelectionEnd): Implemented.
34363 (getSelectionEnd): Implemented.
34364 (getCharCount): Implemented.
34365 (insertTextAtIndex): Implemented.
34366 (getTextRange): Implemented.
34367 (delete): Implemented.
34368 (cut): Implemented.
34369 (paste): Implemented.
34370 (replaceText): Implemented.
34371 (selectText): Implemented.
34372
34373 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34374
34375 * javax/swing/text/DefaultStyledDocument.java:
34376 (pad): New debugging method.
34377 (printElements): Likewise.
34378 (printPendingEdits): Likewise.
34379 (printElement): Likewise.
34380 (Edit): Improved docs, moved this class to be an inner class of
34381 ElementBuffer since it only applies within that scope. Changed added
34382 and removed to be Vectors instead of arrays because we need to be able
34383 to add to them after construction.
34384 (ElementBuffer): Updated docs with link to article that helped in this
34385 classes implementation.
34386 (ElementBuffer.Edit.getRemovedElements): New method.
34387 (ElementBuffer.Edit.getAddedElements): Likewise.
34388 (ElementBuffer.Edit.addRemovedElement): Likewise.
34389 (ElementBuffer.Edit.addRemovedElements): Likewise.
34390 (ElementBuffer.Edit.addAddedElement): Likewise.
34391 (ElementBuffer.Edit.addAddedElements): Likewise.
34392 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34393 addAddedElements.
34394 (ElementBuffer.getEditForParagraphAndIndex): New method.
34395 (ElementBuffer.removeUpdate): Changed type of paragraph to
34396 BranchElement. Corrected style of adding the edit to use the new Edit
34397 facilities.
34398 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34399 the new Edit facilities.
34400 (ElementBuffer.split): Likewise.
34401 (ElementBuffer.insertParagraph): Likewise.
34402 (ElementBuffer.insertContentTag): Likewise.
34403 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34404 not just the root and the first one. Apply the structural changes to
34405 the tree at the same time as updating the DocumentEvent.
34406 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34407 handling of EndTags as the first ElementSpec. Instead have to handle
34408 ContentTags as a special case if they are the first ElementSpec and if
34409 not have to fracture the tree.
34410 (ElementBuffer.createFracture): New method. May not be complete yet.
34411 Added FIXME indicating what may remain to be done.
34412 (ElementBuffer.insertFirstContentTag): New method.
34413 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34414 be done. Changed the adding of edits to use the new Edit facilities.
34415 Removed the adding of edits for Elements that weren't in the tree prior
34416 to the insertion.
34417 (insertUpdate): Removed incorrect condition for setting a StartTag's
34418 direction to JoinNextDirection.
34419 * javax/swing/text/StyleContent.java:
34420 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34421 that was causing an ArrayOutOfBoundsException.
34422
34423 2006-01-17 Roman Kennke <kennke@aicas.com>
34424
34425 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34426 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34427 exception messages a little.
34428 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34429 alternative implementation for systems without filesystems.
34430 Replaced snprintf with the corresponding target native macro.
34431 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34432 Only do something when we have a filesystem.
34433 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34434 alternative implementation for systems without filesystems.
34435 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34436 alternative implementation for systems without filesystems.
34437 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34438 alternative implementation for systems without filesystems.
34439 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34440 Only do something when we have a filesystem.
34441 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34442 Only do something when we have a filesystem.
34443 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34444 alternative implementation for systems without filesystems.
34445 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34446 Replaced ssize_t variables with jint. Provided
34447 alternative implementation for systems without filesystems.
34448 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34449 Replaced ssize_t variables with jint. Provided
34450 alternative implementation for systems without filesystems.
34451 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34452 Replaced ssize_t variables with jint. Provided
34453 alternative implementation for systems without filesystems.
34454 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34455 Only do something when we have a filesystem.
34456 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34457 Replaced ssize_t variables with jint. Provided
34458 alternative implementation for systems without filesystems.
34459 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34460 to use the corresponding target native macro.
34461 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34462 to use the corresponding target native macro.
34463
34464 2006-01-17 Lillian Angel <langel@redhat.com>
34465
34466 * javax/swing/text/DefaultTextUI.java:
34467 Added deprecated tag.
34468 * javax/swing/text/JTextComponent.java
34469 (AccessibleJTextComponent): Fixed API doc and
34470 partiall9 implemented.
34471 (getCaretPosition): Fixed API doc and implemented.
34472 (getSelectedText): Fixed API doc.
34473 (getSelectionStart): Likewise.
34474 (getSelectionEnd): Likewise.
34475 (caretUpdate): Fixed API doc and
34476 partially implemented.
34477 (getAccessibleStateSet): Likewise.
34478 (getAccessibleRole): Fixed API doc and implemented.
34479 (getAccessibleEditableText): Implemented.
34480 (getAccessibleText): Fixed API doc and implemented.
34481 (insertUpdate): Fixed API doc.
34482 (changedUpdate): Likewise.
34483 (getIndexAtPoint): Likewise.
34484 (getRootEditorRect): Removed.
34485 (getCharacterBounds): Fixed API doc.
34486 (getCharCount): Likewise.
34487 (getCharacterAttribute): Likewise.
34488 (getAtIndex): Likewise.
34489 (getAfterIndex): Likewise.
34490 (getBeforeIndex): Likewise.
34491 (getAccessibleActionCount): Added function stub.
34492 (getAccessibleActionDescription): Added function,
34493 partially implemented.
34494 (doAccessibleAction): Added function stub.
34495 (setTextContents): Likewise.
34496 (insertTextAtIndex): Likewise.
34497 (delete): Likewise.
34498 (cut): Likewise.
34499 (paste): Likewise.
34500 (replaceText): Likewise.
34501 (selectText): Likewise.
34502 (setAttributes): Likewise.
34503 (getAccessibleContext): Implemented.
34504
34505 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34506
34507 Fixes bug #25817
34508 * gnu/regexp/RETokenRange.java(constructor):
34509 Keep lo and hi as they are.
34510 (match): Changed the case insensitive comparison.
34511
34512 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34513
34514 * gnu/regexp/RETokenChar.java(chain):
34515 Do not concatenate tokens whose insens flags are diffent.
34516
34517 2006-01-17 Roman Kennke <kennke@aicas.com>
34518
34519 * native/target/generic/target_generic_network.c:
34520 (targetGenericNetwork_receive): Fixed signature to match the
34521 corresponding .h file.
34522 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34523 to match the corresponding .h file.
34524
34525 2006-01-17 Roman Kennke <kennke@aicas.com>
34526
34527 * native/jni/classpath/jcl.c:
34528 (JCL_malloc): Replaced calls to malloc with the corresponding
34529 target layer macro.
34530 (JCL_free): Replaced calls to free with the corresponding
34531 target layer macro.
34532 * native/jni/classpath/native_state.c:
34533 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34534 calloc with the corresponding target layer macro.
34535 (remove_node): Replaced calls to free with the corresponding
34536 target layer macro.
34537 (add_node): Replaced calls to malloc with the corresponding
34538 target layer macro.
34539
34540 2006-01-17 Roman Kennke <kennke@aicas.com>
34541
34542 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34543 (getFieldReference): Use MALLOC/FREE macros for portability instead
34544 of direct call to malloc() and free().
34545
34546 2006-01-17 Roman Kennke <kennke@aicas.com>
34547
34548 * native/jni/classpath/jcl.c: Added missing imports.
34549 (JCL_realloc): Fixed signature to include oldsize. This is needed
34550 for some targets. Make this function use the MEMORY_REALLOC macro
34551 for portability.
34552 * native/jni/classpath/jcl.h
34553 (JCL_realloc): Adjusted signature.
34554 * native/jni/java-io/java_io_VMFile.c:
34555 (Java_java_io_VMFile_create): Use target layer macro for handling
34556 errno, for portability.
34557 (Java_java_io_VMFile_length): Release filename string in error cases
34558 before returning.
34559 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34560 version of JCL_realloc.
34561 * native/jni/java-net/java_net_VMInetAddress.c:
34562 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34563 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34564 * native/jni/java-net/javanet.c:
34565 (_javanet_bind): Make errorstr variable const to avoid compiler
34566 warning.
34567 (_javanet_set_option): Fixed typo.
34568 (_javanet_get_option): Fixed typo.
34569 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34570 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34571 error_string variable const to avoid compiler warning.
34572 * native/target/generic/target_generic_file.h:
34573 Replaced // comments with /* */ comments to avoid compiler warnings.
34574 Added some spaces to make code better readable.
34575 * native/target/generic/target_generic_memory.h:
34576 Replaced // comments with /* */ comments to avoid compiler warnings.
34577 * native/target/generic/target_generic_misc.c:
34578 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34579 compiler warnings due to use of varargs.
34580 * native/target/generic/target_generic_misc.h:
34581 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34582 compiler warnings due to use of varargs.
34583 * native/target/generic/target_generic_network.h:
34584 Replaced // comments with /* */ comments to avoid compiler warnings.
34585 (targetGenericNetwork_receive): Fixed signature to use signed chars
34586 for buffer parameter to avoid warning when passing a jbyte to the
34587 function.
34588
34589 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
34590
34591 * javax/swing/text/StyleConstants.java
34592 (getAlignment): Removed isDefined() check, so that resolving parent is
34593 used for lookup,
34594 (getBackground): Likewise, plus changed default value to Color.BLACK,
34595 (getBidiLevel): Removed isDefined() check,
34596 (getComponent): Likewise,
34597 (getFirstLineIndent): Likewise,
34598 (getFontFamily): Likewise,
34599 (getFontSize): Likewise,
34600 (getForeground): Likewise,
34601 (getIcon): Likewise,
34602 (getLeftIndent): Likewise,
34603 (getLineSpacing): Likewise,
34604 (getRightIndent): Likewise,
34605 (getSpaceAbove): Likewise,
34606 (getSpaceBelow): Likewise,
34607 (getTabSet): Likewise,
34608 (isBold): Likewise,
34609 (isItalic): Likewise,
34610 (isStrikeThrough): Likewise,
34611 (isSubscript): Likewise,
34612 (isSuperscript): Likewise,
34613 (isUnderline): Likewise.
34614
34615 2006-01-17 Gary Benson <gbenson@redhat.com>
34616
34617 * java/lang/System.java (setSecurityManager): Catch
34618 ClassNotFoundException not Throwable.
34619
34620 2006-01-16 Anthony Green <green@redhat.com>
34621
34622 PR classpath/25803
34623 * gnu/java/net/protocol/http/Request.java
34624 (createResponseBodyStream): Remove Content-Encoding for
34625 compressed streams.
34626
34627 2006-01-16 Chris Burdess <dog@gnu.org>
34628
34629 * gnu/xml/stream/XMLParser.java,
34630 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
34631 XMLStreamWriter arguments for conformance to the XML specifications.
34632 * gnu/xml/transform/Stylesheet.java,
34633 gnu/xml/transform/Template.java,
34634 gnu/xml/transform/TransformerImpl.java,
34635 gnu/xml/xpath/LangFunction.java,
34636 gnu/xml/xpath/Selector.java: better handling of template priorities;
34637 fix indents when pretty-printing; recursive tests for xml:lang.
34638 * gnu/xml/util/XHTMLWriter.java,
34639 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
34640
34641 2006-01-16 Roman Kennke <kennke@aicas.com>
34642
34643 * native/target/MinGW/.cvsignore: New file.
34644 * native/target/RTEMS/.cvsignore: New file.
34645 * native/target/SunOS/.cvsignore: New file.
34646 * native/target/embOS/.cvsignore: New file.
34647 * native/target/posix/.cvsignore: New file.
34648
34649 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34650
34651 * javax/swing/text/StyleConstants.java: Updated API docs all over.
34652
34653 2006-01-16 Roman Kennke <kennke@aicas.com>
34654
34655 * configure.ac: Include new target native directories in build.
34656
34657 2006-01-16 Roman Kennke <kennke@aicas.com>
34658
34659 * native/target/generic/target_generic_file.h: Added missing
34660 include.
34661 * native/target/generic/target_generic_network.c: Fixed several
34662 typos and includes.
34663 * native/target/generic/target_generic_network.h: Likewise.
34664
34665 2006-01-16 Roman Kennke <kennke@aicas.com>
34666
34667 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
34668 to include the new targets.
34669 * native/target/posix/Makefile.am: Fixed filenames.
34670
34671 2006-01-16 Roman Kennke <kennke@aicas.com>
34672
34673 * native/target/Makefile.am: Include new targets.
34674 * native/target/Linux/Makefile.am: Include new memory layer.
34675 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
34676 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
34677 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
34678 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
34679 * native/target/generic/Makefile.am: Include new memory and math
34680 layer.
34681 * native/target/posix/Makefile.am: New file. Includes posix in dist.
34682
34683 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
34684
34685 Fixes bug #22884
34686 * gnu/regexp/RE.java(initialize): Parse embedded flags.
34687 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
34688
34689 2006-01-16 Roman Kennke <kennke@aicas.com>
34690
34691 * native/target/generic/target_generic_network.c: Fixed typo.
34692 * native/target/generic/target_generic_network.h: Fixed typo.
34693
34694 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
34695
34696 * doc/vmintegration.texinfo: Updated subsection of the
34697 java.lang.InstrumentationImpl documentation.
34698
34699 2006-01-16 Roman Kennke <kennke@aicas.com>
34700
34701 * native/target/RTEMS/target_native.h,
34702 * native/target/RTEMS/target_native_file.h,
34703 * native/target/RTEMS/target_native_io.h,
34704 * native/target/RTEMS/target_native_math.h,
34705 * native/target/RTEMS/target_native_memory.h,
34706 * native/target/RTEMS/target_native_misc.h,
34707 * native/target/RTEMS/target_native_network.h:
34708 New files. Implement the target native layer for the RTEMS platform.
34709
34710 2006-01-16 Roman Kennke <kennke@aicas.com>
34711
34712 * native/target/SunOS/target_native.h,
34713 * native/target/SunOS/target_native_file.h,
34714 * native/target/SunOS/target_native_io.h,
34715 * native/target/SunOS/target_native_math.h,
34716 * native/target/SunOS/target_native_memory.h,
34717 * native/target/SunOS/target_native_misc.h,
34718 * native/target/SunOS/target_native_network.h:
34719 New files. Implement the target native layer for the SunOS platform.
34720
34721 2006-01-16 Roman Kennke <kennke@aicas.com>
34722
34723 * native/target/MinGW/target_native.h,
34724 * native/target/MinGW/target_native_file.h,
34725 * native/target/MinGW/target_native_io.h,
34726 * native/target/MinGW/target_native_math.h,
34727 * native/target/MinGW/target_native_memory.h,
34728 * native/target/MinGW/target_native_misc.h,
34729 * native/target/MinGW/target_native_network.h:
34730 New files. Implement the target native layer for the MinGW
34731 platform.
34732
34733 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34734
34735 PR 25770
34736 * javax/swing/DefaultCellEditor.java
34737 (delegate): Assign new instance immediately.
34738 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
34739 (getTableCellEditorComponent): Rewritten.
34740 (prepareAsJTextField):New method (add listener only once).
34741 * javax/swing/JTable.java
34742 (editingCanceled): Rewritten.
34743 (editingStopped ): Rewritten.
34744 (rowAtPoint): Mind row margin.
34745 (getCellRect): Mind row margin.
34746 (getDefaultEditor): Removing JTextComponent border.
34747 (editCellAt): Rewritten.
34748 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
34749 Activate editing mode by the mouse clicks.
34750 (getMaximumSize): Mind row margin.
34751 (getPreferredSize): Mind row margin.
34752 (TableAction): Added 'stop editing' command.
34753
34754 2006-01-16 Roman Kennke <kennke@aicas.com>
34755
34756 * jni/java-io/java_io_VMFile.c
34757 (Java_java_io_VMFile_list): Use new 4 argument version of
34758 TARGET_NATIVE_FILE_READ_DIR macro.
34759 * target/Linux/target_native_io.h: Fixed comment at #endif.
34760 * target/Linux/target_native_memory.h: New file. Contains
34761 portability macros for memory operations.
34762 * target/generic/target_generic.c: New file. Contains some functions
34763 for portability.
34764 * target/generic/target_generic.h: Use posix target and shorter macro
34765 names if CP_NEW is set.
34766 * target/generic/target_generic_file.h: Use posix target and shorter
34767 macro names if CP_NEW is set.
34768 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
34769 * target/generic/target_generic_io.c: New file. Contains some
34770 functions for IO portability.
34771 * target/generic/target_generic_io.h: Use posix target and shorter
34772 macro names if CP_NEW is set.
34773 * target/generic/target_generic_misc.c: New file. Contains some
34774 functions for miscallaneaous portability issues.
34775 * target/generic/target_generic_misc.h: Use posix target and shorter
34776 macro names if CP_NEW is set.
34777 * target/generic/target_generic_network.c: New file. Contains some
34778 functions for networking portability.
34779 * target/generic/target_generic_network.h: Use posix target and
34780 shorter macro names if CP_NEW is set.
34781 * target/posix/Makefile.am,
34782 * target/posix/target_posix.c,
34783 * target/posix/target_posix.h,
34784 * target/posix/target_posix_file.c,
34785 * target/posix/target_posix_file.h,
34786 * target/posix/target_posix_io.c,
34787 * target/posix/target_posix_io.h,
34788 * target/posix/target_posix_math.c,
34789 * target/posix/target_posix_math.h,
34790 * target/posix/target_posix_memory.c,
34791 * target/posix/target_posix_memory.h,
34792 * target/posix/target_posix_misc.c,
34793 * target/posix/target_posix_misc.h,
34794 * target/posix/target_posix_network.c,
34795 * target/posix/target_posix_network.h:
34796 New files. This implements the target native layer macros for
34797 Posix-like systems.
34798
34799 2006-01-16 Gary Benson <gbenson@redhat.com>
34800
34801 * java/net/SocketPermission.java (implies): Fix action checks.
34802
34803 2006-01-16 Roman Kennke <kennke@aicas.com>
34804
34805 * native/target/generic/target_generic_math_float.h: Removed. This
34806 file has been replaced by target_generic_math.h.
34807 * native/target/generic/target_generic_math_int.h: Removed. This
34808 file has been replaced by target_generic_math.h.
34809 * native/target/generic/target_generic_math.h: New file. Replaces
34810 the old _int and _float versions.
34811 * native/target/Linux/target_native_math_float.h: Removed. This
34812 file has been replaced by target_native_math.h.
34813 * native/target/Linux/target_native_math_int.h: Removed. This
34814 file has been replaced by target_native_math.h.
34815 * native/target/Linux/target_native_math.h: New file. Replaces
34816 the old _int and _float versions.
34817 * native/target/Linux/Makefile.am: Adjusted for the changed
34818 filenames.
34819 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
34820 instead of target_native_math_int.h.
34821 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34822 Likewise.
34823 * native/target/generic/target_generic_file.h: Likewise.
34824
34825 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34826
34827 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
34828
34829 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34830
34831 * javax/swing/text/SimpleAttributeSet.java
34832 (SimpleAttributeSet()): Initialise storage directly,
34833 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
34834 NullPointerException,
34835 (containsAttribute): If key is found locally, don't check resolving
34836 parent if the value doesn't match,
34837 (getAttribute): Removed redundant instanceof and cast.
34838
34839 2006-01-16 Gary Benson <gbenson@redhat.com>
34840
34841 * java/lang/System.java (setSecurityManager): Ensure policy
34842 files are loaded before a security manager is put in place.
34843
34844 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34845
34846 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
34847
34848 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
34849
34850 * javax/print/attribute/standard/MediaSize.java:
34851 (static_initializer): Added comment.
34852 (MediaSize): Added javadoc to mention cache registration.
34853 (MediaSize): Likewise.
34854 (MediaSize): Likewise.
34855 (MediaSize): Likewise.
34856
34857 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
34858
34859 PR classpath/25202
34860 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
34861 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
34862 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
34863 * javax/security/auth/login/AppConfigurationEntry.java: Updated
34864 copyright year.
34865 (toString): Added method implementation.
34866 (LoginModuleControlFlag.toString): Removed class name from result.
34867 * javax/security/auth/login/Configuration.java: Updated copyright year.
34868 (getConfig(): replaced calls to NullConfiguration with
34869 GnuConfiguration.
34870
34871 2006-01-15 Tom Tromey <tromey@redhat.com>
34872
34873 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
34874 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
34875 * java/beans/PersistenceDelegate.java (initialize): Genericized.
34876 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
34877 (setPersistenceDelegate): Likewise.
34878
34879 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
34880
34881 * javax/print/attribute/standard/PrinterStateReasons.java:
34882 (printerStateReasonSet): Genericize the return type.
34883
34884 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34885
34886 * javax/swing/table/DefaultTableCellRenderer.java
34887 (getTableCellRendererComponent): Render null as the empty cell.
34888
34889 2006-01-14 Anthony Green <green@redhat.com>
34890
34891 * java/net/ServerSocket.java (accept): Remove bogus
34892 security check.
34893 (implAccept): Add FIXME comment.
34894
34895 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
34896
34897 Fixes bug #25387
34898 * javax/print/Doc.java: Added and enhanced documentation.
34899 * javax/print/SimpleDoc.java: New file.
34900
34901 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
34902
34903 * javax/print/attribute/standard/MediaSize.java:
34904 (Other.TABLOID): New MediaSize added in 1.5
34905
34906 2006-01-14 Chris Burdess <dog@gnu.org>
34907
34908 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
34909 correctly when I/O and runtime exceptions occur during parsing.
34910
34911 2006-01-13 Roman Kennke <kennke@aicas.com>
34912
34913 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
34914 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
34915 * gnu/java/awt/peer/swing/SwingComponent.java,
34916 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
34917 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
34918 * gnu/java/awt/peer/swing/SwingFramePeer.java,
34919 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
34920 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
34921 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
34922 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
34923 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
34924 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
34925 * gnu/java/awt/peer/swing/SwingToolkit.java,
34926 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
34927 * gnu/java/awt/peer/swing/package.html:
34928 New files. Implemented some basic AWT peers based on Swing.
34929
34930 2006-01-13 Roman Kennke <kennke@aicas.com>
34931
34932 * java/awt/peer/ComponentPeer.java: Added API docs all over.
34933
34934 2006-01-13 Roman Kennke <kennke@aicas.com>
34935
34936 * java/awt/MenuComponent.java: Reformatted to better match our
34937 coding style.
34938
34939 2006-01-13 Roman Kennke <kennke@aicas.com>
34940
34941 * java/awt/Frame.java: Reformatted to better match our
34942 coding style.
34943
34944 2006-01-13 Roman Kennke <kennke@aicas.com>
34945
34946 * java/awt/MenuBar.java
34947 (accessibleContext): Removed unnecessary field. This is already
34948 defined in MenuComponent.
34949 (setHelpMenu): Renamed the peer variable to myPeer because it was
34950 hiding a field of MenuComponent.
34951 (addNotify): Removed unnecessary cast.
34952
34953 2006-01-13 Roman Kennke <kennke@aicas.com>
34954
34955 * java/awt/MenuBar.java: Reformatted to better match our
34956 coding style.
34957
34958 2006-01-13 Roman Kennke <kennke@aicas.com>
34959
34960 * java/awt/MenuBar.java
34961 (frame): New field.
34962 (removeNotify): Clear frame field when beeing removed from the
34963 frame.
34964 * java/awt/Frame.java
34965 (setMenuBar): Store a reference of the frame in the MenuBar.
34966 * java/awt/MenuComponent.java
34967 (postEvent): Implemented to forward the call to the parent until
34968 a parent can handle the event.
34969 (dispatchEvent): Moved handling of old style events from
34970 dispatchEventImpl() to here.
34971 (dispatchEventImpl): Moved handling of old style events to
34972 dispatchEvent().
34973
34974 2006-01-13 Roman Kennke <kennke@aicas.com>
34975
34976 * java/awt/Component.java
34977 (dispatchEvent): Moved handling of old style events from
34978 dispatchEventImpl() to this method.
34979 (translateEvent): Removed unnecessary cast.
34980 (dispatchEventImpl): Moved handling of old style events to
34981 dispatchEvent().
34982
34983 2006-01-13 Lillian Angel <langel@redhat.com>
34984
34985 * javax/swing/text/DefaultStyledDocument.java
34986 (createDefaultRoot): Removed FIXME.
34987 (setLogicalStyle): Added fireUndoableEditUpdate call and
34988 removed FIXME.
34989
34990 2006-01-13 Lillian Angel <langel@redhat.com>
34991
34992 * javax/swing/text/DefaultStyledDocument.java
34993 (Edit): New inner class.
34994 (changeUpdate): Changed addEdit call to add a new
34995 instance of Edit to the edits Vector, so addEdits can
34996 be done later.
34997 (split): Likewise.
34998 (insertParagraph): Likewise.
34999 (insertFracture): Likewise.
35000 (insertContentTag): Likewise.
35001 (insert): Added loop to go through edits Vector and perform
35002 addEdit on each object.
35003
35004 2006-01-13 Chris Burdess <dog@gnu.org>
35005
35006 * gnu/xml/transform/AbstractNumberNode.java,
35007 gnu/xml/transform/ApplyImportsNode.java,
35008 gnu/xml/transform/ApplyTemplatesNode.java,
35009 gnu/xml/transform/AttributeNode.java,
35010 gnu/xml/transform/CallTemplateNode.java,
35011 gnu/xml/transform/ChooseNode.java,
35012 gnu/xml/transform/CommentNode.java,
35013 gnu/xml/transform/CopyNode.java,
35014 gnu/xml/transform/CopyOfNode.java,
35015 gnu/xml/transform/DocumentFunction.java,
35016 gnu/xml/transform/ElementNode.java,
35017 gnu/xml/transform/ForEachNode.java,
35018 gnu/xml/transform/IfNode.java,
35019 gnu/xml/transform/LiteralNode.java,
35020 gnu/xml/transform/MessageNode.java,
35021 gnu/xml/transform/OtherwiseNode.java,
35022 gnu/xml/transform/ParameterNode.java,
35023 gnu/xml/transform/ProcessingInstructionNode.java,
35024 gnu/xml/transform/Stylesheet.java,
35025 gnu/xml/transform/Template.java,
35026 gnu/xml/transform/TemplateNode.java,
35027 gnu/xml/transform/TextNode.java,
35028 gnu/xml/transform/TransformerImpl.java,
35029 gnu/xml/transform/ValueOfNode.java,
35030 gnu/xml/transform/WhenNode.java,
35031 gnu/xml/xpath/NodeTypeTest.java,
35032 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35033 with-param parameters when template does not define parameters; apply
35034 conflict resolution for templates; strip whitespace on documents
35035 retrieved via document() function; allow node() to match document
35036 nodes.
35037
35038 2006-01-13 Mark Wielaard <mark@klomp.org>
35039
35040 * doc/www.gnu.org/announce/20060113.wml: New file.
35041 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35042 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35043
35044 2006-01-13 Lillian Angel <langel@redhat.com>
35045
35046 * javax/swing/text/DefaultStyledDocument.java:
35047 Removed unused fields.
35048 (insert): Removed unused fields.
35049 (endEdit): Removed, not needed.
35050 (insertUpdate): Removed call to endEdit.
35051 (prepareContentInsertion): Removed, not needed.
35052 (insertContentTag): Removed call to prepareContentInsertion.
35053 (printElements): Removed, not needed.
35054 (attributeSetsAreSame): Removed, not needed.
35055
35056 2005-01-13 Mark Wielaard <mark@klomp.org>
35057
35058 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35059 Duplicate of toString(int, StringBuilder).
35060
35061 2005-01-13 Mark Wielaard <mark@klomp.org>
35062
35063 * configure.ac: Set version to 0.20.
35064 * NEWS: Add entries for all the new work done.
35065
35066 2005-01-13 Mark Wielaard <mark@klomp.org>
35067
35068 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35069
35070 2005-01-13 Mark Wielaard <mark@klomp.org>
35071
35072 * java/util/regex/Pattern.java (Pattern): Chain REException.
35073
35074 2006-01-13 Chris Burdess <dog@gnu.org>
35075
35076 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35077
35078 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35079
35080 * java/security/Security.java
35081 (getProperty): Added hack to skip security check when trusted
35082 code is direct caller.
35083
35084 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35085
35086 * java/io/PrintStream.java
35087 (line_separator, PrintStream(OutputStream,boolean)): Use
35088 SystemProperties.
35089
35090 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35091
35092 * gnu/java/nio/charset/Provider.java: Added comment about its
35093 special relation with CharsetProvider.
35094 (static): Removed.
35095 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35096 its special relation with CharsetProvider.
35097 (static): Removed.
35098 * java/nio/charset/spi/CharsetProvider.java
35099 (CharsetProvider): Add special case to skip security check for
35100 built in providers.
35101
35102 2005-01-13 Mark Wielaard <mark@klomp.org>
35103
35104 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35105 name, accel, mnemonic and command are defined before setting.
35106
35107 2005-01-12 Mark Wielaard <mark@klomp.org>
35108
35109 * javax/swing/plaf/metal/MetalFileChooserUI.java
35110 (FileRenderer.getListCellRendererComponent): Set empty name and null
35111 icon when File is null.
35112
35113 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35114
35115 * gnu/java/rmi/server/UnicastRef.java (newCall):
35116 Throw ConnectException after catching IOException.
35117
35118 2006-01-12 Lillian Angel <langel@redhat.com>
35119
35120 * javax/swing/text/DefaultStyledDocument.java
35121 (insertUpdate): Removed unneeded check.
35122
35123 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35124
35125 * javax/swing/text/DefaultStyledDocument.java:
35126 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35127 and we haven't come immediately after a fracture, adjust the Element
35128 offsets. Added comment explaining the situation.
35129 (insert): Return early if no ElementSpecs passed in. Removed redundant
35130 call to insertUpdate. Fired the UndoableEditUpdate.
35131
35132 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35133
35134 Fixes bug #22802
35135 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35136 character classes within a subexpression.
35137
35138 2006-12-12 Lillian Angel <langel@redhat.com>
35139
35140 * javax/swing/text/DefaultStyledDocument.java
35141 (insertUpdate): Added check to check if attribute set is
35142 empty.
35143 (insertUpdate): Added check to determine if last character
35144 is a newline. If it is, we should not be fracturing.
35145 (insert): Added check to determine if attribute set is empty.
35146 If it is, insertUpdate should not be called.
35147
35148 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35149
35150 * configure.ac: Check for isnan.
35151
35152 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35153 define the macro.
35154
35155 2006-01-12 Chris Burdess <dog@gnu.org>
35156
35157 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35158 1.1 character ranges.
35159
35160 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35161
35162 * javax/swing/TransferHandler.java:
35163 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35164 gnu/testlet/javax/swing/JTextField/CopyPaste.
35165
35166 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35167
35168 * resource/Makefile.am: Install
35169 logging.properties into $(prefix)/lib.
35170 * resource/Makefile.am (securitydir): Changed to
35171 $(prefix)/lib/security.
35172
35173 2006-01-12 Roman Kennke <kennke@aicas.com>
35174
35175 * javax/swing/JTextField.java
35176 (createDefaultModel): Moved installation of the filterNewlines
35177 property to setDocument().
35178 (setDocument): New method. Installs the filterNewlines property
35179 on the document.
35180
35181 2006-01-12 Chris Burdess <dog@gnu.org>
35182
35183 * gnu/xml/dom/DomNode.java,
35184 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35185 output.
35186 * gnu/xml/xpath/NameTest.java,
35187 gnu/xml/xpath/NamespaceTest.java,
35188 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35189 navigation.
35190 * gnu/xml/transform/MessageNode.java: Use standard logging system
35191 for outputting messages.
35192
35193 2006-01-12 Tom Tromey <tromey@redhat.com>
35194
35195 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35196 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35197 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35198 (static initializer): Removed cache code.
35199 (checkCacheFor, addToCache): Removed.
35200 (getAllByName): Removed cache code.
35201 (lookup_time): Removed.
35202 (InetAddress): Updated.
35203
35204 2006-01-12 Chris Burdess <dog@gnu.org>
35205
35206 * gnu/xml/dom/DomDocument.java,
35207 gnu/xml/dom/DomElement.java,
35208 gnu/xml/dom/DomNode.java,
35209 gnu/xml/stream/XMLParser.java,
35210 gnu/xml/transform/Bindings.java,
35211 gnu/xml/transform/ElementAvailableFunction.java,
35212 gnu/xml/transform/ElementNode.java,
35213 gnu/xml/transform/FunctionAvailableFunction.java,
35214 gnu/xml/transform/NamespaceProxy.java,
35215 gnu/xml/transform/StreamSerializer.java,
35216 gnu/xml/transform/Stylesheet.java,
35217 gnu/xml/transform/TransformerImpl.java,
35218 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35219 document and element nodes; correct coalescing semantics when parsing;
35220 attribute-sets can only refer to top-level variables and parameters;
35221 fix namespace retrieval during element-available and
35222 function-available functions; implement xsl:fallback for extension
35223 elements; tokenize whitespace correctly during whitespace stripping;
35224 correct following and previous node axes selectors.
35225
35226 2006-01-12 Roman Kennke <kennke@aicas.com>
35227
35228 * java/util/Hashtable.java
35229 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35230 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35231
35232 2006-01-12 Lillian Angel <langel@redhat.com>
35233
35234 * javax/swing/text/GapContent.java
35235 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35236
35237 2006-01-12 Mark Wielaard <mark@klomp.org>
35238
35239 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35240 Throw UnknowHostException when name could not be resolved.
35241
35242 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35243
35244 * java/net/URL.java
35245 (static, getURLStreamHandler): Use SystemProperties.
35246
35247 2006-01-12 Mark Wielaard <mark@klomp.org>
35248
35249 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35250 Use packet.getLength().
35251 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35252 (nativeReceive): Check whether the receiver wants zero bytes.
35253
35254 2006-01-12 Mark Wielaard <mark@klomp.org>
35255
35256 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35257 other side orderly closed connection.
35258 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35259 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35260 when end of stream reached.
35261
35262 2006-01-12 Mark Wielaard <mark@klomp.org>
35263
35264 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35265 Remove asserts.
35266 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35267 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35268 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35269 * native/jni/java-net/javanet.c: Likewise.
35270
35271 2006-01-12 Mark Wielaard <mark@klomp.org>
35272
35273 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35274 PR classpath/23863.
35275
35276 2006-01-11 Chris Burdess <dog@gnu.org>
35277
35278 * gnu/xml/transform/AttributeNode.java,
35279 gnu/xml/transform/ElementNode.java,
35280 gnu/xml/transform/LiteralNode.java,
35281 gnu/xml/transform/StreamSerializer.java,
35282 gnu/xml/transform/StrippingInstruction.java,
35283 gnu/xml/transform/Stylesheet.java,
35284 gnu/xml/transform/TransformerImpl.java,
35285 gnu/xml/transform/ValueOfNode.java,
35286 gnu/xml/xpath/Expr.java,
35287 gnu/xml/xpath/LocalNameFunction.java,
35288 gnu/xml/xpath/NameFunction.java,
35289 gnu/xml/xpath/NameTest.java,
35290 gnu/xml/xpath/NamespaceUriFunction.java,
35291 gnu/xml/xpath/NodeTypeTest.java,
35292 gnu/xml/xpath/SubstringFunction.java,
35293 javax/xml/namespace/QName.java: don't determine element namespace
35294 from namespace aliases when specified; better namespace handling
35295 when serializing elements; don't create HTML meta element unless
35296 head element exists; correct encoding of CDATA sections containing
35297 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35298 default encoding for HTML output; rewrite of XSLT
35299 strip-space/preserve-space handling; correct doctype-public and
35300 doctype-system output attributes; insert generated doctype before
35301 document element; fixed result tree whitespace stripping
35302 algorithm; fixed semantics of XPath name, local-name, and
35303 namespace-uri functions; name tests handle XML/XMLNS namespaces
35304 correctly; fixed semantics of processing-instruction node test.
35305 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35306 aid debugging.
35307
35308 2006-01-11 Lillian Angel <langel@redhat.com>
35309
35310 * javax/swing/text/DefaultStyledDocument.java
35311 (insertFracture): Added calls to addEdit for each time a structure
35312 is changed. addEdit is called on the newBranch, previous, and parent
35313 structures.
35314
35315 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35316
35317 * javax/swing/text/DefaultStyledDocument.java:
35318 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35319 This will have been taken care of in insertFracture. Added a comment
35320 explaining that we need to add edits to the DocumentEvent and that
35321 this may be the place to do it.
35322
35323 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35324
35325 * javax/swing/text/DefaultStyledDocument.java:
35326 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35327 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35328 elementStack when there is a start tag with JoinNextDirection.
35329
35330 2006-01-11 Roman Kennke <kennke@aicas.com>
35331
35332 Reported by: Fridjof Siebert <siebert@aicas.com>
35333 * java/util/Hashtable.java
35334 (KEYS): Removed unneeded field.
35335 (VALUES): Removed unneeded field.
35336 (ENTRIES): Removed unneeded field.
35337 (keys): Return a KeyEnumerator instance.
35338 (elements): Returns a ValueEnumerator instance.
35339 (toString): Use an EntryIterator instance.
35340 (keySet): Return a KeyIterator instance.
35341 (values): Return a ValueIterator instance.
35342 (entrySet): Return an EntryIterator instance.
35343 (hashCode): Use EntryIterator instance.
35344 (rehash): Changed this loop to avoid redundant reads and make
35345 it obvious that null checking is not needed.
35346 (writeObject): Use EntryIterator instance.
35347 (HashIterator): Removed class.
35348 (Enumerator): Removed class.
35349 (EntryIterator): New class.
35350 (KeyIterator): New class.
35351 (ValueIterator): New class.
35352 (EntryEnumerator): New class.
35353 (KeyEnumerator): New class.
35354 (ValueEnumerator): New class.
35355
35356 2006-01-11 Lillian Angel <langel@redhat.com>
35357
35358 * javax/swing/text/DefaultStyledDocument.java
35359 (toString): Shouldn't append the '>' character here.
35360 (createDefaultRoot): Should not set the resolve parent. This
35361 causes problems when comparing attribute sets.
35362
35363 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35364
35365 * javax/swing/text/DefaultStyledDocument.java:
35366 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35367 end tags.
35368 (ElementBuffer.insertFracture): New method.
35369 (ElementBuffer.insertContentTag): Removed unnecessary case for
35370 JoinFractureDirection - this only applies to start tags, not content
35371 tags.
35372 (insertUpdate): Corrected conditions for setting direction to
35373 JoinNextDirection.
35374
35375 2006-01-10 Roman Kennke <kennke@aicas.com>
35376
35377 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35378 * ChangeLog-2005: New File.
35379
35380 2006-01-10 Roman Kennke <kennke@aicas.com>
35381
35382 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35383 (get): Release the array with the correct pointer.
35384 (put): Release the array with the correct pointer. Copy the array
35385 around _before_ releasing it.
35386
35387 2006-01-10 Roman Kennke <kennke@aicas.com>
35388
35389 * javax/swing/ViewportLayout.java
35390 (layoutContainer): Fixed condition, to avoid ClasscastException.
35391
35392 2006-01-10 Roman Kennke <kennke@aicas.com>
35393
35394 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35395 (MouseHandler.mousePressed): Fixed indendation.
35396 (MouseHandler.mouseDragged): Fixed indendation.
35397
35398 2006-01-10 Roman Kennke <kennke@aicas.com>
35399
35400 * javax/swing/plaf/basic/BasicLookAndFeel.java
35401 (playSound): Added @since 1.4 to the API docs.
35402
35403 2006-01-10 Roman Kennke <kennke@aicas.com>
35404
35405 * javax/swing/plaf/basic/BasicListUI.java
35406 (maybeUpdateLayoutState): Also update the layout state, if the
35407 list has been invalidated since the last update.
35408
35409 2006-01-10 Roman Kennke <kennke@aicas.com>
35410
35411 * javax/swing/plaf/ComponentUI.java
35412 (update): Fixed indendation.
35413
35414 2006-01-10 Roman Kennke <kennke@aicas.com>
35415
35416 * javax/swing/ViewportLayout.java
35417 (layoutContainer): Fixed condition, so that Scrollable components
35418 are always forced to have to Viewport size, when they
35419 return true for getScrollableTracksViewportHeight() and ..Width().
35420
35421 2006-01-10 Roman Kennke <kennke@aicas.com>
35422
35423 * javax/swing/RepaintManager.java
35424 (validateInvalidComponents): Fixed condition to avoid NPE.
35425
35426 2006-01-10 Roman Kennke <kennke@aicas.com>
35427
35428 * javax/swing/JViewport.java:
35429 (static_initializer): Removed unused variable myScrollMode.
35430
35431 2006-01-10 Roman Kennke <kennke@aicas.com>
35432
35433 * javax/swing/JTabbedPane.java:
35434 Cleared API docs a little.
35435
35436 2006-01-10 Roman Kennke <kennke@aicas.com>
35437
35438 * java/util/StringTokenizer.java
35439 (StringTokenizer(String, String, boolean)):
35440 Don't trigger NPE here for conformance with the spec.
35441
35442 2006-01-10 Roman Kennke <kennke@aicas.com>
35443
35444 * java/util/ArrayList.java
35445 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35446
35447 2006-01-10 Roman Kennke <kennke@aicas.com>
35448
35449 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35450 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35451 field to avoid NPE.
35452
35453 2006-01-10 Roman Kennke <kennke@aicas.com>
35454
35455 * native/jni/java-net/javanet.c
35456 (_javanet_shutdownOutput): Replaced strerror() with
35457 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35458 (_javanet_shutdownInput): Replaced strerror() with
35459 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35460
35461 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35462
35463 * java/beans/EventSetDescriptor.java: Reformatted and
35464 fixed API docs.
35465
35466 2006-01-10 Roman Kennke <kennke@aicas.com>
35467
35468 * java/lang/SecurityManager.java
35469 Fully qualified AWT class references in API docs.
35470
35471 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35472
35473 * java/beans/EventSetDescriptor.java:
35474 (getGetListenerMethod): New method.
35475
35476 2006-01-10 Mark Wielaard <mark@klomp.org>
35477
35478 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35479
35480 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35481
35482 PR classpath/25727
35483 * java/util/Hashtable.java
35484 (contains): Call equals on existing value.
35485 (containsKey, get, put, remove): Call equals on existing key.
35486 (getEntry): Call equals on existing entry.
35487
35488 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35489
35490 PR classpath/24618
35491 * java/util/AbstractMap.java
35492 (equals(Object,Object)): Test for identity first.
35493 * java/util/WeakHashMap.java
35494 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35495 (WeakBucket.WeakEntry.toString): Fixed string representation of
35496 null key.
35497 (internalGet): Use helper method to determine equality.
35498
35499 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35500
35501 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35502 constructors.
35503
35504 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35505
35506 * javax/swing/text/PlainDocument.java:
35507 (insertUpdate): Handle special case of an insertion immediately
35508 following a newline character.
35509
35510 2006-01-09 Roman Kennke <kennke@aicas.com>
35511
35512 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35513 (connect): Added stream parameter to _connect() call.
35514 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35515 (connect): Added stream parameter to _connect() call.
35516 * native/jni/java-net/javanet.c
35517 (_javanet_create_localfd): Added stream parameter. Look up
35518 fd field based on the stream parameter either in SocketImpl or
35519 in DatagramSocketImpl.
35520 (_javanet_connect): Added stream parameter. Call create_localfd
35521 using this stream parameter. Set localPort field either in
35522 SocketImpl or in DatagramSocketImpl, depending on the stream
35523 flag.
35524 * native/jni/java-net/javanet.c
35525 (_javanet_connect): Added stream parameter.
35526
35527 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35528
35529 * javax.management.Attribute.java: Grammar and
35530 formatting fixes.
35531
35532 2006-01-09 Mark Wielaard <mark@klomp.org>
35533
35534 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35535 exception when channel is not readable or writable.
35536 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35537 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35538 there is enough space to mmap().
35539
35540 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35541
35542 * java/beans/Introspector.java:
35543 (getBeanInfo(Class, int)): New method.
35544 (getBeanInfo(Class, Class): Moved common code in a new method.
35545 (merge): New method.
35546
35547 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35548
35549 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35550
35551 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35552
35553 * javax/swing/text/DefaultStyledDocument.java:
35554 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35555 inlined this method because it needs to change the value of the
35556 finalStartTag and finalStartDirection variables.
35557 (checkForInsertAfterNewline): Removed this method.
35558 (handleInsertAfterNewline): Added case for making the start tag's
35559 direction JoinNextDirection.
35560
35561 2006-01-09 Lillian Angel <langel@redhat.com>
35562
35563 * javax/swing/plaf/basic/BasicTreeUI.java:
35564 Added new field.
35565 (setRowHeight): Row height is set to the max height of
35566 all the nodes, or 20 as a default value.
35567 (getPathBounds): Cleaned up code.
35568 (getMaxHeight): New helper function that gets the max
35569 height of all the rows.
35570 (getClosestPathForLocation): Fixed to use getMaxHeight.
35571 (updateCachedPreferredSize): Likewise.
35572 (installUI): Shouldn't expand tree on startup.
35573 (getNodeDimensions): Fixed to use getMaxHeight.
35574
35575 2006-01-09 Mark Wielaard <mark@klomp.org>
35576
35577 * javax/swing/JList.java (setSelectedIndex): Clear selection when
35578 argument is negative.
35579
35580 2006-01-08 Mark Wielaard <mark@klomp.org>
35581
35582 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35583
35584 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35585
35586 * javax.management.Attribute.java: New file.
35587
35588 2006-01-09 Roman Kennke <kennke@aicas.com>
35589
35590 * java/net/DatagramSocketImpl.java
35591 (localPort): Renamed to localport for correct access from native
35592 code.
35593
35594 2006-01-09 Roman Kennke <kennke@aicas.com>
35595
35596 * javax/swing/Popup.java
35597 (LightweightPopup.hide): Repaint the layered pane when popup is
35598 removed.
35599
35600 2006-01-09 Roman Kennke <kennke@aicas.com>
35601
35602 * java/awt/Container.java
35603 (remove): Don't repaint the container here.
35604
35605 2006-01-08 Tom Tromey <tromey@redhat.com>
35606
35607 * java/lang/InheritableThreadLocal.java: Organized imports.
35608
35609 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
35610
35611 Fixes bug #25679
35612 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35613 when an empty string matched an empty token.
35614
35615 2006-01-08 Chris Burdess <dog@gnu.org>
35616
35617 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35618 content models from external entities.
35619 * gnu/xml/stream/UnicodeReader.java: Report error instead of
35620 attempting to continue with unpaired surrogates.
35621 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35622 resolving entities with character entity references; better
35623 checking of valid character ranges; don't report an error for URI
35624 fragments in notation declarations; check unbound namespace
35625 prefixes for elements and attributes, including XML 1.1 unbinding
35626 syntax; namespace-aware checking of attribute duplicates.
35627
35628 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
35629
35630 * java/beans/Statement.java: Doc fixes.
35631 (doExecute): Workaround for Class.forName call.
35632 (toString): Made output look more like on the JDK.
35633 * java/beans/Expression.java: Doc fixes.
35634 (toString): Made output look more like on the JDK.
35635 * java/beans/PersistenceDelegate.java,
35636 java/beans/DefaultPersistenceDelegate.java,
35637 java/beans/Encoder.java,
35638 java/beans/XMLEncoder.java: New file.
35639 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
35640 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
35641 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
35642 gnu/java/beans/encoder/Context.java,
35643 gnu/java/beans/encoder/GenericScannerState.java,
35644 gnu/java/beans/encoder/IgnoringScannerState.java,
35645 gnu/java/beans/encoder/MapPersistenceDelegate.java,
35646 gnu/java/beans/encoder/ObjectId.java,
35647 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
35648 gnu/java/beans/encoder/ReportingScannerState.java,
35649 gnu/java/beans/encoder/Root.java,
35650 gnu/java/beans/encoder/ScanEngine.java,
35651 gnu/java/beans/encoder/ScannerState.java,
35652 gnu/java/beans/encoder/StAXWriter.java,
35653 gnu/java/beans/encoder/Writer.java: New file.
35654 * gnu/java/beans/encoder/elements/Array_Get.java,
35655 gnu/java/beans/encoder/elements/Element.java,
35656 gnu/java/beans/encoder/elements/List_Set.java,
35657 gnu/java/beans/encoder/elements/Array_Set.java,
35658 gnu/java/beans/encoder/elements/NullObject.java,
35659 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
35660 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
35661 gnu/java/beans/encoder/elements/StringReference.java,
35662 gnu/java/beans/encoder/elements/ClassResolution.java,
35663 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
35664 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
35665 gnu/java/beans/encoder/elements/ObjectReference.java,
35666 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
35667 gnu/java/beans/encoder/elements/List_Get.java,
35668 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
35669
35670 2006-01-08 Chris Burdess <dog@gnu.org>
35671
35672 * java/lang/Character.java (toChars,toCodePoint): Correct these
35673 methods to use algorithms from Unicode specification.
35674
35675 2006-01-08 Mark Wielaard <mark@klomp.org>
35676
35677 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
35678
35679 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
35680
35681 Fixes bug #25711
35682 * examples/Makefile.am: Corrected DESTDIR install paths.
35683
35684 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35685
35686 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
35687 ASCII character (line 46).
35688
35689 2006-01-07 Roman Kennke <kennke@aicas.com>
35690
35691 * javax/swing/text/TableView.java: New file.
35692
35693 2006-01-07 Chris Burdess <dog@gnu.org>
35694
35695 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
35696 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
35697 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
35698 available; correct handling of unparsed entity references;
35699 absolutize all base URIs; remove commented out code.
35700
35701 2006-01-07 Chris Burdess <dog@gnu.org>
35702
35703 * gnu/xml/stream/SAXParser.java,
35704 gnu/xml/stream/XMLParser.java: Add SAX property to return base
35705 URI of the current event.
35706
35707 2006-01-07 Chris Burdess <dog@gnu.org>
35708
35709 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
35710 aware processing.
35711
35712 2006-01-07 Chris Burdess <dog@gnu.org>
35713
35714 * gnu/xml/stream/SAXParser.java,
35715 gnu/xml/stream/XIncludeFilter.java,
35716 gnu/xml/stream/XMLParser.java: Updated documentation.
35717
35718 2006-01-07 Chris Burdess <dog@gnu.org>
35719
35720 * AUTHORS: add self.
35721
35722 2006-01-06 Casey Marshall <csm@gnu.org>
35723
35724 * AUTHORS: add myself.
35725
35726 2006-01-06 Casey Marshall <csm@gnu.org>
35727
35728 PR classpath/25699
35729 * javax/crypto/CipherInputStream.java (logger): new constant.
35730 (cipher): make final.
35731 (outLength, inBuffer, inLength): removed.
35732 (isStream): make final.
35733 (VIRGIN, LIVING, DYING, DEAD, state): removed.
35734 (eof): new field.
35735 (<init>): call `super,' not `this;' remove `inBuffer' and
35736 `outBuffer' initialization; init `eof;' add debug logging.
35737 (<init>): call `this' with a new null cipher.
35738 (available): fix javadoc to reflect the real semantics; if we
35739 don't have a buffer, call `nextBlock.'
35740 (close): synchronize.
35741 (read): synchronize; fix testing for buffered data.
35742 (read): synchronize; add `skip' semantics if first argument is
35743 `null;' decrypt stream cipher data only if there is any; fix tests
35744 for buffered data.
35745 (skip): stop using `available' to see how many data are buffered.
35746 (nextBlock): simplify to use cipher-allocated output buffers
35747 instead of internally allocated ones.
35748
35749 2006-01-06 Tom Tromey <tromey@redhat.com>
35750
35751 * java/lang/String.java (codePointCount): Fixed javadoc.
35752
35753 2006-01-06 Tom Tromey <tromey@redhat.com>
35754
35755 * java/lang/String.java (contains): Added @since.
35756
35757 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
35758
35759 Fixes bug #25616
35760 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
35761 * gnu/regexp/RETokenRepeated.java(match): Break the loop
35762 when an empty string matched an empty token.
35763
35764 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
35765
35766 PR classpath/24858
35767 * gnu/java/util/WeakIdentityHashMap.java: New file.
35768 * java/lang/InheritableThreadLocal.java
35769 (newChildThread): Modified to remove key indirection.
35770 * java/lang/Thread.java
35771 (locals): Changed type to WeakIdentityHashMap.
35772 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
35773 WeakHashMap.
35774 * java/lang/ThreadLocal.java
35775 (key, Key): Removed.
35776 (get, set): Changed to use "this" instead of "key".
35777
35778 2006-01-06 Dalibor Topic <robilad@kaffe.org>
35779
35780 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
35781
35782 * native/fdlibm/java-assert.h: Removed file.
35783
35784 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
35785 Replaced use of JvAssert by assert.
35786
35787 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35788
35789 * javax/swing/text/DefaultCaret.java:
35790 (setDot): Fixed paramater to Math.max to be this.dot and not the
35791 parameter dot.
35792
35793 2006-01-05 Roman Kennke <kennke@aicas.com>
35794
35795 * javax/swing/plaf/basic/BasicListUI.java
35796 (getCellHeight): New helper method.
35797 (getCellBounds): Use new helper method for determining the cell
35798 height.
35799 (paint): Don't call list.indexToLocation() but instead call
35800 directly into the same UI method.
35801 (locationToIndex): Fixed calculation of # visible rows and handling
35802 of cell heights.
35803 (indexToLocation): Fixed calculation of # visible rows and handling
35804 of cell heights.
35805
35806 2006-01-05 Roman Kennke <kennke@aicas.com>
35807
35808 * javax/swing/plaf/metal/MetalFileChooserUI.java
35809 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
35810 in the file chooser.
35811
35812 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35813
35814 * javax/swing/JTextPane.java:
35815 (replaceSelection): If the document is an AbstractDocument, use replace
35816 rather than remove and insert.
35817 * javax/swing/event/EventListenerList.java:
35818 (getListeners): Reversed the order of the listeners to match the
35819 reference implementation.
35820 * javax/swing/text/AbstractDocument.java:
35821 (insertString): Add the UndoableEdit from the content.insertString call
35822 to the DocumentEvent.
35823 (DefaultDocumentEvent.toString): Implemented.
35824 * javax/swing/text/DefaultCaret.java:
35825 (setDot): Make sure dot is > 0 and less than the length of the
35826 document.
35827 * javax/swing/text/DefaultStyledDocument.java:
35828 (ElementBuffer.insertUpdate): Set the modified tag of the document
35829 event when we get start and end tags. This ensures that we create the
35830 proper BranchElements in endEdit().
35831 (ElementBuffer.insertUpdate): Added FIXME to handle
35832 JoinFractureDirection case.
35833 (insertUpdate): Added code to check if we're inserting immediately
35834 after a newline and to handle this case (create start and end tags).
35835 Only change the direction of the first and last tags if they are of
35836 type ContentType.
35837 (checkForInsertAfterNewline): New helper method.
35838 (handleInsertAfterNewline): Likewise.
35839 * javax/swing/text/View.java:
35840 (updateLayout): Avoid NPE by checking if shape is null. Repaint
35841 container.
35842
35843 2006-01-05 Mark Wielaard <mark@klomp.org>
35844
35845 * newsitems.txt: Add fosdem meeting.
35846 * events/events.wml: Likewise.
35847 * events/fosdem06.wml: New file.
35848
35849 2006-01-05 Lillian Angel <langel@redhat.com>
35850
35851 * javax/swing/text/GapContent.java
35852 (createPosition): No positions should be created inside the
35853 gap. Fixed check to ensure this does not happen.
35854
35855 2006-01-05 Roman Kennke <kennke@aicas.com>
35856
35857 * javax/swing/RepaintManager.java
35858 (validateInvalidComponents): Search for the validate root
35859 and start validating there.
35860
35861 2006-01-05 Roman Kennke <kennke@aicas.com>
35862
35863 * javax/swing/plaf/basic/BasicListUI.java
35864 (ComponentHandler): Removed unneeded class.
35865 (ListDataHandler.contentsChanged): Revalidate instead of calling
35866 damageLayout().
35867 (ListDataHandler.intervalAdded): Revalidate instead of calling
35868 damageLayout().
35869 (ListDataHandler.intervalRemoved): Revalidate instead of calling
35870 damageLayout().
35871 (PropertyChangeHandler.propertyChange): Or flags together instead
35872 of adding them. Don't call damageLayout().
35873 (componentListener): Removed unnecessary field.
35874 (damageLayout): Removed unnecessary method.
35875 (installListeners): Don't install unnecessary listeners.
35876 (uninstallListeners): Dito.
35877 (getPreferredSize): Don't ask for the real list height and
35878 calculate with the previously calculated list height.
35879 (locationToIndex): Renamed list parameter to l so that it doesn't
35880 shadow the field with the same name.
35881 (indexToLocation): Renamed list parameter to l so that it doesn't
35882 shadow the field with the same name.
35883
35884 2006-01-04 Tom Tromey <tromey@redhat.com>
35885
35886 * include/.cvsignore: Ignore config-int.h.
35887
35888 2006-01-04 Roman Kennke <kennke@aicas.com>
35889
35890 * javax/swing/plaf/basic/BasicListUI.java
35891 (getPreferredSize): Rewritten to match the specs.
35892
35893 2006-01-04 Roman Kennke <kennke@aicas.com>
35894
35895 * javax/swing/JFileChooser.java
35896 (showOpenDialog): Set fixed width on the dialog.
35897 (showSaveDialog): Set fixed width on the dialog.
35898 (showDialog): Set fixed width on the dialog.
35899
35900 2006-01-04 Roman Kennke <kennke@aicas.com>
35901
35902 * javax/swing/plaf/basic/BasicListUI.java
35903 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
35904 Adjusted iteration to not use visibleRowCount and instead iterate
35905 over the real number of elements in cellHeights.
35906 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
35907 Adjusted iteration to not use visibleRowCount and instead iterate
35908 over the real number of elements in cellHeights.
35909
35910 2006-01-04 Roman Kennke <kennke@aicas.com>
35911
35912 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
35913 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35914 Added __attribute__((__unused__)) macros to avoid gcc warnings.
35915
35916 2006-01-04 Roman Kennke <kennke@aicas.com>
35917
35918 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
35919 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
35920 New VM class.
35921 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
35922 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35923 New file.
35924 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
35925 Removed.
35926 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
35927 * native/jni/java-net/Makefile.am: Adjusted for new source files.
35928 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
35929 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
35930 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
35931 * include/gnu_java_net_PlainSocketImpl.h: Removed.
35932 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
35933 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
35934
35935 2006-01-04 Lillian Angel <langel@redhat.com>
35936
35937 * javax/swing/plaf/metal/MetalFileChooserUI.java
35938 (propertyChange): Fixed to change the combo box label
35939 appropriately. Also, fixed to set the textfield's text
35940 correctly.
35941 (editFile): Fixed size of editing field.
35942 (installComponents): Correctly aligned all panels.
35943 (installStrings): Fixed to set the label's text
35944 appropriately depending on the dialog type.
35945
35946 2006-01-04 Lillian Angel <langel@redhat.com>
35947
35948 PR classpath/25473
35949 PR classpath/25479
35950 * javax/swing/JTree.java
35951 (JTree): Because some L&F defaults have been updated,
35952 the selectionMode for the tree needed to be set to SINGLE.
35953 * javax/swing/plaf/basic/BasicFileChooserUI.java:
35954 Initialized accessoryPanel.
35955 * javax/swing/plaf/metal/MetalFileChooserUI.java
35956 (installComponents): Added accessoryPanel to the filechooser.
35957
35958 2006-01-04 Dalibor Topic <robilad@kaffe.org>
35959
35960 * configure.ac: Added AX_CREATE_STDINT_H
35961
35962 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
35963
35964 * m4/ax_create_stdint_h.m4: New file.
35965
35966 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
35967 typedefs. Removed stdint.h and inttypes.h includes.
35968
35969 2006-01-03 Mark Wielaard <mark@klomp.org>
35970
35971 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
35972 register keyboard action when accelerator is not null.
35973 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
35974 re-register accelerator if not null.
35975 (installKeyboardActions): Only put accelerator in map when not null.
35976
35977 2006-01-04 Lillian Angel <langel@redhat.com>
35978
35979 * javax/swing/plaf/basic/BasicLookAndFeel.java
35980 (initComponentDefaults): Removed unneeded default.
35981 * javax/swing/plaf/metal/MetalLookAndFeel.java
35982 (initComponentDefaults): Added and fixed several defaults.
35983
35984 2006-01-04 Roman Kennke <kennke@aicas.com>
35985
35986 * javax/swing/plaf/basic/BasicHTML.java: New class.
35987
35988 2006-01-03 Tom Tromey <tromey@redhat.com>
35989
35990 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
35991 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
35992
35993 2006-01-03 Mark Wielaard <mark@klomp.org>
35994
35995 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
35996
35997 2006-01-03 Mark Wielaard <mark@klomp.org>
35998
35999 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36000 Always call createDefaultTheme().
36001 (createDefaultTheme): Check whether theme is still null.
36002
36003 2006-01-03 Mark Wielaard <mark@klomp.org>
36004
36005 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36006 Color.WHITE if null.
36007
36008 2006-01-03 Lillian Angel <langel@redhat.com>
36009
36010 * javax/swing/plaf/metal/MetalLookAndFeel.java
36011 (getDescription): Fixed to return the correct string.
36012 (getID): Likewise.
36013 (getName): Likewise.
36014 (getDefaults): Added check to avoid NPE.
36015 (getAcceleratorForeground): Likewise.
36016 (getAcceleratorSelectedForeground): Likewise.
36017 (getBlack): Likewise.
36018 (getControl): Likewise.
36019 (getControlDarkShadow): Likewise.
36020 (getControlDisabled): Likewise.
36021 (getControlHighlight): Likewise.
36022 (getControlInfo): Likewise.
36023 (getControlShadow): Likewise.
36024 (getControlTextColor): Likewise.
36025 (getControlTextFont): Likewise.
36026 (getDesktopColor): Likewise.
36027 (getFocusColor): Likewise.
36028 (getHighlightedTextColor): Likewise.
36029 (getInactiveControlTextColor): Likewise.
36030 (getInactiveSystemTextColor): Likewise.
36031 (getMenuBackground): Likewise.
36032 (getMenuDisabledForeground): Likewise.
36033 (getMenuForeground): Likewise.
36034 (getMenuSelectedBackground): Likewise.
36035 (getMenuSelectedForeground): Likewise.
36036 (getMenuTextFont): Likewise.
36037 (getPrimaryControl): Likewise.
36038 (getPrimaryControlDarkShadow): Likewise.
36039 (getPrimaryControlHighlight): Likewise.
36040 (getPrimaryControlInfo): Likewise.
36041 (getPrimaryControlShadow): Likewise.
36042 (getSeparatorBackground): Likewise.
36043 (getSeparatorForeground): Likewise.
36044 (getSubTextFont): Likewise.
36045 (getSystemTextColor): Likewise.
36046 (getSystemTextFont): Likewise.
36047 (getTextHighlightColor): Likewise.
36048 (getUserTextColor): Likewise.
36049 (getUserTextFont): Likewise.
36050 (getWhite): Likewise.
36051 (getWindowBackground): Likewise.
36052 (getWindowTitleBackground): Likewise.
36053 (getWindowTitleFont): Likewise.
36054 (getWindowTitleForeground): Likewise.
36055 (getWindowTitleInactiveBackground): Likewise.
36056 (getWindowTitleInactiveForeground): Likewise.
36057
36058 2006-01-03 Mark Wielaard <mark@klomp.org>
36059
36060 * javax/swing/JTextArea.java
36061 (JTextArea(Document,text,int,int)): Only call setText() when text is
36062 not null.
36063
36064 2006-01-03 Lillian Angel <langel@redhat.com>
36065
36066 * javax/swing/plaf/basic/BasicFileChooserUI.java
36067 (installStrings): Fixed installation of defaults that
36068 were changed in BasicLookAndFeel.
36069 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36070 (installDefaults): Fixed installation of defaults that
36071 were changed in BasicLookAndFeel.
36072
36073 2006-01-03 Lillian Angel <langel@redhat.com>
36074
36075 * javax/swing/plaf/basic/BasicLookAndFeel.java
36076 (initComponentDefaults): Fixed several defaults that differed
36077 from the JDK.
36078
36079 2006-01-03 Lillian Angel <langel@redhat.com>
36080
36081 * javax/swing/tree/DefaultTreeSelectionModel.java
36082 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36083
36084 2006-01-03 Lillian Angel <langel@redhat.com>
36085
36086 * javax/swing/AbstractAction.java
36087 (AbstractAction): Fixed to pass in null. Should not be
36088 an empty string. Removed TODO comment.
36089 (AbstractAction): Removed TODO comment.
36090 * javax/swing/JList.java
36091 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36092 * javax/swing/JMenuItem.java
36093 (JMenuItem): Set all defaults if the action passed in is not null.
36094 * javax/swing/JProgressBar.java
36095 (JProgressBar): Added check to prevent NPE.
36096
36097 2006-01-03 Lillian Angel <langel@redhat.com>
36098
36099 * javax/swing/plaf/basic/BasicListUI.java
36100 (getPreferredSize): The JDK adds some extra space to
36101 the list, so we should as well.
36102 * javax/swing/plaf/metal/MetalFileChooserUI.java
36103 (getPreferredSize): Should only take the fileListPanel's
36104 width into account when getting the size. Also, the buttonPanel's
36105 size should not be checked, since it is in the bottomPanel already.
36106 (getMinimumSize): Likewise.
36107
36108 2006-01-03 Lillian Angel <langel@redhat.com>
36109
36110 * javax/swing/JList.java
36111 (init): visibleRowCount should be 7, like the JDK.
36112 * javax/swing/plaf/metal/MetalFileChooserUI.java
36113 (installComponents): No need to add the fileFilterCombo
36114 to a panel. It can be added to the row directly.
36115
36116 2006-01-03 Lillian Angel <langel@redhat.com>
36117
36118 PR classpath/25480 PR classpath/25478
36119 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36120 (updateViewport): Made changes suggested by
36121 Chris Lansdown.
36122 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36123 Removed unneeded import.
36124 (createList): Removed comment, JList wrapping
36125 now works.
36126 (getPreferredSize): Made changes suggested by
36127 Chris Lansdown. Uses fileListPanel, instead
36128 of fileList.
36129 (getMinimumSize): Uses fileListPanel, instead
36130 of fileList.
36131 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36132 (paintFocus): Fixed height.
36133
36134 2006-01-03 Roman Kennke <kennke@aicas.com>
36135
36136 * javax/swing/plaf/basic/BasicListUI.java
36137 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36138
36139 2006-01-03 Roman Kennke <kennke@aicas.com>
36140
36141 * javax/swing/plaf/basic/BasicListUI.java
36142 (locationToIndex): Special case for when variable cell heights
36143 are possible. (cellHeights is used instead of cellHeight).
36144 (indexToLocation): Special case for when variable cell heights
36145 are possible. (cellHeights is used instead of cellHeight).
36146
36147 2006-01-03 Roman Kennke <kennke@aicas.com>
36148
36149 * javax/swing/text/DefaultStyledDocument.java
36150 (ElementBuffer.remove): New method.
36151 (ElementBuffer.removeUpdate): New method.
36152 (removeUpdate): New method.
36153
36154 2006-01-03 Roman Kennke <kennke@aicas.com>
36155
36156 * lib/Makefile.am:
36157 (dist-hook): Preserve attributes of Java sources when copying to
36158 dist dir.
36159
36160 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36161
36162 * AUTHORS: Added self.
36163 * java/security/Security.java (getProvider): Ensures provider's name is
36164 not null, not an empty string, and is trimmed before usage.
36165
36166 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36167
36168 * gnu/CORBA/Poa/AOM.java (add):
36169 Changed parameter Object into gnuServantObject.
36170 (Obj.object): Changed type to gnuServantObject.
36171 (findObject): Rewritten.
36172
36173 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36174
36175 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36176 buffering. Ability has gone in Qt-4.1.x.
36177
36178 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36179 to have the right include flags.
36180
36181 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36182
36183 * java/security/MessageDigest.java (getInstance(String,String)):
36184 Use trimmed copy of provider name.
36185 * gnu/java/security/Engine.java
36186 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36187 service and algorithm names.
36188
36189 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36190
36191 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36192 localhost is null or is an empty string. Trim hostname before
36193 lookup.
36194