aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-02-152003-02-15 Michael Koch <konqueror@gmx.de>Michael Koch15-14/+462
* java/awt/CheckboxMenuItem.java (CheckBoxMenuItem): Dont implement Serializable. (getListeners): New method, (getItemListeners): New method. * java/awt/Choice.java (getListeners): New method, (getItemListeners): New method. * java/awt/Container.java (getListeners): Added exception documentation. (setFocusTraversalKeys): Throw exceptions, added documentattion. (getFocusTraversalKeys): Added documentation. (areFocusTraversalKeysSet): Added documentation. (applyComponentOrientation): Added documentation. * java/awt/ContainerOrderFocusTraversalPolicy.java (implicitDownCycleTraversal): Renamed from downCycle for serialization. (ContainerOrderFocusTraversalPolicy): Added documentation. (accept): Reformated. * java/awt/Dialog.java (Dialog): Dont implement Serializable. (Dialog): Added documentation. * java/awt/Font.java (Font): Dont use absolute class name. * java/awt/Frame.java (Frame): Font implement Serializable. * java/awt/List.java (getListeners): New method, (getActionListeners): New method. (getItemListeners): New method. * java/awt/Menu.java (countItems): New deprecated method. * java/awt/Scrollbar.java (getListeners): New method, (getAdjustmentListeners): New method, * java/awt/TextComponent.java (getListeners): New method, (getTextListeners): New method, * java/awt/TextField.java (getListeners): New method, (getActionListeners): New method. * java/awt/Window.java (windowFocusListener): New member variable. (windowStateListener): New member variable. (getWindowFocusListeners): New method. (getWindowStateListeners): New method. (addWindowFocusListener): New method. (addWindowStateListener): New method. (removeWindowFocusListener): New method. (removeWindowStateListener): New method. * java/awt/datatransfer/DataFlavor.java (isRepresentationClassByteBuffer): New method. (isRepresentationClassCharBuffer): New method. (isRepresentationClassReader): New method. From-SVN: r62933
2003-02-15mingw32.h (LIBGCC_SPEC): Add libmingwex.a.Danny Smith3-3/+12
* config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a. Update copyright. * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a, for -mno-cygwin case. From-SVN: r62932
2003-02-15Daily bump.GCC Administrator2-2/+2
From-SVN: r62931
2003-02-14re PR rtl-optimization/7702 (gcc-3.2 optimization problem on a DEC alpha ↵Falk Hueffner2-11/+23
under OSF1) PR optimization/7702 * reload1.c (reload_cse_simplify_set): Honor CANNOT_CHANGE_MODE_CLASS. From-SVN: r62921
2003-02-14libjava.exp (test_libjava_from_javac): Don't create .o files containing $ ↵Mark Wielaard2-1/+8
characters and always quote class files with... * lib/libjava.exp (test_libjava_from_javac): Don't create .o files containing $ characters and always quote class files with "'"s. From-SVN: r62919
2003-02-14mn10300.c (mn10300_wide_const_load_uses_clr): New function.Alexandre Oliva4-6/+101
* config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New function. * config/mn10300/mn10300-protos.h: Declare it. * config/mn10300/mn10300.md (movdi, movdf): Use it to compute attribute cc of instructions that may use clr. From-SVN: r62916
2003-02-14mauve.exp (mauve_compute_uses): Add inner class object files by changing all ↵Mark Wielaard2-3/+17
occurances of $ to ^. * libjava.mauve/mauve.exp (mauve_compute_uses): Add inner class object files by changing all occurances of $ to ^. (test_mauve): Replace ^ with $ for class file names and quote them with "'"s. From-SVN: r62914
2003-02-14Makefile.tpl (RANLIB): Define.Rainer Orth3-0/+7
* Makefile.tpl (RANLIB): Define. * Makefile.in: Regenerate. From-SVN: r62913
2003-02-14BigDecimal.java (BigDecimal(String)): Always set scale to zero when there is ↵Mark Wielaard2-2/+10
an exponent and the significant is zero. * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to zero when there is an exponent and the significant is zero. (divide): Always set scale to newScale even in special ZERO case. From-SVN: r62908
2003-02-14simplify-rtx.c (simplify_binary_operation): Simplify ~y when (x - (x & y)) ↵Kazu Hirata2-4/+15
is found. * simplify-rtx.c (simplify_binary_operation): Simplify ~y when (x - (x & y)) is found. From-SVN: r62906
2003-02-14System.java (properties): Use Properties.clone.Tom Tromey2-3/+14
* java/lang/System.java (properties): Use Properties.clone. (setProperties): Likewise. From-SVN: r62903
2003-02-14configure.in: Fix typo.Rainer Orth3-2/+7
* configure.in: Fix typo. * configure: Regenerate. From-SVN: r62902
2003-02-14* config/h8300/h8300.md (a peephole2): New.Kazu Hirata2-0/+16
From-SVN: r62900
2003-02-14natServerSocketChannelImpl.cc: Removed.Michael Koch3-81/+8
2003-02-14 Michael Koch <konqueror@gmx.de> * gnu/java/nio/natServerSocketChannelImpl.cc: Removed. * gnu/java/nio/ServerSocketChannelImpl.java (SocketAccept): Removed. (accept): Commented out use of SocketAccept. From-SVN: r62898
2003-02-1420030213-1.c: Expect warning for unsupported -fpic on cris-*-elf* ↵Josef Zlomek2-1/+7
cris-*-aout* and mmix-*-*. * gcc.dg/20030213-1.c: Expect warning for unsupported -fpic on cris-*-elf* cris-*-aout* and mmix-*-*. From-SVN: r62896
2003-02-14re PR rtl-optimization/2391 (Exponential compilation time explosion in combine)Adam Nemet2-53/+285
PR opt/2391 * combine.c: Fix spelling in comment. (cached_nonzero_bits): New function. (cached_num_sign_bit_copies): New function. (nonzero_bits_with_known): New macro. (num_sign_bit_copies_with_known): New macro. (nonzero_bits1): Rename from nonzero_bits. Add three new arguments. Change calls from nonzero_bits to nonzero_bits_with_known. (num_sign_bit_copies1): Rename from num_sign_bit_copies. Add three new arguments. Change calls from num_sign_bit_copies to num_sign_bit_copies_with_known. (nonzero_bits): New macro. (num_sign_bit_copies): New macro. (update_table_tick): Don't traverse identical subexpression more than once. (get_last_value_validate): Likewise. From-SVN: r62893
2003-02-14decl2.c: Include "timevar.h".Gabriel Dos Reis4-26/+53
* decl2.c: Include "timevar.h". (namespace_ancestor): Time name lookup. (add_using_namespace): Likewise. (lookup_using_namespace): Likewise. (qualified_lookup_using_namespace): Likewise. (decl_namespace): Likewise. (lookup_arg_dependent): Likewise. * lex.c (do_identifier): Likewise. (do_scoped_id): Likewise. * pt.c (lookup_template_class): Likewise. From-SVN: r62892
2003-02-14emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.Zack Weinberg4-21/+52
* emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx. * function.h (struct emit_status): Length of regno_pointer_align and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no, not regno_pointer_align_length (i.e. length actually used, not length as allocated) * config/i386/i386.c (struct stack_local_entry): New. (struct machine_function): Replace huge array with alist. (assign_386_stack_local): Change to match. From-SVN: r62891
2003-02-14inclhack.def (hpux_long_double): Tighten select and add bypass regexp.John David Anglin3-4/+18
* inclhack.def (hpux_long_double): Tighten select and add bypass regexp. * fixincl.x: Rebuilt. From-SVN: r62886
2003-02-14Daily bump.GCC Administrator2-2/+2
From-SVN: r62885
2003-02-13verify.cc (state::seen_subrs): New field.Tom Tromey2-5/+69
* verify.cc (state::seen_subrs): New field. (state::state): Initialize it. (state::clean_subrs): New method. (state::~state): Call it. (state::copy): Copy subroutine list. (state::add_subr): New method. (state::merge): Only register a change if the current subroutine hasn't yet been noted. From-SVN: r62878
2003-02-13InputStreamReader.java (getEncoding): Return null when closed.Mark Wielaard3-4/+16
* java/io/InputStreamReader.java (getEncoding): Return null when closed. * java/io/OutputStreamWriter.java (getEncoding): Likewise. From-SVN: r62875
2003-02-13InflaterInputStream.java (read): Return zero when len is zero.Mark Wielaard2-1/+8
* java/util/zip/InflaterInputStream.java (read): Return zero when len is zero. From-SVN: r62872
2003-02-13Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.htmlJosef Zlomek2-0/+40
Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html * gcc.dg/20030213-1.c: New test. From-SVN: r62869
2003-02-13BufferedOutputStream.java (write(int)): Only flush when next byte cannot be ↵Mark Wielaard2-4/+9
buffered. * java/io/BufferedOutputStream.java (write(int)): Only flush when next byte cannot be buffered. From-SVN: r62867
2003-02-13c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.Benjamin Kosnik11-8/+50
2003-02-13 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define. * include/bits/basic_ios.tcc: Guard use of extern template. * include/std/std_iomanip.h: Same. * include/bits/streambuf.tcc: Same. * include/bits/stl_alloc.h: Same. * include/bits/locale_facets.tcc: Same. * include/bits/ostream.tcc: Same. * include/bits/istream.tcc: Same. * include/bits/fstream.tcc: Same. * include/bits/basic_string.tcc: Same. From-SVN: r62865
2003-02-132003-02-13 Michael Koch <konqueror@gmx.de>Michael Koch10-19/+57
* java/awt/Label.java (Label): Don't implement Serializable directly. (addNotify): Fixed typo in documentation. * java/awt/List.java (List): Don't implement Serializable directly. * java/awt/PopupMenu.java (PopupMenu): Don't implement Serializable directly. * java/awt/ScrollPane.java (ScrollPane): Don't implement Serializable directly. * java/awt/Scrollbar.java (Scrollbar): Don't implement Serializable directly. * java/awt/TextArea.java (preferredSize): Fixed method arguments. * java/awt/TextField.java (TextField): Don't implement Serializable directly. * java/awt/color/ICC_ColorSpace.java (fromCIOXYZ): Documentation added. (getMinValue): Documentation added. (getMaxValue): Documentation added. * java/awt/datatransfer/DataFlavor.java (isMimeTypeEqual): May not be final. (clone): Throws CloneNotSupportedException. (getReaderForText): Don't throws UnsupportedEncodingException. From-SVN: r62863
2003-02-132003-02-13 Michael Koch <konqueror@gmx.de>Michael Koch3-0/+16
* gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): New stubbed method. * java/awt/Graphics.java (drawString): New method. From-SVN: r62862
2003-02-13cfgcleanup.c (outgoing_edges_match): When there is single outgoing edge and ↵Josef Zlomek2-2/+9
block ends with a jump insn it must be... * cfgcleanup.c (outgoing_edges_match): When there is single outgoing edge and block ends with a jump insn it must be simple jump. From-SVN: r62858
2003-02-13ostream.tcc (sentry::sentry): Improve performance-wise the fix for ↵Paolo Carlini2-1/+6
libstdc++/9563. 2003-02-13 Paolo Carlini <pcarlini@unitus.it> * include/bits/ostream.tcc (sentry::sentry): Improve performance-wise the fix for libstdc++/9563. From-SVN: r62855
2003-02-13Makefile.in (PREPROCESSOR_DEFINES): Add @TARGET_SYSTEM_ROOT_DEFINE@.Daniel Jacobowitz11-316/+427
* Makefile.in (PREPROCESSOR_DEFINES): Add @TARGET_SYSTEM_ROOT_DEFINE@. * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot is specified or if building a cross compiler. (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE if the sysroot is under $exec_prefix. * configure: Regenerated. * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is defined. (struct default_include): Add add_sysroot field. (cpp_SYSROOT): Declare. * cppdefault.c (cpp_include_defaults): Fill in add_sysroot field. (cpp_SYSROOT): New variable. * cppinit.c (cpp_create_reader): Initialize CPP_OPTION (pfile, sysroot). (init_standard_includes): Handle add_sysroot. Do not add unrelocated copies of relocated directories. (COMMAND_LINE_OPTIONS): Add -isysroot. (cpp_handle_option): Handle -isysroot. * cpplib.h (struct cpp_options): Add sysroot member. * gcc.c (The Specs Language): Update description of %I. (target_system_root_changed): New variable. (process_command): Conditionalize make_relative_prefix call on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE. Set target_system_root_changed. (do_spec_1): Add -isysroot to %I. * doc/invoke.texi (Spec Files): Update description of %I. * doc/install.texi (--with-sysroot): Update comment about relocation. From-SVN: r62853
2003-02-13re PR c++/7612 (Memory leaks in cplus-dem.c)Daniel Jacobowitz2-15/+32
Fix PR c++/7612. * cplus-dem.c (demangle_signature): Call string_delete. Remove extra string_init. (demangle_arm_hp_template): Call string_delete instead of string_clear. Add missing string_delete call. (demangle_qualified): Add missing string_delete call. (do_type): Remove unused variable btype. Add missing string_delete call. Call string_delete instead of string_clear. (demangle_fund_type): Move variable btype inside of the switch statement. Add missing string_delete call. (do_arg): Call string_delete instead of string_clear. Remove extra string_init. (demangle_nested_args): Free work->previous_argument. From-SVN: r62852
2003-02-13re PR libgcj/9271 (Severe bias in java.security.SecureRandom)Casey Marshall2-3/+10
2003-02-13 Casey Marshall <rsdio@metastatic.org> PR libgcj/9271: * java/security/SecureRandom.java (next): Avoid bias in results. From-SVN: r62851
2003-02-13xfails: Added entries for an unimplemented Class method.Tom Tromey2-0/+7
* libjava.mauve/xfails: Added entries for an unimplemented Class method. From-SVN: r62843
2003-02-13* config/h8300/h8300.md (a peephole2): New.Kazu Hirata2-0/+66
From-SVN: r62842
2003-02-132003-02-13 Michael <konqueror@gmx.de>Michael Koch3-29/+228
* gnu/java/nio/FileChannelImpl.java (lengthInternal): Must be native. (size): Check if channel is already closed. (implCloseChannel): Reformated. (read): w was unused, removed it. (read): Removed. (read): New method. (write): New method. (map): Check arguments. (force): Throws IOException, check if channel is closed. (transferTo): New method. (transferFrom): New method. (lock): New method. (tryLock): New method. (position): New method. (truncate): New method. (nio_mmap_file): Uncommented. (nio_munmap_file): Uncommented. (nio_msync): Uncommented. * gnu/java/nio/natFileChannelImpl.cc: New file. From-SVN: r62841
2003-02-13install.texi (Specific): Update three SCO-related URLs.Robert Lipe2-4/+8
* doc/install.texi (Specific): Update three SCO-related URLs. Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> From-SVN: r62840
2003-02-13cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.Andreas Schwab2-2/+8
* cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t. Parenthesize properly. (NPREDECESORS): Parenthesize properly. From-SVN: r62838
2003-02-132003-02-13 Michael Koch <konqueror@gmx.de>Michael Koch3-6/+428
* java/nio/ByteBuffer.java (endian): New member variable. (get): New methods. (equals): New method. (compareTo): New method. (order): New methods. (compact): New method. (isDirect): New method. (slice): New method. (duplicate): New method. (asReadOnlyBuffer): New method. (asCharBuffer): New method. (asDoubleBuffer): New method. (asFloatBuffer): New method. (asIntBuffer): New method. (asLongBuffer): New method. (asShortBuffer): New method. (get*): New methods. (put*): New methods. (toString): New method. * java/nio/CharBuffer.java (CharBuffer): Implement Comparable instead of Cloneable. (get): May not be final. (put): May not be final. From-SVN: r62836
2003-02-13NameFinder.java (createStackTraceElement): Use lastIndexOf( ) instead of ↵Ranjit Mathew2-1/+8
indexOf( ) to find the colon before the line... 2002-02-13 Ranjit Mathew <rmathew@hotmail.com> * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use lastIndexOf( ) instead of indexOf( ) to find the colon before the line number, because Win32 file names might contain a drive letter and a colon at the start of an absolute path. From-SVN: r62834
2003-02-132003-02-13 Michael Koch <konqueror@gmx.de>Michael Koch2-18/+8
* gnu/java/nio/natSocketChannelImpl.cc (SocketConnect): This is not implemented yet. (SocketBind): This is not implemented yet. From-SVN: r62833
2003-02-13natByteBufferImpl.cc, [...]: Added copyright and license.Michael Koch13-0/+148
2003-02-13 Michael Koch <konqueror@gmx.de> * gnu/java/nio/natByteBufferImpl.cc, gnu/java/nio/natCharBufferImpl.cc, gnu/java/nio/natDoubleBufferImpl.cc, gnu/java/nio/natFloatBufferImpl.cc, gnu/java/nio/natIntBufferImpl.cc, gnu/java/nio/natLongBufferImpl.cc, gnu/java/nio/natShortBufferImpl.cc: Added copyright and license. * java/nio/DoubleBuffer.java, java/nio/FloatBuffer.java, java/nio/IntBuffer.java, java/nio/LongBuffer.java, java/nio/ShortBuffer.java (array): Throw exceptions. (arrayOffset): Throw exceptions. From-SVN: r62832
2003-02-13Improve previous fix.Gabriel Dos Reis1-1/+1
From-SVN: r62831
2003-02-13decl.c: (define_label): Fix warning for return 0 instead of NULL.Andrew Pinski2-1/+5
2003-02-14 Andrew Pinski <pinskia@physics.uc.edu> * decl.c: (define_label): Fix warning for return 0 instead of NULL. From-SVN: r62828
2003-02-13FileBasedFactory.java, [...]: New files, all merged from classpath.Michael Koch17-1/+3410
2003-02-13 Michael Koch <konqueror@gmx.de> * gnu/java/util/prefs/FileBasedFactory.java, gnu/java/util/prefs/MemmoryBasedFactory.java, gnu/java/util/prefs/MemoryBasedPreferences.java, gnu/java/util/prefs/NodeReader.java, gnu/java/util/prefs/NodeWriter.java, java/util/prefs/AbstractPreferences.java, java/util/prefs/BackingStoreException.java, java/util/prefs/InvalidPreferencesFormatException.java, java/util/prefs/NodeChangeEvent.java, java/util/prefs/NodeChangeListener.java, java/util/prefs/PreferenceChangeEvent.java, java/util/prefs/PreferenceChangeListener.java, java/util/prefs/Preferences.java, java/util/prefs/PreferencesFactory.java: New files, all merged from classpath. * Makefile.am (ordinary_java_source_files): Added the following files: gnu/java/util/prefs/FileBasedFactory.java, gnu/java/util/prefs/MemmoryBasedFactory.java, gnu/java/util/prefs/MemoryBasedPreferences.java, gnu/java/util/prefs/NodeReader.java, gnu/java/util/prefs/NodeWriter.java, (core_java_source_files): Added the following files: java/util/prefs/AbstractPreferences.java, java/util/prefs/BackingStoreException.java, java/util/prefs/InvalidPreferencesFormatException.java, java/util/prefs/NodeChangeEvent.java, java/util/prefs/NodeChangeListener.java, java/util/prefs/PreferenceChangeEvent.java, java/util/prefs/PreferenceChangeListener.java, java/util/prefs/Preferences.java, java/util/prefs/PreferencesFactory.java * Makefile.in: Regenerated. From-SVN: r62827
2003-02-13Moved ChangeLog entry into correct ChangeLog fileMichael Koch2-13/+13
From-SVN: r62825
2003-02-132003-02-13 Michael Koch <konqueror@gmx.de>Michael Koch8-66/+117
* java/net/NetPermission.java (NetPermission): Make doucmentation match the method declaration. * java/net/NetworkInterface.java (equals): Reformated for GNU coding style. * java/net/ServerSocket.java: Merged with classpath. * java/net/Socket.java: Partly merged with classpath (Added some @since). * java/net/SocketImpl.java (localPort): Merged with classpath (initialize with -1). * java/net/SocketPermission.java: Merged with classpath (reindented). * java/net/URLDecoder.java: Merged with classpath (reindented). From-SVN: r62824
2003-02-13GridBagConstraints.java (FIRST_LINE_ENT, [...]): New constants.Michael Koch5-3/+91
2003-02-13 Michael Koch <konqueror@gmx.de> * java/awt/GridBagConstraints.java (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START, LINE_END, LINE_START, PAGE_END, PAGE_START): New constants. * java/awt/KeyboardFocusManager.java (setGlobalCurrentFocusCycleRoot): Must be public. * java/awt/MenuComponent.java (MenuComponent): Must be public. * java/awt/Toolkit.java: Added some empty lines to make documentation more readable. (getFontPeer): Added @deprecated. (getColorModel): Added exception documentation. (getProperty): Fixed documentation. From-SVN: r62822
2003-02-13timevar.h (POP_TIMEVAR_AND_RETURN): New macro.Gabriel Dos Reis5-70/+162
* timevar.h (POP_TIMEVAR_AND_RETURN): New macro. cp/ * decl.c: Include "timevar.h". (poplevel): Time name lookup. (find_binding): Likewise. (push_namespace): Likewise. (pop_nested_namespace): Likewise. (store_bindings): Likewise. (maybe_push_to_top_level): Likewise. (pop_from_top_level): Likewise. (push_local_name): Likewise. (pushtag): Likewise. (pushdecl): Likewise. (pushdecl_with_scope): Likewise. (pushdecl_namespace_level): Likewise. (pushdecl_top_level): Likewise. (pushdecl_class_level): Likewise. (push_class_level_binding): Likewise. (push_using_decl): Likewise. (push_using_directive): Likewise. (push_overloaded_decl): Likewise. (lookup_label): Likewise. (define_label): Likewise. (lookup_tag): Likewise. (lookup_tag_reverse): Likewise. (lookup_namespace_name): Likewise. (select_decl): Likewise. (unqualified_namespace_lookup): Likewise. (lookup_name_real): Likewise. (lookup_name_current_level): Likewise. (lookup_type_current_level): Likewise. (maybe_inject_for_scope_var): Likewise. (xref_tag): Likewise. * Make-lang.in (cp/decl.o): Add dependency on timevar.h From-SVN: r62819
2003-02-13atomicity.h (_Atomic_add_mutex): Fix declaration.Phil Edwards3-7/+45
2003-02-12 Phil Edwards <pme@gcc.gnu.org> * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration. (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file. (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare when we don't have static mutex initialization. (__exchange_and_add): Use _Atomic_add_mutex_once. * src/misc-inst.cc: Definitions of all the above. From-SVN: r62818