OSDN Git Service

Another newlib fix.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-09-22  Anthony Green  <green@redhat.com>
2
3         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4         * configure: Rebuilt.
5
6 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
7
8         PR java/12350:
9         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
10
11 2003-09-22  Michael Koch  <konqueror@gmx.de>
12
13         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
14         compiler warning but produces a different one now.
15
16 2003-09-22  Michael Koch  <konqueror@gmx.de>
17
18         * java/net/InetAddress.java:
19         Moves around some code, reformats and adds documentation.
20         No functional changes.
21
22 2003-09-22  Michael Koch  <konqueror@gmx.de>
23
24         * java/net/JarURLConnection.java
25         (JarURLConnection): Modifed code to match classpath more, fixed comment.
26         (getCertificates): Made it more error prone.
27         (getMainAttributes): Likewise.
28         (getAttributes): Implemented.
29         (getManifest): Reformatted code.
30
31 2003-09-20  Tom Tromey  <tromey@redhat.com>
32
33         * java/awt/Component.java: Indentation cleanup from Classpath.
34
35 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
36
37        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
38        checking to follow 1.4.2 spec.
39
40 2003-08-11  Ingo Proetel  <proetel@aicas.com>
41
42         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
43         is compatible in case client and server are running in the same VM
44         (remerged from Classpath on 2003-09-20)
45
46 2003-09-19  David Daney <ddaney@avtrex.com>
47
48         * java/lang/ref/Reference.java (clear): Set referent to null and
49         synchronize.
50
51 2003-09-19  Michael Koch  <konqueror@gmx.de>
52
53         * gnu/java/nio/NIODatagramSocket.java,
54         gnu/java/nio/NIOSocket.java: New files.
55         * Makefile.am (ordinary_java_source_files):
56         Added gnu/java/nio/NIODatagramSocket.java and
57         gnu/java/nio/NIOSocket.java.
58         * Makefile.in: Regenerated.
59
60 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
61
62         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
63         top-level GTK window.
64         (getArgs): Add "title" property.
65         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
66         "allow_shrink" and "allow_grow" properties.
67         * java/awt/Dialog.java: Initialize resizable to true and change
68         comments accordingly.  Initialize visible to false in
69         constructors.
70         * java/awt/Frame.java (dispose): Remove method.
71         * java/awt/Window.java (ownedWindows): New field.
72         (Window(Window,GraphicsConfiguration)): Add a weak reference to
73         owner's ownedWindows vector.
74         (finalize): Remove method.
75         (hide): Hide owned windows.
76         (dispose): Dispose of owned windows.
77         (getOwnedWindows): Implement.
78         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
79         unused GtkArg code.
80         (set(String,boolean)): Clamp gboolean parameter to g_object_set
81         to TRUE or FALSE.
82         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
83         (create): Set window's size requisition.
84         (connectHooks): Fix indentation.
85         (setResizable): Remove function.
86         (static setBounds): Likewise.
87         (setBounds): Replace call to setBounds with GTK size requisition
88         and resize calls.
89
90 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
91
92         * win32-threads.cc: (ensure_interrupt_event_initialized) New
93         function for lazy initialization of an auto-reset event.
94         (_Jv_CondWait) Added thread interrupt support.
95         (_Jv_ThreadInitData) Added initialization of interrupt support
96         members.
97         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
98         (_Jv_ThreadStart) Removed unused code.
99         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
100         to an external caller.
101         (_Jv_ThreadInterrupt) Implemented.
102         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
103         event for interrupt support as well as a mutex which regulates
104         access to this.
105         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
106         event to an external caller.
107         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
108         process.
109         (waitFor) Added interrupt support.
110
111 2003-09-19  Michael Koch  <konqueror@gmx.de>
112
113         * java/net/DatagramSocket.java (getLocalAddress):
114         Renamed result variable to localAddr.
115         * java/net/MulticastSocket.java:
116         No need to import gnu.java.net.PlainDatagramSocketImpl.
117
118 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
119
120         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
121         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
122
123 2003-09-18  Tom Tromey  <tromey@redhat.com>
124
125         * javax/naming/InitialContext.java: Reindented.
126
127 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
128             Helmer Kraemer <hkraemer@freenet.de>
129
130         * javax/naming/spi/NamingManager.java (getURLContext,
131         getObjectInstance, getStateToBind): Always use current thread's
132         context class loader when calling Class.forName.
133
134 2003-09-18  Michael Koch  <konqueror@gmx.de>
135
136         * java/util/Timer.java (finalize): Added "throws Throwable".
137
138 2003-09-18  Michael Koch  <konqueror@gmx.de>
139
140         * java/net/DatagramSocket.java
141         (ch): Removed.
142         (receive): Use getChannel() instead of ch.
143         (send): Likewise.
144         (getChannel): Return null.
145         * java/net/ServerSocket.java
146         (ch): Removed.
147         (setChannel): Removed.
148         (implAccept): Use getChannel() instead of ch.
149         (close): Likewise.
150         (getChannel): Return null.
151         * java/net/Socket.java
152         (ch): Removed.
153         (connect): Use getChannel() instead of ch.
154         (setChannel): Removed.
155         (getChannel): Return null.
156
157 2003-09-18  Mark Wielaard  <mark@klomp.org>
158
159         Reported by Guilhem Lavaux and Julian Dolby
160         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
161         field "serialPersistentFields", not "getSerialPersistentFields".
162
163 2003-09-18  Ingo Proetel  <proetel@aicas.com>
164
165         * java/util/TimeZone.java: Initialize lazily.
166         * java/util/Locale.java (readManifest): Fix check for country.
167         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
168         traceable 
169         * java/util/Calendar.java: Make use of ResourceBundle better
170         traceable.
171
172 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
173
174         * java/sql/Timestamp.java
175         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
176
177 2003-09-18  David P Grove  <groved@us.ibm.com>
178
179         * java/io/LineNumberReader (read): Don't reset pos & limit when
180         markPos is 0.
181
182 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
183
184         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
185         constant.
186         (computeArguments): use computeTypicalArguments.
187
188         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
189         Compile_jikes.java and RMICException.java.
190         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
191         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
192         * gnu/java/rmi/rmic/RMICException.java: Likewise.
193  
194         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
195  
196         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
197         (computeTypicalArguments): New method.
198         (compile): Print compiler output to System.out. Collect compiler
199         error output and use it in exception message.
200  
201         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
202         (destination): Initialize to null.
203         (run): Replace file separator with '.' when processing class.
204         (processClass): Replace '.' with file separator when compiling
205         classes.
206         (findClass): Use SystemClassLoader to load class.
207         (generateStub): Use full class name for generated stub, that puts
208         it in right path.  Replace '.' with file separator when generating
209         stub file name. Write just the stub class name without package
210         information as class name, and constructor name. Write only
211         interface names for interfaces extending java.rmi.Remote as
212         implemented.
213         (generateSkel): Use full class name for generated skel, that puts
214         it in right path.  Replace '.' with file separator when generating
215         stub file name. Write just the stub class name without package
216         information as class name.
217
218 2003-09-18  Michael Koch  <konqueror@gmx.de>
219
220         * Makefile.am (rmi_java_source_files):
221         Added gnu/java/rmi/rmic/Compile_kjc.java,
222         gnu/java/rmi/rmic/Compile_jikes.java and
223         gnu/java/rmi/rmic/RMICException.java
224         * Makefile.in: Regenerated.
225
226 2003-09-17  Graydon Hoare  <graydon@redhat.com>
227
228         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
229         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
230         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
231         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
232         New files.
233
234 2003-09-16  Graydon Hoare  <graydon@redhat.com>
235
236         * java/awt/BufferedImage.java (setData): Support non-component
237         sample models.
238         (getData): Same.
239
240 2003-09-10  Graydon Hoare  <graydon@redhat.com>
241
242         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
243         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
244
245 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
246
247         * configure.in: Standardized help text case of
248         --enable-hash-synchronization
249         New configure switch --enable-libgcj-multifile and corresponding
250         automake conditional ONESTEP.
251         * configure: Rebuilt.
252         * Makefile.am: Use automake conditional ONESTEP to determine
253         whether classfiles should be compiled individually or all
254         at once.
255         * Makefile.in: Rebuilt.
256
257 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
258
259         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
260         Remove method declaration.
261         (create()): Call native create.
262         (create(int)): New method.
263         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
264         (create): Add window_id parameter.  Call gtk_plug_new with
265         window_id parameter.
266         (construct): Remove method implementation.
267
268 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
269
270         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
271         (mostlyclean-local): New target patterned after clean-local
272         which recursively deletes all libtool objects using 'libtool rm'.
273         (clean-local): Slightly modified comment to alleviate monotony.
274         (distclean-local): New target patterned after clean-local
275         which recursively deletes all .d files.
276         * Makefile.in: Rebuilt.
277
278 2003-09-11  Tom Tromey  <tromey@redhat.com>
279
280         * java/net/URLStreamHandler.java (parseURL): If original file
281         ends with "/", so must canonical result.
282         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
283         with nul-termination and finding previous "/".
284
285 2003-09-11  Michael Koch  <konqueror@gmx.de>
286
287         * acconfig.h: Removed most items.
288         * configure.in: Added descriptions to AC_DEFINE macros that where in
289         acconfig.h before.
290         * include/config.h.in: Regenerated.
291
292 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
293
294         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
295         if one is installed. Improve Javadoc.
296         (getSystemEventQueueImpl): Improve Javadoc.
297
298 2003-09-11  Tom Tromey  <tromey@redhat.com>
299
300         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
301         file does not exist.
302
303 2003-09-10  Anthony Green  <green@redhat.com>
304
305         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
306         Specify full name when referencing ::java::net::InetAddress.
307         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
308         Fix argument type.
309
310 2003-09-10  Michael Koch  <konqueror@gmx.de>
311
312         * acconfig.h (__NO_MATH_INLINES): Removed.
313         * configure.in: Removed check for g++ math inlining bug from 2000.
314         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
315         libgcj_cxxflags.
316         * configure: Regenerated.
317
318 2003-09-10  David Daney <ddaney@avtrex.com>
319
320         * java/util/Arrays.java (equals(all variants)): Quit using
321         NullPointerException catching to detect null valued parameters.
322
323 2003-09-10  Michael Koch  <konqueror@gmx.de>
324
325         * java/net/DatagramSocket.java,
326         java/net/MulticastSocket.java,
327         java/net/ServerSocket.java,
328         java/net/Socket.java:
329         Use gnu.java.net.Plain*SocketImpl instead of
330         java.net.PlainSocketImpl.
331         * java/net/PlainDatagramSocketImpl.java,
332         java/net/PlainSocketImpl.java,
333         java/net/SocketInputStream.java,
334         java/net/SocketOutputStream.java,
335         java/net/natPlainDatagramSocketImplNoNet.cc,
336         java/net/natPlainDatagramSocketImplPosix.cc,
337         java/net/natPlainDatagramSocketImplWin32.cc,
338         java/net/natPlainSocketImplNoNet.cc,
339         java/net/natPlainSocketImplPosix.cc,
340         java/net/natPlainSocketImplWin32.cc:
341         Removed.
342         * gnu/java/net/PlainDatagramSocketImpl.java,
343         gnu/java/net/PlainSocketImpl.java,
344         gnu/java/net/SocketInputStream.java,
345         gnu/java/net/SocketOutputStream.java,
346         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
347         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
348         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
349         gnu/java/net/natPlainSocketImplNoNet.cc,
350         gnu/java/net/natPlainSocketImplPosix.cc,
351         gnu/java/net/natPlainSocketImplWin32.cc:
352         New files (moved from java/net).
353         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
354         instead of java/net/natPlain*SocketImpl.cc.
355         * configure: Regenerated.
356         * Makefile.am: Moved files from java/net to gnu/java/net.
357         * Makefile.in: Regenerated.
358
359 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
360
361         * configure: Regenerate.
362
363 2003-09-04  Tom Tromey  <tromey@redhat.com>
364
365         * configure.host: Removed erroneous comment.
366
367         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
368         lvalue cast; use correct rvalue cast.
369
370 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
371
372         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
373         and height arguments to GtkWindowPeer.create method call.
374         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
375         (create(int,int,int)): New method.
376         (create(int)): Add call to new create method.
377         (create()): Add width and height arguments to create method
378         call.
379         (GtkWindowPeer): Remove call to setBounds.
380         * java/awt/Frame.java (Frame(String)): Initialize visible field
381         to false.
382         (Frame(GraphicsConfiguration)): Likewise.
383         (Frame(String,GraphicsConfiguration)): Likewise.
384         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
385         Add width and height parameters.  Call
386         gtk_window_set_default_size.
387         (connectHooks): Remove unused name variable.
388         (static setBounds): Call gtk_window_resize not
389         gtk_widget_set_usize.
390         (setBounds): Remove unused nchildren variable.
391
392 2003-08-31  Ingo Proetel  <proetel@aicas.com>
393
394         * java/util/logging/Logger.java: provide class and method information
395         * java/util/logging/LogManager.java: create handlers
396         * java/util/logging/SimpleFormatter.java: print souceClassName and
397         sourceMethodName
398
399 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
400
401         * win32.cc: fixed tab, indentation and whitespace
402         inconsistencies
403         removed jvm.h include
404         added includes java/lang/UnsupportedOperationException.h,
405         java/io/IOException.h, java/net/SocketException.h
406         (WSAEventWrapper): class implementation
407         (_Jv_WinStrError): implemented both overloads
408         (_Jv_ThrowIOException): implemented both overloads
409         (_Jv_ThrowSocketException): implemented both overloads
410         (_Jv_select): implemented
411         * include/win32.h: fixed tab, indentation and whitespace
412         inconsistencies
413         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
414         added jvm.h include
415         (WSAEventWrapper): added class declaration
416         (_Jv_WinStrError): added both overload declarations
417         (_Jv_ThrowIOException): added both overload declarations
418         (_Jv_ThrowSocketException): added both overload declarations
419         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
420         (_Jv_select): added declaration
421         (_Jv_socket): removed
422         (_Jv_connect): removed
423         (_Jv_close): removed
424         (_Jv_bind): removed
425         (_Jv_accept): removed
426         (_Jv_listen): removed
427         (_Jv_write): removed
428         (_Jv_read): removed
429         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
430         whitespace inconsistencies
431         replaced <windows.h> #include with <platform.h>
432         removed jvm.h include
433         (testCanUseGetHandleInfo): new function which tests whether Win32
434         GetHandleInformation() call can be used with console buffer handles
435         (only supported on >=WinNT 5.0)
436         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
437         (valid): rewrote implementation using GetHandleInformation()
438         (sync):         changed exception throwing to use error string and exception
439         helper methods declared in include/win32.h
440         (open): likewise
441         (write): likewise
442         (setLength): likewise
443         (close): likewise
444         (seek): likewise
445         (getFilePointer): likewise
446         (read): likewise
447         * java/io/natFileWin32.cc: fixed tab, indentation and
448         whitespace inconsistencies
449         replaced <windows.h> #include with <platform.h>
450         removed jvm.h include
451         (_access): use JV_TEMP_UTF_STRING
452         (_stat): likewise
453         (performMkDir): use JV_TEMP_UTF_STRING
454         (performRenameTo): likewise
455         (performDelete): likewise
456         (performCreate): likewise
457         (performSetReadOnly): likewise
458         (performSetLastModified): likewise
459         * java/lang/natWin32Process.cc: fixed tab, indentation and
460         whitespace inconsistencies
461         replaced <windows.h> #include with <platform.h>
462         removed includes gcj/cni.h, jvm.h
463         (new_string): removed
464         (startProcess): use JV_TEMP_UTF_STRING,
465         changed exception throwing to use error string and exception
466         helper methods declared in include/win32.h
467         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
468         whitespace inconsistencies
469         replaced <windows.h> #include with <platform.h>
470         removed jvm.h include
471         removed DISABLE_JAVA_NET conditional code
472         removed POSIX conditional code not relevant to Win32
473         (aton): use JV_TEMP_UTF_STRING
474         removed POSIX conditional code not relevant to Win32
475         (lookup): likewise
476         (getLocalHostName): likewise
477         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
478         whitespace inconsistencies
479         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
480         removed DISABLE_JAVA_NET conditional code
481         removed POSIX conditional code not relevant to Win32
482         (winsock2GetRealNetworkInterfaces): new function to compute network
483         interfaces via Winsock2 API
484         (determineGetRealNetworkInterfacesFN): new function for returning
485         a function pointer to the function used to compute network interfaces.
486         (getRealNetworkInterfaces): implemented
487         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
488         whitespace inconsistencies
489         removed gcj/cni.h include
490         removed DISABLE_JAVA_NET conditional code
491         removed POSIX conditional code not relevant to Win32
492         changed net POSIXisms to Win32isms
493         replaced _Jv socket-related calls with their real Win32 equivalents
494         changed exception throwing to use error string and exception
495         helper methods declared in include/win32.h
496         (peekData): implemented timeout support
497         (receive): likewise
498         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
499         whitespace inconsistencies
500         removed gcj/cni.h and gcj/javaprims.h includes
501         removed DISABLE_JAVA_NET conditional code
502         removed POSIX conditional code not relevant to Win32
503         changed net POSIXisms to Win32isms
504         replaced _Jv socket-related calls with their real Win32
505         equivalents
506         changed exception throwing to use error string and exception
507         helper methods declared in include/win32.h
508         (throwConnectException): helper function for connect()
509         (connect): implemented timeout support
510         (accept): likewise
511         (doRead): new helper function common to both read() method overloads,
512         includes timeout support
513         (read): implemented both overloads in terms of doRead()
514         (available): implemented using ioctlsocket()
515
516 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
517
518         * java/net/natInetAddressWin32.cc,
519         java/net/natNetworkInterfaceWin32.cc,
520         java/net/natPlainDatagramSocketImplWin32.cc,
521         java/net/natPlainSocketImplWin32.cc:
522         Readded code enclosed in DISABLE_JAVA_NET defines
523         in preparation for MinGW cleanup / networking
524         patch
525
526 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
527
528         * Makefile.am: Fixed problems with parallel makes.
529         (all_java_class_files): Readded definition.
530         (all_java_class_files): New target which depends on
531         libgcj-@gcc_version@.jar
532         * Makefile.in: Rebuilt
533
534 2003-08-28  Tom Tromey  <tromey@redhat.com>
535
536         * Makefile.in: Rebuilt.
537         * Makefile.am (ordinary_java_source_files): Added new files.
538         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
539         friend.
540         * java/net/URLClassLoader.java (findClass): Don't use
541         findURLResource.  Use loader's getClass method.
542         (URLLoader.getClass): New method.
543         (addURL): Handle `gcjlib' URLs.
544         (SoURLLoader): New class.
545         (SoResource): Likewise.
546         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
547         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
548         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
549         (_Jv_RegisterCoreHook): Declare.
550         (_Jv_FindCore): Declare.
551         * gnu/gcj/runtime/SharedLibHelper.java: New file.
552         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
553         typedef.
554         (core_hook): New function.
555         (struct SharedLibDummy) [saved_core]: New field.
556         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
557         (register_hook): Set protection domain and class loader on new
558         class.
559         (finalize): Free core chain.
560         * gnu/gcj/Core.java (Core): New constructor.
561         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
562         SharedLibHelper.
563         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
564         (_Jv_create_core): New function.
565         (create): Use it.
566         (default_register_resource): New function.
567         (_Jv_RegisterCoreHook): New global.
568         (_Jv_RegisterResource): Use it.
569         (core_chain_struct): Removed.
570         (_Jv_FindCore): New function.
571         (_Jv_FreeCoreChain): New function.
572
573 2003-08-29  Michael Koch  <konqueror@gmx.de>
574
575         * java/net/natInetAddressWin32.cc,
576         java/net/natNetworkInterfaceWin32.cc,
577         java/net/natPlainDatagramSocketImplWin32.cc,
578         java/net/natPlainSocketImplWin32.cc:
579         Removed code enclosed in DISABLE_JAVA_NET defines.
580
581 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
582
583         * Makefile.am: (write_entries_to_file) New parameterized
584         function for writing entries to a file one line at a time.
585         (all_java_class_files): Removed definition.
586         (.java.class) Removed.target.
587         (libgcj-@gcc_version@.jar): Changed dependency to
588         $(all_java_source_files); added compilation step which compiles
589         all changed source files in one pass.
590         (libgcj.la) Refactored to use write_entries_to_file.
591         (lib-gnu-awt-xlib.la) Likewise.
592         (install-data-local) Likewise.
593         (write-entries-to-file-check) New target which tests write_entries_to_file.
594         (all-recursive): Changed dependency from $(all_java_class_files)
595         to libgcj-@gcc_version@.jar
596         * Makefile.in: Rebuilt.
597
598 2003-08-26  Tom Tromey  <tromey@redhat.com>
599
600         * java/lang/StrictMath.java: Typo fix.
601         * java/lang/Math.java: Typo fix.
602
603 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
604
605         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
606         of the removed Thread.
607
608 2003-08-26  Mark Wielaard  <mark@klomp.org>
609
610         Reported by David Holmes <dholmes@dltech.com.au>.
611         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
612         Collections.synchronizedMap.
613         * java/lang/ThreadLocal.java (valueMap): Likewise.
614
615 2003-08-26  Mark Wielaard  <mark@klomp.org>
616
617         * java/security/acl/Acl.java: Fix broken p tag.
618         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
619         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
620         * javax/swing/plaf/TreeUI.java: Likewise.
621         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
622         * java/util/Properties.java: Use the word umlaut, not &auml; in api
623         documentation.
624         * java/util/PropertyResourceBundle.java: Likewise and add closing code
625         tag.
626
627 2003-08-26  Tom Tromey  <tromey@redhat.com>
628
629         * Makefile.in: Rebuilt.
630         * Makefile.am: Removed all GNU-make-specific FIXME comments.
631
632         * java/lang/ref/Reference.java (get): Indentation fix.
633         (clear): Comment fix.
634         (enqueue): Likewise.
635         (lock): Likewise.
636         (referent): Likewise.
637
638 2003-08-26  Tom Tromey  <tromey@redhat.com>
639
640         PR java/12058:
641         * java/lang/reflect/natArray.cc (set): Allow null as argument.
642
643         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
644         (ProxyData.getPackage): New method.
645         (ProxyData.getProxyData): Use package name, not Package.
646         (ClassFactory.ClassFactory): Updated.
647
648 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
649         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
650         * Makefile.in: re-generated.
651         * gnu/awt/j2d/IntegerGraphicsState.java
652         (ScreenCoupledImage): new interface.
653         (drawImage): detect ScreenCoupledImage instances.
654         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
655         * gnu/awt/xlib/XEventLoop.java
656         (createEvent): re-formatted, and rearranged to avoid null pointer.
657         * gnu/awt/xlib/XGraphics.java
658         (drawImage): added XOffScreenImage handling.
659         * gnu/awt/xlib/XOffScreenImage.java: new file.
660         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
661         * gnu/gcj/xlib/GC.java (copyArea): new native method.
662         * gnu/gcj/xlib/XAnyEvent.java
663         (TYPE_KEY_PRESS): new constant.
664         (TYPE_KEY_RELEASE): new constant.
665         (TYPE_MOTION_NOTIFY): new constant.
666         (TYPE_ENTER_NOTIFY): new constant.
667         (TYPE_LEAVE_NOTIFY): new constant.
668         (TYPE_FOCUS_IN): new constant.
669         (TYPE_FOCUS_OUT): new constant.
670         (TYPE_KEYMAP_NOTIFY): new constant.
671         (TYPE_GRAPHICS_EXPOSE): new constant.
672         (TYPE_NO_EXPOSE): new constant.
673         (TYPE_VISIBILITY_NOTIFY): new constant.
674         (TYPE_CREATE_NOTIFY): new constant.
675         (TYPE_DESTROY_NOTIFY): new constant.
676         (TYPE_MAP_REQUEST): new constant.
677         (TYPE_CONFIGURE_REQUEST): new constant.
678         (TYPE_GRAVITY_NOTIFY): new constant.
679         (TYPE_RESIZE_REQUEST): new constant.
680         (TYPE_CIRCULATE_NOTIFY): new constant.
681         (TYPE_CIRCULATE_REQUEST): new constant.
682         (TYPE_PROPERTY_NOTIFY): new constant.
683         (TYPE_SELECTION_CLEAR): new constant.
684         (TYPE_SELECTION_REQUEST): new constant.
685         (TYPE_SELECTION_NOTIFY): new constant.
686         (TYPE_COLORMAP_NOTIFY): new constant.
687         (TYPE_MAPPING_NOTIFY): new constant.
688         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
689         * gnu/gcj/xlib/natGC.cc (copyArea): new method
690         * java/awt/Component.java (createImage): changed to use peer method.
691
692 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
693
694         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
695         name, not XLFD, to native drawString.
696         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
697         Replace XLFD-based implementation with Pango-based
698         implementation.
699
700 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
701
702         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
703         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
704
705 2003-08-21  David Daney  <ddaney@avtrex.com>
706
707         Fix for PR libgcj/12013:
708         * java/lang/ref/natReference.cc (finalize_referred_to_object):
709         Check `cleared' field.
710         * java/lang/ref/Reference.java (copy): Updated comments.
711         (cleared): New field.
712         (clear): Rewrote.
713
714 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
715             Thomas Fitzsimmons  <fitzsim@redhat.com>
716
717         * Makefile.am (gtk_awt_peer_sources): Add
718         gnu/java/awt/peer/GLightweightPeer.java.  Remove
719         gnu/java/awt/GLightweightPeer.java.
720         * gnu/java/awt/GLightweightPeer.java: Remove file.
721         * gnu/java/awt/peer/GLightweightPeer.java: New file.
722         * java/awt/Component.java (getToolkit): Add comment about
723         lightweight components.
724         * java/awt/Toolkit.java (createComponent): Return
725         gnu.java.awt.peer.GLightweightPeer.
726
727 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
728
729         * configure.in: Fix detection of gcj when building with newlib.
730         * configure: Regenerated.
731
732 2003-08-20  Graydon Hoare  <graydon@redhat.com>
733
734         * jni.cc: Replace "cheating" pointer-casting code with
735         extract_from_jvalue<> template.
736
737 2003-08-20  Andrew Haley  <aph@redhat.com>
738
739         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
740         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
741         (classAt): Break out class lookup function into getClass().
742         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
743         handlers when using -fno-assume-compiled.
744
745 2003-08-20  Tom Tromey  <tromey@redhat.com>
746
747         Fix for PR libgcj/9125:
748         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
749         object outside of loop.  Respect lib_control setting.
750         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
751         field.
752         (lib_control): New field.
753         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
754         (VMClassLoader): Initialize new field.
755
756         * java/lang/ref/natReference.cc (finalize_referred_to_object):
757         Set `list->reference' to DELETED_REFERENCE when removing dead
758         object.
759         (find_slot): Added an assert.
760         (DELETED_REFERENCE): New define.
761         (add_to_hash): Check for DELETED_REFERENCE.
762         (remove_from_hash): Just return if found slot isn't ours.
763
764 2003-08-19  Andrew Haley  <aph@redhat.com>
765
766         * prims.cc (unblock_signal): New function.
767         (catch_segv): Use it.
768         (catch_fpe): Likewise.
769
770 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
771
772         PR libgcj/11575
773         * java/io/natFileDescriptorWin32.cc (open): Set create
774         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
775         Honor EXCL when openning with WRITE flag. 
776
777 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
778
779         * include/jvm.h: New class _Jv_TempUTFString (helper class for
780         getting a temporary C string from a jstring)
781         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
782         but uses a stack buffer if the string length is less than 256
783         bytes.
784
785 2003-08-18  Tom Tromey  <tromey@redhat.com>
786
787         PR libgcj/11951:
788         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
789         void.  Throw VirtualMachineError if ffi fails.  Initialize return
790         value.  Added is_jni_call argument; only wrap exception if not a
791         JNI call.  Use descriptive message if operation not supported.
792         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
793         array class.
794         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
795         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
796         _Jv_CallAnyMethodA.
797         (_Jv_JNI_CallAnyMethodA): Likewise.
798         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
799         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
800
801 2003-08-13  Tom Tromey  <tromey@redhat.com>
802
803         * gij.cc (help): Document -? and -X.
804
805 2003-08-12  Graydon Hoare  <graydon@redhat.com>
806
807         * java/awt/Font.java: 
808         Stub out more recent API. 
809
810 2003-08-12  Graydon Hoare  <graydon@redhat.com>
811
812         * java/awt/Color.java (getAlpha): 
813         Prevent sign-extended alpha values.
814
815 2003-08-12  Tom Tromey  <tromey@redhat.com>
816
817         * gij.cc (main): Handle -? and -X.
818
819 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
820
821         * java/awt/Container.java
822         (getPreferredSize): Call preferredSize.
823         (preferredSize): Moved body of getPreferredSize here.
824         (getMinimumSize): Call minimumSize.
825         (minimumSize): Moved body of getMinimumSize here.
826
827 2003-08-11  Tom Tromey  <tromey@redhat.com>
828
829         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
830         (postEvent): Removed FIXME comment.
831         (isDispatchThread): Documented.
832         (getCurrentEvent): New method.
833         (dispatchEvent): Set currentEvent and lastWhen.
834         (getMostRecentEventTime): Rewrote.
835         (invokeLater): Documented.
836
837 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
838
839         * java/io/PrintStream.java (print): Always flush if auto_flush is
840         set. Don't check for newline characters.
841         (write (int)): Implement without using a temporary array.
842         (write (byte[], int, int): Always flush if auto_flush is set. Don't
843         check for newline characters.
844         Fixes PR libgcj/11778.
845
846 2003-08-08  Andrew Haley  <aph@redhat.com>
847
848         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
849         * Makefile.in: Rebuild.
850         * java/lang/natRuntime.cc (insertSystemProperties): Add
851         "sun.boot.class.path".
852
853 2003-08-07  Andrew Haley  <aph@redhat.com>
854
855         * java/io/PrintStream.java: Don't crash on a null string.
856         
857 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
858
859         * configure.in: Don't initialize GCINCS to boehm-gc/include.
860         * configure: Regenerate.
861
862 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
863
864         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
865         SocketImpl. Update Javadoc.
866         (bind): Call close() not impl.close() in event of exception.
867         (connect): Likewise.
868         Remove superfluous null checks throughout.
869         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
870         Don't create an extra socket. Fix for PR libgcj/10868.
871         (bind): Clean up exception handling.
872         Remove superfluous null checks throughout.
873
874 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
875             Bryce McKinlay  <bryce@mckinlay.net.nz>
876
877         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
878         ready-to-write argument to _Jv_Select. Reset the socket back to 
879         non-blocking state after connecting.
880         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
881         Throw SocketTimeoutException not InterruptedIOException.
882         (read): Throw SocketTimeoutException not InterruptedIOException.
883
884 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
885
886         * java/lang/Thread.java (Thread): Check for null "name" from
887         start of private constructor, not after calling the private
888         constructor.
889
890 2003-08-06  Tom Tromey  <tromey@redhat.com>
891
892         * java/io/FilePermission.java (equals): Use correct index for
893         last character of path.
894
895 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
896
897         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
898         * configure.in: Compare with_cross_host to build_alias, not build.
899         * aclocal.m4: Regenerate.
900         * configure: Regenerate.
901
902 2003-08-05  Tom Tromey  <tromey@redhat.com>
903
904         Fix for PR libgcj/11779:
905         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
906         class.
907
908         * java/lang/reflect/Method.java: Updated status comment.
909         Imported javadoc from Classpath and re-ordered methods.
910         * java/lang/reflect/Constructor.java: Reindented.  Updated
911         status comment.  Imported javadoc from Classpath and re-ordered
912         methods.
913
914 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
915
916         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
917         Add keyLocation parameter.
918         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
919         string.
920         (paramString): Generate keyChar string according to keyChar, not
921         keyCode.
922         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
923         (state_to_awt_mods): Handle ALT key.
924         (keyevent_state_to_awt_mods): New function.
925         (get_first_keyval_from_keymap): New function.
926         (keysym_to_awt_keycode): Get virtual key code from keymap.
927         Handle missing VK_ values.
928         (keysym_to_awt_keylocation): New function.
929         (keyevent_to_awt_keychar): New function.
930         (generates_key_typed_event): Handle non-text-component case.
931         Handle GDK_KP_Delete and GDK_KP_Enter.
932         (awt_event_handler): Call new functions to get postKeyEvent
933         parameters.
934         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
935         Update postKeyEvent method signature.
936         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
937         VK_ defines.
938
939 2003-08-05  Matthias Klose  <doko@debian.org>
940
941         * aclocal.m4: check for libart-config binary
942           under the name libart2-config as well.
943         * configure: regenerated.
944
945 2003-08-04  David P Grove  <groved@us.ibm.com>
946
947         * java/text/DecimalFormat.java (format): avoid ArithmeticException
948         when groupingSize is 0.
949         (parse): Likewise.
950
951 2003-08-04  Matthias Klose  <doko@debian.org>
952
953         * libart.m4: check for libart-config binary
954           under the name libart2-config as well.
955         * configure, aclocal.m4: regenerated.
956
957 2003-08-02  Michael Koch  <konqueror@gmx.de>
958
959         * java/nio/ByteBufferImpl.java
960         (getChar): Check remaining bytes, fixed comment about endianess.
961         (putChar): Likewise.
962         (getShort): Likewise.
963         (putShort): Likewise.
964         (getInt): Check remaining bytes, fixed conversion, fixed comment about
965         endianess.
966         (putInt): Likewise.
967         (getLong): Likewise.
968         (putLong): Likewise.
969         (getFloat): Likewise.
970         (putFloat): Likewise.
971         (getDouble): Likewise.
972         (putDouble): Likewise.
973         * java/nio/DirectByteBufferImpl.java
974         (getChar): Wrapped code, fixed comment about endianess.
975         (putchar): Likewise.
976         (getShort): Likewise.
977         (putShort): Likewise.
978         (getInt): Fixed conversion, fixed comment about endianess.
979         (putInt): Likewise.
980         (getLong): Likewise.
981         (putLong): Likewise.
982         (getFloat): Likewise.
983         (putFloat): Likewise.
984         (getDouble): Likewise.
985         (putDouble): Likewise.
986         * java/nio/MappedByteBufferImpl.java
987         (compact): Implemented.
988         (getChar): Implemented.
989         (putChar): Implemented.
990         (getDouble): Implemented.
991         (putdouble): Implemented.
992         (getFloat): Implemented.
993         (putFloat): Implemented.
994         (getInt): Implemented.
995         (putInt): Implemented.
996         (getLong): Implemented.
997         (putLong): Implemented.
998         (getShort): Implemented.
999         (putShort): Implemented.
1000         * java/nio/channels/FileChannelImpl.java
1001         (read): Set position where to access file.
1002         (write): Likewise.
1003         (transferTo): Flip buffer after read and before write.
1004         (transferFrom): Likewise.
1005
1006 2003-08-02  Michael Koch  <konqueror@gmx.de>
1007
1008         * gnu/java/lang/ArrayHelper.java
1009         (equalsArray): Reformated, added method documentation.
1010
1011 2003-08-02  Michael Koch  <konqueror@gmx.de>
1012
1013         * java/net/URL.java
1014         (URL): Added paragraph about the
1015         gnu.java.net.nocache_protocol_handlers property.
1016         (ph_cache): Renamed from handlers to match classpath's implementation.
1017         Reordered it with factory and serialVersionUID member variables.
1018         (cache_handlers): New member variable.
1019         (static): New static initializer to initialize cache_handlers from
1020         gnu.java.net.nocache_protocol_handlers property.
1021         (URL): Use ph_cache instead of handlers, reformatted some code to
1022         match classpath's implementation.
1023
1024 2003-08-01  Tom Tromey  <tromey@redhat.com>
1025
1026         Fix for PR libgcj/11241:
1027         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
1028         initialCapacity is 0, set it to 1.
1029
1030 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
1031
1032         * java/net/SocketImpl.java (toString): Display the remote address
1033         of an unconnected server socket as "0.0.0.0/0.0.0.0".
1034
1035 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
1036
1037         * javax/swing/border/BevelBorder.java,
1038         javax/swing/border/EtchedBorder.java,
1039         javax/swing/border/LineBorder.java,
1040         javax/swing/border/MatteBorder.java,
1041         javax/swing/border/SoftBevelBorder.java,
1042         javax/swing/plaf/BorderUIResource.java,
1043         javax/swing/plaf/ComponentUI.java,
1044         javax/swing/plaf/TreeUI.java,
1045         javax/swing/plaf/basic/BasicBorders.java,
1046         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1047         javax/swing/plaf/basic/BasicTreeUI.java:
1048         Prepend "doc-files" to all paths to embedded Javadoc images, so
1049         that the generated documentation contains the correct URL.
1050
1051 2003-08-01  Tom Tromey  <tromey@redhat.com>
1052
1053         * configure: Rebuilt.
1054         * configure.in (tool_include_dir): Redefine to match gcc.
1055
1056 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
1057             Mark Wielaard  <mark@klomp.org>
1058             
1059         * java/math/BigDecimal (divide): Correctly handle
1060         ROUND_HALF_EVEN when amount is greater than 0.5.
1061         Simplify and optimize code.
1062
1063 2003-07-31  Tom Tromey  <tromey@redhat.com>
1064
1065         More for PR libgcj/11737:
1066         * java/io/ObjectInputStream.java (processResolution): Use
1067         getMethod.
1068         (getMethod): Make method accessible.
1069         (getField): Make field accessible.
1070         (setBooleanField): Don't call setAccessible here.
1071         (setByteField, setCharField, setDoubleField, setFloatField,
1072         setIntField, setLongField, setShortField, setObjectField):
1073         Likewise.
1074         (callReadMethod): Don't check whether method is null.  Catch
1075         NoSuchMethodException.
1076         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
1077         cause on thrown exceptions.
1078
1079 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
1080
1081         Fix for PR libgcj/11728:
1082         * java/util/HashMap.java (readObject): Set size.
1083
1084 2003-07-31  Tom Tromey  <tromey@redhat.com>
1085
1086         Fix for PR libgcj/11737:
1087         * java/io/ObjectOutputStream.java (getMethod): Make method
1088         accessible.
1089         (getField): Likewise.
1090         (writeObject): Use getMethod.
1091         Import PrivilegedAction and AccessController.
1092         (callWriteMethod): Don't check whether m is null.  Catch
1093         NoSuchMethodException.
1094
1095         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
1096         (containsAngle): Likewise.
1097         (getStartPoint): Rewrote.
1098         (getEndPoint): Likewise.
1099         (setAngleStart(Point2D)): Likewise.
1100
1101 2003-07-31  Roger Sayle  <roger@eyesopen.com>
1102             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1103
1104         * configure.in: Add new THREADCXXFLAGS variable.
1105         Handle POSIX threads on alpha*-dec-osf*.
1106         * configure: Regenerate.
1107         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
1108         * Makefile.in: Regenerate.
1109
1110 2003-07-08  Andrew Haley  <aph@redhat.com>
1111
1112         * include/i386-signal.h (RESTORE): New.
1113         (INIT_SEGV): Set restorer.
1114         (INIT_FPE): Likewise.
1115
1116 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1117
1118         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
1119         than getXLFD.
1120         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1121         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
1122         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1123         (gtkSetFont): Scale size parameter by PANGO_SCALE.
1124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
1125         Likewise.
1126         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
1127         Likewise.
1128
1129 2003-07-29  Tom Tromey  <tromey@redhat.com>
1130
1131         * defineclass.cc (handleField): Throw exception if field name is
1132         duplicated.
1133         (handleMethod): Throw exception for duplicate method.
1134
1135 2003-07-29  Tom Tromey  <tromey@redhat.com>
1136
1137         * gnu/gcj/convert/natIconv.cc (write): Handle case where
1138         output buffer is too small.
1139
1140 2003-07-28  Tom Tromey  <tromey@redhat.com>
1141
1142         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
1143         New method.
1144         Include gnu/gcj/runtime/StringBuffer.h.
1145         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
1146         native method.
1147         (String(gnu.gcj.runtime.StringBuffer)): Use it.
1148
1149 2003-07-27  Anthony Green  <green@redhat.com>
1150
1151         * configure.in: Fix newlib check.
1152         * configure: Rebuilt.
1153
1154 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
1155
1156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1157         Create vbox and layout for GtkPlug.
1158
1159 2003-07-27  Michael Koch  <konqueror@gmx.de>
1160
1161         * java/awt/Window.java
1162         (Window): Removed now unused constructor. It became oboslete with the
1163         new embedded window patch.
1164
1165 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
1166             Michael Koch  <konqueror@gmx.de>
1167
1168         * gnu/java/awt/EmbeddedWindow.java
1169         (EmbeddedWindow): Extends Frame instead of Window.
1170         (window_id): New member variable to store the native window handle.
1171         (create): Removed.
1172         (EmbeddedWindow): New constructor.
1173         (addNotify): New method.
1174         (getHandler): Likewise.
1175         (setWindowPeer): New native method.
1176         * gnu/java/awt/EmbeddedWindowSupport.java
1177         (EmbeddedWindowSupport): Fixed documentation.
1178         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
1179         WindowPeer, give it an EmbeddedWindow instance instead of the raw
1180         window data.
1181         * gnu/java/awt/natEmbeddedWindow.cc
1182         (create): Removed.
1183         (setWindowPeer): New method.
1184         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
1185         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
1186         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1187         New files
1188         * gnu/java/awt/peer/gtk/GtkToolkit.java
1189         (GtkToolkit): Implements EmbeddedWindowSupport.
1190         (createEmbeddedWindow): New method.
1191         * java/awt/Window.java
1192         (Window): Removed.
1193         * Makefile.am
1194         (java_source_files): Added EmbeddedWindowPeer.java.
1195         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
1196         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
1197         * Makefile.in: Regenerated.
1198
1199 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
1200
1201         * java/lang/Win32Process.java (ConcreteProcess): Surround
1202         a command line element with quotes if it contains an
1203         embedded space or tab.
1204         * java/lang/natWin32Process.cc (startProcess): Do not
1205         surround command line elements with quotes here.
1206
1207         * configure.host: Use -fcheck-references and 
1208         -fuse-divide-subroutine for MinGW until we fix
1209         win32_exception_handler( ) in win32.cc w.r.t. Win32 
1210         Structured Exception Handling (SEH).
1211
1212         * win32.cc (_Jv_platform_initProperties): Use generic names
1213         like "x86" for the "os.arch" property to be consistent with
1214         what Sun's JDK produces. Use the wProcessorArchitecture
1215         member of the Win32 SYSTEM_INFO structure, filled in a call 
1216         to GetSystemInfo( ), instead of dwProcessorType.
1217
1218 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
1219             Ranjit Mathew  <rmathew@hotmail.com>
1220
1221         * Makefile.am: Use cross-compiling gcjh from the path for
1222         a crossed-native build.
1223         * Makefile.in: Rebuilt.
1224         * configure.in: Include libltdl in non-newlib builds.
1225         Moved determination of gcj used to build libraries to
1226         its own section. Fixed cross-compilation issues for
1227         non-newlib builds.
1228         * configure: Rebuilt.
1229
1230 2003-07-25  Tom Tromey  <tromey@redhat.com>
1231
1232         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
1233         (write): Likewise.
1234         (read): Likewise.
1235         (read): Likewise.
1236
1237 2003-07-25  Mark Wielaard  <mark@klomp.org>
1238
1239         * java/lang/natRuntime.cc (_load): Add library name to
1240         UnsatisfiedLinkError when thrown.
1241
1242 2003-07-25  Mark Wielaard  <mark@klomp.org>
1243
1244         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
1245         added.
1246         * Makefile.in: Likewise.
1247
1248 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
1249
1250         * java/awt/Component.java
1251         (getPreferredSize): Call preferredSize.
1252         (preferredSize): Moved body of getPreferredSize here.
1253         (getMinimumSize): Call minimumSize.
1254         (minimumSize): Moved body of getMinimumSize here.
1255         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
1256         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
1257         pass -1
1258         * java/awt/Container.java
1259         (validate): Don't validate if there is no peer.
1260         (update): Clear background before calling paint.
1261         * java/awt/GridBagLayout.java
1262         Completed the implementation and fixed several bugs.
1263         * java/awt/MediaTracker.java
1264         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
1265         combine flags.
1266         * java/awt/Window.java
1267         (Window): Don't call setVisible(false). Windows are invisible by
1268         default and calling virtual methods from constructor causes
1269         compatibility problems (e.g. subclasses may assume that the peer
1270         already exists).
1271
1272 2003-07-25  Michael Koch  <konqueror@gmx.de>
1273
1274         * java/awt/GridBagLayout.java:
1275         Totally reworked and partly implemented.
1276         * java/awt/GridBagLayoutInfo.java:
1277         New file.
1278
1279 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1280
1281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
1282         Don't pack label in an event box.
1283
1284 2003-07-24  Tom Tromey  <tromey@redhat.com>
1285
1286         For PR libgcj/7482:
1287         * verify.cc (ref_intersection): New class.
1288         (type_val): Removed unresolved_reference_type,
1289         uninitialized_unresolved_reference_type.
1290         (is_assignable_from_slow): Rewrote.
1291         (type::data): Removed.
1292         (type::klass): New field.
1293         (type::type): Added verifier argument.
1294         (type::resolve): Removed.
1295         (type::set_uninitialized): Updated for change to type_val.
1296         (type::set_initialized): Likewise.
1297         (type::isinitialized): Likewise.
1298         (type::print): Likewise.
1299         (construct_primitive_array_type): Likewise.
1300         (type::compatible): Updated for change to type_val and to use
1301         ref_intersection.
1302         (type::isarray): Updated to use ref_intersection.
1303         (type::isinterface): Likewise.
1304         (type::element_type): Likewise.
1305         (type::to_array): Likewise.
1306         (type::verify_dimensions): Rewrote.
1307         (type::merge): Likewise.
1308         (check_class_constant): Updated for type constructor change.
1309         (check_constant): Likewise.
1310         (check_field_constant): Likewise.
1311         (get_one_type): Likewise.
1312         (initialize_stack): Likewise.
1313         (verify_instructions_0): Likewise.
1314         (verify_instructions_0) [op_invokeinterface]: Removed special
1315         case.
1316         (isect_list): New field.
1317         (_Jv_BytecodeVerifier): Initialize it.
1318         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
1319
1320 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
1321
1322         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
1323         unless field size is 2.
1324
1325 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1326
1327         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1328         (connectHooks): New method.
1329         (handleEvent): Remove.
1330         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1331         (createHooks): Remove declaration.
1332         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1333         (generates_key_typed_event): Change to handle only certain
1334         keyvals.
1335         (awt_event_handler): Add special handling for GtkTextView.
1336         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1337         (textcomponent_commit_cb): New function.
1338         (textcomponent_changed_cb): Likewise.
1339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1340         (connectHooks): Remove.
1341
1342 2003-07-23  Tom Tromey  <tromey@redhat.com>
1343
1344         * java/lang/natSystem.cc (arraycopy): Check for overflow.
1345
1346         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
1347
1348 2003-07-22  Tom Tromey  <tromey@redhat.com>
1349
1350         * boehm.cc (_Jv_BuildGCDescr): Wrote.
1351         Include limits.h.
1352
1353 2003-07-22  Tom Tromey  <tromey@redhat.com>
1354
1355         * java/awt/Window.java (getWarningString): Just return the
1356         string.
1357         (Window): Set warningString; check with security manager.
1358
1359 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
1360
1361         * gnu/awt/xlib/XGraphicsConfiguration.java
1362         (FontMetricsCache): Made static.
1363  
1364 2003-07-22  Tom Tromey  <tromey@redhat.com>
1365
1366         * java/net/URLEncoder.java (encode(String)): Use platform default
1367         encoding.
1368         (encode(String,String)): Convert to 2-digit upper-case hex
1369         number.
1370         (hex): New field.
1371
1372 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1373
1374         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1375         (create): Remove unused method implementation.
1376         (connectHooks): Remove debug messages.
1377
1378 2003-07-20  Anthony Green  <green@redhat.com>
1379
1380         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
1381         CloneNotSupportedException.
1382         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
1383         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
1384         * gnu/gcj/xlib/GC.java (clone): Ditto.
1385         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
1386         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
1387
1388         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
1389         handler.
1390         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
1391
1392 2003-07-20  Steve Pribyl <steve@netfuel.com.>
1393
1394         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
1395         String.  Put dlerror() message into exception.
1396         Include UnsatisfiedLinkError.
1397         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
1398         String.  Now native.
1399
1400 2003-07-20  Tom Tromey  <tromey@redhat.com>
1401
1402         * java/lang/Runtime.java: Comment fix.
1403         * java/lang/ClassLoader.java (isAncestorOf): New method.
1404         (getParent): Uncommented security check.  Use isAncestorOf.
1405         * include/jvm.h (_Jv_CheckAccess): Declare.
1406         * java/lang/reflect/natConstructor.cc (newInstance): Perform
1407         access check.
1408         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
1409         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
1410         class loader to _Jv_GetArrayClass.
1411         Include ArrayIndexOutOfBoundsException.h.
1412         * java/lang/reflect/Field.java: Update comment to reflect status.
1413         (equals): Fixed indentation.
1414         * java/lang/Class.h (Class): Declare memberAccessCheck, not
1415         checkMemberAccess.  Make _Jv_CheckAccess a friend.
1416         * java/lang/Class.java (memberAccessCheck): New method from
1417         Classpath.
1418         (checkMemberAccess): Removed.
1419         (getDeclaredMethod): Use memberAccessCheck.
1420         (getField): Likewise.
1421         (getMethod): Likewise.
1422         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
1423         (_Jv_SearchMethodInClass): Likewise.
1424         * prims.cc (_Jv_CheckAccess): New function.
1425         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
1426         (_Jv_JNI_GetAnyFieldID): Likewise.
1427         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
1428         (getClassLoader): Added security check.
1429         (getConstructor): Call memberAccessCheck.
1430         (getDeclaredClasses): Likewise.
1431         (getDeclaredField): Likewise.
1432         (getDeclaredFields): Likewise.
1433         (_getConstructors): Likewise.
1434         (getDeclaredConstructor): Likewise.
1435         (getDeclaredMethods): Likewise.
1436         (getFields): Likewise.
1437         (getMethods): Likewise.
1438         (newInstance): Likewise.
1439         (_Jv_MakeVTable): Put method name in exception.
1440         * java/lang/reflect/natMethod.cc (getType): Use
1441         getClassLoaderInternal.
1442         (_Jv_GetTypesFromSignature): Likewise.
1443         (invoke): Perform access check.
1444         (_Jv_CallAnyMethodA): Removed old FIXME comments.
1445         Include ArrayIndexOutOfBoundsException.h.
1446         * java/lang/reflect/natField.cc (getType): Use
1447         getClassLoaderInternal.
1448         (_Jv_CheckFieldAccessibility): Removed.
1449         (getAddr): Use _Jv_CheckAccess; find caller.
1450         Include ArrayIndexOutOfBoundsException.h.
1451
1452 2003-07-20  Michael Koch  <konqueror@gmx.de>
1453
1454         * java/net/URL.java
1455         (URL): Fixed documentation to name an argument correcty, Reformatted
1456         one method declaration.
1457         (getURLStreamHandler): Added documentation from classpath.
1458
1459 2003-07-19  Tom Tromey  <tromey@redhat.com>
1460
1461         * mauve-libgcj: Don't run CollationElementIterator tests.
1462
1463 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
1464
1465         * java/net/URLClassLoader.java (addURL): Moved implementation to
1466         private addURLImpl() to avoid calling addURL from the constructor.
1467         (addURLImpl): Contains the code that was previously in addURL.
1468         (addURLs): Call addURLImpl(), not addURL().
1469
1470 2003-07-18  Graydon Hoare  <graydon@redhat.com>
1471
1472         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
1473         Handle missing event cases, connect to "value-changed" signal.
1474
1475 2003-07-18  Graydon Hoare  <graydon@redhat.com>
1476
1477         * java/awt/geom/CubicCurve2D.java,
1478         java/awt/geom/Line2D.java,
1479         java/awt/geom/QuadCurve2D.java,
1480         java/awt/geom/Rectangle2D.java: 
1481         Fix path some calculations, make path iterators follow
1482         a consistent style.
1483
1484 2003-07-18  Mark Wielaard  <mark@klomp.org>
1485
1486         * java/util/logging/Handler.java (isLoggable): Check record level
1487         smaller or equal.
1488
1489 2003-07-17  Michael Koch  <konqueror@gmx.de>
1490
1491         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1492         Reworked imports.
1493
1494 2003-07-14  Michael Koch  <konqueror@gmx.de>
1495
1496         * gnu/java/rmi/server/UnicastServerRef.java:
1497         New version from classpath.
1498
1499 2003-07-14  Michael Koch  <konqueror@gmx.de>
1500
1501         * java/awt/image/MemoryImageSource.java,
1502         java/beans/PropertyEditorManager.java,
1503         javax/naming/CompoundName.java,
1504         javax/naming/spi/NamingManager.java,
1505         javax/swing/AbstractButton.java,
1506         javax/swing/ButtonModel.java,
1507         javax/swing/SwingUtilities.java,
1508         javax/swing/UIManager.java,
1509         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1510         javax/swing/event/AncestorEvent.java,
1511         javax/swing/event/InternalFrameEvent.java,
1512         java/util/zip/ZipFile.java:
1513         New versions from classpath.
1514
1515 2003-07-13  Michael Koch  <konqueror@gmx.de>
1516
1517         * gnu/java/nio/FileChannelImpl.java,
1518         gnu/java/nio/natFileChannelImpl.cc: Removed.
1519         * java/io/FileInputStream.java,
1520         java/io/FileOutputStream.java,
1521         java/io/RandomAccessFile.java,
1522         java/nio/MappedByteBufferImpl.java:
1523         Import java.nio.channels.FileChannelImpl instead of
1524         gnu.java.nio.FileChannelImpl.
1525         * java/nio/channels/FileChannelImpl.java,
1526         java/nio/channels/natFileChannelImpl.cc:
1527         New files.
1528         * Makefile.am
1529         (ordinary_java_source_files):
1530         Removed gnu/java/nio/FileChannelImpl.java and added
1531         java/nio/channels/FileChannelImpl.java.
1532         (nat source_files):
1533         Removed gnu/java/nio/natFileChannelImpl.cc and added
1534         java/nio/channels/natFileChannelImpl.cc.
1535         * Makefile.in: Regenerated.
1536
1537 2003-07-13  Michael Koch  <konqueror@gmx.de>
1538
1539         * javax/swing/plaf/basic/BasicBorders.java,
1540         javax/swing/plaf/basic/BasicLabelUI.java,
1541         javax/swing/plaf/basic/BasicLookAndFeel.java,
1542         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1543         javax/swing/plaf/basic/BasicTextUI.java,
1544         javax/swing/plaf/metal/MetalLookAndFeel.java:
1545         New versions from classpath.
1546
1547 2003-07-13  Michael Koch  <konqueror@gmx.de>
1548
1549         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
1550         * gnu/java/awt/peer/gtk/GdkGraphics.java
1551         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
1552         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
1553         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
1554         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
1555         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1556         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1557         * gnu/java/awt/peer/gtk/GtkClipboard.java
1558         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
1559         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1560         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1561         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
1562         * gnu/java/awt/peer/gtk/GtkImage.java
1563         * gnu/java/awt/peer/gtk/GtkImagePainter.java
1564         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
1565         * gnu/java/awt/peer/gtk/GtkListPeer.java
1566         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1567         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
1568         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1569         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
1570         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
1571         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
1572         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
1573         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1574         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
1575         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
1576         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1577         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1578
1579 2003-07-13  Michael Koch  <konqueror@gmx.de>
1580
1581         * gnu/java/locale/LocaleInformation_de.java
1582         * gnu/java/locale/LocaleInformation_en.java
1583         * gnu/java/locale/LocaleInformation_nl.java
1584
1585 2003-07-13  Michael Koch  <konqueror@gmx.de>
1586
1587         * gnu/java/awt/EmbeddedWindow.java,
1588         gnu/java/awt/EmbeddedWindowSupport.java,
1589         gnu/java/awt/natEmbeddedWindow.cc:
1590         New files.
1591         * java/awt/Window.java
1592         (Window): New constructor to support embedded windows.
1593         * Makefile.am
1594         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
1595         gnu/java/awt/EmbeddedWindowSupport.java.
1596         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
1597         * Makefile.in: Regenerated.
1598
1599 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
1600
1601         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
1602         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
1603         * java/awt/im/InputContext.java: Remove a redundant
1604         partial line.
1605
1606 2003-07-09  Tom Tromey  <tromey@redhat.com>
1607
1608         * Makefile.in: Rebuilt.
1609         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
1610
1611 2003-07-09  Mark Wielaard  <mark@klomp.org>
1612
1613         * java/io/ObjectOutputStream.java (writeObject): break after
1614         calling writeClassDescriptor().
1615
1616 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
1617
1618         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
1619
1620 2003-07-09  Michael Koch  <konqueror@gmx.de>
1621
1622         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1623         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1624         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1625         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1626         Explicitly import used classes.
1627         * java/awt/Container.java: New version from classpath.
1628
1629 2003-07-09  Michael Koch  <konqueror@gmx.de>
1630
1631         * libgcj.pc.in: New file.
1632         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
1633         * Makefile.in: Regenerated.
1634         * configure: Regenrated.
1635         * configure.in: Create libgcj.pc from libgcj.pc.in.
1636
1637 2003-07-08  Mark Wielaard <mark@klomp.org>
1638
1639         * gcj/cni.h: CNI now expands to Compiled Native Interface.
1640
1641         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
1642         * java/lang/fdlibm.h: Likewise.
1643
1644 2003-07-07  Adam Megacz <adam@xwt.org>
1645
1646         * posix.cc: added #include<stdio.h>
1647                 
1648 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1649
1650         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
1651         formatting.
1652
1653         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1654         (setCaretPosition, setEditable): Rely entirely on native
1655         implementation.
1656         (getArgs): Remove.
1657         (postTextEvent): New method.
1658         (handleEvent): New method.
1659         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
1660         method.
1661         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
1662         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1663         (keysym_to_awt_keycode): Fix range checks.
1664         (generates_key_typed_event): New function.
1665         (awt_event_handler): Post AWT_KEY_RELEASED events to event
1666         queue.
1667         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1668         (gtkInit): Store TextComponent's postTextEvent method ID.
1669         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1670         (setText): Post TEXT_VALUE_CHANGED event to event queue.
1671
1672 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1673
1674         * configure.in: Check for usleep declaration.
1675         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
1676         * configure: Regenerate.
1677         * include/config.h.in: Likewise.
1678         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
1679
1680 2003-07-01  Michael Koch  <konqueror@gmx.de>
1681
1682         * gnu/gcj/convert/natIconv.cc
1683         (iconv_init): Fixed possible memory leak by releasing allocated iconv
1684         handle.
1685
1686 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1687
1688         * glib-2.0.m4: New file.
1689         * gtk-2.0.m4: New file.
1690         * glib.m4: Remove.
1691         * gtk.m4: Remove.
1692         * configure.in: Update AM_PATH_GTK macro call to
1693         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
1694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1695         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
1696         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1697         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
1698         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1699         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1700         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
1701         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
1702         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1703         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
1704         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1705         jni/gtk-peer/gthread-jni.c,
1706         jni/gtk-peer/gthread-jni.h:
1707         New versions from classpath.
1708         * aclocal.m4: Regenerate.
1709         * configure: Regenerate.
1710         * Makefile.in: Regenerate.
1711         * gcj/Makefile.in: Regenerate.
1712         * include/Makefile.in: Regenerate.
1713         * testsuite/Makefile.in: Regenerate.
1714
1715 2003-06-30  Gary Benson  <gbenson@redhat.com>
1716
1717         For PR libgcj/11349:
1718         * javax/naming/spi/NamingManager.java (getURLContext): Use
1719         correct name for factory class.
1720
1721 2003-06-28  Michael Koch  <konqueror@gmx.de>
1722
1723         * java/io/PrintStream.java
1724         (checkError): Call flush() instead of direct flushing of the Writer
1725         object.
1726         (print): Call print(String) instead of direct print method of the
1727         Writer Object.
1728         (println): Call println(String) instead of direct println method of the
1729         Writer Object.
1730         (write): Simplified.
1731
1732 2003-06-28  Michael Koch  <konqueror@gmx.de>
1733
1734         * java/net/ServerSocket.java
1735         (setChannel): New method.
1736         * java/net/Socket.java
1737         (setChannel): New method.
1738
1739 2003-06-27  Michael Koch  <konqueror@gmx.de>
1740
1741         * java/beans/beancontext/BeanContextSupport.java:
1742         New version from classpath.
1743
1744 2003-06-27  Michael Koch  <konqueror@gmx.de>
1745
1746         * java/awt/Window.java,
1747         java/awt/font/GraphicAttribute.java,
1748         java/awt/font/ImageGraphicAttribute.java,
1749         java/awt/image/DataBufferByte.java,
1750         java/awt/image/DataBufferInt.java,
1751         java/awt/image/DataBufferUShort.java,
1752         java/awt/image/DirectColorModel.java,
1753         java/awt/image/PixelGrabber.java:
1754         New versions from classpath.
1755
1756 2003-06-27  Michael Koch  <konqueror@gmx.de>
1757
1758         * java/security/Certificate.java
1759         (getGuarantor): Removed wrong @deprecated tag.
1760         (getPrincipal): Likewise.
1761         (getPublicKey): Likewise.
1762         (encode): Likewise.
1763         (decode): Likewise.
1764         (getFormat): Likewise.
1765         (toString): Likewise.
1766         * java/security/cert/PolicyQualifierInfo.java
1767         (PolicyQualifierInfo): Made final.
1768         * javax/security/auth/x500/X500Principal.java
1769         (serialVersionUID): New member variable.
1770
1771 2003-06-27  Michael Koch  <konqueror@gmx.de>
1772
1773         * java/text/Format.java
1774         (serialVersionUID): Fixed value.
1775
1776 2003-06-27  Michael Koch  <konqueror@gmx.de>
1777
1778         * java/net/Inet4Address.java
1779         (Inet4Address): Made package-private.
1780         * java/net/Inet6Address.java
1781         (Inet4Address): Made package-private.
1782
1783 2003-06-27  Michael Koch  <konqueror@gmx.de>
1784
1785         * java/io/RandomAccessFile.java
1786         (readLine): Removed wrong @deprecated tag.
1787         (getChannel): Made final.
1788
1789 2003-06-27  Michael Koch  <konqueror@gmx.de>
1790
1791         * gnu/java/nio/FileChannelImpl.java
1792         (write): Removed.
1793
1794 2003-06-27  Michael Koch  <konqueror@gmx.de>
1795
1796         * java/nio/ByteBufferImpl.java
1797         (ByteBufferImpl): Made it a package-private class
1798         * java/nio/CharBufferImpl.java
1799         (CharBufferImpl): Made it a package-private class
1800         * java/nio/DirectByteBufferImpl.java
1801         (DirectByteBufferImpl): Made it a package-private class
1802         * java/nio/DoubleBufferImpl.java
1803         (DoubleBufferImpl): Made it a package-private class
1804         * java/nio/FloatBufferImpl.java
1805         (FloatBufferImpl): Made it a package-private class
1806         * java/nio/IntBufferImpl.java
1807         (IntBufferImpl): Made it a package-private class
1808         * java/nio/LongBufferImpl.java
1809         (LongBufferImpl): Made it a package-private class
1810         * java/nio/ShortBufferImpl.java
1811         (ShortBufferImpl): Made it a package-private class
1812         * java/nio/channels/FileChannel.java
1813         (write): Made final.
1814         * java/nio/channels/ServerSocketChannel.java
1815         (ServerSocketChanne): Made protected.
1816
1817 2003-06-27  Michael Koch  <konqueror@gmx.de>
1818
1819         * javax/naming/CompositeName.java
1820         (serialVersionUID): New member variable.
1821         * javax/naming/CompoundName.java
1822         (serialVersionUID): New member variable.
1823         * javax/naming/InitialContext.java
1824         (InitialContext): Throws NamingException.
1825         (init): Likewise.
1826         * javax/naming/LinkRef.java
1827         (serialVersionUID): New member variable.
1828         (gteLinkName): Throws NamingException.
1829         * javax/naming/NamingException.java
1830         (serialVersionUID): New member variable.
1831         * javax/naming/NamingSecurityException.java
1832         (NamingSecurityException): Made abstract.
1833         (serialVersionUID): New member variable.
1834         * javax/naming/ReferralException.java
1835         (serialVersionUID): New member variable.
1836         * javax/naming/StringRefAddr.java
1837         (serialVersionUID): New member variable.
1838         * javax/naming/directory/BasicAttribute.java:
1839         Reworked imports.
1840         (serialVersionUID): New member variable.
1841         (get): Throws NamingException.
1842         (getAll): Throws NamingException.
1843         * javax/naming/directory/BasicAttributes.java:
1844         Reworked imports.
1845         (serialVersionUID): New member variable.
1846         * javax/naming/ldap/UnsolicitedNotificationEvent.java
1847         (serialVersionUID): New member variable.
1848
1849 2003-06-27  Michael Koch  <konqueror@gmx.de>
1850
1851         * Makefile.am
1852         (awt_java_source_files): Added new files:
1853         javax/swing/Popup.java,
1854         javax/swing/PopupFactory.java
1855         * Makefile.in: Regenerated.
1856
1857 2003-06-27  Michael Koch  <konqueror@gmx.de>
1858
1859         * javax/swing/JWindow.java,
1860         javax/swing/event/AncestorEvent.java,
1861         javax/swing/event/HyperlinkEvent.java,
1862         javax/swing/event/InternalFrameEvent.java,
1863         javax/swing/event/ListDataEvent.java,
1864         javax/swing/event/TableModelEvent.java,
1865         javax/swing/plaf/PopupMenuUI.java,
1866         javax/swing/plaf/SplitPaneUI.java,
1867         javax/swing/plaf/TabbedPaneUI.java,
1868         javax/swing/plaf/TextUI.java,
1869         javax/swing/plaf/TreeUI.java,
1870         javax/swing/plaf/basic/BasicTextUI.java,
1871         javax/swing/plaf/basic/BasicTreeUI.java:
1872         New versions from classpath.
1873         * javax/swing/Popup.java,
1874         javax/swing/PopupFactory.jav:
1875         New source files from classpath.
1876         * javax/swing/plaf/doc-files/TreeUI-1.png:
1877         New binary files from classpath.
1878
1879 2003-06-25  Michael Koch  <konqueror@gmx.de>
1880
1881         * Makefile.am
1882         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1883         * Makefile.in: Regenerated.
1884
1885 2003-06-25  Michael Koch  <konqueror@gmx.de>
1886
1887         * javax/swing/plaf/ActionMapUIResource.java,
1888         javax/swing/plaf/BorderUIResource.java,
1889         javax/swing/plaf/ButtonUI.java,
1890         javax/swing/plaf/ColorChooserUI.java,
1891         javax/swing/plaf/ColorUIResource.java,
1892         javax/swing/plaf/ComboBoxUI.java,
1893         javax/swing/plaf/ComponentInputMapUIResource.java,
1894         javax/swing/plaf/ComponentUI.java,
1895         javax/swing/plaf/DesktopIconUI.java,
1896         javax/swing/plaf/DesktopPaneUI.java,
1897         javax/swing/plaf/DimensionUIResource.java,
1898         javax/swing/plaf/FileChooserUI.java,
1899         javax/swing/plaf/FontUIResource.java,
1900         javax/swing/plaf/IconUIResource.java,
1901         javax/swing/plaf/InputMapUIResource.java,
1902         javax/swing/plaf/InsetsUIResource.java,
1903         javax/swing/plaf/InternalFrameUI.java,
1904         javax/swing/plaf/LabelUI.java,
1905         javax/swing/plaf/ListUI.java,
1906         javax/swing/plaf/MenuBarUI.java,
1907         javax/swing/plaf/MenuItemUI.java,
1908         javax/swing/plaf/OptionPaneUI.java,
1909         javax/swing/plaf/PanelUI.java,
1910         javax/swing/plaf/ProgressBarUI.java,
1911         javax/swing/plaf/RootPaneUI.java,
1912         javax/swing/plaf/ScrollBarUI.java,
1913         javax/swing/plaf/ScrollPaneUI.java,
1914         javax/swing/plaf/SeparatorUI.java,
1915         javax/swing/plaf/SliderUI.java,
1916         javax/swing/plaf/TableHeaderUI.java,
1917         javax/swing/plaf/TableUI.java,
1918         javax/swing/plaf/ToolBarUI.java,
1919         javax/swing/plaf/ToolTipUI.java,
1920         javax/swing/plaf/ViewportUI.java:
1921         New versions from classpath.
1922         * javax/swing/plaf/SpinnerUI.java: 
1923         New file from classpath
1924
1925 2003-06-25  Michael Koch  <konqueror@gmx.de>
1926
1927         * java/awt/image/ColorModel.java:
1928         New version from classpath.
1929
1930 2003-06-25  Michael Koch  <konqueror@gmx.de>
1931
1932         * java/net/PlainDatagramSocketImpl.java:
1933         Partly merged with classpath, this mainly adds documentation.
1934
1935 2003-06-25  Michael Koch  <konqueror@gmx.de>
1936
1937         * java/io/ObjectInputStream.java
1938         (readClassDescriptor): New method.
1939         (readObject): Moved functionality to readClassDescriptor().
1940         * java/io/ObjectOutputStream.java
1941         (writeClassDescriptor): New method.
1942         (writeObject): Moved functionality to writeClassDescriptor().
1943
1944 2003-06-25  Michael Koch  <konqueror@gmx.de>
1945
1946         * javax/swing/plaf/basic/BasicListUI.java,
1947         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1948         Added missing methods.
1949
1950 2003-06-25  Michael Koch  <konqueror@gmx.de>
1951
1952         * javax/swing/event/AncestorEvent.java
1953         javax/swing/event/HyperlinkEvent.java
1954         javax/swing/event/InternalFrameEvent.java
1955         javax/swing/event/ListDataEvent.java
1956         javax/swing/event/TableModelEvent.java:
1957         Compile fixes.
1958
1959 2003-06-24  Michael Koch  <konqueror@gmx.de>
1960
1961         * java/net/URL.java:
1962         Renamed "handler" to "ph" in the whole file to match classpaths
1963         version.
1964         * java/net/URLStreamHandler.java:
1965         (equals): Renamed "handler" to "ph".
1966
1967 2003-06-24  Michael Koch  <konqueror@gmx.de>
1968
1969         * javax/swing/event/AncestorEvent.java,
1970         javax/swing/event/HyperlinkEvent.java,
1971         javax/swing/event/InternalFrameEvent.java,
1972         javax/swing/event/ListDataEvent.java,
1973         javax/swing/event/TableModelEvent.java,
1974         javax/swing/event/TreeWillExpandListener.java,
1975         javax/swing/plaf/ComponentUI.java,
1976         javax/swing/plaf/DesktopIconUI.java,
1977         javax/swing/plaf/DesktopPaneUI.java,
1978         javax/swing/plaf/DimensionUIResource.java,
1979         javax/swing/plaf/FileChooserUI.java,
1980         javax/swing/plaf/FontUIResource.java,
1981         javax/swing/plaf/IconUIResource.java,
1982         javax/swing/plaf/InputMapUIResource.java,
1983         javax/swing/plaf/InsetsUIResource.java,
1984         javax/swing/plaf/InternalFrameUI.java,
1985         javax/swing/plaf/LabelUI.java,
1986         javax/swing/plaf/ListUI.java,
1987         javax/swing/plaf/MenuBarUI.java,
1988         javax/swing/plaf/MenuItemUI.java,
1989         javax/swing/plaf/OptionPaneUI.java,
1990         javax/swing/plaf/PanelUI.java,
1991         javax/swing/plaf/ProgressBarUI.java,
1992         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1993         javax/swing/plaf/doc-files/ComponentUI-1.png:
1994         New versions from classpath.
1995
1996 2003-06-24  Michael Koch  <konqueror@gmx.de>
1997
1998         * java/nio/Buffer.java
1999         (cap): Made package-private.
2000         (pos): Likewise.
2001         (limit): Likewise.
2002         (mark): Likewise.
2003
2004 2003-06-24  Michael Koch  <konqueror@gmx.de>
2005
2006         * java/net/SocketImpl.java
2007         (shutdownInput): Made it non-abstract method throwing an exception
2008         like in SUNs JRE.
2009         (shutdownOutput): Likewise.
2010         * java/net/SocketInputStream.java,
2011         java/net/SocketOutputStream.java:
2012         New files from classpath.
2013
2014 2003-06-24  Michael Koch  <konqueror@gmx.de>
2015
2016         * java/awt/Font.java,
2017         java/awt/Window.java,
2018         java/awt/color/ColorSpace.java,
2019         java/awt/datatransfer/StringSelection.java,
2020         java/awt/image/ColorModel.java:
2021         New versions from classpath.
2022
2023 2003-06-24  Michael Koch  <konqueror@gmx.de>
2024
2025         * Makefile.am
2026         (awt_java_source_files): Added new files:
2027         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2028         javax/swing/plaf/basic/BasicSplitPaneUI.java
2029         * Makefile.in: Regenerated.
2030
2031 2003-06-24  Michael Koch  <konqueror@gmx.de>
2032
2033         * javax/swing/text/JTextComponent.java:
2034         New version from classpath.
2035
2036 2003-06-24  Michael Koch  <konqueror@gmx.de>
2037
2038         * javax/swing/Timer.java,
2039         javax/swing/plaf/ActionMapUIResource.java,
2040         javax/swing/plaf/ButtonUI.java,
2041         javax/swing/plaf/ColorChooserUI.java,
2042         javax/swing/plaf/ColorUIResource.java,
2043         javax/swing/plaf/ComboBoxUI.java,
2044         javax/swing/plaf/ComponentInputMapUIResource.java,
2045         javax/swing/plaf/basic/BasicBorders.java:
2046         New versions from classpath.
2047         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
2048         javax/swing/plaf/basic/BasicSplitPaneUI.java:
2049         New file from classpath.
2050         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
2051         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
2052         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2053         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2054         javax/swing/plaf/doc-files/ComponentUI-1.png:
2055         New binary files from classpath.
2056
2057 2003-06-24  Michael Koch  <konqueror@gmx.de>
2058
2059         * java/io/LineNumberReader.java
2060         (skip): Dont do line number accounting here as this is already done in
2061         read(), simplified.
2062
2063 2003-06-21  Michael Koch  <konqueror@gmx.de>
2064
2065         * java/io/File.java
2066         (static): Load javaio lib if existing (only in classpath).
2067         (File): Revised documentation to show the correct argument name.
2068         (createTempFile): Partly merged with classpath.
2069         (compareTo): Simplified.
2070         (lastModified): Throw exception if time < 0.
2071         (deleteOnExit): Revised documentation.
2072
2073 2003-06-21  Michael Koch  <konqueror@gmx.de>
2074
2075         * java/net/PlainSocketImpl.java:
2076         Reformatted.
2077         (PlainSocketImpl): Merged class documentaion with classpath.
2078         (in): Moved.
2079         (out): Moved.
2080         (PlainSocketImpl): New empty constructor.
2081         (finalize): Moved.
2082         (setOption): Merged documentation from classpath.
2083         (getOption): Likewise.
2084         (create): Likewise.
2085         (connect): Likewise.
2086         (bind): Likewise.
2087         (listen): Likewise.
2088         (accept): Likewise.
2089         (available): Likewise.
2090         (close): Likewise.
2091         (read): Likewise.
2092         (write): Likewise.
2093         (getInputStream): Made synchronozed to get sure that only one stream
2094         object can be created for this socket, merged documentation from
2095         classpath.
2096         (getOutputStream): Likewise.
2097
2098 2003-06-21  Michael Koch  <konqueror@gmx.de>
2099
2100         * java/net/PlainSocketImpl.java:
2101         Reformatting.
2102         (static): New implicit method.
2103         (read): Made package private.
2104         (write): Likewise.
2105
2106 2003-06-21  Michael Koch  <konqueror@gmx.de>
2107
2108         * java/util/SimpleTimeZone.java:
2109         Removed unneeded import, reformatting.
2110
2111 2003-06-21  Michael Koch  <konqueror@gmx.de>
2112
2113         * java/text/DateFormat.java,
2114         java/text/SimpleDateFormat.java,
2115         java/util/Locale.java:
2116         New versions from classpath.
2117
2118 2003-06-21  Michael Koch  <konqueror@gmx.de>
2119
2120         * javax/swing/SpinnerModel.java:
2121         New file from classpath.
2122         * javax/swing/border/LineBorder.java,
2123         javax/swing/border/SoftBevelBorder.java,
2124         javax/swing/plaf/BorderUIResource.java,
2125         javax/swing/plaf/basic/BasicBorders.java:
2126         New versions from classpath.
2127         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2128         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2129         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2130         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2131         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2132         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
2133         New binary files from classpath.
2134
2135 2003-06-21  Michael Koch  <konqueror@gmx.de>
2136
2137         * java/util/logging/LogRecord.java,
2138         java/util/logging/Logger.java,
2139         java/util/logging/SocketHandler.java,
2140         java/util/logging/SimpleFormatter.java,
2141         java/util/logging/Formatter.java,
2142         java/util/logging/ErrorManager.java,
2143         java/util/logging/Handler.java,
2144         java/util/logging/FileHandler.java,
2145         java/util/logging/LogManager.java,
2146         java/util/logging/Level.java,
2147         java/util/logging/ConsoleHandler.java,
2148         java/util/logging/StreamHandler.java,
2149         java/util/logging/LoggingPermission.java,
2150         java/util/logging/Filter.java,
2151         java/util/logging/MemoryHandler.java,
2152         java/util/logging/XMLFormatter.java:
2153         New files from classpath.
2154
2155 2003-06-20  Michael Koch  <konqueror@gmx.de>
2156
2157         * java/io/ObjectStreamField.java
2158         (unshared): new member variable.
2159         (ObjectStreamField): New constructor.
2160         (isUnshared): New method.
2161
2162 2003-06-20  Michael Koch  <konqueror@gmx.de>
2163
2164         * java/net/URLStreamHandler.java
2165         (hostsEqual): Rewritten.
2166
2167 2003-06-20  Michael Koch  <konqueror@gmx.de>
2168
2169         * gnu/java/nio/MappedByteFileBuffer.java,
2170         gnu/java/nio/natMappedByteFileBuffer.cc:
2171         Removed
2172         * java/nio/MappedByteBufferImpl.java:
2173         New file.
2174         * gnu/java/nio/FileChannelImpl.java:
2175         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
2176         * Makefile.am
2177         (ordinary_java_source_files): Removed
2178         gnu/java/nio/MappedByteFileBuffer.java and added
2179         java/nio/MappedByteBufferImpl.java.
2180         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
2181         * Makefile.in: Regenerated.
2182
2183 2003-06-19  Michael Koch  <konqueror@gmx.de>
2184
2185         * gnu/java/nio/DatagramChannelImpl.java
2186         (fd): Removed.
2187         (blocking): New member variable.
2188         (socket): Likewise.
2189         (DatagramChannelImpl): Throws IOException, initialize socket.
2190         (socket):Implemented.
2191         (implCloseSelectableChannel): Throws IOException, implemented.
2192         (implConfigureBlocking): Likewise.
2193         (connect): Likewise.
2194         (disconnect): Likewise.
2195         (isConnected): Likewise.
2196         (write): Likewise.
2197         (read): Likewise.
2198         (receive): Throws IOException.
2199         (send): Likewise.
2200         * gnu/java/nio/SocketChannelImpl.java
2201         (read): Implemented.
2202         (write): Implemented.
2203
2204 2003-06-19  Michael Koch  <konqueror@gmx.de>
2205
2206         * javax/swing/JComponent.java,
2207         javax/swing/JInternalFrame.java,
2208         javax/swing/MenuSelectionManager.java,
2209         javax/swing/SwingUtilities.java,
2210         javax/swing/ToggleButtonModel.java:
2211         New versions from classpath.
2212
2213 2003-06-19  Michael Koch  <konqueror@gmx.de>
2214
2215         * java/text/CollationElementIterator.java
2216         (NULLORDER): Initialize with -1 as JDK documentation says.
2217
2218 2003-06-19  Michael Koch  <konqueror@gmx.de>
2219
2220         * java/net/HttpURLConnection.java,
2221         java/net/Inet4Address.java,
2222         java/net/Inet6Address.java,
2223         java/net/SocketImpl.java,
2224         java/net/URLClassLoader.java:
2225         Reworked import statements.
2226         * java/net/InetAddress.java
2227         (getByAddress): Simplified.
2228         * java/net/ServerSocket.java
2229         (ServerSocket): Moved special handling during bind operation to
2230         bind().
2231         (bind): Handle different cases when trying to bind a socket.
2232         * java/net/URLConnection.java
2233         (getHeaderFieldDate): Merged with classpath.
2234         (getHeaderFieldInt): Likewise.
2235
2236 2003-06-19  Michael Koch  <konqueror@gmx.de>
2237
2238         * java/util/zip/InflaterInputStream.java
2239         (InflaterInputStream): Throw NullPointerException if in is null (as
2240         JDK does).
2241
2242 2003-06-19  Michael Koch  <konqueror@gmx.de>
2243
2244         * java/awt/Font.java
2245         javax/swing/UIManager.java
2246         javax/swing/border/AbstractBorder.java
2247         javax/swing/border/BevelBorder.java
2248         javax/swing/border/Border.java
2249         javax/swing/border/CompoundBorder.java
2250         javax/swing/border/EmptyBorder.java
2251         javax/swing/border/EtchedBorder.java
2252         javax/swing/border/LineBorder.java
2253         javax/swing/border/MatteBorder.java
2254         javax/swing/border/TitledBorder.java
2255         javax/swing/plaf/BorderUIResource.java
2256         javax/swing/plaf/basic/BasicBorders.java
2257         javax/swing/plaf/basic/BasicButtonUI.java
2258         javax/swing/plaf/basic/BasicCheckBoxUI.java
2259         javax/swing/plaf/basic/BasicGraphicsUtils.java
2260         javax/swing/plaf/basic/BasicLabelUI.java
2261         javax/swing/plaf/basic/BasicRadioButtonUI.java
2262         javax/swing/plaf/basic/BasicToggleButtonUI.java:
2263         New versions from classpath.
2264         * javax/swing/border/SoftBevelBorder.java:
2265         New file from classpath.
2266         * javax/swing/border/doc-files/LineBorder-1.png,
2267         javax/swing/border/doc-files/BevelBorder-1.png,
2268         javax/swing/border/doc-files/BevelBorder-2.png,
2269         javax/swing/border/doc-files/BevelBorder-3.png,
2270         javax/swing/border/doc-files/EmptyBorder-1.png,
2271         javax/swing/border/doc-files/EtchedBorder-1.png,
2272         javax/swing/border/doc-files/EtchedBorder-2.png,
2273         javax/swing/border/doc-files/MatteBorder-1.png,
2274         javax/swing/border/doc-files/MatteBorder-2.png,
2275         javax/swing/border/doc-files/MatteBorder-3.png,
2276         javax/swing/border/doc-files/MatteBorder-4.png,
2277         javax/swing/border/doc-files/MatteBorder-5.png,
2278         javax/swing/border/doc-files/MatteBorder-6.png,
2279         javax/swing/border/doc-files/SoftBevelBorder-1.png,
2280         javax/swing/border/doc-files/SoftBevelBorder-2.png,
2281         javax/swing/border/doc-files/SoftBevelBorder-3.png,
2282         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
2283         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
2284         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
2285         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
2286         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
2287         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
2288         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
2289         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
2290         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
2291         New binary files from classpath.
2292         * Makefile.am
2293         (awt_java_source_files): Added
2294         javax/swing/border/SoftBevelBorder.java.
2295         * Makefile.in: Regenerated.
2296
2297 2003-06-19  Michael Koch  <konqueror@gmx.de>
2298
2299         * gnu/java/security/x509/X509Certificate.java
2300         (writeReplace): Merged from classpath.
2301
2302 2003-06-19  Michael Koch  <konqueror@gmx.de>
2303
2304         * gnu/java/nio/FileChannelImpl.java
2305         (map_address): Made public.
2306         (FileChannelImpl): Merged with classpath.
2307         * gnu/java/nio/natFileChannelImpl.cc
2308         (nio_mmap_file): Commented out unused arguments.
2309         (nio_unmmap_file): Likewise.
2310         (niu_msync): Likewise.
2311
2312 2003-06-19  Michael Koch  <konqueror@gmx.de>
2313
2314         * java/awt/image/IndexColorModel.java:
2315         New version from classpath.
2316
2317 2003-06-18  Tom Tromey  <tromey@redhat.com>
2318
2319         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
2320         on arrays.
2321         (isLoopbackAddress): Likewise.
2322         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
2323         on arrays.
2324
2325 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
2326
2327         * java/lang/natVMSecurityManager.cc (getClassContext):
2328         Use maxlen instead of len for loop bound.
2329
2330 2003-06-18  Michael Koch  <konqueror@gmx.de>
2331
2332         * gnu/java/nio/SelectorImpl.java
2333         (register): Use fd with value 0 for now, will be fixed later.
2334         * gnu/java/nio/ServerSocketChannelImpl.java
2335         (fd): Removed.
2336         (local_port): Removed.
2337         (InetSocketAddress): Removed.
2338         (ServerSocketChannelImpl): Just initialize internal socket object.
2339         (implCloseSelectableChannel): Close internal socket object.
2340         (implConfigureBlocking): Added comment.
2341         (accept): Use jaba.net stuff to accept socket.
2342         * gnu/java/nio/SocketChannelImpl.java
2343         (fd): Removed.
2344         (local_port): Removed.
2345         (InetSocketAddress): Removed.
2346         (SocketCreate): Removed.
2347         (SocketConnect): Removed.
2348         (SocketBind): Removed.
2349         (SocketListen): Removed.
2350         (SocketAvailable): Removed.
2351         (SocketClose): Removed.
2352         (SocketRead): Removed.
2353         (SocketWrite): Removed.
2354         (SocketChannelImpl): Just initialize internal socket object.
2355         (implCloseSelectableChannel): Close internal socket object.
2356         (implConfigureBlocking): Fixed implementation, added comment.
2357         (connect): Use internal socket object to connect.
2358         (socket): No need for sanity checks.
2359         (read): Comment out some stuff, this will be reimplemented in the next
2360         commit.
2361         (write): Likewise.
2362         * gnu/java/nio/natFileChannelImpl.cc
2363         (nio_mmap_file): Line wrapped.
2364         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
2365         * Makefile.am
2366         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
2367         * Makefile.in: Regenerated.
2368
2369 2003-06-18  Michael Koch  <konqueror@gmx.de>
2370
2371         * java/util/Locale.java
2372         (equals): Merged from classpath.
2373
2374 2003-06-18  Michael Koch  <konqueror@gmx.de>
2375
2376         * java/net/InetAddress.java:
2377         Reformatted to better match classpath's version.
2378         * java/net/URL.java
2379         (equals): Simplified.
2380         * java/net/URLConnection.java
2381         (setDoInput): Revised documentation.
2382         (getDefaultUseCaches): Likewise.
2383         (setRequestProperty): Added @since tag.
2384
2385 2003-06-17  Michael Koch  <konqueror@gmx.de>
2386
2387         * java/net/InetSocketAddress.java
2388         (InetSocketAddress): Use wildcard address if addr is null.
2389         (InetSocketAddress): Dont duplicate implementation.
2390         (InetSocketAddress): Throw exception when hostname is null.
2391         * java/net/Socket.java:
2392         Reworked imports.
2393         (Socket): Throw exception when raddr is null, handle case when laddr
2394         is null.
2395
2396 2003-06-17  Michael Koch  <konqueror@gmx.de>
2397
2398         * java/nio/DirectByteBufferImpl.java
2399         (address): Made package private.
2400         (DirectByteBufferImpl): New constructor.
2401         * java/nio/natDirectByteBufferImpl.cc
2402         (allocateImpl): Moved to java.nio namespace, implemented.
2403         (freeImpl): Likewise.
2404         (getImpl): Likewise.
2405         (putImpl): Likewise.
2406         * jni.cc
2407         (_Jv_JNI_NewDirectByteBuffer): Implemented.
2408         (_Jv_JNI_GetDirectBufferAddress): Implemented.
2409         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
2410
2411 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2412
2413         * include/powerpc-signal.h: New File.
2414         * configure.in: Use it.
2415         * configure: Regenerated.
2416
2417 2003-06-17  Michael Koch  <konqueror@gmx.de>
2418
2419         * java/util/Locale.java
2420         (getDisplayLanguage): Made it final.
2421         (getDisplayCountry): Likewise.
2422         (getDisplayVariant): Likewise.
2423         (getDisplayName): Likewise.
2424
2425 2003-06-17  Michael Koch  <konqueror@gmx.de>
2426
2427         * java/util/PropertyResourceBundle.java:
2428         Removed unneeded import.
2429
2430 2003-06-17  Michael Koch  <konqueror@gmx.de>
2431
2432         * java/util/prefs/AbstractPreferences.java,
2433         java/util/prefs/PreferencesFactory.java:
2434         Reworked imports, removed unused imports.
2435         * java/util/prefs/Preferences.java
2436         (systemNodeForPackage): Method takes a Class not an Object.
2437         (userNodeForPackage): Likewise.
2438         (nodeForPackage): Likewise.
2439
2440 2003-06-17  Michael Koch  <konqueror@gmx.de>
2441
2442         * gnu/java/security/x509/X509Certificate.java:
2443         Explicitely import used classes.
2444
2445 2003-06-17  Michael Koch  <konqueror@gmx.de>
2446
2447         * java/util/zip/ZipEntry.java,
2448         java/util/zip/ZipFile.java,
2449         java/util/zip/ZipInputStream.java,
2450         java/util/zip/ZipOutputStream.java:
2451         Reworked imports, only import used classes.
2452
2453 2003-06-17  Michael Koch  <konqueror@gmx.de>
2454
2455         * gnu/java/lang/ArrayHelper.java,
2456         gnu/java/lang/ClassHelper.java:
2457         Reformatted to match classpath's versions.
2458
2459 2003-06-14  Michael Koch  <konqueror@gmx.de>
2460
2461         * gnu/java/nio/FileChannelImpl.java
2462         (map_address): Removed incorrect comment.        
2463         * gnu/java/nio/SelectorImpl.java
2464         (register): Remove code duplication and code for file channel handling.        
2465         * gnu/java/nio/ServerSocketChannelImpl.java
2466         (serverSocket): Renamed from sock_object.
2467         (ServerSocketChannel): Initialize serverSocket.
2468         (socket): Return serverSocket.
2469         * gnu/java/nio/SocketChannelImpl.java
2470         (socket): Renamed from sock_object.
2471         (isConnectionPenging): Simplified.
2472         (socket): Return socket.
2473 2003-06-14  Michael Koch  <konqueror@gmx.de>
2474
2475         * java/security/BasicPermission.java:
2476         New version from classpath.
2477
2478 2003-06-14  Michael Koch  <konqueror@gmx.de>
2479
2480         * javax/naming/directory/Attribute.java:
2481         New version from classpath.
2482
2483 2003-06-14  Michael Koch  <konqueror@gmx.de>
2484
2485         * java/io/BufferedReader.java,
2486         java/io/FileOutputStream.java:
2487         New versions from classpath.
2488
2489 2003-06-12  Andrew Haley  <aph@redhat.com>
2490
2491         * prims.cc (catch_segv): Create exception in handler.
2492         (catch_fpe): Likewise.  
2493         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
2494         (_Jv_ThrowSignal): Remove.
2495
2496         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
2497         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
2498         to nullp and arithexception.
2499         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2500         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2501         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2502         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2503         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2504
2505 2003-06-11  Andrew Haley  <aph@redhat.com>
2506
2507         * jni.cc (_Jv_JNI_check_types): New.
2508         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
2509         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
2510         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
2511         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
2512         
2513         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
2514         infinite loop.
2515
2516 2003-06-11  Tom Tromey  <tromey@redhat.com>
2517
2518         * java/lang/ClassLoader.java (loadClass): Not deprecated.
2519         * java/io/PrintStream.java: Not deprecated.
2520
2521 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
2522
2523         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
2524         (fillOval): implemented
2525         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
2526         (fillArc): implemented.
2527         * gnu/gcj/xlib/GC.java (drawArc): added native method.
2528         (fillArc): added native method.
2529         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
2530         (fillArc): added native method.
2531
2532 2003-06-11  Michael Koch  <konqueror@gmx.de>
2533
2534         * java/awt/im/InputSubset.java:
2535         New version from classpath.
2536
2537 2003-06-11  Michael Koch  <konqueror@gmx.de>
2538
2539         * javax/swing/AbstractAction.java,
2540         javax/swing/AbstractButton.java,
2541         javax/swing/AbstractCellEditor.java,
2542         javax/swing/AbstractListModel.java,
2543         javax/swing/BorderFactory.java,
2544         javax/swing/Box.java,
2545         javax/swing/BoxLayout.java,
2546         javax/swing/ButtonGroup.java,
2547         javax/swing/DefaultButtonModel.java,
2548         javax/swing/DefaultListModel.java,
2549         javax/swing/DefaultListSelectionModel.java,
2550         javax/swing/FocusManager.java,
2551         javax/swing/ImageIcon.java,
2552         javax/swing/InputMap.java,
2553         javax/swing/JApplet.java,
2554         javax/swing/JButton.java,
2555         javax/swing/JCheckBox.java,
2556         javax/swing/JCheckBoxMenuItem.java,
2557         javax/swing/JColorChooser.java,
2558         javax/swing/JComboBox.java,
2559         javax/swing/JComponent.java,
2560         javax/swing/JDesktopPane.java,
2561         javax/swing/JDialog.java,
2562         javax/swing/JEditorPane.java,
2563         javax/swing/JFileChooser.java,
2564         javax/swing/JFormattedTextField.java,
2565         javax/swing/JFrame.java,
2566         javax/swing/JLabel.java,
2567         javax/swing/JLayeredPane.java,
2568         javax/swing/JList.java,
2569         javax/swing/JMenuBar.java,
2570         javax/swing/JMenuItem.java,
2571         javax/swing/JOptionPane.java,
2572         javax/swing/JPanel.java,
2573         javax/swing/JPasswordField.java,
2574         javax/swing/JPopupMenu.java,
2575         javax/swing/JProgressBar.java,
2576         javax/swing/JRadioButton.java,
2577         javax/swing/JRadioButtonMenuItem.java,
2578         javax/swing/JRootPane.java,
2579         javax/swing/JScrollBar.java,
2580         javax/swing/JScrollPane.java,
2581         javax/swing/JSeparator.java,
2582         javax/swing/JSlider.java,
2583         javax/swing/JTabbedPane.java,
2584         javax/swing/JTable.java,
2585         javax/swing/JTextField.java,
2586         javax/swing/JToggleButton.java,
2587         javax/swing/JToolBar.java,
2588         javax/swing/JToolTip.java,
2589         javax/swing/JTree.java,
2590         javax/swing/JViewport.java,
2591         javax/swing/JWindow.java,
2592         javax/swing/KeyStroke.java,
2593         javax/swing/ListSelectionModel.java,
2594         javax/swing/LookAndFeel.java,
2595         javax/swing/RepaintManager.java,
2596         javax/swing/ScrollPaneLayout.java,
2597         javax/swing/SizeRequirements.java,
2598         javax/swing/SwingConstants.java,
2599         javax/swing/Timer.java,
2600         javax/swing/UIDefaults.java,
2601         javax/swing/UIManager.java,
2602         javax/swing/border/AbstractBorder.java,
2603         javax/swing/border/CompoundBorder.java,
2604         javax/swing/colorchooser/AbstractColorChooserPanel.java,
2605         javax/swing/colorchooser/ColorChooserComponentFactory.java,
2606         javax/swing/colorchooser/ColorSelectionModel.java,
2607         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2608         javax/swing/event/AncestorEvent.java,
2609         javax/swing/event/HyperlinkEvent.java,
2610         javax/swing/event/InternalFrameAdapter.java,
2611         javax/swing/event/InternalFrameEvent.java,
2612         javax/swing/event/ListDataEvent.java,
2613         javax/swing/event/MouseInputAdapter.java,
2614         javax/swing/event/SwingPropertyChangeSupport.java,
2615         javax/swing/event/TableModelEvent.java,
2616         javax/swing/event/TreeWillExpandListener.java,
2617         javax/swing/event/UndoableEditEvent.java,
2618         javax/swing/filechooser/FileFilter.java,
2619         javax/swing/filechooser/FileSystemView.java,
2620         javax/swing/filechooser/FileView.java,
2621         javax/swing/plaf/BorderUIResource.java,
2622         javax/swing/plaf/basic/BasicDefaults.java,
2623         javax/swing/table/AbstractTableModel.java,
2624         javax/swing/table/DefaultTableCellRenderer.java,
2625         javax/swing/table/DefaultTableColumnModel.java,
2626         javax/swing/table/DefaultTableModel.java,
2627         javax/swing/table/TableColumn.java,
2628         javax/swing/text/JTextComponent.java,
2629         javax/swing/tree/AbstractLayoutCache.java,
2630         javax/swing/tree/DefaultMutableTreeNode.java,
2631         javax/swing/tree/DefaultTreeCellEditor.java,
2632         javax/swing/tree/DefaultTreeCellRenderer.java,
2633         javax/swing/tree/DefaultTreeModel.java,
2634         javax/swing/tree/DefaultTreeSelectionModel.java,
2635         javax/swing/tree/FixedHeightLayoutCache.java,
2636         javax/swing/tree/TreeCellEditor.java,
2637         javax/swing/tree/TreeModel.java,
2638         javax/swing/tree/TreeNode.java,
2639         javax/swing/tree/TreePath.java,
2640         javax/swing/tree/TreeSelectionModel.java,
2641         javax/swing/tree/VariableHeightLayoutCache.java,
2642         javax/swing/undo/AbstractUndoableEdit.java,
2643         javax/swing/undo/CompoundEdit.java,
2644         javax/swing/undo/StateEdit.java,
2645         javax/swing/undo/UndoManager.java,
2646         javax/swing/undo/UndoableEditSupport.java:
2647         New versions from classpath.
2648         * javax/swing/table/JTableHeader.java:
2649         New file from classpath.
2650         * Makefile.am
2651         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
2652         * Makefile.in: Regenerated.
2653
2654 2003-06-11  Michael Koch  <konqueror@gmx.de>
2655
2656         * java/nio/MappedByteBuffer.java,
2657         java/nio/channels/Channels.java,
2658         java/nio/channels/ServerSocketChannel.java,
2659         java/nio/channels/spi/AbstractSelector.java:
2660         Removed unneeded imports.
2661
2662 2003-06-11  Michael Koch  <konqueror@gmx.de>
2663
2664         * java/net/DatagramSocket.java:
2665         Partly merged with classpath.
2666
2667 2003-06-11  Michael Koch  <konqueror@gmx.de>
2668
2669         * java/awt/Frame.java,
2670         java/awt/Graphics.java,
2671         java/awt/Menu.java,
2672         java/awt/Robot.java,
2673         java/awt/image/ColorModel.java:
2674         New versions from classpath.
2675
2676 2003-06-10  Michael Koch  <konqueror@gmx.de>
2677
2678         * java/io/PrintStream.java:
2679         Merged version from classpath.
2680         (close): Removed sychronized keyword. This class is not garantied to
2681         be thread-safe.
2682         (write): Likewise.
2683
2684 2003-06-09  Tom Tromey  <tromey@redhat.com>
2685
2686         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
2687         field.
2688         (getDescent): Likewise, for "descent".
2689
2690 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
2691
2692         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
2693         (getMaxDescent): adjusted return value.
2694         (getAscent): modified to use metrics for 'O'.
2695         (getDescent): modified to use metrics for 'y'.
2696
2697 2003-06-08  Anthony Green  <green@redhat.com>
2698
2699         * java/net/URLStreamHandler.java (sameFile): Fix port value
2700         comparison.
2701         * java/net/URL.java (handler): Make package private.
2702         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
2703
2704 2003-06-07  Tom Tromey  <tromey@redhat.com>
2705
2706         For PR libgcj/11085:
2707         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
2708         Limit number of characters in numeric field when required.
2709         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
2710         Respect maximumIntegerDigits.
2711
2712 2003-06-08  Michael Koch  <konqueror@gmx.de>
2713
2714         * java/net/Socket.java
2715         (Socket): Dont initialize inputShutdown and outputShutdown twice,
2716         call bind() and connect() to actually do the bind and connect tasks.
2717         (bind): Connect to canonical address if bindpoint is null, create
2718         socket and bind it to bindpoint.
2719         (connect): Check for exceptions.
2720
2721 2003-06-08  Michael Koch  <konqueror@gmx.de>
2722
2723         * java/net/DatagramSocket.java
2724         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
2725         into the Multicast constructors.
2726         * java/net/DatagramSocketImpl.java
2727         (getOption): Removed.
2728         (setOption): Removed.
2729         * java/net/MulticastSocket.java
2730         (MulticastSocket): Call setReuseAddress (true).
2731         * java/net/SocketImpl.java
2732         (getOption): Removed.
2733         (setOption): Removed.
2734
2735 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
2736
2737         PR libgcj/10886:
2738         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
2739         Test for empty vector.
2740
2741 2003-06-06  Mark Wielaard  <mark@klomp.org>
2742
2743         * java/security/Security.java (secprops): Initialize.
2744         (loadProviders): Return boolean.
2745         (static): Check result of loadProvider calls. If necessary
2746         display WARNING and fallback to Gnu provider.
2747
2748 2002-06-06  James Clark  <jjc@jclark.com>
2749
2750         Fix for PR libgcj/8738:
2751         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
2752         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
2753         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
2754         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
2755         (write): Always decrease avail when count is increased.
2756         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
2757         and whether output buffer is full before increasing size.
2758
2759 2002-06-06  Mark Wielaard  <mark@klomp dot org>
2760
2761         * java/io/PrintStream.java (writeChars(char[],int, int)):
2762         Check converter.havePendingBytes().
2763         (writeChars(String,int,int)): Likewise.
2764         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
2765         Check converter.havePendingBytes() and flush buffer when stalled.
2766
2767 2003-06-07  Michael Koch  <konqueror@gmx.de>
2768
2769         * include/posix.h
2770         (O_DSYNC): Define O_DSYNC on platforms not
2771         supporting O_FSYNC (newlib).
2772
2773 2003-06-06  Mark Wielaard  <mark@klomp.org>
2774
2775         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
2776         AWTError.
2777
2778 2003-06-06  Michael Koch  <konqueror@gmx.de>
2779
2780         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2781         More compile fixes from my stupid work yesterday.
2782
2783 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2784
2785         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
2786         if _IEEE_LIBM is undefined.
2787
2788 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
2789
2790         * libjava/include/posix.h (O_SYNC): Define if not available
2791         and a reasonable, perhaps more conservative, replacement exists.
2792         (O_DSYNC): Likewise.
2793         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
2794
2795 2003-06-05  Michael Koch  <konqueror@gmx.de>
2796
2797         * javax/swing/plaf/BorderUIResource.java,
2798         javax/swing/plaf/basic/BasicDefaults.java,
2799         javax/swing/plaf/basic/BasicOptionPaneUI.java:
2800         More compile fixes for latest Border commit. I should not commit
2801         something in this heat here ...
2802
2803 2003-06-05  Michael Koch  <konqueror@gmx.de>
2804
2805         * javax/swing/border/BevelBorder.java
2806         (BevelBorder): Removed.
2807         * javax/swing/border/EmptyBorder.java:
2808         Reformatted.
2809         (EmptyBorder): Removed.
2810         (getBorderInsets): Dont use l, r, t and b.
2811         * javax/swing/border/EtchedBorder.java
2812         (EtchedBorder): Removed.
2813         * javax/swing/border/LineBorder.java
2814         (LineBorder): Removed.
2815         * javax/swing/border/MatteBorder.java
2816         (MatteBorder): Removed.
2817         * javax/swing/border/TitledBorder.java
2818         (defaultBorder): Use other default for now.
2819         (defaultFont): Likewise.
2820         (defaultColor): Likewise.
2821
2822 2003-06-05  Michael Koch  <konqueror@gmx.de>
2823
2824         * javax/swing/border/Border.java:
2825         New version from classpath.
2826
2827 2003-06-05  Michael Koch  <konqueror@gmx.de>
2828
2829         * javax/swing/border/AbstractBorder.java,
2830         javax/swing/border/BevelBorder.java,
2831         javax/swing/border/CompoundBorder.java,
2832         javax/swing/border/EmptyBorder.java,
2833         javax/swing/border/EtchedBorder.java,
2834         javax/swing/border/LineBorder.java,
2835         javax/swing/border/MatteBorder.java,
2836         javax/swing/border/TitledBorder.java:
2837         New versions from Classpath.
2838
2839 2003-06-05  Michael Koch  <konqueror@gmx.de>
2840
2841         * java/awt/Button.java,
2842         java/awt/Checkbox.java,
2843         java/awt/CheckboxMenuItem.java,
2844         java/awt/Choice.java,
2845         java/awt/Container.java,
2846         java/awt/Dialog.java,
2847         java/awt/EventQueue.java,
2848         java/awt/FileDialog.java,
2849         java/awt/Frame.java,
2850         java/awt/Label.java,
2851         java/awt/List.java,
2852         java/awt/Menu.java,
2853         java/awt/MenuItem.java,
2854         java/awt/Panel.java,
2855         java/awt/PopupMenu.java,
2856         java/awt/Rectangle.java,
2857         java/awt/ScrollPane.java,
2858         java/awt/Scrollbar.java,
2859         java/awt/TextArea.java,
2860         java/awt/TextField.java,
2861         java/awt/Window.java,
2862         java/awt/datatransfer/DataFlavor.java,
2863         java/awt/dnd/DragSource.java,
2864         java/awt/dnd/DragSourceContext.java,
2865         java/awt/event/HierarchyEvent.java,
2866         java/awt/event/MouseWheelEvent.java,
2867         java/awt/im/InputContext.java,
2868         java/awt/image/BufferedImage.java,
2869         java/awt/image/ComponentColorModel.java,
2870         java/awt/image/Raster.java,
2871         java/awt/image/WritableRaster.java,
2872         java/awt/peer/ComponentPeer.java,
2873         java/awt/print/PageFormat.java,
2874         java/awt/print/PrinterJob.java:
2875         New versions from Classpath.
2876
2877 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
2878
2879         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2880         numberFormat.setParseIntegerOnly(true).
2881
2882 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
2883
2884         * include/posix-threads.h: Include <machine/pal.h> on OSF.
2885
2886 2003-06-03  Andrew Haley  <aph@redhat.com>
2887
2888         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2889         stack volatile to prevent optimization from removing it.
2890
2891 2003-05-27  Michael Koch  <konqueror@gmx.de>
2892
2893         * java/util/zip/Deflater.java
2894         (FILTERED): Merged documentation from classpath.
2895         * java/util/zip/DeflaterOutputStream.java
2896         (DeflaterOutputStream): Merged documentation and argument validity
2897         check from classpath.
2898         (deflate): Merged documentation from classpath.
2899         (finish): Likewise.
2900         * java/util/zip/Inflater.java
2901         (Inflater): Merged class documentation from classpath.
2902         (zstream): Reordered.
2903         (is_finished): Reordered.
2904         (dict_needed): Reordered.
2905         (Inflater): Reordered, merged documentation from classpath.
2906         (end): Likewise.
2907         (finalize): Merged documentation from classpath.
2908         (finished): Likewise.
2909         (getAdler): Likewise.
2910         (getRemaining): Likewise.
2911         (getTotalIn): Likewise.
2912         (getTotalOut): Likewise.
2913         (inflate): Likewise.
2914         (needsDictionary): Likewise.
2915         (needsInput): Likewise.
2916         (reset): Likewise.
2917         (setDictionary): Likewise.
2918         (setInput): Likewise.
2919
2920 2003-05-27  Michael Koch  <konqueror@gmx.de>
2921
2922         * java/net/URLConnection.java
2923         (getHeaderFieldInt): Merged with classpath.
2924
2925 2003-05-27  Michael Koch  <konqueror@gmx.de>
2926
2927         * java/io/PrintStream.java
2928         (PrintStream): Reformatted.
2929         (PrintStream): New method, merged from classpath.
2930         (write): Reformatted.
2931
2932 2003-05-27  Michael Koch  <konqueror@gmx.de>
2933
2934         * java/lang/System.java:
2935         Explicitely import needed classes.
2936
2937 2003-05-26  Michael Koch  <konqueror@gmx.de>
2938
2939         * java/net/NetPermission.java,
2940         java/net/NetworkInterface.java,
2941         java/net/PasswordAuthentication.java,
2942         java/net/SocketPermission.java:
2943         New versions from classpath.
2944
2945 2003-05-25  Michael Koch  <konqueror@gmx.de>
2946
2947         * java/io/PushbackInputStream.java,
2948         java/net/Authenticator.java,
2949         java/net/ContentHandler.java,
2950         java/net/ContentHandlerFactory.java,
2951         java/net/DatagramSocket.java,
2952         java/net/DatagramSocketImpl.java,
2953         java/net/DatagramSocketImplFactory.java,
2954         java/net/FileNameMap.java,
2955         java/net/SocketImplFactory.java,
2956         java/net/SocketOptions.java,
2957         java/net/URLStreamHandlerFactory.java:
2958         Merged new versions from classpath.
2959
2960 2003-05-25  Michael Koch  <konqueror@gmx.de>
2961
2962         * java/awt/Checkbox.java,
2963         java/awt/Dialog.java,
2964         java/awt/Font.java,
2965         java/awt/Frame.java,
2966         java/awt/ScrollPaneAdjustable.java,
2967         java/awt/Scrollbar.java,
2968         java/awt/Window.java:
2969         New versions from classpath.
2970
2971 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
2972
2973         PR libgcj/10838:
2974         * java/io/ObjectInputStream (enableResolveObject):
2975         Fixed spelling of permission name.
2976
2977 2003-05-20  Michael Koch  <konqueror@gmx.de>
2978
2979         * java/io/DataInputStream.java
2980         (convertFromUTF): Merged comment from classpath.
2981         * java/io/PrintStream.java
2982         (error_occured): Renamed from error, merged comment from classpath.
2983         (PrintStream): No need to initialized error.
2984         (checkError): Replace error with error_occurred.
2985         (setError): Likewise.
2986
2987 2003-05-20  Michael Koch  <konqueror@gmx.de>
2988
2989         * java/io/DataInputStream.java:
2990         Reformatted, Replaced < and & with html entitites in documentation.
2991         * java/io/File.java:
2992         Reformatted.
2993         * java/io/PrintWriter.java:
2994         Moved class documentation.
2995
2996 2003-05-20  Michael Koch  <konqueror@gmx.de>
2997
2998         * gnu/java/nio/ByteBufferImpl.java,
2999         gnu/java/nio/CharBufferImpl.java,
3000         gnu/java/nio/CharViewBufferImpl.java,
3001         gnu/java/nio/DirectByteBufferImpl.java,
3002         gnu/java/nio/DoubleBufferImpl.java,
3003         gnu/java/nio/DoubleViewBufferImpl.java,
3004         gnu/java/nio/FloatBufferImpl.java,
3005         gnu/java/nio/FloatViewBufferImpl.java,
3006         gnu/java/nio/IntBufferImpl.java,
3007         gnu/java/nio/IntViewBufferImpl.java,
3008         gnu/java/nio/LongBufferImpl.java,
3009         gnu/java/nio/LongViewBufferImpl.java,
3010         gnu/java/nio/natDirectByteBufferImpl.cc,
3011         gnu/java/nio/ShortBufferImpl.java,
3012         gnu/java/nio/ShortViewBufferImpl.java:
3013         Moved files to java/nio.
3014         * gnu/java/nio/SocketChannelImpl.java
3015         
3016         * java/nio/ByteBuffer.java,
3017         java/nio/CharBuffer.java,
3018         java/nio/DoubleBuffer.java,
3019         java/nio/FloatBuffer.java,
3020         java/nio/IntBuffer.java,
3021         java/nio/LongBuffer.java,
3022         java/nio/ShortBuffer.java:
3023         Dont import anything.
3024         * java/nio/ByteBufferImpl.java,
3025         java/nio/CharBufferImpl.java,
3026         java/nio/CharViewBufferImpl.java,
3027         java/nio/DirectByteBufferImpl.java,
3028         java/nio/DoubleBufferImpl.java,
3029         java/nio/DoubleViewBufferImpl.java,
3030         java/nio/FloatBufferImpl.java,
3031         java/nio/FloatViewBufferImpl.java,
3032         java/nio/IntBufferImpl.java,
3033         java/nio/IntViewBufferImpl.java,
3034         java/nio/LongBufferImpl.java,
3035         java/nio/LongViewBufferImpl.java,
3036         java/nio/natDirectByteBufferImpl.cc,
3037         java/nio/ShortBufferImpl.java,
3038         java/nio/ShortViewBufferImpl.java:
3039         Moved from gnu/java/nio.
3040         * Makefile.am
3041         (ordinary_java_source_files): Moved files from gnu/java/nio to
3042         java/nio.
3043         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
3044         to java/nio.
3045         * Makefile.in: Regenerated.
3046
3047 2003-05-19  Michael Koch  <konqueror@gmx.de>
3048
3049         * java/util/Calendar.java
3050         (get): Not final anymore since JDK 1.4
3051         (set): Likewise.
3052
3053 2003-05-19  Michael Koch  <konqueror@gmx.de>
3054
3055         * java/text/CollationKey.java:
3056         Merged copyright and dat from classpath.
3057         * java/text/RuleBasedCollator.java:
3058         Merged class documentation from classpath.
3059
3060 2003-05-19  Michael Koch  <konqueror@gmx.de>
3061
3062         * java/nio/CharBuffer.java
3063         (toString): Compile fix.
3064
3065 2003-05-19  Michael Koch  <konqueror@gmx.de>
3066
3067         * gnu/java/nio/ByteBufferImpl.java
3068         (putLong): Fixed conversion to bytes.
3069         (putDouble): Fixed conversion to bytes.
3070         * gnu/java/nio/DirectByteBufferImpl.java
3071         (putLong): Fixed conversion to bytes.
3072         (putDouble): Fixed conversion to bytes.
3073         * gnu/java/nio/FileLockImpl.java
3074         (isValid): Reformatted.
3075         * java/nio/Buffer.java
3076         (Buffer): Fixed off-by-one bug in handling mark.
3077         * java/nio/ByteBuffer.java:
3078         Added newline.
3079         * java/nio/CharBuffer.java
3080         (toString): Don't use relative get to get string data.
3081
3082 2003-05-16  Michael Koch  <konqueror@gmx.de>
3083
3084         * java/io/natFileDescriptorPosix.cc
3085         (open): Commented out the O_SYNC and O_DSYNC usage until its better
3086         tested.
3087
3088 2003-05-14  Michael Koch  <konqueror@gmx.de>
3089
3090         * gnu/java/nio/FileLockImpl.java
3091         (released): New member variable.
3092         (FileLockImpl): Initialize released.
3093         (releaseImpl): New native method.
3094         (release): Implemented.
3095         * gnu/java/nio/SelectorImpl.java: Reformatted.
3096         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
3097         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
3098         (accept): Throws IOException.
3099         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
3100         (implConfigureBlocking): Throws IOException.
3101         (connect): Likewise.
3102         (read): Likewise.
3103         (write): Likewise.
3104         * gnu/java/nio/natFileLockImpl.cc: New file.
3105         * java/nio/channels/FileLock.java: Reformatted.
3106         * Makefile.am:
3107         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
3108         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
3109         * Makefile.in: Regenerated.
3110
3111 2003-05-13  Michael Koch  <konqueror@gmx.de>
3112
3113         * gnu/java/nio/CharViewBufferImpl.java
3114         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
3115         (get): Shift bits to the right direction.
3116         (put): Likewise.
3117         * gnu/java/nio/DoubleViewBufferImpl.java
3118         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
3119         (get): Shift bits to the right direction.
3120         (put): Likewise.
3121         * gnu/java/nio/FloatViewBufferImpl.java
3122         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
3123         (get): Shift bits to the right direction.
3124         (put): Likewise.
3125         * gnu/java/nio/IntViewBufferImpl.java
3126         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
3127         (get): Shift bits to the right direction.
3128         (put): Likewise.
3129         * gnu/java/nio/LongViewBufferImpl.java
3130         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
3131         (get): Shift bits to the right direction.
3132         (put): Likewise.
3133         * gnu/java/nio/ShortViewBufferImpl.java
3134         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
3135         (get): Shift bits to the right direction.
3136         (put): Likewise.
3137
3138 2003-05-13  Michael Koch  <konqueror@gmx.de>
3139
3140         * gnu/java/nio/natDirectByteBufferImpl.cc
3141         (allocateImpl): jlong -> RawData*.
3142         (freeImpl): Likewise.
3143
3144 2003-05-13  Michael Koch  <konqueror@gmx.de>
3145
3146         * java/nio/channels/FileChannel.java
3147         (MapMode.m): Made it package-private to match JDK 1.4.
3148         * java/nio/charset/Charset.java
3149         (decode): Made it final to match JDK 1.4.
3150
3151 2003-05-13  Michael Koch  <konqueror@gmx.de>
3152
3153        * java/io/FileDescriptor.java
3154        (SYNC): New constant.
3155        (DSYNC): Likewise.
3156        (getLength): Renamed from lenght() to match classpath's
3157        FileDescriptor.java.
3158        * java/io/RandomAccessFile.java
3159        (RandomAccessFile): Removed unneeded mode check, implemented mode
3160        "rws" and "rwd", merged documentation from classpath.
3161        (setLength): Reformatted.
3162        (length): Use new getLength() of FileDescriptor.
3163        * java/io/natFileDescriptorEcos.cc
3164        (getLength): Renamed from length().
3165        * java/io/natFileDescriptorPosix.cc
3166        (open): Implemented support for SYNC and DSYNC.
3167        (seek): Use getLength() instead of length().
3168        (getLength): Renamed from length().
3169        * java/io/natFileDescriptorWin32.cc
3170        (getLength): Renamed from length().
3171        (seek): Use getLength() instead of length().
3172        (available): Likewise.
3173        * gnu/java/nio/natFileChannelImpl.cc
3174        (size): Use getLength() instead of length().
3175
3176 2003-05-13  Michael Koch  <konqueror@gmx.de>
3177
3178         * gnu/java/nio/ByteBufferImpl.java
3179         (ByteBufferImpl): All constructors revised.
3180         (slice): Reimplemented.
3181         (duplicate): Reimplemented.
3182         (asReadOnlyBuffer): Reimplemented.
3183         * java/nio/ByteBuffer.java:
3184         Reformatted.
3185         (array_offset): Renamed from "offset" to match all other buffer
3186         classes.
3187         (ByteBuffer): All constructors revised.
3188         (allocateDirect): Implemented.
3189         (allocate): New implementation, documentation reworked.
3190         (wrap): Likewise.
3191         (get): Documentation reworked.
3192         (put): New implementation, documentation reworked.
3193         (hasArray): Documentation reworked.
3194         (arrayOffset): Likewise.
3195         (hashCode): Likewise.
3196         (equals): Likewise.
3197         (compareTo): Likewise.
3198         (order): Likewise.
3199         (compact): Likewise.
3200         (isDirect): Likewise.
3201         (slice): Likewise.
3202         (duplicate): Likewise.
3203         (asReadOnlyBuffer): Likewise.
3204         * Makefile.am
3205         (ordinary_java_source_files):
3206         Added gnu/java/nio/DirectByteBufferImpl.java.
3207         (nat_source_files):
3208         Added gnu/java/nio/natDirectByteBufferImpl.cc.
3209         * Makefile.in: Regenerated.
3210
3211 2003-05-12  Michael Koch  <konqueror@gmx.de>
3212
3213         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
3214         (nio_get_*): Removed.
3215         (nio_put_*): Removed.
3216         (as*Buffer): Implemented.
3217         (compact): Implemented.
3218         (get): Documentation added.
3219         (put): Documentation added.
3220         (get*): Newly implemented.
3221         (put*): Newly implemented.
3222         * gnu/java/nio/CharBufferImpl.java: Reformatted.
3223         (CharBufferImpl): Revised.
3224         (slice): New implementation.
3225         (duplicate): New implementation.
3226         (compact): New implementation.
3227         (asReadOnlyBuffer): New implementation.
3228         (get): Documentation revised.
3229         (order): Return native byte order.
3230         * gnu/java/nio/DirectByteBufferImpl.java
3231         (allocateDirect): objects can be null not 0.
3232         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
3233         (DoubleBufferImpl): Revised.
3234         (slice): New implementation.
3235         (duplicate): New implementation.
3236         (compact): New implementation.
3237         (asReadOnlyBuffer): New implementation.
3238         (get): Documentation revised.
3239         (order): Return native byte order.
3240         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
3241         (FloatBufferImpl): Revised.
3242         (slice): New implementation.
3243         (duplicate): New implementation.
3244         (compact): New implementation.
3245         (asReadOnlyBuffer): New implementation.
3246         (get): Documentation revised.
3247         (order): Return native byte order.
3248         * gnu/java/nio/IntBufferImpl.java: Reformatted.
3249         (IntBufferImpl): Revised.
3250         (slice): New implementation.
3251         (duplicate): New implementation.
3252         (compact): New implementation.
3253         (asReadOnlyBuffer): New implementation.
3254         (get): Documentation revised.
3255         (order): Return native byte order.
3256         * gnu/java/nio/LongBufferImpl.java: Reformatted.
3257         (LongBufferImpl): Revised.
3258         (slice): New implementation.
3259         (duplicate): New implementation.
3260         (compact): New implementation.
3261         (asReadOnlyBuffer): New implementation.
3262         (get): Documentation revised.
3263         (order): Return native byte order.
3264         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
3265         (ShortBufferImpl): Revised.
3266         (slice): New implementation.
3267         (duplicate): New implementation.
3268         (compact): New implementation.
3269         (asReadOnlyBuffer): New implementation.
3270         (get): Documentation revised.
3271         (order): Return native byte order.
3272         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
3273         (CharBuffer): Revised.
3274         (order): Removed.
3275         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
3276         (DoubleBuffer): Revised.
3277         (allocateDirect): Removed.
3278         (order): Removed.
3279         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
3280         (FloatBuffer): Revised.
3281         (allocateDirect): Removed.
3282         (order): Removed.
3283         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
3284         (IntBuffer): Revised.
3285         (allocateDirect): Removed.
3286         (order): Removed.
3287         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
3288         (LongBuffer): Revised.
3289         (allocateDirect): Removed.
3290         (order): Removed.
3291         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
3292         (ShortBuffer): Revised.
3293         (allocateDirect): Removed.
3294         (order): Removed.
3295         * gnu/java/nio/natByteBufferImpl.cc: Removed.
3296         * gnu/java/nio/natCharBufferImpl.cc: Removed.
3297         * Makefile.am
3298         (ordinary_java_source_files): Added the following files:
3299         gnu/java/nio/CharViewBufferImpl.java,
3300         gnu/java/nio/DoubleViewBufferImpl.java,
3301         gnu/java/nio/FloatViewBufferImpl.java,
3302         gnu/java/nio/IntViewBufferImpl.java,
3303         gnu/java/nio/LongViewBufferImpl.java,
3304         gnu/java/nio/ShortViewBufferImpl.java
3305         (nat_source_files): Removed the following files:
3306         gnu/java/nio/natByteBufferImpl.cc,
3307         gnu/java/nio/natCharBufferImpl.cc
3308         * Makefile.in: Regenerated.
3309
3310 2003-05-12  Michael Koch  <konqueror@gmx.de>
3311
3312         * gnu/java/nio/CharViewBufferImpl.java,
3313         gnu/java/nio/DirectByteBufferImpl.java,
3314         gnu/java/nio/DoubleViewBufferImpl.java,
3315         gnu/java/nio/FloatViewBufferImpl.java,
3316         gnu/java/nio/IntViewBufferImpl.java,
3317         gnu/java/nio/LongViewBufferImpl.java,
3318         gnu/java/nio/ShortViewBufferImpl.java,
3319         gnu/java/nio/natDirectByteBufferImpl.cc:
3320         New files, not yet to be compiled.
3321
3322 2003-05-10  Michael Koch  <konqueror@gmx.de>
3323
3324         * javax/swing/plaf/ButtonUI.java,
3325         javax/swing/plaf/ColorUIResource.java,
3326         javax/swing/plaf/ComponentUI.java,
3327         javax/swing/plaf/DimensionUIResource.java,
3328         javax/swing/plaf/FontUIResource.java,
3329         javax/swing/plaf/IconUIResource.java,
3330         javax/swing/plaf/InsetsUIResource.java,
3331         javax/swing/plaf/LabelUI.java,
3332         javax/swing/plaf/ListUI.java,
3333         javax/swing/plaf/OptionPaneUI.java,
3334         javax/swing/plaf/PanelUI.java,
3335         javax/swing/plaf/TabbedPaneUI.java,
3336         javax/swing/plaf/TextUI.java,
3337         javax/swing/plaf/TreeUI.java,
3338         javax/swing/plaf/ViewportUI.java,
3339         javax/swing/plaf/basic/BasicBorders.java,
3340         javax/swing/plaf/basic/BasicButtonUI.java,
3341         javax/swing/plaf/basic/BasicCheckBoxUI.java,
3342         javax/swing/plaf/basic/BasicDefaults.java,
3343         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3344         javax/swing/plaf/basic/BasicIconFactory.java,
3345         javax/swing/plaf/basic/BasicLabelUI.java,
3346         javax/swing/plaf/basic/BasicListUI.java,
3347         javax/swing/plaf/basic/BasicOptionPaneUI.java,
3348         javax/swing/plaf/basic/BasicPanelUI.java,
3349         javax/swing/plaf/basic/BasicRadioButtonUI.java,
3350         javax/swing/plaf/basic/BasicScrollPaneUI.java,
3351         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3352         javax/swing/plaf/basic/BasicTextUI.java,
3353         javax/swing/plaf/basic/BasicToggleButtonUI.java,
3354         javax/swing/plaf/basic/BasicTreeUI.java,
3355         javax/swing/plaf/basic/BasicViewportUI.java,
3356         javax/swing/plaf/metal/MetalLookAndFeel.java:
3357         New versions from classpath. This adds copyrights to all files and
3358         some serialVersionUIDs.
3359
3360 2003-05-10  Michael Koch  <konqueror@gmx.de>
3361
3362         * java/nio/CharBuffer.java
3363         (offset): Make it package-private.
3364         (backing_buffer): Likewise.
3365         * java/nio/DoubleBuffer.java
3366         (offset): Make it package-private.
3367         (backing_buffer): Likewise.
3368         (put): Reformatted.
3369         * java/nio/FloatBuffer.java
3370         (offset): Make it package-private.
3371         (backing_buffer): Likewise.
3372         * java/nio/IntBuffer.java
3373         (offset): Make it package-private.
3374         (backing_buffer): Likewise.
3375         * java/nio/LongBuffer.java
3376         (offset): Make it package-private.
3377         (backing_buffer): Likewise.
3378         * java/nio/ShortBuffer.java
3379         (offset): Make it package-private.
3380         (backing_buffer): Likewise.
3381
3382 2003-05-10  Michael Koch  <konqueror@gmx.de>
3383
3384         * java/nio/CharBuffer.java
3385         (put): Fixed precondtion check.
3386         (toString): Make it work without backing array.
3387         (put): Skip one level of method calling.
3388
3389 2003-05-10  Michael Koch  <konqueror@gmx.de>
3390
3391         * java/security/Identity.java,
3392         java/security/IdentityScope.java,
3393         java/security/Key.java,
3394         java/security/KeyPair.java,
3395         java/security/PrivateKey.java,
3396         java/security/Provider.java,
3397         java/security/PublicKey.java,
3398         java/security/SecureRandom.java,
3399         java/security/SecureRandomSpi.java,
3400         java/security/SignedObject.java,
3401         java/security/Signer.java,
3402         java/security/cert/Certificate.java,
3403         java/security/cert/PKIXCertPathBuilderResult.java,
3404         java/security/cert/X509Certificate.java:
3405         New versions from classpath.
3406
3407 2003-05-09  Tom Tromey  <tromey@redhat.com>
3408
3409         * Makefile.in: Rebuilt.
3410         * Makefile.am (nat_source_files): Removed old files.
3411         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
3412         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
3413         * gnu/java/nio/natIntBufferImpl.cc: Removed.
3414         * gnu/java/nio/natLongBufferImpl.cc: Removed.
3415         * gnu/java/nio/natShortBufferImpl.cc: Removed.
3416
3417 2003-05-09  Michael Koch  <konqueror@gmx.de>
3418
3419         * gnu/java/nio/ByteBufferImpl.java
3420         (nio_cast): Removed.
3421         (ByteBufferImpl): Removed.
3422         (nio_get_Byte): Removed.
3423         (nio_put_Byte): Removed.
3424         (asByteBuffer): Removed.
3425         (asCharBuffer): Removed implementation and throw exception.
3426         (asShortBuffer): Likewise.
3427         (asIntBuffer): Likewise.
3428         (asLongBuffer): Likewise.
3429         (asFloatBuffer): Likewise.
3430         (asDoubleBuffer): Likewise.
3431         * gnu/java/nio/CharBufferImpl.java
3432         (CharBufferImpl): Removed.
3433         (nio_get_Byte): Removed.
3434         (nio_put_Byte): Removed.
3435         (asByteBuffer): Removed.
3436         * gnu/java/nio/DoubleBufferImpl.java
3437         (DoubleBufferImpl): Removed.
3438         (nio_get_Byte): Removed.
3439         (nio_put_Byte): Removed.
3440         (asByteBuffer): Removed.
3441         * gnu/java/nio/FloatBufferImpl.java
3442         (FloatBufferImpl): Removed.
3443         (nio_get_Byte): Removed.
3444         (nio_put_Byte): Removed.
3445         (asByteBuffer): Removed.
3446         * gnu/java/nio/IntBufferImpl.java
3447         (IntBufferImpl): Removed.
3448         (nio_get_Byte): Removed.
3449         (nio_put_Byte): Removed.
3450         (asByteBuffer): Removed.
3451         * gnu/java/nio/LongBufferImpl.java
3452         (LongBufferImpl): Removed.
3453         (nio_get_Byte): Removed.
3454         (nio_put_Byte): Removed.
3455         (asByteBuffer): Removed.
3456         * gnu/java/nio/ShortBufferImpl.java
3457         (ShortBufferImpl): Removed.
3458         (nio_get_Byte): Removed.
3459         (nio_put_Byte): Removed.
3460         (asByteBuffer): Removed.
3461         * gnu/java/nio/natByteBufferImpl.cc
3462         (nio_cast): Removed.
3463         (nio_get_Byte): Removed.
3464         (nio_put_Byte): Removed.