1. 31 Jul, 2000 7 commits
    • c-parse.in (extdefs): Call ggc_collect between external definitions. · fbddce27
      * c-parse.in (extdefs): Call ggc_collect between external
      definitions.
      
      From-SVN: r35367
      Geoff Keating committed
    • Daily bump. · c47fef6e
      From-SVN: r35366
      Jeff Law committed
    • Component.java (toString): Implemented. · aa18e0c1
      	* java/awt/Component.java (toString): Implemented.
      	* java/awt/Container.java (addImpl): Remove FIXME. Only call
      	dispatchEvent() to dispatch the event.
      	(removeImpl): Ditto.
      
      From-SVN: r35363
      Bryce McKinlay committed
    • Component.java: Add treeLock object. · b708c42c
      2000-07-30  Anthony Green  <green@redhat.com>
      
              * java/awt/Component.java: Add treeLock object.
              (getTreeLock): Implement.
              (isShowing): Implement.
      
      From-SVN: r35362
      Anthony Green committed
    • BorderLayout.java (BorderLayout()): New constructor. · e0a339f7
      	* java/awt/BorderLayout.java (BorderLayout()): New constructor.
      
      	* java/awt/Frame.java (Frame): Pass `null' to Window constructor.
      
      	* java/awt/Window.java (addNotify): Wrote.
      	(addWindowListener): Wrote.
      	(getLocale): Wrote.
      	(getWarningString): Wrote.
      	(processEvent): Wrote.
      	(processWindowEvent): Wrote.
      	(removeWindowListener): Wrote.
      	(show): Call validate(), setVisible().
      	(toBack): Wrote.
      	(toFront): Wrote.
      
      	* java/awt/Toolkit.java (createWindow): Declare.
      
      	* java/awt/Frame.java (addNotify): Use getToolkit to find
      	toolkit.
      
      	* java/awt/Component.java (invalidate): Wrote.
      	(isValid): Wrote.
      	(getToolkit): Wrote.
      
      	* java/awt/Container.java (addContainerListener): Removed
      	unnecessary cast.
      	(removeContainerListener): Likewise.
      	(addImpl): Wrote.
      	(add(Component)): Use it.
      	(add(String,Component)): Likewise.
      	(add(Component,int)): Likewise.
      	(add(Component,Object)): Likewise.
      	(add(Component,Object,int)): Likewise.
      	(doLayout): Wrote.
      	(getAlignmentX): Wrote.
      	(getAlignmentY): Wrote.
      	(getComponentAt): Wrote.
      	(getMaximumSize): Wrote.
      	(invalidate): Wrote.
      	(list(PrintStream,int)): Wrote.
      	(list(PrintWriter,int)): Wrote.
      	(getMinimumSize): Wrote.
      	(getPreferredSize): Wrote.
      	(printComponents): Wrote.
      	(processContainerEvent): Look at containerListener, not
      	componentListener.
      	(remove): Added event processing and peer destruction.
      	(removeAll): Use remove.
      	(removeNotify): Wrote.
      	(validate): Wrote.
      	(validateTree): Wrote.
      
      	* java/awt/Scrollbar.java (addNotify): Do nothing if peer exists.
      	* java/awt/Label.java (addNotify): Do nothing if peer exists.
      	* java/awt/Container.java (addNotify): Don't create Container
      	peer.
      	* java/awt/Button.java (addNotify): Do nothing if peer exists.
      
      From-SVN: r35361
      Tom Tromey committed
    • Allow indirect primary bases. · 911a71a7
      	* cp-tree.h (struct lang_type): Remove vfield_parent.  Add
      	primary_base.
      	(CLASSTYPE_VFIELD_PARENT): Remove.
      	(CLASSTYPE_PRIMARY_BINFO): Reimplement.
      	(BINFO_PRIMARY_BINFO): Remove.
      	(CLASSTYPE_HAS_PRIMARY_BASE_P): Reimplement.
      	(BINFO_VBASE_PRIMARY_P): Likewise.
      	(BINFO_PRIMARY_BASE_OF): New macro.
      	(BINFO_INDIRECT_PRIMARY_P): Likewise.
      	(get_primary_binfo): New function.
      	* decl.c (lang_mark_tree): Make lang_type::primary_base.
      	* class.c (vcall_offset_data_s): Rename to ...
      	(vtbl_init_data_s): ... this.  Rename primary_p to primary_vtbl_p,
      	and add ctor_vtbl_p.
      	(get_derived_offset): Use get_primary_binfo.
      	(dfs_mark_primary_bases): Adjust handling of virtual primary
      	bases.
      	(mark_primary_bases): Likewise.
      	(set_primary_base): Take a binfo, not an integer, as a
      	representation of the primary base.
      	(indirect_primary_base_p): Remove.
      	(determine_primary_base): Adjust for indirect primary bases.
      	(dfs_find_final_overrider): Fix typo in coment.
      	(update_vtable_entry_for_fn): Use get_primary_binfo.
      	(layout_nonempty_base_or_field): Tweak.
      	(build_base_fields): Adjust for new primary base semantics.
      	(dfs_propagate_binfo_offsets): Remove.
      	(propagate_binfo_offsets): Rewrite.
      	(dfs_set_offset_for_shared_vbases): Remove.
      	(layout_virtual_bases): Don't use it.
      	(layout_class_type): Set CLASSTYPE_SIZE correctly under the new
      	ABI.
      	(finish_struct_1): Set CLASSTYPE_PRIMARY_BINFO, not
      	CLASSTYPE_VFIELD_PARENT.
      	(dfs_get_primary_binfo): New function.
      	(get_primary_binfo): Likewise.
      	(dump_class_hierarchy_r): Tweak printing of primary bases.
      	(build_vtbl_initializer): Fix typo in comments.  Use
      	vtbl_init_data.
      	(build_vcall_and_vbase_vtbl_entries): Likewise.
      	(build_vbaes_offset_vtbl_entries): Likewise.
      	(dfs_build_vcall_offset_vtbl_entries): Adjust setting of
      	BV_VCALL_INDEX to handle indirect primary bases.
      	(build_vcall_offset_vtbl_entries): Use vtbl_init_data.
      	(build_rtti_vtbl_entries): Likewise.
      	* search.c (get_shared_vbase_if_not_primary): Tweak.
      	(find_vbase_instance): Likewise.
      	(binfo_for_vtable): Simplify.
      	* tree.c (unshare_base_binfos): Clear BINFO_PRIMARY_BASE_OF.
      	(make_binfo): Make it have 11 entries.
      
      From-SVN: r35360
      Mark Mitchell committed
    • Fix bug in my last checkin. · abe24fb3
      From-SVN: r35359
      Jan Hubicka committed
  2. 30 Jul, 2000 26 commits
  3. 29 Jul, 2000 6 commits
  4. 28 Jul, 2000 1 commit