OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [ChangeLog-2007] - Blame information for rev 775

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 766 jeremybenn
2007-12-31  Andrew John Hughes  
2
 
3
        * javax/management/remote/rmi/RMIConnection.java:
4
        Partial implementation.
5
        * javax/management/remote/rmi/RMIServer.java:
6
        Implemented.
7
 
8
2007-12-31  Andrew John Hughes  
9
 
10
        PR classpath/34582:
11
        * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12
        (getProp(String)): Check for the property being null.
13
 
14
2007-12-28  Dalibor Topic  
15
 
16
        * configure.ac (AC_CHECK_HEADERS): Check for
17
        netinet/in_systm.h, netinet/ip.h and net/if.h
18
        for Windows CE.
19
 
20
        * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
21
        Guard net/if.h include statement. Use unsigned int
22
        instead of u_int.
23
 
24
        * native/jni/java-nio/gnu_java_nio_VMChannel.c:
25
        Guard sys/mman.h include statement.
26
 
27
        * native/jni/java-nio/gnu_java_nio_VMSelector.c:
28
        Guard sys/select.h include statement.
29
 
30
        * native/jni/java-nio/javanio.c:
31
        Guard sys/select.h include statement.
32
 
33
        * native/jni/java-nio/javanio.h:
34
        Include sys/time.h.
35
 
36
        * native/jni/native-lib/cpio.c:
37
        Guard chmod call by S_IWRITE, since it's not
38
        defined in the arm-wince toolchain.
39
 
40
        * native/jni/native-lib/cpnet.h:
41
        Guard netinet/in_systm.h and netinet/ip.h
42
        include statements.
43
 
44
2007-12-28  Dalibor Topic  
45
 
46
        * m4/acinclude.m4 (CLASSPATH_WITH_GLIBJ): Use
47
        AC_PATH_PROGS instead of AC_PATH_PROG to check
48
        for FASTJAR as fastjar, gjar or jar. Add braces
49
        to AC_PATH_PROGS arguments.
50
 
51
        * tools/Makefile.am (TOOLS_ZIP),
52
        lib/Makefile.am (collections.jar, glibj.zip):
53
        Quote FASTJAR in case it's in a path with
54
        whitespace.
55
 
56
2007-12-25  Andrew John Hughes  
57
 
58
        PR classpath/34580:
59
        * java/awt/Desktop.java:
60
        (isDesktopSupported()): Made public.
61
 
62
2007-12-25  Andrew John Hughes  
63
 
64
        PR classpath/34577:
65
        * javax/swing/JFrame.java:
66
        (addImpl(Component,Object,int)): Add a similar
67
        check for the root pane as in remove, adding using
68
        the superclass when this occurs rather than the
69
        content pane.
70
 
71
2007-12-25  Andrew John Hughes  
72
 
73
        PR classpath/34576:
74
        * java/awt/Container.java:
75
        (isAncestorOf(Component)): Swap ordering so that
76
        the parent is retrieved prior to checking against
77
        this, thus preventing a component being an ancestor of
78
        itself.
79
 
80
2007-12-11  Robert Schuster  
81
 
82
  * AUTHORS: Added my name to the list.
83
 
84
2007-12-10  Robert Schuster  
85
 
86
  * THANKYOU: Added my name to the list.
87
 
88
2007-12-10  Robert Schuster  
89
 
90
        PR classpath/32516:
91
  * tools/gnu/classpath/tools/jar/Entry.java:
92
  (Entry(File, String)): Added loop to remove all dot-file separator
93
  prefixes.
94
  (Entry(File)): Call Entry(File, String) constructor variant.
95
 
96
2007-12-10  Robert Schuster  
97
 
98
  * native/jni/native-lib/cpio.c:
99
  (cpio_df): Mark arguments as possibly unused.
100
 
101
2007-12-10  Robert Schuster  
102
 
103
  * javax/swing/text/GlyphView.java:
104
  (paint): Removed debug output.
105
 
106
2007-12-02  Andrew John Hughes  
107
 
108
        PR classpath/34276:
109
        * gnu/javax/management/Translator.java:
110
        (translate(String)): Select only public methods
111
        from a composite type, try this translation in all
112
        cases and exit only when no fields are translated.
113
 
114
2007-11-30  Andrew John Hughes  
115
 
116
        PR classpath/34276:
117
        * gnu/java/lang/management/BeanImpl.java:
118
        (getDescription(MBeanConstructorInfo,MBeanParameterInfo,int)):
119
        Added to provide a default description if the current one is null.
120
        (getDescription(MBeanOperationInfo,MBeanParameterInfo,int)):
121
        Likewise.
122
        (getParameterName(MBeanConstructorInfo,MBeanParameterInfo,int)):
123
        Likewise for the name.
124
        (getParameterName(MBeanOperationInfo,MBeanParameterInfo,int)):
125
        Likewise.
126
        * gnu/javax/management/Server.java:
127
        (getMBeanInfo()): Try using a StandardMBean wrapper if reflection
128
        fails to find getMBeanInfo().
129
 
130
2007-11-28  Andrew John Hughes  
131
 
132
        * examples/gnu/classpath/examples/management/TestBeans.java:
133
        Simplify so that it uses the management server.
134
        * examples/gnu/classpath/examples/management/TestClassLoading.java:
135
        Test via the server and the proxy as well.
136
 
137
2007-11-27  Thomas Fitzsimmons  
138
 
139
        * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
140
        native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c
141
        (isWindowUnderMouse): New method.
142
        * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h:
143
        Regenerate.
144
        * gnu/java/awt/peer/gtk/GtkComponentPeer.java
145
        (getLocationOnScreen): Move WindowPeer section to...
146
        * gnu/java/awt/peer/gtk/GtkWindowPeer.java (getLocationOnScreen):
147
        New method.
148
        * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java
149
        (isWindowUnderMouse): Implement.
150
        * java/awt/Component.java (getMousePosition): New method.
151
        (getMousePositionHelper): Likewise.
152
        (mouseOverComponent): Likewise.
153
        * java/awt/Container.java (getMousePosition): New method.
154
        (mouseOverComponent): Likewise.
155
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
156
        Revert 2007-09-11 changes.
157
 
158
2007-11-27  Andrew John Hughes  
159
 
160
        * javax/management/package.html: Added.
161
        * javax/management/remote/package.html: Likewise.
162
 
163
2007-11-24  Mario Torre  
164
 
165
        * java/util/concurrent/CopyOnWriteArrayList.java:
166
        (addAll): fix implementation, now add elements in the correct position.
167
        (addAllAbsent): fixed typos (whoops!).
168
        (remove(int)): fixed range in arraycopy that was causing for incorrect
169
        values to be inserted in the list. Refactored to give variables better
170
        names.
171
        (remove(Object)): refactored to give better names to variable.
172
        (listIterator): fix to set the starting index.
173
        (listIterator.previous): fix to decrement element position before
174
        returning the previous element in the iterator.
175
 
176
2007-11-23  Mario Torre  
177
 
178
        * gnu/java/util/prefs/EventDispatcher.java: class removed.
179
        * gnu/classpath/toolkit/DefaultDaemonThreadFactory.java: new file.
180
        * java/util/prefs/AbstractPreferences.java: (fire(PreferenceChangeEvent)):
181
        Use DefaultDaemonThreadFactory and Executors.newSingleThreadExecutor
182
        instead of EventDispatcher. Import statement refactored accordingly.
183
        Also refactored to use 1.5 enhanced for loop and generics.
184
        (fire(NodeChangeEvent, boolean)): likewise.
185
        * gnu/java/util/prefs/GConfBasedPreferences.java (childSpi):
186
        removed startWatchingNode call.
187
        * gnu/java/util/prefs/gconf/GConfNativePeer.java:
188
        (GConfNativePeer): removed use of semaphore.
189
        (gconf_all_nodes): method name shortened, renamed from
190
        gconf_client_all_nodes (removed client_ from method signature) and
191
        declared synchronized.
192
        (gconf_suggest_sync): likewise.
193
        (gconf_get_string): likewise.
194
        (gconf_unescape_key): likewise.
195
        (gconf_set_string): likewise.
196
        (gconf_escape_key):  likewise.
197
        (gconf_all_keys): likewise.
198
        (gconf_dir_exists): likewise.
199
        (getKeys): refactored to use new native method name.
200
        (getKey): likewise.
201
        (setString): likewise.
202
        (getChildrenNodes): likewise.
203
        (unset): likewise.
204
        (suggestSync): likewise.
205
        (finalize): likewise.
206
        (nodeExist): likewise.
207
        (gconf_client_add_dir): removed, not needed anymore.
208
        (gconf_client_remove_dir): likewise.
209
        (startWatchingNode): likewise.
210
        (stopWatchingNode): likewise.
211
        * native/jni/conf-peer/GConfNativePeer.c:
212
        All native methods renamed to match changes in GConfNativePeer.java
213
        Now use GConfEngine instead of GConfClient.
214
        Removed gdk_thread_enter/leave locking from all methods.
215
        (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
216
        removed.
217
        (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
218
        likewise.
219
        * include/gnu_java_util_prefs_gconf_GConfNativePeer.h: regenerated.
220
 
221
2007-11-23  Mario Torre  
222
 
223
        * java/util/concurrent/CopyOnWriteArrayList.java:
224
        Added javadoc.
225
        (serialVersionUID): new field.
226
        (iterator): new method, override from base class.
227
        (remove): likewise.
228
        (listIterator): likewise.
229
        (removeAll): likewise.
230
        (retainAll): likewise.
231
        (contains): fixed typo in javadoc.
232
        (addIfAbsent): added javadoc.
233
        (addAllAbsent): Rewrite to improve performance. Also add javadoc.
234
 
235
2007-11-23  Ian Rogers  
236
 
237
        * java/io/FileOutputStream.java,
238
        * java/io/PrintStream.java,
239
        * java/util/Locale.java:
240
        Make fields that can be final, final.
241
        * gnu/java/nio/charset/ByteCharset.java,
242
        * gnu/java/nio/charset/Cp424.java,
243
        * gnu/java/nio/charset/Cp437.java,
244
        * gnu/java/nio/charset/Cp737.java,
245
        * gnu/java/nio/charset/Cp775.java,
246
        * gnu/java/nio/charset/Cp850.java,
247
        * gnu/java/nio/charset/Cp852.java,
248
        * gnu/java/nio/charset/Cp855.java,
249
        * gnu/java/nio/charset/Cp857.java,
250
        * gnu/java/nio/charset/Cp860.java,
251
        * gnu/java/nio/charset/Cp861.java,
252
        * gnu/java/nio/charset/Cp862.java,
253
        * gnu/java/nio/charset/Cp863.java,
254
        * gnu/java/nio/charset/Cp864.java,
255
        * gnu/java/nio/charset/Cp865.java,
256
        * gnu/java/nio/charset/Cp866.java,
257
        * gnu/java/nio/charset/Cp869.java,
258
        * gnu/java/nio/charset/Cp874.java,
259
        * gnu/java/nio/charset/EncodingHelper.java,
260
        * gnu/java/nio/charset/ISO_8859_13.java,
261
        * gnu/java/nio/charset/ISO_8859_15.java,
262
        * gnu/java/nio/charset/ISO_8859_1.java,
263
        * gnu/java/nio/charset/ISO_8859_2.java,
264
        * gnu/java/nio/charset/ISO_8859_3.java,
265
        * gnu/java/nio/charset/ISO_8859_4.java,
266
        * gnu/java/nio/charset/ISO_8859_5.java,
267
        * gnu/java/nio/charset/ISO_8859_6.java,
268
        * gnu/java/nio/charset/ISO_8859_7.java,
269
        * gnu/java/nio/charset/ISO_8859_8.java,
270
        * gnu/java/nio/charset/ISO_8859_9.java,
271
        * gnu/java/nio/charset/KOI_8.java,
272
        * gnu/java/nio/charset/MacCentralEurope.java,
273
        * gnu/java/nio/charset/MacCroatian.java,
274
        * gnu/java/nio/charset/MacCyrillic.java,
275
        * gnu/java/nio/charset/MacDingbat.java,
276
        * gnu/java/nio/charset/MacGreek.java,
277
        * gnu/java/nio/charset/MacIceland.java,
278
        * gnu/java/nio/charset/MacRomania.java,
279
        * gnu/java/nio/charset/MacRoman.java,
280
        * gnu/java/nio/charset/MacSymbol.java,
281
        * gnu/java/nio/charset/MacThai.java,
282
        * gnu/java/nio/charset/MacTurkish.java,
283
        * gnu/java/nio/charset/MS874.java,
284
        * gnu/java/nio/charset/Provider.java,
285
        * gnu/java/nio/charset/US_ASCII.java,
286
        * gnu/java/nio/charset/Windows1250.java,
287
        * gnu/java/nio/charset/Windows1251.java,
288
        * gnu/java/nio/charset/Windows1252.java,
289
        * gnu/java/nio/charset/Windows1253.java,
290
        * gnu/java/nio/charset/Windows1254.java,
291
        * gnu/java/nio/charset/Windows1255.java,
292
        * gnu/java/nio/charset/Windows1256.java,
293
        * gnu/java/nio/charset/Windows1257.java,
294
        * gnu/java/nio/charset/Windows1258.java,
295
        * gnu/java/nio/charset/ByteDecodeLoopHelper.java,
296
        * gnu/java/nio/charset/ByteEncodeLoopHelper.java:
297
        Optimize for array based buffers.
298
        * native/jni/gtk-peer/gtkpeer.c:
299
        Make 32bit pointer a global JNI reference.
300
        * java/lang/String:
301
        (toLowerCaseTurkish): new method.
302
        (toUpperCaseTurkish): new method.
303
        (toLowerCase): special case Turkish
304
        (toUpperCase): likewise.
305
        * java/lang/Long:
306
        (valueOf): remove unnecessary synchronized.
307
 
308
2007-11-08  Jeroen Frijters  
309
 
310
        * java/util/Locale.java
311
        (Locale): Always intern strings.
312
 
313
2007-11-06  Mario Torre  
314
 
315
        * vm/reference/java/io/VMFile.java:
316
        (getTotalSpace): new method.
317
        (getUsableSpace): likewise.
318
        (getFreeSpace): likewise.
319
        * java/io/File.java: (getTotalSpace): new method.
320
        (getUsableSpace): likewise.
321
        (getFreeSpace): likewise.
322
        * native/jni/java-io/java_io_VMFile.c:
323
        (Java_java_io_VMFile_getTotalSpace): new function.
324
        (Java_java_io_VMFile_getFreeSpace): likewise.
325
        (Java_java_io_VMFile_getUsableSpace): likewise.
326
        * native/jni/native-lib/cpio.h: (cpio_df): new function.
327
        (CPFILE_DF_TYPE): enum type for cpio_df.
328
        * native/jni/native-lib/cpio.c: (cpio_df): new function.
329
        * include/java_io_VMFile.h: regenerated.
330
        * configure.ac: added check for statvfs.
331
 
332
2007-11-04  Andrew John Hughes  
333
 
334
        PR classpath/33385:
335
        * tools/com/sun/tools/javac/Main.java:
336
        Make our wrapper 1.5 capable.
337
 
338
2007-11-04  Andrew John Hughes  
339
 
340
        * gnu/java/lang/MainThread.java:
341
        Fix varargs warning.
342
        * lib/Makefile.am:
343
        Remove restriction on ecj printing varargs warnings.
344
 
345
2007-11-01  Mario Torre  
346
 
347
        PR classpath/33982:
348
        * configure.ac: add GDK_CFLAGS for the GStreamer peer.
349
 
350
2007-11-01  Andrew John Hughes  
351
 
352
        * gnu/java/awt/java2d/ScanlineCoverage.java,
353
        * gnu/javax/net/ssl/provider/ServerHandshake.java:
354
        Fix non-ASCII characters in the Javadoc comments.
355
        * gnu/java/lang/management/BeanImpl.java,
356
        * gnu/javax/management/Server.java,
357
        * gnu/xml/pipeline/EventFilter.java,
358
        * java/awt/AWTKeyStroke.java,
359
        * java/beans/DefaultPersistenceDelegate.java,
360
        * java/beans/EventHandler.java,
361
        * java/io/ObjectStreamClass.java,
362
        * java/lang/Class.java,
363
        * java/lang/reflect/Proxy.java,
364
        * javax/management/NotificationBroadcasterSupport.java,
365
        * javax/management/StandardMBean.java,
366
        * javax/swing/TransferHandler.java:
367
        Fix warnings from use of varargs methods.
368
 
369
2007-10-27  Ian Rogers  
370
 
371
        * java/beans/PropertyChangeSupport.java,
372
        * java/beans/VetoableChangeSupport.java,
373
        * java/io/ObjectStreamClass.java,
374
        * java/lang/reflect/Array.java,
375
        * java/net/DatagramSocket.java,
376
        * java/net/ServerSocket.java,
377
        * java/net/Socket.java,
378
        * java/nio/charset/CoderResult.java,
379
        * java/security/Security.java,
380
        * java/security/spec/RSAKeyGenParameterSpec.java,
381
        * java/text/ChoiceFormat.java,
382
        * java/text/DecimalFormat.java,
383
        * java/text/MessageFormat.java:
384
        Make use of new valueOf methods.
385
 
386
2007-10-27  Ian Rogers  
387
 
388
        * java/io/OutputStreamWriter.java:
389
        Make fields of this class that can be final, final.
390
 
391
2007-10-27  Andrew John Hughes  
392
 
393
        PR classpath/33385:
394
        * tools/com/sun/tools/javac/Main.java:
395
        Revert patch that adds bootclasspath.
396
 
397
2007-10-22  Dalibor Topic  
398
 
399
        * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c:
400
        Include config-int.h for uint32_t.
401
 
402
2007-10-16  Andrew John Hughes  
403
 
404
        * NEWS: Kickoff updates for 0.97.
405
        * configure.ac: Set version to 0.97-pre.
406
        * doc/www.gnu.org/newsitems.txt: Add 0.96.1.
407
        * doc/www.gnu.org/downloads/downloads.wml: Likewise.
408
        * doc/www.gnu.org/announce/20071015.wml: Add missing URLs.
409
        * doc/www.gnu.org/announce/20071016.wml: New file.
410
 
411
2007-10-16  Mark Wielaard  
412
 
413
        * NEWS: Mention small compile/configure/build fixes.
414
        * configure.ac: Set version to 0.96.1
415
 
416
2007-10-16  from  Alexandre Oliva  
417
 
418
        * scripts/check_jni_methods.sh: Don't depend on diff -b ignoring
419
        a single trailing whitespace.
420
 
421
2007-10-16  Andrew John Hughes  
422
 
423
        * m4/acinclude.m4: Add -sourcepath so that
424
        some proprietary JDKs don't try to compile the
425
        whole of Classpath when testing the compiler.
426
 
427
2007-10-16  Andrew John Hughes  
428
 
429
        * doc/www.gnu.org/newsitems.txt: Add 0.96.
430
        * doc/www.gnu.org/downloads/downloads.wml: Likewise.
431
        * doc/www.gnu.org/announce/20071015.wml: New file.
432
 
433
2007-10-15  Andrew John Hughes  
434
 
435
        * NEWS: Kickoff updates for 0.97.
436
        * configure.ac: Set version to 0.97-pre.
437
 
438
2007-10-15  Andrew John Hughes  
439
 
440
        * NEWS: Add date of 0.96 release.
441
        * configure.ac: Set version to 0.96.
442
 
443
2007-10-15  Mario Torre  
444
 
445
        * doc/cp-hacking.texinfo: Update GConf requirement, and added information
446
        about the GStreamer Sound peer.
447
 
448
2007-10-15  Andrew John Hughes  
449
 
450
        * README.gstreamer: Correct a few typos.
451
        * doc/cp-hacking.texinfo: Update to match current status
452
        (e.g. mention cacao, use of 1.5, etc.)
453
 
454
2007-10-15  Roman Kennke  
455
 
456
        * java/awt/event/MouseEvent.java
457
        (MouseEvent): For the no-absX/absY constructor, set the
458
        absX/absY to 0, instead of calling into getLocationOnScreen(),
459
        which might cause nasty deadlocks.
460
 
461
2007-10-15  Mario Torre  
462
 
463
        * javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertElement):
464
        Added check for empty stack to avoid EmptyStackException.
465
 
466
2007-10-15  Roman Kennke  
467
 
468
        * java/awt/LightweightDispatcher.java
469
        (dispatchEvent): Don't synchronize on the AWT lock here,
470
        this causes a deadlock in some situations.
471
 
472
2007-10-12  Andrew John Hughes  
473
 
474
        PR classpath/33385:
475
        * tools/com/sun/tools/javac/Main.java:
476
        Add bootclasspath and 1.5 options so the compiler
477
        can run.
478
 
479
2007-10-12  Andrew John Hughes  
480
 
481
        PR classpath/33622:
482
        * lib/Makefile.am: Use JAVAC_ARGS variable.
483
        * m4/acinclude.m4: Check javac is 1.5 compliant
484
        and whether it supports -J.
485
 
486
2007-10-12  Mario Torre  
487
 
488
        * gnu/javax/swing/text/html/css/FontSize.java (mapPercent):
489
        (mapPoints): prevent a NumberFormatException when a floating point is given
490
        instead of a integer.
491
        (mapPixels): likewise.
492
        (mapPercent): likewise.
493
 
494
2007-10-12  Mario Torre  
495
 
496
        * gnu/javax/sound/AudioSecurityManager.java: Added Copyright header.
497
        (Permission): added missing javadoc.
498
        (checkPermissions): likewise.
499
 
500
2007-10-12  Andrew John Hughes  
501
 
502
        PR classpath/33622:
503
        * lib/Makefile.am: Add -J-mX512M option to
504
        allow javac enough memory to build Classpath.
505
 
506
2007-10-12  Roman Kennke  
507
 
508
        * NEWS: Added entry for Escher peers.
509
 
510
2007-10-12  Andrew John Hughes  
511
 
512
        * NEWS: Updated for 0.96
513
 
514
2007-10-12  Robin Garner  
515
 
516
        PR classpath/32541:
517
        * java/io/OutputStreamWriter.java:
518
        Provide buffering when not converting to improve
519
        performance.
520
 
521
2007-10-12  Ian Rogers  
522
 
523
        PR classpath/33746:
524
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
525
        Remove atexit call that makes JikesRVM deadlock.
526
 
527
2007-10-12  Ian Rogers  
528
2007-10-12  Andrew Haley  
529
 
530
        PR classpath/33741:
531
        * java/lang/Double.java:
532
        (compare(double,double)): Increase performance
533
        of this method.
534
        * java/lang/Float.java:
535
        (compare(float,float)): Likewise.
536
 
537
2007-10-12  Andrew John Hughes  
538
 
539
        PR classpath/33623:
540
        * m4/acinclude.m4:
541
        Fix typo which prevents --with-ecj being used.
542
 
543
2007-10-11  Roman Kennke  
544
 
545
        * javax/swing/plaf/basic/BasicTreeUI.java
546
        (EDIT): Removed obsolete constant.
547
 
548
2007-10-10  Andrew John Hughes  
549
 
550
        Recommitting patch by Dalibor Topic from 2007-09-21.
551
        * java/lang/management/ThreadInfo.java:
552
        Removed unused private constructors.
553
 
554
2007-10-09  Mario Torre  
555
 
556
        * README.gstreamer: new file.
557
 
558
2007-10-08  Andrew John Hughes  
559
 
560
        PR classpath/33623:
561
        * examples/Makefile.am:
562
        Exit with no compiler.
563
        * lib/Makefile.am: Likewise.
564
        * m4/acinclude.m4: Handle ecj and javac
565
        using separate variables and catch when JAVAC/ECJ is
566
        empty.
567
 
568
2007-10-07  Andrew John Hughes  
569
 
570
        PR classpath/23854:
571
        * java/util/zip/ZipEntry.java:
572
        (parseExtra()): Pass time to setTime in milliseconds
573
        rather than seconds by multiplying by 1000.
574
 
575
2007-09-27  Mario Torre  
576
 
577
        * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
578
        (gstreamer_get_audio_format_stream): Removed parameter from javadoc.
579
        (gstreamer_get_audio_format_file): likewise.
580
        * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java:
581
        Added class javadoc and implementation notes.
582
        (READ): new constant.
583
        (WRITE): likewise.
584
        (QUEUED): likewise.
585
        (CAPACITY_KEY): likewise.
586
        (lock): likewise.
587
        (prefs): new variable.
588
        (GstPipeline constructor): added OS independent rutines to detect
589
        filesystem pipes size plus save and restores this information via
590
        preferences. Now closes open pipe on user abort at VM exit.
591
        (open_native_pipe): new native method.
592
        (close_native_pipe): likewise.
593
        (detect_pipe_size): likewise.
594
        (createForWrite): update to use new native methods.
595
        (setState): removed hack to synchronize reading and writing of the
596
        filesystme named pipe.
597
        (available): implemented.
598
        (drain): new implementation, now correctly waits for data to be consumed
599
        in the pipeline.
600
        (prepareWrite): removed hack to synchronize reading and writing of the
601
        filesystme named pipe.
602
        (CleanPipeline): new inner class, used for cleaning of native pipelines
603
        still opened at VM exit.
604
        * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine:
605
        (getFramePosition): method still stubbed, now output "implement me"
606
        note when called (used for testing).
607
        (getLongFramePosition): likewise.
608
        (getMicrosecondPosition): likewise.
609
        * include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h:
610
        regenerated.
611
        * native/jni/gstreamer-peer/gst_native_data_line.c:
612
        (setup_pipeline): Changed signature, now uses a file descriptor instead of
613
        char with the name of the native pipeline. Also changed to use "fdsrc"
614
        when creating the GStreamer pipeline.
615
        (Java_gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine_setup_1sink_1pipeline):
616
        now uses gst_native_pipeline_get_pipeline_fd to get the file descriptor
617
        of the native pipeline, instead of gst_native_pipeline_get_pipeline_name.
618
        Chaged to use "autoaudiosink" as GStreamer audio sink.
619
        (gst_newpad): fix indentation.
620
        * native/jni/gstreamer-peer/gst_native_pipeline.c: include new headers for
621
        compilation.
622
        (capacityFID): new filed for caching.
623
        (GST_DETECTED_PIPE_CAPACITY): new field.
624
        (enum): maps READ and WRITE in GstPipeline class.
625
        (_GstNativePipelinePrivate.fd): new field.
626
        (create_name): new function.
627
        (init_pointer_IDs): likewise.
628
        (get_free_space): likewise.
629
        (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1id_1cache):
630
        cache capacityFID.
631
        (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1instance):
632
        get value for GST_DETECTED_PIPE_CAPACITY from mapped class.
633
        (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_set_1state):
634
        removed "unused" attribute from parameters, clean pipeline name on exit.
635
        (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_open_1native_1pipe):
636
        new function.
637
        (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_close_1native_1pipe):
638
        likewise.
639
        (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_create_1named_1pipe):
640
        pipe name created with a dedicated function.
641
        (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_available): new
642
        function.
643
        * native/jni/gstreamer-peer/gst_native_pipeline.h:
644
        (gst_native_pipeline_clean): removed.
645
        (gst_native_pipeline_get_pipeline_fd): new function.
646
        * native/jni/gstreamer-peer/gst_peer.h: new defines used by the peer.
647
        * native/jni/gstreamer-peer/gstreamer_io_peer.c: (_GST_MALLOC_SIZE_): moved
648
        in gst_peer.h.
649
 
650
2007-09-27  Dalibor Topic  
651
 
652
        * native/fdlibm/dtoa.c: Include mprec.h after system includes.
653
        * native/fdlibm/mprec.h [_EXFUN]: Only define _EXFUN if it is not
654
        already defined.
655
 
656
2007-09-24  Dalibor Topic  
657
 
658
        * java/lang/management/ThreadInfo.java: Reverted patch from
659
        2007-09-21, as it breaks JikesRVM.
660
 
661
2007-09-23  Mark Wielaard  
662
 
663
        * doc/www.gnu.org/include/layout.wml: Fix Planet Classpath link.
664
        * doc/www.gnu.org/faq/faq.wml: Fix typo prorietary.
665
 
666
2007-09-22  Paul Jenner  
667
 
668
        * doc/www.gnu.org/include/layout.wml: Added link to Wiki.
669
 
670
2007-09-21  Dalibor Topic  
671
 
672
        * gnu/java/rmi/server/RMIClassLoaderImpl.java,
673
        java/beans/beancontext/BeanContextServicesSupport.java,
674
        java/lang/management/ThreadInfo.java:
675
        Removed unused private constructors.
676
 
677
2007-09-21  Dalibor Topic  
678
 
679
        * gnu/CORBA/CDR/AbstractCdrInput.java,
680
        gnu/CORBA/CDR/Vio.java,
681
        gnu/CORBA/DynAn/gnuDynUnion.java,
682
        gnu/CORBA/GIOP/MessageHeader.java,
683
        gnu/CORBA/IorDelegate.java,
684
        gnu/java/security/key/dss/FIPS186.java,
685
        gnu/javax/crypto/key/dh/RFC2631.java,
686
        gnu/javax/swing/text/html/parser/support/Parser.java,
687
        gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java,
688
        gnu/xml/aelfred2/XmlParser.java,
689
        java/awt/im/InputContext.java:
690
        Removed unused labels.
691
 
692
2007-09-21  Roman Kennke  
693
 
694
        * javax/swing/plaf/basic/BasicGraphicsUtils.java
695
        (drawStringUnderlineCharAt): Fix Y location of underline.
696
 
697
2007-09-21  Roman Kennke  
698
 
699
        * java/awt/LightweightDispatcher.java
700
        (dispatchEvent): Lock the component's tree to avoid threading
701
        problems.
702
        (redispatch): Only redispatch when component is showing.
703
 
704
2007-09-21  Roman Kennke  
705
 
706
        * java/awt/Font.java
707
        (hashCode): New field. Stores a cached hash code.
708
        (hashCode()): Re-implemented. Don't create new string here, instead
709
        make hashcode of name, style, size and transform. Cache hashcode.
710
 
711
2007-09-20  Roman Kennke  
712
 
713
        * gnu/java/awt/font/GNUGlyphVector.java
714
        (cleanOutline): New field, caches the untransformed outline.
715
        (getOutline()): No need to validate here. Already done in
716
        getOutline(float,float).
717
        (getOutline(float,float)): Cache untransformed outlines. Protect
718
        returned shape from modification by wrapping in ShapeWrapper
719
        object.
720
        * gnu/java/awt/font/OpenTypeFontPeer.java: New class. Implements
721
        ClasspathFontPeer for OpenType fonts.
722
        * gnu/java/awt/java2d/AbstractGraphics2D.java
723
        (DEFAULT_TEXT_AA): New constant/property for controlling
724
        default anti-aliasing for text.
725
        (GC_CACHE_SIZE): New constant for the size of the glyph vector
726
        cache.
727
        (shapeCache): Don't make shapeCache thread local. This wouldn't
728
        gain much, because the event dispatch thread is restarted quite
729
        often.
730
        (scanlineConverters): Don't make scanlineConverters thread local,
731
        but instead pool them into a list.
732
        (gvCache): New cache for glyph vectors.
733
        (searchTextKey): New static field, a shared key used for GV caching.
734
        (drawString): Cache glyph vectors.
735
        (getFontRenderContext): Protect the current transform from beeing
736
        changed.
737
        (clone): Check clip for null when cloning.
738
        (drawLine): Use shared shape cache. No need for calling a method here.
739
        (drawRect): Likewise. Add translation to rectangle coordinates.
740
        (fillRect): Use shared shape cache. No need for calling a method here.
741
        (drawRoundRect): Likewise.
742
        (fillRoundRect): Likewise.
743
        (drawOval): Likewise.
744
        (fillOval): Likewise.
745
        (drawArc): Likewise.
746
        (fillArc): Likewise.
747
        (drawPolyline): Likewise.
748
        (drawPolygon): Likewise.
749
        (fillPolygon): Likewise.
750
        (fillShape): Check property for default text AA. Set Y resolution.
751
        (rawDrawLine): Use shared shape cache. No need for calling a method
752
        here.
753
        (rawDrawRect): Likewise.
754
        (rawFillRect): Likewise.
755
        (rawDrawString): Removed. Subclasses override drawString() instead.
756
        (getShapeCache): Removed. No longer needed.
757
        (getScanlineConverter): New helper method for pooling
758
        scanline converters.
759
        (freeScanlineConverter): New helper method for pooling
760
        scanline converters.
761
        * gnu/java/awt/java2d/PixelCoverage.java: New class. Used by the
762
        reworked scanline converter.
763
        * gnu/java/awt/java2d/ScanlineConverter.java
764
        (Y_RESOLUTION): Removed. The Y resolution is now specified
765
        by the caller.
766
        (yResolution): New field. Stores the Y resolution.
767
        (renderShape): Take y resolution as argument.
768
        (setResolution): Take y resolution as argument.
769
        * gnu/java/awt/java2d/ShapeWrapper.java: New class. Protects
770
        shape objects from modification by application code.
771
        * gnu/java/awt/java2d/TextCacheKey.java: New class. Used for
772
        caching GlyphVectors.
773
        * gnu/java/awt/peer/x/XFontPeer2.java: Removed. This is now
774
        implemented in OpenTypeFontPeer now.
775
        * gnu/java/awt/peer/x/XEventPump.java
776
        (handleEvent): Check insets.
777
        * gnu/java/awt/peer/x/XFontPeer.java
778
        Changed class and method names for changed Escher API.
779
        (clinit): Use font properties from xfonts.properties.
780
        (canDisplay): Changed to take int argument.
781
        * gnu/java/awt/peer/x/XFramePeer.java
782
        (XFramePeer): Set the title of the frame on creation time.
783
        (setTitle): Implemented.
784
        * gnu/java/awt/peer/x/XGraphics2D.java
785
        (imageCache): New field. Caches native representations for
786
        images.
787
        (drawString): New method. Optimized version for X fonts.
788
        (fillScanline): Removed.
789
        (fillScanlineAA): Removed.
790
        (rawDrawImage): Optimized drawing for ZPixmap-backed images.
791
        (rawDrawRect): Optimized rectangle drawing.
792
        (renderScanline): Added compositing code.
793
        (setFont): Overridden for X font support.
794
        (setPaint): Added TODO.
795
        * gnu/java/awt/peer/x/XGraphicsConfiguration.java
796
        (getSize): New helper method for XToolkit.
797
        (getResolution): New helper method for XToolkit.
798
        * gnu/java/awt/peer/x/XGraphicsEnvironment.java
799
        (getAvailableFontFamilyNames): Implemented.
800
        * gnu/java/awt/peer/x/XToolkit.java
801
        (fontCache): New field for caching fonts.
802
        (getClasspathFontPeer): Cache fonts.
803
        (getScreenSize): Implemented.
804
        (getScreenResolution): Implemented.
805
        (getFontList): Implemented.
806
        (isModalExclusionTypeSupported): New method.
807
        (isModalityTypeSupported): New method.
808
        * gnu/java/awt/peer/x/XWindowPeer.java
809
        (insets): New field for storing the insets of the frame.
810
        (XWindowPeer): Set correct decoration.
811
        (getGraphics): Set foreground, background and font.
812
        (show): Determine the correct frame extents.
813
        (reshape): Only resize when not inside callback.
814
        (insets): Implemented correctly.
815
        (getFontMetrics): Use OpenTypeFontPeer.
816
        * gnu/java/awt/peer/x/ZPixmapDataBuffer.java
817
        (getZPixmap): New method. This is used in XGraphics2D for drawing
818
        the buffer.
819
        * gnu/java/util/LRUCache.java: New class. Implements an LRU cache.
820
 
821
2007-09-19  Dalibor Topic  
822
 
823
        * native/jni/native-lib/Makefile.am
824
        (AM_LDFLAGS) Use CLASSPATH_CONVENIENCE flags, as it is a convenience library.
825
 
826
2007-09-19  Dalibor Topic  
827
 
828
        * native/fdlibm/dtoa.c: Include stdlib.h to have a declaration for free.
829
 
830
2007-09-18  Dalibor Topic  
831
 
832
        * examples/gnu/classpath/examples/management/TestMemoryPool.java,
833
        examples/gnu/classpath/examples/swing/DocumentFilterDemo.java,
834
        examples/gnu/classpath/examples/swing/TableDemo.java,
835
        gnu/CORBA/BigDecimalHelper.java,
836
        gnu/CORBA/ByteArrayComparator.java,
837
        gnu/CORBA/CollocatedOrbs.java,
838
        gnu/CORBA/EmptyExceptionHolder.java,
839
        gnu/CORBA/IorDelegate.java,
840
        gnu/CORBA/OrbRestricted.java,
841
        gnu/CORBA/ServiceRequestAdapter.java,
842
        gnu/CORBA/gnuContextList.java,
843
        gnu/CORBA/gnuExceptionList.java,
844
        gnu/CORBA/gnuRequest.java,
845
        gnu/CORBA/CDR/LittleEndianInputStream.java,
846
        gnu/CORBA/DynAn/DivideableAny.java,
847
        gnu/CORBA/DynAn/gnuDynArray.java,
848
        gnu/CORBA/GIOP/CodeSetServiceContext.java,
849
        gnu/CORBA/Interceptor/IORInterceptors.java,
850
        gnu/CORBA/NamingService/NameParser.java,
851
        gnu/CORBA/Poa/gnuPOAManager.java,
852
        gnu/classpath/jdwp/event/filters/StepFilter.java,
853
        gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java,
854
        gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java,
855
        gnu/java/awt/ClasspathToolkit.java,
856
        gnu/java/awt/EmbeddedWindow.java,
857
        gnu/java/awt/peer/KDEDesktopPeer.java,
858
        gnu/java/awt/peer/gtk/CairoSurface.java,
859
        gnu/java/awt/peer/swing/SwingCheckboxPeer.java,
860
        gnu/java/awt/peer/swing/SwingTextAreaPeer.java,
861
        gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
862
        gnu/java/awt/print/PostScriptGraphics2D.java,
863
        gnu/java/awt/print/SpooledDocument.java,
864
        gnu/java/io/PlatformHelper.java,
865
        gnu/java/lang/management/BeanImpl.java,
866
        gnu/java/locale/LocaleHelper.java,
867
        gnu/java/net/protocol/http/Request.java,
868
        gnu/java/nio/DatagramChannelImpl.java,
869
        gnu/java/nio/KqueueSelectionKeyImpl.java,
870
        gnu/java/nio/NIOSocket.java,
871
        gnu/java/nio/ServerSocketChannelImpl.java,
872
        gnu/java/nio/SocketChannelImpl.java,
873
        gnu/java/rmi/server/RMIObjectInputStream.java,
874
        gnu/java/util/regex/RE.java,
875
        gnu/javax/imageio/bmp/DecodeBF16.java,
876
        gnu/javax/imageio/bmp/EncodeRGB32.java,
877
        gnu/javax/imageio/jpeg/JPEGDecoder.java,
878
        gnu/javax/imageio/jpeg/JPEGException.java,
879
        gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
880
        gnu/javax/imageio/png/PNGChunk.java,
881
        gnu/javax/imageio/png/PNGEncoder.java,
882
        gnu/javax/imageio/png/PNGFile.java,
883
        gnu/javax/imageio/png/PNGGamma.java,
884
        gnu/javax/net/ssl/SSLRecordHandler.java,
885
        gnu/javax/net/ssl/StaticTrustAnchors.java,
886
        gnu/javax/net/ssl/provider/CertificateRequestBuilder.java,
887
        gnu/javax/net/ssl/provider/ClientHandshake.java,
888
        gnu/javax/net/ssl/provider/ClientPSKParameters.java,
889
        gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java,
890
        gnu/javax/net/ssl/provider/ContentType.java,
891
        gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java,
892
        gnu/javax/net/ssl/provider/Handshake.java,
893
        gnu/javax/net/ssl/provider/InputSecurityParameters.java,
894
        gnu/javax/net/ssl/provider/OutputSecurityParameters.java,
895
        gnu/javax/net/ssl/provider/ProtocolVersion.java,
896
        gnu/javax/net/ssl/provider/Random.java,
897
        gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
898
        gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java,
899
        gnu/javax/net/ssl/provider/SessionImpl.java,
900
        gnu/javax/net/ssl/provider/Signature.java,
901
        gnu/javax/net/ssl/provider/SimpleSessionContext.java,
902
        gnu/javax/net/ssl/provider/TLSHMac.java,
903
        gnu/javax/net/ssl/provider/TrustedAuthorities.java,
904
        gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java,
905
        gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
906
        gnu/javax/security/auth/Password.java,
907
        gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.java,
908
        gnu/javax/sound/midi/file/MidiFileWriter.java,
909
        gnu/javax/sound/sampled/AU/AUReader.java,
910
        gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java,
911
        gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java,
912
        gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java,
913
        gnu/xml/dom/html2/DomHTMLButtonElement.java,
914
        gnu/xml/dom/html2/DomHTMLCollection.java,
915
        gnu/xml/dom/html2/DomHTMLParser.java,
916
        gnu/xml/stream/EndDocumentImpl.java,
917
        gnu/xml/stream/SAXParser.java,
918
        gnu/xml/stream/XIncludeFilter.java,
919
        gnu/xml/stream/XMLEventImpl.java,
920
        gnu/xml/transform/StreamSerializer.java,
921
        gnu/xml/transform/Stylesheet.java,
922
        gnu/xml/validation/datatype/Base64BinaryType.java,
923
        gnu/xml/validation/datatype/BooleanType.java,
924
        gnu/xml/validation/datatype/DecimalType.java,
925
        gnu/xml/validation/datatype/DoubleType.java,
926
        gnu/xml/validation/datatype/FloatType.java,
927
        gnu/xml/validation/datatype/HexBinaryType.java,
928
        gnu/xml/validation/datatype/NotationType.java,
929
        gnu/xml/validation/datatype/SimpleType.java,
930
        gnu/xml/validation/datatype/StringType.java,
931
        gnu/xml/validation/datatype/Type.java,
932
        gnu/xml/validation/datatype/TypeBuilder.java,
933
        gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
934
        gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
935
        gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
936
        gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
937
        gnu/xml/xpath/XPathParser.java,
938
        java/awt/MenuShortcut.java,
939
        java/awt/font/LineBreakMeasurer.java,
940
        java/awt/font/TextMeasurer.java,
941
        java/awt/image/BufferedImage.java,
942
        java/beans/beancontext/BeanContextServicesSupport.java,
943
        java/security/SecureClassLoader.java,
944
        java/security/cert/CertificateFactory.java,
945
        javax/imageio/metadata/IIOMetadataFormatImpl.java,
946
        javax/imageio/stream/MemoryCacheImageInputStream.java,
947
        javax/management/ObjectName.java,
948
        javax/management/openmbean/ArrayType.java,
949
        javax/net/ssl/HttpsURLConnection.java,
950
        javax/print/attribute/standard/JobStateReasons.java,
951
        javax/swing/RepaintManager.java,
952
        javax/swing/plaf/basic/BasicDirectoryModel.java,
953
        javax/swing/plaf/basic/BasicFileChooserUI.java,
954
        javax/swing/plaf/basic/BasicLabelUI.java,
955
        javax/swing/plaf/metal/MetalScrollButton.java,
956
        javax/swing/table/DefaultTableCellRenderer.java,
957
        javax/swing/text/ParagraphView.java,
958
        javax/swing/text/html/ResetableToggleButtonModel.java,
959
        javax/swing/text/html/parser/Entity.java,
960
        javax/swing/tree/DefaultTreeCellRenderer.java,
961
        javax/xml/datatype/DatatypeFactory.java,
962
        javax/xml/stream/XMLEventFactory.java,
963
        javax/xml/stream/XMLInputFactory.java,
964
        org/omg/IOP/TaggedComponentHelper.java,
965
        sun/reflect/annotation/ExceptionProxy.java,
966
        tools/gnu/classpath/tools/appletviewer/Main.java,
967
        tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
968
        tools/gnu/classpath/tools/orbd/Main.java,
969
        tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java,
970
        tools/gnu/classpath/tools/rmic/Main.java,
971
        tools/gnu/classpath/tools/rmid/Main.java,
972
        tools/gnu/classpath/tools/tnameserv/Main.java,
973
        vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java,
974
        vm/reference/java/lang/VMClass.java,
975
        vm/reference/java/security/VMSecureRandom.java:
976
        Removed unused imports.
977
 
978
2007-09-18  Dalibor Topic  
979
 
980
        * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHelper.java,
981
        examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHelper.java,
982
        examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHelper.java,
983
        examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java,
984
        examples/gnu/classpath/examples/awt/AnimationApplet.java: Removed unused imports.
985
 
986
2007-09-18  Dalibor Topic  
987
 
988
        * .classpath: Reverted escher-specific changes that break
989
        the build under Eclipse.
990
 
991
2007-09-16  Mark Wielaard  
992
 
993
        * examples/Makefile.am (JCOMPILER): Add tools.zip for ecj.
994
 
995
2007-09-14  Roman Kennke  
996
 
997
        * .classpath: Include javah in Eclipse build.
998
 
999
2007-09-13  David P Grove  
1000
 
1001
        PR 30275
1002
        * native/fdlibm/fdlibm.h [_AIX]: Define _ALL_SOURCE
1003
        rather than _XOPEN_SOURCE to fix build on AIX 5.
1004
 
1005
2007-09-12  Robert Schuster  
1006
 
1007
        * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c:
1008
        Add #ifndef guard around definition of _GNU_SOURCE.
1009
 
1010
2007-09-12  Dalibor Topic  
1011
 
1012
        * examples/Makefile.am, tools/Makefile.am
1013
        (GLIBJ_CLASSPATH): Removed unnecessary paths to avoid
1014
        using unix path separators on windows.
1015
        (JCOMPILER) Don't add '.' to classpath for javac.
1016
        Fixes the build on Cygwin.
1017
 
1018
2007-09-11  Roman Kennke  
1019
 
1020
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1021
        Removed unused includes.
1022
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
1023
        Removed unused includes.
1024
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
1025
        Removed unusued excludes. Put Xrender includes in HAVE_XRENDER
1026
        conditional.
1027
        (flush): Use gdk_display_flush() instead of XFlush().
1028
        (initState): Use GDK/Cairo functions to get cairo_t object.
1029
        (initFromVolatile): Likewise.
1030
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
1031
        Removed unused includes.
1032
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c
1033
        Use HAVE_XTEST conditionals for code that uses XTest.
1034
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
1035
        Removed unused includes.
1036
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1037
        Removed unused includes.
1038
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
1039
        Removed unused includes.
1040
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1041
        Removed unused includes. Rewrote frame-extents code to use
1042
        gdk_window_get_frame_extents() rather than the X window properties
1043
        directly.
1044
        * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
1045
        (initFromVolatile): Removed width and height parameters.
1046
        * gnu/java/awt/peer/gtk/ComponentGraphics.java
1047
        (initFromVolatile): Remove width and height parameters.
1048
        * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
1049
        (VolatileImageGraphics): Use initFromVolatile without width and
1050
        height.
1051
        * configure.ac: Check for presence of XTest, and define HAVE_XTEST
1052
        accordingly.
1053
 
1054
2007-09-08  Michael Koch  
1055
 
1056
        * native/jni/midi-alsa/Makefile.am (AM_CFLAGS):
1057
        Removed @ERROR_CFLAGS@ to not fail build with GCC 4.2.
1058
 
1059
2007-09-05  Andrew Haley  
1060
 
1061
        * gnu/javax/crypto/jce/DiffieHellmanImpl.java (engineDoPhase):
1062
        Don't check the length of q.
1063
 
1064
2007-08-30  Christian Thalinger  
1065
 
1066
        * include/jni.h (jobjectRefType): New type.
1067
        (JNI_VERSION_1_6): Added.
1068
        (JNINativeInterface_): Added GetObjectRefType.
1069
        (_Jv_JNIEnv): Likewise.
1070
 
1071
2007-08-28  John X  
1072
 
1073
        PR classpath/33206:
1074
        * java/math/BigInteger.java (isProbablePrime): Handle case of
1075
        large 'b'.
1076
 
1077
2007-08-24  Mark Wielaard  
1078
 
1079
        * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
1080
 
1081
2007-08-23  Francis Kung  
1082
 
1083
        * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
1084
        (getLocationOnScreen): Check for GTK main thread.
1085
        (gtkWidgetGetLocationOnScreenUnlocked): New native method.
1086
        (gtkWindowGetLocationOnScreenUnlocked): New native method.
1087
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
1088
        (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWindowGetLocationOnScreen):
1089
        Delegate to unlocked function.
1090
        (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWindowGetLocationOnScreenUnlocked):
1091
        New function.
1092
        (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen):
1093
        Delegate to unlocked function.
1094
        (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreenUnlocked):
1095
        New function.
1096
 
1097
2007-08-22  Andrew John Hughes  
1098
 
1099
        * java/util/EnumSet.java:
1100
        Documented.
1101
        (complementOf(EnumSet)): Fixed to flip only
1102
        the bits used by the enumset.
1103
 
1104
2007-08-20  Andrew John Hughes  
1105
 
1106
        * vm/reference/java/lang/VMClass.java:
1107
        (getCanonicalName(Class)): Fix handling of member
1108
        classes so we don't fall out of the if block.
1109
        (getSimpleName(Class)): Handle class names which include
1110
        the $ sign to break up anonymous/inner/member classes.
1111
 
1112
2007-08-19  Mario Torre  
1113
 
1114
        * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java:
1115
        (getAudioFileFormat (File)): method implemented.
1116
        (getAudioFileFormat (InputStream)): likewise.
1117
        (getAudioFileFormat(InputStream, String)): new method.
1118
        (getAudioInputStream): better exception handling.
1119
        * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java
1120
        (getAudioFormat): added basic extension detection for known files.
1121
        * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java:
1122
        (BASIC_FORMATS): removed, unused.
1123
        (GST_TYPE_NAME): new constant.
1124
        (GST_FILE_EXTENSION): likewise.
1125
 
1126
2007-08-19  Andrew John Hughes  
1127
 
1128
        * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
1129
        Removed.
1130
        * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider:
1131
        Likewise.
1132
        * resource/META-INF/services/.cvsignore: Updated to reflect this.
1133
 
1134
2007-08-19  Mario Torre  
1135
 
1136
        * native/jni/gstreamer-peer/gst_native_pipeline.c:
1137
        (init_pointer_IDs):     fix typo that prevents compilation on 64 bit systems.
1138
 
1139
2007-08-19  Mario Torre  
1140
 
1141
        * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider:
1142
        regenerated to avoid listing by default of the
1143
        gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider class, as the
1144
        GStreamer Sound peer is not enabled unless specified at configure time.
1145
 
1146
2007-08-18  Mario Torre  
1147
 
1148
        * examples/gnu/classpath/examples/sound/AudioPlayerSample.java: new file.
1149
        * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: removed
1150
        unused import.
1151
        * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise.
1152
        * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
1153
        (gstreamer_get_audio_format_stream): changed signature tu accept a Pointer
1154
        object instead of a BufferedInputStream.
1155
        (GstHeader):
1156
        (getAudioFormat(InputStream, GstHeader)): new private method.
1157
        (getAudioFormat(public)): refactored to use the private getAudioFormat
1158
        with shared functionality.
1159
        (getAudioFormat(GstHeader header)): removed a redundant check.
1160
        (init_id_cache): new native method.
1161
        * gnu/javax/sound/sampled/gstreamer/io/GstInputStream.java: new file.
1162
        * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java:
1163
        (GstDataLine.State): removed enum.
1164
        (state): removed local variable.
1165
        (isRunning): removed method.
1166
        (open): likewise.
1167
        (setFormat): new methods.
1168
        (setOpen): likewise.
1169
        (setBufferSize): likewise.
1170
        * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java:
1171
        (createSourcePipeline): new method.
1172
        (setup_sink_pipeline): likewise.
1173
        (init_id_cache): likewise. Added to the static initializer.
1174
        * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java:
1175
        (GstPipeline.State): new enum.
1176
        (state): new local variable.
1177
        (name): likewise.
1178
        (output): likewise.
1179
        (source): likewise.
1180
        (ready): likewise.
1181
        (getState): new method.
1182
        (closePipe): likewise.
1183
        (create_named_pipe): likewise.
1184
        (set_state): likewise.
1185
        (available): likewise.
1186
        (drain): likewise.
1187
        (GstPipeline): likewise.
1188
        (close): likewise.
1189
        (prepareWrite): likewise.
1190
        (flush): likewise.
1191
        (write): likewise.
1192
        (init_instance): likewise.
1193
        (read): likewise.
1194
        (createForWrite): likewise.
1195
        (setState): likewise.
1196
        (getNativeClass): likewise.
1197
        (init_id_cache): likewise.
1198
        * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java:
1199
        (pipeline): new local variable.
1200
        (opne): likewise.
1201
        (isActive): method implemented.
1202
        (stop): likewise.
1203
        (open): likewise.
1204
        (flush): likewise.
1205
        (isRunning): likewise.
1206
        (start): likewise.
1207
        (write): likewise.
1208
        (available): likewise.
1209
        (drain): likewise.
1210
        (close): likewise.
1211
        * include/Makefile.am: added entry to generate new header file.
1212
        * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h:
1213
        regenerated.
1214
        * include/gnu_javax_sound_sampled_gstreamer_io_GstInputStream.h: likewise.
1215
        * include/gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine.h:
1216
        likewise.
1217
        * include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h:
1218
        likewise.
1219
        * native/jni/gstreamer-peer/gstclasspathsrc.c: removed.
1220
        * native/jni/gstreamer-peer/gstinputstream.c: likewise.
1221
        * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise.
1222
        * native/jni/gstreamer-peer/gstinputstream.h: likewise.
1223
        * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise.
1224
        * native/jni/gstreamer-peer/Makefile.am: new file added for compilation.
1225
        code reformat to keep the 80 columns constraint.
1226
        * native/jni/gstreamer-peer/gst_native_pipeline.h: new file.
1227
        * native/jni/gstreamer-peer/gst_input_stream.c: likewise.
1228
        * native/jni/gstreamer-peer/gst_input_stream.h: likewise.
1229
        * native/jni/gstreamer-peer/gst_classpath_src.c: likewise.
1230
        * native/jni/gstreamer-peer/gst_native_pipeline.c: likewise.
1231
        * native/jni/gstreamer-peer/gst_native_data_line.c: likewise.
1232
        * native/jni/gstreamer-peer/gst_classpath_src.h: likewise.
1233
        * native/jni/gstreamer-peer/gstreamer_io_peer.c: likewise.
1234
        * native/jni/gstreamer-peer/gst_peer.c: likewise.
1235
        * native/jni/gstreamer-peer/gst_peer.h: likewise.
1236
 
1237
2007-08-16  Andrew John Hughes  
1238
 
1239
        * NEWS: Update with info on VM changes.
1240
        * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
1241
        (getHeapMemoryUsage()): New default implementation.
1242
        (getNonHeapMemoryUsage()): Likewise.
1243
 
1244
2007-08-15  Tom Tromey  
1245
 
1246
        * java/util/LinkedHashSet.java (LinkedHashSet): Fix typo.
1247
 
1248
2007-08-15  Tom Tromey  
1249
 
1250
        * java/lang/Class.java (internalGetFields): Use LinkedHashSet.
1251
 
1252
2007-08-08  Mario Torre  
1253
 
1254
        * java/io/PipedInputStream.java:
1255
        (buffer): variable now initialized in constructors.
1256
        (PipedInputStream(int)): new constructor, creates the buffer
1257
        storage of size int.
1258
        (PipedInputStream()): now calls PipedInputStream(int) with
1259
        default capacity.
1260
        (PipedInputStream(PipedOutputStream)): now calls PipedInputStream().
1261
        (PipedInputStream(PipedOutputStream, int)): new constructor.
1262
 
1263
2007-07-31  Christian Thalinger  
1264
 
1265
        * tools/gnu/classpath/tools/javah/Main.java (writeHeaders):
1266
        Renamed filename to file.
1267
        * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
1268
        (printClass): Likewise.
1269
        * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
1270
        (printClass): Replace '$' with '_' in filename.
1271
 
1272
2007-07-31  Dalibor Topic  
1273
 
1274
        PR 32844
1275
        * java/util/EnumSet.java:
1276
        Made class abstract per API spec.
1277
        (size, iterator, add, addAll, clear, contains,
1278
        containsAll, remove, removeAll, retainAll) Moved
1279
        into an anonymous inner class in of(T).
1280
        (allOf, noneOf, copyOf, of, range) Made more
1281
        implementation independent.
1282
        (of(T)) return an instance of an anonymous class
1283
        implementing EmptySet.
1284
 
1285
2007-07-28  Matthias Klose  
1286
 
1287
        * include/jvmti.h (jniNativeInterface): Rename type.
1288
 
1289
2007-07-28  Chris Burdess  
1290
 
1291
        PR 32539
1292
        * gnu/xml/stream/XMLParser.java: don't call next() during hasNext().
1293
 
1294
2007-07-24  Tom Tromey  
1295
 
1296
        PR java/32862:
1297
        * java/util/EnumMap.java (get): Special case emptySlot.
1298
        (clone): Rewrote.
1299
 
1300
2007-07-23  Christian Thalinger  
1301
 
1302
        * gnu/java/nio/charset/ISO_8859_1.java: Added ISO8859-1 to
1303
        aliases.
1304
 
1305
2007-07-23  Christian Thalinger  
1306
 
1307
        * vm/reference/sun/misc/Unsafe.java (unpark): Changed signature to
1308
        be compatible with OpenJDK.
1309
 
1310
2007-07-13  Roman Kennke  
1311
 
1312
        * gnu/java/awt/java2d/AbstractGraphics2D.java
1313
        (clip(Shape)): Call setClip when the clip changes.
1314
        (drawImage): Add translation.
1315
        (drawLine): Add translation.
1316
        * gnu/java/awt/peer/x/PixmapVolatileImage.java
1317
        (getPixmap): New method.
1318
        * gnu/java/awt/peer/x/XEventPump.java
1319
        (XEventPump): Name thread. Start as daemon thread.
1320
        * gnu/java/awt/peer/x/XGraphics2D.java
1321
        (rawDrawImage): Special handling for PixmapVolatileImage.
1322
        (rawDrawLine): Don't add translation here. This is done in
1323
        the superclass.
1324
        (rawFillRect): Don't add translation here. This is done in
1325
        the superclass.
1326
        (renderScanline): Added null check.
1327
 
1328
2007-07-13  Roman Kennke  
1329
 
1330
        * gnu/java/awt/peer/x/PixmapVolatileImage.java: New class.
1331
        * gnu/java/awt/peer/x/XGraphicsConfiguration.java
1332
        (createCompatibleImage(int,int)): Delegate to the 3-int overload.
1333
        (createCompatibleImage(int,int,int)): Implemented. Using
1334
        the ZPixmapDataBuffer for OPAQUE images.
1335
        (createCompatibleVolatileImage(int,int)): Delegate to the 3-int
1336
        overload.
1337
        (createCompatibleVolatileImage(int,int,int)): Implemented. Using
1338
        PixmapVolatileImage.
1339
        * gnu/java/awt/peer/x/XWindowPeer.java
1340
        (createImage): Return a PixmapVolatileImage (for now).
1341
        (createVolatileImage): Implemented, using PixmapVolatileImage.
1342
        * gnu/java/awt/peer/x/ZPixmapDataBuffer.java
1343
        New class.
1344
 
1345
2007-07-10  Roman Kennke  
1346
 
1347
        PR 32645
1348
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
1349
        (copyPixbuf): Swap asserts.
1350
 
1351
2007-07-09  Chris Burdess  
1352
 
1353
        Fixes #32672
1354
        * gnu/xml/dom/DomElement.java,
1355
        * gnu/xml/dom/DomNamedNodeMap.java: don't check owner in
1356
          setNamedNode when cloning.
1357
 
1358
2007-07-08  Mario Torre  
1359
 
1360
        * gnu/javax/sound/sampled/gstreamer: new package hierarchy.
1361
        * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java: new file.
1362
        * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
1363
        likewise.
1364
        * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java: likewise.
1365
        * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: likewise.
1366
        * gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.java: likewise.
1367
        * gnu/javax/sound/AudioSecurityManager.java: likewise.
1368
        * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java: likewise.
1369
        * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java: likewise.
1370
        * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java: likewise.
1371
        * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise.
1372
        * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader.in:
1373
        likewise.
1374
        * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider.in:
1375
        likewise.
1376
        * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider:
1377
        likewise.
1378
        * native/jni/gstreamer-peer/gstclasspathsrc.c: likewise.
1379
        * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise.
1380
        * native/jni/gstreamer-peer/gstinputstream.c: likewise.
1381
        * native/jni/gstreamer-peer/gstinputstream.h: likewise.
1382
        * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise.
1383
        * native/jni/gstreamer-peer/Makefile.am: likewise.
1384
        * native/jni/gstreamer-peer/.cvsignore: likewise.
1385
        * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h:
1386
        likewise.
1387
        * include/Makefile.am: add gstreamer generated headers.
1388
        * configure.ac: add gstreamer sound backend configuration.
1389
        The backend is currently disabled by default.
1390
        * native/jni/Makefile.am: code to allow compilation of the gstreamer
1391
        sound backend.
1392
        * javax/sound/sampled/spi/MixerProvider.java (isMixerSupported):
1393
        indentation fixes.
1394
        * javax/sound/sampled/AudioFormat.java (toString): fix method to display
1395
        informations only when available.
1396
        * javax/sound/sampled/DataLine.java:
1397
        (Info.isFormatSupported):  indentation fixes.
1398
        (Info):  indentation fixes.
1399
        (Info.toString):  indentation fixes.
1400
        (Info.matches):  indentation fixes.
1401
 
1402
2007-07-03  Tania Bento  
1403
 
1404
        * java/lang/Integer.java:
1405
        (parseInt(String,int,boolean)): Throw NumberFormatException if
1406
        String is just "+".
1407
 
1408
2007-07-01  Chris Burdess  
1409
 
1410
        * gnu/xml/transform/WithParam.java: Handle case where content is
1411
          empty.
1412
 
1413
2007-06-28  Tom Tromey  
1414
 
1415
        * include/jni.h: Fixed local variables.
1416
 
1417
2007-06-26  Ito Kazumitsu  
1418
 
1419
        * ChangeLog: Correction of a bug fix number.
1420
 
1421
2007-06-25  Roman Kennke  
1422
 
1423
        * gnu/java/awt/peer/ClasspathFontPeer.java
1424
        (canDisplay): Take character as integer codepoint.
1425
        * gnu/java/awt/peer/gtk/GdkFontPeer.java
1426
        (canDisplay): Take character as integer codepoint.
1427
        * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1428
        (postMouseEvent): Use MouseEvent constructor with absolute coordinates
1429
        to avoid deadlock (over getLocationOnScreen()).
1430
        * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
1431
        (getDeviceConfiguration): Fall back to the default configuration
1432
        if the component is not set.
1433
        * gnu/java/awt/peer/qt/QtFontMetrics.java
1434
        (canDisplay): Take character as integer codepoint.
1435
        * gnu/java/awt/peer/qt/QtFontPeer.java
1436
        (canDisplay): Take character as integer codepoint.
1437
        * gnu/java/awt/peer/x/XFontPeer2.java
1438
        (canDisplay): Take character as integer codepoint.
1439
        * include/gnu_java_awt_peer_qt_QtFontMetrics.h
1440
        (canDisplay): Take character as integer codepoint.
1441
        * java/awt/Font.java
1442
        (DIALOG): New constant.
1443
        (DIALOG_INPUT): New constant.
1444
        (MONOSPACED): New constant.
1445
        (SANS_SERIF): New constant.
1446
        (SERIF): New constant.
1447
        (Font(Font)): New constructor.
1448
        (canDisplay(char)): Use new canDisplay(int) method.
1449
        (canDisplay(int)): New method.
1450
        (hasLayoutAttributes): New method.
1451
        * java/awt/event/MouseEvent.java
1452
        (absX,absY): New fields.
1453
        (MouseEvent): New constructor with absolute coordinates.
1454
        (getLocationOnScreen): New method.
1455
        (getXOnScreen): New method.
1456
        (getYOnScreen): New method.
1457
        * native/jni/qt-peer/qtfontmetrics.cpp
1458
        (canDisplay): Take character as integer codepoint.
1459
 
1460
2007-06-25  Mark Wielaard  
1461
 
1462
        * native/jni/native-lib/cpnet.c
1463
        (cpnet_aton) Moved variable declaration of inet6_addr so it is
1464
        actually in the scope of its use.
1465
 
1466
2007-06-25  Dalibor Topic  
1467
 
1468
        * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
1469
        (THROW_NO_IPV6): New macro.
1470
        (Java_gnu_java_net_VMPlainSocketImpl_bind6) Conditionally
1471
        build code if IPv6 facilities are available, otherwise
1472
        throw an error.
1473
        (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6,
1474
        Java_gnu_java_net_VMPlainSocketImpl_join6,
1475
        Java_gnu_java_net_VMPlainSocketImpl_leave6,
1476
        Java_gnu_java_net_VMPlainSocketImpl_joinGroup6,
1477
        Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6)
1478
        Use THROW_NO_IPV6.
1479
 
1480
        * native/jni/java-net/java_net_VMInetAddress.c
1481
        (Java_java_net_VMInetAddress_getHostByAddr,
1482
        Java_java_net_VMInetAddress_getHostByName,
1483
        Java_java_net_VMInetAddress_aton) Build IPv6 dependant
1484
        code conditionally on IPv6 facilities being available.
1485
        Switched if-else blocks where necessary to allow that.
1486
 
1487
        * native/jni/java-net/javanet.c
1488
        (_javanet_get_ip_netaddr) Build IPv6 dependant code conditionally
1489
        on IPv6 facilities being available.
1490
 
1491
        * native/jni/native-lib/cpnet.c
1492
        (cpnet_getHostByName, cpnet_getHostByAddr) Build IPv6 dependant
1493
        code conditionally on IPv6 facilities being available.
1494
        (cpnet_aton) Moved variable declaration of inet6_addr to the scope
1495
        of its use. Build IPv6 dependant code conditionally
1496
        on IPv6 facilities being available.
1497
 
1498
        * native/jni/native-lib/cpnet.h (cpnet_newIPV6Address,
1499
        cpnet_isIPV6Address, cpnet_IPV6AddressToBytes,
1500
        cpnet_bytesToIPV6Address): Make IPv6 dependant utility functions
1501
        available conditionally on IPv6 facilities being available.
1502
 
1503
2007-06-25  Dalibor Topic  
1504
 
1505
        * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAC): If the user passes an
1506
        explicit argument to configure, just use it, and don't attempt to
1507
        run AC_CHECK_PROG. This makes --with-javac="javac -J-Xmx512M" work.
1508
 
1509
2007-06-25  Dalibor Topic  
1510
 
1511
        * configure.ac: Check for MSG_WAITALL, since it does not exist on
1512
        Cygwin.
1513
 
1514
        * native/jni/java-nio/gnu_java_nio_VMChannel.c
1515
        (Java_gnu_java_nio_VMChannel_receive): Define MSG_WAITALL as 0 if
1516
        it does not exist.
1517
 
1518
2007-06-24  Ito Kazumitsu  
1519
 
1520
        Fixes bug #31927
1521
        * native/jni/java-nio/gnu_java_nio_VMChannel.c
1522
        (Java_gnu_java_nio_VMChannel_available): Retry using fstat if ioctl
1523
        fails with ENOTTY.
1524
 
1525
2007-06-22  Tania Bento  
1526
 
1527
        * java/util/Currency.java:
1528
        (getInstance (Locale)): Check that the country of the
1529
        locale given is valid.  If it is not, throw an
1530
        IllegalArgumentException.
1531
 
1532
2007-06-22  Roman Kennke  
1533
 
1534
        * gnu/java/awt/peer/GLightweightPeer.java
1535
        * gnu/java/awt/peer/gtk/GdkRobotPeer.java
1536
        * gnu/java/awt/peer/gtk/GtkCompoonentPeer.java
1537
        * gnu/java/awt/peer/gtk/GtkFramePeer.java
1538
        * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1539
        * gnu/java/awt/peer/qt/QtComponentPeer.java
1540
        * gnu/java/awt/peer/qt/QtFramePeer.java
1541
        * gnu/java/awt/peer/qt/QtWindowPeer.java
1542
        * gnu/java/awt/peer/swing/SwingComponentPeer.java
1543
        * gnu/java/awt/peer/swing/SwingWindowPeer.java
1544
        * gnu/java/awt/peer/x/XFramePeer.java:
1545
        Removed @Override annotations from some interface implementation
1546
        methods to ensure 1.5 compatibility.
1547
 
1548
2007-06-22  Christian Thalinger  
1549
 
1550
        * include/jni.h (JNINativeInterface): Renamed to
1551
        JNINativeInterface_, added const to arguments where necessary.
1552
        (JNIInvokeInterface): Renamed to JNIInvokeInterface_.
1553
 
1554
2007-06-22  Roman Kennke  
1555
 
1556
        * sun/awt/CausedFocusEvent.java: New class. Needed for compatibility
1557
        in java.awt.peer.
1558
        * java/awt/Dialog.java
1559
        (ModalExclusionType): New enum.
1560
        (ModalityType): New enum.
1561
        * java/awt/Toolkit.java
1562
        (isModalExclusionTypeSupported): New abstract method.
1563
        (isModalityTypeSupported): New abstract method.
1564
        * java/awt/peer/ComponentPeer.java
1565
        (requestFocus): New method.
1566
        * java/awt/peer/FramePeer.java
1567
        (getBoundsPrivate): New method.
1568
        * java/awt/peer/RobotPeer.java
1569
        (dispose): New method.
1570
        * java/awt/peer/WindowPeer.java
1571
        (setAlwaysOnTop): New method.
1572
        (updateFocusableWindowState): New method.
1573
        (setModalBlocked): New method.
1574
        (updateMinimumSize): New method.
1575
        (updateIconImages): New method.
1576
        * gnu/java/awt/peer/GLightweightPeer.java
1577
        (requestFocus): New method.
1578
        * gnu/java/awt/peer/gtk/GdkRobotPeer.java
1579
        (dispose): New method.
1580
        * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1581
        (requestFocus): New method.
1582
        * gnu/java/awt/peer/gtk/GtkFramePeer.java
1583
        (getBoundsPrivate): New method.
1584
        * gnu/java/awt/peer/gtk/GtkToolkit.java
1585
        (isModalExclusionTypeSupported): New method.
1586
        (isModalityTypeSupported): New method.
1587
        * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1588
        (updateIconImages): New method.
1589
        (updateMinimumSize): New method.
1590
        (setModalBlocked): New method.
1591
        (updateFocusableWindowState): New method.
1592
        (setAlwaysOnTop): New method.
1593
        * gnu/java/awt/peer/headless/HeadlessToolkit.java
1594
        (isModalExclusionTypeSupported): New method.
1595
        (isModalityTypeSupported): New method.
1596
        * gnu/java/awt/peer/qt/QtComponentPeer.java
1597
        (requestFocus): New method.
1598
        * gnu/java/awt/peer/qt/QtFramePeer.java
1599
        (getBoundsPrivate): New method.
1600
        * gnu/java/awt/peer/qt/QtToolkit.java
1601
        (isModalExclusionTypeSupported): New method.
1602
        (isModalityTypeSupported): New method.
1603
        * gnu/java/awt/peer/qt/QtWindowPeer.java
1604
        (updateIconImages): New method.
1605
        (updateMinimumSize): New method.
1606
        (setModalBlocked): New method.
1607
        (updateFocusableWindowState): New method.
1608
        (setAlwaysOnTop): New method.
1609
        * gnu/java/awt/peer/swing/SwingComponentPeer.java
1610
        (requestFocus): New method.
1611
        * gnu/java/awt/peer/swing/SwingToolkit.java
1612
        (isModalExclusionTypeSupported): New method.
1613
        (isModalityTypeSupported): New method.
1614
        * gnu/java/awt/peer/swing/SwingWindowPeer.java
1615
        (updateIconImages): New method.
1616
        (updateMinimumSize): New method.
1617
        (setModalBlocked): New method.
1618
        (updateFocusableWindowState): New method.
1619
        (setAlwaysOnTop): New method.
1620
        * gnu/java/awt/peer/x/XFramePeer.java
1621
        (getBoundsPrivate): New method.
1622
        * gnu/java/awt/peer/x/XToolkit.java
1623
        (isModalExclusionTypeSupported): New method.
1624
        (isModalityTypeSupported): New method.
1625
 
1626
2007-06-21  Andrew John Hughes  
1627
 
1628
        * tools/Makefile.am:
1629
        Compile in com.sun.tools.javah
1630
        * tools/com/sun/tools/javah/Main.java:
1631
        Javah Sun-->Classpath wrapper.
1632
 
1633
2007-06-21  Christian Thalinger  
1634
 
1635
        * javax/swing/text/html/parser/AttributeList.java (getValues):
1636
        Check if values is null.
1637
 
1638
2007-06-21  Roman Kennke  
1639
 
1640
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1641
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
1642
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
1643
        Fix some type signatures.
1644
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1645
        Fix intendation.
1646
 
1647
2007-06-21  Jeroen Frijters  
1648
 
1649
        * java/io/ObjectStreamClass.java (getClassUID): Return 0L for
1650
        enums and proxies.
1651
 
1652
2007-06-21  Jeroen Frijters  
1653
 
1654
        * java/net/URLClassLoader.java
1655
        (URLClassLoader(URL[],ClassLoader,URLStreamHandlerFactory):
1656
        Add factory to cache before calling addURLS.
1657
        (run): Don't call initCause() on ClassNotFoundException.
1658
 
1659
2007-06-21  Jeroen Frijters  
1660
 
1661
        Fixes #32356
1662
        * java/lang/reflect/Array.java
1663
        (newInstance(Class,int[])): Call createMultiArray correctly.
1664
        (createMultiArray): Fixed dimensions processing order.
1665
 
1666
2007-06-21  Jeroen Frijters  
1667
 
1668
        * gnu/java/net/loader/URLLoader.java
1669
        (URLLoader(URLClassLoader,URLStreamHandlerCache,
1670
        URLStreamHandlerFactory,URL,URL)): Disabiguate CodeSource constructor
1671
        invocation.
1672
        * java/awt/AWTKeyStroke.java
1673
        (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile
1674
        error when compiled against OpenJDK java.util package.
1675
        * java/awt/AlphaComposite.java
1676
        (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile
1677
        error when compiled against OpenJDK java.util package.
1678
 
1679
2007-06-21  Jeroen Frijters  
1680
 
1681
        * gnu/java/security/Engine.java
1682
        (getInstance(String,String,Provider,Object[]): Use correctly cased
1683
        property name.
1684
 
1685
2007-07-19  Keith Seitz  
1686
 
1687
        * classpath/gnu/classpath/jdwp/value/StringValue.java
1688
        (StringValue): Tag of StringValue is STRING not OBJECT.
1689
        (write): String values are written to the wire as tag byte
1690
        and object ID, not JdwpString.
1691
 
1692
2007-07-19  Keith Seitz  
1693
 
1694
        * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
1695
        (executeInvokeMethod): No need to use ValueFactory any more;
1696
        MethodResult.getReturnedValue now returns a Value.
1697
        (executeNewInstance): Double-check that return result is
1698
        an ObjectValue; throw JdwpInternalErrorException if it is not.
1699
        (invokeMethod): Method IDs come from VMMethod, not VMIdManager.
1700
        Arguments are Values not Objects.
1701
        Use ValueFactory to create arguments.
1702
        Pass invocation options to VMVirtualMachine.executeMethod.
1703
        Don't do any thread suspend/resume work: VMVM.executeMethod
1704
        will take care of it.
1705
        * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
1706
        (executeInvokeMethod): Method IDs come from VMMethod, not
1707
        VMIdManager.
1708
        Arguments should be Values instead of Objects.
1709
        Use ValueFactory to create Values.
1710
        Remove specific option handling and pass options to
1711
        VMVirtualMachine.executeMethod.
1712
        Remove thread suspension.
1713
        Use MethodResult.getReturnedValue to get method's result.
1714
        * gnu/classpath/jdwp/util/MethodResult.java
1715
        (returnedValue): Change type to Value.
1716
        (thrownException): Change type to Throwable.
1717
        (resType): Remove.
1718
        (MethodResult): New constructor.
1719
        (setReturnedValue): Remove.
1720
        (SetThrownException): Remove.
1721
        (getResultType): Remove.
1722
        (setResultType): Remove.
1723
        * gnu/classpath/jdwp/value/ObjectValue.java (getValue):
1724
        New method.
1725
        * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
1726
        (executeMethod): Replace "nonVirtual" parameter with more
1727
        generic "options" parameter.
1728
        Replace java.lang.reflect.Method parameter with VMMethod.
1729
        Replace Objet[] parameter with Value[] parameter.
1730
 
1731
2007-07-10  Dalibor Topic  
1732
 
1733
        * configure.ac (FOUND_CACAO): Removed.
1734
 
1735
2007-06-01  Robin Garner  
1736
 
1737
        Fixes #32162
1738
        * gnu/xml/dom/DomNode.java: Correct concurrency problem when deep
1739
          cloning nodes.
1740
 
1741
2007-05-30  Mark Wielaard  
1742
 
1743
        Fixes bug #32030 reported by Steve.Blackburn@anu.edu.au
1744
        * native/jni/java-nio/gnu_java_nio_VMChannel.c
1745
        (Java_gnu_java_nio_VMChannel_open): Only set O_TRUNC when
1746
        CPNIO_APPEND is not, but O_WRONLY is set.
1747
 
1748
2007-05-25  Robert Schuster  
1749
 
1750
        * gnu/java/awt/peer/x/XGraphics2D.java:
1751
        (rawDrawLine): Added addition of translation.
1752
        (rawFillRect): Dito.
1753
 
1754
2007-05-25  Robert Schuster  
1755
 
1756
        * gnu/java/awt/font/opentype/OpenTypeFont.java:
1757
        (getGlyphIndex): Call getGlyphCharMap() instead of
1758
        accessing cmap field directly.
1759
 
1760
2007-05-24  Ito Kazumitsu  
1761
 
1762
        * native/jni/java-nio/gnu_java_nio_VMChannel.c
1763
        (Java_gnu_java_nio_VMChannel_available): Use fstat or select as an
1764
        alternative to ioctl.
1765
        * native/jni/native-lib/cpio.c(cpio_availableBytes): Corrected typo.
1766
 
1767
2007-05-24  Roman Kennke  
1768
 
1769
        * gnu/java/math/Fixed.java
1770
        (trunc): New method.
1771
 
1772
2007-05-24  Roman Kennke  
1773
 
1774
        * gnu/java/awt/java2d/AbstractGraphics2D.java
1775
        (fillShape): Pass rendering hints to scanline converter.
1776
        * gnu/java/awt/java2d/ScanlineConverter.java
1777
        (ONE): New constant for the number 1 as fixed point number.
1778
        (Y_RESOLUTION): New constant for the Y resolution.
1779
        (doScanline): Handle the Y resolution.
1780
        (renderShape): Accept rendering hints.
1781
        (setResolution): Adjust maximum resolution with Y resolution.
1782
        * gnu/java/awt/java2d/ScanlineCoverage.java
1783
        (Iterator.handledPixelCoverage): New field.
1784
        (Iterator.next): Handle single pixel coverage.
1785
        (Iterator.hasNext): Handle single pixel coverage.
1786
        (Iterator.reset): Reset single pixel coverage.
1787
        (Range.toString): New method.
1788
        (Coverage.pixelCoverage): New field.
1789
        (add): Include Y (pixel) coverage.
1790
        (findOrInsert): Reset Y coverage in reused entries.
1791
 
1792
2007-05-24  Roman Kennke  
1793
 
1794
        * gnu/java/awt/java2d/ScanlineCoverage.java
1795
        (Iterator): New class.
1796
        (Range): New class.
1797
        (Coverage.covDelta): Made field package private.
1798
        (Coverage.xPos): Made field package private.
1799
        (iterator): New field. Stores the iterator that is reused.
1800
        (ScanlineCoverage): Initialize iterator.
1801
        (assertion): Removed.
1802
        (isEmpty): Refined conditions.
1803
        (iterate): Return Iterator instance.
1804
        (next): Removed. This is done by the Iterator class now.
1805
        (test): Removed.
1806
        * gnu/java/awt/java2d/ScanlineConverter.java
1807
        (main): Removed.
1808
        * gnu/java/awt/peer/x/XGraphics2D.java
1809
        (renderScanline): Adjust to new coverage iterator stuff.
1810
        * gnu/java/awt/java2d/AbstractGraphics2D.java
1811
        (renderScanline): Adjust to new coverage iterator stuff.
1812
 
1813
2007-05-23  Jeroen Frijters  
1814
 
1815
        * java/util/Arrays.java
1816
        (copyOfRange(T,int,int)): Fixed to instantiate right array type.
1817
 
1818
2007-05-22  Robert Schuster  
1819
 
1820
        * gnu/java/awt/peer/x/XEventQueue.java:
1821
        (handleEvent): Calculate modifier value for mouse presse
1822
        and release events, clip button values.
1823
        (buttonToModifier): New method.
1824
        * gnu/java/awt/peer/x/KeyboardMapping.java:
1825
        (mapModifiers): Added cases for alt gr and the meta key.
1826
 
1827
2007-05-22  Robert Schuster  
1828
 
1829
        * gnu/java/awt/peer/x/XEventQueue.java:
1830
        (handleEvent): Use Input.event_window_id for
1831
        key presses/releases.
1832
 
1833
2007-05-22  Robert Schuster  
1834
 
1835
        * gnu/java/awt/peer/x/XEventQueue.java:
1836
        (handleEvent): Use Input.event_window_id instead of
1837
        Input.child_window_id for mouse presses/releases &
1838
        movement.
1839
 
1840
2007-05-22  Roman Kennke  
1841
 
1842
        * gnu/java/awt/peer/x/XFontPeer2.java
1843
        (XFontMetrics.charWidth): Use cached Point2D instance.
1844
        * gnu/java/awt/peer/x/XGraphics2D.java
1845
        (renderScanline): New method. Renders a scanline according to
1846
        the coverage information.
1847
        (setPaint): Call super, so that the state is updated correctly.
1848
 
1849
2007-05-19  Andreas Tobler  
1850
 
1851
        PR libgcj/31659
1852
        * m4/ax_create_stdint_h.m4: Apply patch from PR31659.
1853
 
1854
2007-05-18  Andreas Tobler  
1855
 
1856
        * autogen.sh (have_libtool): Update comments for Darwin.
1857
 
1858
2007-05-18  Roman Kennke  
1859
 
1860
        * gnu/java/awt/java2d/AbstractGraphics2D.java
1861
        (fillScanlineAA): Removed. Replaced by renderScanline().
1862
        (fillScanline): Dito.
1863
        (renderScanline): New method. Renders a scanline according to
1864
        the coverage information from the scanline converter.
1865
        * gnu/java/awt/java2d/Pixelizer.java: New interface. Describes
1866
        the targets of the rasterizer.
1867
        * gnu/java/awt/java2d/ScanlineConverter.java
1868
        (alphaRes): Removed.
1869
        (ONE): Removed.
1870
        (scanlineCoverage): New field. Manages the coverage information.
1871
        (scanlinesPerPixel): Removed.
1872
        (scanlineXCov): Removed.
1873
        (scanlineYCov): Removed.
1874
        (slPix0): Removed.
1875
        (ScanlineConverter): Initialize scanline coverage data structure.
1876
        (clear): Also clear the scanline coverage.
1877
        (doScanline): Work with Pixelizer objects.
1878
        Use the ScanlineCoverage datastructure.
1879
        (main): New method. Performs some tests.
1880
        (renderShape): Work with pixelizer objects rather than directly
1881
        on AbstractGraphic2D. Adjust to use ScanlineCoverage datastructure.
1882
        (setResolution): Set resolution on ScanlineCoverage data too.
1883
        * gnu/java/awt/java2d/ScanlineCoverage.java: New class. Stores
1884
        and manages scanline coverage information.
1885
 
1886
2007-05-14  Andrew John Hughes  
1887
 
1888
        * java/rmi/MarshelledObject.java,
1889
        * java/rmi/activation/Activatable.java,
1890
        * java/rmi/activation/ActivationDesc.java,
1891
        * java/rmi/activation/ActivationGroup.java,
1892
        * java/rmi/activation/ActivationGroupDesc.java,
1893
        * java/rmi/activation/ActivationInstantiator.java,
1894
        * java/rmi/activation/ActivationMonitor.java,
1895
        * java/rmi/activation/Activator.java:
1896
        Genericized.
1897
 
1898
2007-05-13  Andrew John Hughes  
1899
 
1900
        * configure.ac:
1901
        Check if nsl library is needed for inet_pton.
1902
        * tools/gappletviewer.in,
1903
        * tools/gjar.in,
1904
        * tools/gjarsigner.in,
1905
        * tools/gjavah.in,
1906
        * tools/gkeytool.in,
1907
        * tools/gnative2ascii.in,
1908
        * tools/gorbd.in,
1909
        * tools/grmic.in,
1910
        * tools/grmid.in,
1911
        * tools/grmiregistry.in,
1912
        * tools/gserialver.in,
1913
        * tools/gtnameserv.in:
1914
        Remove spaces around '=' in setting of datarootdir.
1915
 
1916
2007-05-11  Kyle Galloway  
1917
 
1918
        * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
1919
        (executeMethods): Remove cast to ClassReferenceTypeId.
1920
 
1921
2007-05-11  Jeroen Frijters  
1922
 
1923
        * java/lang/Float.java
1924
        (toString(float)): Call VMFloat instead of VMDouble.
1925
        (parseFloat): Call VMFloat. Fixed comment.
1926
        * vm/reference/java/lang/VMFloat.java
1927
        (toString, parseFloat): New methods.
1928
        NEWS: added note about these changes.
1929
 
1930
2007-05-08  Kyle Galloway  
1931
 
1932
        * vm/reference/VMFrame.java (): Add a parameter for the "this"
1933
        pointer of the frame.
1934
 
1935
2007-05-08  Roman Kennke  
1936
 
1937
        * gnu/java/awt/peer/x/XFontPeer.java: Removed.
1938
        * gnu/java/awt/peer/x/XGraphics.java: Removed
1939
        * gnu/java/awt/peer/x/XFontPeer2.java
1940
        (XLineMetrics.getDescent): Use cached idendity transform.
1941
        (XFontMetrics.cachedPoint): New field. Caches a Point2D instance
1942
        for reuse.
1943
        (XFontMetrics.getAscent): Use cached idendity transform.
1944
        (XFontMetrics.getDescent): Use cached idendity transform.
1945
        (XFontMetrics.getHeight): Use cached idendity transform.
1946
        (XFontMetrics.charWidth): Map character to glyph index first.
1947
        (XFontMetrics.stringWidth): Use cached idendity transform.
1948
        (IDENDITY): New static field. A reused AffineTransform instance.
1949
 
1950
2007-05-08  Roman Kennke  
1951
 
1952
        * gnu/java/awt/font/FontDelegate.java
1953
        (getGlyphIndex): New method. Maps characters to their
1954
        glyph index in the font.
1955
        M gnu/java/awt/font/opentype/OpenTypeFont.java
1956
        (getGlyphIndex): New method. Maps characters to their
1957
        glyph index in the font.
1958
 
1959
2007-05-08  Roman Kennke  
1960
 
1961
        * gnu/java/awt/java2d/AbstractGraphics2D.java
1962
        (AA_SAMPLING): Removed.
1963
        (alpha): Removed field.
1964
        (edgeTable): Removed field.
1965
        (fillScanlineAA): Removed obsolete method.
1966
        (drawPolyline): Implemented by using a GeneralPath.
1967
        (drawPolygon): Reset the cached polygon.
1968
        (fillPolygon): Reset the cached polygon.
1969
        (fillShape): Default to antialias on for text.
1970
        (rawDrawLine): Use ShapeCache.
1971
        (rawDrawRect): Use ShapeCache.
1972
        (rawFillRect): Use ShapeCache.
1973
        (fillScanlineAA): New method for antialiased rendering.
1974
        * gnu/java/awt/java2d/ScanlineConverter.java
1975
        (scanlinesPerPixel): New field.
1976
        (minX,maxX): New fields.
1977
        (scanlineYCov,scanlineXCov): New fields.
1978
        (slPix0): New field.
1979
        (alphaRes): New field.
1980
        (renderShape): Add antialiasing functionality.
1981
        (doScanline): Add antialiasing functionality.
1982
        (setResolution): Add antialiasing functionality.
1983
        (addShape): Determine span in X direction.
1984
        (fit): Fix thinko.
1985
        * gnu/java/awt/java2d/ShapeCache.java
1986
        (polyline): New field for caching polylines.
1987
 
1988
2007-05-08  Roman Kennke  
1989
 
1990
        * examples/gnu/classpath/examples/awt/HintingDemo.java
1991
        Add support for showing the original vs the hinted glyphs plus
1992
        a grid.
1993
 
1994
2007-05-08  Andrew John Hughes  
1995
 
1996
        * lib/Makefile.am: Print property files as well.
1997
 
1998
2007-05-08  Andrew John Hughes  
1999
 
2000
        * native/jni/gtk-peer/gtkpeer.c:
2001
        Added support for 64-bit architectures.
2002
 
2003
2007-05-04  Chris Burdess  
2004
 
2005
        Fixes PR #31814
2006
        * gnu/xml/dom/DomDocument.java,
2007
          gnu/xml/dom/ls/SAXEventSink.java: Don't default attribute when mode is
2008
          #IMPLIED and value is not specified.
2009
        * gnu/xml/stream/XMLParser.java: Add debugging info.
2010
 
2011
2007-05-03  Keith Seitz  
2012
 
2013
        * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
2014
        new array-based method.
2015
        (notify): New function.
2016
        (sendEvent): Rewrite to use sendEvents.
2017
        (sendEvents): New method.
2018
        * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
2019
        Change parameters to use arrays for events and requests.
2020
        Add suspendPolicy parameter.
2021
        Move per-event data transformation to...
2022
        (_toData): ... here.
2023
        * gnu/classpath/jdwp/transport/JdwpConnection.java
2024
        (sendEvent): Renamed to ...
2025
        (sendEvents): ... this.
2026
        Change parameters to use arrays for events and requests.
2027
        Add suspendPolicy parameter.
2028
 
2029
2007-05-03  Thomas Fitzsimmons  
2030
 
2031
        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
2032
        * javax/swing/text/html/HTMLEditorKit.java
2033
        (getStyleSheet): Throw RuntimeException when style loading fails.
2034
        * lib/Makefile.am: Treat css files as a property files.
2035
        * javax/swing/text/html/default.css: Move to...
2036
        * resource/javax/swing/text/html/default.css: New file.
2037
 
2038
2007-05-03  Andrew Haley  
2039
 
2040
        * gnu/javax/management/Server.java (Server): Record the delegate.
2041
        (registerMBean): Notify the delegate.
2042
        (unregisterMBean): Likewise.
2043
        (notify): New method.
2044
 
2045
2007-04-30  Roman Kennke  
2046
 
2047
        * gnu/java/awt/peer/x/XLightweightPeer.java: Removed.
2048
        * gnu/java/awt/peer/x/XEventPump.java
2049
        (handleEvent): Improved handling of event ids to window mapping.
2050
        * gnu/java/awt/peer/x/XFontPeer2.java:
2051
        Load font.properties at startup.
2052
        (XLineMetrics.glyphVector): New field.
2053
        (XLineMetrics.XLineMetrics): Get glyphVector from font delegate.
2054
        (XLineMetrics.getHeight): Implemented using glyph vector.
2055
        (XLineMetrics.getLeading): Implemented.
2056
        (XFontPeer2): Change hardwired font to something more common.
2057
        (encodeFont): New methods, encodes a font to the font.properties
2058
        format.
2059
        (validName): New method. Checks and returns a valid font name.
2060
        * gnu/java/awt/peer/x/XGraphics2D.java
2061
        (foreground): New field.
2062
        (rawSetPixel): Removed.
2063
        (rawDrawLine): Draw a segment.
2064
        (rawSetForeground): Removed.
2065
        (fillScanline): New method.
2066
        (fillScanlineAA): New method.
2067
        (setPaint): Set the foreground color.
2068
        (fillShape): Synchronize super behaviour.
2069
        (rawDrawImage): Optimize XImage.
2070
        * gnu/java/awt/peer/x/XGraphicsDevice.java
2071
        (getDisplay): Improve creation of socket.
2072
        (createLocalSocket): New helper method to create a local socket.
2073
        * gnu/java/awt/peer/x/XImage.java
2074
        (getGraphics): Return an XGraphics2D.
2075
        * gnu/java/awt/peer/x/XToolkit.java
2076
        (getClasspathFontPeer): Use XFontPeer2.
2077
        (createComponent): Removed.
2078
        * gnu/java/awt/peer/x/XWindowPeer.java
2079
        (getGraphics): Return an XGraphics2D.
2080
        (show): Clear the window.
2081
        (getFontMetrics): Use XFontPeer2.
2082
 
2083
2007-04-30  Roman Kennke  
2084
 
2085
        * gnu/java/awt/peer/swing/SwingButtonPeer.java
2086
        (SwingButton.handleFocusEvent): New method. Handles focus events.
2087
        (SwingButton.requestFocus): Overridden to avoid loop into peer
2088
        and back.
2089
        (SwingButton.requestFocus(boolean)): Overridden to avoid loop
2090
        into peer and back.
2091
        * gnu/java/awt/peer/swing/SwingCheckboxPeer.java: New class.
2092
        Implements CheckboxPeer for Swing toolkit.
2093
        * gnu/java/awt/peer/swing/SwingComponent.java
2094
        (handleFocusEvent): New method. Handles focus events.
2095
        * gnu/java/awt/peer/swing/SwingComponentPeer.java
2096
        (getMinimumSize): Delegate to minimumSize().
2097
        (getPreferredSize): Delegate to preferredSize().
2098
        (handleEvent): Only paint when component is showing. Coalesce
2099
        paint event in any case. Reformat. Handle focus events.
2100
        (requestFocus): Post FOCUS_GAINED event.
2101
        (handleFocusEvent): New method. Delegate to SwingComponent
2102
        object.
2103
        * gnu/java/awt/peer/swing/SwingContainerPeer.java
2104
        (addHeavyweightDescendent): Make this protected.
2105
        (removeHeavyweightDescendent): Make this protected.
2106
        (getHeavyweightDescendents): New method. Returns all registered
2107
        heavyweights.
2108
        (handleKeyEvent): Delegate to peer's handleEvent() method.
2109
        * gnu/java/awt/peer/swing/SwingLabelPeer.java
2110
        (SwingLabel.handleFocusEvent): New method.
2111
        * gnu/java/awt/peer/swing/SwingListPeer.java
2112
        (SwingList.handleFocusEvent): New method.
2113
        * gnu/java/awt/peer/swing/SwingPanelPeer.java
2114
        Fix typo and import.
2115
        * gnu/java/awt/peer/swing/SwingTextAreaPeer.java
2116
        Wrap up text area in viewport.
2117
        * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2118
        (SwingTextField.handleFocusEvent): New method.
2119
        (SwingTextField.requestFocus): New method.
2120
        (SwingTextField.requestFocus(boolean)): New method.
2121
 
2122
2007-04-27  Keith Seitz  
2123
 
2124
        * gnu/classpath/jdwp/event/EventManager.java
2125
        (getEventRequest): Rename to...
2126
        (getEventRequests): ...this.
2127
        Change return type to array of requests.
2128
        Construct a list of all matching events and return
2129
        them all.
2130
        * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests
2131
        and send event notifications for all matching requests.
2132
 
2133
2007-04-27  Keith Seitz  
2134
 
2135
        * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
2136
        (matches): Use Location.equals to determine equality.
2137
        * vm/reference/gnu/classpath/jdwp/VMMethod.java (equals):
2138
        New method.
2139
        * gnu/classpath/jdwp/util/Location.java (equals):
2140
        New method.
2141
 
2142
2007-04-27  Roman Kennke  
2143
 
2144
        * java/nio/CharViewBufferImpl.java
2145
        (slice): Fixed offset for slice buffer.
2146
        * java/nio/DoubleViewBufferImpl.java
2147
        (slice): Fixed offset for slice buffer.
2148
        * java/nio/FloatViewBufferImpl.java
2149
        (slice): Fixed offset for slice buffer.
2150
        * java/nio/IntViewBufferImpl.java
2151
        (slice): Fixed offset for slice buffer.
2152
        * java/nio/LongViewBufferImpl.java
2153
        (slice): Fixed offset for slice buffer.
2154
        * java/nio/ShortViewBufferImpl.java
2155
        (slice): Fixed offset for slice buffer.
2156
 
2157
2007-04-25  Roman Kennke  
2158
 
2159
        * gnu/java/awt/peer/gtk/GdkFontPeer.java,
2160
        * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
2161
        * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2162
        * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
2163
        * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2164
        * gnu/java/awt/peer/gtk/GtkToolkit.java:
2165
        Added fields to hold the native state. Added class initialization
2166
        things to fetch the JNI field IDs.
2167
        * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
2168
        * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h,
2169
        * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
2170
        * include/gnu_java_awt_peer_gtk_GtkToolkit.h:
2171
        Added / changed class init methods for field ID initialization.
2172
        * native/jni/classpath/Makefile.am: Removed native_state stuff.
2173
        * native/jni/classpath/native_state.c,
2174
        * native/jni/classpath/native_state.h: Removed.
2175
        * native/jni/gconf-peer/Makefile.am: Removed native_state stuff.
2176
        * native/jni/gtk-peer/Makefile.am: Removed native_state stuff.
2177
        * native/jni/gtk-peer/cairographics2d.h,
2178
        * native/jni/gtk-peer/gdkdisplay.h,
2179
        * native/jni/gtk-peer/gdkfont.h,
2180
        * native/jni/gtk-peer/GtkDragSourceContextPeer.c,
2181
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
2182
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
2183
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
2184
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
2185
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
2186
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
2187
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
2188
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
2189
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2190
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
2191
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
2192
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
2193
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2194
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2195
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c,
2196
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
2197
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
2198
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
2199
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
2200
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2201
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
2202
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c,
2203
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2204
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2205
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
2206
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2207
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
2208
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c,
2209
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2210
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
2211
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2212
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
2213
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2214
        * native/jni/gtk-peer/gtk_jawt.c:
2215
        Removed native state stuff and replaced that with an approach
2216
        to store the native state of an object directly in that object.
2217
        * native/jni/gtk-peer/gtkpeer.c: New file. Implements the new native
2218
        state management.
2219
        * native/jni/gtk-peer/gtkpeer.h: Remove NSA stuff and added
2220
        prototypes for new native state handling.
2221
 
2222
2007-04-23  Mark Wielaard  
2223
 
2224
        * doc/www.gnu.org/newsitems.txt: Add 0.95.
2225
        * doc/www.gnu.org/downloads/downloads.wml: Likewise.
2226
        * doc/www.gnu.org/announce/20070423.wml: New file.
2227
 
2228
2007-04-23  Mark Wielaard  
2229
 
2230
        * NEWS: Add new 0.95 features.
2231
 
2232
2007-04-23  Jeroen Frijters  
2233
 
2234
        PR classpath/31646:
2235
        * java/util/Arrays.java (qsort): Corrected initial median calculation.
2236
 
2237
2007-04-22  Dalibor Topic  
2238
 
2239
        * Makefile.am (ACLOCAL_AMFLAGS): Add contents of env var
2240
        LOCAL_AUTORECONF_AMFLAGS to allow for systems where the user
2241
        has a mix of system & hacked-up autotools.
2242
 
2243
2007-04-22  Dalibor Topic  
2244
 
2245
        * autogen.sh: Removed unnecessary -I m4 flag.
2246
 
2247
2007-04-19  Casey Marshall  
2248
 
2249
        PR classpath/31626:
2250
        * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
2251
        (createSocket): New method.
2252
 
2253
2007-04-19  Dalibor Topic  
2254
 
2255
        * tools/gappletviewer.in,
2256
        tools/gjar.in,
2257
        tools/gjarsigner.in,
2258
        tools/gjavah.in,
2259
        tools/gkeytool.in,
2260
        tools/gnative2ascii.in,
2261
        tools/gorbd.in,
2262
        tools/grmic.in,
2263
        tools/grmid.in,
2264
        tools/grmiregistry.in,
2265
        tools/gserialver.in,
2266
        tools/gtnameserv.in: Set datarootdir to fix a warning from
2267
        configure.
2268
 
2269
2007-04-19  Dalibor Topic  
2270
 
2271
        * INSTALL: Removed file generated by autogen.sh.
2272
 
2273
        * .cvsignore: Added INSTALL.
2274
 
2275
2007-04-19  Dalibor Topic  
2276
 
2277
        * INSTALL: Replaced by generic install file.
2278
 
2279
        * autogen.sh: Removed redundant and no longer necessary
2280
        sections. Use autoreconf.
2281
 
2282
2007-04-19  Andrew John Hughes  
2283
 
2284
        * m4/acinclude.m4
2285
        (CLASSPATH_FIND_JAVAC): Allow detected JAVAC.
2286
 
2287
2007-04-19  Dalibor Topic  
2288
 
2289
        * lib/Makefile.am (propertyfiles, cssfiles, metafiles,
2290
        iconfiles) Removed variables, inlined them into resource
2291
        target to avoid use of shell construct and fix portability
2292
        warning from automake 1.10.
2293
 
2294
2007-04-18  Tom Tromey  
2295
 
2296
        * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
2297
        Changed arguments.  Directly print method name.
2298
        * tools/gnu/classpath/tools/javah/ClassWrapper.java
2299
        (methodNameMap): New field.
2300
        (makeVtable): Initialize it.
2301
        (printMethods): Compute name for bridge targets.
2302
 
2303
2007-04-18  Andrew Haley  
2304
 
2305
        * gnu/java/rmi/server/UnicastConnectionManager.java
2306
        (UnicastConnectionManager(int port, RMIServerSocketFactory)):
2307
        Listen on "localhost", not localhost.
2308
 
2309
2007-04-18  Dalibor Topic  
2310
 
2311
        * include/GtkDragSourceContextPeer.h: Removed, renamed to ..
2312
 
2313
        * include/gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h:
2314
        New file.
2315
 
2316
        * native/jni/gtk-peer/GtkDragSourceContextPeer.c: Include
2317
        gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h.
2318
 
2319
        * include/Makefile.am (GTKPEER_H_FILES): Renamed
2320
        GtkDragSourceContextPeer.h to
2321
        gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h
2322
        per current convention. Use portable construct to create
2323
        gtk and libxmlj peer headers. Depend on the java source code,
2324
        rather then the class files in order to avoid spurious
2325
        regeneration.
2326
 
2327
2007-04-18  Dalibor Topic  
2328
 
2329
        * include/Makefile.am: Use portable construct to create
2330
        qt peer headers. Depend on the java source code,
2331
        rather then the class files in order to avoid spurious
2332
        regeneration.
2333
 
2334
2007-04-18  Dalibor Topic  
2335
 
2336
        * include/Makefile.am: Use portable construct to create
2337
        alsa and dssi peer headers. Depend on the java source code,
2338
        rather then the class files in order to avoid spurious
2339
        regeneration.
2340
 
2341
2007-04-18  Dalibor Topic  
2342
 
2343
        * include/Makefile.am: Use portable construct to create
2344
        gconf peer header. Depend on the java source code, rather
2345
        the class file to avoid spurious regeneration.
2346
 
2347
2007-04-18  Dalibor Topic  
2348
 
2349
        * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h:
2350
        Removed empty header file.
2351
 
2352
        * include/Makefile.am (QTPEER_H_FILES):
2353
        Removed gnu_java_awt_peer_qt_QtGraphicsEnvironment.h.
2354
 
2355
2007-04-18  Dalibor Topic  
2356
 
2357
        * native/jni/xmlj/xmlj_xpath.c: Don't include
2358
        gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h.
2359
 
2360
        * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h:
2361
        Removed empty header file.
2362
 
2363
        * include/Makefile.am (XMLJ_H_FILES): Removed
2364
        gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h.
2365
 
2366
2007-04-18  Dalibor Topic  
2367
 
2368
        * include/gnu_java_awt_peer_qt_QtContainerPeer.h: Removed
2369
        empty header file.
2370
 
2371
        * include/Makefile.am (QTPEER_H_FILES): Removed
2372
        gnu_java_awt_peer_qt_QtContainerPeer.h.
2373
 
2374
2007-04-17  Andrew John Hughes  
2375
 
2376
        * native/jni/java-net/local.c:
2377
        Fix import of FIONREAD.
2378
        * native/jni/java-nio/gnu_java_nio_VMChannel.c,
2379
        * native/jni/native-lib/cpnet.c:
2380
        Likewise.
2381
 
2382
2007-04-17  Dalibor Topic  
2383
 
2384
        * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAH):
2385
        Use AC_CHECK_PROGS and AC_MSG_ERROR. Check for
2386
        gjavah, gcjh-wrapper-4.1 and gcjh-4.1. Error out
2387
        when no javah implementation can be found.
2388
 
2389
2007-04-17  Dalibor Topic  
2390
 
2391
        * configure.ac (CLASSPATH_WITH_JAVAH): Only check if
2392
        the JNI headers need to be regenerated.
2393
 
2394
        * m4/acinclude.m4 (USER_SPECIFIED_JAVAH): Removed unused
2395
        conditional.
2396
 
2397
2007-04-17  Dalibor Topic  
2398
 
2399
        * lib/Makefile.am (JAVAH): Removed unused variable.
2400
 
2401
2007-04-17  Casey Marshall  
2402
 
2403
        PR classpath/31302:
2404
        * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
2405
        Always make a new socket.
2406
        (bind, connect, getInetAddress, getLocalAddress, getPort,
2407
        getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
2408
        setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
2409
        setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
2410
        setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
2411
        getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
2412
        getTrafficClass, setReuseAddress, getReuseAddress, close,
2413
        shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
2414
        isInputShutdown, isOutputShutdown): Always use
2415
        'underlyingSocket'.
2416
 
2417
2007-04-16  Dalibor Topic  
2418
 
2419
        * configure.ac (AM_PROG_CC_C_O): Added to fix automake 1.10
2420
        warning.
2421
 
2422
2007-04-16  Dalibor Topic  
2423
 
2424
        * native/plugin/Makefile.am (libgcjwebplugin_la_LDFLAGS):
2425
        Added AM_LDFLAGS for automake 1.10.
2426
 
2427
2007-04-16  Tom Tromey  
2428
 
2429
        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
2430
        * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
2431
        (createSocket): Change order of delegation.
2432
 
2433
2007-04-16  Andrew Haley  
2434
 
2435
        * java/io/ObjectInputStream.java: (parseContent):  Call (String,
2436
        Object) version of dumpElementln.
2437
        (dumpElementln(String, Object)): New method.
2438
        * java/io/ObjectOutputStream.java (writeObject): Call (String,
2439
        Object) version of dumpElementln.
2440
        (dumpElementln(String, Object)): New method.
2441
 
2442
2007-04-16  Mark Wielaard  
2443
 
2444
        Fixes bug #31590
2445
        * java/net/URI.java (parseServerAuthority): Allow empty portStr.
2446
 
2447
2007-04-16  Andrew Haley  
2448
 
2449
        * org/omg/IOP/TaggedComponentHelper.java (read): Use
2450
        read_octet_array(), not read().
2451
        (write): Use write_octet_array(), not write().
2452
 
2453
        * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
2454
        delegate has been set.
2455
 
2456
2007-04-16  Chris Burdess  
2457
 
2458
        * gnu/xml/stream/XMLParser.java: Work around a problem with incorrectly
2459
          formatted file URLs.
2460
 
2461
2007-04-15  Dalibor Topic  
2462
 
2463
        * native/jni/java-lang/Makefile.am (libjavalang_la_LIBADD):
2464
        Fix portability warnings from automake 1.10.
2465
 
2466
2007-04-15  Dalibor Topic  
2467
 
2468
        * Makefile.am (EXTRA_DIST): Add ChangeLog-2006.
2469
 
2470
2007-04-15  Dalibor Topic  
2471
 
2472
        * native/target/.cvsignore: Removed.
2473
 
2474
2007-04-15  Dalibor Topic  
2475
 
2476
        * doc/Makefile.am: Fix portability warnings from
2477
        automake 1.10.
2478
 
2479
2007-04-15  Roman Kennke  
2480
 
2481
        * native/target/Linux/.cvsignore,
2482
        * native/target/generic/.cvsignore: Removed.
2483
 
2484
2007-04-15  Dalibor Topic  
2485
 
2486
        * depcomp, install-sh, missing, mkinstalldirs,
2487
        doc/texinfo.tex: Removed files generated by autogen.sh.
2488
 
2489
        * .cvsignore: Ignore generated files depcomp, install-sh,
2490
        missing, mkinstalldirs.
2491
 
2492
        * doc/.cvsignore: Ignore generated file doc/texinfo.tex.
2493
 
2494
2007-04-15  Dalibor Topic  
2495
 
2496
        * doc/cp-hacking.texinfo: Updated with information from
2497
        INSTALL file. Removed duplicate and outdated information.
2498
        Updated compiler information. Fixed versioning information
2499
        where entries diverged. Turned command, option, file and
2500
        URL strings into proper texinfo elements.
2501
 
2502
2007-04-15  Dalibor Topic  
2503
 
2504
        * configure.ac: Added support for Iceape libraries as
2505
        a substitute for Mozilla for Debian.
2506
 
2507
2007-04-12  Roman Kennke  
2508
 
2509
        * java/nio/Buffer.java
2510
        (array): New abstract method.
2511
        (hasArray): New abstract method.
2512
        (arrayOffset): New abstract method.
2513
        (isDirect): New abstract method.
2514
 
2515
2007-04-12  Roman Kennke  
2516
 
2517
        * java/nio/CharBuffer.java
2518
        (wrap(CharSequence,int,int)): Reimplemented using specialized
2519
        subclass.
2520
        * java/nio/CharSequenceBuffer.java: New class. Implements char
2521
        buffers that wrap CharSequences.
2522
 
2523
2007-04-12  Francis Kung  
2524
 
2525
        PR 23887
2526
        * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2527
        (drawGlyphVector): Check for transforms before using optimized path.
2528
        * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2529
        (FreetypeGlyphVector(FreetypeGlyphVector)): Initialize glyphTransforms array
2530
        to null and check for nulls in copied array.
2531
        (hasTransforms): New method.
2532
        (performDefaultLayout): Check for identity transform.
2533
        (setGlyphTransform): Check for equality before making changes.
2534
 
2535
2007-04-12  Francis Kung  
2536
 
2537
        PR 23887
2538
        * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2539
        (getGlyphLogicalBounds): Fix number of coordinates in transform call.
2540
        (performDefaultLayout): Respect transformation in font attributes.
2541
        * javax/swing/plaf/basic/BasicProgressBarUI.java
2542
        (getStringPlacement): Handle vertical orientations.
2543
        (paintString): Space vertical text properly.
2544
 
2545
2007-04-12  Francis Kung  
2546
 
2547
        PR 31539
2548
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2549
        (ft2_map): New static variable.
2550
        (Java_gnu_java_awt_peer_gtk_GdkFontPeer_initStaticState): Set up ft2_map.
2551
        (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Use cached ft2_map.
2552
 
2553
2007-04-12  Christian Thalinger  
2554
 
2555
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
2556
        (clipboard_get_func): Call DeleteLocalRef.
2557
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
2558
        (clipboard_targets_received): Likewise.
2559
        (clipboard_uris_received): Likewise.
2560
 
2561
2007-04-12  Christian Thalinger  
2562
 
2563
        * LICENSE: Added m4/ax_func_which_gethostbyname_r.m4 license.
2564
        * configure.ac: Added AX_FUNC_WHICH_GETHOSTBYNAME_R check.
2565
        * m4/ax_func_which_gethostbyname_r.m4: New file.
2566
        * native/jni/native-lib/cpnet.c (cpnet_getHostByName): Check for
2567
        different number of arguments of gethostbyname_r.
2568
 
2569
2007-04-12  Mark Wielaard  
2570
 
2571
        * gnu/java/awt/peer/ClasspathFontPeer.java (LRUCache): New static
2572
        inner class.
2573
        (transCache): New static LRUChache field.
2574
        (copyTransformToAttrs): Check whether a TransformAttribute already
2575
        exists in the transCache for the given AffineTransform.
2576
 
2577
2007-04-12  Mark Wielaard  
2578
 
2579
        * configure.ac (COMPILE_GTK_PEER): Add check for cairo >= 1.1.8.
2580
 
2581
2007-04-11  Christian Thalinger  
2582
 
2583
        * native/jni/java-nio/javanio.c: Include fcntl.h instead of
2584
        sys/fcntl.h.
2585
 
2586
2007-04-11  Christian Thalinger  
2587
 
2588
        * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed
2589
        warning on some compilers, e.g. MIPSpro.
2590
 
2591
2007-04-11  Francis Kung  
2592
 
2593
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
2594
        (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Avoid unneeded
2595
        object reference.
2596
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2597
        (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics): Unlock font.
2598
        (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Remove redundant checks.
2599
 
2600
2007-04-11  Christian Thalinger  
2601
 
2602
        * configure.ac: Added AC_C_INLINE.
2603
 
2604
2007-04-10  Mark Wielaard  
2605
 
2606
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
2607
        (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initFromVolatile):
2608
        Destroy surface after it is used to create a cairo context.
2609
 
2610
2007-04-09  Andrew John Hughes  
2611
 
2612
        * javax/management/ObjectName.java:
2613
        (parse(String)): Catch multiple wildcards,
2614
        initialise with an empty string (so null isn't
2615
        appended), and emit comma even when wildcard
2616
        ends the list.
2617
        (checkComponents()): Catch newlines.
2618
        (quote(String)): Handle newlines and quotes
2619
        correctly.
2620
 
2621
2007-04-09  Francis Kung  
2622
 
2623
        PR 31311
2624
        * gnu/java/awt/peer/gtk/ComponentGraphics.java
2625
        (dispose): Removed method.
2626
        (disposeSurface): Removed method.
2627
        * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
2628
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
2629
        (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
2630
        (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
2631
        after it is used to create a cairo context.
2632
 
2633
2007-04-07  Andrew John Hughes  
2634
 
2635
        * javax/management/ObjectName.java:
2636
        (propertyValuePattern): New cache variable.
2637
        (parse(String)): Record in propertyListPattern
2638
        not propertyPattern and set propertyValuePattern.
2639
        (isPropertyPattern()): Semantics altered to be the
2640
        OR of isPropertyListPattern() and isPropertyValuePattern().
2641
        (isPropertyListPattern()): Implemented.
2642
        (isPropertyValuePattern()): Implemented.
2643
        (isPropertyValuePattern(String)): Implemented.
2644
 
2645
2007-04-07  Andrew John Hughes  
2646
 
2647
        * javax/management/ObjectName.java:
2648
        (parse(String)): Fix result of getKeyPropertyListString().
2649
 
2650
2007-04-07  Mark Wielaard  
2651
 
2652
        * resource/META-INF/services/javax.xml.parsers.DocumentBuilderFactor,
2653
        resource/META-INF/services/javax.xml.parsers.SAXParserFactory,
2654
        resource/META-INF/services/javax.xml.parsers.TransformerFactory,
2655
        resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory,
2656
        resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList,
2657
        resource/META-INF/services/org.xml.sax.driver: Removed.
2658
 
2659
2007-04-07  Andrew John Hughes  
2660
 
2661
        * javax/management/ObjectName.java:
2662
        (checkComponents()): Separate value and
2663
        key illegal characters to allow value wildcards.
2664
 
2665
2007-04-07  Andrew John Hughes  
2666
 
2667
        * javax/management/ObjectName.java
2668
        (parse(String)): Fix parsing where the wildcard
2669
        is juxtaposed between other pairs.
2670
 
2671
2007-04-06  Mark Wielaard  
2672
 
2673
        * configure.ac (VERSION): Set to 0.96-pre.
2674
 
2675
2007-04-06  Andrew John Hughes  
2676
 
2677
        * javax/management/MBeanAttributeInfo.java:
2678
        (serialVersionUID):  Added.
2679
        * javax/management/MBeanFeatureInfo.java:
2680
        (writeObject(ObjectOutputStream)): Added for
2681
        later 1.6 support.
2682
        * javax/management/Notification.java:
2683
        (serialVersionUID): Added.
2684
        (Notification(String,Object,long,long)): Make
2685
        default message the empty string not null.
2686
        (Notification(String,Object,long,long,String)):
2687
        Set source explicitly.
2688
        (writeObject(ObjectOutputStream)): Added to match
2689
        Sun.
2690
 
2691
2007-04-06  Andrew John Hughes  
2692
 
2693
        * java/util/Hashtable.java:
2694
        (putAllInternal(Map)): Remove redundant semi-colon.
2695
 
2696
2007-04-06  Mark Wielaard  
2697
 
2698
        * lib/mkcollections.pl.in: Add externalclasses.
2699
        * java/util/Collections.java: Unroll enhanced for loops.
2700
        * java/util/HashMap.java: Likewise.
2701
        * java/util/Hashtable.java: Likewise.
2702
        * java/util/TreeMap.java: Likewise.
2703
 
2704
2007-04-06  Andrew John Hughes  
2705
 
2706
        * gnu/javax/management/Translator.java:
2707
        (getTypeName(type)): Move type name creation to its own method.
2708
        * javax/management/ObjectName.java:
2709
        (WILDCARD): Added.
2710
 
2711
2007-04-04  Andrew Haley  
2712
 
2713
        * javax/management/ObjectName.java:
2714
        (serialVersionUID): Declare.
2715
        Make all fields transient.
2716
        (parse): Break out from constructor.
2717
        (writeObject, readObject): New methods.
2718
 
2719
2007-04-05  Francis Kung  
2720
 
2721
        * include/Makefile.am: Remove old entry.
2722
 
2723
2007-04-05  Francis Kung  
2724
 
2725
        * gnu/java/awt/peer/gtk/GtkToolkit.java
2726
        (createDragGestureRecognizer): Remove failing subClass call.
2727
 
2728
2007-04-05  Gary Benson  
2729
 
2730
        * java/util/GregorianCalendar.java
2731
        (computeFields): Fix WEEK_OF_MONTH calculation.
2732
 
2733
2007-04-05  Christian Thalinger  
2734
 
2735
        PR classpath/22800:
2736
        * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
2737
        (doubleToRawLongBits, longBitsToDouble): Swap the byte
2738
        ordering for little-endian arms without VFP.
2739
 
2740
2007-04-05  Christian Thalinger  
2741
 
2742
        * native/jni/java-net/java_net_VMNetworkInterface.c
2743
        [HAVE_IFADDRS_H && HAVE_GETIFADDRS] (free_netif_list): Added
2744
        #ifdef.
2745
        (getVMInterfaces): Added UNUSED argument attribute.
2746
 
2747
2007-04-05  Christian Thalinger  
2748
 
2749
        * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c,
2750
        native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c
2751
        [HAVE_ICONV] (createRawData, getData, infid, outfid): Added
2752
        #ifdef.
2753
        (openIconv): Added UNUSED argument attribute, so we can build with
2754
        -Werror.
2755
        (decode): Likewise.
2756
        (closeIconv): Likewise.
2757
 
2758
2007-04-05  Mark Wielaard  
2759
 
2760
        * autogen.sh: Recognize automake 1.10.
2761
        * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-portability.
2762
        * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add AM_LDFLAGS.
2763
        * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): Likewise.
2764
        * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): Likewise.
2765
        * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS): Likewise.
2766
        * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS): Likewise.
2767
        * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Likewise.
2768
 
2769
2007-04-04  Mark Wielaard  
2770
 
2771
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
2772
        (cp_gtk_image_get_pixbuf): Return NULL when pointer is NULL.
2773
        * gnu/java/awt/peer/gtk/GtkImage.java (setImage): Set loaded and
2774
        call deliver() after pixels have been set.
2775
        * gnu/java/awt/peer/gtk/GtkFramePeer.java (setIconImage): Only
2776
        set icon when image has been properly loaded.
2777
 
2778
2007-04-04  Francis Kung  
2779
 
2780
        * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2781
        (drawCairoSurface): Made protected.
2782
        * gnu/java/awt/peer/gtk/ComponentGraphics.java
2783
        (cairoDrawGlyphVector): Removed method.
2784
        (cairoSetFont): Removed method.
2785
        (disposeNative): Removed method.
2786
        (drawCairoSurface): New method.
2787
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2788
        (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added
2789
        locking.
2790
        (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking.
2791
        (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
2792
 
2793
2007-04-04  Gary Benson  
2794
 
2795
        * java/util/GregorianCalendar.java
2796
        (GregorianCalendar(TimeZone, Locale)): Remove redundant complete().
2797
 
2798
2007-04-04  Roman Kennke  
2799
 
2800
        * java/nio/channels/spi/SelectorProvider.java
2801
        (inheritedChannel): Make method concrete and move default impl
2802
        to here. Perform security checks as mandated by the spec.
2803
        * gnu/java/nio/SelectorProviderImpl.java
2804
        (inheritedChannel): Removed. Default impl is in SelectorProvider.
2805
 
2806
2007-04-04  Roman Kennke  
2807
 
2808
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2809
        (init_glib_threads): Create global reference on lock object.
2810
 
2811
2007-04-04  Roman Kennke  
2812
 
2813
        * java/awt/Frame.java
2814
        (weakFrames): Make private.
2815
        (weakFramesQueue): New field. A reference queue to collect
2816
        GCed references.
2817
        (getFrames): Only do one iterations to avoid collecting null
2818
        references.
2819
        (hasDisplayableFrames): New helper method. Checks if there
2820
        are any displayable frames. This is used by the event queue
2821
        shutdown check.
2822
        (noteFrame): Clean up GCed frames in the list.
2823
        * java/awt/EventQueue.java
2824
        (isShutdown): Move frame checking code into Frame.
2825
 
2826
2007-04-03  Roman Kennke  
2827
 
2828
        * java/lang/System.java
2829
        (inheritedChannel): New method, wraps
2830
        SelectorProvider.inheritedChannel().
2831
        * java/nio/channels/spi/SelectorProvider.java
2832
        (inheritedChannel): New abstract method.
2833
        * gnu/java/nio/SelectorProviderImpl.java
2834
        (inheritedChannel): New method, return null as default.
2835
 
2836
2007-04-03  Roman Kennke  
2837
 
2838
        * java/nio/ByteOrder.java
2839
        (nativeByteOrder): Let this fail when the corresponding
2840
        property is not set properly.
2841
 
2842
2007-04-03  Roman Kennke  
2843
 
2844
        * javax/swing/plaf/basic/BasicTreeUI.java
2845
        (getPathBounds): Consider the tree's insets. Added a bunch of
2846
        null checks.
2847
 
2848
2007-04-03  Roman Kennke  
2849
 
2850
        * javax/swing/plaf/basic/BasicLabelUI.java
2851
        (cachedInsets): New field. Used for reusing the insets instance.
2852
        (getFontMetrics): New helper method for fetching a suitable
2853
        FontMetrics object.
2854
        (getPreferredSize): Use new helper method for font metrics.
2855
        (paint): Only do something if we have an icon or text.
2856
        Use cached Insets instance and new font metrics helper.
2857
        (paintDisabledText): Don't restore the graphics' color.
2858
        (paintEnabledText): Don't restore the graphics' color.
2859
 
2860
2007-04-03  Roman Kennke  
2861
 
2862
        * javax/swing/plaf/metal/MetalButtonUI.java
2863
        (paintButtonPressed): Fill the whole button not only visibleRect.
2864
        * javax/swing/plaf/metal/MetalLookAndFeel.java
2865
        (LAF_defaults): Removed.
2866
        (getDefaults): Always fetch super's defaults.
2867
        * javax/swing/plaf/metal/MetalMenuBarUI.java
2868
        (update): Don't leave 2 pixel gap.
2869
 
2870
2007-04-03  Roman Kennke  
2871
 
2872
        * native/target/.cvsignore,
2873
        * native/target/Linux/.cvsignore,
2874
        * native/target/generic/.cvsignore: Some new ignores.
2875
 
2876
2007-04-03  Roman Kennke  
2877
 
2878
        * gnu/java/awt/peer/gtk/GThreadMutex.java,
2879
        * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2880
        * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2881
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2882
        * native/jni/gtk-peer/gthread-jni.c,
2883
        * native/jni/gtk-peer/gthread-jni.h: Removed.
2884
        * native/jni/gtk-peer/Makefile.am: Removed obsolete entries
2885
        for removed files.
2886
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2887
        Removed unused bits from gthread-jni.c.
2888
 
2889
2007-04-03  Francis Kung  
2890
 
2891
        * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2892
        (getGlyphs(int[], int[], long[])): Return void.
2893
 
2894
2007-04-03  Kyle Galloway  
2895
 
2896
        * gnu/classpath/jdwp/value/ArrayValue.java: New file.
2897
 
2898
2007-04-03  Roman Kennke  
2899
 
2900
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2901
        (global_lock): New global variable that holds the object reference
2902
        to the global GTK lock.
2903
        (init_glib_threads): Add lock argument. Use
2904
        gdk_threads_set_lock_functions to replace GTK's locking function
2905
        with two callbacks that allow reentrant locking, based on
2906
        JNI's MonitorEnter() and MonitorExit().
2907
        (jni_lock_cb): New callback function for GTK locking.
2908
        (jni_unlock_cb): New callback function for GTK unlocking.
2909
        (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Add lock argument.
2910
        Call init_glib_threads() with lock object.
2911
        * include/gnu_java_awt_peer_gtk_GtkToolkit.h
2912
        Regenerated.
2913
        * gnu/java/awt/peer/gtk/GtkToolkit.java
2914
        (GTK_LOCK): New static field. This is used as the global lock for
2915
        GTK.
2916
        (gtkInit): Add lock parameter.
2917
        (static_init): Initialize global lock and call gtkInit() with
2918
        that lock.
2919
 
2920
2007-04-02  Francis Kung  
2921
 
2922
        * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2923
        (fontSet): Initialize to null.
2924
        (FreetypeGlyphVector(Font, int[], FontRenderContext)): Populate fontSet
2925
        array with default font if needed.
2926
        (FreetypeGlyphVector(FreetypeGlyphVector)): Clone all fields.
2927
        (getNativeFontPointer): New native method.
2928
        * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h: Regenerated.
2929
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
2930
        (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getNativeFontPointer):
2931
        New function.
2932
 
2933
2007-04-02  Francis Kung  
2934
 
2935
        * INSTALL: Document known bug in at-spi, atk, and gail packages prior to
2936
        version 1.18.0.
2937
 
2938
2007-04-02  Francis Kung  
2939
 
2940
        * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2941
        (cairoDrawGlyphVector): Added parameter.
2942
        (drawGlyphVector): Retrieve and pass fontset parameter.
2943
        * gnu/java/awt/peer/gtk/ComponentGraphics.java
2944
        (cairoDrawGlyphVector): Added parameter.
2945
        (lock): Removed unnecessary cast.
2946
        (unlock): Removed unnecessary cast and explicitly set to ONE variable.
2947
        * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2948
        (fontSet): New field.
2949
        (dispose): New native method.
2950
        (finalize): New method.
2951
        (getGlyphFonts): New method.
2952
        (getGlyphOutline): Pass fontSet parameter to native method.
2953
        (getGlyphOutlineNative): Added parameter.
2954
        (getGlyphs): Pass extra parameters to native method.
2955
        (getGlyphsNative): Added parameters.
2956
        (getKerning): Added fontSet parameter.
2957
        (getMetricsNative): Added fontSet parameter.
2958
        (performDefaultLayout): Only check kerning if glyphs use the same font.
2959
        (setupGlyphMetrics): Pass extra parameters to native methods.
2960
        * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
2961
        * include/gnu_java_awt_peer_gtk_FreetypGlyphVector.h: Regenerated.
2962
        * native/jni/gtk-peer/gdkfont.h: Enable pango engine.
2963
        (peerfont): Add variable for fontset.
2964
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2965
        (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Accept
2966
        array of font pointers to use when drawing glyphs.
2967
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
2968
        (getFontSet): New function.
2969
        (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_dispose): New function.
2970
        (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphOutlineNative):
2971
        Added and use new fontSet parameter.
2972
        (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Use pango
2973
        to retrieve glyphs and estimate font, if the current font does not contain
2974
        a requested glyph.
2975
        (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getKerning): Added and use
2976
        new fontSet parameter.
2977
        (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getMetricsNative): Added
2978
        and use new fontSet parameter.
2979
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2980
        (Java_gnu_java_awt_peer_gtk_GdkFontPeer_dispose): Free fontset.
2981
        (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Load fontset.
2982
 
2983
2007-04-02  Andrew Haley  
2984
 
2985
        * javax/management/ObjectName.java: Handle 0-length names.
2986
        * javax/management/MBeanServerFactory.java: Use the domain that
2987
        we've been passed, not the fixed string "DefaultDomain".
2988
 
2989
2007-04-01  Mark Wielaard  
2990
 
2991
        * org/omg/CORBA/DynAny.java: Mark as deprecated.
2992
        * org/omg/CORBA/DynArray.java: Likewise.
2993
        * org/omg/CORBA/DynEnum.java: Likewise.
2994
        * org/omg/CORBA/DynFixed.java: Likewise.
2995
        * org/omg/CORBA/DynSequence.java: Likewise.
2996
        * org/omg/CORBA/DynStruct.java: Likewise.
2997
        * org/omg/CORBA/DynUnion.java: Likewise.
2998
        * org/omg/CORBA/DynValue.java: Likewise.
2999
        * org/omg/CORBA/ORB.java (create_basic_dyn_any): Likewise.
3000
        (create_dyn_any): Likewise.
3001
        (create_dyn_array): likewise.
3002
        (create_dyn_enum): Likewise.
3003
        (create_dyn_sequence): Likewise.
3004
        (create_dyn_struct): Likewise.
3005
        (create_dyn_union): Likewise.
3006
 
3007
2007-04-01  Andrew John Hughes  
3008
 
3009
        * gnu/javax/management/Translator.java:
3010
        (fromJava(Object[],Method)): Use the array from the
3011
        parameter not the newly created one...
3012
        (fromJava(Object, Type)): Support MXBeans.
3013
        * javax/management/JMX.java:
3014
        (newMXBeanProxy(MBeanServerConnection,ObjectName,Class)):
3015
        Call newMXBeanProxy rather than newMBeanProxy.
3016
        * javax/management/StandardMBean.java:
3017
        (setAttribute(Attribute)): Use InvocationTargetException
3018
        as cause.
3019
 
3020
2007-03-31  Jeroen Frijters  
3021
 
3022
        PR classpath/31402:
3023
        * java/util/concurrent/CopyOnWriteArrayList.java
3024
        (remove): Fixed ArrayIndexOutOfBoundsException when index == 0.
3025
 
3026
2007-03-30  Andrew John Hughes  
3027
 
3028
        * javax/management/openmbean/CompositeDataInvocationHandler.java:
3029
        New file.
3030
 
3031
2007-03-30  Kyle Galloway  
3032
 
3033
        * gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots ints.
3034
        (write): Replace writeLong with writeInt for above.
3035
 
3036
2007-03-30  Tom Tromey  
3037
 
3038
        PR libgcj/29869:
3039
        * gnu/java/util/jar/JarUtils.java (log): Commented out.
3040
        (readSFManifest): Don't log.
3041
 
3042
2007-03-29  Tom Tromey  
3043
 
3044
        PR libgcj/29869:
3045
        * java/util/logging/LogManager.java (readConfiguration): Handle
3046
        comma-separated 'handlers'.  Don't try to add a non-existing
3047
        handler.
3048
 
3049
2007-03-29  Keith Seitz  
3050
 
3051
        * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
3052
        Event type is "THREAD_START" not "THERAD_END".
3053
 
3054
        * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
3055
        Handle configure strings ":port" and "port".
3056
 
3057
2007-03-29  Francis Kung  
3058
 
3059
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3060
        (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Revert last patch.
3061
 
3062
2007-03-29  Mark Wielaard  
3063
 
3064
        * native/jni/java-nio/Makefile.am (LIBADD): Add libclasspathnative.
3065
 
3066
2007-03-28  Andrew John Hughes  
3067
 
3068
        * javax/management/StandardMBean.java:
3069
        (setAttribute(Attribute)): Add handling of primitive
3070
        types and subtype parameters.
3071
        (getMutator(String,Class)): New helper method to
3072
        return the mutator.
3073
 
3074
2007-03-28  Roman Kennke  
3075
 
3076
        * java/io/OutputStreamWriter.java,
3077
        * java/io/InputStreamReader.java: Revert big stream patch due to
3078
        problems.
3079
 
3080
2007-03-28  Tom Tromey  
3081
 
3082
        PR classpath/31303:
3083
        * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
3084
        (createXMLReader): Code in Classpath default.
3085
 
3086
2007-03-28  Tom Tromey  
3087
 
3088
        PR classpath/31276:
3089
        * native/jni/java-lang/java_lang_VMDouble.c
3090
        (parseDoubleFromChars): Use %p, not %i.
3091
 
3092
2007-03-28  Mark Wielaard  
3093
 
3094
        * native/jni/java-nio/Makefile.am (LIBADD): Don't add
3095
        libclasspathnative.
3096
        * native/jni/java-nio/gnu_java_nio_VMChannel.c
3097
        (Java_gnu_java_nio_VMChannel_open): Don't set and reset umask.
3098
 
3099
2007-03-27  Francis Kung  
3100
 
3101
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3102
        (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Prevent loading of
3103
        accessibility modules as temporary workaround for Gnome bug.
3104
 
3105
2007-03-27  Kyle Galloway  
3106
 
3107
        * gnu/classpth/jdwp/processor/ThreadReferenceCommandSet.java
3108
        (executeResume): Change to call VMVirtualMachine.resumeThread.
3109
 
3110
2007-03-27  Roman Kennke  
3111
 
3112
        * java/io/InputStreamReader.java
3113
        (BUFFER_SIZE): New constant.
3114
        (bytesCache): Removed.
3115
        (cacheLock): Removed.
3116
        (hasSavedSurrogate): Removed.
3117
        (lastArray): New field. Used for caching CharBuffers.
3118
        (lastBuffer): New field. Used for caching CharBuffers.
3119
        (maxBytesPerChar): Removed.
3120
        (oneChar): New field. Caches a char array for read().
3121
        (savedSurrogate): New field.
3122
        (InputStreamReader): (all constructors) Cleaned up.
3123
        Use initDecoderAndBuffer() method. Check for null parameters.
3124
        Use new EncodingHelper.getDefaultCharset() for fetching the
3125
        default charset.
3126
        (decode): New helper method. Decodes using the NIO decoder or
3127
        using a raw Latin1 decoding.
3128
        (getCharBuffer): New helper method. Implements caching of
3129
        CharBuffers for output arrays.
3130
        (initDecoderAndBuffer): New helper method. Initializes the decoder
3131
        and input buffer.
3132
        (read): Use cached array.
3133
        (read(char[],int,int)): Reworked using a cleaner NIO based
3134
        implementation. This decodes the incoming data in bigger chunks
3135
        rather then calling the decoder for each character.
3136
        (ready): Also check the input buffer.
3137
        (refillInputBuffer): New helper methods. Refills the input buffer
3138
        when it runs out of data.
3139
        * java/io/OutputStreamWriter.java
3140
        (lastArray): Implements caching of the output array buffer.
3141
        (lastBuffer): Implements caching of the output array buffer.
3142
        (oneChar): New field. Caches a char array for write().
3143
        (outputBuffer): Make this a ByteBuffer.
3144
        (OutputStreamWriter): (all constructors) Cleaned up.
3145
        Use initEncoderAndBuffer() method. Check for null parameters.
3146
        Use new EncodingHelper.getDefaultCharset() for fetching the
3147
        default charset.
3148
        (encode): New helper method. Encodes the input buffer to the output
3149
        buffer using either the NIO encoder or a raw Latin1 encoding.
3150
        (encodeChars): New helper method. The encoding loop.
3151
        (flush): Directly use the array of the output buffer.
3152
        (getCharBuffer): New helper method. Implements caching of the
3153
        output buffer.
3154
        (initEncoderAndBuffer): New helper method for initialization.
3155
        (write(char[],int,int)): Reworked to make better use of the NIO
3156
        encoders.
3157
        (write): Use cached array.
3158
        (write(String,int,int)): Don't copy the string but rather wrap it
3159
        and handle it the same as the wrapped char array.
3160
        (writeConvert): Removed.
3161
        * gnu/java/nio/charset/EncodingHelper.java
3162
        (getDefaultCharset): New method. Returns the default charset for
3163
        the case when the file.encoding charset is not valid. This
3164
        always returns an UTF8 codec.
3165
 
3166
2007-03-27  Roman Kennke  
3167
 
3168
        * java/awt/Frame.java
3169
        (weakFrames): Make this generic and package private.
3170
        (noteFrame): Use generic WeakReference.
3171
        * java/awt/EventQueue.java
3172
        (isShutdown): Iterate over the weakFrames directly, rather than
3173
        using Frame.getFrames(). The latter iterates several times over
3174
        weakFrames completely and creates a new array on each call. The
3175
        former iterates only once and aborts when it finds a frame which
3176
        is displayable.
3177
 
3178
2007-03-27  Roman Kennke  
3179
 
3180
        * javax/swing/JScrollBar.java
3181
        (getUnitIncrement(int)): Don't multiply direction parameter.
3182
        (getBlockIncrement(int)): Don't multiply direction parameter.
3183
 
3184
2007-03-26  Tom Tromey  
3185
 
3186
        * doc/cp-tools.texinfo (gcjh Tool): Added more text.
3187
        (rmid Tool): Likewise.
3188
 
3189
2007-03-26  Stepan Kasal  
3190
 
3191
        * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
3192
        field.
3193
        (getParser): Use new field.
3194
 
3195
2007-03-25  Dalibor Topic  
3196
 
3197
        * doc/cp-tools.texinfo: Fix node ordering.
3198
 
3199
2007-03-19  Matthias Klose  
3200
 
3201
        * doc/Makefile.am: Build a gcjh(1) man page.
3202
        * doc/cp-tools.texinfo: Add documentation for gcjh.
3203
 
3204
2007-03-23  Jeroen Frijters  
3205
 
3206
        * java/net/ServerSocket.java (implAccept): set implCreated flag on
3207
        socket.
3208
        * java/net/Socket.java (implCreated): Make package accessible for
3209
        ServerSocket.
3210
 
3211
2007-03-22  Casey Marshall  
3212
 
3213
        * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
3214
        check keyEncipherment bit of the certificate, and just pass the public
3215
        key to the cipher.
3216
 
3217
2007-03-20  Mario Torre  
3218
 
3219
        * configure.ac: GConf requirement for building the java.util.prefs backend
3220
        are relaxed down to version 2.6.0 (instead of 2.11.2).
3221
 
3222
2007-03-19  Mario Torre  
3223
 
3224
        * gnu/java/awt/peer/KDEDesktopPeer.java:
3225
        (mail): Fixed error dialog in KDE when the mail method is called without
3226
        argument; now opens the default mailer with a blank window.
3227
        (getCommand): Handle the use of kprinter as default print command for KDE.
3228
        (supportCommand): Enable the print command when a KDE desktop is detected.
3229
 
3230
2007-03-19  Jeroen Frijters  
3231
 
3232
        * java/net/Socket.java
3233
        (implCreated): New field.
3234
        (getImpl): Call impl.create() if it hasn't been called yet.
3235
        (bind): Removed explicit impl.create() call.
3236
 
3237
2007-03-18  Mark Wielaard  
3238
 
3239
        * javax/crypto/CipherOutputStream.java (write): Use out.write()
3240
        not super.write().
3241
 
3242
2007-03-18  Mark Wielaard  
3243
 
3244
        * configure.ac (COMPILE_PLUGIN): Check for gtk+-2.0 >= 2.8
3245
        gthread-2.0 >= 2.2 and gdk-pixbuf-2.0
3246
 
3247
2007-03-16  Tom Tromey  
3248
 
3249
        * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
3250
        name in File case.
3251
 
3252
2007-03-16  Thomas Fitzsimmons  
3253
 
3254
        * resource/com/sun/tools/javac/messages.properties
3255
        (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
3256
        messages for when --with-ecj-jar is not specified.
3257
 
3258
        * configure.ac (FOUND_ECJ_JAR): Remove conditional.
3259
        * tools/Makefile.am: Build com.sun.tools.javac package
3260
        unconditionally.
3261
 
3262
2007-03-16  Mark Wielaard  
3263
 
3264
        * configure.ac (COMPILE_PLUGIN): Stop when no plugin headers found.
3265
        Also check for gtk+ dependency.
3266
 
3267
2007-03-16  Tom Tromey  
3268
 
3269
        * tools/gnu/classpath/tools/javah/JniStubPrinter.java
3270
        (printClass): Added filename argument.
3271
        * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
3272
        (printClass): Added filename argument.
3273
        * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
3274
        (printClass): Use user's file name.
3275
        * tools/gnu/classpath/tools/javah/CniStubPrinter.java
3276
        (printClass): Use user's file name.
3277
        * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
3278
        filename argument.
3279
        * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
3280
        argument order.
3281
        (writeHeaders): Use a HashMap.
3282
        (run): Put class name into HashMap for writeHeaders.
3283
 
3284
2007-03-16  Francis Kung  
3285
 
3286
        * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3287
        (cairoArc): Make protected rather than private so it can be over-ridden.
3288
        (cairoClip): Likewise.
3289
        (cairoClosePath): Likewise.
3290
        (cairoCurveTo): Likewise.
3291
        (cairoDrawGlyphVector): Likewise.
3292
        (cairoFill): Likewise.
3293
        (cairoLineTo): Likewise.
3294
        (cairoMoveTo): Likewise.
3295
        (cairoNewPath): Likewise.
3296
        (cairoRectangle): Likewise.
3297
        (cairoResetClip): Likewise.
3298
        (cairoRestore): Likewise.
3299
        (cairoSave): Likewise.
3300
        (cairoScale): Likewise.
3301
        (cairoSetAntialias): Likewise.
3302
        (cairoSetDash): Likewise.
3303
        (cairoSetFillRule): Likewise.
3304
        (cairoSetFont): Likewise.
3305
        (cairoSetLine): Likewise.
3306
        (cairoSetMatrix): Likewise.
3307
        (cairoSetOperator): Likewise.
3308
        (cairoSetRGBAColor): Likewise.
3309
        (cairoStroke): Likewise.
3310
        (drawPixels): Likewise.
3311
        (init): Likewise.
3312
        (setGradient): Likewise.
3313
        (setPaintPixels): Likewise.
3314
        (cairoDrawLine): Removed.
3315
        (cairoDrawRect): Removed.
3316
        (cairoFillRect): Removed.
3317
        (cairoPreserveClip): Removed.
3318
        (cairoRelCurveTo): Removed.
3319
        (cairoRelLineTo): Removed.
3320
        (cairoRelMoveTo): Removed.
3321
        * gnu/java/awt/peer/gtk/ComponentGraphics.java
3322
        (cairoArc): New method wrapping superclass method in locks.
3323
        (cairoClip): Likewise.
3324
        (cairoClosePath): Likewise.
3325
        (cairoCurveTo): Likewise.
3326
        (cairoDrawGlyphVector): Likewise.
3327
        (cairoFill): Likewise.
3328
        (cairoLineTo): Likewise.
3329
        (cairoMoveTo): Likewise.
3330
        (cairoNewPath): Likewise.
3331
        (cairoRectangle): Likewise.
3332
        (cairoResetClip): Likewise.
3333
        (cairoRestore): Likewise.
3334
        (cairoSave): Likewise.
3335
        (cairoScale): Likewise.
3336
        (cairoSetAntialias): Likewise.
3337
        (cairoSetDash): Likewise.
3338
        (cairoSetFillRule): Likewise.
3339
        (cairoSetFont): Likewise.
3340
        (cairoSetLine): Likewise.
3341
        (cairoSetMatrix): Likewise.
3342
        (cairoSetOperator): Likewise.
3343
        (cairoSetRGBAColor): Likewise.
3344
        (cairoStroke): Likewise.
3345
        (disposeNative): Likewise.
3346
        (drawPixels): Likewise.
3347
        (init): Likewise.
3348
        (setGradient): Likewise.
3349
        (setPaintPixels): Likewise.
3350
        (draw): Do not lock, as locking is now done in the wrapped native methods.
3351
        (drawComposite): Likewise.
3352
        (drawGlyphVector): Likewise.
3353
        (drawImage): Likewise.
3354
        (drawRenderedImage): Likewise.
3355
        (fill): Likewise.
3356
        (setClip): Removed.
3357
        (lock): Added documentation.
3358
        (unlock): Added documentation.
3359
        * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
3360
        * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
3361
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3362
        (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
3363
        (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
3364
        (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
3365
        (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
3366
        (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
3367
        (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
3368
        (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
3369
 
3370
2007-03-11  Andrew John Hughes  
3371
 
3372
        * javax/management/openmbean/ArrayType.java:
3373
        (getArrayClassName(String, int)): Replaced by...
3374
        (getArrayClassName(OpenType, int, boolean)):
3375
        Returns appropriate class name for the array.
3376
        (getDimensions(OpenType, int)): New method.
3377
        (getPrimitiveType(Class)): Likewise.
3378
        (getPrimitiveTypeClass(OpenType)): Likewise.
3379
        (getElementType(OpenType)): Likewise.
3380
        (getElementTypeName(OpenType)): Likewise.
3381
        (ArrayType(int, OpenType)): Rewritten
3382
        to handle ArrayTypes as input.
3383
        (ArrayType(SimpleType, boolean)): New constructor.
3384
        (equals(Object)): Handle primitiveArray flag.
3385
        (hashCode()): Likewise.
3386
        (getArrayType(OpenType)): New method.
3387
        (getPrimitiveArrayType(Class)): Likewise.
3388
        (isPrimitiveArray()): Likewise.
3389
        (toString()): Updated to list primitiveArray
3390
        flag.
3391
        * javax/management/openmbean/OpenType.java:
3392
        (OpenType(String,String,String)): Use Class.forName()
3393
        and methods of Class to validate arrays.
3394
        * javax/management/openmbean/SimpleType.java:
3395
        Include causal exception when creating pre-defined types
3396
        throws an exception.
3397
 
3398
2007-03-09  Andreas Tobler  
3399
 
3400
        Port change from gcc:
3401
 
3402
        2007-03-06  Matthias Klose  
3403
 
3404
        * doc/Makefile.am(gkeytool.pod): Don't use sed -i.
3405
 
3406
2007-03-09  Kyle Galloway  
3407
 
3408
        * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
3409
        * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
3410
        (executeGetValues): Use Value type.
3411
        (exectureSetValues): Ditto.
3412
        * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
3413
        (executeGetValues): Use Value type.
3414
        (executeSetValues): Ditto.
3415
        (invokeMethod): Record method return type.
3416
        * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
3417
        (executeGetValues): Use Value type.
3418
        (executeSetValues): Ditto.
3419
        * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
3420
        (executeGetValues): Use Value type.
3421
        * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
3422
        (executeGetValues): Use Value type.
3423
        (executeSetValues): Ditto.
3424
        * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store return
3425
        type.
3426
        (getResultType): New Method.
3427
        (setResultType): Ditto.
3428
        * gnu/classpath/jdwp/util/Value.java: Remove.
3429
        * gnu/classpath/jdwp/value: New Package.
3430
        * gnu/classpath/jdwp/value/Value.java: New file.
3431
        * gnu/classpath/jdwp/value/BooleanValue.java: New file.
3432
        * gnu/classpath/jdwp/value/ByteValue.java: New file.
3433
        * gnu/classpath/jdwp/value/CharValue.java: New file.
3434
        * gnu/classpath/jdwp/value/DoubleValue.java: New file.
3435
        * gnu/classpath/jdwp/value/FloatValue.java: New file.
3436
        * gnu/classpath/jdwp/value/IntValue.java: New file.
3437
        * gnu/classpath/jdwp/value/LongValue.java: New file.
3438
        * gnu/classpath/jdwp/value/ObjectValue.java: New file.
3439
        * gnu/classpath/jdwp/value/ShortValue.java: New file.
3440
        * gnu/classpath/jdwp/value/StringValue.java: New file.
3441
        * gnu/classpath/jdwp/value/ValueFactory.java: New file.
3442
        * gnu/classpath/jdwp/value/VoidValue.java: New file.
3443
 
3444
2007-03-09  Roman Kennke  
3445
 
3446
        * java/awt/image/SinglePixelPackageSampleModel.java
3447
        (createDataBuffer): Avoid use of Buffers class and create
3448
        DataBuffer directly in place.
3449
 
3450
2007-03-09  Roman Kennke  
3451
 
3452
        * java/awt/image/ComponentSampleModel.java
3453
        (tightPixelPacking): Removed.
3454
        (ComponentSampleModel): Removed unnecessary 'optimization' code.
3455
        (createDataBuffer): Avoid use of Buffers helper class.
3456
        (getDataElements(int,int,int,int,Object,DataBuffer): Removed.
3457
        (getDataElements(int,int,Object,DataBuffer): Do not use Buffers
3458
        helper class and instead fetch the values directly. Don't expect
3459
        any specific DataBuffer subclass.
3460
        (setDataElements(int,int,int,int,Object,DataBuffer): Removed.
3461
        (setDataElements(int,int,Object,DataBuffer): Do not use Buffers
3462
        helper class and instead set the values directly. Don't expect
3463
        any specific DataBuffer subclass.
3464
 
3465
2007-03-08  Tom Tromey  
3466
 
3467
        PR libgcj/31093:
3468
        * java/net/MulticastSocket.java (setTimeToLive): Allow ttl==0.
3469
 
3470
2007-03-08  Gary Benson  
3471
 
3472
        PR classpath/30983:
3473
        * gnu/xml/dom/ls/DomLSParser.java (getInputSource):
3474
        Do not use the entity resolver to resolve the top-level document.
3475
 
3476
2007-03-07  Tom Tromey  
3477
 
3478
        PR classpath/31057:
3479
        * java/util/regex/Pattern.java (toString): New method.
3480
 
3481
2007-03-07  Gary Benson  
3482
 
3483
        PR classpath/30906:
3484
        * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList:
3485
        New file.
3486
 
3487
2007-03-06  Andrew John Hughes  
3488
 
3489
        * gnu/java/lang/management/BeanImpl.java:
3490
        (translate(String)): Add horrible generics hacks
3491
        to make things work with the new type signatures.
3492
        * javax/management/loading/ClassLoaderRepository.java:
3493
        Added generic types.
3494
        * javax/management/openmbean/CompositeDataSupport.java:
3495
        Likewise.
3496
        * javax/management/openmbean/OpenMBeanOperationInfo.java:
3497
        Likewise.
3498
        * javax/management/openmbean/OpenMBeanParameterInfo.java:
3499
        Likewise.
3500
 
3501
2007-03-06  Francis Kung  
3502
 
3503
        * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3504
        (getGlyphOutline): Apply glyph position translation.
3505
        (getOutline): Do not apply glyph position translation.
3506
 
3507
2007-03-06  Tom Tromey  
3508
 
3509
        * tools/gnu/classpath/tools/javah/Main.java (getName): New
3510
        method.
3511
        (getParser): Now protected.  Use getName.  Add '-v' alias for
3512
        --verbose.
3513
        (postParse): New method.
3514
        (run): Now protected.  Use postParse.
3515
        * tools/gnu/classpath/tools/javah/GcjhMain.java: New file.
3516
 
3517
2007-03-05  Andrew John Hughes  
3518
 
3519
        * gnu/javax/management/Translator.java:
3520
        (translate(String)): Use a Boolean array to
3521
        comply with the new typing.
3522
        * javax/management/openmbean/ArrayType.java:
3523
        Added generic types and updated copyright headers.
3524
        * javax/management/openmbean/CompositeData.java:
3525
        Likewise.
3526
        * javax/management/openmbean/CompositeDataSupport.java:
3527
        Likewise.
3528
        * javax/management/openmbean/CompositeType.java:
3529
        Likewise.
3530
        * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java:
3531
        Likewise.
3532
        * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
3533
        Likewise.
3534
        * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
3535
        Likewise.
3536
        * javax/management/openmbean/OpenType.java:
3537
        Updated copyright header.
3538
        * javax/management/openmbean/SimpleType.java:
3539
        Added generic types and updated copyright headers.
3540
        * javax/management/openmbean/TabularData.java:
3541
        Likewise.
3542
        * javax/management/openmbean/TabularDataSupport.java:
3543
        Likewise.
3544
        * javax/management/openmbean/TabularType.java:
3545
        Likewise.
3546
 
3547
2007-03-05  Andrew John Hughes  
3548
 
3549
        * gnu/java/lang/management/BeanImpl.java:
3550
        Reference the new Translator class.
3551
        (translate(String)): Moved to Translator.
3552
        * gnu/javax/management/Translator.java:
3553
        New file.
3554
        * javax/management/JMX.java:
3555
        Likewise.
3556
        * javax/management/MBeanServerInvocationHandler.java:
3557
        Likewise.
3558
        * javax/management/MXBean.java:
3559
        Likewise.
3560
        * javax/management/ObjectName.java:
3561
        (ObjectName(String)): Catch a key without a value.
3562
        * javax/management/StandardMBean.java:
3563
        (StandardMBean(Class)): Handle MXBeans.
3564
        (StandardMBean(Object, Class)): Likewise.
3565
        (invoke(String,Object[],String[])): Disallow
3566
        calling attribute methods and handle null signatures.
3567
        (setAttribute(Attribute)): Search for mutators
3568
        with the appropriate signature.
3569
        * javax/management/openmbean/OpenType.java:
3570
        Add generic typing.
3571
        (ALLOWED_CLASSNAMES_LIST): New field.
3572
 
3573
2007-03-02  Mario Torre  
3574
 
3575
        PR classpath/31017:
3576
        committed for Petteri Räty 
3577
        * configure.ac: fix broken build for gcj browser plugin
3578
 
3579
2007-03-02  Mario Torre  
3580
 
3581
        * java/awt/Desktop.java: new java 1.6 class.
3582
        * java/awt/peer/DesktopPeer.java: new inteface.
3583
        * gnu/java/awt/peer/GnomeDesktopPeer.java: new class.
3584
        * gnu/java/awt/peer/ClasspathDesktopPeer.java: new class.
3585
        * gnu/java/awt/peer/KDEDesktopPeer.java: new class.
3586
        * java/awt/Toolkit.java (createDesktopPeer): new method to support the
3587
        creation of DesktopPeer instances.
3588
        * gnu/java/awt/peer/qt/QtToolkit.java: update copyright notice and
3589
        organize import.
3590
        * gnu/java/awt/ClasspathToolkit.java (createDesktopPeer): new method.
3591
 
3592
2007-02-28  Keith Seitz  
3593
 
3594
        * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
3595
        (executeSet): Check if VM has capability for field access
3596
        or modification events.
3597
        * gnu/classpath/jdwp/processor/MethodCommandSet.java
3598
        (executeByteCodes): Check if VM has capability and
3599
        implement.
3600
        * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
3601
        (executeMonitorInfo): Likewise.
3602
        * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
3603
        (executeSourceDebugExtension): Likewise.
3604
        * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
3605
        (executePopFrames): Likewise.
3606
        * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
3607
        (executeOwnedMonitors): Likewise.
3608
        (executeCurrentContendedMonitor): Likewise.
3609
        * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
3610
        (executeCapabilities): Rewrite using new VMVirtualMachine
3611
        capabilities.
3612
        (executeRedefineClasses): Check if VM has capability and
3613
        implement.
3614
        (executeSetDefaultStratum): Likewise.
3615
        * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
3616
        * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
3617
        (canWatchFieldModification): New class constant.
3618
        (canWatchFieldAccess): Likewise.
3619
        (canGetBytecodes): Likewise.
3620
        (canGetSyntheticAttribute): Likewise.
3621
        (canGetOwnedMonitorInfo): Likewise.
3622
        (canGetCurrentContendedMonitor): Likewise.
3623
        (canGetMonitorInfo): Likewise.
3624
        (canRedefineClasses): Likewise.
3625
        (canAddMethod): Likewise.
3626
        (canUnrestrictedlyRedefineClasses): Likewise.
3627
        (canPopFrames): Likewise.
3628
        (canUseInstanceFilters): Likewise.
3629
        (canGetSourceDebugExtension): Likewise.
3630
        (canRequestVMDeathEvent): Likewise.
3631
        (canSetDefaultStratum): Likewise.
3632
        (redefineClasses): New method.
3633
        (setDefaultStratum): Likewise.
3634
        (getSourceDebugExtension): Likewise.
3635
        (getBytecodes): Likewise.
3636
        (getMonitorInfo): Likewise.
3637
        (getOwnedMonitors): Likewise.
3638
        (getCurrentContendedMonitor): Likewise.
3639
        (popFrames): Likewise.
3640
 
3641
2007-03-01  Roman Kennke  
3642
 
3643
        * java/awt/Canvas.java
3644
        (graphicsConfiguration): Removed duplicate (from Component) field.
3645
        (Canvas(GraphicsConfiguration)): Set the Component's graphicsConfig
3646
        field.
3647
        (getGraphicsConfigurationImpl): Removed.
3648
        * java/awt/Component.java
3649
        (getGraphicsConfiguration): Moved implementation here. Synchronize
3650
        on tree lock to prevent threading nastiness. Don't query peer
3651
        and instead return the setting of the graphicsConfig field.
3652
        (getGraphicsConfigurationImpl): Removed.
3653
        * java/awt/Window.java
3654
        (graphicsConfiguration): Removed duplicate (from Component) field.
3655
        (Window): Set the Component's graphicsConfig field.
3656
        (Window(GraphicsConfiguration)): Set the Component's graphicsConfig
3657
        field.
3658
        (Window(Window,GraphicsConfiguration)): Set the Component's
3659
        graphicsConfig field.
3660
        (getGraphicsConfigurationImpl): Removed.
3661
        (getGraphicsConfiguration): Fetch the local graphics env here
3662
        if not already done and return that.
3663
 
3664
2007-02-28  Thomas Fitzsimmons  
3665
 
3666
        * INSTALL: Document --with-ecj-jar configure option and ecj jar
3667
        requirement for com.sun.tools.javac support.
3668
        * configure.ac: Add --with-ecj-jar configure option.
3669
        * gnu/classpath/Configuration.java.in (ECJ_JAR): New field.
3670
        * tools/Makefile.am: Build decendents of com and sun directories.
3671
        * resource/com/sun/tools/javac/messages.properties,
3672
        resource/sun/rmi/rmic/messages.properties,
3673
        tools/com/sun/javadoc/ClassDoc.java,
3674
        tools/com/sun/javadoc/ConstructorDoc.java,
3675
        tools/com/sun/javadoc/Doc.java,
3676
        tools/com/sun/javadoc/DocErrorReporter.java,
3677
        tools/com/sun/javadoc/Doclet.java,
3678
        tools/com/sun/javadoc/ExecutableMemberDoc.java,
3679
        tools/com/sun/javadoc/FieldDoc.java,
3680
        tools/com/sun/javadoc/MemberDoc.java,
3681
        tools/com/sun/javadoc/MethodDoc.java,
3682
        tools/com/sun/javadoc/PackageDoc.java,
3683
        tools/com/sun/javadoc/ParamTag.java,
3684
        tools/com/sun/javadoc/Parameter.java,
3685
        tools/com/sun/javadoc/ProgramElementDoc.java,
3686
        tools/com/sun/javadoc/RootDoc.java,
3687
        tools/com/sun/javadoc/SeeTag.java,
3688
        tools/com/sun/javadoc/SerialFieldTag.java,
3689
        tools/com/sun/javadoc/SourcePosition.java,
3690
        tools/com/sun/javadoc/Tag.java,
3691
        tools/com/sun/javadoc/ThrowsTag.java,
3692
        tools/com/sun/javadoc/Type.java,
3693
        tools/com/sun/javadoc/TypeVariable.java,
3694
        tools/com/sun/tools/doclets/Taglet.java,
3695
        tools/com/sun/tools/javac/Main.java,
3696
        tools/com/sun/tools/javac/Messages.java,
3697
        tools/sun/rmi/rmic/Main.java, tools/sun/rmi/rmic/Messages.java:
3698
        New files.
3699
 
3700
2007-02-28  Keith Seitz  
3701
 
3702
        * gnu/classpath/jdwp/processor/MethodCommandSet.java
3703
        (executeLineTable): Use ReferenceTypeId instead of
3704
        ClassReferenceTypeId.
3705
        (executeVariableTable): Likewise.
3706
        (executeVariableTableWithGeneric): Fix error message.
3707
        * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
3708
        (executeSignatureWithGeneric): Fix error message.
3709
        (executeFieldWithGeneric): Likewise.
3710
        (executeMethodsWithGeneric): Likewise.
3711
        * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
3712
        (executeGetValues): Use ThreadId instead of ObjectId.
3713
        (executeSetValues): Likewise.
3714
        (executeThisObject): Likewise.
3715
 
3716
2007-02-28  Kyle Galloway  
3717
 
3718
        * gnu/classpath/jdwp/id/NullObjectId.java: New class.
3719
        * gnu/classpath/jdwp/util/NullObject.java: New class.
3720
        * vm/reference/gnu/classpath/jdwp/VMIdManager.java
3721
        (getObjectId): Handle null object.
3722
        (get): Handle objectId of 0.
3723
 
3724
2007-02-26  Francis Kung  
3725
 
3726
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
3727
        (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Stop using deprecated
3728
        function for creating new font map.
3729
 
3730
2007-02-26  Francis Kung  
3731
 
3732
        * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3733
        (drawCairoSurface): Do not reset clip.
3734
        (drawImage(Image,AffineTransform,Color,ImageObserver)): Likewise.
3735
 
3736
2007-02-23  Francis Kung  
3737
 
3738
        * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3739
        (drawCairoSurface): New method.
3740
        (drawImage(Image,AffineTransform,Color,ImageObserver)): Use new
3741
        drawCairoSurface() method.
3742
        * gnu/java/awt/peer/gtk/CairoSurface.java
3743
        (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Copy correct
3744
        width/height values, and copy sharedBuffer value.
3745
        (createWritableChild): Remove debug line.
3746
        (drawSurface): Removed method.
3747
        * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3748
        (drawComposite): Translate image when drawing.
3749
 
3750
2007-02-23  Gary Benson  
3751
            Jakub Jelinek  
3752
 
3753
        PR libgcj/17002
3754
        PR classpath/28550
3755
        * java/util/Date.java (parse): Properly parse 09:01:02 as
3756
        hours/minutes/seconds, not as hours/minutes/year.
3757
        * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
3758
        {start,end}TimeMode constructor by calling shorter constructor,
3759
        set {start,end}TimeMode fields after it returns.
3760
        (setStartRule): Don't adjust startTime into WALL_TIME.  Set
3761
        startTimeMode to WALL_TIME.
3762
        (endStartRule): Similarly.
3763
        (getOffset): Handle properly millis + dstOffset overflowing into the
3764
        next day.  Adjust startTime resp. endTime based on startTimeMode
3765
        resp. endTimeMode.
3766
        * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
3767
        static fields.
3768
        (timezones): Remove synchronized keyword.  Set zoneinfo_dir.
3769
        If non-null, set up aliases0 and don't put anything into
3770
        timezones0.
3771
        (defaultZone): Call getTimeZone instead of timezones().get.
3772
        (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
3773
        getTimeZoneInternal instead of timezones().get.
3774
        (parseTime): Parse correctly hour:minute.
3775
        (getTimeZoneInternal): New private method.
3776
        (getTimeZone): Do the custom ID checking first, canonicalize
3777
        ID for custom IDs as required by documentation.  Call
3778
        getTimeZoneInternal to handle the rest.
3779
        (getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
3780
        (getAvailableIDs(File,String,ArrayList)): New private method.
3781
        (getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
3782
        * vm/reference/java/util/VMTimeZone.java (getDefaultTimeZoneId):
3783
        To read /etc/localtime, use ZoneInfo.readTZFile instead of
3784
        VMTimeZone.readtzFile.  Get better timezone name for
3785
        /etc/localtime, either if it is a symlink or through
3786
        /etc/sysconfig/clock.
3787
        (readSysconfigClockFile): New static method.
3788
        (readtzFile): Removed.
3789
        * gnu/java/util/ZoneInfo.java: New file.
3790
        * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
3791
        * NEWS: Documented TimeZone interface changes.
3792
 
3793
2007-02-23  Francis Kung  
3794
 
3795
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
3796
        (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Remove debug line.
3797
 
3798
2007-02-22  Keith Seitz  
3799
 
3800
        * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
3801
        (getAllLoadedClassesCount): Remove.
3802
        (getAllLoadedClasses): Return a Collection.
3803
        * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
3804
        (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
3805
        now returns Collection.
3806
        (executeAllClasses): Likewise.
3807
        Get size of return from Colleciton instead of calling
3808
        getAllLoadedClassesCount.
3809
 
3810
2007-02-22  Kyle Galloway  
3811
 
3812
        * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
3813
        (executeGetValues): Pass a signature byte to VMFrame.getValue.
3814
        * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
3815
        signature parameter.
3816
 
3817
2007-02-22  Francis Kung  
3818
 
3819
        * gnu/java/awt/peer/gtk/CairoSurface.java
3820
        (copyAreaNative): Pass surface pointer into copyAreaNative2().
3821
        (copyAreaNative2): Add parameter for surface pointer.
3822
        (getFlippedBuffer): Add parameter for surface pointer.
3823
        (getGtkImage): Pass surface pointer into getFlippedBuffer().
3824
 
3825
2007-02-21  Francis Kung  
3826
 
3827
        * gnu/java/awt/peer/gtk/BufferedImageGraphcs.java
3828
        (constructor): Add pre-multiplied colour model to types available for
3829
        optimization.
3830
        (updateBufferedImage): Change surface.getPixels() call to surface.getData().
3831
        * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3832
        (drawImage): Add checks before using CairoSurface optimization.
3833
        * gnu/java/awt/peer/gtk/CairoSurface.java
3834
        (bufferPointer): Removed field.
3835
        (sharedBuffer): New field.
3836
        (CairoSurface(GtkImage)): Copy array rather than using setPixels() call.
3837
        (CairoSurface(int,int,int)): Use getData() convenience method.
3838
        (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Remove reference
3839
        to deleted bufferPointer field.
3840
        (copyAreaNative): Update documentation, remove reference to bufferPointer.
3841
        (copyAreaNative2): Remove reference to deleted bufferPointer field.
3842
        (destroy): Remove reference to deleted bufferPointer field.
3843
        (dispose): Updated to reflect new method signature for destroy().
3844
        (drawSurface): Added documentation.
3845
        (getData): New convience method.
3846
        (getFlippedBuffer): Removed method parameters.
3847
        (getGtkImage): Updated to reflect new method signature.
3848
        (getPixels): Removed method.
3849
        (nativeGetElem): Removed method.
3850
        (netiveGetPixels): Removed method.
3851
        (nativeSetElem): Removed method.
3852
        (nativeSetPixels): Removed method.
3853
        (setPixels): Removed method.
3854
        (syncJavaToNative): New method.
3855
        (syncNativeToJava): New method.
3856
        * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3857
        (draw): Sync buffers if necessary.
3858
        (drawGlyphVector): Likewise.
3859
        (drawImage): Likewise.
3860
        (drawRenderedImage): Likewise,
3861
        (fill): Likewise.
3862
        * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
3863
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
3864
        (Java_gnu_java_awt_peer_gtk_CairoSurface_copyAreaNative2): Use pointer to
3865
        surface rather than pointer to buffer.
3866
        (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Provide fall-back for
3867
        copied arrays.
3868
        (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Handle copied arrays.
3869
        (Java_gnu_java_awt_peer_gtk_CairoSurface_getFlippedBuffer): Retrieve
3870
        information on size using JNI calls.
3871
        (Java_gnu_java_awt_peer_gtk_CairoSurface_getElem): Removed.
3872
        (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Removed.
3873
        (Java_gnu_java_awt_peer_gtk_CairoSurface_setElem): Removed.
3874
        (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Removed.
3875
        (Java_gnu_java_awt_peer_gtk_CairoSurface_syncJavaToNative): New function.
3876
        (Java_gnu_java_awt_peer_gtk_CairoSurface_syncNativeToJava): New function.
3877
        (BUFFER): Removed constant.
3878
        (SHARED): New constant.
3879
 
3880
2007-02-20  Gary Benson  
3881
 
3882
        * javax/management/ObjectName.java
3883
        (domainMatches): New method.
3884
        (apply): Rearranged to use the above.
3885
 
3886
2007-02-19  Mark Wielaard  
3887
 
3888
        * doc/.cvsignore: Add *.1.
3889
        * doc/Makefile.am (CLEANFILES): Add Tools_MANFILES.
3890
 
3891
2007-02-19  Dalibor Topic  
3892
 
3893
        * cp-hacking.texinfo, cp-tools.texinfo,
3894
        cp-vmintegration.texinfo: Prefix output file name
3895
        with cp.
3896
 
3897
2007-02-19  Gary Benson  
3898
 
3899
        * javax/management/ObjectName.java
3900
        (properties): Initialize when declared.
3901
        (ObjectName(String)): Don't initialize properties here.
3902
        (ObjectName(String, String, String): Likewise.
3903
 
3904
2007-02-19  Chris Burdess  
3905
 
3906
        Fixes #30831
3907
        * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document
3908
          properties when reader is available.
3909
 
3910
2007-02-19  Andrew John Hughes  
3911
 
3912
        * javax/management/MBeanServer.java:
3913
        (queryMBeans(ObjectName,QueryExp)): Returned
3914
        generically-typed Set.
3915
        (queryNames(ObjectName,QueryExp)): Likewise.
3916
        * javax/management/MBeanServerConnection.java:
3917
        (queryMBeans(ObjectName,QueryExp)): Returned
3918
        generically-typed Set.
3919
        (queryNames(ObjectName,QueryExp)): Likewise.
3920
        * javax/management/ObjectName.java:
3921
        Use a generically-typed TreeMap.
3922
        (ObjectName(String,Hashtable):
3923
        Genericized.
3924
        (getKeyPropertyList()): Likewise.
3925
        * javax/management/StandardMBean.java:
3926
        Use a generically-typed interface class.
3927
        (StandardMBean(Class)): Genericized.
3928
        (StandardMBean(T, Class)): Likewise.
3929
        (getImplementationClass()): Likewise.
3930
        (getMBeanInterface()): Likewise.
3931
 
3932
2007-02-19  Andrew John Hughes  
3933
 
3934
        * javax/management/Descriptor.java:
3935
        New file.
3936
        * javax/management/DescriptorRead.java:
3937
        Likewise.
3938
        * javax/management/DescriptorAccess.java:
3939
        Likewise.
3940
 
3941
2007-02-16  Matthias Klose  
3942
 
3943
        * doc/Makefile.am: Add rules to build and install man pages
3944
        from texinfo docs.
3945
        * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
3946
        Rename, prefix files with "cp-".
3947
        * doc/cp-tools.texinfo: Add markup for man page generation,
3948
        add documentation for command line options for gjar, gjavah,
3949
        gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
3950
        doc/texi2pod.pl: New, taken from the GCC sources.
3951
 
3952
2007-02-16  Francis Kung  
3953
 
3954
        * gnu/java/awt/ClasspathGraphicsEnvironment.java: New file.
3955
        * gnu/java/awt/peer/gtk/CairoSurface.java
3956
        (CairoDataBuffer): Removed inner class.
3957
        (CairoSurface(int,int,int,int)): New constructor.
3958
        (CairoSurface(int,int)): Delegate to new constructor.
3959
        (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): New constructor
3960
        for creating child rasters.
3961
        (create): Added int[] parameter.
3962
        (createChild): New method.
3963
        (createCompatibleWritableRaster): New methods.
3964
        (createTranslatedChild): New method.
3965
        (createWritableChild): New method.
3966
        (createWritableTranslatedChild): New method.
3967
        (destroy): Added int[] parameter.
3968
        (dispose): Only free native resources if this Surface has no parents.
3969
        (isCompatibleColorModel): New method.
3970
        (isCompatibleSampleModel): New method.
3971
        * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3972
        (draw): Set transform, smarter bounds generation.
3973
        (drawComposite): Improved clipping.
3974
        (drawImage): Fixed bounds translation.
3975
        (drawRenderedImage): Set transform in buffer.
3976
        (fill): Set transform in buffer.
3977
        * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
3978
        (createRaster): New method.
3979
        * java/awt/image/BufferedImage.java
3980
        (BufferedImage(int,int,int)): Use optimized raster if possible.
3981
        * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
3982
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
3983
        (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Share data buffer between
3984
        Cairo and Java.
3985
        (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Free data array.
3986
 
3987
2007-02-16  Francis Kung  
3988
 
3989
        * javax/management/NotificationBroadcasterSupport.java: Update imports.
3990
 
3991
2007-02-16  Andrew Haley  
3992
 
3993
        * gnu/java/lang/management/MemoryMXBeanImpl.java,
3994
        javax/management/MBeanServerDelegate.java: Use
3995
        gnu.javax.management.ListenerData rather than
3996
        gnu.classpath.ListenerData.
3997
        * gnu/javax/management/ListenerData.java: Move here from
3998
        gnu/classpath/ListenerData.java.
3999
 
4000
2006-10-14  Edwin Steiner  
4001
 
4002
        PR classpath/28652:
4003
        * javax/management/MBeanInfo.java (MBeanInfo):
4004
        Use clone to duplicate the arrays in order to
4005
        preserve the array type.
4006
 
4007
2007-02-15  Gary Benson  
4008
 
4009
        * gnu/javax/management/Server.java
4010
        (registerMBean): Always register objects that implement the
4011
        MBeanRegistration interface, and check the name returned by
4012
        preRegister before using it.
4013
 
4014
2007-02-15  Roman Kennke  
4015
 
4016
        * java/nio/ByteOrder.java
4017
        (nativeOrder): Avoid NPE when comparing a system property.
4018
 
4019
2007-02-13  Gary Benson  
4020
 
4021
        * javax/management/ObjectName.java
4022
        (toString): Return this item's canonical name.
4023
 
4024
2007-02-12  Francis Kung  
4025
 
4026
        * gnu/java/awt/ClasspathToolkit.java:
4027
        * gnu/java/awt/peer/gtk/AsyncImage.java,
4028
        * gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
4029
        * gnu/java/awt/peer/gtk/CairoGraphics2D.java,
4030
        * gnu/java/awt/peer/gtk/CairoSurface.java,
4031
        * gnu/java/awt/peer/gtk/ComponentGraphics.java,
4032
        * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
4033
        * gnu/java/awt/peer/gtk/GdkFontPeer.java,
4034
        * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4035
        * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4036
        * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4037
        * gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4038
        * gnu/java/awt/peer/gtk/GtkClipboard.java,
4039
        * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java,
4040
        * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4041
        * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4042
        * gnu/java/awt/peer/gtk/GtkFramePeer.java,
4043
        * gnu/java/awt/peer/gtk/GtkImage.java,
4044
        * gnu/java/awt/peer/gtk/GtkImageConsumer.java,
4045
        * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4046
        * gnu/java/awt/peer/gtk/GtkListPeer.java,
4047
        * gnu/java/awt/peer/gtk/GtkMainThread.java,
4048
        * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4049
        * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4050
        * gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4051
        * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
4052
        * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4053
        * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4054
        * gnu/java/awt/peer/gtk/GtkSelection.java,
4055
        * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4056
        * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4057
        * gnu/java/awt/peer/gtk/GtkToolkit.java,
4058
        * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4059
        * gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
4060
        * java/awt/RenderingHints.java,
4061
        * java/awt/image/BufferedImage.java: Reformatted and added generics.
4062
 
4063
2007-02-12  Tom Tromey  
4064
 
4065
        * java/net/Socket.java (bind): Typo fix.
4066
 
4067
2007-02-12  Tom Tromey  
4068
 
4069
        * vm/reference/java/lang/reflect/Method.java (getDefaultValue):
4070
        New method.
4071
        * sun/reflect/annotation/AnnotationInvocationHandler.java (create):
4072
        New method.
4073
        (arrayClone): New method.
4074
        (invoke): Clone array return results.
4075
 
4076
2007-02-12  Jakub Jelinek  
4077
 
4078
        PR 23566
4079
        * scripts/timezones.pl: Parse each file in 2 passes, in one parse
4080
        just Rule lines, in the other everything else.  Pass 0 instead of
4081
        $savings as second argument to parseRule when parsing the start
4082
        rule.
4083
        * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
4084
 
4085
2007-02-12  Jakub Jelinek  
4086
 
4087
        * vm/reference/java/util/VMTimeZone.java: Rewrite to handle both
4088
        the old 'TZif\0' format and the new one.
4089
        * java/util/TimeZone.java: Handle default (one hour) daylight
4090
        savings.
4091
 
4092
2007-02-12  Andrew John Hughes  
4093
 
4094
        * javax/management/Query.java:
4095
        New file.
4096
        * javax/management/StandardMBean.java:
4097
        Use the implementation's class loader.
4098
 
4099
2007-02-10  Mark Wielaard  
4100
 
4101
        * javax/swing/plaf/metal/MetalFileChooserUI.java: Import Date from
4102
        java.util, not from java.sql.
4103
 
4104
2007-02-10  Roman Kennke  
4105
 
4106
        * javax/imageio/stream/ImageOutputStreamImpl.java
4107
        (flushBits): Implemented.
4108
        (writeBit): Implemented.
4109
        (writeBits): Implemented.
4110
 
4111
2007-02-10  Roman Kennke  
4112
 
4113
        * javax/swing/TransferHandler.java
4114
        (SwingDragGestureRecognizer): New inner class.
4115
        (SwingDragHandler): New inner class.
4116
        (recognizer): New field.
4117
        (exportAsDrag): Implemented missing method.
4118
 
4119
2007-02-10  Roman Kennke  
4120
 
4121
        * java/awt/GraphicsConfiguration.java
4122
        (createCompatibleVolatileImage(int,int,ImageCapabilities): Provide
4123
        default implementation that delegates to
4124
        createCompatibleVolatileImage(int,int).
4125
        (createCompatibleVolatileImage(int,int,ImageCapabilities,int):
4126
        New method from JDK5 spec. Default implementation by delegating to
4127
        (createCompatibleVolatileImage(int,int,int).
4128
 
4129
2007-02-09  Tom Tromey  
4130
 
4131
        PR libgcj/30647:
4132
        * configure.ac: Also check for jack/jack.h.
4133
 
4134
2007-02-09  Mario Torre  
4135
 
4136
        * java/io/File.java: remove import for
4137
        gnu.classpath.NotImplementedException.
4138
        (getUsableSpace): removed stub.
4139
        (getFreeSpace): likewise.
4140
        (getTotalSpace): likewise.
4141
 
4142
2007-02-09  Mario Torre  
4143
 
4144
        * vm/reference/java/io/VMFile.java:
4145
        (canExecute): new 1.6 native method.
4146
        (setReadable): likewise.
4147
        (setWritable): likewise.
4148
        (setExecutable): likewise.
4149
        * java/io/File.java: added import for gnu.classpath.NotImplementedException.
4150
        (setReadOnly): new 1.6 method.
4151
        (canExecute): likewise.
4152
        (setReadable): likewise.
4153
        (setWritable): likewise.
4154
        (setExecutable): likewise.
4155
        (getUsableSpace): added stub for new 1.6 method.
4156
        (getFreeSpace): likewise.
4157
        (getTotalSpace): likewise.
4158
        (checkExec): new private method to support new 1.6 additions.
4159
        * native/jni/java-io/java_io_VMFile.c:
4160
        set_file_permissions: new helper function.
4161
        Java_java_io_VMFile_setReadable: new native method to bakcup 1.6 methods
4162
        in VMFile.java.
4163
        Java_java_io_VMFile_setWritable: likewise.
4164
        Java_java_io_VMFile_setExecutable: likewise.
4165
        Java_java_io_VMFile_canExecute: likewise.
4166
        * native/jni/native-lib/cpio.h: added new flags: CPFILE_FLAG_EXEC,
4167
        CPFILE_FLAG_USR and CPFILE_FLAG_OFF.
4168
        cpio_chmod: new function declaration.
4169
        cpio_checkAccess: likewise.
4170
        * native/jni/native-lib/cpio.c:
4171
        cpio_chmod: new function definition.
4172
        cpio_checkAccess: likewise.
4173
 
4174
2007-02-09  Gary Benson  
4175
 
4176
        * javax/management/ObjectName.java
4177
        (quote): Initialize StringBuilder correctly.
4178
 
4179
2007-02-09  Francis Kung  
4180
 
4181
        * java/awt/image/BufferedImage: Reformatted.
4182
 
4183
2007-02-09  Ito Kazumitsu  
4184
 
4185
        Fixes bug #30732
4186
        * gnu/java/util/regex/RETokenChar.java(chain): Check whether the next
4187
        token has a next token.
4188
 
4189
2007-02-08  Roman Kennke  
4190
 
4191
        PR 30347
4192
        * javax/swing/JViewport.java
4193
        (scrollRectToVisible): Use correct X/Y offset for calculations.
4194
        (paintBackingStore): Update backbuffer when we are not the paint
4195
        root.
4196
 
4197
2007-02-08  Roman Kennke  
4198
 
4199
        * java/awt/image/SinglePixelPackedSampleModel.java
4200
        (getDataElements(int,int,Object,DataBuffer)):
4201
        Replace DataBuffer using method with simple
4202
        switch. This does not check for the exact type (class) of the
4203
        DataBuffer but instead checks the transfer type.
4204
        (getDataElements(int,int,int,intObject,DataBuffer)): Removed.
4205
        (setDataElements): Fixed indentation.
4206
        (setPixels): Removed unused statement.
4207
 
4208
2007-02-07  Tom Tromey  
4209
 
4210
        * tools/gnu/classpath/tools/javah/PathOptionGroup.java
4211
        (PathOptionGroup): Allow '-cp' as well.
4212
 
4213
2007-02-07  Chris Burdess  
4214
 
4215
        Fixes PR 30718.
4216
        * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
4217
        * gnu/xml/transform/XSLURIResolver.java: Add support for custom
4218
          SAXSources without a backing URL or stream.
4219
 
4220
2007-02-06  Tom Tromey  
4221
 
4222
        PR libgcj/30707:
4223
        * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
4224
        (printClass): Always print a header.
4225
 
4226
2007-02-06  Chris Burdess  
4227
 
4228
        Fixes PR 27710.
4229
        * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
4230
          LSParser if implementation does not support asynchronous.
4231
        * gnu/xml/stream/XMLParser.java,
4232
          gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
4233
          java.net.URL to resolve to an an absolute URI, to avoid nonexistent
4234
          protocol handler problems.
4235
 
4236
2007-02-05  Andrew Haley  
4237
 
4238
        PR cp-tools/30706
4239
        * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
4240
        (printClass): Replace '/' in filenames with '_'.
4241
        * tools/gnu/classpath/tools/javah/JniStubPrinter.java
4242
        (printClass): Likewise.
4243
 
4244
2007-02-05  Tom Tromey  
4245
 
4246
        * java/net/Proxy.java (equals): Handle case where address==null.
4247
        (hashCode): Likewise.
4248
        (toString): Likewise.
4249
 
4250
2007-02-04  Jeroen Frijters  
4251
 
4252
        * java/lang/Class.java
4253
        (newInstance): Moved setAccessible call to helper method.
4254
        (getEnumConstants): Call new helper method to allow values method to be
4255
        called on non-public enum classes.
4256
        (setAccessible): New helper method.
4257
        * java/lang/Enum.java
4258
        (valueOf): Call new helper method in class to allow field value to
4259
        be read on non-public enum classes.
4260
 
4261
2007-02-04  Jeroen Frijters  
4262
 
4263
        Fix for #30693
4264
        * gnu/java/nio/charset/ByteCharset.java
4265
        (ByteCharset.Decoder.decodeLoop): Reset input buffer position if
4266
        the byte read was unmappable.
4267
 
4268
2007-02-02  Kyle Galloway  
4269
 
4270
        * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
4271
        (executeGetValues): Changed getFrame to use a jlong to pass frameID.
4272
        (executeSetValues): Ditto.
4273
        (executeThisObject): Ditto.
4274
        * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field and a
4275
        constructor used to create VMFrames.
4276
        (getThread): New method.
4277
        * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame): Changed
4278
        to take a long instead of a ByteBuffer to pass the frameID.
4279
 
4280
2007-02-01  Tom Tromey  
4281
 
4282
        * java/util/logging/LogManager.java (reset): Remove bogus
4283
        'while'.
4284
 
4285
2007-01-31  Casey Marshall  
4286
 
4287
        * gnu/javax/net/ssl/Base64.java: move to `gnu/java/util/Base64.java.'
4288
        * gnu/javax/net/ssl/PrivateCredentials.java: clean up unused imports.
4289
        (add): use `gnu.java.util.Base64.'
4290
        * gnu/java/net/protocol/http/Request.java (authenticate): use
4291
        `gnu.java.util.Base64.'
4292
        * tools/gnu/classpath/tools/jarsigner/HashUtils.java (hashStream):
4293
        likewise.
4294
        * tools/gnu/classpath/tools/keytool/CertReqCmd.java (start): likewise.
4295
        * tools/gnu/classpath/tools/keytool/ExportCmd.java (start): likewise.
4296
        * tools/gnu/classpath/tools/keytool/ListCmd.java (printRFC1421):
4297
        likewise.
4298
        * gnu/java/net/Base64.java: removed.
4299
        * gnu/java/security/util/Base64.java: removed.
4300
 
4301
2007-01-31  Casey Marshall  
4302
 
4303
        Fixes PR classpath/24191.
4304
        Fix suggested by Rafael Teixeira .
4305
        * javax/crypto/CipherOutputStream.java (write): check return value
4306
        of `update' for null.
4307
 
4308
2007-01-31  Tom Tromey  
4309
 
4310
        * resource/gnu/classpath/tools/jar/messages.properties
4311
        (Main.Stdin): New message.
4312
        * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
4313
        '-@' option.
4314
        (readNames): New method.
4315
        (run): Use it.
4316
 
4317
2007-01-30  Roman Kennke  
4318
 
4319
        PR 20577
4320
        * javax/swing/DefaultDesktopManager.java
4321
        (activateFrame): Added a bunch of null checks. Don't call
4322
        JInternalFrame.setSelected() to avoid recursion.
4323
 
4324
2007-01-29  Andrew Haley  
4325
 
4326
        * java/lang/SecurityManager.java (SecurityManager): Load and
4327
        initialize java.security.Security.
4328
 
4329
2007-01-28  Ito Kazumitsu  
4330
 
4331
        * native/jni/java-nio/gnu_java_nio_VMChannel.c
4332
        (Java_gnu_java_nio_VMChannel_accept): Throw SocketTimeoutException
4333
        in case of timeout.
4334
        * native/jni/java-nio/javanio.c(cpnio_accept): Call select() if
4335
        SO_RCVTIMEO is set.
4336
 
4337
2007-01-26  Tom Tromey  
4338
 
4339
        * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
4340
        'volatile' after field type.
4341
 
4342
2007-01-26  Chris Burdess  
4343
 
4344
        Fixes #30597
4345
        * gnu/xml/dom/DomDocumentBuilder.java: Throw IOException where cause
4346
          of LSException is an IOException.
4347
        * gnu/xml/dom/ls/DomLSParser.java,
4348
          gnu/xml/stream/SAXParser.java: Ensure coalescing feature is set
4349
          correctly during LS parsing.
4350
 
4351
2007-01-21  Andrew John Hughes  
4352
 
4353
        * javax/management/PersistentMBean.java:
4354
        New file.
4355
 
4356
2007-01-21  Andrew John Hughes  
4357
 
4358
        * javax/management/AttributeChangeNotificationFilter.java:
4359
        Correct typo.
4360
        * javax/management/NotificationFilterSupport.java:
4361
        New file.
4362
 
4363
2007-01-21  Mark Wielaard  
4364
 
4365
        * java/security/SecureClassLoader.java (defineClass): Method returns
4366
        Class.
4367
        * java/security/SignatureSpi.java (engineUpdate(ByteBuffer):
4368
        Does not throw SignatureException. Chain SignatureException inside
4369
        IllegalStateException.
4370
 
4371
2007-01-21  Andrew John Hughes  
4372
 
4373
        * javax/management/NotificationBroadcasterSupport.java:
4374
        New file.
4375
 
4376
2007-01-20  Ito Kazumitsu  
4377
 
4378
        * java/text/DecimalFormat.java(parse): Corrected the ParsePosition
4379
        settings.
4380
 
4381
2007-01-20  Ito Kazumitsu  
4382
 
4383
        * java/text/SimpleDateFormat(parse): Corrected the usage of
4384
                NumberFormat.
4385
 
4386
2007-01-20  Ito Kazumitsu  
4387
 
4388
        Fixes bug #30488
4389
        * native/jni/native-lib/cpnet.c(SOCKET_NOSIGNAL): Deleted,
4390
        (setsockopt_NOSIGPIPE): New function,
4391
        (cpnet_send): Corrected the option setting to send(),
4392
        (cpnet_sendTo): Corrected the option setting to sendto().
4393
 
4394
2007-01-19  Marco Trudel  
4395
 
4396
        * java/util/Arrays.java (binarySearch): Change comparison order.
4397
 
4398
2007-01-17  Keith Seitz  
4399
 
4400
        * gnu/classpath/jdwp/events/filters/StepFilter.java:
4401
        Update javadoc.
4402
        (matches): Implement.
4403
 
4404
        * gnu/classpath/jdwp/event/EventManager.java (EventManager): Honor
4405
        agent startup suspension for VM_INIT.
4406
 
4407
2007-01-17  Tom Tromey  
4408
 
4409
        * tools/gnu/classpath/tools/javah/PathOptionGroup.java
4410
        (PathOptionGroup): Set default boot class path.
4411
 
4412
2007-01-17  Mark Wielaard  
4413
 
4414
        * javax/activity/ActivityCompletedException.java: Make constructors
4415
        public.
4416
        * javax/activity/ActivityRequiredException.java: Likewise.
4417
        * javax/activity/InvalidActivityException.java: Likewise.
4418
 
4419
2007-01-17  Roman Kennke  
4420
 
4421
        * javax/swing/plaf/basic/BasicRadioButtonUI.java
4422
        (paint): Use helper method to figure out icon. Don't override
4423
        the icon field in that class. Check for null icons.
4424
        (getCurrentIcon): New helper function to determine icon to be
4425
        painted.
4426
 
4427
2007-01-17  Mark Wielaard  
4428
 
4429
        * javax/activity/ActivityCompletedException.java: New file.
4430
        * javax/activity/ActivityRequiredException.java: Likewise.
4431
        * javax/activity/InvalidActivityException.java: Likewise.
4432
        * javax/activity/package.html: Likewise.
4433
 
4434
2007-01-15  Andrew John Hughes  
4435
 
4436
        * javax/management/DefaultLoaderRepository.java:
4437
        (loadClass(String)): Made static.
4438
        (loadClassWithout(String,ClassLoader)): Likewise.
4439
 
4440
2007-01-15  Kyle Galloway  
4441
 
4442
        * gnu/classpath/jdwp/exception/TypeMismatchException.java: New file.
4443
        * gnu/classpath/jdwp/exception/InvalidFrameException.java: Fix indentation.
4444
        * gnu/classpath/jdwp/exception/InvalidSlotException.java: Fix indentation.
4445
 
4446
2007-01-15  Andrew John Hughes  
4447
 
4448
        * javax/management/AttributeValueExp.java:
4449
        Corrected serialVersionUID typo.
4450
        * javax/management/DefaultLoaderRepository.java:
4451
        New file.
4452
        * javax/management/MBeanServerFactory.java:
4453
        Add generic typing.
4454
 
4455
2007-01-15  Kyle Galloway  
4456
 
4457
        * gnu/classpath/jdwp/exception/InvalidFrameException.java: New file.
4458
 
4459
2007-01-15  Kyle Galloway  
4460
 
4461
        * gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
4462
 
4463
2007-01-15  Kyle Galloway  
4464
 
4465
        * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
4466
 
4467
2007-01-14  Andrew John Hughes  
4468
 
4469
        * javax/management/AttributeValueExp.java: New file.
4470
        * javax/management/QueryEval.java: Likewise.
4471
        * javax/management/StringValueExp.java: Likewise.
4472
 
4473
2007-01-14  Andrew John Hughes  
4474
 
4475
        * javax/management/AttributeChangeNotificationFilter.java:
4476
        New file.
4477
 
4478
2007-01-11  Andreas Tobler  
4479
 
4480
        * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java
4481
        (AicasGraphicsBenchmark): Load images from ../icons.
4482
        * examples/gnu/classpath/examples/java2d/J2dBenchmark.java (init):
4483
        Likewise.
4484
        * examples/Makefile.am (EXAMPLE_ICONS): Add rule to copy *.gif files
4485
        to icons.
4486
        * examples/gnu/classpath/examples/awt/aicas.png: Move to ../icons.
4487
        Delete here.
4488
        * examples/gnu/classpath/examples/awt/palme.gif: Likewise.
4489
        * examples/gnu/classpath/examples/java2d/aicas.png: Likewise.
4490
        * examples/gnu/classpath/examples/java2d/palme.gif: Likewise.
4491
        * examples/gnu/classpath/examples/icons/aicas.png: Moved.
4492
        * examples/gnu/classpath/examples/icons/palme.gif: Likewise.
4493
 
4494
2007-01-09  Tania Bento  
4495
 
4496
        * java/security/Permission.java:
4497
        (toString): If there are no actions, then there should not
4498
        be a space between its name and ')'.
4499
 
4500
2007-01-08  Andrew John Hughes  
4501
 
4502
        * javax/management/AttributeChangeNotification.java:
4503
        New file.
4504
 
4505
2007-01-08  Cameron McCormack  
4506
 
4507
        PR 30355
4508
        * java/util/Arrays.java:
4509
        (binarySearch(byte[],byte)): Added check for zero-length array.
4510
        (binarySearch(short[],short)): Likewise.
4511
        (binarySearch(int[],int)): Likewise.
4512
        (binarySearch(long[],long)): Likewise.
4513
        (binarySearch(char[],char)): Likewise.
4514
        (binarySearch(float[],float)): Likewise.
4515
        (binarySearch(double[],double)): Likewise.
4516
        (binarySearch(Object[],Object)): Likewise.
4517
        (binarySearch(T[],T,Comparator)): Likewise.
4518
 
4519
2007-01-08  Tom Tromey  
4520
 
4521
        * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (run):
4522
        Fix length check.  PR classpath/30346.
4523
 
4524
2007-01-09  Raif S. Naffah  
4525
 
4526
        * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Updated copyright year.
4527
        (sfEntries): Use generics.
4528
        (writeDSA()): Likewise.
4529
        (startSigning()): Likewise.
4530
        (updateEntry()): Likewise.
4531
        * tools/gnu/classpath/tools/jarsigner/Messages.java: Updated copyright year.
4532
        (CACHED_FORMATS): Use generics.
4533
        (getFormattedString()): Likewise.
4534
        * tools/gnu/classpath/tools/jarsigner/Main.java: Updated copyright year.
4535
        (fileAndAlias): Use generics.
4536
        (ToolParser.validate()): Likewise.
4537
        * tools/gnu/classpath/tools/jarsigner/JarVerifier.java:
4538
        Updated copyright year.
4539
        Re-ordered imports and removed unused entries.
4540
        (entryHashes): Use generics.
4541
        (start()): Likewise.
4542
        (verifySFEntries()): Likewise.
4543
        Use map's entrySet() instead of its keySet().
4544
 
4545
2007-01-08  Andrew John Hughes  
4546
 
4547
        * java/text/DateFormat.java:
4548
        (computeInstance(int,int,Locale,boolean,boolean)):
4549
        Throw an exception when locale info. is unavailable.
4550
        (computeDefault(int,int,boolean,boolean)): New method.
4551
        (getDateInstance(int,Locale)): Check providers.
4552
        (getDateTimeInstance(int,int,Locale)): Likewise.
4553
        (getTimeInstance(int,Locale)): Likewise.
4554
        * java/text/DateFormatSymbols.java:
4555
        Update documentation to match DecimalFormatSymbols.
4556
        * java/text/DecimalFormatSymbols.java:
4557
        (DecimalFormatSymbols(Locale)): Reordered.
4558
        (getInstance()): Implemented.
4559
        (getInstance(Locale)): Implemented.
4560
        * java/text/NumberFormat.java:
4561
        (computeInstance(Locale,String,String)):
4562
        Throw an exception when locale info is unavailable.
4563
        (getCurrencyInstance(Locale)): Check providers.
4564
        (getIntegerInstance(Locale)): Likewise.
4565
        (getNumberInstance(Locale)): Likewise.
4566
        (getPercentInstance(Locale)): Likewise.
4567
        * java/text/spi/DateFormatProvider.java: New file.
4568
        * java/text/spi/DecimalFormatSymbolsProvider.java: Likewise.
4569
        * java/text/spi/NumberFormatProvider.java: Likewise.
4570
 
4571
2007-01-07  Ito Kazumitsu  
4572
 
4573
        Fixes bug #30377
4574
        * native/jni/native-lib/cpnet.h: Add some include files.
4575
 
4576
2007-01-07  Roman Kennke  
4577
 
4578
        PR 30337
4579
        * java/awt/Component.java
4580
        (getFontImpl): Return null when the component has no font set
4581
        and also has no parent yet.
4582
        * javax/swing/plaf/basic/BasicComboBoxUI.java
4583
        (PropertyChangeHandler.propertyChange): Only add editor when combo
4584
        box is editable. Avoid fetching the property name repeatedly.
4585
        Invalidate when renderer or prototypeDisplayValue change.
4586
        (uninstallComponents): Unconfigure everything and then remove all
4587
        components.
4588
        * javax/swing/plaf/basic/BasicComboPopup.java
4589
        (uninstallingUI): Don't nullify list model.
4590
        * javax/swing/plaf/metal/MetalComboBoxUI.java
4591
        (createArrowButton): Pass currentValuePane to the MetalComboBoxButton
4592
        constructor rather than a new (unconnected) CellRendererPane.
4593
 
4594
2007-01-06  Roman Kennke  
4595
 
4596
        PR 30337
4597
        * javax/swing/plaf/basic/BasicComboBoxUI.java
4598
        (installUI): Install popup and list here.
4599
        Don't configure the arrow button and editor here.
4600
        (installComponents): Don't install popup and list here. (Moved
4601
        to installUI). Configure arrow button here and check for null.
4602
        (addEditor): Configure editor here.
4603
        (configureArrowButton): Directly fetch listeners from popup.
4604
        (paintCurrentValue): Removed unused local variables.
4605
        (layoutContainer): Removed unused local variables.
4606
        (PropertyChangeHandler.propertyChange): Don't invalidate minimumSize
4607
        on each property change. Avoid calling getPropertyName() repeatedly.
4608
        Clean up. Call addEditor() when editor changes. Configure and
4609
        unconfigure editor when editable changes. Use 'model' instead
4610
        of non-existing 'dataModel' property.
4611
        * javax/swing/plaf/basic/BasicComboPopup.java
4612
        (uninstallingUI): Remove property change listener and item listener
4613
        here. Uninstall list listeners. Set model to null to prevent leakage.
4614
        (configureList): Don't sync list selection there.
4615
        (uninstallComboBoxListeners): Moved to uninstallingUI.
4616
        (uninstallListeners): Moved to uninstallingUI.
4617
        * javax/swing/plaf/metal/MetalComboBoxUI.java
4618
        (createPopup): Call super.
4619
        (getMinimumSize): Removed unused statement.
4620
 
4621
2007-01-06  Andrew John Hughes  
4622
 
4623
        * java/text/Collator.java:
4624
        (getInstance(Locale)): Check providers.
4625
        * java/text/spi/CollatorProvider.java:
4626
        New file.
4627
 
4628
2007-01-04  Roman Kennke  
4629
 
4630
        PR 30122
4631
        * java/awt/Component.java
4632
        (getFont): Don't synchronize on tree lock here. The method is
4633
        thread-safe 'enough' by fetching local variables in getFontImpl().
4634
 
4635
2007-01-04  Roman Kennke  
4636
 
4637
        * java/awt/AWTEvent.java
4638
        (toString): Don't include the whole component in the output,
4639
        only its name.
4640
        * java/awt/Component.java
4641
        (isShowing): Create local copy of parent field for better
4642
        thread safety and efficiency.
4643
        * java/awt/EventDispatchThread.java
4644
        (EventDispatchThread): Make sure the event thread is not a daemon
4645
        thread in case it gets started by a daemon thread.
4646
        * java/awt/image/IndexColorModel.java
4647
        (createColorMap): New helper method for creating the color map.
4648
        (IndexColorModel): (all constructors) use createColorMap() helper
4649
        method.
4650
 
4651
2007-01-04  Roman Kennke  
4652
 
4653
        * gnu/java/awt/font/autofit/GlyphHints.java
4654
        (alignStrongPoints): Don't special case the vertical dimension.
4655
        (computeInflectionPoints): Corrected computation of inflection
4656
        points.
4657
        * gnu/java/awt/font/autofit/Utils.java
4658
        (ANGLE_4PI): Removed.
4659
        (ANGLE_PI2): New constant for PI/2.
4660
        (ANGLE_PI4): New constant for PI/4.
4661
        (angleDiff): Fixed.
4662
        (atan): Fixed.
4663
 
4664
2007-01-03  Cameron McCormack  
4665
 
4666
        Fixes bug #29246
4667
        * java/awt/Toolkit.java (getLockingKeyState): Use AWTUtilities
4668
        isValidKey method. Throw UnsupportedOperationException on a valid
4669
        key (for which no locking state can be given).
4670
        * gnu/java/awt/AWTUtilities.java (isValidKey): New method.
4671
        * gnu/java/awt/peer/gtk/GtkToolkit.java (getLockingKeyState): New
4672
        method.
4673
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
4674
        (Java_gnu_java_awt_peer_gtk_GtkToolkit_getLockState): New method.
4675
        * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerated.
4676
 
4677
2007-01-03  Andrew John Hughes  
4678
 
4679
        * java/text/BreakIterator.java:
4680
        (getCharacterInstance(Locale)): Check providers.
4681
        (getLineInstance(Locale)): Likewise.
4682
        (getSentenceInstance(Locale)): Likewise.
4683
        (getWordInstance(Locale)): Likewise.
4684
        * java/text/spi/BreakIteratorProvider.java:
4685
        New file.
4686
        * java/text/spi/DateFormatSymbolsProvider.java:
4687
        Update header text.
4688
        * java/util/ServiceConfigurationError.java:
4689
        Add serialVersionUID.
4690
 
4691
2007-01-03  Francis Kung  
4692
 
4693
        * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
4694
        (copy): Copy and set antialias value.
4695
 
4696
2007-01-03  Tania Bento  
4697
 
4698
        * java/awt/CardLayout.java:
4699
        (maximumLayoutSize): Return a new Dimension with a width of value
4700
        Integer.MAX_VALUE and a height of value Integer.MAX_VALUE if Component
4701
        has no components.
4702
 
4703
2007-01-03  Andrew John Hughes  
4704
 
4705
        * java/text/DateFormatSymbols.java:
4706
        (getZoneStrings(ResourceBundle)): Changed to...
4707
        (getZoneStrings(ResourceBundle,Locale)): Added
4708
        use of TimeZoneNamesProvider.
4709
        (getZoneStrings()): Return either mutated zone
4710
        strings or initial ones.
4711
        (getInstance(Locale)): Check DateFormatSymbolsProvider
4712
        instances.
4713
        * java/text/spi/DateFormatSymbolsProvider.java:
4714
        New file.
4715
        * java/text/spi/package.html: New file.
4716
 
4717
2007-01-02  Andrew John Hughes  
4718
 
4719
        * java/util/Currency.java:
4720
        (getSymbol(Locale)): Removed unneeded variable
4721
        and terminate loop early.
4722
        * java/util/Locale.java:
4723
        (getDisplayLanguage(Locale)): Fixed to use
4724
        LocaleNameProvider.
4725
        (getDisplayCountry(Locale)): Likewise.
4726
        (getDisplayVariant(Locale)): Likewise.
4727
        * java/util/spi/LocaleNameProvider.java:
4728
        New file.
4729
        * java/util/spi/TimeZoneNameProvider.java:
4730
        Likewise.
4731
 
4732
2007-01-02  Andrew John Hughes  
4733
 
4734
        * gnu/java/locale/LocaleHelper.java:
4735
        (getLocalizedString(Locale,String,String,boolean,
4736
        boolean)): Removed, no longer needed.
4737
        (getFallbackLocale(Locale)): Implemented.
4738
        * java/lang/String.java:
4739
        (isEmpty()): Implemented.
4740
        * java/util/Currency.java:
4741
        (getSymbol(Locale)): Reimplemented to use SPI.
4742
        * java/util/Locale.java:
4743
        (ROOT): Added.
4744
        * java/util/spi/CurrencyNameProvider.java:
4745
        New file.
4746
        * java/util/spi/LocaleServiceProvider.java:
4747
        Likewise.
4748
        * java/util/spi/package.html: Likewise.
4749
 
4750
2007-01-02  Roman Kennke  
4751
 
4752
        * gnu/java/awt/java2d/AbstractGraphics2D.java
4753
        (FONT): New constant field. This is the default font to use as long
4754
        as nothing else is set.
4755
        (paintContext): New field. Temporarily stores the paint context.
4756
        (scanlineConverters): New field. Stores the scanline converters
4757
        for each thread.
4758
        (shapeCache): Genericified.
4759
        (STANDARD_HINTS): New constant field. The standard rendering hints
4760
        as long as nothing else is set.
4761
        (STANDARD_STROKE): New constant field. The standard stroke as long
4762
        as nothing else is set.
4763
        (static_initializer): Initialize standard hints.
4764
        (AbstractGraphics2D): Use constant fields for hints and stroke.
4765
        (drawGlyphVector): Use simpler method to draw the outline.
4766
        (fillScanline): Use paintContext field.
4767
        (fillShape): Use new ScanlineConverter to fill shapes.
4768
        (fillShapeAntialias): Removed. This will be done in fillShape.
4769
        (fillShapeImpl): Removed. This is done now in the ScanlineConverter
4770
        class.
4771
        (getScanlineConverter): New method. Returns the scanline converter
4772
        for each thread.
4773
        (getSegments): Removed. This is now implemented in ScanlineConverter.
4774
        (getShapeCache): Use genericified shapeCache field.
4775
        (init): Use fixed default font. Don't fetch destination raster here.
4776
        * gnu/java/awt/java2d/ActiveEdges.java: New class. Stores a set
4777
        of active edges for scanline conversion.
4778
        * gnu/java/awt/java2d/PolyEdge.java
4779
        (poolNext): Implements linked list for edge pool.
4780
        (scanlineNext): Implements linked list for scanline edge lists.
4781
        (slope): Use fixed point decimal.
4782
        (slope,x0,y0,x1,y1,xIntersection): Use fixed point decimal.
4783
        (PolyEdge()): New constructor.
4784
        (PolyEdge): Use fixed point decimals.
4785
        (init): Use fixed point decimals.
4786
        (intersect): New method. Intersects this edge with a scanline.
4787
        * gnu/java/awt/java2d/Scanline.java: New class. A list of edges
4788
        for a scanline plus utilities.
4789
        * gnu/java/awt/java2d/ScanlineConverter.java: New class. Implements
4790
        an efficient scanline converter for rendering Shape objects.
4791
 
4792
2007-01-02  Roman Kennke  
4793
 
4794
        * gnu/java/math/Fixed.java: New class. Fixed point arithmetics
4795
        utilities.
4796
 
4797
2007-01-01  Andrew John Hughes  
4798
 
4799
        * ChangeLog-2006: New file.
4800
        * gnu/classpath/ServiceFactory.java:
4801
        Add option of throwing a ServiceConfigurationError.
4802
        (lookupProviders(Class,ClassLoader,boolean)): Implemented.
4803
        * java/util/ServiceConfigurationError.java: New file.
4804
        * java/util/ServiceLoader.java: Likewise.
4805
 
4806
 
4807
 
4808
Local Variables:
4809
coding: iso-latin-1-unix
4810
End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.