1. 07 Jan, 2004 2 commits
  2. 06 Jan, 2004 26 commits
  3. 05 Jan, 2004 12 commits
    • system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison. · f7e7e318
      	* system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
      	* toplev.c (output_file_directive): Don't use
      	ASM_OUTPUT_MAIN_SOURCE_FILENAME.
      
      From-SVN: r75448
      Kazu Hirata committed
    • 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com> · a8c2775c
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
      	(pre_event_handler): Set all insets to 0 when a Configure event
      	is received for a GtkPlug.
      	* gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
      	Make handle long, not int.
      	(EmbeddedWindow()): New constructor.
      	(EmbeddedWindow(int)): Rename window_id to handle.  Make handle
      	long, not int.
      	(setHandle): New method.
      	(getHandle): Return long, not int.
      	* gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
      	declaration.
      	* gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
      	(create(long)): Take long parameter, not int.  Cast gtk_plug_new
      	argument to GdkNativeWindow.
      	(construct): New method.
      	(embed): New method.
      
      From-SVN: r75447
      Thomas Fitzsimmons committed
    • 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com> · 6037221c
      	* gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
      	(create(int, int)): New method.
      	(create): Call new create method.
      	(gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
      	methods.
      	(childResized): Remove native implementation.  Implement in
      	Java.
      	(getHScrollbarHeight, getVScrollbarWidth): Call
      	gtk_widget_size_request to get scrollbar dimensions.
      	* java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
      	call getVScrollbarWidth and getHScrollbarHeight when vertical
      	and horizontal scrollbars respectively are needed.
      	(doLayout): Enlarge child if it is smaller than the viewport.
      
      From-SVN: r75446
      Thomas Fitzsimmons committed
    • * gcc.dg/compat/sdata-section.h: Declare 'abort'. · 4b6eeb9a
      From-SVN: r75445
      Eric Botcazou committed
    • Dialog.java (constructor): Accept null title as per spec. · 975fde59
              * java/awt/Dialog.java (constructor): Accept null title as per spec.
              * java/awt/FileDialog.java (constructor): Throw exception on invalid
              argument as per spec.
      
      From-SVN: r75444
      Fernando Nasser committed
    • Choice.java (add): Leave posting of ItemEvents to peer. · b7a9b4af
      2004-01-05  Fernando Nasser  <fnasser@redhat.com>
      
              * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
              (insert): Ditto.
              (remove): Ditto.  Also, Check for valid argument.
              (removeAll): Use peer interface method.
              * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
              native add function.
              (nativeRemove): New name for native remove function.
              (getHistory): New native function.
              (constructor): Generate ItemEvent.
              (add): Ditto, if selection is changed.
              (remove): Ditto, ditto.
              (removeAll): Add implementation.
              (handleEvent): Remove.  Dead code.
              (choicePostItemEvent): Add comment.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
              (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
              (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
              (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
              comments and fix condition to change selection.
              (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
              (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
              remove all capability.
              (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
              (item_activate): Add cast to remove compiler warning.
      
      From-SVN: r75443
      Fernando Nasser committed
    • 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com> · b17fc9eb
      	* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
      	(getPreferredSize): Call preferredSize.
      	(preferredSize): Call gtkWidgetGetPreferredDimensions.
      	(getMinimumSize): Call minimumSize.
      	(minimumSize): Call gtkWidgetGetPreferredDimensions.
      	(gtkWidgetGetDimensions): Return the peer widget's current size
      	request.
      	(gtkWidgetGetPreferredDimensions): Return the peer widget's
      	natural size request.
      
      From-SVN: r75442
      Thomas Fitzsimmons committed
    • re PR c++/12132 (spurious "int ._0" (or "int $_0) in error message) · 216bb6e1
      	PR c++/12132
      	* parser.c (cp_parser_explicit_instantiation): Improve error
      	recovery.
      	(cp_parser_require): Improve indication of the error location.
      
      	PR c++/12132
      	* g++.dg/template/error11.C: New test.
      
      From-SVN: r75441
      Mark Mitchell committed
    • re PR c++/13451 (Wrong error message with qualified names for member declarations) · 88081599
      	PR c++/13451
      	* parser.c (cp_parser_class_head): Reorder logic to check for
      	invalid qualification.
      
      	PR c++/13451
      	* g++.dg/template/class2.C: New test.
      
      From-SVN: r75440
      Mark Mitchell committed
    • ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS · 02fef853
      2004-01-05  Daniel Berlin  <dberlin@dberlin.org>
      
      	* ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
      	(USING_MMAP): We don't support non-mmap.
      	(struct alloc_chunk): Steal 1 bit from typecode, use it to mark
      	large objects.
      	(struct page_entry): Remove bytes_free.
      	(struct page_table_chain): Remove.
      	(struct globals): Remove page_table member.
      	(loookup_page_table_entry): Function deleted.
      	(set_page_table_entry): Ditto.
      	(ggc_allocated_p): No longer need page table lookups.
      	(ggc_marked_p): Ditto.
      	(alloc_small_page): Don't care about bytes_free anymore.
      	(alloc_large_page): Round up size.
      	(ggc_alloc_zone_1): Mark large objects as such, and calculate
      	their size the new way.
      	Remove page table lookups and setting.
      	(ggc_get_size): Calculate large object size the new way.
      	(sweep_pages): Redo to account for fact that we no longer have
      	bytes_free.
      	(ggc_collect): No longer need to reincrement bytes_free.
      	(ggc_pch_alloc_object): Handle new large objects properly.
      	(ggc_pch_read): Put PCH stuff into it's own uncollected zone.
      
      From-SVN: r75438
      Daniel Berlin committed
    • Thanks to Brian Gough <bjg@network-theory.com> · ab22bc91
      2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
      
      	Thanks to Brian Gough <bjg@network-theory.com>
      	* java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
      	* java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
      
      From-SVN: r75437
      Sascha Brawer committed
    • * doc/invoke.texi: Remove a page break. · 60b799fd
      From-SVN: r75436
      Kazu Hirata committed