1 |
|
2002-01-22 Tom Tromey <tromey@redhat.com> |
2 |
|
|
3 |
|
* java/awt/PopupMenu.java (addNotify): New implementation from |
4 |
|
libgcj. |
5 |
|
* java/awt/MenuBar.java (add): Handle case where menu already has |
6 |
|
a parent. |
7 |
|
(deleteShortcut): Delete shortcut from all menus. |
8 |
|
(remove(int)): New implementation from libgcj. |
9 |
|
(setHelpMenu): Likewise. |
10 |
|
* java/awt/MenuItem.java (paramString): Don't include class name |
11 |
|
or brackets. Call superclass paramString. |
12 |
|
* java/awt/MenuComponent.java (toString): Call paramString. |
13 |
|
(paramString): Compute string; don't call toString. |
14 |
|
* java/awt/Label.java (paramString): Don't include class name |
15 |
|
or brackets. Call superclass paramString. |
16 |
|
* java/awt/Checkbox.java (paramString): Don't include class name |
17 |
|
or brackets. Call superclass paramString. |
18 |
|
* java/awt/Button.java (paramString): Don't include class name or |
19 |
|
brackets. Call superclass paramString. |
20 |
|
* java/awt/MenuComponent.java (getTreeLock): Now protected. |
21 |
|
* java/awt/Panel.java (addNotify): Call superclass addNotify. |
22 |
|
* java/awt/PaintContext.java: New file from libgcj. |
23 |
|
* java/awt/MenuShortcut.java (equals(Object)): New method. |
24 |
|
(hashCode): Likewise. |
25 |
|
(toString): Use paramString and square brackets. |
26 |
|
* java/awt/MenuContainer.java (postEvent): Resurrected. |
27 |
|
* java/awt/Menu.java (menuSerializedDataVersion): New field. |
28 |
|
(addNotify): Use peer field directly. Call superclass addNotify. |
29 |
|
(add): New implementation from libgcj. |
30 |
|
(separator): New field. |
31 |
|
(addSeparator): New implementation from libgcj. |
32 |
|
(insertSeparator): Likewise. |
33 |
|
(removeAll): Removed redundant test. Always remove item 0. |
34 |
|
(paramString): Include tearOff, isHelpMenu, and superclass |
35 |
|
paramString. |
36 |
|
* java/awt/List.java (List()): Default to 4 rows. |
37 |
|
(addNotify): Use `peer' directly. Call superclass addNotify. |
38 |
|
(addItem(String)): Deprecated. |
39 |
|
(add(String)): Call add, not addItem. |
40 |
|
(add(String,int)): Do work here. |
41 |
|
(addItem(String,int)): Call add. Deprecated. |
42 |
|
(removeAll): Use `clear' on items. Use `peer' field directly. |
43 |
|
(remove(String)): Use remove, not delItem. |
44 |
|
(replaceItem): Likewise. |
45 |
|
(remove(int)): New implementation from libgcj. |
46 |
|
(delItem(int)): Use remove. |
47 |
|
(getSelectedIndex): New implementation from libgcj. |
48 |
|
(getSelectedIndexes): Likewise. |
49 |
|
(isIndexSelected): Remove redundant test. |
50 |
|
(setMultipleMode): Use `peer' field directly. |
51 |
|
(makeVisible): Likewise. |
52 |
|
(paramString): New implementation from libgcj. |
53 |
|
(delItems): Run loop in reverse direction. Use `peer' field |
54 |
|
directly. |
55 |
|
* java/awt/Insets.java (equals): Removed redundant test. |
56 |
|
(hashCode): New method. |
57 |
|
* java/awt/GridBagConstraints.java: New file from libgcj. |
58 |
|
* java/awt/FontMetrics.java (getMaxAdvance): Return -1. |
59 |
|
(toString): Use libgcj implementation. |
60 |
|
* java/awt/Font.java (ROMAN_BASELINE, CENTER_BASELINE, |
61 |
|
HANGING_BASELINE): New constants. |
62 |
|
(pointSize): New field. |
63 |
|
(Font): Initialize pointSize. |
64 |
|
(getStyle): New method. |
65 |
|
(getSize2D): Likewise. |
66 |
|
* java/awt/FileDialog.java (addNotify): Use `peer' field directly. |
67 |
|
Call superclass addNotify. |
68 |
|
(paramString): Don't include class name or brackets. Call |
69 |
|
superclass paramString. |
70 |
|
(setDirectory): Use `peer' field directly. |
71 |
|
(setFile): Likewise. |
72 |
|
(setFilenameFilter): Likewise. |
73 |
|
* java/awt/Dialog.java (Dialog(Dialog)): New constructor. |
74 |
|
(Dialog(Dialog,String)): Likewise. |
75 |
|
(Dialog(Dialog,String,boolean)): Likewise. |
76 |
|
(addNotify): Use `peer' field directly. Call superclass |
77 |
|
addNotify. |
78 |
|
(setTitle): Use `peer' field directly. |
79 |
|
(setResizable): Likewise. |
80 |
|
(paramString): Don't include class name |
81 |
|
or brackets. Call superclass paramString. |
82 |
|
* java/awt/Cursor.java: Merged with libgcj. |
83 |
|
* java/awt/Color.java (white, lightGray, gray, darkGray, black, |
84 |
|
red, pink, orange, yellow, green, magenta, cyan, blue): Set alpha |
85 |
|
value. |
86 |
|
(value): Initialize. |
87 |
|
(Color(int,boolean)): New constructor. |
88 |
|
(Color(int,int,int,int)): Likewise. |
89 |
|
(alphamask): New constant. |
90 |
|
(getAlpha): New method. |
91 |
|
(BRIGHT_STEP): New constant. |
92 |
|
(brighter, darker): New implementation from libgcj. |
93 |
|
(getTransparency): New method. |
94 |
|
(equals): Remove redundant test. Compare `value' fields |
95 |
|
directly. |
96 |
|
* java/awt/Choice.java (selectedIndex): Initialize to -1. |
97 |
|
(add): Throw exception if item is null. Use `peer' field |
98 |
|
directly. Select item if it is the first. |
99 |
|
(addItem): Call add. |
100 |
|
(addNotify): Use `peer' field directly. Call superclass |
101 |
|
addNotify. |
102 |
|
(getSelectedItem): Handle case where selectedIndex is -1. |
103 |
|
(insert): Use `peer' field directly. Only cast if peer is |
104 |
|
non-null. Handle case where `index' is too large. Select item if |
105 |
|
it is the first one. |
106 |
|
(paramString): Don't include class name or brackets. Call |
107 |
|
superclass paramString. |
108 |
|
(remove(String)): Throw exception if item not found. |
109 |
|
(remove(int)): Use `peer' field directly. Update selection. |
110 |
|
(removeAll): Correctly remove items. Remove redundant check. |
111 |
|
(select(String)): Throw exception if item not found. |
112 |
|
(select(int)): Use `peer' field directly. Don't cast unless peer |
113 |
|
is non-null. |
114 |
|
* java/awt/CheckboxMenuItem.java (addNotify): Use `peer' field |
115 |
|
directly. Call superclass addNotify. |
116 |
|
(paramString): Don't include class name or brackets. Call |
117 |
|
superclass paramString. |
118 |
|
(processEvent): Call superclass processEvent. |
119 |
|
(setState): Use `peer' field directly. Don't cast unless peer is |
120 |
|
non-null. |
121 |
|
|
122 |
2002-01-19 Mark Wielaard <mark@klomp.org> |
2002-01-19 Mark Wielaard <mark@klomp.org> |
123 |
|
|
124 |
* native/jni/java-net/javanet.c (_javanet_get_option): make exception |
* native/jni/java-net/javanet.c (_javanet_get_option): make exception |