- 26 Nov, 2003 27 commits
-
-
* 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 -
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 -
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 -
* 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 -
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 -
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 -
* 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. * configure: Regenerate. From-SVN: r73960
Nathanael Nerode committed -
From-SVN: r73959
Nathanael Nerode committed -
* configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long. * configure: Regenerate. From-SVN: r73958
Nathanael Nerode committed -
* java/lang/natDouble.cc (parseDouble): Reverted patch of 2003-11-13. From-SVN: r73956
Tom Tromey committed -
From-SVN: r73955
Joseph Myers committed -
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 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 -
* java/net/DatagramSocket.java (DategramSocket, bind): Moved binding code from DatagramSocket constructor to bind method. From-SVN: r73952
Michael Koch committed -
* 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 -
* testsuite/libffi.call/ffitest.h: Include <fcntl.h>. * testsuite/libffi.special/ffitestcxx.h: Likewise. From-SVN: r73950
Kaveh R. Ghazi committed -
* 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 -
* 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 -
* 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 -
* 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 -
* 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 -
* java/net/DatagramPacket.java (DatagramPacket): Fixed documentation to become legal HTML. From-SVN: r73944
Michael Koch committed -
From-SVN: r73943
Eric Botcazou committed -
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 -
PR java/12548 * resource.c (write_resource_constructor): Append "_resource" to constructor identifier name. From-SVN: r73940
Mohan Embar committed -
From-SVN: r73936
GCC Administrator committed
-
- 25 Nov, 2003 10 commits
-
-
2003-11-25 Paolo Carlini <pcarlini@suse.de> * config/locale/gnu/codecvt_members.cc (codecvt::do_length): Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the former is very fast, but stops if encounters a NUL. (codecvt::do_out): Tweaks. (codecvt::do_in): Tweaks, improve the code dealing with errors. * testsuite/performance/wchar_t_length.cc: New. From-SVN: r73934
Paolo Carlini committed -
* cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to d_demangle. From-SVN: r73931
Ian Lance Taylor committed -
2003-11-25 Michael Koch <konqueror@gmx.de> * gcj/javaprims.h: Added missing java.util.Currency. From-SVN: r73927
Michael Koch committed -
Fix PR java/13183. * constants.c (cpool_for_class): New function. (outgoing_cpool): Remove global variable. (alloc_name_constant): Use cpool_for_class. (build_constants_constructor): Likewise. * decl.c (java_expand_body): Set current_class. * java-tree.h (outgoing_cpool) Remove declaration. (init_outgoing_cpool): Likewise. * jcf-parse.c (init_outgoing_cpool): Remove function. (parse_class_file): Don't call init_outgoing_cpool. * parse.y (java_complete_expand_methods): Don't call init_outgoing_cpool. Don't save outgoing_cpool. (java_expand_classes): Don't restore outgoing_cpool. (java_finish_classes): Likewise. From-SVN: r73926
Jeff Sturm committed -
Make-lang.in (treelang.tags): Create TAGS.sub files in each directory and TAGS files that include them for... * Make-lang.in (treelang.tags): Create TAGS.sub files in each directory and TAGS files that include them for each front end. From-SVN: r73921
Jason Merrill committed -
2003-11-25 Michael Koch <konqueror@gmx.de> * testsuite/libjava.mauve/xfails: Removed these two tests, they mystically pass now: -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error : test_params failed - 5getInetAddress did not return proper values (number 1) -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error : test_BasicServer failed - 11 exception was thrown :Illegal seek (number 1) From-SVN: r73919
Michael Koch committed -
* java/net/DatagramSocket.java (factory): Made private. (closed): Removed. (DatagramSocket): Check impl argument, use constructor with SocketAddress argument. (close): Set impl to null, use isClosed(). (isClosed): Check for impl == null. (getLocalAddress): Use isClosed(). (getLocalPort): Check if socket is closed. (getSoTimeout): Likewise. (setSoTimeout): Likewise. (getSendBufferSize): Likewise. (setSendBufferSize): Likewise. (getReceiveBufferSize): Likewise. (setReceiveBufferSize): Likewise. (receive): Likewise. (send): Likewise. (bind): Likewise. (connect): Likewise. (setReuseAddress): Likewise. (getReuseAddress): Likewise. (setBroadcast): Likewise. (getBroadcast): Likewise. (setTrafficClass): Likewise. (getTrafficClass): Likewise. * java/net/MulticastSocket.java (getInterface): Check if socket is closed. (getTTL): Likewise. (getTimeToLive): Likewise. (setInterface): Likewise. (setNetworkInterface): Likewise. (getNetworkInterface): Likewise. (setLoopbackMode): Likewise. (setTTL): Likewise. (setTimeToLive): Likewise. (joinGroup): Likewise. (leaveGroup): Likewise. (send): Likewise. * java/net/ServerSocket.java (closed): Removed. (close): Check if socket is closed, set impl to null. (isClosed): Check impl == null; (ServerSocket): Check impl argument. (getInetAddress): Check if socket is bound. (getLocalPort): Likewise. (getLocalSocketAddress): Likewise. (bind): Check if socket is closed. (implAccept): Likewise. (setSoTimeout): Likewise. (getSoTimeout): Likewise. (setReuseAddress): Likewise. (getReuseAddress): Likewise. (setReceiveBufferSize): Likewise. (getReceiveBufferSize): Likewise. (toString): Make output compliant to JDK 1.4.2. * java/net/Socket.java (closed): Removed. (Socket): Fixed documentation. (connect): Check if socket is closed, changed exception text, fixed documentation. (getInputStream): Check of socket is closed and connected. (getOutputStream): Likewise. (bind): Check if socket is closed. (setTcpNoDelay): Likewise. (getTcpNoDelay): Likewise. (setSoLinger): Likewise. (getSoLinger): Likewise. (sendUrgentData): Likewise. (setOOBInline): Likewise. (getOOBInline): Likewise. (setSoTimeout): Likewise. (getSoTimeout): Likewise. (setSendBufferSize): Likewise. (getSendBufferSize): Likewise. (setReceiveBufferSize): Likewise. (getReceiveBufferSize): Likewise. (setKeepAlive): Likewise. (getKeepAlive): Likewise. (close): Likewise. (shutdownInput): Likewise. (shutdownOutput): Likewise. (getReuseAddress): Likewise. (getTrafficClass): Likewise. (setTrafficClass): Likewise. (isClosed): Check impl == null. (toString): Added missing ']'. From-SVN: r73918
Michael Koch committed -
From-SVN: r73915
Andreas Jaeger committed -
* Makefile.in: Rebuilt. * Makefile.am (propdir): New macro. (install-data-local): Install logging.properties. (core_java_source_files): Added java.util.logging.*. * java/util/logging/logging.properties: New file. From-SVN: r73907
Tom Tromey committed -
From-SVN: r73905
GCC Administrator committed
-
- 24 Nov, 2003 3 commits
-
-
* java/net/DatagramSocket.java (DatagramSocket): Move binding code to bind(), simplify constructors. * java/net/MulticastSocket.java (MulticastSocket): Call parent constructor with null argument, bind socket after setReuseAddress is called, simplify constructors. From-SVN: r73902
Michael Koch committed -
2003-11-24 Toon Moene <toon@moene.indiv.nluug.nl> PR fortran/12633 * expr.c (ffeexpr_reduced_ugly2log_): Revert change allowing logical .and. logical to be integer in expressions when -fugly-logint. From-SVN: r73898
Toon Moene committed -
PR ada/13142 * utils.c (init_gigi_decls): Change name of built-in setjmp to __builtin_setjmp, since this is apparently needed by recent non Ada changes. From-SVN: r73896
Arnaud Charlet committed
-