1. 27 Nov, 2003 10 commits
    • [multiple changes] · a01387dd
      2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
      
      	* java/text/NumberFormat.java:
      	(getIntegerInstance) Added the java version in the comments.
      
      2003-11-27  Mark Wielaard  <mark@klomp.org>
      
      	* java/text/NumberFormat.java: Import java.io.InvalidObjectException.
      	(readResolve): Reformat.
      
      2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
      
      	* java/text/NumberFormat.java
      	(NumberFormat.Field): New implemented class to match Java 1.4.
      	(getIntegerInstance): Two new Java 1.4 methods.o
      
      From-SVN: r73985
      Michael Koch committed
    • GregorianCalendar.java (getLinearTime): Avoid counting the leap day of the leap year twice. · 33ebe68e
      2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
      
      	* java/util/GregorianCalendar.java (getLinearTime): Avoid counting
      	the leap day of the leap year twice.
      	(computeFields): First week of month is 1 not 0.
      
      From-SVN: r73984
      Ito Kazumitsu committed
    • BasicDefaults.java (BasicDefaults): Put AbstractUndoableEdit.undoText and… · 0e8c0c22
      BasicDefaults.java (BasicDefaults): Put AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
      
      2003-11-27  Mark Wielaard  <mark@klomp.org>
      
      	* javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
      	AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
      
      From-SVN: r73983
      Mark Wielaard committed
    • UIDefaults.java: Reformated to match classpath's version. · ad91feff
      2003-11-27  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/UIDefaults.java:
      	Reformated to match classpath's version.
      
      From-SVN: r73981
      Michael Koch committed
    • UIManager.java (getDefaults, [...]): Declare as public. · 9121d16b
      2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
      
      	* javax/swing/UIManager.java (getDefaults, getDimension,
      	getIcon, getInsets, getInstalledLookAndFeels, getInt,
      	getLookAndFeel, getString, getSystemLookAndFeelClassName):
      	Declare as public.
      
      From-SVN: r73980
      Sascha Brawer committed
    • re PR libstdc++/9371 (Bad exception handling in i/ostream::operator>>/<<(streambuf*)) · 12841eb3
      
      2003-11-26  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/9371
      	PR libstdc++/9546
      	PR libstdc++/10093
      	PR libstdc++/10095
      	* include/bits/basic_ios.h (basic_ios::setstate): Elide if goodbit.
      	(basic_ios::_M_setstate): Consolidate common error handling code.
      	* include/bits/basic_ios.tcc: Tweak.
      	* include/bits/fstream.tcc: Tweak.
      	* include/bits/istream.tcc: Use _M_setstate for common exception
      	handling. Move setstate calls after catch.
      	(basic_istream::tellg): Check for exceptions thrown by streambuf
      	virtual functions.
      	(basic_istream::seekg): Same.
      	* include/bits/ostream.tcc: Same, but for ostream.
      	(basic_ostream::flush): Check for exceptions thrown by streambuf
      	virtual functions.
      	(basic_istream::tellp): Same.
      	(basic_istream::seekp): Same.
      	* include/bits/locale_facets.tcc: Tweak.
      	* include/bits/streambuf.tcc: Tweak.
      	(__copy_streambufs): Propagate exceptions.
      	* testsuite/testsuite_io.h (fail_streambuf): New.
      	(fail_num_get): New.
      	(fail_num_put): New.
      	(facet_error): New.
      	(underflow_error): New.
      	(overflow_error): New.
      	(positioning_error): New.
      	* testsuite/27_io/basic_istream/exceptions/char/9561.cc: Tweak.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/
              exceptions_badbit_throw.cc, exceptions_failbit.cc,
              exceptions_failbit_throw.cc: New.
      	* testsuite/27_io/basic_istream/extractors_other/char/
      	error_failbit.cc, exceptions_badbit_throw.cc,
              exceptions_failbit_throw.cc, exceptions_null.cc: New.
      	* testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc:
      	New.
      	* testsuite/27_io/basic_istream/tellg/char/exceptions_badbit_throw.cc:
      	New.
      	* testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc:
      	New.
      	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
      	exceptions_badbit_throw.cc, exceptions_failbit_throw.cc: New.
      	* testsuite/27_io/basic_ostream/inserters_other/char/
      	error_failbit.cc, exceptions_badbit_throw.cc,
              exceptions_failbit_throw.cc, exceptions_null.cc: New.
      	* testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc:
      	New.
      	* testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc:
      	New.
      
      From-SVN: r73979
      Benjamin Kosnik committed
    • re PR rtl-optimization/13041 (linux-2.6/sound/core/oss/rate.c miscompiled) · b483cfb7
      	PR optimization/13041
      	* final.c (frame_pointer_needed): Fix comment.
      	* reload1.c (reload): Decrease alignment of the frame
      	pointer if it was used for register allocation.
      
      From-SVN: r73978
      Eric Botcazou committed
    • re PR target/12900 (g++ ICE in rtl_verify_flow_info_1) · ecb63641
      	PR target/12900
      	* reg-stack (move_for_stack_reg): New prototype.  Return
      	whether a control flow insn was deleted.
      	(subst_stack_regs_pat): Likewise, using the information provided
      	by move_for_stack_reg.
      	(subst_stack_regs): Likewise, using the information provided
      	by subst_stack_regs_pat.
      	(convert_regs_1): Record whether a control flow insn was deleted,
      	using the information provided by subst_stack_regs.  Purge dead
      	edges only if a control flow insn was deleted.
      
      From-SVN: r73977
      Eric Botcazou committed
    • re PR middle-end/8028 (__builtin_apply() passes wrong arguments) · 316d0b19
      	PR middle-end/8028
      	PR middle-end/9890
      	PR middle-end/11151
      	PR middle-end/12210
      	PR middle-end/12503
      	PR middle-end/12692
      	* builtins.c (expand_builtin_apply): Use virtual_outgoing_args_rtx
      	as the base address to copy the memory arguments to.
      
      From-SVN: r73976
      Eric Botcazou committed
    • Daily bump. · 27f0f552
      From-SVN: r73972
      GCC Administrator committed
  2. 26 Nov, 2003 27 commits
    • cp-demangle.c (struct d_print_mod): Add templates field. · 81dc098b
      	* cp-demangle.c (struct d_print_mod): Add templates field.
      	(d_make_builtin_type): Check for NULL type.
      	(d_make_extended_operator): Check for NULL name.
      	(d_make_ctor, d_make_dtor): Likewise.
      	(d_mangled_name): Add top_level parameter.  Change all callers.
      	(d_encoding): If DMGL_PARAMS is not set, strip off initial
      	CV-qualifiers.
      	(d_type): Check some return values we rely on.
      	(d_bare_function_type, d_array_type): Likewise.
      	(d_pointer_to_member_type, d_template_args): Likewise.
      	(d_add_substitution): Fail if argument is NULL.
      	(d_print_resize): Check whether buf is NULL.
      	(d_print_comp): Save current templates list with each modifier.
      	Don't pass the modifier list down when printing a template.
      	(d_print_cast): Don't pass the modifier list down when printing a
      	template.
      	(d_print_mod_list): Temporarily set templates list while printing
      	a modifier.
      	(d_print_mod): Check that buf is not NULL before using it.
      	(d_print_function_type): Print parens if there is no modifier.
      	(d_init_info): Permit as many substitutions as there are
      	characters in the mangled name.
      	* testsuite/demangle-expected: Add two new test cases.
      
      From-SVN: r73970
      Ian Lance Taylor committed
    • re PR libstdc++/12297 (istream::sentry::sentry() handles eof() incorrectly.) · 48f499cf
      
      2003-11-26  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/12297
      	* include/bits/istream.tcc
      	(basic_istream::sentry::sentry): Set failbit and eofbit when eof.
      	* testsuite/27_io/basic_istream/sentry/char/12297.cc: New.
      
      From-SVN: r73968
      Benjamin Kosnik committed
    • StateEdit.java (getPresentationName): Docfix. · aef81a9a
      2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
      
      	* javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
      	* javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
      	isSignificant): Likewise.
      
      2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
      
      	* javax/swing/undo/CompoundEdit.java: Re-format, document.
      	(inProgress): Set initial value to true.
      	(undo, redo, die, canUndo, canRedo): Also call inherited
      	implementation; simplify code structure.
      	(getPresentationName, getUndoPresentationName,
      	getRedoPresentationName): Make behavior dependent on lastEdit.
      	(addEdit, isSignificant): Completely re-written.
      
      2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
      
      	* javax/swing/undo/StateEdit.java: Re-format, document.
      	(undo, redo): Also call inherited implementation.
      
      2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
      
      	* javax/swing/undo/StateEditable.java: Re-format, document.
      
      2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
      
      	* javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
      	(AbstractUndoableEdit): Initialize hasBeenDone to true.
      	(canUndo, canRedo): Simplify.
      	(getUndoPresentationName, getRedoPresentationName): Support
      	localized message; call getPresentationName() only once.
      
      From-SVN: r73967
      Sascha Brawer committed
    • cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Declare function aliases as functions. · 034f2316
      	* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS):
      	Declare function aliases as functions.
      
      	Fix typo in 2003-10-24 entry.
      
      From-SVN: r73966
      Danny Smith committed
    • ZipFile (Zipfile(File)): Set file path as name. · 03e52420
      2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
      
      	* java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
      	(ZipFile(File,int)): Likewise.
      
      From-SVN: r73965
      David Belanger committed
    • HashMap.java (putAll): Use Iterator hasNext() method. · 32ffbe92
      2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
      
      	* java/util/HashMap.java (putAll): Use Iterator hasNext() method.
      	(putAllInternal): Likewise.
      	* java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
      	(putAllInternal): Likewise.
      
      From-SVN: r73964
      Stuart Ballard committed
    • 2003-11-26 Michael Koch <konqueror@gmx.de> · cb5599c7
      	* java/net/URLStreamHandler.java
      	(parseURL): Added comment in catch statement.
      	(canonicalizeFilename): Add documentation.
      	(sameURL): Completed documentation.
      	(equals): Likewise.
      	(hostsEqual): Likewise.
      	(getDefaulPort): Likewise.
      	(hashCode): Likewise.
      	(toExternalForm): Likewise.
      	(getHostName): Fix empty hostname check, completed documentation.
      
      From-SVN: r73962
      Michael Koch committed
    • aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal of ADAC. · e0520fa7
      	* aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal
      	of ADAC.
      	* configure: Regenerate.
      
      From-SVN: r73960
      Nathanael Nerode committed
    • * Makefile.in: Remove references to ADAC. · 6ad5e585
      From-SVN: r73959
      Nathanael Nerode committed
    • configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long. · f73ccc50
      	* configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long.
      	* configure: Regenerate.
      
      From-SVN: r73958
      Nathanael Nerode committed
    • natDouble.cc (parseDouble): Reverted patch of 2003-11-13. · f627fd15
      	* java/lang/natDouble.cc (parseDouble): Reverted patch of
      	2003-11-13.
      
      From-SVN: r73956
      Tom Tromey committed
    • * de.po: Update. · 8edb6c13
      From-SVN: r73955
      Joseph Myers committed
    • re PR libstdc++/13171 (Bugs in basic_filebuf::imbue) · c03d83d4
      2003-11-26  Paolo Carlini  <pcarlini@suse.de>
      	    Petur Runolfsson  <peturr02@ru.is>
      
      	PR libstdc++/13171
      	* include/bits/fstream.tcc (imbue): Relax the conditions under
      	which the function succeeds: allow for two consecutive calls with
      	the same name; state dependent encodings are ok even after open
      	if at the beginning of the file; don't check seekoff return value
      	(pipes, cin, cout, etc...)
      	* testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: New.
      	* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: New.
      	* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: New.
      	* testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: New.
      	* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak comment.
      	* testsuite/27_io/basic_filebuf/imbue/char/3.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Tweak comment.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: Likewise.
      
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: More
      	correctly use the UTF-8 locale appearing in the PR.
      
      Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
      
      From-SVN: r73954
      Paolo Carlini committed
    • URLStreamHandler (parseUrl): Fixed URL parsing ('@' should be checked to… · 6796826c
      URLStreamHandler (parseUrl): Fixed URL parsing ('@' should be checked to distinguish port from userinfo).
      
      2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
      	    Mark Wielaard  <mark@klomp.org>
      
      	* java/net/URLStreamHandler (parseUrl): Fixed URL parsing
      	('@' should be checked to distinguish port from userinfo).
      	(toExternalForm): Add @ userInfo if necessary.
      
      Co-Authored-By: Mark Wielaard <mark@klomp.org>
      
      From-SVN: r73953
      Guilhem Lavaux committed
    • 2003-11-26 Michael Koch <konqueror@gmx.de> · dddfde5f
      	* java/net/DatagramSocket.java
      	(DategramSocket, bind): Moved binding code from DatagramSocket
      	constructor to bind method.
      
      From-SVN: r73952
      Michael Koch committed
    • 2003-11-26 Michael Koch <konqueror@gmx.de> · 4aa74bd3
      	* java/net/DatagramSocket.java
      	(impl): Made private.
      	(bound): New private member variable.
      	(DatagramSocket): Fixed documentation, use getImpl().
      	(getImpl): New package-private method.
      	(isClosed): Use getImpl().
      	(getLocalAddress): Completed documentation, use getImpl().
      	(getLocalPort): Use getImpl().
      	(getSoTimeout): Likewise.
      	(setSoTimeout): Likewise.
      	(getSendBufferSize): Likewise.
      	(setSendBufferSize): Likewise.
      	(getReceiveBufferSize): Likewise.
      	(setReceiveBufferSize): Likewise.
      	(connect): Likewise.
      	(disconnect): Likewise.
      	(receive): Likewise.
      	(send): Likewise.
      	(setReuseAddress): Likewise.
      	(setTrafficClass): Likewise.
      	(bind): Added message to exception.
      	(isClosed): Completed documentation.
      	(getChannel): Likewise.
      	(connect): Added missing exception, refined exception message.
      	(isBound): Completed documentation, just return bound.
      	(isConnected): Completed documentation.
      	(getRemoteSocketAddress): Likewise.
      	(getReuseAddress): Completed documentation, use getImpl().
      	(setSoBroadcast): Likewise.
      	(getSoBroadcast): Likewise.
      	(getTrafficClass): Likewise.
      	(getLocalSocketAddress): Simplified.
      	* java/net/MulticastSocket.java
      	(MulticastSocket): Removed comment not applying anymore.
      	(getInterface): Use getImpl().
      	(getTTL): Likewise.
      	(getTimeToLive): Likewise.
      	(setInterface): Likewise.
      	(setNetworkInterface): Likewise.
      	(getNetworkInterface): Likewise.
      	(setLoopback): Likewise.
      	(getLoopback): Likewise.
      	(setTTL): Likewise.
      	(setTimeToLive): Likewise.
      	(joinGroup): Likewise.
      	(leaveGroup): Likewise.
      	(send): Likewise.
      
      From-SVN: r73951
      Michael Koch committed
    • ffitest.h: Include <fcntl.h>. · 88096b2a
      	* testsuite/libffi.call/ffitest.h: Include <fcntl.h>.
      	* testsuite/libffi.special/ffitestcxx.h: Likewise.
      
      From-SVN: r73950
      Kaveh R. Ghazi committed
    • 2003-11-26 Michael Koch <konqueror@gmx.de> · 948888e1
      	* java/net/Socket.java
      	(implCreated): Dont set default value explicitely, added
      	documentation.
      	(inputShutdown): Likewise.
      	(outputShutdown): Likewise.
      	(bound): New private member variable.
      	(bind): Set bound to true.
      	(close): Set bound to false.
      	(isBound): Return bound.
      	* java/net/ServerSocket.java
      	(bound): New private member variable.
      	(bind): Set bound to true.
      	(close): Set bound to false.
      	(isBound): Return bound.
      
      From-SVN: r73949
      Michael Koch committed
    • 2003-11-26 Paolo Carlini <pcarlini@suse.de> · 7fb1d711
      	* include/bits/locale_facets.h
      	(__numpunct_cache<>::_M_cache): Avoid zeroing _M_grouping,
      	_M_truename and _M_falsename: the constructor always does
      	it immediately before the _M_cache call.
      
      From-SVN: r73948
      Paolo Carlini committed
    • 2003-11-26 Michael Koch <konqueror@gmx.de> · a7c084ac
      	* java/net/URL.java
      	(URL): Fixed documentation to be HTML compliant.
      	(getContent): Completed documentation.
      	(getFile): Likewise.
      	(getPath): Likewise.
      	(getAuthority): Likewise.
      	(getHost): Likewise.
      	(getDefaultPort): Likewise.
      	(getProtocol): Likewise.
      	(hashCode): Likewise.
      	(openConnection): Likewise.
      	(openStream): Likewise.
      	(set): Likewise.
      	(getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
      
      From-SVN: r73947
      Michael Koch committed
    • 2003-11-26 Michael Koch <konqueror@gmx.de> · 57a5c93b
      	* java/net/InetSocketAddress.java
      	(hostname): Made private, added documentation.
      	(addr): Likewise.
      	(port): Likewise.
      	(equals): Completed documentation.
      	(getAddress): Likewise.
      	(getHostName): Likewise.
      	(getPort): Likewise.
      	(hashCode): Likewise.
      	(isUnresolved): Likewise.
      	(toString): Likewise.
      
      From-SVN: r73946
      Michael Koch committed
    • 2003-11-26 Michael Koch <konqueror@gmx.de> · 6cf0ea4b
      	* gnu/java/net/protocol/file/Handler.java
      	(Handler): New explicit constructor.
      	(openConnection): Added documentation.
      	* gnu/java/net/protocol/jar/Handler.java
      	(Handler): New explicit constructor.
      	(openConnection): Added documentation.
      
      From-SVN: r73945
      Michael Koch committed
    • 2003-11-26 Michael Koch <konqueror@gmx.de> · e08932b2
      	* java/net/DatagramPacket.java
      	(DatagramPacket): Fixed documentation to become legal HTML.
      
      From-SVN: r73944
      Michael Koch committed
    • re PR target/6466 (backend uses bad type for frame size calculation.) · 6a151f87
      	PR target/6466
      	* config/sparc/sparc-protos.h (compute_frame_size): New prototype.
      	(sparc_flat_compute_frame_size): Likewise.
      	(sparc_flat_save_restore): Move prototype...
      	* config/sparc/sparc.c (sparc_flat_save_restore): ...here.
      	(save_regs): New prototype.
      	(build_big_number): Likewise.
      	(apparent_fsize): Change type to HOST_WIDE_INT.
      	(actual_fsize): Likewise.
      	(frame_base_offset): Likewise.
      	(build_big_number): Add support for HOST_BITS_PER_WIDE_INT == 64.
      	Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
      	[TARGET_ARCH64]: Use the sequence of sparc_emit_set_const64_longway
      	to load a 64-bit constant.
      	(sparc_nonflat_function_prologue): Change string descriptor to
      	HOST_WIDE_INT_PRINT_DEC.  Change offset type to HOST_WIDE_INT.
      	(output_restore_regs): Change offset type to HOST_WIDE_INT.
      	(sparc_nonflat_function_epilogue): Change string descriptor to
      	HOST_WIDE_INT_PRINT_DEC.  Use build_big_number.
      	(output_sibcall): Change size type to HOST_WIDE_INT.  Use
      	build_big_number.  Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
      	(sparc_frame_info): Change types for several components.
      	(sparc_flat_compute_frame_size): Update types according to previous
      	change.
      	(sparc_flat_function_prologue): Change string descriptor to
      	HOST_WIDE_INT_PRINT_DEC.  Change offset type to int.  Use
      	build_big_number.
      	(sparc_flat_function_epilogue): Change offset type to int.
      	Rename 'size1' into 'reg_offset1'.  Change string descriptor to
      	HOST_WIDE_INT_PRINT_DEC.  Use build_big_number.  Change big number
      	limit to 4096 instead of 4095.
      
      	* config/sparc/sparc.c (mems_ok_for_ldd_peep): Change offset type to
      	HOST_WIDE_INT.
      
      Co-Authored-By: Olivier Hainque <hainque@act-europe.fr>
      
      From-SVN: r73942
      Eric Botcazou committed
    • re PR middle-end/12548 ([non-weak] gcj now failes to compile included example) · 8bc7a740
        PR java/12548
        * resource.c (write_resource_constructor): Append
        "_resource" to constructor identifier name.
      
      From-SVN: r73940
      Mohan Embar committed
    • Daily bump. · c3786c3e
      From-SVN: r73936
      GCC Administrator committed
  3. 25 Nov, 2003 3 commits