]>
Commit | Line | Data |
---|---|---|
7969a379 TT |
1 | 2007-01-26 Tom Tromey <tromey@redhat.com> |
2 | ||
3 | * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print | |
4 | 'volatile' after field type. | |
5 | ||
26578e60 MT |
6 | 2007-01-23 Marco Trudel <mtrudel@gmx.ch> |
7 | ||
8 | * java/util/Arrays.java (binarySearch): Change comparison order. | |
9 | ||
7c836e33 TT |
10 | 2007-01-17 Tom Tromey <tromey@redhat.com> |
11 | ||
12 | * tools/gnu/classpath/tools/javah/PathOptionGroup.java | |
13 | (PathOptionGroup): Set default boot class path. | |
14 | ||
97b8365c TT |
15 | 2006-12-14 Andrew Haley <aph@redhat.com> |
16 | ||
17 | * tools/gnu/classpath/tools/jar/Creator.java: Close the | |
18 | inputStream. | |
19 | ||
20 | 2006-10-12 Andrew Haley <aph@redhat.com> | |
21 | ||
22 | * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel. | |
23 | * java/lang/ThreadLocal.java: Likewise. | |
24 | ||
25 | 2006-09-13 Andrew Haley <aph@redhat.com> | |
26 | ||
27 | * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java: | |
28 | Revert previous gcj-specific disabling of checks. | |
29 | * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java: | |
30 | Likewise. | |
31 | * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java: | |
32 | Likewise. | |
33 | ||
34 | 2006-09-13 Andrew Haley <aph@redhat.com> | |
35 | ||
36 | * java/util/PriorityQueue.java: Throw IllegalArgumentException for | |
37 | capacity < 1. | |
38 | (Iterator.remove()): Decrement index after removing element. | |
39 | ||
40 | 2006-12-11 Jeroen Frijters <jeroen@frijters.net> | |
41 | ||
42 | * javax/net/ssl/SSLSocketFactory.java (getDefault): | |
43 | Chain exception cause. | |
44 | ||
45 | 2006-12-11 Roman Kennke <kennke@aicas.com> | |
46 | ||
47 | * .classpath: Include ASM in Eclipse classpath. | |
48 | ||
49 | 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
50 | ||
51 | * gnu/java/lang/management/BeanImpl.java: | |
52 | (translate(String)): Trim strings of whitespace. | |
53 | * javax/management/MBeanAttributeInfo.java: | |
54 | (MBeanAttributeInfo(String,String,Method,Method)): | |
55 | Use Class.getName() for normal (non-parameterized) cases. | |
56 | * javax/management/MBeanConstructorInfo.java: | |
57 | (MBeanConstructorInfo(String, Constructor)): | |
58 | Likewise. | |
59 | * javax/management/MBeanOperationInfo.java: | |
60 | (MBeanOperationInfo(String, Method)): | |
61 | Likewise. | |
62 | ||
63 | 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
64 | ||
65 | * java/lang/Class.java: | |
66 | (getClasses()): Return Class<?>[]. | |
67 | (internalGetClasses()): Likewise. | |
68 | (getConstructor(Class<?>...)): Add type parameter | |
69 | to parameters. | |
70 | (getDeclaredConstructor(Class<?>...)): Likewise. | |
71 | (getDeclaredClasses()): Return Class<?>[]. | |
72 | (getDeclaredClasses(boolean)): Likewise. | |
73 | (getDeclaredConstructors()): Return Constructor<?>[]. | |
74 | (getDeclaredConstructors(boolean)): Likewise. | |
75 | (getDeclaredMethod(String,Class<?>...)): Add type | |
76 | parameter to parameters. | |
77 | (getInterfaces()): Return Class<?>[]. | |
78 | (getMethods(String,Class<?>...)): Add type | |
79 | parameter to parameters. | |
80 | * java/text/CollationKey.java: | |
81 | Make non-final. | |
82 | * java/text/DecimalFormatSymbols.java: | |
83 | Likewise. | |
84 | ||
85 | 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
86 | ||
87 | * gnu/java/lang/management/BeanImpl.java: | |
88 | (translate(String)): Handle Map and List as | |
89 | Strings of the form "java.util.Map<K,V>" and | |
90 | "java.util.List<E>" | |
91 | * javax/management/MBeanAttributeInfo.java: | |
92 | (MBeanAttributeInfo(String,String,Method,Method)): | |
93 | Use generic parameter and return types. | |
94 | * javax/management/MBeanConstructorInfo.java: | |
95 | (MBeanConstructorInfo(String, Constructor)): | |
96 | Use generic parameter types. | |
97 | * javax/management/MBeanOperationInfo.java: | |
98 | (MBeanOperationInfo(String, Method)): | |
99 | Use generic parameter and return types. | |
100 | ||
101 | 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
102 | ||
103 | * gnu/java/lang/management/BeanImpl.java: | |
104 | (translate(String)): Comment out code for using type | |
105 | variables for Map and List. | |
106 | * java/lang/Thread.java: | |
107 | (Thread(ThreadGroup,Runnable,String,long)): Fix | |
108 | incrementation of totalThreadsCreated to be prior to use. | |
109 | ||
110 | 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
111 | ||
112 | * javax/management/MBeanServerFactory.java: | |
113 | (createMBeanServer(String)): Added security check. | |
114 | (findMBeanServer(String)): Likewise. | |
115 | (newMBeanServer(String)): Likewise. | |
116 | (releaseMBeanServer(String)): Likewise. | |
117 | * javax/management/MBeanServerPermission.java: | |
118 | New file. | |
119 | ||
120 | 2006-12-08 David Daney <ddaney@avtrex.com> | |
121 | ||
122 | * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd): | |
123 | Fix comment. | |
124 | ||
125 | 2006-12-08 David Daney <ddaney@avtrex.com> | |
126 | ||
127 | * NEWS: Mention URLConnection.[get|set]ReadTimeout. | |
128 | ||
129 | 2006-12-08 David Daney <ddaney@avtrex.com> | |
130 | ||
131 | * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add | |
132 | SocketException. | |
133 | (HTTPConnection): Handle NumberFormatException in properties parsing. | |
134 | (Pool.get): Set timeout on reused sockets. | |
135 | * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort): | |
136 | Initialize. | |
137 | (HTTPURLConnection): Cleanup properties handling. | |
138 | (getConnection): Use both connection and read timeouts. | |
139 | (setConnectTimeout): Removed. | |
140 | (setReadTimeout): New method. | |
141 | * java/net/URLConnection.java (timeout): Renamed to... | |
142 | (connectTimeout): ... connectTimeout throughout. | |
143 | (readTimeout): New field. | |
144 | (getReadTimeout): New method. | |
145 | (setReadTimeout): New method. | |
146 | ||
147 | 2006-12-08 Tania Bento <tbento@redhat.com> | |
148 | ||
149 | * java/awt/ScrollPane.java | |
150 | (doLayout): Change the location of the scrollpane's child | |
151 | to (0, 0). | |
152 | ||
153 | 2006-12-08 David Daney <ddaney@avtrex.com> | |
154 | ||
155 | * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd): | |
156 | New method. | |
157 | (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw | |
158 | SocketTimeoutException if a blocking socket timesout. | |
159 | (Java_gnu_java_nio_VMChannel_readScattering): Same. | |
160 | (Java_gnu_java_nio_VMChannel_read__I): Same. | |
161 | (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set. | |
162 | (Java_gnu_java_nio_VMChannel_connect6): Same. | |
163 | ||
164 | 2006-12-08 Mark Wielaard <mark@klomp.org> | |
165 | ||
166 | * configure.ac (VERSION): Set to 0.93-generics. | |
167 | * NEWS: Add release date. | |
168 | ||
169 | 2006-12-08 Tania Bento <tbento@redhat.com> | |
170 | ||
171 | * java/awt/ScrollPane.java | |
172 | (getScrollPosition): Throw NullPointerException if scrollpane | |
173 | does have a child. | |
174 | (setScrollPosition(int, int)): Throw NullPointerException if | |
175 | scrollpane does have a child. Check that both ints are within | |
176 | the allowed bounds; If they are not, scroll to the closest allowed | |
177 | bound. | |
178 | ||
179 | 2006-12-07 Roman Kennke <kennke@aicas.com> | |
180 | ||
181 | * javax/swing/JEditorPane.java | |
182 | (EditorKitMapping): New inner helper class. | |
183 | (editorKits): New static field for caching editor kit instances. | |
184 | (static_initiazer): Initialize static mappings here. | |
185 | (createEditorKitForContentType): Try to use cached instance. | |
186 | Use correct classloader for loading. | |
187 | (getEditorKitClassNameForContentType): Make use of EditorKitMapping | |
188 | class. | |
189 | (getEditorKitForContentType): Store the fetched editor kit. | |
190 | Fallback to createDefaultEditorKit(). | |
191 | (init): Don't clean the static registry here. | |
192 | (registerEditorKitForContentType(String,String,ClassLoader)): | |
193 | Implemented. | |
194 | (registerEditorKitForContentType(String,String)): Delegate to | |
195 | the other version of this method with the thread's context | |
196 | classloader. | |
197 | ||
198 | 2006-12-07 Mark Wielaard <mark@klomp.org> | |
199 | ||
200 | * examples/gnu/classpath/examples/swing/HtmlDemo.java | |
201 | (setPage): Don't convert URL to String for setPage(). | |
202 | ||
203 | 2006-12-07 Mark Wielaard <mark@klomp.org> | |
204 | ||
205 | * tools/Makefile.am (clean-local): Remove iasm and asm.lst. | |
206 | ||
207 | 2006-12-07 Mark Wielaard <mark@klomp.org> | |
208 | ||
209 | * tools/Makefile.am: Explicitly define and use bootclasspath as | |
210 | GLIBJ_BOOTCLASSPATH | |
211 | ||
212 | 2006-12-07 Mark Wielaard <mark@klomp.org> | |
213 | ||
214 | * javax/swing/JEditorPane.java (createEditorKitForContentType): | |
215 | Always load from system class loader. | |
216 | ||
217 | 2006-12-07 Mark Wielaard <mark@klomp.org> | |
218 | ||
219 | * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New | |
220 | private constructor. | |
221 | (URL(URL,String,URLStreamHandler)): Call new constructor. | |
222 | (URL(URL,String)): Likewise. | |
223 | (URL(String)): Likewise. | |
224 | ||
225 | 2006-12-07 Tom Tromey <tromey@redhat.com> | |
226 | ||
227 | * NEWS: Mention ASM. | |
228 | * INSTALL: Don't mention --with-asm. | |
229 | * tools/external/README: New file. | |
230 | * tools/toolwrapper.c (main): Don't use ASM_JAR. | |
231 | * tools/gjavah.in: Don't use PATH_TO_ASM. | |
232 | * tools/grmic.in: Likewise. | |
233 | * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added | |
234 | 'asm'. | |
235 | (javah, rmic): Removed variables. | |
236 | (bin_PROGRAMS): Updated. | |
237 | (gappletviewer_CFLAGS): Don't define ASM_JAR. | |
238 | (gjarsigner_CFLAGS): Likewise. | |
239 | (gkeytool_CFLAGS): Likewise. | |
240 | (gjar_CFLAGS): Likewise. | |
241 | (gnative2ascii_CFLAGS): Likewise. | |
242 | (gserialver_CFLAGS): Likewise. | |
243 | (grmiregistry_CFLAGS): Likewise. | |
244 | (gtnameserv_CFLAGS): Likewise. | |
245 | (gorbd_CFLAGS): Likewise. | |
246 | (grmid_CFLAGS): Likewise. | |
247 | (gjavah_CFLAGS): Likewise. | |
248 | (grmic_CFLAGS): Likewise. | |
249 | (bin_SCRIPTS): Updated. | |
250 | (TOOLS_JAVA_FILES): Updated. | |
251 | ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files. | |
252 | * configure.ac: Removed --with-asm. Always build gjavah. | |
253 | ||
254 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
255 | ||
256 | * examples/gnu/classpath/examples/swing/BrowserEditorKit.java: | |
257 | New class. | |
258 | * examples/gnu/classpath/examples/swing/HtmlDemo.java | |
259 | (LoadActionListener): Call setPage() helper method. | |
260 | (createContent): Register tweaked editor kit. For FormSubmitEvents | |
261 | call submitForm(), otherwise setPage(). | |
262 | (postData): Helper method for posting form data. | |
263 | (setPage): Helper method for navigating to a new URL. | |
264 | (submitForm): Helper method for submitting a form. | |
265 | * examples/gnu/classpath/examples/swing/forms.html: | |
266 | Added text/password fields and select boxes. | |
267 | * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo. | |
268 | ||
269 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
270 | ||
271 | * javax/swing/text/html/FormView.java | |
272 | (SubmitThread.postData): Implemented. | |
273 | (SubmitThread.run): Pass data to postData(). | |
274 | (actionPerformed): Reset form when reset button is activated. | |
275 | (createComponent): Add support for select lists and comboboxes. | |
276 | Don't set value of text and password fields here, this is done | |
277 | now in HTMLDocument for consistency. | |
278 | (getElementFormData): Add support for fetching form data from | |
279 | select lists and comboboxes as well as textareas. | |
280 | (getSelectData): New helper method. Fetches form data from | |
281 | select boxes. | |
282 | (getTextAreaData): New helper method. Fetches form data from | |
283 | textareas. | |
284 | (resetForm): New helper method. Resets the entire form. | |
285 | * javax/swing/text/html/HTMLDocument.java | |
286 | (HTMLReader.FormAction.end): Handle SELECT and OPTION tags. | |
287 | (HTMLReader.FormAction.start): Handle SELECT and OPTION tags. | |
288 | (HTMLReader.FormAction.setModel): Initialize text and password | |
289 | values here. Also, use the resetable special models. | |
290 | Group radio buttons into ButtonGroup for exclusive selection. | |
291 | (HTMLReader.FormTagAction): New class. Handles FORM tags. | |
292 | (HTMLReader.buttonGroups): New field. | |
293 | (HTMLReader.numOptions): New field. | |
294 | (HTMLReader.option): New field. | |
295 | (HTMLReader.selectModel): New field. | |
296 | (HTMLReader.textAreaDocument): Make ResetablePlainDocument. | |
297 | (HTMLReader.handleText): Handle OPTION text. | |
298 | (HTMLReader.initTags): Map FORM tags to FormTagAction. | |
299 | (HTMLReader.textAreaContent): Set initial content. | |
300 | * javax/swing/text/html/Option.java | |
301 | (Option): Make copy of attribute set. Initialize selected state. | |
302 | (getValue): Fetch value from attribute set. | |
303 | * javax/swing/text/html/ResetableModel.java: New interface. | |
304 | * javax/swing/text/html/ResetablePlainDocument.java: New class. | |
305 | Supports resetting the state. | |
306 | * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise. | |
307 | * javax/swing/text/html/SelectComboBoxModel.java: Likewise. | |
308 | * javax/swing/text/html/SelectListModel.java: Likewise. | |
309 | ||
310 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
311 | ||
312 | * javax/swing/text/DefaultCaret.java | |
313 | (appear): Adjust visibility here. | |
314 | (setDotImpl): Don't adjust visibility here. | |
315 | (moveDotImpl): Don't adjust visibility here. | |
316 | ||
317 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
318 | ||
319 | * gnu/java/awt/peer/gtk/AsyncImage.java | |
320 | (Loader.run): Synchronize on the AsyncImage to avoid threading | |
321 | issues. | |
322 | (addObservers): Check for obs==null outside and synchronize on | |
323 | this inside to avoid locking issues. | |
324 | (checkImage): New helper method. | |
325 | (notifyObservers): Check that the correct lock is held and | |
326 | remove actual locking. | |
327 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
328 | (checkImage): Added special handling for AsyncImages. | |
329 | ||
330 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
331 | ||
332 | * examples/gnu/classpath/examples/swing/Demo.java | |
333 | (getIcon): Made package private. | |
334 | * examples/gnu/classpath/examples/swing/HtmlDemo.java | |
335 | (hyperlinkUpdate): Convert URL to string. | |
336 | ||
337 | 2006-12-06 Mark Wielaard <mark@klomp.org> | |
338 | ||
339 | * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify | |
340 | null Observer. | |
341 | ||
342 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
343 | ||
344 | * examples/gnu/classpath/examples/icons/back.png, | |
345 | * examples/gnu/classpath/examples/icons/reload.png: | |
346 | New icons for the HTML browser. | |
347 | * examples/gnu/classpath/examples/swing/HtmlDemo.java | |
348 | (history): New field. Manages the browsing history. | |
349 | (HtmlDemo): Initialize history. | |
350 | (createContent): Set location and add history. Add toolbar. | |
351 | (createToolBar): New helper method. | |
352 | (main): Make default size bigger. | |
353 | * examples/gnu/classpath/examples/swing/frame1.html, | |
354 | * examples/gnu/classpath/examples/swing/frame2.html, | |
355 | * examples/gnu/classpath/examples/swing/frame3.html, | |
356 | * examples/gnu/classpath/examples/swing/frame4.html, | |
357 | * examples/gnu/classpath/examples/swing/frames.html, | |
358 | * examples/gnu/classpath/examples/swing/tables.html: | |
359 | New example pages. | |
360 | * examples/gnu/classpath/examples/swing/welcome.html | |
361 | Add a couple of links and new test pages. | |
362 | ||
363 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
364 | ||
365 | * javax/swing/JEditorPane.java | |
366 | (getStream): Buffer the stream for efficiency. | |
367 | (setPage): Don't scroll the view at this point. | |
368 | * javax/swing/plaf/basic/BasicTextUI.java | |
369 | (RootView.paint): Call RootView's setSize to get synchronization. | |
370 | (RootView.setSize): Synchronize to prevent race in layout code. | |
371 | * javax/swing/text/AbstractDocument.java | |
372 | (notifyListeners): New field. | |
373 | (fireChangedUpdate): Track notifyListener field. | |
374 | (fireRemoveUpdate): Track notifyListener field. | |
375 | (fireIndertUpdate): Track notifyListener field. | |
376 | (writeLock): Check notifyListener and throw IllegalStateException. | |
377 | * javax/swing/text/View.java | |
378 | (preferenceChanged): Create local var for better thread safety and | |
379 | more efficiency. | |
380 | ||
381 | 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com> | |
382 | ||
383 | * java/awt/ScrollPane.java (addNotify): Add a parent panel for any | |
384 | lightweight component, not just for non-Panel components. | |
385 | (addImpl): Do not call doLayout. | |
386 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
387 | (setNativeBounds): Ensure widget parent is a GtkFixed before | |
388 | calling gtk_fixed_move. | |
389 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c | |
390 | (setNativeBounds): Likewise. | |
391 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
392 | (setNativeBounds): Likewise. | |
393 | ||
394 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
395 | ||
396 | * javax/swing/text/html/TableView.java | |
397 | (RowView.layoutMajorAxis): Check column index for invalid value. | |
398 | (updateGrid): Check column index for invalid value. | |
399 | ||
400 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
401 | ||
402 | * javax/swing/text/html/BlockView.java | |
403 | (getAlignment): Align blocks horizontally by the superclass. | |
404 | * javax/swing/text/html/HTMLEditorKit.java | |
405 | (HTMLFactory.create): Replace equals comparison by == for efficiency. | |
406 | Add mapping for misplaced tr, td and th tags. Include object mapping. | |
407 | * javax/swing/text/html/TableView.java | |
408 | (RowView.replace): Invalidate grid early. | |
409 | (gridValid): Initialize with false. | |
410 | (create): Only create RowView and CellView for correctly placed | |
411 | tags. Avoid unnecessary casts. | |
412 | (getAlignment): Removed. | |
413 | (replace): Invalidate grid early. | |
414 | ||
415 | 2006-12-06 Francis Kung <fkung@redhat.com> | |
416 | ||
417 | * java/awt/geom/RectangularShape.java | |
418 | (getBounds): Remove empty rectangle check. | |
419 | ||
420 | 2006-12-06 Ben Konrath <bkonrath@redhat.com> | |
421 | ||
422 | Fixes PR 29853. | |
423 | * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and | |
424 | newValue are the same. | |
425 | * gnu/xml/dom/DomNode.java: Set parent if null during mutation. | |
426 | ||
427 | 2006-12-06 Tania Bento <tbento@redhat.com> | |
428 | ||
429 | * javax/swing/border/CompoundBorder.java: | |
430 | (isBorderOpaque): If inside border is null, return true if outside | |
431 | border is opaque, false otherwise; if outside border is null, return | |
432 | true if inside border is opaque, false otherwise; if inside or | |
433 | outside border are both not null, then return true only if both the | |
434 | inside and outside border are opaque, false otherwise. | |
435 | ||
436 | 2006-12-06 Tania Bento <tbento@redhat.com> | |
437 | ||
438 | * javax/swing/border/CompoundBorder.java: | |
439 | (isBorderOpaque): If inside and outside border both have a null | |
440 | value, return true. | |
441 | ||
442 | 2006-12-06 Chris Burdess <dog@gnu.org> | |
443 | ||
444 | Fixes PR 29272. | |
445 | * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc. | |
446 | * gnu/xml/stream/SAXParser.java: Fix file descriptor leak. | |
447 | ||
448 | 2006-12-06 Chris Burdess <dog@gnu.org> | |
449 | ||
450 | Fixes PR 29264. | |
451 | * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in | |
452 | writeDTD method. | |
453 | ||
454 | 2006-12-06 Chris Burdess <dog@gnu.org> | |
455 | ||
456 | Fixes PR 28816. | |
457 | * javax/xml/validation/SchemaFactory.java: Use correct algorithm to | |
458 | discover schema factory implementation class. | |
459 | ||
460 | 2006-12-05 Francis Kung <fkung@redhat.com> | |
461 | ||
462 | * java/awt/BasicStroke.java | |
463 | (capEnd): Prevent division by zero. | |
464 | * java/awt/geom/Arc2D.java | |
465 | (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive. | |
466 | (ArcIterator.currentSegment): Handle a negative extent. | |
467 | ||
468 | 2006-12-05 Francis Kung <fkung@redhat.com> | |
469 | ||
470 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
471 | (constructor): Handle translated subimages properly, ie, if the image's | |
472 | 0,0 position is not the data buffer's first element. | |
473 | ||
474 | 2006-12-05 Roman Kennke <kennke@aicas.com> | |
475 | ||
476 | * gnu/java/awt/peer/gtk/AsyncImage.java | |
477 | (Loader.run): Nullify observers after loading. | |
478 | (observers): Made package private. | |
479 | (addObserver): Check for null observers field. Create local | |
480 | variable for thread safety. | |
481 | (getHeight): Use addObserver() for checking state of field | |
482 | and notifying observer when necessary. | |
483 | (getWidth): Use addObserver() for checking state of field | |
484 | and notifying observer when necessary. | |
485 | (getProperty): Use addObserver() for checking state of field | |
486 | and notifying observer when necessary. | |
487 | (notifyObservers): Check for null observers field. Create local | |
488 | variable for thread safety. | |
489 | ||
490 | 2006-12-05 Roman Kennke <kennke@aicas.com> | |
491 | ||
492 | * javax/swing/text/html/HTMLEditorKit.java | |
493 | (HTMLFactory.create): Removed debug output. | |
494 | * javax/swing/text/html/InlineView.java | |
495 | (getBreakWeight): Likewise. | |
496 | * javax/swing/text/html/StyleSheet.java | |
497 | (addRule): Likewise. | |
498 | (ListPainter.paint): Removed debug output. | |
499 | ||
500 | 2006-12-05 Roman Kennke <kennke@aicas.com> | |
501 | ||
502 | * javax/swing/text/html/BlockView.java | |
503 | (painter): Made package visible. | |
504 | * javax/swing/text/html/StyleSheet.java | |
505 | (translateBorder): New helper method. | |
506 | (translateHTMLToCSS): Add mappings for border attributes. | |
507 | * javax/swing/text/html/TableView.java | |
508 | Made class subclass of BlockView to get CSS goodness. | |
509 | (CellView.rowSpan): New field. | |
510 | (CellView.setPropertiesFromAttributes): Fetch rowspan. | |
511 | (RowView.overlap): New field. | |
512 | (RowView.rowIndex): New field. | |
513 | (RowView.layoutMajorAxis): Skip overlapping cells. | |
514 | (RowView.layoutMinorAxis): Layout cells that span more than 1 row. | |
515 | (numColumns): New field. | |
516 | (tmpRect): New field. | |
517 | (TableView): Initialize tmpRect. | |
518 | (calculateColumnRequirements): Adjusted and fixed for multirows. | |
519 | (getAlignment): Overridden to center tables. | |
520 | (paint): Overridden to fix clipping. | |
521 | (getStyleSheet): Made protected. | |
522 | (layoutMajorAxis): Invalidate rows. | |
523 | (setPropertiesFromAttributes): Made protected and call super. | |
524 | (updateGrid): Update the overlapping information for multirows. | |
525 | ||
526 | 2006-12-05 Roman Kennke <kennke@aicas.com> | |
527 | ||
528 | * gnu/java/awt/peer/gtk/AsyncImage.java | |
529 | (addObserver): Check for null and ignore null observers. | |
530 | (getWidth): Check for null and ignore null observers. | |
531 | (getHeight): Check for null and ignore null observers. | |
532 | (getProperty): Check for null and ignore null observers. | |
533 | ||
534 | 2006-12-05 Francis Kung <fkung@redhat.com> | |
535 | ||
536 | * java/awt/BasicStroke.java | |
537 | (capEnd): Prevent division by zero. | |
538 | * java/awt/geom/Arc2D.java | |
539 | (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive. | |
540 | (ArcIterator.currentSegment): Handle a negative extent. | |
541 | ||
542 | 2006-12-05 Francis Kung <fkung@redhat.com> | |
543 | ||
544 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
545 | (constructor): Handle translated subimages properly, ie, if the image's | |
546 | 0,0 position is not the data buffer's first element. | |
547 | ||
548 | 2006-12-05 Roman Kennke <kennke@aicas.com> | |
549 | ||
550 | * javax/swing/text/html/ImageView.java | |
551 | (imageUpdate): Use spans field to determine if the CSS width/height | |
552 | are set. Call safePreferenceChanged to protect view structure | |
553 | from threading issues. | |
554 | (spans): Made package private. | |
555 | (ImageView): Initialize loadOnDemand with false. | |
556 | (loadImage): Call Toolkit.prepareImage() to make sure we have | |
557 | our Observer registered. | |
558 | (safePreferenceChanged): New helper method. Calls preferenceChanged | |
559 | in a thread safe environment. | |
560 | ||
561 | 2006-12-05 Roman Kennke <kennke@aicas.com> | |
562 | ||
563 | * NEWS: Add entry about improved HTML support. | |
564 | ||
565 | 2006-12-05 Roman Kennke <kennke@aicas.com> | |
566 | ||
567 | * javax/swing/text/html/ImageView.java | |
568 | (ImageView): Initialize spans array here. | |
569 | (setPropertiesFromAttributes): Moved init of spans array to | |
570 | constructor. | |
571 | ||
572 | 2006-12-05 Roman Kennke <kennke@aicas.com> | |
573 | ||
574 | * javax/swing/text/html/BlockView.java | |
575 | (painter): Made package visible. | |
576 | * javax/swing/text/html/StyleSheet.java | |
577 | (translateBorder): New helper method. | |
578 | (translateHTMLToCSS): Add mappings for border attributes. | |
579 | * javax/swing/text/html/TableView.java | |
580 | Made class subclass of BlockView to get CSS goodness. | |
581 | (CellView.rowSpan): New field. | |
582 | (CellView.setPropertiesFromAttributes): Fetch rowspan. | |
583 | (RowView.overlap): New field. | |
584 | (RowView.rowIndex): New field. | |
585 | (RowView.layoutMajorAxis): Skip overlapping cells. | |
586 | (RowView.layoutMinorAxis): Layout cells that span more than 1 row. | |
587 | (numColumns): New field. | |
588 | (tmpRect): New field. | |
589 | (TableView): Initialize tmpRect. | |
590 | (calculateColumnRequirements): Adjusted and fixed for multirows. | |
591 | (getAlignment): Overridden to center tables. | |
592 | (paint): Overridden to fix clipping. | |
593 | (getStyleSheet): Made protected. | |
594 | (layoutMajorAxis): Invalidate rows. | |
595 | (setPropertiesFromAttributes): Made protected and call super. | |
596 | (updateGrid): Update the overlapping information for multirows. | |
597 | ||
598 | 2006-12-05 Roman Kennke <kennke@aicas.com> | |
599 | ||
600 | * javax/swing/text/html/HTMLEditorKit.java | |
601 | (HTMLFactory.create): Removed debug output. | |
602 | * javax/swing/text/html/InlineView.java | |
603 | (getBreakWeight): Likewise. | |
604 | * javax/swing/text/html/StyleSheet.java | |
605 | (addRule): Likewise. | |
606 | (ListPainter.paint): Removed debug output. | |
607 | ||
608 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
609 | ||
610 | * javax/swing/text/html/BlockView.java | |
611 | (getAlignment): Align blocks horizontally by the superclass. | |
612 | * javax/swing/text/html/HTMLEditorKit.java | |
613 | (HTMLFactory.create): Replace equals comparison by == for efficiency. | |
614 | Add mapping for misplaced tr, td and th tags. Include object mapping. | |
615 | * javax/swing/text/html/TableView.java | |
616 | (RowView.replace): Invalidate grid early. | |
617 | (gridValid): Initialize with false. | |
618 | (create): Only create RowView and CellView for correctly placed | |
619 | tags. Avoid unnecessary casts. | |
620 | (getAlignment): Removed. | |
621 | (replace): Invalidate grid early. | |
622 | ||
623 | ||
624 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
625 | ||
626 | * javax/swing/text/html/TableView.java | |
627 | (RowView.layoutMajorAxis): Check column index for invalid value. | |
628 | (updateGrid): Check column index for invalid value. | |
629 | ||
630 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
631 | ||
632 | * javax/swing/JEditorPane.java | |
633 | (getStream): Buffer the stream for efficiency. | |
634 | (setPage): Don't scroll the view at this point. | |
635 | * javax/swing/plaf/basic/BasicTextUI.java | |
636 | (RootView.paint): Call RootView's setSize to get synchronization. | |
637 | (RootView.setSize): Synchronize to prevent race in layout code. | |
638 | * javax/swing/text/AbstractDocument.java | |
639 | (notifyListeners): New field. | |
640 | (fireChangedUpdate): Track notifyListener field. | |
641 | (fireRemoveUpdate): Track notifyListener field. | |
642 | (fireIndertUpdate): Track notifyListener field. | |
643 | (writeLock): Check notifyListener and throw IllegalStateException. | |
644 | * javax/swing/text/View.java | |
645 | (preferenceChanged): Create local var for better thread safety and | |
646 | more efficiency. | |
647 | ||
648 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
649 | ||
650 | * examples/gnu/classpath/examples/icons/back.png, | |
651 | * examples/gnu/classpath/examples/icons/reload.png: | |
652 | New icons for the HTML browser. | |
653 | * examples/gnu/classpath/examples/swing/HtmlDemo.java | |
654 | (history): New field. Manages the browsing history. | |
655 | (HtmlDemo): Initialize history. | |
656 | (createContent): Set location and add history. Add toolbar. | |
657 | (createToolBar): New helper method. | |
658 | (main): Make default size bigger. | |
659 | * examples/gnu/classpath/examples/swing/frame1.html, | |
660 | * examples/gnu/classpath/examples/swing/frame2.html, | |
661 | * examples/gnu/classpath/examples/swing/frame3.html, | |
662 | * examples/gnu/classpath/examples/swing/frame4.html, | |
663 | * examples/gnu/classpath/examples/swing/frames.html, | |
664 | * examples/gnu/classpath/examples/swing/tables.html: | |
665 | New example pages. | |
666 | * examples/gnu/classpath/examples/swing/welcome.html | |
667 | Add a couple of links and new test pages. | |
668 | ||
669 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
670 | ||
671 | * examples/gnu/classpath/examples/swing/Demo.java | |
672 | (getIcon): Made package private. | |
673 | * examples/gnu/classpath/examples/swing/HtmlDemo.java | |
674 | (hyperlinkUpdate): Convert URL to string. | |
675 | ||
676 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
677 | ||
678 | * javax/swing/text/DefaultCaret.java | |
679 | (appear): Adjust visibility here. | |
680 | (setDotImpl): Don't adjust visibility here. | |
681 | (moveDotImpl): Don't adjust visibility here. | |
682 | ||
683 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
684 | ||
685 | * javax/swing/text/html/FormView.java | |
686 | (SubmitThread.postData): Implemented. | |
687 | (SubmitThread.run): Pass data to postData(). | |
688 | (actionPerformed): Reset form when reset button is activated. | |
689 | (createComponent): Add support for select lists and comboboxes. | |
690 | Don't set value of text and password fields here, this is done | |
691 | now in HTMLDocument for consistency. | |
692 | (getElementFormData): Add support for fetching form data from | |
693 | select lists and comboboxes as well as textareas. | |
694 | (getSelectData): New helper method. Fetches form data from | |
695 | select boxes. | |
696 | (getTextAreaData): New helper method. Fetches form data from | |
697 | textareas. | |
698 | (resetForm): New helper method. Resets the entire form. | |
699 | * javax/swing/text/html/HTMLDocument.java | |
700 | (HTMLReader.FormAction.end): Handle SELECT and OPTION tags. | |
701 | (HTMLReader.FormAction.start): Handle SELECT and OPTION tags. | |
702 | (HTMLReader.FormAction.setModel): Initialize text and password | |
703 | values here. Also, use the resetable special models. | |
704 | Group radio buttons into ButtonGroup for exclusive selection. | |
705 | (HTMLReader.FormTagAction): New class. Handles FORM tags. | |
706 | (HTMLReader.buttonGroups): New field. | |
707 | (HTMLReader.numOptions): New field. | |
708 | (HTMLReader.option): New field. | |
709 | (HTMLReader.selectModel): New field. | |
710 | (HTMLReader.textAreaDocument): Make ResetablePlainDocument. | |
711 | (HTMLReader.handleText): Handle OPTION text. | |
712 | (HTMLReader.initTags): Map FORM tags to FormTagAction. | |
713 | (HTMLReader.textAreaContent): Set initial content. | |
714 | * javax/swing/text/html/Option.java | |
715 | (Option): Make copy of attribute set. Initialize selected state. | |
716 | (getValue): Fetch value from attribute set. | |
717 | * javax/swing/text/html/ResetableModel.java: New interface. | |
718 | * javax/swing/text/html/ResetablePlainDocument.java: New class. | |
719 | Supports resetting the state. | |
720 | * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise. | |
721 | * javax/swing/text/html/SelectComboBoxModel.java: Likewise. | |
722 | * javax/swing/text/html/SelectListModel.java: Likewise. | |
723 | ||
724 | 2006-12-06 Roman Kennke <kennke@aicas.com> | |
725 | ||
726 | * examples/gnu/classpath/examples/swing/BrowserEditorKit.java: | |
727 | New class. | |
728 | * examples/gnu/classpath/examples/swing/HtmlDemo.java | |
729 | (LoadActionListener): Call setPage() helper method. | |
730 | (createContent): Register tweaked editor kit. For FormSubmitEvents | |
731 | call submitForm(), otherwise setPage(). | |
732 | (postData): Helper method for posting form data. | |
733 | (setPage): Helper method for navigating to a new URL. | |
734 | (submitForm): Helper method for submitting a form. | |
735 | * examples/gnu/classpath/examples/swing/forms.html: | |
736 | Added text/password fields and select boxes. | |
737 | * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo. | |
738 | ||
739 | 2006-12-07 Mark Wielaard <mark@klomp.org> | |
740 | ||
741 | * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New | |
742 | private constructor. | |
743 | (URL(URL,String,URLStreamHandler)): Call new constructor. | |
744 | (URL(URL,String)): Likewise. | |
745 | (URL(String)): Likewise. | |
746 | ||
747 | 2006-12-07 Mark Wielaard <mark@klomp.org> | |
748 | ||
749 | * javax/swing/JEditorPane.java (createEditorKitForContentType): | |
750 | Always load from system class loader. | |
751 | ||
752 | 2006-12-06 Ben Konrath <bkonrath@redhat.com> | |
753 | ||
754 | Fixes PR 29853. | |
755 | * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and | |
756 | newValue are the same. | |
757 | * gnu/xml/dom/DomNode.java: Set parent if null during mutation. | |
758 | ||
759 | 2006-12-06 Chris Burdess <dog@gnu.org> | |
760 | ||
761 | Fixes PR 29272. | |
762 | * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc. | |
763 | * gnu/xml/stream/SAXParser.java: Fix file descriptor leak. | |
764 | ||
765 | 2006-12-06 Chris Burdess <dog@gnu.org> | |
766 | ||
767 | Fixes PR 29264. | |
768 | * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in | |
769 | writeDTD method. | |
770 | ||
771 | 2006-12-056 Chris Burdess <dog@gnu.org> | |
772 | ||
773 | Fixes PR 28816. | |
774 | * javax/xml/validation/SchemaFactory.java: Use correct algorithm to | |
775 | discover schema factory implementation class. | |
776 | ||
777 | 2006-12-05 Roman Kennke <kennke@aicas.com> | |
778 | ||
779 | * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports | |
780 | asynchronous loading of images. | |
781 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
782 | (drawImage): Fetch real image from possibly AsyncImage. | |
783 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
784 | (drawImage): Fetch real image from possibly AsyncImage. | |
785 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
786 | (createImage(URL)): Create async image. | |
787 | (imageOrError): Made method static for easy access from AsyncImage. | |
788 | (prepareImage): For async images, register the observer to the | |
789 | image. | |
790 | ||
791 | 2006-12-05 Roman Kennke <kennke@aicas.com> | |
792 | ||
793 | (paintComponent): Include paint area from event. | |
794 | (updateComponent): Include paint area from event. | |
795 | ||
796 | 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com> | |
797 | ||
798 | * java/awt/ScrollPane.java (addNotify): Add a parent panel for any | |
799 | lightweight component, not just for non-Panel components. | |
800 | (addImpl): Do not call doLayout. | |
801 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
802 | (setNativeBounds): Ensure widget parent is a GtkFixed before | |
803 | calling gtk_fixed_move. | |
804 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c | |
805 | (setNativeBounds): Likewise. | |
806 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
807 | (setNativeBounds): Likewise. | |
808 | ||
809 | 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com> | |
810 | ||
811 | * java/awt/Component.java (getFontImpl): Return a default font if | |
812 | topmost parent's font is null. | |
813 | ||
814 | 2006-12-04 Mark Wielaard <mark@klomp.org> | |
815 | ||
816 | * javax/swing/text/html/CSS.java (parseMarginShorthand): | |
817 | Remove debug output. | |
818 | ||
819 | 2006-12-04 Roman Kennke <kennke@aicas.com> | |
820 | ||
821 | * java/awt/font/TextLayout.java | |
822 | (hitTestChar): Fixed conditions for inclusion of range. | |
823 | Use layout information in the run for more efficiency. | |
824 | ||
825 | 2006-12-04 Roman Kennke <kennke@aicas.com> | |
826 | ||
827 | * javax/swing/text/GlyphView.java | |
828 | (J2DGlyphPainter): New inner class. | |
829 | (checkPainter): For Java2D capable environments create | |
830 | a J2DGlyphPainter. | |
831 | ||
832 | 2006-12-04 Roman Kennke <kennke@aicas.com> | |
833 | ||
834 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java | |
835 | (FreeTypeGlyphVector): Don't filter control chars here. | |
836 | (getGlyphs): Filter control chars and replace them by | |
837 | hair space char. | |
838 | ||
839 | 2006-12-04 Roman Kennke <kennke@aicas.com> | |
840 | ||
841 | * native/jni/java-nio/gnu_java_nio_VMChannel.c | |
842 | (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR. | |
843 | ||
844 | 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
845 | ||
846 | * gnu/java/lang/management/BeanImpl.java: | |
847 | (translate(String)): Don't assume the list uses "E", | |
848 | just use the first and only type variable. | |
849 | * java/lang/management/ManagementFactory.java: | |
850 | (getPlatformMBeanServer()): Register logging bean. | |
851 | * javax/management/openmbean/OpenType.java: | |
852 | (OpenType(String,String,String)): Actually use | |
853 | the string created to handle arrays. | |
854 | ||
855 | 2006-12-04 Mark Wielaard <mark@klomp.org> | |
856 | ||
857 | * native/jni/java-nio/gnu_java_nio_VMChannel.c | |
858 | (JCL_thread_interrupted): Use CallStaticBooleanMethod. | |
859 | ||
860 | 2006-12-04 Mark Wielaard <mark@klomp.org> | |
861 | ||
862 | * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted): | |
863 | Make static. | |
864 | * native/jni/java-nio/gnu_java_nio_VMChannel.c | |
865 | (JCL_thread_interrupted): Only take JNIEnv. | |
866 | (vm_channel_class): New static variable. | |
867 | (initID): Set vm_channel_class. | |
868 | Wrap all reads() and writes() in do-while blocks that check | |
869 | interrupted status. | |
870 | ||
871 | 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
872 | ||
873 | * gnu/javax/management/Server.java: | |
874 | Make map final and initialise it. | |
875 | (unregisterMBean(ObjectName)): Match against | |
876 | delegate's object name and not the instance. | |
877 | * java/lang/management/ManagementFactory.java: | |
878 | Added constant fields. | |
879 | (getPlatformMBeanServer()): Implemented. | |
880 | * javax/management/MBeanServerFactory.java: New file. | |
881 | ||
882 | 2006-12-04 Roman Kennke <kennke@aicas.com> | |
883 | ||
884 | * javax/swing/text/BoxView.java | |
885 | (paint): Replaced painting algorithm with more simple and more | |
886 | reliable painting of the box. | |
887 | * javax/swing/text/html/BlockView.java | |
888 | (PositionInfo): New inner class. Stores additional CSS | |
889 | positioning information. | |
890 | (positionInfo): New field. | |
891 | (BlockView): Initialize positionInfo field. | |
892 | (fetchLayoutInfo): New helper method. Fetches additional | |
893 | CSS positioning information. | |
894 | (layoutMajorAxis): Perform additional CSS layout. | |
895 | (layoutMinorAxis): Perform additional CSS layout. | |
896 | (positionView): New helper method. | |
897 | (replace): Overridden to fetch additional layout information. | |
898 | * javax/swing/text/html/CSS.java | |
899 | (Attribute.POSITION): New field. | |
900 | (Attribute.LEFT): New field. | |
901 | (Attribute.RIGHT): New field. | |
902 | (Attribute.TOP): New field. | |
903 | (Attribute.BOTTOM): New field. | |
904 | (getValue): Create Length for left, right, top and bottom | |
905 | attributes. | |
906 | ||
907 | 2006-12-04 Roman Kennke <kennke@aicas.com> | |
908 | ||
909 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
910 | (Sgml): Consume any whitespace that immediately follows | |
911 | and sgml insertion. | |
912 | (parseDocument): Consume any initial whitespace. | |
913 | ||
914 | 2006-12-03 Mark Wielaard <mark@klomp.org> | |
915 | ||
916 | * gnu/javax/management/Server.java (beans): Initialize. | |
917 | (registerMBean): Don't initialize beans. | |
918 | ||
919 | 2006-12-03 Mark Wielaard <mark@klomp.org> | |
920 | ||
921 | * java/util/logging/LogManager.java (getLevelProperty): Check | |
922 | whether value is null before passing to Level.parse(). | |
923 | ||
924 | 2006-12-04 Robert Lougher <rob.lougher@gmail.com> | |
925 | ||
926 | * java/lang/management/ThreadInfo.java (ThreadInfo): Check | |
927 | whether given a null lock and lockOwner. | |
928 | ||
929 | 2006-12-03 Mark Wielaard <mark@klomp.org> | |
930 | ||
931 | * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream. | |
932 | (PageLoader.page): Made package local. | |
933 | (PageLoader.run): Don't reset loader. | |
934 | (PageLoader.cancel): New method. | |
935 | (loading): Renamed to loader. | |
936 | (getPage): Return loader.page. | |
937 | (setPage): Always set loader. Never reset to null. | |
938 | ||
939 | 2006-12-03 Mark Wielaard <mark@klomp.org> | |
940 | ||
941 | * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether | |
942 | path[k] is null. | |
943 | (isLastChild): Return false when path is null. | |
944 | ||
945 | 2006-12-03 Mark Wielaard <mark@klomp.org> | |
946 | ||
947 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed | |
948 | to currentPaintArea. | |
949 | (paintComponent): Work with local reference to currentPaintArea. | |
950 | (updateComponent): Likewise. | |
951 | (coalescePaintEvent): Set currentPaintArea. | |
952 | ||
953 | 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
954 | ||
955 | * javax/management/MBeanServerBuilder.java: New file. | |
956 | ||
957 | 2006-12-01 Mark Wielaard <mark@klomp.org> | |
958 | ||
959 | * java/text/DecimalFormat.java (parse): Always increment parsing | |
960 | index and adjust pos result. | |
961 | ||
962 | 2006-12-01 Roman Kennke <kennke@aicas.com> | |
963 | ||
964 | * javax/swing/text/html/HTML.java | |
965 | (Attribute.DYNAMIC_CLASS): New field. | |
966 | (Attribute.PSEUDO_CLASS): New field. | |
967 | * javax/swing/text/html/HTMLDocument.java | |
968 | (HTMLReader.CharacterAction.start): Initialize anchor with link | |
969 | pseudo attribute. | |
970 | (updateSpecialClass): New helper method. Updates the dynamic | |
971 | or pseudo class for anchor tags. | |
972 | * javax/swing/text/html/HTMLEditorKit.java | |
973 | (LinkController.lastAnchorElement): New field. For tracking | |
974 | enter/exit of anchors. | |
975 | (LinkController.activateLink): Set pseudo class to 'visited'. | |
976 | (LinkController.mouseMoved): Added support for tracking | |
977 | the 'hover' dynamic class. | |
978 | * javax/swing/text/html/InlineView.java | |
979 | (changedUpdate): Fetch new properties. | |
980 | * javax/swing/text/html/StyleSheet.java | |
981 | (attributeSetToMap): New helper method. | |
982 | (getRule): Also append dynamic and pseudo class to key. | |
983 | (resolveStyle): Resolve style based generally on all attributes. | |
984 | * javax/swing/text/html/TableView.java | |
985 | (RowView.layoutMajorAxis): Make sure the grid is valid. | |
986 | (updateGrid): Made package private. | |
987 | * gnu/javax/swing/text/html/css/Selector.java | |
988 | (calculateSpecificity): Added support for dynamic and pseudo classes. | |
989 | (matches): Changed to operate on general attributes. | |
990 | Added support for dynamic and pseudo classes. | |
991 | ||
992 | 2006-12-01 Mario Torre <neugens@limasoftware.net> | |
993 | ||
994 | * java/text/DecimalFormat.java (formatInternal): move the formatting of | |
995 | fractional portion in a separate method. | |
996 | Also fixes the handling of decimal separator and its associated field. | |
997 | (handleFractionalPart): new method, needed to relax a bit | |
998 | formatInternal. | |
999 | ||
1000 | 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
1001 | ||
1002 | * java/beans/beancontext/BeanContextServicesSupport.java: | |
1003 | (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices, | |
1004 | Class)): Implemented. | |
1005 | (BCSSProxyServiceProvider.getService(BeanContextServices, Object, | |
1006 | Class, Object)): Implemented. | |
1007 | (BCSSProxyServiceProvider.releaseService(BeanContextServices, | |
1008 | Object, Object)): Implemented. | |
1009 | (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)): | |
1010 | Implemented. | |
1011 | (initialiseBeanContextResources()): Implemented. | |
1012 | (releaseBeanContextResoures()): Implemented. | |
1013 | ||
1014 | 2006-12-01 Mark Wielaard <mark@klomp.org> | |
1015 | ||
1016 | * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated. | |
1017 | ||
1018 | 2006-12-01 Roman Kennke <kennke@aicas.com> | |
1019 | ||
1020 | * gnu/javax/swing/text/html/css/BorderStyle.java: New class for | |
1021 | handling border styles. | |
1022 | * gnu/javax/swing/text/html/css/BorderWidth.java | |
1023 | (isValid): New method. | |
1024 | * gnu/javax/swing/text/html/css/Length.java | |
1025 | (isValid): New method. | |
1026 | * javax/swing/text/html/CSS.java | |
1027 | (addInternal): Added shorthand parsing for border, padding and | |
1028 | margin. | |
1029 | (parseBackgroundShorthand): Added API docs. | |
1030 | (parsePaddingShorthand): New method. Handles padding shorthand | |
1031 | values. | |
1032 | (parseMarginShorthand): New method. Handles margin shorthand | |
1033 | values. | |
1034 | (parseBorderShorthand): New method. Handles border shorthand | |
1035 | values. | |
1036 | * javax/swing/text/html/StyleSheet.java | |
1037 | (translateHTMLToCSS): Set specific padding attributes. | |
1038 | (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here. | |
1039 | These shorthands are now handled in CSS. | |
1040 | (BoxPainter.paint): Exclude the outer margin. | |
1041 | ||
1042 | 2006-12-01 Roman Kennke <kennke@aicas.com> | |
1043 | ||
1044 | * gnu/javax/swing/text/html/css/Length.java | |
1045 | (emBase): New field. | |
1046 | (exBase): New field. | |
1047 | (isFontEMRelative): New field. | |
1048 | (isFontEXRelative): New field. | |
1049 | (Length): Recognize and setup EM and EX relative values. | |
1050 | (getValue): Handle EM and EX relative values. | |
1051 | (isEMRelative): New method. | |
1052 | (isEXRelative): New method. | |
1053 | (setEMBase): New method. | |
1054 | (setEXBase): New method. | |
1055 | (setFontBases): New method. | |
1056 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
1057 | (_handleEmptyTag): Use new isBlock() helper method. | |
1058 | (_handleEndTag_remaining): Use new isBlock() helper method. | |
1059 | (_handleStartTag): Consume whitespace after block start tag. | |
1060 | (Comment): Consume whitespace after a comment. | |
1061 | (isBlock): New helper method. | |
1062 | (readAttributes): Consider all characters in unquoted attribute | |
1063 | values. | |
1064 | * javax/swing/text/html/BlockView.java | |
1065 | (layoutMinorAxis): Use cached span value. | |
1066 | (paint): Added debug code (commented out). | |
1067 | (setPropertiesFromAttributes): Set the EM and EX base on lengths. | |
1068 | * javax/swing/text/html/CSSBorder.java | |
1069 | (CSSBorder): Take StyleSheet as argument. Call getBorderWidth() | |
1070 | with stylesheet. | |
1071 | (getBorderWidth): Set the EM and EX base on the length values. | |
1072 | * javax/swing/text/html/HTMLDocument.java | |
1073 | (HTMLReader.ParagraphAction.end): Do not set the inParagraph field. | |
1074 | (HTMLReader.ParagraphAction.start): Do not set the inParagraph field. | |
1075 | (HTMLReader.inImpliedParagraph): Removed. | |
1076 | (HTMLReader.inParagraph): Removed. | |
1077 | (HTMLReader.parseStack): New field. | |
1078 | (HTMLReader.addContent): Use new paragraph handling. | |
1079 | (HTMLReader.addSpecialElement): Use new paragraph handling. | |
1080 | (HTMLReader.blockClose): Use new paragraph handling. | |
1081 | (HTMLReader.blockOpen): Use new paragraph handling. | |
1082 | (HTMLReader.inImpliedParagraph): New helper method. | |
1083 | (HTMLReader.inParagraph): New helper method. | |
1084 | * javax/swing/text/html/ImageView.java | |
1085 | (attributes): New field. Caches view attributes. | |
1086 | (spans): New field. Caches CSS spans. | |
1087 | (getAttributes): Correctly setup CSS view attributes. | |
1088 | (getPreferredSpan): Use caches spans. | |
1089 | (getStyleSheet): Use the view's getDocument() method. | |
1090 | (setPropertiesFromAttributes): Cache spans and setup EM and EX. | |
1091 | (updateSize): Use cached spans. | |
1092 | * javax/swing/text/html/ParagraphView.java | |
1093 | (setPropertiesFromAttributes): Setup EM and EX. | |
1094 | * javax/swing/text/html/StyleSheet.java | |
1095 | (BoxPainter.BoxPainter): Setup EM and EX correctly. | |
1096 | (getEMBase): New helper method. | |
1097 | (getEXBase): New helper method. | |
1098 | * javax/swing/text/html/TableView.java | |
1099 | (width): New field. Caches the table width. | |
1100 | (calculateMinorAxisRequirements): Use caches span. | |
1101 | (setPropertiesFromAttributes): Cache span and setup EM/EX. | |
1102 | (updateGrid): Correctly setup EM/EX. | |
1103 | ||
1104 | 2006-11-30 Roman Kennke <kennke@aicas.com> | |
1105 | ||
1106 | * javax/swing/text/html/FormSubmitEvent.java: New class. | |
1107 | * javax/swing/text/html/FormView.java | |
1108 | (SubmitThread): New class for submitting data in a separate thread. | |
1109 | (actionPerformed): Fetch the actual for data. | |
1110 | (addData): New helper method. | |
1111 | (getElementFormData): New helper method. | |
1112 | (getFormData): New helper method. | |
1113 | (getInputFormData): New helper method. | |
1114 | (submitData): Implemented. | |
1115 | * javax/swing/text/html/FrameView.java | |
1116 | (createComponent): Add this as hyperlink listener. | |
1117 | Set the target document as frame document. | |
1118 | (getTopEditorPane): New helper method. | |
1119 | (hyperlinkUpdate): Implementation of the HyperlinkListener interface. | |
1120 | (handleHyperlinkEvent): New helper method. | |
1121 | (handleFormSubmitEvent): New helper method. | |
1122 | * javax/swing/text/html/HTMLDocument.java | |
1123 | (HTMLReader.BaseAction.start): Track the base target. | |
1124 | (HTMLReader.BaseAction.end): Removed. | |
1125 | (baseTarget): New field. | |
1126 | (frameDocument): New field. | |
1127 | (getBaseTarget): New property accessor. | |
1128 | (isFrameDocument): New property accessor. | |
1129 | (processHTMLFrameHyperlinkEvent): Implemented. | |
1130 | (setFrameDocument): New property accessor. | |
1131 | (updateFrame): New helper method. | |
1132 | (updateFrameSet): New helper method. | |
1133 | * javax/swing/text/html/HTMLEditorKit.java | |
1134 | (LinkController.createHyperlinkEvent): Handle frame documents. | |
1135 | (autoFormSubmission): New field. | |
1136 | (HTMLEditorKit): Set autoFormSubmission to true. | |
1137 | (isAutoFormSubmission): New property accessor. | |
1138 | (setAutoFormSubmission): New property accessor. | |
1139 | ||
1140 | 2006-11-30 Roman Kennke <kennke@aicas.com> | |
1141 | ||
1142 | * javax/swing/text/ElementIterator.java | |
1143 | (ElementRef): New inner class. | |
1144 | (currentDepth): Removed. | |
1145 | (currentElement): Removed. | |
1146 | (previousItem): Removed. | |
1147 | (stack): New field. Holds the iteration stack. | |
1148 | (state): Removed. | |
1149 | (ElementIterator(Document)): Removed init of removed fields. | |
1150 | (ElementIterator(Element)): Removed init of removed fields. | |
1151 | (current): Changed to stack based algorithm. | |
1152 | (deepestLeaf): New helper method. | |
1153 | (depth): Changed to stack based algorithm. | |
1154 | (first): Changed to stack based algorithm. | |
1155 | (next): Changed to stack based algorithm. | |
1156 | (previous): Changed to stack based algorithm. | |
1157 | ||
1158 | 2006-11-30 Francis Kung <fkung@redhat.com> | |
1159 | ||
1160 | * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4. | |
1161 | * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses. | |
1162 | ||
1163 | 2006-11-30 Francis Kung <fkung@redhat.com> | |
1164 | ||
1165 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
1166 | (draw): Set transform in buffered composite. | |
1167 | (drawComposite): Do not transform bounds; round bounds. | |
1168 | (drawGlyphVector): Set transform in buffered composite. | |
1169 | (drawRenderedImage): Set transform in buffered composite. | |
1170 | (fill): Set transform in buffered composite. | |
1171 | (updateBufferedImage): Fix scanline & height calculations. | |
1172 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
1173 | (createPath): Simplify width & height calculation. | |
1174 | (drawImage): Also transform width & height. | |
1175 | ||
1176 | 2006-11-30 Roman Kennke <kennke@aicas.com> | |
1177 | ||
1178 | * javax/swing/text/html/FrameSetView.java: New class. Implements | |
1179 | HTML framesets. | |
1180 | * javax/swing/text/html/FrameView.java: New class. Implements | |
1181 | HTML frames. | |
1182 | * javax/swing/text/html/HTMLDocument.java: | |
1183 | (HTMLReader.addSpecialElement): Only add one artificial space. | |
1184 | * javax/swing/text/html/HTMLEditorKit.java | |
1185 | (HTMLFactory.create): Uncomment code for FrameSetView and FrameView. | |
1186 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
1187 | (_handleEmptyTag): Also consume whitespace after frame tags. | |
1188 | ||
1189 | 2006-11-30 Gary Benson <gbenson@redhat.com> | |
1190 | ||
1191 | * java/lang/Thread.java: Javadoc fixes. | |
1192 | ||
1193 | 2006-11-29 Tom Tromey <tromey@redhat.com> | |
1194 | ||
1195 | PR classpath/28203: | |
1196 | * java/lang/Class.java (getAnnotations): Rewrote. | |
1197 | ||
1198 | 2006-11-29 Tania Bento <tbento@redhat.com> | |
1199 | ||
1200 | * tools/gnu/classpath/tools/appletviewer/TagParser.java: | |
1201 | (parseParams): Unescape 'val' before putting it into the Map. | |
1202 | (unescapeString): New private method. | |
1203 | ||
1204 | 2006-11-29 Tom Tromey <tromey@redhat.com> | |
1205 | ||
1206 | * tools/gnu/classpath/tools/getopt/package.html: New file. | |
1207 | ||
1208 | 2006-11-29 David Gilbert <david.gilbert@object-refinery.com> | |
1209 | ||
1210 | * javax/swing/plaf/metal/MetalIconFactory.java | |
1211 | (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint, | |
1212 | (VerticalSliderThumbIcon.paintIcon()): Likewise. | |
1213 | ||
1214 | 2006-11-29 Mario Torre <neugens@limasoftware.net> | |
1215 | ||
1216 | * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign | |
1217 | with the default international currency sign \u00A4. | |
1218 | * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol | |
1219 | table for string formatting. | |
1220 | (formatInternal): likewise. | |
1221 | (scanNegativePattern): likewise. | |
1222 | (applyPattern): likewise. | |
1223 | * java/text/DecimalFormatSymbols.java (clone): Revert to old version as | |
1224 | Locale is immutable and does not need clone. | |
1225 | ||
1226 | 2006-11-29 Francis Kung <fkung@redhat.com> | |
1227 | ||
1228 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
1229 | (drawLine): Remove hard-coded pixel shifting. | |
1230 | ||
1231 | 2006-11-29 Roman Kennke <kennke@aicas.com> | |
1232 | ||
1233 | * java/awt/Component.java | |
1234 | (isShowing): Simplified condition code and avoid unnecessary | |
1235 | if-codepaths. | |
1236 | (coalesceEvents): Always coalesce paint events and let the peer | |
1237 | figure out the expanding of the repaint area. | |
1238 | * gnu/java/awt/peer/swing/SwingComponentPeer.java | |
1239 | (currentPaintEvents): Removed. Replaced by paintArea. | |
1240 | (paintArea): New field. Tracks the dirty area. | |
1241 | (SwingComponentPeer): Removed init of currentPaintEvents. | |
1242 | (coalescePaintEvent): Simplified to only union the dirty regions. | |
1243 | (handleEvent): Paint dirty region that was tracked in paintArea. | |
1244 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
1245 | (paintArea): New field. Tracks the dirty region. | |
1246 | (coalescePaintEvent): Implemented to track the dirty region. | |
1247 | (paintComponent): Use the dirty region in paintArea. Protect | |
1248 | state by putting the paint and dispose code in a try-finally. | |
1249 | (updateComponent): Use the dirty region in paintArea. Protect | |
1250 | state by putting the paint and dispose code in a try-finally. | |
1251 | ||
1252 | 2006-11-29 Roman Kennke <kennke@aicas.com> | |
1253 | ||
1254 | * java/awt/font/TextLayout.java | |
1255 | (getVisualHighlightShape): Removed debug output. | |
1256 | ||
1257 | 2006-11-28 Andrew Haley <aph@redhat.com> | |
1258 | ||
1259 | * vm/reference/sun/reflect/misc/ReflectUtil.java | |
1260 | (checkPackageAccess): Implement. | |
1261 | ||
1262 | 2006-11-28 Dalibor Topic <robilad@kaffe.org> | |
1263 | ||
1264 | * native/jni/java-lang/java_lang_VMDouble.c: | |
1265 | (parseDoubleFromChars) New function. Factored out from ... | |
1266 | (Java_java_lang_VMDouble_parseDouble): Factored out the parsing. | |
1267 | (dtoa_toString): New function. Factored out from ... | |
1268 | (Java_java_lang_VMDouble_toString) : Factored out the conversion. | |
1269 | Changed conversion mode to 2, as modes 0 and 1 don't round | |
1270 | as the API spec demands. Invoke conversion function as often | |
1271 | as necessary with growing precision until a reversible | |
1272 | representation of the double in form of a string is reached. | |
1273 | ||
1274 | 2006-11-28 Roman Kennke <kennke@aicas.com> | |
1275 | ||
1276 | * javax/swing/JComponent.java | |
1277 | (putClientProperty): Do not fire event when both old and new | |
1278 | value are == null. | |
1279 | ||
1280 | 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
1281 | ||
1282 | * java/lang/Enum.java: | |
1283 | Make name and ordinal final. | |
1284 | ||
1285 | 2006-11-27 Casey Marshall <csm@gnu.org> | |
1286 | ||
1287 | * java/util/jar/JarEntry.java (certs): removed. | |
1288 | (jarfile): new field. | |
1289 | (getCertificates): read the certificates from the containing JarFile. | |
1290 | * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't | |
1291 | fill in 'certs,' fill in 'jarfile' for the entry. | |
1292 | (getEntry): likewise. | |
1293 | ||
1294 | 2006-11-27 Francis Kung <fkung@redhat.com> | |
1295 | ||
1296 | * java/awt/image/WritableRaster.java | |
1297 | (createChild): Implemented. | |
1298 | ||
1299 | 2006-11-27 Roman Kennke <kennke@aicas.com> | |
1300 | ||
1301 | * java/awt/font/TextLayout.java | |
1302 | (TextLayout(TextLayout,int,int)): Also layout the new runs. | |
1303 | (getVisualHighlightShape): Implemented. | |
1304 | (layoutRuns): Fixed boundary so that the last run is also laid out. | |
1305 | (left): New helper method. | |
1306 | (right): New helper method. | |
1307 | ||
1308 | 2006-11-27 Roman Kennke <kennke@aicas.com> | |
1309 | ||
1310 | * java/awt/font/TextLayout.java | |
1311 | (getCaretShape(TextHitInfo,Rectangle2D)): Implemented. | |
1312 | (getCaretShape(TextHitInfo)): Use natural bounds. | |
1313 | (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method. | |
1314 | (getCaretShapes(int,Rectangle2D)): Delegate to new method | |
1315 | above with DEFAULT_CARET_POLICY. | |
1316 | (getCaretShapes(int)): Use natural bounds. | |
1317 | ||
1318 | 2006-11-27 Roman Kennke <kennke@aicas.com> | |
1319 | ||
1320 | * java/awt/font/TextLayout.java | |
1321 | (Run.font): New field. | |
1322 | (Run.location): New field. | |
1323 | (Run.Run): Initialize font. | |
1324 | (font): Removed field. This is moved into Run as the actual font | |
1325 | is something run-specific. | |
1326 | (TextLayout(String,Font,FontRenderContext)): Set font on the | |
1327 | single runs. Layout the runs here. | |
1328 | (TextLayout(TextLayout,int,int)): Copy over the run fonts. | |
1329 | (findRunAtIndex): New helper method. | |
1330 | (getCaretInfo): Implemented. | |
1331 | (layoutRuns): New helper method. | |
1332 | (toString): Don't put font in output string. | |
1333 | ||
1334 | 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name> | |
1335 | ||
1336 | * AUTHORS: Added Jeroen Fritjers. | |
1337 | ||
1338 | 2006-11-27 neugens <neugens@nirvana.limasoftware.net> | |
1339 | ||
1340 | * java/text/DecimalFormat.java (formatInternal): Add an explicit test | |
1341 | for FieldPosition to be null. | |
1342 | Check if the factional part is just 0 and can be omitted from the | |
1343 | result. | |
1344 | (scanNegativePattern): Fixed index out of bound exception when searching | |
1345 | for international currency symbol in negative pattern. | |
1346 | ||
1347 | 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
1348 | ||
1349 | * java/beans/beancontext/BeanContextSupport.java: | |
1350 | (readObject(ObjectInputStream)): Implemented. | |
1351 | (writeObject(ObjectOutputStream)): Likewise. | |
1352 | (BCSChild.getTargetChild()): Added. | |
1353 | (bcsPreDeserializationHook()): Implemented. | |
1354 | (bcsPreSerializationHook()): Likewise. | |
1355 | (childDeserializedHook(Object,BCSChild)): Likewise. | |
1356 | (isSerializing()): Likewise. | |
1357 | (readChildren(ObjectInputStream)): Likewise. | |
1358 | (writeChildren(ObjectOutputStream)): Likewise. | |
1359 | ||
1360 | 2006-11-26 Roger Sayle <roger <at> eyesopen.com> | |
1361 | Ian Lance Taylor <ian <at> airs.com> | |
1362 | Paolo Bonzini <bonzini <at> gnu.org> | |
1363 | ||
1364 | Fixes bug #25557. | |
1365 | ||
1366 | * lib/gen-classlist.sh.in: Avoid using test's -ef operator for | |
1367 | increased portability. Likewise, use -f instead of -e. | |
1368 | ||
1369 | 2006-11-26 Mark Wielaard <mark@klomp.org> | |
1370 | ||
1371 | * lib/Makefile.am (propertydirs): Removed. | |
1372 | (resources): Explicitly create all dirs. | |
1373 | ||
1374 | 2006-11-26 Mark Wielaard <mark@klomp.org> | |
1375 | ||
1376 | * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket. | |
1377 | ||
1378 | 2006-11-26 Dalibor Topic <robilad@kaffe.org> | |
1379 | ||
1380 | * native/target/.cvsignore, | |
1381 | native/target/generic/.cvsignore, | |
1382 | native/target/Linux/.cvsignore: | |
1383 | Removed no longer used files. | |
1384 | ||
1385 | * native/target: Removed no longer used directory. | |
1386 | ||
1387 | 2006-11-26 Dalibor Topic <robilad@kaffe.org> | |
1388 | ||
1389 | Fixes bug #29133. | |
1390 | ||
1391 | * libraries/clib/nio/gnu_java_nio_VMSelector.c | |
1392 | (Java_gnu_java_nio_VMSelector_select): | |
1393 | Use strerror if strerror_r is not available. | |
1394 | ||
1395 | Reported by: Michael Franz <mvfranz@gmail.com>, | |
1396 | Riccardo Mottola <zuse@libero.it> | |
1397 | ||
1398 | 2006-11-26 Dalibor Topic <robilad@kaffe.org> | |
1399 | ||
1400 | Fixes bug #26756. | |
1401 | ||
1402 | * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed | |
1403 | STRICT_WARNING_CFLAGS since it caused the build to fail | |
1404 | on GNU/Linux. | |
1405 | ||
1406 | 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk> | |
1407 | ||
1408 | * doc/vmintegration.texinfo: Update VM Threading Model section. | |
1409 | ||
1410 | 2006-11-26 Tom Tromey <tromey@redhat.com> | |
1411 | ||
1412 | * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally | |
1413 | include ifaddrs.h. | |
1414 | (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated | |
1415 | conditional. | |
1416 | * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: | |
1417 | Conditionally include ifaddrs.h. | |
1418 | (getif_address): Updated conditional. | |
1419 | (getif_index): Likewise. | |
1420 | * configure.ac: Check for ifaddrs.h. | |
1421 | ||
1422 | 2006-11-25 Mark Wielaard <mark@klomp.org> | |
1423 | ||
1424 | * java/io/File.java (list): Return empty list for unreadable dirs. | |
1425 | ||
1426 | 2006-11-25 Mark Wielaard <mark@klomp.org> | |
1427 | ||
1428 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector): | |
1429 | Synchronize on font peer. | |
1430 | (setFont): Likewise. | |
1431 | * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark | |
1432 | synchronized. | |
1433 | (getTextMetrics): Likewise. | |
1434 | ||
1435 | 2006-11-25 Roman Kennke <kennke@aicas.com> | |
1436 | ||
1437 | * javax/swing/text/GapContent.java | |
1438 | (getPositionsInRange): Rewritten to use the more efficient | |
1439 | binary search searchFirst() and avoid an NPE that was caused | |
1440 | by GC'ed positions. | |
1441 | ||
1442 | 2006-11-25 Mark Wielaard <mark@klomp.org> | |
1443 | ||
1444 | * javax/swing/text/CompositeView.java (modelToView): Never return | |
1445 | null. | |
1446 | ||
1447 | 2006-11-25 Mark Wielaard <mark@klomp.org> | |
1448 | ||
1449 | * javax/swing/text/html/TableView.java (calculateColumnRequirements): | |
1450 | Check whether rowView instanceof RowView. | |
1451 | (updateGrid): Likewise. | |
1452 | ||
1453 | 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net> | |
1454 | ||
1455 | PR28462 | |
1456 | * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5. | |
1457 | * java/text/NumberFormat.java (format): all format methods, fixed | |
1458 | FieldPosition argument should never be null. | |
1459 | (format(Object, StringBuffer, FieldPosition)): fixed signature, | |
1460 | method is not final. | |
1461 | * java/text/DecimalFormatSymbols.java (clone): fixed to also clone | |
1462 | locale. | |
1463 | * AUTHORS: added my name to the file. | |
1464 | ||
1465 | 2006-11-25 Mark Wielaard <mark@klomp.org> | |
1466 | ||
1467 | * javax/swing/text/html/StyleSheet.java (paint): Guard against | |
1468 | getChildAllocation() returning null. | |
1469 | ||
1470 | 2006-11-25 Mark Wielaard <mark@klomp.org> | |
1471 | ||
1472 | * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity): | |
1473 | Use clazzIndex for id substring. | |
1474 | ||
1475 | 2006-11-25 Mark Wielaard <mark@klomp.org> | |
1476 | ||
1477 | * java/awt/EventQueue.java (pop): Only terminate dispatchThread when | |
1478 | it is still running. | |
1479 | ||
1480 | 2006-11-25 Mark Wielaard <mark@klomp.org> | |
1481 | ||
1482 | Fixes bug #28822 | |
1483 | * doc/api/Makefile.am (create_html): Guard GJDOC invocation with | |
1484 | CREATE_API_DOCS | |
1485 | ||
1486 | 2006-11-24 Tania Bento <tbento@redhat.com> | |
1487 | ||
1488 | * java/awt/font/TextHitInfo.java | |
1489 | (equals(TextHitInfo)): If TextHitInfo parameter is null, return false. | |
1490 | (beforeOffset): Decreased first parameter by 1. | |
1491 | ||
1492 | 2006-11-24 Francis Kung <fkung@redhat.com> | |
1493 | ||
1494 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
1495 | (constructor): Check sample model when setting fastCM flag. | |
1496 | (updateBufferedImage): Check scanline and sample model offsets before | |
1497 | copying data directly into the image data buffer. | |
1498 | ||
1499 | 2006-11-24 Francis Kung <fkung@redhat.com> | |
1500 | ||
1501 | * gnu/java/awt/java2d/QuadSegment.java | |
1502 | (offsetSubdivided): Handle special straight-line cases. | |
1503 | ||
1504 | 2006-11-24 Roman Kennke <kennke@aicas.com> | |
1505 | ||
1506 | * java/awt/dnd/DropTarget.java | |
1507 | (DropTargetAutoScroller.HYSTERESIS): New constant. | |
1508 | (DropTargetAutoScroller.DELAY): New constant. | |
1509 | (DropTargetAutoScroller.inner): New field. A cached | |
1510 | Rectangle instance. | |
1511 | (DropTargetAutoScroller.outer): New field. A cached | |
1512 | Rectangle instance. | |
1513 | (DropTargetAutoScroller.timer): New field. The actual timer. | |
1514 | (DropTargetAutoScroller.DropTargetAutoScroller): | |
1515 | Initialize timer. | |
1516 | (DropTargetAutoScroller.actionPerformed): Implemented. | |
1517 | (DropTargetAutoScroller.stop): Implemented. | |
1518 | (DropTargetAutoScroller.updateLocation): Implemented. | |
1519 | (clearAutoscroll): Stop the autoscroller before nullifying it. | |
1520 | (createDropTargetAutoScroller): Don't set the field here, | |
1521 | only return a new instance. | |
1522 | (dragEnter): Only do something when active. Initialize | |
1523 | auto scrolling. | |
1524 | (dragExit): Only do something when active. Stop auto scrolling. | |
1525 | (dragOver): Only do something when active. Update auto scrolling. | |
1526 | (drop): Only do something when active. Update auto scrolling. | |
1527 | (dropActionChanged): Only do something when active. Update | |
1528 | auto scrolling. | |
1529 | (initializeAutoScrolling): Check if component is an instance | |
1530 | of Autoscroll, otherwise do nothing. | |
1531 | (setActive): Disable autoscrolling when deactivating. | |
1532 | (setComponent): When component is set to null, disable autoscrolling. | |
1533 | ||
1534 | 2006-11-24 David Gilbert <david.gilbert@object-refinery.com> | |
1535 | ||
1536 | * java/beans/beancontext/BeanContextServicesSupport.java | |
1537 | (getChildBeanContextServicesListener): Implemented. | |
1538 | ||
1539 | 2006-11-23 Roman Kennke <kennke@aicas.com> | |
1540 | ||
1541 | * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java | |
1542 | (createGraphics): Use constructor to create new instance of | |
1543 | BufferedImageGraphics. | |
1544 | * java/awt/Toolkit.java | |
1545 | (getDefaultToolkit): Really try to get a real toolkit. Only | |
1546 | use HeadlessToolkit if no other is available. | |
1547 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
1548 | (checkHeadless): New helper method. Checks for headless environment | |
1549 | and throws HeadlessException if appropriate. | |
1550 | (createButton): Check for headless. | |
1551 | (createCanvas): Check for headless. | |
1552 | (createCheckbox): Check for headless. | |
1553 | (createCheckboxMenuItem): Check for headless. | |
1554 | (createChoice): Check for headless. | |
1555 | (createDialog): Check for headless. | |
1556 | (createDragGestureRecognizer): Check for headless. | |
1557 | (createDragSourceContextPeer): Check for headless. | |
1558 | (createEmbeddedWindow): Check for headless. | |
1559 | (createFileDialog): Check for headless. | |
1560 | (createFrame): Check for headless. | |
1561 | (createCheckbox): Check for headless. | |
1562 | (createLabel): Check for headless. | |
1563 | (createList): Check for headless. | |
1564 | (createMenu): Check for headless. | |
1565 | (createMenuBar): Check for headless. | |
1566 | (createMenuItem): Check for headless. | |
1567 | (createPanel): Check for headless. | |
1568 | (createPopupMenu): Check for headless. | |
1569 | (createScrollbar): Check for headless. | |
1570 | (createScrollPane): Check for headless. | |
1571 | (createTextArea): Check for headless. | |
1572 | (createTextField): Check for headless. | |
1573 | (createWindow): Check for headless. | |
1574 | ||
1575 | 2006-11-23 David Gilbert <david.gilbert@object-refinery.com> | |
1576 | ||
1577 | * java/beans/beancontext/BeanContextSupport.java | |
1578 | (deserialize): Implemented, | |
1579 | (serialize): Implemented. | |
1580 | ||
1581 | 2006-11-23 Roman Kennke <kennke@aicas.com> | |
1582 | ||
1583 | * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java | |
1584 | (createGraphics): Try to use Cairo graphics if available. | |
1585 | ||
1586 | 2006-11-22 David Gilbert <david.gilbert@object-refinery.com> | |
1587 | ||
1588 | * java/beans/beancontext/BeanContextSupport.java | |
1589 | (toArray): Added API docs, | |
1590 | (toArray(Object[])): Added API docs, removed NotImplementedException. | |
1591 | ||
1592 | 2006-11-22 Tania Bento <tbento@redhat.com> | |
1593 | ||
1594 | * javax/swing/JRootPane.java | |
1595 | (setLayeredPane): Added documentation; throw | |
1596 | IllegalComponentStateException if layered pane parameter is null. | |
1597 | ||
1598 | 2006-11-22 David Gilbert <david.gilbert@object-refinery.com> | |
1599 | ||
1600 | * java/beans/beancontext/BeanContextSupport.java | |
1601 | (avoidingGui): Removed NotImplementedException. | |
1602 | ||
1603 | 2006-11-22 Francis Kung <fkung@redhat.com> | |
1604 | ||
1605 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
1606 | (drawGlyphVector): Clip updated area to glyph bounds. | |
1607 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
1608 | (createPath): Eliminate distortion when pixel-shifting rectangles; separate | |
1609 | x-coordinate and y-coordinate pixel shifting. | |
1610 | (shifted): Removed method. | |
1611 | (shiftX): New method, recognising scaling transforms. | |
1612 | (shiftY): New method, recognising scaling transforms. | |
1613 | (walkPath): Separate x-coordinate and y-coordinate pixel shifting. | |
1614 | ||
1615 | 2006-11-22 Roman Kennke <kennke@aicas.com> | |
1616 | ||
1617 | * java/awt/font/TextLayout.java | |
1618 | (hash): New field. Caches the hash code. | |
1619 | (hashCode): Implemented. | |
1620 | ||
1621 | 2006-11-22 Roman Kennke <kennke@aicas.com> | |
1622 | ||
1623 | * java/awt/image/ImageFilter.java | |
1624 | Reformat whole class. | |
1625 | (getFilterInstance): Don't touch the consumer field. Don't check | |
1626 | consumer. | |
1627 | (imageComplete): Don't check consumer. | |
1628 | (setColorModel): Don't check consumer. | |
1629 | (setDimensions): Don't check consumer. | |
1630 | (setHints): Don't check consumer. | |
1631 | (setPixels): Don't check consumer. | |
1632 | (setProperties): Pass the original property too. | |
1633 | * java/awt/image/IndexColorModel.java | |
1634 | (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the | |
1635 | transparent pixel by calling the new helper method. | |
1636 | (IndexColorModel(int,int,byte[],int,boolean,int)): Set the | |
1637 | transparent pixel by calling the new helper method. | |
1638 | (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the | |
1639 | transparent pixel by calling the new helper method. | |
1640 | (coerceData): Removed. This is not needed. | |
1641 | (getAlpha): Simply return value from color map. The transparent | |
1642 | pixel has to be there. | |
1643 | (setTransparentPixel): New helper method. Inserts the transparent | |
1644 | pixel. | |
1645 | * java/awt/image/RGBImageFilter.java | |
1646 | Reformat whole class. | |
1647 | (convertColorModelToDefault): Removed. No longer needed. | |
1648 | (filterIndexColorModel): Don't handle transparent pixels | |
1649 | separately. | |
1650 | (filterRGBPixels): Set pixels on consumer already. | |
1651 | (makeColor): Removed. No longer needed. | |
1652 | * java/awt/image/ReplicateScaleFilter.java | |
1653 | (replicatePixels): Removed. | |
1654 | (setDimension): Correctly compute destination size, avoid double | |
1655 | calculations. | |
1656 | (setPixels): Avoid double calculations. Fixed some boundary cases. | |
1657 | (setupSources): New helper method. | |
1658 | * java/awt/image/SampleModel.java | |
1659 | (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT | |
1660 | and TYPE_DOUBLE. | |
1661 | * java/awt/image/SinglePixelPackedSampleModel.java | |
1662 | (setDataElements(int,int,int,int,Object,DataBuffer)): Removed. | |
1663 | This is not needed as the superclass already copies line | |
1664 | by line. | |
1665 | (setDataElements(int,int,Object,DataBuffer)): Simplified code, | |
1666 | removed some checks that the RI also doesn't perform. Call | |
1667 | DataBuffer.setElem(). | |
1668 | ||
1669 | 2006-11-22 Roman Kennke <kennke@aicas.com> | |
1670 | ||
1671 | * java/awt/text/TextLayout.java | |
1672 | (getLogicalRangesForVisualSelection): Implemented. | |
1673 | ||
1674 | 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
1675 | ||
1676 | * sun/reflect/annotation/AnnotationParser.java, | |
1677 | * sun/reflect/annotation/AnnotationType.java, | |
1678 | * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java, | |
1679 | * sun/reflect/annotation/ExceptionProxy.java: | |
1680 | Stubbed. | |
1681 | * sun/misc/ServiceConfigurationError.java, | |
1682 | * sun/misc/Service.java: | |
1683 | Implemented. | |
1684 | ||
1685 | 2006-11-21 Roman Kennke <kennke@aicas.com> | |
1686 | ||
1687 | * java/awt/text/TextLayout.java | |
1688 | (Run.isLeftToRight): New helper method. | |
1689 | (logicalToVisual): New field. Maps logical indices to visual | |
1690 | indices. | |
1691 | (visualToLogical): New field. Maps visual indices to logical | |
1692 | indices. | |
1693 | (TextLayout): Setup mappings. | |
1694 | (setupMappings): New method for setting up the mappings. | |
1695 | (getCharacterLevel): Reorganized code. | |
1696 | (getNextLeftHit(int)): Implemented. | |
1697 | (getNextLeftHit(int,CaretPolicy)): New method. | |
1698 | (getNextLeftHit(TextHitInfo)): Implemented. | |
1699 | (getNextRightHit(int)): Implemented. | |
1700 | (getNextRightHit(int,CaretPolicy)): New method. | |
1701 | (getNextRightHit(TextHitInfo)): New method. | |
1702 | (getVisualOtherHit): Implemented. | |
1703 | (checkHitInfo): New helper methods for checking parameters. | |
1704 | (hitToCaret): New helper method. Maps hit infos to caret locations. | |
1705 | (caretToHit): New helper method. Maps caret locations to hit infos. | |
1706 | (isCharacterLTR): New helper method. | |
1707 | (CaretPolicy.getStrongCaret): Implemented. | |
1708 | ||
1709 | 2006-11-21 Francis Kung <fkung@redhat.com> | |
1710 | ||
1711 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
1712 | (draw): Include stroke width when calculating bounds. | |
1713 | (updateBufferedImage): Round bounds more generously, handle negative | |
1714 | height/width values, and clip more intelligently. | |
1715 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
1716 | (createPath): Add shortcut optimization for lines. | |
1717 | (draw): Include stroke width when calculating bounds. | |
1718 | (drawLine): Delegate to main draw() method. | |
1719 | (drawRect): Likewise. | |
1720 | (fillRect): Delegate to main fill() method. | |
1721 | (findStrokedBounds): New method. | |
1722 | (setCustomPaint): Round bounds more generously. | |
1723 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
1724 | (drawLine): Removed. | |
1725 | (drawRect): Removed. | |
1726 | (fillRect): Removed. | |
1727 | ||
1728 | 2006-11-21 Francis Kung <fkung@redhat.com> | |
1729 | ||
1730 | * gnu/java/awt/java2d/TexturePaintContext.java | |
1731 | (getRaster): Handle negative coordinate values. | |
1732 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
1733 | (setPaint): Moved custom paint processing to a new method. | |
1734 | (setPaintPixels): Added x, y parameters. | |
1735 | (getRealBounds): Added documentation. | |
1736 | (copy): Copy clipping information. | |
1737 | (drawLine): Process custom paints. | |
1738 | (setCustomPaint): New method. | |
1739 | (fill): Process custom paints. | |
1740 | (drawGlyphVector): Process custom paints. | |
1741 | (drawRect): Process custom paints. | |
1742 | (draw): Process custom paints. | |
1743 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
1744 | (cairoCM_opaque): New constant. | |
1745 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
1746 | (argb32): Removed constant. | |
1747 | (rgb32): Removed constant. | |
1748 | (BufferedImageGraphics(BufferedImage)): Updated constant names. | |
1749 | (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags. | |
1750 | (updateBufferedImage): Transform to device-space before updating. | |
1751 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h | |
1752 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y | |
1753 | parameters. | |
1754 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
1755 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern | |
1756 | source at designated x, y origin. | |
1757 | ||
1758 | 2006-11-21 Roman Kennke <kennke@aicas.com> | |
1759 | ||
1760 | * java/awt/text/TextLayout.java | |
1761 | (Run): New inner helper class. | |
1762 | (length): New field. | |
1763 | (naturalBounds): New field. | |
1764 | (offset): New field. | |
1765 | (runIndices): Removed. This is now encapsulate in a Run object. | |
1766 | (runs): Changed to Run[]. | |
1767 | (string): Changed to char[]. | |
1768 | (totalAdvance): New field. Caches advance value. | |
1769 | (TextLayout(String,Font,FontRenderContext)): Change to store | |
1770 | string as char[] and run layout as Run[]. Clean out empty | |
1771 | run items. | |
1772 | (TextLayout(TextLayout,int,int)): Change to store | |
1773 | string as char[] and run layout as Run[]. | |
1774 | (clone): Call private constructor for maximum efficiency. | |
1775 | (determineWhitespace): Adapted to use char[] data. | |
1776 | (draw): Adapted to use Run objects. | |
1777 | (getAdvance): Cache computed total advance. | |
1778 | (getBlackBoxBounds): Adapted to use Run objects. | |
1779 | (getCaretInfo): Use natural layout bounds. | |
1780 | (getCharacterCount): Return length field. | |
1781 | (getLogicalHighlightShape): Adapted to use Run objects. | |
1782 | (getNaturalBounds): New helper method. Calculates and returns the | |
1783 | natural bounds of this text layout. | |
1784 | (getOutline): Adapted to use Run objects. | |
1785 | (getStringProperties): Adapted to use char[] data. | |
1786 | (getVisibleAdvance): Adapted to use char[] and Run data. | |
1787 | (handleJustify): Adapted to use char[] and Run data. | |
1788 | (hitTestChar(float,float,Rectangle2D)): Implemented. | |
1789 | (hitTestChar(float,float)): Use natural bounds. | |
1790 | (setCharIndices): Adapted to use char[] and Run data. | |
1791 | (toString): Adapted to use char[] and Run data. | |
1792 | * java/text/Bidi.java | |
1793 | (requiresBidi): Exclude paragraph separators from bidi-triggers. | |
1794 | ||
1795 | 2006-11-21 Roman Kennke <kennke@aicas.com> | |
1796 | ||
1797 | * gnu/java/awt/peer/gtk/GdkFontMetrics.java: | |
1798 | Removed. This is now an inner class in GdkFontPeer. | |
1799 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
1800 | (drawString(float,float)): Use text layout cache from | |
1801 | GdkFontPeer. | |
1802 | (getFontMetrics): Delegate to GdkFontPeer. | |
1803 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java | |
1804 | (getGlyphCodes): Also check array size. | |
1805 | (getGlyphPositions): Also check array size. | |
1806 | * gnu/java/awt/peer/gtk/GdkFontPeer.java | |
1807 | (GdkFontLineMetrics.fm): Removed. | |
1808 | (GdkFontLineMetrics.strikeThroughOffset): Removed. | |
1809 | (GdkFontLineMetrics.strikeThroughThickness): Removed. | |
1810 | (GdkFontLineMetrics.underlineOffset): Removed. | |
1811 | (GdkFontLineMetrics.underlineThickness): Removed. | |
1812 | (GdkFontLineMetrics.GdkFontLineMetrics): Don't take | |
1813 | FontMetrics argument. Don't init removed fields. | |
1814 | (GdkFontLineMetrics.getAscent): Return font peer's field. | |
1815 | (GdkFontLineMetrics.getDescent): Return font peer's field. | |
1816 | (GdkFontLineMetrics.getHeight): Return font peer's field. | |
1817 | (GdkFontLineMetrics.getLeading): Return font peer's field. | |
1818 | (GdkFontLineMetrics.getNumChars): Reformat. | |
1819 | (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent. | |
1820 | (GdkFontLineMetrics.getStrikeThroughThickness): Return 1. | |
1821 | (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field. | |
1822 | (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field. | |
1823 | (GdkFontMetrics): Moved class in here as inner class. | |
1824 | Make it use the font peer's fields and for the char(s) width | |
1825 | and string width method, use TextLayout to measure the actual widths. | |
1826 | (ascent): New field. | |
1827 | (bundle): Removed. | |
1828 | (DEFAULT_CTX): New constant field. | |
1829 | (descent): New field. | |
1830 | (FONT_METRICS_ASCENT): New constant. | |
1831 | (FONT_METRICS_DESCENT): New constant. | |
1832 | (FONT_METRICS_HEIGHT): New constant. | |
1833 | (FONT_METRICS_MAX_ADVANCE): New constant. | |
1834 | (FONT_METRICS_MAX_ASCENT): New constant. | |
1835 | (FONT_METRICS_MAX_DESCENT): New constant. | |
1836 | (FONT_METRICS_UNDERLINE_OFFSET): New constant. | |
1837 | (FONT_METRICS_UNDERLINE_THICKNESS): New constant. | |
1838 | (height): New field. | |
1839 | (maxAdvance): New field. | |
1840 | (maxAscent): New field. | |
1841 | (maxDescent): New field. | |
1842 | (metrics): New field. Stores a FontMetrics for this font. | |
1843 | (textLayoutCache): New field. Caches TextLayout instances. | |
1844 | (underlineOffset): New field. | |
1845 | (underlineThickness): New field. | |
1846 | (cinit): Don't initialize resource bundle. | |
1847 | (GdkFontPeer): Setup the metrics. | |
1848 | (getFontMetrics): Return stored metrics if possible. | |
1849 | (getLineMetrics): Adapt to new constructor. | |
1850 | (initFont): New helper method. | |
1851 | (setupMetrics): New helper method. | |
1852 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
1853 | (LRUCache): Made class a static class. | |
1854 | (getFontMetrics): Delegate to GdkFontPeer. | |
1855 | * native/jni/gtk-peer/gdkfont.h | |
1856 | Added new constant defines. | |
1857 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c | |
1858 | (getFontMetrics): Rewritten to fetch the font metrics from | |
1859 | FreeType. | |
1860 | ||
1861 | 2006-11-20 Tania Bento <tbento@redhat.com> | |
1862 | ||
1863 | * javax/swing/ButtonGroup.java: | |
1864 | (setSelected): Select the ButtonModel if all conditions | |
1865 | are met. | |
1866 | ||
1867 | 2006-11-20 Tania Bento <tbento@redhat.com> | |
1868 | ||
1869 | * javax/swing/JSlider.java: | |
1870 | (updateLabelUIs): Removed casting. | |
1871 | ||
1872 | 2006-11-20 Mark Wielaard <mark@klomp.org> | |
1873 | ||
1874 | * gnu/java/util/regex/RE.java (messages): Don't initialize. | |
1875 | (bundle): New static final String field. | |
1876 | (getLocalizedMessage): Initialize messages when still null. | |
1877 | * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed. | |
1878 | (set): Use RE.getLocalizedMessage(). | |
1879 | (clear): Likewise. | |
1880 | (setLineSeparator): Likewise. | |
1881 | ||
1882 | 2006-11-20 Roman Kennke <kennke@aicas.com> | |
1883 | ||
1884 | * javax/swing/text/html/StyleSheet.java | |
1885 | (linked): New field. | |
1886 | (styleSheet): Replaced by linked. | |
1887 | (addStyleSheet): Use an arraylist for simplicity. | |
1888 | (getRule): Removed useless instantiation. | |
1889 | (getStyleSheets): Convert array list to array. | |
1890 | (removeStyleSheet): Use an arraylist for simplicity. | |
1891 | (resolveStyle): Include styles from linked lists. | |
1892 | ||
1893 | 2006-11-20 Roman Kennke <kennke@aicas.com> | |
1894 | ||
1895 | * javax/swing/text/BoxView.java | |
1896 | (BoxView): Initialize with invalid req's. | |
1897 | (forwardUpdate): Trigger repaint when children changed the | |
1898 | major axis. | |
1899 | (getResizeWeight): Return resizable when the pref differs from | |
1900 | the min or the pref differs from the max size. | |
1901 | (layoutMajorAxis): Actually sum up the preferred sizes. | |
1902 | (paint): Made binary search more robust. | |
1903 | (replace): Let arrays shrink when needed. | |
1904 | (replaceLayoutArray): Let arrays shrink when needed. | |
1905 | (setAxis): Trigger preferenceChanged. | |
1906 | * javax/swing/text/CompositeView.java | |
1907 | (getInsideAllocation): Call insets method to take account | |
1908 | of overriding subclasses. | |
1909 | * javax/swing/text/DefaultStyledDocument.java | |
1910 | (ElementBuffer.finishEdit): Clear the stack and edits buffer. | |
1911 | (ElementBuffer.insertUpdate): Only remove the found element, not | |
1912 | all. | |
1913 | * javax/swing/text/GlyphView.java | |
1914 | (insertUpdate): Pass null in preferenceChanged. | |
1915 | (removeUpdate): Pass null in preferenceChanged. | |
1916 | (changedUpdate): Pass null in preferenceChanged. | |
1917 | * javax/swing/text/Utilities.java | |
1918 | (drawTabbedText): Avoid single calls to charWidth() and instead | |
1919 | call charsWidth() on whole chunks. | |
1920 | * javax/swing/text/html/HTMLDocument.java | |
1921 | (BlockElement.getName): Fall back to super when necessary. | |
1922 | (RunElement.getName): Fall back to super when necessary. | |
1923 | (HTMLReader.MAX_THRESHOLD): New constant field. | |
1924 | (HTMLReader.GROW_THRESHOLD): New constant field. | |
1925 | (HTMLReader.theshold): New field. | |
1926 | (HTMLReader.HTMLReader): Fetch threshold from document. | |
1927 | (HTMLReader.addContent): Sucessivly grow the threshold. | |
1928 | (createLeafElement): Don't create two elemens and don't set | |
1929 | attribute. | |
1930 | * javax/swing/text/html/TableView.java | |
1931 | (RowView.replace): Invalidate grid. | |
1932 | (gridValid): Made package private. | |
1933 | (layoutMinorAxis): Mark all rows as invalid. | |
1934 | (replace): Invalidate grid. | |
1935 | ||
1936 | 2006-11-20 Roman Kennke <kennke@aicas.com> | |
1937 | ||
1938 | * javax/swing/text/AbstractDocument.java | |
1939 | (DefaultDocumentEvent.changes): Changed to be a HashMap. | |
1940 | (DefaultDocumentEvent.modified): Made private. | |
1941 | (DefaultDocumentEvent.THRESHOLD): New constant field. | |
1942 | (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize | |
1943 | changes table. | |
1944 | (DefaultDocumentEvent.addEdit): Switch to hashmap only when | |
1945 | exceeding threshold. | |
1946 | (DefaultDocumentEvent.getChange): Use iterative approach | |
1947 | when we have no hashmap yet. | |
1948 | (documentCV): Removed. | |
1949 | (numWriters): Renamed from numWritersWaiting. | |
1950 | (createPosition): Reformat. | |
1951 | (getCurrentWriter): Synchronized. | |
1952 | (readLock): Implement more straightforward. | |
1953 | (readUnlock): Implement more straightforward. | |
1954 | (writeLock): Implement more straightforward. | |
1955 | (writeUnlock): Implement more straightforward. | |
1956 | (remove): Write-lock here. | |
1957 | (removeImpl): Don't write-lock here. | |
1958 | ||
1959 | 2006-11-20 Roman Kennke <kennke@aicas.com> | |
1960 | ||
1961 | * javax/swing/JEditorPane.java | |
1962 | (setPage): Set priority on loading thread. | |
1963 | ||
1964 | 2006-11-20 Roman Kennke <kennke@aicas.com> | |
1965 | ||
1966 | * javax/swing/plaf/basic/BasicTextUI.java | |
1967 | (RootView.paint): Avoid allocation. | |
1968 | (cachedInsets): New field. Caches an Insets instance. | |
1969 | (getNextVisualPositionFrom): Read-lock the document to avoid | |
1970 | thread nastiness. Push allocation. | |
1971 | (getPreferredSize): Push fake allocation when not yet laid out. | |
1972 | (getVisibleEditorRect): Use cached insets. | |
1973 | (viewToModel): Read-lock the document to avoid | |
1974 | thread nastiness. Push allocation. | |
1975 | ||
1976 | 2006-11-20 Roman Kennke <kennke@aicas.com> | |
1977 | ||
1978 | * javax/swing/text/StyleContext.java | |
1979 | (attributeSetPool): Synchronize this map. | |
1980 | (addAttribute): Synchronize this method. | |
1981 | (addAttributes: Synchronize this method. | |
1982 | (readObject): Install synchronized map on target object. | |
1983 | (removeAttribute): Synchronize this method. | |
1984 | (removeAttributes): Synchronize this method. | |
1985 | (removeAttributes): Synchronize this method. | |
1986 | ||
1987 | 2006-11-20 Roman Kennke <kennke@aicas.com> | |
1988 | ||
1989 | * javax/swing/text/GapContent.java | |
1990 | (GapContentPosition.GapContentPosition): Removed constructor. | |
1991 | (Mark): Made subclass of WeakReference to refer directly to | |
1992 | the associated position. | |
1993 | (Mark.refCount): Removed. | |
1994 | (Mark.Mark(int,GapContentPosition,ReferenceQueue): | |
1995 | New constructor. Used to reference a position and register the | |
1996 | reference queue. | |
1997 | (Mark.Mark(index)): Call super and don't adjust mark offset. | |
1998 | (Mark.compareTo): Removed. | |
1999 | (Mark.equals): Removed. | |
2000 | (Mark.getOffset): Return at least null. Removed assert. | |
2001 | (Mark.getPosition): New helper method. | |
2002 | (garbageMarks): New field. | |
2003 | (positions): Removed. | |
2004 | (searchMark): New field. | |
2005 | (GapContent): Removed init of positions map. | |
2006 | (addImpl): New helper method. | |
2007 | (adjustPositionsInRange): Removed. | |
2008 | (compare): New helper method. | |
2009 | (createPosition): Rewritten for new datastructures. This now | |
2010 | performs a much more efficient binary search for finding | |
2011 | a position at the requested offste. | |
2012 | (garbageCollect): Rewritten to collect unused marks. | |
2013 | (getPositionsInRange): Adjusted for new data structures. | |
2014 | (removeImpl): New helper method. | |
2015 | (replace): Use new addImpl() and removeImpl() helper method for | |
2016 | correctly adjusting the positions and gap. | |
2017 | (search): Rewritten. Implements a more suitable binary search. | |
2018 | (searchFirst): New helper method. | |
2019 | (setPositionsInRange): Removed. | |
2020 | (shiftEnd): Update the marks here. | |
2021 | (shiftGap): Update the marks here. | |
2022 | (shiftGapEndUp): Update the marks here. | |
2023 | (shiftGapStartDown): Update the marks here. | |
2024 | ||
2025 | 2006-11-20 Marco Trudel <mtrudel@gmx.ch> | |
2026 | ||
2027 | * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache | |
2028 | digest algorithm implementations. | |
2029 | (readSignatures): Parse the manifest once and reuse that data. | |
2030 | Add support for line breaks. | |
2031 | (verifyHashes): Use the parsed manifest entry. | |
2032 | (readManifestEntry): Removed. | |
2033 | ||
2034 | 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
2035 | ||
2036 | * java/beans/beancontext/BeanContextServicesSupport.java: | |
2037 | Added more documentation. | |
2038 | (addService(Class,BeanContextServiceProvider,boolean)): | |
2039 | Synchronized over global hierarchy lock. | |
2040 | (bcsPreDeserializationHook(ObjectInputStream)): Implemented. | |
2041 | (bcsPreSerializationHook(ObjectOutputStream)): Implemented. | |
2042 | (childJustRemovedHook(Object,BCSChild)): Implemented. | |
2043 | (createBCSSServiceProvider(Class,BeanContextServiceProvider)): | |
2044 | Implemented. | |
2045 | (fireServiceRevoked(BeanContextServiceRevokedEvent)): | |
2046 | Added revocation-only listeners. | |
2047 | (getBeanContextServicesPeer()): Implemented. | |
2048 | (getCurrentServiceClasses(Class)): Synchronized over global | |
2049 | hierarchy lock. | |
2050 | (getCurrentServiceSelectors(Class)): Synchronized over global | |
2051 | hierarchy lock, and fixed FIXME. | |
2052 | (getService(BeanContextChild,Object,Class,Object, | |
2053 | BeanContextServiceRevokedListener)): Implemented. | |
2054 | (hasService(Class)): Synchronized over global hierarchy lock. | |
2055 | (releaseService(BeanContextChild,Object,Object)): Implemented. | |
2056 | (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented. | |
2057 | * java/beans/beancontext/BeanContextSupport.java: | |
2058 | (remove(Object, boolean)): Documentation correction. | |
2059 | ||
2060 | 2006-11-19 Roman Kennke <kennke@aicas.com> | |
2061 | ||
2062 | * javax/swing/JEditorPane.java | |
2063 | (PageStream): New inner class. | |
2064 | (PageLoader): New inner class. | |
2065 | (loading): New field. | |
2066 | (setPage): Implemented asynchronous loading. | |
2067 | * javax/swing/text/DefaultStyledDocument.java | |
2068 | (ElementBuffer.create): New helper method. | |
2069 | (create): Use new ElementBuffer method instead of hack. | |
2070 | * javax/swing/text/html/HTMLDocument.java | |
2071 | (HTMLReader.flushImpl): New helper method. | |
2072 | (HTMLReader.addContent): Use flushImpl(). | |
2073 | (HTMLReader.blockClose): Added null check. | |
2074 | (HTMLReader.flush): Use flushImpl(). | |
2075 | * javax/swing/text/html/HTMLEditorKit.java | |
2076 | (createDefaultDocument): Set load priority to 4 and token threshold | |
2077 | to 100. | |
2078 | * javax/swing/text/html/TableView.java | |
2079 | (insertUpdate): Overridden to provide correct view factory. | |
2080 | (removeUpdate): Overridden to provide correct view factory. | |
2081 | (changedUpdate): Overridden to provide correct view factory. | |
2082 | ||
2083 | 2006-11-19 Roman Kennke <kennke@aicas.com> | |
2084 | ||
2085 | * javax/swing/text/BoxView.java | |
2086 | (clipRect): New field. | |
2087 | (tmpRect): New field. | |
2088 | (layout): Reorganized code. Now uses layoutAxis() helper method. | |
2089 | (layoutAxis): New helper method. | |
2090 | (paint): Optimized by using cached Rectangle objects and | |
2091 | a binary search for child views inside the clip. | |
2092 | * javax/swing/text/CompositeView.java | |
2093 | (insideAllocation): Made private and initialized in constructor. | |
2094 | (getInsideAllocation): Removed initialization block for | |
2095 | insideAllocation field. Avoid unnecessary allocations. | |
2096 | * javax/swing/text/GlyphView.java | |
2097 | (DefaultGlyphPainter.paint): Only paint the actual glyphs here | |
2098 | The remaining stuff (background, underline and striking) is | |
2099 | done in the GlpyhView itself. Avoid unnecessary allocations. | |
2100 | (cached): A cached Segment instance. | |
2101 | (getText): Return cached segment. | |
2102 | (paint): Paint underline, strike and background here. Avoid | |
2103 | unecessary allocs. | |
2104 | ||
2105 | 2006-11-19 Roman Kennke <kennke@aicas.com> | |
2106 | ||
2107 | * javax/swing/text/html/StyleSheet.java | |
2108 | (getFontSize): Removed debug output. | |
2109 | (ListPainter.tmpRect): New field. | |
2110 | (ListPainter.paint): Align bullet vertically centered to | |
2111 | the first line of the paragraph. | |
2112 | ||
2113 | 2006-11-17 Roman Kennke <kennke@aicas.com> | |
2114 | ||
2115 | * gnu/javax/swing/text/html/css/CSSParser.java | |
2116 | (parseDeclaration): Trim string before reporting. | |
2117 | * gnu/javax/swing/text/html/css/FontSize.java | |
2118 | (size): New field. | |
2119 | (isRelative): New field. | |
2120 | (sizeIndex): New field. | |
2121 | (FontSize): Initialize new fields. | |
2122 | (getValue): Changed to call getValue(int). | |
2123 | (getValue(int)): New method. Implements relative font sizes. | |
2124 | (isRelative): New method. | |
2125 | (mapAbsolute): Store index. | |
2126 | (mapEM): New helper method. | |
2127 | (mapLarger): New helper method. | |
2128 | (mapPercent): New helper method. | |
2129 | (mapRelative): New helper method. | |
2130 | (mapSmaller): New helper method. | |
2131 | (mapValue): New helper method. | |
2132 | * javax/swing/text/html/CSS.java | |
2133 | (parseBackgroundShorthand): Create CSSColor directly. | |
2134 | * javax/swing/text/html/StyleSheet.java | |
2135 | (addRule): Invalidate resolved styles. | |
2136 | (getFont): Call new getFontSize() method to resolve relative | |
2137 | font sizes. | |
2138 | (getFontSize): New helper method. Resolves relative font sizes. | |
2139 | (translateHTMLToCSS): Create CSS objects directly. | |
2140 | ||
2141 | 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
2142 | ||
2143 | * gnu/java/util/regex/RETokenNamedProperty.java: | |
2144 | (getHandler(String)): Add support for 'all'. | |
2145 | ||
2146 | 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
2147 | ||
2148 | * gnu/javax/management/Server.java: | |
2149 | Initial implementation of a GNU management server. | |
2150 | * javax/management/MBeanPermission.java, | |
2151 | * javax/management/MBeanRegistration.java, | |
2152 | * javax/management/MBeanTrustPermission.java: | |
2153 | Implemented. | |
2154 | ||
2155 | 2006-11-17 Mark Wielaard <mark@klomp.org> | |
2156 | ||
2157 | * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement. | |
2158 | ||
2159 | 2006-11-17 Gary Benson <gbenson@redhat.com> | |
2160 | ||
2161 | * java/net/DatagramSocket.java (getLocalAddress, connect, | |
2162 | receive): Perform security check on address not hostname. | |
2163 | ||
2164 | 2006-11-16 Roman Kennke <kennke@aicas.com> | |
2165 | ||
2166 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
2167 | (_handleText): Fixed condition for consuming whitespace. | |
2168 | Removed validator check, this is superfluous now. | |
2169 | ||
2170 | 2006-11-16 Roman Kennke <kennke@aicas.com> | |
2171 | ||
2172 | * gnu/javax/swing/text/html/css/CSSParser.java | |
2173 | (parseRuleset): Support 'combined' selectors. | |
2174 | (main): Adapt callback for combined selectors support. | |
2175 | * gnu/javax/swing/text/html/css/CSSParserCallback.java | |
2176 | (startStatement): Take selector array as argument, to | |
2177 | support combined selectors. | |
2178 | * javax/swing/text/html/BlockView.java | |
2179 | (calculateMinorAxisRequirements): Fetch and apply alignment. | |
2180 | * javax/swing/text/html/StyleSheet.java | |
2181 | (CSSStyle): Inverted the constants for correct precedence. | |
2182 | (CSSStyleSheetParserCallback.styles): New field. Stores the current | |
2183 | styles. | |
2184 | (CSSStyleSheetParserCallback.style): Removed. | |
2185 | (CSSStyleSheetParserCallback.declaration): Update multiple styles. | |
2186 | (CSSStyleSheetParserCallback.end): Push multiple styles. | |
2187 | (CSSStyleSheetParserCallback.start): Initialize multiple styles. | |
2188 | ||
2189 | 2006-11-16 Roman Kennke <kennke@aicas.com> | |
2190 | ||
2191 | * javax/swing/text/FlowView.java | |
2192 | (LogicalView.getPreferredSpan): Calculate maximum correctly. | |
2193 | * javax/swing/text/GlyphView.java | |
2194 | (tabExpander): New field. | |
2195 | (tabX): New field. | |
2196 | (breakView): Set tabX on broken view. | |
2197 | (getPartialSpan): Let the painter fetch the span. | |
2198 | (getTabbedSpan): Update the tab expander field. Maybe trigger | |
2199 | relayout. | |
2200 | (getTabExpander): Simply return the stored expander. | |
2201 | * javax/swing/text/Utilities.java | |
2202 | (getTabbedTextOffset): Made algoritm a little smarter and more | |
2203 | efficient. | |
2204 | (getTabbedTextWidth): Don't add single char widths, instead add | |
2205 | chunks of characters. | |
2206 | * javax/swing/text/html/ParagraphView.java | |
2207 | (calculateMinorAxisRequirements): Adjust margin only when the | |
2208 | CSS span is not fixed. | |
2209 | ||
2210 | 2006-11-16 David Gilbert <david.gilbert@object-refinery.com> | |
2211 | ||
2212 | * java/beans/beancontext/BeanContextSupport.java | |
2213 | (getChildBeanContextMembershipListener): Implemented, | |
2214 | (getChildPropertyChangeListener): Implemented, | |
2215 | (getChildSerializable): Implemented, | |
2216 | (getChildVetoableChangeListener): Implemented, | |
2217 | (getChildVisibility): Implemented, | |
2218 | (setDesignTime): Use same property name as Sun's implementation. | |
2219 | ||
2220 | 2006-11-16 David Gilbert <david.gilbert@object-refinery.com> | |
2221 | ||
2222 | * java/beans/DesignMode.java: Reformatted and removed a FIXME, | |
2223 | * java/beans/Statement.java | |
2224 | (toString): Updated to match reference implementation. | |
2225 | ||
2226 | 2006-11-15 Roman Kennke <kennke@aicas.com> | |
2227 | ||
2228 | * javax/swing/text/html/HTMLEditorKit.java | |
2229 | (InsertHTMLTextAction.actionPerformed): Also try inserting | |
2230 | the alternate tag. Adjust the selection accordingly. | |
2231 | (InsertHTMLTextAction.adjustSelection): New helper method. | |
2232 | Adjusts the selection after an insertion. | |
2233 | (insertAtBoundary): Delegate to deprecated method. | |
2234 | (insertAtBoundry): Implemented missing method. | |
2235 | (tryInsert): New helper method. | |
2236 | (defaultActions): Implemented to fill the array with | |
2237 | a couple of InsertHTMLTextActions. | |
2238 | ||
2239 | 2006-11-15 Roman Kennke <kennke@aicas.com> | |
2240 | ||
2241 | * javax/swing/text/html/ImageView.java | |
2242 | (Observer): New class. Observes image loading. | |
2243 | (haveHeight): New field. | |
2244 | (haveWidth): New field. | |
2245 | (height): New field. | |
2246 | (width): New field. | |
2247 | (image): New field. | |
2248 | (imageIcon): New field. | |
2249 | (loading): New field. | |
2250 | (observer): New field. | |
2251 | (reloadImage): New field. | |
2252 | (reloadProperties): New field. | |
2253 | (ImageView): Initialize observer and some flags. | |
2254 | (getImage): Update the image state and return the image. | |
2255 | (loadImage): New helper method. Actually starts loading. | |
2256 | (paint): Rewritten to paint the image directly, not via Icon. | |
2257 | (reloadImage): Rewritten. Loads the image and its properties. | |
2258 | (renderIcon): Removed. No more necessary. | |
2259 | (setPropertiesFromAttributes): Don't nullify image here. | |
2260 | Added comment about missing impl. | |
2261 | (setSize): Added comment about missing impl. | |
2262 | (updateSize): New helper method. Updates the size attributes. | |
2263 | (updateState): New helper method. Makes sure the image | |
2264 | and its properties are valid. | |
2265 | ||
2266 | 2006-11-15 Roman Kennke <kennke@aicas.com> | |
2267 | ||
2268 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
2269 | (_handleEndTag_remaining): Consume whitespace after a closing | |
2270 | block like tag. | |
2271 | ||
2272 | 2006-11-15 Roman Kennke <kennke@aicas.com> | |
2273 | ||
2274 | * javax/swing/text/html/HTMLDocument.java | |
2275 | (HTMLReader.ParagraphAction.end): Call super instead of blockClose() | |
2276 | directly. | |
2277 | (HTMLReader.ParagraphAction.start): Call super instead of blockOpen() | |
2278 | directly. | |
2279 | (HTMLReader.parseStack): Removed. | |
2280 | (HTMLReader.blockClose): Simply call addContent() with ' ' | |
2281 | instead of doing more complicated stuff. Removed parseStack | |
2282 | handling. | |
2283 | (HTMLReader.blockOpen): Removed parseStack handling. | |
2284 | (getInsertingReader): Removed parseStack init. | |
2285 | * gnu/javax/swing/text/html/parser/htmlValidator.java | |
2286 | (closeTag): Return true only when the tag actually should be | |
2287 | closed. | |
2288 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
2289 | (_handleEndTag): Only actually close the tag when the validator | |
2290 | allows it. | |
2291 | ||
2292 | 2006-11-15 Roman Kennke <kennke@aicas.com> | |
2293 | ||
2294 | * javax/swing/text/html/CSS.java | |
2295 | (Attribute.BORDER_SPACING): New field for the CSS border-spacing | |
2296 | attribute. | |
2297 | * javax/swing/text/html/StyleSheet.java | |
2298 | (BoxPainter.bottomPadding): New field. | |
2299 | (BoxPainter.leftPadding): New field. | |
2300 | (BoxPainter.rightPadding): New field. | |
2301 | (BoxPainter.topPadding): New field. | |
2302 | (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes | |
2303 | too. | |
2304 | (BoxPainter.getInset): Recognize and include the padding. | |
2305 | (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING. | |
2306 | javax/swing/text/html/TableView.java | |
2307 | (RowView.calculateMajorAxisRequirements): Adjust req's for | |
2308 | cellSpacing. | |
2309 | (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing. | |
2310 | (cellSpacing): New field. | |
2311 | (columnRequirements): Made package private to avoid accessor method. | |
2312 | (calculateMinorAxisRequirements): Include cellSpacing. | |
2313 | (calculateMajorAxisRequirements): Overridden to include cellSpacing. | |
2314 | (layoutMajorAxis): Likewise. | |
2315 | (layoutColumns): Respect cellSpacing. | |
2316 | (setParent): Overridden to fetch the CSS attributes when view gets | |
2317 | connected. | |
2318 | (setPropertiesFromAttributes): New method. Fetches the cell | |
2319 | spacing from the CSS attributes. | |
2320 | ||
2321 | 2006-11-15 Roman Kennke <kennke@aicas.com> | |
2322 | ||
2323 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
2324 | (_handleText): Consume whitespace directly before a closing tag. | |
2325 | (restOfTag): Consume whitespace directly after opening. | |
2326 | * gnu/javax/swing/text/html/parser/support/textPreProcessor.java | |
2327 | (preprocess): Don't perform array boundary checking by | |
2328 | catch AIOOBE, instead check the boundary in loop condition. | |
2329 | * gnu/javax/swing/text/html/parser/support/low/Constants.java | |
2330 | (TAG_CLOSE): New constants. Describes the token pattern for | |
2331 | a closing tag. | |
2332 | ||
2333 | 2006-11-14 Roman Kennke <kennke@aicas.com> | |
2334 | ||
2335 | * javax/swing/text/html/ImageView.java | |
2336 | (getPreferredSpan): Use CSS length values. | |
2337 | * javax/swing/text/html/TableView.java | |
2338 | (CellView.calculateMajorAxisRequirements): Overridden to | |
2339 | set the maximum reqs to maximum. | |
2340 | (RowView.getMaximumSize): For the X_AXIS, set the maximum | |
2341 | span to maximum. | |
2342 | (RowView.getMinimumSpan): Overridden. For the X_AXIS, return | |
2343 | the total column reqs. | |
2344 | (RowView.getPreferredSpan): Overridden. For the X_AXIS, return | |
2345 | the total column reqs. | |
2346 | * gnu/javax/swing/text/html/css/CSSColor.java | |
2347 | (convertValue): Catch NumberFormatExceptions for more robustness. | |
2348 | * gnu/javax/swing/text/html/css/FontSize.java | |
2349 | (mapPixels): Actually map px values. Catch NFE for more robustness. | |
2350 | ||
2351 | 2006-11-14 Roman Kennke <kennke@aicas.com> | |
2352 | ||
2353 | * gnu/java/awt/font/autofit/AxisHints.java, | |
2354 | * gnu/java/awt/font/autofit/Constants.java, | |
2355 | * gnu/java/awt/font/autofit/GlyphHints.java, | |
2356 | * nu/java/awt/font/autofit/Latin.java, | |
2357 | * nu/java/awt/font/autofit/LatinAxis.java, | |
2358 | * gnu/java/awt/font/autofit/LatinMetrics.java, | |
2359 | * gnu/java/awt/font/autofit/Scaler.java, | |
2360 | * gnu/java/awt/font/autofit/Script.java, | |
2361 | * gnu/java/awt/font/autofit/ScriptMetrics.java, | |
2362 | * gnu/java/awt/font/autofit/Segment.java, | |
2363 | * gnu/java/awt/font/autofit/Width.java: | |
2364 | New classes. This is some skeleton stuff for the FreeType-alike | |
2365 | auto-gridfitter. | |
2366 | * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public. | |
2367 | * gnu/java/awt/font/opentype/OpenTypeFont.java | |
2368 | (unitsPerEm): Made field public. | |
2369 | (getRawGlyphOutline): New method. Fetches the raw outline. | |
2370 | * gnu/java/awt/font/opentype/Scaler.java | |
2371 | (getRawGlyphOutline): New method. Fetches the raw outline. | |
2372 | * gnu/java/awt/font/opentype/truetype/GlyphLoader.java | |
2373 | (loadGlyph): New method. This is used to load raw outlines. | |
2374 | * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java | |
2375 | (getRawOutline): New method. Fetches the raw outline. | |
2376 | * gnu/java/awt/font/opentype/truetype/Zone.java: | |
2377 | Made class public. | |
2378 | ||
2379 | 2006-11-14 Roman Kennke <kennke@aicas.com> | |
2380 | ||
2381 | * javax/swing/RepaintManager.java | |
2382 | (RepaintManager): Fetch the default state for the double buffering | |
2383 | from a system property gnu.swing.doublebuffering. | |
2384 | ||
2385 | 2006-11-14 Roman Kennke <kennke@aicas.com> | |
2386 | ||
2387 | * javax/swing/plaf/basic/BasicLabelUI.java | |
2388 | (cachedInsets): New field. | |
2389 | (getFontMetrics): New helper method. Fetches the font metrics | |
2390 | from the component or the toolkit. | |
2391 | (getPreferredSize): Use getFontMetrics() helper method for | |
2392 | fetching the font metrics. | |
2393 | (paint): Use getFontMetrics() helper method for | |
2394 | fetching the font metrics. Only paint if icon or text | |
2395 | are != null. Use cached insets. | |
2396 | (paintDisabledText): Don't store/restore color object. The | |
2397 | JComponent painting mechanism takes care of this by calling | |
2398 | create(). | |
2399 | (paintEnabledText): Don't store/restore color object. The | |
2400 | JComponent painting mechanism takes care of this by calling | |
2401 | create(). | |
2402 | ||
2403 | 2006-11-14 Roman Kennke <kennke@aicas.com> | |
2404 | ||
2405 | * gnu/java/awt/peer/GLightweightPeer.java | |
2406 | (handleEvent): Try to do something reasonable and trigger painting | |
2407 | for the lightweight component. | |
2408 | (getFontMetrics): Fetch and return a font metrics object from | |
2409 | the Toolkit. | |
2410 | ||
2411 | 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
2412 | ||
2413 | * gnu/java/util/regex/RETokenNamedProperty.java: | |
2414 | (getHandler(String)): Add support for 'all'. | |
2415 | ||
2416 | 2006-11-13 Andreas Tobler <a.tobler@schweiz.org> | |
2417 | ||
2418 | * AUTHORS: Add myself. | |
2419 | ||
2420 | 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2421 | ||
2422 | * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and | |
2423 | Dalibor Topic. Re-order 'K' section. Remove trailing space from | |
2424 | Roman Kennke's entry. | |
2425 | ||
2426 | 2006-11-13 Roman Kennke <kennke@aicas.com> | |
2427 | ||
2428 | * java/awt/image/IndexColorModel.java | |
2429 | (createCompatibleSampleModel): Implemented missing method. | |
2430 | ||
2431 | 2006-11-11 Andreas Tobler <a.tobler@schweiz.org> | |
2432 | ||
2433 | * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data | |
2434 | from big endian systems correctly. | |
2435 | ||
2436 | 2006-11-11 Roman Kennke <kennke@aicas.com> | |
2437 | ||
2438 | * gnu/javax/swing/text/html/css/CSSColor.java | |
2439 | (isValidColor): New helper method. Checks strings if they | |
2440 | form a valid color value. | |
2441 | * gnu/javax/swing/text/html/css/Length.java | |
2442 | (Length): Catch number format exceptions. | |
2443 | * javax/swing/text/html/CSS.java | |
2444 | (addInternal): New method. Checks for shorthand CSS attributes | |
2445 | and parses them. | |
2446 | (parseBackgroundShorthand): New method. Parses the background | |
2447 | shorthand attribute. | |
2448 | * javax/swing/text/html/HTMLDocument.java | |
2449 | (HTMLReader.LinkAction): Made class a subclass of HiddenAction. | |
2450 | (HTMLReader.LinkAction.start): Implemented to load the linked | |
2451 | stylesheet. | |
2452 | (HTMLReader.LinkAction.end): Removed. This is not needed. | |
2453 | * javax/swing/text/html/StyleSheet.java | |
2454 | (CSSStyleSheetParserCallback.declaration): Push declaration | |
2455 | through CSS.addInternal() to parse shorthand attributes. | |
2456 | (addCSSAttribute): Push declaration through CSS.addInternal() | |
2457 | to parse shorthand attributes. | |
2458 | (importStyleSheet): Implemented. This adds a stylesheet from | |
2459 | an URL. | |
2460 | * javax/swing/text/html/TableView.java | |
2461 | (calculateColumnRequirements): Increase column index for | |
2462 | non CellView children to avoid endless loop. | |
2463 | * javax/swing/text/CompositeView.java | |
2464 | (setParent): Comparen with numChildren not with real arraylength. | |
2465 | ||
2466 | 2006-11-11 David Gilbert <david.gilbert@object-refinery.com> | |
2467 | ||
2468 | * java/beans/beancontext/BeanContextSupport.java | |
2469 | (getChildBeanContextChild): Implemented. | |
2470 | ||
2471 | 2006-11-10 Roman Kennke <kennke@aicas.com> | |
2472 | ||
2473 | * javax/swing/text/View.java | |
2474 | (updateLayout): Only repaint when needed. | |
2475 | ||
2476 | 2006-11-10 David Gilbert <david.gilbert@object-refinery.com> | |
2477 | ||
2478 | * java/util/Collections.java | |
2479 | (sort(List)): Minor API doc addition, | |
2480 | (sort(List, Comparator)): Likewise. | |
2481 | ||
2482 | 2006-11-10 David Fu <fchoong@netbeans.jp> | |
2483 | ||
2484 | * javax/swing/text/html/HTMLWriter.java | |
2485 | (traverse): Removed Classpath specific handling of implied | |
2486 | tags. | |
2487 | (traverseHtmlFragment): Removed Classpath specific handling of | |
2488 | implied tags. | |
2489 | ||
2490 | 2006-11-10 Roman Kennke <kennke@aicas.com> | |
2491 | ||
2492 | * javax/swing/text/ParagraphView.java | |
2493 | (Row.getMaximumSize): Removed. This method is not necessary. | |
2494 | * javax/swing/text/html/TableView.java | |
2495 | (CellView): Moved attribute init to setPropertiesFromAttributes(). | |
2496 | (setPropertiesFromAttributes): Fetch attributes here. | |
2497 | (RowView.RowView): Documented. | |
2498 | (RowView.getMaximumSpan): Overridden to restrict the max span | |
2499 | in the Y direction. | |
2500 | (RowView.layoutMajorAxis): Correctly layout the spans. | |
2501 | (columnWidths): New field. Stores the width attributes of | |
2502 | the columns. | |
2503 | (calculateColumnRequirements): Added support for relative | |
2504 | (== percent) width attributes. | |
2505 | (calculateMajorAxisRequirements): Removed. | |
2506 | (calculateMinorAxisRequirements): Removed unnecessary code. | |
2507 | (getMaximumSpan): Overridden to restrict the table's width. | |
2508 | (layoutColumns): Documented. Implement more clever table layout, | |
2509 | i.e. for relative columns etc. | |
2510 | (layoutMinorAxis): Don't mark rows invalid. | |
2511 | (updateGrid): Added docs. Initialize column widths. | |
2512 | ||
2513 | 2006-11-09 Roman Kennke <kennke@aicas.com> | |
2514 | ||
2515 | * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment, | |
2516 | * gnu/java/awt/peer/headless/HeadlessToolkit: New classes. | |
2517 | Implement basic headless toolkit. | |
2518 | * java/awt/Toolkit.java | |
2519 | (getDefaultToolkit): Check headless property and create | |
2520 | headless toolkit when true. | |
2521 | ||
2522 | 2006-11-09 Ingo Proetel <proetel@aicas.com> | |
2523 | 2006-11-09 Roman Kennke <kennke@aicas.com> | |
2524 | ||
2525 | * gnu/java/awt/peer/swing/SwingButtonPeer.java | |
2526 | (SwingButton.button): New field. | |
2527 | (SwingButton.SwingButton): Added constructor. | |
2528 | (SwingButton.isShowing): Access button field instead of | |
2529 | the surrounding class. | |
2530 | (SwingButton.getParent): Access button field instead of | |
2531 | the surrounding class. | |
2532 | (SwingButtonPeer): Call new SwingButton constructor. | |
2533 | * gnu/java/awt/peer/swing/SwingComponent.java: | |
2534 | Several documentation updates. | |
2535 | * gnu/java/awt/peer/swing/SwingComponentPeer.java | |
2536 | (currentPaintEvents): New field. | |
2537 | (peerFont): New field. | |
2538 | (SwingComponentPeer): Initialize currentPaintEvents fields. | |
2539 | (coalescePaintEvents): Implemented. | |
2540 | (dispose): Unregister peer from heavyweight list of its container. | |
2541 | (getGraphics): Fetch graphics from parent component. | |
2542 | (handleEvent): Discard paint event if its coalesced. | |
2543 | (init): Register component with its container for proper painting. | |
2544 | (paint): Call peerPaint(). | |
2545 | (peerPaint): Added argument that indicates if we should update. | |
2546 | Call paint or update on the actual AWT component. | |
2547 | (peerPaintComponent): New method. Paints the peer (Swing) component. | |
2548 | (setFont): Set peerFont field. | |
2549 | * gnu/java/awt/peer/swing/SwingContainerPeer.java | |
2550 | (backbuffer): New field. | |
2551 | (focusOwner): New field. | |
2552 | (heavyweightDescendents): New field. | |
2553 | (SwingContainerPeer): Take Container as argument. Don't call init | |
2554 | yet. | |
2555 | (addHeavyweightDescendent): New method. | |
2556 | (getFocusOwner): New helper method. | |
2557 | (getInsets): Delegate to insets(). | |
2558 | (handleKeyEvent): Dispatch event to focus owner. | |
2559 | (handleMouseEvent): Dispatch to child component. | |
2560 | (isDoubleBuffering): New helper method. | |
2561 | (peerPaint): Overridden to implement container painting with | |
2562 | double buffering. | |
2563 | (peerPaintChildren): New method. Paints the descendents of this | |
2564 | container. | |
2565 | (removeHeavyweightDescendent): New helper method. | |
2566 | * gnu/java/awt/peer/swing/SwingFramePeer.java | |
2567 | (peerPaint): Removed. | |
2568 | (peerPaintComponent): Overridden to paint the menu bar. | |
2569 | * gnu/java/awt/peer/swing/SwingLabelPeer.java | |
2570 | (SwingLabel.label): New field. | |
2571 | (SwingLabel.SwingLabel): Added constructor with Label argument. | |
2572 | (SwingLabel.getGraphics): Implemented to fetch the graphics from | |
2573 | the actual AWT component. | |
2574 | (SwingLabel.getParent): Implemented to fetch the parent from | |
2575 | the AWT component. | |
2576 | (SwingLabel.isShowing): Access the label field. | |
2577 | (SwingLabelPeer): Set alignment from label. | |
2578 | * gnu/java/awt/peer/swing/SwingListPeer.java: New class. | |
2579 | * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation | |
2580 | fixlet. | |
2581 | * gnu/java/awt/peer/swing/SwingPanelPeer.java: | |
2582 | Don't be a lighweight peer. | |
2583 | (SwingPanelPeer): Call init. | |
2584 | * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class. | |
2585 | * gnu/java/awt/peer/swing/SwingTextFieldPeer.java | |
2586 | (SwingTextField.textField): New field. | |
2587 | (SwingTextField.SwingTextField): New constructor. | |
2588 | (SwingTextField.isShowing): Access field not enclosing class. | |
2589 | (SwingTextField.getGraphics): New method. | |
2590 | (SwingTextField.getParent): New method. | |
2591 | (SwingTextFieldPeer): Call new constructor. | |
2592 | (select): Renamed arguments. | |
2593 | * gnu/java/awt/peer/swing/SwingWindowPeer.java | |
2594 | (SwingWindowPeer): Call init. | |
2595 | ||
2596 | 2006-11-09 Tania Bento <tbento@redhat.com> | |
2597 | ||
2598 | * javax/swing/JLabel.java | |
2599 | (JLabel(Icon)): Changed documentation; Changed text to null. | |
2600 | (JLabel(Icon,int)): Likewise. | |
2601 | (JLabel(text)): Changed documenation. | |
2602 | (JLabel(text,int)): Likewise. | |
2603 | (JLabel(text,Icon,int)): Changed documentation; Throw | |
2604 | IllegalArgumentException if int is not one of LEFT, RIGHT, | |
2605 | CENTER, LEADING or TRAILING. | |
2606 | ||
2607 | 2006-11-09 David Gilbert <david.gilbert@object-refinery.com> | |
2608 | ||
2609 | * java/beans/beancontext/BeanContextSupport.java | |
2610 | (BeanContextSupport): Use correct dtime default, | |
2611 | (BeanContextSupport(BeanContext)): Likewise, | |
2612 | (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed | |
2613 | locale argument, | |
2614 | (BeanContextSupport(BeanContext, Locale, boolean)): Likewise, | |
2615 | (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise. | |
2616 | ||
2617 | 2006-11-09 David Gilbert <david.gilbert@object-refinery.com> | |
2618 | ||
2619 | * java/beans/beancontext/BeanContextSupport.java | |
2620 | (getBeanContextPeer): Implemented. | |
2621 | ||
2622 | 2006-11-09 Roman Kennke <kennke@aicas.com> | |
2623 | ||
2624 | * javax/swing/text/html/BlockView.java | |
2625 | (cssHeight): Removed. | |
2626 | (cssWidth): Removed. | |
2627 | (cssSpans): New field. Replaces the two fields above. | |
2628 | (BlockView): Allocate cssSpans array. | |
2629 | (layoutMinorAxis): Fetch and use child span, not this view's span. | |
2630 | (setCSSSpan): Adjusted to use cssSpans array. | |
2631 | (setPropertiesFromAttributes): Adjusted to use cssSpans array. | |
2632 | ||
2633 | 2006-11-09 Roman Kennke <kennke@aicas.com> | |
2634 | ||
2635 | * javax/swing/text/html/InlineView.java | |
2636 | (nowrap): New field. | |
2637 | (getBreakWeight): Add support for nowrap. | |
2638 | (setPropertiesFromAttributes): Fetch the nowrap setting. | |
2639 | ||
2640 | 2006-11-09 Roman Kennke <kennke@aicas.com> | |
2641 | ||
2642 | * gnu/javax/swing/text/html/css/CSSParser.java | |
2643 | (parseRuleset): Use new Selector class. | |
2644 | (parseValue): Parse multiple anys, not only one. | |
2645 | (main): Allow stylesheet be specified on the command line. | |
2646 | Use new Selector class. | |
2647 | * gnu/javax/swing/text/html/css/CSSParserCallback.java | |
2648 | (startStatement): Use Selector class. | |
2649 | * gnu/javax/swing/text/html/css/CSSScanner.java | |
2650 | (readName): Actually read a character in the loop to avoid | |
2651 | endless loop. | |
2652 | * gnu/javax/swing/text/html/css/Length.java | |
2653 | (getValue): Only multiply when we have a percentage value. | |
2654 | * gnu/javax/swing/text/html/css/Selector.java: | |
2655 | New class. Provides handling of CSS selectors. | |
2656 | * javax/swing/text/html/StyleSheet.java | |
2657 | (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field. | |
2658 | (CSSStyle.PREC_AUTHOR_NORMAL): New constant field. | |
2659 | (CSSStyle.PREC_NORM): New constant field. | |
2660 | (CSSStyle.PREC_UA): New constant field. | |
2661 | (CSSStyle.PREC_USER_IMPORTANT): New constant field. | |
2662 | (CSSStyle.precedence): New field. | |
2663 | (CSSStyle.priority): Removed. | |
2664 | (CSSStyle.selector): New field. | |
2665 | (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector | |
2666 | and precendence. | |
2667 | (CSSStyle.compareTo): Adjusted to use the precedence and | |
2668 | specificity of the selector. | |
2669 | (CSSStyleSheetParserCallback.precedence): New field. | |
2670 | (CSSStyleSheetParserCallback.selector): Removed. | |
2671 | (CSSStyleSheetParserCallback.style): New field. | |
2672 | (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback): | |
2673 | Initialize with precedence. | |
2674 | (CSSStyleSheetParserCallback.declaration): Don't look up | |
2675 | existing rule, simply create new one. | |
2676 | (CSSStyleSheetParserCallback.endStatement): Append style | |
2677 | to stylesheet. | |
2678 | (CSSStyleSheetParserCallback.startStatement): Use new Selector | |
2679 | class. | |
2680 | (css): Changed to be ArrayList. | |
2681 | (addRule): Create parser with author-normal precendence. | |
2682 | (getRule): Fixed implementation. | |
2683 | (loadRules): Create parser with UA precendence. | |
2684 | (resolveStyle): Use Selector class for resolving and matching | |
2685 | stylesheet rules. | |
2686 | (translateHTMLToCSS): Added mappings for a couple of HTML | |
2687 | attributes. | |
2688 | ||
2689 | 2006-11-09 David Gilbert <david.gilbert@object-refinery.com> | |
2690 | ||
2691 | Fixes bug #29770 | |
2692 | * java/beans/SimpleBeanInfo.java | |
2693 | (loadImage): Check for nulls. | |
2694 | ||
2695 | 2006-11-09 Robert Schuster <robertschuster@fsfe.org> | |
2696 | ||
2697 | * native/jni/java-nio/gnu_java_nio_VMChannel.c: | |
2698 | (getpeername): Added 16 byte offset to memcpy operation. | |
2699 | ||
2700 | 2006-11-09 Robert Schuster <robertschuster@fsfe.org> | |
2701 | ||
2702 | * native/jni/java-nio/gnu_java_nio_VMChannel.c: | |
2703 | (getsockname): Added 16 byte offset to memcpy operation. | |
2704 | ||
2705 | 2006-11-08 Mark Wielaard <mark@klomp.org> | |
2706 | ||
2707 | Fixes bug #29754 | |
2708 | * java/io/OutputStreamWriter.java | |
2709 | (OutputStreamWriter(OutputStream,Charset)): Set encodingName. | |
2710 | (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise. | |
2711 | ||
2712 | 2006-11-08 Roman Kennke <kennke@aicas.com> | |
2713 | ||
2714 | * javax/swing/text/html/HTMLEditorKit.java | |
2715 | (getParser): Use plain HTML_401F DTD. | |
2716 | * javax/swing/text/html/HTMLDocument.java | |
2717 | (HTMLReader.print): Removed method and all calls to it. | |
2718 | (HTMLReader.printBuffer): Removed method and all calls to it. | |
2719 | (HTMLReader.inImpliedParagraph): New field. | |
2720 | (HTMLReader.inParagraph): New field. | |
2721 | (HTMLReader.addContent): Create implied p-tag if necessary. | |
2722 | (HTMLReader.addSpecialElement): Create implied p-tag if necessary. | |
2723 | (HTMLReader.blockClose): Close implied p-tag if necessary. | |
2724 | (HTMLReader.blockOpen): Close implied p-tag if necessary. | |
2725 | * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed. | |
2726 | ||
2727 | 2006-11-08 Roman Kennke <kennke@aicas.com> | |
2728 | ||
2729 | * javax/swing/text/html/HTMLEditorKit.java | |
2730 | (HTMLFactory.create): Removed mapping for TD tag. This | |
2731 | is done in TableView. | |
2732 | * javax/swing/text/html/TableView.java: | |
2733 | Implemented from scratch. | |
2734 | ||
2735 | 2006-11-07 Roman Kennke <kennke@aicas.com> | |
2736 | ||
2737 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
2738 | (_handleText): Check if text content is actually allowed before | |
2739 | passing empty text fragments on to the parser callbacks. | |
2740 | ||
2741 | 2006-11-07 Mark Wielaard <mark@klomp.org> | |
2742 | ||
2743 | * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar | |
2744 | path. | |
2745 | (flat): New method. | |
2746 | ||
2747 | 2006-11-07 Tania Bento <tbento@redhat.com> | |
2748 | ||
2749 | * java/awt/FlowLayout.java | |
2750 | (getSize): If parent does not have a component, then a | |
2751 | different formula is used to calcuate the width. | |
2752 | ||
2753 | 2006-11-07 Roman Kennke <kennke@aicas.com> | |
2754 | ||
2755 | * javax/swing/text/html/HTMLEditorKit.java | |
2756 | (HTMLFactory.create): Include ListView. | |
2757 | * javax/swing/text/html/ListView.java | |
2758 | (paint): Removed comment. | |
2759 | * javax/swing/text/html/StyleSheet.java | |
2760 | (CSSStyle.priority): New field. | |
2761 | (CSSStyle.CSSStyle(int)): New constructor with priority. | |
2762 | (CSSStyle.compareTo): New method. Used for sorting the styles. | |
2763 | (CSSStyleSheetParserCallback.declaration): Store the style | |
2764 | with the complete selector. | |
2765 | (ListPainter.attributes): Renamed as field. | |
2766 | (ListPainter.styleSheet): New field. | |
2767 | (ListPainter.type): New field. | |
2768 | (ListPainter.ListPainter): Pass StyleSheet to constructor. | |
2769 | (ListPainter.paint): Provide simplistic implementation. | |
2770 | (getListPainter): Pass StyleSheet to constructor. | |
2771 | (resolveStyle): Fixed CSS style resolving. | |
2772 | ||
2773 | 2006-11-07 Roman Kennke <kennke@aicas.com> | |
2774 | ||
2775 | * gnu/javax/swing/text/html/css/BorderWidth.java: | |
2776 | New class. Handles CSS border width values. | |
2777 | * gnu/javax/swing/text/html/css/Length.java | |
2778 | (floatValue): Made protected so that BorderWidth can access it. | |
2779 | * javax/swing/text/html/CSS.java | |
2780 | (Attribute.BORDER_BOTTOM_COLOR): New static field. | |
2781 | (Attribute.BORDER_BOTTOM_STYLE): New static field. | |
2782 | (Attribute.BORDER_LEFT_COLOR): New static field. | |
2783 | (Attribute.BORDER_LEFT_STYLE): New static field. | |
2784 | (Attribute.BORDER_RIGHT_COLOR): New static field. | |
2785 | (Attribute.BORDER_RIGHT_STYLE): New static field. | |
2786 | (Attribute.BORDER_TOP_COLOR): New static field. | |
2787 | (Attribute.BORDER_TOP_STYLE): New static field. | |
2788 | (getValue): Added some mappings for the border color and | |
2789 | border width values. | |
2790 | * javax/swing/text/html/CSSBorder.java: New class. Implements | |
2791 | CSS borders. | |
2792 | * javax/swing/text/html/StyleSheet.java | |
2793 | (BoxPainter.background): New field. | |
2794 | (BoxPainter.border): New field. | |
2795 | (BoxPainter.bottomInset): Documented. | |
2796 | (BoxPainter.leftInset): Documented. | |
2797 | (BoxPainter.rightInset): Documented. | |
2798 | (BoxPainter.topInset): Documented. | |
2799 | (BoxPainter.BoxPainter): Added support for borders and background. | |
2800 | (BoxPainter.getInset): Add border insets. | |
2801 | (BoxPainter.paint): Implemented. Paints the background and the | |
2802 | CSS border. | |
2803 | (addRule): Be less picky about parse and IO exceptions. | |
2804 | (getBoxPainter): Adjust to new BoxPainter constructor. | |
2805 | ||
2806 | 2006-11-07 Andreas <a.tobler@schweiz.org> | |
2807 | ||
2808 | * examples/Makefile.am: Add rule to install the *.html files we use | |
2809 | in the Swing Demo. | |
2810 | ||
2811 | 2006-11-06 Francis Kung <fkung@redhat.com> | |
2812 | ||
2813 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
2814 | (fillRect): Handle custom composites. | |
2815 | (drawRenderedImage): Handle custom composites. | |
2816 | (drawImage): Handle custom composites. | |
2817 | (createBuffer): New method. | |
2818 | (drawLine): Handle custom composites. | |
2819 | (drawComposite): New method. | |
2820 | (fill): Handle custom composites. | |
2821 | (getNativeCM): New method. | |
2822 | (drawGlyphVector): Handle custom composites. | |
2823 | (drawRect): Handle custom composites. | |
2824 | (draw): Handle custom composites. | |
2825 | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java | |
2826 | (drawComposite): Unset composite during draw call, to prevent parent | |
2827 | from handling composite again. | |
2828 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
2829 | (getBufferCM): Added comments. | |
2830 | (getNativeCM): Made abstract. | |
2831 | (setComposite): Removed comments. | |
2832 | ||
2833 | 2006-11-06 Roman Kennke <kennke@aicas.com> | |
2834 | ||
2835 | * examples/gnu/classpath/examples/swing/HtmlDemo.java: | |
2836 | Fixed initial window size and start document. | |
2837 | ||
2838 | 2006-11-06 Roman Kennke <kennke@aicas.com> | |
2839 | ||
2840 | * javax/swing/text/html/HTMLDocument.java | |
2841 | (HTMLReader.addSpecialElement): Removed comment about | |
2842 | htmlAttributeSet. | |
2843 | (HTMLReader.handleComment): Create SimpleAttributeSet instead | |
2844 | of htmlAttributeSet. | |
2845 | * javax/swing/text/html/parser/DocumentParser.java | |
2846 | (gnuParser.handleStartTag): Use SimpleAttributeSet instead | |
2847 | of htmlAttributeSet. | |
2848 | * javax/swing/text/html/parser/ParserDelegator.java | |
2849 | (gnuParser.handleStartTag): Use SimpleAttributeSet instead | |
2850 | of htmlAttributeSet. | |
2851 | * gnu/javax/swing/text/html/parser/GnuParserDelegator.java | |
2852 | (gnuParser.handleStartTag): Use SimpleAttributeSet instead | |
2853 | of htmlAttributeSet. | |
2854 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
2855 | (getAttributes): Return a SimpleAttributeSet. | |
2856 | (restOfTag): Don't set resolving parent here. | |
2857 | ||
2858 | 2006-11-06 Tania Bento <tbento@redhat.com> | |
2859 | ||
2860 | * java/awt/TextComponent.java | |
2861 | (setSelectionStart): Added check. | |
2862 | ||
2863 | 2006-11-06 Tania Bento <tbento@redhat.com> | |
2864 | ||
2865 | * java/awt/TextField.java | |
2866 | (minimumSize(int)): Check if minimum size has been previously | |
2867 | set and changed values of Dimension returned if peer == null. | |
2868 | (preferredSize(int)): Check if preferred size has been previously | |
2869 | set and changed values of Dimension returned if peer == null. | |
2870 | ||
2871 | 2006-11-06 Roman Kennke <kennke@aicas.com> | |
2872 | ||
2873 | * javax/swing/JTree.java | |
2874 | (TreeModelHandler.treeNodesRemoved): Implemented. | |
2875 | (TreeModelHandler.treeStructureChanged): Implemented. | |
2876 | (nodeStates): Made package private. | |
2877 | ||
2878 | 2006-11-06 Francis Kung <fkung@redhat.com> | |
2879 | ||
2880 | PR 29420 | |
2881 | * javax/swing/JTree.java | |
2882 | (clearSelectionPathStates): New private method to clean up nodeStates. | |
2883 | (removeSelectionPath): Call clearSelectionPathStates(). | |
2884 | (removeSelectionPaths): Call clearSelectionPathStates(). | |
2885 | (removeSelectionRow): Call clearSelectionPathStates(). | |
2886 | (setSelectionPath): Call clearSelectionPathStates(). | |
2887 | (setSelectionPaths): Call clearSelectionPathStates(). | |
2888 | (setSelectionRow): Call clearSelectionPathStates(). | |
2889 | ||
2890 | 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
2891 | ||
2892 | Fixes bug #29703 | |
2893 | * java/util/regex/Matcher.java(reset): Reset inputCharIndexed. | |
2894 | ||
2895 | 2006-11-06 Roman Kennke <kennke@aicas.com> | |
2896 | ||
2897 | * examples/gnu/classpath/examples/swing/HtmlDemo.java: | |
2898 | Changed to implement a minimalistic browser. | |
2899 | * examples/gnu/classpath/examples/swing/forms.html, | |
2900 | * examples/gnu/classpath/examples/swing/textstyles.html, | |
2901 | * examples/gnu/classpath/examples/swing/welcome.html: | |
2902 | Some example content. | |
2903 | ||
2904 | 2006-11-06 Roman Kennke <kennke@aicas.com> | |
2905 | ||
2906 | * javax/swing/text/ComponentView.java | |
2907 | (setParent): Lock the document and repaint the hosting | |
2908 | container. | |
2909 | * javax/swing/text/FlowView.java | |
2910 | (FlowStrategy.createView): Removed comment. | |
2911 | (FlowView): Initialize span with Short.MAX_VALUE. | |
2912 | (getFlowStart): Return 0 unconditionally. | |
2913 | (layout): Moved code around to make it more readable. | |
2914 | (loadChildren): Always set the parent. | |
2915 | * javax/swing/text/GlyphView.java | |
2916 | (DefaultGlyphPainter.fontMetrics): New field. | |
2917 | (DefaultGlyphPainter.getAscent): Use new helper method to | |
2918 | synchronize the font metrics. | |
2919 | (DefaultGlyphPainter.getBoundedPosition): Use new helper method | |
2920 | to synchronize the font metrics. | |
2921 | (DefaultGlyphPainter.getDescent): Use new helper method to | |
2922 | synchronize the font metrics. | |
2923 | (DefaultGlyphPainter.getHeight): Use new helper method to | |
2924 | synchronize the font metrics. | |
2925 | (DefaultGlyphPainter.getSpan): Use new helper method to | |
2926 | synchronize the font metrics. | |
2927 | (DefaultGlyphPainter.modelToView): Use new helper method to | |
2928 | synchronize the font metrics. | |
2929 | (DefaultGlyphPainter.updateFontMetrics): New helper method for | |
2930 | font metrics caching. | |
2931 | (DefaultGlyphPainter.viewToModel): Use new helper method to | |
2932 | synchronize the font metrics. Fixed view to model mapping. | |
2933 | * javax/swing/text/View.java | |
2934 | (removeAll): Pass null to replace(). | |
2935 | (setParent): Only reparent children that have this view as parent. | |
2936 | ||
2937 | 2006-11-05 Mark Wielaard <mark@klomp.org> | |
2938 | ||
2939 | * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed. | |
2940 | * include/gnu_java_nio_channels_FileChannelImpl.h: Removed. | |
2941 | * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c: | |
2942 | Removed. | |
2943 | * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: | |
2944 | Removed. | |
2945 | * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): | |
2946 | Remove gnu_java_nio_channels_FileChannelImpl.c. | |
2947 | ||
2948 | 2006-11-03 Roman Kennke <kennke@aicas.com> | |
2949 | ||
2950 | * javax/swing/text/html/BlockView.java | |
2951 | (attributes): New field. | |
2952 | (cssHeight): New field. | |
2953 | (cssWidth): New field. | |
2954 | (painter): New field. | |
2955 | (calculateMajorAxisRequirements): Overridden to account for | |
2956 | CSS settings. | |
2957 | (calculateMinorAxisRequirements): Overridden to account for | |
2958 | CSS settings. | |
2959 | (layoutMinorAxis): Overridden to account for CSS settings. | |
2960 | (changedUpdate): Formatting fixlet. | |
2961 | (constrainSize): New helper method. | |
2962 | (getAlignment): Fix alignment. | |
2963 | (getAttributes): Cache attributes for better performance. | |
2964 | (getStyleSheet): Fetch stylesheet from document rather than creating | |
2965 | a new one. | |
2966 | (paint): Remove comment. | |
2967 | (setCSSSpan): New helper method. | |
2968 | (setPropertiesFromAttributes): Implemented to fetch the | |
2969 | recognized properties. | |
2970 | * javax/swing/text/html/CSS.java | |
2971 | (getValue): Added mapping for width and height attributes. | |
2972 | * javax/swing/text/html/InlineView.java | |
2973 | (longestWord): New field. | |
2974 | (getLongestWord): New helper method. | |
2975 | (calculateLongestWord): New helper method. | |
2976 | (getMinimumSpan): Overridden to constrain the minimum span by the | |
2977 | longest word. | |
2978 | * javax/swing/text/html/ParagraphView.java | |
2979 | (cssHeight): New field. | |
2980 | (cssWidth): New field. | |
2981 | (calculateMinorAxisRequirements): Overridden to account for | |
2982 | CSS settings. | |
2983 | (setCSSSpan): New helper method. | |
2984 | (setPropertiesFromAttributes): Fetch CSS width and height. Added | |
2985 | null check. | |
2986 | * gnu/javax/swing/text/html/css/Length.java | |
2987 | (percentage): New field. | |
2988 | (Length): Determine percentage values. | |
2989 | (getValue(float)): New method for handling percentage values. | |
2990 | (isPercentage): New method. | |
2991 | ||
2992 | 2006-11-03 Tania Bento <tbento@redhat.com> | |
2993 | ||
2994 | * java/awt/TextArea.java | |
2995 | (getMinimumSize): Changed documentation. | |
2996 | (getPreferredSize): Changed documentation. | |
2997 | (getMinimumSize(int,int)): Changed documenation. | |
2998 | (getPreferredSize(int,int)): Changed documenation. | |
2999 | (minimumSize): Changed documentation. | |
3000 | (preferredSize): Changed documenation. | |
3001 | (minimumSize(int,int)): Changed documentation. Checked if | |
3002 | minimum size had been previously set and changed values of | |
3003 | Dimension returned if peer == null. | |
3004 | (preferredSize(int, int)): Checked if preferred size had been | |
3005 | previously set and changed values of Dimension returned if | |
3006 | peer = null. | |
3007 | ||
3008 | 2006-11-03 Tania Bento <tbento@redhat.com> | |
3009 | ||
3010 | * java/awt/event/ComponentEvent.java | |
3011 | (paramString): Changed format of string representation returned. | |
3012 | ||
3013 | 2006-11-03 Roman Kennke <kennke@aicas.com> | |
3014 | ||
3015 | * javax/swing/text/html/HTMLDocument.java | |
3016 | (HTMLReader.FormAction.start): Added support for textarea. | |
3017 | (HTMLReader.FormAction.end): Added support for textarea. | |
3018 | (HTMLReader.HeadAction.end): Call super to actually close the | |
3019 | block. | |
3020 | (HTMLReader.inTextArea): New field. | |
3021 | (HTMLReader.textAreaDocument): New field. | |
3022 | (HTMLReader.handleText): Call textAreaContent when inside | |
3023 | a textarea tag. | |
3024 | (HTMLReader.textAreaContent): Implemented to initialize | |
3025 | the text area's model. | |
3026 | * javax/swing/text/html/FormView.java | |
3027 | (createComponent): Added support for textarea tag. | |
3028 | ||
3029 | 2006-11-03 Roman Kennke <kennke@aicas.com> | |
3030 | ||
3031 | * javax/swing/text/html/HTMLDocument.java | |
3032 | (HTMLReader.IsindexAction.start): Implemented. | |
3033 | ||
3034 | 2006-11-03 Roman Kennke <kennke@aicas.com> | |
3035 | ||
3036 | * javax/swing/text/html/StyleSheet.java | |
3037 | (addRule): Implemented. | |
3038 | * javax/swing/text/html/HTMLDocument.java | |
3039 | (HTMLReader.inStyleTag): New field. | |
3040 | (HTMLReader.styles): New field. | |
3041 | (HTMLReader.HeadAction.end): Implemented to read all stylesheets, | |
3042 | if any. | |
3043 | (HTMLReader.StyleAction.start): Set inStyleTag flag. | |
3044 | (HTMLReader.StyleAction.end): Set inStyleTag flag. | |
3045 | (HTMLReader.handleText): When inside a style tag, add | |
3046 | content to the styles array. | |
3047 | ||
3048 | 2006-11-02 Roman Kennke <kennke@aicas.com> | |
3049 | ||
3050 | * javax/swing/text/html/FormView.java | |
3051 | (maxIsPreferred): New field. | |
3052 | (createComponent): Initialize components correctly. | |
3053 | (getMaximumSpan): Return the preferred span for components | |
3054 | that need this. The maxIsPreferred flag is set accordingly | |
3055 | in createComponent. | |
3056 | * javax/swing/text/html/HTMLDocument.java | |
3057 | (HTMLReader.FormAction.start): Implemented to set the | |
3058 | correct model as attribute. | |
3059 | (HTMLReader.FormAction.setModel): New helper method. | |
3060 | (HTMLReader.FormAction.end): Call super to finish the element. | |
3061 | Added TODO about things left to do. | |
3062 | (HTMLReader.handleComment): Use SimpleAttributeSet rather | |
3063 | than htmlAttributeSet. | |
3064 | * javax/swing/text/html/HTMLEditorKit.java | |
3065 | (HTMLFactory.create): Create BlockView for FORM tags. | |
3066 | Create FormView for INPUT, TEXTAREA and SELECT tags. | |
3067 | ||
3068 | 2006-11-02 David Gilbert <david.gilbert@object-refinery.com> | |
3069 | ||
3070 | * java/awt/geom/GeneralPath.java: API doc fixes. | |
3071 | ||
3072 | 2006-11-02 Roman Kennke <kennke@aicas.com> | |
3073 | ||
3074 | * javax/swing/text/html/ImageView.java | |
3075 | (getImageURL): Fetch attribute from element. Consider the | |
3076 | base URL for relative image locations. | |
3077 | ||
3078 | 2006-11-02 Roman Kennke <kennke@aicas.com> | |
3079 | ||
3080 | * javax/swing/JEditorPane.java | |
3081 | (setContentType): Strip off attributes. | |
3082 | * javax/swing/text/html/HTMLEditorKit.java | |
3083 | (LinkController.activateLink(int,JEditorPane,int,int): New | |
3084 | method. Implements activation of a hyperlink. | |
3085 | (LinkController.activateLinke(int,JEditorPane)): Delegate | |
3086 | to the other activateLink() method. | |
3087 | (LinkController.createHyperlinkEvent): New helper method. | |
3088 | (LinkController.mouseClicked): Implemented to activate the link. | |
3089 | (LinkController.mouseDragged): Added comment that this | |
3090 | method does nothing. | |
3091 | (LinkController.mouseMoved): Update cursor for hyperlinks. | |
3092 | (mouseHandler): Renamed field to linkController. | |
3093 | (HTMLEditorKit): Create a link controller. | |
3094 | (clone): Give the clone a new link controller. | |
3095 | (deinstall): De-install link controller as mouseMotionListener too. | |
3096 | (install): Install link controller as mouseMotionListener too. | |
3097 | ||
3098 | 2006-11-02 Roman Kennke <kennke@aicas.com> | |
3099 | ||
3100 | PR 29644 | |
3101 | * javax/swing/text/FlowView.java | |
3102 | (FlowStrategy.changedUpdate): Reversed condition. This caused | |
3103 | wrong layout and bad performance. | |
3104 | (FlowStrategy.insertUpdate): Reversed condition. This caused | |
3105 | wrong layout and bad performance. | |
3106 | (FlowStrategy.removeUpdate): Reversed condition. This caused | |
3107 | wrong layout and bad performance. | |
3108 | (LogicalView): Changed to be a subclass of CompositeView. | |
3109 | (LogicalView()): Only take one Element argument. | |
3110 | (LogicalView.childAllocation): New method for implementing | |
3111 | the abstract CompositeView method. | |
3112 | (LogicalView.forwardUpdateToView): Overridden for correct | |
3113 | reparenting. | |
3114 | (getMinimumSpan): Overridden to handle line breaking correctly. | |
3115 | (getPreferredSpan): Implemented to handle line breaking correctly. | |
3116 | (getViewAtPoint): New method for implementing | |
3117 | the abstract CompositeView method. | |
3118 | (getViewIndexAtPosition): Overridden to handle leaf elements | |
3119 | correctly. | |
3120 | (isAfter): New method for implementing | |
3121 | the abstract CompositeView method. | |
3122 | (isBefore): New method for implementing | |
3123 | the abstract CompositeView method. | |
3124 | (loadChildren): Overridden to handle leaf elements | |
3125 | correctly. | |
3126 | (paint): New method for implementing | |
3127 | the abstract CompositeView method. | |
3128 | (calculateMinorAxisRequirements): Use preferredSpan in calculation. | |
3129 | (loadChildren): Initialize flow layout by sending a synthetic | |
3130 | insertUpdate() to the layout strategy. | |
3131 | * javax/swing/text/GlyphView.java | |
3132 | (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's | |
3133 | font metrics if component is not available. Add initial offset | |
3134 | to result. | |
3135 | (breakView): Be more clever when breaking the view. | |
3136 | (getBreakLocation): New helper method to determine a good | |
3137 | break location. | |
3138 | (getBreakWeight): Be more clever when breaking the view. | |
3139 | (getTabbedSpan): Make sure we have a painter. Use view's | |
3140 | start and end offset rather than the element's. | |
3141 | * javax/swing/text/Utilities.java | |
3142 | (drawTabbedText): Avoid useless add and sub with the y offset. | |
3143 | ||
3144 | 2006-11-02 Roman Kennke <kennke@aicas.com> | |
3145 | ||
3146 | PR 29644 | |
3147 | * gnu/java/awt/peer/ClasspathFontPeer.java | |
3148 | (getStringBounds): Removed abstract method. This is replaced | |
3149 | in java.awt.Font to use a TextLayout. | |
3150 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
3151 | (GtkWindowPeer): Set a font on the window object. | |
3152 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java | |
3153 | (FreetypeGlyphVector(Font,String,FontRenderContext,int)): | |
3154 | Changed to take char,int,int instead of String. Filter | |
3155 | control characters. | |
3156 | (FreetypeGlyphVector(Font,String,FontRenderContext)): | |
3157 | Create char array out of string. | |
3158 | (getLogicalBounds): Don't translate bounds. They already are | |
3159 | translated. | |
3160 | * gnu/java/awt/peer/gtk/GdkFontMetrics.java | |
3161 | (stringWidth): Filter out control characters. | |
3162 | * gnu/java/awt/peer/gtk/GdkFontPeer.java | |
3163 | (getStringBounds): Removed unneeded method. | |
3164 | (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector | |
3165 | constructor. | |
3166 | * gnu/java/awt/peer/qt/QtFontPeer.java | |
3167 | (getStringBounds): Removed unneeded method. | |
3168 | * gnu/java/awt/peer/x/XFontPeer.java | |
3169 | (getStringBounds): Removed unneeded method. | |
3170 | * gnu/java/awt/peer/x/XFontPeer2.java | |
3171 | (getStringBounds): Removed unneeded method. | |
3172 | * java/awt/Font.java | |
3173 | (getStringBounds(char[],int,int,FontRenderContext)): | |
3174 | Use TextLayout to determine the bounds. | |
3175 | (getStringBounds(CharacterIterator,int,int,FontRenderContext)): | |
3176 | Delegate to the char[] version of this method. | |
3177 | (getStringBounds(String,FontRenderContext)): | |
3178 | Delegate to the char[] version of this method. | |
3179 | (getStringBounds(String,int,int,FontRenderContext)): | |
3180 | Delegate to the String version of this method. | |
3181 | ||
3182 | 2006-11-01 Tania Bento <tbento@redhat.com> | |
3183 | ||
3184 | * java/awt/ScrollPaneAdjustable.java | |
3185 | (paramString): Changed format of string representation returned. | |
3186 | (paramStringHelper): New private method. | |
3187 | ||
3188 | 2006-11-01 Tania Bento <tbento@redhat.com> | |
3189 | ||
3190 | * java/awt/GridBagLayout.java | |
3191 | (toString): Implemented method. | |
3192 | ||
3193 | 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3194 | ||
3195 | * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading | |
3196 | initialization to NP_Initialize. | |
3197 | (NP_Initialize): Initialize GLib threading. | |
3198 | ||
3199 | 2006-10-31 Tania Bento <tbento@redhat.com> | |
3200 | ||
3201 | * javax/swing/JTextField.java | |
3202 | (fireActionPerformed): When creating the new event, if | |
3203 | actionCommand == null, then getText() is used. | |
3204 | ||
3205 | 2006-10-31 Francis Kung <fkung@redhat.com> | |
3206 | ||
3207 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
3208 | (fillArc): Corrected arc type to Arc2D.PIE. | |
3209 | ||
3210 | 2006-10-31 Roman Kennke <kennke@aicas.com> | |
3211 | ||
3212 | * javax/swing/text/html/HTMLDocument.java | |
3213 | (HTMLReader.PreAction.end): Implemented. | |
3214 | (HTMLReader.PreAction.start): Implemented. | |
3215 | (HTMLReader.inPreTag): New field. | |
3216 | (HTMLReader.handleTag): When inside a pre tag, call preContent(). | |
3217 | (HTMLReader.preContent): Implemented. | |
3218 | ||
3219 | 2006-10-31 Tania Bento <tbento@redhat.com> | |
3220 | ||
3221 | * javax/swing/JTextField.java | |
3222 | (fireActionPerformed): When creating the new event, | |
3223 | actionCommand should be used as the command, not | |
3224 | getText(). | |
3225 | ||
3226 | 2006-10-31 Roman Kennke <kennke@aicas.com> | |
3227 | ||
3228 | * javax/swing/text/html/HTMLEditorKit.java | |
3229 | (write): Use HTMLWriter or MinimalHTMLWriter for writing | |
3230 | HTML or Styled documents. | |
3231 | ||
3232 | 2006-10-31 David Fu <fchoong@netbeans.jp> | |
3233 | ||
3234 | * javax/swing/text/html/HTMLWriter.java: New class. | |
3235 | ||
3236 | 2006-10-30 Roman Kennke <kennke@aicas.com> | |
3237 | ||
3238 | * java/awt/dnd/DragSourceContext.java | |
3239 | (dragExit): Use constant fields instead of 0. | |
3240 | (updateCurrentCursor): Completed implementation. | |
3241 | ||
3242 | 2006-10-30 Roman Kennke <kennke@aicas.com> | |
3243 | ||
3244 | * java/awt/dnd/DragGestureRecognizer.java | |
3245 | (resetRecognizer): Added API docs. Do not replace the events object | |
3246 | but rather clear() it. Removed not implemented tag. | |
3247 | ||
3248 | 2006-10-30 Roman Kennke <kennke@aicas.com> | |
3249 | ||
3250 | * java/awt/datatransfer/DataFlavor.java | |
3251 | (writeExternal): Remove not implemented tag. | |
3252 | ||
3253 | 2006-10-30 Roman Kennke <kennke@aicas.com> | |
3254 | ||
3255 | * java/awt/datatransfer/DataFlavor.java | |
3256 | (javaFileListFlavor): Don't explicitly specify class. | |
3257 | (plainTextFlavor): Don't explicitly specify class. | |
3258 | (mimeType): Changed to type MimeType. Remove final. | |
3259 | (representationClass): Remove final. | |
3260 | (DataFlavor): Don't do anything here. | |
3261 | (DataFlavor(Class,String,String)): Removed. | |
3262 | (DataFlavor(Class,String)): Initialize here. | |
3263 | (DataFlavor(String,String,ClassLoader)): Initialize in init(). | |
3264 | (DataFlavor(String,String)): Initialize in init(). | |
3265 | (DataFlavor(String)): Initialize in init(). | |
3266 | (init): New initialization method. | |
3267 | (getMimeType): Delegate to MimeType.toString(). | |
3268 | (getParameter(String,String)): Removed. Is now done in MimeType. | |
3269 | (getParameter(String)): Delegate to MimeType. | |
3270 | (getPrimaryType): Delegate to MimeType. | |
3271 | (getRepresentationClassFromMime): Removed. | |
3272 | (getRepresentationClassFromMimeThrows): Removed. | |
3273 | (getSubType): Delegate to MimeType. | |
3274 | (hashCode): Take MimeType.toString() for the hashCode. | |
3275 | (isFlavorRemoveObjectType): Return true only when representation | |
3276 | class is remove and serializable and the mime type is remote. | |
3277 | (isFlavorSerializedObjectType): Return true only when representation | |
3278 | class is serializable and the mime type is serialized. | |
3279 | (isMimeTypeEqual): Rewritten to delegate to MimeType.matches(). | |
3280 | (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual(). | |
3281 | (readExternal): Implemented stub method. | |
3282 | (writeExternal): Implemented stub method. | |
3283 | * java/awt/datatransfer/MimeType.java: New helper class. | |
3284 | ||
3285 | 2006-10-28 Roman Kennke <kennke@aicas.com> | |
3286 | ||
3287 | * javax/swing/TransferHandler.java | |
3288 | (importData): Implemented stub method. Added API docs. | |
3289 | ||
3290 | 2006-10-26 Christian Elias Naur <elias@oddlabs.com> | |
3291 | ||
3292 | * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New | |
3293 | function. | |
3294 | * native/jni/classpath/classpath_jawt.h: Likewise. | |
3295 | * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added | |
3296 | initializer for surface_info_x11->depth. | |
3297 | ||
3298 | 2006-10-26 Tania Bento <tbento@redhat.com> | |
3299 | ||
3300 | * java/awt/FileDialog.java: | |
3301 | (setFile): Changed if-clause condition. | |
3302 | ||
3303 | 2006-10-25 Francis Kung <fkung@redhat.com> | |
3304 | ||
3305 | * include/gnu_java_nio_VMChannel.h, | |
3306 | * include/java_net_VMNetworkInterface.h, | |
3307 | * include/gnu_java_nio_EpollSelectorImpl.h, | |
3308 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h, | |
3309 | * include/gnu_java_nio_FileChannelImpl.h, | |
3310 | * include/gnu_java_nio_KqueueSelectorImpl.h, | |
3311 | * include/gnu_java_nio_VMPipe.h, | |
3312 | * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated. | |
3313 | ||
3314 | 2006-10-25 Tania Bento <tbento@redhat.com> | |
3315 | ||
3316 | * java/awt/Dialog.java: Created new private variable | |
3317 | next_dialog_number. | |
3318 | (Dialog(Frame, String, boolean, GraphicsConfiguration)): | |
3319 | Set cursor to default cursor. | |
3320 | (Dialog(Dialog, STring, boolean, GraphicsConfiguration)): | |
3321 | Same. | |
3322 | (generateName): New method. | |
3323 | (getUniqueLong): New private method. | |
3324 | * java/awt/FileDialog.java: Created new private variable | |
3325 | next_file_dialog_number. | |
3326 | (setFile): If file == "", set it to null. | |
3327 | (generateName): New method. | |
3328 | (getUniqueLong): New private method. | |
3329 | ||
3330 | 2006-10-25 Robert Schuster <robertschuster@fsfe.org> | |
3331 | ||
3332 | * java/net/MulticastSocket.java: | |
3333 | (setNetworkInterface): Rewritten. | |
3334 | ||
3335 | 2006-10-25 Robert Schuster <robertschuster@fsfe.org> | |
3336 | ||
3337 | * native/jni/java-net/javanet.h: Added declaration for | |
3338 | _javanet_create_inetaddress. | |
3339 | * native/jni/java-net/javanet.c: | |
3340 | (_javanet_create_inetaddress): Removed static keyword. | |
3341 | ||
3342 | 2006-10-25 Robert Schuster <robertschuster@fsfe.org> | |
3343 | ||
3344 | * gnu/java/net/PlainDatagramSocketImpl.java: | |
3345 | (connect): Use VMChannel instance for connect call. | |
3346 | (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive. | |
3347 | (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive. | |
3348 | (setOption): Handle multicast options. | |
3349 | (getOption): Handle multicast options. | |
3350 | * gnu/java/net/PlainSocketImpl.java: | |
3351 | (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive. | |
3352 | (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive. | |
3353 | (setOption): Filter unappropriate options. | |
3354 | (getOption): Filter unappropriate options. | |
3355 | (connect): Use given SocketAddress. | |
3356 | (close): Reset address and port. | |
3357 | (getInetAddress): | |
3358 | * include/Makefile.am: Removed all occurences of | |
3359 | gnu_java_net_VMPlainDatagramSocketImpl.h. | |
3360 | * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed. | |
3361 | * native/jni/java-net/Makefile.am: Removed | |
3362 | gnu_java_net_VMPlainDatagramSocketImpl.c from sources. | |
3363 | * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c: | |
3364 | Removed. | |
3365 | as SocketException, declare to throw SocketException. | |
3366 | * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions | |
3367 | for SocketException and ConnectException. | |
3368 | (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead | |
3369 | of IOException. | |
3370 | (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead | |
3371 | of IOException. | |
3372 | (Java_gnu_java_nio_VMChannel_accept): Rewritten. | |
3373 | (JCL_thread_interrupted): New function. | |
3374 | (initIDs): Added initialisation for isThreadInterrupted method id. | |
3375 | * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added | |
3376 | CPNET_IP_TTL to java_sockopt enum. | |
3377 | (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL | |
3378 | case, handle SO_LINGER case properly. | |
3379 | (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL | |
3380 | case, handle SO_LINGER case properly. | |
3381 | (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New | |
3382 | function. | |
3383 | (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New | |
3384 | function. | |
3385 | (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New | |
3386 | function. | |
3387 | (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be | |
3388 | IPV6_LEAVE_GROUP. | |
3389 | * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed. | |
3390 | * vm/reference/gnu/java/nio/VMChannel.java: | |
3391 | (connect(int, byte[], int, int)): Declare to throw SocketException. | |
3392 | (connect6): Declare to throw SocketException. | |
3393 | (connect(InetSocketAddress, int)): Catch IOException and rethrow | |
3394 | (isThreadInterrupted): New method. | |
3395 | * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL | |
3396 | field. | |
3397 | (setTimeToLive): New method. | |
3398 | (getTimeToLive): New method. | |
3399 | (setMulticastInterface(int, InetAddress)): New method. | |
3400 | (setMulticastInterface(int, int, Inet4Address): New method. | |
3401 | (setMulticastInterface6(int, int, Inet6Address): New method. | |
3402 | (setOptions): Handle SO_LINGER case. | |
3403 | (getOptions): Add missing SO_REUSEADDR case. | |
3404 | * java/net/Socket.java: | |
3405 | (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket | |
3406 | when exception was thrown out of connect(). | |
3407 | (setSoLinger): Replaced instantiations with valueOf calls, replaced | |
3408 | Boolean.FALSE with Integer.valueOf(-1). | |
3409 | * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration. | |
3410 | * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation. | |
3411 | * NEWS: Documented VM interface changes. | |
3412 | ||
3413 | 2006-10-25 Robert Schuster <robertschuster@fsfe.org> | |
3414 | ||
3415 | * java/net/Inet6Address.java: | |
3416 | (isMulticastAddress): Fixed check. | |
3417 | ||
3418 | 2006-10-25 Robert Schuster <robertschuster@fsfe.org> | |
3419 | ||
3420 | Fixes PR29576 | |
3421 | * java/net/MulticastSocket.java: | |
3422 | (getNetworkInterface): Return a special NetworkInterface instance | |
3423 | if the socket's multicast interface is set to any. | |
3424 | ||
3425 | 2006-10-25 Robert Schuster <robertschuster@fsfe.org> | |
3426 | ||
3427 | Fixes PR29576 | |
3428 | * java/net/NetworkInterface.java: | |
3429 | (createAnyInterface): New method. | |
3430 | (equals): Added if-statement to handle case where netif.name is null. | |
3431 | * vm/reference/java/net/VMNetworkInterface.java: | |
3432 | (hashCode): Rewritten. | |
3433 | (VMNetworkInterface): New constructor. | |
3434 | ||
3435 | 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3436 | ||
3437 | * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS. | |
3438 | * tools/toolwrapper.c (main): Set bootclasspath, not classpath. | |
3439 | Add ASM_JAR to bootclasspath. | |
3440 | ||
3441 | 2006-10-24 Tania Bento <tbento@redhat.com> | |
3442 | ||
3443 | * java/awt/Scrollbar.java: | |
3444 | (setLineIncrement): Removed unnecessary if-clause and if | |
3445 | lineIncrement == 0, then it should be set to 1, not 0. | |
3446 | (setPageIncrement): Removed unnecessary if-clause and if | |
3447 | pageIncrement == 0, then it should be set to 1, not 0. | |
3448 | (setValues): If visibleAmount <= 0, it should be set to 1, not 0. | |
3449 | If maximum <= minimum, maximum should be set to mininum + 1. The | |
3450 | actual value of maximum is maximum - visibleAmount, so I made | |
3451 | this change to the appropriate if-check. Remove the two unneccessary | |
3452 | if-clauses. | |
3453 | ||
3454 | 2006-10-23 Francis Kung <fkung@redhat.com> | |
3455 | ||
3456 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
3457 | (cairoSetFont): New method. | |
3458 | (copy): Set font using setFont method. | |
3459 | (setFont): Call cairoSetFont. | |
3460 | (setup): Set font using setFont method. | |
3461 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method. | |
3462 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
3463 | (install_font_peer): Removed. | |
3464 | (cairoDrawGlyphVector): Removed call to install_font_peer. | |
3465 | (cairoSetFont): New method. | |
3466 | ||
3467 | 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3468 | ||
3469 | * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file. | |
3470 | * gnu/java/awt/peer/gtk/GtkMainThread.java: Post | |
3471 | NativeEventLoopRunningEvent after GTK main loop start and stop. | |
3472 | * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning. | |
3473 | (getNextEvent): Set dispatchThread to null. | |
3474 | (postEventImpl): Set nativeLoopRunning. | |
3475 | (pop): Interrupt event dispatch thread. | |
3476 | * java/awt/Frame.java (noteFrame): Synchronize on weakFrames. | |
3477 | ||
3478 | 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at> | |
3479 | ||
3480 | * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h): | |
3481 | Added include. | |
3482 | * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h): | |
3483 | Likewise. | |
3484 | ||
3485 | 2006-10-23 Marco Trudel <mtrudel@gmx.ch> | |
3486 | ||
3487 | * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test. | |
3488 | * javax/crypto/CipherOutputStream.java: Re-implemented. | |
3489 | * gnu/javax/crypto/jce/cipher/CipherAdapter.java | |
3490 | (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded | |
3491 | decryption mode and check if it is a complete block. | |
3492 | (engineUpdate(byte[], int, int, byte[], int)): Likewise. | |
3493 | (engineDoFinal(byte[], int, int)): In padded decryption mode, take | |
3494 | partially processed data into account. | |
3495 | ||
3496 | 2006-10-21 Tom Tromey <tromey@redhat.com> | |
3497 | ||
3498 | PR classpath/29086: | |
3499 | * java/util/AbstractCollection.java (toArray): Removed cast. | |
3500 | ||
3501 | 2006-10-20 Tom Tromey <tromey@redhat.com> | |
3502 | ||
3503 | * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass): | |
3504 | Don't use mangled class name for .h file. | |
3505 | * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass): | |
3506 | Don't use mangled class name for .c file. | |
3507 | * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass): | |
3508 | Handle classes from the default package. | |
3509 | ||
3510 | 2006-10-20 Francis Kung <fkung@redhat.com> | |
3511 | ||
3512 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants. | |
3513 | ||
3514 | 2006-10-19 Francis Kung <fkung@redhat.com> | |
3515 | ||
3516 | PR 29510 | |
3517 | * java/awt/image/BufferedImage.java | |
3518 | (constructor): Updated some properties of default image types. | |
3519 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
3520 | (argb32): Updated field to match default in BufferedImage. | |
3521 | ||
3522 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3523 | ||
3524 | PR 29419 | |
3525 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
3526 | (copyArea): Changed size comparison to return when size == 0 | |
3527 | too. | |
3528 | * javax/swing/JViewport.java | |
3529 | (paintBackingStore): Check width and height of blitted area | |
3530 | and only do blit if its > 0. | |
3531 | (paintBlit): Check width and height of blitted area | |
3532 | and only do blit if its > 0. | |
3533 | ||
3534 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3535 | ||
3536 | PR 27091 | |
3537 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
3538 | (maximize): New native method. | |
3539 | (unmaximize): New native method. | |
3540 | (iconify): New native method. | |
3541 | (deiconify): New native method. | |
3542 | (getState): Implemented. | |
3543 | (setState): Implemented. | |
3544 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
3545 | (oldState): Rename to windowState and made protected, so that | |
3546 | the FramePeer can access it. | |
3547 | (postWindowEvent): Handle state change events more gently and | |
3548 | correctly. | |
3549 | * java/awt/Frame.java | |
3550 | (getState): Fetch state from getExtendedState(). | |
3551 | (setExtendedState): Update the peer. Check if the state change | |
3552 | is actually supported. | |
3553 | (getExtendedState): Update the state from the peer. | |
3554 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c | |
3555 | (maximize): New method. | |
3556 | (unmaximize): New method. | |
3557 | (iconify): New method. | |
3558 | (deiconify): New method. | |
3559 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
3560 | (AWT_FRAME_NORMAL): New macro. | |
3561 | (AWT_FRAME_ICONIFIED): New macro. | |
3562 | (AWT_FRAME_MAXIMIZED_BOTH): New macro. | |
3563 | (window_window_state_cb): Rewritten to handle window state changes | |
3564 | more gently (mostly on the java side of the world). | |
3565 | * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated. | |
3566 | ||
3567 | 2006-10-18 Tania Bento <tbento@redhat.com> | |
3568 | ||
3569 | * java/awt/CardLayout.java: | |
3570 | (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as | |
3571 | its height and width if Container passed as argument is null. | |
3572 | (gotoComponent): Consider the case where the component is not visible. | |
3573 | ||
3574 | 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3575 | ||
3576 | * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties: | |
3577 | Rename file... | |
3578 | * resource/gnu/classpath/tools/appletviewer/messages.properties: | |
3579 | New file. | |
3580 | * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties: | |
3581 | Remove file. | |
3582 | * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: | |
3583 | Remove file. | |
3584 | * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: | |
3585 | Likewise. | |
3586 | * tools/gnu/classpath/tools/appletviewer/Messages.java: New file. | |
3587 | * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java: | |
3588 | Retrieve user-visible strings through Messages.getString. | |
3589 | * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise. | |
3590 | * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java: | |
3591 | Likewise. | |
3592 | * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java: | |
3593 | Likewise. | |
3594 | * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java: | |
3595 | Likewise. | |
3596 | * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java: | |
3597 | Likewise. | |
3598 | * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java: | |
3599 | Likewise. | |
3600 | * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java: | |
3601 | Likewise. | |
3602 | ||
3603 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3604 | ||
3605 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
3606 | (AWT_WINDOW_OPENED): Remove unnecessary macro. | |
3607 | (window_show_cb): Removed unnecessary function. | |
3608 | (connect_signals): Don't connect signal for show. * | |
3609 | gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
3610 | (hasBeenShown): Removed. This is handled in java.awt.Window. | |
3611 | (postWindowEvent): Removed handling of WINDOW_OPENED. This is done | |
3612 | in java.awt.Window. * java/awt/Window.java | |
3613 | (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED. | |
3614 | ||
3615 | 2006-10-18 Francis Kung <fkung@redhat.com> | |
3616 | ||
3617 | * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java | |
3618 | (drawRenderedImage): New method. | |
3619 | (drawImage): New method. | |
3620 | (CairoSurfaceGraphics): Set clip. | |
3621 | (createBuffer): New method. | |
3622 | (getBufferCM): New method. | |
3623 | (drawComposite): New method. | |
3624 | (fill): New method. | |
3625 | (getNativeCM): New method. | |
3626 | (drawGlyphVector): New method. | |
3627 | (draw): New method. | |
3628 | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java | |
3629 | (getNativeCM): Reflect renamed field. | |
3630 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
3631 | (cairoCM_pre): Renamed from cairoColorModel. | |
3632 | (cairoColorModel): Set premultiplication to false. | |
3633 | ||
3634 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3635 | ||
3636 | PR 28769 | |
3637 | * javax/swing/JScrollPane.java | |
3638 | (viewportBorder): Made field private. | |
3639 | (wheelScrollingEnabled): Made field private. | |
3640 | (JScrollPane): Enabled wheel scrolling by default. | |
3641 | * javax/swing/JTree.java | |
3642 | (TreeSelectionRedirector.valueChanged): Don't repaint anything | |
3643 | here. | |
3644 | (getScrollableUnitIncrement): Fixed thinko. | |
3645 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
3646 | (static scrollByBlock): New static method to avoid code duplication | |
3647 | for the BasicScrollPane wheel scrolling. | |
3648 | (static scrollByUnits): New static method to avoid code duplication | |
3649 | for the BasicScrollPane wheel scrolling. | |
3650 | (scrollByBlock): Delegate to static helper method. | |
3651 | (scrollByUnit): Delegate to static helper method. | |
3652 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
3653 | (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI | |
3654 | static helper methods to avoid code duplication. | |
3655 | (MouseWheelHandler.bounds): Removed. | |
3656 | (MouseWheelHandler.getValue): Removed. | |
3657 | (MouseWheelHandler.scroll): Removed. | |
3658 | ||
3659 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3660 | ||
3661 | PR 29502 | |
3662 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
3663 | (updateComponent): Don't override this here. | |
3664 | * java/awt/Window.java | |
3665 | (addWindowListener): Ignore null listener. Set newEventsOnly flag. | |
3666 | (addWindowFocusListener): Ignore null listener. Set newEventsOnly | |
3667 | flag. | |
3668 | (addWindowStateListener): Ignore null listener. Set newEventsOnly | |
3669 | flag. | |
3670 | ||
3671 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3672 | ||
3673 | * javax/swing/JEditorPane.java | |
3674 | (getStream): Try to detect and set the content type of the | |
3675 | connection stream. | |
3676 | ||
3677 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3678 | ||
3679 | * javax/swing/RepaintManager.java | |
3680 | (RepaintWorkerEvent): Pass full set of params to super. | |
3681 | (RepaintWorker.dispatch): Overridden to allow apps to call this | |
3682 | via reflection. | |
3683 | (addDirtyRegion): Synchronize a little more to protect the | |
3684 | dirtyComponents field and avoid NPEs. | |
3685 | (invokeLater): Pass full set of params to RepaintWorkerEvent | |
3686 | constructor. | |
3687 | ||
3688 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3689 | ||
3690 | * javax/swing/JEditorPane.java | |
3691 | (page): Removed field. The page is now stored in the correct | |
3692 | document property. | |
3693 | (getPage): Fetch page URL from document property. | |
3694 | (read): Set the document for this JEditorPane. Use a Reader | |
3695 | for reading in the document. | |
3696 | (setPage): Call getStream() to get the stream from which we read. | |
3697 | Fire property change. Store page in document property. | |
3698 | ||
3699 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3700 | ||
3701 | * java/awt/datatransfer/DataFlavor.java | |
3702 | (DataFlavor(String)): Removed check for space in mime string. | |
3703 | ||
3704 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3705 | ||
3706 | * java/awt/Container.java | |
3707 | (validateTree): Call ContainerPeer.begin|endLayout() rather than | |
3708 | begin|endValidate(). | |
3709 | (validate): Call ContainerPeer.begin|endValidate() here. | |
3710 | Added some local vars to avoid NPEs. | |
3711 | ||
3712 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3713 | ||
3714 | * native/target/.cvsignore | |
3715 | * native/target/Linux/.cvsignore | |
3716 | * native/target/generic/.cvsignore: | |
3717 | Added to let CVS ignore the generated Makefile and Makefile.in | |
3718 | files. | |
3719 | ||
3720 | 2006-10-18 Roman Kennke <kennke@aicas.com> | |
3721 | ||
3722 | PR 29448 | |
3723 | * java/awt/Window.java | |
3724 | (eventTypeEnabled): Overridden to handle WindowEvents. | |
3725 | (processEvent): Switch between processWindowEvent(), | |
3726 | processWindowFocusEvent() and processWindowStateEvent() here, | |
3727 | rather than simply calling processWindowEvent(). | |
3728 | (processWindowEvent): Only dispatch event to listener, do not | |
3729 | switch to processWindowFocusEvent() or processWindowStateEvent() | |
3730 | here. | |
3731 | * javax/swing/JFrame.java | |
3732 | (frameInit): Explicitly enable window and key events here. | |
3733 | (processWindowEvent): Throw out some unnecessary code. | |
3734 | * javax/swing/JWindow.java | |
3735 | (windowInit): Explicitly enable key events here. | |
3736 | * javax/swing/JDialog.java | |
3737 | (close_action): Renamed to closeAction. | |
3738 | (dialogInit): Explicitly enable window events here. | |
3739 | (getDefaultCloseOperation): Renamed close_action to closeAction. | |
3740 | (processWindowEvent): Throw out some unnecessary code. | |
3741 | Renamed close_action to closeAction. | |
3742 | (setDefaultCloseOperation): Renamed close_action to closeAction. | |
3743 | ||
3744 | 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3745 | ||
3746 | * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag | |
3747 | to track native GTK event loop status. | |
3748 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and | |
3749 | clear running flag when native GTK event loop starts and stops. | |
3750 | ||
3751 | 2006-10-17 Roman Kennke <kennke@aicas.com> | |
3752 | ||
3753 | * javax/swing/TransferHandler.java | |
3754 | (exportToClipboard): Implemented. | |
3755 | ||
3756 | 2006-10-17 Francis Kung <fkung@redhat.com> | |
3757 | ||
3758 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated | |
3759 | region to account for pixel-shifting. | |
3760 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made | |
3761 | proctected. | |
3762 | ||
3763 | 2006-10-17 Francis Kung <fkung@redhat.com> | |
3764 | ||
3765 | PR 29450 | |
3766 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java | |
3767 | (getLogicalBounds): Translate individual glyphs before appending bounds. | |
3768 | (getOutline): Translate individual glyphs before appending outline. | |
3769 | ||
3770 | 2006-10-17 Cameron McCormack <cam@mcc.id.au> | |
3771 | ||
3772 | PR 29014 | |
3773 | * java/awt/font/TextLayout.java | |
3774 | (bidi): New field. | |
3775 | (constructor): Store bidi in field. | |
3776 | (getCharacterLevel): Implemented. | |
3777 | ||
3778 | 2006-10-17 Roman Kennke <kennke@aicas.com> | |
3779 | ||
3780 | * javax/swing/TransferHandler.java | |
3781 | (PropertyTransferable): New inner class. Handles transfers | |
3782 | from component properties. | |
3783 | (createTransferable): Implemented. | |
3784 | ||
3785 | 2006-10-17 Francis Kung <fkung@redhat.com> | |
3786 | ||
3787 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
3788 | (drawComposite): Ensure composite does not extend beyond buffer | |
3789 | bounds. | |
3790 | * java/awt/image/Raster.java | |
3791 | (createChild): Ensure child does not extend beyond parent's | |
3792 | bounds. | |
3793 | * java/awt/image/WritableRaster.java | |
3794 | (createWritableChild): Ensure child does not extend beyond | |
3795 | parent's bounds. | |
3796 | ||
3797 | 2006-10-17 Jeroen Frijters <jeroen@frijters.net> | |
3798 | ||
3799 | * native/jni/classpath/jcl.c | |
3800 | (JNI_OnLoad): Corrected calling convention. | |
3801 | ||
3802 | 2006-10-16 Roman Kennke <kennke@aicas.com> | |
3803 | ||
3804 | * javax/swing/TransferHandler.java | |
3805 | (propertyName): New field. | |
3806 | (TransferHandler(String)): Store property name in field. | |
3807 | (canImport): Implemented stub method. | |
3808 | (exportDone): This is a no-op. Removed not-implemented mark. | |
3809 | (getPropertyDataFlavor): New helper method. | |
3810 | (getPropertyDescriptor): New helper method. | |
3811 | ||
3812 | 2006-10-16 Roman Kennke <kennke@aicas.com> | |
3813 | ||
3814 | * javax/swing/AbstractButton.java | |
3815 | (AccessibleJButton.getAfterIndex): Implemented. | |
3816 | (AccessibleJButton.getAtIndex): Implemented. | |
3817 | (AccessibleJButton.getBeforeIndex): Implemented. | |
3818 | (AccessibleJButton.getCharacterAttribute): Completed incomplete | |
3819 | method implementation. | |
3820 | ||
3821 | 2006-10-16 Roman Kennke <kennke@aicas.com> | |
3822 | ||
3823 | * javax/swing/JLabel.java | |
3824 | (AccessibleJLabel.getIndexAtPoint): Implemented. | |
3825 | (AccessibleJLabel.getCharacterBounds): Implemented. | |
3826 | (AccessibleJLabel.getTextRectangle): New helper method. | |
3827 | ||
3828 | 2006-10-16 Roman Kennke <kennke@aicas.com> | |
3829 | ||
3830 | * javax/swing/filechooser/FileSystemView.java | |
3831 | (getFileSystemView): Mark as implemented. | |
3832 | ||
3833 | 2006-10-14 Roman Kennke <kennke@aicas.com> | |
3834 | ||
3835 | PR 27957 | |
3836 | * javax/swing/JComponent.java | |
3837 | (toolTipText): Removed field. | |
3838 | (createToolTip): Don't set tooltip text here. This is done | |
3839 | in the ToolTipManager. | |
3840 | (setToolTipText): Set tooltip text as client property. | |
3841 | (getToolTipText): Get tooltip text from client property. | |
3842 | * javax/swing/ToolTipManager.java | |
3843 | (currentComponent): Made field non-static and of type JComponent. | |
3844 | (currentPoint): Made field non-static. | |
3845 | (currentTip): Made field non-static. | |
3846 | (popup): Made field non-static. | |
3847 | (toolTipText): New field. Stores the current tooltip text. | |
3848 | (checkTipUpdate): New helper method. Checks for updates of | |
3849 | the tooltip text and triggers the appropriate actions. | |
3850 | (getContentPaneDeepestComponent): Removed unneeded casts. | |
3851 | (mouseEntered): Removed unneeded cast. Initially fetch tooltip | |
3852 | text from component. | |
3853 | (mouseMoved): Check for tooltip text updates. | |
3854 | (showTip): Set tooltip text from current setting. | |
3855 | ||
3856 | 2006-10-14 Roman Kennke <kennke@aicas.com> | |
3857 | ||
3858 | PR 27956 | |
3859 | * javax/swing/JSlider.java | |
3860 | (setPaintLabels): Call setLabelTable() instead of setting | |
3861 | the field directly. This also updates the label's size. | |
3862 | ||
3863 | 2006-10-13 Tom Tromey <tromey@redhat.com> | |
3864 | ||
3865 | * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New | |
3866 | method. | |
3867 | ||
3868 | 2006-10-13 Tania Bento <tbento@redhat.com> | |
3869 | ||
3870 | * java/awt/ScrollPane.java | |
3871 | (setLayout): Should throw AWTError whenever called. | |
3872 | ||
3873 | 2006-10-13 Roman Kennke <kennke@aicas.com> | |
3874 | ||
3875 | PR 29448 | |
3876 | * java/awt/Component.java | |
3877 | (dispatchEventImpl): Special handle ComponentReshapeEvents to | |
3878 | update the AWT's knowledge about a component's size. | |
3879 | * gnu/java/awt/ComponentReshapeEvent.java: New class. | |
3880 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
3881 | (postConfigureEvent): Directly dispatch a ComponentReshapeEvent | |
3882 | to update the AWT's knowledge about the component bounds. | |
3883 | ||
3884 | 2006-10-13 Tania Bento <tbento@redhat.com> | |
3885 | ||
3886 | * java/awt/ScrollPaneAdjustable.java | |
3887 | (setMaximum): Should throw AWTError whenever called. | |
3888 | (setMinimum): Same. | |
3889 | (setVisibleAmount): Same. | |
3890 | ||
3891 | 2006-10-13 Tania Bento <tbento@redhat.com> | |
3892 | ||
3893 | * java/awt/ScrollPane.java | |
3894 | (addImpl): When calling super, index should be value passed, | |
3895 | not -1. | |
3896 | (getIsValidString): New helper method for paramString(). | |
3897 | (getScrollbarDisplayString): New helper method for paramString(). | |
3898 | (paramString): Changed format of outputted string. | |
3899 | ||
3900 | 2006-10-13 David Gilbert <david.gilbert@object-refinery.com> | |
3901 | ||
3902 | * javax/swing/tree/DefaultTreeSelectionModel.java | |
3903 | (clone): Added cast to TreePath[]. | |
3904 | ||
3905 | 2006-10-13 Roman Kennke <kennke@aicas.com> | |
3906 | ||
3907 | PR 27780 | |
3908 | * javax/swing/JMenuItem.java | |
3909 | (isDragging): New field. Indicates if we are inside a mouse | |
3910 | drag. | |
3911 | (createMenuDragMouseEvent): Removed unneeded method. | |
3912 | (processMenuDragMouseEvent): Track if we are dragging. | |
3913 | (processMouseEvent): Simply forward to processMenuDragMouseEvent(). | |
3914 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
3915 | (MenuDragMouseHandler.menuDragMouseDragged): Fetch | |
3916 | MenuSelectionManager from event. | |
3917 | (MenuDragMouseHandler.menuDragMouseEntered): Fetch | |
3918 | MenuSelectionManager from event. | |
3919 | (MenuDragMouseHandler.menuDragMouseExited): Fetch | |
3920 | MenuSelectionManager from event. | |
3921 | (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse | |
3922 | release inside menu item, otherwise clear selection. | |
3923 | (MenuInputHandler.mouseReleased): Avoid multiple calls to getX() | |
3924 | and getY(). Call doClick() rather than the doClick() of JMenuItem. | |
3925 | (doClick): Perform an immediate click. | |
3926 | ||
3927 | 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3928 | ||
3929 | * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply | |
3930 | return if object is not in the list. | |
3931 | ||
3932 | 2006-10-12 Andrew Haley <aph@redhat.com> | |
3933 | ||
3934 | * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel. | |
3935 | * java/lang/ThreadLocal.java: Likewise. | |
3936 | ||
3937 | 2006-10-12 Roman Kennke <kennke@aicas.com> | |
3938 | ||
3939 | PR 27956 | |
3940 | * javax/swing/JSlider.java | |
3941 | (LabelUIResource): New inner class. A JLabel as UIResource. | |
3942 | (createStandardLabels): Don't set label bounds here. | |
3943 | Create LabelUIResource instances. | |
3944 | (setInverted): Repaint. | |
3945 | (setLabelTable): Update the label UIs. Revalidate and repaint. | |
3946 | (setMajorTickSpacing): Update the label table. Repaint if | |
3947 | necessary. | |
3948 | (setMinorTickSpacing): Repaint if necessary. | |
3949 | (setOrientation): Revalidate. | |
3950 | (setPaintLabels): Revalidate and repaint. | |
3951 | (setPaintTicks): Revalidate and repaint. | |
3952 | (setPaintTrack): Repaint. | |
3953 | (updateLabelUIs): Set the label sizes here. | |
3954 | (updateUI): Also update the label UIs. | |
3955 | * javax/swing/plaf/basic/BasicSliderUI.java | |
3956 | (ComponentHandler.componentResized): Don't revalidate. | |
3957 | (FocusHandler.focusGained): Don't set field. | |
3958 | (FocusHandler.focusLost): Don't set field. | |
3959 | (PropertyChangeHandler.propertyChange): Calculate geometry | |
3960 | and repaint for a couple more properties. | |
3961 | (TrackListener.mouseReleased): Repaint. | |
3962 | (hasFocus): Removed unneeded field. | |
3963 | (calculateContentRect): No need to check for content size < 0. | |
3964 | (calculateFocusRect): Use insets from insetCache. | |
3965 | (calculateLabelRect): Fixed calculation of label rectangle. | |
3966 | It is relative to the tick rectangle, rather than the content | |
3967 | rectangle. | |
3968 | (calculateTickRect): Small restructuring to avoid unnecessary | |
3969 | comparisons. | |
3970 | (calculateTrackRect): Fixed calculation of track rectangle. | |
3971 | (getMaximumSize): Fixed. Fetch preferred size and set | |
3972 | the height of width to Short.MAX_VALUE. | |
3973 | (getMinimumHorizontalSize): Fixed to return UIManager value. | |
3974 | (getMinimumVerticalSize): Fixed to return UIManager value. | |
3975 | (getPreferredHorizontalSize): Fixed to return UIManager value. | |
3976 | (getPreferredVerticalSize): Fixed to return UIManager value. | |
3977 | (getMinimumSize): Fixed to return the UIManager value plus | |
3978 | insets added. | |
3979 | (getPreferredSize): Fixed to return the UIManager value plus | |
3980 | insets added. | |
3981 | (getWidthOfWidestLabel): Restructured for more cleanness and | |
3982 | efficiency. | |
3983 | (hitClip): New helper method. | |
3984 | (paintHorizontalLabel): Replaced by more efficient and clean | |
3985 | implementation. | |
3986 | (paintVerticalLabel): Replaced by more efficient and clean | |
3987 | implementation. | |
3988 | (paintLabels): Replaced by more efficient and clean | |
3989 | implementation. | |
3990 | (paint): Check if rectangles intersect with clip for maximum | |
3991 | efficiency. | |
3992 | (recalculateIfInsetsChanged): Fixed. This method should | |
3993 | recalculate only when the insets changed. | |
3994 | (setThumbLocation): Repaint with a reasonable clip. | |
3995 | (xPositionForValue): Made more clean and efficient. | |
3996 | (yPositionForValue): Made more clean and efficient. | |
3997 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
3998 | (initComponenDefaults): Added Slider.horizontalSize, | |
3999 | Slider.verticalSize, Slider.minimumHorizontalSize and | |
4000 | Slider.minimumVerticalSize properties. | |
4001 | * javax/swing/plaf/metal/MetalSliderUI.java | |
4002 | (getTickLength): Add 1 for horizontal sliders and 3 for | |
4003 | vertical sliders. | |
4004 | (paintMajorTickForHorizSlider): Fix colors. Fix line locations. | |
4005 | (paintMinorTickForHorizSlider): Fix colors. Fix line locations. | |
4006 | (paintMajorTickForVertSlider): Fix colors. Fix line locations. | |
4007 | (paintMinorTickForVertSlider): Fix colors. Fix line locations. | |
4008 | ||
4009 | 2006-10-12 Roman Kennke <kennke@aicas.com> | |
4010 | ||
4011 | PR 28696 | |
4012 | * javax/swing/text/FlowView.java | |
4013 | (FlowStrategy.layout): Preserve logical views from getting lost. | |
4014 | (FlowStrategy.layoutRow): Fix line breaking. | |
4015 | (FlowStrategy.adjustRow): Fix line breaking. | |
4016 | (FlowStrategy.changedUpdate): Mark layout invalid, or repaint. | |
4017 | (FlowStrategy.insertUpdate): Mark layout invalid, or repaint. | |
4018 | (FlowStrategy.removeUpdate): Mark layout invalid, or repaint. | |
4019 | (createView): Don't check index. | |
4020 | (contains): New helper method. | |
4021 | (reparent): New helper method. | |
4022 | (layoutDirty): Removed unneeded field. | |
4023 | (FlowView): Removed layoutDirty field init. | |
4024 | (changedUpdate): Removed layoutDirty handling. | |
4025 | (insertUpdate): Removed layoutDirty handling. | |
4026 | (removeUpdate): Removed layoutDirty handling. | |
4027 | (layout): Use isLayoutValid() rather than the layoutDirty field. | |
4028 | * javax/swing/text/GlyphView.java | |
4029 | (startOffset): Removed. | |
4030 | (endOffset): Removed. | |
4031 | (offset): New field. | |
4032 | (length): New field. | |
4033 | (GlyphView): Initialize new fields. Removed old fields. | |
4034 | (createFragment): Create fragment with new relative offsets. | |
4035 | (getEndOffset): Work with new relative offsets. | |
4036 | (getStartOffset): Work with new relative offsets. | |
4037 | * javax/swing/text/ParagraphView.java | |
4038 | (Row.getStartOffset): Overidden to determine the minimum start | |
4039 | offset from the children. | |
4040 | (Row.getEndOffset): Overidden to determine the maximum end | |
4041 | offset from the children. | |
4042 | * javax/swing/text/html/BRView.java | |
4043 | Make subclass of InlineView. | |
4044 | (getBreakWeight): Fall back to super for Y_AXIS. | |
4045 | ||
4046 | 2006-10-12 Roman Kennke <kennke@aicas.com> | |
4047 | ||
4048 | PR 28733 | |
4049 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
4050 | (TabPaneLayout.normalizeTabRuns): Replaced algorithm with | |
4051 | one that avoids faulty state that could cause division by zero | |
4052 | error. | |
4053 | ||
4054 | 2006-10-12 Roman Kennke <kennke@aicas.com> | |
4055 | ||
4056 | PR 28057 | |
4057 | * javax/swing/plaf/basic/BasicRadioButtonUI.java | |
4058 | (paint): Determine correct icon. Added support for HTML label. | |
4059 | Added small optimizations. | |
4060 | (getPreferredSize): Only consider the buttons iconTextGap, and | |
4061 | only when the text is not null. | |
4062 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
4063 | (initComponentDefaults): Fetch border for RadioButton from | |
4064 | BasicButtons.getRadioButtonBorder(). | |
4065 | * javax/swing/plaf/metal/MetalRadioButtonUI.java | |
4066 | (paintFocus): Paint focus rectangle one pixel smaller. | |
4067 | ||
4068 | 2006-10-12 Roman Kennke <kennke@aicas.com> | |
4069 | ||
4070 | PR 29418 | |
4071 | * javax/swing/tree/AbstractLayoutCache.java | |
4072 | (getNodeDimensions): Don't throw InternalError, but instead | |
4073 | return null. | |
4074 | (getRowsForPaths): Check for null here. | |
4075 | (isFixedRowHeight): Returns true when rowHeight > 0. | |
4076 | (setSelectionModel): Set this as the row mapper for the selection | |
4077 | model. | |
4078 | * javax/swing/tree/VariableHeightLayoutCache.java | |
4079 | (NodeRecord.NodeRecord): Initialize bounds field. | |
4080 | (getBounds): Simply return the bounds field. | |
4081 | (row2Node): Changed to be an ArrayList. | |
4082 | (RECT_CACHE): New field. Caches a Rectangle instance. | |
4083 | (countRows): Added y parameter and return value. The method | |
4084 | now takes the current y position as parameter, and returns | |
4085 | the updated y position. | |
4086 | (getBounds): Fixed to return the correct bounds. | |
4087 | (getPathForRow): Replaced by fixed implementation. | |
4088 | (getPreferredHeight): Replaced by more efficient implementation. | |
4089 | This simply fetches the last node record and returns its lower | |
4090 | bounds. | |
4091 | (getPreferredWidth): Added null check. | |
4092 | (getVisibleChildCount): Added null check. | |
4093 | (getVisiblePathsFrom): Added null check. | |
4094 | (setExpandedState): Also expand the ancestors of the node | |
4095 | to be expanded. | |
4096 | (setModel): Set dirty flag rather than updating for real. | |
4097 | (setNodeDimensions): Overridden to set the dirty flag. | |
4098 | (setRowHeight): Overridden to set the dirty flag. | |
4099 | (update): Don't special case the root here, this is done now | |
4100 | in countRows(). | |
4101 | ||
4102 | 2006-10-12 Roman Kennke <kennke@aicas.com> | |
4103 | ||
4104 | * javax/swing/JComponent.java | |
4105 | (paintImmediately2): Added support for components which need | |
4106 | to force themselves as paint root. | |
4107 | (isPaintRoot): New method. This should be overridden by components | |
4108 | which need to force themselves as paint root. | |
4109 | * javax/swing/JViewport.java | |
4110 | (isPaintRoot): Overridden to force the viewport as paint root | |
4111 | when running in backingstore mode. | |
4112 | ||
4113 | 2006-10-12 Roman Kennke <kennke@aicas.com> | |
4114 | ||
4115 | * javax/swing/tree/DefaultTreeSelectionModel.java | |
4116 | (PathPlaceHolder): New inner class. Wraps a path and its status | |
4117 | wrt to its newness. | |
4118 | (selectedPaths): New field. A supporting datastructure. | |
4119 | (tmpPaths): New field. A supporting datastructure. | |
4120 | (DefaultTreeSelectionModel): Initialize the list selection model, | |
4121 | the leadIndex and the supporting datastructures. | |
4122 | (addPropertyChangeListener): Create changeSupport object lazily. | |
4123 | (addSelectionPaths): Mostly rewritten to handle the different | |
4124 | selection modes correctly. | |
4125 | (addSelectionPath): Delegate to addSelectionPaths(). | |
4126 | (arePathsContiguous): Replaced with more efficient implementation | |
4127 | using BitSet | |
4128 | (canPathBeAdded): Removed unneeded method. | |
4129 | (canPathsBeAdded): Replaced with more efficient implementation. | |
4130 | (clearSelection): Create correct event. Clear the fields correctly, | |
4131 | including the supporting datastructures. | |
4132 | (clone): Also clone the supporting datastructures and nullify | |
4133 | changeSupport field. | |
4134 | (getMaxSelectionRow): Delegate to list selection model. | |
4135 | (getMinSelectionRow): Delegate to list selection model. | |
4136 | (getPath): Removed unneeded method. | |
4137 | (getPropertyChangeListeners): Handle null changeSupport field | |
4138 | correctly. | |
4139 | (getRow): Handle null rowMapper field correctly. | |
4140 | (getSelectionRows): Handle invisible rows correctly. | |
4141 | (insureRowContinuity): Replaced by more efficient and correct | |
4142 | implementation. | |
4143 | (isRowSelected): Delegate to list selection model. | |
4144 | (notifyPathChange): Made more efficient by use of PathPlaceHolder | |
4145 | class. | |
4146 | (removePropertyChangeListener): Handle null changeSupport field. | |
4147 | (removeSelectionPaths): Mostly rewritten to handle the different | |
4148 | selection modes correctly. | |
4149 | (removeSelectionPath): Delegate to removeSelectionPaths(). | |
4150 | (resetRowSelection): Handle list selection model. | |
4151 | (selectOne): Removed unneeded field. | |
4152 | (setRowMapper): Reset the row selection. | |
4153 | (setSelectionMode): Check for invalid mode and set to | |
4154 | DISCONTINUOUS_TREE_SELECTION in this case. Fire property change. | |
4155 | (setSelectionPaths): Mostly rewritten to handle the different | |
4156 | selection modes correctly. | |
4157 | (setSelectionPath): Delegate to setSelectionPaths(). | |
4158 | (updateLeadIndex): Made more efficient. | |
4159 | ||
4160 | 2006-10-11 Francis Kung <fkung@redhat.com> | |
4161 | ||
4162 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
4163 | (buffer, locked): New fields. | |
4164 | (constructors): Initialize new variables. | |
4165 | (createBuffer): New method. | |
4166 | (draw): Implement custom composites. | |
4167 | (drawComposite): New method. | |
4168 | (drawGlyphVector): Implement custom composites. | |
4169 | (drawImage): Implement custom composites. | |
4170 | (drawRenderedImage): Implement custom composites. | |
4171 | (fill): Implement custom composites. | |
4172 | (getBufferCM): New method. | |
4173 | (getNativeCM): New method. | |
4174 | (updateBufferedImage): Fix premultiplication. | |
4175 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
4176 | (copy): Copy composite. | |
4177 | (drawImage): Set background properly. | |
4178 | (getBufferCM): New method. | |
4179 | (setComposite): Reset alpha composite when using custom composite. | |
4180 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
4181 | (cairoColorModel): New field. | |
4182 | (nativeColorModel): Renamed. | |
4183 | (constructor): Use renamed createCairoSampleModel method. | |
4184 | (createCairoSampleModel): New method. | |
4185 | (createNativeSampleModel): Renamed. | |
4186 | (getBufferedImage): Use renamed cairoColorModel field. | |
4187 | * gnu/java/awt/peer/gtk/GtkVolatileImage.java | |
4188 | (gdkColorModel): New field. | |
4189 | (createGdkSampleModel): New method. | |
4190 | (getPixels): Added comments. | |
4191 | (getSnapshot): Use GDK colour and sample models. | |
4192 | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java | |
4193 | (createBuffer): Use GDK colour and sample models. | |
4194 | (getNativeCM): Added comments. | |
4195 | * java/awt/image/BufferedImage.java | |
4196 | (constructor): Set premultiplied flag properly. | |
4197 | ||
4198 | 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net> | |
4199 | ||
4200 | * native/jni/java-nio/gnu_java_nio_VMChannel.c | |
4201 | (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE. | |
4202 | ||
4203 | 2006-10-10 Francis Kung <fkung@redhat.com> | |
4204 | ||
4205 | PR 29372 | |
4206 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
4207 | (createPath): Added isDraw parameter. | |
4208 | (draw): Updated createPath call. | |
4209 | (fill): Updated createPath call. | |
4210 | ||
4211 | 2006-10-10 Tom Tromey <tromey@redhat.com> | |
4212 | ||
4213 | PR classpath/29362: | |
4214 | * gnu/xml/transform/TransformerImpl.java (transform): Only strip if | |
4215 | there is a stylesheet. | |
4216 | ||
4217 | 2006-10-10 Roman Kennke <kennke@aicas.com> | |
4218 | ||
4219 | * java/awt/Toolkit.java | |
4220 | (getDefaultTookit): Make method synchronized to avoid | |
4221 | accidentally creating more than one toolkits from different | |
4222 | threads. | |
4223 | ||
4224 | 2006-10-10 Roman Kennke <kennke@aicas.com> | |
4225 | ||
4226 | * java/awt/LightweightDispatcher.java | |
4227 | (handleMouseEvent): Redispatch MOUSE_WHEEL events too. | |
4228 | (redispatch): Transfer the button to the redispatched event. | |
4229 | ||
4230 | 2006-10-10 Francis Kung <fkung@redhat.com> | |
4231 | ||
4232 | * java/awt/image/ColorModel.java (coerceData): Implemented. | |
4233 | ||
4234 | 2006-10-09 Christian Elias Naur <elias@oddlabs.com> | |
4235 | ||
4236 | * vm/reference/java/lang/VMClassLoader.java: | |
4237 | (defineClassWithTransformers): Use proper class name format. | |
4238 | ||
4239 | 2006-10-09 Gary Benson <gbenson@redhat.com> | |
4240 | ||
4241 | * java/net/ServerSocket.java | |
4242 | (implAccept): Add security check. | |
4243 | (accept): Close socket if security check fails. | |
4244 | (setSocketFactory): Add security check and already-set check. | |
4245 | ||
4246 | 2006-10-09 Roman Kennke <kennke@aicas.com> | |
4247 | ||
4248 | PR 29325 | |
4249 | * javax/swing/JSplitPane.java | |
4250 | (dividerLocation): New field. Stores the divider location. | |
4251 | (JSplitPane): Initialize dividerLocation with -1. | |
4252 | (addImpl): Removed unneeded local variables. | |
4253 | (getDividerLocation): Manage dividerLocation in the JSplitPane | |
4254 | class, not in the UI. | |
4255 | (setDividerLocation): Manage dividerLocation in the JSplitPane | |
4256 | class, not in the UI. Only call the UI method for notification. | |
4257 | * javax/swing/plaf/basic/BasicSplitPaneUI.java | |
4258 | (BasicHorizontalLayoutManager.layoutContainer): Fetch divider | |
4259 | location from the JSplitPane. Honour the minimumSize, but only | |
4260 | if the divider location hasn't been set explicitly. | |
4261 | (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded | |
4262 | statement. | |
4263 | (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded | |
4264 | statement. | |
4265 | (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch | |
4266 | the divider location. | |
4267 | (dividerLocationSet): New field. | |
4268 | (dividerLocation): Removed field. | |
4269 | (createActionMap): Fetch and set divider location on the JSplitPane. | |
4270 | (getDividerLocation): Return the actual real divider location. | |
4271 | (getMaximumSize): Removed unneeded cast. | |
4272 | (getPreferredSize): Removed unneeded cast. | |
4273 | (getMinimumSize): Removed unneeded cast. | |
4274 | (installUI): Initialize dividerLocationSet with false. | |
4275 | (uninstallUI): Initialize dividerLocationSet with false. | |
4276 | (setDividerLocation): Set dividerLocationSet to true. | |
4277 | ||
4278 | 2006-10-09 Robert Schuster <robertschuster@fsfe.org> | |
4279 | ||
4280 | * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c: | |
4281 | (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly | |
4282 | convert jstring into char *. | |
4283 | (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito. | |
4284 | (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito. | |
4285 | (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito. | |
4286 | (getif_address): Added const modifier to second argument. | |
4287 | (getif_index): Dito. | |
4288 | ||
4289 | 2006-10-09 Roman Kennke <kennke@aicas.com> | |
4290 | ||
4291 | * javax/swing/JTree.java | |
4292 | (isSelected): Added API docs. | |
4293 | ||
4294 | 2006-10-09 Roman Kennke <kennke@aicas.com> | |
4295 | ||
4296 | * javax/swing/JTree.java | |
4297 | (isSelected): Delegate to the selection model directly. | |
4298 | ||
4299 | 2006-10-09 Robert Schuster <robertschuster@fsfe.org> | |
4300 | ||
4301 | * gnu/java/nio/KqueueSelectorImpl.java: Renamed field | |
4302 | sizeof_struct_kevent to _sizeof_struct_kevent. | |
4303 | ||
4304 | 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
4305 | ||
4306 | * tools/gnu/classpath/tools/rmic/RMICException.java: | |
4307 | javadoc corrections, reformatted. | |
4308 | ||
4309 | 2006-10-07 Christian Elias Naur <elias@oddlabs.com> | |
4310 | ||
4311 | * gnu/java/lang/InstrumentationImpl.java: | |
4312 | Made constructor package visible. | |
4313 | ||
4314 | 2006-10-05 Gary Benson <gbenson@redhat.com> | |
4315 | ||
4316 | * java/net/Socket.java | |
4317 | (Socket): Perform security check on address not hostname. | |
4318 | ||
4319 | 2006-10-04 Roman Kennke <kennke@aicas.com> | |
4320 | ||
4321 | * javax/swing/tree/VariableHeightLayoutCache.java | |
4322 | (getBounds): When rect is null, create a new Rectangle. | |
4323 | ||
4324 | 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at> | |
4325 | ||
4326 | * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv) | |
4327 | (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect) | |
4328 | (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl) | |
4329 | (cpnio_select): Use CPNIO_EXPORT. | |
4330 | * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static | |
4331 | inline instead of extern inline, as newer GCCs changed their | |
4332 | behavior. | |
4333 | ||
4334 | 2006-10-04 Gary Benson <gbenson@redhat.com> | |
4335 | ||
4336 | * java/net/InetAddress.java: Updated javadoc. | |
4337 | (<clinit>, getByLiteral): Throw InternalError on failures. | |
4338 | ||
4339 | 2006-10-03 Francis Kung <fkung@redhat.com> | |
4340 | ||
4341 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
4342 | (compCtx): New field for composite context. | |
4343 | (copy): Copy composite. | |
4344 | (dispose): Dispose of composite context. | |
4345 | (getNativeCM): New method. | |
4346 | (setComposite): Discard old composite context and set up new context. | |
4347 | (setRenderingHints): Update composite context. | |
4348 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
4349 | (nativeColorModel): New field, renamed from nativeModel. | |
4350 | (nativeModel): Renamed field to nativeColorModel. | |
4351 | (CairoSurface(int, int)): Call new method to create sample model. | |
4352 | (createNativeSampleModel): New method. | |
4353 | (getBufferedImage): Updated variable name. | |
4354 | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java | |
4355 | (buffer): New field. | |
4356 | (createBuffer): New method. | |
4357 | (draw): New method. | |
4358 | (drawComposite): New method. | |
4359 | (drawGlyphVector): New method. | |
4360 | (drawImage(Image, AffineTransform, Color, ImageObserver)): New method. | |
4361 | (drawImage(Image, int, int, ImageObserver)): Check composite. | |
4362 | (drawImage(Image, int, int, int, int, ImageObserver)): Check composite. | |
4363 | (fill): New method. | |
4364 | (getNativeCM): New method. | |
4365 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c | |
4366 | (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use | |
4367 | intermediary pixbuf to grab on-screen pixels. | |
4368 | ||
4369 | 2006-10-03 Tom Tromey <tromey@redhat.com> | |
4370 | ||
4371 | PR classpath/28987: | |
4372 | * java/util/IdentityHashMap.java (tombstone): Removed. | |
4373 | (emptyslot): Removed. | |
4374 | (nullslot): New field. | |
4375 | (IdentityHashMap): Don't fill array. | |
4376 | (clear): Fill with null. | |
4377 | (hash): Now final. Use linear probing. | |
4378 | (xform): New method. | |
4379 | (unxform): Likewise. | |
4380 | (removeAtIndex): Likewise. | |
4381 | (clone, containsKey, containsValue, entrySet, get, hashCode, | |
4382 | keySet, put, remove, values): Updated. | |
4383 | (IdentityIterator, IdentityEntry): Likewise. | |
4384 | (writeObject): Likewise. | |
4385 | ||
4386 | 2006-10-03 Tom Tromey <tromey@redhat.com> | |
4387 | ||
4388 | * java/util/Locale.java (hashcode): Updated javadoc. | |
4389 | (hashcodeCache): Removed. | |
4390 | (Locale): Updated. | |
4391 | (hashCode): Updated. | |
4392 | (writeObject): New method. | |
4393 | (readObject): Updated. | |
4394 | ||
4395 | 2006-10-02 Francis Kung <fkung@redhat.com> | |
4396 | ||
4397 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
4398 | (updateBufferedImage): Recognise that raw data is alpha-premultiplied. | |
4399 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
4400 | (clearRect): Paint background colour with AlphaComposite.SRC rule. | |
4401 | (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha | |
4402 | pre-multiply data before drawing. | |
4403 | (fillRect): Draw using regular fill() method. | |
4404 | (setComposite): Handle null case with AlphaComposite.SrcOver default. | |
4405 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
4406 | (nativeModel): Use correct value for alpha premultiplication (true). | |
4407 | * java/awt/image/BufferedImage.java | |
4408 | (coerceData): Update isPremultiplied field. | |
4409 | ||
4410 | 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
4411 | ||
4412 | * gnu/classpath/ListenerData.java: | |
4413 | New class for holding listener data. | |
4414 | * gnu/java/lang/management/MemoryMXBeanImpl.java: | |
4415 | ListenerData class moved to its own file. | |
4416 | * javax/management/MBeanServerDelegate.java, | |
4417 | * javax/management/MBeanServerDelegateMBean.java, | |
4418 | * javax/management/MBeanServerNotification.java: | |
4419 | Implemented. | |
4420 | ||
4421 | 2006-10-02 Tania Bento <tbento@redhat.com> | |
4422 | ||
4423 | * java/ast/Rectangle.java: | |
4424 | (Rectangle(Rectangle)): Do not throw NPE. | |
4425 | (Rectangle(Point, Dimension)): Same. | |
4426 | (Rectangle(Point)): Same. | |
4427 | (Rectangle(Dimension)): Same. | |
4428 | ||
4429 | 2006-09-29 Casey Marshall <csm@gnu.org> | |
4430 | ||
4431 | PR 29190 | |
4432 | * gnu/java/nio/EpollSelectionKeyImpl.java: extend | |
4433 | `AbstractSelectionKey.' | |
4434 | (cancel, isValid): removed. | |
4435 | * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed. | |
4436 | (events): new field. | |
4437 | (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new | |
4438 | fields. | |
4439 | (<clinit>): initialize those constants. | |
4440 | (<init>): don't initialize `cancelledKeys;' initialize `events.' | |
4441 | (doSelect): deregister cancelled keys; remove keys attached to | |
4442 | closed channels; wrap `epoll_wait' in `begin' and `end' calls; use | |
4443 | `events' buffer; reallocate `events' buffer if needed. | |
4444 | (register): reallocate `events' buffer if needed. | |
4445 | (reallocateBuffer): new method. | |
4446 | (cancel): removed. | |
4447 | ||
4448 | 2006-09-29 Roman Kennke <kennke@aicas.com> | |
4449 | ||
4450 | PR 28929 | |
4451 | * javax/swing/JViewport.java | |
4452 | (cinit): Renamed system property to gnu.swing.scrollmode | |
4453 | to avoid bloat. Default to BACKINGSTORE, this is much | |
4454 | more reliable. | |
4455 | (repaint): Forward repaint() to parent as is specified. | |
4456 | ||
4457 | 2006-09-29 Tania Bento <tbento@redhat.com> | |
4458 | ||
4459 | * javax/swing/plaf/basic/BasicTableUI.java | |
4460 | (getPreferredSize): The number of iterations for the for-loop should be | |
4461 | the number of columns in the table's column model, not the number of | |
4462 | columns of the table. | |
4463 | * javax/swing/JTable.java | |
4464 | (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4 | |
4465 | lines that are not needed. | |
4466 | (initializeLocalVars): dragEnabled should be set to false, not true. | |
4467 | (getCellRenderer): Added a check to prevent an | |
4468 | ArrayIndexOutOfBoundsException. | |
4469 | (doLayout): The number of iterations for the for-loops should be the | |
4470 | number of columns in the table's column model, not the number of columns | |
4471 | of the table. | |
4472 | ||
4473 | 2006-09-29 Roman Kennke <kennke@aicas.com> | |
4474 | ||
4475 | * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated | |
4476 | API docs. | |
4477 | (isOptimized): Initialize with true. | |
4478 | (paintRaster): Removed unneeded field. | |
4479 | (shapeCache): New static field. Caches certain shapes for reuse. | |
4480 | (computeIntersection): Removed unneeded casts. | |
4481 | (drawArc): Use shape cache. | |
4482 | (drawImage): Removed unneeded statement. | |
4483 | (drawLine): Use shape cache. Pass untranslated coordinates | |
4484 | to rawDrawLine(). | |
4485 | (drawOval): Use shape cache. | |
4486 | (drawPolygon): Use shape cache. | |
4487 | (drawRect): Overridden to provide accelerated rectangle drawing | |
4488 | if possible and to use the shape cache. | |
4489 | (drawRoundRect): Use shape cache. | |
4490 | (fillArc): Use shape cache. | |
4491 | (fillOval): Use shape cache. | |
4492 | (fillPolygon): Use shape cache. | |
4493 | (fillRect): Pass untranslated coordinates to rawFillRect(). | |
4494 | Use shape cache. | |
4495 | (fillRoundRect): Use shape cache. | |
4496 | (fillScanlineAA): Removed unneeded statement. | |
4497 | (fillScanline): Updated API docs. | |
4498 | (fillShapeAntialias): Removed unnecessary cast. | |
4499 | (fillShapeImpl): Update API docs. Removed unnecessary cast. | |
4500 | (fillShape): Updated API docs. | |
4501 | (getShapeCache): New helper method. | |
4502 | * gnu/java/awt/java2d/ShapeCache.java: New class. Caches | |
4503 | certain shapes for reuse in AbstractGraphics2D. | |
4504 | ||
4505 | 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
4506 | ||
4507 | * javax/management/BadBinaryOpValueExpException.java: | |
4508 | (getExp()): Implemented. | |
4509 | * javax/management/MBeanConnection.java: | |
4510 | Renamed to MBeanServerConnection. | |
4511 | * javax/management/MBeanServer.java: | |
4512 | (setAttribute(Attribute)): Fixed... | |
4513 | (setAttribute(ObjectName,Attribute)): to this. | |
4514 | * javax/management/MBeanServerConnection.java: | |
4515 | Renamed from MBeanConnection. | |
4516 | * javax/management/QueryExp.java: | |
4517 | Extend Serializable. | |
4518 | * javax/management/ValueExp.java: | |
4519 | Likewise. | |
4520 | * javax/management/loading/ClassLoaderRepository.java: | |
4521 | (loadClass(String)): Throw ClassNotFoundException. | |
4522 | (loadClassBefore(ClassLoader,String)): Likewise. | |
4523 | (loadClassWithout(String, ClassLoader): Fixed... | |
4524 | (loadClassWithout(ClassLoader,String)): to this. | |
4525 | ||
4526 | 2006-09-28 Roman Kennke <kennke@aicas.com> | |
4527 | ||
4528 | * javax/swing/tree/DefaultTreeCellRenderer.java | |
4529 | (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon | |
4530 | property from UIManager. | |
4531 | (paint): Rewritten to use super's implementation and only paint | |
4532 | background and focus indicator before. | |
4533 | (paintFocus): New helper method. | |
4534 | (getXOffset): New helper method. | |
4535 | ||
4536 | 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
4537 | ||
4538 | * javax/management/BadBinaryOpValueExpException.java, | |
4539 | * javax/management/MBeanConnection.java, | |
4540 | * javax/management/MBeanServer.java, | |
4541 | * javax/management/ObjectInstance.java: | |
4542 | Implemented. | |
4543 | * javax/management/ObjectName.java: | |
4544 | (setMBeanServer(MBeanServer)): Implemented. | |
4545 | * javax/management/QueryExp.java, | |
4546 | * javax/management/ValueExp.java, | |
4547 | * javax/management/loading/ClassLoaderRepository.java: | |
4548 | Implemented. | |
4549 | ||
4550 | 2006-09-27 Robert Schuster <robertschuster@fsfe.org> | |
4551 | ||
4552 | * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports. | |
4553 | ||
4554 | 2006-09-27 Robert Schuster <robertschuster@fsfe.org> | |
4555 | ||
4556 | * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports. | |
4557 | * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports. | |
4558 | * gnu/java/nio/EpollSelectorImpl.java: | |
4559 | (doSelect): Use Integer.valueOf() instead of constructor call. | |
4560 | (register): Use Integer.valueOf() instead of constructor call. | |
4561 | ||
4562 | 2006-09-27 Roman Kennke <kennke@aicas.com> | |
4563 | ||
4564 | * java/awt/Container.java | |
4565 | (addContainerListener): Activate newEventsOnly for the component. | |
4566 | Ignore null listeners. | |
4567 | ||
4568 | 2006-09-27 Roman Kennke <kennke@aicas.com> | |
4569 | ||
4570 | * java/awt/EventQueue.java | |
4571 | (Queue): New inner class. Implements the actual queue. | |
4572 | (LOW_PRIORITY): New constant field. | |
4573 | (NORM_PRIORITY): New constant field. | |
4574 | (queueHead): Removed. Moved into Queue. | |
4575 | (queueTail): Removed. Moved into Queue. | |
4576 | (queues): New field. | |
4577 | (EventQueue): Initialize two internal queues, one for | |
4578 | normal events, one for low priority events. | |
4579 | (getNextEventImpl): New helper method, fetches the next event. | |
4580 | (getNextEvent): Use getNextEventImpl() for fetching the event. | |
4581 | (peekEvent): Use getNextEventImpl() for fetching the event. | |
4582 | (peekEvent(int)): Search for event in all queues. | |
4583 | (postEventImpl(AWTEvent)): Moved actual posting into | |
4584 | postEventImpl(AWTEvent,int). Prioritize events here. | |
4585 | (postEventImpl(AWTEvent,int)): Take priority parameter and insert | |
4586 | event into correct queue. Re-enable event coalescing. | |
4587 | * gnu/java/awt/LowPriorityEvent.java: New marker interface. | |
4588 | * javax/swing/RepaintManager.java | |
4589 | (RepaintWorkerEvent): New internal class. This is a low priority | |
4590 | event for the repaint worker. | |
4591 | (addDirtyRegion): Use new internal invokeLater() for sending | |
4592 | a low priority event. | |
4593 | (addInvalidComponent): Use new internal invokeLater() for sending | |
4594 | a low priority event. | |
4595 | (commitBuffer): Added some null checks. | |
4596 | (invokeLater): New helper method. Sends a low priority | |
4597 | repaint worker event on the event queue. | |
4598 | ||
4599 | 2006-09-27 Roman Kennke <kennke@aicas.com> | |
4600 | ||
4601 | PR 29036 | |
4602 | PR 29161 | |
4603 | * javax/swing/plaf/basic/BasicButtonUI.java | |
4604 | (cachedInsets): New field. | |
4605 | (installListeners): Fire synthetic property change to initialize | |
4606 | TEXT_LAYOUT_CACHE for the button because the font has been | |
4607 | installed before. | |
4608 | (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button. | |
4609 | (paint): Use cached insets. | |
4610 | (paintText): Let new method forward to old one, not vice versa. | |
4611 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
4612 | (defaultAcceleratorLabelGap): Removed unused field. | |
4613 | (MenuGap): Removed unused field. | |
4614 | (propertyChangeListener): Made private. | |
4615 | (getAcceleratorRect): Removed unused method. | |
4616 | (getAcceleratorText): Removed unused method. | |
4617 | (getPath): Removed unnecessary cast. | |
4618 | (installListeners): Fire synthetic property change to initialize | |
4619 | TEXT_LAYOUT_CACHE for the button because the font has been | |
4620 | installed before. | |
4621 | (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button. | |
4622 | (layoutMenuItem): Removed unused statements. | |
4623 | ||
4624 | 2006-09-27 Roman Kennke <kennke@aicas.com> | |
4625 | ||
4626 | PR 29218 | |
4627 | * javax/swing/tree/DefaultTreeModel.java | |
4628 | (isLeaf): Check if the node allows children when | |
4629 | asksAllowsChildren is true, otherwise fall back | |
4630 | to return the node's leaf property. | |
4631 | ||
4632 | 2006-09-27 Mario Torre <neugens@limasoftware.net> | |
4633 | ||
4634 | * scripts/check_jni_methods.sh: removed methods from the | |
4635 | ignore list: | |
4636 | Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class | |
4637 | Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache | |
4638 | Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class | |
4639 | Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key | |
4640 | Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key | |
4641 | * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style | |
4642 | to better follow the GNU style. | |
4643 | * include/gnu_java_util_prefs_gconf_GConfNativePeer.h. | |
4644 | regenerated header file for GConfNativePeer. | |
4645 | ||
4646 | 2006-09-27 Robert Schuster <robertschuster@fsfe.org> | |
4647 | ||
4648 | * INSTALL: Added information about grmic being built when ASM | |
4649 | is available, added information about gconf dependency, indented | |
4650 | Qt4 dependency section. | |
4651 | * configure.ac: Added information about grmic being built when ASM | |
4652 | is available. | |
4653 | ||
4654 | 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk> | |
4655 | ||
4656 | * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call | |
4657 | DeleteGlobalRef on a local ref. | |
4658 | ||
4659 | 2006-09-24 Mario Torre <neugens@limasoftware.net> | |
4660 | ||
4661 | * scripts/check_jni_methods.sh: added two new methods in the | |
4662 | ignore list: | |
4663 | Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key | |
4664 | and | |
4665 | Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key | |
4666 | * native/jni/gconf-peer/GConfNativePeer.c: | |
4667 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys): | |
4668 | refacored method name, renamed from | |
4669 | Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys. | |
4670 | Added code to unescape escaped GConf key names. | |
4671 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes): | |
4672 | refacored method name, renamed from | |
4673 | Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes. | |
4674 | Added code to unescape escaped GConf key names. | |
4675 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key): | |
4676 | new function. | |
4677 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key): | |
4678 | new function. | |
4679 | * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed | |
4680 | version javadoc tag. | |
4681 | (escapeString): new method. | |
4682 | (unescapeString): likewise. | |
4683 | (gconf_escape_key): new native method. | |
4684 | (gconf_unescape_key): likewise. | |
4685 | (gconf_client_suggest_sync): update native method signature, now | |
4686 | explicity throws BackingStoreException. | |
4687 | (gconf_client_all_nodes): update native method signature, now | |
4688 | explicity throws BackingStoreException. Refactored method name, | |
4689 | renamed from gconf_client_gconf_client_all_nodes. | |
4690 | (gconf_client_all_keys): update native method signature, now | |
4691 | explicity throws BackingStoreException. Refactored method name, | |
4692 | renamed from gconf_client_gconf_client_all_keys. | |
4693 | (getKeys): refactored to use the new method name | |
4694 | gconf_client_all_keys. | |
4695 | (getChildrenNodes): refactored to use the new method name | |
4696 | gconf_client_all_nodes. | |
4697 | * gnu/java/util/prefs/GConfBasedPreferences.java: removed | |
4698 | version javadoc tag. | |
4699 | (GConfBasedPreferences): Added code to escape node names from | |
4700 | invalid characters so that GConf now accept invalid node names. | |
4701 | (GConfBasedPreferences): Moved code to register the current | |
4702 | node to the list of nodes watched by GConf outside the constructor. | |
4703 | (childSpi): Added code to register the current node to the | |
4704 | list of nodes watched by GConf. | |
4705 | (getGConfKey): Added code to escape key names from | |
4706 | invalid characters so that GConf now accept invalid key names. | |
4707 | ||
4708 | 2006-09-26 Tom Tromey <tromey@redhat.com> | |
4709 | ||
4710 | * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't | |
4711 | call mkdirs in output-directory case. | |
4712 | (getPrintStream): Create output directory. | |
4713 | * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory): | |
4714 | Don't call mkdirs. | |
4715 | ||
4716 | 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au> | |
4717 | ||
4718 | * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter): | |
4719 | Accept three additional arguments. | |
4720 | (writePreambleImpl): New method. | |
4721 | (getPrintStreamImpl): Likewise. | |
4722 | (printClass): Adapted to use new methods in Printer superclass. | |
4723 | * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise. | |
4724 | * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise. | |
4725 | * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise. | |
4726 | * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field. | |
4727 | (force): Likewise. | |
4728 | (getParser): Add support for -o option. | |
4729 | Check that only one of -d or -o is defined. | |
4730 | Add support for -jni option. | |
4731 | Add support for -force option. | |
4732 | (makeOutputFile): New method. | |
4733 | (writeHeaders): Removed File argument from signature. | |
4734 | (run): Take into account newly added fields. | |
4735 | Invoke concrete PrintStream implementations with augmented constructors. | |
4736 | * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field. | |
4737 | (isDirectory): Likewise. | |
4738 | (force): Likewise. | |
4739 | (wrotePreamble): Likewise. | |
4740 | (Printer): Changed ctor to accept three additional arguments. | |
4741 | (printClass): Changed signature to accept one ClassWrapper argument. | |
4742 | (writePreambleImpl): New abstract method. | |
4743 | (getPrintStreamImpl): Likewise. | |
4744 | (getPrintStream): New method. | |
4745 | (writePreamble): Likewise. | |
4746 | ||
4747 | 2006-09-26 Tania Bento <tbento@redhat.com> | |
4748 | ||
4749 | * java/awt/GridLayout.java | |
4750 | (toString): There is no common before hgap. | |
4751 | * java/awt/Rectangle.java | |
4752 | (Rectangle(Rectangle)): Throw NPE if Rectangle is null. | |
4753 | (Rectangle(Point, Rectangle)): Throw NPE if either Point or | |
4754 | Rectangle is null. | |
4755 | (Rectangle(Point)): Throw NPE if Point is null. | |
4756 | (Rectangle(Dimension)): Throw NPE if Dimension is null. | |
4757 | ||
4758 | 2006-09-26 David Gilbert <david.gilbert@object-refinery.com> | |
4759 | ||
4760 | * javax/swing/plaf/metal/MetalIconFactory.java | |
4761 | (FileIcon16.paintIcon): Apply vertical shift by the number of pixels | |
4762 | returned by getShift(), | |
4763 | (FileIcon16.getShift): Updated API docs, | |
4764 | (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels | |
4765 | returned by getShift(), | |
4766 | (FolderIcon16.getShift): Updated API docs, | |
4767 | (TreeFolderIcon.getShift): Likewise, | |
4768 | (TreeLeafIcon.getShift): Likewise. | |
4769 | ||
4770 | 2006-09-26 David Gilbert <david.gilbert@object-refinery.com> | |
4771 | ||
4772 | * javax/swing/plaf/metal/MetalIconFactory.java | |
4773 | (FileIcon16.paintIcon): Fetch colors from look and feel, | |
4774 | (FolderIcon16.paintIcon): Likewise. | |
4775 | ||
4776 | 2006-09-25 Casey Marshall <csm@gnu.org> | |
4777 | ||
4778 | * gnu/java/nio/FileChannelImpl.java (read): revert back to using | |
4779 | `readScattering.' | |
4780 | (write): revert back to using `writeGathering.' | |
4781 | * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find | |
4782 | the first buffer that has data remaining, and start at that one. | |
4783 | ||
4784 | 2006-09-25 Tom Tromey <tromey@redhat.com> | |
4785 | ||
4786 | * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New | |
4787 | variable. | |
4788 | ||
4789 | 2006-09-25 Tom Tromey <tromey@redhat.com> | |
4790 | ||
4791 | * tools/.cvsignore: Updated. | |
4792 | ||
4793 | 2006-09-25 Tom Tromey <tromey@redhat.com> | |
4794 | ||
4795 | PR libgcj/29178: | |
4796 | * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method. | |
4797 | (Encoder.canEncode): Likewise. | |
4798 | (Encoder.encodeLoop): Return unmappable for all non-ASCII characters. | |
4799 | * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New | |
4800 | method. | |
4801 | (Encoder.canEncode): Likewise. | |
4802 | * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New | |
4803 | method. | |
4804 | (Encoder.canEncode): Likewise. | |
4805 | ||
4806 | 2006-09-25 Tom Tromey <tromey@redhat.com> | |
4807 | ||
4808 | * native/fdlibm/mprec.c (mprec_calloc): Renamed. | |
4809 | (Balloc): Updated. | |
4810 | ||
4811 | 2006-09-25 Francis Kung <fkung@redhat.com> | |
4812 | ||
4813 | * java/awt/image/ColorModel.java | |
4814 | (coerceData): Made abstract. | |
4815 | (coerceDataWorker): New protected method. | |
4816 | * java/awt/image/ComponentColorModel.java | |
4817 | (coerceData): Return new instance of proper ColorModel. | |
4818 | * java/awt/image/DirectColorModel.java | |
4819 | (coerceData): Return new instance of proper ColorModel. | |
4820 | * java/awt/image/IndexColorModel.java | |
4821 | (coerceData): New method. | |
4822 | ||
4823 | 2006-09-24 Casey Marshall <csm@gnu.org> | |
4824 | ||
4825 | * gnu/java/nio/FileChannelImpl.java | |
4826 | (read): call `read' in a loop, don't use `readScattering.' | |
4827 | (write): call `write' in a loop, don't use `writeGathering.' | |
4828 | ||
4829 | 2006-09-24 Mark Wielaard <mark@klomp.org> | |
4830 | ||
4831 | * configure.ac: Move -pedantic from WARNING to STRICT flags. | |
4832 | ||
4833 | 2006-09-24 Jeroen Frijters <jeroen@frijters.net> | |
4834 | ||
4835 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
4836 | (register): Set interestOps and attachment when the key already | |
4837 | exists. | |
4838 | ||
4839 | 2006-09-24 Jeroen Frijters <jeroen@frijters.net> | |
4840 | ||
4841 | * java/net/ServerSocket.java | |
4842 | (bind(SocketAddress,int)): Added support for null address. | |
4843 | Throw proper exception if already bound. | |
4844 | Handle unresolved addresses correctly. Ignore exceptions that | |
4845 | happen during close in error path (to prevent losing the original | |
4846 | exception.) | |
4847 | ||
4848 | 2006-09-24 Mark Wielaard <mark@klomp.org> | |
4849 | ||
4850 | Suggested by Aaron M. Ucko <ucko@debian.org> | |
4851 | Fixes bug #29203 | |
4852 | * native/fdlibm/mprec.c (ulp): Define L as int32_t. | |
4853 | ||
4854 | 2006-09-24 Jeroen Frijters <jeroen@frijters.net> | |
4855 | ||
4856 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
4857 | (implCloseChannel): Cancel all keys after closing the channel. | |
4858 | ||
4859 | 2006-09-22 Casey Marshall <csm@gnu.org> | |
4860 | ||
4861 | * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys | |
4862 | after we delete them. | |
4863 | (selectedKeys): return an empty set if nothing's been selected. | |
4864 | * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c | |
4865 | (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't | |
4866 | throw an exception on EBADF. | |
4867 | (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't | |
4868 | throw exception on EINTR, just return 0. | |
4869 | ||
4870 | 2006-09-22 Casey Marshall <csm@gnu.org> | |
4871 | ||
4872 | * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list): | |
4873 | remove `const' from `filename.' | |
4874 | * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from | |
4875 | `filename.' | |
4876 | * native/jni/native-lib/cpio.h (cpio_readDir): likewise. | |
4877 | ||
4878 | 2006-09-22 Casey Marshall <csm@gnu.org> | |
4879 | ||
4880 | * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.' | |
4881 | * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list): | |
4882 | allocate `filename,' and handle changes to `cpio_readDir.' | |
4883 | * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if | |
4884 | available; copy the filename into the destination buffer; return | |
4885 | an error code if readdir returns NULL, but errno is 0. | |
4886 | * native/jni/native-lib/cpio.h (cpio_readDir): change second | |
4887 | parameter to `const char *.' | |
4888 | ||
4889 | 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
4890 | ||
4891 | * javax/management/ObjectName.java: | |
4892 | Implemented. | |
4893 | ||
4894 | 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4895 | ||
4896 | * resource/gnu/classpath/tools/orbd: New directory. | |
4897 | * resource/gnu/classpath/tools/rmic: Likewise. | |
4898 | * resource/gnu/classpath/tools/rmid: Likewise. | |
4899 | * resource/gnu/classpath/tools/rmiregistry: Likewise. | |
4900 | * resource/gnu/classpath/tools/tnameserv: Likewise. | |
4901 | * tools/gnu/classpath/tools/giop: Move contents to... | |
4902 | * tools/gnu/classpath/tools/orbd, | |
4903 | tools/gnu/classpath/tools/tnameserv: New directories. | |
4904 | * tools/gnu/classpath/tools/rmi/rmic: Move contents to... | |
4905 | * tools/gnu/classpath/tools/rmic: New directory. | |
4906 | * tools/gnu/classpath/tools/rmi/rmid: Move contents to... | |
4907 | * tools/gnu/classpath/tools/rmid: New directory. | |
4908 | * tools/gnu/classpath/tools/rmi/registry: Move contents to... | |
4909 | * tools/gnu/classpath/tools/rmiregistry: New directory. | |
4910 | * resource/gnu/classpath/tools/orbd/messages.properties: New file. | |
4911 | * resource/gnu/classpath/tools/rmic/messages.properties: Likewise. | |
4912 | * resource/gnu/classpath/tools/rmid/messages.properties: Likewise. | |
4913 | * resource/gnu/classpath/tools/rmiregistry/messages.properties: | |
4914 | Likewise. | |
4915 | * resource/gnu/classpath/tools/tnameserv/messages.properties: | |
4916 | Likewise. | |
4917 | * tools/gnu/classpath/tools/orbd/Main.java, | |
4918 | tools/gnu/classpath/tools/orbd/Messages.java, | |
4919 | tools/gnu/classpath/tools/orbd/PersistentContext.java, | |
4920 | tools/gnu/classpath/tools/orbd/PersistentContextMap.java, | |
4921 | tools/gnu/classpath/tools/orbd/PersistentMap.java, | |
4922 | tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java, | |
4923 | tools/gnu/classpath/tools/rmic/CompilationError.java, | |
4924 | tools/gnu/classpath/tools/rmic/Generator.java, | |
4925 | tools/gnu/classpath/tools/rmic/GiopIo.java, | |
4926 | tools/gnu/classpath/tools/rmic/HashFinder.java, | |
4927 | tools/gnu/classpath/tools/rmic/Main.java, | |
4928 | tools/gnu/classpath/tools/rmic/Messages.java, | |
4929 | tools/gnu/classpath/tools/rmic/MethodGenerator.java, | |
4930 | tools/gnu/classpath/tools/rmic/RMICException.java, | |
4931 | tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java, | |
4932 | tools/gnu/classpath/tools/rmic/RmicBackend.java, | |
4933 | tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java, | |
4934 | tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java, | |
4935 | tools/gnu/classpath/tools/rmic/Variables.java, | |
4936 | tools/gnu/classpath/tools/rmic/WrapUnWrapper.java, | |
4937 | tools/gnu/classpath/tools/rmic/templates, | |
4938 | tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java, | |
4939 | tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java, | |
4940 | tools/gnu/classpath/tools/rmid/Main.java, | |
4941 | tools/gnu/classpath/tools/rmid/Messages.java, | |
4942 | tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java, | |
4943 | tools/gnu/classpath/tools/rmiregistry/Main.java, | |
4944 | tools/gnu/classpath/tools/rmiregistry/Messages.java, | |
4945 | tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java, | |
4946 | tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java, | |
4947 | tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java, | |
4948 | tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java, | |
4949 | tools/gnu/classpath/tools/tnameserv/Main.java, | |
4950 | tools/gnu/classpath/tools/tnameserv/Messages.java: New files. | |
4951 | * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import | |
4952 | RMIC.java from cp-tools. | |
4953 | * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry, | |
4954 | tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic. | |
4955 | (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid | |
4956 | and grmic. | |
4957 | * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip. | |
4958 | * gnu/CORBA/NamingService/NamingServiceTransient.java (main): | |
4959 | Rename... | |
4960 | (start): New method. | |
4961 | * tools/Makefile.am: Add build support for new tool wrappers. | |
4962 | * tools/gorbd.in: New file. | |
4963 | * tools/grmic.in: Likewise. | |
4964 | * tools/grmid.in: Likewise. | |
4965 | * tools/grmiregistry.in: Likewise. | |
4966 | * tools/gtnameserv.in: Likewise. | |
4967 | * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to... | |
4968 | * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New | |
4969 | file. | |
4970 | * tools/gnu/classpath/tools/HelpPrinter.java: Remove file. | |
4971 | * tools/gnu/classpath/tools/rmi/Persistent.java: Move to... | |
4972 | * tools/gnu/classpath/tools/common/Persistent.java: New file. | |
4973 | ||
4974 | 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
4975 | ||
4976 | Fixes bug #29047 | |
4977 | * gnu/java/util/regex/RETokenRepeated.java | |
4978 | (findMatch): Rewriten without using recursive calls, | |
4979 | (FindMatchControlStack): New class, | |
4980 | (FindMatchControl): New class, | |
4981 | (TryAnotherResult): New class, | |
4982 | (tryAnother): New method. | |
4983 | ||
4984 | 2006-09-22 Gary Benson <gbenson@redhat.com> | |
4985 | ||
4986 | * java/net/SocketPermission.java | |
4987 | (processHostport): Cope with IPv6 addresses with a | |
4988 | one-digit first component. | |
4989 | ||
4990 | 2006-09-22 Roman Kennke <kennke@aicas.com> | |
4991 | ||
4992 | * java/awt/Component.java | |
4993 | (enableEvents): Set newEventsOnly flag. | |
4994 | * java/awt/Container.java | |
4995 | (dispatchEventImpl): Consume event if lightweight dispatcher | |
4996 | dispatched the event. Don't call processEvent() here, this | |
4997 | is already done in Component.dispatchEventImpl(). For | |
4998 | heavyweights or when the lightweight dispatcher could | |
4999 | not dispatch, fall back to calling super. | |
5000 | (dispatchNoLightweight): New helper method to avoid | |
5001 | recursivly calling the lightweight dispatcher. | |
5002 | * java/awt/LightweightDispatcher.java | |
5003 | (dragButton): Removed field. | |
5004 | (dragTarget): Removed field. | |
5005 | (mouseEventTarget): New field. | |
5006 | (convertPointToChild): Removed method. | |
5007 | (dispatchEvent): Don't depend on component beeing | |
5008 | a window. | |
5009 | (findTarget): Improved algorithm for finding a target. | |
5010 | Before we went down to the deepest component and went | |
5011 | up again to find a suitable target. Now we go | |
5012 | down only once, without going up. | |
5013 | (handleMouseEvent): Broke method down into some smaller | |
5014 | helper methods. | |
5015 | (isDragging): New helper method. | |
5016 | (isMouseListening): New helper method. | |
5017 | (redispatch): New helper method. | |
5018 | (trackEnterExit): New helper method. | |
5019 | ||
5020 | 2006-09-22 David Gilbert <david.gilbert@object-refinery.com> | |
5021 | ||
5022 | * javax/swing/SizeSequence.java | |
5023 | (getSize): Return 0 if index is out of bounds. | |
5024 | ||
5025 | 2006-09-21 Tom Tromey <tromey@redhat.com> | |
5026 | ||
5027 | * tools/gnu/classpath/tools/javah/PathOptionGroup.java | |
5028 | (PathOptionGroup): Make -I a joined option. | |
5029 | * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated. | |
5030 | * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated. | |
5031 | * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated. | |
5032 | * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated. | |
5033 | * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated. | |
5034 | * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated. | |
5035 | * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated. | |
5036 | * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated. | |
5037 | * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated. | |
5038 | * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated. | |
5039 | * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated. | |
5040 | * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated. | |
5041 | * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated. | |
5042 | * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated. | |
5043 | * tools/gnu/classpath/tools/appletviewer/Main.java: Updated. | |
5044 | * tools/gnu/classpath/tools/jar/Main.java: Updated. | |
5045 | * tools/gnu/classpath/tools/jarsigner/Main.java: Updated. | |
5046 | * tools/gnu/classpath/tools/javah/Main.java: Updated. | |
5047 | * tools/gnu/classpath/tools/native2ascii/Main.java: Updated. | |
5048 | * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated. | |
5049 | * resource/gnu/classpath/tools/getopt/Messages.properties: Removed | |
5050 | unused entries. | |
5051 | * resource/gnu/classpath/tools/common/Messages.properties: New file. | |
5052 | * tools/gnu/classpath/tools/common/Messages.java: New file. | |
5053 | * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private. | |
5054 | * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved | |
5055 | from getopt. | |
5056 | (ClasspathToolParser): Add -J option here. | |
5057 | (ClasspathToolParser): Call other constructor in this class. | |
5058 | * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption): | |
5059 | Handle joined options. | |
5060 | (handleShortOptions): Likewise. | |
5061 | (handleShortOption): Removed. | |
5062 | (finalGroup): New field. | |
5063 | (Parser): Initialize new field. Don't add -J option. | |
5064 | (addFinal): New method. | |
5065 | * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use | |
5066 | isJoined. | |
5067 | * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method. | |
5068 | (Option): Check short option for validity. | |
5069 | (Option): New constructors. | |
5070 | (joined): New field. | |
5071 | ||
5072 | 2006-09-21 csm <csm@pollux.local> | |
5073 | ||
5074 | * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore | |
5075 | `InterruptedIOException;' try again if it gets thrown. | |
5076 | (receive): likewise, but re-throw `SocketTimeoutException.' | |
5077 | * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0 | |
5078 | if we have nothing to select. | |
5079 | ||
5080 | 2006-09-21 Francis Kung <fkung@redhat.com> | |
5081 | ||
5082 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java: | |
5083 | (getLogicalBounds): Respect glyph transformations. | |
5084 | (getGlyphOutline): Added null pointer check. | |
5085 | (getGlyphTransform): Do not generate identity transform (API permits null). | |
5086 | (setGlyphPosition): Do not invalidate transform. | |
5087 | (setGlyphTransform): Do not modify glyph position. | |
5088 | ||
5089 | 2006-09-21 Francis Kung <fkung@redhat.com> | |
5090 | ||
5091 | * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag. | |
5092 | ||
5093 | 2006-09-21 Francis Kung <fkung@redhat.com> | |
5094 | ||
5095 | * java/awt/image/ColorModel.java (coerceData): Return proper colour model. | |
5096 | * java/awt/image/ComponentColorModel.java (coerceData): Likewise. | |
5097 | * java/awt/image/DirectColorModel.java (coerceData): Likewise. | |
5098 | ||
5099 | 2006-09-21 Tania Bento <tbento@redhat.com> | |
5100 | ||
5101 | * javax/swing/JTabbedPane.java: | |
5102 | (insertTab): Notify ChangeListeners if the tab inserted is selected. | |
5103 | (setModel): A ChangeListener should be created only if there does not | |
5104 | currently exist one. | |
5105 | ||
5106 | 2006-09-21 David Gilbert <david.gilbert@object-refinery.com> | |
5107 | ||
5108 | * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java | |
5109 | (MaximizeAction.actionPerformed): Change icon on maxButton. | |
5110 | ||
5111 | 2006-09-21 Roman Kennke <kennke@aicas.com> | |
5112 | ||
5113 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
5114 | (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb). | |
5115 | Use more efficient getViewPosition() and getViewSize() methods | |
5116 | to avoid creating a rectangle. | |
5117 | (HSBChangeListener.stateChanged): Update the view position | |
5118 | unconditionally. Let the Viewport figure out if something | |
5119 | changed. | |
5120 | (VSBChangeListener.stateChanged): Update the view position | |
5121 | unconditionally. Let the Viewport figure out if something | |
5122 | changed. | |
5123 | * javax/swing/JViewport.java | |
5124 | (ViewListener.componentResized): Fire state change, because | |
5125 | the extentSize changes. | |
5126 | (extentSize): Removed unneeded field. | |
5127 | (viewSize): Removed unneeded field. | |
5128 | (getExtentSize): Return the viewport's size here. | |
5129 | (getViewRect): Reformatted. | |
5130 | (getViewSize): Reordered for only one return statement. | |
5131 | (paintImmediately2): Fixed up javadoc. | |
5132 | (paint): Removed unneeded statement. | |
5133 | (setExtentSize): Set viewport size and check for actual change | |
5134 | of value. | |
5135 | (setViewPosition): Simplified condition. Set scrollUnderway | |
5136 | true and don't set isViewSizeSet. Avoid creating one Point | |
5137 | object. | |
5138 | (setViewSize): Fixed != comparison with equals(). Set scrollUnderway | |
5139 | to false. | |
5140 | * javax/swing/JScrollBar.java | |
5141 | (ScrollBarListener): New class. Forwards change events from | |
5142 | the model as adjustment events. | |
5143 | (sbChangeListener): New field. | |
5144 | (JScrollBar): Install listener on new model. | |
5145 | (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper | |
5146 | method. | |
5147 | (fireAdjustmentValueChanged(int,int,int,boolean)): New helper | |
5148 | method to allow custom isAdjusting value. | |
5149 | (setMaximum): Only forward to model. | |
5150 | (setMinimum): Only forward to model. | |
5151 | (setValue): Only forward to model. | |
5152 | (setVisibleAmount): Only forward to model. | |
5153 | (setValues): Only forward to model. | |
5154 | (setModel): Update the change listener. | |
5155 | ||
5156 | 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at> | |
5157 | ||
5158 | * java/util/Formatter.java (basicIntegralConversion): Removed | |
5159 | check for ZERO && !LEFT_JUSTIFY. | |
5160 | ||
5161 | 2006-09-20 Roman Kennke <kennke@aicas.com> | |
5162 | ||
5163 | PR 29036 | |
5164 | * javax/swing/plaf/metal/DefaultMetalTheme.java | |
5165 | (PLAIN_CONTROL_TEXT_FONT): New constant field. | |
5166 | (BOLD_CONTROL_TEXT_FONT): New constant field. | |
5167 | (PLAIN_MENU_TEXT_FONT): New constant field. | |
5168 | (BOLD_MENU_TEXT_FONT): New constant field. | |
5169 | (controlTextFont): Removed. | |
5170 | (menuTextFont): Removed. | |
5171 | (CONTROL_TEXT_FONT): New constant field. | |
5172 | (MENU_TEXT_FONT): New constant field. | |
5173 | (getControlTextFont): Use getFont() helper method for fetching | |
5174 | the correct font. | |
5175 | (getMenuTextFont): Use getFont() helper method for fetching | |
5176 | the correct font. | |
5177 | (getFont): New helper method. | |
5178 | (isBoldMetal): New helper method. | |
5179 | ||
5180 | 2006-09-20 Casey Marshall <csm@gnu.org> | |
5181 | ||
5182 | * NEWS: mention epoll selector along with the kqueue one. | |
5183 | ||
5184 | 2006-09-20 Casey Marshall <csm@gnu.org> | |
5185 | ||
5186 | * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c | |
5187 | (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT. | |
5188 | ||
5189 | 2006-09-20 Francis Kung <fkung@redhat.com> | |
5190 | ||
5191 | PR 29011 | |
5192 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java: | |
5193 | (getGlyphTransform): Use translation instead of scale. | |
5194 | (performDefaultLayout): Increment position values instead of resetting, and | |
5195 | pre-increment instead of post-increment. | |
5196 | (setGlyphTransform): Handle null case with identity transform. | |
5197 | ||
5198 | 2006-09-20 Casey Marshall <csm@gnu.org> | |
5199 | ||
5200 | * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.' | |
5201 | (AC_CHECK_FUNCS): check for `epoll_create.' | |
5202 | * gnu/java/nio/EpollSelectionKeyImpl.java: new file. | |
5203 | * gnu/java/nio/EpollSelectorImpl.java: new file. | |
5204 | * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class | |
5205 | field. | |
5206 | (openSelector): return epoll selector if requested and available. | |
5207 | * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h. | |
5208 | (gnu_java_nio_EpollSelectorImpl.h): new target. | |
5209 | * include/gnu_java_nio_EpollSelectorImpl.h: new file. | |
5210 | * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add | |
5211 | gnu_java_nio_EpollSelectorImpl.c. | |
5212 | * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file. | |
5213 | ||
5214 | 2006-09-20 Casey Marshall <csm@gnu.org> | |
5215 | ||
5216 | * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't | |
5217 | call `isConnected.' | |
5218 | (isConnected): return false if `connectionPending' is true. | |
5219 | ||
5220 | 2006-09-20 Francis Kung <fkung@redhat.com> | |
5221 | ||
5222 | PR 29011 | |
5223 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java: | |
5224 | (constructor): Expanded glyphPositions array to accomodate Y-coordinates. | |
5225 | (getGlyphOutline): Call getGylphTransform to generate transform. | |
5226 | (getGylphPosition): Read position directly out of array. | |
5227 | (getGlyphPositions): Read positions directly out of array. | |
5228 | (getGlyphTransform): Generate transform based on gylphPositions array. | |
5229 | (performDefaultLayout): Populate glyphPositions array instead of transforms. | |
5230 | (setGlyphPosition): Set position directly into array. | |
5231 | (setGlyphTransform): Update positions array as well. | |
5232 | ||
5233 | 2006-09-20 David Daney <ddaney@avtrex.com> | |
5234 | ||
5235 | PR classpath/28661 | |
5236 | * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add | |
5237 | default content-type for POST method. | |
5238 | ||
5239 | 2006-09-20 David Gilbert <david.gilbert@object-refinery.com> | |
5240 | ||
5241 | * javax/swing/plaf/basic/BasicRadioButtonUI.java | |
5242 | (BasicRadioButtonUI): Don't fetch icon here, | |
5243 | (installDefaults): Initialise icon here, | |
5244 | (getDefaultIcon): Just return icon. | |
5245 | ||
5246 | 2006-09-20 Mark Wielaard <mark@klomp.org> | |
5247 | ||
5248 | * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): | |
5249 | Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h. | |
5250 | (EXTRA_DIST): Include javanio.c. | |
5251 | ||
5252 | 2006-09-20 David Gilbert <david.gilbert@object-refinery.com> | |
5253 | ||
5254 | * java/awt/geom/RoundRectangle2D.java: | |
5255 | (getPathIterator): Reimplemented, | |
5256 | and updated various API doc comments. | |
5257 | ||
5258 | 2006-09-20 Roman Kennke <kennke@aicas.com> | |
5259 | ||
5260 | * java/awt/Container.java | |
5261 | (addImpl): Set the new component's parent after it has been | |
5262 | added to the array. Call addNotify() and invalidate() | |
5263 | after the component has been added, so that the peer | |
5264 | gets to know about the component structure when it is created. | |
5265 | * java/awt/Window.java | |
5266 | (dispatchEventImpl): Only revalidate when window is resized, | |
5267 | let the other stuff be processed by the superclass. | |
5268 | (dispose): Post WINDOW_CLOSED event only when some listener | |
5269 | is registered or event is explicitly enabled. | |
5270 | (show): Post WINDOW_OPENED event when appropriate. | |
5271 | ||
5272 | 2006-09-20 Roman Kennke <kennke@aicas.com> | |
5273 | ||
5274 | * java/awt/Component.java | |
5275 | (addNotify): Invalidate here. Fetch peer font. | |
5276 | (getFont): Delegate to helper method, to protect from | |
5277 | overriding client code. Lock the tree while fetching the font. | |
5278 | (getFontImpl): New helper method. Moved code from getFont() in | |
5279 | here. | |
5280 | (removeNotify): Nullify peerFont too. | |
5281 | (setFont): Synchronize on tree and component to avoid threading | |
5282 | issues. Update the peerFont correctly. | |
5283 | (validate): Update the peer font if necessary, before validating. | |
5284 | (getGraphics): Revert to recursive graphics fetching. | |
5285 | Set component font on the Graphics object. | |
5286 | (translateEvent): Removed unnecessary cast. | |
5287 | * java/awt/Container.java | |
5288 | (invalidateTree): Made final and private. Made implementation | |
5289 | slightly more efficient. | |
5290 | (setFont): Get old and new font via getFont() to account for | |
5291 | the real font, and only invalidate the tree when they are not | |
5292 | the same and not equal. | |
5293 | (visitChild): Set the font of the child on the component graphics. | |
5294 | * java/awt/Frame.java | |
5295 | (setMenuBar): Create local reference of peer for thread safety. | |
5296 | Only call simple invalidate, not invalidateTree(). | |
5297 | ||
5298 | 2006-09-19 Cameron McCormack <cam@mcc.id.au> | |
5299 | ||
5300 | PR 29012 | |
5301 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: | |
5302 | (constructor): Copy image field. | |
5303 | ||
5304 | 2006-09-19 David Gilbert <david.gilbert@object-refinery.com> | |
5305 | ||
5306 | * javax/swing/JMenuBar.java | |
5307 | (getHelpMenu): Implemented to throw an Error, and added API docs, | |
5308 | (getMargin): Added API docs, | |
5309 | (setMargin): Likewise. | |
5310 | ||
5311 | 2006-09-19 David Gilbert <david.gilbert@object-refinery.com> | |
5312 | ||
5313 | * javax/swing/AbstractButton.java | |
5314 | (AbstractButton): Don't call updateUI(), | |
5315 | * javax/swing/JButton.java | |
5316 | (JButton(String, Icon)): Call setModel() before init(), | |
5317 | * javax/swing/JMenuItem.java | |
5318 | (JMenuItem()): Delegate to another constructor, | |
5319 | (JMenuItem(Icon)): Likewise, | |
5320 | (JMenuItem(Action)): Set model, | |
5321 | (JMenuItem(String, Icon)): Likewise, | |
5322 | * javax/swing/JToggleButton.java | |
5323 | (init): Call setModel() before init(). | |
5324 | ||
5325 | 2006-09-19 Mark Wielaard <mark@klomp.org> | |
5326 | ||
5327 | Fixes bug #29137 | |
5328 | * java/util/logging/LogManager.java (addLogger): Always check for | |
5329 | existing children of a new Logger. | |
5330 | ||
5331 | 2006-09-19 Roman Kennke <kennke@aicas.com> | |
5332 | ||
5333 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
5334 | (HSBChangeListener.stateChanged): Moved handling of header to | |
5335 | syncScrollPaneWithViewport(). | |
5336 | (VSBChangeListener.stateChanged): Moved handling of header to | |
5337 | syncScrollPaneWithViewport(). | |
5338 | (ViewportChangedHandler.stateChanged): Removed unused statements. | |
5339 | (syncScrollPaneWithViewport): Added null checks. Use setValues | |
5340 | rather then the single setter methods to avoid multiple | |
5341 | adjustments and side effects. Also snyc the headers here. | |
5342 | (updateScrollBarDisplayPolicy): Revalidate and repaint here. | |
5343 | (uninstallUI): Removed unnecessary cast and this qualifier as well | |
5344 | as the call to super. | |
5345 | ||
5346 | 2006-09-19 Gary Benson <gbenson@redhat.com> | |
5347 | ||
5348 | * java/net/ResolverCache.java: New class (a DNS cache). | |
5349 | * java/net/InetAddress.java | |
5350 | (internalGetCanonicalHostName, getAllByName): Use the above. | |
5351 | ||
5352 | 2006-09-19 Jeroen Frijters <jeroen@frijters.net> | |
5353 | ||
5354 | * gnu/java/nio/SocketChannelImpl.java: Removed unused import. | |
5355 | * java/net/ServerSocket.java | |
5356 | (port): New field. | |
5357 | (bind): Set port field. | |
5358 | (close): Set impl to null. | |
5359 | (isClosed): Check impl and channel instead of using VMChannel. | |
5360 | (toString): Use port field and getLocalPort() method. | |
5361 | * java/net/Socket.java | |
5362 | (isClosed): Check impl and channel instead of using VMChannel. | |
5363 | ||
5364 | 2006-09-18 Tom Tromey <tromey@redhat.com> | |
5365 | ||
5366 | * java/util/concurrent/CopyOnWriteArrayList.java | |
5367 | (CopyOnWriteArrayList): New constructor. | |
5368 | ||
5369 | 2006-09-18 Casey Marshall <csm@gnu.org> | |
5370 | ||
5371 | * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c | |
5372 | (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf. | |
5373 | ||
5374 | 2006-09-18 Tom Tromey <tromey@redhat.com> | |
5375 | ||
5376 | * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed, | |
5377 | isConnected): Removed old comment. | |
5378 | (getRemoteSocketAddress): Uncommented. | |
5379 | (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive, | |
5380 | setTrafficClass, getTrafficClass, setReuseAddress, | |
5381 | getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown, | |
5382 | isOutputShutdown): Uncommented. | |
5383 | ||
5384 | 2006-09-18 David Pirkle <dpirkle@symyx.com> | |
5385 | ||
5386 | Fixes PR 28589 | |
5387 | * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific | |
5388 | input stream during resolution. | |
5389 | ||
5390 | 2006-09-18 Roman Kennke <kennke@aicas.com> | |
5391 | ||
5392 | * java/awt/LightweightDispatcher.java | |
5393 | (findTarget): Correctly translate child coordinates. | |
5394 | Use Component.eventTypeEnabled() for checking if a component | |
5395 | has a certain event enabled. | |
5396 | (handleMouseEvent): Find the correct mouse event target. | |
5397 | Use Component.eventTypeEnabled() for checking if a component | |
5398 | has a certain event enabled. | |
5399 | ||
5400 | 2006-09-18 Roman Kennke <kennke@aicas.com> | |
5401 | ||
5402 | * java/awt/Component.java | |
5403 | (show): Test for the peer beeing lightweight directly. | |
5404 | (paintAll): Validate before painting. Don't paint when not | |
5405 | showing. Call peer.paint() when the component is heavyweight. | |
5406 | (repaint): Delegate to the parent when lightweight, rather | |
5407 | than skipping to the nearest heavyweight. | |
5408 | (createImage): Added null check to prevent NPE. | |
5409 | (dispatchEvent): Moved old event dispatching and toolkit | |
5410 | event dispatching to dispatchEventImpl. | |
5411 | (addComponentListener): Don't enable event. Only add listener | |
5412 | when not null. Switch to new event dispatching only. | |
5413 | (addFocusListener): Likewise. | |
5414 | (addHierarchyListener): Likewise. | |
5415 | (addHierarchyBoundsListener): Likewise. | |
5416 | (addKeyListener): Likewise. | |
5417 | (addMouseListener): Likewise. | |
5418 | (addMouseMotionListener): Likewise. | |
5419 | (addMouseWheelListener): Likewise. | |
5420 | (addInputMethodListener): Likewise. | |
5421 | (coalesceEvents): For mouse events coalesce them only when | |
5422 | their modifiers are equal. For paint events coalesce the events | |
5423 | when one contains the other, without going through complicated | |
5424 | heuristics. | |
5425 | (dispatchEventImpl): Moved old event dispatching and toolkit | |
5426 | event dispatching to dispatchEventImpl. | |
5427 | (coalescePaintEvents): Removed. | |
5428 | (HeavyweightInLightweightListener.componentHidden): | |
5429 | Fixed condition. | |
5430 | * java/awt/Container.java | |
5431 | (addImpl): Don't enable events on lightweights. | |
5432 | (remove): Reordered operations. Don't remove any listeners. | |
5433 | Throw ArrayIndexOutOfBoundsException when index >= ncomponents. | |
5434 | Only removeNotify() when peer is != null. Only invalidate if | |
5435 | not already invalid. Only fire ContainerEvent if there is | |
5436 | an interested listener or the event is enabled. Dispatch this | |
5437 | event directly without the event queue. | |
5438 | (removeAll): Likewise. | |
5439 | (paintComponents): Only paint when showing. Also paint heavyweights. | |
5440 | Don't paint the container itself. | |
5441 | (removeNotify): Create local variables for improved thread safety. | |
5442 | (addNotifyContainerChildren): Don't enable events for lightweights. | |
5443 | ||
5444 | 2006-09-18 Roman Kennke <kennke@aicas.com> | |
5445 | ||
5446 | * java/awt/EventQueue.java | |
5447 | (INITIAL_QUEUE_DEPTH): Removed obsolete field. | |
5448 | (next_in): Removed obsolete field. | |
5449 | (next_out): Removed obsolete field. | |
5450 | (queueHead): New field. Markes the head of the queue. | |
5451 | (queueTail): New field. Markes the tail of the queue. | |
5452 | (queue): Removed obsolete field. | |
5453 | (EventQueue): Documented empty block. | |
5454 | (getNextEvent): Changed array based implementation to single-linked | |
5455 | list based implementation. | |
5456 | (invokeAndWait): Use an Object as synchronization object rather | |
5457 | than the current thread. | |
5458 | (peekEvent(int)): Changed array based implementation to single-linked | |
5459 | list based implementation. | |
5460 | (peekEvent()): Changed array based implementation to single-linked | |
5461 | list based implementation. | |
5462 | (pop()): Changed array based implementation to single-linked | |
5463 | list based implementation. | |
5464 | (postEvent): Foward to postEventImpl. | |
5465 | (postEventImpl): Changed array based implementation to single-linked | |
5466 | list based implementation. | |
5467 | (push): Changed array based implementation to single-linked | |
5468 | list based implementation. | |
5469 | * java/awt/AWTEvent.java | |
5470 | (queueNext): New field. Implements a single-linked list for | |
5471 | the EventQueue. | |
5472 | ||
5473 | 2006-09-17 Mark Wielaard <mark@klomp.org> | |
5474 | ||
5475 | * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load | |
5476 | resource from HTMLEditorKit.class. | |
5477 | ||
5478 | 2006-09-17 Mark Wielaard <mark@klomp.org> | |
5479 | ||
5480 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
5481 | (setBorderToNonRollover): Check whether border is null. | |
5482 | (setBorderToRollover): Likewise. | |
5483 | ||
5484 | 2006-09-17 Mark Wielaard <mark@klomp.org> | |
5485 | ||
5486 | * javax/swing/JTree.java (setLeadSelectionPath): Handle null path. | |
5487 | ||
5488 | 2006-09-17 Mark Wielaard <mark@klomp.org> | |
5489 | ||
5490 | * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long. | |
5491 | * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise. | |
5492 | * native/jni/java-nio/gnu_java_nio_VMChannel.c | |
5493 | (Java_gnu_java_nio_VMChannel_lock): Likewise. | |
5494 | (Java_gnu_java_nio_VMChannel_unlock): Likewise. | |
5495 | ||
5496 | 2006-09-17 Casey Marshall <csm@gnu.org> | |
5497 | ||
5498 | * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as | |
5499 | unused. | |
5500 | ||
5501 | 2006-09-17 Chris Burdess <dog@gnu.org> | |
5502 | ||
5503 | Fixes PR 27610 27687. | |
5504 | * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing. | |
5505 | * gnu/xml/transform/SAXTemplatesHandler.java, | |
5506 | * gnu/xml/transform/SAXTransformerHandler.java: New files. | |
5507 | * gnu/xml/transform/TransformerFactoryImpl.java: Implement | |
5508 | SAXTransformerFactory. | |
5509 | ||
5510 | 2006-09-16 Casey Marshall <csm@gnu.org> | |
5511 | ||
5512 | * NEWS: updated. | |
5513 | * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'. | |
5514 | (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs, | |
5515 | kqueue, and kevent. | |
5516 | (HAVE_INET6): define if IPv6 is supported. | |
5517 | * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field. | |
5518 | (native_fd): removed. | |
5519 | (impl): new field. | |
5520 | (<init>): throw IOException; initialize fields. | |
5521 | (finalize): removed. | |
5522 | (getNativeFD): removed. | |
5523 | (bind): use `PlainSocketImpl.bind.' | |
5524 | (create): use `PlainSocketImpl.initSocket.' | |
5525 | (disconnect): use `PlainSocketImpl.disconnect.' | |
5526 | (getLocalPort): new method. | |
5527 | (send): use `VMChannel.send.' | |
5528 | (receive): use `VMChannel.receive.' | |
5529 | (setOption): use `PlainSocketImpl.setOption.' | |
5530 | (getOption): use `PlainSocketImpl.getOption.' | |
5531 | (close): use `VMChannel.State.close.' | |
5532 | (join): use `PlainSocketImpl.join.' | |
5533 | (leave): use `PlainSocketImpl.leave.' | |
5534 | (joinGroup, leaveGroup): implemented. | |
5535 | * gnu/java/net/PlainSocketImpl.java: make non-final. | |
5536 | (native_fd): removed. | |
5537 | (impl): new field. | |
5538 | (channel): new field. | |
5539 | (<init>): initialize `impl.' | |
5540 | (finalize, getNativeFD): removed. | |
5541 | (setOption): use `PlainSocketImpl.setOption.' | |
5542 | (getOption): use `PlainSocketImpl.getOption.' | |
5543 | (shutdownInput): use `PlainSocketImpl.shutdownInput.' | |
5544 | (shutdownOutput): use `PlainSocketImpl.shutdownOutput.' | |
5545 | (create): create `channel,' initialize `impl's native state. | |
5546 | (connect): use `connect(SocketAddress, int).' | |
5547 | (connect): use `SocketChannelImpl.connect;' initialize `address' | |
5548 | and `port.' | |
5549 | (bind): use `VMPlainSocketImpl.bind.' | |
5550 | (listen): use `VMPlainSocketImpl.listen.' | |
5551 | (accept): use `SocketChannelImpl.accept.' | |
5552 | (available): use `VMChannel.available.' | |
5553 | (close): use `PlainSocketImpl.close.' | |
5554 | (sendUrgentData): use `PlainSocketImpl.sendUrgentData.' | |
5555 | (getVMChannel, getInetAddress, getLocalPort, getLocalAddress, | |
5556 | getPort): new methods. | |
5557 | (SocketInputStream.read): use `VMChannel.read.' | |
5558 | (SocketInputStream.read): use `SocketChannel.read.' | |
5559 | (SocketOutputStream.write): use `VMChannel.write.' | |
5560 | (SocketOutputStream.write): use `SocketChannel.write.' | |
5561 | * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel. | |
5562 | (channel): new field. | |
5563 | (<init>): initialize `channel.' | |
5564 | (implCloseSelectableChannel): use `VMChannel.close.' | |
5565 | (implConfigureBlocking): use `VMChannel.setBlocking.' | |
5566 | (connect): use `VMChannel.connect.' | |
5567 | (disconnect): use `VMChannel.disconnect.' | |
5568 | (isConnected): use `VMChannel.getPeerAddress.' | |
5569 | (write): use `VMChannel.write.' | |
5570 | (write): use `VMChannel.writeGathering.' | |
5571 | (read): use `VMChannel.read.' | |
5572 | (read): use `VMChannel.readScattering.' | |
5573 | (receive): use `VMChannel.receive.' | |
5574 | (send): use `VMChannel.send.' | |
5575 | (getVMChannel): new method. | |
5576 | * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD): | |
5577 | access native FD through VMChannel.State. | |
5578 | * gnu/java/nio/FileChannelImpl.java: moved from | |
5579 | gnu/java/nio/channels/FileChannelImpl.java. | |
5580 | * gnu/java/nio/FileLockImpl.java: fix imports. | |
5581 | * gnu/java/nio/KqueueSelectionKeyImpl.java: new file. | |
5582 | * gnu/java/nio/KqueueSelectorImpl.java: new file. | |
5583 | * gnu/java/nio/NIOSocket.java (impl): removed. | |
5584 | (channel): new field. | |
5585 | (<init>): init superclass with a `NIOSocketImpl;' init `channel.' | |
5586 | (getPlainSocketImpl, setChannel): removed. | |
5587 | (isConnected): new method. | |
5588 | * gnu/java/nio/NIOSocketImpl.java: new file. | |
5589 | * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement | |
5590 | `VMChannelOwner.' | |
5591 | (SourceChannelImpl.native_fd): removed. | |
5592 | (SourceChannelImpl.<init>): init with a `VMChannel.' | |
5593 | (SourceChannelImpl.getNativeFD): removed. | |
5594 | (SourceChannelImpl.getVMChannel): new method. | |
5595 | (SourceChannelImpl.implCloseSelectableChannel): implement. | |
5596 | (SinkChannelImpl): implement `VMChannelOwner.' | |
5597 | (SinkChannelImpl.native_fd): removed. | |
5598 | (SinkChannelImpl.<init>): init with a `VMChannel.' | |
5599 | (SinkChannelImpl.implCloseSelectableChannel): implement. | |
5600 | (SinkChannelImpl.getNativeFD): removed. | |
5601 | (SinkChannelImpl.getVMChannel): new method. | |
5602 | * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark | |
5603 | deprecated. | |
5604 | * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE, | |
5605 | SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants. | |
5606 | (openSelector): return kqueue selector if available. | |
5607 | * gnu/java/nio/ServerSocketChannelImpl.java: implement | |
5608 | `VMChannelOwner.' | |
5609 | (channel): new field. | |
5610 | (<init>): init `channel.' | |
5611 | (finalizer): check if the `VMChannel.State' is valid. | |
5612 | (implCloseSelectableChannel): use `VMChannel.close.' | |
5613 | (implConfigureBlocking): use `VMChannel.setBlocking.' | |
5614 | (accept): use `VMChannel.accept.' | |
5615 | (getVMChannel): new method. | |
5616 | * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD): | |
5617 | access native FD through `VMChannel.State.' | |
5618 | * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.' | |
5619 | (impl): removed. | |
5620 | (channel, connected, connectAddress): new field. | |
5621 | (<init>): new constructors. | |
5622 | (getPlainSocketImpl): removed. | |
5623 | (implCloseSelectableChannel): use `VMChannel.close.' | |
5624 | (implConfigureBlocking): use `VMChannel.setBlocking.' | |
5625 | (connect): use `connect(SocketAddress,int).' | |
5626 | (connect): use `VMChannel.connect.' | |
5627 | (finishConnect): don't use a selector. | |
5628 | (isConnected): use `VMChannel.getPeerAddress.' | |
5629 | (read): use `VMChannel.read.' | |
5630 | (read): use `VMChannel.readScattering.' | |
5631 | (write): use `VMChannel.write.' | |
5632 | (write): use `VMChannel.writeGathering.' | |
5633 | (getVMChannel): new method. | |
5634 | * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get | |
5635 | native FD from `VMChannel.State.' | |
5636 | * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD): | |
5637 | get native FD from `VMChannel.State.' | |
5638 | * gnu/java/nio/VMChannelOwner.java: new file. | |
5639 | * gnu/java/nio/channels/FileChannelImpl.java: removed. | |
5640 | * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h' | |
5641 | and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate | |
5642 | `gnu_java_nio_channels_FileChannelImpl.h.' | |
5643 | * include/gnu_java_net_VMPlainSocketImpl.h: regenerated. | |
5644 | * include/gnu_java_nio_FileChannelImpl.h: new file. | |
5645 | * include/gnu_java_nio_KqueueSelectorImpl.h: new file. | |
5646 | * include/gnu_java_nio_VMChannel.h: regenerated. | |
5647 | * include/gnu_java_nio_VMPipe.h: regenerated. | |
5648 | * include/java_net_VMNetworkInterface.h: regenerated. | |
5649 | * java/io/FileDescriptor.java: fix imports. | |
5650 | * java/io/FileInputStream.java (<init>): handle exceptions. | |
5651 | (read): wrap the destination arary. | |
5652 | * java/io/FileOutputStream.java (<init>): handle exceptions. | |
5653 | (write): wrap the source array. | |
5654 | * java/io/RandomAccessFile.java (<init>): handle exceptions. | |
5655 | * java/net/DatagramSocket.java (<init>): handle exceptions. | |
5656 | (receive): handle length/port setting. | |
5657 | (connect): bind to any address/port if the argument is null. | |
5658 | * java/net/NetworkInterface.java (name, inetAddress): removed. | |
5659 | (netif): new field. | |
5660 | (<init>): make private. | |
5661 | (getName): return `netif.name.' | |
5662 | (getInetAddresses): access `netif.addresses.' | |
5663 | (getDisplayName): return `netif.name.' | |
5664 | (getByName, getByAddress): handle changes to `VMNetworkInterface.' | |
5665 | (condense): removed. | |
5666 | (getNetworkInterfaces): handle changes to `VMNetworkInterface.' | |
5667 | (equals): compare `netif' fields. | |
5668 | (hashCode): get hash codes from `netif.' | |
5669 | (toString): use a StringBuffer. | |
5670 | * java/net/ServerSocket.java (close): don't set `impl' to null. | |
5671 | (isClosed): use `VMChannel.State.isClosed.' | |
5672 | * java/net/Socket.java (getLocalAddress): don't use `getOption' if | |
5673 | the `SocketImpl' is a `PlainSocketImpl.' | |
5674 | (close): just close the `impl.' | |
5675 | (toString): use `super.toString' in the value we return. | |
5676 | (isConnected): just access `impl,' not `getImpl.' | |
5677 | (isBound): use `PlainSocketImpl' methods if we can. | |
5678 | (isClosed): look at `VMChannel.State.' | |
5679 | * native/jni/classpath/jcl.c (JNI_OnLoad): new function. | |
5680 | (JCL_NewRawDataObject): don't initialize cached fields here; throw | |
5681 | an exception if they were not. | |
5682 | (JCL_GetRawData): throw an exception if cached fields weren't | |
5683 | created. | |
5684 | * native/jni/java-lang/java_lang_VMProcess.c: handle | |
5685 | FileChannelImpl move. | |
5686 | * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c | |
5687 | (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION, | |
5688 | THROW_NO_NETWORK): new macros. | |
5689 | (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented. | |
5690 | (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function. | |
5691 | (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented. | |
5692 | (java_sockopt): new enum. | |
5693 | (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented. | |
5694 | (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented. | |
5695 | (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput): | |
5696 | reimplemented. | |
5697 | (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput): | |
5698 | reimplemented. | |
5699 | (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new | |
5700 | function. | |
5701 | (Java_gnu_java_net_VMPlainSocketImpl_join): new function. | |
5702 | (Java_gnu_java_net_VMPlainSocketImpl_join6): new function. | |
5703 | (Java_gnu_java_net_VMPlainSocketImpl_read): removed. | |
5704 | (Java_gnu_java_net_VMPlainSocketImpl_leave): new function. | |
5705 | (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function. | |
5706 | (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function. | |
5707 | (Java_gnu_java_net_VMPlainSocketImpl_write): removed. | |
5708 | (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function. | |
5709 | (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function. | |
5710 | (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function. | |
5711 | (getif_address): new function. | |
5712 | (getif_index): new function. | |
5713 | * native/jni/java-net/java_net_VMNetworkInterface.c | |
5714 | (java_net_VMNetworkInterface_init, | |
5715 | java_net_VMNetworkInterface_addAddress): new file-scope globals. | |
5716 | (Java_java_net_VMNetworkInterface_initIds): new function. | |
5717 | (struct netif_entry): new struct. | |
5718 | (free_netif_list): new function. | |
5719 | (Java_java_net_VMNetworkInterface_getInterfaces): removed. | |
5720 | (Java_java_net_VMNetworkInterface_getVMInterfaces): new function. | |
5721 | * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove | |
5722 | gnu_java_nio_channels_FileChannelImpl.c, add | |
5723 | gnu_java_nio_KqueueSelectorImpl.c. | |
5724 | * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file. | |
5725 | * native/jni/java-nio/gnu_java_nio_VMChannel.c | |
5726 | (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP, | |
5727 | ALIGN_DOWN): new macros. | |
5728 | (JCL_init_buffer): get the address through GetDirectBufferAddress | |
5729 | if possible. | |
5730 | (Java_gnu_java_nio_VMChannel_stdin_1fd, | |
5731 | Java_gnu_java_nio_VMChannel_stdout_1fd, | |
5732 | Java_gnu_java_nio_VMChannel_stderr_1fd): new functions. | |
5733 | (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking | |
5734 | value. | |
5735 | (Java_gnu_java_nio_VMChannel_read): renamed... | |
5736 | (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to | |
5737 | this; handle interrupted IO; add HAVE_READ check. | |
5738 | (Java_gnu_java_nio_VMChannel_write): renamed... | |
5739 | (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to | |
5740 | this; handle zero-length write; add HAVE_WRITE check. | |
5741 | (Java_gnu_java_nio_VMChannel_receive): new function. | |
5742 | (Java_gnu_java_nio_VMChannel_send): new function. | |
5743 | (Java_gnu_java_nio_VMChannel_send6): new function. | |
5744 | (Java_gnu_java_nio_VMChannel_read__I): new function. | |
5745 | (Java_gnu_java_nio_VMChannel_write__II): new function. | |
5746 | (Java_gnu_java_nio_VMChannel_socket): new function. | |
5747 | (Java_gnu_java_nio_VMChannel_connect): new function. | |
5748 | (Java_gnu_java_nio_VMChannel_connect6): new function. | |
5749 | (Java_gnu_java_nio_VMChannel_getsockname): new function. | |
5750 | (Java_gnu_java_nio_VMChannel_getpeername): new function. | |
5751 | (Java_gnu_java_nio_VMChannel_accept): new function. | |
5752 | (Java_gnu_java_nio_VMChannel_disconnect): new function. | |
5753 | (Java_gnu_java_nio_VMChannel_close): new function. | |
5754 | (Java_gnu_java_nio_VMChannel_available): new function. | |
5755 | (FileChannel_mode): new enum. | |
5756 | (Java_gnu_java_nio_VMChannel_open): new function. | |
5757 | (Java_gnu_java_nio_VMChannel_position): new function. | |
5758 | (Java_gnu_java_nio_VMChannel_seek): new function. | |
5759 | (Java_gnu_java_nio_VMChannel_truncate): new funciton. | |
5760 | (Java_gnu_java_nio_VMChannel_lock): new function. | |
5761 | (Java_gnu_java_nio_VMChannel_unlock): new function. | |
5762 | (Java_gnu_java_nio_VMChannel_size): new function. | |
5763 | (Java_gnu_java_nio_VMChannel_map): new function. | |
5764 | (Java_gnu_java_nio_VMChannel_flush): new function. | |
5765 | * native/jni/java-nio/gnu_java_nio_VMPipe.c | |
5766 | (Java_gnu_java_nio_VMPipe_init): removed. | |
5767 | (Java_gnu_java_nio_VMPipe_pipe0): new function. | |
5768 | * native/jni/java-nio/javanio.c: new file. | |
5769 | * native/jni/java-nio/javanio.h: new file. | |
5770 | * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for | |
5771 | systems without `gethostbyname_r.' | |
5772 | * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new | |
5773 | field. | |
5774 | (<init>, <init>): new constructors. | |
5775 | (setOption, getOption): make instance methods; defer to native | |
5776 | implementation. | |
5777 | (connect): removed. | |
5778 | (bind): make an instance method; defer to native methods. | |
5779 | (accept): removed. | |
5780 | (available): removed. | |
5781 | (listen): make an instance method; defer to native method. | |
5782 | (read): removed. | |
5783 | (join, leave): new methods. | |
5784 | (write): removed. | |
5785 | (joinGroup, leaveGroup): new methods. | |
5786 | (shutdownInput, shutdownOutput): make instance methods. | |
5787 | (sendUrgentData): removed. | |
5788 | (State): new class. | |
5789 | * vm/reference/gnu/java/nio/VMChannel.java: make final. | |
5790 | (fd): removed. | |
5791 | (nfd): new field. | |
5792 | (<init>): new, public constructors. | |
5793 | (getVMChannel): methods removed. | |
5794 | (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd, | |
5795 | stderr_fd): new methods. | |
5796 | (setBlocking): make an instance method. | |
5797 | (available): new method. | |
5798 | (read): get native fd from `nfd.' | |
5799 | (read): new single-byte read method. | |
5800 | (readScattering): get native fd from `nfd.' | |
5801 | (receive): new method. | |
5802 | (write, writeGathering): get native fd from `nfd.' | |
5803 | (send): new method. | |
5804 | (write): new single-byte write method. | |
5805 | (initSocket): new method. | |
5806 | (connect): new method. | |
5807 | (disconnect): new method. | |
5808 | (getLocalAddress): new method. | |
5809 | (getPeerAddress): new method. | |
5810 | (accept): new method. | |
5811 | (openFile): new method. | |
5812 | (position): new method. | |
5813 | (seek): new method. | |
5814 | (truncate): new method. | |
5815 | (lock): new method. | |
5816 | (unlock): new method. | |
5817 | (size): new method. | |
5818 | (map): new method. | |
5819 | (flush): new method. | |
5820 | (close): new method. | |
5821 | (State): new class. | |
5822 | (Kind): new class. | |
5823 | * vm/reference/gnu/java/nio/VMPipe.java (init): removed. | |
5824 | (pipe, pipe0): new method. | |
5825 | * vm/reference/java/net/VMNetworkInterface.java (name, addresses): | |
5826 | new fields. | |
5827 | (<clinit>): call `initIds.' | |
5828 | (initIds): new method. | |
5829 | (getInterfaces): removed. | |
5830 | (getVMInterfaces): new method. | |
5831 | (addAddress): new method. | |
5832 | * vm/reference/java/nio/channels/VMChannels.java: fix imports. | |
5833 | ||
5834 | 2006-09-16 Chris Burdess <dog@gnu.org> | |
5835 | ||
5836 | Fixes PR 28572. | |
5837 | * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities | |
5838 | when in text output mode. | |
5839 | ||
5840 | 2006-09-16 Chris Burdess <dog@gnu.org> | |
5841 | ||
5842 | Fixes PR 27293. | |
5843 | * gnu/xml/dom/DomNode.java: Increment length of node during insert. | |
5844 | ||
5845 | 2006-09-14 Michael Koch <konqueror@gmx.de> | |
5846 | ||
5847 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated. | |
5848 | ||
5849 | 2006-09-15 Chistian Elias Naur <elias@oddlabs.com> | |
5850 | ||
5851 | * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)): | |
5852 | Added !cl.isArray() to serialVersionUID mismatch check. | |
5853 | ||
5854 | 2006-09-14 Francis Kung <fkung@redhat.com> | |
5855 | ||
5856 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
5857 | (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to | |
5858 | be compatibe with Cairo 1.2.x. | |
5859 | ||
5860 | 2006-09-14 Francis Kung <fkung@redhat.com> | |
5861 | ||
5862 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants. | |
5863 | (cairoSurfaceSetFilter): Removed method. | |
5864 | (drawImage): Pass interpolation type as argument to drawing methods. | |
5865 | (drawPixels): Added interpolation parameter. | |
5866 | (drawRaster): Pass interpolation type as argument to drawing method. | |
5867 | (getInterpolation): New method. | |
5868 | (setRenderingHint): Store hints, but do not set interpolation in cairo. | |
5869 | (setRenderingHints): Store hints, but do not set interpolation in cairo. | |
5870 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
5871 | (drawSurface): Added interpolation parameter. | |
5872 | (nativeDrawSurface): Added interpolation parameter. | |
5873 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h | |
5874 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation | |
5875 | parameter. | |
5876 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed. | |
5877 | * native/jni/gtk-peer/cairographics2d.h | |
5878 | (java_awt_rendering_hints_filter): Added bicubic interpolation constant. | |
5879 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
5880 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation | |
5881 | parameter. | |
5882 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed. | |
5883 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
5884 | (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added | |
5885 | interpolation parameter. | |
5886 | ||
5887 | 2006-09-14 Gary Benson <gbenson@redhat.com> | |
5888 | ||
5889 | * java/net/InetAddress.java | |
5890 | (internalGetCanonicalHostName): New method. | |
5891 | (getCanonicalHostName): Use internalGetCanonicalHostName. | |
5892 | (getByLiteral): New method. | |
5893 | (getAllByName): Use getByLiteral. | |
5894 | * java/net/SocketPermission.java | |
5895 | (host): Replaced with... | |
5896 | (hostname, address): New fields. | |
5897 | (equals, hashcode): Reflect the above. | |
5898 | (setHostPort): Parse host into hostname or address. | |
5899 | (implies): Rewrite host checks. | |
5900 | ||
5901 | 2006-09-14 David Gilbert <david.gilbert@object-refinery.com> | |
5902 | ||
5903 | Fixes PR28699 | |
5904 | * java/awt/Menu.java | |
5905 | (insert(MenuItem, int)): Fixed loop range, | |
5906 | (insert(String, int)): Updated API docs. | |
5907 | ||
5908 | 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at> | |
5909 | ||
5910 | Fixes PR22800 | |
5911 | * native/fdlibm/mprec.h (Storeinc): Define correctly for LE | |
5912 | architectures (like Arm). | |
5913 | * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits): | |
5914 | Reverted SWAP_DOUBLE patch. | |
5915 | (doubleToRawLongBits): Likewise. | |
5916 | (longBitsToDouble): Likewise. | |
5917 | ||
5918 | 2006-09-14 David Gilbert <david.gilbert@object-refinery.com> | |
5919 | ||
5920 | * java/awt/Menu.java: Reformatted source file. | |
5921 | ||
5922 | 2006-09-14 Jeroen Frijters <jeroen@frijters.net> | |
5923 | ||
5924 | * gnu/java/rmi/server/ActivatableRef.java | |
5925 | (readExternal, writeExternal): Partial fix for serialization format. | |
5926 | ||
5927 | 2006-09-14 Jeroen Frijters <jeroen@frijters.net> | |
5928 | ||
5929 | PR classpath/28984 | |
5930 | * java/io/InputStreamReader.java | |
5931 | (read(char[],int,int)): Fixed bug. | |
5932 | ||
5933 | 2006-09-13 Francis Kung <fkung@redhat.com> | |
5934 | ||
5935 | * java/awt/image/BandCombineOp.java: Updated documentation. | |
5936 | (filter(Raster, WritableRaster)): Use int arrays, and added simple cache. | |
5937 | ||
5938 | 2006-09-13 Tom Tromey <tromey@redhat.com> | |
5939 | ||
5940 | PR classpath/29034: | |
5941 | * java/io/PipedReader.java (read): Return early if len==0. | |
5942 | * java/io/PipedInputStream.java (read): Return early if len==0. | |
5943 | ||
5944 | 2006-09-13 Francis Kung <fkung@redhat.com> | |
5945 | ||
5946 | * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)): | |
5947 | Removed hard-coded max sample value. | |
5948 | * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): | |
5949 | Fixed finding of max sample value. | |
5950 | ||
5951 | 2006-09-12 David Gilbert <david.gilbert@object-refinery.com> | |
5952 | ||
5953 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
5954 | (setPaint): Check null argument ('p'). | |
5955 | ||
5956 | 2006-09-12 Francis Kung <fkung@redhat.com> | |
5957 | ||
5958 | PR 27940 | |
5959 | * gnu/java/awt/java2d/TexturePaintContext.java | |
5960 | (constructor): Fixed typo, getMinY instead of getMaxX. | |
5961 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
5962 | (setPaint): Implemented support for custom Paint classes. | |
5963 | (setPaintPixels): Renamed from setTexturePixels, added repeat parameter. | |
5964 | (setTexturePixels): Renamed to setPaintPixels, added repeat parameter. | |
5965 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels | |
5966 | to setPaintPixels, and added repeat parameter. | |
5967 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c: | |
5968 | Renamed setTexturePixels to setPaintPixels, and added repeat parameter. | |
5969 | ||
5970 | 2006-09-12 Gary Benson <gbenson@redhat.com> | |
5971 | ||
5972 | * java/net/NetworkInterface.java (getInetAddresses): | |
5973 | Fix port used in security check. | |
5974 | ||
5975 | 2006-09-12 David Gilbert <david.gilbert@object-refinery.com> | |
5976 | ||
5977 | * javax/swing/plaf/metal/DefaultMetalTheme.java | |
5978 | (CONTROL_TEXT_FONT): Renamed 'controlTextFont', | |
5979 | (MENU_TEXT_FONT): Renamed 'menuTextFont', | |
5980 | (getControlTextFont): Check 'swing.boldMetal' setting before | |
5981 | initialising font, | |
5982 | (getMenuTextFont): Likewise. | |
5983 | ||
5984 | 2006-09-12 David Gilbert <david.gilbert@object-refinery.com> | |
5985 | ||
5986 | * javax/swing/plaf/metal/OceanTheme.java | |
5987 | (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry. | |
5988 | ||
5989 | 2006-09-12 David Gilbert <david.gilbert@object-refinery.com> | |
5990 | ||
5991 | * javax/swing/plaf/metal/MetalIconFactory.java | |
5992 | (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors. | |
5993 | ||
5994 | 2006-09-12 David Gilbert <david.gilbert@object-refinery.com> | |
5995 | ||
5996 | * javax/swing/AbstractSpinnerModel.java: API doc updates. | |
5997 | ||
5998 | 2006-09-12 David Gilbert <david.gilbert@object-refinery.com> | |
5999 | ||
6000 | * javax/swing/AbstractButton.java | |
6001 | (AbstractButton): Initialise textIconGap field. | |
6002 | ||
6003 | 2006-09-11 Tom Tromey <tromey@redhat.com> | |
6004 | ||
6005 | * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print | |
6006 | "volatile" when needed. | |
6007 | ||
6008 | 2006-09-11 David Gilbert <david.gilbert@object-refinery.com> | |
6009 | ||
6010 | * java/text/AttributedCharacterIterator.java | |
6011 | (LANGUAGE): Initialise with lower case string, | |
6012 | (INPUT_METHOD_SEGMENT): Likewise, | |
6013 | (READING): Likewise, | |
6014 | * java/text/AttributedStringIterator.java | |
6015 | (getRunLimit): Check all attributes for changes. | |
6016 | ||
6017 | 2006-09-11 David Gilbert <david.gilbert@object-refinery.com> | |
6018 | ||
6019 | * java/text/AttributedCharacterIterator.java: Added @since tag, | |
6020 | renamed some variables (no underscores) and removed some spaces to | |
6021 | match the common style, | |
6022 | * java/text/AttributedString.java: Likewise, | |
6023 | * java/text/AttributedStringIterator.java: Likewise. | |
6024 | ||
6025 | 2006-09-11 Gary Benson <gbenson@redhat.com> | |
6026 | ||
6027 | * java/net/Inet4Address.java | |
6028 | (FAMILY): Renamed back to AF_INET. | |
6029 | (<init>, writeReplace): Reflect the above. | |
6030 | * java/net/Inet6Address.java | |
6031 | (FAMILY): Renamed back to AF_INET6. | |
6032 | (<init>): Reflect the above. | |
6033 | ||
6034 | 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au> | |
6035 | ||
6036 | Fixes PR29010 | |
6037 | * java/text/AttributedString.java | |
6038 | (AttributedString(AttributedCharacterIterator, int, int, | |
6039 | AttributedCharacterIterator.Attribute[])): Fixed check for defined | |
6040 | attribute. | |
6041 | ||
6042 | 2006-09-11 Gary Benson <gbenson@redhat.com> | |
6043 | ||
6044 | * java/net/Inet4Address.java | |
6045 | (AF_INET): Renamed to FAMILY. | |
6046 | (<init>, writeReplace): Reflect the above. | |
6047 | * java/net/Inet6Address.java | |
6048 | (AF_INET6): Renamed to FAMILY. | |
6049 | (<init>): Reflect the above. | |
6050 | ||
6051 | 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
6052 | ||
6053 | Fixes bug #28867 | |
6054 | Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de> | |
6055 | * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated. | |
6056 | * java/net/Socket.java: Avoid creating a redundant file descriptor. | |
6057 | (implCreated): Deleted, (getImpl): Don't check impleCreated, | |
6058 | (bind): Call getImpl().create(true). | |
6059 | ||
6060 | 2006-09-09 Chris Burdess <dog@gnu.org> | |
6061 | ||
6062 | * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns | |
6063 | an instance of org.w3c.dom.NodeList. | |
6064 | ||
6065 | 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6066 | ||
6067 | * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about | |
6068 | missing security manager when run in standalone mode. | |
6069 | ||
6070 | 2006-09-08 Francis Kung <fkung@redhat.com> | |
6071 | ||
6072 | * java/awt/image/AffineTransformOp.java: Updated documentation. | |
6073 | (createCompatibleDestRaster): Updated formatting. | |
6074 | (filter(BufferedImage, BufferedImage)): Updated formatting. | |
6075 | (filter(Raster, WritableRaster)): Delegated processing to native peers for | |
6076 | if colour model is compatible. | |
6077 | (filterBicubic): Get entire pixel at once, and use appropriate array type. | |
6078 | (filterBilinear): Get entire pixel at once, and use appropriate array type. | |
6079 | ||
6080 | 2006-09-08 Gary Benson <gbenson@redhat.com> | |
6081 | ||
6082 | * java/net/InetAddress.java | |
6083 | (family): Updated javadoc and made private. | |
6084 | (<init>): Add an address family argument. | |
6085 | (readObject): Don't overwrite family. | |
6086 | * java/net/Inet4Address.java | |
6087 | (AF_INET): New constant. | |
6088 | (<init>): Use AF_INET as the family. | |
6089 | (writeReplace): Likewise. | |
6090 | * java/net/Inet6Address.java | |
6091 | (AF_INET6): New constant. | |
6092 | (<init>): Use AF_INET6 as the family. | |
6093 | ||
6094 | 2006-09-08 Gary Benson <gbenson@redhat.com> | |
6095 | ||
6096 | * java/net/InetAddress.java | |
6097 | (getHostName): Move lookup into getCanonicalHostName. | |
6098 | (getCanonicalHostName): Move lookup from getHostName, | |
6099 | Perform security check on canonical name (ie after lookup). | |
6100 | ||
6101 | 2006-09-08 Gary Benson <gbenson@redhat.com> | |
6102 | ||
6103 | * java/net/Inet4Address.java (isMulticastAddress, | |
6104 | isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress, | |
6105 | isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal, | |
6106 | isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved | |
6107 | implementations from InetAddress. | |
6108 | * java/net/InetAddress.java (isMulticastAddress, | |
6109 | isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress, | |
6110 | isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal, | |
6111 | isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace | |
6112 | implementations with UnsupportedOperationExceptions. | |
6113 | ||
6114 | 2006-09-08 Gary Benson <gbenson@redhat.com> | |
6115 | ||
6116 | * java/net/InetAddress.java | |
6117 | (inaddr_any): Removed. | |
6118 | (ANY_IF, LOCALHOST): Create using getByAddress. | |
6119 | (<init>): Updated javadoc. | |
6120 | (getHostName): Cache hostname even if the lookup failed. | |
6121 | (getByAddress): Create Inet4Address objects when passed | |
6122 | IPv4-mapped IPv6 addresses. | |
6123 | (aton): Removed. | |
6124 | (getAllByName): Create address objects using getByAddress. | |
6125 | Do not perform security checks unless actually required. | |
6126 | Do not strip whitespace from the hostname. | |
6127 | (getInaddrAny): Removed. | |
6128 | (getLocalHost): Return the loopback address if getByName | |
6129 | throws a SecurityException. | |
6130 | (readResolve): Updated javadoc. | |
6131 | * vm/reference/java/net/VMInetAddress.java (aton): Declared. | |
6132 | * include/java_net_VMInetAddress.h | |
6133 | (Java_java_net_VMInetAddress_aton): Likewise. | |
6134 | * native/jni/java-net/java_net_VMInetAddress.c | |
6135 | (Java_java_net_VMInetAddress_aton): New method. | |
6136 | * native/jni/native-lib/cpnet.h (cpnet_aton): Declared. | |
6137 | * native/jni/native-lib/cpnet.c (cpnet_aton): New method. | |
6138 | * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton. | |
6139 | * java/net/Inet4Address.java (writeReplace): Updated javadoc. | |
6140 | * NEWS: Added note about updated VM interface. | |
6141 | ||
6142 | 2006-09-07 David Gilbert <david.gilbert@object-refinery.com> | |
6143 | ||
6144 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
6145 | (setNorthPane): Assign component to titlePane. | |
6146 | ||
6147 | 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
6148 | ||
6149 | * gnu/CORBA/NamingService/NameParser.java (corbaloc): | |
6150 | Remove unused variable alt_addr. | |
6151 | * gnu/CORBA/NamingService/NameTransformer.java (toName): | |
6152 | Remove unused variables. | |
6153 | ||
6154 | 2006-09-07 David Gilbert <david.gilbert@object-refinery.com> | |
6155 | ||
6156 | * javax/swing/plaf/metal/MetalScrollBarUI.java | |
6157 | (installDefaults): Initialise scrollBarWidth from UI defaults here, | |
6158 | (createDecreaseButton): Don't fetch scrollBarWidth here, | |
6159 | (createIncreaseButton): Likewise. | |
6160 | ||
6161 | 2006-09-07 David Gilbert <david.gilbert@object-refinery.com> | |
6162 | ||
6163 | * java/awt/image/MemoryImageSource.java: Added API docs. | |
6164 | ||
6165 | 2006-09-06 David Gilbert <david.gilbert@object-refinery.com> | |
6166 | ||
6167 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
6168 | (installDefaults): Call configureScrollBarColors(). | |
6169 | ||
6170 | 2006-09-06 Francis Kung <fkung@redhat.com> | |
6171 | ||
6172 | * java/awt/image/RescaleOp.java: Updated documentation and formatting. | |
6173 | (constructor): Make copy of arrays. | |
6174 | (createCompatibleDestImage): Changed treatment of null ColorModel. | |
6175 | (filter(BufferedImage, BufferedImage)): Re-implemented. | |
6176 | (filter(Raster, WritableRaster, boolean[])): New method. | |
6177 | (filter(Raster, WritableRaster)): Re-implemented. | |
6178 | (getOffsets): Prevent ArrayIndexOutOfBoundsException. | |
6179 | (getPoint2D): Cleaned up formatting. | |
6180 | (getScaleFactors): Prevent ArrayIndexOutOfBoundsException. | |
6181 | ||
6182 | 2006-09-06 David Gilbert <david.gilbert@object-refinery.com> | |
6183 | ||
6184 | * javax/swing/UIManager.java | |
6185 | (getBoolean(Object)): Reimplemented, | |
6186 | (getBoolean(Object, Locale)): Likewise, | |
6187 | (getBorder(Object)): Likewise, | |
6188 | (getBorder(Object, Locale)): Likewise, | |
6189 | (getColor(Object)): Likewise, | |
6190 | (getColor(Object, Locale)): Likewise, | |
6191 | (getDimension(Object)): Likewise, | |
6192 | (getDimension(Object, Locale)): Likewise, | |
6193 | (getFont(Object)): Likewise, | |
6194 | (getFont(Object, Locale)): Likewise, | |
6195 | (getIcon(Object)): Likewise, | |
6196 | (getIcon(Object, Locale)): Likewise, | |
6197 | (getInsets(Object)): Updated API docs, | |
6198 | (getInsets(Object, Locale)): Likewise, | |
6199 | (getInt(Object)): Reimplemented, | |
6200 | (getInt(Object, Locale)): Likewise, | |
6201 | (getString(Object)): Likewise, | |
6202 | (getString(Object, Locale)): Likewise. | |
6203 | ||
6204 | 2006-09-06 David Gilbert <david.gilbert@object-refinery.com> | |
6205 | ||
6206 | * javax/swing/UIManager.java | |
6207 | (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback, | |
6208 | (getDefaults): Initialise MultiplexUIDefaults with empty fallback. | |
6209 | ||
6210 | 2006-09-06 David Gilbert <david.gilbert@object-refinery.com> | |
6211 | ||
6212 | * javax/swing/plaf/metal/MetalLookAndFeel.java | |
6213 | (initComponentDefaults): Corrected various font defaults. | |
6214 | ||
6215 | 2006-09-05 David Gilbert <david.gilbert@object-refinery.com> | |
6216 | ||
6217 | * java/awt/List.java: Added @since to various methods. | |
6218 | ||
6219 | 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
6220 | ||
6221 | * native/jni/native-lib/cpprocess.c: | |
6222 | (forkAndExec(char*,char*,int,int,pid_t,char*)): | |
6223 | Add redirection of stdout to stderr. | |
6224 | * native/jni/native-lib/cpprocess.h: | |
6225 | Added redirect argument. | |
6226 | * native/jni/java-lang/java_lang_VMProcess.c | |
6227 | (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument. | |
6228 | * vm/reference/java/lang/VMProcess.java: Likewise. | |
6229 | * include/java_lang_VMProcess.h: Regenerated. | |
6230 | ||
6231 | 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch> | |
6232 | ||
6233 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust | |
6234 | __attribute to __attribute__. | |
6235 | ||
6236 | * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate | |
6237 | header include. | |
6238 | ||
6239 | 2006-09-05 David Gilbert <david.gilbert@object-refinery.com> | |
6240 | ||
6241 | * java/awt/List.java: Source code reformatted. | |
6242 | ||
6243 | 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
6244 | ||
6245 | * gnu/CORBA/CollocatedOrbs.java, | |
6246 | gnu/CORBA/SafeForDirectCalls.java: New files. | |
6247 | * gnu/CORBA/NamingService/Binding_iterator_impl.java: | |
6248 | Implement gnu.CORBA.SafeForDirectCalls. | |
6249 | * gnu/CORBA/NamingService/Ext.java: Likewise. | |
6250 | * gnu/CORBA/NamingService/TransientContext.java: Likewise. | |
6251 | * gnu/CORBA/OrbFunctional.java (createIor):Cache the address | |
6252 | of the local host. (ior_to_object): Return the local object | |
6253 | where possible. (run): Register/unregister this ORB. | |
6254 | * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding. | |
6255 | * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private. | |
6256 | * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field. | |
6257 | (constructors): Initialize noRetain. (_invoke): Drop servant | |
6258 | if noRetain is true. (getHandler): Always seach for the new servant | |
6259 | if noRetain is true. | |
6260 | * gnu/CORBA/SimpleDelegate.java (create_request): Implemented. | |
6261 | * NEWS: Added note about the new feature. | |
6262 | ||
6263 | 2006-09-05 David Gilbert <david.gilbert@object-refinery.com> | |
6264 | ||
6265 | * java/awt/Choice.java | |
6266 | (addItem): Fixed API doc glitch. | |
6267 | ||
6268 | 2006-09-05 Francis Kung <fkung@redhat.com> | |
6269 | ||
6270 | * java/awt/image/LookupOp.java: Updated documentation & formatting. | |
6271 | (createCompatibleDestImage): Re-implemented. | |
6272 | (filter(BufferedImage, BufferedImage)): Added check for src/dest image | |
6273 | compatibility, and use ColorConvertOp for color conversion if needed. | |
6274 | (filter(Raster, WritableRaster)): Made exceptions more descriptive. | |
6275 | ||
6276 | 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
6277 | ||
6278 | gnu/CORBA/CDR/Vio.java, | |
6279 | org/omg/CORBA_2_3/ORB.java, | |
6280 | org/omg/CORBA_2_3/portable/InputStream.java, | |
6281 | org/omg/CORBA_2_3/portable/OutputStream.java, | |
6282 | org/omg/CosNaming/BindingIteratorHelper.java, | |
6283 | org/omg/CosNaming/BindingTypeHelper.java, | |
6284 | org/omg/CosNaming/NameComponentHelper.java, | |
6285 | org/omg/CosNaming/NameHelper.java, | |
6286 | org/omg/CosNaming/NamingContextExtHelper.java, | |
6287 | org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java, | |
6288 | org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java, | |
6289 | org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java, | |
6290 | org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java, | |
6291 | org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java, | |
6292 | org/omg/CosNaming/NamingContextHelper.java, | |
6293 | org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java, | |
6294 | org/omg/CosNaming/NamingContextPackage/InvalidName.java, | |
6295 | org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java, | |
6296 | org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java, | |
6297 | org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java, | |
6298 | org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java, | |
6299 | org/omg/DynamicAny/AnySeqHelper.java, | |
6300 | org/omg/DynamicAny/DynAnyFactoryHelper.java, | |
6301 | org/omg/DynamicAny/DynAnyFactoryOperations.java, | |
6302 | org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java, | |
6303 | org/omg/DynamicAny/DynAnyHelper.java, | |
6304 | org/omg/DynamicAny/DynAnyOperations.java, | |
6305 | org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java, | |
6306 | org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java, | |
6307 | org/omg/DynamicAny/DynAnySeqHelper.java, | |
6308 | org/omg/DynamicAny/DynArrayHelper.java, | |
6309 | org/omg/DynamicAny/DynEnumHelper.java, | |
6310 | org/omg/DynamicAny/DynFixedHelper.java, | |
6311 | org/omg/DynamicAny/DynSequenceHelper.java, | |
6312 | org/omg/DynamicAny/DynStructHelper.java, | |
6313 | org/omg/DynamicAny/DynStructOperations.java, | |
6314 | org/omg/DynamicAny/DynUnionHelper.java, | |
6315 | org/omg/DynamicAny/DynValueHelper.java, | |
6316 | org/omg/DynamicAny/NameDynAnyPairHelper.java, | |
6317 | org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, | |
6318 | org/omg/IOP/CodecFactoryHelper.java, | |
6319 | org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java, | |
6320 | org/omg/IOP/CodecOperations.java, | |
6321 | org/omg/IOP/CodecPackage/FormatMismatchHelper.java, | |
6322 | org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java, | |
6323 | org/omg/IOP/CodecPackage/TypeMismatchHelper.java, | |
6324 | org/omg/IOP/ComponentIdHelper.java, | |
6325 | org/omg/IOP/ExceptionDetailMessage.java, | |
6326 | org/omg/IOP/MultipleComponentProfileHelper.java, | |
6327 | org/omg/IOP/ProfileIdHelper.java, | |
6328 | org/omg/IOP/ServiceContextListHelper.java, | |
6329 | org/omg/IOP/ServiceIdHelper.java, | |
6330 | org/omg/IOP/TAG_CODE_SETS.java, | |
6331 | org/omg/PortableInterceptor/ClientRequestInfoOperations.java, | |
6332 | org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java, | |
6333 | org/omg/PortableInterceptor/CurrentHelper.java, | |
6334 | org/omg/PortableInterceptor/IORInfo.java, | |
6335 | org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java, | |
6336 | org/omg/PortableInterceptor/ORBIdHelper.java, | |
6337 | org/omg/PortableInterceptor/ORBInitInfoOperations.java, | |
6338 | org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, | |
6339 | org/omg/PortableInterceptor/ORBInitializerOperations.java, | |
6340 | org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java, | |
6341 | org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java, | |
6342 | org/omg/PortableInterceptor/RequestInfoOperations.java, | |
6343 | org/omg/PortableInterceptor/ServerIdHelper.java, | |
6344 | org/omg/PortableInterceptor/ServerRequestInfoOperations.java, | |
6345 | org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java, | |
6346 | org/omg/PortableServer/AdapterActivatorOperations.java, | |
6347 | org/omg/PortableServer/CurrentHelper.java, | |
6348 | org/omg/PortableServer/CurrentPackage/NoContextHelper.java, | |
6349 | org/omg/PortableServer/ForwardRequestHelper.java, | |
6350 | org/omg/PortableServer/IdAssignmentPolicyValue.java, | |
6351 | org/omg/PortableServer/IdUniquenessPolicyValue.java, | |
6352 | org/omg/PortableServer/ImplicitActivationPolicyValue.java, | |
6353 | org/omg/PortableServer/LifespanPolicyValue.java, | |
6354 | org/omg/PortableServer/POA.java, | |
6355 | org/omg/PortableServer/POAHelper.java, | |
6356 | org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java, | |
6357 | org/omg/PortableServer/POAManagerPackage/State.java, | |
6358 | org/omg/PortableServer/POAOperations.java, | |
6359 | org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java, | |
6360 | org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java, | |
6361 | org/omg/PortableServer/POAPackage/InvalidPolicy.java, | |
6362 | org/omg/PortableServer/POAPackage/NoServantHelper.java, | |
6363 | org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java, | |
6364 | org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java, | |
6365 | org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java, | |
6366 | org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java, | |
6367 | org/omg/PortableServer/POAPackage/WrongAdapterHelper.java, | |
6368 | org/omg/PortableServer/POAPackage/WrongPolicyHelper.java, | |
6369 | org/omg/PortableServer/RequestProcessingPolicyValue.java, | |
6370 | org/omg/PortableServer/ServantActivatorHelper.java, | |
6371 | org/omg/PortableServer/ServantLocatorHelper.java, | |
6372 | org/omg/PortableServer/ServantLocatorOperations.java, | |
6373 | org/omg/PortableServer/ServantRetentionPolicyValue.java, | |
6374 | org/omg/PortableServer/ThreadPolicyValue.java, | |
6375 | org/omg/PortableServer/_ServantActivatorStub.java, | |
6376 | org/omg/PortableServer/_ServantLocatorStub.java, | |
6377 | org/omg/PortableServer/portable/Delegate.java: Documentation fixes. | |
6378 | ||
6379 | 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
6380 | ||
6381 | * javax/rmi/CORBA/Tie.java, | |
6382 | org/omg/CORBA/AnyHolder.java, | |
6383 | org/omg/CORBA/AnySeqHelper.java, | |
6384 | org/omg/CORBA/AnySeqHolder.java, | |
6385 | org/omg/CORBA/BooleanHolder.java, | |
6386 | org/omg/CORBA/BooleanSeqHelper.java, | |
6387 | org/omg/CORBA/BooleanSeqHolder.java, | |
6388 | org/omg/CORBA/ByteHolder.java, | |
6389 | org/omg/CORBA/CharHolder.java, | |
6390 | org/omg/CORBA/CharSeqHelper.java, | |
6391 | org/omg/CORBA/CharSeqHolder.java, | |
6392 | org/omg/CORBA/Context.java, | |
6393 | org/omg/CORBA/CurrentHelper.java, | |
6394 | org/omg/CORBA/CustomValue.java, | |
6395 | org/omg/CORBA/DataOutputStream.java, | |
6396 | org/omg/CORBA/DefinitionKindHelper.java, | |
6397 | org/omg/CORBA/DomainManagerOperations.java, | |
6398 | org/omg/CORBA/DoubleHolder.java, | |
6399 | org/omg/CORBA/DoubleSeqHelper.java, | |
6400 | org/omg/CORBA/DoubleSeqHolder.java, | |
6401 | org/omg/CORBA/DynAny.java, | |
6402 | org/omg/CORBA/DynSequence.java, | |
6403 | org/omg/CORBA/DynValue.java, | |
6404 | org/omg/CORBA/DynamicImplementation.java, | |
6405 | org/omg/CORBA/FieldNameHelper.java, | |
6406 | org/omg/CORBA/FixedHolder.java, | |
6407 | org/omg/CORBA/FloatHolder.java, | |
6408 | org/omg/CORBA/FloatSeqHelper.java, | |
6409 | org/omg/CORBA/FloatSeqHolder.java, | |
6410 | org/omg/CORBA/IdentifierHelper.java, | |
6411 | org/omg/CORBA/IntHolder.java, | |
6412 | org/omg/CORBA/LocalObject.java, | |
6413 | org/omg/CORBA/LongHolder.java, | |
6414 | org/omg/CORBA/LongLongSeqHelper.java, | |
6415 | org/omg/CORBA/LongLongSeqHolder.java, | |
6416 | org/omg/CORBA/LongSeqHelper.java, | |
6417 | org/omg/CORBA/LongSeqHolder.java, | |
6418 | org/omg/CORBA/ORB.java, | |
6419 | org/omg/CORBA/ObjectHelper.java, | |
6420 | org/omg/CORBA/ObjectHolder.java, | |
6421 | org/omg/CORBA/OctetSeqHelper.java, | |
6422 | org/omg/CORBA/OctetSeqHolder.java, | |
6423 | org/omg/CORBA/PolicyErrorCodeHelper.java, | |
6424 | org/omg/CORBA/PolicyErrorHelper.java, | |
6425 | org/omg/CORBA/PolicyHelper.java, | |
6426 | org/omg/CORBA/PolicyListHelper.java, | |
6427 | org/omg/CORBA/PolicyTypeHelper.java, | |
6428 | org/omg/CORBA/PrincipalHolder.java, | |
6429 | org/omg/CORBA/RepositoryIdHelper.java, | |
6430 | org/omg/CORBA/Request.java, | |
6431 | org/omg/CORBA/ShortHolder.java, | |
6432 | org/omg/CORBA/ShortSeqHelper.java, | |
6433 | org/omg/CORBA/ShortSeqHolder.java, | |
6434 | org/omg/CORBA/StringSeqHelper.java, | |
6435 | org/omg/CORBA/StringSeqHolder.java, | |
6436 | org/omg/CORBA/ULongLongSeqHelper.java, | |
6437 | org/omg/CORBA/ULongLongSeqHolder.java, | |
6438 | org/omg/CORBA/ULongSeqHelper.java, | |
6439 | org/omg/CORBA/ULongSeqHolder.java, | |
6440 | org/omg/CORBA/UShortSeqHelper.java, | |
6441 | org/omg/CORBA/UShortSeqHolder.java, | |
6442 | org/omg/CORBA/ValueBaseHelper.java, | |
6443 | org/omg/CORBA/ValueBaseHolder.java, | |
6444 | org/omg/CORBA/VersionSpecHelper.java, | |
6445 | org/omg/CORBA/WCharSeqHelper.java, | |
6446 | org/omg/CORBA/WCharSeqHolder.java, | |
6447 | org/omg/CORBA/WStringSeqHelper.java, | |
6448 | org/omg/CORBA/WStringSeqHolder.java, | |
6449 | org/omg/CORBA/WrongTransactionHelper.java, | |
6450 | org/omg/CORBA/_IDLTypeStub.java, | |
6451 | org/omg/CORBA/_PolicyStub.java, | |
6452 | org/omg/CORBA/portable/BoxedValueHelper.java, | |
6453 | org/omg/CORBA/portable/Delegate.java, | |
6454 | org/omg/CORBA/portable/ObjectImpl.java, | |
6455 | org/omg/CORBA/portable/ServantObject.java, | |
6456 | org/omg/CORBA/portable/StreamableValue.java, | |
6457 | org/omg/CosNaming/BindingType.java, | |
6458 | org/omg/CosNaming/IstringHelper.java, | |
6459 | org/omg/DynamicAny/FieldNameHelper.java, | |
6460 | org/omg/PortableServer/Servant.java: Documentation fixes. | |
6461 | ||
6462 | 2006-09-04 David Gilbert <david.gilbert@object-refinery.com> | |
6463 | ||
6464 | * java/awt/Rectangle.java | |
6465 | (setRect(double, double, double, double)): Modified rounding of input | |
6466 | values. | |
6467 | ||
6468 | 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
6469 | ||
6470 | * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements): | |
6471 | Disallow H1 - H6 in the paragraphs. | |
6472 | * gnu/javax/swing/text/html/parser/support/textPreProcessor.java | |
6473 | (preprocess): Leave at most one leading and/or trailing space. | |
6474 | * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText): | |
6475 | Do not add any text after closing the HTML tag. | |
6476 | ||
6477 | 2006-09-02 Roman Kennke <kennke@aicas.com> | |
6478 | ||
6479 | PR 28928 | |
6480 | * javax/swing/plaf/basic/BasicTextUI.java | |
6481 | (RootView.getPreferredSpan): Default to 10 when there is no | |
6482 | real view. | |
6483 | (RootView.getMinimumSpan): Forward to view and default to 10 | |
6484 | when there is no real view. | |
6485 | (RootView.getMaximumSpan): Return Integer.MAX_VALUE. | |
6486 | (getMaximumSize): Check for overflow. | |
6487 | * javax/swing/text/FieldView.java | |
6488 | (getResizeWeight): Removed unneeded assignment. | |
6489 | ||
6490 | 2006-09-01 Francis Kung <fkung@redhat.com> | |
6491 | * java/awt/image/ColorConvertOp.java | |
6492 | (copyImage): Updated javadoc and comments. | |
6493 | (copyRaster): Add javadoc. | |
6494 | (createCompatibleColorModel): Add javadocs and comments. | |
6495 | (createCompatibleDestImage): Use correct transfer type. | |
6496 | (createCompatibleDestRaster): Add new parameter for transfer type. | |
6497 | (filter): Use correct transfer type. | |
6498 | * java/awt/image/ConvolveOp.java: Updated javadocs. | |
6499 | (createCompatibleDestImage): Set new image properties correctly. | |
6500 | (filter(BufferedImage, BufferedImage): Correct handling of premultiplication. | |
6501 | (filter(WritableRaster, Raster): Clip sample values to [0-255]. | |
6502 | ||
6503 | 2006-09-01 Robert Schuster <robertschuster@fsfe.org> | |
6504 | ||
6505 | * javax/swing/table/DefaultTableModel.java: | |
6506 | (checkSize): Added null check for dataVector. | |
6507 | ||
6508 | 2006-09-01 Robert Schuster <robertschuster@fsfe.org> | |
6509 | ||
6510 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: | |
6511 | (BasicHorizontalLayout.getAlignmentX): Return fixed value. | |
6512 | (BasicHorizontalLayout.getAlignmentY): Return fixed value. | |
6513 | ||
6514 | 2006-09-01 Robert Schuster <robertschuster@fsfe.org> | |
6515 | ||
6516 | * javax/swing/plaf/metal/MetalCheckBoxIcon.java: | |
6517 | (paintIcon): Removed unused import statements, lowered cast requirement | |
6518 | from JCheckBox to AbstractButton. | |
6519 | ||
6520 | 2006-09-01 Robert Schuster <robertschuster@fsfe.org> | |
6521 | ||
6522 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
6523 | (initComponentDefaults): Added, changed and removed some | |
6524 | tabbed pane properties. | |
6525 | ||
6526 | 2006-09-01 Robert Schuster <robertschuster@fsfe.org> | |
6527 | ||
6528 | * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: | |
6529 | (createContent): Changed menu item name and tab naming. | |
6530 | ||
6531 | 2006-09-01 Roman Kennke <kennke@aicas.com> | |
6532 | ||
6533 | PR 28922 | |
6534 | * javax/swing/plaf/basic/BasicHTML.java | |
6535 | (HTMLRootView.getAttributes): Overridden to return null. | |
6536 | (HTMLRootView.getElement): Overridden to return the view's | |
6537 | element. | |
6538 | ||
6539 | 2006-09-01 Robert Schuster <robertschuster@fsfe.org> | |
6540 | ||
6541 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
6542 | (calculateTabAreaHeight): Use getTabRunOverlay method instead | |
6543 | of accessing variable directly. | |
6544 | (calculateTabAreaWidth): Dito. | |
6545 | ||
6546 | 2006-08-31 Keith Seitz <keiths@redhat.com> | |
6547 | ||
6548 | * include/jvmti.h: Include jvmti_md.h. | |
6549 | ||
6550 | 2006-08-31 Keith Seitz <keiths@redhat.com> | |
6551 | ||
6552 | From Martin Platter <motse@complang.tuwien.ac.at>: | |
6553 | * Makefile.am (include_HEADERS): Include jvmti.h. | |
6554 | * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'. | |
6555 | (jvmtiError): Remove superfluous comma after last entry. | |
6556 | (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT". | |
6557 | (_Jv_jvmtiEnv.StopThread): Add missing exception parameter. | |
6558 | (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter. | |
6559 | (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to | |
6560 | character pointer. | |
6561 | (_Jv_JVMTIEnv::StopThread): Add missing exception parameter. | |
6562 | (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter. | |
6563 | (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to | |
6564 | character pointer. | |
6565 | ||
6566 | 2006-08-31 Roman Kennke <kennke@aicas.com> | |
6567 | ||
6568 | * javax/swing/text/BoxView.java | |
6569 | (getWidth): Return the width with insets added, not with one | |
6570 | added and one removed. | |
6571 | (getHeight): Return the height with insets added, not with one | |
6572 | added and one removed. | |
6573 | * javax/swing/text/GlyphView.java | |
6574 | (DefaultGlyphPainter.viewToModel): Need to add the start offset. | |
6575 | * javax/swing/text/ParagraphView.java | |
6576 | (Row.getAlignment): Adjust alignment with respect to | |
6577 | the justification attribute. | |
6578 | (Row.getLeftInset): Overridden to adjust for firstLineIndent | |
6579 | attribute. | |
6580 | * javax/swing/text/html/CSS.java | |
6581 | (getValue): Convert length values. | |
6582 | * javax/swing/text/html/Paragraph.java | |
6583 | (painter): New field. | |
6584 | (paint): Implemented to delegate painting to the BoxPainter too. | |
6585 | (setPropertiesFromAttributes): Implemented to load attributes | |
6586 | from CSS. | |
6587 | * javax/swing/text/html/StyleSheet.java | |
6588 | (BoxPainter.as): Removed field. | |
6589 | (BoxPainter.leftInset): New field. | |
6590 | (BoxPainter.bottomInset): New field. | |
6591 | (BoxPainter.rightInset): New field. | |
6592 | (BoxPainter.topInset): New field. | |
6593 | (BoxPainter.BoxPainter): Implemented to load the insets from | |
6594 | CSS. | |
6595 | (BoxPainter.getInset): Implemented. | |
6596 | * gnu/javax/swing/text/html/Length.java: New class. | |
6597 | Converts CSS length units to usable values. | |
6598 | ||
6599 | 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch> | |
6600 | ||
6601 | * configure.ac: Add check for gethostbyname_r. | |
6602 | Add check for MSG_NOSIGNAL and SO_NOSIGPIPE. | |
6603 | * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define | |
6604 | SOCKET_NOSIGNAL according to the configure check. | |
6605 | (cpnet_send): Use SOCKET_NOSIGNAL. | |
6606 | (cpnet_sendTo): Likewise. | |
6607 | (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not | |
6608 | defined. | |
6609 | * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they | |
6610 | are not available. | |
6611 | ||
6612 | * lib/Makefile.am (cssfiles): Add new rule to install css files. | |
6613 | ||
6614 | 2006-08-31 Roman Kennke <kennke@aicas.com> | |
6615 | ||
6616 | * javax/swing/JEditorPane.java | |
6617 | (getPreferredSize): Replace preferred size with minimum | |
6618 | UI size only if the scrollable does _not_ track the viewport | |
6619 | size and only if the viewport's size is smaller than the | |
6620 | scrollable's size. | |
6621 | (getScrollableTracksViewportWidth): Avoid unnecessary multiple | |
6622 | method calls. | |
6623 | * javax/swing/plaf/basic/BasicTextUI.java | |
6624 | (getPreferredSize): Read-lock the document to avoid | |
6625 | concurrency problems. | |
6626 | (getMaximumSize): Return maximum size of the view. | |
6627 | Read-lock the document to avoid concurrency problems. | |
6628 | (getMinimumSize): Return minimum size of the view. | |
6629 | Read-lock the document to avoid concurrency problems. | |
6630 | ||
6631 | 2006-08-31 Gary Benson <gbenson@redhat.com> | |
6632 | ||
6633 | * java/net/SocketPermission.java | |
6634 | (maybeBracketIPv6Address): Renamed to processHostport. | |
6635 | (processHostport): Also translate "" to "localhost". | |
6636 | (setHostPort): Remove special cases for empty hostport and for | |
6637 | extra colons in hostport (processHostport handles these now). | |
6638 | ||
6639 | 2006-08-31 Mark Wielaard <mark@klomp.org> | |
6640 | ||
6641 | * javax/swing/text/ZoneView.java (Zone): Make static class. | |
6642 | Constructor takes axis parameter. | |
6643 | (createZone): Create Zone with getAxis() as major axis. | |
6644 | ||
6645 | 2006-08-30 Roman Kennke <kennke@aicas.com> | |
6646 | ||
6647 | * javax/swing/text/ZoneView.java | |
6648 | (loadChildren): Implemented. | |
6649 | (getViewIndexAtPosition): Implemented. | |
6650 | (checkZoneAt): New helper method. | |
6651 | (splitZone): New helper method. | |
6652 | (getPreferredZoneEnd): New helper method. | |
6653 | ||
6654 | 2006-08-30 Roman Kennke <kennke@aicas.com> | |
6655 | ||
6656 | * javax/swing/text/ZoneView.java: New class. | |
6657 | ||
6658 | 2006-08-30 Roman Kennke <kennke@aicas.com> | |
6659 | ||
6660 | * javax/swing/JMenu.java | |
6661 | (getMenu): Removed unneeded cast. | |
6662 | (getPopupMenuOrigin): Made positioning algorithm better respect | |
6663 | the screen bounds. | |
6664 | (setMenuLocation): Also set the location on the popup if it's | |
6665 | not null. | |
6666 | (setModel): Use menuChangeListener so that we don't override | |
6667 | the changeListener field from AbstractButton. | |
6668 | (setPopupMenuVisible): Use custom location if set, otherwise | |
6669 | fallback to getPopupMenuOrigin(). | |
6670 | ||
6671 | 2006-08-29 Roman Kennke <kennke@aicas.com> | |
6672 | ||
6673 | * javax/swing/text/InternationalFormatter.java | |
6674 | (stringToValue): Fixed bounds check. | |
6675 | * javax/swing/text/MaskFormatter.java | |
6676 | (MaskFormatter): Don't explicitly set allosInvalid property. | |
6677 | (convertStringToValue): New helper method. | |
6678 | (convertValueToString): New helper method. | |
6679 | (convertValue): Removed. Replaced by the 2 convert* methods | |
6680 | above. | |
6681 | (getPadCharAt): Removed. | |
6682 | (isCharValid): Removed. | |
6683 | (pad): Removed. | |
6684 | (stringToValue): Fixed stringToValue conversion. | |
6685 | (stripLiterals): Removed. | |
6686 | (valueToString): Fixed valueToString conversion. | |
6687 | * javax/swing/text/DefaultFormatter.java | |
6688 | (DefaultFormatter): Default to commitsOnValidEdit = false. | |
6689 | ||
6690 | 2006-08-29 Roman Kennke <kennke@aicas.com> | |
6691 | ||
6692 | * javax/swing/text/TextAction.java | |
6693 | (getTextComponent): Check event for null and return null in | |
6694 | this case. | |
6695 | (augmentList): Augment Actions based on their names. | |
6696 | * javax/swing/text/DefaultEditorKit.java | |
6697 | (BeginAction.actionPerformed): Check target for null. | |
6698 | (BeginLineAction.actionPerformed): Check target for null. | |
6699 | (CopyAction.actionPerformed): Check target for null. | |
6700 | (CutAction.actionPerformed): Check target for null. | |
6701 | (EndAction.actionPerformed): Check target for null. | |
6702 | (EndLineAction.actionPerformed): Check target for null. | |
6703 | (InsertBreakAction.actionPerformed): Check target for null. | |
6704 | (InsertTabAction.actionPerformed): Check target for null. | |
6705 | (PasteAction.actionPerformed): Check target for null. | |
6706 | (SelectAllAction.actionPerformed): Check target for null. | |
6707 | (SelectionBeginAction.actionPerformed): Check target for null. | |
6708 | (SelectionBeginLineAction.actionPerformed): Check target for null. | |
6709 | (SelectionEndAction.actionPerformed): Check target for null. | |
6710 | (SelectionEndLineAction.actionPerformed): Check target for null. | |
6711 | (SelectLineAction.actionPerformed): Check target for null. | |
6712 | (SelectWordAction.actionPerformed): Check target for null. | |
6713 | ||
6714 | 2006-08-29 Roman Kennke <kennke@aicas.com> | |
6715 | ||
6716 | * javax/swing/plaf/basic/BasicTextUI.java | |
6717 | (FocusHandler): New class. This is moved from the anonymous | |
6718 | inner focus listener class to a static member class, and | |
6719 | is now shared between components. | |
6720 | (DocumentHandler): This class is combined with the PropertyHandler | |
6721 | into the Handler class. | |
6722 | (PropertyChangeHandler): This class is combined with the | |
6723 | DocumentHandler into the Handler class. | |
6724 | (Handler): New class. This combines the Property and Document | |
6725 | handler into one class. | |
6726 | (RootView.changedUpdate): Only forward if real view != null. | |
6727 | (RootView.insertUpdate): Only forward if real view != null. | |
6728 | (RootView.removeUpdate): Only forward if real view != null. | |
6729 | (documentHandler): Removed field and replaced by handler. | |
6730 | (focuslistener): Made field static and renamed to focusListener. | |
6731 | (handler): New field. | |
6732 | (kit): Lazily initialize field. | |
6733 | (rootView): Lazily initialize field. | |
6734 | (updateHandler): Removed and replaced by handler. | |
6735 | (getEditorKit): Lazily instantiate field. | |
6736 | (installDefaults): Don't set margin twice. Install correct | |
6737 | property for disabledTextColor. Moved caret and highlighter | |
6738 | initialization to installFixedDefaults. | |
6739 | (installFixedDefaults): New method. Installs defaults that | |
6740 | can't be overridden by subclasses. | |
6741 | (installListeners): Only install focus handler when new | |
6742 | system property gnu.swing.text.no-xlike-clipboard is not set. | |
6743 | Lazily initialize focus handler. | |
6744 | (installUI): Lazily initialize rootView. Install handler | |
6745 | both for property and document changes. | |
6746 | (uninstallDefaults): Uninstall the UI defaults. | |
6747 | (uninstallFixedDefaults): New method. Uninstalls the fixed | |
6748 | defaults. | |
6749 | (installListeners): Only uninstall focus handler when not null. | |
6750 | (uninstallUI): Uninstall property and document listener here. | |
6751 | ||
6752 | 2006-08-29 Gary Benson <gbenson@redhat.com> | |
6753 | ||
6754 | * java/net/SocketPermission.java | |
6755 | (maybeBracketIPv6Address): New method. | |
6756 | (<init>): Pass the hostport argument through the above. | |
6757 | ||
6758 | * java/net/NetworkInterface.java (getInetAddresses): | |
6759 | Don't bracket IPv6 addresses. | |
6760 | ||
6761 | 2006-08-28 Roman Kennke <kennke@aicas.com> | |
6762 | ||
6763 | * javax/swing/text/BoxView.java | |
6764 | (calculateMinorAxisRequirements): Initialize max size | |
6765 | with Integer.MAX_VALUE. | |
6766 | * javax/swing/text/Utilities.java | |
6767 | (getBreakLocation): For simple chars, scan the text directly. | |
6768 | * javax/swing/text/WrappedPlainView.java | |
6769 | (tabBase): New field. | |
6770 | (tabSize): New field. | |
6771 | (calculateBreakPosition): Use Utilities. Fixed for correct | |
6772 | break calculation. | |
6773 | (changedUpdate): Update children directly. | |
6774 | (insertUpdate): Update children directly. Notify children. | |
6775 | (removeUpdate): Update children directly. Notify children. | |
6776 | (updateChildren): New helper method. | |
6777 | (nextTabStop): Fixed to return correct results. | |
6778 | (paint): Update tabBase. | |
6779 | (updateMetrics): Update tab size. | |
6780 | ||
6781 | 2006-08-28 Roman Kennke <kennke@aicas.com> | |
6782 | ||
6783 | * javax/swing/text/Position.java | |
6784 | (Bias.Forward): Initialize with 'Forward' rather then 'forward'. | |
6785 | (Bias.Backward): Initialize with 'Backward' rather then 'backward'. | |
6786 | ||
6787 | 2006-08-28 Roman Kennke <kennke@aicas.com> | |
6788 | ||
6789 | * javax/swing/text/View.java | |
6790 | (height): Removed unneeded field. | |
6791 | (width): Removed unneeded field. | |
6792 | (getBreakWeight): Return GoodBreakWeight when pos is after | |
6793 | the view's span. | |
6794 | (getToolTipText): Check view index more carefully. Avoid | |
6795 | Rectangle creation. | |
6796 | (insertUpdate): Only execute method body if view count > 0. | |
6797 | When updateChildren returns false, clear the ec variable. | |
6798 | (updateChildren): Added null checks. | |
6799 | (viewToModel): Initialize bias array correctly. | |
6800 | * javax/swing/text/CompositeView.java | |
6801 | (children): Made private. | |
6802 | (numChildren): New field. | |
6803 | (loadChildren): Check factory for null. Don't load children | |
6804 | when factory is null. | |
6805 | (replace): Removed null check. Nullify removed children. Made | |
6806 | growing the array more efficient. | |
6807 | (getViewCount): Return numChildren rather then the real array | |
6808 | size. | |
6809 | * javax/swing/text/BoxView.java | |
6810 | (getViewAtPoint): Fixed algorithm for finding the view. | |
6811 | (replace): Made array growing more efficient. | |
6812 | (replaceLayoutArray): New helper method for growing/patching | |
6813 | the layout arrays. | |
6814 | (viewToModel): Make sure we have a valid layout. | |
6815 | ||
6816 | 2006-08-28 Tania Bento <tbento@redhat.com> | |
6817 | ||
6818 | * java/awt/MenuShortcut.java | |
6819 | (MenuShortcut (int, boolean)): Set keyName. | |
6820 | (toString): Modified string output. | |
6821 | (setKeyName): New private method. | |
6822 | ||
6823 | 2006-08-28 Roman Kennke <kennke@aicas.com> | |
6824 | ||
6825 | * javax/swing/text/GapContent.java | |
6826 | (Mark.getOffset): Made assert less strict, include boundary. | |
6827 | (search): Made package private to avoid accessor method. | |
6828 | ||
6829 | 2006-08-28 Roman Kennke <kennke@aicas.com> | |
6830 | ||
6831 | * javax/swing/text/StringContent.java | |
6832 | (InsertUndo.positions): New field. | |
6833 | (InsertUndo.redo): Update the undo positions. | |
6834 | (InsertUndo.undo): Fetch the undo positions. | |
6835 | (Mark): New class. Layer of indirection to allow Positions | |
6836 | to be GC'ed while we still hold references to the Mark. | |
6837 | (RemoveUndo.len): New field. | |
6838 | (RemoveUndo.positions): New field. | |
6839 | (RemoveUndo.RemoveUndo): Fetch undo positions. | |
6840 | (RemoveUndo.redo): Re-fetch positions and string. | |
6841 | (RemoveUndo.undo): Update undo positions. | |
6842 | (StickyPosition.mark): New field. | |
6843 | (StickyPosition.offset): Removed field. | |
6844 | (StickyPosition.StickyPosition): Create new Mark. Register | |
6845 | Position in queueOfDeath. Update reference count on mark. | |
6846 | (StickyPosition.getOffset): Return offset stored in mark. | |
6847 | (StickyPosition.setOffset): Removed unneeded method. | |
6848 | (UndoPosRef): New class. Handles undo/redo on positions/marks. | |
6849 | (EMPTY): New field. | |
6850 | (marks): New field. Stores the marks. | |
6851 | (positions): Removed field. | |
6852 | (queueOfDeath): New field. Used for GCing the positions. | |
6853 | (StringContent): Initialize queueOfDeath. | |
6854 | (createPosition): Lazily create marks vector. | |
6855 | (garbageCollect): New helper method. Collects positions | |
6856 | to be GCed and updates their marks. | |
6857 | (getChars): Fixed bounds check. | |
6858 | (getPositionsInRange): When v == null, create new Vector, | |
6859 | otherwise use v. Store UndoPosRefs in vector. | |
6860 | (getString): Added comment about bug in RI. | |
6861 | (insertString): Use new helper method for replacing the array. | |
6862 | Correctly update positions. | |
6863 | (length): Removed this qualifier. | |
6864 | (remove): Use new helper method for replacing the array. | |
6865 | Correctly update positions. | |
6866 | (replace): New helper method for growing or patching the array. | |
6867 | (updateUndoPositions): Implemented. Updates the positions | |
6868 | for undo/redo operations. | |
6869 | ||
6870 | 2006-08-27 Roman Kennke <kennke@aicas.com> | |
6871 | ||
6872 | * javax/swing/text/StyleContext.java | |
6873 | (NamedStyle.attributes): Made field transient. | |
6874 | (NamedStyle.changeEvent): Made field transient. | |
6875 | (NamedStyle.name): Removed field. The name is stored as | |
6876 | attribute. | |
6877 | (NamedStyle.NamedStyle(String,Style)): Call setName() for | |
6878 | storing the name and check for null name and resolveParent. | |
6879 | Don't initialize changeEvent. | |
6880 | (NamedStyle.copyAttributes): Return a new NamedStyle, | |
6881 | rather than a plain copy of the attributes field. | |
6882 | (NamedStyle.fireStateChange): Lazily create changeEvent | |
6883 | field. | |
6884 | (NamedStyle.getName): Fetch name from attributes. | |
6885 | (NamedStyle.setName): Store name from attributes. | |
6886 | (NamedStyle.readObject): Implemented for correct | |
6887 | deserialization. | |
6888 | (NamedStyle.writeObject): Implemented for correct | |
6889 | serialization. | |
6890 | (NamedStyle.setResolveParent): When new parent is null, | |
6891 | remove resolveParent attribute. Use addAttribute() method | |
6892 | rather than StyleContext addAttribute(). | |
6893 | (NamedStyle.toString): Fixed to produce output equal to the | |
6894 | RI. | |
6895 | (SmallAttributeSet.resolveParent): New field. | |
6896 | (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update | |
6897 | the resolveParent field correctly. | |
6898 | (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy | |
6899 | array but store it directly. Update | |
6900 | the resolveParent field correctly. | |
6901 | (SmallAttributeSet.clone): Return this as the object is | |
6902 | immutable. | |
6903 | (SmallAttributeSet.containsAttributes): Make sure that keys | |
6904 | and values are the same. | |
6905 | (SmallAttributeSet.containsAttribute): Make sure that keys | |
6906 | and values are the same. | |
6907 | (SmallAttributeSet.copyAttributes): Return this as the object is | |
6908 | immutable. | |
6909 | (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet | |
6910 | are equal if they have the same number of attributes and | |
6911 | one contains the other. | |
6912 | (SmallAttributeSet.getAttribute): Improved lookup of | |
6913 | resolveParent. | |
6914 | (SmallAttributeSet.getResolveParent): Improved lookup of | |
6915 | resolveParent. | |
6916 | (SmallAttributeSet.isEqual): When comparing object is a | |
6917 | SmallAttributeSet, consider them equal only if they are the | |
6918 | same object. | |
6919 | (SmallAttributeSet.toString): Fixed to produce output equal to the | |
6920 | RI. | |
6921 | (attributeSetPool): New field. | |
6922 | (defaultStyleContext): Initialize lazily. | |
6923 | (defaultStyle): Removed field. This is stored in the style context | |
6924 | as attribute. | |
6925 | (listenerList): Removed field. The NamedStyle stores the | |
6926 | listeners. | |
6927 | (readAttributeKeys): New static field. Used for looking up | |
6928 | the serialization mappings when reading. | |
6929 | (search): New field. Used as search key. | |
6930 | (staticAttributeKeys): Replaced by read/writeAttributeKeys. | |
6931 | (styles): New field. Stores the styles and listeners. | |
6932 | (styleTable): Removed field. Replaced by styles field. | |
6933 | (writeAttributeKeys): New static field. Used for looking up | |
6934 | the serialization mappings when writing. | |
6935 | (static_initializer): Register mappings for all keys in | |
6936 | StyleConstants. | |
6937 | (StyleContext): Initialize styles correctly. | |
6938 | (addAttributes): Fixed caching of immutable attributes. | |
6939 | (addAttribute): Fixed caching of immutable attributes. | |
6940 | (removeAttributes): Fixed caching of immutable attributes. | |
6941 | (removeAttribute): Fixed caching of immutable attributes. | |
6942 | (addChangeListener): Add listener to styles field. | |
6943 | (removeChangeListener): Remove listener from styles field. | |
6944 | (getChangeListeners): Fetch listeners from styles field. | |
6945 | (addStyle): Add style to styles field. | |
6946 | (cleanupPool): New method. | |
6947 | (getDefaultStyleContext): Lazily create context. | |
6948 | (getEmptySet): Simply return SimpleAttributeSet.EMPTY. | |
6949 | (getMutableAttributeSet): New helper method. Used for | |
6950 | caching. | |
6951 | (getStaticAttribute): Fetch key from readAttributeKeys. | |
6952 | (getStyleNames): Return names from styles field. | |
6953 | (getStyle): Lookup style in styles field. | |
6954 | (removeStyle): Remove style from styles field. | |
6955 | (readAttributeSet): Fixed deserialization. | |
6956 | (writeAttributeSet): Fixed serialization. | |
6957 | (readObject): Fixed deserialization. | |
6958 | (writeObject): Fixed serialization. | |
6959 | (reclaim): Simply cleanup the pool. | |
6960 | (registerStaticAttributeKey): Store mapping in both ways. | |
6961 | (searchImmutableSet): New helper method for caching. | |
6962 | (toString): Fixed for output like the RI. | |
6963 | * javax/swing/text/StyleConstants.java | |
6964 | (keys): New field. Stores all known keys. | |
6965 | (StyleConstants): Store created key in keys list. | |
6966 | * javax/swing/event/EventListenerList.java | |
6967 | (readObject): Fixed deserialization. | |
6968 | (writeObject): Fixed serialization. | |
6969 | ||
6970 | 2006-08-25 Roman Kennke <kennke@aicas.com> | |
6971 | ||
6972 | * javax/swing/text/CompositeView.java | |
6973 | (insets): Removed. Replaced by single short fields. | |
6974 | (top): New field. Replaces insets. | |
6975 | (bottom): New field. Replaces insets. | |
6976 | (left): New field. Replaces insets. | |
6977 | (right): New field. Replaces insets. | |
6978 | (CompositeView): Initialize insets fields. | |
6979 | (createDefaultLocation): Removed unneeded method. | |
6980 | (getBottomInset): Return field directly. | |
6981 | (getTopInset): Return field directly. | |
6982 | (getLeftInset): Return field directly. | |
6983 | (getRightInset): Return field directly. | |
6984 | (getInsideAllocation): Adjusted to work on new insets fields. | |
6985 | (getViewIndex): Fixed check. | |
6986 | (loadChildren): Don't replace the old children. | |
6987 | (replace): Make sure that there is an array to operate on. | |
6988 | Only set parent to null, when it is this View. | |
6989 | (setInsets): Adjusted to work with new insets fields. | |
6990 | (setParagraphInsets): Fixed to pull insets directly from | |
6991 | StyleConstants. | |
6992 | ||
6993 | 2006-08-25 Roman Kennke <kennke@aicas.com> | |
6994 | ||
6995 | * javax/swing/text/ComponentView.java | |
6996 | (Interceptor): New inner helper class. Used to propagate | |
6997 | invalidate requests and cache component layout sizes. | |
6998 | (interceptor): New field. | |
6999 | (getAlignment): Fetch alignment from interceptor container. | |
7000 | (getComponent): Don't create component here. This is done | |
7001 | in setParent(). | |
7002 | (getMaximumSpan): Fetch layout info from interceptor. Check | |
7003 | for illegal axis. | |
7004 | (getMinimumSpan): Fetch layout info from interceptor. Check | |
7005 | for illegal axis. | |
7006 | (getPreferredSpan): Fetch layout info from interceptor. Check | |
7007 | for illegal axis. | |
7008 | (modelToView): Fixed model to view mapping. | |
7009 | (viewToModel): Fixed view to model mapping. | |
7010 | (paint): Check for null. Set bounds on interceptor rather | |
7011 | then component. | |
7012 | (setParentImpl): Install interceptor between component | |
7013 | and hosting container. | |
7014 | (setParent): Call super.setParent() immediately. | |
7015 | ||
7016 | 2006-08-25 Roman Kennke <kennke@aicas.com> | |
7017 | ||
7018 | * javax/swing/text/LabelView.java | |
7019 | (setPropertiesFromAttributes): Only set background when | |
7020 | the corresponding attribute is actually defined, otherwise | |
7021 | set to null, as the StyleConstants would return black. | |
7022 | * javax/swing/text/DefaultStyledDocument.java | |
7023 | (ElementBuffer.documentEvent): Removed obsolete field. | |
7024 | (ElementBuffer.change): Do prepareEdits() and finishEdits() | |
7025 | to correctly update the element structure. | |
7026 | (ElementBuffer.insertContentTag): Removed unused statement. | |
7027 | (ElementBuffer.recreateAfterFracture): Removed | |
7028 | unused obsolete method. | |
7029 | (setCharacterAttributes): Removed unused statement. | |
7030 | ||
7031 | 2006-08-25 Roman Kennke <kennke@aicas.com> | |
7032 | ||
7033 | * examples/gnu/classpath/examples/swing/Demo.java | |
7034 | (LaterMain.run): Removed unused local variable. | |
7035 | (Demo): Don't put desktop in scrollpane. | |
7036 | (addChildren): Removed unused method. | |
7037 | (mkButtonBar): Added HTML demo. | |
7038 | (mkMenuBar): Added HTML demo. | |
7039 | (mkPanel): Removed unused method. | |
7040 | (mkScrollPane): Removed unused method. | |
7041 | (mkTree): Removed unused method. | |
7042 | (valign2str): Removed unused method. | |
7043 | * examples/gnu/classpath/examples/swing/HtmlDemo.java: | |
7044 | Initialize text field with some HTML that already works. | |
7045 | (DEBUG): New field. Set to true for debugging output. | |
7046 | (createContent): Dump element tree after parsing. | |
7047 | ||
7048 | 2006-08-25 Roman Kennke <kennke@aicas.com> | |
7049 | ||
7050 | * javax/swing/text/html/CSS.java | |
7051 | (getValue): Added color value conversion. | |
7052 | * javax/swing/text/html/HTMLDocument.java | |
7053 | (HTMLReader.ConvertAction): New class, converts HTML style tags | |
7054 | to CSS attributes. | |
7055 | (HTMLReader.initTags): Register ConvertAction for <font> tag. | |
7056 | * javax/swing/text/html/InlineView.java | |
7057 | (setPropertiesFromAttributes): Implemented to fetch | |
7058 | CSS character attributes. | |
7059 | * javax/swing/text/html/StyleSheet.java | |
7060 | (addCSSAttribute): Convert value. | |
7061 | (getBackground): Implemented to fetch CSS background color | |
7062 | attribute. | |
7063 | (getForeground): Implemented to fetch CSS color | |
7064 | attribute. | |
7065 | (getFont): Adjust font size for superscript and subscript. | |
7066 | (translateHTMLToCSS): Rudimentary implementation that | |
7067 | copies the original attributes, so that any CSS attributes in | |
7068 | there are preserved. | |
7069 | (stringToColor): Use CSSColor for conversion. | |
7070 | * gnu/javax/swing/text/html/css/CSSColor.java: | |
7071 | New class. Converts CSS color values to RGB color values. | |
7072 | * gnu/javax/swing/text/html/CharacterAttributeTranslator.java: | |
7073 | Removed. This is more or less replaced by CSSColor and the | |
7074 | ConvertAction in HTMLReader. | |
7075 | ||
7076 | 2006-08-25 Roman Kennke <kennke@aicas.com> | |
7077 | ||
7078 | * javax/swing/text/BoxView.java | |
7079 | (childReqs): Removed obsolete field. | |
7080 | (baselineLayout): Reimplemented for correct baseline layout. | |
7081 | (baselineRequirements): Reimplemented for correct baseline | |
7082 | layout. | |
7083 | (updateChildRequirements): Removed obsolete method. | |
7084 | * javax/swing/text/GlyphView.java | |
7085 | (DefaultGlyphPainter.getSpan): Removed unused statement. | |
7086 | (DefaultGlyphPainter.paint): Dont paint subscript/superscript | |
7087 | specially. The subscript/superscript layout is performed | |
7088 | via the alignment, the font is supplied by the StyleContext. | |
7089 | (breakView): Removed unused statements. | |
7090 | (getAlignment): Adjust alignment according to the | |
7091 | superscript/subscript setting. | |
7092 | (getFont): Reimplemented to fetch the font from the style | |
7093 | context, or from the document if the stylecontext is not | |
7094 | available. | |
7095 | (getPreferredSpan): Adjust span for superscript. Use switch | |
7096 | instead of if-else. | |
7097 | * javax/swing/text/LabelView.java | |
7098 | (setPropertiesFromAttributes): Fetch background and foreground | |
7099 | from document / style context. | |
7100 | (isSubscript): Resync properties if needed. | |
7101 | * javax/swing/text/ParagraphView.java | |
7102 | (Row.calculateMinorAxisRequirements): Overridden to perform | |
7103 | a baseline layout. | |
7104 | (Row.layoutMinorAxis): Overridden to perform a baseline layout. | |
7105 | ||
7106 | 2006-08-24 Roman Kennke <kennke@aicas.com> | |
7107 | ||
7108 | * javax/swing/text/Utilities.java | |
7109 | (BUF_LENGTH): Removed unused field. | |
7110 | (drawTabbedText): Removed unneeded cast. | |
7111 | (getBreakLocation): Removed unneeded cast. | |
7112 | Fixed offset to account for Segments not starting at 0. | |
7113 | ||
7114 | 2006-08-24 Roman Kennke <kennke@aicas.com> | |
7115 | ||
7116 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
7117 | (TabbedPaneLayout.normalizeTabRuns): Removed unused statement. | |
7118 | (TabbedPaneScrollLayout.layoutContainer): Likewise. | |
7119 | (ScrollingPane.updateUI): Likewise. | |
7120 | (calculateTabWidth): Rewritten to correctly and efficiently | |
7121 | layout the tab width. | |
7122 | (layoutLabel): Call SwingUtilities method with the tabPane | |
7123 | as argument. | |
7124 | (paintContentBorderLeftEdge): Removed unused statement. | |
7125 | (paintContentBorderRightEdge): Removed unused statement. | |
7126 | (paintContentBorder): Removed unused statement. | |
7127 | ||
7128 | 2006-08-24 Roman Kennke <kennke@aicas.com> | |
7129 | ||
7130 | * javax/swing/plaf/basic/BasicTextUI.java | |
7131 | (RootView.getAttributes): Overridden to return null, | |
7132 | as the RootView has no parent. | |
7133 | ||
7134 | 2006-08-24 Roman Kennke <kennke@aicas.com> | |
7135 | ||
7136 | * javax/swing/text/html/CSSParser.java: Removed. | |
7137 | * javax/swing/text/html/CSS.java | |
7138 | (getValue): New helper method. Returns special converter | |
7139 | instances for certain kinds of property values. | |
7140 | * javax/swing/text/html/HTMLDocument.java | |
7141 | (HTMLReader.CharacterAction.start): Don't translate tags | |
7142 | here. Instead, store the attributes directly with the tag | |
7143 | as key. | |
7144 | (content): Removed field. The Content object is handled | |
7145 | by AbstractDocument. | |
7146 | (styleSheet): Removed field. The styleSheet is the styleContext | |
7147 | of this document and handled by the DefaultStyledDocument already. | |
7148 | (HTMLDocument(Content,StyleSheet): Simply call super here. | |
7149 | The super classes already handle the content and styleContext. | |
7150 | (HTMLDocument()): Call this() with a default GapContent and | |
7151 | StyleSheet. | |
7152 | (getStyleSheet): Return the styleContext here. | |
7153 | (insertUpdate): New method. Overridden to add the | |
7154 | CONTENT dummy tag to the element's attributes. | |
7155 | (setBase): Set the base on the styleContext. | |
7156 | * javax/swing/text/html/HTMLEditorKit.java | |
7157 | (styleContext): Removed unneeded field. | |
7158 | (styleSheet): Made field private. | |
7159 | (HTMLEditorKit): Do nothing here. The StyleSheet is | |
7160 | created lazily in getStyleSheet(). A styleContext is not | |
7161 | needed here. | |
7162 | (getStyleSheet): Create StyleSheet correctly. | |
7163 | (insertHTML): Removed unneeded cast. | |
7164 | * javax/swing/text/html/InlineView.java | |
7165 | (attributes): New field. | |
7166 | (changedUpdate): Reload attributes. Trigger preferenceChanged. | |
7167 | (getAttributes): Implemented to fetch the attributes from | |
7168 | the stylesheet. | |
7169 | * javax/swing/text/html/MultiAttributeSet.java: New class. | |
7170 | Multiplexes between several AttributeSets. | |
7171 | * javax/swing/text/html/MultiStyle.java: New class. | |
7172 | Multiplexes between several Styles. | |
7173 | * javax/swing/text/html/ParagraphView.java | |
7174 | (attributes): New field. | |
7175 | (getAttributes): Implemented to fetch the attributes from | |
7176 | the stylesheet. | |
7177 | * javax/swing/text/html/StyleSheet.java | |
7178 | (CssParser): Removed inner class. | |
7179 | (CSSStyle): New inner class. Represents a style defined | |
7180 | by a CSS rule. | |
7181 | (CSSStyleSheetParserCallback): New class, for parsing | |
7182 | CSS stylesheets. | |
7183 | (css): New field. Stores the CSS rules. | |
7184 | (resolvedStyles): New field. Stores resolved styles. | |
7185 | (StyleSheet): Initialize resolvedStyles map. | |
7186 | (addRule): Removed bogus impl. | |
7187 | (getFont): Implemented to fetch font, based on CSS rules. | |
7188 | (getResolvedStyle): New helper method. Looks up resolved | |
7189 | styles, and resolves a style if necessary. | |
7190 | (resolveStyle): New pair of helper methods. Resolves | |
7191 | CSS style rules. | |
7192 | (getRule(String)): Provide rudimentary implementation. | |
7193 | (getRule(Tag,Element)): Implemented. | |
7194 | (getViewAttributes): Implemented. | |
7195 | (loadRules): Implemented. | |
7196 | (translateHTMLToCSS): Tagged as not implemented. | |
7197 | * javax/swing/text/html/ViewAttributeSet.java: New class. | |
7198 | ||
7199 | 2006-08-24 Roman Kennke <kennke@aicas.com> | |
7200 | ||
7201 | * javax/swing/text/FlowView.java: | |
7202 | (LogicalView.getAttributes): New method. Overrides super | |
7203 | impl to return the attributes of the FlowView instance. | |
7204 | * javax/swing/text/LabelView.java: | |
7205 | (setPropertiesFromAttributes): Fetch attributes from | |
7206 | View, rather then from the Element. (In the HTML | |
7207 | package the getAttributes() method is overridden to | |
7208 | return different attributes). Fetch font from the StyledDocument. | |
7209 | ||
7210 | 2006-08-24 Roman Kennke <kennke@aicas.com> | |
7211 | ||
7212 | * javax/swing/text/DefaultEditorKit.java: | |
7213 | (DefaultKeyTypedAction.actionPerform): Also filter | |
7214 | ALT and CTRL modifiers. | |
7215 | ||
7216 | 2006-08-24 Roman Kennke <kennke@aicas.com> | |
7217 | ||
7218 | * gnu/javax/swing/text/html/css/FontSize.java, | |
7219 | * gnu/javax/swing/text/html/css/FontStyle.java, | |
7220 | * gnu/javax/swing/text/html/css/FontWeight.java: | |
7221 | New classes. Used to convert CSS font attributes to AWT/Swing | |
7222 | Font constants. | |
7223 | ||
7224 | 2006-08-24 Francis Kung <fkung@redhat.com> | |
7225 | * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions. | |
7226 | * java/awt/image/ColorConvertOp.java: Updated javadocs. | |
7227 | (srccs, dstcs, rasterValid): Variables removed. | |
7228 | (ColorConvertOp(RenderingHints)): Initialize spaces to empty array. | |
7229 | (copyRaster): Check for null rendering hints | |
7230 | (createCompatibleColorModel): New private method. | |
7231 | (createCompatibleDestImage): Re-implemented. | |
7232 | (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method. | |
7233 | (createCompatibleDestRaster(Raster)): Re-implemented. | |
7234 | (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation. | |
7235 | (filter(Raster, WritableRaster)): Add checks; fix temp raster creation. | |
7236 | (getPoint2D): Clean up formatting. | |
7237 | * java/awt/image/ComponentColorModel.java | |
7238 | (constructor): use findBits method instead of passing null. | |
7239 | (findBits): New method. | |
7240 | ||
7241 | 2006-08-24 Gary Benson <gbenson@redhat.com> | |
7242 | ||
7243 | * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6 | |
7244 | addresses. | |
7245 | ||
7246 | 2006-08-24 Jeroen Frijters <jeroen@frijters.net> | |
7247 | ||
7248 | * java/lang/ref/Reference.java | |
7249 | (queue, nextOnQueue): Made volatile. | |
7250 | (enqueue): Made thread safe. | |
7251 | * java/lang/ref/ReferenceQueue.java | |
7252 | (lock): New field. | |
7253 | (poll): Removed synchronized. | |
7254 | (enqueue): Changed to synchronize on lock object, to update Reference | |
7255 | state and return success status. | |
7256 | (dequeue, remove): Synchronize on lock object. | |
7257 | ||
7258 | 2006-08-24 Jeroen Frijters <jeroen@frijters.net> | |
7259 | ||
7260 | * java/security/SecureClassLoader.java | |
7261 | (protectionDomainCache): Changed to HashMap. | |
7262 | (SecureClassLoader): Removed redundant security check. | |
7263 | (defineClass(String,byte[],int,int,CodeSource): Moved | |
7264 | protection domain lookup/construction to new method. | |
7265 | (defineClass(String,ByteBuffer,CodeSource): New method. | |
7266 | (getProtectionDomain): New method. | |
7267 | ||
7268 | 2006-08-23 Roman Kennke <kennke@aicas.com> | |
7269 | ||
7270 | * javax/swing/JComponent.java | |
7271 | (isRepainting): Made package private. | |
7272 | (paintChild): New field. | |
7273 | (findOpaqueParent): Removed method. This is now in | |
7274 | paintImmediately(). | |
7275 | (findOverlapFreeParent): Removed method. This is now | |
7276 | in paintImmediately2(). | |
7277 | (findPaintRoot): Removed method. This is now | |
7278 | in paintImmediately2(). | |
7279 | (isCompletelyObscured): Changed to take rectangle as single | |
7280 | ints as argument. | |
7281 | (isPaintingDoubleBuffered): Removed method. This is now | |
7282 | in paintImmediately2(). | |
7283 | (isPartiallyObscured): New helper method. | |
7284 | (onTop): New helper method for optimization. | |
7285 | (paintChildren): Paint only to specific child when | |
7286 | requested like this from paintImmediately2(). | |
7287 | (paintDoubleBuffered): Changed to take rectangle as single int | |
7288 | arguments. | |
7289 | (paintImmediately2): Changed to take rectangle as single int | |
7290 | arguments. Optimized determination of paint root. | |
7291 | (paintImmediately(Rectangle)): Change to delegate to | |
7292 | paintImmediately(int,int,int,int). | |
7293 | (paintImmediately(int,int,int,int)): Look for opaque ancestor | |
7294 | and start painting there. | |
7295 | (paint): Call paintDoubleBuffered() with int arguments. Only | |
7296 | paint component, when not completely occupied by opaque child. | |
7297 | (processKeyBinding): Removed unnecessary cast. | |
7298 | (isOccupiedByChild): New helper method. | |
7299 | * javax/swing/RepaintManager.java | |
7300 | (repaintUnderway): Removed obsolete field. | |
7301 | (commitRequests): Removed obsolete field. | |
7302 | (RepaintManager): Removed initialization of obsolete fields. | |
7303 | (addDirtyRegion): Removed unused statement. | |
7304 | (commitBuffer): Changed to take plain ints as argument. | |
7305 | (compileRepaintRoots): Optimized to avoid use of Rectangle. | |
7306 | Compute offsets in place, rather than using SwingUtilities. | |
7307 | (paintDirtyRegions): Removed unused field. | |
7308 | * javax/swing/JMenuItem.java | |
7309 | (onTop): Return true when not descendant of JInternalFrame. | |
7310 | * javax/swing/JPopupMenu.java | |
7311 | (onTop): Return true. | |
7312 | * javax/swing/JToolTip.java | |
7313 | (onTop): Return true. | |
7314 | * javax/swing/JViewport.java | |
7315 | (paintImmediately2): Change signature to match the | |
7316 | corresponding JComponent method. | |
7317 | ||
7318 | 2006-08-23 Tania Bento <tbento@redhat.com> | |
7319 | ||
7320 | * java/awt/Color.java | |
7321 | (brighter): Modified algorithm to correctly determine the | |
7322 | new brighter colour. | |
7323 | ||
7324 | 2006-08-23 Roman Kennke <kennke@aicas.com> | |
7325 | ||
7326 | * java/awt/Container.java | |
7327 | (maxSize): Removed field. This is already declared in Component. | |
7328 | (validateTree): Check for ContainerPeer. Don't addNotify here. | |
7329 | Only validate Component instances if they are invalid. | |
7330 | ||
7331 | 2006-08-22 Roman Kennke <kennke@aicas.com> | |
7332 | ||
7333 | * javax/swing/JComponent.java | |
7334 | (preferredSize): Removed field. | |
7335 | (maximumSize): Removed field. | |
7336 | (minimumSize): Removed field. | |
7337 | (getMaximumSize): Adjusted to delegate to Component, rather | |
7338 | then managing the size in JComponent. | |
7339 | (getMinimumSize): Adjusted to delegate to Component, rather | |
7340 | then managing the size in JComponent. | |
7341 | (getPreferredSize): Adjusted to delegate to Component, rather | |
7342 | then managing the size in JComponent. | |
7343 | (isMaximumSizeSet): Removed. | |
7344 | (isMinimumSizeSet): Removed. | |
7345 | (isPreferredSizeSet): Removed. | |
7346 | (setMaximumSize): Removed. | |
7347 | (setMinimumSize): Removed | |
7348 | (setPreferredSize): Removed. | |
7349 | ||
7350 | 2006-08-22 Roman Kennke <kennke@aicas.com> | |
7351 | ||
7352 | * javax/swing/AbstractButton.java | |
7353 | (ButtonChangeListener.stateChanged): Delegate to combined | |
7354 | handler. | |
7355 | (EventHandler): New inner class. Handles all three types | |
7356 | of events on the model. | |
7357 | (eventHandler): New field. Stores the combined event | |
7358 | handler. | |
7359 | (AbstractButton): Moved listener initialization to | |
7360 | setModel(). | |
7361 | (createActionListener): Return combined handler. | |
7362 | (createChangeListener): Return combined handler. | |
7363 | (createItemListener): Return combined handler. | |
7364 | (getEventHandler): New helper method for creating the combined | |
7365 | handler. | |
7366 | (setModel): Initialize listeners here. | |
7367 | * javax/swing/plaf/basic/BasicButtonListener.java | |
7368 | (ButtonAction): New class. Implements the keyboard action | |
7369 | for buttons. | |
7370 | (checkOpacity): Implemented. | |
7371 | (createDefaultActionMap): New helper method. | |
7372 | (installKeyboardActions): Rewritten to install InputMap | |
7373 | and ActionMap according to 'new' keyboard input method. | |
7374 | (mouseClicked): Commented as no-op. | |
7375 | (mouseDragged): Commented as no-op. | |
7376 | (mouseMoved): Commented as no-op. | |
7377 | (propertyChange): Check for contentAreaFilled change and | |
7378 | update opacity. Pull handling of HTLM in font and text handler. | |
7379 | (stateChanged): Repaint button. | |
7380 | (uninstallKeyboardActions): Properly uninstall keyboard actions. | |
7381 | * javax/swing/plaf/basic/BasicButtonUI.java | |
7382 | (listener): Removed. | |
7383 | (sharedListener): New static field. Stores the shared listener. | |
7384 | (sharedUI): New static field. Stores the shared UI. | |
7385 | (createButtonListener): Return shared instance here. | |
7386 | (createUI): Return shared instance here. | |
7387 | (getButtonListener): New helper method. Looks for the | |
7388 | BasicButtonListener installed on a button and returns it. | |
7389 | (installDefaults): Correctly install rollover property here. | |
7390 | Fetch defaultTextShiftOffset. Initialize opaqueness correctly. | |
7391 | (installKeyboardActions): Fetch listener with new helper method. | |
7392 | (installListeners): Don't use removed field. Check for null. | |
7393 | (installUI): Added comment about order of method invocations. | |
7394 | (uninstallDefaults): Don't uninstall non-uninstallable properties. | |
7395 | (uninstallKeyboardActions): Fetch listener with new helper method. | |
7396 | (uninstallListeners): Fetch listener with new helper method. | |
7397 | (paintIcon): Paint icon offset when pressed and armed. | |
7398 | * javax/swing/plaf/metal/MetalButtonListener.java: Removed. | |
7399 | * javax/swing/plaf/metal/MetalButtonUI.java | |
7400 | (sharedUI): New field. Stores the shared UI. | |
7401 | (MetalButtonUI): Don't initialize fields here. | |
7402 | (createButtonListener): Removed method. Use super impl. | |
7403 | (createUI): Return shared instance. | |
7404 | (getDisabledTextColor): Update field here. | |
7405 | (getFocusColor): Update field here. | |
7406 | (getSelectColor): Update field here. | |
7407 | (installDefaults): Don't handle rollover property here. | |
7408 | (uninstallDefaults): Don't handle rollover property here. | |
7409 | (paintButtonPressed): Use accessor method to update the | |
7410 | field value. | |
7411 | ||
7412 | 2006-08-21 Mark Wielaard <mark@klomp.org> | |
7413 | ||
7414 | Merge NATIVE_LAYER branch. | |
7415 | ||
7416 | 2006-08-20 Mark Wielaard <mark@klomp.org> | |
7417 | ||
7418 | * doc/tools.texinfo: Add file from trunk. | |
7419 | * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib. | |
7420 | * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink | |
7421 | headers. | |
7422 | * native/jni/java-lang/java_lang_VMProcess.c | |
7423 | (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument. | |
7424 | * native/jni/java-net/java_net_VMInetAddress.c | |
7425 | (Java_java_net_VMInetAddress_getHostByName): Remove unused variable. | |
7426 | * native/jni/native-lib/Makefile.am: Remove empty and nonexisting | |
7427 | files. | |
7428 | * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct | |
7429 | mask. | |
7430 | * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused | |
7431 | theaddr. | |
7432 | * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from | |
7433 | cpnet.h. | |
7434 | * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare, | |
7435 | don't implement. | |
7436 | * vm/reference/java/lang/VMProcess.java: Removed unused redirect | |
7437 | argument. | |
7438 | * include/java_lang_VMProcess.h: Regenerated. | |
7439 | ||
7440 | 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org> | |
7441 | ||
7442 | * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c | |
7443 | (nativeReceive): Fixed the type of the arrays (use java types). | |
7444 | (nativeSendTo): Force throwing an exception if port is 0. | |
7445 | ||
7446 | * native/jni/java-net/javanet.c: | |
7447 | (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is | |
7448 | returned. | |
7449 | (_javanet_recvfrom): Likewise. | |
7450 | (_javanet_sendto): Throw a NullPointerException if the socket is | |
7451 | not connected and no address is given. | |
7452 | ||
7453 | * native/jni/java-net/javanet.h | |
7454 | (NULL_EXCEPTION): Defined. | |
7455 | ||
7456 | 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org> | |
7457 | ||
7458 | * native/jni/java-net/java_net_VMInetAddress.c | |
7459 | (Java_java_net_VMInetAddress_getHostByName): Fix detection of | |
7460 | error. | |
7461 | ||
7462 | * native/jni/java-net/javanet.c | |
7463 | (_javanet_accept): Fixed bogus call to TARGET. | |
7464 | (_javanet_create_inetaddress): Fixed address generation. Fixed | |
7465 | bogus memory free. | |
7466 | (_javanet_bind): set "Reuse address" flag. | |
7467 | ||
7468 | * native/jni/native-lib/cpio.c | |
7469 | (cpio_getModificationTime): Fixed type. | |
7470 | (cpio_removeFile): Use rmdir too. | |
7471 | ||
7472 | * native/jni/native-lib/cpnet.c | |
7473 | (cpnet_getHostByName): Fixed error detection. | |
7474 | ||
7475 | * native/jni/native-lib/cpnet.h | |
7476 | (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the | |
7477 | memory. | |
7478 | (cpnet_IPV4AddressToBytes): Fixed types. | |
7479 | ||
7480 | 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org> | |
7481 | ||
7482 | * native/jni/native-lib/cpio.c | |
7483 | (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented. | |
7484 | ||
7485 | * native/jni/native-lib/cpnet.h: | |
7486 | (cpnet_bytesToIPV4Address): Fixed type casting to avoid being | |
7487 | messed by signs in jbyte. | |
7488 | ||
7489 | * native/jni/native-lib/cpproc.h | |
7490 | (CPIO_EXEC_NUM_PIPES): Compilation fix. | |
7491 | ||
7492 | 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org> | |
7493 | ||
7494 | * native/jni/native-lib/cpnet.c | |
7495 | (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented. | |
7496 | (waitForWritable, waitForReadable): New functions. | |
7497 | (socketTimeouts): New static global table to hold timeouts for all | |
7498 | socket fds. | |
7499 | (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom): | |
7500 | Added waitForXXXX safeguards to handle socket timeouts. | |
7501 | ||
7502 | * native/jni/java-net/javanet.c | |
7503 | (_javanet_accept): Check for the right error value when a timeout | |
7504 | occurs. | |
7505 | ||
7506 | 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org> | |
7507 | ||
7508 | * native/jni/java-io/Makefile.am, | |
7509 | native/jni/java-lang/Makefile.am, | |
7510 | native/jni/java-net/Makefile.am, | |
7511 | native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now. | |
7512 | ||
7513 | * native/jni/native-lib/Makefile.am: Added cpproc.c | |
7514 | ||
7515 | * native/jni/native-lib/cpio.c: Implemented missing functions for | |
7516 | CPIO. | |
7517 | ||
7518 | * native/jni/native-lib/cpnet.c | |
7519 | (cpnet_getHostByName): Fixed address array initialization. | |
7520 | ||
7521 | * native/jni/native-lib/cpproc.c: Implemented. | |
7522 | ||
7523 | 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org> | |
7524 | ||
7525 | * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED. | |
7526 | ||
7527 | * m4/gcc_attribute.m4: New file from ac_archive. | |
7528 | ||
7529 | * native/jni/java-net/javanet.c: Adapted to cpnet API | |
7530 | modification. | |
7531 | ||
7532 | * native/jni/native-lib/cpnet.c: Implemented. | |
7533 | ||
7534 | * native/jni/native-lib/cpnet.h | |
7535 | (cpnet_openSocketDatagram, | |
7536 | cpnet_openSocketStream): These calls need an address family now. | |
7537 | (cpnet_IPV4AddressToBytes, | |
7538 | cpnet_bytesToIPV4Address): Convert the address to network order. | |
7539 | ||
7540 | 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org> | |
7541 | ||
7542 | * native/jni/java-io/java_io_VMFile.c, | |
7543 | native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c, | |
7544 | native/jni/midi-dssi/dssi_data.h, | |
7545 | native/jni/native-lib/cpio.c, | |
7546 | native/jni/native-lib/cpmath.h: Removed cpmath | |
7547 | dependency. Fixed coding style. | |
7548 | ||
7549 | 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org> | |
7550 | ||
7551 | * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET | |
7552 | dependency. Simplified the JNI code by moving some part into the | |
7553 | native layer. | |
7554 | ||
7555 | * native/jni/native-lib/cpproc.h: New interface to handle processes. | |
7556 | ||
7557 | 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org> | |
7558 | ||
7559 | * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation | |
7560 | errors. Removed any remaining TARGET invocations. | |
7561 | ||
7562 | * native/jni/java-net/javanet.c | |
7563 | (_javanet_create_inetaddress): Removed spurious arr and | |
7564 | octets. Fixed compilation errors. | |
7565 | ||
7566 | * native/jni/native-lib/cpnet.h | |
7567 | (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr, | |
7568 | cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address, | |
7569 | cpnet_isIPV4Address): New functions. | |
7570 | (cpnet_bytesToIPV4Address): Fixed interface to be consistent with | |
7571 | the rest. | |
7572 | ||
7573 | 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org> | |
7574 | ||
7575 | * native/jni/java-io/java_io_VMFile.c, | |
7576 | native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c, | |
7577 | native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c, | |
7578 | native/jni/java-net/javanet.c, | |
7579 | native/jni/java-net/javanet.h: Adapted the VM layer code | |
7580 | to the new native layer. | |
7581 | ||
7582 | * native/jni/native-lib/cpnet.h | |
7583 | (cpnet_addMembership, | |
7584 | cpnet_dropMembership, | |
7585 | cpnet_getAvailableBytes): Added the declarations of | |
7586 | some new functions. | |
7587 | (cpnet_newIPV6Address, | |
7588 | cpnet_IPV6AddressToBytes, | |
7589 | cpnet_bytesToIPV6Address): Implemented. | |
7590 | (cpnet_newIPV4Address): Initialize the sin_family field. | |
7591 | ||
7592 | 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org> | |
7593 | ||
7594 | * native/target: Removed. | |
7595 | ||
7596 | * configure.ac: Removed target from CLASSPATH_INCLUDES and | |
7597 | Makefile generation. | |
7598 | ||
7599 | * native/jni/native-lib/Makefile.am, | |
7600 | native/jni/native-lib/cpnet.h, | |
7601 | native/jni/native-lib/cpnet.c | |
7602 | native/jni/native-lib/cpio.h, | |
7603 | native/jni/native-lib/cpio.c, | |
7604 | native/jni/native-lib/cpmath.h: Imported new native compatibility | |
7605 | layer. | |
7606 | ||
7607 | 2006-08-21 Roman Kennke <kennke@aicas.com> | |
7608 | ||
7609 | * gnu/javax/swing/text/html/css/CSSParser.java: | |
7610 | New class. | |
7611 | * gnu/javax/swing/text/html/css/CSSParserCallback.java: | |
7612 | New interface. | |
7613 | * gnu/javax/swing/text/html/css/CSSParserException.java: | |
7614 | New exception. | |
7615 | * gnu/javax/swing/text/html/css/CSSScanner.java: | |
7616 | Adjusted API comments. Made all constants package private. | |
7617 | (EOF): New constant field. | |
7618 | (parseBuffer): Made package private. | |
7619 | (tokenEnd): Made package private. | |
7620 | (CSSScanner): Initialize lookahead buffer with -1. | |
7621 | (main): Print out to System.out rather then System.err. | |
7622 | (nextToken): Push back character after IDENT. | |
7623 | ||
7624 | 2006-08-21 Jeroen Frijters <jeroen@frijters.net> | |
7625 | ||
7626 | * java/io/File.java (normalizePath): Fixed handling of "//" and "\\". | |
7627 | ||
7628 | 2006-08-21 Roman Kennke <kennke@aicas.com> | |
7629 | ||
7630 | * gnu/javax/swing/text/html/css/CSSScanner.java | |
7631 | (main): Use buffered input stream. | |
7632 | (nextToken): Removed 65536 workaround. Use int value directly | |
7633 | without cast to char. | |
7634 | (readComment): Use int value directly without cast to char. | |
7635 | Cast to char only when putting the character into the buffer. | |
7636 | (readEscape): Likewise. | |
7637 | (readIdent): Likewise. | |
7638 | (readName): Likewise. | |
7639 | (readNum): Likewise. | |
7640 | (readString): Likewise. | |
7641 | (readWhitespace): Likewise. | |
7642 | ||
7643 | 2006-08-21 Ingo Proetel <proetel@aicas.com> | |
7644 | ||
7645 | * java/io/InputStreamReader.java | |
7646 | (bytesCache): New field. | |
7647 | (cacheLock): New field. | |
7648 | (read(byte[],int,int): Avoid allocations of new byte | |
7649 | array on every call and reuse cached byte array if possible. | |
7650 | ||
7651 | 2006-08-21 Roman Kennke <kennke@aicas.com> | |
7652 | ||
7653 | * gnu/java/net/local/LocalSocketImpl.java | |
7654 | Only load native lib if this is supported by runtime. | |
7655 | * native/jni/java-net/local.c | |
7656 | Include config.h unconditionally. | |
7657 | * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c | |
7658 | Include config.h unconditionally. | |
7659 | ||
7660 | 2006-08-21 Friedjof Siebert <siebert@aicas.com> | |
7661 | ||
7662 | * java/io/ObjectInputStream.java | |
7663 | (objectLookupTable): Changed to be a Vector. | |
7664 | (ObjectInputStream): Initialize objectLookupTable as Vector. | |
7665 | (assignNewHandle): Store Object using handle index rather than | |
7666 | Hashtable, using the new rememberHandle() method. | |
7667 | (hierarchy): New method. This replaces inputGetObjectStreamClasses() | |
7668 | with a caching in ObjectStreamClass. | |
7669 | (inputGetObjectStreamClass): Replaced by hierarchy(). | |
7670 | (lookupHandle): New method. Looks up an object by it's handle | |
7671 | index. | |
7672 | (parseContent): Avoid creating of Integer objects. Use | |
7673 | hierarchy() method for looking up the class hierarchy. | |
7674 | (processResolution): Use rememberHandle() to store | |
7675 | handle per index, rather than Hashtabling the object. | |
7676 | (readFields): | |
7677 | (rememberHandle): New method. | |
7678 | * java/io/ObjectOutputStream.java | |
7679 | (OIDLookupTable): Use ObjectIdentityMap2Int instead of | |
7680 | Hashtable for improved lookup performance. | |
7681 | (ObjectOutputStream): Initialize OIDLookupTable as | |
7682 | ObjectIdentityMap2Int. | |
7683 | (assignNewHandle): Change to use ObjectIdentityMap2Int. | |
7684 | (findHandle): Change to use ObjectIdentityMap2Int. | |
7685 | (getBooleanField): Removed. | |
7686 | (getByteField): Removed. | |
7687 | (getCharField): Removed. | |
7688 | (getDoubleField): Removed. | |
7689 | (getField): Removed. | |
7690 | (getFloatField): Removed. | |
7691 | (getIntField): Removed. | |
7692 | (getLongField): Removed. | |
7693 | (getObjectField): Removed. | |
7694 | (writeFields(Object,ObjectStreamClass)): Use new helper method. | |
7695 | (writeFields(Object,ObjectStreamField)): New helper method. | |
7696 | Use switch rather then if-else cascade. | |
7697 | (writeObject): Use int handle, rather then Integer. | |
7698 | * java/io/ObjectStreamClass.java | |
7699 | (hierarchy): New field. Caches the class hierarchy. | |
7700 | (methodCache): New field. Caches methods. | |
7701 | (readObjectSignature): New field. Stores the read signature. | |
7702 | (uidCache): New field. Caches UIDs. | |
7703 | (writeObjectSignature): New field. Stores the write signature. | |
7704 | (cacheMethods): Cache methods in methodCache. | |
7705 | (calculateClassID): Outsourced from getClassUID() | |
7706 | for computing the UIDs. | |
7707 | (getClassUIDFromField): Outsourced from getClassUID() for | |
7708 | fetching the UID from the class field. | |
7709 | (getClassUID): Use cached uid if possible. Use new helper | |
7710 | methods for fetching the UID from the field or computing | |
7711 | from scratch. | |
7712 | (getObjectStreamClasses): Removed. Replaced by more | |
7713 | efficient hierarchy() method, that also caches the result. | |
7714 | (hierarchy): Replaces getObjectStreamClasses() for caching | |
7715 | the result. | |
7716 | (loadedByBootOrApplicationClassLoader): New helper method. | |
7717 | (setClass): Invalidate hierarchy cache. | |
7718 | (setSuperclass): Invalidate hierarchy cache. | |
7719 | * java/io/ObjectStreamField.java | |
7720 | (field): Made field package private for access from other | |
7721 | classes. | |
7722 | * gnu/java/io/ObjectIdentityWrapper.java: Removed. | |
7723 | * gnu/java/io/ObjectIdentityMap2Int.java: Efficient | |
7724 | hashtable for mapping objects to ints. | |
7725 | ||
7726 | 2006-08-21 Roman Kennke <kennke@aicas.com> | |
7727 | ||
7728 | * java/io/File.java | |
7729 | (getAbsolutePath): Fetch absolute path from | |
7730 | VMFile.getAbsolutePath(). Moved actual impl to there. | |
7731 | (isAbsolute): Let VMFile determine the absoluteness. | |
7732 | (toURL): Let VMFile convert the filename. | |
7733 | * vm/reference/java/io/VMFile.java | |
7734 | (getAbsolutePath): New method. | |
7735 | (isAbsolute): New method. | |
7736 | (toURL): New method. | |
7737 | ||
7738 | 2006-08-21 Jeroen Frijters <jeroen@frijters.net> | |
7739 | ||
7740 | * NEWS: Added note about updated VM interface. | |
7741 | ||
7742 | 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
7743 | ||
7744 | * java/lang/management/ManagementFactory.java: | |
7745 | Updated documentation. | |
7746 | ||
7747 | 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
7748 | ||
7749 | Fixes bug #28412 | |
7750 | * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd): | |
7751 | New methods. | |
7752 | * gnu/java/util/regex/CharIndexedCharSequence.java, | |
7753 | gnu/java/util/regex/CharIndexedInputStream.java: Implemented the | |
7754 | new methods above. | |
7755 | * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag, | |
7756 | (match): call the new method setHitEnd of the input, | |
7757 | (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION, | |
7758 | Some optimization commented out, Use CharIndexed#move1 instead of move. | |
7759 | * gnu/java/util/regex/REMatch.java: Made some debugging methods public. | |
7760 | * gnu/java/util/regex/REToken.java(match): The method body has been | |
7761 | moved to an internal private method, (matchFake): New method, | |
7762 | (setHitEnd): New method. | |
7763 | * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd | |
7764 | if the match is not complete, (matchOneString): Count the number of | |
7765 | characters which matched the pattern. | |
7766 | * gnu/java/util/regex/RETokenEnd.java(fake): New field, | |
7767 | (setFake): New method, (match): Call super.match or super.matchFake. | |
7768 | * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method. | |
7769 | * gnu/java/util/regex/RETokenOneOf.java(match): call the new method | |
7770 | setHitEnd of the input, | |
7771 | * gnu/java/util/regex/RETokenRepeated.java(match): Likewise. | |
7772 | * java/util/regex/Matcher.java(lookingAt, match): Use the new flag | |
7773 | RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods. | |
7774 | ||
7775 | 2006-08-18 Tom Tromey <tromey@redhat.com> | |
7776 | ||
7777 | * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push | |
7778 | the 'int', not the cast char. | |
7779 | ||
7780 | 2006-08-18 Roger Sayle <roger@eyesopen.com> | |
7781 | ||
7782 | * scripts/check_jni_methods.sh: Don't use the "set -C" command | |
7783 | which isn't available in all shells. | |
7784 | ||
7785 | 2006-08-18 Roger Sayle <roger@eyesopen.com> | |
7786 | ||
7787 | * lib/Makefile.am (resources): Fix some shell portability issues. | |
7788 | ||
7789 | 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com> | |
7790 | ||
7791 | * configure.ac (tool-wrappers): Check for ltdl support when tool | |
7792 | wrapper binaries are enabled. | |
7793 | * tools/Makefile.am (LIBJVM): Remove variable. | |
7794 | (AM_CPPFLAGS): Add LIBJVM define. | |
7795 | (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS, | |
7796 | gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS, | |
7797 | gjavah_LDFLAGS): Remove variables. | |
7798 | * tools/toolwrapper.c (main): Use dlopen to load libjvm library. | |
7799 | ||
7800 | 2006-08-18 Tom Tromey <tromey@redhat.com> | |
7801 | ||
7802 | * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed | |
7803 | debugging prints. | |
7804 | * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging | |
7805 | print. | |
7806 | (readEntries): Likewise. | |
7807 | ||
7808 | 2006-08-17 Roman Kennke <kennke@aicas.com> | |
7809 | ||
7810 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
7811 | (layoutLabel): Reset the text and icon rectangles. | |
7812 | ||
7813 | 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com> | |
7814 | ||
7815 | PR classpath/28537 | |
7816 | * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): | |
7817 | Transform gappletviewer name using program_transform_name. | |
7818 | ||
7819 | 2006-08-17 Jeroen Frijters <jeroen@frijters.net> | |
7820 | ||
7821 | * javax/swing/filechooser/FileSystemView.java | |
7822 | (getFileSystemView): Always return UnixFileSystemView, since | |
7823 | that's the only one we got. Marked with NotImplementedException. | |
7824 | * javax/swing/plaf/basic/BasicFileChooserUI.java | |
7825 | (mouseClicked, installUI): Don't parse path by hand. | |
7826 | ||
7827 | 2006-08-17 Roman Kennke <kennke@aicas.com> | |
7828 | ||
7829 | * javax/swing/JComponent.java | |
7830 | (scrollRectToVisible): Handle intermediate non-JComponents | |
7831 | more gracefully. | |
7832 | ||
7833 | 2006-08-17 Roman Kennke <kennke@aicas.com> | |
7834 | ||
7835 | * javax/swing/RepaintManager.java | |
7836 | (blitBuffer): Removed. This is now done in commitBuffer(). | |
7837 | (commitBuffer): Always paint on the root window or applet. | |
7838 | No need to look for intermediate heavyweights. Optimized | |
7839 | rectangle translation. | |
7840 | (commitRemainingBuffers): Removed. Not needed anymore. | |
7841 | (getHeavyweightParent): Removed. Not needed anymore. | |
7842 | (getOffscreenBuffer): Fetch offscreen image from the | |
7843 | actual root component. | |
7844 | (paintDirtyRegions): Don't call commitRemainingBuffers(). | |
7845 | ||
7846 | 2006-08-17 Roman Kennke <kennke@aicas.com> | |
7847 | ||
7848 | * javax/swing/SwingUtilities.java | |
7849 | (clipString): New helper method for trimming strings. | |
7850 | (layoutCompoundLabelImpl): Fixed algorithm to conform | |
7851 | testsuites. Trim text if it's too long. Avoid creating | |
7852 | new Rectangles. Optimized for performance. | |
7853 | (layoutCompoundLabel): Use switch rather then if-else-chain. | |
7854 | * javax/swing/plaf/basic/BasicButtonUI.java | |
7855 | (viewR): New field. | |
7856 | (iconR): New field. | |
7857 | (textR): New field. | |
7858 | (paint): Reset and use cached rectangles. Only call paintIcon() | |
7859 | if icon is not null. Don't call paintButtonPressed() when | |
7860 | button is selected, only when it is both armed and pressed. | |
7861 | * javax/swing/plaf/basic/BasicGraphicsUtils.java | |
7862 | (getPreferredButtonSize): Reused cached rectangles rather | |
7863 | then creating new ones. Don't create new Rectangle via | |
7864 | Rectangle.union(). | |
7865 | * javax/swing/plaf/basic/BasicLabelUI.java | |
7866 | (getPreferredSize): Correctly reset cached rectangles. Especially | |
7867 | the view rect must have a big size to give it room for layouting. | |
7868 | Short cut layout when text == null. | |
7869 | (paint): Correctly reset cached rectangles. | |
7870 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
7871 | (resetRectangles): New helper method. | |
7872 | (getPreferredMenuItemSize): Correctly reset the cached rectangles. | |
7873 | (paintMenuItem): Correctly reset the cached rectangles. | |
7874 | * javax/swing/plaf/basic/BasicRadioButtonUI.java | |
7875 | (getPreferredSize): Use cached Rectangle objects and initialize | |
7876 | them correctly. | |
7877 | (paint): Use cached Rectangle objects and initialize | |
7878 | them correctly. | |
7879 | ||
7880 | 2006-08-17 David Gilbert <david.gilbert@object-refinery.com> | |
7881 | ||
7882 | * java/util/Calendar.java: API doc additions. | |
7883 | ||
7884 | 2006-08-17 Robert Schuster <robertschuster@fsfe.org> | |
7885 | ||
7886 | * javax/swing/DefaultButtonModel.java: | |
7887 | (setRollover): Simplified statement. | |
7888 | ||
7889 | 2006-08-17 Jeroen Frijters <jeroen@frijters.net> | |
7890 | ||
7891 | * gnu/java/rmi/server/RMIClassLoaderImpl.java | |
7892 | (loadClass): Rewritten to use getClassLoader. | |
7893 | (loadProxyClass): Implemented. | |
7894 | (getClassLoader): Fixed support for null or empty codebase. | |
7895 | * gnu/java/rmi/server/RMIObjectInputStream.java | |
7896 | (resolveClass): Use user class loader as default class loader. | |
7897 | (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass. | |
7898 | * gnu/javax/rmi/CORBA/UtilDelegateImpl.java | |
7899 | (loadClass): Simplified and use user class loader instead of | |
7900 | context class loader as default. | |
7901 | * java/io/ObjectInputStream.java | |
7902 | (currentLoader): Use VMStackWalker.firstNonNullClassLoader(). | |
7903 | * vm/reference/gnu/classpath/VMStackWalker.java | |
7904 | (firstNonNullClassLoader): New method. | |
7905 | * vm/reference/java/io/VMObjectInputStream.java | |
7906 | (loaderAction, currentClassLoader): Removed. | |
7907 | ||
7908 | 2006-08-17 Robert Schuster <robertschuster@fsfe.org> | |
7909 | ||
7910 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
7911 | (getTabBounds(JTabbedPane, int)): Added code to shift rectangle | |
7912 | by current scroll offset, added method documention. | |
7913 | (getTabBounds(int, Rectangle)): Added method documentation. | |
7914 | * javax/swing/plaf/metal/MetalTabbedPaneUI.java: | |
7915 | (paintContentBorderLeftEdge): Changed y to 1. | |
7916 | ||
7917 | 2006-08-17 Robert Schuster <robertschuster@fsfe.org> | |
7918 | ||
7919 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
7920 | (MouseHandler.mouseReleased): Implemented. | |
7921 | (MouseHandler.mousePressed): Added delegation to tabbed pane. | |
7922 | (MouseHandler.mouseEntered): Dito. | |
7923 | (MouseHandler.mouseExited): Dito. | |
7924 | (MouseHandler.mouseMoved): Dito. | |
7925 | (MouseHandler.redispatchEvent): New method. | |
7926 | (PropertyChangeHandler.propertyChange): Added extra block level, | |
7927 | added code to handle tab placement changes, added comment. | |
7928 | (updateViewPosition): Set unneeded coordinate to 0, added comment. | |
7929 | ||
7930 | 2006-08-16 Roman Kennke <kennke@aicas.com> | |
7931 | ||
7932 | * gnu/javax/swing/text/html/css/CSSScanner.java: New file. | |
7933 | * gnu/javax/swing/text/html/css/CSSLexicalException.java: | |
7934 | New file. | |
7935 | ||
7936 | 2006-08-16 Mark Wielaard <mark@klomp.org> | |
7937 | ||
7938 | * java/awt/Component.java (orientation): Renamed to | |
7939 | componentOrientation. | |
7940 | (setComponentOrientation): Use new field name. | |
7941 | (getComponentOrientation): Likewise. | |
7942 | ||
7943 | 2006-08-16 Roman Kennke <kennke@aicas.com> | |
7944 | ||
7945 | PR 28750 | |
7946 | * javax/swing/plaf/basic/BasicTreeUI.java | |
7947 | (CellEditorHandler.editingCancelled): Call completeEditing | |
7948 | directly. | |
7949 | (CellEditorHandler.editingStopped): Call completeEditing | |
7950 | directly. | |
7951 | (NodeDimensionHandler.getNodeDimensions): Rewritten | |
7952 | to use the preferred sizes of the renderer and editor. | |
7953 | (TreeExpansionHandler.treeCollapsed): Complete editing | |
7954 | here. | |
7955 | (TreeSelectionHandler.valueChanged): Complete editing | |
7956 | here. | |
7957 | (cancelEditing): Call completeEditing with false, false and | |
7958 | false. Don't call finish (removed method). | |
7959 | (completeEditing(boolean,boolean,boolean): Only do something when | |
7960 | stopEditingInCompleteEditing is true. Nullify editingComponent | |
7961 | and editingPath. Remove editingComponent from tree. Update | |
7962 | the layout when necessary and repaint. | |
7963 | (completeEditing): Stop editing when necessary. | |
7964 | (editorRequestFocus): New helper method. Request focus | |
7965 | on the actual editor. | |
7966 | (finish) Removed. This is now done in completeEditing(). | |
7967 | (prepareForUIInstall): Set stopEditingInCompleteEditing to true. | |
7968 | (setLargeModel): Complete editing here. | |
7969 | (setRootVisible): Complete editing here. | |
7970 | (setRowHeight): Complete editing here. | |
7971 | (setSelectionModel): Complete editing here. | |
7972 | (startEditing): Correctly initialize and start editing. | |
7973 | (updateExpandedDescendants): Complete editing here. | |
7974 | * javax/swing/tree/DefaultTreeCellEditor.java | |
7975 | (DefaultTextField): Fetch size from super and use renderer's height | |
7976 | if appropriate. | |
7977 | (EditorContainer.EditorContainer): Set layout to null, just | |
7978 | to make sure. | |
7979 | (EditorContainer.doLayout): Layout so that the editor | |
7980 | is offset to the right of the icon. | |
7981 | (EditorContainer.getPreferredSize): Implemented to | |
7982 | provide a reasonable preferred size. | |
7983 | (EditorContainer.paint): Position icon in the middle. | |
7984 | Also paint border if appropriate. | |
7985 | (EditorContainer.setBounds): Removed. | |
7986 | (RealEditorListener): Removed. | |
7987 | (DefaultTreeCellEditor): Set correct border. | |
7988 | (cancelCellEditing): Message real editor. Call finish(). | |
7989 | (createCellEditor): Don't add listener. | |
7990 | (determineOffset): Correctly determine offset, and update | |
7991 | the icon. | |
7992 | (finish): New helper method. | |
7993 | (getTreeCellEditorComponent): Set correct font. Call | |
7994 | prepareForEditing() and determineOffset() to correctly initialize | |
7995 | the state. | |
7996 | (stopCellEditing): Messsage realEditor to stop editing. Call | |
7997 | finish to clean up. | |
7998 | (stopEditingTimer): Removed. | |
7999 | (valueChanged): Correctly reset lastPath. | |
8000 | * javax/swing/tree/DefaultTreeCellRenderer.java | |
8001 | (getPreferredSize): Return super plus some extra space for | |
8002 | better readability. | |
8003 | ||
8004 | 2006-08-16 Roman Kennke <kennke@aicas.com> | |
8005 | ||
8006 | * javax/swing/plaf/metal/MetalTreeUI.java | |
8007 | (LineStyleListener): New property listener, that updates | |
8008 | the line style setting if the corresponding property | |
8009 | changes. | |
8010 | (lineStyleListener): New field. | |
8011 | (lineStyle): New field. | |
8012 | (LINE_STYLE_ANGLED): New constant field. | |
8013 | (LINE_STYLE_HORIZONTAL): New constant field. | |
8014 | (LINE_STYLE_NONE): New constant field. | |
8015 | (LINE_STYLE_VALUE_ANGLED): New constant field. | |
8016 | (LINE_STYLE_VALUE_HORIZONTAL): New constant field. | |
8017 | (LINE_STYLE_VALUE_NONE): New constant field. | |
8018 | (LINE_STYLE_PROPERTY): New constant field. | |
8019 | (decodeLineStyle): Implemented. | |
8020 | (installUI): Install line style listener. Set initial | |
8021 | lineStyle. | |
8022 | (uninstallUI): Uninstall line style listener. | |
8023 | (paintHorizontalPartOfLeg): Only call super for angled | |
8024 | lineStyle. | |
8025 | (paintVerticalPartOfLeg): Only call super for angled | |
8026 | lineStyle. | |
8027 | (paintHorizontalSeparators): Implemented. | |
8028 | (paint): If lineStyle==HORIZONTAL, call | |
8029 | paintHorizontalSeparators(). | |
8030 | * examples/gnu/classpath/examples/swing/TreeDemo.java | |
8031 | (createContent): Add panel for selecting line styles. | |
8032 | ||
8033 | 2006-08-16 Robert Schuster <robertschuster@fsfe.org> | |
8034 | ||
8035 | * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java: | |
8036 | (createContent): Rewritten. | |
8037 | (createPlacementChangingMenuItem): New method. | |
8038 | (createLayoutPolicyChangingMenuItem): New method. | |
8039 | (createTabbedPane): New method. | |
8040 | (createTabContent): New method. | |
8041 | ||
8042 | 2006-08-16 Robert Schuster <robertschuster@fsfe.org> | |
8043 | ||
8044 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
8045 | (MouseHandler.mousePressed): Fixed indentation, intercept clicks on | |
8046 | disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode. | |
8047 | ||
8048 | 2006-08-16 Robert Schuster <robertschuster@fsfe.org> | |
8049 | ||
8050 | * javax/swing/text/WrappedPlainView.java: | |
8051 | (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value. | |
8052 | (calculateBreakPosition): Add p0 to return value. | |
8053 | ||
8054 | 2006-08-15 Roman Kennke <kennke@aicas.com> | |
8055 | ||
8056 | * javax/swing/plaf/basic/BasicTreeUI.java | |
8057 | (MouseHandler.selectedOnPress): New field. | |
8058 | (MouseHandler.handleEvent): New helper method for handling | |
8059 | selection and start/stop editing for mouse events. | |
8060 | (MouseHandler.mouseDragged): Commented as no-op method. | |
8061 | (MouseHandler.mouseMoved): Commented as no-op method. | |
8062 | (MouseHandler.mousePressed): Use handleEvent() to handle | |
8063 | selection and editing handling. | |
8064 | (MouseHandler.mouseReleased): Use handleEvent() to handle | |
8065 | selection and editing handling. | |
8066 | (MouseInputHandler.MouseInputHandler): Register itself | |
8067 | as mouse listener on source. Redispatch event to | |
8068 | destination. | |
8069 | (MouseInputHandler.dispatch): New helper method. | |
8070 | (MouseInputHandler.mouseClicked): Dispatch event. | |
8071 | (MouseInputHandler.mouseDragged): Dispatch event. | |
8072 | (MouseInputHandler.mouseEntered): Stop dispatching | |
8073 | if dragging stopped. | |
8074 | (MouseInputHandler.mouseExited): Stop dispatching | |
8075 | if dragging stopped. | |
8076 | (MouseInputHandler.mouseMoved): Stop dispatching. | |
8077 | (MouseInputHandler.mousePressed): Marked as no-op. | |
8078 | (MouseInputHandler.mouseReleased): Dispatch and stop | |
8079 | dispatching afterwards. | |
8080 | (MouseInputHandler.removeFromSource): Implemented. | |
8081 | (PropertyChangeHandler.propertyChange): Also handle | |
8082 | editable property changes by calling setEditable(). | |
8083 | (SelectionModelPropertyChangeHandler.propertyChange): | |
8084 | Reset row selection. | |
8085 | (startEditTimer): Removed. | |
8086 | (setCellEditor): Call updateEditor(). | |
8087 | (setEditable): Call updateEditor(). | |
8088 | (startEditingAtPath): Make path fully visible before starting | |
8089 | editing. | |
8090 | (startEditing): Maybe cancel previous edit session. Add | |
8091 | editing component itself, not its parent container. | |
8092 | Register MouseInputHandler for correctly redispatching | |
8093 | initial events. | |
8094 | (stopEditing): Message cellEditor and only completeEditing() | |
8095 | when approved by cell editor. | |
8096 | (updateCellEditor): Complete editing before updating | |
8097 | the cell editor. Get cell editor from JTree if possible, | |
8098 | otherwise create default editor. Update the listeners | |
8099 | on the editor. | |
8100 | * javax/swing/tree/DefaultTreeCellEditor.java | |
8101 | (CLICK_COUNT_TO_START): Removed. | |
8102 | (DefaultTreeCellEditor): Install correct border. Let setTree() | |
8103 | update the listeners. Don't initialize lastPath and font yet. | |
8104 | (actionPerformed): Implemented to start editing. | |
8105 | (createTreeCellEditor): Set click count to start to 1, rather than | |
8106 | 3. | |
8107 | (isCellEditable): Prepare editor here. Determine if we can | |
8108 | start immediately, or if we trigger a timer to do so. | |
8109 | (prepareForEditing): Don't removeAll() (not necessary), | |
8110 | check editingComponent to be non-null. | |
8111 | (setTree): Update listeners. | |
8112 | (shouldStartEditingTimer): Check for left mouse button. | |
8113 | (startEditingTimer): Lazily create timer. | |
8114 | ||
8115 | 2006-08-15 Lillian Angel <langel@redhat.com> | |
8116 | ||
8117 | * java/awt/dnd/DropTargetDragEvent.java | |
8118 | (getTransferable): Implemented. | |
8119 | ||
8120 | 2006-08-15 Roman Kennke <kennke@aicas.com> | |
8121 | ||
8122 | * java/util/Vector.java | |
8123 | (removeAll): Added comment about NPE. | |
8124 | (retainAll): Added comment about NPE. | |
8125 | ||
8126 | 2006-08-15 Roman Kennke <kennke@aicas.com> | |
8127 | ||
8128 | * java/util/zip/ZipFile.java | |
8129 | (UTF8DECODER): Removed. | |
8130 | (UTF8CHARSET): New constant field. Stores the UTF8 charset. | |
8131 | (utf8Decoder): New instance field. | |
8132 | (decodeChars): Lazily create UTF8 decoder. Use instance | |
8133 | field rather than a static field to avoid corruption. | |
8134 | ||
8135 | 2006-08-15 Roman Kennke <kennke@aicas.com> | |
8136 | ||
8137 | * java/io/PrintStream.java | |
8138 | (line_separator): Provide default for system property. | |
8139 | * java/io/FileDescriptor.java | |
8140 | (valid): Create local copy of channel field for better | |
8141 | threading safetly. | |
8142 | ||
8143 | 2006-08-15 Ingo Proetel <proetel@aicas.com> | |
8144 | ||
8145 | * java/util/zip/ZipFile.java | |
8146 | (PartialInputStream.UTF8DECODER): New constant field, used | |
8147 | for decoding UTF8 strings. | |
8148 | (readLeShort): Access buffer directly if it has enough bytes | |
8149 | available. | |
8150 | (readLeInt): Access buffer directly if it has enough bytes | |
8151 | available. | |
8152 | (decodeChars): New helper method for decoding UTF8 strings. | |
8153 | (readString): Avoid NIO charset decoder if possible. | |
8154 | ||
8155 | 2006-08-15 Roman Kennke <kennke@aicas.com> | |
8156 | ||
8157 | * java/util/Vector.java | |
8158 | (removeAll): Don't explicitly null-check here. The RI allows | |
8159 | null arguments when Vector is empty. In other cases we | |
8160 | implicitly throw an NPE. | |
8161 | (retainAll): Don't explicitly null-check here. The RI allows | |
8162 | null arguments when Vector is empty. In other cases we | |
8163 | implicitly throw an NPE. | |
8164 | ||
8165 | 2006-08-14 Casey Marshall <csm@gnu.org> | |
8166 | ||
8167 | Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record | |
8168 | of changes made on this branch. | |
8169 | Files modified: | |
8170 | * gnu/classpath/debug/Component.java | |
8171 | * gnu/classpath/debug/SystemLogger.java | |
8172 | * gnu/java/security/action/GetPropertyAction.java | |
8173 | * gnu/java/security/action/GetSecurityPropertyAction.java | |
8174 | * gnu/javax/crypto/RSACipherImpl.java | |
8175 | * gnu/javax/net/ssl/PrivateCredentials.java | |
8176 | * gnu/javax/net/ssl/provider/Alert.java | |
8177 | * gnu/javax/net/ssl/provider/AlertException.java | |
8178 | * gnu/javax/net/ssl/provider/Certificate.java | |
8179 | * gnu/javax/net/ssl/provider/CertificateRequest.java | |
8180 | * gnu/javax/net/ssl/provider/CertificateType.java | |
8181 | * gnu/javax/net/ssl/provider/CertificateVerify.java | |
8182 | * gnu/javax/net/ssl/provider/CipherSuite.java | |
8183 | * gnu/javax/net/ssl/provider/ClientHello.java | |
8184 | * gnu/javax/net/ssl/provider/ClientKeyExchange.java | |
8185 | * gnu/javax/net/ssl/provider/CompressionMethod.java | |
8186 | * gnu/javax/net/ssl/provider/Constructed.java | |
8187 | * gnu/javax/net/ssl/provider/ContentType.java | |
8188 | * gnu/javax/net/ssl/provider/DiffieHellman.java | |
8189 | * gnu/javax/net/ssl/provider/Extension.java | |
8190 | * gnu/javax/net/ssl/provider/Finished.java | |
8191 | * gnu/javax/net/ssl/provider/Handshake.java | |
8192 | * gnu/javax/net/ssl/provider/Jessie.java | |
8193 | * gnu/javax/net/ssl/provider/ProtocolVersion.java | |
8194 | * gnu/javax/net/ssl/provider/Random.java | |
8195 | * gnu/javax/net/ssl/provider/ServerHello.java | |
8196 | * gnu/javax/net/ssl/provider/ServerKeyExchange.java | |
8197 | * gnu/javax/net/ssl/provider/Signature.java | |
8198 | * gnu/javax/net/ssl/provider/Util.java | |
8199 | * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java | |
8200 | * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java | |
8201 | * java/security/MessageDigest.java | |
8202 | * java/security/MessageDigestSpi.java | |
8203 | * java/security/Signature.java | |
8204 | * java/security/SignatureSpi.java | |
8205 | * javax/crypto/Mac.java | |
8206 | * javax/crypto/MacSpi.java | |
8207 | * javax/net/ssl/HandshakeCompletedEvent.java | |
8208 | * javax/net/ssl/HttpsURLConnection.java | |
8209 | * javax/net/ssl/SSLContext.java | |
8210 | * javax/net/ssl/SSLContextSpi.java | |
8211 | * javax/net/ssl/SSLSession.java | |
8212 | Files added: | |
8213 | * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java | |
8214 | * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java | |
8215 | * gnu/javax/net/ssl/provider/SimpleSessionContext.java | |
8216 | * gnu/javax/net/ssl/provider/ServerRSAParams.java | |
8217 | * gnu/javax/net/ssl/provider/SSLContextImpl.java | |
8218 | * gnu/javax/net/ssl/provider/ServerDHParams.java | |
8219 | * gnu/javax/net/ssl/provider/ClientHelloBuilder.java | |
8220 | * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java | |
8221 | * gnu/javax/net/ssl/provider/SignatureAlgorithm.java | |
8222 | * gnu/javax/net/ssl/provider/CipherSuiteList.java | |
8223 | * gnu/javax/net/ssl/provider/ServerNameList.java | |
8224 | * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java | |
8225 | * gnu/javax/net/ssl/provider/CompressionMethodList.java | |
8226 | * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java | |
8227 | * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java | |
8228 | * gnu/javax/net/ssl/provider/TrustedAuthorities.java | |
8229 | * gnu/javax/net/ssl/provider/CertificateStatusRequest.java | |
8230 | * gnu/javax/net/ssl/provider/ServerHelloDone.java | |
8231 | * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java | |
8232 | * gnu/javax/net/ssl/provider/SSLSocketImpl.java | |
8233 | * gnu/javax/net/ssl/provider/ServerHelloBuilder.java | |
8234 | * gnu/javax/net/ssl/provider/Record.java | |
8235 | * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java | |
8236 | * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java | |
8237 | * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java | |
8238 | * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java | |
8239 | * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java | |
8240 | * gnu/javax/net/ssl/provider/CertificateBuilder.java | |
8241 | * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java | |
8242 | * gnu/javax/net/ssl/provider/CertificateStatusType.java | |
8243 | * gnu/javax/net/ssl/provider/ExtensionList.java | |
8244 | * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java | |
8245 | * gnu/javax/net/ssl/provider/ClientPSKParameters.java | |
8246 | * gnu/javax/net/ssl/provider/X500PrincipalList.java | |
8247 | * gnu/javax/net/ssl/provider/ServerHandshake.java | |
8248 | * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java | |
8249 | * gnu/javax/net/ssl/provider/SessionImpl.java | |
8250 | * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java | |
8251 | * gnu/javax/net/ssl/provider/ServerPSKParameters.java | |
8252 | * gnu/javax/net/ssl/provider/TruncatedHMAC.java | |
8253 | * gnu/javax/net/ssl/provider/MaxFragmentLength.java | |
8254 | * gnu/javax/net/ssl/provider/HelloRequest.java | |
8255 | * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java | |
8256 | * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java | |
8257 | * gnu/javax/net/ssl/provider/CipherAlgorithm.java | |
8258 | * gnu/javax/net/ssl/provider/ClientHandshake.java | |
8259 | * gnu/javax/net/ssl/provider/ExchangeKeys.java | |
8260 | * gnu/javax/net/ssl/provider/CertificateURL.java | |
8261 | * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java | |
8262 | * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java | |
8263 | * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java | |
8264 | * gnu/javax/net/ssl/provider/Builder.java | |
8265 | * gnu/javax/net/ssl/provider/Debug.java | |
8266 | * gnu/javax/net/ssl/provider/SSLEngineImpl.java | |
8267 | * gnu/javax/net/ssl/provider/MacAlgorithm.java | |
8268 | * gnu/javax/net/ssl/provider/DelegatedTask.java | |
8269 | * gnu/javax/net/ssl/provider/InputSecurityParameters.java | |
8270 | * gnu/javax/net/ssl/provider/ClientHelloV2.java | |
8271 | * gnu/javax/net/ssl/provider/OutputSecurityParameters.java | |
8272 | * gnu/javax/net/ssl/provider/AbstractHandshake.java | |
8273 | * javax/net/ssl/SSLEngine.java | |
8274 | * javax/net/ssl/CertPathTrustManagerParameters.java | |
8275 | * javax/net/ssl/KeyStoreBuilderParameters.java | |
8276 | * javax/net/ssl/X509ExtendedKeyManager.java | |
8277 | * javax/net/ssl/SSLEngineResult.java | |
8278 | * gnu/javax/net/ssl/PreSharedKeyManager.java | |
8279 | * gnu/javax/net/ssl/Session.java | |
8280 | * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java | |
8281 | * gnu/javax/net/ssl/SSLCipherSuite.java | |
8282 | * gnu/javax/net/ssl/AbstractSessionContext.java | |
8283 | * gnu/javax/net/ssl/SessionStoreException.java | |
8284 | * gnu/javax/net/ssl/SSLRecordHandler.java | |
8285 | * gnu/javax/net/ssl/SSLProtocolVersion.java | |
8286 | * gnu/javax/crypto/key/GnuPBEKey.java | |
8287 | * gnu/java/security/util/ByteBufferOutputStream.java | |
8288 | * gnu/java/security/Requires.java | |
8289 | * gnu/javax/security/auth/callback/CertificateCallback.java | |
8290 | Files removed: | |
8291 | * gnu/javax/net/ssl/provider/Context.java | |
8292 | * gnu/javax/net/ssl/provider/DigestInputStream.java | |
8293 | * gnu/javax/net/ssl/provider/DigestOutputStream.java | |
8294 | * gnu/javax/net/ssl/provider/Enumerated.java | |
8295 | * gnu/javax/net/ssl/provider/Extensions.java | |
8296 | * gnu/javax/net/ssl/provider/GNUSecurityParameters.java | |
8297 | * gnu/javax/net/ssl/provider/JCESecurityParameters.java | |
8298 | * gnu/javax/net/ssl/provider/JDBCSessionContext.java | |
8299 | * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java | |
8300 | * gnu/javax/net/ssl/provider/JessieDHPublicKey.java | |
8301 | * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java | |
8302 | * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java | |
8303 | * gnu/javax/net/ssl/provider/KeyPool.java | |
8304 | * gnu/javax/net/ssl/provider/OverflowException.java | |
8305 | * gnu/javax/net/ssl/provider/RecordInput.java | |
8306 | * gnu/javax/net/ssl/provider/RecordInputStream.java | |
8307 | * gnu/javax/net/ssl/provider/RecordOutputStream.java | |
8308 | * gnu/javax/net/ssl/provider/RecordingInputStream.java | |
8309 | * gnu/javax/net/ssl/provider/SSLRSASignature.java | |
8310 | * gnu/javax/net/ssl/provider/SSLServerSocket.java | |
8311 | * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java | |
8312 | * gnu/javax/net/ssl/provider/SSLSocket.java | |
8313 | * gnu/javax/net/ssl/provider/SSLSocketFactory.java | |
8314 | * gnu/javax/net/ssl/provider/SSLSocketInputStream.java | |
8315 | * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java | |
8316 | * gnu/javax/net/ssl/provider/SecurityParameters.java | |
8317 | * gnu/javax/net/ssl/provider/Session.java | |
8318 | * gnu/javax/net/ssl/provider/SessionContext.java | |
8319 | * gnu/javax/net/ssl/provider/SynchronizedRandom.java | |
8320 | * gnu/javax/net/ssl/provider/XMLSessionContext.java | |
8321 | ||
8322 | 2006-08-14 Roman Kennke <kennke@aicas.com> | |
8323 | ||
8324 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
8325 | (DividerLayout.layoutContainer): Removed debug output. | |
8326 | * javax/swing/plaf/basic/BasicSplitPaneUI.java | |
8327 | (BasicHorizontalLayoutManager.axis): New field. | |
8328 | (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)): | |
8329 | New constructor. | |
8330 | (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()): | |
8331 | Call new axis constructor. | |
8332 | (BasicHorizontalLayoutManager.getAvailableSize): Refactored to | |
8333 | handle direction. | |
8334 | (BasicHorizontalLayoutManager.getInitialLocation): Refactored to | |
8335 | handle direction. | |
8336 | (BasicHorizontalLayoutManager.getPreferredSizeOfComponent): | |
8337 | Refactored to handle direction. | |
8338 | (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored | |
8339 | to handle direction. | |
8340 | (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to | |
8341 | handle direction. | |
8342 | (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored | |
8343 | to handle direction. | |
8344 | (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored | |
8345 | to handle direction. | |
8346 | (BasicHorizontalLayoutManager.setComponentToSize): Refactored | |
8347 | to handle direction. | |
8348 | (BasicHorizontalLayoutManager.updateComponents): Don't reset | |
8349 | divider size. | |
8350 | (BasicVerticalLayoutManager.BasicVerticalLayoutManager): | |
8351 | New explicit constructor. Calls super with vertical axis. | |
8352 | (BasicVerticalLayoutManager.getAvailableSize): Functionality moved | |
8353 | to BasicHorizontalLayoutManager. | |
8354 | (BasicVerticalLayoutManager.getInitialLocation): Functionality | |
8355 | moved to BasicHorizontalLayoutManager. | |
8356 | (BasicVerticalLayoutManager.getPreferredSizeOfComponent): | |
8357 | Functionality moved to BasicHorizontalLayoutManager. | |
8358 | (BasicVerticalLayoutManager.getSizeOfComponent): Functionality | |
8359 | moved to BasicHorizontalLayoutManager. | |
8360 | (BasicVerticalLayoutManager.minimumLayoutSize): Functionality | |
8361 | moved to BasicHorizontalLayoutManager. | |
8362 | (BasicVerticalLayoutManager.minimumSizeOfComponent): | |
8363 | Functionality moved to BasicHorizontalLayoutManager. | |
8364 | (BasicVerticalLayoutManager.preferredLayoutSize): Functionality | |
8365 | moved to BasicHorizontalLayoutManager. | |
8366 | (BasicVerticalLayoutManager.setComponentToSize): Functionality | |
8367 | moved to BasicHorizontalLayoutManager. | |
8368 | * javax/swing/plaf/metal/MetalSplitPaneDivider.java | |
8369 | (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L. | |
8370 | (BUTTON_SPRITE_R): New constant field. | |
8371 | (MetalOneTouchButton.paint): Paint R sprite for right buttons, | |
8372 | L sprite for left buttons. | |
8373 | ||
8374 | 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch> | |
8375 | ||
8376 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | |
8377 | (query_formats): g_free 'name' after usage. | |
8378 | g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance. | |
8379 | g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance. | |
8380 | ||
8381 | 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8382 | ||
8383 | PR classpath/27723 | |
8384 | * configure.ac (MOZILLA_FOUND): Add pkg-config check for | |
8385 | seamonkey-plugin. | |
8386 | ||
8387 | 2006-08-14 Francis Kung <fkung@redhat.com> | |
8388 | ||
8389 | PR 28694 | |
8390 | * java/awt/image/ColorModel.java | |
8391 | (coerceData): Added check for non-transparent images. | |
8392 | ||
8393 | 2006-08-14 Francis Kung <fkung@redhat.com> | |
8394 | ||
8395 | * java/awt/image/BandCombineOp.java | |
8396 | (BandCombineOp): Perform checks on validity of matrix. | |
8397 | (createCompatibleDestRaster): Add checks and choose raster type dynamically. | |
8398 | (filter): Updated to work with new matrix storage. | |
8399 | (getMatrix): Updated javadoc. | |
8400 | (getPoint2D): Formatting change. | |
8401 | ||
8402 | 2006-08-14 Francis Kung <fkung@redhat.com> | |
8403 | ||
8404 | * java/awt/image/AffineTransformOp.java | |
8405 | (AffineTransformOp): Updated javadoc. | |
8406 | (createCompatibleDestImage): Match behaviour of reference implementation. | |
8407 | (createCompatibleDestRaster): Formatting changes. | |
8408 | (filter(BufferedImage, BufferedImage)): Create compatible destination image. | |
8409 | (filter(Raster, WritableRaster)): Re-implemented. | |
8410 | (filterBicubic): New private method. | |
8411 | (filterBilinear): New private method. | |
8412 | (filterNearest): New private method. | |
8413 | (getBounds2D): No longer fixed around one point for rotations. | |
8414 | (getInterpolationType): Add support for bicubic interpolation. | |
8415 | ||
8416 | 2006-08-14 Roman Kennke <kennke@aicas.com> | |
8417 | ||
8418 | * javax/swing/plaf/metal/MetalLookAndFeel.java | |
8419 | (MetalLookAndFeel): Moved theme initialization to | |
8420 | getDefaults(). | |
8421 | (createDefaultTheme): Forward to getCurrentTheme(). | |
8422 | (getDefaults): Initialize theme before doing anything else. | |
8423 | (getCurrentTheme): Recognize swing.metalTheme property. | |
8424 | ||
8425 | 2006-08-14 Roman Kennke <kennke@aicas.com> | |
8426 | ||
8427 | * javax/swing/JTable | |
8428 | (getScrollableUnitIncrement): Expose partially exposed | |
8429 | row in scrolling direction. | |
2067150e | 8430 | |
97b8365c | 8431 | 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
2067150e | 8432 | |
97b8365c TT |
8433 | * javax/swing/JTable (getScrollableUnitIncrement): |
8434 | Removing my name as the whole method body have been | |
8435 | recently completely replaced. | |
2067150e | 8436 | |
97b8365c TT |
8437 | 2006-08-14 Roman Kennke <kennke@aicas.com> |
8438 | ||
8439 | PR 28028 | |
8440 | * javax/swing/text/Utilities.java | |
8441 | (getTabbedTextOffset): Don't add p0 here. | |
8442 | ||
8443 | 2006-08-14 Roman Kennke <kennke@aicas.com> | |
8444 | ||
8445 | PR 28719 | |
8446 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
8447 | (MouseWheelHandler.mouseWheelMoved): Scroll negative delta | |
8448 | when wheel is going up. | |
8449 | ||
8450 | 2006-08-14 Roman Kennke <kennke@aicas.com> | |
8451 | ||
8452 | PR 28693 | |
8453 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
8454 | (BasicOneTouchButton): New inner class. | |
8455 | (DividerLayout.changeButtonOrientation): Removed. | |
8456 | (DividerLayout.positionButtons): Moved into layoutContainer. | |
8457 | (DividerLayout.layoutContainer): Reworked for correct layout. | |
8458 | (OneTouchAction): New inner class. | |
8459 | (centerOneTouchButtons): New field. | |
8460 | (BasicSplitPaneDivider): Initialize centerOneTouchButton from | |
8461 | UIManager. | |
8462 | (createLeftOneTouchButton): Reimplemented to return | |
8463 | BasicOneTouchButton. | |
8464 | (createRightOneTouchButton): Reimplemented to return | |
8465 | BasicOneTouchButton. | |
8466 | (getPreferredSize): Reimplemented to return fixed preferredSize. | |
8467 | (oneTouchExpandableChanged): Add OneTouchAction action to | |
8468 | buttons. Don't install mouse listeners. | |
8469 | (MouseHandler.mousePressed): Removed handling of one touch buttons. | |
8470 | (paint): Don't trigger extra paint for buttons. | |
8471 | (propertyChange): Revalidate splitPane when orientation is changed. | |
8472 | (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when | |
8473 | oneTouchExpandable is true. | |
8474 | * javax/swing/plaf/basic/BasicSplitPaneUI.java | |
8475 | (installDefaults): Install dividerSize on the divider too. | |
8476 | * javax/swing/plaf/metal/MetalSplitPaneDivider.java | |
8477 | (MetalDividerLayout): Removed. Functionality is already | |
8478 | in BasicSplitPaneDivider.DividerLayout. | |
8479 | (MetalOneTouchButton): New inner class. | |
8480 | (BUTTON_SPRITE): New constant field. | |
8481 | (MetalSplitPaneDivider): Don't change layout. | |
8482 | (createLeftOneTouchButton): Overridden to return custom button | |
8483 | for Metal. | |
8484 | (createRightOneTouchButton): Overridden to return custom button | |
8485 | for Metal. | |
8486 | (paint): Don't trigger button painting. Call super instead. | |
8487 | ||
8488 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8489 | ||
8490 | * javax/swing/plaf/basic/BasicTableHeaderUI.java | |
8491 | (installKeyboardAction): Unmarked as stub. Added comment | |
8492 | explaining that the RI seems to do nothing here. | |
8493 | (uninstallKeyboardAction): Unmarked as stub. Added comment | |
8494 | explaining that the RI seems to do nothing here. | |
8495 | ||
8496 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8497 | ||
8498 | PR 28135 | |
8499 | * javax/swing/ScrollPaneLayout.java | |
8500 | (layoutContainer): Consider the viewportBorder of the | |
8501 | JScrollPane. | |
8502 | (minimumLayoutSize): Consider the viewportBorder of the | |
8503 | JScrollPane. | |
8504 | (preferredLayoutSize): Consider the viewportBorder of the | |
8505 | JScrollPane. | |
8506 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
8507 | (installDefaults): Also install viewportBorder if specified. | |
8508 | (paint): Paint viewportBorder if present. | |
8509 | (uninstallDefaults): Uninstall viewportBorder if appropriate. | |
8510 | Don't nullify foreground, background and font. Uninstall | |
8511 | border via LookAndFeel helper method to avoid uninstall | |
8512 | user set border. | |
8513 | ||
8514 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8515 | ||
8516 | PR 28696 | |
8517 | * javax/swing/plaf/basic/BasicHTML.java | |
8518 | (HTMLRootView.HTMLRootView): Trigger initial layout. | |
8519 | (HTMLRootView.setSize): Overridden to forward to real view. | |
8520 | * javax/swing/plaf/basic/BasicToolTipUI.java | |
8521 | (PropertyChangeHandler): New inner class. Updates the HTML | |
8522 | renderer. | |
8523 | (propertyChangeHandler): New field. | |
8524 | (getMaximumSize): Add HTML width delta. | |
8525 | (getMinimumSize): Add HTML width delta. | |
8526 | (getPreferredSize): Reimplemented to use HTML view for size | |
8527 | calculation if appropriate, otherwise use simple stringWidth() | |
8528 | measurement. | |
8529 | (installListeners): Install propertyChangeHandler. | |
8530 | (uninstallListeners): Uninstall propertyChangeHandler. | |
8531 | (installUI): Update HTML renderer. | |
8532 | (uninstallUI): Update HTML renderer. | |
8533 | (paint): Reimplemented to use HTML view for rendering if | |
8534 | appropriate, simple drawString otherwise. | |
8535 | * javax/swing/plaf/metal/MetalToolTipUI.java | |
8536 | (getPreferredSize): Call super and add accelerator delta. | |
8537 | (paint): Simply call super. | |
8538 | ||
8539 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8540 | ||
8541 | * javax/swing/JMenu.java | |
8542 | (changeListener): Renamed to menuChangeListener to avoid | |
8543 | shadowing changeListener field from AbstractButton. | |
8544 | ||
8545 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8546 | ||
8547 | * javax/swing/JTree.java | |
8548 | (getScrollableUnitIncrement): Fixed direction. | |
8549 | (getScrollableBlockIncrement): Implemented to scroll one | |
8550 | page. | |
8551 | * javax/swing/tree/VariableHeightLayoutCache.java | |
8552 | (distance): Consider y + height already outside the node. | |
8553 | ||
8554 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8555 | ||
8556 | * javax/swing/JTable.java | |
8557 | (getScrollableUnitIncrement): Fixed direction. Make it behave | |
8558 | like the RI. | |
8559 | (getScrollableBlockIncrement): Fixed direction. Make it behave | |
8560 | like the RI. | |
8561 | ||
8562 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8563 | ||
8564 | * javax/swing/JList.java | |
8565 | (getScrollableUnitIncrement): Fixed direction. Implemented | |
8566 | horizontal scrolling. Improved usability. | |
8567 | (getScrollableBlockIncrement): Fixed direction. Improved usability. | |
8568 | ||
8569 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8570 | ||
8571 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
8572 | (scrollByUnit): Scroll by -unit when direction is not positive | |
8573 | and +unit otherwise. | |
8574 | (scrollByBlock): Scroll by -unit when direction is not positive | |
8575 | and +unit otherwise. | |
8576 | ||
8577 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8578 | ||
8579 | PR 28028 | |
8580 | * javax/swing/text/PlainView.java | |
8581 | (paint): Limit painted area to the lines inside the clip | |
8582 | and allocation. | |
8583 | ||
8584 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8585 | ||
8586 | * javax/swing/plaf/basic/BasicTextUI.java | |
8587 | (uninstallListeners): Unregister document listener. | |
8588 | ||
8589 | 2006-08-13 Sven de Marothy <sven@physto.se> | |
8590 | ||
8591 | * java/util/Locale.java | |
8592 | (hashcodeCache): New field. | |
8593 | (hashCode): use the above field instead of the serialized one | |
8594 | (writeObject): Removed method. | |
8595 | (readObject): Intern strings. | |
8596 | (equals): Revert to previous method. | |
8597 | ||
8598 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8599 | ||
8600 | * javax/swing/JTabbedPane.java | |
8601 | (JTabbedPane): Call setModel() here and let this install the | |
8602 | change listener correctly. | |
8603 | (setModel): Correctly uninstall and reinstall ChangeListener when | |
8604 | model changes. | |
8605 | ||
8606 | 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au> | |
8607 | ||
8608 | PR Classpath/23952 | |
8609 | * java/util/ResourceBundle.java (CACHE_SIZE): New constant. | |
8610 | (bundleCache): Replaced with an LRU of CACHE_SIZE elements. | |
8611 | (lastDefaultLocale): Removed. | |
8612 | (emptyLocale): Likewise. | |
8613 | (BundleKey.defaultLocale): New field. | |
8614 | (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument. | |
8615 | (BundleKey.set): Likewise. | |
8616 | (BundleKey.equals): Take defaultLocal field into consideration. | |
8617 | (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU. | |
8618 | ||
8619 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
2067150e | 8620 | |
97b8365c TT |
8621 | * javax/swing/JMenu.java |
8622 | (MenuChangeListener): New inner class, helps firing menu events. | |
8623 | (changeListener): New field. | |
8624 | (add(text)): Create new JMenuItem here and call add(JMenuItem). | |
8625 | (add(Action)): Create Action using createActionComponent() | |
8626 | and add via add(Component). | |
8627 | (setModel): Install and uninstall MenuChangeListener here. | |
8628 | ||
8629 | 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au> | |
8630 | ||
8631 | PR Classpath/27372 | |
8632 | * java/math/BigInteger.java: Updated copyright year. | |
8633 | (init): Consume as little bytes as possible. | |
8634 | (BigInteger(int, int, Random)): Ensure bitLength bits are used. | |
8635 | (valueOf(String, int)): Throw NumberFormatException for malformed strings | |
8636 | as per RI's documentation. | |
8637 | ||
8638 | 2006-08-13 Sven de Marothy <sven@physto.se> | |
8639 | ||
8640 | * java/util/Locale.java | |
8641 | (hashcode): Is a serialized field, not transient. | |
8642 | (equals): Should NOT compare strings by reference. | |
8643 | (readObject/writeObject): Use the default methods and handle the hash | |
8644 | seperately. | |
8645 | ||
8646 | 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au> | |
8647 | ||
8648 | PR Classpath/28678 | |
8649 | * gnu/java/security/Engine.java (getInstance(String, String, Provider)): | |
8650 | Updated documentation. | |
8651 | Formatting. | |
8652 | (getInstance(String, String, Provider, Object[])): Likewise. | |
8653 | Separate checks for null and empty string arguments. | |
8654 | Include as much information as possible in the exception's message. | |
8655 | Do not swallow original exception; instead use it as the cause of the | |
8656 | resulting exception. | |
8657 | * gnu/javax/security/auth/callback/AbstractCallbackHandler.java | |
8658 | (getInstance(String)): Updated documentation. | |
8659 | Formatting. | |
8660 | Store last exception caught when iterating through all providers. | |
8661 | If no implementation found, raise last exception if one was caught. | |
8662 | (getInstance(String, String)): Updated documentation. | |
8663 | Formatting. | |
8664 | Check for null or empty provider as per RI-5's documentation. | |
8665 | (getInstance(String, Provider)): Updated documentation. | |
8666 | Formatting. | |
8667 | Use as much information as possible in the exception message. | |
8668 | Do not swallow original exception; instead use it as the cause for the | |
8669 | ultimate raised exception(s). | |
8670 | * java/security/cert/CertificateFactory.java: Likewise. | |
8671 | * java/security/cert/CertPathBuilder.java: Likewise. | |
8672 | * java/security/cert/CertPathValidator.java: Likewise. | |
8673 | * java/security/cert/CertStore.java: Likewise. | |
8674 | * java/security/AlgorithmParameterGenerator.java: Likewise. | |
8675 | * java/security/AlgorithmParameters.java: Likewise. | |
8676 | * java/security/KeyFactory.java: Likewise. | |
8677 | * java/security/KeyPairGenerator.java: Likewise. | |
8678 | * java/security/KeyStore.java: Likewise. | |
8679 | * java/security/MessageDigest.java: Likewise. | |
8680 | * java/security/SecureRandom.java: Likewise. | |
8681 | * java/security/Signature.java: Likewise. | |
8682 | * javax/crypto/Cipher.java: Likewise. | |
8683 | * javax/crypto/ExemptionMechanism.java: Likewise. | |
8684 | * javax/crypto/KeyAgreement.java: Likewise. | |
8685 | * javax/crypto/KeyGenerator.java: Likewise. | |
8686 | * javax/crypto/Mac.java: Likewise. | |
8687 | * javax/crypto/SecretKeyFactory.java: Likewise. | |
8688 | * javax/net/ssl/KeyManagerFactory.java: Likewise. | |
8689 | * javax/net/ssl/SSLContext.java: Likewise. | |
8690 | * javax/net/ssl/TrustManagerFactory.java: Likewise. | |
8691 | ||
8692 | 2006-08-13 Roman Kennke <kennke@aicas.com> | |
8693 | ||
8694 | * javax/swing/JEditorPane.java | |
8695 | (getScrollableTracksViewportHeight): Also check maximum size. | |
8696 | * javax/swing/JTextPane.java | |
8697 | (insertIcon): Use input attributes for adding the icon | |
8698 | attribute. | |
8699 | * javax/swing/plaf/basic/BasicTextUI.java | |
8700 | (RootView.setSize): Overridden to forward to real view. | |
8701 | (getPreferredSize): Trigger setSize() on the view. | |
8702 | (viewToModel(JTextComponent,Point)): Pass Position.Bias array | |
8703 | to viewToModel() call, rather then null. | |
8704 | * javax/swing/text/ParagraphView.java | |
8705 | (changedUpdate): Invalide layout. Call super. | |
8706 | * javax/swing/text/SimpleAttributeSet.java | |
8707 | (clone): Use super's clone method to create clone. | |
8708 | * javax/swing/text/StyleConstants.java | |
8709 | (setIcon): Also set element name attribute. | |
8710 | * javax/swing/text/StyledEditorKit.java | |
8711 | (BoldAction.actionPerformed): Actually set the bold attribute, | |
8712 | not italic. | |
8713 | (setCharacterAttributes): Replaced with more straightforward | |
8714 | impl. | |
8715 | * javax/swing/text/TextAction.java | |
8716 | (getFocusedComponent): Implemented. | |
8717 | * javax/swing/text/Utilities.java | |
8718 | (getNextVisualPositionFrom): Pass Position.Bias arrays instead | |
8719 | of null. | |
8720 | * javax/swing/text/View.java | |
8721 | (changedUpdate): Nullify element change when updateChildren | |
8722 | says so. | |
8723 | ||
8724 | 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
8725 | ||
8726 | * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java: | |
8727 | Fix documentation typos. | |
8728 | ||
8729 | 2006-08-11 David Daney <ddaney@avtrex.com> | |
8730 | ||
8731 | PR classpath/28580 | |
8732 | * gnu/java/net/protocol/http/Request.java (readResponse): Call | |
8733 | createResponseBodyStream in more cases and with new parameter. | |
8734 | (createResponseBodyStream): Added new parameter mayHaveBody. Handle | |
8735 | HEAD and !mayHaveBody responses specially. | |
8736 | ||
8737 | 2006-08-11 Roman Kennke <kennke@aicas.com> | |
8738 | ||
8739 | * javax/swing/text/GlyphView.java | |
8740 | (DefaultGlyphPainter.modelToView): Fixed model->view mapping. | |
8741 | * javax/swing/text/LabelView.java | |
8742 | (valid): New flag indicating if the text attributes are valid. | |
8743 | (LabelView): Initialize valid field with false. | |
8744 | (setPropertiesFromAttributes): Call setter methods instead | |
8745 | of setting properties directly. Set valid to true. | |
8746 | (changedUpdate): Invalidate attributes. Call super. | |
8747 | (getBackground): Sync attributes if necessary. | |
8748 | (getForeground): Sync attributes if necessary. | |
8749 | (getFont): Sync attributes if necessary. | |
8750 | (isUnderline): Sync attributes if necessary. | |
8751 | (isSuperscript): Sync attributes if necessary. | |
8752 | (isStrikeThrough): Sync attributes if necessary. | |
8753 | (getFontMetrics): Sync attributes if necessary. Fetch font metrics | |
8754 | from toolkit if Container is not available yet. | |
8755 | ||
8756 | 2006-08-11 Roman Kennke <kennke@aicas.com> | |
8757 | ||
8758 | * javax/swing/text/PlainView.java | |
8759 | (tabBase): New field. | |
8760 | (tabSize): New field. | |
8761 | (updateMetrics): Update tabSize. | |
8762 | (lineToRect): Only allocate when really necessary. | |
8763 | (modelToView): Use tabBase for offset calculations. | |
8764 | (paint): Only allocate when really necessary. Update tabBase. | |
8765 | (nextTabStop): Fixed tab calculation. | |
8766 | (viewToModel): Correctly handle multiline text and locations | |
8767 | outside the view's bounds. Set bias. | |
8768 | (getLineLength): Use tabBase. | |
8769 | * javax/swing/text/Utilities.java | |
8770 | (drawTabbedText): Don't special case newlines. The views | |
8771 | must take care of this. | |
f03a0191 | 8772 | |
97b8365c | 8773 | 2006-08-11 Roman Kennke <kennke@aicas.com> |
f03a0191 | 8774 | |
97b8365c TT |
8775 | * javax/swing/text/GapContent.java |
8776 | (UndoPosRef): New inner class. Used for resetting positions | |
8777 | after undo/redo operations. | |
8778 | (InsertUndo.positions): New field. | |
8779 | (InsertUndo.undo): Store positions in removed range. | |
8780 | (InsertUndo.redo): Restore positions in re-inserted range. | |
8781 | (UndoRemove.positions): New field. | |
8782 | (UndoRemove.UndoRemove): Store positions in removed range. | |
8783 | (UndoRemove.undo): Restore positions in re-inserted range. | |
8784 | (UndoRemove.redo): Store positions in removed range. | |
8785 | (insertString): Create InsertUndo instance before actually | |
8786 | inserting the string. | |
8787 | (remove): Create UndoRemove instance before actually | |
8788 | removing. | |
8789 | (getPositionsInRange): Don't clear the Vector. Return Vector | |
8790 | of UndoPosRefs. | |
8791 | (updateUndoPositions): Implemented to reset all UndoPosRefs | |
8792 | in the vector. | |
8793 | ||
8794 | 2006-08-11 Jeroen Frijters <jeroen@frijters.net> | |
8795 | ||
8796 | * java/io/ObjectInputStream.java (readClassDescriptor): | |
8797 | Use class's class loader to resolve field types. | |
8798 | * java/io/ObjectStreamField.java | |
8799 | (ObjectStreamField(String,String,ClassLoader)): Removed. | |
8800 | (ObjectStreamField(String,String)): Don't try to resolve typename. | |
8801 | (resolveType): New method. | |
8802 | ||
8803 | 2006-08-10 Roman Kennke <kennke@aicas.com> | |
8804 | ||
8805 | * javax/swing/text/BoxView.java | |
8806 | (calculateMajorAxisRequirements): Sum up the preferred and | |
8807 | maximum sizes. | |
8808 | (isAfter): Also add in the rectangle's with/height. | |
8809 | (childAllocation): Don't trigger layout here. | |
8810 | (layoutMinorAxis): Removed debug output. | |
8811 | (getWidth): Consider the insets. | |
8812 | (getHeight): Consider the insets. | |
8813 | (setSize): Consider the insets. | |
8814 | (updateRequirements): Check axis and throw | |
8815 | IllegalArgumentException. | |
8816 | ||
8817 | 2006-08-10 Roman Kennke <kennke@aicas.com> | |
8818 | ||
8819 | * javax/swing/text/AbstractDocument.java | |
8820 | (BidiRootName): New constant field, denotes the element name | |
8821 | for bidi root elements. | |
8822 | (AsyncLoadPriority): New constant field, denotes the property | |
8823 | to store the asynchronousLoadPriority. | |
8824 | (I18N): New constant field, denotes the property for | |
8825 | I18N support. | |
8826 | (bidiRoot): Made field type BidiRootElement. | |
8827 | (AbstractDocument): Build initial element structure for | |
8828 | bidi. | |
8829 | (getAsynchronousLoadPriority): Implemented. Returns the | |
8830 | value stored in the document properties. | |
8831 | (setAsynchronousLoadPriority): Implemented. Sets the | |
8832 | value stored in the document properties. | |
8833 | (getEndPosition): Implemented to use a Position from the | |
8834 | content. | |
8835 | (getStartPosition): Implemented to use a Position from the | |
8836 | content. | |
8837 | (insertStringImpl): Update the I18N setting if necessary. | |
8838 | (insertUpdate): Update the bidi structure if necessary. | |
8839 | (postRemoveUpdate): Update the bidi structure if necessary. | |
8840 | (putProperty): Update the I18N setting and bidi structure | |
8841 | if necessary. | |
8842 | (updateBidi): New helper method for updating the bidi | |
8843 | structure. | |
8844 | (getBidis): New helper method. Fetches the Bidi analysers | |
8845 | for the paragraphs of the range to check. | |
8846 | (dump): Also dump the bidi structure. | |
8847 | (AbstractElement.dump): Indent the '>' correctly. | |
8848 | (AbstractElement.children): Check numChildren rather then | |
8849 | children.length. | |
8850 | (BidiRootElement): New inner class. | |
8851 | (BidiElement): New inner class. | |
8852 | ||
8853 | 2006-08-10 Roman Kennke <kennke@aicas.com> | |
8854 | ||
8855 | * javax/swing/text/GapContent.java | |
8856 | (getChars): Optimized to only copy array when really necessary. | |
8857 | Respect the partialReturn property. | |
8858 | ||
8859 | 2006-08-10 Lillian Angel <langel@redhat.com> | |
8860 | ||
8861 | * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java | |
8862 | (getComponentPeer): Added check to prevent NPE. | |
706601d9 | 8863 | |
97b8365c TT |
8864 | 2006-08-10 Gary Benson <gbenson@redhat.com> |
8865 | ||
8866 | * java/security/AccessControlContext.java (<init>): | |
8867 | Avoid a duplicated AccessController.getContext() call. | |
8868 | ||
8869 | 2006-08-09 Mark Wielaard <mark@klomp.org> | |
8870 | ||
8871 | * doc/www.gnu.org/newsitems.txt: Add 0.92. | |
8872 | * doc/www.gnu.org/downloads/downloads.wml: Likewise. | |
8873 | * doc/www.gnu.org/announce/20060809.wml: New file. | |
706601d9 | 8874 | |
ac1ed908 MW |
8875 | 2006-08-09 Mark Wielaard <mark@klomp.org> |
8876 | ||
97b8365c | 8877 | * configure.ac (VERSION): Set to 0.92-generics. |
ac1ed908 MW |
8878 | * NEWS: Add updates for 0.92 release. |
8879 | ||
97b8365c TT |
8880 | 2006-08-09 Tom Tromey <tromey@redhat.com> |
8881 | ||
8882 | PR classpath/28658: | |
8883 | * java/text/SimpleDateFormat.java (parse): Let an unquoted space in | |
8884 | the pattern match any number of spaces in the text. | |
8885 | ||
8886 | 2006-08-09 Sven de Marothy <sven@physto.se> | |
8887 | ||
8888 | * java/awt/image/BufferedImage.java | |
8889 | (BufferedImage): Reimplement predefined-type constructor. | |
8890 | (observers/tileObservers): Field renamed to tileObservers. | |
8891 | (createDefaultIndexedColorModel): New method. | |
8892 | ||
8893 | 2006-08-09 Tom Tromey <tromey@redhat.com> | |
8894 | ||
8895 | PR classpath/28666: | |
8896 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c | |
8897 | (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes): | |
8898 | Create a 'short' array. | |
8899 | ||
8900 | 2006-08-09 Tom Tromey <tromey@redhat.com> | |
8901 | ||
8902 | * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly | |
8903 | handle arrays. | |
8904 | * tools/gnu/classpath/tools/javah/JniIncludePrinter.java | |
8905 | (writeFields): Print "L" after int constant. Don't mangle the field | |
8906 | name. Only print int/long fields. | |
8907 | ||
8908 | 2006-08-09 Tom Tromey <tromey@redhat.com> | |
8909 | ||
8910 | * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program | |
8911 | "javah". | |
8912 | ||
8913 | 2006-08-09 Sven de Marothy <sven@physto.se> | |
8914 | ||
8915 | * javax/swing/JTree.java | |
8916 | (JTree): Default SelectionModel should be DefaultTreeSelectionModel. | |
8917 | (setSelectionModel): Null parameter should create an EmptySelectionM. | |
8918 | ||
8919 | 2006-08-09 Roman Kennke <kennke@aicas.com> | |
8920 | ||
8921 | * javax/swing/text/AbstractDocument.java | |
8922 | (insertString): Perform modifications inside a write lock. | |
8923 | (insertStringImpl): Don't lock here. This is already done | |
8924 | in insertString(). | |
8925 | (replace): Perform modifications inside a write lock. | |
8926 | (AbstractElement.AbstractElement): Call addAttributes() to | |
8927 | add the attributes. | |
8928 | (AbstractElement.getName): Fetch name from the ElementNameAttibute. | |
8929 | (BranchElement.lastIndex): New field. Optimizes getElementIndex(). | |
8930 | (BranchElement.BranchElement): Set lastIndex to -1. | |
8931 | (BranchElement.getElementIndex): Implemented more efficient | |
8932 | search. | |
8933 | ||
8934 | 2006-08-09 Roman Kennke <kennke@aicas.com> | |
8935 | ||
8936 | * javax/swing/text/DefaultStyledDocument.java | |
8937 | (Edit): Moved this inner class into ElementBuffer where it | |
8938 | is actually needed. | |
8939 | (edits): Moved this field into ElementBuffer. | |
8940 | (getEditForParagraphAndIndex): Removed obsolete method. | |
8941 | (insertUpdate): Added some optimizations and fixes. Split | |
8942 | out handling insertion after newlines. | |
8943 | (insertAfterNewline): New helper method. Handles insertions | |
8944 | after a newline. | |
8945 | (ElementBuffer.Edit): New inner class. Moved here from | |
8946 | DefaultStyledDocument. | |
8947 | (ElementBuffer.createdFracture): New field. | |
8948 | (ElementBuffer.documentEvent): Made private. | |
8949 | (ElementBuffer.edits): New field. Moved here from | |
8950 | DefaultStyledDocument. | |
8951 | (ElementBuffer.fracNotCreated): Replaced by createdFracture. | |
8952 | (ElementBuffer.fracturedChild): New field. | |
8953 | (ElementBuffer.fracturedParent): New field. | |
8954 | (ElementBuffer.insertPath): New field. | |
8955 | (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and | |
8956 | fracturedParent. | |
8957 | (ElementBuffer.offsetLastIndex): New field. | |
8958 | (ElementBuffer.offsetLastIndexReplace): New field. | |
8959 | (ElementBuffer.recreateLeafs): New field. | |
8960 | (ElementBuffer.ElementBuffer): Don't initialize stack here. | |
8961 | (ElementBuffer.canJoin): New helper method. | |
8962 | (ElementBuffer.changeUpdate): Changed to use elementStack with | |
8963 | Edits rather than Elements. Let the split method do the work. | |
8964 | (ElementBuffer.cloneAsNecessary): New helper method. | |
8965 | (ElementBuffer.createFracture): Changed to fracture the bottommost | |
8966 | child in the stack. | |
8967 | (ElementBuffer.finishEdit): New helper method. Moved out | |
8968 | from insertUpdate to perform the actual changes and update | |
8969 | the event. | |
8970 | (fracture): New helper method. | |
8971 | (insertContentTag): Fixed some bugs and changed to use Edit | |
8972 | instances in the stack, rather then Elements. | |
8973 | (insertElement): New helper method. Moved out from insertUpdate() | |
8974 | to process the ElementSpecs. | |
8975 | (insertFirstContentTag): Fixed some problems and changed to use Edit | |
8976 | instances in the stack, rather then Elements. | |
8977 | (insertFracture): Removed. Basically moved into createFracture() | |
8978 | and fracture(). | |
8979 | (insertParagraph): Removed. | |
8980 | (insertUpdate): Split out the ElementSpec processing into | |
8981 | insertElement(). Use Edit instances in the stack. Fixed some | |
8982 | problems. | |
8983 | (insert): Split out the preparation and finishing code into | |
8984 | prepareEdit() and finishEdit(). | |
8985 | (join): New helper method. | |
8986 | (pop): New helper method. | |
8987 | (prepareEdit): New helper method. | |
8988 | (recreateFracturedElement): New helper method. | |
8989 | (recreateLeaves): Removed. | |
8990 | (recreate): New helper method. | |
8991 | (removeElements): New helper method. Split out from removeUpdate(). | |
8992 | (removeUpdate): Split out the actual removal. Use the | |
8993 | Edit stack to perform removal and perform the remove actions | |
8994 | and event updates afterwards, just like in insertImpl(). | |
8995 | (remove): Use prepareEdit() and finishEdit(). | |
8996 | (split): Replaced with more flexible impl. | |
8997 | ||
8998 | 2006-08-09 Sven de Marothy <sven@physto.se> | |
8999 | ||
9000 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
9001 | Change class to extend WritableRaster and not DataBuffer. | |
9002 | (CairoDataBuffer): New inner class. | |
9003 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
9004 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
9005 | * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java | |
9006 | Accomodate the above change. | |
9007 | ||
9008 | 2006-08-09 Sven de Marothy <sven@physto.se> | |
9009 | ||
9010 | * gnu/java/awt/peer/gtk/GtkMainThread.java | |
9011 | New file. | |
9012 | * gnu/java/awt/peer/gtk/GtkChoicePeer.java | |
9013 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
9014 | Replace GtkToolkit.mainThread with GtkMainThread.mainThread. | |
9015 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
9016 | Minor style fixes; removed unused fields, | |
9017 | set fields to private where possible. | |
9018 | (createDialog, createFrame, createWindow, createEmbeddedWindow): | |
9019 | Call GtkMainThread.createWindow(). | |
9020 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
9021 | (dispose): New method. | |
9022 | * include/gnu_java_awt_peer_gtk_GtkToolkit.h | |
9023 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c | |
9024 | (gtkQuit): New native method. | |
9025 | ||
9026 | 2006-08-08 Lillian Angel <langel@redhat.com> | |
9027 | ||
9028 | * java/awt/Component.java | |
9029 | (setDropTarget): Added check. | |
9030 | ||
9031 | 2006-08-08 Lillian Angel <langel@redhat.com> | |
9032 | ||
9033 | * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java | |
9034 | (GtkDragSourceContextPeer): Added FIXME. Changed call | |
9035 | to setTarget. | |
9036 | * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java | |
9037 | (GtkDropTargetContextPeer): Removed target initialization. | |
9038 | * java/awt/Component.java | |
9039 | (setTarget): Removed commented out code. | |
9040 | ||
9041 | 2006-08-08 Mark Wielaard <mark@klomp.org> | |
9042 | ||
9043 | * javax/swing/text/DefaultHighlighter.java: Qualify | |
9044 | Highlighter.HighlightPainter class name for gcj. | |
9045 | ||
9046 | 2006-08-05 Roman Kennke <kennke@aicas.com> | |
9047 | ||
9048 | * javax/swing/plaf/basic/BasicTableUI.java | |
9049 | (MouseInputHandler.mousePressed): Request focus on list | |
9050 | component. | |
9051 | ||
9052 | 2006-08-05 Roman Kennke <kennke@aicas.com> | |
9053 | ||
9054 | * javax/swing/plaf/basic/BasicListUI.java | |
9055 | (MouseInputHandler.mousePressed): Request focus on list | |
9056 | component. | |
9057 | ||
9058 | 2006-08-05 Roman Kennke <kennke@aicas.com> | |
ac1ed908 MW |
9059 | |
9060 | PR 28650 | |
9061 | * javax/swing/plaf/basic/BasicMenuBarUI.java | |
9062 | (getActionMap): Store ActionMap in MenuBar.actionMap, rather | |
9063 | than Tree.actionMap. | |
9064 | * javax/swing/plaf/basic/BasicTreeUI.java | |
9065 | (action): Removed obsolete field. | |
9066 | (uninstallKeyboardActions): Removed action field handling. | |
9067 | (installKeyboardActions): Removed action field handling. | |
9068 | (createDefaultActions): Don't install removed TreeAction. | |
9069 | (TreeAction): Removed obsolete inner class. | |
9070 | (ActionListenerProxy): Removed obsolete inner class. | |
9071 | (MouseHandler.mousePressed): Request focus on JTree component | |
9072 | on mouse press. | |
9073 | ||
9074 | 2006-08-08 Roman Kennke <kennke@aicas.com> | |
9075 | ||
9076 | * javax/swing/plaf/basic/BasicListUI.java | |
9077 | (MouseInputHandler.mousePressed): Request focus on list | |
9078 | component. | |
9079 | ||
9080 | 2006-08-08 Roman Kennke <kennke@aicas.com> | |
9081 | ||
9082 | * javax/swing/plaf/basic/BasicTableUI.java | |
9083 | (MouseInputHandler.mousePressed): Request focus on list | |
9084 | component. | |
9085 | ||
9086 | 2006-08-08 Roman Kennke <kennke@aicas.com> | |
9087 | ||
9088 | * javax/swing/plaf/basic/BasicTextUI.java | |
9089 | (damageRange(JTextComponent,int,int)): Call damageRange() with | |
9090 | correct biases, rather than null. | |
9091 | (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten | |
9092 | to use simpler modelToView() approach without much special | |
9093 | casing. This seems not worth the effort and actually | |
9094 | caused problems. Added locking of the document. | |
9095 | * javax/swing/text/BoxView.java | |
9096 | (requirementsValid): New field. | |
9097 | (calculateMajorAxisRequirements): Rewritten without using | |
9098 | SizeRequirements. The SizeRequirements algorithms are slightly | |
9099 | different and too inefficient. | |
9100 | (calculateMinorAxisRequirements): Rewritten without using | |
9101 | SizeRequirements. The SizeRequirements algorithms are slightly | |
9102 | different and too inefficient. | |
9103 | (getAlignment): Simply return the alignment of the cached | |
9104 | requirements. | |
9105 | (getMaximumSpan): Add insets. | |
9106 | (getMinimumSpan): Add insets. | |
9107 | (getPreferredSpan): Add insets. | |
9108 | (layoutMajorAxis): Rewritten without using | |
9109 | SizeRequirements. The SizeRequirements algorithms are slightly | |
9110 | different and too inefficient. | |
9111 | (layoutMinorAxis): Rewritten without using | |
9112 | SizeRequirements. The SizeRequirements algorithms are slightly | |
9113 | different and too inefficient. | |
9114 | (modelToView): Call setSize() rather than layout(). | |
9115 | (paint): Check clip for more efficient painting. | |
9116 | (preferenceChanged): Invalidate requirements here. | |
9117 | (replace): Invalidate requirements here. | |
9118 | (updateRequirements): Update requirements only when requirements | |
9119 | are marked invalid. | |
9120 | * javax/swing/text/CompositeView.java | |
9121 | (modelToView): Added some more checks and handling of corner cases. | |
9122 | * javax/swing/text/FlowView.java | |
9123 | (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum | |
9124 | span to Integer.MAX_VALUE. Limit preferredSize to minimumSize. | |
9125 | * javax/swing/text/IconView.java | |
9126 | (getAlignment): Implemented to return 1.0 for vertical alignment. | |
9127 | * javax/swing/text/ParagraphView.java | |
9128 | (Row.getMaximumSpan): Implemented to let Rows span the whole | |
9129 | ParagraphView. | |
9130 | (getAlignment): Fixed horizontal alignment and vertical alignment | |
9131 | for empty paragraphs to be 0.5. | |
9132 | ||
9133 | 2006-08-08 Roman Kennke <kennke@aicas.com> | |
9134 | ||
9135 | * javax/swing/text/View.java | |
9136 | (modelToView): Added special handling for corner case at the end | |
9137 | of the view and for multiline views. | |
9138 | ||
9139 | 2006-08-08 Roman Kennke <kennke@aicas.com> | |
9140 | ||
9141 | * javax/swing/plaf/basic/BasicTextUI.java | |
9142 | (modelToView): Read-lock the document. Set size of the | |
9143 | root view before fetching the model-to-view mapping. | |
9144 | (getViewIndex): Check of the position is inside the range and | |
9145 | return -1 if this is not the case. | |
9146 | (getViewAtPosition(int,Rectangle): Update child allocation for valid | |
9147 | view index. | |
9148 | (getViewIndexAtPosition(int)): Delegate the index search to | |
9149 | the element since we have a 1:1 mapping between elements and | |
9150 | views here. | |
9151 | * javax/swing/text/DefaultCaret.java | |
9152 | (appear): Ignore BadLocationException. | |
9153 | (paint): Ignore BadLocationException. | |
9154 | * javax/swing/text/FlowView.java | |
9155 | (changedUpdate): Also notify the layoutPool view. | |
9156 | (removeUpdate): Also notify the layoutPool view. | |
9157 | * javax/swing/text/ParagraphView.java | |
9158 | (Row.getViewIndexAtPosition): Overridden to search linearily | |
9159 | through the view instead of relying on a 1:1 model to view | |
9160 | mapping. | |
9161 | * javax/swing/text/View.java | |
9162 | (removeUpdate): Clear ElementChange object if updateChildren | |
9163 | returns false. | |
9164 | (forwardUpdate): Special handle some boundary cases. | |
9165 | ||
9166 | 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au> | |
9167 | ||
9168 | * gnu/java/security/key/dss/DSSKey.java: Updated documentation. | |
9169 | (hasInheritedParameters): New method. | |
9170 | (equals): Updated documentation. | |
9171 | Take into consideration the outcome of hasInheritedParameters invocation. | |
9172 | (toString): Call hasInheritedParameters and adjust the result accordingly. | |
9173 | * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey): | |
9174 | Updated documentation. | |
9175 | Handle case of public keys with null p, q, and g MPIs. | |
9176 | (decodePublicKey): Handle case of absent or NULL p, q and g MPIs. | |
9177 | ||
9178 | 2006-08-07 Tom Tromey <tromey@redhat.com> | |
9179 | ||
9180 | PR libgcj/23682: | |
9181 | * java/nio/channels/SelectionKey.java (attach): Now synchronized. | |
9182 | (attachment): Likewise. | |
9183 | * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now | |
9184 | synchronized. | |
9185 | (isValid): Likewise. | |
9186 | * gnu/java/nio/SelectionKeyImpl.java (impl): Now final | |
9187 | (ch): Likewise. | |
9188 | (interestOps): Synchronize. | |
9189 | (readyOps): Likewise. | |
9190 | * gnu/java/nio/SelectorImpl.java (register): Synchronize around | |
9191 | interestOps call. | |
9192 | ||
9193 | 2006-08-07 C. Scott Marshall <csm@gnu.org> | |
9194 | ||
9195 | Fixes PR 28608. | |
9196 | * java/nio/DirectByteBufferImpl.java (duplicate): only reset if | |
9197 | the mark has been set. | |
9198 | * native/jni/java-nio/java_nio_VMDirectByteBuffer.c | |
9199 | (Java_java_nio_VMDirectByteBuffer_allocate): zero out the | |
9200 | allocated data. | |
9201 | ||
9202 | 2006-08-07 Sven de Marothy <sven@physto.se> | |
9203 | ||
9204 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
9205 | (drawGlyphVector): Synchronize against font object when drawing. | |
9206 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
9207 | (nativeDrawGlyphVector): Use pango locking when drawing. | |
9208 | (install_font_peer): Use pango locking when creating the cairo face. | |
9209 | ||
9210 | 2006-08-06 Roman Kennke <kennke@aicas.com> | |
9211 | ||
9212 | PR 28571 | |
9213 | * gnu/java/awt/peer/gtk/GtkCanvasPeer.java | |
9214 | (getPreferredSize): Renamed method to preferredSize(). That's | |
9215 | the one that gets called from java.awt.*. | |
9216 | * java/awt/peer/ComponentPeer.java | |
9217 | (getPreferredSize): Added specnote about this method never | |
9218 | beeing called in the RI. | |
9219 | (getMinimumSize): Added specnote about this method never | |
9220 | beeing called in the RI. | |
9221 | ||
97b8365c | 9222 | 2006-08-03 Sven de Marothy <sven@physto.se> |
ac1ed908 MW |
9223 | |
9224 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
9225 | (grab, nativeGrab): New methods. | |
9226 | * include/gnu_java_awt_peer_gtk_ComponentGraphics.h | |
9227 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
9228 | (nativeGrab): New method. | |
9229 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
9230 | (print): Implement. | |
9231 | * java/awt/Component.java | |
97b8365c | 9232 | (printAll): Should call peer print method. |
ac1ed908 MW |
9233 | |
9234 | 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com> | |
9235 | ||
9236 | * java/net/URL.java (getContent(Class[])): Implement. | |
9237 | ||
9238 | 2006-08-06 Mark Wielaard <mark@klomp.org> | |
9239 | ||
9240 | PR 28555 | |
9241 | Suggested by Matthew Burgess <matthew@linuxfromscratch.org> | |
9242 | * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether | |
9243 | withParams is null. | |
9244 | * gnu/xml/transform/ForEachNode.java (clone): Check whether | |
9245 | sortKeys is null. | |
9246 | ||
9247 | 2006-08-06 Roman Kennke <kennke@aicas.com> | |
9248 | ||
9249 | * NEWS: Added note about the X peers. | |
97b8365c | 9250 | * INSTALL: Added install notes about the X peers. |
ac1ed908 MW |
9251 | |
9252 | 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au> | |
97b8365c | 9253 | Paul Jenner <psj@harker.dyndns.org> |
ac1ed908 MW |
9254 | |
9255 | * README: Update bug, patches and cvs instructions plus new URLs of | |
9256 | various external projects. | |
9257 | ||
9258 | 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com> | |
9259 | ||
9260 | * configure.ac (MOZILLA_FOUND): Fall back to | |
9261 | mozilla-firefox-plugin. | |
9262 | ||
9263 | 2006-08-06 Mario Torre <neugens@limasoftware.net> | |
9264 | ||
9265 | Reported by Raif S. Naffah <raif@swiftdsl.com.au> | |
9266 | * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client): | |
9267 | g_type_init earlier in function to correctly initialize the | |
9268 | type system used by the backend. | |
9269 | ||
97b8365c TT |
9270 | 2006-08-05 Roman Kennke <kennke@aicas.com> |
9271 | ||
9272 | * javax/swing/text/DefaultHighlight.java | |
9273 | (DefaultHighlightPainter.paintHighlight): Removed method. | |
9274 | (DefaultHighlightPainter.paintLayer): Implemented. | |
9275 | (DefaultHighlightPainter.paint): Implemented more efficient | |
9276 | painting for multiline-highlights. | |
9277 | (HighlightEntry.p0): Changed to be a Position. | |
9278 | (HighlightEntry.p1): Changed to be a Position. | |
9279 | (HighlightEntry.HighlightEntry): Changed to take Position | |
9280 | arfuments. | |
9281 | (HighlightEntry.getStartOffset): Changed to return p0.getOffset(); | |
9282 | (HighlightEntry.getEndOffset): Changed to return p1.getOffset(); | |
9283 | (LayerHighlightEntry): New inner class. Extends HighlightEntry | |
9284 | and tracks the painted rectangle for efficient repainting. | |
9285 | (addHighlight): Handle layered highlight. | |
9286 | (changeHighlight): Handle layered highlight. | |
9287 | (paintLayeredHighlights): Implemented. | |
9288 | (paint): Paint only non-layered highlights here. | |
9289 | (removeAllHighlights): Trigger correct repaint. | |
9290 | (removeHighlight): Handle layered highlight here for | |
9291 | more efficient repainting. | |
9292 | * javax/swing/text/GlyphView.java | |
9293 | (paint): Handle layered highlights. | |
9294 | * javax/swing/text/PlainView.java | |
9295 | (paint): Handle layered highlights. | |
9296 | * javax/swing/text/WrappedPlainView.java | |
9297 | (WrappedLine.paint): Handle layered highlights. | |
9298 | ||
9299 | 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
9300 | ||
9301 | PR 26972 | |
9302 | * NEWS: As suggested by Paul Jennier, added note about the fix of | |
9303 | the InitialContext. | |
9304 | ||
9305 | 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
9306 | ||
9307 | * NEWS: Added entry about the context factories for JNDI. | |
9308 | ||
9309 | 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
9310 | ||
9311 | PR 27383 | |
9312 | * gnu/CORBA/Connected_objects.java (size): New method. | |
9313 | * gnu/CORBA/OrbFunctional.java (countConnectedObjects): | |
9314 | New method. | |
9315 | * javax/naming/spi/NamingManager.java (getURLContext): | |
9316 | Also search for the URL context factories in | |
9317 | gnu/javax/naming/jndi/url. | |
9318 | * gnu/javax/naming/giop/ContextContinuation.java, | |
9319 | gnu/javax/naming/giop/CorbalocParser.java, | |
9320 | gnu/javax/naming/giop/GiopNamingEnumeration.java, | |
9321 | gnu/javax/naming/giop/GiopNamingServiceFactory.java, | |
9322 | gnu/javax/naming/giop/GiopNamingServiceURLContext.java, | |
9323 | gnu/javax/naming/giop/ListBindingsEnumeration.java, | |
9324 | gnu/javax/naming/giop/ListEnumeration.java, | |
9325 | gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java, | |
9326 | gnu/javax/naming/jndi/url/rmi/ContextContinuation.java, | |
9327 | gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java, | |
9328 | gnu/javax/naming/jndi/url/rmi/ListEnumeration.java, | |
9329 | gnu/javax/naming/jndi/url/rmi/RmiContinuation.java, | |
9330 | gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java, | |
9331 | gnu/javax/naming/jndi/url/rmi/rmiURLContext.java, | |
9332 | gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files. | |
9333 | ||
9334 | 2006-08-06 Sven de Marothy <sven@physto.se> | |
9335 | ||
9336 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
9337 | (drawGlyphVector): Synchronize against font object when drawing. | |
9338 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
9339 | (nativeDrawGlyphVector): Use pango locking when drawing. | |
9340 | (install_font_peer): Use pango locking when creating the cairo face. | |
9341 | ||
9342 | 2006-08-06 C. Scott Marshall <csm@gnu.org> | |
9343 | ||
9344 | Fixes PR 28608. | |
9345 | * java/nio/DirectByteBufferImpl.java (duplicate): only reset if | |
9346 | the mark has been set. | |
9347 | * native/jni/java-nio/java_nio_VMDirectByteBuffer.c | |
9348 | (Java_java_nio_VMDirectByteBuffer_allocate): zero out the | |
9349 | allocated data. | |
9350 | ||
9351 | 2006-08-06 Mark Wielaard <mark@klomp.org> | |
9352 | ||
9353 | PR 28555 | |
9354 | Suggested by Matthew Burgess <matthew@linuxfromscratch.org> | |
9355 | * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether | |
9356 | withParams is null. | |
9357 | * gnu/xml/transform/ForEachNode.java (clone): Check whether | |
9358 | sortKeys is null. | |
9359 | ||
9360 | 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au> | |
9361 | Paul Jenner <psj@harker.dyndns.org> | |
9362 | ||
9363 | * README: Update bug, patches and cvs instructions plus new URLs of | |
9364 | various external projects. | |
9365 | ||
9366 | 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
9367 | ||
9368 | * gnu/java/lang/management/BeanImpl.java: | |
9369 | (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo | |
9370 | with open variant. | |
9371 | (getCachedMBeanInfo()): Return open variant. | |
9372 | (getMBeanInfo()): Likewise. | |
9373 | (getTypeFromClass(Class)): Implemented. | |
9374 | (translateSignature(MBeanParameterInfo)): Likewise. | |
9375 | (translate(String)): Likewise. | |
9376 | * javax/management/StandardMBean.java: | |
9377 | (getMBeanInfo()): Return attribute names with capital letters, | |
9378 | as in docs for java.lang.management.ManagementFactory, and | |
9379 | ensure descriptions are not "". | |
9380 | * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java, | |
9381 | * javax/management/openmbean/OpenMBeanInfoSupport.java, | |
9382 | * javax/management/openmbean/OpenMBeanOperationInfoSupport.java: | |
9383 | (toString()): Use Arrays.toString(). | |
9384 | * javax/management/openmbean/OpenMBeanParameterInfoSupport.java: | |
9385 | (OpenMBeanParameterInfoSupport(String, String, OpenType)): | |
9386 | Set open type here rather than in other constructors. | |
9387 | ||
9388 | 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
9389 | ||
9390 | * javax/management/MBeanFeatureInfo.java: | |
9391 | Make string variable package-private. | |
9392 | * javax/management/StandardMBean.java: | |
9393 | (getMBeanInterface()): Made final. | |
9394 | * javax/management/openmbean/SimpleType.java: | |
9395 | Made final. | |
9396 | ||
9397 | 2006-08-05 Jeroen Frijters <jeroen@frijters.net> | |
9398 | ||
9399 | * java/awt/Component.java (setDropTarget): Commented out GTK specific | |
9400 | code. | |
9401 | ||
9402 | 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
9403 | ||
9404 | * examples/gnu/classpath/examples/swing/FillRect.java, | |
9405 | * gnu/CORBA/Focused_ORB.java, | |
9406 | * gnu/CORBA/interfaces/gnuSocketFactory.java, | |
9407 | * gnu/classpath/ByteArray.java, | |
9408 | * gnu/classpath/ObjectPool.java, | |
9409 | * gnu/java/awt/peer/ClasspathTextLayoutPeer.java, | |
9410 | * gnu/java/awt/peer/x/fonts.properties, | |
9411 | * gnu/java/security/util/Prime2.java, | |
9412 | * gnu/javax/imageio/gif/GIFStream.java, | |
9413 | * javax/swing/text/html/HTMLTableView.java, | |
9414 | * native/cni/Makefile.am, | |
9415 | * org/omg/CORBA/SendingContext/RunTimeOperations.java, | |
9416 | * org/omg/CORBA/SendingContext/Runtime.java, | |
9417 | * resource/gnu/regexp/MessagesBundle.properties, | |
9418 | * resource/gnu/regexp/MessagesBundle_fr.properties, | |
9419 | * resource/gnu/regexp/MessagesBundle_it.properties, | |
9420 | * tools/appletviewer.in, | |
9421 | * tools/jarsigner.in, | |
9422 | * tools/keytool.in, | |
9423 | * vm/reference/java/lang/management/VMThreadInfo.java: | |
9424 | Removed. | |
9425 | * examples/gnu/classpath/examples/awt/aicas.png, | |
9426 | * examples/gnu/classpath/examples/awt/palme.gif, | |
9427 | * examples/gnu/classpath/examples/java2d/aicas.png, | |
9428 | * examples/gnu/classpath/examples/java2d/palme.gif, | |
9429 | * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia, | |
9430 | * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png, | |
9431 | * java/awt/doc-files/capjoin.png, | |
9432 | * java/awt/geom/doc-files/Area-1.png, | |
9433 | * java/awt/geom/doc-files/Ellipse-1.png, | |
9434 | * java/awt/geom/doc-files/GeneralPath-1.png: | |
9435 | Added. | |
9436 | ||
9437 | 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
9438 | ||
9439 | * configdiag.jnlp: | |
9440 | Removed. | |
9441 | ||
9442 | 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
9443 | ||
9444 | * gnu/java/lang/management/BeanImpl.java: | |
9445 | (getAttribute(String)): Implemented. | |
9446 | ||
9447 | 2006-08-05 Roman Kennke <kennke@aicas.com> | |
9448 | ||
9449 | * javax/swing/text/JTextComponent.java | |
9450 | (AccessibleJTextComponent.dot): Renamed field into caretDot. | |
9451 | (AccessibleJTextComponent.textComp): Removed field | |
9452 | and replace with JTextComponent.this construct. | |
9453 | (AccessibleJTextComponent.AccessibleJTextComponent): | |
9454 | Fetch caret position. | |
9455 | (caretUpdate): Implemented. Fires property change events and | |
9456 | updates the caretDot field. | |
9457 | (changedUpdate): Implemented. Fires property change events. | |
9458 | (insertUpdate): Implemented. Fires property change events. | |
9459 | (removeUpdate): Implemented. Fires property change events. | |
9460 | (cut): Replaced textComp with JTextComponent.this construct. | |
9461 | (paste): Replaced textComp with JTextComponent.this construct. | |
9462 | (replaceText): Replaced textComp with JTextComponent.this construct. | |
9463 | (selectText): Replaced textComp with JTextComponent.this construct. | |
9464 | (getCaretPosition): Replaced textComp with JTextComponent.this | |
9465 | construct. | |
9466 | (getCharCount): Replaced textComp with JTextComponent.this construct. | |
9467 | (getSelectedText): Replaced textComp with JTextComponent.this | |
9468 | construct. | |
9469 | (getSelectionEnd): Replaced textComp with JTextComponent.this | |
9470 | construct. | |
9471 | (getSelectionStart): Replaced textComp with JTextComponent.this | |
9472 | construct. | |
9473 | (getTextRange): Replaced textComp with JTextComponent.this | |
9474 | construct. | |
9475 | (doAccessibleAction): Implemented. | |
9476 | (getAccessibleActionCount): Implemented. | |
9477 | (getAccessibleActionDescription): Implemented. | |
9478 | (getAccessibleStateSet): Implemented. | |
9479 | (getAfterIndex): Implemented. | |
9480 | (getBeforeIndex): Implemented. | |
9481 | (getAtIndex): Implemented. | |
9482 | (getAtIndexImpl): New helper method. | |
9483 | (getCharacterAttribute): Implemented. | |
9484 | (getCharacterBounds): Implemented. | |
9485 | (getIndexAtPoint): Implemented. | |
9486 | (insertTextAtIndex): Implemented. | |
9487 | (setAttributes): Implemented. | |
9488 | (setTextContents): Implemented. | |
9489 | ||
9490 | 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au> | |
9491 | ||
9492 | * configure.ac: Better handling of default-preferences-peer option. | |
9493 | ||
9494 | 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch> | |
9495 | ||
9496 | * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to | |
9497 | double[]. | |
9498 | ||
9499 | 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
9500 | ||
9501 | * javax/management/openmbean/TabularData.java: | |
9502 | Documentation corrections. | |
9503 | * javax/management/openmbean/TabularDataSupport.java: | |
9504 | New file. | |
9505 | ||
9506 | 2006-08-04 Francis Kung <fkung@redhat.com> | |
9507 | ||
9508 | * java/awt/BasicStroke.java | |
9509 | (dashedStroke): Implemented. | |
9510 | ||
9511 | 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
9512 | ||
9513 | * javax/management/BadAttributeValueExpException.java, | |
9514 | * javax/management/BadStringOperationException.java, | |
9515 | * javax/management/InstanceAlreadyExistsException.java, | |
9516 | * javax/management/InstanceNotFoundException.java, | |
9517 | * javax/management/InvalidApplicationException.java, | |
9518 | * javax/management/MBeanRegistrationException.java, | |
9519 | * javax/management/MalformedObjectNameException.java, | |
9520 | * javax/management/RuntimeErrorException.java, | |
9521 | * javax/management/RuntimeMBeanException.java, | |
9522 | * javax/management/ServiceNotFoundException.java: | |
9523 | New files. | |
9524 | ||
9525 | 2006-08-04 Roman Kennke <kennke@aicas.com> | |
9526 | ||
9527 | * javax/swing/SwingUtilities.java | |
9528 | (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int, | |
9529 | int,Rectangle,Rectangle,Rectangle,int)): Delegate to new | |
9530 | layoutCompoundLabelImpl(). | |
9531 | (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int, | |
9532 | Rectangle,Rectangle,Rectangle,int)): Delegate to new | |
9533 | layoutCompoundLabelImpl(). | |
9534 | (layoutCompoundLabelImpl): New helper method. Moved impl from | |
9535 | layoutCompoundLabel() to here and added handling of HTML. | |
9536 | * javax/swing/plaf/basic/BasicButtonUI.java | |
9537 | (installUI): Update HTML view if appropriate. | |
9538 | (uninstallUI): New method. Do the usual uninstallUI things | |
9539 | and uninstall HTML view. | |
9540 | (getMinimumSize): New method. Adjusts the minimum size | |
9541 | by the HTML view minimum size. | |
9542 | (getMaximumSize): New method. Adjusts the maximum size | |
9543 | by the HTML view maximum size. | |
9544 | (getPreferredSize): Pass the button's iconTextGap to the | |
9545 | BasicGraphicsUtils method. | |
9546 | (paint): Let HTML view paint the text, if present. | |
9547 | * javax/swing/plaf/basic/BasicButtonListener.java | |
9548 | (propertyChange): Update the HTML view when the button's | |
9549 | text is changed. | |
9550 | ||
9551 | 2006-08-04 Mario Torre <neugens@limasoftware.net> | |
9552 | ||
9553 | Reported by Raif S. Naffah <raif@swiftdsl.com.au> | |
9554 | * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client): | |
9555 | g_type_init earlier in function to correctly initialize the | |
9556 | type system used by the backend. | |
9557 | ||
9558 | 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
9559 | ||
9560 | PR 26972 | |
9561 | * javax/naming/Name.java (addAll, getPrefix, getSuffix): | |
9562 | Documented. | |
9563 | * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file. | |
9564 | ||
9565 | 2006-08-04 Robert Schuster <robertschuster@fsfe.org> | |
ac1ed908 MW |
9566 | |
9567 | Reported by Henrik Gulbrandsen <henrik@gulbra.net> | |
97b8365c TT |
9568 | Fixes PR27864. |
9569 | * gnu/xml/dom/DomIterator.java: | |
9570 | (successor): Added if-statement. | |
9571 | ||
9572 | 2006-08-04 Mark Wielaard <mark@klomp.org> | |
9573 | ||
9574 | * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh. | |
9575 | ||
9576 | 2006-08-04 Robert Schuster <robertschuster@fsfe.org> | |
9577 | ||
9578 | * javax/swing/plaf/metal/MetalMenuBarUI.java: | |
9579 | (update): Check size and paint smaller gradient. | |
9580 | * javax/swing/plaf/metal/MetalBorders.java: | |
9581 | (MenuBarBorder): Removed borderColor field. | |
9582 | (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or | |
9583 | MetalLookAndFeel. | |
9584 | ||
9585 | 2006-08-03 Roman Kennke <kennke@aicas.com> | |
ac1ed908 | 9586 | |
97b8365c TT |
9587 | PR 27637 |
9588 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
9589 | (ComponentHandler.componentResized): Reimplemented to handle | |
9590 | arbitrary parents. | |
9591 | (InternalFramePropertyChangeHandler.propertyChange): (Un)install | |
9592 | component listener on changed ancestor. | |
9593 | (installListeners): Install componentListener. | |
9594 | (uninstallListeners): Uninstall componentListener. | |
9595 | ||
9596 | 2006-08-03 Carsten Neumann <cn-develop@gmx.net> | |
9597 | ||
9598 | * StrictMath.java (cbrt): Return argument if it is a NaN. | |
9599 | (cosh): Likewise. | |
9600 | (expm1): Likewise. | |
9601 | (sinh): Likewise. | |
9602 | ||
9603 | 2006-08-03 Carsten Neumann <cn-develop@gmx.net> | |
9604 | ||
9605 | * java/lang/StrictMath.java (tanh): New method. | |
9606 | ||
9607 | 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au> | |
9608 | ||
9609 | * scripts/import-cacerts.sh: Batch CA certificates import script. | |
9610 | ||
ac1ed908 MW |
9611 | 2006-08-03 Roman Kennke <kennke@aicas.com> |
9612 | ||
9613 | PR 27606 | |
9614 | * javax/swing/plaf/basic/BasicListUI.java | |
9615 | (paintCell): Pass row index to cell renderer. | |
9616 | * javax/swing/plaf/basic/MetalFileChooserUI.java | |
9617 | (DirectoryComboBoxRenderer.indentIcon): New field. | |
9618 | (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer): | |
9619 | Initialize indentIcon. | |
9620 | (DirectoryComboBoxRenderer.getListCellRendererComponent): | |
9621 | Fall back to super and removed standard functionality. | |
9622 | Handle indentation. | |
9623 | (IndentIcon): New class. Wraps and indents another icon. | |
9624 | ||
97b8365c TT |
9625 | 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org> |
9626 | ||
9627 | * javax/management/MBeanConstructorInfo.java: | |
9628 | (MBeanConstructorInfo(String,String,MBeanParameterInfo[]): | |
9629 | Copy array rather than directly assigning. | |
9630 | * javax/management/MBeanInfo.java: | |
9631 | (MBeanInfo(String,String,MBeanAttributeInfo[], | |
9632 | MBeanConstructorInfo[], MBeanOperationInfo[], | |
9633 | MBeanNotificationInfo[])): Likewise. | |
9634 | * javax/management/MBeanOperationInfo.java: | |
9635 | (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)): | |
9636 | Likewise. | |
9637 | * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java, | |
9638 | * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java: | |
9639 | New files. | |
9640 | * javax/management/openmbean/OpenMBeanInfo.java: | |
9641 | Corrected documentation. | |
9642 | * javax/management/openmbean/OpenMBeanInfoSupport.java: | |
9643 | New file. | |
9644 | * javax/management/openmbean/OpenMBeanOperationInfo.java: | |
9645 | Corrected documentation. | |
9646 | * javax/management/openmbean/OpenMBeanOperationInfoSupport.java: | |
9647 | New file. | |
9648 | * javax/management/openmbean/OpenMBeanParameterInfoSupport.java: | |
9649 | (MBeanParameterInfo(String,String,OpenType,Object,Object[])): | |
9650 | Call other constructor rather than reimplementing. | |
9651 | ||
9652 | 2006-08-02 Lillian Angel <langel@redhat.com> | |
9653 | ||
9654 | * java/awt/dnd/DragSource.java | |
9655 | (isDragImageSupported): Implemented. | |
9656 | (getDragThreshold): Changed default value. | |
9657 | * java/awt/dnd/DropTarget.java | |
9658 | (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE. | |
9659 | (DropTarget): Likewise. | |
9660 | (DropTarget): If FlavorMap passed in is null, we should use the system default. | |
9661 | (addDropTargetListener): Added check to determine if new DropTargetListener | |
9662 | is this class. If so, an IllegalArgumentException is thrown. If the | |
9663 | new listener is null, nothing happens. | |
9664 | ||
9665 | 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com> | |
9666 | ||
9667 | * configure.ac (MOZILLA_FOUND): Fall back to | |
9668 | mozilla-firefox-plugin. | |
9669 | ||
9670 | 2006-08-02 Sven de Marothy <sven@physto.se> | |
9671 | ||
9672 | * java/awt/geom/AffineTransform.java | |
9673 | (hashCode): Tweak impl. | |
9674 | * java/awt/font/FontRenderContext.java | |
9675 | (hashCode): Implement. | |
9676 | ||
9677 | 2006-08-02 Carsten Neumann <cn-develop@gmx.net> | |
9678 | ||
9679 | * java/lang/StrictMath.java (sinh): New method. | |
9680 | ||
9681 | 2006-08-02 Roman Kennke <kennke@aicas.com> | |
ac1ed908 MW |
9682 | |
9683 | PR 27605 | |
9684 | * javax/swing/JComboBox.java | |
9685 | (setSelectedItem): Fire ActionEvent here. | |
9686 | * javax/swing/plaf/basic/BasicDirectoryModel.java | |
9687 | (directories): Changed to type Vector. | |
9688 | (files): New field. | |
9689 | (loadThread): New field. | |
9690 | (DirectoryLoadThread): New inner class. This loads the contents | |
9691 | of directories asynchronously. | |
9692 | (getDirectories): Return cached Vector. | |
9693 | (getFiles): Return cached Vector. | |
9694 | (getSize): Return plain size of contents Vector. | |
9695 | (propertyChange): Reread directory also for DIRECTORY_CHANGED, | |
9696 | FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED. | |
9697 | (sort): Don't store sorted list in contents. This must be done | |
9698 | asynchronously from the EventThread. | |
9699 | (validateFileCache): Rewritten for asynchronous reading | |
9700 | of directory contents. | |
9701 | * javax/swing/plaf/basic/BasicFileChooserUI.java | |
9702 | (installListeners): Install model as PropertyChangeListener. | |
9703 | (uninstallListeners): Uninstall model as PropertyChangeListener. | |
9704 | (createPropertyChangeListener): Return null just like the | |
9705 | RI. | |
9706 | ||
97b8365c TT |
9707 | 2006-08-02 Sven de Marothy <sven@physto.se> |
9708 | ||
9709 | * gnu/java/awt/peer/gtk/GtkChoicePeer.java | |
9710 | (remove): Force event on removing item 0 when it's selected. | |
9711 | (handleEvent): Always call Choice.selected(). | |
9712 | * java/awt/Choice.java: | |
9713 | (remove): Simplify and correct. | |
9714 | ||
9715 | 2006-08-02 Mark Wielaard <mark@klomp.org> | |
9716 | ||
9717 | PR 28535 | |
9718 | * configure.ac (gconf-peer): Check for gdk-2.0. | |
9719 | * native/jni/gconf-peer/Makefile.am | |
9720 | (AM_LDFLAGS): Use GDK_LIBS. | |
9721 | (AM_CFLAGS): Use GDK_CFLAGS. | |
9722 | ||
9723 | 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com> | |
9724 | ||
9725 | * java/net/URL.java (getContent(Class[])): Implement. | |
9726 | ||
9727 | 2006-08-02 Roman Kennke <kennke@aicas.com> | |
9728 | ||
9729 | PR 27624 | |
9730 | * javax/swing/JMenu.java | |
9731 | (JMenu()): Removed setting of delay. | |
9732 | (JMenu(String)): Removed setting of delay. | |
9733 | (JMenu(Action)): Removed setting of delay. | |
9734 | (JMenu(String,boolean)): Removed setting of delay. | |
9735 | (setSelectedHelper): Removed unneeded method. | |
9736 | (setSelected): Simply set the model state. | |
9737 | (setPopupMenuVisible): Recognize the popup location | |
9738 | determined by getPopupMenuOrigin(). | |
9739 | (getPopupMenuOrigin): Recognize the UI properties for | |
9740 | X and Y offset. | |
9741 | (menuSelectionChanged): Call setSelected() directly. | |
9742 | * javax/swing/JPopupMenu.java | |
9743 | (menuSelectionChanged): If invoker is a JMenu, then delegate | |
9744 | to that to get the position right. | |
9745 | * javax/swing/Popup.java | |
9746 | (LightweightPopup.show): Insert the popup as first component | |
9747 | in the layer, so that it overlaps it's caller. | |
9748 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
9749 | (getPath): Don't include the popup. | |
9750 | * javax/swing/plaf/basic/BasicMenuUI.java | |
9751 | (SelectMenuAction): New class. This invokes the popup when | |
9752 | a menu is selected. | |
9753 | (installDefaults): Install delay of 200 ms. | |
9754 | (setupPostTimer): Implemented. | |
9755 | (MouseInputHandler.mouseClicked): Do nothing here. | |
9756 | (MouseInputHandler.mouseEntered): Use MenuSelectionManager | |
9757 | magic to handle the selection. Open the menu via a timer. | |
9758 | (MouseInputHandler.mousePressed): Use MenuSelectionManager | |
9759 | magic to handle the selection. Open the menu via a timer. | |
9760 | (MenuDragMouseHandler.menuMouseDragged): Probably use | |
9761 | timer. | |
9762 | (menuDragMouseEntered): Do nothing here. | |
9763 | ||
9764 | 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
9765 | ||
9766 | * javax/management/openmbean/InvalidOpenTypeException.java, | |
9767 | * javax/management/openmbean/KeyAlreadyExistsException.java: | |
9768 | New files. | |
9769 | ||
9770 | 2006-08-02 Roman Kennke <kennke@aicas.com> | |
ac1ed908 MW |
9771 | |
9772 | PR 27604 | |
9773 | * javax/swing/plaf/basic/BasicChooserUI.java | |
9774 | (BasicFileView.getName): Fetch the real name from the | |
9775 | file chooser's FileSystemView. | |
9776 | * javax/swing/plaf/metal/MetalChooserUI.java | |
9777 | (DirectoryComboBoxRenderer.getListCellRendererComponent): | |
9778 | Set the text fetched from the JFileChooser.getName(). | |
9779 | * javax/swing/FileSystemView.java | |
9780 | (createFileObject): When file is a filesystem root, | |
9781 | create a filesystem root object first. | |
9782 | (getSystemDisplayName): Return the filename. Added specnote | |
9783 | about ShellFolder class that is mentioned in the spec. | |
9784 | * javax/swing/UnixFileSystemView.java | |
9785 | (getSystemDisplayName): Implemented to return the real name | |
9786 | of a file, special handling files like '.' or '..'. | |
9787 | ||
97b8365c TT |
9788 | 2006-08-03 Mark Wielaard <mark@klomp.org> |
9789 | ||
9790 | * examples/gnu/classpath/examples/icons/badge.png: Add file. | |
9791 | ||
ac1ed908 MW |
9792 | 2006-08-03 Roman Kennke <kennke@aicas.com> |
9793 | ||
9794 | PR 28562 | |
9795 | * javax/swing/plaf/basic/BasicOptionPaneUI.java | |
9796 | (PropertyChangeHandler.propertyChange): Cleanly reinstall | |
97b8365c | 9797 | components when visual property chanegs. |
ac1ed908 MW |
9798 | |
9799 | 2006-08-03 Roman Kennke <kennke@aicas.com> | |
9800 | ||
9801 | PR 28562 | |
9802 | * javax/swing/plaf/basic/BasicOptionPaneUI.java | |
9803 | (PropertyChangeHandler.propertyChange): Uninstall and reinstall | |
9804 | component when visual properties change. | |
9805 | ||
9806 | 2006-08-03 Roman Kennke <kennke@aicas.com> | |
9807 | ||
9808 | PR 28534 | |
9809 | * javax/swing/JTree.java | |
9810 | (JTree(TreeModel)): Set cell renderer to null. | |
9811 | * javax/swing/plaf/basic/BasicTreeUI.java | |
9812 | (setCellRenderer): Finish editing before setting the | |
9813 | cell renderer. Refresh the layout. Don't set the | |
9814 | currentCellRenderer field here (that's done in updateRenderer). | |
9815 | (updateRenderer): Handle createdRenderer field here too. | |
9816 | Set renderer to a default handler when the current renderer | |
9817 | in the JTree is null. | |
9818 | ||
97b8365c | 9819 | 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au> |
ac1ed908 | 9820 | |
97b8365c TT |
9821 | PR Classpath/23899 |
9822 | * java/security/SecureRandom.java (next): Call nextBytes as per specs. | |
ac1ed908 | 9823 | |
97b8365c | 9824 | 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au> |
ac1ed908 MW |
9825 | |
9826 | PR Classpath/28556 | |
97b8365c TT |
9827 | * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey): |
9828 | Updated documentation to clarify that RFC-2459 states that the parameters | |
9829 | field of the AlgorithmIdentifier element MUST be NULL if present. | |
9830 | Amended the code to reflect the specs. | |
ac1ed908 MW |
9831 | (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters. |
9832 | ||
97b8365c | 9833 | 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org> |
ac1ed908 | 9834 | |
97b8365c TT |
9835 | * javax/management/openmbean/OpenMBeanParameterInfoSupport.java: |
9836 | Call parameter 'defaultValue' not 'defValue'. | |
ac1ed908 | 9837 | |
97b8365c | 9838 | 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org> |
ac1ed908 | 9839 | |
97b8365c TT |
9840 | * javax/management/openmbean/OpenMBeanParameterInfoSupport.java: |
9841 | New file. | |
ac1ed908 | 9842 | |
97b8365c TT |
9843 | 2006-08-01 Roman Kennke <kennke@aicas.com> |
9844 | ||
9845 | PR 28562 | |
9846 | * javax/swing/plaf/basic/BasicOptionPaneUI.java | |
9847 | (PropertyChangeHandler.propertyChange): Cleanly reinstall | |
9848 | components when visual property chanegs. | |
9849 | ||
9850 | 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
9851 | ||
9852 | * javax/management/openmbean/OpenMBeanAttributeInfo.java: | |
9853 | (toString()): Corrected documentation. | |
9854 | * javax/management/openmbean/OpenMBeanConstructorInfo.java, | |
9855 | * javax/management/openmbean/OpenMBeanInfo.java, | |
9856 | * javax/management/openmbean/OpenMBeanOperationInfo.java: | |
9857 | New files. | |
9858 | * javax/management/openmbean/OpenMBeanParameterInfo.java: | |
9859 | (toString()): Corrected documentation. | |
9860 | ||
9861 | 2006-08-01 Tania Bento <tbento@redhat.com> | |
ac1ed908 | 9862 | |
97b8365c TT |
9863 | * java/awt/Choice.java |
9864 | (remove(int)): Added documentation. | |
ac1ed908 | 9865 | |
97b8365c TT |
9866 | 2006-08-01 Tania Bento <tbento@redhat.com> |
9867 | ||
9868 | * java/awt/Choice.java | |
9869 | (remove(int)): An IllegalArgumentException should not be thrown | |
9870 | if int is invalid. Update selectedIndex and peer selection. | |
ac1ed908 | 9871 | |
97b8365c | 9872 | 2006-08-01 Tania Bento <tbento@redhat.com> |
ac1ed908 | 9873 | |
97b8365c TT |
9874 | * java/awt/CardLayout.java |
9875 | (toString): Changed format of string outputted. | |
9876 | (goToComponent): Changed the order of the if-clause. | |
ac1ed908 | 9877 | |
97b8365c TT |
9878 | 2006-07-31 Tom Tromey <tromey@redhat.com> |
9879 | ||
9880 | * INSTALL: Updated for ASM. | |
9881 | ||
9882 | 2006-07-31 Tom Tromey <tromey@redhat.com> | |
9883 | ||
9884 | PR libgcj/23682: | |
9885 | * java/nio/channels/SelectionKey.java (attach): Now synchronized. | |
9886 | (attachment): Likewise. | |
9887 | * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now | |
9888 | synchronized. | |
9889 | (isValid): Likewise. | |
9890 | * gnu/java/nio/SelectionKeyImpl.java (impl): Now final | |
9891 | (ch): Likewise. | |
9892 | (interestOps): Synchronize. | |
9893 | (readyOps): Likewise. | |
9894 | * gnu/java/nio/SelectorImpl.java (register): Synchronize around | |
9895 | interestOps call. | |
9896 | ||
9897 | 2006-07-31 Roman Kennke <kennke@aicas.com> | |
9898 | ||
9899 | * NEWS: Added note about the X peers. | |
9900 | * INSTALL: Added install notes about the X peers. | |
9901 | ||
9902 | 2006-07-31 Carsten Neumann <cn-develop@gmx.net> | |
9903 | ||
9904 | * StrictMath.java (getLowDWord): Return long instead of int. | |
9905 | (getHighDWord): Likewise. | |
9906 | (buildDouble): Take two long arguments. | |
9907 | (cbrt): Adapted to int -> long change. | |
9908 | (expm1): Likewise. | |
9909 | (cosh): Likewise. | |
9910 | ||
9911 | 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
9912 | ||
9913 | * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add | |
9914 | -avoid-version. | |
ac1ed908 MW |
9915 | |
9916 | 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au> | |
9917 | ||
9918 | * java/security/Provider.java: Updated copyright year. | |
9919 | Updated documentation. | |
9920 | Formatting. | |
9921 | (put): Updated documentation. | |
9922 | Added security manager check. | |
9923 | Canonicalize the key before adding its mapping. | |
9924 | (get): Override superclass implementation to use canonicalized keys. | |
9925 | (remove): Updated documentation. | |
9926 | Added security manager check. | |
9927 | Canonicalize the key before removing its mapping. | |
9928 | (clear): Updated documentation. | |
9929 | Added security manager check. | |
9930 | (toCanonicalKey): New method. | |
9931 | ||
9932 | 2006-07-30 Matt Wringe <mwringe@redhat.com> | |
9933 | ||
9934 | * gnu/java/security/Engine.java | |
9935 | (getInstance): Ignore self referencing aliases. | |
9936 | ||
97b8365c TT |
9937 | 2006-07-30 Mark Wielaard <mark@klomp.org> |
9938 | ||
9939 | * javax/swing/JComponent.java (getListeners): Revert | |
9940 | un-genericization. | |
9941 | ||
ac1ed908 MW |
9942 | 2006-07-30 Mark Wielaard <mark@klomp.org> |
9943 | ||
9944 | * resource/java/security/classpath.security: Add /dev/urandom as | |
9945 | default securerandom.source. | |
9946 | ||
9947 | 2006-07-30 Mark Wielaard <mark@klomp.org> | |
9948 | ||
9949 | * java/util/GregorianCalendar.java (maximums): Months can have up to | |
9950 | 6 weeks. | |
9951 | (nonLeniencyCheck): weeks is either 5 or 6. | |
9952 | ||
97b8365c TT |
9953 | 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org> |
9954 | ||
9955 | * javax/management/openmbean/OpenMBeanAttributeInfo.java, | |
9956 | * javax/management/openmbean/OpenMBeanParameterInfo.java: | |
9957 | New files. | |
9958 | ||
9959 | 2006-07-30 Matt Wringe <mwringe@redhat.com> | |
9960 | ||
9961 | * gnu/java/security/Engine.java | |
9962 | (getInstance): Ignore self referencing aliases. | |
9963 | ||
9964 | 2006-07-30 Sven de Marothy <sven@physto.se> | |
9965 | ||
9966 | * java/awt/Choice.java: | |
9967 | (accessibleAction): Call select() directly. | |
9968 | (add, insert, remove): Reimplement. | |
9969 | (dispatchEventImpl): Always call super. | |
9970 | (processItemEvent): Does not set the index. | |
9971 | * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h | |
9972 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
9973 | (append): removed. | |
9974 | (nativeAdd): Name changed to add. | |
9975 | (selection_changed_cb): Simplify callback. | |
9976 | * gnu/java/awt/peer/gtk/GtkChoicePeer.java | |
9977 | (selected): New field. | |
9978 | (add): Replaced with native impl. | |
9979 | (handleEvent): New method. | |
9980 | ||
9981 | 2006-07-30 Sven de Marothy <sven@physto.se> | |
9982 | ||
9983 | * java/awt/Choice.java: | |
9984 | Reformat, fix copyright year. | |
9985 | ||
ac1ed908 MW |
9986 | 2006-07-29 Mark Wielaard <mark@klomp.org> |
9987 | ||
9988 | * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed | |
9989 | static field isPaintingDoubleBuffered to not have the same name | |
9990 | as a method. | |
9991 | ||
97b8365c TT |
9992 | 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org> |
9993 | ||
9994 | * examples/gnu/classpath/examples/management/TestBeans.java: | |
9995 | New file. | |
9996 | * javax/management/MBeanAttributeInfo.java: | |
9997 | (toString()): Implemented. | |
9998 | * javax/management/MBeanConstructorInfo.java: | |
9999 | (toString()): Implemented. | |
10000 | * javax/management/MBeanFeatureInfo.java: | |
10001 | (toString()): Implemented. | |
10002 | * javax/management/MBeanInfo.java: | |
10003 | (toString()): Implemented. | |
10004 | * javax/management/MBeanNotificationInfo.java: | |
10005 | (toString()): Implemented. | |
10006 | * javax/management/MBeanOperationInfo.java: | |
10007 | (toString()): Implemented. | |
10008 | * javax/management/MBeanParameterInfo.java: | |
10009 | (toString()): Implemented. | |
10010 | * javax/management/StandardMBean.java: | |
10011 | (getMBeanInfo()): Fix attribute naming. | |
10012 | ||
ac1ed908 MW |
10013 | 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org> |
10014 | ||
10015 | * gnu/java/lang/management/BeanImpl.java: | |
10016 | Extended javax.management.StandardMBean. | |
10017 | * gnu/java/lang/management/ClassLoadingMXBeanImpl.java, | |
10018 | * gnu/java/lang/management/CompilationMXBeanImpl.java, | |
10019 | * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java, | |
10020 | * gnu/java/lang/management/MemoryMXBeanImpl.java, | |
10021 | * gnu/java/lang/management/MemoryManagerMXBeanImpl.java, | |
10022 | * gnu/java/lang/management/MemoryPoolMXBeanImpl.java, | |
10023 | * gnu/java/lang/management/OperatingSystemMXBeanImpl.java, | |
10024 | * gnu/java/lang/management/RuntimeMXBeanImpl.java, | |
10025 | * gnu/java/lang/management/ThreadMXBeanImpl.java: | |
10026 | Call the superclass with the appropriate class. | |
10027 | * java/lang/management/ManagementFactory.java: | |
10028 | (getOperatingSystemMXBean()): Catch exception from | |
10029 | StandardMBean. | |
10030 | (getRuntimeMXBean()): Likewise. | |
10031 | (getClassLoadingMXBean()): Likewise. | |
10032 | (getThreadMXBean()): Likewise. | |
10033 | (getMemoryMXBean()): Likewise. | |
10034 | (getCompilationMXBean()): Likewise. | |
10035 | (getMemoryPoolMXBeans()): Likewise. | |
10036 | (getMemoryManagerMXBeans()): Likewise. | |
10037 | (getGarbageCollectorMXBeans()): Likewise. | |
10038 | * javax/management/MBeanFeatureInfo.java: | |
97b8365c | 10039 | hashCode()): Fixed to check for null values. |
ac1ed908 MW |
10040 | |
10041 | 2006-07-29 Matt Wringe <mwringe@redhat.com> | |
10042 | ||
10043 | * gnu/java/security/Engine.java | |
10044 | (getInstance): Add case insentivity to algorithm names | |
10045 | * java/security/Provider.java | |
10046 | (put): Stop using canonical key naming | |
10047 | (remove): Likewise | |
10048 | (toCanonicalKey): Method removed | |
10049 | (get): Method removed, no longer needs to overwrite | |
10050 | parent implementation | |
10051 | ||
97b8365c TT |
10052 | 2006-07-29 Mark Wielaard <mark@klomp.org> |
10053 | ||
10054 | * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed. | |
10055 | * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed. | |
10056 | * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed. | |
10057 | * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed. | |
10058 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed. | |
10059 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c: | |
10060 | Removed. | |
10061 | ||
ac1ed908 MW |
10062 | 2006-07-29 Sven de Marothy <sven@physto.se> |
10063 | ||
10064 | * java/math/BigDecimal.java | |
10065 | Adjust copyright date. | |
10066 | (divide(BigDecimal): Implement. | |
10067 | (precision): Reimplement. | |
10068 | (numDigitsInBigInteger, numDigitsInLong): Removed. | |
10069 | (toString): Get exponent from string length, | |
10070 | fix negative values with exponential form. | |
10071 | (toEngineeringString): Same as for toString. | |
10072 | (setScale): Throw ArithmeticException if scale < 0. | |
10073 | ||
10074 | 2006-07-27 Francis Kung <fkung@redhat.com> | |
10075 | ||
10076 | * gnu/java/awt/java2d/CubicSegment.java: Added import. | |
10077 | (cp1): Renamed from first(). | |
10078 | (c2): Renamed from last(). | |
10079 | (first): Renamed to cp1(). | |
10080 | (getDisplacedSegments): Implemented. | |
10081 | (last): Renamed to cp2(). | |
10082 | * gnu/java/awt/java2d/LineSegment.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/QuadSegment.java | |
10088 | (cp1): Renamed from first(). | |
10089 | (c2): Renamed from last(). | |
10090 | (first): Renamed to cp1(). | |
10091 | (last): Renamed to cp2(). | |
10092 | * gnu/java/awt/java2d/Segment.java: Added comments. | |
10093 | (first): New field. | |
10094 | (Segment): Keep track of first element in list. | |
10095 | (add): Update first & last element variables. | |
10096 | (cp1): Renamed from first(). | |
10097 | (c2): Renamed from last(). | |
10098 | (first()): Renamed to cp1() to reduce ambiguity. | |
10099 | (last()): Renamed to cp2() to reduce ambiguity. | |
10100 | (reverseAll): Update first element variable.. | |
10101 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
10102 | (draw): Remove flattening path iterator. | |
10103 | * java/awt/BasicStroke.java: Clarified comments. | |
10104 | (addSegments): Refactored some code into joinSegments and | |
10105 | joinInnerSegments. | |
10106 | (capEnd): Rename of Segment.first() and Segment.end(). | |
10107 | (joinInnerSegments): New method. | |
10108 | (joinOuterSegments): New method. | |
10109 | (joinSegments): Refactored some code into joinOuterSegments. | |
10110 | (solidStroke): Connect segments together properly. | |
10111 | ||
97b8365c TT |
10112 | 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com> |
10113 | ||
10114 | * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add | |
10115 | -avoid-version. | |
10116 | * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): | |
10117 | Likewise. | |
10118 | * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS): | |
10119 | Likewise. | |
10120 | * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS): | |
10121 | Likewise. | |
10122 | ||
10123 | 2006-07-28 Tom Tromey <tromey@redhat.com> | |
10124 | ||
10125 | * configure.ac: Enable -Werror by default on Linux-with-gcc. | |
10126 | ||
10127 | 2006-07-28 Lillian Angel <langel@redhat.com> | |
10128 | ||
10129 | * native/jni/gtk-peer/GtkDragSourceContextPeer.c: | |
10130 | Removed function declarations. | |
10131 | (connect_signals_for_widget): Removed implementation because | |
10132 | stub functions have been removed. | |
10133 | (drag_begin_cb): Removed function. | |
10134 | (drag_motion_cb): Likewise. | |
10135 | (drag_data_get_cb): Likewise. | |
10136 | (drag_data_delete_cb): Likewise. | |
10137 | (drag_drop_cb): Likewise. | |
10138 | (drag_end_cb): Likewise. | |
10139 | (drag_data_received_cb): Likewise. | |
10140 | ||
10141 | 2006-07-28 Mark Wielaard <mark@klomp.org> | |
10142 | ||
10143 | * configure.ac: Set version to 0.93-pre. | |
10144 | ||
10145 | 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au> | |
10146 | ||
10147 | * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used. | |
10148 | ||
10149 | 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au> | |
10150 | ||
10151 | * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import. | |
10152 | (getCallbackHandler): Fully qualify linked class in javadoc. | |
10153 | * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed. | |
10154 | * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise. | |
10155 | * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise. | |
10156 | ||
ac1ed908 MW |
10157 | 2006-07-27 Tom Tromey <tromey@redhat.com> |
10158 | ||
10159 | PR classpath/28486: | |
10160 | * java/net/URLStreamHandler.java (equals): Properly handle default | |
10161 | port. Rewrote javadoc. Don't compare 'authority' parts of URLs. | |
10162 | ||
10163 | 2006-07-27 Roman Kennke <kennke@aicas.com> | |
10164 | ||
10165 | * javax/swing/text/AbstractDocument.java | |
10166 | (documentCV): Made field private. | |
10167 | (bypass): Made field private. | |
10168 | (bidiRoot): New field. | |
10169 | (AbstractDocument): Initialize bidiRoot. | |
10170 | (getBidiRootElement): Return bidiRoot. | |
10171 | (getRootElements): Adjusted to also return the bidiRoot element. | |
10172 | (BranchElement.startOffset): Removed unneeded field. | |
10173 | (BranchElement.endOffset): Removed unneeded field. | |
10174 | (BranchElement.BranchElement): Removed unneeded fields. | |
10175 | (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is | |
10176 | done automatically when there's no element left in the array. | |
10177 | (BranchElement.getStartOffset): Likewise. | |
10178 | (BranchElement.replace): Reordered calculations to avoid double | |
10179 | calculations. | |
10180 | (removeImpl): Silently ignore requests with length <= 0. | |
10181 | * javax/swing/text/GapContent.java | |
10182 | (createPosition): Removed explicit check for correct offset. | |
10183 | This class can deal with offsets outside the document. | |
10184 | (shiftEnd): Update all positions, even those outside the | |
10185 | document. | |
10186 | (adjustPositionsInRange): Fixed to also adjust positions outside | |
10187 | the document boundary. | |
10188 | ||
10189 | 2006-07-18 Kyle Galloway <kgallowa@redhat.com> | |
10190 | ||
10191 | * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold | |
10192 | defining class. | |
10193 | (getParameter): Returns _klass field instead of determining | |
10194 | class from _instance. | |
10195 | (setCatchLoc): New method. | |
10196 | (writeData): Now assumes Location deals with empty locations instead of | |
10197 | using null. | |
10198 | * gnu/classpath/jdwp/util/Location.java (write): Check for empty | |
10199 | locations and write out accordingly. | |
10200 | (getEmptyLocation): New method. | |
10201 | ||
10202 | 2006-07-27 Roman Kennke <kennke@aicas.com> | |
10203 | ||
10204 | * javax/swing/text/SimpleAttributeSet.java | |
10205 | (EMPTY): Use EmptyAttributeSet for this field rather than | |
10206 | SimpleAttributeSet. | |
10207 | * javax/swing/text/EmptyAttributeSet.java: New class. Implements | |
10208 | an empty and immutable AttributeSet. | |
10209 | ||
10210 | 2006-07-27 Roman Kennke <kennke@aicas.com> | |
10211 | ||
10212 | * java/awt/Component.java | |
10213 | (reshape): Invalidate the component itself only when the | |
10214 | size has changed. Invalidate the parent always. Fixed | |
10215 | repainting. Pulled out the notification into | |
10216 | notifyReshape(). | |
10217 | (notifyReshape): New helper method. Notify interested listeners | |
10218 | about a reshape. | |
10219 | (update): Simply call paint() without clearing the background. | |
10220 | This is done in Container.update() if appropriate. | |
10221 | (repaint): Delagate the repaint to the nearest heavyweight | |
10222 | parent (for lightweights) and send an UPDATE event, rather than | |
10223 | calling ComponentPeer.repaint(). | |
10224 | * java/awt/Container.java | |
10225 | (backCleared): Removed field. | |
10226 | (paint): Removed handling of backCleared flag. | |
10227 | (update): Only paint if the container is actually | |
10228 | showing. Removed handling of backCleared flag. | |
10229 | ||
10230 | 2006-07-27 Robert Schuster <robertschuster@fsfe.org> | |
10231 | ||
10232 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and | |
10233 | authorship. | |
10234 | (NavigateAction): New inner class. | |
10235 | (NavigatePageDownAction): New inner class. | |
10236 | (NavigatePageUpAction): New inner class. | |
10237 | (RequestFocusAction): New inner class. | |
10238 | (RequestFocusForVisibleComponentAction): New inner class. | |
10239 | (FocusHandler.focusGained): Implemented. | |
10240 | (FocusHandler.focusLost): Implemented. | |
10241 | (MouseHandler.mouseReleased): Implemented. | |
10242 | (MouseHandler.mousePressed): Rewritten. | |
10243 | (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and | |
10244 | currentScrollLocation to 0. | |
10245 | (TabbedPaneLayout.calculateSize): Stored tab count in local variable, | |
10246 | removed local variables, fixed indentation to stay under 80 column | |
10247 | limit. | |
10248 | (TabbedPaneLayout.calculateTabRects): Decrease tab area position by | |
10249 | one, set selectedIndex to 0 if its negative, corrected start values | |
10250 | for normalization, suppressed padding when only one tab run, | |
10251 | (TabbedPaneLayout.minimumLayoutSize): Toggled argument value. | |
10252 | (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under | |
10253 | 80 column limit, corrected the starting value for the bounds fixing | |
10254 | phase. | |
10255 | (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation. | |
10256 | (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for | |
10257 | selectedRun, set start index for loop to 0. | |
10258 | (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value. | |
10259 | (TabbedPaneScrollLayout.calculateTabRects): Rewritten. | |
10260 | (TabbedPaneScrollLayout.layoutContainer): Added scrolling button | |
10261 | alignment and visibility handling. | |
10262 | (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab | |
10263 | layout mode. | |
10264 | (ScrollingPanel.ScrollingPanelUI.paint): Rewritten. | |
10265 | (currentScrollOffset): New field. | |
10266 | (tabRuns): Rewritten documentation. | |
10267 | (selectedColor): New field. | |
10268 | (tempTextRect): New field. | |
10269 | (tempIconRect): New field. | |
10270 | (scrollTab): New method. | |
10271 | (updateButtons): New method. | |
10272 | (updateViewPosition): New method. | |
10273 | (createLayoutManager): Reordered method calls, predefine new fields, | |
10274 | register proper listeners. | |
10275 | (uninstallComponents): Implemented. | |
10276 | (installDefaults): Corrected property names, fixed indentation,. | |
10277 | (uninstallDefaults): Set new fields to null. | |
10278 | (uninstallListeners): Remove listeners from components neccessary for | |
10279 | scrolling tab layout. | |
10280 | (installKeyboardActions): Implemented. | |
10281 | (uninstallKeyboardActions): Implemented. | |
10282 | (paint): Paint tab area background. | |
10283 | (paintTabArea): Fixed indentation, removed usage of local Rectangle | |
10284 | objects. | |
10285 | (getTabLabelShiftX): Rewritten. | |
10286 | (getTabLabelShiftY): Rewritten. | |
10287 | (paintFocusIndicator): Reindented. | |
10288 | (paintTabBorder): Rewritten. | |
10289 | (paintTabBackground): Corrected color usage, rewritten background | |
10290 | rectangle painting. | |
10291 | (paintContentBorderTopEdge): Rewritten. | |
10292 | (paintContentBorderBottomEdge): Rewritten. | |
10293 | (paintContentBorderLeftEdge): Rewritten. | |
10294 | (paintContentBorderRightEdge): Rewritten. | |
10295 | (tabForCoordinate): Return selected index when no tab could be | |
10296 | found, removed FIXME note. | |
10297 | (getRunForTab): Changed return value for first if-statement. | |
10298 | (navigateSelectedTab): Fixed last argument for both | |
10299 | getTabRunOffset() calls. | |
10300 | (selectedNextTabInRun): Added scrolling code. | |
10301 | (selectedPreviousTabInRun): Added scrolling code. | |
10302 | (selectedNextTab): Added scrolling code. | |
10303 | (selectedPreviousTab): Added scrolling code. | |
10304 | (selectAdjacentRunTab): Added scrolling code. | |
10305 | (getTextViewForTab): Added FIXME note. | |
10306 | (calculateTabHeight): Changed FIXME note. | |
10307 | (getTabRunOffset): Fixed indentation. | |
10308 | (getNextTabIndexInRun): Corrected return value. | |
10309 | (rotateInsets): Make TOP case the default in switch-statement. | |
10310 | (getActionMap): New method. | |
10311 | (createActionMap): New method. | |
10312 | * javax/swing/plaf/metal/MetalTabbedPaneUI.java: | |
10313 | (createLayoutManager): Rewritten. | |
10314 | (paintLeftTabBorder): Do not paint left line when previous tab | |
10315 | is selected but current tab is the first in its run, do not paint | |
10316 | left line when current tab is selected and is first in its run. | |
10317 | (paintRightTabBorder): Added missing setColor() call, fixed color | |
10318 | usage, do not paint right line if previous tab is selected but | |
10319 | current tab is the first in its run. | |
10320 | (paintBottomTabBorder): Do not paint left line if tab is selected | |
10321 | and is the first tab in the last run. | |
10322 | (paintFocusIndicator): New method. | |
10323 | (getLabelShiftX): New method. | |
10324 | (getLabelShiftY): New method. | |
10325 | ||
10326 | 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch> | |
10327 | ||
10328 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
10329 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove | |
10330 | g_assert from unused obj. | |
10331 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark | |
10332 | obj as unused and remove g_assert on it. | |
10333 | ||
10334 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10335 | ||
10336 | * javax/swing/RepaintManager.java | |
10337 | (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE | |
10338 | for the component. | |
10339 | (isCompletelyDirty): Consider a component completely dirty | |
10340 | when it has a dirty region with Integer.MAX_VALUE. | |
10341 | ||
10342 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10343 | ||
10344 | * java/awt/KeyboardFocusManager.java | |
10345 | (getGlobalFocusOwner): Explicitly check for thread security. | |
10346 | (getGlobalPermanentFocusOwner): Explicitly check for thread security. | |
10347 | (getGlobalFocusedWindow): Explicitly check for thread security. | |
10348 | (getGlobalActiveWindow): Explicitly check for thread security. | |
10349 | (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security. | |
10350 | (getGlobalObject): Added new argument for specifying if | |
10351 | a security check should be performed or not. | |
10352 | (setGlobalObject): Don't check for thread security when | |
10353 | calling getGlobalObject. | |
10354 | ||
10355 | 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
10356 | ||
10357 | * javax/management/MBeanConstructorInfo.java: | |
10358 | Documentation fix. | |
10359 | * javax/management/MBeanInfo.java: | |
10360 | (MBeanInfo(String,String,MBeanAttributeInfo[], | |
10361 | MBeanConstructorInfo[], MBeanOperationInfo[], | |
10362 | MBeanNotificationInfo[])): Implemented. | |
10363 | (equals(Object)): Likewise. | |
10364 | (getAttributes()): Likewise. | |
10365 | (getConstructors()): Likewise. | |
10366 | (getOperations()): Likewise. | |
10367 | (hashCode()): Likewise. | |
10368 | * javax/management/MBeanOperationInfo.java, | |
10369 | * javax/management/NotCompliantMBeanException.java, | |
10370 | * javax/management/StandardMBean.java: | |
10371 | New files. | |
10372 | ||
10373 | 2006-07-26 Sven de Marothy <sven@physto.se> | |
10374 | ||
10375 | * java/awt/geom/GeneralPath.java: Fix severe typo. | |
10376 | ||
10377 | 2006-07-26 Sven de Marothy <sven@physto.se> | |
10378 | ||
10379 | * include/java_lang_VMSystem.h | |
10380 | * vm/reference/java/lang/VMSystem.java | |
10381 | * native/jni/java-lang/java_lang_VMSystem.c | |
10382 | (nanoTime, currentTimeMillis): Switch the former to native code and | |
10383 | the latter to java. | |
10384 | ||
10385 | 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch> | |
10386 | ||
10387 | * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports. | |
10388 | * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise. | |
10389 | * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise. | |
10390 | * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise. | |
10391 | * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise. | |
10392 | * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise. | |
10393 | * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise. | |
10394 | * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise. | |
10395 | * gnu/java/awt/peer/qt/QtGraphics.java: Likewise. | |
10396 | * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise. | |
10397 | * gnu/java/awt/peer/qt/QtImage.java: Likewise. | |
10398 | * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise. | |
10399 | * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise. | |
10400 | * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise. | |
10401 | * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise. | |
10402 | * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise. | |
10403 | * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise. | |
10404 | * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise. | |
10405 | * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise. | |
10406 | * gnu/java/awt/peer/qt/QtToolkit.java: Likewise. | |
10407 | * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise. | |
10408 | ||
10409 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10410 | ||
10411 | * java/awt/KeyboardFocusManager.java | |
10412 | (getFocusOwner): Don't check permanent owner. | |
10413 | (getGlobalFocusOwner): Don't check permanent owner. | |
10414 | ||
10415 | 2006-07-26 Carsten Neumann <cn-develop@gmx.net> | |
10416 | ||
10417 | * StrictMath.java (cosh): New method. | |
10418 | (expm1): New method. | |
10419 | (EXPM1_Q1): New field. | |
10420 | (EXPM1_Q2): Likewise. | |
10421 | (EXPM1_Q3): Likewise. | |
10422 | (EXPM1_Q4): Likewise. | |
10423 | (EXPM1_Q6): Likewise. | |
10424 | ||
10425 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10426 | ||
10427 | * javax/swing/plaf/basic/BasicButtonListener.java | |
10428 | (mousePressed): Request focus if appropriate. | |
10429 | * javax/swing/text/DefaultCaret.java | |
10430 | (mousePressed): Also handle the focus of the text component | |
10431 | as specified. Don't consume events. | |
10432 | ||
10433 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10434 | ||
10435 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
10436 | (focusRequest): Removed field. | |
10437 | (postFocusEvent(int,boolean,Component)): Removed. | |
10438 | (postFocusEvent(int,boolean)): Reverted to post event using | |
10439 | the heavyweight component. | |
10440 | (requestFocus): Post focus event using the heavyweight | |
10441 | component. | |
10442 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
10443 | (requestFocus): Post focus event using the heavyweight | |
10444 | component. | |
10445 | * java/awt/AWTEvent.java | |
10446 | (isFocusManagerEvent): New field, indicating if this is | |
10447 | an event that is redispatched by the KeyboardFocusManager. | |
10448 | * java/awt/Component.java | |
10449 | (requestFocusImpl): Register component for | |
10450 | heavyweight->lightweight mapping. | |
10451 | (dispatchEventImpl): Retarget focus events before dispatching | |
10452 | to the KeyboardFocusManager. Use new AWTEvent flag instead | |
10453 | of locking hack. Dispatch all events through the | |
10454 | KeyboardFocusManager. Don't request focus on lightweight | |
10455 | components. | |
10456 | * java/awt/DefaultKeyboardFocusManager.java | |
10457 | (dispatchEvent): Pulled out handling of FOCUS_GAINED and | |
10458 | FOCUS_LOST. | |
10459 | (handleFocusGained): Fixed handling of temporary vs permanent | |
10460 | focus changes. Added some checks. | |
10461 | (handleFocusLost): Fixed handling of temporary vs permanent | |
10462 | focus changes. Added some checks. | |
10463 | * java/awt/EventDispatchThread.java | |
10464 | (run): Don't dispatch to KeyboardFocusManager here. This | |
10465 | is done in Component.dispatchEventImpl(). | |
10466 | * java/awt/KeyboardFocusManager.java | |
10467 | (redispatchEvent): Use new AWTEvent flag instead of locking hack. | |
10468 | (focusRequests): New field. | |
10469 | (retargetFocusEvent): New method. Retargets focus events | |
10470 | that come from heavyweights to the correct lightweight component. | |
10471 | (addLightweightFocusRequest): New method. Stores a mapping | |
10472 | for later retargetting of heavyweight focus events. | |
10473 | * java/awt/Window.java | |
10474 | (addFocusListener): Removed bogus method. If at all, this | |
10475 | should be performed in the KeyboardFocusManager. | |
10476 | (Window): Don't install a focus listener on the Window. | |
10477 | ||
10478 | 2006-07-26 Robert Schuster <robertschuster@fsfe.org> | |
10479 | ||
10480 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java: | |
10481 | (drawLine): Apply shift to line coordinates. | |
10482 | ||
10483 | 2006-07-26 Robert Schuster <robertschuster@fsfe.org> | |
10484 | ||
10485 | * java/awt/image/ColorConvertOp.java: Fixed copyright header. | |
10486 | (copyimage): Do not call setRenderingHints() when the respective map | |
10487 | does not exist. | |
10488 | (filter): Removed code to clone the ColorModel instance. | |
10489 | * java/awt/image/ColorModel.java: | |
10490 | (cloneColorModel): Removed. | |
10491 | ||
10492 | 2006-07-26 Robert Schuster <robertschuster@fsfe.org> | |
10493 | ||
10494 | * javax/swing/JTabbedPane.java: | |
10495 | (setSelectedIndex): Removed updating of component visibility status, | |
10496 | added note. | |
10497 | (remove(Component)): Use indexOfComponent() to find whether we have | |
10498 | to use super.remove(int) or removeTabAt(). | |
10499 | ||
10500 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10501 | ||
10502 | * javax/swing/JOptionPane.java | |
10503 | (createDialog): Add property change handler for closing | |
10504 | the dialog when the value property changes. | |
10505 | (ValuePropertyHandler): New inner helper class. | |
10506 | * javax/swing/plaf/basic/BasicOptionPaneUI.java | |
10507 | (OptionPaneCloseAction): New class. | |
10508 | (messageForeground): Removed field. | |
10509 | (messageBorder): Removed field. | |
10510 | (buttonBorder): Removed field. | |
10511 | (addIcon): Configure the new label. | |
10512 | (addMessageComponents): Configure newly created labels. | |
10513 | (burstStringInto): Likewise. | |
10514 | (createButtonArea): Install border here. | |
10515 | (createMessageArea): Install border and foreground here. | |
10516 | (createSeparator): Added comment and removed | |
10517 | NotImplementedException. | |
10518 | (installComponents): Don't install the UI defaults for the | |
10519 | message and button area here. This is moved to the | |
10520 | corresponding create* methods. Adjusted comment about | |
10521 | separator. | |
10522 | (installDefaults): Removed initialization of removed fields. | |
10523 | (installKeyboardActions): Implemented. | |
10524 | (getActionMap): New helper method. | |
10525 | (createDefaultActions): New helper method. | |
10526 | (uninstallDefaults): Removed de-initialization of removed fields. | |
10527 | (uninstallKeyboardActions): Implemented. | |
10528 | (configureLabel): New helper method. | |
10529 | * javax/swing/plaf/basic/BasicTableUI.java | |
10530 | (getActionMap): Fixed the UI property names. | |
10531 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
10532 | (getActionMap): Fixed the UI property names. | |
10533 | ||
10534 | 2006-07-26 David Gilbert <david.gilbert@object-refinery.com> | |
10535 | ||
10536 | * java/awt/image/BandedSampleModel.java | |
10537 | (getDataElements): Check for negative x or y, | |
10538 | (getPixels): Likewise, | |
10539 | (getSamples): Likewise, | |
10540 | (setSamples): Likewise. | |
10541 | ||
10542 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10543 | ||
10544 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
10545 | (ToolBarAction): New inner class for handling keyboard | |
10546 | actions. | |
10547 | (installKeyboardActions): Implemented. | |
10548 | (getActionMap): New helper method. | |
10549 | (createDefaultActions): New helper method. | |
10550 | (installListeners): Install focus listener on toolbar's | |
10551 | children, rather than the toolbar itself. | |
10552 | (navigateFocusedComp): Implemented. | |
10553 | (uninstallKeyboardActions): Implemented. | |
10554 | (uninstallListeners): Uninstall focus listener from | |
10555 | toolbar's children, rather than the toolbar itself. | |
10556 | (ToolBarContListener.componentAdded): Install focus | |
10557 | listener on added child. | |
10558 | (ToolBarContListener.componentRemoved): Uninstall focus | |
10559 | listener from removed child. | |
10560 | (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here. | |
10561 | (ToolBarFocusListener.focusGained): Implemented. | |
10562 | (ToolBarFocusListener.focusLost): Implemented. | |
10563 | ||
10564 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10565 | ||
10566 | * java/awt/DefaultKeyboardFocusManager.java | |
10567 | (dispatchEvent): Notify old focus owner when it has lost | |
10568 | focus. | |
10569 | ||
10570 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10571 | ||
10572 | * javax/swing/plaf/basic/BasicTableUI.java | |
10573 | (FocusHandler.focusGained): Implemented to refresh the | |
10574 | lead cell. | |
10575 | (FocusHandler.focusLost): Implemented to refresh the | |
10576 | lead cell. | |
10577 | (FocusHandler.repaintLeadCell): New helper method. | |
10578 | (MouseInputHandler.mouseEntered): Do nothing here. | |
10579 | (MouseInputHandler.mouseExited): Do nothing here. | |
10580 | (MouseInputHandler.mouseMoved): Do nothing here. | |
10581 | (installKeyboardActions): Rewritten to use a shared InputMap | |
10582 | and ActionMap and correctly install the maps via SwingUtilities | |
10583 | methods. | |
10584 | (getActionMap): New helper method. | |
10585 | (createDefaultActions): New helper method. | |
10586 | (ActionListenerProxy): Removed unneeded class. | |
10587 | (TableAction): Made class static. | |
10588 | (TableAction.actionPerformed): Determine table by fetching | |
10589 | the event source. Pass the table to helper methods. | |
10590 | Use __command__ hack to determine the action command. | |
10591 | (TableAction.getFirstVisibleColumnIndex): Get table as argument. | |
10592 | (TableAction.getLastVisibleColumnIndex): Get table as argument. | |
10593 | (TableAction.getFirstVisibleRowIndex): Get table as argument. | |
10594 | (TableAction.getLastVisibleRowIndex): Get table as argument. | |
10595 | (TableAction.advanceMultipleSelection): Get table as argument. | |
10596 | (uninstallDefaults): Do nothing here. | |
10597 | (uninstallKeyboardActions): Uninstall the keyboard actions. | |
10598 | ||
10599 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10600 | ||
10601 | * javax/swing/JComponent.java | |
10602 | (processKeyBinding): Store the action command as property | |
10603 | in the Action instance that we call. This allows for | |
10604 | improvement on the side of the Action. | |
10605 | ||
10606 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10607 | ||
10608 | * javax/swing/plaf/metal/MetalUtils.java | |
10609 | (fillMetalPattern): Use fillRect() instead of drawLine() to | |
10610 | fill single pixels. | |
10611 | ||
10612 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10613 | ||
10614 | * javax/swing/text/GapContent.java | |
10615 | (getChars): Check for negative length and throw | |
10616 | BadLocationException. | |
10617 | ||
10618 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10619 | ||
10620 | * javax/swing/plaf/basic/BasicMenuBarUI.java | |
10621 | (FocusAction): Made class static. | |
10622 | ||
10623 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10624 | ||
10625 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
10626 | (initComponentDefaults): Add keyboard bindings for | |
10627 | PopupMenu. | |
10628 | ||
10629 | 2006-07-26 Roman Kennke <kennke@aicas.com> | |
10630 | ||
10631 | * javax/swing/UIManager.java | |
10632 | (getLookAndFeelDefaults): Return the look and feel defaults. | |
10633 | (setLookAndFeel): Improved exception messsage. | |
10634 | ||
10635 | 2006-07-26 David Gilbert <david.gilbert@object-refinery.com> | |
10636 | ||
10637 | * javax/swing/text/StringContent.java | |
10638 | (StringContent): Changed initialLength to 10. | |
10639 | ||
10640 | 2006-07-26 David Gilbert <david.gilbert@object-refinery.com> | |
10641 | ||
10642 | * java/util/Vector.java: Fixed API doc typo. | |
10643 | ||
10644 | 2006-07-26 David Gilbert <david.gilbert@object-refinery.com> | |
10645 | ||
10646 | * java/awt/image/BandedSampleModel.java | |
10647 | (createCompatibleSampleModel): Fixed typo in loop increment, set | |
10648 | correct scanlineStride, and updated API docs. | |
10649 | ||
10650 | 2006-07-25 Roman Kennke <kennke@aicas.com> | |
10651 | ||
10652 | * javax/swing/plaf/basic/BasicPopupMenuUI.java | |
10653 | (NavigateAction): New inner class. This is responsible for | |
10654 | keyboard navigation through menus. | |
10655 | (KeyboardHelper): New inner class. This manages the | |
10656 | keyboard mappings and focus when a popup opens or closes. | |
10657 | (keyboardHelper): New static field. | |
10658 | (numPopups): New static field. | |
10659 | (installUI): Create KeyboardHelper for first popup. | |
10660 | Call installKeyboardActions(). | |
10661 | (installKeyboardActions): Removed NotImplementedException. | |
10662 | This method is a no-op. | |
10663 | (installKeyboardActionsImpl): New method. Installs keyboard | |
10664 | mapping when a popup is opened. | |
10665 | (getActionMap): New helper method. | |
10666 | (createDefaultActions): New helper method. | |
10667 | (uninstallUI): Uninstall KeyboardHelper when last Popup is | |
10668 | uninstalled. Call uninstallKeyboardActions(). | |
10669 | (uninstallKeyboardActions): Removed NotImplementedException. | |
10670 | This method is a no-op. | |
10671 | (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard | |
10672 | mapping when a popup is closed. | |
10673 | ||
10674 | 2006-07-25 Roman Kennke <kennke@aicas.com> | |
10675 | ||
10676 | * java/awt/Component.java | |
10677 | (requestFocus()): Reimplemented to use requestFocusImpl(). | |
10678 | (requestFocus(boolean)): Reimplemented to use requestFocusImpl(). | |
10679 | (requestFocusInWindow()): Reimplemented to use requestFocusImpl(). | |
10680 | (requestFocusInWindow(boolean)): Reimplemented to use | |
10681 | requestFocusImpl(). | |
10682 | (requestFocusImpl): Reimplemented focus request to use | |
10683 | new peer method. Also added some obvious additional checks | |
10684 | for rejecting focus requests early. | |
10685 | * java/awt/ComponentPeer.java | |
10686 | (requestFocus(Component,boolean,boolean,long)): Documented | |
10687 | this method. | |
10688 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
10689 | (requestFocus): New field. | |
10690 | (gtkWidgetHasFocus): New native method. | |
10691 | (gtkWidgetCanFocus): New native method. | |
10692 | (requestFocus): Replaced with assert false to prevent | |
10693 | usage of obsolete method. | |
10694 | (postFocusEvent(int,boolean,Component)): New overloaded method | |
10695 | for posting the focus event to a specific target. | |
10696 | (postFocusEvent(int,boolean)): Post event to requestFocus | |
10697 | component. | |
10698 | (requestFocus(Component,boolean,boolean,long)): Implemented. | |
10699 | (getWindowFor): New helper method. | |
10700 | (isLightweightDescendant): New helper method. | |
10701 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
10702 | (gtkWindowHasFocus): New native method. | |
10703 | (requestFocus(Component,boolean,boolean,long)): New method. | |
10704 | Overrides GtkComponentPeer method to specially handly the | |
10705 | case when a Window receives a focus request for a lightweight | |
10706 | child. | |
10707 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
10708 | (gtkWidgetHasFocus): New native method. | |
10709 | (gtkWidgetCanFocus): New native method. | |
10710 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
10711 | (gtkWindowHasFocus): New native method. | |
10712 | * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h, | |
10713 | * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: | |
10714 | Regenerated. | |
10715 | ||
10716 | 2006-07-25 Francis Kung <fkung@redhat.com> | |
10717 | ||
10718 | * java/awt/DefaultKeyboardFocusManager.java | |
10719 | (dispatchEvent): Add check for valid component. | |
10720 | ||
10721 | 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
10722 | ||
10723 | * javax/management/MBeanConstructorInfo.java: | |
10724 | New file. | |
10725 | * javax/management/MBeanNotificationInfo.java: | |
10726 | Documentation fix. | |
10727 | * javax/management/MBeanParameterInfo.java: | |
10728 | New file. | |
10729 | ||
10730 | 2006-07-25 Robert Schuster <robertschuster@fsfe.org> | |
10731 | ||
10732 | * java/awt/peer/gtk/CairoGraphics.java: | |
10733 | (drawLine): Added special case for 1 pixel lines. | |
10734 | ||
10735 | 2006-07-25 Robert Schuster <robertschuster@fsfe.org> | |
10736 | ||
10737 | Fixes PR27844. | |
10738 | * java/awt/peer/gtk/CairoGraphics.java: | |
10739 | (drawLine): Removed calls to shifted(). | |
10740 | ||
10741 | 2006-07-25 Robert Schuster <robertschuster@fsfe.org> | |
10742 | ||
10743 | * javax/swing/JTabbedPane.java: | |
10744 | (remove(Component)): Rewritten. | |
10745 | (setSelectedIndex): Implemented updating of component visibility state. | |
10746 | ||
10747 | 2006-07-25 Sven de Marothy <sven@physto.se> | |
10748 | ||
10749 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c | |
10750 | (init): Default to the actual depth in the worst case. | |
10751 | ||
10752 | * java/awt/Font.java | |
10753 | (createFont(int, File)): New method. | |
10754 | ||
10755 | 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
10756 | ||
10757 | Fixes bug #28413 | |
10758 | * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators): | |
10759 | New field. | |
10760 | (RETokenEnd): New constructer to set check_java_line_terminators. | |
10761 | (matchThis): Checck line terminators if check_java_line_terminators. | |
10762 | * gnu/java/util/regex/RETokenStart.java: Likewise. | |
10763 | * gnu/regexp/RE.java(initialize): Use the new constructors for | |
10764 | RETokenEnd and RETokenStart if REG_MULTILINE is set. | |
10765 | * java/util/regex/Pattern.java(Patteren): Changed so that | |
10766 | gnu/regexp/RE.java may use the new the new constructors. | |
10767 | ||
10768 | 2006-07-25 Roman Kennke <kennke@aicas.com> | |
10769 | ||
10770 | * java/awt/Container.java | |
10771 | (focusTraversalPolicyProvider): New field. | |
10772 | (isFocusTraversalPolicyProvider): New method. | |
10773 | (setFocusTraversalPolicyProvider): New method. | |
10774 | * java/awt/ContainerOrderFocusTraversalPolicy.java | |
10775 | (getFirstComponent): Use accept() instead of lengthy checks. | |
10776 | Don't fetch getComponents() to avoid copying of array. | |
10777 | Traverse down the hierarchy to find the first focused component. | |
10778 | * java/awt/DefaultKeyboardFocusManager.java | |
10779 | (dispatchEvent): Let the initial component request focus. | |
10780 | ||
10781 | 2006-07-25 David Gilbert <david.gilbert@object-refinery.com> | |
10782 | ||
10783 | * javax/swing/text/Segment.java | |
10784 | (last): Update current index before returning DONE for zero count. | |
10785 | ||
10786 | 2006-07-24 Mark Wielaard <mark@klomp.org> | |
10787 | ||
10788 | * javax/swing/tree/TreePath.java (equals): Swap path equals call. | |
10789 | ||
10790 | 2006-07-25 Roman Kennke <kennke@aicas.com> | |
10791 | ||
10792 | * javax/swing/plaf/basic/BasicMenuBarUI.java | |
10793 | (FocusAction): New inner class. Used to grab focus. | |
10794 | (installKeyboardActions): Implemented. | |
10795 | (uninstallKeyboardActions): Implemented. | |
10796 | (getActionMap): New helper method. | |
10797 | (createDefaultActions): New helper method. | |
10798 | ||
10799 | 2006-07-25 Robert Schuster <robertschuster@fsfe.org> | |
10800 | ||
10801 | * examples/gnu/classpath/examples/swing/Demo.java: | |
10802 | (mkMenuBar): Install instantiable basic look and feel. | |
10803 | (InstantiableBasicLookAndFeel): New inner class. | |
10804 | ||
10805 | 2006-07-25 Roman Kennke <kennke@aicas.com> | |
10806 | ||
10807 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
10808 | (GlassPaneDispatcher.dragTarget): New field. | |
10809 | (GlassPaneDispatcher.isDragging): New field. | |
10810 | (GlassPaneDispatcher.pressedComponent): Removed field. | |
10811 | (GlassPaneDispatcher.tempComponent): Removed field. | |
10812 | (GlassPaneDispatcher.pressCount): Removed field. | |
10813 | (GlassPaneDispatcher.mousePressed): Call | |
10814 | borderListener.mousePressed() to activate the frame. | |
10815 | (acquireComponentForMouseEvent): Removed method. | |
10816 | (handleEvent): Rewritten. | |
10817 | (redispatch): New method. | |
10818 | (InternalFramePropertyChangeListener.propertyChange): | |
10819 | Make glasspane invisible when frame is selected, and visible | |
10820 | if it gets deselected. | |
10821 | ||
10822 | 2006-07-25 Roman Kennke <kennke@aicas.com> | |
10823 | ||
10824 | * java/awt/LightweightDispatcher.java | |
10825 | (handleMouseEvent): Dispatch event to real target if | |
10826 | the dragTarget has become invisible in the meantime. | |
10827 | ||
10828 | 2006-07-25 David Gilbert <david.gilbert@object-refinery.com> | |
10829 | ||
10830 | * javax/swing/text/TabSet.java | |
10831 | (equals): New method override for 1.5, | |
10832 | (hashCode): Likewise, | |
10833 | (toString): Added spaces to match reference implementation. | |
10834 | ||
10835 | 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
10836 | ||
10837 | * javax/management/IntrospectionException.java, | |
10838 | * javax/management/MBeanAttributeInfo.java: | |
10839 | New files. | |
10840 | * javax/management/MBeanNotificationInfo.java: | |
10841 | Documentation cleanups. | |
10842 | ||
10843 | 2006-07-24 David Gilbert <david.gilbert@object-refinery.com> | |
10844 | ||
10845 | * javax/swing/text/TabSet.java | |
10846 | (TabSet): Check for null argument, | |
10847 | (getTab): Throw IllegalArgumentException for index out of bounds, | |
10848 | (getTabIndexAfter): Changed test to '<=', | |
10849 | and updated API docs all over, | |
10850 | * javax/swing/text/TabStop.java: Updated API docs. | |
10851 | ||
10852 | 2006-07-24 David Gilbert <david.gilbert@object-refinery.com> | |
10853 | ||
10854 | * javax/swing/text/TabStop.java | |
10855 | (toString): Don't use 'left ' prefix, and added space between tab | |
10856 | location and '(w/leader)' suffix. | |
10857 | ||
10858 | 2006-07-24 Francis Kung <fkung@redhat.com> | |
10859 | ||
10860 | * javax/swing/JComboBox.java | |
10861 | (DefaultKeySelectionManager): Implemented. | |
10862 | (createDefaultKeySelectionManager): Implemented. | |
10863 | (getKeySelectionManager): Implemented. | |
10864 | (processKeyEvent): Removed duplicate code. | |
10865 | * javax/swing/JPopupMenu.java | |
10866 | (selectionModel): Changed visibility. | |
10867 | * javax/swing/plaf/basic/BasicComboBoxUI.java | |
10868 | (KeyHandler.keyPressed): Added navigation keys. | |
10869 | (configureEditor): Add key listener. | |
10870 | (installListeners): Install focus listener to combo box. | |
10871 | (isNavigationKey): Added enter, escape, and tab. | |
10872 | (selectPreviousPossibleValue): Added out of bounds check. | |
10873 | (unconfigureEditor): Remove key listener. | |
10874 | * javax/swing/plaf/metal/MetalComboBoxButton.java | |
10875 | (paintComponent): Highlight combo box when in focus. | |
10876 | ||
10877 | 2006-07-24 Roman Kennke <kennke@aicas.com> | |
10878 | ||
10879 | * javax/swing/SwingUtilities.java | |
10880 | (isLeftMouseButton): Fixed condition. | |
10881 | * java/awt/LightweightDispatcher.java | |
10882 | (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse | |
10883 | is dragged. | |
10884 | ||
10885 | 2006-07-24 Roman Kennke <kennke@aicas.com> | |
10886 | ||
10887 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
10888 | (setPaint): Fixed scaleX and scaleY. | |
10889 | ||
10890 | 2006-07-24 Roman Kennke <kennke@aicas.com> | |
10891 | ||
10892 | * javax/swing/JTable.java | |
10893 | (handleInsert): Repaint the whole table for variable row | |
10894 | height tables and an optimized region otherwise. | |
10895 | (handleDelete): Likewise. | |
10896 | (handleUpdate): Likewise. | |
10897 | ||
10898 | 2006-07-24 Mario Torre <neugens@limasoftware.net> | |
10899 | ||
10900 | * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer): | |
10901 | now explicity registerListeners on GtkMouseDragGestureRecognizer | |
10902 | instance. | |
10903 | * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java | |
10904 | (unregisterListeners): new method, overrided from base class | |
10905 | to rise visibility (from protected to public). | |
10906 | (registerListeners): Likewise. | |
10907 | (GtkMouseDragGestureRecognizer): fixed potential threading issue: | |
10908 | removed call to registerListeners from the constructor. | |
10909 | ||
97b8365c TT |
10910 | 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org> |
10911 | ||
10912 | * gnu/java/lang/management/MemoryPoolMXBeanImpl.java, | |
10913 | * java/lang/management/MemoryPoolMXBean.java: | |
10914 | (getType()): Changed return type to MemoryType. | |
10915 | * java/lang/management/MemoryType.java: | |
10916 | New file. | |
10917 | ||
ac1ed908 MW |
10918 | 2006-07-23 Mark Wielaard <mark@klomp.org> |
10919 | ||
10920 | * configure.ac: Check for moc and moc-qt4. | |
10921 | ||
10922 | 2006-07-23 David Gilbert <david.gilbert@object-refinery.com> | |
10923 | ||
10924 | * java/awt/image/Kernel.java: API doc updates. | |
10925 | ||
10926 | 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch> | |
10927 | ||
10928 | * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a | |
10929 | bit more. | |
10930 | ||
10931 | 2006-07-22 Mark Wielaard <mark@klomp.org> | |
10932 | ||
10933 | * java/lang/Iterable.java: Import all of java.util. | |
10934 | * lib/mkcollections.pl.in (javautilclasses): Add Iterable. | |
10935 | * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX. | |
10936 | ||
10937 | 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
10938 | ||
10939 | * doc/vmintegration.texinfo: | |
10940 | Document getType(String). | |
10941 | * gnu/java/lang/management/MemoryPoolMXBeanImpl.java, | |
10942 | * java/lang/management/MemoryPoolMXBean.java: | |
10943 | (getType()): Implemented. | |
10944 | * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java | |
10945 | (getType(String)): Implemented. | |
10946 | ||
10947 | 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
10948 | ||
10949 | * doc/vmintegration.texinfo: | |
10950 | Move end of itemization block. | |
10951 | ||
10952 | 2006-07-22 Robert Schuster <robertschuster@fsfe.org> | |
10953 | ||
10954 | * javax/swing/plaf/metal/MetalLookAndFeel.java: | |
10955 | (initComponentDefaults): Added new properties, added comments. | |
10956 | ||
10957 | 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
10958 | ||
10959 | * doc/vmintegration.texinfo: | |
10960 | Mention callback methods. | |
10961 | * gnu/java/lang/management/MemoryMXBeanImpl.java: | |
10962 | (fireNotification(String,String,long,long,long,long,long)): | |
10963 | Made package-private. | |
10964 | (fireThresholdExceededNotification(String,long,long,long, | |
10965 | long,long)): Likewise. | |
10966 | (fireCollectionThresholdExceededNotification(String,long, | |
10967 | long,long,long,long)): Likewise. | |
10968 | * java/lang/management/MemoryMXBean.java: | |
10969 | Document notifications. | |
10970 | ||
10971 | 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
10972 | ||
10973 | * gnu/java/lang/management/MemoryMXBeanImpl.java: | |
10974 | (fireNotification(String,String,long,long,long,long,long)): | |
10975 | Implemented. | |
10976 | (fireThresholdExceededNotification(String,long,long,long, | |
10977 | long,long)): Likewise. | |
10978 | (fireCollectionThresholdExceededNotification(String,long, | |
10979 | long,long,long,long)): Likewise. | |
10980 | * java/lang/management/MemoryNotificationInfo.java: | |
10981 | Use composite type from MemoryMXBeanImpl. | |
10982 | * javax/management/openmbean/CompositeData.java: | |
10983 | Correct documentation. | |
10984 | * javax/management/openmbean/CompositeDataSupport.java, | |
10985 | * javax/management/openmbean/InvalidKeyException.java: | |
10986 | New files. | |
10987 | ||
10988 | 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au> | |
10989 | ||
10990 | * gnu/java/security/util/IntegerUtil.java: New file. | |
10991 | ||
10992 | 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au> | |
10993 | ||
10994 | PR Classpath/28100 | |
10995 | * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation. | |
10996 | (KEY_SIZE): Likewise. | |
10997 | (adjustParity(int,byte[],int): New method. | |
10998 | (adjustParity(byte[],int): Call above method with 3 as 1st argument. | |
10999 | (isParityAdjusted(int,byte[],int)): New method. | |
11000 | (isParityAdjusted): Call above method with 3 as 1st argument. | |
11001 | (keySizes): Add 8 and 16 as other valid key sizes. | |
11002 | (makeKey): Amended to cater for 1, 2 and 3 independent DES keys. | |
11003 | ||
11004 | 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch> | |
11005 | ||
11006 | * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange | |
11007 | code for the pixel swap routine to be more efficient. | |
11008 | ||
97b8365c TT |
11009 | 2006-07-21 Carsten Neumann <cn-develop@gmx.net> |
11010 | ||
11011 | * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method. | |
11012 | (lastIndexOf(E, int)): Likewise. | |
11013 | (add(E)): Increase the size of newData array by one. | |
11014 | (add(int, E)): Likewise. | |
11015 | ||
ac1ed908 MW |
11016 | 2006-07-20 Lillian Angel <langel@redhat.com> |
11017 | ||
11018 | * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java: | |
11019 | Removed unused fields. | |
11020 | (GtkMouseDragGestureRecognizer): Removed initializations. | |
11021 | ||
11022 | 2006-07-20 Lillian Angel <langel@redhat.com> | |
11023 | ||
11024 | * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java | |
11025 | (GtkMouseDragGestureRecognizer): New constructor. | |
11026 | (GtkMouseDragGestureRecognizer): New constructor. | |
11027 | (GtkMouseDragGestureRecognizer): New constructor. | |
11028 | (mouseClicked): Removed FIXME. | |
11029 | (mousePressed): Implemented. | |
11030 | (mouseReleased): Implemented. | |
11031 | (mouseEntered): Implemented. | |
11032 | (mouseDragged): Implemented to check mouse point and trigger origin. | |
11033 | (mouseMoved): Removed FIXME. | |
11034 | (getDropActionFromEvent): New helper function used to convert mouse event | |
11035 | modifiers to a drop action. | |
11036 | * java/awt/dnd/DragSource.java | |
11037 | (getDragThreshold): Changed to return some arbitrary value for testing | |
11038 | purposes. | |
11039 | ||
11040 | 2006-07-20 Roman Kennke <kennke@aicas.com> | |
11041 | ||
11042 | * java/awt/LightweightDispatcher.java | |
11043 | (findTarget): Also consider components that have their eventMask | |
11044 | set, for compatibility with stonage AWT. Optimized check | |
11045 | for MouseListener. | |
11046 | (handleMouseEvent): Likewise. | |
11047 | ||
11048 | 2006-07-20 Roman Kennke <kennke@aicas.com> | |
11049 | ||
11050 | * javax/swing/JTable.java | |
11051 | (tableChanged): Split out handling of the event into multiple | |
11052 | subroutines. | |
11053 | (handleCompleteChange): New method. Clear the selection and | |
11054 | check the lead/anchor indices. | |
11055 | (handleInsert): New method. Check the lead/anchor indices. | |
11056 | Optimized repainting. | |
11057 | (handleDelete): New method. Check the lead/anchor indices. | |
11058 | Optimized repainting. | |
11059 | (handleUpdate): New method. Optimized repainting. | |
11060 | (checkSelection): New helper method. | |
11061 | (setSelectionModel): Update lead/anchor indices. | |
11062 | ||
11063 | 2006-07-20 Lillian Angel <langel@redhat.com> | |
11064 | ||
11065 | PR 28440 | |
11066 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java | |
11067 | (dispose): Reset all fields. | |
11068 | ||
11069 | 2006-07-20 Roman Kennke <kennke@aicas.com> | |
11070 | ||
11071 | * gnu/java/awt/peer/x/XToolkit.java | |
11072 | (createImage(InputStream)): Only copy image to Pixmap if | |
11073 | it's actually opaque. Transparent images are left as | |
11074 | BufferedImage and composited later onto the screen. | |
11075 | * gnu/java/awt/peer/x/XGraphics.java | |
11076 | (XGraphics): Fetch some parameters for image rendering. | |
11077 | (drawImage): Added special handling of transparent images. | |
11078 | (getRGB): New helper method. | |
11079 | (setRGB): New helper method. | |
11080 | ||
11081 | 2006-07-20 Roman Kennke <kennke@aicas.com> | |
11082 | ||
11083 | * gnu/javax/imageio/IIOInputStream.java: New class. Wraps | |
11084 | ImageInputStreams as normal InputStreams. | |
11085 | * gnu/javax/imageio/gif/GIFStream.java: | |
11086 | Moved to gnu/javax/imageio/IIOInputStream.java. | |
11087 | * gnu/javax/imageio/gif/GIFImageReader.java | |
11088 | (readImage): Use IIOInputStream. | |
11089 | * gnu/javax/imageio/gif/GIFImageReaderSpi.java | |
11090 | (canDecodeInput): Use IIOInputStream. | |
11091 | * gnu/javax/imageio/png/PNGException.java: Make subclass | |
11092 | of IOException. | |
11093 | * gnu/javax/imageio/png/PNGImageReader.java: New class. | |
11094 | Implements the ImageIO ImageReader for PNG. | |
11095 | * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class. | |
11096 | Implements the ImageIO ImageReaderSpi for PNG. | |
11097 | * javax/imageio/spi/IIORegistry.java: | |
11098 | (IIORegistry): Add PNGImageReaderSpi. | |
11099 | ||
11100 | 2006-07-20 David Gilbert <david.gilbert@object-refinery.com> | |
11101 | ||
11102 | * java/awt/image/ComponentSampleModel.java | |
11103 | (getPixel): Added argument check, | |
11104 | (getSample): Modified exception message. | |
11105 | ||
11106 | 2006-07-20 David Gilbert <david.gilbert@object-refinery.com> | |
11107 | ||
11108 | PR Classpath/28422 | |
11109 | * java/awt/image/ConvolveOp.java | |
11110 | (filter(Raster, WritableRaster)): Reimplemented, | |
11111 | (fillEdge): New private method. | |
11112 | ||
11113 | 2006-07-19 Keith Seitz <keiths@redhat.com> | |
11114 | ||
11115 | * include/jvmti.h (JVMTI_VERSION_1_0): Define. | |
11116 | (JVMTI_VERSION): Define. | |
11117 | ||
11118 | 2006-07-19 Roman Kennke <kennke@aicas.com> | |
11119 | ||
11120 | * resource/gnu/regexp/MessagesBundle.properties, | |
11121 | * resource/gnu/regexp/MessagesBundle_fr.properties, | |
11122 | * resource/gnu/regexp/MessagesBundle_it.properties: | |
11123 | Moved to resource/gnu/java/util/regex. | |
11124 | * resource/gnu/java/util/regex/MessagesBundle.properties, | |
11125 | * resource/gnu/java/util/regex/MessagesBundle_fr.properties, | |
11126 | * resource/gnu/java/util/regex/MessagesBundle_it.properties: | |
11127 | New files. | |
11128 | * gnu/java/util/regex/RE.java | |
11129 | Use new resource bundle location. | |
11130 | ||
11131 | 2006-07-19 Roman Kennke <kennke@aicas.com> | |
11132 | ||
11133 | * javax/swing/JComponent.java | |
11134 | (paintChildren): Refactored. The paintChildrenOptimized method | |
11135 | has been moved back in here. Added locking of the tree and | |
11136 | only check for completely obscured child components | |
11137 | when not optimized drawing enabled. Use Graphics.create() to | |
11138 | protect from irreversible changes. | |
11139 | (isCompletelyObscured): New helper method. | |
11140 | (paintComponent): Also use Graphics.create() for Graphics2D, | |
11141 | to protect from irreverible changes. | |
11142 | (clipAndTranslateGraphics): Refactored to use more efficient | |
11143 | iterative (vs recursive) approach. | |
11144 | * javax/swing/RepaintManager.java | |
11145 | (getOffscreenBuffer): Create image from root component. | |
11146 | ||
11147 | 2006-07-19 Roman Kennke <kennke@aicas.com> | |
11148 | ||
11149 | * gnu/java/awt/peer/x/XGraphics.java | |
11150 | (translate): Don't set the clip on the X server. | |
11151 | (clipRect): Use setXClip() to set the clip on the X server. | |
11152 | (hitClip): More efficient and correct implementation. | |
11153 | (setClip): Use setXClip() to set the clip on the X server. | |
11154 | (setClip(Shape)): Use setXClip() to set the clip on the X server. | |
11155 | (copyArea): Translate and clip the source rectangle correctly. | |
11156 | (dispose): Only flush when object is not yet disposed. | |
11157 | (clone): Use setXClip() to set the clip on the X server. | |
11158 | ||
11159 | 2006-07-19 Sven de Marothy <sven@physto.se> | |
11160 | ||
11161 | * gnu/javax/imageio/png/PNGChunk.java, | |
11162 | * gnu/javax/imageio/png/PNGData.java, | |
11163 | * gnu/javax/imageio/png/PNGDecoder.java, | |
11164 | * gnu/javax/imageio/png/PNGEncoder.java, | |
11165 | * gnu/javax/imageio/png/PNGException.java, | |
11166 | * gnu/javax/imageio/png/PNGFile.java, | |
11167 | * gnu/javax/imageio/png/PNGFilter.java, | |
11168 | * gnu/javax/imageio/png/PNGGamma.java, | |
11169 | * gnu/javax/imageio/png/PNGHeader.java, | |
11170 | * gnu/javax/imageio/png/PNGICCProfile.java, | |
11171 | * gnu/javax/imageio/png/PNGPalette.java, | |
11172 | * gnu/javax/imageio/png/PNGPhys.java, | |
11173 | * gnu/javax/imageio/png/PNGTime.java: | |
11174 | New files. | |
11175 | ||
11176 | 2006-07-19 Sven de Marothy <sven@physto.se> | |
11177 | ||
11178 | * java/net/Inet6Address.java: | |
11179 | (getScopedId, getScopedInterface): New methods. | |
11180 | ||
11181 | 2006-07-19 Lillian Angel <langel@redhat.com> | |
11182 | ||
11183 | * examples/gnu/classpath/examples/awt/Demo.java | |
11184 | (DragDropWindow): Fixed typo in Label text. | |
11185 | * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java | |
11186 | (GtkDragSourceContextPeer): Removed unneeded initialization for field. | |
11187 | (startDrag): Initialized context field. | |
11188 | (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this | |
11189 | function. | |
11190 | (dragEnter): New function. | |
11191 | (dragExit): Likewise. | |
11192 | (dragDropEnd): Likewise. | |
11193 | (dragMouseMoved): Likewise. | |
11194 | (dragOver): Likewise. | |
11195 | (dragActionChanged): Likewise. | |
11196 | ||
11197 | 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au> | |
11198 | ||
11199 | PR Classpath/26302 | |
11200 | * resource/java/security/classpath.security: Updated copyright year. | |
11201 | (auth.login.defaultCallbackHandler): New property; set to our default | |
11202 | callback handler. This is needed by the LoginContext when no callback | |
11203 | handler was specified. | |
11204 | * javax/security/auth/login/LoginContext.java: Updated copyright year. | |
11205 | (LoginContext(4)): Assign passed parameters to local fields before invoking | |
11206 | lookup method. | |
11207 | ||
11208 | 2006-07-19 Roman Kennke <kennke@aicas.com> | |
11209 | ||
11210 | * gnu/java/awt/peer/x/XGraphics.java | |
11211 | (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)): | |
11212 | Fixed ordering of parameters. | |
11213 | ||
11214 | 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
11215 | ||
11216 | * gnu/java/lang/management/MemoryMXBeanImpl.java: | |
11217 | (MemoryMXBeanImpl()): Implemented. | |
11218 | (ListenerData): New private class. | |
11219 | (addNotificationListener(NotificationListener, | |
11220 | NotificationFilter, Object)): Implemented. | |
11221 | (getNotificationInfo()): Likewise. | |
11222 | (removeNotificationListener(NotificationListener)): | |
11223 | Likewise. | |
11224 | (removeNotificationListener(NotificationListener, | |
11225 | NotificationFilter, Object)): Likewise. | |
11226 | ||
11227 | 2006-07-18 Roman Kennke <kennke@aicas.com> | |
11228 | ||
11229 | * gnu/java/awt/peer/x/XFontPeer.java | |
11230 | (encodeFont): Be more flexible with font sizes. | |
11231 | (validSize): New helper method. | |
11232 | * gnu/java/awt/peer/x/XGraphics.java | |
11233 | (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)): | |
11234 | Implemented. | |
11235 | (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)): | |
11236 | Implemented. | |
11237 | * gnu/java/awt/peer/x/XImage.java | |
11238 | (properties): New field. | |
11239 | (getProperty): Implemented. | |
11240 | * resource/gnu/java/awt/peer/x/fonts.properties: | |
11241 | Added copyright header. Fixed font size field. | |
11242 | ||
11243 | 2006-07-18 David Gilbert <david.gilbert@object-refinery.com> | |
11244 | ||
11245 | * java/awt/image/BandedSampleModel.java | |
11246 | (createDataBuffer): New method override, | |
11247 | * java/awt/image/ByteLookupTable.java | |
11248 | (ByteLookupTable(int, byte[][])): Create new array to hold references, | |
11249 | (ByteLookuptable(int, byte[])): Check for null array, | |
11250 | * java/awt/image/ComponentSampleModel.java | |
11251 | (createDataBuffer): Removed unnecessary braces, | |
11252 | (getSample): Check (x, y) is within bounds, | |
11253 | * java/awt/image/ShortLookupTable.java | |
11254 | (ShortLookupTable(int, short[][])): Create new array to hold references, | |
11255 | (ShortLookupTable(int, short[])): Check for null array, | |
11256 | (getTable): Added API docs, | |
11257 | (lookupPixel): Source reformatting. | |
11258 | ||
11259 | 2006-07-18 Tania Bento <tbento@redhat.com> | |
11260 | ||
11261 | * java/awt/GridLayout.java | |
11262 | (setHgap): Illegal Argument Exception should not be thrown if | |
11263 | hgap < 0. | |
11264 | (setVgap): Illegal Argument Exception should not be thrown if | |
11265 | vgap < 0. | |
11266 | (toString): Opening square braket ([) should appear before hgap | |
11267 | value, not the name of the class. | |
11268 | ||
11269 | 2006-07-18 Roman Kennke <kennke@aicas.com> | |
11270 | ||
11271 | * lib/copy-vmresources.sh.in: Reverted. | |
11272 | * gnu/java/awt/peer/x/fonts.properties: Moved to resource/ | |
11273 | * resource/gnu/java/awt/peer/x/fonts.properties: New file. | |
11274 | ||
11275 | 2006-07-18 Roman Kennke <kennke@aicas.com> | |
11276 | ||
11277 | * lib/copy-vmresources.sh.in: Include properties from X peers. | |
11278 | ||
11279 | 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au> | |
11280 | ||
11281 | PR Classpath/27205 | |
11282 | * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check | |
11283 | certificate validity. | |
11284 | (getIssuerName): New method. | |
11285 | (getSubjectName): Likewise. | |
11286 | (getNotAfterDate): Likewise. | |
11287 | (getNotBeforeDate): Likewise. | |
11288 | * resource/gnu/classpath/tools/jarsigner/messages.properties: Added | |
11289 | messages for newly added messages in SFHelper. | |
11290 | ||
11291 | 2006-07-18 Roman Kennke <kennke@aicas.com> | |
11292 | ||
11293 | * gnu/java/awt/peer/x/XDialogPeer.java: New class. | |
11294 | * gnu/java/awt/peer/x/XEventPump.java | |
11295 | (handleEvent): Cast to XWindowPeer rather than XFramePeer. | |
11296 | * gnu/java/awt/peer/x/XFramePeer.java | |
11297 | Made a subclass of XWindowPeer, rather than SwingFramePeer. | |
11298 | * gnu/java/awt/peer/x/XGraphics.java | |
11299 | Made subclass of Graphics rather than Graphics2D. Removed | |
11300 | all Graphics2D specific method stubs. | |
11301 | (setColor): Map colors using the X color map that is | |
11302 | stored in XToolkit. | |
11303 | * gnu/java/awt/peer/x/XToolkit.java | |
11304 | (colorMap): New field. | |
11305 | (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment | |
11306 | instance. | |
11307 | (createDialog): Implemented. | |
11308 | (createImage(ImageProducer)): Implemented. | |
11309 | (createImage(InputStream)): Use createImage(ImageProducer) | |
11310 | to convert the BufferedImage to an XImage. | |
11311 | * gnu/java/awt/peer/x/XWindowPeer.java | |
11312 | (XWindowPeer): Removed debug output. | |
11313 | ||
11314 | 2006-07-18 David Gilbert <david.gilbert@object-refinery.com> | |
11315 | ||
11316 | * java/awt/image/BufferedImageOp.java: API docs added, | |
11317 | * java/awt/image/RasterOp.java: Likewise. | |
11318 | ||
11319 | 2006-07-18 David Gilbert <david.gilbert@object-refinery.com> | |
11320 | ||
11321 | * java/awt/Graphics2D.java: API docs updated. | |
11322 | ||
11323 | 2006-07-18 David Gilbert <david.gilbert@object-refinery.com> | |
11324 | ||
11325 | * java/awt/image/WritableRaster.java: Added API docs and reformatted | |
11326 | source code. | |
11327 | ||
11328 | 2006-07-18 Sven de Marothy <sven@physto.se> | |
11329 | ||
11330 | * java/net/Inet6Address.java: | |
11331 | Add 1.5 serialized fields. | |
11332 | (getByAddress): New methods. | |
11333 | (readObject, writeObject): New methods. | |
11334 | (equals): Reimplement. | |
11335 | ||
11336 | 2006-07-18 David Gilbert <david.gilbert@object-refinery.com> | |
11337 | ||
11338 | * java/awt/image/Raster.java: Added API docs and reformatted source | |
11339 | code. | |
11340 | ||
11341 | 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch> | |
11342 | ||
11343 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded | |
11344 | imports. | |
11345 | * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise. | |
11346 | * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise. | |
11347 | * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise. | |
11348 | * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise. | |
11349 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise. | |
11350 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise. | |
11351 | * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise. | |
11352 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise. | |
11353 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise. | |
11354 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise. | |
11355 | * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise. | |
11356 | * gnu/java/awt/peer/gtk/GtkImage.java: Likewise. | |
11357 | * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise. | |
11358 | * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise. | |
11359 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise. | |
11360 | * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise. | |
11361 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise. | |
11362 | * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise. | |
11363 | * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise. | |
11364 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise. | |
11365 | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise. | |
11366 | ||
11367 | 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch> | |
11368 | ||
11369 | * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements | |
11370 | to make it compile again under jikes. Note added. | |
11371 | ||
11372 | 2006-07-17 Lillian Angel <langel@redhat.com> | |
11373 | ||
11374 | * examples/gnu/classpath/examples/awt/Demo.java | |
11375 | (Demo): Added new window for DnD demo. | |
11376 | (DragDropWindow): New class. | |
11377 | * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java: | |
11378 | Added new fields and declarations for native functions. | |
11379 | (GtkDragSourceContextPeer): Implemented. | |
11380 | (getComponentPeer): New function. | |
11381 | (startDrag): Partially implemented. | |
11382 | (getCursor): Implemented. | |
11383 | (setCursor): Implemented. | |
11384 | * include/GtkDragSourceContextPeer.h: New file. | |
11385 | * include/Makefile.am: Added new header file. | |
11386 | * java/awt/Component.java | |
11387 | (addNotify): Added call to the dropTarget's addNotify. | |
11388 | * java/awt/dnd/DragSource.java | |
11389 | (startDrag): Fixed code to use shared instances of peer and | |
11390 | context. | |
11391 | (getDragThreshold): Added stub. | |
11392 | * java/awt/dnd/DropTarget.java | |
11393 | (DropTarget): Implemented fully. | |
11394 | (addNotify): Added code to get the peer of the parent that is | |
11395 | not lightweight. | |
11396 | * java/awt/dnd/DropTargetDragEvent.java | |
11397 | (getTransferable): Added stub. | |
11398 | * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file. | |
11399 | * native/jni/gtk-peer/Makefile.am: Added new c file. | |
11400 | * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java: | |
11401 | Changed to extend GtkGenericPeer. | |
11402 | (GtkDropTargetContextPeer): New constructor. | |
11403 | * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java: | |
11404 | Changed to extend GtkGenericPeer. | |
11405 | (GtkDropTargetContextPeer): New constructor. | |
11406 | ||
11407 | 2006-07-17 David Gilbert <david.gilbert@object-refinery.com> | |
11408 | ||
11409 | * java/awt/image/SinglePixelPackedSampleModel.java | |
11410 | (createSubsetSampleModel): Added argument check and API docs. | |
11411 | ||
11412 | 2006-07-17 Roman Kennke <kennke@aicas.com> | |
11413 | ||
11414 | * gnu/java/awt/peer/x/XGraphics.java | |
11415 | (copyArea): Implemented. | |
11416 | ||
11417 | 2006-07-17 David Gilbert <david.gilbert@object-refinery.com> | |
11418 | ||
11419 | * java/awt/image/SinglePixelPackedSampleModel.java | |
11420 | (getSampleSize): Return copy of array, | |
11421 | (getOffset): Added API docs, | |
11422 | (getScanlineStride): Likewise, | |
11423 | (hashCode): Implemented. | |
11424 | ||
11425 | 2006-07-17 David Gilbert <david.gilbert@object-refinery.com> | |
11426 | ||
11427 | * java/awt/image/MultiPixelPackedSampleModel.java | |
11428 | (getOffset): Updated API docs and source reformatting, | |
11429 | (getBitOffset): Source reformatting only, | |
11430 | (getDataElements): Likewise, | |
11431 | (getPixel): Likewise, | |
11432 | (getPixels): Removed method override, | |
11433 | (setDataElements): Reimplemented. | |
11434 | ||
11435 | 2006-07-17 Gary Benson <gbenson@redhat.com> | |
11436 | ||
11437 | * resource/META-INF/services/.cvsignore: New file. | |
11438 | * lib/.cvsignore: Updated. | |
11439 | ||
11440 | 2006-07-17 Roman Kennke <kennke@aicas.com> | |
11441 | ||
11442 | * javax/swing/plaf/basic/BasicButtonListener.java | |
11443 | (propertyChange): Only do the text layout caching as long | |
11444 | as the noGraphics2D property isn't set. | |
11445 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
11446 | (PropertyChangeHandler.propertyChange): Only do the text layout | |
11447 | caching as long as the noGraphics2D property isn't set. | |
11448 | ||
11449 | 2006-07-17 Roman Kennke <kennke@aicas.com> | |
11450 | ||
11451 | * gnu/java/awt/peer/x/XGraphicsEnvironment.java | |
11452 | (XGraphicsEnvironment): Make constructor public so that it | |
11453 | can be called via Class.forName().newInstance(). | |
11454 | * gnu/java/awt/peer/x/XImage.java | |
11455 | (XImage): Fetch GraphicsEnvironment via | |
11456 | GraphicsEnvironment.getLocalGraphicsEnvironment() rather | |
11457 | than the XToolkit method, to avoid double instantiation | |
11458 | of the XGraphicsEnvironment. | |
11459 | * gnu/java/awt/peer/x/XToolkit.java | |
11460 | (env): Removed field. | |
11461 | (getLocalGraphicsEnvironment): Removed impl. This method | |
11462 | should not be called since we set the graphicsenv property | |
11463 | in the constructor. | |
11464 | ||
11465 | 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
11466 | ||
11467 | * java/util/UUID.java: | |
11468 | (compareTo(Object)): Call compareTo(UUID). | |
11469 | (compareTo(UUID)): Implemented. | |
11470 | ||
11471 | 2006-07-16 Tom Tromey <tromey@redhat.com> | |
11472 | ||
11473 | * java/lang/StrictMath.java (cbrt): Added '@since'. | |
11474 | ||
11475 | 2006-07-16 Carsten Neumann <cn-develop@gmx.net> | |
11476 | ||
11477 | * java/lang/StrictMath.java (cbrt): New method. | |
11478 | (getLowDWord): New helper method. | |
11479 | (getHighDWord): Likewise. | |
11480 | (buildDouble): Likewise. | |
11481 | (CBRT_B1): New field. | |
11482 | (CBRT_B2): Likewise. | |
11483 | (CBRT_C): Likewise. | |
11484 | (CBRT_D): Likewise. | |
11485 | (CBRT_E): Likewise. | |
11486 | (CBRT_F): Likewise. | |
11487 | (CBRT_G): Likewise. | |
11488 | ||
11489 | 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
11490 | ||
11491 | * javax/management/MBeanInfo.java: | |
11492 | (getNotifications()): Implemented. | |
11493 | * javax/management/NotificationBroadcaster.java: | |
11494 | (removeNotificationListener(NotificationListener)): | |
11495 | Renamed from removeListener. | |
11496 | * javax/management/NotificationEmitter.java: | |
11497 | (removeNotificationListener(NotificationListener, | |
11498 | NotificationFilter, Object)): Likewise. | |
11499 | * javax/management/NotificationFilter.java: | |
11500 | Implement Serializable. | |
11501 | * javax/management/NotificationListener.java: | |
11502 | Implement java.util.EventListener. | |
11503 | * javax/rmi/ssl/SslRMIClientSocketFactory.java: | |
11504 | Implement Serializable. | |
11505 | ||
11506 | 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
11507 | ||
11508 | * java/lang/management/MemoryNotificationInfo.java: | |
11509 | New file. | |
11510 | ||
11511 | 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
11512 | ||
11513 | PR 28392 | |
11514 | * gnu/javax/swing/text/html/parser/htmlValidator.java | |
11515 | (tagIsValidForContext): If it is not possible to insert any tag, but | |
11516 | is possible to insert a P, insert a P. | |
11517 | * gnu/javax/swing/text/html/parser/HTML_401Swing.java | |
11518 | (newInstance): Removed print statement. (getBodyElements): | |
11519 | Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the | |
11520 | valid body level tags (will be enclosed into P's). | |
11521 | ||
11522 | 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au> | |
11523 | ||
11524 | * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam): | |
11525 | Condition the creation of .keystore (a default keystore) based on the | |
11526 | createIfNotFound argument as well. | |
11527 | ||
11528 | 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
11529 | ||
11530 | PR 28392 | |
11531 | * examples/gnu/classpath/examples/swing/HtmlDemo.java: | |
11532 | Removed heading p tag from the parsing example. | |
11533 | * gnu/javax/swing/text/html/parser/HTML_401F.java: | |
11534 | (createHtmlContentModel): Explained. | |
11535 | (defineElements): Call getBodyElements to get the body | |
11536 | elements. (getBodyElements): New method. (model): | |
11537 | Made protected from private. | |
11538 | * gnu/javax/swing/text/html/parser/htmlValidator.java | |
11539 | (openTag): Mind that current content model may be null. | |
11540 | (tagIsValidForContext): If the tag is PCDATA, and it is not | |
11541 | valid for context, but the paragraph (P) is valid for context, | |
11542 | suggest to insert the P tag here. | |
11543 | * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent, | |
11544 | HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle | |
11545 | implied P tags here. | |
11546 | * javax/swing/text/html/HTMLEditorKit.java (getParser): | |
11547 | Get the custom parser, using HTML_401Swing.java DTD. | |
11548 | * javax/swing/text/html/parser/ParserDelegator.java: | |
11549 | Removed the obsolete note that HTMLEditorKit does not exist. | |
11550 | * gnu/javax/swing/text/html/parser/GnuParserDelegator.java, | |
11551 | gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files. | |
11552 | ||
11553 | 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
11554 | ||
11555 | * javax/management/ListenerNotFoundException.java: | |
11556 | New file. | |
11557 | * javax/management/MBeanFeatureInfo.java: | |
11558 | (hashCode()): Use summation instead of multiplication | |
11559 | for consistency with other classes. | |
11560 | * javax/management/MBeanNotificationInfo.java, | |
11561 | * javax/management/Notification.java, | |
11562 | * javax/management/NotificationBroadcaster.java, | |
11563 | * javax/management/NotificationEmitter.java, | |
11564 | * javax/management/NotificationFilter.java, | |
11565 | * javax/management/NotificationListener.java: | |
11566 | New files. | |
11567 | * javax/management/OperationsException.java: | |
11568 | (serialVersionUID): Added. | |
11569 | ||
11570 | 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com> | |
11571 | Mark Wielaard <mark@klomp.org> | |
11572 | ||
11573 | * java/io/PrintStream.java: Added four constructors, for File and | |
11574 | String describing a filename with or without explicit encoding. | |
11575 | ||
11576 | 2006-07-16 Sven de Marothy <sven@physto.se> | |
11577 | ||
11578 | * javax/rmi/ssl/SslRMIServerSocketFactory.java, | |
11579 | * javax/rmi/ssl/SslRMIClientSocketFactory.java: | |
11580 | New files. | |
11581 | ||
11582 | 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> | |
11583 | ||
11584 | PR Classpath/28391 | |
11585 | * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): | |
11586 | New method. | |
11587 | (setKeyStoreParams(4)): Call the above method with false as its 1st arg. | |
11588 | (setProviderClassNameParam): Made private. | |
11589 | (setKeystoreTypeParam): Likewise. | |
11590 | (setKeyPasswordParam): Likewise | |
11591 | (setKeystorePasswordParam): Likewise. | |
11592 | (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to | |
11593 | create or not the keystore if it's not there, and the second is the store's | |
11594 | password to process before loading the keystore. Amended the code | |
11595 | accordingly. | |
11596 | * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's | |
11597 | setKeyStoreParams(5) with true as its first argument. | |
11598 | * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise. | |
11599 | * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise. | |
11600 | ||
11601 | 2006-07-16 Sven de Marothy <sven@physto.se> | |
11602 | ||
11603 | * java/util/UUID.java: New file. | |
11604 | ||
11605 | 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> | |
11606 | ||
11607 | * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file. | |
11608 | * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file. | |
11609 | * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise. | |
11610 | * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise. | |
11611 | * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise. | |
11612 | * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise. | |
11613 | * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly | |
11614 | added Key Wrapping Algorithm SPIs. | |
11615 | ||
11616 | 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> | |
11617 | ||
11618 | * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key | |
11619 | wrapping/unwrapping to invoke their engineGetOutputSize. | |
11620 | ||
11621 | 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> | |
11622 | ||
11623 | * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field. | |
11624 | (engineInit): If a SecureRandom was specified then use it. | |
11625 | (nextRandomBytes): New method. | |
11626 | (engineWrap): Use above method. | |
11627 | * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field. | |
11628 | (getDefaultPRNG): New method. | |
11629 | * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES. | |
11630 | * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS): | |
11631 | New constant. | |
11632 | ||
11633 | 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> | |
11634 | ||
11635 | * gnu/javax/crypto/jce/params/BlockCipherParameters.java | |
11636 | (engineGetParameterSpec): Should be able to return an IvParameterSpec. | |
11637 | ||
11638 | 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> | |
11639 | ||
11640 | * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes | |
11641 | offset into consideration. | |
11642 | ||
11643 | 2006-07-16 Mario Torre <neugens@limasoftware.net> | |
11644 | ||
11645 | * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client): | |
11646 | Fixed comment. This functions now requires to be called | |
11647 | with gdk lock held, the comment states that. | |
11648 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache): | |
11649 | Introduces gdk locks around critical regions of code. | |
11650 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys): | |
11651 | Likewise. | |
11652 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes): | |
11653 | Likewise. | |
11654 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync): | |
11655 | Likewise. | |
11656 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset): | |
11657 | Likewise. | |
11658 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string): | |
11659 | Likewise. | |
11660 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string): | |
11661 | Likewise. | |
11662 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir): | |
11663 | Likewise. | |
11664 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir): | |
11665 | Likewise. | |
11666 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists): | |
11667 | Likewise. | |
11668 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class): | |
11669 | * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK. | |
11670 | ||
11671 | 2006-07-15 Sven de Marothy <sven@physto.se> | |
11672 | ||
11673 | * javax/swing/JFileChooser.java | |
11674 | Change default selection mode to FILES_ONLY. | |
11675 | * javax/swing/plaf/basic/BasicDirectoryModel.java | |
11676 | Document, fix selection mode filtering. | |
11677 | (renameFile): Implement | |
11678 | * javax/swing/plaf/basic/BasicFileChooserUI.java | |
11679 | (selectedDir): New field to handle selected directories, | |
11680 | disallow selecting of directories in FILES_ONLY mode. | |
11681 | * javax/swing/plaf/metal/MetalFileChooserUI.java: | |
11682 | (EditingActionListener.actionPerformed): | |
11683 | Stop editing on all actions (e.g. return-key press) | |
11684 | ||
11685 | 2006-07-15 Mark Wielaard <mark@klomp.org> | |
11686 | ||
11687 | * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref | |
11688 | to code. | |
11689 | (JNI Implementation): Mark JVMTI Implementation as next. | |
11690 | (JVMTI Implementation): Mark JNI Implementation as prev. | |
11691 | ||
11692 | 2006-07-15 Mark Wielaard <mark@klomp.org> | |
11693 | ||
11694 | * include/Makefile.am: Remove | |
11695 | include/gnu_java_awt_peer_gtk_GdkTextLayout.h. | |
11696 | * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed. | |
11697 | * native/jni/gtk-peer/Makefile.am: Remove | |
11698 | gnu_java_awt_peer_gtk_GdkTextLayout.c | |
11699 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: | |
11700 | Removed. | |
11701 | ||
11702 | * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated. | |
11703 | ||
11704 | 2006-07-15 Mark Wielaard <mark@klomp.org> | |
11705 | ||
11706 | * autogen.sh: Recognize autoconf 2.60. | |
11707 | ||
11708 | 2006-07-15 Keith Seitz <keiths@redhat.com> | |
11709 | ||
11710 | * NEWS: Update for JVMTI and jvmti.h. | |
11711 | * doc/vmintegration.texinfo: Likewise. | |
11712 | * include/jvmti.h: New file. | |
11713 | ||
11714 | 2006-07-15 Mark Wielaard <mark@klomp.org> | |
11715 | ||
11716 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: | |
11717 | Removed C++ style comment. | |
11718 | ||
11719 | 2006-07-15 Sven de Marothy <sven@physto.se> | |
11720 | ||
11721 | * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java, | |
11722 | * java/awt/MouseInfo.java, | |
11723 | * java/awt/PointerInfo.java, | |
11724 | * java/awt/peer/MouseInfoPeer.java: | |
11725 | New files. | |
11726 | ||
11727 | * java/awt/Image.java | |
11728 | (accelerationPriority): New field. | |
11729 | (setAccelerationPriority, getAccelerationPriority): New methods.. | |
11730 | ||
11731 | * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h, | |
11732 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c, | |
11733 | * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: | |
11734 | (getMouseCoordinates): New method. | |
11735 | ||
11736 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
11737 | (updateAlwaysOnTop): Remove stub overload. | |
11738 | ||
11739 | * gnu/java/awt/ClasspathToolkit.java, | |
11740 | * gnu/java/awt/peer/gtk/GtkToolkit.java, | |
11741 | * include/gnu_java_awt_peer_gtk_GtkToolkit.h, | |
11742 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: | |
11743 | (getMouseInfoPeer): New method. | |
11744 | (getMouseNumberOfButtons): New method. | |
11745 | ||
11746 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
11747 | * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h | |
11748 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
11749 | (gtkWindowSetAlwaysOnTop): New method. | |
11750 | (updateAlwaysOnTop): Implement. | |
11751 | ||
11752 | * java/awt/Toolkit.java, | |
11753 | (getMouseInfoPeer): New method. | |
11754 | ||
11755 | * java/awt/Window.java | |
11756 | (alwaysOnTop): New field. | |
11757 | (isAlwaysOnTop, setAlwaysOnTop): New methods. | |
11758 | ||
11759 | * java/awt/peer/WindowPeer.java: Doc fix. | |
11760 | ||
11761 | 2006-07-14 Sven de Marothy <sven@physto.se> | |
11762 | ||
11763 | * java/awt/font/TextLayout.java: | |
11764 | (hitTestChar): Stub method. | |
11765 | * java/awt/font/TextMeasurer.java: | |
11766 | (getLayout): Throw exception on invalid argument. | |
11767 | ||
11768 | 2006-07-14 Sven de Marothy <sven@physto.se> | |
11769 | ||
11770 | * java/awt/image/DataBuffer.java | |
11771 | (DataBuffer): Call constructors in the correct order, | |
11772 | ||
11773 | 2006-07-14 Mark Wielaard <mark@klomp.org> | |
11774 | ||
11775 | Revert to previous implementation. | |
11776 | * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for | |
11777 | constraints insets. | |
11778 | ||
11779 | 2006-07-14 Roman Kennke <kennke@aicas.com> | |
11780 | ||
11781 | * gnu/java/awt/peer/x/XToolkit.java | |
11782 | (XToolkit): Install properties to SystemProperties | |
11783 | rather than System, to avoid SecurityManager. | |
11784 | (getImage(String)): Return error image when string is invalid. | |
11785 | (createImage(URL)): Moved image loading to helper method. | |
11786 | (createImage(ImageProducer)): Implemented. | |
11787 | (createImage(byte[],int,int)): Implemented. | |
11788 | (createImage(InputStream)): New helper method. | |
11789 | ||
11790 | 2006-07-14 Tania Bento <tbento@redhat.com> | |
11791 | ||
11792 | * java/awt/FlowLayout.java | |
11793 | (setHgap): No Excpetion should be thrown if hgap has | |
11794 | a negative value. | |
11795 | (setVgap): No Exception should be thrown if vgap has | |
11796 | a negative value. | |
11797 | ||
11798 | 2006-07-14 David Gilbert <david.gilbert@object-refinery.com> | |
11799 | ||
11800 | * java/awt/image/MultiPixelPackedSampleModel.java: | |
11801 | Added API docs all over. | |
11802 | ||
11803 | 2006-07-14 Matt Wringe <mwringe@redhat.com> | |
11804 | ||
11805 | * gnu/javax/crypto/jce/cipher/CipherAdapter.java | |
11806 | (engineInit): Throw InvalidAlgorithmParameterException | |
11807 | for invalid IVParameterSpec IV length. | |
11808 | ||
11809 | 2006-07-14 David Gilbert <david.gilbert@object-refinery.com> | |
11810 | ||
11811 | * java/awt/image/MultiPixelPackedSampleModel.java | |
11812 | (createDataBuffer): Include dataBitOffset in calculating the size for | |
11813 | the data buffer. | |
11814 | ||
11815 | 2006-07-14 David Gilbert <david.gilbert@object-refinery.com> | |
11816 | ||
11817 | * java/awt/image/MultiPixelPackedSampleModel.java | |
11818 | (getSampleSize()): Return a copy of the array, | |
11819 | (getTransferType()): New method override. | |
11820 | ||
11821 | 2006-07-14 Roman Kennke <kennke@aicas.com> | |
11822 | ||
11823 | * java/awt/CardLayout.java | |
11824 | (show): Validate parent to make sure that the layout is | |
11825 | valid. | |
11826 | ||
11827 | 2006-07-14 Roman Kennke <kennke@aicas.com> | |
11828 | ||
11829 | * java/awt/Component.java | |
11830 | (enable): Added tree locking. | |
11831 | (disable): Added tree locking. | |
11832 | (show): Added tree locking. | |
11833 | (hide): Added tree locking. | |
11834 | (getLocationOnScreen): Added tree locking. | |
11835 | (reshape): Added tree locking. | |
11836 | (addHierarchyListener): Added tree locking. | |
11837 | (removeHierarchyListener): Added tree locking. | |
11838 | (addHierarchyBoundsListener): Added tree locking. | |
11839 | (removeHierarchyBoundsListener): Added tree locking. | |
11840 | (addNotify): Added tree locking. | |
11841 | (removeNotify): Added tree locking. | |
11842 | * java/awt/Container.java | |
11843 | (invalidateTree): Added tree locking. | |
11844 | (getAlignmentX): Added tree locking. | |
11845 | (getAlignmentY): Added tree locking. | |
11846 | (addNotify): Added tree locking. | |
11847 | (setComponentZOrder): Added tree locking. | |
11848 | (getComponentZOrder): Added tree locking. | |
11849 | ||
11850 | 2006-07-14 David Gilbert <david.gilbert@object-refinery.com> | |
11851 | ||
11852 | * java/awt/image/MultiPixelPackedSampleModel.java | |
11853 | (createSubsetSampleModel): Restored argument check, but let null | |
11854 | through. | |
11855 | ||
11856 | 2006-07-14 David Gilbert <david.gilbert@object-refinery.com> | |
11857 | ||
11858 | * java/awt/image/MultiPixelPackedSampleModel.java | |
11859 | (createSubsetSampleModel): Removed argument check. | |
11860 | ||
11861 | 2006-07-14 Roman Kennke <kennke@aicas.com> | |
11862 | ||
11863 | * java/awt/Component.java | |
11864 | (numHierarchyListeners): New field. | |
11865 | (numHierarchyBoundsListeners): New field. | |
11866 | (show): Fire hierarchy events here. Only fire component event | |
11867 | if there is actually a listener for it. | |
11868 | (hide): Fire hierarchy events here. Only fire component event | |
11869 | if there is actually a listener for it. | |
11870 | (reshape): Fire hierarchy events here. Only fire component event | |
11871 | if there is actually a listener for it. | |
11872 | (addHierarchyListeners): Update listener counters. | |
11873 | (removeHierarchyListeners): Update listener counters. | |
11874 | (addHierarchyBoundsListeners): Update listener counters. | |
11875 | (removeHierarchyBoundsListeners): Update listener counters. | |
11876 | (fireHierarchyEvent): New helper method for firing hierarchy | |
11877 | events. | |
11878 | * java/awt/Container.java | |
11879 | (addImpl): Update listener counters. Fire hierarchy event. | |
11880 | (remove): Update listener counters. Fire hierarchy event. | |
11881 | (fireHierarchyEvent): New helper method for firing hierarchy | |
11882 | events. | |
11883 | (updateHierarchyListenerCount): New helper method for | |
11884 | updating the listener counters. | |
11885 | ||
11886 | 2006-07-14 David Gilbert <david.gilbert@object-refinery.com> | |
11887 | ||
11888 | * java/awt/image/MultiPixelPackedSampleModel.java | |
11889 | (equals): New method override, | |
11890 | (hashCode): Likewise. | |
11891 | ||
11892 | 2006-07-14 David Gilbert <david.gilbert@object-refinery.com> | |
11893 | ||
11894 | * java/awt/image/MultiPixelPackedSampleModel.java | |
11895 | (MultiPixelPackedSampleModel(int, int, int, int, int, int)): | |
11896 | Corrected scanlineStride calculation. | |
11897 | ||
11898 | 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au> | |
11899 | ||
11900 | * gnu/java/security/Registry.java (KWA_PREFIX): New constant. | |
11901 | (AES_KWA): Likewise. | |
11902 | (AES128_KWA): Likewise. | |
11903 | (AES192_KWA): Likewise. | |
11904 | (AES256_KWA): Likewise. | |
11905 | (RIJNDAEL_KWA): Likewise. | |
11906 | (TRIPLEDES_KWA): Likewise. | |
11907 | (DESEDE_KWA): Likewise. | |
11908 | * gnu/javax/crypto/kwa/AESKeyWrap.java: New file | |
11909 | * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise. | |
11910 | * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise. | |
11911 | * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise. | |
11912 | * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise. | |
11913 | * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise. | |
11914 | ||
11915 | 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au> | |
11916 | ||
11917 | * gnu/javax/crypto/pad/IPad.java: Updated class documentation. | |
11918 | (PADDING_BLOCK_SIZE): New constant. | |
11919 | (init(Map attributes)): New method. | |
11920 | * gnu/javax/crypto/pad/BasePad.java (init): New method. | |
11921 | ||
11922 | 2006-07-14 Mario Torre <neugens@limasoftware.net> | |
11923 | ||
11924 | * gnu/java/security/OID.java (OID): Private Constructor removed as | |
11925 | it is not needed anymore. | |
11926 | (clone): Fixed. Now uses super.clone instead of the private | |
11927 | constructor as per specification of clone method. | |
11928 | (serialVersionUID): added new field to allow serialization. | |
11929 | ||
11930 | 2006-07-13 Sven de Marothy <sven@physto.se> | |
11931 | ||
11932 | * gnu/javax/imageio/gif/GIFImageReader.java | |
11933 | (read): Remove old debugging trace. | |
11934 | ||
11935 | 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch> | |
11936 | ||
11937 | PR awt/28369: | |
11938 | * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and | |
11939 | blue mask. | |
11940 | ||
11941 | 2006-07-13 Roman Kennke <kennke@aicas.com> | |
11942 | ||
11943 | * java/awt/Component.java | |
11944 | (DEFAULT_MAX_SIZE): New static constant. | |
11945 | (preferredSize): Return copy of the actual value computed | |
11946 | by new helper method. | |
11947 | (preferredSizeImpl): New helper method. Adds locking and | |
11948 | correct handling of cached value. | |
11949 | (minimumSize): Return copy of the actual value computed | |
11950 | by new helper method. | |
11951 | (minimumSizeImpl): New helper method. Adds locking and | |
11952 | correct handling of cached value. | |
11953 | (getMaximumSize): Return copy of the actual value computed | |
11954 | by new helper method. | |
11955 | (maximumSizeImpl): New helper method. Adds locking and | |
11956 | correct handling of cached value. | |
11957 | (invalidate): Correct handling of cached layout information. | |
11958 | Added locking. | |
11959 | * java/awt/Container.java | |
11960 | (preferredSize): Minimized locking. Corrected handling of cached | |
11961 | values. Return copy of real value. | |
11962 | (minimumSize): Minimized locking. Corrected handling of cached | |
11963 | values. Return copy of real value. | |
11964 | (getMaximumSize): Minimized locking. Corrected handling of cached | |
11965 | values. Return copy of real value. | |
11966 | ||
11967 | 2006-07-13 Tania Bento <tbento@redhat.com> | |
11968 | ||
11969 | * gnu/java/awt/peer/ClasspathFontPeer.java | |
11970 | (isLogicalFontName): Return true if name == default. | |
11971 | (logicalFontNameToFaceName): Check if name == default, | |
11972 | and if so, return "Dialog.plain". | |
11973 | (setStandardAttributes(String, Map)): If name == null, | |
11974 | it should be set to "Default", not "SansSerif". | |
11975 | * java/awt/Canvas.java | |
11976 | (generateName): Fixed documentation. | |
11977 | * java/awt/CheckboxMenuItem.java | |
11978 | Added static variable "next_chkmenuitem_number". | |
11979 | (generateName): Added and implemented method. | |
11980 | (getUniqueLong): Likewise. | |
11981 | * java/awt/Choice.java | |
11982 | Added static variable "next_choice_number". | |
11983 | (generateName): Added and implemented method. | |
11984 | (getUniqueLong): Likewise. | |
11985 | * java/awt/Cursor.java | |
11986 | (Cursor(int)): Set name depending on the type passed. | |
11987 | * java/awt/List.java | |
11988 | Added static variable "next_list_number". | |
11989 | (generateName): Added and implemented method. | |
11990 | (getUniqueLong): Likewise. | |
11991 | * java/awt/Menu.java | |
11992 | Added static variable "next_menu_number". | |
11993 | (generateName): Added and implemented method. | |
11994 | (getUniqueLong): Likewise. | |
11995 | * java/awt/MenuBar.java | |
11996 | Added static variable "next_menubar_number". | |
11997 | (generateName): Added and implemented method. | |
11998 | (getUniqueLong): Likewise. | |
11999 | * java/awt/MenuComponent.java | |
12000 | (getName): Before returning name, check if name == null | |
12001 | and name is not explicity set. If this is the case, | |
12002 | name will be generated. | |
12003 | (generateName): Added and implemented method. | |
12004 | * java/awt/MenuItem.java | |
12005 | Added static variable "next_menuitem_number". | |
12006 | (generateName): Added and implemented method. | |
12007 | (getUniqueLong): Likewise. | |
12008 | * java/awt/PopupMenu.java | |
12009 | Added static variable "next_popup_number". | |
12010 | (generateName): Added and implemented method. | |
12011 | (getUniqueLong): Likewise. | |
12012 | * java/awt/ScrollPane.java | |
12013 | Added static variable "next_scrollpane_number". | |
12014 | (generateName): Added and implemented method. | |
12015 | (getUniqueLong): Likewise. | |
12016 | * java/awt/TextField.java | |
12017 | Added static variable "next_textfield_number". | |
12018 | (generateName): Added and implemented method. | |
12019 | (getUniqueLong): Likewise. | |
12020 | ||
12021 | ||
12022 | 2006-07-13 David Gilbert <david.gilbert@object-refinery.com> | |
12023 | ||
12024 | * java/awt/image/SinglePixelPackedSampleModel.java | |
12025 | (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert | |
12026 | mask correctly as an unsigned integer, | |
12027 | (equals): New method override. | |
12028 | ||
12029 | 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12030 | ||
12031 | * javax/swing/text/html/HTMLDocument.java (insertAfterEnd, | |
12032 | insertAfterStart, insertBeforeEnd): Removed stub markings. | |
12033 | ||
12034 | 2006-07-13 David Gilbert <david.gilbert@object-refinery.com> | |
12035 | ||
12036 | * java/awt/image/BandedSampleModel.java: API doc updates and source | |
12037 | code reformatting, | |
12038 | * java/awt/image/SinglePixelPackageSampleModel.java: Likewise. | |
12039 | ||
12040 | 2006-07-13 David Gilbert <david.gilbert@object-refinery.com> | |
12041 | ||
12042 | * java/awt/image/BandedSampleModel.java: API doc updates. | |
12043 | ||
12044 | 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12045 | ||
12046 | * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): | |
12047 | Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack, | |
12048 | HTMLReader.insertTag, HTMLReader.insertTagEncountered, | |
12049 | HTMLReader.pushDepth, HTMLReader.popDepth): Documented. | |
12050 | (HRMLReader.blockClose): Mind that parser stack may be empty. | |
12051 | (HTMLReader.handeComment, HTMLReader.handleStartTag, | |
12052 | HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. | |
12053 | (HTMLReader.shouldInsert): New method. (getElement(String)): | |
12054 | Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, | |
12055 | insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML): | |
12056 | Implemented. (getInsertingReader): New method. | |
12057 | * examples/gnu/classpath/examples/swing/HtmlDemo.java: | |
12058 | Added buttons to demonstrate the work of the insert actions. | |
12059 | ||
12060 | 2006-07-13 David Gilbert <david.gilbert@object-refinery.com> | |
12061 | ||
12062 | * java/awt/image/SampleModel.java: API doc updates and additions, | |
12063 | * java/awt/image/SinglePixelPackedSampleModel.java: Likewise. | |
12064 | ||
12065 | 2006-07-12 Sven de Marothy <sven@physto.se> | |
12066 | ||
12067 | * javax/swing/JFileChooser.java: | |
12068 | (createDialog): Close operation should cause a cancel. | |
12069 | ||
12070 | 2006-07-12 Francis Kung <fkung@redhat.com> | |
12071 | ||
12072 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports. | |
12073 | (cairoArc): New native method. | |
12074 | (cairoRestore): New native method. | |
12075 | (cairoSave): New native method. | |
12076 | (cairoScale): New native method. | |
12077 | (createPath): New method to centralize code from draw and fill. | |
12078 | (draw): Modified to use createPath method. | |
12079 | (fill): Modified to use createPath method. | |
12080 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added | |
12081 | function declarations. | |
12082 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
12083 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New | |
12084 | method. | |
12085 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New | |
12086 | method. | |
12087 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New | |
12088 | method. | |
12089 | ||
12090 | 2006-07-12 Tom Tromey <tromey@redhat.com> | |
12091 | ||
12092 | PR libgcj/27271: | |
12093 | * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte | |
12094 | on PartialInputStream. | |
12095 | (PartialInputStream.dummyByteCount): New field. | |
12096 | (PartialInputStream.fillBuffer): Handle dummy byte. | |
12097 | (PartialInputStream.read): Likewise. | |
12098 | (PartialInputStream.addDummyByte): New method. | |
12099 | ||
12100 | 2006-07-12 Mario Torre <neugens@limasoftware.net> | |
12101 | ||
12102 | * native/jni/gconf-peer/GConfNativePeer.c | |
12103 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string): | |
12104 | Fixed C++ style comment. | |
12105 | ||
12106 | 2006-07-12 David Gilbert <david.gilbert@object-refinery.com> | |
12107 | ||
12108 | * java/util/Arrays.java | |
12109 | (asList): Updated API docs. | |
12110 | ||
12111 | 2006-07-11 Robert Schuster <robertschuster@fsfe.org> | |
12112 | ||
12113 | Fixes PR28350. | |
12114 | * native/jni/gconf-peer/GConfNativePeer.c: | |
12115 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string): | |
12116 | Changed if-expression. | |
12117 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string): | |
12118 | Added check for _value not being NULL. | |
12119 | ||
12120 | 2006-07-11 Roman Kennke <kennke@aicas.com> | |
12121 | ||
12122 | * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c | |
12123 | (read): Use fd when local sockets are disabled to make the | |
12124 | compiler quite. | |
12125 | (write): Likewise. | |
12126 | ||
12127 | 2006-07-11 Roman Kennke <kennke@aicas.com> | |
12128 | ||
12129 | * java/awt/image/MultiPixelPackedSampleModel.java | |
12130 | (MultiPixelPackedSampleModel): Substract -1 so that the integer | |
12131 | division gets rounded up. | |
12132 | ||
12133 | 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
12134 | ||
12135 | * java/lang/management/ManageFactory.java: | |
12136 | (getMemoryManagerMXBeans()): Use addAll, not add. | |
12137 | ||
12138 | 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com> | |
12139 | ||
12140 | PR 27649: | |
12141 | * gnu/classpath/ByteArray.java: Removed (moved). | |
12142 | * gnu/java/security/util/ByteArray.java: New File. | |
12143 | * gnu/javax/crypto/RSACipherImpl.java: Reference | |
12144 | gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray. | |
12145 | ||
12146 | 2006-07-11 Roman Kennke <kennke@aicas.com> | |
12147 | ||
12148 | * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c | |
12149 | (available): Pass fd as argument and avoid JNI class/field | |
12150 | lookup. | |
12151 | (read): Likewise. | |
12152 | (write): Likewise. | |
12153 | * include/gnu_java_net_local_LocalSocketImpl.h: | |
12154 | Regenerated. | |
12155 | * gnu/java/net/local/LocalSocketImpl.h | |
12156 | (available): Pass fd as argument and avoid JNI class/field | |
12157 | lookup. | |
12158 | (read): Likewise. | |
12159 | (write): Likewise. | |
12160 | ||
12161 | 2006-07-11 Sven de Marothy <sven@physto.se> | |
12162 | ||
12163 | * gnu/javax/sound/sampled/AU/AUReader.java: | |
12164 | Correct file extension from .as to .au. | |
12165 | ||
12166 | 2006-07-11 Sven de Marothy <sven@physto.se> | |
12167 | ||
12168 | * gnu/javax/sound/sampled/AU/AUReader.java: | |
12169 | New file. | |
12170 | * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: | |
12171 | Added new provider. | |
12172 | ||
12173 | 2006-07-11 David Gilbert <david.gilbert@object-refinery.com> | |
12174 | ||
12175 | * javax/swing/JTable.java | |
12176 | (setRowSelectionAllowed): Fire required PropertyChangeEvent, | |
12177 | (setColumnSelectionAllowed): Likewise. | |
12178 | ||
12179 | 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com> | |
12180 | ||
12181 | PR 27649: | |
12182 | * gnu/classpath/debug/Simple1LineFormatter.java: Use | |
12183 | AccessController.doPrivileged instead of SystemProperties.getProperty. | |
12184 | * gnu/classpath/debug/SystemLogger.java: Likewise. | |
12185 | * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary | |
12186 | repeated getProperty calls for "file.seperator". | |
12187 | (refresh): Since already in privileged block, call System.getProperty | |
12188 | instead of SystemProperties.getProperty. | |
12189 | * gnu/java/security/key/dss/DSSKey.java | |
12190 | (toString): Use AccessController.doPrivileged instead of | |
12191 | SystemProperties.getProperty. | |
12192 | * gnu/java/security/key/dss/DSSPrivateKey.java | |
12193 | (toString): Likewise. | |
12194 | * gnu/java/security/key/dss/DSSPublicKey.java | |
12195 | (toString): Likewise. | |
12196 | * gnu/java/security/key/rsa/GnuRSAKey.java | |
12197 | (toString): Likewise. | |
12198 | * gnu/java/security/key/rsa/GnuRSAPrivateKey.java | |
12199 | (toString): Likewise. | |
12200 | * gnu/java/security/key/rsa/GnuRSAPublicKey.java | |
12201 | (toString): Likewise. | |
12202 | * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise. | |
12203 | * gnu/javax/crypto/key/dh/GnuDHKey.java | |
12204 | (toString): Likewise. | |
12205 | * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java | |
12206 | (toString): Likewise. | |
12207 | * gnu/javax/crypto/key/dh/GnuDHPublicKey.java | |
12208 | (toString): Likewise. | |
12209 | ||
12210 | 2006-07-11 David Gilbert <david.gilbert@object-refinery.com> | |
12211 | ||
12212 | * javax/swing/AbstractButton.java | |
12213 | (disabledIcon): Fixed name (was 'disabeldIcon'), | |
12214 | (getDisabledIcon): Updated for corrected field name, | |
12215 | (setDisabledIcon): Fire a PropertyChangeEvent. | |
12216 | ||
12217 | 2006-07-11 David Gilbert <david.gilbert@object-refinery.com> | |
12218 | ||
12219 | * javax/swing/DefaultBoundedRangeModel.java | |
12220 | (readObject): New private method, | |
12221 | (writeObject): Likewise. | |
12222 | ||
12223 | 2006-07-11 David Gilbert <david.gilbert@object-refinery.com> | |
12224 | ||
12225 | * javax/swing/ButtonGroup.java | |
12226 | (add): Ignore null argument, | |
12227 | (remove): Ignore null argument. If removing selected button, clear the | |
12228 | sel field, | |
12229 | (findButton): Changed case for method name, and documented, | |
12230 | (setSelected): Updated for modification to findButton() method name, | |
12231 | (isSelected): Updated API docs. | |
12232 | ||
12233 | 2006-07-11 David Gilbert <david.gilbert@object-refinery.com> | |
12234 | ||
12235 | * java/awt/image/BufferedImage.java | |
12236 | (BufferedImage(int, int, int)): Use correct color space for | |
12237 | TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an | |
12238 | IllegalArgumentException for an unrecognised type. | |
12239 | ||
97b8365c TT |
12240 | 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org> |
12241 | ||
12242 | * java/lang/management/ManagementFactory.java: | |
12243 | (getMemoryPoolMXBeans): Genericized fully. | |
12244 | (getMemoryManagerMXBeans): Likewise. | |
12245 | (getGarbageCollectorMXBeans): Likewise. | |
12246 | ||
12247 | 2006-07-10 Tom Tromey <tromey@redhat.com> | |
12248 | ||
12249 | * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans): | |
12250 | Genericized. | |
12251 | (getMemoryManagerMXBeans): Likewise. | |
12252 | (getGarbageCollectorMXBeans): Likewise. | |
12253 | ||
ac1ed908 MW |
12254 | 2006-07-10 Mario Torre <neugens@limasoftware.net> |
12255 | ||
97b8365c TT |
12256 | * java/awt/BasicStroke.java: Removed unused import. |
12257 | * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. | |
12258 | * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. | |
12259 | * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed. | |
ac1ed908 MW |
12260 | |
12261 | 2006-07-10 Matt Wringe <mwringe@redhat.com> | |
12262 | ||
12263 | PR classpath/28212: | |
12264 | * javax/crypto/spec/SecretKeySpec.java | |
12265 | (equals): Check object type. | |
12266 | ||
12267 | 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12268 | ||
12269 | * examples/gnu/classpath/examples/CORBA/SimpleCommunication/ | |
12270 | communication/StructureToPassHelper.java, | |
12271 | examples/gnu/classpath/examples/CORBA/SimpleCommunication/ | |
12272 | communication/StructureToReturnHelper.java, | |
12273 | examples/gnu/classpath/examples/CORBA/SimpleCommunication/ | |
12274 | communication/TreeNodeHelper.java, | |
12275 | examples/gnu/classpath/examples/CORBA/SimpleCommunication/ | |
12276 | communication/WeThrowThisExceptionHelper.java, | |
12277 | gnu/CORBA/ForwardRequestHelper.java, | |
12278 | org/omg/CORBA/CompletionStatusHelper.java, | |
12279 | org/omg/CORBA/CurrentHelper.java, | |
12280 | org/omg/CORBA/DefinitionKindHelper.java, | |
12281 | org/omg/CORBA/IDLTypeHelper.java, | |
12282 | org/omg/CORBA/NameValuePairHelper.java, | |
12283 | org/omg/CORBA/ObjectHelper.java, | |
12284 | org/omg/CORBA/ParameterModeHelper.java, | |
12285 | org/omg/CORBA/PolicyErrorCodeHelper.java, | |
12286 | org/omg/CORBA/PolicyErrorHelper.java, | |
12287 | org/omg/CORBA/PolicyHelper.java, | |
12288 | org/omg/CORBA/PolicyListHelper.java, | |
12289 | org/omg/CORBA/PolicyTypeHelper.java, | |
12290 | org/omg/CORBA/ServiceDetailHelper.java, | |
12291 | org/omg/CORBA/ServiceInformationHelper.java, | |
12292 | org/omg/CORBA/SetOverrideTypeHelper.java, | |
12293 | org/omg/CORBA/StringValueHelper.java, | |
12294 | org/omg/CORBA/UnionMemberHelper.java, | |
12295 | org/omg/CORBA/UnknownUserExceptionHelper.java, | |
12296 | org/omg/CORBA/VisibilityHelper.java, | |
12297 | org/omg/CORBA/WStringValueHelper.java, | |
12298 | org/omg/CORBA/WrongTransactionHelper.java, | |
12299 | org/omg/CosNaming/BindingHelper.java, | |
12300 | org/omg/CosNaming/BindingIteratorHelper.java, | |
12301 | org/omg/CosNaming/BindingListHelper.java, | |
12302 | org/omg/CosNaming/BindingTypeHelper.java, | |
12303 | org/omg/CosNaming/NameComponentHelper.java, | |
12304 | org/omg/CosNaming/NameHelper.java, | |
12305 | org/omg/CosNaming/NamingContextExtHelper.java, | |
12306 | org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java, | |
12307 | org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java, | |
12308 | org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java, | |
12309 | org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java, | |
12310 | org/omg/CosNaming/NamingContextHelper.java, | |
12311 | org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java, | |
12312 | org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java, | |
12313 | org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java, | |
12314 | org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java, | |
12315 | org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java, | |
12316 | org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java, | |
12317 | org/omg/DynamicAny/AnySeqHelper.java, | |
12318 | org/omg/DynamicAny/DynAnyFactoryHelper.java, | |
12319 | org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java, | |
12320 | org/omg/DynamicAny/DynAnyHelper.java, | |
12321 | org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java, | |
12322 | org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java, | |
12323 | org/omg/DynamicAny/DynAnySeqHelper.java, | |
12324 | org/omg/DynamicAny/DynArrayHelper.java, | |
12325 | org/omg/DynamicAny/DynEnumHelper.java, | |
12326 | org/omg/DynamicAny/DynFixedHelper.java, | |
12327 | org/omg/DynamicAny/DynSequenceHelper.java, | |
12328 | org/omg/DynamicAny/DynStructHelper.java, | |
12329 | org/omg/DynamicAny/DynUnionHelper.java, | |
12330 | org/omg/DynamicAny/DynValueHelper.java, | |
12331 | org/omg/DynamicAny/NameDynAnyPairHelper.java, | |
12332 | org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, | |
12333 | org/omg/DynamicAny/NameValuePairHelper.java, | |
12334 | org/omg/DynamicAny/NameValuePairSeqHelper.java, | |
12335 | org/omg/IOP/CodecFactoryHelper.java, | |
12336 | org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java, | |
12337 | org/omg/IOP/CodecPackage/FormatMismatchHelper.java, | |
12338 | org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java, | |
12339 | org/omg/IOP/CodecPackage/TypeMismatchHelper.java, | |
12340 | org/omg/IOP/ComponentIdHelper.java, | |
12341 | org/omg/IOP/IORHelper.java, | |
12342 | org/omg/IOP/MultipleComponentProfileHelper.java, | |
12343 | org/omg/IOP/ProfileIdHelper.java, | |
12344 | org/omg/IOP/ServiceContextHelper.java, | |
12345 | org/omg/IOP/ServiceContextListHelper.java, | |
12346 | org/omg/IOP/ServiceIdHelper.java, | |
12347 | org/omg/IOP/TaggedComponentHelper.java, | |
12348 | org/omg/IOP/TaggedProfileHelper.java, | |
12349 | org/omg/PortableInterceptor/AdapterManagerIdHelper.java, | |
12350 | org/omg/PortableInterceptor/AdapterNameHelper.java, | |
12351 | org/omg/PortableInterceptor/AdapterStateHelper.java, | |
12352 | org/omg/PortableInterceptor/CurrentHelper.java, | |
12353 | org/omg/PortableInterceptor/ForwardRequestHelper.java, | |
12354 | org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java, | |
12355 | org/omg/PortableInterceptor/InvalidSlotHelper.java, | |
12356 | org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, | |
12357 | org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, | |
12358 | org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java, | |
12359 | org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java, | |
12360 | org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java, | |
12361 | org/omg/PortableServer/CurrentHelper.java, | |
12362 | org/omg/PortableServer/CurrentPackage/NoContextHelper.java, | |
12363 | org/omg/PortableServer/ForwardRequestHelper.java, | |
12364 | org/omg/PortableServer/POAHelper.java, | |
12365 | org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java, | |
12366 | org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java, | |
12367 | org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java, | |
12368 | org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java, | |
12369 | org/omg/PortableServer/POAPackage/NoServantHelper.java, | |
12370 | org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java, | |
12371 | org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java, | |
12372 | org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java, | |
12373 | org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java, | |
12374 | org/omg/PortableServer/POAPackage/WrongAdapterHelper.java, | |
12375 | org/omg/PortableServer/POAPackage/WrongPolicyHelper.java, | |
12376 | org/omg/PortableServer/ServantActivatorHelper.java, | |
12377 | org/omg/PortableServer/ServantLocatorHelper.java: Remove the | |
12378 | typecode caching and always use OrbRestricted.Singleton. | |
12379 | ||
97b8365c TT |
12380 | 2006-07-09 Tom Tromey <tromey@redhat.com> |
12381 | ||
12382 | * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized. | |
12383 | ||
ac1ed908 MW |
12384 | 2006-07-09 Mark Wielaard <mark@klomp.org> |
12385 | ||
12386 | * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension): | |
12387 | New static final boolean field. | |
12388 | (getComponentGraphics): Use hasXRenderExtension. | |
12389 | (setClip): Override method for locking. | |
12390 | ||
12391 | 2006-07-09 David Gilbert <david.gilbert@object-refinery.com> | |
12392 | ||
12393 | * javax/swing/AbstractButton.java | |
12394 | (setHorizontalTextPosition): Added check for illegal argument, | |
12395 | (setVerticalTextPosition): Likewise. | |
12396 | ||
12397 | 2006-07-09 David Gilbert <david.gilbert@object-refinery.com> | |
12398 | ||
12399 | * javax/swing/Timer.java | |
12400 | (setDelay): Throw IllegalArgumentException for negative delay, | |
12401 | (setInitialDelay): Likewise, | |
12402 | * javax/swing/ToolTipManager.java | |
12403 | (setInitialDelay): Document IllegalArgumentException, | |
12404 | (setDismissDelay): Likewise, | |
12405 | (setReshowDelay): Likewise. | |
12406 | ||
12407 | 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
12408 | ||
12409 | * java/lang/management/MemoryUsage.java: | |
12410 | (from(javax.management.openmbean.CompositeData)): | |
12411 | Implemented. | |
12412 | * java/lang/management/ThreadInfo.java: | |
12413 | Changed to use open types throughout for the state. | |
12414 | (ThreadInfo(long,String,String,long,long,String, | |
12415 | long,String,long,long,boolean,StackTraceElement[])): | |
12416 | New constructor. | |
12417 | (checkAttribute(javax.management.openmbean.CompositeType, | |
12418 | String, javax.management.openmbean.OpenType)): New method. | |
12419 | (from(javax.management.openmbean.CompositeData)): | |
12420 | Implemented. | |
12421 | (getLockName()): Fixed to use new variable. | |
12422 | (getLockOwnerId()): Likewise. | |
12423 | (getLockOwnerName()): Likewise. | |
12424 | (getThreadId()): Likewise. | |
12425 | (getThreadName()): Likewise. | |
12426 | (getThreadState()): Likewise. | |
12427 | (toString()): Refactored to use new variables. | |
12428 | * javax/management/openmbean/ArrayType.java: | |
12429 | New file. | |
12430 | * javax/management/openmbean/CompositeType.java: | |
12431 | Variables should be transient, not volatile. | |
12432 | * javax/management/openmbean/OpenDataException.java: | |
12433 | (serialVersionUID): Added. | |
12434 | * javax/management/openmbean/SimpleType.java: | |
12435 | New file. | |
12436 | * javax/management/openmbean/TabularType.java | |
12437 | Variables should be transient, not volatile. | |
12438 | ||
12439 | 2006-07-09 Tom Tromey <tromey@redhat.com> | |
12440 | ||
12441 | * tools/.cvsignore: Updated for new tools. | |
12442 | ||
12443 | 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
12444 | ||
12445 | * javax/management/openmbean/CompositeData.java, | |
12446 | * javax/management/openmbean/CompositeType.java, | |
12447 | * javax/management/openmbean/OpenDataException.java, | |
12448 | * javax/management/openmbean/OpenType.java, | |
12449 | * javax/management/openmbean/TabularData.java, | |
12450 | * javax/management/openmbean/TabularType.java, | |
12451 | * javax/management/openmbean/package.html: | |
12452 | New files. | |
12453 | ||
12454 | 2006-07-09 Mark Wielaard <mark@klomp.org> | |
12455 | ||
12456 | * gnu/javax/print/ipp/IppRequest.java: Remove double assignment. | |
12457 | * gnu/java/rmi/server/UnicastServerRef.java: Likewise. | |
12458 | * gnu/java/rmi/server/ActivatableServerRef.java: Likewise. | |
12459 | ||
12460 | 2006-07-08 Anthony Green <green@redhat.com> | |
12461 | ||
12462 | * gnu/javax/sound/sampled/WAV/WAVReader.java, | |
12463 | resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: | |
12464 | New files. | |
12465 | ||
12466 | 2006-07-09 Mario Torre <neugens@limasoftware.net> | |
12467 | ||
12468 | * native/jni/gconf-peer/GConfNativePeer.c: | |
12469 | Fixed indentation to be more compliant to the GNU coding | |
12470 | guidelines. | |
12471 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset): | |
12472 | Added explicit test for errors in the GConf backend. | |
12473 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string): | |
12474 | Added explicit test for errors in the GConf backend. | |
12475 | Fixed Segmentation Fault when non valid key names are given as input. | |
12476 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string): | |
12477 | likewise. | |
12478 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists): | |
12479 | Added explicit test for errors in the GConf backend. | |
12480 | * gnu/java/util/prefs/gconf/GConfNativePeer.java: | |
12481 | Added javadoc comments for all native methods. | |
12482 | (nodeExist): removed test to check for valid absolute path name | |
12483 | for nodes. | |
12484 | (startWatchingNode): likewise. | |
12485 | (stopWatchingNode): likewise. | |
12486 | (setString): likewise, plus fixed javadoc comments. | |
12487 | (unset): likekwise. | |
12488 | (getKey): likewise. | |
12489 | (getKeys): likewise, also fixed javadoc comments. | |
12490 | (getChildrenNodes): likewise. | |
12491 | * gnu/java/util/prefs/GConfBasedPreferences.java: | |
12492 | changed DEFAULT_USER_ROOT to /apps/classpath. | |
12493 | (constructor): Test to check for a valid absolute path for nodes | |
12494 | is now in the contructor for that node, instead of being on | |
12495 | each method of the backend. | |
12496 | (getGConfKey): removed empty new line. | |
12497 | ||
12498 | 2006-07-08 Mark Wielaard <mark@klomp.org> | |
12499 | ||
12500 | * .classpath: Add gnu/java/awt/peer/x/ to excludes. | |
12501 | ||
12502 | 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12503 | ||
12504 | * javax/swing/text/FlowView.java (FlowStrategy.layoutRow): | |
12505 | Handle the forced break in the same way as exceeding the | |
12506 | available row space. | |
12507 | * javax/swing/text/html/HRuleView.java: Rewritten. | |
12508 | * javax/swing/text/html/HTMLDocument.java | |
12509 | (HTMLReader.addSpecialElement):Reserve two characters for | |
12510 | the special elements. | |
12511 | * examples/gnu/classpath/examples/swing/HtmlDemo.java | |
12512 | (text): Extended the HTML example to parse. | |
12513 | ||
12514 | 2006-07-07 David Gilbert <david.gilbert@object-refinery.com> | |
12515 | ||
12516 | * javax/swing/AbstractButton.java | |
12517 | (setHorizontalAlignment): Check for illegal argument, | |
12518 | (setVerticalAlignment): Likewise. | |
12519 | ||
12520 | 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12521 | ||
12522 | * javax/swing/text/html/TableView.java | |
12523 | (getStyleSheet): New method. (RowView.getStyleSheet): | |
12524 | New method. | |
12525 | ||
12526 | 2006-07-07 David Gilbert <david.gilbert@object-refinery.com> | |
12527 | ||
12528 | * javax/swing/AbstractButton.java | |
12529 | (setRolloverIcon): Call setRolloverEnabled(true), | |
12530 | (setRolloverSelectedIcon): Likewise. | |
12531 | ||
12532 | 2006-07-07 David Gilbert <david.gilbert@object-refinery.com> | |
12533 | ||
12534 | * javax/swing/border/TitledBorder.java | |
12535 | (setTitlePosition): Added message to exception, | |
12536 | (setTitleJustification): Likewise. | |
12537 | ||
12538 | 2006-07-07 David Gilbert <david.gilbert@object-refinery.com> | |
12539 | ||
12540 | * javax/swing/plaf/metal/MetalLookAndFeel.java | |
12541 | (createDefaultTheme): Corrected API docs, | |
12542 | (initComponentDefaults): Added entry for 'TitledBorder.border', | |
12543 | (getCurrentTheme): Initialise theme if it is null. | |
12544 | ||
12545 | 2006-07-07 Roman Kennke <kennke@aicas.com> | |
12546 | ||
12547 | * java/awt/Component.java | |
12548 | (isValid): Return false when component has no peer, | |
12549 | don't query the showing state. | |
12550 | ||
12551 | 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12552 | ||
12553 | * javax/swing/text/FlowView.java (FlowStrategy.layoutRow): | |
12554 | Advance the offset also in the case of the enforced break. | |
12555 | ||
12556 | 2006-07-07 David Gilbert <david.gilbert@object-refinery.com> | |
12557 | ||
12558 | * javax/swing/plaf/basic/BasicArrowButton.java | |
12559 | (MAXIMUM_SIZE): Removed field, | |
12560 | (MINIMUM_SIZE): Likewise, | |
12561 | (PREFERRED_SIZE): Likewise, | |
12562 | (getMaximumSize): Return new instance every time, | |
12563 | (getMinimumSize): Likewise, | |
12564 | (getPreferredSize): Likewise. | |
12565 | ||
12566 | 2006-07-07 Roman Kennke <kennke@aicas.com> | |
12567 | ||
12568 | * java/awt/LightweightDispatcher.java | |
12569 | (findTarget): Avoid array copying in | |
12570 | Container.getComponents(). | |
12571 | ||
12572 | 2006-07-07 Roman Kennke <kennke@aicas.com> | |
12573 | ||
12574 | * javax/swing/JComponent.java | |
12575 | (paintChildrenWithOverlap): Avoid array copying in | |
12576 | Container.getComponents(). | |
12577 | (paintChildrenOptimized): Avoid array copying in | |
12578 | Container.getComponents(). | |
12579 | (fireAncestorEvent): Avoid array copying in | |
12580 | Container.getComponents(). | |
12581 | (findOverlapFreeParent): Avoid array copying in | |
12582 | Container.getComponents(). | |
12583 | ||
12584 | 2006-07-07 Matt Wringe <mwringe@redhat.com> | |
12585 | ||
12586 | * javax/crypto/spec/PBEKeySpec.java: Updated copyright year. | |
12587 | (passwordValid): New field. | |
12588 | (setPassword): New method. | |
12589 | (setSalt): Likewise. | |
12590 | (setIterationCount): Likewise. | |
12591 | (setKeyLength): Likewise. | |
12592 | (PBEKeySpec(char[])): Use new setter methods. | |
12593 | (PBEKeySpec(char[], byte[], int)): Likewise. | |
12594 | (PBEKeySpec(char[], byte[], int, int)): Likewise. | |
12595 | (clearPassword): Set passwordValid to false. | |
12596 | (getPassword): Check that clearPassword() was not called earlier. | |
12597 | Return a clone of the password. | |
12598 | (getSalt): Return a clone of the salt if it was not null. | |
12599 | ||
12600 | 2006-07-07 Roman Kennke <kennke@aicas.com> | |
12601 | ||
12602 | * java/awt/Component.java | |
12603 | (isValid): Always return false when component is | |
12604 | not showing. | |
12605 | (setFont): Always set font, even when setting | |
12606 | the same or equal font again. | |
12607 | ||
12608 | 2006-07-07 David Gilbert <david.gilbert@object-refinery.com> | |
12609 | ||
12610 | * javax/swing/plaf/metal/MetalIconFactory.java | |
12611 | (CheckBoxMenuItemIcon): Implement UIResource, | |
12612 | (FileChooserDetailViewIcon): Likewise, | |
12613 | (FileChooserHomeFolderIcon): Likewise, | |
12614 | (FileChooserListViewIcon): Likewise, | |
12615 | (FileChooserNewFolderIcon): Likewise, | |
12616 | (FileChooserUpFolderIcon): Removed redundant 'implements', | |
12617 | (RadioButtonMenuItemIcon): Implement UIResource, | |
12618 | (HorizontalSliderThumbIcon): Likewise, | |
12619 | (InternalFrameCloseIcon): Likewise, | |
12620 | (InternalFrameDefaultMenuIcon): Likewise, | |
12621 | (InternalFrameAltMaximizeIcon): Likewise, | |
12622 | (InternalFrameMaximizeIcon): Likewise, | |
12623 | (InternalFrameMinimizeIcon): Likewise, | |
12624 | (VerticalSliderThumbIcon): Likewise, | |
12625 | (TreeHardDriveIcon): Likewise, | |
12626 | (TreeFloppyDriveIcon): Likewise, | |
12627 | (TreeComputerIcon): Likewise, | |
12628 | (horizontalSliderThumbIcon): New field, | |
12629 | (verticalSliderThumbIcon): New field, | |
12630 | (getHorizontalSliderThumbIcon): Cache icon, | |
12631 | (getVerticalSliderThumbIcon): Likewise. | |
12632 | ||
12633 | 2006-07-06 Mark Wielaard <mark@klomp.org> | |
12634 | ||
12635 | * lib/Makefile.am (CLEANFILES): Add Makefile.deps. | |
12636 | (DISTCLEANFILES): Add standard.omit. | |
12637 | (clean-local): Remove Makefile.deps, only remove dirs. | |
12638 | ||
12639 | 2006-07-06 Roman Kennke <kennke@aicas.com> | |
12640 | ||
12641 | * java/awt/Component.java | |
12642 | (setFont): Only invalidate when component is valid. | |
12643 | * java/awt/Container.java | |
12644 | (setLayout): Only invalidate when component is valid. | |
12645 | ||
12646 | 2006-07-06 Lillian Angel <langel@redhat.com> | |
12647 | ||
12648 | * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java: | |
12649 | New class not fully implemented. | |
12650 | * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java: | |
12651 | New class not fully implemented. | |
12652 | * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java: | |
12653 | New class not fully implemented. | |
12654 | * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java: | |
12655 | New class not fully implemented. | |
12656 | * nu/java/awt/peer/gtk/GtkToolkit.java: | |
12657 | Fixed Imports. | |
12658 | (createDragSourceContextPeer): Implemented. | |
12659 | (createDragGestureRecognizer): New function to override | |
12660 | java.awt.Toolkit.createDragGestureRecognizer. | |
12661 | * java/awt/dnd/DragSource.java | |
12662 | (NoDragGestureRecognizer): Removed inner class. | |
12663 | (createDragGestureRecognizer): Re-Implemented to | |
12664 | call Toolkit's createDragGestureRecognizer. | |
12665 | (createDefaultDragGestureRecognizer): Re-Implemented to | |
12666 | call Toolkit's createDragGestureRecognizer. | |
12667 | * java/awt/dnd/DropTarget.java | |
12668 | (addNotify): Added check to determine type of peer and call | |
12669 | addDropTarget. | |
12670 | (removeNotify): Added call to removeDropTarget. | |
12671 | ||
12672 | 2006-07-06 Tom Tromey <tromey@redhat.com> | |
12673 | ||
12674 | * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify | |
12675 | 'queue'. | |
12676 | (run): Wait on queue, not 'this'. | |
12677 | ||
12678 | 2006-07-06 Lillian Angel <langel@redhat.com> | |
12679 | ||
12680 | * java/awt/dnd/DragSource.java | |
12681 | (startDrag): Implemented. Added comments describing | |
12682 | what the function should do. Removed FIXME. | |
12683 | ||
12684 | 2006-07-06 Tania Bento <tbento@redhat.com> | |
12685 | ||
12686 | * gnu/java/awt/Canvas.java | |
12687 | Added new private variable 'next_canvas_number'. | |
12688 | (generateName): Added. | |
12689 | (getUniqueLong): Added. | |
12690 | ||
12691 | 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12692 | ||
12693 | * gnu/javax/swing/text/html/CharacterAttributeTranslator.java | |
12694 | (getColor): Made public. | |
12695 | * javax/swing/text/html/StyleSheet.java (stringToColor): | |
12696 | Use CharacterAttributeTranslator.getColor(String) | |
12697 | ||
12698 | 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12699 | ||
12700 | * javax/swing/text/html/HTMLEditorKit.java: | |
12701 | (HTMLFactory.createElement): Update reference to the html table view. | |
12702 | * javax/swing/text/html/HTMLTableView.java: Removed (renamed). | |
12703 | * javax/swing/text/html/TableView.java: New file. | |
12704 | ||
12705 | 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12706 | ||
12707 | * javax/swing/text/html/HTMLEditorKit.java: | |
12708 | (HTMLFactory.createElement): Uncomment | |
12709 | code for BRView and HRuleView. | |
12710 | * javax/swing/text/html/BRView.java, | |
12711 | javax/swing/text/html/HRuleView.java: New files. | |
12712 | ||
97b8365c TT |
12713 | 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org> |
12714 | ||
12715 | * java/lang/Thread.java: | |
12716 | (getAllStackTraces(Map<Thread,StackTraceElement[]>)): | |
12717 | Added generic type signature. | |
12718 | ||
ac1ed908 MW |
12719 | 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org> |
12720 | ||
12721 | * NEWS: Updated. | |
12722 | * doc/vmintegration.texinfo: Likewise. | |
12723 | * examples/gnu/classpath/examples/management/TestGarbageCollector.java, | |
12724 | * examples/gnu/classpath/examples/management/TestMemoryManager.java, | |
12725 | * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java, | |
12726 | * gnu/java/lang/management/MemoryManagerMXBeanImpl.java, | |
12727 | * java/lang/management/GarbageCollectorMXBean.java: | |
12728 | New files. | |
12729 | * java/lang/management/ManagementFactory.java: | |
12730 | (getGarbageCollectorMXBeans()): Implemented. | |
12731 | (getMemoryManagerMXBeans()): Likewise. | |
12732 | * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java, | |
12733 | * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java: | |
12734 | New files. | |
12735 | * vm/reference/java/lang/management/VMManagementFactory.java: | |
12736 | (getMemoryManagerNames()): Added. | |
12737 | (getGarbageCollectorNames()): Added. | |
12738 | ||
12739 | 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com> | |
12740 | ||
12741 | * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename | |
12742 | from lib_LTLIBRARIES. | |
12743 | (install-plugin): Depend on nativeexeclib_LTLIBRARIES. | |
12744 | ||
12745 | 2006-07-05 Lillian Angel <langel@redhat.com> | |
12746 | ||
12747 | * java/awt/dnd/DragGestureEvent.java: | |
12748 | Added new fields. | |
12749 | (DragGestureEvent): Initialized new fields, added to check and | |
12750 | added documentation. | |
12751 | (getSourceAsDragGestureRecognizer): Added documentation and | |
12752 | changed to use getSource. | |
12753 | (getComponent): Added documentation and fixed to return the proper | |
12754 | value. | |
12755 | (getDragSource): Likewise. | |
12756 | (getDragOrigin): Added documentation. | |
12757 | (iterator): Implemented and added documentation. | |
12758 | (toArray): Likewise. | |
12759 | (toArray): Likewise. | |
12760 | (getDragAction): Likewise. | |
12761 | (getTriggerEvent): Likewise. | |
12762 | (startDrag): Likewise. | |
12763 | * java/awt/dnd/DragGestureRecognizer.java | |
12764 | (resetRecognizer): Added FIXME. | |
12765 | * java/awt/dnd/DragSource.java: | |
12766 | Added new field. | |
12767 | (DragSource): Set ds to be null if headless. | |
12768 | (getDefaultDragSource): Added documentation and implemented. | |
12769 | (isDragImageSupported): Marked as unimplemented. | |
12770 | (startDrag): Likewise. | |
12771 | (createDragSourceContext): Implemented. | |
12772 | (NoDragGestureRecognizer): Formatted inner class. | |
12773 | * java/awt/dnd/DropTarget.java | |
12774 | (stop): Marked as unimplemented. | |
12775 | (actionPerformed): Likewise. | |
12776 | (addDropTargetListener): Added code to throw exception. | |
12777 | (removeDropTargetListener): Added check, removed FIXME. | |
12778 | (dragEnter): Implemented. | |
12779 | (dragOver): Implemented. | |
12780 | (dropActionChanged): Implemented. | |
12781 | (dragExit): Implemented. | |
12782 | (drop): Implemented. | |
12783 | (addNotify): Implemented. | |
12784 | (removeNotify): Implemented. | |
12785 | (createDropTargetContext): Implemented. | |
12786 | (createDropTargetAutoScroller): Implemented. | |
12787 | (initializeAutoscrolling): Implemented. | |
12788 | (updateAutoscroll): Implemented. | |
12789 | (clearAutoscroll): Implemented. | |
12790 | * java/awt/dnd/DropTargetContext.java | |
12791 | (dropComplete): Implemented. | |
12792 | (acceptDrag): Implemented. | |
12793 | (rejectDrag): Implemented. | |
12794 | (acceptDrop): Implemented. | |
12795 | (rejectDrop): Implemented. | |
12796 | (getCurrentDataFlavors): Implemented. | |
12797 | (getTransferable): Partially implemented. | |
12798 | * java/awt/dnd/DropTargetDragEvent.java | |
12799 | (getDropAction): Uncommented correct code. | |
12800 | * java/awt/dnd/DropTargetDropEvent.java | |
12801 | (dropComplete) :Implemented. | |
12802 | * java/awt/dnd/InvalidDnDOperationException.java | |
12803 | (InvalidDnDOperationException): Added call to super. | |
12804 | ||
12805 | 2006-07-05 Robert Schuster <robertschuster@fsfe.org> | |
12806 | ||
12807 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
12808 | (paint): Removed getBounds() call, changed center point | |
12809 | calculation. | |
12810 | ||
12811 | 2006-07-05 David Gilbert <david.gilbert@object-refinery.com> | |
12812 | ||
12813 | * javax/swing/InputMap.java | |
12814 | (inputMap): Don't initialize yet, | |
12815 | (InputMap): Removed TODO, | |
12816 | (get): Check for null inputMap, | |
12817 | (put): Return immediately for null keyStroke, check for null inputMap | |
12818 | and initialize if necessary, | |
12819 | (remove): Check for null inputMap, | |
12820 | (size): Likewise, | |
12821 | (clear): Likewise, | |
12822 | (keys): Likewise, | |
12823 | (allKeys): Likewise, | |
12824 | (writeObject): Removed, | |
12825 | (readObject): Removed. | |
12826 | ||
12827 | 2006-07-05 David Gilbert <david.gilbert@object-refinery.com> | |
12828 | ||
12829 | * gnu/classpath/examples/swing/TabbedPaneDemo.java | |
12830 | (createContent): Use different labels for buttons. | |
12831 | ||
12832 | 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
12833 | ||
12834 | * NEWS: Updated. | |
12835 | * doc/vmintegration.texinfo: Likewise. | |
12836 | * examples/gnu/classpath/examples/management/TestMemoryPool.java, | |
12837 | * gnu/java/lang/management/MemoryPoolMXBeanImpl.java: | |
12838 | New files. | |
12839 | * java/lang/management/ManagementFactory.java: | |
12840 | (getMemoryPoolMXBeans()): Implemented. | |
12841 | * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java, | |
12842 | * vm/reference/java/lang/management/VMManagementFactory.java: | |
12843 | New files. | |
12844 | ||
12845 | 2006-07-04 Lillian Angel <langel@redhat.com> | |
12846 | ||
12847 | * java/awt/dnd/DragSourceContext.java: | |
12848 | Removed FIXMEs from fields. | |
12849 | (DragSourceContext): Added code to initialize cursor and sourceActions. | |
12850 | (getDragSource): Added documentation. | |
12851 | (getComponent): Likewise. | |
12852 | (getTrigger): Likewise. | |
12853 | (getSourceActions): Added documentation and implemented. | |
12854 | (setCursor): Implemented. Added documentation. | |
12855 | (getCursor): Implemented. Added documentation. | |
12856 | (dragEnter): Added code to notify DragSource's listeners. | |
12857 | (dragOver): Likewise. | |
12858 | (dragExit): Likewise. | |
12859 | (dropActionChanged): Likewise. | |
12860 | (dragDropEnd): Likewise. | |
12861 | (dragMouseMoved): Implemented. | |
12862 | (getTransferable): Added API documentation. | |
12863 | (updateCurrentCursor): Added API documentation and partially implemented. | |
12864 | ||
12865 | 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12866 | ||
12867 | * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented. | |
12868 | ||
12869 | 2006-07-04 Lillian Angel <langel@redhat.com> | |
12870 | ||
12871 | * java/awt/dnd/DragSourceContext.java | |
12872 | (DragSourceContext): Implemented fully. Fixed API docs. | |
12873 | (transferablesFlavorsChanged): Implemented. | |
12874 | (dragEnter): Implemented. | |
12875 | (dragOver): Implemented. | |
12876 | (dragExit): Implemented. | |
12877 | (dropActionChanged): Implemented. | |
12878 | (dragDropEnd): Implemented. | |
12879 | ||
12880 | 2006-07-04 Lillian Angel <langel@redhat.com> | |
12881 | ||
12882 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
12883 | Fixed name of constant. | |
12884 | (getIconWidth): Changed name of constant returned. | |
12885 | (getIconHeight): Likewise. | |
12886 | (paint): Likewise. | |
12887 | (createSeparator): Marked as unimplemented. | |
12888 | * javax/swing/plaf/basic/BasicTableUI.java | |
12889 | (focusGained): Marked as unimplemented. | |
12890 | (focusLost): Marked as unimplemented. | |
12891 | (mouseEntered): Likewise. | |
12892 | (mouseMoved): Likewise. | |
12893 | (uninstallDefaults): Likewise. | |
12894 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
12895 | (mouseClicked): Changed comment. | |
12896 | (mouseEntered): Likewise. | |
12897 | (mouseExited): Likewise. | |
12898 | (mouseMoved): Likewise. | |
12899 | (setOrientation): Implemented. | |
12900 | (ToolBarFocusListener): Marked as unimplemented. | |
12901 | (focusGained): Marked as unimplemented. | |
12902 | (focusLost): Marked as unimplemented. | |
12903 | ||
12904 | 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12905 | ||
12906 | PR 28061 | |
12907 | * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl): | |
12908 | Mind the effect of the root visibility on the position of the control. | |
12909 | Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the | |
12910 | vertical line over first level nodes. | |
12911 | ||
12912 | 2006-07-04 Lillian Angel <langel@redhat.com> | |
12913 | ||
12914 | * javax/swing/plaf/basic/BasicMenuUI.java | |
12915 | (installKeyboardActions): Implemented to call super. Nothing else | |
12916 | needs to be done here. | |
12917 | (setupPostTimer): Marked as unimplemented. | |
12918 | (uninstallKeyboardActions): Implemented to call super. Nothing else | |
12919 | needs to be done here. | |
12920 | (mouseMoved): Removed TODO. Nothing to be done here. | |
12921 | (ChangeHandler): Implemented. | |
12922 | (menuDragMouseExited): Removed TODO. Nothing to be done here. | |
12923 | (menuDragMouseReleased): Removed TODO. Nothing to be done here. | |
12924 | (menuKeyReleased): Removed TODO. Nothing to be done here. | |
12925 | (menuKeyTyped): Marked as unimplemented. | |
12926 | ||
12927 | 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12928 | ||
12929 | PR 28061 | |
12930 | * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java | |
12931 | (getDefaults): Set hash color to black. | |
12932 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
12933 | (initComponentDefaults): Set hash color to grey blue. | |
12934 | * javax/swing/plaf/basic/BasicTreeUI.java | |
12935 | (instellDefaults): Set hash color. | |
12936 | * javax/swing/plaf/metal/MetalIconFactory.java | |
12937 | (TreeControlIcon.paint): Rewritten. | |
12938 | ||
12939 | 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12940 | ||
12941 | PR 28061 | |
12942 | * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): | |
12943 | Always cancel the current editing session before doing anything else, | |
12944 | return immediately if this fails. | |
12945 | (TreeHomeAction): Ensure that the lead selection path is visible after | |
12946 | the action is performed. TreeIncrementAction: Likewise. TreeToggleAction: | |
12947 | Likewise. TreeTraverseAction: Likewise. | |
12948 | ||
12949 | 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12950 | ||
12951 | PR 28061 | |
12952 | * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): | |
12953 | Returned back the code to handle the start of the click-pause-click | |
12954 | editing initiation, explained about this code. | |
12955 | (TreeStartEditingAction): New inner class. | |
12956 | (stopEditingInCompleteEditing): Explained about this field. | |
12957 | (completeEditing(boolean, boolean, boolean): Only return early | |
12958 | if there is no current editing session. | |
12959 | (createDefaultActions): Install TreeStartEditingAction and | |
12960 | TreeCancelEditingAction. | |
12961 | ||
12962 | 2006-07-04 Mario Torre <neugens@limasoftware.net> | |
12963 | ||
12964 | * configure.ac: Added new option --enable-default-preferences-peer | |
12965 | to pass user specified default preference backend. | |
12966 | If the GConf peer is built, GConf become the default backend. | |
12967 | * resource/META-INF/services/java.util.prefs.PreferencesFactory.in: | |
12968 | new file. | |
12969 | * lib/Makefile.am: excludes files terminating in 'in' from | |
12970 | the metafiles list. | |
12971 | * lib/copy-vmresources.sh.in: excludes files terminating in 'in' | |
12972 | from copy into META-INF. | |
12973 | * java/util/prefs/Preferences.java: added two new import | |
12974 | classes gnu.classpath.ServiceFactory and java.util.Iterator. | |
12975 | (getFactory): Now try to check for | |
12976 | a system defined default preference backend before to fall back on | |
12977 | FileBasedPreference. | |
12978 | ||
12979 | 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
12980 | ||
12981 | PR 28061 | |
12982 | * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE. | |
12983 | (EXPANDED): Initialise to Boolean.TRUE. | |
12984 | * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall): | |
12985 | First configure layout cache and then set the assigned value | |
12986 | as row mapper. Set the root visibility property. | |
12987 | (toggleExpandState): Obtains expansion state from the layout cache. | |
12988 | ||
12989 | 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
12990 | ||
12991 | * java/lang/management/MemoryPoolMXBean.java: | |
12992 | New file. | |
12993 | ||
12994 | 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au> | |
12995 | ||
12996 | * gnu/javax/crypto/RSACipherImpl.java: Source formatting. | |
12997 | ||
12998 | 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au> | |
12999 | ||
13000 | * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting. | |
13001 | * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise. | |
13002 | * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise. | |
13003 | * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise. | |
13004 | * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise. | |
13005 | * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise. | |
13006 | * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise. | |
13007 | * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise. | |
13008 | * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise. | |
13009 | * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise. | |
13010 | * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise. | |
13011 | * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise. | |
13012 | * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise. | |
13013 | * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise. | |
13014 | * gnu/javax/crypto/sasl/srp/CALG.java: Likewise. | |
13015 | * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise. | |
13016 | * gnu/javax/crypto/sasl/srp/IALG.java: Likewise. | |
13017 | * gnu/javax/crypto/sasl/srp/KDF.java: Likewise. | |
13018 | * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise. | |
13019 | * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise. | |
13020 | * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise. | |
13021 | * gnu/javax/crypto/sasl/srp/SRP.java: Likewise. | |
13022 | * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise. | |
13023 | * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise. | |
13024 | * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise. | |
13025 | * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise. | |
13026 | * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise. | |
13027 | * gnu/javax/crypto/sasl/AuthInfo.java: Likewise. | |
13028 | * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise. | |
13029 | * gnu/javax/crypto/sasl/ClientFactory.java: Likewise. | |
13030 | * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise. | |
13031 | * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise. | |
13032 | * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise. | |
13033 | * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise. | |
13034 | * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise. | |
13035 | * gnu/javax/crypto/sasl/InputBuffer.java: Likewise. | |
13036 | * gnu/javax/crypto/sasl/IntegrityException.java: Likewise. | |
13037 | * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise. | |
13038 | * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise. | |
13039 | * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise. | |
13040 | * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise. | |
13041 | * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise. | |
13042 | * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise. | |
13043 | * gnu/javax/crypto/sasl/SaslUtil.java: Likewise. | |
13044 | * gnu/javax/crypto/sasl/ServerFactory.java: Likewise. | |
13045 | * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise. | |
13046 | * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise. | |
13047 | ||
13048 | 2006-07-02 Anthony Green <green@redhat.com> | |
13049 | ||
13050 | * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make | |
13051 | sure that every track written ends with an End Of Track meta | |
13052 | message. | |
13053 | ||
13054 | 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13055 | ||
13056 | * java/lang/management/MemoryUsage.java: | |
13057 | (toString()): Fix missing MB for maximum memory usage. | |
13058 | ||
13059 | 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13060 | ||
13061 | * NEWS: | |
13062 | Updated to include VMCompilationMXBeanImpl. | |
13063 | * doc/vmintegration.texinfo: | |
13064 | Likewise, along with update to VMMemoryMXBeanImpl | |
13065 | as below. | |
13066 | * examples/gnu/classpath/examples/management/TestCompilation.java, | |
13067 | * gnu/java/lang/management/CompilationMXBeanImpl.java, | |
13068 | * java/lang/management/CompilationMXBeanImpl.java: | |
13069 | New files. | |
13070 | * java/lang/management/ManagementFactory.java: | |
13071 | (getCompilationMXBean()): Implemented. | |
13072 | * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java: | |
13073 | New file. | |
13074 | * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java: | |
13075 | (getHeapMemoryUsage()): Added default implementation. | |
13076 | ||
13077 | 2006-07-02 Anthony Green <green@redhat.com> | |
13078 | ||
13079 | * NEWS: Mention MIDI file reader/writer providers. | |
13080 | ||
13081 | 2006-07-02 Anthony Green <green@redhat.com> | |
13082 | ||
13083 | * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter, | |
13084 | gnu/javax/sound/midi/file/MidiFileWriter.java, | |
13085 | gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files. | |
13086 | ||
13087 | 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13088 | ||
13089 | * NEWS: | |
13090 | Updated to include VMMemoryMXBeanImpl. | |
13091 | * doc/vmintegration.texinfo: Likewise. | |
13092 | * examples/gnu/classpath/examples/management/TestMemory.java: | |
13093 | New file. | |
13094 | * gnu/java/lang/management/ClassLoadingMXBeanImpl.java: | |
13095 | Remove redundant import. | |
13096 | * gnu/java/lang/management/MemoryMXBeanImpl.java: | |
13097 | New file. | |
13098 | * gnu/java/lang/management/ThreadMXBeanImpl.java: | |
13099 | Remove redundant import. | |
13100 | * java/lang/management/ManagementFactory.java: | |
13101 | (getMemoryMXBean()): Implemented. | |
13102 | * java/lang/management/MemoryMXBean.java, | |
13103 | * java/lang/management/MemoryUsage.java: | |
13104 | New files. | |
13105 | * java/lang/management/ThreadInfo.java: | |
13106 | (toString()): Updated documentation. | |
13107 | * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java: | |
13108 | New file. | |
13109 | ||
13110 | 2006-07-01 Anthony Green <green@redhat.com> | |
13111 | ||
13112 | * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader, | |
13113 | gnu/javax/sound/midi/file/MidiFileReader.java, | |
13114 | gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java, | |
13115 | gnu/javax/sound/midi/file/MidiDataInputStream.java: New files. | |
13116 | ||
13117 | 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
13118 | ||
13119 | * gnu/javax/crypto/prng/ARCFour.java: Source formatting. | |
13120 | * gnu/javax/crypto/prng/CSPRNG.java: Likewise. | |
13121 | * gnu/javax/crypto/prng/Fortuna.java: Likewise. | |
13122 | * gnu/javax/crypto/prng/ICMGenerator.java: Likewise. | |
13123 | * gnu/javax/crypto/prng/PBKDF2.java: Likewise. | |
13124 | * gnu/javax/crypto/prng/PRNGFactory.java: Likewise. | |
13125 | * gnu/javax/crypto/prng/UMacGenerator.java: Likewise. | |
13126 | ||
13127 | 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
13128 | ||
13129 | * gnu/javax/crypto/pad/BasePad.java: Source formatting. | |
13130 | * gnu/javax/crypto/pad/IPad.java: Likewise. | |
13131 | * gnu/javax/crypto/pad/PadFactory.java: Likewise. | |
13132 | * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise. | |
13133 | * gnu/javax/crypto/pad/PKCS7.java: Likewise. | |
13134 | * gnu/javax/crypto/pad/SSL3.java: Likewise. | |
13135 | * gnu/javax/crypto/pad/TBC.java: Likewise. | |
13136 | * gnu/javax/crypto/pad/TLS1.java: Likewise. | |
13137 | * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise. | |
13138 | ||
13139 | 2006-07-01 Anthony Green <green@redhat.com> | |
13140 | ||
13141 | * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex | |
13142 | status byte test. | |
13143 | (setMessage): Fix it again, in a different setMessage method. | |
13144 | ||
13145 | 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
13146 | ||
13147 | * gnu/javax/crypto/mode/BaseMode.java: Source formatting. | |
13148 | * gnu/javax/crypto/mode/CBC.java: Likewise. | |
13149 | * gnu/javax/crypto/mode/CFB.java: Likewise. | |
13150 | * gnu/javax/crypto/mode/CTR.java: Likewise. | |
13151 | * gnu/javax/crypto/mode/EAX.java: Likewise. | |
13152 | * gnu/javax/crypto/mode/ECB.java: Likewise. | |
13153 | * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise. | |
13154 | * gnu/javax/crypto/mode/ICM.java: Likewise. | |
13155 | * gnu/javax/crypto/mode/IMode.java: Likewise. | |
13156 | * gnu/javax/crypto/mode/ModeFactory.java: Likewise. | |
13157 | * gnu/javax/crypto/mode/OFB.java: Likewise. | |
13158 | ||
13159 | 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
13160 | ||
13161 | * gnu/javax/crypto/mac/BaseMac.java: Source formatting. | |
13162 | * gnu/javax/crypto/mac/HMac.java: Likewise. | |
13163 | * gnu/javax/crypto/mac/HMacFactory.java: Likewise. | |
13164 | * gnu/javax/crypto/mac/IMac.java: Likewise. | |
13165 | * gnu/javax/crypto/mac/MacFactory.java: Likewise. | |
13166 | * gnu/javax/crypto/mac/MacInputStream.java: Likewise. | |
13167 | * gnu/javax/crypto/mac/MacOutputStream.java: Likewise. | |
13168 | * gnu/javax/crypto/mac/OMAC.java: Likewise. | |
13169 | * gnu/javax/crypto/mac/TMMH16.java: Likewise. | |
13170 | * gnu/javax/crypto/mac/UHash32.java: Likewise. | |
13171 | * gnu/javax/crypto/mac/UMac32.java: Likewise. | |
13172 | ||
13173 | 2006-07-01 Anthony Green <green@redhat.com> | |
13174 | ||
13175 | * javax/sound/midi/Track.java (vector, eventSet): Initialize. | |
13176 | ||
13177 | 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
13178 | ||
13179 | * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting. | |
13180 | * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise. | |
13181 | * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise. | |
13182 | * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise. | |
13183 | * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise. | |
13184 | * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise. | |
13185 | * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise. | |
13186 | * gnu/javax/crypto/keyring/Entry.java: Likewise. | |
13187 | * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise. | |
13188 | * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise. | |
13189 | * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise. | |
13190 | * gnu/javax/crypto/keyring/IKeyring.java: Likewise. | |
13191 | * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise. | |
13192 | * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise. | |
13193 | * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise. | |
13194 | * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise. | |
13195 | * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise. | |
13196 | * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise. | |
13197 | * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise. | |
13198 | * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise. | |
13199 | * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise. | |
13200 | * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise. | |
13201 | * gnu/javax/crypto/keyring/Properties.java: Likewise. | |
13202 | * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise. | |
13203 | ||
13204 | 2006-07-01 David Gilbert <david.gilbert@object-refinery.com> | |
13205 | ||
13206 | * javax/swing/AbstractCellEditor.java: Source code formatting, | |
13207 | * javax/swing/AbstractSpinnerModel.java: Likewise, | |
13208 | * javax/swing/Box.java: Likewise, | |
13209 | * javax/swing/BoxLayout.java: Likewise, | |
13210 | * javax/swing/DefaultListModel.java: Likewise, | |
13211 | * javax/swing/GrayFilter.java: Likewise, | |
13212 | * javax/swing/LookAndFeel.java: Likewise, | |
13213 | * javax/swing/ProgressMonitor.java: Likewise, | |
13214 | * javax/swing/ProgressMonitorInputStream.java: Likewise, | |
13215 | * javax/swing/ScrollPaneLayout.java: Likewise, | |
13216 | * javax/swing/SpringLayout.java: Likewise, | |
13217 | * javax/swing/event/EventListenerList.java: Likewise, | |
13218 | * javax/swing/event/MenuEvent.java: Likewise, | |
13219 | * javax/swing/event/TreeExpansionListener.java: Likewise. | |
13220 | ||
13221 | 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13222 | ||
13223 | * NEWS: | |
13224 | Mention threading bean and getState(). | |
13225 | * doc/vmintegration.texinfo: | |
13226 | Update documentation for threading bean and new | |
13227 | method of VMThread. | |
13228 | ||
13229 | 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13230 | ||
13231 | * examples/gnu/classpath/examples/management/TestClassLoading.java, | |
13232 | * examples/gnu/classpath/examples/management/TestOS.java, | |
13233 | * examples/gnu/classpath/examples/management/TestRuntime.java, | |
13234 | * examples/gnu/classpath/examples/management/TestThread.java: | |
13235 | New files. | |
13236 | ||
13237 | 2006-07-01 Jeroen Frijters <jeroen@frijters.net> | |
13238 | ||
13239 | * java/lang/ThreadGroup.java | |
13240 | (getThreadFromId, getThreadFromIdImpl): New methods. | |
13241 | ||
13242 | 2006-07-01 Jeroen Frijters <jeroen@frijters.net> | |
13243 | ||
13244 | * java/lang/Thread.java: | |
13245 | Make thread IDs start from 1 in a more efficient way. | |
13246 | ||
13247 | 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13248 | ||
13249 | * java/lang/Thread.java: | |
13250 | Make thread IDs start from 1. | |
13251 | ||
13252 | 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13253 | ||
13254 | * gnu/java/lang/management/BeanImpl.java: | |
13255 | New superclass for all bean implementations. | |
13256 | * gnu/java/lang/management/ClassLoadingMXBeanImpl.java: | |
13257 | Extend BeanImpl and call permission code there. | |
13258 | * gnu/java/lang/management/OperatingSystemMXBeanImpl.java: | |
13259 | Extend BeanImpl. | |
13260 | * gnu/java/lang/management/RuntimeMXBeanImpl.java: | |
13261 | Extend BeanImpl and call permission code there. | |
13262 | * gnu/java/lang/management/ThreadMXBeanImpl.java: | |
13263 | New file. | |
13264 | * java/lang/management/ManagementFactory.java: | |
13265 | (getThreadMXBean()): Implemented. | |
13266 | * java/lang/management/ThreadInfo.java: | |
13267 | (ThreadInfo(Thread,int)): Replaced... | |
13268 | (ThreadInfo(Thread,long,long,Object,Thread,long,long, | |
13269 | boolean, boolean, StackTraceElement[])): with this. | |
13270 | (getBlockedCount()): Refactored to use local variables. | |
13271 | (getBlockedTime()): Likewise. | |
13272 | (getLockName()): Likewise. | |
13273 | (getLockOwnerId()): Likewise. | |
13274 | (getLockOwnerName()): Likewise. | |
13275 | (getStackTrace()): Likewise. | |
13276 | (getWaitedCount()): Likewise. | |
13277 | (getWaitedTime()): Likewise. | |
13278 | (isInNative()): Likewise. | |
13279 | (isSuspended()): Likewise. | |
13280 | (toString()): Changed to use new local variables. | |
13281 | * java/lang/management/ThreadMXBean.java: | |
13282 | (getThreadInfo(long, int)): Corrected documentation. | |
13283 | (getThreadInfo(long[], int)): Likewise. | |
13284 | * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java: | |
13285 | New file. | |
13286 | * vm/reference/java/lang/management/VMThreadInfo.java: | |
13287 | Removed. | |
13288 | ||
13289 | 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au> | |
13290 | ||
13291 | * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting. | |
13292 | * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise. | |
13293 | * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise. | |
13294 | * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise. | |
13295 | * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise. | |
13296 | * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise. | |
13297 | * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise. | |
13298 | * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise. | |
13299 | * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise. | |
13300 | * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise. | |
13301 | * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise. | |
13302 | * gnu/javax/crypto/key/dh/RFC2631.java: Likewise. | |
13303 | * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise. | |
13304 | * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise. | |
13305 | * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise. | |
13306 | * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise. | |
13307 | * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise. | |
13308 | * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise. | |
13309 | * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise. | |
13310 | * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise. | |
13311 | * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise. | |
13312 | * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise. | |
13313 | * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise. | |
13314 | * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise. | |
13315 | * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise. | |
13316 | * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise. | |
13317 | * gnu/javax/crypto/key/GnuSecretKey.java: Likewise. | |
13318 | * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise. | |
13319 | * gnu/javax/crypto/key/IncomingMessage.java: Likewise. | |
13320 | * gnu/javax/crypto/key/KeyAgreementException.java: Likewise. | |
13321 | * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise. | |
13322 | * gnu/javax/crypto/key/OutgoingMessage.java: Likewise. | |
13323 | ||
13324 | 2006-07-01 Roman Kennke <kennke@aicas.com> | |
13325 | ||
13326 | * gnu/java/awt/java2d/AbstractGraphics2D.java | |
13327 | (transform): Make field protected. | |
13328 | (getDestinationRaster): Provide default implementation for | |
13329 | previously abstract method. | |
13330 | ||
13331 | 2006-06-30 Tania Bento <tbento@redhat.com> | |
13332 | ||
13333 | * java/awt/TextArea.java | |
13334 | (TextArea(String, int, int, int)): No longer throws | |
13335 | IllegalArgumentException if rows, columns, or scrollbarVisibility | |
13336 | values are invalid. | |
13337 | (TextArea(String, int, int, int)): If rows or columns are < 0, | |
13338 | they get set to 0. If scrollbarVisibility is < 0 or > 4, it | |
13339 | gets set to the default value of 0 (SCROLLBARS_BOTH). | |
13340 | (appendText): Added case when peer = null. | |
13341 | (insertText): Added case when peer == null. | |
13342 | (replaceText): Added case when peer == null. | |
13343 | * java/awt/TextComponent.java | |
13344 | (TextComponent(String)): If text == null, set it to "". | |
13345 | ||
13346 | 2006-06-30 Lillian Angel <langel@redhat.com> | |
13347 | ||
13348 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java | |
13349 | (create): Added synchronized block around groupMap.get calls. | |
13350 | (setCheckboxGroup): Likewise. | |
13351 | ||
13352 | 2006-06-30 Lillian Angel <langel@redhat.com> | |
13353 | ||
13354 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java | |
13355 | (create): Changed to be non-synchronized. | |
13356 | (setLabel): Likewise. | |
13357 | (setCheckboxGroup): Likewise. | |
13358 | (addToGroupMap): Likewise. Added synchronized block around | |
13359 | code. | |
13360 | (dispose): Changed to be non-synchronized. | |
13361 | ||
13362 | 2006-06-30 Lillian Angel <langel@redhat.com> | |
13363 | ||
13364 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: | |
13365 | Changed all return values of native functions to void. | |
13366 | (create): Changed function to be synchronized. Removed | |
13367 | call to put value in groupMap, this is now done from | |
13368 | the native code. | |
13369 | (setState): Changed function to be synchronized. | |
13370 | (setLabel): Changed function to be synchronized. | |
13371 | (setCheckboxGroup): Changed function to be synchronized. Removed | |
13372 | call to put value in groupMap, this is now done from | |
13373 | the native code. | |
13374 | (postItemEvent): Changed function to be synchronized. | |
13375 | (addToGroupMap): New function. Called by native code to add | |
13376 | new value to the group. | |
13377 | (dispose): Changed function to be synchronized. | |
13378 | * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated | |
13379 | all functions. | |
13380 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
13381 | (cp_gtk_checkbox_init_jni): Added code to link to | |
13382 | java function. | |
13383 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): | |
13384 | Changed return value to void. Added call | |
13385 | to java function to set pointer in groupMap. | |
13386 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also, | |
13387 | changed check to an assert. Also, removed call to set/del pointer. | |
13388 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): | |
13389 | Likewise. Also, added check to determine if native_group should be | |
13390 | set to NULL. | |
13391 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise. | |
13392 | ||
13393 | 2006-06-30 Sven de Marothy <sven@physto.se> | |
13394 | ||
13395 | * gnu/java/awt/ClasspathToolkit.java, | |
13396 | * gnu/java/awt/peer/x/XToolkit.java, | |
13397 | * gnu/java/awt/peer/qt/QtToolkit.java, | |
13398 | * gnu/java/awt/peer/gtk/GtkToolkit.java, | |
13399 | Remove ClasspathTextLayoutPeer. | |
13400 | * gnu/java/awt/peer/gtk/GdkTextLayout.java, | |
13401 | * gnu/java/awt/peer/ClasspathTextLayoutPeer: | |
13402 | Files removed. | |
13403 | ||
13404 | 2006-06-30 Sven de Marothy <sven@physto.se> | |
13405 | ||
13406 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java: | |
13407 | (drawGlyphVector): Don't draw empty vectors. | |
13408 | ||
13409 | 2006-06-30 Lillian Angel <langel@redhat.com> | |
13410 | Tom Fitzsimmons <fitzsim@redhat.com> | |
13411 | ||
13412 | * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class. | |
13413 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: | |
13414 | Added current_group, groupMap fields. Added definitions for | |
13415 | new native functions. | |
13416 | (create): Removed FIXME. Added code to create the check button or | |
13417 | radio button when appropriate. Updated groupMap to contain | |
13418 | pointer to the newly created group. | |
13419 | (setCheckboxGroup): Added code to handle all cases. Removing | |
13420 | a button from a group, adding a button to a group, or changing the | |
13421 | group of a button. | |
13422 | (dispose): Changed to call super. | |
13423 | * include/Makefile.am: Removed reference to | |
13424 | gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h. | |
13425 | * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file. | |
13426 | * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions | |
13427 | for new functions. | |
13428 | * native/jni/gtk-peer/Makefile.am: Removed reference to | |
13429 | gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c. | |
13430 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c: | |
13431 | Removed file. | |
13432 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
13433 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): | |
13434 | Renamed to checkbox_get_widget. | |
13435 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): | |
13436 | Changed to use checkbox_get_widget. | |
13437 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): | |
13438 | Removed. | |
13439 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont): | |
13440 | Changed to use checkbox_get_widget. | |
13441 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel): | |
13442 | Likewise. | |
13443 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton): | |
13444 | New function. Creates checkbutton without a group. | |
13445 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): | |
13446 | Creates a radio button in a group, using groupPointer. If groupPointer | |
13447 | is 0, then a new group is created. | |
13448 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the | |
13449 | check button to a group, using groupPointer. A radio button is created | |
13450 | in its place. If groupPointer is 0, then a new group is created. | |
13451 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The | |
13452 | radio button is removed from the group. A check button is created in | |
13453 | its place. | |
13454 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The | |
13455 | radio button is moved to a new group. | |
13456 | ||
13457 | 2006-06-30 Mark Wielaard <mark@klomp.org> | |
13458 | ||
13459 | * configure.ac: Move standard.omit creation after dirs are created. | |
13460 | Cat standard.omit.in from srcdir. Make exclude regex more explicit. | |
13461 | * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in. | |
13462 | (clean-local): Remove standard.omit. | |
13463 | * lib/gen-classlist.sh.in: Use omit file in build dir. | |
13464 | * lib/standard.omit.in: Make exclude regex more explicit. | |
13465 | ||
13466 | 2006-06-30 Roman Kennke <kennke@aicas.com> | |
13467 | ||
13468 | * lib/Makefile.am: Added Escher dir/jar to classpath when | |
13469 | requested. | |
13470 | * configure.ac: Moved handling of standard.omit to a place | |
13471 | where it actually gets executed. | |
13472 | ||
13473 | 2006-06-30 David Gilbert <david.gilbert@object-refinery.com> | |
13474 | ||
13475 | * java/awt/TextComponent.java: Reformatted source code, | |
13476 | * java/awt/TextField.java: Likewise. | |
13477 | ||
13478 | 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl> | |
13479 | ||
13480 | * java/lang/Thread.java: | |
13481 | (getState()): Handle case of no VMThread | |
13482 | correctly. | |
13483 | ||
13484 | 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13485 | ||
13486 | * java/lang/Thread.java, | |
13487 | * java/lang/VMThread.java: | |
13488 | Reverted patch from 2006-06-28. | |
13489 | ||
13490 | 2006-06-29 Roman Kennke <kennke@aicas.com> | |
13491 | ||
13492 | * gnu/java/awt/peer/x/GLGraphics.java, | |
13493 | * gnu/java/awt/peer/x/ImageConverter.java, | |
13494 | * gnu/java/awt/peer/x/KeyboardMapping.java, | |
13495 | * gnu/java/awt/peer/x/XEventPump.java, | |
13496 | * gnu/java/awt/peer/x/XFontPeer.java, | |
13497 | * gnu/java/awt/peer/x/XFontPeer2.java, | |
13498 | * gnu/java/awt/peer/x/XFramePeer.java, | |
13499 | * gnu/java/awt/peer/x/XGraphics.java, | |
13500 | * gnu/java/awt/peer/x/XGraphics2D.java, | |
13501 | * gnu/java/awt/peer/x/XGraphicsConfiguration.java, | |
13502 | * gnu/java/awt/peer/x/XGraphicsDevice.java, | |
13503 | * gnu/java/awt/peer/x/XGraphicsEnvironment.java, | |
13504 | * gnu/java/awt/peer/x/XImage.java, | |
13505 | * gnu/java/awt/peer/x/XLightweightPeer.java, | |
13506 | * gnu/java/awt/peer/x/XToolkit.java, | |
13507 | * gnu/java/awt/peer/x/XWindowPeer.java, | |
13508 | * gnu/java/awt/peer/x/fonts.properties: New files. | |
13509 | * lib/standard.omit: Removed. | |
13510 | * lib/standard.omit.in: Added. | |
13511 | * configure.ac: Added configure option --with-escher. Added some | |
13512 | configury for omitting gnu.java.awt.peer.x package when | |
13513 | this option is not specified. | |
13514 | ||
13515 | 2006-06-29 David Gilbert <david.gilbert@object-refinery.com> | |
13516 | ||
13517 | * javax/swing/JComponent.java | |
13518 | (JComponent()): Initialize the locale here, not the default locale, | |
13519 | (getDefaultLocale): If null, return Locale.getDefault(), | |
13520 | (setDefaultLocale): Added API docs. | |
13521 | ||
13522 | 2006-06-29 Tania Bento <tbento@redhat.com> | |
13523 | ||
13524 | * java/awt/Container.java | |
13525 | (applyComponentOrientation): Implemented method. | |
13526 | ||
13527 | 2006-06-29 Gary Benson <gbenson@redhat.com> | |
13528 | ||
13529 | * java/io/File.java (listRoots): Merge security checks from libgcj. | |
13530 | ||
13531 | 2006-06-29 Gary Benson <gbenson@redhat.com> | |
13532 | ||
13533 | * java/io/FilePermission.java (implies): Work when path is "/". | |
13534 | ||
13535 | 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13536 | ||
13537 | * java/lang/Thread.java: | |
13538 | (Thread(ThreadGroup,Runnable,String,long)): Update | |
13539 | state. | |
13540 | (Thread(VMThread,String,int,boolean)): Likewise. | |
13541 | (join(long,int)): Likewise. | |
13542 | (resume()): Likewise. | |
13543 | (sleep(long,int)): Likewise. | |
13544 | (start()): Likewise. | |
13545 | (stop()): Likewise. | |
13546 | (suspend()): Likewise. | |
13547 | (die()): Likewise. | |
13548 | (getState()): Return either state or use VMThread. | |
13549 | * java/lang/VMThread.java: | |
13550 | (getState()): Added default implementation to return | |
13551 | thread.state | |
13552 | ||
13553 | 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch> | |
13554 | ||
13555 | * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the | |
13556 | GdkPixbuf correctly on big endian systems. Fix a typo in the little | |
13557 | endian swapping code. | |
13558 | ||
13559 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c | |
13560 | (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata | |
13561 | without alpha information correctly on big endian systems. | |
13562 | ||
13563 | 2006-06-28 Roman Kennke <kennke@aicas.com> | |
13564 | ||
13565 | * gnu/java/net/local/LocalSocket.java | |
13566 | (setSoTimeout): Don't throw exception and ignore request. | |
13567 | (getSoTimeout): Don't throw exception and always return 0. | |
13568 | ||
13569 | 2006-06-28 David Gilbert <david.gilbert@object-refinery.com> | |
13570 | ||
13571 | * javax/swing/JComponent.java | |
13572 | (getRegisteredKeyStrokes): Implemented. | |
13573 | ||
13574 | 2006-06-28 David Gilbert <david.gilbert@object-refinery.com> | |
13575 | ||
13576 | * javax/swing/JComponent.java | |
13577 | (verifyInputWhenFocusTarget): Initialise to true. | |
13578 | ||
13579 | 2006-06-28 David Gilbert <david.gilbert@object-refinery.com> | |
13580 | ||
13581 | * java/beans/VetoableChangeSupport.java | |
13582 | (addVetoableChangeListener(VetoableChangeListener)): Do nothing for | |
13583 | null listener, | |
13584 | (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing | |
13585 | for null property name and/or listener, | |
13586 | * javax/swing/JComponent.java | |
13587 | (getListeners): Handle VetoableChangeListener.class as a special case, | |
13588 | (getVetoableChangeListeners): Fetch these from the | |
13589 | vetoableChangeSupport object. | |
13590 | ||
13591 | 2006-06-28 David Gilbert <david.gilbert@object-refinery.com> | |
13592 | ||
13593 | * javax/swing/JComponent.java | |
13594 | (componentPopupMenu): New field, | |
13595 | (inheritsPopupMenu): New field, | |
13596 | (getInheritsPopupMenu): Implemented, | |
13597 | (setInheritsPopupMenu): Likewise, | |
13598 | (getComponentPopupMenu): Likewise, | |
13599 | (setComponentPopupMenu): Likewise, | |
13600 | * javax/swing/JLabel.java | |
13601 | (JLabel(String, Icon, int)): Set inheritsPopupMenu to true. | |
13602 | ||
13603 | 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au> | |
13604 | ||
13605 | * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field. | |
13606 | (toString): New method. | |
13607 | * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field. | |
13608 | (toString): New method. | |
13609 | * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field. | |
13610 | (toString): New method. | |
13611 | * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey): | |
13612 | Handle case when Q is null. | |
13613 | (decodePrivateKey): Likewise. | |
13614 | * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey): | |
13615 | Likewise. | |
13616 | (decodePublicKey): Likewise. | |
13617 | * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters | |
13618 | aliases for all block ciphers. | |
13619 | * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[]. | |
13620 | (engineDoPhase): Compute fully the shared secret. | |
13621 | (checkState): New method. | |
13622 | (reset): Likewise. | |
13623 | (engineGenerateSecret()): Reset key-agreement before returning. | |
13624 | (engineGenerateSecret(byte[],int)): Check for short-buffer. | |
13625 | Reset key-agreement before returning. | |
13626 | (engineGenerateSecret(String)): Reset key-agreement before returning. | |
13627 | (engineInit(Key,SecureRandom)): Call reset() before returning. | |
13628 | * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field. | |
13629 | (engineInit): Replace printing to System.out with conditional logging. | |
13630 | * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler): | |
13631 | When the key-size is not specified, attempt best effort to find a suitable | |
13632 | value among those advertised by the cipher before setting it to the length | |
13633 | of provided key material. | |
13634 | ||
13635 | 2006-06-28 David Gilbert <david.gilbert@object-refinery.com> | |
13636 | ||
13637 | * javax/swing/table/DefaultTableColumnModel.java | |
13638 | (changeEvent): Don't initialize yet, removed FIXME, | |
13639 | (fireColumnModelChanged): Initialize changeEvent if necessary. | |
13640 | ||
13641 | 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13642 | ||
13643 | * java/lang/Thread.java: | |
13644 | (getAllStackTraces()): Implemented. | |
13645 | (getStackTrace()): Likewise. | |
13646 | ||
13647 | 2006-06-27 Tania Bento <tbento@redhat.com> | |
13648 | ||
13649 | * java/awt/Component.java | |
13650 | (setComponentOrientation): NPE should not be thrown. | |
13651 | ||
13652 | 2006-06-27 Tom Tromey <tromey@redhat.com> | |
13653 | ||
13654 | * configure.ac: Create gjar, gnative2ascii, gserialver. | |
13655 | * tools/gappletviewer.in: Quote $@. | |
13656 | * tools/gkeytool.in: Likewise. | |
13657 | * tools/gjarsigner.in: Likewise. | |
13658 | * tools/gjar.in: New file. | |
13659 | * tools/gnative2ascii.in: Likewise. | |
13660 | * tools/gserialver.in: Likewise. | |
13661 | * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii, | |
13662 | gserialver. | |
13663 | (bin_SCRIPTS): Likewise. | |
13664 | ||
13665 | 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13666 | ||
13667 | * java/lang/management/ThreadMXBean.java: | |
13668 | (getThreadInfo(long[])): Corrected return type. | |
13669 | (getThreadInfo(long[], int)): Likewise. | |
13670 | ||
13671 | 2006-06-27 Mark Wielaard <mark@klomp.org> | |
13672 | ||
13673 | * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do | |
13674 | nothing when listener is null. | |
13675 | (removeFlavorListener): Likewise. | |
13676 | ||
13677 | * java/awt/datatransfer/DataFlavor.java | |
13678 | (getRepresentationClassFromMime): Renamed to | |
13679 | getRepresentationClassFromMimeThrows. | |
13680 | (isRepresentationClassInputStream): Use Class.isAssignableFrom(). | |
13681 | (isRepresentationClassSerializable): Likewise. | |
13682 | (isFlavorJavaFileListType): Likewise and check primary and | |
13683 | subtype. | |
13684 | (getParameter): Parameters are separated by semi-colons. | |
13685 | (DataFlavor(Class,String,String)): Do some sanity checks. | |
13686 | (DataFlavor(String,String,ClassLoader)): Call | |
13687 | getRepresentationClassFromMimeThrows. | |
13688 | (DataFlavor(String)): Likewise. | |
13689 | (equals(DataFlavor)): Special case primary type text and charset | |
13690 | parameter. | |
13691 | ||
13692 | 2006-06-27 David Gilbert <david.gilbert@object-refinery.com> | |
13693 | ||
13694 | * java/awt/Component.java | |
13695 | (setName): Fire required PropertyChangeEvent, | |
13696 | * java/awt/Label.java | |
13697 | (getText): Removed redundant brackets, | |
13698 | (generateName): New method (override), | |
13699 | (nextLabelNumber): New field, | |
13700 | (getUniqueLong): New method. | |
13701 | ||
13702 | 2006-06-27 Roman Kennke <kennke@aicas.com> | |
13703 | ||
13704 | * gnu/java/awt/peer/swing/SwingComponentPeer.java | |
13705 | (createImage): Delegate this to the parent. | |
13706 | (handleEvent): Only handle PAINT/UPDATE events when the | |
13707 | component is actually showing. | |
13708 | (hide): Repaint the parent after hiding a component. | |
13709 | (prepareImage): Have only one return point. | |
13710 | (setVisible): Delegate to show() and hide(). | |
13711 | (createVolatileImage): Added null check to avoid NPE. | |
13712 | ||
13713 | 2006-06-27 David Gilbert <david.gilbert@object-refinery.com> | |
13714 | ||
13715 | * java/awt/Label.java: Reformatted source code. | |
13716 | ||
13717 | 2006-06-27 Roman Kennke <kennke@aicas.com> | |
13718 | ||
13719 | * java/awt/image/BufferedImage.java | |
13720 | (getSource): Use a fixed DirectColorModel to deliver the | |
13721 | RGB pixels to the ImageConsumer. | |
13722 | ||
13723 | 2006-06-27 David Gilbert <david.gilbert@object-refinery.com> | |
13724 | ||
13725 | * java/awt/Point.java | |
13726 | (setLocation(double, double)): Round to nearest integer coordinates. | |
13727 | ||
13728 | 2006-06-27 David Gilbert <david.gilbert@object-refinery.com> | |
13729 | ||
13730 | * java/awt/Component.java | |
13731 | (minSizeSet): New field, | |
13732 | (maxSize): Likewise, | |
13733 | (maxSizeSet): Likewise, | |
13734 | (isMaximumSizeSet): Implemented, | |
13735 | (isMinimumSizeSet): Likewise, | |
13736 | (isPreferredSizeSet): Likewise, | |
13737 | (setMaximumSize): Likewise, | |
13738 | (setMinimumSize): Likewise, | |
13739 | (setPreferredSize): Likewise. | |
13740 | ||
13741 | 2006-06-27 Roman Kennke <kennke@aicas.com> | |
13742 | ||
13743 | * javax/imageio/spi/IIORegistry.java | |
13744 | (IIORegistry): Added BMP codec. | |
13745 | ||
13746 | 2006-06-27 Mark Wielaard <mark@klomp.org> | |
13747 | ||
13748 | * javax/swing/JComponent.java | |
13749 | (firePropertyChange(String,char,char)): New override method. | |
13750 | ||
13751 | 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13752 | ||
13753 | * java/lang/Thread.java: | |
13754 | (getState()): New method. | |
13755 | * java/lang/management/ClassLoadingMXBean.java: | |
13756 | Corrected class documentation. | |
13757 | * java/lang/management/ManagementFactory.java: | |
13758 | Added new temporary marked stub to get thread bean. | |
13759 | * java/lang/management/OperatingSystemMXBean.java: | |
13760 | Corrected class documentation. | |
13761 | * java/lang/management/RuntimeMXBean.java: | |
13762 | Corrected class documentation. | |
13763 | * java/lang/management/ThreadInfo.java, | |
13764 | * java/lang/management/ThreadMXBean.java: | |
13765 | New classes. | |
13766 | * vm/reference/java/lang/VMThread.java: | |
13767 | (getState()): New method. | |
13768 | * vm/reference/java/lang/management/VMThreadInfo.java: | |
13769 | New VM class. | |
13770 | ||
13771 | 2006-06-26 Sven de Marothy <sven@physto.se> | |
13772 | ||
13773 | * gnu/javax/imageio/gif/GIFFile.java | |
13774 | * gnu/javax/imageio/gif/GIFImageReader.java | |
13775 | * gnu/javax/imageio/gif/GIFImageSpi.java | |
13776 | * gnu/javax/imageio/gif/GIFStream.java | |
13777 | New files. | |
13778 | * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin. | |
13779 | ||
13780 | 2006-06-26 Tania Bento <tbento@redhat.com> | |
13781 | ||
13782 | * java/awt/List.java | |
13783 | (List): A list should have at least 4 visible rows. | |
13784 | (replaceItem): Should throw an ArrayIndexOutOfBoundsException, | |
13785 | not an IllegalArgumentException. | |
13786 | (makeVisible): Should not throw an IllegalArgumentException if | |
13787 | the specified index is out of range. | |
13788 | ||
13789 | 2006-06-26 David Gilbert <david.gilbert@object-refinery.com> | |
13790 | ||
13791 | * javax/swing/JList.java | |
13792 | (getNextMatch): Reimplemented to perform a circular search for the | |
13793 | matching item. | |
13794 | ||
13795 | 2006-06-26 David Gilbert <david.gilbert@object-refinery.com> | |
13796 | ||
13797 | * javax/swing/JList.java | |
13798 | (init): Set default value for visibleRowCount to 8, | |
13799 | (setVisibleRowCount): Fire PropertyChangeEvent when value changes. | |
13800 | ||
13801 | 2006-06-26 David Gilbert <david.gilbert@object-refinery.com> | |
13802 | ||
13803 | * javax/swing/JList.java | |
13804 | (valueIsAdjusting): Removed, | |
13805 | (init): Removed initialization of valueIsAdjusting field, | |
13806 | (getValueIsAdjusting): Fetch value from selection model, | |
13807 | (setValueIsAdjusting): Store value in selection model. | |
13808 | ||
13809 | 2006-06-26 Roman Kennke <kennke@aicas.com> | |
13810 | ||
13811 | * javax/swing/plaf/basic/BasicListUI.java | |
13812 | (installKeyboardActions): Rewritten to fit with the | |
13813 | ActionMap/InputMap architecture. | |
13814 | (uninstallKeyboardActions): Implemented. | |
13815 | (ListAction): Made private. Added TODO for splitting | |
13816 | up this bulk Action. | |
13817 | (ListAction.ListAction): New constructor. This one | |
13818 | takes a cmd parameter to be installed as actionCommand. | |
13819 | ||
13820 | 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au> | |
13821 | ||
13822 | * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision. | |
13823 | * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise. | |
13824 | ||
13825 | 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au> | |
13826 | ||
13827 | * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting. | |
13828 | * gnu/javax/crypto/jce/GnuSasl.java: Likewise. | |
13829 | * gnu/javax/crypto/jce/GnuCrypto.java: Likewise. | |
13830 | * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise. | |
13831 | * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise. | |
13832 | * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise. | |
13833 | * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise. | |
13834 | * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise. | |
13835 | * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise. | |
13836 | * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise. | |
13837 | * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise. | |
13838 | * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise. | |
13839 | * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise. | |
13840 | * gnu/javax/crypto/jce/params/DERWriter.java: Likewise. | |
13841 | * gnu/javax/crypto/jce/params/DERReader.java: Likewise. | |
13842 | * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise. | |
13843 | * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise. | |
13844 | * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise. | |
13845 | * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise. | |
13846 | * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise. | |
13847 | * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise. | |
13848 | * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise. | |
13849 | * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise. | |
13850 | * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise. | |
13851 | * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise. | |
13852 | * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise. | |
13853 | * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise. | |
13854 | * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise. | |
13855 | * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise. | |
13856 | * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise. | |
13857 | * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise. | |
13858 | * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise. | |
13859 | * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise. | |
13860 | * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise. | |
13861 | * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise. | |
13862 | * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise. | |
13863 | * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise. | |
13864 | * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise. | |
13865 | * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise. | |
13866 | * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise. | |
13867 | * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise. | |
13868 | * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise. | |
13869 | * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise. | |
13870 | * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise. | |
13871 | * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise. | |
13872 | * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise. | |
13873 | * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise. | |
13874 | * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise. | |
13875 | * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise. | |
13876 | * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise. | |
13877 | * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise. | |
13878 | * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise. | |
13879 | * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise. | |
13880 | * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise. | |
13881 | * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise. | |
13882 | * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise. | |
13883 | * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise. | |
13884 | * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise. | |
13885 | * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise. | |
13886 | * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise. | |
13887 | * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise. | |
13888 | * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise. | |
13889 | * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise. | |
13890 | * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise. | |
13891 | * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise. | |
13892 | * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise. | |
13893 | * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise. | |
13894 | * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise. | |
13895 | * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise. | |
13896 | * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise. | |
13897 | * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise. | |
13898 | * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise. | |
13899 | * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise. | |
13900 | * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise. | |
13901 | * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise. | |
13902 | * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise. | |
13903 | * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise. | |
13904 | * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise. | |
13905 | * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise. | |
13906 | * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise. | |
13907 | * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise. | |
13908 | * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise. | |
13909 | ||
13910 | 2006-06-26 David Gilbert <david.gilbert@object-refinery.com> | |
13911 | ||
13912 | * javax/swing/JList.java | |
13913 | (setLayoutOrientation): Check for valid argument. | |
13914 | ||
13915 | 2006-06-26 Roman Kennke <kennke@aicas.com> | |
13916 | ||
13917 | * javax/swing/JComponent.java | |
13918 | (firePropertyChange(String,int,int)): New method. Overrides | |
13919 | Component method and makes it public. | |
13920 | (firePropertyChange(String,boolean,boolean)): Likewise. | |
13921 | ||
13922 | 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com> | |
13923 | ||
13924 | * gnu/java/security/.cvsignore: New File. | |
13925 | * gnu/java/security/Configuration.java.in: New File. | |
13926 | * gnu/java/security/Properties.java: Change import from | |
13927 | gnu.classpath.Configuration to gnu.java.security.Configuration. | |
13928 | * gnu/java/security/hash/Whirlpool.java: Likewise. | |
13929 | * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise. | |
13930 | * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise. | |
13931 | * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise. | |
13932 | * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise. | |
13933 | * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise. | |
13934 | * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise. | |
13935 | * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise. | |
13936 | * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise. | |
13937 | * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise. | |
13938 | * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise. | |
13939 | * gnu/java/security/pkcs/SignerInfo.java: Likewise. | |
13940 | * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise. | |
13941 | * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise. | |
13942 | * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise. | |
13943 | * gnu/java/security/util/Base64.java: Likewise. | |
13944 | * gnu/java/security/x509/X509CRL.java: Likewise. | |
13945 | * gnu/java/security/x509/X509CRLEntry.java: Likewise. | |
13946 | * gnu/java/security/x509/ext/Extension.java: Likewise. | |
13947 | * gnu/javax/crypto/cipher/Anubis.java: Likewise. | |
13948 | * gnu/javax/crypto/cipher/BaseCipher.java: Likewise. | |
13949 | * gnu/javax/crypto/cipher/Khazad.java: Likewise. | |
13950 | * gnu/javax/crypto/cipher/Rijndael.java: Likewise. | |
13951 | * gnu/javax/crypto/cipher/Twofish.java: Likewise. | |
13952 | * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise. | |
13953 | * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise. | |
13954 | * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise. | |
13955 | * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise. | |
13956 | * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise. | |
13957 | * gnu/javax/crypto/keyring/Entry.java: Likewise. | |
13958 | * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise. | |
13959 | * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise. | |
13960 | * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise. | |
13961 | * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise. | |
13962 | * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise. | |
13963 | * gnu/javax/crypto/mac/OMAC.java: Likewise. | |
13964 | * gnu/javax/crypto/pad/BasePad.java: Likewise. | |
13965 | * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise. | |
13966 | * gnu/javax/crypto/pad/PKCS7.java: Likewise. | |
13967 | * gnu/javax/crypto/pad/TBC.java: Likewise. | |
13968 | * gnu/javax/crypto/prng/CSPRNG.java: Likewise. | |
13969 | * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise. | |
13970 | * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise. | |
13971 | * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise. | |
13972 | * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise. | |
13973 | * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise. | |
13974 | * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise. | |
13975 | * gnu/javax/security/auth/login/GnuConfiguration.java | |
13976 | (getAppConfigurationEntry): Change reference to | |
13977 | gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG. | |
13978 | (getConfigFromUserHome): Likewise. | |
13979 | (getInputStreamFromURL): Likewise. | |
13980 | (getUserHome): Likewise. | |
13981 | (init): Likewise. | |
13982 | (processSecurityProperties): Likewise. | |
13983 | (processSystemProperty): Likewise. | |
13984 | (processUserHome): Likewise. | |
13985 | * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list. | |
13986 | * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required. | |
13987 | ||
13988 | ||
13989 | 2006-06-25 Carsten Neumann <cn-develop@gmx.net> | |
13990 | ||
13991 | * javax/swing/text/DefaultCaret.java (isActive): New method. | |
13992 | ||
13993 | 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
13994 | ||
13995 | * gnu/java/lang/management/ClassLoadingMXBeanImpl.java, | |
13996 | * java/lang/management/ClassLoadingMXBean.java: | |
13997 | (getTotalLoadedClassCount()): Corrected return type. | |
13998 | (getUnloadedClassCount()): Likewise. | |
13999 | * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java: | |
14000 | (getUnloadedClassCount()): Likewise. | |
14001 | ||
14002 | 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au> | |
14003 | ||
14004 | * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting. | |
14005 | * gnu/javax/crypto/cipher/Twofish.java: Likewise. | |
14006 | * gnu/javax/crypto/cipher/TripleDES.java: Likewise. | |
14007 | * gnu/javax/crypto/cipher/Square.java: Likewise. | |
14008 | * gnu/javax/crypto/cipher/Serpent.java: Likewise. | |
14009 | * gnu/javax/crypto/cipher/Rijndael.java: Likewise. | |
14010 | * gnu/javax/crypto/cipher/NullCipher.java: Likewise. | |
14011 | * gnu/javax/crypto/cipher/Khazad.java: Likewise. | |
14012 | * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise. | |
14013 | * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise. | |
14014 | * gnu/javax/crypto/cipher/DES.java: Likewise. | |
14015 | * gnu/javax/crypto/cipher/CipherFactory.java: Likewise. | |
14016 | * gnu/javax/crypto/cipher/Cast5.java: Likewise. | |
14017 | * gnu/javax/crypto/cipher/Blowfish.java: Likewise. | |
14018 | * gnu/javax/crypto/cipher/BaseCipher.java: Likewise. | |
14019 | * gnu/javax/crypto/cipher/Anubis.java: Likewise. | |
14020 | ||
14021 | 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au> | |
14022 | ||
14023 | * gnu/javax/crypto/assembly/TransformerException.java: Source formatting. | |
14024 | * gnu/javax/crypto/assembly/Transformer.java: Likewise. | |
14025 | * gnu/javax/crypto/assembly/Stage.java: Likewise. | |
14026 | * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise. | |
14027 | * gnu/javax/crypto/assembly/Operation.java: Likewise. | |
14028 | * gnu/javax/crypto/assembly/ModeStage.java: Likewise. | |
14029 | * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise. | |
14030 | * gnu/javax/crypto/assembly/Direction.java: Likewise. | |
14031 | * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise. | |
14032 | * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise. | |
14033 | * gnu/javax/crypto/assembly/CascadeStage.java: Likewise. | |
14034 | * gnu/javax/crypto/assembly/Cascade.java: Likewise. | |
14035 | * gnu/javax/crypto/assembly/Assembly.java: Likewise. | |
14036 | ||
14037 | 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
14038 | ||
14039 | * NEWS, | |
14040 | * doc/vmintegration.texinfo: | |
14041 | Updated with information on new VM interface. | |
14042 | * gnu/java/lang/management/ClassLoadingMXBeanImpl.java, | |
14043 | * java/lang/management/ClassLoadingMXBean.java: | |
14044 | New files implementing the class loading bean. | |
14045 | * java/lang/management/ManagementFactory.java: | |
14046 | (getClassLoadingMXBean()): Implemented. | |
14047 | * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java: | |
14048 | New VM interface file. | |
14049 | ||
14050 | 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
14051 | ||
14052 | * gnu/java/lang/management/RuntimeMXBeanImpl.java: | |
14053 | (isBootClassPathSupported()): Use SystemProperties | |
14054 | rather than System.getProperty. | |
14055 | ||
14056 | 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au> | |
14057 | ||
14058 | * gnu/java/security/Properties.java: Source formatting. | |
14059 | * gnu/java/security/Registry.java: Likewise. | |
14060 | ||
14061 | 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au> | |
14062 | ||
14063 | * gnu/java/security/util/Util.java: Source formatting. | |
14064 | * gnu/java/security/util/SimpleList.java: Likewise. | |
14065 | * gnu/java/security/util/Sequence.java: Likewise. | |
14066 | * gnu/java/security/util/PRNG.java: Likewise. | |
14067 | * gnu/java/security/util/ExpirableObject.java: Likewise. | |
14068 | * gnu/java/security/util/Base64.java: Likewise. | |
14069 | * gnu/java/security/sig/SignatureFactory.java: Likewise. | |
14070 | * gnu/java/security/sig/ISignatureCodec.java: Likewise. | |
14071 | * gnu/java/security/sig/ISignature.java: Likewise. | |
14072 | * gnu/java/security/sig/BaseSignature.java: Likewise. | |
14073 | * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise. | |
14074 | * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise. | |
14075 | * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise. | |
14076 | * gnu/java/security/sig/rsa/RSA.java: Likewise. | |
14077 | * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise. | |
14078 | * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise. | |
14079 | * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise. | |
14080 | * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise. | |
14081 | * gnu/java/security/sig/dss/DSSSignature.java: Likewise. | |
14082 | * gnu/java/security/provider/X509CertificateFactory.java: Likewise. | |
14083 | * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise. | |
14084 | * gnu/java/security/provider/Gnu.java: Likewise. | |
14085 | * gnu/java/security/prng/RandomEventListener.java: Likewise. | |
14086 | * gnu/java/security/prng/RandomEvent.java: Likewise. | |
14087 | * gnu/java/security/prng/PRNGFactory.java: Likewise. | |
14088 | * gnu/java/security/prng/MDGenerator.java: Likewise. | |
14089 | * gnu/java/security/prng/LimitReachedException.java: Likewise. | |
14090 | * gnu/java/security/prng/IRandom.java: Likewise. | |
14091 | * gnu/java/security/prng/EntropySource.java: Likewise. | |
14092 | * gnu/java/security/prng/BasePRNG.java: Likewise. | |
14093 | ||
14094 | 2006-06-23 Francis Kung <fkung@redhat.com> | |
14095 | ||
14096 | * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java | |
14097 | (Harness.actionPerformed): Process additional options. | |
14098 | (J2dBenchmarkWrapper): Defer init call until after options are processed. | |
14099 | (J2dBenchmarkWrapper.setAlias): New method. | |
14100 | (J2dBenchmarkWrapper.setComposite): New method. | |
14101 | (J2dBenchmarkWrapper.setFill): New method. | |
14102 | (J2dBenchmarkWrapper.setRotation): New method. | |
14103 | (J2dBenchmarkWrapper.setShear): New method. | |
14104 | (J2dBenchmarkWrapper.setStroke): New method. | |
14105 | (J2dBenchmarkWrapper.setTranslation): New method. | |
14106 | (run): Add additional options to GUI. | |
14107 | * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: | |
14108 | Added protected fields for various options. | |
14109 | (GraphicsTest.runSet_noClipping): Reset graphics settings between tests. | |
14110 | (GraphicsTest.runSet_withClipping): Reset graphics settings between tests. | |
14111 | (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests. | |
14112 | (getNextColor): Renamed to setRandom. | |
14113 | (init): Load additional image for texturing if needed. | |
14114 | (loadBufferedImage): New method. | |
14115 | (main): Accept additional command-line switches. | |
14116 | (prepareGraphics): New method. | |
14117 | (resetGraphics): New method. | |
14118 | (runTestSuite): Accept additional image-processing options. | |
14119 | (setRandom): Renamed from getNextColor; generate various random options | |
14120 | (test_drawArc): Rename getNextColor to setRandom. | |
14121 | (test_drawCubic): Likewise. | |
14122 | (test_drawEllipse): Likewise. | |
14123 | (test_drawGeneralPath): Likewise. | |
14124 | (test_drawImage): Likewise. | |
14125 | (test_drawLine): Likewise. | |
14126 | (test_drawQuadCurve): Likewise. | |
14127 | (test_drawRectangle): Likewise. | |
14128 | (test_drawRoundRectangle): Likewise. | |
14129 | (test_drawTransparentImage): Likewise. | |
14130 | (test_fillArc): Rename getNextColor to setRandom. | |
14131 | (test_fillEllipse): Likewise. | |
14132 | (test_fillGeneralPath): Likewise. | |
14133 | (test_fillRectangle): Likewise. | |
14134 | (test_fillRoundRectangle): Likewise. | |
14135 | (TestRecorder.getAverage): Round the average time. | |
14136 | ||
14137 | 2006-06-23 Tom Tromey <tromey@redhat.com> | |
14138 | ||
14139 | * java/util/logging/LoggingMXBean.java: New file. | |
14140 | * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field. | |
14141 | (loggingBean): New field. | |
14142 | (getLoggingMXBean): New method. | |
14143 | ||
14144 | 2006-06-23 Tania Bento <tbento@redhat.com> | |
14145 | ||
14146 | * java/awt/TextField.java | |
14147 | (TextField): Default number of columns should be 0, not 1. | |
14148 | (TextField): Check if number of columns given as argument | |
14149 | is valid (>= 0) and set the number of columns accordingly. | |
14150 | (TextField): Check if the string passed is null. If it is, | |
14151 | set columns to 0, else columns is set to the length of | |
14152 | the string. | |
14153 | ||
14154 | 2006-06-23 Roman Kennke <kennke@aicas.com> | |
14155 | ||
14156 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
14157 | (InternalFramePropertyChangeListener.propertyChange): | |
14158 | Don't call getPropertyName() repeatedly. Added null checks | |
14159 | to avoid NPEs. Call closeFrame() if the closed property | |
14160 | changes. | |
14161 | ||
14162 | 2006-06-23 Roman Kennke <kennke@aicas.com> | |
14163 | ||
14164 | * javax/swing/JInternalFrame.java | |
14165 | (maxTransition): Removed. | |
14166 | (JInternalFrame): Set maxium=false. Initialize desktopIcon here. | |
14167 | Don't initialize storedBounds here. | |
14168 | (dipose): Rewritten to correctly dispose the JInternalFrame. | |
14169 | (getDesktopIcon): Don't initialize desktopIcon here. | |
14170 | (getLayer): Delegate to JLayeredPane.getLayer(). | |
14171 | (getNormalBounds): Return bounds when storedBounds == null, | |
14172 | otherwise storedBounds. | |
14173 | (hide): Don't change selection. Also hide the desktopIcon. | |
14174 | (moveToBack): Call getParent() only once. | |
14175 | (moveToFront): Call getParent() only once. | |
14176 | (pack): Call validate() to make sure that the layout is | |
14177 | propagated to the children. | |
14178 | (setClosed): Fire InternalFrameEvent first, before the | |
14179 | PropertyVetoEvent. | |
14180 | (setJMenuBar): Fire PropertyChangeEvent for this property. | |
14181 | (setLayer): Delegate to JLayeredPane. | |
14182 | (setLayeredPane): Check for null and throw IllegalArgumenException. | |
14183 | (setMaximum): Remove handling of maxTransition and normalBounds. | |
14184 | Should probably be done in the UI. | |
14185 | (setNormalBounds): Store Rectangle object directly, not a copy. | |
14186 | (setRootPane): Go into rootPaneCheckingEnabled mode so that | |
14187 | adding the RootPane doesn't add it to the contentPane. | |
14188 | Fire PropertyChangeEvent. | |
14189 | (setSelected): Added condition for when this property must not | |
14190 | be changed. | |
14191 | (show): Don't ask the DesktopPane to select the frame. Moved | |
14192 | code around to fire InternalFrameEvent before actually calling | |
14193 | super.show(). Also make the desktopIcon visible. | |
14194 | (setTitle): Fire PropertyChangeEvent unconditionally. | |
14195 | ||
14196 | 2006-06-23 Roman Kennke <kennke@aicas.com> | |
14197 | ||
14198 | * javax/swing/JLayeredPane.java | |
14199 | (getPosition): Moved code around to avoid unnecessary method calls. | |
14200 | (setPosition): Delegate to setLayer(). | |
14201 | (insertIndexForLayer(int,int)): Delegate to new private helper method. | |
14202 | (insertIndexForLayer(Component,int,int)): New helper method | |
14203 | to support the use of setComponentZOrder() which doesn't remove | |
14204 | the component and thus the insertIndexForLayer must ignore | |
14205 | the component to be moved to get the index right. | |
14206 | (setLayer): Added check to prevent unnecessary execution of | |
14207 | method body. Changed to update the component order here. | |
14208 | Added repaint() to make sure that the update becomes visible. | |
14209 | (addImpl): Call setLayer() only when a constraint has been specified. | |
14210 | Validate and repaint the JLayeredPane. | |
14211 | ||
14212 | 2006-06-23 Roman Kennke <kennke@aicas.com> | |
14213 | ||
14214 | * java/awt/Container.java | |
14215 | (getComponentZOrder): Use ncomponents instead of | |
14216 | component.length so that we don't consider the empty space | |
14217 | after the last component. | |
14218 | ||
14219 | 2006-06-22 Roman Kennke <kennke@aicas.com> | |
14220 | ||
14221 | * javax/swing/JComponent.java | |
14222 | (vetoableChangeSupport): New field. | |
14223 | (removeVetoableChangeListener): Rewritten to use | |
14224 | vetoableChangeSupport. | |
14225 | (addVetoableChangeListener): Rewritten to use | |
14226 | vetoableChangeSupport. | |
14227 | (fireVetoableChange): Rewritten to use | |
14228 | vetoableChangeSupport. | |
14229 | (addPropertyChangeListener): Removed. This is handled in | |
14230 | Component already. | |
14231 | (firePropertyChange(String,boolean,boolean)): Likewise. | |
14232 | (firePropertyChange(String,char,char)): Likewise. | |
14233 | (firePropertyChange(String,int,int)): Likewise. | |
14234 | (revalidate): Don't do anything when the commponent has no | |
14235 | parent. | |
14236 | ||
14237 | 2006-06-22 David Gilbert <david.gilbert@object-refinery.com> | |
14238 | ||
14239 | * javax/swing/JLabel.java: Updated API docs. | |
14240 | ||
14241 | 2006-06-22 Robert Schuster <robertschuster@fsfe.org> | |
14242 | ||
14243 | * java/awt/Insets.java: Updated copyright year. | |
14244 | (toString): Changed string, removed a line from the | |
14245 | documentation. | |
14246 | ||
14247 | 2006-06-22 Roman Kennke <kennke@aicas.com> | |
14248 | ||
14249 | * javax/swing/text/AbstractDocument.java | |
14250 | (AbstractDocument): Set the i18n document property. | |
14251 | (removeImpl): Added checks for correct boundaries. | |
14252 | ||
14253 | 2006-06-22 Roman Kennke <kennke@aicas.com> | |
14254 | ||
14255 | * javax/swing/text/PlainDocument.java | |
14256 | (rootElement): Changed type to Element. | |
14257 | (tabSize): Removed field. This is stored in the document properties | |
14258 | instead. | |
14259 | (PlainDocument): Set tabSize property. Init rootElement without | |
14260 | cast. | |
14261 | (insertUpdate): Rewritten. The previous implementation did not | |
14262 | handle some corner cases properly and was a mess. | |
14263 | (removeUpdate): Cast rootElement to BranchElement. | |
14264 | ||
14265 | 2006-06-22 David Gilbert <david.gilbert@object-refinery.com> | |
14266 | ||
14267 | * javax/swing/plaf/basic/BasicLabelUI.java | |
14268 | (installKeyboardActions): Implemented, | |
14269 | (uninstallKeyboardActions): Implemented, | |
14270 | (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor' | |
14271 | properties. | |
14272 | ||
14273 | 2006-06-22 Robert Schuster <robertschuster@fsfe.org> | |
14274 | ||
14275 | * javax/swing/JMenu.java: | |
14276 | (removeAll): Added check for popupMenu not being null. | |
14277 | ||
14278 | 2006-06-22 David Gilbert <david.gilbert@object-refinery.com> | |
14279 | ||
14280 | * javax/swing/JLabel.java | |
14281 | (getText): Updated API docs, | |
14282 | (setText): Corrected the check for an unchanged value, and the update | |
14283 | of the displayedMnemonicIndex. | |
14284 | ||
14285 | 2006-06-22 David Gilbert <david.gilbert@object-refinery.com> | |
14286 | ||
14287 | * javax/swing/JLabel.java | |
14288 | (setDisplayedMnemonic(int)): Fire property change event AFTER updating | |
14289 | field, | |
14290 | (setDisplayedMnemonicIndex): Modified argument checking to handle case | |
14291 | where label text is null. | |
14292 | ||
14293 | 2006-06-22 David Gilbert <david.gilbert@object-refinery.com> | |
14294 | ||
14295 | * javax/swing/JLabel.java | |
14296 | (setDisplayedMnemonic): Updated API docs, | |
14297 | (getDisplayedMnemonic): Removed unnecessary type-cast, | |
14298 | (setDisplayedMnemonicIndex): Removed unnecessary validation, | |
14299 | (getDisplayedMnemonicIndex): Updated API docs. | |
14300 | ||
97b8365c TT |
14301 | 2006-06-21 Jeroen Frijters <jeroen@frijters.net> |
14302 | ||
14303 | * java/util/Collections (entrySet): Fixed compile error. | |
14304 | ||
ac1ed908 MW |
14305 | 2006-06-21 David Gilbert <david.gilbert@object-refinery.com> |
14306 | ||
14307 | * javax/swing/DefaultListSelectionModel.java | |
14308 | (getSelectionMode): Updated API docs, | |
14309 | (setAnchorSelectionIndex): Added ListSelectionEvent generation, | |
14310 | (addSelectionInterval): If mode is SINGLE_SELECTION, just call | |
14311 | setSelectionInterval(), | |
14312 | (setSelectionInterval): Reimplemented SINGLE_SELECTION and | |
14313 | SINGLE_INTERVAL_SELECTION cases. | |
14314 | ||
14315 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14316 | ||
14317 | * javax/swing/text/AbstractDocument.java | |
14318 | (BranchElement.numChildren): New field. | |
14319 | (BranchElement.BranchElement): Initialize children array with | |
14320 | one element (that's the least number of elements that makes sense). | |
14321 | Initialize numChildren. | |
14322 | (BranchElement.children): Use numChildren as boundary. | |
14323 | (BranchElement.getElement): Use numChildren as boundary. | |
14324 | (BranchElement.getElementCount): Use numChildren as boundary. | |
14325 | (BranchElement.getElementIndex): Use numChildren as boundary. | |
14326 | (BranchElement.getEndOffset): Use numChildren as boundary. | |
14327 | (BranchElement.getStartOffset): Use numChildren as boundary. | |
14328 | (BranchElement.positionToElement): Use numChildren as boundary. | |
14329 | (BranchElement.replace): Handle the children array more efficiently | |
14330 | by growing in blocks > 1, and reusing space from removed elements. | |
14331 | (LeafElement.startDelta): Removed. | |
14332 | (LeafElement.endDelta): Removed. | |
14333 | (LeafElement.LeafElement): Removed handling of deltas. | |
14334 | (LeafElement.getEndOffset): Likewise. | |
14335 | (LeafElement.getStartOffset): Likewise. | |
14336 | * javax/swing/text/JTextComponent.java | |
14337 | (setDocument): Added locking of the old document to avoid dangling | |
14338 | notification beeing delivered while the document is beeing | |
14339 | disconnected. | |
14340 | (getScrollableTracksViewportWidth): Fixed condition. | |
14341 | * javax/swing/text/PlainDocument.java | |
14342 | (createDefaultRoot): Create elements without AttributeSet. | |
14343 | * javax/swing/text/rtf/RTFParser.java | |
14344 | (parseFile): Handle slightly incorrect RTF gracefully. | |
14345 | * javax/swing/text/rtf/RTFScanner.java | |
14346 | (lastToken): New field. | |
14347 | (readTokenImpl): New method. | |
14348 | (peekToken): New method. | |
14349 | (readToken): Changed to call readTokenImpl or return the lastToken | |
14350 | if there's one present. | |
14351 | ||
14352 | 2006-06-21 Tania Bento <tbento@redhat.com> | |
14353 | ||
14354 | * javax/swing/JMenu.java | |
14355 | (remove): An IllegalArgumentException should be thrown if | |
14356 | either index < 0 or if index > 0 and there are no menu | |
14357 | components. Also, a check was added that ensures there are | |
14358 | menu components before removing the desired the component. | |
14359 | ||
14360 | 2006-06-21 Lillian Angel <langel@redhat.com> | |
14361 | ||
14362 | * javax/swing/text/DefaultCaret.java | |
14363 | (install): Added check to prevent NPE. | |
14364 | (propertyChange): Added checks to prevent NPEs. | |
14365 | ||
14366 | 2006-06-21 Tania Bento <tbento@redhat.com> | |
14367 | ||
14368 | * javax/swing/JMenu.java | |
14369 | Changed instantiation of popupMenu to null. | |
14370 | (JMenu): Instantiated popupMenu to new JPopupMenu. | |
14371 | (JMenu): Instantiated popupMenu to new JPopupMenu. | |
14372 | (add): Changed popupMenu to getPopupMenu(). | |
14373 | (add): Changed popupMenu to getPopupMenu(). | |
14374 | (add): Changed popupMenu to getPopupMenu(). | |
14375 | (add): Changed popupMenu to getPopupMenu(). | |
14376 | (remove): Changed popupMenu to getPopupMenu(). | |
14377 | (remove): Changed popupMenu to getPopupMenu(). | |
14378 | (insert): Changed popupMenu to getPopupMenu(). | |
14379 | (setSelectedHelper): Changed popupMenu to getPopupMenu(). | |
14380 | (isPopupMenuVisible): Changed popupMenu to getPopupMenu(). | |
14381 | (setPopupMenuVisible): Changed popupMenu to getPopupMenu(). | |
14382 | (getMenuComponentCount): Changed popupMenu to getPopupMenu(). | |
14383 | (getMenuComponents): Changed popupMenu to getPopupMenu(). | |
14384 | (getPopupMenu): Check first if popupMenu is null and if so, | |
14385 | instantiate it to a new JPopupMenu and set the invoker. | |
14386 | * javax/swing/plaf/basic/BasicPopupMenuUI.java | |
14387 | (popupMenuWillBecomeVisible): Component Listener should only | |
14388 | be added to the root container if the root container is not | |
14389 | null. This avoids a null pointer exception. | |
14390 | ||
14391 | 2006-06-21 Tania Bento <tbento@redhat.com> | |
14392 | ||
14393 | * javax/swing/JMenu.java | |
14394 | (JMenu): Delay should be set to 200, not default of 0. | |
14395 | (JMenu): Delay should be set to 200, not default of 0. | |
14396 | (JMenu): Delay should be set to 200, not default of 0. | |
14397 | (JMenu): Delay should be set to 200, not default of 0. | |
14398 | (remove): Added check that index >= 0 before removing | |
14399 | the component. | |
14400 | (getItem): Return null if item count equals 0. | |
14401 | (isTearOff): Should throw new error and not return false. | |
14402 | (getMenuComponent): Return null if popupMenu is null or | |
14403 | if there are no menu components. | |
14404 | ||
14405 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14406 | ||
14407 | * java/awt/font/FontRenderContext.java: | |
14408 | (equals): Added special conditions for affineTransform beeing | |
14409 | null. | |
14410 | ||
14411 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14412 | ||
14413 | * javax/swing/UIManager.java | |
14414 | (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults | |
14415 | must not be cleared. | |
14416 | ||
14417 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14418 | ||
14419 | * javax/swing/plaf/metal/MetalUtils.java | |
14420 | (paintHorizontalGradient): Use paintHorizontalGradient2D when | |
14421 | Graphics2D is available. Use fillRect instead of drawLine, this | |
14422 | is much faster. | |
14423 | (paintVerticalGradient): Use paintHorizontalGradient2D when | |
14424 | Graphics2D is available. Use fillRect instead of drawLine, this | |
14425 | is much faster. | |
14426 | (paintHorizontalGradient2D): New method. Paints gradient | |
14427 | using Graphics2D functions. | |
14428 | (paintVerticalGradient2D): New method. Paints gradient | |
14429 | using Graphics2D functions. | |
14430 | ||
14431 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14432 | ||
14433 | * javax/swing/plaf/basic/BasicButtonListener.java | |
14434 | (propertyChange): Create a TextLayout and store it in the button | |
14435 | when the 'text' property changes. | |
14436 | * javax/swing/plaf/basic/BasicButtonUI.java | |
14437 | (paintText): Call BasicGraphicsUtils utility method for | |
14438 | drawing strings, instead of Graphics.drawString(). | |
14439 | * javax/swing/plaf/basic/BasicGraphicsUtils.java | |
14440 | (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing | |
14441 | cached text layouts as client properties in JComponents. | |
14442 | (drawString(JComponent,Graphics,String,int,int)): New helper method. | |
14443 | (drawStringUnderlineCharAt): New helper method. | |
14444 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
14445 | (PropertyChangeHandler.propertyChange): Update cached text layout | |
14446 | when 'text' property changes. Use equals() instead of == for | |
14447 | string comparison. | |
14448 | (paintText): Use new BasicGraphicsUtils methods for painting | |
14449 | the cached text layout. | |
14450 | (installListeners): Call super.installListeners() and remove | |
14451 | the unneeded listener installs. | |
14452 | (uninstallListeners): Call super.uninstallListeners() and remove | |
14453 | the unneeded listener uninstalls. | |
14454 | ||
14455 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14456 | ||
14457 | * javax/swing/plaf/basic/BasicTextUI.java | |
14458 | (PropertyChangeHandler.propertyChange): Handle document listener | |
14459 | update here. | |
14460 | (background): Removed unneeded fields. | |
14461 | (inactiveBackground): Remove unneeded fields. | |
14462 | (installUI): Install the document listener. Slightly changed | |
14463 | order of operations. Don't trigger modelChanged(). | |
14464 | (installDefaults): Only install properties when the | |
14465 | current properties are null or instances of UIResource. | |
14466 | (installListeners): Removed unnecessary listener installs. | |
14467 | (installDocumentListeners): Removed unneeded method. | |
14468 | (uninstallListeners): Removed unnecessary listener uninstalls. | |
14469 | (modelChanged): Removed call to installDocumentListeners(). | |
14470 | * javax/swing/plaf/basic/BasicTextFieldUI.java | |
14471 | (propertyChange): Update the colors by fetching them from | |
14472 | SharedUIDefaults. Fixed conditions. | |
14473 | * javax/swing/plaf/basic/SharedUIDefaults.java | |
14474 | (getColor): New method. | |
14475 | ||
14476 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14477 | ||
14478 | * javax/swing/SizeSequence.java | |
14479 | (SizeSequence): Initialize array with correct number of entries. | |
14480 | ||
14481 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14482 | ||
14483 | * javax/swing/JSplitPane.java | |
14484 | (setDividerLocation): Substract divider size when computing | |
14485 | the absolute size. | |
14486 | ||
14487 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14488 | ||
14489 | * javax/swing/JComponent.java | |
14490 | (paintChildrenWithOverlap): Determine opaque property by | |
14491 | calling the corresponding Component method, without requiring | |
14492 | a JComponent. | |
14493 | (paintChildrenOptimized): Removed old unneeded code. | |
14494 | (paintImmediately): Use JComponent's convertRectangleToAncestor() | |
14495 | method instead of SwingUtilities.convertRectangle(). This is | |
14496 | more efficient. | |
14497 | ||
14498 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14499 | ||
14500 | * javax/swing/AbstractButton.java | |
14501 | (init): Call setText() instead of setting the property directly, | |
14502 | so that listeners (especially in the UI) get notified. | |
14503 | ||
14504 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14505 | ||
14506 | * javax/swing/UIManager.java | |
14507 | (MultiplexUIDefaults): New inner class. | |
14508 | (currentUIDefaults): Changed type to be MultiplexUIDefaults. | |
14509 | (userUIDefaults): Changed name to be lookAndFeelDefaults. | |
14510 | (<cinit>): Call setLookAndFeel(String) instead of trying to load | |
14511 | directly. Print stacktrace if something goes wrong. | |
14512 | (get): Delegate call to currentUIDefaults. | |
14513 | (getDefaults): If currentUIDefaults is null, then lazily instantiate | |
14514 | it. | |
14515 | (getUI): Delegate call to currentUIDefaults. | |
14516 | (put): Delegate call to currentUIDefaults. | |
14517 | (setLookAndFeel): Initialize currentUIDefaults with | |
14518 | MultiplexUIDefaults. Set lookAndFeelDefaults. | |
14519 | (setLookAndFeel): Use current thread's context classloader for | |
14520 | loading the L&F. | |
14521 | ||
14522 | 2006-06-21 Roman Kennke <kennke@aicas.com> | |
14523 | ||
14524 | * javax/swing/text/GapContent.java | |
14525 | (GapContentPosition.GapContentPosition): Replace | |
14526 | Collections.binarySearch with call to local search() to make | |
14527 | sure we find the first object that equals the searched object. | |
14528 | (setPositionsInRange): Likewise. | |
14529 | (adjustPositionsInRange): Likewise. | |
14530 | (search): New helper method. | |
14531 | ||
14532 | 2006-06-21 Gary Benson <gbenson@redhat.com> | |
14533 | ||
14534 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check. | |
14535 | * gnu/java/awt/peer/qt/QtGraphics.java: Likewise. | |
14536 | * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise. | |
14537 | ||
14538 | 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com> | |
14539 | ||
14540 | * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define | |
14541 | APPLETVIEWER_EXECUTABLE to gappletviewer. | |
14542 | ||
14543 | 2006-06-20 Tom Tromey <tromey@redhat.com> | |
14544 | ||
14545 | PR classpath/28095: | |
14546 | * java/net/URL.java (URL): Throw MalformedURLException if a | |
14547 | RuntimeException is caught. Chain exceptions. | |
14548 | ||
14549 | 2006-06-20 Lillian Angel <langel@redhat.com> | |
14550 | ||
14551 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java | |
14552 | (create): Added check to prevent Seg Fault. Should not | |
14553 | set the label if it is null. | |
14554 | * gnu/java/awt/peer/gtk/GtkLabelPeer.java | |
14555 | (setText): Changed to be a non-native function. Calls | |
14556 | setNativeText if the String parameter is non-null. | |
14557 | (setNativeText): Replaces old native setText function. | |
14558 | * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated. | |
14559 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c | |
14560 | (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed. | |
14561 | Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText. | |
14562 | (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced | |
14563 | Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText. | |
14564 | ||
14565 | 2006-06-20 Lillian Angel <langel@redhat.com> | |
14566 | ||
14567 | * javax/swing/text/JTextComponent.java | |
14568 | (AccessibleJTextComponent): Rewrote all javadocs | |
14569 | for this inner class. | |
14570 | ||
14571 | 2006-06-20 Francis Kung <fkung@redhat.com> | |
14572 | ||
14573 | * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: | |
14574 | Changed many members to be protected. | |
14575 | (J2dBenchmark): moved to init() instead. | |
14576 | (init): New method. | |
14577 | (main): Call init() after creating object | |
14578 | (testComplete): New method. | |
14579 | (test_drawArc): Use maxTests varialbe instead of constant. | |
14580 | (test_drawCubicCurve): Likewise. | |
14581 | (test_drawEllipse): Likewise. | |
14582 | (test_drawGeneralPath): Likewise. | |
14583 | (test_drawImage): Likewise. | |
14584 | (test_drawLine): Likewise. | |
14585 | (test_drawQuadCurve): Likewise. | |
14586 | (test_drawRectangle): Likewise. | |
14587 | (test_drawRoundRectangle): Likewise. | |
14588 | (test_drawTransparentImage): Likewise. | |
14589 | (test_fillArc): Likewise. | |
14590 | (test_fillEllipse): Likewise. | |
14591 | (test_fillGeneralPath): Likewise. | |
14592 | (test_fillRectangle): Likewise. | |
14593 | (test_fillRoundRectangle): Likewise. | |
14594 | (GraphicsTest.runSetNoClipping): Added runCount parameter. | |
14595 | (GraphicsTest.runSetWithClipping): Likewise. | |
14596 | (GraphicsTest.runSetZeroClipping): Likewise. | |
14597 | (GraphicsTest.run): Added checks for more option flags. | |
14598 | * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java: | |
14599 | New file. | |
14600 | ||
14601 | 2006-06-20 Roman Kennke <kennke@aicas.com> | |
14602 | ||
14603 | * javax/swing/text/GapContent.java | |
14604 | (GapContentPosition.mark): New field. | |
14605 | (GapContentPosition.index): Removed. | |
14606 | (GapContentPosition.GapContentPosition): Changed to take the | |
14607 | real offset as parameter. Added handling of reference counter. | |
14608 | Try to cleanup before creating new instances. | |
14609 | (getOffset): Delegate to the Mark method with same name. | |
14610 | (Mark): New class, encapsulating a mark. | |
14611 | (positionMarks): Removed field. | |
14612 | (numMarks): Removed field. | |
14613 | (marks): New field. | |
14614 | (queueOfDeath): New field. | |
14615 | (GapContent): Removed init of old fields, added init of new fields. | |
14616 | (createPosition): Added check for validity of arguments. | |
14617 | Create GapContentPosition directly with offset. | |
14618 | (shiftEnd): Pass end of buffer directly to adjustPositionsInRange. | |
14619 | (shiftGap): Pass end of buffer directly to adjustPositionsInRange. | |
14620 | (shiftGapStartDown): Call resetMarksAtZero(). | |
14621 | (shiftGapEndUp): Call resetMarksAtZero(). | |
14622 | (replace): Don't call resetMarksAtZero(). | |
14623 | (setPositionInRange): Replaced by simpler algorithm, similar to | |
14624 | adjustPositionsInRange. | |
14625 | (adjustPositionsInRange): Adapted to use of Mark objects. | |
14626 | (resetMarksAtZero): Reset all marks that point to zero instead | |
14627 | of only the first one. | |
14628 | (dumpMarks): Adjusted to dump Mark objects. | |
14629 | (insertMark): Removed. | |
14630 | (garbageCollect): New method. Cleans up the marks list. | |
14631 | (binarySearch): Removed. | |
14632 | ||
14633 | 2006-06-20 Lillian Angel <langel@redhat.com> | |
14634 | ||
14635 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
14636 | (drawImage): Added call to updateColor because | |
14637 | Cairo seems to lose the current color. | |
14638 | ||
14639 | 2006-06-20 Gary Benson <gbenson@redhat.com> | |
14640 | ||
14641 | * java/awt/Toolkit.java: Add security check. | |
14642 | * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise. | |
14643 | * gnu/java/awt/peer/qt/QtToolkit.java: Likewise. | |
14644 | ||
14645 | 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au> | |
14646 | ||
14647 | * gnu/java/security/key/dss/DSSKey.java: Source formatting. | |
14648 | * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise. | |
14649 | * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise. | |
14650 | * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise. | |
14651 | * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise. | |
14652 | * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise. | |
14653 | * gnu/java/security/key/dss/DSSPublicKey.java: Likewise. | |
14654 | * gnu/java/security/key/dss/FIPS186.java: Likewise. | |
14655 | * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise. | |
14656 | * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise. | |
14657 | * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise. | |
14658 | * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise. | |
14659 | * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise. | |
14660 | * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise. | |
14661 | * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise. | |
14662 | * gnu/java/security/key/IKeyPairCodec.java: Likewise. | |
14663 | * gnu/java/security/key/IKeyPairGenerator.java: Likewise. | |
14664 | * gnu/java/security/key/KeyPairCodecFactory.java: Likewise. | |
14665 | * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise. | |
14666 | ||
14667 | 2006-06-19 Lillian Angel <langel@redhat.com> | |
14668 | ||
14669 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
14670 | (drawImage): Should always use getRGB to get the pixels. | |
14671 | getData returns an incorrect array of pixels. | |
14672 | ||
14673 | 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au> | |
14674 | ||
14675 | * gnu/java/security/jce/hash/HavalSpi.java: Source formatting. | |
14676 | * gnu/java/security/jce/hash/MD2Spi.java: Likewise. | |
14677 | * gnu/java/security/jce/hash/MD4Spi.java: Likewise. | |
14678 | * gnu/java/security/jce/hash/MD5Spi.java: Likewise. | |
14679 | * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise. | |
14680 | * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise. | |
14681 | * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise. | |
14682 | * gnu/java/security/jce/hash/Sha160Spi.java: Likewise. | |
14683 | * gnu/java/security/jce/hash/Sha256Spi.java: Likewise. | |
14684 | * gnu/java/security/jce/hash/Sha384Spi.java: Likewise. | |
14685 | * gnu/java/security/jce/hash/Sha512Spi.java: Likewise. | |
14686 | * gnu/java/security/jce/hash/TigerSpi.java: Likewise. | |
14687 | * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise. | |
14688 | * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise. | |
14689 | * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise. | |
14690 | * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise. | |
14691 | * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise. | |
14692 | * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise. | |
14693 | * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise. | |
14694 | * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise. | |
14695 | * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise. | |
14696 | * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise. | |
14697 | * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise. | |
14698 | * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise. | |
14699 | * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise. | |
14700 | * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise. | |
14701 | * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise. | |
14702 | * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise. | |
14703 | * gnu/java/security/jce/sig/DSSParameters.java: Likewise. | |
14704 | * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise. | |
14705 | * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise. | |
14706 | * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise. | |
14707 | * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise. | |
14708 | * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise. | |
14709 | * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise. | |
14710 | * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise. | |
14711 | ||
14712 | 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au> | |
14713 | ||
14714 | * NEWS: Updated (delayed) for security tools and tools.texinfo. | |
14715 | ||
14716 | 2006-06-19 Roman Kennke <kennke@aicas.com> | |
14717 | ||
14718 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
14719 | (drawImage): Clip volatile image correctly. | |
14720 | (drawVolatileImage): Added arguments for clipping. | |
14721 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
14722 | (drawVolatileImage): Added arguments for clipping. Clip image | |
14723 | correctly. | |
14724 | * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated. | |
14725 | ||
14726 | 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
14727 | ||
14728 | PR 28035 | |
14729 | * java/rmi/server/UID.java (constructor): Synchronized | |
14730 | the whole constructor on the UID class. | |
14731 | ||
14732 | 2006-06-19 Roman Kennke <kennke@aicas.com> | |
14733 | ||
14734 | * javax/swing/RepaintManager.java | |
14735 | (addInvalidComponent): Only add component that are displayable, | |
14736 | that have displayable parents and that have a validateRoot. | |
14737 | Also, don't validate components that have a CellRendererPane | |
14738 | ancestor. | |
14739 | ||
14740 | 2006-06-19 David Gilbert <david.gilbert@object-refinery.com> | |
14741 | ||
14742 | * javax/swing/plaf/IconUIResource.java | |
14743 | (IconUIResource): Throw IllegalArgumentException for null icon. | |
14744 | ||
14745 | 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
14746 | ||
14747 | PR 28035 | |
14748 | * java/rmi/server/UID.java (constructor): First increment | |
14749 | uidCounter, and then use the value. | |
14750 | ||
14751 | 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com> | |
14752 | ||
14753 | * java/awt/GridBagLayout.java (AdjustForGravity): Implement. | |
14754 | * java/awt/GridBagConstraints.java: Indent. | |
14755 | ||
14756 | 2006-06-18 Tom Tromey <tromey@redhat.com> | |
14757 | ||
14758 | * native/jni/gconf-peer/.cvsignore: New file. | |
14759 | ||
14760 | 2006-06-18 Tom Tromey <tromey@redhat.com> | |
14761 | ||
14762 | * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption): | |
14763 | Also handle short options. | |
14764 | ||
14765 | 2006-06-18 Jim Huang <jserv@kaffe.org> | |
14766 | ||
14767 | PR classpath/28076: | |
14768 | * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD): | |
14769 | Fixed typo. | |
14770 | ||
14771 | 2006-06-19 Mark Wielaard <mark@klomp.org> | |
14772 | ||
14773 | * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend | |
14774 | on gnu/java/util/prefs/gconf/%.class. | |
14775 | * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix | |
14776 | chache typo, should be cache. | |
14777 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys): | |
14778 | Declare tmp early. | |
14779 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes): | |
14780 | Likewise. | |
14781 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir): | |
14782 | Don't return a value for void function. | |
14783 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir) | |
14784 | Likewise. | |
14785 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists): | |
14786 | Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean | |
14787 | function. | |
14788 | (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class): | |
14789 | Mark clazz ad unused. | |
14790 | ||
14791 | 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au> | |
14792 | ||
14793 | * gnu/java/security/hash/Whirlpool.java: Source formatting. | |
14794 | * gnu/java/security/hash/Tiger.java: Likewise. | |
14795 | * gnu/java/security/hash/Sha512.java: Likewise. | |
14796 | * gnu/java/security/hash/Sha384.java: Likewise. | |
14797 | * gnu/java/security/hash/Sha256.java: Likewise. | |
14798 | * gnu/java/security/hash/Sha160.java: Likewise. | |
14799 | * gnu/java/security/hash/RipeMD160.java: Likewise. | |
14800 | * gnu/java/security/hash/RipeMD128.java: Likewise. | |
14801 | * gnu/java/security/hash/MD5.java: Likewise. | |
14802 | * gnu/java/security/hash/MD4.java: Likewise. | |
14803 | * gnu/java/security/hash/MD2.java: Likewise. | |
14804 | * gnu/java/security/hash/IMessageDigest.java: Likewise. | |
14805 | * gnu/java/security/hash/Haval.java: Likewise. | |
14806 | * gnu/java/security/hash/HashFactory.java: Likewise. | |
14807 | * gnu/java/security/hash/BaseHash.java: Likewise. | |
14808 | ||
14809 | 2006-06-18 Sven de Marothy <sven@physto.se> | |
14810 | ||
14811 | * java/awt/event/KeyEvent.java: | |
14812 | (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields. | |
14813 | * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: | |
14814 | Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms. | |
14815 | ||
14816 | 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au> | |
14817 | ||
14818 | * gnu/java/security/util/Prime2.java: Removed. | |
14819 | * gnu/java/security/key/dss/FIPS186.java: Remove unused imports. | |
14820 | (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2. | |
14821 | * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports. | |
14822 | (generate): Use isProbablePrime() in BigInteger instead of Prime2. | |
14823 | * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports. | |
14824 | (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2. | |
14825 | * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports. | |
14826 | (checkParams): Use isProbablePrime() in BigInteger instead of Prime2. | |
14827 | * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports. | |
14828 | (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2. | |
14829 | * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports. | |
14830 | (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2. | |
14831 | ||
14832 | 2006-06-18 Sven de Marothy <sven@physto.se> | |
14833 | ||
14834 | * java/awt/GridBagLayout.java (AdjustForGravity): Implement. | |
14835 | * java/awt/font/TextMeasurer.java: Fix copyright date, | |
14836 | remove commented-out code. | |
14837 | ||
14838 | 2006-06-18 Sven de Marothy <sven@physto.se> | |
14839 | ||
14840 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java | |
14841 | (FreetypeGlyphVector, clone): Implement cloning. | |
14842 | (getGlyphLogicalBounds): Bounds should be offset to the glyph position. | |
14843 | * java/awt/font/TextMeasurer.java: Implement. | |
14844 | * java/awt/font/LineBreakMeasurer.java: | |
14845 | Reimplement to use TextMeasurer. | |
14846 | * java/awt/font/TextLayout.java | |
14847 | New constructors. | |
14848 | (getBlackboxBounds, getLogicalHighlightShape): Reimplement. | |
14849 | (getText, getFont): New private static methods. | |
14850 | (setCharIndices): New method. | |
14851 | * java/text/AttributedString.java | |
14852 | (AttributedString): Fix constructor to stop at end point. | |
14853 | ||
97b8365c TT |
14854 | 2006-06-17 Tom Tromey <tromey@redhat.com> |
14855 | ||
14856 | * lib/gen-classlist.sh.in: Search all top-level directories, not | |
14857 | just 'org', in external. | |
14858 | ||
ac1ed908 MW |
14859 | 2006-06-12 Mario torre <neugens at limasoftware.net> |
14860 | ||
14861 | * gnu/java/util/prefs/GConfBasedPreferences.java: new class. | |
14862 | * gnu/java/util/prefs/GConfBasedFactory.java: new class. | |
14863 | * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class. | |
14864 | * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated | |
14865 | header file. | |
14866 | * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file. | |
14867 | * configure.ac: update to introduce new files. Added options | |
14868 | to build gconf native peer used by the GConf preference backend. | |
14869 | * include/Makefile.am: update to introduce new files. | |
14870 | * native/jni/Makefile.am update to introduce new files. | |
14871 | * scripts/check_jni_methods.sh: added three new ignored file | |
14872 | from check. | |
14873 | * native/jni/gconf-peer/Makefile.am: new Makefile needed to | |
14874 | build gconf-peer shared library. | |
14875 | ||
14876 | 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au> | |
14877 | ||
14878 | * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: | |
14879 | Use Integer.valueOf() instead of new Integer(). | |
14880 | * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise. | |
14881 | * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise. | |
14882 | * gnu/java/security/util/Sequence.java: Likewise. | |
14883 | * gnu/java/security/x509/ext/GeneralNames.java: Likewise. | |
14884 | * gnu/java/security/x509/X509Certificate.java: Likewise. | |
14885 | * gnu/javax/crypto/assembly/ModeStage.java: Likewise. | |
14886 | * gnu/javax/crypto/cipher/Anubis.java: Likewise. | |
14887 | * gnu/javax/crypto/cipher/Blowfish.java: Likewise. | |
14888 | * gnu/javax/crypto/cipher/Cast5.java: Likewise. | |
14889 | * gnu/javax/crypto/cipher/DES.java: Likewise. | |
14890 | * gnu/javax/crypto/cipher/Khazad.java: Likewise. | |
14891 | * gnu/javax/crypto/cipher/NullCipher.java: Likewise. | |
14892 | * gnu/javax/crypto/cipher/Rijndael.java: Likewise. | |
14893 | * gnu/javax/crypto/cipher/Serpent.java: Likewise. | |
14894 | * gnu/javax/crypto/cipher/Square.java: Likewise. | |
14895 | * gnu/javax/crypto/cipher/TripleDES.java: Likewise. | |
14896 | * gnu/javax/crypto/cipher/Twofish.java: Likewise. | |
14897 | * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise. | |
14898 | * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise. | |
14899 | * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise. | |
14900 | * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise. | |
14901 | * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise. | |
14902 | * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise. | |
14903 | * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise. | |
14904 | * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise. | |
14905 | * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise. | |
14906 | * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise. | |
14907 | * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise. | |
14908 | * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise. | |
14909 | * gnu/javax/crypto/mac/UHash32.java: Likewise. | |
14910 | * gnu/javax/crypto/mac/UMac32.java: Likewise. | |
14911 | * gnu/javax/crypto/mode/BaseMode.java: Likewise. | |
14912 | * gnu/javax/crypto/mode/EAX.java: Likewise. | |
14913 | * gnu/javax/crypto/prng/ICMGenerator.java: Likewise. | |
14914 | * gnu/javax/crypto/prng/UMacGenerator.java: Likewise. | |
14915 | * gnu/javax/crypto/sasl/srp/KDF.java: Likewise. | |
14916 | * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise. | |
14917 | * java/security/cert/X509CertSelector.java: Likewise. | |
14918 | ||
14919 | 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
14920 | ||
14921 | * javax/management/DynamicMBean.java: | |
14922 | (setAttribute): Fixed to return void. | |
14923 | * javax/management/MBeanFeatureInfo.java: | |
14924 | New file. | |
14925 | ||
14926 | 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au> | |
14927 | ||
14928 | On behalf of Vivek Lakshmanan <vivekl@redhat.com> | |
14929 | * gnu/javax/crypto/jce/cipher/CipherAdapter.java | |
14930 | (engineInit(int, Key, SecureRandom)): Seperate common initialization logic | |
14931 | into engineInitHandler and reuse the code in | |
14932 | engineInit(int, Key, AlgorithmSpec, SecureRandom). | |
14933 | (engineInitHandler): New method. | |
14934 | (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is | |
14935 | null, use random or default information when possible. | |
14936 | ||
14937 | 2006-06-16 Francis Kung <fkung@redhat.com> | |
14938 | ||
14939 | * examples/gnu/classpath/examples/swing/Demo.java: | |
14940 | (mkButtonBar): Rename FillRect to JNIOverhead. | |
14941 | (mkMenuBar): Rename FillRect to JNIOverhead. | |
14942 | * examples/gnu/classpath/examples/swing/FillRect.java: Removed. | |
14943 | * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file. | |
14944 | * examples/gnu/classpath/examples/java2d/JNIOverhead.java: | |
14945 | Moved from old FillRect. | |
14946 | ||
14947 | 2006-06-16 Tom Tromey <tromey@redhat.com> | |
14948 | ||
14949 | * tools/.cvsignore: Added new tool names. | |
14950 | ||
ac1ed908 MW |
14951 | 2006-06-16 Keith Seitz <keiths@redhat.com> |
14952 | ||
14953 | * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo | |
14954 | instantiation so that EventManager is created when getDefault | |
14955 | is first called. | |
14956 | * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation | |
14957 | of EventManager. | |
14958 | ||
14959 | 2006-06-16 Keith Seitz <keiths@redhat.com> | |
14960 | ||
14961 | * gnu/classpath/jdwp/Jdwp.java (_initLock): New field. | |
14962 | (_initCount): New field. | |
14963 | (Jdwp): Don't set isDebugging until fully initialized. | |
14964 | (subcomponentInitialized): New method. | |
14965 | (run): Wait for PacketProcessor and JdwpConnection to | |
14966 | startup, then set isDebugging, and then let this thread | |
14967 | die. | |
14968 | * gnu/classpath/jdwp/transport/JdwpConnection.java | |
14969 | (run): Add synchronization notification. | |
14970 | * gnu/classpath/jdwp/processor/PacketProcessor.java | |
14971 | (run): Likewise. | |
14972 | ||
14973 | 2006-06-16 Tom Tromey <tromey@redhat.com> | |
14974 | ||
97b8365c TT |
14975 | * NEWS: Updated for JSR 166. |
14976 | ||
14977 | 2006-06-16 Tom Tromey <tromey@redhat.com> | |
14978 | ||
14979 | * lib/Makefile.am (compile_classpath): Added jsr166. | |
14980 | * configure.ac: Added external/jsr166/Makefile. | |
14981 | * external/Makefile.am (SUBDIRS): Added jsr166. | |
14982 | * external/jsr166/Makefile.am: New file. | |
14983 | * lib/gen-classlist.sh.in: Look in external/jsr166. | |
ac1ed908 MW |
14984 | |
14985 | 2006-06-16 Kyle Galloway <kgallowa@redhat.com> | |
14986 | ||
14987 | * gnu/classpath/jdwp/event/ExceptionEvent: | |
14988 | Added Object instance to javadoc in constructor | |
14989 | * gnu/classpath/jdwp/event/MethodEntryEvent: | |
14990 | Ditto. | |
14991 | * gnu/classpath/jdwp/event/MethodExitEvent: | |
14992 | Ditto, | |
14993 | * gnu/classpath/jdwp/event/SingleStepEvent: | |
14994 | Ditto. | |
14995 | ||
14996 | 2006-06-16 Tom Tromey <tromey@redhat.com> | |
14997 | ||
97b8365c TT |
14998 | Imported JSR 166 reference implementation: |
14999 | * .classpath: Added external/jsr166. | |
15000 | * java/util/concurrent/CopyOnWriteArrayList.java: New file. | |
15001 | * java/util/AbstractQueue.java: Removed. | |
15002 | * java/util/Queue.java: Removed. | |
15003 | * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java | |
15004 | (runPeriodic): Added explicit cast. | |
15005 | * external/jsr166/java/util/ArrayDeque.java (clone): Use | |
15006 | elements.clone. | |
15007 | ||
15008 | 2006-06-16 Tom Tromey <tromey@redhat.com> | |
15009 | ||
15010 | * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess): | |
15011 | Removed. | |
15012 | (getCallerClass): Now static. | |
15013 | * vm/reference/sun/reflect/misc/ReflectUtil.java: New file. | |
ac1ed908 MW |
15014 | |
15015 | 2006-06-16 Lillian Angel <langel@redhat.com> | |
15016 | ||
15017 | * java/awt/FileDialog.java | |
15018 | (FileDialog): Added @since tag to API docs. | |
15019 | (FileDialog): Likewise. | |
15020 | (FileDialog): Likewise. | |
15021 | * java/awt/Font.java: | |
15022 | Added @since tag to TYPE1_FONT field docs. | |
15023 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
15024 | (isThumbRollover): Likewise. | |
15025 | (setThumbRollover): Likewise. | |
15026 | (getSupportsAbsolutePositioning): Likewise. | |
15027 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
15028 | (isDragging): Likewise. | |
15029 | ||
15030 | 2006-06-16 Lillian Angel <langel@redhat.com> | |
15031 | ||
15032 | * java/awt/FileDialog.java | |
15033 | (FileDialog): Implemented. | |
15034 | (FileDialog): Implemented. | |
15035 | (FileDialog): Implemented. | |
15036 | * java/awt/Font.java: | |
15037 | Added TYPE1_FONT constant field. | |
15038 | ||
15039 | 2006-06-16 Lillian Angel <langel@redhat.com> | |
15040 | ||
15041 | * java/awt/font/TextLayout.java: | |
15042 | Removed unneeded imports. | |
15043 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
15044 | Added new thumbRollover field. | |
15045 | (mouseMoved): Added code to set thumbRollover field. | |
15046 | (isThumbRollover): New function. | |
15047 | (setThumbRollover): New function. | |
15048 | (getSupportsAbsolutePositioning): Implemented. This | |
15049 | needs to be changed once the feature has been | |
15050 | implemented. | |
15051 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
15052 | Added new dragging field. | |
15053 | (mouseDragged): Initialized dragging field. | |
15054 | (isDragging): New function. | |
15055 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
15056 | (focusGained): Marked as not implemented. | |
15057 | (focusLost): Likewise. | |
15058 | ||
15059 | 2006-06-16 Kyle Galloway <kgallowa@redhat.com> | |
15060 | ||
15061 | * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: | |
15062 | Added check for null ThreadId to avoid null pointer | |
15063 | exception. | |
15064 | ||
15065 | 2006-06-16 David Gilbert <david.gilbert@object-refinery.com> | |
15066 | ||
15067 | * javax/swing/DefaultComboBoxModel.java | |
15068 | (removeElementAt): Set new selected item by calling setSelectedItem(). | |
15069 | ||
15070 | 2006-06-16 David Gilbert <david.gilbert@object-refinery.com> | |
15071 | ||
15072 | * javax/swing/DefaultButtonModel.java | |
15073 | (setSelected): Use 'this', not null, for the item in the ItemEvent. | |
15074 | ||
15075 | 2006-06-16 David Gilbert <david.gilbert@object-refinery.com> | |
15076 | ||
15077 | * javax/swing/event/ListDataEvent.java: updated API docs, plus | |
15078 | (ListDataEvent): Handle case where index0 > index1, | |
15079 | (toString): Implemented. | |
15080 | ||
15081 | 2006-06-16 Robert Schuster <robertschuster@fsfe.org> | |
15082 | ||
15083 | * javax/swing/plaf/metal/MetalMenuBarUI.java: | |
15084 | (update): Added subexpression to if-statement. | |
15085 | ||
15086 | 2006-06-16 Robert Schuster <robertschuster@fsfe.org> | |
15087 | ||
15088 | * javax/swing/plaf/basic/BasicRadioButtonUI.java: | |
15089 | (installDefaults): Removed unneccessary code. | |
15090 | (paint): Removed complex if-cascade, revert to default icon if | |
15091 | icon property is not set. | |
15092 | (getPreferredSize): New method. | |
15093 | ||
15094 | 2006-06-16 Roman Kennke <kennke@aicas.com> | |
15095 | ||
15096 | PR 28027 | |
15097 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
15098 | (drawImage): Don't use setClip() but instead clipRect() to | |
15099 | intersect the current clip with a new one. | |
15100 | ||
97b8365c TT |
15101 | 2006-06-15 Tom Tromey <tromey@redhat.com> |
15102 | ||
15103 | * scripts/sanitize-jsr166: New file. | |
15104 | * external/jsr166/IMPORTING: New file. | |
15105 | * vm/reference/sun/reflect/Reflection.java: New file. | |
15106 | * vm/reference/gnu/classpath/Unsafe.java: Moved... | |
15107 | * vm/reference/sun/misc/Unsafe.java: ...here. | |
15108 | ||
ac1ed908 MW |
15109 | 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com> |
15110 | ||
15111 | * configure.ac: Rename appletviewer to gappletviewer, jarsigner to | |
15112 | gjarsigner and keytool to gkeytool. | |
15113 | * doc/tools.texinfo: Add note about tool exectable names. | |
15114 | * tools/Makefile.am: Rename appletviewer to gappletviewer, | |
15115 | jarsigner to gjarsigner and keytool to gkeytool. | |
15116 | * tools/appletviewer.in: Rename ... | |
15117 | * tools/gappletviewer.in: New file. | |
15118 | * tools/jarsigner.in: Rename ... | |
15119 | * tools/gjarsigner.in: New file. | |
15120 | * tools/keytool.in: Rename ... | |
15121 | * tools/gkeytool.in: New file. | |
15122 | * tools/toolwrapper.c: Simplify TOOLS_ZIP macro. | |
15123 | ||
15124 | 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
15125 | ||
15126 | * javax/management/AttributeList.java: | |
15127 | Add serialization UID. | |
15128 | * javax/management/DynamicMBean.java: | |
15129 | New file. | |
15130 | * javax/management/JMRuntimeException.java: | |
15131 | Add serialization UID and correct name | |
15132 | of serialized field. | |
15133 | * javax/management/MBeanInfo.java: New file. | |
15134 | ||
15135 | 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
15136 | ||
15137 | * javax/management/AttributeList.java, | |
15138 | * javax/management/JMRuntimeException.java, | |
15139 | * javax/management/RuntimeOperationsException.java: | |
15140 | New files. | |
15141 | ||
15142 | 2006-06-15 Lillian Angel <langel@redhat.com> | |
15143 | ||
15144 | * java/awt/font/TextLayout.java: | |
15145 | DEFAULT_CARET_POLICY changed to be public static final. | |
15146 | ||
15147 | 2006-06-15 Tania Bento <tbento@redhat.com> | |
15148 | ||
15149 | * javax/swing/plaf/metal/MetalScrollButton.java | |
15150 | (MetalScrollButton): Should set 'focusable' to false. | |
15151 | ||
15152 | 2006-06-15 Tania Bento <tbento@redhat.com> | |
15153 | ||
15154 | * javax/swing/plaf/basic/BasicArrowButton.java | |
15155 | (BasicArrowButton): Should set 'focusable' to false. | |
15156 | (BasicArrowButton): Should set 'focusable' to false. | |
15157 | ||
15158 | 2006-06-15 Mark Wielaard <mark@klomp.org> | |
15159 | ||
15160 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
15161 | (getGraphicsConfiguration): Return default screen device. | |
15162 | * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component): | |
15163 | New field. | |
15164 | (GtkVolatileImage): Record initiating component. | |
15165 | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java | |
15166 | (getDeviceConfiguration): Return configuration of image component. | |
15167 | ||
15168 | 2006-06-15 Mark Wielaard <mark@klomp.org> | |
15169 | ||
15170 | * java/awt/geom/GeneralPath.java (closePath): Return if path already | |
15171 | closed. | |
15172 | ||
15173 | 2006-06-15 Mark Wielaard <mark@klomp.org> | |
15174 | ||
15175 | * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator | |
15176 | with null argument. | |
15177 | ||
15178 | 2006-06-15 Kyle Galloway <kgallowa@redhat.com> | |
15179 | ||
15180 | * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java | |
15181 | (matches): Added explicit brackets to return statement. | |
15182 | ||
15183 | 2006-06-15 Tania Bento <tbento@redhat.com> | |
15184 | ||
15185 | * javax/swing/JRadioButtonMenuItem.java | |
15186 | (JRadioButtonMenuItem): Should set 'focusable' to false. | |
15187 | ||
15188 | 2006-06-15 Tania Bento <tbento@redhat.com> | |
15189 | ||
15190 | * javax/swing/JCheckBoxMenuItem.java | |
15191 | (JCheckBoxMenuItem): Should set 'focusable' to false. | |
15192 | ||
15193 | 2006-06-15 Tania Bento <tbento@redhat.com> | |
15194 | ||
15195 | * javax/swing/AbstractButton.java: | |
15196 | (AbstractButton): 'Focusable' should be set to true and not false. | |
15197 | ||
15198 | 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
15199 | ||
15200 | * java/lang/management/ManagementFactory.java: | |
15201 | Add private constructor to prevent instance creation. | |
15202 | * java/lang/management/ManagementPermission.java: | |
15203 | Make final. | |
15204 | ||
15205 | 2006-06-15 Francis Kung <fkung@redhat.com> | |
15206 | ||
15207 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
15208 | (BasicArrowButton): move client property for not triggering out | |
15209 | of consturctor | |
15210 | * javax/swing/plaf/basic/BasicComboBoxUI.java: | |
15211 | (configureArrowButton): set client property for not triggering | |
15212 | (installUI): set client property for not triggering | |
15213 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
15214 | (PopupHelper.mousePressed): check client property for triggering | |
15215 | ||
15216 | 2006-06-15 Roman Kennke <kennke@aicas.com> | |
15217 | ||
15218 | PR 28037 | |
15219 | * javax/swing/RepaintManager.java | |
15220 | (blitBuffer): Substract coordinates the other way around. | |
15221 | ||
15222 | 2006-06-15 Roman Kennke <kennke@aicas.com> | |
15223 | ||
15224 | PR 28027 | |
15225 | * javax/swing/JComponent.java | |
15226 | (paintImmediately2): Only paint component without double buffering | |
15227 | when all of it's parents have also double buffering disabled. | |
15228 | (isPaintingDoubleBuffered): New helper method. | |
15229 | ||
15230 | 2006-06-15 David Gilbert <david.gilbert@object-refinery.com> | |
15231 | ||
15232 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
15233 | (draw(Shape)): Pass null transform to getPathIterator(), | |
15234 | (getClip): Likewise, | |
15235 | * gnu/java/print/PostscriptGraphics2D.java | |
15236 | (drawStringShape): Pass null transform to getPathIterator(), | |
15237 | (writeShape): Likewise, | |
15238 | * java/awt/Shape.java: Small updates to API docs. | |
15239 | ||
97b8365c TT |
15240 | 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org> |
15241 | ||
15242 | * javax/naming/InitialContext.java: | |
15243 | (list(javax.naming.Name)): Fixed generic type. | |
15244 | (list(String)): Likewise. | |
15245 | (listBindings(javax.naming.Name)): Likewise. | |
15246 | (listBindings(String)): Likewise. | |
15247 | ||
ac1ed908 MW |
15248 | 2006-06-14 Roman Kennke <kennke@aicas.com> |
15249 | ||
15250 | * javax/swing/plaf/basic/BasicComboBoxUI.java | |
15251 | (getAccessibleChildrenCount): Implemented. | |
15252 | (getAccessibleChild): Implemented. | |
15253 | (isNavigationKey): Implemented. | |
15254 | (KeyHandler.keyPressed): Implemented. | |
15255 | ||
15256 | 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
15257 | ||
15258 | * java/lang/management/ManagementPermission.java: | |
15259 | Added serialization UID. | |
15260 | * javax/management/Attribute.java: Likewise. | |
15261 | * javax/management/MBeanException.java, | |
15262 | * javax/management/ReflectionException.java: | |
15263 | Added serialization UID and changed to extend | |
15264 | javax.management.JMException. | |
15265 | ||
15266 | 2006-06-14 Lillian Angel <langel@redhat.com> | |
15267 | ||
15268 | * java/awt/Component.java | |
15269 | (ignoreOldMouseEvents): Made static. | |
15270 | (translateEvent): Made static. | |
15271 | * java/awt/TextComponent.java | |
15272 | (ignoreOldMouseEvents): Made static. | |
15273 | ||
15274 | 2006-06-14 Mark Wielaard <mark@klomp.org> | |
15275 | ||
15276 | * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and | |
15277 | call super. | |
15278 | (drawRect): Likewise. | |
15279 | (fillRect): Likewise. | |
15280 | ||
15281 | 2006-06-14 Lillian Angel <langel@redhat.com> | |
15282 | ||
15283 | * java/awt/Component.java | |
15284 | (ignoreOldMouseEvents): New helper function. | |
15285 | (translateEvent): Changed to be non-static and use new helper. | |
15286 | * java/awt/TextComponent.java | |
15287 | (ignoreOldMouseEvents): New helper function. | |
15288 | ||
15289 | 2006-06-14 Roman Kennke <kennke@aicas.com> | |
15290 | ||
15291 | * javax/swing/RepaintManager.java | |
15292 | (MERGE_REGIONS): New constant flag. | |
15293 | (commitBuffer): Exclude the merging of regions by default. This | |
15294 | was causing painting artifacts in some applications, especially | |
15295 | when different areas of the GUI are updated synchronously. | |
15296 | ||
15297 | 2006-06-14 Roman Kennke <kennke@aicas.com> | |
15298 | ||
15299 | * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java: | |
15300 | New file. This is a benchmark for AWT 1.1 style graphics operations. | |
15301 | * examples/gnu/classpath/examples/awt/palme.gif: New file. | |
15302 | * examples/gnu/classpath/examples/awt/aicas.gif: New file. | |
15303 | ||
15304 | 2006-06-14 Tom Tromey <tromey@redhat.com> | |
15305 | ||
15306 | * java/io/File.java (getParent): Javadoc fix. | |
15307 | ||
15308 | 2006-06-14 Tom Tromey <tromey@redhat.com> | |
15309 | ||
15310 | * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own | |
15311 | jar. | |
15312 | * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll | |
15313 | when index entry does not exist. | |
15314 | ||
15315 | 2006-06-14 Tania Bento <tbento@redhat.com> | |
15316 | ||
15317 | * javax/swing/AbstractButton.java | |
15318 | (AbstractButton): Set focusable to false, not true. | |
15319 | ||
15320 | 2006-06-14 Tania Bento <tbento@redhat.com> | |
15321 | ||
15322 | * javax/swing/JMenuItem.java | |
15323 | (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING. | |
15324 | ||
15325 | 2006-06-14 Tania Bento <tbento@redhat.com> | |
15326 | ||
15327 | * javax/swing/JCheckBoxMenuItem.java | |
15328 | (JCheckBoxMenuItem): Added check to set the selected state. | |
15329 | ||
15330 | 2006-06-14 Roman Kennke <kennke@aicas.com> | |
15331 | ||
15332 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
15333 | (cairoDrawLine): New native method. | |
15334 | (cairoDrawRect): New native method. | |
15335 | (cairoFillRect): New native method. | |
15336 | (drawLine): Use special native method. | |
15337 | (drawRect): Use special native method. | |
15338 | (fillRect): Use special native method. | |
15339 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
15340 | (cairoDrawLine): New native method. | |
15341 | (cairoDrawRect): New native method. | |
15342 | (cairoFillRect): New native method. | |
15343 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. | |
15344 | ||
15345 | 2006-06-14 Mark Wielaard <mark@klomp.org> | |
15346 | ||
15347 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c | |
15348 | (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array | |
15349 | cannot be allocated. | |
15350 | ||
15351 | 2006-06-14 Tom Tromey <tromey@redhat.com> | |
15352 | ||
15353 | PR java/28024: | |
15354 | * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...). | |
15355 | * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...). | |
15356 | ||
15357 | 2006-06-14 Roman Kennke <kennke@aicas.com> | |
15358 | ||
15359 | * javax/swing/JComponent.java | |
15360 | (isRepainting): New flag. | |
15361 | (paintImmediately2): Set isRepainting flag. | |
15362 | (getRoot): Removed obsolete method. | |
15363 | (paintDoubleBuffered): Differenciate between paint calls from | |
15364 | RepaintManager and from AWT refresh. Call | |
15365 | RepaintManager.commitBuffer with this and local coordinates. | |
15366 | (findOpaqueParent): Stop searching at heavyweight component. These | |
15367 | are always opaque. | |
15368 | (paintChildrenOptimized): Don't paint heavyweight children. These | |
15369 | should care for themselves. | |
15370 | (paintChildrenWithOverlap): Don't paint heavyweight children. These | |
15371 | should care for themselves. | |
15372 | * javax/swing/RepaintManager.java | |
15373 | (getOffscreenBuffer): Associate offscreen buffer with toplevel | |
15374 | windows only. | |
15375 | (getVolatileOffscreenBuffer): Associate offscreen buffer with | |
15376 | toplevel windows only. | |
15377 | (getRoot): Removed obsolete method. | |
15378 | (commitBuffer): Blit buffer on nearest heavyweight. | |
15379 | (blitBuffer): New helper method. | |
15380 | (getHeavyweightParent): New helper method. | |
15381 | (commitRemainingBuffers): Call blitBuffer instead of commitBuffer. | |
15382 | * javax/swing/SwingUtilities.java | |
15383 | (convertRectangleToAncestor): New helper method. | |
15384 | ||
15385 | 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au> | |
15386 | ||
15387 | * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo. | |
15388 | Condition all trace/debug code based on Configuration.DEBUG. | |
15389 | Use logger instead of STDOUT and ot STDERR. | |
15390 | ||
15391 | 2006-06-13 Lillian Angel <langel@redhat.com> | |
15392 | ||
15393 | * native/plugin/gcjwebplugin.cc | |
15394 | (NP_Initialize): Removed code to create whitelist file. | |
15395 | (GCJ_New): Added code to create whitelist file. | |
15396 | (plugin_user_trusts_documentbase): Fixed error message. | |
15397 | ||
15398 | 2006-06-13 David Gilbert <david.gilbert@object-refinery.com> | |
15399 | ||
15400 | * javax/swing/plaf/metal/MetalIconFactory.java | |
15401 | (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to | |
15402 | prevent overwriting border, | |
15403 | (VerticalSliderThumbIcon.gradientMask): Likewise. | |
15404 | ||
15405 | 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
15406 | ||
15407 | * javax/management/AttributeNotFoundException.java, | |
15408 | * javax/management/InvalidAttributeValueException.java, | |
15409 | * javax/management/JMException.java, | |
15410 | * javax/management/MBeanException.java, | |
15411 | * javax/management/OperationsException.java, | |
15412 | * javax/management/ReflectionException.java: | |
15413 | New files. | |
15414 | ||
15415 | 2006-06-13 Roman Kennke <kennke@aicas.com> | |
15416 | ||
15417 | * java/awt/Component.java | |
15418 | (dispatchEvent): Handle events even when consumed (this might be | |
15419 | picked up later in the dispatching chain). | |
15420 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
15421 | (PopupHelper.mousePressed): Don't consume event. Only close popup | |
15422 | when target component isn't flagged as DONT_CANCEL_POPUP. | |
15423 | (DONT_CANCEL_POPUP): New package private constant for flagging | |
15424 | special components that don't trigger popup closing. | |
15425 | * javax/swing/plaf/basic/BasicArrowButton.java | |
15426 | (BasicArrowButton): Set client property for not triggering closing | |
15427 | of popups. | |
15428 | ||
15429 | 2006-06-13 Lillian Angel <langel@redhat.com> | |
15430 | ||
15431 | * java/awt/image/PixelGrabber.java | |
15432 | (PixelGrabber): Added to API documentation. | |
15433 | ||
15434 | 2006-06-13 Keith Seitz <keiths@redhat.com> | |
15435 | ||
15436 | From Kyle Galloway <kgallowa@redhat.com>: | |
15437 | * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java | |
15438 | (ExceptionOnlyFilter): Allow null refId. | |
15439 | ||
15440 | * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for | |
15441 | compatibility with filters. | |
15442 | (getParameter): Modified to allow access to above. | |
15443 | ||
15444 | 2006-06-13 Sven de Marothy <sven@physto.se> | |
15445 | ||
15446 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
15447 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
15448 | (create): Use stride in ints. | |
15449 | ||
15450 | 2006-06-13 Keith Seitz <keiths@redhat.com> | |
15451 | ||
15452 | From Kyle Galloway <kgallowa@redhat.com>: | |
15453 | * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file. | |
15454 | ||
15455 | 2006-06-13 David Gilbert <david.gilbert@object-refinery.com> | |
15456 | ||
15457 | * javax/swing/plaf/basic/BasicSliderUI.java | |
15458 | (calculateThumbSize): Removed unnecessary code, | |
15459 | (calculateThumbLocation): Shift position by one, | |
15460 | (calculateTickRect): Shift position by one when ticks are displayed, | |
15461 | (calculateLabelRect): Calculate rect differently according to whether | |
15462 | or not the labels are visible, | |
15463 | (paintTrack): Shift track down one pixel. | |
15464 | ||
15465 | 2006-06-13 Lillian Angel <langel@redhat.com> | |
15466 | ||
15467 | * java/awt/image/PixelGrabber.java | |
15468 | (PixelGrabber): Removed check to throw exception. JDK does | |
15469 | not do this. | |
15470 | (startGrabbing): Removed line to print stacktrace. | |
15471 | ||
15472 | 2006-06-13 Mark Wielaard <mark@klomp.org> | |
15473 | ||
15474 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't | |
15475 | allocate unused AffineTransform. Add comment about conversion to | |
15476 | BufferedImage. | |
15477 | * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage): | |
15478 | Recognize identity transform as "easy". Always convert to | |
15479 | BufferedImage before calling super. | |
15480 | ||
15481 | 2006-06-13 Roman Kennke <kennke@aicas.com> | |
15482 | ||
15483 | * java/awt/Component.java | |
15484 | (getGraphics): Translate child graphics correctly. | |
15485 | (dispatchEvent): Only dispatch event if it hasn't been consumed | |
15486 | yet by the global dispatcher. | |
15487 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
15488 | Added some API docs. | |
15489 | (PopupHelper.mousePressed): Consume the event after closing | |
15490 | opened menus. | |
15491 | ||
15492 | 2006-06-13 David Gilbert <david.gilbert@object-refinery.com> | |
15493 | ||
15494 | * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting | |
15495 | changes only, | |
15496 | * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise, | |
15497 | * javax/swing/plaf/basic/BasicComboPopup.java: Likewise, | |
15498 | * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise, | |
15499 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise, | |
15500 | * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise, | |
15501 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise, | |
15502 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise, | |
15503 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise, | |
15504 | * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise, | |
15505 | * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise, | |
15506 | * javax/swing/plaf/basic/BasicSliderUI.java: Likewise, | |
15507 | * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise, | |
15508 | * javax/swing/plaf/basic/BasicTableUI.java: Likewise, | |
15509 | * javax/swing/plaf/basic/BasicTextUI.java: Likewise, | |
15510 | * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise, | |
15511 | * javax/swing/plaf/basic/BasicTreeUI.java: Likewise. | |
15512 | ||
15513 | 2006-06-12 Sven de Marothy <sven@physto.se> | |
15514 | ||
15515 | * java/awt/font/LineBreakMeasurer.java): Implement. | |
15516 | ||
15517 | 2006-06-12 Keith Seitz <keiths@redhat.com> | |
15518 | ||
15519 | From Kyle Galloway <kgallowa@redhat.com>: | |
15520 | * gnu/classpath/jdwp/event/SingleStepEvent.java: New file. | |
15521 | ||
15522 | 2006-06-12 Keith Seitz <keiths@redhat.com> | |
15523 | ||
15524 | From Kyle Galloway <kgallowa@redhat.com>: | |
15525 | * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file. | |
15526 | ||
15527 | * gnu/classpath/jdwp/event/MethodExitEvent.java: New file. | |
15528 | ||
15529 | 2006-06-12 Roman Kennke <kennke@aicas.com> | |
15530 | ||
15531 | * javax/swing/JComponent.java | |
15532 | (paintDoubleBuffered): Correctly translate and clip the Graphics | |
15533 | instance. | |
15534 | (clipAndTranslateGraphics): New helper method. | |
15535 | ||
15536 | 2006-06-12 Roman Kennke <kennke@aicas.com> | |
15537 | ||
15538 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
15539 | (copy): Use getClip() to copy the clip. Make copied transform | |
15540 | null when original transform is null. Set clip here. | |
15541 | (setTransform): Correctly update the clip. | |
15542 | (setTransformImpl): New method. Updates the actual transform for | |
15543 | Cairo. | |
15544 | (transform): Correctly update the clip. | |
15545 | (translate): Correctly update the clip. | |
15546 | (clip): Handle null clip and argument correctly. | |
15547 | (clipRect): Avoid creating new Rectangle objects. | |
15548 | (getClip): Get the correct copy of the clip. | |
15549 | (setClip): Correctly handle null argument. | |
15550 | * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java | |
15551 | (CairoSurfaceGraphics): Don't set the clip here. The clip can either | |
15552 | be null or whatever has been set in copy(). | |
15553 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
15554 | (drawImage): Add translation to the image coordinates. | |
15555 | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java | |
15556 | (VolatileImageGraphics): Don't set clip here. The clip can either | |
15557 | be null or whatever has been set in copy(). | |
15558 | ||
15559 | 2006-06-12 Keith Seitz <keiths@redhat.com> | |
15560 | ||
15561 | From Kyle Galloway <kgallowa@redhat.com>: | |
15562 | * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java | |
15563 | (forCaught): Removed unused/unnecessary method. | |
15564 | (forUncaught): Likewise. | |
15565 | (matches): Implement. | |
15566 | ||
15567 | 2006-06-12 Keith Seitz <keiths@redhat.com> | |
15568 | ||
15569 | From Kyle Galloway <kgallowa@redhat.com>: | |
15570 | * gnu/classpath/jdwp/event/ExceptionEvent.java: New file. | |
15571 | ||
15572 | 2006-06-12 Keith Seitz <keiths@redhat.com> | |
15573 | ||
15574 | From Kyle Galloway <kgallowa@redhat.com>: | |
15575 | * gnu/classpath/jdwp/event/Event.java: Added constants for | |
15576 | type. | |
15577 | (getParameter): Changed parameter type from Class to int. | |
15578 | * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter): | |
15579 | Changed from Class type to constants. | |
15580 | * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter): | |
15581 | Likewise. | |
15582 | * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter): | |
15583 | Likewise. | |
15584 | * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter): | |
15585 | Likewise. | |
15586 | * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter): | |
15587 | Likewise. | |
15588 | * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter): | |
15589 | Likewise. | |
15590 | * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches): | |
15591 | Likewise. | |
15592 | * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches): | |
15593 | Likewise. | |
15594 | * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches): | |
15595 | Likewise. | |
15596 | * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches): | |
15597 | Likewise. | |
15598 | ||
15599 | 2006-06-12 Lillian Angel <langel@redhat.com> | |
15600 | ||
15601 | * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java | |
15602 | (StandaloneAppletWindow): Changed title of standalone window. | |
15603 | ||
15604 | 2006-06-12 Lillian Angel <langel@redhat.com> | |
15605 | ||
15606 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
15607 | (layoutContainer): Added missing selectedComponent assignment. | |
15608 | ||
15609 | 2006-06-12 Lillian Angel <langel@redhat.com> | |
15610 | ||
15611 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
15612 | (layoutContainer): Added check to prevent exception. | |
15613 | ||
15614 | 2006-06-12 Tom Tromey <tromey@redhat.com> | |
15615 | ||
15616 | * java/lang/Thread.java (uncaughtException): Javadoc fix. | |
15617 | ||
15618 | 2006-06-12 Mark Wielaard <mark@klomp.org> | |
15619 | ||
15620 | * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock): | |
15621 | New static field. | |
15622 | (ONE): Likewise. | |
15623 | (lock): New method. | |
15624 | (unlock): Likewise. | |
15625 | (draw): Use lock() and unlock(). | |
15626 | (fill): Likewise. | |
15627 | (drawRenderedImage): Likewise. | |
15628 | (drawImage): Likewise. | |
15629 | (drawGlyphVector): Likewise. | |
15630 | ||
15631 | 2006-06-12 Roman Kennke <kennke@aicas.com> | |
15632 | ||
15633 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
15634 | (drawPixels): Include alpha in parameter list. | |
15635 | (cairoFill): Include alpha in parameter list. | |
15636 | (setComposite): Don't modify the color. | |
15637 | (draw(Shape))): Use fill when the current composite has an alpha | |
15638 | of != 1.0, so that the stroked shaped will be composited. | |
15639 | (fill(Shape)): Call cairoFill() with alpha. | |
15640 | (drawImage): Call drawPixels or drawSurface with alpha. | |
15641 | (drawGlyphVector): When composite alpha is != 1.0, render the | |
15642 | outline using fill() to enable compositing for text. | |
15643 | (drawRaster): Call drawPixels with alpha. | |
15644 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
15645 | (nativeDrawSurface): Include alpha in parameter list. | |
15646 | (drawSurface): Include alpha in parameter list. Pass it to | |
15647 | nativeDrawSurface(). | |
15648 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h | |
15649 | * include/gnu_java_awt_peer_gtk_CairoSurface.h: | |
15650 | Regenerated. | |
15651 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
15652 | (drawPixels): Handle possible alpha for compositing. | |
15653 | (cairoFill): Likewise. | |
15654 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
15655 | (nativeDrawSurface): Handle possible alpha for compositing. | |
15656 | ||
15657 | 2006-06-12 Mark Wielaard <mark@klomp.org> | |
15658 | ||
15659 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage): | |
15660 | Notify data when completely done. Wait for worker thread to finish. | |
15661 | Rethrow any pending exceptions. | |
15662 | (exception): New field. | |
15663 | (run): Store pending exception. | |
15664 | ||
15665 | 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
15666 | ||
15667 | * java/lang/management/ManagementPermission.java: | |
15668 | New file. | |
15669 | ||
15670 | 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au> | |
15671 | ||
15672 | * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team". | |
15673 | ||
15674 | 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au> | |
15675 | ||
15676 | * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName): | |
15677 | Use String.charAt(). | |
15678 | ||
15679 | 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com> | |
15680 | ||
15681 | * doc/tools.texinfo | |
15682 | (Applet Tools): New chapter. | |
15683 | (appletviewer Tool): New section. | |
15684 | (gcjwebplugin): New section. | |
15685 | ||
15686 | 2006-06-11 Mark Wielaard <mark@klomp.org> | |
15687 | ||
15688 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage): | |
15689 | Takes GdkPixbufWriter. | |
15690 | (GdkPixbufWriter): Implements Runnable. | |
15691 | (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for | |
15692 | data processing. | |
15693 | (DATADONE): New static final field. | |
15694 | (data): New field. | |
15695 | (write(byte[])): New method. | |
15696 | (run): Likewise. | |
15697 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | |
15698 | (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState): | |
15699 | Get dataOutputWriteID from writeClass. | |
15700 | (stream_save_request): Change stream field to writer. | |
15701 | (save_to_stream): Remove FIXME, call writer. | |
15702 | (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): | |
15703 | Store writer. | |
15704 | ||
15705 | 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
15706 | ||
15707 | * NEWS: | |
15708 | Mention new VM interface and use of properties. | |
15709 | * doc/vmintegration.texinfo: | |
15710 | Update with new gnu.java.lang.management section. | |
15711 | * gnu/java/lang/management/RuntimeMXBeanImpl.java: | |
15712 | New file. | |
15713 | * java/lang/management/ManagementFactory.java: | |
15714 | (getRuntimeMXBean()): Implemented. | |
15715 | * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java: | |
15716 | New VM interface file. | |
15717 | ||
15718 | 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au> | |
15719 | ||
15720 | PR Classpath/26065 | |
15721 | * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/ | |
15722 | debug code based on Configuration.DEBUG. | |
15723 | Use logger instead of STDOUT and ot STDERR. | |
15724 | * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise. | |
15725 | * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise. | |
15726 | * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise. | |
15727 | * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise. | |
15728 | * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise. | |
15729 | * gnu/javax/crypto/prng/CSPRNG.java: Likewise. | |
15730 | * gnu/javax/crypto/pad/TBC.java: Likewise. | |
15731 | * gnu/javax/crypto/pad/PKCS7.java: Likewise. | |
15732 | * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise. | |
15733 | * gnu/javax/crypto/pad/BasePad.java: Likewise. | |
15734 | * gnu/javax/crypto/mac/OMAC.java: Likewise. | |
15735 | * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise. | |
15736 | * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise. | |
15737 | * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise. | |
15738 | * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise. | |
15739 | * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise. | |
15740 | * gnu/javax/crypto/keyring/Entry.java: Likewise. | |
15741 | * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise. | |
15742 | * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise. | |
15743 | * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise. | |
15744 | * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise. | |
15745 | * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise. | |
15746 | * gnu/javax/crypto/cipher/Twofish.java: Likewise. | |
15747 | * gnu/javax/crypto/cipher/Khazad.java: Likewise. | |
15748 | * gnu/javax/crypto/cipher/Rijndael.java: Likewise. | |
15749 | * gnu/javax/crypto/cipher/BaseCipher.java: Likewise. | |
15750 | * gnu/javax/crypto/cipher/Anubis.java: Likewise. | |
15751 | * gnu/java/security/Properties.java: Likewise. | |
15752 | * gnu/java/security/x509/X509CRLEntry.java: Likewise. | |
15753 | * gnu/java/security/x509/X509CRL.java: Likewise. | |
15754 | * gnu/java/security/x509/ext/Extension.java: Likewise. | |
15755 | * gnu/java/security/util/Prime2.java: Likewise. | |
15756 | * gnu/java/security/util/Base64.java: Likewise. | |
15757 | * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise. | |
15758 | * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise. | |
15759 | * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise. | |
15760 | * gnu/java/security/pkcs/SignerInfo.java: Likewise. | |
15761 | * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise. | |
15762 | * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise. | |
15763 | * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise. | |
15764 | * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise. | |
15765 | * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise. | |
15766 | * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise. | |
15767 | * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise. | |
15768 | * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise. | |
15769 | * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise. | |
15770 | * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise. | |
15771 | * gnu/java/security/hash/Whirlpool.java: Likewise. | |
15772 | ||
15773 | 2006-06-11 Mark Wielaard <mark@klomp.org> | |
15774 | ||
15775 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c | |
15776 | (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): | |
15777 | Remove unused variable glyph_index. | |
15778 | ||
15779 | 2006-06-11 Mark Wielaard <mark@klomp.org> | |
15780 | ||
15781 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): | |
15782 | Don't recurse, return false if not an BufferedImage and no image | |
15783 | source available. | |
15784 | * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add | |
15785 | end_gdk_drawing() to finally block. | |
15786 | (fill): Likewise. | |
15787 | (drawRenderedImage): Likewise. | |
15788 | (drawImage): Likewise. | |
15789 | (drawGlyphVector): Likewise. | |
15790 | ||
15791 | 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au> | |
15792 | ||
15793 | * doc/tools.texinfo: Added text for new -cacert command. | |
15794 | Re-structured sections. | |
15795 | * resource/gnu/classpath/tools/keytool/messages.properties: Added messages | |
15796 | for -cacert command. | |
15797 | * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant. | |
15798 | (_CACERT): Likewise. | |
15799 | (shutdownThread): New field. | |
15800 | (Main): Install shutdown thread. | |
15801 | (main): Uninstall shutdown thread. | |
15802 | (start): Handle new -cacert command. | |
15803 | (getParser): Likewise. | |
15804 | (teardown): Increased visibility. | |
15805 | (ShutdownHook): New inner class. | |
15806 | * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file. | |
15807 | ||
15808 | 2006-06-11 Sven de Marothy <sven@physto.se> | |
15809 | ||
15810 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java | |
15811 | (setupGlyphMetrics): New method. Add glyphmetrics caching. | |
15812 | (getOutline): Operate on the shape directly. | |
15813 | * gnu/java/awt/peer/gtk/GdkFontPeer.java | |
15814 | (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching. | |
15815 | * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h | |
15816 | (getGlyph renamed getGlyphs) | |
15817 | * java/awt/geom/AffineTransform.java | |
15818 | (getTranslateInstance): Set fields directly. | |
15819 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c | |
15820 | (getGlyphs): Get all glyph codes at once. | |
15821 | ||
15822 | 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au> | |
15823 | ||
15824 | PR Classpath/27853 | |
15825 | * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte. | |
15826 | ||
15827 | 2006-06-11 Sven de Marothy <sven@physto.se> | |
15828 | ||
15829 | * java/awt/font/TextLayout.java | |
15830 | (getLogicalHighlightShape): Add check. | |
15831 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java | |
15832 | (getLogicalBounds, getGlyphPositions): Cache bounds, positions. | |
15833 | ||
15834 | 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au> | |
15835 | ||
15836 | * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName): | |
15837 | Check that every component of 'cn' starts with a valid Java identifier char. | |
15838 | ||
15839 | 2006-06-10 Tom Tromey <tromey@redhat.com> | |
15840 | ||
15841 | * java/io/File.java (pathSeparator): Typo fix. | |
15842 | ||
15843 | 2006-06-10 Mark Wielaard <mark@klomp.org> | |
15844 | ||
15845 | * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t): | |
15846 | Removed. | |
15847 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
15848 | Mark all unused parameters. | |
15849 | (cp_gtk_get_cairo_t): Removed. | |
15850 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): | |
15851 | Don't mix declerations and statements. | |
15852 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: | |
15853 | Mark all unused parameters. | |
15854 | (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): | |
15855 | Get cairographics2d pointer directly. | |
15856 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c | |
15857 | (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout): | |
15858 | Use jlong to pass pointer. | |
15859 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: | |
15860 | Mark all unused parameters. | |
15861 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. | |
15862 | * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated. | |
15863 | * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated. | |
15864 | * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated. | |
15865 | * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated. | |
15866 | * include/java_io_VMFile.h: Regenerated. | |
15867 | ||
15868 | 2006-06-10 Roman Kennke <kennke@aicas.com> | |
15869 | ||
15870 | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java | |
15871 | (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect() | |
15872 | instead of setClip(), so that an already present clip is intersected | |
15873 | and not resetted. | |
15874 | ||
15875 | 2006-06-10 Mark Wielaard <mark@klomp.org> | |
15876 | ||
15877 | * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics): | |
15878 | Call getSize() to avoid accessor method. | |
15879 | ||
15880 | 2006-06-10 Mark Wielaard <mark@klomp.org> | |
15881 | ||
15882 | * javax/swing/text/html/HTMLDocument.java (addSpecialElement): | |
15883 | Qualify ElementSpec. | |
15884 | ||
15885 | 2006-06-10 Mark Wielaard <mark@klomp.org> | |
15886 | ||
15887 | * lib/.cvsignore: Add sun. | |
15888 | * lib/Makefile.am (dist-hook): Likewise. | |
15889 | ||
15890 | 2006-06-10 Roman Kennke <kennke@aicas.com> | |
15891 | ||
15892 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
15893 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
15894 | * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java | |
15895 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
15896 | * gnu/java/awt/peer/gtk/GtkVolatileImage.java | |
15897 | * native/jni/gtk-peer/cairographics2d.h | |
15898 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
15899 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
15900 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
15901 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: | |
15902 | Changed method signatures and calls to pass native pointers directly | |
15903 | into the JNI code, in order to avoid costly lookups on each | |
15904 | JNI call. | |
15905 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h, | |
15906 | * include/gnu_java_awt_peer_gtk_CairoSurface.h, | |
15907 | * include/gnu_java_awt_peer_gtk_ComponentGraphics.h, | |
15908 | * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: | |
15909 | Regenerated | |
15910 | ||
15911 | 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
15912 | ||
15913 | PR 27973 | |
15914 | * javax/swing/text/DefaultStyledDocument.java | |
15915 | (ElementBuffer.insertContentTag): | |
15916 | Do not recreate leaves and do not remove elements here. | |
15917 | ||
15918 | 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
15919 | ||
15920 | * javax/swing/text/html/HTMLDocument.java | |
15921 | (HTMLReader.HiddenAction): Implemented. | |
15922 | ||
15923 | 2006-06-10 Roman Kennke <kennke@aicas.com> | |
15924 | ||
15925 | * javax/swing/RepaintManager.java | |
15926 | (getVolatileOffscreenBuffer): Store the created buffer. | |
15927 | * javax/swing/JComponent.java | |
15928 | (paintDoubleBuffered): Try to use a volatile offscreen buffer | |
15929 | for better performance. | |
15930 | ||
15931 | 2006-06-10 Roman Kennke <kennke@aicas.com> | |
15932 | ||
15933 | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java | |
15934 | (VolatileImageGraphics(VolatileImageGraphics)): Initialize native | |
15935 | context correctly. | |
15936 | (getRealBounds): Overridden to return the correct bounds. | |
15937 | ||
15938 | 2006-06-10 Roman Kennke <kennke@aicas.com> | |
15939 | ||
15940 | * javax/swing/plaf/metal/MetalButtonUI.java | |
15941 | (update): Fixed to paint the gradient under the correct conditions. | |
15942 | (updateWidthGradient): Removed. | |
15943 | (isToolbarButton): New helper method. | |
15944 | (isDrawingGradient): New helper method. | |
15945 | ||
15946 | 2006-06-09 Roman Kennke <kennke@aicas.com> | |
15947 | ||
15948 | * javax/swing/JTabbedPane.java | |
15949 | (setSelectedIndex): Don't change the visibility of the components, | |
15950 | this is done by the UI class. | |
15951 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
15952 | (TabbedPaneLayout.layoutContainer): Change visibility of component | |
15953 | here, depending on the selected index. Only do this if the new | |
15954 | selected component is not null. Some programs seem to expect | |
15955 | this. | |
15956 | (visibleComponent): New field. | |
15957 | (getVisibleComponent): Changed to return visibleComponent field. | |
15958 | (setVisibleComponent): Changed to set the visibility of | |
15959 | the old and new visible component. | |
15960 | ||
15961 | 2006-06-09 Roman Kennke <kennke@aicas.com> | |
15962 | ||
15963 | * javax/swing/JComponent.java | |
15964 | (paintChildrenOptimized): Paint component with a new Graphics | |
15965 | object to protect the other painting code from modifications | |
15966 | done in that object, and avoid cleanup ops on possibly dispose()ed | |
15967 | Graphics object. | |
15968 | ||
15969 | 2006-06-09 Sven de Marothy <sven@physto.se> | |
15970 | ||
15971 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
15972 | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): | |
15973 | Use GTK locks while disposing (Xlib) surface. | |
15974 | ||
15975 | 2006-06-09 Tom Tromey <tromey@redhat.com> | |
15976 | ||
15977 | * lib/Makefile.am (install-data-local): Copy 'sun' files. | |
15978 | (uninstall-local): Delete 'sun' directory. | |
15979 | (glibj.zip): Include 'sun' classes. | |
15980 | (clean-local): Delete 'sun' directory. | |
15981 | * lib/gen-classlist.sh.in: Search 'sun' subdirectories. | |
15982 | ||
15983 | 2006-06-09 Roman Kennke <kennke@aicas.com> | |
15984 | ||
15985 | * gnu/java/awt/java2d/AbstractGraphics2D.java | |
15986 | (drawImage): Fixed scaling. | |
15987 | (fillShape): Removed offset handling. | |
15988 | (fillShapeImpl): Limit scanlining to device bounds. | |
15989 | (getSegments): Removed offset handling. | |
15990 | * gnu/java/awt/java2d/PolyEdge.java | |
15991 | (toString): Include isClip flag in output. | |
15992 | ||
15993 | 2006-06-08 Sven de Marothy <sven@physto.se> | |
15994 | ||
15995 | * java/awt/font/TextLayout.java | |
15996 | (getOutline): Allow null transform. | |
15997 | ||
15998 | 2006-06-08 Sven de Marothy <sven@physto.se> | |
15999 | ||
16000 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
16001 | (drawString): Use TextLayout instead of GlyphVector. | |
16002 | ||
16003 | 2006-06-08 Sven de Marothy <sven@physto.se> | |
16004 | ||
16005 | * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2. | |
16006 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java | |
16007 | New constructor for bidirectionality. | |
16008 | (getGlyphMetrics): Return whitespace glyphs. | |
16009 | (getLogicalBounds): Offset rectangles to correct positions. | |
16010 | * gnu/java/awt/peer/gtk/GdkFontPeer.java | |
16011 | (getBaselineFor): Default to ROMAN_BASELINE. | |
16012 | (GdkFontLineMetrics): Guess some values for underline and | |
16013 | strikethrough. | |
16014 | (layoutGlyphVector): Use bidirectionality. | |
16015 | * java/awt/font/TextLayout.java: Implement, mostly. | |
16016 | ||
16017 | 2006-06-09 Anthony Green <green@redhat.com> | |
16018 | ||
16019 | PR classpath/27888: | |
16020 | * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift. | |
16021 | * java/util/Collections.java (binarySearch): Use unsigned shift. | |
16022 | * java/util/Arrays.java (binarySearch): Use unsigned shift. | |
16023 | ||
16024 | 2006-06-09 Tom Tromey <tromey@redhat.com> | |
16025 | ||
16026 | * tools/.cvsignore: Added .deps. | |
16027 | ||
16028 | 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp> | |
16029 | ||
16030 | PR classpath/27966: | |
16031 | * gnu/javax/security/auth/login/ConfigFileParser.java | |
16032 | (validateClassName): Quote '.' in regexp. | |
16033 | ||
16034 | 2006-06-09 Tom Tromey <tromey@redhat.com> | |
16035 | ||
16036 | PR classpath/23863: | |
16037 | * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when | |
16038 | finished. | |
16039 | * native/fdlibm/mprec.c: New version from newlib. Commented out | |
16040 | some includes. Added <assert.h>. | |
16041 | (_reent, _Bigint): New defines. | |
16042 | (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise. | |
16043 | (__ULong, __Long): New types. | |
16044 | (_calloc_r): New function. | |
16045 | (Balloc): Dynamically add new _freelist entries as needed. | |
16046 | * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use | |
16047 | MAX_BIGNUMS to size _x[]. | |
16048 | (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed | |
16049 | _allocation_map, num. Added _max_k. | |
16050 | ||
16051 | 2006-06-09 Roman Kennke <kennke@aicas.com> | |
16052 | ||
16053 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
16054 | (drawGlyphVector): Added fallback for non-FreetypeGlyphVector | |
16055 | implementations. | |
16056 | ||
16057 | 2006-06-09 David Gilbert <david.gilbert@object-refinery.com> | |
16058 | ||
16059 | * java/awt/image/BufferedImage.java | |
16060 | (BufferedImage(int, int, int)): Added API docs, | |
16061 | (getProperty(String)): Return correct value for undefined properties, | |
16062 | (getPropertyNames()): Added comments and removed FIXME. | |
16063 | ||
16064 | 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com> | |
16065 | ||
16066 | * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro. | |
16067 | (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat. | |
16068 | ||
16069 | 2006-06-09 Francis Kung <fkung@redhat.com> | |
16070 | ||
16071 | * javax/swing/plaf/basic/BasicComboBoxRenderer.java: | |
16072 | (getPreferredSize): Return correct height for null or empty | |
16073 | items. | |
16074 | ||
16075 | 2006-06-09 David Gilbert <david.gilbert@object-refinery.com> | |
16076 | ||
16077 | * java/awt/datatransfer/DataFlavor.java | |
16078 | (readExternal): Mark as stub, | |
16079 | (writeExternal): Likewise, | |
16080 | * java/awt/dnd/DropTargetContext.java | |
16081 | (dropComplete): Mark as stub, | |
16082 | (acceptDrag): Likewise, | |
16083 | (rejectDrag): Likewise, | |
16084 | (acceptDrop): Likewise, | |
16085 | (rejectDrop): Likewise, | |
16086 | (getCurrentDataFlavors): Likewise, | |
16087 | (getTransferable): Likewise, | |
16088 | * java/awt/dnd/DropTargetDropEvent.java | |
16089 | (dropComplete): Mark as stub. | |
16090 | ||
16091 | 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
16092 | ||
16093 | * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java | |
16094 | (constructor): Do not lowercase the values. | |
16095 | * javax/swing/text/html/HTMLDocument.java | |
16096 | (HTMLReader.addSpecialElement): Implemented. | |
16097 | * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file. | |
16098 | ||
16099 | 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au> | |
16100 | ||
16101 | On behalf of Matthew Wringe <mwringe@redhat.com> | |
16102 | * gnu/java/security/Registry.java (ISO10126_PAD): New constant. | |
16103 | * gnu/javax/crypto/pad/ISO10126.java: New class. | |
16104 | * gnu/javax/crypto/pad/PadFactory.java (names): New field. | |
16105 | (getInstance): Added support for ISO-10126 scheme. | |
16106 | (getNames): Likewise. | |
16107 | Cache result for speed. | |
16108 | ||
16109 | 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au> | |
16110 | ||
16111 | * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more | |
16112 | flexible self-test by sub-classes. | |
16113 | (test1BlockSize): New method. | |
16114 | ||
16115 | 2006-06-09 David Gilbert <david.gilbert@object-refinery.com> | |
16116 | ||
16117 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
16118 | (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry, | |
16119 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
16120 | (installKeyboardActions): Implemented, | |
16121 | (uninstallKeyboardActions): Implemented, | |
16122 | (getInputMap): New method, | |
16123 | (getActionMap): New method, | |
16124 | (createActionMap): New method, | |
16125 | (installUI): Call installKeyboardActions(), | |
16126 | (uninstallUI): Call uninstallKeyboardActions(). | |
16127 | ||
16128 | 2006-06-09 David Gilbert <david.gilbert@object-refinery.com> | |
16129 | ||
16130 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
16131 | (getActionMap): Use correct key to store action map. | |
16132 | ||
16133 | 2006-06-09 Jeroen Frijters <jeroen@frijters.net> | |
16134 | ||
16135 | * gnu/java/awt/font/opentype/truetype/VirtualMachine.java | |
16136 | (executeInstruction): Added NOT support. | |
16137 | ||
16138 | 2006-06-09 Jeroen Frijters <jeroen@frijters.net> | |
16139 | ||
16140 | * sun/reflect/annotation/AnnotationInvocationHandler.java: | |
16141 | New file. | |
16142 | ||
16143 | 2006-06-08 Tom Tromey <tromey@redhat.com> | |
16144 | ||
16145 | * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot | |
16146 | of 'types'. | |
16147 | ||
16148 | 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
16149 | ||
16150 | * java/lang/management/RuntimeMXBean.java: | |
16151 | New file. | |
16152 | ||
16153 | 2006-06-08 Lillian Angel <langel@redhat.com> | |
16154 | ||
16155 | * native/plugin/gcjwebplugin.cc: | |
16156 | (NP_Shutdown): Freed whitelist_filename. | |
16157 | ||
16158 | 2006-06-08 Lillian Angel <langel@redhat.com> | |
16159 | ||
16160 | * native/plugin/Makefile.am: | |
16161 | Removed DATA_DIRECTORY. | |
16162 | * native/plugin/gcjwebplugin.cc: | |
16163 | Added new global fields for whitelist_file | |
16164 | and data_directory. Removed WHITELIST_FILE. | |
16165 | (NP_Initialize): Initialized new fields. Also, | |
16166 | Changed to use new fields. | |
16167 | (NP_Shutdown): Freed data_directory. | |
16168 | (GCJ_New): Changed to use new fields. | |
16169 | (plugin_ask_user_about_documentbase): Likewise. | |
16170 | ||
16171 | 2006-06-08 Lillian Angel <langel@redhat.com> | |
16172 | ||
16173 | * native/plugin/Makefile.am: | |
16174 | Changed DATA_DIRECTORY to be ~/.gcjwebplugin. | |
16175 | * native/plugin/gcjwebplugin.cc: | |
16176 | Changed all instances of PLUGIN_DATA_DIRECTORY | |
16177 | to DATA_DIRECTORY. | |
16178 | ||
16179 | 2006-06-08 Roman Kennke <kennke@aicas.com> | |
16180 | ||
16181 | * java/awt/LightweightDispatcher.java | |
16182 | (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint() | |
16183 | with convertPointToChild(). This is more efficient and avoids | |
16184 | problems with getLocationOnScreen(). | |
16185 | (findTarget): Check for component beeing showing() early. | |
16186 | Simplified AWTUtilities.convertPoint() to a simple substraction | |
16187 | operation. | |
16188 | (convertPointToChild): New helper method. | |
16189 | ||
16190 | 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com> | |
16191 | ||
16192 | * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update | |
16193 | message. | |
16194 | ||
16195 | 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com> | |
16196 | Lillian Angel <langel@redhat.com> | |
16197 | ||
16198 | * native/plugin/gcjwebplugin.cc | |
16199 | (NP_Shutdown): Added code to free plugin mutex and whitelist file. | |
16200 | Also, reset initialized field. | |
16201 | ||
16202 | 2006-06-08 Lillian Angel <langel@redhat.com> | |
16203 | ||
16204 | * javax/swing/plaf/basic/BasicProgressBarUI.java | |
16205 | (paintString): Fixed to paint string at the correct location. | |
16206 | ||
16207 | 2006-06-08 Roman Kennke <kennke@aicas.com> | |
16208 | ||
16209 | * javax/swing/plaf/basic/BasicTreeUI.java | |
16210 | (createDefaultActions): Added new actions. | |
16211 | (TreePageAction.TreePageAction): Set action name. | |
16212 | (TreePageAction.actionPerformed): Implemented. | |
16213 | (TreePageAction.isEnabled): Implemented. | |
16214 | (TreeToggleAction.TreePageAction): Set action name. | |
16215 | (TreeToggleAction.actionPerformed): Implemented. | |
16216 | (TreeToggleAction.isEnabled): Implemented. | |
16217 | (TreeTraverseAction.TreeTraverseAction): Set action name. | |
16218 | (TreeTraverseAction.actionPerformed): Use action name as command. | |
16219 | (TreeTraverseAction.isEnabled): Implemented. | |
16220 | ||
16221 | 2006-06-08 Roman Kennke <kennke@aicas.com> | |
16222 | ||
16223 | * javax/swing/plaf/basic/BasicTreeUI.java | |
16224 | (installKeyboardActions): Rewritten to correctly install the UI | |
16225 | input and action maps. | |
16226 | (getActionMap): New helper method. | |
16227 | (createDefaultActionMap): New helper method. | |
16228 | (TreeHomeAction.TreeHomeAction()): Implemented. | |
16229 | (TreeHomeAction.actionPerformed): Implemented. | |
16230 | (TreeHomeAction.isEnabled): Implemented. | |
16231 | (TreeIncrementAction.TreeIncrementAction()): Implemented. | |
16232 | (TreeIncrementAction.actionPerformed): Use action name as command. | |
16233 | (TreeIncrementAction.isEnabled): Implemented. | |
16234 | ||
16235 | 2006-06-08 Mark Wielaard <mark@klomp.org> | |
16236 | ||
16237 | PR 27917 | |
16238 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c | |
16239 | (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf | |
16240 | and unref loader. | |
16241 | ||
16242 | 2006-06-08 Mark Wielaard <mark@klomp.org> | |
16243 | ||
16244 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c | |
16245 | (attrs): Removed unused static. | |
16246 | ||
16247 | 2006-06-08 David Gilbert <david.gilbert@object-refinery.com> | |
16248 | ||
16249 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
16250 | (getInputMap): New method, | |
16251 | (getActionMap): New method, | |
16252 | (createActionMap): New method, | |
16253 | (installKeyboardActions): Implemented, | |
16254 | (uninstallKeyboardActions): Implemented. | |
16255 | ||
16256 | 2006-06-08 Robert Schuster <robertschuster@fsfe.org> | |
16257 | ||
16258 | * javax/swing/border/MatteBorder.java: | |
16259 | (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception | |
16260 | throwing. | |
16261 | (paintBorder): Added if-statement to abort painting early. | |
16262 | ||
16263 | 2006-06-08 Robert Schuster <robertschuster@fsfe.org> | |
16264 | ||
16265 | Fixes PR27864. | |
16266 | * gnu/xml/dom/DomIterator.java: | |
16267 | (successor): Changed expression. | |
16268 | ||
16269 | 2006-06-08 Sven de Marothy <sven@physto.se> | |
16270 | ||
16271 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java | |
16272 | (defaultLayout): Do kerning. | |
16273 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c | |
16274 | (getKerning): Correct class name, removed unused variable. | |
16275 | ||
16276 | 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com> | |
16277 | ||
16278 | * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load | |
16279 | libqtpeer.so unconditionally. | |
16280 | ||
16281 | 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
16282 | ||
16283 | * java/util/InputMismatchException.java: | |
16284 | Documented. | |
ac1ed908 MW |
16285 | |
16286 | 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch> | |
16287 | ||
16288 | * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS. | |
16289 | ||
16290 | 2006-06-07 Roman Kennke <kennke@aicas.com> | |
16291 | ||
16292 | * javax/swing/plaf/basic/BasicTreeUI.java | |
16293 | (completeUIUninstall): Implemented. | |
16294 | (uninstallUI): Moved some bits to completeUIUninstall(). Complete | |
16295 | editing before uninstalling anything. | |
16296 | (isToggleEvent): Implemented. | |
16297 | (selectPathForEvent): Make use of isToggleEvent(). | |
16298 | (ComponentHandler.componentMoved): Implemented. | |
16299 | (ComponentHandler.startTimer): Implemented. | |
16300 | (ComponentHandler.getScrollPane): Implemented. | |
16301 | (ComponentHandler.actionPerformed): Implemented. | |
16302 | ||
16303 | 2006-06-07 Francis Kung <fkung@redhat.com> | |
16304 | ||
16305 | * javax/swing/JMenuBar.java: | |
16306 | (getSubElements): Do not return null values. | |
16307 | ||
16308 | 2006-06-07 Roman Kennke <kennke@aicas.com> | |
16309 | ||
16310 | PR 27902 | |
16311 | * gnu/regexp/BacktrackStack.java | |
16312 | * gnu/regexp/CharIndexed.java | |
16313 | * gnu/regexp/CharIndexedCharArray.java | |
16314 | * gnu/regexp/CharIndexedCharSequence.java | |
16315 | * gnu/regexp/CharIndexedInputStream.java | |
16316 | * gnu/regexp/CharIndexedString.java | |
16317 | * gnu/regexp/CharIndexedStringBuffer.java | |
16318 | * gnu/regexp/RE.java | |
16319 | * gnu/regexp/REException.java | |
16320 | * gnu/regexp/REFilterInputStream.java | |
16321 | * gnu/regexp/REMatch.java | |
16322 | * gnu/regexp/REMatchEnumeration.java | |
16323 | * gnu/regexp/RESyntax.java | |
16324 | * gnu/regexp/REToken.java | |
16325 | * gnu/regexp/RETokenAny.java | |
16326 | * gnu/regexp/RETokenBackRef.java | |
16327 | * gnu/regexp/RETokenChar.java | |
16328 | * gnu/regexp/RETokenEnd.java | |
16329 | * gnu/regexp/RETokenEndOfPreviousMatch.java | |
16330 | * gnu/regexp/RETokenEndSub.java | |
16331 | * gnu/regexp/RETokenIndependent.java | |
16332 | * gnu/regexp/RETokenLookAhead.java | |
16333 | * gnu/regexp/RETokenLookBehind.java | |
16334 | * gnu/regexp/RETokenNamedProperty.java | |
16335 | * gnu/regexp/RETokenOneOf.java | |
16336 | * gnu/regexp/RETokenPOSIX.java | |
16337 | * gnu/regexp/RETokenRange.java | |
16338 | * gnu/regexp/RETokenRepeated.java | |
16339 | * gnu/regexp/RETokenStart.java | |
16340 | * gnu/regexp/RETokenWordBoundary.java | |
16341 | * gnu/regexp/UncheckedRE.java | |
16342 | * gnu/java/util/regex/BacktrackStack.java | |
16343 | * gnu/java/util/regex/CharIndexed.java | |
16344 | * gnu/java/util/regex/CharIndexedCharArray.java | |
16345 | * gnu/java/util/regex/CharIndexedCharSequence.java | |
16346 | * gnu/java/util/regex/CharIndexedInputStream.java | |
16347 | * gnu/java/util/regex/CharIndexedString.java | |
16348 | * gnu/java/util/regex/CharIndexedStringBuffer.java | |
16349 | * gnu/java/util/regex/RE.java | |
16350 | * gnu/java/util/regex/REException.java | |
16351 | * gnu/java/util/regex/REFilterInputStream.java | |
16352 | * gnu/java/util/regex/REMatch.java | |
16353 | * gnu/java/util/regex/REMatchEnumeration.java | |
16354 | * gnu/java/util/regex/RESyntax.java | |
16355 | * gnu/java/util/regex/REToken.java | |
16356 | * gnu/java/util/regex/RETokenAny.java | |
16357 | * gnu/java/util/regex/RETokenBackRef.java | |
16358 | * gnu/java/util/regex/RETokenChar.java | |
16359 | * gnu/java/util/regex/RETokenEnd.java | |
16360 | * gnu/java/util/regex/RETokenEndOfPreviousMatch.java | |
16361 | * gnu/java/util/regex/RETokenEndSub.java | |
16362 | * gnu/java/util/regex/RETokenIndependent.java | |
16363 | * gnu/java/util/regex/RETokenLookAhead.java | |
16364 | * gnu/java/util/regex/RETokenLookBehind.java | |
16365 | * gnu/java/util/regex/RETokenNamedProperty.java | |
16366 | * gnu/java/util/regex/RETokenOneOf.java | |
16367 | * gnu/java/util/regex/RETokenPOSIX.java | |
16368 | * gnu/java/util/regex/RETokenRange.java | |
16369 | * gnu/java/util/regex/RETokenRepeated.java | |
16370 | * gnu/java/util/regex/RETokenStart.java | |
16371 | * gnu/java/util/regex/RETokenWordBoundary.java | |
16372 | * gnu/java/util/regex/UncheckedRE.java | |
16373 | Moved gnu.regexp classes to gnu.java.util.regex package. | |
16374 | * java/util/regex/Matcher.java | |
16375 | * java/util/regex/Pattern.java | |
16376 | Adjusted import statements for new package name for gnu regexp. | |
16377 | ||
16378 | 2006-06-07 Tom Tromey <tromey@redhat.com> | |
16379 | ||
16380 | PR classpath/27905: | |
16381 | * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized. | |
16382 | Added missing charsets. | |
16383 | (charsetForName): Don't check 'extendedLoaded'. | |
16384 | ||
16385 | 2006-06-07 Roman Kennke <kennke@aicas.com> | |
16386 | ||
16387 | PR 27833 | |
16388 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
16389 | (clip(Shape)): Implemented correctly, so that the current shape | |
16390 | gets intersected by the parameter shape. | |
16391 | ||
ac1ed908 MW |
16392 | 2006-06-07 Lillian Angel <langel@redhat.com> |
16393 | ||
16394 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
16395 | (getTabBounds): If this method is called with a tab index | |
16396 | that is not in the rects array, we need to re-layout the container | |
16397 | so it is created. | |
16398 | ||
16399 | 2006-06-07 Lillian Angel <langel@redhat.com> | |
16400 | ||
16401 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java | |
16402 | (FreetypeGlyphVector): Removed assignment. Caused compilation error. | |
16403 | * java/lang/String.java | |
16404 | (codePointCount): Fixed check to match API. Shouldn't throw exception | |
16405 | if end == count. end is 1 more than the endIndex, so end == count is | |
16406 | possible. | |
16407 | ||
16408 | 2006-06-07 Gary Benson <gbenson@redhat.com> | |
16409 | ||
16410 | PR 24895 | |
16411 | * native/jni/java-io/java_io_VMFile.c | |
16412 | (Java_java_io_VMFile_toCanonicalForm): New method. | |
16413 | * configure.ac: Added checks for lstat and readlink. | |
16414 | * include/java_io_VMFile.h: Added new method. | |
16415 | * vm/reference/java/io/VMFile.java: Use new method. | |
16416 | * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed. | |
16417 | * NEWS: Documented the above. | |
16418 | * java/io/File.java: Javadoc fix. | |
16419 | ||
16420 | 2006-06-07 Roman Kennke <kennke@aicas.com> | |
16421 | ||
16422 | PR 27920 | |
16423 | * javax/swing/JTree.java | |
16424 | (JTree()): Initialize with default model. | |
16425 | (JTree(TreeModel)): Clear expanded state hashtable. Added comment | |
16426 | on the updateUI() / setModel() order. | |
16427 | (setModel): Correctly (un-)setup the listeners. Clear the expanded | |
16428 | paths. | |
16429 | * javax/swing/plaf/basic/BasicTreeUI.java | |
16430 | (BasicTreeUI()): Initialize listeners in installListeners(). | |
16431 | (setModel): Complete editing on model change. Correctly resetup | |
16432 | the listeners. Update the layout cache accordingly. | |
16433 | (setShowRootHandles): Complete editing and update layout. Do not | |
16434 | call back into the JTree, this could cause cycles. | |
16435 | (prepareForUIInstall): Implemented. Moved some init code from | |
16436 | installUI() to this method. | |
16437 | (completeUIInstall): Implemented. Moved some init code from | |
16438 | installUI() to this method. | |
16439 | (createDefaultCellEditor): Check for type of renderer, and install | |
16440 | with null renderer when not DefaultTreeCellRenderer. | |
16441 | (updateLayoutCacheExpandedNodes): Added null check for tree root | |
16442 | to avoid NPE. | |
16443 | (updateRenderer): Call updateEditor(). | |
16444 | (installListeners): Initialize the listeners here. Added some null | |
16445 | checks to avoid NPEs. | |
16446 | (installUI): Moved some init code to prepareForUIInstall() and | |
16447 | completeUIInstall(). | |
16448 | (completeEditing): Return immediately if editing component is null | |
16449 | or if the setting is to not stop editing on complete editing. | |
16450 | (checkForClickInExpandControl): Call handleExpandControlClick() | |
16451 | instead of toggleExpandState() directly. | |
16452 | (isLocationInExpandControl): Rewritten to correctly determine the | |
16453 | expand click location. | |
16454 | (MouseHandler.mousePressed): Rewritten to make better use of the | |
16455 | instance methods of BasicTreeUI to handle the click. | |
16456 | (PropertyHandler.propertyChange): Handle model and cell renderer | |
16457 | updates. | |
16458 | * javax/swing/tree/DefaultTreeCellEditor.java | |
16459 | (DefaultTreeCellEditor): Removed initialization of the icon. This | |
16460 | is done so that the constructor can deal with null renderer as the | |
16461 | RI does. Maybe this needs more fixing. | |
16462 | * javax/swing/tree/TreePath.java | |
16463 | (isDescendant): Fixed this method. The previous version did too | |
16464 | much and compared the wrong things, which lead to a ClassCastException | |
16465 | in equals(). | |
16466 | * javax/swing/tree/VariableHeightLayoutCache.java | |
16467 | (update): Do nothing when model is null. | |
16468 | (setModel): Clear the tables and update the layout. Added null | |
16469 | check to prevent NPE. | |
16470 | ||
16471 | 2006-06-07 Sven de Marothy <sven@physto.se> | |
16472 | ||
16473 | * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file. | |
16474 | ||
16475 | 2006-06-07 Sven de Marothy <sven@physto.se> | |
16476 | ||
16477 | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java | |
16478 | * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h | |
16479 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c | |
16480 | New files. | |
16481 | ||
16482 | * gnu/java/awt/peer/gtk/GdkFontPeer.java | |
16483 | (getGlyphVector): Removed native method. | |
16484 | (createGlyphVector, getStringBounds): Use new GV class. | |
16485 | ||
16486 | * include/Makefile.am | |
16487 | * native/jni/gtk-peer/Makefile.am | |
16488 | Add new files. | |
16489 | ||
16490 | * include/gnu_java_awt_peer_gtk_GdkFontPeer.h | |
16491 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c | |
16492 | (getGlyphVector): Removed native method. | |
16493 | ||
16494 | 2006-06-07 Chris Burdess <dog@gnu.org> | |
16495 | ||
16496 | * gnu/classpath/debug/TeeInputStream.java, | |
16497 | gnu/classpath/debug/TeeOutputStream.java, | |
16498 | gnu/classpath/debug/TeeReader.java, | |
16499 | gnu/classpath/debug/TeeWriter.java: New classes for debugging streams. | |
16500 | * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't | |
16501 | read more characters than absolutely necessary in tryRead method. | |
16502 | ||
16503 | 2006-06-07 Robert Schuster <robertschuster@fsfe.org> | |
16504 | ||
16505 | * examples/gnu/classpath/examples/swing/Demo.java: | |
16506 | (mkMenuBar): Put look and feel radio buttons into | |
16507 | appropriate button group. | |
16508 | ||
16509 | 2006-06-07 Chris Burdess <dog@gnu.org> | |
16510 | ||
16511 | * gnu/xml/stream/SAXParser.java, | |
16512 | gnu/xml/stream/XMLParser.java: Add command line options for setting | |
16513 | parsing parameters (for simpler debugging). | |
16514 | * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error | |
16515 | closing output stream is propagated to application. | |
16516 | ||
16517 | 2006-06-06 Mark Wielaard <mark@klomp.org> | |
16518 | ||
16519 | PR 27917 | |
16520 | * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose. | |
16521 | * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to | |
16522 | call disposeSurface. | |
16523 | (disposeSurface): New native method. | |
16524 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
16525 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free | |
16526 | pattern_pixels. | |
16527 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
16528 | (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call | |
16529 | cairo_pattern_destroy. | |
16530 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
16531 | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): | |
16532 | New function to destroy the surface. | |
16533 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. | |
16534 | * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise. | |
16535 | * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise. | |
16536 | ||
16537 | 2006-06-06 Mark Wielaard <mark@klomp.org> | |
16538 | ||
16539 | * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types | |
16540 | with JNICALL. | |
16541 | ||
16542 | 2006-06-06 David Gilbert <david.gilbert@object-refinery.com> | |
16543 | ||
16544 | * javax/swing/plaf/metal/MetalSplitPaneDivider.java | |
16545 | (paint): If has focus, paint special background color, | |
16546 | * javax/swing/plaf/basic/BasicSplitPaneUI.java | |
16547 | (FocusHandler.focusGained): Implemented, | |
16548 | (FocusHandler.focusLost): Implemented. | |
16549 | ||
16550 | 2006-06-06 Tom Tromey <tromey@redhat.com> | |
16551 | ||
16552 | * javax/swing/text/StyleContext.java (registerStaticAttributeKey): | |
16553 | Javadoc fix. | |
16554 | (writeAttributeSet): Implemented. | |
16555 | ||
16556 | 2006-06-06 Tom Tromey <tromey@redhat.com> | |
16557 | ||
16558 | * javax/swing/text/html/HTMLDocument.java (SpecialAction.start): | |
16559 | Implement. | |
16560 | (SpecialAction.end): Removed. | |
16561 | (IsindexAction.end): Likewise. | |
16562 | ||
16563 | 2006-06-06 Tom Tromey <tromey@redhat.com> | |
16564 | ||
16565 | * include/jni.h (JDK1_1InitArgs): New struct. | |
16566 | (JDK1_1AttachArgs): Likewise. | |
16567 | ||
16568 | 2006-06-06 Tom Tromey <tromey@redhat.com> | |
16569 | ||
16570 | * java/security/UnresolvedPermission.java (getUnresolvedType): New | |
16571 | method. | |
16572 | (getUnresolvedName): New method. | |
16573 | (getUnresolvedActions): New method. | |
16574 | (getUnresolvedCerts): New method. | |
16575 | ||
16576 | 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
16577 | ||
16578 | * gnu/javax/swing/text/html/CharacterAttributeTranslator.java | |
16579 | (getColor): Removed debugging code. | |
16580 | ||
16581 | 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
16582 | ||
16583 | * gnu/javax/swing/text/html/CharacterAttributeTranslator.java | |
16584 | (getColor): Added support for "rgb(red, green, blue)" notation. | |
16585 | (translateTag): Use Boolean.TRUE, not new Boolean(). | |
16586 | ||
16587 | 2006-06-06 Roman Kennke <kennke@aicas.com> | |
16588 | ||
16589 | PR 27651 | |
16590 | * javax/swing/JTree.java | |
16591 | (JTree(TreeModel)): Call updateUI() before setModel(). | |
16592 | (setModel): Don't call updateUI here. | |
16593 | ||
16594 | 2006-06-06 Lillian Angel <langel@redhat.com> | |
16595 | ||
16596 | * native/plugin/gcjwebplugin.cc: | |
16597 | Fixed failure message and commenting. | |
16598 | (NP_Initialize): Added more comments. | |
16599 | ||
16600 | 2006-06-06 David Gilbert <david.gilbert@object-refinery.com> | |
16601 | ||
16602 | * javax/swing/JSplitPane.java | |
16603 | (AccessibleJSplitPane): API doc fixes, | |
16604 | (setDividerLocation): Likewise, | |
16605 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
16606 | (initComponentDefaults): Additions to SplitPane.ancestorInputMap, | |
16607 | * javax/swing/plaf/basic/BasicSplitPaneUI.java | |
16608 | (getInputMap): New method, | |
16609 | (getActionMap): New method, | |
16610 | (createActionMap): New method, | |
16611 | (installKeyboardActions): Implemented, | |
16612 | (uninstallKeyboardActions): Implemented. | |
16613 | ||
16614 | 2006-06-06 Roman Kennke <kennke@aicas.com> | |
16615 | ||
16616 | PR 27523 | |
16617 | * javax/swing/MenuSelectionManager.java | |
16618 | (processKeyEvent): Added check to avoid | |
16619 | ArrayIndexOutOfBoundsException. | |
16620 | ||
16621 | 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
16622 | ||
16623 | * gnu/javax/swing/text/html/htmlAttributeSet.java | |
16624 | (getAttributeNames): Rewritten | |
16625 | ||
16626 | 2006-06-06 Chris Burdess <dog@gnu.org> | |
16627 | ||
16628 | * gnu/xml/transform/TransformerImpl.java: Check type of created | |
16629 | document (more cases). | |
16630 | ||
16631 | 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
16632 | ||
16633 | * gnu/javax/swing/text/html/htmlAttributeSet.java | |
16634 | (clone): New method. (copyAttributes): New method. | |
16635 | (getResolveParent): Comment fix. (getAttribute): | |
16636 | Rewritten. (addAttribute): Rewritten. | |
16637 | * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java: | |
16638 | New file. | |
16639 | ||
16640 | 2006-06-06 Roman Kennke <kennke@aicas.com> | |
16641 | ||
16642 | PR 27522 | |
16643 | * javax/swing/JMenuBar.java | |
16644 | (processKeyBindingHelper): Added null check to prevent NPE. | |
16645 | ||
16646 | 2006-06-06 Roman Kennke <kennke@aicas.com> | |
16647 | ||
16648 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
16649 | (ShowSystemMenuAction): New class. | |
16650 | (installKeyboardActions): Implemented. | |
16651 | (uninstallKeyboardActions): Implemented. | |
16652 | * javax/swing/plaf/metal/MetalInternalFrameUI.java | |
16653 | (installKeyboardActions): Overridden to remove showSystemMenu action. | |
16654 | ||
16655 | 2006-06-06 Chris Burdess <dog@gnu.org> | |
16656 | ||
16657 | * gnu/xml/transform/TransformerImpl.java: Check type of created | |
16658 | document. | |
16659 | ||
16660 | 2006-06-06 Robert Schuster <robertschuster@fsfe.org> | |
16661 | ||
16662 | * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: | |
16663 | (getScreenDevices): Added explicit cast. | |
16664 | ||
16665 | 2006-06-06 Roman Kennke <kennke@aicas.com> | |
16666 | ||
16667 | * javax/swing/plaf/basic/BasicTextUI.java | |
16668 | (installKeyboardActions): Use shared input map. Correctly | |
16669 | install the input/action maps in the component's input/action | |
16670 | map hierarchies. | |
16671 | (getActionMap): New helper method for fetching an ActionMap from | |
16672 | the UIManager or creating a default one if there is none supplied | |
16673 | by the UIManager. | |
16674 | (createActionMap): Add the TransferHandler's actions here. Made | |
16675 | method private. | |
16676 | (getInputMap): Leave out unnecessary method parameter. Load | |
16677 | shared input map. | |
16678 | * javax/swing/plaf/basic/SharedUIDefaults.java: New file. | |
16679 | ||
16680 | 2006-06-06 Robert Schuster <robertschuster@fsfe.org> | |
16681 | ||
16682 | * configure.ac: Added missing [ to expression. | |
16683 | ||
16684 | 2006-06-06 Robert Schuster <robertschuster@fsfe.org> | |
16685 | ||
16686 | * configure.ac: Added missing { to expression. | |
16687 | ||
16688 | 2006-06-06 Robert Schuster <robertschuster@fsfe.org> | |
16689 | ||
16690 | * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated. | |
16691 | * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file. | |
16692 | * include/Makefile.am: Added | |
16693 | gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice. | |
16694 | * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java: | |
16695 | (GdkGraphicsConfiguration): Rewritten. | |
16696 | (getColorModel): Rewritten. | |
16697 | (getColorModel(int)): Rewritten. | |
16698 | (getBounds): Rewritten. | |
16699 | (createCompatibleVolatileImage): Implemented. | |
16700 | * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static | |
16701 | initializer. | |
16702 | (getDefaultScreenDevice): Rewritten. | |
16703 | (nativeGetDefaultScreenDevice): New method. | |
16704 | (getScreenDevices): Rewritten. | |
16705 | (nativeGetScreenDevices): New method. | |
16706 | (nativeInitState): New method. | |
16707 | * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely | |
16708 | rewritten. | |
16709 | (X11DisplayMode): New inner class. | |
16710 | * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and | |
16711 | gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c | |
16712 | * native/jni/gtk-peer/gdkdisplay.h: New file. | |
16713 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c: | |
16714 | (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState): | |
16715 | New function. | |
16716 | (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState): | |
16717 | New function. | |
16718 | (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment | |
16719 | _nativeGetScreenDevices): | |
16720 | New function. | |
16721 | (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment | |
16722 | _nativeGetDefaultScreenDevice): | |
16723 | New function. | |
16724 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c: | |
16725 | New file. | |
16726 | * configure.ac: Added check for Xrandr library. | |
16727 | ||
16728 | 2006-06-06 Roman Kennke <kennke@aicas.com> | |
16729 | ||
16730 | * javax/swing/plaf/basic/BasicTableUI.java | |
16731 | (getMaximumSize): Don't return null. Fixed calculation of | |
16732 | table height. | |
16733 | (getMinimumSize): Don't return null. Fixed calculation of | |
16734 | table height. | |
16735 | (getPreferredSize): Fixed calculation of with and height. Added | |
16736 | API docs. | |
16737 | (getHeight): New helper method. | |
16738 | ||
16739 | 2006-06-06 David Gilbert <david.gilbert@object-refinery.com> | |
16740 | ||
16741 | * javax/swing/JComponent.java | |
16742 | (getInputMap(int)): Throw IllegalArgumentException for unknown | |
16743 | condition argument, and added API docs, | |
16744 | (getInputMap()): Added API docs. | |
16745 | ||
16746 | 2006-06-06 Robert Schuster <robertschuster@fsfe.org> | |
16747 | ||
16748 | * java/awt/BufferedImage.java: Added fourth 8 to bits4 field. | |
16749 | ||
16750 | 2006-06-06 David Gilbert <david.gilbert@object-refinery.com> | |
16751 | ||
16752 | * javax/swing/JTable.java | |
16753 | (AccessibleJTableHeaderCell.header): New field, | |
16754 | (AccessibleJTableHeaderCell.columnIndex): Likewise, | |
16755 | (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise, | |
16756 | (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method, | |
16757 | (AccessibleJTableHeaderCell.getAccessibleContext): Implemented, | |
16758 | (AccessibleJTableHeaderCell.getAccessibleRole): Implemented, | |
16759 | (AccessibleJTable.getAccessibleChild(int)): Overridden, | |
16760 | (AccessibleJTable.getAccessibleAt): Reimplemented. | |
16761 | ||
16762 | 2006-06-05 Sven de Marothy <sven@physto.se> | |
16763 | ||
16764 | * include/gnu_java_awt_peer_gtk_ComponentGraphics.h | |
16765 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
16766 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
16767 | (initFromVolatile): New method. | |
16768 | * gnu/java/awt/peer/gtk/GtkVolatileImage.java | |
16769 | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java | |
16770 | Reimplement. | |
16771 | * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h | |
16772 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c | |
16773 | (copyArea, drawVolatileImage): New methods. | |
16774 | ||
16775 | 2006-06-05 Tania Bento <tbento@redhat.com> | |
16776 | ||
16777 | * javax/swing/JFrame.java | |
16778 | (frameInit): Set background color and fixed layout parameters. | |
16779 | ||
16780 | 2006-06-05 Tom Tromey <tromey@redhat.com> | |
16781 | ||
16782 | * NEWS: Mention VMURLConnection. | |
16783 | ||
16784 | 2006-06-05 Lillian Angel <langel@redhat.com> | |
16785 | ||
16786 | * native/plugin/gcjwebplugin.cc: | |
16787 | Added new field to keep track of initialization. | |
16788 | (plugin_start_appletviewer): Fixed to return an error value, if | |
16789 | an error was encountered when loading the appletviewer. | |
16790 | (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer | |
16791 | has failed. | |
16792 | (plugin_failed): New helper function. Shows a warning if the appletviewer | |
16793 | has not been installed. | |
16794 | (NP_Initialize): Added code to make sure this function is only called | |
16795 | once. | |
16796 | ||
16797 | 2006-06-05 Lillian Angel <langel@redhat.com> | |
16798 | ||
16799 | * native/plugin/Makefile.am: | |
16800 | Fixed to use a set plugin directory in the .mozilla directory. | |
16801 | All applet logs are now stored here, instead of /tmp. | |
16802 | * native/plugin/gcjwebplugin.cc: | |
16803 | Added new fields for security warning. | |
16804 | (GCJ_NEW): Added code to generate a security warning for all pages | |
16805 | that spawn an appletviewer. This warning asks the user if they trust | |
16806 | the applet and if they would like to add it to a 'whitelist'. This | |
16807 | whitelist keeps track of all the addresses the user would like | |
16808 | to trust indefinitely. | |
16809 | (plugin_user_trusts_documentbase): New helper function. | |
16810 | (plugin_add_documentbase_to_whitelist): New helper function. | |
16811 | (plugin_ask_user_about_documentbase): New helper function. | |
16812 | (plugin_in_pipe_callback): Fixed check to determine if channel_error | |
16813 | has been set. | |
16814 | (plugin_start_appletviewer): Likewise. | |
16815 | (plugin_create_applet_tag): Reset all fields to null after they have been | |
16816 | freed. | |
16817 | (plugin_send_message_to_appletviewer): Fixed all error checks to determine | |
16818 | if channel_error has been set. | |
16819 | (plugin_stop_appletviewer): Likewise. | |
16820 | (NP_Initialize): Likewise. Also, added code to determine if directory and file | |
16821 | should be created. | |
16822 | ||
16823 | 2006-06-05 Francis Kung <fkung@redhat.com> | |
16824 | ||
16825 | PR 27507 | |
16826 | * gnu/java/awt/peer/gtk/GtkImage.java | |
16827 | (getSource): Added check to determine if in | |
16828 | errorLoading state. | |
16829 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
16830 | (createImage): Added check to prevent NPE. | |
16831 | ||
16832 | 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
16833 | ||
16834 | * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create): | |
16835 | Create the ImageView, when applicable. | |
16836 | * gnu/javax/swing/text/html/CombinedAttributes.java, | |
16837 | javax/swing/text/html/ImageView.java: New files. | |
16838 | ||
16839 | 2006-06-05 Roman Kennke <kennke@aicas.com> | |
16840 | ||
16841 | PR 27834 | |
16842 | * javax/swing/text/GapContent.java | |
16843 | (setPositionsInRange): Compare with startIndex and endIndex | |
16844 | rather than start and end. | |
16845 | (dumpMarks): Only dump real marks. | |
16846 | ||
16847 | 2006-06-05 Sven de Marothy <sven@physto.se> | |
16848 | ||
16849 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
16850 | (ComponentGraphics): Use 0,0 as clip origin. | |
16851 | ||
16852 | 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
16853 | ||
16854 | * java/util/Formattable.java, | |
16855 | * java/util/FormattableFlags.java, | |
16856 | * java/util/Formatter.java: | |
16857 | Documented. | |
16858 | ||
97b8365c | 16859 | 2006-06-04 Tom Tromey <tromey@redhat.com> |
ac1ed908 | 16860 | |
97b8365c TT |
16861 | * javax/naming/Context.java (list): Genericized. |
16862 | (listBindings): Likewise. | |
16863 | * javax/naming/Reference.java (addrs): Genericized. | |
16864 | * javax/naming/InitialContext.java (myProps): Fixed type. | |
16865 | (init): Genericized. | |
ac1ed908 MW |
16866 | |
16867 | 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
16868 | ||
16869 | * java/util/DuplicateFormatFlagsException.java, | |
16870 | * java/util/FormatFlagsConversionMismatchException.java, | |
16871 | * java/util/FormatterClosedException.java, | |
16872 | * java/util/IllegalFormatCodePointException.java, | |
16873 | * java/util/IllegalFormatConversionException.java, | |
16874 | * java/util/IllegalFormatException.java, | |
16875 | * java/util/IllegalFormatFlagsException.java, | |
16876 | * java/util/IllegalFormatPrecisionException.java, | |
16877 | * java/util/IllegalFormatWidthException.java, | |
16878 | * java/util/MissingFormatArgumentException.java, | |
16879 | * java/util/MissingFormatWidthException.java, | |
16880 | * java/util/UnknownFormatConversionException.java, | |
16881 | * java/util/UnknownFormatFlagsException.java: | |
16882 | Documented. | |
16883 | ||
97b8365c | 16884 | 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org> |
ac1ed908 | 16885 | |
97b8365c TT |
16886 | * java/lang/System.java: |
16887 | (getenv()): Handle cases where split only | |
16888 | returns an array of size 1. | |
16889 | ||
16890 | 2006-06-04 Sven de Marothy <sven@physto.se> | |
ac1ed908 | 16891 | |
97b8365c TT |
16892 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java |
16893 | (createVolatileImage): Pass peer to VolatileImage constructor. | |
16894 | * java/awt/Component.java | |
16895 | (createVolatileImage): Call peer method directly. | |
16896 | ||
ac1ed908 MW |
16897 | 2006-06-04 Sven de Marothy <sven@physto.se> |
16898 | ||
16899 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
16900 | (getFlippedBuffer): New method. | |
16901 | (getGtkImage): Renamed method. | |
16902 | * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java | |
16903 | * gnu/java/awt/peer/gtk/GtkVolatileImage.java | |
16904 | Renamed getSharedImage to getGtkImage. | |
16905 | * include/gnu_java_awt_peer_gtk_CairoSurface.h | |
16906 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
16907 | (getFlippedBuffer): New method | |
16908 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
16909 | Avoid window casts. | |
ac1ed908 MW |
16910 | 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org> |
16911 | ||
16912 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c: | |
16913 | (drawVolatile): Add casts. | |
16914 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: | |
16915 | (getOutline): Add casts. | |
16916 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: | |
16917 | Comment out unused prototype. | |
16918 | (getPixels): Add appropriate cast and comment out unused variable. | |
16919 | ||
16920 | 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au> | |
16921 | ||
16922 | * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import. | |
16923 | * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link. | |
16924 | * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import. | |
16925 | * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see. | |
16926 | (getSystemInstance): Fix javadoc @link. | |
16927 | (counter): Increased visibility. | |
16928 | * gnu/javax/crypto/pad/TLS1.java: Remove unused import. | |
16929 | * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link. | |
16930 | * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise. | |
16931 | * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise. | |
16932 | * gnu/javax/crypto/pad/TBC.java (TBC): Likewise. | |
16933 | * gnu/javax/crypto/mode/CTR.java: Remove unused import. | |
16934 | * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see. | |
16935 | * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see. | |
16936 | * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link. | |
16937 | * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports. | |
16938 | * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise. | |
16939 | * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise. | |
16940 | * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise. | |
16941 | * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise. | |
16942 | * gnu/javax/crypto/mac/OMAC.java: Likewise. | |
16943 | * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise. | |
16944 | * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise. | |
16945 | * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise. | |
16946 | * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise. | |
16947 | * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise. | |
16948 | * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise. | |
16949 | * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise. | |
16950 | * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise. | |
16951 | * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise. | |
16952 | * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise. | |
16953 | * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link. | |
16954 | * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise. | |
16955 | * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import. | |
16956 | * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link. | |
16957 | * gnu/javax/crypto/assembly/Direction.java: Likewise. | |
16958 | * gnu/javax/crypto/assembly/Transformer.java: Likewise. | |
16959 | ||
16960 | 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au> | |
16961 | ||
16962 | * gnu/java/security/PolicyFile.java: Updated copyright year. | |
16963 | (logger): Increased visibility. | |
16964 | * gnu/java/security/x509/Util.java: Updated copyright year. | |
16965 | (hexDump): Fix javadoc @link. | |
16966 | * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year. | |
16967 | Removed unused import. | |
16968 | * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link. | |
16969 | * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise. | |
16970 | * gnu/java/security/util/ExpirableObject.java: Likewise. | |
16971 | (destroy): Likewise. | |
16972 | * gnu/java/security/util/SimpleList.java (SimpleList): Likewise. | |
16973 | * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: | |
16974 | Updated copyright year. | |
16975 | (checkCRL): Fix javadoc @param. | |
16976 | ||
16977 | 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
16978 | ||
16979 | * java/lang/annotation/IncompleteAnnotationException.java: | |
16980 | Documented. | |
16981 | ||
97b8365c | 16982 | 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org> |
ac1ed908 | 16983 | |
97b8365c TT |
16984 | * java/lang/ProcessBuilder.java: |
16985 | Documented. | |
16986 | (environment): Create as a copy. | |
16987 | * java/lang/System.java: | |
16988 | (EnvironmentMap.EnvironmentMap(Map<String,String>)): | |
16989 | New constructor. | |
16990 | (EnvironmentMap.put(String,String)): Override superclass | |
16991 | method with checks for nulls and non-Strings. | |
16992 | ||
ac1ed908 MW |
16993 | 2006-06-02 Sven de Marothy <sven@physto.se> |
16994 | ||
16995 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
16996 | (cairoPreserveClip, cairoResetClip): New methods. | |
16997 | (setClip, clip): Reimplement. | |
16998 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
16999 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h | |
17000 | (cairoPreserveClip, cairoResetClip): New methods. | |
17001 | ||
17002 | 2006-06-02 Sven de Marothy <sven@physto.se> | |
17003 | ||
17004 | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java | |
17005 | * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h | |
17006 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c | |
17007 | New files. | |
17008 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
17009 | (drawImage): Overloads for VolatileImage drawing. | |
17010 | (drawVolatile): New method. | |
17011 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
17012 | * include/gnu_java_awt_peer_gtk_ComponentGraphics.h | |
17013 | (drawVolatile): New method. | |
17014 | * gnu/java/awt/peer/gtk/GtkVolatileImage.java | |
17015 | Unstub implementation. | |
17016 | * include/Makefile.am | |
17017 | * native/jni/gtk-peer/Makefile.am | |
17018 | Add new files. | |
17019 | * native/jni/gtk-peer/gtkpeer.h | |
17020 | New prototype. | |
17021 | ||
17022 | 2006-06-03 Roman Kennke <kennke@aicas.com> | |
17023 | ||
17024 | PR 27418 | |
17025 | * javax/swing/plaf/basic/BasicTextUI.java | |
17026 | (damageRange): Added null check to avoid NPE. | |
17027 | ||
17028 | 2006-06-03 Roman Kennke <kennke@aicas.com> | |
17029 | ||
17030 | * javax/swing/text/PlainView.java | |
17031 | (updateDamage): Check for valid longestLine and initialize if | |
17032 | necessary. | |
17033 | ||
17034 | 2006-06-03 Mark Wielaard <mark@klomp.org> | |
17035 | ||
17036 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C | |
17037 | comments, not C++. | |
17038 | ||
17039 | 2006-06-02 Sven de Marothy <sven@physto.se> | |
17040 | ||
17041 | PR 27879 | |
17042 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
17043 | (copyArea): Implement. | |
17044 | (copyAreaImpl, getRealBounds): New methods. | |
17045 | * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java | |
17046 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
17047 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
17048 | (copyAreaImpl, getRealBounds): Implement. | |
17049 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
17050 | (nativeCopyArea): Reimplement. | |
17051 | ||
17052 | 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch> | |
17053 | ||
17054 | * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS. | |
17055 | (XTEST_LIBS): New, substitute. | |
17056 | * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS. | |
17057 | ||
17058 | 2006-06-02 Roman Kennke <kennke@aicas.com> | |
17059 | ||
17060 | PR 26738 | |
17061 | * javax/swing/text/PlainView.java | |
17062 | (updateDamage): Rewritten for correct repainting and revalidating. | |
17063 | (findLongestLine): New helper method. | |
17064 | (getLineLength): New helper method. | |
17065 | ||
17066 | 2006-06-02 Sven de Marothy <sven@physto.se> | |
17067 | ||
17068 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
17069 | * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java | |
17070 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
17071 | (nativeCopyArea): Change stride parameter to use # of ints. | |
17072 | (setPixels): Add checks. | |
17073 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
17074 | (ComponentGraphics): Set background, clip. | |
17075 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
17076 | (Cairographics2D): Don't set clip. | |
17077 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
17078 | Add flush. | |
17079 | ||
17080 | 2006-06-02 Lillian Angel <langel@redhat.com> | |
17081 | ||
17082 | PR 24458 | |
17083 | * java/awt/DefaultKeyboardFocusManager.java | |
17084 | (dispatchEvent): Fixed to getFocusOwner, if that fails it tries | |
17085 | to get the focused window. | |
17086 | ||
17087 | 2006-06-01 Miriam Schuster <schmir11@web.de> | |
17088 | ||
17089 | * Makefile.am: Add fallback if "mozilla-plugin" is not available. | |
17090 | Fallbacks used: "firefox-plugin" and "xulrunner-plugin". | |
17091 | ||
17092 | 2006-06-02 Roman Kennke <kennke@aicas.com> | |
17093 | ||
17094 | * javax/swing/JTable.java | |
17095 | (columnSelectionChanged): Don't return when there's only one | |
17096 | column (might still need repainting). Correctly calculate | |
17097 | repaint rectangle. | |
17098 | (valueChanged): Use return value of SwingUtilities.computeUnion | |
17099 | as dirty region. | |
17100 | ||
17101 | 2006-06-01 Keith Seitz <keiths@redhat.com> | |
17102 | ||
17103 | From Martin Platter <motse@complang.tuwien.ac.at>: | |
17104 | * gnu/classpath/jdwp/processor/EventRequestCommandSet.java | |
17105 | (executeSet): Fix buffer underflow reading reference ID. | |
17106 | * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java | |
17107 | (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup. | |
17108 | * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java | |
17109 | (executeSuperclass): Handle case of Object with ID zero. | |
17110 | ||
17111 | 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
17112 | ||
17113 | * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo. | |
17114 | * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise. | |
17115 | * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise. | |
17116 | * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise. | |
17117 | * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise. | |
17118 | * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise. | |
17119 | * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise. | |
17120 | * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise. | |
17121 | * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise. | |
17122 | * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise. | |
17123 | * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise. | |
17124 | ||
17125 | 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
17126 | ||
17127 | * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field. | |
17128 | (Command): Add the shutdown hook. | |
17129 | (doCommand): Remove the shutdown hook. | |
17130 | (ShutdownHook): New class. | |
17131 | ||
17132 | 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
17133 | ||
17134 | * tools/jarsigner.in: Use @VM_BINARY@. | |
17135 | * tools/keytool.in: Likewise. | |
17136 | ||
17137 | 2006-06-01 Sven de Marothy <sven@physto.se> | |
17138 | ||
17139 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java: | |
17140 | (setColor): Update the cairo paint. | |
17141 | ||
17142 | 2006-06-01 Mark Wielaard <mark@klomp.org> | |
17143 | ||
17144 | * java/util/logging/LogManager.java (createInstance): Always add | |
17145 | original exception on warning. | |
17146 | ||
17147 | 2006-06-01 Lillian Angel <langel@redhat.com> | |
17148 | ||
17149 | * tools/gnu/classpath/tools/appletviewer/AppletTag.java | |
17150 | (prependCodebase): Fixed check. No dirname was ever considered to | |
17151 | be a file, so every applet fell into the if-statement causing a lot | |
17152 | of classloading problems with the applets. | |
17153 | ||
17154 | 2006-06-01 Sven de Marothy <sven@physto.se> | |
17155 | ||
17156 | Patch submitted by Boris Dusek. | |
17157 | * native/jni/qt-peer/qtmenupeer.cpp | |
17158 | Fix segfault | |
17159 | ||
17160 | 2006-06-01 Roman Kennke <kennke@aicas.com> | |
17161 | ||
17162 | * javax/swing/JTable.java | |
17163 | (AccessibleJTableCell.getAccessibleRow): Added comment explaining | |
17164 | why the behaviour is like it is. | |
17165 | (AccessibleJTableCell.getAccessibleStateSet): Implemented. | |
17166 | (AccessibleJTableHeader): New inner class. | |
17167 | (AccessibleJTableHeaderCell): New inner class. | |
17168 | (AccessibleJTable.lastSelectedRow): New field. | |
17169 | (AccessibleJTable.lastSelectedColumn): New field. | |
17170 | (AccessibleJTable.caption): New field. | |
17171 | (AccessibleJTable.summary): New field. | |
17172 | (AccessibleJTable.rowDescriptions): New field. | |
17173 | (AccessibleJTable.columnDescriptions): New field. | |
17174 | (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn. | |
17175 | (AccessibleJTable.getAccessibleSelection(int)): Implemented. | |
17176 | (AccessibleJTable.isAccessibleChildSelected): Implemented. | |
17177 | (AccessibleJTable.addAccessibleSelection): Implemented. | |
17178 | (AccessibleJTable.removeAccessibleSelection): Implemented. | |
17179 | (AccessibleJTable.clearAccessibleSelection): Implemented. | |
17180 | (AccessibleJTable.selectAllAccessibleSelection): Implemented. | |
17181 | (AccessibleJTable.valueChange): Implemented. | |
17182 | (AccessibleJTable.tableRowsInserted): Implemented. | |
17183 | (AccessibleJTable.tableRowsDeleted): Implemented. | |
17184 | (AccessibleJTable.handleRowChange): New helper method. | |
17185 | (AccessibleJTable.columnAdded): Implemented. | |
17186 | (AccessibleJTable.columnMarginChanged): Implemented. | |
17187 | (AccessibleJTable.columnMoved): Implemented. | |
17188 | (AccessibleJTable.columnRemoved): Implemented. | |
17189 | (AccessibleJTable.columnSelectionChanged): Implemented. | |
17190 | (AccessibleJTable.handleColumnChange): New helper method. | |
17191 | (AccessibleJTable.editingCanceled): Implemented. | |
17192 | (AccessibleJTable.editingStopped): Implemented. | |
17193 | (AccessibleJTable.getAccessibleRow): Implemented. | |
17194 | (AccessibleJTable.getAccessibleColumn): Implemented. | |
17195 | (AccessibleJTable.getAccessibleIndex): Implemented. | |
17196 | (AccessibleJTable.getAccessibleCaption): Implemented. | |
17197 | (AccessibleJTable.setAccessibleCaption): Implemented. | |
17198 | (AccessibleJTable.getAccessibleSummary): Implemented. | |
17199 | (AccessibleJTable.setAccessibleSummary): Implemented. | |
17200 | (AccessibleJTable.getAccessibleRowCount): Implemented. | |
17201 | (AccessibleJTable.getAccessibleColumnCount): Implemented. | |
17202 | (AccessibleJTable.getAccessibleAt): Implemented. | |
17203 | (AccessibleJTable.getAccessibleRowExtentAt): Implemented. | |
17204 | (AccessibleJTable.getAccessibleColumnExtentAt): Implemented. | |
17205 | (AccessibleJTable.getAccessibleRowHeader): Implemented. | |
17206 | (AccessibleJTable.setAccessibleRowHeader): Implemented. | |
17207 | (AccessibleJTable.getAccessibleColumnHeader): Implemented. | |
17208 | (AccessibleJTable.setAccessibleColumnHeader): Implemented. | |
17209 | (AccessibleJTable.getAccessibleRowDescription): Implemented. | |
17210 | (AccessibleJTable.setAccessibleRowDescription): Implemented. | |
17211 | (AccessibleJTable.getAccessibleColumnDescription): Implemented. | |
17212 | (AccessibleJTable.setAccessibleColumnDescription): Implemented. | |
17213 | (AccessibleJTable.isAccessibleSelected): Implemented. | |
17214 | (AccessibleJTable.isAccessibleRowSelected): Implemented. | |
17215 | (AccessibleJTable.isAccessibleColumnSelected): Implemented. | |
17216 | (AccessibleJTable.getSelectedAccessibleRows): Implemented. | |
17217 | (AccessibleJTable.getSelectedAccessibleColumns): Implemented. | |
17218 | (getAccessibleContext): Register listeners for the accessibility | |
17219 | class on the JTable. | |
17220 | ||
17221 | 2006-06-01 Sven de Marothy <sven@physto.se> | |
17222 | ||
17223 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java: | |
17224 | (setPaint): Scale +1 pixel larger. | |
17225 | ||
17226 | 2006-06-01 Sven de Marothy <sven@physto.se> | |
17227 | ||
17228 | PR 27854 | |
17229 | * gnu/java/awt/Buffers.java (getData): Reimplement. | |
17230 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
17231 | (getElem, setElem): Call native methods. | |
17232 | ||
17233 | 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17234 | ||
17235 | * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file. | |
17236 | ||
17237 | 2006-06-01 Sven de Marothy <sven@physto.se> | |
17238 | ||
17239 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
17240 | (drawImage): Check for zero size. | |
17241 | * gnu/java/awt/peer/gtk/GdkTextLayout.java: | |
17242 | (setFont): Declare new native method. | |
17243 | (GdkTextLayout): Read some attributes. | |
17244 | * include/gnu_java_awt_peer_gtk_GdkTextLayout.h | |
17245 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c | |
17246 | (setFont): New native method. | |
17247 | ||
17248 | 2006-06-01 Sven de Marothy <sven@physto.se> | |
17249 | ||
17250 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
17251 | (updateBufferedImage): Fix some errors. | |
17252 | ||
17253 | 2006-06-01 David Gilbert <david.gilbert@object-refinery.com> | |
17254 | ||
17255 | * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style | |
17256 | fixes, | |
17257 | * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise, | |
17258 | * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise, | |
17259 | * javax/swing/plaf/basic/BasicIconFactory.java: Likewise, | |
17260 | * javax/swing/plaf/basic/BasicListUI.java: Likewise, | |
17261 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise, | |
17262 | * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise, | |
17263 | * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise, | |
17264 | * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise, | |
17265 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise, | |
17266 | * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise. | |
17267 | ||
17268 | 2006-06-01 David Gilbert <david.gilbert@object-refinery.com> | |
17269 | ||
17270 | * javax/swing/JComboBox.java: Minor source code formatting fixes, | |
17271 | * javax/swing/JEditorPane.java: Likewise, | |
17272 | * javax/swing/JFormattedTextField.java: Likewise, | |
17273 | * javax/swing/JLayeredPane.java: Likewise, | |
17274 | * javax/swing/JScrollPane.java: Likewise, | |
17275 | * javax/swing/JSlider.java: Likewise, | |
17276 | * javax/swing/JSpinner.java: Likewise, | |
17277 | * javax/swing/JTree.java: Likewise, | |
17278 | * javax/swing/JViewport.java: Likewise, | |
17279 | * javax/swing/UIDefaults.java: Likewise, | |
17280 | * javax/swing/UIManager.java: Likewise. | |
17281 | ||
17282 | 2006-06-01 Sven de Marothy <sven@physto.se> | |
17283 | ||
17284 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
17285 | (BufferedImageGraphics): Cache surfaces. | |
17286 | (updateBufferedImage): Copy directly for certain color models. | |
17287 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
17288 | (drawImage): Reimplement. | |
17289 | ||
17290 | 2006-06-01 Sven de Marothy <sven@physto.se> | |
17291 | ||
17292 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
17293 | (setPixels): Don't swap, correct size. | |
17294 | ||
17295 | 2006-05-31 Anthony Green <green@redhat.com> | |
17296 | ||
17297 | PR 27828 | |
17298 | * java/net/InetSocketAddress.java: Defer getting the host | |
17299 | name until somebody calls InetSocketAddress.getHostName(). | |
17300 | Fix "represenation" typo. | |
17301 | ||
17302 | 2006-06-01 Sven de Marothy <sven@physto.se> | |
17303 | ||
17304 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
17305 | (updateBufferedImage): Simplify. | |
17306 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
17307 | (getPixels): Don't swap. | |
17308 | ||
17309 | 2006-06-01 Sven de Marothy <sven@physto.se> | |
17310 | ||
17311 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
17312 | (setGradient): Reimplement. | |
17313 | ||
17314 | 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch> | |
17315 | ||
17316 | * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function | |
17317 | CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly. | |
17318 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
17319 | (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function | |
17320 | CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t. | |
17321 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c | |
17322 | (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout): | |
17323 | Likewise. | |
17324 | ||
17325 | 2006-05-31 David Gilbert <david.gilbert@object-refinery.com> | |
17326 | ||
17327 | * javax/swing/table/JTableHeader.java | |
17328 | (getColumnHeaderRenderer): New method, | |
17329 | (getAccessibleColumnHeaderRenderer): Delegate part to new | |
17330 | getColumnHeaderRenderer() method, | |
17331 | (getLocale): Implemented. | |
17332 | ||
17333 | 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch> | |
17334 | ||
17335 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
17336 | (cp_gtk_grab_current_drawable): Rename | |
17337 | cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to | |
17338 | cp_gtk_grab_current_drawable, remove static declaration. | |
17339 | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above | |
17340 | function. | |
17341 | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise. | |
17342 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c: | |
17343 | Remove prototype of | |
17344 | cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable. | |
17345 | (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename | |
17346 | function. | |
17347 | (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise. | |
17348 | * native/jni/gtk-peer/gtkpeer.h: Add prototype for | |
17349 | cp_gtk_grab_current_drawable here. | |
17350 | ||
17351 | 2006-05-31 Sven de Marothy <sven@physto.se> | |
17352 | ||
17353 | Should fix PR 27835 | |
17354 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
17355 | (updateBufferedImage): Keep within image bounds. | |
17356 | ||
17357 | 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17358 | Andreas Tobler <a.tobler@schweiz.ch> | |
17359 | ||
17360 | * configure.ac: Check for libXrender when the GTK peers are | |
17361 | enabled, and set HAVE_XRENDER accordingly. Add -lXrender to | |
17362 | X_EXTRA_LIBS. | |
17363 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
17364 | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender) | |
17365 | [HAVE_XRENDER]: Call XRenderQueryExtension conditionally. | |
17366 | ||
17367 | 2006-05-31 Lillian Angel <langel@redhat.com> | |
17368 | ||
17369 | * javax/swing/plaf/basic/BasicProgressBarUI.java | |
17370 | (paintString): Implemented to paint the string vertically. | |
17371 | ||
17372 | 2006-05-31 David Gilbert <david.gilbert@object-refinery.com> | |
17373 | ||
17374 | * javax/swing/JTable.java | |
17375 | (AccessibleJTable.AccessibleJTable()): Check for null editor, | |
17376 | (AccessibleJTable.getAccessibleRole()): Overridden to return correct | |
17377 | value, | |
17378 | (AccessibleJTable.getAccessibleTable()): Likewise, | |
17379 | (getAccessibleContext): Create new context if required. | |
17380 | ||
17381 | 2006-05-31 Roman Kennke <kennke@aicas.com> | |
17382 | ||
17383 | * javax/swing/JTabbedPane.java | |
17384 | (AccessibleJTabbedPane.stateChanged): Implemented. | |
17385 | (Page.getAccessibleStateSet): Implemented. | |
17386 | (Page.getAccessibleIndexInParent): Implemented. | |
17387 | (getAccessibleContext): Add AccessibleJTabbedPane object | |
17388 | as ChangeListener to the JTabbedPane. | |
17389 | ||
17390 | 2006-05-31 Roman Kennke <kennke@aicas.com> | |
17391 | ||
17392 | * javax/swing/JMenuItem.java | |
17393 | (getAccessibleContext): Register accessible object as ChangeListener | |
17394 | to the JMenuItem. | |
17395 | (AccessibleJMenuItem.armed): New field. | |
17396 | (AccessibleJMenuItem.focusOwner): New field. | |
17397 | (AccessibleJMenuItem.pressed): New field. | |
17398 | (AccessibleJMenuItem.selected): New field. | |
17399 | (stateChanged): Implemented. | |
17400 | ||
17401 | 2006-05-31 David Gilbert <david.gilbert@object-refinery.com> | |
17402 | ||
17403 | * javax/swing/ListSelectionModel.java: Added API docs all over. | |
17404 | ||
17405 | 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17406 | ||
17407 | * examples/gnu/classpath/examples/swing/FillRect.java | |
17408 | (paintComponent): Optionally paint lines rather than rectangles. | |
17409 | (createContent): Added option to test line painting. | |
17410 | ||
17411 | 2006-05-31 David Gilbert <david.gilbert@object-refinery.com> | |
17412 | ||
17413 | * javax/swing/event/EventListenerList.java | |
17414 | (getListenerList): Updated API docs. | |
17415 | ||
17416 | 2006-05-30 Sven de Marothy <sven@physto.se> | |
17417 | ||
17418 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
17419 | (drawImage): Clip scaled image to dest rectangle. | |
17420 | ||
17421 | 2006-05-30 Sven de Marothy <sven@physto.se> | |
17422 | ||
17423 | * gnu/java/awt/peer/gtk/CairoSurface.java: | |
17424 | (CairoSurface): Convert pixels properly. | |
17425 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
17426 | Remove commented-out lines. | |
17427 | ||
17428 | 2006-05-30 Sven de Marothy <sven@physto.se> | |
17429 | ||
17430 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
17431 | (drawImage): Use Toolkit to convert to BufferedImage. | |
17432 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
17433 | (CairoSurface(GtkImage)): New Constructor. | |
17434 | (getBufferedImage): New method. | |
17435 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
17436 | Don't fill background - FIXME. | |
17437 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: | |
17438 | Remove unused methods. | |
17439 | * gnu/java/awt/peer/gtk/GtkImage.java: | |
17440 | (pixbuflock): New field. Methods change to use this lock. | |
17441 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
17442 | (createImage): Use Cairo-backed surfaces via GtkImage instead of | |
17443 | GtkPixbufDecoder. | |
17444 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
17445 | (setPixels): Correct length in bytes. | |
17446 | ||
17447 | 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17448 | ||
17449 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call | |
17450 | System.loadLibrary unconditionally. | |
17451 | * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise. | |
17452 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise. | |
17453 | * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise. | |
17454 | * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise. | |
17455 | ||
17456 | 2006-05-30 Mark Wielaard <mark@klomp.org> | |
17457 | ||
17458 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
17459 | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): | |
17460 | Mark unused parameters, remove unused variables. | |
17461 | ||
17462 | 2006-05-30 Sven de Marothy <sven@physto.se> | |
17463 | ||
17464 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
17465 | (copyArea): Implemented. | |
17466 | * include/gnu_java_awt_peer_gtk_ComponentGraphics.h | |
17467 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c: | |
17468 | (copyAreaNative): New method. | |
17469 | ||
17470 | 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch> | |
17471 | ||
17472 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
17473 | (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only | |
17474 | for non big endian systems. | |
17475 | (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise. | |
17476 | ||
17477 | 2006-05-30 Roman Kennke <kennke@aicas.com> | |
17478 | ||
17479 | * gnu/java/awt/java2d/TexturePaintContext.java: New file. | |
17480 | * java/awt/TexturePaint.java | |
17481 | (createContext): Implemented. | |
17482 | ||
17483 | 2006-05-30 Robert Schuster <robertschuster@fsfe.org> | |
17484 | ||
17485 | * javax/swing/table/DefaultTableMode.java: Initialize dataVector | |
17486 | field early. | |
17487 | ||
17488 | 2006-05-30 Robert Schuster <robertschuster@fsfe.org> | |
17489 | ||
17490 | * java/awt/Container.java: | |
17491 | (removeAll): Reimplemented, added note. | |
17492 | ||
17493 | 2006-05-30 Robert Schuster <robertschuster@fsfe.org> | |
17494 | ||
17495 | * java/awt/Container.java: | |
17496 | (removeAll): Implemented different removal mechanism, added note. | |
17497 | ||
17498 | 2006-05-30 Lillian Angel <langel@redhat.com> | |
17499 | ||
17500 | PR 27785 | |
17501 | * java/awt/Component.java: | |
17502 | (translateEvent): Added handling to translate WindowEvents | |
17503 | * java/awt/Window.java: | |
17504 | Removed unneeded imports. | |
17505 | ||
17506 | 2006-05-30 Mark Wielaard <mark@klomp.org> | |
17507 | ||
17508 | * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add | |
17509 | cairographics2d.h. | |
17510 | ||
17511 | 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17512 | ||
17513 | * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc. | |
17514 | ||
17515 | 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17516 | ||
17517 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
17518 | (clearRect): Do not reuse the fg field, call updateColor. | |
17519 | (drawRaster): Likewise. | |
17520 | (setColor): Call updateColor. | |
17521 | (updateColor): New method. | |
17522 | ||
17523 | 2006-05-30 Mark Wielaard <mark@klomp.org> | |
17524 | ||
17525 | * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro. | |
17526 | (PTR_TO_JLONG): Likewise. | |
17527 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
17528 | (getPointer): Use new conversion macros. | |
17529 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise. | |
17530 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
17531 | (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): | |
17532 | Likewise. | |
17533 | (setNativeObject): Likewise. | |
17534 | (getNativeObject): Likewise. | |
17535 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
17536 | (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable): | |
17537 | Mark static. | |
17538 | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): | |
17539 | Correctly cast XID and pointer values. | |
17540 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c | |
17541 | (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): | |
17542 | Mark unused variables. | |
17543 | (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): | |
17544 | Likewise. | |
17545 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c | |
17546 | (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout): | |
17547 | Remove unused cairographics2d struct. | |
17548 | (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const. | |
17549 | (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer): | |
17550 | Use new conversion macros. | |
17551 | * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h. | |
17552 | ||
17553 | 2006-05-30 Mark Wielaard <mark@klomp.org> | |
17554 | ||
17555 | * include/Makefile.am (gnu_java_nio_VMChannel.h): Added. | |
17556 | ||
17557 | 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17558 | ||
17559 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
17560 | (copy): Do not reuse the fd field. | |
17561 | (setColor): Do not set the color if the parameter | |
17562 | matches fd field. | |
17563 | (translate(double, double): Rewritten to use | |
17564 | AffineTransform.translate. | |
17565 | ||
17566 | 2006-05-30 Sven de Marothy <sven@physto.se> | |
17567 | ||
17568 | * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java | |
17569 | * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h | |
17570 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c | |
17571 | New files. | |
17572 | * include/Makefile.am | |
17573 | * native/jni/gtk-peer/Makefile.am | |
17574 | Add new files. | |
17575 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
17576 | (getSharedGtkImage): New method. | |
17577 | * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java | |
17578 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
17579 | Fix copyArea. | |
17580 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
17581 | Support a non-xrender context. | |
17582 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
17583 | Plug memory leak. | |
17584 | * gnu/java/awt/peer/gtk/GtkImage.java | |
17585 | * include/gnu_java_awt_peer_gtk_GtkImage.h | |
17586 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c | |
17587 | (initFromBuffer): New method. | |
17588 | * native/jni/gtk-peer/gtkpeer.h: | |
17589 | Remove declarations of previouslyremoved methods. | |
17590 | ||
17591 | 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17592 | ||
17593 | * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm. | |
17594 | ||
17595 | 2006-05-29 Mark Wielaard <mark@klomp.org> | |
17596 | ||
17597 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
17598 | (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused | |
17599 | arguments. | |
17600 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
17601 | (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size | |
17602 | early. Remove unused return statement in void function. | |
17603 | (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare | |
17604 | ptr early. | |
17605 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
17606 | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark | |
17607 | unused arguments. | |
17608 | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise. | |
17609 | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing): | |
17610 | Likewise. | |
17611 | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing): | |
17612 | Likewise. | |
17613 | ||
17614 | 2006-05-29 Sven de Marothy <sven@physto.se> | |
17615 | ||
17616 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | |
17617 | (setPixels): Remove superfluous return statement. | |
17618 | ||
17619 | 2006-05-29 Sven de Marothy <sven@physto.se> | |
17620 | ||
17621 | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java | |
17622 | * gnu/java/awt/peer/gtk/CairoGraphics2D.java | |
17623 | * gnu/java/awt/peer/gtk/CairoSurface.java | |
17624 | * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java | |
17625 | * gnu/java/awt/peer/gtk/ComponentGraphics.java | |
17626 | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h | |
17627 | * include/gnu_java_awt_peer_gtk_CairoSurface.h | |
17628 | * include/gnu_java_awt_peer_gtk_ComponentGraphics.h | |
17629 | * native/jni/gtk-peer/cairographics2d.h | |
17630 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c | |
17631 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c | |
17632 | New files. | |
17633 | ||
17634 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
17635 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
17636 | * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h | |
17637 | Removed | |
17638 | ||
17639 | * include/gnu_java_awt_peer_gtk_GdkFontPeer.h | |
17640 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c | |
17641 | * gnu/java/awt/peer/gtk/GdkFontPeer.java | |
17642 | (releasePeerGraphicsResource): Moved to Font peer class. | |
17643 | ||
17644 | * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java | |
17645 | (createGraphics): Use new context classes. | |
17646 | ||
17647 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: | |
17648 | Use native BufferedImages where possible. | |
17649 | ||
17650 | * gnu/java/awt/peer/gtk/GdkTextLayout.java | |
17651 | * include/gnu_java_awt_peer_gtk_GdkTextLayout.h | |
17652 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c | |
17653 | Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class, | |
17654 | renamed to cairoDrawGdkTextLayout. | |
17655 | ||
17656 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
17657 | (getGraphics): Use ComponentGraphics context. | |
17658 | (createImage): Use native BufferedImage. | |
17659 | ||
17660 | * gnu/java/awt/peer/gtk/GtkImage.java: | |
17661 | * include/gnu_java_awt_peer_gtk_GtkImage.h | |
17662 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c | |
17663 | Remove pixmap support. (GtkImage(int, int) constructor, getGraphics) | |
17664 | Remove drawing methods. | |
17665 | ||
17666 | * gnu/java/awt/print/JavaPrinterGraphics.java: | |
17667 | Use CairoSurface instead of GtkImage. | |
17668 | ||
17669 | * include/Makefile.am | |
17670 | * native/jni/gtk-peer/Makefile.am | |
17671 | Update for new files. | |
17672 | ||
17673 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c | |
17674 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c | |
17675 | Remove superfluous GtkImage code for GdkPixmaps. | |
17676 | ||
17677 | * native/jni/gtk-peer/gtkpeer.h | |
17678 | Remove graphics2d structure. | |
17679 | ||
ac1ed908 MW |
17680 | 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
17681 | ||
17682 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor): | |
17683 | Do not reuse fg in the constructor. | |
17684 | ||
17685 | 2006-05-29 Carsten Neumann <cn-develop@gmx.net> | |
17686 | ||
17687 | * java/io/ObjectStreamConstants.java: Added API docs. | |
17688 | ||
17689 | 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17690 | ||
17691 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor): | |
17692 | Take no action if this color is already set. | |
17693 | ||
17694 | 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17695 | ||
17696 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate): | |
17697 | Rewritten. | |
17698 | * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent): | |
17699 | Optionally paint with translation. (createContent): Added option | |
17700 | to test painting with translation | |
17701 | ||
17702 | 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au> | |
17703 | ||
17704 | * java/util/logging/FileHandler.java (FileHandler): Set the instance field | |
17705 | pattern to the default value when null. | |
17706 | Pass field pattern, and not parameter with same name to createFileStream. | |
17707 | ||
17708 | 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
17709 | ||
17710 | * gnu/java/lang/management/OperatingSystemMXBeanImpl.java: | |
17711 | New class implementing the OS bean. | |
17712 | * gnu/java/lang/management/package.html: | |
17713 | New file to document the gnu.java.lang.management package. | |
17714 | * java/lang/management/ManagementFactory.java: | |
17715 | New class to provide access to the OS bean. | |
17716 | * java/lang/management/OperatingSystemMXBean.java: | |
17717 | New interface. | |
17718 | * java/lang/management/package.html: | |
17719 | New file to document the java.lang.management package. | |
17720 | ||
17721 | 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au> | |
17722 | ||
17723 | * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant. | |
17724 | (JKS): Likewise. | |
17725 | (LIB): Likewise. | |
17726 | (SECURITY): Likewise. | |
17727 | (CACERTS): Likewise. | |
17728 | (CACERTS_GKR): Likewise. | |
17729 | (gkrCaCertsPathName): New field. | |
17730 | (jksCaCertsPathName): Likewise. | |
17731 | (selfSignedCertificate): Likewise. | |
17732 | (start): Initialize trusted certificate key stores if -trustcacerts is | |
17733 | specified. | |
17734 | (ensureReplyIsOurs): Initialize selfSignedCertificate. | |
17735 | (orderChain): Implemented. | |
17736 | (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted | |
17737 | certificate key stores if -trustcacerts option is specified. | |
17738 | (findTrustInCACerts): Removed. | |
17739 | (getCertPathParameters): New method. | |
17740 | (validate): New method. | |
17741 | * resource/gnu/classpath/tools/keytool/messages.properties: Added message. | |
17742 | ||
17743 | 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au> | |
17744 | ||
17745 | * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant. | |
17746 | (PATTERN_KEY): Likewise. | |
17747 | (DEFAULT_PATTERN): Likewise. | |
17748 | (LIMIT_KEY): Likewise. | |
17749 | (DEFAULT_LIMIT): Likewise. | |
17750 | (COUNT_KEY): Likewise. | |
17751 | (DEFAULT_COUNT): Likewise. | |
17752 | (APPEND_KEY): Likewise. | |
17753 | (DEFAULT_APPEND): Likewise. | |
17754 | (FileHandler()): Use pattern value as set in logging.properties. | |
17755 | Use constants defined above. | |
17756 | (FileHandler(1)): Use constants defined above. | |
17757 | (FileHandler(2)): Likewise. | |
17758 | (FileHandler(3)): Likewise. | |
17759 | (FileHandler(4)): Likewise. | |
17760 | (createFileStream): Likewise. | |
17761 | ||
17762 | 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au> | |
17763 | ||
17764 | * java/util/logging/FileHandler.java: Reverted previous patch. | |
17765 | * java/util/logging/LogManager.java: Likewise. | |
17766 | ||
17767 | 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au> | |
17768 | ||
17769 | * java/util/logging/FileHandler.java (PATTERN_KEY): New constant. | |
17770 | (DEFAULT_PATTERN): Likewise. | |
17771 | (FileHandler()): Use configured pattern property if any; otherwise use a | |
17772 | default value as per RI documentation. | |
17773 | * java/util/logging/LogManager.java (getStringProperty): New method. | |
17774 | ||
17775 | 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17776 | ||
17777 | * NEWS: Announce libjawtgnu.so-to-libjawt.so rename. | |
17778 | ||
17779 | 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17780 | ||
17781 | * configure.ac (FOUND_CACAO): New automake conditional. | |
17782 | Add --enable-tool-wrappers. | |
17783 | * NEWS: Introduce the --enable-tool-wrappers option. | |
17784 | * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries. | |
17785 | * tools/appletviewer.c: Remove file. Make tool-indepedent and | |
17786 | rename ... | |
17787 | * tools/toolwrapper.c: New file. | |
17788 | ||
17789 | 2006-05-27 Dalibor Topic <robilad@kaffe.org> | |
17790 | ||
17791 | * java/awt/Graphics2D.java: Use full class name for | |
17792 | PrinterJob in javadoc. | |
17793 | ||
17794 | 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch> | |
17795 | ||
17796 | * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning. | |
17797 | (callMouseMethod): Likewise. | |
17798 | ||
17799 | 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
17800 | ||
17801 | * native/jni/java-net/java_net_VMURLConnection.c: | |
17802 | Fix function declarations to specify unused parameters. | |
17803 | * scripts/check_jni_methods.sh: | |
17804 | Remove copies of the same function using uniq. | |
17805 | ||
17806 | 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
17807 | ||
17808 | * vm/reference/java/net/VMURLConnection.java: | |
17809 | Make package-private and final. | |
17810 | ||
17811 | 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17812 | ||
17813 | * examples/gnu/classpath/examples/swing/TableDemo.java | |
17814 | (TModed): Added editor for the icons column. | |
17815 | (createContent): Increase the row height by 2 px. | |
17816 | ||
17817 | 2006-05-26 Tom Tromey <tromey@redhat.com> | |
17818 | ||
17819 | PR classpath/27685: | |
17820 | * java/math/BigInteger.java (modPow): Correctly handle negative | |
17821 | exponent. | |
17822 | ||
17823 | 2006-05-26 Tom Tromey <tromey@redhat.com> | |
17824 | ||
17825 | * configure.ac: Check for magic.h and -lmagic. | |
17826 | * vm/reference/java/net/VMURLConnection.java: New file. | |
17827 | * include/java_net_VMURLConnection.h: New file. | |
17828 | * include/Makefile.am (H_FILES): Add VMURLConnection.h. | |
17829 | ($(top_srcdir)/include/java_net_VMURLConnection.h): New target. | |
17830 | * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES): | |
17831 | Mention new file. | |
17832 | (libjavanet_la_LIBADD): Add $(LIBMAGIC). | |
17833 | * native/jni/java-net/java_net_VMURLConnection.c: New file. | |
17834 | ||
17835 | 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17836 | ||
17837 | * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing. | |
17838 | ||
17839 | 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17840 | ||
17841 | * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename | |
17842 | libjawtgnu.la libjawt.la. | |
17843 | ||
17844 | 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17845 | ||
17846 | * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove | |
17847 | gtkcairopeer.h. | |
17848 | ||
17849 | 2006-05-25 Lillian Angel <langel@redhat.com> | |
17850 | ||
17851 | PR 26174 | |
17852 | * java/awt/Window.java | |
17853 | (Window): Moved code to helper. | |
17854 | (addWindowFocusListener): New function. Handles focus | |
17855 | listener code. Added code to handle focus lost/gained | |
17856 | from the window. | |
17857 | ||
17858 | 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
17859 | ||
17860 | * configure.ac: | |
17861 | Make pkg-config check for GTK+ >= 2.8. | |
17862 | ||
17863 | 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17864 | ||
17865 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
17866 | (flush): Remove debugging printfs. | |
17867 | ||
17868 | 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17869 | ||
17870 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
17871 | (schedule_flush): New function. | |
17872 | (end_drawing_operation): Call schedule_flush. | |
17873 | ||
17874 | 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17875 | ||
17876 | * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect | |
17877 | paint performance demo. | |
17878 | * examples/gnu/classpath/examples/swing/FillRect.java: New file. | |
17879 | ||
17880 | 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com> | |
17881 | ||
17882 | * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention | |
17883 | Cairo version requirement. Do not mention --enable-gtk-cairo | |
17884 | configure option. | |
17885 | * NEWS: Add entry for GdkGraphics2D. | |
17886 | * configure.ac: Remove --enable-gtk-cairo and explicit checks for | |
17887 | Cairo library and headers. | |
17888 | * .externalToolBuilders/Configure.launch: Remove | |
17889 | --enable-gtk-cairo from configure line. | |
17890 | * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove | |
17891 | field. | |
17892 | * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo. | |
17893 | * gnu/java/awt/peer/gtk/GdkFontPeer.java, | |
17894 | native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove | |
17895 | useGraphics2D references. Always assume Graphics2D is enabled. | |
17896 | * gnu/java/awt/peer/gtk/GdkGraphics.java, | |
17897 | native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove. | |
17898 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java, | |
17899 | native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove | |
17900 | Unlocked method variants. Remove GTK_CAIRO_ENABLED and | |
17901 | useGraphics2D references. Always assume Graphics2D is enabled. | |
17902 | * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof | |
17903 | Graphics2D check. Always assume Graphics2D is enabled. | |
17904 | * gnu/java/awt/peer/gtk/GtkCanvasPeer.java, | |
17905 | native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c | |
17906 | (realize): Remove method. | |
17907 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
17908 | native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
17909 | (isRealized): Remove method. | |
17910 | (realize): Implement as a native method. Remove useGraphics2D | |
17911 | references. Always assume Graphics2D is enabled. | |
17912 | * gnu/java/awt/peer/gtk/GtkImage.java, | |
17913 | native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace | |
17914 | GdkGraphics references with GdkGraphics2D references. | |
17915 | * gnu/java/awt/peer/gtk/GtkToolkit.java, | |
17916 | native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove | |
17917 | useGraphics2D references. Always assume Graphics2D is enabled. | |
17918 | * include/Makefile.am (GTKPEER_H_FILES): Remove | |
17919 | gnu_java_awt_peer_gtk_GdkGraphics.h. | |
17920 | * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate. | |
17921 | * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove. | |
17922 | * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate. | |
17923 | * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise. | |
17924 | * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise. | |
17925 | * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS. | |
17926 | * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove | |
17927 | gnu_java_awt_peer_gtk_GdkGraphics.c. Include | |
17928 | gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally. | |
17929 | (AM_LDFLAGS): Remove CAIRO_LIBS. | |
17930 | (AM_CFLAGS): Remove CAIRO_CFLAGS. | |
17931 | * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations | |
17932 | to ... | |
17933 | * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations. | |
17934 | ||
17935 | 2006-05-25 Lillian Angel <langel@redhat.com> | |
17936 | ||
17937 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
17938 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked): | |
17939 | Added check to prevent assertion error. If widget->window is null, then | |
17940 | use the parent widget's window to set the cursor on. | |
17941 | ||
17942 | 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17943 | ||
17944 | * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction): | |
17945 | Implemented. | |
17946 | ||
17947 | 2006-05-24 Lillian Angel <langel@redhat.com> | |
17948 | ||
17949 | * tools/gnu/classpath/tools/appletviewer/AppletTag.java | |
17950 | (prependCodeBase): Added check to determine if the documentbase | |
17951 | points to a directory or a file. | |
17952 | ||
17953 | 2006-05-24 Sven de Marothy <sven@physto.se> | |
17954 | ||
17955 | * java/awt/dnd/DragGestureRecognizer.java | |
17956 | (resetRecognizer): Implement. | |
17957 | (fireDragGestureRecognized): Implement. | |
17958 | ||
17959 | 2006-05-24 David Gilbert <david.gilbert@object-refinery.com> | |
17960 | ||
17961 | * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and | |
17962 | fixed source code formatting. | |
17963 | ||
17964 | 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17965 | ||
17966 | * javax/swing/JTable.java (valueChanged): If is editing, stop editing. | |
17967 | ||
17968 | 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17969 | ||
17970 | Reported by Antony Balkisson. | |
17971 | * javax/swing/JTable.java (selectAll): Return without action | |
17972 | if the table is empty. | |
17973 | ||
17974 | 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17975 | ||
17976 | * examples/gnu/classpath/examples/swing/TableDemo.java: | |
17977 | (SliderCell): New inner class. (setCustomEditors, | |
17978 | setInformativeHeaders): New fields. (createContent): | |
17979 | Rewritten. | |
17980 | * javax/swing/DefaultCellEditor.java | |
17981 | (JComboBoxDelegate.shouldSelectCell): New method. | |
17982 | * javax/swing/JTable.java (editCellAt): Call shouldSelectCell. | |
17983 | * javax/swing/plaf/basic/BasicTableUI.java | |
17984 | (MouseInputHandler.mouseClicked): Start editing on a single | |
17985 | click if the cell editor is not a default cell editor. | |
17986 | ||
17987 | 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
17988 | ||
17989 | * javax/swing/naming/CompositeName.java, | |
17990 | javax/swing/naming/CompoundName.java: | |
17991 | Documented. | |
17992 | ||
17993 | 2006-05-23 Archie Cobbs <archie@dellroad.org> | |
17994 | ||
17995 | * vm/reference/java/lang/VMClassLoader.java: fix static initializer | |
17996 | ordering problem. | |
17997 | ||
17998 | 2006-05-23 David Gilbert <david.gilbert@object-refinery.com> | |
17999 | ||
18000 | * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes, | |
18001 | * javax/swing/tree/DefaultMutableTreeNode.java: Likewise, | |
18002 | * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise, | |
18003 | * javax/swing/tree/DefaultTreeModel.java: Likewise, | |
18004 | * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise, | |
18005 | * javax/swing/tree/ExpandVetoException.java: Likewise, | |
18006 | * javax/swing/tree/FixedHeightLayoutCache.java: Likewise, | |
18007 | * javax/swing/tree/RowMapper.java: Likewise, | |
18008 | * javax/swing/tree/TreeNode.java: Likewise, | |
18009 | * javax/swing/tree/TreeSelectionModel.java: Likewise, | |
18010 | * javax/swing/tree/VariableHeightLayoutCache.java: Likewise. | |
18011 | ||
18012 | 2006-05-23 David Gilbert <david.gilbert@object-refinery.com> | |
18013 | ||
18014 | * javax/swing/tree/DefaultTreeCellRenderer.java | |
18015 | (DefaultTreeCellRenderer): Changed key for | |
18016 | setBackgroundNonSelectionColor(), | |
18017 | plus API docs all over. | |
18018 | ||
18019 | 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18020 | ||
18021 | PR 27680 | |
18022 | * javax/swing/JTable.java (booleanInvertingEditor): New field. | |
18023 | (defaultEditorsByColumnClass, defaultRenderersByColumnClass): | |
18024 | Initialise in constructor. (columnMoved): Cancel editing. | |
18025 | (createDefaultEditors): Rewritten. (editCellAt): | |
18026 | Just invert the value if this is a boolean cell. | |
18027 | (initialiseLocalVars): Do not initialise renderer and editor tables. | |
18028 | (setUI): Create editors and renderers here. | |
18029 | ||
18030 | 2006-05-23 Robert Schuster <robertschuster@fsfe.org> | |
18031 | ||
18032 | * examples/gnu/classpath/examples/awt/Demo.java: | |
18033 | (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow | |
18034 | instance as subframe. | |
18035 | (ResolutionWindow): New inner class. | |
18036 | (FullscreenWindow): New inner class. | |
18037 | ||
18038 | 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18039 | ||
18040 | PR 27680 | |
18041 | * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer): | |
18042 | Set horizontal alignment to centered. | |
18043 | ||
18044 | 2006-05-22 David Gilbert <david.gilbert@object-refinery.com> | |
18045 | ||
18046 | * javax/accessibility/AccessibleContext.java | |
18047 | (getAccessibleComponent): Fixed typo in docs, | |
18048 | * javax/swing/JLabel.java: | |
18049 | (AccessibleJLabel.getAccessibleName): Check for explicit | |
18050 | accessibleName, | |
18051 | * javax/swing/JTableHeader.java | |
18052 | (AccessibleJTableHeaderEntry.columnIndex): New field, | |
18053 | (AccessibleJTableHeaderEntry.parent): New field, | |
18054 | (AccessibleJTableHeaderEntry.table): New field, | |
18055 | (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): | |
18056 | Implemented, | |
18057 | (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New | |
18058 | utility method, | |
18059 | (AccessibleJTableHeaderEntry.addFocusListener): Implemented, | |
18060 | (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented, | |
18061 | (AccessibleJTableHeaderEntry.contains): Implemented, | |
18062 | (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented, | |
18063 | (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented, | |
18064 | (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented, | |
18065 | (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented, | |
18066 | (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented, | |
18067 | (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented, | |
18068 | (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented, | |
18069 | (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented, | |
18070 | (AccessibleJTableHeaderEntry.getAccessibleName): Implemented, | |
18071 | (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented, | |
18072 | (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented, | |
18073 | (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented, | |
18074 | (AccessibleJTableHeaderEntry.getAccessibleText): Implemented, | |
18075 | (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented, | |
18076 | (AccessibleJTableHeaderEntry.getBackground): Implemented, | |
18077 | (AccessibleJTableHeaderEntry.getBounds): Implemented, | |
18078 | (AccessibleJTableHeaderEntry.getCursor): Implemented, | |
18079 | (AccessibleJTableHeaderEntry.getFont): Implemented, | |
18080 | (AccessibleJTableHeaderEntry.getFontMetrics): Implemented, | |
18081 | (AccessibleJTableHeaderEntry.getForeground): Implemented, | |
18082 | (AccessibleJTableHeaderEntry.getLocation): Implemented, | |
18083 | (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented, | |
18084 | (AccessibleJTableHeaderEntry.getSize): Implemented, | |
18085 | (AccessibleJTableHeaderEntry.isEnabled): Implemented, | |
18086 | (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented, | |
18087 | (AccessibleJTableHeaderEntry.isShowing): Implemented, | |
18088 | (AccessibleJTableHeaderEntry.isVisible): Implemented, | |
18089 | (AccessibleJTableHeaderEntry.removeFocusListener): Implemented, | |
18090 | (AccessibleJTableHeaderEntry.removePropertyChangeListener): | |
18091 | Implemented, | |
18092 | (AccessibleJTableHeaderEntry.requestFocus): Implemented, | |
18093 | (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented, | |
18094 | (AccessibleJTableHeaderEntry.setAccessibleName): Implemented, | |
18095 | (AccessibleJTableHeaderEntry.setBackground): Implemented, | |
18096 | (AccessibleJTableHeaderEntry.setBounds): Implemented, | |
18097 | (AccessibleJTableHeaderEntry.setCursor): Implemented, | |
18098 | (AccessibleJTableHeaderEntry.setEnabled): Implemented, | |
18099 | (AccessibleJTableHeaderEntry.setFont): Implemented, | |
18100 | (AccessibleJTableHeaderEntry.setForeground): Implemented, | |
18101 | (AccessibleJTableHeaderEntry.setLocation): Implemented, | |
18102 | (AccessibleJTableHeaderEntry.setSize): Implemented, | |
18103 | (AccessibleJTableHeaderEntry.setVisible): Implemented, | |
18104 | (AccessibleJTableHeader.getAccessibleRole): Implemented, | |
18105 | (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented, | |
18106 | (AccessibleJTableHeader.getAccessibleChild): Implemented, | |
18107 | (AccessibleJTableHeader.getAccessibleAt): Implemented. | |
18108 | ||
18109 | 2006-05-22 Tom Tromey <tromey@redhat.com> | |
18110 | ||
18111 | * NEWS: Updated. | |
18112 | ||
18113 | 2006-05-22 David Gilbert <david.gilbert@object-refinery.com> | |
18114 | ||
18115 | * javax/swing/JLabel.java | |
18116 | (AccessibleJLabel.getAccessibleName): New method (override), | |
18117 | (setLabelFor): Fire 'labelFor' property change event before other | |
18118 | events. | |
18119 | ||
18120 | 2006-05-22 David Gilbert <david.gilbert@object-refinery.com> | |
18121 | ||
18122 | * javax/swing/JLabel.java | |
18123 | (AccessibleJLabel.getAccessibleRole): New method (override). | |
18124 | ||
18125 | 2006-05-22 Tom Tromey <tromey@redhat.com> | |
18126 | ||
18127 | * resource/gnu/classpath/tools/serialver/messages.properties: New | |
18128 | file. | |
18129 | * tools/gnu/classpath/tools/serialver/Messages.java: New file. | |
18130 | * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New | |
18131 | field. | |
18132 | (classpath): Likewise. | |
18133 | (run): New method. | |
18134 | (main): Use it. | |
18135 | (addFileURL): New method. | |
18136 | (getClassLoader): Likewise. | |
18137 | (printMessage): Likewise. | |
18138 | ||
18139 | 2006-05-22 Tom Tromey <tromey@redhat.com> | |
18140 | ||
18141 | * tools/gnu/classpath/tools/serialver/SerialVer.java: New file. | |
18142 | ||
18143 | 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18144 | ||
18145 | * javax/swing/JTable.java (doLayout): In the column | |
18146 | resize mode, only repaing the changed part of the table. | |
18147 | (getLeftResizingBoundary): New method. | |
18148 | ||
18149 | 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18150 | ||
18151 | * javax/naming/spi/InitialContextFactory.java, | |
18152 | javax/naming/spi/InitialContextFactoryBuilder.java, | |
18153 | javax/naming/spi/NamingManager.java, | |
18154 | javax/naming/spi/ObjectFactory.java, | |
18155 | javax/naming/spi/ResolveResult.java, | |
18156 | javax/naming/spi/Resolver.java, | |
18157 | javax/naming/spi/StateFactory.java: Documented. | |
18158 | ||
18159 | 2006-05-21 Tom Tromey <tromey@redhat.com> | |
18160 | ||
18161 | PR classpath/27688: | |
18162 | * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now | |
18163 | a WorkSet. | |
18164 | (initSet): Removed. | |
18165 | (shouldExtract): Removed. | |
18166 | (run): Updated. | |
18167 | * tools/gnu/classpath/tools/jar/WorkSet.java: New file. | |
18168 | * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New | |
18169 | method. | |
18170 | (listJar): Use it. | |
18171 | (allItems): New field. | |
18172 | (run): Initialize it. | |
18173 | (listJar): Use it. | |
18174 | ||
18175 | 2006-05-22 Sven de Marothy <sven@physto.se> | |
18176 | ||
18177 | * java/nio/CharBuffer.java | |
18178 | (wrap): Fix bounds checking. | |
18179 | ||
18180 | 2004-08-26 Tom Tromey <tromey@redhat.com> | |
18181 | ||
18182 | * java/io/OutputStream.java | |
18183 | (OutputStream): Implements Closeable, Flushable. | |
18184 | ||
18185 | 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
18186 | ||
18187 | * java/io/ObjectOutputStream.java: | |
18188 | (writeObject(Object)): Added enum support. | |
18189 | (writeClassDescriptor(ObjectStreamClass)): Likewise. | |
18190 | * java/io/ObjectStreamClass.java: | |
18191 | (isEnum()): New package-private method. | |
18192 | (setFlags(Class)): Added enum support. | |
18193 | * java/io/ObjectStreamConstants.java: | |
18194 | (SC_ENUM): Added. | |
18195 | ||
18196 | 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
18197 | ||
18198 | * java/io/ObjectInputStream.java: | |
18199 | (parseContent(byte)): Added enum support. | |
18200 | * java/io/ObjectStreamConstants.java: | |
18201 | (TC_ENUM): Added. | |
18202 | (TC_MAX): Changed to new maximum, TC_ENUM. | |
18203 | ||
18204 | 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
18205 | ||
18206 | * java/beans/beancontext/BeanContextSupport.java: | |
18207 | (instantiateChild(String)): Implemented. | |
18208 | ||
18209 | 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
18210 | ||
18211 | * java/beans/beancontext/BeanContextSupport.java: | |
18212 | (add(Object)): Add further documentation. | |
18213 | (isEmpty()): Documented. | |
18214 | (propertyChange(PropertyChangeEvent)): Implemented. | |
18215 | (remove(Object)): Documented. | |
18216 | (remove(Object,boolean)): Documented and implemented. | |
18217 | (vetoableChange(PropertyChangeEvent)): Marked as | |
18218 | implemented (only subclasses appear to need this). | |
18219 | ||
18220 | 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
18221 | ||
18222 | * java/beans/beancontext/BeanContextSupport.java: | |
18223 | (add(Object)): Implement support for the child being | |
18224 | a BeanContextChild. | |
18225 | (avoidingGui()): Implemented. | |
18226 | (dontUseGui()): Likewise. | |
18227 | (needsGui()): Likewise. | |
18228 | (okToUseGui()): Likewise. | |
18229 | ||
18230 | 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18231 | ||
18232 | * javax/naming/Context.java, | |
18233 | javax/naming/ContextNotEmptyException.java, | |
18234 | javax/naming/Reference.java: Documented. | |
18235 | ||
18236 | 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18237 | ||
18238 | * javax/swing/text/html/MinimalHTMLWriter.java | |
18239 | (writeComponent, writeImage): Declare that the method | |
18240 | may throw the IOException. | |
18241 | ||
18242 | 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18243 | ||
18244 | PR 26972 | |
18245 | * javax/naming/InitialContext.java (colon_list): Changed type to | |
18246 | hashset. (use_properties): New field. (init(Hashtable)): Rewritten. | |
18247 | (merge): Rewritten. | |
18248 | ||
18249 | 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18250 | ||
18251 | * javax/naming/InitialContext.java: Documented. | |
18252 | ||
18253 | 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18254 | ||
18255 | * javax/naming/NameParser.java, | |
18256 | javax/naming/NamingEnumeration.java, | |
18257 | javax/naming/PartialResultException.java, | |
18258 | javax/naming/SizeLimitExceededException.java, | |
18259 | javax/naming/spi/ObjectFactory.java, | |
18260 | javax/naming/spi/ObjectFactoryBuilder.java: Documented. | |
18261 | ||
18262 | 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
18263 | ||
18264 | * gnu/java/net/loader/JarURLLoader.java: | |
18265 | Use Map.Entry instead of LinkedHashMap.Entry | |
18266 | ||
18267 | 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18268 | ||
18269 | * javax/naming/Context.java: Documented. | |
18270 | ||
18271 | 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18272 | ||
18273 | * javax/naming/Referenceable.java: Documented. | |
18274 | * javax/naming/spi/NamingManager.java: Documented. | |
18275 | ||
18276 | 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au> | |
18277 | ||
18278 | * doc/tools.texinfo: Replaced references to MessageBundle.properties | |
18279 | to messages.properties. | |
18280 | * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties: | |
18281 | Renamed to messages.properties. | |
18282 | * resource/gnu/classpath/tools/keytool/MessageBundle.properties: | |
18283 | Likewise. | |
18284 | * resource/gnu/classpath/tools/jarsigner/messages.properties: | |
18285 | Renamed from MessageBundle.properties. | |
18286 | Added copyright notice. | |
18287 | * resource/gnu/classpath/tools/keytool/messages.properties: | |
18288 | Likewise. | |
18289 | * tools/gnu/classpath/tools/jarsigner/Messages.java | |
18290 | (BUNDLE_NAME): Use messages instead of MessageBundle properties file. | |
18291 | (getFormattedString): Fixed a spelling mistake. | |
18292 | * tools/gnu/classpath/tools/keytool/Messages.java: Likewise. | |
18293 | ||
18294 | 2006-05-20 Sven de Marothy <sven@physto.se> | |
18295 | ||
18296 | * gnu/java/awt/font/opentype/NameDecoder.java | |
18297 | Made class public. | |
18298 | (getName): Use getShort instead of getChar(), fix PS name. | |
18299 | (decodeName): New method. | |
18300 | * gnu/java/awt/peer/gtk/GdkFontPeer.java | |
18301 | (getSubFamilyName): Implement. | |
18302 | (getPostScriptName): Use the NameDecoder class instead. | |
18303 | (parsePSName): Removed. | |
18304 | (getName): Added | |
18305 | ||
18306 | 2006-05-20 Sven de Marothy <sven@physto.se> | |
18307 | ||
18308 | * gnu/java/awt/peer/gtk/GdkFontPeer.java | |
18309 | (getTrueTypeTable): New native method. | |
18310 | (getPostScriptName): Reimplement. | |
18311 | (parsePSName): New method. | |
18312 | (getNumGlyphs): Implement. | |
18313 | * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method. | |
18314 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c | |
18315 | (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable): | |
18316 | New function. File is now explicitly dependent on FT2. | |
18317 | ||
18318 | 2006-05-20 Tom Tromey <tromey@redhat.com> | |
18319 | ||
18320 | * tools/gnu/classpath/tools/native2ascii/Messages.java: New file. | |
18321 | * resource/gnu/classpath/tools/native2ascii/messages.properties: New | |
18322 | file. | |
18323 | * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java | |
18324 | (HandleFile): New class. | |
18325 | (input, output, encoding, reversed): New fields. | |
18326 | (createParser): New method. | |
18327 | (run): Likewise. | |
18328 | (main): Use 'run'. | |
18329 | * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java | |
18330 | (notifyFile): Throws OptionException. | |
18331 | ||
18332 | 2006-05-20 Tom Tromey <tromey@redhat.com> | |
18333 | ||
18334 | * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file, | |
18335 | from cp-tools. | |
18336 | ||
18337 | 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
18338 | ||
18339 | * native/jni/java-nio/gnu_java_nio_VMChannel.c: | |
18340 | (JCL_print_buffer): Fix to work with -Werror on 64-bit | |
18341 | platforms. | |
18342 | ||
18343 | 2006-05-20 Sven de Marothy <sven@physto.se> | |
18344 | ||
18345 | * java/awt/Font.java (getNumGlyphs): Call correct peer method. | |
18346 | ||
18347 | 2006-05-20 Sven de Marothy <sven@physto.se> | |
18348 | ||
18349 | * gnu/java/awt/print/JavaPrinterJob.java | |
18350 | (print): Use PostScriptGraphics2D. | |
18351 | * gnu/java/awt/print/PostScriptGraphics2D.java: New file. | |
18352 | ||
18353 | 2006-05-20 Sven de Marothy <sven@physto.se> | |
18354 | ||
18355 | * javax/swing/text/html/MinimalHTMLWriter.java: New file | |
18356 | ||
18357 | 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au> | |
18358 | ||
18359 | * gnu/java/security/OID.java: Updated copyright year. | |
18360 | (OID): Removed unused Javadoc param tag. | |
18361 | * gnu/java/security/prng/PRNGFactory.java: Removed unused import. | |
18362 | * gnu/java/security/hash/MD4.java: Fixed a Javadoc link. | |
18363 | ||
18364 | 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au> | |
18365 | ||
18366 | * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases): | |
18367 | Formatting. | |
18368 | Added trace/debug statements. | |
18369 | (engineSetCertificateEntry): Ensure alias is not already used for a Key | |
18370 | Entry. Also ensure that any previous entry for this alias is removed | |
18371 | before a new one is added. | |
18372 | (engineGetKey): Do not trace/log passwords. | |
18373 | Trace key's class name only. | |
18374 | (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted | |
18375 | Certificate Entry. Also ensure that previous entry for this alias is | |
18376 | removed before a new one is added. | |
18377 | (engineLoad): Do not trace/log passwords. | |
18378 | (engineStore): Likewise. | |
18379 | (engineSize): Use size of enumeration instead of collection size. | |
18380 | ||
18381 | 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au> | |
18382 | ||
18383 | * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting. | |
18384 | (toString): New method. | |
18385 | * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt): | |
18386 | Do not trace/log passwords. | |
18387 | Set masked to false before decoding envelope. | |
18388 | Do not set payload to null. | |
18389 | (encrypt): Set masked to true. | |
18390 | * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify): | |
18391 | Do not trace/log passwords. | |
18392 | Set masked to false before decoding envelope. | |
18393 | Do not set payload to null. | |
18394 | Added trace/debug statements. | |
18395 | (authenticate): Do not trace/log passwords. | |
18396 | Set masked to true. | |
18397 | Added trace/debug statements. | |
18398 | (getMac): Added trace/debug statements. | |
18399 | * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java | |
18400 | (remove(String)): Changed the signature to return a boolean. | |
18401 | (toString): New method. | |
18402 | * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate): | |
18403 | Formatting | |
18404 | (getCertificate): Likewise. | |
18405 | (putCertificate): Likewise. | |
18406 | (load): Likewise. | |
18407 | Do not trace/log passwords. | |
18408 | (store): Likewise. | |
18409 | * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey): | |
18410 | Do not trace/log passwords. | |
18411 | Added more trace/logging statements. | |
18412 | (putPrivateKey): Do not trace/log passwords. | |
18413 | Trace only key's class name. | |
18414 | Formatting. | |
18415 | (containsPublicKey): Formatting. | |
18416 | (getPublicKey): Likewise. | |
18417 | Trace only key's class name. | |
18418 | (putPublicKey): Trace only key's class name. | |
18419 | (containsCertPath): Formatting. | |
18420 | (getCertPath): Likewise. | |
18421 | (putCertPath): Likewise. | |
18422 | (load): Do not trace/log passwords. | |
18423 | Formatting. | |
18424 | (store): Likewise. | |
18425 | * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field. | |
18426 | (add): Do not set payload to null. | |
18427 | Added trace/debug statements. | |
18428 | (containsAlias): Added trace/debug statements. | |
18429 | (get): Likewise. | |
18430 | (remove(Entry)): Likewise. | |
18431 | (remove(String)): Likewise. | |
18432 | Changed the signature to return a boolean. | |
18433 | Do not set payload to null unless really removed. | |
18434 | (toString): New method. | |
18435 | (decodeEnvelope): Clear entries before proceeding. | |
18436 | (makeAliasList): Added trace/debug statements. | |
18437 | Ensure only non-null aliases and alias-lists are added. | |
18438 | * gnu/javax/crypto/keyring/Entry.java (log): New field. | |
18439 | (TYPES): New constant. | |
18440 | (toString): New method. | |
18441 | (defaultDecode): Add trace/debug statement. | |
18442 | ||
18443 | 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au> | |
18444 | ||
18445 | * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc): | |
18446 | Increased visibility. | |
18447 | (setup): Do not trace/log passwords. | |
18448 | (parsed): Was not setting correct (rfc) field; fixed. | |
18449 | (print1Chain): Formatting. | |
18450 | * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup): | |
18451 | Do not trace/log passwords. | |
18452 | * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise. | |
18453 | * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise. | |
18454 | * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise. | |
18455 | * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise. | |
18456 | * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise. | |
18457 | * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise. | |
18458 | (orderChain): Added FIXME. | |
18459 | * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup): | |
18460 | Do not trace/log passwords. | |
18461 | Removed commented out code. | |
18462 | * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise. | |
18463 | * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise. | |
18464 | * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting. | |
18465 | (setKeystoreURLParam): Likewise. | |
18466 | (setKeystorePasswordParam): Do not trace/log passwords. | |
18467 | (saveKeyStore): Likewise. | |
18468 | ||
18469 | 2006-05-19 Roman Kennke <kennke@aicas.com> | |
18470 | ||
18471 | * gnu/java/awt/java2d/AbstractGraphics2D.java | |
18472 | Added class docs. | |
18473 | (pixel): Removed obsolete field. | |
18474 | (draw(Shape)): Removed commented out code. | |
18475 | (drawImage): Formatting. | |
18476 | (drawString): Added optimization hook. | |
18477 | (setPaint): Removed rawSetForeground(). | |
18478 | (getFontRenderContext): Return context with correct transform. | |
18479 | (drawGlyphVector): Draw complete outline in one go. | |
18480 | (copyArea): Added optimization hook. | |
18481 | (clearRect): Added optimization hook. | |
18482 | (drawImage): Added optimization hook. | |
18483 | (fillShape): (Temporarily) Set antialiasing off by default for | |
18484 | font rendering. Adjust the shape by some bits to improve rendering. | |
18485 | Pass clip bounds to the render methods. | |
18486 | (drawPixel): Removed. | |
18487 | (rawSetPixel): Removed. | |
18488 | (rawSetForeground): Removed. | |
18489 | (rawDrawLine): Default impl calls standard pipeline. | |
18490 | (rawDrawString): New method, calls standard pipeline for rendering. | |
18491 | (rawClearRect): New method, calls standard pipeline for rendering. | |
18492 | (rawFillRect): New method, calls standard pipeline for rendering. | |
18493 | (rawDrawImage): New method, calls standard pipeline for rendering. | |
18494 | (rawCopyArea): New method. | |
18495 | (copyAreaImpl): New method. | |
18496 | (rawFillShape): Renamed to fillShapeImpl(). Small optimization | |
18497 | for rendering. | |
18498 | (fillShapeAntialias): Fixed AA rendering. | |
18499 | (fillScanlineAA): Fixed AA rendering. | |
18500 | (getSegments): Take offset into account. | |
18501 | ||
18502 | 2006-05-19 Sven de Marothy <sven@physto.se> | |
18503 | ||
18504 | * javax/swing/text/AbstractWriter.java | |
18505 | (getText): Fix parameters (start, length) not (start, end). | |
18506 | ||
18507 | 2006-05-19 Tom Tromey <tromey@redhat.com> | |
18508 | ||
18509 | PR classpath/27444: | |
18510 | * gnu/java/net/loader/URLLoader.java (getClassPath): Documented. | |
18511 | Changed return type. | |
18512 | * java/net/URLClassLoader.java (urlloaders): Removed. | |
18513 | (addURLImpl): Updated. | |
18514 | * gnu/java/net/loader/JarURLLoader.java (initialized): New field. | |
18515 | (indexSet): Likewise. | |
18516 | (classPath): Changed type. | |
18517 | (JarURLLoader): New constructor. | |
18518 | (initialize): New method. | |
18519 | (getResource): Use index set if it exists. | |
18520 | (getClassPath): Updated. | |
18521 | * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE. | |
18522 | (prefixes): New field. | |
18523 | (headers): Removed. | |
18524 | (IndexListParser): Fill in prefixes. | |
18525 | (clearAll): Clear prefixes. | |
18526 | (getHeaders): Changed return type. | |
18527 | ||
18528 | 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18529 | ||
18530 | * javax/swing/plaf/basic/BasicTableHeaderUI.java | |
18531 | (MouseInputHandler.mouseExitted): No nothing there. | |
18532 | (MouseInputHandler.endDragging): Move column to the | |
18533 | first/last position if released outside the horizontal | |
18534 | table range. | |
18535 | ||
18536 | 2006-05-19 Lillian Angel <langel@redhat.com> | |
18537 | ||
18538 | * java/awt/font/GlyphVector.java | |
18539 | (getGlyphCharIndex): Implemented. | |
18540 | (getGlyphCharIndices): Implemented. | |
18541 | (getGlyphOutline): Implemented. | |
18542 | (getGlyphVisualBounds): Implemented. | |
18543 | (getGlyphVisualBounds): Implemented. | |
18544 | (getPixelBounds): Implemented. | |
18545 | (getLayoutFlags): Implemented. | |
18546 | ||
18547 | 2006-05-19 Robert Schuster <robertschuster@fsfe.org> | |
18548 | ||
18549 | * java/awt/LightweightDispatcher.java: Added field dragButton and | |
18550 | documentation for it. | |
18551 | (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement, | |
18552 | added subexpression to if-clause in MOUSE_RELEASED case. | |
18553 | ||
18554 | 2006-05-19 Robert Schuster <robertschuster@fsfe.org> | |
18555 | ||
18556 | * javax/swing/metal/MetalButtonUI.java: | |
18557 | (update): Removed some subexpression from if-clause and call | |
18558 | updateWithGradient. | |
18559 | (updateWithGradient): New method. | |
18560 | ||
18561 | 2006-05-19 Roman Kennke <kennke@aicas.com> | |
18562 | ||
18563 | * javax/swing/JComponent.java | |
18564 | (findOverlapFreeParent): Implemented algorithm for finding | |
18565 | overlapping in component hierarchy. | |
18566 | ||
18567 | 2006-05-19 Jeroen Frijters <jeroen@frijters.net> | |
18568 | ||
18569 | * java/lang/Thread.java | |
18570 | (contextClassLoaderIsSystemClassLoader): New field. | |
18571 | (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName. | |
18572 | (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName | |
18573 | and set contextClassLoaderIsSystemClassLoader. | |
18574 | (Thread(ThreadGroup,Runnable,String,long)): | |
18575 | Set contextClassLoaderIsSystemClassLoader. | |
18576 | (createAnonymousThreadName): New method. | |
18577 | (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader | |
18578 | and fixed security check. | |
18579 | (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader. | |
18580 | ||
18581 | 2006-05-19 Robert Schuster <robertschuster@fsfe.org> | |
18582 | ||
18583 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
18584 | (createNonRolloverBorder): Rewritten. | |
18585 | (createRolloverBorder): Rewritten. | |
18586 | (setToNonRolloverBorder): Store old border instance in hashtable. | |
18587 | (setToRolloverBorder): Store old border instance in hashtable, use | |
18588 | AbstractButton instead of JButton in statements. | |
18589 | (setBorderToNormal): Rewritten. | |
18590 | * javax/swing/plaf/metal/MetalLookAndFeel.java: | |
18591 | (initComponentDefaults): Added values for ToolBar.rolloverBorder and | |
18592 | ToolBar.nonrolloverBorder. | |
18593 | ||
18594 | 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com> | |
18595 | ||
18596 | * javax/imageio/stream/ImageInputStreamImpl.java: Complete. | |
18597 | * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise. | |
18598 | ||
18599 | 2006-05-18 Lillian Angel <langel@redhat.com> | |
18600 | ||
18601 | * java/awt/font/GlyphMetrics.java | |
18602 | (getLSB): Implemented. | |
18603 | (getRSB): Implemented. | |
18604 | ||
18605 | 2006-05-18 Lillian Angel <langel@redhat.com> | |
18606 | ||
18607 | * java/awt/font/GraphicAttribute.java: | |
18608 | Documented entire class. | |
18609 | (GraphicAttribute): Added check for alignment. | |
18610 | (getBounds): Implemented. | |
18611 | (getJustificationInfo): Implemented. | |
18612 | ||
18613 | 2006-05-18 Robert Schuster <robertschuster@fsfe.org> | |
18614 | ||
18615 | * java/awt/LightweightDispatcher.java: | |
18616 | (handleMouseEvent): Added note, added subexpression to if-statement. | |
18617 | ||
18618 | 2006-05-18 Robert Schuster <robertschuster@fsfe.org> | |
18619 | ||
18620 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
18621 | (navigateFocusedComp): Marked as stub. | |
18622 | (createRolloverBorder): Create a different Border instance, added note. | |
18623 | * javax/swing/plaf/metal/MetalBorders.java: | |
18624 | (ButtonBorder): Added documentation. | |
18625 | (ButtonBorder.paintDefaultButtonBorder): Added else-block. | |
18626 | (ButtonBorder.paintOceanButtonBorder): Added else-block, added | |
18627 | subexpression into if-else cascade, added note. | |
18628 | ||
18629 | 2006-05-18 Lillian Angel <langel@redhat.com> | |
18630 | ||
18631 | * java/awt/font/ShapeGraphicAttribute.java: | |
18632 | Documented entire class. | |
18633 | (ShapeGraphicAttribute): Initialized bounds field. | |
18634 | (draw): Implemented. | |
18635 | (equals): Implemented. | |
18636 | (getAdvance): Implemented. | |
18637 | (getAscent): Implemented. | |
18638 | (getBounds): Implemented. | |
18639 | (getDescent): Implemented. | |
18640 | (hashCode): Implemented. | |
18641 | ||
18642 | 2006-05-18 Roman Kennke <kennke@aicas.com> | |
18643 | ||
18644 | * javax/swing/CellRendererPane.java | |
18645 | (CellRendererPane): Set CellRendererPane to invisible. | |
18646 | ||
18647 | 2006-05-18 Roman Kennke <kennke@aicas.com> | |
18648 | ||
18649 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
18650 | (clipRect): Removed old intersection statement. | |
18651 | ||
18652 | 2006-05-18 Roman Kennke <kennke@aicas.com> | |
18653 | ||
18654 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
18655 | (clipRect): Don't use Rectangle.intersection() to avoid creating | |
18656 | 2 unnecessary Rectangle instances and fix a clipping problem. | |
18657 | (computeIntersection): New helper method, adapted from SwingUtilities. | |
18658 | ||
18659 | 2006-05-18 Roman Kennke <kennke@aicas.com> | |
18660 | ||
18661 | * javax/swing/JComponent.java | |
18662 | (isCompletelyDirty): Removed. | |
18663 | (paint): Don't mark children as clean, this is no longer necessary. | |
18664 | (findOverlapFreeParent): Don't stop at Viewports, this breaks | |
18665 | painting when something overlaps the viewport (like a popup/menu). | |
18666 | * javax/swing/RepaintManager.java | |
18667 | (currentRepaintManagers): Made package private to avoid accessor | |
18668 | methods. | |
18669 | (dirtyComponents): Made private. | |
18670 | (dirtyComponentsWork): Made private. | |
18671 | (markCompletelyDirty): Fixed bounds of dirtyrect to be | |
18672 | component-local not parent-local. Do not set flag in JComponent. | |
18673 | (markCompletelyClean): Don't set JComponent flag. | |
18674 | (isCompletelyDirty): Rewritten to return true when the complete | |
18675 | component is marked dirty. | |
18676 | (paintDirtyRegions): Improved parent-merging so that the merged-in | |
18677 | components don't get painted too. 'Outsourced' the compilation | |
18678 | of the repaint root components. | |
18679 | (compileRepaintRoots): New helper method. | |
18680 | ||
18681 | 2006-05-18 Roman Kennke <kennke@aicas.com> | |
18682 | ||
18683 | PR 26368 | |
18684 | * javax/swing/text/GapContent.java | |
18685 | (GapContentPosition(int)): Use adapted binarySearch method to | |
18686 | allow for having a greater array than number of entries. | |
18687 | (numMarks): New field, holds the end of the marks list. | |
18688 | (GapContent): Initialize positionMarks with size of 10 instead of 0. | |
18689 | (shiftGapStartDown): Adjusted for new setPositionsInRange signature. | |
18690 | (shiftGapEndUp): Adjusted for new setPositionsInRange signature. | |
18691 | (setPositionsInRange): Changed signature to narrow the purpose and | |
18692 | special cases inside. Reimplemented to crunch together equal marks. | |
18693 | (adjustPositionsInRange): Added assertion to make sure we do | |
18694 | not accidentally change the order of the mark. Added some debug | |
18695 | output for a special case of which I don't know if it even exists. | |
18696 | (resetMarksAtZero): Made impl simpler. | |
18697 | (dumpMarks): New debug helper method. | |
18698 | (insertMark): Grow array in bigger chunks to avoid excessive copying. | |
18699 | (binarySearch): New method. An adaption of Arrays.binarySearch() | |
18700 | that allows for an maxIndex parameter. | |
18701 | ||
18702 | 2006-05-18 Roman Kennke <kennke@aicas.com> | |
18703 | ||
18704 | * javax/swing/KeyboardManager.java | |
18705 | (topLevelLookup): Use WeakHashMap to avoid memory leak. | |
18706 | ||
18707 | 2006-05-18 Jeroen Frijters <jeroen@frijters.net> | |
18708 | ||
18709 | * gnu/java/net/loader/JarURLLoader.java | |
18710 | (JarURLLoader): Use a slightly more efficient URL constructor. | |
18711 | ||
18712 | 2006-05-18 David Gilbert <david.gilbert@object-refinery.com> | |
18713 | ||
18714 | * gnu/java/awt/print/JavaPrinterGraphics.java | |
18715 | (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop, | |
18716 | (drawImage(Image, int, int, ImageObserver)): Likewise, | |
18717 | (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise, | |
18718 | (drawImage(Image, int, int, int, int, ImageObserver)): Likewise, | |
18719 | (drawImage(Image, int, int, int, int, int, int, int, int, Color, | |
18720 | ImageObserver)): Likewise, | |
18721 | (drawImage(Image, int, int, int, int, int, int, int, int, | |
18722 | ImageObserver)): Likewise. | |
18723 | ||
18724 | 2006-05-17 Tom Tromey <tromey@redhat.com> | |
18725 | ||
18726 | * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a | |
18727 | LinkedHashSet. | |
18728 | ||
18729 | 2006-05-17 David Gilbert <david.gilbert@object-refinery.com> | |
18730 | ||
18731 | * javax/swing/border/AbstractBorder.java: Source code formatting fixes, | |
18732 | * javax/swing/border/BevelBorder.java: Likewise, | |
18733 | * javax/swing/border/CompoundBorder.java: Likewise, | |
18734 | * javax/swing/border/TitledBorder.java: Likewise. | |
18735 | ||
18736 | 2006-05-17 David Gilbert <david.gilbert@object-refinery.com> | |
18737 | ||
18738 | * javax/swing/table/AbstractTableModel.java: Formatting fixes, | |
18739 | * javax/swing/table/DefaultTableModel.java: Likewise, | |
18740 | * javax/swing/table/TableCellEditor.java: Likewise, | |
18741 | * javax/swing/table/TableCellRenderer.java: Likewise. | |
18742 | ||
18743 | 2006-05-17 Lillian Angel <langel@redhat.com> | |
18744 | ||
18745 | * java/awt/font/ImageGraphicAttribute.java: | |
18746 | Documented entire class. | |
18747 | (ImageGraphicAttribute): Changed to call this. | |
18748 | (ImageGraphicAttribute): Implemented. | |
18749 | (draw): Implemented. | |
18750 | (equals): Implemented. | |
18751 | (getAdvance): Implemented. | |
18752 | (getAscent): Implemented. | |
18753 | (getBounds): Implemented. | |
18754 | (getDescent): Implemented. | |
18755 | (hashCode): Implemented. | |
18756 | * javax/swing/text/html/HTMLDocument.java | |
18757 | (create): Removed. Sufficent enough for | |
18758 | super to be called. | |
18759 | (insert): Likewise. | |
18760 | (insertUpdate): Likewise. | |
18761 | (processHTMLFrameHyperlinkEvent): Marked as stub. | |
18762 | (start): Removed FIXME. | |
18763 | (end): Likewise. | |
18764 | (start): Called super. | |
18765 | (end): Called super. | |
18766 | (getElement): removed unneeded code. | |
18767 | (setParagraphAttribute): Removed. Sufficent enough | |
18768 | for super to be called. | |
18769 | (fireChangedUpdate): Likewise. | |
18770 | (fireUndoableEditUpdate): Likewise. | |
18771 | ||
18772 | 2006-05-17 Lillian Angel <langel@redhat.com> | |
18773 | ||
18774 | * java/awt/TexturePaint.java: | |
18775 | Added documentation for class and all functions. | |
18776 | (getTransparency): Implemented. | |
18777 | ||
18778 | 2006-05-17 Roman Kennke <kennke@aicas.com> | |
18779 | ||
18780 | * java/awt/LightweightDispatcher.java | |
18781 | (findTarget): Translate point to child components. | |
18782 | ||
18783 | 2006-05-17 Roman Kennke <kennke@aicas.com> | |
18784 | ||
18785 | PR 26368 | |
18786 | * javax/swing/text/GapContent.java | |
18787 | (GapContentPosition): Do no more implement Comparable. | |
18788 | (GapContentPosition.mark): Removed field. | |
18789 | (GapContentPosition.index): New field to hold the index into | |
18790 | the positions array. | |
18791 | (GapContentPosition(int)): Rewritten to use the new indirection | |
18792 | to the positions array. | |
18793 | (GapContentPosition.compareTo): Removed. | |
18794 | (GapContentPosition.getOffset): Synchronized. Fetch mark from | |
18795 | positionMarks array. | |
18796 | (WeakPositionComparator): Removed obsolete class. | |
18797 | (positions): Changed type to WeakHashMap. | |
18798 | (positionMarks): New field, holds the marks of the positions. | |
18799 | (GapContent): Initialize new fields. | |
18800 | (createPosition): Rewritten to use the new indirection | |
18801 | to the positions array. | |
18802 | (getPositionsInRange): Rewritten to use the new indirection | |
18803 | to the positions array. | |
18804 | (setPositionsInRange): Rewritten to use the new indirection | |
18805 | to the positions array. | |
18806 | (adjustPositionsInRange): Rewritten to use the new indirection | |
18807 | to the positions array. | |
18808 | (insertMark): New helper method. | |
18809 | (clearPositionReferences): Removed obsolete methods. | |
18810 | ||
18811 | 2006-05-17 Lillian Angel <langel@redhat.com> | |
18812 | ||
18813 | * java/awt/GraphicsConfiguration.java | |
18814 | (getImageCapabilities): Implemented. | |
18815 | (getBufferCapabilities): Implemented. | |
18816 | ||
18817 | 2006-05-17 Lillian Angel <langel@redhat.com> | |
18818 | ||
18819 | * javax/swing/plaf/basic/BasicSliderUI.java | |
18820 | (focusGained): Implemented. | |
18821 | (focusLost): Implemented. | |
18822 | (paint): Added code to paint the focus. | |
18823 | * javax/swing/plaf/metal/MetalSliderUI.java | |
18824 | (paintThumb): Added code to set the thumbColor. | |
18825 | (paintFocus): Implemented properly. | |
18826 | ||
18827 | 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18828 | ||
18829 | PR 27383 | |
18830 | * javax/naming/spi/NamingManager.java (getURLContext): | |
18831 | Always search for the factory class in all possible places | |
18832 | and use VMStackWalker. | |
18833 | (forName): New method. | |
18834 | ||
18835 | 2006-05-17 Roman Kennke <kennke@aicas.com> | |
18836 | ||
18837 | * java/awt/LightweightDispatcher.java | |
18838 | (handleMouseEvent): Fixed search algorithm for finding the | |
18839 | mouse event target. | |
18840 | (findTarget): Fixed search algorithm for finding the | |
18841 | mouse event target. | |
18842 | ||
18843 | 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18844 | ||
18845 | * javax/naming/spi/NamingManager.java: Documented. | |
18846 | ||
18847 | 2006-05-17 Mark Wielaard <mark@klomp.org> | |
18848 | ||
18849 | * THANKYOU: Add Trevor Linton <tlinton@xmission.com>. | |
18850 | * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright. | |
18851 | * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise. | |
18852 | * gnu/javax/imageio/jpeg/ZigZag.java: Likewise. | |
18853 | ||
18854 | 2006-05-17 Robert Schuster <robertschuster@fsfe.org> | |
18855 | ||
18856 | Fixes PR 26947. | |
18857 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright | |
18858 | year. | |
18859 | (BorderListener.mouseClicked): Detect double-clicks in title pane, | |
18860 | copied code from | |
18861 | BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed(). | |
18862 | ||
18863 | 2006-05-17 Robert Schuster <robertschuster@fsfe.org> | |
18864 | ||
18865 | Fixes PR 27626. | |
18866 | * java/awt/LightweightDispatcher.java: | |
18867 | (handleMouseEvent): Moved assignment into switch-block, added notes. | |
18868 | ||
18869 | 2006-05-16 Lillian Angel <langel@redhat.com> | |
18870 | ||
18871 | * javax/swing/text/StyleContext.java: | |
18872 | Changed staticAttributeKeys to be a Hashtable. | |
18873 | (getStaticAttribute): Implemented. | |
18874 | (getStaticAttributeKey): Implemented. | |
18875 | (readAttributeSet): Implemented. | |
18876 | (writeAttributeSet): Added FIXME. Not sure how | |
18877 | to implement this. | |
18878 | (readAttributes): Implemented. | |
18879 | (writeAttributes): Implemented. | |
18880 | (registerStaticAttibuteKey): Fixed to add key to | |
18881 | the hash table. | |
18882 | ||
18883 | 2006-05-16 David Gilbert <david.gilbert@object-refinery.com> | |
18884 | ||
18885 | * javax/swing/DefaultButtonModel.java | |
18886 | (setGroup): Removed event notification. | |
18887 | ||
18888 | 2006-05-16 Lillian Angel <langel@redhat.com> | |
18889 | ||
18890 | * javax/swing/plaf/basic/BasicComboBoxUI.java | |
18891 | (installKeyboardActions): Implemented. | |
18892 | (uninstallKeyboardActions): Implemented. | |
18893 | * javax/swing/plaf/basic/BasicComboPopup.java | |
18894 | (uninstallKeyboardActions): Removed FIXME. Nothing | |
18895 | to be done here. | |
18896 | (installKeyboardActions): Likewise. | |
18897 | * javax/swing/plaf/basic/BasicTextUI.java | |
18898 | (uninstallKeyboardActions): Implemented. | |
18899 | * javax/swing/plaf/basic/BasicTreeUI.java: | |
18900 | Added field for hashColor. | |
18901 | Marked stub methods. | |
18902 | (getHashColor): Implemented to use field. | |
18903 | (setHashColor): Likewise. | |
18904 | (getRowX): Implemented. | |
18905 | (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX. | |
18906 | ||
18907 | 2006-05-16 Roman Kennke <kennke@aicas.com> | |
18908 | ||
18909 | PR 26521 | |
18910 | * javax/swing/JTable.java | |
18911 | (rowHeights): New field. | |
18912 | (initializeLocalVars): Call setRowHeigt instead of rowHeight=, | |
18913 | in order to initialize rowHeights correctly. | |
18914 | (tableChanged): Nullify rowHeights when model changes. Only | |
18915 | create default columns from model when corresponding property | |
18916 | is set. Sync table model with rowHeights as appropriate. | |
18917 | (valueChanged): Call repaint with the correct rectangle. | |
18918 | (rowAtPoint): Handle rowHeights. | |
18919 | (getCellRect): Mostly rewritten. Check for boundaries | |
18920 | of model and return (0,0,0,0) or (0,0,width,height) when outside. | |
18921 | Handle component orientation. Round correctly. | |
18922 | (getRowHeight(int)): Implemented for variable row height. | |
18923 | (setRowHeight(int,int)): Implemented for variable row height. | |
18924 | (setRowHeight(int)): Nullify rowHeights. | |
18925 | (setModel): Notify tableChanged(). | |
18926 | * javax/swing/plaf/basic/BasicTableUI.java | |
18927 | (installDefaults): Create rendererPane in installUI. | |
18928 | (installUI): Create and install rendererPane. | |
18929 | (uninstallUI): Uninstall rendererPane and nullify rendererPane | |
18930 | and table. | |
18931 | (paint): Correctly handle rowMargin. | |
18932 | ||
18933 | 2006-05-16 Tom Tromey <tromey@redhat.com> | |
18934 | ||
18935 | PR classpath/27563: | |
18936 | * java/text/NumberFormat.java (getIntegerInstance): Use | |
18937 | "integerFormat", not "numberFormat". | |
18938 | ||
18939 | 2006-05-16 Lillian Angel <langel@redhat.com> | |
18940 | ||
18941 | * javax/swing/JPopupMenu.java | |
18942 | (addMenuKeyListener): Implemented. | |
18943 | (removeMenuKeyListener): Implemented. | |
18944 | (getMenuKeyListeners): Implemented. | |
18945 | * javax/swing/ProgressMonitor.java: | |
18946 | Added new protected field. | |
18947 | (getAccessibleContext): Implemented. | |
18948 | ||
18949 | 2006-05-16 Lillian Angel <langel@redhat.com> | |
18950 | ||
18951 | * javax/swing/JFileChooser.java: | |
18952 | Added new private field. | |
18953 | (setDragEnabled): Implemented. | |
18954 | (getDragEnabled): Implemented. | |
18955 | ||
18956 | 2006-05-16 Lillian Angel <langel@redhat.com> | |
18957 | ||
18958 | * java/awt/Window.java | |
18959 | (applyResourceBundle): Implemented. | |
18960 | ||
18961 | 2006-05-16 David Gilbert <david.gilbert@object-refinery.com> | |
18962 | ||
18963 | * javax/swing/DefaultButtonModel.java | |
18964 | (setSelected): If new SELECTED state is false, clear ARMED and PRESSED | |
18965 | states also. | |
18966 | ||
18967 | 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18968 | ||
18969 | * javax/swing/JList.java (getSelectedValues): | |
18970 | Ask the value for the indexed array element. | |
18971 | ||
18972 | 2006-05-16 Roman Kennke <kennke@aicas.com> | |
18973 | ||
18974 | * javax/swing/JTable.java | |
18975 | (valueChanged): Also repaint when table has only 1 row. Fixed | |
18976 | repaint rectangle to span the entire changed rows. | |
18977 | ||
18978 | 2006-05-16 Roman Kennke <kennke@aicas.com> | |
18979 | ||
18980 | PR 24031 | |
18981 | * javax/swing/JOptionPane.java | |
18982 | (startModal): Rewritten. The events are now dispatched, even | |
18983 | when the event dispatch thread gets blocked by the call | |
18984 | to this method. Also, mouse events get intercepted outside the | |
18985 | internal frame. | |
18986 | ||
18987 | 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18988 | ||
18989 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
18990 | (BorderListener.mouseDragged):Do not set cursor | |
18991 | if the frame is being dragged. | |
18992 | ||
18993 | 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
18994 | ||
18995 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
18996 | (BorderListener): Rewritten. (InternalFrameBorder): | |
18997 | Made package private. | |
18998 | (InternalFrameBorder.offset): | |
18999 | Renamed to cornerSize, made package private. | |
19000 | (bSize): Made package private. | |
19001 | ||
19002 | 2006-05-16 Roman Kennke <kennke@aicas.com> | |
19003 | ||
19004 | * javax/swing/JMenu.java | |
19005 | (AccessibleJMenu.getAccessibleChildrenCount): Implemented. | |
19006 | (AccessibleJMenu.getAccessibleChild): Implemented. | |
19007 | (AccessibleJMenu.getAccessibleSelection): Implemented. | |
19008 | (AccessibleJMenu.getAccessibleSelection(int)): Implemented. | |
19009 | (AccessibleJMenu.isAccessibleChildSelected): Implemented. | |
19010 | (AccessibleJMenu.getAccessibleRole): Documented. | |
19011 | (AccessibleJMenu.getAccessibleSelectionCount): Implemented. | |
19012 | (AccessibleJMenu.addAccessibleSelection): Implemented. | |
19013 | (AccessibleJMenu.removeAccessibleSelection): Implemented. | |
19014 | (AccessibleJMenu.clearAccessibleSelection): Implemented. | |
19015 | (AccessibleJMenu.selectAllAccessibleSelection): Implemented. | |
19016 | (createPath): New helper method. | |
19017 | ||
97b8365c TT |
19018 | 2006-05-15 Tom Tromey <tromey@redhat.com> |
19019 | ||
19020 | * java/text/MessageFormat.java (format): Now varargs. | |
19021 | ||
19022 | 2006-05-15 Tom Tromey <tromey@redhat.com> | |
19023 | ||
19024 | * java/lang/Thread.java (State): Fixed typo. | |
19025 | ||
ac1ed908 MW |
19026 | 2006-05-15 Tom Tromey <tromey@redhat.com> |
19027 | ||
19028 | * java/net/URLClassLoader.java: Moved inner classes to | |
19029 | gnu.java.net.loader. | |
19030 | (factoryCache): Changed type. | |
19031 | (URL_LOADER_PREFIX): New constant. | |
19032 | (URLClassLoader): Updated for new factoryCache. | |
19033 | (addURLImpl): Use reflection to search for a loader. | |
19034 | (findClass): Use getClass method on URLLoader. | |
19035 | (getURLStreamHandler): Removed. | |
19036 | * gnu/java/net/loader/URLLoader.java: New file, extracted | |
19037 | from URLClassLoader. | |
19038 | * gnu/java/net/loader/Resource.java: Likewise. | |
19039 | * gnu/java/net/loader/FileResource.java: Likewise. | |
19040 | * gnu/java/net/loader/FileURLLoaderjava: Likewise. | |
19041 | * gnu/java/net/loader/JarURLLoader.java: Likewise. | |
19042 | * gnu/java/net/loader/JarURLResource.java: Likewise. | |
19043 | * gnu/java/net/loader/RemoteURLLoader.java: Likewise. | |
19044 | * gnu/java/net/loader/RemoteResource.java: Likewise. | |
19045 | * gnu/java/net/loader/ULRStreamHandlerCache.java: New file. | |
19046 | ||
19047 | 2006-05-15 Sven de Marothy <sven@physto.se> | |
19048 | ||
19049 | * native/target/generic/target_generic_network.h: | |
19050 | Add a pair of parenthesis. | |
19051 | ||
19052 | 2006-05-15 Mark Wielaard <mark@klomp.org> | |
19053 | ||
19054 | * java/awt/Graphics2D.java: Remove PrinterJob import. | |
19055 | ||
19056 | 2006-05-15 Mark Wielaard <mark@klomp.org> | |
19057 | ||
19058 | * doc/www.gnu.org/announce/20060515.wml: New file. | |
19059 | * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement. | |
19060 | * doc/www.gnu.org/downloads/downloads.wml: Add 0.91. | |
19061 | ||
19062 | 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com> | |
19063 | ||
19064 | * NEWS: Announce inclusion of gcjwebplugin. | |
19065 | Announce inclusion of appletviewer. | |
19066 | * INSTALL: Note gcjwebplugin dependencies. | |
19067 | ||
97b8365c TT |
19068 | 2006-05-15 Mark Wielaard <mark@klomp.org> |
19069 | ||
19070 | * configure.ac (VERSION): Set to 0.91-generics. | |
19071 | ||
19072 | 2006-05-15 Mark Wielaard <mark@klomp.org> | |
19073 | ||
19074 | * NEWS: Add release date and VMClassLoader.getBootPackages() | |
19075 | changes. | |
19076 | ||
19077 | 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at> | |
19078 | ||
19079 | * README: Added CACAO to list of VMs. | |
19080 | ||
ac1ed908 MW |
19081 | 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
19082 | ||
19083 | * javax/swing/RepaintManager.java (paintDirtyRegions): | |
19084 | Break loop as soon as the component repaint is merged | |
19085 | with some parent. (ComponentComparator): Removed. | |
19086 | (comparator): Removed. | |
19087 | ||
19088 | 2006-05-15 Roman Kennke <kennke@aicas.com> | |
19089 | ||
19090 | * javax/swing/border/TitledBorder.java | |
19091 | (paintBorderWithTitle): Fixed indentation. | |
19092 | ||
19093 | 2006-05-15 Roman Kennke <kennke@aicas.com> | |
19094 | ||
19095 | * javax/swing/border/TitledBorder.java | |
19096 | (layoutBorderWithTitle): Fetch border using getBorder() instead | |
19097 | of using the border field directly. Allows for the use of | |
19098 | an UI supplied border in the case when a null border was set. | |
19099 | Fixed component orientation. | |
19100 | (paintBorderWithTitle): Fetch border using getBorder() instead | |
19101 | of using the border field directly. Allows for the use of | |
19102 | an UI supplied border in the case when a null border was set. | |
19103 | ||
19104 | 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
19105 | ||
19106 | * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten. | |
19107 | (contains): New method. | |
19108 | ||
19109 | 2006-05-15 Tom Tromey <tromey@redhat.com> | |
19110 | ||
19111 | * resource/gnu/classpath/tools/jar/messages.properties: Fixed | |
19112 | argument indices. | |
19113 | * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed | |
19114 | argument indices. | |
19115 | ||
19116 | 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
19117 | ||
19118 | * javax/swing/JComponent.java (findOverlapParent): Stop loop at | |
19119 | JViewport's. | |
19120 | * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given | |
19121 | region. (paintDirtyRegions): Rewritten. | |
19122 | ||
19123 | 2006-05-15 Tom Tromey <tromey@redhat.com> | |
19124 | ||
19125 | * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use | |
19126 | MessageFormat. | |
19127 | * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use | |
19128 | MessageFormat. | |
19129 | * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings. | |
19130 | (run): Use MessageFormat. | |
19131 | * resource/gnu/classpath/tools/jar/messages.properties: New file. | |
19132 | * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings. | |
19133 | (writeFile): Use MessageFormat. | |
19134 | ||
19135 | 2006-05-15 Jeroen Frijters <jeroen@frijters.net> | |
19136 | ||
19137 | * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName() | |
19138 | instead of directly calling the class loader. | |
19139 | ||
19140 | 2006-05-15 Tom Tromey <tromey@redhat.com> | |
19141 | ||
19142 | * tools/gnu/classpath/tools/getopt/Option.java (getDescription): | |
19143 | Removed old comment. | |
19144 | * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: | |
19145 | Externalized strings. | |
19146 | (getVersionString): Use MessageFormat. | |
19147 | * tools/gnu/classpath/tools/getopt/Messages.java: New file. | |
19148 | * resource/gnu/classpath/tools/getopt/Messages.properties: New file. | |
19149 | * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings. | |
19150 | (getArgument): Use a MessageFormat. | |
19151 | (handleLongOption): Likewise. | |
19152 | (parse): Likewise. | |
19153 | ||
19154 | 2006-05-15 Robert Schuster <robertschuster@fsfe.org> | |
19155 | ||
19156 | Fixes PR 27197. | |
19157 | * javax/swing/text/FieldView.java: | |
19158 | (paint): Calculate intersection between clip and allocation area and | |
19159 | set that as new clip. | |
19160 | ||
19161 | 2006-05-15 David Gilbert <david.gilbert@object-refinery.com> | |
19162 | ||
19163 | * javax/swing/text/JTextComponent.java: Marked stub methods. | |
19164 | ||
19165 | 2006-05-15 David Gilbert <david.gilbert@object-refinery.com> | |
19166 | ||
19167 | * javax/swing/JTable.java: Marked stub methods. | |
19168 | ||
19169 | 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au> | |
19170 | ||
19171 | * tools/gnu/classpath/tools/jarsigner/Main.java: | |
19172 | Increased visibility of fields used by parser anonymous classes. | |
19173 | (KEYTOOL_TOOL): New constant. | |
19174 | (cmdLineParser): Changed type to ToolParser. | |
19175 | (fileAndAlias): new field. | |
19176 | (main): Don't catch OptionException. | |
19177 | (processArgs): Removed validation checks; now handled by ToolParser. | |
19178 | (getParser): Removed. | |
19179 | (ToolParserCallback): New inner class. | |
19180 | (ToolParser): Likewise. | |
19181 | ||
19182 | 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
19183 | ||
19184 | * javax/swing/JTable.java (TableTextArea.scrollRectToVisible): | |
19185 | Removed. | |
19186 | ||
19187 | 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
19188 | ||
19189 | * javax/swing/DefaultDesktopManager.java (endDraggingFrame, | |
19190 | endResizingFrame): Do not repaint, unless in the outline mode. | |
19191 | ||
19192 | 2006-05-15 David Gilbert <david.gilbert@object-refinery.com> | |
19193 | ||
19194 | * javax/swing/JTabbedPane.java | |
19195 | (AccessibleJTabbedPane.getAccessibleRole): Implemented, | |
19196 | (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented, | |
19197 | (AccessibleJTabbedPane.getAccessibleSelection()): Implemented, | |
19198 | (AccessibleJTabbedPane.getAccessibleAt): Implemented, | |
19199 | (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented, | |
19200 | (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented, | |
19201 | (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented, | |
19202 | (AccessibleJTabbedPane.addAccessibleSelection): Implemented, | |
19203 | (AccessibleJTabbedPane.removeAccessibleSelection): Implemented, | |
19204 | (AccessibleJTabbedPane.clearAccessibleSelection): Implemented, | |
19205 | (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented, | |
19206 | (Page.getAccessibleName): Implemented. | |
19207 | ||
19208 | 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
19209 | ||
19210 | * javax/swing/DefaultDesktopManager.java (setBoundsForFrame): | |
19211 | Do not repaint nor revalidate here. | |
19212 | ||
19213 | 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
19214 | ||
19215 | * javax/swing/RepaintManager.java (addDirtyRegion): | |
19216 | If there is a lightweight parent, recursively add the corresponding | |
19217 | region of the parent instead. | |
19218 | ||
19219 | 2006-05-15 David Gilbert <david.gilbert@object-refinery.com> | |
19220 | ||
19221 | * java/awt/Graphics2D.java: Added some API doc comments. | |
19222 | ||
ac1ed908 MW |
19223 | 2006-05-15 David Gilbert <david.gilbert@object-refinery.com> |
19224 | ||
19225 | * javax/swing/JTabbedPane.java | |
19226 | (paramString): Reimplemented, | |
19227 | (getAccessibleContext): Added API docs. | |
19228 | ||
19229 | 2006-05-15 David Gilbert <david.gilbert@object-refinery.com> | |
19230 | ||
19231 | * javax/swing/JFileChooser.java | |
19232 | (paramString): Reimplemented, | |
19233 | (getAccessibleContext): Updated API docs, | |
19234 | (AccessibleJFileChooser): Added API docs. | |
19235 | ||
19236 | 2006-05-14 Tom Tromey <tromey@redhat.com> | |
19237 | ||
19238 | * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws | |
19239 | OptionException. | |
19240 | * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws | |
19241 | OptionException. | |
19242 | * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws | |
19243 | OptionException. | |
19244 | * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved | |
19245 | validation to JarParser. | |
19246 | * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class. | |
19247 | (run): Moved validation to JarParser. Don't throw OptionException. | |
19248 | (initializeParser): Create a JarParser. | |
19249 | (main): Don't catch OptionException. | |
19250 | * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer | |
19251 | public. | |
19252 | (validate): New method. | |
19253 | (parse): Call it. Print '-help' in error message when long-only. | |
19254 | ||
19255 | 2006-05-14 Tom Tromey <tromey@redhat.com> | |
19256 | ||
19257 | * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed | |
19258 | assignment. | |
19259 | ||
19260 | 2006-05-15 Sven de Marothy <sven@physto.se> | |
19261 | ||
19262 | * gnu/java/awt/print/JavaPrinterGraphics.java: | |
19263 | Sweeping changes I can't be bothered to document in detail. | |
19264 | * gnu/java/awt/print/JavaPrinterJob.java | |
19265 | (getPageAttributes): New method. | |
19266 | (setPageable,cancel,isCancelled): Implement. | |
19267 | ||
ac1ed908 MW |
19268 | 2006-05-14 David Gilbert <david.gilbert@object-refinery.com> |
19269 | ||
19270 | * javax/swing/JCheckBoxMenuItem.java | |
19271 | (requestFocus): Fixed typo in API docs, | |
19272 | (paramString): Just call super.paramString(), | |
19273 | (getAccessibleContext): Added API docs, | |
19274 | (AccessibleJCheckBoxMenuItem): Likewise. | |
19275 | ||
19276 | 2006-05-14 Tom Tromey <tromey@redhat.com> | |
19277 | ||
19278 | * tools/gnu/classpath/tools/jar/Indexer.java | |
19279 | (writeCommandLineEntries): Simplify insertion. | |
19280 | * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both | |
19281 | -m and -M. | |
19282 | ||
19283 | 2006-05-14 Tom Tromey <tromey@redhat.com> | |
19284 | ||
19285 | PR classpath/27514: | |
19286 | * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now | |
19287 | constant. | |
19288 | (JAR_INDEX_VERSION_KEY): Likewise. | |
19289 | (IndexListParser): Updated. | |
19290 | (getVersionInfo): Likewise. | |
19291 | * tools/gnu/classpath/tools/jar/Indexer.java: New file. | |
19292 | * tools/gnu/classpath/tools/jar/Action.java (run): Now throws | |
19293 | OptionException. | |
19294 | * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle | |
19295 | -i. | |
19296 | (ModeOption): New constructor. | |
19297 | (parsed): Updated. Use setArchiveFile. | |
19298 | (setArchiveFile): New method. | |
19299 | (run): Handle no-argument case. | |
19300 | (main): Emit --help message on option error. | |
19301 | * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field. | |
19302 | (createManifest): New method. | |
19303 | (run): Updated. Throws OptionException. Correctly copy zip entry. | |
19304 | * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New | |
19305 | method. | |
19306 | (writeManifest): Removed. | |
19307 | (outputStream): Now a JarOutputStream. | |
19308 | (writeCommandLineEntries): Changed parameters. Updated callers. | |
19309 | (run): Throws OptionException. | |
19310 | * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix. | |
19311 | * java/util/jar/Manifest.java (read): Typo fix. | |
19312 | ||
19313 | 2006-05-14 David Gilbert <david.gilbert@object-refinery.com> | |
19314 | ||
19315 | * javax/swing/JMenuItem.java | |
19316 | (paramString): Fixed class name in API doc comment. | |
19317 | ||
19318 | 2006-05-14 Tom Tromey <tromey@redhat.com> | |
19319 | ||
19320 | * native/plugin/.cvsignore: Updated. | |
19321 | ||
19322 | 2006-05-14 Mark Wielaard <mark@klomp.org> | |
19323 | ||
19324 | * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++ | |
19325 | comments. | |
19326 | ||
97b8365c TT |
19327 | 2006-05-14 Chris Burdess <dog@gnu.org> |
19328 | ||
19329 | * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype | |
19330 | nodes to be preserved during cloneNode. | |
19331 | ||
ac1ed908 MW |
19332 | 2006-05-14 Mark Wielaard <mark@klomp.org> |
19333 | ||
19334 | PR 27459 | |
19335 | * native/jni/java-net/javanet.c (_javanet_accept): Reset the | |
19336 | inherited timeout on socket. | |
19337 | ||
97b8365c TT |
19338 | 2006-05-14 Lillian Angel <langel@redhat.com> |
19339 | ||
19340 | * java/util/SimpleTimeZone.java: Reverted patch. | |
19341 | (SimpleTimeZone): Throw exception if startMonth == | |
19342 | endMonth. | |
19343 | (SimpleTimeZone): Likewise. | |
19344 | (checkRule): Rewritten to properly check all values (more | |
19345 | efficently). | |
19346 | This code is now more stable, at least less buggy than before. | |
19347 | Fixed API documentation. | |
19348 | (setStartRule): Moved checkRule call to end. | |
19349 | (setStartRule): Likewise. | |
19350 | (setEndRule): Likewise. | |
19351 | (setEndRule): Likewise. | |
19352 | ||
19353 | 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
19354 | ||
19355 | * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow): | |
19356 | Initialise to -1. | |
19357 | ||
19358 | 2006-05-14 Robert Schuster <robertschuster@fsfe.org> | |
19359 | ||
19360 | PR classpath/27595 | |
19361 | * javax/swing/text/AbstractDocument.java: | |
19362 | (insertString): Flipped if-expression and its blocks. | |
19363 | (remove): Dito. | |
19364 | (replace): Flipped if-expression and its blocks, added note, invoke | |
19365 | insertString and remove instead of insertStringImpl and removeImpl. | |
19366 | ||
ac1ed908 MW |
19367 | 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au> |
19368 | ||
19369 | * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting. | |
19370 | ||
19371 | 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au> | |
19372 | ||
19373 | * resource/gnu/classpath/tools/keytool/MessageBundle.properties: | |
19374 | Added help text. | |
19375 | * tools/gnu/classpath/tools/keytool/keytool.txt: Removed | |
19376 | * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: | |
19377 | Increased visibility of fields used by parser anonymous classes. | |
19378 | (processArgs): Removed. | |
19379 | (getParser): New method. | |
19380 | * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise. | |
19381 | (setup): Mark (Eclipse) strings that need not be externalised. | |
19382 | (start): Likewise. | |
19383 | * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise. | |
19384 | * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt | |
19385 | command line option parsing. | |
19386 | * tools/gnu/classpath/tools/keytool/ListCmd.java: | |
19387 | Increased visibility of fields used by parser anonymous classes. | |
19388 | (processArgs): Removed. | |
19389 | (setup): set 'all' local field. | |
19390 | (getParser): New method. | |
19391 | * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: | |
19392 | Increased visibility of fields used by parser anonymous classes. | |
19393 | (processArgs): Removed. | |
19394 | (getParser): New method. | |
19395 | * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise. | |
19396 | (setNewKeyPassword): Fixed comments. | |
19397 | * tools/gnu/classpath/tools/keytool/ImportCmd.java: | |
19398 | Increased visibility of fields used by parser anonymous classes. | |
19399 | (processArgs): Removed. | |
19400 | (getParser): New method. | |
19401 | (findTrustInCACerts): Mark (Eclipse) strings that need not be | |
19402 | externalised. | |
19403 | * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: | |
19404 | Increased visibility of fields used by parser anonymous classes. | |
19405 | (processArgs): Removed. | |
19406 | (setup): Mark (Eclipse) strings that need not be externalised. | |
19407 | (getParser): New method. | |
19408 | * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise. | |
19409 | * tools/gnu/classpath/tools/keytool/DeleteCmd.java: | |
19410 | Increased visibility of fields used by parser anonymous classes. | |
19411 | (processArgs): Removed. | |
19412 | (getParser): New method. | |
19413 | * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise. | |
19414 | (ATTRIBUTES_OPT): New constant. | |
19415 | * tools/gnu/classpath/tools/keytool/ExportCmd.java: | |
19416 | Increased visibility of fields used by parser anonymous classes. | |
19417 | (processArgs): Removed. | |
19418 | (setup): Mark (Eclipse) strings that need not be externalised. | |
19419 | (start): Likewise. | |
19420 | Reduced logging level. | |
19421 | (getParser): New method. | |
19422 | * tools/gnu/classpath/tools/keytool/Command.java | |
19423 | (processArgs): Made it concrete. | |
19424 | (getParser): New abstract method. | |
19425 | * tools/Makefile.am (KEYTOOL_HELPS): Removed. | |
19426 | ||
19427 | 2006-05-13 Casey Marshall <csm@gnu.org> | |
19428 | ||
19429 | Patch by Michael Barker <mike@middlesoft.co.uk>. | |
19430 | * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel. | |
19431 | * gnu/java/nio/SelectorImpl.java (register): Added condition for | |
19432 | gnu.java.nio.SocketChannelSelectionKeyImpl. | |
19433 | * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file. | |
19434 | * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use | |
19435 | VMChannel. | |
19436 | * include/gnu_java_nio_VMChannel.h: new file. | |
19437 | * java/nio/FileChannel.java (read,write): changed to call abstract | |
19438 | method. | |
19439 | * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file. | |
19440 | * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add | |
19441 | `gnu_java_nio_VMChannel.c.' | |
19442 | * vm/reference/gnu/java/nio/VMChannel.java: new file. | |
19443 | ||
19444 | 2006-05-14 Robert Schuster <robertschuster@fsfe.org> | |
19445 | ||
19446 | * javax/swing/text/AbstractDocument.java: | |
19447 | (insertString): Flipped if-expression and its blocks. | |
19448 | (remove): Dito. | |
19449 | (replace): Flipped if-expression and its blocks, added note, invoke | |
19450 | insertString and remove instead of insertStringImpl and removeImpl. | |
19451 | ||
19452 | 2006-05-13 Tom Tromey <tromey@redhat.com> | |
19453 | ||
19454 | * java/nio/ByteBufferImpl.java (compact): Always set position. | |
19455 | ||
19456 | 2006-05-13 Sven de Marothy <sven@physto.se> | |
19457 | ||
19458 | * gnu/java/awt/print/JavaPrinterGraphics.java | |
19459 | (spoolPostScript): Use a faster writer. | |
19460 | ||
19461 | 2006-05-13 Sven de Marothy <sven@physto.se> | |
19462 | ||
19463 | * gnu/java/awt/print/JavaPrinterGraphics.java | |
19464 | (colorTripleHex): Reimplement better. | |
19465 | ||
19466 | 2006-05-13 Sven de Marothy <sven@physto.se> | |
19467 | ||
19468 | * javax/swing/text/html/HTMLDocument.java | |
19469 | (CharacterAction.start): Translate tag to StyleAttribute. | |
19470 | (pushCharacterStyle): Push copy of attributes onto stack. | |
19471 | * gnu/javax/swing/text/html/CharacterAttributeTranslator.java: | |
19472 | New file | |
19473 | ||
19474 | 2006-05-13 Sven de Marothy <sven@physto.se> | |
19475 | ||
19476 | * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout. | |
19477 | * java/awt/print/PrinterJob.java | |
19478 | (getPrinterJob): Return a JavaPrinterJob | |
19479 | (setPrintService,getPrintService): Implement. | |
19480 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: | |
19481 | (getPixels): Gtk_threads_enter required. | |
19482 | * gnu/java/awt/print/JavaPrinterGraphics.java | |
19483 | * gnu/java/awt/print/JavaPrinterJob.java | |
19484 | * gnu/java/awt/print/SpooledDocumet.java: | |
19485 | New files. | |
19486 | ||
19487 | 2006-05-13 Robert Schuster <robertschuster@fsfe.org> | |
19488 | ||
19489 | * javax/swing/text/TextAction.java: | |
19490 | (HorizontalMovementAction): New inner class. | |
19491 | (VerticalMovementAction): New inner class. | |
19492 | * javax/swing/text/DefaultEditorKit.java: Added assigning instances of | |
19493 | new inner classes to array 'defaultActions'. | |
19494 | (SelectionBeginWordAction): New inner class. | |
19495 | (SelectionEndWordAction): New inner class. | |
19496 | (BeginWordAction): New inner class. | |
19497 | (EndWordAction): New inner class. | |
19498 | (PreviousWordAction.actionPerformed): Rewritten. | |
19499 | (SelectLineAction): New inner class. | |
19500 | (SelectWordAction): New inner class. | |
19501 | (SelectionDownAction): Rewritten. | |
19502 | (SelectionUpAction): Rewritten. | |
19503 | (DownAction): Rewritten. | |
19504 | (UpAction): Rewritten. | |
19505 | (SelectionForwardAction): Rewritten. | |
19506 | (SelectionBackwardAction): Rewritten. | |
19507 | (ForwardAction): Rewritten. | |
19508 | (BackwardAction): Rewritten. | |
19509 | (BeginAction): New inner class. | |
19510 | (EndAction): New inner class. | |
19511 | (DefaultKeyTypedAction.actionPerformed): Use int variant of | |
19512 | Character.isISOControl. | |
19513 | ||
19514 | 2006-05-13 Robert Schuster <robertschuster@fsfe.org> | |
19515 | ||
19516 | * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java: | |
19517 | (WordFilter.getNextVisualPositionFrom): Added statement to check | |
19518 | for variable pt not being null. | |
19519 | ||
19520 | 2006-05-13 Robert Schuster <robertschuster@fsfe.org> | |
19521 | ||
19522 | * javax/swing/text/Utilities.java: | |
19523 | (getNextWord): Fixed grammar in exception message. | |
19524 | (getPreviousWord): Changed expression in first if-clause, added sub- | |
19525 | expression to if-clause in while-loop. | |
19526 | (getWordStart): Changed expression in if-clause. | |
19527 | getNextVisualPositionFrom): Added package-private helper method. | |
19528 | ||
19529 | 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
19530 | ||
19531 | * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow): | |
19532 | Initialise to -1. | |
19533 | ||
19534 | 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au> | |
19535 | ||
19536 | * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties: | |
19537 | Added help text. | |
19538 | * tools/Makefile.am (JARSIGNER_HELPS): Removed. | |
19539 | * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed. | |
19540 | * tools/gnu/classpath/tools/jarsigner/Main.java: | |
19541 | Increased visibility of fields used by parser anonymous classes. | |
19542 | (HELP_PATH): Removed. | |
19543 | (cmdLineParser): New field. | |
19544 | (main): Handle JVM exit status. | |
19545 | Handle command line parsing exceptions. | |
19546 | (processArgs): Use getopt command line parser. | |
19547 | (getParser): New method. | |
19548 | (setupCommonParams): Removed checks now handled by processArgs(). | |
19549 | (setupSigningParams): Likewise. | |
19550 | * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start): | |
19551 | Reuse an existing message-bundle constant. | |
19552 | ||
19553 | 2006-05-12 Tom Tromey <tromey@redhat.com> | |
19554 | ||
19555 | * gnu/java/net/protocol/jar/Connection.java (getHeaderField): | |
19556 | Explicitly specify class for synchronization. | |
19557 | ||
19558 | 2006-05-12 Tom Tromey <tromey@redhat.com> | |
19559 | ||
19560 | * java/util/logging/Logger.java (resetLogger): Fixed typo. | |
19561 | ||
19562 | 2006-05-12 Sven de Marothy <sven@physto.se> | |
19563 | ||
19564 | * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter. | |
19565 | * gnu/java/net/protocol/http/HTTPURLConnection.java | |
19566 | (setConnectTimeout): New method. | |
19567 | (getConnection): Add timeout parameter. | |
19568 | * java/net/URLConnection.java | |
19569 | (getConnectTimeout, setConnectTimeout): Implement. | |
19570 | * native/target/generic/target_generic_network.h: | |
19571 | Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO. | |
19572 | ||
19573 | 2006-05-12 Sven de Marothy <sven@physto.se> | |
97b8365c | 19574 | |
ac1ed908 MW |
19575 | * gnu/javax/print/CupsServer.java |
19576 | (CupsServer): Make the Cups host configurable. | |
19577 | * java/lang/System.java: Document the system property. | |
19578 | ||
19579 | 2006-05-12 Roman Kennke <kennke@aicas.com> | |
97b8365c | 19580 | |
ac1ed908 MW |
19581 | * javax/swing/border/TitledBorder.java |
19582 | (paintBorder): Rewritten for simplicity and correctness. | |
19583 | (layoutBorderWithTitle): New helper method. | |
19584 | (paintBorderWithTitle): New helper method. | |
19585 | (getBorderInsets): Rewritten. | |
19586 | (getMinimumSize): Rewritten. | |
19587 | (getRealJustification): Removed. | |
19588 | (getMeasurements): Removed. | |
19589 | (Measurements): Removed. | |
97b8365c | 19590 | |
ac1ed908 | 19591 | 2006-05-12 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 19592 | |
ac1ed908 MW |
19593 | * javax/swing/plaf/basic/BasicPanelUI.java |
19594 | (sharedUI): New field, | |
19595 | (createUI): Return a shared instance rather than a new instance, | |
19596 | (installUI): Reformatted and added API docs, | |
19597 | (installDefaults): Install border if one is defined, | |
19598 | (uninstallDefaults): Uninstall border. | |
19599 | ||
19600 | 2006-05-12 David Gilbert <david.gilbert@object-refinery.com> | |
19601 | ||
19602 | * javax/swing/JProgressBar.java: Updated API docs all over. | |
19603 | ||
19604 | 2006-05-11 Lillian Angel <langel@redhat.com> | |
19605 | ||
19606 | * java/awt/ContainerOrderFocusTraversalPolicy.java | |
19607 | (getComponentAfter): Should not throw exception if | |
19608 | the ancestor is null. Added a check for this. | |
19609 | Also, changed to use new helper function, we should | |
19610 | iterate through all the components at least once. | |
19611 | (getNextAvailableComponent): New helper function. | |
19612 | (getPrevAvailableComponent): New helper function. | |
19613 | (getComponentBefore): Should not throw exception if | |
19614 | the ancestor is null. Added a check for this. | |
19615 | Also, changed to use new helper function, we should | |
19616 | iterate through all the components at least once. | |
19617 | (getFirstComponent): Changed check to manually check | |
19618 | fields. Calling accept() casts the object to a Component, | |
19619 | so different values may be returned. | |
19620 | (getLastComponent): Likewise. | |
19621 | ||
19622 | 2006-05-11 David Gilbert <david.gilbert@object-refinery.com> | |
19623 | ||
19624 | * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style, | |
19625 | * javax/swing/plaf/metal/MetalButtonUI.java: Likewise, | |
19626 | * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise, | |
19627 | * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise, | |
19628 | * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise, | |
19629 | * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise, | |
19630 | * javax/swing/plaf/metal/MetalIconFactory.java: Likewise, | |
19631 | * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise, | |
19632 | * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise, | |
19633 | * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise, | |
19634 | * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise, | |
19635 | * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise, | |
19636 | * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise, | |
19637 | * javax/swing/plaf/metal/MetalSliderUI.java: Likewise, | |
19638 | * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise, | |
19639 | * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise, | |
19640 | * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise, | |
19641 | * javax/swing/plaf/metal/MetalUtils.java: Likewise. | |
19642 | ||
19643 | 2006-05-11 Robert Schuster <robertschuster@fsfe.org> | |
19644 | ||
19645 | * javax/swing/text/DefaultCaret.java: Made field 'textComponent' | |
19646 | package-private, added field 'active'. | |
19647 | (PropertyChangeHandler.propertyChange): Added variable 'name', added | |
19648 | cases to update field 'active'. | |
19649 | (mouseDragged): Added documentation, added if-clause to update | |
19650 | selection or caret position. | |
19651 | (mouseClicked): Added early return when text component is disabled. | |
19652 | (focusGained): Moved statements into an if-clause. | |
19653 | (focusLost): Added subexpression to if-clause. | |
19654 | (install): Preset value of 'active'. | |
19655 | (paint): Added subexpression to if-clause. | |
19656 | (isVisible): Extended return expression. | |
19657 | * javax/swing/text/JTextComponent.java: | |
19658 | (copy): Copy only if component is enabled. | |
19659 | (cut): Cut only if component is enabled and editable. | |
19660 | (paste): Dito. | |
19661 | ||
19662 | 2006-05-11 David Gilbert <david.gilbert@object-refinery.com> | |
19663 | ||
19664 | * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change, | |
19665 | * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise, | |
19666 | * javax/swing/plaf/multi/MultiListUI.java: Likewise, | |
19667 | * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise, | |
19668 | * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise, | |
19669 | * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise, | |
19670 | * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise. | |
4f9533c7 | 19671 | |
ac1ed908 | 19672 | 2006-05-11 Roman Kennke <kennke@aicas.com> |
4f9533c7 | 19673 | |
ac1ed908 MW |
19674 | * gnu/java/awt/font/GNUGlyphVector.java |
19675 | (GNUGlyphVector): Don't apply the font renderer context's | |
19676 | transform. | |
97b8365c | 19677 | |
ac1ed908 | 19678 | 2006-05-11 Mark Wielaard <mark@klomp.org> |
4f9533c7 | 19679 | |
ac1ed908 MW |
19680 | * java/util/logging/Logger.java (global): Initialize inside static |
19681 | PrivilegedAction. | |
4f9533c7 | 19682 | |
ac1ed908 | 19683 | 2006-05-11 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 19684 | |
ac1ed908 MW |
19685 | * javax/swing/JFrame.java |
19686 | (EXIT_ON_CLOSE): Added note to API docs, | |
19687 | (close_action): Renamed closeAction, | |
19688 | (JFrame()): Change title to "", | |
19689 | (JFrame(String)): Added API docs, | |
19690 | (getAccessibleContext): Likewise, | |
19691 | (getDefaultCloseOperation): Updated for renamed field, added API docs, | |
19692 | (processWindowEvent): Updated for renamed field, | |
19693 | (setDefaultCloseOperation): Likewise, and updated API docs. | |
97b8365c | 19694 | |
ac1ed908 | 19695 | 2006-05-11 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 19696 | |
ac1ed908 MW |
19697 | * javax/swing/JFrame.java |
19698 | (paramString): Reimplemented, | |
19699 | * javax/swing/SwingUtilities.java | |
19700 | (convertWindowConstantToString): New method. | |
97b8365c | 19701 | |
ac1ed908 | 19702 | 2006-05-11 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 19703 | |
ac1ed908 | 19704 | * javax/swing/WindowConstants.java: Updated API docs. |
97b8365c | 19705 | |
ac1ed908 | 19706 | 2006-05-11 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 19707 | |
ac1ed908 MW |
19708 | * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs, |
19709 | (createUI): Removed 'final' qualifier for parameter, | |
19710 | (paint): Reformatted. | |
97b8365c | 19711 | |
ac1ed908 | 19712 | 2006-05-11 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 19713 | |
ac1ed908 MW |
19714 | * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus, |
19715 | (createUI): Removed 'final' qualifier on method argument. | |
97b8365c | 19716 | |
ac1ed908 | 19717 | 2006-05-11 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 19718 | |
ac1ed908 MW |
19719 | * javax/swing/plaf/basic/BasicCheckBoxUI.java |
19720 | (getDefaultIcon): Removed this redundant method. | |
4f9533c7 | 19721 | |
ac1ed908 | 19722 | 2006-05-11 David Gilbert <david.gilbert@object-refinery.com> |
4f9533c7 | 19723 | |
ac1ed908 MW |
19724 | * javax/swing/plaf/basic/BasicRadioButtonUI.java |
19725 | (paint): Pass component size to paintFocus(). | |
19726 | ||
19727 | 2006-05-11 Robert Schuster <robertschuster@fsfe.org> | |
19728 | ||
19729 | * java/awt/Component.java: | |
19730 | (dispatchEventImpl): Added comment. | |
97b8365c TT |
19731 | |
19732 | 2006-05-11 Mark Wielaard <mark@klomp.org> | |
19733 | ||
ac1ed908 MW |
19734 | * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast |
19735 | Option constructor null argument to String. | |
97b8365c | 19736 | |
4f9533c7 MW |
19737 | 2006-05-11 Mark Wielaard <mark@klomp.org> |
19738 | ||
19739 | * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO): | |
19740 | Fully qualify PathIterator constants | |
19741 | ||
ac1ed908 MW |
19742 | 2006-05-11 Robert Schuster <robertschuster@fsfe.org> |
19743 | ||
19744 | * java/awt/Component.java: | |
19745 | (dispatchEventImpl): Added subexpression to if-clause. | |
19746 | ||
19747 | 2006-05-11 Mark Wielaard <mark@klomp.org> | |
19748 | ||
19749 | * java/util/Collections.java (UnmodifiableMapEntry): Qualify | |
19750 | Map.Entry. | |
19751 | ||
19752 | 2006-05-10 David Gilbert <david.gilbert@object-refinery.com> | |
19753 | ||
19754 | * javax/swing/TransferHandler.java: Marked stub methods. | |
19755 | ||
4f9533c7 MW |
19756 | 2006-05-10 Roman Kennke <kennke@aicas.com> |
19757 | ||
97b8365c | 19758 | PR classpath/27481 |
4f9533c7 MW |
19759 | * javax/swing/plaf/basic/BasicInternalFrameUI.java |
19760 | (installDefaults): Set background of content pane to null, if | |
19761 | no custom color has been installed by the application yet. | |
19762 | ||
19763 | 2006-05-10 Roman Kennke <kennke@aicas.com> | |
19764 | ||
97b8365c | 19765 | PR classpath/27481 |
4f9533c7 MW |
19766 | * javax/swing/JRootPane.java |
19767 | (createContentPane): Don't set background to null. | |
19768 | ||
97b8365c TT |
19769 | 2006-05-10 Sven de Marothy <sven@physto.se> |
19770 | ||
19771 | * java/awt/print/PrinterJob.java: | |
19772 | (lookupPrintServices): Un-comment-out. | |
19773 | ||
ac1ed908 MW |
19774 | 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au> |
19775 | ||
19776 | * tools/gnu/classpath/tools/getopt/OptionGroup.java | |
19777 | (FILLER): New constant. | |
19778 | (formatText(PrintStream,String,int)): New method. | |
19779 | (formatText(PrintStream,String,int,Locale)): Likewise. | |
19780 | (printHelp): Use formatText method. | |
19781 | * tools/gnu/classpath/tools/getopt/Parser.java | |
19782 | (MAX_LINE_LENGTH): New constant. | |
19783 | (formatText(PrintStream,String)): New method. | |
19784 | (formatText(PrintStream,String,Locale)): Likewise. | |
19785 | (printHelp): New method. | |
19786 | (printHelp(PrintStream)): Increased visibility to protected. | |
19787 | Use formatText method. | |
19788 | ||
19789 | 2006-05-10 David Gilbert <david.gilbert@object-refinery.com> | |
19790 | ||
19791 | * javax/swing/plaf/metal/MetalRadioButtonUI.java | |
19792 | (installDefaults): Use getPropertyPrefix() to allow subclasses to | |
19793 | modify the lookup key. | |
19794 | ||
19795 | 2006-05-10 Lillian Angel <langel@redhat.com> | |
19796 | ||
19797 | * java/util/SimpleTimeZone.java: Reverted patch. | |
19798 | (SimpleTimeZone): Throw exception if startMonth == | |
19799 | endMonth. | |
19800 | (SimpleTimeZone): Likewise. | |
19801 | (checkRule): Rewritten to properly check all values (more | |
19802 | efficently). | |
19803 | This code is now more stable, at least less buggy than before. | |
19804 | Fixed API documentation. | |
19805 | (setStartRule): Moved checkRule call to end. | |
19806 | (setStartRule): Likewise. | |
19807 | (setEndRule): Likewise. | |
19808 | (setEndRule): Likewise. | |
19809 | ||
19810 | 2006-05-10 Roman Kennke <kennke@aicas.com> | |
19811 | ||
19812 | * gnu/java/awt/peer/swing/SwingComponent.java: | |
19813 | Some API comment fixlets. | |
19814 | * gnu/java/awt/peer/swing/SwingComponentPeer.java: | |
19815 | (createImage): Create a BufferedImage, not a Toolkit image. | |
19816 | (paint): Removed bogus API comment. | |
19817 | (prepareImage): Added checks to avoid NPE. | |
19818 | * gnu/java/awt/peer/swing/SwingContainerPeer.java: | |
19819 | (getInsets): Added check to avoid NPE. | |
19820 | (handleMouseEvent): Added check to avoid NPE. | |
19821 | * gnu/java/awt/peer/swing/SwingFramePeer.java: | |
19822 | Some API comment fixlets. | |
19823 | * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: | |
19824 | Some API comment fixlets. | |
19825 | * gnu/java/awt/peer/swing/SwingTextFieldPeer.java: | |
19826 | Changed start_pos name to startPos. | |
19827 | * gnu/java/awt/peer/swing/SwingWindowPeer.java: | |
19828 | Some API comment fixlets. | |
19829 | ||
19830 | 2006-05-10 David Gilbert <david.gilbert@object-refinery.com> | |
19831 | ||
19832 | * java/awt/BasicStroke.java | |
19833 | (equals): Fixed typo in HTML tag for API doc comment. | |
19834 | ||
19835 | 2006-05-10 Gary Benson <gbenson@redhat.com> | |
19836 | ||
19837 | * java/lang/ThreadGroup.java (parent): Make package-private. | |
19838 | * java/lang/SecurityManager.java (checkAccess(Thread)): | |
19839 | Reference ThreadGroup.parent directly to avoid extra checks. | |
19840 | * java/lang/SecurityManager.java (checkAccess(ThreadGroup)): | |
19841 | Likewise. | |
19842 | ||
19843 | 2006-05-10 Roman Kennke <kennke@aicas.com> | |
19844 | ||
19845 | Reported by Ingo Proetel (proetel@aicas.com) | |
19846 | * java/awt/EventDispatchThread.java | |
19847 | (DEFAULT_PRIORITY): New constant field. | |
19848 | (EventDispatchThread()): Added gnu.awt.dispatchthread.priority | |
19849 | system property for adjusting the priority of the event | |
19850 | dispatch thread. | |
19851 | ||
19852 | 2006-05-10 Roman Kennke <kennke@aicas.com> | |
19853 | ||
19854 | Reported by Ingo Proetel (proetel@aicas.com) | |
19855 | * java/awt/image/ColorModel.java | |
19856 | (S_RGB_MODEL): New constant field. | |
19857 | (getRGBDefault): Return constant SRGBColorModel. | |
19858 | (SRGBColorModel): Specialized color model for sRGB. | |
19859 | ||
19860 | 2006-05-10 Roman Kennke <kennke@aicas.com> | |
19861 | ||
19862 | * java/awt/ColorPaintContext.java | |
19863 | (getRaster): Create Raster with (0,0) as source location. | |
19864 | ||
19865 | 2006-05-10 Roman Kennke <kennke@aicas.com> | |
19866 | ||
19867 | * gnu/java/awt/java2d/AlphaCompositeContext.java | |
19868 | (compose): Don't premultiply alpha to alpha itself. | |
19869 | ||
19870 | 2006-05-10 Roman Kennke <kennke@aicas.com> | |
19871 | ||
19872 | * gnu/java/awt/java2d/AbstractGraphics2D.java | |
19873 | (drawImage(Image,AffineTransform,ImageObserver)): Implemented. | |
19874 | (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)): | |
19875 | New method. | |
19876 | (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented. | |
19877 | (drawRenderedImage(RenderedImage,AffineTransform)): Implemented. | |
19878 | (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)): | |
19879 | New method. | |
19880 | (drawRenderableImage(RenderableImage,AffineTransform)): Implemented. | |
19881 | (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)): | |
19882 | New method. | |
19883 | (scale): Inverse transform by doing 1/scale instead of -scale. | |
19884 | (drawImage(Image,int,int,ImageObserver)): Implemented. | |
19885 | (drawImage(Image,int,int,int,int,ImageObserver)): Implemented. | |
19886 | (drawImage(Image,int,int,Color,ImageObserver)): Implemented. | |
19887 | (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented. | |
19888 | (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)): | |
19889 | Implemented. | |
19890 | (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)): | |
19891 | Implemented. | |
19892 | (fillScanline): Work on translated destination raster for | |
19893 | correct compositin. | |
19894 | (init): Fetch the clip after the destination raster is initialized. | |
19895 | * gnu/java/awt/java2d/ImagePaint.java: New file. | |
19896 | * gnu/java/awt/java2d/RasterGraphics | |
19897 | (drawImage): Removed. | |
19898 | ||
19899 | 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com> | |
19900 | ||
19901 | * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties: | |
19902 | Clarify option descriptions. | |
19903 | * tools/gnu/classpath/tools/appletviewer/Main.java: Use all | |
19904 | uppercase for metasyntactic variables. | |
19905 | ||
4f9533c7 MW |
19906 | 2006-05-09 Robert Schuster <robertschuster@fsfe.org> |
19907 | ||
97b8365c | 19908 | PR classpath/24216 |
4f9533c7 MW |
19909 | * javax/swing/text/AbstractDocument.java: |
19910 | (insertString): Added more documentation, added argument check. | |
19911 | (remove): Added more documentation. | |
19912 | (removeImpl): Added argument check. | |
19913 | (replace): Added more documentation, added argument check. | |
19914 | ||
ac1ed908 MW |
19915 | 2006-05-09 Tom Tromey <tromey@redhat.com> |
19916 | ||
19917 | * tools/.cvsignore: Added appletviewer. | |
19918 | ||
19919 | 2006-05-09 Tom Tromey <tromey@redhat.com> | |
19920 | ||
19921 | * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip | |
19922 | empty groups. | |
19923 | ||
19924 | 2006-05-09 Tom Tromey <tromey@redhat.com> | |
19925 | ||
19926 | * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): | |
19927 | Special case for '-J'. Use space instead of '='. | |
19928 | * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added | |
19929 | comment. | |
19930 | ||
19931 | 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com> | |
19932 | ||
19933 | * configure.ac: Add --disable-plugin and --with-vm options. Check | |
19934 | for plugin support headers and libraries. | |
19935 | * native/Makefile.am: Recurse into plugin directory. | |
19936 | * native/plugin/.cvsignore: New file. | |
19937 | * native/plugin/Makefile.am: New file. | |
19938 | * native/plugin/gcjwebplugin.cc: New file. | |
19939 | * tools/Makefile.am: Install appletviewer wrapper script. | |
19940 | * tools/appletviewer.in: Replace VM location heuristic with | |
19941 | VM_BINARY configure substitution. | |
19942 | ||
19943 | 2006-05-09 Tom Tromey <tromey@redhat.com> | |
19944 | ||
19945 | * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added | |
19946 | an initial pass to look for short options. Added 'longOnly' option. | |
19947 | * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J | |
19948 | option. | |
19949 | * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard | |
19950 | options into final group. Added -J. | |
19951 | (add): Insert new groups before final group. | |
19952 | (printHelp): Updated. | |
19953 | ||
19954 | 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
19955 | ||
19956 | PR 27518 | |
19957 | * tools/gnu/classpath/tools/giop/GRMIC.java (main), | |
19958 | tools/gnu/classpath/tools/rmi/RMIC.java (main): | |
19959 | Expect -classpath option. | |
19960 | * tools/gnu/classpath/tools/rmi/RMIC.txt, | |
19961 | tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting | |
19962 | -classpath option. | |
19963 | tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java | |
19964 | (classLoader): New field. (loadClass, setClassPath): | |
19965 | New methods. | |
19966 | ||
19967 | 2006-05-09 Roman Kennke <kennke@aicas.com> | |
19968 | ||
19969 | * gnu/java/awt/java2d/RasterGraphics.java | |
19970 | (RasterGraphics): Call init() and super(). | |
19971 | (drawImage): Temporary drawImage impl until AbstractGraphics2D has | |
19972 | this. | |
19973 | ||
19974 | 2006-05-09 Gary Benson <gbenson@redhat.com> | |
19975 | ||
19976 | * java/lang/Thread.java (Thread): Always perform threadgroup | |
19977 | access checks on thread creation. | |
19978 | ||
19979 | 2006-05-09 Chris Burdess <dog@gnu.org> | |
19980 | ||
19981 | * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to | |
19982 | be preserved during cloneNode. | |
19983 | ||
19984 | 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
19985 | ||
19986 | PR 27517 | |
19987 | * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): | |
19988 | Do not demand all thrown exceptions to be an instance of RemoteException. | |
19989 | ||
19990 | 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com> | |
19991 | ||
19992 | * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties: | |
19993 | Use hash-style comments. | |
19994 | * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties: | |
19995 | Likewise. | |
19996 | ||
19997 | 2006-05-09 David Gilbert <david.gilbert@object-refinery.com> | |
19998 | ||
19999 | * javax/swing/JLabel.java | |
20000 | (paramString): Added more attribute details, | |
20001 | * javax/swing/SwingUtilities.java | |
20002 | (convertHorizontalAlignmentCodeToString): New method, | |
20003 | (convertVerticalAlignmentCodeToString): New method. | |
20004 | ||
20005 | 2006-05-08 Tom Tromey <tromey@redhat.com> | |
20006 | ||
20007 | * tools/gnu/classpath/tools/jar/Updater.java (run): Updated. | |
20008 | * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields. | |
20009 | * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use | |
20010 | ZipInputStream. | |
20011 | (run): Updated. | |
20012 | * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err | |
20013 | for verbose. | |
20014 | (run): Use ZipInputStream. | |
20015 | (initSet): New method. | |
20016 | (shouldExtract): Likewise. | |
20017 | (run): Use new methods. | |
20018 | * tools/gnu/classpath/tools/jar/Creator.java | |
20019 | (writeCommandLineEntries): New overload. | |
20020 | (writeFile): Use System.err for verbose. | |
20021 | (writeManifest): New method. | |
20022 | (writtenItems): New field. | |
20023 | (writeFile): Update it. | |
20024 | (writeCommandLineEntries): Return void. Call writeManifest. | |
20025 | (addEntries): Don't add extra '/'. | |
20026 | * NEWS: Mention jar. | |
20027 | ||
20028 | 2006-05-08 Lillian Angel <langel@redhat.com> | |
20029 | ||
20030 | * gnu/java/net/IndexListParser.java: New class. | |
20031 | * java/net/URLClassLoader.java | |
20032 | (JarURLLoader): Fixed code to use new class. | |
20033 | ||
20034 | 2006-05-08 Roman Kennke <kennke@aicas.com> | |
20035 | ||
20036 | * javax/swing/JComboBox.java | |
20037 | (AccessibleJComboBox.getAccessibleChildrenCount): Implemented. | |
20038 | (AccessibleJComboBox.getAccessibleChild): Implemented. | |
20039 | (AccessibleJComboBox.getAccessibleSelection()): Implemented. | |
20040 | (AccessibleJComboBox.getAccessibleSelection(int)): Implemented. | |
20041 | (AccessibleJComboBox.isAccessibleChildSelected): Implemented. | |
20042 | (AccessibleJComboBox.getAccessibleAction): Implemented. | |
20043 | (AccessibleJComboBox.getAccessibleActionDescription): Implemented. | |
20044 | (AccessibleJComboBox.getAccessibleActionCount): Implemented. | |
20045 | (AccessibleJComboBox.doAccessibleAction): Implemented. | |
20046 | (AccessibleJComboBox.getAccessibleSelectionCount): Implemented. | |
20047 | (AccessibleJComboBox.addAccessibleSelection): Implemented. | |
20048 | (AccessibleJComboBox.removeAccessibleSelection): Implemented. | |
20049 | (AccessibleJComboBox.clearAccessibleSelection): Implemented. | |
20050 | (AccessibleJComboBox.selectAllAccessibleSelection): Implemented. | |
20051 | ||
20052 | 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com> | |
20053 | ||
20054 | * configure.ac: Add support for building appletviewer. | |
20055 | * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties: | |
20056 | New file. | |
20057 | * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties: | |
20058 | New file. | |
20059 | * tools/appletviewer.c: New file. | |
20060 | * tools/appletviewer.in: New file. | |
20061 | * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java: | |
20062 | New file. | |
20063 | * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java: | |
20064 | New file. | |
20065 | * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file. | |
20066 | * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New | |
20067 | file. | |
20068 | * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java: | |
20069 | New file. | |
20070 | * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java: | |
20071 | New file. | |
20072 | * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New | |
20073 | file. | |
20074 | * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New | |
20075 | file. | |
20076 | * tools/gnu/classpath/tools/appletviewer/Main.java: New file. | |
20077 | * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java: | |
20078 | New file. | |
20079 | * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java: | |
20080 | New file. | |
20081 | * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java: | |
20082 | New file. | |
20083 | * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java: | |
20084 | New file. | |
20085 | * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java: | |
20086 | New file. | |
20087 | * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java: | |
20088 | New file. | |
20089 | * tools/gnu/classpath/tools/appletviewer/TagParser.java: New | |
20090 | file. | |
20091 | ||
20092 | 2006-05-08 Tom Tromey <tromey@redhat.com> | |
20093 | ||
20094 | * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file. | |
20095 | * tools/gnu/classpath/tools/jar/Action.java: New file. | |
20096 | * tools/gnu/classpath/tools/jar/Creator.java: New file. | |
20097 | * tools/gnu/classpath/tools/jar/Entry.java: New file. | |
20098 | * tools/gnu/classpath/tools/jar/Extractor.java: New file. | |
20099 | * tools/gnu/classpath/tools/jar/Lister.java: New file. | |
20100 | * tools/gnu/classpath/tools/jar/Main.java: New file. | |
20101 | * tools/gnu/classpath/tools/jar/Updater.java: New file. | |
20102 | * tools/gnu/classpath/tools/getopt/Option.java: New file. | |
20103 | * tools/gnu/classpath/tools/getopt/OptionException.java: New file. | |
20104 | * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file. | |
20105 | * tools/gnu/classpath/tools/getopt/Parser.java: New file. | |
20106 | * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New | |
20107 | file. | |
20108 | ||
4f9533c7 MW |
20109 | 2006-05-08 Lillian Angel <langel@redhat.com> |
20110 | ||
20111 | * java/net/URLClassLoader.java | |
20112 | (JarURLLoader): Added check to make sure the INDEX.LIST file | |
20113 | exists. | |
20114 | ||
20115 | 2006-05-08 Roman Kennke <kennke@aicas.com> | |
20116 | ||
ac1ed908 MW |
20117 | * gnu/java/awt/java2d/AbstractGraphics2D.java |
20118 | (fill): Removed commented out code. | |
20119 | (fillShape): Also determine the outline of the clip and feed | |
20120 | it into the rendering method. Use new helper method for | |
20121 | converting the shapes into lists of segments. | |
20122 | (getUserBounds): Removed obsolete method. | |
20123 | (rawFillShape): Respect the clip when rendering shapes. | |
20124 | (fillShapeAntialias): Adjusted signature for new clipped rendering. | |
20125 | However, the implementation can't clip still. | |
20126 | (getSegments): New helper method for converting a shape into | |
20127 | a list of segments. | |
20128 | (clipShape): Removed obsolete method. | |
20129 | * gnu/java/awt/java2d/PolyEdge.java | |
20130 | (isClip): New field. | |
20131 | (PolyEdge): Added isField argument to constructor. | |
20132 | ||
20133 | 2006-05-08 Roman Kennke <kennke@aicas.com> | |
20134 | ||
20135 | PR 27481 | |
4f9533c7 MW |
20136 | * javax/swing/JRootPane.java |
20137 | (createContentPane): Set background of the content pane to null, | |
20138 | so that the content pane inherits its background from the | |
20139 | root pane. | |
20140 | ||
20141 | 2006-05-08 Roman Kennke <kennke@aicas.com> | |
20142 | ||
ac1ed908 | 20143 | PR 27480 |
4f9533c7 MW |
20144 | * javax/swing/ButtonGroup.java |
20145 | (add): Check if new button is selected and if so, deselect other | |
20146 | buttons in the group. | |
20147 | ||
20148 | 2006-05-08 Lillian Angel <langel@redhat.com> | |
20149 | ||
20150 | PR 27444 | |
20151 | * java/net/URLClassLoader.java | |
20152 | (JarURLLoader): Added code to go through | |
20153 | META-INF/INDEX.LIST file to load all jars listed. | |
20154 | ||
20155 | 2006-05-08 Roman Kennke <kennke@aicas.com> | |
20156 | ||
ac1ed908 | 20157 | PR 27461 |
4f9533c7 MW |
20158 | * javax/swing/ImageIcon.java |
20159 | (ImageIcon(URL)): Set description to URL.toString(). | |
20160 | ||
20161 | 2006-05-08 Roman Kennke <kennke@aicas.com> | |
20162 | ||
ac1ed908 | 20163 | PR 27482 |
4f9533c7 MW |
20164 | * javax/swing/JTable.java |
20165 | (IconCellRenderer.getTableCellRendererComponent): Set icon to | |
20166 | null when cell value is null. | |
20167 | ||
20168 | 2006-05-08 Roman Kennke <kennke@aicas.com> | |
20169 | ||
ac1ed908 | 20170 | PR 27484 |
4f9533c7 MW |
20171 | * javax/swing/DefaultDesktopManager.java |
20172 | (closeFrame): Don't perform default close action on the frame | |
20173 | to prevent endless loop. | |
20174 | ||
20175 | 2006-05-08 Roman Kennke <kennke@aicas.com> | |
20176 | ||
ac1ed908 | 20177 | PR 27485 |
4f9533c7 MW |
20178 | * javax/swing/table/DefaultTableModel.java |
20179 | (addExtraRows): New helper method. | |
20180 | (checkSize): New helper method. | |
20181 | (setRowCount): Use addExtraRows helper method. | |
20182 | (addColumn): Use addExtraRows helper method. | |
20183 | (getColumnName): Check and adjust size if necessary using | |
20184 | checkSize(). | |
20185 | ||
20186 | 2006-05-08 Roman Kennke <kennke@aicas.com> | |
20187 | ||
ac1ed908 | 20188 | PR 27486 |
4f9533c7 MW |
20189 | * javax/swing/JTable.java |
20190 | (setValueAt): Allow setting values even when table is editable. | |
20191 | ||
ac1ed908 MW |
20192 | 2006-05-08 Tom Tromey <tromey@redhat.com> |
20193 | ||
20194 | * java/text/SimpleDateFormat.java (compileFormat): Added missing | |
20195 | space to error message. | |
20196 | ||
20197 | 2006-05-08 David Gilbert <david.gilbert@object-refinery.com> | |
20198 | ||
20199 | * javax/swing/AbstractButton.java: Fixed comment typos. | |
20200 | ||
4f9533c7 MW |
20201 | 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org> |
20202 | ||
20203 | PR classpath/27435: | |
20204 | * java/util/zip/DeflaterEngine.java: | |
20205 | (deflateFast(boolean,boolean)): Empty buffer when full. | |
20206 | ||
20207 | 2006-05-07 Sven de Marothy <sven@physto.se> | |
20208 | ||
20209 | Fixed PR27343 | |
20210 | * java/util/Calendar.java (setTimeZone): Force recalculation. | |
ac1ed908 | 20211 | |
4f9533c7 MW |
20212 | 2006-05-07 Sven de Marothy <sven@physto.se> |
20213 | ||
20214 | Fixed PR27463 | |
20215 | * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java | |
20216 | (propertyChange): Handle FRAME_ICON_PROPERTY property. | |
ac1ed908 | 20217 | |
4f9533c7 MW |
20218 | 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org> |
20219 | ||
20220 | PR classpath/27311: | |
20221 | * gnu/java/text/StringFormatBuffer.java: | |
20222 | (toString()): Implemented so we can see the contents. | |
20223 | * java/text/DecimalFormat.java: | |
20224 | (formatInternal(double,StringFormatBuffer,FieldPosition)): | |
20225 | Don't calculate the exponent when the number is 0 or less. | |
20226 | Also, use log10 instead of log now it's available. | |
ac1ed908 MW |
20227 | |
20228 | 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au> | |
4f9533c7 | 20229 | |
ac1ed908 MW |
20230 | * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry): |
20231 | Use instance's field creationDate not the constructor's argument. | |
20232 | * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: | |
20233 | Removed unused imports. | |
20234 | Sorted imports. | |
20235 | (log): New field. | |
20236 | (decrypt): Added trace/debug/timing statements. | |
20237 | (encrypt): Likewise. | |
20238 | Use PRNG instead of instantiating every time a new SecureRandom. | |
20239 | * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: | |
20240 | Removed unused imports. | |
20241 | Sorted imports. | |
20242 | (log): New field. | |
20243 | (verify): Added trace/debug/timing statements. | |
20244 | (authenticate): Likewise. | |
20245 | Use PRNG instead of instantiating every time a new SecureRandom. | |
4f9533c7 | 20246 | |
ac1ed908 MW |
20247 | 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au> |
20248 | ||
20249 | * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed. | |
20250 | (THREAD_FORMAT): Likewise. | |
20251 | (dateFormat): Added field. | |
20252 | (threadFormat): Added field. | |
20253 | (format): Initialize instance fields if null. | |
20254 | Use StringBuilder instead of StringBuffer. | |
4f9533c7 MW |
20255 | |
20256 | 2006-05-07 Roman Kennke <kennke@aicas.com> | |
20257 | ||
20258 | * gnu/java/awt/java2d/RasterGraphics.java: New file. | |
20259 | ||
20260 | 2006-05-07 Roman Kennke <kennke@aicas.com> | |
20261 | ||
20262 | * gnu/java/awt/java2d/AbstractGraphics2D.java | |
20263 | (fillShape): Determine user space bounds of shape and feed them | |
20264 | into the actual rendering pipeline. | |
20265 | (rawSetPixel): Made non-abstract for now. Maybe remove later. | |
20266 | (rawSetForeground): Likewise. | |
20267 | (getDestinationColorModel): Removed. | |
20268 | (getDeviceBounds): Made non-abstract. Provide useful default impl. | |
20269 | (rawFillShape): Handle paint context. | |
20270 | (fillScanline): Implement painting and compositing. | |
20271 | (fillShapeAntialias): Handle paint context. | |
20272 | (fillScanlineAA): Implemented preliminary antialiasing based on | |
20273 | composite context. Not working yet. | |
20274 | (fillScanlineAlpha): Removed. | |
20275 | (init): Fetch destination raster. | |
20276 | (getDestinationRaster): New abstract method. | |
20277 | (updateRaster): New backend method. | |
20278 | ||
20279 | 2006-05-07 Roman Kennke <kennke@aicas.com> | |
20280 | ||
20281 | * gnu/java/awt/java2d/AlphaCompositeContext.java | |
20282 | (compose): Fixed loops, conditions and logic to make compositing | |
20283 | work correctly. | |
20284 | ||
ac1ed908 MW |
20285 | 2006-05-07 Roman Kennke <kennke@aicas.com> |
20286 | ||
20287 | * java/awt/ColorPaintContext.java | |
20288 | (ColorPaintContext): Fixed filling of the raster. | |
20289 | ||
20290 | 2006-05-07 Sven de Marothy <sven@physto.se> | |
20291 | ||
20292 | Fixed PR27455 | |
20293 | * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove. | |
20294 | * java/awt/Component.java (processMouseEvent): | |
20295 | Do lightweight cursor handling. | |
20296 | * javax/swing/plaf/basic/BasicTableHeaderUI.java | |
20297 | (endResizing,mouseMoved): Save and reset original cursor, not the | |
20298 | default one. | |
20299 | ||
20300 | 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
20301 | ||
20302 | PR 27298 | |
20303 | * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler. | |
20304 | getNodeDimensions): Mind the size of the node icon. (getRowX): | |
20305 | use totalChildIndent. (TreeExpansionHandler): Set maximal height | |
20306 | to zero on events. (nullIcon): New field. (getCurrentControlIcon): | |
20307 | Return nullIcon if there is no other icon. (getNodeIcon): New method. | |
20308 | (installDefaults): assign totalChildIndent. (installUI): Call | |
20309 | updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten. | |
20310 | (paintRow): Rewritten. (updateRenderer): Do not set the renderer for | |
20311 | the tree. | |
20312 | ||
20313 | 2006-05-06 Sven de Marothy <sven@physto.se> | |
20314 | ||
20315 | Fixed PR27454 | |
20316 | * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): | |
20317 | Check for zero image sizes. | |
20318 | ||
20319 | 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com> | |
20320 | ||
20321 | Fixed PR27362 | |
20322 | * java/util/Calendar.java (clear(int)): Forced internal state | |
20323 | completion before performing a field clearing. | |
20324 | ||
20325 | 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com> | |
20326 | ||
20327 | * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet. | |
20328 | UnmodifiableMapEntry): New Map.Entry implementation which is immutable. | |
20329 | (UnmodifiableMap.UnmodifiableEntrySet.iterator, | |
20330 | UnmodifiableMap.UnmodifiableEntrySet.toArray, | |
20331 | UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used | |
20332 | UnmodifiableMapEntry as part of their return value. | |
20333 | ||
20334 | 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au> | |
20335 | ||
20336 | * tools/keytool.sh.in: Removed (renamed to keytool.in). | |
20337 | * tools/jarsigner.in: Removed (renamed to jarsigner.in). | |
20338 | * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip. | |
20339 | Generate jarsigner and keytool scripts. | |
20340 | * tools/keytool.in: New file (renamed from keytool.sh.in). | |
20341 | * tools/jarsigner.in: New file (renamed from jarsigner.sh.in). | |
20342 | * tools/.cvsignore: Replaced *.sh with * | |
20343 | * configure.ac: Replaced tools/*.sh with tools/*. | |
20344 | ||
4f9533c7 MW |
20345 | 2006-05-05 Roman Kennke <kennke@aicas.com> |
20346 | ||
20347 | * java/awt/image/ColorModel.java | |
20348 | (getNormalizedComponents): Implemented. | |
20349 | ||
20350 | 2006-05-05 Roman Kennke <kennke@aicas.com> | |
20351 | ||
20352 | * javax/swing/plaf/basic/BasicRadioButtonUI.java | |
20353 | (paint): Query the button model for it's state, not the | |
20354 | button itself. | |
20355 | ||
20356 | 2006-05-05 Roman Kennke <kennke@aicas.com> | |
20357 | ||
20358 | * javax/swing/JTable.java | |
20359 | (tableChanged): Sync selection model with table model changes. | |
20360 | ||
ac1ed908 MW |
20361 | 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
20362 | ||
20363 | * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early | |
20364 | if there are no visible nodes to paint. | |
20365 | ||
20366 | 2006-05-05 David Gilbert <david.gilbert@object-refinery.com> | |
20367 | ||
20368 | * javax/swing/JOptionPane.java: API doc updates. | |
20369 | ||
20370 | 2006-05-05 David Gilbert <david.gilbert@object-refinery.com> | |
20371 | ||
20372 | * javax/swing/JToolBar.java | |
20373 | (paramString): Reimplemented. | |
20374 | ||
20375 | 2006-05-05 David Gilbert <david.gilbert@object-refinery.com> | |
20376 | ||
20377 | * javax/swing/JScrollBar.java | |
20378 | (paramString): Reimplemented. | |
20379 | ||
20380 | 2006-05-04 Tom Tromey <tromey@redhat.com> | |
20381 | ||
20382 | PR classpath/27375: | |
20383 | * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap. | |
20384 | (readEntries): Updated. | |
20385 | (getEntries): Likewise. | |
20386 | (getEntry): Likewise. | |
20387 | (getInputStream): Likewise. | |
20388 | ||
20389 | 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com> | |
20390 | ||
20391 | * gnu/javax/imageio/jpeg/DCT.java, | |
20392 | gnu/javax/imageio/jpeg/HuffmanTable.java, | |
20393 | gnu/javax/imageio/jpeg/JPEGComponent.java, | |
20394 | gnu/javax/imageio/jpeg/JPEGDecoder.java, | |
20395 | gnu/javax/imageio/jpeg/JPEGException.java, | |
20396 | gnu/javax/imageio/jpeg/JPEGFrame.java, | |
20397 | gnu/javax/imageio/jpeg/JPEGImageInputStream.java, | |
20398 | gnu/javax/imageio/jpeg/JPEGImageReader.java, | |
20399 | gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java, | |
20400 | gnu/javax/imageio/jpeg/JPEGMarker.java, | |
20401 | gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java, | |
20402 | gnu/javax/imageio/jpeg/JPEGScan.java, | |
20403 | gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java, | |
20404 | gnu/javax/imageio/jpeg/ZigZag.java: New files. | |
20405 | ||
20406 | 2006-05-04 Lillian Angel <langel@redhat.com> | |
20407 | ||
20408 | * javax/swing/JLabel.java | |
20409 | (JLabel): Pass in an empty string for the text parameter. | |
20410 | (JLabel): Likewise. | |
20411 | (JLabel): Likewise. | |
20412 | ||
4f9533c7 MW |
20413 | 2006-05-04 Roman Kennke <kennke@aicas.com> |
20414 | ||
20415 | * javax/swing/plaf/basic/BasicButtonListener.java | |
20416 | (mouseEntered): Fixed conditions for changing states. | |
20417 | ||
20418 | 2006-05-04 Roman Kennke <kennke@aicas.com> | |
20419 | ||
20420 | * javax/swing/JOptionPane.java | |
20421 | (AccessibleJOptionPane.getAccessibleRole): Implemented method. | |
20422 | ||
20423 | 2006-05-04 Roman Kennke <kennke@aicas.com> | |
20424 | ||
20425 | * javax/swing/JLabel.java | |
20426 | (AccessibleJLabel.getSelectedText): Return null instead of "". | |
20427 | (AccessibleJLabel.getSelectionStart): Added comment why | |
ac1ed908 | 20428 | return -1 is correct here. |
4f9533c7 | 20429 | (AccessibleJLabel.getSelectionEnd): Added comment why |
ac1ed908 MW |
20430 | return -1 is correct here. |
20431 | (AccessibleJLabel.getCharacterAttribute): Added comment about what | |
20432 | to do here. | |
4f9533c7 | 20433 | (AccessibleJLabel.getCharCount): Added comment about what |
ac1ed908 MW |
20434 | to do here. |
20435 | (AccessibleJLabel.getCharacterBounds): Tagged as not implemented. | |
4f9533c7 MW |
20436 | (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented. |
20437 | (paramString): Return super.paramString() here, this provides | |
ac1ed908 | 20438 | a more meaningful output. |
4f9533c7 MW |
20439 | |
20440 | 2006-05-04 Roman Kennke <kennke@aicas.com> | |
20441 | ||
20442 | * javax/swing/JComponent.java | |
20443 | (paint): Added null check to avoid NPE when clip == null. | |
20444 | ||
20445 | 2006-05-04 Roman Kennke <kennke@aicas.com> | |
20446 | ||
20447 | * javax/swing/AbstractButton.java | |
20448 | (addImpl): New method. Installs an OverlayLayout if no | |
20449 | other layout has been installed before. | |
ac1ed908 MW |
20450 | (setLayout): New method. Detect if a client app installs a custom |
20451 | layout. | |
20452 | ||
4f9533c7 MW |
20453 | 2006-05-04 Roman Kennke <kennke@aicas.com> |
20454 | ||
ac1ed908 | 20455 | * javax/swing/table/DefaultTableCellRenderer.java |
4f9533c7 MW |
20456 | (noFocusBorder): Fixed width of empty border to 1. |
20457 | (getTableCellRendererComponent): Don't change the colors for | |
20458 | focuses cells. Fixed border for focused cells. | |
ac1ed908 | 20459 | |
4f9533c7 MW |
20460 | 2006-05-04 Roman Kennke <kennke@aicas.com> |
20461 | ||
20462 | * javax/swing/JTable.java | |
ac1ed908 MW |
20463 | (moveToCellBeingEdited): Adjust bounding box of editing component |
20464 | to exactly cover the grid. | |
4f9533c7 | 20465 | * javax/swing/plaf/basic/BasicTableUI.java |
ac1ed908 MW |
20466 | (paint): Paint grid to the bottom and right of the cells instead |
20467 | of left and top. Adjust bounding box of cells accordingly. | |
4f9533c7 | 20468 | * javax/swing/plaf/metal/MetalLookAndFeel.java |
ac1ed908 | 20469 | (initComponentDefaults): Fixed color of JTable selection border. |
4f9533c7 | 20470 | * javax/swing/plaf/metal/OceanTheme.java |
ac1ed908 | 20471 | (addCustomEntriesToTable): Fixed color of JTable selection border. |
4f9533c7 MW |
20472 | |
20473 | 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au> | |
20474 | ||
20475 | * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): | |
20476 | Use _alias instead of alias. | |
20477 | ||
ac1ed908 | 20478 | 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org> |
4f9533c7 | 20479 | |
ac1ed908 MW |
20480 | * configure.ac: |
20481 | Set version to 0.92-pre. | |
20482 | * NEWS: | |
20483 | Add space for 0.92 entries. | |
4f9533c7 | 20484 | |
4f9533c7 MW |
20485 | 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org> |
20486 | ||
20487 | * include/Makefile.am: | |
20488 | Added rules for gnu.java.net.local.LocalSocketImpl.h | |
20489 | * include/java_lang_VMSystem.h: | |
20490 | Regenerated correctly. | |
20491 | ||
20492 | 2006-05-03 Sven de Marothy <sven@physto.se> | |
20493 | ||
20494 | PR 24023, 24701 | |
20495 | * java/awt/Image.java: | |
20496 | (getScaledInstance): Default to AreaAveraging for "smooth", | |
20497 | don't thrown an error on illegal flag values. | |
20498 | * java/awt/image/AreaAveragingScaleFilter.java: Implement. | |
20499 | ||
20500 | 2006-05-03 Robert Schuster <robertschuster@fsfe.org> | |
20501 | ||
20502 | * javax/swing/text/FieldView.java: | |
20503 | (adjustAllocation): Added if-block to return null when shape argument | |
20504 | is null. | |
20505 | * javax/swing/text/PlainView.java: | |
20506 | (updateDamage): Added if-block to return early if a is null. | |
20507 | ||
20508 | 2006-05-03 Robert Schuster <robertschuster@fsfe.org> | |
20509 | ||
20510 | * javax/swing/plaf/basic/BasicTextUI.java: | |
20511 | (changeUpdate): Added note. | |
20512 | (removeUpdate): Dito. | |
20513 | (insertUpdate): Dito. | |
20514 | (damageRange): Added if-block to return early. | |
20515 | (modelToView): Added check of getVisibleEditorRect's return value. | |
20516 | (getVisibleEditorRect): Return null instead of empty rectangle. | |
20517 | * javax/swing/text/DefaultCaret.java: | |
20518 | (clearHighlight): Removed if-clause to create a highlight entry if it | |
20519 | did not exist before. | |
20520 | * javax/swing/text/WrappedPlainView.java: | |
20521 | (WrappedLine.modelToView): Throw exception if allocation area is empty, | |
20522 | removed 2nd part of if-expression. | |
20523 | (WrappedLine.updateDamage): Added more documentation, added check | |
20524 | whether allocation area rectangle is null. | |
20525 | ||
20526 | 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
20527 | ||
20528 | * javax/swing/JSplitPane.java (setDividerLocation(int)): | |
20529 | Reset to preferred sizes if the argument is negative. | |
20530 | ||
20531 | 2006-05-03 David Gilbert <david.gilbert@object-refinery.com> | |
20532 | ||
20533 | * javax/swing/JList.java: Added/updated API docs. | |
20534 | ||
20535 | 2006-05-03 Lillian Angel <langel@redhat.com> | |
20536 | ||
20537 | * javax/swing/JComponent.java | |
20538 | (getRoot): New private function. Gets the root appropriate | |
20539 | for painting. If an applet exists as a parent, then it is returned. | |
20540 | (paintDoubleBuffered): Changed to use new function. | |
20541 | * javax/swing/RepaintManager.java | |
20542 | (getRoot): New private function. Gets the root appropriate | |
20543 | for painting. If an applet exists as a parent, then it is returned. | |
20544 | (getOffscreenBuffer): Changed to use new function. | |
20545 | * javax/swing/SwingUtilties.java | |
20546 | (getRoot): Reverted last patch to return Window, even if | |
20547 | an Applet exists. | |
20548 | ||
20549 | 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au> | |
20550 | ||
20551 | * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using | |
20552 | a pair of one public keyring and one private keyring. | |
20553 | * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field. | |
20554 | (containsCertificate): Added logging. | |
20555 | (getCertificate): Likewise. | |
20556 | (putCertificate): Likewsie. | |
20557 | (load): Likewise. | |
20558 | (store): Likewise. | |
20559 | * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field. | |
20560 | (containsPrivateKey): Added logging. | |
20561 | (getPrivateKey): Likewise. | |
20562 | (putPrivateKey): Likewise. | |
20563 | (containsPublicKey): Likewise. | |
20564 | (getPublicKey): Likewise. | |
20565 | (putPublicKey): Likewise. | |
20566 | (containsCertPath): Likewise. | |
20567 | (getCertPath): Likewise. | |
20568 | (putCertPath): Likewise. | |
20569 | (load): Likewise. | |
20570 | (store): Likewise. | |
20571 | ||
20572 | 2006-05-03 Roman Kennke <kennke@aicas.com> | |
20573 | ||
20574 | * gnu/java/awt/java2d/AlphaCompositeContext.java: New class. | |
20575 | * java/awt/AlphaComposite.java | |
20576 | (createContext): Implemented. | |
20577 | ||
20578 | 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
20579 | ||
20580 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster): | |
20581 | Set the current color again after drawing the raster. | |
20582 | ||
20583 | 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
20584 | ||
20585 | * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView): | |
20586 | Do not check pos < currLineEnd if currLineStart == currLineEnd. | |
20587 | ||
20588 | 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au> | |
20589 | ||
20590 | * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler): | |
20591 | Assign returned value to field handler. | |
20592 | * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler): | |
20593 | Likewise. | |
20594 | ||
20595 | 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
20596 | ||
20597 | * javax/swing/ScrollPaneLayout.java (layoutContainer): | |
20598 | Return without action if there is no view in the viewport. | |
20599 | * javax/swing/text/WrappedPlainView.java | |
20600 | (WrappedLine.getPreferredSpan): If metrics == null, update | |
20601 | metrics. | |
20602 | * javax/swing/tree/DefaultTreeModel.java (constructors): | |
20603 | Do not call setRoot, assign the root node directly. | |
20604 | ||
20605 | 2006-05-02 Lillian Angel <langel@redhat.com> | |
20606 | ||
20607 | * javax/swing/SwingUtilities.java | |
20608 | (getRoot): Should return the Applet if it exists. | |
20609 | Only return the Window if an Applet has not been | |
20610 | encountered. | |
20611 | ||
20612 | 2006-05-02 Lillian Angel <langel@redhat.com> | |
20613 | ||
20614 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
20615 | (readAttributes): Reverted Audrius' last patch. There is | |
20616 | a slight difference in code between the NUMTOKEN and SLASH case. | |
20617 | ||
20618 | 2006-05-02 Robert Schuster <robertschuster@fsfe.org> | |
20619 | ||
20620 | * javax/swing/text/JTextComponent.java: | |
20621 | (setText): Throw InternalError from catch-block. | |
20622 | * javax/swing/text/GapContent.java: | |
20623 | (removed): Removed if-expression, changed '>' to '>='. | |
20624 | ||
20625 | 2006-05-02 Roman Kennke <kennke@aicas.com> | |
20626 | ||
20627 | * gnu/java/awt/java2d/AbstractGraphics2D.java | |
20628 | (AA_SAMPLING): New constant. | |
20629 | (alpha): New field. Used in the antialiasing renderer. | |
20630 | (edgeTable): New field. Used in the antialiasing renderer. | |
20631 | (AbstractGraphics2D): Initialize rendering hints wrt | |
20632 | anti-aliasing. | |
20633 | (draw): Clip after stroking. Commented out clipping for now, | |
20634 | it seems to be buggy. | |
20635 | (fill): Commented out clipping for now, it seems to be buggy. | |
20636 | (setComposite): Don't create composite context. | |
20637 | (setPaint): Only change paint when parameter is not null. | |
20638 | (translate): Call setClip() so subclasses can update their clip | |
20639 | too. | |
20640 | (clip): Call setClip() so subclasses can update their clip | |
20641 | too. | |
20642 | (drawGlyphVector): Added clipping, but left it commented out | |
20643 | because it's buggy. | |
20644 | (getClipBounds): Returns null when clip is null. | |
20645 | (drawLine): Call rawDrawLine with translation applied. | |
20646 | (filLRect): Call rawFillRect with translation applied. | |
20647 | (fillShape): Added support for anti-aliasing. | |
20648 | (rawSetForeground(int,int,int)): New method. | |
20649 | (rawFillShape): A couple of painting fixes. | |
20650 | (fillScanline): Implemented to call rawDrawLine. | |
20651 | (fillShapeAntialias): New method. Implements an anti-aliasing | |
20652 | shape filler. | |
20653 | (fillScanlineAA): New method. Used for the anti-aliasing | |
20654 | shape filler. | |
20655 | (fillScanlineAlpha): New method. Used for the anti-aliasing | |
20656 | shape filler. | |
20657 | (init): Initialize clip with the device bounds. | |
20658 | (updateOptimization): Fixed the optimization condition. | |
20659 | ||
20660 | 2006-05-02 Robert Schuster <robertschuster@fsfe.org> | |
20661 | ||
20662 | * javax/swing/text/GapContent.java: | |
20663 | (GapContent): Restrict size argument by 2. | |
20664 | (insertString): Changed expression from >= to >. | |
20665 | (remove): Changed right side of expression to 'length - 1', changed | |
20666 | exception message. | |
20667 | (getChars): Throw exception if where below 0. | |
20668 | (replace): Replaced call to setPositionsInRange() with | |
20669 | resetMarksAtZero(), removed note. | |
20670 | ||
20671 | 2006-05-02 Roman Kennke <kennke@aicas.com> | |
20672 | ||
20673 | PR 27326 | |
20674 | * javax/swing/MenuSelectionManager.java | |
20675 | (setSelectedPath): Rewritten. | |
20676 | ||
20677 | 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
20678 | ||
20679 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
20680 | (readAttributes): Merge case NUMTOKEN: and case SLASH: | |
20681 | sections. | |
20682 | ||
20683 | 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
20684 | ||
20685 | * tools/.cvsignore: Added keytool.sh. | |
20686 | * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES. | |
20687 | ||
20688 | 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
20689 | ||
20690 | * doc/tools.texinfo: New file. | |
20691 | * doc/Makefile.am: Generate tools documentation. | |
20692 | ||
20693 | 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
20694 | ||
20695 | * tools/keytool.sh.in: New file. | |
20696 | * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise. | |
20697 | * tools/gnu/classpath/tools/keytool/Command.java: Likewise. | |
20698 | * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise. | |
20699 | * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise. | |
20700 | * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise. | |
20701 | * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise. | |
20702 | * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise. | |
20703 | * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise. | |
20704 | * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise. | |
20705 | * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise. | |
20706 | * tools/gnu/classpath/tools/keytool/Main.java: Likewise. | |
20707 | * tools/gnu/classpath/tools/keytool/Messages.java: Likewise. | |
20708 | * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise. | |
20709 | * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise. | |
20710 | * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise. | |
20711 | * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise. | |
20712 | * tools/gnu/classpath/tools/keytool/package.html: Likewise. | |
20713 | * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise. | |
20714 | ||
20715 | 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
20716 | ||
20717 | * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to | |
20718 | resemble more closely man-page style text. | |
20719 | * tools/gnu/classpath/tools/jarsigner/SFHelper.java: | |
20720 | Mark (Eclipse) strings that need not be externalised. | |
20721 | (writeSF): Likewise. | |
20722 | (writeDSA): Likewise. | |
20723 | Use package-private Messages class to provide i18n-ready strings. | |
20724 | (startSigning): | |
20725 | Use package-private Messages class to provide i18n-ready strings. | |
20726 | (updateEntry): Likewise. | |
20727 | Mark (Eclipse) strings that need not be externalised. | |
20728 | (finishSigning): Likewise. | |
20729 | * tools/gnu/classpath/tools/jarsigner/Main.java: | |
20730 | Mark (Eclipse) strings that need not be externalised. | |
20731 | (main): Do not use constant strings as class name. | |
20732 | Use package-private Messages class to provide i18n-ready strings. | |
20733 | Reduced logging level so INFO becomes FINER, and WARNING becomes FINE. | |
20734 | (processArgs): Do not use constant strings as class name. | |
20735 | Mark (Eclipse) strings that need not be externalised. | |
20736 | Reduced logging level so INFO becomes FINER, and WARNING becomes FINE. | |
20737 | (start): Do not use constant strings as class name. | |
20738 | (teardown): Likewise. | |
20739 | Use ProviderUtil. | |
20740 | (setupCommonParams): Do not use constant strings as class name. | |
20741 | Use package-private Messages class to provide i18n-ready strings. | |
20742 | Reduced logging level so INFO becomes FINER, and WARNING becomes FINE. | |
20743 | (installNewProvider): Do not use constant strings as class name. | |
20744 | Use ProviderUtil. | |
20745 | (setupSigningParams): Do not use constant strings as class name. | |
20746 | Use package-private Messages class to provide i18n-ready strings. | |
20747 | Mark (Eclipse) strings that need not be externalised. | |
20748 | (getCallbackHandler): Use CallbackUtil. | |
20749 | * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start): | |
20750 | Use package-private Messages class to provide i18n-ready strings. | |
20751 | Reduced logging level so INFO becomes FINER, and WARNING becomes FINE. | |
20752 | * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise. | |
20753 | (verifySF): Likewise. | |
20754 | (verifySFEntries): Do not use constant strings as class name. | |
20755 | Use Boolean.valueOf instead of new Boolean(). | |
20756 | (verifySFEntry): Mark (Eclipse) strings that need not be externalised. | |
20757 | * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties: | |
20758 | New file. | |
20759 | * tools/gnu/classpath/tools/jarsigner/package.html: Likewise. | |
20760 | * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise. | |
20761 | ||
20762 | 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
20763 | ||
20764 | * tools/gnu/classpath/tools/common/CallbackUtil.java: New file. | |
20765 | * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise. | |
20766 | * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise. | |
20767 | ||
20768 | 2006-05-01 Tom Tromey <tromey@redhat.com> | |
20769 | ||
20770 | * java/nio/ByteBufferImpl.java (compact): Don't reset position | |
20771 | in empty case. | |
20772 | * gnu/java/nio/ChannelReader.java (read): Synchronize. | |
20773 | (close): Synchronize. | |
20774 | * java/nio/ShortBufferImpl.java (compact): Rewrote. | |
20775 | * java/nio/LongBufferImpl.java (compact): Rewrote. | |
20776 | * java/nio/IntBufferImpl.java (compact): Rewrote. | |
20777 | * java/nio/FloatBufferImpl.java (compact): Rewrote. | |
20778 | * java/nio/DoubleBufferImpl.java (compact): Rewrote. | |
20779 | * java/nio/CharBufferImpl.java (compact): Rewrote. | |
20780 | * gnu/java/nio/ChannelWriter.java: New file. | |
20781 | * java/nio/channels/Channels.java (newWriter): Implemented. | |
20782 | ||
20783 | 2006-05-01 Lillian Angel <langel@redhat.com> | |
20784 | ||
20785 | * java/util/SimpleTimeZone.java | |
20786 | (SimpleTimeZone): Do not throw exception if startMonth == endMonth. | |
20787 | (SimpleTimeZone): Likewise. | |
20788 | (checkRule): Rewritten to properly check all values (more efficently). | |
20789 | This code is now more stable, at least less buggy than before. Fixed | |
20790 | API documentation. | |
20791 | (setStartRule): Moved checkRule call to end. | |
20792 | (setStartRule): Likewise. | |
20793 | (setEndRule): Likewise. | |
20794 | (setEndRule): Likewise. | |
20795 | ||
20796 | 2006-05-01 Tom Tromey <tromey@redhat.com> | |
20797 | ||
20798 | * lib/.cvsignore: Added classes.2. | |
20799 | ||
20800 | 2006-05-01 Tom Tromey <tromey@redhat.com> | |
20801 | ||
20802 | * java/util/jar/JarFile.java (provider): Now package-private. | |
20803 | * java/lang/Enum.java (compareTo): Javadoc fix. | |
20804 | * java/lang/Boolean.java (compareTo): Javadoc fix. | |
20805 | ||
20806 | 2006-05-01 Lillian Angel <langel@redhat.com> | |
20807 | ||
20808 | * gnu/javax/swing/text/html/parser/support/Parser.java | |
20809 | (readAttributes): Formatted function. Added handling for | |
20810 | SLASH token. The value of an attribute may start with a slash | |
20811 | (i.e. a path). I added handling similar to to the NUMTOKEN code. | |
20812 | We should not be skipping over these type of attributes. | |
20813 | ||
20814 | 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
20815 | ||
20816 | * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h, | |
20817 | * include/gnu_java_awt_peer_gtk_GdkFontPeer.h, | |
20818 | * include/gnu_java_awt_peer_gtk_GdkGraphics.h, | |
20819 | * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h, | |
20820 | * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h, | |
20821 | * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h, | |
20822 | * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h, | |
20823 | * include/gnu_java_awt_peer_gtk_GdkTextLayout.h, | |
20824 | * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h, | |
20825 | * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h, | |
20826 | * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h, | |
20827 | * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h, | |
20828 | * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h, | |
20829 | * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h, | |
20830 | * include/gnu_java_awt_peer_gtk_GtkClipboard.h, | |
20831 | * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h, | |
20832 | * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h, | |
20833 | * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h, | |
20834 | * include/gnu_java_awt_peer_gtk_GtkFramePeer.h, | |
20835 | * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h, | |
20836 | * include/gnu_java_awt_peer_gtk_GtkImage.h, | |
20837 | * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h, | |
20838 | * include/gnu_java_awt_peer_gtk_GtkListPeer.h, | |
20839 | * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h, | |
20840 | * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h, | |
20841 | * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h, | |
20842 | * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h, | |
20843 | * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h, | |
20844 | * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h, | |
20845 | * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h, | |
20846 | * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h, | |
20847 | * include/gnu_java_awt_peer_gtk_GtkSelection.h, | |
20848 | * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h, | |
20849 | * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h, | |
20850 | * include/gnu_java_awt_peer_gtk_GtkToolkit.h, | |
20851 | * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h, | |
20852 | * include/gnu_java_awt_peer_qt_MainQtThread.h, | |
20853 | * include/gnu_java_awt_peer_qt_QMatrix.h, | |
20854 | * include/gnu_java_awt_peer_qt_QPainterPath.h, | |
20855 | * include/gnu_java_awt_peer_qt_QPen.h, | |
20856 | * include/gnu_java_awt_peer_qt_QtAudioClip.h, | |
20857 | * include/gnu_java_awt_peer_qt_QtButtonPeer.h, | |
20858 | * include/gnu_java_awt_peer_qt_QtCanvasPeer.h, | |
20859 | * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h, | |
20860 | * include/gnu_java_awt_peer_qt_QtChoicePeer.h, | |
20861 | * include/gnu_java_awt_peer_qt_QtComponentPeer.h, | |
20862 | * include/gnu_java_awt_peer_qt_QtContainerPeer.h, | |
20863 | * include/gnu_java_awt_peer_qt_QtDialogPeer.h, | |
20864 | * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h, | |
20865 | * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h, | |
20866 | * include/gnu_java_awt_peer_qt_QtFontMetrics.h, | |
20867 | * include/gnu_java_awt_peer_qt_QtFontPeer.h, | |
20868 | * include/gnu_java_awt_peer_qt_QtFramePeer.h, | |
20869 | * include/gnu_java_awt_peer_qt_QtGraphics.h, | |
20870 | * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h, | |
20871 | * include/gnu_java_awt_peer_qt_QtImage.h, | |
20872 | * include/gnu_java_awt_peer_qt_QtLabelPeer.h, | |
20873 | * include/gnu_java_awt_peer_qt_QtListPeer.h, | |
20874 | * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h, | |
20875 | * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h, | |
20876 | * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h, | |
20877 | * include/gnu_java_awt_peer_qt_QtMenuPeer.h, | |
20878 | * include/gnu_java_awt_peer_qt_QtPanelPeer.h, | |
20879 | * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h, | |
20880 | * include/gnu_java_awt_peer_qt_QtScreenDevice.h, | |
20881 | * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h, | |
20882 | * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h, | |
20883 | * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h, | |
20884 | * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h, | |
20885 | * include/gnu_java_awt_peer_qt_QtToolkit.h, | |
20886 | * include/gnu_java_awt_peer_qt_QtVolatileImage.h, | |
20887 | * include/gnu_java_awt_peer_qt_QtWindowPeer.h, | |
20888 | * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h, | |
20889 | * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h, | |
20890 | * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h, | |
20891 | * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h, | |
20892 | * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h, | |
20893 | * include/gnu_xml_libxmlj_dom_GnomeAttr.h, | |
20894 | * include/gnu_xml_libxmlj_dom_GnomeDocument.h, | |
20895 | * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h, | |
20896 | * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h, | |
20897 | * include/gnu_xml_libxmlj_dom_GnomeElement.h, | |
20898 | * include/gnu_xml_libxmlj_dom_GnomeEntity.h, | |
20899 | * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h, | |
20900 | * include/gnu_xml_libxmlj_dom_GnomeNode.h, | |
20901 | * include/gnu_xml_libxmlj_dom_GnomeNodeList.h, | |
20902 | * include/gnu_xml_libxmlj_dom_GnomeNotation.h, | |
20903 | * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h, | |
20904 | * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h, | |
20905 | * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h, | |
20906 | * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h, | |
20907 | * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h, | |
20908 | * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h, | |
20909 | * include/gnu_xml_libxmlj_sax_GnomeLocator.h, | |
20910 | * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h, | |
20911 | * include/gnu_xml_libxmlj_transform_GnomeTransformer.h, | |
20912 | * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h, | |
20913 | * include/java_lang_VMProcess.h: | |
20914 | Regenerated. | |
20915 | * native/jni/java-lang/java_lang_VMProcess.c: | |
20916 | Redirect when pipe_count is 2 not 3. | |
20917 | ||
20918 | 2006-04-30 Sascha Brawer <sascha@brawer.ch> | |
20919 | ||
20920 | * gnu/java/awt/font/FontDelegate.java, | |
20921 | * gnu/java/awt/font/FontFactory.java, | |
20922 | * gnu/java/awt/font/GNUGlyphVector.java, | |
20923 | * gnu/java/awt/font/opentype/CharGlyphMap.java, | |
20924 | * gnu/java/awt/font/opentype/GlyphNamer.java, | |
20925 | * gnu/java/awt/font/opentype/MacResourceFork.java, | |
20926 | * gnu/java/awt/font/opentype/NameDecoder.java, | |
20927 | * gnu/java/awt/font/opentype/OpenTypeFont.java, | |
20928 | * gnu/java/awt/font/opentype/OpenTypeFontFactory.java, | |
20929 | * gnu/java/awt/font/opentype/Scaler.java, | |
20930 | * gnu/java/awt/font/opentype/truetype/Fixed.java, | |
20931 | * gnu/java/awt/font/opentype/truetype/GlyphLoader.java, | |
20932 | * gnu/java/awt/font/opentype/truetype/GlyphLocator.java, | |
20933 | * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java, | |
20934 | * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java, | |
20935 | * gnu/java/awt/font/opentype/truetype/VirtualMachine.java, | |
20936 | * gnu/java/awt/font/opentype/truetype/Zone.java, | |
20937 | * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java, | |
20938 | * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia, | |
20939 | * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png: | |
20940 | New files. Imported font framework from: | |
20941 | http://www.brawer.ch/software/fonts/ | |
20942 | ||
20943 | 2006-04-30 Roman Kennke <kennke@aicas.com> | |
20944 | ||
20945 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
20946 | (lastTabInRun): Fix calculation of the last tab in a run. This | |
20947 | has caused painting problems sometimes, making the | |
20948 | last tab painted incorrectly. | |
20949 | ||
20950 | 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
20951 | ||
20952 | PR 27297 | |
20953 | * javax/swing/JComponent.java (paintChildrenWithOverlap): | |
20954 | Use for and not while to prevent the endless loop. | |
20955 | ||
20956 | 2006-04-29 David Gilbert <david.gilbert@object-refinery.com> | |
20957 | ||
20958 | * javax/swing/JList.java | |
20959 | (paramString): Changed from public to protected. | |
20960 | ||
20961 | 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> | |
20962 | ||
20963 | * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method. | |
20964 | (printHelpAndExit): Re-factored to use the above method. | |
20965 | ||
20966 | 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> | |
20967 | ||
20968 | * tools/jarsigner.sh.in: Changed license to GPL + Exception. | |
20969 | Use -Xbootclasspath/p instead of -cp when invoking the main class. | |
20970 | * tools/gnu/classpath/tools/jarsigner/Main.java: | |
20971 | Changed license to GPL + Exception. | |
20972 | (handler): New field. | |
20973 | (getCallbackHandler): New method. | |
20974 | (setupSigningParams): Use above method. | |
20975 | * tools/gnu/classpath/tools/jarsigner/HashUtils.java: | |
20976 | Changed license to GPL + Exception. | |
20977 | * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise. | |
20978 | * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise. | |
20979 | * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise. | |
20980 | * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright. | |
20981 | ||
20982 | 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> | |
20983 | ||
20984 | * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java | |
20985 | (handleConfirmation): Use print instead of println. | |
20986 | (handleConfirmation): When case is YES_NO_OPTION, print default option | |
20987 | if one was set. | |
20988 | (handleLanguage): Use print instead of println. | |
20989 | ||
20990 | 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> | |
20991 | ||
20992 | * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright. | |
20993 | (putComponent): Handle O and OU components. | |
20994 | (getDer): Use correct (it2) iterator. | |
20995 | (readAttributeValue): Read next character and break if end-of-stream. | |
20996 | ||
20997 | 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> | |
20998 | ||
20999 | * gnu/java/security/provider/Gnu.java (run): | |
21000 | Add "RSA" as an alias to MD5withRSA. | |
21001 | * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey): | |
21002 | Always encode a NULL as the value of an algorithm parameters field. | |
21003 | * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field. | |
21004 | (encodePrivateKey): Added trace/log statements. | |
21005 | (decodePrivateKey): Likewise. | |
21006 | * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field. | |
21007 | (setup): Added trace/log statements. | |
21008 | (generate): Likewise. | |
21009 | * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field. | |
21010 | (toString): New method. | |
21011 | * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant. | |
21012 | (str): New field. | |
21013 | (toString): New method. | |
21014 | * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field. | |
21015 | (getEncoded): Use defaultFormat. | |
21016 | (toString): New method. | |
21017 | * gnu/java/security/key/dss/DSSKey.java (toString): | |
21018 | Include defaultFormat in string. | |
21019 | * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic): | |
21020 | Break if successfully decoded public key. | |
21021 | (engineGeneratePrivate): Break if successfully decoded private key. | |
21022 | ||
21023 | 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> | |
21024 | ||
21025 | * java/security/Security.java <clinit>: Add our Callback provider. | |
21026 | * resource/java/security/classpath.security: Likewise | |
21027 | ||
21028 | 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21029 | ||
21030 | PR 27296 | |
21031 | * javax/swing/ScrollPaneLayout.java (layoutContainer): | |
21032 | Decide about scroll bars from the preferred view size, not | |
21033 | the current size. | |
21034 | * javax/swing/ViewportLayout.java (layoutContainer): | |
21035 | Do not change returned preferred size. Do not treat JScrollPane | |
21036 | specially. | |
21037 | ||
21038 | 2006-04-28 Sven de Marothy <sven@physto.se> | |
21039 | ||
21040 | * java/awt/image/ReplicateScaleFilter.java: Fix comment. | |
21041 | * javax/swing/ProgressMonitor.java (actionPerformed): | |
21042 | Avoid divide-by-zero. | |
21043 | ||
21044 | 2006-04-28 Sven de Marothy <sven@physto.se> | |
21045 | ||
21046 | * javax/swing/JSpinner.java: Fix default text justification. | |
21047 | * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size. | |
21048 | ||
21049 | 2006-04-28 David Gilbert <david.gilbert@object-refinery.com> | |
21050 | ||
21051 | * javax/swing/JList.java | |
21052 | (getMinSelectionIndex): Return correct value, added API docs, | |
21053 | (getMaxSelectionIndex): Added API docs. | |
21054 | ||
21055 | 2006-04-28 David Gilbert <david.gilbert@object-refinery.com> | |
21056 | ||
21057 | * javax/swing/JList.java | |
21058 | (JList(Object[])): Pass new model directly to init(), | |
21059 | (JList(Vector)): Likewise, | |
21060 | (JList(ListModel)): Renamed argument and updated API docs, | |
21061 | (init): Throw IllegalArgumentException for null argument, | |
21062 | (setListData(Object[])): Delegate model creation, | |
21063 | (setListData(Vector)): Likewise, | |
21064 | (createListModel(Object[])): New private method, | |
21065 | (createListModel(Vector)): New private method, | |
21066 | (paramString): Implemented. | |
21067 | ||
21068 | 2006-04-28 Tom Tromey <tromey@redhat.com> | |
21069 | ||
21070 | * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields. | |
21071 | (isEnum): Rewrote. | |
21072 | (isSynthetic): Likewise. | |
21073 | (isAnnotation): Likewise. | |
21074 | * vm/reference/java/lang/VMClass.java (isSynthetic): Removed. | |
21075 | (isAnnotation): Likewise. | |
21076 | (isEnum): Likewise. | |
21077 | ||
21078 | 2006-04-28 Robert Schuster <robertschuster@fsfe.org> | |
21079 | ||
21080 | * javax/swing/text/View.java: | |
21081 | (getNextVisualPositionFrom): Call modelToView and viewToModel on parent | |
21082 | view. | |
21083 | ||
21084 | 2006-04-28 Robert Schuster <robertschuster@fsfe.org> | |
21085 | ||
21086 | * javax/swing/text/View.java: | |
21087 | (getNextVisualPositionFrom): Rewritten. | |
21088 | * javax/swing/text/CompositeView.java: | |
21089 | (getNextEastWestVisualPositionFrom): Partly implemented. | |
21090 | (getNextNorthSouthVisualPositionFrom): Partly implemented. | |
21091 | ||
21092 | 2006-04-28 David Gilbert <david.gilbert@object-refinery.com> | |
21093 | ||
21094 | * javax/swing/JList.java | |
21095 | (setFixedCellHeight): Use correct property name for event. | |
21096 | ||
21097 | 2006-04-28 Robert Schuster <robertschuster@fsfe.org> | |
21098 | ||
21099 | * javax/swing/text/Utilities.java: | |
21100 | (getNextWord): Use codePointAt instead of charAt, added note, changed | |
21101 | if-expression, added throwing of exception. | |
21102 | (getPreviousWord): Use codePointAt instead of charAt. | |
21103 | ||
21104 | 2006-04-28 Jeroen Frijters <jeroen@frijters.net> | |
21105 | ||
21106 | * java/lang/StringBuilder.java | |
21107 | (ensureCapacity, getChars, append(StringBuffer), | |
21108 | append(char[],int,int), delete, replace, insert(int,char[],int,int), | |
21109 | insert(int,String), insert(int,char), trimToSize): Replaced | |
21110 | System.arraycopy calls with VMSystem.arraycopy. | |
21111 | ||
21112 | 2006-04-27 Tom Tromey <tromey@redhat.com> | |
21113 | ||
21114 | * java/awt/image/renderable/RenderableImageProducer.java | |
21115 | (requestTopDownLeftRightResend): Implemented. | |
21116 | (run): Likewise. | |
21117 | (startProduction): Add new consumer. | |
21118 | ||
21119 | 2006-04-27 Sven de Marothy <sven@physto.se> | |
21120 | ||
21121 | * javax/swing/JLabel.java (setIcon): Repaint on setting the icon. | |
21122 | ||
21123 | 2006-04-27 Roman Kennke <kennke@aicas.com> | |
21124 | ||
21125 | * java/awt/LightweightDispatcher.java | |
21126 | Dispatch events only to targets that have a mouselistener | |
21127 | attached. Changed to also handle null targets. | |
21128 | ||
21129 | 2006-04-27 Roman Kennke <kennke@aicas.com> | |
21130 | ||
21131 | * NEWS: Added entries about accessibility support and L&F | |
21132 | window decorations. | |
21133 | ||
21134 | 2006-04-27 Robert Schuster <robertschuster@fsfe.org> | |
21135 | ||
21136 | * javax/swing/text/Utilities.java: | |
21137 | (getTabbedTextOffset): Introduced width variable, rewritten the check | |
21138 | which ends the loop. | |
21139 | (getBreakLocation): Call getTabbedTextOffset with rounding argument set | |
21140 | to false. | |
21141 | ||
21142 | 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21143 | ||
21144 | * examples/gnu/classpath/examples/swing/TreeDemo.java | |
21145 | (createContent): Added root visibility and selection listener demos. | |
21146 | * javax/swing/JTree.java (setRootVisible): If false, unselect | |
21147 | the root node, if it is selected. | |
21148 | * javax/swing/plaf/basic/BasicTreeUI.java | |
21149 | (TreeTraverseAction.actionPerformed): Do not select the root if it | |
21150 | is not visible. | |
21151 | * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath, | |
21152 | removeSelectionPaths): Reset lead to null if the current lead path is | |
21153 | removed from selection. | |
21154 | * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path. | |
21155 | * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath): | |
21156 | Return the same path regardless is root visible or not. (update): | |
21157 | Reduce the identation if the root is not visible. | |
21158 | * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath): | |
21159 | Return the same path regardless is root visible or not. (update): | |
21160 | Reduce the identation if the root is not visible. | |
21161 | ||
21162 | 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org | |
21163 | ||
21164 | * javax/swing/plaf/basic/BasicTreeUI.java | |
21165 | (TreeAction.actionPerformed):Newly obtain the current lead | |
21166 | path that must stay visible. | |
21167 | (TreeTraverseAction.actionPerformed):Rewritten. | |
21168 | * javax/swing/tree/FixedHeightLayoutCache.java (countRows): | |
21169 | Do not treat root specially. (setModel): Assume the root node | |
21170 | initially expanded. | |
21171 | * javax/swing/tree/VariableHeightLayoutCache.java:(countRows): | |
21172 | Do not treat root specially. (setModel): Assume the root node | |
21173 | initially expanded. | |
21174 | ||
21175 | 2006-04-26 Chris Burdess <dog@gnu.org> | |
21176 | ||
21177 | Fixes PR 27290 | |
21178 | * javax/xml/datatype/DatatypeFactory.java: Use complete | |
21179 | implementation resolution mechanism. | |
21180 | ||
21181 | 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21182 | ||
21183 | * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): | |
21184 | Implemented. | |
21185 | * javax/swing/tree/DefaultTreeSelectionModel.java (toString): | |
21186 | Removed NoImplementException form the implemented method. | |
21187 | ||
21188 | 2006-04-26 Tom Tromey <tromey@redhat.com> | |
21189 | ||
21190 | * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't | |
21191 | throw IOException. | |
21192 | ||
21193 | 2006-04-26 David Gilbert <david.gilbert@object-refinery.com> | |
21194 | ||
21195 | * javax/swing/DefaultListSelectionModel.java | |
21196 | (clone): Initialise empty listener list, | |
21197 | (setSelectionMode): Throw IllegalArgumentException for bad input. | |
21198 | ||
21199 | 2006-04-26 David Gilbert <david.gilbert@object-refinery.com> | |
21200 | ||
21201 | * javax/swing/DefaultListSelectionModel.java | |
21202 | (clearSelection): Clear the Bitset. | |
21203 | ||
21204 | 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21205 | ||
21206 | * javax/swing/JTree.java (setLeadSelectionPath): | |
21207 | Repaint the new and old lead pathes. | |
21208 | * javax/swing/plaf/basic/BasicTreeUI.java | |
21209 | (FocusHandler): Repaint the lead row when focus changes. | |
21210 | (PropertyChangeHandler): Use existing constants, not the | |
21211 | string literals for the property names. | |
21212 | (TreeIncrementAction): Shrink the selection when moving | |
21213 | from the selection edge to the selection anchor. | |
21214 | (TreeSelectionHandler.valueChanged): Repaint the | |
21215 | new and old lead pathes. | |
21216 | (paintRow): Treat row as focused only if it is the lead row. | |
21217 | * javax/swing/tree/DefaultTreeCellRenderer.java | |
21218 | (getTreeCellRendererComponent): Set the vertical alignment to CENTER. | |
21219 | (paint): Rewritten. | |
21220 | * javax/swing/tree/DefaultTreeSelectionModel.java | |
21221 | (addSelectionPath): Event construction fix (old and new lead were | |
21222 | always the same). | |
21223 | (addSelectionPaths): Likewise. | |
21224 | * javax/swing/JComponent.java (setOpaque): Explained. | |
21225 | * javax/swing/tree/FixedHeightLayoutCache.java (getBounds): | |
21226 | Accept null. | |
21227 | * javax/swing/tree/VariableHeightLayoutCache.java (getBounds): | |
21228 | Accept null. | |
21229 | ||
21230 | 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21231 | ||
21232 | * examples/gnu/classpath/examples/swing/TreeDemo.java | |
21233 | (createContent): Call DefaultTreeModel.reload(), not the | |
21234 | tree.repaint(). Expand the parent of the added node. | |
21235 | * javax/swing/JTree.java (constructor): Do not call | |
21236 | UpdateUI (and documented why). (treeDidChange): | |
21237 | Added comment, excluding the misinterpretation of this method. | |
21238 | * javax/swing/plaf/basic/BasicTreeUI.java (componentListener, | |
21239 | focusListener, keyListener, mouseListener, propertyListener, | |
21240 | selectionModelPropertyChangeListener, treeModelListener, | |
21241 | treeSelectionListener): Made package private. | |
21242 | (PropertyChangeHandler): If the model changes, install the | |
21243 | listener on it. (installUI): Assign treeModel. | |
21244 | * javax/swing/tree/DefaultMutableTreeNode.java (add): Added | |
21245 | comment, excluding misinterpretation. | |
21246 | * javax/swing/tree/DefaultTreeModel.java (reload): Implemented. | |
21247 | (reload(TreeNode)): Implemented. | |
21248 | ||
97b8365c TT |
21249 | 2006-04-25 Tom Tromey <tromey@redhat.com> |
21250 | ||
21251 | * javax/swing/JComboBox.java (AccessibleJComboBox): Now public. | |
21252 | * javax/swing/tree/VariableHeightLayoutCache.java | |
21253 | (getVisiblePathsFrom): Genericized. | |
21254 | * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom): | |
21255 | Genericized. | |
21256 | ||
4f9533c7 MW |
21257 | 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
21258 | ||
21259 | * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): | |
21260 | If clicked on the other row, cancel the current editing session. | |
21261 | ||
21262 | 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21263 | ||
21264 | * javax/swing/plaf/basic/BasicTreeUI.java | |
21265 | (NodeDimensionsHandler.getRowX): Add half of the icon width. | |
21266 | (paintExpandControl): Always paint in one gap distance from the left | |
21267 | border of the path bounds. | |
21268 | (paintHorizontalPartOfLeg): Rewritted, taking the icon width | |
21269 | into consideration. | |
21270 | (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds | |
21271 | left edge. | |
21272 | ||
21273 | 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21274 | ||
21275 | * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten. | |
21276 | ||
21277 | 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21278 | ||
21279 | * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes): | |
21280 | Allow slashes (/) in the unquoted parameter value. | |
21281 | ||
21282 | 2006-04-25 Roman Kennke <kennke@aicas.com> | |
21283 | ||
21284 | * gnu/java/awt/java2d/AbstractGraphics2D.java | |
21285 | (drawString(String,int,int)): Implemented. | |
21286 | (drawString(String,float,float)): Implemented. | |
21287 | (drawString(AttributedCharacterIterator,int,int)): Implemented. | |
21288 | (drawString(AttributedCharacterIterator,float,float)): Implemented. | |
21289 | (getFontRenderContext): Implemented. | |
21290 | (drawGlyphVector): Implemented. | |
21291 | (getFont): Implemented. | |
21292 | (setFont): Don't change font setting when null. | |
21293 | (getFontMetrics): Implemented. | |
21294 | (fillShape): Re-written to fill call rawFillShape() with a list | |
21295 | of the edges instead of double arrays. | |
21296 | (rawFillShape): Implemented using a polygon scanline conversion. | |
21297 | (fillScanline): New helper method. | |
21298 | (init): Initialize foreground black. Set font. | |
21299 | * gnu/java/awt/java2d/PolyEdge.java: New file. | |
21300 | * gnu/java/awt/java2d/PolyEdgeComparator.java: New file. | |
21301 | ||
21302 | 2006-04-25 David Gilbert <david.gilbert@object-refinery.com> | |
21303 | ||
21304 | * javax/swing/table/DefaultTableColumnModel.java: More API doc updates. | |
21305 | ||
21306 | 2006-04-25 David Gilbert <david.gilbert@object-refinery.com> | |
21307 | ||
21308 | * javax/swing/JTable.java: Fixed API doc tags, | |
21309 | * javax/swing/text/AsyncBoxView.java: Likewise, | |
21310 | * javax/swing/text/FlowView.java: Likewise. | |
21311 | ||
21312 | 2006-04-25 David Gilbert <david.gilbert@object-refinery.com> | |
21313 | ||
21314 | * javax/swing/table/DefaultTableColumnModel.java | |
21315 | (moveColumn): Call fireColumnMoved() not fireColumnAdded. | |
21316 | ||
21317 | 2006-04-24 David Gilbert <david.gilbert@object-refinery.com> | |
21318 | ||
21319 | * javax/swing/table/DefaultTableColumnModel.java | |
21320 | (DefaultTableColumnModel): Set selection model field and add 'this' as | |
21321 | listener directly, | |
21322 | (addColumn): Add 'this' as a PropertyChangeListener, | |
21323 | (removeColumn): Remove column before firing event, and remove 'this' as | |
21324 | a PropertyChangeListener, | |
21325 | (setSelectionModel): Remove 'this' as a listener from old model, | |
21326 | (propertyChange): Check for 'width' property rather than | |
21327 | TableColumn.COLUMN_WIDTH_PROPERTY. | |
21328 | ||
21329 | 2006-04-24 Chris Burdess <dog@gnu.org> | |
21330 | ||
21331 | Fixes PR 27262 | |
21332 | * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID | |
21333 | attributes when no doctype exists. | |
21334 | ||
21335 | 2006-04-24 David Gilbert <david.gilbert@object-refinery.com> | |
21336 | ||
21337 | * javax/swing/event/ChangeEvent.java: Updated API docs, | |
21338 | * javax/swing/event/ChangeListener.java: Likewise, | |
21339 | * javax/swing/event/TableColumnModelEventListener.java: Likewise, | |
21340 | * javax/swing/table/DefaultTableColumnModel.java: Likewise, | |
21341 | * javax/swing/table/TableColumnModel.java: Likewise. | |
21342 | ||
21343 | 2006-04-24 Robert Schuster <robertschuster@fsfe.org> | |
21344 | ||
21345 | * javax/swing/text/Utilities.java: | |
21346 | (getBreakLocation): Introduced shift variable, added notes. | |
21347 | * javax/swing/text/WrappedPlainView.java: | |
21348 | (calculateBreakPosition): Decrease allocation area bounds by insets, | |
21349 | added early return when allocation area is empty, provide start offset | |
21350 | as argument. | |
21351 | (WrappedPlainView.WrappedLine): Change default value for numLines to 1. | |
21352 | (WrappedPlainView.WrappedLine.paint): Added count variable, update | |
21353 | numLines after loop. | |
21354 | (WrappedPlainView.WrappedLine.determineNumLines): Added early return. | |
21355 | (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement. | |
21356 | (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed | |
21357 | decreasing variable end by one, changed break condition in while-loop, | |
21358 | added check for return value. | |
21359 | (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if | |
21360 | allocation area is empty. | |
21361 | ||
21362 | 2006-04-24 Sven de Marothy <sven@physto.se> | |
21363 | ||
21364 | * gnu/java/awt/java2d/Segment.java: New file. | |
21365 | * gnu/java/awt/java2d/CubicSegment.java: New file. | |
21366 | * gnu/java/awt/java2d/QuadSegment.java: New file. | |
21367 | * gnu/java/awt/java2d/LineSegment.java: New file. | |
21368 | * java/awt/BasicStroke.java | |
21369 | (start): New field. | |
21370 | (end): New field. | |
21371 | (createStrokedShape): Implemented. | |
21372 | (solidStroke): New method. | |
21373 | (dashedStroke): New method. | |
21374 | (capEnds): New method. | |
21375 | (convertPath): New method. | |
21376 | (addSegments): New method. | |
21377 | (capEnd): New method. | |
21378 | (lineIntersection): New method. | |
21379 | (joinSegments): New method. | |
21380 | ||
21381 | 2006-04-24 Roman Kennke <kennke@aicas.com> | |
21382 | ||
21383 | * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements | |
21384 | Cloneable. | |
21385 | (font): New field. | |
21386 | (clip): Changed clip to be in user space not in target space. | |
21387 | (isOptimized): Added flag to allow optimized drawing for | |
21388 | primitive operations (e.g. for Swing). | |
21389 | (AbstractGraphics2D()): Set foreground in init() to avoid trouble | |
21390 | with the paint context etc. | |
21391 | (draw): Clip the shape before drawing it. | |
21392 | (fill): Clip the shape before drawing it. | |
21393 | (setComposite): Update isOptimized flag. | |
21394 | (setPaint): Likewise. | |
21395 | (setStroke): Likewise. | |
21396 | (translate): Update the clip. | |
21397 | (rotate): Likewise. | |
21398 | (scale): Likewise. | |
21399 | (shear): Likewise. | |
21400 | (transform): Likewise. | |
21401 | (setTransform): Likewise. | |
21402 | (clip): Added optimization for rectangle clips. | |
21403 | (create): Implemented. | |
21404 | (clone): New method. | |
21405 | (setFont): Basic implementation. | |
21406 | (setClip): Update opimization flag. | |
21407 | (drawLine): Added possible optimization. | |
21408 | (fillRect): Added possible optimization. | |
21409 | (fillShape): Implemented shape-filling by filling the flattended | |
21410 | shape using polygon fill. | |
21411 | (drawPixel): Added basic painting. | |
21412 | (rawSetPixel): Changed signature to only take coordinates. | |
21413 | (rawSetForeground): New abstract method. | |
21414 | (getUserBounds): Implemented default for this method. | |
21415 | (rawDrawLine): New method. | |
21416 | (rawFillRect): New method. | |
21417 | (rawFillPolygon): New method. | |
21418 | (init): New method. | |
21419 | (updateOptimization): New method. | |
21420 | (computeIntersection): New method. | |
21421 | (updateClip): New method. | |
21422 | (clipShape): New method. | |
21423 | ||
4f9533c7 MW |
21424 | 2006-04-23 Jeroen Frijters <jeroen@frijters.net> |
21425 | ||
4f9533c7 MW |
21426 | * java/lang/Package.java: Added compatibility constructor to ease |
21427 | VM interface migration. | |
21428 | ||
21429 | 2006-04-23 Jeroen Frijters <jeroen@frijters.net> | |
21430 | ||
97b8365c TT |
21431 | * java/lang/Class.java (getEnumConstants): Implemented without |
21432 | delegating to VMClass. | |
21433 | * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed. | |
4f9533c7 MW |
21434 | |
21435 | 2006-04-23 Jeroen Frijters <jeroen@frijters.net> | |
21436 | ||
21437 | * java/lang/ClassLoader.java (definePackage): Added argument to | |
21438 | Package constructor. | |
21439 | * java/lang/Package.java (Package): Added ClassLoader argument. | |
21440 | (loader): New field. | |
97b8365c | 21441 | (getDeclaredAnnotations): Implemented without help from VMPackage. |
4f9533c7 MW |
21442 | * vm/reference/java/lang/VMClassLoader.java (static): Added argument |
21443 | to Package constructor. | |
97b8365c TT |
21444 | * vm/reference/java/lang/VMPackage.java: Removed. |
21445 | ||
21446 | 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21447 | ||
21448 | * examples/gnu/classpath/examples/swing/TreeDemo.java: | |
21449 | (createContent): Added check box to swith between single and | |
21450 | multiple selection. | |
21451 | * javax/swing/JTree.java (leadSelectionPath): Removed. | |
21452 | (addSelectionInterval): Explained. (getLeadSelectionPath): | |
21453 | Request the path from model. (getPathsBetweenRows): Explained. | |
21454 | (setLeadSelectionPath): Set the path in model. | |
21455 | * javax/swing/plaf/basic/BasicTreeUI.java | |
21456 | (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, | |
21457 | isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten. | |
21458 | (MouseHandler.mousePressed): Call selectPathForEvent. | |
4f9533c7 | 21459 | |
97b8365c | 21460 | 2006-04-23 Roman Kennke <kennke@aicas.com> |
4f9533c7 | 21461 | |
97b8365c | 21462 | * gnu/java/awt/java2d/AbstractGraphics2D.java: New file. |
4f9533c7 MW |
21463 | |
21464 | 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
21465 | ||
21466 | * NEWS: | |
21467 | Mention changes to VMProcess and VMSystem. | |
21468 | * doc/vmintegration.texinfo: | |
21469 | Change documentation on VMProcess and VMSystem. | |
4f9533c7 MW |
21470 | * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h, |
21471 | * include/gnu_java_awt_peer_gtk_GdkFontPeer.h, | |
21472 | * include/gnu_java_awt_peer_gtk_GdkGraphics.h, | |
21473 | * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h, | |
21474 | * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h, | |
21475 | * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h, | |
21476 | * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h, | |
21477 | * include/gnu_java_awt_peer_gtk_GdkTextLayout.h, | |
21478 | * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h, | |
21479 | * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h, | |
21480 | * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h, | |
21481 | * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h, | |
21482 | * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h, | |
21483 | * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h, | |
21484 | * include/gnu_java_awt_peer_gtk_GtkClipboard.h, | |
21485 | * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h, | |
21486 | * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h, | |
21487 | * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h, | |
21488 | * include/gnu_java_awt_peer_gtk_GtkFramePeer.h, | |
21489 | * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h, | |
21490 | * include/gnu_java_awt_peer_gtk_GtkImage.h, | |
21491 | * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h, | |
21492 | * include/gnu_java_awt_peer_gtk_GtkListPeer.h, | |
21493 | * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h, | |
21494 | * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h, | |
21495 | * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h, | |
21496 | * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h, | |
21497 | * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h, | |
21498 | * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h, | |
21499 | * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h, | |
21500 | * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h, | |
21501 | * include/gnu_java_awt_peer_gtk_GtkSelection.h, | |
21502 | * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h, | |
21503 | * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h, | |
21504 | * include/gnu_java_awt_peer_gtk_GtkToolkit.h, | |
21505 | * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h, | |
21506 | * include/gnu_java_awt_peer_qt_MainQtThread.h, | |
21507 | * include/gnu_java_awt_peer_qt_QMatrix.h, | |
21508 | * include/gnu_java_awt_peer_qt_QPainterPath.h, | |
21509 | * include/gnu_java_awt_peer_qt_QPen.h, | |
21510 | * include/gnu_java_awt_peer_qt_QtAudioClip.h, | |
21511 | * include/gnu_java_awt_peer_qt_QtButtonPeer.h, | |
21512 | * include/gnu_java_awt_peer_qt_QtCanvasPeer.h, | |
21513 | * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h, | |
21514 | * include/gnu_java_awt_peer_qt_QtChoicePeer.h, | |
21515 | * include/gnu_java_awt_peer_qt_QtComponentPeer.h, | |
21516 | * include/gnu_java_awt_peer_qt_QtContainerPeer.h, | |
21517 | * include/gnu_java_awt_peer_qt_QtDialogPeer.h, | |
21518 | * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h, | |
21519 | * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h, | |
21520 | * include/gnu_java_awt_peer_qt_QtFontMetrics.h, | |
21521 | * include/gnu_java_awt_peer_qt_QtFontPeer.h, | |
21522 | * include/gnu_java_awt_peer_qt_QtFramePeer.h, | |
21523 | * include/gnu_java_awt_peer_qt_QtGraphics.h, | |
21524 | * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h, | |
21525 | * include/gnu_java_awt_peer_qt_QtImage.h, | |
21526 | * include/gnu_java_awt_peer_qt_QtLabelPeer.h, | |
21527 | * include/gnu_java_awt_peer_qt_QtListPeer.h, | |
21528 | * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h, | |
21529 | * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h, | |
21530 | * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h, | |
21531 | * include/gnu_java_awt_peer_qt_QtMenuPeer.h, | |
21532 | * include/gnu_java_awt_peer_qt_QtPanelPeer.h, | |
21533 | * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h, | |
21534 | * include/gnu_java_awt_peer_qt_QtScreenDevice.h, | |
21535 | * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h, | |
21536 | * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h, | |
21537 | * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h, | |
21538 | * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h, | |
21539 | * include/gnu_java_awt_peer_qt_QtToolkit.h, | |
21540 | * include/gnu_java_awt_peer_qt_QtVolatileImage.h, | |
21541 | * include/gnu_java_awt_peer_qt_QtWindowPeer.h, | |
21542 | * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h, | |
21543 | * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h, | |
21544 | * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h, | |
21545 | * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h, | |
21546 | * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h, | |
21547 | * include/gnu_xml_libxmlj_dom_GnomeAttr.h, | |
21548 | * include/gnu_xml_libxmlj_dom_GnomeDocument.h, | |
21549 | * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h, | |
21550 | * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h, | |
21551 | * include/gnu_xml_libxmlj_dom_GnomeElement.h, | |
21552 | * include/gnu_xml_libxmlj_dom_GnomeEntity.h, | |
21553 | * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h, | |
21554 | * include/gnu_xml_libxmlj_dom_GnomeNode.h, | |
21555 | * include/gnu_xml_libxmlj_dom_GnomeNodeList.h, | |
21556 | * include/gnu_xml_libxmlj_dom_GnomeNotation.h, | |
21557 | * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h, | |
21558 | * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h, | |
21559 | * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h, | |
21560 | * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h, | |
21561 | * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h, | |
21562 | * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h, | |
21563 | * include/gnu_xml_libxmlj_sax_GnomeLocator.h, | |
21564 | * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h, | |
21565 | * include/gnu_xml_libxmlj_transform_GnomeTransformer.h, | |
21566 | * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h, | |
21567 | * include/java_lang_VMProcess.h, | |
21568 | * include/java_lang_VMSystem.h: | |
21569 | Regenerated with GCJ 4.1. | |
21570 | ||
4f9533c7 MW |
21571 | 2006-04-22 Casey Marshall <csm@gnu.org> |
21572 | ||
21573 | Fixes PR classpath/27228. | |
21574 | * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java | |
21575 | (initialize): also accept `DHParameterSpec.' | |
21576 | * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup): | |
21577 | handle a passed-in `DHParameterSpec' properly. | |
21578 | (generate): don't check if the random exponent is less than `q - | |
21579 | 1' if no `q' was specified. | |
21580 | ||
21581 | 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21582 | ||
21583 | * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged): | |
21584 | Only repaint the patches, speficied in the passed event. | |
21585 | (expandPath): Do nothing if the path is already expanded. | |
21586 | (scrollPathToVisible): Only scroll to visible, do nothing else. | |
21587 | * javax/swing/plaf/basic/BasicTreeUI.java | |
21588 | (TreeExpansionHandler.treeColapsed): Revalidate and repaint. | |
21589 | (TreeExpansionHandler.treeExpanded): Revalidate and repaint. | |
21590 | (TreeTraverseAction.actionPerformed): Collapse the node on the | |
21591 | action "selectParent". (selectPath): Rewritten. | |
21592 | * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection): | |
21593 | Fire change event. (notifyPathChange): Implemented. (setSelectionPath): | |
21594 | Do not reuse selection array. | |
21595 | * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath): | |
21596 | Accept null. | |
21597 | * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath): | |
21598 | Accept null. | |
21599 | ||
21600 | 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21601 | ||
21602 | * javax/swing/tree/DefaultTreeSelectionModel.java | |
21603 | (addSelectionPath): If the path cannot be added, set it. | |
21604 | (addSelectionPaths): Call insureRowContinuity. | |
21605 | (arePathsContiguous): Implemented. | |
21606 | (canPathBeAdded): New private method. | |
21607 | (canPathsBeAdded): Implemented. | |
21608 | (canPathsBeRemoved): Implemented. | |
21609 | (getPath): New private method. | |
21610 | (insureRowContinuity): Implemented. | |
21611 | (removeSelectionPath): Call insureRowContinuity. | |
21612 | (removeSelectionPaths): Call insureRowContinuity. | |
21613 | (resetRowSelection): Removed stub marking, not used in implementation | |
21614 | (nothing to do there). | |
21615 | (selectOne): New private method. | |
21616 | (setSelectionMode) Call insureRowContinuity. | |
21617 | (setSelectionPaths) Remove the current selection by clearing it. | |
21618 | ||
21619 | 2006-04-22 Carsten Neumann <cn-develop@gmx.net> | |
21620 | ||
21621 | * javax/sql/Array.java: Fixed eclipse API doc warnings, named method | |
21622 | parameters consistendly, documented some methods. | |
21623 | * java/sql/Blob.java: Likewise. | |
21624 | * java/sql/CallableStatement.java: Likewise. | |
21625 | * java/sql/Clob.java: Likewise. | |
21626 | * java/sql/Connection.java: Likewise. | |
21627 | * java/sql/DatabaseMetaData.java: Likewise. | |
21628 | * java/sql/Date.java: Likewise. | |
21629 | * java/sql/Driver.java: Likewise. | |
21630 | * java/sql/PreparedStatement.java: Likewise. | |
21631 | * java/sql/ResultSet.java: Likewise. | |
21632 | * java/sql/ResultSetMetaData.java: Likewise. | |
21633 | * java/sql/SQLData.java: Likewise. | |
21634 | * java/sql/SQLOutput.java: Likewise. | |
21635 | * java/sql/SQLWarning.java: Likewise. | |
21636 | * java/sql/Statement.java: Likewise. | |
21637 | * java/sql/Time.java: Likewise. | |
21638 | * java/sql/Timestamp.java: Likewise. | |
21639 | ||
97b8365c TT |
21640 | 2006-04-21 Jeroen Frijters <jeroen@frijters.net> |
21641 | ||
21642 | * java/lang/reflect/AccessibleObject.java: | |
21643 | Implemented AnnotatedElement. | |
21644 | (getAnnotation, getAnnotations, getDeclaredAnnotations, | |
21645 | isAnnotationPresent): New methods. | |
21646 | ||
4f9533c7 MW |
21647 | 2006-04-21 Tom Tromey <tromey@redhat.com> |
21648 | ||
21649 | PR classpath/27163: | |
21650 | * gnu/java/net/protocol/ftp/FTPConnection.java | |
21651 | (changeWorkingDirectory): Do nothing if path is empty. | |
21652 | ||
21653 | 2006-04-21 Tom Tromey <tromey@redhat.com> | |
21654 | ||
21655 | PR libgcj/27231: | |
21656 | * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle | |
21657 | case where no '/' appears in 'location'. | |
21658 | ||
21659 | 2006-04-21 Tom Tromey <tromey@redhat.com> | |
21660 | ||
21661 | * java/security/Security.java (<clinit>): Add all default providers. | |
21662 | * resource/java/security/classpath.security: Added comment. | |
21663 | ||
21664 | 2006-04-21 David Gilbert <david.gilbert@object-refinery.com> | |
21665 | ||
21666 | * javax/swing/SpinnerDateModel.java: Updated API docs all over, | |
21667 | * javax/swing/SpinnerNumberModel.java: Likewise. | |
21668 | ||
21669 | 2006-04-21 David Gilbert <david.gilbert@object-refinery.com> | |
21670 | ||
21671 | * javax/swing/SpinnerDateModel.java | |
21672 | (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument | |
21673 | checking to call compareTo() on start and end. | |
21674 | ||
4f9533c7 MW |
21675 | 2006-04-21 David Gilbert <david.gilbert@object-refinery.com> |
21676 | ||
21677 | * javax/swing/border/AbstractBorder.java: API doc updates, | |
ac1ed908 | 21678 | * javax/swing/border/BevelBorder.java: Likewise, |
4f9533c7 MW |
21679 | * javax/swing/border/CompoundBorder.java: Likewise, |
21680 | * javax/swing/border/EtchedBorder.java: Likewise, | |
21681 | * javax/swing/border/LineBorder.java: Likewise, | |
21682 | * javax/swing/border/MatteBorder.java: Likewise, | |
21683 | * javax/swing/border/TitledBorder.java: Likewise. | |
21684 | ||
21685 | 2006-04-21 David Gilbert <david.gilbert@object-refinery.com> | |
21686 | ||
21687 | * gnu/javax/crypto/cipher/Anubis.java: | |
21688 | (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean | |
21689 | instance, | |
21690 | * gnu/javax/crypto/cipher/Blowfish.java: | |
21691 | (selfTest): Likewise, | |
21692 | * gnu/javax/crypto/cipher/Cast5.java: | |
21693 | (selfTest): Likewise, | |
21694 | * gnu/javax/crypto/cipher/Khazad.java: | |
21695 | (selfTest): Likewise, | |
21696 | * gnu/javax/crypto/cipher/Rijndael.java: | |
21697 | (selfTest): Likewise, | |
21698 | * gnu/javax/crypto/cipher/Serpent.java: | |
21699 | (selfTest): Likewise, | |
21700 | * gnu/javax/crypto/cipher/Square.java: | |
21701 | (selfTest): Likewise, | |
21702 | * gnu/javax/crypto/cipher/Twofish.java: | |
21703 | (selfTest): Likewise, | |
21704 | * gnu/javax/crypto/mac/UMac32.java: | |
21705 | (selfTest): Likewise, | |
21706 | * gnu/javax/crypto/prng/CSPRNG.java: | |
21707 | (getSystemInstance): Likewise. | |
21708 | ||
21709 | 2006-04-21 David Gilbert <david.gilbert@object-refinery.com> | |
21710 | ||
21711 | * gnu/java/security/hash/Haval.java: | |
21712 | (selfTest): Use Boolean.valueOf() to avoid creating new Boolean | |
21713 | instance, | |
21714 | * gnu/java/security/hash/MD2.java: | |
21715 | (selfTest): Likewise, | |
21716 | * gnu/java/security/hash/MD4.java: | |
21717 | (selfTest): Likewise, | |
21718 | * gnu/java/security/hash/MD5.java: | |
21719 | (selfTest): Likewise, | |
21720 | * gnu/java/security/hash/RipeMD128.java: | |
21721 | (selfTest): Likewise, | |
21722 | * gnu/java/security/hash/RipeMD160.java: | |
21723 | (selfTest): Likewise, | |
21724 | * gnu/java/security/hash/Sha160.java: | |
21725 | (selfTest): Likewise, | |
21726 | * gnu/java/security/hash/Sha256.java: | |
21727 | (selfTest): Likewise, | |
21728 | * gnu/java/security/hash/Sha384.java: | |
21729 | (selfTest): Likewise, | |
21730 | * gnu/java/security/hash/Sha512.java: | |
21731 | (selfTest): Likewise, | |
21732 | * gnu/java/security/hash/Tiger.java: | |
21733 | (selfTest): Likewise, | |
21734 | * gnu/java/security/hash/Whirlpool.java: | |
21735 | (selfTest): Likewise. | |
21736 | ||
21737 | 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21738 | ||
21739 | * javax/swing/plaf/basic/BasicTreeUI.java | |
21740 | (PropertyChangeHandler.propertyChange): Set the row mapper | |
21741 | for the selection model. | |
21742 | * javax/swing/tree/AbstractLayoutCache.java | |
21743 | (NodeDimensions.getNodeDimensions): Explained. | |
21744 | (getPreferredHeight, getPreferredWidth, isFixedRowHeight): | |
21745 | Implemented. (setRowHeight): Invalidate sizes. | |
21746 | * javax/swing/tree/DefaultTreeSelectionModel.java | |
21747 | (addSelectionPath, addSelectionPaths): Update lead row. | |
21748 | (removeSelectionPath, removeSelectionPaths): Do nothing if | |
21749 | selection is empty. | |
21750 | (clone): Only clone list selection model if it is not null. | |
21751 | (getRow): New method. (isRowSelected, getLeadSelectionRow, | |
21752 | setSelectionPath, setSelectionPaths, toString): Implemented. | |
21753 | * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds): | |
21754 | Pass the empty rectangle. (isFixedRowHeight): New method. | |
21755 | * javax/swing/tree/VariableHeightLayoutCache.java | |
21756 | (NodeRecord.getBounds): Pass the empty rectangle. | |
21757 | ||
21758 | 2006-04-21 David Gilbert <david.gilbert@object-refinery.com> | |
21759 | ||
21760 | * gnu/java/security/Properties.java | |
21761 | (init): Use Boolean.valueOf() to avoid creating new Boolean instances. | |
21762 | ||
21763 | 2006-04-21 David Gilbert <david.gilbert@object-refinery.com> | |
21764 | ||
21765 | * gnu/classpath/jdwp/util/Value.java | |
21766 | (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid | |
21767 | creating new Boolean instances. | |
21768 | ||
21769 | 2006-04-20 Mark Wielaard <mark@klomp.org> | |
21770 | ||
21771 | * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in | |
21772 | PrivilegedAction. Access awt.toolkit through SystemProperties. | |
21773 | ||
21774 | 2006-04-20 David Gilbert <david.gilbert@object-refinery.com> | |
21775 | ||
21776 | * javax/swing/ActionMap.java: Removed unused imports, | |
21777 | * javax/swing/DefaultListSelectionModel.java | |
21778 | (clearSelection): Removed unused label, | |
21779 | * javax/swing/JScrollPane.java: Removed unused imports, | |
21780 | * javax/swing/UIManager.java: Likewise, | |
21781 | * javax/swing/table/DefaultTableCellRenderer.java: Likewise. | |
21782 | ||
21783 | 2006-04-20 David Gilbert <david.gilbert@object-refinery.com> | |
21784 | ||
21785 | * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports, | |
21786 | * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise, | |
21787 | * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise, | |
21788 | * javax/swing/plaf/basic/BasicTextUI.java: Likewise, | |
21789 | * javax/swing/plaf/basic/BasicTreeUI.java: Likewise. | |
21790 | ||
21791 | 2006-04-20 David Gilbert <david.gilbert@object-refinery.com> | |
21792 | ||
21793 | * java/sql/Array.java: Fixed Eclipse API doc warnings, | |
21794 | * java/sql/Blob.java: Likewise, | |
21795 | * java/sql/CallableStatement.java: Likewise, | |
21796 | * java/sql/Clob.java: Likewise, | |
21797 | * java/sql/Connection.java: Likewise, | |
21798 | * java/sql/DatabaseMetaData.java: Likewise, | |
21799 | * java/sql/Date.java: Likewise, | |
21800 | * java/sql/Driver.java: Likewise, | |
21801 | * java/sql/PreparedStatement.java: Likewise, | |
21802 | * java/sql/ResultSet.java: Likewise, | |
21803 | * java/sql/ResultSetMetaData.java: Likewise, | |
21804 | * java/sql/SQLData.java: Likewise, | |
21805 | * java/sql/SQLOutput.java: Likewise, | |
21806 | * java/sql/SQLWarning.java: Likewise, | |
21807 | * java/sql/Statement.java: Likewise, | |
21808 | * java/sql/Time.java: Likewise, | |
21809 | * java/sql/Timestamp.java: Likewise. | |
21810 | ||
21811 | 2006-04-20 David Gilbert <david.gilbert@object-refinery.com> | |
21812 | ||
21813 | * java/sql/DriverManager.java | |
21814 | (setLoginTimeout): Use incoming argument, | |
21815 | (setLogStream): Likewise, | |
21816 | (println): Fix API doc comment. | |
21817 | ||
21818 | 2006-04-20 David Gilbert <david.gilbert@object-refinery.com> | |
21819 | ||
21820 | * javax/swing/JMenuItem.java | |
21821 | (paramString): Updated API docs, | |
21822 | (getAccessibleContext): Added API docs, | |
21823 | (AccessibleJMenuItem.stateChanged): Marked as stub, | |
21824 | (AccessibleJMenuItem.getAccessibleRole): Added API docs, | |
21825 | * javax/swing/JSlider.java | |
21826 | (paramString): Fix for API docs, | |
21827 | * javax/swing/JToolTip.java | |
21828 | (getAccessibleContext): Fix for API docs. | |
21829 | ||
21830 | 2006-04-20 David Gilbert <david.gilbert@object-refinery.com> | |
21831 | ||
21832 | * javax/swing/JRadioButtonMenuItem.java | |
21833 | (paramString): Reimplemented, | |
21834 | (getAccessibleContext): API docs added, | |
21835 | (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): | |
21836 | Likewise, | |
21837 | (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise. | |
21838 | ||
21839 | 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
21840 | ||
21841 | * javax/swing/plaf/basic/BasicTreeUI.java | |
21842 | (finish): Invalidate path bounds. | |
21843 | (getMaxHeight): Set the row height to the layout cache. | |
21844 | (startEditing): Do not request to recalculated | |
21845 | row height and preferred size. | |
21846 | * javax/swing/tree/DefaultTreeCellEditor.java | |
21847 | (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing | |
21848 | with 0. | |
21849 | * javax/swing/tree/FixedHeightLayoutCache.java: | |
21850 | Rewritten. | |
21851 | ||
21852 | 2006-04-20 David Gilbert <david.gilbert@object-refinery.com> | |
21853 | ||
21854 | * javax/swing/JDesktopPane.java | |
21855 | (paramString): Reimplemented, | |
21856 | plus API doc updates in AccessibleJDesktopPane. | |
21857 | ||
21858 | 2006-04-20 David Gilbert <david.gilbert@object-refinery.com> | |
21859 | ||
21860 | * javax/swing/ImageIcon.java: | |
21861 | (AccessibleImageIcon.getAccessibleStateSet): Return null always, | |
21862 | (AccessibleImageIcon.getLocale): Declared exception and always return | |
21863 | null, | |
21864 | (getAccessibleContext): Updated API docs, | |
21865 | plus updated API docs all over AccessibleImageIcon. | |
21866 | ||
21867 | 2006-04-20 Roman Kennke <kennke@aicas.com> | |
21868 | ||
21869 | PR 27196 | |
21870 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
21871 | (paintText): Fetch the ascent only once. Add the ascent to | |
21872 | the text rect also when tabs are disabled. | |
21873 | ||
21874 | 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at> | |
21875 | ||
21876 | * java/util/Locale.java (defaultLocale): Set to en_US per | |
21877 | default and use user.country but prioritize user.region if | |
21878 | defined. | |
21879 | (getLocale(String language, String country)): Renamed region to | |
21880 | country. | |
21881 | (getLocale(String language, String region, String variant)): | |
21882 | Likewise. | |
21883 | (getAvailableLocales): Likewise. | |
21884 | ||
21885 | 2006-04-20 Roman Kennke <kennke@aicas.com> | |
21886 | ||
21887 | PR 27222 | |
21888 | * javax/swing/JList.java | |
21889 | (JList()): Call init() with DefaultListModel instance. | |
21890 | (JList(Object[])): Call init() with null. | |
21891 | (JList(Vector)): Call init() with null. | |
21892 | (JList(ListModel)): Call init() with model. | |
21893 | (init): Changed to take the model as argument. Don't call | |
21894 | setter methods and initialize stuff directly instead. | |
21895 | (getCellBounds): Check if UI is null. | |
21896 | ||
21897 | 2006-04-20 Robert Schuster <robertschuster@fsfe.org> | |
21898 | ||
21899 | * javax/swing/text/WrappedPlainView.java: Initialize | |
21900 | WrappedLine.numLines with -1. | |
21901 | (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether | |
21902 | numLines is -1 and reculcalate the value appropriately. | |
21903 | (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if | |
21904 | allocation area is empty. | |
21905 | ||
21906 | 2006-04-20 David Gilbert <david.gilbert@object-refinery.com> | |
21907 | ||
21908 | * javax/swing/JTabbedPane.java | |
21909 | (AccessibleJTabbedPane.stateChanged): Marked as stub, | |
21910 | (AccessibleJTabbedPane.getAccessibleRole): Likewise, | |
21911 | (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise, | |
21912 | (AccessibleJTabbedPane.getAccessibleSelection): Likewise, | |
21913 | (AccessibleJTabbedPane.getAccessibleAt): Likewise, | |
21914 | (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise, | |
21915 | (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise, | |
21916 | (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise, | |
21917 | (AccessibleJTabbedPane.addAccessibleSelection): Likewise, | |
21918 | (AccessibleJTabbedPane.removeAccessibleSelection): Likewise, | |
21919 | (AccessibleJTabbedPane.clearAccessibleSelection): Likewise, | |
21920 | (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise, | |
21921 | (Page.getAccessibleStateSet): Likewise, | |
21922 | (Page.getAccessibleIndexInParent): Likewise. | |
21923 | ||
21924 | 2006-04-19 David Gilbert <david.gilbert@object-refinery.com> | |
21925 | ||
21926 | * javax/swing/JProgressBar.java | |
21927 | (paramString): Reimplemented. | |
21928 | ||
21929 | 2006-04-19 David Gilbert <david.gilbert@object-refinery.com> | |
21930 | ||
21931 | * javax/swing/JButton.java: Updated API docs all over. | |
21932 | ||
21933 | 2006-04-19 Roman Kennke <kennke@aicas.com> | |
21934 | ||
21935 | * java/awt/Toolkit.java | |
21936 | (getDefaultToolkit): Use system classloader to load the | |
21937 | toolkit. | |
21938 | ||
21939 | 2006-04-19 Robert Schuster <robertschuster@fsfe.org> | |
21940 | ||
21941 | * javax/swing/text/DefaultCaret.java: | |
21942 | (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl | |
21943 | instead of DefaultCaret.setDot. | |
21944 | ||
21945 | 2006-04-19 Roman Kennke <kennke@aicas.com> | |
21946 | ||
21947 | * native/jni/java-net/local.c | |
21948 | (local_read): Handle EINTR correctly. | |
21949 | (local_write): Likewise. | |
21950 | ||
21951 | 2006-04-19 Riccardo Mottola <multix@gmail.com> | |
21952 | ||
21953 | PR classpath/27062, PR classpath/25650: | |
21954 | * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2. | |
21955 | ||
21956 | 2006-04-19 Tom Tromey <tromey@redhat.com> | |
21957 | ||
21958 | * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute | |
21959 | value of 'pureMinutes'. PR classpath/27189. | |
21960 | ||
21961 | 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com> | |
21962 | ||
21963 | * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads | |
21964 | boot packages list from the META-INF/INDEX.LIST file if it exists. | |
21965 | ||
21966 | 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au> | |
21967 | ||
21968 | Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk> | |
21969 | * gnu/javax/crypto/prng/IPBE.java: Updated documentation. | |
21970 | (ITERATION_COUNT): Removed modifiers. | |
21971 | (PASSWORD): Likewise. | |
21972 | (SALT): Likewise. | |
21973 | (PASSWORD_ENCODING): New property. | |
21974 | (DEFAULT_PASSWORD_ENCODING): New constant. | |
21975 | * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key | |
21976 | material (bytes) before a password (chars). | |
21977 | ||
21978 | 2006-04-19 David Gilbert <david.gilbert@object-refinery.com> | |
21979 | ||
21980 | * javax/swing/JMenu.java | |
21981 | (getAccessibleChildrenCount): Marked as stub, | |
21982 | (getAccessibleChild): Likewise, | |
21983 | (getAccessibleSelection): Likewise, | |
21984 | (getAccessibleSelection(int)): Likewise, | |
21985 | (isAccessibleChildSelected): Likewise, | |
21986 | (getAccessibleSelectionCount): Likewise, | |
21987 | (addAccessibleSelection): Likewise, | |
21988 | (removeAccessibleSelection): Likewise, | |
21989 | (clearAccessibleSelection): Likewise, | |
21990 | (selectAllAccessibleSelection): Likewise. | |
21991 | ||
21992 | 2006-04-19 David Gilbert <david.gilbert@object-refinery.com> | |
21993 | ||
21994 | * javax/swing/JSplitPane.java | |
21995 | (getAccessibleContext): Added API docs, | |
21996 | (paramString): Reimplemented, | |
21997 | (setOrientation): Updated API docs, | |
21998 | (setResizeWeight): Added argument checking and event notification. | |
21999 | ||
22000 | 2006-04-18 Casey Marshall <csm@gnu.org> | |
22001 | ||
22002 | Fixes PR classpath/25673 | |
22003 | * java/security/KeyStore.java (getDefaultType): return "gkr" if no | |
22004 | property is set. Update JavaDoc to reflect this. | |
22005 | ||
22006 | 2006-04-18 Lillian Angel <langel@redhat.com> | |
22007 | ||
22008 | * gnu/xml/dom/DomDocument.java | |
22009 | (setCheckingCharacters): New function used to set | |
22010 | checkingCharacters flag. | |
22011 | * gnu/xml/dom/html2/DomHTMLParser.java | |
22012 | (parseDocument): Added call to set checkingCharacters flag | |
22013 | to false. | |
22014 | ||
22015 | 2006-04-18 Lillian Angel <langel@redhat.com> | |
22016 | ||
22017 | * gnu/xml/dom/DomDocument.java | |
22018 | (checkNCName): Reverted last patch. Added check for colon at | |
22019 | last position back in. | |
22020 | ||
22021 | 2006-04-18 Robert Schuster <robertschuster@fsfe.org> | |
22022 | ||
22023 | * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java: | |
22024 | New file. | |
22025 | * examples/gnu/classpath/examples/swing/Demo.java: | |
22026 | (mkMenuBar): Added NavigationFilter demo. | |
22027 | ||
22028 | 2006-04-18 David Gilbert <david.gilbert@object-refinery.com> | |
22029 | ||
22030 | * javax/swing/JSeparator.java: Updated API docs all over, plus | |
22031 | (setOrientation): Fire PropertyChangeEvent, | |
22032 | (paramString): Reimplemented. | |
22033 | ||
22034 | 2006-04-18 Robert Schuster <robertschuster@fsfe.org> | |
22035 | ||
ac1ed908 MW |
22036 | * javax/swing/plaf/basic/BasicTextUI.java: |
22037 | (getNextVisualPositionFrom): Implemented. | |
4f9533c7 MW |
22038 | |
22039 | 2006-04-18 David Gilbert <david.gilbert@object-refinery.com> | |
22040 | ||
22041 | * javax/swing/JPanel.java: Updated API docs all over, plus | |
22042 | (JPanel(LayoutManager, boolean)): Pass on null layout, set | |
22043 | double-buffer flag. | |
22044 | ||
22045 | 2006-04-18 Robert Schuster <robertschuster@fsfe.org> | |
22046 | ||
22047 | * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java: | |
22048 | New file. | |
22049 | * examples/gnu/classpath/examples/swing/Demo.java: | |
22050 | (mkMenuBar): Added DocumenFilter demo. | |
22051 | ||
22052 | 2006-04-18 Tom Tromey <tromey@redhat.com> | |
22053 | ||
22054 | * doc/www.gnu.org/include/layout.wml: Add FMJ. | |
22055 | ||
22056 | 2006-04-18 Mark Wielaard <mark@klomp.org> | |
22057 | ||
22058 | Reported by John Sullivan (johns@fsf.org) | |
22059 | * doc/www.gnu.org/stories.wml: Update JikesRVM location. | |
22060 | ||
22061 | 2006-04-18 David Gilbert <david.gilbert@object-refinery.com> | |
22062 | ||
22063 | * javax/swing/JInternalFrame.java | |
22064 | (JDesktopIcon.getAccessibleContext): Added API docs, | |
22065 | (getDefaultCloseOperation): Likewise, | |
22066 | (paramString): Added 'title' attribute, | |
22067 | (setDefaultCloseOperation): Added API docs. | |
22068 | ||
22069 | 2006-04-18 David Gilbert <david.gilbert@object-refinery.com> | |
22070 | ||
22071 | * javax/swing/JSlider.java | |
22072 | (paramString): Reimplemented. | |
22073 | ||
22074 | 2006-04-18 David Gilbert <david.gilbert@object-refinery.com> | |
22075 | ||
22076 | * javax/swing/JComboBox.java | |
22077 | (paramString): Reimplemented, | |
22078 | (getAccessibleContext): Added API docs, | |
22079 | (AccessibleJComboBox.getAccessibleRole): Likewise. | |
22080 | ||
22081 | 2006-04-18 Roman Kennke <kennke@aicas.com> | |
22082 | ||
22083 | * javax/swing/RepaintManager.java | |
22084 | (dirtyComponentsWork): New field. | |
22085 | (ComponentComparator): Use dirtyComponentsWork instead of | |
22086 | dirtyComponents. | |
22087 | (RepaintManager): Initialize new field. | |
22088 | (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork | |
22089 | and work on the copy. | |
22090 | ||
22091 | 2006-04-18 Roman Kennke <kennke@aicas.com> | |
22092 | ||
22093 | * gnu/java/awt/peer/swing/SwingComponentPeer.java | |
22094 | (setBounds): Call reshape(). | |
22095 | * gnu/java/awt/peer/swing/SwingContainerPeer.java | |
22096 | (SwingContainerPeer): Changed argument to be a Component | |
22097 | instead a Container. | |
22098 | (getInsets): Call insets(). | |
22099 | (handleMouseEvent): Added null check to avoid NPE. | |
22100 | (handleMouseMotionEvent): Added null check to avoid NPE. | |
22101 | ||
22102 | 2006-04-18 Roman Kennke <kennke@aicas.com> | |
22103 | ||
22104 | PR 27185 | |
22105 | * javax/swing/JComponent.java | |
22106 | (paintChildrenWithOverlap): When one child is not opaque, propagate | |
22107 | the dirty rectangles to the next child. | |
22108 | (paintChildrenOptimized): Removed unnecessary 'optimization'. | |
22109 | This actually didn't work right and probably gained nothing. | |
22110 | ||
22111 | 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22112 | ||
22113 | * javax/swing/JTable.java (getCallRect): Do not cache rectangles. | |
22114 | (moveToCellBeingEdited): Do not clone the rectangle here. | |
22115 | ||
22116 | 2006-04-18 David Gilbert <david.gilbert@object-refinery.com> | |
22117 | ||
22118 | * javax/swing/plaf/basic/BasicSliderUI.java | |
22119 | (getActionMap): Fixed lookup key, | |
22120 | (createActionMap): Modified actions to fetch slider/ui from the event | |
22121 | source. | |
22122 | ||
4f9533c7 MW |
22123 | 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org> |
22124 | ||
22125 | * java/lang/Enum.java: Documented. | |
22126 | ||
4f9533c7 MW |
22127 | 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org> |
22128 | ||
22129 | * gnu/java/lang/InstrumentationImpl.java: | |
22130 | Moved from java.lang. | |
22131 | * java/lang/InstrumentationImpl.java: | |
22132 | Removed. | |
22133 | * vm/reference/gnu/java/lang/VMInstrumentationImpl.java: | |
22134 | Moved from java.lang. | |
22135 | * vm/reference/java/lang/VMClassLoader.java: | |
22136 | Corrected reference to InstrumentationImpl. | |
22137 | * vm/reference/java/lang/VMInstrumentationImpl.java: | |
22138 | Removed. | |
4f9533c7 | 22139 | |
97b8365c | 22140 | 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org> |
4f9533c7 | 22141 | |
97b8365c TT |
22142 | * java/lang/annotation/Annotation.java: |
22143 | Documented. | |
22144 | ||
22145 | 2006-04-17 David Gilbert <david.gilbert@object-refinery.com> | |
4f9533c7 | 22146 | |
97b8365c TT |
22147 | * javax/swing/JToolBar.java |
22148 | (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs, | |
22149 | (AccessibleJToolBar.getAccessibleStateSet): Implemented, | |
22150 | (AccessibleJToolBar.getAccessibleRole): Updated API docs, | |
22151 | (getAccessibleContext): Likewise. | |
4f9533c7 MW |
22152 | |
22153 | 2006-04-17 Dalibor Topic <robilad@kaffe.org> | |
22154 | ||
22155 | * configure.ac: | |
22156 | Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS. | |
22157 | ||
22158 | * native/fdlibm/Makefile.am, | |
22159 | native/jni/classpath/Makefile.am: | |
22160 | Don't use -module and -version-info for convenience libraries LDFLAGS. | |
22161 | Fixes libtool warnings. | |
22162 | ||
22163 | 2006-04-17 David Gilbert <david.gilbert@object-refinery.com> | |
22164 | ||
22165 | * javax/swing/plaf/basic/BasicComboBoxUI.java: | |
22166 | (installKeyboardActions): Marked as stub, | |
22167 | (uninstallKeyboardActions): Likewise, | |
22168 | * javax/swing/plaf/basic/BasicComboPopup.java: | |
22169 | (installKeyboardActions): Marked as stub, | |
22170 | (uninstallKeyboardActions): Likewise, | |
22171 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: | |
22172 | (installKeyboardActions): Marked as stub, | |
22173 | (uninstallKeyboardActions): Likewise, | |
22174 | * javax/swing/plaf/basic/BasicLabelUI.java: | |
22175 | (installKeyboardActions): Marked as stub, | |
22176 | (uninstallKeyboardActions): Likewise, | |
22177 | * javax/swing/plaf/basic/BasicListUI.java: | |
22178 | (installKeyboardActions): Marked as stub, | |
22179 | (uninstallKeyboardActions): Likewise, | |
22180 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
22181 | (installKeyboardActions): Marked as stub, | |
22182 | (uninstallKeyboardActions): Likewise, | |
22183 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
22184 | (installKeyboardActions): Marked as stub, | |
22185 | (uninstallKeyboardActions): Likewise, | |
22186 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
22187 | (installKeyboardActions): Marked as stub, | |
22188 | (uninstallKeyboardActions): Likewise, | |
22189 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
22190 | (installKeyboardActions): Marked as stub, | |
22191 | (uninstallKeyboardActions): Likewise, | |
22192 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
22193 | (installKeyboardActions): Marked as stub, | |
22194 | (uninstallKeyboardActions): Likewise, | |
22195 | * javax/swing/plaf/basic/BasicScrollPaneUI.java: | |
22196 | (installKeyboardActions): Marked as stub, | |
22197 | (uninstallKeyboardActions): Likewise, | |
22198 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: | |
22199 | (installKeyboardActions): Marked as stub, | |
22200 | (uninstallKeyboardActions): Likewise, | |
22201 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
22202 | (installKeyboardActions): Marked as stub, | |
22203 | (uninstallKeyboardActions): Likewise, | |
22204 | * javax/swing/plaf/basic/BasicTableHeaderUI.java: | |
22205 | (installKeyboardActions): Marked as stub, | |
22206 | (uninstallKeyboardActions): Likewise, | |
22207 | * javax/swing/plaf/basic/BasicTableUI.java: | |
22208 | (installKeyboardActions): Marked as stub, | |
22209 | (uninstallKeyboardActions): Likewise, | |
22210 | * javax/swing/plaf/basic/BasicTextUI.java: | |
22211 | (installKeyboardActions): Marked as stub, | |
22212 | (uninstallKeyboardActions): Likewise, | |
22213 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
22214 | (installKeyboardActions): Marked as stub, | |
22215 | (uninstallKeyboardActions): Likewise. | |
22216 | ||
22217 | 2006-04-17 David Gilbert <david.gilbert@object-refinery.com> | |
22218 | ||
22219 | * javax/swing/plaf/basic/BasicSliderUI.java | |
22220 | (installKeyboardActions): Implemented, | |
22221 | (uninstallKeyboardActions): Implemented, | |
22222 | (scrollByBlock): Accept any value for direction, | |
22223 | (scrollByUnit): Likewise, | |
22224 | (getInputMap): New method, | |
22225 | (getActionMap): New method, | |
22226 | (createActionMap): New method. | |
22227 | ||
4f9533c7 MW |
22228 | |
22229 | 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
22230 | ||
22231 | * doc/vmintegration.texinfo: | |
22232 | Fix sectioning. | |
22233 | ||
22234 | 2006-04-16 Tom Tromey <tromey@redhat.com> | |
22235 | ||
22236 | * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps. | |
22237 | ||
22238 | 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
22239 | ||
22240 | * NEWS: | |
22241 | Mention generics additions to the VM interface. | |
22242 | * doc/vmintegration.texinfo: | |
22243 | Added information on VMClass 1.5 additions and | |
22244 | VMSecureRandom. | |
22245 | ||
22246 | 2006-04-16 Casey Marshall <csm@gnu.org> | |
22247 | ||
22248 | * NEWS: add an entry mentioning local socket support. | |
22249 | ||
22250 | 2006-04-16 Casey Marshall <csm@gnu.org> | |
22251 | ||
22252 | * configure.ac (--enable-local-sockets): new enable argument. | |
22253 | (ENABLE_LOCAL_SOCKETS): new define. | |
22254 | * native/jni/java-net/Makefile.am (local_sources): new variable. | |
22255 | (lib_javanet_la_SOURCES): append `local_sources.' | |
22256 | * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c, | |
22257 | * native/jni/java-net/local.c, | |
22258 | * native/jni/java-net/local.h, | |
22259 | * include/gnu_java_net_local_LocalSocketImpl.h, | |
22260 | * gnu/java/net/local/LocalServerSocket.java, | |
22261 | * gnu/java/net/local/LocalSocket.java, | |
22262 | * gnu/java/net/local/LocalSocketAddress.java, | |
22263 | * gnu/java/net/local/LocalSocketImpl.java: new files. | |
22264 | ||
22265 | 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
22266 | ||
22267 | * javax/accessibility/AccessibleAction.java: | |
22268 | (DECREMENT): Added field. | |
22269 | (INCREMENT): Likewise. | |
22270 | (TOGGLE_EXPAND): Likewise. | |
22271 | * javax/accessibility/AccessibleRole.java: | |
22272 | (EDITBAR): Added field. | |
22273 | (FOOTER): Likewise. | |
22274 | (HEADER): Likewise. | |
22275 | (PARAGRAPH): Likewise. | |
22276 | (PROGRESS_MONITOR): Likewise. | |
22277 | (RULER): Likewise. | |
22278 | * javax/accessibility/AccessibleState.java: | |
22279 | (INDETERMINATE): Added field. | |
22280 | (MANAGES_DESCENDANTS): Likewise. | |
22281 | (TRUNCATED): Likewise. | |
97b8365c TT |
22282 | |
22283 | 2006-04-14 Tom Tromey <tromey@redhat.com> | |
22284 | ||
22285 | * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners): | |
22286 | Genericized. | |
22287 | * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom): | |
22288 | Genericized. | |
4f9533c7 MW |
22289 | |
22290 | 2006-04-14 Robert Schuster <robertschuster@fsfe.org> | |
22291 | ||
22292 | * javax/swing/text/DefaultCaret.java: | |
22293 | (getBypass): New method. | |
22294 | (moveDot): Rewritten. | |
22295 | (moveDotImpl): New method. | |
22296 | (setDot): Rewritten. | |
22297 | (setDotImpl): New method. | |
22298 | (DefaultCaret.Bypass): New class. | |
22299 | ||
22300 | 2006-04-14 Robert Schuster <robertschuster@fsfe.org> | |
22301 | ||
22302 | * javax/swing/text/AbstractDocument.java: | |
22303 | (getBypass): New method. | |
22304 | (insertString): Rewritten. | |
22305 | (remove): Rewritten. | |
22306 | (replace): Rewritten. | |
22307 | (insertStringImpl): New method. | |
22308 | (removeImpl): New method. | |
22309 | (replaceImpl): New method. | |
22310 | (AbstractDocument.Bypass): New class. | |
22311 | ||
22312 | 2006-04-14 Casey Marshall <csm@gnu.org> | |
22313 | ||
22314 | Fixes PR classpath/24642 | |
22315 | * NEWS: add note about SecureRandom changes, and addition of | |
22316 | VMSecureRandom. | |
22317 | * java/security/SecureRandom.java (isSeeded): new field. | |
22318 | (setSeed, setSeed): set `isSeeded' to `true.' | |
22319 | (nextBytes): seed this instance if `isSeeded' is false. | |
22320 | (getSeed): call `generateSeed.' | |
22321 | (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants. | |
22322 | (generateSeed, generateSeed): new methods. | |
22323 | * vm/reference/java/security/VMSecureRandom.java: new file. | |
22324 | ||
22325 | 2006-04-14 Robert Schuster <robertschuster@fsfe.org> | |
22326 | ||
22327 | * javax/swing/text/FieldView.java: | |
22328 | (paint): Apply clipping rectangle of the allocation area | |
22329 | before painting the text. | |
22330 | * javax/swing/text/DefaultHighlighter.java: | |
22331 | (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to | |
22332 | compute union and intersection, calculate intersection with allocation | |
22333 | area before painting, adjust x and width when painting multiple lines | |
22334 | by the range of the allocation area. | |
22335 | ||
22336 | 2006-04-14 Robert Schuster <robertschuster@fsfe.org> | |
22337 | ||
22338 | * javax/swing/text/DefaultHighlighter.java: | |
22339 | (paintLayeredHighlights): Marked as stub. | |
22340 | ||
22341 | 2006-04-14 Robert Schuster <robertschuster@fsfe.org> | |
22342 | ||
22343 | * javax/swing/plaf/basic/BasicTextFieldUI.java: | |
22344 | (propertyChanged): Added note, change color only if current background | |
22345 | is a ColorUIResource instance. | |
22346 | ||
22347 | 2006-04-14 Tom Tromey <tromey@redhat.com> | |
22348 | ||
22349 | * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer | |
22350 | a stub. | |
22351 | (next): Likewise. | |
22352 | ||
22353 | 2006-04-14 Tom Tromey <tromey@redhat.com> | |
22354 | ||
22355 | * javax/swing/JComboBox.java (AccessibleJComboBox): Now public. | |
22356 | ||
22357 | 2006-04-14 Mark Wielaard <mark@klomp.org> | |
22358 | ||
22359 | * java/lang/Thread.java (getUncaughtExceptionHandler): Return | |
22360 | thread group when exceptionHandler isn't set. | |
22361 | * vm/reference/java/lang/VMThread.java (run): Use result of | |
22362 | thread.getUncaughtExceptionHandler directly. | |
22363 | ||
22364 | 2006-04-14 David Gilbert <david.gilbert@object-refinery.com> | |
22365 | ||
22366 | * javax/swing/JSplitPane.java | |
22367 | (AccessibleJSplitPane.getAccessibleStateSet): Implemented, | |
22368 | (AccessibleJSplitPane.getAccessibleRole): Implemented, | |
22369 | (AccessibleJSplitPane.getAccessibleValue): Implemented, | |
22370 | (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented, | |
22371 | (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented, | |
22372 | (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented, | |
22373 | (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented. | |
22374 | ||
97b8365c TT |
22375 | 2006-04-10 Tom Tromey <tromey@redhat.com> |
22376 | ||
22377 | * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue): | |
22378 | Fixed parameter bounds. | |
22379 | ||
4f9533c7 MW |
22380 | 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org> |
22381 | ||
22382 | * gnu/javax/crypto/assembly/Assembly.java, | |
22383 | * gnu/javax/crypto/assembly/Cascade.java, | |
22384 | * gnu/javax/crypto/assembly/CascadeStage.java, | |
22385 | * gnu/javax/crypto/assembly/CascadeTransformer.java, | |
22386 | * gnu/javax/crypto/assembly/Direction.java, | |
22387 | * gnu/javax/crypto/assembly/LoopbackTransformer.java, | |
22388 | * gnu/javax/crypto/assembly/ModeStage.java, | |
22389 | * gnu/javax/crypto/assembly/Operation.java, | |
22390 | * gnu/javax/crypto/assembly/PaddingTransformer.java, | |
22391 | * gnu/javax/crypto/assembly/Stage.java, | |
22392 | * gnu/javax/crypto/assembly/Transformer.java, | |
22393 | * gnu/javax/crypto/cipher/Square.java, | |
22394 | * gnu/javax/crypto/jce/cipher/AESSpi.java, | |
22395 | * gnu/javax/crypto/jce/cipher/ARCFourSpi.java, | |
22396 | * gnu/javax/crypto/jce/cipher/AnubisSpi.java, | |
22397 | * gnu/javax/crypto/jce/cipher/BlowfishSpi.java, | |
22398 | * gnu/javax/crypto/jce/cipher/CipherAdapter.java, | |
22399 | * gnu/javax/crypto/jce/cipher/DESSpi.java, | |
22400 | * gnu/javax/crypto/jce/cipher/KhazadSpi.java, | |
22401 | * gnu/javax/crypto/jce/cipher/NullCipherSpi.java, | |
22402 | * gnu/javax/crypto/jce/cipher/PBES2.java, | |
22403 | * gnu/javax/crypto/jce/cipher/RijndaelSpi.java, | |
22404 | * gnu/javax/crypto/jce/cipher/SerpentSpi.java, | |
22405 | * gnu/javax/crypto/jce/cipher/SquareSpi.java, | |
22406 | * gnu/javax/crypto/jce/cipher/TripleDESSpi.java, | |
22407 | * gnu/javax/crypto/jce/cipher/TwofishSpi.java, | |
22408 | * gnu/javax/crypto/jce/mac/HMacMD2Spi.java, | |
22409 | * gnu/javax/crypto/jce/mac/HMacMD4Spi.java, | |
22410 | * gnu/javax/crypto/jce/mac/HMacMD5Spi.java, | |
22411 | * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java, | |
22412 | * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java, | |
22413 | * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java, | |
22414 | * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java, | |
22415 | * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java, | |
22416 | * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java, | |
22417 | * gnu/javax/crypto/jce/mac/HMacTigerSpi.java, | |
22418 | * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java, | |
22419 | * gnu/javax/crypto/jce/mac/MacAdapter.java, | |
22420 | * gnu/javax/crypto/jce/mac/TMMH16Spi.java, | |
22421 | * gnu/javax/crypto/jce/mac/UHash32Spi.java, | |
22422 | * gnu/javax/crypto/jce/mac/UMac32Spi.java, | |
22423 | * gnu/javax/crypto/key/dh/DiffieHellmanSender.java, | |
22424 | * gnu/javax/crypto/key/srp6/SRP6TLSServer.java, | |
22425 | * gnu/javax/crypto/keyring/PrivateKeyEntry.java, | |
22426 | * gnu/javax/crypto/mode/IAuthenticatedMode.java, | |
22427 | * gnu/javax/crypto/pad/WrongPaddingException.java, | |
22428 | * gnu/javax/crypto/prng/ICMGenerator.java, | |
22429 | * gnu/javax/crypto/prng/IPBE.java, | |
22430 | * gnu/javax/crypto/prng/PBKDF2.java, | |
22431 | * gnu/javax/crypto/sasl/ConfidentialityException.java, | |
22432 | * gnu/javax/crypto/sasl/IllegalMechanismStateException.java, | |
22433 | * gnu/javax/crypto/sasl/srp/IALG.java, | |
22434 | * gnu/javax/crypto/sasl/srp/SRPServer.java: | |
22435 | Remove CVS revision tags. | |
22436 | ||
22437 | 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22438 | ||
22439 | * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): | |
22440 | Removed debugging code. | |
22441 | ||
22442 | 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22443 | ||
22444 | * javax/swing/JTree.java (getPreferredSize): Return the | |
22445 | cloned instance. | |
22446 | * javax/swing/ViewportLayout.java (layoutContainer): | |
22447 | Do not manage the view size and location if the view is | |
22448 | in the scroll pane. Also manage size and location for | |
22449 | Scrollable, if it is not in the scroll pane. | |
22450 | * javax/swing/plaf/basic/BasicTreeUI.java, | |
22451 | * javax/swing/tree/FixedHeightLayoutCache.java, | |
22452 | * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten. | |
22453 | * gnu/javax/swing/tree/GnuPath.java: New file. | |
22454 | ||
22455 | 2006-04-13 David Gilbert <david.gilbert@object-refinery.com> | |
22456 | ||
22457 | * javax/swing/JToolBar.java | |
22458 | (AccessibleJToolBar.getAccessibleStateSet): Marked as stub. | |
22459 | ||
22460 | 2006-04-13 Robert Schuster <robertschuster@fsfe.org> | |
22461 | ||
22462 | * examples/gnu/classpath/examples/swing/TextAreaDemo.java: | |
22463 | (createCustomColoredPanel): Set background color as demo intends, | |
22464 | changed custom selection color to red. | |
22465 | * examples/gnu/classpath/examples/swing/TextFieldDemo.java: | |
22466 | Replaced various single variables with a Compound instance, added | |
22467 | custom highlighter demo. | |
22468 | (TextFieldDemo.DemoHighlightPainter): New class (taken from | |
22469 | TextAreaDemo). | |
22470 | (TextFieldDemo.Compound): New class. | |
22471 | (createTextFieldCompound): New method. | |
22472 | (createLeftAlignedPanel): Rewritten. | |
22473 | (createRightAlignedPanel): Rewritten. | |
22474 | (createCenteredPanel): Rewritten. | |
22475 | (createCustomColoredPanel): Removed. | |
22476 | (createCustomColoredPanel1): New method. | |
22477 | (createCustomColoredPanel2): New method. | |
22478 | (createCustomBordersPanel): New method. | |
22479 | (createMiscPanel): Rewritten. | |
22480 | (actionPerformed): Rewritten. | |
22481 | (createContent): Add panels of new compounds to main panel, put | |
22482 | main panel in a JScrollPane. | |
22483 | * examples/gnu/classpath/examples/swing/Demo.java: | |
22484 | (Demo): Put desktop in a scrollpane. | |
22485 | (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme() | |
22486 | method via reflection. | |
22487 | ||
22488 | 2006-04-13 David Gilbert <david.gilbert@object-refinery.com> | |
22489 | ||
22490 | * javax/swing/plaf/metal/MetalDesktopIconUI.java | |
22491 | (createUI): Return new instance rather than shared instance. | |
22492 | ||
22493 | 2006-04-13 Robert Schuster <robertschuster@fsfe.org> | |
22494 | ||
22495 | * javax/swing/text/FieldView.java: | |
22496 | (checkContainer): Call updateVisibility() at the end. | |
22497 | ||
22498 | 2006-04-13 Robert Schuster <robertschuster@fsfe.org> | |
22499 | ||
22500 | * java/awt/event/MouseEvent.java: | |
22501 | (paramString): Add value of 'consumed' variable in string. | |
22502 | ||
22503 | 2006-04-13 Robert Schuster <robertschuster@fsfe.org> | |
22504 | ||
22505 | PR 26967 | |
22506 | * javax/swing/JTextField.java: Removed scrollOffset variable. | |
22507 | (JTextField): Moved up initialization of horizontalVisibility field. | |
22508 | (getScrollOffset): Implemented. | |
22509 | (setScrollOffset): Implemented. | |
22510 | (getHorizonztalVisibility): Removed note. | |
22511 | (scrollRectToVisible): New method. | |
22512 | * javax/swing/text/FieldView.java: Added cachedSpan variable. | |
22513 | (checkContainer): New method. | |
22514 | (updateVisibility): New method. | |
22515 | (calculateHorizontalSpan): New method. | |
22516 | (adjustAllocation): Removed unneeded local variables, added code | |
22517 | to handle scrolling. | |
22518 | (getPreferredSpan): Use new method calculateHorizontalSpan, | |
22519 | avoid calculation by returning cached value cachedSpan. | |
22520 | (paint): Added check whether the hosted component is a JTextField. | |
22521 | (insertUpdate): Invalidate cached span value, update visibility | |
22522 | if neccessary. | |
22523 | (removeUpdate): Dito. | |
22524 | (changeUpdate): Dito. | |
22525 | ||
22526 | 2006-04-13 David Gilbert <david.gilbert@object-refinery.com> | |
22527 | ||
22528 | * javax/swing/JInternalFrame.java | |
22529 | (setTitle): Set old value to 'this.title', not 'title'. | |
22530 | ||
22531 | 2006-04-13 David Gilbert <david.gilbert@object-refinery.com> | |
22532 | ||
22533 | * javax/swing/JInternalFrame.java | |
22534 | (AccessibleJInternalFrame.getAccessibleName): Implemented, | |
22535 | (AccessibleJInternalFrame.getAccessibleRole): Implemented, | |
22536 | (AccessibleJInternalFrame.getAccessibleValue): Implemented, | |
22537 | (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented, | |
22538 | (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented, | |
22539 | (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented, | |
22540 | (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented, | |
22541 | (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented, | |
22542 | (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented, | |
22543 | (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): | |
22544 | Implemented, | |
22545 | (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): | |
22546 | Implemented, | |
22547 | (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): | |
22548 | Implemented, | |
22549 | (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): | |
22550 | Implemented, | |
22551 | (JInternalFrame()): Use "" for default title, | |
22552 | (getAccessibleContext): Updated API docs, | |
22553 | (getDesktopIcon): Likewise, | |
22554 | (getLayer): Check for layer in client properties, and return | |
22555 | DEFAULT_LAYER if no setting is found, | |
22556 | (getTitle): Updated API docs, | |
22557 | (setDesktopIcon): Fire property change event. | |
22558 | ||
22559 | 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22560 | ||
22561 | * javax/swing/ScrollPaneLayout.java (layoutContainer): | |
22562 | Mind that the presence of one scroll bar may cause the | |
22563 | need for another. | |
22564 | ||
22565 | 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
22566 | ||
22567 | * gnu/regexp/REToken.java(unicodeAware): New field, | |
22568 | (toLowerCase, toUpperCase): New methods. | |
22569 | * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java, | |
22570 | gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java: | |
22571 | Use toLowerCase and toUpperCase defined in REToken instead of | |
22572 | those defined in java.lang.Character. | |
22573 | * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag. | |
22574 | (initialize): Sets unicodeAware of the generated REToken to false if | |
22575 | REG_ICASE_USASCII is set. | |
22576 | * gnu/regexp/RETokenChar.java(constructor): Don't convert the character | |
22577 | to lower case and keep the original value. | |
22578 | (matchOneString): Use the new method charEquals to compare characters. | |
22579 | (charEquals): New method to compare characters. | |
22580 | * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true. | |
22581 | ||
22582 | 2006-04-12 David Gilbert <david.gilbert@object-refinery.com> | |
22583 | ||
22584 | * javax/swing/event/InternalFrameEvent.java: | |
22585 | (paramString): Implemented, | |
22586 | updated API docs all over. | |
22587 | ||
22588 | 2006-04-12 Casey Marshall <csm@gnu.org> | |
22589 | ||
22590 | * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.' | |
22591 | (Generator.setup): call `fillBlock.' | |
22592 | ||
22593 | 2006-04-12 Casey Marshall <csm@gnu.org> | |
22594 | ||
22595 | Fixes PR classpath/24481. | |
22596 | * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>): | |
22597 | initialize the adaptee. | |
22598 | (setSeed): call `addRandomBytes;' don't re-initialize the adaptee. | |
22599 | * gnu/java/security/prng/MDGenerator.java (addRandomByte, | |
22600 | addRandomBytes): new methods. | |
22601 | ||
22602 | 2006-04-12 Tom Tromey <tromey@redhat.com> | |
22603 | ||
22604 | * java/io/DataOutputStream.java (writeUTF): Correctly handle zero | |
22605 | length strings. | |
22606 | ||
22607 | 2006-04-12 Lillian Angel <langel@redhat.com> | |
22608 | ||
22609 | * gnu/xml/dom/DomDocument.java | |
22610 | (checkNCName): Removed unneeded part of check. | |
22611 | * gnu/xml/dom/DomNode.java | |
22612 | (dispatchEvent): Added code to grow ancestors array | |
22613 | if needed. Changed checks to use depth of node instead. | |
22614 | Fixes an infinite loop and segmentation fault. | |
22615 | * gnu/xml/dom/html2/DomHTMLParser.java | |
22616 | (handleEndTag): No need to use/make a copy of the node. | |
22617 | Causes an infinite loop. | |
22618 | ||
22619 | 2006-04-12 Tom Tromey <tromey@redhat.com> | |
22620 | ||
22621 | PR classpath/27131: | |
22622 | * java/util/BitSet.java (get): Early return if to==from. | |
22623 | ||
22624 | 2006-04-12 Mark Wielaard <mark@klomp.org> | |
22625 | ||
22626 | * java/security/SecureRandom.java (algorithm): New private field. | |
22627 | (SecureRandom): Initialize algorithm. | |
22628 | (SecureRandom(SecureRandomSpi,Provider,String)): New private | |
22629 | constructor. | |
22630 | (getInstance): Call 3 argument constructor. | |
22631 | (getAlgorithm): New method. | |
22632 | ||
22633 | 2006-04-12 Mark Wielaard <mark@klomp.org> | |
22634 | ||
22635 | Port UncaughtExceptionHandler support from generics branch. | |
22636 | * NEWS: Document Thread.UncaughtExceptionHandler VMThread change. | |
22637 | ||
22638 | 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
22639 | ||
22640 | * java/lang/Thread.java: | |
22641 | (setUncaughtExceptionHandler(UncaughtExceptionHandler): | |
22642 | Added docs and security check. | |
22643 | (getUncaughtExceptionHandler()): Documented. | |
22644 | (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler): | |
22645 | Added docs and security check. | |
22646 | (getDefaultUncaughtExceptionHandler()): Documented. | |
22647 | (getId()): Documented. | |
22648 | ||
22649 | 2006-04-12 Tom Tromey <tromey@redhat.com> | |
22650 | ||
22651 | * vm/reference/java/lang/VMThread.java (run): Use thread's | |
22652 | uncaught handler. | |
22653 | * java/lang/Thread.java (defaultHandler): New field. | |
22654 | (setDefaultUncaughtExceptionHandler, | |
22655 | getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler, | |
22656 | getUncaughtExceptionHandler): New methods. | |
22657 | * java/lang/ThreadGroup.java (ThreadGroup): Implements | |
22658 | UncaughtExceptionHandler. | |
22659 | (uncaughtException): Use getDefaultUncaughtExceptionHandler. | |
22660 | ||
22661 | 2006-04-11 Bryce McKinlay <mckinlay@redhat.com> | |
22662 | ||
22663 | * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte | |
22664 | buffer. Loop only once to determine Utf8 length when possible. Make | |
22665 | the inner loop bounded by buf.length. | |
22666 | (getUTFlength): New private method. | |
22667 | (buf): New private field. | |
22668 | ||
22669 | 2006-04-11 Lillian Angel <langel@redhat.com> | |
22670 | ||
22671 | * gnu/xml/dom/DomNodeIterator.java | |
22672 | (nextNode): Moved line of code to avoid an infinite loop. | |
22673 | * gnu/xml/dom/html2/DomHTMLAppletElement.java | |
22674 | (getCls): New function. | |
22675 | (setCls): Likewise. | |
22676 | (getSrc): Likewise. | |
22677 | (setSrc): Likewise. | |
22678 | * gnu/xml/dom/html2/DomHTMLDocument.java: | |
22679 | Added DomHTMLEmbedElement to map. | |
22680 | (getApplets): Added node name, 'embed'. | |
22681 | * gnu/xml/dom/html2/DomHTMLEmbedElement.java: | |
22682 | New class. | |
22683 | * gnu/xml/dom/html2/DomHTMLObjectElement.java | |
22684 | (getJavaCode): New function. | |
22685 | (setJavaCode): Likewise. | |
22686 | (getObject): Likewise. | |
22687 | (setObject): Likewise. | |
22688 | (getJavaObject): Likewise. | |
22689 | (setJavaObject): Likewise. | |
22690 | (getJavaArchive): Likewise. | |
22691 | (setJavaArchive): Likewise. | |
22692 | (getJavaCodeBase): Likewise. | |
22693 | (setJavaCodeBase): Likewise. | |
22694 | (getJavaType): Likewise. | |
22695 | (setJavaType): Likewise. | |
22696 | (setMayscript): Likewise. | |
22697 | (getMayscript): Likewise. | |
22698 | (setScriptable): Likewise. | |
22699 | (getScriptable): Likewise. | |
22700 | * gnu/xml/dom/html2/DomHTMLParser.java | |
22701 | (parseDocument): Should not check for well formedness | |
22702 | when parsing an html document. | |
22703 | * java/awt/Window.java | |
22704 | (dispatchEvent): Added check to avoid NPE. | |
22705 | ||
22706 | 2006-04-10 Tom Tromey <tromey@redhat.com> | |
22707 | ||
22708 | * javax/accessibility/AccessibleStreamable.java (getStream): Fixed | |
22709 | name. | |
22710 | * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value. | |
22711 | (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise. | |
22712 | ||
22713 | 2006-04-10 Robert Schuster <robertschuster@fsfe.org> | |
22714 | ||
22715 | * javax/swing/plaf/basic/BasicTextUI.java: | |
22716 | (getNextVisualPositionFrom): Marked as stub. | |
22717 | ||
22718 | 2006-04-10 Roman Kennke <kennke@aicas.com> | |
22719 | ||
22720 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
22721 | (initSystemColorDefaults): Changed to use loadSystemColorDefaults | |
22722 | and create the defaults as strings constants. | |
22723 | (loadSystemColors): Implemented stubbed method. | |
22724 | ||
22725 | 2006-04-10 Tom Tromey <tromey@redhat.com> | |
22726 | ||
22727 | * .settings/org.eclipse.core.resources.prefs: Set encoding for | |
22728 | ChangeLog. | |
22729 | ||
22730 | 2006-04-10 Tom Tromey <tromey@redhat.com> | |
22731 | ||
22732 | * java/io/CharArrayWriter.java (append): Javadoc fix. | |
22733 | (append): Likewise. | |
22734 | ||
22735 | 2006-04-10 Tom Tromey <tromey@redhat.com> | |
22736 | ||
22737 | * javax/accessibility/AccessibleTextSequence.java: New file. | |
22738 | * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New | |
22739 | field. | |
22740 | (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS, | |
22741 | EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO, | |
22742 | FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY, | |
22743 | SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise. | |
22744 | * javax/accessibility/AccessibleExtendedText.java: New file. | |
22745 | * javax/accessibility/AccessibleContext.java | |
22746 | (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field. | |
22747 | (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise. | |
22748 | (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise. | |
22749 | * javax/accessibility/AccessibleAttributeSequence.java: New file. | |
22750 | * javax/accessibility/AccessibleStreamable.java: New file. | |
22751 | * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc | |
22752 | fix. | |
22753 | ||
22754 | 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22755 | ||
22756 | * javax/swing/tree/AbstractLayoutCache.java | |
22757 | (getNodeDimensions, getRowsForPath): Implemented. | |
22758 | * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten. | |
22759 | * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten. | |
22760 | ||
22761 | 2006-04-10 Roman Kennke <kennke@aicas.com> | |
22762 | ||
22763 | * javax/swing/tree/AbstractLayoutCache.java: Reformatted. | |
22764 | ||
22765 | 2006-04-10 Roman Kennke <kennke@aicas.com> | |
22766 | ||
22767 | * javax/swing/JInternalFrame.java | |
22768 | (AccessibleJInternalFrame): Marked all stubbed methods as such | |
22769 | by adding throws NotImplementedException. | |
22770 | ||
22771 | 2006-04-10 Roman Kennke <kennke@aicas.com> | |
22772 | ||
22773 | * javax/swing/JFileChooser.java | |
22774 | (getAccessibleContext): Don't create a new instance on each | |
22775 | call, instead store the accessible context in the | |
22776 | accessibleContext field. | |
22777 | ||
22778 | 2006-04-10 Roman Kennke <kennke@aicas.com> | |
22779 | ||
22780 | * javax/swing/JComboBox.java | |
22781 | (AccessibleJComboBox): Marked all stubbed methods as such | |
22782 | by adding throws NotImplementedException. | |
22783 | ||
22784 | 2006-04-10 Roman Kennke <kennke@aicas.com> | |
22785 | ||
22786 | * javax/swing/ActionMap.java | |
22787 | (readObject): Removed. | |
22788 | (writeObject): Removed. | |
22789 | ||
22790 | 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22791 | ||
22792 | * javax/swing/tree/DefaultTreeSelectionModel.java | |
22793 | (addSelectionPaths, setSelectionPaths): Call | |
22794 | insureUniqueness. (clone, setRowMapper): Implemented. | |
22795 | * TreePath (path): Marked final. | |
22796 | ||
22797 | 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22798 | ||
22799 | * javax/swing/tree/DefaultTreeSelectionModel.java: | |
22800 | Documented and autoformatted. (insureUniqueness): | |
22801 | Removed stub marking. | |
22802 | ||
22803 | 2006-04-09 David Gilbert <david.gilbert@object-refinery.com> | |
22804 | ||
22805 | * javax/swing/SizeSequence.java | |
22806 | (sizes): Don't initialise here, | |
22807 | (SizeSequence(int, int)): Initialise sizes field, | |
22808 | (SizeSequence(int[])): Clone argument instead of calling setSizes(), | |
22809 | (setSize): Do nothing when index is out of bounds, | |
22810 | (getIndex): Implemented, | |
22811 | (setSizes): Reimplemented, | |
22812 | (getSizes): Likewise, | |
22813 | (insertEntries): Likewise, | |
22814 | (removeEntries): Likewise, | |
22815 | plus added API docs all over. | |
22816 | ||
22817 | 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org | |
22818 | ||
22819 | * gnu/CORBA/gnuRequest.java (submit): Do not read any response after | |
22820 | one way message and retry after any IOException. | |
22821 | ||
22822 | 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22823 | ||
22824 | * gnu/CORBA/CDR/EncapsulationStream.java (constructor): | |
22825 | Set the byte order. | |
22826 | ||
22827 | 2006-04-09 Wolfgang Baer <WBaer@gmx.de> | |
22828 | ||
22829 | * org/omg/PortableServer/ServantLocatorPOA.java: | |
22830 | (preinvoke, postinvoke): Remove default implementation. | |
22831 | * org/omg/PortableServer/ServantActivatorPOA.java: | |
22832 | (incarnate, etherealize): Remove default implementation. | |
22833 | * org/omg/PortableInterceptor/ObjectReferenceFactory.java: | |
22834 | Extends from ValueBase and not from ObjectReferenceFactoryOperations. | |
22835 | (make_object): Moved method from ObjectReferenceFactoryOperations. | |
22836 | * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: | |
22837 | Removed unspecified interface. | |
22838 | * org/omg/DynamicAny/_DynAnyStub.java: | |
22839 | (_DynAnyStub(Delegate)): Removed constructor. | |
22840 | * org/omg/DynamicAny/_DynArrayStub.java, | |
22841 | * org/omg/DynamicAny/_DynAnyFactoryStub.java, | |
22842 | * org/omg/DynamicAny/_DynEnumStub.java, | |
22843 | * org/omg/DynamicAny/_DynFixedStub.java, | |
22844 | * org/omg/DynamicAny/_DynSequenceStub.java, | |
22845 | * org/omg/DynamicAny/_DynStructStub.java, | |
22846 | * org/omg/DynamicAny/_DynUnionStub.java, | |
22847 | * org/omg/DynamicAny/_DynValueStub.java: | |
22848 | Extend from ObjectImpl and not from _DynAnyStub. | |
22849 | (type, next, destroy, copy, rewind, assign, component_count, | |
22850 | current_component, equal, from_any, get_any, get_boolean, get_char, | |
22851 | get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, | |
22852 | get_reference, get_short, get_string, get_typecode, get_ulong, | |
22853 | get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any, | |
22854 | insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float, | |
22855 | insert_long, insert_longlong, insert_octet, insert_reference, | |
22856 | insert_short, insert_string, insert_typecode, insert_ulong, | |
22857 | insert_ulonglong, insert_ushort, insert_val, insert_wchar, | |
22858 | insert_wstring, seek, to_any): New methods copied from _DynAnyStub. | |
22859 | * org/omg/CosNaming/_BindingIteratorStub.java: | |
22860 | (_BindingIteratorStub(Delegate)): Made package private. | |
22861 | * org/omg/CosNaming/_NamingContextExtStub.java: | |
22862 | (_NamingContextExtStub(Delegate)): Made package private. | |
22863 | * org/omg/CosNaming/_NamingContextStub.java: | |
22864 | (_NamingContextStub(Delegate)): Made package private. | |
22865 | (throw4, throw5): Likewise. | |
22866 | * gnu/CORBA/NamingService/NameParser.java (resolve): | |
22867 | Adapt to package private constructor. Use _set_delegate instead. | |
22868 | * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity. | |
22869 | * org/omg/CORBA/ORB.java: | |
22870 | (create_recursive_sequence_tc): Made abstract. | |
22871 | (get_default_context): Likewise. | |
22872 | * gnu/CORBA/OrbRestricted.java: | |
22873 | (create_recursive_sequence_tc): New moved method. | |
22874 | (get_default_context): Likewise. | |
22875 | * org/omg/CORBA/ParameterMode.java: | |
22876 | (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. | |
22877 | ||
22878 | 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22879 | ||
22880 | * gnu/CORBA/GIOP/MessageHeader.java (write): | |
22881 | More informative exception. | |
22882 | * gnu/CORBA/IorDelegate.java (release): Do not close the socket. | |
22883 | * gnu/CORBA/SocketRepository.java (get_socket): | |
22884 | Removed debugging code. | |
22885 | ||
22886 | 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22887 | ||
22888 | * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the | |
22889 | one way message, but ignore if EOF was received. | |
22890 | * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to | |
22891 | Minor.EOF if the end of file is received instead of the header. | |
22892 | ||
22893 | 2006-04-09 Roman Kennke <kennke@aicas.com> | |
22894 | ||
22895 | * javax/swing/plaf/metal/MetalRootPaneUI.java | |
22896 | (MetalTitlePane.IconifyAction): New inner class. | |
22897 | (MetalTitlePane.MaximizeAction): New inner class. | |
22898 | (MetalTitlePane.createActions): Create iconifyAction and | |
22899 | maximizeAction. | |
22900 | (MetalRootLayout.titlePane): New field. | |
22901 | (MetalRootLayout.MetalRootLayout): Take titlePane parameter in | |
22902 | constructor. | |
22903 | (MetalRootLayout.preferredLayoutSize): Changed to not make | |
22904 | assumptions about the actual component order. | |
22905 | (MetalRootLayout.layoutContainer): Changed to not make | |
22906 | assumptions about the actual component order. | |
22907 | (installWindowDecorations): Pass the titlePane as parameter to | |
22908 | the MetalRootLayout constructor. | |
22909 | (uninstallWindowDecorations): Changed to not make | |
22910 | assumptions about the actual component order. | |
22911 | ||
22912 | 2006-04-08 Roman Kennke <kennke@aicas.com> | |
22913 | ||
22914 | * javax/swing/plaf/metal/MetalRootPaneUI.java | |
22915 | (MetalTitlePane.MouseHandler): New inner class to handle dragging | |
22916 | of frames. | |
22917 | (MetalTitlePane.installListeners): Don't register a focus listener | |
22918 | on the window. This is a potential memory leak and must be | |
22919 | implemented on a different way. Install mouse listener here. | |
22920 | (installWindowDecorations): Fixed assertion condition. Always | |
22921 | insert the window decoration at index#1 in the layered | |
22922 | pane. | |
22923 | ||
22924 | 2006-04-08 Roman Kennke <kennke@aicas.com> | |
22925 | ||
22926 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
22927 | (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked): | |
22928 | Only resize window if actual width or height value changes. | |
22929 | Avoids nasty flicker when only setLocation() is beeing called | |
22930 | on a window. | |
22931 | ||
22932 | 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22933 | ||
22934 | * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative | |
22935 | exception if the magic sequence does not match. | |
22936 | ||
22937 | 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
22938 | ||
22939 | * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read | |
22940 | response for the one way messages. | |
22941 | ||
22942 | 2006-04-08 Roman Kennke <kennke@aicas.com> | |
22943 | ||
22944 | * javax/swing/MenuSelectionManager.java | |
22945 | (processKeyEvent): Implemented stub method. | |
22946 | * javax/swing/JMenu.java | |
22947 | (processKeyEvent): Implemented stub method. | |
22948 | * javax/swing/JMenu.java | |
22949 | (processKeyEvent): Implemented stub method. | |
22950 | (processMenuKeyEvent): Implemented stub method. | |
22951 | ||
22952 | 2006-04-08 Roman Kennke <kennke@aicas.com> | |
22953 | ||
22954 | * javax/swing/AbstractAction.java | |
22955 | (readObject): Removed unneeded method. | |
22956 | (writeObject): Removed unneeded method. | |
22957 | ||
22958 | 2006-04-08 Wolfgang Baer <WBaer@gmx.de> | |
22959 | ||
22960 | * javax/swing/plaf/synth/SynthPainter.java: | |
22961 | (paintSplitPaneDividerBorder): Removed. | |
22962 | ||
22963 | 2006-04-08 Wolfgang Baer <WBaer@gmx.de> | |
22964 | ||
22965 | * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: | |
22966 | (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD): | |
22967 | No longer constants. | |
22968 | (static_initializer): Added to initialize above fields. | |
22969 | * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, | |
22970 | MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants. | |
22971 | (static_initializer): Added to initialize above fields. | |
22972 | ||
22973 | 2006-04-08 Wolfgang Baer <WBaer@gmx.de> | |
22974 | ||
22975 | * java/awt/Dialog.java: Improved documentation all over. | |
22976 | (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration. | |
22977 | (Dialog(Dialog)): Likewise. | |
22978 | ||
22979 | 2006-04-08 Mark Wielaard <mark@klomp.org> | |
22980 | ||
22981 | * java/util/jar/JarFile.java (provider): New static field. | |
22982 | (verify, verifyHashes, EntryInputStream.<init>): Pass provider | |
22983 | to `getInstance.' | |
22984 | ||
22985 | 2006-04-08 Mark Wielaard <mark@klomp.org> | |
22986 | ||
22987 | PR 27081 | |
22988 | * java/lang/StackTraceElement.java (toString): Don't add space | |
22989 | between type and source indicator. | |
22990 | ||
22991 | 2006-04-07 Casey Marshall <csm@gnu.org> | |
22992 | ||
22993 | Fixes PR classpath/24464 | |
22994 | * java/util/jar/JarFile.java (verify, verifyHashes, | |
22995 | EntryInputStream.<init>): pass the Gnu provider directly to | |
22996 | `getInstance.' | |
22997 | ||
22998 | 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au> | |
22999 | ||
23000 | PR classpath/27071 | |
23001 | * gnu/java/security/hash/Whirlpool.java: Updated documentation. | |
23002 | (DIGEST0): Use version 3 test vector. | |
23003 | (Sd): Removed. | |
23004 | (S_box): New field: Version 3 S-box values. | |
23005 | (<clinit>): Use Version 3 circulant matrix to construct lookup tables. | |
23006 | (transform): Formating. | |
23007 | (padBuffer): Likewise. | |
23008 | (getResult): Likewise. | |
23009 | (selfTest): Likewise. | |
23010 | ||
23011 | 2006-04-07 Tom Tromey <tromey@redhat.com> | |
23012 | ||
23013 | * java/util/InvalidPropertiesFormatException.java | |
23014 | (serialVersionUID): New field. | |
23015 | (readObject, writeObject): New methods. | |
23016 | * java/util/Arrays.java (toString): Javadoc fixes. | |
23017 | * java/net/URLConnection.java: Cleaned up imports. | |
23018 | * java/lang/reflect/ParameterizedType.java: Javadoc fix. | |
23019 | * java/lang/reflect/MalformedParameterizedTypeException.java | |
23020 | (serialVersionUID): New field. | |
23021 | * java/lang/reflect/GenericSignatureFormatError.java | |
23022 | (serialVersionUID): New field. | |
23023 | * java/lang/Class.java (Class): Javado fixes. | |
23024 | (getComponentType): Likewise. | |
23025 | (getGenericInterfaces): Likewise. | |
23026 | (getTypeParameters): Likewise. | |
23027 | * java/io/CharArrayWriter.java (append): Javadoc fixes. | |
23028 | * java/lang/annotation/AnnotationFormatError.java (serialVersionUID): | |
23029 | New field. | |
23030 | * java/lang/TypeNotPresentException.java (serialVersionUID): New | |
23031 | field. | |
23032 | * java/lang/EnumConstantNotPresentException.java (serialVersionUID): | |
23033 | New field. | |
23034 | ||
23035 | 2006-04-07 Wolfgang Baer <WBaer@gmx.de> | |
23036 | ||
23037 | * java/awt/Dialog.java | |
23038 | (AccessibleAWTDialog): Added api docs | |
23039 | (AccessibleAWTDialog.getAccessibleStateSet): | |
23040 | Renamed from getAccessibleState. | |
23041 | * java/awt/Frame.java | |
23042 | (AccessibleAWTFrame): Added api docs | |
23043 | (AccessibleAWTFrame.getAccessibleStateSet): | |
23044 | Renamed from getAccessibleState. | |
23045 | ||
23046 | 2006-04-07 Wolfgang Baer <WBaer@gmx.de> | |
23047 | ||
23048 | * java/awt/Dialog.java: Reformatted. | |
23049 | ||
23050 | 2006-04-07 Lillian Angel <langel@redhat.com> | |
23051 | ||
23052 | * java/awt/Component.java | |
23053 | (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED, | |
23054 | HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED. | |
23055 | ||
23056 | 2006-04-07 Tom Tromey <tromey@redhat.com> | |
23057 | ||
23058 | * java/beans/beancontext/BeanContextMembershipEvent.java | |
23059 | (serialVersionUID): New field. | |
23060 | * java/beans/beancontext/BeanContextServicesSupport.java | |
23061 | (addBeanContextServicesListener): Synchronize. | |
23062 | (addService): Implemented. | |
23063 | (createBCSChild): Implemented. | |
23064 | (BCSSChild): Added arguments. | |
23065 | (fireServiceAdded): Implemented. | |
23066 | (fireServiceRevoked): Implemented. | |
23067 | (getCurrentServiceSelectors): Implemented. | |
23068 | (hasService): Implemented. | |
23069 | (removeBeanContextServicesListener): Implemented. | |
23070 | (serviceAvailable): Implemented. | |
23071 | (serviceRevoked): Implemented. | |
23072 | * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added | |
23073 | arguments. | |
23074 | (createBCSChild): Implemented. | |
23075 | (BeanContextSupport): | |
23076 | (addBeanContextMembershipListener): Synchronize. | |
23077 | (fireChildrenAdded): Implemented. | |
23078 | (fireChildrenRemoved): Implemented. | |
23079 | (BeanContextSupport): Use default locale. | |
23080 | (isEmpty): Implemented. | |
23081 | (isDesignTime): Implemented. | |
23082 | (size): Implemented. | |
23083 | (toArray): Synchronized. | |
23084 | (toArray): Likewise. | |
23085 | (iterator): Likewise. | |
23086 | (BCSIterator): Implemented. | |
23087 | (bcsChildren): Implemented. | |
23088 | (validatePendingAdd): Implemented. | |
23089 | (validatePendingRemove): Likewise. | |
23090 | (childJustAddedHook): Implemented. | |
23091 | (childJustRemovedHook): Likewise. | |
23092 | (classEquals): Likewise. | |
23093 | (toArray): Mark as stub. | |
23094 | (setDesignTime): Implemented. | |
23095 | (copyChildren): Implemented. | |
23096 | (containsKey): Implemented. | |
23097 | (contains): Likewise. | |
23098 | (containsAll): Likewise. | |
23099 | (getResource): Implemented. | |
23100 | (getResourceAsStream): Likewise. | |
23101 | (removeBeanContextMembershipListener): Likewise. | |
23102 | * java/beans/beancontext/BeanContextServiceRevokedEvent.java | |
23103 | (serialVersionUID): New field. | |
23104 | * java/beans/beancontext/BeanContextServiceAvailableEvent.java | |
23105 | (serialVersionUID): New field. | |
23106 | * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc | |
23107 | fix. | |
23108 | ||
23109 | 2006-04-06 Roman Kennke <kennke@aicas.com> | |
23110 | ||
23111 | PR 26937 | |
23112 | * javax/swing/MenuSelectionManager.java | |
23113 | (setSelectedPath): Search one more item in the loop. | |
23114 | ||
23115 | 2006-04-06 Tom Tromey <tromey@redhat.com> | |
23116 | ||
23117 | * java/awt/image/renderable/RenderableImageProducer.java | |
23118 | (image, context, consumers): New fields. | |
23119 | (RenderableImageProducer): Implemented. | |
23120 | (setRenderContext): Likewise. | |
23121 | (addConsumer): Likewise. | |
23122 | (isConsumer): Likewise. | |
23123 | (removeConsumer): Likewise. | |
23124 | (startProduction): Likewise. | |
23125 | ||
23126 | 2006-04-06 Roman Kennke <kennke@aicas.com> | |
23127 | ||
23128 | * java/awt/Component.java | |
23129 | (AccessibleAWTComponent.getBounds): Return the component | |
23130 | bounds regardless of its showing state. | |
23131 | (AccessibleAWTComponent.getLocation): Return the component | |
23132 | location regardless of its showing state. | |
23133 | (AccessibleAWTComponent.getSize): Return the component | |
23134 | size regardless of its showing state. | |
23135 | ||
23136 | 2006-04-06 Roman Kennke <kennke@aicas.com> | |
23137 | ||
23138 | * javax/swing/JRootPane.java | |
23139 | (getAccessibleContext): New method. Provides an accessibleContext | |
23140 | for JRootPanes. | |
23141 | ||
23142 | 2006-04-06 Roman Kennke <kennke@aicas.com> | |
23143 | ||
23144 | * java/awt/Toolkit.java | |
23145 | (initAccessibility): Use the 'gnu.classpath.home.url' property | |
23146 | to determine the system confiuration directory. | |
23147 | * java/awt/Component.java | |
23148 | (dispatchEvent): Trigger Toolkit dispatching here. | |
23149 | (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent, | |
23150 | so it can't be overridden by subclasses and is performed in | |
23151 | any case. | |
23152 | ||
23153 | 2006-04-06 Wolfgang Baer <WBaer@gmx.de> | |
23154 | ||
23155 | * javax/naming/Binding.java: Added API docs. | |
23156 | * javax/naming/NameClassPair.java: Added API docs. | |
23157 | (fullName): New field. | |
23158 | (setNameInNamespace): New 1.5 method. | |
23159 | (getNameInNamespace): Likewise. | |
23160 | ||
23161 | 2006-04-06 Wolfgang Baer <WBaer@gmx.de> | |
23162 | ||
23163 | * javax/naming/CompositeName.java: | |
23164 | (readObject): New deserialization method. | |
23165 | (writeObject): New serialization method. | |
23166 | ||
23167 | 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com> | |
23168 | ||
23169 | * javax/security/auth/x500/X500Principal.java | |
23170 | (readAttributeValue) Check for separator after quoted value was | |
23171 | failing in all cases. | |
23172 | ||
23173 | 2006-04-06 Mark Wielaard <mark@klomp.org> | |
23174 | ||
23175 | * java/lang/Class.java (getClassLoader): Don't do security check | |
23176 | when loader is null. | |
23177 | ||
23178 | 2006-04-06 Roman Kennke <kennke@aicas.com> | |
23179 | ||
23180 | * java/awt/Toolkit.java | |
23181 | (getDefaultToolkit): Initialize accessibility after setting | |
23182 | up the toolkit. | |
23183 | (initAccessibility): New helper method to setup accessibility. | |
23184 | ||
23185 | 2006-04-06 Roman Kennke <kennke@aicas.com> | |
23186 | ||
23187 | * javax/swing/AbstractButton.java | |
23188 | (AccessibleAbstractButton.getAccessibleIcon): Implemented stub. | |
23189 | (AccessibleAbstractButton.getAccessibleRelationSet): Implemented | |
23190 | stub. | |
23191 | (AccessibleAbstractButton.getIndexAtPoint): Implemented stub. | |
23192 | (AccessibleAbstractButton.getAccessibleIcon): Implemented stub. | |
23193 | (AccessibleAbstractButton.getCharacterBounds): Implemented stub. | |
23194 | (AccessibleAbstractButton.getCharCount): Implemented stub. | |
23195 | (AccessibleAbstractButton.getCaretPosition): Implemented stub. | |
23196 | (AccessibleAbstractButton.getCharacterAttribute): Implemented stub. | |
23197 | (AccessibleAbstractButton.getSelectionStart): Implemented stub. | |
23198 | (AccessibleAbstractButton.getSelectionEnd): Implemented stub. | |
23199 | (AccessibleAbstractButton.getSelectedText): Implemented stub. | |
23200 | (AccessibleAbstractButton.getTextRectangle): Removed unneeded | |
23201 | private method. | |
23202 | ||
23203 | 2006-04-06 Roman Kennke <kennke@aicas.com> | |
23204 | ||
23205 | * java/awt/Component.java | |
23206 | (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque | |
23207 | state here. This is only done in JComponent. | |
23208 | * javax/swing/JComponent.java | |
23209 | (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag | |
23210 | here. | |
23211 | (getNextFocusableComponent): Implemented stub method. | |
23212 | (grabFocus): Implemented stub method. | |
23213 | (unregisterKeyboardAction): Implemented stub method. | |
23214 | (setNextFocusableComponent): Implemented stub method. | |
23215 | * javax/swing/CompatibilityFocusTraversalPolicy.java: New file. | |
23216 | This is a helper class for providing compatibility with the older | |
23217 | Swing focus API. | |
23218 | ||
23219 | 2006-04-06 Wolfgang Baer <WBaer@gmx.de> | |
23220 | ||
23221 | Fixes bug #26995 | |
23222 | * javax/naming/directory/BasicAttribute.java, | |
23223 | * javax/naming/directory/BasicAttributes.java: | |
23224 | (readObject): New deserialization method. | |
23225 | (writeObject): New serialization method. | |
23226 | ||
23227 | 2006-04-06 Wolfgang Baer <WBaer@gmx.de> | |
23228 | ||
23229 | * javax/xml/validation/SchemaFactory.java: Corrected since tag. | |
23230 | (getErrorHandler): Made method abstract. | |
23231 | (setErrorHanlder): Likewise. | |
23232 | * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java | |
23233 | (getErrorHandler): Implement abstract method from superclass. | |
23234 | (setErrorHandler): Likewise. | |
23235 | (errorHandler): New field. | |
23236 | * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java: | |
23237 | (getErrorHandler): Implement abstract method from superclass. | |
23238 | (setErrorHandler): Likewise. | |
23239 | (errorHandler): New field. | |
23240 | * javax/xml/XMLConstants.java: Corrected since tag. | |
23241 | (XMLConstants): Added private constructor. | |
23242 | * javax/xml/datatype/Duration.java: Corrected since tag. | |
23243 | (multiply): Made method abstract. | |
23244 | * javax/xml/datatype/DatatypeConstants.java: Corrected since tag. | |
23245 | (DatatypeConstants): Added private constructor. | |
23246 | * javax/xml/xpath/XPathConstants.java: Corrected since tag. | |
23247 | (XPathConstants): Added private constructor. | |
23248 | ||
23249 | 2006-04-05 Tom Tromey <tromey@redhat.com> | |
23250 | ||
23251 | * javax/security/auth/kerberos/ServicePermission.java: Now final. | |
23252 | ||
23253 | 2006-04-05 Tom Tromey <tromey@redhat.com> | |
23254 | ||
23255 | PR libgcj/26625: | |
23256 | * lib/Makefile.am (compile-classes): Touch the output file. | |
23257 | ||
23258 | 2006-04-05 Roman Kennke <kennke@aicas.com> | |
23259 | ||
23260 | * javax/swing/AbstractButton.java | |
23261 | (AccessibleAbstractButton.getAccessibleStateSet): Removed handling | |
23262 | of the focused state. This is already done in AccessibleAWTComponent. | |
23263 | ||
23264 | 2006-04-05 Roman Kennke <kennke@aicas.com> | |
23265 | ||
23266 | * javax/swing/JComponent.java | |
23267 | (accessibleContext): Fixed API doc for this field. | |
23268 | (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs. | |
23269 | (AccessibleJComponent.AccessibleFocusHandler.focusGained): | |
23270 | Implemented and added API docs. | |
23271 | (AccessibleJComponent.AccessibleFocusHandler.focusLost): | |
23272 | Implemented and added API docs. | |
23273 | (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs. | |
23274 | (AccessibleJComponent.AccessibleContainerHandler.componentAdded): | |
23275 | Implemented and added API docs. | |
23276 | (AccessibleJComponent.AccessibleContainerHandler.componentRemoved): | |
23277 | Implemented and added API docs. | |
23278 | (AccessibleJComponent.accessibleContainerHandler): Added API docs. | |
23279 | (AccessibleJComponent.accessibleFocusHandler): Added API docs. | |
23280 | (AccessibleJComponent.addPropertyChangeListener): Added API docs. | |
23281 | (AccessibleJComponent.removePropertyChangeListener): Added API docs. | |
23282 | (AccessibleJComponent.getAccessibleStateSet): Simply return | |
23283 | super here. Added comment about this. | |
23284 | ||
23285 | 2006-04-05 Roman Kennke <kennke@aicas.com> | |
23286 | ||
23287 | * javax/swing/JComponent.java | |
23288 | (AccessibleJComponent.addPropertyChangeListener): Install | |
23289 | ContainerHandler and FocusHandler here. | |
23290 | (AccessibleJComponent.removePropertyChangeListener): Uninstall | |
23291 | ContainerHandler and FocusHandler here. | |
23292 | (AccessibleJComponent.getAccessibleChildrenCount): Replaced | |
23293 | by super.getAccessibleChildrenCount(). | |
23294 | (AccessibleJComponent.getAccessibleChild): Replaced | |
23295 | by super.getAccessibleChild(). | |
23296 | (AccessibleJComponent.getAccessibleStateSet): Implemented by | |
23297 | adding OPAQUE to the supported states. | |
23298 | (AccessibleJComponent.getAccessibleName): Added titled border | |
23299 | and label fallbacks. | |
23300 | (AccessibleJComponent.getAccessibleDescription): Added tooltip | |
23301 | and label fallbacks. | |
23302 | (AccessibleJComponent.getAccessibleRole): Removed TODO. | |
23303 | (AccessibleJComponent.getAccessibleKeyBinding): Added comment | |
23304 | explaining why return null seems correct here. | |
23305 | * javax/swing/JLabel.java | |
23306 | (LABEL_PROPERTY): New constant. | |
23307 | (setLabelFor): Store label in labeled component's client properties | |
23308 | for the AccessibleJComponent to read. | |
23309 | ||
23310 | 2006-04-05 Tom Tromey <tromey@redhat.com> | |
23311 | ||
23312 | * java/util/zip/ZipFile.java (available): Defer to super if | |
23313 | entry's size is unknown. | |
23314 | ||
23315 | 2006-04-05 Tom Tromey <tromey@redhat.com> | |
23316 | ||
23317 | * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system | |
23318 | property with mime.types name. | |
23319 | * gnu/classpath/SystemProperties.java: Set | |
23320 | gnu.classpath.mime.types.file if not already set. | |
23321 | * java/net/URLConnection.java (defaultFactory): New field. | |
23322 | (guessContentTypeFromStream): Mark as unimplemented. | |
23323 | (getContentHandler): Updated with libgcj's implementation. | |
23324 | * gnu/java/net/DefaultContentHandlerFactory.java: New file, | |
23325 | from libgcj. | |
23326 | ||
23327 | 2006-04-05 Bryce McKinlay <mckinlay@redhat.com> | |
23328 | ||
23329 | PR classpath/27028 | |
23330 | PR classpath/24752 | |
23331 | * java/util/AbstractList.java (hasNext): Don't throw | |
23332 | ConcurrentModificationException. Update Javadoc. | |
23333 | (hasPrevious): Likewise. | |
23334 | (nextIndex): Likewise. | |
23335 | (previousIndex): Likewise. | |
23336 | * java/util/HashMap.java (hasNext): Likewise. | |
23337 | * java/util/Hashtable.java (hasNext): Likewise. | |
23338 | * java/util/IdentityHashMap.java (hasNext): Likewise. | |
23339 | * java/util/LinkedHashMap.java (hasNext): Likewise. | |
23340 | * java/util/LinkedList.java (nextIndex): Likewise. | |
23341 | (previousIndex): Likewise. | |
23342 | (hasNext): Likewise. | |
23343 | (hasPrevious): Likewise. | |
23344 | * java/util/TreeMap.java (hasNext): Likewise. | |
23345 | * java/util/WeakHashMap.java (hasNext): Likewise. | |
23346 | ||
23347 | 2006-04-05 Roman Kennke <kennke@aicas.com> | |
23348 | ||
23349 | * javax/swing/AbstractButton.java | |
23350 | (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub. | |
23351 | (AccessibleAbstractButton.doAccessibleAction): Implemented stub. | |
23352 | (AccessibleAbstractButton.getAccessibleAction): Implemented stub. | |
23353 | (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub. | |
23354 | (AccessibleAbstractButton.getAccessibleActionDescription): | |
23355 | Implemented stub. | |
23356 | (AccessibleAbstractButton.getAccessibleText): Implemented stub. | |
23357 | (AccessibleAbstractButton.getAccessibleAction): Implemented stub. | |
23358 | (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub. | |
23359 | (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub. | |
23360 | (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub. | |
23361 | (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub. | |
23362 | ||
23363 | 2006-04-05 Roman Kennke <kennke@aicas.com> | |
23364 | ||
23365 | * javax/swing/JComboBox.java | |
23366 | (selectWithKeyChar): Implemented stubbed method. | |
23367 | ||
23368 | 2006-04-05 Roman Kennke <kennke@aicas.com> | |
23369 | ||
23370 | * javax/swing/LookAndFeel.java | |
23371 | (installProperty): New method. Allows primitive typed properties | |
23372 | to be handled like UIResources. | |
23373 | * javax/swing/AbstractButton.java | |
23374 | (clientBorderPaintedSet): New field. | |
23375 | (clientRolloverEnabledSet): New field. | |
23376 | (clientIconTextGapSet): New field. | |
23377 | (clientContentAreaFilledSet): New field. | |
23378 | (setRolloverEnabled): Set the client field to true. | |
23379 | (setBorderPainted): Likewise. | |
23380 | (setIconTextGap): Likewise. | |
23381 | (setContentAreaFilled): Likewise. | |
23382 | (setUIProperty): New helper method. | |
23383 | * javax/swing/JComponent.java | |
23384 | (clientOpaqueSet): New field. | |
23385 | (clientAutoscrollsSet): New field. | |
23386 | (setAutoscrolls): Set the client field to true. | |
23387 | (setOpaque): Likewise. | |
23388 | (setUIProperty): New helper method. | |
23389 | * javax/swing/JDesktopPane.java | |
23390 | (clientDragModeSet): New field. | |
23391 | (setDragMode): Set the client field to true. | |
23392 | (setUIProperty): New helper method. | |
23393 | * javax/swing/JSplitPane.java | |
23394 | (clientDividerSizeSet): New field. | |
23395 | (clientOneTouchExpandableSet): New field. | |
23396 | (setDividerSize): Set the client field to true. | |
23397 | (setOneTouchExpandable): Likewise. | |
23398 | (setUIProperty): New helper method. | |
23399 | * javax/swing/JTable.java | |
23400 | (clientRowHeightSet): New field. | |
23401 | (setRowHeight): Set the client field to true. | |
23402 | (setUIProperty): New helper method. | |
23403 | * javax/swing/JTree.java | |
23404 | (clientRowHeightSet): New field. | |
23405 | (clientScrollsOnExpandSet): New field. | |
23406 | (clientShowsRootHandlesSet): New field. | |
23407 | (setRowHeight): Set the client field to true. | |
23408 | (setShowsRootHandles): Likewise. | |
23409 | (setScrollsOnExpand): Likewise. | |
23410 | (setUIProperty): New helper method. | |
23411 | ||
23412 | 2006-04-05 Roman Kennke <kennke@aicas.com> | |
23413 | ||
23414 | * java/awt/Component.java | |
23415 | (getFont): Don't request the font from the peer's graphics. The | |
23416 | graphics should instead get the font from the Component, which might | |
23417 | result in a loop. | |
23418 | (getFocusCycleAncestor): Don't special case Window. | |
23419 | (nextFocus): Moved implementation from the DefaultKeyboardFocusManager | |
23420 | to here. Correctly determine the focus cycle root. | |
23421 | (transferFocusBackward): Likewise. | |
23422 | (transferFocusUpCycle): Likewise. | |
23423 | * java/awt/Container.java | |
23424 | (transferFocusDownCycle): Moved implementation from | |
23425 | DefaultKeyboardFocusManager to here. | |
23426 | * java/awt/DefaultKeyboardFocusManager.java | |
23427 | (focusPreviousComponent): Moved implementation to | |
23428 | Component.transferFocusBackward(). | |
23429 | (focusNextComponent): Moved implementation to | |
23430 | Component.nextFocus(). | |
23431 | (upFocusCycle): Moved implementation to | |
23432 | Component.transferFocusUpCycle(). | |
23433 | (downFocusCycle): Moved implementation to | |
23434 | Container.transferFocusDownCycle(). | |
23435 | ||
23436 | 2006-04-05 David Gilbert <david.gilbert@object-refinery.com> | |
23437 | ||
23438 | * java/awt/image/ComponentSampleModel.java | |
23439 | (equals): Implemented, | |
23440 | (hashCode): Likewise. | |
23441 | ||
23442 | 2006-04-05 Jeroen Frijters <jeroen@frijters.net> | |
23443 | ||
23444 | * java/lang/Class.java | |
23445 | (cast): New method. | |
23446 | ||
23447 | 2006-04-05 David Gilbert <david.gilbert@object-refinery.com> | |
23448 | ||
23449 | * java/awt/image/ComponentSampleModel.java | |
23450 | (getBankIndices): Return a copy of the array, not a reference to the | |
23451 | original, | |
23452 | (getBandOffsets): Likewise. | |
23453 | ||
23454 | 2006-04-05 David Gilbert <david.gilbert@object-refinery.com> | |
23455 | ||
23456 | * java/awt/image/ComponentSampleModel.java: Added API docs all over. | |
23457 | ||
23458 | 2006-04-04 Tom Tromey <tromey@redhat.com> | |
23459 | ||
23460 | * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices. | |
23461 | ||
23462 | 2006-04-04 Tom Tromey <tromey@redhat.com> | |
23463 | ||
23464 | * java/net/MimeTypeMapper.java (mime_types): No longer static. | |
23465 | (MimeTypeMapper): Initialize. | |
23466 | (fillFromFile): New method. | |
23467 | (main): New method. | |
23468 | (mime_strings): Updated. | |
23469 | ||
23470 | 2006-04-04 Tom Tromey <tromey@redhat.com> | |
23471 | ||
23472 | * lib/gen-classlist.sh.in: Correct handle generated files. | |
23473 | ||
23474 | 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
23475 | ||
23476 | * gnu/regexp/CharIndexed.java(setAnchor): New method. | |
23477 | * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method. | |
23478 | * gnu/regexp/CharIndexedCharSequence.java: New file. | |
23479 | * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of | |
23480 | gnu.regexp.CharIndexedCharSequence. | |
23481 | * gnu/regexp/CharIndexedString.java: Likewise. | |
23482 | * gnu/regexp/CharIndexedStringBuffer.java: Likewise. | |
23483 | * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed | |
23484 | using CharIndexedCharSequence. Use setAnchor when the input | |
23485 | object is already a CharIndexed. | |
23486 | * java/util/regex/Matcher.java(inputCharIndexed): New field | |
23487 | to be used as a parameter of the RE#getMatch. | |
23488 | ||
23489 | 2006-04-04 David Gilbert <david.gilbert@object-refinery.com> | |
23490 | ||
23491 | * java/awt/image/SampleModel.java: Reformatted. | |
23492 | ||
23493 | 2006-04-04 David Gilbert <david.gilbert@object-refinery.com> | |
23494 | ||
23495 | * java/awt/image/ComponentSampleModel.java | |
23496 | (ComponentSampleModel(int, int, int, int, int[])): Added API | |
23497 | documentation, | |
23498 | (ComponentSampleModel(int, int, int, int, int[], int[]): Throw | |
23499 | IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies | |
23500 | of the bandOffsets and bankIndices arguments, added API documentation, | |
23501 | * java/awt/image/SampleModel.java | |
23502 | (SampleModel(int, int, int, int): Throw IllegalArgumentException for | |
23503 | unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands | |
23504 | less than or equal to zero, added API documentation. | |
23505 | ||
23506 | 2006-04-04 Lillian Angel <langel@redhat.com> | |
23507 | ||
23508 | * java/util/zip/ZipFile.java | |
23509 | (getInputStream): Fixed to return size of ZipEntry | |
23510 | minus the total bytes read. This guarantees that the | |
23511 | right value is returned even if some bytes have already | |
23512 | been read. | |
23513 | ||
23514 | 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com> | |
23515 | ||
23516 | * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages): | |
23517 | Remove static modifier. | |
23518 | ||
23519 | 2006-04-04 David Gilbert <david.gilbert@object-refinery.com> | |
23520 | ||
23521 | * java/awt/image/ComponentSampleModel.java: Reformatted. | |
23522 | ||
23523 | 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com> | |
23524 | ||
23525 | * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file. | |
23526 | * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add | |
23527 | retrieval instructions to javadoc header. | |
23528 | * javax/imageio/ImageWriteParam.java: Fix javadoc for | |
23529 | compressionType field. | |
23530 | * lib/Makefile.am (propertydirs): Add javax directory. | |
23531 | (propertyfiles): Likewise. | |
23532 | * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties: | |
23533 | New file. | |
23534 | ||
23535 | 2006-04-03 Tom Tromey <tromey@redhat.com> | |
23536 | ||
23537 | PR classpath/26971: | |
23538 | * javax/naming/directory/BasicAttribute.java: Added missing @since. | |
23539 | (BasicAttributeEnumeration.where): Initialize to 0. | |
23540 | (BasicAttributeEnumeration.nextElement): Post-increment 'where'. | |
23541 | ||
23542 | 2006-04-03 Lillian Angel <langel@redhat.com> | |
23543 | ||
23544 | PR classpath/24596 and PR classpath/26930 | |
23545 | * java/util/zip/ZipFile.java | |
23546 | (getInputStream): Override available function for | |
23547 | InflaterInputStream instance. | |
23548 | ||
4f9533c7 MW |
23549 | 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com> |
23550 | ||
23551 | * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file. | |
23552 | ||
23553 | 2006-04-03 Tom Tromey <tromey@redhat.com> | |
23554 | ||
23555 | * javax/security/auth/kerberos/ServicePermission.java: New file. | |
23556 | * javax/security/auth/kerberos/DelegationPermission.java: New file. | |
23557 | * javax/security/auth/kerberos/KerberosKey.java: New file. | |
23558 | * javax/security/auth/kerberos/KeyImpl.java: New file. | |
23559 | * javax/security/auth/kerberos/KerberosTicket.java: New file. | |
23560 | * javax/security/auth/kerberos/KerberosPrincipal.java: New file. | |
23561 | ||
23562 | 2006-04-03 Sven de Marothy <sven@physto.se> | |
23563 | ||
23564 | * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for | |
23565 | non-GtkImage images. | |
23566 | ||
23567 | 2006-04-03 Mark Wielaard <mark@klomp.org> | |
23568 | ||
23569 | * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2 | |
23570 | as temporary file name. | |
23571 | ||
23572 | 2006-04-03 Dalibor Topic <robilad@kaffe.org> | |
23573 | ||
23574 | * INSTALL: Documented --with-glibj-zip option. | |
23575 | ||
23576 | 2006-04-03 Dalibor Topic <robilad@kaffe.org> | |
23577 | ||
23578 | Fixed all pscan warnings. | |
23579 | ||
23580 | * native/jni/classpath/jcl.c (JCL_ThrowException), | |
23581 | native/jni/classpath/jcl.h (DBG), | |
23582 | native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT), | |
23583 | native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0): | |
23584 | Use "%s" format in fprintf and snprintf explicitely when printing a single | |
23585 | string to prevent format string exploits. | |
23586 | ||
23587 | * native/jni/java-net/javanet.h (DBG): Removed duplicate | |
23588 | definition. Included jcl.h instead. | |
23589 | ||
23590 | 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au> | |
23591 | ||
23592 | * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports. | |
23593 | (provider): Made it protected. | |
23594 | (providerInstalled): New field. | |
23595 | (Main): Made it a 0-arguments constructor. | |
23596 | Removed throws clasue. | |
23597 | (main): Removed throws clause. | |
23598 | Call processArgs(args) after constructing instance. | |
23599 | Call teardown() before existing. | |
23600 | (processArgs): Added javadoc. | |
23601 | Reduced to throws Exception. | |
23602 | (start): Likewise. | |
23603 | (teardown): New method. | |
23604 | (setupCommonParams): Added javadoc. | |
23605 | Install designated provider if not already installed. | |
23606 | (installNewProvider): New method. | |
23607 | (setupSigningParams): Added javadoc. | |
23608 | Instantiate the KeyStore using type only. | |
23609 | * tools/gnu/classpath/tools/jarsigner/JarSigner.java: | |
23610 | Removed unused imports. | |
23611 | (start): Reduced to throws Exception. | |
23612 | * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise. | |
23613 | * tools/gnu/classpath/tools/jarsigner/HashUtils.java: | |
23614 | Re-organized imports. | |
23615 | * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance): | |
23616 | Test ignoring case. | |
23617 | (getNames): Add "dsa" as an algorithm provided by this Factory. | |
23618 | (makeInstance): Construct IllegalArgumentException with 2 arguments. | |
23619 | ||
23620 | 2006-04-03 Roman Kennke <kennke@aicas.com> | |
23621 | ||
23622 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c | |
23623 | (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector): | |
23624 | Replaced g_free() with pango_item_free() to avoid problems | |
23625 | with the allocator. | |
23626 | ||
23627 | 2006-04-03 Rafael H. Schloming <rafaels@redhat.com> | |
23628 | ||
23629 | Fixes bug #26668 | |
23630 | * java/util/logging/Level.java (parse): Document. | |
23631 | * java/util/logging/LogManager.java (rootLogger): Removed. | |
23632 | (LogManager): Just set loggers to new HashMap. | |
23633 | (getLogManager): Make synchronized. Create and init LogManager if it | |
23634 | doesn't exist yet. | |
23635 | (static): Removed block. | |
23636 | (MANAGER_PROPERTY): New private final string. | |
23637 | (makeLogManager): Use new property string, move warning to | |
23638 | createInstance() method. | |
23639 | (CONFIG_PROPERTY): New private final string. | |
23640 | (initLogManager): New method. | |
23641 | (addLogger): Use Logger.root, not rootLogger. | |
23642 | (findAncestor): Likewise. | |
23643 | (readConfiguration): Move warning to createInstance() method. | |
23644 | Add handlers directly to Logger.root. Warn about bad level values. | |
23645 | (getClassProperty): Use new locateClass() method. | |
23646 | (getInstanceProperty): Only catch specific newInstance Errors. | |
23647 | (createInstance): Make private and takes a string to use in warning | |
23648 | messages. Use new locateClass() method and generate appropriate | |
23649 | warning message. | |
23650 | (warn): New methods. | |
23651 | (locateClass): Locates a class through the context class loader and | |
23652 | system class loader as backup. | |
23653 | * java/util/logging/Logger.java (root): New static final field. | |
23654 | (Logger): Set parent to root. | |
23655 | (setParent): Directly check root field. | |
23656 | ||
97b8365c TT |
23657 | 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org> |
23658 | ||
23659 | * java/util/Collections.java: | |
23660 | (binarySearch(List, T)): Fixed signature. | |
23661 | (unmodifiableList(List)): Likewise. | |
23662 | (UnmodifiableList(List)): Fixed constructor. | |
23663 | (UnmodifiableRandomAccessList(List)): Likewise. | |
23664 | (unmodifiableMap(Map)): Fixed signature. | |
23665 | (UnmodifiableMap(Map)): Fixed constructor. | |
23666 | (unmodifiableSortedMap(Map)): Fixed signature. | |
23667 | (UnmodifiableSortedMap(Map)): Fixed constructor. | |
23668 | ||
23669 | 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
23670 | ||
23671 | * java/io/ObjectOutputStream.java: | |
23672 | (writeObject(Object)): Added enum support. | |
23673 | (writeClassDescriptor(ObjectStreamClass)): Likewise. | |
23674 | * java/io/ObjectStreamClass.java: | |
23675 | (isEnum()): New package-private method. | |
23676 | (setFlags(Class)): Added enum support. | |
23677 | * java/io/ObjectStreamConstants.java: | |
23678 | (SC_ENUM): Added. | |
23679 | ||
4f9533c7 MW |
23680 | 2006-04-02 Robert Schuster <robertschuster@fsfe.org> |
23681 | ||
23682 | * javax/swing/text/Segment.java: | |
23683 | (setPosition): Make exception message more verbose. | |
23684 | * javax/swing/text/WrappedPlainView.java: | |
23685 | (insertUpdate): Removed unneeded repaint call. | |
23686 | (changeUpdate): Dito. | |
23687 | (removeUpdate): Dito. | |
23688 | (WrappedLine.determineNumLines): Do not return numLines, break | |
23689 | from loop if no new break point has been calculated. | |
23690 | (WrappedLine.updateDamage): Rewritten. | |
23691 | (WrappedLine.insertUpdate): Removed unneeded update code. | |
23692 | (WrappedLine.removeUpdate): Removed unneeded update code, added | |
23693 | comment. | |
23694 | ||
23695 | 2006-04-02 Dalibor Topic <robilad@kaffe.org> | |
23696 | ||
23697 | * configure.ac (with-glibj-zip): Added new option. | |
23698 | ||
23699 | * examples/Makefile.am, | |
23700 | lib/Makefile.am, | |
23701 | tools/Makefile.am: Adapted build classpath to use glibj.zip, | |
23702 | in addition to classes in lib directory. | |
23703 | ||
23704 | 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
23705 | ||
23706 | * tools/gnu/classpath/tools/giop/GRMIC.java, | |
23707 | tools/gnu/classpath/tools/giop/IorParser.java, | |
23708 | tools/gnu/classpath/tools/giop/grmic/CompilationError.java, | |
23709 | tools/gnu/classpath/tools/giop/grmic/Generator.java, | |
23710 | tools/gnu/classpath/tools/giop/grmic/GiopIo.java, | |
23711 | tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java, | |
23712 | tools/gnu/classpath/tools/giop/grmic/HashFinder.java, | |
23713 | tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java, | |
23714 | tools/gnu/classpath/tools/rmi/RMIC.java, | |
23715 | tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java, | |
23716 | tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java, | |
23717 | tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed | |
23718 | linking exception from the licensing header. | |
23719 | * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: | |
23720 | Added licensing header. | |
23721 | ||
23722 | 2006-04-02 Mark Wielaard <mark@klomp.org> | |
23723 | ||
23724 | * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh. | |
23725 | (jarsigner): Removed. | |
23726 | ||
23727 | 2006-04-02 Dalibor Topic <robilad@kaffe.org> | |
23728 | ||
23729 | * configure.ac: don't check for isnan function. | |
23730 | * native/fdlibm/fdlibm.h: Always use the isnan macro. | |
23731 | ||
23732 | 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
23733 | ||
23734 | * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES. | |
23735 | * tools/Makefile.am: Generate jarsigner shell script. | |
23736 | * tools/jarsigner.sh.in: New template. | |
23737 | * tools/.cvsignore: Added jarsigner.sh. | |
23738 | ||
23739 | 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au> | |
23740 | ||
23741 | * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL. | |
23742 | * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise. | |
23743 | * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise. | |
23744 | * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise. | |
23745 | * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise. | |
23746 | Re-organised imports. | |
23747 | ||
23748 | 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org> | |
23749 | ||
23750 | PR classpath/25924: | |
23751 | * java/awt/image/DirectColorModel.java (extractAndNormalizeSample): | |
23752 | Handle case where alpha==0. | |
23753 | ||
23754 | 2006-04-02 Robert Schuster <robertschuster@fsfe.org> | |
23755 | ||
23756 | PR #26676 | |
23757 | * javax/swing/text/Utilities.java: | |
23758 | (getTabbedTextOffset): Added check to decrement pos not below zero, | |
23759 | changed '>' comparison to '>='. | |
23760 | * javax/swing/text/WrappedPlainView.java: | |
23761 | (lineHeight): New field. | |
23762 | (calculateBreakPosition): Throw InternalError in catch block, removed | |
23763 | unneeded brackets, use specific version of | |
23764 | Utilities.getTabbedTextOffset. | |
23765 | (paint): Set various properties neccessary for drawing. | |
23766 | (WrappedLine.paint): Removed code to set field of outer class. | |
23767 | (WrappedLine.modelToView): Removed unneeded expression from | |
23768 | if-statement. | |
23769 | (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed | |
23770 | -1 from return statement, copy only a subset into the Segment, removed | |
23771 | special handling of mark value - just return it, simplified | |
23772 | incrementation of currLineStart. | |
23773 | (WrappedLine.insertUpdate): Recalculate numLines, report preference | |
23774 | change to parent view. | |
23775 | (WrappedLine.removeUpdate): Dito. | |
23776 | ||
23777 | 2006-04-02 Robert Schuster <robertschuster@fsfe.org> | |
23778 | ||
23779 | * javax/swing/text/Segment.java: | |
23780 | (toString): Return empty string when array is null. | |
23781 | ||
23782 | 2006-04-02 Robert Schuster <robertschuster@fsfe.org> | |
23783 | ||
23784 | * javax/swing/plaf/basic/BasicTextUI.java: | |
23785 | (damageRange): Use SwingUtilities.computeUnion to avoid | |
23786 | unneccessary Rectangle instantiation. | |
23787 | ||
23788 | 2006-04-01 Tom Tromey <tromey@redhat.com> | |
23789 | ||
23790 | * java/security/cert/Certificate.java (serialVersionUID): Fixed. | |
23791 | ||
23792 | 2006-04-01 Robert Schuster <robertschuster@fsfe.org> | |
23793 | ||
23794 | * javax/swing/text/CompositeView.java: Fixed copyright header. | |
23795 | * javax/swing/text/BoxView.java: Fixed copyright header. | |
23796 | * javax/swing/text/WrappedPlainView.java: Fixed copyright header. | |
23797 | * javax/swing/text/Utilities.java: Fixed copyright header. | |
23798 | ||
23799 | 2006-04-01 Robert Schuster <robertschuster@fsfe.org> | |
23800 | ||
23801 | * javax/swing/text/CompositeView.java: | |
23802 | (modelToView): Throw BadLocationException when no child | |
23803 | view can be found, restructed to throw exception as early | |
23804 | as possible. | |
23805 | (viewToModel): Use mutable allocation as argument for viewToModel | |
23806 | call on child view. | |
23807 | * javax/swing/text/BoxView.java: | |
23808 | (getViewAtPoint): Call setBounds() r before method returns with | |
23809 | suitable child view. | |
23810 | * javax/swing/text/Utilities.java: | |
23811 | (getPositionBelow): Added try-catch-block around modelToView call, | |
23812 | added method return when BadLocationException was thrown. | |
23813 | * javax/swing/text/WrappedPlainView.java: | |
23814 | (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression, | |
23815 | added note about meaning of rect.x and rect.width, removed unneeded | |
23816 | checks, added code to not return the last possible document offset. | |
23817 | ||
23818 | 2006-04-01 Robert Schuster <robertschuster@fsfe.org> | |
23819 | ||
23820 | * javax/swing/text/WrappedPlainView.java: | |
23821 | (WrappedLine.viewToModel): Change < to <= in if-statement, | |
23822 | removed addition of currLineStart to return value. | |
23823 | * javax/swing/text/BoxView.java: | |
23824 | (getViewAtPoint): Use copy instead of r for method call | |
23825 | which modifies the second argument. | |
23826 | ||
23827 | 2006-04-01 Mark Wielaard <mark@klomp.org> | |
23828 | ||
23829 | Fixes PR26973 | |
23830 | * java/util/jar/Attributes.java: Fully qualify java.util.Map. | |
23831 | ||
23832 | 2006-03-31 Tom Tromey <tromey@redhat.com> | |
23833 | ||
23834 | * lib/split-for-gcj.sh: Updated for multi-field format. | |
23835 | * lib/Makefile.am (CLEANFILES): Added classes.2. | |
23836 | * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and | |
23837 | classes.2 using multiple fields. | |
23838 | ||
23839 | 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
23840 | ||
23841 | * javax/swing/JTable.java (columnSelectionChanged): | |
23842 | Removed print statement. | |
23843 | * javax/swing/DefaultListSelectionModel.java | |
23844 | (addSelectionInterval, removeSelectionInterval): | |
23845 | Fire the difference between selection. (setLeadSelectionIndex): | |
23846 | Fire the difference and mark current and previous lead | |
23847 | selection indexes for repaint. | |
23848 | ||
23849 | 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
23850 | ||
23851 | * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate | |
23852 | unnecessary copying. | |
23853 | * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise. | |
23854 | ||
23855 | 2006-03-31 Lillian Angel <langel@redhat.com> | |
23856 | ||
23857 | * java/awt/Component.java | |
23858 | (translateEvent): oldKey should be the value of the | |
23859 | key char. | |
23860 | ||
23861 | 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
23862 | ||
23863 | * javax/swing/JTable.java (columnSelectionChanged): | |
23864 | Treat second repaint parameter as width. | |
23865 | ||
23866 | 2006-03-31 Lillian Angel <langel@redhat.com> | |
23867 | ||
23868 | PR classpath/26924 | |
23869 | * gnu/java/awt/peer/gtk/GtkCanvasPeer.java | |
23870 | (realize): New native function. | |
23871 | * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: | |
23872 | Added new function declaration. | |
23873 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c | |
23874 | (realize): New function. | |
23875 | ||
23876 | 2006-03-31 Robert Schuster <robertschuster@fsfe.org> | |
23877 | ||
23878 | * javax/swing/text/GapContent.java: | |
23879 | (replace): Move all Position instances from gap's end to | |
23880 | it's start before increasing the gap start. | |
23881 | * javax/swing/plaf/basic/BasicTextAreaUI.java: | |
23882 | (propertyChanged): Update the view only instead of | |
23883 | indicating a document change. | |
23884 | ||
23885 | 2006-03-31 Roman Kennke <kennke@aicas.com> | |
23886 | ||
23887 | * javax/swing/JTextField.java | |
23888 | (fireActionPerformed): Put the textfields text in the action | |
23889 | instead of the action name. | |
23890 | ||
23891 | 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au> | |
23892 | ||
23893 | * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams): | |
23894 | Check for null jar-file argument. | |
23895 | (setupSigningParams): Check for null alias argument. | |
23896 | ||
23897 | 2006-03-31 Roman Kennke <kennke@aicas.com> | |
23898 | ||
23899 | * javax/swing/JComponent.java | |
23900 | (paintChildren): Split up in two cases, depending on the | |
23901 | optimizedDrawingEnabled flag. | |
23902 | (paintChildrenWithOverlap): New method. Paints children when | |
23903 | not optimizedDrawingEnabled. This implements better painting | |
23904 | algorithm for overlapping components, so that the painted | |
23905 | regions are minimized. | |
23906 | (paintChildrenOptimized): New method. Paints children when | |
23907 | when optimizedDrawingEnabled. This implements a painting | |
23908 | algorithm that is optimized for the case when all children | |
23909 | are guaranteed to be tiled. | |
23910 | ||
23911 | 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au> | |
23912 | ||
23913 | * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use | |
23914 | Attributes.putValue(String,String). | |
23915 | (finishSigning): Likewise. | |
23916 | * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant. | |
23917 | (SIGNATURE_VERSION): Likewise. | |
23918 | (readSFManifest): Use local string constant. | |
23919 | (readMainSection): Likewise. | |
23920 | (readVersionInfo): Likewise. | |
23921 | * java/util/jar/Attributes.java (MANIFEST_VERSION): | |
23922 | Redefined using JarUtils constant. | |
23923 | (SIGNATURE_VERSION): Likewise. | |
23924 | (putValue(Name,String)): Made it private. | |
23925 | ||
23926 | 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
23927 | ||
23928 | * javax/swing/DefaultListSelectionModel.java (fireDifference): | |
23929 | New method. (clearSelection): Rewritten. (setSelectionInterval): | |
23930 | Fire the difference between current and new selection. | |
23931 | * javax/swing/JTable.java (columnSelectionChanged, valueChanged): | |
23932 | Only repaint the region, where selection has been changed. | |
23933 | * javax/swing/plaf/basic/BasicTableUI.java | |
23934 | (TableAction.actionPerformed): Do not change the column selection | |
23935 | when only row selection change is wanted (and in reverse) and | |
23936 | do not call the repaint() here. | |
23937 | ||
23938 | 2006-03-31 David Gilbert <david.gilbert@object-refinery.com> | |
23939 | ||
23940 | Fixes bug #26951 | |
23941 | * javax/swing/DefaultComboBoxModel.java | |
23942 | (DefaultComboBoxModel(Vector)): Call getSize() instead of | |
23943 | vector.size(), | |
23944 | (addElement): Call list.addElement() rather than list.add(), and only | |
23945 | update selected item if it is currently null, | |
23946 | (removeElementAt): Update selected item, then remove the element. | |
23947 | ||
23948 | 2006-03-31 David Gilbert <david.gilbert@object-refinery.com> | |
23949 | ||
23950 | Fixes bug #26955 | |
23951 | * java/awt/geom/Point2D.java | |
23952 | (distanceSq(double, double)): Fixed order of arguments, | |
23953 | (distanceSq(Point2D)): Likewise, | |
23954 | (distance(double, double)): Likewise, | |
23955 | (distance(Point2D)): Likewise. | |
23956 | ||
23957 | 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com> | |
23958 | ||
23959 | * javax/imageio/plugins/jpeg/JPEGQTable.java: New file. | |
23960 | * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java | |
23961 | (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths, | |
23962 | ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues, | |
23963 | DCLuminanceLengths, DCLuminanceValues): Remove fields. | |
23964 | ||
23965 | 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
23966 | ||
23967 | * javax.swing.JTable (constructor): Initialize column | |
23968 | model column margin and table row margin before setting the | |
23969 | table column model. (initialiseLocalVars): Do not call | |
23970 | setIntercellSpacing. | |
23971 | ||
23972 | 2006-03-30 Chris Burdess <dog@gnu.org> | |
23973 | ||
23974 | * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix | |
23975 | method signature. | |
23976 | * javax/xml/validation/SchemaFactoryLoader.java: New file. | |
23977 | ||
23978 | 2006-03-30 Mark Wielaard <mark@klomp.org> | |
23979 | ||
23980 | PR 26848 | |
23981 | * java/awt/Window.java (dispatchEventImpl): On ComponentEvents | |
23982 | adjust bounds. On resize invalidate and validate container. | |
23983 | Always pass on ComponentEvents to Container super class. | |
23984 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for | |
23985 | menuBar and pass to GtkWindowPeer super class. | |
23986 | (postConfigureEvent): Adjust menu bar width. Adjust y and height | |
23987 | bounds and pass to GtkWindowPeer super class. | |
23988 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height): | |
23989 | New fields for local bounds. | |
23990 | (getX, getY): New methods. | |
23991 | (getWidth): Don't call into awtComponent. | |
23992 | (getHeight): Likewise. | |
23993 | (create): Cache local bounds. | |
23994 | (setLocation): Documented, made protected and just call | |
23995 | nativeSetLocation. | |
23996 | (setLocationUnlocked): Removed unused method. | |
23997 | (setBoundsUnlocked): Likewise. | |
23998 | (setBounds): Check whether bounds actually changed and cache local | |
23999 | bounds. | |
24000 | (setSize): Documented and made protected. | |
24001 | (setResizable): Documented and cache local bounds. | |
24002 | (postConfigureEvent): Update local bounds. Don't call awtComponent | |
24003 | directly but post ComponentEvents. | |
24004 | (show): Cache local bounds. | |
24005 | (getBounds): Override to return cached bounds. | |
24006 | ||
24007 | 2006-03-30 Lillian Angel <langel@redhat.com> | |
24008 | ||
24009 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
24010 | (drawImage): Added check to prevent NPE. | |
24011 | (drawImage): Likewise. | |
24012 | (drawImage): Likewise. | |
24013 | * java/awt/Choice.java | |
24014 | (dispatchEventImpl): New function. selectedIndex was | |
24015 | not being updated properly otherwise. | |
24016 | ||
24017 | 2006-03-30 Roman Kennke <kennke@aicas.com> | |
24018 | ||
24019 | * javax/swing/JTabbedPane.java | |
24020 | (removeTabAt): Removed debug code. | |
24021 | ||
24022 | 2006-03-30 Roman Kennke <kennke@aicas.com> | |
24023 | ||
24024 | PR 26045 | |
24025 | * javax/swing/plaf/basic/BasicTextUI.java | |
24026 | (installKeyboardActions): Simply call getKeymap() and install this. | |
24027 | (createKeymap): Reimplemented to fetch a keymap from the UIManager. | |
24028 | ||
24029 | 2006-03-30 Roman Kennke <kennke@aicas.com> | |
24030 | ||
24031 | * javax/swing/JTabbedPane.java | |
24032 | (removeTabAt): Adjust selection correctly when removing a tab | |
24033 | before the selected tab. Also remove the component from the | |
24034 | container, not only the tab object. Repaint and revalidate the | |
24035 | component after the removal. | |
24036 | (removeAll): Set selection to -1 before removing the tabs. | |
24037 | ||
97b8365c TT |
24038 | 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org> |
24039 | ||
24040 | * java/io/ObjectInputStream.java: | |
24041 | (parseContent(byte)): Added enum support. | |
24042 | * java/io/ObjectStreamConstants.java: | |
24043 | (TC_ENUM): Added. | |
24044 | (TC_MAX): Changed to new maximum, TC_ENUM. | |
24045 | ||
4f9533c7 MW |
24046 | 2006-03-29 Lillian Angel <langel@redhat.com> |
24047 | ||
24048 | Partial fix for bug #26929 | |
24049 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java | |
24050 | (updateComponent): Removed. We want to clear the panel | |
24051 | before painting. | |
24052 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c | |
24053 | (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo. | |
24054 | Should set the background to the saved background color. | |
24055 | ||
24056 | 2006-03-29 Mark Wielaard <mark@klomp.org> | |
24057 | ||
24058 | Partial fix for bug #26848 (pack). | |
24059 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible): | |
24060 | Always show instances of Window. | |
24061 | ||
24062 | 2006-03-29 David Gilbert <david.gilbert@object-refinery.com> | |
24063 | ||
24064 | * javax/swing/JSlider.java | |
24065 | (setPaintLabels): Only create standard labels if labelTable is null, | |
24066 | * javax/swing/plaf/basic/BasicSliderUI.java | |
24067 | (PropertyChangeHandler.propertyChange): Recalculate geometry for | |
24068 | "paintTicks" property change, | |
24069 | (calculateThumbSize): Updated API docs, | |
24070 | (calculateContentRect): Likewise, | |
24071 | (calculateTrackBuffer): Take into account the lowest and highest | |
24072 | labels when calculating buffer space, | |
24073 | (calculateTrackRect): Include labels, if visible, in the calculation of | |
24074 | the trackRect position, | |
24075 | (calculateTickRect): Height is zero if ticks are not painted, | |
24076 | (calculateLabelRect): Use max dimensions of actual labels, | |
24077 | (getWidthOfHighValueLabel): Use preferred size, | |
24078 | (getWidthOfLowValueLabel): Likewise, | |
24079 | (getHeightOfHighValueLabel): Likewise, | |
24080 | (getHeightOfLowValueLabel): Likewise, | |
24081 | (drawInverted): Just return slider setting, | |
24082 | (getHighestValueLabel): Updated API docs, | |
24083 | (paintTicks): Removed redundant (and buggy) code, replaced with calls | |
24084 | to xPositionForValue() and yPositionForValue(), | |
24085 | (paintHorizontalLabel): Removed full qualification of class name, | |
24086 | (paintVerticalLabel): Likewise, | |
24087 | (xPositionForValue): Reimplemented, | |
24088 | (yPositionForValue): Reimplemented, | |
24089 | * javax/swing/plaf/metal/MetalSliderUI.java | |
24090 | (paintTrack): Made track one pixel longer. | |
24091 | ||
24092 | 2006-03-29 Tom Tromey <tromey@redhat.com> | |
24093 | ||
24094 | PR gcc/26901: | |
24095 | * tools/Makefile.am (JCOMPILER): Added encoding options. | |
24096 | * examples/Makefile.am (JCOMPILER): Added encoding options. | |
24097 | ||
24098 | 2006-03-29 Gary Benson <gbenson@redhat.com> | |
24099 | ||
24100 | Partial fix for PR classpath/24895 | |
24101 | * java/io/FilePermission.java (implies): Canonicalize paths. | |
24102 | ||
24103 | 2006-03-29 Robert Schuster <robertschuster@fsfe.org> | |
24104 | ||
24105 | PR 26888 | |
24106 | * javax/swing/text/GapContent.java: | |
24107 | (replace): Added call to resetMarksAtZero. | |
24108 | ||
24109 | 2006-03-29 Roman Kennke <kennke@aicas.com> | |
24110 | ||
24111 | PR 23527 | |
24112 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
24113 | (cachedRect): New field. | |
24114 | (BasicMenuItemUI): Initialize cachedRect field. | |
24115 | (getPreferredMenuItemSize): Use layoutMenuItem() helper method | |
24116 | to determine layout. Store maximum accelerator and text width | |
24117 | in client properties of parent to allow correct alignment | |
24118 | of accelerators among menu items of one menu. | |
24119 | (paintMenuItem): Outsourced menu item layout into layoutMenuItem | |
24120 | method. Align accelerators according to the values calculated | |
24121 | in getPreferredMenuItemSize. | |
24122 | (getAcceleratorString) New helper method. | |
24123 | (layoutMenuItem): New helper method. | |
24124 | ||
24125 | 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
24126 | ||
24127 | * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten. | |
24128 | * gnu/java/rmi/activation/BidiTable.java: Rewritten. | |
24129 | * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases): | |
24130 | Avoid NPEs. | |
24131 | * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, | |
24132 | readExternal, writeExternal): New methods. | |
24133 | * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into | |
24134 | two stages, invokeCommon(Remote, ...) and | |
24135 | invokeCommen(UnicastConnection, ...). | |
24136 | * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect | |
24137 | also the ActivatableRef. toString(): Documented. | |
24138 | * gnu/java/rmi/server/ActivatableRef.java, | |
24139 | tools/gnu/classpath/tools/rmi/Persistent.java, | |
24140 | tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java, | |
24141 | tools/gnu/classpath/tools/rmi/PersistentHashTable.java, | |
24142 | tools/gnu/classpath/tools/rmi/REGISTRY.java, | |
24143 | tools/gnu/classpath/tools/rmi/REGISTRY.txt, | |
24144 | tools/gnu/classpath/tools/rmi/RMID.java, | |
24145 | tools/gnu/classpath/tools/rmi/RMID.txt, | |
24146 | tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java, | |
24147 | tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java, | |
24148 | tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java, | |
24149 | tools/gnu/classpath/tools/rmi/registry/package.html, | |
24150 | tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java, | |
24151 | tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: | |
24152 | New files. | |
24153 | * tools/README: Documented. | |
24154 | * NEWS: Added entry about the activation. | |
24155 | ||
24156 | 2006-03-29 Roman Kennke <kennke@aicas.com> | |
24157 | ||
24158 | PR 23527 | |
24159 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
24160 | (viewRect): New field. | |
24161 | (textRect): New field. | |
24162 | (accelRect): New field. | |
24163 | (iconRect): New field. | |
24164 | (arrowIconRect): New field. | |
24165 | (checkIconRect): New field. | |
24166 | (BasicMenuItemUI): Initialize new fields. | |
24167 | (paintMenuItem): Rewritten to correctly layout and paint | |
24168 | the menu item in a more straightforward way. Use cached rectangle | |
24169 | objects for layout. | |
24170 | (paintAccelerator): Pulled inside the paintMenuItem method. | |
24171 | ||
24172 | 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
24173 | ||
24174 | * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav: | |
24175 | Do not use initCause with UnexpectedException. | |
24176 | * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: | |
24177 | Likewise. | |
24178 | ||
24179 | 2006-03-29 Mark Wielaard <mark@klomp.org> | |
24180 | ||
24181 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
24182 | (setCursorID): Removed unused static variable. | |
24183 | ||
24184 | 2006-03-29 David Gilbert <david.gilbert@object-refinery.com> | |
24185 | ||
24186 | * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted. | |
24187 | ||
24188 | 2006-03-29 Mark Wielaard <mark@klomp.org> | |
24189 | ||
24190 | Fixes bug #26527 | |
24191 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
24192 | (gtkWidgetSetCursorUnlocked): Call gdk_flush(). | |
24193 | ||
24194 | 2006-03-28 Roman Kennke <kennke@aicas.com> | |
24195 | ||
24196 | * javax/swing/UIManager.java | |
24197 | (installLookAndFeel): Implemented. | |
24198 | (setInstalledLookAndFeels): Implemented. | |
24199 | ||
24200 | 2006-03-28 Roman Kennke <kennke@aicas.com> | |
24201 | ||
24202 | * javax/swing/plaf/metal/MetalButtonUI.java | |
24203 | (update): Paint gradient only when the background color | |
24204 | is not a UIResource and if the button is neither armed nor | |
24205 | pressed and if the button is contentAreaFilled. | |
24206 | ||
24207 | 2006-03-28 Roman Kennke <kennke@aicas.com> | |
24208 | ||
24209 | * javax/swing/JLayeredPane.java | |
24210 | (addImpl): Repaint added component. | |
24211 | ||
24212 | 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
24213 | ||
24214 | * java/util/regex/Matcher.java: Reverted. | |
24215 | ||
24216 | 2006-03-28 Roman Kennke <kennke@aicas.com> | |
24217 | ||
24218 | * javax/swing/text/AsyncBoxView.java | |
24219 | (setEstimatedMajorSpan): Made method protected. | |
24220 | (getEstimatedMajorSpan): Made method protected. | |
24221 | * javax/swing/text/BoxView.java | |
24222 | (flipEastAndWestAtEnds): Fixed typo. | |
24223 | * javax/swing/text/InternationalFormatter.java | |
24224 | (getActions): Made method protected. | |
24225 | * javax/swing/text/Position.java | |
24226 | (Bias): Made class final. | |
24227 | * javax/swing/text/html/HTML.java | |
24228 | (MEDIA): Made field package private. Not specified. | |
24229 | (NOBR): Made field package private. Not specified. | |
24230 | * javax/swing/text/html/NullView.java | |
24231 | Made class package private. | |
24232 | * javax/swing/text/html/parser/Entity.java | |
24233 | Made class non-serializable as specified. | |
24234 | ||
24235 | 2006-03-28 Roman Kennke <kennke@aicas.com> | |
24236 | ||
24237 | * javax/swing/plaf/metal/MetalButtonUI.java | |
24238 | (update): Don't paint gradient if the background color is | |
24239 | no UIResource. Removed double getModel() call. Don't check for | |
24240 | OceanTheme. | |
24241 | ||
24242 | 2006-03-28 Roman Kennke <kennke@aicas.com> | |
24243 | ||
24244 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
24245 | (paint): Call paintMenuItem with the selectionBackground as | |
24246 | parameter. | |
24247 | (paintBackground): Fixed the condition and color for the background | |
24248 | painting. | |
24249 | ||
24250 | 2006-03-28 Roman Kennke <kennke@aicas.com> | |
24251 | ||
24252 | * javax/swing/plaf/metal/MetalTabbedPaneUI.java | |
24253 | (tabsOpaque): New field. | |
24254 | (paintLeftTabBorder): Paint some parts only when the tabs are | |
24255 | opaque. Determine the tab background using the paintLeftTabBorder() | |
24256 | helper method. | |
24257 | (paintRightTabBorder): Likewise. | |
24258 | (installDefaults): Fetch tabsOpaque property from the UIDefaults. | |
24259 | ||
97b8365c TT |
24260 | 2006-03-27 Tom Tromey <tromey@redhat.com> |
24261 | ||
24262 | PR classpath/25189: | |
24263 | * java/lang/Enum.java (valueOf): Ensure that the named field | |
24264 | is an enum constant. | |
24265 | (compareTo): Check class of enum. | |
24266 | ||
24267 | 2006-03-27 Tom Tromey <tromey@redhat.com> | |
24268 | ||
24269 | * java/lang/reflect/ParameterizedType.java: Javadoc fix. | |
24270 | ||
24271 | 2006-03-27 Tom Tromey <tromey@redhat.com> | |
24272 | ||
24273 | * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS): | |
24274 | New constant. | |
24275 | (getModifiersInternal): Renamed from getModifiers. | |
24276 | (getModifiers): New method. | |
24277 | (isBridge): Likewise. | |
24278 | (isSynthetic): Likewise. | |
24279 | (isVarArgs): Likewise. | |
24280 | * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS): | |
24281 | New constant. | |
24282 | (getModifiersInternal): Renamed from getModifiers. | |
24283 | (getModifiers): New method. | |
24284 | (isSynthetic): Likewise. | |
24285 | (isEnumConstant): Likewise. | |
24286 | * vm/reference/java/lang/reflect/Constructor.java | |
24287 | (getModifiersInternal): Renamed from getModifiers. | |
24288 | (getModifiers): New method | |
24289 | (CONSTRUCTOR_MODIFIERS): New constant. | |
24290 | (isSynthetic): New method. | |
24291 | (isVarArgs): Likewise. | |
24292 | * java/lang/reflect/Member.java (isSynthetic): New method. | |
24293 | ||
24294 | 2006-03-28 Tom Tromey <tromey@redhat.com> | |
24295 | ||
24296 | * java/net/Proxy.java (TYPE): Added missing ";". | |
24297 | ||
4f9533c7 MW |
24298 | 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org> |
24299 | ||
97b8365c TT |
24300 | * java/math/RoundingMode.java: |
24301 | Fixed serialization UID. | |
24302 | * java/net/Proxy.java: | |
24303 | (Type): Likewise. | |
4f9533c7 MW |
24304 | |
24305 | 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
24306 | ||
24307 | * java/io/CharArrayWriter.java: | |
24308 | (append(char)): Documented. | |
24309 | (append(CharSequence)): Likewise. | |
24310 | (append(CharSequence,int,int)): Likewise. | |
97b8365c TT |
24311 | |
24312 | 2006-03-27 Jeroen Frijters <jeroen@frijters.net> | |
24313 | ||
24314 | * vm/reference/java/lang/reflect/Constructor.java | |
24315 | (getTypeParameters): Check return value of getSignature for null. | |
24316 | * vm/reference/java/lang/reflect/Method.java | |
24317 | (getTypeParameters): Check return value of getSignature for null. | |
4f9533c7 | 24318 | |
97b8365c TT |
24319 | 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org> |
24320 | ||
24321 | * java/rmi/activation/ActivationGroup_Stub.java: | |
24322 | Made final. | |
24323 | ||
4f9533c7 MW |
24324 | 2006-03-27 Tom Tromey <tromey@redhat.com> |
24325 | ||
24326 | * java/io/CharArrayWriter.java (append): New overloads. | |
24327 | ||
24328 | 2006-03-27 Lillian Angel <langel@redhat.com> | |
24329 | ||
24330 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c | |
24331 | (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose): | |
24332 | Added check for colormap. Prevents assertion error. | |
24333 | (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor): | |
24334 | Likewise. | |
24335 | (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState): | |
24336 | Likewise. | |
24337 | (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II): | |
24338 | Likewise. | |
24339 | (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage): | |
24340 | Likewise. | |
24341 | (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked): | |
24342 | Likewise. | |
24343 | ||
24344 | 2006-03-27 Dalibor Topic <robilad@kaffe.org> | |
24345 | ||
24346 | * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use | |
24347 | AC_MSG_ERROR instead of echoing the error message | |
24348 | that no compiler has been found manually. | |
24349 | ||
24350 | 2006-03-27 Roman Kennke <kennke@aicas.com> | |
24351 | ||
24352 | * javax/swing/RepaintManager.java | |
24353 | (commitBuffer): Use simple drawImage() method instead of the | |
24354 | scaling version. | |
24355 | ||
24356 | 2006-03-27 Robert Schuster <robertschuster@fsfe.org> | |
24357 | ||
24358 | * javax/swing/text/PlainView.java: | |
24359 | (drawLine): Use 'endOffset' instead of 'selectionEnd' | |
24360 | for painting the selected line. | |
24361 | ||
24362 | 2006-03-27 David Gilbert <david.gilbert@object-refinery.com> | |
24363 | ||
24364 | * javax/swing/plaf/basic/BasicSliderUI.java | |
24365 | (getThumbSize): Removed TODO and updated API docs. | |
24366 | ||
24367 | 2006-03-27 Robert Schuster <robertschuster@fsfe.org> | |
24368 | ||
24369 | * javax/swing/text/DefaultCaret.java: | |
24370 | (mouseClicked): Word selection rewritten. | |
24371 | (paint): Draw line inside the bounding rectangle. | |
24372 | (damage): Retrieve caret height from line height. | |
24373 | ||
24374 | 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au> | |
24375 | ||
24376 | * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check | |
24377 | for null args. | |
24378 | Check for -help option. | |
24379 | * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option. | |
24380 | ||
24381 | 2006-03-27 Roman Kennke <kennke@aicas.com> | |
24382 | ||
24383 | * javax/swing/text/FieldView.java | |
24384 | (getPreferredSpan): Don't include trailing newline in | |
24385 | calculations. | |
24386 | * javax/swing/text/PlainView.java | |
24387 | (drawLine): Don't include trailing newline. | |
24388 | (determineMaxLineLength): Don't include trailing newline. | |
24389 | (getLineBuffer): Made method final. | |
24390 | ||
24391 | 2006-03-27 David Gilbert <david.gilbert@object-refinery.com> | |
24392 | ||
24393 | * javax/swing/JSlider.java | |
24394 | (AccessibleJSlider.AccessibleJSlider): Minor API doc edit, | |
24395 | (AccessibleJSlider.getAccessibleRole): Removed declaration of | |
24396 | NotImplementedException, | |
24397 | (AccessibleJSlider.getAccessibleValue): Updated API docs. | |
24398 | ||
97b8365c TT |
24399 | 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org> |
24400 | ||
24401 | * java/lang/ProcessBuilder.java: | |
24402 | Made final. | |
24403 | ||
24404 | 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
4f9533c7 | 24405 | |
97b8365c TT |
24406 | * gnu/java/net/protocol/http/Headers.java: |
24407 | Match layout of file on HEAD. | |
24408 | * gnu/javax/swing/text/html/parser/htmlValidator.java: | |
24409 | Likewise. | |
24410 | * java/awt/datatransfer/DataFlavor.java | |
24411 | Likewise. | |
4f9533c7 MW |
24412 | |
24413 | 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
24414 | ||
24415 | * gnu/java/security/jce/hash/HavalSpi.java, | |
24416 | * gnu/java/security/jce/hash/MD2Spi.java, | |
24417 | * gnu/java/security/jce/hash/MD4Spi.java, | |
24418 | * gnu/java/security/jce/hash/MD5Spi.java, | |
24419 | * gnu/java/security/jce/hash/MessageDigestAdapter.java, | |
24420 | * gnu/java/security/jce/hash/RipeMD128Spi.java, | |
24421 | * gnu/java/security/jce/hash/RipeMD160Spi.java, | |
24422 | * gnu/java/security/jce/hash/Sha160Spi.java, | |
24423 | * gnu/java/security/jce/hash/Sha256Spi.java, | |
24424 | * gnu/java/security/jce/hash/Sha384Spi.java, | |
24425 | * gnu/java/security/jce/hash/Sha512Spi.java, | |
24426 | * gnu/java/security/jce/hash/TigerSpi.java, | |
24427 | * gnu/java/security/jce/hash/WhirlpoolSpi.java, | |
24428 | * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java, | |
24429 | * gnu/java/security/jce/sig/DSSRawSignatureSpi.java, | |
24430 | * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java, | |
24431 | * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java, | |
24432 | * gnu/java/security/jce/sig/SignatureAdapter.java, | |
24433 | * gnu/java/security/key/IKeyPairCodec.java, | |
24434 | * gnu/java/security/key/IKeyPairGenerator.java, | |
24435 | * gnu/java/security/key/KeyPairGeneratorFactory.java, | |
24436 | * gnu/java/security/key/dss/DSSKey.java, | |
24437 | * gnu/java/security/key/dss/DSSKeyPairRawCodec.java, | |
24438 | * gnu/java/security/key/dss/DSSPrivateKey.java, | |
24439 | * gnu/java/security/key/dss/DSSPublicKey.java, | |
24440 | * gnu/java/security/key/dss/FIPS186.java, | |
24441 | * gnu/java/security/key/rsa/GnuRSAKey.java, | |
24442 | * gnu/java/security/key/rsa/GnuRSAPrivateKey.java, | |
24443 | * gnu/java/security/key/rsa/GnuRSAPublicKey.java, | |
24444 | * gnu/java/security/sig/ISignature.java, | |
24445 | * gnu/java/security/sig/ISignatureCodec.java, | |
24446 | * gnu/java/security/sig/dss/DSSSignature.java, | |
24447 | * gnu/java/security/sig/dss/DSSSignatureRawCodec.java, | |
24448 | * gnu/java/security/sig/rsa/RSAPSSSignature.java, | |
24449 | * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java, | |
24450 | * gnu/java/security/util/Util.java: | |
24451 | Remove CVS revision tags. | |
24452 | ||
24453 | 2006-03-26 Tom Tromey <tromey@redhat.com> | |
24454 | ||
24455 | * java/io/InputStream.java (InputStream): Implements Closeable. | |
24456 | ||
24457 | 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
24458 | ||
24459 | * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor): | |
24460 | New methods. | |
24461 | * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch, | |
24462 | getAnchor): New methods. | |
24463 | * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch, | |
24464 | getAnchor): New methods. | |
24465 | * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch, | |
24466 | getAnchor): New methods. | |
24467 | * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch, | |
24468 | getAnchor): New methods. | |
24469 | * gnu/regexp/REMatch.java(start1): New field. | |
24470 | * gnu/regexp/RE.java(initialize): Added support for \z and \G, | |
24471 | (match): set the starting position to start1[] instead of start[], | |
24472 | (getMatchImpl): Set the found REMatch to the input, | |
24473 | (makeCharIndexed): Made public. | |
24474 | * gnu/regexp/RETokenEndOfPreviousMatch.java: New file. | |
24475 | * gnu/regexp/RETokenEndSub.java(matchThis, findMatch): | |
24476 | set the value of start[] copying from start1[]. | |
24477 | * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of | |
24478 | offset. | |
24479 | * java/util/regex/Matcher.java(inputCharIndexed): New field | |
24480 | to be used as a parameter of the RE#getMatch. | |
24481 | ||
24482 | 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
24483 | ||
24484 | * gnu/java/rmi/activation/DefaultActivationGroup.java: | |
24485 | Documented the default jre spawning strategy (none). | |
24486 | * java/rmi/activation/ActivationGroup.java (currentGroupId, | |
24487 | getSystem): Obtain the acticivation system from the | |
24488 | DefaultActivationSystem. | |
24489 | ||
24490 | 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au> | |
24491 | ||
24492 | * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams): | |
24493 | Ask user for keystore password if one was not provided. | |
24494 | ||
24495 | 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au> | |
24496 | ||
24497 | * tools/README: Added Security tools section. | |
24498 | Documented the jarsigner tool. | |
24499 | ||
24500 | 2006-03-25 David Gilbert <david.gilbert@object-refinery.com> | |
24501 | ||
24502 | * javax/swing/JScrollBar.java | |
24503 | (AccessibleJScrollBar.getAccessibleStateSet): Implemented, | |
24504 | (AccessibleJScrollBar.getAccessibleRole): Likewise, | |
24505 | (AccessibleJScrollBar.getAccessibleValue): Likewise, | |
24506 | (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise, | |
24507 | (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise, | |
24508 | (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise, | |
24509 | (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise, | |
24510 | (getAccessibleContext): Updated API docs. | |
24511 | ||
24512 | 2006-03-25 Tom Tromey <tromey@redhat.com> | |
24513 | ||
24514 | * .externalToolBuilders/CreateLocaleData.launch: Run if resource files | |
24515 | change or if generator script changes. | |
24516 | ||
24517 | 2006-03-25 Tom Tromey <tromey@redhat.com> | |
24518 | ||
24519 | * javax/naming/ldap/StartTlsRequest.java: New file. | |
24520 | * javax/naming/ldap/StartTlsResponse.java: New file. | |
24521 | ||
24522 | 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com> | |
24523 | ||
24524 | * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test | |
24525 | to validate all components of a resource path. | |
24526 | (FileURLLoader.walkPathComponents): Helper which ensures that we are | |
24527 | allowed to walk through every component of a resource path. | |
24528 | ||
24529 | 2006-03-25 Michael Koch <konqueror@gmx.de> | |
24530 | ||
24531 | * NEWS: Added item for CLDR 1.3 update. | |
24532 | ||
24533 | 2006-03-25 Michael Koch <konqueror@gmx.de> | |
24534 | ||
24535 | * resource/gnu/java/locale/LocaleInformation_ar_IN.properties, | |
24536 | resource/gnu/java/locale/LocaleInformation_ar_IQ.properties, | |
24537 | resource/gnu/java/locale/LocaleInformation_ar_KW.properties, | |
24538 | resource/gnu/java/locale/LocaleInformation_ar_LY.properties, | |
24539 | resource/gnu/java/locale/LocaleInformation_mn_MN.properties, | |
24540 | resource/gnu/java/locale/LocaleInformation_uz_AF.properties: | |
24541 | Removed locales. | |
24542 | ||
24543 | 2006-03-25 Michael Koch <konqueror@gmx.de> | |
24544 | ||
24545 | * resource/gnu/java/locale/LocaleInformation_az.properties, | |
24546 | resource/gnu/java/locale/LocaleInformation_bs.properties, | |
24547 | resource/gnu/java/locale/LocaleInformation_byn.properties, | |
24548 | resource/gnu/java/locale/LocaleInformation_byn_ER.properties, | |
24549 | resource/gnu/java/locale/LocaleInformation_el_CY.properties, | |
24550 | resource/gnu/java/locale/LocaleInformation_gez.properties, | |
24551 | resource/gnu/java/locale/LocaleInformation_gez_ER.properties, | |
24552 | resource/gnu/java/locale/LocaleInformation_gez_ET.properties, | |
24553 | resource/gnu/java/locale/LocaleInformation_haw.properties, | |
24554 | resource/gnu/java/locale/LocaleInformation_haw_US.properties, | |
24555 | resource/gnu/java/locale/LocaleInformation_kok.properties, | |
24556 | resource/gnu/java/locale/LocaleInformation_kok_IN.properties, | |
24557 | resource/gnu/java/locale/LocaleInformation_sid.properties, | |
24558 | resource/gnu/java/locale/LocaleInformation_sid_ET.properties, | |
24559 | resource/gnu/java/locale/LocaleInformation_sl_SI.properties, | |
24560 | resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties, | |
24561 | resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties, | |
24562 | resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties, | |
24563 | resource/gnu/java/locale/LocaleInformation_syr.properties, | |
24564 | resource/gnu/java/locale/LocaleInformation_syr_SY.properties, | |
24565 | resource/gnu/java/locale/LocaleInformation_tig.properties, | |
24566 | resource/gnu/java/locale/LocaleInformation_tig_ER.properties, | |
24567 | resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties, | |
24568 | resource/gnu/java/locale/LocaleInformation_uz_Arab.properties, | |
24569 | resource/gnu/java/locale/LocaleInformation_uz_Latn.properties, | |
24570 | resource/gnu/java/locale/LocaleInformation_wal.properties, | |
24571 | resource/gnu/java/locale/LocaleInformation_wal_ET.properties: | |
24572 | New locales. | |
24573 | ||
24574 | 2006-03-25 Michael Koch <konqueror@gmx.de> | |
24575 | ||
24576 | * resource/gnu/java/locale/LocaleInformation_fa.properties, | |
24577 | resource/gnu/java/locale/LocaleInformation_kn.properties, | |
24578 | resource/gnu/java/locale/LocaleInformation_kn_IN.properties, | |
24579 | resource/gnu/java/locale/LocaleInformation_ko.properties, | |
24580 | resource/gnu/java/locale/LocaleInformation_sl.properties, | |
24581 | resource/gnu/java/locale/LocaleInformation_so.properties, | |
24582 | resource/gnu/java/locale/LocaleInformation_so_DJ.properties, | |
24583 | resource/gnu/java/locale/LocaleInformation_so_ET.properties, | |
24584 | resource/gnu/java/locale/LocaleInformation_so_SO.properties, | |
24585 | resource/gnu/java/locale/LocaleInformation_sr.properties: | |
24586 | Random fixes I forgot to commit before. | |
24587 | ||
24588 | 2006-03-25 Michael Koch <konqueror@gmx.de> | |
24589 | ||
24590 | * resource/gnu/java/locale/LocaleInformation_ar_JO.properties, | |
24591 | resource/gnu/java/locale/LocaleInformation_ar_QA.properties, | |
24592 | resource/gnu/java/locale/LocaleInformation_ar_SA.properties, | |
24593 | resource/gnu/java/locale/LocaleInformation_ar_SY.properties, | |
24594 | resource/gnu/java/locale/LocaleInformation_ar_TN.properties, | |
24595 | resource/gnu/java/locale/LocaleInformation_ar_YE.properties, | |
24596 | resource/gnu/java/locale/LocaleInformation_as_IN.properties, | |
24597 | resource/gnu/java/locale/LocaleInformation_be_BY.properties, | |
24598 | resource/gnu/java/locale/LocaleInformation_bn_IN.properties, | |
24599 | resource/gnu/java/locale/LocaleInformation_en.properties, | |
24600 | resource/gnu/java/locale/LocaleInformation_en_IN.properties, | |
24601 | resource/gnu/java/locale/LocaleInformation_en_PK.properties, | |
24602 | resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties, | |
24603 | resource/gnu/java/locale/LocaleInformation_es_PY.properties, | |
24604 | resource/gnu/java/locale/LocaleInformation_fa.properties, | |
24605 | resource/gnu/java/locale/LocaleInformation_fa_AF.properties, | |
24606 | resource/gnu/java/locale/LocaleInformation_fa_IR.properties, | |
24607 | resource/gnu/java/locale/LocaleInformation_gu_IN.properties, | |
24608 | resource/gnu/java/locale/LocaleInformation_hi_IN.properties, | |
24609 | resource/gnu/java/locale/LocaleInformation_ja_JP.properties, | |
24610 | resource/gnu/java/locale/LocaleInformation_kn_IN.properties, | |
24611 | resource/gnu/java/locale/LocaleInformation_mr_IN.properties, | |
24612 | resource/gnu/java/locale/LocaleInformation_or_IN.properties, | |
24613 | resource/gnu/java/locale/LocaleInformation_pa.properties, | |
24614 | resource/gnu/java/locale/LocaleInformation_pa_IN.properties, | |
24615 | resource/gnu/java/locale/LocaleInformation_ps_AF.properties, | |
24616 | resource/gnu/java/locale/LocaleInformation_ru_RU.properties, | |
24617 | resource/gnu/java/locale/LocaleInformation_sa.properties, | |
24618 | resource/gnu/java/locale/LocaleInformation_sa_IN.properties, | |
24619 | resource/gnu/java/locale/LocaleInformation_ta_IN.properties, | |
24620 | resource/gnu/java/locale/LocaleInformation_te_IN.properties: | |
24621 | Updated currency formats. | |
24622 | ||
24623 | 2006-03-25 Roman Kennke <kennke@aicas.com> | |
24624 | ||
24625 | * javax/swing/text/AbstractDocument.java | |
24626 | (getAttributeContext): Made method final. | |
24627 | (getCurrentWriter): Likewise. | |
24628 | (getEndPosition): Likewise. | |
24629 | (getProperty): Likewise. | |
24630 | (getStartPosition): Likewise. | |
24631 | (putProperty): Likewise. | |
24632 | (readLock): Likewise. | |
24633 | (readUnlock): Likewise. | |
24634 | (writeLock): Likewise. | |
24635 | (writeUnlock): Likewise. | |
24636 | ||
24637 | 2006-03-25 Roman Kennke <kennke@aicas.com> | |
24638 | ||
24639 | * javax/swing/InputMap.java | |
24640 | (allKeys): Check if parent keys is null. | |
24641 | * javax/swing/KeyboardManager.java | |
24642 | (registerEntireMap): Also register map's parent keys. | |
24643 | * javax/swing/plaf/metal/MetalRootPaneUI.java | |
24644 | (propertyChange): Also call super.propertyChange(). | |
24645 | ||
24646 | 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au> | |
24647 | ||
24648 | * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file. | |
24649 | * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise. | |
24650 | * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise. | |
24651 | * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise. | |
24652 | * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise. | |
24653 | * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise. | |
24654 | ||
24655 | 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au> | |
24656 | ||
24657 | * gnu/java/util/jar/JarUtils.java: New file. | |
24658 | * java/util/jar/Manifest.java (CRLF): Removed. | |
24659 | (read_main_section): Likewise. | |
24660 | (read_version_info): Likewise. | |
24661 | (expect_header(String,BufferedReader)): Likewise. | |
24662 | (expect_header(String,BufferedReader,String)): Likewise. | |
24663 | (read_header_value): Likewise. | |
24664 | (read_attributes): Likewise. | |
24665 | (read_attribute): Likewise. | |
24666 | (read_individual_sections): Likewise. | |
24667 | (read_section_name): Likewise. | |
24668 | (write_main_section): Likewise. | |
24669 | (write_version_info): Likewise. | |
24670 | (write_header): Likewise. | |
24671 | (write_main_attributes): Likewise. | |
24672 | (write_attribute_entry): Likewise. | |
24673 | (write_individual_sections): Likewise. | |
24674 | (write_entry_attributes): Likewise. | |
24675 | (read): use JarUtils. | |
24676 | (write): Likewise. | |
24677 | ||
24678 | 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au> | |
24679 | ||
24680 | * gnu/java/security/pkcs/SignerInfo.java (log): New field. | |
24681 | (DEBUG): Removed. | |
24682 | (debug): Likewise. | |
24683 | (SignerInfo(BERReader)): Updated javadoc. | |
24684 | Use JDK logging. | |
24685 | (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])): | |
24686 | New constructor. | |
24687 | (encode): New method. | |
24688 | * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field. | |
24689 | (PKCS7_DATA): Removed. | |
24690 | (DEBUG): Likewise. | |
24691 | (debug): Likewise. | |
24692 | (PKCS7SignedData(BERReader)): Updated javadoc. | |
24693 | Use JDK logging. | |
24694 | (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New | |
24695 | constructor. | |
24696 | (encode): New method. | |
24697 | * gnu/java/security/pkcs/PKCS7Data.java: New file. | |
24698 | * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field. | |
24699 | (encodePrivateKey): Encode x (private MPN) as an OCTET STRING. | |
24700 | (decodePrivateKey): Decode x from an OCTET STRING. | |
24701 | * gnu/java/security/key/dss/DSSPublicKey.java (str): New field. | |
24702 | (toString): New method. | |
24703 | * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field. | |
24704 | (str): Likewise. | |
24705 | (toString): New method. | |
24706 | * gnu/java/security/key/dss/DSSKey.java (str): New Field. | |
24707 | (toString): New method. | |
24708 | * gnu/java/security/provider/DSAParameterGenerator.java: Removed. | |
24709 | ||
24710 | 2006-03-25 Roman Kennke <kennke@aicas.com> | |
24711 | ||
24712 | * java/util/GregorianCalender.java | |
24713 | (computeTime): Fix comparison to correctly calculate the | |
24714 | calendar. | |
24715 | ||
24716 | 2006-03-25 Wolfgang Baer <WBaer@gmx.de> | |
24717 | ||
24718 | Fixes bug #26837 | |
24719 | * java/awt/Window.java: | |
24720 | (setFocusCycleRoot): New overriden method. | |
24721 | (isFocusCycleRoot): Likewise. | |
24722 | (getFocusCycleRootAncestor): Likewise. | |
24723 | * java/awt/Container.java: | |
24724 | (getFocusTraversalPolicy): Check also for anchestor == null. | |
24725 | ||
24726 | 2006-03-25 Mark Wielaard <mark@klomp.org> | |
24727 | ||
24728 | Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net> | |
24729 | * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately | |
24730 | close root tag. | |
24731 | ||
24732 | 2006-03-24 Tom Tromey <tromey@redhat.com> | |
24733 | ||
24734 | * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes): | |
24735 | Rewrote. | |
24736 | (writeChar): Removed useless cast. | |
24737 | (writeChars(String)): Implemented. | |
24738 | (writeDouble): Rewrote. | |
24739 | (writeFloat): Likewise. | |
24740 | (writeUTF): Implemented. | |
24741 | * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default | |
24742 | to big endian. | |
24743 | ||
24744 | 2006-03-24 Roman Kennke <kennke@aicas.com> | |
24745 | ||
24746 | * javax/swing/JButton.java | |
24747 | (def): Replaced field with defaultCapable field. | |
24748 | (is_def): Removed field. | |
24749 | (JButton): Initialize defaultCapable with true. | |
24750 | (isDefaultButton): Documented and implemented method by querying | |
24751 | the button's root pane if present. | |
24752 | (isDefaultCapable): Changed def field to defaultCapable. | |
24753 | Added documentation. | |
24754 | (paramString): Call isDefaultButton() instead of accessing field, | |
24755 | which got removed. | |
24756 | (setDefaultCapable): Changed def field to defaultCapable. | |
24757 | Added documentation. | |
24758 | * javax/swing/JRootPane.java | |
24759 | (setDefaultButton): Only change the default button if the | |
24760 | new button is defaultCapable. | |
24761 | * javax/swing/plaf/basic/BasicRootPaneUI.java | |
24762 | (DefaultPressAction): New class. | |
24763 | (DefaultReleaseAction): New class. | |
24764 | (installKeyboardActions): Implemented. | |
24765 | (uninstallKeyboardActions): Implemented. | |
24766 | (propertyChange): Implemented. | |
24767 | * javax/swing/plaf/metal/MetalBorders.java | |
24768 | (ButtonBorder.paintBorder): 'Outsourced' default theme | |
24769 | painting to paintDefaultButtonBorder(). | |
24770 | (ButtonBorder.paintDefaultButtonBorder): New helper method | |
24771 | to paint the border in the default theme. This also fixes | |
24772 | painting of the border for default buttons. | |
24773 | (ButtonBorder.paintOceanButtonBorder): Added support for | |
24774 | default button painting. Fixed border for pressed/default state. | |
24775 | * javax/swing/plaf/metal/MetalButtonUI.java | |
24776 | (update): Only paint gradient when in OceanTheme and when the | |
24777 | button is not armed. | |
24778 | ||
24779 | 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
24780 | ||
24781 | * gnu/java/rmi/activation/ActivationSystemTransient.java: | |
24782 | Inherit from Activator. | |
24783 | ||
24784 | 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
24785 | ||
24786 | * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance): | |
24787 | Print debug message if debug flag is set. | |
24788 | * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten. | |
24789 | * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign | |
24790 | detail, do not call iniCause(). (exportClass): New method. | |
24791 | * gnu/java/rmi/server/CombinedClassLoader.java (constructor): | |
24792 | Ignore null (bootstrap) class loader. | |
24793 | * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub, | |
24794 | buildMethodHash, findStubSkelClass, getHelperClass): Changed | |
24795 | visibility to protected. | |
24796 | * java/rmi/activation/Activatable.java (export, register): Rewritten. | |
24797 | (toStub): New method. | |
24798 | * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten. | |
24799 | * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): | |
24800 | Explained property java.rmi.activation.port. | |
24801 | ||
24802 | 2006-03-24 Tom Tromey <tromey@redhat.com> | |
24803 | ||
24804 | * .externalToolBuilders/CreateLocaleData.launch: Updated. | |
24805 | * gnu/java/locale/.cvsignore: New file. | |
24806 | * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale. | |
24807 | * java/util/Locale.java (getAvailableLocales): Clone result. | |
24808 | (getISOCountries): Likewise. | |
24809 | (getISOLanguages): Likewise. | |
24810 | * scripts/generate-locale-list.sh: Make class public. Added new | |
24811 | array. | |
24812 | * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method. | |
24813 | (getLocaleCount): Likewise. | |
24814 | * java/text/Collator.java (getInstance): Javadoc typo fix. | |
24815 | (getAvailableLocales): Wrote. | |
24816 | ||
24817 | 2006-03-24 Roman Kennke <kennke@aicas.com> | |
24818 | ||
24819 | * javax/swing/JTabbedPane.java | |
24820 | (getSelectedComponent): Return null when no component is | |
24821 | selected. | |
24822 | ||
24823 | 2006-03-24 Mark Wielaard <mark@klomp.org> | |
24824 | ||
24825 | * NEWS: Add cursor and selection improvements. | |
24826 | ||
24827 | 2006-03-23 David Gilbert <david.gilbert@object-refinery.com> | |
24828 | ||
24829 | * java/awt/Component.java | |
24830 | (getAccessibleName): Just return accessibleName, | |
24831 | * javax/swing/AbstractButton.java | |
24832 | (getAccessibleStateSet): Mark as stub, | |
24833 | (getAccessibleName): Implemented, | |
24834 | (getAcessibleIcon): Mark as stub, | |
24835 | (getAccessibleRelationSet): Likewise, | |
24836 | (getAccessibleAction): Likewise, | |
24837 | (getAccessibleValue): Likewise, | |
24838 | (getAccessibleActionCount): Likewise, | |
24839 | (getAccessibleActionDescription): Likewise, | |
24840 | (doAccessibleAction): Likewise, | |
24841 | (getCurrentAccessibleValue): Likewise, | |
24842 | (setCurrentAccessibleValue): Likewise, | |
24843 | (getMinimumAccessibleValue): Likewise, | |
24844 | (getMaximumAccessibleValue): Likewise, | |
24845 | (getAccessibleText): Likewise, | |
24846 | (getIndexAtPoint): Likewise, | |
24847 | (getCharacterBounds): Likewise, | |
24848 | (getCharCount): Likewise, | |
24849 | (getCaretPosition): Likewise, | |
24850 | (getAtIndex): Likewise, | |
24851 | (getAfterIndex): Likewise, | |
24852 | (getBeforeIndex): Likewise, | |
24853 | (getCharacterAttribute): Likewise, | |
24854 | (getSelectionStart): Likewise, | |
24855 | (getSelectionEnd): Likewise, | |
24856 | (getSelectedText): Likewise, | |
24857 | (getTextRectangle): Likewise, | |
24858 | (setIconTextGap): Fire PropertyChangeEvent, not state changed, | |
24859 | (getIconTextGap): Added @since 1.4, | |
24860 | (setContentAreaFilled): Reordered code to make event sequence match | |
24861 | reference implementation, | |
24862 | * javax/swing/JButton.java | |
24863 | (getSelectedObjects): Removed, | |
24864 | *javax/swing/JComponent.java | |
24865 | (getAccessibleName): Call super. | |
24866 | ||
24867 | 2006-03-23 David Gilbert <david.gilbert@object-refinery.com> | |
24868 | ||
24869 | * javax/swing/JProgressBar.java | |
24870 | (AccessibleJProgressBar.getAccessibleStateSet): Implemented, | |
24871 | (AccessibleJProgressBar.getAccessibleRole): Added API docs, | |
24872 | (AccessibleJProgressBar.getAccessibleValue): Implemented, | |
24873 | (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise, | |
24874 | (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise, | |
24875 | (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise, | |
24876 | (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise, | |
24877 | (getAccessibleContext): Added API docs. | |
24878 | ||
24879 | 2006-03-23 Robert Schuster <robertschuster@fsfe.org> | |
24880 | ||
24881 | * javax/swing/plaf/basic/BasicTextUI.java: | |
24882 | (FocusListener.focusLost): Put current selection into the system | |
24883 | clipboard. | |
24884 | ||
24885 | 2006-03-23 Robert Schuster <robertschuster@fsfe.org> | |
24886 | ||
24887 | * java/awt/Component.java: | |
24888 | (processMouseEvent): Remove call to consume event. | |
24889 | (dispatchEventImpl): Handle specific events first, do focus request | |
24890 | only when mouse event was not yet consumed. | |
24891 | * javax/swing/text/DefaultCaret.java: | |
24892 | (mousePressed): Rewritten. | |
24893 | (setDot): Changed order of operations. | |
24894 | (moveDot): Dito. | |
24895 | ||
24896 | 2006-03-23 David Gilbert <david.gilbert@object-refinery.com> | |
24897 | ||
24898 | * javax/swing/JComponent.java | |
24899 | (AccessibleJComponent.changeSupport): Removed field, | |
24900 | (AccessibleJComponent.AccessibleJComponent): Updated for removed field, | |
24901 | (AccessibleJComponent.addPropertyChangeListener): Call super, | |
24902 | (AccessibleJComponent.removePropertyChangeListener): Likewise, | |
24903 | * javax/swing/JSlider.java | |
24904 | (AccessibleJSlider.getAccessibleStateSet): Implemented, | |
24905 | (AccessibleJSlider.getAccessibleRole): Likewise, | |
24906 | (AccessibleJSlider.getAccessibleValue): Likewise, | |
24907 | (AccessibleJSlider.getCurrentAccessibleValue): Likewise, | |
24908 | (AccessibleJSlider.setCurrentAccessibleValue): Likewise, | |
24909 | (AccessibleJSlider.getMinimumAccessibleValue): Likewise, | |
24910 | (AccessibleJSlider.getMaximumAccessibleValue): Likewise, | |
24911 | (getAccessibleContext): Added API docs. | |
24912 | ||
24913 | 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
24914 | ||
24915 | * gnu/java/rmi/activation/ActivationSystemTransient.java | |
24916 | (debug): Made public. (constructor): Made protected. | |
24917 | (activate, getActivationDesc): Throw more informative exceptions. | |
24918 | * gnu/java/rmi/server/UnicastConnectionManager.java (toString): | |
24919 | New method. | |
24920 | * gnu/java/rmi/server/UnicastRef.java (remoteToString): | |
24921 | Stub, implemented. | |
24922 | * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall): | |
24923 | Documented. | |
24924 | * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall): | |
24925 | Better exception. | |
24926 | * java/rmi/activation/Activatable.java (obtainId): Use the activation | |
24927 | system, passed in the activation descriptor field. | |
24928 | * java/rmi/activation/ActivationGroup.java (createGroup): Likewise. | |
24929 | * java/rmi/activation/ActivationGroupID.java (system, uid): Changed | |
24930 | to package private final. (equals): Compare uid, not the system. | |
24931 | (hashCode): Forward to uid.hashCode(). toString(): New method. | |
24932 | * java/rmi/activation/ActivationID.java (readObject, writeObject): | |
24933 | Rewritten. (equals): Compare UID only. toString(): New method. | |
24934 | * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also | |
24935 | UID (space). (hashCode, toString): Rewritten. | |
24936 | * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): | |
24937 | New method. (invoke): Treat null as an empty array for parameters. | |
24938 | * java/rmi/server/UID.java (toString): Rewritten. (hashCode): | |
24939 | Include count, do not include the static machineId. | |
24940 | ||
24941 | 2006-03-23 Tom Tromey <tromey@redhat.com> | |
24942 | ||
24943 | * java/net/URLConnection.java (getContent(Class[])): Implemented. | |
24944 | ||
24945 | 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
24946 | ||
24947 | * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force. | |
24948 | * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force. | |
24949 | * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java | |
24950 | (force): New field. (setForce): New method. (compile): Handle -force. | |
24951 | * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force. | |
24952 | * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force. | |
24953 | ||
24954 | 2006-03-23 Roman Kennke <kennke@aicas.com> | |
24955 | ||
24956 | * javax/swing/JTabbedPane.java | |
24957 | (Page.getBackground): Return the JTabbedPane's background, | |
24958 | rather than the page's component background. | |
24959 | (Page.getForeground): Return the JTabbedPane's foreground, | |
24960 | rather than the page's component foreground. | |
24961 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
24962 | (uninstallUI): Don't set colors to null. | |
24963 | * javax/swing/plaf/metal/MetalTabbedPaneUI.java | |
24964 | (paintTabBackground): Correctly determine the tab background. | |
24965 | (getUnselectedBackground): New helper method to | |
24966 | handle the UI property 'TabbedPane.unselectedBackground' | |
24967 | correctly. | |
24968 | ||
24969 | 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
24970 | ||
24971 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
24972 | (BorderListener.showingResizeCursor): New field. | |
24973 | (BorderListener.mouseMoved, BorderListner.mouseExited): | |
24974 | Implemented. | |
24975 | ||
24976 | 2006-03-23 David Gilbert <david.gilbert@object-refinery.com> | |
24977 | ||
24978 | * javax/swing/JComboBox.java | |
24979 | (selectWithKeyChar): Mark as stub, | |
24980 | * javax/swing/JFileChooser.java | |
24981 | (setDragEnabled): Mark as stub, | |
24982 | (getDragEnabled): Likewise, | |
24983 | * javax/swing/JSlider.java | |
24984 | (AccessibleJSlider.getAccessibleStateSet): Mark as stub, | |
24985 | (AccessibleJSlider.getAccessibleRole): Likewise, | |
24986 | (AccessibleJSlider.getAccessibleValue): Likewise, | |
24987 | (AccessibleJSlider.getCurrentAccessibleValue): Likewise, | |
24988 | (AccessibleJSlider.setCurrentAccessibleValue): Likewise, | |
24989 | (AccessibleJSlider.getMinimumAccessibleValue): Likewise, | |
24990 | (AccessibleJSlider.getMaximumAccessibleValue): Likewise, | |
24991 | * javax/swing/UIManager.java | |
24992 | (installLookAndFeel): Mark as stub, | |
24993 | (setInstalledLookAndFeels): Likewise. | |
24994 | ||
24995 | 2006-03-23 David Gilbert <david.gilbert@object-refinery.com> | |
24996 | ||
24997 | * javax/swing/filechooser/UnixFileSystemView.java | |
24998 | (getSystemDisplayName): Mark as stub, | |
24999 | (getSystemIcon): Likewise, | |
25000 | (getSystemTypeDescription): Likewise. | |
25001 | ||
25002 | 2006-03-23 David Gilbert <david.gilbert@object-refinery.com> | |
25003 | ||
25004 | * javax/swing/tree/AbstractLayoutCache.java | |
25005 | (getNodeDimensions): Mark as stub, | |
25006 | (getPreferredHeight): Likewise, | |
25007 | (getPreferredWidth): Likewise, | |
25008 | (getRowsForPaths): Likewise, | |
25009 | (isFixedRowHeight): Likewise, | |
25010 | * javax/swing/tree/DefaultTreeModel.java | |
25011 | (reload()): Mark as stub, | |
25012 | (reload(TreeNode)): Likewise, | |
25013 | (nodeStructureChanged): Likewise, | |
25014 | * javax/swing/tree/DefaultTreeSelectionModel.java | |
25015 | (clone): Mark as stub, | |
25016 | (setRowMapper): Likewise, | |
25017 | (setSelectionPaths): Likewise, | |
25018 | (isRowSelected): Likewise, | |
25019 | (resetRowSelection): Likewise, | |
25020 | (insureRowContinuity): Likewise, | |
25021 | (arePathsContiguous): Likewise, | |
25022 | (canPathsBeAdded): Likewise, | |
25023 | (canPathsBeRemoved): Likewise, | |
25024 | (notifyPathChange): Likewise, | |
25025 | (updateLeadIndex): Likewise, | |
25026 | (insureUniqueness): Likewise, | |
25027 | * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as | |
25028 | stubs, | |
25029 | * javax/swing/tree/VariableHeightLayoutCache.java: Likewise. | |
25030 | ||
25031 | 2006-03-22 Tom Tromey <tromey@redhat.com> | |
25032 | ||
25033 | * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as | |
25034 | stub. | |
25035 | (getStaticAttributeKey): Likewise. | |
25036 | (readAttributeSet): Likewise. | |
25037 | (writeAttributeSet): Likewise. | |
25038 | (readAttributes): Likewise. | |
25039 | (writeAttributes): Likewise. | |
25040 | * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark | |
25041 | as stub. | |
25042 | * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes): | |
25043 | Mark as stub. | |
25044 | (fireChangedUpdate): Likewise. | |
25045 | (start): Likewise. | |
25046 | (end): Likewise. | |
25047 | (handleEndOfLineString): Likewise. | |
25048 | (textAreaContent): Likewise. | |
25049 | (preContent): Likewise. | |
25050 | (addSpecialElement): Likewise. | |
25051 | (setInnerHTML): Likewise. | |
25052 | (setOuterHTML): Likewise. | |
25053 | (insertBeforeStart): Likewise. | |
25054 | (insertBeforeEnd): Likewise. | |
25055 | (insertAfterEnd): Likewise. | |
25056 | (insertAfterStart): Likewise. | |
25057 | * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry): | |
25058 | Mark all methods as stub.s | |
25059 | * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark | |
25060 | as stub. | |
25061 | (paintHorizontalSeparators): Likewise. | |
25062 | * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors): | |
25063 | Mark as stub. | |
25064 | * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as | |
25065 | stub. | |
25066 | * java/beans/beancontext/BeanContextSupport.java: Mark most methods | |
25067 | as stubs. | |
25068 | * java/beans/beancontext/BeanContextServicesSupport.java: Mark most | |
25069 | methods as stubs. | |
25070 | ||
25071 | 2006-03-22 Mark Wielaard <mark@klomp.org> | |
25072 | ||
25073 | * gnu/java/awt/peer/gtk/GtkCursor.java: New class. | |
25074 | ||
25075 | 2006-03-22 Mark Wielaard <mark@klomp.org> | |
25076 | ||
25077 | Fixes bug #26527 | |
25078 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor): | |
25079 | Takes GtkImage, x and y coordinates. | |
25080 | (gtkWidgetSetCursorUnlocked): Likewise. | |
25081 | (GtkComponentPeer): Set cursor when set. | |
25082 | (setCursor): Handle GtkCursor. | |
25083 | * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor): | |
25084 | New method. | |
25085 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
25086 | (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates. | |
25087 | (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image. | |
25088 | * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated. | |
25089 | ||
25090 | 2006-03-23 Roman Kennke <kennke@aicas.com> | |
25091 | ||
25092 | PR 26805 | |
25093 | * gnu/java/security/Registry.java | |
25094 | (PKCS5_PAD): Added pad PKCS#5 algorithm. | |
25095 | * gnu/javax/crypto/pad/PadFactory.java | |
25096 | (getInstance): For PKCS#5, also return PKCS#7 pad | |
25097 | algorithm. | |
25098 | (getNames): Added PKCS#5. | |
25099 | * javax/crypto/KeyGenerator.java | |
25100 | (getInstance): Initialize key generator before returning | |
25101 | it. | |
25102 | ||
25103 | 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
25104 | ||
25105 | * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag, | |
25106 | (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set. | |
25107 | * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS | |
25108 | if COMMENTS is set. | |
25109 | ||
25110 | 2006-03-22 Tom Tromey <tromey@redhat.com> | |
25111 | ||
25112 | * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented. | |
25113 | (getBoolean): Likewise. | |
25114 | (getString): Likewise. | |
25115 | (getIcon): Likewise. | |
25116 | ||
25117 | 2006-03-22 Mark Wielaard <mark@klomp.org> | |
25118 | ||
25119 | Fixes bug #26301 | |
25120 | * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter. | |
25121 | (GLightweightPeer(Component)): Install MouseListener. | |
25122 | (setCursor): Implement. | |
25123 | (mouseEntered): New method. | |
25124 | ||
25125 | 2006-03-22 Tom Tromey <tromey@redhat.com> | |
25126 | ||
25127 | * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer | |
25128 | constant. | |
25129 | * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now | |
25130 | protected. | |
25131 | (getFontForState): Likewise. | |
25132 | (getInsets): Added 'result' argument. | |
25133 | (getPainter): Renamed. | |
25134 | ||
25135 | 2006-03-22 Tom Tromey <tromey@redhat.com> | |
25136 | ||
25137 | * javax/swing/plaf/synth/SynthPainter.java | |
25138 | (paintScrollBarThumbBackground): Added 'orientation' argument. | |
25139 | (paintScrollBarThumbBorder): Likewise. | |
25140 | (paintSliderThumbBackground): Likewise. | |
25141 | (paintSliderThumbBorder): Likewise. | |
25142 | (paintTabbedPaneTabBackground): Added 'index' argument. | |
25143 | (paintTabbedPaneTabBorder): Likewise. | |
25144 | ||
25145 | 2006-03-22 Tom Tromey <tromey@redhat.com> | |
25146 | ||
25147 | * java/awt/ScrollPaneAdjustable.java (paramString): Implemented. | |
25148 | (toString): New method. | |
25149 | ||
25150 | 2006-03-22 Tom Tromey <tromey@redhat.com> | |
25151 | ||
25152 | * doc/hacking.texinfo (Source Code Style Guide): Mention | |
25153 | NotImplementedException. | |
25154 | * javax/imageio/stream/MemoryCacheImageOutputStream.java | |
25155 | (flushBefore): Mark as stub. | |
25156 | (read): Likewise. | |
25157 | * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore): | |
25158 | Mark as stub. | |
25159 | * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark | |
25160 | as stub. | |
25161 | (write): Likewise. | |
25162 | (writeBit): Likewise. | |
25163 | (writeChars): Likewise. | |
25164 | (writeUTF): Likewise. | |
25165 | * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark | |
25166 | as stub. | |
25167 | (read): Likewise. | |
25168 | * java/net/URLConnection.java (getContent): Mark as stub. | |
25169 | * java/awt/Window.java (applyResourceBundle): Mark as stub. | |
25170 | * java/awt/TexturePaint.java (createContext): Mark as stub. | |
25171 | (getTransparency): Mark as stub. | |
25172 | * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub. | |
25173 | * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub. | |
25174 | * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as | |
25175 | stub. | |
25176 | (getImageCapabilities): Likewise. | |
25177 | * java/awt/BasicStroke.java (createStrokedShape): Mark as stub. | |
25178 | * java/awt/AlphaComposite.java (createContext): Mark as stub. | |
25179 | * java/awt/image/renderable/RenderableImageProducer.java: Mark all | |
25180 | methods as stubs. | |
25181 | * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub. | |
25182 | (getAdvanceBetween): Likewise. | |
25183 | (getLayout): Likewise. | |
25184 | (insertChar): Likewise. | |
25185 | (getLineBreakIndex): Likewise. | |
25186 | * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub. | |
25187 | (getAdvance): Likewise. | |
25188 | (getAscent): Likewise. | |
25189 | (getDescent): Likewise. | |
25190 | * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub. | |
25191 | (insertChar): Likewise. | |
25192 | (nextLayout): Likewise. | |
25193 | (nextLayout): Likewise. | |
25194 | (nextOffset): Likewise. | |
25195 | (nextOffset): Likewise. | |
25196 | * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub. | |
25197 | (equals): Likewise. | |
25198 | (getAdvance): Likewise. | |
25199 | (getAscent): Likewise. | |
25200 | (getBounds): Likewise. | |
25201 | (getDescent): Likewise. | |
25202 | (hashCode): Likewise. | |
25203 | (ImageGraphicAttribute): Likewise. | |
25204 | * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub. | |
25205 | (getJustificationInfo): Likewise. | |
25206 | * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub. | |
25207 | (getGlyphCharIndices): Likewise. | |
25208 | (getGlyphOutline): Likewise. | |
25209 | (getGlyphPixelBounds): Likewise. | |
25210 | (getLayoutFlags): Likewise. | |
25211 | (getPixelBounds): Likewise. | |
25212 | * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub. | |
25213 | (getRSB): Likewise. | |
25214 | * java/nio/channels/Channels.java (newWriter): Mark as stub. | |
25215 | * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs. | |
25216 | * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized): | |
25217 | Mark as stub. | |
25218 | (resetRecognizer): Likewise. | |
25219 | * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative): | |
25220 | Mark as stub. | |
25221 | (getNativesForFlavor): Likewise. | |
25222 | * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s | |
25223 | * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark | |
25224 | as stub. | |
25225 | (getRegion): Likewise. | |
25226 | (createUI): Likewise. | |
25227 | (initialize): Likewise. | |
25228 | (uninitialize): Likewise. | |
25229 | (getDefaults): Likewise. | |
25230 | (load): Likewise. | |
25231 | (shouldUpdateStyleOnAncestorChanged): Likewise. | |
25232 | * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize): | |
25233 | Mark as stub. | |
25234 | (getPreferredSize): Likewise. | |
25235 | (getMaximumSize): Likewise. | |
25236 | (paintText): Likewise. | |
25237 | * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark | |
25238 | as stub. | |
25239 | * java/text/Collator.java (getAvailableLocales): Mark as stub. | |
25240 | ||
25241 | 2006-03-22 Wolfgang Baer <WBaer@gmx.de> | |
25242 | ||
25243 | * java/io/ObjectStreamConstants.java: Added since tag. | |
25244 | (PROTOCOL_VERSION_1): Added javadoc. | |
25245 | (PROTOCOL_VERSION_2): Likewise. | |
25246 | * java/io/ObjectOutputStream.java: | |
25247 | (setDefaultProtocolVersion): Removed. | |
25248 | (useProtocolVersion): Fixed parameter tests. Updated javadoc. | |
25249 | ||
25250 | 2006-03-21 Lillian Angel <langel@redhat.com> | |
25251 | ||
25252 | * gnu/javax/imageio/bmp/BMPInfoHeader.java | |
25253 | (BMPInfoHeader): Removed debug lines. | |
25254 | * gnu/javax/imageio/bmp/EncodeRLE4.java | |
25255 | (encode): Implemented. | |
25256 | (uncompress): New function implemented to | |
25257 | uncompress the image before encoding. | |
25258 | * gnu/javax/imageio/bmp/EncodeRLE8.java | |
25259 | (encode): Implemented. | |
25260 | (uncompress): New function implemented to | |
25261 | uncompress the image before encoding. | |
25262 | ||
25263 | 2006-03-21 Roman Kennke <kennke@aicas.com> | |
25264 | ||
25265 | * javax/swing/text/html/FormView.java | |
25266 | (getImageData): New helper method. | |
25267 | ||
25268 | 2006-03-21 Tom Tromey <tromey@redhat.com> | |
25269 | ||
25270 | * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc | |
25271 | fix. | |
25272 | (Unsafe): Now final. | |
25273 | ||
25274 | 2006-03-21 Roman Kennke <kennke@aicas.com> | |
25275 | ||
25276 | * javax/swing/text/html/FormView.java | |
25277 | (MouseEventListener): New inner class. | |
25278 | ||
25279 | 2006-03-21 Roman Kennke <kennke@aicas.com> | |
25280 | ||
25281 | * javax/swing/text/html/ListView.java: New file. | |
25282 | ||
25283 | 2006-03-21 Tom Tromey <tromey@redhat.com> | |
25284 | ||
25285 | * java/text/Bidi.java: Completed. | |
25286 | ||
25287 | 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com> | |
25288 | ||
25289 | * javax/swing/JTable.java: | |
25290 | (columnAtPoint): Removed the null check, this method should throw a NPE | |
25291 | if the argument is null. | |
25292 | ||
25293 | 2006-03-21 Robert Schuster <robertschuster@fsfe.org> | |
25294 | ||
25295 | * javax/swing/text/DefaultHighlighter.java: | |
25296 | (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten. | |
25297 | ||
25298 | 2006-03-21 Robert Schuster <robertschuster@fsfe.org> | |
25299 | ||
25300 | * javax/swing/text/DefaultCaret.java: Added class variable denoting | |
25301 | the textcomponent having a selection. | |
25302 | (clearSelection): Clear 'componentWithSelection' variable. | |
25303 | (handleSelection): Clear selection of current component having a | |
25304 | selection before setting a new selection in another component. | |
25305 | (mouseDragged): Only react on left mouse button. | |
25306 | (mouseClicked): Only react on left mouse button. | |
25307 | ||
25308 | 2006-03-21 Roman Kennke <kennke@aicas.com> | |
25309 | ||
25310 | * javax/swing/plaf/metal/MetalTabbedPaneUI.java | |
25311 | (paintContentBorderTopEdge): Implemented. | |
25312 | (paintContentBorderBottomEdge): Implemented. | |
25313 | (paintContentBorderLeftEdge): Implemented. | |
25314 | (paintContentBorderRightEdge): Implemented. | |
25315 | (isLastTabInRun): New helper method. | |
25316 | ||
25317 | 2006-03-21 Roman Kennke <kennke@aicas.com> | |
25318 | ||
25319 | * javax/swing/JTabbedPane.java | |
25320 | (Page.getForeground): Fall back to returning the tabbed pane's | |
25321 | foreground if no foreground has been exclicitly set. | |
25322 | ||
25323 | 2006-03-21 Roman Kennke <kennke@aicas.com> | |
25324 | ||
25325 | * javax/swing/plaf/metal/MetalComboBoxButton.java | |
25326 | (setEnabled): Update colors of button correctly. | |
25327 | * javax/swing/plaf/metal/MetalComboBoxUI.java | |
25328 | (MetalPropertyChangeListener.propertyChange): Update the colors | |
25329 | of the list and the button when any of the color properties | |
25330 | of the ComboBox change. | |
25331 | ||
25332 | 2006-03-21 Roman Kennke <kennke@aicas.com> | |
25333 | ||
25334 | * javax/swing/plaf/basic/BasicButtonUI.java | |
25335 | (uninstallDefaults): Only nullify button colors if they are | |
25336 | not UIResource instances. | |
25337 | ||
25338 | 2006-03-21 David Gilbert <david.gilbert@object-refinery.com> | |
25339 | ||
25340 | * javax/swing/JComponent.java | |
25341 | (AccessibleJComponent.getAccessibleDescription): Call super, | |
25342 | * javax/swing/JToolTip.java: API doc updates all over, plus | |
25343 | (AccessibleJToolTip.getAccessibleDescription): Implemented, | |
25344 | (AccessibleJToolTip.getAccessibleRole): Implemented, | |
25345 | (getAccessibleContext): Implemented, | |
25346 | (paramString): Reimplemented, | |
25347 | (setComponent): Fire PropertyChangeEvent, | |
25348 | (setTipText): Likewise. | |
25349 | ||
97b8365c TT |
25350 | 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org> |
25351 | ||
25352 | * java/util/Formatter.java: | |
25353 | Make the class final. | |
25354 | ||
25355 | 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
25356 | ||
25357 | * java/lang/System.java: | |
25358 | (nanoTime()): Documented. | |
25359 | * java/lang/Thread.java: | |
25360 | (setUncaughtExceptionHandler(UncaughtExceptionHandler): | |
25361 | Added docs and security check. | |
25362 | (getUncaughtExceptionHandler()): Documented. | |
25363 | (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler): | |
25364 | Added docs and security check. | |
25365 | (getDefaultUncaughtExceptionHandler()): Documented. | |
25366 | (getId()): Documented. | |
25367 | (Thread.State): Documented. | |
25368 | * vm/reference/gnu/classpath/Unsafe.java: | |
25369 | Documented. | |
25370 | (getUnsafe()): Updated to handle security. | |
25371 | ||
25372 | 2006-03-20 Tom Tromey <tromey@redhat.com> | |
25373 | ||
25374 | * java/lang/System.java: | |
25375 | (nanoTime()): Implemented. | |
25376 | * java/lang/Thread.java: | |
25377 | (getId()): Implemented. | |
25378 | * java/util/AbstractMap.java: | |
25379 | (SimpleImmutableEntry): New 1.6 class. | |
25380 | (BasicMapEntry): Modified to be SimpleEntry. | |
25381 | * java/util/Collections.java: | |
25382 | Modified to use SimpleEntry. | |
25383 | * java/util/EnumMap.java: Likewise. | |
25384 | * java/util/HashMap.java: Likewise. | |
25385 | * java/util/Hashtable.java: Likewise. | |
25386 | * java/util/TreeMap.java: Likewise. | |
25387 | * vm/reference/gnu/classpath/Unsafe.java: | |
25388 | New class to handle low-level facilities for concurrency. | |
25389 | * vm/reference/java/lang/VMSystem.java: | |
25390 | (nanoTime()): Implemented. | |
25391 | ||
4f9533c7 MW |
25392 | 2006-03-20 Tom Tromey <tromey@redhat.com> |
25393 | ||
25394 | * java/security/cert/PKIXCertPathChecker.java: Javadoc fix. | |
25395 | * java/security/cert/CertStoreSpi.java: Added import for javadoc. | |
25396 | (CertStoreSpi): Updated throws clause. | |
25397 | * java/security/cert/CertPathValidatorSpi.java: Added import for | |
25398 | javadoc. | |
25399 | (engineValidate): Updated 'throws' clause. | |
25400 | * java/security/cert/PKIXParameters.java: Javadoc fix. | |
25401 | * java/security/cert/X509CertSelector.java | |
25402 | (setAuthorityKeyIdentifier): Javadoc fix. | |
25403 | ||
25404 | 2006-03-20 Tom Tromey <tromey@redhat.com> | |
25405 | ||
25406 | * .classpath: Build gnu.javax.swing.plaf. | |
25407 | ||
25408 | 2006-03-20 Lillian Angel <langel@redhat.com> | |
25409 | ||
25410 | * gnu/javax/imageio/bmp/BMPDecoder.java: | |
25411 | Removed unneeded import. | |
25412 | * gnu/javax/imageio/bmp/BMPEncoder.java: | |
25413 | New class. | |
25414 | * gnu/javax/imageio/bmp/BMPFileHeader.java | |
25415 | (BMPFileHeader): New constructor used to create info header | |
25416 | for an output stream. | |
25417 | (write): Fixed indexes. | |
25418 | * gnu/javax/imageio/bmp/BMPImageReaderSpi.java: | |
25419 | Initialized writerSpiNames field. | |
25420 | * gnu/javax/imageio/bmp/BMPImageWriter.java: | |
25421 | New class. | |
25422 | * gnu/javax/imageio/bmp/BMPImageWriterSpi.java: | |
25423 | New class. | |
25424 | * gnu/javax/imageio/bmp/BMPInfoHeader.java: | |
25425 | Change visibility for fields. | |
25426 | (BMPInfoHeader): New constructor used to create | |
25427 | file header for an output stream. | |
25428 | (intToDWord): New method. Converts an int to a | |
25429 | double word. | |
25430 | (intToWord): New method. Converts an int to a word. | |
25431 | * gnu/javax/imageio/bmp/DecodeBF32.java: | |
25432 | Removed unneeded imports. | |
25433 | * gnu/javax/imageio/bmp/EncodeRGB1.java: | |
25434 | New class. | |
25435 | * gnu/javax/imageio/bmp/EncodeRGB16.java: | |
25436 | New class. | |
25437 | * gnu/javax/imageio/bmp/EncodeRGB24.java: | |
25438 | New class. | |
25439 | * gnu/javax/imageio/bmp/EncodeRGB32.java: | |
25440 | New class. | |
25441 | * gnu/javax/imageio/bmp/EncodeRGB4.java: | |
25442 | New class. | |
25443 | * gnu/javax/imageio/bmp/EncodeRGB8.java: | |
25444 | New class. | |
25445 | * gnu/javax/imageio/bmp/EncodeRLE4.java: | |
25446 | New class. | |
25447 | * gnu/javax/imageio/bmp/EncodeRLE8.java: | |
25448 | New class. | |
25449 | * javax/imageio/ImageIO.java: | |
25450 | Fixed comment. | |
25451 | ||
25452 | 2006-03-20 Roman Kennke <kennke@aicas.com> | |
25453 | ||
25454 | * javax/swing/plaf/metal/MetalTabbedPaneUI.java | |
25455 | (TabbedPaneLayout.normalizeTabRuns): New method. | |
25456 | (createLayoutManager): Return the Metal TabbedPaneLayout, not super. | |
25457 | (paintTabBorder): Replaced if-else chain with switch. | |
25458 | (paintTopTabBorder): Rewritten to correctly paint tab. Also support | |
25459 | Ocean theme. | |
25460 | (paintBottomTabBorder): Rewritten to correctly paint tab. Also support | |
25461 | Ocean theme. | |
25462 | (paintLeftTabBorder): Rewritten to correctly paint tab. Also support | |
25463 | Ocean theme. | |
25464 | (paintRightTabBorder): Rewritten to correctly paint tab. Also support | |
25465 | Ocean theme. | |
25466 | (paintTabBackground): Fetch background color from the TabbedPane. | |
25467 | Fixed painting and improved by not using fillPolygon, and instead | |
25468 | using fillRectangle. Replaced if-else chain with switch. | |
25469 | (calculateMaxTabHeight): Added overridden method with FIXME. | |
25470 | (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT | |
25471 | placement. | |
25472 | (paintContentBorderTopEdge): Added stub with FIXME. | |
25473 | (paintContentBorderBottomEdge): Added stub with FIXME. | |
25474 | (paintContentBorderLeftEdge): Added stub with FIXME. | |
25475 | (paintContentBorderRightEdge): Added stub with FIXME. | |
25476 | ||
25477 | 2006-03-20 Roman Kennke <kennke@aicas.com> | |
25478 | ||
25479 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
25480 | (tabsOpaque): New field. | |
25481 | (installDefaults): Fetch tabsOpaque property from UIManager. | |
25482 | (paintTab): Fill tab background when tabsOpaque property is true. | |
25483 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
25484 | (initComponentDefaults): Added TabbedPane.tabsOpaque property. | |
25485 | ||
25486 | 2006-03-20 Roman Kennke <kennke@aicas.com> | |
25487 | ||
25488 | * javax/swing/JTabbedPane.java | |
25489 | (Pane.getBackground): When no background was explicitly set, return | |
25490 | the JTabbedPane's background. | |
25491 | ||
25492 | 2006-03-20 Wolfgang Baer <WBaer@gmx.de> | |
25493 | ||
25494 | * org/omg/CORBA/ACTIVITY_COMPLETED.java, | |
25495 | * org/omg/CORBA/ACTIVITY_REQUIRED.java, | |
25496 | * org/omg/CORBA/BAD_INV_ORDER.java, | |
25497 | * org/omg/CORBA/BAD_CONTEXT.java, | |
25498 | * org/omg/CORBA/BAD_OPERATION.java, | |
25499 | * org/omg/CORBA/BAD_PARAM.java, | |
25500 | * org/omg/CORBA/BAD_QOS.java, | |
25501 | * org/omg/CORBA/BAD_TYPECODE.java, | |
25502 | * org/omg/CORBA/CODESET_INCOMPATIBLE.java, | |
25503 | * org/omg/CORBA/COMM_FAILURE.java, | |
25504 | * org/omg/CORBA/CurrentHolder.java, | |
25505 | * org/omg/CORBA/DATA_CONVERSION.java, | |
25506 | * org/omg/CORBA/FREE_MEM.java, | |
25507 | * org/omg/CORBA/IMP_LIMIT.java, | |
25508 | * org/omg/CORBA/INITIALIZE.java, | |
25509 | * org/omg/CORBA/INTERNAL.java, | |
25510 | * org/omg/CORBA/INTF_REPOS.java, | |
25511 | * org/omg/CORBA/INVALID_ACTIVITY.java, | |
25512 | * org/omg/CORBA/INVALID_TRANSACTION.java, | |
25513 | * org/omg/CORBA/INV_FLAG.java, | |
25514 | * org/omg/CORBA/INV_IDENT.java, | |
25515 | * org/omg/CORBA/INV_OBJREF.java, | |
25516 | * org/omg/CORBA/INV_POLICY.java, | |
25517 | * org/omg/CORBA/MARSHAL.java, | |
25518 | * org/omg/CORBA/NO_RESOURCES.java, | |
25519 | * org/omg/CORBA/NO_MEMORY.java, | |
25520 | * org/omg/CORBA/NO_IMPLEMENT.java, | |
25521 | * org/omg/CORBA/NO_PERMISSION.java, | |
25522 | * org/omg/CORBA/NO_RESPONSE.java, | |
25523 | * org/omg/CORBA/OBJECT_NOT_EXIST.java, | |
25524 | * org/omg/CORBA/OBJ_ADAPTER.java, | |
25525 | * org/omg/CORBA/ParameterModeHolder.java, | |
25526 | * org/omg/CORBA/PolicyError.java, | |
25527 | * org/omg/CORBA/PolicyErrorHolder.java, | |
25528 | * org/omg/CORBA/PolicyHolder.java, | |
25529 | * org/omg/CORBA/PolicyListHolder.java, | |
25530 | * org/omg/CORBA/REBIND.java, | |
25531 | * org/omg/CORBA/TIMEOUT.java, | |
25532 | * org/omg/CORBA/TRANSACTION_MODE.java, | |
25533 | * org/omg/CORBA/TRANSACTION_REQUIRED.java, | |
25534 | * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java, | |
25535 | * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java, | |
25536 | * org/omg/CORBA/TRANSIENT.java, | |
25537 | * org/omg/CORBA/TypeCodeHolder.java, | |
25538 | * org/omg/CORBA/UNKNOWN.java, | |
25539 | * org/omg/CORBA/UnionMember.java, | |
25540 | * org/omg/CORBA/UnknownUserException.java, | |
25541 | * org/omg/CORBA/UnknownUserExceptionHolder.java, | |
25542 | * org/omg/CORBA/WrongTransactionHolder.java, | |
25543 | * org/omg/IOP/IOR.java, | |
25544 | * org/omg/IOP/IORHolder.java, | |
25545 | * org/omg/IOP/MultipleComponentProfileHolder.java, | |
25546 | * org/omg/IOP/ServiceContextHolder.java, | |
25547 | * org/omg/IOP/ServiceContextListHolder.java, | |
25548 | * org/omg/IOP/TaggedComponentHolder.java, | |
25549 | * org/omg/IOP/TaggedProfileHolder.java, | |
25550 | * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java, | |
25551 | * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java, | |
25552 | * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java, | |
25553 | * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java: | |
25554 | Made class final, various javadoc fixlets. | |
25555 | * org/omg/CORBA/CompletionStatus.java, | |
25556 | * org/omg/CORBA/PERSIST_STORE.java, | |
25557 | * org/omg/CORBA/ValueMember.java, | |
25558 | * org/omg/PortableInterceptor/ForwardRequest.java, | |
25559 | * org/omg/PortableInterceptor/InvalidSlot.java, | |
25560 | * org/omg/IOP/CodecPackage/TypeMismatch.java, | |
25561 | * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java, | |
25562 | * org/omg/IOP/CodecPackage/FormatMismatch.java, | |
25563 | * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java, | |
25564 | * org/omg/IOP/Encoding.java, | |
25565 | * org/omg/IOP/TaggedComponent.java, | |
25566 | * org/omg/IOP/TaggedProfile.java: Made class final. | |
25567 | * org/omg/CORBA/SystemException.java: Made class abstract. | |
25568 | * org/omg/CORBA/UserException.java: Made class abstract. | |
25569 | (UserException): Now protected. | |
25570 | (UserException(String)): Likewise. | |
25571 | * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes. | |
25572 | (typecode): Removed unused private variable. | |
25573 | ||
25574 | 2006-03-20 Chris Burdess <dog@gnu.org> | |
25575 | ||
25576 | Fixes PR 26761 | |
25577 | * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char. | |
25578 | ||
25579 | 2006-03-20 Roman Kennke <kennke@aicas.com> | |
25580 | ||
25581 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
25582 | (paintTabArea): Look up tab run indices in tabRuns array instead | |
25583 | of using the index directly. | |
25584 | ||
25585 | 2006-03-20 Roman Kennke <kennke@aicas.com> | |
25586 | ||
25587 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
25588 | (paintTab): Fixed painting. | |
25589 | (paintText): Fixed text painting. | |
25590 | (paintFocusIndicator): Fixed painting of the focus rectangle. | |
25591 | (paintContentBorder): Fixed painting of the content area. | |
25592 | ||
25593 | 2006-03-20 Mark Wielaard <mark@klomp.org> | |
25594 | ||
25595 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New | |
25596 | static lock Object field. | |
25597 | (produce): Synchronize on pixbufLock when calling initState(), | |
25598 | pumpBytes() and pumpDone(). | |
25599 | (finalize): Likewise when calling finish(). | |
25600 | (GdkPixbufWriter.write): Likewise when calling streamImage(). | |
25601 | * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise | |
25602 | when calling loadPixbuf. Chain exception. | |
25603 | (GtkImage(byte[])): Likewise when calling loadImageFromData. | |
25604 | (GtkImage(URL)): Likewise. | |
25605 | (GtkImage(int,int)): Likewise when calling createPixmap(). | |
25606 | (GtkImage(GtkImage,int,int,int)): Likewise when calling | |
25607 | createScaledPixmap(). | |
25608 | (GtkImage(Pointer)): Likewise when calling createFromPixbuf(). | |
25609 | (setImage): Likewise when calling createPixmap() and setPixels(). | |
25610 | (getSource): Likewise when calling getPixels(). | |
25611 | (flush): Likewise when calling freePixmap(). | |
25612 | (finalize): Likewise. | |
25613 | (drawImage): Likewise when calling drawPixelsScaledFlipped() and | |
25614 | drawPixelsScaledFlipped(). | |
25615 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | |
25616 | (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove | |
25617 | gdk_threads_enter/leave(). | |
25618 | (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise. | |
25619 | (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise. | |
25620 | (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise. | |
25621 | (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise. | |
25622 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c | |
25623 | (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise. | |
25624 | (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise. | |
25625 | (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise. | |
25626 | (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise. | |
25627 | (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise. | |
25628 | (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise. | |
25629 | (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise. | |
25630 | (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise. | |
25631 | ||
25632 | 2006-03-20 Roman Kennke <kennke@aicas.com> | |
25633 | ||
25634 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
25635 | (calculateTabHeight): Not need to use SwingUtilities here. | |
25636 | (getTabInsets): Do not rotate insets. | |
25637 | ||
25638 | 2006-03-20 Roman Kennke <kennke@aicas.com> | |
25639 | ||
25640 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
25641 | (paint): Make sure the layout is valid before painting. | |
25642 | (paintTabArea): Made tab painting more straightforward and efficient. | |
25643 | ||
25644 | 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
25645 | ||
25646 | * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed. | |
25647 | (getScrollableUnitIncrement): Rewritten. | |
25648 | * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed. | |
25649 | (getScrollableUnitIncrement): Rewritten. | |
25650 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
25651 | (ROWS_PER_WHEEL_CLICK): New field. | |
25652 | (MouseWheelHandler.mouseWheelMoved): Rewritten. | |
25653 | ||
25654 | 2006-03-20 Roman Kennke <kennke@aicas.com> | |
25655 | ||
25656 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
25657 | (paint): Make sure the layout is valid before painting. | |
25658 | (paintTabArea): Made tab painting more straightforward and efficient. | |
25659 | ||
25660 | 2006-03-20 Roman Kennke <kennke@aicas.com> | |
25661 | ||
25662 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
25663 | (MouseHandler.mousePressed): Rewritten for clearer and simpler | |
25664 | code. | |
25665 | (MouseHandler.mouseEntered): Implemented to set the rollover tab. | |
25666 | (MouseHandler.mouseMoved): Implemented to set the rollover tab. | |
25667 | (MouseHandler.mouseExited): Implemented to unset the rollover tab. | |
25668 | (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's | |
25669 | bounds here. That is moved into layoutContainer(). | |
25670 | (calculateSize): Correctly respect insets. Made code slightly more | |
25671 | clear and efficient. | |
25672 | (calculateTabRects): Rewritten completely. The old code was | |
25673 | not quite right and unstable in some situations. | |
25674 | (layoutContainer): Moved layout of tabbed pane's subcomponents | |
25675 | here. | |
25676 | (tabRunsDirty): New field. | |
25677 | (rolloverTab): New field. | |
25678 | (tabForCoordinate): Rewritten for simplicity and correctness. | |
25679 | (setRolloverTab): New method. | |
25680 | (getRolloverTab): New method. | |
25681 | ||
25682 | 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
25683 | ||
25684 | * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten. | |
25685 | * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten. | |
25686 | (getScrollableUnitIncrement | |
25687 | * javax/swing/Scrollable.java: Documented. | |
25688 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
25689 | (MouseWheelHandler):Rewritten. | |
25690 | ||
25691 | 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
25692 | ||
25693 | * doc/vmintegration.texinfo: | |
25694 | Updated with gnu.classpath.Unsafe | |
25695 | ||
25696 | 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
25697 | ||
25698 | * NEWS: | |
25699 | Updated with VMArray and Unsafe changes. | |
25700 | ||
25701 | 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
25702 | ||
25703 | * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field. | |
25704 | (getScrollableUnitIncrement): Rewritten. | |
25705 | * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field. | |
25706 | (getScrollableUnitIncrement): Rewritten. | |
25707 | (getScrollableBlockIncrement): Rewritten. | |
25708 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
25709 | (MouseWheelHandler): Implemented. (ViewportContainerListener): | |
25710 | New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): | |
25711 | New field. (installListeners): Install wheel listeners. | |
25712 | (uninstallListeners): Uninstall wheel listeners. | |
25713 | * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation | |
25714 | of the MouseWheelListener. (installListeners): Do not install wheel | |
25715 | listener. (ROWS_PER_WHEEL_CLICK): Removed. | |
25716 | ||
25717 | 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
25718 | ||
25719 | * vm/reference/gnu/classpath/Unsafe.java: | |
25720 | Documented. | |
25721 | (getUnsafe()): Updated to handle security. | |
25722 | ||
25723 | 2006-03-19 Tom Tromey <tromey@redhat.com> | |
25724 | ||
25725 | * vm/reference/gnu/classpath/Unsafe.java: | |
25726 | New class to handle low-level facilities for concurrency. | |
25727 | ||
4f9533c7 MW |
25728 | 2006-03-19 Mark Wielaard <mark@klomp.org> |
25729 | ||
25730 | * include/Makefile.am: Rename PlainDatagramSocketImpl to | |
25731 | VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl. | |
25732 | * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated. | |
25733 | * include/gnu_java_net_VMPlainSocketImpl.h: Likewise. | |
25734 | ||
25735 | 2006-03-19 Mark Wielaard <mark@klomp.org> | |
25736 | ||
25737 | * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return | |
25738 | familyName. | |
25739 | * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file. | |
25740 | ||
25741 | 2006-03-19 Michael Koch <konqueror@gmx.de> | |
25742 | ||
25743 | * resource/gnu/java/locale/LocaleInformation_aa_ET.properties, | |
25744 | resource/gnu/java/locale/LocaleInformation_am.properties, | |
25745 | resource/gnu/java/locale/LocaleInformation_am_ET.properties, | |
25746 | resource/gnu/java/locale/LocaleInformation_as_IN.properties, | |
25747 | resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties, | |
25748 | resource/gnu/java/locale/LocaleInformation_bg.properties, | |
25749 | resource/gnu/java/locale/LocaleInformation_bn_IN.properties, | |
25750 | resource/gnu/java/locale/LocaleInformation_ca.properties, | |
25751 | resource/gnu/java/locale/LocaleInformation_cs.properties, | |
25752 | resource/gnu/java/locale/LocaleInformation_cy.properties, | |
25753 | resource/gnu/java/locale/LocaleInformation_da.properties, | |
25754 | resource/gnu/java/locale/LocaleInformation_de.properties, | |
25755 | resource/gnu/java/locale/LocaleInformation_dv.properties, | |
25756 | resource/gnu/java/locale/LocaleInformation_el.properties, | |
25757 | resource/gnu/java/locale/LocaleInformation_en.properties, | |
25758 | resource/gnu/java/locale/LocaleInformation_en_GB.properties, | |
25759 | resource/gnu/java/locale/LocaleInformation_en_IN.properties, | |
25760 | resource/gnu/java/locale/LocaleInformation_en_PK.properties, | |
25761 | resource/gnu/java/locale/LocaleInformation_en_SG.properties, | |
25762 | resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties, | |
25763 | resource/gnu/java/locale/LocaleInformation_es.properties, | |
25764 | resource/gnu/java/locale/LocaleInformation_es_AR.properties, | |
25765 | resource/gnu/java/locale/LocaleInformation_es_BO.properties, | |
25766 | resource/gnu/java/locale/LocaleInformation_es_CL.properties, | |
25767 | resource/gnu/java/locale/LocaleInformation_es_CO.properties, | |
25768 | resource/gnu/java/locale/LocaleInformation_es_CR.properties, | |
25769 | resource/gnu/java/locale/LocaleInformation_es_DO.properties, | |
25770 | resource/gnu/java/locale/LocaleInformation_es_EC.properties, | |
25771 | resource/gnu/java/locale/LocaleInformation_es_ES.properties, | |
25772 | resource/gnu/java/locale/LocaleInformation_es_GT.properties, | |
25773 | resource/gnu/java/locale/LocaleInformation_es_HN.properties, | |
25774 | resource/gnu/java/locale/LocaleInformation_es_MX.properties, | |
25775 | resource/gnu/java/locale/LocaleInformation_es_NI.properties, | |
25776 | resource/gnu/java/locale/LocaleInformation_es_PA.properties, | |
25777 | resource/gnu/java/locale/LocaleInformation_es_PE.properties, | |
25778 | resource/gnu/java/locale/LocaleInformation_es_PR.properties, | |
25779 | resource/gnu/java/locale/LocaleInformation_es_PY.properties, | |
25780 | resource/gnu/java/locale/LocaleInformation_es_SV.properties, | |
25781 | resource/gnu/java/locale/LocaleInformation_es_US.properties, | |
25782 | resource/gnu/java/locale/LocaleInformation_es_UY.properties, | |
25783 | resource/gnu/java/locale/LocaleInformation_es_VE.properties, | |
25784 | resource/gnu/java/locale/LocaleInformation_fa.properties, | |
25785 | resource/gnu/java/locale/LocaleInformation_fa_AF.properties, | |
25786 | resource/gnu/java/locale/LocaleInformation_fa_IR.properties, | |
25787 | resource/gnu/java/locale/LocaleInformation_fi.properties, | |
25788 | resource/gnu/java/locale/LocaleInformation_fr.properties, | |
25789 | resource/gnu/java/locale/LocaleInformation_fr_CA.properties, | |
25790 | resource/gnu/java/locale/LocaleInformation_ga.properties, | |
25791 | resource/gnu/java/locale/LocaleInformation_gu_IN.properties, | |
25792 | resource/gnu/java/locale/LocaleInformation_hi_IN.properties, | |
25793 | resource/gnu/java/locale/LocaleInformation_hr.properties, | |
25794 | resource/gnu/java/locale/LocaleInformation_hu.properties, | |
25795 | resource/gnu/java/locale/LocaleInformation_id.properties, | |
25796 | resource/gnu/java/locale/LocaleInformation_is.properties, | |
25797 | resource/gnu/java/locale/LocaleInformation_it.properties, | |
25798 | resource/gnu/java/locale/LocaleInformation_ja.properties, | |
25799 | resource/gnu/java/locale/LocaleInformation_kk.properties, | |
25800 | resource/gnu/java/locale/LocaleInformation_kl.properties, | |
25801 | resource/gnu/java/locale/LocaleInformation_km.properties, | |
25802 | resource/gnu/java/locale/LocaleInformation_ky.properties, | |
25803 | resource/gnu/java/locale/LocaleInformation_lo.properties, | |
25804 | resource/gnu/java/locale/LocaleInformation_lo_LA.properties, | |
25805 | resource/gnu/java/locale/LocaleInformation_lt.properties, | |
25806 | resource/gnu/java/locale/LocaleInformation_lt_LT.properties, | |
25807 | resource/gnu/java/locale/LocaleInformation_lv.properties, | |
25808 | resource/gnu/java/locale/LocaleInformation_mk.properties, | |
25809 | resource/gnu/java/locale/LocaleInformation_mn.properties, | |
25810 | resource/gnu/java/locale/LocaleInformation_mr.properties, | |
25811 | resource/gnu/java/locale/LocaleInformation_mr_IN.properties, | |
25812 | resource/gnu/java/locale/LocaleInformation_ms.properties, | |
25813 | resource/gnu/java/locale/LocaleInformation_ms_BN.properties, | |
25814 | resource/gnu/java/locale/LocaleInformation_mt.properties, | |
25815 | resource/gnu/java/locale/LocaleInformation_nb.properties, | |
25816 | resource/gnu/java/locale/LocaleInformation_nl.properties, | |
25817 | resource/gnu/java/locale/LocaleInformation_nn.properties, | |
25818 | resource/gnu/java/locale/LocaleInformation_om_ET.properties, | |
25819 | resource/gnu/java/locale/LocaleInformation_or_IN.properties, | |
25820 | resource/gnu/java/locale/LocaleInformation_pa.properties, | |
25821 | resource/gnu/java/locale/LocaleInformation_pl.properties, | |
25822 | resource/gnu/java/locale/LocaleInformation_pt.properties, | |
25823 | resource/gnu/java/locale/LocaleInformation_ru.properties, | |
25824 | resource/gnu/java/locale/LocaleInformation_ru_RU.properties, | |
25825 | resource/gnu/java/locale/LocaleInformation_ru_UA.properties, | |
25826 | resource/gnu/java/locale/LocaleInformation_sa.properties, | |
25827 | resource/gnu/java/locale/LocaleInformation_sa_IN.properties, | |
25828 | resource/gnu/java/locale/LocaleInformation_sk.properties, | |
25829 | resource/gnu/java/locale/LocaleInformation_sr_Latn.properties, | |
25830 | resource/gnu/java/locale/LocaleInformation_sv.properties, | |
25831 | resource/gnu/java/locale/LocaleInformation_sw.properties, | |
25832 | resource/gnu/java/locale/LocaleInformation_sw_TZ.properties, | |
25833 | resource/gnu/java/locale/LocaleInformation_ta_IN.properties, | |
25834 | resource/gnu/java/locale/LocaleInformation_te.properties, | |
25835 | resource/gnu/java/locale/LocaleInformation_te_IN.properties, | |
25836 | resource/gnu/java/locale/LocaleInformation_th.properties, | |
25837 | resource/gnu/java/locale/LocaleInformation_ti.properties, | |
25838 | resource/gnu/java/locale/LocaleInformation_ti_ER.properties, | |
25839 | resource/gnu/java/locale/LocaleInformation_ti_ET.properties, | |
25840 | resource/gnu/java/locale/LocaleInformation_tr.properties, | |
25841 | resource/gnu/java/locale/LocaleInformation_tt.properties, | |
25842 | resource/gnu/java/locale/LocaleInformation_uk.properties, | |
25843 | resource/gnu/java/locale/LocaleInformation_ur.properties, | |
25844 | resource/gnu/java/locale/LocaleInformation_uz.properties, | |
25845 | resource/gnu/java/locale/LocaleInformation_zh.properties, | |
25846 | resource/gnu/java/locale/LocaleInformation_zh_Hant.properties: | |
25847 | More updates for CLDR 1.3. | |
25848 | ||
25849 | 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
25850 | ||
25851 | * doc/vmintegration.texinfo: | |
25852 | Updated to include VMArray. | |
25853 | * include/Makefile.am: | |
25854 | Replace java_lang_reflect_Array.h with | |
25855 | java_lang_reflect_VMArray.h | |
25856 | * include/java_lang_reflect_VMArray.h: | |
25857 | New autogenerated header. | |
25858 | * include/java_lang_reflect_Array.h: | |
25859 | Removed. | |
25860 | * java/lang/reflect/Array.java: | |
25861 | (newInstance(Class,int)): Calls VMArray. | |
25862 | (createMultiArray(Class,int[],int)): Likewise. | |
25863 | (createObjectArray(Class,int)): Removed. | |
25864 | * native/jni/java-lang/Makefile.am: | |
25865 | Replaced java_lang_reflect_Array.c with | |
25866 | java_lang_reflect_VMArray.c | |
25867 | * native/jni/java-lang/java_lang_reflect_VMArray.c: | |
25868 | Renamed from java_lang_reflect_Array.c. | |
25869 | * vm/reference/java/lang/reflect/VMArray.java: | |
25870 | (createObjectArray(Class,int)): Native method moved | |
25871 | from java.lang.reflect.Array. | |
25872 | ||
25873 | 2006-03-19 Roman Kennke <kennke@aicas.com> | |
25874 | ||
25875 | * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class. | |
25876 | * examples/gnu/classpath/examples/swing/MetalThemeEditor.java: | |
25877 | New class. | |
25878 | * examples/gnu/classpath/examples/swing/Demo.java | |
25879 | (mkButtonBar): Hook up theme editor. | |
25880 | (mkMenuBar): Hook up theme editor. | |
25881 | ||
25882 | 2006-03-19 Roman Kennke <kennke@aicas.com> | |
25883 | ||
25884 | * javax/swing/plaf/basic/BasicFileChooserUI.java | |
25885 | (ApproveSelectionAction.actionPerformed): Added case for when | |
25886 | nothing has been selected but the user has typed a filename | |
25887 | into the textfield. | |
25888 | (getFileName): Return the value of the text field. | |
25889 | ||
25890 | 2006-03-19 Roman Kennke <kennke@aicas.com> | |
25891 | ||
25892 | * javax/swing/JColorChooser.java | |
25893 | (createDialog): Create JDialog instead of ModalDialog. Make this | |
25894 | dialog modal by calling setModal(true). | |
25895 | (ModalDialog): Removed unnecessary inner class. | |
25896 | ||
25897 | 2006-03-19 Tom Tromey <tromey@redhat.com> | |
25898 | ||
25899 | * java/awt/font/NumericShaper.java: Rewrote. | |
25900 | ||
25901 | 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
25902 | ||
25903 | * javax/swing/plaf/basic/BasicTableUI.java: | |
25904 | Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK): | |
25905 | New field. MouseInputHandler.mouseWheelMoved): New method. | |
25906 | (installListeners): Register MouseInputHandler as | |
25907 | wheel listener also. | |
25908 | ||
25909 | 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
25910 | ||
25911 | PR 26746 | |
25912 | * javax/swing/ViewportLayout.java (layoutContainer): | |
25913 | If Scrollable tracks dimension, set view size to the port size. | |
25914 | If port is larger than the view, move the view to the top/left. | |
25915 | ||
25916 | 2006-03-19 Roman Kennke <kennke@aicas.com> | |
25917 | ||
25918 | * javax/swing/MenuSelectionManager.java | |
25919 | (isComponentPartOfCurrentMenu): Also consider the first element | |
25920 | in a menu selection list. Make a isDescendentFrom check instead | |
25921 | of simple equals to also catch sub components. | |
25922 | ||
25923 | 2006-03-19 Roman Kennke <kennke@aicas.com> | |
25924 | ||
25925 | * javax/swing/JComboBox.java | |
25926 | (actionPerformed): Fetch selected item directly from the editor | |
25927 | instead of trying to get it from the event. | |
25928 | ||
25929 | 2006-03-19 Roman Kennke <kennke@aicas.com> | |
25930 | ||
25931 | * javax/swing/plaf/basic/BasicComboBoxEditor.java | |
25932 | (listener): Removed field. | |
25933 | (BasicComboBoxEditor): Removed initialization of listener field. | |
25934 | (addActionListener): Add listener directly to editor. | |
25935 | (removeActionListener): Remove listener directly from editor. | |
25936 | (ComboBoxEditorListener): Removed class. | |
25937 | * javax/swing/plaf/basic/BasicComboBoxUI.java | |
25938 | (getPreferredSize): Fixed to return the minimumSize. | |
25939 | (getMinimumSize): Improved code for more clearness. | |
25940 | (getMaximumSize): Return (32767,32767) as requested by the mauve test. | |
25941 | (rectangleForCurrentValue): Correctly respect insets. | |
25942 | (getDefaultSize): Return preferredSize here. Dont override height | |
25943 | with 100. | |
25944 | (getDisplaySize): Moved around code for more clearness. Added | |
25945 | handling of prototype renderer. | |
25946 | (ComboBoxLayoutManager.layoutContainer): Set editor bounds after | |
25947 | arrowButton bounds since the former depends on the latter. | |
25948 | * javax/swing/plaf/metal/MetalComboBoxButton.java: | |
25949 | (MetalComboBoxButton): Make button rollover disabled. | |
25950 | (isFocusTraversable): Return false unconditionally. | |
25951 | * javax/swing/plaf/metal/MetalComboBoxEditor.java: | |
25952 | (EditorTextField): New class. Fixes the size properties. | |
25953 | (MetalComboBoxEditor): Create instance of EditorTextField. | |
25954 | * javax/swing/plaf/metal/MetalComboBoxUI.java: | |
25955 | (getMinimumSize): Fixed editable size. | |
25956 | ||
25957 | 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
25958 | ||
25959 | * javax/swing/JTable.java (BooleanCellRenderer): Rewritten. | |
25960 | ||
25961 | 2006-03-18 Roman Kennke <kennke@aicas.com> | |
25962 | ||
25963 | * javax/swing/plaf/metal/MetalToolBarUI.java | |
25964 | (update): Added overridden method to support OceanTheme. | |
25965 | ||
25966 | 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
25967 | ||
25968 | * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): | |
25969 | Activate the cell editing on character keystroke. | |
25970 | ||
25971 | 2006-03-18 Mark Wielaard <mark@klomp.org> | |
25972 | ||
25973 | * java/awt/Component.java (eventTypeEnabled): Handle | |
25974 | MouseEvent.MOUSE_WHEEL. | |
25975 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent): | |
25976 | New callback method. | |
25977 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
25978 | (AWT_MOUSE_WHEEL): New constant. | |
25979 | (AWT_WHEEL_UNIT_SCROLL): Likewise. | |
25980 | (postMouseWheelEventID): New static variable. | |
25981 | (cp_gtk_component_init_jni): Record postMouseWheelEventID. | |
25982 | (cp_gtk_component_connect_mouse_signals): Connect scroll-event. | |
25983 | (button_number): Renamed to ... | |
25984 | (button_number_direction): variable to hold button number or scroll | |
25985 | direction. | |
25986 | (component_button_press_cb): Use button_number_direction. | |
25987 | (component_scroll_cb): New static callback function. | |
25988 | ||
25989 | 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
25990 | ||
25991 | * javax.swing.JTable.java (TableTextField.scrollRectToVisible): | |
25992 | Return without action. | |
25993 | ||
25994 | 2006-03-18 Mark Wielaard <mark@klomp.org> | |
25995 | ||
25996 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent): | |
25997 | Don't cast graphics object to GdkGraphics. | |
25998 | (updateComponent): Likewise. | |
25999 | ||
26000 | 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
26001 | ||
26002 | * examples/gnu/classpath/examples/swing/TableDemo.java | |
26003 | (TModel.getColumnClass): Set second column to Icon. | |
26004 | (TModel.isCellEditable): Say icons are not editable. | |
26005 | (createContent): Fill the in second column with some icons from | |
26006 | MetalIconFactory. | |
26007 | ||
26008 | 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
26009 | ||
26010 | * examples/gnu/classpath/examples/swing/Demo.java | |
26011 | (mkButtonBar): Set maximal button bar height to the preferred height. | |
26012 | ||
26013 | 2006-03-18 Roman Kennke <kennke@aicas.com> | |
26014 | ||
26015 | * javax/swing/plaf/basic/BasicComboPopup.java | |
26016 | (show): Substract insets from scroller width. | |
26017 | (getPopupHeightForRowCount): If height==0, return a default of 100 | |
26018 | instead for empty ComboBoxes. | |
26019 | ||
26020 | 2006-03-18 Roman Kennke <kennke@aicas.com> | |
26021 | ||
26022 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
26023 | (PopupHelper.autoClosePopups): Removed field. | |
26024 | (PopupHelper.mousePressed): Removed processing of registered | |
26025 | autoclose popups. | |
26026 | (registerForAutoClose): Removed unneeded method. | |
26027 | (autoClosePopups): Removed unneeded method. | |
26028 | (registerForAutoClose): Removed unneeded method. | |
26029 | ||
26030 | 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
26031 | ||
26032 | * javax.swing.JTable.java (TableTextField): Set border. | |
26033 | (moveToCellBeingEdited): Do not adjust the editor boundaries | |
26034 | ||
26035 | 2006-03-18 Michael Koch <konqueror@gmx.de> | |
26036 | ||
26037 | * resource/gnu/java/locale/LocaleInformation_aa.properties, | |
26038 | resource/gnu/java/locale/LocaleInformation_af.properties, | |
26039 | resource/gnu/java/locale/LocaleInformation_am.properties, | |
26040 | resource/gnu/java/locale/LocaleInformation_ar.properties, | |
26041 | resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties, | |
26042 | resource/gnu/java/locale/LocaleInformation_be.properties, | |
26043 | resource/gnu/java/locale/LocaleInformation_bg.properties, | |
26044 | resource/gnu/java/locale/LocaleInformation_bn.properties, | |
26045 | resource/gnu/java/locale/LocaleInformation_ca.properties, | |
26046 | resource/gnu/java/locale/LocaleInformation_cs.properties, | |
26047 | resource/gnu/java/locale/LocaleInformation_cy.properties, | |
26048 | resource/gnu/java/locale/LocaleInformation_da.properties, | |
26049 | resource/gnu/java/locale/LocaleInformation_de.properties, | |
26050 | resource/gnu/java/locale/LocaleInformation_de_CH.properties, | |
26051 | resource/gnu/java/locale/LocaleInformation_dz.properties, | |
26052 | resource/gnu/java/locale/LocaleInformation_en.properties, | |
26053 | resource/gnu/java/locale/LocaleInformation_eo.properties, | |
26054 | resource/gnu/java/locale/LocaleInformation_es.properties, | |
26055 | resource/gnu/java/locale/LocaleInformation_et.properties, | |
26056 | resource/gnu/java/locale/LocaleInformation_eu.properties, | |
26057 | resource/gnu/java/locale/LocaleInformation_fa.properties, | |
26058 | resource/gnu/java/locale/LocaleInformation_fa_AF.properties, | |
26059 | resource/gnu/java/locale/LocaleInformation_fi.properties, | |
26060 | resource/gnu/java/locale/LocaleInformation_fo.properties, | |
26061 | resource/gnu/java/locale/LocaleInformation_fr.properties, | |
26062 | resource/gnu/java/locale/LocaleInformation_ga.properties, | |
26063 | resource/gnu/java/locale/LocaleInformation_gl.properties, | |
26064 | resource/gnu/java/locale/LocaleInformation_gu.properties, | |
26065 | resource/gnu/java/locale/LocaleInformation_he.properties, | |
26066 | resource/gnu/java/locale/LocaleInformation_hi.properties, | |
26067 | resource/gnu/java/locale/LocaleInformation_hr.properties, | |
26068 | resource/gnu/java/locale/LocaleInformation_hu.properties, | |
26069 | resource/gnu/java/locale/LocaleInformation_hy.properties, | |
26070 | resource/gnu/java/locale/LocaleInformation_id.properties, | |
26071 | resource/gnu/java/locale/LocaleInformation_is.properties, | |
26072 | resource/gnu/java/locale/LocaleInformation_it.properties, | |
26073 | resource/gnu/java/locale/LocaleInformation_ja.properties, | |
26074 | resource/gnu/java/locale/LocaleInformation_ka.properties, | |
26075 | resource/gnu/java/locale/LocaleInformation_km.properties, | |
26076 | resource/gnu/java/locale/LocaleInformation_ko.properties, | |
26077 | resource/gnu/java/locale/LocaleInformation_lo.properties, | |
26078 | resource/gnu/java/locale/LocaleInformation_lt.properties, | |
26079 | resource/gnu/java/locale/LocaleInformation_lv.properties, | |
26080 | resource/gnu/java/locale/LocaleInformation_mk.properties, | |
26081 | resource/gnu/java/locale/LocaleInformation_mr.properties, | |
26082 | resource/gnu/java/locale/LocaleInformation_ms.properties, | |
26083 | resource/gnu/java/locale/LocaleInformation_mt.properties, | |
26084 | resource/gnu/java/locale/LocaleInformation_nb.properties, | |
26085 | resource/gnu/java/locale/LocaleInformation_nl.properties, | |
26086 | resource/gnu/java/locale/LocaleInformation_nn.properties, | |
26087 | resource/gnu/java/locale/LocaleInformation_om.properties, | |
26088 | resource/gnu/java/locale/LocaleInformation_pl.properties, | |
26089 | resource/gnu/java/locale/LocaleInformation_ps.properties, | |
26090 | resource/gnu/java/locale/LocaleInformation_pt.properties, | |
26091 | resource/gnu/java/locale/LocaleInformation_pt_PT.properties, | |
26092 | resource/gnu/java/locale/LocaleInformation_ro.properties, | |
26093 | resource/gnu/java/locale/LocaleInformation_ru.properties, | |
26094 | resource/gnu/java/locale/LocaleInformation_sk.properties, | |
26095 | resource/gnu/java/locale/LocaleInformation_sl.properties, | |
26096 | resource/gnu/java/locale/LocaleInformation_so.properties, | |
26097 | resource/gnu/java/locale/LocaleInformation_sq.properties, | |
26098 | resource/gnu/java/locale/LocaleInformation_sr.properties, | |
26099 | resource/gnu/java/locale/LocaleInformation_sr_Latn.properties, | |
26100 | resource/gnu/java/locale/LocaleInformation_sv.properties, | |
26101 | resource/gnu/java/locale/LocaleInformation_sw.properties, | |
26102 | resource/gnu/java/locale/LocaleInformation_ta.properties, | |
26103 | resource/gnu/java/locale/LocaleInformation_te.properties, | |
26104 | resource/gnu/java/locale/LocaleInformation_th.properties, | |
26105 | resource/gnu/java/locale/LocaleInformation_tr.properties, | |
26106 | resource/gnu/java/locale/LocaleInformation_uk.properties, | |
26107 | resource/gnu/java/locale/LocaleInformation_uz.properties, | |
26108 | resource/gnu/java/locale/LocaleInformation_vi.properties, | |
26109 | resource/gnu/java/locale/LocaleInformation_zh.properties, | |
26110 | resource/gnu/java/locale/LocaleInformation_zh_Hant.properties: | |
26111 | Updated to use the new localized strings for currencies, languages, | |
26112 | variants, territories, etc. | |
26113 | ||
26114 | 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
26115 | ||
26116 | * gnu/regexp/REMatch.java(matchedCharIndexed): New field, | |
26117 | (start, end): Added comment about the negative values of them, | |
26118 | (finish): Saves the input text in matchedCharIndexed, | |
26119 | (toString): If the start or end index is out of bounds of the | |
26120 | matched text, get the substring from matchedCharIndexed. | |
26121 | Added special handlings in case start/end index < -1, | |
26122 | (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex): | |
26123 | Added special handlings in case start/end index < -1, | |
26124 | * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly | |
26125 | found match, but keep the index as the original match. | |
26126 | * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly | |
26127 | found match, but keep the index as the original match. | |
26128 | * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings | |
26129 | in case start/end index < -1. | |
26130 | ||
26131 | 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
26132 | ||
26133 | * gnu/java/rmi/activation/ActivationSystemTransient.java (debug): | |
26134 | Set to false. | |
26135 | ||
26136 | 2006-03-17 Robert Schuster <robertschuster@fsfe.org> | |
26137 | ||
26138 | * javax/swing/text/DefaultCaret.java: | |
26139 | (mouseClicked) Use setDot() and moveDot() instead of | |
26140 | JTextComponent.select(). | |
26141 | ||
26142 | 2006-03-17 Roman Kennke <kennke@aicas.com> | |
26143 | ||
26144 | * javax/swing/plaf/metal/MetalComboBoxEditor.java | |
26145 | (MetalComboBoxEditorBorder.paintBorder): Implemented special | |
26146 | border painting for the Ocean theme. | |
26147 | (MetalComboBoxEditor): Create editor directly instead of going | |
26148 | to super. | |
26149 | ||
26150 | 2006-03-17 Roman Kennke <kennke@aicas.com> | |
26151 | ||
26152 | * javax/swing/text/JTextComponent.java | |
26153 | (JTextComponent): Make text components opaque. | |
26154 | ||
26155 | 2006-03-17 Roman Kennke <kennke@aicas.com> | |
26156 | ||
26157 | * javax/swing/plaf/metal/MetalComboBoxUI.java | |
26158 | (MetalComboBoxLayoutManager.layoutContainer): Forward to | |
26159 | layoutComboBox(). | |
26160 | (MetalPropertyChangeListener.propertyChange): Update focusable | |
26161 | flag according to the enable and editable state. | |
26162 | (editablePropertyChanged): Removed unnecessary code. | |
26163 | (getMinimumSize): Rewritten to correctly compute the | |
26164 | size, respecting the insets of the components and the icon, | |
26165 | the visual properties of the combobox, etc. | |
26166 | (configureEditor): Update listeners correctly. | |
26167 | (unconfigureEditor): Update listeners correctly. | |
26168 | (layoutComboBox): Implemented. | |
26169 | ||
26170 | 2006-03-17 Roman Kennke <kennke@aicas.com> | |
26171 | ||
26172 | * javax/swing/plaf/metal/MetalComboBoxEditor.java | |
26173 | (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder | |
26174 | instead of Flush3DBorder. | |
26175 | (paintBorder): Fixed border painting. | |
26176 | (editorBorderInsets): Fixed border's insets. | |
26177 | ||
26178 | 2006-03-17 Roman Kennke <kennke@aicas.com> | |
26179 | ||
26180 | * javax/swing/plaf/metal/MetalComboBoxButton.java | |
26181 | (rendererPane): Documented. | |
26182 | (MetalComboBoxButton): Set enabled flag from ComboBox. | |
26183 | Set focusable flag from ComboBox's enabled flag. | |
26184 | (isFocusTraversable): Make button focus traversable if | |
26185 | ComboBox is not editable but enable. | |
26186 | (paintComponent): Fixed painting to correctly adjust | |
26187 | the boxes of the renderer and button. | |
26188 | ||
26189 | 2006-03-17 Roman Kennke <kennke@aicas.com> | |
26190 | ||
26191 | * javax/swing/plaf/basic/BasicButtonUI.java | |
26192 | (installDefaults): Only install UI margin if installed margin. | |
26193 | is null or a UIResource. | |
26194 | (uninstallDefaults): Only uninstall margin if it's | |
26195 | a UIResource. | |
26196 | ||
26197 | 2006-03-17 Robert Schuster <robertschuster@fsfe.org> | |
26198 | ||
26199 | * javax/swing/text/DefaultCaret.java: | |
26200 | (mouseClicked) Use setDot() and moveDot() instead of | |
26201 | JTextComponent.select(). | |
26202 | ||
26203 | 2006-03-17 Robert Schuster <robertschuster@fsfe.org> | |
26204 | ||
26205 | * javax/swing/text/DefaultEditorKit.java: Refactored anonymous | |
26206 | inner classes into package-private inner classes, added actions | |
26207 | for caret movement and selection to the next and previous word | |
26208 | and an action which selects the whole text. | |
26209 | ||
26210 | 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com> | |
26211 | ||
26212 | * javax/swing/Spring.java: Uncomment springdebug methods and | |
26213 | rename them toString. | |
26214 | * javax/swing/SpringLayout.java: Likewise. | |
26215 | ||
26216 | 2006-03-17 Robert Schuster <robertschuster@fsfe.org> | |
26217 | ||
26218 | * javax/swing/text/FieldView.java: | |
26219 | (viewToModel): Added call to adjust allocation area. | |
26220 | ||
26221 | 2006-03-17 Roman Kennke <kennke@aicas.com> | |
26222 | ||
26223 | * javax/swing/plaf/basic/BasicComboBoxUI.java | |
26224 | (mouseListener): Removed field. | |
26225 | (buttonBackground): Removed field. | |
26226 | (buttonShadow): Removed field. | |
26227 | (buttonDarkShadow): Removed field. | |
26228 | (buttonHighlight): Removed field. | |
26229 | (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize. | |
26230 | (installUI): Initialize and configure renderer and editor here. | |
26231 | (uninstallUI): Close popup before uninitializing. | |
26232 | Message popup that we are uninitializing. Clear layout. | |
26233 | (installDefaults): Install UI border. Don't install colors. | |
26234 | (installListeners): Install listeners fetched from the popup. | |
26235 | Remove handling of mouseListener. | |
26236 | (uninstallDefaults): Uninstall border. Don't handle colors. | |
26237 | (uninstallListeners): Don't handle mouseListener. Uninstall | |
26238 | listener from the popup. | |
26239 | (createMouseListener): Removed method. | |
26240 | (createRenderer): Create UIResource. | |
26241 | (installComponents): Cleaned up. | |
26242 | (uninstallComponents): Only remove renderer when it is | |
26243 | a UIResource. | |
26244 | (addEditor): Remove editor before adding new one. | |
26245 | Fetch editor from comboBox. | |
26246 | (removeEditor): Only do something when editor != null. Unconfigure | |
26247 | editor before removing. | |
26248 | (configureEditor): Add key listener. Call comboBox.configureEditor. | |
26249 | (unconfigureEditor): Removed key listener. | |
26250 | (configureArrowButton): Only handle when arrowButton != null. | |
26251 | Add mouse listeners to arrow button. | |
26252 | (unconfigureArrowButton): Remove listeners. | |
26253 | (createArrowButton): Don't handle colors here. | |
26254 | (setPopupVisible): Don't handle focus here. | |
26255 | (paint): Only paint when comboBox is not editable. Update | |
26256 | hasFocus flag. | |
26257 | (getPreferredSize): Implemented to be minimumSize + 4 pixels width. | |
26258 | (getMinimumSize): Respect insets here. | |
26259 | (getMaximumSize): Return preferredSize with width of 32767. | |
26260 | (getInsets): Return ComboBox insets. | |
26261 | (paintCurrentValue): Paint using currentValuePane. | |
26262 | Install correct colors. Don't revalidate. | |
26263 | (paintCurrentValueBackground): Implemented. | |
26264 | (getDefaultSize): Reimplemented using a default renderer. | |
26265 | (getDisplaySize): Reimplemented to use renderer. | |
26266 | (ComboBoxLayoutManager.preferredLayoutSize): Forward to component. | |
26267 | (ComboBoxLayoutManager.minimumLayoutSize): Forward to component. | |
26268 | (ComboBoxLayoutManager.layoutContainer): Fixed layout. | |
26269 | (FocusHandler.focusGained): Don't invalidate minimumSize. | |
26270 | (FocusHandler.focusLost): Don't invalidate minimumSize. | |
26271 | Only close popup if focus change is not temporary. | |
26272 | (ItemHandler.itemStateChanged): Don't invalidate minimumSize. | |
26273 | Reconfigure editor if not null. | |
26274 | (ListDataHandler.contentsChanged): Revalidate and reconfigure | |
26275 | editor if necessary. | |
26276 | (ListDataHandler.intervalAdded): Fixed updating of the display size. | |
26277 | (ListDataHandler.intervalRemoved): Forward to contentsChanged. | |
26278 | (MouseHandler): Removed unnecessary class. | |
26279 | ||
26280 | 2006-03-17 Robert Schuster <robertschuster@fsfe.org> | |
26281 | ||
26282 | * examples/gnu/classpath/examples/swing/Demo.java: | |
26283 | (Demo): Set default closing operation to shutdown the runtime. | |
26284 | ||
26285 | 2006-03-17 Roman Kennke <kennke@aicas.com> | |
26286 | ||
26287 | * javax/swing/plaf/basic/BasicComboPopup.java | |
26288 | (BasicComboPopup): Create listeners here. | |
26289 | Configure components here. | |
26290 | (show): Correctly calculate bounds using computePopupBounds(). | |
26291 | Make scroller fixed-size. Removed special autocloser handling. | |
26292 | (hide): Rewritten to use MenuSelectionHandler. | |
26293 | (createList): Don't set selection mode here. | |
26294 | (configureList): Correctly install colors and fonts and selectionMode. | |
26295 | (createScroller): Set scrollpane policies. | |
26296 | (configureScroller): Make scroller and scrollbar not-focusable. | |
26297 | (configurePopup): Make popup opaque and borderPainted. | |
26298 | (installComboBoxListeners): Don't install mouse listener on ComboBox. | |
26299 | (delegateFocus): Implemented. | |
26300 | (convertMouseEvent): Implemented. | |
26301 | (updateListBoxSelectionForEvent): Implemented to also handle | |
26302 | autoscrolling. | |
26303 | (InvocationMouseHandler.mousePressed): Delegate focus correctly. | |
26304 | Only open popup on left mouse-click. | |
26305 | (InvocationMouseHandler.mouseReleased): Rewritten. | |
26306 | (InvocationMouseMotionHandler.mouseDragged): Rewritten to better | |
26307 | support autoscrolling. | |
26308 | (ItemHandler.itemStateChanged): Implemented to sync selection with | |
26309 | the comboBox. | |
26310 | (ListMouseHandler.mouseReleased): Fetch selected index directly | |
26311 | from list. | |
26312 | (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside | |
26313 | the list box. | |
26314 | (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here. | |
26315 | When model changes, then update listeners correctly. | |
26316 | (uninstallListeners): Don't uninstall list listeners. | |
26317 | (uninstallComboBoxListeners): Don't uninstall mouse listeners | |
26318 | from comboBox. | |
26319 | (syncSelection): New helper method. | |
26320 | ||
26321 | 2006-03-17 Robert Schuster <robertschuster@fsfe.org> | |
26322 | ||
26323 | * javax/swing/text/PlainView.java: | |
26324 | (drawLine): Rewritten. | |
26325 | (drawSelectedText): Corrected last argument for | |
26326 | Utilities.drawTabbedText() call. | |
26327 | (paint): Store start and end of selection in object variables, | |
26328 | store constant values of for-loop in local variables. | |
26329 | * javax/swing/text/Utilities.java: | |
26330 | (drawTabbedText): Add 'pixelWidth' to the return value, store | |
26331 | constant value of for-loop in local variable. | |
26332 | ||
26333 | 2006-03-17 Roman Kennke <kennke@aicas.com> | |
26334 | ||
26335 | * javax/swing/plaf/basic/BasicComboPopup.java | |
26336 | (BasicComboPopup): Create listeners here. | |
26337 | Configure components here. | |
26338 | (show): Correctly calculate bounds using computePopupBounds(). | |
26339 | Make scroller fixed-size. Removed special autocloser handling. | |
26340 | (hide): Rewritten to use MenuSelectionHandler. | |
26341 | (createList): Don't set selection mode here. | |
26342 | (configureList): Correctly install colors and fonts and selectionMode. | |
26343 | (createScroller): Set scrollpane policies. | |
26344 | (configureScroller): Make scroller and scrollbar not-focusable. | |
26345 | (configurePopup): Make popup opaque and borderPainted. | |
26346 | (installComboBoxListeners): Don't install mouse listener on ComboBox. | |
26347 | (delegateFocus): Implemented. | |
26348 | (convertMouseEvent): Implemented. | |
26349 | (updateListBoxSelectionForEvent): Implemented to also handle | |
26350 | autoscrolling. | |
26351 | (InvocationMouseHandler.mousePressed): Delegate focus correctly. | |
26352 | Only open popup on left mouse-click. | |
26353 | (InvocationMouseHandler.mouseReleased): Rewritten. | |
26354 | (InvocationMouseMotionHandler.mouseDragged): Rewritten to better | |
26355 | support autoscrolling. | |
26356 | (ItemHandler.itemStateChanged): Implemented to sync selection with | |
26357 | the comboBox. | |
26358 | (ListMouseHandler.mouseReleased): Fetch selected index directly | |
26359 | from list. | |
26360 | (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside | |
26361 | the list box. | |
26362 | (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here. | |
26363 | When model changes, then update listeners correctly. | |
26364 | (uninstallListeners): Don't uninstall list listeners. | |
26365 | (uninstallComboBoxListeners): Don't uninstall mouse listeners | |
26366 | from comboBox. | |
26367 | (syncSelection): New helper method. | |
26368 | ||
26369 | 2006-03-17 Roman Kennke <kennke@aicas.com> | |
26370 | ||
26371 | * javax/swing/plaf/basic/BasicComboBoxRenderer.java | |
26372 | (noFocusBorder): Make border with insets of (1,1,1,1). | |
26373 | (BasicComboBoxRenderer): Make renderer opaque. | |
26374 | No need to explicitly set alignment. | |
26375 | (getListCellRendererComponent): Rewritten to correctly initialize | |
26376 | color and font. | |
26377 | ||
26378 | 2006-03-17 Roman Kennke <kennke@aicas.com> | |
26379 | ||
26380 | * javax/swing/JPopupMenu.java | |
26381 | (setVisible): Handle JPopupMenu opening and closing via | |
26382 | the MenuSelectionHandler. | |
26383 | ||
26384 | 2006-03-17 Wolfgang Baer <WBaer@gmx.de> | |
26385 | ||
26386 | * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final. | |
26387 | * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise. | |
26388 | * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: | |
26389 | Likewise. | |
26390 | * org/omg/CORBA/portable/RemarshalException.java: Likewise | |
26391 | * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise. | |
26392 | * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise. | |
26393 | * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise. | |
26394 | * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise. | |
26395 | * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise. | |
26396 | * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise. | |
26397 | * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise. | |
26398 | * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise. | |
26399 | * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes. | |
26400 | ||
26401 | 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
26402 | ||
26403 | * java/rmi/activation/Activatable.java: Implemented. | |
26404 | java/rmi/activation/ActivationDesc.java: Implemented. | |
26405 | java/rmi/activation/ActivationGroup.java: Implemented. | |
26406 | java/rmi/activation/ActivationGroupDesc.java: Implemented. | |
26407 | java/rmi/activation/ActivationID.java: Implemented. | |
26408 | java/rmi/activation/ActivationSystem.java: Implemented. | |
26409 | * gnu/java/rmi/server/UnicastServerRef.java | |
26410 | (exportObject, incommingMessageCall): Documented. | |
26411 | * java/rmi/activation/package.html: Documented. | |
26412 | * java/rmi/server/ObjID.java (objNum, space): Made package | |
26413 | protected. | |
26414 | * gnu/java/rmi/server/UnicastServer.java: Rewritten. | |
26415 | * gnu/java/rmi/server/CombinedClassLoader.java (constructor): | |
26416 | Iteration bug fix. | |
26417 | * gnu/java/rmi/activation/ActivationSystemTransient.java: New file. | |
26418 | gnu/java/rmi/activation/BidiTable.java: New file. | |
26419 | gnu/java/rmi/activation/DefaultActivationGroup.java: New file. | |
26420 | gnu/java/rmi/activation/DefaultActivationSystem.java: New file. | |
26421 | gnu/java/rmi/server/ActivatableServerRef.java: New file. | |
26422 | ||
26423 | 2006-03-17 Mark Wielaard <mark@klomp.org> | |
26424 | ||
26425 | * java/security/BasicPermission.java (BasicPermission): Check | |
26426 | name equals empty string to force NullPointerException. | |
26427 | ||
26428 | 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com> | |
26429 | ||
26430 | PR classpath/26606 | |
26431 | Commit patch by Caolan McNamara <caolanm@redhat.com> | |
26432 | * javax/swing/Spring.java: Complete implementation | |
26433 | * javax/swing/SpringLayout.java: Likewise. | |
26434 | ||
26435 | 2006-03-16 Keith Seitz <keiths@redhat.com> | |
26436 | ||
26437 | * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed | |
26438 | all references. | |
26439 | (run): Remove catch clause for InterruptedException. It is no | |
26440 | longer necessary. | |
26441 | ||
26442 | 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com> | |
26443 | ||
26444 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c | |
26445 | (getFontMetrics): Handle monospaced fonts specially. | |
26446 | ||
26447 | 2006-03-16 Keith Seitz <keiths@redhat.com> | |
26448 | ||
26449 | * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method. | |
26450 | * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java | |
26451 | (suspendAllThreads): Use Jdwp.getJdwpThreadGroup. | |
26452 | Don't suspend the current thread unless it is not part of the JDWP | |
26453 | thread group. | |
26454 | ||
26455 | 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com> | |
26456 | ||
26457 | * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always | |
26458 | return 0. | |
26459 | * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get | |
26460 | font metrics through toolkit. | |
26461 | * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics): | |
26462 | Likewise. | |
26463 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c | |
26464 | (getFontMetrics): To calculate Java logical ascent and descent | |
26465 | values, average Pango ink and logical values. | |
26466 | ||
26467 | 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com> | |
26468 | ||
26469 | * java/lang/Character.java: Updated header comment. | |
26470 | ||
26471 | 2006-03-16 Tom Tromey <tromey@redhat.com> | |
26472 | ||
26473 | * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New | |
26474 | constructor. | |
26475 | * javax/sound/sampled/FloatControl.java: Now abstract. | |
26476 | * javax/sound/sampled/EnumControl.java: Now abstract. | |
26477 | * javax/sound/sampled/CompoundControl.java: Now abstract. | |
26478 | * javax/sound/sampled/BooleanControl.java: Now abstract. | |
26479 | ||
26480 | 2006-03-16 Tom Tromey <tromey@redhat.com> | |
26481 | ||
26482 | * java/awt/image/ConvolveOp.java (getBounds2D): Now final. | |
26483 | ||
26484 | 2006-03-16 Roman Kennke <kennke@aicas.com> | |
26485 | ||
26486 | * java/util/zip/ZipFile.java | |
26487 | (openFile): New helper method. | |
26488 | (ZipFile): Use new openFile method to ensure the proper | |
26489 | exception is thrown. This applies for all overloaded constructors. | |
26490 | ||
26491 | 2006-03-16 Roman Kennke <kennke@aicas.com> | |
26492 | ||
26493 | * java/text/DateFormatSymbols.java | |
26494 | (setAmPmStrings): Added null check and throw NPE. | |
26495 | (setEras): Likewise. | |
26496 | (setLocalPatternChars): Likewise. | |
26497 | (setMonths): Likewise. | |
26498 | (setShortMonths): Likewise. | |
26499 | (setShortWeekdays): Likewise. | |
26500 | (setWeekdays): Likewise. | |
26501 | (setZoneStrings): Likewise. | |
26502 | ||
26503 | 2006-03-16 Roman Kennke <kennke@aicas.com> | |
26504 | ||
26505 | * javax/swing/DefaultDesktopManager.java | |
26506 | (iconifyFrame): Repaint after removing the frame. | |
26507 | (removeIconFor): Repaint after removing the icon. | |
26508 | ||
26509 | 2006-03-16 Roman Kennke <kennke@aicas.com> | |
26510 | ||
26511 | * javax/swing/JInternalFrame.java | |
26512 | (remove): Respect the rootPaneCheckingEnabled flag here. | |
26513 | ||
26514 | 2006-03-16 Roman Kennke <kennke@aicas.com> | |
26515 | ||
26516 | * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java | |
26517 | Moved from examples into gnu.javax.swing.. namespace. | |
26518 | * examples/gnu/classpath/examples/swing/GNULookAndFeel.java | |
26519 | Moved to gnu.javax.swing.. namespace. | |
26520 | * examples/gnu/classpath/examples/swing/Demo.java: | |
26521 | (themesMenu): New field. Used to disable theme switch in | |
26522 | non-Metal-L&Fs. | |
26523 | (mkMenuBar): Added L&F menu. | |
26524 | (ChangeThemeAction.actionPerformed): Only switch theme when | |
26525 | in Metal L&F. | |
26526 | (ChangeLAFAction): New class used for changing themes. | |
26527 | * javax/swing/UIManager.java | |
26528 | (installed): Added GNU L&F as installed L&F. | |
26529 | ||
26530 | 2006-03-16 Mark Wielaard <mark@klomp.org> | |
26531 | ||
26532 | * examples/gnu/classpath/examples/swing/badge.png: Removed. | |
26533 | * examples/gnu/classpath/examples/icons/badge.png: Added. | |
26534 | * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge | |
26535 | from icon directory. | |
26536 | ||
26537 | 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com> | |
26538 | ||
26539 | * examples/gnu/classpath/examples/awt/AnimationApplet.java: New | |
26540 | example. | |
26541 | * examples/gnu/classpath/examples/swing/FillRect.java: Likewise. | |
26542 | * examples/gnu/classpath/examples/awt/Demo.java: Add | |
26543 | AnimationApplet demo. | |
26544 | * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect | |
26545 | demo. | |
26546 | ||
26547 | 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com> | |
26548 | ||
26549 | PR classpath/26486 | |
26550 | * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove | |
26551 | method. | |
26552 | (handleEvent): Likewise. | |
26553 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint): | |
26554 | Remove field. | |
26555 | (beginNativeRepaint): Remove method. | |
26556 | (endNativeRepaint): Likewise. | |
26557 | (handleEvent): Call paintComponent and updateComponent. | |
26558 | (paintComponent): New method. | |
26559 | (updateComponent): Likewise. | |
26560 | (repaint): Return early if width or height is less than one. | |
26561 | (postExposeEvent): Remove isInRepaint reference. | |
26562 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics): | |
26563 | Remove method. | |
26564 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit | |
26565 | from GtkWindowPeer. | |
26566 | (postMouseEvent): Likewise. | |
26567 | (postExposeEvent): Likewise. | |
26568 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent): | |
26569 | Override to do nothing. | |
26570 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit | |
26571 | from GtkWindowPeer. | |
26572 | (postMouseEvent): Likewise. | |
26573 | (postExposeEvent): Likewise. | |
26574 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit | |
26575 | paint and update handling from GtkComponentPeer. | |
26576 | (updateComponent): Override to call paintComponent. | |
26577 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace | |
26578 | gdk_flush calls with schedule_flush calls. | |
26579 | (flush): New function. | |
26580 | (schedule_flush): Likewise. | |
26581 | ||
26582 | 2006-03-15 Tom Tromey <tromey@redhat.com> | |
26583 | ||
26584 | * java/beans/beancontext/BeanContextSupport.java (BCSChild): New | |
26585 | constructor. | |
26586 | (BCSIterator): Likewise. | |
26587 | * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild): | |
26588 | New constructor. | |
26589 | (BCSSProxyServiceProvider): Likewise. | |
26590 | (BCSSServiceProvider): Likewise. | |
26591 | ||
26592 | 2006-03-15 Tom Tromey <tromey@redhat.com> | |
26593 | ||
26594 | * javax/sound/midi/Track.java (Track): New constructor. | |
26595 | (events): Now package-private. | |
26596 | * javax/sound/midi/MidiUnavailableException.java | |
26597 | (MidiUnavailableException): Removed invalid constructors. | |
26598 | * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor. | |
26599 | * javax/sound/midi/InvalidMidiDataException.java | |
26600 | (InvalidMidiDataException): Removed invalid constructors. | |
26601 | * javax/sound/midi/Sequencer.java (hashCode): Now final. | |
26602 | * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected. | |
26603 | * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected. | |
26604 | (SYSTEM_EXCLUSIVE): Removed. | |
26605 | (getDataLength): Updated. | |
26606 | * javax/sound/midi/MidiDevice.java (Info): Now protected. | |
26607 | (equals): Now final | |
26608 | (getName): Now final. | |
26609 | (getVendor): Now final. | |
26610 | (getDescription): Likewise. | |
26611 | (hashCode): Likewise. | |
26612 | (getVersion): Likewise. | |
26613 | (toString): Likewise. | |
26614 | * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected. | |
26615 | * javax/sound/sampled/ReverbType.java (getDecayTime): Now final. | |
26616 | (getEarlyReflectionDelay): Likewise. | |
26617 | (getEarlyReflectionIntensity): Likewise. | |
26618 | (getLateReflectionDelay): Likewise. | |
26619 | (getLateReflectionIntensity): Likewise. | |
26620 | (toString): Likewise. | |
26621 | * javax/sound/sampled/Port.java (toString): Now final. | |
26622 | * javax/sound/sampled/LineEvent.java (getFramePosition): Now final. | |
26623 | (getLine): Likewise. | |
26624 | (getType): Likewise. | |
26625 | * javax/sound/sampled/Mixer.java (Info): Now protected. | |
26626 | (getDescription): Now final. | |
26627 | (getName): Likewise. | |
26628 | (getVendor): Likewise. | |
26629 | (getVersion): Likewise. | |
26630 | (toString): Likewise. | |
26631 | * javax/sound/sampled/Control.java: Now abstract. | |
26632 | (Type.toString): Now final. | |
26633 | ||
26634 | 2006-03-15 Keith Seitz <keiths@redhat.com> | |
26635 | ||
26636 | * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances | |
26637 | of this redundant variable. | |
26638 | (LineTable): Assert that the number of line numbers and the number of | |
26639 | code indicies is the same. | |
26640 | ||
26641 | 2006-03-15 Tom Tromey <tromey@redhat.com> | |
26642 | ||
26643 | * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now | |
26644 | final. | |
26645 | * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc | |
26646 | fix. | |
26647 | * java/util/zip/ZipFile.java (ENDNRD): New constant. | |
26648 | * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed. | |
26649 | * java/util/zip/Inflater.java (end): Not deprecated. | |
26650 | * java/util/zip/Deflater.java (end): Not deprecated. | |
26651 | * java/text/Bidi.java (Bidi): Now final. | |
26652 | * java/nio/MappedByteBuffer.java (finalize): Now protected. | |
26653 | ||
26654 | 2006-03-15 Keith Seitz <keiths@redhat.com> | |
26655 | ||
26656 | * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod. | |
26657 | (Location): Index is a long, not an int. | |
26658 | (getMethod): New method. | |
26659 | (getIndex): New method. | |
26660 | (toString): New method. | |
26661 | ||
26662 | 2006-03-15 Tom Tromey <tromey@redhat.com> | |
26663 | ||
26664 | * java/awt/image/RescaleOp.java (getRenderingHints): Now final. | |
26665 | * java/awt/image/LookupOp.java (filter): Now final. | |
26666 | (getBounds2D): Likewise. | |
26667 | (getPoint2D): Likewise. | |
26668 | (getTable): Likewise. | |
26669 | (getRenderingHints): Likewise. | |
26670 | * java/awt/image/ConvolveOp.java (filter): Now final. | |
26671 | (getBounds2D): Likewise. | |
26672 | (getKernel): Likewise. | |
26673 | (getPoint2D): Likewise. | |
26674 | (getRenderingHints): Likewise. | |
26675 | * java/awt/image/BandCombineOp.java (getPoint2D): Now final. | |
26676 | (getMatrix): Likewise. | |
26677 | (getBounds2D): Likewise. | |
26678 | (getRenderingHints): Likewise. | |
26679 | * java/awt/image/AffineTransformOp.java (getPoint2D): Now final. | |
26680 | * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now | |
26681 | private. | |
26682 | * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now | |
26683 | protected. | |
26684 | * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now | |
26685 | protected. | |
26686 | * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected. | |
26687 | ||
26688 | 2006-03-15 Keith Seitz <keiths@redhat.com> | |
26689 | ||
26690 | * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java: | |
26691 | Update javadoc. | |
26692 | (matches): Implement. | |
26693 | ||
26694 | 2006-03-15 Keith Seitz <keiths@redhat.com> | |
26695 | ||
26696 | * gnu/classpath/jdwp/event/BreakpointEvent.java: New file. | |
26697 | ||
26698 | * gnu/classpath/jdwp/exception/NativeMethodException.java: New file. | |
26699 | ||
26700 | 2006-03-15 Tom Tromey <tromey@redhat.com> | |
26701 | ||
26702 | * java/lang/StrictMath.java (signum): New methods. | |
26703 | ||
26704 | 2006-03-15 Tom Tromey <tromey@redhat.com> | |
26705 | ||
26706 | * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces. | |
26707 | ||
26708 | 2006-03-15 Lillian Angel <langel@redhat.com> | |
26709 | ||
26710 | PR classpath/24211 | |
26711 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
26712 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked): | |
26713 | Added check to avoid segmentation fault. | |
26714 | ||
26715 | 2006-03-15 Lillian Angel <langel@redhat.com> | |
26716 | ||
26717 | * java/awt/Container.java | |
26718 | (getComponentAt): Fixed documentation. | |
26719 | (getComponentAt): Likewise. | |
26720 | ||
26721 | 2006-03-15 Roman Kennke <kennke@aicas.com> | |
26722 | ||
26723 | * javax/swing/JComponent.java | |
26724 | (dragBuffer): New field. | |
26725 | (dragBufferInitialized): New field. | |
26726 | (paint): Added facility for buffered dragging of components. | |
26727 | (initializeDragBuffer): New method. | |
26728 | (getConditionForKeyStroke): Removed deprecated flag. Adjusted | |
26729 | API docs. | |
26730 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
26731 | (BorderListener.mouseDragged): Turn on buffered dragging. | |
26732 | (BorderListener.mouseReleased): Turn off buffered dragging. | |
26733 | ||
26734 | 2006-03-15 Lillian Angel <langel@redhat.com> | |
26735 | ||
26736 | * java/awt/Container.java | |
26737 | (getComponentAt): Fixed documentation. | |
26738 | (getComponentAt): Likewise. | |
26739 | (findComponentAt): Likewise. | |
26740 | (findComponentAt): Likewise. | |
26741 | ||
26742 | 2006-03-15 Roman Kennke <kennke@aicas.com> | |
26743 | ||
26744 | * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java | |
26745 | (PropertyChangeHandler.propertyChange): Call enableActions(). | |
26746 | Fixed 'iconable' property name. | |
26747 | ||
26748 | 2006-03-15 Chris Burdess <dog@gnu.org> | |
26749 | ||
26750 | Fixes PR 26700 | |
26751 | * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive. | |
26752 | ||
26753 | 2006-03-15 Roman Kennke <kennke@aicas.com> | |
26754 | ||
26755 | * examples/gnu/classpath/examples/swing/Demo.java: | |
26756 | (desktop): New field. | |
26757 | (mkMenuBar): Added new subdemos. | |
26758 | (mkButtonWorld): Removed. | |
26759 | (CheckCellRenderer): Moved to ListDemo. | |
26760 | (LabelCellRenderer): Moved to ListDemo. | |
26761 | (mkTreeWorld): Moved to TreeDemo. | |
26762 | (mkDesktopWorld): Removed. | |
26763 | (mkTabWorld): Moved to TabbedPaneDemo. | |
26764 | (mkTabbedPane): Removed. | |
26765 | (Demo): Replaced 'worlds' tabbed pane with desktop. | |
26766 | (PopupAction): Made class non-static. | |
26767 | (PopupAction.actionPerformed): Bring up subdemos in internal | |
26768 | frame. | |
26769 | (mkButtonBar): Added new demos. | |
26770 | (createDesktop): New method. | |
26771 | * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class. | |
26772 | * examples/gnu/classpath/examples/swing/ListDemo.java: New demo. | |
26773 | * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo. | |
26774 | * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo. | |
26775 | * examples/gnu/classpath/examples/swing/badge.png: New image file. | |
26776 | ||
26777 | 2006-03-15 Lillian Angel <langel@redhat.com> | |
26778 | ||
26779 | * java/awt/Container.java | |
26780 | (getComponentAt): Fixed mistake in comments. | |
26781 | (getComponentAt): Likewise. | |
26782 | (locate): Likewise. Also, handled lightweight components. | |
26783 | Heavyweights take precedence over lightweights, so we should | |
26784 | iterate through the heavyweights first. | |
26785 | ||
26786 | 2006-03-15 Lillian Angel <langel@redhat.com> | |
26787 | ||
26788 | * java/awt/Container.java | |
26789 | (getComponentAt): Added API documentation. | |
26790 | (getComponentAt): Likewise. | |
26791 | (locate): Likewise. Also, removed lines to ignore | |
26792 | invisible components. | |
26793 | (findComponentAt): Added API documentation. | |
26794 | (findComponentAt): Added API documentation. | |
26795 | (findComponentForMouseEvent): Removed, never used. | |
26796 | ||
26797 | 2006-03-15 Roman Kennke <kennke@aicas.com> | |
26798 | ||
26799 | * javax/swing/Popup.java | |
26800 | (LightweightPopup.show): Repaint the panel after showing it. | |
26801 | ||
26802 | 2006-03-15 Lillian Angel <langel@redhat.com> | |
26803 | ||
26804 | * java/awt/Component.java | |
26805 | (show): repaint should only be called if the component | |
26806 | isShowing and isLightweight. | |
26807 | ||
26808 | 2006-03-15 Roman Kennke <kennke@aicas.com> | |
26809 | ||
26810 | * javax/swing/JInternalFrame.java | |
26811 | (setClosable): Made this property bound. | |
26812 | (setResizable): Made this property bound. | |
26813 | (setIconifiable): Made this property bound. | |
26814 | (setMaximizable): Made this property bound. | |
26815 | ||
26816 | 2006-03-15 David Gilbert <david.gilbert@object-refinery.com> | |
26817 | ||
26818 | * javax/swing/table/TableColumn.java | |
26819 | (sizeWidthToFit): Implemented. | |
26820 | ||
26821 | 2006-03-15 David Gilbert <david.gilbert@object-refinery.com> | |
26822 | ||
26823 | * javax/swing/table/TableColumn.java: API docs updated all over, plus | |
26824 | (setIdentifier): Fire required PropertyChangeEvent, | |
26825 | (setCellEditor): Likewise. | |
26826 | ||
26827 | 2006-03-15 Roman Kennke <kennke@aicas.com> | |
26828 | ||
26829 | * examples/gnu/classpath/examples/swing/ButtonDemo.java, | |
26830 | * examples/gnu/classpath/examples/swing/ComboBoxDemo.java, | |
26831 | * examples/gnu/classpath/examples/swing/FileChooserDemo.java, | |
26832 | * examples/gnu/classpath/examples/swing/ProgressBarDemo.java, | |
26833 | * examples/gnu/classpath/examples/swing/ScrollBarDemo.java, | |
26834 | * examples/gnu/classpath/examples/swing/SliderDemo.java, | |
26835 | * examples/gnu/classpath/examples/swing/SpinnerDemo.java, | |
26836 | * examples/gnu/classpath/examples/swing/TableDemo.java, | |
26837 | * examples/gnu/classpath/examples/swing/TextAreaDemo.java, | |
26838 | * examples/gnu/classpath/examples/swing/TextFieldDemo.java: | |
26839 | Reworked to implemented DemoFactory and lazy loading of Sub-demos. | |
26840 | * examples/gnu/classpath/examples/swing/Demo.java: | |
26841 | Cleaned up. Reworked handling of Sub-demos to load lazily. | |
26842 | * examples/gnu/classpath/examples/swing/DemoFactory.java: | |
26843 | New interface. Used for loading the subdemos lazily. | |
26844 | ||
26845 | 2006-03-15 Roman Kennke <kennke@aicas.com> | |
26846 | ||
26847 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
26848 | (PropertyListener.propertyChange): Added null check to avoid NPE. | |
26849 | ||
26850 | 2006-03-14 David Gilbert <david.gilbert@object-refinery.com> | |
26851 | ||
26852 | * javax/swing/table/TableColumn.java | |
26853 | (COLUMN_WIDTH_PROPERTY): Updated API docs, | |
26854 | (width): Likewise. | |
26855 | (minWidth): Likewise, | |
26856 | (preferredWidth): Likewise, | |
26857 | (maxWidth): Likewise, | |
26858 | (headerRenderer): Likewise, | |
26859 | (cellRenderer): Likewise, | |
26860 | (cellEditor): Likewise, | |
26861 | (changeSupport): Likewise, | |
26862 | (firePropertyChange(String, Object, Object)): Removed, | |
26863 | (firePropertyChange(String, int. int)): Likewise, | |
26864 | (firePropertyChange(String, boolean, boolean)): Likewise, | |
26865 | (setModelIndex): Fire property change, | |
26866 | (setHeaderValue): Call changeSupport directly to generate event, | |
26867 | (setHeaderRenderer): Likewise, | |
26868 | (setCellRenderer): Likewise, | |
26869 | (setWidth): Likewise, | |
26870 | (setPreferredWidth): Likewise, | |
26871 | (setMinWidth): Likewise, | |
26872 | (setMaxWidth): Likewise, | |
26873 | (createDefaultHeaderRenderer): Added API docs. | |
26874 | ||
26875 | 2006-03-14 Roman Kennke <kennke@aicas.com> | |
26876 | ||
26877 | * examples/gnu/classpath/examples/swing/Demo.java | |
26878 | Removed static initializer. | |
26879 | (mkMenuBar): Made method non-static. Added themes menu. | |
26880 | (ChangeThemeAction): New inner class, used to change themes. | |
26881 | ||
26882 | 2006-03-14 David Gilbert <david.gilbert@object-refinery.com> | |
26883 | ||
26884 | * javax/swing/table/TableColumn.java | |
26885 | (setMaxWidth): Updated width and preferredWidth if necessary, | |
26886 | (getMaxWidth): Updated API docs. | |
26887 | ||
26888 | 2006-03-14 Roman Kennke <kennke@aicas.com> | |
26889 | ||
26890 | * javax/swing/plaf/basic/BasicSliderUI.java | |
26891 | (TrackListener.mouseDragged): Only process event when slider is | |
26892 | enabled. | |
26893 | (TrackListener.mouseReleased): Only process event when slider is | |
26894 | enabled. | |
26895 | (TrackListener.mousePressed): Only process event when slider is | |
26896 | enabled. | |
26897 | ||
26898 | 2006-03-14 Roman Kennke <kennke@aicas.com> | |
26899 | ||
26900 | * NEWS: Added note about OceanTheme support. | |
26901 | ||
26902 | 2006-03-14 Roman Kennke <kennke@aicas.com> | |
26903 | ||
26904 | * javax/swing/plaf/metal/MetalIconFactory.java | |
26905 | (HorizontalSliderThumbIcon.gradientMask): New field | |
26906 | (HorizontalSliderThumbIcon.paintIcon): Added support for the | |
26907 | OceanTheme. | |
26908 | (VerticalSliderThumbIcon.gradientMask): New field | |
26909 | (VerticalSliderThumbIcon.paintIcon): Added support for the | |
26910 | OceanTheme. | |
26911 | * javax/swing/plaf/metal/MetalUtils.java | |
26912 | (paintHorizontalGradient): Fixed painting of 'masked' gradients. | |
26913 | (paintVerticalGradient): Fixed painting of 'masked' gradients. | |
26914 | ||
26915 | 2006-03-14 Mark Wielaard <mark@klomp.org> | |
26916 | ||
26917 | Fixes bug #26641 | |
26918 | * java/awt/LightweightDispatcher.java (dispatchEvent): Return result | |
26919 | of handleMouseEvent. | |
26920 | (handleMouseEvent): Return boolean to indicate whether we handled the | |
26921 | event by passing it to a lightweight. | |
26922 | ||
26923 | 2006-03-14 Wolfgang Baer <WBaer@gmx.de> | |
26924 | ||
26925 | * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java, | |
26926 | * org/omg/PortableServer/ServantActivatorPOA.java, | |
26927 | * org/omg/PortableServer/ServantLocatorPOA.java: | |
26928 | Make class abstract and minor api docs fixlets. | |
26929 | * org/omg/PortableServer/ForwardRequest.java, | |
26930 | * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, | |
26931 | * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, | |
26932 | * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, | |
26933 | * org/omg/PortableServer/POAPackage/InvalidPolicy.java, | |
26934 | * org/omg/PortableServer/POAPackage/NoServant.java, | |
26935 | * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, | |
26936 | * org/omg/PortableServer/POAPackage/ObjectNotActive.java, | |
26937 | * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, | |
26938 | * org/omg/PortableServer/POAPackage/ServantNotActive.java, | |
26939 | * org/omg/PortableServer/POAPackage/WrongAdapter.java, | |
26940 | * org/omg/PortableServer/POAPackage/WrongPolicy.java, | |
26941 | * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, | |
26942 | * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java, | |
26943 | * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java, | |
26944 | * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final. | |
26945 | ||
26946 | 2006-03-14 Wolfgang Baer <WBaer@gmx.de> | |
26947 | ||
26948 | * NEWS: Added entry about printing support. | |
26949 | ||
26950 | 2006-03-14 David Gilbert <david.gilbert@object-refinery.com> | |
26951 | ||
26952 | * javax/swing/table/TableColumn.java | |
26953 | (COLUMN_WIDTH_PROPERTY): Updated API docs, | |
26954 | (isResizable): Likewise, | |
26955 | (setWidth): Likewise, | |
26956 | (getWidth): Likewise, | |
26957 | (setPreferredWidth): Likewise, | |
26958 | (getPreferredWidth): Likewise, | |
26959 | (setMinWidth): Check for negative argument and update width and | |
26960 | preferredWidth if necessary, | |
26961 | (getMinWidth): Updated API docs. | |
26962 | ||
26963 | 2006-03-14 Lillian Angel <langel@redhat.com> | |
26964 | ||
26965 | * java/awt/Container.java | |
26966 | (addImpl): Removed call to repaint. No need to repaint here. | |
26967 | ||
26968 | 2006-03-14 Roman Kennke <kennke@aicas.com> | |
26969 | ||
26970 | * javax/swing/plaf/metal/MetalSliderUI.java | |
26971 | (paintTrack): Added OceanTheme support. | |
26972 | ||
26973 | 2006-03-14 David Gilbert <david.gilbert@object-refinery.com> | |
26974 | ||
26975 | * javax/swing/table/TableColumn.java | |
26976 | (setResizable): Fire PropertyChangeEvent if the flag value changes, | |
26977 | (isResizable): Updated API docs. | |
26978 | ||
26979 | 2006-03-14 David Gilbert <david.gilbert@object-refinery.com> | |
26980 | ||
26981 | * javax/swing/LookAndFeel.java: Updated API docs. | |
26982 | ||
26983 | 2006-03-14 Roman Kennke <kennke@aicas.com> | |
26984 | ||
26985 | * javax/swing/plaf/metal/MetalUtils.java | |
26986 | (paintGradient): Added support for 'masked' gradients. | |
26987 | (paintHorizontalGradient): Likewise. | |
26988 | (paintVerticalGradient): Likewise. | |
26989 | * javax/swing/plaf/metal/MetalIconFactory.java | |
26990 | (RadioButtonIcon.gradientMask): New field. | |
26991 | (RadioButtonIcon.paintIcon): Added mask for gradient painting. | |
26992 | ||
26993 | 2006-03-14 Mark Wielaard <mark@klomp.org> | |
26994 | ||
26995 | Fixes bug #26645. | |
26996 | * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener): | |
26997 | New field. | |
26998 | (removeActionListener): Add listener to ComboBoxEditorListener. | |
26999 | (removeActionListener): Remove listener from ComboBoxEditorListener. | |
27000 | (ComboBoxEditorListener): New static helper class. | |
27001 | ||
27002 | 2006-03-14 Roman Kennke <kennke@aicas.com> | |
27003 | ||
27004 | * javax/swing/plaf/metal/MetalBorders.java | |
27005 | (getToolBarButtonBorder): Don't create a UIResource border | |
27006 | here. | |
27007 | * javax/swing/plaf/metal/MetalToolBarUI.java | |
27008 | (installUI): New overridden method. Installs the rollover property. | |
27009 | (uninstallUI): New overridden method. Resets the rollover property. | |
27010 | * javax/swing/plaf/metal/MetalUtils.java | |
27011 | (paintGradient): Fetch Float values from the UIManager. Adjusted | |
27012 | method signatures accordingly. | |
27013 | (paintHorizontalGradient): Adjusted signature to accept float | |
27014 | instead of double. | |
27015 | (paintVerticalGradient): Adjusted signature to accept float | |
27016 | instead of double. | |
27017 | * javax/swing/plaf/metal/OceanTheme.java | |
27018 | (addCustomEntriesToTable): Added missing UIDefaults entries, | |
27019 | except of Icons. Fixed gradient entries to use Float instead | |
27020 | of Double. | |
27021 | ||
27022 | 2006-03-14 Roman Kennke <kennke@aicas.com> | |
27023 | ||
27024 | * javax/swing/JInternalFrame.java | |
27025 | (JInternalFrame): Make JInternalFrame opaque. | |
27026 | * javax/swing/JToolBarFrame.java | |
27027 | (JToolBar): Make JToolBar opaque. | |
27028 | ||
27029 | 2006-03-14 David Gilbert <david.gilbert@object-refinery.com> | |
27030 | ||
27031 | * javax/swing/tree/TreeNode.java: Fixed bad API doc tags, | |
27032 | * javax/swing/tree/TreePath.java: Likewise. | |
27033 | ||
97b8365c TT |
27034 | 2006-03-13 Tom Tromey <tromey@redhat.com> |
27035 | ||
27036 | * javax/swing/text/html/StyleSheet.java (removeAttributes): | |
27037 | Genericized. | |
27038 | * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized. | |
27039 | * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized. | |
27040 | ||
4f9533c7 MW |
27041 | 2006-03-13 Keith Seitz <keiths@redhat.com> |
27042 | ||
27043 | * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java | |
27044 | (executeMethods): Output number of methods. | |
27045 | ||
27046 | 2006-03-13 Roman Kennke <kennke@aicas.com> | |
27047 | ||
27048 | * javax/swing/plaf/basic/BasicButtonUI.java | |
27049 | (uninstallDefaults): Only uninstall border if it's a UIResource. | |
27050 | * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java | |
27051 | (SystemMenuBar.isFocusTraversable): Fixed typo in signature. | |
27052 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
27053 | (installUI): Don't touch the opaque flag of the glassPane and | |
27054 | the frame. Don't invalidate. | |
27055 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
27056 | (installUI): Don't touch the opaque flag of the glassPane. | |
27057 | * javax/swing/plaf/basic/BasicMenuBarUI.java | |
27058 | (properyChangeListener): Made field private. | |
27059 | (ChangeHandler): Made class private. | |
27060 | (ContainerHandler): Made class private. | |
27061 | (PropertyChangeHandler): Made class private. | |
27062 | * javax/swing/plaf/basic/BasicMenuUI.java | |
27063 | (MenuHandler): Made class private. | |
27064 | (PropertyChangeHandler): Removed unneeded class. | |
27065 | (MenuDragMouseHandler): Made class private. | |
27066 | (MenuKeyHandler): Made class private. | |
27067 | * javax/swing/plaf/basic/BasicPanelUI.java | |
27068 | (installDefaults): Made method protected. Don't set opaque | |
27069 | flag. | |
27070 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
27071 | (TrackListener.shouldScroll): Made method private. | |
27072 | * javax/swing/plaf/basic/BasicSplitPaneUI.java | |
27073 | (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager): | |
27074 | Made constructor package private. | |
27075 | * javax/swing/plaf/basic/BasicTableHeaderUI.java | |
27076 | (cellBorder): Made field private. | |
27077 | * javax/swing/plaf/basic/BasicTextUI.java | |
27078 | (installDefaults): Don't make component opaque. | |
27079 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
27080 | (createNonRollOverBorder): Don't create UIResource border. | |
27081 | (createRollOverBorder): Don't create UIResource border. | |
27082 | (installComponents): Moved setRolloverBorders call here. | |
27083 | (installDefaults): Moved setRolloverBorders call from here. | |
27084 | (installUI): Don't make toolbar opaque. | |
27085 | (setBorderToNonRollover): Handle AbstractButton instead of | |
27086 | JButton here. | |
27087 | (uninstallComponents): Don't nullify class fields here. | |
27088 | ||
27089 | 2006-03-13 David Gilbert <david.gilbert@object-refinery.com> | |
27090 | ||
27091 | * javax/swing/SwingUtilities.java | |
27092 | (calculateInnerArea): handle null component, and replace | |
27093 | getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object | |
27094 | creation. | |
27095 | ||
27096 | 2006-03-13 Roman Kennke <kennke@aicas.com> | |
27097 | ||
27098 | * javax/swing/JColorChooser.java | |
27099 | (updateUI): Don't call revalidate(). | |
27100 | * javax/swing/JComboBox.java | |
27101 | (updateUI): Don't call invalidate(). | |
27102 | * javax/swing/JDesktopPane.java | |
27103 | (updateUI): Don't call invalidate(). | |
27104 | * javax/swing/JFileChooser.java | |
27105 | (updateUI): Don't call revalidate(). | |
27106 | * javax/swing/JMenu.java | |
27107 | (updateUI): Don't call invalidate(). | |
27108 | * javax/swing/JMenuBar.java | |
27109 | (updateUI): Don't call invalidate(). | |
27110 | * javax/swing/JMenuItem.java | |
27111 | (updateUI): Don't call invalidate(). | |
27112 | * javax/swing/JOptionPane.java | |
27113 | (updateUI): Don't call invalidate(). | |
27114 | * javax/swing/JPopupMenu.java | |
27115 | (updateUI): Don't call invalidate(). | |
27116 | * javax/swing/JProgressBar.java | |
27117 | (updateUI): Don't call invalidate(). | |
27118 | * javax/swing/JScrollBar.java | |
27119 | (updateUI): Don't call invalidate() and repaint(). | |
27120 | * javax/swing/JScrollPane.java | |
27121 | (updateUI): Rewritten to be like the other updateUI() | |
27122 | methods. | |
27123 | * javax/swing/JSlider.java | |
27124 | (updateUI): Don't call invalidate() and repaint(). | |
27125 | * javax/swing/JSplitPane.java | |
27126 | (updateUI): Don't call invalidate() and repaint(). | |
27127 | * javax/swing/JTabbedPane.java | |
27128 | (updateUI): Don't call invalidate(). | |
27129 | * javax/swing/JTable.java | |
27130 | (updateUI): Don't call revalidate() and repaint(). | |
27131 | * javax/swing/JToolBar.java | |
27132 | (updateUI): Don't call revalidate() and repaint(). | |
27133 | * javax/swing/JToolTip.java | |
27134 | (updateUI): Don't call revalidate() and repaint(). | |
27135 | ||
27136 | 2006-03-13 Roman Kennke <kennke@aicas.com> | |
27137 | ||
27138 | * javax/swing/SwingUtilities.java | |
27139 | (updateComponentTreeUI): Rewritten to be more robust. Handling of | |
27140 | menus and non-Swing components is improved. | |
27141 | (updateComponentTreeUIImpl): New helper method. | |
27142 | (replaceUIActionMap): Added check for uiActionMap==parent to | |
27143 | avoid loop. | |
27144 | (replaceUIInputMap): Added check for uiInputMap==parent to | |
27145 | avoid loop. | |
27146 | ||
27147 | 2006-03-13 Wolfgang Baer <WBaer@gmx.de> | |
27148 | ||
27149 | * gnu/classpath/debug/Component.java: | |
27150 | (IPP) New component for IPP debugging. | |
27151 | (EVERYTHING): Adapted to include IPP. | |
27152 | * javax/print/PrintServiceLookup.java: | |
27153 | (registerServiceProvider): New method. | |
27154 | (registerService): Likewise. | |
27155 | (lookupPrintServices): Likewise. | |
27156 | (lookupMultiDocPrintServices): Likewise. | |
27157 | (lookupDefaultPrintService): Likewise. | |
27158 | (static_initializer): Likewise. | |
27159 | (printServiceLookups): New field for found service providers. | |
27160 | (printServices): New field for application registered providers. | |
27161 | (systemProvider): New field for the system provider. | |
27162 | * javax/print/ServiceUI.java: New file. | |
27163 | * javax/print/package.html: Added more usage content. | |
27164 | * javax/print/event/package.html: Likewise. | |
27165 | * javax/print/attribute/package.html: Likewise. | |
27166 | * javax/print/attribute/standard/package.html: Likewise. | |
27167 | * gnu/javax/print/PrintUriException.java, | |
27168 | gnu/javax/print/PrintFlavorException.java, | |
27169 | gnu/javax/print/PrinterDialog.java, | |
27170 | gnu/javax/print/PrintAttributeException.java, | |
27171 | gnu/javax/print/CupsPrintServiceLookup.java, | |
27172 | gnu/javax/print/CupsServer.java, | |
27173 | gnu/javax/print/CupsPrintService.java, | |
27174 | gnu/javax/print/CupsMediaMapping.java, | |
27175 | gnu/javax/print/CupsIppOperation.java: | |
27176 | New implementation files of the Java Print Service API. | |
27177 | * gnu/javax/print/ipp/IppValueTag.java, | |
27178 | gnu/javax/print/ipp/MultiDocPrintJobImpl.java, | |
27179 | gnu/javax/print/ipp/IppStatusCode.java, | |
27180 | gnu/javax/print/ipp/IppUtilities.java, | |
27181 | gnu/javax/print/ipp/IppResponse.java, | |
27182 | gnu/javax/print/ipp/IppException.java, | |
27183 | gnu/javax/print/ipp/IppPrintService.java, | |
27184 | gnu/javax/print/ipp/IppRequest.java, | |
27185 | gnu/javax/print/ipp/IppMultiDocPrintService.java, | |
27186 | gnu/javax/print/ipp/IppDelimiterTag.java, | |
27187 | gnu/javax/print/ipp/DocPrintJobImpl.java: | |
27188 | New files of the IPP client implementation. | |
27189 | * gnu/javax/print/ipp/attribute/UnknownAttribute.java, | |
27190 | gnu/javax/print/ipp/attribute/StatusMessage.java, | |
27191 | gnu/javax/print/ipp/attribute/RequestedAttributes.java, | |
27192 | gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java, | |
27193 | gnu/javax/print/ipp/attribute/DocumentAccessError.java, | |
27194 | gnu/javax/print/ipp/attribute/DetailedStatusMessage.java, | |
27195 | gnu/javax/print/ipp/attribute/DefaultValueAttribute.java, | |
27196 | gnu/javax/print/ipp/attribute/CharsetSyntax.java: | |
27197 | New attribute syntax/role files of the printing implementation. | |
27198 | * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java, | |
27199 | gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java, | |
27200 | gnu/javax/print/ipp/attribute/supported/SidesSupported.java, | |
27201 | gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java, | |
27202 | gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java, | |
27203 | gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java, | |
27204 | gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java, | |
27205 | gnu/javax/print/ipp/attribute/supported/ | |
27206 | OrientationRequestedSupported.java, | |
27207 | gnu/javax/print/ipp/attribute/supported/OperationsSupported.java, | |
27208 | gnu/javax/print/ipp/attribute/supported/ | |
27209 | MultipleDocumentHandlingSupported.java, | |
27210 | gnu/javax/print/ipp/attribute/supported/ | |
27211 | MultipleDocumentJobsSupported.java, | |
27212 | gnu/javax/print/ipp/attribute/supported/MediaSupported.java, | |
27213 | gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java, | |
27214 | gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java, | |
27215 | gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java, | |
27216 | gnu/javax/print/ipp/attribute/supported/ | |
27217 | GeneratedNaturalLanguageSupported.java, | |
27218 | gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java, | |
27219 | gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java, | |
27220 | gnu/javax/print/ipp/attribute/supported/CompressionSupported.java, | |
27221 | gnu/javax/print/ipp/attribute/supported/CharsetSupported.java: | |
27222 | New supported attribute files. | |
27223 | * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java, | |
27224 | gnu/javax/print/ipp/attribute/printer/DocumentFormat.java, | |
27225 | gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java, | |
27226 | gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java, | |
27227 | gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java, | |
27228 | gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java, | |
27229 | gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java, | |
27230 | gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java: | |
27231 | New printer description attribute files. | |
27232 | * gnu/javax/print/ipp/attribute/job/AttributesCharset.java, | |
27233 | gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java, | |
27234 | gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java, | |
27235 | gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java, | |
27236 | gnu/javax/print/ipp/attribute/job/JobPrinterUri.java, | |
27237 | gnu/javax/print/ipp/attribute/job/JobId.java, | |
27238 | gnu/javax/print/ipp/attribute/job/JobMoreInfo.java, | |
27239 | gnu/javax/print/ipp/attribute/job/JobUri.java, | |
27240 | gnu/javax/print/ipp/attribute/job/JobStateMessage.java: | |
27241 | New job description attribute files. | |
27242 | * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java, | |
27243 | gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java, | |
27244 | gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java, | |
27245 | gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java, | |
27246 | gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java, | |
27247 | gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java, | |
27248 | gnu/javax/print/ipp/attribute/defaults/MediaDefault.java, | |
27249 | gnu/javax/print/ipp/attribute/defaults/ | |
27250 | MultipleDocumentHandlingDefault.java, | |
27251 | gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java, | |
27252 | gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java, | |
27253 | gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java, | |
27254 | gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java, | |
27255 | gnu/javax/print/ipp/attribute/defaults/SidesDefault.java: | |
27256 | New default printing attribute files. | |
27257 | * resource/gnu/javax/print/PrinterDialog.properties: New file. | |
27258 | * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise. | |
27259 | * examples/gnu/classpath/examples/print/Demo.java: | |
27260 | New demo application of the current implemented functionality. | |
27261 | ||
27262 | 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
27263 | ||
27264 | * java/rmi/activation/ActivationGroupDesc.java: Implemented. | |
27265 | java/rmi/activation/ActivationDesc.java.java, | |
27266 | java/rmi/activation/ActivationGroup.java, | |
27267 | java/rmi/activation/ActivationID.java, | |
27268 | java/rmi/activation/ActivationMonitor.java, | |
27269 | java/rmi/activation/ActivationSystem.java, | |
27270 | java/rmi/activation/package.html: Documenting. | |
27271 | ||
27272 | 2006-03-13 Roman Kennke <kennke@aicas.com> | |
27273 | ||
27274 | * javax/swing/JInternalFrame.java | |
27275 | (setSelected): Repaint frame when it is showing and the selection | |
27276 | state changes. | |
27277 | ||
27278 | 2006-03-13 Roman Kennke <kennke@aicas.com> | |
27279 | ||
27280 | * javax/swing/AbstractButton.java | |
27281 | (AbstractAccessibleButton.getAccessibleRelationSet): Return super....() | |
27282 | instead of null. | |
27283 | ||
27284 | 2006-03-13 Roman Kennke <kennke@aicas.com> | |
27285 | ||
27286 | * javax/accessibility/AccessibleContext.java | |
27287 | (getAccessibleRelationSet): Return empty set instead of null. | |
27288 | ||
27289 | 2006-03-13 Roman Kennke <kennke@aicas.com> | |
27290 | ||
27291 | * javax/swing/ImageIcon.java | |
27292 | (loadImage): Remove completed images from the MediaTracker. This | |
27293 | avoids a potential memory leak. | |
27294 | ||
27295 | 2006-03-12 Wolfgang Baer <WBaer@gmx.de> | |
27296 | ||
27297 | * javax/print/MultiDocPrintService.java, | |
27298 | * javax/print/MultiDocPrintJob.java, | |
27299 | * javax/print/MultiDoc.java: Added and enhanced documentation. | |
27300 | ||
27301 | 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
27302 | ||
27303 | * java/rmi/activation/ActivationID.java (uid): New field. | |
27304 | (writeExternal, readExternal): New methods. | |
27305 | (equals, hashCode): Rewritten. | |
27306 | * java/rmi/activation/ActivationInstantiator.java, | |
27307 | * java/rmi/activation/ActivationSystem.java, | |
27308 | * java/rmi/activation/Activator.java, | |
27309 | * java/rmi/activation/Activatable.java, | |
27310 | * java/rmi/activation/ActivationGroup.java, | |
27311 | * java/rmi/activation/ActivationGroupDesc.java: | |
27312 | Documented and autoformatted. | |
27313 | * java/rmi/activation/package.html: Added content. | |
27314 | ||
27315 | 2006-03-12 Chris Burdess <dog@gnu.org> | |
27316 | ||
27317 | Fixes PR 26652 | |
27318 | * gnu/xml/stream/XMLParser.java: Fix for case when both reader and | |
27319 | encoding are specified. | |
27320 | ||
27321 | 2006-03-11 David Gilbert <david.gilbert@object-refinery.com> | |
27322 | ||
27323 | * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus | |
27324 | (changeEvent): Initialise in fireStateChange(), | |
27325 | (setSelectedIndex): Check if change is made before firing event, | |
27326 | (clearSelection): Delegate to setSelectedIndex(), | |
27327 | (fireStateChanged): Initialise changeEvent if necessary, | |
27328 | * javax/swing/SingleSelectionModel.java: API docs all over. | |
27329 | ||
27330 | 2006-03-11 Tom Tromey <tromey@redhat.com> | |
27331 | ||
27332 | * java/util/zip/InflaterInputStream.java: Reverted previous | |
27333 | patch. | |
27334 | ||
27335 | 2006-03-11 Mark Wielaard <mark@klomp.org> | |
27336 | ||
27337 | * java/text/AttributedCharacterIterator.java (Attribute.readResolve): | |
27338 | Compare name. | |
27339 | ||
27340 | 2006-03-11 David Gilbert <david.gilbert@object-refinery.com> | |
27341 | ||
27342 | * javax/swing/event/TreeSelectionEvent.java | |
27343 | (isAddedPath(TreePath)): Throw IllegalArgumentException if path is | |
27344 | not one of the added/removed paths, | |
27345 | (cloneWithSource): Reformatted. | |
27346 | ||
27347 | 2006-03-11 David Gilbert <david.gilbert@object-refinery.com> | |
27348 | ||
27349 | * javax/swing/tree/TreeCellEditor.java: Added API docs, | |
27350 | * javax/swing/tree/TreeCellRenderer.java: Likewise. | |
27351 | ||
27352 | 2006-03-10 Casey Marshall <csm@gnu.org> | |
27353 | ||
27354 | Fixes PR 23768. | |
27355 | * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't | |
27356 | reset `state.' | |
27357 | (doFinal, update): new methods. | |
27358 | (init, init, init, init): initialize `state' after trying the | |
27359 | implementation, which can throw an exception. | |
27360 | * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new | |
27361 | methods. | |
27362 | ||
27363 | 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
27364 | ||
27365 | * gnu/regexp/BacktrackStack.java: New file. | |
27366 | * gnu/regexp/RE.java(findMatch): New method. | |
27367 | * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL, | |
27368 | REMatchList): Removed. (backtrackStack): New field. | |
27369 | * gnu/regexp/REToken.java(match): Changed from an abstract | |
27370 | method to an ordinary method defined with the new method | |
27371 | matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches, | |
27372 | findFixedLengthMatches, backtrack, toString): New methods. | |
27373 | * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken. | |
27374 | * gnu/regexp/RETokenBackRef.java: Likewise. | |
27375 | * gnu/regexp/RETokenChar.java: Likewise. | |
27376 | * gnu/regexp/RETokenEnd.java: Likewise. | |
27377 | * gnu/regexp/RETokenEndSub.java: Likewise. | |
27378 | * gnu/regexp/RETokenIndependent.java: Likewise. | |
27379 | * gnu/regexp/RETokenLookAhead.java: Likewise. | |
27380 | * gnu/regexp/RETokenLookBehind.java: Likewise. | |
27381 | * gnu/regexp/RETokenNamedProperty.java: Likewise. | |
27382 | * gnu/regexp/RETokenPOSIX.java: Likewise. | |
27383 | * gnu/regexp/RETokenRange.java: Likewise. | |
27384 | * gnu/regexp/RETokenStart.java: Likewise. | |
27385 | * gnu/regexp/RETokenWordBoundary.java: Likewise | |
27386 | * gnu/regexp/RETokenOneOf.java: Rewriten. | |
27387 | * gnu/regexp/RETokenRepeated.java: Rewriten. | |
27388 | ||
27389 | 2006-03-10 Roman Kennke <kennke@aicas.com> | |
27390 | ||
27391 | * javax/swing/plaf/metal/MetalBorders.java | |
27392 | (RolloverButtonBorder.paintBorder): Only call super here. | |
27393 | * javax/swing/plaf/metal/MetalButtonListener.java | |
27394 | (propertyChange): Only call super here. | |
27395 | * javax/swing/plaf/metal/MetalButtonUI.java | |
27396 | (update): Changed condition from isOpaque() to isContentAreaFilled() | |
27397 | for the gradient fill. | |
27398 | * javax/swing/plaf/metal/MetalToggleButtonUI.java | |
27399 | (paintText): API doc fix. Makes paintText not deprecated as specified | |
27400 | but adds comment that this is obsolete. | |
27401 | * javax/swing/plaf/metal/MetalUtils.java | |
27402 | (fillMetalPattern): Fixed condition so that the Java2D is not | |
27403 | used when the noGraphics2D property is set. | |
27404 | ||
27405 | 2006-03-10 Roman Kennke <kennke@aicas.com> | |
27406 | ||
27407 | * javax/swing/plaf/metal/MetalLookAndFeel.java | |
27408 | (createDefaultTheme): Set OceanTheme as default metal theme. | |
27409 | ||
27410 | 2006-03-10 Roman Kennke <kennke@aicas.com> | |
27411 | ||
27412 | * javax/swing/text/WrappedPlainView.java | |
27413 | (metrics): Made field package private to avoid accessor method. | |
27414 | (WrappedLine.paint): Call drawLine with y offset of the font ascent. | |
27415 | The drawLine (righly) interprets the y parameter as the baseline. | |
27416 | * javax/swing/text/Utilities.java | |
27417 | (getBreakLocation): Don't consider the offset. The returned value | |
27418 | for getTabbedTextOffset is already relative to the offset. | |
27419 | ||
27420 | 2006-03-10 Wolfgang Baer <WBaer@gmx.de> | |
27421 | ||
27422 | * gnu/java/net/protocol/http/Headers.java: Added documentation all over. | |
27423 | (dateFormat): Made private. | |
27424 | (put): Replace only the last occurance and the value. | |
27425 | (putAll): Save one iteration. Clarified documentation. | |
27426 | ||
27427 | 2006-03-10 Tom Tromey <tromey@redhat.com> | |
27428 | ||
27429 | * java/util/zip/InflaterInputStream.java (read): Replace with libgcj | |
27430 | implementation. | |
27431 | * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED, | |
27432 | not '8'. | |
27433 | ||
27434 | 2006-03-10 Lillian Angel <langel@redhat.com> | |
27435 | ||
27436 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c | |
27437 | (comboboxgroup_get_widget): New function. | |
27438 | (removed): Fixed to use new function to get the correct widget. | |
27439 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
27440 | (nativeSetCheckboxGroup): Reverted last patch to use get_widget | |
27441 | function. | |
27442 | ||
27443 | 2006-03-10 Lillian Angel <langel@redhat.com> | |
27444 | ||
27445 | * java/awt/GridBagLayout.java | |
27446 | (ArrangeGrid): Added checks to determine if component | |
27447 | is placed last in a row or column. If so, the location | |
27448 | of the last component should be used to get the location | |
27449 | of the current component. | |
27450 | ||
27451 | 2006-03-10 Lillian Angel <langel@redhat.com> | |
27452 | ||
27453 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
27454 | (nativeSetCheckboxGroup): No need to use new function here. | |
27455 | Should just pass in pointer. | |
27456 | ||
27457 | 2006-03-10 Lillian Angel <langel@redhat.com> | |
27458 | ||
27459 | * java/awt/GridBagLayout.java | |
27460 | (distributeSizeAndWeight): Change else if to else. This | |
27461 | allows for components to be added to a new row when | |
27462 | their gridheight is REMAINDER. | |
27463 | ||
27464 | 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
27465 | ||
27466 | * java/rmi/activation/ActivationDesc.java, | |
27467 | java/rmi/activation/ActivationGroupID.java, | |
27468 | java/rmi/activation/Activator.java, | |
27469 | java/rmi/server/Operation.java, | |
27470 | java/rmi/server/RemoteServer.java: Documented and formatted. | |
27471 | ||
27472 | 2006-03-10 David Gilbert <david.gilbert@object-refinery.com> | |
27473 | ||
27474 | * javax/swing/JToggleButton.java: Fixed API doc tags, | |
27475 | * javax/swing/OverlayLayout.java: Likewise. | |
27476 | ||
27477 | 2006-03-10 David Gilbert <david.gilbert@object-refinery.com> | |
27478 | ||
27479 | * javax/swing/DefaultCellEditor.java | |
27480 | (cancelCellEditing): Removed spurious API doc tag. | |
27481 | ||
27482 | 2006-03-10 Lillian Angel <langel@redhat.com> | |
27483 | ||
27484 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
27485 | (create): Put checkbox widget into an event box so it paints properly. | |
27486 | (connectSignals): Fixed to use new function. | |
27487 | (nativeSetCheckboxGroup): Likewise. | |
27488 | (gtkToggleButtonSetActive): Likewise. | |
27489 | (gtkWidgetModifyFont): Likewise. | |
27490 | (gtkButtonSetLabel): Likewise. | |
27491 | (combobox_get_widget): New function. | |
27492 | ||
27493 | 2006-03-10 David Gilbert <david.gilbert@object-refinery.com> | |
27494 | ||
27495 | * javax/swing/text/rtf/package.html: New file. | |
27496 | ||
27497 | 2006-03-10 Roman Kennke <kennke@aicas.com> | |
27498 | ||
27499 | * javax/swing/plaf/metal/OceanTheme.java | |
27500 | (addCustomEntriesToTable): Fixed ScrollBar.gradient value. | |
27501 | * javax/swing/plaf/metal/MetalScrollBarUI.java | |
27502 | (paintThumb): Only draw Metal pattern if theme is not OceanTheme. | |
27503 | (paintThumbHorizontal): Added handling of OceanTheme. | |
27504 | (paintThumbVertical): Added handling of OceanTheme. | |
27505 | ||
27506 | 2006-03-10 Roman Kennke <kennke@aicas.com> | |
27507 | ||
27508 | Reported by Fridjof Siebert <siebert@aicas.com> | |
27509 | * java/awt/MediaTracker.java | |
27510 | (removeImage): Only set prev to e when the the images of the | |
27511 | entries are not the same. This avoids a potentially corrupt list. | |
27512 | ||
27513 | 2006-03-10 Chris Burdess <dog@gnu.org> | |
27514 | ||
27515 | PR 26620: | |
27516 | * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness | |
27517 | checking while reindenting. | |
27518 | ||
27519 | 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com> | |
27520 | ||
27521 | * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file. | |
27522 | ||
27523 | 2006-03-09 Tom Tromey <tromey@redhat.com> | |
27524 | ||
27525 | PR classpath/26585: | |
27526 | * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools | |
27527 | subdir. Added README. | |
27528 | (install-data-local): Removed. | |
27529 | (uninstall-local): Likewise. | |
27530 | (EXTRA_DIST): Removed. | |
27531 | ||
27532 | 2006-03-09 Tom Tromey <tromey@redhat.com> | |
27533 | ||
27534 | PR classpath/26623: | |
27535 | * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES): | |
27536 | Renamed. | |
27537 | * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES): | |
27538 | Renamed. | |
27539 | * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES): | |
27540 | Renamed. | |
27541 | * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES): | |
27542 | Renamed. | |
27543 | * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES): | |
27544 | Renamed. | |
27545 | * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES): | |
27546 | Renamed. | |
27547 | * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES): | |
27548 | Renamed. | |
27549 | * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES): | |
27550 | Renamed. | |
27551 | * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES): | |
27552 | Renamed. | |
27553 | * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES): | |
27554 | Renamed. | |
27555 | * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. | |
27556 | * configure.ac (nativeexeclibdir): Renamed from nativelibdir. | |
27557 | ||
27558 | 2006-03-09 Keith Seitz <keiths@redhat.com> | |
27559 | ||
27560 | * gnu/classpath/jdwp/processor/MethodCommandSet.java | |
27561 | (executeVariableTable): Use VMMethod instead of reflection. | |
27562 | (executeLineTable): Likewise. | |
27563 | * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java | |
27564 | (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods. | |
27565 | * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java | |
27566 | (getLineTable): Removed. Now resides in VMMethod. | |
27567 | (getVarTable): Likewise. | |
27568 | (getAllClassMethods): New method. | |
27569 | ||
27570 | 2006-03-09 Keith Seitz <keiths@redhat.com> | |
27571 | ||
27572 | * gnu/classpath/jdwp/event/EventManager.java: Update javadoc. | |
27573 | * gnu/classpath/jdwp/event/ThreadStartEvent.java | |
27574 | (ThreadStartEvent): Likewise. | |
27575 | * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise. | |
27576 | * gnu/classpath/jdwp/event/filters/ConditionalFilter.java | |
27577 | (ConditionalFilter): Likewise. | |
27578 | * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java | |
27579 | (ExceptionOnlyFilter): Likewise. | |
27580 | * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java | |
27581 | (FieldOnlyFilter): Likewise. | |
27582 | * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise. | |
27583 | (getSize): Likewise. | |
27584 | (StepFilter): Likewise. | |
27585 | * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag). | |
27586 | * gnu/classpath/jdwp/transport/JdwpPacket.java | |
27587 | (JdwpPacket): Likewise. | |
27588 | (fromBytes): Likewise. | |
27589 | * gnu/classpath/jdwp/transport/JdwpReplyPacket.java | |
27590 | (JdwpReplyPacket): Likewise. | |
27591 | * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise. | |
27592 | * vm/reference/gnu/classpath/jdwp/VMIdManager.java | |
27593 | (getReferenceType): Likewise. | |
27594 | (newObjectId): Likewise. | |
27595 | * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise. | |
27596 | * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java | |
27597 | (getFrames): Fix typo in parameter name and update javadoc. | |
27598 | (getClassMethod): Update javadoc. | |
27599 | ||
27600 | 2006-03-09 David Gilbert <david.gilbert@object-refinery.com> | |
27601 | ||
27602 | * javax/swing/event/TreeSelectionEvent.java: Updated API docs, | |
27603 | * javax/swing/event/TreeSelectionListener.java: Likewise. | |
27604 | ||
27605 | 2006-03-09 Lillian Angel <langel@redhat.com> | |
27606 | ||
27607 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c | |
27608 | (getHScrollbarHeight): Fixed property name. | |
27609 | (getVScrollbarHeight): Likewise. | |
27610 | ||
27611 | 2006-03-09 Lillian Angel <langel@redhat.com> | |
27612 | ||
27613 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
27614 | (get_widget): New function. | |
27615 | (gtkWidgetSetParent): Changed to use new function. | |
27616 | (gtkWidgetSetCursorUnlocked): Likewise. | |
27617 | (gtkWidgetSetSensitive): Likewise. | |
27618 | (gtkWidgetRequestFocus): Likewise. | |
27619 | (gtkWindowGetLocationOnScreen): Likewise. | |
27620 | (gtkWidgetGetDimensions): Likewise. | |
27621 | (gtkWidgetGetPreferredDimensions): Likewise. | |
27622 | (setNativeBounds): Likewise. | |
27623 | (gtkWidgetGetBackground): Likewise. | |
27624 | (gtkWidgetGetForeground): Likewise. | |
27625 | (gtkWidgetSetBackground): Likewise. | |
27626 | (gtkWidgetSetForeground): Likewise. | |
27627 | (setVisibleNativeUnlocked): Likewise. | |
27628 | (isEnabled): Likewise. | |
27629 | (isRealized): Likewise. | |
27630 | (setNativeEventMask): Likewise. | |
27631 | ||
27632 | 2006-03-09 Lillian Angel <langel@redhat.com> | |
27633 | ||
27634 | PR Classpath\22163 | |
27635 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
27636 | (create): Added combobox widget to an event box. | |
27637 | (connectSignals): Added call to choice_get_widget to get the | |
27638 | combobox out of the event box. | |
27639 | (append): Likewise. | |
27640 | (nativeRemoveAll): Likewise. | |
27641 | (nativeRemove): Likwise. | |
27642 | (nativeAdd): Likewise. | |
27643 | (selectNative): Likewise. | |
27644 | (choice_get_widget): New function. | |
27645 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
27646 | (create): Added list scroll window widget to an event box. | |
27647 | (connectSignals): Changed call to use new function to get the | |
27648 | correct widget out of the event box. | |
27649 | (getWidgetModifyFont): Likewise. | |
27650 | (getWidgetRequestFocus): Likewise. | |
27651 | (append): Likewise. | |
27652 | (add): Likewise. | |
27653 | (delItems): Likewise. | |
27654 | (select): Likewise. | |
27655 | (deselect): Likewise. | |
27656 | (getSize): Likewise. | |
27657 | (getSelectedIndexes): Likewise. | |
27658 | (makeVisible): Likewise. | |
27659 | (setMultipleMode): Likewise. | |
27660 | (list_get_widget): New function. | |
27661 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c | |
27662 | (create): Added scrollpane to an eventbox. | |
27663 | (setScrollPosition): Changed call to use new function to get the | |
27664 | correct widget out of the event box. | |
27665 | (gtkScrolledWindowSetHScrollIncrement): Likewise. | |
27666 | (gtkScrolledWindowSetVScrollIncrement): Likewise. | |
27667 | (getHScrollbarHeight): Likewise. | |
27668 | (getVScrollbarWidth): Likewise. | |
27669 | (setPolicy): Likewise. | |
27670 | (scrollpane_get_widget): New function. | |
27671 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c | |
27672 | (connectSignals): Changed call to use new function to get the | |
27673 | correct widget out of the event box. | |
27674 | (create): Added scrollbar to an eventbox. | |
27675 | (setLineIncrement): Changed call to use new function to get the | |
27676 | correct widget out of the event box. | |
27677 | (setPageIncrement): Likewise. | |
27678 | (setBarValues): Likewise. | |
27679 | (scrollbar_get_widget): New function. | |
27680 | * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
27681 | (create): Added text area scroll window widget to an event box. | |
27682 | (connectSignals): Changed call to use new function to get the | |
27683 | correct widget out of the event box. | |
27684 | (insert): Likewise. | |
27685 | (replaceRange): Likewise. | |
27686 | (gtkWidgetModifyFont): Likewise. | |
27687 | (gtkWidgetRequestFocus): Likewise. | |
27688 | (getHScrollbarHeight): Likewise. | |
27689 | (getVScrollbarWidth): Likewise. | |
27690 | (getCaretPosition): Likewise. | |
27691 | (setCaretPosition):Likewise. | |
27692 | (getSelectionStart): Likewise. | |
27693 | (getSelectionEnd): Likewise. | |
27694 | (select): Likewise. | |
27695 | (setEditable): Likewise. | |
27696 | (getText): Likewise. | |
27697 | (setText): Likewise. | |
27698 | (textarea_get_widget): New function. | |
27699 | ||
27700 | 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
27701 | ||
27702 | * java/rmi/dgc/VMID.java: | |
27703 | (equals, hashCode, static initializer): Rewritten. | |
27704 | * java/rmi/dgc/package.html: Documented. | |
27705 | ||
27706 | 2006-03-09 Mark Wielaard <mark@klomp.org> | |
27707 | ||
27708 | * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection): | |
27709 | New static field. | |
27710 | (stringMimeType, imageMimeType, filesMimeType): Initialize directly. | |
27711 | (canCache): Likewise. | |
27712 | (GtkClipboard): Take String argument. | |
27713 | (getInstance): Removed. | |
27714 | (getClipboardInstance, getSelectionInstance): New static methods. | |
27715 | (setSystemContents): Make synchronized. Takes boolean argument. | |
27716 | (initNativeState): Add clipboard and selection. | |
27717 | * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java | |
27718 | (announceClipboardChange, announcePrimaryChange): New static field. | |
27719 | (announce): Take GtkClipboard as argument. | |
27720 | (run): Check which clipboard to announce change for. | |
27721 | * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final | |
27722 | boolean field. | |
27723 | (GtkSelection): Take GtkClipboard as argument. | |
27724 | (requestText, requestImage, requestURIs, requestBytes): Add boolean | |
27725 | clipboard argument. | |
27726 | (requestMimeTypes): Likewise. | |
27727 | * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection): | |
27728 | New method. | |
27729 | * java/awt/Toolkit.java (getSystemSelection): Document. | |
27730 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c | |
27731 | (cp_gtk_selection_instance): New var. | |
27732 | (current_selection, owner): Removed. | |
27733 | (clipboard_owner_change_cb): Use clipboard argument. | |
27734 | (initNativeState): Store clipboard and selection instances. Cache | |
27735 | setSystemContentsID, provideContentID, provideTextID, provideImageID, | |
27736 | and provideURIsID. | |
27737 | (clipboard_get_func): Use clipboard argument. | |
27738 | (clipboard_clear_func): Likewise. Always call method. | |
27739 | (advertiseContent): Don't cache method ids here. Check whether to | |
27740 | use clpboard or selection. Don't set owner or current_selection. | |
27741 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c | |
27742 | (requestText, requestImage, requestURIs, requestBytes): Use extra | |
27743 | boolean argument to select clipboard. | |
27744 | * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern. | |
27745 | (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise. | |
27746 | * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate. | |
27747 | * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise. | |
27748 | ||
27749 | 2006-03-09 Keith Seitz <keiths@redhat.com> | |
27750 | ||
27751 | * gnu/classpath/jdwp/Jdwp.java: Remove unused imports. | |
27752 | * gnu/classpath/jdwp/event/EventRequest.java: Likewise. | |
27753 | * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise. | |
27754 | * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise. | |
27755 | * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise. | |
27756 | * gnu/classpath/jdwp/transport/ITransport.java: Likewise. | |
27757 | * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise. | |
27758 | * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise. | |
27759 | * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise. | |
27760 | ||
27761 | 2006-03-09 Mark Wielaard <mark@klomp.org> | |
27762 | ||
27763 | * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell | |
27764 | bounds for index is valid. | |
27765 | * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise. | |
27766 | (paint): Likewise. | |
27767 | (getCellBounds): Update documentation. | |
27768 | ||
27769 | 2006-03-09 Arnaud Vandyck <avdyk@gnu.org> | |
27770 | ||
27771 | * .classpath: added exclude pattern on source folders | |
27772 | (Makefiles, README and .cvsignore) | |
27773 | ||
97b8365c TT |
27774 | 2006-03-08 Michael Koch <konqueror@gmx.de> |
27775 | ||
27776 | * java/net/Proxy.java (NO_PROXY): Made final. | |
27777 | (equals): Likewise. | |
27778 | (hashCode): Likewise. | |
27779 | ||
4f9533c7 MW |
27780 | 2006-03-08 Keith Seitz <keiths@redhat.com> |
27781 | ||
27782 | * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file. | |
27783 | * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java | |
27784 | (getClassMethod): New method. | |
27785 | ||
27786 | 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
27787 | ||
27788 | * java/rmi/server/UID.java (getMachineId): Include the host IP address. | |
27789 | ||
27790 | 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
27791 | ||
27792 | * java/rmi/server/ObjID.java: Documented and autoformatted. | |
27793 | ||
27794 | 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
27795 | ||
27796 | PR 26584 | |
27797 | * tools/Makefile.am (install-data-local, | |
27798 | uninstall-local): Install/uninstall the tools/README only. | |
27799 | * tools/gnu/classpath/tools/giop/README: Updated. | |
27800 | * tools/README: New file. | |
27801 | ||
27802 | 2006-03-08 Lillian Angel <langel@redhat.com> | |
27803 | ||
27804 | * java/awt/GridBagLayout.java | |
27805 | (GetLayoutInfo): If the last component added had gridwidth == REMAINDER, | |
27806 | then the next item should be set to current_y (not 0). | |
27807 | ||
27808 | 2006-03-08 Lillian Angel <langel@redhat.com> | |
27809 | ||
27810 | * java/awt/GridBagLayout.java | |
27811 | (GetLayoutInfo): If gridy is RELATIVE and there is no component | |
27812 | in the bottom-most spot of the column, we need to place that component | |
27813 | at the y-location of the other components in that row. If there are | |
27814 | no other components in that row, then place it at y = 0. | |
27815 | ||
27816 | 2006-03-08 David Gilbert <david.gilbert@object-refinery.com> | |
27817 | ||
27818 | * javax/swing/ProgressMonitor.java: Updated API docs, | |
27819 | * javax/swing/ProgressMonitorInputStream.java: Likewise. | |
27820 | ||
27821 | 2006-03-08 Michael Koch <konqueror@gmx.de> | |
27822 | ||
27823 | * java/net/InetSocketAddress.java | |
27824 | (InetSocketAddress(String,int,resolve)): New private contructor. | |
27825 | (InetSocketAddress(String,int)): Use new private constructor. | |
27826 | (createUnresolved): New method. | |
27827 | ||
97b8365c TT |
27828 | 2006-03-07 Michael Koch <konqueror@gmx.de> |
27829 | ||
27830 | * gnu/java/net/DefaultProxySelector.java, | |
27831 | java/net/Proxy.java, java/net/ProxySelector.java: | |
27832 | New files. | |
27833 | ||
4f9533c7 MW |
27834 | 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
27835 | ||
27836 | * java/rmi/server/UID.java (constructor): Assign last and time fields | |
27837 | after pause. | |
27838 | ||
4f9533c7 MW |
27839 | 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
27840 | ||
27841 | * java/rmi/server/UID.java: New file (replacing). | |
27842 | ||
27843 | 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au> | |
27844 | ||
27845 | * java/util/jar/Manifest.java: Removed unused imports. | |
27846 | (CRLF): New constant. | |
27847 | (read): Added method documentation. | |
27848 | Use UTF-8 encoding instead of 8859_1. | |
27849 | (write): Added method documentation. | |
27850 | Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter. | |
27851 | (write_main_section): Replace PrintWriter arg with OutputStream. | |
27852 | Replace JarException with IOException. | |
27853 | (write_version_info): Likewise. | |
27854 | (write_main_attributes): Likewise. | |
27855 | (write_attribute_entry): Likewise. | |
27856 | (write_individual_sections): Likewise. | |
27857 | (write_entry_attributes): Likewise. | |
27858 | (write_header): Replace PrintWriter arg with OutputStream. | |
27859 | Re-implemented. | |
27860 | ||
27861 | 2006-03-07 David Gilbert <david.gilbert@object-refinery.com> | |
27862 | ||
27863 | * javax/swing/tree/DefaultMutableTreeNode.java | |
27864 | (getFirstChild): Updated API docs, | |
27865 | (getLastChild): Likewise, | |
27866 | (getChildAfter): Likewise, | |
27867 | (getChildBefore): Likewise, | |
27868 | (isNodeSibling): Return true if node == this, | |
27869 | (getSiblingCount): Updated API docs, | |
27870 | (getNextSibling): Likewise, | |
27871 | (getPreviousSibling): Likewise, | |
27872 | (isLeaf): Likewise, | |
27873 | (getFirstLeaf): Likewise, | |
27874 | (getLastLeaf): Likewise, | |
27875 | (getNextLeaf): Implemented, | |
27876 | (getPreviousLeaf): Implemented. | |
27877 | ||
27878 | 2006-03-07 Tom Tromey <tromey@redhat.com> | |
27879 | ||
27880 | * java/awt/image/ColorModel.java (getComponents): Javadoc fix. | |
27881 | * java/awt/datatransfer/FlavorEvent.java: Added missing @since. | |
27882 | * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field. | |
27883 | * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New | |
27884 | field. | |
27885 | ||
27886 | 2006-03-07 David Gilbert <david.gilbert@object-refinery.com> | |
27887 | ||
27888 | * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus | |
27889 | (clone): Reimplemented, | |
27890 | (add): Throw IllegalArgumentException if child is an ancestor, | |
27891 | (remove(int)): Set child's parent to null, | |
27892 | (remove(MutableTreeNode)): Check arguments and set child's parent to | |
27893 | null, | |
27894 | (insert): Check allowsChildren flag, check for null argument, and | |
27895 | check for a node that is an ancestor, | |
27896 | (getIndex): Throw IllegalArgumentException for null argument, | |
27897 | (setAllowsChildren): If setting to false, remove existing children, | |
27898 | (removeAllChildren): Set parent to null for removed children. | |
27899 | ||
27900 | 2006-03-07 David Gilbert <david.gilbert@object-refinery.com> | |
27901 | ||
27902 | * javax/swing/tree/TreeNode.java: Reformatted and added API docs all | |
27903 | over. | |
27904 | ||
27905 | 2006-03-06 Tom Tromey <tromey@redhat.com> | |
27906 | ||
27907 | * java/lang/StrictMath.java (ulp): New methods. | |
27908 | * java/lang/Math.java (ulp): New methods. | |
27909 | ||
27910 | 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
27911 | ||
27912 | * gnu/java/rmi/server/UnicastRef.java, | |
97b8365c TT |
27913 | * gnu/java/rmi/server/UnicastServer.java: Formatted. |
27914 | ||
4f9533c7 MW |
27915 | 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
27916 | ||
97b8365c TT |
27917 | * gnu/java/rmi/server/CombinedClassLoader.java |
27918 | (findClass, findLibrary, findResouce, findResources): check | |
27919 | all loaders in array. | |
27920 | ||
4f9533c7 MW |
27921 | 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
27922 | ||
97b8365c TT |
27923 | PR 25526 |
27924 | * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed. | |
27925 | (RefProtector): new inner class. (dirty): Rewritten. | |
4f9533c7 MW |
27926 | * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash, |
27927 | dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC): | |
27928 | new methods. (readExternal): Create LeaseRenewingTask if non local. | |
97b8365c TT |
27929 | * gnu/java/rmi/server/UnicastServer.java (objects): |
27930 | Use WeakHashMap. (refcache): Use WeakIdentityHashMap. | |
4f9533c7 MW |
27931 | (getExported): New method. |
27932 | * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file. | |
97b8365c | 27933 | |
8aa540d2 MW |
27934 | 2006-03-06 Mark Wielaard <mark@klomp.org> |
27935 | ||
4f9533c7 MW |
27936 | * doc/www.gnu.org/announce/20060306.wml: New file. |
27937 | * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement. | |
27938 | * doc/www.gnu.org/downloads/downloads.wml: Add 0.90. | |
97b8365c | 27939 | |
4f9533c7 MW |
27940 | 2006-03-06 David Gilbert <david.gilbert@object-refinery.com> |
27941 | ||
27942 | * javax/swing/plaf/metal/MetalLookAndFeel.java | |
97b8365c TT |
27943 | (initComponentDefaults): Use Boolean.TRUE for |
27944 | 'CheckBoxMenuItem.borderPainted'. | |
27945 | ||
27946 | 2006-03-06 Wolfgang Baer <WBaer@gmx.de> | |
4f9533c7 | 27947 | |
97b8365c TT |
27948 | * gnu/java/net/protocol/http/Headers.java: Added documentation all over. |
27949 | (dateFormat): Made private. | |
27950 | (put): Replace only the last occurance and the value. | |
27951 | (putAll): Reimplemented with the put method. | |
4f9533c7 | 27952 | |
97b8365c TT |
27953 | 2006-03-06 Lillian Angel <langel@redhat.com> |
27954 | ||
27955 | PR classpath/26569 | |
4f9533c7 | 27956 | * java/awt/List.java |
97b8365c TT |
27957 | (preferredSize): Return the size of the list if the peer is |
27958 | null. | |
4f9533c7 | 27959 | * gnu/java/awt/peer/gtk/GtkListPeer.java |
97b8365c TT |
27960 | (preferredSize): Code was returning the minimum size of the |
27961 | list. Added adjustment to the width of the list so it is a | |
27962 | proper size. | |
27963 | ||
4f9533c7 MW |
27964 | 2006-03-06 Wolfgang Baer <WBaer@gmx.de> |
27965 | ||
27966 | * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports. | |
27967 | (getRequestProperty): Remove duplicated null check. | |
97b8365c | 27968 | * java/net/URLConnection.java: |
4f9533c7 MW |
27969 | (URLConnection): Javadoc fix. |
27970 | (addRequestProperty): Likewise. | |
27971 | (getDefaultRequestProperty): Likewise. | |
27972 | (getHeaderField): Likewise. | |
27973 | (getHeaderFieldDate): Likewise. | |
27974 | (getHeaderFieldKey): Likewise. | |
27975 | (getHeaderFields): Likewise. | |
27976 | (getRequestProperties): Likewise. | |
27977 | (getRequestProperty): Likewise. | |
27978 | (setDefaultRequestProperty): Likewise. | |
27979 | (setRequestProperty): Likewise. | |
97b8365c TT |
27980 | |
27981 | 2006-03-06 Robert Schuster <robertschuster@fsfe.org> | |
27982 | ||
27983 | * examples/gnu/classpath/examples/swing/TextArea.java: New file. | |
27984 | * examples/gnu/classpath/examples/swing/Demo.java: | |
27985 | (mkButtonBar): Changed layout manager to GridLayout, added entry for | |
27986 | textarea example. | |
27987 | (mkMenuBar): Added entry for text area example. | |
27988 | ||
4f9533c7 MW |
27989 | 2006-03-06 Tom Tromey <tromey@redhat.com> |
27990 | ||
27991 | * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed. | |
27992 | (FORMATTED_TEXT_FIELD): Likewise. | |
97b8365c | 27993 | |
4f9533c7 MW |
27994 | 2006-03-06 Tom Tromey <tromey@redhat.com> |
27995 | ||
27996 | * javax/swing/plaf/synth/SynthPainter.java: Finished. | |
97b8365c | 27997 | |
8aa540d2 MW |
27998 | 2006-03-06 Robert Schuster <robertschuster@fsfe.org> |
27999 | ||
4f9533c7 MW |
28000 | * examples/gnu/classpath/examples/swing/Demo.java: |
28001 | (mkMenuBar): Added menu entry that will display the VM's name, | |
28002 | version and distributor. | |
97b8365c | 28003 | |
4f9533c7 | 28004 | 2006-03-06 Tom Tromey <tromey@redhat.com> |
97b8365c | 28005 | |
4f9533c7 MW |
28006 | * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): |
28007 | Javadoc fix. | |
28008 | (getName): Likewise. | |
97b8365c TT |
28009 | |
28010 | 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au> | |
4f9533c7 | 28011 | |
97b8365c TT |
28012 | * java/util/jar/Manifest.java: Removed unused imports. |
28013 | (CRLF): New constant. | |
28014 | (read): Added method documentation. | |
28015 | Use UTF-8 encoding instead of 8859_1. | |
28016 | (write): Added method documentation. | |
28017 | Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter. | |
28018 | (write_main_section): Replace PrintWriter arg with OutputStream. | |
28019 | Replace JarException with IOException. | |
28020 | (write_version_info): Likewise. | |
28021 | (write_main_attributes): Likewise. | |
28022 | (write_attribute_entry): Likewise. | |
28023 | (write_individual_sections): Likewise. | |
28024 | (write_entry_attributes): Likewise. | |
28025 | (write_header): Replace PrintWriter arg with OutputStream. | |
28026 | Re-implemented. | |
28027 | ||
4f9533c7 | 28028 | 2006-03-06 David Gilbert <david.gilbert@object-refinery.com> |
8aa540d2 | 28029 | |
97b8365c | 28030 | |
4f9533c7 | 28031 | * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed |
97b8365c | 28032 | API doc tag warnings, |
4f9533c7 MW |
28033 | * javax/swing/tree/VariableHeightLayoutCache.java: Likewise. |
28034 | ||
28035 | 2006-03-06 Dalibor Topic <robilad@kaffe.org> | |
28036 | ||
28037 | * gnu/java/net/protocol/file/Connection.java (unquote): | |
97b8365c TT |
28038 | Update position in buffer after decoding a unicode character |
28039 | outside of the basic plane. | |
28040 | ||
28041 | 2006-03-06 Dalibor Topic <robilad@kaffe.org> | |
4f9533c7 | 28042 | |
97b8365c TT |
28043 | * java/net/URI.java |
28044 | (quote): Pass Unicode characters outside the basic plane through. | |
28045 | ||
4f9533c7 | 28046 | 2006-03-06 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 28047 | |
4f9533c7 MW |
28048 | * javax/swing/plaf/basic/BasicTextUI.java: |
28049 | (damageRange): Rewritten if-expressions to correctly identify the | |
97b8365c | 28050 | break condition. |
4f9533c7 | 28051 | |
97b8365c | 28052 | 2006-03-06 Mark Wielaard <mark@klomp.org> |
4f9533c7 | 28053 | |
97b8365c TT |
28054 | * configure.ac: Set version to 0.90-generics. |
28055 | * NEWS: Fix typos. | |
4f9533c7 | 28056 | |
97b8365c TT |
28057 | 2006-03-06 Mark Wielaard <mark@klomp.org> |
28058 | ||
28059 | Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org> | |
28060 | * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t. | |
28061 | (isnan): Define explicitly isnan if it is not a macro. | |
28062 | ||
28063 | 2006-03-06 Robert Schuster <robertschuster@fsfe.org> | |
4f9533c7 | 28064 | |
97b8365c TT |
28065 | * javax/swing/text/GapContent.java: |
28066 | (insertString): Throw exception when argument is below | |
28067 | zero. | |
4f9533c7 MW |
28068 | |
28069 | 2006-03-06 Robert Schuster <robertschuster@fsfe.org> | |
28070 | ||
28071 | * javax/swing/text/PlainDocument.java: | |
28072 | (insertUpdate): Extended if-expression, added | |
28073 | code to generate another Element when newly inserted characters | |
28074 | and old ones will be on the same line. | |
28075 | ||
97b8365c TT |
28076 | 2006-03-06 Robert Schuster <robertschuster@fsfe.org> |
28077 | ||
28078 | * javax/swing/text/DefaultCaret.java: | |
28079 | (mouseDragged): Do selection when shift is pressed. | |
28080 | (mouseClicked): Implemented. | |
28081 | ||
28082 | 2006-03-06 Robert Schuster <robertschuster@fsfe.org> | |
28083 | ||
28084 | * javax/swing/text/PlainDocument.java: Fix copyright header, | |
28085 | added author tags. | |
28086 | (insertUpdate): Do not copy the whole document any more, added some | |
28087 | more variables to prevent needless method calls. | |
28088 | ||
28089 | 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at> | |
28090 | ||
28091 | * configure.ac: Check for FREETYPE2. This is a reverted patch and | |
28092 | is required on Darwin. | |
28093 | * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2. | |
28094 | (AM_CFLAGS): Likewise. | |
28095 | ||
28096 | 2006-03-06 Mark Wielaard <mark@klomp.org> | |
28097 | ||
28098 | * NEWS: Add updates for 0.90 release. | |
28099 | ||
4f9533c7 MW |
28100 | 2006-03-05 Robert Schuster <robertschuster@fsfe.org> |
28101 | ||
28102 | * javax/swing/text/GapContent.java: | |
28103 | (insertString): Throw exception when argument is below | |
28104 | zero. | |
28105 | ||
28106 | 2006-03-05 David Gilbert <david.gilbert@object-refinery.com> | |
28107 | ||
97b8365c TT |
28108 | |
28109 | * javax/swing/filechooser/FileFilter.java: | |
28110 | (accept): Fixed API doc tag, | |
28111 | (getDescription): Likewise, | |
28112 | * javax/swing/filechooser/FileView.java: | |
28113 | (isTraversable): Fixed API doc tag. | |
4f9533c7 MW |
28114 | |
28115 | 2006-03-05 David Gilbert <david.gilbert@object-refinery.com> | |
28116 | ||
97b8365c TT |
28117 | * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and |
28118 | added API docs all over. | |
28119 | ||
28120 | 2006-03-05 David Gilbert <david.gilbert@object-refinery.com> | |
28121 | ||
28122 | * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description, | |
28123 | and corrected a bad API doc tag. | |
4f9533c7 MW |
28124 | |
28125 | 2006-03-05 David Gilbert <david.gilbert@object-refinery.com> | |
28126 | ||
28127 | * javax/swing/undo/StateEditable.java | |
28128 | (restoreState): Fixed bad API doc tag, | |
28129 | * javax/swing/undo/UndoableEdit.java: Copied API doc comments from | |
28130 | AbstractUndoableEdit.java, | |
28131 | * javax/swing/undo/UndoableEditSupport.java | |
28132 | (createCompoundEdit): Fixed bad API doc tag, | |
28133 | * javax/swing/undo/UndoManager.java | |
28134 | (editToBeUndone): Fixed bad API doc tag, | |
28135 | (editToBeRedone): Likewise. | |
28136 | ||
28137 | 2006-03-05 David Gilbert <david.gilbert@object-refinery.com> | |
28138 | ||
97b8365c TT |
28139 | * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags, |
28140 | * javax/swing/FocusManager.java: Likewise. | |
4f9533c7 | 28141 | |
4f9533c7 MW |
28142 | |
28143 | 2006-03-05 David Gilbert <david.gilbert@object-refinery.com> | |
28144 | ||
97b8365c TT |
28145 | |
28146 | * javax/swing/plaf/metal/MetalComboBoxButton.java | |
28147 | (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane, | |
28148 | JList)): Fixed API doc tag, | |
28149 | * javax/swing/plaf/metal/MetalInternalFrameTitlePane | |
28150 | (createLayout): Fixed API doc warning. | |
28151 | ||
4f9533c7 MW |
28152 | 2006-03-05 Tom Tromey <tromey@redhat.com> |
28153 | ||
28154 | * vm/reference/java/lang/reflect/Constructor.java (toString): Use | |
97b8365c | 28155 | ClassHelper.getUserName. |
4f9533c7 MW |
28156 | * vm/reference/java/lang/reflect/Method.java (toString): Use |
28157 | ClassHelper.getUserName. | |
28158 | (getUserTypeName): Removed. | |
28159 | * gnu/java/lang/ClassHelper.java (getUserName): New method. | |
28160 | * vm/reference/java/lang/reflect/Field.java (toString): Use | |
28161 | ClassHelper.getUserName. | |
28162 | ||
28163 | 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com> | |
28164 | ||
28165 | Fixes PR 22813 | |
97b8365c | 28166 | * java/net/URLClassLoader.java (FileURLLoader.getResource): |
4f9533c7 | 28167 | Allows directories as valid resources. |
8aa540d2 | 28168 | |
97b8365c | 28169 | 2006-03-05 Mark Wielaard <mark@klomp.org> |
8aa540d2 | 28170 | |
97b8365c TT |
28171 | * configure.ac (VERSION): Set to 0.90-pre-generics. |
28172 | * Merge with CVS trunk from classpath-0_90-branch-point. | |
8aa540d2 MW |
28173 | |
28174 | 2006-03-04 Tom Tromey <tromey@redhat.com> | |
28175 | ||
28176 | * javax/swing/SpringLayout.java (Constraints): New constructor. | |
28177 | * javax/swing/Spring.java (width): New method. | |
28178 | (height): Likewise. | |
28179 | (scale): Likewise. | |
28180 | ||
28181 | 2006-03-04 Mark Wielaard <mark@klomp.org> | |
28182 | ||
28183 | * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove | |
28184 | existing connection from pool before returning. | |
28185 | ||
28186 | 2006-03-04 Mark Wielaard <mark@klomp.org> | |
28187 | ||
28188 | * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore | |
28189 | exceptions thrown by handlers while cleaning up and rethrow original | |
28190 | exception. | |
28191 | ||
28192 | 2006-03-04 Tom Tromey <tromey@redhat.com> | |
28193 | ||
28194 | * java/beans/PropertyDescriptor.java (createPropertyEditor): New | |
28195 | method. | |
28196 | (findConstructor): Likewise. | |
28197 | (instantiateClass): Likewise. | |
28198 | ||
28199 | 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
28200 | ||
28201 | * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix. | |
28202 | (dirty): Do not synchronize on Hashtable. Use the passed (requested) | |
28203 | lease value and not always the default one. | |
28204 | (LeaseRecord): Remember the array of objects, marked as dirty. | |
28205 | java/rmi/dgc/Lease.java: Boilerplate fix. | |
28206 | ||
28207 | 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au> | |
28208 | ||
28209 | * java/util/jar/Attributes.java (putValue): Made it public and updated | |
28210 | method documentation. | |
28211 | ||
28212 | 2006-03-04 Mark Wielaard <mark@klomp.org> | |
28213 | ||
28214 | * java/awt/Container.java (remove(int)): Always call removeNotify() | |
28215 | on removed Component. | |
28216 | ||
28217 | 2006-03-04 Mark Wielaard <mark@klomp.org> | |
28218 | ||
28219 | Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>. | |
28220 | * javax/swing/JEditorPane.java (setText): Check for empty String | |
28221 | with equals(), not equality (==). | |
28222 | ||
28223 | 2006-03-04 Mark Wielaard <mark@klomp.org> | |
28224 | ||
28225 | * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as | |
28226 | DefaultStyledDocument.ElementSpec for gcj 4.0.x. | |
28227 | ||
28228 | 2006-03-04 David Gilbert <david.gilbert@object-refinery.com> | |
28229 | ||
28230 | * javax/swing/text/GapContent.java | |
28231 | (getArray): Mark as final. | |
28232 | ||
28233 | 2006-03-04 David Gilbert <david.gilbert@object-refinery.com> | |
28234 | ||
28235 | * javax/swing/text/StyleConstants.java | |
28236 | (CharacterConstants.Background): Marked final, | |
28237 | (CharacterConstants.BidiLevel): Likewise, | |
28238 | (CharacterConstants.Bold): Likewise, | |
28239 | (CharacterConstants.ComponentAttribute): Likewise, | |
28240 | (CharacterConstants.Family): Likewise, | |
28241 | (CharacterConstants.Size): Likewise, | |
28242 | (CharacterConstants.Foreground): Likewise, | |
28243 | (CharacterConstants.IconAttribute): Likewise, | |
28244 | (CharacterConstants.Italic): Likewise, | |
28245 | (CharacterConstants.StrikeThrough): Likewise, | |
28246 | (CharacterConstants.Subscript): Likewise, | |
28247 | (CharacterConstants.Superscript): Likewise, | |
28248 | (CharacterConstants.Underline): Likewise, | |
28249 | (ColorConstants.Foreground): Likewise, | |
28250 | (ColorConstants.Background): Likewise, | |
28251 | (FontConstants.Bold): Likewise, | |
28252 | (FontConstants.Family): Likewise, | |
28253 | (FontConstants.Italic): Likewise, | |
28254 | (FontConstants.Size): Likewise, | |
28255 | (ParagraphConstants.Alignment): Likewise, | |
28256 | (ParagraphConstants.FirstLineIndent): Likewise, | |
28257 | (ParagraphConstants.LeftIndent): Likewise, | |
28258 | (ParagraphConstants.LineSpacing): Likewise, | |
28259 | (ParagraphConstants.Orientation): Likewise, | |
28260 | (ParagraphConstants.RightIndent): Likewise, | |
28261 | (ParagraphConstants.SpaceAbove): Likewise, | |
28262 | (ParagraphConstants.SpaceBelow): Likewise, | |
28263 | (ParagraphConstants.TabSet): Likewise. | |
28264 | ||
28265 | 2006-03-03 Tom Tromey <tromey@redhat.com> | |
28266 | ||
28267 | * javax/net/ssl/SSLException.java: Added missing @since. | |
28268 | Wrote javadoc. | |
28269 | ||
28270 | 2006-03-03 Tom Tromey <tromey@redhat.com> | |
28271 | ||
28272 | * javax/net/ssl/SSLException.java (SSLException): New constructors. | |
28273 | (serialVersionUID): New field. | |
28274 | ||
28275 | 2006-03-03 Tom Tromey <tromey@redhat.com> | |
28276 | ||
28277 | * java/security/spec/InvalidKeySpecException.java | |
28278 | (InvalidKeySpecException): New constructors. | |
28279 | * java/security/cert/CertificateParsingException.java | |
28280 | (CertificateParsingException): New constructors. | |
28281 | * java/security/cert/CertificateEncodingException.java | |
28282 | (CertificateEncodingException): New constructors. | |
28283 | * java/security/cert/CertificateException.java (CertificateException): | |
28284 | New constructors. | |
28285 | * java/security/cert/CRLException.java (CRLException): New | |
28286 | constructors. | |
28287 | ||
28288 | 2006-03-03 Tom Tromey <tromey@redhat.com> | |
28289 | ||
28290 | * java/security/SignatureException.java (SignatureException): New | |
28291 | constructors. | |
28292 | * java/security/ProviderException.java (ProviderException): New | |
28293 | constructors. | |
28294 | * java/security/NoSuchAlgorithmException.java | |
28295 | (NoSuchAlgorithmException): New constructors. | |
28296 | * java/security/KeyStoreException.java (KeyStoreException): New | |
28297 | constructors. | |
28298 | * java/security/KeyManagementException.java (KeyManagementException): | |
28299 | New constructors. | |
28300 | * java/security/InvalidKeyException.java (InvalidKeyException): New | |
28301 | constructors. | |
28302 | * java/security/KeyException.java (KeyException): New constructors. | |
28303 | * java/security/InvalidAlgorithmParameterException.java | |
28304 | (InvalidAlgorithmParameterException): New constructors. | |
28305 | * java/security/DigestException.java (DigestException): New | |
28306 | constructors. | |
28307 | * java/security/GeneralSecurityException.java | |
28308 | (GeneralSecurityException): New constructors. | |
28309 | ||
28310 | 2006-03-03 David Gilbert <david.gilbert@object-refinery.com> | |
28311 | ||
28312 | * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc | |
28313 | warnings, | |
28314 | * javax/swing/event/DocumentEvent.java: Likewise, | |
28315 | * javax/swing/event/EventListenerList.java: Likewise, | |
28316 | * javax/swing/event/MenuDragMouseEvent.java: Likewise, | |
28317 | * javax/swing/event/MenuKeyEvent.java: Likewise, | |
28318 | * javax/swing/event/TableColumnModelEvent.java: Likewise, | |
28319 | * javax/swing/event/TreeExpansionEvent.java: Likewise, | |
28320 | * javax/swing/event/TreeModelEvent.java: Likewise, | |
28321 | * javax/swing/event/TreeSelectionEvent.java: Likewise, | |
28322 | * javax/swing/event/UndoableEditEvent.java: Likewise. | |
28323 | ||
28324 | 2006-03-03 Tom Tromey <tromey@redhat.com> | |
28325 | ||
28326 | * java/awt/Insets.java (set): New method. | |
28327 | (equals): Added @since. | |
28328 | ||
28329 | 2006-03-03 David Daney <ddaney@avtrex.com> | |
28330 | ||
28331 | * gnu/java/net/protocol/http/HTTPURLConnection.java | |
28332 | (getRequestProperties): Rewrote. | |
28333 | (addRequestProperty): Rewrote. | |
28334 | (getHeaderFields): Rewrote. | |
28335 | (getHeaderField): Rewrote. | |
28336 | (getHeaderFieldKey): Rewrote. | |
28337 | (getHeaderField): Removed useless cast. | |
28338 | * gnu/java/net/protocol/http/Headers.java: Entire class rewritten. | |
28339 | * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers | |
28340 | interface. | |
28341 | (notifyHeaderHandlers): Use new Headers interface. | |
28342 | ||
28343 | 2006-03-03 Tom Tromey <tromey@redhat.com> | |
28344 | ||
28345 | * javax/naming/NamingException.java (getExplanation): Javadoc fix. | |
28346 | * javax/naming/spi/ResolveResult.java, | |
28347 | javax/naming/event/NamingExceptionEvent.java, | |
28348 | javax/naming/event/NamingEvent.java, | |
28349 | javax/naming/directory/SearchResult.java, | |
28350 | javax/naming/directory/SearchControls.java, | |
28351 | javax/naming/directory/SchemaViolationException.java, | |
28352 | javax/naming/directory/NoSuchAttributeException.java, | |
28353 | javax/naming/directory/ModificationItem.java, | |
28354 | javax/naming/directory/InvalidSearchFilterException.java, | |
28355 | javax/naming/directory/InvalidSearchControlsException.java, | |
28356 | javax/naming/directory/InvalidAttributesException.java, | |
28357 | javax/naming/directory/InvalidAttributeIdentifierException.java, | |
28358 | javax/naming/directory/AttributeModificationException.java, | |
28359 | javax/naming/directory/AttributeInUseException.java, | |
28360 | javax/naming/TimeLimitExceededException.java, | |
28361 | javax/naming/SizeLimitExceededException.java, | |
28362 | javax/naming/PartialResultException.java, | |
28363 | javax/naming/Reference.java, | |
28364 | javax/naming/ServiceUnavailableException.java, | |
28365 | javax/naming/OperationNotSupportedException.java, | |
28366 | javax/naming/NotContextException.java, | |
28367 | javax/naming/NoPermissionException.java, | |
28368 | javax/naming/NoInitialContextException.java, | |
28369 | javax/naming/NameNotFoundException.java, | |
28370 | javax/naming/NameAlreadyBoundException.java, | |
28371 | javax/naming/NameClassPair.java, | |
28372 | javax/naming/MalformedLinkException.java, | |
28373 | javax/naming/LinkLoopException.java, | |
28374 | javax/naming/LinkException.java, | |
28375 | javax/naming/LimitExceededException.java, | |
28376 | javax/naming/InvalidNameException.java, | |
28377 | javax/naming/InterruptedNamingException.java, | |
28378 | javax/naming/InsufficientResourcesException.java, | |
28379 | javax/naming/ContextNotEmptyException.java, | |
28380 | javax/naming/ConfigurationException.java, | |
28381 | javax/naming/CannotProceedException.java, | |
28382 | javax/naming/CommunicationException.java, | |
28383 | javax/naming/Binding.java, | |
28384 | javax/naming/AuthenticationNotSupportedException.java, | |
28385 | javax/naming/AuthenticationException.java: Added serialVersionUID. | |
28386 | ||
28387 | 2006-03-03 David Gilbert <david.gilbert@object-refinery.com> | |
28388 | ||
28389 | * javax/swing/event/TableColumnModelEvent.java: Reformatted. | |
28390 | ||
28391 | 2006-03-03 David Gilbert <david.gilbert@object-refinery.com> | |
28392 | ||
28393 | * javax/swing/event/TableModelListener.java: Updated API docs. | |
28394 | ||
28395 | 2006-03-03 Mark Wielaard <mark@klomp.org> | |
28396 | ||
28397 | * java/awt/Component.java (addNotify): Expand documentation. | |
28398 | ||
28399 | 2006-03-03 Mark Wielaard <mark@klomp.org> | |
28400 | ||
28401 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): | |
28402 | Always call setParentAndBounds(). | |
28403 | (setComponentBounds): Always call setBounds(). | |
28404 | (setBounds): Call setVisible(). | |
28405 | (setVisible): If no pixels are showing then don't make it visible. | |
28406 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need | |
28407 | to call setParentAndBounds() anymore. | |
28408 | ||
28409 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28410 | ||
28411 | * javax/swing/JInternalFrame.java | |
28412 | (JInternalFrame): Set frame invisible. | |
28413 | (show): Reformatted. | |
28414 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
28415 | (installDefaults): Do not set invisible here. | |
28416 | ||
28417 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28418 | ||
28419 | * java/awt/Toolkit.java | |
28420 | (getScreenInsets): Return (0,0,0,0) here. | |
28421 | ||
28422 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28423 | ||
28424 | * javax/swing/text/FlowView.java | |
28425 | (FlowStrategy.layoutRow): Added check for rowCount == 0. | |
28426 | (FlowStrategy.getLogicalView): Made method protected. | |
28427 | ||
28428 | 2006-03-03 Chris Burdess <dog@gnu.org> | |
28429 | ||
28430 | * gnu/xml/validation/relaxng/AnyNameNameClass.java, | |
28431 | gnu/xml/validation/relaxng/AttributePattern.java, | |
28432 | gnu/xml/validation/relaxng/ChoiceNameClass.java, | |
28433 | gnu/xml/validation/relaxng/ChoicePattern.java, | |
28434 | gnu/xml/validation/relaxng/DataPattern.java, | |
28435 | gnu/xml/validation/relaxng/Define.java, | |
28436 | gnu/xml/validation/relaxng/ElementPattern.java, | |
28437 | gnu/xml/validation/relaxng/EmptyPattern.java, | |
28438 | gnu/xml/validation/relaxng/FullSyntaxBuilder.java, | |
28439 | gnu/xml/validation/relaxng/Grammar.java, | |
28440 | gnu/xml/validation/relaxng/GrammarException.java, | |
28441 | gnu/xml/validation/relaxng/GrammarValidator.java, | |
28442 | gnu/xml/validation/relaxng/GroupPattern.java, | |
28443 | gnu/xml/validation/relaxng/InterleavePattern.java, | |
28444 | gnu/xml/validation/relaxng/ListPattern.java, | |
28445 | gnu/xml/validation/relaxng/NSNameNameClass.java, | |
28446 | gnu/xml/validation/relaxng/NameClass.java, | |
28447 | gnu/xml/validation/relaxng/NameNameClass.java, | |
28448 | gnu/xml/validation/relaxng/NotAllowedPattern.java, | |
28449 | gnu/xml/validation/relaxng/OneOrMorePattern.java, | |
28450 | gnu/xml/validation/relaxng/Param.java, | |
28451 | gnu/xml/validation/relaxng/Pattern.java, | |
28452 | gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java, | |
28453 | gnu/xml/validation/relaxng/RefPattern.java, | |
28454 | gnu/xml/validation/relaxng/TextPattern.java, | |
28455 | gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar | |
28456 | builder and data model. | |
28457 | * gnu/xml/validation/xmlschema/AnyAttribute.java, | |
28458 | gnu/xml/validation/xmlschema/AttributeDeclaration.java, | |
28459 | gnu/xml/validation/xmlschema/AttributeUse.java, | |
28460 | gnu/xml/validation/xmlschema/ComplexType.java, | |
28461 | gnu/xml/validation/xmlschema/ElementDeclaration.java, | |
28462 | gnu/xml/validation/xmlschema/Particle.java, | |
28463 | gnu/xml/validation/xmlschema/ValidationException.java, | |
28464 | gnu/xml/validation/xmlschema/XMLSchema.java, | |
28465 | gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java, | |
28466 | gnu/xml/validation/xmlschema/XMLSchemaBuilder.java, | |
28467 | gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java, | |
28468 | gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java, | |
28469 | gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java, | |
28470 | gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java, | |
28471 | gnu/xml/validation/xmlschema/XMLSchemaValidator.java, | |
28472 | gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New | |
28473 | W3C XML Schema builder and schema components. | |
28474 | * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C | |
28475 | XML Schema namespace URIs. | |
28476 | ||
28477 | 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com> | |
28478 | ||
28479 | * NEWS: Add entry for --enable-collections. | |
28480 | * configure.ac: Add --enable-collections option. | |
28481 | * lib/Makefile.am (collections.jar): New target. | |
28482 | (glibj_DATA): Add $(COLLECTIONS). | |
28483 | * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX | |
28484 | configure substitution. | |
28485 | (classpath): Read from command line. | |
28486 | (javautilclasses): Remove BasicMapEntry. Add RandomAccess. | |
28487 | ||
28488 | 2006-03-03 David Gilbert <david.gilbert@object-refinery.com> | |
28489 | ||
28490 | * javax/swing/SpringLayout.java: Fixed API doc warnings. | |
28491 | ||
28492 | 2006-03-03 David Gilbert <david.gilbert@object-refinery.com> | |
28493 | ||
28494 | * javax/swing/event/ListSelectionEvent.java | |
28495 | (toString): Implemented, | |
28496 | plus updated API docs all over. | |
28497 | ||
28498 | 2006-03-03 David Gilbert <david.gilbert@object-refinery.com> | |
28499 | ||
28500 | * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed | |
28501 | API doc warnings, | |
28502 | * javax/swing/event/ListSelectionListener.java: Updated API docs. | |
28503 | ||
28504 | 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
28505 | ||
28506 | * gnu/java/rmi/dgc/DGCImpl.java, | |
28507 | java/rmi/dgc/DGC.java, | |
28508 | java/rmi/dgc/Lease.java: Formatted and commented. | |
28509 | ||
28510 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28511 | ||
28512 | * NEWS: Added comment about text highlighting and copy+paste | |
28513 | in Swing. | |
28514 | ||
28515 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28516 | ||
28517 | * javax/swing/JTabbedPane.java | |
28518 | (remove(int)): Call super.remove(int) instead of remove(Component). | |
28519 | Avoids a stack overflow. | |
28520 | ||
28521 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28522 | ||
28523 | * javax/swing/JTable.java | |
28524 | (distributeSpillResizing): Avoid ArithmeticException by checking | |
28525 | divisor. | |
28526 | ||
28527 | 2006-03-03 David Gilbert <david.gilbert@object-refinery.com> | |
28528 | ||
28529 | * javax/swing/text/package.html: Added package description. | |
28530 | ||
28531 | 2006-03-03 David Gilbert <david.gilbert@object-refinery.com> | |
28532 | ||
28533 | * javax/swing/CellRendererPane.java: Minor API doc fix, | |
28534 | * javax/swing/ComboBoxModel.java: Updated API docs. | |
28535 | ||
28536 | 2006-03-03 Chris Burdess <dog@gnu.org> | |
28537 | ||
28538 | Fixes PR 26503 | |
28539 | * gnu/xml/stream/EntityReferenceImpl.java, | |
28540 | gnu/xml/stream/FilteredEventReader.java, | |
28541 | gnu/xml/stream/SAXParser.java, | |
28542 | gnu/xml/stream/XIncludeFilter.java, | |
28543 | gnu/xml/stream/XMLEventAllocatorImpl.java, | |
28544 | gnu/xml/stream/XMLEventFactoryImpl.java, | |
28545 | gnu/xml/stream/XMLEventImpl.java, | |
28546 | gnu/xml/stream/XMLEventReaderImpl.java, | |
28547 | gnu/xml/stream/XMLEventWriterImpl.java, | |
28548 | gnu/xml/stream/XMLInputFactoryImpl.java, | |
28549 | gnu/xml/stream/XMLOutputFactoryImpl.java, | |
28550 | gnu/xml/stream/XMLParser.java, | |
28551 | javax/xml/stream/EventFilter.java, | |
28552 | javax/xml/stream/Location.java, | |
28553 | javax/xml/stream/StreamFilter.java, | |
28554 | javax/xml/stream/XMLEventFactory.java, | |
28555 | javax/xml/stream/XMLEventReader.java, | |
28556 | javax/xml/stream/XMLEventWriter.java, | |
28557 | javax/xml/stream/XMLInputFactory.java, | |
28558 | javax/xml/stream/XMLOutputFactory.java, | |
28559 | javax/xml/stream/XMLReporter.java, | |
28560 | javax/xml/stream/XMLResolver.java, | |
28561 | javax/xml/stream/XMLStreamConstants.java, | |
28562 | javax/xml/stream/XMLStreamReader.java, | |
28563 | javax/xml/stream/events/EntityDeclaration.java, | |
28564 | javax/xml/stream/events/EntityReference.java, | |
28565 | javax/xml/stream/events/XMLEvent.java, | |
28566 | javax/xml/stream/util/EventReaderDelegate.java, | |
28567 | javax/xml/stream/util/ReaderDelegate.java: Updated to final version of | |
28568 | StAX API as specified in JWSDP 2.0. | |
28569 | * gnu/xml/stream/EndEntityImpl.java, | |
28570 | gnu/xml/stream/LocationImpl.java, | |
28571 | gnu/xml/stream/StartEntityImpl.java, | |
28572 | gnu/xml/stream/XMLStreamReaderImpl.java, | |
28573 | javax/xml/stream/XMLFilter.java, | |
28574 | javax/xml/stream/XMLIterator.java, | |
28575 | javax/xml/stream/events/EndEntity.java, | |
28576 | javax/xml/stream/events/StartEntity.java: Removed legacy files. | |
28577 | ||
28578 | 2006-03-03 David Gilbert <david.gilbert@object-refinery.com> | |
28579 | ||
28580 | * javax/swing/CellEditor.java: API doc updates, | |
28581 | * javax/swing/DefaultCellEditor.java: Likewise. | |
28582 | ||
28583 | 2006-03-03 David Gilbert <david.gilbert@object-refinery.com> | |
28584 | ||
28585 | * javax/swing/AbstractListModel.java: | |
28586 | (AbstractListModel): Added API docs, | |
28587 | (fireContentsChanged): Minor API doc correction, | |
28588 | (fireIntervalAdded): Likewise, | |
28589 | (fireIntervalRemoved): Likewise. | |
28590 | ||
28591 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28592 | ||
28593 | * NEWS: Added paragraph about Swing improvements. | |
28594 | ||
28595 | 2006-03-03 David Gilbert <david.gilbert@object-refinery.com> | |
28596 | ||
28597 | * javax/swing/AbstractAction.java: Updated API docs all over, | |
28598 | * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus | |
28599 | (stopCellEditing): Minor API doc correction, | |
28600 | * javax/swing/UnsupportedLookAndFeelException.java | |
28601 | (UnsupportedLookAndFeelException): Changed argument name, updated API | |
28602 | docs. | |
28603 | ||
28604 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28605 | ||
28606 | * javax/swing/plaf/metal/MetalUtils.java | |
28607 | (fillMetalPattern): Added switch to not use Graphics2D methods, | |
28608 | even if they are available. | |
28609 | ||
28610 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28611 | ||
28612 | * javax/swing/plaf/basic/BasicHTML.java | |
28613 | (isHTMLString): Check for string beeing null. | |
28614 | * javax/swing/plaf/basic/BasicInternalFrameUI.java | |
28615 | (BasicInternalFrameListener.internalFrameActivated): Implemented. | |
28616 | (BasicInternalFrameListener.internalFrameDeactivated): Implemented. | |
28617 | (InternalFrameLayout): Don't touch the glass pane here. | |
28618 | (installUI): Fix handling of glass pane. | |
28619 | * javax/swing/plaf/basic/BasicLabelUI.java | |
28620 | (vr): New field. | |
28621 | (ir): New field. | |
28622 | (tr): New field. | |
28623 | (BasicLabelUI): Initialize new fields. | |
28624 | (getPreferredSize): Avoid creating new Rectangles by using | |
28625 | SwingUtilities method. | |
28626 | (paint): Avoid creating new Rectangles by reusing | |
28627 | new fields. Added some preliminary handling of HTML inside the | |
28628 | label. | |
28629 | (installComponents): Handle HTML by calling BasicHTML.updateRenderer. | |
28630 | (uninstallComponents): Clear HTML renderer. | |
28631 | (propertyChange): Check for HTML text and install renderer if | |
28632 | appropriate. | |
28633 | * javax/swing/plaf/basic/BasicListUI.java | |
28634 | (getCellBounds): Avoid creating new Rectangle by using SwingUtilities | |
28635 | method. | |
28636 | * javax/swing/plaf/basic/BasicTextUI.java | |
28637 | (RootView.getStartOffset): Implemented. | |
28638 | (RootView.getEndOffset): Implemented. | |
28639 | (RootView.getDocument): Implemented. | |
28640 | ||
28641 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28642 | ||
28643 | * javax/swing/text/DefaultStyledDocument.java | |
28644 | (ElementBuffer.inserUpdate): Added check for zero-length | |
28645 | element. | |
28646 | * javax/swing/text/DefaultStyledDocument.java | |
28647 | (setIndex): Improved exception message. | |
28648 | * javax/swing/text/TableView.java | |
28649 | Made class abstract. | |
28650 | (TableRow.replace): Probably extend columnRequirements | |
28651 | arrays. | |
28652 | (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead | |
28653 | of super.layoutMajorAxis. | |
28654 | (columnRequirements): Made field package private. | |
28655 | (TableView): Do not load any child views here. | |
28656 | (layoutColumns): Implemented this method. | |
28657 | (updateColumnRequirements): New helper method. | |
28658 | * javax/swing/text/Utilities.java | |
28659 | (getBreakLocation): Also take offset into account when | |
28660 | finding end location. | |
28661 | * javax/swing/text/html/HTMLDocument.java | |
28662 | (HTMLReader.parseStack): New field. | |
28663 | (HTMLReader.blockOpen): Properly handle p-implied tags. | |
28664 | (HTMLReader.blockClose): Properly handle p-implied and empty tags. | |
28665 | (HTMLReader.addContent): Insert p-implied when adding content to | |
28666 | a block element. | |
28667 | * javax/swing/text/html/HTMLEditorKit.java | |
28668 | (HTMLFactory.create): Create HTMLTableView for <table> tags and | |
28669 | ParagraphView for TD tags. Print out warning for tags that don't have | |
28670 | matching view yet and create NullView for them. | |
28671 | (read): Only set document base when document != null. | |
28672 | * javax/swing/text/html/HTMLTableView.java: | |
28673 | New class | |
28674 | ||
28675 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28676 | ||
28677 | * javax/swing/plaf/basic/BasicHTML.java | |
28678 | (HTMLRootView): New inner class. | |
28679 | (createHTMLView): Embed view inside a HTMLRootView. | |
28680 | ||
28681 | 2006-03-03 Wolfgang Baer <WBaer@gmx.de> | |
28682 | ||
28683 | * gnu/java/net/protocol/jar/Connection.java: | |
28684 | (connect): Throw FileNotFoundException. | |
28685 | (getInputStream): Remove duplicated code. | |
28686 | ||
28687 | 2006-03-03 Roman Kennke <kennke@aicas.com> | |
28688 | ||
28689 | * javax/swing/RepaintManager.java | |
28690 | (commitBuffer): Added null check for clip. | |
28691 | ||
28692 | 2006-03-02 Lillian Angel <langel@redhat.com> | |
28693 | ||
28694 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
28695 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed | |
28696 | to use GtkWidget instead of GTKMenu. | |
28697 | ||
28698 | 2006-03-02 Lillian Angel <langel@redhat.com> | |
28699 | ||
28700 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
28701 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to | |
28702 | use the submenu to get the list of children. This now works | |
28703 | in the same way as addItem. | |
28704 | ||
28705 | 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com> | |
28706 | ||
28707 | * java/lang/StringBuilder.java: | |
28708 | (codePointAt): New method. | |
28709 | (codePointBefore): Likewise. | |
28710 | (codePointCount): Likewise. | |
28711 | (trimToSize): Likewise. | |
28712 | ||
28713 | 2006-03-02 Tom Tromey <tromey@redhat.com> | |
28714 | ||
28715 | * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote. | |
28716 | ||
28717 | 2006-03-02 Tom Tromey <tromey@redhat.com> | |
28718 | ||
28719 | * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method. | |
28720 | (getProviderInstance): | |
28721 | ||
28722 | 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
28723 | ||
28724 | * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: | |
28725 | Fix regression caused by move to VM variant. | |
28726 | PR classpath/22926. | |
28727 | ||
28728 | 2006-03-01 Tom Tromey <tromey@redhat.com> | |
28729 | ||
28730 | * vm/reference/java/net/VMNetworkInterface.java: Organized imports. | |
28731 | * vm/reference/java/net/VMInetAddress.java: Organized imports. | |
28732 | * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added | |
28733 | imports for javadoc. | |
28734 | (getProxyClass): Javadoc fixes. | |
28735 | (getProxyData): Likewise. | |
28736 | (generateProxyClass): Likewise. | |
28737 | * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix. | |
28738 | (setOut): Likewise. | |
28739 | (setErr): Likewise. | |
28740 | * vm/reference/java/lang/VMProcess.java: Javadoc fixes. | |
28741 | * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc | |
28742 | fix. | |
28743 | * vm/reference/java/lang/VMClass.java (getComponentType): Import for | |
28744 | javadoc. | |
28745 | (getModifiers): Likewise. | |
28746 | (getDeclaredClasses): Javadoc fix. | |
28747 | (getDeclaredFields): Likewise. | |
28748 | (getDeclaredMethods): Likewise. | |
28749 | (getDeclaredConstructors): Likewise. | |
28750 | * vm/reference/gnu/classpath/VMSystemProperties.java (preInit): | |
28751 | Javadoc fix. | |
28752 | ||
28753 | 2006-03-01 Tom Tromey <tromey@redhat.com> | |
28754 | ||
28755 | * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix. | |
28756 | * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports. | |
28757 | (getVersion): Javadoc fix. | |
28758 | (get): Likewise. | |
28759 | * gnu/java/net/protocol/http/Headers.java: Organized imports. | |
28760 | * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports. | |
28761 | ||
28762 | 2006-03-01 David Daney <ddaney@avtrex.com> | |
28763 | ||
28764 | * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec | |
28765 | as relative if it contains a colon but no protocol handler can be | |
28766 | found. | |
28767 | ||
28768 | 2006-03-01 Roman Kennke <kennke@aicas.com> | |
28769 | ||
28770 | * javax/swing/text/AbstractDocument.java | |
28771 | (LeafElement.LeafElement): Handle delta with respect to content | |
28772 | length not document length. | |
28773 | * javax/swing/text/CompositeView.java | |
28774 | (getViewIndex): Handle bias correctly. | |
28775 | * javax/swing/text/DefaultCaret.java | |
28776 | (paint): Align caret position to document bounds to avoid trouble | |
28777 | when removing large portions of content. | |
28778 | * javax/swing/text/DefaultStyledDocument.java | |
28779 | (ElementBuffer.insertFirstContentTag): Use pos instead of offset. | |
28780 | (ElementBuffer.createFracture): Copy old childs attribute. The | |
28781 | ElementSpec usually doesn't carry attribute information. | |
28782 | Use pos instead of offset. | |
28783 | (ElementBuffer.insertFracture): Use pos instead of offset. | |
28784 | (createDefaultRootElement): Don't use create* and instead directly | |
28785 | instantiate the elements. | |
28786 | (handleInsertAfterNewline): Compare the paragraphs startOffset | |
28787 | rather than previous paragraphs endOffset. | |
28788 | * javax/swing/text/JTextComponent.java | |
28789 | (getScrollableTracksViewportWidth): Remove unnecessary cast to | |
28790 | JViewport. | |
28791 | (getScrollableTracksViewportHeight): Remove unnecessary cast to | |
28792 | JViewport. | |
28793 | * javax/swing/text/PlainView.java | |
28794 | (damageLineRange): Avoid creating new Rectangle by using | |
28795 | SwingUtilities. | |
28796 | * javax/swing/text/View.java | |
28797 | (forwardUpdate): Correct the use of bias. | |
28798 | (modelToView): Avoid new Rectangles by using SwingUtilities. | |
28799 | (dump): Made (temprorarily) protected for use in BasicTextUI. | |
28800 | (dump(int)): Dump out the element of the view. | |
28801 | ||
28802 | 2006-03-01 Lillian Angel <langel@redhat.com> | |
28803 | ||
28804 | * NEWS: javax.imageio.plugins.bmp implementation. | |
28805 | ||
28806 | 2006-03-01 Lillian Angel <langel@redhat.com> | |
28807 | ||
28808 | * javax/imageio/ImageWriteParam.java: | |
28809 | Added documentation for fields. | |
28810 | * javax/imageio/plugins/bmp/BMPImageWriteParam.java: | |
28811 | New class implemented. | |
28812 | ||
28813 | 2006-03-01 Tom Tromey <tromey@redhat.com> | |
28814 | ||
28815 | * NEWS: Mention java.util.prefs update. | |
28816 | ||
28817 | 2006-03-01 Tom Tromey <tromey@redhat.com> | |
28818 | ||
28819 | * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo. | |
28820 | * java/nio/charset/UnmappableCharacterException.java: | |
28821 | (serialVersionUID): New field. | |
28822 | * java/nio/charset/MalformedInputException.java: | |
28823 | (serialVersionUID): New field. | |
28824 | * java/nio/charset/CoderMalfunctionError.java: | |
28825 | (serialVersionUID): New field. | |
28826 | * java/nio/charset/CharacterCodingException.java: | |
28827 | (serialVersionUID): New field. | |
28828 | * java/nio/channels/UnsupportedAddressTypeException.java: | |
28829 | (serialVersionUID): New field. | |
28830 | * java/nio/channels/UnresolvedAddressException.java: | |
28831 | (serialVersionUID): New field. | |
28832 | * java/nio/channels/OverlappingFileLockException.java: | |
28833 | (serialVersionUID): New field. | |
28834 | * java/nio/channels/NotYetConnectedException.java: | |
28835 | (serialVersionUID): New field. | |
28836 | * java/nio/channels/NotYetBoundException.java | |
28837 | (serialVersionUID): New field. | |
28838 | * java/nio/channels/NonWritableChannelException.java | |
28839 | (serialVersionUID): New field. | |
28840 | * java/nio/channels/NonReadableChannelException.java | |
28841 | (serialVersionUID): New field. | |
28842 | * java/nio/channels/NoConnectionPendingException.java | |
28843 | (serialVersionUID): New field. | |
28844 | * java/nio/channels/IllegalSelectorException.java | |
28845 | (serialVersionUID): New field. | |
28846 | * java/nio/channels/IllegalBlockingModeException.java | |
28847 | (serialVersionUID): New field. | |
28848 | * java/nio/channels/FileLockInterruptionException.java | |
28849 | (serialVersionUID): New field. | |
28850 | * java/nio/channels/ConnectionPendingException.java | |
28851 | (serialVersionUID): New field. | |
28852 | * java/nio/channels/ClosedSelectorException.java (serialVersionUID): | |
28853 | New field. | |
28854 | * java/nio/channels/ClosedChannelException.java (serialVersionUID): | |
28855 | New field. | |
28856 | * java/nio/channels/ClosedByInterruptException.java | |
28857 | (serialVersionUID): New field. | |
28858 | * java/nio/channels/CancelledKeyException.java (serialVersionUID): | |
28859 | New field. | |
28860 | * java/nio/channels/AsynchronousCloseException.java | |
28861 | (serialVersionUID): New field. | |
28862 | * java/nio/channels/AlreadyConnectedException.java (serialVersionUID): | |
28863 | New field. | |
28864 | * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field. | |
28865 | * java/nio/InvalidMarkException.java (serialVersionUID): New field. | |
28866 | * java/nio/BufferUnderflowException.java (serialVersionUID): New | |
28867 | field. | |
28868 | * java/nio/BufferOverflowException.java (serialVersionUID): New field. | |
28869 | * java/nio/channels/spi/AbstractInterruptibleChannel.java (end): | |
28870 | Javadoc fix. Added import. | |
28871 | * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix. | |
28872 | (validOps): Likewise. | |
28873 | * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports. | |
28874 | * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports. | |
28875 | * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports. | |
28876 | * java/nio/channels/Channels.java: Added import. | |
28877 | * java/nio/channels/FileChannel.java (lock): Typo fix. | |
28878 | (tryLock): Likewise. | |
28879 | ||
28880 | 2006-03-01 Tom Tromey <tromey@redhat.com> | |
28881 | ||
28882 | * java/util/prefs/Preferences.java (defaultFactoryClass): Use | |
28883 | FileBasedFactory. | |
28884 | * gnu/java/util/prefs/FileBasedPreferences.java: New file. | |
28885 | * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix. | |
28886 | (clear): Likewise. | |
28887 | (putSpi): Likewise. | |
28888 | (newNode): Likewise. | |
28889 | (node): Likewise. | |
28890 | * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix. | |
28891 | * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New | |
28892 | field. | |
28893 | (systemRoot): Use it. | |
28894 | (userPreferences): New field. | |
28895 | (userRoot): Use it. | |
28896 | ||
28897 | 2006-03-01 Jeroen Frijters <jeroen@frijters.net> | |
28898 | ||
28899 | * java/util/ResourceBundle.java | |
28900 | (tryBundle): Catch and ignore all Exceptions. | |
28901 | ||
28902 | 2006-02-28 Roman Kennke <kennke@aicas.com> | |
28903 | ||
28904 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
28905 | (getPreferredSize): Fixed add a fixed space between the buttons | |
28906 | instead of something related to min/max. | |
28907 | (installComponents): Create and install buttons here. | |
28908 | (installDefaults): Don't create buttons here. | |
28909 | * javax/swing/plaf/metal/MetalScrollBarUI.java | |
28910 | (getMinimumThumbSize): Return (0,0) when UI is not yet installed. | |
28911 | (getPreferredSize): New method. | |
28912 | ||
28913 | 2006-02-28 David Gilbert <david.gilbert@object-refinery.com> | |
28914 | ||
28915 | * examples/gnu/classpath/examples/swing/Demo.java | |
28916 | (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, | |
28917 | connected 'Spinner' action to SpinnerDemo, | |
28918 | (mkCheckbox): Removed, | |
28919 | (mkRadio): Likewise, | |
28920 | (mkSpinner): Likewise, | |
28921 | (mkToggle): Likewise, | |
28922 | (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, | |
28923 | connected 'Spinner' action to SpinnerDemo. | |
28924 | ||
28925 | 2006-02-28 Wolfgang Baer <WBaer@gmx.de> | |
28926 | ||
28927 | * javax/print/ServiceUIFactory.java: Added documentation to class. | |
28928 | ||
28929 | 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com> | |
28930 | ||
28931 | PR classpath/26434 | |
28932 | * javax/swing/DefaultListSelectionModel.java: | |
28933 | (addSelectionInterval): Return early if either of the arguments is -1. | |
28934 | (removeSelectionInterval): Likewise. | |
28935 | (setSelectionInterval): Likewise. | |
28936 | ||
28937 | 2006-02-28 Lillian Angel <langel@redhat.com> | |
28938 | ||
28939 | * javax/swing/text/DefaultFormatter.java | |
28940 | (stringToValue): Added NPE check. | |
28941 | ||
28942 | 2006-02-28 Roman Kennke <kennke@aicas.com> | |
28943 | ||
28944 | PR classpath/25675 | |
28945 | * javax/swing/JList.java | |
28946 | (getPreferredScrollableViewportSize): Restored specified behaviour. | |
28947 | * javax/swing/plaf/metal/MetalFileChooserUI.java | |
28948 | (createList): Set filelist panel's preferredSize, so that it doesn't | |
28949 | get size into infinity for big lists. | |
28950 | ||
28951 | 2006-02-28 Lillian Angel <langel@redhat.com> | |
28952 | ||
28953 | * javax/swing/ViewportLayout.java | |
28954 | (layoutContainer): Should not extend container to be | |
28955 | minimum size. Mauve test shows that the preferred size | |
28956 | and the size of the viewport can be set smaller than | |
28957 | the minimum. | |
28958 | ||
28959 | 2006-02-28 Lillian Angel <langel@redhat.com> | |
28960 | ||
28961 | PR classpath/25675 | |
28962 | * javax/swing/JList.java | |
28963 | (getPreferredScrollableViewportSize): Added a check to determine | |
28964 | if orientation is VERTICAL_WRAP. If it is, we should only | |
28965 | show 3 columns. | |
28966 | ||
28967 | 2006-02-28 Lillian Angel <langel@redhat.com> | |
28968 | ||
28969 | PR classpath/26003 | |
28970 | * javax/swing/ViewportLayout.java: | |
28971 | Patch submitted by Audrius Meskauskas | |
28972 | (addLayoutComponent): Added documentation. | |
28973 | (removeLayoutComponent): Likewise. | |
28974 | (preferredLayoutSize): Likewise. | |
28975 | (minimumLayoutSize): Likewise. | |
28976 | (layoutContainer): Fixed code, so view is set | |
28977 | to the right position when inside a scrollpane. | |
28978 | ||
28979 | 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com> | |
28980 | ||
28981 | * java/math/BigInteger.java: | |
28982 | Committed patch by Rafael: | |
28983 | developer.classpath.org/pipermail/classpath-patches/ | |
28984 | 2006-February/000473.html | |
28985 | (signum): Return early 0 if words == null and ival == 0. | |
28986 | (readObject): Handle special case of magnitude.length or signum being | |
28987 | 0. | |
28988 | (writeObject): If signum is zero return a zero-sized byte[]. | |
28989 | ||
28990 | 2006-02-28 Lillian Angel <langel@redhat.com> | |
28991 | ||
28992 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java | |
28993 | (create): Initially set the directory to the current working directory. | |
28994 | (setDirectory): Removed else-if. No need for this check. | |
28995 | ||
28996 | 2006-02-28 Tom Tromey <tromey@redhat.com> | |
28997 | ||
28998 | * .project: Run java builder before header generation. | |
28999 | ||
29000 | 2006-02-28 Tom Tromey <tromey@redhat.com> | |
29001 | ||
29002 | * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi): | |
29003 | Javadoc fix. | |
29004 | * gnu/java/util/prefs/EventDispatcher.java: New file. | |
29005 | * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed. | |
29006 | (NodeWriter): Specify UTF-8. | |
29007 | (writeHeader): Emit DOCTYPE. | |
29008 | * java/util/prefs/Preferences.java (getFactory): Add cause to | |
29009 | exception. | |
29010 | (exportNode): Documented. | |
29011 | (exportSubtree): Likewise. | |
29012 | (importPreferences): Likewise. | |
29013 | * java/util/prefs/NodeChangeEvent.java (readObject): New method. | |
29014 | (writeObject): Likewise. | |
29015 | * java/util/prefs/PreferenceChangeEvent.java (readObject): New method. | |
29016 | (writeObject): Likewise. | |
29017 | * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code. | |
29018 | (nodeListeners): New field. | |
29019 | (preferenceListeners): Likewise. | |
29020 | (addNodeChangeListener): Implemented. | |
29021 | (addPreferenceChangeListener): Likewise. | |
29022 | (removeNodeChangeListener): Likewise. | |
29023 | (removePreferenceChangeListener): Likewise. | |
29024 | (fire): New methods. | |
29025 | (put): Fire event. | |
29026 | (remove): Likewise. | |
29027 | (purge): Likewise. Fixed synchronization. | |
29028 | (removeNode): Fixed synchronization. | |
29029 | (getNode): Fire event. | |
29030 | (flushNode): Fixed synchronization. | |
29031 | ||
29032 | 2006-02-28 Roman Kennke <kennke@aicas.com> | |
29033 | ||
29034 | * javax/swing/text/BranchElement.java | |
29035 | (startOffset): New field. | |
29036 | (endOffset): New field. | |
29037 | (BranchElement): Initialize new fields. | |
29038 | (getEndOffset): Rewritten to possibly return cached values | |
29039 | if element has no children. | |
29040 | (getStartOffset): Rewritten to possibly return cached values | |
29041 | if element has no children. | |
29042 | * javax/swing/text/LeafElement.java | |
29043 | (startDelta): New field. | |
29044 | (endDelta): New field. | |
29045 | (LeafElement): Handle possible delta of start/endOffset when | |
29046 | these parameters lie outside the document range. | |
29047 | (getStartOffset): Handle possible startDelta. | |
29048 | (getEndOffset): Handle possible startDelta. | |
29049 | ||
29050 | 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com> | |
29051 | ||
29052 | * NEWS: Added line about Unicode 4.0.0 support. | |
29053 | ||
29054 | 2006-02-28 Roman Kennke <kennke@aicas.com> | |
29055 | ||
29056 | * javax/swing/SwingUtilities.java | |
29057 | (layoutCompoundLabel): Set textIconGap to 0 when icon == null. | |
29058 | ||
29059 | 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au> | |
29060 | ||
29061 | * gnu/classpath/debug/Simple1LineFormatter.java: New file. | |
29062 | ||
29063 | 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au> | |
29064 | ||
29065 | * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java: | |
29066 | Amended class documentation. | |
29067 | (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT | |
29068 | STRING. | |
29069 | (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not | |
29070 | a BIT STRING construct. | |
29071 | * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class | |
29072 | documentation. | |
29073 | (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT | |
29074 | STRING. | |
29075 | (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not | |
29076 | a BIT STRING construct. | |
29077 | * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field. | |
29078 | (engineVerify): Added logging. | |
29079 | ||
29080 | 2006-02-28 Roman Kennke <kennke@aicas.com> | |
29081 | ||
29082 | * java/awt/Component.java | |
29083 | (dispatchEventImpl): Let the Toolkit dispatch global events. | |
29084 | * java/awt/Container.java | |
29085 | (dispatchEventImpl): Let the LightweightDispatcher handle events | |
29086 | first. | |
29087 | * java/awt/EventQueue.java | |
29088 | (dispatchEvent): Don't do the global event dispatching here. This | |
29089 | is moved to the Component. | |
29090 | (globalDispatchEvent): Moved this method to Toolkit. | |
29091 | * java/awt/LightweightDispatcher.java | |
29092 | (instances): New field. | |
29093 | (getInstance): New method. Delivers an instance of | |
29094 | LightweightDispatcher. | |
29095 | (LightweightDispatcher): Made default constructor private. | |
29096 | (dispatchEvent): New method. Replaces the eventDispatched method. | |
29097 | This now returns true when the event was actually dispatched. | |
29098 | (eventDispatched): Replaced by dispatchEvent. | |
29099 | (handleMouseEvent): Send MOUSE_CLICKED to the same component that | |
29100 | received the last MOUSE_RELEASED. | |
29101 | * java/awt/Toolkit.java | |
29102 | (Toolkit): Don't register LightweightDispatcher as global event | |
29103 | handler. | |
29104 | (globalDispatchEvent): Moved here from EventQueue. | |
29105 | ||
29106 | 2006-02-27 David Daney <ddaney@avtrex.com> | |
29107 | ||
29108 | PR classpath/25851 | |
29109 | * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned | |
29110 | up. | |
29111 | (getRequestProperties): Rewrote. | |
29112 | ||
29113 | 2006-02-27 David Daney <ddaney@avtrex.com> | |
29114 | ||
29115 | PR classpath/26312 | |
29116 | * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned | |
29117 | up. | |
29118 | (ChunkedInputStream): Extend InputStream. | |
29119 | (in): New field. | |
29120 | (headers): Moved to top of class. | |
29121 | (constructor): Save referenct to in. | |
29122 | (read(byte[])): Removed method. | |
29123 | (read(byte[], int, int)): Made synchronized and throw IOException | |
29124 | on error parsing chunk header. | |
29125 | (available): New method. | |
29126 | (close): New method. | |
29127 | ||
29128 | 2006-02-27 David Daney <ddaney@avtrex.com> | |
29129 | ||
29130 | * gnu/java/net/protocol/http/HTTPURLConnection.java | |
29131 | (imports): Cleaned up. | |
29132 | (GetHTTPPropertiesAction): Removed, and moved contents to ... | |
29133 | (constructor): ... Here, using SystemProperties instead of System. | |
29134 | ||
29135 | 2006-02-27 Lillian Angel <langel@redhat.com> | |
29136 | ||
29137 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java | |
29138 | (setDirectory): GtkFileChooser requires an absolute directory | |
29139 | name. Added a check to make the directory passed to nativeSetDirectory | |
29140 | is absolute. | |
29141 | ||
29142 | 2006-02-27 Roman Kennke <kennke@aicas.com> | |
29143 | ||
29144 | * javax/swing/SwingUtilities.java | |
29145 | (computeIntersection): Changed to store result in rect, instead of | |
29146 | creating new Rectangle instances. Fixed API docs accordingly. | |
29147 | (computeUnion): Changed to store result in rect, instead of | |
29148 | creating new Rectangle instances. Fixed API docs accordingly. | |
29149 | ||
29150 | 2006-02-27 Roman Kennke <kennke@aicas.com> | |
29151 | ||
29152 | * javax/swing/JViewport.java | |
29153 | (static_init): Changed default scrollmode to BLIT. | |
29154 | (paintSimple): Added some clipping to avoid painting problems. | |
29155 | (paintBlit): Added some clipping to avoid painting problems. | |
29156 | ||
29157 | 2006-02-27 Roman Kennke <kennke@aicas.com> | |
29158 | ||
29159 | * javax/swing/JComponent.java | |
29160 | (rectCache): Made field static to save memory. | |
29161 | (getVisibleRect): Don't use rectCache and create new Rectangle | |
29162 | instance instead. | |
29163 | (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion(). | |
29164 | (repaint(long,int,int,int,int)): Directly call | |
29165 | RepaintManager.addDirtyRegion(). The visibleRect check is now | |
29166 | performed in the RepaintManager. | |
29167 | ||
29168 | 2006-02-27 Roman Kennke <kennke@aicas.com> | |
29169 | ||
29170 | * javax/swing/RepaintManager.java | |
29171 | (currentRepaintManagers): Made field private. | |
29172 | (rectCache): New field. | |
29173 | (addDirtyRegion): Clip dirty rectangle with visible rectangle of | |
29174 | component. Changed Rectangle handling to avoid unnecessary new | |
29175 | Rectangle instances. | |
29176 | (getOffscreenBuffer): Create buffer with size of the root window. | |
29177 | Respect the maximum buffer size here. | |
29178 | (commitBuffer): Align the regions so that they are inside the buffer | |
29179 | image and inside the clip. This avoids problems with a bug in GTKImage. | |
29180 | Fixed Rectangle handling to avoid creation of new Rectangle instances. | |
29181 | ||
29182 | 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
29183 | ||
29184 | * native/fdlibm/e_acos.c, | |
29185 | * native/fdlibm/e_asin.c, | |
29186 | * native/fdlibm/e_atan2.c, | |
29187 | * native/fdlibm/e_cosh.c, | |
29188 | * native/fdlibm/e_exp.c, | |
29189 | * native/fdlibm/e_fmod.c, | |
29190 | * native/fdlibm/e_hypot.c, | |
29191 | * native/fdlibm/e_log.c, | |
29192 | * native/fdlibm/e_log10.c, | |
29193 | * native/fdlibm/e_rem_pio2.c, | |
29194 | * native/fdlibm/e_remainder.c, | |
29195 | * native/fdlibm/e_sinh.c, | |
29196 | * native/fdlibm/e_sqrt.c, | |
29197 | * native/fdlibm/k_cos.c, | |
29198 | * native/fdlibm/k_sin.c, | |
29199 | * native/fdlibm/k_tan.c, | |
29200 | * native/fdlibm/s_atan.c, | |
29201 | * native/fdlibm/s_cbrt.c, | |
29202 | * native/fdlibm/s_ceil.c, | |
29203 | * native/fdlibm/s_copysign.c, | |
29204 | * native/fdlibm/s_cos.c, | |
29205 | * native/fdlibm/s_expm1.c, | |
29206 | * native/fdlibm/s_fabs.c, | |
29207 | * native/fdlibm/s_finite.c, | |
29208 | * native/fdlibm/s_floor.c, | |
29209 | * native/fdlibm/s_log1p.c, | |
29210 | * native/fdlibm/s_rint.c, | |
29211 | * native/fdlibm/s_scalbn.c, | |
29212 | * native/fdlibm/s_sin.c, | |
29213 | * native/fdlibm/s_tan.c, | |
29214 | * native/fdlibm/s_tanh.c: | |
29215 | Fixed to call our macros rather than __HI and __LO. | |
29216 | * native/fdlibm/fdlibm.h: | |
29217 | Reintroduced previous extraction code. | |
29218 | (EXTRACT_WORDS(ix0,ix1,d)): Readded. | |
29219 | (GET_HIGH_WORD(i,d)): Readded. | |
29220 | (GET_LOW_WORD(i,d)): Readded. | |
29221 | (INSERT_WORDS(d,ix0,ix1)): Readded. | |
29222 | (SET_HIGH_WORD(d,i)): Readded. | |
29223 | (SET_LOW_WORD(d,i)): Readded. | |
29224 | * native/jni/gtk-peer/gthread-jni.c: | |
29225 | Use Glib macros to convert integers/pointers portably. | |
29226 | ||
29227 | 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au> | |
29228 | ||
29229 | * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class | |
29230 | as the fallback SPI. | |
29231 | * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new | |
29232 | ones referencing GNU-CRYPTO classes. | |
29233 | * gnu/java/security/provider/PKIXCertPathValidatorImpl.java | |
29234 | (engineValidate): Use GNU-CRYPTO class. | |
29235 | * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed. | |
29236 | * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise. | |
29237 | * gnu/java/security/provider/DSAKeyFactory: Likewise. | |
29238 | * gnu/java/security/provider/DSAKeyPairGenerator: Likewise. | |
29239 | * gnu/java/security/provider/DSAParameters: Likewise. | |
29240 | * gnu/java/security/provider/DSASignature: Likewise. | |
29241 | * gnu/java/security/provider/EncodedKeyFactory: Likewise. | |
29242 | * gnu/java/security/provider/GnuDHPublicKey: Likewise. | |
29243 | * gnu/java/security/provider/GnuDSAPrivateKey: Likewise. | |
29244 | * gnu/java/security/provider/GnuDSAPublicKey: Likewise. | |
29245 | * gnu/java/security/provider/GnuRSAPrivateKey: Likewise. | |
29246 | * gnu/java/security/provider/GnuRSAPublicKey: Likewise. | |
29247 | * gnu/java/security/provider/MD2withRSA: Likewise. | |
29248 | * gnu/java/security/provider/MD4withRSA: Likewise. | |
29249 | * gnu/java/security/provider/MD5: Likewise. | |
29250 | * gnu/java/security/provider/MD5withRSA: Likewise. | |
29251 | * gnu/java/security/provider/RSA: Likewise. | |
29252 | * gnu/java/security/provider/RSAKeyFactory: Likewise. | |
29253 | * gnu/java/security/provider/SHA: Likewise. | |
29254 | * gnu/java/security/provider/SHA1PRNG: Likewise. | |
29255 | * gnu/java/security/provider/SHA1withRSA: Likewise. | |
29256 | * gnu/javax/crypto/GnuDHPrivateKey: Likewise. | |
29257 | ||
29258 | 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au> | |
29259 | ||
29260 | * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field. | |
29261 | (engineGeneratePublic): Added logging. | |
29262 | (engineGeneratePrivate): Likewise. | |
29263 | * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field. | |
29264 | (encodePublicKey): Added logging. | |
29265 | Clarified in method documentation that params is optional, but is | |
29266 | always NULL if present. | |
29267 | (decodePublicKey): Added logging. | |
29268 | Handle optional NULL element. | |
29269 | ||
97b8365c TT |
29270 | 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au> |
29271 | ||
29272 | * java/util/logging/FileHandler.java: Fixed a javadoc reference. | |
29273 | ||
29274 | 2006-03-03 Tom Tromey <tromey@redhat.com> | |
29275 | ||
29276 | * java/awt/MenuBar.java (shortcuts): Genericized. | |
29277 | ||
29278 | 2006-03-03 Tom Tromey <tromey@redhat.com> | |
29279 | ||
29280 | * java/beans/EventSetDescriptor.java (EventSetDescriptor): | |
29281 | Genericized. | |
29282 | (getListenerType): Likewise. | |
29283 | * java/beans/Introspector.java (getBeanInfo): Genericized. | |
29284 | * java/beans/DefaultPersistenceDelegate.java (initialize): | |
29285 | Genericized. | |
29286 | ||
29287 | 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com> | |
29288 | ||
29289 | * java/math/BigDecimal.java: | |
29290 | (precision): Fixed overflow problem with large numbers. | |
29291 | (longValueExact): New method. | |
29292 | (intValueExact): Likewise. | |
29293 | (byteValueExact): Likewise. | |
29294 | (shortValueExact): Likewise. | |
29295 | ||
29296 | 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com> | |
29297 | ||
29298 | * java/math/BigDecimal.java: | |
29299 | (remainder(BigDecimal)): New method. | |
29300 | (divideAndRemainder(BigDecimal)): Likewise. | |
29301 | (divideToIntegralValue(BigDecimal)): Likewise. | |
29302 | (floor): New implementation method. | |
29303 | ||
29304 | 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com> | |
29305 | ||
29306 | * java/math/BigDecimal.java: | |
29307 | (divide(BigDecimal, int, RoundingMode)): New method. | |
29308 | (divide(BigDecimal, RoundingMode)): Likewise. | |
29309 | (divide(BigDecimal, int, int)): Removed incorrect throwing of exception | |
29310 | when the new scale is < 0. | |
29311 | (setScale(int, RoundingMode)): New method. | |
29312 | (ulp): Likewise. | |
29313 | ||
29314 | 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com> | |
8aa540d2 | 29315 | |
97b8365c TT |
29316 | * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf |
29317 | with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate. | |
29318 | (add(BigDecimal, MathContext)): New method. | |
29319 | (subtract(BigDecimal, MathContext)): Likewise. | |
29320 | (precision): Fixed to correctly handle BigIntegers with more than 19 | |
29321 | digits. | |
29322 | (pow(int, MathContext)): New method. | |
8aa540d2 | 29323 | |
97b8365c | 29324 | 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com> |
8aa540d2 | 29325 | |
97b8365c TT |
29326 | * java/math/BigDecimal.java: Added @throws clause to constructors. |
29327 | (mathContext): Removed this unneeded field. | |
29328 | (BigDecimal(int, MathContext)): New constructor. | |
29329 | (BigDecimal(BigInteger, int, MathContext)): Likewise. | |
29330 | (multiply(BigDecimal, MathContext)): New method. | |
29331 | (negate(MathContext)): Likewise. | |
29332 | (plus(MathContext)): Likewise. | |
29333 | (numDigitsInLong): Fixed to properly handle negatives. | |
29334 | ||
29335 | 2006-02-25 Chris Burdess <dog@gnu.org> | |
29336 | ||
8aa540d2 MW |
29337 | * gnu/java/net/CRLFInputStream.java, |
29338 | gnu/java/net/LineInputStream.java: Streams that use mark | |
29339 | capabilities on the underlying stream do not expose mark | |
29340 | functionality themselves. | |
29341 | * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when | |
29342 | off > 0. | |
29343 | ||
29344 | 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
29345 | ||
29346 | * gnu/regexp/REMatch.java(matchFlags): New int field used as | |
29347 | option flags passed to match methods. | |
29348 | (MF_FIND_ALL): New flag. | |
29349 | * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set, | |
29350 | do not try other possibilties once a match is found. | |
29351 | * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL | |
29352 | so that all possibilities can be found. | |
29353 | (match): Rewritten using new methods matchMinimum and _match. | |
29354 | (_match): New method which performs a depth-first recursive search. | |
29355 | (matchMinimum): New method. | |
29356 | (initVisited), (visitedContains), (addVisited): New methods for | |
29357 | manipulating an array of icharacter positions which _match has | |
29358 | already visited. | |
29359 | ||
97b8365c TT |
29360 | 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com> |
29361 | ||
29362 | * java/math/BigDecimal.java: | |
29363 | (BigDecimal(long, MathContext)): New constructor. | |
29364 | (BigDecimal(BigInteger, MathContext)): Likewise. | |
29365 | (BigDecimal(String, MathContext)): Likewise. | |
29366 | (BigDecimal(double, MathContext)): Likewise. | |
29367 | (round): Fixed a typo where the precision field was used instead of a | |
29368 | call to the precision method, and also store the new precision in the | |
29369 | returned BigDecimal. | |
29370 | (abs(MathContext)): New method. | |
29371 | ||
29372 | 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com> | |
29373 | ||
29374 | * java/math/BigDecimal.java | |
29375 | (toBigInteger): Fixed problem where this method couldn't handle | |
29376 | negative values for scale. | |
29377 | (toBigIntegerExact): New method. | |
29378 | (stripTrailingZeros): Likewise. | |
29379 | ||
8aa540d2 MW |
29380 | 2006-02-24 David Daney <ddaney@avtrex.com> |
29381 | ||
29382 | PR classpath/26082 | |
29383 | * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to | |
29384 | type Pool. | |
29385 | (Pool): New inner class. | |
29386 | (timeLastUsed): New field. | |
29387 | (setPool): Changed parameter type to Pool. | |
29388 | (release): Moved pool management logic to new class Pool. | |
29389 | * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool): | |
29390 | Removed. | |
29391 | (maxConnections) : Removed. | |
29392 | (GetHTTPPropertiesAction.run): Don't initialize maxConnections. | |
29393 | (getConnection): Moved pool management logic to HTTPConnection.Pool. | |
97b8365c | 29394 | |
8aa540d2 | 29395 | 2006-02-24 Lillian Angel <langel@redhat.com> |
97b8365c | 29396 | |
8aa540d2 MW |
29397 | * java/awt/Container.java: |
29398 | Added new field. True if Container has been cleared and | |
29399 | heavyweights need to be repainted. | |
29400 | (paint): Fixed comment. Fixed to use backCleared and | |
29401 | reset backCleared. | |
29402 | (update): Set backCleared to true after the background | |
29403 | of the container has been cleared. | |
97b8365c | 29404 | |
8aa540d2 | 29405 | 2006-02-24 Lillian Angel <langel@redhat.com> |
97b8365c | 29406 | |
8aa540d2 MW |
29407 | * java/awt/TextField.java |
29408 | (addNotify): Added call to super. | |
97b8365c | 29409 | |
8aa540d2 | 29410 | 2006-02-24 Lillian Angel <langel@redhat.com> |
97b8365c TT |
29411 | |
29412 | * java/awt/Component.java | |
8aa540d2 MW |
29413 | (reshape): Reverted last patch. Should have check here. |
29414 | (addNotify): Added check. If parent is lightweight, then | |
29415 | initialize listener on the parent. | |
29416 | (HeavyweightInLightweightListener): New class. | |
97b8365c | 29417 | |
8aa540d2 | 29418 | 2006-02-24 Roman Kennke <kennke@aicas.com> |
97b8365c | 29419 | |
8aa540d2 MW |
29420 | * javax/swing/plaf/basic/BasicComboPopup.java |
29421 | (show): Register the popup with the autocloser after it has been | |
29422 | opened completely, by putting the registration on the eventqueue. | |
97b8365c | 29423 | |
8aa540d2 | 29424 | 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org> |
97b8365c | 29425 | |
8aa540d2 MW |
29426 | * gnu/java/security/prng/BasePRNG.java: |
29427 | (clone()): Added cast of buffer to byte[]. | |
29428 | * gnu/javax/crypto/mac/TMMH16.java: | |
29429 | (clone()): Fixed casting of cloned arrays. | |
29430 | * native/fdlibm/fdlibm.h: | |
29431 | Added missing defines from old fdlibm.h needed by Darwin. | |
29432 | (GET_FLOAT_WORD(i,d)): Re-added. | |
29433 | (SET_FLOAT_WORD(d,i)): Re-added. | |
97b8365c | 29434 | |
8aa540d2 | 29435 | 2006-02-24 Roman Kennke <kennke@aicas.com> |
97b8365c | 29436 | |
8aa540d2 MW |
29437 | * java/awt/Container.java: |
29438 | (dispatcher): Removed field. | |
29439 | (dispatchEventImpl): Removed lightweight dispatching. | |
29440 | (addNotifyContainerChildren): Removed LightweightDispatcher | |
29441 | handling. | |
29442 | (LightweightDispatcher): Removed class. | |
29443 | * java/awt/LightweightDispatcher.java: New class. | |
29444 | * java/awt/Toolkit.java | |
29445 | (Toolkit): Install LightweightDispatcher in global listener | |
29446 | array. | |
97b8365c | 29447 | |
8aa540d2 | 29448 | 2006-02-24 Chris Burdess <dog@gnu.org> |
97b8365c | 29449 | |
8aa540d2 MW |
29450 | Fixes PR 26324 |
29451 | * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when | |
29452 | off > 0. | |
97b8365c | 29453 | |
8aa540d2 | 29454 | 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org> |
97b8365c | 29455 | |
8aa540d2 MW |
29456 | * NEWS: Mentions the VMMath runtime changes. |
29457 | * doc/vmintegration.texinfo: Updated to include | |
29458 | VMMath. | |
97b8365c | 29459 | |
8aa540d2 | 29460 | 2006-02-24 Roman Kennke <kennke@aicas.com> |
97b8365c | 29461 | |
8aa540d2 MW |
29462 | * javax/swing/plaf/basic/BasicLookAndFeel.java |
29463 | (PopupHelper.autoClosePopups): New field. | |
29464 | (PopupHelper.mousePressed): Also autoclose any registered popups. | |
29465 | (PopupHelper.registerForAutoClose): New method. | |
29466 | (PopupHelper.autoClosePopups): New method. | |
29467 | (popupHelper): Changed type of field to PopupHelper. | |
29468 | (registerForAutoClose): New method. | |
29469 | * javax/swing/plaf/basic/BasicComboPopup.java | |
29470 | (show): Register this popup for autoclosing. | |
97b8365c | 29471 | |
8aa540d2 | 29472 | 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au> |
97b8365c | 29473 | |
8aa540d2 MW |
29474 | * gnu/javax/crypto/mac/TMMH16.java (clone): New method. |
29475 | * gnu/java/security/prng/MDGenerator.java (clone): New method. | |
29476 | * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer. | |
97b8365c | 29477 | |
8aa540d2 | 29478 | 2006-02-24 Roman Kennke <kennke@aicas.com> |
97b8365c | 29479 | |
8aa540d2 MW |
29480 | Reported by Ingo Proetel <proetel@aicas.com> |
29481 | * java/util/logging/LogManager.java | |
29482 | (addLogger): Search the parent loggers for log level | |
29483 | configuration and inherit that. | |
29484 | (readConfiguration): Provide minimal default configuration | |
29485 | if no configuration can be found otherwise. | |
29486 | ||
97b8365c TT |
29487 | 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com> |
29488 | ||
29489 | * java/math/BigDecimal.java: | |
29490 | (toString): Fixed a problem where the negative sign was being displayed | |
29491 | twice in the exponent. | |
29492 | (toEngineeringString): New method. | |
29493 | (toPlainString): Likewise. | |
29494 | (pow): Likewise. | |
29495 | ||
29496 | 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com> | |
29497 | ||
29498 | * java/math/BigDecimal.java: | |
29499 | (toString): Rewrote this method to behave as specified. Added API | |
29500 | comments to explain behaviour. | |
29501 | (scaleByPowerOfTen): New method. | |
8aa540d2 | 29502 | |
97b8365c TT |
29503 | 2006-02-23 Roman Kennke <kennke@aicas.com> |
29504 | ||
8aa540d2 MW |
29505 | * javax/swing/JRootPane.java |
29506 | (isOptimizedDrawingEnabled): Implemented to return true | |
29507 | when the glassPane is not visible. | |
97b8365c | 29508 | |
8aa540d2 | 29509 | 2006-02-23 Roman Kennke <kennke@aicas.com> |
97b8365c | 29510 | |
8aa540d2 MW |
29511 | * javax/swing/plaf/basic/BasicLookAndFeel.java |
29512 | (PopupHelper): New inner class. | |
29513 | (popupHelper): New field. | |
29514 | (initialize): New method. | |
29515 | (uninitialize): New method. | |
29516 | * javax/swing/plaf/basic/BasicPopupMenuUI.java | |
29517 | (mouseInputListener): Removed field. | |
29518 | (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed | |
29519 | handling of GlassPane. | |
29520 | (PopupMenuHandler.popupMenuWillBecomeVisible): Removed | |
29521 | handling of GlassPane. | |
29522 | (MouseInputHandler): Removed class. | |
29523 | ||
29524 | 2006-02-23 Roman Kennke <kennke@aicas.com> | |
29525 | ||
29526 | * java/awt/AWTEvent.java | |
29527 | (eventIdToMask): New utility method. | |
29528 | * java/awt/EventQueue.java | |
29529 | (dispatchEvent): Also globally dispatch events via the toolkit. | |
29530 | (globalDispatchEvent): New method. | |
29531 | * java/awt/Toolkit.java | |
29532 | (awtEventListeners): New field. | |
29533 | (Toolkit()): Initialize new field. | |
29534 | (createComponent): Create GLightweightPeer here. | |
29535 | (addAWTEventListener): Implemented and documented. | |
29536 | (removeAWTEventListener): Implemented and documented. | |
29537 | (getAWTEventListeners): Implemented and documented both method | |
29538 | variants. | |
29539 | * java/awt/event/AWTEventListenerProxy.java | |
29540 | (eventDispatched): Don't filter events here. | |
29541 | ||
29542 | 2006-02-23 Chris Burdess <dog@gnu.org> | |
29543 | ||
29544 | Fixes PR 26410 | |
29545 | * gnu/xml/dom/DomDocumentBuilderFactory.java, | |
29546 | gnu/xml/dom/JAXPFactory.java, | |
29547 | gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java, | |
29548 | javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially | |
29549 | implement DocumentBuilderFactory.get/setFeature methods. | |
29550 | ||
29551 | 2006-02-23 Lillian Angel <langel@redhat.com> | |
29552 | ||
29553 | * gnu/java/awt/peer/GLightweightPeer.java | |
29554 | (repaint): Scott's proposed fix. Send repaint to the | |
29555 | component's parent. | |
29556 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
29557 | (setBounds): Removed next_parent, not needed. Removed | |
29558 | lightweightChild, we always need to compensate for the | |
29559 | menu bar's height. | |
29560 | * java/awt/Component.java | |
29561 | (setBounds): Removed check. Caused lots of problems, because some | |
29562 | components were not being invalidated. Components should be | |
29563 | invalidated when they are resized or moved, and in some cases, | |
29564 | when a parent is resized/moved, the components do not know | |
29565 | about it and do not adjust. | |
29566 | * java/awt/Graphics.java | |
29567 | (hitClip): Scott's proposed fix. Added check to handle a | |
29568 | null clip. | |
97b8365c | 29569 | |
8aa540d2 | 29570 | 2006-02-23 Wolfgang Baer <WBaer@gmx.de> |
97b8365c | 29571 | |
8aa540d2 MW |
29572 | * javax/print/attribute/standard/MediaSize.java: |
29573 | (media): Field renamed to mediaName for serialization. | |
29574 | (MediaSize): Adapted to new fieldname. | |
29575 | (getMediaSizeName): Likewise. | |
29576 | * javax/print/attribute/HashAttributeSet.java: | |
29577 | (interfaceName): Field renamed to myInterface for serialization. | |
29578 | (HashAttributeSet): Adapted to the new fieldname. | |
29579 | (add): Likewise. | |
29580 | (addAll): Likewise. | |
29581 | (addInternal): Likewise. | |
29582 | (attributeMap): Made transient. | |
29583 | (readObject): New serialization method. | |
29584 | (writeObject): Likewise. | |
29585 | * javax/print/attribute/AttributeSetUtilities.java: | |
29586 | (SynchronizedAttributeSet.set): Field renamed to attrset for serialization. | |
29587 | (SynchronizedAttributeSet.add): Adapted to the new fieldname. | |
29588 | (SynchronizedAttributeSet.addAll): Likewise. | |
29589 | (SynchronizedAttributeSet.clear): Likewise. | |
29590 | (SynchronizedAttributeSet.containsKey): Likewise. | |
29591 | (SynchronizedAttributeSet.containsValue): Likewise. | |
29592 | (SynchronizedAttributeSet.equals): Likewise. | |
29593 | (SynchronizedAttributeSet.get): Likewise. | |
29594 | (SynchronizedAttributeSet.hashCode): Likewise. | |
29595 | (SynchronizedAttributeSet.isEmpty): Likewise. | |
29596 | (SynchronizedAttributeSet.remove): Likewise. | |
29597 | (SynchronizedAttributeSet.size): Likewise. | |
29598 | (SynchronizedAttributeSet.toArray): Likewise. | |
29599 | (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization. | |
29600 | (UnmodifiableAttributeSet.add): Adapted to the new fieldname. | |
29601 | (UnmodifiableAttributeSet.addAll): Likewise. | |
29602 | (UnmodifiableAttributeSet.clear): Likewise. | |
29603 | (UnmodifiableAttributeSet.containsKey): Likewise. | |
29604 | (UnmodifiableAttributeSet.containsValue): Likewise. | |
29605 | (UnmodifiableAttributeSet.equals): Likewise. | |
29606 | (UnmodifiableAttributeSet.get): Likewise. | |
29607 | (UnmodifiableAttributeSet.hashCode): Likewise. | |
29608 | (UnmodifiableAttributeSet.isEmpty): Likewise. | |
29609 | (UnmodifiableAttributeSet.remove): Likewise. | |
29610 | (UnmodifiableAttributeSet.size): Likewise. | |
29611 | (UnmodifiableAttributeSet.toArray): Likewise. | |
29612 | * javax/print/attribute/standard/MediaPrintableArea.java: | |
29613 | (width): Field renamed to w for serialization. | |
29614 | (height): Field renamed to h for serialization. | |
29615 | (MediaPrintableArea): Adapted to the new fieldnames. | |
29616 | (MediaPrintableArea): Likewise. | |
29617 | (equals): Likewise. | |
29618 | (hashCode): Likewise. | |
29619 | (getHeight): Likewise. | |
29620 | (getWidth): Likewise. | |
97b8365c | 29621 | |
8aa540d2 | 29622 | 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org> |
97b8365c | 29623 | |
8aa540d2 MW |
29624 | * include/java_lang_VMMath.h: |
29625 | (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added. | |
29626 | (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added. | |
29627 | (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added. | |
29628 | (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added. | |
29629 | (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added. | |
29630 | (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added. | |
29631 | (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added. | |
29632 | (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added. | |
29633 | * java/lang/Math.java: | |
29634 | (cbrt(double)): Implemented. | |
29635 | (cosh(double)): Implemented. | |
29636 | (expm1(double)): Implemented. | |
29637 | (hypot(double,double)): Implemented. | |
29638 | (log10(double)): Implemented. | |
29639 | (log1p(double)): Implemented. | |
29640 | (signum(double)): Implemented. | |
29641 | (signum(float)): Implemented. | |
29642 | (sinh(double)): Implemented. | |
29643 | (tanh(double)): Implemented. | |
29644 | * native/fdlibm/Makefile.am: | |
29645 | Added new files from fdlibm 5.3. | |
29646 | * native/fdlibm/e_acos.c, | |
29647 | * native/fdlibm/e_asin.c, | |
29648 | * native/fdlibm/e_atan2.c, | |
29649 | * native/fdlibm/e_exp.c, | |
29650 | * native/fdlibm/e_fmod.c, | |
29651 | * native/fdlibm/e_log.c, | |
29652 | * native/fdlibm/e_rem_pio2.c, | |
29653 | * native/fdlibm/e_remainder.c, | |
29654 | * native/fdlibm/e_scalb.c, | |
29655 | * native/fdlibm/e_sqrt.c, | |
29656 | * native/fdlibm/k_cos.c, | |
29657 | * native/fdlibm/k_rem_pio2.c, | |
29658 | * native/fdlibm/k_sin.c, | |
29659 | * native/fdlibm/k_tan.c, | |
29660 | * native/fdlibm/s_atan.c, | |
29661 | * native/fdlibm/s_ceil.c, | |
29662 | * native/fdlibm/s_copysign.c, | |
29663 | * native/fdlibm/s_cos.c, | |
29664 | * native/fdlibm/s_fabs.c, | |
29665 | * native/fdlibm/s_finite.c, | |
29666 | * native/fdlibm/s_floor.c, | |
29667 | * native/fdlibm/s_rint.c, | |
29668 | * native/fdlibm/s_scalbn.c, | |
29669 | * native/fdlibm/s_sin.c, | |
29670 | * native/fdlibm/s_tan.c, | |
29671 | * native/fdlibm/w_acos.c, | |
29672 | * native/fdlibm/w_asin.c, | |
29673 | * native/fdlibm/w_atan2.c, | |
29674 | * native/fdlibm/w_acos.c, | |
29675 | * native/fdlibm/w_exp.c, | |
29676 | * native/fdlibm/w_fmod.c, | |
29677 | * native/fdlibm/w_log.c, | |
29678 | * native/fdlibm/w_pow.c, | |
29679 | * native/fdlibm/w_remainder.c, | |
29680 | * native/fdlibm/w_sqrt.c: | |
29681 | Updated to fdlibm 5.3. | |
29682 | * native/fdlibm/e_cosh.c, | |
29683 | * native/fdlibm/e_hypot.c, | |
29684 | * native/fdlibm/e_log10.c, | |
29685 | * native/fdlibm/e_sinh.c, | |
29686 | * native/fdlibm/s_cbrt.c, | |
29687 | * native/fdlibm/s_expm1.c, | |
29688 | * native/fdlibm/s_log1p.c, | |
29689 | * native/fdlibm/s_tanh.c, | |
29690 | * native/fdlibm/w_cosh.c, | |
29691 | * native/fdlibm/w_hypot.c, | |
29692 | * native/fdlibm/w_log10.c, | |
29693 | * native/fdlibm/w_sinh.c: | |
29694 | Imported from fdlibm 5.3. | |
29695 | * native/fdlibm/fdlibm.h: | |
29696 | Imported from fdlibm 5.3 with Classpath additions. | |
29697 | * native/fdlibm/namespace.h: | |
29698 | Updated from new math_symbols file. | |
29699 | * native/jni/java-lang/java_lang_VMMath.c: | |
29700 | (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented. | |
29701 | (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented. | |
29702 | (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented. | |
29703 | (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): | |
29704 | Implemented. | |
29705 | (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented. | |
29706 | (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented. | |
29707 | (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented. | |
29708 | (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented. | |
29709 | * scripts/math_symbols: | |
29710 | Added tanh, expm1, log10 and log1p. | |
29711 | * vm/reference/java/lang/VMMath.java: | |
29712 | (cbrt(double)): Implemented. | |
29713 | (cosh(double)): Implemented. | |
29714 | (expm1(double)): Implemented. | |
29715 | (hypot(double,double)): Implemented. | |
29716 | (log10(double)): Implemented. | |
29717 | (log1p(double)): Implemented. | |
29718 | (sinh(double)): Implemented. | |
29719 | (tanh(double)): Implemented. | |
29720 | ||
29721 | 2006-02-23 Wolfgang Baer <WBaer@gmx.de> | |
29722 | ||
29723 | * javax/print/DocFlavor.java: Added documentation all over. | |
29724 | (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype. | |
29725 | (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise. | |
29726 | (INPUT_STREAM.TEXT_HTML_HOST): Likewise. | |
29727 | (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise. | |
29728 | (URL.TEXT_HTML_HOST): Likewise. | |
29729 | (URL.TEXT_PLAIN_HOST): Likewise. | |
29730 | (hostEncoding): Initialize with host default charset encoding. | |
29731 | (mediaSubtype): Made transient. | |
29732 | (mediaType): Likewise. | |
29733 | (params): Made transient. Changed type to TreeMap. | |
29734 | (className): Removed, changed to myClassName. | |
29735 | (myClassName): New field as defined in serialized form. | |
29736 | (DocFlavor): Adapted to new variable types, names. | |
29737 | (parseMimeType): Reimplemented. | |
29738 | (getParameter): Search with lowercase name. | |
29739 | (getRepresentationClassName): Adapted to changed variable name. | |
29740 | (hashCode): Likewise. | |
29741 | (toString): Reimplemented. | |
29742 | (readObject): New method for serialization. | |
29743 | (writeObject): Likewise. | |
97b8365c | 29744 | |
8aa540d2 | 29745 | 2006-02-23 Roman Kennke <kennke@aicas.com> |
97b8365c | 29746 | |
8aa540d2 MW |
29747 | * javax/swing/RepaintManager.java |
29748 | (commitBuffer): Clip the repaint area with the current clip. | |
97b8365c | 29749 | |
8aa540d2 | 29750 | 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au> |
97b8365c | 29751 | |
8aa540d2 MW |
29752 | * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java |
29753 | (DEFAULT_PRIME_SIZE): Made public. | |
29754 | (DEFAULT_EXPONENT_SIZE): Likewise. | |
29755 | (setup): Handle DHParameterSpec as well. | |
29756 | * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return | |
29757 | defaultFormat instead of Raw. | |
29758 | * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java | |
29759 | (checkIsConstructed): Removed. | |
29760 | (checkIsBigInteger): Likewise. | |
29761 | (decodePublicKey): Use DerUtil. | |
29762 | * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java | |
29763 | (checkIsConstructed): Removed. | |
29764 | (checkIsBigInteger): Likewise. | |
29765 | (decodePrivateKey): Use DerUtil. | |
29766 | * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of | |
29767 | KeyAgreement.DH. | |
29768 | Added mappings for AlgorithmParameters.DH and | |
29769 | AlgorithmParameterGenerator.DH. | |
29770 | * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file. | |
29771 | * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise. | |
29772 | * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise. | |
29773 | * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate): | |
29774 | Return result. | |
29775 | (engineGeneratePublic): Likewise. | |
29776 | * gnu/java/security/util/DerUtil.java: New file. | |
29777 | * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames): | |
29778 | Include only valid RSA PKCS1 (v1.5) signature names. | |
29779 | * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java | |
29780 | (RSAPKCS1V1_5SignatureX509Codec): Removed. | |
29781 | (checkIsConstructed): Likewise. | |
29782 | * gnu/java/security/sig/dss/DSSSignatureX509Codec.java | |
29783 | (checkIsConstructed): Removed. | |
29784 | (checkIsBigInteger): Likewise. | |
29785 | (decodeSignature): Use DerUtil. | |
29786 | * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java | |
29787 | (checkIsConstructed): Removed. | |
29788 | (checkIsBigInteger): Likewise. | |
29789 | (decodePublicKey): Use DerUtil. | |
29790 | * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java | |
29791 | (checkIsConstructed): Removed. | |
29792 | (checkIsBigInteger): Likewise. | |
29793 | (decodePrivateKey): Use DerUtil. | |
29794 | * gnu/java/security/key/dss/DSSKeyPairX509Codec.java | |
29795 | (checkIsConstructed): Removed. | |
29796 | (checkIsBigInteger): Likewise. | |
29797 | (decodePublicKey): Use DerUtil. | |
29798 | * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java | |
29799 | (checkIsConstructed): Removed. | |
29800 | (checkIsBigInteger): Likewise. | |
29801 | (decodePrivateKey): Use DerUtil. | |
29802 | * gnu/java/security/key/dss/DSSKeyPairGenerator.java | |
29803 | (DEFAULT_MODULUS_LENGTH): Made it public. | |
29804 | * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return | |
29805 | defaultFormat instead of Raw. | |
29806 | * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file. | |
29807 | * gnu/java/security/jce/sig/DSSParameters.java: Likewise.. | |
29808 | * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate): | |
29809 | Return result. | |
29810 | (engineGeneratePublic): Likewise. | |
29811 | * gnu/javax/crypto/DiffieHellmanImpl: Removed. | |
29812 | ||
97b8365c TT |
29813 | 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com> |
29814 | ||
29815 | * java/math/BigDecimal.java: | |
29816 | (BigDecimal(char[], int, int, MathContext)): New constructor. | |
29817 | (BigDecimal(char[], MathContext)): Likewise. | |
29818 | (BigDecimal(char[])): Likewise. | |
29819 | (BigDecimal(char[], int, int)): Likewise. | |
29820 | (BigDecimal(String)): Fixed handling of exponent and scale. | |
29821 | ||
8aa540d2 MW |
29822 | 2006-02-22 Mark Wielaard <mark@klomp.org> |
29823 | ||
29824 | * java/awt/Checkbox.java (setState): Check that state actually changed | |
29825 | before calling peer. | |
29826 | (dispatchEventImpl): Set new state if ItemEvent. | |
29827 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed. | |
29828 | (create): Set currentState. | |
29829 | (setState): Make synchronized, check and set currentState before | |
29830 | calling gtkToggleButtonSetActive. | |
29831 | (postItemEvent): Make synchronized, check and set currentState before | |
29832 | posting ItemEvent. | |
29833 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
29834 | (postItemEventID): Method now takes boolean. | |
29835 | (item_toggled_cb): Likewise. | |
97b8365c | 29836 | |
8aa540d2 | 29837 | 2006-02-22 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 29838 | |
8aa540d2 MW |
29839 | * javax/swing/text/DefaultHighlighter.java: |
29840 | (changeHighlight): Added code to minimize the damaged area. | |
97b8365c | 29841 | |
8aa540d2 | 29842 | 2006-02-22 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 29843 | |
8aa540d2 MW |
29844 | * javax/swing/text/PlainView.java: |
29845 | (getPreferredSpan): Added missing 'break'. | |
29846 | statement which corrects an unwanted fall through. | |
29847 | (updateDamage): Update maxLineLength correctly when text is | |
29848 | removed, call preferenceChanged accordingly. | |
29849 | (viewToModel): Restrict line number to be within 0 and the | |
29850 | number of elements-1. | |
97b8365c | 29851 | |
8aa540d2 | 29852 | 2006-02-22 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 29853 | |
8aa540d2 MW |
29854 | * javax/swing/text/Utilities.java: |
29855 | (getPositionAbove): Prefer first value by changing comparison | |
29856 | from < to <=. | |
29857 | (getPositionBelow): Dito. | |
97b8365c | 29858 | |
8aa540d2 | 29859 | 2006-02-22 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 29860 | |
8aa540d2 MW |
29861 | * javax/swing/text/DefaultEditorKit.java: Added checks and fallback |
29862 | behavior when magic caret position is null. | |
97b8365c | 29863 | |
8aa540d2 | 29864 | 2006-02-22 Roman Kennke <kennke@aicas.com> |
97b8365c | 29865 | |
8aa540d2 MW |
29866 | * javax/swing/JTextField.java |
29867 | (isValidateRoot): New method. | |
97b8365c | 29868 | |
8aa540d2 | 29869 | 2006-02-22 Roman Kennke <kennke@aicas.com> |
97b8365c | 29870 | |
8aa540d2 MW |
29871 | * javax/swing/JEditorPane.java |
29872 | (getPreferredSize): Rewritten to behave like the reference impl. | |
29873 | (getScrollableTracksViewportWidth): Likewise. | |
29874 | (getScrollableTracksViewportHeight): Likewise. | |
97b8365c | 29875 | |
8aa540d2 | 29876 | 2006-02-22 Roman Kennke <kennke@aicas.com> |
97b8365c | 29877 | |
8aa540d2 MW |
29878 | * javax/swing/RepaintManager.java |
29879 | (addInvalidComponent): Also consider the component itself. | |
97b8365c | 29880 | |
8aa540d2 | 29881 | 2006-02-22 Mark Wielaard <mark@klomp.org> |
97b8365c | 29882 | |
8aa540d2 MW |
29883 | * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully |
29884 | qualify AbstractDocument.AttributeContext. | |
29885 | (blockOpen): Likewise. | |
97b8365c TT |
29886 | |
29887 | 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com> | |
8aa540d2 | 29888 | |
97b8365c TT |
29889 | * java/math/BigDecimal.java: |
29890 | (mathContext): New field. | |
29891 | (precision): Likewise. | |
29892 | (BigDecimal(int)): New constructor. | |
29893 | (BigDecimal(long)): Likewise. | |
29894 | (BigDecimal(BigInteger)): Added API docs. | |
29895 | (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException | |
29896 | and added API docs. | |
29897 | (plus): New method. | |
29898 | (round): Likewise. | |
29899 | (precision): Likewise. | |
29900 | (valueOf): Likewise. | |
29901 | (numDigitsInLong): New implementation method. | |
29902 | ||
29903 | 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com> | |
29904 | ||
29905 | * java/math/MathContext.java: New class. | |
29906 | * java/math/RoundingMode: New Enum. | |
8aa540d2 | 29907 | |
97b8365c TT |
29908 | 2006-02-21 Mark Wielaard <mark@klomp.org> |
29909 | ||
8aa540d2 MW |
29910 | * java/awt/Component.java (translateEvent): Translate |
29911 | AdjustmentEvents to 1.0 Events. | |
29912 | * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting. | |
29913 | Call setValue() before processing event. | |
29914 | * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check | |
29915 | whether we are currently changing and being called back from the | |
29916 | Scrollbar component. | |
29917 | (setBarValues): New native method. | |
29918 | (postAdjustmentEvent): Mark AdjustmentEvent as user generated. | |
29919 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c | |
29920 | (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to | |
29921 | Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue | |
29922 | * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated. | |
97b8365c | 29923 | |
8aa540d2 | 29924 | 2006-02-21 Roman Kennke <kennke@aicas.com> |
97b8365c | 29925 | |
8aa540d2 MW |
29926 | * javax/swing/text/View.java |
29927 | (setParent): Set child parent to null when disconnecting | |
29928 | the view from the View hierarchy. | |
97b8365c | 29929 | |
8aa540d2 | 29930 | 2006-02-21 Wolfgang Baer <WBaer@gmx.de> |
97b8365c | 29931 | |
8aa540d2 | 29932 | * javax/print/StreamPrintService.java: Added and enhanced documentation. |
97b8365c | 29933 | |
8aa540d2 | 29934 | 2006-02-21 Roman Kennke <kennke@aicas.com> |
97b8365c | 29935 | |
8aa540d2 MW |
29936 | * javax/swing/text/WrappedPlainView.java |
29937 | (calculateBreakPosition): Changed to use the view's allocation instead | |
29938 | of the container's preferredSize. | |
97b8365c | 29939 | |
8aa540d2 | 29940 | 2006-02-21 Wolfgang Baer <WBaer@gmx.de> |
97b8365c | 29941 | |
8aa540d2 MW |
29942 | * java/awt/CardLayout.java: |
29943 | (first): Updated api documentation. | |
29944 | (last): Likewise. | |
29945 | (next): Likewise. | |
29946 | (previous): Likewise. | |
29947 | (show): Clarified api docs. Return if name is null. Throw | |
29948 | IllegalArgumentException if layout of container is not this. | |
29949 | (gotoComponent): Updated api documentation. Throw | |
29950 | IllegalArgumentException if layout of container is not this. | |
97b8365c | 29951 | |
8aa540d2 | 29952 | 2006-02-21 Roman Kennke <kennke@aicas.com> |
97b8365c | 29953 | |
8aa540d2 MW |
29954 | * javax/swing/text/NavigationFilter.java |
29955 | (getNextVisualPositionFrom): New method. | |
97b8365c | 29956 | |
8aa540d2 | 29957 | 2006-02-21 Roman Kennke <kennke@aicas.com> |
97b8365c | 29958 | |
8aa540d2 MW |
29959 | * javax/swing/plaf/basic/BasicTextUI.java |
29960 | (RootView.setView): Call setParent() on the view with this as | |
29961 | argument instead of null. | |
29962 | (setView): Don't set root view's parent here. | |
97b8365c | 29963 | |
8aa540d2 | 29964 | 2006-02-21 Roman Kennke <kennke@aicas.com> |
97b8365c | 29965 | |
8aa540d2 MW |
29966 | * javax/swing/text/AbstractDocument.java |
29967 | (AbstractElement.getAttribute): Use getResolveParent() to fetch | |
29968 | the resolving parent. | |
29969 | (AbstractElement.getResolveParent): Fixed to handle possible null | |
29970 | parent. | |
29971 | * javax/swing/text/BoxView.java | |
29972 | (childReqs): New field. | |
29973 | (paint): Added debugging code (commented out). | |
29974 | (getPreferredSpan): Rewritten to use new update* methods. | |
29975 | (getMaximumSpan): Rewritten to return Integer.MAX_VALUE | |
29976 | for the minor axis and preferredSpan for the major axis. | |
29977 | (getMinimumSpan): Rewritten to use new update* methods. | |
29978 | (baselineRequirements): Rewritten to avoid creation of | |
29979 | unnecessary SizeRequirements objects. | |
29980 | (baselineLayout): Rewritten to use new update* methods. | |
29981 | (calculateMajorAxisRequirements): Rewritten to avoid creation of | |
29982 | unnecessary SizeRequirements objects. | |
29983 | (calculateMinorAxisRequirements): Rewritten to avoid creation of | |
29984 | unnecessary SizeRequirements objects. | |
29985 | (layout): Some robustness fixes for the layout. Turned AssertionErrors | |
29986 | into warnings. | |
29987 | (layoutMajorAxis): Rewritten to use new update* methods. | |
29988 | (layoutMinorAxis): Rewritten to use new update* methods. | |
29989 | (getChildRequirements): Replaced by the update* methods. | |
29990 | (getAlignment): Use update* methods. | |
29991 | (updateChildRequirements): New methods. Updates the child requirements | |
29992 | if necessary. | |
29993 | (updateRequirements): New methods. Updates the BoxView requirements | |
29994 | if necessary. | |
29995 | * javax/swing/text/DefaultStyledDocument.java | |
29996 | (ElementBuffer.insert): Added warning for illegal replacement operation. | |
29997 | * javax/swing/text/FlowView.java | |
29998 | (layoutRow): When offset doesn't change, return -1. | |
29999 | (LogicalView): Now subclasses BoxView. | |
30000 | (loadChildren): Let the CompositeView.setParent() load the children | |
30001 | of the logicalView. | |
30002 | (calculateMinorRequirements): New overridden method. | |
30003 | * javax/swing/text/GlyphView.java | |
30004 | (DefaultGlyphPainter.paint): Fixed typo. | |
30005 | (startOffset): Made field private. | |
30006 | (endOffset): Made field private. | |
30007 | (paint): Call getStartOffset() and getEndOffset() instead of the | |
30008 | element methods. | |
30009 | (isStrikeThrough): Fixed typo. | |
30010 | (breakView): Use Utilities.getBreakLocation() to determine best | |
30011 | break location. | |
30012 | (changedUpdate): Call preferencedChange on this instead of parent. | |
30013 | (removeUpdate): Call preferencedChange on this instead of parent. | |
30014 | * javax/swing/text/ParagraphView.java | |
30015 | (Row.getAlignment): For Y_AXIS, call super. | |
30016 | (getAlignment): Likewise. | |
30017 | * javax/swing/text/Utilities.java | |
30018 | (getBreakLocation): Set Segment object directly on the BreakIterator. | |
30019 | * javax/swing/text/html/HTML.java | |
30020 | (Attribute): Made class non-serializable and final as specified. | |
30021 | (Attribute(String)): Made constructor private. | |
30022 | (Attribute.compareTo): Removed. | |
30023 | (Attribute.equals): Removed. | |
30024 | (Attribute.hashCode): Removed. | |
30025 | (Tag): Made class non-comparable and non-serializable as specified. | |
30026 | (Tag.compareTo): Removed. | |
30027 | (Tag.equals): Removed. | |
30028 | (Tag.hashCode): Removed. | |
30029 | * javax/swing/text/html/HTMLDocument.java | |
30030 | (HTMLReader.blockOpen): Add tag as name attribute to element. | |
30031 | * javax/swing/text/html/HTMLEditorKit.java | |
30032 | (HTMLFactory.create): Create NullView for <head> tags, removed unused | |
30033 | fallback. | |
30034 | * javax/swing/text/html/InlineView.java | |
30035 | (setPropertiesFromAttributes): Call super. | |
30036 | * javax/swing/text/html/NullView.java: New class. | |
97b8365c | 30037 | |
8aa540d2 | 30038 | 2006-02-21 Roman Kennke <kennke@aicas.com> |
97b8365c | 30039 | |
8aa540d2 MW |
30040 | PR classpath/26368 |
30041 | * javax/swing/text/GapContent.java | |
30042 | (GapContentPosition): Made class private. | |
30043 | (InsertUndo): Made class private. | |
30044 | (UndoRemove): Made class private. | |
30045 | (WeakPositionComparator): New inner class. | |
30046 | (positions): Made field private. | |
30047 | (createPosition): Clear up GC'ed positions before creating | |
30048 | a new one. Store position as WeakReference. | |
30049 | (getPositionsInRange): Changed to handle WeakReference | |
30050 | positions. | |
30051 | (setPositionsInRange): Changed to handle WeakReference | |
30052 | positions. | |
30053 | (adjustPositionsInRange): Changed to handle WeakReference | |
30054 | positions. | |
30055 | (dumpPositions): Handle WeakReference positions. | |
30056 | (clearPositionReferences): New method. | |
97b8365c | 30057 | |
8aa540d2 | 30058 | 2006-02-21 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 30059 | |
8aa540d2 MW |
30060 | * javax/swing/plaf/basic/BasicTextUI.java: |
30061 | (paint): Remove unneccessary part of the if-expression. | |
30062 | (damageRange): Added case where the range spans multiple lines. | |
30063 | * javax/swing/text/DefaultCaret.java: | |
30064 | (clearHighlight): New method. | |
30065 | (handleHighlight): Removed unneccessary part of the if-expression. | |
30066 | (setDot): Use clearHighlight method. | |
30067 | * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead | |
30068 | of Vector. | |
30069 | (paint): Prevented calling size() on every loop iteration, fixed | |
30070 | calculation of allocation area bounds. | |
30071 | (getHighlights): Implemented. | |
30072 | (removeHighlight): Mark damaged area in textcomponent. | |
30073 | (addHighlight): Mark damaged area in textcomponent. | |
30074 | (changeHighlight): Mark damaged area in textcomponent. | |
30075 | (DefaultHighlighter.HighlightEntry): Made it a real | |
30076 | Highlighter.Highlight implementation. | |
30077 | (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed | |
30078 | calculations. | |
30079 | ||
30080 | 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com> | |
30081 | ||
30082 | * java/util/zip/ZipConstants.java | |
30083 | (LOCSIG): Change type to long. | |
30084 | (EXTSIG): Likewise. | |
30085 | (CENSIG): Likewise. | |
30086 | (ENDSIG): Likewise. | |
30087 | * java/util/zip/ZipOutputStream.java | |
30088 | (writeLeInt(long)): New method. | |
97b8365c | 30089 | |
8aa540d2 | 30090 | 2006-02-21 Michael Koch <konqueror@gmx.de> |
97b8365c | 30091 | |
8aa540d2 | 30092 | * gnu/javax/net/ssl/provider/PRNG.java: Removed. |
97b8365c | 30093 | |
8aa540d2 | 30094 | 2006-02-20 Mark Wielaard <mark@klomp.org> |
97b8365c | 30095 | |
8aa540d2 MW |
30096 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c |
30097 | (begin_drawing_operation): Output stacktrace and return on bad cairo | |
30098 | status. | |
30099 | (end_drawing_operation): Likewise. And reset cairo_t. | |
97b8365c | 30100 | |
8aa540d2 | 30101 | 2006-02-20 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 30102 | |
8aa540d2 MW |
30103 | * javax/swing/text/DefaultEditorKit.java: Fixed comparison |
30104 | in backward selection action. | |
97b8365c | 30105 | |
8aa540d2 | 30106 | 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com> |
97b8365c | 30107 | |
8aa540d2 MW |
30108 | * java/lang/reflect/Proxy.java: |
30109 | (ProxyData.getProxyData): Skipped overriding of core methods. | |
30110 | (ProxyData.isCoreObjectMethod): New method. | |
97b8365c | 30111 | |
8aa540d2 | 30112 | 2006-02-20 Mark Wielaard <mark@klomp.org> |
97b8365c | 30113 | |
8aa540d2 | 30114 | * gnu/java/nio/charset/Provider.java (Provider): Package private. |
97b8365c | 30115 | |
8aa540d2 | 30116 | 2006-02-20 Roman Kennke <kennke@aicas.com> |
97b8365c | 30117 | |
8aa540d2 | 30118 | * javax/swing/text/html/Option.java: New class. |
97b8365c | 30119 | |
8aa540d2 | 30120 | 2006-02-20 Lillian Angel <langel@redhat.com> |
97b8365c | 30121 | |
8aa540d2 MW |
30122 | * java/swt/Window.java |
30123 | (show): Calling show() on the owned windows caused problems. | |
30124 | Changed back to get the peer and call setVisible. | |
97b8365c | 30125 | |
8aa540d2 | 30126 | 2006-02-20 Roman Kennke <kennke@aicas.com> |
97b8365c | 30127 | |
8aa540d2 MW |
30128 | * javax/swing/plaf/basic/BasicTextUI.java |
30129 | (damageRange): Implemented this method. | |
97b8365c | 30130 | |
8aa540d2 | 30131 | 2006-02-20 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 30132 | |
8aa540d2 MW |
30133 | * javax/swing/text/GapContent.java: |
30134 | (shiftGapEndUp): Corrected new mark value. | |
30135 | * javax/swing/text/AbstractDocument.java: | |
30136 | (remove): Changed order of operations. | |
97b8365c | 30137 | |
8aa540d2 | 30138 | 2006-02-20 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 30139 | |
8aa540d2 MW |
30140 | * javax/swing/text/GapContent.java: |
30141 | (shiftGapEndUp): Reverted. | |
30142 | * javax/swing/text/AbstractDocument.java: | |
30143 | (remove): Reverted. | |
97b8365c | 30144 | |
8aa540d2 | 30145 | 2006-02-20 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 30146 | |
8aa540d2 MW |
30147 | * javax/swing/text/GapContent.java: |
30148 | (shiftGapEndUp): Corrected new mark value. | |
30149 | * javax/swing/text/AbstractDocument.java: | |
30150 | (remove): Changed order of operations. | |
97b8365c | 30151 | |
8aa540d2 | 30152 | 2006-02-20 Mark Wielaard <mark@klomp.org> |
97b8365c | 30153 | |
8aa540d2 MW |
30154 | * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get |
30155 | parent field. | |
30156 | (insert): Likewise. | |
30157 | (addNotify): Add the item after addNotifying it. | |
30158 | * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when | |
30159 | there is a peer. Use getParent() and setParent() to manipulate parent | |
30160 | field. | |
30161 | (add(Menu)): Use getParent() and setParent() to manipulate parent | |
30162 | field. Call addNotify() and addMenu() when there is a peer. | |
30163 | (remove(int)): Call removeNotify() and delMenu() when there is a peer. | |
30164 | (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu() | |
30165 | when there is a peer. | |
30166 | * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document. | |
30167 | (GtkMenuComponentPeer): Document. Take MenuComponent as argument. | |
30168 | (setFont): Call setFont(Font). | |
30169 | (setFont(Font)): Document. Only set font when not null. | |
30170 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made | |
30171 | protected. | |
30172 | (connectSignals): Likewise. | |
30173 | (GtkMenuItemPeer): Document. Don't try to add item. Always call | |
30174 | connectSignals(). | |
30175 | * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make | |
30176 | protected. | |
30177 | (postMenuActionEvent): Document. | |
30178 | * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made | |
30179 | protected. | |
30180 | (addItem): Document. Made private. | |
30181 | (addTearOff): Made private. | |
30182 | (connectSignals): New protected overridden method. | |
30183 | (GtkMenuPeer): Correctly cast setupAccelGroup() arguments. | |
30184 | * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field. | |
30185 | (create): Document. | |
30186 | (addMenu): Made private, take GtkMenuPeer as argument and document. | |
30187 | (GtkMenuBarPeer): Document. | |
30188 | (nativeSetHelpMenu): Removed. | |
30189 | (addHelpMenu): Implement. | |
30190 | (delMenu): Document. | |
30191 | (addMenu): Implement. | |
30192 | * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed. | |
30193 | * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated. | |
30194 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | |
30195 | (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu): | |
30196 | Removed. | |
97b8365c | 30197 | |
8aa540d2 | 30198 | 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 30199 | |
8aa540d2 MW |
30200 | * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass): |
30201 | Expect that proxy interfaces may have different class loaders. | |
30202 | * gnu/java/rmi/server/UnicastServerRef.java: Rewritten. | |
30203 | * java/rmi/registry/Registry.java, | |
30204 | * java/rmi/server/UnicastRemoteObject.java: | |
30205 | Documented about proxy stubs. | |
30206 | * gnu/java/rmi/server/CombinedClassLoader.java, | |
30207 | java/rmi/server/RemoteObjectInvocationHandler.java: New files. | |
30208 | * NEWS: Added entry. | |
30209 | ||
30210 | 2006-02-19 Mark Wielaard <mark@klomp.org> | |
30211 | ||
30212 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set | |
30213 | Parent and Bounds of our children if either or parent is showing, or | |
30214 | we are a Window and are showing ourselves now. | |
97b8365c | 30215 | |
8aa540d2 | 30216 | 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 30217 | |
8aa540d2 MW |
30218 | * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): |
30219 | New method. | |
30220 | * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: | |
30221 | Another stub name fix. | |
97b8365c | 30222 | |
8aa540d2 | 30223 | 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 30224 | |
8aa540d2 MW |
30225 | * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): |
30226 | Call convertStubName. (convertStubName): New method. | |
30227 | * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix. | |
30228 | * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java | |
30229 | (convertStubName): New method. | |
30230 | (getMethodHashCode): | |
30231 | Use existing gnu.java.rmi.server.RMIHashes.getMethodHash. | |
30232 | * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix. | |
30233 | ||
30234 | 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
30235 | ||
30236 | * java/rmi/server/UnicastRemoteObject.java: Documenting. | |
30237 | ||
30238 | 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
30239 | ||
30240 | * gnu/java/rmi/server/UnicastServerRef.java: Reformatted. | |
30241 | ||
30242 | 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
30243 | ||
30244 | * javax/swing/JViewport.java (paintBackingStore): If the component has | |
30245 | not been scrolled, only repaint the buffer part, indicated by | |
30246 | the parameter graphics clip. | |
30247 | ||
30248 | 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au> | |
30249 | ||
30250 | * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new | |
30251 | internal format. | |
30252 | (writePrivateKey): Likewise. | |
30253 | (writeKey): New method. | |
30254 | (getKeyType): Likewise. | |
30255 | * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new | |
30256 | internal format. | |
30257 | (readPrivateKey): Likewise. | |
30258 | (getKeyPairCodec): New method. | |
30259 | * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw. | |
30260 | * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil. | |
30261 | * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant. | |
30262 | (RSA_PSS_ENCODING): Likewise.. | |
30263 | (RSA_PKCS1_V1_5_ENCODING): Likewise. | |
30264 | (RSA_PSS_SIG): Redefined using other constants. | |
30265 | (RSA_PKCS1_V1_5_SIG): Likewise. | |
30266 | (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant. | |
30267 | * gnu/java/security/util/FormatUtil.java: New file. | |
30268 | * gnu/java/security/sig/SignatureFactory.java (names): New field. | |
30269 | (getInstance): Let RSASignatureFactory handle RSA signature names. | |
30270 | (getNames): Handle new RSA signature (with format) names. | |
30271 | * gnu/java/security/sig/SignatureCodecFactory.java: New file. | |
30272 | * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check | |
30273 | for null md. | |
30274 | (name): Include hash algorithm name. | |
30275 | * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file. | |
30276 | * gnu/java/security/sig/rsa/RSAPSSSignature.java | |
30277 | (RSAPSSSignature): Call constructor with IMessageDigest. | |
30278 | (RSAPSSSignature(ImessageDigest,int)): New constructor. | |
30279 | * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New | |
30280 | file. | |
30281 | * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java: | |
30282 | Likewise. | |
30283 | * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java | |
30284 | (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest. | |
30285 | (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor. | |
30286 | * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added | |
30287 | hash algorithm name to exception. | |
30288 | * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file. | |
30289 | * gnu/java/security/key/KeyPairCodecFactory.java | |
30290 | (names): New class field. | |
30291 | (getInstance(Sitrng)): Deconstruct and call getInstance(String,String). | |
30292 | (getInstance(String,String)): New method. | |
30293 | (getInstance(String,int)): New method. | |
30294 | (getInstance(byte[])): Removed. | |
30295 | (getInstance(Key)): Handle new formats. | |
30296 | (getNames): Likewise. | |
30297 | (getEncodingName(int)): Moved to FormatUtil. | |
30298 | (getEncodingShortName(int)): Likewise. | |
30299 | (getRawCodec(String)): New method. | |
30300 | (getX509Codec(String)): Likewise. | |
30301 | (getPKCS8Codec(String)): Likewise. | |
30302 | (getRawCodec(Key)): Likewise. | |
30303 | (getX509Codec(Key)): Likewise. | |
30304 | (getPKCS8Codec(Key)): Likewise. | |
30305 | * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil. | |
30306 | * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise. | |
30307 | * gnu/java/security/jce/sig/SHA512withRSA.java: New File. | |
30308 | * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise. | |
30309 | * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise. | |
30310 | * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise. | |
30311 | * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie. | |
30312 | * gnu/java/security/jce/sig/MD5withRSA.java: Likewise. | |
30313 | * gnu/java/security/jce/sig/MD2withRSA.java: Likewise. | |
30314 | ||
30315 | 2006-02-18 Mark Wielaard <mark@klomp.org> | |
30316 | ||
30317 | * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new | |
30318 | DragSource. | |
30319 | (NoDragGestureRecognizer): New static class. | |
30320 | (createDragGestureRecognizer): Return NoDragGestureRecognizer when | |
30321 | Toolkit doesn't support drag and drop. | |
30322 | ||
30323 | 2006-02-18 Mark Wielaard <mark@klomp.org> | |
30324 | ||
30325 | * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do. | |
30326 | (AbstractAction(String)): Just call putValue() for NAME. | |
30327 | (putValue): Nothing to do is old and new value are both null. | |
30328 | ||
30329 | 2006-02-18 Mark Wielaard <mark@klomp.org> | |
30330 | ||
30331 | * javax/swing/JRootPane.java (layoutContainer): Get contentPane | |
30332 | through getContentPane(). | |
30333 | (preferredLayoutSize): Likewise. | |
30334 | ||
30335 | 2006-02-18 Mark Wielaard <mark@klomp.org> | |
30336 | ||
30337 | * javax/swing/JMenuBar.java (paintBorder): Check whether border is | |
30338 | actually set before painting. | |
30339 | ||
30340 | 2006-02-18 Mark Wielaard <mark@klomp.org> | |
30341 | ||
30342 | * javax/swing/text/html/HTMLDocument.java (addContent): | |
30343 | Fully qualify AbstractDocument.AttributeContext and | |
30344 | DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0. | |
30345 | ||
30346 | 2006-02-18 Mark Wielaard <mark@klomp.org> | |
30347 | ||
30348 | * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten. | |
30349 | (getRepresentationClassFromMime): Add exception cause to | |
30350 | IllegalArgumentException. | |
97b8365c | 30351 | |
8aa540d2 | 30352 | 2006-02-17 Lillian Angel <langel@redhat.com> |
97b8365c | 30353 | |
8aa540d2 MW |
30354 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: |
30355 | Removed unneeded import. | |
30356 | * gnu/java/awt/peer/gtk/GtkFramePeer.java: | |
30357 | Removed unneeded imports. | |
30358 | * java/awt/BorderLayout.java: | |
30359 | Fixed comment, this is not yet handled in the JDK 1.5. | |
30360 | * java/awt/Container.java: | |
30361 | Removed unneeded import. | |
97b8365c | 30362 | |
8aa540d2 | 30363 | 2006-02-17 Lillian Angel <langel@redhat.com> |
97b8365c | 30364 | |
8aa540d2 MW |
30365 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java |
30366 | (setBounds): Removed check. Coordinates should always be changed | |
30367 | to incorporate the parent's coordinates. | |
30368 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
30369 | (setMenuBar): Added checks. Don't validate component if it has | |
30370 | not been validated yet, it will be validated later. Only validate | |
30371 | if it has already been validated, in that case it needs to be | |
30372 | revalidated. | |
30373 | * java/awt/Window.java | |
30374 | (show): Added check. If the window is visible, then bring it to the | |
30375 | front. Otherwise, iterate through all its children windows and show them. | |
30376 | No need to do both. | |
30377 | ||
30378 | 2006-02-17 Roman Kennke <kennke@aicas.com> | |
30379 | ||
30380 | * javax/swing/text/html/ParagraphView.java: New file. | |
30381 | ||
30382 | 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
30383 | ||
30384 | * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing | |
30385 | is included. (moveToCellBeingEdited): Adjusted to start editing at the | |
30386 | same location where was the initial text. | |
30387 | * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten. | |
30388 | ||
30389 | 2006-02-17 Chris Burdess <dog@gnu.org> | |
30390 | ||
30391 | Fixes PRs 26319, 26320, 26321, 26322, 26325 | |
30392 | * gnu/xml/stream/SAXParser.java: On error, reset parser before | |
30393 | rethrowing exception. | |
30394 | * gnu/xml/stream/XMLParser.java: Only report "illegal use of | |
30395 | 1.1-style prefix unbinding in 1.0 document" error for xmlns | |
30396 | prefixes, not xmlns attributes. Fix a problem with empty namespace | |
30397 | stack at the end of a document. Permit parameter entity references | |
30398 | in element and attribute-list definition name area. Corrected | |
30399 | normalisation of whitespace character entity references in CDATA | |
30400 | attribute values. Fixed number of characters read following a | |
30401 | reset when detecting end of character data with characters after a | |
30402 | Unicode surrogate pair. | |
97b8365c | 30403 | |
8aa540d2 | 30404 | 2006-02-17 Roman Kennke <kennke@aicas.com> |
97b8365c | 30405 | |
8aa540d2 MW |
30406 | * javax/swing/text/html/HTMLEditorKit.java |
30407 | (HTMLFactory.create): Create InlineView for content tags. | |
30408 | * javax/swing/text/html/HTMLDocument.java | |
30409 | (HTMLReader.flush): Call create() on first flush and insert | |
30410 | on subsequent flushes. | |
97b8365c | 30411 | |
8aa540d2 | 30412 | 2006-02-17 Roman Kennke <kennke@aicas.com> |
97b8365c | 30413 | |
8aa540d2 MW |
30414 | * javax/swing/text/AbstractDocument.java |
30415 | (BranchElement.getStartOffset): Implemented workaround for wrong | |
30416 | NPE. | |
30417 | (BranchElement.getEndOffset): Implemented workaround for wrong | |
30418 | NPE. | |
30419 | (ElementBuffer.split): Use createBranchElement() instead of | |
30420 | new BranchElement(). | |
30421 | (ElementBuffer.insertFracture): Use createBranchElement() instead of | |
30422 | new BranchElement(). | |
30423 | (ElementBuffer.recreateAfterFracture): Use createBranchElement() | |
30424 | instead of new BranchElement(). | |
30425 | (createDefaultRoot): Use createBranchElement() and createLeafElement | |
30426 | instead of the constructors. | |
30427 | (create): Rewritten. | |
97b8365c | 30428 | |
8aa540d2 | 30429 | 2006-02-17 Keith Seitz <keiths@redhat.com> |
97b8365c | 30430 | |
8aa540d2 MW |
30431 | * gnu/classpath/jdwp/id/JdwpId.java (size): Remove. |
30432 | (SIZE): New constant. | |
30433 | * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java | |
30434 | (executeIDsizes): Use SIZE constant. | |
30435 | * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove. | |
30436 | (SIZE): New constant. | |
30437 | ||
30438 | 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
30439 | ||
30440 | * javax/swing/JTable.java (IconCellRenderer): Set the component | |
30441 | text to empty string. (createDefaultRenderers): Register | |
30442 | IconCellRenderer also for ImageIcon. | |
30443 | (getCellEditor(int, int), getCellRenderer(int, int)): | |
30444 | Use model index for data model and column index for column model. | |
30445 | (getColumnClass): Convert to model index before requesting class | |
30446 | from model. | |
97b8365c | 30447 | |
8aa540d2 | 30448 | 2006-02-17 Roman Kennke <kennke@aicas.com> |
97b8365c | 30449 | |
8aa540d2 MW |
30450 | * javax/swing/text/html/HTMLDocument.java |
30451 | (createDefaultRoot): Implemented. | |
30452 | (createLeafElement): Implemented. | |
30453 | (createBranchElement): Implemented. | |
30454 | (BlockElement.getName): Fixed to handle HTML.Tag objects as name. | |
30455 | (RunElement.getName): Fixed to handle HTML.Tag objects as name. | |
30456 | (HTMLReader.ParagraphAction.start): Call blockOpen at the very least. | |
30457 | (HTMLReader.ParagraphAction.end): Call blockClose at the very least. | |
30458 | (HTMLReader.blockOpen): Add name attribute with the current tag. | |
30459 | (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT. | |
97b8365c | 30460 | |
8aa540d2 | 30461 | 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 30462 | |
8aa540d2 MW |
30463 | * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler): |
30464 | Rewritten. | |
30465 | * javax/swing/table/JTableHeader.java: Documenting related methods. | |
97b8365c | 30466 | |
8aa540d2 | 30467 | 2006-02-17 Jeroen Frijters <jeroen@frijters.net> |
97b8365c | 30468 | |
8aa540d2 MW |
30469 | Fixes PR 25752 |
30470 | * gnu/java/net/protocol/ftp/FTPURLConnection.java | |
30471 | (connect): Changed to use SystemProperties. | |
30472 | (getInputStream): Try changeWorkingDirectory to figure out if | |
30473 | url is a directory, if not use retrieve. | |
30474 | (getOutputStream): Don't worry about directories, simply always | |
30475 | try to do a store. | |
97b8365c | 30476 | |
8aa540d2 | 30477 | 2006-02-17 Jeroen Frijters <jeroen@frijters.net> |
97b8365c | 30478 | |
8aa540d2 MW |
30479 | * gnu/java/net/protocol/ftp/ActiveModeDTP.java |
30480 | (ActiveModeDTP): Mark accept thread as daemon. | |
97b8365c | 30481 | |
8aa540d2 | 30482 | 2006-02-17 Michael Koch <konqueror@gmx.de> |
97b8365c | 30483 | |
8aa540d2 | 30484 | * tools/.cvsignore: Ignore tools.zip. |
97b8365c | 30485 | |
8aa540d2 | 30486 | 2006-02-16 Keith Seitz <keiths@redhat.com> |
97b8365c | 30487 | |
8aa540d2 MW |
30488 | * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId): |
30489 | Set the ID's reference. | |
30490 | (<clinit>): Remove comments for field, method, and frame ID types, | |
30491 | which will not be handled by VMIdManager. | |
97b8365c | 30492 | |
8aa540d2 | 30493 | 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 30494 | |
8aa540d2 MW |
30495 | * javax/swing/JTable.java (getCellEditor, getCellRenderer): |
30496 | Use model index, not the column number. | |
30497 | * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler): | |
30498 | Rewritten. (draggingHeaderRect): New field. (paint): Animate column | |
30499 | movement by painting draggingHeaderRect. | |
30500 | * NEWS: Added entry about JTable columns. | |
97b8365c | 30501 | |
8aa540d2 | 30502 | 2006-02-16 Keith Seitz <keiths@redhat.com> |
97b8365c | 30503 | |
8aa540d2 MW |
30504 | * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return |
30505 | default size of eight bytes. | |
30506 | * gnu/classpath/jdwp/id/ObjectId.java (size): Remove. | |
30507 | * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove. | |
30508 | * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java | |
30509 | (executeIDsizes): Use new static methods. | |
30510 | * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static | |
30511 | method. | |
30512 | ||
30513 | 2006-02-16 David Daney <ddaney@avtrex.com> | |
97b8365c | 30514 | |
8aa540d2 MW |
30515 | PR classpath/26312 |
30516 | * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask | |
30517 | return value with 0xff. | |
97b8365c | 30518 | |
8aa540d2 | 30519 | 2006-02-16 Keith Seitz <keiths@redhat.com> |
97b8365c | 30520 | |
8aa540d2 MW |
30521 | * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method. |
30522 | (matches): Use Iterator instead of ListIterator. | |
97b8365c | 30523 | |
8aa540d2 | 30524 | 2006-02-16 Keith Seitz <keiths@redhat.com> |
97b8365c | 30525 | |
8aa540d2 MW |
30526 | * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet |
30527 | processor thread for easier debugging. | |
30528 | (_enforceSuspendPolicy): Suspend the current thread, not the JDWP | |
30529 | main thread. | |
97b8365c | 30530 | |
8aa540d2 | 30531 | 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 30532 | |
8aa540d2 MW |
30533 | * javax/swing/JTable.java |
30534 | (TableColumnPropertyChangeHandler.propertyChange): Return without | |
30535 | action if table header resizing column in not null. (doLayout): | |
30536 | Only repaint the header if it is not null. | |
30537 | * javax/swing/plaf/basic/BasicTableHeaderUI.java | |
30538 | (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased): | |
30539 | Rewritten. (MouseInputHandler.endResizing): New method. | |
97b8365c | 30540 | |
8aa540d2 | 30541 | 2006-02-16 Roman Kennke <kennke@aicas.com> |
97b8365c | 30542 | |
8aa540d2 | 30543 | * javax/swing/text/html/InlineView.java: New file. |
97b8365c | 30544 | |
8aa540d2 | 30545 | 2006-02-16 Roman Kennke <kennke@aicas.com> |
97b8365c | 30546 | |
8aa540d2 MW |
30547 | * javax/swing/JTabbedPane.java |
30548 | (AccessibleJTable.getAccessibleChild): Implemented to return | |
30549 | the Page instance for the specified index. | |
30550 | (Page): Changed to implement Accessible and extend | |
30551 | AccessibleContext. | |
30552 | (Page.getAccessibleContext): New method. | |
30553 | (Page.getAccessibleRole): New method. | |
30554 | (Page.getAccessibleStateSet): New method. | |
30555 | (Page.getAccessibleIndexInParent): New method. | |
30556 | (Page.getAccessibleChildrenCount): New method. | |
30557 | (Page.getAccessibleChild): New methdod. | |
30558 | (Page.getLocale): New method. | |
97b8365c | 30559 | |
8aa540d2 | 30560 | 2006-02-16 Roman Kennke <kennke@aicas.com> |
97b8365c | 30561 | |
8aa540d2 MW |
30562 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java |
30563 | (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when | |
30564 | tabCount gets greater than tabRuns.length. | |
30565 | (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array | |
30566 | when tabCount gets greater than tabRuns.length. | |
30567 | (paintTabArea): Don't set tabCount == runCount. | |
97b8365c | 30568 | |
8aa540d2 | 30569 | 2006-02-16 Roman Kennke <kennke@aicas.com> |
97b8365c TT |
30570 | |
30571 | * javax/swing/plaf/basic/BasicTextUI.java | |
8aa540d2 MW |
30572 | (installUI): Moved installation of PropertyChangeListener |
30573 | to installListeners(). Call modelChanged() after everything is | |
30574 | is installed. | |
30575 | (installListeners): Install PropertyChangeListener here. | |
30576 | (uninstallUI): Moved uninstallation of PropertyChangeListener | |
30577 | to uninstallListeners. | |
30578 | (uninstallListeners): Uninstall PropertyChangeListener here. | |
30579 | ||
30580 | 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
30581 | ||
30582 | * javax/swing/JTable.java (doLayout): | |
30583 | case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header | |
30584 | on exit. | |
30585 | javax/swing/plaf/basic/BasicTableHeaderUI.java | |
30586 | (MouseInputHandler.mouseDragged): Do not repaint the header. | |
97b8365c | 30587 | |
8aa540d2 | 30588 | 2006-02-16 Roman Kennke <kennke@aicas.com> |
97b8365c | 30589 | |
8aa540d2 MW |
30590 | * javax/swing/JViewport.java |
30591 | (static_initializer): Set default scrollMode to backingstore. | |
97b8365c | 30592 | |
8aa540d2 | 30593 | 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 30594 | |
8aa540d2 MW |
30595 | * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value, |
30596 | returned by getCellRect. To not translate the component. | |
97b8365c | 30597 | |
8aa540d2 | 30598 | 2006-02-16 Roman Kennke <kennke@aicas.com> |
97b8365c | 30599 | |
8aa540d2 MW |
30600 | * javax/swing/JComponent.java |
30601 | (rectCache): Made field non-static to avoid nasty interferences. | |
30602 | (computeVisibleRect): Avoid creation of new Rectangles and double | |
30603 | calculations on ints by using Swing.computeIntersection() instead | |
30604 | of Rectangle2D.intersect(). | |
30605 | (repaint): Interect the dirty region with the visible rectangle | |
30606 | of this component to avoid unnecessary painting. | |
97b8365c | 30607 | |
8aa540d2 | 30608 | 2006-02-16 Gary Benson <gbenson@redhat.com> |
97b8365c | 30609 | |
8aa540d2 | 30610 | * java/lang/Thread.java (stop): Add a missing access check. |
97b8365c | 30611 | |
8aa540d2 | 30612 | 2006-02-16 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 30613 | |
8aa540d2 MW |
30614 | * javax/swing/text/JTextComponent.java: |
30615 | (replaceSelection): Added code to update the magic caret position. | |
30616 | * javax/swing/text/DefaultEditorKit.java: Added code to update | |
30617 | the magic caret position of the text component in all relevant | |
30618 | movement actions, make use of the magic caret position in up | |
30619 | and down movements and selections, simplified some actions | |
30620 | (code-wise). | |
30621 | ||
30622 | 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com> | |
30623 | ||
30624 | * gnu/java/lang/CharData.java: Regenerated from | |
30625 | doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt | |
30626 | and scripts/unicode-muncher.pl. | |
30627 | * java/lang/Character.java: | |
30628 | (PrivateUseCharacters): New private static class. | |
30629 | (UnassignedCharacters): Likewise. | |
30630 | (blocks): Changed from char[] to char[][] to reflect the changes in | |
30631 | gnu/java/lang/CharData. There is now one char[] per Unicode code | |
30632 | plane. | |
30633 | (data): Likewise. | |
30634 | (numValue): Likewise. | |
30635 | (upper): Likewise. | |
30636 | (lower): Likewise. | |
30637 | (direction): Likewise. | |
30638 | (readChar): Replaced this method with new method readCodePoint. | |
30639 | (readCodePoint): New method. | |
30640 | (isLowerCase(char)): Redirected to new isLowerCase(int). | |
30641 | (isLowerCase(int)): New method. | |
30642 | (isUpperCase(char)): Redirected to new isUpperCase(int). | |
30643 | (isUpperCase(int)): New method. | |
30644 | (isTitleCase(char)): Redirected to new isTitleCase(int). | |
30645 | (isTitleCase(int)): New method. | |
30646 | (isDigit(char)): Redirected to new isDigit(int). | |
30647 | (isDigit(int)): New method. | |
30648 | (isDefined(char)): Redirected to new isDefined(int). | |
30649 | (isDefined(int)): New method. | |
30650 | (isLetter(char)): Redirected to new isLetter(int). | |
30651 | (isLetter(int)): New method. | |
30652 | (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int). | |
30653 | (isLetterOrDigit(int)): New method. | |
30654 | (isJavaIdentifierStart(char)): Redirected to new | |
30655 | isJavaIdentifierStart(int). | |
30656 | (isJavaIdentifierStart(int)): New method. | |
30657 | (isJavaIdentifierPart(char)): Redirected to new | |
30658 | isJavaIdentifierPart(int). | |
30659 | (isJavaIdentifierPart(int)): New method. | |
30660 | (isUnicodeIdentifierStart(char)): Redirected to new | |
30661 | isUnicodeIdentifierStart(int). | |
30662 | (isUnicodeIdentifierStart(int)): New method. | |
30663 | (isUnicodeIdentifierPart(char)): Redirected to new | |
30664 | isUnicodeIdentifierPart(int). | |
30665 | (isUnicodeIdentifierPart(int)): New method. | |
30666 | (isIdentifierIgnorable(char)): Redirected to new | |
30667 | isIdentifierIgnorable(int). | |
30668 | (isIdentifierIgnorable(int)): New method. | |
30669 | (toLowerCase(char)): Changed access to lower to correspond with new | |
30670 | char[][] type of lower. | |
30671 | (toLowerCase(int)) New method. | |
30672 | (toUpperCase(char)): Changed access to upper to correspond with new | |
30673 | char[][] type of upper. | |
30674 | (toUpperCase(int)): New method. | |
30675 | (toTitleCase(int)): New method. | |
30676 | (digit(char, int)): Replaced call to readChar with call to | |
30677 | readCodePoint and changed access to numValue to reflect new char[][] | |
30678 | type of numValue. | |
30679 | (digit(int, int)): New method. | |
30680 | (getNumericValue(char)): Changed access to numValue to reflect new | |
30681 | char[][] type of numValue. | |
30682 | (getNumericValue(int)): New method. | |
30683 | (isSpaceChar(char)): Redirected to new isSpaceChar(int). | |
30684 | (isSpaceChar(int)): New method. | |
30685 | (isWhitespace(char)): Redirected to new isWhitespace(int). | |
30686 | (isWhitespace(int)): New method. | |
30687 | (isISOControl(char)): Redirected to new isISOControl(int). | |
30688 | (isISOControl(int)): New method. | |
30689 | (getType(char)): Redirected to new getType(int). | |
30690 | (getType(int)): New method. | |
30691 | (getDirectionality(char)): Redirected to new getDirectionality(int). | |
30692 | (getDirectionality(int)): New method. | |
30693 | (isMirrored(char)): Changed call to readChar to readCodePoint. | |
30694 | (isMirrored(int)): New method. | |
30695 | * java/lang/String.java: | |
30696 | (upperCaseExpansion): Changed access to Character.direction to reflect | |
30697 | new char[][] type of direction. | |
30698 | (offsetByCodePoints): New method. | |
30699 | * scripts/unicode-muncher.pl: Adapted this script to handle Unicode | |
30700 | 4.0.0 which introduced supplementary character assignments. | |
30701 | ||
30702 | 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
30703 | ||
30704 | * javax/swing/JTable.java, | |
30705 | javax/swing/plaf/basic/BasicTableHeaderUI.java, | |
30706 | javax/swing/table/DefaultTableModel.java: Documented. | |
97b8365c | 30707 | |
8aa540d2 | 30708 | 2006-02-15 Lillian Angel <langel@redhat.com> |
97b8365c | 30709 | |
8aa540d2 MW |
30710 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: |
30711 | Removed duplicate methods. | |
97b8365c | 30712 | |
8aa540d2 | 30713 | 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 30714 | |
8aa540d2 MW |
30715 | * javax/swing/JTable.java (distributeSpillResizing): New method. |
30716 | (doLayout): Use distributeSpillResizing when resizing. | |
30717 | * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler): | |
30718 | Rewritten. (installListeners): Add mouse motion listener. | |
30719 | (uninstallListeners): Remove mouse motion listener. | |
97b8365c | 30720 | |
8aa540d2 | 30721 | 2006-02-15 Lillian Angel <langel@redhat.com> |
97b8365c | 30722 | |
8aa540d2 MW |
30723 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java |
30724 | (setVisible): Removed method. | |
30725 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
30726 | (setLocation): New method. | |
30727 | (setLocationUnlocked): New method. | |
30728 | (show): Changed to use setLocation instead of setBounds. | |
97b8365c | 30729 | * java/awt/Component.java |
8aa540d2 MW |
30730 | (show): Should call peer.show(), not peer.setVisible(), so the |
30731 | location of the component is correctly set. | |
30732 | (preferredSize): Added curly braces so else statements are | |
30733 | properly associated with if's. | |
30734 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
30735 | (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): | |
30736 | New function. | |
30737 | (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet | |
30738 | LocationUnlocked): New function. | |
30739 | * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: | |
30740 | Added declarations for Java_gnu_java_awt_peer_gtk_ | |
30741 | GtkWindowPeer_nativeSetLocation and | |
30742 | Java_gnu_java_awt_peer_gtk_GtkWindowPeer | |
30743 | _nativeSetLocationUnlocked. | |
97b8365c | 30744 | |
8aa540d2 | 30745 | 2006-02-15 Mark Wielaard <mark@klomp.org> |
97b8365c | 30746 | |
8aa540d2 MW |
30747 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c |
30748 | (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): | |
30749 | Downcast gtk_plug_new result when used. | |
97b8365c | 30750 | |
8aa540d2 | 30751 | 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com> |
97b8365c | 30752 | |
8aa540d2 MW |
30753 | * java/io/ObjectOutputStream.java (writeClassDescriptor): |
30754 | Call assignNewHandle() after writing Proxy class. | |
97b8365c | 30755 | |
8aa540d2 | 30756 | 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com> |
97b8365c | 30757 | |
8aa540d2 MW |
30758 | Fixes bug #14144 |
30759 | * java/io/ObjectInputStream.java (readClassDescriptor): | |
30760 | Class doesn't have to be abstract for first_nonserial. | |
97b8365c | 30761 | |
8aa540d2 | 30762 | 2006-02-15 Roman Kennke <kennke@aicas.com> |
97b8365c | 30763 | |
8aa540d2 MW |
30764 | * javax/swing/JInternalFrame.java |
30765 | (setClosed): Call dispose to actually make the frame invisible | |
30766 | and unselected. | |
97b8365c | 30767 | |
8aa540d2 | 30768 | 2006-02-15 Roman Kennke <kennke@aicas.com> |
97b8365c | 30769 | |
8aa540d2 MW |
30770 | * javax/swing/JInternalFrame.java |
30771 | (dispose): Call setVisible(false) instead of hide. | |
30772 | (doDefaultCloseOperation): Likewise. | |
97b8365c | 30773 | |
8aa540d2 | 30774 | 2006-02-15 Roman Kennke <kennke@aicas.com> |
97b8365c | 30775 | |
8aa540d2 MW |
30776 | * javax/swing/JComponent.java |
30777 | (paintChildren): Also check for the visibility of a child component | |
30778 | to avoid artifacts. | |
30779 | (repaint): Simply add this component to the RepaintManager rather than | |
30780 | trying to do useless optimization here. | |
97b8365c | 30781 | |
8aa540d2 | 30782 | 2006-02-15 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 30783 | |
8aa540d2 MW |
30784 | * javax/swing/JSpinner.java |
30785 | (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a | |
30786 | PropertyChangeListener, | |
30787 | (DefaultEditor.getSpinner): Updated API docs, | |
30788 | (DefaultEditor.dismiss): Likewise, | |
30789 | (DefaultEditor.getTextField): Likewise, | |
30790 | (DefaultEditor.layoutContainer): Likewise, | |
30791 | (DefaultEditor.minimumLayoutSize): Likewise, | |
30792 | (DefaultEditor.preferredLayoutSize): Likewise, | |
30793 | (DefaultEditor.propertyChange): Implemented, | |
30794 | (DefaultEditor.stateChanged): Implemented, | |
30795 | (DefaultEditor.removeLayoutComponent): Updated API docs, | |
30796 | (DefaultEditor.addLayoutComponent): Likewise, | |
30797 | (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field, | |
30798 | (NumberEditor.NumberEditor(JSpinner, String)): Likewise, | |
30799 | (NumberEditor.getFormat): Implemented, | |
30800 | (NumberEditor.getModel): Updated API docs, | |
30801 | (NumberEditorFormatter): New static inner class, | |
30802 | (ListEditor.getModel): Updated API docs, | |
30803 | (DateEditor.dateFormat): Removed, | |
30804 | (DateEditor.DateEditor(JSpinner)): Set formatter for text field, | |
30805 | (DateEditor.DateEditor(JSpinner, String)): Likewise, | |
30806 | (DateEditor.init): Removed, | |
30807 | (DateEditor.getFormat): Reimplemented, | |
30808 | (DateEditorFormatter): New static inner class, | |
30809 | (ModelListener): New inner class, | |
30810 | (model): Updated API docs, | |
30811 | (editor): Likewise, | |
30812 | (listener): Removed, | |
30813 | (JSpinner()): Updated API docs, | |
30814 | (JSpinner(SpinnerModel)): Set up ModelListener, | |
30815 | (setEditor): Fire property change, | |
30816 | (getModel): Updated API docs, | |
30817 | (setModel): Removed check for null editor, | |
30818 | (setValue): Updated API docs, | |
30819 | (getUIClassID): Updated API docs, | |
30820 | (createEditor): Handle SpinnerListModel case, | |
30821 | * javax/swing/plaf/basic/BasicSpinnerUI.java | |
30822 | (createUI): Updated API docs, | |
30823 | (createPropertyChangeListener): Added FIXME, | |
30824 | (installDefaults): Set text field border to null, | |
30825 | (DefaultLayoutManager): Updated API docs, | |
30826 | (DefaultLayoutManager.layoutContainer): Modified layout, | |
30827 | (DefaultLayoutManager.minimumLayoutSize): Ignore button heights, | |
30828 | (DefaultLayoutManager.preferredLayoutSize): Likewise, | |
30829 | (DefaultLayoutManager.removeLayoutComponent): Removed tabs, | |
30830 | (DefaultLayoutManager.addLayoutComponent): Likewise, | |
30831 | (DefaultLayoutManager.minSize): Renamed prefSize, | |
30832 | (DefaultLayoutManager.setBounds): Reformatted, | |
30833 | (DefaultLayoutManager.editor): Added API docs, | |
30834 | (DefaultLayoutManager.next): Likewise, | |
30835 | (DefaultLayoutManager.previous): Likewise, | |
30836 | * javax/swing/plaf/metal/MetalLookAndFeel.java | |
30837 | (initComponentDefaults): Added entry for 'Spinner.border', | |
30838 | * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file. | |
30839 | ||
30840 | 2006-02-15 Chris Burdess <dog@gnu.org> | |
30841 | ||
30842 | * gnu/xml/validation/datatype/BooleanType.java, | |
30843 | gnu/xml/validation/datatype/ByteType.java, | |
30844 | gnu/xml/validation/datatype/DateTimeType.java, | |
30845 | gnu/xml/validation/datatype/DateType.java, | |
30846 | gnu/xml/validation/datatype/DecimalType.java, | |
30847 | gnu/xml/validation/datatype/DoubleType.java, | |
30848 | gnu/xml/validation/datatype/DurationType.java, | |
30849 | gnu/xml/validation/datatype/FloatType.java, | |
30850 | gnu/xml/validation/datatype/GDayType.java, | |
30851 | gnu/xml/validation/datatype/GMonthDayType.java, | |
30852 | gnu/xml/validation/datatype/GMonthType.java, | |
30853 | gnu/xml/validation/datatype/GYearMonthType.java, | |
30854 | gnu/xml/validation/datatype/GYearType.java, | |
30855 | gnu/xml/validation/datatype/IntType.java, | |
30856 | gnu/xml/validation/datatype/IntegerType.java, | |
30857 | gnu/xml/validation/datatype/LongType.java, | |
30858 | gnu/xml/validation/datatype/MaxExclusiveFacet.java, | |
30859 | gnu/xml/validation/datatype/MaxInclusiveFacet.java, | |
30860 | gnu/xml/validation/datatype/MinExclusiveFacet.java, | |
30861 | gnu/xml/validation/datatype/MinInclusiveFacet.java, | |
30862 | gnu/xml/validation/datatype/NegativeIntegerType.java, | |
30863 | gnu/xml/validation/datatype/NonNegativeIntegerType.java, | |
30864 | gnu/xml/validation/datatype/NonPositiveIntegerType.java, | |
30865 | gnu/xml/validation/datatype/PositiveIntegerType.java, | |
30866 | gnu/xml/validation/datatype/ShortType.java, | |
30867 | gnu/xml/validation/datatype/SimpleType.java, | |
30868 | gnu/xml/validation/datatype/TimeType.java, | |
30869 | gnu/xml/validation/datatype/TypeBuilder.java, | |
30870 | gnu/xml/validation/datatype/UnsignedByteType.java, | |
30871 | gnu/xml/validation/datatype/UnsignedIntType.java, | |
30872 | gnu/xml/validation/datatype/UnsignedLongType.java, | |
30873 | gnu/xml/validation/datatype/UnsignedShortType.java: Provide value | |
30874 | objects for datatypes. Make maxExclusive,minExclusive,maxInclusive, | |
30875 | minInclusive facets use the value space of the base type, and | |
30876 | implement. | |
30877 | ||
30878 | 2006-02-15 Mark Wielaard <mark@klomp.org> | |
30879 | ||
30880 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c | |
30881 | (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): | |
30882 | gtk_plug_new() returns a GtkWindow. | |
30883 | ||
30884 | 2006-02-15 David Gilbert <david.gilbert@object-refinery.com> | |
30885 | ||
30886 | * javax/swing/SpinnerNumberModel.java | |
30887 | (getNextValue): Check for null maximum, | |
30888 | (getPreviousValue): Check for null minimum. | |
97b8365c | 30889 | |
8aa540d2 | 30890 | 2006-02-15 Roman Kennke <kennke@aicas.com> |
97b8365c | 30891 | |
8aa540d2 MW |
30892 | * javax/swing/plaf/basic/BasicTableUI.java |
30893 | (paint): Paint vertical and horizontal lines one pixel shifted | |
30894 | left/top. | |
97b8365c | 30895 | |
8aa540d2 | 30896 | 2006-02-15 Jeroen Frijters <jeroen@frijters.net> |
97b8365c | 30897 | |
8aa540d2 MW |
30898 | * java/util/zip/ZipFile.java |
30899 | (checkZipFile): Inlined readLeInt and rewritten for robustness. | |
30900 | (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[], | |
30901 | readLeShort(byte[],int), readLeInt(byte[],int)): Removed. | |
30902 | (readEntries): Rewritten to use PartialInputStream. | |
30903 | (locBuf, checkLocalHeader): Removed. | |
30904 | (getInputStream): Rewritten to use new PartialInputStream. | |
30905 | (PartialInputStream): Rewritten to do buffering. | |
30906 | ||
30907 | 2006-02-15 Michael Koch <konqueror@gmx.de> | |
30908 | ||
30909 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c | |
30910 | (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): | |
30911 | Make sure the embedded window gets no decorations. | |
30912 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
30913 | (window_get_frame_extents): Return early of the window has no | |
30914 | decorations. | |
97b8365c | 30915 | |
8aa540d2 | 30916 | 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 30917 | |
8aa540d2 MW |
30918 | * examples/gnu/classpath/examples/swing/TableDemo.java |
30919 | (TModel, createContent): Explain which value appears in the header. | |
30920 | * javax/swing/JTable.java (setColumnModel): Only set the | |
30921 | column header value if the getHeaderValue() returns null. | |
30922 | ||
30923 | 2006-02-14 Mark Wielaard <mark@klomp.org> | |
30924 | ||
30925 | Fixes bug #23931 | |
30926 | * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field. | |
30927 | (getErrorImage): New static method. | |
30928 | * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed. | |
30929 | (bufferedImageOrError): Renamed to ... | |
30930 | (imageOrError): Renamed from bufferedImageOrError, takes Image. | |
30931 | Returns GtkImage.getErrorImage() when argument null. | |
30932 | (createImage(String)): Always use imageOrError. | |
30933 | (createImage(URL)): Likewise. | |
30934 | (createImage(ImageProducer)): Likewise. | |
30935 | (createImage(byte[],int,int)): Likewise. | |
30936 | ||
30937 | 2006-02-14 Roman Kennke <kennke@aicas.com> | |
30938 | ||
30939 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed | |
30940 | unneeded imports. | |
30941 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise. | |
30942 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. | |
30943 | * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise. | |
30944 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise. | |
30945 | * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment. | |
30946 | ||
30947 | 2006-02-14 Roman Kennke <kennke@aicas.com> | |
30948 | ||
30949 | * javax/swing/text/AsyncBoxView.java | |
30950 | (ChildState.locator): Removed wrong field. | |
30951 | (ChildState): Removed initialization of removed field. | |
30952 | (locator): Changed access modifier to be protected as specified. | |
30953 | ||
30954 | 2006-02-14 Roman Kennke <kennke@aicas.com> | |
30955 | ||
30956 | * javax/swing/ToolTipManager.java: Removed unneeded imports. | |
30957 | * javax/swing/Timer.java: Some small reindention. | |
30958 | (task): Made package private to avoid synthetic accessor method. | |
97b8365c | 30959 | |
8aa540d2 | 30960 | 2006-02-14 Roman Kennke <kennke@aicas.com> |
97b8365c TT |
30961 | |
30962 | * javax/swing/SwingUtilities.java | |
8aa540d2 MW |
30963 | (layoutCompoundLabel): Dont set textIconGap to 0 when there is |
30964 | no icon. | |
97b8365c | 30965 | |
8aa540d2 | 30966 | 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 30967 | |
8aa540d2 MW |
30968 | * examples/gnu/classpath/examples/swing/TableDemo.java: |
30969 | Making the columns variable width. | |
30970 | * javax/swing/JTable.java (distributeSpill, doLayout): | |
30971 | Call getPreferredSize and not getSize(). | |
97b8365c | 30972 | |
8aa540d2 | 30973 | 2006-02-14 Roman Kennke <kennke@aicas.com> |
97b8365c | 30974 | |
8aa540d2 MW |
30975 | * javax/swing/DefaultCellEditor.java |
30976 | (DefaultCellEditor): API doc fixlet. | |
97b8365c | 30977 | |
8aa540d2 | 30978 | 2006-02-14 Roman Kennke <kennke@aicas.com> |
97b8365c | 30979 | |
8aa540d2 MW |
30980 | * javax/swing/JViewport.java |
30981 | (isPaintRoot): New field. | |
30982 | (repaint): Only call super here. Also added a comment regarding | |
30983 | the diversion from the JDK. | |
30984 | (paintBlit): Implemented real blitting. | |
30985 | (paintImmediately2): New method. Overrides the same package private | |
30986 | method in JComponent. | |
97b8365c | 30987 | |
8aa540d2 | 30988 | 2006-02-14 Roman Kennke <kennke@aicas.com> |
97b8365c | 30989 | |
8aa540d2 MW |
30990 | * javax/swing/plaf/basic/BasicTableUI.java |
30991 | (paint): Check for boundary cases when determining the painting | |
30992 | area. | |
97b8365c | 30993 | |
8aa540d2 | 30994 | 2006-02-14 Mark Wielaard <mark@klomp.org> |
97b8365c | 30995 | |
8aa540d2 MW |
30996 | * java/awt/Menu.java (add): Always set parent of item to this. Call |
30997 | addNotify() on item when we have a MenuPeer already. | |
30998 | (insert): Always adjust parent for item. Call addNotify() on item if | |
30999 | we already have a peer. | |
31000 | (remove(int)): Always clear item parent. Call removeNotify() on item | |
31001 | if we had a peer. | |
97b8365c | 31002 | |
8aa540d2 | 31003 | 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 31004 | |
8aa540d2 MW |
31005 | * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed |
31006 | row == getRowCount(). | |
97b8365c | 31007 | |
8aa540d2 MW |
31008 | 2006-02-14 Lillian Angel <langel@redhat.com> |
31009 | ||
31010 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java | |
31011 | (setVisible): New method to override super. Need to set the | |
31012 | native bounds of the component, so it appears at the | |
31013 | correct location. | |
31014 | ||
31015 | 2006-02-14 Mark Wielaard <mark@klomp.org> | |
31016 | ||
31017 | * java/awt/Frame.java (setMenuBar): Update MenuBar parent. | |
31018 | (remove): If menu component is the current MenuBar remove it, | |
31019 | otherwise call super.remove(). | |
31020 | * java/awt/MenuBar.java (frame): Remove field. | |
31021 | * java/awt/MenuComponent.java (postEvent): Use getParent() always. | |
31022 | ||
31023 | 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
31024 | ||
31025 | * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer | |
31026 | to NameServicePersistent. | |
31027 | * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file. | |
31028 | * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted. | |
31029 | ||
31030 | 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
31031 | ||
31032 | * NEWS: Updated tool status. | |
31033 | * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected. | |
31034 | (constructor, bind, rebind): Rewritten. | |
31035 | * gnu/CORBA/NamingService/TransientContext.java: Rewritten. | |
31036 | * tools/gnu/classpath/tools/giop/README: Updated. | |
31037 | * tools/gnu/classpath/tools/giop/NameServicePersistent.java, | |
31038 | tools/gnu/classpath/tools/giop/NamingServicePersistent.txt, | |
31039 | tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java, | |
31040 | tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java, | |
31041 | tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: | |
31042 | New files. | |
97b8365c | 31043 | |
8aa540d2 | 31044 | 2006-02-14 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 31045 | |
8aa540d2 MW |
31046 | * javax/swing/JComponent.java |
31047 | (getListeners): Check for PropertyChangeListener.class and delegate to | |
31048 | getPropertyChangeListeners() for that case. | |
97b8365c | 31049 | |
8aa540d2 | 31050 | 2006-02-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 31051 | |
8aa540d2 MW |
31052 | * javax/swing/plaf/basic/BasicTableUI.java |
31053 | (paint): Determine the cells that need painting based on the | |
31054 | current clip. Use getCellRect() for calculating the cell | |
31055 | bounds. | |
97b8365c | 31056 | |
8aa540d2 | 31057 | 2006-02-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 31058 | |
8aa540d2 MW |
31059 | * javax/swing/JTable.java |
31060 | (rectCache): New field. | |
31061 | (getCellRect): Returns cached Rectangle instance. | |
97b8365c | 31062 | |
8aa540d2 | 31063 | 2006-02-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 31064 | |
8aa540d2 MW |
31065 | * javax/swing/JLayeredPane.java |
31066 | (removeAll): New method. Avoid potential memory leak. | |
31067 | (isOptimizedDrawingEnabled): Replaced heuristic with accurate | |
31068 | calculation. | |
97b8365c | 31069 | |
8aa540d2 | 31070 | 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com> |
97b8365c | 31071 | |
8aa540d2 MW |
31072 | * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value. |
31073 | * javax/swing/undo/StateEditable.java (RCSID): Likewise. | |
97b8365c | 31074 | |
8aa540d2 | 31075 | 2006-02-13 Tom Tromey <tromey@redhat.com> |
97b8365c | 31076 | |
8aa540d2 MW |
31077 | * vm/reference/java/lang/reflect/Method.java: Javadoc fix. |
31078 | * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix. | |
97b8365c | 31079 | |
8aa540d2 | 31080 | 2006-02-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 31081 | |
8aa540d2 MW |
31082 | * javax/swing/RepaintManager.java |
31083 | (offscreenBuffers): New field. | |
31084 | (doubleBuffer): Removed field. | |
31085 | (repaintUnderway): New field. | |
31086 | (commitRequests): New field. | |
31087 | (RepaintManager): Initialize new fields. | |
31088 | (paintDirtyRegions): Handle repaintUnderway flag. Commit | |
31089 | buffers when done. | |
31090 | (getOffscreenBuffer): Returns the offscreen buffer for the | |
31091 | corresponding root component. | |
31092 | (commitBuffer): New method. | |
31093 | (commitRemainingBuffers): New method. | |
31094 | * javax/swing/JComponent.java | |
31095 | (paint): Call paintDoubleBuffered with the current clip. | |
31096 | (paintImmediately2): Don't paint on screen here. | |
31097 | (paintDoubleBuffered): Rewritten for real double buffering. | |
31098 | (paintSimple): Draw to screen in this method. | |
97b8365c | 31099 | |
8aa540d2 | 31100 | 2006-02-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 31101 | |
8aa540d2 MW |
31102 | * javax/swing/JRootPane.java |
31103 | (JRootPane): Set opaque property to true. | |
97b8365c | 31104 | |
8aa540d2 | 31105 | 2006-02-13 Tom Tromey <tromey@redhat.com> |
97b8365c | 31106 | |
8aa540d2 | 31107 | * .classpath: Updated for external/relaxngDatatype. |
97b8365c | 31108 | |
8aa540d2 | 31109 | 2006-02-13 Chris Burdess <dog@gnu.org> |
97b8365c | 31110 | |
8aa540d2 MW |
31111 | * gnu/xml/stream/UnicodeReader.java, |
31112 | gnu/xml/validation/datatype/Annotation.java, | |
31113 | gnu/xml/validation/datatype/AnySimpleType.java, | |
31114 | gnu/xml/validation/datatype/AnyType.java, | |
31115 | gnu/xml/validation/datatype/AnyURIType.java, | |
31116 | gnu/xml/validation/datatype/AtomicSimpleType.java, | |
31117 | gnu/xml/validation/datatype/Base64BinaryType.java, | |
31118 | gnu/xml/validation/datatype/BooleanType.java, | |
31119 | gnu/xml/validation/datatype/ByteType.java, | |
31120 | gnu/xml/validation/datatype/DateTimeType.java, | |
31121 | gnu/xml/validation/datatype/DateType.java, | |
31122 | gnu/xml/validation/datatype/DecimalType.java, | |
31123 | gnu/xml/validation/datatype/DoubleType.java, | |
31124 | gnu/xml/validation/datatype/DurationType.java, | |
31125 | gnu/xml/validation/datatype/EntitiesType.java, | |
31126 | gnu/xml/validation/datatype/EntityType.java, | |
31127 | gnu/xml/validation/datatype/EnumerationFacet.java, | |
31128 | gnu/xml/validation/datatype/Facet.java, | |
31129 | gnu/xml/validation/datatype/FloatType.java, | |
31130 | gnu/xml/validation/datatype/FractionDigitsFacet.java, | |
31131 | gnu/xml/validation/datatype/GDayType.java, | |
31132 | gnu/xml/validation/datatype/GMonthDayType.java, | |
31133 | gnu/xml/validation/datatype/GMonthType.java, | |
31134 | gnu/xml/validation/datatype/GYearMonthType.java, | |
31135 | gnu/xml/validation/datatype/GYearType.java, | |
31136 | gnu/xml/validation/datatype/HexBinaryType.java, | |
31137 | gnu/xml/validation/datatype/IDRefType.java, | |
31138 | gnu/xml/validation/datatype/IDRefsType.java, | |
31139 | gnu/xml/validation/datatype/IDType.java, | |
31140 | gnu/xml/validation/datatype/IntType.java, | |
31141 | gnu/xml/validation/datatype/IntegerType.java, | |
31142 | gnu/xml/validation/datatype/LanguageType.java, | |
31143 | gnu/xml/validation/datatype/LengthFacet.java, | |
31144 | gnu/xml/validation/datatype/ListSimpleType.java, | |
31145 | gnu/xml/validation/datatype/LongType.java, | |
31146 | gnu/xml/validation/datatype/MaxExclusiveFacet.java, | |
31147 | gnu/xml/validation/datatype/MaxInclusiveFacet.java, | |
31148 | gnu/xml/validation/datatype/MaxLengthFacet.java, | |
31149 | gnu/xml/validation/datatype/MinExclusiveFacet.java, | |
31150 | gnu/xml/validation/datatype/MinInclusiveFacet.java, | |
31151 | gnu/xml/validation/datatype/MinLengthFacet.java, | |
31152 | gnu/xml/validation/datatype/NCNameType.java, | |
31153 | gnu/xml/validation/datatype/NMTokenType.java, | |
31154 | gnu/xml/validation/datatype/NMTokensType.java, | |
31155 | gnu/xml/validation/datatype/NameType.java, | |
31156 | gnu/xml/validation/datatype/NegativeIntegerType.java, | |
31157 | gnu/xml/validation/datatype/NonNegativeIntegerType.java, | |
31158 | gnu/xml/validation/datatype/NonPositiveIntegerType.java, | |
31159 | gnu/xml/validation/datatype/NormalizedStringType.java, | |
31160 | gnu/xml/validation/datatype/NotationType.java, | |
31161 | gnu/xml/validation/datatype/PatternFacet.java, | |
31162 | gnu/xml/validation/datatype/PositiveIntegerType.java, | |
31163 | gnu/xml/validation/datatype/QNameType.java, | |
31164 | gnu/xml/validation/datatype/ShortType.java, | |
31165 | gnu/xml/validation/datatype/SimpleType.java, | |
31166 | gnu/xml/validation/datatype/StringType.java, | |
31167 | gnu/xml/validation/datatype/TimeType.java, | |
31168 | gnu/xml/validation/datatype/TokenType.java, | |
31169 | gnu/xml/validation/datatype/TotalDigitsFacet.java, | |
31170 | gnu/xml/validation/datatype/Type.java, | |
31171 | gnu/xml/validation/datatype/TypeBuilder.java, | |
31172 | gnu/xml/validation/datatype/TypeLibrary.java, | |
31173 | gnu/xml/validation/datatype/TypeLibraryFactory.java, | |
31174 | gnu/xml/validation/datatype/UnionSimpleType.java, | |
31175 | gnu/xml/validation/datatype/UnsignedByteType.java, | |
31176 | gnu/xml/validation/datatype/UnsignedIntType.java, | |
31177 | gnu/xml/validation/datatype/UnsignedLongType.java, | |
31178 | gnu/xml/validation/datatype/UnsignedShortType.java, | |
31179 | gnu/xml/validation/datatype/WhiteSpaceFacet.java, | |
31180 | resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory: | |
31181 | RELAX NG datatype library implementation for XML Schema Datatypes. | |
31182 | ||
31183 | 2006-02-13 Chris Burdess <dog@gnu.org> | |
31184 | ||
31185 | * LICENCE, | |
31186 | NEWS, | |
31187 | configure.ac, | |
31188 | doc/README.jaxp, | |
31189 | external/Makefile.am, | |
31190 | external/relaxngDatatype/.cvsignore, | |
31191 | external/relaxngDatatype/Makefile.am, | |
31192 | external/relaxngDatatype/README.txt, | |
31193 | external/relaxngDatatype/copying.txt, | |
31194 | external/relaxngDatatype/org/relaxng/datatype/Datatype.java, | |
31195 | external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java, | |
31196 | external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java, | |
31197 | external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java, | |
31198 | external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java, | |
31199 | external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java, | |
31200 | external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java, | |
31201 | external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java, | |
31202 | external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java, | |
31203 | external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java, | |
31204 | lib/Makefile.am, | |
31205 | lib/gen-classlist.sh.in: Added external RELAX NG pluggable | |
31206 | datatypes library API. | |
97b8365c | 31207 | |
8aa540d2 | 31208 | 2006-02-13 Mark Wielaard <mark@klomp.org> |
97b8365c | 31209 | |
8aa540d2 MW |
31210 | * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field |
31211 | final. | |
31212 | (gtkWidgetModifyFont(Font)): New protected helper method. | |
31213 | (gtkWidgetModifyFont(String,int,int)): Made protected and document. | |
31214 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made | |
31215 | protected and document. | |
31216 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont): | |
31217 | Likewise. | |
31218 | * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont): | |
31219 | Likewise. | |
31220 | * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont): | |
31221 | Likewise. | |
31222 | * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected. | |
31223 | (setFont): Removed method. Done in GtkMenuComponent. | |
31224 | * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made | |
31225 | abstract and protected. | |
31226 | (setFont): Made private, add implementation. | |
31227 | (setFont(Font)): Implemented. | |
31228 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont): | |
31229 | Made protected and document. | |
31230 | (create): Made protected. | |
31231 | (setFont): Removed method. Done in GtkMenuComponent. | |
31232 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java | |
31233 | (gtkWidgetModifyFont): Made protected and document. | |
31234 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont): | |
31235 | Removed, similar to GtkGenericPeer super class implementation. | |
31236 | * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated. | |
31237 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c | |
31238 | (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont): | |
31239 | Removed. | |
97b8365c | 31240 | |
8aa540d2 | 31241 | 2006-02-13 Mark Wielaard <mark@klomp.org> |
97b8365c | 31242 | |
8aa540d2 MW |
31243 | * java/lang/Math.java (static): Explicitly call |
31244 | System.loadLibrary("javalang"). | |
97b8365c | 31245 | |
8aa540d2 | 31246 | 2006-02-13 Wolfgang Baer <WBaer@gmx.de> |
97b8365c | 31247 | |
8aa540d2 | 31248 | * javax/print/StreamPrintServiceFactory.java: New file. |
97b8365c | 31249 | |
8aa540d2 | 31250 | 2006-02-13 Tom Tromey <tromey@redhat.com> |
97b8365c | 31251 | |
8aa540d2 | 31252 | * tools/.cvsignore: Added Makefile. |
97b8365c | 31253 | |
8aa540d2 | 31254 | 2006-02-13 Wolfgang Baer <WBaer@gmx.de> |
97b8365c | 31255 | |
8aa540d2 MW |
31256 | * java/awt/print/PrinterGraphics.java: Reformatted. |
31257 | * java/awt/print/Paper.java: Likewise. | |
31258 | * java/awt/print/PageFormat.java: Likewise. | |
31259 | * java/awt/print/Pageable.java: Likewise. | |
97b8365c | 31260 | |
8aa540d2 | 31261 | 2006-02-13 Lillian Angel <langel@redhat.com> |
97b8365c | 31262 | |
8aa540d2 MW |
31263 | * java/awt/BorderLayout.java |
31264 | (layoutContainer): Rewrote part of this function to | |
31265 | properly set the bounds of the components. | |
31266 | (setBounds): Removed method, not needed. | |
97b8365c | 31267 | |
8aa540d2 | 31268 | 2006-02-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 31269 | |
8aa540d2 MW |
31270 | * javax/swing/text/DefaultStyledDocument.java |
31271 | (ElementBuffer.clone): Fixed replace call. | |
31272 | (clone): Removed method. | |
97b8365c | 31273 | |
8aa540d2 | 31274 | 2006-02-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 31275 | |
8aa540d2 | 31276 | * java/rmi/server/UnicastRemoteObject.java: Reformatted. |
97b8365c | 31277 | |
8aa540d2 | 31278 | 2006-02-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 31279 | |
8aa540d2 MW |
31280 | * java/rmi/server/UnicastRemoteObject.java |
31281 | (exportObject(Remote)): Forward method call to export(Remote,int). | |
97b8365c | 31282 | |
8aa540d2 | 31283 | 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org> |
97b8365c | 31284 | |
8aa540d2 MW |
31285 | * include/Makefile.am: |
31286 | Swapped Math.h for VMMath.h | |
31287 | * include/java_lang_Math.h: | |
31288 | Removed. | |
31289 | * include/java_lang_VMMath.h: | |
31290 | New autogenerated header for the new class. | |
31291 | * java/lang/Math.java: | |
31292 | (sin(double)): Changed to link to VMMath. | |
31293 | (cos(double)): Changed to link to VMMath. | |
31294 | (tan(double)): Changed to link to VMMath. | |
31295 | (asin(double)): Changed to link to VMMath. | |
31296 | (acos(double)): Changed to link to VMMath. | |
31297 | (atan(double)): Changed to link to VMMath. | |
31298 | (atan2(double)): Changed to link to VMMath. | |
31299 | (exp(double)): Changed to link to VMMath. | |
31300 | (log(double)): Changed to link to VMMath. | |
31301 | (sqrt(double)): Changed to link to VMMath. | |
31302 | (pow(double,double)): Changed to link to VMMath. | |
31303 | (IEEEremainder(double,double)): Changed to link to VMMath. | |
31304 | (ceil(double)): Changed to link to VMMath. | |
31305 | (floor(double)): Changed to link to VMMath. | |
31306 | (rint(double)): Changed to link to VMMath. | |
31307 | * native/jni/java-lang/Makefile.am: | |
31308 | Replaced java_lang_Math.c with java_lang_VMMath.c | |
31309 | * native/jni/java-lang/java_lang_Math.c: | |
31310 | Removed. | |
31311 | * native/jni/java-lang/java_lang_VMMath.c: | |
31312 | Renamed from java_lang_Math.c. | |
31313 | * vm/reference/java/lang/VMMath.java: | |
31314 | New class. | |
31315 | (sin(double)): New native method. | |
31316 | (cos(double)): New native method. | |
31317 | (tan(double)): New native method. | |
31318 | (asin(double)): New native method. | |
31319 | (acos(double)): New native method. | |
31320 | (atan(double)): New native method. | |
31321 | (atan2(double)): New native method. | |
31322 | (exp(double)): New native method. | |
31323 | (log(double)): New native method. | |
31324 | (sqrt(double)): New native method. | |
31325 | (pow(double,double)): New native method. | |
31326 | (IEEEremainder(double,double)): New native method. | |
31327 | (ceil(double)): New native method. | |
31328 | (floor(double)): New native method. | |
31329 | (rint(double)): New native method. | |
31330 | ||
31331 | 2006-02-13 Lillian Angel <langel@redhat.com> | |
97b8365c | 31332 | |
8aa540d2 MW |
31333 | * java/awt/Component.java |
31334 | (repaint): No need to call isShowing, it is done in the other repaint call. | |
31335 | (repaint): Likewise. | |
31336 | (repaint): Likewise. | |
97b8365c | 31337 | |
8aa540d2 | 31338 | 2006-02-13 Lillian Angel <langel@redhat.com> |
97b8365c | 31339 | |
8aa540d2 MW |
31340 | * java/awt/Component.java |
31341 | (repaint): Reverted last change. | |
31342 | (repaint): Likewise. | |
31343 | (repaint): Likewise. | |
31344 | ||
31345 | 2006-02-13 Lillian Angel <langel@redhat.com> | |
31346 | ||
31347 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java | |
31348 | (handleEvent): Made more efficent by handling paint event and | |
31349 | setting the clip for the graphics. | |
31350 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
31351 | (handleEvent): Likewise. | |
31352 | * java/awt/Component.java | |
31353 | (repaint): No need to call isShowing, it is done in the other repaint call. | |
31354 | (repaint): Likewise. | |
31355 | (repaint): Likewise. | |
97b8365c | 31356 | |
8aa540d2 | 31357 | 2006-02-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 31358 | |
8aa540d2 MW |
31359 | * javax/swing/text/AbstractDocument.java |
31360 | (setParent): Added API docs. Call setParent(null) on children before | |
31361 | disconnecting this view from the View hierarchy. | |
97b8365c | 31362 | |
8aa540d2 | 31363 | 2006-02-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 31364 | |
8aa540d2 MW |
31365 | * javax/swing/text/AbstractDocument.java |
31366 | (readUnlock): Don't attempt to unlock when the current threads also | |
31367 | holds a write lock. | |
97b8365c | 31368 | |
8aa540d2 | 31369 | 2006-02-13 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 31370 | |
8aa540d2 MW |
31371 | * javax/swing/plaf/metal/MetalBorders.java |
31372 | (ButtonBorder.getBorderInsets(Component)): Return insets directly, | |
31373 | (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null | |
31374 | insets argument, | |
31375 | (Flush3DBorder.borderInsets): New field, | |
31376 | (Flush3DBorder.getBorderInsets(Component)): Return insets directly, | |
31377 | (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for | |
31378 | null insets argument, and populate result from borderInsets, | |
31379 | (PaletteBorder.borderInsets): New field, | |
31380 | (PaletteBorder.getBorderInsets(Component)): Return insets directly, | |
31381 | (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for | |
31382 | null insets argument, and populate result from borderInsets, | |
31383 | (InternalFrameBorder.borderInsets): New field, | |
31384 | (InternalFrameBorder.getBorderInsets(Component)): Return insets | |
31385 | directly, | |
31386 | (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check | |
31387 | for null insets argument, and populate result from borderInsets, | |
31388 | (MenuItemBorder.borderInsets): Initialise to correct value. | |
31389 | ||
31390 | 2006-02-13 Roman Kennke <kennke@aicas.com> | |
31391 | ||
31392 | * javax/swing/text/AsyncBoxView.java: New file. | |
31393 | ||
31394 | 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
31395 | ||
31396 | Fixes bug #26166 | |
31397 | * gnu/regexp/RE.java(initialize): Parsing of character class expression | |
31398 | was moved to a new method parseCharClass. | |
31399 | (parseCharClass): New method originally in initialize. Added parsing | |
31400 | of nested character classes. | |
31401 | (ParseCharClassResult): New inner class used as a return value of | |
31402 | parseCharClass. | |
31403 | (getCharExpression),(getNamedProperty): Made static. | |
31404 | * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag. | |
31405 | * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing | |
31406 | nested character classes. | |
31407 | (RETokenOneOf): New constructor accepting the Vector addition. | |
31408 | (getMinimumLength), (getMaximumLength): Returns 1 if the token | |
31409 | stands for only one character. | |
31410 | (match): Added the processing of the Vector addition. | |
31411 | (matchN), (matchP): Do not check next token if addition is used. | |
97b8365c | 31412 | |
8aa540d2 | 31413 | 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com> |
97b8365c | 31414 | |
8aa540d2 | 31415 | * AUTHORS: add self. |
97b8365c | 31416 | |
8aa540d2 | 31417 | 2006-02-12 Tom Tromey <tromey@redhat.com> |
97b8365c | 31418 | |
8aa540d2 MW |
31419 | * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix. |
31420 | * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix. | |
31421 | (securityContext): Likewise. | |
31422 | (log): Likewise. | |
97b8365c | 31423 | |
8aa540d2 | 31424 | 2006-02-12 Dalibor Topic <robilad@kaffe.org> |
97b8365c | 31425 | |
8aa540d2 | 31426 | Fixes PR 26218. |
97b8365c | 31427 | |
8aa540d2 MW |
31428 | * gnu/java/net/protocol/file/Connection.java (unquote): |
31429 | Convert Unicode characters outside basic plane to UTF-8, | |
31430 | rather than throwing an exception. | |
97b8365c | 31431 | |
8aa540d2 | 31432 | 2006-02-12 Tom Tromey <tromey@redhat.com> |
97b8365c | 31433 | |
8aa540d2 MW |
31434 | * javax/sound/sampled/LineEvent.java (readObject): New method. |
31435 | (writeObject): Likewise. | |
31436 | (serialVersionUID): New field. | |
97b8365c | 31437 | |
8aa540d2 | 31438 | 2006-02-12 Mark Wielaard <mark@klomp.org> |
97b8365c | 31439 | |
8aa540d2 MW |
31440 | * java/beans/PropertyChangeSupport.java (addPropertyChangeListener): |
31441 | Silently ignores null listener. | |
31442 | (addPropertyChangeListener(String, PropertyChangeListener): Likewise. | |
31443 | (getPropertyChangeListeners): Returns empty PropertyChangeListener | |
31444 | array for null propertyName. | |
31445 | ||
31446 | 2006-02-12 Wolfgang Baer <WBaer@gmx.de> | |
31447 | ||
31448 | * java/rmi/MarshalledObject.java: Added api docs to the class. | |
31449 | * java/rmi/Remote.java: Added interface api docs. | |
31450 | * java/rmi/package.html: Added package description. | |
31451 | * java/rmi/AccessException.java: Minor api doc fixes. | |
31452 | * java/rmi/NoSuchObjectException.java: Likewise. | |
31453 | * java/rmi/AlreadyBoundException.java: Likewise. | |
31454 | * java/rmi/RemoteException.java: Likewise. | |
31455 | * java/rmi/NotBoundException.java: Likewise. | |
31456 | * java/rmi/RMISecurityException.java: Likewise. | |
31457 | * java/rmi/StubNotFoundException.java: Likewise. | |
31458 | ||
31459 | 2006-02-12 Mark Wielaard <mark@klomp.org> | |
31460 | ||
31461 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call | |
31462 | q() to get EventQueue. | |
31463 | * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field. | |
31464 | (enableQueue): Remove static method. | |
31465 | * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl): | |
31466 | Don't call GtkGenericPeer.enableQueue(). | |
31467 | ||
31468 | 2006-02-12 Wolfgang Baer <WBaer@gmx.de> | |
31469 | ||
31470 | * java/rmi/MarshalledObject.java: Reformatted. | |
31471 | * java/rmi/Naming.java: Likewise. | |
31472 | ||
31473 | 2006-02-12 Jeroen Frijters <jeroen@frijters.net> | |
31474 | ||
31475 | * java/io/InputStream.java | |
31476 | (read(byte[],int,int)): Changed argument validation to prevent | |
31477 | integer overflow. Remove redundant check. | |
97b8365c | 31478 | |
8aa540d2 | 31479 | 2006-02-12 Jeroen Frijters <jeroen@frijters.net> |
97b8365c | 31480 | |
8aa540d2 MW |
31481 | Fixes PR 26220 |
31482 | * java/io/InputStreamReader.java | |
31483 | (InputStreamReader(InputStream)): Use SystemProperties. | |
31484 | (InputStreamReader(InputStream,Charset)): Corrected @since tag. | |
31485 | Throw NullPointerException if in is null. | |
31486 | Added maxBytesPerChar initialisation. | |
31487 | (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag. | |
31488 | Throw NullPointerException if in is null. | |
31489 | ||
31490 | 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au> | |
31491 | ||
31492 | * gnu/javax/crypto/key/dh/GnuDHPublicKey.java | |
31493 | (GnuDHPublicKey(4)): Call constructor with 5 arguments. | |
31494 | (GnuDHPublicKey): New constructor. | |
31495 | (getEncoded): Removed. | |
31496 | (valueOf): Added support for ASN.1 encoding. | |
31497 | (getEncoded(int)): Likewise. | |
31498 | (equals): New method. | |
31499 | * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java | |
31500 | (GnuDHPrivateKey(4)): Call constructor with 5 arguments. | |
31501 | (GnuDHPrivateKey(5)): New constructor. | |
31502 | (getEncoded): Removed. | |
31503 | (valueOf): Added support for ASN.1 encoding. | |
31504 | (getEncoded(int)): Likewise. | |
31505 | (equals): New method. | |
31506 | * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java | |
31507 | (PREFERRED_ENCODING_FORMAT): New constant. | |
31508 | (DEFAULT_ENCODING_FORMAT): Likewise. | |
31509 | (preferredFormat): New field. | |
31510 | (setup): Handle preferred encoding format identifier. | |
31511 | (generate): Call constructors with format identifier. | |
31512 | * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field. | |
31513 | (GnuDHKey): Added an int argument. | |
31514 | (getEncoded): New method. | |
31515 | (getFormat): New implementation. | |
31516 | (getEncoded(int)): New abstract method. | |
31517 | * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file. | |
31518 | * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise. | |
31519 | * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH | |
31520 | key-pair generator and key-factory. | |
31521 | * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file. | |
31522 | * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise. | |
31523 | * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public. | |
31524 | * gnu/java/security/jce/sig/EncodedKeyFactory.java | |
31525 | (invokeConstructor): New method. | |
31526 | (getConcreteClass): Likewise. | |
31527 | (getConcreteCtor): Likewise. | |
31528 | (invokeValueOf): Likewise. | |
31529 | (getValueOfMethod): Likewise. | |
31530 | (engineGeneratePublic): Add support for DH keys. | |
31531 | (engineGeneratePrivate): Likewise. | |
31532 | (decodeDHPublicKey(DHPublicKeySpec)): New method. | |
31533 | (decodeDHPublicKey(byte[])): Likewise. | |
31534 | (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise. | |
31535 | (decodeDHPrivateKey(byte[])): Likewise. | |
31536 | ||
31537 | 2006-02-11 Mark Wielaard <mark@klomp.org> | |
31538 | ||
31539 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer): | |
31540 | Removed field. | |
31541 | (repaint): Immediately post to queue when tm <= 0, otherwise call | |
31542 | RepaintTimerTask.schedule(). | |
31543 | (RepaintTimerTask): Make static. | |
31544 | (RepaintTimerTask.repaintTimer): New static final field. | |
31545 | (RepaintTimerTask.awtComponent): New field. | |
31546 | (schedule): New static method. | |
31547 | ||
31548 | 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
31549 | ||
31550 | * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java | |
31551 | * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java | |
31552 | * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav, | |
31553 | tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav, | |
31554 | tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: | |
31555 | Rewritten. | |
31556 | * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file. | |
97b8365c | 31557 | |
8aa540d2 | 31558 | 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au> |
97b8365c | 31559 | |
8aa540d2 MW |
31560 | * gnu/java/security/jce/sig/EncodedKeyFactory.java |
31561 | (engineGeneratePublic): Added support for raw key-specifications. | |
31562 | (engineGeneratePrivate): Likewise. | |
31563 | (decodeDSSPublicKey): New method. | |
31564 | (decodeRSAPublicKey): Likewise. | |
31565 | (decodeDSSPrivateKey): Likewise. | |
31566 | (decodeRSAPrivateKey): Likewise. | |
31567 | * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java | |
31568 | (encodePrivateKey): Throw InvalidParameterException. | |
31569 | (decodePublicKey): Likewise. | |
31570 | (decodePrivateKey): Likewise. | |
31571 | * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java | |
31572 | (encodePublicKey): Likewise. | |
31573 | (encodePrivateKey): Likewise. | |
31574 | (decodePublicKey): Likewise. | |
31575 | * gnu/java/security/key/dss/DSSKeyPairX509Codec.java | |
31576 | (encodePrivateKey): Likewise. | |
31577 | (decodePublicKey): Likewise. | |
31578 | (decodePrivateKey): Likewise. | |
31579 | * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java | |
31580 | (encodePublicKey): Likewise. | |
31581 | (encodePrivateKey): Likewise. | |
31582 | (decodePublicKey): Likewise. | |
97b8365c | 31583 | |
8aa540d2 | 31584 | 2006-02-10 Roman Kennke <kennke@aicas.com> |
97b8365c | 31585 | |
8aa540d2 MW |
31586 | * javax/swing/text/StyleContext.java |
31587 | (registerStaticAttributeKey): New static method. | |
97b8365c | 31588 | |
8aa540d2 | 31589 | 2006-02-10 Roman Kennke <kennke@aicas.com> |
97b8365c | 31590 | |
8aa540d2 MW |
31591 | * javax/swing/text/DefaultStyledDocument.java |
31592 | (ElementBuffer.clone): New method. | |
97b8365c | 31593 | |
8aa540d2 | 31594 | 2006-02-10 Roman Kennke <kennke@aicas.com> |
97b8365c | 31595 | |
8aa540d2 MW |
31596 | * javax/swing/text/ParagraphView.java |
31597 | (findOffsetToCharactersInString): New method. | |
31598 | (getClosestPositionTo): New method. | |
31599 | (getPartialSize): New method. | |
31600 | (getTabBase): New method. | |
31601 | (adjustRow): New method. | |
31602 | (breakView): New method. | |
31603 | (getBreakWeight): New method. | |
97b8365c | 31604 | |
8aa540d2 | 31605 | 2006-02-10 Roman Kennke <kennke@aicas.com> |
97b8365c | 31606 | |
8aa540d2 MW |
31607 | * javax/swing/text/GapContent.java |
31608 | (updateUndoPositions): New method. | |
31609 | * javax/swing/text/StringContent.java | |
31610 | (updateUndoPositions): New method. | |
97b8365c | 31611 | |
8aa540d2 | 31612 | 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au> |
97b8365c | 31613 | |
8aa540d2 MW |
31614 | * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)): |
31615 | Made it public. | |
31616 | * gnu/java/security/jce/sig/RSAKeyFactory.java: New file. | |
31617 | * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic): | |
31618 | Added support for encoded key specifications. | |
31619 | (engineGeneratePrivate): Likewise. | |
31620 | (engineGetKeySpec): Likewise. | |
31621 | (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args. | |
97b8365c | 31622 | |
8aa540d2 | 31623 | 2006-02-10 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 31624 | |
8aa540d2 MW |
31625 | * javax/swing/text/Utilities.java: |
31626 | (getTabbedTextOffset): Fixed usage of variable p0. | |
31627 | (getPositionAbove): Rewritten. | |
31628 | (getPositionBelow): Rewritten. | |
97b8365c | 31629 | |
8aa540d2 | 31630 | 2006-02-09 Roman Kennke <kennke@aicas.com> |
97b8365c | 31631 | |
8aa540d2 MW |
31632 | * javax/swing/text/BoxView.java |
31633 | (getAxis): Added @since tag. | |
31634 | (setAxis): Added @since tag. | |
31635 | (layoutChanged): Added @since tag. | |
31636 | (isLayoutValid): Added @since tag. | |
31637 | (paint): Don't call setSize here. This is done in RootView already. | |
31638 | (getMaximumSpan): Reimplemented to return the requirements' | |
31639 | maximum size. Added API docs. | |
31640 | (getMinimumSpan): New method. | |
31641 | (layout): Fixed layout order. | |
31642 | (modelToView): Call layout instead of setSize here. | |
31643 | (getResizeWeight): New method. | |
31644 | (getChildAllocation): New method. | |
31645 | (forwardUpdate): New method. | |
31646 | (viewToModel): New method. | |
31647 | (flipEastEndWestEnds): New method. | |
31648 | * javax/swing/text/CompositeView.java | |
31649 | (modelToView): Made this method more robust by returning a default | |
31650 | location if it's not possible to calculate one via the children. | |
31651 | This default location returns the left or right edge of this | |
31652 | view. | |
31653 | (createDefaultLocation): New helper method. | |
31654 | * javax/swing/text/IconView.java | |
31655 | (modelToView): Don't throw BadLocationException. This should | |
31656 | really only be thrown if the position is outside the document | |
31657 | model, not if it's outside the view's boundary. | |
97b8365c | 31658 | |
8aa540d2 | 31659 | 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 31660 | |
8aa540d2 | 31661 | * tools/Makefile.am: Handle rmi and giop folders separately. |
97b8365c | 31662 | |
8aa540d2 | 31663 | 2006-02-09 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 31664 | |
8aa540d2 MW |
31665 | * javax/swing/SpinnerDateModel.java: Updated API docs all over, |
31666 | * javax/swing/SpinnerNumberModel.java: Likewise. | |
97b8365c | 31667 | |
8aa540d2 | 31668 | 2006-02-09 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 31669 | |
8aa540d2 MW |
31670 | * javax/swing/SpinnerDateModel.java: Removed tabs, |
31671 | * javax/swing/SpinnerNumberModel.java: Likewise. | |
97b8365c | 31672 | |
8aa540d2 | 31673 | 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com> |
97b8365c | 31674 | |
8aa540d2 MW |
31675 | * doc/unicode/SpecialCasing-4.0.0.txt: New file. |
31676 | * doc/unicode/UnicodeData-4.0.0.txt: New file. | |
97b8365c | 31677 | |
8aa540d2 | 31678 | 2006-02-09 Wolfgang Baer <WBaer@gmx.de> |
97b8365c | 31679 | |
8aa540d2 MW |
31680 | Fixes bug #26081 |
31681 | * gnu/java/net/protocol/http/HTTPURLConnection.java: | |
31682 | (isRedirect): Removed, moved to Response.java. | |
31683 | (connect): If error condition redirect responseSink to errorSink. | |
31684 | (getInputStream): If error condition throw IOException, for the error | |
31685 | codes 404 and 410 throw a FileNotFoundException. | |
31686 | * gnu/java/net/protocol/http/Response.java (isError): New method. | |
31687 | (isRedirect): New method, moved from HTTPURLConnection.java. | |
97b8365c | 31688 | |
8aa540d2 | 31689 | 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 31690 | |
8aa540d2 MW |
31691 | * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder. |
31692 | * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC. | |
31693 | * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): | |
31694 | Better diagnostic. | |
31695 | * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java: | |
31696 | Rewritten. | |
31697 | * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement | |
31698 | AbstractMethodGenerator. | |
31699 | * tools/gnu/classpath/tools/AbstractMethodGenerator.java, | |
31700 | tools/gnu/classpath/tools/rmi/RMIC.java, | |
31701 | tools/gnu/classpath/tools/rmi/RMIC.txt, | |
31702 | tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java, | |
31703 | tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java, | |
31704 | tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java, | |
31705 | tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav, | |
31706 | tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav, | |
31707 | tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: | |
31708 | New files. | |
31709 | * NEWS: Corrected entry about the tools. | |
97b8365c | 31710 | |
8aa540d2 | 31711 | 2006-02-09 Lillian Angel <langel@redhat.com> |
97b8365c | 31712 | |
8aa540d2 MW |
31713 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java |
31714 | (handleEvent): Added more to check to prevent assertion errors. | |
31715 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java | |
31716 | (handleEvent): Likewise. | |
31717 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
31718 | (handleEvent): Likewise. | |
97b8365c | 31719 | |
8aa540d2 | 31720 | 2006-02-09 Mark Wielaard <mark@klomp.org> |
97b8365c | 31721 | |
8aa540d2 MW |
31722 | * javax/swing/JTable.java (tableChanged): Interpret null event as |
31723 | "everything changed". | |
97b8365c | 31724 | |
8aa540d2 | 31725 | 2006-02-09 Roman Kennke <kennke@aicas.com> |
97b8365c | 31726 | |
8aa540d2 MW |
31727 | * javax/swing/text/DefaultCaret.java |
31728 | (DocumentHandler.removeUpdate): When update policy is | |
31729 | 'on eventqueue', and the update doesn't come from the | |
31730 | event queue, check if the current dot location is still | |
31731 | valid. | |
31732 | (moveDot): Make sure the new dot location is valid. | |
31733 | (setDot): Set the mark the same as the dot. | |
97b8365c | 31734 | |
8aa540d2 | 31735 | 2006-02-09 Roman Kennke <kennke@aicas.com> |
97b8365c | 31736 | |
8aa540d2 MW |
31737 | * javax/swing/text/AbstractDocument.java |
31738 | (remove): Perform all operations within a write lock and in the | |
31739 | correct order. | |
97b8365c | 31740 | |
8aa540d2 | 31741 | 2006-02-09 Mark Wielaard <mark@klomp.org> |
97b8365c | 31742 | |
8aa540d2 MW |
31743 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c |
31744 | (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is | |
31745 | creater than min, adjusting page_size if necessary. | |
31746 | (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise. | |
97b8365c | 31747 | |
8aa540d2 | 31748 | 2006-02-09 Lillian Angel <langel@redhat.com> |
97b8365c | 31749 | |
8aa540d2 MW |
31750 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java |
31751 | (handleEvent): Added code to handle PaintEvent.UPDATE. | |
31752 | Sun does not call update(Graphics g) on Panels. | |
31753 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
31754 | (handleEvent): New method. Added code to handle PaintEvent.UPDATE. | |
31755 | Sun does not call update(Graphics g) on Panels. | |
97b8365c | 31756 | |
8aa540d2 | 31757 | 2006-02-09 Roman Kennke <kennke@aicas.com> |
97b8365c | 31758 | |
8aa540d2 MW |
31759 | * javax/swing/text/BoxView.java |
31760 | (myAxis): Made field private. | |
31761 | (xLayoutValid): Replaced by layoutValid array. | |
31762 | (yLayoutValid): Replaced by layoutValid array. | |
31763 | (layoutValid): New field. | |
31764 | (spansX): Replaced by spans array. | |
31765 | (spansY): Replaced by spans array. | |
31766 | (spans): New field. | |
31767 | (offsetsX): Replaced by offsets array. | |
31768 | (offsetsY): Replaced by offsets array. | |
31769 | (offsets): New field. | |
31770 | (requirements): New field. | |
31771 | (BoxView): Initialize new fields. | |
31772 | (layoutChanged): Rewritten to use the layoutValid array. | |
31773 | (isLayoutValid): Rewritten to use the layoutValid array. | |
31774 | (replace): Use the new arrays. | |
31775 | (getPreferredSpan): Rewritten to call calculateXXXRequirements | |
31776 | instead of baselineRequirements. | |
31777 | (baselineRequirements): Rewritten to calculate baseline requirements. | |
31778 | (baselineLayout): Rewritten to calculate baseline layout. | |
31779 | (childAllocation): Use new arrays. | |
31780 | (layout): Rewritten. Only update the layout if necessary. | |
31781 | (layoutMajorAxis): Directly set layoutValid. | |
31782 | (layoutMinorAxis): Directly set layoutValid. Use cached size | |
31783 | requirements. | |
31784 | (getWidth): Use new span array. | |
31785 | (getHeight): Likewise. | |
31786 | (setSize): Rewritten to simply call layout(). | |
31787 | (validateLayout): Removed unneeded method. | |
31788 | (getSpan): Use new arrays. | |
31789 | (getOffset): Use new arrays. | |
31790 | (getAlignment): Use cached requirements if possible. | |
31791 | (preferenceChanged): Use new arrays. | |
31792 | * javax/swing/text/FlowView.java | |
31793 | (FlowStrategy.insertUpdate): Do nothing here. | |
31794 | (FlowStrategy.removeUpdate): Do nothing here. | |
31795 | (FlowStrategy.changedUpdate): Do nothing here. | |
31796 | (FlowStrategy.layoutRow): Rewritten. | |
31797 | (FlowStrategy.createView): Rewritten. | |
31798 | (FlowStrategy.adjustRow): New method. | |
31799 | (LogicalView.getViewIndex): Fixed condition for finding child | |
31800 | view. | |
31801 | (layoutDirty): New field indicating the state of the layout. | |
31802 | (FlowView): Initialize new field. | |
31803 | (loadChildren): Set parent on logical view so that preferenceChanges | |
31804 | get propagated upwards. | |
31805 | (layout): Rewritten to match the specs. | |
31806 | (insertUpdate): Set layout to dirty. | |
31807 | (removeUpdate): Set layout to dirty. | |
31808 | (changedUpdate): Set layout to dirty. | |
31809 | * javax/swing/text/GlyphView.java | |
31810 | (getBreakWeight): Rewritten to use the Utilities class. Commented | |
31811 | out though because that is broken. | |
31812 | (insertUpdate): Call preferenceChanged on this object instead of | |
31813 | parent. | |
31814 | * javax/swing/text/ParagraphView.java | |
31815 | (Row.loadChildren): Overridden to be a noop to prevent initial | |
31816 | creation of child views. This is carried out by the flow layout. | |
31817 | * javax/swing/text/View.java | |
31818 | (getPreferredSpan): Added API docs. | |
31819 | (getResizeWeight): Added API docs. | |
31820 | (getMaximumSpan): Added API docs. Rewritten to only have one exit | |
31821 | point. | |
31822 | (getMinimumSpan): Added API docs. Rewritten to return 0 when | |
31823 | resizable instead of Integer.MAX_VALUE. | |
31824 | (getAlignment): Added API docs. | |
31825 | (replace): Added API docs. | |
31826 | (forwardUpdate): Rewritten to only notify child views that need to | |
31827 | be notified. | |
97b8365c | 31828 | |
8aa540d2 | 31829 | 2006-02-09 Roman Kennke <kennke@aicas.com> |
97b8365c | 31830 | |
8aa540d2 MW |
31831 | * javax/swing/plaf/basic/BasicTextUI.java |
31832 | (RootView.paint): Call setSize() before painting the view. | |
97b8365c | 31833 | |
8aa540d2 | 31834 | 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org> |
97b8365c | 31835 | |
8aa540d2 MW |
31836 | Fixes bug #26112 |
31837 | * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution | |
31838 | flag which enables backslash escape in a replacement. | |
31839 | (getReplacement): New public static method. | |
31840 | (substituteImpl),(substituteAllImpl): Use getReplacement. | |
31841 | * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10. | |
31842 | * java/util/regex/Matcher.java(appendReplacement) | |
31843 | Use RE#getReplacement. | |
31844 | (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE. | |
31845 | ||
31846 | 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au> | |
31847 | ||
31848 | * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file. | |
31849 | * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise. | |
31850 | * gnu/java/security/key/rsa/RSAKeyPairGenerator.java | |
31851 | (PREFERRED_ENCODING_FORMAT): New constant. | |
31852 | (DEFAULT_ENCODING_FORMAT): Likewise. | |
31853 | (preferredFormat): New field. | |
31854 | (setup): Add support for preferred encoding format. | |
31855 | (generate): Call key constructors with explicit format identifier. | |
31856 | * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): | |
31857 | Call constructor with 3 arguments.. | |
31858 | (GnuRSAPublicKey(3)): New constructor. | |
31859 | (valueOf): Added support for ASN.1 format. | |
31860 | (getEncoded): Likewise. | |
31861 | * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)): | |
31862 | Call constructor with 5 arguments. | |
31863 | (GnuRSAPrivateKey(5)): New constructor. | |
31864 | (GnuRSAPrivateKey(9)): New constructor. | |
31865 | (valueOf): Added support for ASN.1 format. | |
31866 | (getEncoded): Likewise. | |
31867 | * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field. | |
31868 | (GnuRSAKey): Modified constructor. | |
31869 | (getFormat): Return preferred format identifier. | |
31870 | * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java | |
31871 | (decodePrivateKey): Fixed documentation. | |
31872 | Check Version field. | |
31873 | * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java | |
31874 | (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding | |
31875 | format. | |
31876 | (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise. | |
31877 | * gnu/java/security/jce/sig/EncodedKeyFactory.java | |
31878 | (engineGeneratePublic): Added support for RSA. | |
31879 | (engineGeneratePrivate): Likewise. | |
31880 | ||
31881 | 2006-02-09 Wolfgang Baer <WBaer@gmx.de> | |
31882 | ||
31883 | * java/net/URLConnection.java: | |
31884 | (setAllowUserInteraction): Throw IllegalStateException if connected. | |
31885 | (getRequestProperty): Document return value if key is null. | |
31886 | * gnu/java/net/protocol/http/HTTPURLConnection.java: | |
31887 | (getRequestProperty): Return null if key is null. | |
31888 | (getRequestProperties): Throw IllegalStateException if connected. | |
31889 | (setRequestProperty): Call super method for exception tests. | |
31890 | (addRequestProperty): Likewise. | |
97b8365c | 31891 | |
8aa540d2 | 31892 | 2006-02-09 Wolfgang Baer <WBaer@gmx.de> |
97b8365c | 31893 | |
8aa540d2 MW |
31894 | * gnu/java/net/protocol/http/Request.java: |
31895 | (Request): Remove initialization of removed field. | |
31896 | (requestBodyNegotiationThreshold): Removed now unused field. | |
31897 | (setRequestBodyNegotiationThreshold): Remove now unused method. | |
31898 | (dispatch): Do not use 'Expect 100-continue' header if content-length | |
31899 | is over a treshold. If user specified 'Expect 100-continue' still | |
31900 | initialize the expectingContinue variable. | |
31901 | ||
31902 | 2006-02-08 David Gilbert <david.gilbert@object-refinery.com> | |
31903 | ||
31904 | * javax/swing/SpinnerNumberModel.java | |
31905 | (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow | |
31906 | maximum and minimum to take null values, | |
31907 | (setValue): Only fire ChangeEvent if new value is different to old | |
31908 | value, | |
31909 | (setMinimum): Fixed test for updating value, | |
31910 | (setMaximum): Likewise, | |
31911 | (setStepSize): Likewise. | |
97b8365c | 31912 | |
8aa540d2 | 31913 | 2006-02-08 Tom Tromey <tromey@redhat.com> |
97b8365c | 31914 | |
8aa540d2 | 31915 | * tools/.cvsignore: Added Makefile.in. |
97b8365c | 31916 | |
8aa540d2 | 31917 | 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 31918 | |
8aa540d2 MW |
31919 | * java/rmi/server/RemoteRef.java, |
31920 | java/rmi/server/RemoteStub.java: Commented. | |
97b8365c | 31921 | |
8aa540d2 | 31922 | 2006-02-08 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 31923 | |
8aa540d2 MW |
31924 | * javax/swing/SpinnerDateModel.java |
31925 | (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument | |
31926 | checks, | |
31927 | (getPreviousValue): Check result against start, not end, | |
31928 | (setValue): Check that value actually changes before firing | |
31929 | ChangeEvent. | |
31930 | ||
31931 | 2006-02-08 Lillian Angel <langel@redhat.com> | |
31932 | ||
31933 | * java/awt/Choice.java | |
31934 | (select): Fixed up code, added some checks to prevent errors. | |
31935 | (dispatchEventImpl): Removed. This function is not needed. It | |
31936 | causes several assertion errors. | |
97b8365c | 31937 | |
8aa540d2 | 31938 | 2006-02-08 Roman Kennke <kennke@aicas.com> |
97b8365c | 31939 | |
8aa540d2 MW |
31940 | * javax/swing/text/PlainView.java |
31941 | (drawLine): Call drawUnselectedText() with end offset - 1 to avoid | |
31942 | drawing unnecessary characters. | |
97b8365c | 31943 | |
8aa540d2 | 31944 | 2006-02-08 Lillian Angel <langel@redhat.com> |
97b8365c | 31945 | |
8aa540d2 MW |
31946 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java |
31947 | (handleEvent): Fixed check to determine if height or | |
31948 | width is less than 1. | |
97b8365c | 31949 | |
8aa540d2 | 31950 | 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 31951 | |
8aa540d2 | 31952 | *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS). |
97b8365c | 31953 | |
8aa540d2 | 31954 | 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 31955 | |
8aa540d2 MW |
31956 | * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java, |
31957 | examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java: | |
31958 | Documenting the code generator. | |
31959 | * gnu/CORBA/IOR.java (toStringFormatted, | |
31960 | CodeSet_component.toStringFormatted): New methods. | |
31961 | * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten. | |
31962 | * tools/gnu/classpath/tools/giop/README: Rewritten. | |
31963 | * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. | |
31964 | (printHelpAndExit): Removed. | |
31965 | *tools/gnu/classpath/tools/giop/IorParser.java, | |
31966 | tools/gnu/classpath/tools/giop/IorParser.txt, | |
31967 | tools/gnu/classpath/tools/giop/NameService.java, | |
31968 | tools/gnu/classpath/tools/giop/NamingService.txt, | |
31969 | tools/gnu/classpath/tools/HelpPrinter.java: New files. | |
31970 | NEWS: Added note about GIOP tools. | |
31971 | ||
31972 | 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
31973 | ||
31974 | * .classpath: New source patch (tools). | |
31975 | * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools". | |
31976 | * configure.ac (AC_CONFIG_FILES): added tools/Makefile | |
31977 | * tools/gnu/classpath/tools/Makefile.am, | |
31978 | tools/gnu/classpath/tools/giop/GRMIC.java | |
31979 | tools/gnu/classpath/tools/giop/GRMIC.txt, | |
31980 | tools/gnu/classpath/tools/giop/README, | |
31981 | tools/gnu/classpath/tools/giop/grmic/CompilationError.java, | |
31982 | tools/gnu/classpath/tools/giop/grmic/Generator.java, | |
31983 | tools/gnu/classpath/tools/giop/grmic/GiopIo.java, | |
31984 | tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java, | |
31985 | tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java, | |
31986 | tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav, | |
31987 | tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav, | |
31988 | tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav, | |
31989 | tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav, | |
31990 | tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav, | |
31991 | tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav, | |
31992 | tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files. | |
97b8365c | 31993 | |
8aa540d2 | 31994 | 2006-02-07 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 31995 | |
8aa540d2 MW |
31996 | * java/awt/BasicStroke.java: Updated API docs all over, |
31997 | * java/awt/doc-files/capjoin.png: New file. | |
97b8365c | 31998 | |
8aa540d2 | 31999 | 2006-02-07 Lillian Angel <langel@redhat.com> |
97b8365c | 32000 | |
8aa540d2 MW |
32001 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java |
32002 | (handleEvent): Added check. Should not paint or update the | |
32003 | component if it's width and height are both 0. | |
97b8365c | 32004 | |
8aa540d2 | 32005 | 2006-02-07 Roman Kennke <kennke@aicas.com> |
97b8365c | 32006 | |
8aa540d2 MW |
32007 | * javax/swing/text/AbstractDocument.java |
32008 | (insertString): Enclose locking/unlocking in try-finally block | |
32009 | and also keep locked while notifying the listeners. | |
97b8365c | 32010 | |
8aa540d2 | 32011 | 2006-02-07 Roman Kennke <kennke@aicas.com> |
97b8365c | 32012 | |
8aa540d2 MW |
32013 | * javax/swing/text/GlyphView.java |
32014 | (GlyphView): Initialize startOffset and endOffset with -1 (indicating | |
32015 | element boundary). | |
32016 | (getStartOffset): Return element boundary if startOffset < 0. | |
32017 | (getEndOffset): Return element boundary if endOffset < 0. | |
32018 | (createFragment): Set startOffset and endOffset fields of fragment | |
32019 | if one of p0 or p1 is not at the element boundary. | |
97b8365c | 32020 | |
8aa540d2 | 32021 | 2006-02-07 Roman Kennke <kennke@aicas.com> |
97b8365c | 32022 | |
8aa540d2 MW |
32023 | * javax/swing/CellRendererPane.java |
32024 | (paintComponent): Enclosed painting in try finally to properly | |
32025 | clean up even when throwing an exception. | |
97b8365c | 32026 | |
8aa540d2 | 32027 | 2006-02-07 Roman Kennke <kennke@aicas.com> |
97b8365c | 32028 | |
8aa540d2 MW |
32029 | * javax/swing/UIManager.java |
32030 | (listeners): Made this an instance of | |
32031 | java.beans.PropertyChangeSupport instead of the obsoleted | |
32032 | SwingPropertyChangeSupport. | |
32033 | ||
32034 | 2006-02-07 Robert Schuster <robertschuster@fsfe.org> | |
32035 | ||
32036 | * javax/swing/text/DefaultEditorToolkit.java: Changed behavior | |
32037 | of actions "delete-next" and "delete-previous", added new TextAction | |
32038 | implementations for "selection-begin", "selection-begin-line", | |
32039 | "selection-end" and "selection-end-line". | |
97b8365c | 32040 | |
8aa540d2 | 32041 | 2006-02-07 Roman Kennke <kennke@aicas.com> |
97b8365c | 32042 | |
8aa540d2 MW |
32043 | * javax/swing/plaf/basic/BasicTextUI.java |
32044 | (paint): Acquire read lock on the document before calling | |
32045 | paintSafely. | |
32046 | (paintSafely): Added comment about what this method does. | |
32047 | (paintBackground): Implemented to actually paint the background. | |
32048 | (update): Overridden to _not_ paint the background. This is done | |
32049 | in paintBackground in this UI. | |
97b8365c | 32050 | |
8aa540d2 | 32051 | 2006-02-07 Roman Kennke <kennke@aicas.com> |
97b8365c | 32052 | |
8aa540d2 MW |
32053 | * javax/swing/text/View.java |
32054 | (forwardUpdate): Don't notify newly added child views as specified. | |
97b8365c | 32055 | |
8aa540d2 | 32056 | 2006-02-07 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 32057 | |
8aa540d2 | 32058 | * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed. |
97b8365c | 32059 | |
8aa540d2 | 32060 | 2006-02-07 Roman Kennke <kennke@aicas.com> |
97b8365c | 32061 | |
8aa540d2 MW |
32062 | * javax/swing/text/DefaultStyledDocument.java |
32063 | (ElementBuffer.insert): Only register change when the element | |
32064 | actually changed. | |
97b8365c | 32065 | |
8aa540d2 | 32066 | 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au> |
97b8365c | 32067 | |
8aa540d2 MW |
32068 | * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New |
32069 | method. | |
32070 | (getEncodingShortName): Likewise. | |
32071 | * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant. | |
32072 | (PKCS8_FORMAT): Likewise. | |
32073 | (ASN1_FORMAT): Likewise. | |
32074 | * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call | |
32075 | constructor with 5 arguments. | |
32076 | (DSSPublicKey(5)): New constructor. | |
32077 | (valueOf): Handle ASN.1 encoding. | |
32078 | (getEncoded): Likewise. | |
32079 | * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call | |
32080 | constructor with 5 arguments. | |
32081 | (DSSPrivateKey(5)): New constructor. | |
32082 | (valueOf): Handle ASN.1 encoding. | |
32083 | (getEncoded): Likewise. | |
32084 | * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file. | |
32085 | * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise. | |
32086 | * gnu/java/security/key/dss/DSSKeyPairGenerator.java | |
32087 | (PREFERRED_ENCODING_FORMAT): New constant. | |
32088 | (DEFAULT_ENCODING_FORMAT): Likewise. | |
32089 | (preferredFormat): New field. | |
32090 | (setup): Handle preferred format ID. | |
32091 | (generate): Use new ctors with 5 arguments. | |
32092 | * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format | |
32093 | ID as an additional argument. | |
32094 | (defaultFormat): new field. | |
32095 | (getFormat): Returns the preferred format as a short string. | |
32096 | * gnu/java/security/jce/sig/DSSKeyFactory.java: New file. | |
32097 | * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec): | |
32098 | Likewise | |
32099 | * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java | |
32100 | (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred | |
32101 | encoding format. | |
32102 | (initialize(int,boolean,SecureRandom)): Likewise. | |
32103 | * gnu/java/security/der/DERWriter.java (writeBitString): Use | |
32104 | writeLength() instead of write(). | |
32105 | return buf.length + 1 instead of buf.length. | |
97b8365c | 32106 | |
8aa540d2 | 32107 | 2006-02-07 Roman Kennke <kennke@aicas.com> |
97b8365c | 32108 | |
8aa540d2 MW |
32109 | * javax/swing/plaf/basic/BasicTextUI.java |
32110 | (RootView.preferenceChange): Changed view parameter to view so | |
32111 | that it doesn't hide a field of that class. | |
32112 | (RootView.getViewCount): Rewritten to clean up ECJ warning. | |
32113 | (RootView.modelToView): Removed unnecessary cast from View to View. | |
32114 | (PropertyChangeHandler): Made inner class private. | |
32115 | (updateHandler): Made field private. | |
32116 | (getVisibleEditorRect): Removed unneeded local variable that | |
32117 | shadowed a field with the same name and purpose. | |
97b8365c | 32118 | |
8aa540d2 | 32119 | 2006-02-07 Robert Schuster <robertschuster@fsfe.org> |
97b8365c | 32120 | |
8aa540d2 MW |
32121 | * javax/swing/text/JTextComponent.java: |
32122 | (getSelectedText): Calculate offset and use that as | |
32123 | second argument. | |
97b8365c | 32124 | |
8aa540d2 | 32125 | 2006-02-07 Roman Kennke <kennke@aicas.com> |
97b8365c | 32126 | |
8aa540d2 MW |
32127 | * javax/swing/JTextPane.java |
32128 | (setCharacterAttributes): Replace input attributes when | |
32129 | replace==true. | |
97b8365c | 32130 | |
8aa540d2 | 32131 | 2006-02-07 Roman Kennke <kennke@aicas.com> |
97b8365c | 32132 | |
8aa540d2 MW |
32133 | * java/awt/Component.java |
32134 | (firePropertyChange(String,byte,byte)): Made method public. | |
32135 | (firePropertyChange(String,char,char)): Made method public. | |
32136 | (firePropertyChange(String,short,short)): Made method public. | |
32137 | (firePropertyChange(String,long,long)): Made method public. | |
32138 | (firePropertyChange(String,float,float)): Made method public. | |
32139 | (firePropertyChange(String,double,double)): Made method public. | |
97b8365c | 32140 | |
8aa540d2 | 32141 | 2006-02-06 Tom Tromey <tromey@redhat.com> |
97b8365c | 32142 | |
8aa540d2 MW |
32143 | * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use |
32144 | 2006. | |
32145 | * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006. | |
97b8365c | 32146 | |
8aa540d2 | 32147 | 2006-02-06 Anthony Green <green@redhat.com> |
97b8365c | 32148 | |
8aa540d2 | 32149 | * gnu/xml/aelfred2/XmlParser.java: Add missing break;. |
97b8365c | 32150 | |
8aa540d2 | 32151 | 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au> |
97b8365c | 32152 | |
8aa540d2 MW |
32153 | * .settings/org.eclipse.jdt.core.prefs: |
32154 | Force a line split on extends and implements. | |
32155 | Force a white-space after unary operators. | |
32156 | Don't force a new-line after @params. | |
32157 | Add new-line at end-of-file. | |
32158 | * scripts/eclipse-gnu.xml: Export version of the above named GNU. | |
97b8365c | 32159 | |
8aa540d2 | 32160 | 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au> |
97b8365c | 32161 | |
8aa540d2 MW |
32162 | * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use |
32163 | Registry constant. | |
32164 | * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded): | |
32165 | Likewise. | |
32166 | * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded): | |
32167 | Likewise. | |
32168 | * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded): | |
32169 | Likewise. | |
32170 | * gnu/java/security/provider/EncodedKeyFactory.java | |
32171 | (ID_DSA): Redefined in terms of Registry constant. | |
32172 | (ID_DSA): Redefined in terms of Registry constant. | |
32173 | (ID_DH): Redefined in terms of Registry constant. | |
32174 | * gnu/java/security/Registry.java (X509_ENCODING): New constant. | |
32175 | (PKCS8_ENCODING): Likewise. | |
32176 | (ASN1_ENCODING): Likewise. | |
32177 | (RAW_ENCODING_SHORT_NAME): Likewise. | |
32178 | (X509_ENCODING_SORT_NAME): Likewise. | |
32179 | (PKCS8_ENCODING_SHORT_NAME): Likewise. | |
32180 | (ASN1_ENCODING_SHORT_NAME): Likewise. | |
32181 | (X509_ENCODING_ID): Likewise. | |
32182 | (PKCS8_ENCODING_ID): Likewise. | |
32183 | (ASN1_ENCODING_ID): Likewise. | |
32184 | (DSA_OID_STRING): Likewise. | |
32185 | (RSA_OID_STRING): Likewise. | |
32186 | (DH_OID_STRING): Likewise. | |
32187 | ||
32188 | 2006-02-06 Roman Kennke <kennke@aicas.com> | |
32189 | ||
32190 | * javax/swing/text/GlyphView.java: | |
32191 | (DefaultGlyphPainter.paint): Store/restore Graphics color setting. | |
32192 | Only fill background if there is a background set on the view. | |
32193 | Call Utilities.drawTabbedText with the baseline height, rather than | |
32194 | the upper left corner of the view rectangle. | |
32195 | (getBackground): Return null if no background is set. | |
32196 | * javax/swing/text/GlyphView.java: | |
32197 | (setPropertiesFromAttributes): Use null for background when no | |
32198 | background is set. StyleConstants.getBackground() doesn't work | |
32199 | for this, because it returns Color.BLACK in that case. | |
97b8365c | 32200 | |
8aa540d2 | 32201 | 2006-02-06 Roman Kennke <kennke@aicas.com> |
97b8365c | 32202 | |
8aa540d2 MW |
32203 | * java/awt/Container.java |
32204 | (changeSupport): Removed duplicate (from Component) field. | |
32205 | (addPropertyChangeListener): Call super. | |
97b8365c | 32206 | |
8aa540d2 | 32207 | 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org> |
97b8365c | 32208 | |
8aa540d2 MW |
32209 | * java/util/regex/Matcher.java(matches): |
32210 | set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch. | |
97b8365c | 32211 | |
8aa540d2 MW |
32212 | 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org> |
32213 | ||
32214 | Fixes bug #25812 | |
32215 | * gnu/regexp/CharIndexed.java(lookBehind),(length): New method. | |
32216 | * gnu/regexp/CharIndexedCharArray.java | |
32217 | (lookBehind),(length): Implemented. | |
32218 | * gnu/regexp/CharIndexedInputStream.java: Likewise. | |
32219 | * gnu/regexp/CharIndexedString.java: Likewise. | |
32220 | * gnu/regexp/CharIndexedStringBuffer.java: Likewise. | |
32221 | * gnu/regexp/REToken.java(getMaximumLength): New method. | |
32222 | * gnu/regexp/RE.java(internal constructor RE): Added new argument | |
32223 | maxLength. | |
32224 | (initialize): Parse (?<=X), (?<!X), (?>X). | |
32225 | (getMaximumLength): Implemented. | |
32226 | * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented. | |
32227 | * gnu/regexp/RETokenChar.java: Likewise. | |
32228 | * gnu/regexp/RETokenEnd.java: Likewise. | |
32229 | * gnu/regexp/RETokenEndSub.java: Likewise. | |
32230 | * gnu/regexp/RETokenLookAhead.java: Likewise. | |
32231 | * gnu/regexp/RETokenNamedProperty.java: Likewise. | |
32232 | * gnu/regexp/RETokenOneOf.java: Likewise. | |
32233 | * gnu/regexp/RETokenPOSIX.java: Likewise. | |
32234 | * gnu/regexp/RETokenRange.java: Likewise. | |
32235 | * gnu/regexp/RETokenRepeated.java: Likewise. | |
32236 | * gnu/regexp/RETokenStart.java: Likewise. | |
32237 | * gnu/regexp/RETokenWordBoundary.java: Likewise. | |
32238 | * gnu/regexp/RETokenIndependent.java: New file. | |
32239 | * gnu/regexp/RETokenLookBehind.java: New file. | |
97b8365c | 32240 | |
8aa540d2 | 32241 | 2006-02-06 Roman Kennke <kennke@aicas.com> |
97b8365c | 32242 | |
8aa540d2 MW |
32243 | * java/awt/Component.java |
32244 | (firePropertyChange(String,byte,byte)): New method. | |
32245 | (firePropertyChange(String,char,char)): New method. | |
32246 | (firePropertyChange(String,short,short)): New method. | |
32247 | (firePropertyChange(String,long,long)): New method. | |
32248 | (firePropertyChange(String,float,float)): New method. | |
32249 | (firePropertyChange(String,double,double)): New method. | |
32250 | ||
32251 | 2006-02-06 Roman Kennke <kennke@aicas.com> | |
32252 | ||
32253 | * javax/swing/JComponent.java | |
32254 | (AccessibleJComponent.changeSupport): Changed to be a | |
32255 | java.beans.PropertyChangeSupport rather than | |
32256 | SwingPropertyChangeSupport. | |
ac1ed908 | 32257 | (AccessibleJComponent.AccessibleJComponent()): Change initialization |
8aa540d2 MW |
32258 | of above field. |
32259 | (changeSupport): Removed unneeded field. | |
32260 | (removePropertyChangeListener): Removed unneeded methods. | |
32261 | (addPropertyChangeListener): Removed unneeded methods. | |
32262 | (getPropertyChangeListeners): Removed unneeded methods. | |
32263 | (firePropertyChange(String,boolean,boolean)): Changed to simply | |
32264 | call super. Added specnote. | |
32265 | (firePropertyChange(String,char,char)): Changed to simply | |
32266 | call super. Added specnote. | |
32267 | (firePropertyChange(String,int,int)): Changed to simply | |
32268 | call super. Added specnote. | |
32269 | (firePropertyChange(String,byte,byte)): Removed. | |
32270 | (firePropertyChange(String,Object,Object)): Removed. | |
32271 | (firePropertyChange(String,double,double)): Removed. | |
32272 | (firePropertyChange(String,float,float)): Removed. | |
32273 | (firePropertyChange(String,long,long)): Removed. | |
32274 | (firePropertyChange(String,short,short)): Removed. | |
97b8365c | 32275 | |
8aa540d2 | 32276 | 2006-02-06 Roman Kennke <kennke@aicas.com> |
97b8365c | 32277 | |
8aa540d2 MW |
32278 | * javax/swing/event/SwingPropertyChangeSupport.java |
32279 | (listeners): Removed field. | |
32280 | (propertyListeners): Removed field. | |
32281 | (source): Removed field. | |
32282 | (SwingPropertyChangeSupport()): Removed initialization of removed | |
32283 | fields. | |
32284 | (addPropertyChangeListener): Removed methods. | |
32285 | (removePropertyChangeListener): Removed methods. | |
32286 | (getPropertyChangeListeners): Removed methods. | |
32287 | (firePropertyChange): Removed methods. | |
32288 | (hasListeners): Removed methods. | |
97b8365c | 32289 | |
8aa540d2 | 32290 | 2006-02-06 Jeroen Frijters <jeroen@frijters.net> |
97b8365c | 32291 | |
8aa540d2 MW |
32292 | Fixes PR 25313 |
32293 | * java/net/InetAddress.java | |
32294 | (readResolve): Implemented. | |
97b8365c | 32295 | |
8aa540d2 | 32296 | 2006-02-06 Jeroen Frijters <jeroen@frijters.net> |
97b8365c | 32297 | |
8aa540d2 MW |
32298 | Fixes PR 26121 |
32299 | * java/io/ObjectInputStream.java | |
32300 | (readNextBlock()): Handle TC_RESET. | |
97b8365c | 32301 | |
8aa540d2 MW |
32302 | 2006-02-06 Wolfgang Baer <WBaer@gmx.de> |
32303 | ||
32304 | * javax/print/attribute/standard/Compression.java, | |
32305 | * javax/print/attribute/standard/Finishings.java, | |
32306 | * javax/print/attribute/standard/JobMediaSheets.java, | |
32307 | * javax/print/attribute/standard/JobSheets.java, | |
32308 | * javax/print/attribute/standard/JobState.java, | |
32309 | * javax/print/attribute/standard/JobStateReason.java, | |
32310 | * javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
32311 | * javax/print/attribute/standard/PrintQuality.java, | |
32312 | * javax/print/attribute/standard/Media.java, | |
32313 | * javax/print/attribute/standard/MultipleDocumentHandling.java, | |
32314 | * javax/print/attribute/standard/PrinterStateReason.java, | |
32315 | * javax/print/attribute/standard/PDLOverrideSupported.java: | |
32316 | (getName): Make method final. | |
32317 | (getCategory): Likewise. | |
32318 | * javax/print/attribute/standard/MediaSize.java: | |
32319 | (getName): Make method final. | |
32320 | (getCategory): Likewise. | |
32321 | (ISO): Added private default constructor. | |
32322 | (NA): Likewise. | |
32323 | (JIS): Likewise. | |
32324 | (Other): Likewise. | |
32325 | (Engineering): Likewise. | |
32326 | ||
32327 | 2006-02-06 Wolfgang Baer <WBaer@gmx.de> | |
32328 | ||
32329 | * native/jni/java-net/javanet.c (_javanet_connect): | |
32330 | Throw ConnectException instead of IOException if connection failed. | |
32331 | * native/jni/java-net/javanet.h: | |
32332 | Add a define for java.net.ConnectException | |
97b8365c | 32333 | |
8aa540d2 | 32334 | 2006-02-05 Mark Wielaard <mark@klomp.org> |
97b8365c | 32335 | |
8aa540d2 MW |
32336 | Fixes bug #26101 |
32337 | reported by Egon Willighagen <egon.willighagen@gmail.com> | |
32338 | * javax/swing/DefaultListCellRenderer.java | |
32339 | (getListCellRendererComponent): Turn null value into empty string. | |
97b8365c | 32340 | |
8aa540d2 | 32341 | 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org> |
97b8365c | 32342 | |
8aa540d2 MW |
32343 | * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for |
32344 | a Unicode block if the name starts with "In". | |
32345 | (UnicodeBlockHandler): New inner class. | |
97b8365c | 32346 | |
8aa540d2 | 32347 | 2006-02-04 Roman Kennke <kennke@aicas.com> |
97b8365c | 32348 | |
8aa540d2 MW |
32349 | * java/awt/Container.java |
32350 | (getComponentZOrder): New method. | |
32351 | (setComponentZOrder): New method. | |
32352 | * javax/swing/JLayeredPane.java | |
32353 | (setPosition): Reimplemented to use setComponentZOrder(). | |
32354 | (getIndexOf): Reimplemented to use getComponentZOrder(). | |
32355 | (addImpl): Pass layerContraint to super call. Important for possibly | |
32356 | installed layout managers. | |
32357 | (swapComponents): Remove unneeded method. | |
32358 | ||
32359 | 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au> | |
32360 | ||
32361 | * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement | |
32362 | DSAKeyPairGenerator. | |
32363 | (initialize(int,SecureRandom)): Call initialize(keysize, false, random). | |
32364 | (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error | |
32365 | message. | |
32366 | Surround call to adaptee in a try/catch. | |
32367 | (initialize((DSAParams,SecureRandom)): New method. | |
32368 | (initialize(int,boolean,SecureRandom)): New method. | |
32369 | * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends | |
32370 | KeyPairGenerator rather than KeyPairGeneratorSpi. | |
32371 | (KeyPairGeneratorAdapter): Call super with algorithm name. | |
32372 | ||
32373 | 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au> | |
32374 | ||
32375 | * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field. | |
32376 | (getDefaultPRNG): New method. | |
32377 | (parseO): Use method above. | |
32378 | * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field. | |
32379 | (getDefaultPRNG): New method. | |
32380 | (createO): Use method above. | |
32381 | * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field. | |
32382 | (nextByte): Use above field. | |
32383 | * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance. | |
32384 | * gnu/java/security/sig/rsa/RSA.java: New class field. | |
32385 | (newR): Use above field | |
32386 | * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field. | |
32387 | (encode): Use field.above. | |
32388 | * gnu/java/security/key/dss/FIPS186.java (prng): New field. | |
32389 | (getDefaultPRNG): new method. | |
32390 | (nextRandomBytes): Use above method. | |
32391 | * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise. | |
32392 | * gnu/java/security/sig/BaseSignature.java: Likewise. | |
32393 | * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise. | |
32394 | * gnu/javax/crypto/key/dh/RFC2631.java: Likewise. | |
32395 | * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise. | |
32396 | * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise. | |
32397 | * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field. | |
32398 | (getDefaultPRNG): new method. | |
32399 | (nextRandomBytes): Use above method. | |
32400 | (STRICT_DEFAULTS): new class field. | |
32401 | (USE_DEFAULTS): more documentation to clarify behavior. | |
32402 | (setup): amended to handle new attribute. | |
32403 | * gnu/java/security/util/PRNG.java: New file. | |
97b8365c | 32404 | |
8aa540d2 | 32405 | 2006-02-03 Lillian Angel <langel@redhat.com> |
97b8365c | 32406 | |
8aa540d2 MW |
32407 | * javax/swing/plaf/basic/BasicColorChooserUI.java: |
32408 | chooser field should be protected, not package-private. | |
97b8365c | 32409 | |
8aa540d2 MW |
32410 | 2006-02-03 Lillian Angel <langel@redhat.com> |
32411 | ||
32412 | * javax/swing/text/DefaultStyledDocument.java | |
32413 | (changeUpdate): Cleaned up code. | |
32414 | (split): Likewise. | |
32415 | (insertUpdate): Set offset to be equal to pos after | |
32416 | insertContentTag call. | |
32417 | (insertContentTag): If paragraph has no children, should use | |
32418 | replace instead of Edit. | |
32419 | (insertFracture): Moved around code to prevent any exception. Also, | |
32420 | left side of tree should not be recreated if it has already been | |
32421 | edited. In that case, we should only be creating a new right branch | |
32422 | when fracturing. | |
32423 | (getEditForParagraphAndIndex): No need to check index. We should | |
32424 | use the same edit for each paragraph. | |
97b8365c | 32425 | |
8aa540d2 | 32426 | 2006-02-03 Mark Wielaard <mark@klomp.org> |
97b8365c | 32427 | |
8aa540d2 MW |
32428 | * javax/swing/event/SwingPropertyChangeSupport.java |
32429 | (propertyListeners): Change type to HashMap. | |
32430 | (SwingPropertyChangeSupport): Allocate HashMap. | |
97b8365c | 32431 | |
8aa540d2 | 32432 | 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au> |
97b8365c | 32433 | |
8aa540d2 MW |
32434 | * java/security/KeyPairGenerator.java (getInstance): Test for |
32435 | instanceof KeyPairGenerator before KeyPairGeneratorSpi. | |
97b8365c | 32436 | |
8aa540d2 | 32437 | 2006-02-02 Roman Kennke <kennke@aicas.com> |
97b8365c | 32438 | |
8aa540d2 MW |
32439 | * javax/swing/RepaintManager.java |
32440 | Made fields private. | |
32441 | (RepaintWorker.run): Enclosed work stuff in try finally block in | |
32442 | order to clean up correctly if invalidation or painting fails, | |
32443 | otherwise we would get no more RepaintWorkers onto the EventQueue. | |
32444 | Also, now the RepaintWorker is marked 'dead' only after it has | |
32445 | finished its work, avoid more than one RepaintWorker on the queue. | |
32446 | (ComponentComparator.compareTo): Compare dirty rectangle sizes | |
32447 | instead of hierarchy depths. | |
32448 | (workDirtyComponents): Removed unused field. | |
32449 | (repaintOrder): Removed unused field. | |
32450 | (workRepaintOrder): Removed unused field. | |
32451 | (workInvalidComponents): Removed unused field. | |
32452 | (RepaintManager()): Removed initialization of removed fields. | |
32453 | (addInvalidComponent): Fine tuned synchronization. | |
32454 | (removeInvalidComponent): Fine tune synchronization. | |
32455 | (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned | |
32456 | synchronization. Don't manager repaintOrder here. | |
32457 | (insertRepaintOrder): Removed method. | |
32458 | (markCompletelyClean): Fine tuned synchronization. | |
32459 | (validateInvalidComponents): Dont use a working copy of the | |
32460 | invalidComponents list, instead fine tuned synchronization on this | |
32461 | list. Also, don't search validateRoot, this is already done in | |
32462 | addInvalidComponent(). | |
32463 | (paintDirtyRegions): Compute repaint order here, based on size of | |
32464 | damaged regions. Fine tuned synchronization. Avoid use of working | |
32465 | copies of dirtyComponent. | |
97b8365c | 32466 | |
8aa540d2 | 32467 | 2006-02-02 Lillian Angel <langel@redhat.com> |
97b8365c | 32468 | |
8aa540d2 MW |
32469 | * javax/swing/text/DefaultStyledDocument.java |
32470 | (insertUpdate): JoinNextDirection should push the | |
32471 | 'next' paragraph on the stack. | |
97b8365c | 32472 | |
8aa540d2 | 32473 | 2006-02-02 Lillian Angel <langel@redhat.com> |
97b8365c | 32474 | |
8aa540d2 MW |
32475 | * javax/swing/text/DefaultStyledDocument.java |
32476 | (insertUpdate): Rewrote code for Originate. This prevents | |
32477 | leaves being created multiple times. If it is on the last | |
32478 | ElementSpec, the leaves need to be created right then; | |
32479 | otherwise, only a branch is created. | |
32480 | (insertContentTag): Rewrote to add new leaf directly if | |
32481 | this is a branch with no children. Otherwise, it | |
32482 | recreates the remainder of the tree as before. | |
97b8365c | 32483 | |
8aa540d2 | 32484 | 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org> |
97b8365c | 32485 | |
8aa540d2 MW |
32486 | * gnu/regexp/REMatch.java(REMatchList): New inner utility class |
32487 | for making a list of REMatch instances. | |
32488 | * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList. | |
32489 | * gnu/regexp/RETokenRepeated.java(findDoables): New method. | |
32490 | (match): Rewritten using REMatchList. | |
32491 | (matchRest): Rewritten using REMatchList. | |
97b8365c | 32492 | |
8aa540d2 | 32493 | 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 32494 | |
8aa540d2 MW |
32495 | * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java |
32496 | (friendsMove): Call repaint() only after endOfGame is assigned. | |
97b8365c | 32497 | |
8aa540d2 | 32498 | 2006-02-02 Mark Wielaard <mark@klomp.org> |
97b8365c | 32499 | |
8aa540d2 MW |
32500 | Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com> |
32501 | * java/util/AbstractCollection.java (toString): Only use Iterator, | |
32502 | check whether collection contains itself. | |
97b8365c | 32503 | |
8aa540d2 | 32504 | 2006-02-01 Casey Marshall <csm@gnu.org> |
97b8365c | 32505 | |
8aa540d2 MW |
32506 | Partial fix for PR classpath/25143. |
32507 | * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field. | |
32508 | (<init>): fill in `algName,' derive `algOid' from `algName.' | |
32509 | (getOid): new method. | |
32510 | (encode): embed NULL value for parameters if `params' is `null.' | |
97b8365c | 32511 | |
8aa540d2 | 32512 | 2006-02-01 Casey Marshall <csm@gnu.org> |
97b8365c | 32513 | |
8aa540d2 MW |
32514 | Tag check and OTHER_NAME fixes suggested by Rafael Teixeira |
32515 | <monoman@gmail.com>. | |
32516 | * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag | |
32517 | check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing. | |
97b8365c | 32518 | |
8aa540d2 | 32519 | 2006-02-01 Casey Marshall <csm@gnu.org> |
97b8365c | 32520 | |
8aa540d2 MW |
32521 | toString fix suggested by Rafael Teixeira <monoman@gmail.com>. |
32522 | * gnu/java/security/der/DERValue.java | |
32523 | (getLength, getEncoded, getEncodedLength): throw an exception, | |
32524 | don't initialize `encoded' to a bogus value. | |
32525 | (toString): return a more helpful string. | |
32526 | ||
32527 | Partial fix for PR classpath/25144. | |
32528 | * gnu/java/security/der/DERWriter.java (write): if the value is | |
32529 | the pseudo-value used for CONSTRUCTED, write the encoded value | |
32530 | directly. | |
32531 | ||
32532 | 2006-02-01 Tom Tromey <tromey@redhat.com> | |
97b8365c | 32533 | |
8aa540d2 MW |
32534 | * java/security/Security.java (loadProviders): Use system class |
32535 | loader. | |
97b8365c | 32536 | |
8aa540d2 | 32537 | 2006-02-01 Mark Wielaard <mark@klomp.org> |
97b8365c | 32538 | |
8aa540d2 MW |
32539 | * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception. |
32540 | * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR, | |
32541 | SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields. | |
32542 | (getHandler): Check for grouped properties L, M, Z, S, N, P or C. | |
32543 | (UnicodeCategoriesHandler): New private static class. | |
97b8365c | 32544 | |
8aa540d2 | 32545 | 2006-02-01 Lillian Angel <langel@redhat.com> |
97b8365c | 32546 | |
8aa540d2 MW |
32547 | * javax/swing/text/DefaultStyledDocument.java: |
32548 | Removed unneeded fields. | |
32549 | (insertUpdate): Removed field initialization. | |
32550 | (insertContentTag): Rewrote part of function. Still | |
32551 | not complete. | |
97b8365c | 32552 | |
8aa540d2 | 32553 | 2006-02-01 Lillian Angel <langel@redhat.com> |
97b8365c | 32554 | |
8aa540d2 MW |
32555 | * javax/swing/text/DefaultStyledDocument.java |
32556 | (insertParagraph): Cleaned up code. | |
32557 | (insertFirstContentTag): Fixed call to recreateLeaves. | |
32558 | (insertContentTag): Added check to code to determine where | |
32559 | content should be inserted with respect to next element. | |
32560 | (createFracture): Removed check, recreateLeaves is called in | |
32561 | other places when needed. | |
32562 | (recreateLeaves): Added new parameter for paragraph instead | |
32563 | of checking the stack. Removed editing for newBranch, replaced | |
32564 | with a replace call. | |
32565 | ||
32566 | 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com> | |
32567 | ||
32568 | * doc/unicode/Blocks-4.0.0.txt: New file. | |
32569 | * java/lang/Character.java: Regenerated inner class UnicodeBlock from | |
32570 | scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt. | |
32571 | * scripts/unicode-blocks.pl: Copied this over from the generics branch | |
32572 | but replaced some 1.5-only features (such as enum). | |
97b8365c | 32573 | |
8aa540d2 | 32574 | 2006-01-31 Roman Kennke <kennke@aicas.com> |
97b8365c | 32575 | |
8aa540d2 MW |
32576 | * javax/swing/text/PasswordView.java |
32577 | (drawSelectedText): Use drawEchoCharacter() method to draw echo | |
32578 | character. | |
32579 | (drawUnselectedText): Use drawEchoCharacter() method to draw echo | |
32580 | character. | |
97b8365c | 32581 | |
8aa540d2 | 32582 | 2006-01-31 Roman Kennke <kennke@aicas.com> |
97b8365c | 32583 | |
8aa540d2 MW |
32584 | * javax/swing/JTextField.java |
32585 | (getPreferredSize): Also include textfield's insets in width | |
32586 | calculation. | |
97b8365c | 32587 | |
8aa540d2 | 32588 | 2006-01-31 Roman Kennke <kennke@aicas.com> |
97b8365c | 32589 | |
8aa540d2 MW |
32590 | * javax/swing/plaf/basic/BasicTextUI.java |
32591 | (getPreferredSize): Include the textcomponent's insets in | |
32592 | preferredSize. | |
97b8365c | 32593 | |
8aa540d2 | 32594 | 2006-01-31 Roman Kennke <kennke@aicas.com> |
97b8365c | 32595 | |
8aa540d2 MW |
32596 | * javax/swing/table/DefaultTableCellRenderer.java |
32597 | (getTableCellRendererComponent): Moved setting of the value into | |
32598 | setValue(). Removed (bogus) special handling of JTextField values. | |
32599 | (setValue): Made ?: statement more clear by rewriting it | |
32600 | with if .. else. | |
97b8365c | 32601 | |
8aa540d2 | 32602 | 2006-01-31 Roman Kennke <kennke@aicas.com> |
97b8365c | 32603 | |
8aa540d2 MW |
32604 | * javax/swing/JLayeredPane.java |
32605 | (insertIndexForLayer): Fixed algorithm to correctly determine | |
32606 | inser index for positions >= 0. | |
32607 | (addImpl): Fixed API docs for the index parameter. | |
97b8365c | 32608 | |
8aa540d2 | 32609 | 2006-01-31 Mark Wielaard <mark@klomp.org> |
97b8365c | 32610 | |
8aa540d2 MW |
32611 | * java/net/URI.java (getURIGroup): Check for null to see whether |
32612 | group actually exists. | |
97b8365c | 32613 | |
8aa540d2 | 32614 | 2006-01-31 Lillian Angel <langel@redhat.com> |
97b8365c | 32615 | |
8aa540d2 MW |
32616 | * javax/swing/text/DefaultStyledDocument.java |
32617 | (changeUpdate): Fixed calls to split to incorporate | |
32618 | new parameter. | |
32619 | (insertParagraph): Likewise. Uses 0 as editIndex | |
32620 | because inserting into a new paragraph. | |
32621 | (insertContentTag): Fixed check to use | |
32622 | recreateLeaves. Added a FIXME comment. | |
32623 | (split): Added a new parameter for edits. | |
97b8365c | 32624 | |
8aa540d2 | 32625 | 2006-01-31 Roman Kennke <kennke@aicas.com> |
97b8365c | 32626 | |
8aa540d2 MW |
32627 | * javax/swing/plaf/basic/BasicRootPaneUI.java |
32628 | (installDefaults): Don't install a background color here. | |
97b8365c | 32629 | |
8aa540d2 | 32630 | 2006-01-31 Lillian Angel <langel@redhat.com> |
97b8365c | 32631 | |
8aa540d2 MW |
32632 | * javax/swing/text/DefaultStyledDocument.java |
32633 | (insert): Removed comment. | |
32634 | (insertUpdate): Added comment. | |
32635 | (recreateLeaves): Removed call to push newBranch onto the | |
32636 | stack. This does not need to be done here. | |
97b8365c | 32637 | |
8aa540d2 | 32638 | 2006-01-31 Chris Burdess <dog@gnu.org> |
97b8365c | 32639 | |
8aa540d2 MW |
32640 | * gnu/xml/stream/SAXParser.java, |
32641 | gnu/xml/stream/UnicodeReader.java, | |
32642 | gnu/xml/stream/XIncludeFilter.java, | |
32643 | gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource | |
32644 | only resolved the system ID not the stream. Make some utility methods | |
32645 | public and static for use by other private XML APIs. | |
32646 | * java/lang/ClassNotFoundException.java: Ensure that initCause can be | |
32647 | called without throwing IllegalStateException. | |
32648 | * java/util/logging/SimpleFormatter.java: Write thrown exception if | |
32649 | provided. | |
32650 | ||
32651 | 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
32652 | ||
32653 | Fixes bug #22873 | |
32654 | * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException | |
32655 | for an invalid index and return null for a skipped group. | |
32656 | ||
32657 | 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
32658 | ||
32659 | Fixes bug #26002 | |
32660 | * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/. | |
32661 | (NamedProperty): New inner class. | |
32662 | (getNamedProperty): New method. | |
32663 | (getRETokenNamedProperty): New Method. | |
32664 | * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg. | |
32665 | * gnu/regexp/RETokenNamedProperty.java: New file. | |
32666 | ||
32667 | 2006-01-31 Roman Kennke <kennke@aicas.com> | |
32668 | ||
32669 | * javax/swing/plaf/PlainView.java | |
32670 | (paint): Call drawLine with baseline coordinates. | |
32671 | (drawLine): Documented and indented this method. | |
32672 | (drawUnselecetedText): Documented and indented this method. | |
32673 | * javax/swing/plaf/text/Utilites.java | |
32674 | (drawTabbedText): The coordinates denote the baseline of the text | |
32675 | not the upper left corner. | |
97b8365c | 32676 | |
8aa540d2 | 32677 | 2006-01-31 Roman Kennke <kennke@aicas.com> |
97b8365c | 32678 | |
8aa540d2 MW |
32679 | * javax/swing/plaf/basic/BasicTextUI.java |
32680 | (createKeymap): Don't store KeyBindings[] as focusInputMap in | |
32681 | UIManager. Added FIXME regarding the implementation of this method. | |
97b8365c | 32682 | |
8aa540d2 | 32683 | 2006-01-30 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 32684 | |
8aa540d2 MW |
32685 | * examples/gnu/classpath/examples/swing/ButtonDemo.java |
32686 | (ButtonDemo): Move content initialisation to new method, | |
32687 | (initFrameContent): New method, | |
32688 | (main): Call initFrameContent(), | |
32689 | * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise, | |
32690 | * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise, | |
32691 | * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise, | |
32692 | * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise, | |
32693 | * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise. | |
97b8365c | 32694 | |
8aa540d2 | 32695 | 2006-01-30 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 32696 | |
8aa540d2 MW |
32697 | * examples/gnu/classpath/examples/swing/Demo.java |
32698 | (Demo): Set frame size, | |
32699 | (mkButtonBar): Removed stacked sub-panels. | |
97b8365c | 32700 | |
8aa540d2 | 32701 | 2006-01-30 Lillian Angel <langel@redhat.com> |
97b8365c | 32702 | |
8aa540d2 MW |
32703 | * javax/swing/text/DefaultStyledDocument.java: |
32704 | Added new fields. | |
32705 | (insert): Initialized fields. Removed call to addEdit, | |
32706 | and created ElementEdit instead. | |
32707 | (insertUpdate): Added check for fracturing. If the | |
32708 | fracturing was not successful, we should push the | |
32709 | last element back on the stack. | |
32710 | (insertParagraph): Fixed call to getEditForParagraphAndIndex. | |
32711 | Also, changed replace calls to use Edit. | |
32712 | (insertFirstContentTag): Removed unneeded check and fixed call | |
32713 | to recreateLeaves. | |
32714 | (insertContent): Fixed check to use new fields. Added code in | |
32715 | to check if leaves overlap. | |
32716 | (createFracture): Fixed call to recreateLeaves. | |
32717 | (recreateLeaves): Fixed code and cleaned it up a bit. | |
32718 | (insertFracture): Set fracNotCreated field. | |
32719 | (addEdit): Removed, this method is not needed. | |
97b8365c | 32720 | |
8aa540d2 | 32721 | 2006-01-30 Roman Kennke <kennke@aicas.com> |
97b8365c | 32722 | |
8aa540d2 MW |
32723 | * javax/swing/JRootPane.java |
32724 | (RootLayout.prefSize): Removed caching for preferredSize. | |
32725 | (RootLayout.invalidateLayout): Likewise. | |
32726 | (RootLayout.preferredLayoutSize): Likewise. | |
97b8365c | 32727 | |
8aa540d2 | 32728 | 2006-01-30 Roman Kennke <kennke@aicas.com> |
97b8365c | 32729 | |
8aa540d2 MW |
32730 | PR classpath/26035 |
32731 | * javax/swing/JFrame.java | |
32732 | (frameInit): Handle the defaultLookAndFeelDecorated flag. | |
32733 | * javax/swing/plaf/metal/MetalRootPaneUI.java | |
32734 | (MetalFrameBorder): New inner class, provides the border for | |
32735 | top level containers with L&F decorations. | |
32736 | (MetalTitlePane): New inner class, provides the title pane for | |
32737 | top level containers with L&F decorations. | |
32738 | (MetalRootLayout): New inner class. Used to layout the root pane | |
32739 | when L&F window decorations are enabled. | |
32740 | (installUI): New method. Handles window decorations. | |
32741 | (uninstallUI): New method. Handles window decorations. | |
32742 | (propertyChange): Handles window decorations. | |
32743 | (installWindowDecorations): New method. Handles window | |
32744 | decorations. | |
32745 | (uninstallWindowDecorations): New method. Handles window | |
32746 | decorations. | |
32747 | * javax/swing/plaf/metal/MetalLookAndFeel.java | |
32748 | (getSupportsWindowDecorations): Overridden to return true. | |
32749 | ||
32750 | 2006-01-30 Mark Wielaard <mark@klomp.org> | |
32751 | ||
32752 | * javax/swing/JProgressBar.java (JProgressBar(int)): Document | |
32753 | IllegalArgumentException when orientation is illegal. | |
32754 | (JProgressBar(int, int, int)): Likewise and throw exception. | |
32755 | (setOrientation): Likewise. | |
97b8365c | 32756 | |
8aa540d2 | 32757 | 2006-01-30 Roman Kennke <kennke@aicas.com> |
97b8365c | 32758 | |
8aa540d2 MW |
32759 | * javax/swing/ViewportLayout.java |
32760 | (minimumLayoutSize): Rewritten to unconditionally return (4,4). | |
97b8365c | 32761 | |
8aa540d2 | 32762 | 2006-01-30 Mark Wielaard <mark@klomp.org> |
97b8365c | 32763 | |
8aa540d2 MW |
32764 | * javax/swing/JProgressBar.java (orientation): Always set by |
32765 | constructor. | |
32766 | (JProgressBar(int)): Document default on 'illegal' value. | |
32767 | (JProgressBar(int, int, int)): Likewise and set orientation to | |
32768 | HORIZONTAL when 'illegal'. | |
32769 | (setOrientation): Likewise. | |
97b8365c | 32770 | |
8aa540d2 | 32771 | 2006-01-30 Roman Kennke <kennke@aicas.com> |
97b8365c | 32772 | |
8aa540d2 MW |
32773 | * javax/swing/plaf/basic/BasicListUI.java |
32774 | (ListDataHandler.contentsChanged): Update the | |
32775 | updateLayoutStateNeeded flag. | |
32776 | (ListDataHandler.intervalAdded): Update the | |
32777 | updateLayoutStateNeeded flag. | |
32778 | (ListDataHandler.intervalRemoved): Update the | |
32779 | updateLayoutStateNeeded flag. | |
32780 | (PropertyChangeHandler.propertyChange): Correctly update the | |
32781 | listeners on new list model. | |
32782 | (maybeUpdateLayoutState): Don't consider the validation state | |
32783 | of the list. | |
97b8365c | 32784 | |
8aa540d2 | 32785 | 2006-01-30 Mark Wielaard <mark@klomp.org> |
97b8365c | 32786 | |
8aa540d2 MW |
32787 | * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether |
32788 | sortKeys is null. | |
97b8365c | 32789 | |
8aa540d2 | 32790 | 2006-01-30 Roman Kennke <kennke@aicas.com> |
97b8365c | 32791 | |
8aa540d2 MW |
32792 | * javax/swing/JLayeredPane.java |
32793 | (insertIndexForLayer): Fixed algorithm to correctly insert | |
32794 | components within different layers and -1 position. | |
97b8365c | 32795 | |
8aa540d2 | 32796 | 2006-01-30 Mark Wielaard <mark@klomp.org> |
97b8365c | 32797 | |
8aa540d2 | 32798 | * doc/api/Makefile.am (create_html): Add -validhtml. |
97b8365c | 32799 | |
8aa540d2 | 32800 | 2006-01-30 Roman Kennke <kennke@aicas.com> |
97b8365c | 32801 | |
8aa540d2 MW |
32802 | * javax/swing/JLayeredPane.java |
32803 | (insertIndexForLayer): Fixed algorithm to correctly insert | |
32804 | components within same layer and -1 position. | |
97b8365c | 32805 | |
8aa540d2 | 32806 | 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org> |
97b8365c | 32807 | |
8aa540d2 MW |
32808 | Fixes bug #24876 |
32809 | * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH): | |
32810 | New execution flag. | |
32811 | (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an | |
32812 | implicit RETokenEnd at the end of the regexp chain. | |
32813 | Do not select the longest match, but select the first match. | |
32814 | (match): Do not take care of REMatch.empty. | |
32815 | * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated. | |
32816 | * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment. | |
32817 | * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty. | |
32818 | * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching. | |
32819 | Do not take care of REMatch.empty. Set and check REMatch.empty | |
32820 | when trying to match the single token. | |
32821 | ||
32822 | 2006-01-30 Mark Wielaard <mark@klomp.org> | |
32823 | ||
32824 | * java/awt/Cursor.java (toString): Include name and type. | |
32825 | ||
32826 | 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au> | |
32827 | ||
32828 | * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and | |
32829 | the ipad buffer. | |
32830 | * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash. | |
97b8365c | 32831 | |
8aa540d2 MW |
32832 | 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
32833 | ||
32834 | PR 26027 | |
32835 | * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState): | |
32836 | Consider the validation state of the list. | |
32837 | ||
32838 | 2006-01-29 Robert Schuster <robertschuster@fsfe.org> | |
32839 | ||
32840 | * gnu/java/beans/DefaultExceptionListener.java: Constant public field | |
32841 | INSTANCE added. | |
32842 | * java/beans/XMLDecoder.java: | |
32843 | (setExceptionListener): Use shared DefaultExceptionListener | |
32844 | instance. | |
32845 | * java/beans/Encoder.java: | |
32846 | (setExceptionListener): Use shared DefaultExceptionListener | |
32847 | instance. | |
97b8365c | 32848 | |
8aa540d2 | 32849 | 2006-01-29 Roman Kennke <kennke@aicas.com> |
97b8365c | 32850 | |
8aa540d2 MW |
32851 | * javax/swing/ScrollPaneLayout.java |
32852 | (minimumLayoutSize): Rewritten to match JDKs behaviour. | |
97b8365c | 32853 | |
8aa540d2 | 32854 | 2006-01-29 Mark Wielaard <mark@klomp.org> |
97b8365c | 32855 | |
8aa540d2 MW |
32856 | * java/net/SocketPermission.java (setActions): Trim and lower case |
32857 | action. | |
97b8365c | 32858 | |
8aa540d2 | 32859 | 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au> |
97b8365c | 32860 | |
8aa540d2 MW |
32861 | * gnu/java/security/util/Prime2.java (passEulerCriterion): Was |
32862 | incorrectly failing primality test for some known primes. Fixed. | |
32863 | (passFermatLittleTheorem): Removed. | |
32864 | (passMillerRabin): Removed. | |
32865 | (isProbablePrime): Cache primes that pass the primality tests. | |
32866 | Use BigInteger.isProbablePrime(int) for primality tests. | |
32867 | (debugBI): New static debugging method. | |
97b8365c | 32868 | |
8aa540d2 | 32869 | 2006-01-28 Roman Kennke <kennke@aicas.com> |
97b8365c | 32870 | |
8aa540d2 MW |
32871 | * javax/swing/plaf/basic/BasicListUI.java |
32872 | (updateLayoutState): Removed unneeded special case for VERTICAL. | |
97b8365c | 32873 | |
8aa540d2 | 32874 | 2006-01-28 Roman Kennke <kennke@aicas.com> |
97b8365c | 32875 | |
8aa540d2 MW |
32876 | * javax/swing/plaf/basic/BasicListUI.java |
32877 | (getCellBounds): Determine correct list width when having a | |
32878 | layoutOrientation of VERTICAL. | |
32879 | (maybeUpdateLayoutState): Don't consider the validation state of | |
32880 | the list. | |
97b8365c | 32881 | |
8aa540d2 | 32882 | 2006-01-28 Mark Wielaard <mark@klomp.org> |
97b8365c | 32883 | |
8aa540d2 MW |
32884 | Reported by Dimitri Fontaine <dimitri@dalibo.com> |
32885 | * java/awt/print/NoPrinterJob.java: New (fake) class. | |
32886 | * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob. | |
97b8365c | 32887 | |
8aa540d2 | 32888 | 2006-01-28 Mark Wielaard <mark@klomp.org> |
97b8365c | 32889 | |
8aa540d2 | 32890 | * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[]. |
97b8365c | 32891 | |
8aa540d2 | 32892 | 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 32893 | |
8aa540d2 MW |
32894 | * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree. |
32895 | (addChildren): New method. | |
97b8365c | 32896 | |
8aa540d2 | 32897 | 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au> |
97b8365c | 32898 | |
8aa540d2 MW |
32899 | * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New |
32900 | constructor for cloning purposes. | |
32901 | (clone): New implementation that ensures cloning. | |
32902 | * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable. | |
32903 | * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to | |
32904 | "GNU". | |
97b8365c | 32905 | |
8aa540d2 | 32906 | 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 32907 | |
8aa540d2 MW |
32908 | * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize): |
32909 | Call updateCurrentVisiblePath. | |
97b8365c | 32910 | |
8aa540d2 | 32911 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 32912 | |
8aa540d2 | 32913 | * examples/gnu/classpath/examples/swing/MiniDemo.java: New file. |
97b8365c | 32914 | |
8aa540d2 | 32915 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 32916 | |
8aa540d2 MW |
32917 | * examples/gnu/classpath/examples/swing/ButtonDemo.java |
32918 | (createContent): Only create new content if we don't have one | |
32919 | already. | |
32920 | * examples/gnu/classpath/examples/swing/ComboBoxDemo.java | |
32921 | (createContent): Only create new content if we don't have one | |
32922 | already. | |
32923 | * examples/gnu/classpath/examples/swing/FileChooserDemo.java | |
32924 | (createContent): Only create new content if we don't have one | |
32925 | already. | |
32926 | * examples/gnu/classpath/examples/swing/ScrollBarDemo.java | |
32927 | (createContent): Only create new content if we don't have one | |
32928 | already. | |
32929 | * examples/gnu/classpath/examples/swing/SliderDemo.java | |
32930 | (createContent): Only create new content if we don't have one | |
32931 | already. | |
32932 | * examples/gnu/classpath/examples/swing/TableDemo.java | |
32933 | (createContent): Only create new content if we don't have one | |
32934 | already. | |
32935 | * examples/gnu/classpath/examples/swing/TextFieldDemo.java | |
32936 | (createContent): Only create new content if we don't have one | |
32937 | already. | |
97b8365c | 32938 | |
8aa540d2 | 32939 | 2006-01-27 Lillian Angel <langel@redhat.com> |
97b8365c | 32940 | |
8aa540d2 MW |
32941 | * javax/swing/text/DefaultStyledDocument.java |
32942 | (insertFirstContentTag): Removed check, not needed. This | |
32943 | still needs to be fixed for some cases. Added call to | |
32944 | recreateLeaves. | |
32945 | (createFracture): Added call to recreateLeaves. | |
32946 | (recreateLeaves): New method used to recreate all the | |
32947 | leaves after the initial insertion. This still needs | |
32948 | more work. | |
32949 | (handleInsertAfterNewline): Removed else, not needed. | |
97b8365c | 32950 | |
8aa540d2 | 32951 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 32952 | |
8aa540d2 MW |
32953 | * javax/swing/JLayeredPane.java |
32954 | (inserIndexForLayer): Fixed direction of search. | |
97b8365c | 32955 | |
8aa540d2 | 32956 | 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 32957 | |
8aa540d2 MW |
32958 | * javax/swing/JTree.java (constructor): Put EXPANDED for the root |
32959 | node into nodeStates. | |
97b8365c | 32960 | |
8aa540d2 | 32961 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 32962 | |
8aa540d2 MW |
32963 | * javax/swing/JLayeredPane.java |
32964 | (FRAME_CONTENT_LAYER): Made field final. | |
32965 | (componentToLayer): Made field private. | |
32966 | (rectCache): Removed field. | |
32967 | (layers): Removed field. | |
32968 | (JLayeredPane()): Removed initialization of removed fields. | |
32969 | (getLayer): Rewritten to make use of client properties in | |
32970 | JComponents and to be more straighforward. | |
32971 | (static getLayer): Rewritten to make use of client properties in | |
32972 | JComponents. | |
32973 | (layerToRange): Removed method. | |
32974 | (incrLayer): Removed method. | |
32975 | (decrLayer): Removed method. | |
32976 | (highestLayer): Rewritten to be more straightforward. | |
32977 | (lowestLayer): Rewritten to be more straightforward. | |
32978 | (getPosition): Rewritten to be more straightforward. | |
32979 | (getComponentsInLayer): Rewritten to be more straightforward. | |
32980 | (getComponentCountInLayer): Rewritten to be more straightforward. | |
32981 | (getIndexOf): Rewritten to be more straightforward. | |
32982 | (inserIndexForLayer): Rewritten to be more straightforward. | |
32983 | (remove): Rewritten to be more straightforward. | |
32984 | (setLayer): Rewritten to be more straightforward. | |
32985 | (addImpl): Rewritten to be more straightforward. | |
32986 | (putLayer): Rewritten to be more straightforward. | |
32987 | ||
32988 | 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com> | |
32989 | ||
32990 | * java/lang/Character.java: | |
32991 | (offsetByCodePoints(CharSequence, int, int)): New API method. | |
32992 | (offsetByCodePoints(char[], int, int, int, int)): Likewise. | |
32993 | (toChars): Throw the Exception that the docs say we throw. | |
32994 | (codePointAt): Fixed an off-by-one error in the bounds of the if | |
32995 | statement. | |
32996 | * java/lang/String.java: | |
32997 | (String(int[], int, int)): New API constructor. | |
97b8365c | 32998 | |
8aa540d2 | 32999 | 2006-01-27 Lillian Angel <langel@redhat.com> |
97b8365c | 33000 | |
8aa540d2 MW |
33001 | * javax/swing/text/DefaultStyledDocument.java |
33002 | (insert): Moved this loop to insertUpdate. | |
33003 | (insertUpdate): Likewise. Fixed variable | |
33004 | names. Incremented pos if new paragraph | |
33005 | is inserted. | |
33006 | (split): Changed edits to use replace instead. Prevents | |
33007 | assertion errors. | |
33008 | (insertFirstContentTag): Removed else. | |
33009 | (insertContentTag): Implemented else for JoinNextDirection. | |
33010 | (createFracture): Fixed up code, still not fully complete. | |
33011 | (insertFracture): Fixed to use return value from | |
33012 | recreateAfterFracture. | |
33013 | (recreateAfterFracture): Changed to return an array of the | |
33014 | elements to be added. This prevents an assertion error. | |
33015 | (contains): New function checks if an element is already in | |
33016 | the Vector. Vector's contain function was not enough to use. | |
33017 | (addAddedElement): Changed to use new contains function. | |
33018 | (addAddedElements): Likewise. | |
33019 | (addRemovedElement): Likewise. | |
33020 | (addRemovedElements): Likewise. | |
33021 | ||
33022 | 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
33023 | ||
33024 | PR 25520 | |
33025 | * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run): | |
33026 | If no user class loaders found on the stack, return the thread | |
33027 | context class loader. (currentClassLoader): Explained. | |
97b8365c | 33028 | |
8aa540d2 | 33029 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 33030 | |
8aa540d2 MW |
33031 | * java/awt/Container.java |
33032 | (swapComponents): Removed unspecified method. | |
33033 | * javax/swing/JLayeredPane.java | |
33034 | (setPosition): Reimplemented correctly. | |
33035 | (swapComponents): New helper method. | |
97b8365c | 33036 | |
8aa540d2 | 33037 | 2006-01-27 Mark Wielaard <mark@klomp.org> |
97b8365c | 33038 | |
8aa540d2 | 33039 | * configure.ac: Set version to 0.21-pre. |
97b8365c | 33040 | |
8aa540d2 | 33041 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 33042 | |
8aa540d2 MW |
33043 | PR classpath/25968 |
33044 | * javax/swing/JComponent.java | |
33045 | (findOverlapFreeParent): Improved the algorithm to make better use | |
33046 | of the optimizedDrawingEnabled flag. | |
33047 | * javax/swing/JLayeredPane.java | |
33048 | (isOptimizedDrawingEnabled): Reimplemented to match the specs. | |
33049 | * javax/swing/JViewport.java | |
33050 | (computeBlit): Fixed check to decide if blitting is possible or not, | |
33051 | so that it doesn't blit if nothing was scrolled (in order to | |
33052 | update the buffer when the view updates itself). | |
97b8365c | 33053 | |
8aa540d2 | 33054 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 33055 | |
8aa540d2 MW |
33056 | * javax/swing/plaf/metal/MetalFileChooserUI.java |
33057 | (createList): Don't set scrollbar policy. | |
97b8365c | 33058 | |
8aa540d2 | 33059 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 33060 | |
8aa540d2 MW |
33061 | * javax/swing/plaf/basic/BasicPopupMenuUI.java |
33062 | (PopupMenuHandler.popupMenuWillBecomeInvisible): | |
33063 | Fixed to also handle non-Swing toplevel containers. | |
33064 | (PopupMenuHandler.popupMenuWillBecomeVisible): | |
33065 | Fixed to also handle non-Swing toplevel containers. | |
33066 | * javax/swing/Popup.java | |
33067 | (JWindowPopup.JWindowPopup()): Correctly set parent window on | |
33068 | popup. | |
97b8365c | 33069 | |
8aa540d2 | 33070 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 33071 | |
8aa540d2 MW |
33072 | * javax/swing/plaf/basic/BasicInternalFrameUI.java |
33073 | (InternalFramePropertyChangeListener): Don't implement | |
33074 | VetoableChangeListener. | |
33075 | (InternalFramePropertyChangeListener.vetoableChange): Removed. | |
33076 | (internalFrameVetoableChangeListener): Removed unneeded field. | |
33077 | (installListeners): Don't install vetoableChangeListener. | |
33078 | * javax/swing/event/DocumentEvent.java | |
33079 | (EventType): Made class final. | |
97b8365c | 33080 | |
8aa540d2 | 33081 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 33082 | |
8aa540d2 MW |
33083 | * javax/swing/SwingUtilities.java |
33084 | (calculateInsetArea): Removed unneeded method. The method | |
33085 | calculateInnerArea has the same purpose and is actually specified. | |
33086 | (calculateInnerArea): Rewritten to not use calculateInsetArea. | |
33087 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
33088 | (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead | |
33089 | of SwingUtilities.calculateInsetArea(). | |
97b8365c | 33090 | |
8aa540d2 | 33091 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 33092 | |
8aa540d2 MW |
33093 | * javax/swing/plaf/basic/BasicTreeUI.java |
33094 | (installDefaults): Removed requestFocusInWindow() call. | |
33095 | * javax/swing/JComponent.java | |
33096 | (requestFocusInWindow(boolean)): Made method protected. | |
33097 | (printComponent): Made method protected. | |
33098 | (printChildren): Made method protected. | |
33099 | (printComponent): Made method protected. | |
33100 | (printBorder): Made method protected. | |
97b8365c | 33101 | |
8aa540d2 | 33102 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 33103 | |
8aa540d2 MW |
33104 | * javax/swing/AbstractButton.java |
33105 | (ButtonChangeListener.ButtonChangeListener()): Made constructor | |
33106 | package private. | |
33107 | * javax/swing/ImageIcon.java | |
33108 | (component): Made field final. | |
33109 | (tracker): Made field final. | |
33110 | * javax/swing/JApplet.java | |
33111 | (AccessibleJApplet.AccessibleJApplet): Made constructor protected. | |
33112 | * javax/swing/JCheckBox.java | |
33113 | (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor | |
33114 | protected. | |
33115 | * javax/swing/JDialog.java | |
33116 | (AccessibleJDialog.AccessibleJDialog): Made constructor protected. | |
33117 | * javax/swing/JFrame.java | |
33118 | (AccessibleJFrame.AccessibleJFrame): Made constructor protected. | |
33119 | * javax/swing/JLayeredPane.java | |
33120 | (AccessibleJLayered.AccessibleJLayeredPane): Made constructor | |
33121 | protected. | |
33122 | (DEFAULT_LAYER): Made field final. | |
33123 | (PALETTE_LAYER): Made field final. | |
33124 | (MODAL_LAYER): Made field final. | |
33125 | (POPUP_LAYER): Made field final. | |
33126 | (DRAG_LAYER): Made field final. | |
33127 | * javax/swing/JMenu.java | |
33128 | (ActionChangeListener): Made class private. | |
33129 | * javax/swing/JOptionPane.java | |
33130 | (UNITITIALIZED_VALUE): Made field final. | |
33131 | * javax/swing/JPanel.java | |
33132 | (AccessibleJPanel.AccessibleJPanel): Made constructor protected. | |
33133 | * javax/swing/JPopupMenu.java | |
33134 | (ActionChangeListener): Made class private. | |
33135 | * javax/swing/JTree.java | |
33136 | (paramString): Made method protected. | |
33137 | * javax/swing/JViewport.java | |
33138 | (AccessibleJViewport.AccessibleJViewport): Made constructor protected. | |
33139 | * javax/swing/JWindow.java | |
33140 | (AccessibleJWindow.AccessibleJWindow): Made constructor protected. | |
33141 | * javax/swing/RepaintManager.java | |
33142 | (RepaintWorker): Made class private. | |
97b8365c | 33143 | |
8aa540d2 | 33144 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 33145 | |
8aa540d2 MW |
33146 | * gnu/java/awt/peer/swing/SwingComponentPeer.java |
33147 | (handleEvent): Removed debug statement. | |
97b8365c | 33148 | |
8aa540d2 | 33149 | 2006-01-27 Roman Kennke <kennke@aicas.com> |
97b8365c | 33150 | |
8aa540d2 MW |
33151 | * java/awt/Component.java |
33152 | (coalescePaintEvents): Don't try to optimize coalescing. This hurts | |
33153 | more than it helps. | |
97b8365c | 33154 | |
8aa540d2 | 33155 | 2006-01-26 Lillian Angel <langel@redhat.com> |
97b8365c | 33156 | |
8aa540d2 MW |
33157 | * javax/swing/text/DefaultStyledDocument.java |
33158 | (createFracture): Commented out a known problem, | |
33159 | added FIXME tag. | |
97b8365c | 33160 | |
8aa540d2 | 33161 | 2006-01-26 Lillian Angel <langel@redhat.com> |
97b8365c | 33162 | |
8aa540d2 MW |
33163 | * javax/swing/text/DefaultStyledDocument.java |
33164 | (ElementBuffer): Added fields. | |
33165 | (remove): Initialized pos. | |
33166 | (change): Likewise. | |
33167 | (insert): Likewise. | |
33168 | (insertUpdate): Incremented pos. Fixed check, createFracture should | |
33169 | be called on first tag if it is not ContentType. | |
33170 | (insertFirstContentTag): Reworked to use proper offsets and | |
33171 | set offset accordingly. This might need more work in the future. | |
33172 | (insertContentTag): Likewise. Fixed to use pos, instead of | |
33173 | offset. | |
33174 | (createFracture): Fixed to recreate other leaves. Still needs | |
33175 | more work. | |
33176 | (insertFracture): Reimplemented. | |
33177 | (recreateAfterFracture): New method. | |
33178 | (getParagraphElement): Reimplemented, more efficent. | |
33179 | ||
33180 | 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at> | |
33181 | ||
33182 | * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits) | |
33183 | (doubleToRawLongBits, longBitsToDouble): Swap the byte | |
33184 | ordering for little-endian arms without VFP. | |
33185 | ||
33186 | 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au> | |
33187 | ||
33188 | PR classpath/25981 | |
33189 | * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries. | |
33190 | ||
33191 | 2006-01-26 Mark Wielaard <mark@klomp.org> | |
33192 | ||
33193 | Fixes bug #25970 reported by Michael Kay <mike@saxonica.com> | |
33194 | * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros. | |
33195 | Add trailing zeros to the fraction of the decimal with the smallest | |
33196 | scale. | |
33197 | ||
33198 | 2006-01-26 Roman Kennke <kennke@aicas.com> | |
33199 | ||
33200 | * javax/swing/text/html/ObjectView.java: New file. | |
33201 | ||
33202 | 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
33203 | ||
33204 | * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): | |
33205 | Call startEditing when appropriate. | |
33206 | (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields. | |
33207 | (startEditing): Always edit if directly ordered from | |
33208 | MouseHandler.mousePressed. | |
33209 | * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): | |
33210 | New field. (createTreeCellEditor): Set click count to start. | |
33211 | (getTreeCellEditorComponent): Assing realEditor directly. | |
33212 | ||
33213 | 2006-01-25 Casey Marshall <csm@gnu.org> | |
33214 | ||
33215 | Merging GNU Crypto and Jessie. | |
33216 | ||
33217 | * NEWS: mention the merge in the 0.21 notes. | |
33218 | * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed. | |
33219 | (SSL_RECORD_LAYER): new constants. | |
33220 | * gnu/java/security/provider/Gnu.java (<init>): add new algorithms | |
33221 | to provider. | |
33222 | * resource/java/security/classpath.security: add new providers. | |
33223 | * gnu/javax/crypto/assembly/Assembly.java, | |
33224 | gnu/javax/crypto/assembly/Cascade.java, | |
33225 | gnu/javax/crypto/assembly/CascadeStage.java, | |
33226 | gnu/javax/crypto/assembly/CascadeTransformer.java, | |
33227 | gnu/javax/crypto/assembly/DeflateTransformer.java, | |
33228 | gnu/javax/crypto/assembly/Direction.java, | |
33229 | gnu/javax/crypto/assembly/LoopbackTransformer.java, | |
33230 | gnu/javax/crypto/assembly/ModeStage.java, | |
33231 | gnu/javax/crypto/assembly/Operation.java, | |
33232 | gnu/javax/crypto/assembly/PaddingTransformer.java, | |
33233 | gnu/javax/crypto/assembly/Stage.java, | |
33234 | gnu/javax/crypto/assembly/Transformer.java, | |
33235 | gnu/javax/crypto/assembly/TransformerException.java, | |
33236 | gnu/javax/crypto/cipher/Anubis.java, | |
33237 | gnu/javax/crypto/cipher/BaseCipher.java, | |
33238 | gnu/javax/crypto/cipher/Blowfish.java, | |
33239 | gnu/javax/crypto/cipher/Cast5.java, | |
33240 | gnu/javax/crypto/cipher/CipherFactory.java, | |
33241 | gnu/javax/crypto/cipher/DES.java, | |
33242 | gnu/javax/crypto/cipher/IBlockCipher.java, | |
33243 | gnu/javax/crypto/cipher/IBlockCipherSpi.java, | |
33244 | gnu/javax/crypto/cipher/Khazad.java, | |
33245 | gnu/javax/crypto/cipher/NullCipher.java, | |
33246 | gnu/javax/crypto/cipher/Rijndael.java, | |
33247 | gnu/javax/crypto/cipher/Serpent.java, | |
33248 | gnu/javax/crypto/cipher/Square.java, | |
33249 | gnu/javax/crypto/cipher/TripleDES.java, | |
33250 | gnu/javax/crypto/cipher/Twofish.java, | |
33251 | gnu/javax/crypto/cipher/WeakKeyException.java, | |
33252 | gnu/javax/crypto/jce/GnuCrypto.java, | |
33253 | gnu/javax/crypto/jce/GnuSasl.java, | |
33254 | gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java, | |
33255 | gnu/javax/crypto/jce/cipher/AESSpi.java, | |
33256 | gnu/javax/crypto/jce/cipher/ARCFourSpi.java, | |
33257 | gnu/javax/crypto/jce/cipher/AnubisSpi.java, | |
33258 | gnu/javax/crypto/jce/cipher/BlowfishSpi.java, | |
33259 | gnu/javax/crypto/jce/cipher/Cast5Spi.java, | |
33260 | gnu/javax/crypto/jce/cipher/CipherAdapter.java, | |
33261 | gnu/javax/crypto/jce/cipher/DESSpi.java, | |
33262 | gnu/javax/crypto/jce/cipher/KhazadSpi.java, | |
33263 | gnu/javax/crypto/jce/cipher/NullCipherSpi.java, | |
33264 | gnu/javax/crypto/jce/cipher/PBES2.java, | |
33265 | gnu/javax/crypto/jce/cipher/RijndaelSpi.java, | |
33266 | gnu/javax/crypto/jce/cipher/SerpentSpi.java, | |
33267 | gnu/javax/crypto/jce/cipher/SquareSpi.java, | |
33268 | gnu/javax/crypto/jce/cipher/TripleDESSpi.java, | |
33269 | gnu/javax/crypto/jce/cipher/TwofishSpi.java, | |
33270 | gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java, | |
33271 | gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java, | |
33272 | gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java, | |
33273 | gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java, | |
33274 | gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java, | |
33275 | gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java, | |
33276 | gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java, | |
33277 | gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java, | |
33278 | gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java, | |
33279 | gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java, | |
33280 | gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java, | |
33281 | gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java, | |
33282 | gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java, | |
33283 | gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java, | |
33284 | gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java, | |
33285 | gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java, | |
33286 | gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java, | |
33287 | gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java, | |
33288 | gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java, | |
33289 | gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java, | |
33290 | gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java, | |
33291 | gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java, | |
33292 | gnu/javax/crypto/jce/keyring/GnuKeyring.java, | |
33293 | gnu/javax/crypto/jce/mac/HMacHavalSpi.java, | |
33294 | gnu/javax/crypto/jce/mac/HMacMD2Spi.java, | |
33295 | gnu/javax/crypto/jce/mac/HMacMD4Spi.java, | |
33296 | gnu/javax/crypto/jce/mac/HMacMD5Spi.java, | |
33297 | gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java, | |
33298 | gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java, | |
33299 | gnu/javax/crypto/jce/mac/HMacSHA160Spi.java, | |
33300 | gnu/javax/crypto/jce/mac/HMacSHA256Spi.java, | |
33301 | gnu/javax/crypto/jce/mac/HMacSHA384Spi.java, | |
33302 | gnu/javax/crypto/jce/mac/HMacSHA512Spi.java, | |
33303 | gnu/javax/crypto/jce/mac/HMacTigerSpi.java, | |
33304 | gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java, | |
33305 | gnu/javax/crypto/jce/mac/MacAdapter.java, | |
33306 | gnu/javax/crypto/jce/mac/OMacAnubisImpl.java, | |
33307 | gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java, | |
33308 | gnu/javax/crypto/jce/mac/OMacCast5Impl.java, | |
33309 | gnu/javax/crypto/jce/mac/OMacDESImpl.java, | |
33310 | gnu/javax/crypto/jce/mac/OMacImpl.java, | |
33311 | gnu/javax/crypto/jce/mac/OMacKhazadImpl.java, | |
33312 | gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java, | |
33313 | gnu/javax/crypto/jce/mac/OMacSerpentImpl.java, | |
33314 | gnu/javax/crypto/jce/mac/OMacSquareImpl.java, | |
33315 | gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java, | |
33316 | gnu/javax/crypto/jce/mac/OMacTwofishImpl.java, | |
33317 | gnu/javax/crypto/jce/mac/TMMH16Spi.java, | |
33318 | gnu/javax/crypto/jce/mac/UHash32Spi.java, | |
33319 | gnu/javax/crypto/jce/mac/UMac32Spi.java, | |
33320 | gnu/javax/crypto/jce/params/BlockCipherParameters.java, | |
33321 | gnu/javax/crypto/jce/params/DEREncodingException.java, | |
33322 | gnu/javax/crypto/jce/params/DERReader.java, | |
33323 | gnu/javax/crypto/jce/params/DERWriter.java, | |
33324 | gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java, | |
33325 | gnu/javax/crypto/jce/prng/CSPRNGSpi.java, | |
33326 | gnu/javax/crypto/jce/prng/FortunaImpl.java, | |
33327 | gnu/javax/crypto/jce/prng/ICMRandomSpi.java, | |
33328 | gnu/javax/crypto/jce/prng/UMacRandomSpi.java, | |
33329 | gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java, | |
33330 | gnu/javax/crypto/jce/spec/TMMHParameterSpec.java, | |
33331 | gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java, | |
33332 | gnu/javax/crypto/key/BaseKeyAgreementParty.java, | |
33333 | gnu/javax/crypto/key/GnuSecretKey.java, | |
33334 | gnu/javax/crypto/key/IKeyAgreementParty.java, | |
33335 | gnu/javax/crypto/key/IncomingMessage.java, | |
33336 | gnu/javax/crypto/key/KeyAgreementException.java, | |
33337 | gnu/javax/crypto/key/KeyAgreementFactory.java, | |
33338 | gnu/javax/crypto/key/OutgoingMessage.java, | |
33339 | gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java, | |
33340 | gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java, | |
33341 | gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java, | |
33342 | gnu/javax/crypto/key/dh/DiffieHellmanSender.java, | |
33343 | gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java, | |
33344 | gnu/javax/crypto/key/dh/ElGamalReceiver.java, | |
33345 | gnu/javax/crypto/key/dh/ElGamalSender.java, | |
33346 | gnu/javax/crypto/key/dh/GnuDHKey.java, | |
33347 | gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java, | |
33348 | gnu/javax/crypto/key/dh/GnuDHPrivateKey.java, | |
33349 | gnu/javax/crypto/key/dh/GnuDHPublicKey.java, | |
33350 | gnu/javax/crypto/key/dh/RFC2631.java, | |
33351 | gnu/javax/crypto/key/srp6/SRP6Host.java, | |
33352 | gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java, | |
33353 | gnu/javax/crypto/key/srp6/SRP6SaslClient.java, | |
33354 | gnu/javax/crypto/key/srp6/SRP6SaslServer.java, | |
33355 | gnu/javax/crypto/key/srp6/SRP6TLSClient.java, | |
33356 | gnu/javax/crypto/key/srp6/SRP6TLSServer.java, | |
33357 | gnu/javax/crypto/key/srp6/SRP6User.java, | |
33358 | gnu/javax/crypto/key/srp6/SRPAlgorithm.java, | |
33359 | gnu/javax/crypto/key/srp6/SRPKey.java, | |
33360 | gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java, | |
33361 | gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java, | |
33362 | gnu/javax/crypto/key/srp6/SRPPrivateKey.java, | |
33363 | gnu/javax/crypto/key/srp6/SRPPublicKey.java, | |
33364 | gnu/javax/crypto/keyring/AuthenticatedEntry.java, | |
33365 | gnu/javax/crypto/keyring/BaseKeyring.java, | |
33366 | gnu/javax/crypto/keyring/BinaryDataEntry.java, | |
33367 | gnu/javax/crypto/keyring/CertPathEntry.java, | |
33368 | gnu/javax/crypto/keyring/CertificateEntry.java, | |
33369 | gnu/javax/crypto/keyring/CompressedEntry.java, | |
33370 | gnu/javax/crypto/keyring/EncryptedEntry.java, | |
33371 | gnu/javax/crypto/keyring/Entry.java, | |
33372 | gnu/javax/crypto/keyring/EnvelopeEntry.java, | |
33373 | gnu/javax/crypto/keyring/GnuPrivateKeyring.java, | |
33374 | gnu/javax/crypto/keyring/GnuPublicKeyring.java, | |
33375 | gnu/javax/crypto/keyring/IKeyring.java, | |
33376 | gnu/javax/crypto/keyring/IPrivateKeyring.java, | |
33377 | gnu/javax/crypto/keyring/IPublicKeyring.java, | |
33378 | gnu/javax/crypto/keyring/MalformedKeyringException.java, | |
33379 | gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java, | |
33380 | gnu/javax/crypto/keyring/MeteredInputStream.java, | |
33381 | gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java, | |
33382 | gnu/javax/crypto/keyring/PasswordEncryptedEntry.java, | |
33383 | gnu/javax/crypto/keyring/PasswordProtectedEntry.java, | |
33384 | gnu/javax/crypto/keyring/PrimitiveEntry.java, | |
33385 | gnu/javax/crypto/keyring/PrivateKeyEntry.java, | |
33386 | gnu/javax/crypto/keyring/Properties.java, | |
33387 | gnu/javax/crypto/keyring/PublicKeyEntry.java, | |
33388 | gnu/javax/crypto/mac/BaseMac.java, | |
33389 | gnu/javax/crypto/mac/HMac.java, | |
33390 | gnu/javax/crypto/mac/HMacFactory.java, | |
33391 | gnu/javax/crypto/mac/IMac.java, | |
33392 | gnu/javax/crypto/mac/MacFactory.java, | |
33393 | gnu/javax/crypto/mac/MacInputStream.java, | |
33394 | gnu/javax/crypto/mac/MacOutputStream.java, | |
33395 | gnu/javax/crypto/mac/OMAC.java, | |
33396 | gnu/javax/crypto/mac/TMMH16.java, | |
33397 | gnu/javax/crypto/mac/UHash32.java, | |
33398 | gnu/javax/crypto/mac/UMac32.java, | |
33399 | gnu/javax/crypto/mode/BaseMode.java, | |
33400 | gnu/javax/crypto/mode/CBC.java, | |
33401 | gnu/javax/crypto/mode/CFB.java, | |
33402 | gnu/javax/crypto/mode/CTR.java, | |
33403 | gnu/javax/crypto/mode/EAX.java, | |
33404 | gnu/javax/crypto/mode/ECB.java, | |
33405 | gnu/javax/crypto/mode/IAuthenticatedMode.java, | |
33406 | gnu/javax/crypto/mode/ICM.java, | |
33407 | gnu/javax/crypto/mode/IMode.java, | |
33408 | gnu/javax/crypto/mode/ModeFactory.java, | |
33409 | gnu/javax/crypto/mode/OFB.java, | |
33410 | gnu/javax/crypto/pad/BasePad.java, | |
33411 | gnu/javax/crypto/pad/IPad.java, | |
33412 | gnu/javax/crypto/pad/PKCS1_V1_5.java, | |
33413 | gnu/javax/crypto/pad/PKCS7.java, | |
33414 | gnu/javax/crypto/pad/PadFactory.java, | |
33415 | gnu/javax/crypto/pad/SSL3.java, | |
33416 | gnu/javax/crypto/pad/TBC.java, | |
33417 | gnu/javax/crypto/pad/TLS1.java, | |
33418 | gnu/javax/crypto/pad/WrongPaddingException.java, | |
33419 | gnu/javax/crypto/prng/ARCFour.java, | |
33420 | gnu/javax/crypto/prng/CSPRNG.java, | |
33421 | gnu/javax/crypto/prng/Fortuna.java, | |
33422 | gnu/javax/crypto/prng/ICMGenerator.java, | |
33423 | gnu/javax/crypto/prng/IPBE.java, | |
33424 | gnu/javax/crypto/prng/PBKDF2.java, | |
33425 | gnu/javax/crypto/prng/PRNGFactory.java, | |
33426 | gnu/javax/crypto/prng/UMacGenerator.java, | |
33427 | gnu/javax/crypto/sasl/AuthInfo.java, | |
33428 | gnu/javax/crypto/sasl/AuthInfoProviderFactory.java, | |
33429 | gnu/javax/crypto/sasl/ClientFactory.java, | |
33430 | gnu/javax/crypto/sasl/ClientMechanism.java, | |
33431 | gnu/javax/crypto/sasl/ConfidentialityException.java, | |
33432 | gnu/javax/crypto/sasl/IAuthInfoProvider.java, | |
33433 | gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java, | |
33434 | gnu/javax/crypto/sasl/IllegalMechanismStateException.java, | |
33435 | gnu/javax/crypto/sasl/InputBuffer.java, | |
33436 | gnu/javax/crypto/sasl/IntegrityException.java, | |
33437 | gnu/javax/crypto/sasl/NoSuchMechanismException.java, | |
33438 | gnu/javax/crypto/sasl/NoSuchUserException.java, | |
33439 | gnu/javax/crypto/sasl/OutputBuffer.java, | |
33440 | gnu/javax/crypto/sasl/SaslEncodingException.java, | |
33441 | gnu/javax/crypto/sasl/SaslInputStream.java, | |
33442 | gnu/javax/crypto/sasl/SaslOutputStream.java, | |
33443 | gnu/javax/crypto/sasl/SaslUtil.java, | |
33444 | gnu/javax/crypto/sasl/ServerFactory.java, | |
33445 | gnu/javax/crypto/sasl/ServerMechanism.java, | |
33446 | gnu/javax/crypto/sasl/UserAlreadyExistsException.java, | |
33447 | gnu/javax/crypto/sasl/anonymous/AnonymousClient.java, | |
33448 | gnu/javax/crypto/sasl/anonymous/AnonymousServer.java, | |
33449 | gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java, | |
33450 | gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java, | |
33451 | gnu/javax/crypto/sasl/crammd5/CramMD5Client.java, | |
33452 | gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java, | |
33453 | gnu/javax/crypto/sasl/crammd5/CramMD5Server.java, | |
33454 | gnu/javax/crypto/sasl/crammd5/CramMD5Util.java, | |
33455 | gnu/javax/crypto/sasl/crammd5/PasswordFile.java, | |
33456 | gnu/javax/crypto/sasl/plain/PasswordFile.java, | |
33457 | gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java, | |
33458 | gnu/javax/crypto/sasl/plain/PlainClient.java, | |
33459 | gnu/javax/crypto/sasl/plain/PlainRegistry.java, | |
33460 | gnu/javax/crypto/sasl/plain/PlainServer.java, | |
33461 | gnu/javax/crypto/sasl/srp/CALG.java, | |
33462 | gnu/javax/crypto/sasl/srp/ClientStore.java, | |
33463 | gnu/javax/crypto/sasl/srp/IALG.java, | |
33464 | gnu/javax/crypto/sasl/srp/KDF.java, | |
33465 | gnu/javax/crypto/sasl/srp/PasswordFile.java, | |
33466 | gnu/javax/crypto/sasl/srp/SRP.java, | |
33467 | gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java, | |
33468 | gnu/javax/crypto/sasl/srp/SRPClient.java, | |
33469 | gnu/javax/crypto/sasl/srp/SRPRegistry.java, | |
33470 | gnu/javax/crypto/sasl/srp/SRPServer.java, | |
33471 | gnu/javax/crypto/sasl/srp/SecurityContext.java, | |
33472 | gnu/javax/crypto/sasl/srp/ServerStore.java, | |
33473 | gnu/javax/crypto/sasl/srp/StoreEntry.java, | |
33474 | gnu/javax/net/ssl/Base64.java, | |
33475 | gnu/javax/net/ssl/EntropySource.java, | |
33476 | gnu/javax/net/ssl/NullManagerParameters.java, | |
33477 | gnu/javax/net/ssl/PrivateCredentials.java, | |
33478 | gnu/javax/net/ssl/SRPManagerParameters.java, | |
33479 | gnu/javax/net/ssl/SRPTrustManager.java, | |
33480 | gnu/javax/net/ssl/StaticTrustAnchors.java, | |
33481 | gnu/javax/net/ssl/provider/Alert.java, | |
33482 | gnu/javax/net/ssl/provider/AlertException.java, | |
33483 | gnu/javax/net/ssl/provider/Certificate.java, | |
33484 | gnu/javax/net/ssl/provider/CertificateRequest.java, | |
33485 | gnu/javax/net/ssl/provider/CertificateType.java, | |
33486 | gnu/javax/net/ssl/provider/CertificateVerify.java, | |
33487 | gnu/javax/net/ssl/provider/CipherSuite.java, | |
33488 | gnu/javax/net/ssl/provider/ClientHello.java, | |
33489 | gnu/javax/net/ssl/provider/ClientKeyExchange.java, | |
33490 | gnu/javax/net/ssl/provider/CompressionMethod.java, | |
33491 | gnu/javax/net/ssl/provider/Constructed.java, | |
33492 | gnu/javax/net/ssl/provider/ContentType.java, | |
33493 | gnu/javax/net/ssl/provider/Context.java, | |
33494 | gnu/javax/net/ssl/provider/DiffieHellman.java, | |
33495 | gnu/javax/net/ssl/provider/DigestInputStream.java, | |
33496 | gnu/javax/net/ssl/provider/DigestOutputStream.java, | |
33497 | gnu/javax/net/ssl/provider/Enumerated.java, | |
33498 | gnu/javax/net/ssl/provider/Extension.java, | |
33499 | gnu/javax/net/ssl/provider/Extensions.java, | |
33500 | gnu/javax/net/ssl/provider/Finished.java, | |
33501 | gnu/javax/net/ssl/provider/GNUSecurityParameters.java, | |
33502 | gnu/javax/net/ssl/provider/Handshake.java, | |
33503 | gnu/javax/net/ssl/provider/JCESecurityParameters.java, | |
33504 | gnu/javax/net/ssl/provider/JDBCSessionContext.java, | |
33505 | gnu/javax/net/ssl/provider/Jessie.java, | |
33506 | gnu/javax/net/ssl/provider/JessieDHPrivateKey.java, | |
33507 | gnu/javax/net/ssl/provider/JessieDHPublicKey.java, | |
33508 | gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java, | |
33509 | gnu/javax/net/ssl/provider/JessieRSAPublicKey.java, | |
33510 | gnu/javax/net/ssl/provider/KeyPool.java, | |
33511 | gnu/javax/net/ssl/provider/MacException.java, | |
33512 | gnu/javax/net/ssl/provider/OverflowException.java, | |
33513 | gnu/javax/net/ssl/provider/PRNG.java, | |
33514 | gnu/javax/net/ssl/provider/ProtocolVersion.java, | |
33515 | gnu/javax/net/ssl/provider/Random.java, | |
33516 | gnu/javax/net/ssl/provider/RecordInput.java, | |
33517 | gnu/javax/net/ssl/provider/RecordInputStream.java, | |
33518 | gnu/javax/net/ssl/provider/RecordOutputStream.java, | |
33519 | gnu/javax/net/ssl/provider/RecordingInputStream.java, | |
33520 | gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java, | |
33521 | gnu/javax/net/ssl/provider/SSLHMac.java, | |
33522 | gnu/javax/net/ssl/provider/SSLRSASignature.java, | |
33523 | gnu/javax/net/ssl/provider/SSLRandom.java, | |
33524 | gnu/javax/net/ssl/provider/SSLServerSocket.java, | |
33525 | gnu/javax/net/ssl/provider/SSLServerSocketFactory.java, | |
33526 | gnu/javax/net/ssl/provider/SSLSocket.java, | |
33527 | gnu/javax/net/ssl/provider/SSLSocketFactory.java, | |
33528 | gnu/javax/net/ssl/provider/SSLSocketInputStream.java, | |
33529 | gnu/javax/net/ssl/provider/SSLSocketOutputStream.java, | |
33530 | gnu/javax/net/ssl/provider/SecurityParameters.java, | |
33531 | gnu/javax/net/ssl/provider/ServerHello.java, | |
33532 | gnu/javax/net/ssl/provider/ServerKeyExchange.java, | |
33533 | gnu/javax/net/ssl/provider/Session.java, | |
33534 | gnu/javax/net/ssl/provider/SessionContext.java, | |
33535 | gnu/javax/net/ssl/provider/Signature.java, | |
33536 | gnu/javax/net/ssl/provider/SynchronizedRandom.java, | |
33537 | gnu/javax/net/ssl/provider/TLSHMac.java, | |
33538 | gnu/javax/net/ssl/provider/TLSRandom.java, | |
33539 | gnu/javax/net/ssl/provider/Util.java, | |
33540 | gnu/javax/net/ssl/provider/X509KeyManagerFactory.java, | |
33541 | gnu/javax/net/ssl/provider/X509TrustManagerFactory.java, | |
33542 | gnu/javax/net/ssl/provider/XMLSessionContext.java, | |
33543 | gnu/javax/security/auth/Password.java, | |
33544 | gnu/javax/security/auth/callback/AWTCallbackHandler.java, | |
33545 | gnu/javax/security/auth/callback/AbstractCallbackHandler.java, | |
33546 | gnu/javax/security/auth/callback/ConsoleCallbackHandler.java, | |
33547 | gnu/javax/security/auth/callback/DefaultCallbackHandler.java, | |
33548 | gnu/javax/security/auth/callback/GnuCallbacks.java, | |
33549 | gnu/javax/security/auth/callback/SwingCallbackHandler.java, | |
33550 | gnu/java/security/Registry.java, | |
33551 | gnu/java/security/Properties.java, | |
33552 | gnu/java/security/hash/BaseHash.java, | |
33553 | gnu/java/security/hash/HashFactory.java, | |
33554 | gnu/java/security/hash/Haval.java, | |
33555 | gnu/java/security/hash/IMessageDigest.java, | |
33556 | gnu/java/security/hash/MD2.java, | |
33557 | gnu/java/security/hash/MD4.java, | |
33558 | gnu/java/security/hash/MD5.java, | |
33559 | gnu/java/security/hash/RipeMD128.java, | |
33560 | gnu/java/security/hash/RipeMD160.java, | |
33561 | gnu/java/security/hash/Sha160.java, | |
33562 | gnu/java/security/hash/Sha256.java, | |
33563 | gnu/java/security/hash/Sha384.java, | |
33564 | gnu/java/security/hash/Sha512.java, | |
33565 | gnu/java/security/hash/Tiger.java, | |
33566 | gnu/java/security/hash/Whirlpool.java, | |
33567 | gnu/java/security/jce/hash/HavalSpi.java, | |
33568 | gnu/java/security/jce/hash/MD2Spi.java, | |
33569 | gnu/java/security/jce/hash/MD4Spi.java, | |
33570 | gnu/java/security/jce/hash/MD5Spi.java, | |
33571 | gnu/java/security/jce/hash/MessageDigestAdapter.java, | |
33572 | gnu/java/security/jce/hash/RipeMD128Spi.java, | |
33573 | gnu/java/security/jce/hash/RipeMD160Spi.java, | |
33574 | gnu/java/security/jce/hash/Sha160Spi.java, | |
33575 | gnu/java/security/jce/hash/Sha256Spi.java, | |
33576 | gnu/java/security/jce/hash/Sha384Spi.java, | |
33577 | gnu/java/security/jce/hash/Sha512Spi.java, | |
33578 | gnu/java/security/jce/hash/TigerSpi.java, | |
33579 | gnu/java/security/jce/hash/WhirlpoolSpi.java, | |
33580 | gnu/java/security/jce/prng/HavalRandomSpi.java, | |
33581 | gnu/java/security/jce/prng/MD2RandomSpi.java, | |
33582 | gnu/java/security/jce/prng/MD4RandomSpi.java, | |
33583 | gnu/java/security/jce/prng/MD5RandomSpi.java, | |
33584 | gnu/java/security/jce/prng/RipeMD128RandomSpi.java, | |
33585 | gnu/java/security/jce/prng/RipeMD160RandomSpi.java, | |
33586 | gnu/java/security/jce/prng/SecureRandomAdapter.java, | |
33587 | gnu/java/security/jce/prng/Sha160RandomSpi.java, | |
33588 | gnu/java/security/jce/prng/Sha256RandomSpi.java, | |
33589 | gnu/java/security/jce/prng/Sha384RandomSpi.java, | |
33590 | gnu/java/security/jce/prng/Sha512RandomSpi.java, | |
33591 | gnu/java/security/jce/prng/TigerRandomSpi.java, | |
33592 | gnu/java/security/jce/prng/WhirlpoolRandomSpi.java, | |
33593 | gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java, | |
33594 | gnu/java/security/jce/sig/DSSRawSignatureSpi.java, | |
33595 | gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java, | |
33596 | gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java, | |
33597 | gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java, | |
33598 | gnu/java/security/jce/sig/SignatureAdapter.java, | |
33599 | gnu/java/security/key/IKeyPairCodec.java, | |
33600 | gnu/java/security/key/IKeyPairGenerator.java, | |
33601 | gnu/java/security/key/KeyPairCodecFactory.java, | |
33602 | gnu/java/security/key/KeyPairGeneratorFactory.java, | |
33603 | gnu/java/security/key/dss/DSSKey.java, | |
33604 | gnu/java/security/key/dss/DSSKeyPairGenerator.java, | |
33605 | gnu/java/security/key/dss/DSSKeyPairRawCodec.java, | |
33606 | gnu/java/security/key/dss/DSSPrivateKey.java, | |
33607 | gnu/java/security/key/dss/DSSPublicKey.java, | |
33608 | gnu/java/security/key/dss/FIPS186.java, | |
33609 | gnu/java/security/key/rsa/GnuRSAKey.java, | |
33610 | gnu/java/security/key/rsa/GnuRSAPrivateKey.java, | |
33611 | gnu/java/security/key/rsa/GnuRSAPublicKey.java, | |
33612 | gnu/java/security/key/rsa/RSAKeyPairGenerator.java, | |
33613 | gnu/java/security/key/rsa/RSAKeyPairRawCodec.java, | |
33614 | gnu/java/security/prng/BasePRNG.java, | |
33615 | gnu/java/security/prng/EntropySource.java, | |
33616 | gnu/java/security/prng/IRandom.java, | |
33617 | gnu/java/security/prng/LimitReachedException.java, | |
33618 | gnu/java/security/prng/MDGenerator.java, | |
33619 | gnu/java/security/prng/PRNGFactory.java, | |
33620 | gnu/java/security/prng/RandomEvent.java, | |
33621 | gnu/java/security/prng/RandomEventListener.java, | |
33622 | gnu/java/security/sig/BaseSignature.java, | |
33623 | gnu/java/security/sig/ISignature.java, | |
33624 | gnu/java/security/sig/ISignatureCodec.java, | |
33625 | gnu/java/security/sig/SignatureFactory.java, | |
33626 | gnu/java/security/sig/dss/DSSSignature.java, | |
33627 | gnu/java/security/sig/dss/DSSSignatureRawCodec.java, | |
33628 | gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java, | |
33629 | gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java, | |
33630 | gnu/java/security/sig/rsa/EMSA_PSS.java, | |
33631 | gnu/java/security/sig/rsa/RSA.java, | |
33632 | gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java, | |
33633 | gnu/java/security/sig/rsa/RSAPSSSignature.java, | |
33634 | gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java, | |
33635 | gnu/java/security/util/Base64.java, | |
33636 | gnu/java/security/util/ExpirableObject.java, | |
33637 | gnu/java/security/util/Prime2.java, | |
33638 | gnu/java/security/util/Sequence.java, | |
33639 | gnu/java/security/util/SimpleList.java, | |
33640 | gnu/java/security/util/Util.java, | |
33641 | resource/gnu/javax/security/auth/callback/MessagesBundle.properties: | |
33642 | new files imported from GNU Crypto and Jessie. | |
33643 | ||
33644 | 2006-01-25 Tom Tromey <tromey@redhat.com> | |
33645 | ||
33646 | * gnu/java/net/protocol/http/ChunkedInputStream.java (read): | |
33647 | Fixed calculation of number of bytes to read. | |
33648 | (size, count, meta, eof): Document. | |
33649 | ||
33650 | 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com> | |
33651 | ||
33652 | * java/lang/Character.java: | |
33653 | (codePointCount(char[], int, int)): New API method. | |
33654 | (codePointCount(CharSequence, int, int)): Likewise. | |
97b8365c | 33655 | |
8aa540d2 | 33656 | 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 33657 | |
8aa540d2 MW |
33658 | PR 25205 |
33659 | * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): | |
33660 | Rewritten. | |
33661 | * javax/swing/JTree.java (stopEditing, cancelEditing): Return without | |
33662 | action if not editing. | |
33663 | * javax/swing/plaf/basic/BasicTreeUI.java | |
33664 | (CellEditorHandler.editingCancelled): Delegate to cancelEditing. | |
33665 | (CellEditorHandler.editingStopped): Delegate to stopEditing. | |
33666 | (EditorUpdateTimer): Removed. | |
33667 | (TreeAction.actionPerformed): Stop and not cancel the current editing | |
33668 | when starting editing another node. | |
33669 | (editorTimer, newVal): Removed. | |
33670 | (cancelEditing): Do not send the cancel message. | |
33671 | (completeEditing): Obtain the edited value from the editor. | |
33672 | (finish): New method. | |
33673 | (paintRow): Do not paint the editing component here. | |
33674 | (startEditing, stopEditing): Rewritten. | |
33675 | * javax/swing/tree/DefaultTreeCellEditor.java | |
33676 | (DefaultTextField): Added SVUID. | |
33677 | (EditorContainer): Rewritten. | |
33678 | (RealEditorListener): New inner class. | |
33679 | (ICON_TEXT_GAP, TREE_ICON_GAP: New constants). | |
33680 | (constructor): Add cell editor listener. Do not instantiate timer. | |
33681 | (actionPerformed): Return without action. | |
33682 | (cancelCellEditing): Rewritten. | |
33683 | (createTreeCellEditor): Add cell editor listener to the editor. | |
33684 | (getCellEditorValue): Request the value from the realEditor. | |
33685 | (isCellEditable): Removed timer management. | |
33686 | (prepareForEditing): Remove all components befor adding the | |
33687 | editingComponent. | |
33688 | (startEditingTimer): Start only if it is not null. | |
33689 | (stopCellEditing): Rewritten. | |
33690 | (stopEditingTimer): New method. | |
33691 | (valueChanged): Do not configure editing component here. | |
97b8365c | 33692 | |
8aa540d2 | 33693 | 2006-01-25 Roman Kennke <kennke@aicas.com> |
97b8365c | 33694 | |
8aa540d2 | 33695 | * javax/swing/text/html/FormView.java: New file. |
97b8365c | 33696 | |
8aa540d2 | 33697 | 2006-01-25 Roman Kennke <kennke@aicas.com> |
97b8365c | 33698 | |
8aa540d2 MW |
33699 | * javax/swing/JSplitPane.java |
33700 | (addImpl): Call resetToPreferredSizes() when no dividerLocation | |
33701 | has been set in order to set an initial layout. | |
33702 | * javax/swing/plaf/basic/BasicSplitPaneUI.java | |
33703 | (BasicHorizontalLayoutManager.layoutContainer): Fixed error for | |
33704 | layout of the right component. | |
33705 | (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the | |
33706 | dividerLocation to the size of the left component. | |
33707 | (createDefaultNonContinuousLayoutDivider): Fetch the color from | |
33708 | the UIManager. | |
33709 | (setDividerLocation): Don't validate the location here. Sometimes | |
33710 | the divider needs to be set to an invalid location. | |
33711 | (startDragging): Don't revalidate and repaint here. | |
33712 | (finishDraggingTo): Don't repaint here. Also, don't call | |
33713 | dragDividerTo() here. | |
33714 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
33715 | (initComponentDefaults): Added SplitPaneDivider.draggingColor | |
33716 | default value. | |
97b8365c | 33717 | |
8aa540d2 | 33718 | 2006-01-25 Roman Kennke <kennke@aicas.com> |
97b8365c | 33719 | |
8aa540d2 MW |
33720 | * javax/swing/JSplitPane.java |
33721 | (addImpl): Removed invalidate() and layout() call. | |
33722 | * javax/swing/plaf/basic/BasicSplitPaneUI.java | |
33723 | (PropertyHandler.propertyChange): Remove layoutContainer() and | |
33724 | repaint() call. | |
97b8365c | 33725 | |
8aa540d2 | 33726 | 2006-01-25 Roman Kennke <kennke@aicas.com> |
97b8365c | 33727 | |
8aa540d2 MW |
33728 | * configure.ac |
33729 | * native/Makefile.am | |
33730 | * native/jni/classpath/Makefile.am | |
33731 | * native/jni/classpath/jcl.c | |
33732 | * native/jni/classpath/jcl.h | |
33733 | * native/jni/classpath/native_state.c | |
33734 | * native/jni/gtk-peer/Makefile.am | |
33735 | * native/jni/java-io/Makefile.am | |
33736 | * native/jni/java-io/java_io_VMFile.c | |
33737 | * native/jni/java-io/java_io_VMObjectStreamClass.c | |
33738 | * native/jni/java-lang/Makefile.am | |
33739 | * native/jni/java-net/Makefile.am | |
33740 | * native/jni/java-net/java_net_VMInetAddress.c | |
33741 | * native/jni/java-net/javanet.c | |
33742 | * native/jni/java-net/javanet.h | |
33743 | * native/jni/java-nio/Makefile.am | |
33744 | * native/jni/java-nio/gnu_java_nio_VMPipe.c | |
33745 | * native/jni/java-nio/gnu_java_nio_VMSelector.c | |
33746 | * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c | |
33747 | * native/jni/java-nio/java_nio_MappedByteBufferImpl.c | |
33748 | * native/jni/java-nio/java_nio_VMDirectByteBuffer.c | |
33749 | * native/jni/java-util/Makefile.am | |
33750 | * native/jni/java-util/java_util_VMTimeZone.c | |
33751 | * native/jni/midi-dssi/Makefile.am | |
33752 | * native/jni/xmlj/Makefile.am | |
33753 | * native/target/Makefile.am | |
33754 | * native/target/Linux/target_native_math.h | |
33755 | * native/target/Linux/target_native_memory.h | |
33756 | * native/target/Linux/Makefile.am | |
33757 | * native/target/Linux/target_native_io.h | |
33758 | * native/target/Linux/target_native_math_float.h | |
33759 | * native/target/Linux/target_native_math_int.h | |
33760 | * native/target/generic/target_generic.c | |
33761 | * native/target/generic/target_generic_io.c | |
33762 | * native/target/generic/target_generic_math.h | |
33763 | * native/target/generic/target_generic_memory.h | |
33764 | * native/target/generic/target_generic_misc.c | |
33765 | * native/target/generic/target_generic_network.c | |
33766 | * native/target/generic/Makefile.am | |
33767 | * native/target/generic/target_generic.h | |
33768 | * native/target/generic/target_generic_file.h | |
33769 | * native/target/generic/target_generic_io.h | |
33770 | * native/target/generic/target_generic_math_float.h | |
33771 | * native/target/generic/target_generic_math_int.h | |
33772 | * native/target/generic/target_generic_misc.h | |
33773 | * native/target/generic/target_generic_network.h: | |
33774 | Reverted target native related changes back to the state of the | |
33775 | 0.20 release. | |
33776 | * native/target/MinGW/.cvsignore | |
33777 | * native/target/MinGW/Makefile.am | |
33778 | * native/target/MinGW/target_native.h | |
33779 | * native/target/MinGW/target_native_file.h | |
33780 | * native/target/MinGW/target_native_io.h | |
33781 | * native/target/MinGW/target_native_math.h | |
33782 | * native/target/MinGW/target_native_memory.h | |
33783 | * native/target/MinGW/target_native_misc.h | |
33784 | * native/target/MinGW/target_native_network.h | |
33785 | * native/target/RTEMS/.cvsignore | |
33786 | * native/target/RTEMS/Makefile.am | |
33787 | * native/target/RTEMS/target_native.h | |
33788 | * native/target/RTEMS/target_native_file.h | |
33789 | * native/target/RTEMS/target_native_io.h | |
33790 | * native/target/RTEMS/target_native_math.h | |
33791 | * native/target/RTEMS/target_native_memory.h | |
33792 | * native/target/RTEMS/target_native_misc.h | |
33793 | * native/target/RTEMS/target_native_network.h | |
33794 | * native/target/SunOS/.cvsignore | |
33795 | * native/target/SunOS/Makefile.am | |
33796 | * native/target/SunOS/target_native.h | |
33797 | * native/target/SunOS/target_native_file.h | |
33798 | * native/target/SunOS/target_native_io.h | |
33799 | * native/target/SunOS/target_native_math.h | |
33800 | * native/target/SunOS/target_native_memory.h | |
33801 | * native/target/SunOS/target_native_misc.h | |
33802 | * native/target/SunOS/target_native_network.h | |
33803 | * native/target/embOS/.cvsignore | |
33804 | * native/target/embOS/Makefile.am | |
33805 | * native/target/embOS/target_native.h | |
33806 | * native/target/embOS/target_native_file.h | |
33807 | * native/target/embOS/target_native_io.c | |
33808 | * native/target/embOS/target_native_io.h | |
33809 | * native/target/embOS/target_native_math.h | |
33810 | * native/target/embOS/target_native_memory.h | |
33811 | * native/target/embOS/target_native_misc.h | |
33812 | * native/target/embOS/target_native_network.h | |
33813 | * native/target/posix/.cvsignore | |
33814 | * native/target/posix/Makefile.am | |
33815 | * native/target/posix/target_posix.c | |
33816 | * native/target/posix/target_posix.h | |
33817 | * native/target/posix/target_posix_file.c | |
33818 | * native/target/posix/target_posix_file.h | |
33819 | * native/target/posix/target_posix_io.c | |
33820 | * native/target/posix/target_posix_io.h | |
33821 | * native/target/posix/target_posix_math.c | |
33822 | * native/target/posix/target_posix_math.h | |
33823 | * native/target/posix/target_posix_memory.c | |
33824 | * native/target/posix/target_posix_memory.h | |
33825 | * native/target/posix/target_posix_misc.c | |
33826 | * native/target/posix/target_posix_misc.h | |
33827 | * native/target/posix/target_posix_network.c | |
33828 | * native/target/posix/target_posix_network.h: | |
33829 | Removed. | |
97b8365c | 33830 | |
8aa540d2 | 33831 | 2006-01-24 Wolfgang Baer <WBaer@gmx.de> |
97b8365c | 33832 | |
8aa540d2 MW |
33833 | * javax/print/PrintService.java, |
33834 | * javax/print/DocPrintJob.java, | |
33835 | * javax/print/CancelablePrintJob.java: | |
33836 | Added and enhanced api documentation for class and methods. | |
33837 | ||
33838 | 2006-01-24 Wolfgang Baer <WBaer@gmx.de> | |
33839 | ||
33840 | * javax/print/SimpleDoc.java: Make class final. | |
33841 | * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise. | |
33842 | * javax/print/attribute/DateTimeSyntax.java: | |
33843 | (toString): New overridden method. | |
33844 | * javax/print/attribute/standard/JobStateReasons.java: | |
33845 | (add): Use the super.add method to avoid recursion. | |
33846 | * javax/print/attribute/standard/PrinterStateReasons.java: | |
33847 | (put): Use the super.put method to avoid recursion. | |
33848 | ||
33849 | 2006-01-24 Robert Schuster <robertschuster@fsfe.org> | |
33850 | ||
33851 | * java/beans/XMLEncoder.java: | |
33852 | (writeExpression): Added early return (fixes PR #25941). | |
33853 | (setExceptionListener, anonymous Class): Removed printStackTrace | |
33854 | call. | |
33855 | * java/beans/Encoder: Removed unused imports. | |
33856 | (setupDefaultPersistenceDelegates): Removed unneccessary | |
33857 | PersistenceDelegates for subclasses. | |
33858 | * java/beans/PersistenceDelegate: | |
33859 | (initialize): Use local variable as first argument as it was | |
33860 | intended once. | |
33861 | * java/beans/DefaultPersistenceDelegate: | |
33862 | (initialize): Added call to superclass' implementation, added | |
33863 | early return. | |
97b8365c | 33864 | |
8aa540d2 | 33865 | 2006-01-24 Tom Tromey <tromey@redhat.com> |
97b8365c | 33866 | |
8aa540d2 MW |
33867 | * java/util/regex/PatternSyntaxException.java: Added @since. |
33868 | * java/util/regex/Matcher.java (Matcher): Implements MatchResult. | |
33869 | * java/util/regex/MatchResult.java: New file. | |
97b8365c | 33870 | |
8aa540d2 | 33871 | 2006-01-24 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 33872 | |
8aa540d2 MW |
33873 | * javax/swing/text/StringContent.java: Added API docs all over, plus |
33874 | minor reformatting. | |
97b8365c | 33875 | |
8aa540d2 | 33876 | 2006-01-24 Gary Benson <gbenson@redhat.com> |
97b8365c | 33877 | |
8aa540d2 | 33878 | * java/net/SocketPermission.java: Implemented serialization. |
97b8365c | 33879 | |
8aa540d2 | 33880 | 2006-01-24 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 33881 | |
8aa540d2 MW |
33882 | * javax/swing/text/StringContent.java |
33883 | (remove): Modified argument check to prevent removal of last character, | |
33884 | (getChars): Removed null argument check to allow NullPointerException, | |
33885 | added API docs, | |
33886 | (checkLocation): Added API docs and white space. | |
97b8365c | 33887 | |
8aa540d2 | 33888 | 2006-01-23 Lillian Angel <langel@redhat.com> |
97b8365c | 33889 | |
8aa540d2 MW |
33890 | * javax/swing/text/DefaultStyledDocument.java |
33891 | (insertUpdate): Should only call createFracture with | |
33892 | StartTagType. Added check. | |
33893 | (insertContentTag): Should use the tags length for splitting. | |
33894 | Also, added a check to determine if current's start and end offset are | |
33895 | equal to the offset and endOffset. If so, only one leaf element | |
33896 | should be added. | |
33897 | (createFracture): Removed FIXME. This function is complete. | |
33898 | (split): Added calls to replace. Changed so the child is | |
33899 | added immediately to the paragraph. Prevents NPEs. | |
33900 | ||
33901 | 2006-01-23 Mark Wielaard <mark@klomp.org> | |
33902 | ||
33903 | * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands. | |
33904 | ||
33905 | 2006-01-23 Tom Tromey <tromey@redhat.com> | |
33906 | ||
33907 | * gnu/java/security/x509/X509Certificate.java (parse): | |
33908 | Unconditionally read value; for version==1 case when reading | |
33909 | algorithm ID. | |
33910 | ||
33911 | 2006-01-23 Roman Kennke <kennke@aicas.com> | |
33912 | ||
33913 | * javax/swing/plaf/synth/ColorType.java, | |
33914 | * javax/swing/plaf/synth/Region.java, | |
33915 | * javax/swing/plaf/synth/SynthConstants.java, | |
33916 | * javax/swing/plaf/synth/SynthContext.java | |
33917 | * javax/swing/plaf/synth/SynthGraphicsUtils.java, | |
33918 | * javax/swing/plaf/synth/SynthLookAndFeel.java, | |
33919 | * javax/swing/plaf/synth/SynthPainter.java, | |
33920 | * javax/swing/plaf/synth/SynthStyle.java, | |
33921 | * javax/swing/plaf/synth/SynthStyleFactory.java, | |
33922 | * javax/swing/plaf/synth/package.html: | |
33923 | New files. Added the public API and framework classes for the | |
33924 | Synth look and feel. | |
97b8365c | 33925 | |
8aa540d2 | 33926 | 2006-01-23 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 33927 | |
8aa540d2 | 33928 | * javax/swing/text/Segment.java: API docs all over. |
97b8365c | 33929 | |
8aa540d2 | 33930 | 2006-01-23 Lillian Angel <langel@redhat.com> |
97b8365c | 33931 | |
8aa540d2 MW |
33932 | * javax/swing/text/DefaultStyledDocument.java |
33933 | (split): Should not use createLeafElement and createBranchElement here. | |
33934 | We should just instaniate the LeafElements and BranchElements instead | |
33935 | to avoid the case where create*Element is overridden. | |
97b8365c | 33936 | |
8aa540d2 | 33937 | 2006-01-23 Lillian Angel <langel@redhat.com> |
97b8365c | 33938 | |
8aa540d2 MW |
33939 | * javax/swing/text/DefaultStyledDocument.java |
33940 | (insertFirstContentTag): Moved check outside of if-statement. | |
33941 | This should be checked before creating the new leaf element. | |
33942 | (insertFracture): Fixed check to prevent an NPE. The previous | |
33943 | leaf should only be recreated if it has been created by | |
33944 | insertFirstContentTag. Also, fixed up code: if the endOffset is | |
33945 | greater than the offset, then we need to create a temp leaf | |
33946 | as a place holder. Otherwise, the leaf elements should be | |
33947 | created normally. | |
97b8365c | 33948 | |
8aa540d2 | 33949 | 2006-01-23 Gary Benson <gbenson@redhat.com> |
97b8365c | 33950 | |
8aa540d2 | 33951 | * java/net/SocketPermission.java: Almost completely rewritten. |
97b8365c | 33952 | |
8aa540d2 | 33953 | 2006-01-23 Lillian Angel <langel@redhat.com> |
97b8365c | 33954 | |
8aa540d2 MW |
33955 | * javax/swing/text/DefaultStyledDocument.java |
33956 | (insertFracture): Set temp leaf's attributes to prevent an NPE. | |
97b8365c | 33957 | |
8aa540d2 | 33958 | 2006-01-23 Lillian Angel <langel@redhat.com> |
97b8365c | 33959 | |
8aa540d2 MW |
33960 | * javax/swing/text/DefaultStyledDocument.java: |
33961 | Formatted ElementBuffer and added new fields. | |
33962 | (remove): Added check to determine if length is 0. | |
33963 | (insertFirstContentTag): Initialized firstCreated to the element that is created | |
33964 | by the first tag encountered. Removed check in JoinPreviousDirection case, no | |
33965 | longer needed. In OriginateDirection case, added a loop to remove all old leafs | |
33966 | that have been recreated. | |
33967 | (insertContentTag): Cleaned up code. Removed checks that did not do anything. | |
33968 | (insertFracture): Fixed up code, removed unneeded objects and checks. Added | |
33969 | FIXME tags to the lines that need to be rewritten. | |
33970 | ||
33971 | 2006-01-23 Mark Wielaard <mark@klomp.org> | |
33972 | ||
33973 | * examples/Makefile.am: Add support for fastjar. | |
33974 | ||
33975 | 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
33976 | ||
33977 | * gnu/regexp/REToken.java(empty): Made Cloneable. | |
33978 | * gnu/regexp/RETokenOneOf.java(match): RE.java(match): | |
33979 | Use separate methods matchN and matchP depending on the | |
33980 | boolean negative. | |
33981 | (matchN): New method used when negative. Done as before. | |
33982 | (matchP): New method used when not negative. Each token is | |
33983 | tried not by itself but by a clone of it. | |
33984 | ||
33985 | 2006-01-23 Chris Burdess <dog@gnu.org> | |
33986 | ||
33987 | Fixes bug #25906 | |
33988 | * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list | |
33989 | class to avoid getLength method contention. | |
33990 | * gnu/xml/stream/SAXParser.java: Rethrow correct exception. | |
33991 | ||
33992 | 2006-01-23 Chris Burdess <dog@gnu.org> | |
33993 | ||
33994 | * native/jni/java-util/Makefile.am: Include library required | |
33995 | explicitly by BSD systems. | |
33996 | * native/target/generic/target_generic_misc.h: Remove old commented | |
33997 | out code. | |
33998 | * native/target/generic/target_generic_network.h: Fallbacks (to | |
33999 | SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL. | |
34000 | ||
34001 | 2006-01-22 Tom Tromey <tromey@redhat.com> | |
34002 | ||
34003 | * native/target/posix/.cvsignore: Added .deps. | |
34004 | ||
34005 | 2006-01-22 Mark Wielaard <mark@klomp.org> | |
34006 | ||
34007 | Fixes bug #25832, | |
34008 | reported by James Damour <James.Damour@corp.request.com> | |
34009 | * java/awt/Container.java (addImpl): Use empty string as name when | |
34010 | null constraints for LayoutManager.addLayoutComponent(). | |
34011 | ||
34012 | 2006-01-22 Chris Burdess <dog@gnu.org> | |
34013 | ||
34014 | Fixes bug #25903 | |
34015 | * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL | |
34016 | representing current directory as base for relative URLs. | |
34017 | ||
34018 | 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
34019 | ||
34020 | Fixes bug #25837 | |
34021 | * gnu/regexp/REMatch.java(empty): New boolean indicating | |
34022 | an empty string matched. | |
34023 | * gnu/regexp/RE.java(match): Sets empty flag when an empty | |
34024 | string matched. | |
34025 | (initialize): Support back reference \10, \11, and so on. | |
34026 | (parseInt): renamed from getEscapedChar and returns int. | |
34027 | * gnu/regexp/RETokenRepeated.java(match): Sets empty flag | |
34028 | when an empty string matched. Fixed a bug of the case where | |
34029 | an empty string matched. Added special handling of {0}. | |
34030 | * gnu/regexp/RETokenBackRef.java(match): Sets empty flag | |
34031 | when an empty string matched. Fixed the case insensitive matching. | |
97b8365c | 34032 | |
8aa540d2 | 34033 | 2006-01-21 Roman Kennke <kennke@aicas.com> |
97b8365c | 34034 | |
8aa540d2 MW |
34035 | * javax/swing/plaf/metal/MetalSplitPaneDivider.java |
34036 | (paint): Added painting of border if one is installed. | |
97b8365c | 34037 | |
8aa540d2 | 34038 | 2006-01-21 Roman Kennke <kennke@aicas.com> |
97b8365c | 34039 | |
8aa540d2 MW |
34040 | PR classpath/25843: |
34041 | * javax/swing/plaf/basic/BasicBorders.java | |
34042 | (getSplitPaneDividerBorder): Use new border constructor | |
34043 | without arguments. | |
34044 | (SplitPaneDividerBorder.highlight): Removed unneeded field. | |
34045 | (SplitPaneDividerBorder.shadow): Removed unneeded field. | |
34046 | (SplitPaneDividerBorder()): Changed constructor to do nothing. The | |
34047 | colors are fetched dynamically in the paintBorder method. | |
34048 | (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from | |
34049 | the look and feel. | |
34050 | (SplitPaneDividerBorder.isBorderOpaque): Returns true | |
34051 | unconditionally. | |
34052 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
34053 | (initComponentDefaults): Added default for SplitPaneDivider.border. | |
34054 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
34055 | (tmpBorder): Removed unneeded inner class. | |
34056 | (BasicSplitPaneDivider): Removed setting of border. | |
34057 | (setSplitPaneUI): Don't add the mouse handler to the splitpane | |
34058 | itself. | |
34059 | * javax/swing/plaf/basic/BasicSplitPaneUI.java | |
34060 | (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten | |
34061 | to get behaviour right. | |
34062 | (BasicHorizontalLayoutManager.distributeExtraSpace): Removed | |
34063 | implementation. This must be rewritten since the layout now works | |
34064 | slightly different (basically, it shouldn't modify the sizes[] | |
34065 | here but instead the dividerLocation. | |
34066 | (dividerLocation): New field. | |
34067 | (installDefaults): Initialize border on divider. | |
34068 | (uninstallDefaults): Only remove background color and border from | |
34069 | splitPane if they are instances of UIDefaults (== not set by | |
34070 | application). | |
34071 | (setDividerLocation): Set the dividerLocation field instead of | |
34072 | doing stunt acts here. | |
34073 | (getDividerLocation): Return dividerLocation field. | |
34074 | (getMinimumDividerLocation): Fixed calculation of minimum location. | |
34075 | ||
34076 | 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org> | |
97b8365c | 34077 | |
8aa540d2 MW |
34078 | * m4/acinclude.m4 |
34079 | (CLASSPATH_WITH_GLIBJ): Add support for fastjar. | |
97b8365c | 34080 | |
8aa540d2 | 34081 | * lib/Makefile.am: Likewise. |
97b8365c | 34082 | |
8aa540d2 | 34083 | 2006-01-21 Roman Kennke <kennke@aicas.com> |
97b8365c | 34084 | |
8aa540d2 MW |
34085 | * javax/swing/PopupFactory.java |
34086 | (getPopup): If there is no Swing root found in any way, use a | |
34087 | heavyweight popup. This is useful for mixed Swing/AWT GUIs, or | |
34088 | for the Swing AWT peers. | |
97b8365c | 34089 | |
8aa540d2 | 34090 | 2006-01-20 Tom Tromey <tromey@redhat.com> |
97b8365c | 34091 | |
8aa540d2 MW |
34092 | * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): |
34093 | Read response body for redirect. | |
97b8365c | 34094 | |
8aa540d2 | 34095 | 2006-01-20 Chris Burdess <dog@gnu.org> |
97b8365c | 34096 | |
8aa540d2 MW |
34097 | * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow |
34098 | redirects on 304. | |
97b8365c | 34099 | |
8aa540d2 | 34100 | 2006-01-20 Lillian Angel <langel@redhat.com> |
97b8365c | 34101 | |
8aa540d2 MW |
34102 | * javax/swing/text/DefaultStyledDocument.java |
34103 | (pad): Removed, not needed. | |
34104 | (printElements): Likewise. | |
34105 | (printEdit): Likewise. | |
97b8365c | 34106 | |
8aa540d2 | 34107 | 2006-01-20 Roman Kennke <kennke@aicas.com> |
97b8365c | 34108 | |
8aa540d2 MW |
34109 | * javax/swing/text/DefaultFormatter.java |
34110 | (DefaultFormatter): Don't set a value class. | |
97b8365c | 34111 | |
8aa540d2 | 34112 | 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 34113 | |
8aa540d2 | 34114 | * javax/swing/DefaultCellEditor.java: Commented. |
97b8365c | 34115 | |
8aa540d2 | 34116 | 2006-01-19 Roman Kennke <kennke@aicas.com> |
97b8365c | 34117 | |
8aa540d2 MW |
34118 | * javax/swing/JOptionPane.java |
34119 | Added cast to Frame for JDialog constructor. | |
97b8365c | 34120 | |
8aa540d2 | 34121 | 2006-01-19 Roman Kennke <kennke@aicas.com> |
97b8365c | 34122 | |
8aa540d2 MW |
34123 | * javax/swing/JWindow.java |
34124 | (JWindow(Window)): Fixed to accept null owner argument. | |
34125 | (JWindow(Window,GraphicsConfiguration)): Fixed to accept null | |
34126 | owner argument. | |
34127 | * javax/swing/SwingUtilities.java | |
34128 | (getOwnerFrame): Owner parameter and return value are fixed to | |
34129 | be of type Window for compatibity with the above JWindow | |
34130 | constructor. | |
34131 | * javax/swing/JDialog.java | |
34132 | (JDialog): Added cast to Frame to make sure the correct constructor | |
34133 | is called. | |
34134 | * javax/swing/JFileChooser.java | |
34135 | (createDialog): Added cast to Frame for JDialog constructor. | |
97b8365c | 34136 | |
8aa540d2 | 34137 | 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 34138 | |
8aa540d2 | 34139 | * javax/swing/JTable.java (rowAtPoint): Rewritten. |
97b8365c | 34140 | |
8aa540d2 | 34141 | 2006-01-19 Roman Kennke <kennke@aicas.com> |
97b8365c | 34142 | |
8aa540d2 | 34143 | * javax/swing/JWindow.java: Added API docs to the constructors. |
97b8365c | 34144 | |
8aa540d2 | 34145 | 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 34146 | |
8aa540d2 MW |
34147 | * javax/swing/JTable.java: Commenting method headers. |
34148 | (EditorUpdateTimer): Removed. | |
97b8365c | 34149 | |
8aa540d2 | 34150 | 2006-01-19 Roman Kennke <kennke@aicas.com> |
97b8365c | 34151 | |
8aa540d2 MW |
34152 | * javax/swing/JDialog.java |
34153 | (JDialog()): Call SwingUtilities.getOwnerFrame() with null. | |
34154 | (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call | |
34155 | SwingUtilities.getOwnerFrame() with the owner argument. | |
34156 | * javax/swing/JFileChooser.java | |
34157 | (showOpenDialog(Component)): Call pack() on the dialog instead of | |
34158 | setting a fixed height. | |
34159 | (showSaveDialog()): Likewise. | |
34160 | (showDialog()): Likewise. | |
34161 | (createDialog): Call SwingUtilities.getOwnerFrame() with null. | |
34162 | * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame() | |
34163 | with null. | |
34164 | * javax/swing/JWindow.java | |
34165 | (JWindow()): Call SwingUtilities.getOwnerFrame() with null. | |
34166 | (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner | |
34167 | argument. | |
34168 | * javax/swing/SwingUtilities.java | |
34169 | (getOwnerFrame): Changed to take a owner parameter that is returned | |
34170 | as owner frame when not null. | |
97b8365c | 34171 | |
8aa540d2 | 34172 | 2006-01-19 Roman Kennke <kennke@aicas.com> |
97b8365c | 34173 | |
8aa540d2 MW |
34174 | * gnu/java/awt/peer/swing/SwingFramePeer.java |
34175 | (handleMouseEvent): Fixed handling of mouse events. | |
34176 | (handleMouseMotionEvent): Fixed handling of mouse events. | |
34177 | ||
34178 | 2006-01-19 Roman Kennke <kennke@aicas.com> | |
34179 | ||
34180 | * native/target/generic/target_generic_misc.c: | |
34181 | (targetGenericMisc_formatString): Added missing method. | |
34182 | ||
34183 | 2006-01-19 Wolfgang Baer <WBaer@gmx.de> | |
34184 | ||
34185 | * m4/acinclude.m4: Test also for ecj found before exiting configure | |
34186 | with no javac found error message. | |
34187 | ||
34188 | 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
34189 | ||
34190 | Fixes bug #23212 | |
34191 | * gnu/regexp/RE.java(initialize): Support escaped characters such as | |
34192 | \0123, \x1B, \u1234. | |
34193 | (getEscapedChar): New method. | |
34194 | (CharExpression): New inner class. | |
34195 | (getCharExpression): New Method. | |
34196 | * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR, | |
34197 | RE_UNICODE_CHAR): New syntax bits. | |
34198 | ||
34199 | 2006-01-19 Roman Kennke <kennke@aicas.com> | |
34200 | ||
34201 | * native/target/Makefile.am: Fixed so that posix stuff is really | |
34202 | only built when requested. | |
34203 | ||
34204 | 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
34205 | ||
34206 | * javax/swing/JTable.java (editingStopped, editingCancelled): | |
34207 | Repaint the edited cell. | |
34208 | (setValueAt): Do not add the value object to this container. | |
34209 | (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed. | |
34210 | (editingStopped): Use editingRow, editingColumn and not | |
34211 | rowBeingEdited, columnBeingEdited. (editValueAt): rewritten. | |
34212 | (doLayout): Move the editor component, if present, into the new | |
34213 | location and call repaint(). (moveToCellBeingEdited): new method. | |
34214 | (TableTextField): new inner class. | |
34215 | (getDefaultEditor): Instantiante TableTextField, not JTextField. | |
34216 | (setValueAt): Repaint the changed segment. | |
34217 | (createDefaultEditors): Implemented. | |
34218 | (BooleanCellRenderer): Center the checkbox and use the default foreground | |
34219 | and background colors. | |
34220 | * javax/swing/plaf/basic/BasicTableUI.java | |
34221 | (paintCell): Do not paint the caret here. Do not accept unused parameters. | |
34222 | (paint): No need to allocate rectangle for each cell. | |
34223 | * javax/swing/DefaultCellEditor.java: Rewritten. | |
34224 | * examples/gnu/classpath/examples/swing/Demo.java (mkTable): | |
34225 | Use TableDemo.java table example. | |
34226 | * examples/gnu/classpath/examples/swing/TableDemo.java: New file. | |
34227 | ||
34228 | 2006-01-19 Roman Kennke <kennke@aicas.com> | |
34229 | ||
34230 | * configure.ac: Added/fixed --enable-posix-layer option to enable | |
34231 | build of posix layer. | |
34232 | * native/target/Makefile.am: Added build for posix layer. | |
34233 | ||
34234 | 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at> | |
34235 | ||
34236 | * configure.ac: Set TARGET to Linux per default. | |
34237 | * native/target/Makefile.am (libtarget_la_LIBADD): Removed | |
34238 | libtargetos.la. | |
34239 | * native/target/Linux/Makefile.am: Don't build a libtargetos.la. | |
34240 | * native/target/generic/Makefile.am (INCLUDES): Renamed to | |
34241 | AM_CPPFLAGS. | |
34242 | ||
34243 | 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au> | |
34244 | ||
34245 | * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced | |
34246 | what looked like proprietary documentation with original or new one. | |
34247 | * java/security/spec/PSSParameterSpec.java: Likewise. | |
34248 | * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise. | |
34249 | * java/security/spec/RSAOtherPrimeInfo.java: Likewise. | |
34250 | * java/security/AlgorithmParameterGenerator.java: Likewise. | |
34251 | * java/security/AlgorithmParameters.java: Likewise. | |
34252 | * java/security/Identity.java: Likewise. | |
34253 | * java/security/IdentityScope.java: Likewise. | |
34254 | * java/security/KeyFactory.java: Likewise. | |
34255 | * java/security/KeyPairGenerator.java: Likewise. | |
34256 | * java/security/MessageDigest.java: Likewise. | |
34257 | * java/security/Policy.java: Likewise. | |
34258 | * java/security/ProtectionDomain.java: Likewise. | |
34259 | * java/security/Security.java: Likewise. | |
34260 | * java/security/Signature.java: Likewise. | |
34261 | * java/security/SignatureSpi.java: Likewise. | |
34262 | * java/security/SignedObject.java: Likewise. | |
34263 | * java/security/Signer.java: Likewise. | |
97b8365c | 34264 | |
8aa540d2 | 34265 | 2006-01-18 Roman Kennke <kennke@aicas.com> |
97b8365c | 34266 | |
8aa540d2 MW |
34267 | * configure.ac: Added --enable-posix-layer option to enable |
34268 | build of the posix target layer. | |
97b8365c | 34269 | |
8aa540d2 | 34270 | 2006-01-18 Roman Kennke <kennke@aicas.com> |
97b8365c | 34271 | |
8aa540d2 MW |
34272 | * native/jni/java-net/java_net_VMInetAddress.c |
34273 | (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro | |
34274 | for INADDR_ANY. | |
97b8365c | 34275 | |
8aa540d2 | 34276 | 2006-01-18 Roman Kennke <kennke@aicas.com> |
97b8365c | 34277 | |
8aa540d2 MW |
34278 | * native/jni/java-util/java_util_VMTimeZone.c: |
34279 | (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten | |
34280 | to use target native layer. | |
34281 | (jint_to_charbuf): Removed unneeded helper function. | |
97b8365c | 34282 | |
8aa540d2 | 34283 | 2006-01-18 Roman Kennke <kennke@aicas.com> |
97b8365c | 34284 | |
8aa540d2 MW |
34285 | * native/jni/java-nio/gnu_java_nio_VMPipe.c: |
34286 | Removed unnecessary include. | |
34287 | * native/jni/java-nio/gnu_java_nio_VMSelector.c: | |
34288 | Reorganized includes to only include sys/* headers when available. | |
34289 | * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: | |
34290 | (get_pagesize): Return 0 when nothing else works. | |
34291 | (Java_java_nio_MappedByteBufferImpl_unmapImpl): | |
34292 | Replaced munmap() and strerror() with corresponding target macros. | |
34293 | (Java_java_nio_MappedByteBufferImpl_isLoadedImpl): | |
34294 | Replaced strerror() with corresponding target macro. | |
34295 | (Java_java_nio_MappedByteBufferImpl_forceImpl): | |
34296 | Replaced strerror() with corresponding target macro. | |
34297 | * native/jni/java-nio/java_nio_VMDirectByteBuffer.c: | |
34298 | (Java_java_nio_VMDirectByteBuffer_allocate): | |
34299 | Replaced malloc() with the corresponding target macro. | |
34300 | (Java_java_nio_VMDirectByteBuffer_free): | |
34301 | Replaced free() with the corresponding target macro. | |
34302 | (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB): | |
34303 | Add index to pointer when assigning the value. | |
34304 | (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII): | |
34305 | Replaced memcpy with corresponding target macro. Add index when | |
34306 | doing the memcpy, not when fetching the pointer. | |
34307 | (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII): | |
34308 | Replaced memcpy with corresponding target macro. | |
34309 | (Java_java_nio_VMDirectByteBuffer_shiftDown): | |
34310 | Replaced memmove with the corresponding target macro. | |
34311 | ||
34312 | 2006-01-17 Tom Tromey <tromey@redhat.com> | |
34313 | ||
34314 | PR classpath/20198: | |
34315 | * java/net/URLClassLoader.java (FileURLLoader): Added argument. | |
34316 | (JarURLLoader): Likewise. | |
34317 | (addURLImpl): Canonicalize file URLs. | |
34318 | ||
34319 | 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at> | |
34320 | ||
34321 | * configure.ac: Set TARGET. | |
34322 | * native/Makefile.am, native/jni/classpath/Makefile.am, | |
34323 | native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am, | |
34324 | native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am, | |
34325 | native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am, | |
34326 | native/jni/xmlj/Makefile.am, native/target/Makefile.am, | |
34327 | native/target/Linux/Makefile.am, | |
34328 | native/target/generic/Makefile.am, | |
34329 | native/target/posix/Makefile.am: Build libclasspath.so with jcl | |
34330 | and target stuff linked in and link it against lib*.so libraries. | |
34331 | ||
34332 | 2006-01-17 Roman Kennke <kennke@aicas.com> | |
34333 | ||
34334 | * native/jni/java-net/javanet.c: | |
34335 | (_javanet_connect): Changed type of some local variables to jint. | |
34336 | Fixed error handling to throw a SocketTimeoutException if the | |
34337 | connection attempt times out. | |
34338 | (_javanet_bind): Changed type of some local variables to jint. | |
34339 | (_javanet_accept): Likewise. | |
34340 | (_javanet_recvfrom): Likewise. | |
34341 | (_javanet_sendto): Fixed error handling to throw a | |
34342 | PortUnreachableException when connection is refused. | |
34343 | (_javanet_get_option): Changed type of some local variables to jint. | |
34344 | Implemented SOCKOPT_SO_BROADCAST. | |
34345 | (_javanet_shutdownInput): Replaced shutdown call with corresponding | |
34346 | target native macro. | |
34347 | (_javanet_shutdownOutput): Replaced shutdown call with corresponding | |
34348 | target native macro. | |
34349 | * native/jni/java-net/javanet.h: | |
34350 | Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and | |
34351 | SOCKOPT_SO_BROADCAST. | |
97b8365c | 34352 | |
8aa540d2 | 34353 | 2006-01-17 Lillian Angel <langel@redhat.com> |
97b8365c | 34354 | |
8aa540d2 MW |
34355 | * javax/swing/text/DefaultStyledDocument.java |
34356 | (insert): Cleaned up loop. No need to make so many calls | |
34357 | to getAddedElements and getRemovedElements. | |
34358 | (insertFracture): Removed unneeded array. | |
97b8365c | 34359 | |
8aa540d2 MW |
34360 | 2006-01-17 Lillian Angel <langel@redhat.com> |
34361 | ||
34362 | * javax/swing/text/JTextComponent.java | |
34363 | (AccessibleJTextComponent): Implemented. | |
34364 | (getCaretPosition): Implemented. | |
34365 | (getSelectedText): Implemented. | |
34366 | (getSelectionStart): Implemented. | |
34367 | (getSelectionEnd): Implemented. | |
34368 | (getSelectionEnd): Implemented. | |
34369 | (getCharCount): Implemented. | |
34370 | (insertTextAtIndex): Implemented. | |
34371 | (getTextRange): Implemented. | |
34372 | (delete): Implemented. | |
34373 | (cut): Implemented. | |
34374 | (paste): Implemented. | |
34375 | (replaceText): Implemented. | |
34376 | (selectText): Implemented. | |
97b8365c | 34377 | |
8aa540d2 | 34378 | 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com> |
97b8365c | 34379 | |
8aa540d2 MW |
34380 | * javax/swing/text/DefaultStyledDocument.java: |
34381 | (pad): New debugging method. | |
34382 | (printElements): Likewise. | |
34383 | (printPendingEdits): Likewise. | |
34384 | (printElement): Likewise. | |
34385 | (Edit): Improved docs, moved this class to be an inner class of | |
34386 | ElementBuffer since it only applies within that scope. Changed added | |
34387 | and removed to be Vectors instead of arrays because we need to be able | |
34388 | to add to them after construction. | |
34389 | (ElementBuffer): Updated docs with link to article that helped in this | |
34390 | classes implementation. | |
34391 | (ElementBuffer.Edit.getRemovedElements): New method. | |
34392 | (ElementBuffer.Edit.getAddedElements): Likewise. | |
34393 | (ElementBuffer.Edit.addRemovedElement): Likewise. | |
34394 | (ElementBuffer.Edit.addRemovedElements): Likewise. | |
34395 | (ElementBuffer.Edit.addAddedElement): Likewise. | |
34396 | (ElementBuffer.Edit.addAddedElements): Likewise. | |
34397 | (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and | |
34398 | addAddedElements. | |
34399 | (ElementBuffer.getEditForParagraphAndIndex): New method. | |
34400 | (ElementBuffer.removeUpdate): Changed type of paragraph to | |
34401 | BranchElement. Corrected style of adding the edit to use the new Edit | |
34402 | facilities. | |
34403 | (ElementBuffer.changeUpdate): Changed style of adding the edit to use | |
34404 | the new Edit facilities. | |
34405 | (ElementBuffer.split): Likewise. | |
34406 | (ElementBuffer.insertParagraph): Likewise. | |
34407 | (ElementBuffer.insertContentTag): Likewise. | |
34408 | (ElementBuffer.insert): Push all BranchElements until the deepest one, | |
34409 | not just the root and the first one. Apply the structural changes to | |
34410 | the tree at the same time as updating the DocumentEvent. | |
34411 | (ElementBuffer.insertUpdate): Fixed docs. Removed the special case | |
34412 | handling of EndTags as the first ElementSpec. Instead have to handle | |
34413 | ContentTags as a special case if they are the first ElementSpec and if | |
34414 | not have to fracture the tree. | |
34415 | (ElementBuffer.createFracture): New method. May not be complete yet. | |
34416 | Added FIXME indicating what may remain to be done. | |
34417 | (ElementBuffer.insertFirstContentTag): New method. | |
34418 | (ElementBuffer.insertFracture): Added FIXME explaining what remains to | |
34419 | be done. Changed the adding of edits to use the new Edit facilities. | |
34420 | Removed the adding of edits for Elements that weren't in the tree prior | |
34421 | to the insertion. | |
34422 | (insertUpdate): Removed incorrect condition for setting a StartTag's | |
34423 | direction to JoinNextDirection. | |
34424 | * javax/swing/text/StyleContent.java: | |
34425 | (SmallAttributeSet.toString): Fixed an off-by-one error in the loop | |
34426 | that was causing an ArrayOutOfBoundsException. | |
97b8365c | 34427 | |
8aa540d2 | 34428 | 2006-01-17 Roman Kennke <kennke@aicas.com> |
97b8365c | 34429 | |
8aa540d2 MW |
34430 | * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: |
34431 | (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved | |
34432 | exception messages a little. | |
34433 | (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided | |
34434 | alternative implementation for systems without filesystems. | |
34435 | Replaced snprintf with the corresponding target native macro. | |
34436 | (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel): | |
34437 | Only do something when we have a filesystem. | |
34438 | (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided | |
34439 | alternative implementation for systems without filesystems. | |
34440 | (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided | |
34441 | alternative implementation for systems without filesystems. | |
34442 | (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided | |
34443 | alternative implementation for systems without filesystems. | |
34444 | (Java_gnu_java_nio_channels_FileChannelImpl_seek): | |
34445 | Only do something when we have a filesystem. | |
34446 | (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate): | |
34447 | Only do something when we have a filesystem. | |
34448 | (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided | |
34449 | alternative implementation for systems without filesystems. | |
34450 | (Java_gnu_java_nio_channels_FileChannelImpl_read__): | |
34451 | Replaced ssize_t variables with jint. Provided | |
34452 | alternative implementation for systems without filesystems. | |
34453 | (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII): | |
34454 | Replaced ssize_t variables with jint. Provided | |
34455 | alternative implementation for systems without filesystems. | |
34456 | (Java_gnu_java_nio_channels_FileChannelImpl_write__I): | |
34457 | Replaced ssize_t variables with jint. Provided | |
34458 | alternative implementation for systems without filesystems. | |
34459 | (Java_gnu_java_nio_channels_FileChannelImpl_force): | |
34460 | Only do something when we have a filesystem. | |
34461 | (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII): | |
34462 | Replaced ssize_t variables with jint. Provided | |
34463 | alternative implementation for systems without filesystems. | |
34464 | (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented | |
34465 | to use the corresponding target native macro. | |
34466 | (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented | |
34467 | to use the corresponding target native macro. | |
97b8365c | 34468 | |
8aa540d2 | 34469 | 2006-01-17 Lillian Angel <langel@redhat.com> |
97b8365c | 34470 | |
8aa540d2 MW |
34471 | * javax/swing/text/DefaultTextUI.java: |
34472 | Added deprecated tag. | |
34473 | * javax/swing/text/JTextComponent.java | |
34474 | (AccessibleJTextComponent): Fixed API doc and | |
4f9533c7 | 34475 | partiall9 implemented. |
8aa540d2 MW |
34476 | (getCaretPosition): Fixed API doc and implemented. |
34477 | (getSelectedText): Fixed API doc. | |
34478 | (getSelectionStart): Likewise. | |
34479 | (getSelectionEnd): Likewise. | |
34480 | (caretUpdate): Fixed API doc and | |
34481 | partially implemented. | |
34482 | (getAccessibleStateSet): Likewise. | |
34483 | (getAccessibleRole): Fixed API doc and implemented. | |
34484 | (getAccessibleEditableText): Implemented. | |
34485 | (getAccessibleText): Fixed API doc and implemented. | |
34486 | (insertUpdate): Fixed API doc. | |
34487 | (changedUpdate): Likewise. | |
34488 | (getIndexAtPoint): Likewise. | |
34489 | (getRootEditorRect): Removed. | |
34490 | (getCharacterBounds): Fixed API doc. | |
34491 | (getCharCount): Likewise. | |
34492 | (getCharacterAttribute): Likewise. | |
34493 | (getAtIndex): Likewise. | |
34494 | (getAfterIndex): Likewise. | |
34495 | (getBeforeIndex): Likewise. | |
34496 | (getAccessibleActionCount): Added function stub. | |
34497 | (getAccessibleActionDescription): Added function, | |
34498 | partially implemented. | |
34499 | (doAccessibleAction): Added function stub. | |
34500 | (setTextContents): Likewise. | |
34501 | (insertTextAtIndex): Likewise. | |
34502 | (delete): Likewise. | |
34503 | (cut): Likewise. | |
34504 | (paste): Likewise. | |
34505 | (replaceText): Likewise. | |
34506 | (selectText): Likewise. | |
34507 | (setAttributes): Likewise. | |
34508 | (getAccessibleContext): Implemented. | |
97b8365c | 34509 | |
8aa540d2 | 34510 | 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org> |
97b8365c | 34511 | |
8aa540d2 MW |
34512 | Fixes bug #25817 |
34513 | * gnu/regexp/RETokenRange.java(constructor): | |
34514 | Keep lo and hi as they are. | |
34515 | (match): Changed the case insensitive comparison. | |
97b8365c | 34516 | |
8aa540d2 | 34517 | 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org> |
97b8365c | 34518 | |
8aa540d2 MW |
34519 | * gnu/regexp/RETokenChar.java(chain): |
34520 | Do not concatenate tokens whose insens flags are diffent. | |
97b8365c | 34521 | |
8aa540d2 | 34522 | 2006-01-17 Roman Kennke <kennke@aicas.com> |
97b8365c | 34523 | |
8aa540d2 MW |
34524 | * native/target/generic/target_generic_network.c: |
34525 | (targetGenericNetwork_receive): Fixed signature to match the | |
34526 | corresponding .h file. | |
34527 | (targetGenericNetwork_receiveWithAddressPort): Fixed signature | |
34528 | to match the corresponding .h file. | |
97b8365c | 34529 | |
8aa540d2 | 34530 | 2006-01-17 Roman Kennke <kennke@aicas.com> |
97b8365c | 34531 | |
8aa540d2 MW |
34532 | * native/jni/classpath/jcl.c: |
34533 | (JCL_malloc): Replaced calls to malloc with the corresponding | |
34534 | target layer macro. | |
34535 | (JCL_free): Replaced calls to free with the corresponding | |
34536 | target layer macro. | |
34537 | * native/jni/classpath/native_state.c: | |
34538 | (cp_gtk_init_state_table_with_size): Replaced calls to malloc and | |
34539 | calloc with the corresponding target layer macro. | |
34540 | (remove_node): Replaced calls to free with the corresponding | |
34541 | target layer macro. | |
34542 | (add_node): Replaced calls to malloc with the corresponding | |
34543 | target layer macro. | |
34544 | ||
34545 | 2006-01-17 Roman Kennke <kennke@aicas.com> | |
34546 | ||
34547 | * native/jni/java-io/java_io_VMObjectStreamClass.c: | |
34548 | (getFieldReference): Use MALLOC/FREE macros for portability instead | |
34549 | of direct call to malloc() and free(). | |
34550 | ||
34551 | 2006-01-17 Roman Kennke <kennke@aicas.com> | |
34552 | ||
34553 | * native/jni/classpath/jcl.c: Added missing imports. | |
34554 | (JCL_realloc): Fixed signature to include oldsize. This is needed | |
34555 | for some targets. Make this function use the MEMORY_REALLOC macro | |
34556 | for portability. | |
34557 | * native/jni/classpath/jcl.h | |
34558 | (JCL_realloc): Adjusted signature. | |
34559 | * native/jni/java-io/java_io_VMFile.c: | |
34560 | (Java_java_io_VMFile_create): Use target layer macro for handling | |
34561 | errno, for portability. | |
34562 | (Java_java_io_VMFile_length): Release filename string in error cases | |
34563 | before returning. | |
34564 | (Java_java_io_VMFile_list): Initialize filename variable. Use new | |
34565 | version of JCL_realloc. | |
34566 | * native/jni/java-net/java_net_VMInetAddress.c: | |
34567 | (Java_java_net_VMInetAddress_getHostByName): Use renamed macro | |
34568 | TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME. | |
34569 | * native/jni/java-net/javanet.c: | |
34570 | (_javanet_bind): Make errorstr variable const to avoid compiler | |
34571 | warning. | |
34572 | (_javanet_set_option): Fixed typo. | |
34573 | (_javanet_get_option): Fixed typo. | |
34574 | * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: | |
34575 | (Java_gnu_java_nio_channels_FileChannelImpl_open): Made | |
34576 | error_string variable const to avoid compiler warning. | |
34577 | * native/target/generic/target_generic_file.h: | |
34578 | Replaced // comments with /* */ comments to avoid compiler warnings. | |
34579 | Added some spaces to make code better readable. | |
34580 | * native/target/generic/target_generic_memory.h: | |
34581 | Replaced // comments with /* */ comments to avoid compiler warnings. | |
34582 | * native/target/generic/target_generic_misc.c: | |
34583 | Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused | |
34584 | compiler warnings due to use of varargs. | |
34585 | * native/target/generic/target_generic_misc.h: | |
34586 | Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused | |
34587 | compiler warnings due to use of varargs. | |
34588 | * native/target/generic/target_generic_network.h: | |
34589 | Replaced // comments with /* */ comments to avoid compiler warnings. | |
34590 | (targetGenericNetwork_receive): Fixed signature to use signed chars | |
34591 | for buffer parameter to avoid warning when passing a jbyte to the | |
34592 | function. | |
97b8365c | 34593 | |
8aa540d2 | 34594 | 2006-01-17 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 34595 | |
8aa540d2 MW |
34596 | * javax/swing/text/StyleConstants.java |
34597 | (getAlignment): Removed isDefined() check, so that resolving parent is | |
34598 | used for lookup, | |
34599 | (getBackground): Likewise, plus changed default value to Color.BLACK, | |
34600 | (getBidiLevel): Removed isDefined() check, | |
34601 | (getComponent): Likewise, | |
34602 | (getFirstLineIndent): Likewise, | |
34603 | (getFontFamily): Likewise, | |
34604 | (getFontSize): Likewise, | |
34605 | (getForeground): Likewise, | |
34606 | (getIcon): Likewise, | |
34607 | (getLeftIndent): Likewise, | |
34608 | (getLineSpacing): Likewise, | |
34609 | (getRightIndent): Likewise, | |
34610 | (getSpaceAbove): Likewise, | |
34611 | (getSpaceBelow): Likewise, | |
34612 | (getTabSet): Likewise, | |
34613 | (isBold): Likewise, | |
34614 | (isItalic): Likewise, | |
34615 | (isStrikeThrough): Likewise, | |
34616 | (isSubscript): Likewise, | |
34617 | (isSuperscript): Likewise, | |
34618 | (isUnderline): Likewise. | |
34619 | ||
34620 | 2006-01-17 Gary Benson <gbenson@redhat.com> | |
34621 | ||
34622 | * java/lang/System.java (setSecurityManager): Catch | |
34623 | ClassNotFoundException not Throwable. | |
34624 | ||
34625 | 2006-01-16 Anthony Green <green@redhat.com> | |
34626 | ||
34627 | PR classpath/25803 | |
34628 | * gnu/java/net/protocol/http/Request.java | |
34629 | (createResponseBodyStream): Remove Content-Encoding for | |
34630 | compressed streams. | |
97b8365c | 34631 | |
8aa540d2 | 34632 | 2006-01-16 Chris Burdess <dog@gnu.org> |
97b8365c | 34633 | |
8aa540d2 MW |
34634 | * gnu/xml/stream/XMLParser.java, |
34635 | gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check | |
34636 | XMLStreamWriter arguments for conformance to the XML specifications. | |
34637 | * gnu/xml/transform/Stylesheet.java, | |
34638 | gnu/xml/transform/Template.java, | |
34639 | gnu/xml/transform/TransformerImpl.java, | |
34640 | gnu/xml/xpath/LangFunction.java, | |
34641 | gnu/xml/xpath/Selector.java: better handling of template priorities; | |
34642 | fix indents when pretty-printing; recursive tests for xml:lang. | |
34643 | * gnu/xml/util/XHTMLWriter.java, | |
34644 | gnu/xml/util/XMLWriter.java: Deprecate old serializer classes. | |
34645 | ||
34646 | 2006-01-16 Roman Kennke <kennke@aicas.com> | |
34647 | ||
34648 | * native/target/MinGW/.cvsignore: New file. | |
34649 | * native/target/RTEMS/.cvsignore: New file. | |
34650 | * native/target/SunOS/.cvsignore: New file. | |
34651 | * native/target/embOS/.cvsignore: New file. | |
34652 | * native/target/posix/.cvsignore: New file. | |
34653 | ||
34654 | 2006-01-16 David Gilbert <david.gilbert@object-refinery.com> | |
34655 | ||
34656 | * javax/swing/text/StyleConstants.java: Updated API docs all over. | |
34657 | ||
34658 | 2006-01-16 Roman Kennke <kennke@aicas.com> | |
34659 | ||
34660 | * configure.ac: Include new target native directories in build. | |
34661 | ||
34662 | 2006-01-16 Roman Kennke <kennke@aicas.com> | |
34663 | ||
34664 | * native/target/generic/target_generic_file.h: Added missing | |
34665 | include. | |
34666 | * native/target/generic/target_generic_network.c: Fixed several | |
34667 | typos and includes. | |
34668 | * native/target/generic/target_generic_network.h: Likewise. | |
34669 | ||
34670 | 2006-01-16 Roman Kennke <kennke@aicas.com> | |
34671 | ||
34672 | * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS | |
34673 | to include the new targets. | |
34674 | * native/target/posix/Makefile.am: Fixed filenames. | |
34675 | ||
34676 | 2006-01-16 Roman Kennke <kennke@aicas.com> | |
34677 | ||
34678 | * native/target/Makefile.am: Include new targets. | |
34679 | * native/target/Linux/Makefile.am: Include new memory layer. | |
34680 | * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist. | |
34681 | * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist. | |
34682 | * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist. | |
34683 | * native/target/embOS/Makefile.am: New file. Includes embOS in dist. | |
34684 | * native/target/generic/Makefile.am: Include new memory and math | |
34685 | layer. | |
34686 | * native/target/posix/Makefile.am: New file. Includes posix in dist. | |
97b8365c | 34687 | |
8aa540d2 | 34688 | 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org> |
97b8365c | 34689 | |
8aa540d2 MW |
34690 | Fixes bug #22884 |
34691 | * gnu/regexp/RE.java(initialize): Parse embedded flags. | |
34692 | * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit. | |
97b8365c | 34693 | |
8aa540d2 | 34694 | 2006-01-16 Roman Kennke <kennke@aicas.com> |
97b8365c | 34695 | |
8aa540d2 MW |
34696 | * native/target/generic/target_generic_network.c: Fixed typo. |
34697 | * native/target/generic/target_generic_network.h: Fixed typo. | |
97b8365c | 34698 | |
8aa540d2 | 34699 | 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com> |
97b8365c | 34700 | |
8aa540d2 MW |
34701 | * doc/vmintegration.texinfo: Updated subsection of the |
34702 | java.lang.InstrumentationImpl documentation. | |
97b8365c | 34703 | |
8aa540d2 | 34704 | 2006-01-16 Roman Kennke <kennke@aicas.com> |
97b8365c | 34705 | |
8aa540d2 MW |
34706 | * native/target/RTEMS/target_native.h, |
34707 | * native/target/RTEMS/target_native_file.h, | |
34708 | * native/target/RTEMS/target_native_io.h, | |
34709 | * native/target/RTEMS/target_native_math.h, | |
34710 | * native/target/RTEMS/target_native_memory.h, | |
34711 | * native/target/RTEMS/target_native_misc.h, | |
34712 | * native/target/RTEMS/target_native_network.h: | |
34713 | New files. Implement the target native layer for the RTEMS platform. | |
97b8365c | 34714 | |
8aa540d2 | 34715 | 2006-01-16 Roman Kennke <kennke@aicas.com> |
97b8365c | 34716 | |
8aa540d2 MW |
34717 | * native/target/SunOS/target_native.h, |
34718 | * native/target/SunOS/target_native_file.h, | |
34719 | * native/target/SunOS/target_native_io.h, | |
34720 | * native/target/SunOS/target_native_math.h, | |
34721 | * native/target/SunOS/target_native_memory.h, | |
34722 | * native/target/SunOS/target_native_misc.h, | |
34723 | * native/target/SunOS/target_native_network.h: | |
34724 | New files. Implement the target native layer for the SunOS platform. | |
97b8365c | 34725 | |
8aa540d2 | 34726 | 2006-01-16 Roman Kennke <kennke@aicas.com> |
97b8365c | 34727 | |
8aa540d2 MW |
34728 | * native/target/MinGW/target_native.h, |
34729 | * native/target/MinGW/target_native_file.h, | |
34730 | * native/target/MinGW/target_native_io.h, | |
34731 | * native/target/MinGW/target_native_math.h, | |
34732 | * native/target/MinGW/target_native_memory.h, | |
34733 | * native/target/MinGW/target_native_misc.h, | |
34734 | * native/target/MinGW/target_native_network.h: | |
34735 | New files. Implement the target native layer for the MinGW | |
34736 | platform. | |
97b8365c | 34737 | |
8aa540d2 | 34738 | 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
97b8365c | 34739 | |
8aa540d2 MW |
34740 | PR 25770 |
34741 | * javax/swing/DefaultCellEditor.java | |
34742 | (delegate): Assign new instance immediately. | |
34743 | (DefaultCellEditor(JTextField textfield)): Require 2 clicks. | |
34744 | (getTableCellEditorComponent): Rewritten. | |
34745 | (prepareAsJTextField):New method (add listener only once). | |
34746 | * javax/swing/JTable.java | |
34747 | (editingCanceled): Rewritten. | |
34748 | (editingStopped ): Rewritten. | |
34749 | (rowAtPoint): Mind row margin. | |
34750 | (getCellRect): Mind row margin. | |
34751 | (getDefaultEditor): Removing JTextComponent border. | |
34752 | (editCellAt): Rewritten. | |
34753 | * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler): | |
34754 | Activate editing mode by the mouse clicks. | |
34755 | (getMaximumSize): Mind row margin. | |
34756 | (getPreferredSize): Mind row margin. | |
34757 | (TableAction): Added 'stop editing' command. | |
34758 | ||
34759 | 2006-01-16 Roman Kennke <kennke@aicas.com> | |
34760 | ||
34761 | * jni/java-io/java_io_VMFile.c | |
34762 | (Java_java_io_VMFile_list): Use new 4 argument version of | |
34763 | TARGET_NATIVE_FILE_READ_DIR macro. | |
34764 | * target/Linux/target_native_io.h: Fixed comment at #endif. | |
34765 | * target/Linux/target_native_memory.h: New file. Contains | |
34766 | portability macros for memory operations. | |
34767 | * target/generic/target_generic.c: New file. Contains some functions | |
34768 | for portability. | |
34769 | * target/generic/target_generic.h: Use posix target and shorter macro | |
34770 | names if CP_NEW is set. | |
34771 | * target/generic/target_generic_file.h: Use posix target and shorter | |
34772 | macro names if CP_NEW is set. | |
34773 | (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength. | |
34774 | * target/generic/target_generic_io.c: New file. Contains some | |
34775 | functions for IO portability. | |
34776 | * target/generic/target_generic_io.h: Use posix target and shorter | |
34777 | macro names if CP_NEW is set. | |
34778 | * target/generic/target_generic_misc.c: New file. Contains some | |
34779 | functions for miscallaneaous portability issues. | |
34780 | * target/generic/target_generic_misc.h: Use posix target and shorter | |
34781 | macro names if CP_NEW is set. | |
34782 | * target/generic/target_generic_network.c: New file. Contains some | |
34783 | functions for networking portability. | |
34784 | * target/generic/target_generic_network.h: Use posix target and | |
34785 | shorter macro names if CP_NEW is set. | |
34786 | * target/posix/Makefile.am, | |
34787 | * target/posix/target_posix.c, | |
34788 | * target/posix/target_posix.h, | |
34789 | * target/posix/target_posix_file.c, | |
34790 | * target/posix/target_posix_file.h, | |
34791 | * target/posix/target_posix_io.c, | |
34792 | * target/posix/target_posix_io.h, | |
34793 | * target/posix/target_posix_math.c, | |
34794 | * target/posix/target_posix_math.h, | |
34795 | * target/posix/target_posix_memory.c, | |
34796 | * target/posix/target_posix_memory.h, | |
34797 | * target/posix/target_posix_misc.c, | |
34798 | * target/posix/target_posix_misc.h, | |
34799 | * target/posix/target_posix_network.c, | |
34800 | * target/posix/target_posix_network.h: | |
34801 | New files. This implements the target native layer macros for | |
34802 | Posix-like systems. | |
34803 | ||
34804 | 2006-01-16 Gary Benson <gbenson@redhat.com> | |
34805 | ||
34806 | * java/net/SocketPermission.java (implies): Fix action checks. | |
34807 | ||
34808 | 2006-01-16 Roman Kennke <kennke@aicas.com> | |
34809 | ||
34810 | * native/target/generic/target_generic_math_float.h: Removed. This | |
34811 | file has been replaced by target_generic_math.h. | |
34812 | * native/target/generic/target_generic_math_int.h: Removed. This | |
34813 | file has been replaced by target_generic_math.h. | |
34814 | * native/target/generic/target_generic_math.h: New file. Replaces | |
34815 | the old _int and _float versions. | |
34816 | * native/target/Linux/target_native_math_float.h: Removed. This | |
34817 | file has been replaced by target_native_math.h. | |
34818 | * native/target/Linux/target_native_math_int.h: Removed. This | |
34819 | file has been replaced by target_native_math.h. | |
34820 | * native/target/Linux/target_native_math.h: New file. Replaces | |
34821 | the old _int and _float versions. | |
34822 | * native/target/Linux/Makefile.am: Adjusted for the changed | |
34823 | filenames. | |
34824 | * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h | |
34825 | instead of target_native_math_int.h. | |
34826 | * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: | |
34827 | Likewise. | |
34828 | * native/target/generic/target_generic_file.h: Likewise. | |
97b8365c | 34829 | |
8aa540d2 | 34830 | 2006-01-16 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 34831 | |
8aa540d2 | 34832 | * javax/swing/text/MutableAttributeSet.java: Updated API docs all over. |
97b8365c | 34833 | |
8aa540d2 | 34834 | 2006-01-16 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 34835 | |
8aa540d2 MW |
34836 | * javax/swing/text/SimpleAttributeSet.java |
34837 | (SimpleAttributeSet()): Initialise storage directly, | |
34838 | (SimpleAttributeSet(AttributeSet)): Removed null check and documented | |
34839 | NullPointerException, | |
34840 | (containsAttribute): If key is found locally, don't check resolving | |
34841 | parent if the value doesn't match, | |
34842 | (getAttribute): Removed redundant instanceof and cast. | |
97b8365c | 34843 | |
8aa540d2 | 34844 | 2006-01-16 Gary Benson <gbenson@redhat.com> |
97b8365c | 34845 | |
8aa540d2 MW |
34846 | * java/lang/System.java (setSecurityManager): Ensure policy |
34847 | files are loaded before a security manager is put in place. | |
97b8365c | 34848 | |
8aa540d2 | 34849 | 2006-01-16 David Gilbert <david.gilbert@object-refinery.com> |
97b8365c | 34850 | |
8aa540d2 | 34851 | * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over. |
97b8365c | 34852 | |
8aa540d2 | 34853 | 2006-01-16 Wolfgang Baer <WBaer@gmx.de> |
97b8365c | 34854 | |
8aa540d2 MW |
34855 | * javax/print/attribute/standard/MediaSize.java: |
34856 | (static_initializer): Added comment. | |
34857 | (MediaSize): Added javadoc to mention cache registration. | |
34858 | (MediaSize): Likewise. | |
34859 | (MediaSize): Likewise. | |
34860 | (MediaSize): Likewise. | |
97b8365c | 34861 | |
8aa540d2 | 34862 | 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au> |
97b8365c | 34863 | |
8aa540d2 MW |
34864 | PR classpath/25202 |
34865 | * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class. | |
34866 | * gnu/javax/security/auth/login/ConfigFileParser.java: New class. | |
34867 | * gnu/javax/security/auth/login/GnuConfiguration.java: New class. | |
34868 | * javax/security/auth/login/AppConfigurationEntry.java: Updated | |
34869 | copyright year. | |
34870 | (toString): Added method implementation. | |
34871 | (LoginModuleControlFlag.toString): Removed class name from result. | |
34872 | * javax/security/auth/login/Configuration.java: Updated copyright year. | |
34873 | (getConfig(): replaced calls to NullConfiguration with | |
34874 | GnuConfiguration. | |
34875 | ||
97b8365c TT |
34876 | 2006-01-15 Tom Tromey <tromey@redhat.com> |
34877 | ||
34878 | * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized. | |
34879 | * javax/swing/text/StyleContext.java (removeAttributes): Genericized. | |
34880 | * java/beans/PersistenceDelegate.java (initialize): Genericized. | |
34881 | * java/beans/Encoder.java (getPersistenceDelegate): Genericized. | |
34882 | (setPersistenceDelegate): Likewise. | |
34883 | ||
34884 | 2006-01-15 Wolfgang Baer <WBaer@gmx.de> | |
34885 | ||
34886 | * javax/print/attribute/standard/PrinterStateReasons.java: | |
34887 | (printerStateReasonSet): Genericize the return type. | |
34888 | ||
8aa540d2 MW |
34889 | 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
34890 | ||
34891 | * javax/swing/table/DefaultTableCellRenderer.java | |
34892 | (getTableCellRendererComponent): Render null as the empty cell. | |
34893 | ||
34894 | 2006-01-14 Anthony Green <green@redhat.com> | |
34895 | ||
34896 | * java/net/ServerSocket.java (accept): Remove bogus | |
34897 | security check. | |
34898 | (implAccept): Add FIXME comment. | |
34899 | ||
34900 | 2006-01-14 Wolfgang Baer <WBaer@gmx.de> | |
34901 | ||
34902 | Fixes bug #25387 | |
34903 | * javax/print/Doc.java: Added and enhanced documentation. | |
34904 | * javax/print/SimpleDoc.java: New file. | |
97b8365c | 34905 | |
8aa540d2 | 34906 | 2006-01-14 Wolfgang Baer <WBaer@gmx.de> |
97b8365c | 34907 | |
8aa540d2 MW |
34908 | * javax/print/attribute/standard/MediaSize.java: |
34909 | (Other.TABLOID): New MediaSize added in 1.5 | |
97b8365c | 34910 | |
8aa540d2 | 34911 | 2006-01-14 Chris Burdess <dog@gnu.org> |
97b8365c | 34912 | |
8aa540d2 MW |
34913 | * gnu/xml/stream/SAXParser.java: Ensure that parser is reset |
34914 | correctly when I/O and runtime exceptions occur during parsing. | |
97b8365c | 34915 | |
8aa540d2 | 34916 | 2006-01-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 34917 | |
8aa540d2 MW |
34918 | * gnu/java/awt/peer/swing/SwingButtonPeer.java, |
34919 | * gnu/java/awt/peer/swing/SwingCanvasPeer.java, | |
34920 | * gnu/java/awt/peer/swing/SwingComponent.java, | |
34921 | * gnu/java/awt/peer/swing/SwingComponentPeer.java, | |
34922 | * gnu/java/awt/peer/swing/SwingContainerPeer.java, | |
34923 | * gnu/java/awt/peer/swing/SwingFramePeer.java, | |
34924 | * gnu/java/awt/peer/swing/SwingLabelPeer.java, | |
34925 | * gnu/java/awt/peer/swing/SwingMenuBarPeer.java, | |
34926 | * gnu/java/awt/peer/swing/SwingMenuItemPeer.java, | |
34927 | * gnu/java/awt/peer/swing/SwingMenuPeer.java, | |
34928 | * gnu/java/awt/peer/swing/SwingPanelPeer.java, | |
34929 | * gnu/java/awt/peer/swing/SwingTextFieldPeer.java, | |
34930 | * gnu/java/awt/peer/swing/SwingToolkit.java, | |
34931 | * gnu/java/awt/peer/swing/SwingWindowPeer.java, | |
34932 | * gnu/java/awt/peer/swing/package.html: | |
34933 | New files. Implemented some basic AWT peers based on Swing. | |
97b8365c | 34934 | |
8aa540d2 | 34935 | 2006-01-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 34936 | |
8aa540d2 | 34937 | * java/awt/peer/ComponentPeer.java: Added API docs all over. |
97b8365c | 34938 | |
8aa540d2 | 34939 | 2006-01-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 34940 | |
8aa540d2 MW |
34941 | * java/awt/MenuComponent.java: Reformatted to better match our |
34942 | coding style. | |
97b8365c | 34943 | |
8aa540d2 | 34944 | 2006-01-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 34945 | |
8aa540d2 MW |
34946 | * java/awt/Frame.java: Reformatted to better match our |
34947 | coding style. | |
97b8365c | 34948 | |
8aa540d2 | 34949 | 2006-01-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 34950 | |
8aa540d2 MW |
34951 | * java/awt/MenuBar.java |
34952 | (accessibleContext): Removed unnecessary field. This is already | |
34953 | defined in MenuComponent. | |
34954 | (setHelpMenu): Renamed the peer variable to myPeer because it was | |
34955 | hiding a field of MenuComponent. | |
34956 | (addNotify): Removed unnecessary cast. | |
97b8365c | 34957 | |
8aa540d2 | 34958 | 2006-01-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 34959 | |
8aa540d2 MW |
34960 | * java/awt/MenuBar.java: Reformatted to better match our |
34961 | coding style. | |
97b8365c | 34962 | |
8aa540d2 | 34963 | 2006-01-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 34964 | |
8aa540d2 MW |
34965 | * java/awt/MenuBar.java |
34966 | (frame): New field. | |
34967 | (removeNotify): Clear frame field when beeing removed from the | |
34968 | frame. | |
34969 | * java/awt/Frame.java | |
34970 | (setMenuBar): Store a reference of the frame in the MenuBar. | |
34971 | * java/awt/MenuComponent.java | |
34972 | (postEvent): Implemented to forward the call to the parent until | |
34973 | a parent can handle the event. | |
34974 | (dispatchEvent): Moved handling of old style events from | |
34975 | dispatchEventImpl() to here. | |
34976 | (dispatchEventImpl): Moved handling of old style events to | |
34977 | dispatchEvent(). | |
97b8365c | 34978 | |
8aa540d2 | 34979 | 2006-01-13 Roman Kennke <kennke@aicas.com> |
97b8365c | 34980 | |
8aa540d2 MW |
34981 | * java/awt/Component.java |
34982 | (dispatchEvent): Moved handling of old style events from | |
34983 | dispatchEventImpl() to this method. | |
34984 | (translateEvent): Removed unnecessary cast. | |
34985 | (dispatchEventImpl): Moved handling of old style events to | |
34986 | dispatchEvent(). | |
34987 | ||
34988 | 2006-01-13 Lillian Angel <langel@redhat.com> | |
97b8365c | 34989 | |
8aa540d2 MW |
34990 | * javax/swing/text/DefaultStyledDocument.java |
34991 | (createDefaultRoot): Removed FIXME. | |
34992 | (setLogicalStyle): Added fireUndoableEditUpdate call and | |
34993 | removed FIXME. | |
97b8365c | 34994 | |
8aa540d2 | 34995 | 2006-01-13 Lillian Angel <langel@redhat.com> |
97b8365c | 34996 | |
8aa540d2 MW |
34997 | * javax/swing/text/DefaultStyledDocument.java |
34998 | (Edit): New inner class. | |
34999 | (changeUpdate): Changed addEdit call to add a new | |
35000 | instance of Edit to the edits Vector, so addEdits can | |
35001 | be done later. | |
35002 | (split): Likewise. | |
35003 | (insertParagraph): Likewise. | |
35004 | (insertFracture): Likewise. | |
35005 | (insertContentTag): Likewise. | |
35006 | (insert): Added loop to go through edits Vector and perform | |
35007 | addEdit on each object. | |
97b8365c | 35008 | |
8aa540d2 | 35009 | 2006-01-13 Chris Burdess <dog@gnu.org> |
97b8365c | 35010 | |
8aa540d2 MW |
35011 | * gnu/xml/transform/AbstractNumberNode.java, |
35012 | gnu/xml/transform/ApplyImportsNode.java, | |
35013 | gnu/xml/transform/ApplyTemplatesNode.java, | |
35014 | gnu/xml/transform/AttributeNode.java, | |
35015 | gnu/xml/transform/CallTemplateNode.java, | |
35016 | gnu/xml/transform/ChooseNode.java, | |
35017 | gnu/xml/transform/CommentNode.java, | |
35018 | gnu/xml/transform/CopyNode.java, | |
35019 | gnu/xml/transform/CopyOfNode.java, | |
35020 | gnu/xml/transform/DocumentFunction.java, | |
35021 | gnu/xml/transform/ElementNode.java, | |
35022 | gnu/xml/transform/ForEachNode.java, | |
35023 | gnu/xml/transform/IfNode.java, | |
35024 | gnu/xml/transform/LiteralNode.java, | |
35025 | gnu/xml/transform/MessageNode.java, | |
35026 | gnu/xml/transform/OtherwiseNode.java, | |
35027 | gnu/xml/transform/ParameterNode.java, | |
35028 | gnu/xml/transform/ProcessingInstructionNode.java, | |
35029 | gnu/xml/transform/Stylesheet.java, | |
35030 | gnu/xml/transform/Template.java, | |
35031 | gnu/xml/transform/TemplateNode.java, | |
35032 | gnu/xml/transform/TextNode.java, | |
35033 | gnu/xml/transform/TransformerImpl.java, | |
35034 | gnu/xml/transform/ValueOfNode.java, | |
35035 | gnu/xml/transform/WhenNode.java, | |
35036 | gnu/xml/xpath/NodeTypeTest.java, | |
35037 | gnu/xml/xpath/Selector.java: simplified debugging output; ignore | |
35038 | with-param parameters when template does not define parameters; apply | |
35039 | conflict resolution for templates; strip whitespace on documents | |
35040 | retrieved via document() function; allow node() to match document | |
35041 | nodes. | |
35042 | ||
35043 | 2006-01-13 Mark Wielaard <mark@klomp.org> | |
35044 | ||
35045 | * doc/www.gnu.org/announce/20060113.wml: New file. | |
35046 | * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement. | |
35047 | * doc/www.gnu.org/downloads/downloads.wml: Add 0.20. | |
97b8365c | 35048 | |
8aa540d2 | 35049 | 2006-01-13 Lillian Angel <langel@redhat.com> |
97b8365c | 35050 | |
8aa540d2 MW |
35051 | * javax/swing/text/DefaultStyledDocument.java: |
35052 | Removed unused fields. | |
35053 | (insert): Removed unused fields. | |
35054 | (endEdit): Removed, not needed. | |
35055 | (insertUpdate): Removed call to endEdit. | |
35056 | (prepareContentInsertion): Removed, not needed. | |
35057 | (insertContentTag): Removed call to prepareContentInsertion. | |
35058 | (printElements): Removed, not needed. | |
35059 | (attributeSetsAreSame): Removed, not needed. | |
97b8365c TT |
35060 | |
35061 | 2005-01-13 Mark Wielaard <mark@klomp.org> | |
8aa540d2 | 35062 | |
97b8365c TT |
35063 | * java/lang/reflect/Modifier.java (toString(int, StringBuffer)): |
35064 | Duplicate of toString(int, StringBuilder). | |
35065 | ||
35066 | 2005-01-13 Mark Wielaard <mark@klomp.org> | |
9b36eaf6 | 35067 | |
21276379 MW |
35068 | * configure.ac: Set version to 0.20. |
35069 | * NEWS: Add entries for all the new work done. | |
9b36eaf6 | 35070 | |
97b8365c | 35071 | 2005-01-13 Mark Wielaard <mark@klomp.org> |
5c3bb9eb | 35072 | |
21276379 | 35073 | * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors. |
5c3bb9eb | 35074 | |
97b8365c | 35075 | 2005-01-13 Mark Wielaard <mark@klomp.org> |
5c3bb9eb | 35076 | |
21276379 | 35077 | * java/util/regex/Pattern.java (Pattern): Chain REException. |
5c3bb9eb | 35078 | |
21276379 | 35079 | 2006-01-13 Chris Burdess <dog@gnu.org> |
5c3bb9eb | 35080 | |
21276379 | 35081 | * gnu/xml/xpath/NameTest.java: Removed debugging output. |
5c3bb9eb | 35082 | |
97b8365c | 35083 | 2005-01-13 Jeroen Frijters <jeroen@frijters.net> |
ca9e049b | 35084 | |
21276379 MW |
35085 | * java/security/Security.java |
35086 | (getProperty): Added hack to skip security check when trusted | |
35087 | code is direct caller. | |
ca9e049b | 35088 | |
97b8365c | 35089 | 2005-01-13 Jeroen Frijters <jeroen@frijters.net> |
ca9e049b | 35090 | |
21276379 MW |
35091 | * java/io/PrintStream.java |
35092 | (line_separator, PrintStream(OutputStream,boolean)): Use | |
35093 | SystemProperties. | |
ca9e049b | 35094 | |
97b8365c | 35095 | 2005-01-13 Jeroen Frijters <jeroen@frijters.net> |
ca9e049b | 35096 | |
21276379 MW |
35097 | * gnu/java/nio/charset/Provider.java: Added comment about its |
35098 | special relation with CharsetProvider. | |
35099 | (static): Removed. | |
35100 | * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about | |
35101 | its special relation with CharsetProvider. | |
35102 | (static): Removed. | |
35103 | * java/nio/charset/spi/CharsetProvider.java | |
35104 | (CharsetProvider): Add special case to skip security check for | |
35105 | built in providers. | |
ca9e049b | 35106 | |
97b8365c | 35107 | 2005-01-13 Mark Wielaard <mark@klomp.org> |
ca9e049b | 35108 | |
21276379 MW |
35109 | * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether |
35110 | name, accel, mnemonic and command are defined before setting. | |
ca9e049b | 35111 | |
97b8365c | 35112 | 2005-01-12 Mark Wielaard <mark@klomp.org> |
ca9e049b | 35113 | |
21276379 MW |
35114 | * javax/swing/plaf/metal/MetalFileChooserUI.java |
35115 | (FileRenderer.getListCellRendererComponent): Set empty name and null | |
35116 | icon when File is null. | |
ca9e049b | 35117 | |
21276379 | 35118 | 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
ca9e049b | 35119 | |
21276379 MW |
35120 | * gnu/java/rmi/server/UnicastRef.java (newCall): |
35121 | Throw ConnectException after catching IOException. | |
ca9e049b | 35122 | |
21276379 | 35123 | 2006-01-12 Lillian Angel <langel@redhat.com> |
ca9e049b | 35124 | |
21276379 MW |
35125 | * javax/swing/text/DefaultStyledDocument.java |
35126 | (insertUpdate): Removed unneeded check. | |
ca9e049b | 35127 | |
21276379 | 35128 | 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com> |
ca9e049b | 35129 | |
21276379 MW |
35130 | * javax/swing/text/DefaultStyledDocument.java: |
35131 | (ElementBuffer.insertContentTag): If the direction is JoinNextDirection | |
35132 | and we haven't come immediately after a fracture, adjust the Element | |
35133 | offsets. Added comment explaining the situation. | |
35134 | (insert): Return early if no ElementSpecs passed in. Removed redundant | |
35135 | call to insertUpdate. Fired the UndoableEditUpdate. | |
ca9e049b | 35136 | |
21276379 | 35137 | 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org> |
ca9e049b | 35138 | |
21276379 MW |
35139 | Fixes bug #22802 |
35140 | * gnu/regexp/RE.java(initialize): Fixed the parsing of | |
35141 | character classes within a subexpression. | |
ca9e049b | 35142 | |
21276379 | 35143 | 2006-12-12 Lillian Angel <langel@redhat.com> |
ca9e049b | 35144 | |
21276379 MW |
35145 | * javax/swing/text/DefaultStyledDocument.java |
35146 | (insertUpdate): Added check to check if attribute set is | |
35147 | empty. | |
35148 | (insertUpdate): Added check to determine if last character | |
35149 | is a newline. If it is, we should not be fracturing. | |
35150 | (insert): Added check to determine if attribute set is empty. | |
35151 | If it is, insertUpdate should not be called. | |
ca9e049b | 35152 | |
21276379 | 35153 | 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org> |
ca9e049b | 35154 | |
21276379 | 35155 | * configure.ac: Check for isnan. |
ca9e049b | 35156 | |
21276379 MW |
35157 | * native/fdlibm/fdlibm.h: If we have a isnan function then do not |
35158 | define the macro. | |
ca9e049b | 35159 | |
21276379 | 35160 | 2006-01-12 Chris Burdess <dog@gnu.org> |
ca9e049b | 35161 | |
21276379 MW |
35162 | * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML |
35163 | 1.1 character ranges. | |
ca9e049b | 35164 | |
21276379 | 35165 | 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com> |
ca9e049b | 35166 | |
21276379 MW |
35167 | * javax/swing/TransferHandler.java: |
35168 | (TransferAction<init>): Call super constructor. Fixes Mauve regression | |
35169 | gnu/testlet/javax/swing/JTextField/CopyPaste. | |
ca9e049b | 35170 | |
21276379 | 35171 | 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at> |
ca9e049b | 35172 | |
21276379 MW |
35173 | * resource/Makefile.am: Install |
35174 | logging.properties into $(prefix)/lib. | |
35175 | * resource/Makefile.am (securitydir): Changed to | |
35176 | $(prefix)/lib/security. | |
ca9e049b | 35177 | |
21276379 | 35178 | 2006-01-12 Roman Kennke <kennke@aicas.com> |
ca9e049b | 35179 | |
21276379 MW |
35180 | * javax/swing/JTextField.java |
35181 | (createDefaultModel): Moved installation of the filterNewlines | |
35182 | property to setDocument(). | |
35183 | (setDocument): New method. Installs the filterNewlines property | |
35184 | on the document. | |
ca9e049b | 35185 | |
21276379 | 35186 | 2006-01-12 Chris Burdess <dog@gnu.org> |
ca9e049b | 35187 | |
21276379 MW |
35188 | * gnu/xml/dom/DomNode.java, |
35189 | gnu/xml/transform/ElementAvailableFunction.java: Removed debugging | |
35190 | output. | |
35191 | * gnu/xml/xpath/NameTest.java, | |
35192 | gnu/xml/xpath/NamespaceTest.java, | |
35193 | gnu/xml/xpath/Selector.java: Fix regression for namespace axis | |
35194 | navigation. | |
35195 | * gnu/xml/transform/MessageNode.java: Use standard logging system | |
35196 | for outputting messages. | |
35197 | ||
35198 | 2006-01-12 Tom Tromey <tromey@redhat.com> | |
35199 | ||
35200 | * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed. | |
35201 | (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise. | |
35202 | (cache_size, cache_period, cache_purge_pct, cache): Likewise. | |
35203 | (static initializer): Removed cache code. | |
35204 | (checkCacheFor, addToCache): Removed. | |
35205 | (getAllByName): Removed cache code. | |
35206 | (lookup_time): Removed. | |
35207 | (InetAddress): Updated. | |
35208 | ||
35209 | 2006-01-12 Chris Burdess <dog@gnu.org> | |
35210 | ||
35211 | * gnu/xml/dom/DomDocument.java, | |
35212 | gnu/xml/dom/DomElement.java, | |
35213 | gnu/xml/dom/DomNode.java, | |
35214 | gnu/xml/stream/XMLParser.java, | |
35215 | gnu/xml/transform/Bindings.java, | |
35216 | gnu/xml/transform/ElementAvailableFunction.java, | |
35217 | gnu/xml/transform/ElementNode.java, | |
35218 | gnu/xml/transform/FunctionAvailableFunction.java, | |
35219 | gnu/xml/transform/NamespaceProxy.java, | |
35220 | gnu/xml/transform/StreamSerializer.java, | |
35221 | gnu/xml/transform/Stylesheet.java, | |
35222 | gnu/xml/transform/TransformerImpl.java, | |
35223 | gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for | |
35224 | document and element nodes; correct coalescing semantics when parsing; | |
35225 | attribute-sets can only refer to top-level variables and parameters; | |
35226 | fix namespace retrieval during element-available and | |
35227 | function-available functions; implement xsl:fallback for extension | |
35228 | elements; tokenize whitespace correctly during whitespace stripping; | |
35229 | correct following and previous node axes selectors. | |
35230 | ||
35231 | 2006-01-12 Roman Kennke <kennke@aicas.com> | |
35232 | ||
35233 | * java/util/Hashtable.java | |
35234 | (KeyEnumerator.nextElement): Added null check to avoid NPE. | |
35235 | (ValueEnumerator.nextElement): Added null check to avoid NPE. | |
35236 | ||
35237 | 2006-01-12 Lillian Angel <langel@redhat.com> | |
ca9e049b | 35238 | |
21276379 MW |
35239 | * javax/swing/text/GapContent.java |
35240 | (UndoInsertString): Changed name of class to InsertUndo to match the JDK. | |
35241 | ||
35242 | 2006-01-12 Mark Wielaard <mark@klomp.org> | |
35243 | ||
35244 | * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect): | |
35245 | Throw UnknowHostException when name could not be resolved. | |
35246 | ||
35247 | 2006-01-12 Jeroen Frijters <jeroen@frijters.net> | |
35248 | ||
35249 | * java/net/URL.java | |
35250 | (static, getURLStreamHandler): Use SystemProperties. | |
35251 | ||
35252 | 2006-01-12 Mark Wielaard <mark@klomp.org> | |
35253 | ||
35254 | * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive): | |
35255 | Use packet.getLength(). | |
35256 | * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c | |
35257 | (nativeReceive): Check whether the receiver wants zero bytes. | |
35258 | ||
35259 | 2006-01-12 Mark Wielaard <mark@klomp.org> | |
35260 | ||
35261 | * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when | |
35262 | other side orderly closed connection. | |
35263 | * vm/reference/gnu/java/net/VMPlainSocketImpl.java | |
35264 | (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1 | |
35265 | when end of stream reached. | |
35266 | ||
35267 | 2006-01-12 Mark Wielaard <mark@klomp.org> | |
35268 | ||
35269 | * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c: | |
35270 | Remove asserts. | |
35271 | * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise. | |
35272 | * native/jni/java-net/java_net_VMInetAddress.c: Likewise. | |
35273 | * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise. | |
35274 | * native/jni/java-net/javanet.c: Likewise. | |
35275 | ||
35276 | 2006-01-12 Mark Wielaard <mark@klomp.org> | |
35277 | ||
35278 | * native/fdlibm/mprec.c (Balloc): Disable assert to workaround | |
35279 | PR classpath/23863. | |
35280 | ||
35281 | 2006-01-11 Chris Burdess <dog@gnu.org> | |
35282 | ||
35283 | * gnu/xml/transform/AttributeNode.java, | |
35284 | gnu/xml/transform/ElementNode.java, | |
35285 | gnu/xml/transform/LiteralNode.java, | |
35286 | gnu/xml/transform/StreamSerializer.java, | |
35287 | gnu/xml/transform/StrippingInstruction.java, | |
35288 | gnu/xml/transform/Stylesheet.java, | |
35289 | gnu/xml/transform/TransformerImpl.java, | |
35290 | gnu/xml/transform/ValueOfNode.java, | |
35291 | gnu/xml/xpath/Expr.java, | |
35292 | gnu/xml/xpath/LocalNameFunction.java, | |
35293 | gnu/xml/xpath/NameFunction.java, | |
35294 | gnu/xml/xpath/NameTest.java, | |
35295 | gnu/xml/xpath/NamespaceUriFunction.java, | |
35296 | gnu/xml/xpath/NodeTypeTest.java, | |
35297 | gnu/xml/xpath/SubstringFunction.java, | |
35298 | javax/xml/namespace/QName.java: don't determine element namespace | |
35299 | from namespace aliases when specified; better namespace handling | |
35300 | when serializing elements; don't create HTML meta element unless | |
35301 | head element exists; correct encoding of CDATA sections containing | |
35302 | ']]>'; encode HTML character entity references; use ISO-Latin-1 as | |
35303 | default encoding for HTML output; rewrite of XSLT | |
35304 | strip-space/preserve-space handling; correct doctype-public and | |
35305 | doctype-system output attributes; insert generated doctype before | |
35306 | document element; fixed result tree whitespace stripping | |
35307 | algorithm; fixed semantics of XPath name, local-name, and | |
35308 | namespace-uri functions; name tests handle XML/XMLNS namespaces | |
35309 | correctly; fixed semantics of processing-instruction node test. | |
35310 | * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to | |
35311 | aid debugging. | |
35312 | ||
35313 | 2006-01-11 Lillian Angel <langel@redhat.com> | |
ca9e049b | 35314 | |
21276379 MW |
35315 | * javax/swing/text/DefaultStyledDocument.java |
35316 | (insertFracture): Added calls to addEdit for each time a structure | |
35317 | is changed. addEdit is called on the newBranch, previous, and parent | |
35318 | structures. | |
ca9e049b | 35319 | |
21276379 | 35320 | 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com> |
ca9e049b | 35321 | |
21276379 MW |
35322 | * javax/swing/text/DefaultStyledDocument.java: |
35323 | (ElementBuffer.insertContentTag): Don't adjust the structure here. | |
35324 | This will have been taken care of in insertFracture. Added a comment | |
35325 | explaining that we need to add edits to the DocumentEvent and that | |
35326 | this may be the place to do it. | |
ca9e049b | 35327 | |
21276379 | 35328 | 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com> |
ca9e049b | 35329 | |
21276379 MW |
35330 | * javax/swing/text/DefaultStyledDocument.java: |
35331 | (ElementBuffer.insertUpdate): Properly recreate Elements if the first | |
35332 | tag is an end tag. Avoid NPE by pushing the proper Element on to the | |
35333 | elementStack when there is a start tag with JoinNextDirection. | |
35334 | ||
35335 | 2006-01-11 Roman Kennke <kennke@aicas.com> | |
35336 | ||
35337 | Reported by: Fridjof Siebert <siebert@aicas.com> | |
35338 | * java/util/Hashtable.java | |
35339 | (KEYS): Removed unneeded field. | |
35340 | (VALUES): Removed unneeded field. | |
35341 | (ENTRIES): Removed unneeded field. | |
35342 | (keys): Return a KeyEnumerator instance. | |
35343 | (elements): Returns a ValueEnumerator instance. | |
35344 | (toString): Use an EntryIterator instance. | |
35345 | (keySet): Return a KeyIterator instance. | |
35346 | (values): Return a ValueIterator instance. | |
35347 | (entrySet): Return an EntryIterator instance. | |
35348 | (hashCode): Use EntryIterator instance. | |
35349 | (rehash): Changed this loop to avoid redundant reads and make | |
35350 | it obvious that null checking is not needed. | |
35351 | (writeObject): Use EntryIterator instance. | |
35352 | (HashIterator): Removed class. | |
35353 | (Enumerator): Removed class. | |
35354 | (EntryIterator): New class. | |
35355 | (KeyIterator): New class. | |
35356 | (ValueIterator): New class. | |
35357 | (EntryEnumerator): New class. | |
35358 | (KeyEnumerator): New class. | |
35359 | (ValueEnumerator): New class. | |
35360 | ||
35361 | 2006-01-11 Lillian Angel <langel@redhat.com> | |
ca9e049b | 35362 | |
21276379 MW |
35363 | * javax/swing/text/DefaultStyledDocument.java |
35364 | (toString): Shouldn't append the '>' character here. | |
35365 | (createDefaultRoot): Should not set the resolve parent. This | |
35366 | causes problems when comparing attribute sets. | |
ca9e049b | 35367 | |
21276379 | 35368 | 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com> |
ca9e049b | 35369 | |
21276379 MW |
35370 | * javax/swing/text/DefaultStyledDocument.java: |
35371 | (ElementBuffer.insertUpdate): Rewritten to properly handle start and | |
35372 | end tags. | |
35373 | (ElementBuffer.insertFracture): New method. | |
35374 | (ElementBuffer.insertContentTag): Removed unnecessary case for | |
35375 | JoinFractureDirection - this only applies to start tags, not content | |
35376 | tags. | |
35377 | (insertUpdate): Corrected conditions for setting direction to | |
35378 | JoinNextDirection. | |
ca9e049b | 35379 | |
21276379 | 35380 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
ca9e049b | 35381 | |
21276379 MW |
35382 | * Makefile.am (EXTRA_DIST): Added ChangeLog-2004. |
35383 | * ChangeLog-2005: New File. | |
ca9e049b | 35384 | |
21276379 | 35385 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
ca9e049b | 35386 | |
21276379 MW |
35387 | * native/jni/java-nio/java_nio_VMDirectByteBuffer.c |
35388 | (get): Release the array with the correct pointer. | |
35389 | (put): Release the array with the correct pointer. Copy the array | |
35390 | around _before_ releasing it. | |
ca9e049b | 35391 | |
21276379 | 35392 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
ca9e049b | 35393 | |
21276379 MW |
35394 | * javax/swing/ViewportLayout.java |
35395 | (layoutContainer): Fixed condition, to avoid ClasscastException. | |
ca9e049b | 35396 | |
21276379 | 35397 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
ca9e049b | 35398 | |
21276379 MW |
35399 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java |
35400 | (MouseHandler.mousePressed): Fixed indendation. | |
35401 | (MouseHandler.mouseDragged): Fixed indendation. | |
ca9e049b | 35402 | |
21276379 | 35403 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
ca9e049b | 35404 | |
21276379 MW |
35405 | * javax/swing/plaf/basic/BasicLookAndFeel.java |
35406 | (playSound): Added @since 1.4 to the API docs. | |
ca9e049b | 35407 | |
21276379 | 35408 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
ca9e049b MW |
35409 | |
35410 | * javax/swing/plaf/basic/BasicListUI.java | |
21276379 MW |
35411 | (maybeUpdateLayoutState): Also update the layout state, if the |
35412 | list has been invalidated since the last update. | |
ca9e049b | 35413 | |
21276379 | 35414 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
ca9e049b | 35415 | |
21276379 MW |
35416 | * javax/swing/plaf/ComponentUI.java |
35417 | (update): Fixed indendation. | |
ca9e049b | 35418 | |
21276379 | 35419 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
ca9e049b | 35420 | |
21276379 MW |
35421 | * javax/swing/ViewportLayout.java |
35422 | (layoutContainer): Fixed condition, so that Scrollable components | |
35423 | are always forced to have to Viewport size, when they | |
35424 | return true for getScrollableTracksViewportHeight() and ..Width(). | |
ca9e049b | 35425 | |
21276379 | 35426 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
ca9e049b | 35427 | |
21276379 MW |
35428 | * javax/swing/RepaintManager.java |
35429 | (validateInvalidComponents): Fixed condition to avoid NPE. | |
ca9e049b | 35430 | |
21276379 | 35431 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
ca9e049b | 35432 | |
21276379 MW |
35433 | * javax/swing/JViewport.java: |
35434 | (static_initializer): Removed unused variable myScrollMode. | |
8f523f3a | 35435 | |
21276379 | 35436 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35437 | |
21276379 MW |
35438 | * javax/swing/JTabbedPane.java: |
35439 | Cleared API docs a little. | |
8f523f3a | 35440 | |
21276379 | 35441 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35442 | |
21276379 MW |
35443 | * java/util/StringTokenizer.java |
35444 | (StringTokenizer(String, String, boolean)): | |
35445 | Don't trigger NPE here for conformance with the spec. | |
8f523f3a | 35446 | |
21276379 | 35447 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35448 | |
21276379 MW |
35449 | * java/util/ArrayList.java |
35450 | (DEFAULT_CAPACITY): Changed default capacity to 10, as specified. | |
8f523f3a | 35451 | |
21276379 | 35452 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35453 | |
21276379 MW |
35454 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java |
35455 | (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg | |
35456 | field to avoid NPE. | |
8f523f3a | 35457 | |
21276379 | 35458 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35459 | |
21276379 MW |
35460 | * native/jni/java-net/javanet.c |
35461 | (_javanet_shutdownOutput): Replaced strerror() with | |
35462 | TARGET_NATIVE_LAST_ERROR_STRING() for portability. | |
35463 | (_javanet_shutdownInput): Replaced strerror() with | |
35464 | TARGET_NATIVE_LAST_ERROR_STRING() for portability. | |
8f523f3a | 35465 | |
21276379 | 35466 | 2006-01-10 Robert Schuster <robertschuster@fsfe.org> |
8f523f3a | 35467 | |
21276379 MW |
35468 | * java/beans/EventSetDescriptor.java: Reformatted and |
35469 | fixed API docs. | |
8f523f3a | 35470 | |
21276379 | 35471 | 2006-01-10 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35472 | |
21276379 MW |
35473 | * java/lang/SecurityManager.java |
35474 | Fully qualified AWT class references in API docs. | |
8f523f3a | 35475 | |
21276379 | 35476 | 2006-01-10 Robert Schuster <robertschuster@fsfe.org> |
8f523f3a | 35477 | |
21276379 MW |
35478 | * java/beans/EventSetDescriptor.java: |
35479 | (getGetListenerMethod): New method. | |
8f523f3a | 35480 | |
21276379 | 35481 | 2006-01-10 Mark Wielaard <mark@klomp.org> |
8f523f3a | 35482 | |
21276379 | 35483 | * lib/Makefile.am (GCJX): Add -g to get linenumber info. |
8f523f3a | 35484 | |
21276379 | 35485 | 2006-01-10 Jeroen Frijters <jeroen@frijters.net> |
8f523f3a | 35486 | |
21276379 MW |
35487 | PR classpath/25727 |
35488 | * java/util/Hashtable.java | |
35489 | (contains): Call equals on existing value. | |
35490 | (containsKey, get, put, remove): Call equals on existing key. | |
35491 | (getEntry): Call equals on existing entry. | |
8f523f3a | 35492 | |
21276379 | 35493 | 2006-01-10 Jeroen Frijters <jeroen@frijters.net> |
8f523f3a | 35494 | |
21276379 MW |
35495 | PR classpath/24618 |
35496 | * java/util/AbstractMap.java | |
35497 | (equals(Object,Object)): Test for identity first. | |
35498 | * java/util/WeakHashMap.java | |
35499 | (WeakBucket.WeakEntry.equals): Use helper method to determine equality. | |
35500 | (WeakBucket.WeakEntry.toString): Fixed string representation of | |
35501 | null key. | |
35502 | (internalGet): Use helper method to determine equality. | |
8f523f3a | 35503 | |
21276379 | 35504 | 2006-01-09 Robert Schuster <robertschuster@fsfe.org> |
8f523f3a | 35505 | |
21276379 MW |
35506 | * java/beans/EventSetDescriptor.java: Implemented the two 1.4 |
35507 | constructors. | |
8f523f3a | 35508 | |
21276379 | 35509 | 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com> |
8f523f3a | 35510 | |
21276379 MW |
35511 | * javax/swing/text/PlainDocument.java: |
35512 | (insertUpdate): Handle special case of an insertion immediately | |
35513 | following a newline character. | |
8f523f3a | 35514 | |
21276379 | 35515 | 2006-01-09 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35516 | |
21276379 MW |
35517 | * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c |
35518 | (connect): Added stream parameter to _connect() call. | |
35519 | * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c | |
35520 | (connect): Added stream parameter to _connect() call. | |
35521 | * native/jni/java-net/javanet.c | |
35522 | (_javanet_create_localfd): Added stream parameter. Look up | |
35523 | fd field based on the stream parameter either in SocketImpl or | |
35524 | in DatagramSocketImpl. | |
35525 | (_javanet_connect): Added stream parameter. Call create_localfd | |
35526 | using this stream parameter. Set localPort field either in | |
35527 | SocketImpl or in DatagramSocketImpl, depending on the stream | |
35528 | flag. | |
35529 | * native/jni/java-net/javanet.c | |
35530 | (_javanet_connect): Added stream parameter. | |
8f523f3a | 35531 | |
21276379 | 35532 | 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
8f523f3a | 35533 | |
21276379 MW |
35534 | * javax.management.Attribute.java: Grammar and |
35535 | formatting fixes. | |
8f523f3a | 35536 | |
21276379 | 35537 | 2006-01-09 Mark Wielaard <mark@klomp.org> |
8f523f3a | 35538 | |
21276379 MW |
35539 | * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct |
35540 | exception when channel is not readable or writable. | |
35541 | * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c | |
35542 | (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure | |
35543 | there is enough space to mmap(). | |
8f523f3a | 35544 | |
21276379 | 35545 | 2006-01-09 Robert Schuster <robertschuster@fsfe.org> |
8f523f3a | 35546 | |
21276379 MW |
35547 | * java/beans/Introspector.java: |
35548 | (getBeanInfo(Class, int)): New method. | |
35549 | (getBeanInfo(Class, Class): Moved common code in a new method. | |
35550 | (merge): New method. | |
8f523f3a | 35551 | |
21276379 | 35552 | 2006-01-09 Robert Schuster <robertschuster@fsfe.org> |
8f523f3a | 35553 | |
21276379 | 35554 | * java/beans/XMLEncoder.java: Fix spelling mistakes. |
8f523f3a | 35555 | |
21276379 | 35556 | 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com> |
8f523f3a | 35557 | |
21276379 MW |
35558 | * javax/swing/text/DefaultStyledDocument.java: |
35559 | (insertUpdate): Removed call to checkForInsertAfterNewline and instead | |
35560 | inlined this method because it needs to change the value of the | |
35561 | finalStartTag and finalStartDirection variables. | |
35562 | (checkForInsertAfterNewline): Removed this method. | |
35563 | (handleInsertAfterNewline): Added case for making the start tag's | |
35564 | direction JoinNextDirection. | |
8f523f3a | 35565 | |
21276379 | 35566 | 2006-01-09 Lillian Angel <langel@redhat.com> |
8f523f3a | 35567 | |
21276379 MW |
35568 | * javax/swing/plaf/basic/BasicTreeUI.java: |
35569 | Added new field. | |
35570 | (setRowHeight): Row height is set to the max height of | |
35571 | all the nodes, or 20 as a default value. | |
35572 | (getPathBounds): Cleaned up code. | |
35573 | (getMaxHeight): New helper function that gets the max | |
35574 | height of all the rows. | |
35575 | (getClosestPathForLocation): Fixed to use getMaxHeight. | |
35576 | (updateCachedPreferredSize): Likewise. | |
35577 | (installUI): Shouldn't expand tree on startup. | |
35578 | (getNodeDimensions): Fixed to use getMaxHeight. | |
8f523f3a | 35579 | |
21276379 | 35580 | 2006-01-09 Mark Wielaard <mark@klomp.org> |
8f523f3a | 35581 | |
21276379 MW |
35582 | * javax/swing/JList.java (setSelectedIndex): Clear selection when |
35583 | argument is negative. | |
8f523f3a | 35584 | |
21276379 | 35585 | 2006-01-08 Mark Wielaard <mark@klomp.org> |
8f523f3a | 35586 | |
21276379 | 35587 | * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName. |
8f523f3a | 35588 | |
21276379 | 35589 | 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
8f523f3a | 35590 | |
21276379 | 35591 | * javax.management.Attribute.java: New file. |
8f523f3a | 35592 | |
21276379 | 35593 | 2006-01-09 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35594 | |
21276379 MW |
35595 | * java/net/DatagramSocketImpl.java |
35596 | (localPort): Renamed to localport for correct access from native | |
35597 | code. | |
8f523f3a | 35598 | |
21276379 | 35599 | 2006-01-09 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35600 | |
21276379 MW |
35601 | * javax/swing/Popup.java |
35602 | (LightweightPopup.hide): Repaint the layered pane when popup is | |
35603 | removed. | |
8f523f3a | 35604 | |
21276379 | 35605 | 2006-01-09 Roman Kennke <kennke@aicas.com> |
8f523f3a MW |
35606 | |
35607 | * java/awt/Container.java | |
21276379 MW |
35608 | (remove): Don't repaint the container here. |
35609 | ||
35610 | 2006-01-08 Tom Tromey <tromey@redhat.com> | |
35611 | ||
35612 | * java/lang/InheritableThreadLocal.java: Organized imports. | |
35613 | ||
35614 | 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org> | |
35615 | ||
35616 | Fixes bug #25679 | |
35617 | * gnu/regexp/RETokenRepeated.java(match): Optimized the case | |
35618 | when an empty string matched an empty token. | |
35619 | ||
35620 | 2006-01-08 Chris Burdess <dog@gnu.org> | |
35621 | ||
35622 | * gnu/xml/stream/SAXParser.java: Check standalone status for mixed | |
35623 | content models from external entities. | |
35624 | * gnu/xml/stream/UnicodeReader.java: Report error instead of | |
35625 | attempting to continue with unpaired surrogates. | |
35626 | * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when | |
35627 | resolving entities with character entity references; better | |
35628 | checking of valid character ranges; don't report an error for URI | |
35629 | fragments in notation declarations; check unbound namespace | |
35630 | prefixes for elements and attributes, including XML 1.1 unbinding | |
35631 | syntax; namespace-aware checking of attribute duplicates. | |
35632 | ||
35633 | 2006-01-08 Robert Schuster <robertschuster@fsfe.org> | |
35634 | ||
35635 | * java/beans/Statement.java: Doc fixes. | |
35636 | (doExecute): Workaround for Class.forName call. | |
35637 | (toString): Made output look more like on the JDK. | |
35638 | * java/beans/Expression.java: Doc fixes. | |
35639 | (toString): Made output look more like on the JDK. | |
35640 | * java/beans/PersistenceDelegate.java, | |
35641 | java/beans/DefaultPersistenceDelegate.java, | |
35642 | java/beans/Encoder.java, | |
35643 | java/beans/XMLEncoder.java: New file. | |
35644 | * gnu/java/beans/encoder/ArrayPersistenceDelegate.java, | |
35645 | gnu/java/beans/encoder/ClassPersistenceDelegate.java, | |
35646 | gnu/java/beans/encoder/CollectionPersistenceDelegate.java, | |
35647 | gnu/java/beans/encoder/Context.java, | |
35648 | gnu/java/beans/encoder/GenericScannerState.java, | |
35649 | gnu/java/beans/encoder/IgnoringScannerState.java, | |
35650 | gnu/java/beans/encoder/MapPersistenceDelegate.java, | |
35651 | gnu/java/beans/encoder/ObjectId.java, | |
35652 | gnu/java/beans/encoder/PrimitivePersistenceDelegate.java, | |
35653 | gnu/java/beans/encoder/ReportingScannerState.java, | |
35654 | gnu/java/beans/encoder/Root.java, | |
35655 | gnu/java/beans/encoder/ScanEngine.java, | |
35656 | gnu/java/beans/encoder/ScannerState.java, | |
35657 | gnu/java/beans/encoder/StAXWriter.java, | |
35658 | gnu/java/beans/encoder/Writer.java: New file. | |
35659 | * gnu/java/beans/encoder/elements/Array_Get.java, | |
35660 | gnu/java/beans/encoder/elements/Element.java, | |
35661 | gnu/java/beans/encoder/elements/List_Set.java, | |
35662 | gnu/java/beans/encoder/elements/Array_Set.java, | |
35663 | gnu/java/beans/encoder/elements/NullObject.java, | |
35664 | gnu/java/beans/encoder/elements/StaticMethodInvocation.java, | |
35665 | gnu/java/beans/encoder/elements/StaticFieldAccess.java, | |
35666 | gnu/java/beans/encoder/elements/StringReference.java, | |
35667 | gnu/java/beans/encoder/elements/ClassResolution.java, | |
35668 | gnu/java/beans/encoder/elements/ArrayInstantiation.java, | |
35669 | gnu/java/beans/encoder/elements/PrimitiveInstantiation.java, | |
35670 | gnu/java/beans/encoder/elements/ObjectReference.java, | |
35671 | gnu/java/beans/encoder/elements/ObjectInstantiation.java, | |
35672 | gnu/java/beans/encoder/elements/List_Get.java, | |
35673 | gnu/java/beans/encoder/elements/MethodInvocation.java: New file. | |
35674 | ||
35675 | 2006-01-08 Chris Burdess <dog@gnu.org> | |
35676 | ||
35677 | * java/lang/Character.java (toChars,toCodePoint): Correct these | |
35678 | methods to use algorithms from Unicode specification. | |
35679 | ||
35680 | 2006-01-08 Mark Wielaard <mark@klomp.org> | |
8f523f3a | 35681 | |
21276379 | 35682 | * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o. |
8f523f3a | 35683 | |
21276379 | 35684 | 2006-01-07 Paul Jenner <psj@harker.dyndns.org> |
8f523f3a | 35685 | |
21276379 MW |
35686 | Fixes bug #25711 |
35687 | * examples/Makefile.am: Corrected DESTDIR install paths. | |
8f523f3a | 35688 | |
21276379 | 35689 | 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
8f523f3a | 35690 | |
21276379 MW |
35691 | * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - |
35692 | ASCII character (line 46). | |
8f523f3a | 35693 | |
21276379 | 35694 | 2006-01-07 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35695 | |
21276379 | 35696 | * javax/swing/text/TableView.java: New file. |
8f523f3a | 35697 | |
21276379 | 35698 | 2006-01-07 Chris Burdess <dog@gnu.org> |
8f523f3a | 35699 | |
21276379 MW |
35700 | * gnu/xml/stream/BufferedReader.java: Removed commented out code. |
35701 | * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour. | |
35702 | * gnu/xml/stream/XMLParser.java: Make additional StAX properties | |
35703 | available; correct handling of unparsed entity references; | |
35704 | absolutize all base URIs; remove commented out code. | |
8f523f3a | 35705 | |
21276379 | 35706 | 2006-01-07 Chris Burdess <dog@gnu.org> |
8f523f3a | 35707 | |
21276379 MW |
35708 | * gnu/xml/stream/SAXParser.java, |
35709 | gnu/xml/stream/XMLParser.java: Add SAX property to return base | |
35710 | URI of the current event. | |
8f523f3a | 35711 | |
21276379 | 35712 | 2006-01-07 Chris Burdess <dog@gnu.org> |
8f523f3a | 35713 | |
21276379 MW |
35714 | * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base |
35715 | aware processing. | |
8f523f3a | 35716 | |
21276379 | 35717 | 2006-01-07 Chris Burdess <dog@gnu.org> |
8f523f3a | 35718 | |
21276379 MW |
35719 | * gnu/xml/stream/SAXParser.java, |
35720 | gnu/xml/stream/XIncludeFilter.java, | |
35721 | gnu/xml/stream/XMLParser.java: Updated documentation. | |
8f523f3a | 35722 | |
21276379 | 35723 | 2006-01-07 Chris Burdess <dog@gnu.org> |
8f523f3a | 35724 | |
21276379 | 35725 | * AUTHORS: add self. |
8f523f3a | 35726 | |
21276379 | 35727 | 2006-01-06 Casey Marshall <csm@gnu.org> |
8f523f3a | 35728 | |
21276379 | 35729 | * AUTHORS: add myself. |
8f523f3a | 35730 | |
21276379 | 35731 | 2006-01-06 Casey Marshall <csm@gnu.org> |
8f523f3a | 35732 | |
21276379 MW |
35733 | PR classpath/25699 |
35734 | * javax/crypto/CipherInputStream.java (logger): new constant. | |
35735 | (cipher): make final. | |
35736 | (outLength, inBuffer, inLength): removed. | |
35737 | (isStream): make final. | |
35738 | (VIRGIN, LIVING, DYING, DEAD, state): removed. | |
35739 | (eof): new field. | |
35740 | (<init>): call `super,' not `this;' remove `inBuffer' and | |
35741 | `outBuffer' initialization; init `eof;' add debug logging. | |
35742 | (<init>): call `this' with a new null cipher. | |
35743 | (available): fix javadoc to reflect the real semantics; if we | |
35744 | don't have a buffer, call `nextBlock.' | |
35745 | (close): synchronize. | |
35746 | (read): synchronize; fix testing for buffered data. | |
35747 | (read): synchronize; add `skip' semantics if first argument is | |
35748 | `null;' decrypt stream cipher data only if there is any; fix tests | |
35749 | for buffered data. | |
35750 | (skip): stop using `available' to see how many data are buffered. | |
35751 | (nextBlock): simplify to use cipher-allocated output buffers | |
35752 | instead of internally allocated ones. | |
8f523f3a | 35753 | |
21276379 | 35754 | 2006-01-06 Tom Tromey <tromey@redhat.com> |
8f523f3a | 35755 | |
21276379 | 35756 | * java/lang/String.java (codePointCount): Fixed javadoc. |
8f523f3a | 35757 | |
21276379 | 35758 | 2006-01-06 Tom Tromey <tromey@redhat.com> |
8f523f3a | 35759 | |
21276379 | 35760 | * java/lang/String.java (contains): Added @since. |
8f523f3a | 35761 | |
21276379 | 35762 | 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org> |
8f523f3a | 35763 | |
21276379 MW |
35764 | Fixes bug #25616 |
35765 | * gnu/regexp/RE.java(initialize): Allow repeat.empty.token. | |
35766 | * gnu/regexp/RETokenRepeated.java(match): Break the loop | |
35767 | when an empty string matched an empty token. | |
8f523f3a | 35768 | |
21276379 | 35769 | 2006-01-06 Jeroen Frijters <jeroen@frijters.net> |
8f523f3a | 35770 | |
21276379 MW |
35771 | PR classpath/24858 |
35772 | * gnu/java/util/WeakIdentityHashMap.java: New file. | |
35773 | * java/lang/InheritableThreadLocal.java | |
35774 | (newChildThread): Modified to remove key indirection. | |
35775 | * java/lang/Thread.java | |
35776 | (locals): Changed type to WeakIdentityHashMap. | |
35777 | (getThreadLocals): Instantiate WeakIdentityHashMap instead of | |
35778 | WeakHashMap. | |
35779 | * java/lang/ThreadLocal.java | |
35780 | (key, Key): Removed. | |
35781 | (get, set): Changed to use "this" instead of "key". | |
8f523f3a | 35782 | |
21276379 | 35783 | 2006-01-06 Dalibor Topic <robilad@kaffe.org> |
8f523f3a | 35784 | |
21276379 | 35785 | * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h. |
8f523f3a | 35786 | |
21276379 | 35787 | * native/fdlibm/java-assert.h: Removed file. |
8f523f3a | 35788 | |
21276379 MW |
35789 | * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h. |
35790 | Replaced use of JvAssert by assert. | |
8f523f3a | 35791 | |
21276379 | 35792 | 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com> |
8f523f3a | 35793 | |
21276379 MW |
35794 | * javax/swing/text/DefaultCaret.java: |
35795 | (setDot): Fixed paramater to Math.max to be this.dot and not the | |
35796 | parameter dot. | |
8f523f3a | 35797 | |
21276379 | 35798 | 2006-01-05 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35799 | |
21276379 MW |
35800 | * javax/swing/plaf/basic/BasicListUI.java |
35801 | (getCellHeight): New helper method. | |
35802 | (getCellBounds): Use new helper method for determining the cell | |
35803 | height. | |
35804 | (paint): Don't call list.indexToLocation() but instead call | |
35805 | directly into the same UI method. | |
35806 | (locationToIndex): Fixed calculation of # visible rows and handling | |
35807 | of cell heights. | |
35808 | (indexToLocation): Fixed calculation of # visible rows and handling | |
35809 | of cell heights. | |
8f523f3a | 35810 | |
21276379 | 35811 | 2006-01-05 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35812 | |
21276379 MW |
35813 | * javax/swing/plaf/metal/MetalFileChooserUI.java |
35814 | (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane | |
35815 | in the file chooser. | |
8f523f3a | 35816 | |
21276379 | 35817 | 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com> |
8f523f3a | 35818 | |
21276379 MW |
35819 | * javax/swing/JTextPane.java: |
35820 | (replaceSelection): If the document is an AbstractDocument, use replace | |
35821 | rather than remove and insert. | |
35822 | * javax/swing/event/EventListenerList.java: | |
35823 | (getListeners): Reversed the order of the listeners to match the | |
35824 | reference implementation. | |
35825 | * javax/swing/text/AbstractDocument.java: | |
35826 | (insertString): Add the UndoableEdit from the content.insertString call | |
35827 | to the DocumentEvent. | |
35828 | (DefaultDocumentEvent.toString): Implemented. | |
35829 | * javax/swing/text/DefaultCaret.java: | |
35830 | (setDot): Make sure dot is > 0 and less than the length of the | |
35831 | document. | |
35832 | * javax/swing/text/DefaultStyledDocument.java: | |
35833 | (ElementBuffer.insertUpdate): Set the modified tag of the document | |
35834 | event when we get start and end tags. This ensures that we create the | |
35835 | proper BranchElements in endEdit(). | |
35836 | (ElementBuffer.insertUpdate): Added FIXME to handle | |
35837 | JoinFractureDirection case. | |
35838 | (insertUpdate): Added code to check if we're inserting immediately | |
35839 | after a newline and to handle this case (create start and end tags). | |
35840 | Only change the direction of the first and last tags if they are of | |
35841 | type ContentType. | |
35842 | (checkForInsertAfterNewline): New helper method. | |
35843 | (handleInsertAfterNewline): Likewise. | |
35844 | * javax/swing/text/View.java: | |
35845 | (updateLayout): Avoid NPE by checking if shape is null. Repaint | |
35846 | container. | |
35847 | ||
35848 | 2006-01-05 Mark Wielaard <mark@klomp.org> | |
35849 | ||
35850 | * newsitems.txt: Add fosdem meeting. | |
35851 | * events/events.wml: Likewise. | |
35852 | * events/fosdem06.wml: New file. | |
35853 | ||
35854 | 2006-01-05 Lillian Angel <langel@redhat.com> | |
35855 | ||
35856 | * javax/swing/text/GapContent.java | |
35857 | (createPosition): No positions should be created inside the | |
35858 | gap. Fixed check to ensure this does not happen. | |
8f523f3a | 35859 | |
21276379 | 35860 | 2006-01-05 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35861 | |
21276379 MW |
35862 | * javax/swing/RepaintManager.java |
35863 | (validateInvalidComponents): Search for the validate root | |
35864 | and start validating there. | |
8f523f3a | 35865 | |
21276379 | 35866 | 2006-01-05 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35867 | |
21276379 MW |
35868 | * javax/swing/plaf/basic/BasicListUI.java |
35869 | (ComponentHandler): Removed unneeded class. | |
35870 | (ListDataHandler.contentsChanged): Revalidate instead of calling | |
35871 | damageLayout(). | |
35872 | (ListDataHandler.intervalAdded): Revalidate instead of calling | |
35873 | damageLayout(). | |
35874 | (ListDataHandler.intervalRemoved): Revalidate instead of calling | |
35875 | damageLayout(). | |
35876 | (PropertyChangeHandler.propertyChange): Or flags together instead | |
35877 | of adding them. Don't call damageLayout(). | |
35878 | (componentListener): Removed unnecessary field. | |
35879 | (damageLayout): Removed unnecessary method. | |
35880 | (installListeners): Don't install unnecessary listeners. | |
35881 | (uninstallListeners): Dito. | |
35882 | (getPreferredSize): Don't ask for the real list height and | |
35883 | calculate with the previously calculated list height. | |
35884 | (locationToIndex): Renamed list parameter to l so that it doesn't | |
35885 | shadow the field with the same name. | |
35886 | (indexToLocation): Renamed list parameter to l so that it doesn't | |
35887 | shadow the field with the same name. | |
35888 | ||
35889 | 2006-01-04 Tom Tromey <tromey@redhat.com> | |
35890 | ||
35891 | * include/.cvsignore: Ignore config-int.h. | |
35892 | ||
35893 | 2006-01-04 Roman Kennke <kennke@aicas.com> | |
8f523f3a | 35894 | |
21276379 MW |
35895 | * javax/swing/plaf/basic/BasicListUI.java |
35896 | (getPreferredSize): Rewritten to match the specs. | |
8f523f3a | 35897 | |
21276379 | 35898 | 2006-01-04 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35899 | |
21276379 MW |
35900 | * javax/swing/JFileChooser.java |
35901 | (showOpenDialog): Set fixed width on the dialog. | |
35902 | (showSaveDialog): Set fixed width on the dialog. | |
35903 | (showDialog): Set fixed width on the dialog. | |
8f523f3a | 35904 | |
21276379 | 35905 | 2006-01-04 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35906 | |
21276379 MW |
35907 | * javax/swing/plaf/basic/BasicListUI.java |
35908 | (locationToIndex): Added FIXME about getVisibleRowCount() usage. | |
35909 | Adjusted iteration to not use visibleRowCount and instead iterate | |
35910 | over the real number of elements in cellHeights. | |
35911 | (indexToLocation): Added FIXME about getVisibleRowCount() usage. | |
35912 | Adjusted iteration to not use visibleRowCount and instead iterate | |
35913 | over the real number of elements in cellHeights. | |
35914 | ||
35915 | 2006-01-04 Roman Kennke <kennke@aicas.com> | |
35916 | ||
35917 | * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c, | |
35918 | * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c: | |
35919 | Added __attribute__((__unused__)) macros to avoid gcc warnings. | |
35920 | ||
35921 | 2006-01-04 Roman Kennke <kennke@aicas.com> | |
35922 | ||
35923 | * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class. | |
35924 | * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: | |
35925 | New VM class. | |
35926 | * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file. | |
35927 | * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c: | |
35928 | New file. | |
35929 | * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c: | |
35930 | Removed. | |
35931 | * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed. | |
35932 | * native/jni/java-net/Makefile.am: Adjusted for new source files. | |
35933 | * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface. | |
35934 | * gnu/java/net/PlainSocketImpl.java: Use new VM interface. | |
35935 | * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed. | |
35936 | * include/gnu_java_net_PlainSocketImpl.h: Removed. | |
35937 | * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file. | |
35938 | * include/gnu_java_net_VMPlainSocketImpl.h: New header file. | |
8f523f3a | 35939 | |
21276379 | 35940 | 2006-01-04 Lillian Angel <langel@redhat.com> |
8f523f3a | 35941 | |
21276379 MW |
35942 | * javax/swing/plaf/metal/MetalFileChooserUI.java |
35943 | (propertyChange): Fixed to change the combo box label | |
35944 | appropriately. Also, fixed to set the textfield's text | |
35945 | correctly. | |
35946 | (editFile): Fixed size of editing field. | |
35947 | (installComponents): Correctly aligned all panels. | |
35948 | (installStrings): Fixed to set the label's text | |
35949 | appropriately depending on the dialog type. | |
8f523f3a | 35950 | |
21276379 | 35951 | 2006-01-04 Lillian Angel <langel@redhat.com> |
8f523f3a | 35952 | |
21276379 MW |
35953 | PR classpath/25473 |
35954 | PR classpath/25479 | |
35955 | * javax/swing/JTree.java | |
35956 | (JTree): Because some L&F defaults have been updated, | |
35957 | the selectionMode for the tree needed to be set to SINGLE. | |
35958 | * javax/swing/plaf/basic/BasicFileChooserUI.java: | |
35959 | Initialized accessoryPanel. | |
35960 | * javax/swing/plaf/metal/MetalFileChooserUI.java | |
35961 | (installComponents): Added accessoryPanel to the filechooser. | |
8f523f3a | 35962 | |
21276379 | 35963 | 2006-01-04 Dalibor Topic <robilad@kaffe.org> |
8f523f3a | 35964 | |
21276379 | 35965 | * configure.ac: Added AX_CREATE_STDINT_H |
8f523f3a | 35966 | |
21276379 | 35967 | * include/Makefile.am (DISTCLEANFILES): Remove config-int.h. |
8f523f3a | 35968 | |
21276379 | 35969 | * m4/ax_create_stdint_h.m4: New file. |
8f523f3a | 35970 | |
21276379 MW |
35971 | * native/fdlibm/mprec.h: Include config-int.h. Removed C99 |
35972 | typedefs. Removed stdint.h and inttypes.h includes. | |
35973 | ||
35974 | 2006-01-03 Mark Wielaard <mark@klomp.org> | |
8f523f3a | 35975 | |
21276379 MW |
35976 | * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only |
35977 | register keyboard action when accelerator is not null. | |
35978 | * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only | |
35979 | re-register accelerator if not null. | |
35980 | (installKeyboardActions): Only put accelerator in map when not null. | |
8f523f3a | 35981 | |
21276379 | 35982 | 2006-01-04 Lillian Angel <langel@redhat.com> |
8f523f3a | 35983 | |
21276379 MW |
35984 | * javax/swing/plaf/basic/BasicLookAndFeel.java |
35985 | (initComponentDefaults): Removed unneeded default. | |
35986 | * javax/swing/plaf/metal/MetalLookAndFeel.java | |
35987 | (initComponentDefaults): Added and fixed several defaults. | |
8f523f3a | 35988 | |
21276379 | 35989 | 2006-01-04 Roman Kennke <kennke@aicas.com> |
8f523f3a | 35990 | |
21276379 | 35991 | * javax/swing/plaf/basic/BasicHTML.java: New class. |
8f523f3a | 35992 | |
21276379 | 35993 | 2006-01-03 Tom Tromey <tromey@redhat.com> |
8f523f3a | 35994 | |
21276379 MW |
35995 | * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since. |
35996 | * java/io/InputStreamReader.java (InputStreamReader): Added @since. | |
8f523f3a | 35997 | |
21276379 | 35998 | 2006-01-03 Mark Wielaard <mark@klomp.org> |
8f523f3a | 35999 | |
21276379 | 36000 | * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters. |
8f523f3a | 36001 | |
21276379 | 36002 | 2006-01-03 Mark Wielaard <mark@klomp.org> |
8f523f3a | 36003 | |
21276379 MW |
36004 | * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel): |
36005 | Always call createDefaultTheme(). | |
36006 | (createDefaultTheme): Check whether theme is still null. | |
8f523f3a | 36007 | |
21276379 | 36008 | 2006-01-03 Mark Wielaard <mark@klomp.org> |
8f523f3a | 36009 | |
21276379 MW |
36010 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to |
36011 | Color.WHITE if null. | |
8f523f3a | 36012 | |
21276379 | 36013 | 2006-01-03 Lillian Angel <langel@redhat.com> |
8f523f3a | 36014 | |
21276379 MW |
36015 | * javax/swing/plaf/metal/MetalLookAndFeel.java |
36016 | (getDescription): Fixed to return the correct string. | |
36017 | (getID): Likewise. | |
36018 | (getName): Likewise. | |
36019 | (getDefaults): Added check to avoid NPE. | |
36020 | (getAcceleratorForeground): Likewise. | |
36021 | (getAcceleratorSelectedForeground): Likewise. | |
36022 | (getBlack): Likewise. | |
36023 | (getControl): Likewise. | |
36024 | (getControlDarkShadow): Likewise. | |
36025 | (getControlDisabled): Likewise. | |
36026 | (getControlHighlight): Likewise. | |
36027 | (getControlInfo): Likewise. | |
36028 | (getControlShadow): Likewise. | |
36029 | (getControlTextColor): Likewise. | |
36030 | (getControlTextFont): Likewise. | |
36031 | (getDesktopColor): Likewise. | |
36032 | (getFocusColor): Likewise. | |
36033 | (getHighlightedTextColor): Likewise. | |
36034 | (getInactiveControlTextColor): Likewise. | |
36035 | (getInactiveSystemTextColor): Likewise. | |
36036 | (getMenuBackground): Likewise. | |
36037 | (getMenuDisabledForeground): Likewise. | |
36038 | (getMenuForeground): Likewise. | |
36039 | (getMenuSelectedBackground): Likewise. | |
36040 | (getMenuSelectedForeground): Likewise. | |
36041 | (getMenuTextFont): Likewise. | |
36042 | (getPrimaryControl): Likewise. | |
36043 | (getPrimaryControlDarkShadow): Likewise. | |
36044 | (getPrimaryControlHighlight): Likewise. | |
36045 | (getPrimaryControlInfo): Likewise. | |
36046 | (getPrimaryControlShadow): Likewise. | |
36047 | (getSeparatorBackground): Likewise. | |
36048 | (getSeparatorForeground): Likewise. | |
36049 | (getSubTextFont): Likewise. | |
36050 | (getSystemTextColor): Likewise. | |
36051 | (getSystemTextFont): Likewise. | |
36052 | (getTextHighlightColor): Likewise. | |
36053 | (getUserTextColor): Likewise. | |
36054 | (getUserTextFont): Likewise. | |
36055 | (getWhite): Likewise. | |
36056 | (getWindowBackground): Likewise. | |
36057 | (getWindowTitleBackground): Likewise. | |
36058 | (getWindowTitleFont): Likewise. | |
36059 | (getWindowTitleForeground): Likewise. | |
36060 | (getWindowTitleInactiveBackground): Likewise. | |
36061 | (getWindowTitleInactiveForeground): Likewise. | |
8f523f3a | 36062 | |
21276379 | 36063 | 2006-01-03 Mark Wielaard <mark@klomp.org> |
8f523f3a | 36064 | |
21276379 MW |
36065 | * javax/swing/JTextArea.java |
36066 | (JTextArea(Document,text,int,int)): Only call setText() when text is | |
36067 | not null. | |
8f523f3a | 36068 | |
21276379 | 36069 | 2006-01-03 Lillian Angel <langel@redhat.com> |
8f523f3a | 36070 | |
21276379 MW |
36071 | * javax/swing/plaf/basic/BasicFileChooserUI.java |
36072 | (installStrings): Fixed installation of defaults that | |
36073 | were changed in BasicLookAndFeel. | |
36074 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
36075 | (installDefaults): Fixed installation of defaults that | |
36076 | were changed in BasicLookAndFeel. | |
8f523f3a | 36077 | |
21276379 | 36078 | 2006-01-03 Lillian Angel <langel@redhat.com> |
8f523f3a | 36079 | |
21276379 MW |
36080 | * javax/swing/plaf/basic/BasicLookAndFeel.java |
36081 | (initComponentDefaults): Fixed several defaults that differed | |
36082 | from the JDK. | |
8f523f3a | 36083 | |
21276379 | 36084 | 2006-01-03 Lillian Angel <langel@redhat.com> |
8f523f3a | 36085 | |
21276379 MW |
36086 | * javax/swing/tree/DefaultTreeSelectionModel.java |
36087 | (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION. | |
8f523f3a | 36088 | |
21276379 | 36089 | 2006-01-03 Lillian Angel <langel@redhat.com> |
8f523f3a | 36090 | |
21276379 MW |
36091 | * javax/swing/AbstractAction.java |
36092 | (AbstractAction): Fixed to pass in null. Should not be | |
36093 | an empty string. Removed TODO comment. | |
36094 | (AbstractAction): Removed TODO comment. | |
36095 | * javax/swing/JList.java | |
36096 | (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION. | |
36097 | * javax/swing/JMenuItem.java | |
36098 | (JMenuItem): Set all defaults if the action passed in is not null. | |
36099 | * javax/swing/JProgressBar.java | |
36100 | (JProgressBar): Added check to prevent NPE. | |
8f523f3a | 36101 | |
21276379 | 36102 | 2006-01-03 Lillian Angel <langel@redhat.com> |
8f523f3a | 36103 | |
21276379 MW |
36104 | * javax/swing/plaf/basic/BasicListUI.java |
36105 | (getPreferredSize): The JDK adds some extra space to | |
36106 | the list, so we should as well. | |
36107 | * javax/swing/plaf/metal/MetalFileChooserUI.java | |
36108 | (getPreferredSize): Should only take the fileListPanel's | |
36109 | width into account when getting the size. Also, the buttonPanel's | |
36110 | size should not be checked, since it is in the bottomPanel already. | |
36111 | (getMinimumSize): Likewise. | |
8f523f3a | 36112 | |
21276379 | 36113 | 2006-01-03 Lillian Angel <langel@redhat.com> |
8f523f3a | 36114 | |
21276379 MW |
36115 | * javax/swing/JList.java |
36116 | (init): visibleRowCount should be 7, like the JDK. | |
36117 | * javax/swing/plaf/metal/MetalFileChooserUI.java | |
36118 | (installComponents): No need to add the fileFilterCombo | |
36119 | to a panel. It can be added to the row directly. | |
8f523f3a | 36120 | |
21276379 MW |
36121 | 2006-01-03 Lillian Angel <langel@redhat.com> |
36122 | ||
36123 | PR classpath/25480 PR classpath/25478 | |
36124 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
36125 | (updateViewport): Made changes suggested by | |
36126 | Chris Lansdown. | |
36127 | * javax/swing/plaf/metal/MetalFileChooserUI.java: | |
36128 | Removed unneeded import. | |
36129 | (createList): Removed comment, JList wrapping | |
36130 | now works. | |
36131 | (getPreferredSize): Made changes suggested by | |
36132 | Chris Lansdown. Uses fileListPanel, instead | |
36133 | of fileList. | |
36134 | (getMinimumSize): Uses fileListPanel, instead | |
36135 | of fileList. | |
36136 | * javax/swing/plaf/metal/MetalRadioButtonUI.java | |
36137 | (paintFocus): Fixed height. | |
8f523f3a | 36138 | |
21276379 | 36139 | 2006-01-03 Roman Kennke <kennke@aicas.com> |
8f523f3a | 36140 | |
21276379 MW |
36141 | * javax/swing/plaf/basic/BasicListUI.java |
36142 | (locationToIndex): Added check to avoid ArrayOutOfBoundsException. | |
8f523f3a | 36143 | |
21276379 | 36144 | 2006-01-03 Roman Kennke <kennke@aicas.com> |
8f523f3a | 36145 | |
21276379 MW |
36146 | * javax/swing/plaf/basic/BasicListUI.java |
36147 | (locationToIndex): Special case for when variable cell heights | |
36148 | are possible. (cellHeights is used instead of cellHeight). | |
36149 | (indexToLocation): Special case for when variable cell heights | |
36150 | are possible. (cellHeights is used instead of cellHeight). | |
8f523f3a | 36151 | |
21276379 | 36152 | 2006-01-03 Roman Kennke <kennke@aicas.com> |
8f523f3a | 36153 | |
21276379 MW |
36154 | * javax/swing/text/DefaultStyledDocument.java |
36155 | (ElementBuffer.remove): New method. | |
36156 | (ElementBuffer.removeUpdate): New method. | |
36157 | (removeUpdate): New method. | |
8f523f3a | 36158 | |
21276379 | 36159 | 2006-01-03 Roman Kennke <kennke@aicas.com> |
8f523f3a | 36160 | |
21276379 MW |
36161 | * lib/Makefile.am: |
36162 | (dist-hook): Preserve attributes of Java sources when copying to | |
36163 | dist dir. | |
36164 | ||
36165 | 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au> | |
36166 | ||
36167 | * AUTHORS: Added self. | |
36168 | * java/security/Security.java (getProvider): Ensures provider's name is | |
36169 | not null, not an empty string, and is trimmed before usage. | |
36170 | ||
36171 | 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org> | |
36172 | ||
36173 | * gnu/CORBA/Poa/AOM.java (add): | |
36174 | Changed parameter Object into gnuServantObject. | |
36175 | (Obj.object): Changed type to gnuServantObject. | |
36176 | (findObject): Rewritten. | |
36177 | ||
36178 | 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch> | |
36179 | ||
36180 | * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double | |
36181 | buffering. Ability has gone in Qt-4.1.x. | |
36182 | ||
36183 | * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore | |
36184 | to have the right include flags. | |
36185 | ||
36186 | 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au> | |
36187 | ||
36188 | * java/security/MessageDigest.java (getInstance(String,String)): | |
36189 | Use trimmed copy of provider name. | |
36190 | * gnu/java/security/Engine.java | |
36191 | (getInstance(String,String,Provider,Object[])): Use trimmed copy of | |
36192 | service and algorithm names. | |
36193 | ||
36194 | 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au> | |
36195 | ||
36196 | * java/net/InetAddress.java (getAllByName): use LOCALHOST if | |
36197 | localhost is null or is an empty string. Trim hostname before | |
36198 | lookup. | |
97b8365c | 36199 |