-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathChangeLog-2007
4810 lines (3921 loc) · 173 KB
/
ChangeLog-2007
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2007-12-31 Andrew John Hughes <[email protected]>
* javax/management/remote/rmi/RMIConnection.java:
Partial implementation.
* javax/management/remote/rmi/RMIServer.java:
Implemented.
2007-12-31 Andrew John Hughes <[email protected]>
PR classpath/34582:
* javax/rmi/ssl/SslRMIClientSocketFactory.java:
(getProp(String)): Check for the property being null.
2007-12-28 Dalibor Topic <[email protected]>
* configure.ac (AC_CHECK_HEADERS): Check for
netinet/in_systm.h, netinet/ip.h and net/if.h
for Windows CE.
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
Guard net/if.h include statement. Use unsigned int
instead of u_int.
* native/jni/java-nio/gnu_java_nio_VMChannel.c:
Guard sys/mman.h include statement.
* native/jni/java-nio/gnu_java_nio_VMSelector.c:
Guard sys/select.h include statement.
* native/jni/java-nio/javanio.c:
Guard sys/select.h include statement.
* native/jni/java-nio/javanio.h:
Include sys/time.h.
* native/jni/native-lib/cpio.c:
Guard chmod call by S_IWRITE, since it's not
defined in the arm-wince toolchain.
* native/jni/native-lib/cpnet.h:
Guard netinet/in_systm.h and netinet/ip.h
include statements.
2007-12-28 Dalibor Topic <[email protected]>
* m4/acinclude.m4 (CLASSPATH_WITH_GLIBJ): Use
AC_PATH_PROGS instead of AC_PATH_PROG to check
for FASTJAR as fastjar, gjar or jar. Add braces
to AC_PATH_PROGS arguments.
* tools/Makefile.am (TOOLS_ZIP),
lib/Makefile.am (collections.jar, glibj.zip):
Quote FASTJAR in case it's in a path with
whitespace.
2007-12-25 Andrew John Hughes <[email protected]>
PR classpath/34580:
* java/awt/Desktop.java:
(isDesktopSupported()): Made public.
2007-12-25 Andrew John Hughes <[email protected]>
PR classpath/34577:
* javax/swing/JFrame.java:
(addImpl(Component,Object,int)): Add a similar
check for the root pane as in remove, adding using
the superclass when this occurs rather than the
content pane.
2007-12-25 Andrew John Hughes <[email protected]>
PR classpath/34576:
* java/awt/Container.java:
(isAncestorOf(Component)): Swap ordering so that
the parent is retrieved prior to checking against
this, thus preventing a component being an ancestor of
itself.
2007-12-11 Robert Schuster <[email protected]>
* AUTHORS: Added my name to the list.
2007-12-10 Robert Schuster <[email protected]>
* THANKYOU: Added my name to the list.
2007-12-10 Robert Schuster <[email protected]>
PR classpath/32516:
* tools/gnu/classpath/tools/jar/Entry.java:
(Entry(File, String)): Added loop to remove all dot-file separator
prefixes.
(Entry(File)): Call Entry(File, String) constructor variant.
2007-12-10 Robert Schuster <[email protected]>
* native/jni/native-lib/cpio.c:
(cpio_df): Mark arguments as possibly unused.
2007-12-10 Robert Schuster <[email protected]>
* javax/swing/text/GlyphView.java:
(paint): Removed debug output.
2007-12-02 Andrew John Hughes <[email protected]>
PR classpath/34276:
* gnu/javax/management/Translator.java:
(translate(String)): Select only public methods
from a composite type, try this translation in all
cases and exit only when no fields are translated.
2007-11-30 Andrew John Hughes <[email protected]>
PR classpath/34276:
* gnu/java/lang/management/BeanImpl.java:
(getDescription(MBeanConstructorInfo,MBeanParameterInfo,int)):
Added to provide a default description if the current one is null.
(getDescription(MBeanOperationInfo,MBeanParameterInfo,int)):
Likewise.
(getParameterName(MBeanConstructorInfo,MBeanParameterInfo,int)):
Likewise for the name.
(getParameterName(MBeanOperationInfo,MBeanParameterInfo,int)):
Likewise.
* gnu/javax/management/Server.java:
(getMBeanInfo()): Try using a StandardMBean wrapper if reflection
fails to find getMBeanInfo().
2007-11-28 Andrew John Hughes <[email protected]>
* examples/gnu/classpath/examples/management/TestBeans.java:
Simplify so that it uses the management server.
* examples/gnu/classpath/examples/management/TestClassLoading.java:
Test via the server and the proxy as well.
2007-11-27 Thomas Fitzsimmons <[email protected]>
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c
(isWindowUnderMouse): New method.
* include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h:
Regenerate.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(getLocationOnScreen): Move WindowPeer section to...
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (getLocationOnScreen):
New method.
* gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java
(isWindowUnderMouse): Implement.
* java/awt/Component.java (getMousePosition): New method.
(getMousePositionHelper): Likewise.
(mouseOverComponent): Likewise.
* java/awt/Container.java (getMousePosition): New method.
(mouseOverComponent): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
Revert 2007-09-11 changes.
2007-11-27 Andrew John Hughes <[email protected]>
* javax/management/package.html: Added.
* javax/management/remote/package.html: Likewise.
2007-11-24 Mario Torre <[email protected]>
* java/util/concurrent/CopyOnWriteArrayList.java:
(addAll): fix implementation, now add elements in the correct position.
(addAllAbsent): fixed typos (whoops!).
(remove(int)): fixed range in arraycopy that was causing for incorrect
values to be inserted in the list. Refactored to give variables better
names.
(remove(Object)): refactored to give better names to variable.
(listIterator): fix to set the starting index.
(listIterator.previous): fix to decrement element position before
returning the previous element in the iterator.
2007-11-23 Mario Torre <[email protected]>
* gnu/java/util/prefs/EventDispatcher.java: class removed.
* gnu/classpath/toolkit/DefaultDaemonThreadFactory.java: new file.
* java/util/prefs/AbstractPreferences.java: (fire(PreferenceChangeEvent)):
Use DefaultDaemonThreadFactory and Executors.newSingleThreadExecutor
instead of EventDispatcher. Import statement refactored accordingly.
Also refactored to use 1.5 enhanced for loop and generics.
(fire(NodeChangeEvent, boolean)): likewise.
* gnu/java/util/prefs/GConfBasedPreferences.java (childSpi):
removed startWatchingNode call.
* gnu/java/util/prefs/gconf/GConfNativePeer.java:
(GConfNativePeer): removed use of semaphore.
(gconf_all_nodes): method name shortened, renamed from
gconf_client_all_nodes (removed client_ from method signature) and
declared synchronized.
(gconf_suggest_sync): likewise.
(gconf_get_string): likewise.
(gconf_unescape_key): likewise.
(gconf_set_string): likewise.
(gconf_escape_key): likewise.
(gconf_all_keys): likewise.
(gconf_dir_exists): likewise.
(getKeys): refactored to use new native method name.
(getKey): likewise.
(setString): likewise.
(getChildrenNodes): likewise.
(unset): likewise.
(suggestSync): likewise.
(finalize): likewise.
(nodeExist): likewise.
(gconf_client_add_dir): removed, not needed anymore.
(gconf_client_remove_dir): likewise.
(startWatchingNode): likewise.
(stopWatchingNode): likewise.
* native/jni/conf-peer/GConfNativePeer.c:
All native methods renamed to match changes in GConfNativePeer.java
Now use GConfEngine instead of GConfClient.
Removed gdk_thread_enter/leave locking from all methods.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
removed.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
likewise.
* include/gnu_java_util_prefs_gconf_GConfNativePeer.h: regenerated.
2007-11-23 Mario Torre <[email protected]>
* java/util/concurrent/CopyOnWriteArrayList.java:
Added javadoc.
(serialVersionUID): new field.
(iterator): new method, override from base class.
(remove): likewise.
(listIterator): likewise.
(removeAll): likewise.
(retainAll): likewise.
(contains): fixed typo in javadoc.
(addIfAbsent): added javadoc.
(addAllAbsent): Rewrite to improve performance. Also add javadoc.
2007-11-23 Ian Rogers <[email protected]>
* java/io/FileOutputStream.java,
* java/io/PrintStream.java,
* java/util/Locale.java:
Make fields that can be final, final.
* gnu/java/nio/charset/ByteCharset.java,
* gnu/java/nio/charset/Cp424.java,
* gnu/java/nio/charset/Cp437.java,
* gnu/java/nio/charset/Cp737.java,
* gnu/java/nio/charset/Cp775.java,
* gnu/java/nio/charset/Cp850.java,
* gnu/java/nio/charset/Cp852.java,
* gnu/java/nio/charset/Cp855.java,
* gnu/java/nio/charset/Cp857.java,
* gnu/java/nio/charset/Cp860.java,
* gnu/java/nio/charset/Cp861.java,
* gnu/java/nio/charset/Cp862.java,
* gnu/java/nio/charset/Cp863.java,
* gnu/java/nio/charset/Cp864.java,
* gnu/java/nio/charset/Cp865.java,
* gnu/java/nio/charset/Cp866.java,
* gnu/java/nio/charset/Cp869.java,
* gnu/java/nio/charset/Cp874.java,
* gnu/java/nio/charset/EncodingHelper.java,
* gnu/java/nio/charset/ISO_8859_13.java,
* gnu/java/nio/charset/ISO_8859_15.java,
* gnu/java/nio/charset/ISO_8859_1.java,
* gnu/java/nio/charset/ISO_8859_2.java,
* gnu/java/nio/charset/ISO_8859_3.java,
* gnu/java/nio/charset/ISO_8859_4.java,
* gnu/java/nio/charset/ISO_8859_5.java,
* gnu/java/nio/charset/ISO_8859_6.java,
* gnu/java/nio/charset/ISO_8859_7.java,
* gnu/java/nio/charset/ISO_8859_8.java,
* gnu/java/nio/charset/ISO_8859_9.java,
* gnu/java/nio/charset/KOI_8.java,
* gnu/java/nio/charset/MacCentralEurope.java,
* gnu/java/nio/charset/MacCroatian.java,
* gnu/java/nio/charset/MacCyrillic.java,
* gnu/java/nio/charset/MacDingbat.java,
* gnu/java/nio/charset/MacGreek.java,
* gnu/java/nio/charset/MacIceland.java,
* gnu/java/nio/charset/MacRomania.java,
* gnu/java/nio/charset/MacRoman.java,
* gnu/java/nio/charset/MacSymbol.java,
* gnu/java/nio/charset/MacThai.java,
* gnu/java/nio/charset/MacTurkish.java,
* gnu/java/nio/charset/MS874.java,
* gnu/java/nio/charset/Provider.java,
* gnu/java/nio/charset/US_ASCII.java,
* gnu/java/nio/charset/Windows1250.java,
* gnu/java/nio/charset/Windows1251.java,
* gnu/java/nio/charset/Windows1252.java,
* gnu/java/nio/charset/Windows1253.java,
* gnu/java/nio/charset/Windows1254.java,
* gnu/java/nio/charset/Windows1255.java,
* gnu/java/nio/charset/Windows1256.java,
* gnu/java/nio/charset/Windows1257.java,
* gnu/java/nio/charset/Windows1258.java,
* gnu/java/nio/charset/ByteDecodeLoopHelper.java,
* gnu/java/nio/charset/ByteEncodeLoopHelper.java:
Optimize for array based buffers.
* native/jni/gtk-peer/gtkpeer.c:
Make 32bit pointer a global JNI reference.
* java/lang/String:
(toLowerCaseTurkish): new method.
(toUpperCaseTurkish): new method.
(toLowerCase): special case Turkish
(toUpperCase): likewise.
* java/lang/Long:
(valueOf): remove unnecessary synchronized.
2007-11-08 Jeroen Frijters <[email protected]>
* java/util/Locale.java
(Locale): Always intern strings.
2007-11-06 Mario Torre <[email protected]>
* vm/reference/java/io/VMFile.java:
(getTotalSpace): new method.
(getUsableSpace): likewise.
(getFreeSpace): likewise.
* java/io/File.java: (getTotalSpace): new method.
(getUsableSpace): likewise.
(getFreeSpace): likewise.
* native/jni/java-io/java_io_VMFile.c:
(Java_java_io_VMFile_getTotalSpace): new function.
(Java_java_io_VMFile_getFreeSpace): likewise.
(Java_java_io_VMFile_getUsableSpace): likewise.
* native/jni/native-lib/cpio.h: (cpio_df): new function.
(CPFILE_DF_TYPE): enum type for cpio_df.
* native/jni/native-lib/cpio.c: (cpio_df): new function.
* include/java_io_VMFile.h: regenerated.
* configure.ac: added check for statvfs.
2007-11-04 Andrew John Hughes <[email protected]>
PR classpath/33385:
* tools/com/sun/tools/javac/Main.java:
Make our wrapper 1.5 capable.
2007-11-04 Andrew John Hughes <[email protected]>
* gnu/java/lang/MainThread.java:
Fix varargs warning.
* lib/Makefile.am:
Remove restriction on ecj printing varargs warnings.
2007-11-01 Mario Torre <[email protected]>
PR classpath/33982:
* configure.ac: add GDK_CFLAGS for the GStreamer peer.
2007-11-01 Andrew John Hughes <[email protected]>
* gnu/java/awt/java2d/ScanlineCoverage.java,
* gnu/javax/net/ssl/provider/ServerHandshake.java:
Fix non-ASCII characters in the Javadoc comments.
* gnu/java/lang/management/BeanImpl.java,
* gnu/javax/management/Server.java,
* gnu/xml/pipeline/EventFilter.java,
* java/awt/AWTKeyStroke.java,
* java/beans/DefaultPersistenceDelegate.java,
* java/beans/EventHandler.java,
* java/io/ObjectStreamClass.java,
* java/lang/Class.java,
* java/lang/reflect/Proxy.java,
* javax/management/NotificationBroadcasterSupport.java,
* javax/management/StandardMBean.java,
* javax/swing/TransferHandler.java:
Fix warnings from use of varargs methods.
2007-10-27 Ian Rogers <[email protected]>
* java/beans/PropertyChangeSupport.java,
* java/beans/VetoableChangeSupport.java,
* java/io/ObjectStreamClass.java,
* java/lang/reflect/Array.java,
* java/net/DatagramSocket.java,
* java/net/ServerSocket.java,
* java/net/Socket.java,
* java/nio/charset/CoderResult.java,
* java/security/Security.java,
* java/security/spec/RSAKeyGenParameterSpec.java,
* java/text/ChoiceFormat.java,
* java/text/DecimalFormat.java,
* java/text/MessageFormat.java:
Make use of new valueOf methods.
2007-10-27 Ian Rogers <[email protected]>
* java/io/OutputStreamWriter.java:
Make fields of this class that can be final, final.
2007-10-27 Andrew John Hughes <[email protected]>
PR classpath/33385:
* tools/com/sun/tools/javac/Main.java:
Revert patch that adds bootclasspath.
2007-10-22 Dalibor Topic <[email protected]>
* native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c:
Include config-int.h for uint32_t.
2007-10-16 Andrew John Hughes <[email protected]>
* NEWS: Kickoff updates for 0.97.
* configure.ac: Set version to 0.97-pre.
* doc/www.gnu.org/newsitems.txt: Add 0.96.1.
* doc/www.gnu.org/downloads/downloads.wml: Likewise.
* doc/www.gnu.org/announce/20071015.wml: Add missing URLs.
* doc/www.gnu.org/announce/20071016.wml: New file.
2007-10-16 Mark Wielaard <[email protected]>
* NEWS: Mention small compile/configure/build fixes.
* configure.ac: Set version to 0.96.1
2007-10-16 from Alexandre Oliva <[email protected]>
* scripts/check_jni_methods.sh: Don't depend on diff -b ignoring
a single trailing whitespace.
2007-10-16 Andrew John Hughes <[email protected]>
* m4/acinclude.m4: Add -sourcepath so that
some proprietary JDKs don't try to compile the
whole of Classpath when testing the compiler.
2007-10-16 Andrew John Hughes <[email protected]>
* doc/www.gnu.org/newsitems.txt: Add 0.96.
* doc/www.gnu.org/downloads/downloads.wml: Likewise.
* doc/www.gnu.org/announce/20071015.wml: New file.
2007-10-15 Andrew John Hughes <[email protected]>
* NEWS: Kickoff updates for 0.97.
* configure.ac: Set version to 0.97-pre.
2007-10-15 Andrew John Hughes <[email protected]>
* NEWS: Add date of 0.96 release.
* configure.ac: Set version to 0.96.
2007-10-15 Mario Torre <[email protected]>
* doc/cp-hacking.texinfo: Update GConf requirement, and added information
about the GStreamer Sound peer.
2007-10-15 Andrew John Hughes <[email protected]>
* README.gstreamer: Correct a few typos.
* doc/cp-hacking.texinfo: Update to match current status
(e.g. mention cacao, use of 1.5, etc.)
2007-10-15 Roman Kennke <[email protected]>
* java/awt/event/MouseEvent.java
(MouseEvent): For the no-absX/absY constructor, set the
absX/absY to 0, instead of calling into getLocationOnScreen(),
which might cause nasty deadlocks.
2007-10-15 Mario Torre <[email protected]>
* javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertElement):
Added check for empty stack to avoid EmptyStackException.
2007-10-15 Roman Kennke <[email protected]>
* java/awt/LightweightDispatcher.java
(dispatchEvent): Don't synchronize on the AWT lock here,
this causes a deadlock in some situations.
2007-10-12 Andrew John Hughes <[email protected]>
PR classpath/33385:
* tools/com/sun/tools/javac/Main.java:
Add bootclasspath and 1.5 options so the compiler
can run.
2007-10-12 Andrew John Hughes <[email protected]>
PR classpath/33622:
* lib/Makefile.am: Use JAVAC_ARGS variable.
* m4/acinclude.m4: Check javac is 1.5 compliant
and whether it supports -J.
2007-10-12 Mario Torre <[email protected]>
* gnu/javax/swing/text/html/css/FontSize.java (mapPercent):
(mapPoints): prevent a NumberFormatException when a floating point is given
instead of a integer.
(mapPixels): likewise.
(mapPercent): likewise.
2007-10-12 Mario Torre <[email protected]>
* gnu/javax/sound/AudioSecurityManager.java: Added Copyright header.
(Permission): added missing javadoc.
(checkPermissions): likewise.
2007-10-12 Andrew John Hughes <[email protected]>
PR classpath/33622:
* lib/Makefile.am: Add -J-mX512M option to
allow javac enough memory to build Classpath.
2007-10-12 Roman Kennke <[email protected]>
* NEWS: Added entry for Escher peers.
2007-10-12 Andrew John Hughes <[email protected]>
* NEWS: Updated for 0.96
2007-10-12 Robin Garner <[email protected]>
PR classpath/32541:
* java/io/OutputStreamWriter.java:
Provide buffering when not converting to improve
performance.
2007-10-12 Ian Rogers <[email protected]>
PR classpath/33746:
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
Remove atexit call that makes JikesRVM deadlock.
2007-10-12 Ian Rogers <[email protected]>
2007-10-12 Andrew Haley <[email protected]>
PR classpath/33741:
* java/lang/Double.java:
(compare(double,double)): Increase performance
of this method.
* java/lang/Float.java:
(compare(float,float)): Likewise.
2007-10-12 Andrew John Hughes <[email protected]>
PR classpath/33623:
* m4/acinclude.m4:
Fix typo which prevents --with-ecj being used.
2007-10-11 Roman Kennke <[email protected]>
* javax/swing/plaf/basic/BasicTreeUI.java
(EDIT): Removed obsolete constant.
2007-10-10 Andrew John Hughes <[email protected]>
Recommitting patch by Dalibor Topic from 2007-09-21.
* java/lang/management/ThreadInfo.java:
Removed unused private constructors.
2007-10-09 Mario Torre <[email protected]>
* README.gstreamer: new file.
2007-10-08 Andrew John Hughes <[email protected]>
PR classpath/33623:
* examples/Makefile.am:
Exit with no compiler.
* lib/Makefile.am: Likewise.
* m4/acinclude.m4: Handle ecj and javac
using separate variables and catch when JAVAC/ECJ is
empty.
2007-10-07 Andrew John Hughes <[email protected]>
PR classpath/23854:
* java/util/zip/ZipEntry.java:
(parseExtra()): Pass time to setTime in milliseconds
rather than seconds by multiplying by 1000.
2007-09-27 Mario Torre <[email protected]>
* gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
(gstreamer_get_audio_format_stream): Removed parameter from javadoc.
(gstreamer_get_audio_format_file): likewise.
* gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java:
Added class javadoc and implementation notes.
(READ): new constant.
(WRITE): likewise.
(QUEUED): likewise.
(CAPACITY_KEY): likewise.
(lock): likewise.
(prefs): new variable.
(GstPipeline constructor): added OS independent rutines to detect
filesystem pipes size plus save and restores this information via
preferences. Now closes open pipe on user abort at VM exit.
(open_native_pipe): new native method.
(close_native_pipe): likewise.
(detect_pipe_size): likewise.
(createForWrite): update to use new native methods.
(setState): removed hack to synchronize reading and writing of the
filesystme named pipe.
(available): implemented.
(drain): new implementation, now correctly waits for data to be consumed
in the pipeline.
(prepareWrite): removed hack to synchronize reading and writing of the
filesystme named pipe.
(CleanPipeline): new inner class, used for cleaning of native pipelines
still opened at VM exit.
* gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine:
(getFramePosition): method still stubbed, now output "implement me"
note when called (used for testing).
(getLongFramePosition): likewise.
(getMicrosecondPosition): likewise.
* include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h:
regenerated.
* native/jni/gstreamer-peer/gst_native_data_line.c:
(setup_pipeline): Changed signature, now uses a file descriptor instead of
char with the name of the native pipeline. Also changed to use "fdsrc"
when creating the GStreamer pipeline.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine_setup_1sink_1pipeline):
now uses gst_native_pipeline_get_pipeline_fd to get the file descriptor
of the native pipeline, instead of gst_native_pipeline_get_pipeline_name.
Chaged to use "autoaudiosink" as GStreamer audio sink.
(gst_newpad): fix indentation.
* native/jni/gstreamer-peer/gst_native_pipeline.c: include new headers for
compilation.
(capacityFID): new filed for caching.
(GST_DETECTED_PIPE_CAPACITY): new field.
(enum): maps READ and WRITE in GstPipeline class.
(_GstNativePipelinePrivate.fd): new field.
(create_name): new function.
(init_pointer_IDs): likewise.
(get_free_space): likewise.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1id_1cache):
cache capacityFID.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1instance):
get value for GST_DETECTED_PIPE_CAPACITY from mapped class.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_set_1state):
removed "unused" attribute from parameters, clean pipeline name on exit.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_open_1native_1pipe):
new function.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_close_1native_1pipe):
likewise.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_create_1named_1pipe):
pipe name created with a dedicated function.
(Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_available): new
function.
* native/jni/gstreamer-peer/gst_native_pipeline.h:
(gst_native_pipeline_clean): removed.
(gst_native_pipeline_get_pipeline_fd): new function.
* native/jni/gstreamer-peer/gst_peer.h: new defines used by the peer.
* native/jni/gstreamer-peer/gstreamer_io_peer.c: (_GST_MALLOC_SIZE_): moved
in gst_peer.h.
2007-09-27 Dalibor Topic <[email protected]>
* native/fdlibm/dtoa.c: Include mprec.h after system includes.
* native/fdlibm/mprec.h [_EXFUN]: Only define _EXFUN if it is not
already defined.
2007-09-24 Dalibor Topic <[email protected]>
* java/lang/management/ThreadInfo.java: Reverted patch from
2007-09-21, as it breaks JikesRVM.
2007-09-23 Mark Wielaard <[email protected]>
* doc/www.gnu.org/include/layout.wml: Fix Planet Classpath link.
* doc/www.gnu.org/faq/faq.wml: Fix typo prorietary.
2007-09-22 Paul Jenner <[email protected]>
* doc/www.gnu.org/include/layout.wml: Added link to Wiki.
2007-09-21 Dalibor Topic <[email protected]>
* gnu/java/rmi/server/RMIClassLoaderImpl.java,
java/beans/beancontext/BeanContextServicesSupport.java,
java/lang/management/ThreadInfo.java:
Removed unused private constructors.
2007-09-21 Dalibor Topic <[email protected]>
* gnu/CORBA/CDR/AbstractCdrInput.java,
gnu/CORBA/CDR/Vio.java,
gnu/CORBA/DynAn/gnuDynUnion.java,
gnu/CORBA/GIOP/MessageHeader.java,
gnu/CORBA/IorDelegate.java,
gnu/java/security/key/dss/FIPS186.java,
gnu/javax/crypto/key/dh/RFC2631.java,
gnu/javax/swing/text/html/parser/support/Parser.java,
gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java,
gnu/xml/aelfred2/XmlParser.java,
java/awt/im/InputContext.java:
Removed unused labels.
2007-09-21 Roman Kennke <[email protected]>
* javax/swing/plaf/basic/BasicGraphicsUtils.java
(drawStringUnderlineCharAt): Fix Y location of underline.
2007-09-21 Roman Kennke <[email protected]>
* java/awt/LightweightDispatcher.java
(dispatchEvent): Lock the component's tree to avoid threading
problems.
(redispatch): Only redispatch when component is showing.
2007-09-21 Roman Kennke <[email protected]>
* java/awt/Font.java
(hashCode): New field. Stores a cached hash code.
(hashCode()): Re-implemented. Don't create new string here, instead
make hashcode of name, style, size and transform. Cache hashcode.
2007-09-20 Roman Kennke <[email protected]>
* gnu/java/awt/font/GNUGlyphVector.java
(cleanOutline): New field, caches the untransformed outline.
(getOutline()): No need to validate here. Already done in
getOutline(float,float).
(getOutline(float,float)): Cache untransformed outlines. Protect
returned shape from modification by wrapping in ShapeWrapper
object.
* gnu/java/awt/font/OpenTypeFontPeer.java: New class. Implements
ClasspathFontPeer for OpenType fonts.
* gnu/java/awt/java2d/AbstractGraphics2D.java
(DEFAULT_TEXT_AA): New constant/property for controlling
default anti-aliasing for text.
(GC_CACHE_SIZE): New constant for the size of the glyph vector
cache.
(shapeCache): Don't make shapeCache thread local. This wouldn't
gain much, because the event dispatch thread is restarted quite
often.
(scanlineConverters): Don't make scanlineConverters thread local,
but instead pool them into a list.
(gvCache): New cache for glyph vectors.
(searchTextKey): New static field, a shared key used for GV caching.
(drawString): Cache glyph vectors.
(getFontRenderContext): Protect the current transform from beeing
changed.
(clone): Check clip for null when cloning.
(drawLine): Use shared shape cache. No need for calling a method here.
(drawRect): Likewise. Add translation to rectangle coordinates.
(fillRect): Use shared shape cache. No need for calling a method here.
(drawRoundRect): Likewise.
(fillRoundRect): Likewise.
(drawOval): Likewise.
(fillOval): Likewise.
(drawArc): Likewise.
(fillArc): Likewise.
(drawPolyline): Likewise.
(drawPolygon): Likewise.
(fillPolygon): Likewise.
(fillShape): Check property for default text AA. Set Y resolution.
(rawDrawLine): Use shared shape cache. No need for calling a method
here.
(rawDrawRect): Likewise.
(rawFillRect): Likewise.
(rawDrawString): Removed. Subclasses override drawString() instead.
(getShapeCache): Removed. No longer needed.
(getScanlineConverter): New helper method for pooling
scanline converters.
(freeScanlineConverter): New helper method for pooling
scanline converters.
* gnu/java/awt/java2d/PixelCoverage.java: New class. Used by the
reworked scanline converter.
* gnu/java/awt/java2d/ScanlineConverter.java
(Y_RESOLUTION): Removed. The Y resolution is now specified
by the caller.
(yResolution): New field. Stores the Y resolution.
(renderShape): Take y resolution as argument.
(setResolution): Take y resolution as argument.
* gnu/java/awt/java2d/ShapeWrapper.java: New class. Protects
shape objects from modification by application code.
* gnu/java/awt/java2d/TextCacheKey.java: New class. Used for
caching GlyphVectors.
* gnu/java/awt/peer/x/XFontPeer2.java: Removed. This is now
implemented in OpenTypeFontPeer now.
* gnu/java/awt/peer/x/XEventPump.java
(handleEvent): Check insets.
* gnu/java/awt/peer/x/XFontPeer.java
Changed class and method names for changed Escher API.
(clinit): Use font properties from xfonts.properties.
(canDisplay): Changed to take int argument.
* gnu/java/awt/peer/x/XFramePeer.java
(XFramePeer): Set the title of the frame on creation time.
(setTitle): Implemented.
* gnu/java/awt/peer/x/XGraphics2D.java
(imageCache): New field. Caches native representations for
images.
(drawString): New method. Optimized version for X fonts.
(fillScanline): Removed.
(fillScanlineAA): Removed.
(rawDrawImage): Optimized drawing for ZPixmap-backed images.
(rawDrawRect): Optimized rectangle drawing.
(renderScanline): Added compositing code.
(setFont): Overridden for X font support.
(setPaint): Added TODO.
* gnu/java/awt/peer/x/XGraphicsConfiguration.java
(getSize): New helper method for XToolkit.
(getResolution): New helper method for XToolkit.
* gnu/java/awt/peer/x/XGraphicsEnvironment.java
(getAvailableFontFamilyNames): Implemented.
* gnu/java/awt/peer/x/XToolkit.java
(fontCache): New field for caching fonts.
(getClasspathFontPeer): Cache fonts.
(getScreenSize): Implemented.
(getScreenResolution): Implemented.
(getFontList): Implemented.
(isModalExclusionTypeSupported): New method.
(isModalityTypeSupported): New method.
* gnu/java/awt/peer/x/XWindowPeer.java
(insets): New field for storing the insets of the frame.
(XWindowPeer): Set correct decoration.
(getGraphics): Set foreground, background and font.
(show): Determine the correct frame extents.
(reshape): Only resize when not inside callback.
(insets): Implemented correctly.
(getFontMetrics): Use OpenTypeFontPeer.
* gnu/java/awt/peer/x/ZPixmapDataBuffer.java
(getZPixmap): New method. This is used in XGraphics2D for drawing
the buffer.
* gnu/java/util/LRUCache.java: New class. Implements an LRU cache.
2007-09-19 Dalibor Topic <[email protected]>
* native/jni/native-lib/Makefile.am
(AM_LDFLAGS) Use CLASSPATH_CONVENIENCE flags, as it is a convenience library.
2007-09-19 Dalibor Topic <[email protected]>
* native/fdlibm/dtoa.c: Include stdlib.h to have a declaration for free.
2007-09-18 Dalibor Topic <[email protected]>
* examples/gnu/classpath/examples/management/TestMemoryPool.java,
examples/gnu/classpath/examples/swing/DocumentFilterDemo.java,
examples/gnu/classpath/examples/swing/TableDemo.java,
gnu/CORBA/BigDecimalHelper.java,
gnu/CORBA/ByteArrayComparator.java,
gnu/CORBA/CollocatedOrbs.java,
gnu/CORBA/EmptyExceptionHolder.java,
gnu/CORBA/IorDelegate.java,
gnu/CORBA/OrbRestricted.java,
gnu/CORBA/ServiceRequestAdapter.java,
gnu/CORBA/gnuContextList.java,
gnu/CORBA/gnuExceptionList.java,
gnu/CORBA/gnuRequest.java,
gnu/CORBA/CDR/LittleEndianInputStream.java,
gnu/CORBA/DynAn/DivideableAny.java,
gnu/CORBA/DynAn/gnuDynArray.java,
gnu/CORBA/GIOP/CodeSetServiceContext.java,
gnu/CORBA/Interceptor/IORInterceptors.java,
gnu/CORBA/NamingService/NameParser.java,
gnu/CORBA/Poa/gnuPOAManager.java,
gnu/classpath/jdwp/event/filters/StepFilter.java,
gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java,
gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java,
gnu/java/awt/ClasspathToolkit.java,
gnu/java/awt/EmbeddedWindow.java,
gnu/java/awt/peer/KDEDesktopPeer.java,
gnu/java/awt/peer/gtk/CairoSurface.java,
gnu/java/awt/peer/swing/SwingCheckboxPeer.java,
gnu/java/awt/peer/swing/SwingTextAreaPeer.java,
gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
gnu/java/awt/print/PostScriptGraphics2D.java,
gnu/java/awt/print/SpooledDocument.java,
gnu/java/io/PlatformHelper.java,
gnu/java/lang/management/BeanImpl.java,
gnu/java/locale/LocaleHelper.java,
gnu/java/net/protocol/http/Request.java,
gnu/java/nio/DatagramChannelImpl.java,
gnu/java/nio/KqueueSelectionKeyImpl.java,
gnu/java/nio/NIOSocket.java,
gnu/java/nio/ServerSocketChannelImpl.java,
gnu/java/nio/SocketChannelImpl.java,
gnu/java/rmi/server/RMIObjectInputStream.java,
gnu/java/util/regex/RE.java,
gnu/javax/imageio/bmp/DecodeBF16.java,
gnu/javax/imageio/bmp/EncodeRGB32.java,
gnu/javax/imageio/jpeg/JPEGDecoder.java,
gnu/javax/imageio/jpeg/JPEGException.java,
gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
gnu/javax/imageio/png/PNGChunk.java,
gnu/javax/imageio/png/PNGEncoder.java,
gnu/javax/imageio/png/PNGFile.java,
gnu/javax/imageio/png/PNGGamma.java,
gnu/javax/net/ssl/SSLRecordHandler.java,
gnu/javax/net/ssl/StaticTrustAnchors.java,
gnu/javax/net/ssl/provider/CertificateRequestBuilder.java,
gnu/javax/net/ssl/provider/ClientHandshake.java,
gnu/javax/net/ssl/provider/ClientPSKParameters.java,
gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java,
gnu/javax/net/ssl/provider/ContentType.java,
gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java,
gnu/javax/net/ssl/provider/Handshake.java,
gnu/javax/net/ssl/provider/InputSecurityParameters.java,
gnu/javax/net/ssl/provider/OutputSecurityParameters.java,
gnu/javax/net/ssl/provider/ProtocolVersion.java,
gnu/javax/net/ssl/provider/Random.java,
gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java,
gnu/javax/net/ssl/provider/SessionImpl.java,
gnu/javax/net/ssl/provider/Signature.java,
gnu/javax/net/ssl/provider/SimpleSessionContext.java,
gnu/javax/net/ssl/provider/TLSHMac.java,
gnu/javax/net/ssl/provider/TrustedAuthorities.java,
gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java,
gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
gnu/javax/security/auth/Password.java,
gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.java,
gnu/javax/sound/midi/file/MidiFileWriter.java,
gnu/javax/sound/sampled/AU/AUReader.java,
gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java,
gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java,
gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java,
gnu/xml/dom/html2/DomHTMLButtonElement.java,
gnu/xml/dom/html2/DomHTMLCollection.java,
gnu/xml/dom/html2/DomHTMLParser.java,
gnu/xml/stream/EndDocumentImpl.java,
gnu/xml/stream/SAXParser.java,
gnu/xml/stream/XIncludeFilter.java,
gnu/xml/stream/XMLEventImpl.java,
gnu/xml/transform/StreamSerializer.java,
gnu/xml/transform/Stylesheet.java,
gnu/xml/validation/datatype/Base64BinaryType.java,
gnu/xml/validation/datatype/BooleanType.java,
gnu/xml/validation/datatype/DecimalType.java,
gnu/xml/validation/datatype/DoubleType.java,
gnu/xml/validation/datatype/FloatType.java,
gnu/xml/validation/datatype/HexBinaryType.java,
gnu/xml/validation/datatype/NotationType.java,
gnu/xml/validation/datatype/SimpleType.java,
gnu/xml/validation/datatype/StringType.java,
gnu/xml/validation/datatype/Type.java,
gnu/xml/validation/datatype/TypeBuilder.java,
gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
gnu/xml/xpath/XPathParser.java,
java/awt/MenuShortcut.java,
java/awt/font/LineBreakMeasurer.java,
java/awt/font/TextMeasurer.java,
java/awt/image/BufferedImage.java,
java/beans/beancontext/BeanContextServicesSupport.java,
java/security/SecureClassLoader.java,
java/security/cert/CertificateFactory.java,
javax/imageio/metadata/IIOMetadataFormatImpl.java,
javax/imageio/stream/MemoryCacheImageInputStream.java,
javax/management/ObjectName.java,
javax/management/openmbean/ArrayType.java,
javax/net/ssl/HttpsURLConnection.java,
javax/print/attribute/standard/JobStateReasons.java,
javax/swing/RepaintManager.java,
javax/swing/plaf/basic/BasicDirectoryModel.java,
javax/swing/plaf/basic/BasicFileChooserUI.java,
javax/swing/plaf/basic/BasicLabelUI.java,
javax/swing/plaf/metal/MetalScrollButton.java,
javax/swing/table/DefaultTableCellRenderer.java,
javax/swing/text/ParagraphView.java,
javax/swing/text/html/ResetableToggleButtonModel.java,
javax/swing/text/html/parser/Entity.java,
javax/swing/tree/DefaultTreeCellRenderer.java,
javax/xml/datatype/DatatypeFactory.java,
javax/xml/stream/XMLEventFactory.java,
javax/xml/stream/XMLInputFactory.java,
org/omg/IOP/TaggedComponentHelper.java,
sun/reflect/annotation/ExceptionProxy.java,
tools/gnu/classpath/tools/appletviewer/Main.java,
tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
tools/gnu/classpath/tools/orbd/Main.java,
tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java,
tools/gnu/classpath/tools/rmic/Main.java,
tools/gnu/classpath/tools/rmid/Main.java,
tools/gnu/classpath/tools/tnameserv/Main.java,
vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java,
vm/reference/java/lang/VMClass.java,
vm/reference/java/security/VMSecureRandom.java:
Removed unused imports.
2007-09-18 Dalibor Topic <[email protected]>
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHelper.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHelper.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHelper.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java,
examples/gnu/classpath/examples/awt/AnimationApplet.java: Removed unused imports.
2007-09-18 Dalibor Topic <[email protected]>
* .classpath: Reverted escher-specific changes that break
the build under Eclipse.
2007-09-16 Mark Wielaard <[email protected]>
* examples/Makefile.am (JCOMPILER): Add tools.zip for ecj.
2007-09-14 Roman Kennke <[email protected]>
* .classpath: Include javah in Eclipse build.
2007-09-13 David P Grove <[email protected]>