]>
Commit | Line | Data |
---|---|---|
d5b2f1be KC |
1 | 2004-01-14 Kelley Cook <kcook@gcc.gnu.org> |
2 | ||
3 | * configure.in: Add in AC_PREREQ(2.13) | |
4 | * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete | |
5 | FIXME comment. | |
6 | ||
092b50e2 NB |
7 | 2004-01-14 Nathan Bryant <nbryant@optonline.net> |
8 | Tom Tromey <tromey@redhat.com> | |
9 | ||
10 | PR libgcj/12001: | |
11 | * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty | |
12 | array to superclass. | |
13 | (init): Changed interface; add URLs here. | |
14 | (initialize): New static method. | |
15 | * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here... | |
16 | (_Jv_RunMain): ... not here. | |
17 | ||
b3e5b452 MK |
18 | 2004-01-14 Michael Koch <konqueror@gmx.de> |
19 | ||
20 | * java/text/MessageFormat.java: | |
21 | Added descriptions to exceptions. | |
22 | This fixes PR libgcj/2429. | |
23 | ||
25c3f7c8 FN |
24 | 2004-01-13 Fernando Nasser <fnasser@redhat.com> |
25 | ||
26 | * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack. | |
27 | (push): Make sure push is performed at the top of the thread stack. | |
092b50e2 | 28 | |
9e2c04c5 TF |
29 | 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com> |
30 | ||
31 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, | |
32 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
33 | (native create): Add width and height parameters. Set text | |
34 | view's size request according to new parameters. | |
35 | (create): Calculate text view size based on current font's | |
36 | metrics and number of rows and columns. Set TextArea's font if | |
37 | not already set. Call native create. | |
38 | (getMinimumSize): Call minimumSize. | |
39 | (getPreferredSize): Call preferredSize. | |
40 | (getHScrollbarHeight): New method. | |
41 | (getVScrollbarWidth): New method. | |
42 | (minimumSize): Calculate minimum size based on scrollbar | |
43 | visibility, scrollbar sizes, font metrics and number of rows and | |
44 | columns. | |
45 | (preferredSize): Likewise for preferred size. | |
46 | (gtkTextGetSize): Remove method. | |
47 | ||
db19e39b TF |
48 | 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com> |
49 | ||
50 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
51 | (initializeInsets): Remove method. | |
52 | (GtkComponentPeer): Initialize insets field. Remove call to | |
53 | initializeInsets. | |
54 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets): | |
55 | Remove method. | |
56 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets): | |
57 | Remove method. | |
58 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java, | |
59 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: | |
60 | (latestInsets): Remove field. | |
61 | (native create): Add insets parameter. Call | |
62 | window_get_frame_extents. Set the window's default size and | |
63 | size request based on its frame extents. | |
64 | (create): Initialize insets. | |
65 | (postInsetsChangedEvent): New method. | |
66 | (postConfigureEvent): Remove parameters top, left, bottom, | |
67 | right. Remove insets-related logic. | |
68 | (connectJObject): Handle property-notify-event. | |
69 | (window_get_frame_extents, request_frame_extents, | |
70 | property_notify_predicate, window_property_changed_cb): New | |
71 | static functions. | |
72 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
73 | (pre_event_handler): Remove insets-related logic for configure | |
74 | events. | |
75 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit): | |
76 | Update postConfigureEvent signature. | |
77 | ||
25c3f7c8 | 78 | 2004-01-13 Fernando Nasser <fnasser@redhat.com> |
81c740ba FN |
79 | |
80 | * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter | |
81 | to handle Window "Closing" events. | |
82 | ||
e6cca488 DJ |
83 | 2004-01-13 David Jee <djee@redhat.com> |
84 | ||
85 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
86 | (setBackground): New method. Children with no explicitly-set | |
87 | background will be repainted with the parent container's new | |
88 | background color. | |
89 | ||
90 | 2004-01-13 David Jee <djee@redhat.com> | |
91 | ||
92 | * Makefile.am: Add BitwiseXORComposite.java. | |
93 | * Makefile.in: Regenerated. | |
94 | * gcj/Makefile.in: Regenerated. | |
95 | * include/Makefile.in: Regenerated. | |
96 | * testsuite/Makefile.in: Regenerated. | |
97 | ||
e5baf3bd FN |
98 | 2004-01-12 Fernando Nasser <fnasser@redhat.com> |
99 | ||
100 | * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does | |
101 | not show modal dialogs twice and so that it allows showing a modal | |
102 | dialog from another modal dialog. | |
103 | ||
cc11dca9 FN |
104 | 2004-01-12 Fernando Nasser <fnasser@redhat.com> |
105 | ||
106 | * java/awt/Dialog.java (show): Enable blocking for all modal dialogs | |
107 | and run secondary dispatch thread to process event queue while this | |
108 | thread is blocked. | |
109 | ||
55db8fa9 GH |
110 | 2004-01-12 Graydon Hoare <graydon@redhat.com> |
111 | ||
112 | * gnu/java/awt/gtk/GdkGraphics2D.java | |
113 | (static): Check GtkToolkit before initializing static state. | |
114 | (Graphics2D): Don't construct transform with 0.5 unit offset. | |
115 | ||
116 | 2003-11-06 Sascha Brawer <brawer@dandelis.ch> | |
117 | ||
118 | * gnu/java/awt/BitwiseXORComposite.java: Add. | |
119 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
120 | (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite. | |
121 | (BitwiseXORComposite): Remove inner class. | |
122 | ||
df9bad81 MK |
123 | 2004-01-11 Michael Koch <konqueror@gmx.de> |
124 | ||
125 | * gnu/java/lang/reflect/TypeSignature.java | |
126 | (getEncodingOfClass): Documentation fixed. | |
127 | (getClassForEncoding): Give class loader to Class.forName(). | |
128 | Documentation fixed. | |
129 | ||
fc58328a SB |
130 | 2004-01-11 Sascha Brawer <brawer@dandelis.ch> |
131 | ||
132 | * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added. | |
133 | ||
6a425fbe MK |
134 | 2004-01-11 Michael Koch <konqueror@gmx.de> |
135 | ||
136 | * javax/swing/undo/StateEditable.java | |
137 | (RCSID): Removed redundant modifiers. | |
138 | ||
162fd675 MK |
139 | 2004-01-10 Michael Koch <konqueror@gmx.de> |
140 | ||
141 | * javax/print/attribute/EnumSyntax.java | |
142 | (getStringTable): Made protected. | |
143 | (getEnumValueTable): Likewise. | |
144 | * javax/print/attribute/standard/JobKOctetsProcessed.java | |
145 | (JobKOctetsProcessed): Don't implement PrintRequestAttribute. | |
146 | * javax/print/attribute/standard/JobMediaSheetsCompleted.java | |
147 | (JobMediaSheetsCompleted): Made class final. | |
148 | * javax/print/attribute/standard/OutputDeviceAssigned.java | |
149 | (getName): Fixed typo. | |
150 | * javax/print/attribute/standard/RequestingUserName.java | |
151 | (serialVersionUID): Fixed value. | |
152 | ||
12e978c5 MK |
153 | 2004-01-10 Michael Koch <konqueror@gmx.de> |
154 | ||
155 | * javax/swing/plaf/basic/BasicButtonUI.java, | |
156 | javax/swing/plaf/basic/BasicCheckBoxUI.java, | |
157 | javax/swing/plaf/basic/BasicListUI.java, | |
158 | javax/swing/plaf/basic/BasicOptionPaneUI.java, | |
159 | javax/swing/plaf/basic/BasicPanelUI.java, | |
160 | javax/swing/plaf/basic/BasicRadioButtonUI.java, | |
161 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
162 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
163 | javax/swing/plaf/basic/BasicViewportUI.java: | |
164 | Fixed import statements. | |
165 | ||
4a8e7041 MK |
166 | 2004-01-10 Michael Koch <konqueror@gmx.de> |
167 | ||
168 | * gnu/java/awt/image/ImageDecoder.java | |
169 | (produce): Made public. | |
170 | * gnu/java/awt/peer/GLightweightPeer.java, | |
171 | gnu/java/awt/peer/gtk/GtkToolkit.java: | |
172 | Reformated. | |
173 | ||
5c9092a7 MK |
174 | 2004-01-10 Michael Koch <konqueror@gmx.de> |
175 | ||
176 | * javax/swing/JRadioButtonMenuItem.java, | |
177 | javax/swing/JSeparator.java, | |
178 | javax/swing/JSplitPane.java, | |
179 | javax/swing/JTextPane.java, | |
180 | javax/swing/JToolBar.java, | |
181 | javax/swing/ListCellRenderer.java, | |
182 | javax/swing/ListModel.java, | |
183 | javax/swing/MenuElement.java, | |
184 | javax/swing/OverlayLayout.java, | |
185 | javax/swing/ProgressMonitor.java, | |
186 | javax/swing/ProgressMonitorInputStream.java, | |
187 | javax/swing/Renderer.java, | |
188 | javax/swing/RootPaneContainer.java, | |
189 | javax/swing/Scrollable.java, | |
190 | javax/swing/SingleSelectionModel.java, | |
191 | javax/swing/ToolTipManager.java, | |
192 | javax/swing/ViewportLayout.java, | |
193 | javax/swing/event/DocumentEvent.java, | |
194 | javax/swing/event/SwingPropertyChangeSupport.java, | |
195 | javax/swing/event/TreeSelectionEvent.java, | |
196 | javax/swing/event/UndoableEditEvent.java, | |
197 | javax/swing/text/AbstractDocument.java, | |
198 | javax/swing/text/AttributeSet.java, | |
199 | javax/swing/text/Caret.java, | |
200 | javax/swing/text/ComponentView.java, | |
201 | javax/swing/text/DefaultCaret.java, | |
202 | javax/swing/text/DefaultEditorKit.java, | |
203 | javax/swing/text/Document.java, | |
204 | javax/swing/text/EditorKit.java, | |
205 | javax/swing/text/GapContent.java, | |
206 | javax/swing/text/Keymap.java, | |
207 | javax/swing/text/MutableAttributeSet.java, | |
208 | javax/swing/text/PlainEditorKit.java, | |
209 | javax/swing/text/Segment.java, | |
210 | javax/swing/text/Style.java, | |
211 | javax/swing/text/StyledDocument.java, | |
212 | javax/swing/text/StyledEditorKit.java, | |
213 | javax/swing/text/TextAction.java, | |
214 | javax/swing/text/View.java: Fixed import statements. | |
215 | ||
27c99ffe GH |
216 | 2004-01-08 Graydon Hoare <graydon@redhat.com> |
217 | ||
218 | * javax/swing/JLayeredPane.java: Rewrite to accomodate | |
219 | djee@redhat.com's recent inverse ordering of Container elements. | |
220 | ||
e6f82998 MK |
221 | 2004-01-09 Michael Koch <konqueror@gmx.de> |
222 | ||
223 | * gnu/java/lang/ArrayHelper.java | |
224 | (equalsArray): Removed. | |
225 | ||
d55d97f1 AH |
226 | 2004-01-09 Andrew Haley <aph@redhat.com> |
227 | ||
228 | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve | |
229 | a Utf8Const field before looking at its class. | |
230 | ||
41b19a2d MK |
231 | 2004-01-09 Michael Koch <konqueror@gmx.de> |
232 | ||
233 | * javax/print/attribute/standard/DocumentName.java, | |
234 | javax/print/attribute/standard/JobHoldUntil.java, | |
235 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
236 | javax/print/attribute/standard/JobName.java, | |
237 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
238 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
239 | javax/print/attribute/standard/PrinterInfo.java, | |
240 | javax/print/attribute/standard/PrinterLocation.java, | |
241 | javax/print/attribute/standard/PrinterMakeAndModel.java, | |
242 | javax/print/attribute/standard/PrinterMessageFromOperator.java, | |
243 | javax/print/attribute/standard/PrinterName.java, | |
244 | javax/print/attribute/standard/RequestingUserName.java: New files. | |
245 | * Makefile.am (javax_source_files): Added new files. | |
246 | * Makefile.in: Regenerated. | |
247 | ||
af008858 MK |
248 | 2004-01-09 Michael Koch <konqueror@gmx.de> |
249 | ||
250 | * javax/swing/AbstractAction.java, | |
251 | javax/swing/AbstractSet.java, | |
252 | javax/swing/Action.java, | |
253 | javax/swing/ActionMap.java, | |
254 | javax/swing/BoundedRangeModel.java, | |
255 | javax/swing/ButtonModel.java, | |
256 | javax/swing/CellEditor.java, | |
257 | javax/swing/CellRendererPane.java, | |
258 | javax/swing/ComboBoxEditor.java, | |
259 | javax/swing/DebugGraphics.java, | |
260 | javax/swing/DefaultCellEditor.java, | |
261 | javax/swing/DefaultCellRenderer.java, | |
262 | javax/swing/DefaultComboBoxModel.java, | |
263 | javax/swing/DefaultDesktopManager.java, | |
264 | javax/swing/DefaultFocusManager.java, | |
265 | javax/swing/DefaultListCellRenderer.java, | |
266 | javax/swing/Icon.java, | |
267 | javax/swing/JButton.java, | |
268 | javax/swing/JCheckBoxMenuItem.java, | |
269 | javax/swing/JDesktopPane.java, | |
270 | javax/swing/JEditorPane.java, | |
271 | javax/swing/JMenu.java, | |
272 | javax/swing/JPanel.java, | |
273 | javax/swing/JPasswordField.java, | |
274 | javax/swing/JPopupMenu.java, | |
275 | javax/swing/JProgressBar.java: Reworked imports. | |
276 | ||
bbe4ef89 MK |
277 | 2004-01-09 Michael Koch <konqueror@gmx.de> |
278 | ||
279 | * java/awt/geom/PathIterator.java | |
280 | (WIND_EVEN_ODD): Removed redundant modifiers. | |
281 | (WIND_NON_ZERO): Likewise. | |
282 | (SEG_MOVETO): Likewise. | |
283 | (SEG_LINETO): Likewise. | |
284 | (SEG_QUADTO): Likewise. | |
285 | (SEG_CUBICTO): Likewise. | |
286 | (SEG_CLOSE): Likewise. | |
287 | * java/awt/image/SinglePixelPackedSampleModel.java: | |
288 | Removed redundant semicolon. | |
289 | * java/io/ObjectInputStream.java | |
290 | (inputGetObjectStreamClasses): Removed unused variable "ret_val". | |
291 | * java/util/logging/Filter.java | |
292 | (isLoggable): Removed redundant modifier. | |
293 | * java/util/logging/LogManager.java: | |
294 | Removed redundant semicolon. | |
295 | * java/util/logging/XMLFormatter.java | |
296 | (format): Removed unused variable "key". | |
297 | ||
06fe3d7d FN |
298 | 2004-01-08 Fernando Nasser <fnasser@redhat.com> |
299 | ||
300 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile): | |
301 | New name for the former setFile native method. | |
302 | (setFile): New method. | |
303 | (setDirectory): Implemented. | |
304 | (connectSignals): New native method. | |
305 | (setFilenameFilter): Improve comment. | |
306 | (getGraphics): Comment. | |
307 | (gtkHideFileDialog): New method. | |
308 | (gtkDisposeFileDialog): New method. | |
309 | (gtkSetFilename): New method. | |
310 | * java/awt/Dialog.java (show): Block on modal dialogs, but only | |
311 | for FileDialog for now. | |
312 | (hide): New method. | |
313 | (dispose): New method. | |
314 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
315 | (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace | |
316 | deprecated creation functions. Make dialog modal. Add it to the | |
317 | window group. | |
318 | (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New | |
319 | function. | |
320 | (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename): | |
321 | Rename to... | |
322 | (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New | |
323 | name. | |
324 | (window_closed): New function. | |
325 | (ok_clicked): New function. | |
326 | (cancel_clicked): New function. | |
327 | ||
bafa7fed MK |
328 | 2004-01-08 Michael Koch <konqueror@gmx.de> |
329 | ||
330 | * javax/swing/JLayeredPane.java: Revert changes to standard | |
331 | boilerplate, reworked imports. | |
332 | ||
11e584ed TT |
333 | 2004-01-07 Tom Tromey <tromey@redhat.com> |
334 | ||
335 | PR libgcj/13439: | |
336 | * verify.cc (state::merge): Copy changed locals out of subroutine | |
337 | in NO_STACK case. | |
338 | (state::FLAG_CHANGED): New const. | |
339 | (state::FLAG_UNUSED): Likewise. | |
340 | (state::local_changed): Removed. Updated all users. | |
341 | (state::flags): New field. | |
342 | (state::merge): Added jsr_semantics argument, more logic. | |
343 | (push_jump_merge): Added jsr_semantics argument. | |
344 | (handle_jsr_insn): Set jsr_semantics on push_jump_merge when | |
345 | merging through the jsr instruction. | |
346 | ||
ce972ee8 TT |
347 | 2004-01-07 Tom Tromey <tromey@redhat.com> |
348 | ||
349 | * scripts/MakeDefaultMimeTypes.java: Use \n, not | |
350 | backslash-newline. | |
351 | ||
fbea267f GH |
352 | 2004-01-07 Graydon Hoare <graydon@redhat.com> |
353 | ||
354 | * java/awt/Container.java (LightweightDispatcher): Implement. | |
355 | (visitChild): Reuse graphics object. | |
356 | (dispatchEventImpl): Optionally dispatch to lightweight. | |
357 | (addNotifyContainerChildren): Build LightweightDispatcher. | |
358 | ||
627e4e5f DJ |
359 | 2004-01-07 David Jee <djee@redhat.com> |
360 | ||
361 | * java/awt/Container.java | |
362 | (update): Clear only the clipped region, instead of clearing the | |
363 | entire Container. | |
364 | (visitChildren): Visit children in descending order. | |
365 | ||
40f8ee2d MK |
366 | 2004-01-07 Michael Koch <konqueror@gmx.de> |
367 | ||
368 | * java/lang/reflect/Array.java: Merged documentation with classpath. | |
369 | ||
9b773289 MK |
370 | 2004-01-07 Michael Koch <konqueror@gmx.de> |
371 | ||
372 | * java/text/CollationElementIterator.java | |
373 | (textIndex): Renamed from index. | |
374 | * java/text/CollationKey.java | |
375 | (collator): New member. | |
376 | (CollationKey): New argument for parent collator. | |
377 | (equals): Check for same collator, source string and key array. | |
378 | * java/text/RuleBasedCollator.java: | |
379 | Reformated. | |
380 | (RuleBasedCollator): Don't re-initialize frenchAccents with default | |
381 | value. | |
382 | (getCollationElementIterator): Rewritten. | |
383 | (getCollationKey): Added new argument to CollationKey constructor. | |
384 | ||
26067b8b MK |
385 | 2004-01-07 Michael Koch <konqueror@gmx.de> |
386 | ||
387 | * gnu/java/nio/DatagramChannelImpl.java | |
388 | (blocking): Removed. | |
389 | (DatagramChannelImpl): Call configureBlocking(). | |
390 | (implConfigureBlocking): Dont initialize blocking. | |
391 | * gnu/java/nio/ServerSocketChannelImpl.java | |
392 | (blocking): Removed. | |
393 | (ServerSocketChannelImpl): Call configureBlocking(). | |
394 | (implConfigureBlocking): Dont initialize blocking. | |
395 | * gnu/java/nio/SocketChannelImpl.java | |
396 | (blocking): Removed. | |
397 | (SocketChannelImpl): Call configureBlocking(). | |
398 | (implConfigureBlocking): Dont initialize blocking. | |
399 | (connect): Use isBlocking(). | |
400 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
401 | (configureBlocking): Use blockingLock() instead of LOCK. | |
402 | Set blocking after successfully called implConfigureBlocking(). | |
403 | (register): Use blockingLock() instead of LOCK. | |
404 | ||
89e4eb2a MK |
405 | 2004-01-07 Michael Koch <konqueror@gmx.de> |
406 | ||
407 | * java/net/ServerSocket.java (isBound): Fixed documentation. | |
408 | ||
b3db7ef1 SB |
409 | 2004-01-07 Sascha Brawer <brawer@dandelis.ch> |
410 | ||
411 | * javax/swing/DefaultBoundedRangeModel.java: Documented API. | |
412 | (changeEvent): Create event object on demand. | |
413 | (DefaultBoundedRangeModel, toString, setValue, setExtent, | |
414 | setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties, | |
415 | fireStateChanged): Re-written. | |
416 | * javax/swing/event/EventListenerList.java: Reformatted, document | |
417 | typical usage. | |
418 | (toString): Implemented. | |
419 | (getListeners): Re-written. | |
420 | (remove): Re-written. | |
421 | (add): Re-written. | |
422 | (NO_LISTENERS): New singleton field. | |
423 | (listenerList): Declare as transient; document. | |
424 | (serialVersionUID): Document. | |
425 | (getListenerCount(Class)): More efficient implementation, | |
426 | also accepts null argument. Improve Javadoc. | |
427 | (getListenerCount()): Remove unnecessary cast; docfix. | |
428 | * javax/swing/undo/UndoableEditSupport.java: | |
429 | Re-format, document. | |
430 | (UndoableEditSupport): Set realSource field. Improve documentation. | |
431 | (_postEdit): Iterate over cloned listener vector. | |
432 | (toString): Don't emit realSource. | |
433 | (beginUpdate, endUpdate): Support nested updates. | |
434 | (postEdit): Use compound edit if present. | |
435 | ||
257dd280 GH |
436 | 2004-01-06 Graydon Hoare <graydon@redhat.com> |
437 | ||
438 | * java/awt/Container.java (swapComponents): Add forgotten | |
439 | function, required for JLayeredPane change. | |
440 | ||
5f383ba5 MK |
441 | 2004-01-06 Michael Koch <konqueror@gmx.de> |
442 | ||
443 | * java/text/CollationElementIterator.java: Reformated. | |
444 | (CollationElementIterator): Changed order of arguments. | |
445 | * java/text/RuleBasedCollator.java | |
446 | (RuleBasedCollator): Merged class documentation. | |
447 | (CollationElement): Added documentation. | |
448 | (compare): Reformated, renamed arguments. | |
449 | (equals): Likewise. | |
450 | (getCollationElementIterator): Likewise. | |
451 | (getCollationKey): Likewise. | |
452 | ||
68f14fb0 GH |
453 | 2004-01-06 Graydon Hoare <graydon@redhat.com> |
454 | ||
455 | * javax/swing/JLayeredPane.java: Fix semantics, add javadocs. | |
456 | ||
a023ec34 MK |
457 | 2004-01-06 Michael Koch <konqueror@gmx.de> |
458 | ||
459 | * gnu/java/net/protocol/file/Connection.java: | |
460 | Reformated copyright. | |
461 | (hdrHash): Removed. | |
462 | (hdrVec): Removed. | |
463 | (gotHeaders): Removed. | |
464 | (getHeaderField): Removed. | |
465 | (getHeaderField): Removed. | |
466 | (getHeaderFieldKey): Removed. | |
467 | (getKey): Removed. | |
468 | (getField): Removed. | |
469 | (getHeaders): Removed. | |
470 | ||
a67e295f MK |
471 | 2004-01-06 Michael Koch <konqueror@gmx.de> |
472 | ||
9ba6f952 MK |
473 | * javax/print/attribute/standard/DateTimeAtCompleted.java, |
474 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
475 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
476 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
477 | javax/print/attribute/standard/JobKOctets.java, | |
478 | javax/print/attribute/standard/JobKOctetsProcessed.java, | |
479 | javax/print/attribute/standard/JobMediaSheetsCompleted.java, | |
480 | javax/print/attribute/standard/JobPrioritySupported.java: New files. | |
481 | * Makefile.am (javax_source_files): Added new files. | |
482 | * Makefile.in: Regenerated. | |
68dad687 | 483 | |
9ba6f952 MK |
484 | 2004-01-06 Michael Koch <konqueror@gmx.de> |
485 | ||
a67e295f MK |
486 | * java/net/URLConnection.java |
487 | (contentHandler): Removed. | |
488 | (locale): Removed. | |
489 | (getHeaderFields): Return an empty map instead of null. | |
490 | (getContent): Connect if needed, renamed "cType" to "type" and | |
491 | "contentHandler" to "ch" and made it a local variable. | |
492 | (getPermission): Don't use package in class name. | |
493 | (setDefaultRequestProperty): Fixed typo in documentation. | |
494 | (initializeDateFormats): Made locale a local variable. | |
495 | ||
907cdc7f MK |
496 | 2004-01-06 Michael Koch <konqueror@gmx.de> |
497 | ||
498 | * java/lang/Package.java | |
499 | (getPackage): Get the current class loader directly. | |
500 | * java/lang/SecurityManager.java | |
501 | (currentLoadedClass): Dont iterate over class contexts. | |
502 | (classLoaderDepth): Don't check class loaders if everything is allowed. | |
503 | ||
6037221c TF |
504 | 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com> |
505 | ||
a8c2775c TF |
506 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c |
507 | (pre_event_handler): Set all insets to 0 when a Configure event | |
508 | is received for a GtkPlug. | |
509 | * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle. | |
510 | Make handle long, not int. | |
511 | (EmbeddedWindow()): New constructor. | |
512 | (EmbeddedWindow(int)): Rename window_id to handle. Make handle | |
513 | long, not int. | |
514 | (setHandle): New method. | |
515 | (getHandle): Return long, not int. | |
516 | * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method | |
517 | declaration. | |
518 | * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java, | |
519 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: | |
520 | (create(long)): Take long parameter, not int. Cast gtk_plug_new | |
521 | argument to GdkNativeWindow. | |
522 | (construct): New method. | |
523 | (embed): New method. | |
524 | ||
6037221c TF |
525 | * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, |
526 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c | |
527 | (create(int, int)): New method. | |
528 | (create): Call new create method. | |
529 | (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove | |
530 | methods. | |
531 | (childResized): Remove native implementation. Implement in | |
532 | Java. | |
533 | (getHScrollbarHeight, getVScrollbarWidth): Call | |
534 | gtk_widget_size_request to get scrollbar dimensions. | |
535 | * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only | |
536 | call getVScrollbarWidth and getHScrollbarHeight when vertical | |
537 | and horizontal scrollbars respectively are needed. | |
538 | (doLayout): Enlarge child if it is smaller than the viewport. | |
539 | ||
975fde59 FN |
540 | 2004-01-05 Fernando Nasser <fnasser@redhat.com> |
541 | ||
542 | * java/awt/Dialog.java (constructor): Accept null title as per spec. | |
543 | * java/awt/FileDialog.java (constructor): Throw exception on invalid | |
544 | argument as per spec. | |
545 | ||
b7a9b4af FN |
546 | 2004-01-05 Fernando Nasser <fnasser@redhat.com> |
547 | ||
548 | * java/awt/Choice.java (add): Leave posting of ItemEvents to peer. | |
549 | (insert): Ditto. | |
550 | (remove): Ditto. Also, Check for valid argument. | |
551 | (removeAll): Use peer interface method. | |
552 | * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for | |
553 | native add function. | |
554 | (nativeRemove): New name for native remove function. | |
555 | (getHistory): New native function. | |
556 | (constructor): Generate ItemEvent. | |
557 | (add): Ditto, if selection is changed. | |
558 | (remove): Ditto, ditto. | |
559 | (removeAll): Add implementation. | |
560 | (handleEvent): Remove. Dead code. | |
561 | (choicePostItemEvent): Add comment. | |
562 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
563 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments. | |
564 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to... | |
565 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add | |
566 | comments and fix condition to change selection. | |
567 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to... | |
568 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add | |
569 | remove all capability. | |
570 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function. | |
571 | (item_activate): Add cast to remove compiler warning. | |
572 | ||
b17fc9eb TF |
573 | 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com> |
574 | ||
575 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
576 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
577 | (getPreferredSize): Call preferredSize. | |
578 | (preferredSize): Call gtkWidgetGetPreferredDimensions. | |
579 | (getMinimumSize): Call minimumSize. | |
580 | (minimumSize): Call gtkWidgetGetPreferredDimensions. | |
581 | (gtkWidgetGetDimensions): Return the peer widget's current size | |
582 | request. | |
583 | (gtkWidgetGetPreferredDimensions): Return the peer widget's | |
584 | natural size request. | |
585 | ||
ab22bc91 SB |
586 | 2004-01-05 Sascha Brawer <brawer@dandelis.ch> |
587 | ||
588 | Thanks to Brian Gough <bjg@network-theory.com> | |
589 | * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented. | |
590 | * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written. | |
591 | ||
e44b879c MK |
592 | 2004-01-04 Matthias Klose <doko@debian.org> |
593 | ||
594 | * aclocal.m4: Rebuilt using "aclocal -I .". | |
595 | * configure: Rebuilt. | |
596 | ||
5814ecc2 PB |
597 | 2004-01-03 Per Bothner <per@bothner.com> |
598 | ||
599 | * java/util/Date.java (parse): Fix a number of problems. | |
600 | (skipParens): Remove no-longer-needed method. | |
601 | ||
24ce9c2d MK |
602 | 2003-12-31 Michael Koch <konqueror@gmx.de> |
603 | ||
604 | * gnu/java/net/protocol/http/Connection.java | |
605 | (sendRequest): Dont encode output in default character encoding, | |
606 | add correct version number to HTTP user agent string. | |
607 | ||
68dad687 GH |
608 | 2003-12-31 Graydon Hoare <graydon@redhat.com> |
609 | ||
610 | * configure.in: Add --enable-gtk-cairo check. | |
611 | * configure: Regenerate. | |
612 | * Makefile.am: Conditionally link against cairo. | |
613 | * Makefile.in: Regenerate. | |
614 | * acinclude.m4: Include PKG_CHECK_MODULES. | |
615 | * aclocal.m4: Regenerate. | |
616 | * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method. | |
617 | (getFontMetrics, getClasspathFontPeer): | |
618 | * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): | |
619 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage): | |
620 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics): | |
621 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): | |
622 | Switch behavior depending on GtkToolkit.useGraphics2D(). | |
623 | * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer. | |
624 | * java/awt/Font.java: Switch to peer model. | |
625 | * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff. | |
626 | * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h. | |
627 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h. | |
628 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h. | |
629 | ||
eb813adf GL |
630 | 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org> |
631 | ||
632 | * java/io/ObjectOutputStream.java | |
633 | (putFields): Reindented. Fixed behaviour: currentPutField should be | |
634 | null | |
635 | before calling this method. | |
636 | (writeFields): Likewise. | |
637 | (markFieldsWritten): Fixed the exception message. | |
638 | (callWriteMethod): Ensure currentPutField is null. | |
639 | (getBooleanField): Translate IllegalArgumentException into | |
640 | InvalidClassException. | |
641 | (getByteField): Likewise. | |
642 | (getCharField): Likewise. | |
643 | (getDoubleField): Likewise. | |
644 | (getFloatField): Likewise. | |
645 | (getIntField): Likewise. | |
646 | (getLongField): Likewise. | |
647 | (getShortField): Likewise. | |
648 | (getObjectField): Check the type code before returning the object. | |
649 | (getField): Translate NoSuchFieldException into InvalidClassException | |
650 | directly. | |
651 | ||
d4158659 GL |
652 | 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org> |
653 | ||
654 | * java/net/URL.java | |
655 | (URL): Change context path to "/" if it is empty. | |
656 | ||
04d1e6e2 MK |
657 | 2003-12-31 Michael Koch <konqueror@gmx.de> |
658 | ||
659 | * testsuite/libjava.mauve/xfails: Removed tests that pass now: | |
660 | XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16) | |
661 | XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18) | |
662 | XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file) | |
663 | (number 26) | |
664 | XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file) | |
665 | (number 54) | |
666 | ||
667 | ||
cca9b4b5 MK |
668 | 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org> |
669 | ||
670 | * java/util/GregorianCalendar.java | |
671 | (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>. | |
672 | Fixed the computation of DAY_OF_WEEK_IN_MONTH. | |
673 | (computeTime): 12:00 midnight is AM and 12:00 noon is PM. | |
674 | ||
675 | 2003-12-30 Michael Koch <konqueror@gmx.de> | |
676 | ||
677 | * testsuite/libjava.mauve/xfails: Removed the following testcase | |
678 | because it passes now: | |
679 | FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict | |
680 | (number 1) | |
681 | ||
34998d6b MK |
682 | 2003-12-30 Michael Koch <konqueror@gmx.de> |
683 | ||
684 | * java/io/ObjectInputStream.java, | |
685 | java/io/ObjectOutputStream.java, | |
686 | java/io/ObjectStreamClass.java: | |
687 | Reformated, no functional code changes. | |
688 | ||
f04f5b1f MK |
689 | 2003-12-30 Michael Koch <konqueror@gmx.de> |
690 | ||
691 | * gnu/java/net/protocol/http/Connection.java | |
692 | (outputStream): New field. | |
693 | (bufferedOutputStream): New field. | |
694 | (connect): Initialize outputStream and bufferedOutputStream. | |
695 | (sendRequest): Create PrintWriter object from outputStream, | |
696 | support HTTP 1.1, send missing HTTP headers and buffered output data | |
697 | for POST method. | |
698 | (getOutputStream): Set request method to POST if output stream is | |
699 | used, return bufferedOutputStream. | |
700 | (setRequestMethod): Allow HEAD and POST methods. | |
701 | This fixes libgcj PR/6302 and libgcj PR/7752. | |
702 | ||
50e8c419 GL |
703 | 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org> |
704 | ||
705 | * java/io/LineNumberReader.java | |
706 | (countLines): Removed. | |
707 | (fill): New private method. | |
708 | (mark): Changed logic to use and matchedNewLine. | |
709 | (reset): Likewise. | |
710 | (read): Likewise. | |
711 | (skipRedundantLF): Likewise. | |
712 | ||
b976c2fc MK |
713 | 2003-12-30 Michael Koch <konqueror@gmx.de> |
714 | ||
715 | * gnu/java/net/protocol/http/Connection.java | |
716 | (requestProperties): New field. | |
717 | (addRequestProperty): New method. | |
718 | (getRequestProperty): New method. | |
719 | (setRequestProperty): New method. | |
720 | (getRequestProperties): New method. | |
721 | ||
9f88b919 MK |
722 | 2003-12-28 Michael Koch <konqueror@gmx.de> |
723 | ||
724 | * gnu/java/net/protocol/http/Connection.java | |
725 | (inputStream): Made it a DataInputStream. | |
726 | (requestProperties): Removed. | |
727 | (hdrHash): Removed. | |
728 | (hdrVec): Removed. | |
729 | (headers): New field to store headers. | |
730 | (connect): Initialize inputStream. | |
731 | (receiveReply): Merged from classpath. The new algorithm is line based | |
732 | instead of character based. | |
733 | (getHeaderField): Use headers. | |
734 | (getHeaderFields): Use headers. | |
735 | (getKey): Removed. | |
736 | (getField): Removed. | |
737 | * gnu/java/net/HeaderFieldHelper.java: New file. | |
738 | * Makefile.am (ordinary_java_source_files): | |
739 | Added gnu/java/net/HeaderFieldHelper.java. | |
740 | * Makefile.in: Regenerated. | |
741 | ||
920be544 GL |
742 | 2003-12-28 Guilhem Lavaux <guilhem@kaffe.org> |
743 | ||
744 | * java/io/LineNumberReader.java | |
745 | (mark): Improved error checking. | |
746 | (read): Likewise. | |
747 | (skip): Likewise. Skip is now really eating the specified number of | |
748 | characters. | |
749 | * java/io/CharArrayReader.java (read): It should throw | |
750 | IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see | |
751 | mauve). | |
752 | * java/io/BufferedReader.java (readLine): Make readLine() really block | |
753 | until either EOF is reached or a true error happens. | |
754 | ||
bb6d84f3 MK |
755 | 2003-12-27 Michael Koch <konqueror@gmx.de> |
756 | ||
757 | * gnu/java/net/protocol/http/Connection.java | |
758 | (getRequestProperty): Removed. | |
759 | (setRequestProperty): Removed. | |
760 | ||
82ebe78b MK |
761 | 2003-12-27 Michael Koch <konqueror@gmx.de> |
762 | ||
763 | * gnu/java/net/protocol/http/Connection.java | |
764 | (connect): Call receiveReply(). | |
765 | (receiveReply): Renamed from getHttpHeaders(). | |
766 | (getOutputStream): Moved check on doOutput before check for connection | |
767 | state. | |
768 | ||
5bd1d00e MK |
769 | 2003-12-27 Michael Koch <konqueror@gmx.de> |
770 | ||
771 | * javax/print/attribute/ResolutionSyntax.java, | |
772 | javax/print/attribute/SetOfIntegerSyntax.java, | |
773 | javax/print/attribute/Size2DSyntax.java, | |
774 | javax/print/attribute/standard/Copies.java, | |
775 | javax/print/attribute/standard/JobImpressions.java, | |
776 | javax/print/attribute/standard/JobMediaSheets.java, | |
777 | javax/print/attribute/standard/NumberOfDocuments.java, | |
778 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
779 | javax/print/attribute/standard/PagesPerMinute.java, | |
780 | javax/print/attribute/standard/PagesPerMinuteColor.java, | |
781 | javax/print/attribute/standard/QueuedJobCount.java: | |
782 | Fixed typo (s/then/than/). | |
783 | ||
a4dc20a9 GL |
784 | 2003-12-27 Guilhem Lavaux <guilhem@kaffe.org> |
785 | ||
786 | * java/rmi/Naming.java (lookup): Check if the first character of the | |
787 | filename returned by URL.getFile() is a '/', only if it is the case | |
788 | we cut this first character and call the registry with the good name. | |
789 | (bind): Likewise. | |
790 | (rebind): Likewise. | |
791 | ||
45d51d7e GL |
792 | 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org> |
793 | Mark Wielaard <mark@klomp.org> | |
794 | ||
795 | * java/io/BufferedReader.java (BufferedReader): | |
796 | Throw IllegalArgumentException when size <= 0. | |
797 | (mark): Document and better exception message for negative | |
798 | readLimit IllegalArgumentException. | |
799 | (read(char[],int,int)): Throw IndexOutOfBoundsException | |
800 | if offset and count are not valid regarding buf. | |
801 | (skip): Throw IllegalArgumentException when count is negative. | |
802 | ||
88f2e103 GL |
803 | 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org> |
804 | ||
805 | * java/io/FileInputStream.java | |
806 | (FileInputStream(String)): Call FileInputStream(File). | |
807 | (FileInputStream(File)): Check whether the argument is a directory. | |
808 | ||
65ae2666 MK |
809 | 2003-12-26 Michael Koch <konqueror@gmx.de> |
810 | ||
811 | * Makefile.am (rmi_java_source_files): | |
812 | Added gnu/java/rmi/server/RMIVoidValue.java. | |
813 | * Makefile.in: Regenerated. | |
814 | ||
38910ebb GL |
815 | 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org> |
816 | Mark Wielaard <mark@klomp.org> | |
817 | ||
818 | * gnu/java/rmi/server/UnicastConnectionManager.java | |
819 | (startScavenger): Set the client connection manager to daemon | |
820 | state because it may block clients until TIMEOUT is reached | |
821 | when they are exiting. | |
822 | ||
823 | * gnu/java/rmi/RMIVoidValue.java: New file for a class representing | |
824 | a void return. | |
825 | ||
826 | * gnu/java/rmi/server/UnicastRemoteCall.java | |
827 | (DummyOutputStream): Add a boolean before each written field to | |
828 | know whether it is a primitive. | |
829 | (releaseOutputStream): Flush parameters at write time. | |
830 | ||
831 | * gnu/java/rmi/server/UnicastServerRef.java | |
832 | (incomingMessageCall): Return a RMIVoidValue if no value is to be | |
833 | returned. | |
834 | ||
835 | * gnu/java/rmi/server/UnicastServer.java | |
836 | (incomingMessageCall): Do not write a returned object if it is | |
837 | a RMIVoidValue. | |
838 | ||
365fc276 AT |
839 | 2003-12-25 Andreas Tobler <a.tobler@schweiz.ch> |
840 | ||
841 | * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for | |
842 | darwin. Fixed by fixinclude now. | |
843 | ||
d9a81e87 MK |
844 | 2003-12-25 Michael Koch <konqueror@gmx.de> |
845 | ||
846 | * java/net/ServerSocket.java bind(): | |
847 | If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as | |
848 | address to bind to. | |
849 | ||
692fb023 GL |
850 | 2003-12-23 Guilhem Lavaux <guilhem@kaffe.org> |
851 | ||
852 | * java/io/ObjectInputStream.java | |
853 | (getField): Handle transient and non persistent fields. | |
854 | (readClassDescriptor): Better error handling, use the right | |
855 | class loader. | |
856 | (readFields): Fields marked as not present in the stream | |
857 | or not to be set are not read and set. | |
858 | * java/io/ObjectInputStream.java | |
859 | (readFields): Changed implementation of GetField. | |
860 | (readClassDescriptor): Documented. | |
861 | * java/io/ObjectOutputStream.java | |
862 | (writeClassDescriptor): Added condition when to write class super | |
863 | class information. | |
864 | ||
baba70d0 FN |
865 | 2003-12-22 Fernando Nasser <fnasser@redhat.com> |
866 | ||
867 | * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to... | |
868 | (choicePostItemEvent): Change signature to more specific String object. | |
869 | * java/awt/Choice.java (add): Generate ItemEvent for the first item | |
870 | added. | |
871 | (insert): Generate ItemEvent if insertion caused | |
872 | selection to change. | |
873 | (remove): Generate ItemEvent if removal cause selection to change. | |
874 | (removeAll): Change algorithm to prevent generation of ItemEvents. | |
875 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
876 | (connect_choice_item_selectable_hook): Change argument type. | |
877 | Fix argument value. | |
878 | Make sure resources are feed by registering callback. | |
879 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the | |
880 | above function. | |
881 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto. | |
882 | (item_activate): Ditto. | |
883 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed | |
884 | menuitem. | |
885 | (item_removed): New function. Free resources. | |
886 | * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and | |
887 | name. | |
888 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
889 | (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for | |
890 | choicePostItemEvent. | |
891 | ||
32a2571b MK |
892 | 2003-12-23 Michael Koch <konqueror@gmx.de> |
893 | ||
894 | * javax/print/attribute/standard/Copies.java, | |
895 | javax/print/attribute/standard/JobImpressions.java, | |
896 | javax/print/attribute/standard/JobMediaSheets.java, | |
897 | javax/print/attribute/standard/JobPriority.java, | |
898 | javax/print/attribute/standard/NumberOfDocuments.java, | |
899 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
900 | javax/print/attribute/standard/NumberUp.java, | |
901 | javax/print/attribute/standard/PagesPerMinuteColor.java, | |
902 | javax/print/attribute/standard/PagesPerMinute.java, | |
903 | javax/print/attribute/standard/QueuedJobCount.java: New files. | |
904 | * Makefile.am (ordinary_java_source_files): Added new files. | |
905 | * Makefile.in: Regenerated. | |
906 | ||
c36d5c04 MK |
907 | 2003-12-23 Michael Koch <konqueror@gmx.de> |
908 | ||
909 | * javax/print/attribute/AttributeSetUtilities.java | |
910 | (verifyCategoryForValue): Renamed from verifyCategoryForAttribute. | |
911 | * javax/print/attribute/HashAttributeSet.java | |
912 | (HashAttributeSet): Call internal add methods, added missing | |
913 | exceptions. | |
914 | (add): Call addInternal, added exceptions to documentation. | |
915 | (addInternal): New method. | |
916 | (addAll): Call addAllInternal, added exception to documentation. | |
917 | (addAllInternal): New method. | |
918 | (clear): Added exception to documentation. | |
919 | (remove): Likewise. | |
920 | * javax/print/attribute/URISyntax.java | |
921 | (serialVersionUID): Fixed value. | |
922 | ||
a6444561 TF |
923 | 2003-12-22 Thomas Fitzsimmons <fitzsim@redhat.com> |
924 | ||
925 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
926 | (pre_event_handler): Don't dereference NULL focus_obj_ptr. | |
927 | ||
90f107de MK |
928 | 2003-12-21 Michael Koch <konqueror@gmx.de> |
929 | ||
930 | * javax/print/attribute/AttributeSetUtilities.java, | |
931 | javax/print/attribute/HashAttributeSet.java, | |
932 | javax/print/attribute/HashDocAttributeSet.java, | |
933 | javax/print/attribute/HashPrintJobAttributeSet.java, | |
934 | javax/print/attribute/HashPrintRequestAttributeSet.java, | |
935 | javax/print/attribute/HashPrintServiceAttributeSet.java: New files. | |
936 | * Makefile.am (ordinary_java_source_files): Added new files. | |
937 | * Makefile.in: Regenerated. | |
938 | ||
eb77256b MK |
939 | 2003-12-21 Michael Koch <konqueror@gmx.de> |
940 | ||
941 | * javax/print/attribute/EnumSyntax.java, | |
942 | javax/print/attribute/SetOfIntegerSyntax.java: New files. | |
943 | * Makefile.am (ordinary_java_source_files): | |
944 | Added javax/print/attribute/EnumSyntax.java | |
945 | and javax/print/attribute/SetOfIntegerSyntax.java. | |
946 | * Makefile.in: Regenerated. | |
947 | ||
5b24813d MK |
948 | 2003-12-21 Michael Koch <konqueror@gmx.de> |
949 | ||
950 | * javax/print/attribute/PrintJobAttribute.java, | |
951 | javax/print/attribute/PrintJobAttributeSet.java, | |
952 | javax/print/attribute/PrintRequestAttribute.java, | |
953 | javax/print/attribute/PrintServiceAttribute.java, | |
954 | javax/print/attribute/PrintServiceAttributeSet.java, | |
955 | javax/print/attribute/SupportedValuesAttribute.java: New files. | |
956 | * Makefile.am (ordinary_java_source_files): Added new files. | |
957 | * Makefile.in: Regenerated. | |
958 | ||
b8ddbd2d MK |
959 | 2003-12-21 Michael Koch <konqueror@gmx.de> |
960 | ||
961 | * javax/print/attribute/DateTimeSyntax.java, | |
962 | javax/print/attribute/DocAttribute.java, | |
963 | javax/print/attribute/DocAttributeSet.java, | |
964 | javax/print/attribute/IntegerSyntax.java, | |
965 | javax/print/attribute/ResolutionSyntax.java, | |
966 | javax/print/attribute/Size2DSyntax.java, | |
967 | javax/print/attribute/TextSyntax.java, | |
968 | javax/print/attribute/URISyntax.java, | |
969 | javax/print/attribute/UnmodifiableSetException.java: New files. | |
970 | * Makefile.am (ordinary_java_source_files): Added new files. | |
971 | * Makefile.in: Regenerated. | |
972 | ||
59bed4ca MK |
973 | 2003-12-21 Michael Koch <konqueror@gmx.de> |
974 | ||
975 | * gnu/java/net/PlainDatagramSocketImpl.java | |
976 | (mcastGrp): Added documentation. | |
977 | ||
4e24f937 MK |
978 | 2003-12-20 Michael Koch <konqueror@gmx.de> |
979 | ||
980 | * gnu/java/net/protocol/jar/Connection.java | |
981 | (connectionCache): New field. | |
982 | (connect): New method. | |
983 | (getInputStream): New method. | |
984 | (hdrHash): New field. | |
985 | (hdrVec): New field. | |
986 | (gotHeaders): New field. | |
987 | (getHeaderField): New method. | |
988 | (getHeaderFields): New method. | |
989 | (getHeaderFieldKey): New method. | |
990 | (getKey): New method. | |
991 | (getField): New method. | |
992 | (getHeaders): New method. | |
993 | * java/net/JarURLConnection.java | |
994 | (connectionCache): Removed. | |
995 | (connect): Removed. | |
996 | (getInputStream): Removed. | |
997 | (hdrHash): Removed. | |
998 | (hdrVec): Removed. | |
999 | (gotHeaders): Removed. | |
1000 | (getHeaderField): Removed. | |
1001 | (getHeaderFields): Removed. | |
1002 | (getHeaderFieldKey): Removed. | |
1003 | (getKey): Removed. | |
1004 | (getField): Removed. | |
1005 | (getHeaders): Removed. | |
1006 | ||
70d26e81 MK |
1007 | 2003-12-20 Michael Koch <konqueror@gmx.de> |
1008 | ||
1009 | * java/io/ObjectStreamField.java (isUnshared): Added documentation. | |
1010 | ||
677f99cc ME |
1011 | 2003-12-20 Mohan Embar <gnustuff@thisiscool.com> |
1012 | ||
1013 | * gnu/java/nio/SelectorImpl.java | |
1014 | (selectThreadMutex): New field. | |
1015 | (selectThread): New field. | |
1016 | (unhandledWakeup): New field. | |
1017 | (implCloseSelector): Added skeleton code which | |
1018 | synchronizes as per Sun JRE JavaDoc. | |
1019 | (keys): Throw ClosedSelectorException if selector | |
1020 | is closed. | |
1021 | (selectNow): Added comment that we're faking out | |
1022 | an immediate select with a one-microsecond-timeout one. | |
1023 | (select): Use 0 instead of -1 for infinite timeout. | |
1024 | (implSelect): Changed comment in declaration. | |
1025 | (select): Added synchronized to method declaration. | |
1026 | Added synchronization and wakeup support as per Sun | |
1027 | JRE JavaDoc. | |
1028 | (selectedKeys): Throw ClosedSelectorException if selector | |
1029 | is closed. | |
1030 | (wakeup): Implemented. | |
1031 | (deregisterCancelledKeys): Synchronize on cancelled key | |
1032 | set before deregistering. | |
1033 | (register): Synchronize on key set before registering. | |
1034 | * java/nio/channels/spi/AbstractSelector.java | |
1035 | Added import for java.nio.channels.ClosedSelectorException. | |
1036 | (close): Added synchronized to method declaration. | |
1037 | (cancelledKeys): Throw ClosedSelectorException if selector | |
1038 | is closed. | |
1039 | (cancelKey): Synchronize on cancelled key set before key. | |
1040 | ||
59687e18 MK |
1041 | 2003-12-20 Michael Koch <konqueror@gmx.de> |
1042 | ||
1043 | * Makefile.am (ordinary_java_source_files): | |
1044 | Added gnu.java.net.URLParseError.java. | |
1045 | * Makefile.in: Regenerated. | |
1046 | ||
32ab41ed GL |
1047 | 2003-12-20 Guilhem Lavaux <guilhem@kaffe.org> |
1048 | ||
1049 | * gnu/java/net/URLParseError.java: New file. | |
1050 | * gnu/java/net/protocol/jar/Handler.java | |
1051 | (parseURL): Throw URLParseError if needed, fix '/' handling. | |
1052 | * java/net/URL.java (URL): Catch URLParseError and | |
1053 | transform it into a MalformedURLException. | |
1054 | ||
01da2667 MK |
1055 | 2003-12-19 Michael Koch <konqueror@gmx.de> |
1056 | ||
1057 | * gnu/java/nio/ChannelOutputStream.java: New file. | |
1058 | * java/nio/channels/Channels.java | |
1059 | (newOutputStream): Implemented. | |
1060 | * Makefile.am (ordinary_java_source_files) | |
1061 | Added gnu/java/nio/ChannelOutputStream.java. | |
1062 | * Makefile.in: Regenerated. | |
1063 | ||
a0687c1f TF |
1064 | 2003-12-19 Thomas Fitzsimmons <fitzsim@redhat.com> |
1065 | ||
1066 | * java/awt/FlowLayout.java (layoutContainer): Let components | |
1067 | assume their preferred height. Centre components vertically. | |
1068 | ||
26392535 MK |
1069 | 2003-12-19 Michael Koch <konqueror@gmx.de> |
1070 | ||
1071 | * gnu/java/nio/ChannelInputStream.java: New file. | |
1072 | * java/nio/channels/Channels.java (newInputStream): Implemented. | |
1073 | * java/nio/channels/FileChannelImpl.java | |
1074 | (readImpl): Only put data into buffer if something was read. | |
1075 | * Makefile.am (ordinary_java_source_files): | |
1076 | Added gnu/java/nio/ChannelInputStream.java. | |
1077 | * Makefile.in: Regenerated. | |
1078 | ||
9175d628 MK |
1079 | 2003-12-19 Michael Koch <konqueror@gmx.de> |
1080 | ||
1081 | * gnu/java/nio/OutputStreamChannel.java: New file. | |
1082 | * java/nio/channels/Channels.java (newChannel): Implemented. | |
1083 | * Makefile.am (ordinary_java_source_files): | |
1084 | Added gnu/java/nio/OutputStreamChannel.java. | |
1085 | * Makefile.in: Regenerated. | |
1086 | ||
71646cb7 MK |
1087 | 2003-12-19 Michael Koch <konqueror@gmx.de> |
1088 | ||
1089 | * Makefile.am (ordinary_java_source_files): | |
1090 | Added gnu.java.nio.InputStreamChannel. | |
1091 | * Makefile.in: Regenerated. | |
1092 | ||
b8362a23 MK |
1093 | 2003-12-19 Michael Koch <konqueror@gmx.de> |
1094 | ||
1095 | * gnu/java/nio/InputStreamChannel.java: New file. | |
1096 | * java/nio/channels/Channels.java (newChannel): Implemented. | |
1097 | ||
c05fc0c2 MK |
1098 | 2003-12-19 Michael Koch <konqueror@gmx.de> |
1099 | ||
1100 | * java/util/SimpleTimeZone.java | |
1101 | (setStartRule): Reformated documentation. | |
1102 | (setEndRule): Reworked documentation. | |
1103 | (getDSTSavings): Fixed @since tag. | |
1104 | (setDSTSavings): New method. | |
1105 | ||
b2fbbf56 MK |
1106 | 2003-12-19 Michael Koch <konqueror@gmx.de> |
1107 | ||
1108 | * java/text/NumberFormat.java: Sorted imports. | |
1109 | (getCurrency): New method. | |
1110 | (setCurrency): New method. | |
1111 | ||
1112 | ||
f1af10c2 MK |
1113 | 2003-12-19 Michael Koch <konqueror@gmx.de> |
1114 | ||
1115 | * java/text/MessageFormat.java | |
1116 | (MessageFormat): New constructor. | |
1117 | ||
177dcc4b MK |
1118 | 2003-12-19 Michael Koch <konqueror@gmx.de> |
1119 | ||
1120 | * gnu/java/net/protocol/jar/Handler.java | |
1121 | (parseURL): New method. | |
1122 | (toExternalForm): New method. | |
1123 | ||
d416de05 FN |
1124 | 2003-12-18 Fernando Nasser <fnasser@redhat.com> |
1125 | ||
1126 | * java/awt/List.java (replaceItem): Prevent selection to move with | |
1127 | replace and minimize flickering. | |
1128 | ||
f37d2ca6 MK |
1129 | 2003-12-18 Michael Koch <konqueror@gmx.de> |
1130 | ||
1131 | * libltdl/ltdl.c: Define __private_extern__ if needed. | |
1132 | ||
c09f797a MK |
1133 | 2003-12-18 Michael Koch <konqueror@gmx.de> |
1134 | ||
1135 | * libltdl/.cvsignore: Ignore autom4te.cache | |
1136 | * libltdl/Makefile.in: Regenerated. | |
1137 | * libltdl/aclocal.m4: Regenerated. | |
1138 | * libltdl/acconfig.h: Removed (obsolete). | |
1139 | * libltdl/config-h.in: Regenerated. | |
1140 | * libltdl/configure.ac: Added AM_MAINTAINER_MODE. | |
1141 | * libltdl/configure: Regenerated. | |
1142 | ||
28e4696c MK |
1143 | 2003-12-18 Michael Koch <konqueror@gmx.de> |
1144 | ||
1145 | * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and | |
1146 | java.text.CollationElementIterator tests as they compile again. | |
1147 | * testsuite/libjava.mauve/xfails: Added failing | |
1148 | java.text.CollationElementIterator tests. | |
1149 | ||
a7296ae1 MK |
1150 | 2003-12-18 Michael Koch <konqueror@gmx.de> |
1151 | ||
1152 | * java/util/prefs/AbstractPreferences.java | |
1153 | (cachedChildren): New method. | |
1154 | ||
e969bcdb MK |
1155 | 2003-12-18 Michael Koch <konqueror@gmx.de> |
1156 | ||
1157 | * java/util/TimeZone.java (getOffset): New method. | |
1158 | ||
f84241ba FN |
1159 | 2003-12-17 Fernando Nasser <fnasser@redhat.com> |
1160 | ||
1161 | * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation | |
1162 | of ActionEvents for mouse double-clicks. | |
1163 | ||
1164 | 2003-12-17 Fernando Nasser <fnasser@redhat.com> | |
310b075b FN |
1165 | |
1166 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for | |
1167 | null Graphics pointer returned by FileDialogPeer. | |
1168 | ||
8f0f6aa1 MK |
1169 | 2003-12-17 Michael Koch <konqueror@gmx.de> |
1170 | ||
1171 | * libltdl/stamp-h.in: Removed, not used anymore. | |
1172 | ||
89c57110 ME |
1173 | 2003-12-16 Mohan Embar <gnustuff@thisiscool.com> |
1174 | ||
1175 | * gnu/java/net/natPlainDatagramSocketImplWin32.cc: | |
1176 | Removed unused InterruptedIOException.h include. | |
1177 | * gnu/java/net/natPlainSocketImplWin32.cc | |
1178 | (connect): Reset and ignore our thread's interrupted | |
1179 | flag instead of testing and throwing an InterruptedIOException | |
1180 | if set. | |
1181 | (accept): Likewise + changed case of SocketTimeoutException | |
1182 | text. | |
1183 | (write): Likewise (for both overloads). | |
1184 | (doRead): Likewise. | |
1185 | ||
5cd4d463 ME |
1186 | 2003-12-16 Mohan Embar <gnustuff@thisiscool.com> |
1187 | ||
1188 | * win32.cc (WSAEventWrapper): Implemented default | |
1189 | constructor and init() methods. | |
1190 | (_Jv_select): Removed. | |
1191 | * gnu/java/nio/natSelectorImplWin32.cc | |
1192 | (helper_put_filedescriptors): Removed. | |
1193 | (helper_get_filedescriptors): Removed. | |
1194 | (implSelect): Implemented in terms of WSAEventWrapper | |
1195 | and WSAWaitForMultipleEvents instead of _Jv_select(). | |
1196 | Added support for thread interruption. | |
1197 | * include/win32.h (WSAEventWrapper): Minor formatting | |
1198 | changes; added default constructor declaration, init(), | |
1199 | getFD() and getEventHandle() methods. | |
1200 | (_Jv_select): Removed. | |
1201 | ||
027e655b ME |
1202 | 2003-12-16 Mohan Embar <gnustuff@thisiscool.com> |
1203 | ||
1204 | * gnu/java/net/natPlainDatagramSocketImplPosix.cc | |
1205 | (peekData): Throw SocketTimeoutException instead of | |
1206 | InterruptedIOException on timeout. | |
1207 | (receive): Likewise. | |
1208 | * gnu/java/net/natPlainSocketImplPosix.cc | |
1209 | (read): Made a minor exception text case change. | |
1210 | ||
9e129d90 MK |
1211 | 2003-12-16 Michael Koch <konqueror@gmx.de> |
1212 | ||
1213 | Fix for PR libgcj/13056. | |
1214 | * libltdl/configure.in, | |
1215 | libltdl/config.h.in: Removed. | |
1216 | * libltdl/configure.ac, | |
1217 | libltdl/config-h.in, | |
1218 | libltdl/install-sh, | |
1219 | libltdl/config.guess, | |
1220 | libltdl/config.sub, | |
1221 | libltdl/missing, | |
1222 | libltdl/mkinstalldirs, | |
1223 | libltdl/ltmain.sh: New files. | |
1224 | * libltdl/Makefile.am, | |
1225 | libltdl/acinclude.m4, | |
1226 | libltdl/aclocal.m4, | |
1227 | libltdl/ltdl.c, | |
1228 | libltdl/ltdl.h, | |
1229 | libltdl/README: Update to versions from libtool 1.5. | |
1230 | libltdl/configure, | |
1231 | * libltdl/Makefile.in: Regenerated. | |
1232 | * java/lang/natRuntime.cc (find_symbol): | |
1233 | Use type 'lt_ptr' instead of 'lt_ptr_t'. | |
1234 | ||
08a5a9a6 MK |
1235 | 2003-12-16 Michael Koch <konqueror@gmx.de> |
1236 | ||
1237 | * java/awt/MenuComponent.java | |
1238 | (serialVersionUID): Fixed value. | |
1239 | ||
aeb54188 FN |
1240 | 2003-12-16 Fernando Nasser <fnasser@redhat.com> |
1241 | ||
1242 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
1243 | (pre_event_handler): Handle GtkButton widgets differently as events | |
1244 | go to its event_window. | |
1245 | (connect_awt_hook): Remove compiler warning. | |
1246 | ||
649a1a47 GL |
1247 | i2003-12-16 Guilhem Lavaux <guilhem@kaffe.org> |
1248 | ||
1249 | * java/io/ObjectInputStream.java | |
1250 | (lookupClass): New method. | |
1251 | (currentLoader): New method. | |
1252 | (inputGetObjectStreamClasses): New method. | |
1253 | (assignNewHandle): Documented. | |
1254 | (currentClassLoader): Documented. | |
1255 | * java/io/ObjectStreamClass.java | |
1256 | (setClass): Changed API. Better handling of the imported/exported | |
1257 | fields. | |
1258 | (getSerialPersistentFields): Make it throw previously caught exceptions | |
1259 | so they can handled in setClass. | |
1260 | ||
7110657e GL |
1261 | 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org> |
1262 | ||
1263 | * java/io/ObjectStreamField.java: A few methods were added in prevision | |
1264 | of the upcoming upgrade of the serialization code. This also adds | |
1265 | some missing documentation. | |
1266 | (ObjectStreamField): We should throw a NullPointerException when 'name' | |
1267 | is null. | |
1268 | ||
9a3a96d0 GL |
1269 | 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org> |
1270 | ||
1271 | * java/io/ObjectInputStream.java (setBooleanField): | |
1272 | Throw an InvalidClassException if the field hasn't the required type, | |
1273 | documentation added. | |
1274 | (setByteField) Likewise. | |
1275 | (setCharField) Likewise. | |
1276 | (setDoubleField) Likewise. | |
1277 | (setFloatField) Likewise. | |
1278 | (setIntField) Likewise. | |
1279 | (setShortField) Likewise. | |
1280 | (setLongField) Likewise. | |
1281 | (setObjectField) Likewise. | |
1282 | ||
5ecc3a76 GL |
1283 | 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org> |
1284 | Helmer Kraemer <hkraemer@freenet.de> | |
1285 | ||
1286 | * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding): | |
1287 | Splitted the method so we can specify an explicit boot loader. | |
1288 | ||
61a8f1ed GH |
1289 | 2003-12-15 Graydon Hoare <graydon@redhat.com> |
1290 | ||
1291 | * jni/gtk-peer/gdkfont.h: New file. | |
1292 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove | |
1293 | include of cairo-xlib.h, add extra gdk_flush(). | |
1294 | ||
7ecd4576 FN |
1295 | 2003-12-12 Fernando Nasser <fnasser@redhat.com> |
1296 | ||
1297 | * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second | |
1298 | native state table -- native_global_ref_table. | |
1299 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define | |
1300 | native_global_ref_table pointer. | |
1301 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1302 | (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI | |
1303 | global reference is deleted and memory allocated for pointer freed. | |
1304 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved | |
1305 | JNI global reference instead of JNI local reference. | |
1306 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
1307 | (pre_event_handler): Remove compilation warning. | |
1308 | (connect_awt_hook): Use saved JNI global reference instead of creating | |
1309 | a new one. | |
1310 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
1311 | (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global | |
1312 | reference to the Java object. | |
1313 | (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove | |
1314 | unused variable declaration and add comment. | |
1315 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c | |
1316 | (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global | |
1317 | reference to the Java object. | |
1318 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c | |
1319 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto. | |
1320 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
1321 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto. | |
1322 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved | |
1323 | JNI global reference instead of JNI local reference. | |
1324 | (item_toggled): Add debug statement. | |
1325 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
1326 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global | |
1327 | reference to the Java object. | |
1328 | (connect_choice_item_selectable_hook): Use saved JNI global references | |
1329 | instead of JNI local reference. | |
1330 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c | |
1331 | (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI | |
1332 | global reference to the Java object. | |
1333 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
1334 | (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global | |
1335 | reference to the Java object. | |
1336 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c | |
1337 | (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto. | |
1338 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | |
1339 | (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto. | |
1340 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
1341 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto. | |
1342 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c | |
1343 | (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto. | |
1344 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
1345 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto. | |
1346 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c | |
1347 | (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto. | |
1348 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
1349 | (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto. | |
1350 | (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved | |
1351 | JNI global reference instead of JNI local reference. | |
1352 | (item_selected): Add debug statement. | |
1353 | (item_unselected): Add debug statement. | |
1354 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | |
1355 | (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global | |
1356 | reference to the Java object. | |
1357 | Connect "activate" signal handler using global JNI reference. | |
1358 | (connect_activate_hook): Removed in favor of inline code. | |
1359 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c | |
1360 | (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global | |
1361 | reference to the Java object. | |
1362 | (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved | |
1363 | JNI global reference instead of JNI local reference. Add FIXME comment. | |
1364 | (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global | |
1365 | reference to the Java object. Add FIXME comment. | |
1366 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c | |
1367 | (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global | |
1368 | reference to the Java object. | |
1369 | (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved | |
1370 | JNI global reference instead of JNI local reference. | |
1371 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
1372 | (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use | |
1373 | saved JNI global reference instead of JNI local reference. | |
1374 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
1375 | (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global | |
1376 | reference to the Java object. | |
1377 | (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved | |
1378 | JNI global reference instead of JNI local reference. | |
1379 | ||
226c4112 MK |
1380 | 2003-12-11 Michael Koch <konqueror@gmx.de> |
1381 | ||
1382 | * java/text/Format.java (serialVersionUID): Fixed value. | |
1383 | ||
7b9b3ed3 MK |
1384 | 2003-12-11 Michael Koch <konqueror@gmx.de> |
1385 | ||
1386 | * javax/naming/event/EventDirContext.java: Jalopied. | |
1387 | (addNamingListener): Fixed typo in method name. | |
1388 | ||
1389 | ||
c1fb3625 ME |
1390 | 2003-12-11 Mohan Embar <gnustuff@thisiscool.com> |
1391 | ||
1392 | * gnu/java/nio/SocketChannelImpl.java | |
1393 | (write): Removed diagnostic trace. | |
1394 | * gnu/java/nio/natSelectorImplPosix.cc: Added | |
1395 | includes for java.lang.Thread and java.io.InterruptedIOException. | |
1396 | (helper_put_filedescriptors): Don't put invalid file descriptors | |
1397 | in select set. | |
1398 | (helper_get_filedescriptors): Clear invalid file descriptors | |
1399 | from select set. | |
1400 | (helper_reset): New method for clearing our file descriptor | |
1401 | array. | |
1402 | (implSelect): Correctly calculate timeout if specified and | |
1403 | legal. | |
1404 | Intercept and deal with any java.io.InterruptedIOException | |
1405 | thrown by _Jv_select(). | |
1406 | ||
834b1209 FN |
1407 | 2003-12-08 Fernando Nasser <fnasser@redhat.com> |
1408 | ||
1409 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): | |
1410 | Most coded moved to pre_event_handler, with the modifications | |
1411 | mentioned below. | |
1412 | (pre_event_handler): New function. Called on the Gtk "event" signal. | |
1413 | Do not retrieve the jobject from the window property as it is already | |
1414 | available as user data in the signal. | |
1415 | Do not try and find the grab widget as it is already done by Gtk at | |
1416 | this point. | |
1417 | Do not search for Window ancestor as Gtk already sends the signal to it. | |
1418 | Do not meddle with the activation state of peer widgets on each | |
1419 | key press or release. | |
1420 | Add CList to the special handling when looking for the focused widget. | |
1421 | * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler. | |
1422 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject): | |
1423 | New function. | |
1424 | (connectSignals): New function. | |
1425 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks): | |
1426 | Rename to... | |
1427 | (connectSignals): New name. Get rid of NewGlobalRef call. | |
1428 | Use g_signal_connect instead of deprecated gtk_signal_connect. | |
1429 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
1430 | (connect_choice_item_selectable_hook): Use g_signal_connect instead of | |
1431 | deprecated gtk_signal_connect. | |
1432 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c | |
1433 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | |
1434 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
1435 | (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto. | |
1436 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1437 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove | |
1438 | function. | |
1439 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New | |
1440 | function. | |
1441 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New | |
1442 | function. | |
1443 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
1444 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove | |
1445 | function. | |
1446 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New | |
1447 | function. | |
1448 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
1449 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove | |
1450 | function. | |
1451 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New | |
1452 | function. | |
1453 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New | |
1454 | function. | |
1455 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead | |
1456 | code. | |
1457 | (item_select): Remove indirection. | |
1458 | (item_unselect): Ditto. | |
1459 | (connect_selectable_hook): Folded into connectSignals. | |
1460 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c | |
1461 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove | |
1462 | function. | |
1463 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New | |
1464 | function. | |
1465 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New | |
1466 | function. | |
1467 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto. | |
1468 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
1469 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
1470 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove | |
1471 | function. | |
1472 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New | |
1473 | function. | |
1474 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare and call | |
1475 | connectJObject and connectSignals instead of connectHooks. | |
1476 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and | |
1477 | connectSignals. | |
1478 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals | |
1479 | and not connectHooks. | |
1480 | * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto. | |
1481 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject | |
1482 | and not connectHooks. | |
1483 | * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and | |
1484 | connectSignals instead of connectHooks. | |
1485 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto. | |
1486 | * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto. | |
1487 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. | |
1488 | ||
579ed987 MK |
1489 | 2003-12-09 Michael Koch <konqueror@gmx.de> |
1490 | ||
1491 | * Makefile.am (nat_headers_install): New variable with header files to | |
1492 | install automatically. | |
1493 | (install-data-local): Install all headers listed in | |
1494 | nat_headers_install. Install innert nat headers explicitely. | |
1495 | * Makefile.in: Regenerated. | |
1496 | ||
3a7ab7e8 MK |
1497 | 2003-12-09 Michael Koch <konqueror@gmx.de> |
1498 | ||
1499 | * java/util/Calendar.java, | |
1500 | java/util/IdentityHashMap.java, | |
1501 | java/util/prefs/Preferences.java: | |
1502 | Import used classes explicitely. | |
1503 | ||
defd7921 MK |
1504 | 2003-12-09 Michael Koch <konqueror@gmx.de> |
1505 | ||
1506 | * java/net/DatagramSocket.java | |
1507 | (close): Directly return if socket is closed. | |
1508 | * java/net/ServerSocket.java | |
1509 | (close): Directly return if socket is closed. | |
1510 | * java/net/Socket.java | |
1511 | (close): Directly return if socket is closed. | |
1512 | ||
25a23f3b MK |
1513 | 2003-12-09 Michael Koch <konqueror@gmx.de> |
1514 | ||
1515 | * gnu/java/nio/SelectorImpl.java | |
1516 | (implSelect): Throws IOException. | |
1517 | (select): Likewise. | |
1518 | ||
bc67c73d KH |
1519 | 2003-12-08 Kim Ho <kho@redhat.com> |
1520 | ||
1521 | Fix for Checkbox states. | |
1522 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: | |
1523 | (currentState): New field. | |
1524 | (nativeCreate): Add initial state parameter. | |
1525 | (create): Changed to reflect new parameter. | |
1526 | (setState): Fire only on changed states. | |
1527 | (postItemEvent): Fire only on changed states. Also change the | |
1528 | Java Checkbox to reflect new state. | |
1529 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: | |
1530 | (nativeCreate): Add parameter and set active state. | |
1531 | ||
82650cb7 FN |
1532 | 2003-12-08 Fernando Nasser <fnasser@redhat.com> |
1533 | ||
1534 | * java/awt/datatransfer/StringSelection.java (getTransferData): Return | |
1535 | object of type expected by specified DataFlavor. | |
1536 | ||
453d6cba FN |
1537 | 2003-12-08 Fernando Nasser <fnasser@redhat.com> |
1538 | ||
1539 | * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one | |
1540 | error which was clipping off the first character of a parameter value. | |
1541 | ||
1616b0d5 OR |
1542 | 2003-12-08 Olga Rodimina <rodimina@redhat.com> |
1543 | ||
1544 | * java/awt/Polygon.java | |
1545 | (translate): Fixed error that caused polygon | |
1546 | to move right/left when up/down translation was required. | |
1547 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: | |
1548 | (getSelectionStart): Initialized start position to 0. | |
1549 | (getSelectionEnd): Initialized end position to 0. | |
1550 | (getCaretPosition): Initialized caret position to 0. | |
1551 | (getText): Initialized selected text to NULL | |
1552 | ||
cfeb18db MK |
1553 | 2003-12-08 Michael Koch <konqueror@gmx.de> |
1554 | ||
1555 | Fix for PR libgcj/13176. | |
1556 | * java/io/PrintStream.java: Partly revert my previous patches to get | |
1557 | (line_separator): New field. | |
1558 | (converter): New field. | |
1559 | (work): New field. | |
1560 | (work_bytes): New field. | |
1561 | (pw): Removed. | |
1562 | (closed): Removed. | |
1563 | (PrintStrean): Initialize converter and not pw. | |
1564 | (checkError): Flush always, pw doesn't exist anymore. | |
1565 | (close): Close underlying out stream. | |
1566 | (print): New method. | |
1567 | (writeChars): New method. | |
1568 | (print): Use new internal print method. | |
1569 | (println): Likewise. | |
1570 | ||
0f46e428 BM |
1571 | 2002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz> |
1572 | ||
4e8537ae BM |
1573 | * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not |
1574 | putAllInternal. | |
0f46e428 BM |
1575 | (putAllInternal): Correct comment. |
1576 | * java/util/HashMap.java (HashMap(Map)): As above. | |
1577 | (putAllInternal): As above. | |
1578 | ||
eb1e64ef BM |
1579 | 2002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz> |
1580 | ||
1581 | * java/util/Hashtable.java (internalContainsValue): Removed. | |
1582 | (containsValue): Don't delegate to internalContainsValue. | |
1583 | ||
929a3294 MK |
1584 | 2003-12-06 Michael Koch <konqueror@gmx.de> |
1585 | ||
1586 | * javax/naming/directory/Attribute.java, | |
1587 | javax/naming/directory/Attributes.java, | |
1588 | javax/naming/directory/DirContext.java, | |
1589 | javax/naming/directory/InitialDirContext.java, | |
1590 | javax/naming/directory/SearchResult.java, | |
1591 | javax/naming/event/EventContext.java, | |
1592 | javax/naming/event/NamingEvent.java, | |
1593 | javax/naming/event/NamingExceptionEvent.java, | |
1594 | javax/naming/ldap/ControlFactory.java, | |
1595 | javax/naming/ldap/ExtendedRequest.java, | |
1596 | javax/naming/ldap/HasControls.java, | |
1597 | javax/naming/ldap/InitialLdapContext.java, | |
1598 | javax/naming/ldap/LdapContext.java, | |
1599 | javax/naming/ldap/LdapReferralException.java, | |
1600 | javax/naming/ldap/UnsolicitedNotification.java, | |
1601 | javax/naming/ldap/UnsolicitedNotificationListener.java, | |
1602 | javax/naming/spi/DirObjectFactory.java, | |
1603 | javax/naming/spi/DirStateFactory.java, | |
1604 | javax/naming/spi/DirectoryManager.java, | |
1605 | javax/naming/spi/NamingManager.java, | |
1606 | javax/naming/spi/ObjectFactoryBuilder.java, | |
1607 | javax/naming/spi/ResolveResult.java, | |
1608 | javax/naming/spi/Resolver.java, | |
1609 | javax/naming/spi/StateFactory.java: | |
1610 | Import used classes explicitely. | |
1611 | ||
b3e4bb03 SG |
1612 | 2003-12-05 Scott Gilbertson <scottg@mantatest.com> |
1613 | ||
1614 | * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument. | |
1615 | (clip): Removed field | |
1616 | (clipRectangles): New field. | |
1617 | (clone): Use new updateClip. | |
1618 | (setClipRectangles): Use new updateClip. | |
1619 | * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles. | |
1620 | ||
a0a8f530 MK |
1621 | 2003-12-04 Michael Koch <konqueror@gmx.de> |
1622 | ||
1623 | * java/io/FilePermission.java: | |
1624 | Import used classes explicitely. | |
1625 | ||
cb611e3e MK |
1626 | 2003-12-04 Michael Koch <konqueror@gmx.de> |
1627 | ||
1628 | * java/beans/BeanDescriptor.java, | |
1629 | java/beans/EventSetDescriptor.java, | |
1630 | java/beans/FeatureDescriptor.java, | |
1631 | java/beans/IndexedPropertyDescriptor.java, | |
1632 | java/beans/Introspector.java, | |
1633 | java/beans/MethodDescriptor.java, | |
1634 | java/beans/PropertyDescriptor.java, | |
1635 | java/beans/SimpleBeanInfo.java: Explicitely import used classes. | |
1636 | * java/beans/beancontext/BeanContextServicesSupport.java | |
1637 | (serialVersionUID): New field. | |
1638 | ||
02bec8cb MK |
1639 | 2003-12-04 Michael Koch <konqueror@gmx.de> |
1640 | ||
1641 | * java/awt/MenuComponent.java: Import java.io.Serialization. | |
1642 | * java/awt/MenuItem.java: Likewise. | |
1643 | * java/awt/TextComponent.java: Likewise. | |
1644 | * java/awt/image/ImagingOpException.java | |
1645 | (serialVersionUID): Fixed. | |
1646 | ||
89231ff0 MK |
1647 | 2003-12-04 Michael Koch <konqueror@gmx.de> |
1648 | ||
1649 | * gnu/java/net/protocol/http/Connection.java | |
1650 | (sendRequest): Merged writing http headers with classpath. | |
1651 | (getInputStream): Merged documentation from classpath. | |
1652 | (getHeaderField): Likewise. | |
1653 | (getHeaderFieldKey): Likewise. | |
1654 | ||
a9f8f33a MK |
1655 | 2003-12-04 Michael Koch <konqueror@gmx.de> |
1656 | ||
1657 | * boehm.cc (_Jv_MarkObj): Access hack_signers field. | |
1658 | ||
47791352 MK |
1659 | 2003-12-04 Michael Koch <konqueror@gmx.de> |
1660 | ||
1661 | * java/net/DatagramPacket.java | |
1662 | (length): Made packge-private to make it accessible via CNI. | |
1663 | (maxlen): New field. | |
1664 | (DatagramPacket): Cleaned up. | |
1665 | (setSocketAddress): Add message to exception. | |
1666 | (setData): Call other setData(). | |
1667 | (setData): Call setLength(). | |
1668 | (setLength): Initialize maxlen too. | |
1669 | * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData): | |
1670 | Get maximal length from maxlen field, set length field directly. | |
1671 | (receive): Likewise. | |
1672 | * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData): | |
1673 | Get maximal length from maxlen field, set length field directly. | |
1674 | (receive): Likewise. | |
1675 | ||
148c8e7b ME |
1676 | 2003-12-03 Mohan Embar <gnustuff@thisiscool.com> |
1677 | ||
1678 | * gnu/java/nio/natSelectorImplPosix.cc | |
1679 | (implSelect): A timeout of 0 means an infinite | |
1680 | timeout. | |
1681 | ||
26d86d94 FN |
1682 | 2003-12-02 Fernando Nasser <fnasser@redhat.com> |
1683 | ||
1684 | * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation | |
1685 | of ActionEvents. | |
1686 | ||
b7e0ff45 MK |
1687 | 2003-12-03 Michael Koch <konqueror@gmx.de> |
1688 | ||
1689 | * java/lang/Class.h (hack_signers): Renamed signers to hack_signers. | |
1690 | * java/lang/natClass.cc (getSigners): Likewise. | |
1691 | (setSigners): Likewise. | |
1692 | ||
83c02e38 ME |
1693 | 2003-12-02 Mohan Embar <gnustuff@thisiscool.com> |
1694 | ||
1695 | * configure.in: Added new MinGW-specific configure flag | |
1696 | --with-win32-nlsapi. | |
1697 | Added new AC_DEFINE MINGW_LIBGCJ_UNICODE. | |
1698 | Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi | |
1699 | is set to unicows. | |
1700 | * configure: Rebuilt. | |
1701 | * include/config.h.in: Rebuilt. | |
1702 | * win32.cc (_Jv_Win32NewString): Implemented. | |
1703 | (nativeToUnicode): New helper function defined only for | |
1704 | non-UNICODE builds. | |
1705 | (unicodeToNative): Likewise. | |
1706 | (_Jv_Win32TempString): Implemented. | |
1707 | (lots): Refactored using tchar.h macros. | |
1708 | (WSAEventWrapper): Use _Jv_Win32NewString. | |
1709 | (_Jv_platform_initialize): Use GetModuleFileNameA instead | |
1710 | of GetModuleFileName. | |
1711 | (_Jv_platform_initProperties): Use _Jv_Win32NewString. | |
1712 | Use temporary stack buffer instead of a heap buffer. | |
1713 | * include/win32.h | |
1714 | Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is | |
1715 | defined; added tchar.h include. | |
1716 | (_Jv_Win32TempString): Declared new helper class. | |
1717 | (JV_TEMP_STRING_WIN32): New helper macro. | |
1718 | (_Jv_Win32NewString): Declared new helper method. | |
1719 | * java/io/natFileDescriptorWin32.cc (open): Use | |
1720 | JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING. | |
1721 | (write): Reformatted slightly. | |
1722 | * java/io/natFileWin32.cc (lots): Use tchar.h macros; | |
1723 | use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING. | |
1724 | (getCanonicalPath): Use _Jv_Win32NewString instead of | |
1725 | JvNewStringUTF. | |
1726 | (performList): Likewise. | |
1727 | * java/lang/natWin32Process.cc (ChildProcessPipe): | |
1728 | Use tchar.h macros. | |
1729 | (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32, | |
1730 | and UNICODE environment flag for CreateProcess. | |
1731 | * java/net/natNetworkInterfaceWin32.cc | |
1732 | (winsock2GetRealNetworkInterfaces): Use tchar.h macros and | |
1733 | _Jv_Win32NewString. | |
1734 | ||
49246a52 TF |
1735 | 2003-12-02 Thomas Fitzsimmons <fitzsim@redhat.com> |
1736 | ||
5f8a45f7 TF |
1737 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c |
1738 | (initState): Mark obj parameter as unused. | |
1739 | (stringWidth): Mark obj parameter as unused. Initialize | |
1740 | font_name properly. | |
1741 | ||
49246a52 TF |
1742 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make |
1743 | BufferedImageBuilder class static. | |
1744 | ||
0548bb4a MW |
1745 | 2003-12-02 Mark Wielaard <mark@klomp.org> |
1746 | ||
1747 | * java/security/Security.java: Don't use in the api doc. | |
1748 | ||
23757fa5 DT |
1749 | 2003-12-02 Dalibor Topic <robilad@kaffe.org> |
1750 | ||
1751 | Reported by: Jim Pick <jim@kaffe.org> | |
1752 | * libraries/javalib/java/util/Hashtable.java | |
1753 | (internalcontainsValue): New method. | |
1754 | (contains): Delegate to internalContainsValue. | |
1755 | ||
1756 | Reported by: Mark Wielaard <mark@klomp.org> | |
1757 | * libraries/javalib/java/util/Hashtable.java | |
1758 | (contains): Improved comment. | |
1759 | ||
1760 | Reported by: Jeroen Frijters <jeroen@frijters.net> | |
1761 | * libraries/javalib/java/util/Hashtable.java | |
1762 | (containsValue): Delegate to contains(Object) to make sure older | |
1763 | code overwriting it continues to work. | |
1764 | ||
a1045386 FN |
1765 | 2003-12-02 Fernando Nasser <fnasser@redhat.com> |
1766 | ||
1767 | * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New | |
1768 | method. Handle mouse and key events that must generate | |
1769 | ActionEvents. | |
1770 | * java/awt/List.java (getSelectedIndex): Return -1 | |
1771 | if no list element is selected. | |
1772 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): | |
1773 | Correct handling of mouse and key events so that List receives them. | |
1774 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
1775 | (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of | |
1776 | multiple list elements. | |
1777 | ||
10590d37 IK |
1778 | 2003-12-02 Ito Kazumitsu <kaz@maczuka.gcd.org> |
1779 | ||
1780 | * java/text/SimpleDateFormat.java (compileFormat): | |
1781 | isLowerCase() and isUpperCase() allow too many characters. | |
1782 | Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'. | |
1783 | ||
3c22b666 DT |
1784 | 2003-12-02 Dalibor Topic <robilad@kaffe.org> |
1785 | ||
1786 | * java/text/FieldPosition.java (equals): Fixed comment. | |
1787 | ||
54cfd519 MW |
1788 | 2003-12-02 Mark Wielaard <mark@klomp.org> |
1789 | ||
1790 | Reported by Archie Cobbs: | |
1791 | * java/security/DigestInputStream.java (read(byte[], int, int): Call | |
1792 | digest.update() with temp, not len as lenght. | |
1793 | ||
c531dd01 MK |
1794 | 2003-12-02 Michael Koch <konqueror@gmx.de> |
1795 | ||
1796 | * java/net/DatagramSocket.java | |
1797 | (close): Close associated DatagramChannel object. | |
1798 | * java/net/ServerSocket.java | |
1799 | * java/net/Socket.java | |
1800 | (close): Reset impl and bound before calling getChannel().close() to | |
1801 | prevent from loops. | |
1802 | ||
d9b526cc MK |
1803 | 2003-12-02 Michael Koch <konqueror@gmx.de> |
1804 | ||
1805 | * java/nio/channels/spi/AbstractInterruptibleChannel.java | |
1806 | (opened): Removed. | |
1807 | (closed): New field. | |
1808 | (close): Check of channel is closed already. | |
1809 | (isOpen): Return !closed. | |
1810 | ||
598e749d MK |
1811 | 2003-12-02 Michael Koch <konqueror@gmx.de> |
1812 | ||
1813 | * gnu/java/nio/DatagramChannelImpl.java | |
1814 | (blocking): Initialize with true by default. | |
1815 | * gnu/java/nio/ServerSocketChannelImpl.java | |
1816 | (serverSocket): Made private. | |
1817 | (blocking): Likewise. | |
1818 | (connected): Likewise. | |
1819 | * gnu/java/nio/SocketChannelImpl.java | |
1820 | (connectionPending): Made private. | |
1821 | * gnu/java/nio/FileLockImpl.java | |
1822 | (static): Load native library (needed for classpath). | |
1823 | * gnu/java/nio/SelectorImpl.java | |
1824 | (static): Load native library (needed for classpath). | |
1825 | ||
a74e3b77 MK |
1826 | 2003-12-02 Michael Koch <konqueror@gmx.de> |
1827 | ||
1828 | * gnu/java/net/protocol/file/Connection.java | |
1829 | (getLastModified): Implement for file connections. | |
1830 | (getContentLength): Likewise. | |
1831 | ||
84ebbc67 MK |
1832 | 2003-12-02 Michael Koch <konqueror@gmx.de> |
1833 | ||
1834 | * gnu/java/net/protocol/file/Connection.java: | |
1835 | Some reformating. | |
1836 | (file): Renamed from fileIn. | |
1837 | (getPermission): Moved around. | |
1838 | ||
83f85f9c MK |
1839 | 2003-12-02 Michael Koch <konqueror@gmx.de> |
1840 | ||
1841 | * gnu/java/net/protocol/jar/Connection.java | |
1842 | (Connection): Made class final, merged documentation with classpath. | |
1843 | (file_cache): Made private. | |
1844 | (jar_file): Renamed from jarfile. | |
1845 | ||
91305a1d MK |
1846 | 2003-12-02 Michael Koch <konqueror@gmx.de> |
1847 | ||
1848 | * gnu/java/net/protocol/http/Connection.java | |
1849 | (Connection): Initialize doOutput to false; | |
1850 | (connect): Initialize inputStream, moved "send request" code to new | |
1851 | method. | |
1852 | (sendRequest): New method. | |
1853 | (getHttpHeaders): Don't reinitialize inputStream. | |
1854 | ||
2b95402c MK |
1855 | 2003-12-02 Michael Koch <konqueror@gmx.de> |
1856 | ||
1857 | * gnu/java/net/protocol//http/Connection.java | |
1858 | (defRequestProperties): Removed. This dont gets used since JDK 1.3. | |
1859 | (requestProperties): Initialize, documentation added. | |
1860 | (inputStream): Renamed from bufferedIn. | |
1861 | (Connection): Dont initialize requestProperties. | |
1862 | (setDefaultRequestProperty): Removed. | |
1863 | (getDefaultRequestProperty): Removed. | |
1864 | (usingProxy): Documentation added. | |
1865 | (getHttpHeaders): Likewise. | |
1866 | ||
920ca197 MK |
1867 | 2003-12-02 Michael Koch <konqueror@gmx.de> |
1868 | ||
1869 | * java/text/DateFormat.java: | |
1870 | Explicitely import used classes. | |
1871 | ||
c353d6a4 JS |
1872 | 2003-12-01 Jeff Sturm <jsturm@one-point.com> |
1873 | ||
1874 | * verify.cc (state::clean_subrs): Clear seen_subrs. | |
1875 | (state::copy): Walk seen_subrs from copy, not `this'. | |
1876 | Don't clear seen_subrs. | |
1877 | ||
85fa3bde KH |
1878 | 2003-12-01 Kim Ho <kho@redhat.com> |
1879 | ||
1880 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): | |
1881 | Disable wrapping if TextArea has horizontal scroll bars. | |
1882 | ||
bebae710 TF |
1883 | 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com> |
1884 | ||
bb9cfd00 TF |
1885 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c |
1886 | (awt_event_handler): Hard-code inset values. | |
1887 | ||
bebae710 TF |
1888 | * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics): |
1889 | Pass font name, not XLFD, to initState. | |
1890 | (stringWidth(String, int, String)): New method. | |
1891 | (stringWidth(String)): Call new stringWidth. | |
1892 | (getLeading): Always return 0. | |
1893 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c | |
1894 | (initState): New Pango implementation. | |
1895 | (stringWidth): Likewise. | |
1896 | ||
ea91ed09 OR |
1897 | 2003-12-01 Olga Rodimina <rodimina@redhat.com> |
1898 | ||
1899 | * java/awt/TextComponent.java: | |
1900 | (getSelectionStart): Updated javadocs. | |
1901 | (getSelectionEnd): Ditto. | |
1902 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer: | |
1903 | (getSelectionStart): Changed to return caret position if no | |
1904 | text is selected | |
1905 | (getSelectionEnd): Ditto. | |
1906 | ||
24fb8b78 TF |
1907 | 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com> |
1908 | ||
aa66a642 TF |
1909 | * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc, |
1910 | gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java, | |
1911 | gnu/awt/gtk/GtkContainerPeer.java, | |
1912 | gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java, | |
1913 | gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java, | |
1914 | gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc, | |
1915 | gnu/awt/gtk/natGtkComponentPeer.cc, | |
1916 | gnu/awt/gtk/natGtkContainerPeer.cc, | |
1917 | gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc, | |
1918 | gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc, | |
1919 | gnu/awt/gtk/natGtkWindowPeer.cc: Remove files. | |
1920 | ||
24fb8b78 TF |
1921 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c |
1922 | (closed): Mark loader parameter as unused. | |
1923 | ||
8325a4ec MK |
1924 | 2003-12-01 Michael Koch <konqueror@gmx.de> |
1925 | ||
1926 | * gnu/java/net/protocol/http/Connection.java | |
1927 | (Connection): Merged class documentation. | |
1928 | (socket): Renamed from sock. | |
1929 | (Connection): Made protected, documentation added. | |
1930 | (connect): Give URL'S host instead of InetAddress to Socket | |
1931 | constructor. | |
1932 | (disconnect): Documentation added. | |
1933 | (getOutputStream): Rewrapped. | |
1934 | ||
1fa7e0fd MK |
1935 | 2003-12-01 Michael Koch <konqueror@gmx.de> |
1936 | ||
1937 | * gnu/java/net/protocol/file/Connection.java | |
1938 | (fileIn): Documentation added. | |
1939 | (inputStream): Likewise. | |
1940 | (outputStream): Likewise. | |
1941 | (Connection): Likewise. | |
1942 | (connect): Simplified. | |
1943 | ||
ec22cdf1 TF |
1944 | 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com> |
1945 | ||
1946 | * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions, | |
1947 | setProperties): Check that io is not null before calling | |
1948 | io.imageUpdate. | |
1949 | * java/awt/image/ImageConsumer.java (setPixels, imageComplete): | |
1950 | Update javadocs. | |
1951 | * java/awt/image/PixelGrabber.java: Fix implementation and | |
1952 | update javadocs. | |
1953 | ||
a1ff4c64 MK |
1954 | 2003-12-01 Michael Koch <konqueror@gmx.de> |
1955 | ||
1956 | * gnu/java/net/natPlainSocketImplPosix.cc | |
1957 | bind(): Dont set SockedImpl.address field on succesful bind. | |
1958 | * gnu/java/net/natPlainSocketImplWin32.cc | |
1959 | bind(): Likewise. | |
1960 | ||
d7f16c2b MK |
1961 | 2003-11-30 Jeff Sturm <jsturm@one-point.com> |
1962 | ||
1963 | * java/net/InetAddress.java: | |
1964 | (static): Don'f force DNS request for ANY_IF address. | |
1965 | ||
1966 | 2003-11-30 Michael Koch <konqueror@gmx.de> | |
1967 | ||
1968 | * java/net/InetAddress.java, | |
1969 | java/net/natInetAddressNoNet.cc, | |
1970 | java/net/natInetAddressPosix.cc, | |
1971 | java/net/natInetAddressWin32.cc: | |
1972 | Reverted my last patch. | |
1973 | ||
c3f322d8 MK |
1974 | 2003-11-28 Michael Koch <konqueror@gmx.de> |
1975 | ||
1976 | * java/net/InetAddress.java | |
1977 | (lookup): New method that doesnt lookup "0.0.0.0". | |
1978 | (ImplLookup): Renamed from lookup. | |
1979 | * java/net/natInetAddressNoNet.cc | |
1980 | (ImplLookup): Renamed from lookup. | |
1981 | * java/net/natInetAddressPosix.cc | |
1982 | (ImplLookup): Renamed from lookup. | |
1983 | * java/net/natInetAddressWin32.cc | |
1984 | (ImplLookup): Renamed from lookup. | |
1985 | ||
bb6ed2ac BM |
1986 | 2003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz> |
1987 | ||
1988 | * configure: Rebuilt. | |
1989 | * configure.in: Require gtk and glib 2.2.0. | |
1990 | ||
4eec34e5 MK |
1991 | 2003-11-27 Dalibor Topic <robilad@kaffe.org> |
1992 | ||
1993 | * java/text/FieldPosition.java (equals): Adapted to handle | |
1994 | field_attribute. Added fast-circuit check for comparison to self. | |
1995 | Replaced use of instanceof by getClass to fix symmetry for derived | |
1996 | types. | |
1997 | (toString): Adapted to handle field_attribute. Improved readability. | |
1998 | (hashCode): New method. | |
1999 | ||
2000 | 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> | |
2001 | ||
2002 | * java/text/FieldPosition.java (field_attribute): New field. | |
2003 | (FieldPosition (Format.Field), FieldPosition(Format.Field, int), | |
2004 | getFieldAttribute): New methods. | |
2005 | ||
95f5c6a2 GL |
2006 | 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> |
2007 | ||
2008 | * java/text/DecimalFormatSymbols.java (locale): New field. | |
2009 | (DecimalFormatSymbols (Locale)): Set locale. | |
2010 | (serialVersionOnStream): Upgraded to number 2. | |
2011 | (readObject): Assign locale if it wasn't by the serializer. | |
2012 | ||
76167dc0 GL |
2013 | 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> |
2014 | ||
2015 | * java/text/FormatCharacterIterator.java: Documented the class and | |
2016 | ||
2017 | 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> | |
2018 | ||
2019 | * java/text/FormatCharacterIterator.java: Fixed some typos. | |
2020 | ||
a01387dd MK |
2021 | 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> |
2022 | ||
2023 | * java/text/NumberFormat.java: | |
2024 | (getIntegerInstance) Added the java version in the comments. | |
2025 | ||
2026 | 2003-11-27 Mark Wielaard <mark@klomp.org> | |
2027 | ||
2028 | * java/text/NumberFormat.java: Import java.io.InvalidObjectException. | |
2029 | (readResolve): Reformat. | |
2030 | ||
2031 | 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> | |
2032 | ||
2033 | * java/text/NumberFormat.java | |
2034 | (NumberFormat.Field): New implemented class to match Java 1.4. | |
2035 | (getIntegerInstance): Two new Java 1.4 methods.o | |
2036 | ||
33ebe68e IK |
2037 | 2003-11-27 Ito Kazumitsu <kaz@maczuka.gcd.org> |
2038 | ||
2039 | * java/util/GregorianCalendar.java (getLinearTime): Avoid counting | |
2040 | the leap day of the leap year twice. | |
2041 | (computeFields): First week of month is 1 not 0. | |
2042 | ||
0e8c0c22 MW |
2043 | 2003-11-27 Mark Wielaard <mark@klomp.org> |
2044 | ||
2045 | * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put | |
2046 | AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText. | |
2047 | ||
ad91feff MK |
2048 | 2003-11-27 Michael Koch <konqueror@gmx.de> |
2049 | ||
2050 | * javax/swing/UIDefaults.java: | |
2051 | Reformated to match classpath's version. | |
2052 | ||
9121d16b SB |
2053 | 2003-11-27 Sascha Brawer <brawer@dandelis.ch> |
2054 | ||
2055 | * javax/swing/UIManager.java (getDefaults, getDimension, | |
2056 | getIcon, getInsets, getInstalledLookAndFeels, getInt, | |
2057 | getLookAndFeel, getString, getSystemLookAndFeelClassName): | |
2058 | Declare as public. | |
2059 | ||
aef81a9a SB |
2060 | 2003-11-26 Sascha Brawer <brawer@dandelis.ch> |
2061 | ||
2062 | * javax/swing/undo/StateEdit.java (getPresentationName): Docfix. | |
2063 | * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo, | |
2064 | isSignificant): Likewise. | |
2065 | ||
2066 | 2003-11-26 Sascha Brawer <brawer@dandelis.ch> | |
2067 | ||
2068 | * javax/swing/undo/CompoundEdit.java: Re-format, document. | |
2069 | (inProgress): Set initial value to true. | |
2070 | (undo, redo, die, canUndo, canRedo): Also call inherited | |
2071 | implementation; simplify code structure. | |
2072 | (getPresentationName, getUndoPresentationName, | |
2073 | getRedoPresentationName): Make behavior dependent on lastEdit. | |
2074 | (addEdit, isSignificant): Completely re-written. | |
2075 | ||
2076 | 2003-11-26 Sascha Brawer <brawer@dandelis.ch> | |
2077 | ||
2078 | * javax/swing/undo/StateEdit.java: Re-format, document. | |
2079 | (undo, redo): Also call inherited implementation. | |
2080 | ||
2081 | 2003-11-26 Sascha Brawer <brawer@dandelis.ch> | |
2082 | ||
2083 | * javax/swing/undo/StateEditable.java: Re-format, document. | |
2084 | ||
2085 | 2003-11-26 Sascha Brawer <brawer@dandelis.ch> | |
2086 | ||
2087 | * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document. | |
2088 | (AbstractUndoableEdit): Initialize hasBeenDone to true. | |
2089 | (canUndo, canRedo): Simplify. | |
2090 | (getUndoPresentationName, getRedoPresentationName): Support | |
2091 | localized message; call getPresentationName() only once. | |
2092 | ||
03e52420 DB |
2093 | 2003-11-26 David Belanger <dbelan2@cs.mcgill.ca> |
2094 | ||
2095 | * java/util/zip/ZipFile (Zipfile(File)): Set file path as name. | |
2096 | (ZipFile(File,int)): Likewise. | |
2097 | ||
32ffbe92 SB |
2098 | 2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net> |
2099 | ||
2100 | * java/util/HashMap.java (putAll): Use Iterator hasNext() method. | |
2101 | (putAllInternal): Likewise. | |
2102 | * java/util/Hashtable.java (putAll): Use Iterator hasNext() method. | |
2103 | (putAllInternal): Likewise. | |
2104 | ||
cb5599c7 MK |
2105 | 2003-11-26 Michael Koch <konqueror@gmx.de> |
2106 | ||
2107 | * java/net/URLStreamHandler.java | |
2108 | (parseURL): Added comment in catch statement. | |
2109 | (canonicalizeFilename): Add documentation. | |
2110 | (sameURL): Completed documentation. | |
2111 | (equals): Likewise. | |
2112 | (hostsEqual): Likewise. | |
2113 | (getDefaulPort): Likewise. | |
2114 | (hashCode): Likewise. | |
2115 | (toExternalForm): Likewise. | |
2116 | (getHostName): Fix empty hostname check, completed documentation. | |
2117 | ||
f627fd15 TT |
2118 | 2003-11-26 Tom Tromey <tromey@redhat.com> |
2119 | ||
2120 | * java/lang/natDouble.cc (parseDouble): Reverted patch of | |
2121 | 2003-11-13. | |
2122 | ||
6796826c GL |
2123 | 2003-11-26 Guilhem Lavaux <guilhem@kaffe.org> |
2124 | Mark Wielaard <mark@klomp.org> | |
2125 | ||
2126 | * java/net/URLStreamHandler (parseUrl): Fixed URL parsing | |
2127 | ('@' should be checked to distinguish port from userinfo). | |
2128 | (toExternalForm): Add @ userInfo if necessary. | |
2129 | ||
2130 | ||
dddfde5f MK |
2131 | 2003-11-26 Michael Koch <konqueror@gmx.de> |
2132 | ||
2133 | * java/net/DatagramSocket.java | |
2134 | (DategramSocket, bind): Moved binding code from DatagramSocket | |
2135 | constructor to bind method. | |
2136 | ||
4aa74bd3 MK |
2137 | 2003-11-26 Michael Koch <konqueror@gmx.de> |
2138 | ||
2139 | * java/net/DatagramSocket.java | |
2140 | (impl): Made private. | |
2141 | (bound): New private member variable. | |
2142 | (DatagramSocket): Fixed documentation, use getImpl(). | |
2143 | (getImpl): New package-private method. | |
2144 | (isClosed): Use getImpl(). | |
2145 | (getLocalAddress): Completed documentation, use getImpl(). | |
2146 | (getLocalPort): Use getImpl(). | |
2147 | (getSoTimeout): Likewise. | |
2148 | (setSoTimeout): Likewise. | |
2149 | (getSendBufferSize): Likewise. | |
2150 | (setSendBufferSize): Likewise. | |
2151 | (getReceiveBufferSize): Likewise. | |
2152 | (setReceiveBufferSize): Likewise. | |
2153 | (connect): Likewise. | |
2154 | (disconnect): Likewise. | |
2155 | (receive): Likewise. | |
2156 | (send): Likewise. | |
2157 | (setReuseAddress): Likewise. | |
2158 | (setTrafficClass): Likewise. | |
2159 | (bind): Added message to exception. | |
2160 | (isClosed): Completed documentation. | |
2161 | (getChannel): Likewise. | |
2162 | (connect): Added missing exception, refined exception message. | |
2163 | (isBound): Completed documentation, just return bound. | |
2164 | (isConnected): Completed documentation. | |
2165 | (getRemoteSocketAddress): Likewise. | |
2166 | (getReuseAddress): Completed documentation, use getImpl(). | |
2167 | (setSoBroadcast): Likewise. | |
2168 | (getSoBroadcast): Likewise. | |
2169 | (getTrafficClass): Likewise. | |
2170 | (getLocalSocketAddress): Simplified. | |
2171 | * java/net/MulticastSocket.java | |
2172 | (MulticastSocket): Removed comment not applying anymore. | |
2173 | (getInterface): Use getImpl(). | |
2174 | (getTTL): Likewise. | |
2175 | (getTimeToLive): Likewise. | |
2176 | (setInterface): Likewise. | |
2177 | (setNetworkInterface): Likewise. | |
2178 | (getNetworkInterface): Likewise. | |
2179 | (setLoopback): Likewise. | |
2180 | (getLoopback): Likewise. | |
2181 | (setTTL): Likewise. | |
2182 | (setTimeToLive): Likewise. | |
2183 | (joinGroup): Likewise. | |
2184 | (leaveGroup): Likewise. | |
2185 | (send): Likewise. | |
2186 | ||
948888e1 MK |
2187 | 2003-11-26 Michael Koch <konqueror@gmx.de> |
2188 | ||
2189 | * java/net/Socket.java | |
2190 | (implCreated): Dont set default value explicitely, added | |
2191 | documentation. | |
2192 | (inputShutdown): Likewise. | |
2193 | (outputShutdown): Likewise. | |
2194 | (bound): New private member variable. | |
2195 | (bind): Set bound to true. | |
2196 | (close): Set bound to false. | |
2197 | (isBound): Return bound. | |
2198 | * java/net/ServerSocket.java | |
2199 | (bound): New private member variable. | |
2200 | (bind): Set bound to true. | |
2201 | (close): Set bound to false. | |
2202 | (isBound): Return bound. | |
2203 | ||
a7c084ac MK |
2204 | 2003-11-26 Michael Koch <konqueror@gmx.de> |
2205 | ||
2206 | * java/net/URL.java | |
2207 | (URL): Fixed documentation to be HTML compliant. | |
2208 | (getContent): Completed documentation. | |
2209 | (getFile): Likewise. | |
2210 | (getPath): Likewise. | |
2211 | (getAuthority): Likewise. | |
2212 | (getHost): Likewise. | |
2213 | (getDefaultPort): Likewise. | |
2214 | (getProtocol): Likewise. | |
2215 | (hashCode): Likewise. | |
2216 | (openConnection): Likewise. | |
2217 | (openStream): Likewise. | |
2218 | (set): Likewise. | |
2219 | (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule. | |
2220 | ||
57a5c93b MK |
2221 | 2003-11-26 Michael Koch <konqueror@gmx.de> |
2222 | ||
2223 | * java/net/InetSocketAddress.java | |
2224 | (hostname): Made private, added documentation. | |
2225 | (addr): Likewise. | |
2226 | (port): Likewise. | |
2227 | (equals): Completed documentation. | |
2228 | (getAddress): Likewise. | |
2229 | (getHostName): Likewise. | |
2230 | (getPort): Likewise. | |
2231 | (hashCode): Likewise. | |
2232 | (isUnresolved): Likewise. | |
2233 | (toString): Likewise. | |
2234 | ||
6cf0ea4b MK |
2235 | 2003-11-26 Michael Koch <konqueror@gmx.de> |
2236 | ||
2237 | * gnu/java/net/protocol/file/Handler.java | |
2238 | (Handler): New explicit constructor. | |
2239 | (openConnection): Added documentation. | |
2240 | * gnu/java/net/protocol/jar/Handler.java | |
2241 | (Handler): New explicit constructor. | |
2242 | (openConnection): Added documentation. | |
2243 | ||
e08932b2 MK |
2244 | 2003-11-26 Michael Koch <konqueror@gmx.de> |
2245 | ||
2246 | * java/net/DatagramPacket.java | |
2247 | (DatagramPacket): Fixed documentation to become legal HTML. | |
2248 | ||
3366ae36 MK |
2249 | 2003-11-25 Michael Koch <konqueror@gmx.de> |
2250 | ||
2251 | * gcj/javaprims.h: Added missing java.util.Currency. | |
2252 | ||
7d9c11e5 MK |
2253 | 2003-11-25 Michael Koch <konqueror@gmx.de> |
2254 | ||
2255 | * testsuite/libjava.mauve/xfails: | |
2256 | Removed these two tests, they mystically pass now: | |
2257 | -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error : | |
2258 | test_params failed - 5getInetAddress did not return proper values | |
2259 | (number 1) | |
2260 | -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error : | |
2261 | test_BasicServer failed - 11 exception was thrown :Illegal seek | |
2262 | (number 1) | |
2263 | ||
66e5d61f MK |
2264 | 2003-11-25 Michael Koch <konqueror@gmx.de> |
2265 | ||
2266 | * java/net/DatagramSocket.java | |
2267 | (factory): Made private. | |
2268 | (closed): Removed. | |
2269 | (DatagramSocket): Check impl argument, use constructor with | |
2270 | SocketAddress argument. | |
2271 | (close): Set impl to null, use isClosed(). | |
2272 | (isClosed): Check for impl == null. | |
2273 | (getLocalAddress): Use isClosed(). | |
2274 | (getLocalPort): Check if socket is closed. | |
2275 | (getSoTimeout): Likewise. | |
2276 | (setSoTimeout): Likewise. | |
2277 | (getSendBufferSize): Likewise. | |
2278 | (setSendBufferSize): Likewise. | |
2279 | (getReceiveBufferSize): Likewise. | |
2280 | (setReceiveBufferSize): Likewise. | |
2281 | (receive): Likewise. | |
2282 | (send): Likewise. | |
2283 | (bind): Likewise. | |
2284 | (connect): Likewise. | |
2285 | (setReuseAddress): Likewise. | |
2286 | (getReuseAddress): Likewise. | |
2287 | (setBroadcast): Likewise. | |
2288 | (getBroadcast): Likewise. | |
2289 | (setTrafficClass): Likewise. | |
2290 | (getTrafficClass): Likewise. | |
2291 | * java/net/MulticastSocket.java | |
2292 | (getInterface): Check if socket is closed. | |
2293 | (getTTL): Likewise. | |
2294 | (getTimeToLive): Likewise. | |
2295 | (setInterface): Likewise. | |
2296 | (setNetworkInterface): Likewise. | |
2297 | (getNetworkInterface): Likewise. | |
2298 | (setLoopbackMode): Likewise. | |
2299 | (setTTL): Likewise. | |
2300 | (setTimeToLive): Likewise. | |
2301 | (joinGroup): Likewise. | |
2302 | (leaveGroup): Likewise. | |
2303 | (send): Likewise. | |
2304 | * java/net/ServerSocket.java | |
2305 | (closed): Removed. | |
2306 | (close): Check if socket is closed, set impl to null. | |
2307 | (isClosed): Check impl == null; | |
2308 | (ServerSocket): Check impl argument. | |
2309 | (getInetAddress): Check if socket is bound. | |
2310 | (getLocalPort): Likewise. | |
2311 | (getLocalSocketAddress): Likewise. | |
2312 | (bind): Check if socket is closed. | |
2313 | (implAccept): Likewise. | |
2314 | (setSoTimeout): Likewise. | |
2315 | (getSoTimeout): Likewise. | |
2316 | (setReuseAddress): Likewise. | |
2317 | (getReuseAddress): Likewise. | |
2318 | (setReceiveBufferSize): Likewise. | |
2319 | (getReceiveBufferSize): Likewise. | |
2320 | (toString): Make output compliant to JDK 1.4.2. | |
2321 | * java/net/Socket.java | |
2322 | (closed): Removed. | |
2323 | (Socket): Fixed documentation. | |
2324 | (connect): Check if socket is closed, changed exception text, | |
2325 | fixed documentation. | |
2326 | (getInputStream): Check of socket is closed and connected. | |
2327 | (getOutputStream): Likewise. | |
2328 | (bind): Check if socket is closed. | |
2329 | (setTcpNoDelay): Likewise. | |
2330 | (getTcpNoDelay): Likewise. | |
2331 | (setSoLinger): Likewise. | |
2332 | (getSoLinger): Likewise. | |
2333 | (sendUrgentData): Likewise. | |
2334 | (setOOBInline): Likewise. | |
2335 | (getOOBInline): Likewise. | |
2336 | (setSoTimeout): Likewise. | |
2337 | (getSoTimeout): Likewise. | |
2338 | (setSendBufferSize): Likewise. | |
2339 | (getSendBufferSize): Likewise. | |
2340 | (setReceiveBufferSize): Likewise. | |
2341 | (getReceiveBufferSize): Likewise. | |
2342 | (setKeepAlive): Likewise. | |
2343 | (getKeepAlive): Likewise. | |
2344 | (close): Likewise. | |
2345 | (shutdownInput): Likewise. | |
2346 | (shutdownOutput): Likewise. | |
2347 | (getReuseAddress): Likewise. | |
2348 | (getTrafficClass): Likewise. | |
2349 | (setTrafficClass): Likewise. | |
2350 | (isClosed): Check impl == null. | |
2351 | (toString): Added missing ']'. | |
2352 | ||
2758ce13 TT |
2353 | 2003-11-24 Tom Tromey <tromey@redhat.com> |
2354 | ||
2355 | * Makefile.in: Rebuilt. | |
2356 | * Makefile.am (propdir): New macro. | |
2357 | (install-data-local): Install logging.properties. | |
2358 | (core_java_source_files): Added java.util.logging.*. | |
2359 | * java/util/logging/logging.properties: New file. | |
2360 | ||
473432eb MK |
2361 | 2003-11-25 Michael Koch <konqueror@gmx.de> |
2362 | ||
2363 | * java/net/DatagramSocket.java | |
2364 | (DatagramSocket): Move binding code to bind(), simplify constructors. | |
2365 | * java/net/MulticastSocket.java | |
2366 | (MulticastSocket): Call parent constructor with null argument, | |
2367 | bind socket after setReuseAddress is called, simplify constructors. | |
2368 | ||
3f047028 MK |
2369 | 2003-11-24 Michael Koch <konqueror@gmx.de> |
2370 | ||
2371 | * javax/swing/BoxLayout.java | |
2372 | (serialVersionUIR): New member variable. | |
2373 | (X_AXIS, Y_AXIS): Documentation added. | |
2374 | (LINE_AXIS, PAGE_AXIS): New constants. | |
2375 | (grid): Renamed from gridbag. | |
2376 | (BoxLayout): Use new constants, throw exception if invalid value for | |
2377 | way, added documentation. | |
2378 | (BoxLayout): Removed. | |
2379 | (addLayoutComponent): Use new constants, added documentation. | |
2380 | (removeLayoutComponent): Likewise. | |
2381 | (addLayoutContainer): Added documentation. | |
2382 | (preferredLayoutSize): Added documentation, check given argument. | |
2383 | (minimumLayoutSize): Likewise. | |
2384 | (layoutContainer): Likewise. | |
2385 | (getLayoutAlignmentX): Likewise. | |
2386 | (getLayoutAlignmentY): Likewise. | |
2387 | (invalidateLayout): Likewise. | |
2388 | (maximumLayoutSize): Likewise. | |
2389 | ||
539edbe0 MK |
2390 | 2003-11-22 Michael Koch <konqueror@gmx.de> |
2391 | ||
2392 | * gnu/java/net/natPlainDatagramSocketImplWin32.cc | |
2393 | (peekData): Use offset and maximal free space in datagram packet. | |
2394 | (receive): Likewise. | |
2395 | (send): Use offset in datagram packet. | |
2396 | ||
343c49ce MK |
2397 | 2003-11-22 Michael Koch <konqueror@gmx.de> |
2398 | ||
2399 | * gnu/java/net/natPlainDatagramSocketImplPosix.cc | |
2400 | (peekData): Use offset and maximal free space in datagram packet. | |
2401 | (receive): Likewise. | |
2402 | (send): Use offset in datagram packet. | |
2403 | ||
d3f010ec MK |
2404 | 2003-11-22 Michael Koch <konqueror@gmx.de> |
2405 | ||
2406 | * gnu/java/nio/DatagramChannelImpl.java | |
2407 | (getNativeFD): Use getPlainDatagramSocketImpl(). | |
2408 | * gnu/java/nio/NIODatagramSocket.java | |
2409 | (getPlainDatagramSocketImpl): Renamed from getImpl(). | |
2410 | * gnu/java/nio/NIOSocket.java | |
2411 | (getPlainSocketImpl): Renamed from getImpl(). | |
2412 | (setChannel): Use getPlainSocketImpl(). | |
2413 | * gnu/java/nio/SocketChannelImpl.java | |
2414 | (SocketChannelImpl): Use getPlainSocketImpl(). | |
2415 | (getPlainSocketImpl): Renamed from getImpl(). | |
2416 | (getNativeFD): Use getPlainSocketImpl(). | |
2417 | ||
875a15d0 GH |
2418 | 2003-11-18 Graydon Hoare <graydon@redhat.com> |
2419 | ||
2420 | * javax/swing/JLayeredPane.java: Implement. | |
2421 | * javax/swing/JFrame.java (getContentPane): Make public | |
2422 | * javax/swing/javax/swing/JRootPane.java (setContentPane): | |
2423 | Use JLayeredPane.FRAME_CONTENT_LAYER. | |
2424 | ||
4716418f MW |
2425 | 2003-11-21 Mark Wielaard <mark@klomp.org> |
2426 | ||
2427 | * java/lang/Float.java (static): Removed. | |
2428 | ||
0bceb051 GH |
2429 | 2003-11-18 Graydon Hoare <graydon@redhat.com> |
2430 | ||
2431 | * java/awt/font/TextLayout.java: Implement simple layouts | |
2432 | using attributed strings and glyph vectors. | |
2433 | ||
146a1ecb GH |
2434 | 2003-11-17 Graydon Hoare <graydon@redhat.com> |
2435 | ||
2436 | * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file. | |
2437 | * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java | |
2438 | (GdkFontLineMetrics): New inner class. | |
2439 | (getLineMetrics): Return new GdkFontLineMetrics. | |
2440 | (getFontMetrics): Return new GdkClasspathFontPeerMetrics. | |
2441 | (layoutGlyphVector): Create GdkGlyphVector. | |
2442 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member. | |
2443 | (GdkGraphics2D): Initialize state via mathod calls. | |
2444 | (cairoSetMatrix, cairoShowGlyphs): Simplify native calls. | |
2445 | (cairoTranslate, cairoScale, cairoRotate): Remove. | |
2446 | (various methods): use setTransform for special transform cases. | |
2447 | (DrawState): New inner class. | |
2448 | (stateSave): New method. | |
2449 | (stateRestore): New method. | |
2450 | (various methods): use stateSave, stateRestore. | |
2451 | (getClipInDevSpace): New method. | |
2452 | (clip, clipRect, setClip, getClip, getClipBounds): | |
2453 | Follow spec more closely. | |
2454 | (getTransform): Return clone of transform. | |
2455 | (setStroke): Set linewidth to passed width / 2.0. | |
2456 | (setPaintMode): Set SrcOver rather than Xor. | |
2457 | (setColor): Set paint to passed color. | |
2458 | (drawRaster, drawImage, PainterThread, drawPixels): Take affine | |
2459 | transform from image to user space. | |
2460 | (drawRenderedImage, drawRenderableImage): Implement. | |
2461 | (getFontRenderContext, getFontMetrics, drawString, getFont): | |
2462 | Implement | |
2463 | (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): | |
2464 | Implement. | |
2465 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: | |
2466 | Match changes to java side. | |
2467 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: | |
2468 | Release resources. | |
2469 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
2470 | Don't use pango for metrics. | |
2471 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: | |
2472 | New file. | |
2473 | ||
c618b5f8 GL |
2474 | 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org> |
2475 | Jim Pick <jim@kaffe.org> | |
2476 | ||
2477 | * java/text/DecimalFormat.java (getCurrency, setCurrency): New | |
2478 | methods. | |
2479 | ||
2480 | 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org> | |
2481 | ||
2482 | * java/text/DecimalFormatSymbols.java (getCurrency, | |
2483 | setCurrency): New methods. | |
2484 | ||
b6b8f690 SB |
2485 | 2003-11-19 Sascha Brawer <brawer@dandelis.ch> |
2486 | ||
2487 | * java/awt/geom/FlatteningPathIterator.java: Entirely re-written. | |
2488 | * java/awt/geom/doc-files/FlatteningPathIterator-1.html: | |
2489 | Describe how the implementation works. | |
2490 | ||
edfe1ac7 MK |
2491 | 2003-11-19 Michael Koch <konqueror@gmx.de> |
2492 | ||
2493 | * java/net/Socket.java | |
2494 | (implCreated): New variable that indicates created impl. | |
2495 | (getImpl): New method. | |
2496 | (toString): Return more SUN compliant string representation. | |
2497 | (various): Use getImpl() instead of impl. | |
2498 | ||
d6fcadb2 AT |
2499 | 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch> |
2500 | ||
2501 | * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for | |
2502 | the right libgcc. Add -multiply_defined suppress and -bind_at_load | |
2503 | flags. | |
2504 | ||
6c363de7 TT |
2505 | 2003-11-18 Tom Tromey <tromey@redhat.com> |
2506 | ||
e2534315 TT |
2507 | PR libgcj/13026: |
2508 | * verify.cc (state::copy): Only set local_changed if we're in a | |
2509 | subroutine. Correctly copy local variables which were modified | |
2510 | by the subroutine. | |
2511 | (push_jump_merge): Added more debugging output. | |
2512 | ||
6c363de7 TT |
2513 | * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string |
2514 | is null. | |
2515 | ||
ccdf1a46 GH |
2516 | 2003-11-17 Graydon Hoare <graydon@redhat.com> |
2517 | ||
2518 | * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec. | |
2519 | * javax/swing/UIDefaults.java: Modify to reflect rewrite. | |
2520 | ||
edc6a9c4 TT |
2521 | 2003-11-16 Tom Tromey <tromey@redhat.com> |
2522 | ||
2523 | PR libgcj/13062: | |
2524 | * java/io/StreamTokenizer.java (commentChar): Clear other | |
2525 | attributes for character. | |
2526 | (quoteChar): Likewise. | |
2527 | ||
ec22cdf1 | 2528 | 2003-11-14 Thomas Fitzsimmons <fitzsim@redhat.com> |
5c859e10 TF |
2529 | |
2530 | * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two | |
2531 | zero-length int arrays when layoutInfo is null. | |
2532 | (getLayoutWeights): Return array of two zero-length double arrays when | |
2533 | layoutInfo is null. | |
2534 | ||
b86ca9a2 TT |
2535 | 2003-11-13 Tom Tromey <tromey@redhat.com> |
2536 | ||
2537 | * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to | |
2538 | JvGetStringUTFRegion. | |
2539 | * java/lang/natPosixProcess.cc (new_string): Pass length of string | |
2540 | to JvGetStringUTFRegion. | |
2541 | * java/lang/natDouble.cc (parseDouble): Pass length of string to | |
2542 | JvGetStringUTFRegion. | |
2543 | * java/lang/natWin32Process.cc (startProcess): Pass length of | |
2544 | string to JvGetStringUTFRegion. | |
2545 | * java/lang/natClass.cc (forName): Pass length of string to | |
2546 | JvGetStringUTFRegion. | |
2547 | * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length | |
2548 | of string to JvGetStringUTFRegion. | |
2549 | * gnu/gcj/convert/natIconv.cc (init): Pass length of string to | |
2550 | JvGetStringUTFRegion. | |
2551 | * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string | |
2552 | to JvGetStringUTFRegion. | |
2553 | * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of | |
2554 | string to JvGetStringUTFRegion. | |
2555 | ||
650dc9b3 ME |
2556 | 2003-11-13 Mohan Embar <gnustuff@thisiscool.com> |
2557 | ||
2558 | * gnu/java/nio/natSelectorImplPosix.cc | |
2559 | (helper_put_filedescriptors): Change to static linkage. | |
2560 | (helper_get_filedescriptors): Likewise. | |
2561 | ||
ec22cdf1 | 2562 | 2003-11-12 Thomas Fitzsimmons <fitzsim@redhat.com> |
94f77399 | 2563 | |
2860518a TF |
2564 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove |
2565 | null check. | |
2566 | * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise. | |
2567 | * java/awt/Component.java (prepareImage): Likewise. | |
2568 | ||
94f77399 TF |
2569 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment): |
2570 | Rename to nativeSetAlignment. | |
2571 | ||
2fe6fc52 DS |
2572 | 2003-11-11 Danny Smith <dannysmith@users.sourceforge.net> |
2573 | ||
2574 | * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT. | |
2575 | (JNI_GetCreatedJavaVMs): Likewise. | |
2576 | (JNI_GetDefaultJavaVMInitArgs): Likewise. | |
2577 | * include/jni.h (JNIIMPEXP): Remove definition | |
2578 | and replace with... | |
2579 | (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj | |
2580 | symbols, | |
2581 | (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__. | |
2582 | ||
a5966c9e TF |
2583 | 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com> |
2584 | ||
2585 | * Makefile.am: Add GdkPixbufDecoder.java and | |
2586 | gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | |
2587 | * Makefile.in: Regenerate. | |
2588 | * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)): | |
2589 | New constructor. | |
2590 | (startProduction): Create ByteArrayInputStream when url and filename are | |
2591 | null. | |
2592 | (produce): Declare stream parameter as InputStream. | |
2593 | * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter | |
2594 | as InputStream. | |
2595 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | |
2596 | (GdkPixbufDecoder(byte[],int,int)): New constructor. | |
2597 | (produce): Declare stream parameter as InputStream. | |
2598 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE | |
2599 | if image is null. Set image's observer before running PrepareImage | |
2600 | thread. Pass image to startProduction. | |
2601 | * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to | |
2602 | source's member functions. | |
2603 | (observer): New field. | |
2604 | (setObserver): New method. | |
2605 | (setDimensions, setPixels, imageComplete): Call observer's imageUpdate. | |
2606 | * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return | |
2607 | new GtkImage. | |
2608 | (prepareImage): Implement. | |
2609 | * java/awt/Component.java: Add static fields incrementalDraw and | |
2610 | redrawRate. | |
2611 | (imageUpdate): Implement. | |
2612 | (createImage): Call Toolkit's createImage if peer is null. | |
2613 | (prepareImage): Throw NPE if image is null. | |
2614 | * java/awt/MediaTracker.java: Fix return value. | |
2615 | ||
009ed5cc TF |
2616 | 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com> |
2617 | ||
2618 | * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create. | |
2619 | (create(String, float)): New method. | |
2620 | (setText): Make native. | |
2621 | (nativeSetAlignment): New method. | |
2622 | (setAlignment): Call nativeSetAlignment. | |
2623 | (getArgs): Remove method. | |
2624 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
2625 | (find_fg_color_widget, find_bg_color_widget): New functions. | |
2626 | (gtkWidgetSetForeground): Call find_fg_color_widget. | |
2627 | (gtkWidgetSetBackground): Call find_bg_color_widget. Modify active and | |
2628 | prelight colors. | |
2629 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label | |
2630 | widget in event box. | |
2631 | (setText, setAlignment): Implement new native methods. | |
2632 | ||
5237cd77 MK |
2633 | 2003-11-11 Michael Koch <konqueror@gmx.de> |
2634 | ||
2635 | * java/awt/Font.java, | |
2636 | java/awt/datatransfer/DataFlavor.java, | |
2637 | java/math/BigInteger.java, | |
2638 | java/net/Inet4Address.java, | |
2639 | java/net/Inet6Address.java, | |
2640 | java/rmi/MarshalledObject.java, | |
2641 | java/rmi/server/RMIClassLoader.java, | |
2642 | java/security/cert/CertStore.java, | |
2643 | java/sql/Timestamp.java, | |
2644 | java/text/SimpleDateFormat.java, | |
2645 | javax/naming/CompoundName.java: | |
2646 | Removed some redundant obj == null checks. | |
2647 | ||
c824ce21 MK |
2648 | 2003-11-11 Michael Koch <konqueror@gmx.de> |
2649 | ||
2650 | * java/nio/ByteBuffer.java | |
2651 | (equals): Remove redundant obj == null check. | |
2652 | ||
4ba6d1c3 MK |
2653 | 2003-11-11 Michael Koch <konqueror@gmx.de> |
2654 | ||
2655 | * gnu/java/nio/natPipeImpl.cc, | |
2656 | gnu/java/nio/natSelectorImpl.cc: Removed | |
2657 | * gnu/java/nio/natPipeImplEcos.cc, | |
2658 | gnu/java/nio/natPipeImplPosix.cc, | |
2659 | gnu/java/nio/natPipeImplWin32.cc, | |
2660 | gnu/java/nio/natSelectorImplEcos.cc, | |
2661 | gnu/java/nio/natSelectorImplPosix.cc, | |
2662 | gnu/java/nio/natSelectorImplWin32.cc: New files | |
2663 | * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and | |
2664 | gnu/java/nio/natSelectorImpl.cc | |
2665 | * configure: Regenerated. | |
2666 | ||
e055c067 MK |
2667 | 2003-11-11 Micheal Koch <konqueror@gmx.de> |
2668 | ||
2669 | * java/net/URLStreamHandler.java (toExternalForm): Print port only | |
2670 | if host is printed too and port was really given to URL. | |
b86ca9a2 | 2671 | |
84083f51 GB |
2672 | 2003-11-10 Gary Benson <gbenson@redhat.com> |
2673 | ||
2674 | * java/sql/Timestamp.java (valueOf): Correctly handle | |
2675 | nanoseconds. | |
2676 | ||
b425ed52 TT |
2677 | 2003-11-09 Tom Tromey <tromey@redhat.com> |
2678 | ||
2679 | * java/net/Inet4Address.java (serialVersionUID): Updated. | |
2680 | ||
edf6d50b JS |
2681 | 2003-11-08 Jeff Sturm <jsturm@one-point.com> |
2682 | ||
2683 | * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar): | |
2684 | New fields. | |
2685 | ||
773d424b JS |
2686 | 2003-11-08 Jeff Sturm <jsturm@one-point.com> |
2687 | ||
2688 | * java/io/ByteArrayOutputStream.java (resize): | |
2689 | Fix off-by-one error. | |
2690 | ||
9b574a77 BM |
2691 | 2003-11-08 Bryce McKinlay <bryce@mckinlay.net.nz> |
2692 | ||
2693 | * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor | |
2694 | public. | |
2695 | ||
cafa5032 ME |
2696 | 2003-11-06 Mohan Embar <gnustuff@thisiscool.com> |
2697 | ||
2698 | PR libgcj/12231 | |
2699 | * java/lang/Win32Process.java (hasExited) Changed from | |
2700 | public to private. | |
2701 | (startProcess): Likewise. | |
2702 | (cleanup): Likewise. | |
2703 | * java/lang/natWin32Process.cc (cleanup) Don't close | |
2704 | input, output and error streams. | |
2705 | (ChildProcessPipe): New helper class. | |
2706 | (startProcess): Refactored to use ChildProcessPipe. | |
2707 | Use CREATE_NO_WINDOW when launching child process. | |
2708 | ||
bbf76ec0 ME |
2709 | 2003-11-06 Mohan Embar <gnustuff@thisiscool.com> |
2710 | ||
2711 | * include/win32.h (_Jv_platform_close_on_exec): Changed | |
2712 | signature and declared extern. | |
2713 | * win32.cc (_Jv_platform_close_on_exec): Implemented. | |
2714 | * gnu/java/net/natPlainDatagramSocketImplWin32.cc | |
2715 | (create): Use new signature of _Jv_platform_close_on_exec. | |
2716 | * gnu/java/net/natPlainSocketImplWin32.cc | |
2717 | (create): Eliminated a few typecasts | |
2718 | Use new signature of _Jv_platform_close_on_exec. | |
2719 | (accept): Eliminated a few typecasts | |
2720 | Use new signature of _Jv_platform_close_on_exec. | |
2721 | * java/io/natFileDescriptorWin32.cc (open): Use | |
2722 | _Jv_platform_close_on_exec. | |
2723 | ||
99f8b250 BM |
2724 | 2003-11-04 Bryce McKinlay <bryce@mckinlay.net.nz> |
2725 | ||
2726 | * java/lang/natClass.cc (newInstance): Throw InstantiationException | |
2727 | if class has no null-argument constructor. | |
2728 | ||
d6bc9793 ME |
2729 | 2003-10-30 Mohan Embar <gnustuff@thisiscool.com> |
2730 | ||
2731 | PR libgcj/12647: | |
2732 | * win32-threads.cc (_Jv_CondWait): Respect mutex's | |
2733 | refcount when releasing and reacquiring it. | |
2734 | ||
748e241e ME |
2735 | 2003-10-30 Mohan Embar <gnustuff@thisiscool.com> |
2736 | ||
2737 | * win32.cc: (dirExists) Internal helper function to | |
2738 | test for directory existence. | |
2739 | (getUserHome) New helper function refactored out | |
2740 | of _Jv_platform_initProperties. Uses USERPROFILE | |
2741 | instead of HOMEDIR and attempts to support Win9X and NT. | |
2742 | (_Jv_platform_initProperties) Use getUserHome. | |
2743 | ||
76506a3e ME |
2744 | 2003-10-30 Mohan Embar <gnustuff@thisiscool.com> |
2745 | ||
2746 | PR libgcj/11521: | |
2747 | * gnu/java/net/natPlainSocketImplWin32.cc | |
2748 | (bind): Don't use SO_REUSEADDR | |
2749 | ||
b82183ab ME |
2750 | 2003-10-30 Mohan Embar <gnustuff@thisiscool.com> |
2751 | ||
2752 | PR libgcj/6652: | |
2753 | * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".". | |
2754 | ||
f56228e7 BM |
2755 | 2003-10-30 Bryce McKinlay <bryce@mckinlay.net.nz> |
2756 | ||
2757 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable | |
2758 | dispatch for final methods. | |
2759 | ||
54ab3303 TF |
2760 | 2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com> |
2761 | ||
2762 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on | |
2763 | word wrapping. | |
2764 | ||
12d104a2 TF |
2765 | 2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com> |
2766 | ||
2767 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return | |
2768 | scrolled window's size request. | |
2769 | ||
45967a8a SB |
2770 | 2003-10-29 Sascha Brawer <brawer@dandelis.ch> |
2771 | ||
2772 | * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing. | |
2773 | * java/awt/geom/QuadCurve2D.java: Likewise. | |
2774 | ||
2775 | 2003-10-29 Sascha Brawer <brawer@dandelis.ch> | |
2776 | ||
2777 | * java/awt/geom/CubicCurve2D.java: Added documentation. | |
2778 | * java/awt/geom/QuadCurve2D.java: Likewise. | |
2779 | ||
2780 | * java/awt/geom/doc-files/QuadCurve2D-4.png, | |
2781 | java/awt/geom/doc-files/QuadCurve2D-5.png, | |
2782 | java/awt/geom/doc-files/CubicCurve2D-4.png, | |
2783 | java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations. | |
2784 | ||
2785 | 2003-10-29 Sascha Brawer <brawer@dandelis.ch> | |
2786 | ||
2787 | * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement. | |
2788 | (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation. | |
2789 | (subdivide(double[],int,double[],int,double[],int)): Implement. | |
2790 | ||
2791 | 2003-10-29 Sascha Brawer <brawer@dandelis.ch> | |
2792 | ||
2793 | * java/awt/geom/doc-files/CubicCurve2D-1.png, | |
2794 | java/awt/geom/doc-files/CubicCurve2D-2.png, | |
2795 | java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations. | |
2796 | ||
4b6be8de IK |
2797 | 2003-10-29 Ito Kazumitsu <kaz@maczuka.gcd.org> |
2798 | ||
2799 | * java/text/DecimalFormat.java | |
2800 | (scanFormat) corrected so that '%' may appear in a pattern. | |
2801 | ||
8b941eec MK |
2802 | 2003-10-29 Mark Wielaard <mark@klomp.org> |
2803 | ||
2804 | From Guilhem Lavaux <guilhem.lavaux@free.fr> | |
2805 | * java/text/DateFormat.java (Field): New public static inner class. | |
2806 | * java/text/Format.java (Field): Likewise. | |
2807 | (formatToCharacterIterator): New method. | |
2808 | * java/text/FormatCharacterIterator.java: New file. | |
2809 | ||
2810 | 2003-10-29 Mark Wielaard <mark@klomp.org> | |
2811 | ||
2812 | From Guilhem Lavaux <guilhem.lavaux@free.fr> | |
2813 | * java/util/Currency.java: New file. | |
2814 | ||
2815 | 2003-10-29 Michael Koch <konqueror@gmx.de> | |
2816 | ||
2817 | * Makefile.am (ordinary_java_source_files): Added | |
2818 | java/text/FormatCharacterIterator.java and java/util/Currency.java. | |
2819 | * Makefile.in: Regenerated. | |
2820 | ||
2035efe7 DT |
2821 | 2003-10-29 Dalibor Topic <robilad@kaffe.org> |
2822 | ||
2823 | * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public | |
2824 | static methods. | |
2825 | ||
f0dc1efa JD |
2826 | 2003-10-29 Julian Dolby <dolby@us.ibm.com> |
2827 | ||
2828 | * javax/naming/spi/NamingManager.java (getContinuationContext): Call | |
2829 | getObjectInstance() with Object, Name, Context and environment | |
2830 | Hashtable from exception. Call fillInStackTrace() on exception when | |
2831 | rethrown. | |
2832 | * javax/naming/InitialContext.java (lookup(Name)): When a | |
2833 | CannotProceedException is thrown use the ContinuationContext. | |
2834 | (lookup(String)): Likewise. | |
2835 | (close): Clear myProps and defaultInitCtx. | |
2836 | ||
9c9081ae MK |
2837 | 2003-10-29 Michael Koch <konqueror@gmx.de> |
2838 | ||
2839 | * java/net/InetAddress.java | |
2840 | (equals): Remove redundant obj == null check. | |
2841 | * java/net/SocketPermission.java | |
2842 | (equals): Likewise. | |
2843 | * java/net/URL.java | |
2844 | (equals): Likewise. | |
2845 | (getURLStreamHandler): Likewise. | |
2846 | ||
1d749ee0 MK |
2847 | 2003-10-29 Michael Koch <konqueror@gmx.de> |
2848 | ||
2849 | * gnu/java/net/natPlainDatagramSocketImplPosix.cc | |
2850 | (setOption): Directly return if no error occured. | |
2851 | * gnu/java/net/natPlainSocketImplPosix.cc | |
2852 | (setOption): Likewise. | |
2853 | ||
6ac8b2b1 BM |
2854 | 2003-10-28 Bryce McKinlay <bryce@mckinlay.net.nz> |
2855 | ||
2856 | * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a | |
2857 | vtable slot for final methods. Add FIXME comment. | |
2858 | ||
afa58437 DM |
2859 | 2003-10-28 David S. Miller <davem@redhat.com> |
2860 | ||
2861 | * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0. | |
2862 | ||
57b4edef MW |
2863 | 2003-10-26 Mark Wielaard <mark@klomp.org> |
2864 | ||
2865 | Reported by Helmer Kraemer <hkraemer@freenet.de> | |
2866 | * java/util/jar/JarInputStream.java (readManifest): Don't call | |
2867 | closeEntry(). | |
2868 | ||
2869 | * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method. | |
2870 | (finish): Use inbufWrite(). | |
2871 | (write(int)): Likewise. | |
2872 | (write(byte[],int,int)): Likewise. | |
2873 | ||
e0f23fcd BM |
2874 | 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz> |
2875 | ||
2876 | * java/lang/reflect/AccessibleObject.java (secureSetAccessible): | |
2877 | Don't check for AccessibleObject. Update javadocs. | |
12afcb31 BM |
2878 | |
2879 | * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap. | |
e0f23fcd | 2880 | |
b9b5672b BM |
2881 | 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz> |
2882 | ||
2883 | * java/lang/reflect/Constructor.java (toString): Avoid extra | |
2884 | whitespace on constructor with no modifiers. | |
2885 | * java/lang/reflect/natConstructor.java (newInstance): Look up | |
2886 | caller and perform accessibility check only if constructor is | |
2887 | non-public and accessible flag is not set. | |
2888 | ||
2889 | 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz> | |
2890 | ||
2891 | * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA, | |
2892 | _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't | |
2893 | use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with | |
2894 | is_virtual_call argument. | |
2895 | * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from | |
2896 | natClass.cc. | |
2897 | * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use | |
2898 | _Jv_isVirtualMethod. | |
2899 | * java/lang/reflect/natMethod.cc (invoke): Don't use | |
2900 | _Jv_LookupDeclaredMethod. | |
2901 | (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified, | |
2902 | look up method in target object's vtable. | |
2903 | ||
c4bcf141 GH |
2904 | 2003-10-25 Graydon Hoare <graydon@redhat.com> |
2905 | ||
2906 | * gnu/java/awt/ClasspathToolkit.java: New abstract class. | |
2907 | * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class. | |
2908 | * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java, | |
2909 | jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: | |
2910 | New concrete implementation of ClasspathFontPeer, with native part. | |
2911 | * gnu/java/awt/peer/gtk/GdkGlyphVector.java, | |
2912 | jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
2913 | New class, with native part. | |
2914 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java, | |
2915 | jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: | |
2916 | implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs. | |
2917 | ||
8822f4aa BM |
2918 | 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz> |
2919 | ||
2920 | * java/lang/reflect/Method.java (toString): Avoid extra whitespace | |
2921 | on method with no modifiers. | |
2922 | ||
a10fd356 BM |
2923 | 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz> |
2924 | ||
2925 | PR libgcj/11780: | |
2926 | * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform | |
2927 | accessibility check only if target is non-public and accessible flag | |
2928 | is not set. | |
2929 | * java/lang/reflect/natField.cc (getAddr): Likewise. | |
2930 | ||
f2d0e05d TF |
2931 | 2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com> |
2932 | ||
2933 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent): | |
2934 | Remove method. | |
2935 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent): | |
2936 | New method. | |
2937 | * java/awt/Window.java (Window(Window,GraphicsConfiguration), | |
2938 | show, hide, dispose, getOwnedWindows): Synchronize on tree lock. | |
2939 | (dispose): Post WINDOW_CLOSED event. | |
2940 | (addWindowFocusListener, addWindowStateListener): Assign result | |
2941 | of multicaster add back to window listener. | |
2942 | (removeWindowFocusListener, removeWindowStateListener): Assign | |
2943 | result of multicaster remove back to window listener. | |
2944 | (dispatchEventImpl): Add null checks for focus and state | |
2945 | listeners. | |
2946 | (processWindowEvent): Handle case where windowListener is null | |
2947 | but state or focus listeners exist. | |
2948 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI | |
2949 | glue for postWindowEvent. | |
2950 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
2951 | (window_delete_cb, window_destroy_cb, window_show_cb, | |
2952 | window_focus_in_cb, window_focus_out_cb, window_window_state_cb, | |
2953 | window_get_new_state): New functions. | |
2954 | * jni/gtk-peer/gtkpeer.h: Define window event and frame state | |
2955 | macros. Declare postWindowEventID. | |
2956 | ||
fe873898 AG |
2957 | 2003-10-24 Anthony Green <green@redhat.com> |
2958 | ||
2959 | * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where | |
2960 | we have no interpreter. | |
2961 | ||
90471585 AH |
2962 | 2003-10-22 Andrew Haley <aph@redhat.com> |
2963 | ||
2964 | * java/lang/natClass.cc (initializeClass): Call | |
2965 | _Jv_linkExceptionClassTable. | |
2966 | (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call | |
2967 | _Jv_Defer_Resolution on a method whose ncode is NULL. | |
2968 | (_Jv_linkExceptionClassTable): New function. | |
2969 | (_Jv_LayoutVTableMethods): If superclass looks like a constant pool | |
2970 | entry, look it up. | |
2971 | * java/lang/Class.h (struct _Jv_CatchClass): New. | |
2972 | (_Jv_linkExceptionClassTable): New friend. | |
2973 | (_Jv_Defer_Resolution): New friend. | |
2974 | (class Class.catch_classes): New field. | |
2975 | * include/java-interp.h (Jv_Defer_Resolution): New method. | |
2976 | (_Jv_PrepareClass): Make a friend of _Jv_MethodBase. | |
2977 | (_Jv_MethodBase.deferred): New field. | |
2978 | (_Jv_Defer_Resolution): New function. | |
2979 | * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers. | |
2980 | * exception.cc (get_ttype_entry): Change return type to void**. | |
2981 | (PERSONALITY_FUNCTION): Remove all code related to using a | |
2982 | Utf8Const* for a match type. Change match type to be a pointer to | |
2983 | a pointer, rather than a pointer to a Class. | |
2984 | * defineclass.cc (handleCodeAttribute): Initialize | |
2985 | method->deferred. | |
2986 | (handleMethodsEnd): Likewise. | |
2987 | ||
59407b83 RO |
2988 | 2003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2989 | ||
2990 | * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use | |
2991 | _Jv_MutexCheckMonitor instead of accessing mutex.owner directly. | |
2992 | ||
4badbfa2 TT |
2993 | 2003-10-22 Tom Tromey <tromey@redhat.com> |
2994 | ||
eab09cdf TT |
2995 | PR libgcj/12416: |
2996 | * java/lang/Class.h: Updated. | |
2997 | * java/lang/natClass.cc (_getFields): Removed. | |
2998 | (getFields): Likewise. | |
2999 | (getDeclaredFields): Added `public_only' parameter. | |
3000 | * java/lang/Class.java (getFields): Now implemented in java; from | |
3001 | Classpath. | |
3002 | (getDeclaredFields): Likewise. | |
3003 | (getDeclaredFields(boolean)): Declare. | |
3004 | (_getFields): Removed. | |
3005 | (internalGetFields): New method, from Classpath. | |
3006 | ||
4badbfa2 TT |
3007 | PR libgcj/12656: |
3008 | * gnu/gcj/runtime/natFirstThread.cc (call_main): Use | |
3009 | _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal. | |
3010 | ||
13229468 DD |
3011 | 2003-10-22 David Daney <ddaney@avtrex.com) |
3012 | ||
3013 | * include/mips-signal.h: New file. | |
3014 | * sysdep/dwarf2-backtrace.cc: New file. | |
3015 | * sysdep/mips: New directory. | |
3016 | * sysdep/mips/locks.h: New file. | |
3017 | * Makefile.am(extra_cc_files): New, to allow extra c++ files to be | |
3018 | added to libgcj. | |
3019 | (extra_cc_source_files): Ditto. | |
3020 | * configure.host(disable_dladdr): New shell variable passed to | |
3021 | configure. | |
3022 | (mips*-*-linux*): sysdeps_dir=mips, | |
3023 | can_unwind_signal=yes, disable_dladdr=yes, use -mxgot. | |
3024 | (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization. | |
3025 | * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to | |
3026 | generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER | |
3027 | (HAVE_DLADDR): Make it depend on setting of disable_dladdr. | |
3028 | (EXTRA_CC_FILES): New, to support conditional addition of | |
3029 | sysdep/dwarf2-backtrace.cc. | |
3030 | * configure: Regenerated. | |
3031 | * Makefile.in: Regenerated. | |
3032 | * gcj/Makefile.in: Regenerated. | |
3033 | * include/config.h.in: Regenerated. | |
3034 | * include/Makefile.in: Regenerated. | |
3035 | * testsuite/Makefile.in: Regenerated. | |
3036 | ||
12be91a7 SB |
3037 | 2003-10-22 Sascha Brawer <brawer@dandelis.ch> |
3038 | ||
3039 | * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation. | |
3040 | java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration. | |
3041 | ||
3042 | 2003-10-22 Sascha Brawer <brawer@dandelis.ch> | |
3043 | ||
3044 | * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc. | |
3045 | * java/awt/geom/doc-files: New directory. | |
3046 | * java/awt/geom/doc-files/QuadCurve2D-1.png, | |
3047 | java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations. | |
3048 | ||
3049 | 2003-10-22 Sascha Brawer <brawer@dandelis.ch> | |
3050 | ||
3051 | * java/awt/geom/QuadCurve2D.java (subdivide): Implement. | |
3052 | ||
3053 | 2003-10-22 Sascha Brawer <brawer@dandelis.ch> | |
3054 | ||
3055 | * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement. | |
3056 | ||
8c754b91 MK |
3057 | 2003-10-22 Michael Koch <konqueror@gmx.de> |
3058 | ||
3059 | * java/io/File.java | |
3060 | (equals): Removed redundant obj == null check. | |
3061 | (createTempFile): Merged comments from classpath. | |
3062 | ||
75a5a481 SB |
3063 | 2003-10-21 Sascha Brawer <brawer@dandelis.ch> |
3064 | ||
3065 | Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au> | |
3066 | * java/util/logging/ErrorManager.java (everUsed): Made volatile. | |
3067 | (error): Synchronize on instance, not class. | |
3068 | ||
63d83744 MW |
3069 | 2003-10-21 Mark Wielaard <mark@klomp.org> |
3070 | ||
3071 | Reported by M.Negovanovic | |
3072 | * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New | |
3073 | method. | |
3074 | (reallyFindExplicitBeanInfo): Use new getBeanInfo() method. | |
3075 | ||
e62e96e2 SB |
3076 | 2003-10-21 Sascha Brawer <brawer@dandelis.ch> |
3077 | ||
3078 | Fix for Classpath bug #6076. | |
3079 | * java/awt/geom/GeneralPath.java (append): Re-written. | |
3080 | ||
3081 | 2003-10-21 Sascha Brawer <brawer@dandelis.ch> | |
3082 | ||
3083 | Fix for Classpath bug #6089. | |
3084 | * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type. | |
3085 | (getPathIterator, GeneralPathIterator): Re-written from scratch. | |
3086 | ||
3087 | 2003-10-21 Sascha Brawer <brawer@dandelis.ch> | |
3088 | ||
3089 | * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last | |
3090 | point, not start of subpath. Fixes Classpath bug #6075. | |
3091 | ||
c4ff410a MK |
3092 | 2003-10-21 Michael Koch <konqueror@gmx.de> |
3093 | ||
3094 | * java/nio/ByteOrder.java, | |
3095 | java/nio/DirectByteBufferImpl.java, | |
3096 | java/nio/channels/FileChannelImpl.java: | |
3097 | Add code to load library with code for native methods if needed. | |
3098 | ||
7c54b003 MK |
3099 | 2003-10-21 Michael Koch <konqueror@gmx.de> |
3100 | ||
3101 | * gnu/java/net/PlainDatagramSocketImpl.java, | |
3102 | gnu/java/net/PlainSocketImpl.java, | |
3103 | gnu/java/net/natPlainDatagramSocketImplPosix.cc, | |
3104 | gnu/java/net/natPlainDatagramSocketImplWin32.cc, | |
3105 | gnu/java/net/natPlainSocketImplPosix.cc, | |
3106 | gnu/java/net/natPlainSocketImplWin32.cc: | |
3107 | Renamed fnum to native_fd to match classpath more. | |
3108 | ||
16a10fb6 JQ |
3109 | 2003-10-21 Jerry Quinn <jlquinn@optonline.net> |
3110 | ||
3111 | * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename | |
3112 | _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor. | |
3113 | * include/no-threads.h (_Jv_MutexCheckMonitor): New. | |
3114 | * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from | |
3115 | _Jv_PthreadCheckMonitor. Simplify code. | |
3116 | (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor. | |
3117 | * include/win32-threads.h (_Jv_MutexCheckMonitor): New. | |
3118 | * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare. | |
3119 | * java/lang/Thread.java (holdsLock): New. | |
3120 | * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and | |
3121 | without JV_HASH_SYNCHRONIZATION. | |
3122 | * java/lang/natThread.cc (java::lang::Thread::holdsLock): New. | |
3123 | ||
c7560266 MK |
3124 | 2003-10-20 Michael Koch <konqueror@gmx.de> |
3125 | ||
3126 | * java/text/RuleBasedCollator.java | |
3127 | (RuleBasedCollator): Check rules not empty, fixed search in already | |
3128 | existing collation elements. | |
3129 | (is_special): Removed common whitespace characters. | |
3130 | (text_argument): Dont return on whitespaces, add characters between | |
3131 | two ' to string buffer. | |
3132 | ||
807a4cfd MK |
3133 | 2003-10-18 Michael Koch <konqueror@gmx.de> |
3134 | ||
3135 | * gnu/java/net/protocol/file/Connection.java, | |
3136 | gnu/java/net/protocol/file/Handler.java, | |
3137 | gnu/java/net/protocol/http/Connection.java, | |
3138 | gnu/java/net/protocol/http/Handler.java, | |
3139 | gnu/java/net/protocol/jar/Connection.java, | |
3140 | gnu/java/net/protocol/jar/Handler.java: | |
3141 | Merged copyright text from classpath to make | |
3142 | it possible to merge the classes. | |
3143 | ||
490ee176 MW |
3144 | 2003-10-18 Mark Wielaard <mark@klomp.org> |
3145 | ||
3146 | Reported by M.Negovanovic | |
3147 | * java/beans/IndexedPropertyDescriptor.java | |
3148 | (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex. | |
3149 | ||
ef050c9e ME |
3150 | 2003-10-17 Mohan Embar <gnustuff@thisiscool.com> |
3151 | ||
3152 | * win32.cc (_Jv_pipe): Implemented. | |
3153 | * gnu/java/nio/natPipeImpl.cc (nativeInit): Use | |
3154 | _Jv_pipe instead of ::pipe. | |
3155 | * include/posix.h (_Jv_pipe): New inline. | |
3156 | * include/win32.h (_Jv_pipe): New declaration. | |
3157 | ||
35e1369c RL |
3158 | 2003-10-17 Ralph Loader <rcl@ihug.co.nz> |
3159 | ||
3160 | * java/lang/StringBuffer.java (getChars): Fix array index checks. | |
3161 | (append, substring, insert): Likewise. | |
3162 | * testsuite/libjava.lang/StringBuffer_overflow.java: New file. | |
3163 | * testsuite/libjava.lang/StringBuffer_overflow.out: New file. | |
3164 | ||
2488a51e RL |
3165 | 2003-10-17 Ralph Loader <rcl@ihug.co.nz> |
3166 | ||
3167 | * java/lang/natString.cc (getChars): | |
3168 | Fix validation of array indexes. | |
3169 | (getBytes, regionMatches, startsWith, valueOf): Likewise. | |
3170 | * testsuite/libjava.lang/String_overflow.java: New file. | |
3171 | * testsuite/libjava.lang/String_overflow.out: New file. | |
3172 | ||
bf1b388d RL |
3173 | 2003-10-17 Ralph Loader <rcl@ihug.co.nz> |
3174 | ||
3175 | * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't | |
3176 | overflow a jint. | |
3177 | (_Jv_NewPrimArray): Check for overflowing a jint, replacing a | |
3178 | check for overflowing size_t, since the lower level functions | |
3179 | take a jint. | |
3180 | * testsuite/libjava.lang/newarray_overflow.java: New file. | |
3181 | * testsuite/libjava.lang/newarray_overflow.out: New file. | |
3182 | ||
55741da6 MK |
3183 | 2003-10-15 Michael Koch <konqueror@gmx.de> |
3184 | ||
3185 | * java/text/RuleBasedCollator.java | |
3186 | (RuleBasedCollator): Moved around, documentation added. | |
3187 | (compare): Documentation added. | |
3188 | (equals): Likewise. | |
3189 | (getCollationElementIterator): Likewise. | |
3190 | (getCollationKey): Likewise. | |
3191 | (getRules): Likewise. | |
3192 | (hashCode): Likewise. | |
3193 | ||
684cab7d MK |
3194 | 2003-10-15 Michael Koch <konqueror@gmx.de> |
3195 | ||
3196 | * java/text/RuleBasedCollator.java | |
3197 | (CollationElement): Renamed from RBCElement and moved into | |
3198 | RuledBasedCollator as inner class. | |
3199 | ||
12dc3f75 MK |
3200 | 2003-10-15 Michael Koch <konqueror@gmx.de> |
3201 | ||
3202 | * java/text/CollationElementIterator.java | |
3203 | (CollationElementIterator): Moved, documenatation added, call setText. | |
3204 | (next): Reformated. | |
3205 | (reset): Reformated. | |
3206 | (setText): New method. | |
3207 | (getOffset): New method. | |
3208 | * java/text/CollationKey.java | |
3209 | (getSourceString): Reformated. | |
3210 | (hashCode): Reformated. | |
3211 | (toByteArray): Reformated. | |
3212 | ||
6c73e9f7 MK |
3213 | 2003-10-15 Michael Koch <konqueror@gmx.de> |
3214 | ||
3215 | * java/util/zip/InflaterInputStream.java | |
3216 | (InflaterInputStream): Renamed infl to inf and bufsize to size, | |
3217 | added description to exception, check for inf == null and size < 0. | |
3218 | ||
6d98f7a8 MK |
3219 | 2003-10-15 Michael Koch <konqueror@gmx.de> |
3220 | ||
3221 | * java/text/AttributedCharacterIterator.java, | |
3222 | java/text/CharacterIterator.java: Reformated. | |
3223 | ||
c191caf2 MK |
3224 | 2003-10-15 Michael Koch <konqueror@gmx.de> |
3225 | ||
3226 | * javax/swing/UIDefaults.java (putDefaults): | |
3227 | Readded accidently removed "public" modifier. | |
3228 | ||
415c96ca PB |
3229 | 2003-10-14 Paolo Bonzini <bonzini@gnu.org> |
3230 | ||
3231 | * interpret.cc (_Jv_InterpMethod::run): Don't | |
3232 | use libffi types, they were meant to be internal. | |
3233 | * gcj/javaprims.h (_Jv_ulong): New typedef. | |
3234 | ||
b71d486c TT |
3235 | 2003-10-13 Tom Tromey <tromey@redhat.com> |
3236 | ||
3237 | * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed. | |
3238 | (defineClass): Updated. | |
3239 | (_Jv_NewClass): Likewise. | |
3240 | * prims.cc (_Jv_InitPrimClass): Don't call | |
3241 | _Jv_InitNewClassFields. | |
3242 | ||
77a325a2 | 3243 | 2003-10-13 Taras Glek <taras.judge@shaw.ca> |
c1783330 TG |
3244 | |
3245 | PR libgcj/12592 | |
3246 | * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n, | |
3247 | not just \n. | |
3248 | ||
3c94ac35 MK |
3249 | 2003-10-13 Michael Koch <konqueror@gmx.de> |
3250 | ||
3251 | * java/io/File.java: Reformated. | |
3252 | (equals): Check for obj == null. | |
3253 | ||
94f41586 MK |
3254 | 2003-10-13 Michael Koch <konqueror@gmx.de> |
3255 | ||
3256 | * java/net/JarURLConnection.java | |
3257 | (jarFileURL): Added dcoumentation. | |
3258 | (jarFileURLConnection): Reformated documentation. | |
3259 | (entryName): Renamed from "element", documentation rewritten. | |
3260 | (connectionCache): Renamed from "conn_cache", documentation | |
3261 | reformated. | |
3262 | (JarURLConnection): Check URL protocol. | |
3263 | (getEntryName): Use entryName. | |
3264 | (connect): Use connectionCache. | |
3265 | (getInputStream): Use entryName, fixed comment. | |
3266 | (getJarEntry): Use entryName. | |
3267 | (getHeaders): Use entryName. | |
3268 | * java/net/URLConnection.java | |
3269 | (addRequestProperty): Fixed documentation. | |
3270 | (setDefaultRequestProptery): Added comment that it does nothing since | |
3271 | JDK 1.3. | |
3272 | (getDefaultRequestProperty): Likewise. | |
3273 | ||
9917dcba MK |
3274 | 2003-10-13 Michael Koch <konqueror@gmx.de> |
3275 | ||
3276 | * java/net/java/net/URLStreamHandlerFactory.java | |
3277 | (createURLStreamHandler): Removed redundant "public" modifier. | |
3278 | * java/sql/DatabaseMetaData.java: | |
3279 | (DatabaseMetaData): Readded accidently removed "public" modifier. | |
3280 | * java/sql/ParameterMetaData.java: | |
3281 | (ParameterMetaData): Readded accidently removed "public" modifier. | |
3282 | * java/sql/PreparedStatement.java: | |
3283 | (PreparedStatement): Readded accidently removed "public" modifier. | |
3284 | * java/sql/Ref.java: | |
3285 | (Ref): Readded accidently removed "public" modifier. | |
3286 | ||
1adef668 MK |
3287 | 2003-10-13 Michael Koch <konqueror@gmx.de> |
3288 | ||
3289 | * java/nio/Buffer.java | |
3290 | (hasRemaining): Made implementation more clear. | |
3291 | * java/nio/MappedByteBuffer.java | |
3292 | (loaded): New member variable. | |
3293 | (force): Added comment. | |
3294 | (isLoaded): Return value of loaded. | |
3295 | (load): Set loaded to true, added comment. | |
3296 | ||
81bc077a MK |
3297 | 2003-10-12 Michael Koch <konqueror@gmx.de> |
3298 | ||
3299 | * gnu/java/nio/PipeImpl.java | |
3300 | (SourceChannelImpl): New inner class. | |
3301 | (SinkChannelImpl): New inner class. | |
3302 | (sink): New member variable. | |
3303 | (source): New member variable. | |
3304 | (PipeImpl): Add SelectorProvider argument, implemented. | |
3305 | (nativeInit): New method. | |
3306 | (sink): Return sink channel. | |
3307 | (source): Return source channel. | |
3308 | * gnu/java/nio/SelectorProviderImpl.java | |
3309 | (openPipe): Give provider as argument to PipeImpl constructor. | |
3310 | * java/nio/channels/spi/SelectorProvider.java | |
3311 | (pr): Removed. | |
3312 | (systemDefaultProvider): New member variable. | |
3313 | (provider): Made it synchronized, use property | |
3314 | java.nio.channels.spi.SelectorProvider. | |
3315 | * gnu/java/nio/natPipeImpl.cc: New file. | |
3316 | * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc. | |
3317 | * Makefile.in: Regenerated. | |
3318 | ||
b77d1698 MK |
3319 | 2003-10-12 Michael Koch <konqueror@gmx.de> |
3320 | ||
3321 | * javax/swing/table/DefaultTableModel.java, | |
3322 | javax/swing/table/TableCellEditor.java, | |
3323 | javax/swing/table/TableCellRenderer.java, | |
3324 | javax/swing/table/TableColumnModel.java, | |
3325 | javax/swing/table/TableModel.java, | |
3326 | javax/swing/text/AbstractDocument.java, | |
3327 | javax/swing/text/Document.java, | |
3328 | javax/swing/text/MutableAttributeSet.java, | |
3329 | javax/swing/text/StyledDocument.java, | |
3330 | javax/swing/text/ViewFactory.java, | |
3331 | javax/swing/tree/DefaultMutableTreeNode.java, | |
3332 | javax/swing/tree/MutableTreeNode.java, | |
3333 | javax/swing/tree/RowMapper.java, | |
3334 | javax/swing/tree/TreeCellEditor.java, | |
3335 | javax/swing/tree/TreeCellRenderer.java, | |
3336 | javax/swing/tree/TreeModel.java, | |
3337 | javax/swing/tree/TreeNode.java, | |
3338 | javax/swing/tree/TreeSelectionModel.java, | |
3339 | javax/swing/undo/StateEditable.java, | |
3340 | javax/swing/undo/UndoableEdit.java: | |
3341 | Removed redundant modifiers. | |
3342 | ||
463bc6af MK |
3343 | 2003-10-12 Michael Koch <konqueror@gmx.de> |
3344 | ||
3345 | * javax/swing/event/AncestorListener.java, | |
3346 | javax/swing/event/CaretListener.java, | |
3347 | javax/swing/event/CellEditorListener.java, | |
3348 | javax/swing/event/ChangeListener.java, | |
3349 | javax/swing/event/DocumentEvent.java, | |
3350 | javax/swing/event/DocumentListener.java, | |
3351 | javax/swing/event/HyperlinkListener.java, | |
3352 | javax/swing/event/InternalFrameListener.java, | |
3353 | javax/swing/event/ListDataListener.java, | |
3354 | javax/swing/event/ListSelectionListener.java, | |
3355 | javax/swing/event/MenuDragMouseListener.java, | |
3356 | javax/swing/event/MenuKeyListener.java, | |
3357 | javax/swing/event/MenuListener.java, | |
3358 | javax/swing/event/MouseInputListener.java, | |
3359 | javax/swing/event/PopupMenuListener.java, | |
3360 | javax/swing/event/TableColumnModelListener.java, | |
3361 | javax/swing/event/TableModelListener.java, | |
3362 | javax/swing/event/TreeExpansionListener.java, | |
3363 | javax/swing/event/TreeModelListener.java, | |
3364 | javax/swing/event/TreeSelectionListener.java, | |
3365 | javax/swing/event/TreeWillExpandListener.java, | |
3366 | javax/swing/event/UndoableEditListener.java, | |
3367 | javax/swing/plaf/UIResource.java, | |
3368 | javax/swing/plaf/metal/MetalLookAndFeel.java: | |
3369 | Removed redundant modifiers. | |
3370 | ||
134fee65 MK |
3371 | 2003-10-12 Michael Koch <konqueror@gmx.de> |
3372 | ||
3373 | * javax/swing/Action.java, | |
3374 | javax/swing/BoundedRangeModel.java, | |
3375 | javax/swing/CellEditor.java, | |
3376 | javax/swing/ComboBoxEditor.java, | |
3377 | javax/swing/ComboBoxModel.java, | |
3378 | javax/swing/DesktopManager.java, | |
3379 | javax/swing/JComboBox.java, | |
3380 | javax/swing/ListCellRenderer.java, | |
3381 | javax/swing/ListSelectionModel.java, | |
3382 | javax/swing/MenuElement.java, | |
3383 | javax/swing/MutableComboBoxModel.java, | |
3384 | javax/swing/Renderer.java, | |
3385 | javax/swing/RootPaneContainer.java, | |
3386 | javax/swing/ScrollPaneConstants.java, | |
3387 | javax/swing/SingleSelectionModel.java, | |
3388 | javax/swing/SpinnerModel.java, | |
3389 | javax/swing/SwingConstants.java, | |
3390 | javax/swing/UIDefaults.java, | |
3391 | javax/swing/WindowConstants.java, | |
3392 | javax/swing/border/Border.java, | |
3393 | javax/swing/colorchooser/ColorSelectionModel.java: | |
3394 | Removed redundant modifiers. | |
3395 | ||
9d82a4b3 MK |
3396 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3397 | ||
3398 | * javax/transaction/Status.java, | |
3399 | javax/transaction/Synchronization.java, | |
3400 | javax/transaction/Transaction.java, | |
3401 | javax/transaction/TransactionManager.java, | |
3402 | javax/transaction/UserTransaction.java, | |
3403 | javax/transaction/xa/XAResource.java, | |
3404 | javax/transaction/xa/Xid.java: | |
3405 | Removing redundant modifiers. | |
3406 | ||
89889f24 MK |
3407 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3408 | ||
3409 | * javax/print/attribute/Attribute.java, | |
3410 | javax/print/attribute/AttributeSet.java, | |
3411 | javax/print/attribute/PrintRequestAttributeSet.java: | |
3412 | Removing redundant modifiers. | |
3413 | ||
e1feb64f MK |
3414 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3415 | ||
3416 | * javax/sql/ConnectionEventListener.java, | |
3417 | javax/sql/ConnectionPoolDataSource.java, | |
3418 | javax/sql/DataSource.java, | |
3419 | javax/sql/PooledConnection.java, | |
3420 | javax/sql/RowSet.java, | |
3421 | javax/sql/RowSetInternal.java, | |
3422 | javax/sql/RowSetListener.java, | |
3423 | javax/sql/RowSetMetaData.java, | |
3424 | javax/sql/RowSetReader.java, | |
3425 | javax/sql/RowSetWriter.java, | |
3426 | javax/sql/XAConnection.java, | |
3427 | javax/sql/XADataSource.java: | |
3428 | Removing redundant modifiers. | |
3429 | ||
547f7f8b MK |
3430 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3431 | ||
3432 | * javax/naming/Context.java, | |
3433 | javax/naming/Name.java, | |
3434 | javax/naming/NameParser.java, | |
3435 | javax/naming/NamingEnumeration.java, | |
3436 | javax/naming/Referenceable.java, | |
3437 | javax/naming/directory/Attribute.java, | |
3438 | javax/naming/directory/Attributes.java, | |
3439 | javax/naming/directory/DirContext.java, | |
3440 | javax/naming/event/EventContext.java, | |
3441 | javax/naming/event/EventDirContext.java, | |
3442 | javax/naming/event/NamespaceChangeListener.java, | |
3443 | javax/naming/event/NamingListener.java, | |
3444 | javax/naming/event/ObjectChangeListener.java, | |
3445 | javax/naming/ldap/Control.java, | |
3446 | javax/naming/ldap/ExtendedRequest.java, | |
3447 | javax/naming/ldap/ExtendedResponse.java, | |
3448 | javax/naming/ldap/HasControls.java, | |
3449 | javax/naming/ldap/LdapContext.java, | |
3450 | javax/naming/ldap/UnsolicitedNotification.java, | |
3451 | javax/naming/ldap/UnsolicitedNotificationListener.java, | |
3452 | javax/naming/spi/DirObjectFactory.java, | |
3453 | javax/naming/spi/DirStateFactory.java, | |
3454 | javax/naming/spi/InitialContextFactory.java, | |
3455 | javax/naming/spi/InitialContextFactoryBuilder.java, | |
3456 | javax/naming/spi/ObjectFactory.java, | |
3457 | javax/naming/spi/ObjectFactoryBuilder.java, | |
3458 | javax/naming/spi/Resolver.java, | |
3459 | javax/naming/spi/StateFactory.java: | |
3460 | Removing redundant modifiers. | |
3461 | ||
e3ff2b2b MK |
3462 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3463 | ||
3464 | * java/security/Key.java, | |
3465 | * java/security/PrivateKey.java, | |
3466 | * java/security/PublicKey.java, | |
3467 | * java/security/acl/Acl.java, | |
3468 | * java/security/acl/AclEntry.java, | |
3469 | * java/security/acl/Group.java, | |
3470 | * java/security/acl/Owner.java, | |
3471 | * java/security/acl/Permission.java, | |
3472 | * java/security/cert/X509Extension.java, | |
3473 | * java/security/interfaces/DSAKey.java, | |
3474 | * java/security/interfaces/DSAKeyPairGenerator.java, | |
3475 | * java/security/interfaces/DSAParams.java, | |
3476 | * java/security/interfaces/DSAPrivateKey.java, | |
3477 | * java/security/interfaces/DSAPublicKey.java, | |
3478 | * java/security/interfaces/RSAKey.java, | |
3479 | * java/security/interfaces/RSAPrivateCrtKey.java, | |
3480 | * java/security/interfaces/RSAPrivateKey.java, | |
3481 | * java/security/interfaces/RSAPublicKey.java: | |
3482 | Removed redundant modifiers. | |
3483 | ||
6233cbbc MK |
3484 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3485 | ||
3486 | * gnu/java/rmi/server/ProtocolConstants.java, | |
3487 | gnu/java/security/der/DER.java: | |
3488 | Removing redundant modifiers. | |
3489 | ||
9440ae0c MK |
3490 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3491 | ||
3492 | * java/util/Map.java, | |
3493 | java/util/Observer.java, | |
3494 | java/util/zip/Checksum.java, | |
3495 | java/util/zip/ZipConstants.java: | |
3496 | Removed redundant modifiers. | |
3497 | ||
af6b79a6 MK |
3498 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3499 | ||
3500 | * java/text/AttributedCharacterIterator.java, | |
3501 | java/text/CharacterIterator.java: | |
3502 | Removed redundant modifiers. | |
3503 | ||
afe60169 MK |
3504 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3505 | ||
3506 | * java/sql/Array.java, | |
3507 | java/sql/Blob.java, | |
3508 | java/sql/CallableStatement.java, | |
3509 | java/sql/Clob.java, | |
3510 | java/sql/Connection.java, | |
3511 | java/sql/DatabaseMetaData.java, | |
3512 | java/sql/Driver.java, | |
3513 | java/sql/ParameterMetaData.java, | |
3514 | java/sql/PreparedStatement.java, | |
3515 | java/sql/Ref.java, | |
3516 | java/sql/ResultSet.java, | |
3517 | java/sql/ResultSetMetaData.java, | |
3518 | java/sql/SQLData.java, | |
3519 | java/sql/SQLInput.java, | |
3520 | java/sql/SQLOutput.java, | |
3521 | java/sql/Savepoint.java, | |
3522 | java/sql/Statement.java, | |
3523 | java/sql/Struct.java: | |
3524 | Removed redundant modifiers. | |
3525 | ||
eb0043a0 MK |
3526 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3527 | ||
3528 | * java/nio/channels/Channel.java, | |
3529 | java/nio/channels/GatheringByteChannel.java, | |
3530 | java/nio/channels/ReadableByteChannel.java, | |
3531 | java/nio/channels/ScatteringByteChannel.java, | |
3532 | java/nio/channels/WritableByteChannel.java: | |
3533 | Removed redundant modifiers. | |
3534 | ||
d5a87c2b MK |
3535 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3536 | ||
3537 | * java/rmi/activation/ActivationInstantiator.java, | |
3538 | java/rmi/activation/ActivationMonitor.java, | |
3539 | java/rmi/activation/ActivationSystem.java, | |
3540 | java/rmi/activation/Activator.java, | |
3541 | java/rmi/dgc/DGC.java, | |
3542 | java/rmi/registry/Registry.java, | |
3543 | java/rmi/registry/RegistryHandler.java, | |
3544 | java/rmi/server/LoaderHandler.java, | |
3545 | java/rmi/server/RMIClientSocketFactory.java, | |
3546 | java/rmi/server/RMIFailureHandler.java, | |
3547 | java/rmi/server/RMIServerSocketFactory.java, | |
3548 | java/rmi/server/RemoteCall.java, | |
3549 | java/rmi/server/RemoteRef.java, | |
3550 | java/rmi/server/ServerRef.java, | |
3551 | java/rmi/server/Skeleton.java, | |
3552 | java/rmi/server/Unreferenced.java: | |
3553 | Removed redundant modifiers. | |
3554 | ||
7afb0eea MK |
3555 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3556 | ||
3557 | * java/net/ContentHandlerFactory.java, | |
3558 | java/net/DatagramSocketImplFactory.java, | |
3559 | java/net/FileNameMap.java, | |
3560 | java/net/SocketImplFactory.java, | |
3561 | java/net/SocketOptions.java, | |
3562 | java/net/URLStreamHandlerFactory.java: | |
3563 | Removed redundant modifiers. | |
3564 | ||
cb244683 MK |
3565 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3566 | ||
3567 | * java/io/Externalizable.java, | |
3568 | java/io/FileFilter.java, | |
3569 | java/io/FilePermission.java, | |
3570 | java/io/ObjectInput.java, | |
3571 | java/io/ObjectInputValidation.java, | |
3572 | java/io/ObjectOutput.java, | |
3573 | java/io/ObjectStreamClass.java, | |
3574 | java/io/ObjectStreamConstants.java, | |
3575 | java/io/Serializable.java: | |
3576 | Removed redundant modifiers. | |
3577 | ||
6a12e65c IP |
3578 | 2003-10-11 Ingo Proetel <proetel@aicas.com> |
3579 | ||
3580 | * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by | |
3581 | codebase and context classloader. | |
3582 | ||
c7bcb09d MK |
3583 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3584 | ||
3585 | * java/beans/beancontext/BeanContext.java, | |
3586 | java/beans/beancontext/BeanContextChild.java, | |
3587 | java/beans/beancontext/BeanContextChildComponentProxy.java, | |
3588 | java/beans/beancontext/BeanContextChildSupport.java, | |
3589 | java/beans/beancontext/BeanContextContainerProxy.java, | |
3590 | java/beans/beancontext/BeanContextMembershipListener.java, | |
3591 | java/beans/beancontext/BeanContextProxy.java, | |
3592 | java/beans/beancontext/BeanContextServiceProvider.java, | |
3593 | java/beans/beancontext/BeanContextServiceProviderBeanInfo.java, | |
3594 | java/beans/beancontext/BeanContextServiceRevokedListener.java, | |
3595 | java/beans/beancontext/BeanContextServices.java, | |
3596 | java/beans/beancontext/BeanContextServicesListener.java: | |
3597 | Removed redundant modifiers. | |
3598 | ||
928366f0 MK |
3599 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3600 | ||
3601 | * java/beans/AppletInitializer.java, | |
3602 | java/beans/BeanInfo.java, | |
3603 | java/beans/Customizer.java, | |
3604 | java/beans/DesignMode.java, | |
3605 | java/beans/PropertyEditor.java, | |
3606 | java/beans/Visibility.java: | |
3607 | Removed redundant modifiers. | |
3608 | ||
e1a5ed6c MK |
3609 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3610 | ||
3611 | * java/awt/print/Pageable.java, | |
3612 | * java/awt/print/Printable.java, | |
3613 | java/awt/print/PrinterGraphics.java: | |
3614 | Removed redundant modifiers. | |
3615 | ||
4581f1bc MK |
3616 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3617 | ||
3618 | * java/awt/peer/ButtonPeer.java, | |
3619 | java/awt/peer/CheckboxMenuItemPeer.java, | |
3620 | java/awt/peer/CheckboxPeer.java, | |
3621 | java/awt/peer/ChoicePeer.java, | |
3622 | java/awt/peer/ComponentPeer.java, | |
3623 | java/awt/peer/ContainerPeer.java, | |
3624 | java/awt/peer/DialogPeer.java, | |
3625 | java/awt/peer/FileDialogPeer.java, | |
3626 | java/awt/peer/FramePeer.java, | |
3627 | java/awt/peer/LabelPeer.java, | |
3628 | java/awt/peer/ListPeer.java, | |
3629 | java/awt/peer/MenuBarPeer.java, | |
3630 | java/awt/peer/MenuComponentPeer.java, | |
3631 | java/awt/peer/MenuItemPeer.java, | |
3632 | java/awt/peer/MenuPeer.java, | |
3633 | java/awt/peer/PopupMenuPeer.java, | |
3634 | java/awt/peer/RobotPeer.java, | |
3635 | java/awt/peer/ScrollPanePeer.java, | |
3636 | java/awt/peer/ScrollbarPeer.java, | |
3637 | java/awt/peer/TextAreaPeer.java, | |
3638 | java/awt/peer/TextComponentPeer.java, | |
3639 | java/awt/peer/TextFieldPeer.java, | |
3640 | java/awt/peer/WindowPeer.java: | |
3641 | Removed redundant modifiers. | |
3642 | ||
51914674 MK |
3643 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3644 | ||
3645 | * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl. | |
3646 | * gnu/java/nio/ServerSocketChannelImpl.java | |
3647 | (serverSocket): Made it a NIOServerSocket. | |
3648 | (impl): Removed. | |
3649 | (ServerSocketChannelImpl): Initialize only serverSocket. | |
3650 | (initServerSocket): Removed. | |
3651 | (getNativeFD): Rewritten. | |
3652 | (implConfigureBlocking): Set socket timeout and removed comment. | |
3653 | (accept): Rewritten. | |
3654 | * gnu/java/nio/SocketChannelImpl.java | |
3655 | (impl): New variable. | |
3656 | (connected): Removed. | |
3657 | (SocketChannelImpl): Initialize impl too. | |
3658 | (getImpl): New method. | |
3659 | (isConnected): Rewritten. | |
3660 | (read): Rewritten, set position in buffer correctly. | |
3661 | (write): Set position in buffer correctly. | |
3662 | * java/net/ServerSocket.java (getImpl): New method. | |
3663 | * gnu/java/nio/NIOServerSocket.java, | |
3664 | gnu/java/nio/natNIOServerSocket.cc: New files. | |
3665 | * gnu/java/nio/natServerSocketChannelImpl.cc: Removed. | |
3666 | * Makefile.am | |
3667 | (ordinary_java_source_files): | |
3668 | Added gnu/java/nio/NIOServerSocket.java. | |
3669 | (nat_source_files): | |
3670 | Removed gnu/java/nio/natServerSocketChannelImpl.cc | |
3671 | and added gnu/java/nio/natNIOServerSocket.cc. | |
3672 | * Makefile.in: Regenerated. | |
3673 | ||
00f4a3fb MK |
3674 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3675 | ||
a28e846b MK |
3676 | * java/awt/ActiveEvent.java, |
3677 | java/awt/datatransfer/ClipboardOwner.java, | |
3678 | java/awt/datatransfer/FlavorMap.java, | |
3679 | java/awt/datatransfer/Transferable.java, | |
3680 | java/awt/dnd/Autoscroll.java, | |
3681 | java/awt/dnd/peer/DragSourceContextPeer.java, | |
3682 | java/awt/dnd/peer/DropTargetContextPeer.java, | |
3683 | java/awt/dnd/peer/DropTargetPeer.java, | |
3684 | java/awt/font/MultipleMaster.java, | |
3685 | java/awt/font/OpenType.java, | |
3686 | java/awt/im/spi/InputMethodDescriptor.java, | |
3687 | java/awt/image/ImageObserver.java, | |
3688 | java/awt/image/ImageConsumer.java, | |
3689 | java/awt/image/ImageProducer.java, | |
3690 | java/awt/image/RGBImageFilter.java, | |
3691 | java/awt/image/RasterOp.java, | |
3692 | java/awt/image/renderable/RenderableImage.java: | |
3693 | Removed redundant modifiers. | |
00f4a3fb | 3694 | |
31f28689 MK |
3695 | 2003-10-11 Michael Koch <konqueror@gmx.de> |
3696 | ||
b46f35f3 MK |
3697 | * gnu/awt/j2d/DirectRasterGraphics.java, |
3698 | gnu/java/awt/EmbeddedWindowSupport.java: | |
3699 | Removed redundant modifiers. | |
31f28689 | 3700 | |
137f5e84 MK |
3701 | 2003-10-09 Michael Koch <konqueror@gmx.de> |
3702 | ||
3703 | * gnu/java/nio/SelectorImpl.java (register): | |
3704 | Use ServerSocketChannelSelectionKey for server socket channels, | |
3705 | removed unneeded comments. | |
3706 | * gnu/java/nio/ServerSocketChannelImpl.java | |
3707 | (ServerSocketChannelImpl): Made class public final. | |
3708 | (impl): New member variable. | |
3709 | (ServerSocketChannelImpl): Initialize member variables correctly. | |
3710 | (initServerSocket): New method. | |
3711 | (getNativeFD): Likewise. | |
3712 | * gnu/java/nio/ServerSocketChannelSelectionKey.java, | |
3713 | gnu/java/nio/natServerSocketChannelImpl.cc: New files. | |
3714 | * Makefile.am (ordinary_java_source_files): | |
3715 | Added gnu/java/nio/ServerSocketChannelSelectionKey.java. | |
3716 | (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc. | |
3717 | * Makefile.in: Regenrated. | |
3718 | ||
4e3cb200 MK |
3719 | 2003-10-09 Michael Koch <konqueror@gmx.de> |
3720 | ||
3721 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
3722 | (registered): Made private. | |
3723 | (blocking): Likewise. | |
3724 | (LOCK): Likewise. | |
3725 | (provider): Likewise. | |
3726 | (keys): Made it a private LinkedList. | |
3727 | (AbstractSelectableChannel): Initialize keys. | |
3728 | (isRegistered): New implementation. | |
3729 | (locate): Rewritten. | |
3730 | (register): Rewritten. | |
3731 | * java/nio/channels/spi/AbstractSelectionKey.java | |
3732 | (ok): Removed. | |
3733 | (cancelled): New member variable. | |
3734 | (cancel): Rewritten. | |
3735 | (isValid): Rewritten. | |
3736 | * java/nio/channels/spi/AbstractSelector.java: | |
3737 | Some methods moved. | |
3738 | (closed): Make private. | |
3739 | (provider): Likewise. | |
3740 | (cancelledKeys): New member variable. | |
3741 | (AbstractSelector): Initialize cancelledKeys. | |
3742 | (cancelKey): New method. | |
3743 | ||
b379e7b0 TT |
3744 | 2003-10-09 Tom Tromey <tromey@redhat.com> |
3745 | ||
3746 | * java/lang/ClassLoader.java (setSigners): Implemented. | |
3747 | * boehm.cc (_Jv_MarkObj): Mark `signers' field. | |
3748 | * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): | |
3749 | Initialize new fields. | |
3750 | * java/lang/Class.java (getSigners): Now native. | |
3751 | (setSigners): Declare. | |
3752 | * java/lang/natClass.cc (getSigners): New method. | |
3753 | (getSigners): Likewise. | |
3754 | * java/lang/Class.h (Class::signers): New field. | |
3755 | (Class::setSigners): New method. | |
3756 | ||
69c7b827 MK |
3757 | 2003-10-09 Michael Koch <konqueror@gmx.de> |
3758 | ||
3759 | * java/rmi/server/RMIClassLoader.java: | |
3760 | Removed unused imports, little reformatings. | |
3761 | (getClassLoader): New method, implementation was part of old loadCLass | |
3762 | method. | |
3763 | (loadClass): Simplified by moving functionality to new method and | |
3764 | reworking the code a bit. | |
3765 | (getClassAnnotation): Merged documentation from classpath. | |
3766 | ||
a6d6455e MK |
3767 | 2003-10-09 Michael Koch <konqueror@gmx.de> |
3768 | ||
3769 | * java/math/BigInteger.java | |
3770 | (add): Removed unused local variable len. | |
3771 | ||
a5586c38 TF |
3772 | 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> |
3773 | ||
23a555b0 TF |
3774 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove |
3775 | modality check. | |
3776 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets): | |
3777 | Initialize insets to use latest insets. | |
3778 | * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise. | |
3779 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New | |
3780 | field. | |
3781 | (postConfigureEvent): Update latestInsets field when insets | |
3782 | change. Remove call to setSize. Move validate call outside of | |
3783 | if blocks. | |
3784 | (setVisible): Call setBounds before showing window. | |
3785 | (nativeSetVisible): New native method. | |
3786 | * java/awt/Window.java (show): Show visible owned windows. | |
3787 | (hide): Hide visible owned windows. | |
3788 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
3789 | (awt_event_handler): Implement modality using GTK grabs. | |
3790 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
3791 | (global_gtk_window_group): New global variable. | |
3792 | (gtkInit): Initialize global_gtk_window_group. | |
3793 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): | |
3794 | Clamp width and height values to at least 1. Add this window to | |
3795 | the global GTK window group. | |
3796 | (setVisible): Rename to nativeSetVisible. | |
3797 | (setup_window): Remove function. | |
3798 | (setSize): Clamp width and height values to at least 1. | |
3799 | (nativeSetBounds): Likewise. | |
3800 | (gdk_window_get_root_geometry): Remove function. | |
3801 | * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry | |
3802 | and setup_window declarations. Declare global_gtk_window_group. | |
3803 | ||
a5586c38 TF |
3804 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java, |
3805 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
3806 | (gtkSetFont): Handle BOLD and ITALIC style specifiers. | |
3807 | (gtkWidgetSetForeground): New method. | |
3808 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
3809 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3810 | (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods. | |
3811 | (setBackground, setForeground): Implement. | |
3812 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, | |
3813 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
3814 | (gtkSetFont): Handle BOLD and ITALIC style specifiers. | |
3815 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, | |
3816 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise. | |
3817 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
3818 | Position PangoLayout relative to text's baseline. | |
3819 | * jni/gtk-peer/gtkpeer.h: Define AWT font style constants. | |
3820 | ||
3821 | * java/awt/FlowLayout.java (layoutContainer): Fix offset problem | |
3822 | for CENTER and RIGHT alignments. | |
3823 | ||
c0815127 MK |
3824 | 2003-10-08 Michael Koch <konqueror@gmx.de> |
3825 | ||
3826 | * java/security/Security.java: Reformated. | |
3827 | ||
a498cba5 MK |
3828 | 2003-10-08 Michael Koch <konqueror@gmx.de> |
3829 | ||
3830 | * java/text/SimpleDateFormat.java | |
3831 | (compileFormat): Replace Character.isLetter() test with | |
3832 | Character.isLowerCase() || Character.isUpperCase(). | |
3833 | ||
d7912744 TT |
3834 | 2003-10-08 Tom Tromey <tromey@redhat.com> |
3835 | ||
3836 | * java/lang/StrictMath.java (toDegrees): Multiply before | |
3837 | dividing. | |
3838 | (toRadians): Likewise. | |
3839 | ||
3840 | 2003-10-08 C. Brian Jones <cbj@gnu.org> | |
3841 | ||
3842 | * java/lang/Math.java | |
3843 | (toRadians): multiply before dividing to reduce decimal error | |
3844 | (toDegrees): ditto | |
3845 | ||
85aa13b2 MK |
3846 | 2003-10-08 Michael Koch <konqueror@gmx.de> |
3847 | ||
3848 | * gnu/gcj/protocol/core/Connection.java, | |
3849 | gnu/gcj/protocol/core/CoreInputStream.java, | |
3850 | gnu/gcj/protocol/core/Handler.java, | |
3851 | gnu/gcj/protocol/core/natCoreInputStream.cc, | |
3852 | gnu/gcj/protocol/file/Connection.java, | |
3853 | gnu/gcj/protocol/file/Handler.java, | |
3854 | gnu/gcj/protocol/gcjlib/Connection.java, | |
3855 | gnu/gcj/protocol/gcjlib/Handler.java, | |
3856 | gnu/gcj/protocol/http/Connection.java, | |
3857 | gnu/gcj/protocol/http/Handler.java, | |
3858 | gnu/gcj/protocol/jar/Connection.java, | |
3859 | gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol. | |
3860 | * gnu/java/net/protocol/core/Connection.java, | |
3861 | gnu/java/net/protocol/core/CoreInputStream.java, | |
3862 | gnu/java/net/protocol/core/Handler.java, | |
3863 | gnu/java/net/protocol/core/natCoreInputStream.cc, | |
3864 | gnu/java/net/protocol/file/Connection.java, | |
3865 | gnu/java/net/protocol/file/Handler.java, | |
3866 | gnu/java/net/protocol/gcjlib/Connection.java, | |
3867 | gnu/java/net/protocol/gcjlib/Handler.java, | |
3868 | gnu/java/net/protocol/http/Connection.java, | |
3869 | gnu/java/net/protocol/http/Handler.java, | |
3870 | gnu/java/net/protocol/jar/Connection.java, | |
3871 | gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol. | |
3872 | * gnu/gcj/runtime/FirstThread.java, | |
3873 | java/net/URL.java: Use moved protocol handlers. | |
3874 | * Makefile.am | |
3875 | (ordinary_java_source_files): Moved files. | |
3876 | (nat_source_files): Likewise. | |
3877 | * Makefile.in: Regenerated. | |
3878 | ||
36805693 MK |
3879 | 2003-10-08 Michael Koch <konqueror@gmx.de> |
3880 | ||
3881 | * gnu/java/nio/SocketChannelImpl.java | |
3882 | (read): Write only read data to buffer. | |
3883 | ||
ce7a72c8 TF |
3884 | 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> |
3885 | ||
3886 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub | |
3887 | out. | |
3888 | * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__. | |
3889 | (JCL_free): Attach "unused" attribute to env parameter. | |
3890 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c, | |
3891 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c, | |
3892 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, | |
3893 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c, | |
3894 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c, | |
3895 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c, | |
3896 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c, | |
3897 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c, | |
3898 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c, | |
3899 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c, | |
3900 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c, | |
3901 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c, | |
3902 | jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused | |
3903 | parameters. | |
3904 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: | |
3905 | (initNativeState): Pass 0 as info argument to | |
3906 | gtk_selection_add_target. | |
3907 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
3908 | (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove | |
3909 | unused method implementations. | |
3910 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
3911 | (awt_event_handler): Add break statement after default label. | |
3912 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c | |
3913 | (drawPixels): Remove unused variable i. | |
3914 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | |
3915 | (setEnabled): Remove method implementation. | |
3916 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
3917 | (accel_attach): Call _gtk_accel_group_attach with G_OBJECT | |
3918 | argument. | |
3919 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove | |
3920 | unused function. | |
3921 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
3922 | (menu_pos): Assign TRUE to push_in. | |
3923 | (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT | |
3924 | argument. | |
3925 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c | |
3926 | (create): Remove unused variable layout. | |
3927 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): | |
3928 | Pass window_widget, rather than window, to | |
3929 | gtk_widget_set_size_request. | |
3930 | * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out | |
3931 | structure initialization with NULL values. | |
3932 | * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__. | |
3933 | ||
51a398a0 MK |
3934 | 2003-10-08 Michael Koch <konqueror@gmx.de> |
3935 | ||
3936 | * java/util/LinkedList.java: | |
3937 | Removed whitespace to match classpath's version again. | |
3938 | ||
f4758678 MK |
3939 | 2003-10-08 Michael Koch <konqueror@gmx.de> |
3940 | ||
3941 | * java/util/prefs/Preferences.java | |
3942 | (defaultFactoryClass): Fixed class name. | |
3943 | (getFactory): Create instance of class returned by Class.forName(), | |
3944 | reformated code. | |
3945 | ||
e55f4a34 AV |
3946 | 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> |
3947 | ||
3948 | * javax/swing/table/AbstractTableModel.java | |
3949 | (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who | |
3950 | helped stop pulling my hair on this +1 then -1 tricky thing! | |
3951 | ||
ff4cc28b TF |
3952 | 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com> |
3953 | ||
3954 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize): | |
3955 | Remove unused parameters. | |
3956 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize): | |
3957 | Likewise. | |
3958 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
3959 | (keyevent_state_to_awt_mods): Export function. | |
3960 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
3961 | (getCaretPosition): Fix TextArea case. | |
3962 | (textcomponent_commit_cb): Get exact event time and modifier | |
3963 | state. | |
3964 | * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods. | |
3965 | ||
d1aa4795 GL |
3966 | 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org> |
3967 | ||
3968 | * java/net/InetSocketAddress.java | |
3969 | (InetSocketAddress): Made exception more clear. | |
3970 | (equals): Handle case when addr is null. | |
3971 | (toString): Likewise. | |
3972 | * java/net/NetworkInterface.java | |
3973 | (static): Load native library. | |
3974 | (getNetworkInterfaces): Rewritten. | |
3975 | ||
b59b5081 TF |
3976 | 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com> |
3977 | ||
3978 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New | |
3979 | field. | |
3980 | (initializeInsets): New method. | |
3981 | (GtkComponentPeer): Call initializeInsets. Call setCursor and | |
3982 | setBounds unconditionally. | |
3983 | (setBounds): Convert coordinates if parent is a Window. | |
3984 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move | |
3985 | field to GtkComponentPeer. | |
3986 | (GtkContainerPeer): Don't initialize insets. | |
3987 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets): | |
3988 | New method. | |
3989 | (create): Call new GtkWindowPeer create method. | |
3990 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets): | |
3991 | New method. | |
3992 | (create): Call new GtkWindowPeer create method. | |
3993 | (setBounds): Remove method. | |
3994 | (postConfigureEvent): Likewise. | |
3995 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window | |
3996 | type constants with GDK window type constants. | |
3997 | (create(int,boolean,int,int,GtkWindowPeer)): New method. | |
3998 | (create(int,boolean)): Likewise. | |
3999 | (create()): Call create(int,boolean). | |
4000 | (nativeSetBounds): New native method declaration. | |
4001 | (setBounds): Call native method declaration. | |
4002 | (setSize): New native method declaration. | |
4003 | (setBoundsCallback): Likewise. | |
4004 | (postConfigureEvent): Handle change in insets. Call setSize and | |
4005 | setBoundsCallback methods. | |
4006 | * java/awt/Window.java (Window): Set visible to false. | |
4007 | (setBoundsCallback): New method. | |
4008 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
4009 | (gtkWidgetGetLocationOnScreen): If this component is not a | |
4010 | container, adjust the location returned based on the peer's | |
4011 | allocation. | |
4012 | (set(String,boolean)): Revert change from 2003-09-19. | |
4013 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
4014 | (awt_event_handler): Fix inset calculation. | |
4015 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI | |
4016 | glue for Window.setBoundsCallback. | |
4017 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): | |
4018 | Set up stacking order, window decorations and window manager | |
4019 | hints. | |
4020 | (setBoundsCallback): New method. | |
4021 | (setSize): New method. | |
4022 | (nativeSetBounds): New method. | |
4023 | * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID. | |
4024 | ||
d801e245 TT |
4025 | 2003-10-02 Tom Tromey <tromey@redhat.com> |
4026 | ||
4027 | * java/lang/VMClassLoader.java (loadClass): Now native. | |
4028 | * java/lang/natClassLoader.cc (loadClass): Implement. | |
4029 | * prims.cc (_Jv_RunMain): Initialize ClassLoader. | |
4030 | ||
484fe3bf MK |
4031 | 2003-10-02 Michael Koch <konqueror@gmx.de> |
4032 | ||
4033 | * java/net/InetAddress.java | |
4034 | (zeros): Removed. | |
4035 | (ANY_IF): Initalizie in static block. | |
4036 | (static): Load library with native methods here and initialize ANY_IF. | |
4037 | (isAnyLocalAddress): Check if equal to ANY_IF. | |
4038 | (equals): Use addr directly instead of addr1. Simplify for loop. | |
4039 | (toString): Rename "result" to "host" and add IP address allways. | |
4040 | (getLocalHost): Merged documentation from classpath. | |
4041 | * java/net/ServerSocket.java | |
4042 | (ServerSocket): New package-private constructor used by java.nio. | |
4043 | * java/net/URLConnection.java | |
4044 | (getRequestProperties): Check if already connected. | |
4045 | ||
a08a2b75 MK |
4046 | 2003-10-02 Michael Koch <konqueror@gmx.de> |
4047 | ||
4048 | * java/nio/ByteBufferHelper.java: | |
4049 | Rewrote all methods by suggestions from Eric Blake. | |
4050 | ||
cb9b7827 MK |
4051 | 2003-10-02 Michael Koch <konqueror@gmx.de> |
4052 | ||
4053 | * java/net/URL.java | |
4054 | (DEFAULT_SEARCH_PATH): New static variable. | |
4055 | (ph_cache): Made it a HashMap. | |
4056 | (getURLStreamHandler): Rename propVal to ph_search_path and use | |
4057 | DEFAULT_SEARCH_PATH. | |
4058 | ||
16aae3d2 MK |
4059 | 2003-10-02 Michael Koch <konqueror@gmx.de> |
4060 | ||
4061 | * javax/swing/table/AbstractTableModel.java | |
4062 | (findColumnName): Prevent from NullPointerException if argument | |
4063 | columnName is null. | |
4064 | ||
4065 | 2003-10-02 Michael Koch <konqueror@gmx.de> | |
4066 | ||
4067 | * javax/swing/table/AbstractTableModel.java: | |
4068 | This patch is based on a patch done by Arnaud Vandyck | |
4069 | <arnaud.vandyck@ulg.ac.be>. | |
4070 | (getColumnName): Fixed method documentation. | |
4071 | (findColumn): Likewise. | |
4072 | (getColumnClass): Likewise. | |
4073 | (isCellEditable): Likewise. | |
4074 | (setValueAt): Likewise. | |
4075 | (addTableModelListener): Likewise. | |
4076 | (removeTableModelListener): Likewise. | |
4077 | (getTableModelListeners): New method. | |
4078 | ||
4079 | 2003-10-02 Michael Koch <konqueror@gmx.de> | |
4080 | ||
4081 | * javax/swing/table/AbstractTableModel.java: | |
4082 | Reformated. | |
4083 | ||
fddb33d2 BM |
4084 | 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz> |
4085 | ||
4086 | Fix PR libgcj/12475 | |
4087 | * gnu/gcj/runtime/StackTrace.java (finalize): Declare. | |
4088 | * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs". | |
4089 | ||
d6383631 TT |
4090 | 2003-10-01 Tom Tromey <tromey@redhat.com> |
4091 | ||
4092 | * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation. | |
4093 | ||
9dfc2ec2 AH |
4094 | 2003-10-01 Andrew Haley <aph@redhat.com> |
4095 | ||
4096 | * java/lang/natClass.cc (initializeClass): Check for otable and | |
4097 | atable. | |
4098 | (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite | |
4099 | loops using for(). Search superinterfaces. Check for fields as | |
4100 | well as methods. Initialize atable as well as otable: check for | |
4101 | static methods as well as virtual methods. | |
4102 | * java/lang/Class.h (struct _Jv_AddressTable): New. | |
4103 | (atable): New. | |
4104 | (atable_syms): New. | |
4105 | * include/jvm.h (_Jv_equalUtf8Consts): constify. | |
4106 | * prims.cc (_Jv_equalUtf8Consts): constify. | |
4107 | ||
2cd56142 TT |
4108 | 2003-09-29 Tom Tromey <tromey@redhat.com> |
4109 | ||
4110 | PR libgcj/10596: | |
4111 | * include/jvm.h (_Jv_FinalizeString, | |
4112 | _Jv_RegisterStringFinalizer): Declare. | |
4113 | * java/lang/natString.cc (_Jv_FinalizeString): Renamed from | |
4114 | unintern. | |
4115 | (intern): Updated. | |
4116 | (_Jv_NewStringUtf8Const): Likewise. | |
4117 | * java/lang/ref/natReference.cc (finalize_referred_to_object): | |
4118 | Add special case when finalizing a String. | |
4119 | (in_hash): New function. | |
4120 | (_Jv_RegisterStringFinalizer): Likewise. | |
4121 | (maybe_add_finalize): Likewise. | |
4122 | ||
b47ea0e8 MK |
4123 | 2003-09-29 Michael Koch <konqueror@gmx.de> |
4124 | ||
4125 | * java/net/InetAddress.java: | |
4126 | (isMulticastAddress): Dont use local variable to store address length. | |
4127 | Let the compiler optimize this. | |
4128 | (getHostName): Merged dcoumentation from classpath. | |
4129 | (getAddress): Likewise. | |
4130 | (getHostAddress): Likewise. | |
4131 | (hashCode): Likewise. | |
4132 | (equals): Likewise. | |
4133 | (toString): Likewise. | |
4134 | (getByName): Likewise. | |
4135 | (getAllByName): Likewise. | |
4136 | ||
38878195 MK |
4137 | 2003-09-29 Michael Koch <konqueror@gmx.de> |
4138 | ||
4139 | * java/awt/image/IndexColorModel.java: Reformated. | |
4140 | ||
7da1da83 MK |
4141 | 2003-09-29 Michael Koch <konqueror@gmx.de> |
4142 | ||
4143 | * java/net/InetAddress.java, | |
4144 | java/net/URL.java: Reformated. | |
4145 | ||
e7c4333b BM |
4146 | 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz> |
4147 | ||
4148 | * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most | |
4149 | significant bit of descriptor. Include the vtable and sync_info | |
4150 | fields. | |
4151 | ||
f6b17867 BM |
4152 | 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz> |
4153 | ||
6fb70863 BM |
4154 | * java/text/DateFormat.java (format): Throw IllegalArgumentException |
4155 | if `obj' is not a Number or Date instance. | |
4156 | * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList | |
4157 | instead of Vector. | |
4158 | ||
4159 | 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz> | |
4160 | ||
4161 | * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25. | |
f6b17867 BM |
4162 | Don't call setTimeZone on calendar. |
4163 | ||
d485d933 MK |
4164 | 2003-09-27 Michael Koch <konqueror@gmx.de> |
4165 | ||
4166 | * java/net/URL.java (getURLStreamHandler): Compile fixes. | |
4167 | ||
4ada1976 MK |
4168 | 2003-09-27 Michael Koch <konqueror@gmx.de> |
4169 | ||
4170 | * java/net/URL.java (getURLStreamHandler): | |
4171 | Check if we have to use cache before trying to retrieve handler from | |
4172 | cache. Rename facName to clsName to match classpath more. Reformated | |
4173 | some little pieces. | |
4174 | ||
fc40b902 MK |
4175 | 2003-09-27 Michael Koch <konqueror@gmx.de> |
4176 | ||
4177 | * gnu/java/nio/SelectionKeyImpl.java | |
4178 | (ch): Make package-private again. Jikes found this bug. | |
4179 | Jeff Sturm submitted PR12426 for this to bugzilla | |
4180 | to fix this bug in gcj. | |
4181 | ||
6634a0e9 MK |
4182 | 2003-09-26 Michael Koch <konqueror@gmx.de> |
4183 | ||
4184 | * java/rmi/server/RMIClassLoader.java: | |
4185 | Reformatted file, no functional code changes. | |
4186 | ||
fc56f7ac MK |
4187 | 2003-09-26 Sascha Brawer <brawer@dandelis.ch> |
4188 | ||
4189 | * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): | |
4190 | Save space for some pixels at the buffer end. Added Javadoc. | |
4191 | ||
4192 | 2003-09-26 Tom Tromey <tromey@redhat.com> | |
4193 | ||
4194 | * java/io/ObjectOutputStream.java (writeFields): Fixed | |
4195 | indentation. | |
4196 | (putFields): Likewise. | |
4197 | ||
853ca657 MK |
4198 | 2003-09-26 Michael Koch <konqueror@gmx.de> |
4199 | ||
4200 | * java/nio/ByteBufferHelper.java: | |
4201 | Totally reworked with help from Eric Blake. | |
4202 | ||
a366f4aa TT |
4203 | 2003-09-26 Tom Tromey <tromey@redhat.com> |
4204 | ||
4205 | * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote. | |
4206 | * java/awt/geom/PathIterator.java: Documentation fixes. | |
4207 | ||
eac559b6 JS |
4208 | 2003-09-25 Jeff Sturm <jsturm@one-point.com> |
4209 | ||
4210 | * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD(). | |
4211 | (select): Likewise. | |
4212 | (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey. | |
4213 | ||
1bfb64ff MK |
4214 | 2003-09-25 Michael Koch <konqueror@gmx.de> |
4215 | ||
4216 | * gnu/java/nio/DatagramChannelImpl.java | |
4217 | (getNativeFD): New method. | |
4218 | * gnu/java/nio/SelectionKeyImpl.java | |
4219 | (SelectionKeyImpl): Class made abstract. | |
4220 | (fd): Removed. | |
4221 | (SelectionKeyImpl): Remove fd argument. | |
4222 | (getNativeFD): New method. | |
4223 | * gnu/java/nio/SocketChannelImpl.java | |
4224 | (getNativeFD): New method. | |
4225 | gnu/java/nio/DatagramChannelSelectionKey.java, | |
4226 | * gnu/java/nio/SocketChannelSelectionKey.java: | |
4227 | New files. | |
4228 | * Makefile.am (ordinary_java_source_files): | |
4229 | Added new files gnu/java/nio/DatagramChannelSelectionKey.java and | |
4230 | gnu/java/nio/SocketChannelSelectionKey.java. | |
4231 | * Makefile.in: Regenerated. | |
4232 | ||
73a1415e MK |
4233 | 2003-09-25 Michael Koch <konqueror@gmx.de> |
4234 | ||
4235 | * java/lang/reflect/Proxy.java | |
4236 | (getProxyClass): Remove workaround for gcj 3.0.x. | |
4237 | ||
bf172f54 MK |
4238 | 2003-09-25 Michael Koch <konqueror@gmx.de> |
4239 | ||
4240 | * gnu/java/net/PlainDatagramSocketImpl.java | |
4241 | (finalize): Moved to directly after constructor. | |
4242 | (getNativeFD): New method. | |
4243 | * gnu/java/net/PlainSocketImpl.java | |
4244 | (getNativeFD): New method. | |
4245 | ||
9481d818 IP |
4246 | 2003-09-25 Ingo Proetel <proetel@aicas.com> |
4247 | ||
4248 | * java/io/ObjectOutputStream.java: | |
4249 | Allow putFields be called more than once. | |
4250 | ||
2ccba5f0 SB |
4251 | 2003-09-25 Sascha Brawer <brawer@dandelis.ch> |
4252 | ||
4253 | * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0). | |
4254 | * java/awt/image/WritableRaster.java(WritableRaster): Likewise. | |
4255 | * java/awt/image/BufferedImage.java (toString): Implement. | |
4256 | ||
0d9c8a12 JS |
4257 | 2003-09-25 Jeff Sturm <jsturm@one-point.com> |
4258 | ||
4259 | * aclocal.m4: Rebuilt. | |
4260 | * configure: Rebuilt. | |
4261 | ||
cc9556b9 GL |
4262 | 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org> |
4263 | ||
4264 | * java/text/SimpleDateFormat.java (parse): Don't use class calendar | |
4265 | field. | |
4266 | ||
c5fd8041 MK |
4267 | 2003-09-25 Michael Koch <konqueror@gmx.de> |
4268 | ||
4269 | * gnu/java/nio/SelectorImpl.java | |
4270 | (implSelect): Renamed from java_do_select. | |
4271 | (select): Call native implSelect() and add support for Thread | |
4272 | interruption. | |
4273 | * gnu/java/nio/natSelectorImpl.cc | |
4274 | (implSelect): Renamed from java_do_select. | |
4275 | ||
6cbaf038 MK |
4276 | 2003-09-25 Michael Koch <konqueror@gmx.de> |
4277 | ||
4278 | * gnu/java/nio/SelectorImpl.java | |
4279 | (selectNow): Made final, throws IOException. | |
4280 | (select): Likewise. | |
4281 | (getFDsAsArray): Made final. | |
4282 | (selectedKeys): Likewise. | |
4283 | (wakeup): Likewise. | |
4284 | (deregisterCancelledKeys): Likewise. | |
4285 | (register): Likewise. | |
4286 | (ass): Removed. | |
4287 | (add_selected): Removed. | |
4288 | * gnu/java/nio/natSelectorImpl.cc: | |
4289 | No need to include bstring.h or gcj/cni.h. | |
4290 | (helper_put_filedescriptors): Rewritten. | |
4291 | (helper_get_filedescriptors): Rewritten. | |
4292 | ||
bc7ac0d8 MK |
4293 | 2003-09-25 Sascha Brawer <brawer@dandelis.ch> |
4294 | ||
4295 | * java/awt/font/FontRenderContext.java (getTransform): Return | |
4296 | copy of internal transform object. Add Javadoc. | |
4297 | * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same | |
4298 | winding rule as Sun J2SE. | |
4299 | * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix. | |
4300 | ||
4301 | 2003-09-25 Ingo Proetel <proetel@aicas.com> | |
4302 | ||
4303 | * java/rmi/Naming.java: | |
4304 | Added comments, now accepts pseudo protocol "rmi". | |
4305 | ||
eaaad728 GL |
4306 | 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org> |
4307 | ||
4308 | * java/text/DecimalFormat.java (format): Don't immediatly round | |
4309 | baseNumber to long. | |
4310 | (setMinimumIntegerDigits): Call super. | |
4311 | (setMinimumFractionDigits): Likewise. | |
4312 | (setMaximumIntegerDigits): Likewise. | |
4313 | (setMaximumFractionDigits): Likewise. | |
4314 | ||
21e69789 MK |
4315 | 2003-09-25 Michael Koch <konqueror@gmx.de> |
4316 | ||
4317 | * gnu/java/nio/DatagramChannelImpl.java | |
4318 | (DatagramChannelImpl): Made class final. | |
4319 | (blocking): Made private. | |
4320 | (socket): Made it a NIODatagramSocket and private. | |
4321 | (DatagramChannelImpl): create NIODatagramSocket instead of | |
4322 | DatagramSocket. | |
4323 | (implConfigureBlocking): Set socket timeout. | |
4324 | (connect): Check that channel is not closed. | |
4325 | (write): Implemented. | |
4326 | (write): Rewritten. | |
4327 | (read): Implemented. | |
4328 | (read): Rewritten. | |
4329 | (receive): Implemented. | |
4330 | (send): Implemented. | |
4331 | * gnu/java/nio/SelectionKeyImpl.java | |
4332 | (readyOps): Made private. | |
4333 | (interestOps): Made private. | |
4334 | (impl): Made private. | |
4335 | (ch): Made private. | |
4336 | (readyOps): Check if selection key is valid. | |
4337 | (interestOps): Likewise. | |
4338 | * gnu/java/nio/SelectorImpl.java | |
4339 | (closed): Removed. | |
4340 | (keys): Made private. | |
4341 | (selected): Made private. | |
4342 | (finalize): New method. | |
4343 | (implCloseSelector): Rewritten. | |
4344 | (keys): Return unmodifiable Set. | |
4345 | (deregisterCancelledKeys): Fixed typo in method name. | |
4346 | * gnu/java/nio/SocketChannelImpl.java | |
4347 | (SocketChannelImpl): Made class final. | |
4348 | (socket): Made it a NIOSocket and private. | |
4349 | (blocking): Made private. | |
4350 | (connected): Made private. | |
4351 | (connectionPending): New member variable. | |
4352 | (SocketChannelImpl): New implementation. | |
4353 | (finalizer): Use isConnected(). | |
4354 | (connect): Rewritten. | |
4355 | (finishConnect): Throws IOException, implemented. | |
4356 | (isConnectionPending): Return connectionPending. | |
4357 | (read): Rewritten. | |
4358 | (write): Rewritten. | |
4359 | * gnu/java/nio/NIOConstants.java: New file. | |
4360 | * Makefile.am (ordinary_java_source_files): | |
4361 | Added gnu/java/nio/NIOConstants.java. | |
4362 | * Makefile.in: Regenerated. | |
4363 | ||
194c91ec MK |
4364 | 2003-09-25 Michael Koch <konqueror@gmx.de> |
4365 | ||
4366 | * java/net/InetAddress.java: | |
4367 | Reorder imports, remove implementation comment. | |
4368 | (isMulticastAddress): Merged documentation from classpath. | |
4369 | * java/net/URLConnection.java | |
4370 | (setRequestProperty): Check key for null, fix documentation. | |
4371 | (adREquestProperty): Check key for null, remove wrong implementation | |
4372 | and replace it with comment to overwrite this method in subclasses, | |
4373 | fix documentation. | |
4374 | ||
b9f42bb0 TT |
4375 | 2003-09-25 Tom Tromey <tromey@redhat.com> |
4376 | ||
4377 | * java/lang/reflect/Proxy.java (generate): Uncomment protection | |
4378 | domain code. | |
4379 | * java/lang/natClassLoader.cc (defineClass): Added `loader' | |
4380 | argument. | |
4381 | (linkClass0): Now in VMClassLoader. | |
4382 | (markClassErrorState0): Likewise. | |
4383 | (getSystemClassLoaderInternal): New method. | |
4384 | * java/lang/natClass.cc (initializeClass): Use | |
4385 | VMClassLoader::resolveClass. | |
4386 | * java/lang/ClassLoader.java: New version, from Classpath. | |
4387 | * java/lang/Class.java (getProtectionDomain): | |
4388 | protectionDomainPermission and unknownProtectionDomain now in | |
4389 | VMClassLoader. | |
4390 | * java/lang/Class.h: VMClassLoader now a friend class. | |
4391 | * gnu/gcj/runtime/VMClassLoader.java (instance): Now | |
4392 | package-private. | |
4393 | * gcj/javaprims.h: Regenerated class list. | |
4394 | * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass. | |
4395 | * java/lang/VMClassLoader.java: New version from Classpath; | |
4396 | modified for libgcj use. | |
4397 | ||
5e2ba18b MK |
4398 | 2003-09-25 Michael Koch <konqueror@gmx.de> |
4399 | ||
4400 | * java/nio/ByteBufferHelper.java: | |
4401 | New file. | |
4402 | * java/nio/ByteBufferImpl.java, | |
4403 | java/nio/DirectByteBufferImpl.java, | |
4404 | java/nio/MappedByteBufferImpl.java | |
4405 | (getType,putType): Use new helper class ByteBufferHelper. | |
4406 | * Makefile.am (ordinary_java_source_files): | |
4407 | Added java/nio/ByteBufferHelper.java. | |
4408 | * Makefile.in: Regenerated. | |
4409 | ||
3d5cd600 BM |
4410 | 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz> |
4411 | ||
4412 | * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes. | |
4413 | PR libgcj/12388. | |
4414 | ||
afa1ee5e BM |
4415 | 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz> |
4416 | ||
4417 | * java/lang/StringBuffer.java (substring): Don't set `shared' on small | |
4418 | Strings, even if buffer is already shared. | |
4419 | ||
4112c7bd MK |
4420 | 2003-09-24 Michael Koch <konqueror@gmx.de> |
4421 | ||
4422 | * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h. | |
4423 | ||
9b7fe786 BM |
4424 | 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz> |
4425 | ||
4426 | * gnu/java/net/PlainSocketImpl.java (read): Remove declaration. | |
4427 | (write): Likewise. | |
4428 | (SocketInputStream): Declare `read' and `write' methods native. | |
4429 | Remove implementations which called back into PlainSocketImpl. | |
4430 | Remove unneccessary overridden methods. | |
4431 | * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation | |
4432 | to inner class PlainSocketImpl.SocketInputStream. | |
4433 | (write): Likewise. | |
4434 | * gnu/java/net/natPlainSocketImplPosix.cc: As above. | |
4435 | * gnu/java/net/natPlainSocketImplWin32.cc: As above. | |
4436 | * gnu/java/net/SocketInputStream.java: Remove unused file. | |
4437 | * gnu/java/net/SocketOutputStream.java: Likewise. | |
4438 | * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream | |
4439 | and SocketOutputStream. | |
4440 | * Makefile.in: Rebuilt. | |
4441 | ||
da64f72e NN |
4442 | 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org> |
4443 | ||
d0010eed NN |
4444 | * java/lang/System.java: Add GCJ LOCAL note about encoding aliases. |
4445 | ||
da64f72e NN |
4446 | * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL |
4447 | markers. | |
4448 | ||
5463a4f3 AG |
4449 | 2003-09-22 Anthony Green <green@redhat.com> |
4450 | ||
4451 | * configure.in (HAVE_USLEEP_DECL): Define for newlib build. | |
4452 | * configure: Rebuilt. | |
4453 | ||
88962108 RL |
4454 | 2003-09-21 Ralph Loader <suckfish@ihug.co.nz> |
4455 | ||
4456 | PR java/12350: | |
4457 | * java/lang/StringBuffer.java (substring): Fix handling of shared flag. | |
4458 | ||
b5bb72ec MK |
4459 | 2003-09-22 Michael Koch <konqueror@gmx.de> |
4460 | ||
4461 | * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a | |
4462 | compiler warning but produces a different one now. | |
4463 | ||
7cdc862e MK |
4464 | 2003-09-22 Michael Koch <konqueror@gmx.de> |
4465 | ||
4466 | * java/net/InetAddress.java: | |
4467 | Moves around some code, reformats and adds documentation. | |
4468 | No functional changes. | |
4469 | ||
316b38c8 MK |
4470 | 2003-09-22 Michael Koch <konqueror@gmx.de> |
4471 | ||
4472 | * java/net/JarURLConnection.java | |
4473 | (JarURLConnection): Modifed code to match classpath more, fixed comment. | |
4474 | (getCertificates): Made it more error prone. | |
4475 | (getMainAttributes): Likewise. | |
4476 | (getAttributes): Implemented. | |
4477 | (getManifest): Reformatted code. | |
4478 | ||
a8cc9af3 TT |
4479 | 2003-09-20 Tom Tromey <tromey@redhat.com> |
4480 | ||
4481 | * java/awt/Component.java: Indentation cleanup from Classpath. | |
4482 | ||
4483 | 2003-09-20 Dalibor Topic <robilad@kaffe.org> | |
4484 | ||
4485 | * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument | |
4486 | checking to follow 1.4.2 spec. | |
4487 | ||
21cf98f6 IP |
4488 | 2003-08-11 Ingo Proetel <proetel@aicas.com> |
4489 | ||
4490 | * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject | |
4491 | is compatible in case client and server are running in the same VM | |
4492 | (remerged from Classpath on 2003-09-20) | |
4493 | ||
2f54a73f DD |
4494 | 2003-09-19 David Daney <ddaney@avtrex.com> |
4495 | ||
4496 | * java/lang/ref/Reference.java (clear): Set referent to null and | |
4497 | synchronize. | |
4498 | ||
309cecc6 MK |
4499 | 2003-09-19 Michael Koch <konqueror@gmx.de> |
4500 | ||
4501 | * gnu/java/nio/NIODatagramSocket.java, | |
4502 | gnu/java/nio/NIOSocket.java: New files. | |
4503 | * Makefile.am (ordinary_java_source_files): | |
4504 | Added gnu/java/nio/NIODatagramSocket.java and | |
4505 | gnu/java/nio/NIOSocket.java. | |
4506 | * Makefile.in: Regenerated. | |
4507 | ||
5ec47f60 TF |
4508 | 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com> |
4509 | ||
4510 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a | |
4511 | top-level GTK window. | |
4512 | (getArgs): Add "title" property. | |
4513 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use | |
4514 | "allow_shrink" and "allow_grow" properties. | |
4515 | * java/awt/Dialog.java: Initialize resizable to true and change | |
4516 | comments accordingly. Initialize visible to false in | |
4517 | constructors. | |
4518 | * java/awt/Frame.java (dispose): Remove method. | |
4519 | * java/awt/Window.java (ownedWindows): New field. | |
4520 | (Window(Window,GraphicsConfiguration)): Add a weak reference to | |
4521 | owner's ownedWindows vector. | |
4522 | (finalize): Remove method. | |
4523 | (hide): Hide owned windows. | |
4524 | (dispose): Dispose of owned windows. | |
4525 | (getOwnedWindows): Implement. | |
4526 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove | |
4527 | unused GtkArg code. | |
4528 | (set(String,boolean)): Clamp gboolean parameter to g_object_set | |
4529 | to TRUE or FALSE. | |
4530 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
4531 | (create): Set window's size requisition. | |
4532 | (connectHooks): Fix indentation. | |
4533 | (setResizable): Remove function. | |
4534 | (static setBounds): Likewise. | |
4535 | (setBounds): Replace call to setBounds with GTK size requisition | |
4536 | and resize calls. | |
4537 | ||
b90e0e3c ME |
4538 | 2003-09-19 Mohan Embar <gnustuff@thisiscool.com> |
4539 | ||
4540 | * win32-threads.cc: (ensure_interrupt_event_initialized) New | |
4541 | function for lazy initialization of an auto-reset event. | |
4542 | (_Jv_CondWait) Added thread interrupt support. | |
4543 | (_Jv_ThreadInitData) Added initialization of interrupt support | |
4544 | members. | |
4545 | (_Jv_ThreadDestroyData) Added cleanup of interrupt support members. | |
4546 | (_Jv_ThreadStart) Removed unused code. | |
4547 | (_Jv_Win32GetInterruptEvent) New method for returning interrupt event | |
4548 | to an external caller. | |
4549 | (_Jv_ThreadInterrupt) Implemented. | |
4550 | * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset | |
4551 | event for interrupt support as well as a mutex which regulates | |
4552 | access to this. | |
4553 | (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt | |
4554 | event to an external caller. | |
4555 | * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned | |
4556 | process. | |
4557 | (waitFor) Added interrupt support. | |
4558 | ||
65f07024 MK |
4559 | 2003-09-19 Michael Koch <konqueror@gmx.de> |
4560 | ||
4561 | * java/net/DatagramSocket.java (getLocalAddress): | |
4562 | Renamed result variable to localAddr. | |
4563 | * java/net/MulticastSocket.java: | |
4564 | No need to import gnu.java.net.PlainDatagramSocketImpl. | |
4565 | ||
de6b956c SB |
4566 | 2003-09-18 Sascha Brawer <brawer@dandelis.ch> |
4567 | ||
4568 | * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl): | |
4569 | Replace UTF-8 characters in Javadoc by XML/HTML escape sequence. | |
4570 | ||
63c5d91a TT |
4571 | 2003-09-18 Tom Tromey <tromey@redhat.com> |
4572 | ||
4573 | * javax/naming/InitialContext.java: Reindented. | |
4574 | ||
1eeae5c1 DT |
4575 | 2003-09-18 Dalibor Topic <robilad@kaffe.org>, |
4576 | Helmer Kraemer <hkraemer@freenet.de> | |
4577 | ||
4578 | * javax/naming/spi/NamingManager.java (getURLContext, | |
4579 | getObjectInstance, getStateToBind): Always use current thread's | |
4580 | context class loader when calling Class.forName. | |
4581 | ||
f27fd64e MK |
4582 | 2003-09-18 Michael Koch <konqueror@gmx.de> |
4583 | ||
4584 | * java/util/Timer.java (finalize): Added "throws Throwable". | |
4585 | ||
9fd64790 MK |
4586 | 2003-09-18 Michael Koch <konqueror@gmx.de> |
4587 | ||
4588 | * java/net/DatagramSocket.java | |
4589 | (ch): Removed. | |
4590 | (receive): Use getChannel() instead of ch. | |
4591 | (send): Likewise. | |
4592 | (getChannel): Return null. | |
4593 | * java/net/ServerSocket.java | |
4594 | (ch): Removed. | |
4595 | (setChannel): Removed. | |
4596 | (implAccept): Use getChannel() instead of ch. | |
4597 | (close): Likewise. | |
4598 | (getChannel): Return null. | |
4599 | * java/net/Socket.java | |
4600 | (ch): Removed. | |
4601 | (connect): Use getChannel() instead of ch. | |
4602 | (setChannel): Removed. | |
4603 | (getChannel): Return null. | |
4604 | ||
780071b5 MW |
4605 | 2003-09-18 Mark Wielaard <mark@klomp.org> |
4606 | ||
4607 | Reported by Guilhem Lavaux and Julian Dolby | |
4608 | * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the | |
4609 | field "serialPersistentFields", not "getSerialPersistentFields". | |
4610 | ||
1ea8e73b IP |
4611 | 2003-09-18 Ingo Proetel <proetel@aicas.com> |
4612 | ||
4613 | * java/util/TimeZone.java: Initialize lazily. | |
4614 | * java/util/Locale.java (readManifest): Fix check for country. | |
4615 | * java/util/GregorianCalendar.java: Make use of ResourceBundle better | |
4616 | traceable | |
4617 | * java/util/Calendar.java: Make use of ResourceBundle better | |
4618 | traceable. | |
4619 | ||
fc08ad28 JF |
4620 | 2003-09-18 Jeroen Frijters <jeroen@frijters.net> |
4621 | ||
4622 | * java/sql/Timestamp.java | |
4623 | (valueOf): Fixed confusion of java.sql.Date and java.util.Date | |
4624 | ||
f5e2e1ad DG |
4625 | 2003-09-18 David P Grove <groved@us.ibm.com> |
4626 | ||
4627 | * java/io/LineNumberReader (read): Don't reset pos & limit when | |
4628 | markPos is 0. | |
4629 | ||
1216e03b MK |
4630 | 2003-09-18 Dalibor Topic <robilad@kaffe.org> |
4631 | ||
4632 | * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private | |
4633 | constant. | |
4634 | (computeArguments): use computeTypicalArguments. | |
4635 | ||
4636 | * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java, | |
4637 | Compile_jikes.java and RMICException.java. | |
4638 | * gnu/java/rmi/rmic/Compile_kjc.java: New file. | |
4639 | * gnu/java/rmi/rmic/Compile_jikes.java: Likewise. | |
4640 | * gnu/java/rmi/rmic/RMICException.java: Likewise. | |
4641 | ||
4642 | * gnu/java/rmi/rmic/Compiler.java (getDestination): New method. | |
4643 | ||
4644 | * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream. | |
4645 | (computeTypicalArguments): New method. | |
4646 | (compile): Print compiler output to System.out. Collect compiler | |
4647 | error output and use it in exception message. | |
4648 | ||
4649 | * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set. | |
4650 | (destination): Initialize to null. | |
4651 | (run): Replace file separator with '.' when processing class. | |
4652 | (processClass): Replace '.' with file separator when compiling | |
4653 | classes. | |
4654 | (findClass): Use SystemClassLoader to load class. | |
4655 | (generateStub): Use full class name for generated stub, that puts | |
4656 | it in right path. Replace '.' with file separator when generating | |
4657 | stub file name. Write just the stub class name without package | |
4658 | information as class name, and constructor name. Write only | |
4659 | interface names for interfaces extending java.rmi.Remote as | |
4660 | implemented. | |
4661 | (generateSkel): Use full class name for generated skel, that puts | |
4662 | it in right path. Replace '.' with file separator when generating | |
4663 | stub file name. Write just the stub class name without package | |
4664 | information as class name. | |
4665 | ||
4666 | 2003-09-18 Michael Koch <konqueror@gmx.de> | |
4667 | ||
4668 | * Makefile.am (rmi_java_source_files): | |
4669 | Added gnu/java/rmi/rmic/Compile_kjc.java, | |
4670 | gnu/java/rmi/rmic/Compile_jikes.java and | |
4671 | gnu/java/rmi/rmic/RMICException.java | |
4672 | * Makefile.in: Regenerated. | |
4673 | ||
1fe2d5fb GH |
4674 | 2003-09-17 Graydon Hoare <graydon@redhat.com> |
4675 | ||
4676 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java, | |
4677 | gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, | |
4678 | jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c, | |
4679 | jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: | |
4680 | New files. | |
4681 | ||
3b2d7c47 GH |
4682 | 2003-09-16 Graydon Hoare <graydon@redhat.com> |
4683 | ||
4684 | * java/awt/BufferedImage.java (setData): Support non-component | |
4685 | sample models. | |
4686 | (getData): Same. | |
4687 | ||
4688 | 2003-09-10 Graydon Hoare <graydon@redhat.com> | |
4689 | ||
4690 | * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs. | |
4691 | * java/awt/geom/Arc2D.java: Approximate arc segments with cubics. | |
4692 | ||
a28400bb ME |
4693 | 2003-09-17 Mohan Embar <gnustuff@thisiscool.com> |
4694 | ||
4695 | * configure.in: Standardized help text case of | |
4696 | --enable-hash-synchronization | |
4697 | New configure switch --enable-libgcj-multifile and corresponding | |
4698 | automake conditional ONESTEP. | |
4699 | * configure: Rebuilt. | |
4700 | * Makefile.am: Use automake conditional ONESTEP to determine | |
4701 | whether classfiles should be compiled individually or all | |
4702 | at once. | |
4703 | * Makefile.in: Rebuilt. | |
4704 | ||
cc16baeb TF |
4705 | 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com> |
4706 | ||
4707 | * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct): | |
4708 | Remove method declaration. | |
4709 | (create()): Call native create. | |
4710 | (create(int)): New method. | |
4711 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: | |
4712 | (create): Add window_id parameter. Call gtk_plug_new with | |
4713 | window_id parameter. | |
4714 | (construct): Remove method implementation. | |
4715 | ||
2db99d05 ME |
4716 | 2003-09-16 Mohan Embar <gnustuff@thisiscool.com> |
4717 | ||
4718 | * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects. | |
4719 | (mostlyclean-local): New target patterned after clean-local | |
4720 | which recursively deletes all libtool objects using 'libtool rm'. | |
4721 | (clean-local): Slightly modified comment to alleviate monotony. | |
4722 | (distclean-local): New target patterned after clean-local | |
4723 | which recursively deletes all .d files. | |
4724 | * Makefile.in: Rebuilt. | |
4725 | ||
030612a1 TT |
4726 | 2003-09-11 Tom Tromey <tromey@redhat.com> |
4727 | ||
4728 | * java/net/URLStreamHandler.java (parseURL): If original file | |
4729 | ends with "/", so must canonical result. | |
4730 | * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus | |
4731 | with nul-termination and finding previous "/". | |
4732 | ||
e1a3a7d0 MK |
4733 | 2003-09-11 Michael Koch <konqueror@gmx.de> |
4734 | ||
4735 | * acconfig.h: Removed most items. | |
4736 | * configure.in: Added descriptions to AC_DEFINE macros that where in | |
4737 | acconfig.h before. | |
4738 | * include/config.h.in: Regenerated. | |
4739 | ||
130de160 SB |
4740 | 2003-09-11 Sascha Brawer <brawer@dandelis.ch> |
4741 | ||
4742 | * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager | |
4743 | if one is installed. Improve Javadoc. | |
4744 | (getSystemEventQueueImpl): Improve Javadoc. | |
4745 | ||
c203255a TT |
4746 | 2003-09-11 Tom Tromey <tromey@redhat.com> |
4747 | ||
4748 | * java/io/natFilePosix.cc (getCanonicalPath): Handle case where | |
4749 | file does not exist. | |
4750 | ||
cda85569 AG |
4751 | 2003-09-10 Anthony Green <green@redhat.com> |
4752 | ||
4753 | * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData): | |
4754 | Specify full name when referencing ::java::net::InetAddress. | |
4755 | * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto. | |
4756 | Fix argument type. | |
4757 | ||
707691d8 MK |
4758 | 2003-09-10 Michael Koch <konqueror@gmx.de> |
4759 | ||
4760 | * acconfig.h (__NO_MATH_INLINES): Removed. | |
4761 | * configure.in: Removed check for g++ math inlining bug from 2000. | |
4762 | * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and | |
4763 | libgcj_cxxflags. | |
4764 | * configure: Regenerated. | |
4765 | ||
9c9d2cce DD |
4766 | 2003-09-10 David Daney <ddaney@avtrex.com> |
4767 | ||
4768 | * java/util/Arrays.java (equals(all variants)): Quit using | |
4769 | NullPointerException catching to detect null valued parameters. | |
4770 | ||
4a503716 MK |
4771 | 2003-09-10 Michael Koch <konqueror@gmx.de> |
4772 | ||
4773 | * java/net/DatagramSocket.java, | |
4774 | java/net/MulticastSocket.java, | |
4775 | java/net/ServerSocket.java, | |
4776 | java/net/Socket.java: | |
4777 | Use gnu.java.net.Plain*SocketImpl instead of | |
4778 | java.net.PlainSocketImpl. | |
4779 | * java/net/PlainDatagramSocketImpl.java, | |
4780 | java/net/PlainSocketImpl.java, | |
4781 | java/net/SocketInputStream.java, | |
4782 | java/net/SocketOutputStream.java, | |
4783 | java/net/natPlainDatagramSocketImplNoNet.cc, | |
4784 | java/net/natPlainDatagramSocketImplPosix.cc, | |
4785 | java/net/natPlainDatagramSocketImplWin32.cc, | |
4786 | java/net/natPlainSocketImplNoNet.cc, | |
4787 | java/net/natPlainSocketImplPosix.cc, | |
4788 | java/net/natPlainSocketImplWin32.cc: | |
4789 | Removed. | |
4790 | * gnu/java/net/PlainDatagramSocketImpl.java, | |
4791 | gnu/java/net/PlainSocketImpl.java, | |
4792 | gnu/java/net/SocketInputStream.java, | |
4793 | gnu/java/net/SocketOutputStream.java, | |
4794 | gnu/java/net/natPlainDatagramSocketImplNoNet.cc, | |
4795 | gnu/java/net/natPlainDatagramSocketImplPosix.cc, | |
4796 | gnu/java/net/natPlainDatagramSocketImplWin32.cc, | |
4797 | gnu/java/net/natPlainSocketImplNoNet.cc, | |
4798 | gnu/java/net/natPlainSocketImplPosix.cc, | |
4799 | gnu/java/net/natPlainSocketImplWin32.cc: | |
4800 | New files (moved from java/net). | |
4801 | * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc | |
4802 | instead of java/net/natPlain*SocketImpl.cc. | |
4803 | * configure: Regenerated. | |
4804 | * Makefile.am: Moved files from java/net to gnu/java/net. | |
4805 | * Makefile.in: Regenerated. | |
4806 | ||
e517f636 AM |
4807 | 2003-09-09 Alan Modra <amodra@bigpond.net.au> |
4808 | ||
4809 | * configure: Regenerate. | |
4810 | ||
7f09034f TT |
4811 | 2003-09-04 Tom Tromey <tromey@redhat.com> |
4812 | ||
2e71d809 TT |
4813 | * configure.host: Removed erroneous comment. |
4814 | ||
7f09034f TT |
4815 | * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed |
4816 | lvalue cast; use correct rvalue cast. | |
4817 | ||
48c2d88a TF |
4818 | 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com> |
4819 | ||
4820 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width | |
4821 | and height arguments to GtkWindowPeer.create method call. | |
4822 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java | |
4823 | (create(int,int,int)): New method. | |
4824 | (create(int)): Add call to new create method. | |
4825 | (create()): Add width and height arguments to create method | |
4826 | call. | |
4827 | (GtkWindowPeer): Remove call to setBounds. | |
4828 | * java/awt/Frame.java (Frame(String)): Initialize visible field | |
4829 | to false. | |
4830 | (Frame(GraphicsConfiguration)): Likewise. | |
4831 | (Frame(String,GraphicsConfiguration)): Likewise. | |
4832 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): | |
4833 | Add width and height parameters. Call | |
4834 | gtk_window_set_default_size. | |
4835 | (connectHooks): Remove unused name variable. | |
4836 | (static setBounds): Call gtk_window_resize not | |
4837 | gtk_widget_set_usize. | |
4838 | (setBounds): Remove unused nchildren variable. | |
4839 | ||
d9e27aed IP |
4840 | 2003-08-31 Ingo Proetel <proetel@aicas.com> |
4841 | ||
4842 | * java/util/logging/Logger.java: provide class and method information | |
4843 | * java/util/logging/LogManager.java: create handlers | |
4844 | * java/util/logging/SimpleFormatter.java: print souceClassName and | |
4845 | sourceMethodName | |
7f09034f | 4846 | |
5c144158 ME |
4847 | 2003-08-28 Mohan Embar <gnustuff@thisiscool.com> |
4848 | ||
4849 | * win32.cc: fixed tab, indentation and whitespace | |
4850 | inconsistencies | |
4851 | removed jvm.h include | |
4852 | added includes java/lang/UnsupportedOperationException.h, | |
4853 | java/io/IOException.h, java/net/SocketException.h | |
4854 | (WSAEventWrapper): class implementation | |
4855 | (_Jv_WinStrError): implemented both overloads | |
4856 | (_Jv_ThrowIOException): implemented both overloads | |
4857 | (_Jv_ThrowSocketException): implemented both overloads | |
4858 | (_Jv_select): implemented | |
4859 | * include/win32.h: fixed tab, indentation and whitespace | |
4860 | inconsistencies | |
4861 | wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN | |
4862 | added jvm.h include | |
4863 | (WSAEventWrapper): added class declaration | |
4864 | (_Jv_WinStrError): added both overload declarations | |
4865 | (_Jv_ThrowIOException): added both overload declarations | |
4866 | (_Jv_ThrowSocketException): added both overload declarations | |
4867 | removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines | |
4868 | (_Jv_select): added declaration | |
4869 | (_Jv_socket): removed | |
4870 | (_Jv_connect): removed | |
4871 | (_Jv_close): removed | |
4872 | (_Jv_bind): removed | |
4873 | (_Jv_accept): removed | |
4874 | (_Jv_listen): removed | |
4875 | (_Jv_write): removed | |
4876 | (_Jv_read): removed | |
4877 | * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and | |
4878 | whitespace inconsistencies | |
4879 | replaced <windows.h> #include with <platform.h> | |
4880 | removed jvm.h include | |
4881 | (testCanUseGetHandleInfo): new function which tests whether Win32 | |
4882 | GetHandleInformation() call can be used with console buffer handles | |
4883 | (only supported on >=WinNT 5.0) | |
4884 | (winerr): removed (superseded by _Jv_WinStrError in include/win32.h) | |
4885 | (valid): rewrote implementation using GetHandleInformation() | |
4886 | (sync): changed exception throwing to use error string and exception | |
4887 | helper methods declared in include/win32.h | |
4888 | (open): likewise | |
4889 | (write): likewise | |
4890 | (setLength): likewise | |
4891 | (close): likewise | |
4892 | (seek): likewise | |
4893 | (getFilePointer): likewise | |
4894 | (read): likewise | |
4895 | * java/io/natFileWin32.cc: fixed tab, indentation and | |
4896 | whitespace inconsistencies | |
4897 | replaced <windows.h> #include with <platform.h> | |
4898 | removed jvm.h include | |
4899 | (_access): use JV_TEMP_UTF_STRING | |
4900 | (_stat): likewise | |
4901 | (performMkDir): use JV_TEMP_UTF_STRING | |
4902 | (performRenameTo): likewise | |
4903 | (performDelete): likewise | |
4904 | (performCreate): likewise | |
4905 | (performSetReadOnly): likewise | |
4906 | (performSetLastModified): likewise | |
4907 | * java/lang/natWin32Process.cc: fixed tab, indentation and | |
4908 | whitespace inconsistencies | |
4909 | replaced <windows.h> #include with <platform.h> | |
4910 | removed includes gcj/cni.h, jvm.h | |
4911 | (new_string): removed | |
4912 | (startProcess): use JV_TEMP_UTF_STRING, | |
4913 | changed exception throwing to use error string and exception | |
4914 | helper methods declared in include/win32.h | |
4915 | * java/net/natInetAddressWin32.cc: fixed tab, indentation and | |
4916 | whitespace inconsistencies | |
4917 | replaced <windows.h> #include with <platform.h> | |
4918 | removed jvm.h include | |
4919 | removed DISABLE_JAVA_NET conditional code | |
4920 | removed POSIX conditional code not relevant to Win32 | |
4921 | (aton): use JV_TEMP_UTF_STRING | |
4922 | removed POSIX conditional code not relevant to Win32 | |
4923 | (lookup): likewise | |
4924 | (getLocalHostName): likewise | |
4925 | * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and | |
4926 | whitespace inconsistencies | |
4927 | removed unnecessary windows.h, winsock.h and gcj/cni.h includes | |
4928 | removed DISABLE_JAVA_NET conditional code | |
4929 | removed POSIX conditional code not relevant to Win32 | |
4930 | (winsock2GetRealNetworkInterfaces): new function to compute network | |
4931 | interfaces via Winsock2 API | |
4932 | (determineGetRealNetworkInterfacesFN): new function for returning | |
4933 | a function pointer to the function used to compute network interfaces. | |
4934 | (getRealNetworkInterfaces): implemented | |
4935 | * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and | |
4936 | whitespace inconsistencies | |
4937 | removed gcj/cni.h include | |
4938 | removed DISABLE_JAVA_NET conditional code | |
4939 | removed POSIX conditional code not relevant to Win32 | |
4940 | changed net POSIXisms to Win32isms | |
4941 | replaced _Jv socket-related calls with their real Win32 equivalents | |
4942 | changed exception throwing to use error string and exception | |
4943 | helper methods declared in include/win32.h | |
4944 | (peekData): implemented timeout support | |
4945 | (receive): likewise | |
4946 | * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and | |
4947 | whitespace inconsistencies | |
4948 | removed gcj/cni.h and gcj/javaprims.h includes | |
4949 | removed DISABLE_JAVA_NET conditional code | |
4950 | removed POSIX conditional code not relevant to Win32 | |
4951 | changed net POSIXisms to Win32isms | |
4952 | replaced _Jv socket-related calls with their real Win32 | |
4953 | equivalents | |
4954 | changed exception throwing to use error string and exception | |
4955 | helper methods declared in include/win32.h | |
4956 | (throwConnectException): helper function for connect() | |
4957 | (connect): implemented timeout support | |
4958 | (accept): likewise | |
4959 | (doRead): new helper function common to both read() method overloads, | |
4960 | includes timeout support | |
4961 | (read): implemented both overloads in terms of doRead() | |
4962 | (available): implemented using ioctlsocket() | |
4963 | ||
a1d6cdc2 ME |
4964 | 2003-08-28 Mohan Embar <gnustuff@thisiscool.com> |
4965 | ||
4966 | * java/net/natInetAddressWin32.cc, | |
4967 | java/net/natNetworkInterfaceWin32.cc, | |
4968 | java/net/natPlainDatagramSocketImplWin32.cc, | |
4969 | java/net/natPlainSocketImplWin32.cc: | |
4970 | Readded code enclosed in DISABLE_JAVA_NET defines | |
4971 | in preparation for MinGW cleanup / networking | |
4972 | patch | |
4973 | ||
165d9b9c ME |
4974 | 2003-08-28 Mohan Embar <gnustuff@thisiscool.com> |
4975 | ||
4976 | * Makefile.am: Fixed problems with parallel makes. | |
4977 | (all_java_class_files): Readded definition. | |
4978 | (all_java_class_files): New target which depends on | |
4979 | libgcj-@gcc_version@.jar | |
4980 | * Makefile.in: Rebuilt | |
4981 | ||
91edd042 TT |
4982 | 2003-08-28 Tom Tromey <tromey@redhat.com> |
4983 | ||
4984 | * Makefile.in: Rebuilt. | |
4985 | * Makefile.am (ordinary_java_source_files): Added new files. | |
4986 | * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as | |
4987 | friend. | |
4988 | * java/net/URLClassLoader.java (findClass): Don't use | |
4989 | findURLResource. Use loader's getClass method. | |
4990 | (URLLoader.getClass): New method. | |
4991 | (addURL): Handle `gcjlib' URLs. | |
4992 | (SoURLLoader): New class. | |
4993 | (SoResource): Likewise. | |
4994 | * gnu/gcj/protocol/gcjlib/Connection.java: New file. | |
4995 | * gnu/gcj/protocol/gcjlib/Handler.java: New file. | |
4996 | * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc. | |
4997 | (_Jv_RegisterCoreHook): Declare. | |
4998 | (_Jv_FindCore): Declare. | |
4999 | * gnu/gcj/runtime/SharedLibHelper.java: New file. | |
5000 | * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New | |
5001 | typedef. | |
5002 | (core_hook): New function. | |
5003 | (struct SharedLibDummy) [saved_core]: New field. | |
5004 | (init): Set _Jv_RegisterCoreHook. Throw exception on failure. | |
5005 | (register_hook): Set protection domain and class loader on new | |
5006 | class. | |
5007 | (finalize): Free core chain. | |
5008 | * gnu/gcj/Core.java (Core): New constructor. | |
5009 | * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use | |
5010 | SharedLibHelper. | |
5011 | * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet. | |
5012 | (_Jv_create_core): New function. | |
5013 | (create): Use it. | |
5014 | (default_register_resource): New function. | |
5015 | (_Jv_RegisterCoreHook): New global. | |
5016 | (_Jv_RegisterResource): Use it. | |
5017 | (core_chain_struct): Removed. | |
5018 | (_Jv_FindCore): New function. | |
5019 | (_Jv_FreeCoreChain): New function. | |
5020 | ||
0239631a MK |
5021 | 2003-08-29 Michael Koch <konqueror@gmx.de> |
5022 | ||
5023 | * java/net/natInetAddressWin32.cc, | |
5024 | java/net/natNetworkInterfaceWin32.cc, | |
5025 | java/net/natPlainDatagramSocketImplWin32.cc, | |
5026 | java/net/natPlainSocketImplWin32.cc: | |
5027 | Removed code enclosed in DISABLE_JAVA_NET defines. | |
5028 | ||
0c7829a9 ME |
5029 | 2003-08-26 Mohan Embar <gnustuff@thisiscool.com> |
5030 | ||
5031 | * Makefile.am: (write_entries_to_file) New parameterized | |
5032 | function for writing entries to a file one line at a time. | |
5033 | (all_java_class_files): Removed definition. | |
5034 | (.java.class) Removed.target. | |
5035 | (libgcj-@gcc_version@.jar): Changed dependency to | |
5036 | $(all_java_source_files); added compilation step which compiles | |
5037 | all changed source files in one pass. | |
5038 | (libgcj.la) Refactored to use write_entries_to_file. | |
5039 | (lib-gnu-awt-xlib.la) Likewise. | |
5040 | (install-data-local) Likewise. | |
5041 | (write-entries-to-file-check) New target which tests write_entries_to_file. | |
5042 | (all-recursive): Changed dependency from $(all_java_class_files) | |
5043 | to libgcj-@gcc_version@.jar | |
5044 | * Makefile.in: Rebuilt. | |
5045 | ||
777bb1d4 TT |
5046 | 2003-08-26 Tom Tromey <tromey@redhat.com> |
5047 | ||
5048 | * java/lang/StrictMath.java: Typo fix. | |
5049 | * java/lang/Math.java: Typo fix. | |
5050 | ||
5051 | 2003-08-26 Stephen Crawley <crawley@dstc.edu.au> | |
5052 | ||
5053 | * java/lang/ThreadGroup.java (removeThread): null the 'group' field | |
5054 | of the removed Thread. | |
5055 | ||
5056 | 2003-08-26 Mark Wielaard <mark@klomp.org> | |
5057 | ||
5058 | Reported by David Holmes <dholmes@dltech.com.au>. | |
5059 | * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside | |
5060 | Collections.synchronizedMap. | |
5061 | * java/lang/ThreadLocal.java (valueMap): Likewise. | |
5062 | ||
a8599378 MW |
5063 | 2003-08-26 Mark Wielaard <mark@klomp.org> |
5064 | ||
5065 | * java/security/acl/Acl.java: Fix broken p tag. | |
5066 | * java/text/DateFormatSymbols.java: Correctly open and close li tags. | |
5067 | * javax/swing/border/LineBorder.java: Close img tag alt attributes. | |
5068 | * javax/swing/plaf/TreeUI.java: Likewise. | |
5069 | * javax/swing/plaf/basic/BasicTreeUI.java: Likewise. | |
5070 | * java/util/Properties.java: Use the word umlaut, not ä in api | |
5071 | documentation. | |
5072 | * java/util/PropertyResourceBundle.java: Likewise and add closing code | |
5073 | tag. | |
5074 | ||
a638cfb0 TT |
5075 | 2003-08-26 Tom Tromey <tromey@redhat.com> |
5076 | ||
18b3501e TT |
5077 | * Makefile.in: Rebuilt. |
5078 | * Makefile.am: Removed all GNU-make-specific FIXME comments. | |
5079 | ||
a638cfb0 TT |
5080 | * java/lang/ref/Reference.java (get): Indentation fix. |
5081 | (clear): Comment fix. | |
5082 | (enqueue): Likewise. | |
5083 | (lock): Likewise. | |
5084 | (referent): Likewise. | |
5085 | ||
6077db91 TT |
5086 | 2003-08-26 Tom Tromey <tromey@redhat.com> |
5087 | ||
0f56e0cc TT |
5088 | PR java/12058: |
5089 | * java/lang/reflect/natArray.cc (set): Allow null as argument. | |
5090 | ||
6077db91 TT |
5091 | * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String. |
5092 | (ProxyData.getPackage): New method. | |
5093 | (ProxyData.getProxyData): Use package name, not Package. | |
5094 | (ClassFactory.ClassFactory): Updated. | |
5095 | ||
81f7282f SG |
5096 | 2003-08-25 Scott Gilbertson <scottg@mantatest.com> |
5097 | * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java. | |
5098 | * Makefile.in: re-generated. | |
5099 | * gnu/awt/j2d/IntegerGraphicsState.java | |
5100 | (ScreenCoupledImage): new interface. | |
5101 | (drawImage): detect ScreenCoupledImage instances. | |
5102 | * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented. | |
5103 | * gnu/awt/xlib/XEventLoop.java | |
5104 | (createEvent): re-formatted, and rearranged to avoid null pointer. | |
5105 | * gnu/awt/xlib/XGraphics.java | |
5106 | (drawImage): added XOffScreenImage handling. | |
5107 | * gnu/awt/xlib/XOffScreenImage.java: new file. | |
5108 | * gnu/gcj/xlib/Drawable.java (getDepth): new native method. | |
5109 | * gnu/gcj/xlib/GC.java (copyArea): new native method. | |
5110 | * gnu/gcj/xlib/XAnyEvent.java | |
5111 | (TYPE_KEY_PRESS): new constant. | |
5112 | (TYPE_KEY_RELEASE): new constant. | |
5113 | (TYPE_MOTION_NOTIFY): new constant. | |
5114 | (TYPE_ENTER_NOTIFY): new constant. | |
5115 | (TYPE_LEAVE_NOTIFY): new constant. | |
5116 | (TYPE_FOCUS_IN): new constant. | |
5117 | (TYPE_FOCUS_OUT): new constant. | |
5118 | (TYPE_KEYMAP_NOTIFY): new constant. | |
5119 | (TYPE_GRAPHICS_EXPOSE): new constant. | |
5120 | (TYPE_NO_EXPOSE): new constant. | |
5121 | (TYPE_VISIBILITY_NOTIFY): new constant. | |
5122 | (TYPE_CREATE_NOTIFY): new constant. | |
5123 | (TYPE_DESTROY_NOTIFY): new constant. | |
5124 | (TYPE_MAP_REQUEST): new constant. | |
5125 | (TYPE_CONFIGURE_REQUEST): new constant. | |
5126 | (TYPE_GRAVITY_NOTIFY): new constant. | |
5127 | (TYPE_RESIZE_REQUEST): new constant. | |
5128 | (TYPE_CIRCULATE_NOTIFY): new constant. | |
5129 | (TYPE_CIRCULATE_REQUEST): new constant. | |
5130 | (TYPE_PROPERTY_NOTIFY): new constant. | |
5131 | (TYPE_SELECTION_CLEAR): new constant. | |
5132 | (TYPE_SELECTION_REQUEST): new constant. | |
5133 | (TYPE_SELECTION_NOTIFY): new constant. | |
5134 | (TYPE_COLORMAP_NOTIFY): new constant. | |
5135 | (TYPE_MAPPING_NOTIFY): new constant. | |
5136 | * gnu/gcj/xlib/natDrawable.cc (getDepth): new method. | |
5137 | * gnu/gcj/xlib/natGC.cc (copyArea): new method | |
5138 | * java/awt/Component.java (createImage): changed to use peer method. | |
5139 | ||
50fe737a TF |
5140 | 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com> |
5141 | ||
5142 | * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font | |
5143 | name, not XLFD, to native drawString. | |
5144 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
5145 | Replace XLFD-based implementation with Pango-based | |
5146 | implementation. | |
5147 | ||
eb2a5f91 TF |
5148 | 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com> |
5149 | ||
5150 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove | |
5151 | GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1. | |
5152 | ||
c9a61d5a DD |
5153 | 2003-08-21 David Daney <ddaney@avtrex.com> |
5154 | ||
5155 | Fix for PR libgcj/12013: | |
5156 | * java/lang/ref/natReference.cc (finalize_referred_to_object): | |
5157 | Check `cleared' field. | |
5158 | * java/lang/ref/Reference.java (copy): Updated comments. | |
5159 | (cleared): New field. | |
5160 | (clear): Rewrote. | |
5161 | ||
c79c6c5b SG |
5162 | 2003-08-21 Scott Gilbertson <scottg@mantatest.com> |
5163 | Thomas Fitzsimmons <fitzsim@redhat.com> | |
5164 | ||
5165 | * Makefile.am (gtk_awt_peer_sources): Add | |
5166 | gnu/java/awt/peer/GLightweightPeer.java. Remove | |
5167 | gnu/java/awt/GLightweightPeer.java. | |
5168 | * gnu/java/awt/GLightweightPeer.java: Remove file. | |
5169 | * gnu/java/awt/peer/GLightweightPeer.java: New file. | |
5170 | * java/awt/Component.java (getToolkit): Add comment about | |
5171 | lightweight components. | |
5172 | * java/awt/Toolkit.java (createComponent): Return | |
5173 | gnu.java.awt.peer.GLightweightPeer. | |
5174 | ||
17fdfd9f RE |
5175 | 2003-08-21 Richard Earnshaw <rearnsha@arm.com> |
5176 | ||
5177 | * configure.in: Fix detection of gcj when building with newlib. | |
5178 | * configure: Regenerated. | |
5179 | ||
4d6a988a GH |
5180 | 2003-08-20 Graydon Hoare <graydon@redhat.com> |
5181 | ||
5182 | * jni.cc: Replace "cheating" pointer-casting code with | |
5183 | extract_from_jvalue<> template. | |
5184 | ||
f2f3f409 AH |
5185 | 2003-08-20 Andrew Haley <aph@redhat.com> |
5186 | ||
5187 | * gnu/gcj/runtime/StackTrace.java (getClass): New method. | |
5188 | * gnu/gcj/runtime/natStackTrace.cc (getClass): New method. | |
5189 | (classAt): Break out class lookup function into getClass(). | |
5190 | * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception | |
5191 | handlers when using -fno-assume-compiled. | |
5192 | ||
9c6f74cd TT |
5193 | 2003-08-20 Tom Tromey <tromey@redhat.com> |
5194 | ||
3f1923dc TT |
5195 | Fix for PR libgcj/9125: |
5196 | * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime | |
5197 | object outside of loop. Respect lib_control setting. | |
5198 | * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New | |
5199 | field. | |
5200 | (lib_control): New field. | |
5201 | (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants. | |
5202 | (VMClassLoader): Initialize new field. | |
5203 | ||
9c6f74cd TT |
5204 | * java/lang/ref/natReference.cc (finalize_referred_to_object): |
5205 | Set `list->reference' to DELETED_REFERENCE when removing dead | |
5206 | object. | |
5207 | (find_slot): Added an assert. | |
5208 | (DELETED_REFERENCE): New define. | |
5209 | (add_to_hash): Check for DELETED_REFERENCE. | |
5210 | (remove_from_hash): Just return if found slot isn't ours. | |
5211 | ||
2510de8d AH |
5212 | 2003-08-19 Andrew Haley <aph@redhat.com> |
5213 | ||
5214 | * prims.cc (unblock_signal): New function. | |
3e6d83ec AH |
5215 | (catch_segv): Use it. |
5216 | (catch_fpe): Likewise. | |
2510de8d | 5217 | |
3ab37c7d DS |
5218 | 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net> |
5219 | ||
5220 | PR libgcj/11575 | |
5221 | * java/io/natFileDescriptorWin32.cc (open): Set create | |
5222 | flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag. | |
5223 | Honor EXCL when openning with WRITE flag. | |
5224 | ||
dca5e0e8 ME |
5225 | 2003-08-19 Mohan Embar <gnustuff@thisiscool.com> |
5226 | ||
5227 | * include/jvm.h: New class _Jv_TempUTFString (helper class for | |
5228 | getting a temporary C string from a jstring) | |
5229 | New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString | |
5230 | but uses a stack buffer if the string length is less than 256 | |
5231 | bytes. | |
5232 | ||
0da021f5 TT |
5233 | 2003-08-18 Tom Tromey <tromey@redhat.com> |
5234 | ||
5235 | PR libgcj/11951: | |
5236 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns | |
5237 | void. Throw VirtualMachineError if ffi fails. Initialize return | |
5238 | value. Added is_jni_call argument; only wrap exception if not a | |
5239 | JNI call. Use descriptive message if operation not supported. | |
5240 | (_Jv_GetTypesFromSignature): Use declaring class' loader to find | |
5241 | array class. | |
5242 | * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration. | |
5243 | * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of | |
5244 | _Jv_CallAnyMethodA. | |
5245 | (_Jv_JNI_CallAnyMethodA): Likewise. | |
5246 | (_Jv_JNI_CallAnyVoidMethodV): Likewise. | |
5247 | (_Jv_JNI_CallAnyVoidMethodA): Likewise. | |
5248 | ||
bc5ad3e6 TT |
5249 | 2003-08-13 Tom Tromey <tromey@redhat.com> |
5250 | ||
5251 | * gij.cc (help): Document -? and -X. | |
5252 | ||
38e46bff GH |
5253 | 2003-08-12 Graydon Hoare <graydon@redhat.com> |
5254 | ||
5255 | * java/awt/Font.java: | |
5256 | Stub out more recent API. | |
5257 | ||
479f4325 GH |
5258 | 2003-08-12 Graydon Hoare <graydon@redhat.com> |
5259 | ||
5260 | * java/awt/Color.java (getAlpha): | |
5261 | Prevent sign-extended alpha values. | |
5262 | ||
35e6511a TT |
5263 | 2003-08-12 Tom Tromey <tromey@redhat.com> |
5264 | ||
5265 | * gij.cc (main): Handle -? and -X. | |
5266 | ||
dc9a7373 JF |
5267 | 2003-08-10 Jeroen Frijters <jeroen@frijters.net> |
5268 | ||
5269 | * java/awt/Container.java | |
5270 | (getPreferredSize): Call preferredSize. | |
5271 | (preferredSize): Moved body of getPreferredSize here. | |
5272 | (getMinimumSize): Call minimumSize. | |
5273 | (minimumSize): Moved body of getMinimumSize here. | |
5274 | ||
1705e37d TT |
5275 | 2003-08-11 Tom Tromey <tromey@redhat.com> |
5276 | ||
5277 | * java/awt/EventQueue.java (currentEvent, lastWhen): New fields. | |
5278 | (postEvent): Removed FIXME comment. | |
5279 | (isDispatchThread): Documented. | |
5280 | (getCurrentEvent): New method. | |
5281 | (dispatchEvent): Set currentEvent and lastWhen. | |
5282 | (getMostRecentEventTime): Rewrote. | |
5283 | (invokeLater): Documented. | |
5284 | ||
b63853f9 BM |
5285 | 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz> |
5286 | ||
5287 | * java/io/PrintStream.java (print): Always flush if auto_flush is | |
5288 | set. Don't check for newline characters. | |
5289 | (write (int)): Implement without using a temporary array. | |
5290 | (write (byte[], int, int): Always flush if auto_flush is set. Don't | |
5291 | check for newline characters. | |
5292 | Fixes PR libgcj/11778. | |
5293 | ||
fcbe85cd AH |
5294 | 2003-08-08 Andrew Haley <aph@redhat.com> |
5295 | ||
5296 | * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH. | |
5297 | * Makefile.in: Rebuild. | |
5298 | * java/lang/natRuntime.cc (insertSystemProperties): Add | |
5299 | "sun.boot.class.path". | |
5300 | ||
5301 | 2003-08-07 Andrew Haley <aph@redhat.com> | |
5302 | ||
5303 | * java/io/PrintStream.java: Don't crash on a null string. | |
5304 | ||
7160c99d RO |
5305 | 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5306 | ||
5307 | * configure.in: Don't initialize GCINCS to boehm-gc/include. | |
5308 | * configure: Regenerate. | |
5309 | ||
62ad7de1 BM |
5310 | 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz> |
5311 | ||
5312 | * java/net/Socket.java (Socket (SocketImpl)): Don't allow null | |
5313 | SocketImpl. Update Javadoc. | |
5314 | (bind): Call close() not impl.close() in event of exception. | |
5315 | (connect): Likewise. | |
5316 | Remove superfluous null checks throughout. | |
5317 | * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)): | |
5318 | Don't create an extra socket. Fix for PR libgcj/10868. | |
5319 | (bind): Clean up exception handling. | |
5320 | Remove superfluous null checks throughout. | |
5321 | ||
7c6e9255 JG |
5322 | 2003-08-07 Jacob Gladish <gladish@spinnakernet.com> |
5323 | Bryce McKinlay <bryce@mckinlay.net.nz> | |
5324 | ||
5325 | * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a | |
5326 | ready-to-write argument to _Jv_Select. Reset the socket back to | |
5327 | non-blocking state after connecting. | |
5328 | (accept): Pass the FD as a ready-to-write argument to _Jv_Select. | |
5329 | Throw SocketTimeoutException not InterruptedIOException. | |
5330 | (read): Throw SocketTimeoutException not InterruptedIOException. | |
5331 | ||
6eac0ef5 BM |
5332 | 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz> |
5333 | ||
5334 | * java/lang/Thread.java (Thread): Check for null "name" from | |
5335 | start of private constructor, not after calling the private | |
5336 | constructor. | |
5337 | ||
333384df TT |
5338 | 2003-08-06 Tom Tromey <tromey@redhat.com> |
5339 | ||
5340 | * java/io/FilePermission.java (equals): Use correct index for | |
5341 | last character of path. | |
5342 | ||
e7cca7f4 AM |
5343 | 2003-08-06 Alan Modra <amodra@bigpond.net.au> |
5344 | ||
5345 | * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD. | |
5346 | * configure.in: Compare with_cross_host to build_alias, not build. | |
5347 | * aclocal.m4: Regenerate. | |
5348 | * configure: Regenerate. | |
5349 | ||
0d4d2279 TT |
5350 | 2003-08-05 Tom Tromey <tromey@redhat.com> |
5351 | ||
0196f4e0 TT |
5352 | Fix for PR libgcj/11779: |
5353 | * java/lang/reflect/natField.cc (getAddr): Skip frames in Field | |
5354 | class. | |
5355 | ||
0d4d2279 TT |
5356 | * java/lang/reflect/Method.java: Updated status comment. |
5357 | Imported javadoc from Classpath and re-ordered methods. | |
5358 | * java/lang/reflect/Constructor.java: Reindented. Updated | |
5359 | status comment. Imported javadoc from Classpath and re-ordered | |
5360 | methods. | |
5361 | ||
d0b8b6fb TF |
5362 | 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com> |
5363 | ||
5364 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): | |
5365 | Add keyLocation parameter. | |
5366 | * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-" | |
5367 | string. | |
5368 | (paramString): Generate keyChar string according to keyChar, not | |
5369 | keyCode. | |
5370 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
5371 | (state_to_awt_mods): Handle ALT key. | |
5372 | (keyevent_state_to_awt_mods): New function. | |
5373 | (get_first_keyval_from_keymap): New function. | |
5374 | (keysym_to_awt_keycode): Get virtual key code from keymap. | |
5375 | Handle missing VK_ values. | |
5376 | (keysym_to_awt_keylocation): New function. | |
5377 | (keyevent_to_awt_keychar): New function. | |
5378 | (generates_key_typed_event): Handle non-text-component case. | |
5379 | Handle GDK_KP_Delete and GDK_KP_Enter. | |
5380 | (awt_event_handler): Call new functions to get postKeyEvent | |
5381 | parameters. | |
5382 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit): | |
5383 | Update postKeyEvent method signature. | |
5384 | * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing | |
5385 | VK_ defines. | |
5386 | ||
158aa0f7 MK |
5387 | 2003-08-05 Matthias Klose <doko@debian.org> |
5388 | ||
5389 | * aclocal.m4: check for libart-config binary | |
5390 | under the name libart2-config as well. | |
5391 | * configure: regenerated. | |
5392 | ||
66fe55d1 DG |
5393 | 2003-08-04 David P Grove <groved@us.ibm.com> |
5394 | ||
5395 | * java/text/DecimalFormat.java (format): avoid ArithmeticException | |
5396 | when groupingSize is 0. | |
5397 | (parse): Likewise. | |
5398 | ||
27a6ded9 MK |
5399 | 2003-08-04 Matthias Klose <doko@debian.org> |
5400 | ||
5401 | * libart.m4: check for libart-config binary | |
5402 | under the name libart2-config as well. | |
5403 | * configure, aclocal.m4: regenerated. | |
5404 | ||
7318eb21 MK |
5405 | 2003-08-02 Michael Koch <konqueror@gmx.de> |
5406 | ||
5407 | * java/nio/ByteBufferImpl.java | |
5408 | (getChar): Check remaining bytes, fixed comment about endianess. | |
5409 | (putChar): Likewise. | |
5410 | (getShort): Likewise. | |
5411 | (putShort): Likewise. | |
5412 | (getInt): Check remaining bytes, fixed conversion, fixed comment about | |
5413 | endianess. | |
5414 | (putInt): Likewise. | |
5415 | (getLong): Likewise. | |
5416 | (putLong): Likewise. | |
5417 | (getFloat): Likewise. | |
5418 | (putFloat): Likewise. | |
5419 | (getDouble): Likewise. | |
5420 | (putDouble): Likewise. | |
5421 | * java/nio/DirectByteBufferImpl.java | |
5422 | (getChar): Wrapped code, fixed comment about endianess. | |
5423 | (putchar): Likewise. | |
5424 | (getShort): Likewise. | |
5425 | (putShort): Likewise. | |
5426 | (getInt): Fixed conversion, fixed comment about endianess. | |
5427 | (putInt): Likewise. | |
5428 | (getLong): Likewise. | |
5429 | (putLong): Likewise. | |
5430 | (getFloat): Likewise. | |
5431 | (putFloat): Likewise. | |
5432 | (getDouble): Likewise. | |
5433 | (putDouble): Likewise. | |
5434 | * java/nio/MappedByteBufferImpl.java | |
5435 | (compact): Implemented. | |
5436 | (getChar): Implemented. | |
5437 | (putChar): Implemented. | |
5438 | (getDouble): Implemented. | |
5439 | (putdouble): Implemented. | |
5440 | (getFloat): Implemented. | |
5441 | (putFloat): Implemented. | |
5442 | (getInt): Implemented. | |
5443 | (putInt): Implemented. | |
5444 | (getLong): Implemented. | |
5445 | (putLong): Implemented. | |
5446 | (getShort): Implemented. | |
5447 | (putShort): Implemented. | |
5448 | * java/nio/channels/FileChannelImpl.java | |
5449 | (read): Set position where to access file. | |
5450 | (write): Likewise. | |
5451 | (transferTo): Flip buffer after read and before write. | |
5452 | (transferFrom): Likewise. | |
5453 | ||
7575931c MK |
5454 | 2003-08-02 Michael Koch <konqueror@gmx.de> |
5455 | ||
5456 | * gnu/java/lang/ArrayHelper.java | |
5457 | (equalsArray): Reformated, added method documentation. | |
5458 | ||
15b68e02 MK |
5459 | 2003-08-02 Michael Koch <konqueror@gmx.de> |
5460 | ||
5461 | * java/net/URL.java | |
5462 | (URL): Added paragraph about the | |
5463 | gnu.java.net.nocache_protocol_handlers property. | |
5464 | (ph_cache): Renamed from handlers to match classpath's implementation. | |
5465 | Reordered it with factory and serialVersionUID member variables. | |
5466 | (cache_handlers): New member variable. | |
5467 | (static): New static initializer to initialize cache_handlers from | |
5468 | gnu.java.net.nocache_protocol_handlers property. | |
5469 | (URL): Use ph_cache instead of handlers, reformatted some code to | |
5470 | match classpath's implementation. | |
5471 | ||
a04045d0 TT |
5472 | 2003-08-01 Tom Tromey <tromey@redhat.com> |
5473 | ||
5474 | Fix for PR libgcj/11241: | |
5475 | * java/util/WeakHashMap.java (WeakHashMap(int,float)): If | |
5476 | initialCapacity is 0, set it to 1. | |
5477 | ||
6e42faef SC |
5478 | 2003-08-01 Stephen Crawley <crawley@dstc.edu.au> |
5479 | ||
5480 | * java/net/SocketImpl.java (toString): Display the remote address | |
5481 | of an unconnected server socket as "0.0.0.0/0.0.0.0". | |
5482 | ||
1ce4e666 SB |
5483 | 2003-08-01 Sascha Brawer <brawer@dandelis.ch> |
5484 | ||
5485 | * javax/swing/border/BevelBorder.java, | |
5486 | javax/swing/border/EtchedBorder.java, | |
5487 | javax/swing/border/LineBorder.java, | |
5488 | javax/swing/border/MatteBorder.java, | |
5489 | javax/swing/border/SoftBevelBorder.java, | |
5490 | javax/swing/plaf/BorderUIResource.java, | |
5491 | javax/swing/plaf/ComponentUI.java, | |
5492 | javax/swing/plaf/TreeUI.java, | |
5493 | javax/swing/plaf/basic/BasicBorders.java, | |
5494 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
5495 | javax/swing/plaf/basic/BasicTreeUI.java: | |
5496 | Prepend "doc-files" to all paths to embedded Javadoc images, so | |
5497 | that the generated documentation contains the correct URL. | |
5498 | ||
6ab37e1e TT |
5499 | 2003-08-01 Tom Tromey <tromey@redhat.com> |
5500 | ||
5501 | * configure: Rebuilt. | |
5502 | * configure.in (tool_include_dir): Redefine to match gcc. | |
5503 | ||
2f18d7a1 JQ |
5504 | 2003-08-01 Jerry Quinn <jlquinn@optonline.net> |
5505 | Mark Wielaard <mark@klomp.org> | |
5506 | ||
5507 | * java/math/BigDecimal (divide): Correctly handle | |
5508 | ROUND_HALF_EVEN when amount is greater than 0.5. | |
5509 | Simplify and optimize code. | |
5510 | ||
e9c00e62 TT |
5511 | 2003-07-31 Tom Tromey <tromey@redhat.com> |
5512 | ||
5513 | More for PR libgcj/11737: | |
5514 | * java/io/ObjectInputStream.java (processResolution): Use | |
5515 | getMethod. | |
5516 | (getMethod): Make method accessible. | |
5517 | (getField): Make field accessible. | |
5518 | (setBooleanField): Don't call setAccessible here. | |
5519 | (setByteField, setCharField, setDoubleField, setFloatField, | |
5520 | setIntField, setLongField, setShortField, setObjectField): | |
5521 | Likewise. | |
5522 | (callReadMethod): Don't check whether method is null. Catch | |
5523 | NoSuchMethodException. | |
5524 | * java/io/ObjectOutputStream.java (callWriteMethod): Initialize | |
5525 | cause on thrown exceptions. | |
5526 | ||
e14c33e5 SK |
5527 | 2003-07-31 Stepan Koltsov <yozh@mx1.ru> |
5528 | ||
5529 | Fix for PR libgcj/11728: | |
5530 | * java/util/HashMap.java (readObject): Set size. | |
5531 | ||
46b6ccc8 TT |
5532 | 2003-07-31 Tom Tromey <tromey@redhat.com> |
5533 | ||
f7fe97da TT |
5534 | Fix for PR libgcj/11737: |
5535 | * java/io/ObjectOutputStream.java (getMethod): Make method | |
5536 | accessible. | |
5537 | (getField): Likewise. | |
5538 | (writeObject): Use getMethod. | |
5539 | Import PrivilegedAction and AccessController. | |
5540 | (callWriteMethod): Don't check whether m is null. Catch | |
5541 | NoSuchMethodException. | |
5542 | ||
46b6ccc8 TT |
5543 | * java/awt/geom/Arc2D.java (getBounds2D): Implement. |
5544 | (containsAngle): Likewise. | |
5545 | (getStartPoint): Rewrote. | |
5546 | (getEndPoint): Likewise. | |
5547 | (setAngleStart(Point2D)): Likewise. | |
5548 | ||
620a329b RS |
5549 | 2003-07-31 Roger Sayle <roger@eyesopen.com> |
5550 | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
5551 | ||
5552 | * configure.in: Add new THREADCXXFLAGS variable. | |
5553 | Handle POSIX threads on alpha*-dec-osf*. | |
5554 | * configure: Regenerate. | |
5555 | * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS. | |
5556 | * Makefile.in: Regenerate. | |
5557 | ||
cf68fdb1 AH |
5558 | 2003-07-08 Andrew Haley <aph@redhat.com> |
5559 | ||
5560 | * include/i386-signal.h (RESTORE): New. | |
5561 | (INIT_SEGV): Set restorer. | |
5562 | (INIT_FPE): Likewise. | |
5563 | ||
5596e92f TF |
5564 | 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com> |
5565 | ||
5566 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather | |
5567 | than getXLFD. | |
5568 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise. | |
5569 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise. | |
5570 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
5571 | (gtkSetFont): Scale size parameter by PANGO_SCALE. | |
5572 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: | |
5573 | Likewise. | |
5574 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: | |
5575 | Likewise. | |
5576 | ||
a47c20a7 TT |
5577 | 2003-07-29 Tom Tromey <tromey@redhat.com> |
5578 | ||
5579 | * defineclass.cc (handleField): Throw exception if field name is | |
5580 | duplicated. | |
5581 | (handleMethod): Throw exception for duplicate method. | |
5582 | ||
b33ab7a9 TT |
5583 | 2003-07-29 Tom Tromey <tromey@redhat.com> |
5584 | ||
5585 | * gnu/gcj/convert/natIconv.cc (write): Handle case where | |
5586 | output buffer is too small. | |
5587 | ||
651bed36 TT |
5588 | 2003-07-28 Tom Tromey <tromey@redhat.com> |
5589 | ||
5590 | * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)): | |
5591 | New method. | |
5592 | Include gnu/gcj/runtime/StringBuffer.h. | |
5593 | * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New | |
5594 | native method. | |
5595 | (String(gnu.gcj.runtime.StringBuffer)): Use it. | |
5596 | ||
2d29f3a1 AG |
5597 | 2003-07-27 Anthony Green <green@redhat.com> |
5598 | ||
5599 | * configure.in: Fix newlib check. | |
5600 | * configure: Rebuilt. | |
5601 | ||
f1716368 TF |
5602 | 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com> |
5603 | ||
5604 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: | |
5605 | Create vbox and layout for GtkPlug. | |
5606 | ||
b528910d MK |
5607 | 2003-07-27 Michael Koch <konqueror@gmx.de> |
5608 | ||
5609 | * java/awt/Window.java | |
5610 | (Window): Removed now unused constructor. It became oboslete with the | |
5611 | new embedded window patch. | |
5612 | ||
09638081 TF |
5613 | 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h> |
5614 | Michael Koch <konqueror@gmx.de> | |
5615 | ||
5616 | * gnu/java/awt/EmbeddedWindow.java | |
5617 | (EmbeddedWindow): Extends Frame instead of Window. | |
5618 | (window_id): New member variable to store the native window handle. | |
5619 | (create): Removed. | |
5620 | (EmbeddedWindow): New constructor. | |
5621 | (addNotify): New method. | |
5622 | (getHandler): Likewise. | |
5623 | (setWindowPeer): New native method. | |
5624 | * gnu/java/awt/EmbeddedWindowSupport.java | |
5625 | (EmbeddedWindowSupport): Fixed documentation. | |
5626 | (createEmbeddedWindow): Return EmbeddedWindowPeer instead of | |
5627 | WindowPeer, give it an EmbeddedWindow instance instead of the raw | |
5628 | window data. | |
5629 | * gnu/java/awt/natEmbeddedWindow.cc | |
5630 | (create): Removed. | |
5631 | (setWindowPeer): New method. | |
5632 | * gnu/java/awt/peer/EmbeddedWindowPeer.java, | |
5633 | gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java, | |
5634 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: | |
5635 | New files | |
5636 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
5637 | (GtkToolkit): Implements EmbeddedWindowSupport. | |
5638 | (createEmbeddedWindow): New method. | |
5639 | * java/awt/Window.java | |
5640 | (Window): Removed. | |
5641 | * Makefile.am | |
5642 | (java_source_files): Added EmbeddedWindowPeer.java. | |
5643 | (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java. | |
5644 | (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c. | |
5645 | * Makefile.in: Regenerated. | |
5646 | ||
14a5a676 RM |
5647 | 2003-07-26 Ranjit Mathew <rmathew@hotmail.com> |
5648 | ||
cc33095c RM |
5649 | * java/lang/Win32Process.java (ConcreteProcess): Surround |
5650 | a command line element with quotes if it contains an | |
5651 | embedded space or tab. | |
5652 | * java/lang/natWin32Process.cc (startProcess): Do not | |
5653 | surround command line elements with quotes here. | |
5654 | ||
6eb08535 RM |
5655 | * configure.host: Use -fcheck-references and |
5656 | -fuse-divide-subroutine for MinGW until we fix | |
5657 | win32_exception_handler( ) in win32.cc w.r.t. Win32 | |
5658 | Structured Exception Handling (SEH). | |
5659 | ||
14a5a676 RM |
5660 | * win32.cc (_Jv_platform_initProperties): Use generic names |
5661 | like "x86" for the "os.arch" property to be consistent with | |
5662 | what Sun's JDK produces. Use the wProcessorArchitecture | |
5663 | member of the Win32 SYSTEM_INFO structure, filled in a call | |
5664 | to GetSystemInfo( ), instead of dwProcessorType. | |
5665 | ||
d6f6aaf6 ME |
5666 | 2003-07-26 Mohan Embar <gnustuff@thisiscool.com> |
5667 | Ranjit Mathew <rmathew@hotmail.com> | |
5668 | ||
5669 | * Makefile.am: Use cross-compiling gcjh from the path for | |
5670 | a crossed-native build. | |
5671 | * Makefile.in: Rebuilt. | |
5672 | * configure.in: Include libltdl in non-newlib builds. | |
5673 | Moved determination of gcj used to build libraries to | |
5674 | its own section. Fixed cross-compilation issues for | |
5675 | non-newlib builds. | |
5676 | * configure: Rebuilt. | |
5677 | ||
49f60a1a TT |
5678 | 2003-07-25 Tom Tromey <tromey@redhat.com> |
5679 | ||
5680 | * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR. | |
5681 | (write): Likewise. | |
5682 | (read): Likewise. | |
5683 | (read): Likewise. | |
5684 | ||
337ecadf MW |
5685 | 2003-07-25 Mark Wielaard <mark@klomp.org> |
5686 | ||
5687 | * java/lang/natRuntime.cc (_load): Add library name to | |
5688 | UnsatisfiedLinkError when thrown. | |
5689 | ||
ec8a1dd5 MW |
5690 | 2003-07-25 Mark Wielaard <mark@klomp.org> |
5691 | ||
5692 | * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java | |
5693 | added. | |
5694 | * Makefile.in: Likewise. | |
5695 | ||
5696 | 2003-07-25 Jeroen Frijters <jeroen@frijters.net> | |
5697 | ||
5698 | * java/awt/Component.java | |
5699 | (getPreferredSize): Call preferredSize. | |
5700 | (preferredSize): Moved body of getPreferredSize here. | |
5701 | (getMinimumSize): Call minimumSize. | |
5702 | (minimumSize): Moved body of getMinimumSize here. | |
5703 | (prepareImage): Fall back on Toolkit.prepareImage if there is no peer | |
5704 | (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but | |
5705 | pass -1 | |
5706 | * java/awt/Container.java | |
5707 | (validate): Don't validate if there is no peer. | |
5708 | (update): Clear background before calling paint. | |
5709 | * java/awt/GridBagLayout.java | |
5710 | Completed the implementation and fixed several bugs. | |
5711 | * java/awt/MediaTracker.java | |
5712 | (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to | |
5713 | combine flags. | |
5714 | * java/awt/Window.java | |
5715 | (Window): Don't call setVisible(false). Windows are invisible by | |
5716 | default and calling virtual methods from constructor causes | |
5717 | compatibility problems (e.g. subclasses may assume that the peer | |
5718 | already exists). | |
5719 | ||
5720 | 2003-07-25 Michael Koch <konqueror@gmx.de> | |
5721 | ||
5722 | * java/awt/GridBagLayout.java: | |
5723 | Totally reworked and partly implemented. | |
5724 | * java/awt/GridBagLayoutInfo.java: | |
5725 | New file. | |
5726 | ||
dbe4baf5 TF |
5727 | 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com> |
5728 | ||
5729 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): | |
5730 | Don't pack label in an event box. | |
5731 | ||
b6d2b0f7 TT |
5732 | 2003-07-24 Tom Tromey <tromey@redhat.com> |
5733 | ||
5734 | For PR libgcj/7482: | |
5735 | * verify.cc (ref_intersection): New class. | |
5736 | (type_val): Removed unresolved_reference_type, | |
5737 | uninitialized_unresolved_reference_type. | |
5738 | (is_assignable_from_slow): Rewrote. | |
5739 | (type::data): Removed. | |
5740 | (type::klass): New field. | |
5741 | (type::type): Added verifier argument. | |
5742 | (type::resolve): Removed. | |
5743 | (type::set_uninitialized): Updated for change to type_val. | |
5744 | (type::set_initialized): Likewise. | |
5745 | (type::isinitialized): Likewise. | |
5746 | (type::print): Likewise. | |
5747 | (construct_primitive_array_type): Likewise. | |
5748 | (type::compatible): Updated for change to type_val and to use | |
5749 | ref_intersection. | |
5750 | (type::isarray): Updated to use ref_intersection. | |
5751 | (type::isinterface): Likewise. | |
5752 | (type::element_type): Likewise. | |
5753 | (type::to_array): Likewise. | |
5754 | (type::verify_dimensions): Rewrote. | |
5755 | (type::merge): Likewise. | |
5756 | (check_class_constant): Updated for type constructor change. | |
5757 | (check_constant): Likewise. | |
5758 | (check_field_constant): Likewise. | |
5759 | (get_one_type): Likewise. | |
5760 | (initialize_stack): Likewise. | |
5761 | (verify_instructions_0): Likewise. | |
5762 | (verify_instructions_0) [op_invokeinterface]: Removed special | |
5763 | case. | |
5764 | (isect_list): New field. | |
5765 | (_Jv_BytecodeVerifier): Initialize it. | |
5766 | (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. | |
5767 | ||
b3e4bb03 | 5768 | 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi> |
bb477ffa V |
5769 | |
5770 | * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad | |
5771 | unless field size is 2. | |
5772 | ||
434566e7 TF |
5773 | 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com> |
5774 | ||
5775 | * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java | |
5776 | (connectHooks): New method. | |
5777 | (handleEvent): Remove. | |
5778 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java | |
5779 | (createHooks): Remove declaration. | |
5780 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
5781 | (generates_key_typed_event): Change to handle only certain | |
5782 | keyvals. | |
5783 | (awt_event_handler): Add special handling for GtkTextView. | |
5784 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
5785 | (textcomponent_commit_cb): New function. | |
5786 | (textcomponent_changed_cb): Likewise. | |
5787 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c | |
5788 | (connectHooks): Remove. | |
5789 | ||
20da8c21 TT |
5790 | 2003-07-23 Tom Tromey <tromey@redhat.com> |
5791 | ||
ed6d7413 TT |
5792 | * java/lang/natSystem.cc (arraycopy): Check for overflow. |
5793 | ||
20da8c21 TT |
5794 | * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'. |
5795 | ||
e1a4d10f TT |
5796 | 2003-07-22 Tom Tromey <tromey@redhat.com> |
5797 | ||
5798 | * boehm.cc (_Jv_BuildGCDescr): Wrote. | |
5799 | Include limits.h. | |
5800 | ||
5c798f92 TT |
5801 | 2003-07-22 Tom Tromey <tromey@redhat.com> |
5802 | ||
5803 | * java/awt/Window.java (getWarningString): Just return the | |
5804 | string. | |
5805 | (Window): Set warningString; check with security manager. | |
5806 | ||
e81f8786 SG |
5807 | 2003-07-22 Scott Gilbertson <scottg@mantatest.com> |
5808 | ||
5809 | * gnu/awt/xlib/XGraphicsConfiguration.java | |
5810 | (FontMetricsCache): Made static. | |
5811 | ||
c3960338 TT |
5812 | 2003-07-22 Tom Tromey <tromey@redhat.com> |
5813 | ||
5814 | * java/net/URLEncoder.java (encode(String)): Use platform default | |
5815 | encoding. | |
5816 | (encode(String,String)): Convert to 2-digit upper-case hex | |
5817 | number. | |
5818 | (hex): New field. | |
5819 | ||
9ef2dd1f TF |
5820 | 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> |
5821 | ||
5822 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
5823 | (create): Remove unused method implementation. | |
5824 | (connectHooks): Remove debug messages. | |
5825 | ||
49e58846 AG |
5826 | 2003-07-20 Anthony Green <green@redhat.com> |
5827 | ||
5828 | * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle | |
5829 | CloneNotSupportedException. | |
5830 | * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto. | |
5831 | * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto. | |
5832 | * gnu/gcj/xlib/GC.java (clone): Ditto. | |
5833 | * gnu/awt/xlib/XGraphics.java (clone): Ditto. | |
5834 | * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto. | |
5835 | ||
5836 | * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable | |
5837 | handler. | |
5838 | * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto. | |
5839 | ||
8ec88074 SP |
5840 | 2003-07-20 Steve Pribyl <steve@netfuel.com.> |
5841 | ||
5842 | * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a | |
5843 | String. Put dlerror() message into exception. | |
5844 | Include UnsatisfiedLinkError. | |
5845 | * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a | |
5846 | String. Now native. | |
5847 | ||
ffd94572 TT |
5848 | 2003-07-20 Tom Tromey <tromey@redhat.com> |
5849 | ||
5850 | * java/lang/Runtime.java: Comment fix. | |
5851 | * java/lang/ClassLoader.java (isAncestorOf): New method. | |
5852 | (getParent): Uncommented security check. Use isAncestorOf. | |
5853 | * include/jvm.h (_Jv_CheckAccess): Declare. | |
5854 | * java/lang/reflect/natConstructor.cc (newInstance): Perform | |
5855 | access check. | |
5856 | Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h. | |
5857 | * java/lang/reflect/natArray.cc (newInstance): Pass caller's | |
5858 | class loader to _Jv_GetArrayClass. | |
5859 | Include ArrayIndexOutOfBoundsException.h. | |
5860 | * java/lang/reflect/Field.java: Update comment to reflect status. | |
5861 | (equals): Fixed indentation. | |
5862 | * java/lang/Class.h (Class): Declare memberAccessCheck, not | |
5863 | checkMemberAccess. Make _Jv_CheckAccess a friend. | |
5864 | * java/lang/Class.java (memberAccessCheck): New method from | |
5865 | Classpath. | |
5866 | (checkMemberAccess): Removed. | |
5867 | (getDeclaredMethod): Use memberAccessCheck. | |
5868 | (getField): Likewise. | |
5869 | (getMethod): Likewise. | |
5870 | * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess. | |
5871 | (_Jv_SearchMethodInClass): Likewise. | |
5872 | * prims.cc (_Jv_CheckAccess): New function. | |
5873 | * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal. | |
5874 | (_Jv_JNI_GetAnyFieldID): Likewise. | |
5875 | * java/lang/natClass.cc (forName): Use getClassLoaderInternal. | |
5876 | (getClassLoader): Added security check. | |
5877 | (getConstructor): Call memberAccessCheck. | |
5878 | (getDeclaredClasses): Likewise. | |
5879 | (getDeclaredField): Likewise. | |
5880 | (getDeclaredFields): Likewise. | |
5881 | (_getConstructors): Likewise. | |
5882 | (getDeclaredConstructor): Likewise. | |
5883 | (getDeclaredMethods): Likewise. | |
5884 | (getFields): Likewise. | |
5885 | (getMethods): Likewise. | |
5886 | (newInstance): Likewise. | |
5887 | (_Jv_MakeVTable): Put method name in exception. | |
5888 | * java/lang/reflect/natMethod.cc (getType): Use | |
5889 | getClassLoaderInternal. | |
5890 | (_Jv_GetTypesFromSignature): Likewise. | |
5891 | (invoke): Perform access check. | |
5892 | (_Jv_CallAnyMethodA): Removed old FIXME comments. | |
5893 | Include ArrayIndexOutOfBoundsException.h. | |
5894 | * java/lang/reflect/natField.cc (getType): Use | |
5895 | getClassLoaderInternal. | |
5896 | (_Jv_CheckFieldAccessibility): Removed. | |
5897 | (getAddr): Use _Jv_CheckAccess; find caller. | |
5898 | Include ArrayIndexOutOfBoundsException.h. | |
5899 | ||
13cb8e55 MK |
5900 | 2003-07-20 Michael Koch <konqueror@gmx.de> |
5901 | ||
5902 | * java/net/URL.java | |
5903 | (URL): Fixed documentation to name an argument correcty, Reformatted | |
5904 | one method declaration. | |
5905 | (getURLStreamHandler): Added documentation from classpath. | |
ffd94572 | 5906 | |
1b339d86 TT |
5907 | 2003-07-19 Tom Tromey <tromey@redhat.com> |
5908 | ||
5909 | * mauve-libgcj: Don't run CollationElementIterator tests. | |
5910 | ||
35a6c873 JF |
5911 | 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl> |
5912 | ||
5913 | * java/net/URLClassLoader.java (addURL): Moved implementation to | |
5914 | private addURLImpl() to avoid calling addURL from the constructor. | |
5915 | (addURLImpl): Contains the code that was previously in addURL. | |
5916 | (addURLs): Call addURLImpl(), not addURL(). | |
5917 | ||
cecc892a GH |
5918 | 2003-07-18 Graydon Hoare <graydon@redhat.com> |
5919 | ||
5920 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: | |
5921 | Handle missing event cases, connect to "value-changed" signal. | |
5922 | ||
9e508cc4 GH |
5923 | 2003-07-18 Graydon Hoare <graydon@redhat.com> |
5924 | ||
5925 | * java/awt/geom/CubicCurve2D.java, | |
5926 | java/awt/geom/Line2D.java, | |
5927 | java/awt/geom/QuadCurve2D.java, | |
5928 | java/awt/geom/Rectangle2D.java: | |
5929 | Fix path some calculations, make path iterators follow | |
5930 | a consistent style. | |
5931 | ||
c26052b0 MW |
5932 | 2003-07-18 Mark Wielaard <mark@klomp.org> |
5933 | ||
5934 | * java/util/logging/Handler.java (isLoggable): Check record level | |
5935 | smaller or equal. | |
5936 | ||
3aefaf22 MK |
5937 | 2003-07-17 Michael Koch <konqueror@gmx.de> |
5938 | ||
5939 | * gnu/java/awt/peer/gtk/GtkToolkit.java: | |
5940 | Reworked imports. | |
5941 | ||
3a009999 MK |
5942 | 2003-07-14 Michael Koch <konqueror@gmx.de> |
5943 | ||
5944 | * gnu/java/rmi/server/UnicastServerRef.java: | |
5945 | New version from classpath. | |
5946 | ||
6a716777 MK |
5947 | 2003-07-14 Michael Koch <konqueror@gmx.de> |
5948 | ||
5949 | * java/awt/image/MemoryImageSource.java, | |
5950 | java/beans/PropertyEditorManager.java, | |
5951 | javax/naming/CompoundName.java, | |
5952 | javax/naming/spi/NamingManager.java, | |
5953 | javax/swing/AbstractButton.java, | |
5954 | javax/swing/ButtonModel.java, | |
5955 | javax/swing/SwingUtilities.java, | |
5956 | javax/swing/UIManager.java, | |
5957 | javax/swing/colorchooser/DefaultColorSelectionModel.java, | |
5958 | javax/swing/event/AncestorEvent.java, | |
5959 | javax/swing/event/InternalFrameEvent.java, | |
5960 | java/util/zip/ZipFile.java: | |
5961 | New versions from classpath. | |
5962 | ||
ae26c8e2 MK |
5963 | 2003-07-13 Michael Koch <konqueror@gmx.de> |
5964 | ||
5965 | * gnu/java/nio/FileChannelImpl.java, | |
5966 | gnu/java/nio/natFileChannelImpl.cc: Removed. | |
5967 | * java/io/FileInputStream.java, | |
5968 | java/io/FileOutputStream.java, | |
5969 | java/io/RandomAccessFile.java, | |
5970 | java/nio/MappedByteBufferImpl.java: | |
5971 | Import java.nio.channels.FileChannelImpl instead of | |
5972 | gnu.java.nio.FileChannelImpl. | |
5973 | * java/nio/channels/FileChannelImpl.java, | |
5974 | java/nio/channels/natFileChannelImpl.cc: | |
5975 | New files. | |
5976 | * Makefile.am | |
5977 | (ordinary_java_source_files): | |
5978 | Removed gnu/java/nio/FileChannelImpl.java and added | |
5979 | java/nio/channels/FileChannelImpl.java. | |
5980 | (nat source_files): | |
5981 | Removed gnu/java/nio/natFileChannelImpl.cc and added | |
5982 | java/nio/channels/natFileChannelImpl.cc. | |
5983 | * Makefile.in: Regenerated. | |
5984 | ||
65278df2 MK |
5985 | 2003-07-13 Michael Koch <konqueror@gmx.de> |
5986 | ||
5987 | * javax/swing/plaf/basic/BasicBorders.java, | |
5988 | javax/swing/plaf/basic/BasicLabelUI.java, | |
5989 | javax/swing/plaf/basic/BasicLookAndFeel.java, | |
5990 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
5991 | javax/swing/plaf/basic/BasicTextUI.java, | |
5992 | javax/swing/plaf/metal/MetalLookAndFeel.java: | |
5993 | New versions from classpath. | |
5994 | ||
5245ad0c MK |
5995 | 2003-07-13 Michael Koch <konqueror@gmx.de> |
5996 | ||
5997 | * gnu/java/awt/peer/gtk/GdkFontMetrics.java | |
5998 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
5999 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java | |
6000 | * gnu/java/awt/peer/gtk/GtkCanvasPeer.java | |
6001 | * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java | |
6002 | * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java | |
6003 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java | |
6004 | * gnu/java/awt/peer/gtk/GtkChoicePeer.java | |
6005 | * gnu/java/awt/peer/gtk/GtkClipboard.java | |
6006 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java | |
6007 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java | |
6008 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
6009 | * gnu/java/awt/peer/gtk/GtkGenericPeer.java | |
6010 | * gnu/java/awt/peer/gtk/GtkImage.java | |
6011 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
6012 | * gnu/java/awt/peer/gtk/GtkLabelPeer.java | |
6013 | * gnu/java/awt/peer/gtk/GtkListPeer.java | |
6014 | * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java | |
6015 | * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java | |
6016 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
6017 | * gnu/java/awt/peer/gtk/GtkMenuPeer.java | |
6018 | * gnu/java/awt/peer/gtk/GtkOffScreenImage.java | |
6019 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java | |
6020 | * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java | |
6021 | * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java | |
6022 | * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java | |
6023 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java | |
6024 | * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java | |
6025 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java | |
6026 | ||
c035ecda MK |
6027 | 2003-07-13 Michael Koch <konqueror@gmx.de> |
6028 | ||
6029 | * gnu/java/locale/LocaleInformation_de.java | |
6030 | * gnu/java/locale/LocaleInformation_en.java | |
6031 | * gnu/java/locale/LocaleInformation_nl.java | |
6032 | ||
754a9012 MK |
6033 | 2003-07-13 Michael Koch <konqueror@gmx.de> |
6034 | ||
6035 | * gnu/java/awt/EmbeddedWindow.java, | |
6036 | gnu/java/awt/EmbeddedWindowSupport.java, | |
6037 | gnu/java/awt/natEmbeddedWindow.cc: | |
6038 | New files. | |
6039 | * java/awt/Window.java | |
6040 | (Window): New constructor to support embedded windows. | |
6041 | * Makefile.am | |
6042 | (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and | |
6043 | gnu/java/awt/EmbeddedWindowSupport.java. | |
6044 | (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc. | |
6045 | * Makefile.in: Regenerated. | |
6046 | ||
d3276d35 MK |
6047 | 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu> |
6048 | ||
6049 | * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling. | |
6050 | * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise. | |
6051 | * java/awt/im/InputContext.java: Remove a redundant | |
6052 | partial line. | |
6053 | ||
4a2e2916 TT |
6054 | 2003-07-09 Tom Tromey <tromey@redhat.com> |
6055 | ||
6056 | * Makefile.in: Rebuilt. | |
6057 | * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS. | |
6058 | ||
9ef68029 MW |
6059 | 2003-07-09 Mark Wielaard <mark@klomp.org> |
6060 | ||
6061 | * java/io/ObjectOutputStream.java (writeObject): break after | |
6062 | calling writeClassDescriptor(). | |
6063 | ||
d17811fd MM |
6064 | 2003-07-09 Mark Mitchell <mark@codesourcery.com> |
6065 | ||
6066 | * gcj/array.h (JvPrimClass): Don't parenthesize the output. | |
6067 | ||
844c00ed MK |
6068 | 2003-07-09 Michael Koch <konqueror@gmx.de> |
6069 | ||
6070 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
6071 | gnu/java/awt/peer/gtk/GtkContainerPeer.java, | |
6072 | gnu/java/awt/peer/gtk/GtkDialogPeer.java, | |
6073 | gnu/java/awt/peer/gtk/GtkWindowPeer.java: | |
6074 | Explicitly import used classes. | |
6075 | * java/awt/Container.java: New version from classpath. | |
6076 | ||
7fbbd122 MK |
6077 | 2003-07-09 Michael Koch <konqueror@gmx.de> |
6078 | ||
f9d232c3 MK |
6079 | * libgcj.pc.in: New file. |
6080 | * Makefile.am: Install libgcj.pc in $libdir/pkgconfig. | |
6081 | * Makefile.in: Regenerated. | |
6082 | * configure: Regenrated. | |
6083 | * configure.in: Create libgcj.pc from libgcj.pc.in. | |
7fbbd122 | 6084 | |
5be0088e MW |
6085 | 2003-07-08 Mark Wielaard <mark@klomp.org> |
6086 | ||
6087 | * gcj/cni.h: CNI now expands to Compiled Native Interface. | |
6088 | ||
6089 | * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL. | |
6090 | * java/lang/fdlibm.h: Likewise. | |
6091 | ||
690e3ffd AM |
6092 | 2003-07-07 Adam Megacz <adam@xwt.org> |
6093 | ||
6094 | * posix.cc: added #include<stdio.h> | |
6095 | ||
b6fa901b TF |
6096 | 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com> |
6097 | ||
aeb3535d TF |
6098 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix |
6099 | formatting. | |
6100 | ||
b6fa901b TF |
6101 | * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java |
6102 | (setCaretPosition, setEditable): Rely entirely on native | |
6103 | implementation. | |
6104 | (getArgs): Remove. | |
6105 | (postTextEvent): New method. | |
6106 | (handleEvent): New method. | |
6107 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New | |
6108 | method. | |
6109 | * java/awt/event/ActionEvent.java (paramString): Fix formatting. | |
6110 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
6111 | (keysym_to_awt_keycode): Fix range checks. | |
6112 | (generates_key_typed_event): New function. | |
6113 | (awt_event_handler): Post AWT_KEY_RELEASED events to event | |
6114 | queue. | |
6115 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
6116 | (gtkInit): Store TextComponent's postTextEvent method ID. | |
6117 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
6118 | (setText): Post TEXT_VALUE_CHANGED event to event queue. | |
6119 | ||
6b3517ea RO |
6120 | 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6121 | ||
6122 | * configure.in: Check for usleep declaration. | |
6123 | * acconfig.h (HAVE_USLEEP_DECL): Provide template. | |
6124 | * configure: Regenerate. | |
6125 | * include/config.h.in: Likewise. | |
6126 | * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep. | |
6127 | ||
3d8daef2 MK |
6128 | 2003-07-01 Michael Koch <konqueror@gmx.de> |
6129 | ||
6130 | * gnu/gcj/convert/natIconv.cc | |
6131 | (iconv_init): Fixed possible memory leak by releasing allocated iconv | |
6132 | handle. | |
6133 | ||
29e531ff TF |
6134 | 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com> |
6135 | ||
6136 | * glib-2.0.m4: New file. | |
6137 | * gtk-2.0.m4: New file. | |
6138 | * glib.m4: Remove. | |
6139 | * gtk.m4: Remove. | |
6140 | * configure.in: Update AM_PATH_GTK macro call to | |
6141 | AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB. | |
6142 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c, | |
6143 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, | |
6144 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, | |
6145 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c, | |
6146 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c, | |
6147 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c, | |
6148 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c, | |
6149 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, | |
6150 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c, | |
6151 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c, | |
6152 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c, | |
6153 | jni/gtk-peer/gthread-jni.c, | |
6154 | jni/gtk-peer/gthread-jni.h: | |
6155 | New versions from classpath. | |
6156 | * aclocal.m4: Regenerate. | |
6157 | * configure: Regenerate. | |
6158 | * Makefile.in: Regenerate. | |
6159 | * gcj/Makefile.in: Regenerate. | |
6160 | * include/Makefile.in: Regenerate. | |
6161 | * testsuite/Makefile.in: Regenerate. | |
6162 | ||
27758dc0 GB |
6163 | 2003-06-30 Gary Benson <gbenson@redhat.com> |
6164 | ||
6165 | For PR libgcj/11349: | |
6166 | * javax/naming/spi/NamingManager.java (getURLContext): Use | |
6167 | correct name for factory class. | |
6168 | ||
1af3e06b MK |
6169 | 2003-06-28 Michael Koch <konqueror@gmx.de> |
6170 | ||
6171 | * java/io/PrintStream.java | |
6172 | (checkError): Call flush() instead of direct flushing of the Writer | |
6173 | object. | |
6174 | (print): Call print(String) instead of direct print method of the | |
6175 | Writer Object. | |
6176 | (println): Call println(String) instead of direct println method of the | |
6177 | Writer Object. | |
6178 | (write): Simplified. | |
6179 | ||
c5b49e89 MK |
6180 | 2003-06-28 Michael Koch <konqueror@gmx.de> |
6181 | ||
6182 | * java/net/ServerSocket.java | |
6183 | (setChannel): New method. | |
6184 | * java/net/Socket.java | |
6185 | (setChannel): New method. | |
6186 | ||
5bbd6c3e MK |
6187 | 2003-06-27 Michael Koch <konqueror@gmx.de> |
6188 | ||
6189 | * java/beans/beancontext/BeanContextSupport.java: | |
6190 | New version from classpath. | |
6191 | ||
2f161fa8 MK |
6192 | 2003-06-27 Michael Koch <konqueror@gmx.de> |
6193 | ||
6194 | * java/awt/Window.java, | |
6195 | java/awt/font/GraphicAttribute.java, | |
6196 | java/awt/font/ImageGraphicAttribute.java, | |
6197 | java/awt/image/DataBufferByte.java, | |
6198 | java/awt/image/DataBufferInt.java, | |
6199 | java/awt/image/DataBufferUShort.java, | |
6200 | java/awt/image/DirectColorModel.java, | |
6201 | java/awt/image/PixelGrabber.java: | |
6202 | New versions from classpath. | |
6203 | ||
24ce2fe6 MK |
6204 | 2003-06-27 Michael Koch <konqueror@gmx.de> |
6205 | ||
560d4c59 MK |
6206 | * java/security/Certificate.java |
6207 | (getGuarantor): Removed wrong @deprecated tag. | |
6208 | (getPrincipal): Likewise. | |
6209 | (getPublicKey): Likewise. | |
6210 | (encode): Likewise. | |
6211 | (decode): Likewise. | |
6212 | (getFormat): Likewise. | |
6213 | (toString): Likewise. | |
6214 | * java/security/cert/PolicyQualifierInfo.java | |
6215 | (PolicyQualifierInfo): Made final. | |
6216 | * javax/security/auth/x500/X500Principal.java | |
6217 | (serialVersionUID): New member variable. | |
24ce2fe6 | 6218 | |
7e6ec0d8 MK |
6219 | 2003-06-27 Michael Koch <konqueror@gmx.de> |
6220 | ||
6221 | * java/text/Format.java | |
6222 | (serialVersionUID): Fixed value. | |
6223 | ||
6ced3f39 MK |
6224 | 2003-06-27 Michael Koch <konqueror@gmx.de> |
6225 | ||
6226 | * java/net/Inet4Address.java | |
6227 | (Inet4Address): Made package-private. | |
6228 | * java/net/Inet6Address.java | |
6229 | (Inet4Address): Made package-private. | |
6230 | ||
824d4a10 MK |
6231 | 2003-06-27 Michael Koch <konqueror@gmx.de> |
6232 | ||
6233 | * java/io/RandomAccessFile.java | |
6234 | (readLine): Removed wrong @deprecated tag. | |
6235 | (getChannel): Made final. | |
6236 | ||
c938cb68 MK |
6237 | 2003-06-27 Michael Koch <konqueror@gmx.de> |
6238 | ||
6239 | * gnu/java/nio/FileChannelImpl.java | |
6240 | (write): Removed. | |
6241 | ||
1226b900 MK |
6242 | 2003-06-27 Michael Koch <konqueror@gmx.de> |
6243 | ||
6244 | * java/nio/ByteBufferImpl.java | |
6245 | (ByteBufferImpl): Made it a package-private class | |
6246 | * java/nio/CharBufferImpl.java | |
6247 | (CharBufferImpl): Made it a package-private class | |
6248 | * java/nio/DirectByteBufferImpl.java | |
6249 | (DirectByteBufferImpl): Made it a package-private class | |
6250 | * java/nio/DoubleBufferImpl.java | |
6251 | (DoubleBufferImpl): Made it a package-private class | |
6252 | * java/nio/FloatBufferImpl.java | |
6253 | (FloatBufferImpl): Made it a package-private class | |
6254 | * java/nio/IntBufferImpl.java | |
6255 | (IntBufferImpl): Made it a package-private class | |
6256 | * java/nio/LongBufferImpl.java | |
6257 | (LongBufferImpl): Made it a package-private class | |
6258 | * java/nio/ShortBufferImpl.java | |
6259 | (ShortBufferImpl): Made it a package-private class | |
6260 | * java/nio/channels/FileChannel.java | |
6261 | (write): Made final. | |
6262 | * java/nio/channels/ServerSocketChannel.java | |
6263 | (ServerSocketChanne): Made protected. | |
6264 | ||
7fc600fc MK |
6265 | 2003-06-27 Michael Koch <konqueror@gmx.de> |
6266 | ||
6267 | * javax/naming/CompositeName.java | |
6268 | (serialVersionUID): New member variable. | |
6269 | * javax/naming/CompoundName.java | |
6270 | (serialVersionUID): New member variable. | |
6271 | * javax/naming/InitialContext.java | |
6272 | (InitialContext): Throws NamingException. | |
6273 | (init): Likewise. | |
6274 | * javax/naming/LinkRef.java | |
6275 | (serialVersionUID): New member variable. | |
6276 | (gteLinkName): Throws NamingException. | |
6277 | * javax/naming/NamingException.java | |
6278 | (serialVersionUID): New member variable. | |
6279 | * javax/naming/NamingSecurityException.java | |
6280 | (NamingSecurityException): Made abstract. | |
6281 | (serialVersionUID): New member variable. | |
6282 | * javax/naming/ReferralException.java | |
6283 | (serialVersionUID): New member variable. | |
6284 | * javax/naming/StringRefAddr.java | |
6285 | (serialVersionUID): New member variable. | |
6286 | * javax/naming/directory/BasicAttribute.java: | |
6287 | Reworked imports. | |
6288 | (serialVersionUID): New member variable. | |
6289 | (get): Throws NamingException. | |
6290 | (getAll): Throws NamingException. | |
6291 | * javax/naming/directory/BasicAttributes.java: | |
6292 | Reworked imports. | |
6293 | (serialVersionUID): New member variable. | |
6294 | * javax/naming/ldap/UnsolicitedNotificationEvent.java | |
6295 | (serialVersionUID): New member variable. | |
6296 | ||
3556d877 MK |
6297 | 2003-06-27 Michael Koch <konqueror@gmx.de> |
6298 | ||
6299 | * Makefile.am | |
6300 | (awt_java_source_files): Added new files: | |
6301 | javax/swing/Popup.java, | |
6302 | javax/swing/PopupFactory.java | |
6303 | * Makefile.in: Regenerated. | |
6304 | ||
1c9d1c5b MK |
6305 | 2003-06-27 Michael Koch <konqueror@gmx.de> |
6306 | ||
6307 | * javax/swing/JWindow.java, | |
6308 | javax/swing/event/AncestorEvent.java, | |
6309 | javax/swing/event/HyperlinkEvent.java, | |
6310 | javax/swing/event/InternalFrameEvent.java, | |
6311 | javax/swing/event/ListDataEvent.java, | |
6312 | javax/swing/event/TableModelEvent.java, | |
6313 | javax/swing/plaf/PopupMenuUI.java, | |
6314 | javax/swing/plaf/SplitPaneUI.java, | |
6315 | javax/swing/plaf/TabbedPaneUI.java, | |
6316 | javax/swing/plaf/TextUI.java, | |
6317 | javax/swing/plaf/TreeUI.java, | |
6318 | javax/swing/plaf/basic/BasicTextUI.java, | |
6319 | javax/swing/plaf/basic/BasicTreeUI.java: | |
6320 | New versions from classpath. | |
6321 | * javax/swing/Popup.java, | |
6322 | javax/swing/PopupFactory.jav: | |
6323 | New source files from classpath. | |
6324 | * javax/swing/plaf/doc-files/TreeUI-1.png: | |
6325 | New binary files from classpath. | |
6326 | ||
534e254b MK |
6327 | 2003-06-25 Michael Koch <konqueror@gmx.de> |
6328 | ||
6329 | * Makefile.am | |
6330 | (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java. | |
6331 | * Makefile.in: Regenerated. | |
6332 | ||
55060f0e MK |
6333 | 2003-06-25 Michael Koch <konqueror@gmx.de> |
6334 | ||
6335 | * javax/swing/plaf/ActionMapUIResource.java, | |
6336 | javax/swing/plaf/BorderUIResource.java, | |
6337 | javax/swing/plaf/ButtonUI.java, | |
6338 | javax/swing/plaf/ColorChooserUI.java, | |
6339 | javax/swing/plaf/ColorUIResource.java, | |
6340 | javax/swing/plaf/ComboBoxUI.java, | |
6341 | javax/swing/plaf/ComponentInputMapUIResource.java, | |
6342 | javax/swing/plaf/ComponentUI.java, | |
6343 | javax/swing/plaf/DesktopIconUI.java, | |
6344 | javax/swing/plaf/DesktopPaneUI.java, | |
6345 | javax/swing/plaf/DimensionUIResource.java, | |
6346 | javax/swing/plaf/FileChooserUI.java, | |
6347 | javax/swing/plaf/FontUIResource.java, | |
6348 | javax/swing/plaf/IconUIResource.java, | |
6349 | javax/swing/plaf/InputMapUIResource.java, | |
6350 | javax/swing/plaf/InsetsUIResource.java, | |
6351 | javax/swing/plaf/InternalFrameUI.java, | |
6352 | javax/swing/plaf/LabelUI.java, | |
6353 | javax/swing/plaf/ListUI.java, | |
6354 | javax/swing/plaf/MenuBarUI.java, | |
6355 | javax/swing/plaf/MenuItemUI.java, | |
6356 | javax/swing/plaf/OptionPaneUI.java, | |
6357 | javax/swing/plaf/PanelUI.java, | |
6358 | javax/swing/plaf/ProgressBarUI.java, | |
6359 | javax/swing/plaf/RootPaneUI.java, | |
6360 | javax/swing/plaf/ScrollBarUI.java, | |
6361 | javax/swing/plaf/ScrollPaneUI.java, | |
6362 | javax/swing/plaf/SeparatorUI.java, | |
6363 | javax/swing/plaf/SliderUI.java, | |
6364 | javax/swing/plaf/TableHeaderUI.java, | |
6365 | javax/swing/plaf/TableUI.java, | |
6366 | javax/swing/plaf/ToolBarUI.java, | |
6367 | javax/swing/plaf/ToolTipUI.java, | |
6368 | javax/swing/plaf/ViewportUI.java: | |
6369 | New versions from classpath. | |
6370 | * javax/swing/plaf/SpinnerUI.java: | |
6371 | New file from classpath | |
6372 | ||
7099616c MK |
6373 | 2003-06-25 Michael Koch <konqueror@gmx.de> |
6374 | ||
6375 | * java/awt/image/ColorModel.java: | |
6376 | New version from classpath. | |
6377 | ||
d0e029d8 MK |
6378 | 2003-06-25 Michael Koch <konqueror@gmx.de> |
6379 | ||
6380 | * java/net/PlainDatagramSocketImpl.java: | |
6381 | Partly merged with classpath, this mainly adds documentation. | |
6382 | ||
3cc9a95d MK |
6383 | 2003-06-25 Michael Koch <konqueror@gmx.de> |
6384 | ||
6385 | * java/io/ObjectInputStream.java | |
6386 | (readClassDescriptor): New method. | |
6387 | (readObject): Moved functionality to readClassDescriptor(). | |
6388 | * java/io/ObjectOutputStream.java | |
6389 | (writeClassDescriptor): New method. | |
6390 | (writeObject): Moved functionality to writeClassDescriptor(). | |
6391 | ||
a7c0a442 MK |
6392 | 2003-06-25 Michael Koch <konqueror@gmx.de> |
6393 | ||
6394 | * javax/swing/plaf/basic/BasicListUI.java, | |
6395 | javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
6396 | Added missing methods. | |
6397 | ||
b9901162 MK |
6398 | 2003-06-25 Michael Koch <konqueror@gmx.de> |
6399 | ||
6400 | * javax/swing/event/AncestorEvent.java | |
6401 | javax/swing/event/HyperlinkEvent.java | |
6402 | javax/swing/event/InternalFrameEvent.java | |
6403 | javax/swing/event/ListDataEvent.java | |
6404 | javax/swing/event/TableModelEvent.java: | |
6405 | Compile fixes. | |
6406 | ||
cb64c638 MK |
6407 | 2003-06-24 Michael Koch <konqueror@gmx.de> |
6408 | ||
6409 | * java/net/URL.java: | |
6410 | Renamed "handler" to "ph" in the whole file to match classpaths | |
6411 | version. | |
6412 | * java/net/URLStreamHandler.java: | |
6413 | (equals): Renamed "handler" to "ph". | |
6414 | ||
bbe53f03 MK |
6415 | 2003-06-24 Michael Koch <konqueror@gmx.de> |
6416 | ||
6417 | * javax/swing/event/AncestorEvent.java, | |
6418 | javax/swing/event/HyperlinkEvent.java, | |
6419 | javax/swing/event/InternalFrameEvent.java, | |
6420 | javax/swing/event/ListDataEvent.java, | |
6421 | javax/swing/event/TableModelEvent.java, | |
6422 | javax/swing/event/TreeWillExpandListener.java, | |
6423 | javax/swing/plaf/ComponentUI.java, | |
6424 | javax/swing/plaf/DesktopIconUI.java, | |
6425 | javax/swing/plaf/DesktopPaneUI.java, | |
6426 | javax/swing/plaf/DimensionUIResource.java, | |
6427 | javax/swing/plaf/FileChooserUI.java, | |
6428 | javax/swing/plaf/FontUIResource.java, | |
6429 | javax/swing/plaf/IconUIResource.java, | |
6430 | javax/swing/plaf/InputMapUIResource.java, | |
6431 | javax/swing/plaf/InsetsUIResource.java, | |
6432 | javax/swing/plaf/InternalFrameUI.java, | |
6433 | javax/swing/plaf/LabelUI.java, | |
6434 | javax/swing/plaf/ListUI.java, | |
6435 | javax/swing/plaf/MenuBarUI.java, | |
6436 | javax/swing/plaf/MenuItemUI.java, | |
6437 | javax/swing/plaf/OptionPaneUI.java, | |
6438 | javax/swing/plaf/PanelUI.java, | |
6439 | javax/swing/plaf/ProgressBarUI.java, | |
6440 | javax/swing/plaf/doc-files/ComponentUI-1.dia, | |
6441 | javax/swing/plaf/doc-files/ComponentUI-1.png: | |
6442 | New versions from classpath. | |
6443 | ||
3a63ab40 MK |
6444 | 2003-06-24 Michael Koch <konqueror@gmx.de> |
6445 | ||
6446 | * java/nio/Buffer.java | |
6447 | (cap): Made package-private. | |
6448 | (pos): Likewise. | |
6449 | (limit): Likewise. | |
6450 | (mark): Likewise. | |
6451 | ||
ed1f9b7c MK |
6452 | 2003-06-24 Michael Koch <konqueror@gmx.de> |
6453 | ||
6454 | * java/net/SocketImpl.java | |
6455 | (shutdownInput): Made it non-abstract method throwing an exception | |
6456 | like in SUNs JRE. | |
6457 | (shutdownOutput): Likewise. | |
6458 | * java/net/SocketInputStream.java, | |
6459 | java/net/SocketOutputStream.java: | |
6460 | New files from classpath. | |
6461 | ||
59b8aa7e MK |
6462 | 2003-06-24 Michael Koch <konqueror@gmx.de> |
6463 | ||
6464 | * java/awt/Font.java, | |
6465 | java/awt/Window.java, | |
6466 | java/awt/color/ColorSpace.java, | |
6467 | java/awt/datatransfer/StringSelection.java, | |
6468 | java/awt/image/ColorModel.java: | |
6469 | New versions from classpath. | |
6470 | ||
5d09ad73 MK |
6471 | 2003-06-24 Michael Koch <konqueror@gmx.de> |
6472 | ||
6473 | * Makefile.am | |
6474 | (awt_java_source_files): Added new files: | |
6475 | javax/swing/plaf/basic/BasicSplitPaneDivider.java, | |
6476 | javax/swing/plaf/basic/BasicSplitPaneUI.java | |
6477 | * Makefile.in: Regenerated. | |
6478 | ||
92c268fa MK |
6479 | 2003-06-24 Michael Koch <konqueror@gmx.de> |
6480 | ||
6481 | * javax/swing/text/JTextComponent.java: | |
6482 | New version from classpath. | |
6483 | ||
a0ea8550 MK |
6484 | 2003-06-24 Michael Koch <konqueror@gmx.de> |
6485 | ||
6486 | * javax/swing/Timer.java, | |
6487 | javax/swing/plaf/ActionMapUIResource.java, | |
6488 | javax/swing/plaf/ButtonUI.java, | |
6489 | javax/swing/plaf/ColorChooserUI.java, | |
6490 | javax/swing/plaf/ColorUIResource.java, | |
6491 | javax/swing/plaf/ComboBoxUI.java, | |
6492 | javax/swing/plaf/ComponentInputMapUIResource.java, | |
6493 | javax/swing/plaf/basic/BasicBorders.java: | |
6494 | New versions from classpath. | |
6495 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java. | |
6496 | javax/swing/plaf/basic/BasicSplitPaneUI.java: | |
6497 | New file from classpath. | |
6498 | * javax/swing/plaf/basic/doc-files/BasicBorders-1.png, | |
6499 | javax/swing/plaf/basic/doc-files/BasicBorders-2.png, | |
6500 | javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png, | |
6501 | javax/swing/plaf/doc-files/ComponentUI-1.dia, | |
6502 | javax/swing/plaf/doc-files/ComponentUI-1.png: | |
6503 | New binary files from classpath. | |
6504 | ||
20afd475 MK |
6505 | 2003-06-24 Michael Koch <konqueror@gmx.de> |
6506 | ||
6507 | * java/io/LineNumberReader.java | |
6508 | (skip): Dont do line number accounting here as this is already done in | |
6509 | read(), simplified. | |
6510 | ||
cff5cdc8 MK |
6511 | 2003-06-21 Michael Koch <konqueror@gmx.de> |
6512 | ||
6513 | * java/io/File.java | |
6514 | (static): Load javaio lib if existing (only in classpath). | |
6515 | (File): Revised documentation to show the correct argument name. | |
6516 | (createTempFile): Partly merged with classpath. | |
6517 | (compareTo): Simplified. | |
6518 | (lastModified): Throw exception if time < 0. | |
6519 | (deleteOnExit): Revised documentation. | |
6520 | ||
6ecaa270 MK |
6521 | 2003-06-21 Michael Koch <konqueror@gmx.de> |
6522 | ||
6523 | * java/net/PlainSocketImpl.java: | |
6524 | Reformatted. | |
6525 | (PlainSocketImpl): Merged class documentaion with classpath. | |
6526 | (in): Moved. | |
6527 | (out): Moved. | |
6528 | (PlainSocketImpl): New empty constructor. | |
6529 | (finalize): Moved. | |
6530 | (setOption): Merged documentation from classpath. | |
6531 | (getOption): Likewise. | |
6532 | (create): Likewise. | |
6533 | (connect): Likewise. | |
6534 | (bind): Likewise. | |
6535 | (listen): Likewise. | |
6536 | (accept): Likewise. | |
6537 | (available): Likewise. | |
6538 | (close): Likewise. | |
6539 | (read): Likewise. | |
6540 | (write): Likewise. | |
6541 | (getInputStream): Made synchronozed to get sure that only one stream | |
6542 | object can be created for this socket, merged documentation from | |
6543 | classpath. | |
6544 | (getOutputStream): Likewise. | |
6545 | ||
5d938b1a MK |
6546 | 2003-06-21 Michael Koch <konqueror@gmx.de> |
6547 | ||
6548 | * java/net/PlainSocketImpl.java: | |
6549 | Reformatting. | |
6550 | (static): New implicit method. | |
6551 | (read): Made package private. | |
6552 | (write): Likewise. | |
6553 | ||
6f705fc7 MK |
6554 | 2003-06-21 Michael Koch <konqueror@gmx.de> |
6555 | ||
6556 | * java/util/SimpleTimeZone.java: | |
6557 | Removed unneeded import, reformatting. | |
6558 | ||
73c7dd50 MK |
6559 | 2003-06-21 Michael Koch <konqueror@gmx.de> |
6560 | ||
6561 | * java/text/DateFormat.java, | |
6562 | java/text/SimpleDateFormat.java, | |
6563 | java/util/Locale.java: | |
6564 | New versions from classpath. | |
6565 | ||
5ee8128f MK |
6566 | 2003-06-21 Michael Koch <konqueror@gmx.de> |
6567 | ||
6568 | * javax/swing/SpinnerModel.java: | |
6569 | New file from classpath. | |
6570 | * javax/swing/border/LineBorder.java, | |
6571 | javax/swing/border/SoftBevelBorder.java, | |
6572 | javax/swing/plaf/BorderUIResource.java, | |
6573 | javax/swing/plaf/basic/BasicBorders.java: | |
6574 | New versions from classpath. | |
6575 | * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png, | |
6576 | javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png, | |
6577 | javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png, | |
6578 | javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png, | |
6579 | javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png, | |
6580 | javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png: | |
6581 | New binary files from classpath. | |
6582 | ||
2d0c9050 MK |
6583 | 2003-06-21 Michael Koch <konqueror@gmx.de> |
6584 | ||
6585 | * java/util/logging/LogRecord.java, | |
6586 | java/util/logging/Logger.java, | |
6587 | java/util/logging/SocketHandler.java, | |
6588 | java/util/logging/SimpleFormatter.java, | |
6589 | java/util/logging/Formatter.java, | |
6590 | java/util/logging/ErrorManager.java, | |
6591 | java/util/logging/Handler.java, | |
6592 | java/util/logging/FileHandler.java, | |
6593 | java/util/logging/LogManager.java, | |
6594 | java/util/logging/Level.java, | |
6595 | java/util/logging/ConsoleHandler.java, | |
6596 | java/util/logging/StreamHandler.java, | |
6597 | java/util/logging/LoggingPermission.java, | |
6598 | java/util/logging/Filter.java, | |
6599 | java/util/logging/MemoryHandler.java, | |
6600 | java/util/logging/XMLFormatter.java: | |
6601 | New files from classpath. | |
6602 | ||
319d7645 MK |
6603 | 2003-06-20 Michael Koch <konqueror@gmx.de> |
6604 | ||
6605 | * java/io/ObjectStreamField.java | |
6606 | (unshared): new member variable. | |
6607 | (ObjectStreamField): New constructor. | |
6608 | (isUnshared): New method. | |
6609 | ||
f8b7363e MK |
6610 | 2003-06-20 Michael Koch <konqueror@gmx.de> |
6611 | ||
6612 | * java/net/URLStreamHandler.java | |
6613 | (hostsEqual): Rewritten. | |
6614 | ||
c52c9fec MK |
6615 | 2003-06-20 Michael Koch <konqueror@gmx.de> |
6616 | ||
6617 | * gnu/java/nio/MappedByteFileBuffer.java, | |
6618 | gnu/java/nio/natMappedByteFileBuffer.cc: | |
6619 | Removed | |
6620 | * java/nio/MappedByteBufferImpl.java: | |
6621 | New file. | |
6622 | * gnu/java/nio/FileChannelImpl.java: | |
6623 | Use MappedByteBufferImpl instead of MappedByteFileBuffer. | |
6624 | * Makefile.am | |
6625 | (ordinary_java_source_files): Removed | |
6626 | gnu/java/nio/MappedByteFileBuffer.java and added | |
6627 | java/nio/MappedByteBufferImpl.java. | |
6628 | (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc | |
6629 | * Makefile.in: Regenerated. | |
6630 | ||
98a91a72 MK |
6631 | 2003-06-19 Michael Koch <konqueror@gmx.de> |
6632 | ||
6633 | * gnu/java/nio/DatagramChannelImpl.java | |
6634 | (fd): Removed. | |
6635 | (blocking): New member variable. | |
6636 | (socket): Likewise. | |
6637 | (DatagramChannelImpl): Throws IOException, initialize socket. | |
6638 | (socket):Implemented. | |
6639 | (implCloseSelectableChannel): Throws IOException, implemented. | |
6640 | (implConfigureBlocking): Likewise. | |
6641 | (connect): Likewise. | |
6642 | (disconnect): Likewise. | |
6643 | (isConnected): Likewise. | |
6644 | (write): Likewise. | |
6645 | (read): Likewise. | |
6646 | (receive): Throws IOException. | |
6647 | (send): Likewise. | |
6648 | * gnu/java/nio/SocketChannelImpl.java | |
6649 | (read): Implemented. | |
6650 | (write): Implemented. | |
6651 | ||
536a695f MK |
6652 | 2003-06-19 Michael Koch <konqueror@gmx.de> |
6653 | ||
6654 | * javax/swing/JComponent.java, | |
6655 | javax/swing/JInternalFrame.java, | |
6656 | javax/swing/MenuSelectionManager.java, | |
6657 | javax/swing/SwingUtilities.java, | |
6658 | javax/swing/ToggleButtonModel.java: | |
6659 | New versions from classpath. | |
6660 | ||
2e5d98ce MK |
6661 | 2003-06-19 Michael Koch <konqueror@gmx.de> |
6662 | ||
6663 | * java/text/CollationElementIterator.java | |
6664 | (NULLORDER): Initialize with -1 as JDK documentation says. | |
6665 | ||
a05f6447 MK |
6666 | 2003-06-19 Michael Koch <konqueror@gmx.de> |
6667 | ||
6668 | * java/net/HttpURLConnection.java, | |
6669 | java/net/Inet4Address.java, | |
6670 | java/net/Inet6Address.java, | |
6671 | java/net/SocketImpl.java, | |
6672 | java/net/URLClassLoader.java: | |
6673 | Reworked import statements. | |
6674 | * java/net/InetAddress.java | |
6675 | (getByAddress): Simplified. | |
6676 | * java/net/ServerSocket.java | |
6677 | (ServerSocket): Moved special handling during bind operation to | |
6678 | bind(). | |
6679 | (bind): Handle different cases when trying to bind a socket. | |
6680 | * java/net/URLConnection.java | |
6681 | (getHeaderFieldDate): Merged with classpath. | |
6682 | (getHeaderFieldInt): Likewise. | |
6683 | ||
3580a7d5 MK |
6684 | 2003-06-19 Michael Koch <konqueror@gmx.de> |
6685 | ||
6686 | * java/util/zip/InflaterInputStream.java | |
6687 | (InflaterInputStream): Throw NullPointerException if in is null (as | |
6688 | JDK does). | |
6689 | ||
8993c12b MK |
6690 | 2003-06-19 Michael Koch <konqueror@gmx.de> |
6691 | ||
6692 | * java/awt/Font.java | |
6693 | javax/swing/UIManager.java | |
6694 | javax/swing/border/AbstractBorder.java | |
6695 | javax/swing/border/BevelBorder.java | |
6696 | javax/swing/border/Border.java | |
6697 | javax/swing/border/CompoundBorder.java | |
6698 | javax/swing/border/EmptyBorder.java | |
6699 | javax/swing/border/EtchedBorder.java | |
6700 | javax/swing/border/LineBorder.java | |
6701 | javax/swing/border/MatteBorder.java | |
6702 | javax/swing/border/TitledBorder.java | |
6703 | javax/swing/plaf/BorderUIResource.java | |
6704 | javax/swing/plaf/basic/BasicBorders.java | |
6705 | javax/swing/plaf/basic/BasicButtonUI.java | |
6706 | javax/swing/plaf/basic/BasicCheckBoxUI.java | |
6707 | javax/swing/plaf/basic/BasicGraphicsUtils.java | |
6708 | javax/swing/plaf/basic/BasicLabelUI.java | |
6709 | javax/swing/plaf/basic/BasicRadioButtonUI.java | |
6710 | javax/swing/plaf/basic/BasicToggleButtonUI.java: | |
6711 | New versions from classpath. | |
6712 | * javax/swing/border/SoftBevelBorder.java: | |
6713 | New file from classpath. | |
6714 | * javax/swing/border/doc-files/LineBorder-1.png, | |
6715 | javax/swing/border/doc-files/BevelBorder-1.png, | |
6716 | javax/swing/border/doc-files/BevelBorder-2.png, | |
6717 | javax/swing/border/doc-files/BevelBorder-3.png, | |
6718 | javax/swing/border/doc-files/EmptyBorder-1.png, | |
6719 | javax/swing/border/doc-files/EtchedBorder-1.png, | |
6720 | javax/swing/border/doc-files/EtchedBorder-2.png, | |
6721 | javax/swing/border/doc-files/MatteBorder-1.png, | |
6722 | javax/swing/border/doc-files/MatteBorder-2.png, | |
6723 | javax/swing/border/doc-files/MatteBorder-3.png, | |
6724 | javax/swing/border/doc-files/MatteBorder-4.png, | |
6725 | javax/swing/border/doc-files/MatteBorder-5.png, | |
6726 | javax/swing/border/doc-files/MatteBorder-6.png, | |
6727 | javax/swing/border/doc-files/SoftBevelBorder-1.png, | |
6728 | javax/swing/border/doc-files/SoftBevelBorder-2.png, | |
6729 | javax/swing/border/doc-files/SoftBevelBorder-3.png, | |
6730 | javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png, | |
6731 | javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png, | |
6732 | javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png, | |
6733 | javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png, | |
6734 | javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png, | |
6735 | javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png, | |
6736 | javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png, | |
6737 | javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png, | |
6738 | javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png: | |
6739 | New binary files from classpath. | |
6740 | * Makefile.am | |
6741 | (awt_java_source_files): Added | |
6742 | javax/swing/border/SoftBevelBorder.java. | |
6743 | * Makefile.in: Regenerated. | |
6744 | ||
d5b73c26 MK |
6745 | 2003-06-19 Michael Koch <konqueror@gmx.de> |
6746 | ||
6747 | * gnu/java/security/x509/X509Certificate.java | |
6748 | (writeReplace): Merged from classpath. | |
6749 | ||
b7a793af MK |
6750 | 2003-06-19 Michael Koch <konqueror@gmx.de> |
6751 | ||
6752 | * gnu/java/nio/FileChannelImpl.java | |
6753 | (map_address): Made public. | |
6754 | (FileChannelImpl): Merged with classpath. | |
6755 | * gnu/java/nio/natFileChannelImpl.cc | |
6756 | (nio_mmap_file): Commented out unused arguments. | |
6757 | (nio_unmmap_file): Likewise. | |
6758 | (niu_msync): Likewise. | |
6759 | ||
16e4b777 MK |
6760 | 2003-06-19 Michael Koch <konqueror@gmx.de> |
6761 | ||
6762 | * java/awt/image/IndexColorModel.java: | |
6763 | New version from classpath. | |
6764 | ||
7cbd1918 TT |
6765 | 2003-06-18 Tom Tromey <tromey@redhat.com> |
6766 | ||
6767 | * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "==" | |
6768 | on arrays. | |
6769 | (isLoopbackAddress): Likewise. | |
6770 | * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "==" | |
6771 | on arrays. | |
6772 | ||
7b4a4fce MK |
6773 | 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu> |
6774 | ||
6775 | * java/lang/natVMSecurityManager.cc (getClassContext): | |
6776 | Use maxlen instead of len for loop bound. | |
6777 | ||
299f5809 MK |
6778 | 2003-06-18 Michael Koch <konqueror@gmx.de> |
6779 | ||
6780 | * gnu/java/nio/SelectorImpl.java | |
6781 | (register): Use fd with value 0 for now, will be fixed later. | |
6782 | * gnu/java/nio/ServerSocketChannelImpl.java | |
6783 | (fd): Removed. | |
6784 | (local_port): Removed. | |
6785 | (InetSocketAddress): Removed. | |
6786 | (ServerSocketChannelImpl): Just initialize internal socket object. | |
6787 | (implCloseSelectableChannel): Close internal socket object. | |
6788 | (implConfigureBlocking): Added comment. | |
6789 | (accept): Use jaba.net stuff to accept socket. | |
6790 | * gnu/java/nio/SocketChannelImpl.java | |
6791 | (fd): Removed. | |
6792 | (local_port): Removed. | |
6793 | (InetSocketAddress): Removed. | |
6794 | (SocketCreate): Removed. | |
6795 | (SocketConnect): Removed. | |
6796 | (SocketBind): Removed. | |
6797 | (SocketListen): Removed. | |
6798 | (SocketAvailable): Removed. | |
6799 | (SocketClose): Removed. | |
6800 | (SocketRead): Removed. | |
6801 | (SocketWrite): Removed. | |
6802 | (SocketChannelImpl): Just initialize internal socket object. | |
6803 | (implCloseSelectableChannel): Close internal socket object. | |
6804 | (implConfigureBlocking): Fixed implementation, added comment. | |
6805 | (connect): Use internal socket object to connect. | |
6806 | (socket): No need for sanity checks. | |
6807 | (read): Comment out some stuff, this will be reimplemented in the next | |
6808 | commit. | |
6809 | (write): Likewise. | |
6810 | * gnu/java/nio/natFileChannelImpl.cc | |
6811 | (nio_mmap_file): Line wrapped. | |
6812 | * gnu/java/nio/natSocketChannelImpl.cc: Removed. | |
6813 | * Makefile.am | |
6814 | (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc. | |
6815 | * Makefile.in: Regenerated. | |
6816 | ||
20d513ff MK |
6817 | 2003-06-18 Michael Koch <konqueror@gmx.de> |
6818 | ||
6819 | * java/util/Locale.java | |
6820 | (equals): Merged from classpath. | |
6821 | ||
75da2103 MK |
6822 | 2003-06-18 Michael Koch <konqueror@gmx.de> |
6823 | ||
6824 | * java/net/InetAddress.java: | |
6825 | Reformatted to better match classpath's version. | |
6826 | * java/net/URL.java | |
6827 | (equals): Simplified. | |
6828 | * java/net/URLConnection.java | |
6829 | (setDoInput): Revised documentation. | |
6830 | (getDefaultUseCaches): Likewise. | |
6831 | (setRequestProperty): Added @since tag. | |
6832 | ||
7d8f4ff9 MK |
6833 | 2003-06-17 Michael Koch <konqueror@gmx.de> |
6834 | ||
6835 | * java/net/InetSocketAddress.java | |
6836 | (InetSocketAddress): Use wildcard address if addr is null. | |
6837 | (InetSocketAddress): Dont duplicate implementation. | |
6838 | (InetSocketAddress): Throw exception when hostname is null. | |
6839 | * java/net/Socket.java: | |
6840 | Reworked imports. | |
6841 | (Socket): Throw exception when raddr is null, handle case when laddr | |
6842 | is null. | |
6843 | ||
6f3aed57 MK |
6844 | 2003-06-17 Michael Koch <konqueror@gmx.de> |
6845 | ||
6846 | * java/nio/DirectByteBufferImpl.java | |
6847 | (address): Made package private. | |
6848 | (DirectByteBufferImpl): New constructor. | |
6849 | * java/nio/natDirectByteBufferImpl.cc | |
6850 | (allocateImpl): Moved to java.nio namespace, implemented. | |
6851 | (freeImpl): Likewise. | |
6852 | (getImpl): Likewise. | |
6853 | (putImpl): Likewise. | |
6854 | * jni.cc | |
6855 | (_Jv_JNI_NewDirectByteBuffer): Implemented. | |
6856 | (_Jv_JNI_GetDirectBufferAddress): Implemented. | |
6857 | (_Jv_JNI_GetDirectBufferCapacity): Implemented. | |
6858 | ||
beea2324 FS |
6859 | 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6860 | ||
6861 | * include/powerpc-signal.h: New File. | |
6862 | * configure.in: Use it. | |
6863 | * configure: Regenerated. | |
6864 | ||
b98cf059 MK |
6865 | 2003-06-17 Michael Koch <konqueror@gmx.de> |
6866 | ||
6867 | * java/util/Locale.java | |
6868 | (getDisplayLanguage): Made it final. | |
6869 | (getDisplayCountry): Likewise. | |
6870 | (getDisplayVariant): Likewise. | |
6871 | (getDisplayName): Likewise. | |
6872 | ||
99657762 MK |
6873 | 2003-06-17 Michael Koch <konqueror@gmx.de> |
6874 | ||
6875 | * java/util/PropertyResourceBundle.java: | |
6876 | Removed unneeded import. | |
6877 | ||
2a352ff1 MK |
6878 | 2003-06-17 Michael Koch <konqueror@gmx.de> |
6879 | ||
6880 | * java/util/prefs/AbstractPreferences.java, | |
6881 | java/util/prefs/PreferencesFactory.java: | |
6882 | Reworked imports, removed unused imports. | |
6883 | * java/util/prefs/Preferences.java | |
6884 | (systemNodeForPackage): Method takes a Class not an Object. | |
6885 | (userNodeForPackage): Likewise. | |
6886 | (nodeForPackage): Likewise. | |
6887 | ||
12d08f3a MK |
6888 | 2003-06-17 Michael Koch <konqueror@gmx.de> |
6889 | ||
6890 | * gnu/java/security/x509/X509Certificate.java: | |
6891 | Explicitely import used classes. | |
6892 | ||
efc5eec6 MK |
6893 | 2003-06-17 Michael Koch <konqueror@gmx.de> |
6894 | ||
6895 | * java/util/zip/ZipEntry.java, | |
6896 | java/util/zip/ZipFile.java, | |
6897 | java/util/zip/ZipInputStream.java, | |
6898 | java/util/zip/ZipOutputStream.java: | |
6899 | Reworked imports, only import used classes. | |
6900 | ||
cea5ca6a MK |
6901 | 2003-06-17 Michael Koch <konqueror@gmx.de> |
6902 | ||
6903 | * gnu/java/lang/ArrayHelper.java, | |
6904 | gnu/java/lang/ClassHelper.java: | |
6905 | Reformatted to match classpath's versions. | |
6906 | ||
e8fb93c9 MK |
6907 | 2003-06-14 Michael Koch <konqueror@gmx.de> |
6908 | ||
81d2d258 MK |
6909 | * gnu/java/nio/FileChannelImpl.java |
6910 | (map_address): Removed incorrect comment. | |
6911 | * gnu/java/nio/SelectorImpl.java | |
6912 | (register): Remove code duplication and code for file channel handling. | |
6913 | * gnu/java/nio/ServerSocketChannelImpl.java | |
6914 | (serverSocket): Renamed from sock_object. | |
6915 | (ServerSocketChannel): Initialize serverSocket. | |
6916 | (socket): Return serverSocket. | |
6917 | * gnu/java/nio/SocketChannelImpl.java | |
6918 | (socket): Renamed from sock_object. | |
6919 | (isConnectionPenging): Simplified. | |
6920 | (socket): Return socket. | |
6921 | 2003-06-14 Michael Koch <konqueror@gmx.de> | |
6922 | ||
e8fb93c9 MK |
6923 | * java/security/BasicPermission.java: |
6924 | New version from classpath. | |
6925 | ||
d10341ea MK |
6926 | 2003-06-14 Michael Koch <konqueror@gmx.de> |
6927 | ||
6928 | * javax/naming/directory/Attribute.java: | |
6929 | New version from classpath. | |
6930 | ||
6b4683e2 MK |
6931 | 2003-06-14 Michael Koch <konqueror@gmx.de> |
6932 | ||
6933 | * java/io/BufferedReader.java, | |
6934 | java/io/FileOutputStream.java: | |
6935 | New versions from classpath. | |
6936 | ||
bec3e66d AH |
6937 | 2003-06-12 Andrew Haley <aph@redhat.com> |
6938 | ||
6939 | * prims.cc (catch_segv): Create exception in handler. | |
6940 | (catch_fpe): Likewise. | |
6941 | (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise. | |
6942 | (_Jv_ThrowSignal): Remove. | |
6943 | ||
6944 | * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp. | |
6945 | * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference | |
6946 | to nullp and arithexception. | |
6947 | * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise. | |
6948 | * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise. | |
6949 | * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise. | |
6950 | * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise. | |
6951 | * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise. | |
6952 | ||
e976ed37 AH |
6953 | 2003-06-11 Andrew Haley <aph@redhat.com> |
6954 | ||
6955 | * jni.cc (_Jv_JNI_check_types): New. | |
6956 | (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type. | |
6957 | (_Jv_JNI_GetPrimitiveArrayRegion): Ditto. | |
6958 | (_Jv_JNI_GetPrimitiveArrayElements): Ditto. | |
6959 | (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto. | |
6960 | ||
6961 | * java/lang/natVMSecurityManager.cc (getClassContext): Fix | |
6962 | infinite loop. | |
6963 | ||
3ad93a34 TT |
6964 | 2003-06-11 Tom Tromey <tromey@redhat.com> |
6965 | ||
6966 | * java/lang/ClassLoader.java (loadClass): Not deprecated. | |
6967 | * java/io/PrintStream.java: Not deprecated. | |
6968 | ||
a28853b0 SG |
6969 | 2003-06-11 Scott Gilbertson <scottg@mantatest.com> |
6970 | ||
6971 | * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented. | |
6972 | (fillOval): implemented | |
6973 | * gnu/awt/xlib/XGraphics.java (drawArc): implemented. | |
6974 | (fillArc): implemented. | |
6975 | * gnu/gcj/xlib/GC.java (drawArc): added native method. | |
6976 | (fillArc): added native method. | |
6977 | * gnu/gcj/xlib/natGC.cc (drawArc): added native method. | |
6978 | (fillArc): added native method. | |
6979 | ||
1d5d594d MK |
6980 | 2003-06-11 Michael Koch <konqueror@gmx.de> |
6981 | ||
6982 | * java/awt/im/InputSubset.java: | |
6983 | New version from classpath. | |
6984 | ||
d6c2458f MK |
6985 | 2003-06-11 Michael Koch <konqueror@gmx.de> |
6986 | ||
6987 | * javax/swing/AbstractAction.java, | |
6988 | javax/swing/AbstractButton.java, | |
6989 | javax/swing/AbstractCellEditor.java, | |
6990 | javax/swing/AbstractListModel.java, | |
6991 | javax/swing/BorderFactory.java, | |
6992 | javax/swing/Box.java, | |
6993 | javax/swing/BoxLayout.java, | |
6994 | javax/swing/ButtonGroup.java, | |
6995 | javax/swing/DefaultButtonModel.java, | |
6996 | javax/swing/DefaultListModel.java, | |
6997 | javax/swing/DefaultListSelectionModel.java, | |
6998 | javax/swing/FocusManager.java, | |
6999 | javax/swing/ImageIcon.java, | |
7000 | javax/swing/InputMap.java, | |
7001 | javax/swing/JApplet.java, | |
7002 | javax/swing/JButton.java, | |
7003 | javax/swing/JCheckBox.java, | |
7004 | javax/swing/JCheckBoxMenuItem.java, | |
7005 | javax/swing/JColorChooser.java, | |
7006 | javax/swing/JComboBox.java, | |
7007 | javax/swing/JComponent.java, | |
7008 | javax/swing/JDesktopPane.java, | |
7009 | javax/swing/JDialog.java, | |
7010 | javax/swing/JEditorPane.java, | |
7011 | javax/swing/JFileChooser.java, | |
7012 | javax/swing/JFormattedTextField.java, | |
7013 | javax/swing/JFrame.java, | |
7014 | javax/swing/JLabel.java, | |
7015 | javax/swing/JLayeredPane.java, | |
7016 | javax/swing/JList.java, | |
7017 | javax/swing/JMenuBar.java, | |
7018 | javax/swing/JMenuItem.java, | |
7019 | javax/swing/JOptionPane.java, | |
7020 | javax/swing/JPanel.java, | |
7021 | javax/swing/JPasswordField.java, | |
7022 | javax/swing/JPopupMenu.java, | |
7023 | javax/swing/JProgressBar.java, | |
7024 | javax/swing/JRadioButton.java, | |
7025 | javax/swing/JRadioButtonMenuItem.java, | |
7026 | javax/swing/JRootPane.java, | |
7027 | javax/swing/JScrollBar.java, | |
7028 | javax/swing/JScrollPane.java, | |
7029 | javax/swing/JSeparator.java, | |
7030 | javax/swing/JSlider.java, | |
7031 | javax/swing/JTabbedPane.java, | |
7032 | javax/swing/JTable.java, | |
7033 | javax/swing/JTextField.java, | |
7034 | javax/swing/JToggleButton.java, | |
7035 | javax/swing/JToolBar.java, | |
7036 | javax/swing/JToolTip.java, | |
7037 | javax/swing/JTree.java, | |
7038 | javax/swing/JViewport.java, | |
7039 | javax/swing/JWindow.java, | |
7040 | javax/swing/KeyStroke.java, | |
7041 | javax/swing/ListSelectionModel.java, | |
7042 | javax/swing/LookAndFeel.java, | |
7043 | javax/swing/RepaintManager.java, | |
7044 | javax/swing/ScrollPaneLayout.java, | |
7045 | javax/swing/SizeRequirements.java, | |
7046 | javax/swing/SwingConstants.java, | |
7047 | javax/swing/Timer.java, | |
7048 | javax/swing/UIDefaults.java, | |
7049 | javax/swing/UIManager.java, | |
7050 | javax/swing/border/AbstractBorder.java, | |
7051 | javax/swing/border/CompoundBorder.java, | |
7052 | javax/swing/colorchooser/AbstractColorChooserPanel.java, | |
7053 | javax/swing/colorchooser/ColorChooserComponentFactory.java, | |
7054 | javax/swing/colorchooser/ColorSelectionModel.java, | |
7055 | javax/swing/colorchooser/DefaultColorSelectionModel.java, | |
7056 | javax/swing/event/AncestorEvent.java, | |
7057 | javax/swing/event/HyperlinkEvent.java, | |
7058 | javax/swing/event/InternalFrameAdapter.java, | |
7059 | javax/swing/event/InternalFrameEvent.java, | |
7060 | javax/swing/event/ListDataEvent.java, | |
7061 | javax/swing/event/MouseInputAdapter.java, | |
7062 | javax/swing/event/SwingPropertyChangeSupport.java, | |
7063 | javax/swing/event/TableModelEvent.java, | |
7064 | javax/swing/event/TreeWillExpandListener.java, | |
7065 | javax/swing/event/UndoableEditEvent.java, | |
7066 | javax/swing/filechooser/FileFilter.java, | |
7067 | javax/swing/filechooser/FileSystemView.java, | |
7068 | javax/swing/filechooser/FileView.java, | |
7069 | javax/swing/plaf/BorderUIResource.java, | |
7070 | javax/swing/plaf/basic/BasicDefaults.java, | |
7071 | javax/swing/table/AbstractTableModel.java, | |
7072 | javax/swing/table/DefaultTableCellRenderer.java, | |
7073 | javax/swing/table/DefaultTableColumnModel.java, | |
7074 | javax/swing/table/DefaultTableModel.java, | |
7075 | javax/swing/table/TableColumn.java, | |
7076 | javax/swing/text/JTextComponent.java, | |
7077 | javax/swing/tree/AbstractLayoutCache.java, | |
7078 | javax/swing/tree/DefaultMutableTreeNode.java, | |
7079 | javax/swing/tree/DefaultTreeCellEditor.java, | |
7080 | javax/swing/tree/DefaultTreeCellRenderer.java, | |
7081 | javax/swing/tree/DefaultTreeModel.java, | |
7082 | javax/swing/tree/DefaultTreeSelectionModel.java, | |
7083 | javax/swing/tree/FixedHeightLayoutCache.java, | |
7084 | javax/swing/tree/TreeCellEditor.java, | |
7085 | javax/swing/tree/TreeModel.java, | |
7086 | javax/swing/tree/TreeNode.java, | |
7087 | javax/swing/tree/TreePath.java, | |
7088 | javax/swing/tree/TreeSelectionModel.java, | |
7089 | javax/swing/tree/VariableHeightLayoutCache.java, | |
7090 | javax/swing/undo/AbstractUndoableEdit.java, | |
7091 | javax/swing/undo/CompoundEdit.java, | |
7092 | javax/swing/undo/StateEdit.java, | |
7093 | javax/swing/undo/UndoManager.java, | |
7094 | javax/swing/undo/UndoableEditSupport.java: | |
7095 | New versions from classpath. | |
7096 | * javax/swing/table/JTableHeader.java: | |
7097 | New file from classpath. | |
7098 | * Makefile.am | |
7099 | (java_awt_sources): Added javax/swing/table/JTableHeader.java. | |
7100 | * Makefile.in: Regenerated. | |
7101 | ||
6bd88329 MK |
7102 | 2003-06-11 Michael Koch <konqueror@gmx.de> |
7103 | ||
7104 | * java/nio/MappedByteBuffer.java, | |
7105 | java/nio/channels/Channels.java, | |
7106 | java/nio/channels/ServerSocketChannel.java, | |
7107 | java/nio/channels/spi/AbstractSelector.java: | |
7108 | Removed unneeded imports. | |
7109 | ||
39b3cece MK |
7110 | 2003-06-11 Michael Koch <konqueror@gmx.de> |
7111 | ||
7112 | * java/net/DatagramSocket.java: | |
7113 | Partly merged with classpath. | |
7114 | ||
37f3981f MK |
7115 | 2003-06-11 Michael Koch <konqueror@gmx.de> |
7116 | ||
7117 | * java/awt/Frame.java, | |
7118 | java/awt/Graphics.java, | |
7119 | java/awt/Menu.java, | |
7120 | java/awt/Robot.java, | |
7121 | java/awt/image/ColorModel.java: | |
7122 | New versions from classpath. | |
7123 | ||
fbd98522 MK |
7124 | 2003-06-10 Michael Koch <konqueror@gmx.de> |
7125 | ||
7126 | * java/io/PrintStream.java: | |
7127 | Merged version from classpath. | |
7128 | (close): Removed sychronized keyword. This class is not garantied to | |
7129 | be thread-safe. | |
7130 | (write): Likewise. | |
7131 | ||
4982b638 TT |
7132 | 2003-06-09 Tom Tromey <tromey@redhat.com> |
7133 | ||
7134 | * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent" | |
7135 | field. | |
7136 | (getDescent): Likewise, for "descent". | |
7137 | ||
0940ed88 SG |
7138 | 2003-06-09 Scott Gilbertson <scottg@mantatest.com> |
7139 | ||
7140 | * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value. | |
7141 | (getMaxDescent): adjusted return value. | |
7142 | (getAscent): modified to use metrics for 'O'. | |
7143 | (getDescent): modified to use metrics for 'y'. | |
7144 | ||
a8a8de48 AG |
7145 | 2003-06-08 Anthony Green <green@redhat.com> |
7146 | ||
7147 | * java/net/URLStreamHandler.java (sameFile): Fix port value | |
7148 | comparison. | |
7149 | * java/net/URL.java (handler): Make package private. | |
7150 | * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method. | |
7151 | ||
0a56537c TT |
7152 | 2003-06-07 Tom Tromey <tromey@redhat.com> |
7153 | ||
7154 | For PR libgcj/11085: | |
7155 | * java/text/SimpleDateFormat.java (parse(String,ParsePosition)): | |
7156 | Limit number of characters in numeric field when required. | |
7157 | * java/text/DecimalFormat.java (parse(String,ParsePosition)): | |
7158 | Respect maximumIntegerDigits. | |
7159 | ||
742ed2f3 MK |
7160 | 2003-06-08 Michael Koch <konqueror@gmx.de> |
7161 | ||
7162 | * java/net/Socket.java | |
7163 | (Socket): Dont initialize inputShutdown and outputShutdown twice, | |
7164 | call bind() and connect() to actually do the bind and connect tasks. | |
7165 | (bind): Connect to canonical address if bindpoint is null, create | |
7166 | socket and bind it to bindpoint. | |
7167 | (connect): Check for exceptions. | |
7168 | ||
f61e2125 MK |
7169 | 2003-06-08 Michael Koch <konqueror@gmx.de> |
7170 | ||
7171 | * java/net/DatagramSocket.java | |
7172 | (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs | |
7173 | into the Multicast constructors. | |
7174 | * java/net/DatagramSocketImpl.java | |
7175 | (getOption): Removed. | |
7176 | (setOption): Removed. | |
7177 | * java/net/MulticastSocket.java | |
7178 | (MulticastSocket): Call setReuseAddress (true). | |
7179 | * java/net/SocketImpl.java | |
7180 | (getOption): Removed. | |
7181 | (setOption): Removed. | |
7182 | ||
31de261d JS |
7183 | 2003-06-07 Jeff Sturm <jsturm@one-point.com> |
7184 | ||
7185 | PR libgcj/10886: | |
7186 | * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue): | |
7187 | Test for empty vector. | |
7188 | ||
39072dc8 MW |
7189 | 2003-06-06 Mark Wielaard <mark@klomp.org> |
7190 | ||
7191 | * java/security/Security.java (secprops): Initialize. | |
7192 | (loadProviders): Return boolean. | |
7193 | (static): Check result of loadProvider calls. If necessary | |
7194 | display WARNING and fallback to Gnu provider. | |
7195 | ||
60e9f0d7 MW |
7196 | 2002-06-06 James Clark <jjc@jclark.com> |
7197 | ||
7198 | Fix for PR libgcj/8738: | |
7199 | * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method. | |
7200 | * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise. | |
7201 | * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise. | |
7202 | * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise. | |
7203 | (write): Always decrease avail when count is increased. | |
7204 | * java/lang/natString.cc (getBytes): Check converter havePendingBytes() | |
7205 | and whether output buffer is full before increasing size. | |
7206 | ||
7207 | 2002-06-06 Mark Wielaard <mark@klomp dot org> | |
7208 | ||
7209 | * java/io/PrintStream.java (writeChars(char[],int, int)): | |
7210 | Check converter.havePendingBytes(). | |
7211 | (writeChars(String,int,int)): Likewise. | |
7212 | * java/io/OutputStreamWriter.java (writeChars(char[], int, int)): | |
7213 | Check converter.havePendingBytes() and flush buffer when stalled. | |
7214 | ||
248e983e MK |
7215 | 2003-06-07 Michael Koch <konqueror@gmx.de> |
7216 | ||
7217 | * include/posix.h | |
7218 | (O_DSYNC): Define O_DSYNC on platforms not | |
7219 | supporting O_FSYNC (newlib). | |
7220 | ||
6d8176f0 MW |
7221 | 2003-06-06 Mark Wielaard <mark@klomp.org> |
7222 | ||
7223 | * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to | |
7224 | AWTError. | |
7225 | ||
b82a670a MK |
7226 | 2003-06-06 Michael Koch <konqueror@gmx.de> |
7227 | ||
7228 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
7229 | More compile fixes from my stupid work yesterday. | |
7230 | ||
86fb951d MK |
7231 | 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu> |
7232 | ||
7233 | * java/lang/w_exp.c (o_threshold, u_threshold): Define only | |
7234 | if _IEEE_LIBM is undefined. | |
7235 | ||
49c72d22 LR |
7236 | 2002-06-05 Loren J. Rittle <ljrittle@acm.org> |
7237 | ||
7238 | * libjava/include/posix.h (O_SYNC): Define if not available | |
7239 | and a reasonable, perhaps more conservative, replacement exists. | |
7240 | (O_DSYNC): Likewise. | |
7241 | * java/io/natFileDescriptorPosix.cc (open): Revert last patch. | |
7242 | ||
7786a3e4 MK |
7243 | 2003-06-05 Michael Koch <konqueror@gmx.de> |
7244 | ||
7245 | * javax/swing/plaf/BorderUIResource.java, | |
7246 | javax/swing/plaf/basic/BasicDefaults.java, | |
7247 | javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
7248 | More compile fixes for latest Border commit. I should not commit | |
7249 | something in this heat here ... | |
7250 | ||
486f6e5f MK |
7251 | 2003-06-05 Michael Koch <konqueror@gmx.de> |
7252 | ||
7253 | * javax/swing/border/BevelBorder.java | |
7254 | (BevelBorder): Removed. | |
7255 | * javax/swing/border/EmptyBorder.java: | |
7256 | Reformatted. | |
7257 | (EmptyBorder): Removed. | |
7258 | (getBorderInsets): Dont use l, r, t and b. | |
7259 | * javax/swing/border/EtchedBorder.java | |
7260 | (EtchedBorder): Removed. | |
7261 | * javax/swing/border/LineBorder.java | |
7262 | (LineBorder): Removed. | |
7263 | * javax/swing/border/MatteBorder.java | |
7264 | (MatteBorder): Removed. | |
7265 | * javax/swing/border/TitledBorder.java | |
7266 | (defaultBorder): Use other default for now. | |
7267 | (defaultFont): Likewise. | |
7268 | (defaultColor): Likewise. | |
7269 | ||
48243c88 MK |
7270 | 2003-06-05 Michael Koch <konqueror@gmx.de> |
7271 | ||
7272 | * javax/swing/border/Border.java: | |
7273 | New version from classpath. | |
7274 | ||
93152c2f MK |
7275 | 2003-06-05 Michael Koch <konqueror@gmx.de> |
7276 | ||
7277 | * javax/swing/border/AbstractBorder.java, | |
7278 | javax/swing/border/BevelBorder.java, | |
7279 | javax/swing/border/CompoundBorder.java, | |
7280 | javax/swing/border/EmptyBorder.java, | |
7281 | javax/swing/border/EtchedBorder.java, | |
7282 | javax/swing/border/LineBorder.java, | |
7283 | javax/swing/border/MatteBorder.java, | |
7284 | javax/swing/border/TitledBorder.java: | |
7285 | New versions from Classpath. | |
7286 | ||
fe7f8a4e MK |
7287 | 2003-06-05 Michael Koch <konqueror@gmx.de> |
7288 | ||
7289 | * java/awt/Button.java, | |
7290 | java/awt/Checkbox.java, | |
7291 | java/awt/CheckboxMenuItem.java, | |
7292 | java/awt/Choice.java, | |
7293 | java/awt/Container.java, | |
7294 | java/awt/Dialog.java, | |
7295 | java/awt/EventQueue.java, | |
7296 | java/awt/FileDialog.java, | |
7297 | java/awt/Frame.java, | |
7298 | java/awt/Label.java, | |
7299 | java/awt/List.java, | |
7300 | java/awt/Menu.java, | |
7301 | java/awt/MenuItem.java, | |
7302 | java/awt/Panel.java, | |
7303 | java/awt/PopupMenu.java, | |
7304 | java/awt/Rectangle.java, | |
7305 | java/awt/ScrollPane.java, | |
7306 | java/awt/Scrollbar.java, | |
7307 | java/awt/TextArea.java, | |
7308 | java/awt/TextField.java, | |
7309 | java/awt/Window.java, | |
7310 | java/awt/datatransfer/DataFlavor.java, | |
7311 | java/awt/dnd/DragSource.java, | |
7312 | java/awt/dnd/DragSourceContext.java, | |
7313 | java/awt/event/HierarchyEvent.java, | |
7314 | java/awt/event/MouseWheelEvent.java, | |
7315 | java/awt/im/InputContext.java, | |
7316 | java/awt/image/BufferedImage.java, | |
7317 | java/awt/image/ComponentColorModel.java, | |
7318 | java/awt/image/Raster.java, | |
7319 | java/awt/image/WritableRaster.java, | |
7320 | java/awt/peer/ComponentPeer.java, | |
7321 | java/awt/print/PageFormat.java, | |
7322 | java/awt/print/PrinterJob.java: | |
7323 | New versions from Classpath. | |
7324 | ||
9faf4458 SG |
7325 | 2003-06-05 Scott Gilbertson <scottg@mantatest.com> |
7326 | ||
7327 | * java/text/SimpleDateFormat.java (SimpleDateFormat): Added | |
7328 | numberFormat.setParseIntegerOnly(true). | |
7329 | ||
ad23ad2c BD |
7330 | 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be> |
7331 | ||
7332 | * include/posix-threads.h: Include <machine/pal.h> on OSF. | |
7333 | ||
9f470313 AH |
7334 | 2003-06-03 Andrew Haley <aph@redhat.com> |
7335 | ||
7336 | * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on | |
7337 | stack volatile to prevent optimization from removing it. | |
7338 | ||
98ad5807 MK |
7339 | 2003-05-27 Michael Koch <konqueror@gmx.de> |
7340 | ||
7341 | * java/util/zip/Deflater.java | |
7342 | (FILTERED): Merged documentation from classpath. | |
7343 | * java/util/zip/DeflaterOutputStream.java | |
7344 | (DeflaterOutputStream): Merged documentation and argument validity | |
7345 | check from classpath. | |
7346 | (deflate): Merged documentation from classpath. | |
7347 | (finish): Likewise. | |
7348 | * java/util/zip/Inflater.java | |
7349 | (Inflater): Merged class documentation from classpath. | |
7350 | (zstream): Reordered. | |
7351 | (is_finished): Reordered. | |
7352 | (dict_needed): Reordered. | |
7353 | (Inflater): Reordered, merged documentation from classpath. | |
7354 | (end): Likewise. | |
7355 | (finalize): Merged documentation from classpath. | |
7356 | (finished): Likewise. | |
7357 | (getAdler): Likewise. | |
7358 | (getRemaining): Likewise. | |
7359 | (getTotalIn): Likewise. | |
7360 | (getTotalOut): Likewise. | |
7361 | (inflate): Likewise. | |
7362 | (needsDictionary): Likewise. | |
7363 | (needsInput): Likewise. | |
7364 | (reset): Likewise. | |
7365 | (setDictionary): Likewise. | |
7366 | (setInput): Likewise. | |
7367 | ||
5191f392 MK |
7368 | 2003-05-27 Michael Koch <konqueror@gmx.de> |
7369 | ||
7370 | * java/net/URLConnection.java | |
7371 | (getHeaderFieldInt): Merged with classpath. | |
7372 | ||
c414a2c3 MK |
7373 | 2003-05-27 Michael Koch <konqueror@gmx.de> |
7374 | ||
7375 | * java/io/PrintStream.java | |
7376 | (PrintStream): Reformatted. | |
7377 | (PrintStream): New method, merged from classpath. | |
7378 | (write): Reformatted. | |
7379 | ||
91adbcf7 MK |
7380 | 2003-05-27 Michael Koch <konqueror@gmx.de> |
7381 | ||
7382 | * java/lang/System.java: | |
7383 | Explicitely import needed classes. | |
7384 | ||
b91c701d MK |
7385 | 2003-05-26 Michael Koch <konqueror@gmx.de> |
7386 | ||
7387 | * java/net/NetPermission.java, | |
7388 | java/net/NetworkInterface.java, | |
7389 | java/net/PasswordAuthentication.java, | |
7390 | java/net/SocketPermission.java: | |
7391 | New versions from classpath. | |
7392 | ||
c7684ffe MK |
7393 | 2003-05-25 Michael Koch <konqueror@gmx.de> |
7394 | ||
7395 | * java/io/PushbackInputStream.java, | |
7396 | java/net/Authenticator.java, | |
7397 | java/net/ContentHandler.java, | |
7398 | java/net/ContentHandlerFactory.java, | |
7399 | java/net/DatagramSocket.java, | |
7400 | java/net/DatagramSocketImpl.java, | |
7401 | java/net/DatagramSocketImplFactory.java, | |
7402 | java/net/FileNameMap.java, | |
7403 | java/net/SocketImplFactory.java, | |
7404 | java/net/SocketOptions.java, | |
7405 | java/net/URLStreamHandlerFactory.java: | |
7406 | Merged new versions from classpath. | |
7407 | ||
eceea301 MK |
7408 | 2003-05-25 Michael Koch <konqueror@gmx.de> |
7409 | ||
7410 | * java/awt/Checkbox.java, | |
7411 | java/awt/Dialog.java, | |
7412 | java/awt/Font.java, | |
7413 | java/awt/Frame.java, | |
7414 | java/awt/ScrollPaneAdjustable.java, | |
7415 | java/awt/Scrollbar.java, | |
7416 | java/awt/Window.java: | |
7417 | New versions from classpath. | |
7418 | ||
a8e097d6 JS |
7419 | 2003-05-22 Jeff Sturm <jsturm@one-point.com> |
7420 | ||
7421 | PR libgcj/10838: | |
7422 | * java/io/ObjectInputStream (enableResolveObject): | |
7423 | Fixed spelling of permission name. | |
7424 | ||
669e91ab MK |
7425 | 2003-05-20 Michael Koch <konqueror@gmx.de> |
7426 | ||
7427 | * java/io/DataInputStream.java | |
7428 | (convertFromUTF): Merged comment from classpath. | |
7429 | * java/io/PrintStream.java | |
7430 | (error_occured): Renamed from error, merged comment from classpath. | |
7431 | (PrintStream): No need to initialized error. | |
7432 | (checkError): Replace error with error_occurred. | |
7433 | (setError): Likewise. | |
7434 | ||
c93aa804 MK |
7435 | 2003-05-20 Michael Koch <konqueror@gmx.de> |
7436 | ||
7437 | * java/io/DataInputStream.java: | |
7438 | Reformatted, Replaced < and & with html entitites in documentation. | |
7439 | * java/io/File.java: | |
7440 | Reformatted. | |
7441 | * java/io/PrintWriter.java: | |
7442 | Moved class documentation. | |
7443 | ||
3a5eb283 MK |
7444 | 2003-05-20 Michael Koch <konqueror@gmx.de> |
7445 | ||
7446 | * gnu/java/nio/ByteBufferImpl.java, | |
7447 | gnu/java/nio/CharBufferImpl.java, | |
7448 | gnu/java/nio/CharViewBufferImpl.java, | |
7449 | gnu/java/nio/DirectByteBufferImpl.java, | |
7450 | gnu/java/nio/DoubleBufferImpl.java, | |
7451 | gnu/java/nio/DoubleViewBufferImpl.java, | |
7452 | gnu/java/nio/FloatBufferImpl.java, | |
7453 | gnu/java/nio/FloatViewBufferImpl.java, | |
7454 | gnu/java/nio/IntBufferImpl.java, | |
7455 | gnu/java/nio/IntViewBufferImpl.java, | |
7456 | gnu/java/nio/LongBufferImpl.java, | |
7457 | gnu/java/nio/LongViewBufferImpl.java, | |
7458 | gnu/java/nio/natDirectByteBufferImpl.cc, | |
7459 | gnu/java/nio/ShortBufferImpl.java, | |
7460 | gnu/java/nio/ShortViewBufferImpl.java: | |
7461 | Moved files to java/nio. | |
7462 | * gnu/java/nio/SocketChannelImpl.java | |
7463 | ||
7464 | * java/nio/ByteBuffer.java, | |
7465 | java/nio/CharBuffer.java, | |
7466 | java/nio/DoubleBuffer.java, | |
7467 | java/nio/FloatBuffer.java, | |
7468 | java/nio/IntBuffer.java, | |
7469 | java/nio/LongBuffer.java, | |
7470 | java/nio/ShortBuffer.java: | |
7471 | Dont import anything. | |
7472 | * java/nio/ByteBufferImpl.java, | |
7473 | java/nio/CharBufferImpl.java, | |
7474 | java/nio/CharViewBufferImpl.java, | |
7475 | java/nio/DirectByteBufferImpl.java, | |
7476 | java/nio/DoubleBufferImpl.java, | |
7477 | java/nio/DoubleViewBufferImpl.java, | |
7478 | java/nio/FloatBufferImpl.java, | |
7479 | java/nio/FloatViewBufferImpl.java, | |
7480 | java/nio/IntBufferImpl.java, | |
7481 | java/nio/IntViewBufferImpl.java, | |
7482 | java/nio/LongBufferImpl.java, | |
7483 | java/nio/LongViewBufferImpl.java, | |
7484 | java/nio/natDirectByteBufferImpl.cc, | |
7485 | java/nio/ShortBufferImpl.java, | |
7486 | java/nio/ShortViewBufferImpl.java: | |
7487 | Moved from gnu/java/nio. | |
7488 | * Makefile.am | |
7489 | (ordinary_java_source_files): Moved files from gnu/java/nio to | |
7490 | java/nio. | |
7491 | (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio | |
7492 | to java/nio. | |
7493 | * Makefile.in: Regenerated. | |
7494 | ||
336931c1 MK |
7495 | 2003-05-19 Michael Koch <konqueror@gmx.de> |
7496 | ||
7497 | * java/util/Calendar.java | |
7498 | (get): Not final anymore since JDK 1.4 | |
7499 | (set): Likewise. | |
7500 | ||
66852893 MK |
7501 | 2003-05-19 Michael Koch <konqueror@gmx.de> |
7502 | ||
7503 | * java/text/CollationKey.java: | |
7504 | Merged copyright and dat from classpath. | |
7505 | * java/text/RuleBasedCollator.java: | |
7506 | Merged class documentation from classpath. | |
7507 | ||
27d645f7 MK |
7508 | 2003-05-19 Michael Koch <konqueror@gmx.de> |
7509 | ||
7510 | * java/nio/CharBuffer.java | |
7511 | (toString): Compile fix. | |
7512 | ||
10832fce MK |
7513 | 2003-05-19 Michael Koch <konqueror@gmx.de> |
7514 | ||
7515 | * gnu/java/nio/ByteBufferImpl.java | |
7516 | (putLong): Fixed conversion to bytes. | |
7517 | (putDouble): Fixed conversion to bytes. | |
7518 | * gnu/java/nio/DirectByteBufferImpl.java | |
7519 | (putLong): Fixed conversion to bytes. | |
7520 | (putDouble): Fixed conversion to bytes. | |
7521 | * gnu/java/nio/FileLockImpl.java | |
7522 | (isValid): Reformatted. | |
7523 | * java/nio/Buffer.java | |
7524 | (Buffer): Fixed off-by-one bug in handling mark. | |
7525 | * java/nio/ByteBuffer.java: | |
7526 | Added newline. | |
7527 | * java/nio/CharBuffer.java | |
7528 | (toString): Don't use relative get to get string data. | |
7529 | ||
18abc5e1 MK |
7530 | 2003-05-16 Michael Koch <konqueror@gmx.de> |
7531 | ||
7532 | * java/io/natFileDescriptorPosix.cc | |
7533 | (open): Commented out the O_SYNC and O_DSYNC usage until its better | |
7534 | tested. | |
7535 | ||
cc1b3d6b MK |
7536 | 2003-05-14 Michael Koch <konqueror@gmx.de> |
7537 | ||
7538 | * gnu/java/nio/FileLockImpl.java | |
7539 | (released): New member variable. | |
7540 | (FileLockImpl): Initialize released. | |
7541 | (releaseImpl): New native method. | |
7542 | (release): Implemented. | |
7543 | * gnu/java/nio/SelectorImpl.java: Reformatted. | |
7544 | * gnu/java/nio/SelectionKeyImpl.java: Reformatted. | |
7545 | * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted. | |
7546 | (accept): Throws IOException. | |
7547 | * gnu/java/nio/SocketChannelImpl.java: Reformatted. | |
7548 | (implConfigureBlocking): Throws IOException. | |
7549 | (connect): Likewise. | |
7550 | (read): Likewise. | |
7551 | (write): Likewise. | |
7552 | * gnu/java/nio/natFileLockImpl.cc: New file. | |
7553 | * java/nio/channels/FileLock.java: Reformatted. | |
7554 | * Makefile.am: | |
7555 | (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java. | |
7556 | (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc. | |
7557 | * Makefile.in: Regenerated. | |
7558 | ||
d24273ab MK |
7559 | 2003-05-13 Michael Koch <konqueror@gmx.de> |
7560 | ||
7561 | * gnu/java/nio/CharViewBufferImpl.java | |
7562 | (CharViewBufferImpl): Fixed super constructor call, initialize offset. | |
7563 | (get): Shift bits to the right direction. | |
7564 | (put): Likewise. | |
7565 | * gnu/java/nio/DoubleViewBufferImpl.java | |
7566 | (DoubleViewBufferImpl): Fixed super constructor call, initialize offset. | |
7567 | (get): Shift bits to the right direction. | |
7568 | (put): Likewise. | |
7569 | * gnu/java/nio/FloatViewBufferImpl.java | |
7570 | (FloatViewBufferImpl): Fixed super constructor call, initialize offset. | |
7571 | (get): Shift bits to the right direction. | |
7572 | (put): Likewise. | |
7573 | * gnu/java/nio/IntViewBufferImpl.java | |
7574 | (IntViewBufferImpl): Fixed super constructor call, initialize offset. | |
7575 | (get): Shift bits to the right direction. | |
7576 | (put): Likewise. | |
7577 | * gnu/java/nio/LongViewBufferImpl.java | |
7578 | (LongViewBufferImpl): Fixed super constructor call, initialize offset. | |
7579 | (get): Shift bits to the right direction. | |
7580 | (put): Likewise. | |
7581 | * gnu/java/nio/ShortViewBufferImpl.java | |
7582 | (ShortViewBufferImpl): Fixed super constructor call, initialize offset. | |
7583 | (get): Shift bits to the right direction. | |
7584 | (put): Likewise. | |
7585 | ||
c484a5fb MK |
7586 | 2003-05-13 Michael Koch <konqueror@gmx.de> |
7587 | ||
7588 | * gnu/java/nio/natDirectByteBufferImpl.cc | |
7589 | (allocateImpl): jlong -> RawData*. | |
7590 | (freeImpl): Likewise. | |
7591 | ||
c6f824e2 MK |
7592 | 2003-05-13 Michael Koch <konqueror@gmx.de> |
7593 | ||
7594 | * java/nio/channels/FileChannel.java | |
7595 | (MapMode.m): Made it package-private to match JDK 1.4. | |
7596 | * java/nio/charset/Charset.java | |
7597 | (decode): Made it final to match JDK 1.4. | |
7598 | ||
e48d8b88 MK |
7599 | 2003-05-13 Michael Koch <konqueror@gmx.de> |
7600 | ||
7601 | * java/io/FileDescriptor.java | |
7602 | (SYNC): New constant. | |
7603 | (DSYNC): Likewise. | |
7604 | (getLength): Renamed from lenght() to match classpath's | |
7605 | FileDescriptor.java. | |
7606 | * java/io/RandomAccessFile.java | |
7607 | (RandomAccessFile): Removed unneeded mode check, implemented mode | |
7608 | "rws" and "rwd", merged documentation from classpath. | |
7609 | (setLength): Reformatted. | |
7610 | (length): Use new getLength() of FileDescriptor. | |
7611 | * java/io/natFileDescriptorEcos.cc | |
7612 | (getLength): Renamed from length(). | |
7613 | * java/io/natFileDescriptorPosix.cc | |
7614 | (open): Implemented support for SYNC and DSYNC. | |
7615 | (seek): Use getLength() instead of length(). | |
7616 | (getLength): Renamed from length(). | |
7617 | * java/io/natFileDescriptorWin32.cc | |
7618 | (getLength): Renamed from length(). | |
7619 | (seek): Use getLength() instead of length(). | |
7620 | (available): Likewise. | |
7621 | * gnu/java/nio/natFileChannelImpl.cc | |
7622 | (size): Use getLength() instead of length(). | |
7623 | ||
3b6b673d MK |
7624 | 2003-05-13 Michael Koch <konqueror@gmx.de> |
7625 | ||
7626 | * gnu/java/nio/ByteBufferImpl.java | |
7627 | (ByteBufferImpl): All constructors revised. | |
7628 | (slice): Reimplemented. | |
7629 | (duplicate): Reimplemented. | |
7630 | (asReadOnlyBuffer): Reimplemented. | |
7631 | * java/nio/ByteBuffer.java: | |
7632 | Reformatted. | |
7633 | (array_offset): Renamed from "offset" to match all other buffer | |
7634 | classes. | |
7635 | (ByteBuffer): All constructors revised. | |
7636 | (allocateDirect): Implemented. | |
7637 | (allocate): New implementation, documentation reworked. | |
7638 | (wrap): Likewise. | |
7639 | (get): Documentation reworked. | |
7640 | (put): New implementation, documentation reworked. | |
7641 | (hasArray): Documentation reworked. | |
7642 | (arrayOffset): Likewise. | |
7643 | (hashCode): Likewise. | |
7644 | (equals): Likewise. | |
7645 | (compareTo): Likewise. | |
7646 | (order): Likewise. | |
7647 | (compact): Likewise. | |
7648 | (isDirect): Likewise. | |
7649 | (slice): Likewise. | |
7650 | (duplicate): Likewise. | |
7651 | (asReadOnlyBuffer): Likewise. | |
7652 | * Makefile.am | |
7653 | (ordinary_java_source_files): | |
7654 | Added gnu/java/nio/DirectByteBufferImpl.java. | |
7655 | (nat_source_files): | |
7656 | Added gnu/java/nio/natDirectByteBufferImpl.cc. | |
7657 | * Makefile.in: Regenerated. | |
7658 | ||
36d4669b MK |
7659 | 2003-05-12 Michael Koch <konqueror@gmx.de> |
7660 | ||
7661 | * gnu/java/nio/ByteBufferImpl.java: Reformatted. | |
7662 | (nio_get_*): Removed. | |
7663 | (nio_put_*): Removed. | |
7664 | (as*Buffer): Implemented. | |
7665 | (compact): Implemented. | |
7666 | (get): Documentation added. | |
7667 | (put): Documentation added. | |
7668 | (get*): Newly implemented. | |
7669 | (put*): Newly implemented. | |
7670 | * gnu/java/nio/CharBufferImpl.java: Reformatted. | |
7671 | (CharBufferImpl): Revised. | |
7672 | (slice): New implementation. | |
7673 | (duplicate): New implementation. | |
7674 | (compact): New implementation. | |
7675 | (asReadOnlyBuffer): New implementation. | |
7676 | (get): Documentation revised. | |
7677 | (order): Return native byte order. | |
7678 | * gnu/java/nio/DirectByteBufferImpl.java | |
7679 | (allocateDirect): objects can be null not 0. | |
7680 | * gnu/java/nio/DoubleBufferImpl.java: Reformatted. | |
7681 | (DoubleBufferImpl): Revised. | |
7682 | (slice): New implementation. | |
7683 | (duplicate): New implementation. | |
7684 | (compact): New implementation. | |
7685 | (asReadOnlyBuffer): New implementation. | |
7686 | (get): Documentation revised. | |
7687 | (order): Return native byte order. | |
7688 | * gnu/java/nio/FloatBufferImpl.java: Reformatted. | |
7689 | (FloatBufferImpl): Revised. | |
7690 | (slice): New implementation. | |
7691 | (duplicate): New implementation. | |
7692 | (compact): New implementation. | |
7693 | (asReadOnlyBuffer): New implementation. | |
7694 | (get): Documentation revised. | |
7695 | (order): Return native byte order. | |
7696 | * gnu/java/nio/IntBufferImpl.java: Reformatted. | |
7697 | (IntBufferImpl): Revised. | |
7698 | (slice): New implementation. | |
7699 | (duplicate): New implementation. | |
7700 | (compact): New implementation. | |
7701 | (asReadOnlyBuffer): New implementation. | |
7702 | (get): Documentation revised. | |
7703 | (order): Return native byte order. | |
7704 | * gnu/java/nio/LongBufferImpl.java: Reformatted. | |
7705 | (LongBufferImpl): Revised. | |
7706 | (slice): New implementation. | |
7707 | (duplicate): New implementation. | |
7708 | (compact): New implementation. | |
7709 | (asReadOnlyBuffer): New implementation. | |
7710 | (get): Documentation revised. | |
7711 | (order): Return native byte order. | |
7712 | * gnu/java/nio/ShortBufferImpl.java: Reformatted. | |
7713 | (ShortBufferImpl): Revised. | |
7714 | (slice): New implementation. | |
7715 | (duplicate): New implementation. | |
7716 | (compact): New implementation. | |
7717 | (asReadOnlyBuffer): New implementation. | |
7718 | (get): Documentation revised. | |
7719 | (order): Return native byte order. | |
7720 | * java/nio/CharBuffer.java: Reformatted, much documentation rewritten. | |
7721 | (CharBuffer): Revised. | |
7722 | (order): Removed. | |
7723 | * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten. | |
7724 | (DoubleBuffer): Revised. | |
7725 | (allocateDirect): Removed. | |
7726 | (order): Removed. | |
7727 | * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten. | |
7728 | (FloatBuffer): Revised. | |
7729 | (allocateDirect): Removed. | |
7730 | (order): Removed. | |
7731 | * java/nio/IntBuffer.java: Reformatted, much documentation rewritten. | |
7732 | (IntBuffer): Revised. | |
7733 | (allocateDirect): Removed. | |
7734 | (order): Removed. | |
7735 | * java/nio/LongBuffer.java: Reformatted, much documentation rewritten. | |
7736 | (LongBuffer): Revised. | |
7737 | (allocateDirect): Removed. | |
7738 | (order): Removed. | |
7739 | * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten. | |
7740 | (ShortBuffer): Revised. | |
7741 | (allocateDirect): Removed. | |
7742 | (order): Removed. | |
7743 | * gnu/java/nio/natByteBufferImpl.cc: Removed. | |
7744 | * gnu/java/nio/natCharBufferImpl.cc: Removed. | |
7745 | * Makefile.am | |
7746 | (ordinary_java_source_files): Added the following files: | |
7747 | gnu/java/nio/CharViewBufferImpl.java, | |
7748 | gnu/java/nio/DoubleViewBufferImpl.java, | |
7749 | gnu/java/nio/FloatViewBufferImpl.java, | |
7750 | gnu/java/nio/IntViewBufferImpl.java, | |
7751 | gnu/java/nio/LongViewBufferImpl.java, | |
7752 | gnu/java/nio/ShortViewBufferImpl.java | |
7753 | (nat_source_files): Removed the following files: | |
7754 | gnu/java/nio/natByteBufferImpl.cc, | |
7755 | gnu/java/nio/natCharBufferImpl.cc | |
7756 | * Makefile.in: Regenerated. | |
7757 | ||
5560b019 MK |
7758 | 2003-05-12 Michael Koch <konqueror@gmx.de> |
7759 | ||
7760 | * gnu/java/nio/CharViewBufferImpl.java, | |
7761 | gnu/java/nio/DirectByteBufferImpl.java, | |
7762 | gnu/java/nio/DoubleViewBufferImpl.java, | |
7763 | gnu/java/nio/FloatViewBufferImpl.java, | |
7764 | gnu/java/nio/IntViewBufferImpl.java, | |
7765 | gnu/java/nio/LongViewBufferImpl.java, | |
7766 | gnu/java/nio/ShortViewBufferImpl.java, | |
7767 | gnu/java/nio/natDirectByteBufferImpl.cc: | |
7768 | New files, not yet to be compiled. | |
7769 | ||
9ca5e694 MK |
7770 | 2003-05-10 Michael Koch <konqueror@gmx.de> |
7771 | ||
7772 | * javax/swing/plaf/ButtonUI.java, | |
7773 | javax/swing/plaf/ColorUIResource.java, | |
7774 | javax/swing/plaf/ComponentUI.java, | |
7775 | javax/swing/plaf/DimensionUIResource.java, | |
7776 | javax/swing/plaf/FontUIResource.java, | |
7777 | javax/swing/plaf/IconUIResource.java, | |
7778 | javax/swing/plaf/InsetsUIResource.java, | |
7779 | javax/swing/plaf/LabelUI.java, | |
7780 | javax/swing/plaf/ListUI.java, | |
7781 | javax/swing/plaf/OptionPaneUI.java, | |
7782 | javax/swing/plaf/PanelUI.java, | |
7783 | javax/swing/plaf/TabbedPaneUI.java, | |
7784 | javax/swing/plaf/TextUI.java, | |
7785 | javax/swing/plaf/TreeUI.java, | |
7786 | javax/swing/plaf/ViewportUI.java, | |
7787 | javax/swing/plaf/basic/BasicBorders.java, | |
7788 | javax/swing/plaf/basic/BasicButtonUI.java, | |
7789 | javax/swing/plaf/basic/BasicCheckBoxUI.java, | |
7790 | javax/swing/plaf/basic/BasicDefaults.java, | |
7791 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
7792 | javax/swing/plaf/basic/BasicIconFactory.java, | |
7793 | javax/swing/plaf/basic/BasicLabelUI.java, | |
7794 | javax/swing/plaf/basic/BasicListUI.java, | |
7795 | javax/swing/plaf/basic/BasicOptionPaneUI.java, | |
7796 | javax/swing/plaf/basic/BasicPanelUI.java, | |
7797 | javax/swing/plaf/basic/BasicRadioButtonUI.java, | |
7798 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
7799 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
7800 | javax/swing/plaf/basic/BasicTextUI.java, | |
7801 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
7802 | javax/swing/plaf/basic/BasicTreeUI.java, | |
7803 | javax/swing/plaf/basic/BasicViewportUI.java, | |
7804 | javax/swing/plaf/metal/MetalLookAndFeel.java: | |
7805 | New versions from classpath. This adds copyrights to all files and | |
7806 | some serialVersionUIDs. | |
7807 | ||
ddf87cfa MK |
7808 | 2003-05-10 Michael Koch <konqueror@gmx.de> |
7809 | ||
7810 | * java/nio/CharBuffer.java | |
7811 | (offset): Make it package-private. | |
7812 | (backing_buffer): Likewise. | |
7813 | * java/nio/DoubleBuffer.java | |
7814 | (offset): Make it package-private. | |
7815 | (backing_buffer): Likewise. | |
7816 | (put): Reformatted. | |
7817 | * java/nio/FloatBuffer.java | |
7818 | (offset): Make it package-private. | |
7819 | (backing_buffer): Likewise. | |
7820 | * java/nio/IntBuffer.java | |
7821 | (offset): Make it package-private. | |
7822 | (backing_buffer): Likewise. | |
7823 | * java/nio/LongBuffer.java | |
7824 | (offset): Make it package-private. | |
7825 | (backing_buffer): Likewise. | |
7826 | * java/nio/ShortBuffer.java | |
7827 | (offset): Make it package-private. | |
7828 | (backing_buffer): Likewise. | |
7829 | ||
c363e02d MK |
7830 | 2003-05-10 Michael Koch <konqueror@gmx.de> |
7831 | ||
7832 | * java/nio/CharBuffer.java | |
7833 | (put): Fixed precondtion check. | |
7834 | (toString): Make it work without backing array. | |
7835 | (put): Skip one level of method calling. | |
7836 | ||
2d133a9f MK |
7837 | 2003-05-10 Michael Koch <konqueror@gmx.de> |
7838 | ||
7839 | * java/security/Identity.java, | |
7840 | java/security/IdentityScope.java, | |
7841 | java/security/Key.java, | |
7842 | java/security/KeyPair.java, | |
7843 | java/security/PrivateKey.java, | |
7844 | java/security/Provider.java, | |
7845 | java/security/PublicKey.java, | |
7846 | java/security/SecureRandom.java, | |
7847 | java/security/SecureRandomSpi.java, | |
7848 | java/security/SignedObject.java, | |
7849 | java/security/Signer.java, | |
7850 | java/security/cert/Certificate.java, | |
7851 | java/security/cert/PKIXCertPathBuilderResult.java, | |
7852 | java/security/cert/X509Certificate.java: | |
7853 | New versions from classpath. | |
7854 | ||
553ada10 TT |
7855 | 2003-05-09 Tom Tromey <tromey@redhat.com> |
7856 | ||
7857 | * Makefile.in: Rebuilt. | |
7858 | * Makefile.am (nat_source_files): Removed old files. | |
7859 | * gnu/java/nio/natDoubleBufferImpl.cc: Removed. | |
7860 | * gnu/java/nio/natFloatBufferImpl.cc: Removed. | |
7861 | * gnu/java/nio/natIntBufferImpl.cc: Removed. | |
7862 | * gnu/java/nio/natLongBufferImpl.cc: Removed. | |
7863 | * gnu/java/nio/natShortBufferImpl.cc: Removed. | |
7864 | ||
2c478ce3 MK |
7865 | 2003-05-09 Michael Koch <konqueror@gmx.de> |
7866 | ||
7867 | * gnu/java/nio/ByteBufferImpl.java | |
7868 | (nio_cast): Removed. | |
7869 | (ByteBufferImpl): Removed. | |
7870 | (nio_get_Byte): Removed. | |
7871 | (nio_put_Byte): Removed. | |
7872 | (asByteBuffer): Removed. | |
7873 | (asCharBuffer): Removed implementation and throw exception. | |
7874 | (asShortBuffer): Likewise. | |
7875 | (asIntBuffer): Likewise. | |
7876 | (asLongBuffer): Likewise. | |
7877 | (asFloatBuffer): Likewise. | |
7878 | (asDoubleBuffer): Likewise. | |
7879 | * gnu/java/nio/CharBufferImpl.java | |
7880 | (CharBufferImpl): Removed. | |
7881 | (nio_get_Byte): Removed. | |
7882 | (nio_put_Byte): Removed. | |
7883 | (asByteBuffer): Removed. | |
7884 | * gnu/java/nio/DoubleBufferImpl.java | |
7885 | (DoubleBufferImpl): Removed. | |
7886 | (nio_get_Byte): Removed. | |
7887 | (nio_put_Byte): Removed. | |
7888 | (asByteBuffer): Removed. | |
7889 | * gnu/java/nio/FloatBufferImpl.java | |
7890 | (FloatBufferImpl): Removed. | |
7891 | (nio_get_Byte): Removed. | |
7892 | (nio_put_Byte): Removed. | |
7893 | (asByteBuffer): Removed. | |
7894 | * gnu/java/nio/IntBufferImpl.java | |
7895 | (IntBufferImpl): Removed. | |
7896 | (nio_get_Byte): Removed. | |
7897 | (nio_put_Byte): Removed. | |
7898 | (asByteBuffer): Removed. | |
7899 | * gnu/java/nio/LongBufferImpl.java | |
7900 | (LongBufferImpl): Removed. | |
7901 | (nio_get_Byte): Removed. | |
7902 | (nio_put_Byte): Removed. | |
7903 | (asByteBuffer): Removed. | |
7904 | * gnu/java/nio/ShortBufferImpl.java | |
7905 | (ShortBufferImpl): Removed. | |
7906 | (nio_get_Byte): Removed. | |
7907 | (nio_put_Byte): Removed. | |
7908 | (asByteBuffer): Removed. | |
7909 | * gnu/java/nio/natByteBufferImpl.cc | |
7910 | (nio_cast): Removed. | |
7911 | (nio_get_Byte): Removed. | |
7912 | (nio_put_Byte): Removed. | |
7913 | * gnu/java/nio/natCharBufferImpl.cc | |
7914 | (nio_get_Byte): Removed. | |
7915 | (nio_put_Byte): Removed. | |
7916 | ||
44db872c MK |
7917 | 2003-05-09 Michael Koch <konqueror@gmx.de> |
7918 | ||
7919 | * java/net/JarURLConnection.java | |
7920 | (getJarEntry): Merged documentation from classpath. | |
7921 | (getJarFile): Likewise. | |
7922 | (getMainAttributes): Likewise. | |
7923 | (getAttributes): Likewise. | |
7924 | (getManifest): Likewise. | |
7925 | (getCertificates): Reformatted. | |
7926 | * java/net/URLConnection.java: | |
7927 | Little classpath merge. | |
7928 | ||
d8048dc2 MK |
7929 | 2003-05-09 Michael Koch <konqueror@gmx.de> |
7930 | ||
7931 | * java/io/DataOutputStream.java | |
7932 | (writeShort): Made it synchronized. | |
7933 | (writeChar): Likewise. | |
7934 | (writeInt): Likewise. | |
7935 | (writeLong): Liekwise. | |
7936 | (writeUTF): Made it synchronized, renamed argument to match classpath. | |
7937 | * java/io/InputStreamReader.java | |
7938 | (converter): Added documentation. | |
7939 | (read): Merged documentation from classpath. | |
7940 | * java/io/OutputStreamWriter.java | |
7941 | (OutputStreamWriter): Merged documentation from classpath. | |
7942 | (close): Reformatted. | |
7943 | (getEncoding): Likewise. | |
7944 | (flush): Likewise. | |
7945 | (write): Merged documentation from classpath, reformatted. | |
7946 | ||
b8e61e1e TT |
7947 | 2003-05-08 Tom Tromey <tromey@redhat.com> |
7948 | ||
7949 | * configure.host <powerpc64*-*>: Set with_libffi_default and | |
7950 | libgcj_interpreter to "yes". | |
7951 | ||
146b8675 SG |
7952 | 2003-05-08 Scott Gilbertson <scottg@mantatest.com> |
7953 | ||
7954 | * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code. | |
7955 | ||
b5f3edcf TT |
7956 | 2003-05-06 Tom Tromey <tromey@redhat.com> |
7957 | ||
7958 | * verify.cc: Reverted previous patch. | |
7959 | ||
83f564f7 MK |
7960 | 2003-05-06 Michael Koch <konqueror@gmx.de> |
7961 | ||
7962 | * java/io/DataOutputStream.java | |
7963 | (write): Renamed argument to "value", merged documentation from | |
7964 | classpath. | |
7965 | (writeBoolean): Likewise. | |
7966 | (writeByte): Likewise. | |
7967 | (writeShort): Likewise. | |
7968 | (writeChar): Likewise. | |
7969 | (writeInt): Likewise. | |
7970 | (writeLong): Likewise. | |
7971 | (writeFloat): Likewise. | |
7972 | (writeDouble): Likewise. | |
7973 | (writeBytes): Likewise. | |
7974 | (writeChars): Likewise. | |
7975 | (writeUTF): Likewise. | |
7976 | * java/io/File.java | |
7977 | (performDelete): Added documentation. | |
7978 | (performList): Likewise. | |
7979 | (performMkdir): Likewise. | |
7980 | (performSetReadOnly): Likewise. | |
7981 | (performRenameTo): Likewise. | |
7982 | (performSetLastModified): Likewise. | |
7983 | (delete): Made it sychronized. | |
7984 | (renameTo): Made it sychronized. | |
7985 | (equals): Reformatted. | |
7986 | (isHidden): Likewise. | |
7987 | (listFiles): Likewise. | |
7988 | (setReadOnly): Likewise. | |
7989 | (listRoots): Likewise. | |
7990 | (setLastModified): Likewise. | |
7991 | (checkRead): Likewise. | |
7992 | (checkWrite): Likewise. | |
7993 | * java/io/FileInputStream.java | |
7994 | (skip): Made it sychronized, merged from classpath. | |
7995 | * java/io/FileOutputStream.java | |
7996 | (write): Merged from classpath. | |
7997 | * java/io/InputStreamReader.java: | |
7998 | (InputStreamReader): Merged documentation from classpath. | |
7999 | ||
e5f3cd6b MK |
8000 | 2003-05-05 Michael Koch <konqueror@gmx.de> |
8001 | ||
8002 | * java/net/NetworkInterface.java | |
8003 | (networkInterfaces): Removed. | |
8004 | (getByName): Use getRealNetworkInterfaces() instead of | |
8005 | networkInterfaces. | |
8006 | (getByInetAddress): Likewise. | |
8007 | (getNetworkInterfaces): Likewise. | |
8008 | (toString): Fix output of addresses of an interface. | |
8009 | ||
ee632773 | 8010 | 2003-05-05 Michael Koch <konqueror@gmx.de> |
f7529e02 MK |
8011 | |
8012 | * java/io/DataInputStream.java: | |
ee632773 | 8013 | Merged new documentation from classpath. |
f7529e02 | 8014 | |
51747541 MK |
8015 | 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu> |
8016 | ||
8017 | * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of | |
8018 | "version". | |
8019 | * gnu/awt/gtk/GtkComponentPeer.java: Likewise. | |
8020 | * gnu/awt/gtk/GtkContainerPeer.java: Likewise. | |
8021 | * gnu/awt/gtk/GtkFramePeer.java: Likewise. | |
8022 | * gnu/awt/gtk/GtkLabelPeer.java: Likewise. | |
8023 | * gnu/awt/gtk/GtkMainThread.java: Likewise. | |
8024 | * gnu/awt/gtk/GtkToolkit.java: Likewise. | |
8025 | * gnu/awt/gtk/GtkWindowPeer.java: Likewise. | |
8026 | * java/security/Key.java: Likewise. | |
8027 | * java/security/PrivateKey.java: Likewise. | |
8028 | * java/security/Provider.java: Likewise. | |
8029 | * java/security/PublicKey.java: Likewise. | |
8030 | ||
13a564b3 MK |
8031 | 2003-05-02 Michael Koch <konqueror@gmx.de> |
8032 | ||
8033 | * java/net/URI.java | |
8034 | (create): Doesnt throws any exceptions. | |
8035 | * java/net/URLConnection.java | |
8036 | (URLConnection): Commend added. | |
8037 | (getExpiration): The header field is called "expires" not | |
8038 | "expiration". | |
8039 | (getHeaderField): Merged documentation with classpath. | |
8040 | (getHeaderFieldInt): Likewise. | |
8041 | (getHeaderFieldDate): Likewise. | |
8042 | (getHeaderFieldKey): Likewise. | |
8043 | (getPermission): Likewise. | |
8044 | (setDefaultUseCaches): Likewise. | |
8045 | (setRequestProperty): Likewise. | |
8046 | (addRequestProperty): Likewise. | |
8047 | (getRequestProperty): Likewise. | |
8048 | (getRequestProperties): Likewise. | |
8049 | (setDefaultRequestProperty): Likewise. | |
8050 | (getDefaultRequestProperty): Likewise. | |
8051 | (guessContentTypeFromStream): Likewise. | |
8052 | (getFileNameMap): Likewise. | |
8053 | (setFileNameMap): Likewise. | |
8054 | (setDoInput): Merged implementation and documentation with classpath. | |
8055 | (setDoOutput): Likewise. | |
8056 | (setAllowUserInteraction): Likewise. | |
8057 | (setDefaultAllowUserInteraction): Likewise. | |
8058 | (setContentHandlerFactory): Made it synchronized, merged documentation | |
8059 | with classpath. | |
8060 | (guessContentTypeFromName): Renamed argument fname to filename to | |
8061 | match classpath, merged documentation with classpath. | |
8062 | ||
e23c953a MK |
8063 | 2003-05-02 Michael Koch <konqueror@gmx.de> |
8064 | ||
8065 | * java/net/JarURLConnection.java | |
8066 | (JarURLConnection): Class documentation merged with classpath. | |
8067 | (getJarFileURL): Moved and documentation merged with classpath. | |
8068 | (getEntryName): Likewise. | |
8069 | (JarURLConnection): Documentation merged with classpath. | |
8070 | (getJarEntry): Likewise. | |
8071 | (getJarFile): Likewise. | |
8072 | * java/net/PlainDatagramSocketImpl.java: | |
8073 | Class documentation moved. | |
8074 | * java/net/URLConnection.java | |
8075 | (fileNameMap): Moved and documentation merged with classpath. | |
8076 | (factory): Likewise. | |
8077 | (defaultAllowUserInteraction): Likewis. | |
8078 | (defaultUseCaches): Likewise. | |
8079 | (allowUserInteraction): Likewise. | |
8080 | (connected): Likewise. | |
8081 | (url): Likewise. | |
8082 | (connect): Documentation merged with classpath. | |
8083 | (getURL): Likewise. | |
8084 | (getContentLength): Likewise. | |
8085 | (getContentType): Likewise. | |
8086 | (getContentEncoding): Likewise. | |
8087 | (getExpiration): Likewise. | |
8088 | (getDate): Likewise. | |
8089 | (getLastModified): Likewise. | |
8090 | (getHeaderField): Likewise. | |
8091 | (getContent): Likewise. | |
8092 | (getPermission): Likewise. | |
8093 | (getInputStream): Likewise. | |
8094 | (getOutputStream): Likewise. | |
8095 | (toString): Likewise. | |
8096 | (getDoInput): Likewise. | |
8097 | (getDoOutput): Likewise. | |
8098 | (setAllowUserInteraction): Likewise. | |
8099 | (getAllowUserInteraction): Likewise. | |
8100 | (setDefaultAllowUserInteraction): Likewise. | |
8101 | (getDefaultAllowUserInteraction): Likewise. | |
8102 | (setUseCaches): Likewise. | |
8103 | (getUseCaches): Likewise. | |
8104 | (setIfModifiedSince): Likewise. | |
8105 | (getIfModifiedSince): Likewise. | |
8106 | (setDefaultRequestProperty): Likewise. | |
8107 | (getDefaultRequestProperty): Likewise. | |
8108 | (setContentHandlerFactory): Likewise. | |
8109 | (setFileNameMap): Likewise. | |
8110 | ||
143f596a MK |
8111 | 2003-05-02 Michael Koch <konqueror@gmx.de> |
8112 | ||
8113 | * java/net/InetAddress.java: | |
8114 | Merged class documentation with classpath. | |
8115 | * java/net/JarURLConnection.java: | |
8116 | Explicitely import all used classes. | |
8117 | * java/net/URL.java: | |
8118 | Reformatting. | |
8119 | * java/net/ServerSocket.java, | |
8120 | java/net/Socket.java: | |
8121 | New versions from classpath. | |
8122 | ||
4b6eac52 MK |
8123 | 2003-05-02 Michael Koch <konqueror@gmx.de> |
8124 | ||
8125 | * gnu/java/nio/FileChannelImpl.java | |
8126 | (read): New implementation. | |
8127 | (implRead): New methods. | |
8128 | (write): New implementation, call other write insteal of read method. | |
8129 | (implWrite): New methods. | |
8130 | (map): Added comment. | |
8131 | (transferFrom): Implemented. | |
8132 | (transferTo): Implemented. | |
8133 | (lock): Added checks to throw exceptions. | |
8134 | (truncate): Added check to throw exception. | |
8135 | * gnu/java/nio/natFileChannelImpl.cc | |
8136 | (implRead): New method. | |
8137 | (implWrite): New method. | |
8138 | * java/nio/ByteBuffer.java | |
8139 | (hashCode): Fixed comment. | |
8140 | (get): Fixed exception documentation. | |
8141 | (put): Fixed exception documentation. | |
8142 | * java/nio/CharBuffer.java: | |
8143 | Added comment for later optimizations. | |
8144 | ||
06b021af TT |
8145 | 2003-04-30 Tom Tromey <tromey@redhat.com> |
8146 | ||
8147 | PR libgcj/10582: | |
8148 | * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow): | |
8149 | Removed. | |
8150 | (type::compatible): Use _Jv_IsAssignableFrom. | |
8151 | * java/lang/natClass.cc (iindex_mutex_initialized): Now static. | |
8152 | (_Jv_IsAssignableFrom): Work even when source or target class is | |
8153 | not prepared. | |
8154 | ||
d3d40e23 MK |
8155 | 2003-04-30 Michael Koch <konqueror@gmx.de> |
8156 | ||
8157 | * java/text/BreakIterator.java | |
8158 | (clone): New method. | |
8159 | ||
70ff9d90 MK |
8160 | 2003-04-30 Michael Koch <konqueror@gmx.de> |
8161 | ||
8162 | * java/text/CollationElementIterator.java, | |
8163 | java/text/CollationKey.java, | |
8164 | java/text/RuleBasedCollator.java: | |
8165 | Merged copyright and documentation from classpath and | |
8166 | rearranged some code. No code changes done. | |
8167 | ||
ad03daf0 MK |
8168 | 2003-04-30 Michael Koch <konqueror@gmx.de> |
8169 | ||
8170 | * java/util/regex/Matcher.java | |
8171 | (pattern): New member variable. | |
8172 | (appendReplacement): New method. | |
8173 | (appendTail): New method. | |
8174 | (end): New method. | |
8175 | (find): New method. | |
8176 | (group): New method. | |
8177 | (replaceFirst): Added documentation. | |
8178 | (replaceAll): Added documentation. | |
8179 | (groupCount): New method. | |
8180 | (lookingAt): New method. | |
8181 | (matches): New method. | |
8182 | (reset): New method. | |
8183 | (start): New method. | |
8184 | * java/util/regex/Pattern.java | |
8185 | (serialVersionUID): New constant. | |
8186 | (CANON_EQ): New constant. | |
8187 | (CASE_INSENSITIVE): New constant. | |
8188 | (COMMENTS): New constant. | |
8189 | (DOTALL): New constant. | |
8190 | (MULTILINE): New constant. | |
8191 | (UNICODE_CASE): New constant. | |
8192 | (UNIX_LINES): New constant. | |
8193 | (regex): New member variable. | |
8194 | (flags): New member variable. | |
8195 | (Pattern): New method. | |
8196 | (compile): Documentation added. | |
8197 | (flags): New method. | |
8198 | (matches): Documentation added. | |
8199 | (matcher): Documentation added. | |
8200 | (split): Documentation added. | |
8201 | (pattern): New method. | |
8202 | ||
43905ff3 MK |
8203 | 2003-04-30 Michael Koch <konqueror@gmx.de> |
8204 | ||
8205 | * gnu/java/security/Engine.java, | |
8206 | gnu/java/security/OID.java, | |
8207 | gnu/java/security/der/BitString.java, | |
8208 | gnu/java/security/der/DER.java, | |
8209 | gnu/java/security/der/DERReader.java, | |
8210 | gnu/java/security/der/DERValue.java, | |
8211 | gnu/java/security/der/DERWriter.java, | |
8212 | gnu/java/security/provider/DSAKeyFactory.java, | |
8213 | gnu/java/security/provider/X509CertificateFactory.java, | |
8214 | gnu/java/security/x509/X500DistinguishedName.java, | |
8215 | gnu/java/security/x509/X509CRL.java, | |
8216 | gnu/java/security/x509/X509CRLEntry.java, | |
8217 | gnu/java/security/x509/X509Certificate.java, | |
8218 | java/security/cert/CRLSelector.java, | |
8219 | java/security/cert/CertPathBuilder.java, | |
8220 | java/security/cert/CertPathBuilderResult.java, | |
8221 | java/security/cert/CertPathBuilderSpi.java, | |
8222 | java/security/cert/CertPathParameters.java, | |
8223 | java/security/cert/CertPathValidator.java, | |
8224 | java/security/cert/CertPathValidatorResult.java, | |
8225 | java/security/cert/CertPathValidatorSpi.java, | |
8226 | java/security/cert/CertSelector.java, | |
8227 | java/security/cert/CertStore.java, | |
8228 | java/security/cert/CertStoreParameters.java, | |
8229 | java/security/cert/CertStoreSpi.java, | |
8230 | java/security/cert/CollectionCertStoreParameters.java, | |
8231 | java/security/cert/LDAPCertStoreParameters.java, | |
8232 | java/security/cert/PKIXBuilderParameters.java, | |
8233 | java/security/cert/PKIXCertPathBuilderResult.java, | |
8234 | java/security/cert/PKIXCertPathChecker.java, | |
8235 | java/security/cert/PKIXCertPathValidatorResult.java, | |
8236 | java/security/cert/PKIXParameters.java, | |
8237 | java/security/cert/PolicyNode.java, | |
8238 | java/security/cert/PolicyQualifierInfo.java, | |
8239 | java/security/cert/TrustAnchor.java, | |
8240 | javax/security/auth/x500/X500Principal.java: | |
8241 | New files from classpath. | |
8242 | * gnu/java/io/ASN1ParsingException.java, | |
8243 | gnu/java/io/Base64InputStream.java, | |
8244 | gnu/java/security/der/DEREncodingException.java, | |
8245 | gnu/java/security/provider/DSAParameters.java, | |
8246 | gnu/java/security/provider/DSASignature.java, | |
8247 | gnu/java/security/provider/Gnu.java, | |
8248 | gnu/java/security/provider/GnuDSAPrivateKey.java, | |
8249 | gnu/java/security/provider/GnuDSAPublicKey.java, | |
8250 | java/security/AlgorithmParameterGenerator.java, | |
8251 | java/security/AlgorithmParameters.java, | |
8252 | java/security/KeyFactory.java, | |
8253 | java/security/KeyPairGenerator.java, | |
8254 | java/security/KeyStore.java, | |
8255 | java/security/MessageDigest.java, | |
8256 | java/security/SecureClassLoader.java, | |
8257 | java/security/SecureRandom.java, | |
8258 | java/security/Security.java, | |
8259 | java/security/Signature.java, | |
8260 | java/security/cert/Certificate.java, | |
8261 | java/security/cert/CertificateFactory.java, | |
8262 | java/security/cert/CertificateFactorySpi.java, | |
8263 | java/security/cert/X509CRL.java, | |
8264 | java/security/cert/X509Certificate.java, | |
8265 | java/security/spec/DSAPublicKeySpec.java: | |
8266 | New versions from classpath. | |
8267 | * gnu/java/security/provider/DERReader.java, | |
8268 | gnu/java/security/provider/DERWriter.java, | |
8269 | java/security/Engine.java: Removed. | |
8270 | * Makefile.am | |
8271 | (java_source_files, javax_source_files): Added new files. | |
8272 | * Makefile.in: Regenerated. | |
8273 | ||
ca55ba49 MK |
8274 | 2003-04-29 Michael Koch <konqueror@gmx.de> |
8275 | ||
8276 | * javax/swing/JTable.java | |
8277 | (AUTO_RESIZE_ALL_COLUMNS): New constant. | |
8278 | (AUTO_RESIZE_LAST_COLUMN): New constant. | |
8279 | (AUTO_RESIZE_NEXT_COLUMN): New constant. | |
8280 | (AUTO_RESIZE_OFF): New constant. | |
8281 | (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant. | |
8282 | (JTable): New method. | |
8283 | (columnAdded): New method. | |
8284 | (columnMarginChanged): New method. | |
8285 | (columnMoved): New method. | |
8286 | (columnRemoved): New method. | |
8287 | (columnSelectionChanged): New method. | |
8288 | (editingCanceled): New method. | |
8289 | (editingStopped): New method. | |
8290 | (getColumnModel): New method. | |
8291 | (getPreferredScrollableViewportSize): New method. | |
8292 | (getScrollableBlockIncrement): New method. | |
8293 | (getScrollableTracksViewportHeight): New method. | |
8294 | (getScrollableTracksViewportWidth): New method. | |
8295 | (getScrollableUnitIncrement): New method. | |
8296 | (getSelectedRow): New method. | |
8297 | (getSelectionModel): New method. | |
8298 | (tableChanged): New method. | |
8299 | (setModel): New method. | |
8300 | (setSelectionMode): New method. | |
8301 | (setSelectionModel): New method. | |
8302 | (setShowGrid): New method. | |
8303 | (valueChanged): New method. | |
8304 | * javax/swing/text/DefaultEditorKit.java | |
8305 | (backwardAction): New constant. | |
8306 | (beepAction): New constant. | |
8307 | (beginAction): New constant. | |
8308 | (beginLineAction): New constant. | |
8309 | (beginParagraphAction): New constant. | |
8310 | (beginWordAction): New constant. | |
8311 | (copyAction): New constant. | |
8312 | (cutAction): New constant. | |
8313 | (defaultKeyTypedAction): New constant. | |
8314 | (deleteNextCharAction): New constant. | |
8315 | (deletePrevCharAction): New constant. | |
8316 | (downAction): New constant. | |
8317 | (endAction): New constant. | |
8318 | (endLineAction): New constant. | |
8319 | (endOfLineStringProperty): New constant. | |
8320 | (endParagraphAction): New constant. | |
8321 | (endWordAction): New constant. | |
8322 | (forwardAction): New constant. | |
8323 | (insertBreakAction): New constant. | |
8324 | (insertContentAction): New constant. | |
8325 | (insertTabAction): New constant. | |
8326 | (nextWordAction): New constant. | |
8327 | (pageDownAction): New constant. | |
8328 | (pageUpAction): New constant. | |
8329 | (pasteAction): New constant. | |
8330 | (previousWordAction): New constant. | |
8331 | (readOnlyAction): New constant. | |
8332 | (selectAllAction): New constant. | |
8333 | (selectionBackwardAction): New constant. | |
8334 | (selectionBeginAction): New constant. | |
8335 | (selectionBeginLineAction): New constant. | |
8336 | (selectionBeginParagraphAction): New constant. | |
8337 | (selectionBeginWordAction): New constant. | |
8338 | (selectionDownAction): New constant. | |
8339 | (selectionEndAction): New constant. | |
8340 | (selectionEndLineAction): New constant. | |
8341 | (selectionEndParagraphAction): New constant. | |
8342 | (selectionEndWordAction): New constant. | |
8343 | (selectionForwardAction): New constant. | |
8344 | (selectionNextWordAction): New constant. | |
8345 | (selectionPreviousWordAction): New constant. | |
8346 | (selectionUpAction): New constant. | |
8347 | (selectLineAction): New constant. | |
8348 | (selectParagraphAction): New constant. | |
8349 | (selectWordAction): New constant. | |
8350 | (upAction): New constant. | |
8351 | (writableAction): New constant. | |
8352 | ||
fbba7d68 MK |
8353 | 2003-04-29 Michael Koch <konqueror@gmx.de> |
8354 | ||
8355 | * java/util/PropertyPermission.java: | |
8356 | New version from classpath | |
8357 | * java/util/ResourceBundle.java: | |
8358 | Partly merged from classpath | |
8359 | (getObject): Reformated. | |
8360 | (tryBundle): Set foundBundle = null if no bundle found. | |
8361 | ||
cac9b0bc MK |
8362 | 2003-04-29 Michael Koch <konqueror@gmx.de> |
8363 | ||
8364 | * javax/swing/AbstractListModel.java, | |
8365 | javax/swing/DefaultBoundedRangeModel.java, | |
8366 | javax/swing/DefaultSingleSelectionModel.java: | |
8367 | New Versions from classpath. | |
8368 | ||
7e89296c MK |
8369 | 2003-04-29 Michael Koch <konqueror@gmx.de> |
8370 | ||
8371 | * java/awt/Window.java | |
8372 | (show): Call super.show() instead of setVisible() to avoid endless | |
8373 | loop. | |
8374 | (hide): Call super.hide() instead of setVisible() to avoid endless | |
8375 | loop. | |
8376 | ||
8efaad21 MK |
8377 | 2003-04-29 Michael Koch <konqueror@gmx.de> |
8378 | ||
8379 | * java/util/zip/Deflater.java, | |
8380 | java/util/zip/DeflaterOutputStream.java: | |
8381 | Partly merged with classpath. | |
8382 | ||
62a3446b TT |
8383 | 2003-04-27 Tom Tromey <tromey@redhat.com> |
8384 | ||
8385 | * java/lang/natString.cc (_Jv_AllocString): Initialize | |
8386 | cachedHashCode. | |
8387 | (init): Likewise. | |
8388 | (_Jv_NewStringUtf8Const): Likewise. | |
8389 | ||
c4519773 ME |
8390 | 2003-03-29 Mohan Embar <gnustuff@thisiscool.com> |
8391 | ||
8392 | * include/jvm.h: (_Jv_GetNbArgs) added | |
8393 | (_Jv_GetSafeArg) added | |
8394 | (_Jv_SetArgs) added | |
8395 | * prims.cc: (_Jv_GetNbArgs) implemented | |
8396 | (_Jv_GetSafeArg) implemented | |
8397 | (_Jv_SetArgs) implemented | |
8398 | (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly | |
8399 | setting _Jv_argc and _Jv_argv | |
8400 | * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg() | |
8401 | instead of _Jv_argv | |
8402 | * java/lang/natRuntime.cc: (insertSystemProperties) use | |
8403 | _Jv_GetSafeArg() instead of _Jv_argv | |
8404 | ||
5940c2b7 TT |
8405 | 2003-04-23 Tom Tromey <tromey@redhat.com> |
8406 | ||
8407 | * resolve.cc (_Jv_PrepareClass): Round size up to alignment | |
8408 | required by this object. Search superclasses to find required | |
8409 | alignment. | |
8410 | (get_alignment_from_class): Use alignment of type as it appears | |
8411 | in a struct. | |
8412 | (ALIGNOF): New macro. | |
8413 | (struct aligner): New helper structure. | |
8414 | ||
ebf96c13 SG |
8415 | 2003-04-20 Scott Gilbertson <scottg@mantatest.com> |
8416 | ||
8417 | * java/awt/Container.java (addImpl): Enable paint events if adding | |
8418 | a lightweight to a heavyweight. | |
8419 | (addNotify): Ensure that peer is created before | |
8420 | addNotifyContainerChildren. | |
8421 | (addNotifyContainerChildren): Enable paint events if a heavyweight | |
8422 | container contains a lightweight. | |
8423 | ||
3bd417a7 TT |
8424 | 2003-04-20 Tom Tromey <tromey@redhat.com> |
8425 | ||
8426 | * java/io/BufferedReader.java, java/io/BufferedWriter.java, | |
8427 | java/io/DataInput.java, java/io/DataOutput.java: Imports from | |
8428 | Classpath. | |
8429 | ||
7451c155 TT |
8430 | 2003-04-19 Tom Tromey <tromey@redhat.com> |
8431 | ||
a8ada986 TT |
8432 | * java/sql/Date.java, java/sql/DriverManager.java, |
8433 | java/sql/Time.java, java/sql/Timestamp.java: New versions from | |
8434 | Classpath. | |
8435 | ||
7451c155 TT |
8436 | * Makefile.in: Rebuilt. |
8437 | * Makefile.am (ordinary_java_source_files): Added new files. | |
8438 | * java/security/AlgorithmParameterGenerator.java, | |
8439 | java/security/AlgorithmParameters.java, java/security/Engine.java, | |
8440 | java/security/Identity.java, java/security/IdentityScope.java, | |
8441 | java/security/KeyFactory.java, | |
8442 | java/security/KeyPairGenerator.java, java/security/KeyStore.java, | |
8443 | java/security/MessageDigest.java, java/security/Policy.java, | |
8444 | java/security/ProtectionDomain.java, | |
8445 | java/security/SecureRandom.java, java/security/Security.java, | |
8446 | java/security/Signature.java, java/security/SignatureSpi.java, | |
8447 | java/security/SignedObject.java, java/security/Signer.java, | |
8448 | java/security/interfaces/RSAMultiPrimePrivateCrtKey.java, | |
8449 | java/security/spec/PSSParameterSpec.java, | |
8450 | java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java, | |
8451 | java/security/spec/RSAOtherPrimeInfo.java: New versions from | |
8452 | Classpath. | |
8453 | ||
9e9e2042 SG |
8454 | 2003-04-19 Scott Gilbertson <scottg@mantatest.com> |
8455 | ||
8456 | * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create. | |
8457 | (dispose): Null metrics. | |
8458 | * gnu/awt/xlib/XToolkit.java (sync): Implement. | |
8459 | * gnu/gcj/xlib/Clip.java (dispose): Change name of native from | |
8460 | finalize. | |
8461 | (finalize): Call dispose. | |
8462 | * gnu/gcj/xlib/Drawable.java (gcCache): New field. | |
8463 | (gcCachedCount): New field. | |
8464 | (finalize): New method. | |
8465 | (putGCInCache): New method. | |
8466 | (getGCFromCache): New method. | |
8467 | * gnu/gcj/xlib/GC.java (GC): Make protected. | |
8468 | (clone): Get new GC from cache if possible. | |
8469 | (create): New static method. | |
8470 | (dispose): Save old GC in cache. | |
8471 | * gnu/gcj/xlib/natClip.cc (dispose): Check for null before | |
8472 | deleting. | |
8473 | * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc | |
8474 | is null. | |
8475 | * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create. | |
8476 | * java/awt/Container.java (visitChild): Dispose gfx2 when | |
8477 | finished. | |
8478 | ||
afd4910a JQ |
8479 | 2003-04-19 Jerry Quinn <jlquinn@optonline.net> |
8480 | ||
8481 | * java/math/BigInteger.java (probablePrime): New. | |
8482 | * java/math/BigDecimal.java (unscaledValue): New. | |
8483 | ||
f1a1591b RM |
8484 | 2003-04-19 Ranjit Mathew <rmathew@hotmail.com> |
8485 | ||
8486 | * java/io/File.java (getAbsolutePath): On Windows, take care | |
8487 | of paths like "C:", "G:foo\bar", etc. | |
8488 | (getName): Make it work correctly on Windows. | |
8489 | (getParent): Make it work correctly on Windows. For UNIX, | |
8490 | fix bug that causes "/" to be returned as the parent of "/", | |
8491 | instead of null as returned by Sun's JRE. | |
8492 | ||
8493 | * java/io/natFileWin32.cc: Change copyright owner to FSF. | |
8494 | ||
1230b94d SG |
8495 | 2003-04-19 Scott Gilbertson <scottg@mantatest.com> |
8496 | ||
8497 | * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New | |
8498 | inner class. | |
8499 | (CACHE_SIZE_PER_DISPLAY): New field | |
8500 | (fontMetricsCache): New field | |
8501 | (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer | |
8502 | loading ISO10646-1 fonts. | |
8503 | ||
3b228805 SG |
8504 | 2003-04-19 Scott Gilbertson <scottg@mantatest.com> |
8505 | ||
8506 | * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit | |
8507 | characters. | |
8508 | * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit | |
8509 | characters. | |
8510 | ||
bc617f8a RE |
8511 | 2003-04-16 Richard Earnshaw <rearnsha@arm.com> |
8512 | ||
8513 | * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian | |
8514 | floating point. | |
8515 | ||
ba39351e JJ |
8516 | 2003-04-15 Jakub Jelinek <jakub@redhat.com> |
8517 | ||
8518 | * configure.host (*-linux*): Don't set slow_pthread_self if primary | |
8519 | installed libpthread is either linuxthreads with floating stacks or | |
8520 | NPTL. | |
8521 | ||
355d8993 TT |
8522 | 2003-04-14 Tom Tromey <tromey@redhat.com> |
8523 | ||
8524 | * resolve.cc (_Jv_PrepareClass): Round up class size to multiple | |
8525 | of alignment. | |
8526 | ||
bc9150d3 TT |
8527 | 2003-04-10 Tom Tromey <tromey@redhat.com> |
8528 | ||
8529 | * verify.cc (pop64): Removed. | |
8530 | (verify_instructions_0) <op_pop2>: Inline code. Don't throw | |
8531 | exception if top-of-stack is narrow. | |
8532 | (initialize_stack): Check to ensure that <init> is not static and | |
8533 | <clinit> is. | |
8534 | ||
30da0969 AR |
8535 | 2003-04-07 Aaron M. Renn (arenn@urbanophile.com) |
8536 | ||
8537 | * java/io/ObjectStreamException | |
8538 | * java/io/FileFilter | |
8539 | * java/io/FilenameFilter | |
8540 | * java/io/ObjectInput | |
8541 | * java/io/ObjectOutput | |
8542 | * java/io/ObjectStreamConstants | |
8543 | Minor doc fixes, format fixes, spelling corrections, etc. | |
8544 | * java/io/DataInput | |
8545 | Corrected code samples in Javadocs to match reality | |
8546 | * java/io/DataOutput | |
8547 | * java/io/ObjectInputValidation | |
8548 | Major documentation fixes - all Javadocs re-written or updated | |
8549 | ||
ce7e3936 MK |
8550 | 2003-04-06 Michael Koch <konqueror@gmx.de> |
8551 | ||
8552 | * java/net/URLConnection.java: | |
8553 | Import classes directly. | |
8554 | (URLConnection): Merged class documentation with classpath. | |
8555 | (url): Moved, documentation from classpath added. | |
8556 | (doInput): Moved, documentation from classpath added. | |
8557 | (doOutput): Moved, documentation from classpath added. | |
8558 | (allowUserInteraction): Moved. | |
8559 | (useCaches): Moved, documentation from classpath added. | |
8560 | (ifModifiedSince): Moved, documentation from classpath added. | |
8561 | (connected): Moved, documentation from classpath added. | |
8562 | ||
af5fcbd0 MK |
8563 | 2003-04-06 Michael Koch <konqueror@gmx.de> |
8564 | ||
8565 | * java/io/FileInputStream.java | |
8566 | (skip): Renamed some variables to match classpath, added | |
8567 | checks from classpath. | |
8568 | ||
8c1e9e34 MK |
8569 | 2003-03-31 Michael Koch <konqueror@gmx.de> |
8570 | ||
8571 | * javax/swing/AbstractAction.java | |
8572 | (AbstractAction): Reformatted. | |
8573 | (serialVersionUID): New private member variable. | |
8574 | * javax/swing/plaf/BorderUIResource.java | |
8575 | (serialVersionUID): New private member variable. | |
8576 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
8577 | (serialVersionUID): New private member variable. | |
8578 | ||
75160ca7 MK |
8579 | 2003-03-31 Michael Koch <konqueror@gmx.de> |
8580 | ||
8581 | * java/sql/Date.java | |
8582 | (valueOf): Deprecated, reformatted. | |
8583 | (toString): Deprecated, reformatted. | |
8584 | * java/sql/Time.java | |
8585 | (valueOf): Deprecated, reformatted. | |
8586 | (toString): Deprecated, reformatted. | |
8587 | ||
aa7f7531 MK |
8588 | 2003-03-31 Michael Koch <konqueror@gmx.de> |
8589 | ||
8590 | * java/rmi/dgc/VMID.java | |
8591 | (isUnique): Deprecated. | |
8592 | ||
da557ab8 MK |
8593 | 2003-03-31 Michael Koch <konqueror@gmx.de> |
8594 | ||
8595 | * java/io/File.java | |
8596 | (separator): Merged documentation from classpath. | |
8597 | (separatorChar): Merged documentation from classpath. | |
8598 | (pathSeparator): Merged documentation from classpath. | |
8599 | (pathSeparatorChar): Merged documentation from classpath. | |
8600 | (path): Merged documentation from classpath. | |
8601 | (canRead): Merged documentation from classpath. | |
8602 | (canWrite): Merged documentation from classpath. | |
8603 | (createNewFile): Merged documentation from classpath. | |
8604 | (delete): Merged documentation from classpath. | |
8605 | (equals): Merged documentation from classpath. | |
8606 | (exists): Merged documentation from classpath. | |
8607 | (File): Renamed p to name to match classpath, merged documentation | |
8608 | from classpath. | |
8609 | (getAbsolutePath): Merged documentation from classpath. | |
8610 | (getCanonicalPath): Merged documentation from classpath. | |
8611 | (getCanonicalFile): Merged documentation from classpath. | |
8612 | (getName): Merged documentation from classpath. | |
8613 | (getParent): Merged documentation from classpath. | |
8614 | (getParentFile): Merged documentation from classpath. | |
8615 | (getPath): Merged documentation from classpath. | |
8616 | (hashCode): Merged documentation from classpath. | |
8617 | (isAbsolute): Merged documentation from classpath. | |
8618 | (isDirectory): Merged documentation from classpath. | |
8619 | (isFile): Merged documentation from classpath. | |
8620 | (isHidden): Merged documentation from classpath. | |
8621 | (lastModified): Merged documentation from classpath. | |
8622 | (length): Merged documentation from classpath. | |
8623 | (list): Merged documentation from classpath. | |
8624 | (listFiles): Merged documentation from classpath. | |
8625 | (toString): Merged documentation from classpath. | |
8626 | (toURL): Merged documentation from classpath. | |
8627 | (mkdir): Merged documentation from classpath. | |
8628 | (mkdirs): Merged documentation from classpath. | |
8629 | (createTempFile): Merged documentation from classpath. | |
8630 | (setReadOnly): Merged documentation from classpath. | |
8631 | (listRoots): Merged documentation from classpath. | |
8632 | (compareTo): Merged documentation from classpath. | |
8633 | (renameTo): Merged documentation from classpath. | |
8634 | (setLastModified): Merged documentation from classpath. | |
8635 | * java/io/PrintStream.java | |
8636 | (auto_flush): Merged documentation from classpath. | |
8637 | (PrintStream): Merged documentation from classpath. | |
8638 | (checkError): Merged documentation from classpath. | |
8639 | (setError): Merged documentation from classpath. | |
8640 | (close): Merged documentation from classpath. | |
8641 | (flush): Merged documentation from classpath. | |
8642 | (print): Merged documentation from classpath. | |
8643 | (println): Merged documentation from classpath. | |
8644 | (write): Renamed count to len to match classpath, | |
8645 | merged documentation from classpath. | |
8646 | * java/io/RandomAccessFile.java | |
8647 | (readShort): Merged documentation from classpath. | |
8648 | (readUnsignedByte): Merged documentation from classpath. | |
8649 | (readUnsignedShort): Merged documentation from classpath. | |
8650 | (readUTF): Merged documentation from classpath. | |
8651 | (seek): Reformatted, merged documentation from classpath. | |
8652 | (skipBytes): Renamed some variables to match classpath, reformatted, | |
8653 | merged documentation from classpath. | |
8654 | (write): Merged documentation from classpath. | |
8655 | (writeBoolean): Merged documentation from classpath. | |
8656 | (writeByte): Merged documentation from classpath. | |
8657 | (writeShort): Merged documentation from classpath. | |
8658 | (writeChar): Merged documentation from classpath. | |
8659 | (writeInt): Merged documentation from classpath. | |
8660 | (writeLong): Merged documentation from classpath. | |
8661 | (writeFloat): Merged documentation from classpath. | |
8662 | (writeDouble): Merged documentation from classpath. | |
8663 | (writeBytes): Merged documentation from classpath. | |
8664 | (writeChars): Merged documentation from classpath. | |
8665 | (writeUTF): Reformatted. | |
8666 | (getChannel): Reformatted. | |
8667 | ||
c32130d9 MK |
8668 | 2003-03-31 Michael Koch <konqueror@gmx.de> |
8669 | ||
8670 | * java/awt/font/TextAttribute.java | |
8671 | (readResolve): Throws java.io.InvalidObjectException. | |
8672 | ||
a1bda993 MK |
8673 | 2003-03-31 Michael Koch <konqueror@gmx.de> |
8674 | ||
8675 | * java/rmi/server/LoaderHandler.java | |
8676 | (loadClass): Deprecated. | |
8677 | (getSecurityContext): Deprecated. | |
8678 | * java/rmi/server/LogStream.java | |
8679 | (getDefaultStream): Deprecated. | |
8680 | (setDefaultStream): Deprecated. | |
8681 | (getOutputStream): Deprecated. | |
8682 | (setOutputStream): Deprecated. | |
8683 | (write): Deprecated. | |
8684 | (toString): Deprecated. | |
8685 | (parseLevel): Deprecated. | |
8686 | * java/rmi/server/Operation.java | |
8687 | (Operation): Deprecated. | |
8688 | (getOperation): Deprecated. | |
8689 | (toString): Deprecated. | |
8690 | * java/rmi/server/RemoteCall.java | |
8691 | (getOutputStream): Deprecated. | |
8692 | (releaseOutputStream): Deprecated. | |
8693 | (getInputStream): Deprecated. | |
8694 | (releaseInputStream): Deprecated. | |
8695 | (getResultStream): Deprecated. | |
8696 | (executeCall): Deprecated. | |
8697 | (done): Deprecated. | |
8698 | * java/rmi/server/RemoteRef.java | |
8699 | (invoke): Deprecated. | |
8700 | (newCall): Deprecated. | |
8701 | (done): Deprecated. | |
8702 | * java/rmi/server/RemoteStub.java | |
8703 | (setRef): Deprecated. | |
8704 | * java/rmi/server/Skeleton.java: | |
8705 | No need to import java.lang.Exception explicitly. | |
8706 | (dispatch): Deprecated. | |
8707 | (getOperations): Deprecated. | |
8708 | ||
60c98fd6 MK |
8709 | 2003-03-31 Michael Koch <konqueror@gmx.de> |
8710 | ||
8711 | * java/rmi/dgc/VMID.java, | |
8712 | java/rmi/registry/RegistryHandler.java, | |
8713 | java/rmi/server/LogStream.java, | |
8714 | java/rmi/server/Operation.java, | |
8715 | java/rmi/server/RemoteCall.java, | |
8716 | java/rmi/server/RemoteRef.java, | |
8717 | java/rmi/server/RemoteStub.java: | |
8718 | Reformatted. | |
8719 | ||
2ce0d0b0 MK |
8720 | 2003-03-31 Michael Koch <konqueror@gmx.de> |
8721 | ||
8722 | * javax/swing/AbstractCellEditor.java, | |
8723 | javax/swing/AbstractListModel.java, | |
8724 | javax/swing/ActionMap.java, | |
8725 | javax/swing/BorderFactory.java, | |
8726 | javax/swing/ButtonGroup.java, | |
8727 | javax/swing/DefaultBoundedRangeModel.java, | |
8728 | javax/swing/DefaultButtonModel.java, | |
8729 | javax/swing/DefaultCellEditor.java, | |
8730 | javax/swing/DefaultComboBoxModel.java, | |
8731 | javax/swing/DefaultDesktopManager.java, | |
8732 | javax/swing/DefaultListCellRenderer.java, | |
8733 | javax/swing/DefaultSingleSelectionModel.java, | |
8734 | javax/swing/InputMap.java, | |
8735 | javax/swing/JComponent.java, | |
8736 | javax/swing/JMenu.java, | |
8737 | javax/swing/JSlider.java, | |
8738 | javax/swing/KeyStroke.java, | |
8739 | javax/swing/OverlayLayout.java, | |
8740 | javax/swing/ScrollPaneLayout.java, | |
8741 | javax/swing/SizeRequirements.java, | |
8742 | javax/swing/UIManager.java, | |
8743 | javax/swing/ViewportLayout.java, | |
8744 | javax/swing/border/AbstractBorder.java, | |
8745 | javax/swing/colorchooser/DefaultColorSelectionModel.java, | |
8746 | javax/swing/event/EventListenerList.java, | |
8747 | javax/swing/table/AbstractTableModel.java, | |
8748 | javax/swing/table/DefaultTableCellRenderer.java, | |
8749 | javax/swing/table/DefaultTableColumnModel.java, | |
8750 | javax/swing/table/DefaultTableModel.java, | |
8751 | javax/swing/table/TableColumn.java, | |
8752 | javax/swing/text/StyledEditorKit.java, | |
8753 | javax/swing/tree/DefaultMutableTreeNode.java, | |
8754 | javax/swing/tree/DefaultTreeModel.java, | |
8755 | javax/swing/tree/DefaultTreeSelectionModel.java, | |
8756 | javax/swing/tree/TreePath.java, | |
8757 | javax/swing/undo/AbstractUndoableEdit.java, | |
8758 | javax/swing/undo/StateEdit.java, | |
8759 | javax/swing/undo/StateEditable.java, | |
8760 | javax/swing/undo/UndoableEditSupport.java: | |
8761 | Merges from classpath. | |
8762 | ||
6a8873a7 TT |
8763 | 2003-03-30 Tom Tromey <tromey@redhat.com> |
8764 | ||
6a76da08 TT |
8765 | * java/lang/String.java (data, boffset, count): Documented. |
8766 | (String(byte[],String)): Reformatted. | |
8767 | (String(byte[])): Likewise. | |
8768 | (lastIndexOf(int)): Likewise. | |
8769 | (lastIndexOf(String)): Likewise. | |
8770 | (substring(int)): Renamed argument to match Classpath. | |
8771 | (String(StringBuffer)): Don't share buffer if it is nearly empty. | |
8772 | ||
6a8873a7 TT |
8773 | * java/lang/String.java: Miscellaneous minor formatting changes |
8774 | to match Classpath more closely. | |
8775 | ||
7270451f EB |
8776 | 2003-03-29 Eric Blake <ebb9@email.byu.edu> |
8777 | Tom Tromey <tromey@redhat.com> | |
8778 | ||
8779 | * java/lang/natString.cc (hashCode): Use cachedHashCode. | |
8780 | (init()): Removed. | |
8781 | (charAt): Put index in exception. | |
8782 | (contentEquals): New method. | |
8783 | Include StringBuffer.h. | |
8784 | * java/lang/String.java (cachedHashCode): New field. | |
8785 | (String()): Follow classpath implementation. | |
8786 | (init()): Removed. | |
8787 | (contentEquals): Declare. | |
8788 | (subSequence): Don't declare IndexOutIfBoundsException in throws | |
8789 | clause. | |
8790 | (matches, replaceFirst, replaceAll, split): New methods from | |
8791 | Classpath. | |
8792 | ||
44fc3a6f TT |
8793 | 2003-03-29 Tom Tromey <tromey@redhat.com> |
8794 | ||
9ba99c63 TT |
8795 | * java/lang/String.java: Reordered to follow Classpath; merged in |
8796 | javadoc. | |
8797 | ||
20ba0464 TT |
8798 | * java/text/MessageFormat.java: Removed some whitespace. |
8799 | ||
8800 | * Makefile.in: Rebuilt. | |
8801 | * Makefile.am (awt_java_source_files): Added new files. | |
8802 | * gnu/javax/rmi/PortableServer.java, | |
8803 | gnu/javax/rmi/CORBA/DelegateFactory.java, | |
8804 | gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, | |
8805 | gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, | |
8806 | gnu/javax/rmi/CORBA/StubDelegateImpl.java, | |
8807 | gnu/javax/rmi/CORBA/UtilDelegateImpl.java, | |
8808 | gnu/javax/rmi/CORBA/ValueHandlerImpl.java, | |
8809 | javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java, | |
8810 | javax/rmi/PortableRemoteObject.java, | |
8811 | javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java, | |
8812 | javax/rmi/CORBA/PortableRemoteObjectDelegate.java, | |
8813 | javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java, | |
8814 | javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java, | |
8815 | javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java, | |
8816 | javax/rmi/CORBA/ValueHandler.java: New files from Classpath. | |
8817 | ||
44fc3a6f TT |
8818 | * java/lang/natClass.cc (newInstance): Put method name in |
8819 | exception. | |
8820 | (getConstructor): Likewise. | |
8821 | (getDeclaredConstructor): Likewise. | |
8822 | (getPrivateMethod): Likewise. | |
8823 | ||
4544c3f3 TT |
8824 | 2003-03-28 Tom Tromey <tromey@redhat.com> |
8825 | ||
8826 | * java/lang/reflect/Proxy.java: New version from Classpath. | |
8827 | * java/lang/Package.java: New version from Classpath. | |
8828 | ||
7d798969 UW |
8829 | 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com> |
8830 | ||
8831 | * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define. | |
8832 | * configure: Regenerate. | |
8833 | ||
01312d12 MK |
8834 | 2003-03-28 Michael Koch <konqueror@gmx.de> |
8835 | ||
8836 | * java/io/File.java: | |
8837 | Import needed classes instead of whole packages, merged class | |
8838 | documentation with classpath, moved constants and variables to top of | |
8839 | class. | |
8840 | * java/io/PrintStream.java: | |
8841 | Merged class documentation with classpath, moved constants and | |
8842 | variables to top of class. | |
8843 | * java/io/RandomAccessFile.java | |
8844 | (RandomAccessFile): Merged with classpath. | |
8845 | (read): Merged with classpath). | |
8846 | (read*): Reformatted. | |
8847 | ||
bcfaead0 MK |
8848 | 2003-03-28 Michael Koch <konqueror@gmx.de> |
8849 | ||
8850 | * java/io/FileDescriptor.java | |
8851 | (finalize): Throws Throwable, not IOException. | |
8852 | * java/io/ObjectOutputStream.java | |
8853 | (PutField.put): Doesnt throws anything. | |
8854 | ||
b3e4bb03 | 8855 | 200303-28 Michael Koch <konqueror@gmx.de> |
c54390c5 MK |
8856 | |
8857 | * java/io/FileOutputStream.java: | |
8858 | Merged class documentation and authors with classpath. | |
8859 | (FileOutputStream): Partly merged with classpath. | |
8860 | (write): Merged with classpath. | |
8861 | (getChannel): Make it synchronized instead of explicit block in this | |
8862 | method. | |
8863 | * java/io/RandomAccessFile.java: | |
8864 | Merged class documentation and authors with classpath. | |
8865 | ||
1c81e343 TT |
8866 | 2003-03-26 Tom Tromey <tromey@redhat.com> |
8867 | ||
8868 | * java/lang/natRuntime.cc (insertSystemProperties): Set | |
8869 | gnu.classpath.home.url. | |
8870 | * Makefile.in: Rebuilt. | |
8871 | * Makefile.am: Define LIBDIR. | |
8872 | ||
a62abb91 MK |
8873 | 2003-03-25 Michael Koch <konqueror@gmx.de> |
8874 | ||
8875 | * java/io/FileInputStream.java | |
8876 | (read): Renamed b to buf and off to offset. | |
8877 | * java/io/FileOutputStream.java | |
8878 | (ch): Documentation added. | |
8879 | (FileOutputStream): Documentation added. | |
8880 | (getFD): Documentation added. | |
8881 | (write): Documentation added. | |
8882 | (close): Documentation added. | |
8883 | (getChannel): Documentation added. | |
8884 | ||
950ebbea MK |
8885 | 2003-03-24 Michael Koch <konqueror@gmx.de> |
8886 | ||
8887 | * java/io/DataOutputStream.java | |
8888 | (write): Merged from classpath. | |
8889 | * java/io/File.java: | |
8890 | Merged copyrigth with classpath. | |
8891 | * java/io/FileInputStream.java | |
8892 | (getChannel): Made it synchronized instead of using a synchronized | |
8893 | block. | |
8894 | * java/io/FileOutputStream.java: Reformatted. | |
8895 | * java/io/InputStreamReader.java | |
8896 | (InputStreamReader): Renamed enc to encoding_name. | |
8897 | (close): Merged documentation from classpath. | |
8898 | (getEncoding): Merged documentation from classpath. | |
8899 | (ready): Merged documentation from classpath. | |
8900 | (read): Merged documentation from classpath. | |
8901 | * java/io/LineNumberReader.java | |
8902 | (lineNumber): Made it private. | |
8903 | (LineNumberReader): Use Constant instead of a direct value. | |
8904 | * java/io/OutputStreamWriter.java | |
8905 | (OutputStreamWriter): Renamed enc to encoding_scheme, merged | |
8906 | documentation from classpath. | |
8907 | (close): Merged documentation from classpath. | |
8908 | (flush): Merged documentation from classpath. | |
8909 | (write): Merged documentation from classpath. | |
8910 | * java/io/PrintStream.java: Reformatted. | |
8911 | ||
fba5a74a MK |
8912 | 2003-03-24 Michael Koch <konqueror@gmx.de> |
8913 | ||
8914 | * javax/swing/text/ComponentView.java | |
8915 | (getComponent): Must be final. | |
8916 | * javax/swing/tree/DefaultTreeCellRenderer.java: | |
8917 | Reformatted. | |
8918 | * javax/swing/undo/StateEditable.java: | |
8919 | Reformatted. | |
8920 | ||
3bc8a4e3 MK |
8921 | 2003-03-24 Michael Koch <konqueror@gmx.de> |
8922 | ||
8923 | * java/rmi/activation/ActivationInstantiator.java: | |
8924 | Reformatted. | |
8925 | * java/rmi/activation/Activator.java: | |
8926 | Reformatted. | |
8927 | * java/rmi/registry/RegistryHandler.java: | |
8928 | Remerged from classpath. | |
8929 | ||
1ab1cf4e MK |
8930 | 2003-03-24 Michael Koch <konqueror@gmx.de> |
8931 | ||
8932 | * java/util/Date.java: | |
8933 | Fixed documentation starting tag to make javadoc happy. | |
8934 | * java/util/regex/Pattern.java | |
8935 | (Pattern): Implements Serializable. | |
8936 | * java/util/PatternSyntaxException.java | |
8937 | (serialVersionUID): New member variable. | |
8938 | ||
050d3e13 MK |
8939 | 2003-03-24 Michael Koch <koqnueror@gmx.de> |
8940 | ||
8941 | * java/awt/ContainerOrderFocusTraversalPolicy.java | |
8942 | (getFirstComponent): Implemented. | |
8943 | (getLastComponent): Implemented. | |
8944 | (getDefaultComponent): Implemented. | |
8945 | (setImplicitDownCycleTraversal): Fixed implementation. | |
8946 | * java/awt/Robot.java | |
8947 | (Robot): Added documentation. | |
8948 | * java/awt/Toolkit.java | |
8949 | (getFontList): Deprecated. | |
8950 | (getFontMetrics): Deprecated. | |
8951 | (getPrintJob): Added documentation. | |
8952 | (getSystemSelection): Added documentation. | |
8953 | (getLockingKeyState): Added documentation. | |
8954 | (setLockingKeyState): Added documentation. | |
8955 | (createCustomCursor): Added documentation. | |
8956 | (getBestCursorSize): Added documentation. | |
8957 | (getMaximumCursorColors): Added documentation. | |
8958 | (isFrameStateSupported): Added documentation. | |
8959 | ||
7e7ed852 MK |
8960 | 2003-03-24 Michael Koch <konqueror@gmx.de> |
8961 | ||
8962 | * java/io/RandomAccessFile.java: | |
3d6431d7 | 8963 | More little merges with classpath. No code changes. |
7e7ed852 | 8964 | |
24a3f7ac MK |
8965 | 2003-03-24 Michael Koch <konqueror@gmx.de> |
8966 | ||
8967 | * java/net/natInetAddressNoNet.cc: | |
8968 | Include stddef.h. | |
8969 | * java/net/natPlainDatagramSocketImplNoNet.cc: | |
8970 | Fixed inlcude of java/net/DatagramPacket.h. | |
8971 | * java/net/natPlainSocketImplNoNet.cc: | |
8972 | Include some missing classes. | |
8973 | ||
5eec7c8c MK |
8974 | 2003-03-24 Michael Koch <konqueror@gmx.de> |
8975 | ||
8976 | * java/awt/dnd/DropTarget.java | |
8977 | (DropTargetAutoScroller): According to the online documentation, this | |
8978 | is protected, but in reality it is public. | |
8979 | * java/awt/dnd/DropTargetContext.java | |
8980 | (TransferableProxy): According to the online documentation, this | |
8981 | is protected, but in reality it is public. | |
8982 | ||
ffe4ebba MK |
8983 | 2003-03-24 Michael Koch <konqueror@gmx.de> |
8984 | ||
8985 | * java/io/DataInputStream.java | |
8986 | (): Wrapped documentation line. | |
8987 | (): Fixed @return tag. | |
8988 | * java/io/DataOutputStream.java | |
8989 | (written): Moved to top of class. | |
8990 | (all methods): Merged documentation from classpath. | |
8991 | * java/io/File.java: | |
8992 | Merged copyright year with classpath. | |
8993 | * java/io/FileInputStream.java | |
8994 | (all methods): Merged documentation from classpath. | |
8995 | * java/io/LineNumberReader.java | |
8996 | (getLineNumber): Fixed @return tag. | |
8997 | * java/io/ObjectInputStream.java. | |
8998 | Reformatted. | |
8999 | * java/io/ObjectOutputStream.java: | |
9000 | Reformatted, fixed some @see tags. | |
9001 | * java/io/OutputStreamWriter.java: | |
9002 | Deleted empty line. | |
9003 | * java/io/Writer.java: | |
9004 | Reformatted. | |
9005 | ||
228115ac MK |
9006 | 2003-03-24 Michael Koch <konqueror@gmx.de> |
9007 | ||
9008 | * java/awt/Frame.java | |
9009 | (DEFAULT_CURSOR): Fixed @deprecated tag. | |
9010 | (setCursor): Fixed @deprecated tag. | |
9011 | ||
99010ccb MK |
9012 | 2003-03-24 Michael Koch <konqueror@gmx.de> |
9013 | ||
9014 | * java/beans/beancontext/BeanContextEvent.java: | |
9015 | Reformated. | |
9016 | ||
ce1bb3bb EB |
9017 | 2003-03-23 Eric Blake <ebb9@email.byu.edu> |
9018 | ||
9019 | * java/lang/natStringBuffer.cc (regionMatches): New function. | |
9020 | * java/lang/String.java (count): Now package-private. | |
9021 | * java/lang/StringBuffer.java: Merged with Classpath. | |
9022 | ||
93b3986a MK |
9023 | 2003-03-23 Michael Koch <konqueror@gmx.de> |
9024 | ||
9025 | * java/io/BufferedOutputStream.java: | |
9026 | Reformated. | |
9027 | * java/io/BufferedReader.java: | |
9028 | Reformated. | |
9029 | * java/io/ByteArrayOutputStream.java | |
9030 | (size): Fixed @see tag. | |
9031 | * java/io/CharArrayWriter.java | |
9032 | (size): Fixed @see tag. | |
9033 | * java/io/DataInput.java: | |
9034 | Reformated. | |
9035 | * java/io/DataOutput.java: | |
9036 | Reformated. | |
9037 | * java/io/DataOutputStream.java: | |
9038 | Merged copyright years with classpath. | |
9039 | * java/io/Externalizable.java: | |
9040 | Reformated. | |
9041 | * java/io/FileFilter.java: | |
9042 | Reformated. | |
9043 | * java/io/FileInputStream.java: | |
9044 | Merged copyright years with classpath. | |
9045 | * java/io/FileOutputStream.java: | |
9046 | Merged copyright years with classpath. | |
9047 | * java/io/FilePermission.java | |
9048 | (FilePermission): Replaced @XXX with FIXME:. | |
9049 | * java/io/FileWriter.java: | |
9050 | Reformated. | |
9051 | * java/io/FilenameFilter.java: | |
9052 | Reformated. | |
9053 | * java/io/FilterInputStream.java: | |
9054 | Reformated. | |
9055 | * java/io/FilterOutputStream.java: | |
9056 | Reformated. | |
9057 | * java/io/FilterReader.java: | |
9058 | Reformated. | |
9059 | * java/io/FilterWriter.java: | |
9060 | Reformated. | |
9061 | * java/io/LineNumberInputStream.java | |
9062 | (LineNumberInputStream): Replaced @code with HTML tags to make javadoc | |
9063 | happy. | |
9064 | (getLineNumber): Fixed @return tag. | |
9065 | * java/io/ObjectInput.java: | |
9066 | Reformated. | |
9067 | * java/io/ObjectOutput.java: | |
9068 | Reformated. | |
9069 | * java/io/ObjectStreamClass.java: | |
9070 | Reformated. | |
9071 | * java/io/PrintStream.java: | |
9072 | Merged copyright years with classpath. | |
9073 | * java/io/PushbackReader.java | |
9074 | (PushbackReader): Replaced @code with @param. | |
9075 | * java/io/SerializablePermission.java: | |
9076 | Reformated. | |
9077 | * java/io/StreamTokenizer.java | |
9078 | (resetSyntax): Fixed @see tag. | |
9079 | ||
de32716c RH |
9080 | 2003-03-22 Richard Henderson <rth@redhat.com> |
9081 | ||
9082 | * sysdep/ia64/locks.h: Include ia64intrin.h. | |
9083 | (compare_and_swap): Use __sync_bool_compare_and_swap. | |
9084 | (compare_and_swap_release): Expose ar.ccv assignment. | |
9085 | ||
dcde9775 AT |
9086 | 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch> |
9087 | ||
9088 | * include/posix.h: Add suffix for darwin dynamic libraries. | |
9089 | ||
30b3f142 MK |
9090 | 2003-03-21 Michael Koch <konqueror@gmx.de> |
9091 | ||
9092 | * javax/swing/Action.java | |
9093 | (ACCELERATOR_KEY): New constant. | |
9094 | (ACTION_COMMAND_KEY): Likewise. | |
9095 | (MNEMONIC_KEY): Likewise. | |
9096 | * javax/swing/UnsupportedLookAndFeelException.java | |
9097 | (UnsupportedLookAndFeelException): Must be public. | |
9098 | * javax/swing/WindowConstants.java | |
9099 | (EXIT_ON_CLOSE): New constant. | |
9100 | * javax/swing/text/BadLocationException.java | |
9101 | (offset): New member variable. | |
9102 | (BadLocationException): New implementation, documentation added. | |
9103 | (offsetRequested): New method. | |
9104 | * javax/swing/text/Caret.java: | |
9105 | Reformated. | |
9106 | * javax/swing/text/Document.java: | |
9107 | Reformated. | |
9108 | ||
15596d40 MK |
9109 | 2003-03-21 Michael Koch <konqueror@gmx.de> |
9110 | ||
9111 | * java/rmi/activation/Activatable.java | |
9112 | (serialVersionUID): New member variable. | |
9113 | * java/rmi/activation/ActivationGroup.java | |
9114 | (serialVersionUID): New member variable. | |
9115 | * java/rmi/activation/ActivationGroupDesc.java | |
9116 | (serialVersionUID): New member variable. | |
9117 | * java/rmi/registry/Registry.java: | |
9118 | Reformated. | |
9119 | (Registry): Deprecated. | |
9120 | * java/rmi/server/LoaderHandler.java | |
9121 | Reformated. | |
9122 | (LoaderHandler): Deprecated. | |
9123 | * java/rmi/server/LogStream.java | |
9124 | Reformated. | |
9125 | (LogStream): Deprecated. | |
9126 | * java/rmi/server/Operation.java | |
9127 | (Operation): Deprecated. | |
9128 | * java/rmi/server/RMIFailureHandler.java: | |
9129 | Reformated. | |
9130 | * java/rmi/server/RMISocketFactory.java: | |
9131 | Reformated. | |
9132 | * java/rmi/server/RemoteCall.java | |
9133 | (RemoteCall): Deprecated. | |
9134 | * java/rmi/server/RemoteStub.java: | |
9135 | Reformated. | |
9136 | * java/rmi/server/Skeleton.java | |
9137 | Reformated. | |
9138 | (Skeleton): Deprecated. | |
9139 | ||
ae429eab MK |
9140 | 2003-03-21 Michael Koch <konqueror@gmx.de> |
9141 | ||
9142 | * java/io/LineNumberReader.java | |
9143 | (LineNumberReader): Merged documentation with classpath. | |
9144 | (getLineNumber): Likewise. | |
9145 | (setLineNumber): Likewise. | |
9146 | (mark): Likewise. | |
9147 | (reset): Likewise. | |
9148 | (read): Likewise. | |
9149 | (readLine): Likewise. | |
9150 | (skip): Likewise. | |
9151 | ||
025f5843 MK |
9152 | 2003-03-21 Michael Koch <konqueror@gmx.de> |
9153 | ||
9154 | * java/rmi/RMISecurityManager.java | |
9155 | (checkAccept): Removed. | |
9156 | (checkAccess): Likewise. | |
9157 | (checkAccess): Likewise. | |
9158 | (checkAwtEventQueueAccess): Likewise. | |
9159 | (checkConnect): Likewise. | |
9160 | (checkCreateClassLoader): Likewise. | |
9161 | (checkDelete): Likewise. | |
9162 | (checkExec): Likewise. | |
9163 | (checkExit): Likewise. | |
9164 | (checkLink): Likewise. | |
9165 | (checkListen): Likewise. | |
9166 | (checkMemberAccess): Likewise. | |
9167 | (checkMulticast): Likewise. | |
9168 | (checkPackageAccess): Likewise. | |
9169 | (checkPackageDefinition): Likewise. | |
9170 | (checkPermission): Likewise. | |
9171 | (checkPrintJobAccess): Likewise. | |
9172 | (checkPropertiesAccess): Likewise. | |
9173 | (checkPropertyAccess): Likewise. | |
9174 | (checkRead): Likewise. | |
9175 | (checkSecurityAccess): Likewise. | |
9176 | (checkSetFactory): Likewise. | |
9177 | (checkSystemClipboardAccess): Likewise. | |
9178 | (checkTopLevelWindow): Likewise. | |
9179 | (checkWrite): Likewise. | |
9180 | ||
54c99af1 MK |
9181 | 2003-03-20 Michael Koch <konqueror@gmx.de> |
9182 | ||
9183 | * gnu/java/nio/FileChannelImpl.java | |
9184 | (address): Removed. | |
9185 | (map_address): New member variable. | |
9186 | (length): Make it package private. | |
9187 | (fd): Make it package private. | |
9188 | (buf): Make it package private. | |
9189 | (file_obj): Make it package private. | |
9190 | (FileChannelImpl): New constructor. | |
9191 | (nio_mmap_file): Use RawData instead of long. | |
9192 | (nio_munmap_file): Use RawData instead of long. | |
9193 | (nio_msync): Use RawData instead of long. | |
9194 | (implCloseChannel): New implementation using map_address. | |
9195 | (read): Reformated. | |
9196 | (map): Implemented. | |
9197 | (create_direct_mapped_buffer): Implemented, use RawData, throws | |
9198 | IOException. | |
9199 | (force): Use map_address instead of address. | |
9200 | * gnu/java/nio/MappedByteFileBuffer.java | |
9201 | (address): Removed. | |
9202 | (map_address): New member variable. | |
9203 | (MappedByteFileBuffer): Use map_address instead of address, reformated. | |
9204 | (several methods): Use map_address instead of address, replaced long | |
9205 | with RawData where appropriate. | |
9206 | * gnu/java/nio/natFileChannelImpl.cc | |
9207 | (nio_mmap_file): Replaced long with RawData. | |
9208 | (nio_munmap_file): Replaced long with RawData. | |
9209 | (nio_msync): Replaced long with RawData. | |
9210 | * gnu/java/nio/natMappedByteFileBuffer.cc | |
9211 | (several methods): Replaced long with RawData where appropriate. | |
9212 | ||
111a007d MK |
9213 | 2003-03-20 Michael Koch <konqueror@gmx.de> |
9214 | ||
9215 | * java/net/InetAddress.java, | |
9216 | java/net/JarURLConnection.java, | |
9217 | java/net/PlainDatagramSocketImpl.java, | |
9218 | java/net/PlainSocketImpl.java, | |
9219 | java/net/URLConnection.java: | |
9220 | Merged copyright statements with classpath for easier merging. | |
9221 | ||
10b33028 MK |
9222 | 2003-03-20 Michael Koch <konqueror@gmx.de> |
9223 | ||
9224 | * java/io/FileInputStream.java | |
9225 | (getChannel): New implementation. | |
9226 | * java/io/FileOutputStream.java | |
9227 | (ch): New member variable. | |
9228 | (getChannel): Implemented. | |
9229 | * java/io/RandomAccessFile.java | |
9230 | (RandomAccessFile): Throws FileNotFoundException instead of | |
9231 | IOException. | |
9232 | (getChannel): New method. | |
9233 | (ch): New member variable. | |
9234 | ||
04b3370b MK |
9235 | 2003-03-20 Michael Koch <konqueror@gmx.de> |
9236 | ||
9237 | * java/io/DataOutputStream.java, | |
9238 | java/io/File.java, | |
9239 | java/io/FileInputStream.java, | |
9240 | java/io/FileOutputStream.java, | |
9241 | java/io/InputStreamReader.java, | |
9242 | java/io/LineNumberReader.java, | |
9243 | java/io/OutputStreamWriter.java, | |
9244 | java/io/PrintStream.java, | |
9245 | java/io/RandomAccessFile.java: | |
9246 | Merged copyright statements with classpath for easier merging. | |
9247 | ||
a37f8219 MK |
9248 | 2003-03-19 Michael Koch <konqueror@gmx.de> |
9249 | ||
9250 | * java/lang/Process.java: | |
9251 | Merged from classpath. | |
9252 | ||
f6eb259f MK |
9253 | 2003-03-19 Michael Koch <konqueror@gmx.de> |
9254 | ||
9255 | * java/io/FileOutputStream.java | |
9256 | (FileOutputStream): New constructor, merged from classpath. | |
9257 | * java/io/FileWriter.java | |
9258 | (FileWriter): New constructor, merged from classpath. | |
9259 | ||
897db4af MK |
9260 | 2003-03-18 Michael Koch <konqueror@gmx.de> |
9261 | ||
9262 | * java/awt/ScrollPane.java | |
9263 | (ScrollPane): Rewrote for new ScrollPaneAdjustable. | |
9264 | (getViewportSize): Likewise. | |
9265 | (addNotify): Likewise. | |
9266 | (removeNotify): Likewise. | |
9267 | * java/awt/ScrollPaneAdjustable.java | |
9268 | (ScrollPaneAdjustable): No longer extends Scrollbar. | |
9269 | * java/beans/beancontext/BeanContextServices.java: | |
9270 | Reformated. | |
9271 | (getService): Added throws TooManyListenersException; | |
9272 | * java/beans/beancontext/BeanContextServicesSupport.java: | |
9273 | Reformated. | |
9274 | ||
fddab7dc MK |
9275 | 2003-03-18 Michael Koch <konqueror@gmx.de> |
9276 | ||
9277 | * java/io/BufferedOutputStream.java, | |
9278 | java/io/DataInput.java, | |
9279 | java/io/DataInputStream.java, | |
9280 | java/io/DataOutput.java, | |
9281 | java/io/Externalizable.java: | |
9282 | More merges from classpath. | |
9283 | ||
71a15b15 MK |
9284 | 2003-03-18 Michael Koch <konqueror@gmx.de> |
9285 | ||
9286 | * configure.in: Fixed links to platform dependant java.net files. | |
9287 | * configure: Regenerated. | |
9288 | * java/net/natInetAddress.cc, | |
9289 | java/net/natNetworkInterface.cc, | |
9290 | java/net/natPlainDatagramSocketImpl.cc, | |
9291 | java/net/natPlainSocketImpl.cc: | |
9292 | Removed. | |
9293 | ||
9b5f18b1 MK |
9294 | 2003-03-18 Michael Koch <konqueror@gmx.de> |
9295 | ||
9296 | * configure.in: Create links to architecture dependent files, | |
9297 | introduced PLATFORMNET variable (set to NoNet for newlib usage). | |
9298 | * configure: Regenerated. | |
9299 | * java/net/natInetAddressNoNet.cc, | |
9300 | java/net/natInetAddressPosix.cc, | |
9301 | java/net/natInetAddressWin32.cc, | |
9302 | java/net/natNetworkInterfaceNoNet.cc, | |
9303 | java/net/natNetworkInterfacePosix.cc, | |
9304 | java/net/natNetworkInterfaceWin32.cc, | |
9305 | java/net/natPlainDatagramSocketImplNoNet.cc, | |
9306 | java/net/natPlainDatagramSocketImplPosix.cc, | |
9307 | java/net/natPlainDatagramSocketImplWin32.cc, | |
9308 | java/net/natPlainSocketImplNoNet.cc, | |
9309 | java/net/natPlainSocketImplPosix.cc, | |
9310 | java/net/natPlainSocketImplWin32.cc: New files. | |
9311 | ||
f4f5d1d6 MK |
9312 | 2003-03-18 Michael Koch <konqueror@gmx.de> |
9313 | ||
9314 | * java/io/BufferedReader.java, | |
9315 | java/io/BufferedWriter.java, | |
9316 | java/io/ByteArrayOutputStream.java, | |
9317 | java/io/FileFilter.java, | |
9318 | java/io/FilePermission.java, | |
9319 | java/io/FileReader.java, | |
9320 | java/io/FileWriter.java, | |
9321 | java/io/FilenameFilter.java, | |
9322 | java/io/FilterInputStream.java, | |
9323 | java/io/FilterOutputStream.java, | |
9324 | java/io/FilterReader.java, | |
9325 | java/io/FilterWriter.java, | |
9326 | java/io/ObjectInput.java, | |
9327 | java/io/ObjectInputValidation.java, | |
9328 | java/io/ObjectOutput.java, | |
9329 | java/io/ObjectStreamField.java, | |
9330 | java/io/PipedInputStream.java, | |
9331 | java/io/PipedReader.java, | |
9332 | java/io/PrintWriter.java, | |
9333 | java/io/PushbackReader.java, | |
9334 | java/io/Reader.java, | |
9335 | java/io/SerializablePermission.java, | |
9336 | java/io/StringReader.java, | |
9337 | java/io/Writer.java: | |
9338 | Merged from classpath. | |
9339 | ||
1f43de92 MK |
9340 | 2003-03-17 Michael Koch <konqueror@gmx.de> |
9341 | ||
9342 | * java/awt/ScrollPaneAdjustable.java: | |
9343 | Compile fixes. | |
9344 | ||
f1b62339 MK |
9345 | 2003-03-17 Michael Koch <konqueror@gmx.de> |
9346 | ||
9347 | * java/net/DatagramSocket.java | |
9348 | (connect): Fixed comment. | |
9349 | * java/nio/ByteBuffer.java | |
9350 | (hasArray): Fixed comment. | |
9351 | ||
6d047468 MK |
9352 | 2003-03-17 Michael Koch <konqueror@gmx.de> |
9353 | ||
9354 | * java/beans/Beans.java: | |
9355 | Explicitely import classes not packages. | |
9356 | * java/beans/FeatureDescriptor.java | |
9357 | (preferred): New member variable. | |
9358 | (isPreferred): New method. | |
9359 | (setPreferred): New method. | |
9360 | * java/beans/PropertyEditorManager.java: | |
9361 | Explicitely import used classes. | |
9362 | * java/beans/beancontext/BeanContextChild.java: | |
9363 | Added line wrapping. | |
9364 | * java/beans/beancontext/BeanContextChildSupport.java: | |
9365 | Reindented. | |
9366 | * java/beans/beancontext/BeanContextEvent.java: | |
9367 | Reindented. | |
9368 | ||
2ff04cc6 MK |
9369 | 2003-03-17 Michael Koch <konqueror@gmx.de> |
9370 | ||
9371 | * java/awt/Dialog.java | |
9372 | (Dialog): New constructor, changed implementations, added | |
9373 | documentation. | |
9374 | * java/awt/ScrollPaneAdjustable.java | |
9375 | (ScrollPaneAdjustable): Extends Object, implements Adjustable and | |
9376 | Serializable. | |
9377 | (serialVersionUID): New member variable. | |
9378 | (sp): New member variable. | |
9379 | (orientation): New member variable. | |
9380 | (value): New member variable. | |
9381 | (minimum): New member variable. | |
9382 | (maximum): New member variable. | |
9383 | (visibleAmount): New member variable. | |
9384 | (unitIncrement): New member variable. | |
9385 | (blockIncrement): New member variable. | |
9386 | (AdjustmentListener): New member variable. | |
9387 | (ScrollPaneAdjustable): New implementation. | |
9388 | (addAdjustmentListener): New method. | |
9389 | (removeAdjustmentListener): New method. | |
9390 | (getAdjustmentListeners): New method. | |
9391 | (getBlockIncrement): New method. | |
9392 | (getMaximum): New method. | |
9393 | (getMinimum): New method. | |
9394 | (getOrientation): New method. | |
9395 | (getUnitIncrement): New method. | |
9396 | (getValue): New method. | |
9397 | (getVisibleAmount): New method. | |
9398 | (setBlockIncrement): New method. | |
9399 | (setMaximum): Implemented. | |
9400 | (setMinimum): Implemented. | |
9401 | (setUnitIncrement): New method. | |
9402 | (setValue): New method. | |
9403 | (setVisibleAmount): Implemented. | |
9404 | (paramString): New stubbed method. | |
9405 | * java/awt/Window.java | |
9406 | (show): Call setVisible(). | |
9407 | (hide): Call setVisible(). | |
9408 | (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS | |
9409 | and WINDOW_STATE_CHANGED. | |
9410 | (processWindowFocusEvent): New method. | |
9411 | (processWindowStateEvent): New method. | |
9412 | (postEvent): Deprecated. | |
9413 | (applyResourceBundle): Deprecated. | |
9414 | * java/awt/datatransfer/DataFlavor.java | |
9415 | (DataFlavor): Doesn't thow ClassNotFoundException. | |
9416 | ||
90310c23 MK |
9417 | 2003-03-17 Michael Koch |
9418 | ||
9419 | * javax/print/attribute/Attribute.java, | |
9420 | javax/print/attribute/AttributeSet.java, | |
9421 | javax/print/attribute/PrintRequestAttributeSet.java: | |
9422 | New files. | |
9423 | * Makefile.am | |
9424 | (javax_source_files): Added new files: | |
9425 | javax/print/attribute/Attribute.java | |
9426 | javax/print/attribute/AttributeSet.java | |
9427 | javax/print/attribute/PrintRequestAttributeSet.java | |
9428 | * Makefile.in: Regenerated. | |
9429 | ||
6e827a37 MK |
9430 | 2003-03-17 Michael Koch |
9431 | ||
9432 | * javax/print/attribute/Attribute.java, | |
9433 | javax/print/attribute/AttributeSet.java, | |
9434 | javax/print/attribute/PrintRequestAttributeSet.java: | |
9435 | New files. | |
9436 | * Makefile.am | |
9437 | (awt_java_source_files): Added new files: | |
9438 | javax/print/attribute/Attribute.java | |
9439 | javax/print/attribute/AttributeSet.java | |
9440 | javax/print/attribute/PrintRequestAttributeSet.java | |
9441 | * Makefile.in: Regenerated. | |
9442 | ||
2b7f1f8f TT |
9443 | 2003-03-16 Tom Tromey <tromey@redhat.com> |
9444 | ||
9445 | * resolve.cc (ncode): Use _Jv_platform_ffi_abi. | |
9446 | Include platform.h. | |
9447 | * java/lang/natRuntime.cc (insertSystemProperties): Use | |
9448 | _Jv_platform_path_separator. | |
9449 | (nativeGetLibname): Use _Jv_platform_file_separator. | |
9450 | (_load): Use _Jv_platform_onload_names. | |
9451 | (onload_names): New global. | |
9452 | * include/win32.h (_Jv_platform_file_separator): New define. | |
9453 | (_Jv_platform_path_separator): Likewise. | |
9454 | (_Jv_platform_onload_names): Likewise. | |
9455 | (_Jv_platform_ffi_abi): Likewise. | |
9456 | * include/posix.h (_Jv_platform_file_separator): New define. | |
9457 | (_Jv_platform_path_separator): Likewise. | |
9458 | (_Jv_platform_onload_names): Likewise. | |
9459 | (_Jv_platform_ffi_abi): Likewise. | |
9460 | ||
adf936a6 HB |
9461 | 2003-03-14 Hans Boehm <Hans.Boehm@hp.com> |
9462 | ||
9463 | * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &. | |
9464 | ||
70e2e8dc JF |
9465 | 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl> |
9466 | ||
9467 | * java/io/ObjectInputStream.java (readObject): Cleaned up the class | |
9468 | hierarchy loop. | |
9469 | (readFields(Object,ObjectStreamField[],boolean)): Changed argument | |
9470 | list to Object,ObjectStreamClass, moved callReadMethod code up into | |
9471 | readObject and added Class argument to all setXxxField calls. | |
9472 | (callReadMethod): Changed Class argument to ObjectStreamClass to be | |
9473 | consistent with ObjectOutputStream and to facilitate caching the | |
9474 | Method in the future. | |
9475 | (setBooleanField): Added Class argument. | |
9476 | (setByteField): Likewise. | |
9477 | (setCharField): Likewise. | |
9478 | (setDoubleField): Likewise. | |
9479 | (setFloatField): Likewise. | |
9480 | (setIntField): Likewise. | |
9481 | (setLongField): Likewise. | |
9482 | (setShortField): Likewise. | |
9483 | (setObjectField): Likewise. | |
9484 | * java/io/ObjectOutputStream.java (writeObject): Cleaned up the | |
9485 | class hierarchy loop. | |
9486 | (defaultWriteObject): Call writeFields with new argument list. | |
9487 | (writeFields(Object,ObjectStreamField[],boolean): Changed argument | |
9488 | list to Object,ObjectStreamClass, moved callWriteMethod up into | |
9489 | writeObject and added Class argument to all getXxxField calls. | |
9490 | (callWriteMethod): Added ObjectStreamClass argument to be able to | |
9491 | get the proper class to call getMethod on (each class can have (or | |
9492 | not have) its own writeObject method). | |
9493 | (getBooleanField): Added Class argument. | |
9494 | (getByteField): Likewise. | |
9495 | (getCharField): Likewise. | |
9496 | (getDoubleField): Likewise. | |
9497 | (getFloatField): Likewise. | |
9498 | (getIntField): Likewise. | |
9499 | (getLongField): Likewise. | |
9500 | (getShortField): Likewise. | |
9501 | (getObjectField): Likewise. | |
9502 | * java/io/ObjectStreamClass.java (hasReadMethod): Added method to | |
9503 | facilitate caching the Method object in the future. | |
9504 | ||
ff8b9ca8 AS |
9505 | 2003-03-12 Andreas Schwab <schwab@suse.de> |
9506 | ||
9507 | * configure.in: Avoid trailing /. in toolexeclibdir. | |
9508 | * configure: Rebuilt. | |
9509 | ||
b772d2f5 MK |
9510 | 2003-03-11 Michael Koch <konqueror@gmx.de> |
9511 | ||
9512 | * gnu/java/nio/ByteBufferImpl.java | |
9513 | (putInt): Use limit() instead of limit. | |
9514 | * gnu/java/nio/CharBufferImpl.java | |
9515 | (slice): Fixed implementation. | |
9516 | (subSequence): Better bounds checking. | |
9517 | * gnu/java/nio/MappedByteFileBuffer.java: | |
9518 | Import all needed classes directly. | |
9519 | * java/nio/ByteBuffer.java | |
9520 | (hashCode): New dummy method. | |
9521 | * java/nio/CharBuffer.java | |
9522 | (array_offset): New member variable. | |
9523 | (hasArray): Fixed documentation. | |
9524 | (arrayOffset): Return array_offset. | |
9525 | ||
c068c638 AH |
9526 | 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com> |
9527 | ||
9528 | * include/jvm.h: removed declaration of _Jv_ThisExecutable() | |
9529 | setter; made return value of getter const char* instead of char* | |
9530 | * prims.cc: removed all references to _Jv_ThisExecutable(). | |
9531 | These are in the platform-specific sections now. | |
9532 | * posix.cc: define platform-specific _Jv_ThisExecutable(). | |
9533 | Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases | |
9534 | * win32.cc: define platform-specific _Jv_ThisExecutable() | |
9535 | using GetModuleFilename() | |
9536 | * java/lang/natRuntime.cc: set gnu.gcj.progname property | |
9537 | to argv[0] instead of _Jv_ThisExecutable() | |
9538 | ||
9539 | 2003-03-10 Ranjit Mathew <rmathew@hotmail.com> | |
9540 | ||
9541 | * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag | |
9542 | that is set if we are using addr2name.awk instead of addr2line. | |
9543 | (NameFinder): Set usingAddr2name if using addr2name.awk. | |
9544 | (getExternalLabel): New native method to convert a method | |
9545 | name to an external label. | |
9546 | (lookup): Convert name given by addr2line to an external label | |
9547 | before demangling. | |
9548 | ||
9549 | * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string | |
9550 | constant representing the prefix attached to method names to | |
9551 | convert them to an external label. | |
9552 | (gnu::gcj::runtime::NameFinder::getExternalLabel): Define | |
9553 | using LABEL_PREFIX. | |
9554 | ||
c94432c5 TT |
9555 | 2003-03-10 Tom Tromey <tromey@redhat.com> |
9556 | ||
9557 | * Makefile.in: Rebuilt. | |
9558 | * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated. | |
9559 | (JC1FLAGS): Removed -Wno-deprecated. | |
9560 | ||
2e65e47e MK |
9561 | 2003-03-10 Michael Koch <konqueror@gmx.de> |
9562 | ||
9563 | * java/nio/ByteOrder.java | |
9564 | (nativeOrder): Working implementation, added documentation. | |
9565 | (toString): Added documentation. | |
9566 | ||
1f5f81da MK |
9567 | 2003-03-10 Michael Koch <konqueror@gmx.de> |
9568 | ||
9569 | * java/net/DatagramSocket.java, | |
9570 | java/net/MulticastSocket.java, | |
9571 | java/net/Socket.java, | |
9572 | java/net/URL.java, | |
9573 | java/net/URLConnection.java: | |
9574 | Fixed some documentation tags to make javadoc and friends happy. | |
9575 | ||
4c5154c0 MK |
9576 | 2003-03-10 Michael Koch <koqnueror@gmx.de> |
9577 | ||
9578 | * java/beans/beancontext/BeanContextServicesSupport.java, | |
9579 | java/beans/beancontext/BeanContextSupport.java: New files. | |
9580 | * Makefile.am | |
9581 | (awt_source_files): Added new files. | |
9582 | * Makefile.in: Regenerated. | |
9583 | ||
76c16dd4 MK |
9584 | 2003-03-10 Michael Koch <konqueror@gmx.de> |
9585 | ||
9586 | * java/awt/FocusTraversalPolicy.java | |
9587 | (FocusTraversalPolicy): Documentation added. | |
9588 | (getComponentAfter): Documentation added. | |
9589 | (getComponentBefore): Documentation added. | |
9590 | (getFirstComponent): Documentation added. | |
9591 | (getLastComponent): Documentation added. | |
9592 | (getDefaultComponent): Documentation added. | |
9593 | (getInitialComponent): Documentation added. | |
9594 | * java/awt/ScrollPaneAdjustable.java | |
9595 | (sp): New member variable. | |
9596 | (orientation): New member variable. | |
9597 | (value): New member variable. | |
9598 | (minimum): New member variable. | |
9599 | (maximum): New member variable. | |
9600 | (visibleAmount): New member variable. | |
9601 | (unitIncrement): New member variable. | |
9602 | (blockIncrement): New member variable. | |
9603 | (adjustmentListener): New member variable. | |
9604 | (ScrollPaneAdjustable): Rewrote. | |
9605 | (addAdjustmentListener): New method. | |
9606 | (removeAdjustmentListener): New method. | |
9607 | (getAdjustmentListeners): New method. | |
9608 | (getBlockIncrement): New method. | |
9609 | (getMaximum): New method. | |
9610 | (getMinimum): New method. | |
9611 | (getOrientation): New method. | |
9612 | (getUnitIncrement): New method. | |
9613 | (getValue): New method. | |
9614 | (getVisibleAmount): New method. | |
9615 | (setBlockIncrement): New method. | |
9616 | (setUnitIncrement): New method. | |
9617 | (setMaximum): Implemented. | |
9618 | (setMinimum): Implemented. | |
9619 | (setValue): New method. | |
9620 | (setVisibleAmount): Implemented. | |
9621 | (paramString): New method. | |
9622 | * java/awt/Window.java | |
9623 | (show): Use setVisible(true) instead of super.show(). | |
9624 | (hide): Use sevVisible(false) instead of super.hide(). | |
9625 | (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS, | |
9626 | WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED. | |
9627 | (postEvent): Deprecated. | |
9628 | (applyResourceBundle): Deprecated. | |
9629 | (processWindowFocusEvent): New method. | |
9630 | (processWindowStateEvent): New method. | |
9631 | * java/awt/datatransfer/DataFlavor.java: Reindented. | |
9632 | * java/awt/font/TextHitInfo.java | |
9633 | (charIndex): New member variable. | |
9634 | (leadingEdge): New member variable. | |
9635 | (TextHitInfo): New constructor. | |
9636 | (getCharIndex): Implemented. | |
9637 | (isLeadingEdge): Implemented. | |
9638 | (getInsertionIndex): Implemented. | |
9639 | (hashCode): Access charIndex directly. | |
9640 | (equals): Reformated. | |
9641 | (leading): Implemented. | |
9642 | (trailing): Implemented. | |
9643 | (beforeOffset): Implemented. | |
9644 | (afterOffset): Implemented. | |
9645 | (getOtherHit): Implemented. | |
9646 | (getOffsetHit): Implemented. | |
9647 | (toString): Implemented. | |
9648 | * java/awt/image/BufferedImage.java | |
9649 | (BufferedImage): Implements WritableRenderedImage. | |
9650 | (observers): New member variable. | |
9651 | (addTileObserver): New method. | |
9652 | (removeTileObserver): New method. | |
9653 | ||
5e18b3d6 TT |
9654 | 2003-03-09 Tom Tromey <tromey@redhat.com> |
9655 | ||
9656 | PR libgcj/9934: | |
9657 | * java/io/natFileDescriptorPosix.cc (available): Fixed arguments | |
9658 | to lseek. Return 0 if we can't compute the value. | |
9659 | ||
9b23f09d MK |
9660 | 2003-03-03 Michael Koch <konqueror@gmx.de> |
9661 | ||
9662 | * java/net/NetworkInterface.java: Merged with classpath. | |
9663 | ||
9b94c8d1 TT |
9664 | 2003-03-03 Tom Tromey <tromey@redhat.com> |
9665 | ||
9666 | * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end | |
9667 | of bytecode. | |
9668 | (handle_ret_insn): Fail if returning to jsr that appears at end of | |
9669 | bytecode. | |
9670 | ||
0d4de51d MK |
9671 | 2003-03-03 Michael Koch <konqueror@gmx.de> |
9672 | ||
9673 | * Makefile.am | |
9674 | (ordinary_java_source_files): | |
9675 | Added gnu/java/nio/MappedByteFileBuffer.java. | |
9676 | (nat_source_files): | |
9677 | Added gnu/java/nio/natMappedByteFileBuffer.cc. | |
9678 | * Makefile.in: Regenerated. | |
9679 | ||
6579ac0c MK |
9680 | 2003-03-03 Michael Koch <konqueror@gmx.de> |
9681 | ||
9682 | * java/net/DatagramSocket.java | |
9683 | (connect): Merged comment from classpath. | |
9684 | (receive): Merged documentation from classpath. | |
9685 | * java/net/Socket.java | |
9686 | (setSoTimeout): Clarified documentation. | |
9687 | * java/net/URL.java | |
9688 | (getPath): Merged from classpath. | |
9689 | (getUserInfo): Merged from classpath. | |
9690 | (getQuery): Merged from classpath. | |
9691 | * java/net/URLStreamHandler.java | |
9692 | (toExternalForm): Merged from classpath. | |
9693 | ||
bd3f5371 MW |
9694 | 2003-03-02 Mark Wielaard <mark@klomp.org> |
9695 | ||
9696 | * java/util/Properties.java (load): Only skip line if the first | |
9697 | character is a comment, whitespaces don't count. | |
9698 | ||
e863ea99 MK |
9699 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9700 | ||
9701 | * java/net/NetPermission.java: | |
9702 | Merged copyright with classpath. | |
9703 | ||
40590c52 MK |
9704 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9705 | ||
9706 | * java/lang/Package.java: | |
9707 | Remerged from classpath. | |
9708 | ||
68dfecb3 MK |
9709 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9710 | ||
9711 | * java/net/HttpURLConnection.java | |
9712 | (HTTP_SERVER_ERROR): Deprecated. | |
9713 | * java/net/MulticastSocket.java | |
9714 | (send): Replaced checkMulticast with appropriate checkPermission call, | |
9715 | deprecated. | |
9716 | * java/net/URLDecoder.java | |
9717 | (decode): Deprecated. | |
9718 | * java/net/URLEncoder.java | |
9719 | (encode): Deprecated. | |
9720 | ||
92d53a9a MK |
9721 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9722 | ||
9723 | * javax/swing/text/Caret.java | |
9724 | (getMagicCaretPosition): Fixed typo in method name. | |
9725 | * javax/swing/text/DefaultCaret.java | |
9726 | (getMagicCaretPosition): Fixed typo in method name. | |
9727 | ||
98461c58 MK |
9728 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9729 | ||
9730 | * java/awt/List.java | |
9731 | (setMultipleSelections): Deprecated. | |
9732 | (delItem): Deprecated. | |
9733 | * java/awt/MenuComponent.java | |
9734 | (getPeer): Deprecated. | |
9735 | * java/awt/ScrollPane.java | |
9736 | (addNotify): getPeer() is deprecated. Use isDisplayable() instead. | |
9737 | * java/awt/dnd/MouseDragGestureRecognizer.java | |
9738 | (mouseClicked): Added comment. | |
9739 | (mousePressed): Added comment. | |
9740 | (mouseReleased): Added comment. | |
9741 | (mouseEntered): Added comment. | |
9742 | (mouseExited): Added comment. | |
9743 | (mouseDragged): Added comment. | |
9744 | (mouseMoved): Added comment. | |
9745 | * java/awt/event/KeyEvent.java | |
9746 | (KeyEvent): Deprecated. | |
9747 | (setModifiers): Deprecated. | |
9748 | ||
a339cb5b MK |
9749 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9750 | ||
9751 | * gnu/java/nio/FileChannelImpl.java | |
9752 | (fd): Type FileDescriptor instead of int. | |
9753 | (lengthInternal): Removed. | |
9754 | (FileChannelImpl): Fixed arguments, check type of file object. | |
9755 | (size): Made it native. | |
9756 | (implPosition): New native method. | |
9757 | (implTruncate): New native method. | |
9758 | (position): Implemented. | |
9759 | (truncate): Implemented. | |
9760 | (nio_mmap_file): Changed arguments. | |
9761 | (nio_munmap_file): Changed arguments. | |
9762 | (nio_msync): Changed arguments. | |
9763 | * gnu/java/nio/natFileChannelImpl.cc | |
9764 | (lengthInternal): Removed. | |
9765 | (size): New method. | |
9766 | (implPosition): New method. | |
9767 | (implTruncate): New method. | |
9768 | (nio_mmap_file): Changed arguments. | |
9769 | (nio_munmap_file): Changed arguments. | |
9770 | (nio_msync): Changed arguments. | |
9771 | ||
05eb3436 MK |
9772 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9773 | ||
9774 | * java/awt/dnd/DropTargetContext.java: | |
9775 | Compile fix: Forgot to commit import. | |
9776 | ||
0c0be334 MK |
9777 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9778 | ||
9779 | * java/awt/Component.java, | |
9780 | java/awt/ScrollPane.java: | |
9781 | Fixed typos. | |
9782 | ||
b4822ade MK |
9783 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9784 | ||
9785 | * java/awt/dnd/DnDEventMulticaster.java: New file. | |
9786 | * java/awt/dnd/DragSource.java | |
9787 | (flavorMap): New member variable. | |
9788 | (dragSourceListener): New member variable. | |
9789 | (dragSourceMotionListener): New member variable. | |
9790 | (getFlavorMap): Implemented. | |
9791 | (createDragGestureRecognizer): Implemented. | |
9792 | (addDragSourceListener): Implemented. | |
9793 | (removeDragSourceListener): Implemented. | |
9794 | (getDragSourceListeners): Implemented. | |
9795 | (addDragSourceMotionListener): Implemented. | |
9796 | (removeDragSourceMotionListener): Implemented. | |
9797 | (getDragSourceMotionListeners): Implemented. | |
9798 | (getListeners): Implemented. | |
9799 | * java/awt/dnd/DragSourceContext.java | |
9800 | (peer): New member variable. | |
9801 | (cursor): New member variable. | |
9802 | (transferable): New member variable. | |
9803 | (trigger): New member variable. | |
9804 | (dragSourceListener): New member variable. | |
9805 | (image): New member variable. | |
9806 | (offset): New member variable. | |
9807 | (DragSourceContext): Implemented. | |
9808 | (getDragSource): Implemented. | |
9809 | (getComponent): Implemented. | |
9810 | (getTrigger): Implemented. | |
9811 | (getSourceActions): Implemented. | |
9812 | (setCursor): Implemented. | |
9813 | (getCursor): Implemented. | |
9814 | (addDragSourceListener): Implemented. | |
9815 | (removeDragSourceListener): Implemented. | |
9816 | (getTransferable): Implemented. | |
9817 | * java/awt/dnd/DropTarget.java | |
9818 | (DropTargetAutoScroller.component): New member variable. | |
9819 | (DropTargetAutoScroller.point): New member variable. | |
9820 | (DropTargetAutoScroller.DropTargetAutoScroller): Implemented. | |
9821 | (DropTargetAutoScroller.updateLocation): Implemented. | |
9822 | (active): Renamed from isActive, defaults to true now. | |
9823 | (component): New member variable. | |
9824 | (flavorMap): New member variable. | |
9825 | (actions): New member variable. | |
9826 | (dropTargetContext): New member variable. | |
9827 | (dropTargetListener): New member variable. | |
9828 | (DropTarget): Implemented. | |
9829 | (getComponent): Implemented. | |
9830 | (setComponent): Implemented. | |
9831 | (setDefaultActions): Implemented. | |
9832 | (getDefaultActions): Implemented. | |
9833 | (setActive): Use active instead of isActive. | |
9834 | (isActive): Use active instead of isActive. | |
9835 | (addDropTargetListener): Implemented. | |
9836 | (removeDropTargetListener): Implemented. | |
9837 | (getFlavorMap): Implemented. | |
9838 | (setFlavorMap): Implemented. | |
9839 | (getDropTargetContext): Implemented. | |
9840 | (createDropTargetContext): Implemented. | |
9841 | (createDropTargetAutoScroller): Implemented. | |
9842 | * java/awt/dnd/DropTargetContext.java | |
9843 | (TransferableProxy.getTransferDataFlavors): Implemented. | |
9844 | (TransferableProxy.isDataFlavorSupported): Implemented. | |
9845 | (TransferableProxy.getTransferData): Implemented. | |
9846 | (dropTarget): New member variable. | |
9847 | (dtcp): New member variable. | |
9848 | (DropTargetContext): New package private constructor. | |
9849 | (getDropTarget): Implemented. | |
9850 | (getComponent): Implemented. | |
9851 | (addNotify): Implemented. | |
9852 | (removeNotify): Implemented. | |
9853 | (getCurrentDataFlavorsAsList): Implemented. | |
9854 | (isDataFlavorSupported): Implemented. | |
9855 | * java/awt/dnd/MouseDragGestureRecognizer.java | |
9856 | (registerListeners): Implemented. | |
9857 | (unregisterListeners): Implemented. | |
9858 | * Makefile.am | |
9859 | (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java. | |
9860 | * Makefile.in: Regenerated. | |
9861 | ||
e589ede6 MK |
9862 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9863 | ||
9864 | * java/awt/Component.java | |
9865 | (eventTypeEnabled): New method. | |
9866 | (dispatchEventImpl): Moved checks for event to eventTypeEnabled. | |
9867 | * java/awt/Container.java | |
9868 | (changeSupport): New member variable. | |
9869 | (addPropertyChangeListener): New methods. | |
9870 | * java/awt/ContainerOrderFocusTraversalPolicy.java | |
9871 | (ContainerOrderFocusTraversalPolicy): Added comment. | |
9872 | (getComponentAfter): Throw exception, documentation added. | |
9873 | (getComponentBefore): Throw exception, documentation added. | |
9874 | (getFirstComponent): Throw exception, documentation added. | |
9875 | (getLastComponent): Throw exception, documentation added. | |
9876 | (getDefaultComponent): Throw exception, documentation added. | |
9877 | * java/awt/EventQueue.java: Reindented. | |
9878 | * java/awt/FocusTraversalPolicy.java: | |
9879 | (FocusTraversalPolicy): Added comment. | |
9880 | (getComponentAfter): Documentation added. | |
9881 | (getComponentBefore): Documentation added. | |
9882 | (getFirstComponent): Documentation added. | |
9883 | (getLastComponent): Documentation added. | |
9884 | (getDefaultComponent): Documentation added. | |
9885 | (getInitialComponent): Documentation added. | |
9886 | * java/awt/ScrollPane.java | |
9887 | (wheelScrollingEnabled): New member variable. | |
9888 | (ScrollPane): Initialize wheelScollingEnabled. | |
9889 | (eventTypeEnabled): New method. | |
9890 | (isWheelScrollingEnabled): New method. | |
9891 | (setWheelScrollingEnabled): New method. | |
9892 | ||
37db829b MK |
9893 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9894 | ||
9895 | * java/net/DatagramSocket.java | |
9896 | (closed): New member variable. | |
9897 | (close): Use closed variable. | |
9898 | (getInetAddress): No need to call isConnected(). | |
9899 | (getPort): No need to call isConnected(). | |
9900 | (disconnect): Reset remoteAddress and remotePort, fixed typo. | |
9901 | (isClosed): Reimplemented. | |
9902 | ||
c0daa902 MK |
9903 | 2003-03-02 Michael Koch <konqueror@gmx.de> |
9904 | ||
9905 | * configure.in: Added check for memory mapping of files. | |
9906 | * configure: Regenerated. | |
9907 | * config.h.in: Regenerated. | |
9908 | ||
66c4e258 JT |
9909 | 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com> |
9910 | ||
9911 | * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined. | |
9912 | (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING. | |
9913 | ||
3ccd3d70 RM |
9914 | 2003-03-01 Ranjit Mathew <rmathew@hotmail.com> |
9915 | ||
9916 | * java/io/File.java (normalizePath): Remove trailing separator | |
9917 | on Windows only if path is not of the form "x:\". | |
9918 | ||
9919 | * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant. | |
9920 | (java::io::File::attr): Change formatting a bit and use | |
9921 | WIN32_EPOCH_MILLIS instead of magic numbers. | |
9922 | (java::io::File::isAbsolute): Path must have at least 3 | |
9923 | characters for a UNC network path. | |
9924 | (java::io::File::init_native): Define. | |
9925 | (java::io::File::performCreate): Likewise. | |
9926 | (java::io::File::performSetReadOnly): Likewise. | |
9927 | (java::io::File::performSetLastModified): Likewise. | |
9928 | (java::io::File::performListRoots): Likewise. | |
9929 | ||
5168f1cf TT |
9930 | 2003-03-01 Tom Tromey <tromey@redhat.com> |
9931 | ||
9932 | * java/lang/natObject.cc: Don't include assert.h. | |
9933 | (heavy_lock_obj_finalization_proc): Use JvAssert. | |
9934 | (remove_all_heavy): Likewise. | |
9935 | (_Jv_MonitorEnter): Likewise. | |
9936 | (_Jv_MonitorExit): Likewise. | |
9937 | (wait): Likewise. | |
9938 | ||
5bedfc93 RM |
9939 | 2003-03-01 Ranjit Mathew <rmathew@hotmail.com> |
9940 | ||
9941 | * java/io/File (getAbsolutePath): Prefix drive specifier on | |
9942 | Windows for paths starting with a '\'. | |
9943 | (toURL): Make URL more consistent with what Sun's JDK returns. | |
9944 | ||
9945 | * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return | |
9946 | true only if the path is a UNC network path or it starts with a | |
9947 | drive specifier. | |
9948 | ||
9949 | * java/net/URLStreamHandler.java (parseURL): Correct minor typo. | |
9950 | Be prepared to handle either '/' or '\\' in the file path for | |
9951 | Windows if using the "file" protocol. | |
9952 | Canonicalise the file path if using a relative path in the given | |
9953 | context and the "file" protocol. | |
9954 | ||
73058ef6 ME |
9955 | 2003-03-01 Mohan Embar <gnustuff@thisiscool.com> |
9956 | ||
9957 | * java/lang/natWin32Process.cc (startProcess): Double-quote each | |
9958 | program array element passed to CreateProcess. | |
9959 | ||
f8575098 TT |
9960 | 2003-03-01 Tom Tromey <tromey@redhat.com> |
9961 | ||
9962 | * java/rmi/registry/RegistryHandler.java: Deprecate. | |
9963 | ||
2759b260 TT |
9964 | 2003-03-01 Tom Tromey <tromey@redhat.com> |
9965 | ||
1a8fc8a7 TT |
9966 | * javax/accessibility/AccessibleEditableText.java, |
9967 | javax/accessibility/AccessibleHyperlink.java: New versions from | |
9968 | Classpath. | |
9969 | ||
d3c582c3 TT |
9970 | * gnu/java/locale/LocaleInformation_af_ZA.java, |
9971 | gnu/java/locale/LocaleInformation_ar_AE.java, | |
9972 | gnu/java/locale/LocaleInformation_ar_BH.java, | |
9973 | gnu/java/locale/LocaleInformation_ar_DZ.java, | |
9974 | gnu/java/locale/LocaleInformation_ar_EG.java, | |
9975 | gnu/java/locale/LocaleInformation_ar_IN.java, | |
9976 | gnu/java/locale/LocaleInformation_ar_IQ.java, | |
9977 | gnu/java/locale/LocaleInformation_ar_JO.java, | |
9978 | gnu/java/locale/LocaleInformation_ar_KW.java, | |
9979 | gnu/java/locale/LocaleInformation_ar_LB.java, | |
9980 | gnu/java/locale/LocaleInformation_ar_LY.java, | |
9981 | gnu/java/locale/LocaleInformation_ar_MA.java, | |
9982 | gnu/java/locale/LocaleInformation_ar_OM.java, | |
9983 | gnu/java/locale/LocaleInformation_ar_QA.java, | |
9984 | gnu/java/locale/LocaleInformation_ar_SD.java, | |
9985 | gnu/java/locale/LocaleInformation_ar_SY.java, | |
9986 | gnu/java/locale/LocaleInformation_ar_TN.java, | |
9987 | gnu/java/locale/LocaleInformation_ar_YE.java, | |
9988 | gnu/java/locale/LocaleInformation_be_BY.java, | |
9989 | gnu/java/locale/LocaleInformation_bn_IN.java, | |
9990 | gnu/java/locale/LocaleInformation_br_FR.java, | |
9991 | gnu/java/locale/LocaleInformation_bs_BA.java, | |
9992 | gnu/java/locale/LocaleInformation_ca_ES.java, | |
9993 | gnu/java/locale/LocaleInformation_cs_CZ.java, | |
9994 | gnu/java/locale/LocaleInformation_cy_GB.java, | |
9995 | gnu/java/locale/LocaleInformation_da_DK.java, | |
9996 | gnu/java/locale/LocaleInformation_de_AT.java, | |
9997 | gnu/java/locale/LocaleInformation_de_BE.java, | |
9998 | gnu/java/locale/LocaleInformation_de_CH.java, | |
9999 | gnu/java/locale/LocaleInformation_de_DE.java, | |
10000 | gnu/java/locale/LocaleInformation_de_LU.java, | |
10001 | gnu/java/locale/LocaleInformation_el_GR.java, | |
10002 | gnu/java/locale/LocaleInformation_en_AU.java, | |
10003 | gnu/java/locale/LocaleInformation_en_BW.java, | |
10004 | gnu/java/locale/LocaleInformation_en_CA.java, | |
10005 | gnu/java/locale/LocaleInformation_en_DK.java, | |
10006 | gnu/java/locale/LocaleInformation_en_GB.java, | |
10007 | gnu/java/locale/LocaleInformation_en_HK.java, | |
10008 | gnu/java/locale/LocaleInformation_en_IE.java, | |
10009 | gnu/java/locale/LocaleInformation_en_IN.java, | |
10010 | gnu/java/locale/LocaleInformation_en_NZ.java, | |
10011 | gnu/java/locale/LocaleInformation_en_PH.java, | |
10012 | gnu/java/locale/LocaleInformation_en_SG.java, | |
10013 | gnu/java/locale/LocaleInformation_en_US.java, | |
10014 | gnu/java/locale/LocaleInformation_en_ZA.java, | |
10015 | gnu/java/locale/LocaleInformation_en_ZW.java, | |
10016 | gnu/java/locale/LocaleInformation_es_AR.java, | |
10017 | gnu/java/locale/LocaleInformation_es_BO.java, | |
10018 | gnu/java/locale/LocaleInformation_es_CL.java, | |
10019 | gnu/java/locale/LocaleInformation_es_CO.java, | |
10020 | gnu/java/locale/LocaleInformation_es_CR.java, | |
10021 | gnu/java/locale/LocaleInformation_es_DO.java, | |
10022 | gnu/java/locale/LocaleInformation_es_EC.java, | |
10023 | gnu/java/locale/LocaleInformation_es_ES.java, | |
10024 | gnu/java/locale/LocaleInformation_es_GT.java, | |
10025 | gnu/java/locale/LocaleInformation_es_HN.java, | |
10026 | gnu/java/locale/LocaleInformation_es_MX.java, | |
10027 | gnu/java/locale/LocaleInformation_es_NI.java, | |
10028 | gnu/java/locale/LocaleInformation_es_PA.java, | |
10029 | gnu/java/locale/LocaleInformation_es_PE.java, | |
10030 | gnu/java/locale/LocaleInformation_es_PR.java, | |
10031 | gnu/java/locale/LocaleInformation_es_PY.java, | |
10032 | gnu/java/locale/LocaleInformation_es_SV.java, | |
10033 | gnu/java/locale/LocaleInformation_es_US.java, | |
10034 | gnu/java/locale/LocaleInformation_es_UY.java, | |
10035 | gnu/java/locale/LocaleInformation_es_VE.java, | |
10036 | gnu/java/locale/LocaleInformation_et_EE.java, | |
10037 | gnu/java/locale/LocaleInformation_eu_ES.java, | |
10038 | gnu/java/locale/LocaleInformation_fa_IR.java, | |
10039 | gnu/java/locale/LocaleInformation_fi_FI.java, | |
10040 | gnu/java/locale/LocaleInformation_fo_FO.java, | |
10041 | gnu/java/locale/LocaleInformation_fr_BE.java, | |
10042 | gnu/java/locale/LocaleInformation_fr_CA.java, | |
10043 | gnu/java/locale/LocaleInformation_fr_CH.java, | |
10044 | gnu/java/locale/LocaleInformation_fr_FR.java, | |
10045 | gnu/java/locale/LocaleInformation_fr_LU.java, | |
10046 | gnu/java/locale/LocaleInformation_ga_IE.java, | |
10047 | gnu/java/locale/LocaleInformation_gd_GB.java, | |
10048 | gnu/java/locale/LocaleInformation_gl_ES.java, | |
10049 | gnu/java/locale/LocaleInformation_gv_GB.java, | |
10050 | gnu/java/locale/LocaleInformation_he_IL.java, | |
10051 | gnu/java/locale/LocaleInformation_hi_IN.java, | |
10052 | gnu/java/locale/LocaleInformation_hr_HR.java, | |
10053 | gnu/java/locale/LocaleInformation_hu_HU.java, | |
10054 | gnu/java/locale/LocaleInformation_id_ID.java, | |
10055 | gnu/java/locale/LocaleInformation_it_CH.java, | |
10056 | gnu/java/locale/LocaleInformation_it_IT.java, | |
10057 | gnu/java/locale/LocaleInformation_iw_IL.java, | |
10058 | gnu/java/locale/LocaleInformation_ja_JP.java, | |
10059 | gnu/java/locale/LocaleInformation_ka_GE.java, | |
10060 | gnu/java/locale/LocaleInformation_kl_GL.java, | |
10061 | gnu/java/locale/LocaleInformation_ko_KR.java, | |
10062 | gnu/java/locale/LocaleInformation_kw_GB.java, | |
10063 | gnu/java/locale/LocaleInformation_lt_LT.java, | |
10064 | gnu/java/locale/LocaleInformation_lv_LV.java, | |
10065 | gnu/java/locale/LocaleInformation_mi_NZ.java, | |
10066 | gnu/java/locale/LocaleInformation_mk_MK.java, | |
10067 | gnu/java/locale/LocaleInformation_mr_IN.java, | |
10068 | gnu/java/locale/LocaleInformation_mt_MT.java, | |
10069 | gnu/java/locale/LocaleInformation_nl_BE.java, | |
10070 | gnu/java/locale/LocaleInformation_nl_NL.java, | |
10071 | gnu/java/locale/LocaleInformation_nn_NO.java, | |
10072 | gnu/java/locale/LocaleInformation_no_NO.java, | |
10073 | gnu/java/locale/LocaleInformation_oc_FR.java, | |
10074 | gnu/java/locale/LocaleInformation_pl_PL.java, | |
10075 | gnu/java/locale/LocaleInformation_pt_BR.java, | |
10076 | gnu/java/locale/LocaleInformation_pt_PT.java, | |
10077 | gnu/java/locale/LocaleInformation_ro_RO.java, | |
10078 | gnu/java/locale/LocaleInformation_ru_RU.java, | |
10079 | gnu/java/locale/LocaleInformation_ru_UA.java, | |
10080 | gnu/java/locale/LocaleInformation_se_NO.java, | |
10081 | gnu/java/locale/LocaleInformation_sk_SK.java, | |
10082 | gnu/java/locale/LocaleInformation_sl_SI.java, | |
10083 | gnu/java/locale/LocaleInformation_sq_AL.java, | |
10084 | gnu/java/locale/LocaleInformation_sr_YU.java, | |
10085 | gnu/java/locale/LocaleInformation_sv_FI.java, | |
10086 | gnu/java/locale/LocaleInformation_sv_SE.java, | |
10087 | gnu/java/locale/LocaleInformation_ta_IN.java, | |
10088 | gnu/java/locale/LocaleInformation_te_IN.java, | |
10089 | gnu/java/locale/LocaleInformation_tg_TJ.java, | |
10090 | gnu/java/locale/LocaleInformation_tl_PH.java, | |
10091 | gnu/java/locale/LocaleInformation_tr_TR.java, | |
10092 | gnu/java/locale/LocaleInformation_uk_UA.java, | |
10093 | gnu/java/locale/LocaleInformation_ur_PK.java, | |
10094 | gnu/java/locale/LocaleInformation_uz_UZ.java, | |
10095 | gnu/java/locale/LocaleInformation_vi_VN.java, | |
10096 | gnu/java/locale/LocaleInformation_yi_US.java, | |
10097 | gnu/java/locale/LocaleInformation_zh_CN.java, | |
10098 | gnu/java/locale/LocaleInformation_zh_HK.java, | |
10099 | gnu/java/locale/LocaleInformation_zh_SG.java, | |
10100 | gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright | |
10101 | info; from Classpath. | |
10102 | ||
2759b260 TT |
10103 | * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout, |
10104 | isPaintPending): New methods. | |
10105 | * gnu/awt/xlib/XFramePeer.java (getState, setState, | |
10106 | setMaximizedBounds): New methods. | |
10107 | (beginLayout, endLayout, isPaintPending): Likewise. | |
10108 | * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method. | |
10109 | (requestFocus): Likewise. | |
10110 | (isObscured): Likewise. | |
10111 | (canDetermineObscurity): Likewise. | |
10112 | (coalescePaintEvent): Likewise. | |
10113 | (updateCursorImmediately): Likewise. | |
10114 | (createVolatileImage): Likewise. | |
10115 | (handlesWheelScrolling): Likewise. | |
10116 | (createBuffers): Likewise. | |
10117 | (getBackBuffer): Likewise. | |
10118 | (flip): Likewise. | |
10119 | (destroyBuffers): Likewise. | |
10120 | ||
10121 | * Makefile.in: Rebuilt. | |
10122 | * Makefile.am (awt_java_source_files): Added DropTargetPeer.java, | |
10123 | RobotPeer.java. | |
10124 | * gnu/java/awt/GLightweightPeer.java, | |
10125 | gnu/java/awt/peer/gtk/GtkChoicePeer.java, | |
10126 | gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
10127 | gnu/java/awt/peer/gtk/GtkContainerPeer.java, | |
10128 | gnu/java/awt/peer/gtk/GtkFramePeer.java, | |
10129 | gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java, | |
10130 | gnu/java/awt/peer/gtk/GtkTextComponentPeer.java, | |
10131 | java/awt/dnd/peer/DragSourceContextPeer.java, | |
10132 | java/awt/dnd/peer/DropTargetContextPeer.java, | |
10133 | java/awt/peer/ButtonPeer.java, | |
10134 | java/awt/peer/CheckboxMenuItemPeer.java, | |
10135 | java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java, | |
10136 | java/awt/peer/ComponentPeer.java, | |
10137 | java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java, | |
10138 | java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java, | |
10139 | java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java, | |
10140 | java/awt/peer/MenuBarPeer.java, | |
10141 | java/awt/peer/MenuComponentPeer.java, | |
10142 | java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java, | |
10143 | java/awt/peer/PopupMenuPeer.java, | |
10144 | java/awt/peer/ScrollPanePeer.java, | |
10145 | java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java, | |
10146 | java/awt/peer/TextComponentPeer.java, | |
10147 | java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java: | |
10148 | New versions from Classpath. | |
10149 | * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath. | |
10150 | * java/awt/peer/RobotPeer.java: Likewise. | |
10151 | ||
d9199663 MW |
10152 | 2003-03-01 Mark Wielaard <mark@klomp.org> |
10153 | ||
10154 | * java/io/ObjectInputStream.java: Reindent. | |
10155 | * java/io/ObjectOutputStream.java: Likewise. | |
10156 | ||
a6fdf2d3 HB |
10157 | 2003-02-28 Hans Boehm <Hans.Boehm@hp.com> |
10158 | ||
10159 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full | |
d9199663 | 10160 | jvalue for each argument. Simplify. |
a6fdf2d3 HB |
10161 | * testsuite/libjava.jni/calls.c (docall), |
10162 | testsuite/libjava.jni/calls.java (longpb_f): check for argument | |
10163 | misalignment. | |
10164 | ||
4480b3dc MW |
10165 | 2003-02-28 Mark Wielaard <mark@klomp.org> |
10166 | ||
10167 | * Makefile.am (nat_source_files): Remove | |
10168 | java/io/natObjectOutputStream.cc. | |
10169 | * Makefile.in: Regenerated. | |
10170 | * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests. | |
10171 | * java/io/ObjectStreamField.java (typename): New field. | |
10172 | (ObjectStreamField(String, Class)): Initialize new field. | |
10173 | (ObjectStreamField(String, String)): New Constructor. | |
10174 | (getTypeCode): Use new field. | |
10175 | (getTypeString): Use new field. | |
10176 | * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal | |
10177 | ObjectStreamExceptions. Remember and reset old BlockDataMode. | |
10178 | Handle reading of Proxy classes. Never drain(), just write | |
10179 | TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions. | |
10180 | (drain): Check writeDataAsBlocks before calling writeBlockDataHeader. | |
10181 | (flush): Call flush(), not just drain(). | |
10182 | (writeBoolean): Always use blockDataOutput. | |
10183 | (writeByte): Likewise. | |
10184 | (writeShort): Likewise. | |
10185 | (writeChar): Likewise. | |
10186 | (writeInt): Likewise. | |
10187 | (writeLong): Likewise. | |
10188 | (writeFloat): Likewise. | |
10189 | (writeDouble): Likewise. | |
10190 | (writeBytes): Likewise. | |
10191 | (putfield (put(String,Object))): Throw IllegalArgumentException if | |
10192 | field cannot be found. | |
10193 | (putfield (write(ObjectOutput))): Remember old BlockDataMode. | |
10194 | (writeArraySizeAndElements): Write byte[] in one go. | |
10195 | (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise | |
10196 | set BlockDataMode to false. | |
10197 | (annotateProxyClass): New method. | |
10198 | (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2 | |
10199 | (getField): No longer native. | |
10200 | (getMethod): Likewise. | |
10201 | (setBlockDataMode): Always drain() on switch, return old mode. | |
10202 | (static): New static code block. | |
10203 | * java/io/natObjectOutputStream.cc: Removed. | |
10204 | * java/io/ObjectInputStream.java (getField): No longer native. | |
10205 | (getMethod): Likewise. | |
10206 | (readObject): Remember and reset old BlockDataMode. Track whether | |
10207 | object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and | |
10208 | TC_LONGSTRING. | |
10209 | (defaultReadObject): Set BlockDataMode to false during readFields. | |
10210 | (resolveClass): Create new SecurityManager if necessary. | |
10211 | Use Class.forName() if null ClassLoader found. | |
10212 | (read(byte[],int,int): Copy remaining bytes to data before calling | |
10213 | readNextBlock(). | |
10214 | (readFields): Set and reset BlockDataMode on call_read_method. | |
10215 | Catch NoSuchFieldErrors. | |
10216 | (setBlockDataMode): Return old mode. | |
10217 | (static): New static code block. | |
10218 | * java/io/natObjectInputStream.cc (getField): Removed. | |
10219 | (getMethod): Likewise. | |
10220 | ||
3894fe32 MK |
10221 | 2003-02-27 Michael Koch <konqueror@gmx.de> |
10222 | ||
10223 | * java/beans/Beans.java, | |
10224 | java/beans/FeatureDescriptor.java | |
10225 | java/beans/PropertyEditorManager.java: | |
10226 | Reformated to GNU style. | |
10227 | ||
9d4c1565 MK |
10228 | 2003-02-25 Michael Koch <konqueror@gmx.de> |
10229 | ||
10230 | * gnu/java/nio/MappedByteFileBuffer.java, | |
10231 | gnu/java/nio/natMappedByteFileBuffer.cc: | |
10232 | New files, both are not compiled yet to get not noncompiling CVS. | |
10233 | ||
2afced11 TT |
10234 | 2003-02-24 Tom Tromey <tromey@redhat.com> |
10235 | ||
10236 | * java/util/prefs/AbstractPreferences.java (isUserNode): | |
10237 | Implemented. | |
10238 | ||
d99c7b11 TT |
10239 | 2003-02-24 Tom Tromey <tromey@redhat.com> |
10240 | ||
10241 | * java/lang/ClassLoader.java (defineClass(byte[],int,int)): | |
10242 | Deprecate. | |
10243 | * java/lang/Thread.java (resume): Deprecate. | |
10244 | * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo | |
10245 | in @deprecated. | |
10246 | ||
cf88ede3 TT |
10247 | 2003-02-23 Tom Tromey <tromey@redhat.com> |
10248 | ||
10249 | * Makefile.in: Rebuilt. | |
10250 | * Makefile.am (JC1FLAGS): Added -Wno-deprecated. | |
10251 | ||
804b2c48 TT |
10252 | 2003-02-23 Tom Tromey <tromey@redhat.com> |
10253 | ||
10254 | * java/lang/natRuntime.cc (libraries_size, libraries_count, | |
10255 | libraries): Removed. | |
10256 | (add_library): Removed. | |
10257 | (_load): Don't call add_library. | |
10258 | (loadLibraryInternal): Likewise. | |
10259 | (init): Likewise. | |
10260 | (lookup_data): New struct. | |
10261 | (find_symbol): New function. | |
10262 | (_Jv_FindSymbolInExecutable): Use it. | |
10263 | ||
514e19c9 AG |
10264 | 2002-02-21 Anthony Green <green@redhat.com> |
10265 | ||
10266 | * java/lang/Thread.java (Thread): New constructor taking stack | |
10267 | size parameter (ignored for now). | |
10268 | * Many methods: Merged GNU Classpath documentation. | |
10269 | ||
10270 | * java/lang/Class.java (finalize): throws a Throwable. | |
10271 | ||
3a3f137e MW |
10272 | 2003-02-21 Mark Wielaard <mark@klomp.org> |
10273 | ||
10274 | * java/util/zip/ZipEntry.java (setComment): Don't check length when | |
10275 | argument is null. | |
10276 | ||
7b540482 MW |
10277 | 2003-02-21 Mark Wielaard <mark@klomp.org> |
10278 | ||
10279 | * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger | |
10280 | then 65535 chars throw IllegalArgumentException. | |
10281 | ||
fefabda5 MW |
10282 | 2003-02-21 Mark Wielaard <mark@klomp.org> |
10283 | ||
10284 | * java/util/zip/ZipFile.java (finalize): New method. | |
10285 | ||
2d4fad8e MK |
10286 | 2003-02-21 Michael Koch <konqueror@gmx.de> |
10287 | ||
10288 | * gnu/java/nio/natSocketChannelImpl.cc: | |
10289 | Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson | |
10290 | <cato@df.lth.se> for pointing to it. | |
10291 | ||
4c24ac27 RN |
10292 | 2003-02-20 Raif S. Naffah <raif@fl.net.au> |
10293 | ||
10294 | * java/math/BigInteger.java (euclidInv): Take result array as an | |
10295 | argument. Updated all callers. | |
10296 | (modInverse): Removed unused variables. | |
10297 | ||
3343fdd2 AO |
10298 | 2003-02-20 Alexandre Oliva <aoliva@redhat.com> |
10299 | ||
10300 | * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to | |
10301 | config.status. | |
10302 | * configure: Rebuilt. | |
10303 | ||
bb7dd383 MK |
10304 | 2003-02-19 Michael Koch <konqueror@gmx.de> |
10305 | ||
10306 | * gnu/java/nio/natSocketChannelImpl.cc: | |
10307 | Added support for platforms without network support. | |
10308 | ||
a191802c RO |
10309 | 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10310 | ||
10311 | * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately | |
10312 | after config.h. Use <> for consistency. | |
10313 | * java/lang/natObject.cc: Likewise. | |
10314 | * java/lang/natRuntime.cc: Likewise. | |
10315 | * java/lang/natSystem.cc: Likewise. | |
10316 | * java/util/natTimeZone.cc: Likewise. | |
10317 | * win32.cc: Likewise. | |
10318 | * include/posix.h (fcntl, socket, connect, close, bind, accept, | |
10319 | listen, write, read): Undef to avoid interference from OS macros. | |
10320 | ||
681979f0 MK |
10321 | 2003-02-19 Michael Koch <konqueror@gmx.de> |
10322 | ||
10323 | * gnu/java/nio/ByteBufferImpl.java | |
10324 | (ByteBufferImpl): Renamed two variables. | |
10325 | * gnu/java/nio/CharBufferImpl.java | |
10326 | (CharBufferImpl): Renamed two variables. | |
10327 | * gnu/java/nio/DoubleBufferImpl.java | |
10328 | (DoubleBufferImpl): Renamed two variables. | |
10329 | * gnu/java/nio/FloatBufferImpl.java | |
10330 | (FloatBufferImpl): Renamed two variables. | |
10331 | * gnu/java/nio/IntBufferImpl.java | |
10332 | (IntBufferImpl): Renamed two variables. | |
10333 | * gnu/java/nio/LongBufferImpl.java | |
10334 | (LongBufferImpl): Renamed two variables. | |
10335 | * gnu/java/nio/ShortBufferImpl.java | |
10336 | (ShortBufferImpl): Renamed two variables. | |
10337 | * java/nio/CharBuffer.java | |
10338 | (wrap): Fixed arguments to CharBufferImpl constructor. | |
10339 | (hasArray): Only not read-only buffers have backing arrays. | |
10340 | (length): Documentation added. | |
10341 | (subSequence): Documentation added. | |
10342 | * java/nio/DoubleBuffer.java | |
10343 | (hasArray): Only not read-only buffers have backing arrays. | |
10344 | * java/nio/FloatBuffer.java | |
10345 | (hasArray): Only not read-only buffers have backing arrays. | |
10346 | * java/nio/IntBuffer.java | |
10347 | (hasArray): Only not read-only buffers have backing arrays. | |
10348 | * java/nio/LongBuffer.java | |
10349 | (hasArray): Only not read-only buffers have backing arrays. | |
10350 | * java/nio/ShortBuffer.java | |
10351 | (hasArray): Only not read-only buffers have backing arrays. | |
10352 | ||
0887aae1 MK |
10353 | 2003-02-19 Michael Koch <konqueror@gmx.de> |
10354 | ||
10355 | * javax/accessibility/AccessibleContext.java | |
10356 | (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo. | |
10357 | ||
d8193b85 MK |
10358 | 2003-02-19 Michael Koch <konqueror@gmx.de> |
10359 | ||
10360 | * java/awt/ScrollPaneAdjustable.java: Reformated. | |
10361 | ||
8d928fb1 MK |
10362 | 2003-02-19 Michael Koch <konqueror@gmx.de> |
10363 | ||
10364 | * gnu/awt/j2d/Graphics2DImpl.java | |
10365 | (getFontRenderContext): New method. | |
10366 | (drawGlyphVector): New method. | |
10367 | * java/awt/Graphics2D.java | |
10368 | (getFontRenderContext): New abstract method. | |
10369 | (drawGlyphVector): New abstract method. | |
10370 | ||
56bba8cf HB |
10371 | 2003-02-18 Hans Boehm <Hans.Boehm@hp.com> |
10372 | ||
10373 | * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize | |
10374 | if necessary. | |
10375 | ||
10376 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java, | |
10377 | gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, | |
10378 | gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, | |
10379 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, | |
10380 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, | |
10381 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c | |
10382 | (setFont, gtkSetFont): add. | |
10383 | gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): | |
10384 | Propagate font to peer. (setFont): add FIXME comment. | |
10385 | ||
10386 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
10387 | (gtkTextGetSize): fix height, width computation. | |
10388 | ||
10389 | * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer): | |
10390 | Make X font name a bit less bogus. | |
10391 | ||
10392 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c | |
10393 | (post_adjustment_event): Pass on GTK_SCROLL_NONE. | |
10394 | ||
10395 | * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check. | |
10396 | (processAdjustmentEvent): Adjust value. | |
10397 | ||
10398 | * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one | |
10399 | logic errors. | |
10400 | ||
10401 | * java/awt/Component.java (setVisible, show, hide): Call show and | |
10402 | hide methods in subclasses. | |
10403 | (getPreferredSize): don't set prefSize before we have peer. | |
10404 | ||
10405 | * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize): | |
10406 | Guess (0,0) if we don't have peer. | |
10407 | ||
10408 | ||
69c107ef MK |
10409 | 2003-02-18 Michael Koch <konqueror@gmx.de> |
10410 | ||
10411 | * java/nio/channels/FileChannel.java | |
10412 | (toString): New implementation, added documentation. | |
10413 | (map): Added exception documentation. | |
10414 | (size): Added exception documentation. | |
10415 | (write): New methods, documentation work. | |
10416 | (read): New methods, documentation work. | |
10417 | (implCloseChannel): Rewrote exception documentation. | |
10418 | (force): Throws IOException, added documentation. | |
10419 | (lock): New methods. | |
10420 | (tryLock): New methods. | |
10421 | (position): New methods. | |
10422 | (transferTo): New method. | |
10423 | (transferFrom): New method. | |
10424 | (truncate): New method. | |
10425 | * java/nio/channels/spi/SelectorProvider.java | |
10426 | (provider): Implemented. | |
10427 | * Makefile.am | |
10428 | (ordinary_java_source_files): Added the following files: | |
10429 | gnu/java/nio/DatagramChannelImpl.java | |
10430 | gnu/java/nio/FileChannelImpl.java | |
10431 | gnu/java/nio/PipeImpl.java | |
10432 | gnu/java/nio/SelectionKeyImpl.java | |
10433 | gnu/java/nio/SelectorImpl.java | |
10434 | gnu/java/nio/SelectorProviderImpl.java | |
10435 | gnu/java/nio/ServerSocketChannelImpl.java | |
10436 | gnu/java/nio/SocketChannelImpl.java | |
10437 | java/nio/channels/FileLock.java | |
10438 | (nat_java_source_files): Added the following files: | |
10439 | gnu/java/nio/natFileChannelImpl.cc | |
10440 | gnu/java/nio/natSelectorImpl.cc | |
10441 | gnu/java/nio/natSocketChannelImpl.cc | |
10442 | * Makefile.in: Regenerated. | |
10443 | ||
59ac5a17 TT |
10444 | 2003-02-17 Tom Tromey <tromey@redhat.com> |
10445 | ||
10446 | * java/awt/image/ColorModel.java: Re-merged with Classpath. | |
10447 | * java/awt/image/ImageFilter.java: Likewise. | |
10448 | ||
b9e16504 RN |
10449 | 2003-02-17 Raif S. Naffah <raif@fl.net.au> |
10450 | ||
10451 | * java/math/BigInteger.java (euclidInv): Return array of | |
10452 | `BigInteger's. Changed all callers. | |
10453 | ||
bea63b0a RM |
10454 | 2003-02-17 Ranjit Mathew <rmathew@hotmail.com> |
10455 | ||
10456 | * java/util/Properties.java (store): Move the code formerly in | |
10457 | list(), into this method. | |
10458 | (list (PrintStream)): Just call list (PrintWriter) with a | |
10459 | PrintWriter object constructed from the given PrintStream object. | |
10460 | (list (PrintWriter)): Emulate the output of Properties.list() | |
10461 | as found in JDK 1.3/1.4. | |
10462 | ||
b0e1d9ae MK |
10463 | 2003-02-17 Michael Koch <konqueror@gmx.de> |
10464 | ||
10465 | * java/net/DatagramSocket.java | |
10466 | (connect): Merged with classpath. | |
10467 | (disconnect): Merged documentation with classpath. | |
10468 | (receice): Merged documentation with classpath. | |
10469 | (send): Merged documentation with classpath. | |
10470 | ||
0701e74c MK |
10471 | 2003-02-17 Michael Koch <konqueror@gmx.de> |
10472 | ||
10473 | * java/awt/dnd/DragSourceContext.java | |
10474 | (addDragSourceListener): Added documentation. | |
10475 | * java/awt/dnd/DragSourceDragEvent.java | |
10476 | (serialVersionUID): New member variable. | |
10477 | (getDropAction): Reformated. | |
10478 | * java/awt/dnd/DragSourceDropEvent.java | |
10479 | (serialVersionUID): New member variable. | |
10480 | (dropSuccess): Renamed from success for serialization issues. | |
10481 | * java/awt/dnd/DragSourceEvent.java | |
10482 | (serialVersionUID): New member variable. | |
10483 | * java/awt/dnd/DropTarget.java | |
10484 | (serialVersionUID): New member variable. | |
10485 | (DropTarget): Implemented, documentation reworked. | |
10486 | (setComponent): Documentation added. | |
10487 | (getComponent): Documentation added. | |
10488 | (setDefaultActions): Documentation added. | |
10489 | (getDefaultActions): Documentation added. | |
10490 | (addDropTargetListener): Documentation added. | |
10491 | * java/awt/dnd/DropTargetContext.java | |
10492 | (DropTargetContext): Documentation added. | |
10493 | (TransferableProxy.TransferableProxy): New method. | |
10494 | (dropComplete): Fixed documentation. | |
10495 | (getTransferable): Fixed documentation. | |
10496 | (createTransferableProxy): Implemented. | |
10497 | * java/awt/dnd/DropTargetDragEvent.java | |
10498 | (DropTargetDragEvent): Documentation added. | |
10499 | (serialVersionUID): New member variable. | |
10500 | (DropTargetDragEvent): Throw exceptions, documentation added. | |
10501 | (acceptDrag): Implemented. | |
10502 | (getCurrentDataFlavors): Implemented.3yy | |
10503 | (getCurrentDataFlavorsAsList): Implemented. | |
10504 | (isDataFlavorSupported): Implemented. | |
10505 | (rejectDrag): Implemented. | |
10506 | * java/awt/dnd/DropTargetDropEvent.java | |
10507 | (DropTargetDropEvent): Documentation added. | |
10508 | (serialVersionUID): New member variable. | |
10509 | (actions): Renamed from srcActions for serialization issues. | |
10510 | (isLocalTx): Renamed from isLocalTx for serialization issues. | |
10511 | (DropTargetDropEvent): New implementation, throw exceptions, | |
10512 | documentation added. | |
10513 | (getCurrentDataFlavors): Implemented. | |
10514 | (getCurrentDataFlavorsAsList): Implemented. | |
10515 | (isDataFlavorSupported): Implemented. | |
10516 | (getSourceActions): Implemented. | |
10517 | (getDropAction): Implemented. | |
10518 | (getTransferable): Implemented. | |
10519 | (acceptDrop): Implemented. | |
10520 | (rejectDrop): Implemented. | |
10521 | * java/awt/dnd/DropTargetListener.java | |
10522 | (drop): Fixed documentation. | |
10523 | * java/awt/dnd/MouseDragGestureRecognizer.java | |
10524 | (MouseDragGestureRecognizer): Documentation added. | |
10525 | ||
10526 | 2003-02-17 Michael Koch <konqueror@gmx.de> | |
10527 | ||
10528 | * java/awt/font/FontRenderContext.java, | |
10529 | java/awt/font/ShapeGraphicAttribute.java, | |
10530 | java/awt/font/MultipleMaster.java, | |
10531 | java/awt/font/TransformAttribute.java, | |
10532 | java/awt/font/GlyphJustificationInfo.java, | |
10533 | java/awt/font/LineBreakMeasurer.java, | |
10534 | java/awt/font/TextMeasurer.java, | |
10535 | java/awt/font/TextLayout.java, | |
10536 | java/awt/font/LineMetrics.java, | |
10537 | java/awt/font/TextAttribute.java, | |
10538 | java/awt/font/GlyphMetrics.java, | |
10539 | java/awt/font/OpenType.java, | |
10540 | java/awt/font/GlyphVector.java, | |
10541 | java/awt/font/GraphicAttribute.java, | |
10542 | java/awt/font/ImageGraphicAttribute.java, | |
10543 | java/awt/font/NumericShaper.java: New files. | |
10544 | * Makefile.am | |
10545 | (awt_java_source_files): Added the following files: | |
10546 | java/awt/font/FontRenderContext.java | |
10547 | java/awt/font/ShapeGraphicAttribute.java | |
10548 | java/awt/font/MultipleMaster.java | |
10549 | java/awt/font/TransformAttribute.java | |
10550 | java/awt/font/GlyphJustificationInfo.java | |
10551 | java/awt/font/LineBreakMeasurer.java | |
10552 | java/awt/font/TextMeasurer.java | |
10553 | java/awt/font/TextLayout.java | |
10554 | java/awt/font/LineMetrics.java | |
10555 | java/awt/font/TextAttribute.java | |
10556 | java/awt/font/GlyphMetrics.java | |
10557 | java/awt/font/OpenType.java | |
10558 | java/awt/font/GlyphVector.java | |
10559 | java/awt/font/GraphicAttribute.java | |
10560 | java/awt/font/ImageGraphicAttribute.java | |
10561 | java/awt/font/NumericShaper.java | |
10562 | * Makefile.in: Regenerated. | |
10563 | ||
10564 | 2003-02-17 Michael Koch <konqueror@gmx.de> | |
10565 | ||
10566 | * java/awt/print/Paper.java | |
10567 | (Paper): Implements Cloneable. | |
10568 | * java/awt/print/PrinterJob.java | |
10569 | (setJobName): Return value must be void. | |
10570 | (print): Throws PrinterException. | |
10571 | ||
97a6e368 TT |
10572 | 2003-02-16 Tom Tromey <tromey@redhat.com> |
10573 | ||
10574 | * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused | |
10575 | variable. | |
10576 | ||
c68c712e MK |
10577 | 2003-02-15 Michael Koch <konqueror@gmx.de> |
10578 | ||
10579 | * java/awt/datatransfer/DataFlavor.java | |
10580 | (isRepresentationClassByteBuffer): Removed try-catch block. | |
10581 | (isRepresentationClassCharBuffer): Removed try-catch block. | |
10582 | (isRepresentationClassReader): Removed try-catch block. | |
10583 | ||
a5915965 JR |
10584 | 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu> |
10585 | ||
10586 | * java/nio/charset/Charset.java | |
10587 | (isRegistered): Fixed method args and implementation. | |
10588 | * java/nio/charset/CharsetEncoder.java | |
10589 | (unmappableCharacterAction): New method. | |
10590 | ||
30df932c MK |
10591 | 2003-02-15 Michael Koch <konqueror@gmx.de> |
10592 | ||
10593 | * java/awt/CheckboxMenuItem.java | |
10594 | (CheckBoxMenuItem): Dont implement Serializable. | |
10595 | (getListeners): New method, | |
10596 | (getItemListeners): New method. | |
10597 | * java/awt/Choice.java | |
10598 | (getListeners): New method, | |
10599 | (getItemListeners): New method. | |
10600 | * java/awt/Container.java | |
10601 | (getListeners): Added exception documentation. | |
10602 | (setFocusTraversalKeys): Throw exceptions, added documentattion. | |
10603 | (getFocusTraversalKeys): Added documentation. | |
10604 | (areFocusTraversalKeysSet): Added documentation. | |
10605 | (applyComponentOrientation): Added documentation. | |
10606 | * java/awt/ContainerOrderFocusTraversalPolicy.java | |
10607 | (implicitDownCycleTraversal): Renamed from downCycle for | |
10608 | serialization. | |
10609 | (ContainerOrderFocusTraversalPolicy): Added documentation. | |
10610 | (accept): Reformated. | |
10611 | * java/awt/Dialog.java | |
10612 | (Dialog): Dont implement Serializable. | |
10613 | (Dialog): Added documentation. | |
10614 | * java/awt/Font.java | |
10615 | (Font): Dont use absolute class name. | |
10616 | * java/awt/Frame.java | |
10617 | (Frame): Font implement Serializable. | |
10618 | * java/awt/List.java | |
10619 | (getListeners): New method, | |
10620 | (getActionListeners): New method. | |
10621 | (getItemListeners): New method. | |
10622 | * java/awt/Menu.java | |
10623 | (countItems): New deprecated method. | |
10624 | * java/awt/Scrollbar.java | |
10625 | (getListeners): New method, | |
10626 | (getAdjustmentListeners): New method, | |
10627 | * java/awt/TextComponent.java | |
10628 | (getListeners): New method, | |
10629 | (getTextListeners): New method, | |
10630 | * java/awt/TextField.java | |
10631 | (getListeners): New method, | |
10632 | (getActionListeners): New method. | |
10633 | * java/awt/Window.java | |
10634 | (windowFocusListener): New member variable. | |
10635 | (windowStateListener): New member variable. | |
10636 | (getWindowFocusListeners): New method. | |
10637 | (getWindowStateListeners): New method. | |
10638 | (addWindowFocusListener): New method. | |
10639 | (addWindowStateListener): New method. | |
10640 | (removeWindowFocusListener): New method. | |
10641 | (removeWindowStateListener): New method. | |
10642 | * java/awt/datatransfer/DataFlavor.java | |
10643 | (isRepresentationClassByteBuffer): New method. | |
10644 | (isRepresentationClassCharBuffer): New method. | |
10645 | (isRepresentationClassReader): New method. | |
10646 | ||
ce5b5a5e MW |
10647 | 2003-02-14 Mark Wielaard <mark@klomp.org> |
10648 | ||
10649 | * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to | |
10650 | zero when there is an exponent and the significant is zero. | |
10651 | (divide): Always set scale to newScale even in special ZERO case. | |
10652 | ||
b8c86c6d TT |
10653 | 2003-02-14 Tom Tromey <tromey@redhat.com> |
10654 | ||
10655 | * java/lang/System.java (properties): Use Properties.clone. | |
10656 | (setProperties): Likewise. | |
10657 | ||
b9799152 MK |
10658 | 2003-02-14 Michael Koch <konqueror@gmx.de> |
10659 | ||
10660 | * gnu/java/nio/natServerSocketChannelImpl.cc: Removed. | |
10661 | * gnu/java/nio/ServerSocketChannelImpl.java | |
10662 | (SocketAccept): Removed. | |
10663 | (accept): Commented out use of SocketAccept. | |
10664 | ||
6f2ffb37 TT |
10665 | 2003-02-13 Tom Tromey <tromey@redhat.com> |
10666 | ||
10667 | * verify.cc (state::seen_subrs): New field. | |
10668 | (state::state): Initialize it. | |
10669 | (state::clean_subrs): New method. | |
10670 | (state::~state): Call it. | |
10671 | (state::copy): Copy subroutine list. | |
10672 | (state::add_subr): New method. | |
10673 | (state::merge): Only register a change if the current subroutine | |
10674 | hasn't yet been noted. | |
10675 | ||
11477585 MW |
10676 | 2003-02-13 Mark Wielaard <mark@klomp.org> |
10677 | ||
10678 | * java/io/InputStreamReader.java (getEncoding): Return null when | |
10679 | closed. | |
10680 | * java/io/OutputStreamWriter.java (getEncoding): Likewise. | |
10681 | ||
530ee84d MW |
10682 | 2003-02-13 Mark Wielaard <mark@klomp.org> |
10683 | ||
10684 | * java/util/zip/InflaterInputStream.java (read): Return zero when len | |
10685 | is zero. | |
10686 | ||
8ad2b7a2 MW |
10687 | 2003-02-13 Mark Wielaard <mark@klomp.org> |
10688 | ||
10689 | * java/io/BufferedOutputStream.java (write(int)): Only flush when | |
10690 | next byte cannot be buffered. | |
10691 | ||
659efb32 MK |
10692 | 2003-02-13 Michael Koch <konqueror@gmx.de> |
10693 | ||
10694 | * java/awt/Label.java | |
10695 | (Label): Don't implement Serializable directly. | |
10696 | (addNotify): Fixed typo in documentation. | |
10697 | * java/awt/List.java | |
10698 | (List): Don't implement Serializable directly. | |
10699 | * java/awt/PopupMenu.java | |
10700 | (PopupMenu): Don't implement Serializable directly. | |
10701 | * java/awt/ScrollPane.java | |
10702 | (ScrollPane): Don't implement Serializable directly. | |
10703 | * java/awt/Scrollbar.java | |
10704 | (Scrollbar): Don't implement Serializable directly. | |
10705 | * java/awt/TextArea.java | |
10706 | (preferredSize): Fixed method arguments. | |
10707 | * java/awt/TextField.java | |
10708 | (TextField): Don't implement Serializable directly. | |
10709 | * java/awt/color/ICC_ColorSpace.java | |
10710 | (fromCIOXYZ): Documentation added. | |
10711 | (getMinValue): Documentation added. | |
10712 | (getMaxValue): Documentation added. | |
10713 | * java/awt/datatransfer/DataFlavor.java | |
10714 | (isMimeTypeEqual): May not be final. | |
10715 | (clone): Throws CloneNotSupportedException. | |
10716 | (getReaderForText): Don't throws UnsupportedEncodingException. | |
10717 | ||
1cb02bdf MK |
10718 | 2003-02-13 Michael Koch <konqueror@gmx.de> |
10719 | ||
10720 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
10721 | (drawString): New stubbed method. | |
10722 | * java/awt/Graphics.java | |
10723 | (drawString): New method. | |
10724 | ||
894c84e4 CM |
10725 | 2003-02-13 Casey Marshall <rsdio@metastatic.org> |
10726 | ||
10727 | PR libgcj/9271: | |
10728 | * java/security/SecureRandom.java (next): Avoid bias in results. | |
10729 | ||
6b603eb9 MK |
10730 | 2003-02-13 Michael <konqueror@gmx.de> |
10731 | ||
10732 | * gnu/java/nio/FileChannelImpl.java | |
10733 | (lengthInternal): Must be native. | |
10734 | (size): Check if channel is already closed. | |
10735 | (implCloseChannel): Reformated. | |
10736 | (read): w was unused, removed it. | |
10737 | (read): Removed. | |
10738 | (read): New method. | |
10739 | (write): New method. | |
10740 | (map): Check arguments. | |
10741 | (force): Throws IOException, check if channel is closed. | |
10742 | (transferTo): New method. | |
10743 | (transferFrom): New method. | |
10744 | (lock): New method. | |
10745 | (tryLock): New method. | |
10746 | (position): New method. | |
10747 | (truncate): New method. | |
10748 | (nio_mmap_file): Uncommented. | |
10749 | (nio_munmap_file): Uncommented. | |
10750 | (nio_msync): Uncommented. | |
10751 | * gnu/java/nio/natFileChannelImpl.cc: New file. | |
10752 | ||
8c9c9dfb MK |
10753 | 2003-02-13 Michael Koch <konqueror@gmx.de> |
10754 | ||
10755 | * java/nio/ByteBuffer.java | |
10756 | (endian): New member variable. | |
10757 | (get): New methods. | |
10758 | (equals): New method. | |
10759 | (compareTo): New method. | |
10760 | (order): New methods. | |
10761 | (compact): New method. | |
10762 | (isDirect): New method. | |
10763 | (slice): New method. | |
10764 | (duplicate): New method. | |
10765 | (asReadOnlyBuffer): New method. | |
10766 | (asCharBuffer): New method. | |
10767 | (asDoubleBuffer): New method. | |
10768 | (asFloatBuffer): New method. | |
10769 | (asIntBuffer): New method. | |
10770 | (asLongBuffer): New method. | |
10771 | (asShortBuffer): New method. | |
10772 | (get*): New methods. | |
10773 | (put*): New methods. | |
10774 | (toString): New method. | |
10775 | * java/nio/CharBuffer.java | |
10776 | (CharBuffer): Implement Comparable instead of Cloneable. | |
10777 | (get): May not be final. | |
10778 | (put): May not be final. | |
10779 | ||
4cce66c3 RM |
10780 | 2002-02-13 Ranjit Mathew <rmathew@hotmail.com> |
10781 | ||
10782 | * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use | |
10783 | lastIndexOf( ) instead of indexOf( ) to find the colon before | |
10784 | the line number, because Win32 file names might contain a | |
10785 | drive letter and a colon at the start of an absolute path. | |
10786 | ||
3b95ff5e MK |
10787 | 2003-02-13 Michael Koch <konqueror@gmx.de> |
10788 | ||
10789 | * gnu/java/nio/natSocketChannelImpl.cc | |
10790 | (SocketConnect): This is not implemented yet. | |
10791 | (SocketBind): This is not implemented yet. | |
10792 | ||
9038b8b4 MK |
10793 | 2003-02-13 Michael Koch <konqueror@gmx.de> |
10794 | ||
10795 | * gnu/java/nio/natByteBufferImpl.cc, | |
10796 | gnu/java/nio/natCharBufferImpl.cc, | |
10797 | gnu/java/nio/natDoubleBufferImpl.cc, | |
10798 | gnu/java/nio/natFloatBufferImpl.cc, | |
10799 | gnu/java/nio/natIntBufferImpl.cc, | |
10800 | gnu/java/nio/natLongBufferImpl.cc, | |
10801 | gnu/java/nio/natShortBufferImpl.cc: | |
10802 | Added copyright and license. | |
10803 | * java/nio/DoubleBuffer.java, | |
10804 | java/nio/FloatBuffer.java, | |
10805 | java/nio/IntBuffer.java, | |
10806 | java/nio/LongBuffer.java, | |
10807 | java/nio/ShortBuffer.java | |
10808 | (array): Throw exceptions. | |
10809 | (arrayOffset): Throw exceptions. | |
10810 | ||
63640075 MK |
10811 | 2003-02-13 Michael Koch <konqueror@gmx.de> |
10812 | ||
10813 | * gnu/java/util/prefs/FileBasedFactory.java, | |
10814 | gnu/java/util/prefs/MemmoryBasedFactory.java, | |
10815 | gnu/java/util/prefs/MemoryBasedPreferences.java, | |
10816 | gnu/java/util/prefs/NodeReader.java, | |
10817 | gnu/java/util/prefs/NodeWriter.java, | |
10818 | java/util/prefs/AbstractPreferences.java, | |
10819 | java/util/prefs/BackingStoreException.java, | |
10820 | java/util/prefs/InvalidPreferencesFormatException.java, | |
10821 | java/util/prefs/NodeChangeEvent.java, | |
10822 | java/util/prefs/NodeChangeListener.java, | |
10823 | java/util/prefs/PreferenceChangeEvent.java, | |
10824 | java/util/prefs/PreferenceChangeListener.java, | |
10825 | java/util/prefs/Preferences.java, | |
10826 | java/util/prefs/PreferencesFactory.java: | |
10827 | New files, all merged from classpath. | |
10828 | * Makefile.am | |
10829 | (ordinary_java_source_files): Added the following files: | |
10830 | gnu/java/util/prefs/FileBasedFactory.java, | |
10831 | gnu/java/util/prefs/MemmoryBasedFactory.java, | |
10832 | gnu/java/util/prefs/MemoryBasedPreferences.java, | |
10833 | gnu/java/util/prefs/NodeReader.java, | |
10834 | gnu/java/util/prefs/NodeWriter.java, | |
10835 | (core_java_source_files): Added the following files: | |
10836 | java/util/prefs/AbstractPreferences.java, | |
10837 | java/util/prefs/BackingStoreException.java, | |
10838 | java/util/prefs/InvalidPreferencesFormatException.java, | |
10839 | java/util/prefs/NodeChangeEvent.java, | |
10840 | java/util/prefs/NodeChangeListener.java, | |
10841 | java/util/prefs/PreferenceChangeEvent.java, | |
10842 | java/util/prefs/PreferenceChangeListener.java, | |
10843 | java/util/prefs/Preferences.java, | |
10844 | java/util/prefs/PreferencesFactory.java | |
10845 | * Makefile.in: Regenerated. | |
10846 | ||
31aef004 MK |
10847 | 2003-02-13 Michael Koch <konqueror@gmx.de> |
10848 | ||
10849 | * java/net/NetPermission.java | |
10850 | (NetPermission): Make doucmentation match the method declaration. | |
10851 | * java/net/NetworkInterface.java | |
10852 | (equals): Reformated for GNU coding style. | |
10853 | * java/net/ServerSocket.java: Merged with classpath. | |
10854 | * java/net/Socket.java: Partly merged with classpath (Added some @since). | |
10855 | * java/net/SocketImpl.java | |
10856 | (localPort): Merged with classpath (initialize with -1). | |
10857 | * java/net/SocketPermission.java: Merged with classpath (reindented). | |
10858 | * java/net/URLDecoder.java: Merged with classpath (reindented). | |
10859 | ||
4e3243ef MK |
10860 | 2003-02-13 Michael Koch <konqueror@gmx.de> |
10861 | ||
10862 | * java/awt/GridBagConstraints.java | |
10863 | (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START, | |
10864 | LINE_END, LINE_START, PAGE_END, PAGE_START): New constants. | |
10865 | * java/awt/KeyboardFocusManager.java | |
10866 | (setGlobalCurrentFocusCycleRoot): Must be public. | |
10867 | * java/awt/MenuComponent.java | |
10868 | (MenuComponent): Must be public. | |
10869 | * java/awt/Toolkit.java: | |
10870 | Added some empty lines to make documentation more readable. | |
10871 | (getFontPeer): Added @deprecated. | |
10872 | (getColorModel): Added exception documentation. | |
10873 | (getProperty): Fixed documentation. | |
10874 | ||
c4ebd83d JS |
10875 | 2003-02-12 Jeff Sturm <jsturm@one-point.com> |
10876 | ||
10877 | * configure.host (alpha*-*): Default to -mieee. | |
10878 | * configure.in (IEEESPEC): New. | |
10879 | * libgcj.spec.in (jc1): Add IEEESPEC. | |
10880 | * configure: Rebuild. | |
10881 | ||
ea5a63a2 RM |
10882 | 2003-02-12 Ranjit Mathew <rmathew@hotmail.com> |
10883 | ||
10884 | * include/win32.h: Include ws2tcpip.h instead of | |
10885 | winsock.h to obtain definition of the socklen_t type. | |
10886 | Remove IP_TOS definition - not needed with ws2tcpip.h | |
10887 | (_Jv_connect): Correct slight formatting error. | |
10888 | ||
c79d7702 RM |
10889 | 2003-02-12 Ranjit Mathew <rmathew@hotmail.com> |
10890 | ||
10891 | * jni.cc (_Jv_LookupJNIMethod): Modify to accept the | |
10892 | size of the arguments for a JNI function. For Win32, | |
10893 | modify to search for all forms of possible exported | |
10894 | names of an stdcall JNI function. | |
10895 | (_Jv_JNIMethod::call): Modify to calculate the size | |
10896 | of the arguments passed to a JNI function and pass | |
10897 | it to _Jv_LookupJNIMethod. | |
10898 | ||
0e0335e3 MK |
10899 | 2003-02-12 Michael Koch <konqueror@gmx.de> |
10900 | ||
10901 | * java/nio/channels/Channels.java: New file. | |
10902 | * Makefile.am | |
10903 | (ordinary_java_source_files): Added java/nio/channels/Channels.java. | |
10904 | * Makefile.in: Regenerated. | |
10905 | ||
ad2e63d5 MK |
10906 | 2003-02-12 Michael Koch <konqueror@gmx.de> |
10907 | ||
10908 | * java/nio/ByteBuffer.java | |
10909 | (allocate): Implemented. | |
10910 | (wrap): Implemented. | |
10911 | * java/nio/CharBuffer.java: | |
10912 | Some documentation added and reworked. | |
10913 | (endian): Removed. | |
10914 | (allocate): Implemented. | |
10915 | (wrap): Implemented. | |
10916 | (array): Throw exceptions. | |
10917 | (arrayOffset): Throw exceptions. | |
10918 | (toString): Implemented. | |
10919 | (length): Implemented. | |
10920 | (put): Implemented. | |
10921 | (charAt): Implemented. | |
10922 | ||
8f561af7 JL |
10923 | 2003-02-11 John Leuner <jewel@debian.org> |
10924 | ||
cc687dae TT |
10925 | * java/util/zip/ZipInputStream.java: Fix problem with 0-length |
10926 | reads from end of file. | |
8f561af7 | 10927 | |
668ec083 RM |
10928 | 2003-02-11 Ranjit Mathew <rmathew@hotmail.com> |
10929 | ||
10930 | * java/io/natFileDescriptorWin32.cc | |
10931 | (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( ) | |
10932 | returns with Win32 error code ERROR_BROKEN_PIPE. | |
10933 | ||
68441a3b MK |
10934 | 2003-02-11 Michael Koch <konqueror@gmx.de> |
10935 | ||
10936 | * Makefile.in | |
10937 | (libgcj_la_OBJECTS): Removed natSelctorImpl.la. | |
10938 | ||
248606ee MK |
10939 | 2003-02-11 Michael Koch <konqueror@gmx.de> |
10940 | ||
10941 | * gnu/java/nio/ByteBufferImpl.java: | |
10942 | Reformated and removed some code. | |
10943 | (backing_buffer): Removed. | |
10944 | (array_offset): Removed. | |
10945 | (ro): Renamed to readOnly. | |
10946 | (ByteBufferImpl): Use parent constructor, initialize readOnly. | |
10947 | * gnu/java/nio/CharBufferImpl.java: | |
10948 | Reformated and removed some code. | |
10949 | (array_offset): Removed. | |
10950 | (ro): Renamed to readOnly. | |
10951 | (CharBufferImpl): Use parent constructor, initialize readOnly. | |
10952 | (inc_pos): Removed. | |
10953 | (order): New method. | |
10954 | * gnu/java/nio/DoubleBufferImpl.java: | |
10955 | Reformated and removed some code. | |
10956 | (array_offset): Removed. | |
10957 | (ro): Renamed to readOnly. | |
10958 | (DoubleBufferImpl): Use parent constructor, initialize readOnly. | |
10959 | (inc_pos): Removed. | |
10960 | (order): New method. | |
10961 | * gnu/java/nio/FloatBufferImpl.java: | |
10962 | Reformated and removed some code. | |
10963 | (array_offset): Removed. | |
10964 | (ro): Renamed to readOnly. | |
10965 | (FloatBufferImpl): Use parent constructor, initialize readOnly. | |
10966 | (inc_pos): Removed. | |
10967 | (order): New method. | |
10968 | * gnu/java/nio/IntBufferImpl.java: | |
10969 | Reformated and removed some code. | |
10970 | (array_offset): Removed. | |
10971 | (ro): Renamed to readOnly. | |
10972 | (IntBufferImpl): Use parent constructor, initialize readOnly. | |
10973 | (inc_pos): Removed. | |
10974 | (order): New method. | |
10975 | * gnu/java/nio/LongBufferImpl.java: | |
10976 | Reformated and removed some code. | |
10977 | (array_offset): Removed. | |
10978 | (ro): Renamed to readOnly. | |
10979 | (LongBufferImpl): Use parent constructor, initialize readOnly. | |
10980 | (inc_pos): Removed. | |
10981 | (order): New method. | |
10982 | * gnu/java/nio/ShortBufferImpl.java: | |
10983 | Reformated and removed some code. | |
10984 | (array_offset): Removed. | |
10985 | (ro): Renamed to readOnly. | |
10986 | (ShortBufferImpl): Use parent constructor, initialize readOnly. | |
10987 | (inc_pos): Removed. | |
10988 | (order): New method. | |
10989 | * Makefile.am | |
10990 | (ordinary_java_source_files): Added the following files: | |
10991 | gnu/java/nio/ByteBufferImpl.java | |
10992 | gnu/java/nio/CharBufferImpl.java | |
10993 | gnu/java/nio/DoubleBufferImpl.java | |
10994 | gnu/java/nio/FloatBufferImpl.java | |
10995 | gnu/java/nio/IntBufferImpl.java | |
10996 | gnu/java/nio/LongBufferImpl.java | |
10997 | gnu/java/nio/ShortBufferImpl.java | |
10998 | java/nio/DoubleBuffer.java | |
10999 | java/nio/FloatBuffer.java | |
11000 | java/nio/IntBuffer.java | |
11001 | java/nio/LongBuffer.java | |
11002 | java/nio/ShortBuffer.java | |
11003 | (nat_source_files): Added the following files: | |
11004 | gnu/java/nio/natByteBufferImpl.cc | |
11005 | gnu/java/nio/natCharBufferImpl.cc | |
11006 | gnu/java/nio/natDoubleBufferImpl.cc | |
11007 | gnu/java/nio/natFloatBufferImpl.cc | |
11008 | gnu/java/nio/natIntBufferImpl.cc | |
11009 | gnu/java/nio/natLongBufferImpl.cc | |
11010 | gnu/java/nio/natShortBufferImpl.cc | |
11011 | * Makefile.in: Regenerated. | |
11012 | ||
194ea9ce MK |
11013 | 2003-02-11 Michael Koch <konqueror@gmx.de> |
11014 | ||
11015 | * gnu/java/nio/natCharBufferImpl.cc | |
11016 | (nio_cast): Removed. | |
11017 | (nio_put_*): Removed. | |
11018 | (nio_get_*): Removed. | |
11019 | * gnu/java/nio/natDoubleBufferImpl.cc | |
11020 | (nio_cast): Removed. | |
11021 | (nio_put_*): Removed. | |
11022 | (nio_get_*): Removed. | |
11023 | * gnu/java/nio/natFloatBufferImpl.cc | |
11024 | (nio_cast): Removed. | |
11025 | (nio_put_*): Removed. | |
11026 | (nio_get_*): Removed. | |
11027 | * gnu/java/nio/natIntBufferImpl.cc | |
11028 | (nio_cast): Removed. | |
11029 | (nio_put_*): Removed. | |
11030 | (nio_get_*): Removed. | |
11031 | * gnu/java/nio/natLongBufferImpl.cc | |
11032 | (nio_cast): Removed. | |
11033 | (nio_put_*): Removed. | |
11034 | (nio_get_*): Removed. | |
11035 | * gnu/java/nio/natShortBufferImpl.cc | |
11036 | (nio_cast): Removed. | |
11037 | (nio_put_*): Removed. | |
11038 | (nio_get_*): Removed. | |
11039 | * gnu/java/nio/SelectorProviderImpl.java | |
11040 | (openDatagramChannel): Throws IOException. | |
11041 | (openPipe): Throws IOException. | |
11042 | (openSelector): Throws IOException. | |
11043 | (openServerSocketChannel): Throws IOException. | |
11044 | (openSocketChannel): Throws IOException. | |
11045 | * gnu/java/nio/ServerSocketChannelImpl.java | |
11046 | (ServerSocketChannelImpl): Throws IOException. | |
11047 | (implCloseSelectableChannel): Throws IOException. | |
11048 | (implConfigureBlocking): Throws IOException. | |
11049 | * java/nio/ByteBuffer.java | |
11050 | (readOnly): Removed. | |
11051 | (hasArray): Use isReadOnly() instead of readOnly. | |
11052 | (array): Use isReadOnly() instead of readOnly. | |
11053 | (arrayOffset): Use isReadOnly() instead of readOnly. | |
11054 | * java/nio/CharBuffer.java | |
11055 | (CharBuffer): Implements Cloneable and CharSequence. | |
11056 | ||
c0da2641 MK |
11057 | 2003-02-11 Michael Koch <konqueror@gmx.de> |
11058 | ||
11059 | * java/nio/DoubleBuffer.java | |
11060 | (DoubleBuffer): Implements Comparable. | |
11061 | (endian): Removed. | |
11062 | (array_offset): New member variable. | |
11063 | (DoubleBuffer): New constuctor. | |
11064 | (get): May not be final. | |
11065 | (put): May not be final. | |
11066 | (arrayOffset): Implemented. | |
11067 | (order): Made abstract. | |
11068 | (order): Removed. | |
11069 | (as*Buffer): Removed. | |
11070 | (get*): Removed. | |
11071 | (put*): Removed. | |
11072 | * java/nio/FloatBuffer.java | |
11073 | (FloatBuffer): Implements Comparable. | |
11074 | (endian): Removed. | |
11075 | (array_offset): New member variable. | |
11076 | (FloatBuffer): New constuctor. | |
11077 | (get): May not be final. | |
11078 | (put): May not be final. | |
11079 | (arrayOffset): Implemented. | |
11080 | (order): Made abstract. | |
11081 | (order): Removed. | |
11082 | (as*Buffer): Removed. | |
11083 | (get*): Removed. | |
11084 | (put*): Removed. | |
11085 | * java/nio/IntBuffer.java | |
11086 | (IntBuffer): Implements Comparable. | |
11087 | (endian): Removed. | |
11088 | (array_offset): New member variable. | |
11089 | (IntBuffer): New constuctor. | |
11090 | (get): May not be final. | |
11091 | (put): May not be final. | |
11092 | (arrayOffset): Implemented. | |
11093 | (order): Made abstract. | |
11094 | (order): Removed. | |
11095 | (as*Buffer): Removed. | |
11096 | (get*): Removed. | |
11097 | (put*): Removed. | |
11098 | * java/nio/LongBuffer.java | |
11099 | (LongBuffer): Implements Comparable. | |
11100 | (endian): Removed. | |
11101 | (array_offset): New member variable. | |
11102 | (LongBuffer): New constuctor. | |
11103 | (get): May not be final. | |
11104 | (put): May not be final. | |
11105 | (arrayOffset): Implemented. | |
11106 | (order): Made abstract. | |
11107 | (order): Removed. | |
11108 | (as*Buffer): Removed. | |
11109 | (get*): Removed. | |
11110 | (put*): Removed. | |
11111 | * java/nio/ShortBuffer.java | |
11112 | (ShortBuffer): Implements Comparable. | |
11113 | (endian): Removed. | |
11114 | (array_offset): New member variable. | |
11115 | (ShortBuffer): New constuctor. | |
11116 | (get): May not be final. | |
11117 | (put): May not be final. | |
11118 | (arrayOffset): Implemented. | |
11119 | (order): Made abstract. | |
11120 | (order): Removed. | |
11121 | (as*Buffer): Removed. | |
11122 | (get*): Removed. | |
11123 | (put*): Removed. | |
11124 | ||
c34ce2a6 MK |
11125 | 2003-02-11 Michael Koch <konqueror@gmx.de> |
11126 | ||
11127 | * java/nio/channels/SelectionKey.java | |
11128 | (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct | |
11129 | values. | |
11130 | ||
d62f8f8d MK |
11131 | 2003-02-11 Michael Koch <konqueror@gmx.de> |
11132 | ||
11133 | * java/nio/channels/DatagramChannel.java | |
11134 | (write): Throws IOException. | |
11135 | (connect): Throws IOException. | |
11136 | (disconnect): Throws IOException. | |
11137 | (read): Throws IOException. | |
11138 | (receive): Throws IOException. | |
11139 | (send): Throws IOException. | |
11140 | * java/nio/channels/Pipe.java | |
11141 | (open): Throws IOException. | |
11142 | * java/nio/channels/SelectableChannel.java | |
11143 | (configureBlocking): Throws IOException. | |
11144 | * java/nio/channels/ServerSocketChannel.java | |
11145 | (accept): Throws IOException. | |
11146 | * java/nio/channels/SocketChannel.java | |
11147 | (SocketChannel): Implements ByteChannel, ScatteringByteChannel, | |
11148 | GatheringByteChannel. | |
11149 | (read): Throws IOException. | |
11150 | (write): Throws IOException. | |
11151 | (finishConnect): Throws IOException. | |
11152 | * java/nio/channels/spi/AbstractInterruptibleChannel.java | |
11153 | (end): Throws AsynchronousCloseException. | |
11154 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
11155 | (configureBlocking): Throws IOException. | |
11156 | (implCloseChannel): Throws IOException. | |
11157 | (implCloseSelectableChannel): Throws IOException. | |
11158 | (implConfigureBlocking): Throws IOException. | |
11159 | * java/nio/channels/spi/SelectorProvider.java | |
11160 | (openDatagramChannel): Throws IOException. | |
11161 | (openPipe): Throws IOException. | |
11162 | (openSelector): Throws IOException. | |
11163 | (openServerSocketChannel): Throws IOException. | |
11164 | (openSocketChannel): Throws IOException. | |
11165 | ||
e3b6a47f MK |
11166 | 2003-02-11 Michael Koch <konqueror@gmx.de> |
11167 | ||
11168 | * gnu/java/nio/FileLockImpl.java, | |
11169 | java/nio/channels/FileLock.java: New files. | |
11170 | ||
bde8b581 MK |
11171 | 2003-02-11 Michael Koch <konqueror@gmx.de> |
11172 | ||
11173 | * java/nio/charset/IllegalCharsetNameException.java | |
11174 | (serialVersionUID): New member variable. | |
11175 | (charsetName): New member variable. | |
11176 | (IllegalCharsetException): New implementation. | |
11177 | (getCharsetName): New implementation. | |
11178 | * java/nio/charset/UnsupportedCharsetException.java | |
11179 | (serialVersionUID): New member variable. | |
11180 | (charsetName): New member variable. | |
11181 | (UnsupportedCharsetException): New implementation. | |
11182 | (getCharsetName): New implementation. | |
11183 | ||
91adf6cf TT |
11184 | 2003-02-10 Tom Tromey <tromey@redhat.com> |
11185 | ||
11186 | * javax/sql/ConnectionEvent.java (serialVersionUID): New field. | |
11187 | (ex): Renamed from sqlException. | |
11188 | ||
ff23b16c RN |
11189 | 2003-02-10 Raif S. Naffah <raif@fl.net.au> |
11190 | ||
11191 | * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new | |
11192 | method used to ensure seeding has occurred and that a specific | |
11193 | seed can be set and used. | |
11194 | ||
d6a2d36e RM |
11195 | 2003-02-10 Ranjit Mathew <rmathew@hotmail.com> |
11196 | ||
11197 | * java/lang/Win32Process.java (destroy): Declare as native. | |
11198 | (hasExited): New native method. | |
11199 | (exitValue): Define. | |
11200 | (getErrorStream): Likewise. | |
11201 | (getInputStream): Likewise. | |
11202 | (getOutputStream): Likewise. | |
11203 | (waitFor): Declare as native. | |
11204 | (startProcess): New native method. | |
11205 | (cleanup): Likewise. | |
11206 | (ConcreteProcess): Define. | |
11207 | (outputStream, inputStream, errorStream): New members. | |
11208 | (procHandle, exitCode): Likewise. | |
11209 | ||
11210 | * java/lang/natWin32Process.cc | |
11211 | (java::lang::ConcreteProcess::cleanup): Define. | |
11212 | (java::lang::ConcreteProcess::destroy): Likewise. | |
11213 | (java::lang::ConcreteProcess::hasExited): Likewise. | |
11214 | (java::lang::ConcreteProcess::waitFor): Likewise. | |
11215 | (new_string): Likewise. | |
11216 | (java::lang::ConcreteProcess::startProcess): Likewise. | |
11217 | ||
17e39e5c RN |
11218 | 2003-02-10 Raif S. Naffah <raif@fl.net.au> |
11219 | ||
11220 | * java/math/BigInteger.java: | |
11221 | Updated notice to include years 2002 and 3. | |
11222 | Added 2 private (int) arrays with values from the HAC (Handbook of | |
11223 | Applied Cryptography -A. Menezes & al): k[] that contains bit lengths | |
11224 | and t[] that contains nbr. of tests --used in isProbablePrime(). | |
11225 | ||
11226 | * java/math/BigInteger.java (make(long)): Merged into valueOf(long). | |
11227 | ||
11228 | * java/math/BigInteger.java (make(int[],int), add(int,int), | |
11229 | add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI), | |
11230 | isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI), | |
11231 | bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of | |
11232 | make(long). | |
11233 | ||
11234 | * java/math/BigInteger.java (euclidInv): Reduce number of work vars | |
11235 | (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3. | |
11236 | (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6 | |
11237 | BIs and returns void. | |
11238 | (modInverse(BI)): Use new signatures of euclidInv(). | |
11239 | ||
11240 | * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with | |
11241 | static small primes instead of remainder(). | |
11242 | Use pre-computed max nbr of trials based on bitlength of BI to test. | |
11243 | Use pre-computed small primes for the trial tests instead of random | |
11244 | numbers. | |
11245 | ||
11246 | * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed. | |
11247 | not used. | |
11248 | ||
11249 | * java/math/BigInteger.java (format(int,StringBuffer)): Removed | |
11250 | invoacation of MPN.chars_per_word(). not used. | |
11251 | ||
11252 | * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as | |
11253 | local var and used where needed. | |
11254 | ||
11255 | * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling. | |
11256 | Combined declaration with initialisation of locals. | |
11257 | Removed unused var. | |
11258 | ||
11259 | * java/math/BigInteger.java: Style changes | |
11260 | (pow(int)): Removed 'else' keyword. | |
11261 | (toString(int)): idem. | |
11262 | (doubleValue()): idem. | |
11263 | (bitLength()): idem. | |
11264 | (equals(Object)): Use static methods name in same class w/o prepending | |
11265 | class name. | |
11266 | (doubleValue()): idem. | |
11267 | (setNegative(BI)): idem. | |
11268 | (negate()): idem. | |
11269 | (and(BI,int)): idem. | |
11270 | (and(BI)): idem. | |
11271 | (gcd(BI)): idem. | |
11272 | (byteArrayToIntArray()): Removed casting to (int). this is | |
11273 | std. behaviour. | |
11274 | (canonicalize()): idem. | |
11275 | (alloc(int)): Always instantiate a new BI. | |
11276 | ||
848f2ce8 TT |
11277 | 2003-02-10 Tom Tromey <tromey@redhat.com> |
11278 | ||
11279 | * java/sql/Timestamp.java (compareTo(Object)): New method. | |
11280 | (compareTo(Timestamp)): Likewise. | |
11281 | (serialVersionUID): Updated. | |
11282 | ||
b0b74f37 MW |
11283 | 2003-02-07 Mark Wielaard <mark@klomp.org> |
11284 | ||
11285 | * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest | |
11286 | when verify is true. | |
11287 | (JarFile(File, boolean)): Likewise. | |
11288 | (manifestRead): Set manifestRead field correctly. | |
11289 | ||
364df9fc SC |
11290 | 2003-02-07 Stephen Crawley <crawley@dstc.edu.au> |
11291 | ||
11292 | * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013 | |
11293 | tests; see patch #1016 on Savannah. | |
11294 | ||
11295 | 2003-02-07 Stephen Crawley <crawley@dstc.edu.au> | |
11296 | ||
11297 | * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents | |
11298 | (toString): do not return Strings starting with . and - erroneously. | |
11299 | Improves Mauve results to 12 of 600 instead of 16 of 338 on | |
11300 | DiagBigDecimal. | |
11301 | ||
b20fcd47 SC |
11302 | 2003-02-07 Stephen Crawley <crawley@dstc.edu.au> |
11303 | ||
11304 | * java/beans/PropertyDescriptor.java | |
11305 | (PropertyDescriptor(String, Class)): Sanity check getter and setter | |
11306 | methods. | |
11307 | (PropertyDescriptor(String, Class, String, String)): Likewise. | |
11308 | (PropertyDescriptor(String, Method, Method): Factor out getter and | |
11309 | setter method sanity checks into new method. | |
11310 | (findMethods): Don't do parameter sanity checking of get method here. | |
11311 | (checkMethods): New method. | |
11312 | ||
11313 | 2003-02-07 Stephen Crawley <crawley@dstc.edu.au> | |
11314 | ||
11315 | * java/beans/PropertyDescriptor.java: Reformat. | |
11316 | ||
a1db3446 TT |
11317 | 2003-02-04 Tom Tromey <tromey@redhat.com> |
11318 | ||
11319 | * java/io/PipedOutputStream.java (flush): Declare as throwing | |
11320 | IOException. | |
11321 | (close): Likewise. | |
11322 | * java/io/PipedWriter.java (close): Declare as throwing | |
11323 | IOException. | |
11324 | * java/io/StringWriter.java (close): Declare as throwing | |
11325 | IOException. | |
11326 | ||
d074ed7c RM |
11327 | 2003-02-03 Ranjit Mathew <rmathew@hotmail.com> |
11328 | ||
11329 | * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care | |
11330 | of the fact that on Win32, JNI_OnLoad is an "stdcall" function and | |
11331 | could also have been exported as "JNI_OnLoad@8" (MinGW) or | |
11332 | "_JNI_OnLoad@8" (MSVC). | |
11333 | ||
9762ec76 RM |
11334 | 2003-02-03 Ranjit Mathew <rmathew@hotmail.com> |
11335 | ||
11336 | * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling | |
11337 | convention on Win32 to invoke native JNI methods. | |
11338 | ||
cea9c57b | 11339 | 2003-02-03 Andrew Haley <aph@redhat.com> |
7b22f8b0 AH |
11340 | |
11341 | * configure.host (x86_64): Enable interpreter. | |
11342 | ||
4b445d7c AH |
11343 | 2003-02-03 Andrew Haley <aph@redhat.com> |
11344 | ||
11345 | * libgcj.spec.in (jc1): Add BACKTRACESPEC. | |
11346 | * configure.host (x86_64): Default to -fno-omit-frame-pointer. | |
11347 | * configure.in (BACKTRACESPEC): New. | |
11348 | * configure: Regenerate. | |
11349 | ||
5f9cea34 TT |
11350 | 2003-02-02 Tom Tromey <tromey@redhat.com> |
11351 | ||
9e8e1bec TT |
11352 | * configure: Rebuilt. |
11353 | * configure.in (TOOLKIT) [xlib]: Set correctly. | |
11354 | ||
5f9cea34 TT |
11355 | * Makefile.in: Rebuilt. |
11356 | * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against | |
11357 | libstdc++. | |
11358 | ||
ccbaec26 MW |
11359 | 2003-01-31 Mark WIelaard <mark@klomp.org> |
11360 | ||
11361 | * Makefile.in: Rebuilt. | |
11362 | * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude. | |
11363 | ||
072b0db2 TT |
11364 | 2003-01-31 Tom Tromey <tromey@redhat.com> |
11365 | ||
9bc825c4 TT |
11366 | * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be |
11367 | cast to element type. | |
11368 | (_Jv_JNI_SetObjectArrayElement): Check array bounds. | |
11369 | (_Jv_JNI_GetObjectArrayElement): Likewise. | |
11370 | ||
072b0db2 TT |
11371 | * Makefile.in: Rebuilt. |
11372 | * Makefile.am (cond_x_ltlibrary): Renamed library to | |
11373 | lib-gnu-awt-xlib.la. | |
11374 | (lib_gnu_awt_xlib_la_SOURCES): Renamed. | |
11375 | (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise. | |
11376 | (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise. | |
11377 | (lib_gnu_awt_xlib_la_LIBADD): Likewise. | |
11378 | (lib_gnu_awt_xlib_la_LDFLAGS): Likewise. | |
11379 | (lib_gnu_awt_xlib_la_LINK): Likewise. | |
11380 | (install-exec-hook): Removed. | |
11381 | (lib-gnu-awt-xlib.la): Renamed. | |
11382 | ||
5aac1dac TT |
11383 | 2003-01-31 Tom Tromey <tromey@redhat.com> |
11384 | ||
60c7f4ef TT |
11385 | * aclocal.m4, configure, include/config.h.in: Rebuilt. |
11386 | * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in | |
11387 | aclocal.m4 and lost in some merge. | |
11388 | ||
5aac1dac TT |
11389 | * java/awt/Window.java (Window(Window,GraphicsConfiguration)): |
11390 | Don't try to find graphics configuration. | |
11391 | * java/awt/Toolkit.java (default_toolkit_name): Use new | |
11392 | Configuration entry. | |
11393 | * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit): | |
11394 | New global. | |
11395 | * configure: Rebuilt. | |
11396 | * configure.in (TOOLKIT): New subst. | |
11397 | (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required. | |
11398 | Do AWT tests much earlier. Run Gtk tests. Make jniinclude | |
11399 | directory. Make output directories for .c files. | |
11400 | * Makefile.in: Rebuilt. | |
11401 | * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro. | |
11402 | (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary. | |
11403 | (all_java_source_files): Added new sources. | |
11404 | ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target. | |
11405 | (gtk_c_files): New macro. | |
11406 | (gtk_c_source_files): New macro. | |
11407 | (cond_gtk_ltlibrary): New macro. | |
11408 | ($(gtk_c_files)): New target. | |
11409 | (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro. | |
11410 | (gtk_awt_peer_sources): New macro. | |
11411 | (gtk_c_headers): New macro. | |
11412 | ($(gtk_c_headers)): New target. | |
11413 | (ACLOCAL_AMFLAGS): New macro. | |
11414 | * gtk.m4, glib.m4, libart.m4: New files. | |
11415 | * gnu/java/awt/peer/gtk/GdkFontMetrics.java, | |
11416 | gnu/java/awt/peer/gtk/GdkGraphics.java, | |
11417 | gnu/java/awt/peer/gtk/GtkArg.java, | |
11418 | gnu/java/awt/peer/gtk/GtkArgList.java, | |
11419 | gnu/java/awt/peer/gtk/GtkButtonPeer.java, | |
11420 | gnu/java/awt/peer/gtk/GtkCanvasPeer.java, | |
11421 | gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java, | |
11422 | gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java, | |
11423 | gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, | |
11424 | gnu/java/awt/peer/gtk/GtkChoicePeer.java, | |
11425 | gnu/java/awt/peer/gtk/GtkClipboard.java, | |
11426 | gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
11427 | gnu/java/awt/peer/gtk/GtkContainerPeer.java, | |
11428 | gnu/java/awt/peer/gtk/GtkDialogPeer.java, | |
11429 | gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, | |
11430 | gnu/java/awt/peer/gtk/GtkFontPeer.java, | |
11431 | gnu/java/awt/peer/gtk/GtkFramePeer.java, | |
11432 | gnu/java/awt/peer/gtk/GtkGenericPeer.java, | |
11433 | gnu/java/awt/peer/gtk/GtkImage.java, | |
11434 | gnu/java/awt/peer/gtk/GtkImagePainter.java, | |
11435 | gnu/java/awt/peer/gtk/GtkLabelPeer.java, | |
11436 | gnu/java/awt/peer/gtk/GtkListPeer.java, | |
11437 | gnu/java/awt/peer/gtk/GtkMainThread.java, | |
11438 | gnu/java/awt/peer/gtk/GtkMenuBarPeer.java, | |
11439 | gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, | |
11440 | gnu/java/awt/peer/gtk/GtkMenuItemPeer.java, | |
11441 | gnu/java/awt/peer/gtk/GtkMenuPeer.java, | |
11442 | gnu/java/awt/peer/gtk/GtkOffScreenImage.java, | |
11443 | gnu/java/awt/peer/gtk/GtkPanelPeer.java, | |
11444 | gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java, | |
11445 | gnu/java/awt/peer/gtk/GtkScrollbarPeer.java, | |
11446 | gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, | |
11447 | gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, | |
11448 | gnu/java/awt/peer/gtk/GtkTextComponentPeer.java, | |
11449 | gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, | |
11450 | gnu/java/awt/peer/gtk/GtkToolkit.java, | |
11451 | gnu/java/awt/peer/gtk/GtkWindowPeer.java, | |
11452 | gnu/java/awt/peer/gtk/TestAWT.java, | |
11453 | gnu/java/awt/peer/gtk/Test.java: New files from Classpath. | |
11454 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c, | |
11455 | jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c, | |
11456 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, | |
11457 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c, | |
11458 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c, | |
11459 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c, | |
11460 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c, | |
11461 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c, | |
11462 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, | |
11463 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c, | |
11464 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c, | |
11465 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c, | |
11466 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c, | |
11467 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c, | |
11468 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c, | |
11469 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c, | |
11470 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c, | |
11471 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c, | |
11472 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c, | |
11473 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c, | |
11474 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c, | |
11475 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c, | |
11476 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, | |
11477 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c, | |
11478 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c, | |
11479 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c, | |
11480 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c, | |
11481 | jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h, | |
11482 | jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h, | |
11483 | jni/classpath/jnilink.c, jni/classpath/jnilink.h, | |
11484 | jni/classpath/native_state.c, jni/classpath/native_state.h, | |
11485 | jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise. | |
11486 | ||
371ac725 JD |
11487 | 2003-01-31 Julian Dolby <dolby@us.ibm.com> |
11488 | ||
11489 | * java/util/Properties.java (load): Ignore backslash before EOF. | |
11490 | ||
ae724017 JS |
11491 | 2003-01-30 Jeff Sturm <jsturm@one-point.com> |
11492 | ||
11493 | * java/lang/natClass.cc (initializeClass): Check tables when | |
11494 | (state == JV_STATE_IN_PROGRESS). | |
11495 | (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface. | |
11496 | * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle | |
11497 | interpreted classes. | |
11498 | (linkClass0): Use _Jv_WaitForState. | |
11499 | ||
757e1662 OP |
11500 | 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com> |
11501 | ||
11502 | * java/awt/Component.java (processPaintEvent): Dispose of Graphics | |
11503 | object when finished. | |
11504 | ||
e9e93c8b AT |
11505 | 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch> |
11506 | ||
11507 | * libjava/configure.host: Disable can_unwind_signal on darwin. | |
11508 | ||
65b8e874 RM |
11509 | 2003-01-28 Ranjit Mathew <rmathew@hotmail.com> |
11510 | ||
11511 | Fixes PR java/9254: | |
11512 | * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct | |
11513 | additionally containing id of the owner thread as well as | |
11514 | the number of nested times the thread has acquired the mutex. | |
11515 | (_Jv_MutexInit): Initialise owner thread id and refcount to 0. | |
11516 | (_Jv_MutexDestroy): Reset owner thread id and refcount to 0. | |
11517 | (_Jv_MutexUnlock): Check if really the owner thread, reset | |
11518 | owner thread id to 0 before leaving, if leaving for the last | |
11519 | time. | |
11520 | (_Jv_MutexLock): Set owner thread id in the mutex and increment | |
11521 | refcount. | |
11522 | (_Jv_ThreadYield): Yield using a call to Sleep(0). | |
11523 | * win32-threads.cc (_Jv_CondWait): Check if really owner of | |
11524 | the passed mutex. | |
11525 | Pass handle of the broadcast event, instead of a pointer to it | |
11526 | in Win32 ResetEvent( ) call. | |
11527 | Remove incorrect return values. | |
11528 | (_Jv_CondDestroy): Close both event handles and delete | |
11529 | critical section. | |
11530 | (_Jv_CondNotify): Check if really the owner thread. | |
11531 | (_Jv_CondNotifyAll): Check if really the owner thread. | |
11532 | (_Jv_InitThreads): Change daemon_cond to a manual-reset event. | |
11533 | (really_start): Use SetEvent( ) to signal daemon_cond. | |
11534 | (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use | |
11535 | WaitForSingleObject( ) instead to wait for daemon_cond to be | |
11536 | signalled. | |
11537 | ||
e4261ef7 RM |
11538 | 2003-01-27 Ranjit Mathew <rmathew@hotmail.com> |
11539 | ||
11540 | * configure.in: Specifically define HAVE_BACKTRACE if building | |
11541 | for MinGW. | |
11542 | * include/win32.h: Remove HAVE_BACKTRACE definition. | |
11543 | * gnu/gcj/runtime/natStackTrace.cc: Include platform.h. | |
11544 | * configure: Rebuilt. | |
11545 | ||
dbf45a01 AO |
11546 | 2003-01-27 Alexandre Oliva <aoliva@redhat.com> |
11547 | ||
11548 | * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir): | |
11549 | Set and AC_SUBST. Remove USE_LIBDIR conditional. | |
11550 | * Makefile.am (toolexecdir, toolexeclibdir): Don't override. | |
11551 | (toolexecmainlib_DATA): Renamed from toolexeclib_DATA. | |
11552 | * Makefile.in, configure: Rebuilt. | |
11553 | ||
0ced4335 RM |
11554 | 2003-01-24 Ranjit Mathew <rmathew@hotmail.com> |
11555 | ||
11556 | Fixes PR java/9253: | |
11557 | * java/io/natFileWin32.cc (performList): Append only "*.*" | |
11558 | if the canonical file path already has a "\" at the end. | |
11559 | ||
4c98b1b0 TT |
11560 | 2003-01-24 Tom Tromey <tromey@redhat.com> |
11561 | ||
11562 | * defineclass.cc (handleMethodsEnd): Precompute code for static | |
11563 | method. | |
11564 | (handleCodeAttribute): Likewise. | |
11565 | * resolve.cc (ncode): Use run_class for unsynchronized static | |
11566 | methods. | |
11567 | * include/java-interp.h (class _Jv_InterpMethod): Declare | |
11568 | run_class. | |
11569 | * interpret.cc (run_synch_class): Initialize class. | |
11570 | (run) [insn_invokestatic]: Don't initialize class. | |
11571 | [insn_anewarray]: Likewise. | |
11572 | [insn_multianewarray]: Likewise. | |
11573 | (run_class): New function. | |
11574 | ||
d291503a TT |
11575 | 2003-01-24 Tom Tromey <tromey@redhat.com> |
11576 | ||
11577 | * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous | |
11578 | comment. | |
11579 | ||
f8061f6a AH |
11580 | 2003-01-22 Andrew Haley <aph@redhat.com> |
11581 | ||
11582 | * x86_64-signal.h: Add simple handler for x86_64 32-bit mode. | |
11583 | * configure.host (CHECKREFSPEC): Define for x86_64. | |
11584 | ||
570168b2 TT |
11585 | 2003-01-21 Tom Tromey <tromey@redhat.com> |
11586 | ||
11587 | * java/util/natResourceBundle.cc (getCallingClassLoader): Start | |
11588 | search at 2, not 3. | |
11589 | ||
691255fb VP |
11590 | 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu> |
11591 | ||
11592 | * java/io/natFileWin32.cc (isAbsolute): Check path length before | |
11593 | looking at any characters. | |
11594 | * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will | |
11595 | be used. | |
11596 | (isAbsolute): Check path's length as well. | |
11597 | ||
827452ae MW |
11598 | 2003-01-17 Mark Wielaard <mark@klomp.org> |
11599 | ||
11600 | * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java. | |
11601 | (nat_source_files): Add natVMObjectStreamClass.cc. | |
11602 | * Makefile.in: Regenerated. | |
11603 | * gcj/javaprims.h (namespace java): Regenerated. | |
11604 | * java/io/ObjectStreamClass.java (getClassUID): Call | |
11605 | VMObjectStreamClass.hasClassInitializer(). | |
11606 | (hasClassInitializer): Removed. | |
11607 | * java/io/VMObjectStreamClass.java: New class. | |
11608 | * java/io/natVMObjectStreamClass.cc: New file. | |
11609 | * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class. | |
11610 | ||
3afcbc9b MW |
11611 | 2003-01-16 Mark Wielaard <mark@klomp.org> |
11612 | ||
11613 | * java/net/SocketImpl.java (toString): Don't explicitly call | |
11614 | toString() on possible null address. | |
11615 | ||
676f46d0 MK |
11616 | 2003-01-16 Michael Koch <konqueror@gmx.de> |
11617 | ||
11618 | * java/net/MulticastSocket.java | |
11619 | (setInterface): Reindented. | |
11620 | ||
f826d595 SG |
11621 | 2003-01-15 Scott Gilbertson <scottg@mantatest.com> |
11622 | ||
11623 | * gnu/gcj/xlib/natGC.cc (fillPolygon): New method. | |
11624 | * gnu/gcj/xlib/GC.java (fillPolygon): Declare. | |
11625 | * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and | |
11626 | translateY arguments. Implement. | |
11627 | * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass | |
11628 | down translation arguments. | |
11629 | (drawPolyline, drawPolygon): Fix incorrect tests. | |
11630 | * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added | |
11631 | translateX and translateY arguments. | |
11632 | ||
2af84af5 SG |
11633 | 2003-01-15 Scott Gilbertson <scottg@mantatest.com> |
11634 | ||
11635 | * Makefile.in: Rebuilt. | |
11636 | * Makefile.am (xlib_includes): New macro. | |
11637 | (INCLUDES): Use it. | |
11638 | ||
7a968a57 SG |
11639 | 2003-01-15 Scott Gilbertson <scottg@mantatest.com> |
11640 | ||
11641 | * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented. | |
11642 | * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with | |
11643 | 16-bit display mode. | |
11644 | ||
09d096a8 SG |
11645 | 2003-01-15 Scott Gilbertson <scottg@mantatest.com> |
11646 | ||
11647 | * java/awt/CardLayout.java (show): Rewrote. | |
11648 | (gotoComponent): Removed `target' argument. Simplified code. | |
11649 | Don't pre-compute `choice' unless `what' is FIRST or LAST. | |
11650 | Changed all callers. | |
11651 | (NONE): Removed. | |
11652 | ||
8cb5ee71 MK |
11653 | 2003-01-14 Michael Koch <konqueror@gmx.de> |
11654 | ||
11655 | * java/net/InetSocketAddress.java | |
11656 | (serialVersionUID): New member variable. | |
11657 | * java/net/NetPermission.java | |
11658 | (NetPermission): Dont implement java.io.Serialization directly. | |
11659 | * java/net/SocketAddress.java: | |
11660 | (serialVersionUID): Documentation added. | |
11661 | ||
7365ecf7 MK |
11662 | 2003-01-14 Michael Koch <konqueror@gmx.de> |
11663 | ||
11664 | * java/awt/Label.java | |
11665 | (Label): Implements javax.accessibility.Accessible; | |
11666 | * java/awt/List.java | |
11667 | (List): Implements javax.accessibility.Accessible; | |
11668 | * java/awt/ScrollPane.java | |
11669 | (ScrollPane): Implements javax.accessibility.Accessible; | |
11670 | * java/awt/Scrollbar.java | |
11671 | (Scrollbar): Implements javax.accessibility.Accessible; | |
11672 | * java/awt/TextComponent.java | |
11673 | (setCaretPosition): Throw exception, documentation added. | |
11674 | * java/awt/Toolkit.java: | |
11675 | Added some newlines in method documentations. | |
11676 | (createButton): Exception documentation added. | |
11677 | (createTextField): Exception documentation added. | |
11678 | (createLabel): Exception documentation added. | |
11679 | (createList): Exception documentation added. | |
11680 | (createCheckbox): Exception documentation added. | |
11681 | (createScrollbar): Exception documentation added. | |
11682 | (createScrollPane): Exception documentation added. | |
11683 | (createTextArea): Exception documentation added. | |
11684 | (createChoice): Exception documentation added. | |
11685 | (createFrame): Exception documentation added. | |
11686 | (createWindow): Exception documentation added. | |
11687 | (createDialog): Exception documentation added. | |
11688 | (createMenuBar): Exception documentation added. | |
11689 | (createMenu): Exception documentation added. | |
11690 | (createMenuItem): Exception documentation added. | |
11691 | (createFileDialog): Exception documentation added. | |
11692 | (createCheckboxMenuItem): Exception documentation added. | |
11693 | (loadSystemColors): Exception documentation added. | |
11694 | (setDynamicLayout): Exception documentation added. | |
11695 | (isDynamicLayoutSet): Exception documentation added. | |
11696 | (isDynamicLayoutActive): Exception documentation added. | |
11697 | (getScreenSize): Exception documentation added. | |
11698 | (getScreenResolution): Exception documentation added. | |
11699 | (getScreenInsets): Exception documentation added. | |
11700 | (getColorModel): Exception documentation added. | |
11701 | (getSystemClipboard): Exception documentation added. | |
11702 | (getSystemSelection): Exception documentation added. | |
11703 | (getMenuShortcutKeyMask): Exception documentation added. | |
11704 | (getSystemEventQueue): Exception documentation added. | |
11705 | * java/awt/Window.java: | |
11706 | Reindented some code. | |
11707 | (Window): Centralized implementation, documentation added. | |
11708 | (finalize): Documentation added. | |
11709 | (hide): Fixed typo in comment. | |
11710 | (getWindowListeners): Documentation added. | |
11711 | * java/awt/color/ColorSpace.java | |
11712 | (toRGB): Documentation added. | |
11713 | * java/awt/color/ICC_ColorSpace.java | |
11714 | (ICC_ColorSpace): Documentation added. | |
11715 | (toRGB): Throw exception, documentation added. | |
11716 | (fromRGB): Throw exception, documentation added. | |
11717 | (toCIEXYZ): Documentation added. | |
11718 | (fromCIEXYZ): Documentation added. | |
11719 | (getMinValue): Documentation added. | |
11720 | (getMaxValue): Documentation added. | |
11721 | * java/awt/geom/Dimension2D.java | |
11722 | (clone): Documentation added. | |
11723 | * java/awt/geom/GeneralPath.java | |
11724 | (clone): Documentation added. | |
11725 | * java/awt/geom/Line2D.java | |
11726 | (clone): Documentation added. | |
11727 | * java/awt/geom/QuadCurve2D.java | |
11728 | (clone): Documentation added. | |
11729 | * java/awt/image/ColorModel.java | |
11730 | (ColorModel): Throw exception, documentation added. | |
11731 | * java/awt/image/ImageFilter.java | |
11732 | (clone): Doesnt throw CloneNotSupportedException. | |
11733 | ||
4cf0d20f AH |
11734 | 2003-01-14 Andrew Haley <aph@redhat.com> |
11735 | ||
11736 | * java/lang/natRuntime.cc (_load): StackTrace access needs to be | |
11737 | in a try block. | |
11738 | ||
399df6db AH |
11739 | 2003-01-10 Andrew Haley <aph@redhat.com> |
11740 | ||
11741 | * include/dwarf2-signal.h: Remove x86_64. | |
11742 | * configure.host (x86_64 DIVIDESPEC): Remove. | |
11743 | * include/x86_64-signal.h: New file. | |
11744 | * configure.in: Regenerate. | |
11745 | ||
927818a5 MK |
11746 | 2003-01-10 Michael Koch <konqueror@gmx.de> |
11747 | ||
11748 | * java/net/DatagramSocket.java | |
11749 | (ch): Description added. | |
11750 | (remotePort): Initialize with -1. | |
11751 | (connect): Doesnt throws SocketException. | |
11752 | * java/net/MulticastSocket.java | |
11753 | (setInterface): Merge with Classpath. | |
11754 | * java/net/ServerSocket.java | |
11755 | (closed): New member variable. | |
11756 | (bind): Check if socket is closed. | |
11757 | (close): Close an associated channel too, set new value to closed. | |
11758 | (isBound): Reindented. | |
11759 | (isClosed): Implemented. | |
11760 | * java/net/Socket.java | |
11761 | (closed): New member variable. | |
11762 | (bind): Check if socket is closed. | |
11763 | (connect): Check if socket is closed. | |
11764 | (close): Close an associated channel too, set new value to closed. | |
11765 | (isClosed): Implemented. | |
11766 | ||
b1771c6a MK |
11767 | 2003-01-10 Michael Koch <konqueror@gmx.de> |
11768 | ||
11769 | * java/awt/DisplayMode.java | |
11770 | (equals): Fixed argument type and implementation. | |
11771 | ||
6ec62897 TT |
11772 | 2003-01-07 Tom Tromey <tromey@redhat.com> |
11773 | ||
11774 | * include/posix.h (_Jv_platform_usleep): Wrap in ifdef | |
11775 | JV_HASH_SYNCHRONIZATION. | |
11776 | * include/win32.h (_Jv_platform_usleep): Wrap in ifdef | |
11777 | JV_HASH_SYNCHRONIZATION. | |
11778 | ||
f2741d5f MK |
11779 | 2003-01-07 Michael Koch <konqueror@gmx.de> |
11780 | ||
11781 | * java/net/DatagramSocket.java: | |
11782 | Added classpath license info. | |
11783 | (DatagramSocket): Merged description with classpath. | |
11784 | (close): Merged description with classpath. | |
11785 | (getChannel): Merged description with classpath. | |
11786 | (getInetAddress): Merged description with classpath. | |
11787 | (getPort): Merged description with classpath. | |
11788 | (getLocalAddress): Merged description with classpath. | |
11789 | (getLocalPort): Merged description with classpath. | |
11790 | (getSoTimeout): Merged description with classpath. | |
11791 | (setSoTimeout): Merged description with classpath. | |
11792 | (getSendBufferSize): Merged description with classpath. | |
11793 | (setSendBufferSize): Merged description with classpath. | |
11794 | (getReceiveBufferSize): Merged description with classpath. | |
11795 | (setReceiveBufferSize): Merged description with classpath. | |
11796 | ||
3128dd5c TT |
11797 | 2003-01-04 Tom Tromey <tromey@redhat.com> |
11798 | ||
11799 | * java/awt/List.java: Merged with Classpath. | |
11800 | ||
1d5c46dc MW |
11801 | 2003-01-03 Mark Wielaard <mark@klomp.org> |
11802 | ||
11803 | * java/io/FileDescriptor.java (position): New private field. | |
11804 | * java/io/natFileDescriptorPosix.cc (write): Up position. | |
11805 | (setLength): Use and set position. | |
11806 | (seek): Set position. | |
11807 | (getFilePointer): Return position. | |
11808 | (read): Up position. | |
11809 | ||
3aa0cc4e MW |
11810 | 2003-01-03 Mark Wielaard <mark@klomp.org> |
11811 | ||
11812 | Merge with Classpath: | |
11813 | * java/io/ObjectStreamClass.java (lookup): Split method and call | |
11814 | lookupForClassObject(). | |
11815 | (lookupForClassObject): New method. | |
11816 | (isProxyClass): New field. | |
11817 | (setClass): Set isProxyClass, add object to classLookupTable, set | |
11818 | superClass and calculateOffsets. | |
11819 | (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable | |
11820 | and not a proxy class. | |
11821 | (setFields): Set accessible true for serialPersistentFields. | |
11822 | (getClassUID): Same for suid. And check if suid is of type long. | |
11823 | (hasClassInitializer): Don't throw NoSuchMethodError. | |
11824 | ||
2d2d0877 MW |
11825 | 2003-01-03 Mark Wielaard <mark@klomp.org> |
11826 | ||
11827 | * java/io/FileInputStream.java (finalize): Don't explicitly | |
11828 | finalize FileDescriptor. | |
11829 | ||
2eb1ea83 JS |
11830 | 2003-01-03 Jeff Sturm <jsturm@one-point.com> |
11831 | ||
11832 | * configure.host (sparc*-*): Enable bytecode interpreter. | |
11833 | ||
5e694fba DBK |
11834 | 2003-01-03 Dhek Bhun Kho <bhun@chello.nl> |
11835 | ||
11836 | * gnu/java/rmi/server/UnicastServerRef.java (unexportObject): | |
11837 | Don't throw RemoteException. | |
11838 | * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't | |
11839 | throw RemoteException. | |
11840 | ||
9c91c80b JB |
11841 | 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de> |
11842 | ||
11843 | * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse, | |
11844 | proxyHost): New static fields. | |
11845 | (<clinit>): Initialize new fields. | |
11846 | (connect): Use proxy if necessary. | |
11847 | (usingProxy): Implement. | |
11848 | ||
29456fb8 EB |
11849 | 2003-01-03 Eric Blake <ebb9@email.byu.edu> |
11850 | ||
11851 | * java/util/TreeMap.java (fabricateTree): Fix off-by-one error. | |
11852 | (TreeIterator.remove): Prefer IllegalStateException over | |
11853 | ConcurrentModificationException, to match Sun. | |
11854 | ||
7125beea AG |
11855 | 2002-12-22 Anthony Green <green@redhat.com> |
11856 | ||
11857 | * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class. | |
11858 | ||
3e0cb4ff MW |
11859 | 2003-01-02 Mark Wielaard <mark@klomp.org> |
11860 | ||
11861 | * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be | |
11862 | public. | |
11863 | (HTTP_USE_PROXY): Add field. | |
11864 | (getResponseVals): Only set responseCode when not yet explicitly | |
11865 | set by subclass. | |
11866 | ||
1a82c94b AB |
11867 | 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl> |
11868 | Mark Wielaard <mark@klomp.org> | |
11869 | ||
11870 | * java/util/zip/ZipFile.java (entries): Now HashMap. | |
11871 | (readLeShort(DataInput, byte[])): Read from given byte array. | |
11872 | (readLeInt(DataInput, byte[]): Likewise. | |
11873 | (readLeShort(byte[] b, int off)): New method. | |
11874 | (readLeInt(byte[] b, int off)): Likewise. | |
11875 | (readEntries): Use byte arrays to read info in bigger chunks. | |
11876 | (getEntries): Return HashMap. | |
11877 | (getEntry): Use HashMap. | |
11878 | (locBuf): New private field. | |
11879 | (checkLocalHeader): Use locBuf to read info in one chunk. | |
11880 | (getInputStream): Use entries HashMap, wrap PartialInputStream | |
11881 | in BufferedInputStream. | |
11882 | (ZipEntryEnumeration): Use HashMap and Interator. | |
11883 | ||
27c687cc MW |
11884 | 2003-01-02 Mark Wielaard <mark@klomp.org> |
11885 | Jeroen Frijters <jeroen@sumatra.nl> | |
11886 | ||
11887 | * java/net/URLClassLoader.java (Resource.getCodeSource): | |
11888 | Fix check certs == null. | |
11889 | (getCanonicalFileURL): Removed method. | |
11890 | (JarURLLoader): Don't call removed method. | |
11891 | (FileURLLoader): Likewise. | |
11892 | (FileURLLoader.getResource): Don't canonicalize file name. | |
11893 | ||
62d2eed6 TT |
11894 | 2003-01-01 Tom Tromey <tromey@redhat.com> |
11895 | ||
11896 | * Makefile.in: Rebuilt. | |
11897 | * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi. | |
11898 | * java/awt/AlphaComposite.java, java/awt/BasicStroke.java, | |
11899 | java/awt/BufferCapabilities.java, java/awt/Button.java, | |
11900 | java/awt/CheckboxMenuItem.java, java/awt/Choice.java, | |
11901 | java/awt/Container.java, java/awt/Cursor.java, | |
11902 | java/awt/EventQueue.java, java/awt/FileDialog.java, | |
11903 | java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java, | |
11904 | java/awt/MenuBar.java, java/awt/MenuComponent.java, | |
11905 | java/awt/PopupMenu.java, java/awt/ScrollPane.java, | |
11906 | java/awt/Scrollbar.java, java/awt/TextArea.java, | |
11907 | java/awt/TextField.java, java/awt/color/CMMException.java, | |
11908 | java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java, | |
11909 | java/awt/color/ProfileDataException.java, | |
11910 | java/awt/datatransfer/Clipboard.java, | |
11911 | java/awt/datatransfer/DataFlavor.java, | |
11912 | java/awt/datatransfer/FlavorMap.java, | |
11913 | java/awt/datatransfer/SystemFlavorMap.java, | |
11914 | java/awt/dnd/DragGestureEvent.java, | |
11915 | java/awt/dnd/DragGestureRecognizer.java, | |
11916 | java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java, | |
11917 | java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java, | |
11918 | java/awt/im/InputMethodHighlight.java, | |
11919 | java/io/PipedOutputStream.java, java/io/PipedWriter.java, | |
11920 | java/rmi/server/RMIClassLoader.java: Merged from Classpath. | |
11921 | ||
11922 | * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of | |
11923 | `op' to BufferedImageOp. | |
11924 | ||
9f17a7af TT |
11925 | 2002-12-31 Tom Tromey <tromey@redhat.com> |
11926 | ||
11927 | Fix for PR libgcj/7416: | |
11928 | * javax/naming/InitialContext.java (init): Use | |
11929 | gnu.classpath.home.url. | |
11930 | * java/security/Security.java: Use new properties. | |
11931 | (loadProviders): Accept base url; use it. | |
11932 | * java/lang/System.java: Document gnu.classpath.vm.shortname, and | |
11933 | gnu.classpath.home.url. | |
11934 | (gnu.classpath.home.url): Define. | |
11935 | (gnu.classpath.vm.shortname): Likewise. | |
11936 | ||
35a94bdc TT |
11937 | 2002-12-31 Tom Tromey <tromey@redhat.com> |
11938 | Ranjit Mathew <rmathew@hotmail.com> | |
11939 | ||
11940 | Fix for PR libgcj/8997: | |
11941 | * java/lang/natObject.cc (spin): Use _Jv_platform_usleep. | |
11942 | Include platform.h. | |
11943 | * include/posix.h (_Jv_platform_usleep): New function. | |
11944 | * include/win32.h (_Jv_platform_usleep): New function. | |
11945 | ||
9f1cf235 TT |
11946 | 2002-12-29 Tom Tromey <tromey@redhat.com> |
11947 | ||
11948 | * gcj/javaprims.h: Updated. | |
11949 | * scripts/classes.pl (scan): Removed stray semicolon. | |
11950 | ||
a88c283f MW |
11951 | 2002-12-30 Mark Wielaard <mark@klomp.org> |
11952 | ||
11953 | * java/net/URLStreamHandler.java (toExternalForm): Ignore port | |
11954 | if zero or smaller. | |
11955 | ||
d2427b1d MW |
11956 | 2002-12-30 Mark Wielaard <mark@klomp.org> |
11957 | ||
11958 | * java/util/Properties (formatForOutput): Don't fall through to | |
11959 | default case after escaping character. | |
11960 | ||
de2baf30 MW |
11961 | 2002-12-30 Mark Wielaard <mark@klomp.org> |
11962 | ||
11963 | * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check | |
11964 | against count. | |
11965 | ||
dfe5a36e MM |
11966 | 2002-12-27 Mark Mitchell <mark@codesourcery.com> |
11967 | ||
11968 | * boehm.cc: Remove stray semicolon. | |
11969 | * interpret.cc: Likewise. | |
11970 | * prims.cc: Likewise. | |
11971 | * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition | |
11972 | earlier to ensure default arguments are processed. | |
11973 | * gcj/array.h (JArray): Add forward declaration. | |
11974 | (elements): Likewise. | |
11975 | * gcj/javaprim.h: Remove stray semicolons. | |
11976 | * include/bohm-gc.h: Likewise. | |
11977 | * include/jni.h: Likewise. | |
11978 | * include/jvm.h: Likewise. | |
11979 | * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass. | |
11980 | ||
4017ae6e JS |
11981 | 2002-12-23 Jeff Sturm <jsturm@one-point.com> |
11982 | ||
11983 | * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit | |
11984 | of catch_type. | |
11985 | * java/lang/natClass.cc (initializeClass): Link vtable, otable, | |
11986 | idt tables after initializing superclass. | |
11987 | * java/lang/natClassLoader.cc (uaddr): New typedef. | |
11988 | (_Jv_PrepareCompiledClass): Resolve superclass, interfaces | |
11989 | if they are constant pool indicies. Don't link vtable, otable yet. | |
11990 | ||
5e0c4d19 AG |
11991 | 2002-12-21 Anthony Green <green@redhat.com> |
11992 | ||
11993 | * Makefile.am: Move org.xml.sax and org.w3c.dom into their own | |
11994 | libraries. | |
11995 | * Makefile.in: Rebuilt. | |
11996 | ||
7a163ec0 AG |
11997 | 2002-12-19 Anthony Green <green@redhat.com> |
11998 | ||
11999 | * Makefile.am (ordinary_java_source_files): Add | |
12000 | org/xml/sax/helpers/NewInstance.java. | |
12001 | * Makefile.in: Rebuilt. | |
12002 | * org/xml/sax/package.html, org/xml/sax/ext/package.html, | |
12003 | org/xml/sax/helpers/package.html: New files. | |
12004 | * org/xml/sax/*: Upgrade to SAX 2.0.1 release from | |
12005 | http://www.saxproject.org. | |
12006 | ||
51d6eed4 AH |
12007 | 2002-12-19 Andrew Haley <aph@redhat.com> |
12008 | ||
12009 | * java/util/natResourceBundle.cc: Include | |
12010 | ArrayIndexOutOfBoundsException.h. | |
12011 | (getCallingClassLoader): Don't put upper bound on stack search. | |
12012 | Catch ArrayIndexOutOfBoundsException. | |
12013 | ||
4dfde206 TT |
12014 | 2002-12-19 Tom Tromey <tromey@redhat.com> |
12015 | ||
12016 | * libtool-version: Increased `current'. | |
12017 | ||
a1aba4f9 TT |
12018 | 2002-12-19 Tom Tromey <tromey@redhat.com> |
12019 | ||
12020 | * java/lang/natClassLoader.cc (defineClass0): Removed erroneous | |
12021 | comment. | |
12022 | * java/lang/ClassLoader.java (defineClass): Use chained | |
12023 | exception when rethrowing. | |
12024 | * defineclass.cc (handleClassBegin): Mark class as interpreted. | |
12025 | * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New | |
12026 | constants. | |
12027 | * resolve.cc (_Jv_PrepareMissingMethods): New function. | |
12028 | (_Jv_PrepareClass): Use it. | |
12029 | * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote. | |
12030 | (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend. | |
12031 | * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS. | |
12032 | (Class): _Jv_PrepareMissingMethods now friend. | |
12033 | * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize. | |
12034 | Record `NULL' for system class loader. | |
12035 | (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case | |
12036 | system class loader. | |
12037 | (_Jv_FindClassInCache): Likewise. | |
12038 | (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info. | |
12039 | (_Jv_FindClass): Special case system class loader. | |
12040 | * java/lang/natClass.cc (_Jv_abstractMethodError): New function. | |
12041 | (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty | |
12042 | vtable slots. | |
12043 | (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method | |
12044 | in a final class. | |
12045 | (_getDeclaredMethod): Don't return synthetic methods. | |
12046 | (getDeclaredMethods): Likewise. | |
12047 | (_getMethod): Likewise. | |
12048 | (_getMethods): Likewise. | |
12049 | ||
a17cf75b RN |
12050 | 2002-12-18 Raif Naffah <raif@fl.net.au> |
12051 | ||
12052 | * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in | |
12053 | canonical form after divide(). | |
12054 | (modInverse): Likewise. | |
12055 | ||
b4f145f3 CM |
12056 | 2002-12-13 Casey Marshall <rsdio@metastatic.org> |
12057 | Mark Wielaard <mark@klomp.org> | |
12058 | ||
12059 | * java/security/SecurityRandom (digest): Removed field. | |
12060 | (SecureRandom): Check all providers for case-insensitive SecureRandom | |
12061 | implementation. Don't ignore classname == null. Fallback to SHA1PRNG | |
12062 | if necessary. | |
12063 | (getInstance(String,Provider,boolean): New method. | |
12064 | (getInstance(String)): Use new method. | |
12065 | (getInstance(String,String)): Likewise. | |
12066 | (getInstance(String,Provider)): Likewise. | |
12067 | ||
12068 | 2002-12-13 Casey Marshall <rsdio@metastatic.org> | |
12069 | ||
12070 | * java/security/Security.java (loadProviders): Increment i only once. | |
12071 | ||
f0caaa23 MW |
12072 | 2002-12-12 Mark Wielaard <mark@klomp.org> |
12073 | ||
12074 | * java/lang/ClassLoader.java (resolveClass0): Transform | |
12075 | ClassNotFoundException to NoClassDefFoundError. Transform all other | |
12076 | throwables to LinkageError. | |
12077 | ||
f69bc497 TT |
12078 | 2002-12-11 Tom Tromey <tromey@redhat.com> |
12079 | ||
70eec358 TT |
12080 | * java/lang/ClassLoader.java (findLoadedClass): Now synchronized. |
12081 | ||
f69bc497 TT |
12082 | * java/lang/ClassLoader.java (loadedClasses): New field. |
12083 | (defineClass): Fixed indentation. Put new class in | |
12084 | loadedClasses. | |
12085 | (findLoadedClass): Implement here. | |
12086 | * java/lang/natClassLoader.cc (findLoadedClass): Removed. | |
12087 | ||
ad1121d1 TT |
12088 | 2002-12-10 Tom Tromey <tromey@redhat.com> |
12089 | ||
12090 | * Makefile.in: Rebuilt. | |
12091 | * Makefile.am (nat_source_files): Added natVMClassLoader.cc. | |
12092 | * gnu/gcj/runtime/natVMClassLoader.cc: New file. | |
12093 | (gnu::gcj::runtime::VMClassLoader::findClass): Moved here. | |
12094 | * java/lang/natClassLoader.cc | |
12095 | (gnu::gcj::runtime::VMClassLoader::findClass): Removed. | |
12096 | ||
a7e693d5 | 12097 | 2002-12-10 Mark Wielaard <mark@klomp.org> |
4977bab6 | 12098 | Tom Tromey <tromey@redhat.com> |
a7e693d5 MW |
12099 | |
12100 | * java/net/URLClassLoader.java (getCanonicalFileURL): New method. | |
12101 | (JarURLLoader): Use it. | |
12102 | (FileURLLoader): Likewise. | |
12103 | (JarURLResource.getURL): Use chained exception. | |
12104 | (FileResource.getURL): Likewise. | |
12105 | (FileURLLoader.getResource): Use canonical file name. | |
12106 | (addURL): Indentation fix. | |
12107 | ||
35cfd291 TT |
12108 | 2002-12-10 Tom Tromey <tromey@redhat.com> |
12109 | ||
12110 | * include/win32.h: Fixed typo in "DISABLE_JAVA_NET". | |
12111 | From Laurent Bardet <l.bardet@magic.fr>. | |
12112 | ||
c53be425 TT |
12113 | 2002-12-09 Tom Tromey <tromey@redhat.com> |
12114 | ||
78bb0444 TT |
12115 | * include/win32.h (_Jv_platform_solib_prefix): New define. |
12116 | (_Jv_platform_solib_suffix): Likewise. | |
12117 | * include/posix.h (_Jv_platform_solib_prefix): New define. | |
12118 | (_Jv_platform_solib_suffix): Likewise. | |
12119 | * java/lang/natRuntime.cc: Include StackTrace.h. | |
12120 | (_load): Use findLibrary and new platform defines. | |
12121 | (nativeGetLibname): Use new platform defines. | |
12122 | ||
c53be425 TT |
12123 | * java/util/natResourceBundle.cc (getCallingClassLoader): Assume |
12124 | `t' won't be null. | |
12125 | ||
e825ca7f MW |
12126 | 2002-12-08 Mark Wielaard <mark@klomp.org> |
12127 | ||
12128 | * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and | |
12129 | cache remote jar files. | |
12130 | * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only | |
12131 | add File.separator to URL when it is a directory. | |
12132 | * java/lang/ClassLoader.java: Add Classpath javadoc. | |
12133 | (parent): final. | |
12134 | (getParent): Add (disabled) security check. | |
12135 | (findLibrary): New default method. | |
12136 | * java/net/JarURLConnection.java (getManifest): Implement. | |
12137 | (getInputStream): Only create InputStream when entry exists. | |
12138 | (getHeaders): Only use jarFileURLConnection or JarEntry to set length | |
12139 | when they exist. | |
12140 | * java/net/URLClassLoader.java: New/Rewritten version from Classpath. | |
12141 | ||
24632117 MW |
12142 | 2002-12-08 Mark Wielaard <mark@klomp.org> |
12143 | ||
12144 | * java/util/ResourceBundle.java (resourceBundleCache): Not final. | |
12145 | (lastDefaultLocale): New field. | |
12146 | (getBundle): When Locale.getDefault != lastDefaultLocale reset | |
12147 | resourceBundleCache. | |
12148 | ||
081a777d MW |
12149 | 2002-12-06 Mark Wielaard <mark@klomp.org> |
12150 | ||
12151 | * java/net/InetAddress.java (toString): Use hostname when not null, | |
12152 | don't do an explicit reverse getHostName() lookup. | |
12153 | * java/net/Socket.java (setSocketImplFactory): When fac == null throw | |
12154 | NullPointerException. | |
12155 | ||
b4d0051b TT |
12156 | 2002-12-06 Tom Tromey <tromey@redhat.com> |
12157 | ||
12158 | * include/java-interp.h (class _Jv_InterpMethod): Added | |
12159 | JV_MARKOBJ_DECL. | |
12160 | * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also | |
12161 | mark `prepared' field of interpreted method. | |
12162 | * interpret.cc (compile): Use _Jv_AllocBytes. | |
12163 | ||
d8f2e87b AH |
12164 | 2002-12-05 Andrew Haley <aph@redhat.com> |
12165 | ||
12166 | * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw | |
12167 | #ifdef (HAVE_BACKTRACE) around the whole function body. | |
12168 | ||
eaa2834f TT |
12169 | 2002-12-05 Tom Tromey <tromey@redhat.com> |
12170 | ||
12171 | * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration. | |
12172 | * resolve.cc: Don't include AbstractMethodError.h. | |
12173 | (_Jv_abstractMethodError): Removed. | |
12174 | * defineclass.cc (handleMethodsBegin): Initialize method index to | |
12175 | -1. | |
12176 | * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set | |
12177 | method index for "new" final method. | |
12178 | (_Jv_SetVTableEntries): Compare index against -1 instead of using | |
12179 | isVirtualMethod. Added `flags' argument. | |
12180 | (_Jv_MakeVTable): Throw exception for abstract method in concrete | |
12181 | class. | |
12182 | ||
76508852 TT |
12183 | 2002-12-04 Tom Tromey <tromey@redhat.com> |
12184 | ||
6d2cf1d8 | 12185 | * java/net/SocketPermission.java (hashCode): Rewrote. |
76508852 | 12186 | |
f4463ce4 TT |
12187 | 2002-12-04 Tom Tromey <tromey@redhat.com> |
12188 | ||
12189 | * Makefile.in: Rebuilt. | |
12190 | * Makefile.am (nat_source_files): Added natVMSecurityManager, | |
12191 | natResourceBundle. | |
12192 | * java/util/ResourceBundle.java (Security): Removed. | |
12193 | (getCallingClassLoader): Now native. | |
12194 | * java/util/natResourceBundle.cc: New file. | |
12195 | * java/lang/natVMSecurityManager.cc: New file. | |
12196 | * java/lang/VMSecurityManager.java (getClassContext): Now native. | |
12197 | ||
9c1180ea MW |
12198 | 2002-12-03 Mark Wielaard <mark@klomp.org> |
12199 | ||
12200 | * java/util/jar/JarFile.java (manifest): Not final. | |
12201 | (manifestRead): New field. | |
12202 | (JarFile): Don't read Manifest in constructor. | |
12203 | (getManifest): New method. | |
12204 | (JarEnumeration.nextElement): Use new method. | |
12205 | (getEntry): Likewise. | |
12206 | * java/util/zip/ZipFile.java (name): Final. | |
12207 | (raf): Likewsie. | |
12208 | (entries): Change type to Hashtable. | |
12209 | (closed): New field. | |
12210 | (ZipFile): Don't read enties in constructor. | |
12211 | (readEntries): Use Hashtable. | |
12212 | (close): Set new close flag and set entries to null inside | |
12213 | synchronized block. | |
12214 | (entries): Contruct enumeration using new getEntries() method and | |
12215 | entries Hashtable. | |
12216 | (getEntryIndex): Removed. | |
12217 | (getEntries): New method. | |
12218 | (getEntry): Use new getEntries() method and entries Hastable. | |
12219 | (getInputStream): Likewise. | |
12220 | (size): Return getEntries().size(). | |
12221 | (ZipEntryEnumeration): Wrap entries Hashtable elements. | |
12222 | * java/util/zip/ZipEntry.java (cal): Don't initialize. | |
12223 | (time): Removed | |
12224 | (dostime): New field. | |
12225 | (zipFileIndex): Removed. | |
12226 | (ZipEntry(ZipEntry)): Copy dostime. | |
12227 | (setDOSTime): Now final and doesn't convert dos time. | |
12228 | (getDOSTime): Likewise. | |
12229 | (setTime): Convert dos time. | |
12230 | (getTime): Likewise. | |
12231 | (getCalendar): New method. | |
12232 | (setExtra): Use setTime(). | |
12233 | * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg. | |
12234 | ||
a50aa799 TT |
12235 | 2002-12-03 Tom Tromey <tromey@redhat.com> |
12236 | ||
12237 | * java/lang/Character.java (forDigit): Formatting fix. | |
12238 | ||
b3eed2db RN |
12239 | 2002-12-03 Raif Naffah <raif@fl.net.au> |
12240 | ||
4977bab6 ZW |
12241 | * java/security/spec/DSAParameterSpec.java (getP): Return p, not q. |
12242 | * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise. | |
12243 | * java/security/spec/DSAPublicKeySpec.java (getP): Likewise. | |
b3eed2db | 12244 | |
765828d5 AH |
12245 | 2002-12-03 Andrew Haley <aph@redhat.com> |
12246 | ||
4977bab6 | 12247 | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call |
765828d5 | 12248 | _Jv_PushClass. |
4977bab6 ZW |
12249 | (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL. |
12250 | (_Jv_PopClass): New. | |
12251 | (_Jv_PushClass): New. | |
12252 | * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to | |
12253 | discover the ClassLoader of our caller. | |
12254 | (_Jv_CheckArrayStore): Don't check that a class is assignment | |
12255 | compatible with Object. | |
12256 | * java/lang/natVMTHrowable.cc: Delete. | |
12257 | * gnu/gcj/runtime/StackTrace.java: New, partly copied from | |
765828d5 | 12258 | java.lang.VMThrowable. |
4977bab6 ZW |
12259 | (StackTrace(), StackTrace(int)): New constructors. |
12260 | (classAt, methodAt, update, methodAtAddress): New methods. | |
12261 | (map): New field. | |
765828d5 | 12262 | * java/lang/VMThrowable.java: Use StackTrace instead of |
4977bab6 | 12263 | natVMTHrowable. |
765828d5 | 12264 | * java/lang/Class.h (getClassLoaderInternal): New. |
4977bab6 ZW |
12265 | (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass. |
12266 | Be friendly with gnu::gcj::runtime::StackTrace. | |
12267 | (Object.chain): New field. | |
12268 | * include/java-interp.h (class _Jv_InterpMethod): Be friendly with | |
12269 | gnu::gcj::runtime::StackTrace. | |
765828d5 AH |
12270 | * gnu/gcj/runtime/natStackTrace.cc: New file. |
12271 | * gnu/gcj/runtime/MethodRef.java: New file. | |
4977bab6 ZW |
12272 | * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal() |
12273 | instead of getClassLoader(). | |
12274 | * verify.cc (class _Jv_BytecodeVerifier): Likewise. | |
12275 | java::lang::VMThrowable. | |
12276 | * Makefile.am (core_java_source_files): Add MethodRef.java, | |
765828d5 | 12277 | StackTrace.java. |
4977bab6 ZW |
12278 | (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc. |
12279 | * Makefile.in: Rebuild. | |
12280 | ||
12281 | 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org> | |
12282 | ||
12283 | * configure.host [sh-linux* | sh[34]*-linux*]: Don't set | |
12284 | CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to | |
12285 | yes also for sh-linux* and sh[34]*-linux*. | |
12286 | * configure.in: Add sh-linux* and sh[34]*-linux* cases and | |
12287 | set SIGNAL_HANDLER to use DWARF2 exception for them. | |
12288 | * configure: Regenerate. | |
765828d5 | 12289 | |
35e058a2 TT |
12290 | 2002-12-02 Tom Tromey <tromey@redhat.com> |
12291 | ||
12292 | * jni.cc: Added `name' argument. | |
12293 | * include/jni.h (struct JNINativeInterface) [DefineClass]: Added | |
12294 | `const char *' argument. | |
12295 | (class _Jv_JNIEnv) [DefineClass]: Likewise. | |
12296 | ||
bbc13bf6 TT |
12297 | 2002-12-01 Tom Tromey <tromey@redhat.com> |
12298 | ||
12299 | Bug compatibility, for PR libgcj/8738: | |
12300 | * java/io/CharArrayWriter.java (close): Do nothing. | |
12301 | (flush): Likewise. | |
12302 | (reset): Don't touch `closed'. | |
12303 | (write(int)): Don't throw IOException. | |
12304 | (write(char[],int,int)): Likewise. | |
12305 | (write(String,int,int)): Likewise. | |
12306 | (closed): Removed. | |
12307 | ||
c2bea6b0 MW |
12308 | 2002-12-01 Mark Wielaard <mark@klomp.org> |
12309 | ||
12310 | * java/lang/SecurityManager.java: Remerge comments, indenting and | |
12311 | checkXXX methods with Classpath. | |
12312 | ||
8ad3385a SG |
12313 | 2002-11-29 Scott Gilbertson <scottg@mantatest.com> |
12314 | ||
12315 | * java/awt/image/ColorModel.java (getUnnormalizedComponents, | |
12316 | getNormalizedComponents): Fix calculation which was using one too | |
12317 | many bits in the unnormalized format. | |
12318 | ||
6d6661fe GB |
12319 | 2002-11-29 Gary Benson <gbenson@redhat.com> |
12320 | ||
12321 | For PR libgcj/8759: | |
12322 | * java/beans/Introspector.java (flushCaches): New method. | |
12323 | (flushFromCaches): Likewise. | |
12324 | ||
a1cd285d MK |
12325 | 2002-11-29 Michael Koch <konqueror@gmx.de> |
12326 | ||
12327 | * java/nio/channels/DatagramChannel.java | |
12328 | (open): Added exception documentation. | |
12329 | (write): Added exception documentation. | |
12330 | (connect): Added exception documentation. | |
12331 | (disconnect): Added exception documentation. | |
12332 | (isConnected): Added exception documentation. | |
12333 | (read): Added exception documentation. | |
12334 | (receive): Added exception documentation. | |
12335 | (send): Added exception documentation. | |
12336 | (validOps): Added exception documentation. | |
12337 | * java/nio/channels/SocketChannel.java | |
12338 | (open): Added exception documentation. | |
12339 | (read): Added exception documentation. | |
12340 | (write): Added exception documentation. | |
12341 | (connect): Added exception documentation. | |
12342 | (finishConnect): Added exception documentation. | |
4977bab6 | 12343 | |
a4536c7a MK |
12344 | 2002-11-29 Michael Koch <konqueror@gmx.de> |
12345 | ||
12346 | * gnu/java/nio/DatagramChannelImpl: | |
12347 | (fd): New member variable to store file descriptor of socket. | |
12348 | * gnu/java/nio/SelectionKeyImpl.java: | |
12349 | (ops): Removed. | |
12350 | (readyOps): New member variable. | |
12351 | (interestOps): New member variable. | |
12352 | (readyOps): Implemented. | |
12353 | (readyOps): New method to set member variable readyOps. | |
12354 | (interestOps): Replaced ops by interestOps. | |
12355 | * gnu/java/nio/SelectorImpl.java: | |
12356 | (SelectorImpl): Initialize key sets. | |
12357 | (select): Call select with -1 instead of Long.MAX_VALUE). | |
12358 | (java_do_select): Make it a native method. | |
12359 | (getFDsAsArray): New helper method. | |
12360 | (select): Remove canceled keys, give only interested file discriptors | |
12361 | to java_do_select, set ready ops. | |
12362 | (add): No need to initialize keys set here. | |
12363 | (add_selected): No need to initialize selected set here. | |
12364 | (deregisterCanceledKeys): New helper method. | |
12365 | (register): Set interest ops, set attachments, added handling of datagram | |
12366 | channels. | |
12367 | * gnu/java/nio/ServerSocketChannelImpl: | |
12368 | (SocketAccept): Renamed from NioSocketAccept. | |
12369 | (implConfigureBlocking): Implemented. | |
4977bab6 | 12370 | (accept): Use SocketAccept instead of NioSocketAccept. |
a4536c7a MK |
12371 | * gnu/java/nio/SocketChannelImpl: |
12372 | Reactivate native methods. | |
4977bab6 | 12373 | |
38a21d46 MK |
12374 | 2002-11-29 Michael Koch <konqueror@gmx.de> |
12375 | ||
12376 | * gnu/java/nio/natByteBufferImpl.cc, | |
12377 | gnu/java/nio/natCharBufferImpl.cc, | |
12378 | gnu/java/nio/natDoubleBufferImpl.cc, | |
12379 | gnu/java/nio/natFloatBufferImpl.cc, | |
12380 | gnu/java/nio/natIntBufferImpl.cc, | |
12381 | gnu/java/nio/natLongBufferImpl.cc, | |
12382 | gnu/java/nio/natSelectorImpl.cc, | |
12383 | gnu/java/nio/natServerSocketChannelImpl.cc, | |
12384 | gnu/java/nio/natShortBufferImpl.cc, | |
12385 | gnu/java/nio/natSocketChannelImpl.cc: | |
12386 | New files that implement native functionalities. | |
12387 | ||
ac7edc01 MK |
12388 | 2002-11-29 Michael Koch <konqueror@gmx.de> |
12389 | ||
12390 | * gnu/java/nio/ByteBufferImpl.java | |
12391 | (ByteBufferImpl): Moved position() after limit. | |
12392 | (nio_*): Use native implementation. | |
12393 | * gnu/java/nio/CharBufferImpl.java: | |
12394 | Reformated. | |
12395 | (endian): New member variable string endianess of buffer. | |
12396 | (CharBufferImpl): Moved position() after limit. | |
12397 | (nio_*): Use native implementation. | |
12398 | (subSequence): Implemented. | |
12399 | * gnu/java/nio/DoubleBufferImpl.java | |
12400 | (DoubleBufferImpl): Moved position() after limit. | |
12401 | (nio_*): Use native implementation. | |
12402 | * gnu/java/nio/FloatBufferImpl.java | |
12403 | Reformated. | |
12404 | (FloatBufferImpl): Moved position() after limit. | |
12405 | (nio_*): Use native implementation. | |
12406 | * gnu/java/nio/IntBufferImpl.java | |
12407 | Added needed imports, Reformated. | |
12408 | (IntBufferImpl): Moved position() after limit. | |
12409 | (nio_*): Use native implementation. | |
12410 | * gnu/java/nio/LongBufferImpl.java | |
12411 | Reformated. | |
12412 | (LongBufferImpl): Moved position() after limit. | |
12413 | (nio_*): Use native implementation. | |
12414 | * gnu/java/nio/ShortBufferImpl.java | |
12415 | Reformated. | |
12416 | (ShortBufferImpl): Moved position() after limit. | |
12417 | (nio_*): Use native implementation. | |
12418 | ||
a828c3e1 JD |
12419 | 2002-11-27 Julian Dolby <dolby@us.ibm.com> |
12420 | ||
12421 | * java/util/Locale.java (toString): Improve efficiency if country | |
12422 | and variant are both empty. | |
12423 | ||
02077425 TT |
12424 | 2002-11-26 Tom Tromey <tromey@redhat.com> |
12425 | ||
12426 | * verify.cc (pop_init_ref): New method. | |
12427 | (verify_instructions_0) [op_iaload, op_laload, op_faload, | |
12428 | op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore, | |
12429 | op_lastore, op_fastore, op_dastore, op_aastore, op_bastore, | |
12430 | op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast, | |
12431 | op_instanceof, op_monitorenter, op_monitorexit]: Use it. | |
12432 | (verify_instructions_0) [op_invokevirtual, op_invokespecial, | |
12433 | op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't | |
12434 | let `this' argument be uninitialized. Don't let `null' be passed | |
12435 | as `this' to construtor. | |
12436 | ||
0ef08cc4 MW |
12437 | 2002-11-26 Mark Wielaard <mark@klomp.org> |
12438 | ||
12439 | * javax/transaction/HeuristicCommitException.java: Classpath merge. | |
12440 | * javax/transaction/HeuristicMixedException.java: Likewise. | |
12441 | * javax/transaction/HeuristicRollbackException.java: Likewise. | |
12442 | * javax/transaction/InvalidTransactionException.java: Likewise. | |
12443 | * javax/transaction/NotSupportedException.java: Likewise. | |
12444 | * javax/transaction/RollbackException.java: Likewise. | |
12445 | * javax/transaction/Status.java: Likewise. | |
12446 | * javax/transaction/Synchronization.java: Likewise. | |
12447 | * javax/transaction/SystemException.java: Likewise. | |
12448 | * javax/transaction/Transaction.java: Likewise. | |
12449 | * javax/transaction/TransactionManager.java: Likewise. | |
12450 | * javax/transaction/TransactionRequiredException.java: Likewise. | |
12451 | * javax/transaction/TransactionRolledbackException.java: Likewise. | |
12452 | * javax/transaction/UserTransaction.java: Likewise. | |
12453 | * javax/transaction/xa/XAException.java: Likewise. | |
12454 | * javax/transaction/xa/XAResource.java: Likewise. | |
12455 | * javax/transaction/xa/Xid.java: Likewise. | |
12456 | ||
32e098dd AT |
12457 | 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch> |
12458 | ||
12459 | * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't | |
12460 | define. | |
12461 | * java/net/natPlainSocketImpl.cc (socklen_t): Don't define. | |
12462 | * include/posix.h (socklen_t): Define if not already defined. | |
12463 | ||
b0fbe966 TT |
12464 | 2002-11-25 Tom Tromey <tromey@redhat.com> |
12465 | ||
cbad89c4 TT |
12466 | * verify.cc (type::compatible): Backed out broken change. |
12467 | ||
b0fbe966 TT |
12468 | * verify.cc (type::compatible): Check initialization status |
12469 | first. | |
12470 | * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]: | |
12471 | Don't use NULLCHECK. | |
12472 | ||
4977bab6 ZW |
12473 | 2002-11-23 H.J. Lu <hjl@gnu.org> |
12474 | ||
12475 | * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed. | |
12476 | Include ../config/accross.m4. | |
12477 | * aclocal.m4; Rebuild. | |
12478 | * configure: Likewise. | |
12479 | ||
84b8f58d MW |
12480 | 2002-11-23 Mark Wielaard <mark@klomp.org> |
12481 | ||
12482 | * javax/naming/AuthenticationException.java: Update copyright header. | |
12483 | * javax/naming/AuthenticationNotSupportedException.java: Likewise. | |
12484 | * javax/naming/Binding.java: Likewise. | |
12485 | * javax/naming/CannotProceedException.java: Likewise. | |
12486 | * javax/naming/CommunicationException.java: Likewise. | |
12487 | * javax/naming/CompositeName.java: Likewise. | |
12488 | * javax/naming/CompoundName.java: Likewise. | |
12489 | * javax/naming/ConfigurationException.java: Likewise. | |
12490 | * javax/naming/Context.java: Likewise. | |
12491 | * javax/naming/ContextNotEmptyException.java: Likewise. | |
12492 | * javax/naming/InitialContext.java: Likewise. | |
12493 | * javax/naming/InsufficientResourcesException.java: Likewise. | |
12494 | * javax/naming/InterruptedNamingException.java: Likewise. | |
12495 | * javax/naming/LimitExceededException.java: Likewise. | |
12496 | * javax/naming/LinkException.java: Likewise. | |
12497 | * javax/naming/LinkLoopException.java: Likewise. | |
12498 | * javax/naming/LinkRef.java: Likewise. | |
12499 | * javax/naming/MalformedLinkException.java: Likewise. | |
12500 | * javax/naming/NameAlreadyBoundException.java: Likewise. | |
12501 | * javax/naming/NameClassPair.java: Likewise. | |
12502 | * javax/naming/NameNotFoundException.java: Likewise. | |
12503 | * javax/naming/NameParser.java: Likewise. | |
12504 | * javax/naming/NamingEnumeration.java: Likewise. | |
12505 | * javax/naming/NamingSecurityException.java: Likewise. | |
12506 | * javax/naming/NoInitialContextException.java: Likewise. | |
12507 | * javax/naming/NoPermissionException.java: Likewise. | |
12508 | * javax/naming/NotContextException.java: Likewise. | |
12509 | * javax/naming/OperationNotSupportedException.java: Likewise. | |
12510 | * javax/naming/PartialResultException.java: Likewise. | |
12511 | * javax/naming/Reference.java: Likewise. | |
12512 | * javax/naming/Referenceable.java: Likewise. | |
12513 | * javax/naming/ReferralException.java: Likewise. | |
12514 | * javax/naming/ServiceUnavailableException.java: Likewise. | |
12515 | * javax/naming/SizeLimitExceededException.java: Likewise. | |
12516 | * javax/naming/TimeLimitExceededException.java: Likewise. | |
12517 | * javax/naming/directory/Attribute.java: Likewise. | |
12518 | * javax/naming/directory/AttributeInUseException.java: Likewise. | |
12519 | * javax/naming/directory/AttributeModificationException.java: Likewise. | |
12520 | * javax/naming/directory/Attributes.java: Likewise. | |
12521 | * javax/naming/directory/BasicAttribute.java: Likewise. | |
12522 | * javax/naming/directory/BasicAttributes.java: Likewise. | |
12523 | * javax/naming/directory/DirContext.java: Likewise. | |
12524 | * javax/naming/directory/InitialDirContext.java: Likewise. | |
12525 | * javax/naming/directory/InvalidAttributeIdentifierException.java: | |
12526 | Likewise. | |
12527 | * javax/naming/directory/InvalidAttributeValueException.java: Likewise. | |
12528 | * javax/naming/directory/InvalidAttributesException.java: Likewise. | |
12529 | * javax/naming/directory/InvalidSearchControlsException.java: Likewise. | |
12530 | * javax/naming/directory/InvalidSearchFilterException.java: Likewise. | |
12531 | * javax/naming/directory/ModificationItem.java: Likewise. | |
12532 | * javax/naming/directory/NoSuchAttributeException.java: Likewise. | |
12533 | * javax/naming/directory/SchemaViolationException.java: Likewise. | |
12534 | * javax/naming/directory/SearchControls.java: Likewise. | |
12535 | * javax/naming/directory/SearchResult.java: Likewise. | |
12536 | * javax/naming/event/EventContext.java: Likewise. | |
12537 | * javax/naming/event/EventDirContext.java: Likewise. | |
12538 | * javax/naming/event/NamespaceChangeListener.java: Likewise. | |
12539 | * javax/naming/event/NamingEvent.java: Likewise. | |
12540 | * javax/naming/event/NamingExceptionEvent.java: Likewise. | |
12541 | * javax/naming/event/NamingListener.java: Likewise. | |
12542 | * javax/naming/event/ObjectChangeListener.java: Likewise. | |
12543 | * javax/naming/ldap/Control.java: Likewise. | |
12544 | * javax/naming/ldap/ControlFactory.java: Likewise. | |
12545 | * javax/naming/ldap/ExtendedRequest.java: Likewise. | |
12546 | * javax/naming/ldap/ExtendedResponse.java: Likewise. | |
12547 | * javax/naming/ldap/HasControls.java: Likewise. | |
12548 | * javax/naming/ldap/InitialLdapContext.java: Likewise. | |
12549 | * javax/naming/ldap/LdapContext.java: Likewise. | |
12550 | * javax/naming/ldap/LdapReferralException.java: Likewise. | |
12551 | * javax/naming/ldap/UnsolicitedNotification.java: Likewise. | |
12552 | * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise. | |
12553 | * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise. | |
12554 | * javax/naming/spi/DirObjectFactory.java: Likewise. | |
12555 | * javax/naming/spi/DirStateFactory.java: Likewise. | |
12556 | * javax/naming/spi/DirectoryManager.java: Likewise. | |
12557 | * javax/naming/spi/InitialContextFactory.java: Likewise. | |
12558 | * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise. | |
12559 | * javax/naming/spi/NamingManager.java: Likewise. | |
12560 | * javax/naming/spi/ObjectFactory.java: Likewise. | |
12561 | * javax/naming/spi/ObjectFactoryBuilder.java: Likewise. | |
12562 | * javax/naming/spi/ResolveResult.java: Likewise. | |
12563 | * javax/naming/spi/Resolver.java: Likewise. | |
12564 | * javax/naming/spi/StateFactory.java: Likewise. | |
12565 | ||
12566 | * javax/naming/spi/NamingManager.java (ofb): Package private. | |
12567 | ||
cfc814d4 MW |
12568 | 2002-11-21 Mark Wielaard <mark@klomp.org> |
12569 | ||
12570 | * java/net/URL.java: Merge with Classpath (partly). | |
12571 | * java/net/URLStreamHandler: Merge with Classpath. | |
12572 | ||
c6d58c66 MK |
12573 | 2002-11-22 Michael Koch <konqueror@gmx.de> |
12574 | ||
12575 | * include/posix.h: | |
12576 | (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET. | |
12577 | * include/win32.h: | |
12578 | (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET. | |
12579 | (backtrace): Moved out of #ifndef DISBALE_JAVA_NET. | |
12580 | ||
e59ff7e9 MK |
12581 | 2002-11-21 Michael Koch <konqueror@gmx.de> |
12582 | ||
d1bf262d MK |
12583 | * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET. |
12584 | Only the new network functions should be in it. | |
4977bab6 | 12585 | |
d1bf262d MK |
12586 | 2002-11-21 Michael Koch <konqueror@gmx.de> |
12587 | ||
12588 | * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET | |
e59ff7e9 | 12589 | * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET |
4977bab6 | 12590 | |
6315b6cb MK |
12591 | 2002-11-21 Michael Koch <konqueror@gmx.de> |
12592 | ||
12593 | * java/nio/channels/AsynchronousCloseException.java, | |
12594 | java/nio/channels/CancelledKeyException.java, | |
12595 | java/nio/channels/ClosedByInterruptException.java, | |
12596 | java/nio/channels/ConnectionPendingException.java, | |
12597 | java/nio/channels/FileLockInterruptionException.java, | |
12598 | java/nio/channels/IllegalSelectorException.java, | |
12599 | java/nio/channels/NoConnectionPendingException.java, | |
12600 | java/nio/channels/NonReadableChannelException.java, | |
12601 | java/nio/channels/NonWritableChannelException.java, | |
12602 | java/nio/channels/NotYetBoundException.java, | |
12603 | java/nio/channels/NotYetConnectedException.java, | |
12604 | java/nio/channels/OverlappingFileLockException.java, | |
12605 | java/nio/channels/UnresolvedAddressException.java, | |
12606 | java/nio/channels/UnsupportedAddressTypeException.java: | |
12607 | New files. | |
12608 | * Makefile.am (ordinary_java_source_files): Added new files. | |
12609 | * Makefile.in: Regenerated. | |
12610 | ||
c3e0633c MK |
12611 | 2002-11-21 Michael Koch <konqueror@gmx.de> |
12612 | ||
12613 | * include/posix.h | |
12614 | (_Jv_socket): New method. | |
12615 | (_Jv_connect): New method. | |
12616 | (_Jv_close): New method. | |
12617 | (_Jv_platform_close_on_exec): Prefixed system function with "::". | |
12618 | (_Jv_bind): New method. | |
12619 | (_Jv_listen): New method. | |
12620 | (_Jv_write): New method. | |
12621 | (_Jv_read): New method. | |
12622 | * include/win32.h | |
12623 | (_Jv_socket): New method. | |
12624 | (_Jv_connect): New method. | |
12625 | (_Jv_close): New method. | |
12626 | (_Jv_bind): New method. | |
12627 | (_Jv_listen): New method. | |
12628 | (_Jv_write): New method. | |
12629 | (_Jv_read): New method. | |
12630 | * java/net/natNetworkInterface.cc: | |
12631 | Include platform.h, removed inclusion of socket.h | |
12632 | (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and | |
12633 | ::close() by _Jv_close(). | |
12634 | * java/net/natPlainDatagramSocketImpl.cc: | |
12635 | Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind, | |
12636 | added some new lines to make code more readable. | |
12637 | (create): Replaced ::socket() by _Jv_socket(). | |
12638 | (close): Replaced NATIVE_CLOSE() by _Jv_close(). | |
12639 | * java/net/natPlainSocketImpl.cc: | |
12640 | Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept, | |
12641 | removed include of socket.h, removed some windows defines | |
12642 | (now in include/win32.h). | |
12643 | (create): Replaced ::socket() by _Jv_socket(). | |
12644 | (close): Replaced NATIVE_CLOSE() by _Jv_close(). | |
12645 | (write): Replaced ::read by _Jv_write(). | |
12646 | (read): Replaced ::read by _Jv_read(). | |
12647 | ||
c6de9c29 MK |
12648 | 2002-11-20 Michael Koch <konqueror@gmx.de> |
12649 | ||
12650 | * Makefile.am (ordinary_java_source_files): | |
12651 | Added java/nio/channels/FileChannel.java. | |
12652 | * Makefile.in: Regenerated. | |
4977bab6 | 12653 | |
3ebb998e MK |
12654 | 2002-11-20 Michael Koch <konqueror@gmx.de> |
12655 | ||
12656 | * java/io/FileInputStream.java | |
12657 | (getChannel): New method. | |
12658 | * java/io/FileOutputStream.java | |
12659 | (getChannel): New method. | |
12660 | * java/net/ServerSocket.java | |
12661 | (bind): Removed duplicate code and called another bind method instead. | |
12662 | * java/nio/channels/SelectionKey.java | |
12663 | (isValid): Removed wrong exception documentation. | |
12664 | * java/nio/channels/ServerSocketChannel.java | |
12665 | (accept): Added exception documentation. | |
12666 | (open): Fixed typo, added exception documentation. | |
12667 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
12668 | (implCloseChannel): Added exception documentation. | |
12669 | (add): Reformated. | |
12670 | (register): Added exception documentation. | |
12671 | ||
54d9d34a AJ |
12672 | 2002-11-20 Andreas Jaeger <aj@suse.de> |
12673 | ||
12674 | * configure: Regenerated with new libtool.m4. | |
12675 | ||
da98b11a TT |
12676 | 2002-11-19 Tom Tromey <tromey@redhat.com> |
12677 | ||
12678 | * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not | |
12679 | `referent'. | |
12680 | (finalize_referred_to_object): Don't modify `referent' or `copy' | |
12681 | fields. | |
12682 | (add_to_hash): Correctly set `n->next' when updating list. | |
12683 | * java/lang/ref/Reference.java (enqueue): Return false if already | |
12684 | enqueued. | |
12685 | ||
93745862 RM |
12686 | 2002-11-19 Ranjit Mathew <rmathew@hotmail.com> |
12687 | ||
12688 | * include/jni.h: Add missing JNICALL and JNIEXPORT attributes | |
12689 | to function and function pointer declarations in accordance with | |
12690 | Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT | |
12691 | based on whether __GCJ_JNI_IMPL__ has been defined or not. | |
12692 | * jni.cc: Add missing JNICALL and JNIEXPORT attributes to | |
12693 | JNI function definitions. | |
12694 | ||
8c9aa0cb JR |
12695 | 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu> |
12696 | ||
4977bab6 ZW |
12697 | * java/nio/charset/CoderResult.java (Cache.get): Fix a bug |
12698 | that was causing CoderResults to be cached, not WeakReferences | |
12699 | to CoderResults. | |
54d9d34a | 12700 | |
441c7799 JB |
12701 | 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de> |
12702 | ||
12703 | * java/security/KeyStore.java (getInstance): Fix | |
54d9d34a | 12704 | comment and throw IllegalArgumentException if |
441c7799 JB |
12705 | given provider is null. |
12706 | (getInstance): New method for jdk1.4 compatibility. | |
12707 | ||
4f13d99e MK |
12708 | 2002-11-18 Michael Koch <konqueror@gmx.de> |
12709 | ||
12710 | * java/net/PlainSocketImpl.java: Fix imports. | |
12711 | ||
ecfef45b MK |
12712 | 2002-11-18 Michael Koch <konqueror@gmx.de> |
12713 | ||
12714 | * java/nio/channels/SelectionKey.java | |
12715 | (isValid): Added exception documentation. | |
12716 | * java/nio/channels/Selector.java | |
12717 | (open): Declare "throws IOException". | |
12718 | ||
12719 | 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu> | |
54d9d34a | 12720 | |
3386451d JR |
12721 | * java/nio/charset/Charset.java |
12722 | (<clinit>): New method. | |
12723 | (encode): Synchronize use of cached encoder object. | |
12724 | (decode): Synchronize use of cached encoder object. | |
12725 | ||
48f5b672 MK |
12726 | 2002-11-18 Michael Koch <konqueror@gmx.de> |
12727 | ||
12728 | * gnu/java/nio/ByteBufferImpl.java, | |
12729 | gnu/java/nio/CharBufferImpl.java, | |
12730 | gnu/java/nio/DatagramChannelImpl.java, | |
12731 | gnu/java/nio/DoubleBufferImpl.java, | |
12732 | gnu/java/nio/FileChannelImpl.java, | |
12733 | gnu/java/nio/FloatBufferImpl.java, | |
12734 | gnu/java/nio/IntBufferImpl.java, | |
12735 | gnu/java/nio/LongBufferImpl.java, | |
12736 | gnu/java/nio/PipeImpl.java, | |
12737 | gnu/java/nio/SelectionKeyImpl.java, | |
12738 | gnu/java/nio/SelectorImpl.java, | |
12739 | gnu/java/nio/SelectorProviderImpl.java, | |
12740 | gnu/java/nio/ServerSocketChannelImpl.java, | |
12741 | gnu/java/nio/ShortBufferImpl.java, | |
12742 | gnu/java/nio/SocketChannelImpl.java, | |
12743 | java/nio/DoubleBuffer.java, | |
12744 | java/nio/FloatBuffer.java, | |
12745 | java/nio/IntBuffer.java, | |
12746 | java/nio/LongBuffer.java, | |
12747 | java/nio/ShortBuffer.java, | |
12748 | java/nio/channels/FileChannel.java: New files. | |
12749 | ||
d812d821 MK |
12750 | 2002-11-18 Michael Koch <konqueror@gmx.de> |
12751 | ||
12752 | * Makefile.am (ordinary_java_source_files): | |
12753 | Added java/nio/ReadOnlyBufferException.java and | |
12754 | java/nio/channels/ClosedSelectorException.java. | |
12755 | * Makefile.in: Regenerated. | |
12756 | ||
6602dd4a MK |
12757 | 2002-11-18 Michael Koch <konqueror@gmx.de> |
12758 | ||
12759 | * java/net/PlainSocketImpl.java: Reworked imports. | |
12760 | * java/net/ServerSocket.java | |
12761 | (ServerSocket): Create socket. | |
12762 | * java/net/SocketAddress.java: Documentation added. | |
12763 | * java/net/natPlainSocketImpl.cc: Reindented. | |
12764 | * java/nio/ReadOnlyBufferException.java: New file | |
12765 | * java/nio/channels/ClosedChannelException.java: Documentation added. | |
12766 | * java/nio/channels/ClosedSelectorException.java: New file. | |
12767 | ||
b9ad851e MW |
12768 | 2002-11-17 Mark Wielaard <mark@klomp.org> |
12769 | ||
12770 | * java/net/HttpURLConnection.java ((getPermission): Take port | |
12771 | into consideration. | |
12772 | (getErrorStream): Implement. | |
12773 | ||
e0c34466 MW |
12774 | 2002-11-17 Mark Wielaard <mark@klomp.org> |
12775 | ||
12776 | * java/net/HttpURLConnection.java: Merge with GNU Classpath. | |
12777 | ||
b0fc5871 MW |
12778 | 2002-11-16 Mark Wielaard <mark@klomp.org> |
12779 | ||
12780 | Integrate work by Raif S. Naffah (raif@fl.net.au) | |
12781 | * java/security/DummyKeyPairGenerator.java (clone): New method. | |
12782 | * java/security/DummyMessageDigest.java (clone): New method. | |
12783 | (engineUpdate): Now public. | |
12784 | (engineReset): Likewise. | |
12785 | (engineDigest): Likewise. | |
12786 | (engineGetDigestLength): New method. | |
12787 | * java/security/DummySignature.java (clone): New method. | |
12788 | * java/security/KeyPairGenerator.java (provider): Now package private. | |
12789 | (getInstance(String)): Use getInstance(String,Provider). | |
12790 | (getInstance(String,String): Use getInstance(String,Provider) | |
12791 | (getInstance(String,Provider): New method. | |
12792 | (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator. | |
12793 | * java/security/KeyPairGeneratorSpi.java (clone): New method. | |
12794 | * java/security/MessageDigest.java (provider): Now package private. | |
12795 | (getInstance(String): Use getInstance(String,Provider). | |
12796 | (getInstance(String,String): Use getInstance(String,Provider) | |
12797 | (getInstance(String,Provider): New method. | |
12798 | * java/security/Provider.java (toCanonicalKey): New method. | |
12799 | (get): New method that uses toCanonicalKey(). | |
12800 | (put): Use toCanonicalKey(). | |
12801 | (remove): Likewise. | |
12802 | * java/security/Security.java (insertProviderAt): Provider index is one | |
12803 | based, not zero based. | |
12804 | (addProvider): Likewise. | |
12805 | (removeProvider): Likewise. | |
12806 | * java/security/Signature.java (provider): Now package private. | |
12807 | (getInstance(String)): Use getInstance(String,Provider). | |
12808 | (getInstance(String,String): Use getInstance(String,Provider) | |
12809 | (getInstance(String,Provider): New method. | |
12810 | (getInstance(String,String,Provider): Don't cast DummySignature. | |
12811 | ||
401d5362 TT |
12812 | 2002-11-15 Tom Tromey <tromey@redhat.com> |
12813 | ||
12814 | For PR libgcj/8593: | |
12815 | * java/util/zip/GZIPInputStream.java (read): Check file size. | |
12816 | Look in inflater for remaining input bytes. | |
12817 | (read4): Added buf and offset arguments. | |
12818 | ||
a902a2de EB |
12819 | 2002-11-12 Eric Blake <ebb9@email.byu.edu> |
12820 | ||
12821 | * java/applet/AppletContext.java: Fix typo and remove redundant | |
12822 | modifiers. | |
12823 | ||
06fa6442 TT |
12824 | 2002-11-14 Tom Tromey <tromey@redhat.com> |
12825 | ||
12826 | * java/lang/natRuntime.cc (insertSystemProperties): Set | |
12827 | gnu.classpath.home. | |
12828 | ||
61d31826 MK |
12829 | 2002-11-13 Michael Koch <konqueror@gmx.de> |
12830 | ||
12831 | * java/nio/ByteBuffer.java | |
12832 | (allocate): New method. | |
12833 | (wrap): New method. | |
12834 | (put): New method. | |
12835 | (get): New method. | |
54d9d34a | 12836 | |
70c73a4d MK |
12837 | 2002-11-13 Michael Koch <konqueror@gmx.de> |
12838 | ||
12839 | * java/nio/channels/AlreadyConnectedException.java: | |
12840 | Removed unneeded import. | |
12841 | (AlreadyConnectedException): Documentation added. | |
12842 | * java/nio/channels/Pipe.java | |
12843 | (SinkChannel.SinkChannel): Documentation added. | |
12844 | (SinkChannel.validOps): New method. | |
12845 | (SourceChannel.SourceChannel): Documentation added. | |
12846 | (SourceChannel.validOps): New method. | |
12847 | (Pipe): Documentation added. | |
12848 | (open): Documentation added. | |
12849 | (SinkChannel.channel): Documentation added. | |
12850 | (SourceChannel.channel): Documentation added. | |
12851 | * java/nio/channel/SelectableChannel.java | |
12852 | (SelectableChannel): Documentation added. | |
12853 | (blockingLock): Documentation added. | |
12854 | (configureBlocking):Documentation added. | |
12855 | (isBlocking):Documentation added. | |
12856 | (isRegistered):Documentation added. | |
12857 | (keyFor):Documentation added. | |
12858 | (provider):Documentation added. | |
12859 | (register): Documentation added. | |
12860 | (validOps): Documentation added. | |
12861 | * jaba/nio/channels/SelectionKey.java | |
12862 | (SelectionKey): Documentation added. | |
12863 | (attach): Documentation added. | |
12864 | (attachment): Documentation added. | |
12865 | (isAcceptable): Documentation added. | |
12866 | (isConnetable): Documentation added. | |
12867 | (isReadable): Documentation added. | |
12868 | (isWritable): Documentation added. | |
12869 | (cancel): Documentation added. | |
12870 | (channel): Documentation added. | |
12871 | (interestOps): Documentation added. | |
12872 | (isValid): Documentation added. | |
12873 | (readyOps): Documentation added. | |
12874 | (selector): Documentation added. | |
12875 | * jaba/nio/channels/Selector.java | |
12876 | (Selector): Documentation added. | |
12877 | (open): Documentation added. | |
12878 | (close): Documentation added. | |
12879 | (isOpen): Documentation added. | |
12880 | (keys): Documentation added. | |
12881 | (provider): Documentation added. | |
12882 | (select): Documentation added. | |
12883 | (selectedKeys): Documentation added. | |
12884 | (selectNow): Documentation added. | |
12885 | (wakeup): Documentation added. | |
12886 | * java/nio/channels/spi/AbstractInterruptibleChannel.java | |
12887 | (AbstractInterruptibleChannel): Documentation added. | |
12888 | (opened): Default to true; | |
12889 | (begin): Documentation added. | |
12890 | (close): Set opened to false, documentation added. | |
12891 | (isOpen): Documentation added. | |
12892 | * java/nio/channels/spi/AbstractSelectionKey.java | |
12893 | (AbstractSelectionKey): Documentation added. | |
12894 | (cancel): Documentation added. | |
12895 | (isValid): Documentation added. | |
12896 | * java/nio/channels/spi/AbstractSelector.java | |
12897 | (AbstractSelector): Documentation added. | |
12898 | (begin): Documentation added. | |
12899 | (close): Documentation added. | |
12900 | (isOpen): Documentation added. | |
12901 | (deregister): Documentation added. | |
12902 | (end): Documentation added. | |
12903 | (provider): Documentation added. | |
12904 | (implCloseSelector): Documentation added. | |
12905 | (register): Documentation added. | |
12906 | * java/nio/channels/spi/SelectorProvider.java | |
12907 | (SelectorProvider): Documentation added. | |
12908 | (openDatagramChannel): Documentation added. | |
12909 | (openPipe): Documentation added. | |
12910 | (openSelector): Documentation added. | |
12911 | (openServerSocketChannel): Documentation added. | |
12912 | (openSocketChannel): Documentation added. | |
12913 | (provider): Documentation added. | |
12914 | ||
93f93f9f MK |
12915 | 2002-11-12 Michael Koch <konqueror@gmx.de> |
12916 | ||
12917 | * java/nio/Buffer.java: Implemented. | |
12918 | * java/nio/CharBuffer.java: New file. | |
12919 | * java/nio/InvalidMarkException.java: New file. | |
12920 | * java/nio/channels/DatagramChannel.java: Implemented. | |
12921 | * java/nio/channels/ServerSocketChannel.java: Implemented. | |
12922 | * java/nio/channels/SocketChannel.java: Implemented. | |
12923 | * java/nio/channels/spi/AbstractChannel.java: Removed. | |
12924 | * java/nio/channels/spi/AbstractSelectableChannel.java: | |
12925 | Implemented. | |
12926 | * java/nio/charset/Charset.java: | |
12927 | Merge from Classpath. | |
12928 | * java/nio/charset/CharsetDecoder.java: New file. | |
12929 | * java/nio/charset/CharsetEncoder.java: New file. | |
12930 | * java/nio/charset/CoderResult.java: New file. | |
12931 | * Makefile.am (ordinary_java_source_files): Added new files. | |
12932 | * Makefile.in: Regenerated. | |
54d9d34a | 12933 | |
8a423d77 JR |
12934 | 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu> |
12935 | ||
12936 | * gnu/java/nio/charset/ISO_8859_1.java, | |
12937 | gnu/java/nio/charset/Provider.java, | |
12938 | gnu/java/nio/charset/US_ASCII.java, | |
12939 | gnu/java/nio/charset/UTF_16.java, | |
12940 | gnu/java/nio/charset/UTF_16BE.java, | |
12941 | gnu/java/nio/charset/UTF_16Decoder.java, | |
12942 | gnu/java/nio/charset/UTF_16Encoder.java, | |
12943 | gnu/java/nio/charset/UTF_16LE.java, | |
12944 | gnu/java/nio/charset/UTF_8.java: New files. | |
93f93f9f | 12945 | |
ac7bc6bb MK |
12946 | 2002-11-11 Michael Koch <konqueror@gmx.de> |
12947 | ||
12948 | * java/nio/charset/CharacterCodingException.java: | |
12949 | This class must be public. | |
12950 | * java/nio/charset/CoderMalfunctionError.java: | |
12951 | This class must be public. | |
12952 | * java/nio/charset/CodingErrorAction.java: | |
12953 | This class must be public. | |
12954 | * java/nio/charset/IllegalCharsetNameException.java: | |
12955 | This class must be public, better implementation. | |
12956 | * java/nio/charset/MalformedInputException.java: | |
12957 | This class must be public, better implementation. | |
12958 | * java/nio/charset/UnmappableCharacterException.java: | |
12959 | This class must be public, better implementation. | |
12960 | * java/nio/charset/UnsupportedCharsetException.java: | |
12961 | This class must be public, better implementation. | |
54d9d34a | 12962 | |
dba90b0c MK |
12963 | 2002-11-11 Michael Koch <konqueror@gmx.de> |
12964 | ||
12965 | * java/nio/BufferOverflowException.java, | |
12966 | java/nio/BufferUnderflowException.java: New file. | |
12967 | * Makefile.am (ordinary_java_source_files): | |
12968 | Added new files. | |
12969 | * Makefile.in: Regenerated. | |
54d9d34a | 12970 | |
f18590c6 TT |
12971 | 2002-11-10 Tom Tromey <tromey@redhat.com> |
12972 | ||
459c4c51 TT |
12973 | * java/awt/Container.java (validate): Use tree lock. |
12974 | (getComponent): Likewise. | |
12975 | (getComponents): Likewise. | |
12976 | (addImpl): Likewise. | |
12977 | (remove): Likewise. | |
12978 | (removeAll): Likewise. | |
12979 | (processEvent): Fixed indentation. | |
12980 | (getComponentAt): Use tree lock. | |
12981 | (findComponentAt): Likewise. | |
12982 | (removeNotify): Likewise. | |
12983 | (isAncestorOf): Likewise. | |
12984 | (list): Likewise. | |
12985 | (visitChildren): Likewise. | |
12986 | (findNextFocusComponent): Likewise. | |
12987 | (addNotifyContainerChildren): Likewise. | |
12988 | (getAccessibleChildrenCount): Likewise. | |
12989 | (getAccessibleChild): Likewise. | |
12990 | ||
924af605 TT |
12991 | * java/awt/GridLayout.java (layoutContainer): Use tree lock. |
12992 | (getSize): Likewise. | |
12993 | * java/awt/FlowLayout.java (layoutContainer): Use tree lock. | |
12994 | (getSize): Likewise. | |
12995 | * java/awt/BorderLayout.java (layoutContainer): Use tree lock. | |
12996 | (calcSize): Likewise. | |
12997 | * java/awt/CardLayout.java (getSize): Use tree lock. | |
12998 | (gotoComponent): Likewise. | |
12999 | (layoutContainer): Likewise. | |
13000 | ||
a6b5bd3b TT |
13001 | * java/io/natFileDescriptorWin32.cc (read): Handle case where |
13002 | count is 0. | |
13003 | * java/io/natFileDescriptorPosix.cc (read): Handle case where | |
13004 | count is 0. | |
13005 | ||
f18590c6 TT |
13006 | * java/io/Externalizable.java, java/io/FilePermission.java, |
13007 | java/io/ObjectStreamConstants.java, java/io/Serializable.java, | |
13008 | java/io/SerializablePermission.java, java/text/Format.java, | |
13009 | java/util/AbstractMap.java, java/util/HashMap.java, | |
13010 | java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New | |
13011 | versions from Classpath. | |
13012 | ||
1323d7a9 AG |
13013 | 2002-11-10 Anthony Green <green@redhat.com> |
13014 | ||
13015 | * java/util/jar/Attributes.java (Name): Fix name check. | |
13016 | ||
c0cd8f67 MW |
13017 | 2002-11-10 Mark Wielaard <mark@klomp.org> |
13018 | ||
13019 | * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError | |
13020 | with getName() as message. | |
13021 | (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array | |
13022 | type as message. | |
13023 | ||
13024 | * java/lang/natVMThrowable.cc: Don't declare parameter t, it is | |
13025 | unused. | |
13026 | ||
a2eb270a RM |
13027 | 2002-11-08 Ranjit Mathew <rmathew@hotmail.com> |
13028 | ||
13029 | * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines | |
13030 | for Win32. JNICALL has been defined to __stdcall to be compatible | |
13031 | with Sun's JDKs. | |
13032 | ||
b08122a7 TT |
13033 | 2002-11-10 Tom Tromey <tromey@redhat.com> |
13034 | ||
44e8d1f0 TT |
13035 | * java/awt/GridLayout.java (setColumns): Check newCols, not cols. |
13036 | (setRows): Check newRows, not rows. | |
13037 | ||
b08122a7 TT |
13038 | * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases. |
13039 | ||
ad980a7b TT |
13040 | 2002-11-09 Tom Tromey <tromey@redhat.com> |
13041 | ||
f7aa343f TT |
13042 | * java/applet/Applet.java, java/applet/AppletContext.java, |
13043 | java/applet/AppletStub.java, java/applet/AudioClip.java, | |
13044 | java/awt/CardLayout.java, | |
13045 | java/awt/ContainerOrderFocusTraversalPolicy.java, | |
13046 | java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java, | |
13047 | java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java, | |
13048 | java/awt/GridLayout.java, java/awt/color/ColorSpace.java, | |
13049 | java/awt/color/ICC_ColorSpace.java, | |
13050 | java/awt/color/ICC_Profile.java, | |
13051 | java/awt/color/ICC_ProfileGray.java, | |
13052 | java/awt/color/ICC_ProfileRGB.java, | |
13053 | java/awt/datatransfer/DataFlavor.java, | |
13054 | java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java, | |
13055 | java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java: | |
13056 | New versions from Classpath. | |
13057 | * Makefile.in: Rebuilt. | |
13058 | * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and | |
13059 | ICC_ProfileRGB. | |
13060 | ||
adf94cac TT |
13061 | * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid |
13062 | display policy. | |
13063 | ||
ad980a7b TT |
13064 | * java/awt/List.java (processEvent): Added missing `else's. |
13065 | ||
13066 | * java/awt/Window.java (show): validate() before showing. Make | |
13067 | parent displayable. | |
13068 | (isDisplayable): New method. | |
13069 | ||
f150fe3f MW |
13070 | 2002-11-07 Mark Wielaard <mark@klomp.org> |
13071 | ||
4977bab6 | 13072 | Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com> |
f150fe3f MW |
13073 | * java/rmi/MarshalledObject.java (equals): Check hashcode first. |
13074 | ||
13075 | * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use | |
13076 | annotation. | |
13077 | (loadClass): Take String as codebases. | |
13078 | (getClassAnnotation): Use MyClassLoader annotations. | |
13079 | * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject): | |
13080 | call exportObject(this). | |
13081 | ||
13082 | * gnu/java/rmi/RMIMarshalledObjectOutputStream.java | |
13083 | (RMIMarshalledObjectOutputStream): set locBytesStream and locStream. | |
13084 | (setAnnotation): Don't set locBytesStream and locStream. | |
13085 | (replaceObject): Removed. | |
13086 | (flush): Don't test locStream. | |
13087 | (getLocBytes): LikeWise. | |
13088 | * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef. | |
13089 | (leaseCache): New field. | |
13090 | (dirty): Use leaseCache. | |
13091 | (LeaseRecord): New inner class. | |
13092 | * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't | |
13093 | explicitly call exportObject(). | |
13094 | * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to | |
13095 | false to communicate with Sun JDK130. | |
13096 | * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment. | |
13097 | * gnu/java/rmi/server/RMIObjectInputStream.java | |
13098 | (UnicastConnectionManager): Removed field. | |
13099 | * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject): | |
13100 | Use UnicastServer.getExportedRef(). | |
13101 | * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field. | |
13102 | (expireTime): Likewise. | |
13103 | (CONNECTION_TIMEOUT): Likewise. | |
13104 | (disconnect): Call sock.close(). | |
13105 | (isExpired): New method. | |
13106 | (resetTime): Likewise. | |
13107 | (run): Use do while loop and catch Exception for discardConnection(). | |
13108 | * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections. | |
13109 | * gnu/java/rmi/server/UnicastRef.java: Lots of changes. | |
13110 | * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes. | |
13111 | * gnu/java/rmi/server/UnicastServer.java (refcache): New field. | |
13112 | (exportObject): Use refcache. | |
13113 | (unexportObject): Likewise. | |
13114 | (getExportedRef): New method. | |
13115 | * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New | |
13116 | constructor. | |
13117 | (exportObject): Save manager.serverobj. | |
13118 | (getStub): New method. | |
13119 | ||
396a8043 MW |
13120 | 2002-11-07 Mark Wielaard <mark@klomp.org> |
13121 | ||
13122 | * java/lang/reflect/natField.cc (getBoolean): Use getType(). | |
13123 | (getByte): Likewise. | |
13124 | (getShort): Likewise. | |
13125 | (getInt): Likewise. | |
13126 | (getLong): Likewise. | |
13127 | (getFloat): Likewise. | |
13128 | (getDouble): Likewise. | |
13129 | (get): Likewise. | |
13130 | (setChar): Likewise. | |
13131 | (setByte): Likewise. | |
13132 | (setShort): Likewise. | |
13133 | (setInt): Likewise. | |
13134 | (setLong): Likewise. | |
13135 | (setFloat): Likewise. | |
13136 | (setDouble): Likewise. | |
13137 | ||
82396c2a MK |
13138 | 2002-11-07 Michael Koch <konqueror@gmx.de> |
13139 | ||
13140 | * java/awt/Choice.java, | |
13141 | java/awt/Container.java, | |
13142 | java/awt/GridBagLayout.java: | |
13143 | Fixed documentation. | |
13144 | * java/awt/peer/ContainerPeer.java: | |
13145 | Reindented. | |
13146 | ||
3bb5c7a1 MK |
13147 | 2002-11-07 Michael Koch <konqueror@gmx.de> |
13148 | ||
13149 | * java/awt/color/ICC_Profile.java: | |
13150 | Added missing constants. | |
13151 | * java/awt/color/ICC_ColorSpace.java | |
13152 | (getMinValue): Added dummy implementation. | |
13153 | (getMaxValue): Added dummy implementation. | |
13154 | * java/awt/datatransfer/DataFlavor.java | |
13155 | (imageFlavor): Added. | |
13156 | (isMimeTypeEqual): Must be final. | |
13157 | (getDefaultRepresentationClass): Must be non-static. | |
13158 | (getDefaultRepresentationClassAsString): Must be non-static. | |
13159 | * java/awt/dnd/DragSourceContext.java | |
13160 | (dragExit): Corrected argument. | |
13161 | (dragDropEnd): Corrected argument. | |
13162 | * java/awt/dnd/DragSourceListener.java.java | |
13163 | (dragExit): Corrected argument. | |
13164 | (dragDropEnd): Corrected argument. | |
13165 | * java/awt/font/TextHitInfo.java | |
13166 | (toString): Added stubbed implementation. | |
13167 | * java/awt/geom/PathIterator.java: | |
13168 | The constants must be static. | |
13169 | * java/awt/image/VolatileImage.java | |
13170 | (IMAGE_INCOMPATIBLE): Fixed typo. | |
13171 | * java/awt/image/renderable/RenderableImage.java | |
13172 | (HINTS_OBSERVED): Must be static. | |
13173 | * java/beans/BeanInfo.java: | |
13174 | Constants must be final. | |
13175 | ||
12f256d4 TT |
13176 | 2002-11-06 Tom Tromey <tromey@redhat.com> |
13177 | ||
13178 | From svens@it.uu.se. For PR libgcj/8481. | |
13179 | * java/util/Random.java (nextInt(int)): Only use 31 bits. | |
13180 | ||
7694d69a TT |
13181 | 2002-11-06 Tom Tromey <tromey@redhat.com> |
13182 | ||
13183 | * jni.cc (array_from_valist): Assume that jlong won't be | |
13184 | promoted. | |
13185 | ||
9c31fc1b RD |
13186 | 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com> |
13187 | ||
13188 | * gnu/java/security/provider/SHA.java (engineGetDigestLength): | |
13189 | Return 20. | |
13190 | * gnu/java/security/provider/MD5.java (engineGetDigestLength): | |
13191 | Return 16. | |
13192 | ||
957e3aef TT |
13193 | 2002-11-03 Tom Tromey <tromey@redhat.com> |
13194 | ||
13195 | * java/lang/ClassLoader.java (loadClass): Call loadClass on | |
13196 | VMClassLoader, not findClass. | |
13197 | ||
a5db0683 JS |
13198 | 2002-11-03 Jeff Sturm <jsturm@one-point.com> |
13199 | ||
13200 | * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove. | |
13201 | (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not | |
13202 | _Jv_DetermineVTableIndex, to determine vtable offset. | |
13203 | (_Jv_DetermineVTableIndex): Remove. | |
13204 | (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead. | |
13205 | ||
13206 | * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove. | |
13207 | ||
7189ea29 TT |
13208 | 2002-11-03 Tom Tromey <tromey@redhat.com> |
13209 | ||
13210 | * java/nio/channels/AlreadyConnectedException.java: Extend | |
13211 | IllegalStateException, per spec. | |
13212 | ||
de36f65d MW |
13213 | 2002-10-31 Stephen Crawley <crawley@dstc.edu.au> |
13214 | ||
13215 | * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)). | |
13216 | ||
13217 | 2002-10-31 Wu Gansha <gansha.wu@intel.com>: | |
13218 | ||
4977bab6 ZW |
13219 | * java/util/ArrayList.java (readObject, writeObject): Only read/write |
13220 | size items. | |
de36f65d MW |
13221 | |
13222 | 2002-10-31 Wu Gansha <gansha.wu@intel.com>: | |
13223 | ||
4977bab6 ZW |
13224 | * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an |
13225 | initial estimated size to avoid enlarge buffer frequently. | |
de36f65d MW |
13226 | |
13227 | 2002-10-31 Wu Gansha <gansha.wu@intel.com>: | |
13228 | ||
13229 | * java/lang/reflect/Proxy.java (ProxyType): Set loader to System | |
13230 | ClassLoader when null. | |
13231 | (ProxyType.hashCode): Loader null check no longer needed. | |
13232 | (ProxyType.sameTypes): New method. | |
13233 | (ProxyType.equals): Use new method. | |
13234 | ||
13235 | 2002-10-31 Mark Wielaard <mark@klomp.org> | |
13236 | ||
4977bab6 | 13237 | * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to |
de36f65d MW |
13238 | length of String. |
13239 | * java/net/URLEncoder.java (encode): Likewise. | |
13240 | ||
13241 | 2002-10-31 Mark Wielaard <mark@klomp.org> | |
13242 | ||
13243 | * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException | |
13244 | when stream is closed. | |
13245 | (closeEntry): Likewise. | |
13246 | (read): Likewise. | |
13247 | * java/util/zip/ZipOutputStream.java (putNextEntry): Throw | |
13248 | ZipException when no entry active. | |
13249 | (closeEntry): Likewise. | |
13250 | (write): Likewise. | |
13251 | ||
fead5eb5 TT |
13252 | 2002-11-02 Tom Tromey <tromey@redhat.com> |
13253 | ||
afa54b4c TT |
13254 | * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE. |
13255 | * java/lang/natClass.cc (initializeClass): Don't return just | |
13256 | because self==thread. | |
13257 | ||
fead5eb5 TT |
13258 | For PR java/8415: |
13259 | * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass. | |
13260 | * prims.cc (_Jv_FindClassFromSignature): Indentation fix. | |
13261 | ||
bbf65529 AS |
13262 | 2002-11-02 Andreas Schwab <schwab@suse.de> |
13263 | ||
13264 | * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do | |
13265 | pass GCJFLAGS. | |
13266 | (FLAGS_TO_PASS): Define. | |
13267 | * Makefile.in: Regenerated. | |
13268 | ||
9dcb1ec8 MK |
13269 | 2002-11-01 Michael Koch <konqueror@gmx.de> |
13270 | ||
13271 | * java/nio/ByteOrder.java: New file. | |
13272 | * java/nio/channels/DatagramChannel.java: | |
13273 | (DatagramChannel): New constructor. | |
13274 | * java/nio/channels/Pipe.java: New file. | |
13275 | * java/nio/channels/SelectableChannel.java: New file. | |
13276 | * java/nio/channels/SelectionKey.java: New file. | |
13277 | * java/nio/channels/Selector.java: New file. | |
13278 | * java/nio/channels/ServerSocketChannel.java | |
13279 | (ServerSocketChannel): New constructor. | |
13280 | * java/nio/channels/SocketChannel.java | |
13281 | (SocketChannel): New constructor. | |
13282 | * java/nio/channels/Pipe.java: New file. | |
13283 | * java/nio/channels/spi/AbstractChannel.java: New file. | |
13284 | * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file. | |
13285 | * java/nio/channels/spi/AbstractSelectableChannel.java: | |
13286 | License added | |
13287 | (AbstractSelectableChannel): New stubbed method. | |
13288 | * java/nio/channels/spi/AbstractSelectionKey.java: New file. | |
13289 | * java/nio/channels/spi/AbstractSelector.java: New file. | |
13290 | * java/nio/channels/spi/SelectorProvider.java: New file. | |
13291 | * java/nio/charset/Charset.java: New file. | |
13292 | * java/nio/charset/CoderMalfunctionError.java: New file. | |
13293 | * java/nio/charset/CodingErrorAction.java: New file. | |
13294 | * java/nio/charset/spi/CharsetProvider.java | |
13295 | (charsetForName): Uncommented. | |
13296 | * Makefile.am (java_native_source_files): Added new files. | |
13297 | * Makefile.in: Regenerated. | |
13298 | ||
75fe3383 MK |
13299 | 2002-11-01 Michael Koch <konqueror@gmx.de> |
13300 | ||
13301 | * java/net/InetAddress.java: | |
13302 | (isAnyLocalAddress): Implemented. | |
13303 | (isLoopbackAddress): Implemented, comment added. | |
13304 | (isLinkLocalAddress): Implemented, documentation added. | |
13305 | (isSiteLocalAddress): Implemented, documentation added. | |
13306 | (isMCGlobal): Implemented, documentation added. | |
13307 | (isMCNodeLocal): Implemented, documentation added. | |
13308 | (isMCLinkLocal): Implemented, documentation added. | |
13309 | (isMCSiteLocal): Implemented, documentation added. | |
13310 | (isMCOrgLocal): Implemented, documentation added. | |
13311 | (getHostName): Documentation added. | |
13312 | (getCanonicalHostName): Implemented, documentation added. | |
13313 | (getAddress): Documentation added. | |
13314 | (hashCode): Documentation added. | |
13315 | (equals): Documentation added. | |
13316 | (toString): Fixed implementation. | |
13317 | (getByAddress): Use Inet4Address and Inet6Address. | |
13318 | (lookup): New linewrap. | |
13319 | (getByName): SecurityManager check added, support Inet4Address and | |
13320 | Inet6address, comments added. | |
13321 | (getAllByName): SecurityManager check added, comments added. | |
13322 | * java/net/Inet6Address.java: | |
13323 | (Inet6Address): Initialize parent class with addr instead of null. | |
13324 | * java/net/URL.java | |
13325 | (equals): Documentation added. | |
13326 | (getFile): Documentation added. | |
13327 | (hashCode): Documentation added. | |
13328 | * java/net/natInetAddress.cc: | |
13329 | (aton): Fix IPv6 support. | |
13330 | * java/net/natPlainDatagramSocketImpl.cc: | |
13331 | (peek): Throw PortUnreachableException when suitable. | |
13332 | (peekData): Throw PortUnreachableException when suitable. | |
13333 | (send): Throw PortUnreachableException when suitable. | |
13334 | (receive): Throw PortUnreachableException when suitable. | |
13335 | ||
5e81d5be MW |
13336 | 2002-10-27 Mark Wielaard <mark@klomp.org> |
13337 | ||
13338 | * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as | |
13339 | argument. | |
13340 | (readLeShort): Likewise and use byte[]. | |
13341 | (readLeInt): Likewise. | |
13342 | (readEntries): Use new versions of methods and use byte[] for reading | |
13343 | a complete zip entry. Add ZipFile name to exceptions. | |
13344 | (entries): Add ZipFile name to exceptions. | |
13345 | (getEntry): Likewise. | |
13346 | (checkLocalHeader): Use new versions of methods and add ZipFile name | |
13347 | to exceptions. | |
13348 | ||
b8d5baff MA |
13349 | 2002-10-31 Mark Anderson <mark@panonet.net> |
13350 | ||
13351 | * java/awt/GridBagLayout.java (setConstraints): New stubbed method | |
13352 | added | |
13353 | ||
7deae97a KW |
13354 | 2002-10-25 Krister Walfridsson <cato@df.lth.se> |
13355 | ||
13356 | * configure.in: Disable hash sync when not using threads. | |
13357 | * configure: Regenerated. | |
13358 | ||
ca7c2b85 TT |
13359 | 2002-10-24 Tom Tromey <tromey@redhat.com> |
13360 | ||
13361 | * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function. | |
13362 | (_Jv_FindSymbolInExecutable): Removed argument name. | |
13363 | (insertSystemProperties): Call _Jv_SetDLLSearchPath if | |
13364 | java.library.path is set. | |
13365 | ||
13366 | * gij.cc (help): Document --showversion. | |
13367 | (version): Don't exit. | |
13368 | (main): Handle --showversion. Exit if --version given. | |
13369 | ||
b0af98d7 TT |
13370 | 2002-10-23 Tom Tromey <tromey@redhat.com> |
13371 | ||
13372 | * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment. | |
13373 | (array_from_valist): Correctly handle promotion for jint, jlong, | |
13374 | jfloat, and jdouble. | |
13375 | ||
963f08a9 RM |
13376 | 2002-10-23 Ranjit Mathew <rmathew@hotmail.com> |
13377 | ||
13378 | * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of | |
13379 | GetFileAttributesEx( ) to find file length and modification times, | |
13380 | as the latter is not present on Windows 95. | |
13381 | ||
a9fe0798 | 13382 | 2002-10-21 Michael Koch <konqueror@gmx.de> |
e1caed89 MK |
13383 | |
13384 | * java/net/URL.java | |
13385 | (URL): Activate SecurityManager checks. | |
13386 | (equals): Use URLStreamHandler implementation instead of doing it | |
13387 | alone. This allows special protocol stream handlers to change default | |
13388 | behaviour. | |
13389 | (hashCode): Use URLStreamHandler implementation instead of doing it | |
13390 | alone. This allows special protocol stream handlers to change default | |
13391 | behaviour. | |
13392 | * java/net/URLStreamHandler.java | |
13393 | (equals): Implemented default URL equality check. | |
13394 | (hostsEqual): Implemented default URL equality check. | |
13395 | (hashCode): Implemented default URL hashCode algorithm. | |
13396 | * java/net/natPlainDatagramSocketImpl.cc: | |
13397 | No lines longer then 80 characters. | |
54d9d34a | 13398 | |
e2a450f6 AM |
13399 | 2002-10-20 Adam Megacz <adam@xwt.org> |
13400 | ||
13401 | * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added | |
13402 | * configure.in: enabled hash sync on Win32 | |
4977bab6 ZW |
13403 | * include/win32-threads.h (_Jv_ThreadId_t): added. |
13404 | * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit, | |
e2a450f6 AM |
13405 | heavy_lock_obj_finalization_proc, wait, notify, notifyAll): |
13406 | removed some posix-isms, use Thread::sleep() instead of usleep, | |
13407 | added code to clear bottom three bits if platform has a broken | |
c53be425 TT |
13408 | linker. |
13409 | * include/win32-threads.h (_Jv_ThreadId_t): added. | |
e2a450f6 | 13410 | |
6d0b22ec RM |
13411 | 2002-10-19 Ranjit Mathew <rmathew@hotmail.com> |
13412 | ||
13413 | * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ | |
13414 | runtime property "gnu.gcj.progname" containing the name used to | |
13415 | invoke the current Java program (similar to argv[0] for C | |
13416 | programs). | |
13417 | ||
315b6591 TT |
13418 | 2002-10-15 Tom Tromey <tromey@redhat.com> |
13419 | ||
13420 | Fix for PR libgcj/8234: | |
13421 | * java/util/zip/natInflater.cc (reset): Reset avail_in. | |
13422 | * java/util/zip/natDeflater.cc (reset): Reset avail_in. | |
13423 | ||
8fa7c5af MW |
13424 | 2002-10-13 Mark Wielaard <mark@klomp.org> |
13425 | ||
13426 | * mauve-libgcj: Enable Mauve tests that compile now. | |
13427 | ||
9dac6355 MW |
13428 | 2002-10-11 Mark Wielaard <mark@klomp.org> |
13429 | ||
13430 | Fix for PR libgcj/8142 | |
13431 | * java/lang/natClassLoader.cc (findClass): Skip inner classes when | |
13432 | loading native modules. | |
13433 | ||
9461e24c MK |
13434 | 2002-10-10 Michael Koch <konqueror@gmx.de> |
13435 | ||
13436 | * javax/swing/AbstractListModel.java | |
13437 | (getListDataListeners): New stubbed method. | |
13438 | javax/swing/DefaultBoundedRangeModel.java | |
13439 | (getChangeListeners): New stubbed method. | |
13440 | javax/swing/DefaultSingleSelectionModel.java | |
13441 | (getChangeListeners): New stubbed method. | |
13442 | ||
4d1d2b09 MK |
13443 | 2002-10-10 Michael Koch <konqueror@gmx.de> |
13444 | ||
13445 | * gcj/.cvsignore: New file to ignore files generated during build. | |
13446 | * include/.cvsignore: New file to ignore files generated during build. | |
13447 | ||
13448 | 2002-10-10 Michael Koch <konqueror@gmx.de> | |
7393decb MK |
13449 | |
13450 | * java/net/HttpURLConnection.java | |
13451 | (getPermission): New method. | |
13452 | (getErrorStream): New stub method. | |
13453 | (getHeaderFieldDate): New stub method. | |
13454 | * java/net/Inet4Address.java: | |
13455 | (isLinkLocalAddress): Typo fixed. | |
13456 | * java/net/InetAddress.java: | |
13457 | (readResolve): New stubbed method (for serialization). | |
13458 | (isAnyLocalAddress): New stubbed method. | |
13459 | (isLoopbackAddress): New stubbed method. | |
13460 | (isLinkLocalAddress): New stubbed method. | |
13461 | (isSiteLocalAddress): New stubbed method. | |
13462 | (isMCGlobal): New stubbed method. | |
13463 | (isMCNodeGlobal): New stubbed method. | |
13464 | (isMCLinkLocal): New stubbed method. | |
13465 | (isMCSiteLocal): New stubbed method. | |
13466 | (isMCOrgLocal): New stubbed method. | |
13467 | (getCanonicalHostName): New stubbed method. | |
13468 | (getByAddress): Create instances of Inet4Address/Inet6Address, | |
13469 | instead of InetAddress, documentation added. | |
13470 | * java/net/MulticastSocket.java | |
13471 | (getInterface): Removed FIXME. | |
13472 | (getNetworkInterface): New method. | |
13473 | (setNetworkInterface): New method. | |
13474 | * java/net/NetworkInterface.java: | |
13475 | (toString): Use property "line.separator" instead of "\n". | |
13476 | * java/net/URLConnection.java | |
13477 | (getContent): New stubbed method. | |
13478 | * java/net/URLStreamHandler.java: | |
13479 | (equals): New stubbed method. | |
13480 | (hostsEqual): New stubbed method. | |
13481 | (hashCode): New stubbed method. | |
13482 | * java/net/natNetworkInterface.cc: | |
13483 | (getRealNetworkInterfaces): Create Inet4Address object | |
13484 | instead of InetAddress. | |
13485 | ||
b7932de6 UW |
13486 | 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com> |
13487 | ||
13488 | * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of | |
13489 | unsigned long temporary to implement insn_iushr shifts. | |
13490 | ||
5404cddb UW |
13491 | 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com> |
13492 | ||
13493 | * configure.host [s390*-*]: Enable Java interpreter. | |
13494 | Enable hash synchronization. Add sysdeps dir. | |
13495 | * sysdep/s390/locks.h: New file. | |
13496 | ||
8086481c MW |
13497 | 2002-10-06 Mark Wielaard <mark@klomp.org> |
13498 | ||
13499 | * java/lang/Thread.java (setDaemon): Check startable_flag, | |
13500 | not isAlive(). | |
13501 | ||
0c59cbfa MK |
13502 | 2002-10-07 Michael Koch <konqueror@gmx.de> |
13503 | ||
13504 | * java/nio/Buffer.java: New stub file. | |
13505 | * java/nio/charset/spi/CharsetProvider.java: Commented out all usages | |
13506 | of class Charset. | |
13507 | * Makefile.am (java_native_source_files): Added java/nio/Buffer.java. | |
13508 | * Makefile.in: Regenerated. | |
13509 | ||
0f31d441 MK |
13510 | 2002-10-07 Michael Koch <konqueror@gmx.de> |
13511 | ||
13512 | * java/nio/ByteBuffer.java: | |
13513 | removed import of not commited class. | |
13514 | ||
7f73f46f MK |
13515 | 2002-10-07 Michael Koch <konqueror@gmx.de> |
13516 | ||
13517 | * java/nio/ByteBuffer.java, | |
13518 | java/nio/MappedByteBuffer.java: | |
13519 | New files, forgot to add these dummies. | |
13520 | * Makefile.am (java_native_source_files): Added new files. | |
13521 | * Makefile.in: Regenerated. | |
13522 | ||
0b6dfe3b MK |
13523 | 2002-10-07 Michael Koch <konqueror@gmx.de> |
13524 | ||
13525 | * java/nio/channels/AlreadyConnectedException.java, | |
13526 | java/nio/channels/ClosedChannelException.java, | |
13527 | java/nio/channels/ReadableByteChannel.java, | |
13528 | java/nio/channels/InterruptibleChannel.java, | |
13529 | java/nio/channels/Channel.java, | |
13530 | java/nio/channels/ByteChannel.java, | |
13531 | java/nio/channels/GatheringByteChannel.java, | |
13532 | java/nio/channels/ScatteringByteChannel.java, | |
13533 | java/nio/channels/WritableByteChannel.java, | |
13534 | java/nio/charset/CharacterCodingException.java, | |
13535 | java/nio/charset/IllegalCharsetNameException.java, | |
13536 | java/nio/charset/MalformedInputException.java, | |
13537 | java/nio/charset/UnmappableCharacterException.java, | |
13538 | java/nio/charset/UnsupportedCharsetException.java, | |
13539 | java/nio/charset/spi/CharsetProvider.java: New file. | |
13540 | These files are exceptions or interfaces, | |
13541 | no real or abstract classes. | |
13542 | * Makefile.am (java_native_source_files): Added new files. | |
13543 | * Makefile.in: Regenerated. | |
13544 | ||
f5b63cb6 MK |
13545 | 2002-10-05 Michael Koch <konqueror@gmx.de> |
13546 | ||
13547 | * java/net/InetAddress.java | |
13548 | (getByAddress): Fixed documentation. | |
13549 | (getByAddress): New method. | |
13550 | * java/net/Inet4Address.java: New file. | |
13551 | * java/net/URL.java | |
13552 | (URL): Documentation added. | |
13553 | (getContent): Documentation added. | |
13554 | (getContent): New stubbed method. | |
13555 | (getQuery): New method. | |
13556 | (openConnection): Documentation added. | |
13557 | (openStream): Documentation added. | |
13558 | (setURLStreamHandlerFactory): Documentation added. | |
13559 | * java/net/URI.java: New stub file. | |
13560 | * Makefile.am | |
13561 | (java_native_source_files): Added java/net/Inet4Address.java, | |
13562 | java/net/Inet6Address.java and java/net/URI.java. | |
13563 | * Makefile.in: Regenerated. | |
13564 | ||
7992cddd | 13565 | 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu> |
54d9d34a | 13566 | |
7992cddd MW |
13567 | * java/lang/ProtectionDomain.java (linesep): Remove field. |
13568 | (toString): Use System.getProperty("line.separator"). | |
13569 | ||
13570 | 2002-10-04 Michael Koch <konqueror@gmx.de> | |
13571 | ||
13572 | * java/security/Identity.java: Added serialVersionUID. | |
13573 | * java/security/KeyPair.java: Added serialVersionUID. | |
13574 | * java/security/Provider.java: Added serialVersionUID. | |
13575 | * java/security/SecureRandom.java: Added serialVersionUID. | |
13576 | * java/security/SecureRandomSpi.java: Added serialVersionUID. | |
13577 | * java/security/SignedObject.java: Added serialVersionUID. | |
13578 | * java/security/cert/Certificate.java: Added serialVersionUID. | |
13579 | ||
13580 | 2002-10-04 Mark Wielaard <mark@klomp.org> | |
13581 | ||
13582 | * java/security/Security.java: Use java.home or gnu.classpath.home | |
13583 | to load providers. | |
13584 | (loadProviders): Extra dir argument. | |
13585 | (getProvider): Return null when not found. | |
13586 | ||
0a3fbe88 MW |
13587 | 2002-10-04 Mark Wielaard <mark@klomp.org> |
13588 | ||
13589 | * java/lang/Throwable.java: Remerge with Classpath. | |
13590 | ||
cc40c1e1 MK |
13591 | 2002-10-04 Michael Koch <konqueror@gmx.de> |
13592 | ||
13593 | * java/net/InetAddress.java: | |
13594 | (isMulticastAddress): Added documentation. | |
13595 | (getHostAddress): Added documentation. | |
13596 | (toString): Added documentation. | |
13597 | (getByAddress): Fixed documentation. | |
13598 | (getByName): Added documentation. | |
13599 | (getAllByName): Added documentation. | |
13600 | (getLocalHost): Added documentation. | |
13601 | ||
9c826022 MK |
13602 | 2002-10-04 Michael Koch <konqueror@gmx.de> |
13603 | ||
13604 | * java/beans/beancontext/BeanContextChildSupport.java: | |
13605 | Added serialVersionUID. | |
13606 | * java/text/Collator.java: (compare): Made documentation HTML-aware. | |
13607 | * javax/naming/BinaryRefAddr.java: Added serialVersionUID. | |
13608 | * javax/naming/Name.java: Added serialVersionUID. | |
13609 | ||
e662e109 AM |
13610 | 2002-10-03 Adam Megacz <adam@xwt.org> |
13611 | ||
13612 | * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out | |
13613 | some functionality that isn't supported yet on WIN32. | |
13614 | ||
3db03e43 TT |
13615 | 2002-10-03 Tom Tromey <tromey@redhat.com> |
13616 | ||
13617 | * Makefile.in: Rebuilt. | |
13618 | * Makefile.am (awt_java_source_files): Added new files. | |
13619 | ||
8e3cce32 MK |
13620 | 2002-10-03 Michael Koch <konqueror@gmx.de> |
13621 | ||
13622 | * java/net/InetAddress.java | |
13623 | (class InetAddress): Removed final keyword. | |
13624 | (equals): Fixed typo. | |
13625 | (getByAddress): New method. | |
13626 | ||
e3738399 MK |
13627 | 2002-10-03 Michael Koch <konqueror@gmx.de> |
13628 | ||
13629 | * java/awt/dnd/Autoscroll.java: | |
13630 | New file, merge from Classpath. | |
13631 | * java/awt/dnd/DragSourceAdapter.java: | |
13632 | (dragExit): Fixed typos in argument type. | |
13633 | (dragDropEnd): Fixed typos in argument type. | |
13634 | * java/awt/dnd/DragSourceDropEvent.java: | |
13635 | New file, merge from Classpath. | |
13636 | * java/awt/dnd/DropTarget.java: | |
13637 | Added stubs, merge from Classpath. | |
13638 | * java/awt/dnd/DropTargetAdapter.java: | |
13639 | New file, merge from Classpath. | |
13640 | * java/awt/dnd/DropTargetContext.java: | |
13641 | New file, merge from Classpath. | |
13642 | * java/awt/dnd/DropTargetDragEvent.java: | |
13643 | New file, merge from Classpath. | |
13644 | * java/awt/dnd/DropTargetDropEvent.java: | |
13645 | New file, merge from Classpath. | |
13646 | * java/awt/dnd/DropTargetEvent.java: | |
13647 | New file, merge from Classpath. | |
13648 | * java/awt/dnd/DropTargetListener.java: | |
13649 | New file, merge from Classpath. | |
13650 | * java/awt/dnd/MouseDragGestureRecognizer.java: | |
13651 | New file, merge from Classpath. | |
13652 | * java/awt/dnd/peer/DropTargetContextPeer.java: | |
13653 | New file, merge from Classpath. | |
13654 | ||
a8e8f5c3 MK |
13655 | 2002-10-03 Michael Koch <konqueror@gmx.de> |
13656 | ||
13657 | * java/net/DatagramPacket.java | |
13658 | (setLength): Fixed typo and be HTML-aware. | |
13659 | * java/net/InetSocketAddress.java | |
13660 | (InetSocketAddress): Correct initialization of hostname, fixed typo. | |
13661 | (equals): Added comment about equality of InetSocketAddress objects. | |
13662 | * java/net/ServerSocket.java | |
13663 | (accept): Added checks. | |
13664 | (isClosed): New stubbed method. | |
13665 | * java/net/SocketOptions.java: Reindention. | |
13666 | * java/net/SocketPermission | |
13667 | (SocketPermission): Documentation fixed. | |
54d9d34a | 13668 | |
a8e8f5c3 | 13669 | 2002-10-03 Michael Koch <konqueror@gmx.de> |
e832ab3c MK |
13670 | |
13671 | * java/net/DatagramSocket.java | |
13672 | (receive): Check with SecurityManager AFTER the packet is received, | |
13673 | check if connected to multicast address, documentation added. | |
13674 | (send): Only check SecurityManager if connected, check address of | |
13675 | packet to send. | |
13676 | (connect): Implemented, documentation added. | |
13677 | * java/net/Inet6Address.java: New file (not added yet to Makefile.am). | |
13678 | * java/net/InetSocketAddress.java | |
13679 | (whole file): Reindented. | |
13680 | (hostname): New attribute. | |
13681 | (InetSocketAddress): Initialize new attribute. | |
13682 | (getAddress): Documentation added. | |
13683 | (getHostName): Documentation added. | |
13684 | (getPort): Documentation added. | |
13685 | (hashCode): Documentation added. | |
13686 | (isUnresolved): Documentation added. | |
13687 | (toString): Conform to output of JDK 1.4.1, documentation added. | |
13688 | * java/net/MulticastSocket.java | |
13689 | (joinGroup): Removed FIXME, documentation added. | |
13690 | (leaveGroup): Removed FIXME, documentation added. | |
13691 | (send): Documentation added. | |
13692 | * java/net/Socket.java | |
13693 | (inputShutdown): New variable. | |
13694 | (outputShutdown): New variable. | |
13695 | (Socket): Initialize new variables. | |
13696 | (getRemoteSocketAddress): Check if connected. | |
13697 | (shutdownInput): Set new variable. | |
13698 | (shutdownOutput): Set new variable. | |
13699 | (isConnected): New method. | |
13700 | (isClosed): New method. | |
13701 | (isInputShutdown): New method. | |
13702 | (isOutputShutdown): New method. | |
13703 | * java/net/URLStreamHandler.java | |
13704 | (URLStreamHandler): New method. | |
13705 | (openConnection): Added documentation. | |
13706 | (parseURL): Added documentation. | |
13707 | (getHostAddress): New method. | |
13708 | (getDefaultPort): New method. | |
13709 | ||
593bbdc1 TT |
13710 | 2002-10-02 Tom Tromey <tromey@redhat.com> |
13711 | ||
13712 | * java/rmi/activation/ActivationDesc.java, | |
13713 | java/rmi/activation/ActivationGroupDesc.java, | |
13714 | java/rmi/activation/ActivationGroupID.java, | |
13715 | java/rmi/activation/ActivationID.java: New versions from | |
13716 | Classpath. | |
13717 | ||
73bff064 BT |
13718 | 2002-09-30 Bo Thorsen <bo@suse.de> |
13719 | ||
13720 | * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support. | |
13721 | ||
d74732f5 TT |
13722 | 2002-09-30 Tom Tromey <tromey@redhat.com> |
13723 | ||
13724 | * java/io/ObjectInputStream.java (resolveProxyClass): New method | |
13725 | from Classpath. | |
13726 | * Makefile.in: Rebuilt. | |
13727 | * Makefile.am (rmi_java_source_files): Added new files. | |
13728 | * gnu/java/rmi/RMIMarshalledObjectInputStream.java, | |
13729 | gnu/java/rmi/RMIMarshalledObjectOutputStream.java, | |
13730 | gnu/java/rmi/server/ConnectionRunnerPool.java: New files from | |
13731 | Classpath. | |
13732 | * gnu/java/rmi/dgc/DGCImpl.java, | |
13733 | gnu/java/rmi/dgc/DGCImpl_Skel.java, | |
13734 | gnu/java/rmi/dgc/DGCImpl_Stub.java, | |
13735 | gnu/java/rmi/registry/RegistryImpl_Skel.java, | |
13736 | gnu/java/rmi/registry/RegistryImpl_Stub.java, | |
13737 | gnu/java/rmi/server/RMIHashes.java, | |
13738 | gnu/java/rmi/server/RMIObjectInputStream.java, | |
13739 | gnu/java/rmi/server/RMIObjectOutputStream.java, | |
13740 | gnu/java/rmi/server/UnicastConnection.java, | |
13741 | gnu/java/rmi/server/UnicastConnectionManager.java, | |
13742 | gnu/java/rmi/server/UnicastRef.java, | |
13743 | gnu/java/rmi/server/UnicastServer.java, | |
13744 | gnu/java/rmi/server/UnicastServerRef.java, | |
13745 | java/rmi/MarshalledObject.java, | |
13746 | java/rmi/server/RMIClassLoader.java, | |
13747 | java/rmi/server/RemoteObject.java, | |
13748 | java/rmi/server/UnicastRemoteObject.java, | |
13749 | java/security/SecureClassLoader.java: Merged from Classpath. | |
13750 | ||
d3cc3f10 AG |
13751 | 2002-09-29 Anthony Green <green@redhat.com> |
13752 | ||
13753 | * java/lang/reflect/UndeclaredThrowableException.java: New file. | |
13754 | Imported from GNU Classpath. | |
13755 | * java/lang/reflect/natProxy.cc: New file. | |
13756 | * java/lang/reflect/InvocationHandler.java: New file. Imported | |
13757 | from GNU Classpath. | |
13758 | * java/lang/reflect/Proxy.java: New file. Imported from GNU | |
13759 | Classpath. | |
13760 | * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU | |
54d9d34a | 13761 | Classpath. |
d3cc3f10 AG |
13762 | * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA, |
13763 | HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS): | |
13764 | New statics. | |
13765 | * gcj/javaprims.h ("Java"): Add new classes. | |
13766 | * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces. | |
13767 | * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this. | |
54d9d34a | 13768 | java/lang/reflect/Proxy$$ProxyType.h): And this. |
d3cc3f10 AG |
13769 | (inner_nat_headers): Add these new headers. |
13770 | (ordinary_java_source_files): Add new files. | |
13771 | (nat_source_files): Add new file. | |
13772 | * Makefile.in: Rebuilt. | |
13773 | ||
841b8360 RE |
13774 | 2002-09-28 Richard Earnshaw <rearnsha@arm.com> |
13775 | ||
13776 | * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with | |
13777 | a single configuration. | |
13778 | ||
8dc24041 JR |
13779 | 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu> |
13780 | ||
13781 | * java/util/TimeZone.java (getDSTSavings): New method. | |
13782 | Fixes PR libgcj/7786. | |
13783 | ||
8848a766 JR |
13784 | 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu> |
13785 | ||
13786 | * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check | |
13787 | to see if `the_method == 0' before looking up vtable index. | |
13788 | Fixes PR libgcj/7709. | |
13789 | ||
7ea082bb TT |
13790 | 2002-09-25 Tom Tromey <tromey@redhat.com> |
13791 | ||
54d9d34a | 13792 | * java/lang/natClassLoader.cc: |
169f75f3 TT |
13793 | (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec. |
13794 | * resolve.cc: Include NoClassDefFoundError.h, not | |
13795 | ClassNotFoundException.h. | |
13796 | (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec. | |
8848a766 | 13797 | |
169f75f3 TT |
13798 | * defineclass.cc: Don't include ClassNotFoundException.h. |
13799 | ||
fd44a92d TT |
13800 | * resolve.cc: Include StringBuffer. |
13801 | (_Jv_ResolvePoolEntry): Use StringBuffer to create error string. | |
13802 | ||
7ea082bb TT |
13803 | * boehm.cc (_Jv_MarkObj): Don't fail if class object has been |
13804 | allocated but not initialized. | |
13805 | ||
941b08f2 JR |
13806 | 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu> |
13807 | ||
13808 | Fix for PR libgcj/7766: | |
13809 | * java/util/zip/ZipInputStream.java (entryAtEOF): New field. | |
13810 | (getNextEntry): Set it. | |
13811 | (closeEntry): Likewise. | |
13812 | (read): Likewise. | |
13813 | (close): Likewise. | |
13814 | (available): Use it. | |
13815 | ||
fc44b85d MK |
13816 | 2002-09-25 Michael Koch <konqueror@gmx.de> |
13817 | ||
13818 | * java/net/DatagramSocket.java | |
13819 | (DatagramSocket): Initialize new instance variables. | |
13820 | (close): Reset new instance variables. | |
13821 | (getLocalAddress): Remove unneeded SecurityManager usage. | |
13822 | (getLocalPort): Check if socket is already bound. | |
13823 | (isConnected): New method. | |
13824 | (getInetAddress): Implemented. | |
13825 | (getPort): Better Implementation, documentation fixed. | |
13826 | (getRemoteSocketAddress): New method. | |
13827 | * java/net/JarURLConnection.java | |
13828 | (element): Typo fixed. | |
13829 | (getMainAttributes): New method. | |
13830 | (getAttributes): New method (stub only). | |
13831 | (getManifest): New method (stub only). | |
13832 | * java/net/NetPermission.java: Added serialVersionsUID. | |
13833 | * java/net/Socket.java | |
13834 | (connect): Check blocking mode of associated channel, | |
13835 | documentation added. | |
13836 | (getLocalSocketAddress): Better implementation. | |
13837 | (getRemoteSocketAddress): Implemented. | |
13838 | (isBound): New method. | |
13839 | (setSendBufferSize): Documentation added. | |
13840 | * java/net/SocketAddress.java: Added serialVersionsUID. | |
13841 | * java/net/SocketPermission.java: Added serialVersionsUID. | |
13842 | * java/net/URL.java | |
13843 | (URL): Wrap for shorter lines, initialize new instance variables, | |
13844 | documentation added. | |
13845 | (equals): Check new instance variables too. | |
13846 | (getContent): Documentation added. | |
13847 | (getPath): Documentation added. | |
13848 | (getAuthority): New method. | |
13849 | (getHost): Documentation added. | |
13850 | (getPort): Documentation added. | |
13851 | (getDefaultPort): New method. | |
13852 | (getProtocol): Documentation added. | |
13853 | (getUserInfo): Documentation added. | |
13854 | (set): Initialize new instance variables, documentation added. | |
13855 | * java/net/URLStreamHandler.java | |
13856 | (setURL): New method. | |
13857 | * java/net/natPlainDatagramSocketImpl.cc | |
13858 | (connect): Fix exception name. | |
13859 | (disconnect): Fix exception name. | |
13860 | ||
1754e35c MK |
13861 | 2002-09-25 Michael Koch <konqueror@gmx.de> |
13862 | ||
13863 | * java/nio/channels/spi/AbstractSelectableChannel.java: New file. | |
13864 | * java/nio/channels/DatagramChannel.java: | |
13865 | extends AbstractSelectableChannel | |
13866 | * java/nio/channels/ServerSocketChannel.java: | |
13867 | extends AbstractSelectableChannel | |
13868 | * java/nio/channels/SocketChannel.java: | |
13869 | extends AbstractSelectableChannel | |
13870 | * Makefile.am (ordinary_java_source_files): | |
13871 | java/nio/channels/spi/AbstractSelectableChannel.java added. | |
13872 | * Makefile.in: Regenerated. | |
13873 | ||
df79dc1a MK |
13874 | 2002-09-25 Michael Koch <konqueror@gmx.de> |
13875 | ||
13876 | * java/net/DatagramSocket.java | |
13877 | (DatagramSocket): Exception documentation added. | |
13878 | (bind): Exception documentation added, addded SecurityManager check, | |
13879 | added SocketAddress type check. | |
13880 | (getSoTimeout): Check impl. | |
13881 | (receive): Fix SecurityManager check, check impl, documentation added. | |
13882 | (send): Check channel mode, documentation added. | |
13883 | (connect): New method. | |
13884 | (disconnect): Implemented. | |
13885 | (getLocalSocketAddress): New method. | |
13886 | (getReceiveBufferSize): Check impl. | |
13887 | (setReuseAddress): Check impl. | |
13888 | (getReuseAddress): Check impl. | |
13889 | (setBroadcast): Check impl. | |
13890 | (getBroadcast): Check impl. | |
13891 | (setTrafficClass): Check impl, Documentation cleared. | |
13892 | (getTrafficClass): Check impl. | |
13893 | (getSendBufferSize): Check impl. | |
13894 | (setReceiveBufferSize): Check impl, documentation added. | |
13895 | (setSendBufferSize): Documentation added. | |
13896 | (setDatagramSocketImplFactory): New method. | |
13897 | * java/net/HttpURLConnection.java | |
13898 | (HTTP_INTERNAL_ERROR): The correct code is 500. | |
13899 | (HTTP_NOT_IMPLEMENTED): Added new constant. | |
13900 | (setFollowRedirects): Documentation added. | |
13901 | (getInstanceFollowRedirects): New method. | |
13902 | (setInstanceFollowRedirects): New method. | |
13903 | (setRequestMethod): Documentation added. | |
13904 | (getResponseCode): Documentation added. | |
13905 | (getResponseMessage): Documentation added. | |
13906 | * java/net/JarURLConnection.java | |
13907 | (JarURLConnection): protected since JDK 1.4. | |
13908 | (getJarEntry): java.io.IOException to IOException, documentation added. | |
13909 | (getJarFile): Documentation added. | |
13910 | * java/net/ServerSocket.java | |
13911 | (ServerSocket): Private to public, exception added. | |
13912 | (ServerSocket): java.io.IOException to IOException, documentation added. | |
13913 | (bind): Check socket address type, documentation added. | |
13914 | (bind): java.io.IOException to IOException, documentation added. | |
13915 | (accept): Documentation added. | |
13916 | (implAccept): Check ch is not non-blocking, documentation added. | |
13917 | (setSoTimeout): Documentation fixed. | |
13918 | (setReceiveBufferSize): Documentation added. | |
13919 | * java/net/Socket.java | |
13920 | (Socket): Documentation added. | |
13921 | (bind): Documentation added. | |
13922 | (connect): Check socket address type, documentation added. | |
13923 | (getRemoteSocketAddress): New method. | |
13924 | (getLocalSocketAddress): New method. | |
13925 | (setSoLinger): Documentation added. | |
13926 | (getReuseAddress): New method. | |
13927 | (setReuseAddress): New method. | |
13928 | (getTrafficClass): New method. | |
13929 | (setTrafficClass): New method. | |
13930 | * java/net/URLStreamHandler.java | |
13931 | (openConnection): java.io.IOException to IOException. | |
13932 | (parseURL): Documentation added. | |
13933 | (sameFile): public to protected, documentation added. | |
13934 | (setURL): Documentation added. | |
13935 | * java/nio/IllegalBlockingModeException.java: New file. | |
13936 | * Makefile.am (ordinary_java_source_files): | |
13937 | added java/nio/IllegalBlockingModeException.java | |
13938 | * Makefile.in: Regenerated. | |
13939 | ||
ed08cfe4 MK |
13940 | 2002-09-25 Michael Koch <konqueror@gmx.de> |
13941 | ||
13942 | * java/net/DatagramPacket | |
13943 | (DatagramPacket): Exception documentation added. | |
13944 | (setData): Likewise. | |
13945 | (setSocketAddress): Likewise. | |
13946 | * java/net/DatagramSocketImpl.java | |
13947 | (peek): Documentation addded. | |
13948 | (peekData): Documentation addded. | |
13949 | (send): Documentation addded. | |
13950 | (receive): Documentation addded. | |
13951 | (connect): New method. | |
13952 | (disconnect): New method. | |
13953 | (joinGroup): New abstract method. | |
13954 | (leaveGroup): New abstract method. | |
13955 | * java/net/InetSocketAddress.java | |
13956 | (InetSocketAddress): Documentation added. | |
13957 | (equals): final keyword added. | |
13958 | (getAddress): final keyword added. | |
13959 | (getHostName): final keyword added. | |
13960 | (getPort): final keyword added. | |
13961 | (hashCode): final keyword added. | |
13962 | (isUnresolved): final keyword added. | |
13963 | * java/net/MulticastSocket.java | |
13964 | (MulticastSocket): Documentation added. | |
13965 | (MulticastSocket): New method. | |
13966 | (joinGroup): Documentation added. | |
13967 | (joinGroup): New method. | |
13968 | (leaveGroup): Documentation added. | |
13969 | (leaveGroup): New method. | |
13970 | (send): Documentation added. | |
13971 | * java/net/NetworkInterface.java | |
13972 | (getByName): Documentation added. | |
13973 | (getByInetAddress): Documentation added. | |
13974 | (getNetworkInterfaces): Documentation added. | |
13975 | * java/net/PlainDatagramSocketImpl.java | |
13976 | (connect): New method. | |
13977 | (disconnect): New method. | |
13978 | * java/net/SocketImpl.java | |
13979 | (create): Documentation added. | |
13980 | (shutdownInput): Convert public to protected, as it always was. | |
13981 | (shutdownOutput): Convert public to protected, as it always was. | |
13982 | * java/net/SocketOptions.java | |
13983 | (whole file): Reintented. | |
13984 | * java/net/URLClassLoader.java | |
13985 | (URLClassLoader): SecurityManager check added, documentation added. | |
13986 | (findResources): Documentation added. | |
13987 | (findClass): Documentation added. | |
13988 | (newInstance): More correct method arguments. | |
13989 | * java/net/URLConnection.java | |
13990 | (connect): Documentation added. | |
13991 | (getContent): Documentation added. | |
13992 | (getPermission): Documentation added. | |
13993 | (getInputStream): Documentation added. | |
13994 | (getOutputStream): Documentation added. | |
13995 | (setDoInput): Throw correct exception, documentation added. | |
13996 | (setDoOutput): Throw correct exception, documentation added. | |
13997 | (setAllowUserInteraction): Throw correct exception, documentation added. | |
13998 | (setUseCaches): Throw correct exception, documentation added. | |
13999 | (setIfModifiedSince): Throw correct exception, documentation added. | |
14000 | (setRequestProperty): Throw exception, documentation added. | |
14001 | (addRequestProperty): Throw exception, documentation added. | |
14002 | (getRequestProperty): Throw exception, documentation added. | |
14003 | (getRequestProperties): Documentation added. | |
14004 | (setContentHandlerFactory): Documentation added. | |
14005 | (guessContentTypeFromName): protected to public. | |
14006 | (setFileNameMap): Documentation added. | |
14007 | * java/net/URLDecoder.java | |
14008 | (URLDecoder): New method. | |
14009 | (decode): Documentation added. | |
14010 | (whole file): Reindented. | |
14011 | * java/net/URLEncoder.java | |
14012 | (encode): Documentation added. | |
14013 | * java/net/natPlainDatagramSocketImpl.cc | |
14014 | (connect): New method. | |
14015 | (disconnect): New method. | |
14016 | * javax/naming/RefAddr: | |
14017 | (addrType): addrType was never final. | |
14018 | (equals): Fix typo in method name. | |
14019 | * javax/naming/BinaryRefAddr: | |
14020 | (equals): Fix typo in method name. | |
14021 | ||
8cf35364 TT |
14022 | 2002-09-22 Tom Tromey <tromey@redhat.com> |
14023 | ||
14024 | Fix for PR libgcj/6576: | |
14025 | * java/util/ResourceBundle.java (tryBundle): Cache `null' if we | |
14026 | didn't find a given bundle. | |
14027 | (getBundle): Don't require base bundle. | |
14028 | (setParent): Removed old comment. | |
14029 | (tryLocalBundle): Try components even if preceding components were | |
14030 | empty. | |
14031 | ||
6c5d742e KG |
14032 | 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
14033 | ||
14034 | * Makefile.am (all-multi): Fix multilib parallel build. | |
14035 | ||
be362a0d MK |
14036 | 2002-09-21 Michael Koch <konqueror@gmx.de> |
14037 | ||
14038 | * java/net/Socket.java | |
14039 | (sendUrgentData): New method. | |
14040 | (getChannel): New method. | |
14041 | * java/net/ServerSocket.java | |
14042 | (getChannel): New method. | |
14043 | (isBound): New method. | |
14044 | * java/net/DatagramSocket.java | |
14045 | (DatagramSocket): Two new methods. | |
14046 | (bind): New method. | |
14047 | (getChannel): New method. | |
14048 | (isBound): New method. | |
14049 | (send): Added newline to to make shorter lines. | |
14050 | * java/net/PlainDatagramSocketImpl.java | |
14051 | (mcastGrp): Added argument. | |
14052 | (join): Use new mcastGrp. | |
14053 | (leave): Use new mcastGrp. | |
14054 | (joinGroup): New method. | |
14055 | (leaveGroup): New method. | |
14056 | * java/net/natPlainDatagramSocketImpl.cc | |
14057 | (mcastGrp): Added argument, no yet really implemented. | |
14058 | (getOption): Added newline for shorter lines. | |
14059 | * java/net/natPlainSocketImpl.cc | |
14060 | (read, setOption, getOption): Added newline for shorter lines. | |
14061 | ||
b5f4221e TT |
14062 | 2002-09-19 Tom Tromey <tromey@redhat.com> |
14063 | ||
ed08cfe4 MK |
14064 | * java/lang/ClassLoader.java (resolveClass0): Set cause for |
14065 | newly-created exception. | |
b5f4221e | 14066 | |
a2f2457f MK |
14067 | 2002-09-18 Michael Koch <konqueror@gmx.de> |
14068 | ||
14069 | * java/util/regex/Matcher.java, java/util/regex/Pattern.java, | |
14070 | java/util/regex/PatternSyntaxException.java: | |
14071 | Merge with classpath, new files. | |
14072 | * Makefile.am (core_java_source_files): | |
14073 | Added java/util/regex/Matcher.java, | |
14074 | java/util/regex/Pattern.java, | |
14075 | java/util/regex/PatternSyntaxException.java | |
14076 | * Makefile.in: Regenerated. | |
14077 | * include/config.h.in: Added HAVE_NET_IF_H. | |
14078 | * java/net/natNetworkInterface.cc (getRealNetworkInterfaces): | |
14079 | Removed #if 0 ... #endif. | |
54d9d34a | 14080 | |
17656182 MK |
14081 | 2002-09-17 Michael Koch <konqueror@gmx.de> |
14082 | ||
14083 | * java/net/natNetworkInterface.cc: | |
14084 | Removed unneed and yet wrong includes. | |
14085 | ||
26ad77f1 MK |
14086 | 2002-09-17 Michael Koch <konqueror@gmx.de> |
14087 | ||
14088 | * java/net/NetworkInterface.java: New file. | |
14089 | * java/net/natNetworkInterface.java: New file. | |
14090 | * configure.in: Added check for net/if.h. | |
14091 | * configure: Regenerated. | |
14092 | * Makefile.am | |
14093 | (ordinary_java_source_files): Added NetworkInterface.java. | |
14094 | (nat_source_files): Added natNetworkInterface.cc. | |
14095 | * Makefile.in: Regenerated. | |
14096 | ||
e46b54a2 TT |
14097 | 2002-09-16 Tom Tromey <tromey@redhat.com> |
14098 | ||
14099 | * java/net/URLClassLoader.java (findClass): Code source for a | |
14100 | class from a jar is not necessarily a jar: URL. | |
14101 | ||
cf0f53eb MK |
14102 | 2002-09-16 Michael Koch <konqueror@gmx.de> |
14103 | ||
14104 | * java/lang/AssertionError.java: | |
14105 | Merge with classpath, fixes HTML. | |
14106 | * java/rmi/server/LogStream.java: | |
14107 | Merge with classpath, fixes some constants. | |
14108 | * java/net/server/RemoteServer.java: | |
14109 | Merge with classpath, adds serialVersionUID. | |
14110 | * javax/naming/BinaryRefAddr.java: | |
14111 | Merge with classpath, s/equal/equals/. | |
14112 | * javax/naming/NamingException.java: | |
14113 | Merge with classpath, fixed typo. | |
14114 | * javax/naming/RefAddr.java: | |
14115 | Merge with classpath, s/equal/equals/. | |
14116 | * java/awt/Toolkit.java: | |
14117 | s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/ | |
14118 | and typo fixed. | |
14119 | ||
233dad07 | 14120 | 2002-09-15 Adam Megacz <adam@xwt.org> |
54d9d34a | 14121 | |
233dad07 AM |
14122 | * java/net/natPlainSocketImpl.cc: fixed typo. |
14123 | ||
9d436916 | 14124 | 2002-09-15 Adam Megacz <adam@xwt.org> |
54d9d34a | 14125 | |
9d436916 AM |
14126 | * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts, |
14127 | which don't work on Win32 (yet). | |
14128 | ||
981f97c3 | 14129 | 2002-09-14 Adam Megacz <adam@xwt.org> |
54d9d34a | 14130 | |
981f97c3 AM |
14131 | * java/net/natPlainDatagramSocket.cc: removed #include |
14132 | <ws2tcpip.h>; the mingw header is broken (conflicts with itself). | |
14133 | * include/win32.h: included definition for IP_TOS to satisfy | |
14134 | natPlainDatagramSocket.cc | |
54d9d34a | 14135 | |
69aeba4e | 14136 | 2002-09-13 Michael Koch <konqueror@gmx.de> |
54d9d34a | 14137 | |
69aeba4e MK |
14138 | * java/net/DatagramPacket.java (DatagramPacket): |
14139 | Added linebreak for 80 chars per line. | |
14140 | * java/net/JarURLConection.java | |
cf0f53eb MK |
14141 | (getInputStreami, getJarEntry): Likewise. |
14142 | * java/net/SocketPErmission.java | |
69aeba4e MK |
14143 | (SocketPermission class docu, implies): Likewise. |
14144 | * java/net/URLClassLoader.java (findResources): Likewise. | |
14145 | * java/net/URLConnection.java: Reindendet remark for 80 chars per line | |
14146 | ||
8764acde MK |
14147 | 2002-09-13 Michael Koch <konqueror@gmx.de> |
14148 | ||
14149 | * java/nio/channels/DatagramChannel.java, | |
14150 | java/nio/channels/ServerSocketChannel.java | |
14151 | java/nio/channels/SocketChannel.java: | |
14152 | New dummy files to make java.net fully JDK 1.4 compatible | |
14153 | * Makefile.am (ordinary_java_source_files): Added | |
14154 | java/net/DatagramSocketImplFactory.java (long forgotten), | |
14155 | java/nio/SocketChannel.java, | |
14156 | java/nio/ServerSocketChannel.java, | |
14157 | java/nio/DatagramChannel.java | |
14158 | * Makefile.in: Regenrated. | |
14159 | ||
d0c97db6 MK |
14160 | 2002-09-12 Michael Koch <konqueror@gmx.de> |
14161 | ||
8764acde | 14162 | * java/net/DatagramSocketImpl.java |
d0c97db6 MK |
14163 | (peekData): New method. |
14164 | * java/net/PlainDatagramSocketImpl.java | |
14165 | (peekData): New method. | |
14166 | * java/net/natPlainDatagramSocketImpl.cc | |
14167 | (peekData): New method. | |
14168 | * java/net/URLConnection | |
14169 | (getPermission): New method. | |
14170 | (addRequestProperty): New method. | |
14171 | (getRequestProperties): New method. | |
14172 | (guessContentTypeFromStream): New method, not really implemented. | |
14173 | (URLConnection): Added/updated documentation. | |
14174 | (connect): Added/updated documentation. | |
14175 | (getURL): Added/updated documentation. | |
14176 | (getContentLength): Added/updated documentation. | |
14177 | (getContentType: Added/updated documentation. | |
14178 | (getContentEncoding): Added/updated documentation. | |
14179 | (getExpiration): Added/updated documentation. | |
14180 | (getDate): Added/updated documentation. | |
14181 | (getLastModified): Added/updated documentation. | |
14182 | (getHeaderField): Added/updated documentation. | |
14183 | (getHeaderFields): Added/updated documentation. | |
14184 | (getHeaderFieldInt): Added/updated documentation. | |
14185 | (getHeaderFieldDate): Added/updated documentation. | |
14186 | (getHeaderFieldKey): Added/updated documentation. | |
14187 | (getContent): Added/updated documentation. | |
14188 | (getInputStream): Added/updated documentation. | |
14189 | (getOutputStream): Added/updated documentation. | |
14190 | (toString): Added/updated documentation. | |
14191 | (setDoInput): Added/updated documentation. | |
14192 | (getDoInput): Added/updated documentation. | |
14193 | (setDoOutput): Added/updated documentation. | |
14194 | (getDoOutput): Added/updated documentation. | |
14195 | (setAllowUserInteraction): Added/updated documentation. | |
14196 | (getAllowUserInteraction): Added/updated documentation. | |
14197 | (setDefaultAllowUserInteraction): Added/updated documentation. | |
14198 | (getDefaultAllowUserInteraction): Added/updated documentation. | |
14199 | (setUseCaches): Added/updated documentation. | |
14200 | (getUseCaches): Added/updated documentation. | |
14201 | (setIfModifiedSince): Added/updated documentation. | |
14202 | (getIfModifiedSince): Added/updated documentation. | |
14203 | (getDefaultUseCaches): Added/updated documentation. | |
14204 | (setDefaultUseCaches): Added/updated documentation. | |
14205 | (setRequestProperty): Added/updated documentation. | |
14206 | (getRequestProperty): Added/updated documentation. | |
14207 | (setDefaultRequestProperty): Added/updated documentation. | |
14208 | (getDefaultRequestProperty): Added/updated documentation. | |
14209 | (setContentHandlerFactory): Added/updated documentation. | |
14210 | (guessContentTypeFromName): Added/updated documentation. | |
14211 | (getFileNameMap): Added/updated documentation. | |
14212 | (setFileNameMap): Added/updated documentation. | |
54d9d34a | 14213 | |
b7caf8dd MK |
14214 | 2002-09-11 Michael Koch <konqueror@gmx.de> |
14215 | ||
14216 | * java/net/Socket.java | |
14217 | (Socket): protected to public (since JDK 1.4). Added @specnote. | |
14218 | (bind): New method. | |
14219 | (connect): Two new methods. | |
14220 | (getKeepalive): Get correct socket option. | |
14221 | (setKeepalive): Set correct socket option. | |
14222 | (getOOBInline): New method. | |
14223 | (setOOBInline): New method. | |
14224 | * java/net/ServerSocket.java | |
14225 | (bind): Two new methods. | |
14226 | (getInetAddress): Reimplemented, catch exception. | |
14227 | (getLocalSocketAddress): New method. | |
14228 | (setReuseAddress): New method. | |
14229 | (getReuseAdress): New method. | |
14230 | (setReceiveBufferSize): New method. | |
14231 | (getReceiveBufferSize): New method. | |
14232 | (toString): Made string JDK 1.4 compliant. | |
14233 | ||
a886956a MK |
14234 | 2002-09-10 Michael Koch <konqueror@gmx.de> |
14235 | ||
14236 | * java/net/SocketImpl.java | |
14237 | (connect): New method. | |
14238 | (supportsUrgentData): New method. | |
14239 | (sendUrgentData): New method. | |
14240 | * java/net/PlainSocketImpl.java | |
14241 | (connect): One new method and two new implementation. | |
14242 | (sendUrgentData): New method. | |
14243 | * java/natPlainSocketImpl.cc | |
14244 | (connect): Arguments changed, added support for timeouts. | |
14245 | (getOption): Another __java_boolean to jboolean. | |
14246 | ||
3a357ad1 AM |
14247 | 2002-09-07 Adam Megacz <adam@xwt.org> |
14248 | ||
14249 | * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for | |
14250 | definition of IP_TOS. | |
14251 | ||
7b98d454 MK |
14252 | 2002-09-04 Michael Koch <konqueror@gmx.de> |
14253 | ||
14254 | * java/net/DatagramSocket.java | |
14255 | (DatagramSocket): Added documentation. | |
14256 | (close): Likewise. | |
14257 | (getLocalAddress): Likewise. | |
14258 | (getLocalPort): Likewise. | |
14259 | (receive): Likewise. | |
14260 | (send): Likewise. | |
14261 | (setSoTimeout): Likewise. | |
14262 | (connect): New method. | |
14263 | (disconnect): New method. | |
14264 | (getInetAddress): New method (FIXME) | |
14265 | (getPort): New method. | |
14266 | (setReuseAddress): New method. | |
14267 | (getReuseAddress): New method. | |
14268 | (setBroadcast): New method. | |
14269 | (getBroadcast): New method. | |
14270 | (setTrafficClass): New method. | |
14271 | (getTrafficClass): New method. | |
14272 | * java/net/MulticastSocket.java): | |
14273 | (getTTL): Added @see in documentation. | |
14274 | (setTTL): Added @see in documentation. | |
14275 | (setLoopbackMode): New method. | |
14276 | (getLoopbackMode): New method. | |
14277 | * java/net/PlainSocketImpl.java: | |
14278 | Added new constants for the options SO_BROADCAST, SO_OOBINLINE, | |
14279 | IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS | |
14280 | * java/net/PlainDatagramSocketImpl.java | |
14281 | Added new constants for the options SO_BROADCAST, SO_OOBINLINE, | |
14282 | IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS | |
14283 | * java/net/natPlainSocketImpl.cc | |
14284 | (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, | |
14285 | IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS | |
14286 | (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, | |
14287 | IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS | |
14288 | This should also fix SO_KEEPALIVE | |
14289 | * java/net/natPlainDatagramSocketImpl.cc | |
14290 | (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, | |
14291 | IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS | |
14292 | (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, | |
14293 | IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS | |
14294 | ||
268cecf9 MK |
14295 | 2002-09-04 Michael Koch <konqueror@gmx.de> |
14296 | ||
14297 | * java/net/SocketOptions.java: added static variables to be JDK 1.4 | |
14298 | compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, | |
14299 | IP_MULTICAST_LOOP, IP_TOS | |
14300 | ||
f4701961 TT |
14301 | 2002-09-03 Tom Tromey <tromey@redhat.com> |
14302 | ||
14303 | * java/lang/Class.h (_getDeclaredMethod): Declare. | |
14304 | (_getMethod): Now private. | |
14305 | * java/lang/natClass.cc (_getDeclaredMethod): Renamed from | |
14306 | getDeclaredMethod. Now returns NULL on failure. | |
14307 | * java/lang/Class.java (_getDeclaredMethod): Declare. | |
14308 | (getDeclaredMethod): No longer native; implements access checks. | |
14309 | ||
4d5c703e MW |
14310 | 2002-09-01 Mark Wielaard <mark@klomp.org> |
14311 | ||
14312 | * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field. | |
14313 | (sanitizeStack): Correctly reset unknown and interpreter counters, | |
14314 | detect interpreter runtime frames. | |
14315 | (demangleInterpreterMethod): New method. | |
14316 | * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method. | |
14317 | * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of | |
14318 | filling in addrs[]. | |
14319 | ||
603f86d7 MK |
14320 | 2002-09-02 Michael Koch <konqueror@gmx.de> |
14321 | ||
14322 | * java/net/DatagramPacket.java, java/net/MulticsstSocket.java: | |
14323 | re-indented documentation. | |
14324 | ||
42417be4 JR |
14325 | 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu> |
14326 | ||
14327 | * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now | |
14328 | public, per 1.4 spec. Fixes PR libgcj/7785. | |
14329 | ||
03296d1c JS |
14330 | 2002-08-30 Jeff Sturm <jsturm@one-point.com> |
14331 | ||
14332 | * Makefile.in: Rebuilt. | |
14333 | * Makefile.am (ZIP, GCJH): Remove $(EXEEXT). | |
14334 | ||
4c322bff TT |
14335 | 2002-08-29 Tom Tromey <tromey@redhat.com> |
14336 | ||
14337 | * java/net/JarURLConnection.java (getCertificates): New method | |
14338 | from Classpath. | |
14339 | * java/net/URLClassLoader.java (URLClassLoader): Extends | |
14340 | SecureClassLoader. | |
14341 | (definePackage): New method from Classpath. | |
14342 | (getPermissions): Likewise. | |
14343 | (newInstance): Likewise. | |
14344 | (findClass): Construct CodeSource for new class (from Classpath). | |
14345 | * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New | |
14346 | methods. | |
14347 | * java/net/URL.java (getUserInfo): New method. | |
14348 | (set(String,String,int,String,String,String,String,String)): New | |
14349 | method. | |
14350 | * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define. | |
14351 | (shutdownInput, shutdownOutput): Declare. | |
14352 | * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_): | |
14353 | Define. | |
14354 | * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive. | |
14355 | (getOption): Likewise. | |
14356 | (shutdownInput): New method. | |
14357 | (shutdownOutput): Likewise. | |
14358 | * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle | |
14359 | keepalive. | |
14360 | (getOption): Likewise. | |
14361 | * java/net/SocketOptions.java (SO_KEEPALIVE): New constant. | |
14362 | * java/net/Socket.java (setKeepAlive): New method. | |
14363 | (getKeepAlive): Likewise. | |
14364 | (shutdownInput, shutdownOutput): New methods. | |
14365 | ||
54f3c60d MK |
14366 | 2002-08-29 Michael Koch <konqueror@gmx.de> |
14367 | ||
14368 | * java/net/DatagramPacket.java: updated to JDK 1.4 API | |
14369 | new methods are: | |
14370 | DatagramPacket(byte[] buf, int offset, int length, SocketAddress | |
14371 | address), | |
14372 | DatagramPacket(byte[] buf, int length, SocketAddress address), | |
14373 | void setSocketAddress(SocketAddress address) | |
14374 | public SocketAddress getSocketAddress() | |
14375 | ||
0148e1ee TT |
14376 | 2002-08-29 Tom Tromey <tromey@redhat.com> |
14377 | ||
14378 | * java/io/natFileDescriptorPosix.cc (setLength): Handle case where | |
14379 | ftruncate is missing. | |
14380 | * configure, include/config.h.in: Rebuilt. | |
14381 | * acconfig.h (HAVE_FTRUNCATE): Mention. | |
14382 | * configure.in: Check for ftruncate. | |
14383 | ||
3308c46e TT |
14384 | 2002-08-29 Tom Tromey <tromey@redhat.com> |
14385 | ||
14386 | * include/jvm.h (struct _Jv_frame_info): New structure. | |
14387 | * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h, | |
14388 | java-interp.h. | |
14389 | (lookupInterp): New method. | |
14390 | (getAddrAsString): Use _Jv_frame_info. | |
14391 | (dladdrLookup): Likewise. | |
14392 | * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up | |
14393 | interpreted frame. | |
14394 | (lookupInterp): Declare. | |
14395 | * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h. | |
14396 | (fillInStackTrace): Collect information on interpreted frames. | |
14397 | Use _Jv_frame_info. | |
14398 | * interpret.cc: Include Thread.h. | |
14399 | (run): Create and push _Jv_MethodChain object. | |
14400 | (_Jv_EndOfInterpreter): New global. | |
14401 | * java/lang/Thread.java (interp_frame): New field. | |
14402 | * include/java-interp.h (struct _Jv_MethodChain): New structure. | |
14403 | Include NameFinder.h. | |
14404 | ||
97d8f7e7 TT |
14405 | 2002-08-28 Tom Tromey <tromey@redhat.com> |
14406 | ||
14407 | * java/lang/Class.h: Include Package.h. | |
14408 | (Class::getProtectionDomain): Declare. | |
14409 | (Class::getPackage): Declare. | |
14410 | ||
26fed921 MK |
14411 | 2002-08-28 Michael Koch <konqueror@gmx.de> |
14412 | ||
14413 | * java/net/InetSocketAddress.java: Added some documentation and argument | |
14414 | checks for the port numbers. | |
14415 | * java/net/DatagramSocketImplFactory.java: New file. | |
14416 | ||
aa5505d0 MK |
14417 | 2002-08-28 Michael Koch <konqueror@gmx.de> |
14418 | ||
14419 | * java/net/Authenticator.java: added some documentation. | |
14420 | ||
f8799933 TT |
14421 | 2002-08-27 Tom Tromey <tromey@redhat.com> |
14422 | ||
14423 | * java/lang/reflect/natConstructor.cc (newInstance): Initialize | |
14424 | class. | |
14425 | * java/lang/reflect/natMethod.cc (invoke): Initialize class. | |
14426 | ||
49c3c980 MK |
14427 | 2002-08-27 Michael Koch <konqueror@gmx.de> |
14428 | ||
14429 | * java/net/BindException.java, | |
14430 | java/net/JarURLConnection.java, | |
14431 | java/net/FileNameMap.java, | |
14432 | java/net/HttpURLConnection.java, | |
14433 | java/net/InetSocketAddress.java, | |
14434 | java/net/DatagramPacket.java, | |
14435 | java/net/DatagramSocket.java, | |
14436 | java/net/DatagramSocketImpl.java, | |
14437 | java/net/MulticastSocket.java, | |
14438 | java/net/PasswordAuthentication.java, | |
14439 | java/net/ServerSocket.java, | |
14440 | java/net/Socket.java, | |
14441 | java/net/URLClassLoader.java, | |
14442 | java/net/URLConnection.java: add/update of some @since/@deprecated | |
54d9d34a | 14443 | |
835cb22e | 14444 | 2002-08-27 Tony Kimball <alk@pobox.com> |
4977bab6 | 14445 | Tom Tromey <tromey@redhat.com> |
835cb22e TK |
14446 | |
14447 | * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New | |
14448 | define. | |
14449 | (::close): Removed. | |
14450 | (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE. | |
14451 | * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define. | |
14452 | (::close): Removed. | |
14453 | (PlainSocketImpl::close): Use NATIVE_CLOSE. | |
14454 | * include/win32.h (getcwd): Removed declaration. Include io.h. | |
14455 | ||
6005baa7 AM |
14456 | 2002-08-25 Adam Megacz <adam@xwt.org> |
14457 | ||
14458 | * include/win32.h (getcwd): copied function declaration as | |
14459 | temporary fix for header confusion. | |
54d9d34a | 14460 | |
6e0532cd MW |
14461 | 2002-08-24 Mark Wielaard <mark@klomp.org> |
14462 | ||
14463 | * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc. | |
14464 | (core_java_source_files): Add VMThrowable.java and NameFinder.java | |
14465 | (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc | |
14466 | and natNameFinder.cc. | |
14467 | * Makefile.in: Regenerate. | |
14468 | * prims.cc: Use trace_enabled from VMThrowable. | |
14469 | * name-finder.cc: Removed. | |
14470 | * gcj/javaprims.h: Add class VMThrowable. | |
14471 | * gnu/gcj/runtime/NameFinder.java: New file. | |
14472 | * gnu/gcj/runtime/natNameFinder.cc: Likewise. | |
14473 | * include/name-finder.h: Removed. | |
14474 | * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new | |
14475 | method stackTraceString(). | |
14476 | (printStackTrace (PrintWriter)): Likewise. | |
14477 | (stackTraceString): Complete rewrite of old printStackTrace using | |
14478 | StringBuffer. | |
14479 | (stackTraceStringBuffer): New helper method for stackTraceString(). | |
14480 | (fillInStackTrace): Delegate to VMTrowable. | |
14481 | (getStackTrace): Likewise. | |
54d9d34a | 14482 | (getStackTrace0): Removed. |
6e0532cd MW |
14483 | (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java. |
14484 | (setStackTrace): Copy given array. | |
14485 | * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable). | |
14486 | * java/lang/VMThrowable.java: New class. | |
14487 | * java/lang/natVMThrowable.cc: New file. | |
14488 | ||
6347f94c MK |
14489 | 2003-08-23 Michael Koch <konqueror@gmx.de> |
14490 | ||
14491 | * java/net/URLConnection.java, | |
14492 | java/netJarURLConnection.java, | |
14493 | gnu/gcj/protocol/core/Connection.java, | |
14494 | gnu/gcj/protocol/file/Connection.java, | |
14495 | gnu/gcj/protocol/http/Connection.java: Added implementation of | |
14496 | getHeaderFields(). | |
14497 | ||
2263ca09 TT |
14498 | 2002-08-22 Tom Tromey <tromey@redhat.com> |
14499 | ||
14500 | * gij.cc (help): Document -cp and -classpath. | |
14501 | (main): Handle -classpath. | |
14502 | ||
75c6e548 TT |
14503 | 2002-08-21 Tom Tromey <tromey@redhat.com> |
14504 | ||
14505 | * Makefile.in: Rebuilt. | |
14506 | * Makefile.am (ordinary_java_source_files): Added | |
14507 | SocketAddress.java, InetSocketAddress.java. | |
14508 | * java/net/PortUnreachableException.java: Merged with Classpath. | |
14509 | * java/net/SocketTimeoutException.java: Likewise. | |
14510 | * java/net/URISyntaxException.java: Likewise. | |
14511 | * java/net/SocketAddress.java: New class from Classpath. | |
14512 | * java/net/InetSocketAddress.java: Likewise. | |
14513 | ||
386230f0 MK |
14514 | 2003-08-21 Michael Koch <konqueror@gmx.de> |
14515 | ||
14516 | * java/net/Authenticator.java: updated JDK 1.4 | |
14517 | * java/net/ContentHandler.java: updated JDK 1.4 | |
14518 | ||
9595a7fe MK |
14519 | 2002-08-20 Michael Koch <konqueror@gmx.de> |
14520 | ||
14521 | * java/net/URISyntaxException.java: New file. | |
14522 | * java/net/SocketTimeoutException.java: New file. | |
54d9d34a | 14523 | * java/net/PortUnreachableException.java: New file. |
9595a7fe MK |
14524 | * Makefile.am: Updated. |
14525 | * Makefile.in: Rebuilt. | |
14526 | ||
b4a12d09 MW |
14527 | 2002-08-18 Mark Wielaard <mark@klomp.org> |
14528 | ||
14529 | Thanks to Vladimir Puskas <vpuskas@eunet.yu> | |
14530 | * gnu/java/security/provider/MD5.java: Extends MessageDigest, not | |
14531 | MessageDigestSpi (fixes Classpath bug #783). | |
14532 | ||
093f0200 JR |
14533 | 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu> |
14534 | ||
14535 | * java/lang/natPosixProcess.cc (cleanup): Added `path' argument. | |
14536 | (startProcess): Allocate path for chdir in async-signal-safe way. | |
14537 | ||
eb812b2c JR |
14538 | 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu> |
14539 | ||
14540 | Fix for PR libgcj/7570 and PR libgcj/7578: | |
14541 | * java/lang/natPosixProcess.cc: Include java/io/File.h. | |
14542 | (startProcess): Handle new `dir' argument. | |
14543 | * java/lang/Win32Process.java (ConcreteProcess): Added `dir' | |
14544 | argument. | |
14545 | * java/lang/PosixProcess.java (ConcreteProcess): Added `dir' | |
14546 | argument. | |
14547 | (startProcess): Likewise. | |
14548 | * java/lang/EcosProcess.java (ConcreteProcess): Added `dir' | |
14549 | argument. | |
14550 | * java/lang/Runtime.java (execInternal): Added `dir' argument. | |
14551 | (exec): Don't create new environment if ENV==null. Pass DIR to | |
14552 | execInternal. | |
14553 | * java/lang/natRuntime.cc: Include java/io/File.h. | |
14554 | (execInternal): Added `dir' argument. | |
14555 | ||
03496eb1 JR |
14556 | 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com> |
14557 | ||
14558 | * java/io/RandomAccessFile.java (skipBytes): Return number of | |
14559 | bytes skipped. | |
14560 | ||
caad61a1 MW |
14561 | 2002-08-01 Mark Wielaard <mark@klomp.org> |
14562 | ||
14563 | Reenable patch since shared library troubles on powerpc are solved: | |
14564 | * gnu/java/security/provider/Gnu.java: Reference all implementation | |
14565 | classes by using Class.getName(). | |
14566 | * gnu/java/security/der/DEREncodingException.java, | |
14567 | gnu/java/security/provider/DERReader.java, | |
14568 | gnu/java/security/provider/DERWriter.java, | |
14569 | gnu/java/security/provider/DSAKeyPairGenerator.java, | |
14570 | gnu/java/security/provider/DSAParameterGenerator.java, | |
14571 | gnu/java/security/provider/DSAParameters.java, | |
14572 | gnu/java/security/provider/DSASignature.java, | |
14573 | gnu/java/security/provider/GnuDSAPrivateKey.java, | |
14574 | gnu/java/security/provider/GnuDSAPublicKey.java, | |
14575 | gnu/java/security/provider/MD5.java, | |
14576 | gnu/java/security/util/Prime.java: New classes | |
14577 | * Makefile.am (ordinary_java_source_files): Add above files. | |
14578 | * Makefile.in: Regenerate. | |
14579 | * gnu/java/security/provider/DefaultPolicy.java | |
14580 | (getPermissions): Don't maintain static class variable of Permissions. | |
54d9d34a | 14581 | * gnu/java/security/provider/SHA.java |
caad61a1 MW |
14582 | (engineUpdate): algorithm change. |
14583 | (engineDigest): algorithm change. | |
14584 | ||
55202bee BM |
14585 | 2002-08-09 Mark Wielaard <mark@klomp.org> |
14586 | ||
14587 | * java/awt/image/MemoryImageSource.java: Change constructor to take | |
14588 | int[] not byte[]. | |
14589 | * java/awt/Graphics2D.java: Uncomment methods that can now be | |
14590 | compiled. | |
14591 | * java/awt/GridBagLayout.java: New stub implementation. | |
14592 | * javax/swing/text/html/HTML.java: Stub implementation. | |
14593 | * javax/swing/text/html/parser/ParserDelegator.java: New stub | |
14594 | implementation. | |
14595 | ||
14596 | * Makefile.am: Add new files. | |
14597 | * Makefile.in: Rebuilt. | |
14598 | ||
14599 | 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> | |
14600 | ||
14601 | * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract | |
14602 | methods in Graphics2D. | |
54d9d34a | 14603 | |
7bde45b2 BM |
14604 | 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
14605 | ||
14606 | AWT/Swing merge from GNU Classpath. | |
14607 | ||
54d9d34a | 14608 | * java/awt/AlphaComposite.java, java/awt/AttributeValue.java, |
7bde45b2 BM |
14609 | java/awt/BasicStroke.java, java/awt/BufferCapabilities.java, |
14610 | java/awt/color/CMMException.java, java/awt/ColorPaintContext.java, | |
54d9d34a | 14611 | java/awt/color/ProfileDataException.java, |
7bde45b2 BM |
14612 | java/awt/CompositeContext.java, java/awt/Composite.java, |
14613 | java/awt/ContainerOrderFocusTraversalPolicy.java, | |
14614 | java/awt/datatransfer/FlavorTable.java, | |
14615 | java/awt/DefaultFocusTraversalPolicy.java, | |
14616 | java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java, | |
14617 | java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java, | |
54d9d34a | 14618 | java/awt/dnd/DragGestureListener.java, |
7bde45b2 BM |
14619 | java/awt/dnd/DragGestureRecognizer.java, |
14620 | java/awt/dnd/DragSourceAdapter.java, | |
14621 | java/awt/dnd/DragSourceContext.java, | |
14622 | java/awt/dnd/DragSourceDragEvent.java, | |
14623 | java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java, | |
14624 | java/awt/dnd/DragSourceListener.java, | |
14625 | java/awt/dnd/DragSourceMotionListener.java, | |
14626 | java/awt/dnd/DropTarget.java, | |
14627 | java/awt/dnd/InvalidDnDOperationException.java, | |
14628 | java/awt/dnd/peer/DragSourceContextPeer.java, | |
14629 | java/awt/event/AWTEventListenerProxy.java, | |
14630 | java/awt/event/MouseWheelEvent.java, | |
14631 | java/awt/event/MouseWheelListener.java, | |
14632 | java/awt/event/WindowFocusListener.java, | |
14633 | java/awt/event/WindowStateListener.java, | |
14634 | java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java, | |
14635 | java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java, | |
14636 | java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java, | |
14637 | java/awt/geom/FlatteningPathIterator.java, | |
14638 | java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java, | |
14639 | java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java, | |
14640 | java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java, | |
14641 | java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java, | |
14642 | java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java, | |
14643 | java/awt/image/ImagingOpException.java, | |
14644 | java/awt/image/RasterFormatException.java, | |
14645 | java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java, | |
14646 | java/awt/image/VolatileImage.java, | |
14647 | java/awt/image/WritableRenderedImage.java, | |
14648 | java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java | |
14649 | java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java, | |
14650 | java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java, | |
14651 | java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java | |
14652 | java/awt/PageAttributes.java, java/awt/print/Book.java, | |
14653 | java/awt/print/Pageable.java, java/awt/print/PageFormat.java, | |
14654 | java/awt/print/Paper.java, java/awt/print/Printable.java, | |
14655 | java/awt/print/PrinterAbortException.java, | |
14656 | java/awt/print/PrinterException.java, | |
14657 | java/awt/print/PrinterGraphics.java, | |
14658 | java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java, | |
14659 | java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java, | |
14660 | java/awt/Stroke.java, java/awt/TexturePaint.java, | |
14661 | javax/accessibility/AccessibleAction.java, | |
14662 | javax/accessibility/AccessibleBundle.java, | |
14663 | javax/accessibility/AccessibleComponent.java, | |
14664 | javax/accessibility/AccessibleContext.java, | |
14665 | javax/accessibility/AccessibleEditableText.java, | |
14666 | javax/accessibility/AccessibleExtendedComponent.java, | |
14667 | javax/accessibility/AccessibleExtendedTable.java, | |
14668 | javax/accessibility/AccessibleHyperlink.java, | |
14669 | javax/accessibility/AccessibleHypertext.java, | |
14670 | javax/accessibility/AccessibleIcon.java, | |
14671 | javax/accessibility/Accessible.java, | |
14672 | javax/accessibility/AccessibleKeyBinding.java, | |
14673 | javax/accessibility/AccessibleRelation.java, | |
14674 | javax/accessibility/AccessibleRelationSet.java, | |
14675 | javax/accessibility/AccessibleResourceBundle.java, | |
14676 | javax/accessibility/AccessibleRole.java, | |
14677 | javax/accessibility/AccessibleSelection.java, | |
14678 | javax/accessibility/AccessibleState.java, | |
14679 | javax/accessibility/AccessibleStateSet.java, | |
14680 | javax/accessibility/AccessibleTable.java, | |
14681 | javax/accessibility/AccessibleTableModelChange.java, | |
14682 | javax/accessibility/AccessibleText.java, | |
14683 | javax/accessibility/AccessibleValue.java, | |
14684 | javax/swing/AbstractAction.java, | |
14685 | javax/swing/AbstractButton.java, | |
14686 | javax/swing/AbstractCellEditor.java, | |
14687 | javax/swing/AbstractListModel.java, | |
14688 | javax/swing/AbstractSet.java, javax/swing/Action.java, | |
14689 | javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java, | |
14690 | javax/swing/border/BevelBorder.java, javax/swing/border/Border.java, | |
14691 | javax/swing/border/CompoundBorder.java, | |
14692 | javax/swing/border/EmptyBorder.java, | |
14693 | javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java, | |
14694 | javax/swing/border/LineBorder.java, | |
14695 | javax/swing/border/MatteBorder.java, | |
14696 | javax/swing/border/TitledBorder.java, | |
14697 | javax/swing/BoundedRangeModel.java, javax/swing/Box.java, | |
14698 | javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java, | |
14699 | javax/swing/ButtonModel.java, javax/swing/CellEditor.java, | |
14700 | javax/swing/CellRendererPane.java, | |
14701 | javax/swing/colorchooser/AbstractColorChooserPanel.java, | |
14702 | javax/swing/colorchooser/ColorChooserComponentFactory.java, | |
14703 | javax/swing/colorchooser/ColorSelectionModel.java, | |
14704 | javax/swing/colorchooser/DefaultColorSelectionModel.java, | |
14705 | javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java, | |
14706 | javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java, | |
14707 | javax/swing/DefaultBoundedRangeModel.java, | |
14708 | javax/swing/DefaultButtonModel.java, | |
14709 | javax/swing/DefaultCellEditor.java, | |
14710 | javax/swing/DefaultCellRenderer.java, | |
14711 | javax/swing/DefaultComboBoxModel.java, | |
14712 | javax/swing/DefaultDesktopManager.java, | |
14713 | javax/swing/DefaultFocusManager.java, | |
14714 | javax/swing/DefaultListCellRenderer.java, | |
14715 | javax/swing/DefaultListModel.java, | |
14716 | javax/swing/DefaultListSelectionModel.java, | |
14717 | javax/swing/DefaultSingleSelectionModel.java, | |
14718 | javax/swing/DesktopManager.java, | |
14719 | javax/swing/event/AncestorEvent.java, | |
14720 | javax/swing/event/AncestorListener.java, | |
14721 | javax/swing/event/CaretEvent.java, | |
14722 | javax/swing/event/CaretListener.java, | |
14723 | javax/swing/event/CellEditorListener.java, | |
14724 | javax/swing/event/ChangeEvent.java, | |
14725 | javax/swing/event/ChangeListener.java, | |
14726 | javax/swing/event/DocumentEvent.java, | |
14727 | javax/swing/event/DocumentListener.java, | |
14728 | javax/swing/event/EventListenerList.java, | |
14729 | javax/swing/event/HyperlinkEvent.java, | |
14730 | javax/swing/event/HyperlinkListener.java, | |
14731 | javax/swing/event/InternalFrameAdapter.java, | |
14732 | javax/swing/event/InternalFrameEvent.java, | |
14733 | javax/swing/event/InternalFrameListener.java, | |
14734 | javax/swing/event/ListDataEvent.java, | |
14735 | javax/swing/event/ListDataListener.java, | |
14736 | javax/swing/event/ListSelectionEvent.java, | |
14737 | javax/swing/event/ListSelectionListener.java, | |
14738 | javax/swing/event/MenuDragMouseEvent.java, | |
14739 | javax/swing/event/MenuDragMouseListener.java, | |
14740 | javax/swing/event/MenuEvent.java, | |
14741 | javax/swing/event/MenuKeyEvent.java, | |
14742 | javax/swing/event/MenuKeyListener.java, | |
14743 | javax/swing/event/MenuListener.java, | |
14744 | javax/swing/event/MouseInputAdapter.java, | |
14745 | javax/swing/event/MouseInputListener.java, | |
14746 | javax/swing/event/PopupMenuEvent.java, | |
14747 | javax/swing/event/PopupMenuListener.java, | |
14748 | javax/swing/event/SwingPropertyChangeSupport.java, | |
14749 | javax/swing/event/TableColumnModelEvent.java, | |
14750 | javax/swing/event/TableColumnModelListener.java, | |
14751 | javax/swing/event/TableModelEvent.java, | |
14752 | javax/swing/event/TableModelListener.java, | |
14753 | javax/swing/event/TreeExpansionEvent.java, | |
14754 | javax/swing/event/TreeExpansionListener.java, | |
14755 | javax/swing/event/TreeModelEvent.java, | |
14756 | javax/swing/event/TreeModelListener.java, | |
14757 | javax/swing/event/TreeSelectionEvent.java, | |
14758 | javax/swing/event/TreeSelectionListener.java, | |
14759 | javax/swing/event/TreeWillExpandListener.java, | |
14760 | javax/swing/event/UndoableEditEvent.java, | |
14761 | javax/swing/event/UndoableEditListener.java, | |
14762 | javax/swing/filechooser/FileFilter.java, | |
14763 | javax/swing/filechooser/FileSystemView.java, | |
14764 | javax/swing/filechooser/FileView.java, | |
14765 | javax/swing/FocusManager.java, javax/swing/GrayFilter.java, | |
14766 | javax/swing/Icon.java, javax/swing/ImageIcon.java, | |
14767 | javax/swing/InputMap.java, javax/swing/InputVerifier.java, | |
14768 | javax/swing/JApplet.java, javax/swing/JButton.java, | |
14769 | javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java, | |
14770 | javax/swing/JColorChooser.java, javax/swing/JComboBox.java, | |
14771 | javax/swing/JComponent.java, javax/swing/JDesktopPane.java, | |
14772 | javax/swing/JDialog.java, javax/swing/JEditorPane.java, | |
14773 | javax/swing/JFileChooser.java, javax/swing/JFrame.java, | |
14774 | javax/swing/JInternalFrame.java, javax/swing/JLabel.java, | |
14775 | javax/swing/JLayeredPane.java, javax/swing/JList.java, | |
14776 | javax/swing/JMenuBar.java, javax/swing/JMenuItem.java, | |
14777 | javax/swing/JMenu.java, javax/swing/JOptionPane.java, | |
14778 | javax/swing/JPanel.java, javax/swing/JPasswordField.java, | |
14779 | javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java, | |
14780 | javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java, | |
14781 | javax/swing/JRootPane.java, javax/swing/JScrollBar.java, | |
14782 | javax/swing/JScrollPane.java, javax/swing/JSeparator.java, | |
14783 | javax/swing/JSlider.java, javax/swing/JSplitPane.java, | |
14784 | javax/swing/JTabbedPane.java, javax/swing/JTable.java, | |
14785 | javax/swing/JTextField.java, javax/swing/JTextPane.java, | |
14786 | javax/swing/JToggleButton.java, javax/swing/JToolBar.java, | |
14787 | javax/swing/JToolTip.java, javax/swing/JTree.java, | |
14788 | javax/swing/JViewport.java, javax/swing/JWindow.java, | |
14789 | javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java, | |
14790 | javax/swing/ListModel.java, javax/swing/ListSelectionModel.java, | |
14791 | javax/swing/LookAndFeel.java, javax/swing/MenuElement.java, | |
14792 | javax/swing/MenuSelectionManager.java, | |
14793 | javax/swing/MutableComboBoxModel.java, | |
14794 | javax/swing/OverlayLayout.java, | |
14795 | javax/swing/plaf/ActionMapUIResource.java, | |
14796 | javax/swing/plaf/basic/BasicBorders.java, | |
14797 | javax/swing/plaf/basic/BasicButtonUI.java, | |
14798 | javax/swing/plaf/basic/BasicCheckBoxUI.java, | |
14799 | javax/swing/plaf/basic/BasicDefaults.java, | |
14800 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
14801 | javax/swing/plaf/basic/BasicIconFactory.java, | |
14802 | javax/swing/plaf/basic/BasicLabelUI.java, | |
14803 | javax/swing/plaf/basic/BasicListUI.java, | |
14804 | javax/swing/plaf/basic/BasicLookAndFeel.java, | |
14805 | javax/swing/plaf/basic/BasicOptionPaneUI.java, | |
14806 | javax/swing/plaf/basic/BasicPanelUI.java, | |
14807 | javax/swing/plaf/basic/BasicRadioButtonUI.java, | |
14808 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
14809 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
14810 | javax/swing/plaf/basic/BasicTextUI.java, | |
14811 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
14812 | javax/swing/plaf/basic/BasicTreeUI.java, | |
14813 | javax/swing/plaf/basic/BasicViewportUI.java, | |
14814 | javax/swing/plaf/BorderUIResource.java, | |
14815 | javax/swing/plaf/ButtonUI.java, | |
14816 | javax/swing/plaf/ColorChooserUI.java, | |
14817 | javax/swing/plaf/ColorUIResource.java, | |
14818 | javax/swing/plaf/ComboBoxUI.java, | |
14819 | javax/swing/plaf/ComponentInputMapUIResource.java, | |
14820 | javax/swing/plaf/ComponentUI.java, | |
14821 | javax/swing/plaf/DesktopIconUI.java, | |
14822 | javax/swing/plaf/DesktopPaneUI.java, | |
14823 | javax/swing/plaf/DimensionUIResource.java, | |
14824 | javax/swing/plaf/FileChooserUI.java, | |
14825 | javax/swing/plaf/FontUIResource.java, | |
14826 | javax/swing/plaf/IconUIResource.java, | |
14827 | javax/swing/plaf/InputMapUIResource.java, | |
14828 | javax/swing/plaf/InsetsUIResource.java, | |
14829 | javax/swing/plaf/InternalFrameUI.java, | |
14830 | javax/swing/plaf/LabelUI.java, | |
14831 | javax/swing/plaf/ListUI.java, | |
14832 | javax/swing/plaf/MenuBarUI.java, | |
14833 | javax/swing/plaf/MenuItemUI.java, | |
14834 | javax/swing/plaf/OptionPaneUI.java, | |
14835 | javax/swing/plaf/PanelUI.java, | |
14836 | javax/swing/plaf/PopupMenuUI.java, | |
14837 | javax/swing/plaf/ProgressBarUI.java, | |
14838 | javax/swing/plaf/RootPaneUI.java, | |
14839 | javax/swing/plaf/ScrollBarUI.java, | |
14840 | javax/swing/plaf/ScrollPaneUI.java, | |
14841 | javax/swing/plaf/SeparatorUI.java, | |
14842 | javax/swing/plaf/SliderUI.java, | |
14843 | javax/swing/plaf/SplitPaneUI.java, | |
14844 | javax/swing/plaf/TabbedPaneUI.java, | |
14845 | javax/swing/plaf/TableHeaderUI.java, | |
14846 | javax/swing/plaf/TableUI.java, | |
14847 | javax/swing/plaf/TextUI.java, | |
14848 | javax/swing/plaf/ToolBarUI.java, | |
14849 | javax/swing/plaf/ToolTipUI.java, | |
14850 | javax/swing/plaf/TreeUI.java, | |
14851 | javax/swing/plaf/UIResource.java, | |
14852 | javax/swing/plaf/ViewportUI.java, | |
14853 | javax/swing/ProgressMonitorInputStream.java, | |
14854 | javax/swing/ProgressMonitor.java, | |
14855 | javax/swing/Renderer.java, | |
14856 | javax/swing/RepaintManager.java, | |
14857 | javax/swing/RootPaneContainer.java, | |
14858 | javax/swing/Scrollable.java, | |
14859 | javax/swing/ScrollPaneConstants.java, | |
14860 | javax/swing/ScrollPaneLayout.java, | |
14861 | javax/swing/SingleSelectionModel.java, | |
14862 | javax/swing/SizeRequirements.java, | |
14863 | javax/swing/SizeSequence.java, | |
14864 | javax/swing/SwingConstants.java, | |
14865 | javax/swing/SwingUtilities.java, | |
14866 | javax/swing/table/AbstractTableModel.java, | |
14867 | javax/swing/table/DefaultTableCellRenderer.java, | |
14868 | javax/swing/table/DefaultTableColumnModel.java, | |
14869 | javax/swing/table/DefaultTableModel.java, | |
14870 | javax/swing/table/TableCellEditor.java, | |
14871 | javax/swing/table/TableCellRenderer.java, | |
14872 | javax/swing/table/TableColumn.java, | |
14873 | javax/swing/table/TableColumnModel.java, | |
14874 | javax/swing/table/TableModel.java, | |
14875 | javax/swing/text/AbstractDocument.java, | |
14876 | javax/swing/text/AttributeSet.java, | |
14877 | javax/swing/text/BadLocationException.java, | |
14878 | javax/swing/text/Caret.java, | |
14879 | javax/swing/text/CharacterIterator.java, | |
14880 | javax/swing/text/ComponentView.java, | |
14881 | javax/swing/text/DefaultCaret.java, | |
14882 | javax/swing/text/DefaultEditorKit.java, | |
14883 | javax/swing/text/Document.java, | |
14884 | javax/swing/text/EditorKit.java, | |
14885 | javax/swing/text/Element.java, | |
14886 | javax/swing/text/GapContent.java, | |
14887 | javax/swing/text/JTextComponent.java, | |
14888 | javax/swing/text/Keymap.java, | |
14889 | javax/swing/text/MutableAttributeSet.java, | |
14890 | javax/swing/text/PlainDocument.java, | |
14891 | javax/swing/text/PlainEditorKit.java, | |
14892 | javax/swing/text/Position.java, | |
14893 | javax/swing/text/Segment.java, | |
14894 | javax/swing/text/StyledDocument.java, | |
14895 | javax/swing/text/StyledEditorKit.java, | |
14896 | javax/swing/text/Style.java, | |
14897 | javax/swing/text/TextAction.java, | |
14898 | javax/swing/text/ViewFactory.java, | |
14899 | javax/swing/text/View.java, | |
14900 | javax/swing/Timer.java, | |
14901 | javax/swing/ToggleButtonModel.java, | |
14902 | javax/swing/ToolTipManager.java, | |
14903 | javax/swing/tree/AbstractLayoutCache.java, | |
14904 | javax/swing/tree/DefaultMutableTreeNode.java, | |
14905 | javax/swing/tree/DefaultTreeCellEditor.java, | |
14906 | javax/swing/tree/DefaultTreeCellRenderer.java, | |
14907 | javax/swing/tree/DefaultTreeModel.java, | |
14908 | javax/swing/tree/DefaultTreeSelectionModel.java, | |
14909 | javax/swing/tree/ExpandVetoException.java, | |
14910 | javax/swing/tree/FixedHeightLayoutCache.java, | |
14911 | javax/swing/tree/MutableTreeNode.java, | |
14912 | javax/swing/tree/RowMapper.java, | |
14913 | javax/swing/tree/TreeCellEditor.java, | |
14914 | javax/swing/tree/TreeCellRenderer.java, | |
14915 | javax/swing/tree/TreeModel.java, | |
14916 | javax/swing/tree/TreeNode.java, | |
14917 | javax/swing/tree/TreePath.java, | |
14918 | javax/swing/tree/TreeSelectionModel.java, | |
14919 | javax/swing/tree/VariableHeightLayoutCache.java, | |
14920 | javax/swing/UIDefaults.java, | |
14921 | javax/swing/UIManager.java, | |
14922 | javax/swing/undo/AbstractUndoableEdit.java, | |
14923 | javax/swing/undo/CannotRedoException.java, | |
14924 | javax/swing/undo/CannotUndoException.java, | |
14925 | javax/swing/undo/CompoundEdit.java, | |
14926 | javax/swing/undo/StateEditable.java, | |
14927 | javax/swing/undo/StateEdit.java, | |
14928 | javax/swing/undo/UndoableEdit.java, | |
14929 | javax/swing/undo/UndoableEditSupport.java, | |
14930 | javax/swing/undo/UndoManager.java, | |
14931 | javax/swing/UnsupportedLookAndFeelException.java, | |
14932 | javax/swing/ViewportLayout.java, | |
14933 | javax/swing/WindowConstants.java: New files, from GNU Classpath. | |
54d9d34a | 14934 | |
df74f077 | 14935 | * java/awt/ActiveEvent.java, |
7bde45b2 BM |
14936 | java/awt/Adjustable.java, java/awt/AWTError.java, |
14937 | java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java, | |
14938 | java/awt/AWTException.java, java/awt/AWTPermission.java, | |
14939 | java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java, | |
14940 | java/awt/Color.java, java/awt/Component.java, | |
14941 | java/awt/ComponentOrientation.java, java/awt/Container.java, | |
14942 | java/awt/datatransfer/MimeTypeParseException.java, | |
14943 | java/awt/datatransfer/Transferable.java, | |
14944 | java/awt/datatransfer/UnsupportedFlavorException.java, | |
14945 | java/awt/Dimension.java, java/awt/event/ActionEvent.java, | |
14946 | java/awt/event/ActionListener.java, | |
14947 | java/awt/event/AdjustmentEvent.java, | |
14948 | java/awt/event/AdjustmentListener.java, | |
14949 | java/awt/event/AWTEventListener.java, | |
14950 | java/awt/event/ComponentAdapter.java, | |
14951 | java/awt/event/ComponentEvent.java, | |
14952 | java/awt/event/ComponentListener.java, | |
14953 | java/awt/event/ContainerAdapter.java, | |
14954 | java/awt/event/ContainerEvent.java, | |
14955 | java/awt/event/ContainerListener.java, | |
14956 | java/awt/event/FocusAdapter.java, | |
14957 | java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java, | |
14958 | java/awt/event/HierarchyBoundsAdapter.java, | |
14959 | java/awt/event/HierarchyBoundsListener.java, | |
14960 | java/awt/event/HierarchyEvent.java, | |
14961 | java/awt/event/HierarchyListener.java, | |
14962 | java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java, | |
14963 | java/awt/event/InputMethodListener.java, | |
14964 | java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java, | |
14965 | java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java, | |
14966 | java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java, | |
14967 | java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java, | |
14968 | java/awt/event/MouseListener.java, | |
14969 | java/awt/event/MouseMotionAdapter.java, | |
14970 | java/awt/event/MouseMotionListener.java, | |
14971 | java/awt/event/PaintEvent.java, java/awt/EventQueue.java, | |
14972 | java/awt/event/TextEvent.java, java/awt/event/TextListener.java, | |
14973 | java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java, | |
14974 | java/awt/event/WindowListener.java, java/awt/Font.java, | |
14975 | java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java, | |
14976 | java/awt/geom/Ellipse2D.java, | |
14977 | java/awt/geom/IllegalPathStateException.java, | |
14978 | java/awt/geom/Line2D.java, | |
14979 | java/awt/geom/NoninvertibleTransformException.java, | |
14980 | java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java, | |
14981 | java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java, | |
14982 | java/awt/geom/RoundRectangle2D.java, | |
14983 | java/awt/GraphicsConfiguration.java, | |
14984 | java/awt/IllegalComponentStateException.java, | |
14985 | java/awt/image/IndexColorModel.java, | |
14986 | java/awt/Image.java, java/awt/image/MemoryImageSource.java, | |
14987 | java/awt/image/PixelGrabber.java, java/awt/Insets.java, | |
14988 | java/awt/ItemSelectable.java, java/awt/LayoutManager2.java, | |
14989 | java/awt/LayoutManager.java, java/awt/MenuContainer.java, | |
14990 | java/awt/MenuItem.java, java/awt/PaintContext.java, | |
14991 | java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java, | |
14992 | java/awt/Polygon.java, java/awt/PrintGraphics.java, | |
54d9d34a | 14993 | java/awt/PrintJob.java, java/awt/Rectangle.java, |
7bde45b2 BM |
14994 | java/awt/RenderingHints.java, java/awt/ScrollPane.java, |
14995 | java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java, | |
14996 | java/awt/Transparency.java, java/awt/Window.java: Merge from classpath. | |
14997 | ||
8f5c92a0 BM |
14998 | * java/awt/im/spi/InputMethod.java, |
14999 | java/awt/im/spi/InputMethodContext.java, | |
15000 | java/awt/im/spi/InputMethodDescriptor.java, | |
15001 | java/awt/image/renderable/ContextualRenderedImageFactory.java, | |
15002 | java/awt/image/renderable/ParameterBlock.java, | |
15003 | java/awt/image/renderable/RenderContext.java, | |
15004 | java/awt/image/renderable/RenderableImage.java, | |
15005 | java/awt/image/renderable/RenderableImageOp.java, | |
15006 | java/awt/image/renderable/RenderableImageProducer.java, | |
15007 | java/awt/image/renderable/RenderedImageFactory.java: New files from | |
15008 | classpath. | |
15009 | ||
084ef9cf BM |
15010 | * gnu/java/awt/EventModifier.java, |
15011 | gnu/java/awt/image/ImageDecoder.java, | |
15012 | gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath. | |
15013 | ||
df74f077 BM |
15014 | * gnu/awt/xlib/XGraphicsConfiguration.java, |
15015 | gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract | |
15016 | API. | |
54d9d34a AJ |
15017 | |
15018 | * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from | |
ef1c32c6 | 15019 | GNU Classpath. |
df74f077 | 15020 | |
7bde45b2 BM |
15021 | * Makefile.am: Add new files. |
15022 | * Makefile.in: Rebuilt. | |
15023 | ||
6ee4402c BM |
15024 | 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
15025 | ||
15026 | * java/lang/ClassLoader.java (getSystemClassLoader, findClass, | |
54d9d34a | 15027 | defineClass, setSigners, getSystemResource, getSystemResourceAsStream, |
6ee4402c BM |
15028 | findResource, getResources, findResources): Add javadoc from classpath. |
15029 | (getSystemResources): Implemented. | |
15030 | ||
fd0ba965 MW |
15031 | 2002-08-01 Mark Wielaard <mark@klomp.org> |
15032 | ||
15033 | Revert patch that breaks libgcj shared library on powerpc: | |
15034 | * gnu/java/security/provider/Gnu.java: Reverse referencing all | |
15035 | implementation classes by using Class.getName(). Uses Strings again. | |
15036 | * gnu/java/security/der/DEREncodingException.java, | |
15037 | gnu/java/security/provider/DERReader.java, | |
15038 | gnu/java/security/provider/DERWriter.java, | |
15039 | gnu/java/security/provider/DSAKeyPairGenerator.java, | |
15040 | gnu/java/security/provider/DSAParameterGenerator.java, | |
15041 | gnu/java/security/provider/DSAParameters.java, | |
15042 | gnu/java/security/provider/DSASignature.java, | |
15043 | gnu/java/security/provider/GnuDSAPrivateKey.java, | |
15044 | gnu/java/security/provider/GnuDSAPublicKey.java, | |
15045 | gnu/java/security/provider/MD5.java, | |
15046 | gnu/java/security/util/Prime.java: Removed. | |
15047 | * Makefile.am (ordinary_java_source_files): Remove above files. | |
15048 | * Makefile.in: Regenerate. | |
15049 | * gnu/java/security/provider/DefaultPolicy.java | |
15050 | (getPermissions): Revert to maintaining static class variable of | |
15051 | Permissions. | |
54d9d34a | 15052 | * gnu/java/security/provider/SHA.java |
fd0ba965 MW |
15053 | (engineUpdate): Revert algorithm change. |
15054 | (engineDigest): Revert algorithm change. | |
15055 | ||
d8278e27 KK |
15056 | 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org> |
15057 | ||
15058 | * configure.host: Add SH support. | |
4977bab6 | 15059 | * sysdep/sh/locks.h: New file. |
d8278e27 | 15060 | |
f6dbe305 BM |
15061 | 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
15062 | ||
15063 | * java/awt/Frame.java (Frame): Remove println calls. | |
15064 | ||
a15e868a JS |
15065 | 2002-07-30 Jeff Sturm <jsturm@one-point.com> |
15066 | ||
15067 | * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP. | |
15068 | * configure: Rebuilt. | |
15069 | ||
61fd68b4 AM |
15070 | 2002-07-27 Alan Modra <amodra@bigpond.net.au> |
15071 | ||
15072 | * sysdep/powerpc/locks.h: Formatting. | |
15073 | (_LARX): Define. | |
15074 | (_STCX): Define. | |
15075 | (compare_and_swap): Use _LARX and _STCX. | |
15076 | (compare_and_swap_release): Likewise. | |
15077 | ||
92847c03 TT |
15078 | 2002-07-26 Tom Tromey <tromey@redhat.com> |
15079 | ||
15080 | * java/net/Authenticator.java: New version from Classpath. | |
15081 | * java/net/DatagramSocketImpl.java: New version from Classpath. | |
15082 | ||
1d49f58a AM |
15083 | 2002-07-27 Alan Modra <amodra@bigpond.net.au> |
15084 | ||
15085 | * configure.host: Add powerpc64*-* entry. | |
15086 | ||
8a7f132d TT |
15087 | 2002-07-26 Tom Tromey <tromey@redhat.com> |
15088 | ||
15089 | * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or | |
15090 | fcntl.h. | |
15091 | ||
1efccea3 TT |
15092 | 2002-07-24 Tom Tromey <tromey@redhat.com> |
15093 | ||
15094 | * java/lang/Runtime.java (loadLibrary): Pass `true' as search | |
15095 | argument to _load. | |
15096 | ||
ce05139c | 15097 | 2002-07-24 Tom Tromey <tromey@redhat.com> |
4977bab6 | 15098 | Tony Kimball <alk@pobox.com> |
ce05139c TT |
15099 | |
15100 | * java/io/natFileDescriptorWin32.cc (setLength): New method. | |
15101 | * java/io/natFileDescriptorPosix.cc (setLength): New method. | |
15102 | * java/io/RandomAccessFile.java (setLength): New method. | |
15103 | * java/io/natFileDescriptorEcos.cc (setLength): New method. | |
15104 | * java/io/FileDescriptor.java (setLength): New method. | |
15105 | ||
5526ddf6 MW |
15106 | 2002-07-24 Mark Wielaard <mark@klomp.org> |
15107 | ||
15108 | * java/lang/reflect/natField.cc (setAddr): Check isAccessible(). | |
15109 | * java/io/ObjectInputStream.java (setBooleanField): Before setting | |
15110 | field call setAccessible(true). | |
15111 | (setByteField): Likewise. | |
15112 | (setCharField): Likewise. | |
15113 | (setDoubleField): Likewise. | |
15114 | (setFloatField): Likewise. | |
15115 | (setIntField): Likewise. | |
15116 | (setLongField): Likewise. | |
15117 | (setShortField): Likewise. | |
15118 | (setObjectField): Likewise. | |
15119 | ||
15120 | 2002-07-24 Tom Tromey <tromey@redhat.com> | |
15121 | ||
15122 | * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't | |
15123 | use toString() to format array element. | |
15124 | ||
f922660b MW |
15125 | 2002-07-23 Mark Wielaard <mark@klomp.org> |
15126 | ||
15127 | * gnu/java/security/provider/MD5.java: Extends MessageDigest, not | |
15128 | MessageDigestSpi (fixes Classpath bug #783). | |
15129 | ||
31ee1b0e MW |
15130 | 2002-07-21 Mark Wielaard <mark@klomp.org> |
15131 | ||
15132 | * gnu/java/security/provider/Gnu.java: Reference all implementation | |
15133 | classes by using Class.getName(). | |
15134 | ||
7b204712 BT |
15135 | 2002-07-19 Bo Thorsen <bo@berlioz.suse.de> |
15136 | ||
15137 | * java/lang/ieeefp.h: Add x86-64 support. | |
15138 | * configure.in: Likewise. | |
15139 | * configure.host: Likewise. | |
15140 | * configure: Regenerated. | |
15141 | * sysdep/x86-64/locks.h: New file with x86-64 locks. | |
15142 | ||
00e0a9e8 MW |
15143 | 2002-07-16 Mark Wielaard <mark@klomp.org> |
15144 | ||
15145 | * java/io/StreamTokenizer.java (pushBack): Update documentation. | |
15146 | (whitespaceChars): call resetChar(). | |
15147 | ||
9698ee33 TT |
15148 | 2002-07-15 Tom Tromey <tromey@redhat.com> |
15149 | ||
15150 | * Makefile.in: Rebuilt. | |
15151 | * Makefile.am (awt_java_source_files): Added new files. | |
15152 | * java/beans/ExceptionListener.java: Merged with Classpath. | |
15153 | * java/beans/PropertyChangeEvent.java: Merged with Classpath. | |
15154 | * java/beans/PropertyChangeListener.java: Merged with Classpath. | |
15155 | * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath. | |
15156 | * java/beans/PropertyChangeSupport.java: Merged with Classpath. | |
15157 | * java/beans/VetoableChangeListener.java: Merged with Classpath. | |
15158 | * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath. | |
15159 | * java/beans/VetoableChangeSupport.java: Merged with Classpath. | |
15160 | ||
df815141 MW |
15161 | 2002-07-14 Mark Wielaard <mark@klomp.org> |
15162 | ||
15163 | * gnu/java/security/der/DEREncodingException.java, | |
15164 | gnu/java/security/provider/DERReader.java, | |
15165 | gnu/java/security/provider/DERWriter.java, | |
15166 | gnu/java/security/provider/DSAKeyPairGenerator.java, | |
15167 | gnu/java/security/provider/DSAParameterGenerator.java, | |
15168 | gnu/java/security/provider/DSAParameters.java, | |
15169 | gnu/java/security/provider/DSASignature.java, | |
15170 | gnu/java/security/provider/GnuDSAPrivateKey.java, | |
15171 | gnu/java/security/provider/GnuDSAPublicKey.java, | |
15172 | gnu/java/security/provider/MD5.java, | |
15173 | gnu/java/security/util/Prime.java: New files from Classpath. | |
15174 | * Makefile.am (ordinary_java_source_files): Add new files. | |
15175 | * Makefile.in: Regenerate. | |
15176 | ||
15177 | 2002-07-14 C. Brian Jones <cbj@gnu.org> | |
15178 | ||
15179 | * gnu/java/security/provider/DefaultPolicy.java | |
15180 | (getPermissions): do not maintain static class variable of | |
15181 | Permissions | |
54d9d34a | 15182 | * gnu/java/security/provider/SHA.java |
df815141 MW |
15183 | (engineUpdate): algorithm change |
15184 | (engineDigest): algorithm change | |
15185 | ||
a5774acd JR |
15186 | 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com> |
15187 | ||
15188 | For PR libgcj/7292: | |
15189 | * java/lang/Character.java (toString(char)): Now static. | |
15190 | ||
dc7b1dda MW |
15191 | 2002-07-12 Mark Wielaard <mark@klomp.org> |
15192 | ||
15193 | * java/lang/natThrowable.cc (printRawStackTrace): removed. | |
15194 | (getStackTrace0): new method. | |
15195 | * java/lang/Throwable.java (CPlusPlusDemangler): removed. | |
15196 | (printStackTrace(PrintWriter)): replace with pure java implementation. | |
15197 | (printRawStackTrace): removed. | |
15198 | (getStackTrace0): new method. | |
15199 | * java/lang/StackTraceElement.java (toString): add extra whitespace. | |
15200 | * gcj/javaprims.h: regenerate class list. | |
15201 | * include/name-finder.h (lookup): new returns StackTraceElement*. | |
15202 | (method_name, file_name): fields removed. | |
15203 | (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields. | |
15204 | (~_Jv_name_finder): close new descriptors. | |
15205 | * name-finder.cc(_Jv_name_finder): setup c++filt helper process. | |
15206 | (createStackTraceElement): new method. | |
15207 | (lookup): returns StackTraceElement*, uses createStackTraceElement(). | |
15208 | ||
2e237e37 TT |
15209 | 2002-07-10 Tom Tromey <tromey@redhat.com> |
15210 | ||
15211 | * configure: Rebuilt. | |
15212 | * configure.in: Use `test' after `&&'. From Chris Faylor. | |
15213 | ||
dde7b83c MW |
15214 | 2002-07-08 Mark Wielaard <mark@klomp.org> |
15215 | ||
15216 | * mauve-libgcj: Don't compile java.sql.Blob.BlobTest, | |
15217 | java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20, | |
15218 | java.sql.DatabaseMetaData.TestJdbc20 | |
15219 | ||
16da5ae2 TK |
15220 | 2002-07-05 Tony Kimball <alk@pobox.com> |
15221 | ||
15222 | * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'. | |
15223 | ||
0d49ec11 | 15224 | 2002-07-04 Tom Tromey <tromey@redhat.com> |
4977bab6 | 15225 | Jeff Sturm <jsturm@one-point.com> |
0d49ec11 TT |
15226 | |
15227 | Fix for PR libgcj/7060: | |
15228 | * java/lang/Class.h (_getMethod): Renamed from getMethod. | |
15229 | * java/lang/natClass.cc (_getMethod): Renamed from getMethod. | |
15230 | Recurse into superinterfaces. Don't throw NoSuchMethodException. | |
15231 | * java/lang/Class.java (getMethod): New Java implementation; | |
15232 | complies with spec. | |
15233 | (_getMethod): New native method. | |
15234 | ||
aa5661e6 | 15235 | 2002-07-02 Tom Tromey <tromey@redhat.com> |
4977bab6 | 15236 | David Hovemeyer <daveho@cs.umd.edu> |
aa5661e6 TT |
15237 | |
15238 | * java/text/ChoiceFormat.java | |
15239 | (format(double,StringBuffer,FieldPosition)): Fix fencepost error | |
15240 | in check loop. | |
15241 | * java/text/MessageFormat.java | |
15242 | (format(Object[],StringBuffer,FieldPosition): Pass all arguments | |
15243 | to MessageFormat. | |
15244 | ||
49925aed TT |
15245 | 2002-07-01 Tom Tromey <tromey@redhat.com> |
15246 | ||
15247 | * javax/naming/spi/NamingManager.java (getPlusPath): Don't create | |
15248 | StringTokenizer on null string. For PR libgcj/7180. | |
15249 | From daveho@cs.umd.edu. | |
15250 | ||
fdae83ab TT |
15251 | 2002-06-24 Tom Tromey <tromey@redhat.com> |
15252 | ||
d74bba04 TT |
15253 | * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed. |
15254 | (IntegerClass): Likewise. | |
15255 | * java/lang/natClass.cc (CloneableClass): Removed. | |
15256 | (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass, | |
15257 | ConstructorClass): Likewise. | |
15258 | * java/lang/natClassLoader.cc (CloneableClass): Removed. | |
15259 | (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass, | |
15260 | SerializableClass): Likewise. | |
15261 | * java/lang/reflect/natMethod.cc (BooleanClass): Removed. | |
15262 | (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass, | |
15263 | LongClass, FloatClass, DoubleClass): Likewise. | |
15264 | ||
fdae83ab TT |
15265 | * verify.cc (branch_prepass): Updated for change to exception |
15266 | handler type. | |
15267 | (verify_instructions_0): Likewise. | |
15268 | * defineclass.cc (handleCodeAttribute): Initialize `prepared'. | |
15269 | (handleExceptionTableEntry): Updated for change to exception | |
15270 | handler type. | |
15271 | * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation. | |
15272 | * include/java-interp.h (_Jv_InterpMethodInvocation): Removed. | |
15273 | (union _Jv_InterpPC): New. | |
15274 | (class _Jv_InterpException): Changed types to _Jv_InterpPC. | |
15275 | (class _Jv_InterpMethod): Added new `prepared' field. | |
15276 | (class _Jv_InterpMethod): Added `compile' method. Removed | |
15277 | `continue1' and `find_exception'. Changed arguments to `run'. | |
15278 | * interpret.cc (union insn_slot): New. | |
15279 | (find_exception): Removed. | |
15280 | (run_normal): Removed most logic. | |
15281 | (run_synch_object): Likewise; also, use JvSynchronize. | |
15282 | (run_synch_class): Likewise. | |
15283 | (run): Removed. | |
15284 | (continue1): Renamed as `run'. Compile bytecode if required. | |
15285 | Add new code to allow refinement of direct-threaded code at | |
15286 | runtime. Handle exceptions. | |
15287 | (SAVE_PC): Removed. | |
15288 | (compile): New method. | |
15289 | (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines. | |
15290 | (NULLARRAYCHECK): Don't use SAVE_PC. | |
15291 | (pc_t): New typedef. | |
15292 | (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP, | |
15293 | SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros. | |
15294 | ||
17ba19fe TT |
15295 | 2002-06-23 Tom Tromey <tromey@redhat.com> |
15296 | ||
b2ae5f70 TT |
15297 | * configure: Rebuilt. |
15298 | * configure.in (INTERPRETER): New subst. | |
15299 | (AM_RUNTESTFLAGS): Don't subst. | |
15300 | ||
17ba19fe TT |
15301 | * Makefile.in: Rebuilt. |
15302 | * Makefile.am ($(srcdir)/java/lang/Object.h, | |
15303 | $(srcdir)/java/lang/Class.h): Added dummy targets. | |
15304 | ||
f2390fad BM |
15305 | 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
15306 | ||
15307 | Reformat JDBC classes and add new JDK 1.4 classes and methods. | |
15308 | ||
15309 | * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java, | |
15310 | java/sql/Savepoint.java: New files. | |
15311 | * java/sql/Array.java, java/sql/BatchUpdateException.java, | |
15312 | java/sql/Blob.java, java/sql/CallableStatement.java, | |
15313 | java/sql/Clob.java, java/sql/Connection.java, | |
15314 | java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java, | |
15315 | java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java, | |
15316 | java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java, | |
15317 | java/sql/Ref.java, java/sql/ResultSet.java, | |
15318 | java/sql/ResultSetMetaData.java, java/sql/SQLData.java | |
15319 | java/sql/SQLException.java, java/sql/SQLInput.java, | |
15320 | java/sql/SQLOutput.java, java/sql/SQLWarning.java | |
15321 | java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java, | |
15322 | java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0 | |
15323 | (JDK 1.4) specification. | |
54d9d34a | 15324 | * javax/sql/ConnectionEvent.java, |
f2390fad BM |
15325 | javax/sql/ConnectionEventListener.java, |
15326 | javax/sql/ConnectionPoolDataSource.java, | |
15327 | javax/sql/DataSource.java, javax/sql/PooledConnection.java, | |
15328 | javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java, | |
15329 | javax/sql/RowSet.java, javax/sql/RowSetListener.java, | |
15330 | javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java, | |
15331 | javax/sql/RowSetWriter.java, javax/sql/XAConnection.java, | |
15332 | javax/sql/XADataSource.java: New files. | |
15333 | * Makefile.am: Add new files. | |
15334 | * Makefile.in: Rebuilt. | |
54d9d34a | 15335 | |
04a704a4 TT |
15336 | 2002-06-20 Tom Tromey <tromey@redhat.com> |
15337 | ||
15338 | For PR libgcj/7073: | |
15339 | * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it | |
15340 | exists. | |
15341 | * defineclass.cc (handleClassBegin): Superclass for interface is | |
15342 | `null'. | |
15343 | ||
ab928b32 TT |
15344 | 2002-06-18 Tom Tromey <tromey@redhat.com> |
15345 | ||
15346 | * gcj/javaprims.h: Updated class declaration list. | |
15347 | * Makefile.in: Rebuilt. | |
15348 | * Makefile.am (core_java_source_files): Removed | |
15349 | BasicMapEntry.java. | |
15350 | * java/util/BasicMapEntry.java: Removed. | |
15351 | ||
347258ae JS |
15352 | 2002-06-18 Jeff Sturm <jsturm@one-point.com> |
15353 | ||
15354 | * java/net/natPlainDatagramSocketImpl.cc (receive): | |
15355 | Check bounds of argument to FD_SET. | |
15356 | (setOption): Throw exception if socket is closed. | |
15357 | ||
15358 | * java/net/natPlainSocketImpl.cc (accept, read): | |
15359 | Check bounds of argument to FD_SET. | |
15360 | (setOption): Throw exception if socket is closed. | |
15361 | ||
38313817 TT |
15362 | 2002-06-18 Tom Tromey <tromey@redhat.com> |
15363 | ||
15364 | * gcj/javaprims.h: Updated class declaration list. | |
15365 | * Makefile.in: Rebuilt. | |
15366 | * Makefile.am (core_java_source_files): Added | |
15367 | PropertyPermissionCollection.java. | |
15368 | * java/lang/Thread.java (group, name): Now package-private. | |
15369 | * java/lang/ThreadGroup.java: Re-merge with Classpath. | |
15370 | * java/util/AbstractList.java: Likewise. | |
15371 | * java/util/AbstractMap.java: Likewise. | |
15372 | * java/util/Calendar.java: Likewise. | |
15373 | * java/util/Collections.java: Likewise. | |
15374 | * java/util/HashMap.java: Likewise. | |
15375 | * java/util/Hashtable.java: Likewise. | |
15376 | * java/util/LinkedHashMap.java: Likewise. | |
15377 | * java/util/LinkedList.java: Likewise. | |
15378 | * java/util/List.java: Likewise. | |
15379 | * java/util/ListResourceBundle.java: Likewise. | |
15380 | * java/util/Map.java: Likewise. | |
15381 | * java/util/Observable.java: Likewise. | |
15382 | * java/util/Properties.java: Likewise. | |
15383 | * java/util/PropertyPermission.java: Likewise. | |
15384 | * java/util/PropertyPermissionCollection.java: Likewise. | |
15385 | * java/util/PropertyResourceBundle.java: Likewise. | |
15386 | * java/util/Random.java: Likewise. | |
15387 | * java/util/SimpleTimeZone.java: Likewise. | |
15388 | * java/util/StringTokenizer.java: Likewise. | |
15389 | * java/util/TimerTask.java: Likewise. | |
15390 | * java/util/TreeMap.java: Likewise. | |
15391 | * java/util/WeakHashMap.java: Likewise. | |
15392 | * java/util/jar/Attributes.java: Likewise. | |
15393 | * java/util/jar/JarException.java: Likewise. | |
15394 | * java/util/jar/Manifest.java: Likewise. | |
15395 | ||
82176405 TT |
15396 | 2002-06-17 Tom Tromey <tromey@redhat.com> |
15397 | ||
15398 | * gcj/javaprims.h: Updated class declaration list. | |
15399 | * Makefile.in: Rebuilt. | |
15400 | * Makefile.am (core_java_source_files): Added new file. | |
15401 | * java/util/EventListenerProxy.java: New file. | |
15402 | * java/util/EventListener.java: Re-merge with Classpath. | |
15403 | * java/util/EventObject.java: Re-merge with Classpath. | |
15404 | ||
8f7dfb53 NN |
15405 | 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com> |
15406 | ||
15407 | * java/lang/ClassNotFoundException.java: New Classpath version. | |
15408 | ||
1a4b27e8 NN |
15409 | 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com> |
15410 | ||
15411 | * java/rmi/activation/ActivateFailedException.java: Remerge from | |
15412 | Classpath version. | |
15413 | * java/rmi/activation/ActivationException.java: Ditto. | |
15414 | * java/rmi/activation/UnknownGroupException.java: Ditto. | |
15415 | * java/rmi/activation/UnknownObjectException.java: Ditto. | |
15416 | * java/rmi/server/ExportException: Ditto. | |
15417 | * java/rmi/server/ServerCloneException: Ditto. | |
15418 | * java/rmi/server/ServerNotActiveException: Ditto. | |
15419 | * java/rmi/server/SkeletonMismatchException: Ditto. | |
15420 | * java/rmi/server/SkeletonNotFoundException: Ditto. | |
15421 | * java/rmi/server/SocketSecurityException: Ditto. | |
15422 | ||
548ce8be TT |
15423 | 2002-06-16 Tom Tromey <tromey@redhat.com> |
15424 | ||
c458bd73 TT |
15425 | * gcj/javaprims.h: Updated class declaration list. |
15426 | ||
fb3bea1d TT |
15427 | * java/io/LineNumberInputStream.java: Merged with Classpath. |
15428 | ||
548ce8be TT |
15429 | * java/lang/RuntimeException.java: Re-merge with Classpath. |
15430 | * java/util/ArrayList.java: Likewise. | |
15431 | * java/util/Arrays.java: Likewise. | |
15432 | * java/util/BitSet.java: Likewise. | |
15433 | * java/util/Dictionary.java: Likewise. | |
15434 | * java/util/IdentityHashMap.java: Likewise. | |
15435 | * java/util/MissingResourceException.java: Likewise. | |
15436 | * java/util/Observer.java: Likewise. | |
15437 | * java/util/TooManyListenersException.java: Likewise. | |
15438 | * java/util/zip/DataFormatException.java: Likewise. | |
15439 | * java/util/zip/ZipException.java: Likewise. | |
15440 | ||
daefe58e NN |
15441 | 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com> |
15442 | ||
15443 | * java/rmi/AccessException.java: Remerge from Classpath. | |
15444 | * java/rmi/AlreadyBoundException.java: Ditto. | |
15445 | * java/rmi/ConnectException.java: Ditto. | |
15446 | * java/rmi/ConnectIOException.java: Ditto. | |
15447 | * java/rmi/MarshalException.java: Ditto. | |
15448 | * java/rmi/NoSuchObjectException.java: Ditto. | |
15449 | * java/rmi/NotBoundException.java: Ditto. | |
15450 | * java/rmi/RemoteException.java: Ditto. | |
15451 | * java/rmi/RMISecurityException.java: Ditto. | |
15452 | * java/rmi/ServerError.java: Ditto. | |
15453 | * java/rmi/ServerException.java: Ditto. | |
15454 | * java/rmi/ServerRuntimeException.java: Ditto. | |
15455 | * java/rmi/StubNotFoundException.java: Ditto. | |
15456 | * java/rmi/UnexpectedExcpetion.java: Ditto. | |
15457 | * java/rmi/UnknownHostException.java: Ditto. | |
15458 | * java/rmi/UnmarshalException.java: Ditto. | |
15459 | ||
34442f32 TT |
15460 | 2002-06-15 Tom Tromey <tromey@redhat.com> |
15461 | ||
3e1b181a TT |
15462 | * java/lang/AbstractMethodError.java: Re-merged with Classpath. |
15463 | * java/lang/ArithmeticException.java: Likewise. | |
15464 | * java/lang/ArrayIndexOutOfBoundsException.java: Likewise. | |
15465 | * java/lang/ArrayStoreException.java: Likewise. | |
15466 | * java/lang/Byte.java: Likewise. | |
15467 | * java/lang/CharSequence.java: Likewise. | |
15468 | * java/lang/ClassCastException.java: Likewise. | |
15469 | * java/lang/ClassCircularityError.java: Likewise. | |
15470 | * java/lang/ClassFormatError.java: Likewise. | |
15471 | * java/lang/CloneNotSupportedException.java: Likewise. | |
15472 | * java/lang/Cloneable.java: Likewise. | |
15473 | * java/lang/Comparable.java: Likewise. | |
15474 | * java/lang/Compiler.java: Likewise. | |
15475 | * java/lang/Error.java: Likewise. | |
15476 | * java/lang/ExceptionInInitializerError.java: Likewise. | |
15477 | * java/lang/IllegalAccessError.java: Likewise. | |
15478 | * java/lang/IllegalAccessException.java: Likewise. | |
15479 | * java/lang/IllegalArgumentException.java: Likewise. | |
15480 | * java/lang/IllegalMonitorStateException.java: Likewise. | |
15481 | * java/lang/IllegalStateException.java: Likewise. | |
15482 | * java/lang/IllegalThreadStateException.java: Likewise. | |
15483 | * java/lang/IncompatibleClassChangeError.java: Likewise. | |
15484 | * java/lang/IndexOutOfBoundsException.java: Likewise. | |
15485 | * java/lang/InheritableThreadLocal.java: Likewise. | |
15486 | * java/lang/InstantiationError.java: Likewise. | |
15487 | * java/lang/InstantiationException.java: Likewise. | |
15488 | * java/lang/InternalError.java: Likewise. | |
15489 | * java/lang/InterruptedException.java: Likewise. | |
15490 | * java/lang/LinkageError.java: Likewise. | |
15491 | * java/lang/NegativeArraySizeException.java: Likewise. | |
15492 | * java/lang/NoClassDefFoundError.java: Likewise. | |
15493 | * java/lang/NoSuchFieldError.java: Likewise. | |
15494 | * java/lang/NoSuchFieldException.java: Likewise. | |
15495 | * java/lang/NoSuchMethodError.java: Likewise. | |
15496 | * java/lang/NoSuchMethodException.java: Likewise. | |
15497 | * java/lang/NullPointerException.java: Likewise. | |
15498 | * java/lang/NumberFormatException.java: Likewise. | |
15499 | * java/lang/OutOfMemoryError.java: Likewise. | |
15500 | * java/lang/Process.java: Likewise. | |
15501 | * java/lang/Runnable.java: Likewise. | |
15502 | * java/lang/RuntimePermission.java: Likewise. | |
15503 | * java/lang/SecurityException.java: Likewise. | |
15504 | * java/lang/Short.java: Likewise. | |
15505 | * java/lang/StackOverflowError.java: Likewise. | |
15506 | * java/lang/StringIndexOutOfBoundsException.java: Likewise. | |
15507 | * java/lang/ThreadDeath.java: Likewise. | |
15508 | * java/lang/ThreadLocal.java: Likewise. | |
15509 | * java/lang/UnknownError.java: Likewise. | |
15510 | * java/lang/UnsatisfiedLinkError.java: Likewise. | |
15511 | * java/lang/UnsupportedClassVersionError.java: Likewise. | |
15512 | * java/lang/UnsupportedOperationException.java: Likewise. | |
15513 | * java/lang/VerifyError.java: Likewise. | |
15514 | * java/lang/VirtualMachineError.java: Likewise. | |
15515 | * java/lang/reflect/InvocationTargetException.java: Likewise. | |
15516 | * java/net/BindException.java: Likewise. | |
15517 | * java/net/ConnectException.java: Likewise. | |
15518 | * java/net/MalformedURLException.java: Likewise. | |
15519 | * java/net/NoRouteToHostException.java: Likewise. | |
15520 | * java/net/ProtocolException.java: Likewise. | |
15521 | * java/net/SocketException.java: Likewise. | |
15522 | * java/net/UnknownHostException.java: Likewise. | |
15523 | * java/net/UnknownServiceException.java: Likewise. | |
15524 | ||
34442f32 TT |
15525 | * java/io/BufferedOutputStream.java: Re-merged with Classpath. |
15526 | * java/io/CharConversionException.java: Likewise. | |
15527 | * java/io/EOFException.java: Likewise. | |
15528 | * java/io/FileNotFoundException.java: Likewise. | |
15529 | * java/io/IOException.java: Likewise. | |
15530 | * java/io/InterruptedIOException.java: Likewise. | |
15531 | * java/io/InvalidClassException.java: Likewise. | |
15532 | * java/io/InvalidObjectException.java: Likewise. | |
15533 | * java/io/NotActiveException.java: Likewise. | |
15534 | * java/io/NotSerializableException.java: Likewise. | |
15535 | * java/io/ObjectStreamException.java: Likewise. | |
15536 | * java/io/ObjectStreamConstants.java: Likewise. | |
15537 | * java/io/OptionalDataException.java: Likewise. | |
15538 | * java/io/PipedInputStream.java: Likewise. | |
15539 | * java/io/PushbackInputStream.java: Likewise. | |
15540 | * java/io/StreamCorruptedException.java: Likewise. | |
15541 | * java/io/SyncFailedException.java: Likewise. | |
15542 | * java/io/UTFDataFormatException.java: Likewise. | |
15543 | * java/io/UnsupportedEncodingException.java: Likewise. | |
15544 | * java/io/WriteAbortedException.java: Likewise. | |
15545 | ||
945dabcd NN |
15546 | 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com> |
15547 | ||
15548 | * java/text/ChoiceFormat.java: Update comments from Classpath. | |
15549 | * java/text/ParseException.java (serialVersionUID): New | |
15550 | field from Classpath. | |
15551 | * java/text/ParseException.java: Update formatting & comments | |
15552 | from Classpath. | |
15553 | ||
5f51b048 TT |
15554 | 2002-06-15 Tom Tromey <tromey@redhat.com> |
15555 | ||
15556 | * java/util/zip/InflaterInputStream.java (read): Loop if data has | |
15557 | been read but none output by inflater. | |
15558 | * java/util/zip/natDeflater.cc (reset): Set is_finished. | |
15559 | * java/util/zip/natInflater.cc (reset): Set dist_needed and | |
15560 | is_finished. | |
15561 | * java/util/zip/ZipOutputStream.java: Replaced with Classpath | |
15562 | version. | |
15563 | * java/util/zip/ZipFile.java: Replaced with Classpath version. | |
15564 | * java/util/zip/ZipEntry.java: Replaced with Classpath version. | |
15565 | * java/util/zip/ZipInputStream.java: Replaced with Classpath | |
15566 | version. | |
15567 | * java/util/zip/ZipConstants.java: Replaced with Classpath version. | |
15568 | ||
93f7aeea TT |
15569 | 2002-06-13 Tom Tromey <tromey@redhat.com> |
15570 | ||
15571 | * java/lang/natString.cc (init): Handle case where DONT_COPY is | |
15572 | true and OFFSET!=0. | |
15573 | * java/lang/String.java (String(char[],int,int,boolean): New | |
15574 | constructor. | |
15575 | * java/lang/Long.java: Imported new version from Classpath. | |
15576 | * java/lang/Number.java: Likewise. | |
15577 | * java/lang/Integer.java: Likewise. | |
15578 | * java/lang/Long.java: Likewise. | |
15579 | * java/lang/Float.java: Likewise. | |
15580 | * java/lang/Boolean.java: Likewise. | |
15581 | * java/lang/Double.java: Likewise. | |
15582 | * java/lang/Void.java: Likewise. | |
15583 | ||
6e32abbf TT |
15584 | 2002-06-12 Tom Tromey <tromey@redhat.com> |
15585 | ||
15586 | * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".". | |
15587 | Fixes PR libgcj/6652. | |
15588 | ||
41983136 TT |
15589 | 2002-06-10 Tom Tromey <tromey@redhat.com> |
15590 | ||
15591 | * java/lang/Class.h (Class::desiredAssertionStatus): Declare. | |
15592 | (Class::getPackagePortion): Likewise. | |
15593 | * java/lang/Class.java (desiredAssertionStatus): New method from | |
15594 | Classpath. | |
15595 | (getPackagePortion): Likewise. | |
15596 | * java/lang/VMClassLoader.java (defaultAssertionStatus, | |
15597 | packageAssertionStatus, classAssertionStatus): New methods from | |
15598 | Classpath. | |
15599 | * java/lang/ClassLoader.java (defaultAssertionStatus, | |
15600 | systemPackageAssertionStatus, packageAssertionStatus, | |
15601 | systemClassAssertionStatus, classAssertionStatus): New fields from | |
15602 | Classpath. | |
15603 | (setDefaultAssertionStatus, setPackageAssertionStatus, | |
15604 | setClassAssertionStatus, clearAssertionStatus): New methods from | |
15605 | Classpath. | |
15606 | * Makefile.in: Rebuilt. | |
15607 | * Makefile.am (core_java_source_files): Added AssertionError.java. | |
15608 | * java/lang/AssertionError.java: New from Classpath. | |
15609 | ||
5f555088 BM |
15610 | 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
15611 | ||
15612 | * configure.host: Disable hash synchronization and slow_pthread_self | |
15613 | for cygwin. | |
15614 | ||
28038fe1 AM |
15615 | 2002-06-06 Adam Megacz <adam@xwt.org> |
15616 | ||
4977bab6 ZW |
15617 | * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file |
15618 | locking, just like the Sun JVM does. | |
54d9d34a | 15619 | |
5d3dfc3a L |
15620 | 2002-06-05 H.J. Lu (hjl@gnu.org) |
15621 | ||
15622 | * Makefile.am (libgcj_convenience.la): Revert the last change. | |
15623 | (libgcj.la): Likewise. | |
15624 | * Makefile.in: Regenerated. | |
15625 | ||
622dc71b L |
15626 | 2002-06-04 H.J. Lu (hjl@gnu.org) |
15627 | ||
15628 | * Makefile.am (libgcj_convenience.la): New target. | |
15629 | (libgcj.la): Depend on libgcj_convenience.la. | |
15630 | * Makefile.in: Regenerated. | |
15631 | ||
9e7823cc L |
15632 | 2002-06-04 H.J. Lu (hjl@gnu.org) |
15633 | ||
15634 | * configure.in (--with-newlib): New option: | |
15635 | Check ${with_newlib} instead of ${with_cross_host} for newlib. | |
15636 | (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to | |
15637 | Linux. | |
15638 | * configure: Regenerated. | |
15639 | ||
4e176a9b TT |
15640 | 2002-06-04 Tom Tromey <tromey@redhat.com> |
15641 | ||
15642 | * java/util/natTimeZone.cc: Include <stdio.h>. | |
15643 | ||
e793a714 UW |
15644 | 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com> |
15645 | ||
15646 | * configure.host [s390*-linux*]: Set can_unwind_signal=yes. | |
15647 | * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE. | |
15648 | Set SIGNAL_HANDLER=include/s390-linux.h. | |
15649 | * configure: Regenerate. | |
15650 | * include/s390-linux.h: New file. | |
15651 | ||
f5fa9bc1 BM |
15652 | 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
15653 | ||
15654 | * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes", | |
15655 | not "stackTrace". | |
15656 | ||
d2f108e2 BM |
15657 | 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
15658 | ||
15659 | Merge JDK 1.4 java.security changes from classpath. | |
15660 | ||
15661 | * java/security/AccessControlException.java: Merge from Classpath. | |
15662 | * java/security/AccessController.java: Likewise. | |
15663 | * java/security/AllPermission.java: Likewise. | |
15664 | * java/security/BasicPermission.java: Likewise. | |
15665 | * java/security/Certificate.java: Likewise. | |
15666 | * java/security/CodeSource.java: Likewise. | |
15667 | * java/security/DigestException.java: Likewise. | |
15668 | * java/security/DigestOutputStream.java: Likewise. | |
15669 | * java/security/DomainCombiner.java: Likewise. | |
15670 | * java/security/GeneralSecurityException.java: Likewise. | |
15671 | * java/security/Guard.java: Likewise. | |
15672 | * java/security/GuardedObject.java: Likewise. | |
15673 | * java/security/InvalidAlgorithmParameterException.java: Likewise. | |
15674 | * java/security/InvalidKeyException.java: Likewise. | |
15675 | * java/security/InvalidParameterException.java: Likewise. | |
15676 | * java/security/Key.java: Likewise. | |
15677 | * java/security/KeyException.java: Likewise. | |
15678 | * java/security/KeyManagementException.java: Likewise. | |
15679 | * java/security/KeyStoreException.java: Likewise. | |
15680 | * java/security/MessageDigest.java: Likewise. | |
15681 | * java/security/NoSuchAlgorithmException.java: Likewise. | |
15682 | * java/security/NoSuchProviderException.java: Likewise. | |
15683 | * java/security/Permission.java: Likewise. | |
15684 | * java/security/PermissionCollection.java: Likewise. | |
15685 | * java/security/Permissions.java: Likewise. | |
15686 | * java/security/Policy.java: Likewise. | |
15687 | * java/security/Principal.java: Likewise. | |
15688 | * java/security/PrivateKey.java: Likewise. | |
15689 | * java/security/PrivilegedAction.java: Likewise. | |
15690 | * java/security/PrivilegedActionException.java: Likewise. | |
15691 | * java/security/PrivilegedExceptionAction.java: Likewise. | |
15692 | * java/security/ProtectionDomain.java: Likewise. | |
15693 | * java/security/ProviderException.java: Likewise. | |
15694 | * java/security/PublicKey.java: Likewise. | |
15695 | * java/security/SecureClassLoader.java: Likewise. | |
15696 | * java/security/SecurityPermission.java: Likewise. | |
15697 | * java/security/SignatureException.java: Likewise. | |
15698 | * java/security/UnrecoverableKeyException.java: Likewise. | |
15699 | * java/security/UnresolvedPermission.java: Likewise. | |
15700 | * java/security/acl/AclNotFoundException.java: Likewise. | |
15701 | * java/security/acl/LastOwnerException.java: Likewise. | |
15702 | * java/security/acl/NotOwnerException.java: Likewise. | |
15703 | * java/security/cert/CRLException.java: Likewise. | |
15704 | * java/security/cert/CertificateEncodingException.java: Likewise. | |
15705 | * java/security/cert/CertificateException.java: Likewise. | |
15706 | * java/security/cert/CertificateExpiredException.java: Likewise. | |
15707 | * java/security/cert/CertificateFactory.java: Likewise. | |
15708 | * java/security/cert/CertificateNotYetValidException.java: Likewise. | |
15709 | * java/security/cert/CertificateParsingException.java: Likewise. | |
15710 | * java/security/spec/InvalidKeySpecException.java: Likewise. | |
15711 | * java/security/spec/InvalidParameterSpecException.java: Likewise. | |
15712 | ||
15713 | * java/security/cert/CertPath.java: New file. | |
15714 | * java/security/cert/CertPathBuilderException.java: New file. | |
15715 | * java/security/cert/CertPathValidatorException.java: New file. | |
15716 | * java/security/cert/CertStoreException.java: New file. | |
15717 | ||
15718 | * Makefile.am: Add new CertPath classes. | |
15719 | * Makefile.in: Rebuilt. | |
15720 | ||
4977bab6 | 15721 | * gnu/java/util/EmptyEnumeration.java: New file from classpath. |
d2f108e2 | 15722 | |
4fbecd29 BM |
15723 | 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
15724 | ||
15725 | Merge JDK 1.4 exception chaining support from classpath. | |
d2f108e2 | 15726 | |
4fbecd29 BM |
15727 | * java/lang/Throwable.java: Merge 1.4 support from classpath. |
15728 | (stackTraceBytes): Rename from stackTrace. | |
15729 | * java/lang/Exception.java: Merge from classpath. | |
15730 | * java/lang/StackTraceElement: New file from classpath. | |
15731 | * gcj/javaprims.h: Rebuild CNI namespace declarations. | |
15732 | * Makefile.am: Add StackTraceElement. | |
15733 | * Makefile.in: Rebuilt. | |
15734 | ||
a70b54fd BM |
15735 | 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
15736 | ||
15737 | * Makefile.am (all-recursive): Depend on $all_java_class_files so that | |
15738 | they build first. | |
15739 | * Makefile.in: Rebuilt. | |
15740 | ||
1e6347d8 RO |
15741 | 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
15742 | ||
15743 | * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. | |
15744 | * configure.in: Likewise. | |
15745 | * aclocal.m4: Regenerate. | |
15746 | * configure: Regenerate. | |
15747 | ||
86397868 TT |
15748 | 2002-05-13 Tom Tromey <tromey@redhat.com> |
15749 | ||
e86c533b TT |
15750 | * java/lang/natRuntime.cc: Don't include sys/time.h and time.h. |
15751 | * java/util/natTimeZone.cc: Include sys/time.h and time.h here. | |
15752 | Include platform.h. | |
15753 | ||
86397868 TT |
15754 | Fixes PR libgcj/6389: |
15755 | * Makefile.in: Rebuilt. | |
15756 | * Makefile.am (nat_source_files): Added natTimeZone.cc. | |
15757 | * java/util/natTimeZone.cc: New file. | |
15758 | * java/util/TimeZone.java (getDefaultTimeZoneId): New method. | |
15759 | * java/lang/System.java: Merged with Classpath. | |
15760 | * java/lang/Runtime.java: Merged with Classpath. | |
15761 | * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run | |
15762 | security check. | |
15763 | (setIn0): Renamed from setIn; don't run security check. | |
15764 | (setOut0): Renamed from setOut; don't run security check. | |
15765 | (file_encoding, getpwuid_adaptor, getSystemTimeZone, | |
15766 | init_properties): Moved to natRuntime.cc. | |
15767 | Moved many includes to natRuntime.cc. | |
15768 | (isWordsBigEndian): New method. | |
15769 | * java/lang/natRuntime.cc: Include Long.h, also other includes | |
15770 | previously in natSystem.cc. | |
15771 | (maxMemory): New function. | |
15772 | (exitInternal): Renamed from `_exit'. | |
15773 | (exit): Removed. | |
15774 | (init): Don't set finalize_on_exit. | |
15775 | (exitInternal): Use `finalizeOnExit'. | |
15776 | (file_encoding, getpwuid_adaptor): New functions from | |
15777 | natSystem.cc. | |
15778 | (insertSystemProperties): New method, renamed from | |
15779 | System::init_properties. Don't set user.timezone. | |
15780 | (_load): Don't call checkLink. | |
15781 | (execInternal): New method. | |
15782 | (availableProcessors): Likewise. | |
15783 | (nativeGetLibname): Likewise. | |
15784 | ||
c1acbb7a MW |
15785 | 2002-05-11 Mark Wielaard <mark@klomp.org> |
15786 | ||
15787 | * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white | |
15788 | space characters. | |
15789 | (previous_internal): Likewise. | |
15790 | ||
95258917 TT |
15791 | 2002-05-09 Tom Tromey <tromey@redhat.com> |
15792 | ||
370b2564 TT |
15793 | * jni.cc (_Jv_JNIFunctions): Fixed typo. |
15794 | ||
95258917 TT |
15795 | * java/util/ResourceBundle.java: New version from Classpath. |
15796 | * java/util/Locale.java: Likewise. | |
15797 | ||
2937267b JJ |
15798 | 2002-05-09 Jakub Jelinek <jakub@redhat.com> |
15799 | ||
15800 | * testsuite/lib/libjava.exp (libjava_arguments): Append all | |
15801 | multilib dirs containing libgcc_s*.so.1 below gcc object dir to | |
15802 | LD_LIBRARY_PATH. | |
15803 | ||
281524f4 MM |
15804 | 2002-05-08 Mark Mitchell <mark@codesourcery.com> |
15805 | ||
15806 | * libjava/Makefile.am (all_java_source_files): New variable. | |
15807 | (all_java_class_files): Likewise. | |
15808 | .java.class: New rule. | |
15809 | (CLEANFILES): Remove tmp-list. | |
15810 | * libjava/Makefile.in: Regenerated. | |
54d9d34a | 15811 | |
61b8fbec DB |
15812 | 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com> |
15813 | ||
15814 | * testsuite/lib/libjava.exp (test_libjava_from_javac): | |
15815 | Append .exe to executable names. Fix for cygwin. | |
15816 | ||
6706f116 AO |
15817 | 2002-05-08 Alexandre Oliva <aoliva@redhat.com> |
15818 | ||
15819 | * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at | |
15820 | script entry, and set LD to it when configuring multilibs. | |
15821 | * configure: Rebuilt. | |
15822 | ||
5d243e08 TT |
15823 | 2002-05-07 Tom Tromey <tromey@redhat.com> |
15824 | ||
15825 | * java/lang/natString.cc (unintern): Fixed typo. | |
15826 | ||
736a57de DB |
15827 | 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com> |
15828 | ||
15829 | * testsuite/lib/libjava.exp (libjava_arguments): Don't link | |
15830 | with -no-install on *-*-cygwin*. | |
15831 | ||
49f8e94b DB |
15832 | 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com> |
15833 | ||
15834 | * testsuite/lib/libjava.exp (test_libjava_from_source): | |
15835 | Add comment explaining last patch | |
15836 | ||
1c177c18 DB |
15837 | 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com> |
15838 | ||
15839 | * testsuite/lib/libjava.exp (test_libjava_from_source): | |
15840 | Append .exe to executable names. If no suffix is present, | |
15841 | then ".exe" is added by default on win32. Harmless | |
15842 | elsewhere so always do it. | |
15843 | ||
0659e0e3 DB |
15844 | 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com> |
15845 | Tom Tromey <tromey@redhat.com> | |
15846 | ||
15847 | * java/lang/natSystem.cc (getSystemTimeZone): Use | |
15848 | HAVE_UNDERSCORE_TIMEZONE. | |
15849 | * include/config.h.in: Rebuilt. | |
15850 | * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef. | |
15851 | * aclocal.m4, configure: Rebuilt. | |
15852 | * acinclude.m4: Run AC_EXEEXT. | |
15853 | * configure.in: Adjust test for `timezone' so it fails on Cygwin. | |
15854 | Add test for `_timezone'. | |
15855 | ||
eb9c4fdf AO |
15856 | 2002-05-03 Alexandre Oliva <aoliva@redhat.com> |
15857 | ||
15858 | Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
15859 | * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front. | |
15860 | (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise. | |
15861 | * Makefile.in: Rebuilt. | |
15862 | ||
ce4b2ca6 HB |
15863 | 2002-05-02 Hans Boehm <Hans_Boehm@hp.com> |
15864 | ||
15865 | * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64): | |
15866 | use sigaction instead of __libc_sigaction. | |
15867 | ||
b651af86 RO |
15868 | 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
15869 | ||
15870 | * testsuite/lib/libjava.exp (libjava_find_spec): New function. | |
15871 | (libjava_init): Use it to find libgcj.spec. | |
15872 | (libjava_arguments): Likewise. | |
15873 | ||
fd84ba84 DM |
15874 | 2002-05-02 David S. Miller <davem@redhat.com> |
15875 | ||
15876 | PR bootstrap/6525 | |
15877 | * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use | |
15878 | __libc_sigaction on Sparc. | |
15879 | ||
16034e4b JM |
15880 | 2002-05-02 Jerome Marc <marcjero@yahoo.com> |
15881 | ||
15882 | * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and | |
15883 | sys/filio.h, if present. | |
15884 | ||
47906032 TT |
15885 | 2002-04-30 Tom Tromey <tromey@redhat.com> |
15886 | ||
15887 | * java/io/BufferedReader.java (fill): Handle case where markPos | |
15888 | point to ignored \n. Fixes PR libgcj/6301. | |
15889 | ||
f736fd67 GT |
15890 | 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de> |
15891 | ||
15892 | * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390. | |
15893 | ||
f81c23cd AK |
15894 | 2002-04-29 Adam King <aking@dreammechanics.com> |
15895 | ||
15896 | * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end | |
15897 | of file in APPEND mode. | |
15898 | ||
6ea53170 DM |
15899 | 2002-04-25 David S. Miller <davem@redhat.com> |
15900 | ||
15901 | PR target/6422 | |
15902 | * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set | |
15903 | program counter to next program counter minus 8. Update | |
15904 | comments in this macro to explain why. | |
15905 | ||
b446a5f1 TT |
15906 | 2002-04-26 Tom Tromey <tromey@redhat.com> |
15907 | ||
15908 | * verify.cc (construct_primitive_array_type) [void_type]: New | |
15909 | case. | |
15910 | (branch_prepass): Added dummy entries for unused instruction | |
15911 | values. | |
15912 | (verify_instructions_0): Likewise. | |
15913 | * interpret.cc (continue1): Comment fix. | |
15914 | * include/java-insns.h (op_xxxunusedxxx1): Removed. | |
15915 | * Makefile.in: Rebuilt. | |
15916 | * Makefile.am: Added -Wswitch-enum. | |
15917 | ||
0df9cfc7 TT |
15918 | 2002-04-24 Tom Tromey <tromey@redhat.com> |
15919 | ||
15920 | * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute | |
15921 | correct length of UTF-8 encoded name. Strip leading `/'. | |
15922 | (_Jv_RegisterResource): Use _Jv_Malloc. | |
15923 | ||
c2a6704f AM |
15924 | 2002-04-23 Adam Megacz <adam@xwt.org> |
15925 | ||
15926 | * win32.cc, include/win32.cc (backtrace): Added this function | |
15927 | because Win32 does not supply it. | |
15928 | ||
4bf01445 DM |
15929 | 2002-04-21 David S. Miller <davem@redhat.com> |
15930 | ||
15931 | * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document | |
15932 | magic instruction reading sequence. | |
15933 | ||
da3c5444 MW |
15934 | 2002-04-21 Mark Wielaard <mark@klomp.org> |
15935 | ||
15936 | * mauve-libgcj: Don't run java.lang.ref tests since they are buggy. | |
15937 | ||
714708c8 DM |
15938 | 2002-04-19 David S. Miller <davem@redhat.com> |
15939 | ||
15940 | * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer | |
15941 | arg. | |
15942 | (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc. | |
15943 | (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation | |
15944 | on Sparc too. | |
15945 | * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly | |
15946 | for 64-bit sparc. | |
15947 | (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works. | |
15948 | * sysdeps/sparc/locks.h: New file. | |
15949 | * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h | |
15950 | on all sparc Solaris configurations. Set to | |
15951 | include/dwarf2-signal.h on sparc Linux. | |
15952 | * configure: Regenerate | |
15953 | * configure.host (can_unwind_signal): sparc*-linux* can do it now. | |
15954 | ||
19367215 HB |
15955 | 2002-04-19 Hans Boehm <Hans_Boehm@hp.com> |
15956 | ||
15957 | * configure: Rebuilt. | |
15958 | * configure.in (backtrace): Function doesn't work on IA-64. | |
15959 | ||
b7403f10 AK |
15960 | 2002-04-17 Adam King <aking@dreammechanics.com> |
15961 | ||
54d9d34a | 15962 | * java/io/File.java (normalizePath): Add Win32 support for auto |
b7403f10 AK |
15963 | conversion of a '/' path separator to Win32's '\' separator. |
15964 | ||
ab847133 TT |
15965 | 2002-04-16 Tom Tromey <tromey@redhat.com> |
15966 | ||
15967 | Fix for PR libgcj/6081: | |
15968 | * Makefile.in: Rebuilt. | |
15969 | * Makefile.am (install-data-local): Use GNU make trick to avoid | |
15970 | shell limit. | |
15971 | ||
6344da6f AK |
15972 | 2002-04-16 Adam King <aking@dreammechanics.com> |
15973 | Tom Tromey <tromey@redhat.com> | |
15974 | ||
15975 | * java/io/natFileWin32.cc (performList): Return the correct array | |
15976 | type. Don't duplicate the creation of a File since it's already | |
15977 | done earlier in the method and the existing code would cause a | |
15978 | ArrayStoreException. Don't use fixed-size array. | |
15979 | (_access, _stat, attr, getCanonicalPath, performMkdir, | |
15980 | performRenameTo): Don't use fixed-size array. | |
15981 | (getCanonicalPath): Use throw, not _Jv_Throw. | |
54d9d34a | 15982 | |
902c431d DD |
15983 | 2002-04-15 DJ Delorie <dj@redhat.com> |
15984 | ||
15985 | * configure.in: Allow building in $srcdir. | |
15986 | * configure: Regenerated. | |
15987 | ||
8be46a7d MW |
15988 | 2002-04-14 Mark Wielaard <mark@klomp.org> |
15989 | ||
15990 | * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0. | |
15991 | * java/net/natSocketImpl.cc (close): Likewise. | |
15992 | ||
ad8849af MW |
15993 | 2002-04-14 Mark Wielaard <mark@klomp.org> |
15994 | ||
15995 | * gnu/gcj/protocol/http/Connection.java (usingProxy): return false. | |
15996 | ||
ddfb5e0b AK |
15997 | 2002-04-13 Adam King <aking@dreammechanics.com> |
15998 | ||
15999 | * java/lang/natDouble.cc (parseDouble): Allow a number to end with | |
16000 | the f/F/d/D modifiers. | |
16001 | ||
395cb211 AG |
16002 | 2002-04-12 Anthony Green <green@redhat.com> |
16003 | ||
16004 | * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar). | |
16005 | Create libgcj-@gcc_version@.jar instead of libgcj.jar. | |
16006 | * Makefile.in: Rebuilt. | |
16007 | * configure.in: Substitute gcc_version. | |
16008 | * configure: Rebuilt. | |
16009 | ||
605dc89b BM |
16010 | 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16011 | ||
16012 | * configure.host: Set can_unwind_signal on hosts which support it. | |
16013 | Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD. | |
16014 | * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ | |
16015 | exceptions and can_unwind_signal isn't set. | |
16016 | * configure: Rebuilt. | |
16017 | ||
c646bade TT |
16018 | 2002-04-11 Tom Tromey <tromey@redhat.com> |
16019 | ||
16020 | * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free. | |
16021 | ||
94ed0002 AK |
16022 | 2002-04-11 Adam King <aking@dreammechanics.com> |
16023 | Tom Tromey <tromey@redhat.com> | |
16024 | ||
16025 | * include/jvm.h (_Jv_ThrowBadArrayIndex, | |
16026 | _Jv_ThrowNullPointerException): Mark as noreturn. | |
16027 | * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked | |
16028 | and _Jv_free. Correctly invoke GetTempPath(). Indentation | |
16029 | fixes. | |
16030 | ||
880f8c16 TT |
16031 | 2002-04-10 Tom Tromey <tromey@redhat.com> |
16032 | ||
16033 | * Makefile.in: Rebuilt. | |
16034 | * Makefile.am (java/lang/Thread.h): Mark | |
16035 | _Jv_AttachCurrentThreadAsDaemon as friend. | |
16036 | * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare. | |
16037 | * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function. | |
16038 | * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New | |
16039 | function. | |
16040 | * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4. | |
16041 | * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4. | |
16042 | (_Jv_JNI_InvokeFunctions): Added | |
16043 | _Jv_JNI_AttachCurrentThreadAsDaemon. | |
16044 | (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4. | |
16045 | (JNI_GetDefaultJavaVMInitArgs): Likewise. | |
16046 | (JNI_CreateJavaVM): Likewise. | |
16047 | (_Jv_JNI_AttachCurrentThread): Likewise. | |
16048 | (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument. | |
16049 | (_Jv_JNI_AttachCurrentThreadAsDaemon): New method. | |
16050 | (_Jv_JNIFunctions): Initialize new fields. | |
16051 | (_Jv_JNI_NewDirectByteBuffer): New function. | |
16052 | (_Jv_JNI_GetDirectBufferAddress): Likewise. | |
16053 | (_Jv_JNI_GetDirectBufferCapacity): Likewise. | |
16054 | * include/jni.h (JNI_VERSION_1_4): New macro. | |
16055 | (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field. | |
16056 | (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method. | |
16057 | (JNINativeInterface::NewDirectByteBuffer): New field. | |
16058 | (JNINativeInterface::GetDirectBufferAddress): New field. | |
16059 | (JNINativeInterface::GetDirectBufferCapacity): New field. | |
16060 | (_Jv_JNIEnv::NewDirectByteBuffer): New method. | |
16061 | (_Jv_JNIEnv::GetDirectBufferAddress): New method. | |
16062 | (_Jv_JNIEnv::GetDirectBufferCapacity): New method. | |
16063 | ||
42aacdfb TT |
16064 | 2002-04-09 Tom Tromey <tromey@redhat.com> |
16065 | ||
16066 | * win32.cc (_Jv_platform_initProperties): Use GetTempPath. | |
16067 | ||
62afca26 AB |
16068 | 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it> |
16069 | ||
16070 | Fix for PR libgcj/6187: | |
16071 | * java/awt/geom/Point2D.java (distance): Call distanceSq, not | |
16072 | distance. | |
16073 | ||
ecc23375 MW |
16074 | 2002-04-07 Mark Wielaard <mark@klomp.org> |
16075 | ||
4977bab6 ZW |
16076 | * java/util/AbstractMap.java (putAll): Use entrySet size. |
16077 | (toString): Explicitly use getKey() and getValue(). | |
ecc23375 | 16078 | |
0dccd146 MW |
16079 | 2002-04-07 Mark Wielaard <mark@klomp.org> |
16080 | ||
16081 | * java/util/Hashtable.java (contains): Remove NullPointer check. | |
16082 | (containsValue): Add NullPointer check. | |
16083 | (remove): Always throw NullPointerException when key | |
16084 | is null. | |
16085 | ||
455cd615 AK |
16086 | 2002-04-07 Adam King <aking@dreammechanics.com> |
16087 | ||
16088 | * java/lang/natSystem.cc (init_properties): Call new function | |
16089 | _Jv_platform_initProperties. | |
54d9d34a AJ |
16090 | * win32.cc (_Jv_platform_initProperties): New function that adds Win32 |
16091 | support for the System properties os.name, os.arch, os.version, | |
455cd615 AK |
16092 | user.name, user.home, and user.dir. |
16093 | * include/posix.h, include/win32.h, posix.cc: New function | |
16094 | _Jv_platform_initProperties. | |
16095 | ||
e45a3a59 MW |
16096 | 2002-04-06 Mark Wielaard <mark@klomp.org> |
16097 | ||
16098 | * java/lang/Character,java (isDefined): getType() != UNASSIGNED. | |
16099 | ||
236fc6a0 MW |
16100 | 2002-04-06 Mark Wielaard <mark@klomp.org> |
16101 | ||
16102 | * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy | |
16103 | all of the remaining elements. | |
16104 | * java/util/Vector.java (addAll(int,Collection)): Likewise. | |
16105 | (removeRange): If toIndex == fromIndex do | |
16106 | nothing, if toIndex < fromIndex throw IndexOutIfBoundsException. | |
16107 | (removeAll): Always throw NullPointerException when collection is | |
16108 | null. | |
16109 | (retrainAll): Likewise. | |
16110 | ||
8e9603b0 MW |
16111 | 2002-04-05 Mark Wielaard <mark@klomp.org> |
16112 | ||
0dccd146 | 16113 | * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do |
8e9603b0 MW |
16114 | nothing, if toIndex < fromIndex throw IndexOutIfBoundsException. |
16115 | ||
9df22479 AM |
16116 | 2002-04-05 Adam Megacz <adam@xwt.org> |
16117 | ||
4977bab6 | 16118 | * exception.cc (abort): added static modifier |
9df22479 | 16119 | |
c7756779 AM |
16120 | 2002-04-04 Adam Megacz <adam@xwt.org> |
16121 | ||
16122 | * include/win32.h (_Jv_platform_close_on_exec): added inline | |
16123 | modifier. | |
16124 | ||
ef3d3c96 | 16125 | 2002-04-04 Loren J. Rittle <ljrittle@acm.org> |
c0904887 LR |
16126 | |
16127 | * configure.host: Add case statement to support generic port | |
16128 | properties. Add *-*-freebsd* section. | |
16129 | ||
f74761cd MW |
16130 | 2002-04-04 Mark Wielaard <mark@klomp.org> |
16131 | ||
16132 | * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode | |
16133 | test. | |
16134 | * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest, | |
16135 | FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests | |
16136 | that depend on awt code and BufferedByteOutputStream.interrupt. | |
16137 | ||
1d8f2fd8 BM |
16138 | 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16139 | ||
16140 | * java/util/Arrays.java (qsort): Fix off-by-one errors and use of | |
16141 | incorrect "hi" value when count > 40. | |
16142 | ||
2801df0e MW |
16143 | 2002-04-03 Mark Wielaard <mark@klomp.org> |
16144 | ||
16145 | * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix | |
16146 | ordering. | |
16147 | ||
c544921c TT |
16148 | 2002-04-02 Tom Tromey <tromey@redhat.com> |
16149 | ||
16150 | * java/lang/natClassLoader.cc (findClass): Compare against `3', | |
16151 | not `0'. | |
16152 | ||
36aadc29 MW |
16153 | 2002-04-02 Mark Wielaard <mark@klomp.org> |
16154 | ||
16155 | * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to | |
16156 | list of testsuite crashers. | |
16157 | ||
df88ca6f BM |
16158 | 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16159 | ||
16160 | * java/util/IdentityHashMap.java (put): Set new threshold correctly | |
16161 | when resizing table. | |
16162 | ||
29123a37 MW |
16163 | 2002-04-01 Mark Wielaard <mark@klomp.org> |
16164 | ||
4977bab6 ZW |
16165 | * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw |
16166 | NegativeArraySizeException | |
16167 | (clear(int)): Use sign extended shift. | |
16168 | (flip(int)): Likewise. | |
16169 | (get(int)): Likewise. | |
16170 | (nextClearBit(int)): Likewise. | |
16171 | (nextSetBit(int)): Likewise. | |
16172 | (set(int)): Likewise. | |
29123a37 | 16173 | |
55173836 MW |
16174 | 2002-04-01 Mark Wielaard <mark@klomp.org> |
16175 | ||
16176 | * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests | |
16177 | that can be compiled now and add testsuite crashers to ignore list. | |
16178 | ||
b56bc85a AO |
16179 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
16180 | ||
d05972d2 AO |
16181 | * libgcj.spec.in, libgcj-test.spec.in: Revert for now. |
16182 | ||
b56bc85a AO |
16183 | * libgcj.spec.in: Override libgcc, not lib. |
16184 | * libgcj-test.spec.in: Likewise. | |
16185 | ||
6676c77f TT |
16186 | 2002-03-29 Tom Tromey <tromey@redhat.com> |
16187 | ||
16188 | * java/net/natPlainDatagramSocketImpl.cc (close): New function. | |
16189 | * java/net/natPlainSocketImpl.cc (close): Indentation fix. | |
16190 | ||
47d0866c JS |
16191 | 2002-03-27 Jeff Sturm <jsturm@one-point.com> |
16192 | ||
16193 | * java/net/PlainDatagramSocketImpl.java | |
16194 | (close): Use native implementation. | |
16195 | (finalize): New method. | |
16196 | ||
16197 | * java/net/PlainSocketImpl.java (finalize): New method. | |
16198 | ||
16199 | * java/net/natPlainDatagramSocketImpl.cc | |
16200 | (java/io/FileDescriptor.h): Don't include. | |
16201 | (close): Implement method here. | |
16202 | (create): Don't assign fd. | |
16203 | ||
16204 | * java/net/natPlainSocketImpl.cc | |
16205 | (java/io/FileDescriptor.h): Don't include. | |
16206 | (create): Don't assign fd. | |
16207 | (accept): Likewise. | |
16208 | (close): Synchronize. | |
16209 | ||
6ad46397 RH |
16210 | 2002-03-27 Richard Henderson <rth@redhat.com> |
16211 | ||
16212 | * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy. | |
16213 | ||
3cb20545 AH |
16214 | 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com> |
16215 | ||
4977bab6 ZW |
16216 | * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64. |
16217 | (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction | |
16218 | instead of syscall on IA-64. | |
16219 | Add FIXME comment. | |
3cb20545 | 16220 | |
5cb27a46 AG |
16221 | 2002-03-27 Anthony Green <green@redhat.com> |
16222 | ||
16223 | * libgcj.spec.in: Add CHECKREFSPEC. | |
16224 | * configure.in: Ditto. | |
16225 | * configure.host: Ditto. Check references for xscale-elf. | |
16226 | * configure: Rebuilt. | |
16227 | ||
d6220b3a HB |
16228 | 2002-03-26 Hans Boehm <Hans_Boehm@hp.com> |
16229 | ||
16230 | * include/dwarf2-signal.h: Temporarily back out last change. | |
16231 | ||
b4a19310 LR |
16232 | 2002-03-26 Loren J. Rittle <ljrittle@acm.org> |
16233 | ||
16234 | * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha. | |
16235 | ||
90b2d2af AH |
16236 | 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com> |
16237 | ||
16238 | * configure.in, configure: enable dwarf2-exception-style | |
16239 | exception handling on IA-64. | |
16240 | * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64. | |
16241 | (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall. | |
16242 | Add FIXME comment. | |
54d9d34a | 16243 | |
5c009209 TT |
16244 | 2002-03-25 Tom Tromey <tromey@redhat.com> |
16245 | ||
16246 | * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS. | |
16247 | (jv_convert_LDFLAGS): Likewise. | |
16248 | (gij_LDFLAGS): Likewise. | |
16249 | (rmic_LDFLAGS): Likewise. | |
16250 | (rmiregistry_LDFLAGS): Likewise. | |
16251 | * configure.in (THREADLDFLAGS): New subst; set correctly for | |
16252 | *BSD. | |
16253 | ||
f695acf6 TT |
16254 | 2002-03-25 Tom Tromey <tromey@redhat.com> |
16255 | ||
16256 | For PR libgcj/5303: | |
16257 | * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help | |
16258 | and --version. | |
16259 | (help): New method. | |
16260 | (version): Likewise. | |
16261 | * gnu/gcj/convert/Convert.java (version): Removed extraneous | |
16262 | "GNU". | |
16263 | * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous | |
16264 | "GNU". | |
16265 | ||
9b95cee6 TT |
16266 | 2002-03-25 Tom Tromey <tromey@redhat.com> |
16267 | ||
16268 | * java/awt/Component.java (processEvent): Check ComponentEvent | |
16269 | after KeyEvent. | |
16270 | ||
e89268b6 BM |
16271 | 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16272 | ||
16273 | * java/io/PushbackReader.java: Reformat. | |
16274 | ||
acf9549e BM |
16275 | * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and |
16276 | calculate correct number of bytes skipped. | |
54d9d34a | 16277 | |
8cf29a47 | 16278 | Based on patch from Intel's ORP team: |
54d9d34a | 16279 | * java/io/PushbackInputStream.java (available): Calculate correct |
8cf29a47 BM |
16280 | number of bytes in buffer. |
16281 | (read): Remove redundant bound check. Return bytes from both the | |
16282 | buffer and the stream. | |
acf9549e | 16283 | |
64165b30 TT |
16284 | 2002-03-24 Tom Tromey <tromey@redhat.com> |
16285 | ||
e1a0d743 TT |
16286 | * java/awt/TextComponent.java (TextComponent): Editable by |
16287 | default. | |
16288 | ||
64165b30 TT |
16289 | * java/awt/MenuItem.java (eventMask): No longer private. |
16290 | * java/awt/Button.java (dispatchEventImpl): Only dispatch to | |
16291 | superclass if we didn't handle event. | |
16292 | * java/awt/Checkbox.java (dispatchEventImpl): New method. | |
16293 | * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method. | |
16294 | * java/awt/Choice.java (dispatchEventImpl): New method. | |
16295 | * java/awt/List.java (dispatchEventImpl): New method. | |
16296 | * java/awt/Scrollbar.java (dispatchEventImpl): New method. | |
16297 | * java/awt/TextComponent.java (dispatchEventImpl): New method. | |
16298 | * java/awt/TextField.java (dispatchEventImpl): New method. | |
16299 | ||
c9be3825 MW |
16300 | 2002-03-24 Eric Blake <ebb9@email.byu.edu> |
16301 | ||
16302 | * java/beans/IntrospectionException.java: Update to 1.4. | |
16303 | * java/beans/PropertyVetoException.java: Ditto. | |
16304 | ||
16305 | 2002-03-24 Eric Blake <ebb9@email.byu.edu> | |
16306 | ||
16307 | * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use | |
16308 | Arrays.equals instead of ArrayHelper.equalsArray. | |
16309 | ||
16310 | 2002-03-24 C. Brian Jones <cbj@gnu.org> | |
16311 | ||
16312 | * java/beans/Introspector.java: added new static final fields | |
16313 | introduced in 1.2, lots of other updates remain to be done | |
16314 | ||
16315 | 2002-03-24 C. Brian Jones <cbj@gnu.org> | |
16316 | ||
16317 | * java/beans/Introspector.java: reformatting | |
16318 | ||
16319 | 2002-03-24 C. Brian Jones <cbj@gnu.org> | |
16320 | ||
16321 | * java/beans/Introspector.java: default beanInfoSearchPath will | |
16322 | not include sun.beans.infos given we provide no such package and | |
16323 | the API doesn't really require it; gnu.java.beans.info is the | |
16324 | default. | |
16325 | ||
16326 | 2002-03-24 Mark Wielaard <mark@klomp.org> | |
16327 | ||
16328 | Thanks to Orp developers | |
16329 | * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)): | |
16330 | switch TRUE and FALSE return values. | |
16331 | ||
f5c5a4e9 TT |
16332 | 2002-03-23 Tom Tromey <tromey@redhat.com> |
16333 | ||
16334 | * include/name-finder.h (_Jv_name_finder::myclose): New method. | |
16335 | * name-finder.cc (_Jv_name_finder): Initialize file descriptors. | |
16336 | ||
9817ad77 MS |
16337 | 2002-03-23 Michael Smith <msmith@spinnakernet.com> |
16338 | ||
16339 | * java/util/GregorianCalendar.java (minimums, maximums): Correct | |
16340 | MONTH entry. Fixes PR libgcj/6045. | |
16341 | ||
a641514d JS |
16342 | 2002-03-23 Jeff Sturm <jsturm@one-point.com> |
16343 | ||
16344 | * java/nat/natPlainSocketImpl.cc (write): Abort loop on error. | |
16345 | ||
1de21d0e BM |
16346 | 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16347 | ||
16348 | * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, | |
16349 | not release_set. | |
16350 | * sysdep/powerpc/locks.h (write_barrier): New function. | |
16351 | * sysdep/i386/locks.h (write_barrier): New function. | |
16352 | ||
c6ef94c5 MK |
16353 | 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com> |
16354 | ||
1de21d0e | 16355 | * include/jni.h Use correct C comments. |
c6ef94c5 | 16356 | |
9d5e46be TT |
16357 | 2002-03-18 Tom Tromey <tromey@redhat.com> |
16358 | ||
16359 | * include/jni.h (JNIIMPORT): New macro. | |
16360 | (JNIEXPORT): Likewise. | |
16361 | (JNICALL): Likewise. | |
16362 | ||
16363 | 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
16364 | ||
16365 | * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris | |
16366 | systems. | |
16367 | ||
71c6877d AH |
16368 | 2002-03-18 Andrew Haley <aph@cambridge.redhat.com> |
16369 | ||
16370 | * include/i386-signal.h (old_i386_kernel_sigaction): New. | |
16371 | INIT_SEGV: Use old_i386_kernel_sigaction. | |
16372 | INIT_FP: Likewise. | |
16373 | ||
1b5a2139 BM |
16374 | 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16375 | ||
16376 | * java/lang/natSystem.cc (init_properties): Update VM version | |
16377 | properties. | |
16378 | * configure.in: Set GCJVERSION. | |
16379 | * acconfig.h: Add GCJVERSION. | |
16380 | * configure: Rebuilt. | |
16381 | * include/config.h.in: Rebuilt. | |
16382 | ||
a46ccd1b AG |
16383 | 2002-03-17 Anthony Green <green@redhat.com> |
16384 | ||
16385 | * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib). | |
16386 | ||
ce3b24a7 BM |
16387 | 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16388 | ||
16389 | Build a single libgcj.so, without separate gc and zlib libraries. | |
16390 | * configure.in: Use convenience libraries for boehm-gc and zlib. Set | |
16391 | SYS_ZLIBS if system zlib is used. | |
16392 | * configure: Rebuilt. | |
16393 | * Makefile.am: Use boehm-gc and zlib convenience libraries. | |
16394 | * Makefile.in: Rebuilt. | |
16395 | * libtool-version: Increment .so version number. | |
16396 | ||
f9ad9ecf BM |
16397 | * Makefile.am: Escape quotes in echo. |
16398 | * Makefile.in: Rebuilt. | |
16399 | ||
3bb65672 BM |
16400 | 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16401 | ||
16402 | * Makefile.am: Use empty -classpath flag in addition to -bootclasspath. | |
16403 | * Makefile.in: Rebuilt. | |
16404 | ||
2d933a0b AG |
16405 | 2002-03-15 Anthony Green <green@redhat.com> |
16406 | ||
16407 | * configure.host (FILE): New macro for specifing File | |
16408 | implementation. | |
16409 | * configure: Rebuilt. | |
16410 | * configure.in: Use FILE. Define HAVE_TIME for newlib targets. | |
16411 | ||
201d203b AO |
16412 | 2002-03-15 Alexandre Oliva <aoliva@redhat.com> |
16413 | ||
16414 | * Makefile.am (jv_convert_LDADD): Don't list libraries that are | |
16415 | already implicitly brought in from libgcj.la. | |
16416 | (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise. | |
16417 | * Makefile.in: Rebuilt. | |
16418 | ||
89a1ba6d EB |
16419 | 2002-03-15 Eric Blake <ebb9@email.byu.edu> |
16420 | ||
16421 | * THANKS: Fix punctuation, alphabetization. | |
16422 | ||
60f32585 TT |
16423 | 2002-03-15 Tom Tromey <tromey@redhat.com> |
16424 | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
54d9d34a | 16425 | |
60f32585 TT |
16426 | Fix for PR libgcj/5944. |
16427 | * gnu/gcj/io/shs.h: Define uint8_t and uint32_t. | |
16428 | ||
e2ea015c AG |
16429 | 2002-03-15 Anthony Green <green@redhat.com> |
16430 | ||
16431 | * configure.in (tool_include_dir): Define. | |
16432 | * configure: Rebuilt. | |
16433 | * gcj/Makefile.am: Install libgcj-config.h relative to | |
16434 | tool_include_dir. | |
16435 | * gcj/Makefile: Rebuilt. | |
16436 | * gcj/libgcj-config.h: Add warning comment. | |
16437 | ||
46f56f54 AT |
16438 | 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch> |
16439 | ||
16440 | * configure.host (powerpc*-darwin*): Enable interpreter. | |
16441 | ||
60678e47 BM |
16442 | 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16443 | ||
16444 | * include/posix.h: Add multiple include header protection. | |
16445 | * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>. | |
16446 | ||
72da3c3e AM |
16447 | 2002-03-10 Adam Megacz <adam@xwt.org> |
16448 | ||
4977bab6 | 16449 | * java/net/natPlainSocketImpl.cc: Added #include <platform.h>. |
54d9d34a | 16450 | |
0c1fcb02 TT |
16451 | 2002-03-10 Tom Tromey <tromey@redhat.com> |
16452 | ||
22d5af9a TT |
16453 | * java/awt/GridLayout.java (layoutContainer): Handle case where |
16454 | there are no items in container. | |
16455 | ||
0c1fcb02 TT |
16456 | * java/lang/Win32Process.java: Added comment. |
16457 | * include/posix.h (_Jv_platform_close_on_exec): New function. | |
16458 | Include fcntl.h. | |
16459 | * include/win32.h (_Jv_platform_close_on_exec): New function. | |
16460 | * java/net/natPlainSocketImpl.cc (create): Set close-on-exec | |
16461 | flag. | |
16462 | (accept): Likewise. | |
16463 | * java/net/natPlainDatagramSocketImpl.cc (create): Set | |
16464 | close-on-exec flag. | |
16465 | * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec | |
16466 | flag. | |
16467 | ||
621fba99 TT |
16468 | 2002-03-09 Tom Tromey <tromey@redhat.com> |
16469 | ||
16470 | * verify.cc (state::NO_STACK): New constant. | |
16471 | (state::is_unmerged_ret_state): Handle case where stacktop is | |
16472 | NO_STACK. | |
16473 | (state::merge): Handle NO_STACK merges. | |
16474 | (handle_jsr_insn): Invalidate PC, and use special NO_STACK state | |
16475 | for instruction following jsr. | |
16476 | (stacktop, stackdepth): Removed unused variables. | |
16477 | (pop_jump): Ignore case where all remaining states are skipped. | |
16478 | ||
2c59df99 BM |
16479 | 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16480 | ||
16481 | * java/awt/ImageMediaEntry: Removed. | |
16482 | * java/awt/MediaEntry: Removed. | |
16483 | ||
45597167 BM |
16484 | 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16485 | ||
16486 | Hashtable synchronization for PowerPC. | |
16487 | * configure.in: Define SLOW_PTHREAD_SELF if configure.host set | |
16488 | slow_pthread_self. Set up symlink for sysdeps directory. | |
16489 | * configure: Rebuild. | |
16490 | * configure.host: Document more shell variables. Set sysdeps_dir | |
54d9d34a AJ |
16491 | for most platforms. Set slow_pthread_self for i686. Set |
16492 | enable_hash_synchronization_default and slow_pthread_self for PowerPC. | |
45597167 BM |
16493 | * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so |
16494 | that memory barrier is emitted where required. | |
16495 | * prims.cc: 64-bit align static primitive class instances. | |
16496 | * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add | |
16497 | read_barrier() to enforce ordering of reads. | |
16498 | * sysdep/powerpc/locks.h: New file. Implementation of synchronization | |
16499 | primitives for PowerPC. | |
54d9d34a | 16500 | * sysdep/i386/locks.h: New file. Synchronization primitives for i386 |
45597167 BM |
16501 | moved from natObject.cc. |
16502 | * sysdep/alpha/locks.h: Likewise. | |
16503 | * sysdep/ia64/locks.h: Likewise. | |
16504 | * sysdep/generic/locks.h: Likewise. | |
16505 | * java/lang/natObject.cc: Move thread synchronization primitives to | |
16506 | system-dependent headers. | |
16507 | ||
828c1ddc AM |
16508 | 2002-03-09 Adam Megacz <adam@xwt.org> |
16509 | ||
4977bab6 ZW |
16510 | * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero |
16511 | bytes read and no failure code returned. | |
828c1ddc | 16512 | |
9268f1c0 AM |
16513 | 2002-03-09 Adam Megacz <adam@xwt.org> |
16514 | ||
4977bab6 ZW |
16515 | * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake |
16516 | definitions to simulate -mthreads. | |
54d9d34a | 16517 | |
bb0774f3 AM |
16518 | 2002-03-09 Adam Megacz <adam@xwt.org> |
16519 | ||
4977bab6 | 16520 | * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to |
bb0774f3 AM |
16521 | avoid precision loss. |
16522 | ||
c314ee35 PB |
16523 | 2002-03-09 Per Bothner <per@bothner.com> |
16524 | ||
16525 | * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0. | |
16526 | * gnu/gcj/xlib/XImage.java: Likewise. | |
16527 | * gnu/gcj/xlib/XColor.java: Likewise. | |
16528 | ||
abfabb98 AM |
16529 | 2002-03-09 Adam Megacz <adam@xwt.org> |
16530 | ||
4977bab6 ZW |
16531 | * java/lang/Win32Process.java (ConcreteProcess): Now throws an |
16532 | IOException so that Throwable.printStackTrace fails correctly. | |
abfabb98 | 16533 | |
0bf93ed4 AM |
16534 | 2002-03-08 Adam Megacz <adam@xwt.org> |
16535 | ||
4977bab6 ZW |
16536 | * java/net/natPlainSocketImpl.cc (read, write, close): Formatting |
16537 | fixed. | |
0bf93ed4 | 16538 | |
f1148658 BM |
16539 | 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16540 | ||
16541 | * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get | |
16542 | truncated to int. | |
16543 | ||
de3adb3d TT |
16544 | 2002-03-08 Tom Tromey <tromey@redhat.com> |
16545 | ||
16546 | * include/jni.h: Include stdio.h. | |
16547 | ||
7258310a TT |
16548 | 2002-03-08 Tom Tromey <tromey@redhat.com> |
16549 | ||
16550 | * posix.cc (internal_gettimeofday): New function. | |
16551 | (_Jv_select): Use it. | |
16552 | ||
4e002027 AM |
16553 | 2002-03-07 Adam Megacz <adam@xwt.org> |
16554 | ||
4977bab6 ZW |
16555 | * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to |
16556 | WIN32, and added thunks for read(), write(), and close(). | |
16557 | * java/net/natPlainSocketImpl.cc (accept, read, read): | |
16558 | Disabled timeouts on WIN32 pending discussion. | |
4e002027 | 16559 | |
8eeda6e0 AM |
16560 | 2002-03-07 Adam Megacz <adam@xwt.org> |
16561 | ||
4977bab6 ZW |
16562 | * win32.cc (_Jv_platform_gettimeofday): Now takes no args, |
16563 | returns jlong. Added implementation | |
16564 | * posix.cc (_Jv_platform_gettimeofday): Now takes no args, | |
16565 | returns jlong. | |
16566 | * win32.h (_Jv_platform_gettimeofday): Now takes no args, | |
16567 | returns jlong. | |
16568 | * posix.h (_Jv_platform_gettimeofday): Now takes no args, | |
16569 | returns jlong. | |
16570 | * java/lang/natSystem.cc (currentTimeMillis): Now uses updated | |
16571 | _Jv_platform_gettimeofday signature. | |
54d9d34a | 16572 | |
a72f7227 BM |
16573 | 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16574 | ||
16575 | * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed. | |
16576 | (read): Call recv() directly, not _Jv_recv(). | |
16577 | ||
fd7852b3 TT |
16578 | 2002-03-06 Tom Tromey <tromey@redhat.com> |
16579 | ||
51532731 TT |
16580 | * java/io/natFileDescriptorEcos.cc (init): Don't use |
16581 | GetStdHandle. | |
16582 | * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD | |
16583 | is negative. | |
16584 | (init): Don't use GetStdHandle. | |
16585 | ||
fd7852b3 TT |
16586 | * include/config.h.in: Rebuilt. |
16587 | * configure: Rebuilt. | |
16588 | * Makefile.in: Rebuilt. | |
16589 | ||
348c9efc AM |
16590 | 2002-03-06 Adam Megacz <adam@xwt.org> |
16591 | ||
4977bab6 ZW |
16592 | * java/io/FileDescriptor.java: Initialize in/out/err in init(). |
16593 | * java/io/natFileDescriptorWin32.cc (init()): Added function. | |
16594 | * java/io/natFileDescriptorPosix.cc (init()): Added function. | |
16595 | * java/io/natFileDescriptorEcos.cc (init()): Added function. | |
348c9efc | 16596 | |
380ff1ef | 16597 | 2002-03-06 Eric Blake <ebb9@email.byu.edu> |
1fa78272 EB |
16598 | |
16599 | * scripts/unicode-decomp.pl: Move from chartables.pl, and remove | |
16600 | the code for generating include/java-chartables.h. | |
16601 | * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and | |
16602 | merge with Classpath. | |
16603 | * scripts/unicode-muncher.pl: Copy from Classpath. | |
16604 | * scritps/MakeCharTables.java: New file. | |
16605 | * gnu/gcj/convert/Blocks-3.txt: New file. | |
16606 | * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file. | |
16607 | * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file. | |
16608 | * gnu/java/lang/CharData.java: Copy from Classpath. | |
16609 | * Makefile.am (ordinary_java_source_files): Add | |
16610 | gnu/java/lang/CharData.java. | |
16611 | * configure.in: Remove --enable-fast-character option. | |
16612 | * java/lang/Character.java: Merge algorithms and Javadoc with | |
16613 | Classpath. | |
16614 | * java/lang/natCharacter.cc: Implement Unicode lookup table more | |
16615 | efficiently. | |
16616 | * include/java-chardecomp.h: Regenerate. | |
16617 | * include/java-chartables.h: Regenerate. | |
16618 | ||
f095bbfc BM |
16619 | 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16620 | ||
16621 | * java/awt/MediaTracker.java: Implemented. | |
16622 | * Makefile.am: Add MediaTracker. | |
16623 | * Makefile.in: Rebuilt. | |
16624 | ||
6901a009 TT |
16625 | 2002-03-05 Tom Tromey <tromey@redhat.com> |
16626 | ||
355526af TT |
16627 | * java/lang/natPosixProcess.cc (fail): Removed. |
16628 | (startProcess): Simplified error-handling. Preserve | |
16629 | LD_LIBRARY_PATH across exec. | |
16630 | ||
6901a009 TT |
16631 | * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not |
16632 | AbstractMethodError. | |
16633 | ||
bc24faf8 BM |
16634 | 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16635 | ||
16636 | * Makefile.am: Use -bootclasspath, not -CLASSPATH. | |
16637 | * Makefile.in: Rebuilt. | |
16638 | ||
de246753 MW |
16639 | 2002-03-03 Mark Wielaard <mark@klomp.org> |
16640 | ||
16641 | * java/util/Timer (TaskQueue.stop): set elements to zero. | |
16642 | ||
562ff163 AG |
16643 | 2002-02-28 Anthony Green <green@redhat.com> |
16644 | ||
16645 | * java/lang/reflect/natMethod.cc (result): Add void* element. | |
16646 | (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move | |
16647 | constructor test. | |
16648 | ||
d6275471 AM |
16649 | 2002-02-27 Adam Megacz <adam@xwt.org> |
16650 | ||
16651 | * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added | |
16652 | '#undef STRICT'. | |
16653 | ||
fc04b455 TT |
16654 | 2002-02-26 Tom Tromey <tromey@redhat.com> |
16655 | ||
16656 | * java/lang/natSystem.cc (init_properties): Use __VERSION__. | |
16657 | * gij.cc (version): Use __VERSION__. | |
16658 | * include/config.h.in: Rebuilt. | |
16659 | * acconfig.h (GCJVERSION): Removed. | |
16660 | * configure: Rebuilt. | |
16661 | * configure.in (GCJVERSION): Removed. | |
16662 | ||
7d2c4fe1 AS |
16663 | 2002-02-26 Andreas Schwab <schwab@suse.de> |
16664 | ||
16665 | * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of | |
16666 | glibcpp_CXX, since libjava uses even another CXX. | |
16667 | * aclocal.m4, configure: Regenerated. | |
16668 | ||
7fe4a89a TT |
16669 | 2002-02-26 Tom Tromey <tromey@redhat.com> |
16670 | ||
16671 | * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not | |
16672 | `1'. | |
16673 | ||
f36bcb2d BM |
16674 | 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16675 | ||
16676 | * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes | |
16677 | dependency tracking for .java files. | |
16678 | * Makefile.in: Rebuilt. | |
16679 | ||
bbe7f269 AM |
16680 | 2002-02-24 Adam Megacz <adam@xwt.org> |
16681 | ||
16682 | * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make' | |
16683 | typo. Sorry. | |
16684 | ||
77da08b0 AM |
16685 | 2002-02-24 Adam Megacz <adam@xwt.org> |
16686 | ||
16687 | * java/net/natPlainDatagramSocketImpl.cc: Updated #includes | |
16688 | for Win32, changed #ifdefs to check WIN32 instead of the | |
16689 | (now-obsolete) USE_WINSOCK, and removed support for socket | |
16690 | timeouts on Win32 pending further discussion. | |
16691 | ||
2e8f5b2d AM |
16692 | 2002-02-24 Adam Megacz <adam@xwt.org> |
16693 | ||
16694 | * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new | |
16695 | * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of | |
16696 | delete | |
16697 | ||
f5d8c660 AM |
16698 | 2002-02-24 Adam Megacz <adam@xwt.org> |
16699 | ||
16700 | * java/lang/Win32Process.java: Created a dummy class to allow | |
16701 | build process to run to completion. | |
16702 | ||
a7261b2d JS |
16703 | 2002-02-24 Jeff Sturm <jsturm@one-point.com> |
16704 | ||
16705 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): | |
16706 | Define ffi_result union for ffi_call result. Cast | |
16707 | ffi_result members to jvalue. | |
54d9d34a | 16708 | |
d6e671fa AO |
16709 | 2002-02-23 Alexandre Oliva <aoliva@redhat.com> |
16710 | ||
16711 | * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt. | |
16712 | * testsuite/Makefile.in: Likewise. | |
16713 | ||
9abe2e29 PB |
16714 | 2002-02-20 Per Bothner <per@bothner.com> |
16715 | ||
16716 | * java/net/URL.java (getPath): New JDK 1.3 method. | |
16717 | ||
16718 | * java/net/URLStreamHandler.java (parseURL): | |
16719 | It is wrong to prepend '/' to the file part of a relative url. | |
16720 | ||
16721 | * java/net/URLStreamHandler.java (parseURL): | |
16722 | Minor optizations - append '/' rather than "/". | |
16723 | ||
16724 | * java/net/URLStreamHandler.java (parseURL): | |
16725 | Don't canonicalize "xx/.." or "./" URLs - JDK doesn't. | |
16726 | We probably should canonicalize for a context-relative url, though. | |
16727 | * java/net/URL.java (sameFile): Delegate to URLStreamHandler. | |
16728 | * java/net/URLStreamHandler.java (canonicalizeFilename): New helper. | |
16729 | (sameFile): New method. Uses canonicalizeFilename. | |
16730 | ||
1a77d3ba TT |
16731 | 2002-02-22 Tom Tromey <tromey@redhat.com> |
16732 | ||
16733 | * java/lang/natSystem.cc (init_properties): Include the `Inc.' in | |
16734 | java.vendor and java.vm.vendor. | |
16735 | * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most | |
16736 | recent copyright date. | |
16737 | * gnu/gcj/convert/Convert.java (version): Print `Inc'. | |
16738 | * gij.cc (version): Print `Inc'. | |
16739 | ||
eae63c0a AO |
16740 | 2002-02-22 Alexandre Oliva <aoliva@redhat.com> |
16741 | ||
16742 | * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX. | |
16743 | * aclocal.m4, configure: Rebuilt. | |
16744 | ||
0bf18815 PB |
16745 | 2002-02-20 Per Bothner <per@bothner.com> |
16746 | ||
16747 | * gnu/gcj/protocol/file/Connection.java (conect): Open the input | |
16748 | and/or output streams immediately here, instead of using File.exists. | |
16749 | (inputStream, outputStream): New fields to save open streams. | |
16750 | (getInputStream, getOutputStream): Use already-opened streams. | |
16751 | ||
a37049c1 AO |
16752 | 2002-02-22 Alexandre Oliva <aoliva@redhat.com> |
16753 | ||
16754 | * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3. | |
16755 | Use it. | |
16756 | * Makefile.am (LIBLINK): Use CXX (and its tag) for linking. | |
16757 | * aclocal.m4, configure, Makefile.in: Rebuilt. | |
16758 | ||
e4e35417 TT |
16759 | 2002-02-19 Tom Tromey <tromey@redhat.com> |
16760 | ||
16761 | Fix for PR libgcj/5696: | |
16762 | * verify.cc (is_assignable_from_slow): Never call | |
16763 | _Jv_IsAssignableFrom. | |
16764 | (verify_instructions_0): Added new debug statement. | |
16765 | (state::print): Print information about whether local has | |
16766 | changed. | |
16767 | (state::merge): Don't call note_variable when merging locals. | |
16768 | (state::set_exception): Removed old FIXME comment. | |
16769 | ||
95407a28 BM |
16770 | 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16771 | ||
16772 | * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to | |
16773 | enable SO_BROADCAST. | |
16774 | ||
21fe5f6a JM |
16775 | 2002-02-18 Jason Merrill <jason@redhat.com> |
16776 | ||
16777 | * name-finder.cc (toHex): Use word mode, not long long. | |
16778 | ||
16779 | * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning. | |
16780 | ||
ef9c7b8e TT |
16781 | 2002-02-15 Tom Tromey <tromey@redhat.com> |
16782 | ||
16783 | Fix for PR libgcj/5695: | |
16784 | * verify.cc (is_assignable_from_slow): Check to see if target is | |
16785 | an Object before checking to see if source is an interface. | |
16786 | (verify_instructions_0) [op_invokeinterface]: Handle case where | |
16787 | we're making an interface call on Object. | |
16788 | ||
15b28697 BM |
16789 | 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16790 | ||
16791 | * Makefile.in: Rebuilt with Eric's change below. | |
16792 | ||
16793 | * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat), | |
16794 | round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)): | |
16795 | Removed functions which are now implemented in Math.java. | |
16796 | ||
2f999d0f EB |
16797 | 2002-02-14 Eric Blake <ebb9@email.byu.edu> |
16798 | ||
16799 | * gcj/javaprims.h (java::lang): Add java::lang::StrictMath. | |
16800 | * Makefile.am (core_java_source_files): Add | |
16801 | java/lang/StrictMath.java. | |
16802 | * java/lang/Math.java: Merge with Classpath. | |
16803 | * java/lang/StrictMath.java: New file - merge with Classpath. | |
16804 | ||
89428698 MW |
16805 | 2002-02-14 Mark Wielaard <mark@klomp.org> |
16806 | ||
16807 | * java/math/BigInteger.java: import gnu.java.math.MPN not the whole | |
16808 | package as a workaround for gcj 3.0.x | |
16809 | ||
16810 | 2002-02-14 Mark Wielaard <mark@klomp.org> | |
16811 | ||
16812 | * java/security/BasicPermission.java: extends with fully qualified | |
16813 | classname as workaround for gcj 3.0.4. | |
16814 | ||
16815 | 2002-02-14 Eric Blake <ebb9@email.byu.edu> | |
16816 | ||
16817 | * java/net/DatagramSocketImpl.java (setOption, getOption): Work | |
16818 | around gcj bug of wrong emitted qualifier for inherited method. | |
16819 | * java/net/SocketImpl.java (setOption, getOption): Ditto. | |
16820 | * java/util/WeakHashMap.java (WeakEntrySet): Add non-private | |
16821 | constructor to reduce amount of emitted bytecode. While this | |
16822 | happens to work around a jikes 1.15 bug, it is still a useful | |
16823 | patch even for correct compilers. | |
16824 | * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto. | |
16825 | * gnu/java/rmi/server/UnicastRemoteCall.java | |
16826 | (DummyObjectOutputStream, DummyObjectInputStream): Ditto. | |
16827 | ||
16828 | 2002-02-14 Eric Blake <ebb9@email.byu.edu> | |
16829 | ||
16830 | * java/net/DatagramSocketImpl.java: Reformat (no code changes). | |
16831 | * java/net/SocketImpl.java: Ditto. | |
16832 | * java/rmi/server/RMIClassLoader.java: Ditto. | |
16833 | * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto. | |
16834 | ||
16835 | 2002-02-14 Mark Wielaard <mark@klomp.org> | |
16836 | ||
16837 | Thanks to Takashi Okamoto | |
16838 | * java/util/Arrays.java (ArrayList.indexOf()): this.equals(). | |
16839 | * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise. | |
16840 | * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get(). | |
16841 | ||
30fbb95c TS |
16842 | 2002-02-13 Todd Stock <toddastock@yahoo.com> |
16843 | ||
16844 | Fix for PR libgcj/5670: | |
16845 | * verify.cc (is_assignable_from_slow): If `source' is interface, | |
16846 | recursively look for merge with `target'. | |
16847 | ||
aeb4ed46 MK |
16848 | 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com> |
16849 | ||
16850 | * include/jni.h: Fix typo. | |
16851 | ||
c66b9fd9 MK |
16852 | 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com> |
16853 | ||
16854 | * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned | |
16855 | correctly. | |
16856 | ||
1eca751e TS |
16857 | 2002-02-13 Todd Stock <toddastock@yahoo.com> |
16858 | ||
16859 | Fix for PR libgcj/5671: | |
16860 | * verify.cc (state::merge): Handle case where we're merging | |
16861 | against an interface. | |
16862 | ||
cf3c6c99 TT |
16863 | 2002-02-12 Tom Tromey <tromey@redhat.com> |
16864 | ||
16865 | * exception.cc (std::abort): Mark as noreturn. | |
16866 | ||
26e9664c AM |
16867 | 2002-02-12 Adam Megacz <adam@xwt.org> |
16868 | ||
4977bab6 | 16869 | * java/lang/Win32Process.java: Filled in a placeholder |
26e9664c AM |
16870 | implementation so Win32 will build. |
16871 | ||
8a434a36 AM |
16872 | 2002-02-12 Adam Megacz <adam@xwt.org> |
16873 | ||
4977bab6 | 16874 | * java/io/natFilePosix.cc: Copied this from natFile.cc. |
8a434a36 AM |
16875 | * java/io/natFile.cc: Removed from repository. |
16876 | * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}. | |
16877 | ||
1febeb40 AM |
16878 | 2002-02-12 Adam Megacz <adam@xwt.org> |
16879 | ||
16880 | * win32.cc: Added two #includes to make win32.cc compile. | |
16881 | ||
88c38cc1 BM |
16882 | 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16883 | ||
16884 | * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused | |
16885 | declarations. | |
54d9d34a | 16886 | (_Jv_InitGC): Don't bother locking, as this is always called from a |
88c38cc1 BM |
16887 | single-thread. Turn off GC_all_interior_pointers. Remove dead code. |
16888 | ||
b32d2321 AM |
16889 | 2002-02-11 Adam Megacz <adam@xwt.org> |
16890 | ||
16891 | * include/win32.h: Added _Jv_platform_gettimeofday. | |
16892 | * win32.cc (_Jv_platform_gettimeofday): Added dummy function. | |
16893 | ||
30529b03 AM |
16894 | 2002-02-11 Adam Megacz <adam@xwt.org> |
16895 | ||
16896 | * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc: | |
16897 | Added #undef STRICT to make windows.h and | |
16898 | java/lang/reflect/Modifier.h cooperate. | |
16899 | ||
27fa520d AM |
16900 | 2002-02-11 Adam Megacz <adam@xwt.org> |
16901 | ||
16902 | * java/io/natFileWin32.cc: Created a placeholder class with lots | |
16903 | of FIXMEs. | |
16904 | ||
1e41e843 AM |
16905 | 2002-02-11 Adam Megacz <adam@xwt.org> |
16906 | ||
16907 | * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed | |
16908 | std::abort() to simply abort(). Also added "fake" std::abort() so | |
16909 | we can #include unwind-pe.h without having to link against | |
16910 | libstdc++-v3. | |
16911 | ||
1347adff AT |
16912 | 2002-02-10 Andreas Tobler <toa@pop.agri.ch> |
16913 | ||
16914 | * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI. | |
16915 | ||
30d28794 TT |
16916 | 2002-02-08 Tom Tromey <tromey@redhat.com> |
16917 | ||
16918 | * interpret.cc (convert): New function. | |
16919 | (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use | |
16920 | convert. | |
16921 | Include Long.h. | |
16922 | ||
9782d8f5 AG |
16923 | 2002-02-08 Anthony Green <green@redhat.com> |
16924 | ||
16925 | * configure.host: Add support for xscale-elf embedded target. | |
16926 | ||
d3ae0d49 MK |
16927 | 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com> |
16928 | ||
16929 | * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not | |
16930 | dereferenced. | |
16931 | (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals | |
16932 | frame. | |
16933 | ||
6478d7c9 TT |
16934 | 2002-02-07 Tom Tromey <tromey@redhat.com> |
16935 | ||
16936 | * java/io/natFile.cc (_access): Use __builtin_alloca. | |
16937 | (_stat): Likewise. | |
16938 | (attr): Likewise. | |
16939 | (getCanonicalPath): Likewise. | |
16940 | (performList): Likewise. | |
16941 | (performMkdir): Likewise. | |
16942 | (performSetReadOnly): Likewise. | |
16943 | (performRenameTo): Likewise. | |
16944 | (performSetLastModified): Likewise. | |
16945 | (performCreate): Likewise. | |
16946 | (performDelete): Likewise. | |
16947 | ||
e291c8db BM |
16948 | 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16949 | ||
16950 | * HACKING: Fix URL for the automake-gcj. | |
16951 | ||
0669d0ed TT |
16952 | 2002-02-07 Tom Tromey <tromey@redhat.com> |
16953 | ||
85ea93b3 TT |
16954 | * java/lang/natThrowable.cc: Updated copyright. |
16955 | * java/io/natFileWin32.cc: Updated copyright. | |
16956 | * java/io/natFileDescriptorWin32.cc: Updated copyright. | |
16957 | * win32-threads.cc: Updated copyright. | |
16958 | * name-finder.cc: Updated copyright. | |
16959 | * include/name-finder.h: Updated copyright. | |
16960 | ||
9f2618df TT |
16961 | * include/name-finder.h: Conditionally include sys/wait.h. |
16962 | * include/config.h.in: Rebuilt. | |
16963 | ||
fc7563ec TT |
16964 | * java/io/natFile.cc (_access): Don't stack-allocate buffer. |
16965 | Size buffer based on real size of string. | |
16966 | (_stat): Likewise. | |
16967 | (attr): Likewise. | |
16968 | (getCanonicalPath): Likewise. | |
16969 | (performList): Likewise. | |
16970 | (performMkdir): Likewise. | |
16971 | (performSetReadOnly): Likewise. | |
16972 | (unixroot): Removed. | |
16973 | (performRenameTo): Likewise. | |
16974 | (performSetLastModified): Likewise. | |
16975 | (performCreate): Likewise. | |
16976 | (performDelete): Likewise. | |
16977 | (performListRoots): Always return new array. | |
16978 | ||
73272ce6 TT |
16979 | * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize. |
16980 | * win32.cc (win32_exception_handler): Now static. | |
16981 | * include/win32.h (_Jv_platform_initialize): Declare. | |
16982 | (win32_exception_handler): Don't declare. | |
16983 | * java/lang/natSystem.cc (currentTimeMillis): Use | |
16984 | _Jv_platform_gettimeofday. | |
16985 | * posix.cc (_Jv_platform_gettimeofday): Renamed. | |
16986 | (_Jv_select): Use new name. | |
16987 | (_Jv_platform_initialize): New function. | |
16988 | * include/posix.h (_Jv_platform_gettimeofday): Renamed from | |
16989 | _Jv_gettimeofday. | |
16990 | (_Jv_platform_initialize): Declare. | |
16991 | ||
0669d0ed TT |
16992 | * configure: Rebuilt. |
16993 | * configure.in: Removed unnecessary parens. | |
16994 | ||
b8fe3c1e AM |
16995 | 2002-02-06 Adam Megacz <adam@xwt.org> |
16996 | ||
16997 | * configure.in: Changed mingw) to *mingw*). | |
16998 | * win32.cc: Created this file. | |
16999 | * win32.h: Created this file. | |
17000 | * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved | |
17001 | win32_exception_handler from prims.cc to win32.cc, added | |
17002 | header in win32.h. | |
17003 | * prims.cc: removed some #ifdef-WIN32'd headers which are no | |
17004 | longer needed now that we have platform.h | |
17005 | ||
df79080e AM |
17006 | 2002-02-06 Adam Megacz <adam@xwt.org> |
17007 | ||
b8d87c36 AM |
17008 | * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc: |
17009 | use uint<n>_t instead of LONG and BYTE | |
54d9d34a | 17010 | |
4048d336 AM |
17011 | 2002-02-06 Adam Megacz <adam@xwt.org> |
17012 | ||
17013 | * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H | |
54d9d34a | 17014 | |
b5ee195f AG |
17015 | 2002-02-06 Anthony Green <green@redhat.com> |
17016 | ||
17017 | * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets. | |
17018 | Implement missing method stubs. | |
17019 | java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET | |
17020 | targets. | |
17021 | * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no | |
17022 | concept of timezones. | |
17023 | (init_properties): Don't refer to _Jv_Environment_Properties | |
17024 | when this feature is not available. | |
17025 | * include/config.h.in: Rebuilt. | |
17026 | * acconfig.h: Add DISABLE_MAIN_ARGS. | |
17027 | * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS. | |
17028 | * configure: Rebuilt. | |
17029 | * configure.in: Add --disable-main-args option. Test for | |
4977bab6 ZW |
17030 | opendir function. Replace AC_CHECK_SIZEOF with |
17031 | AC_COMPILE_CHECK_SIZEOF. | |
b5ee195f AG |
17032 | * java/io/natFile.cc (performList): Check HAVE_OPENDIR. |
17033 | * aclocal.m4: Rebuilt. | |
17034 | * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF. | |
17035 | ||
383aa2ef TT |
17036 | 2002-02-06 Tom Tromey <tromey@redhat.com> |
17037 | ||
17038 | * verify.cc (require_array_type): If argument is a null array of | |
17039 | references, return null as the element type. | |
17040 | ||
448f456d MW |
17041 | 2002-02-06 Mark Wielaard <mark@klomp.org> |
17042 | ||
17043 | * verify.cc (verify_instructions_0) [op_dup2]: Actually push the | |
17044 | duplicate of a wide type. | |
17045 | ||
199ecb18 TT |
17046 | 2002-02-06 Tom Tromey <tromey@redhat.com> |
17047 | ||
17048 | * verify.cc (type::isnull): New method. | |
17049 | (require_array_type): Handle case where array is null. | |
17050 | (verify_instructions_0) [op_arraylength]: Likewise. | |
17051 | ||
8c78e3a3 BM |
17052 | 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
17053 | ||
17054 | * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES. | |
17055 | Symlink PLATFORMH to platform.h. | |
17056 | * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add | |
17057 | PLATFORMOBJS. | |
17058 | * java/lang/natSystem.cc: #include platform.h not posix.h. | |
17059 | * Makefile.in: Rebuilt with libgcj automake. | |
17060 | * configure: Rebuilt. | |
17061 | ||
7a97f559 RH |
17062 | 2002-02-05 Richard Henderson <rth@redhat.com> |
17063 | ||
17064 | * Makefile.in: Undo munging last change. | |
17065 | ||
d7799ba1 AM |
17066 | 2002-02-04 Adam Megacz <adam@xwt.org> |
17067 | ||
17068 | * win32.cc: Created it. | |
7a97f559 RH |
17069 | * configure.in: Added PLATFORM_SPECIFIC_SOURCES, |
17070 | which is set to posix.cc or win32.cc. | |
17071 | * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES). | |
54d9d34a | 17072 | |
d08e89a9 AM |
17073 | 2002-02-04 Adam Megacz <adam@xwt.org> |
17074 | ||
7a97f559 RH |
17075 | * configure.in: Corrected mingw case branches; added * before |
17076 | and after. | |
d08e89a9 | 17077 | |
4a8e624f AM |
17078 | 2002-02-04 Adam Megacz <adam@xwt.org> |
17079 | ||
7a97f559 RH |
17080 | * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec |
17081 | if compiling for win32 | |
4a8e624f | 17082 | |
1d3efb36 AM |
17083 | 2002-02-04 Adam Megacz <adam@xwt.org> |
17084 | ||
7a97f559 | 17085 | * win32-threads.cc: #undef STRICT after gc.h inclusion |
1d3efb36 | 17086 | |
9b8b2fcf TT |
17087 | 2002-02-02 Tom Tromey <tromey@redhat.com> |
17088 | ||
17089 | * Makefile.in: Rebuilt. | |
17090 | ||
1acce4c7 JM |
17091 | 2002-02-02 Jason Merrill <jason@redhat.com> |
17092 | ||
17093 | * Makefile.am (clean-nat): New target. | |
17094 | ||
6c69cbcc TT |
17095 | 2002-02-02 Tom Tromey <tromey@redhat.com> |
17096 | ||
17097 | * java/io/natFile.cc: Removed old "FIXME" comments. | |
17098 | ||
0c91936e TT |
17099 | 2002-02-01 Tom Tromey <tromey@redhat.com> |
17100 | ||
17101 | * java/lang/natPosixProcess.cc (myclose): New function. | |
17102 | (fail): Use it. | |
17103 | (startProcess): Likewise. | |
17104 | ||
6d829370 AM |
17105 | 2002-02-01 Adam Megacz <adam@xwt.org> |
17106 | ||
17107 | * prims.cc: Added #undef STRICT after #include<windows.h>. | |
54d9d34a | 17108 | |
a7006428 AM |
17109 | 2002-02-01 Adam Megacz <adam@xwt.org> |
17110 | ||
17111 | * prims.cc | |
17112 | (_Jv_CreateJavaVM): We now use WIN32 instead of | |
17113 | USE_WIN32_SIGNALLING and USE_WINSOCK. | |
17114 | (win32_exception_handler): Now throws an exception out of | |
6d829370 | 17115 | the signal handler; assumes SJLJ. |
54d9d34a | 17116 | |
ce762b4b | 17117 | 2002-02-01 Adam Megacz <adam@xwt.org> |
a70cb11b | 17118 | |
7a97f559 RH |
17119 | * win32-threads.cc: |
17120 | (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected | |
17121 | wait() algorithm to make it safe. | |
17122 | (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy): | |
17123 | Added lazy creation of Win32 Events for better performance | |
17124 | (really_start): This now uses GC_CreateThread so boehm-gc | |
17125 | knows about new threads even when statically linked. | |
a70cb11b | 17126 | |
8627cc15 AM |
17127 | 2002-02-01 Adam Megacz <adam@xwt.org> |
17128 | ||
7a97f559 | 17129 | * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to |
8627cc15 AM |
17130 | enable safer wait() algorithm. |
17131 | (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify, | |
17132 | _Jv_CondNotifyAll): Implementations moved to win32-threads.cc. | |
17133 | (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock, | |
17134 | _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs | |
17135 | instead of mutex. | |
17136 | (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98. | |
17137 | ||
54a190dd AM |
17138 | 2002-02-01 Adam Megacz <adam@xwt.org> |
17139 | ||
17140 | * configure.in: Added support for mingw. | |
17141 | * java/lang/Win32Process.java: Created as empty file. | |
17142 | * java/lang/natWin32Process.cc: Created as empty file. | |
17143 | ||
1c24f830 CR |
17144 | 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> |
17145 | ||
17146 | PR java/4972 | |
54d9d34a | 17147 | * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags |
1c24f830 CR |
17148 | for libiconv in LIBICONV variable. |
17149 | * configure: Regenerated. | |
17150 | ||
de0ed7b6 TT |
17151 | 2002-01-31 Tom Tromey <tromey@redhat.com> |
17152 | ||
17153 | * verify.cc (state::enter_subroutine): New method. | |
17154 | (handle_jsr_insn): Use it. | |
17155 | (state::merge): When processing a `ret', correctly use | |
17156 | subroutine's state to determine which local variables have | |
17157 | changed. | |
17158 | (push_exception_jump): Don't let stack overflow. | |
17159 | ||
8512bbd7 JM |
17160 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
17161 | ||
17162 | * gnu/gcj/convert/Convert.java: Only include one copyright year in | |
17163 | --version output. | |
17164 | ||
b3de7ff3 TT |
17165 | 2002-01-30 Tom Tromey <tromey@redhat.com> |
17166 | ||
1b8337e7 TT |
17167 | * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template |
17168 | parameter for `recv' return type. | |
17169 | ||
b3de7ff3 TT |
17170 | * verify.cc (handle_ret_insn): Check for subroutine merge here... |
17171 | (state::merge): ... not here. | |
17172 | (subr_entry_info): New structure. | |
17173 | (entry_points): New field. | |
17174 | (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free | |
17175 | entry_points. | |
17176 | ||
6c54b16c TT |
17177 | 2002-01-29 Tom Tromey <tromey@redhat.com> |
17178 | ||
7950ed56 TT |
17179 | * java/awt/List.java (addNotify): Correctly check to see if peer |
17180 | does not exist. | |
17181 | ||
6c54b16c TT |
17182 | * java/awt/GridLayout.java (layoutContainer): Use number of rows |
17183 | to compute height of each cell, and number of columns to compute | |
17184 | width of each cell. | |
17185 | * java/awt/Window.java (getOwnedWindows): Don't return null. | |
17186 | * java/awt/FlowLayout.java (layoutContainer): Set width and height | |
17187 | of component. Increment x using horizontal gap, not vertical | |
17188 | gap. | |
17189 | ||
8987cc88 TT |
17190 | 2002-01-28 Tom Tromey <tromey@redhat.com> |
17191 | ||
17192 | * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]: | |
17193 | `nargs' byte is number of words, not number of arguments. | |
17194 | ||
1919a4e7 TT |
17195 | 2002-01-27 Tom Tromey <tromey@redhat.com> |
17196 | ||
b5352291 TT |
17197 | * java/awt/event/MouseEvent.java (modifiers): Removed field. |
17198 | (when): Likewise. | |
17199 | * java/awt/event/InputEvent.java (modifiers, when): Now | |
17200 | package-private. | |
17201 | ||
1919a4e7 TT |
17202 | * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment |
17203 | and to-do list. | |
17204 | (state::merge): Use current class' class loader. | |
17205 | (state::print): Print subroutine. | |
17206 | (state::merge): Don't look at subroutine of unmerged `ret'. | |
17207 | ||
73068e36 AT |
17208 | 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch> |
17209 | ||
17210 | * nogc.cc: Remove warnings. | |
17211 | (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference): | |
17212 | New functions. | |
17213 | ||
2198265a BM |
17214 | 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
17215 | ||
17216 | * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel, | |
17217 | int, int): Remove empty "if" statement to work around compiler bug. | |
17218 | (newPixels(int[], ColorModel, int, int): Likewise. | |
17219 | ||
f24e160a PB |
17220 | 2002-01-25 Per Bothner <per@bothner.com> |
17221 | ||
17222 | * verify.cc (verify_fail): Change from being a top-level function | |
17223 | to e method of _Jv_BytecodeVerifier. Emit current method name. | |
17224 | Pass the current verifier to type: and state: methods as needed, | |
17225 | for better error messages, and for resolve. | |
17226 | (resolve): Pass current class's loader for Class.forName and | |
17227 | _Jv_FindClassFromSignature, rather than using the default loader. | |
17228 | (various type: and state: methods): Take _Jv_BytecodeVerifier* arg. | |
17229 | (get_type_val_for_signature): Make non-static. | |
17230 | (various methods): Pass start_PC implicitly, not explicitly. | |
17231 | ||
2fb4e07f TT |
17232 | 2002-01-25 Tom Tromey <tromey@redhat.com> |
17233 | ||
17234 | * java/awt/FlowLayout.java (layoutContainer): Correctly compute | |
17235 | loop termination condition. | |
17236 | * java/awt/GridLayout.java (getSize): Use `real_cols' to compute | |
17237 | width. | |
17238 | ||
8c77cda5 TT |
17239 | 2002-01-24 Tom Tromey <tromey@redhat.com> |
17240 | ||
02ad93a6 TT |
17241 | * java/awt/Shape.java: Merged with Classpath. |
17242 | * java/awt/Scrollbar.java: Merged with Classpath. | |
17243 | ||
0983da5b TT |
17244 | * java/awt/Container.java (addNotify): Unconditionally call |
17245 | addNotifyContainerChildren and superclass addNotify. | |
17246 | ||
8c77cda5 TT |
17247 | * java/awt/image/ColorModel.java (getAlpha(Object)): Call |
17248 | getAlpha, not getBlue. | |
17249 | ||
9fa5237c BM |
17250 | 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
17251 | ||
17252 | * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint. | |
54d9d34a | 17253 | |
30ed0c45 | 17254 | * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0). |
54d9d34a | 17255 | (grabPixels(long)): Wait to be notified that the ImageProducer has |
974bbe9f | 17256 | completed. |
9fa5237c | 17257 | |
7ac20fe4 PB |
17258 | 2002-01-24 Per Bothner <per@bothner.com> |
17259 | ||
054117f9 PB |
17260 | * verify.cc (is_assignable_from_slow): If target is an interface, |
17261 | we must still check the source's superclass before giving up. | |
7ac20fe4 | 17262 | |
d6c8012e TT |
17263 | 2002-01-24 Tom Tromey <tromey@redhat.com> |
17264 | ||
17265 | * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method. | |
17266 | ||
152d4916 TT |
17267 | 2002-01-23 Tom Tromey <tromey@redhat.com> |
17268 | ||
619e2b84 TT |
17269 | * java/awt/BorderLayout.java (addLayoutComponent): Added missing |
17270 | `else'. | |
17271 | ||
92bc8733 TT |
17272 | * Makefile.in: Rebuilt. |
17273 | * Makefile.am (awt_java_source_files): Added new files. | |
17274 | * java/awt/Toolkit.java: Merged with Classpath. | |
17275 | * java/awt/PrintGraphics.java: New file from Classpath. | |
17276 | * java/awt/PrintJob.java: New file from Classpath. | |
17277 | * java/awt/datatransfer/Clipboard.java: New file from Classpath. | |
17278 | * java/awt/datatransfer/ClipboardOwner.java: New file from | |
17279 | Classpath. | |
17280 | * java/awt/datatransfer/DataFlavor.java: New file from Classpath. | |
17281 | * java/awt/datatransfer/FlavorMap.java: New file from Classpath. | |
17282 | * java/awt/datatransfer/MimeTypeParseException.java: New file from | |
17283 | Classpath. | |
17284 | * java/awt/datatransfer/StringSelection.java: New file from | |
17285 | Classpath. | |
17286 | * java/awt/datatransfer/SystemFlavorMap.java: New file from | |
17287 | Classpath. | |
17288 | * java/awt/datatransfer/Transferable.java: New file from | |
17289 | Classpath. | |
17290 | * java/awt/datatransfer/UnsupportedFlavorException.java: New file | |
17291 | from Classpath. | |
17292 | ||
152d4916 TT |
17293 | * Makefile.in: Rebuilt. |
17294 | * Makefile.am (awt_java_source_files): Added new files. | |
17295 | * java/awt/image/AreaAveragingScaleFilter.java: New file from | |
17296 | Classpath. | |
17297 | * java/awt/image/CropImageFilter.java: New file from Classpath. | |
17298 | * java/awt/image/FilteredImageSource.java: New file from | |
17299 | Classpath. | |
17300 | * java/awt/image/ImageFilter.java: New file from Classpath. | |
17301 | * java/awt/image/MemoryImageSource.java: New file from Classpath. | |
17302 | * java/awt/image/PixelGrabber.java: New file from Classpath. | |
17303 | * java/awt/image/RGBImageFilter.java: New file from Classpath. | |
17304 | * java/awt/image/ReplicateScaleFilter.java: New file from | |
17305 | Classpath. | |
17306 | * java/awt/image/ImageProducer.java: Replaced with Classpath | |
17307 | version. | |
17308 | * java/awt/image/ImageObserver.java: Replaced with Classpath | |
17309 | version. | |
17310 | * java/awt/image/ImageConsumer.java: Replaced with Classpath | |
17311 | version. | |
17312 | * java/awt/GridBagConstraints.java (clone): Catch | |
17313 | CloneNotSupportedException. | |
17314 | ||
033509da PB |
17315 | 2002-01-23 Per Bothner <per@bothner.com> |
17316 | ||
17317 | * java/lang/reflect/natField.cc (setAddr): New function. | |
17318 | Calls getAddr and then checks that the field isn't final. | |
17319 | (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat, | |
17320 | setDouble, set): Use setAddr instead of getAddr, to check for FINAL. | |
17321 | (set): Call setAddr before check that new value has right type, | |
17322 | to better match specified semantics. | |
17323 | ||
7f7cfc73 TT |
17324 | 2002-01-22 Tom Tromey <tromey@redhat.com> |
17325 | ||
956e776d TT |
17326 | * java/awt/TextField.java: Replaced with Classpath version. |
17327 | * java/awt/TextArea.java: Replaced with Classpath version. | |
17328 | * java/awt/TextComponent.java: Replaced with Classpath version. | |
17329 | ||
7f7cfc73 TT |
17330 | * java/awt/GridBagConstraints.java: Updated copyright. |
17331 | ||
98c3a44f MW |
17332 | 2002-01-22 Mark Wielaard <mark@klomp.org> |
17333 | ||
54d9d34a AJ |
17334 | * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java |
17335 | java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java | |
17336 | java/awt/Dialog.java java/awt/FileDialog.java | |
17337 | java/awt/Font.java java/awt/FontMetrics.java | |
17338 | java/awt/Image.java java/awt/ImageMediaEntry.java | |
17339 | java/awt/Insets.java java/awt/List.java | |
17340 | java/awt/MediaEntry.java java/awt/MediaTracker.java | |
17341 | java/awt/Menu.java java/awt/MenuBar.java | |
17342 | java/awt/MenuContainer.java java/awt/MenuShortcut.java | |
17343 | java/awt/PaintContext.java java/awt/Panel.java | |
17344 | java/awt/PopupMenu.java java/awt/SystemColor.java | |
17345 | java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java | |
17346 | java/awt/peer/CheckboxMenuItemPeer.java | |
17347 | java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java | |
17348 | java/awt/peer/ComponentPeer.java | |
17349 | java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java | |
17350 | java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java | |
17351 | java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java | |
17352 | java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java | |
17353 | java/awt/peer/MenuBarPeer.java | |
17354 | java/awt/peer/MenuComponentPeer.java | |
17355 | java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java | |
17356 | java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java | |
17357 | java/awt/peer/ScrollPanePeer.java | |
17358 | java/awt/peer/ScrollbarPeer.java | |
17359 | java/awt/peer/TextAreaPeer.java | |
17360 | java/awt/peer/TextComponentPeer.java | |
98c3a44f MW |
17361 | java/awt/peer/TextFieldPeer.java |
17362 | java/awt/peer/WindowPeer.java: Add license clarification. | |
17363 | ||
92aaa246 MW |
17364 | 2002-01-22 Mark Wielaard <mark@klomp.org> |
17365 | ||
54d9d34a AJ |
17366 | * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in |
17367 | gnu/gcj/runtime/StringBuffer.java | |
17368 | gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java | |
17369 | gnu/java/awt/ComponentDataBlitOp.java | |
17370 | gnu/java/awt/GLightweightPeer.java | |
17371 | gnu/java/beans/BeanInfoEmbryo.java | |
17372 | gnu/java/beans/EmptyBeanInfo.java | |
17373 | gnu/java/beans/ExplicitBeanInfo.java | |
17374 | gnu/java/beans/IntrospectionIncubator.java | |
17375 | gnu/java/beans/editors/ColorEditor.java | |
17376 | gnu/java/beans/editors/FontEditor.java | |
17377 | gnu/java/beans/editors/NativeBooleanEditor.java | |
17378 | gnu/java/beans/editors/NativeByteEditor.java | |
17379 | gnu/java/beans/editors/NativeDoubleEditor.java | |
17380 | gnu/java/beans/editors/NativeFloatEditor.java | |
17381 | gnu/java/beans/editors/NativeIntEditor.java | |
17382 | gnu/java/beans/editors/NativeLongEditor.java | |
17383 | gnu/java/beans/editors/NativeShortEditor.java | |
17384 | gnu/java/beans/editors/StringEditor.java | |
17385 | gnu/java/beans/info/ComponentBeanInfo.java | |
17386 | gnu/java/io/ClassLoaderObjectInputStream.java | |
17387 | gnu/java/io/NullOutputStream.java | |
17388 | gnu/java/io/ObjectIdentityWrapper.java | |
17389 | gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java | |
17390 | gnu/java/lang/reflect/TypeSignature.java | |
17391 | gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java | |
17392 | gnu/java/locale/Calendar_en.java | |
17393 | gnu/java/locale/Calendar_nl.java | |
17394 | gnu/java/locale/LocaleInformation.java | |
17395 | gnu/java/locale/LocaleInformation_de.java | |
17396 | gnu/java/locale/LocaleInformation_en.java | |
17397 | gnu/java/locale/LocaleInformation_nl.java | |
17398 | gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java | |
17399 | gnu/java/rmi/registry/RegistryImpl.java | |
17400 | gnu/java/rmi/rmic/Compile_gcj.java | |
17401 | gnu/java/rmi/rmic/Compiler.java | |
17402 | gnu/java/rmi/rmic/CompilerProcess.java | |
17403 | gnu/java/rmi/rmic/RMIC.java | |
17404 | gnu/java/rmi/rmic/TabbedWriter.java | |
17405 | gnu/java/rmi/server/ProtocolConstants.java | |
17406 | gnu/java/rmi/server/RMIDefaultSocketFactory.java | |
17407 | gnu/java/rmi/server/RMIHashes.java | |
17408 | gnu/java/rmi/server/RMIObjectInputStream.java | |
17409 | gnu/java/rmi/server/RMIObjectOutputStream.java | |
17410 | gnu/java/rmi/server/UnicastConnection.java | |
17411 | gnu/java/rmi/server/UnicastConnectionManager.java | |
17412 | gnu/java/rmi/server/UnicastRef.java | |
17413 | gnu/java/rmi/server/UnicastRemoteCall.java | |
17414 | gnu/java/rmi/server/UnicastRemoteStub.java | |
17415 | gnu/java/rmi/server/UnicastServer.java | |
17416 | gnu/java/rmi/server/UnicastServerRef.java | |
17417 | gnu/java/security/provider/DefaultPolicy.java | |
17418 | gnu/java/security/provider/Gnu.java | |
17419 | gnu/java/security/provider/SHA.java | |
17420 | gnu/java/security/provider/SHA1PRNG.java | |
17421 | gnu/java/text/BaseBreakIterator.java | |
17422 | gnu/java/text/CharacterBreakIterator.java | |
17423 | gnu/java/text/LineBreakIterator.java | |
17424 | gnu/java/text/SentenceBreakIterator.java | |
17425 | gnu/java/text/WordBreakIterator.java | |
17426 | gnu/java/util/DoubleEnumeration.java java/applet/Applet.java | |
17427 | java/applet/AppletContext.java java/applet/AppletStub.java | |
17428 | java/applet/AudioClip.java java/awt/AWTError.java | |
17429 | java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java | |
17430 | java/awt/AWTException.java java/awt/AWTPermission.java | |
17431 | java/awt/ActiveEvent.java java/awt/BorderLayout.java | |
17432 | java/awt/Button.java java/awt/Canvas.java | |
17433 | java/awt/CardLayout.java java/awt/Checkbox.java | |
17434 | java/awt/CheckboxGroup.java java/awt/Component.java | |
17435 | java/awt/ComponentOrientation.java java/awt/Container.java | |
17436 | java/awt/Dimension.java java/awt/Event.java | |
17437 | java/awt/EventDispatchThread.java java/awt/EventQueue.java | |
17438 | java/awt/FlowLayout.java java/awt/Frame.java | |
17439 | java/awt/Graphics.java java/awt/Graphics2D.java | |
17440 | java/awt/GraphicsConfiguration.java java/awt/GridLayout.java | |
17441 | java/awt/IllegalComponentStateException.java | |
17442 | java/awt/ItemSelectable.java java/awt/Label.java | |
17443 | java/awt/LayoutManager.java java/awt/LayoutManager2.java | |
17444 | java/awt/MenuComponent.java java/awt/MenuItem.java | |
17445 | java/awt/Paint.java java/awt/Point.java | |
17446 | java/awt/Rectangle.java java/awt/RenderingHints.java | |
17447 | java/awt/Transparency.java java/awt/Window.java | |
17448 | java/awt/color/ColorSpace.java | |
17449 | java/awt/color/ICC_ColorSpace.java | |
17450 | java/awt/color/ICC_Profile.java | |
17451 | java/awt/event/HierarchyBoundsAdapter.java | |
17452 | java/awt/event/HierarchyBoundsListener.java | |
17453 | java/awt/event/HierarchyEvent.java | |
17454 | java/awt/event/HierarchyListener.java | |
17455 | java/awt/geom/AffineTransform.java | |
17456 | java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java | |
17457 | java/awt/geom/IllegalPathStateException.java | |
17458 | java/awt/geom/Line2D.java | |
17459 | java/awt/geom/NoninvertibleTransformException.java | |
17460 | java/awt/geom/PathIterator.java java/awt/geom/Point2D.java | |
17461 | java/awt/geom/Rectangle2D.java | |
17462 | java/awt/geom/RectangularShape.java | |
17463 | java/awt/geom/RoundRectangle2D.java | |
17464 | java/awt/image/BufferedImage.java | |
17465 | java/awt/image/ColorModel.java | |
17466 | java/awt/image/ComponentColorModel.java | |
17467 | java/awt/image/ComponentSampleModel.java | |
17468 | java/awt/image/DataBuffer.java | |
17469 | java/awt/image/DataBufferByte.java | |
17470 | java/awt/image/DataBufferInt.java | |
17471 | java/awt/image/DataBufferUShort.java | |
17472 | java/awt/image/DirectColorModel.java | |
17473 | java/awt/image/PackedColorModel.java | |
17474 | java/awt/image/Raster.java java/awt/image/RasterOp.java | |
17475 | java/awt/image/SampleModel.java | |
17476 | java/awt/image/SinglePixelPackedSampleModel.java | |
17477 | java/awt/image/WritableRaster.java | |
17478 | java/beans/AppletInitializer.java | |
17479 | java/beans/BeanDescriptor.java java/beans/BeanInfo.java | |
17480 | java/beans/Beans.java java/beans/Customizer.java | |
17481 | java/beans/DesignMode.java java/beans/EventSetDescriptor.java | |
17482 | java/beans/FeatureDescriptor.java | |
17483 | java/beans/IndexedPropertyDescriptor.java | |
17484 | java/beans/IntrospectionException.java | |
17485 | java/beans/Introspector.java java/beans/MethodDescriptor.java | |
17486 | java/beans/ParameterDescriptor.java | |
17487 | java/beans/PropertyChangeEvent.java | |
17488 | java/beans/PropertyChangeListener.java | |
17489 | java/beans/PropertyChangeSupport.java | |
17490 | java/beans/PropertyDescriptor.java | |
17491 | java/beans/PropertyEditor.java | |
17492 | java/beans/PropertyEditorManager.java | |
17493 | java/beans/PropertyEditorSupport.java | |
17494 | java/beans/PropertyVetoException.java | |
17495 | java/beans/SimpleBeanInfo.java | |
17496 | java/beans/VetoableChangeListener.java | |
17497 | java/beans/VetoableChangeSupport.java | |
17498 | java/beans/Visibility.java | |
17499 | java/beans/beancontext/BeanContext.java | |
17500 | java/beans/beancontext/BeanContextChild.java | |
17501 | java/beans/beancontext/BeanContextChildComponentProxy.java | |
17502 | java/beans/beancontext/BeanContextChildSupport.java | |
17503 | java/beans/beancontext/BeanContextContainerProxy.java | |
17504 | java/beans/beancontext/BeanContextEvent.java | |
17505 | java/beans/beancontext/BeanContextMembershipEvent.java | |
17506 | java/beans/beancontext/BeanContextMembershipListener.java | |
17507 | java/beans/beancontext/BeanContextProxy.java | |
17508 | java/beans/beancontext/BeanContextServiceAvailableEvent.java | |
17509 | java/beans/beancontext/BeanContextServiceProvider.java | |
17510 | java/beans/beancontext/BeanContextServiceProviderBeanInfo.java | |
17511 | java/beans/beancontext/BeanContextServiceRevokedEvent.java | |
17512 | java/beans/beancontext/BeanContextServiceRevokedListener.java | |
17513 | java/beans/beancontext/BeanContextServices.java | |
17514 | java/beans/beancontext/BeanContextServicesListener.java | |
17515 | java/io/BufferedInputStream.java | |
17516 | java/io/BufferedOutputStream.java java/io/BufferedReader.java | |
17517 | java/io/BufferedWriter.java java/io/ByteArrayInputStream.java | |
17518 | java/io/ByteArrayOutputStream.java | |
17519 | java/io/CharArrayReader.java java/io/CharArrayWriter.java | |
17520 | java/io/CharConversionException.java java/io/DataInput.java | |
17521 | java/io/DataInputStream.java java/io/DataOutput.java | |
17522 | java/io/EOFException.java java/io/Externalizable.java | |
17523 | java/io/FileFilter.java java/io/FileNotFoundException.java | |
17524 | java/io/FilePermission.java java/io/FileReader.java | |
17525 | java/io/FileWriter.java java/io/FilenameFilter.java | |
17526 | java/io/FilterInputStream.java java/io/FilterOutputStream.java | |
17527 | java/io/FilterReader.java java/io/FilterWriter.java | |
17528 | java/io/IOException.java java/io/InputStream.java | |
17529 | java/io/InterruptedIOException.java | |
17530 | java/io/InvalidClassException.java | |
17531 | java/io/InvalidObjectException.java | |
17532 | java/io/NotActiveException.java | |
17533 | java/io/NotSerializableException.java java/io/ObjectInput.java | |
17534 | java/io/ObjectInputStream.java | |
17535 | java/io/ObjectInputValidation.java java/io/ObjectOutput.java | |
17536 | java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java | |
17537 | java/io/ObjectStreamConstants.java | |
17538 | java/io/ObjectStreamException.java | |
17539 | java/io/ObjectStreamField.java | |
17540 | java/io/OptionalDataException.java java/io/OutputStream.java | |
17541 | java/io/PipedInputStream.java java/io/PipedOutputStream.java | |
17542 | java/io/PipedReader.java java/io/PipedWriter.java | |
17543 | java/io/PrintWriter.java java/io/PushbackInputStream.java | |
17544 | java/io/PushbackReader.java java/io/Reader.java | |
17545 | java/io/SequenceInputStream.java java/io/Serializable.java | |
17546 | java/io/SerializablePermission.java | |
17547 | java/io/StreamCorruptedException.java | |
17548 | java/io/StreamTokenizer.java | |
17549 | java/io/StringBufferInputStream.java java/io/StringReader.java | |
17550 | java/io/StringWriter.java java/io/SyncFailedException.java | |
17551 | java/io/UTFDataFormatException.java | |
17552 | java/io/UnsupportedEncodingException.java | |
17553 | java/io/WriteAbortedException.java java/io/Writer.java | |
17554 | java/lang/AbstractMethodError.java | |
17555 | java/lang/ArithmeticException.java | |
17556 | java/lang/ArrayIndexOutOfBoundsException.java | |
17557 | java/lang/ArrayStoreException.java java/lang/Boolean.java | |
17558 | java/lang/Byte.java java/lang/CharSequence.java | |
17559 | java/lang/ClassCastException.java | |
17560 | java/lang/ClassCircularityError.java | |
17561 | java/lang/ClassFormatError.java | |
17562 | java/lang/ClassNotFoundException.java | |
17563 | java/lang/CloneNotSupportedException.java | |
17564 | java/lang/Cloneable.java java/lang/Comparable.java | |
17565 | java/lang/Compiler.java java/lang/Double.java | |
17566 | java/lang/Error.java java/lang/Exception.java | |
17567 | java/lang/ExceptionInInitializerError.java | |
17568 | java/lang/Float.java java/lang/IllegalAccessError.java | |
17569 | java/lang/IllegalAccessException.java | |
17570 | java/lang/IllegalArgumentException.java | |
17571 | java/lang/IllegalMonitorStateException.java | |
17572 | java/lang/IllegalStateException.java | |
17573 | java/lang/IllegalThreadStateException.java | |
17574 | java/lang/IncompatibleClassChangeError.java | |
17575 | java/lang/IndexOutOfBoundsException.java | |
17576 | java/lang/InheritableThreadLocal.java | |
17577 | java/lang/InstantiationError.java | |
17578 | java/lang/InstantiationException.java java/lang/Integer.java | |
17579 | java/lang/InternalError.java | |
17580 | java/lang/InterruptedException.java | |
17581 | java/lang/LinkageError.java java/lang/Long.java | |
17582 | java/lang/NegativeArraySizeException.java | |
17583 | java/lang/NoClassDefFoundError.java | |
17584 | java/lang/NoSuchFieldError.java | |
17585 | java/lang/NoSuchFieldException.java | |
17586 | java/lang/NoSuchMethodError.java | |
17587 | java/lang/NoSuchMethodException.java | |
17588 | java/lang/NullPointerException.java java/lang/Number.java | |
17589 | java/lang/NumberFormatException.java | |
17590 | java/lang/OutOfMemoryError.java java/lang/Package.java | |
17591 | java/lang/Process.java java/lang/Runnable.java | |
17592 | java/lang/RuntimeException.java | |
17593 | java/lang/RuntimePermission.java | |
17594 | java/lang/SecurityException.java | |
17595 | java/lang/SecurityManager.java java/lang/Short.java | |
17596 | java/lang/StackOverflowError.java java/lang/StringBuffer.java | |
17597 | java/lang/StringIndexOutOfBoundsException.java | |
17598 | java/lang/ThreadDeath.java java/lang/ThreadGroup.java | |
17599 | java/lang/ThreadLocal.java java/lang/UnknownError.java | |
17600 | java/lang/UnsatisfiedLinkError.java | |
17601 | java/lang/UnsupportedClassVersionError.java | |
17602 | java/lang/UnsupportedOperationException.java | |
17603 | java/lang/VerifyError.java java/lang/VirtualMachineError.java | |
17604 | java/lang/Void.java java/lang/ref/PhantomReference.java | |
17605 | java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java | |
17606 | java/lang/ref/SoftReference.java | |
17607 | java/lang/ref/WeakReference.java | |
17608 | java/lang/reflect/AccessibleObject.java | |
17609 | java/lang/reflect/InvocationTargetException.java | |
17610 | java/lang/reflect/Member.java java/lang/reflect/Modifier.java | |
17611 | java/lang/reflect/ReflectPermission.java | |
17612 | java/math/BigDecimal.java java/math/BigInteger.java | |
17613 | java/net/Authenticator.java java/net/BindException.java | |
17614 | java/net/ConnectException.java java/net/ContentHandler.java | |
17615 | java/net/ContentHandlerFactory.java | |
17616 | java/net/DatagramPacket.java java/net/DatagramSocketImpl.java | |
17617 | java/net/FileNameMap.java java/net/MalformedURLException.java | |
17618 | java/net/MulticastSocket.java java/net/NetPermission.java | |
17619 | java/net/NoRouteToHostException.java | |
17620 | java/net/PasswordAuthentication.java | |
17621 | java/net/ProtocolException.java java/net/ServerSocket.java | |
17622 | java/net/Socket.java java/net/SocketException.java | |
17623 | java/net/SocketImpl.java java/net/SocketImplFactory.java | |
17624 | java/net/SocketOptions.java java/net/SocketPermission.java | |
17625 | java/net/URLDecoder.java java/net/URLEncoder.java | |
17626 | java/net/URLStreamHandlerFactory.java | |
17627 | java/net/UnknownHostException.java | |
17628 | java/net/UnknownServiceException.java | |
17629 | java/rmi/AccessException.java | |
17630 | java/rmi/AlreadyBoundException.java | |
17631 | java/rmi/ConnectException.java | |
17632 | java/rmi/ConnectIOException.java | |
17633 | java/rmi/MarshalException.java java/rmi/MarshalledObject.java | |
17634 | java/rmi/Naming.java java/rmi/NoSuchObjectException.java | |
17635 | java/rmi/NotBoundException.java | |
17636 | java/rmi/RMISecurityException.java | |
17637 | java/rmi/RMISecurityManager.java java/rmi/Remote.java | |
17638 | java/rmi/RemoteException.java java/rmi/ServerError.java | |
17639 | java/rmi/ServerException.java | |
17640 | java/rmi/ServerRuntimeException.java | |
17641 | java/rmi/StubNotFoundException.java | |
17642 | java/rmi/UnexpectedException.java | |
17643 | java/rmi/UnknownHostException.java | |
17644 | java/rmi/UnmarshalException.java | |
17645 | java/rmi/activation/Activatable.java | |
17646 | java/rmi/activation/ActivateFailedException.java | |
17647 | java/rmi/activation/ActivationDesc.java | |
17648 | java/rmi/activation/ActivationException.java | |
17649 | java/rmi/activation/ActivationGroup.java | |
17650 | java/rmi/activation/ActivationGroupDesc.java | |
17651 | java/rmi/activation/ActivationGroupID.java | |
17652 | java/rmi/activation/ActivationID.java | |
17653 | java/rmi/activation/ActivationInstantiator.java | |
17654 | java/rmi/activation/ActivationMonitor.java | |
17655 | java/rmi/activation/ActivationSystem.java | |
17656 | java/rmi/activation/Activator.java | |
17657 | java/rmi/activation/UnknownGroupException.java | |
17658 | java/rmi/activation/UnknownObjectException.java | |
17659 | java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java | |
17660 | java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java | |
17661 | java/rmi/registry/Registry.java | |
17662 | java/rmi/registry/RegistryHandler.java | |
17663 | java/rmi/server/ExportException.java | |
17664 | java/rmi/server/LoaderHandler.java | |
17665 | java/rmi/server/LogStream.java java/rmi/server/ObjID.java | |
17666 | java/rmi/server/Operation.java | |
17667 | java/rmi/server/RMIClassLoader.java | |
17668 | java/rmi/server/RMIClientSocketFactory.java | |
17669 | java/rmi/server/RMIFailureHandler.java | |
17670 | java/rmi/server/RMIServerSocketFactory.java | |
17671 | java/rmi/server/RMISocketFactory.java | |
17672 | java/rmi/server/RemoteCall.java | |
17673 | java/rmi/server/RemoteObject.java | |
17674 | java/rmi/server/RemoteRef.java | |
17675 | java/rmi/server/RemoteServer.java | |
17676 | java/rmi/server/RemoteStub.java | |
17677 | java/rmi/server/ServerCloneException.java | |
17678 | java/rmi/server/ServerNotActiveException.java | |
17679 | java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java | |
17680 | java/rmi/server/SkeletonMismatchException.java | |
17681 | java/rmi/server/SkeletonNotFoundException.java | |
17682 | java/rmi/server/SocketSecurityException.java | |
17683 | java/rmi/server/UID.java | |
17684 | java/rmi/server/UnicastRemoteObject.java | |
17685 | java/rmi/server/Unreferenced.java | |
17686 | java/security/AccessControlContext.java | |
17687 | java/security/AccessControlException.java | |
17688 | java/security/AccessController.java | |
17689 | java/security/AlgorithmParameterGenerator.java | |
17690 | java/security/AlgorithmParameterGeneratorSpi.java | |
17691 | java/security/AlgorithmParameters.java | |
17692 | java/security/AlgorithmParametersSpi.java | |
17693 | java/security/AllPermission.java | |
17694 | java/security/BasicPermission.java | |
17695 | java/security/Certificate.java java/security/CodeSource.java | |
17696 | java/security/DigestException.java | |
17697 | java/security/DigestInputStream.java | |
17698 | java/security/DigestOutputStream.java | |
17699 | java/security/DomainCombiner.java | |
17700 | java/security/DummyKeyPairGenerator.java | |
17701 | java/security/DummyMessageDigest.java | |
17702 | java/security/DummySignature.java | |
17703 | java/security/GeneralSecurityException.java | |
17704 | java/security/Guard.java java/security/GuardedObject.java | |
17705 | java/security/Identity.java java/security/IdentityScope.java | |
17706 | java/security/InvalidAlgorithmParameterException.java | |
17707 | java/security/InvalidKeyException.java | |
17708 | java/security/InvalidParameterException.java | |
17709 | java/security/Key.java java/security/KeyException.java | |
17710 | java/security/KeyFactory.java java/security/KeyFactorySpi.java | |
17711 | java/security/KeyManagementException.java | |
17712 | java/security/KeyPair.java java/security/KeyPairGenerator.java | |
17713 | java/security/KeyPairGeneratorSpi.java | |
17714 | java/security/KeyStore.java | |
17715 | java/security/KeyStoreException.java | |
17716 | java/security/KeyStoreSpi.java | |
17717 | java/security/MessageDigest.java | |
17718 | java/security/MessageDigestSpi.java | |
17719 | java/security/NoSuchAlgorithmException.java | |
17720 | java/security/NoSuchProviderException.java | |
17721 | java/security/Permission.java | |
17722 | java/security/PermissionCollection.java | |
17723 | java/security/Permissions.java java/security/Policy.java | |
17724 | java/security/Principal.java java/security/PrivateKey.java | |
17725 | java/security/PrivilegedAction.java | |
17726 | java/security/PrivilegedActionException.java | |
17727 | java/security/PrivilegedExceptionAction.java | |
17728 | java/security/ProtectionDomain.java | |
17729 | java/security/Provider.java | |
17730 | java/security/ProviderException.java | |
17731 | java/security/PublicKey.java | |
17732 | java/security/SecureClassLoader.java | |
17733 | java/security/SecureRandom.java | |
17734 | java/security/SecureRandomSpi.java java/security/Security.java | |
17735 | java/security/SecurityPermission.java | |
17736 | java/security/Signature.java | |
17737 | java/security/SignatureException.java | |
17738 | java/security/SignatureSpi.java | |
17739 | java/security/SignedObject.java java/security/Signer.java | |
17740 | java/security/UnrecoverableKeyException.java | |
17741 | java/security/UnresolvedPermission.java | |
17742 | java/security/acl/Acl.java java/security/acl/AclEntry.java | |
17743 | java/security/acl/AclNotFoundException.java | |
17744 | java/security/acl/Group.java | |
17745 | java/security/acl/LastOwnerException.java | |
17746 | java/security/acl/NotOwnerException.java | |
17747 | java/security/acl/Owner.java java/security/acl/Permission.java | |
17748 | java/security/cert/CRL.java | |
17749 | java/security/cert/CRLException.java | |
17750 | java/security/cert/Certificate.java | |
17751 | java/security/cert/CertificateEncodingException.java | |
17752 | java/security/cert/CertificateException.java | |
17753 | java/security/cert/CertificateExpiredException.java | |
17754 | java/security/cert/CertificateFactory.java | |
17755 | java/security/cert/CertificateFactorySpi.java | |
17756 | java/security/cert/CertificateNotYetValidException.java | |
17757 | java/security/cert/CertificateParsingException.java | |
17758 | java/security/cert/X509CRL.java | |
17759 | java/security/cert/X509CRLEntry.java | |
17760 | java/security/cert/X509Certificate.java | |
17761 | java/security/cert/X509Extension.java | |
17762 | java/security/interfaces/DSAKey.java | |
17763 | java/security/interfaces/DSAKeyPairGenerator.java | |
17764 | java/security/interfaces/DSAParams.java | |
17765 | java/security/interfaces/DSAPrivateKey.java | |
17766 | java/security/interfaces/DSAPublicKey.java | |
17767 | java/security/interfaces/RSAKey.java | |
17768 | java/security/interfaces/RSAPrivateCrtKey.java | |
17769 | java/security/interfaces/RSAPrivateKey.java | |
17770 | java/security/interfaces/RSAPublicKey.java | |
17771 | java/security/spec/AlgorithmParameterSpec.java | |
17772 | java/security/spec/DSAParameterSpec.java | |
17773 | java/security/spec/DSAPrivateKeySpec.java | |
17774 | java/security/spec/DSAPublicKeySpec.java | |
17775 | java/security/spec/EncodedKeySpec.java | |
17776 | java/security/spec/InvalidKeySpecException.java | |
17777 | java/security/spec/InvalidParameterSpecException.java | |
17778 | java/security/spec/KeySpec.java | |
17779 | java/security/spec/PKCS8EncodedKeySpec.java | |
17780 | java/security/spec/RSAKeyGenParameterSpec.java | |
17781 | java/security/spec/RSAPrivateCrtKeySpec.java | |
17782 | java/security/spec/RSAPrivateKeySpec.java | |
17783 | java/security/spec/RSAPublicKeySpec.java | |
17784 | java/security/spec/X509EncodedKeySpec.java java/sql/Array.java | |
17785 | java/sql/BatchUpdateException.java java/sql/Blob.java | |
17786 | java/sql/CallableStatement.java java/sql/Clob.java | |
17787 | java/sql/Connection.java java/sql/DataTruncation.java | |
17788 | java/sql/DatabaseMetaData.java java/sql/Date.java | |
17789 | java/sql/Driver.java java/sql/DriverManager.java | |
17790 | java/sql/DriverPropertyInfo.java | |
17791 | java/sql/PreparedStatement.java java/sql/Ref.java | |
17792 | java/sql/ResultSet.java java/sql/ResultSetMetaData.java | |
17793 | java/sql/SQLData.java java/sql/SQLException.java | |
17794 | java/sql/SQLInput.java java/sql/SQLOutput.java | |
17795 | java/sql/SQLWarning.java java/sql/Statement.java | |
17796 | java/sql/Struct.java java/sql/Time.java | |
17797 | java/sql/Timestamp.java java/sql/Types.java | |
17798 | java/text/Annotation.java | |
17799 | java/text/AttributedCharacterIterator.java | |
17800 | java/text/AttributedString.java | |
17801 | java/text/AttributedStringIterator.java | |
17802 | java/text/BreakIterator.java java/text/CharacterIterator.java | |
17803 | java/text/ChoiceFormat.java java/text/Collator.java | |
17804 | java/text/DateFormat.java java/text/DateFormatSymbols.java | |
17805 | java/text/DecimalFormat.java | |
17806 | java/text/DecimalFormatSymbols.java | |
17807 | java/text/FieldPosition.java java/text/Format.java | |
17808 | java/text/MessageFormat.java java/text/NumberFormat.java | |
17809 | java/text/ParseException.java java/text/ParsePosition.java | |
17810 | java/text/SimpleDateFormat.java | |
17811 | java/text/StringCharacterIterator.java | |
17812 | java/util/AbstractCollection.java java/util/AbstractList.java | |
17813 | java/util/AbstractMap.java | |
17814 | java/util/AbstractSequentialList.java | |
17815 | java/util/AbstractSet.java java/util/ArrayList.java | |
17816 | java/util/Arrays.java java/util/BasicMapEntry.java | |
17817 | java/util/BitSet.java java/util/Calendar.java | |
17818 | java/util/Collection.java java/util/Collections.java | |
17819 | java/util/Comparator.java | |
17820 | java/util/ConcurrentModificationException.java | |
17821 | java/util/Date.java java/util/Dictionary.java | |
17822 | java/util/EmptyStackException.java java/util/Enumeration.java | |
17823 | java/util/EventListener.java java/util/EventObject.java | |
17824 | java/util/GregorianCalendar.java java/util/HashMap.java | |
17825 | java/util/HashSet.java java/util/Hashtable.java | |
17826 | java/util/IdentityHashMap.java java/util/Iterator.java | |
17827 | java/util/LinkedHashMap.java java/util/LinkedHashSet.java | |
17828 | java/util/LinkedList.java java/util/List.java | |
17829 | java/util/ListIterator.java java/util/ListResourceBundle.java | |
17830 | java/util/Locale.java java/util/Map.java | |
17831 | java/util/MissingResourceException.java | |
17832 | java/util/NoSuchElementException.java | |
17833 | java/util/Observable.java java/util/Observer.java | |
17834 | java/util/Properties.java java/util/PropertyPermission.java | |
17835 | java/util/PropertyResourceBundle.java java/util/Random.java | |
17836 | java/util/RandomAccess.java java/util/ResourceBundle.java | |
17837 | java/util/Set.java java/util/SimpleTimeZone.java | |
17838 | java/util/SortedMap.java java/util/SortedSet.java | |
17839 | java/util/Stack.java java/util/StringTokenizer.java | |
17840 | java/util/TimeZone.java java/util/Timer.java | |
17841 | java/util/TimerTask.java | |
17842 | java/util/TooManyListenersException.java | |
17843 | java/util/TreeMap.java java/util/TreeSet.java | |
17844 | java/util/Vector.java java/util/WeakHashMap.java | |
17845 | java/util/jar/Attributes.java java/util/jar/JarEntry.java | |
17846 | java/util/jar/JarException.java java/util/jar/JarFile.java | |
17847 | java/util/jar/JarInputStream.java | |
17848 | java/util/jar/JarOutputStream.java java/util/jar/Manifest.java | |
17849 | java/util/zip/Adler32.java java/util/zip/CRC32.java | |
17850 | java/util/zip/CheckedInputStream.java | |
17851 | java/util/zip/CheckedOutputStream.java | |
17852 | java/util/zip/Checksum.java | |
17853 | java/util/zip/DataFormatException.java | |
17854 | java/util/zip/Deflater.java | |
17855 | java/util/zip/DeflaterOutputStream.java | |
17856 | java/util/zip/GZIPInputStream.java | |
17857 | java/util/zip/GZIPOutputStream.java | |
17858 | java/util/zip/Inflater.java | |
17859 | java/util/zip/InflaterInputStream.java | |
17860 | java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java | |
17861 | java/util/zip/ZipException.java java/util/zip/ZipFile.java | |
17862 | java/util/zip/ZipInputStream.java | |
17863 | java/util/zip/ZipOutputStream.java | |
17864 | javax/naming/BinaryRefAddr.java | |
17865 | javax/naming/InvalidNameException.java javax/naming/Name.java | |
17866 | javax/naming/NamingException.java javax/naming/RefAddr.java | |
92aaa246 MW |
17867 | javax/naming/StringRefAddr.java: Add license clarification. |
17868 | ||
bda14505 TT |
17869 | 2002-01-22 Tom Tromey <tromey@redhat.com> |
17870 | ||
17871 | * java/awt/peer/ButtonPeer.java: Replace with Classpath version. | |
17872 | * java/awt/peer/CanvasPeer.java: Replace with Classpath version. | |
17873 | * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath | |
17874 | version. | |
17875 | * java/awt/peer/CheckboxPeer.java: Replace with Classpath version. | |
17876 | * java/awt/peer/ChoicePeer.java: Replace with Classpath version. | |
17877 | * java/awt/peer/ComponentPeer.java: Replace with Classpath version. | |
17878 | * java/awt/peer/ContainerPeer.java: Replace with Classpath version. | |
17879 | * java/awt/peer/DialogPeer.java: Replace with Classpath version. | |
17880 | * java/awt/peer/FileDialogPeer.java: Replace with Classpath version. | |
17881 | * java/awt/peer/FontPeer.java: Replace with Classpath version. | |
17882 | * java/awt/peer/FramePeer.java: Replace with Classpath version. | |
17883 | * java/awt/peer/LabelPeer.java: Replace with Classpath version. | |
17884 | * java/awt/peer/LightweightPeer.java: Replace with Classpath version. | |
17885 | * java/awt/peer/ListPeer.java: Replace with Classpath version. | |
17886 | * java/awt/peer/MenuBarPeer.java: Replace with Classpath version. | |
17887 | * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version. | |
17888 | * java/awt/peer/MenuItemPeer.java: Replace with Classpath version. | |
17889 | * java/awt/peer/MenuPeer.java: Replace with Classpath version. | |
17890 | * java/awt/peer/PanelPeer.java: Replace with Classpath version. | |
17891 | * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version. | |
17892 | * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version. | |
17893 | * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version. | |
17894 | * java/awt/peer/TextAreaPeer.java: Replace with Classpath version. | |
17895 | * java/awt/peer/TextComponentPeer.java: Replace with Classpath version. | |
17896 | * java/awt/peer/TextFieldPeer.java: Replace with Classpath version. | |
17897 | * java/awt/peer/WindowPeer.java: Replace with Classpath version. | |
17898 | * gnu/awt/xlib/XPanelPeer.java (insets): New method. | |
17899 | * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods. | |
17900 | (minimumSize, preferredSize, reshape): Likewise. | |
17901 | * gnu/awt/xlib/XFramePeer.java (insets, enable, disable, | |
17902 | getColorModel): New methods. | |
17903 | * java/awt/PopupMenu.java: Merged with Classpath. | |
17904 | * java/awt/MenuBar.java: Merged with Classpath. | |
17905 | * java/awt/SystemColor.java: Replace with Classpath version. | |
17906 | * java/awt/Panel.java: Merged with Classpath. | |
17907 | * java/awt/PaintContext.java: Updated copyright. | |
17908 | * java/awt/MenuShortcut.java: Merged with Classpath. | |
17909 | * java/awt/MenuContainer.java: Merged with Classpath. | |
17910 | * java/awt/Menu.java: Merged with Classpath. | |
17911 | * java/awt/MediaEntry.java: New file from Classpath. | |
17912 | * java/awt/MediaTracker.java: New file from Classpath. | |
17913 | * java/awt/List.java: Merged with Classpath version. | |
17914 | * java/awt/Insets.java: Merged with Classpath version. | |
17915 | * java/awt/ImageMediaEntry.java: New file from Classpath. | |
17916 | * java/awt/Image.java: Replaced with Classpath version. | |
17917 | * java/awt/FontMetrics.java: Merged with Classpath version. | |
17918 | * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR | |
17919 | constant. | |
17920 | * java/awt/Font.java: Merged with Classpath version. | |
17921 | * java/awt/Dialog.java: Merged with Classpath version. | |
17922 | * java/awt/Color.java: Merged with Classpath version. | |
17923 | * java/awt/Choice.java: Merged with Classpath version. | |
17924 | * java/awt/CheckboxMenuItem.java: Merged with Classpath version. | |
17925 | * java/awt/Adjustable.java: Replace with Classpath version. | |
17926 | * java/awt/MenuItem.java (paramString): Don't include class name | |
17927 | or brackets. Call superclass paramString. | |
17928 | * java/awt/MenuComponent.java (toString): Call paramString. | |
17929 | (paramString): Compute string; don't call toString. | |
17930 | * java/awt/Label.java (paramString): Don't include class name | |
17931 | or brackets. Call superclass paramString. | |
17932 | * java/awt/Checkbox.java (paramString): Don't include class name | |
17933 | or brackets. Call superclass paramString. | |
17934 | * java/awt/Button.java (paramString): Don't include class name or | |
17935 | brackets. Call superclass paramString. | |
17936 | * java/awt/MenuComponent.java (getTreeLock): Now protected. | |
17937 | ||
464115ce AS |
17938 | 2002-01-20 Andreas Schwab <schwab@suse.de> |
17939 | ||
17940 | * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of | |
17941 | function and of parameter recv_func to ssize_t, as specified by | |
17942 | POSIX. | |
17943 | ||
e5550355 PB |
17944 | 2002-01-19 Per Bothner <per@bothner.com> |
17945 | ||
17946 | * java/util/zip/ZipOutputStream.java (putNextEntry): Clear | |
17947 | uncompressed_size in readiness for next entry. | |
17948 | ||
80d1ee91 TT |
17949 | 2002-01-18 Tom Tromey <tromey@redhat.com> |
17950 | ||
17951 | * java/net/natPlainSocketImpl.cc: Include | |
17952 | IllegalArgumentException.h. | |
17953 | (_Jv_recv): New template function. | |
17954 | (BooleanClass): Removed. | |
17955 | (read): Use _Jv_recv. | |
17956 | (setOption): Use Boolean::class$. Throw exception if object is | |
17957 | not Boolean or Integer. | |
17958 | ||
c56664e0 TT |
17959 | 2002-01-17 Tom Tromey <tromey@redhat.com> |
17960 | ||
10185e38 TT |
17961 | * java/awt/MenuComponent.java: Merged with Classpath. |
17962 | * java/awt/MenuItem.java: Merged with Classpath. | |
17963 | * java/awt/Button.java: Merged with Classpath. | |
17964 | ||
16348d58 TT |
17965 | * java/awt/ActiveEvent.java: Updated copyright. |
17966 | ||
c56664e0 TT |
17967 | * java/awt/AWTError.java: Replaced with Classpath version. |
17968 | * java/awt/AWTException.java: Replaced with Classpath version. | |
17969 | * java/awt/IllegalComponentStateException.java: Replaced with | |
17970 | Classpath version. | |
17971 | ||
54c5eaff TT |
17972 | 2002-01-16 Tom Tromey <tromey@redhat.com> |
17973 | ||
4cd53341 TT |
17974 | * java/awt/Canvas.java (serialVersionUID): New constant. |
17975 | Updated copyright. Added javadoc from Classpath. | |
17976 | * java/awt/ItemSelectable.java: Replaced with Classpath version. | |
17977 | ||
d8d27d73 TT |
17978 | * java/awt/CheckboxGroup.java: Merged with Classpath. |
17979 | * java/awt/Checkbox.java: Merged with Classpath. | |
17980 | ||
a82484a6 TT |
17981 | * java/awt/Dimension.java: Updated copyright. Added javadoc from |
17982 | Classpath. | |
17983 | * java/awt/Point.java: Updated copyright. | |
17984 | ||
a53c400d TT |
17985 | * java/awt/Point.java (toString): Use getClass().getName(). |
17986 | Added javadoc. | |
17987 | ||
510e2832 TT |
17988 | * java/util/IdentityHashMap.java (IdentityHashMap): Removed |
17989 | commented code. | |
17990 | (hash): Correctly compute initial value for `h'. | |
17991 | ||
54c5eaff TT |
17992 | * java/awt/Label.java: Merged with Classpath. |
17993 | ||
3bd483f2 TT |
17994 | 2002-01-15 Tom Tromey <tromey@redhat.com> |
17995 | ||
7adf7680 TT |
17996 | * java/awt/AWTPermission.java: Updated copyright. |
17997 | ||
0e1c7a5f TT |
17998 | * java/awt/LayoutManager2.java: Merged with Classpath. |
17999 | * java/awt/LayoutManager.java: Merged with Classpath. | |
18000 | * java/awt/GridLayout.java: Updated copyright and javadoc. | |
18001 | (getSize): Use `parent.ncomponents'. Handle insets. | |
18002 | (layoutContainer): Use `parent.ncomponents'. Handle case where | |
18003 | there are fewer children than columns. Correctly compute size of | |
18004 | each cell in the grid. Handle case where there isn't enough | |
18005 | space. | |
18006 | * java/awt/CardLayout.java (tab): Renamed from `map'. Updated | |
18007 | all users. | |
18008 | (gotoComponent): Use parent.ncomponents. Ensure child exists | |
18009 | before calling setVisible() on it. Last item is `num - 1', not | |
18010 | `num'. | |
18011 | (layoutContainer): Hoist invariants out of loop. | |
18012 | ||
3bd483f2 TT |
18013 | Start of AWT merge with Classpath: |
18014 | * Makefile.in: Rebuilt. | |
18015 | * Makefile.am (awt_java_source_files): Reference files in | |
18016 | gnu/java/awt, not gnu/gcj/awt. | |
18017 | * java/awt/image/BufferedImage.java: Updated copyright. | |
18018 | * java/awt/image/ComponentColorModel.java: Updated copyright. | |
18019 | * java/awt/image/ComponentSampleModel.java: Updated copyright. | |
18020 | * java/awt/image/DataBuffer.java: Updated copyright. | |
18021 | * java/awt/image/DataBufferByte.java: Updated copyright. | |
18022 | * java/awt/image/DataBufferInt.java: Updated copyright. | |
18023 | * java/awt/image/DataBufferUShort.java: Updated copyright. | |
18024 | * java/awt/image/IndexColorModel.java: Updated copyright. | |
18025 | * java/awt/image/PackedColorModel.java: Updated copyright. | |
18026 | * java/awt/image/Raster.java: Updated copyright. | |
18027 | * java/awt/image/RasterOp.java: Updated copyright. | |
18028 | * java/awt/image/SampleModel.java: Updated copyright. | |
18029 | * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright. | |
18030 | * java/awt/image/WritableRaster.java: Updated copyright. | |
18031 | * java/awt/color/ColorSpace.java: Updated copyright. | |
18032 | * java/awt/color/ICC_ColorSpace.java: Updated copyright | |
18033 | * java/awt/color/ICC_Profile.java: Updated copyright. | |
18034 | * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright. | |
18035 | * java/awt/event/HierarchyBoundsListener.java: Updated copyright. | |
18036 | * java/awt/event/HierarchyEvent.java: Updated copyright. | |
18037 | * java/awt/event/HierarchyListener.java: Updated copyright. | |
18038 | * java/awt/geom/AffineTransform.java: Updated copyright. | |
18039 | * java/awt/geom/Dimension2D.java: Updated copyright. | |
18040 | * java/awt/geom/Ellipse2D.java: Updated copyright. | |
18041 | * java/awt/geom/IllegalPathStateException.java: Updated copyright. | |
18042 | * java/awt/geom/Line2D.java: Updated copyright. | |
18043 | * java/awt/geom/NoninvertibleTransformException.java: Updated | |
18044 | copyright. | |
18045 | * java/awt/geom/PathIterator.java: Updated copyright. | |
18046 | * java/awt/geom/Point2D.java: Updated copyright. | |
18047 | * java/awt/geom/Rectangle2D.java: Updated copyright. | |
18048 | * java/awt/geom/RectangularShape.java: Updated copyright. | |
18049 | * java/awt/geom/RoundRectangle2D.java: Updated copyright. | |
18050 | * java/awt/Toolkit.java: Updated import for file moves. | |
18051 | * java/awt/Rectangle.java: Updated copyright; added javadoc from | |
18052 | Classpath. | |
18053 | (hashCode): New method from Classpath. | |
18054 | * java/awt/Graphics2D.java: Updated copyright. | |
18055 | * java/awt/Transparency.java: Updated copyright. | |
18056 | * java/awt/Paint.java: Updated copyright. | |
18057 | * java/awt/Graphics.java: New version from Classpath. | |
18058 | * java/awt/EventDispatchThread.java: Updated copyright. | |
18059 | * java/awt/CardLayout.java (layoutContainer): Don't skip invisible | |
18060 | children. | |
18061 | (gotoComponent): Wrap around on next/previous. | |
18062 | * gnu/gcj/awt/BitMaskExtent.java: Removed. | |
18063 | * gnu/gcj/awt/Buffers.java: Removed. | |
18064 | * gnu/gcj/awt/ComponentDataBlitOp.java: Removed. | |
18065 | * gnu/gcj/awt/GLightweightPeer.java: Removed. | |
18066 | * gnu/java/awt/BitMaskExtent.java: Added. | |
18067 | * gnu/java/awt/Buffers.java: Added. | |
18068 | * gnu/java/awt/ComponentDataBlitOp.java: Added. | |
18069 | * gnu/java/awt/GLightweightPeer.java: Added. | |
18070 | * java/awt/geom/Line2D.java (clone): Ignore | |
18071 | CloneNotSupportedException. | |
18072 | * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method. | |
18073 | * java/awt/Frame.java: Merged with Classpath. | |
18074 | * java/awt/RenderingHints.java: Copyright update. | |
18075 | * java/awt/Paint.java: Copyright update. | |
18076 | * java/awt/image/DirectColorModel.java: Merged with Classpath. | |
18077 | * java/awt/image/ColorModel.java: Merged with Classpath. | |
18078 | * java/awt/Window.java (show): New Implementation from Classpath. | |
18079 | (isShowing): Use super.isShowing(). | |
18080 | * java/awt/EventQueue.java: Merged with Classpath. | |
18081 | * java/awt/AWTEventMulticaster.java (save): Throw | |
18082 | RuntimeException. | |
18083 | (saveInternal): Likewise. | |
18084 | * java/awt/AWTEvent.java: Now implements Serializable. | |
18085 | * java/awt/Event.java: Copyright update. | |
18086 | * java/awt/peer/ComponentPeer.java: Merged with Classpath. | |
18087 | * java/awt/image/BufferedImage.java: Copyright update. | |
18088 | * java/awt/GraphicsConfiguration.java: Copyright update. | |
18089 | * java/awt/Component.java: (addNotify): Don't call | |
18090 | addNotifyContainerChildren(). | |
18091 | (addNotifyContainerChildren): Removed. | |
18092 | (setPeer): New method from Classpath. | |
18093 | (setTreeLock): Likewise. | |
18094 | (setVisible): Rewrote. | |
18095 | (show): Use it. | |
18096 | (hide): Likewise. | |
18097 | (validate): Set `valid'. | |
18098 | (checkImage(Image,ImageObserver)): Implementation from Classpath. | |
18099 | (createImage(ImageProducer)): Likewise. | |
18100 | (prepareImage): Likewise. | |
18101 | * java/awt/Container.java (addImpl): Handle case where constraint | |
18102 | is not a String. Post event via system event queue. | |
18103 | (remove): Post event via system event queue. | |
18104 | (validateTree): Only validate child if it is invalid. | |
18105 | (getAlignmentX): Call super method as default. | |
18106 | (getAlignmentY): Likewise. | |
18107 | (addContainerListener): Now synchronized. | |
18108 | (removeContainerListener): Likewise. | |
18109 | (addNotifyContainerChildren): Now private. | |
18110 | * java/awt/ComponentOrientation.java: Updated copyright. Added | |
18111 | @author. | |
18112 | * java/awt/FlowLayout.java (serialVersionUID): New field. | |
18113 | (setAlignment): Better exception message. | |
18114 | (layoutContainer): Don't compute component's preferred size unless | |
18115 | we're going to use it. | |
18116 | * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS, | |
18117 | BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants. | |
18118 | (firstLine, lastLine, firstItem, lastItem): New fields. | |
18119 | (addLayoutComponent): Handle case where constraints is null. | |
18120 | Also, handle relative locations. | |
18121 | (removeLayoutComponent): Handle relative locations. | |
18122 | (MIN, MAX, PREF): New constants. | |
18123 | (calcCompSize): New method. | |
18124 | (calcSize): New method. | |
18125 | (minimumLayoutSize): Use it. | |
18126 | (preferredLayoutSize): Likewise. | |
18127 | (maximumLayoutSize): Likewise. | |
18128 | (toString): Include more information. | |
18129 | (setBounds): New method. | |
18130 | (layoutContainer): Use libgcj implementation; extended to handle | |
18131 | relative locations. | |
18132 | ||
c342f126 TT |
18133 | 2002-01-15 Tom Tromey <tromey@redhat.com> |
18134 | ||
18135 | * java/lang/Float.java (equals): Preserve old code. | |
18136 | * java/lang/Double.java (equals): Preserve old code. | |
18137 | ||
18138 | 2002-01-15 Eric Blake <ebb9@email.byu.edu> | |
18139 | ||
18140 | * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math. | |
18141 | * java/lang/Float.java (equals, compare): Ditto. | |
18142 | ||
1536ef88 MW |
18143 | 2002-01-13 Mark Wielaard <mark@klomp.org> |
18144 | ||
18145 | * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method. | |
18146 | * java/net/DatagramSocket.java (getSendBufferSize): Likewise. | |
18147 | * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise. | |
18148 | * java/net/DatagramSocket.java (setSendBufferSize): Likewise. | |
18149 | ||
9566a90c MW |
18150 | 2002-01-11 Mark Wielaard <mark@klomp.org> |
18151 | ||
18152 | * java/net/InetAddress.java (ANY_IF): moved from ServerSocket. | |
18153 | * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from | |
18154 | InetAddress. | |
18155 | * java/net/MulticastSocket.java (MulticastSocket): Likewise. | |
18156 | * java/net/Socket.java: Merge with Classpath. | |
18157 | * java/net/ServerSocket.java: Likewise. | |
18158 | ||
cec71868 CS |
18159 | 2002-01-11 Chris Sears <cbsears_sf@yahoo.com> |
18160 | ||
18161 | * interpret.cc (NULLARRAYCHECK): New macro. | |
18162 | (SAVE_PC): Just store `pc'. | |
18163 | (find_exception): Subtract one from `pc' here. | |
18164 | (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload, | |
18165 | insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore, | |
18166 | insn_lastore, insn_fastore, insn_dastore, insn_aastore, | |
18167 | insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and | |
18168 | don't call SAVE_PC. | |
18169 | (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't | |
18170 | call SAVE_PC. | |
18171 | ||
999825b0 TT |
18172 | 2002-01-11 Tom Tromey <tromey@redhat.com> |
18173 | ||
18174 | * java/lang/natSystem.cc (init_properties): Only look for default | |
18175 | locale if LC_MESSAGES is defined. | |
18176 | * aclocal.m4, configure, include/config.h.in: Rebuilt. | |
18177 | * configure.in: Call AM_LC_MESSAGES. | |
18178 | * acinclude.m4 (AM_LC_MESSAGES): New macro. | |
18179 | ||
ac2ee9b7 TT |
18180 | 2002-01-10 Tom Tromey <tromey@redhat.com> |
18181 | ||
18182 | For PR libgcj/5303: | |
18183 | * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and | |
18184 | --version. Recognize GNU-style long options. Print GNU-style | |
18185 | error messages. | |
18186 | (usage): Print GNU-style help. Exit with status 0. | |
18187 | (error): New method. | |
18188 | (run): Print error message if no class names found. | |
18189 | (main): Don't print usage on error. | |
18190 | ||
54a8a50f TT |
18191 | 2002-01-09 Tom Tromey <tromey@redhat.com> |
18192 | ||
346a81f0 TT |
18193 | * gnu/gcj/convert/Convert.java (version): Use java.vm.name |
18194 | property. | |
18195 | (help, version): Use println(), not println(""). | |
18196 | ||
54a8a50f TT |
18197 | For PR libgcj/5303: |
18198 | * gnu/gcj/convert/Convert.java (error): Program is called | |
18199 | `jv-convert'. Print GNU-style message. Exit with status 1, not | |
18200 | -1. | |
18201 | (main): Handle --help and --version. | |
18202 | (help): New method. | |
18203 | (version): Likewise. | |
18204 | ||
1e7fcb11 TT |
18205 | 2002-01-08 Tom Tromey <tromey@redhat.com> |
18206 | ||
35484f77 TT |
18207 | * Makefile.in: Rebuilt. |
18208 | * Makefile.am (ordinary_java_source_files): Added new files. | |
18209 | * gnu/java/locale/LocaleInformation.java: Extend | |
18210 | LocaleInformation_en. | |
18211 | * gnu/java/locale/LocaleInformation_en.java: Added zone strings | |
18212 | and time/date formats. | |
18213 | * gnu/java/locale/LocaleInformation_en_US.java: Now automatically | |
18214 | generated. | |
18215 | * gnu/java/locale/LocaleInformation_af_ZA.java: New file. | |
18216 | * gnu/java/locale/LocaleInformation_ar_AE.java: New file. | |
18217 | * gnu/java/locale/LocaleInformation_ar_BH.java: New file. | |
18218 | * gnu/java/locale/LocaleInformation_ar_DZ.java: New file. | |
18219 | * gnu/java/locale/LocaleInformation_ar_EG.java: New file. | |
18220 | * gnu/java/locale/LocaleInformation_ar_IN.java: New file. | |
18221 | * gnu/java/locale/LocaleInformation_ar_IQ.java: New file. | |
18222 | * gnu/java/locale/LocaleInformation_ar_JO.java: New file. | |
18223 | * gnu/java/locale/LocaleInformation_ar_KW.java: New file. | |
18224 | * gnu/java/locale/LocaleInformation_ar_LB.java: New file. | |
18225 | * gnu/java/locale/LocaleInformation_ar_LY.java: New file. | |
18226 | * gnu/java/locale/LocaleInformation_ar_MA.java: New file. | |
18227 | * gnu/java/locale/LocaleInformation_ar_OM.java: New file. | |
18228 | * gnu/java/locale/LocaleInformation_ar_QA.java: New file. | |
18229 | * gnu/java/locale/LocaleInformation_ar_SD.java: New file. | |
18230 | * gnu/java/locale/LocaleInformation_ar_SY.java: New file. | |
18231 | * gnu/java/locale/LocaleInformation_ar_TN.java: New file. | |
18232 | * gnu/java/locale/LocaleInformation_ar_YE.java: New file. | |
18233 | * gnu/java/locale/LocaleInformation_be_BY.java: New file. | |
18234 | * gnu/java/locale/LocaleInformation_bn_IN.java: New file. | |
18235 | * gnu/java/locale/LocaleInformation_br_FR.java: New file. | |
18236 | * gnu/java/locale/LocaleInformation_bs_BA.java: New file. | |
18237 | * gnu/java/locale/LocaleInformation_ca_ES.java: New file. | |
18238 | * gnu/java/locale/LocaleInformation_cs_CZ.java: New file. | |
18239 | * gnu/java/locale/LocaleInformation_cy_GB.java: New file. | |
18240 | * gnu/java/locale/LocaleInformation_da_DK.java: New file. | |
18241 | * gnu/java/locale/LocaleInformation_de_AT.java: New file. | |
18242 | * gnu/java/locale/LocaleInformation_de_BE.java: New file. | |
18243 | * gnu/java/locale/LocaleInformation_de_CH.java: New file. | |
18244 | * gnu/java/locale/LocaleInformation_de_DE.java: New file. | |
18245 | * gnu/java/locale/LocaleInformation_de_LU.java: New file. | |
18246 | * gnu/java/locale/LocaleInformation_el_GR.java: New file. | |
18247 | * gnu/java/locale/LocaleInformation_en_AU.java: New file. | |
18248 | * gnu/java/locale/LocaleInformation_en_BW.java: New file. | |
18249 | * gnu/java/locale/LocaleInformation_en_CA.java: New file. | |
18250 | * gnu/java/locale/LocaleInformation_en_DK.java: New file. | |
18251 | * gnu/java/locale/LocaleInformation_en_GB.java: New file. | |
18252 | * gnu/java/locale/LocaleInformation_en_HK.java: New file. | |
18253 | * gnu/java/locale/LocaleInformation_en_IE.java: New file. | |
18254 | * gnu/java/locale/LocaleInformation_en_IN.java: New file. | |
18255 | * gnu/java/locale/LocaleInformation_en_NZ.java: New file. | |
18256 | * gnu/java/locale/LocaleInformation_en_PH.java: New file. | |
18257 | * gnu/java/locale/LocaleInformation_en_SG.java: New file. | |
18258 | * gnu/java/locale/LocaleInformation_en_ZA.java: New file. | |
18259 | * gnu/java/locale/LocaleInformation_en_ZW.java: New file. | |
18260 | * gnu/java/locale/LocaleInformation_es_AR.java: New file. | |
18261 | * gnu/java/locale/LocaleInformation_es_BO.java: New file. | |
18262 | * gnu/java/locale/LocaleInformation_es_CL.java: New file. | |
18263 | * gnu/java/locale/LocaleInformation_es_CO.java: New file. | |
18264 | * gnu/java/locale/LocaleInformation_es_CR.java: New file. | |
18265 | * gnu/java/locale/LocaleInformation_es_DO.java: New file. | |
18266 | * gnu/java/locale/LocaleInformation_es_EC.java: New file. | |
18267 | * gnu/java/locale/LocaleInformation_es_ES.java: New file. | |
18268 | * gnu/java/locale/LocaleInformation_es_GT.java: New file. | |
18269 | * gnu/java/locale/LocaleInformation_es_HN.java: New file. | |
18270 | * gnu/java/locale/LocaleInformation_es_MX.java: New file. | |
18271 | * gnu/java/locale/LocaleInformation_es_NI.java: New file. | |
18272 | * gnu/java/locale/LocaleInformation_es_PA.java: New file. | |
18273 | * gnu/java/locale/LocaleInformation_es_PE.java: New file. | |
18274 | * gnu/java/locale/LocaleInformation_es_PR.java: New file. | |
18275 | * gnu/java/locale/LocaleInformation_es_PY.java: New file. | |
18276 | * gnu/java/locale/LocaleInformation_es_SV.java: New file. | |
18277 | * gnu/java/locale/LocaleInformation_es_US.java: New file. | |
18278 | * gnu/java/locale/LocaleInformation_es_UY.java: New file. | |
18279 | * gnu/java/locale/LocaleInformation_es_VE.java: New file. | |
18280 | * gnu/java/locale/LocaleInformation_et_EE.java: New file. | |
18281 | * gnu/java/locale/LocaleInformation_eu_ES.java: New file. | |
18282 | * gnu/java/locale/LocaleInformation_fa_IR.java: New file. | |
18283 | * gnu/java/locale/LocaleInformation_fi_FI.java: New file. | |
18284 | * gnu/java/locale/LocaleInformation_fo_FO.java: New file. | |
18285 | * gnu/java/locale/LocaleInformation_fr_BE.java: New file. | |
18286 | * gnu/java/locale/LocaleInformation_fr_CA.java: New file. | |
18287 | * gnu/java/locale/LocaleInformation_fr_CH.java: New file. | |
18288 | * gnu/java/locale/LocaleInformation_fr_FR.java: New file. | |
18289 | * gnu/java/locale/LocaleInformation_fr_LU.java: New file. | |
18290 | * gnu/java/locale/LocaleInformation_ga_IE.java: New file. | |
18291 | * gnu/java/locale/LocaleInformation_gd_GB.java: New file. | |
18292 | * gnu/java/locale/LocaleInformation_gl_ES.java: New file. | |
18293 | * gnu/java/locale/LocaleInformation_gv_GB.java: New file. | |
18294 | * gnu/java/locale/LocaleInformation_he_IL.java: New file. | |
18295 | * gnu/java/locale/LocaleInformation_hi_IN.java: New file. | |
18296 | * gnu/java/locale/LocaleInformation_hr_HR.java: New file. | |
18297 | * gnu/java/locale/LocaleInformation_hu_HU.java: New file. | |
18298 | * gnu/java/locale/LocaleInformation_id_ID.java: New file. | |
18299 | * gnu/java/locale/LocaleInformation_it_CH.java: New file. | |
18300 | * gnu/java/locale/LocaleInformation_it_IT.java: New file. | |
18301 | * gnu/java/locale/LocaleInformation_iw_IL.java: New file. | |
18302 | * gnu/java/locale/LocaleInformation_ja_JP.java: New file. | |
18303 | * gnu/java/locale/LocaleInformation_ka_GE.java: New file. | |
18304 | * gnu/java/locale/LocaleInformation_kl_GL.java: New file. | |
18305 | * gnu/java/locale/LocaleInformation_ko_KR.java: New file. | |
18306 | * gnu/java/locale/LocaleInformation_kw_GB.java: New file. | |
18307 | * gnu/java/locale/LocaleInformation_lt_LT.java: New file. | |
18308 | * gnu/java/locale/LocaleInformation_lv_LV.java: New file. | |
18309 | * gnu/java/locale/LocaleInformation_mi_NZ.java: New file. | |
18310 | * gnu/java/locale/LocaleInformation_mk_MK.java: New file. | |
18311 | * gnu/java/locale/LocaleInformation_mr_IN.java: New file. | |
18312 | * gnu/java/locale/LocaleInformation_mt_MT.java: New file. | |
18313 | * gnu/java/locale/LocaleInformation_nl_BE.java: New file. | |
18314 | * gnu/java/locale/LocaleInformation_nl_NL.java: New file. | |
18315 | * gnu/java/locale/LocaleInformation_nn_NO.java: New file. | |
18316 | * gnu/java/locale/LocaleInformation_no_NO.java: New file. | |
18317 | * gnu/java/locale/LocaleInformation_oc_FR.java: New file. | |
18318 | * gnu/java/locale/LocaleInformation_pl_PL.java: New file. | |
18319 | * gnu/java/locale/LocaleInformation_pt_BR.java: New file. | |
18320 | * gnu/java/locale/LocaleInformation_pt_PT.java: New file. | |
18321 | * gnu/java/locale/LocaleInformation_ro_RO.java: New file. | |
18322 | * gnu/java/locale/LocaleInformation_ru_RU.java: New file. | |
18323 | * gnu/java/locale/LocaleInformation_ru_UA.java: New file. | |
18324 | * gnu/java/locale/LocaleInformation_se_NO.java: New file. | |
18325 | * gnu/java/locale/LocaleInformation_sk_SK.java: New file. | |
18326 | * gnu/java/locale/LocaleInformation_sl_SI.java: New file. | |
18327 | * gnu/java/locale/LocaleInformation_sq_AL.java: New file. | |
18328 | * gnu/java/locale/LocaleInformation_sr_YU.java: New file. | |
18329 | * gnu/java/locale/LocaleInformation_sv_FI.java: New file. | |
18330 | * gnu/java/locale/LocaleInformation_sv_SE.java: New file. | |
18331 | * gnu/java/locale/LocaleInformation_ta_IN.java: New file. | |
18332 | * gnu/java/locale/LocaleInformation_te_IN.java: New file. | |
18333 | * gnu/java/locale/LocaleInformation_tg_TJ.java: New file. | |
18334 | * gnu/java/locale/LocaleInformation_tl_PH.java: New file. | |
18335 | * gnu/java/locale/LocaleInformation_tr_TR.java: New file. | |
18336 | * gnu/java/locale/LocaleInformation_uk_UA.java: New file. | |
18337 | * gnu/java/locale/LocaleInformation_ur_PK.java: New file. | |
18338 | * gnu/java/locale/LocaleInformation_uz_UZ.java: New file. | |
18339 | * gnu/java/locale/LocaleInformation_vi_VN.java: New file. | |
18340 | * gnu/java/locale/LocaleInformation_yi_US.java: New file. | |
18341 | * gnu/java/locale/LocaleInformation_zh_CN.java: New file. | |
18342 | * gnu/java/locale/LocaleInformation_zh_HK.java: New file. | |
18343 | * gnu/java/locale/LocaleInformation_zh_SG.java: New file. | |
18344 | * gnu/java/locale/LocaleInformation_zh_TW.java: New file. | |
18345 | ||
d9df09cc TT |
18346 | For PR libgcj/5031: |
18347 | * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to | |
18348 | choose default locale. | |
18349 | ||
1e7fcb11 TT |
18350 | * Makefile.in: Rebuilt. |
18351 | * Makefile.am (jv_convert_LDADD): Removed convert_source_files. | |
18352 | ||
54d9d34a | 18353 | 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk> |
2b521fa7 NF |
18354 | |
18355 | * java/net/natPlainSocketImpl.cc: Added timeout handling for | |
18356 | sockets. | |
18357 | (close): New function closes the socket. | |
18358 | (write): New functions for output to socket. | |
18359 | (read): New functions for reading from socket. | |
18360 | * java/net/PlainSocketImpl.java: Glue for new timeout | |
18361 | implementation. | |
18362 | (write): Call the native impl. | |
18363 | (read): Likewise. | |
18364 | (getInputStream): Get a stream to read from the socket. | |
18365 | (getOutputStream): Get a stream to write to the socket. | |
18366 | ||
bd917d3a TT |
18367 | 2002-01-08 Tom Tromey <tromey@redhat.com> |
18368 | ||
18369 | * resolve.cc (_Jv_PrepareClass): Enable verifier. | |
18370 | ||
66839ef6 AT |
18371 | 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch> |
18372 | ||
18373 | * java/lang/reflect/natMethod.cc: Don't include alloca.h. | |
18374 | (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca. | |
18375 | ||
00cc944d CS |
18376 | 2002-01-08 Chris Sears <cbsears_sf@yahoo.com> |
18377 | ||
18378 | * interpret.cc (ARRAYBOUNDSCHECK): New macro. | |
18379 | (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload, | |
18380 | insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore, | |
18381 | insn_lastore, insn_fastore, insn_dastore, insn_aastore, | |
18382 | insn_bastore, insn_castore, insn_sastore]: Use it. | |
18383 | (continue1) [insn_arraylength]: Check for null array. | |
18384 | ||
ebecd56d AT |
18385 | 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch> |
18386 | ||
18387 | * configure, include/config.h.in: Rebuilt. | |
18388 | * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE. | |
18389 | * configure.in: Call AC_STRUCT_TIMEZONE. | |
18390 | ||
c6c3221d AT |
18391 | 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch> |
18392 | ||
18393 | * configure.host: Disable the interpreter for Darwin. | |
18394 | ||
81550d0e TT |
18395 | 2002-01-04 Tom Tromey <tromey@redhat.com> |
18396 | ||
18397 | * java/lang/Thread.java (stop): No longer synchronized. | |
18398 | (start): Likewise. | |
18399 | ||
95574a4c TT |
18400 | 2002-01-02 Tom Tromey <tromey@redhat.com> |
18401 | ||
18402 | * java/lang/ieeefp.h: Fix bug in my hand-application of previous | |
18403 | patch. | |
18404 | ||
0beb74f2 AP |
18405 | 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu> |
18406 | ||
18407 | * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for | |
18408 | PPC Darwin, not for all of Darwin. |