Commit Graph

626 Commits

Author SHA1 Message Date
vidur@netscape.com
fedbce2269 Forms can now be container content. 1999-07-22 23:28:16 +00:00
hyatt@netscape.com
5e0bd70ffc Fixing my while loops. They could crash under rare circumstances. 1999-07-22 10:06:38 +00:00
troy@netscape.com
d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
hyatt@netscape.com
65c6f47f71 Crash without these null checks. 1999-07-21 00:17:39 +00:00
hyatt@netscape.com
6c4af4e96b Introduced an infinite loop (sigh). Fixing the problem. 1999-07-21 00:11:23 +00:00
hyatt@netscape.com
98ec626beb Had messed up tree widget code on removal, insertion, and append. Fixed now. 1999-07-20 23:24:10 +00:00
kmcclusk@netscape.com
1e6157fdaf nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
hyatt@netscape.com
06248baa4e Forget the scrolling frame on menus. I don't need it to make this work. 1999-07-20 07:29:22 +00:00
hyatt@netscape.com
6994f2731a Making sure the pseudo stuff gets handled for the XP menu object. 1999-07-20 07:19:22 +00:00
hyatt@netscape.com
413882a17b Making sure some of the XUL frames get properly wrapped in scroll frames. 1999-07-20 07:03:16 +00:00
troy@netscape.com
edca548c79 Fix for bug #10176: changed ConstructFrameByDisplayType() to be smarter
when handling relatively positioned elements
1999-07-20 04:16:56 +00:00
rickg@netscape.com
1f4b1d5e46 switch to faster string search API 1999-07-19 03:29:56 +00:00
hyatt@netscape.com
2beafe97a3 Adding the menu bar frame. 1999-07-18 07:07:55 +00:00
hyatt@netscape.com
4c522f5990 Adding the menu frame instantiation code for XP menus. 1999-07-18 06:37:06 +00:00
hyatt@netscape.com
04cb3d2d6b Working on making the menu popup frame for XP menus. 1999-07-18 06:29:43 +00:00
hyatt@netscape.com
fea04c042f Turning on XP menus. 1999-07-18 03:16:58 +00:00
peterl@netscape.com
14f1a53ba8 fix atom api 1999-07-18 00:25:54 +00:00
troy@netscape.com
5a92ab3f5a Clean up in InitializeScrollFrame() to make sure floated and positioned elements
have their parent frame pointer set correctly
1999-07-17 00:49:54 +00:00
troy@netscape.com
a70f0d2d80 Fix for bug #3605. The problem was that when creating table caption and table cell
frames we weren't pushing a new float context. That meant floated images had an
incorrect parent frame pointer
1999-07-16 23:04:27 +00:00
troy@netscape.com
c76aa8b7cd Minor cleanup 1999-07-16 18:17:14 +00:00
troy@netscape.com
e235eaff09 Fix for bug #9891: added NULL pointer check in ContentInserted() 1999-07-16 02:14:26 +00:00
kmcclusk@netscape.com
0bdaefde4e fixed bugs #6303, #6753, #6756, #6759
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
1999-07-14 22:00:24 +00:00
hyatt@netscape.com
7b8e249d3f Fix for bugs 9601 and 9698. 1999-07-14 19:21:27 +00:00
kipp@netscape.com
057df795c2 Tweaked an improper if then else code from troy 1999-07-14 17:31:43 +00:00
troy@netscape.com
56631f1a3a Fix for bug #9733. Changed CantRenderReplacedElement() so it resets the primary
frame mapping for the image
1999-07-14 15:11:37 +00:00
troy@netscape.com
300e2000fb Fixed a problem in ConstructFrameByTag() where the parent frame was wrong
for floated elements
1999-07-14 15:10:10 +00:00
sspitzer@netscape.com
6af0f57d48 fix for #9698. check pointer before dereferencing. 1999-07-12 19:41:03 +00:00
hyatt@netscape.com
b56781c717 Batching removal and making sure I get notified (in an attempt to fix some
of the out of sync problems the tree widget is having).
1999-07-10 01:10:40 +00:00
hyatt@netscape.com
e9dcf96e9d Fix for bug 9503. 1999-07-10 00:51:35 +00:00
hyatt@netscape.com
05d375abd4 Changes to the tree widget to prevent memory whackage that's causing
crashes.  This should fix several of the mailnews bugs.  It's hard to
say exactly which of them will be fixed by this, since some of them
are caused by memory whackage and others are real bugs in the widget
itself.

Also adding in support for Troy's primary frame hashtable, thus ensuring
that when the tree widget dynamically deletes frames that the mappings
in the hashtable are removed (so that deleted frames won't accidentally
be retrieved).
1999-07-09 20:58:16 +00:00
troy@netscape.com
0540bcf532 Fix for bug #9354, crash when typing into an empty document 1999-07-07 20:33:07 +00:00
peterl@netscape.com
c375375306 sync to content api change 1999-07-07 01:28:43 +00:00
troy@netscape.com
f5e0eb802c Removed one call to SetPrimaryFrameFor() that was redundant 1999-07-06 22:45:13 +00:00
troy@netscape.com
61b2408671 Changed GetPrimaryFrameFor() to use a hash table to improve performance 1999-07-06 03:52:33 +00:00
kipp@netscape.com
edaa2b529e Fixed bug #8905 by moving a copy of the first-letter construction code into the bowels of the generated content frame generation code 1999-07-05 18:46:09 +00:00
troy@netscape.com
5db7825d00 Fixed a compiler warning 1999-07-02 22:41:42 +00:00
kipp@netscape.com
8d88a3b28e Only check for creating a first-letter frame when we have a frame (bug #8878) 1999-07-02 21:18:29 +00:00
sspitzer@netscape.com
5f03371739 fix build bustage 1999-07-02 06:16:29 +00:00
hyatt@netscape.com
c7af9132f2 Landing changes to wrap XUL windows in a box frame so that we can support
intrinsic sizing of windows.  (Unlike HTML and XML, we are no longer wrapped
in an area frame. We are instead wrapped in a box frame.)

Also included is a patch for the table code, since it crashes inside boxes
because of a bug in its incremental reflow code.

nsISpaceManager was touched to give it a GetIID method so that it could be
used with nsCOMPtrs.
1999-07-02 05:28:32 +00:00
troy@netscape.com
fd092bec42 Work-in-progress for hash table that maps from content->frame 1999-07-02 04:47:05 +00:00
rods@netscape.com
c58cf3c93c added nsToolbarItem to constructing code 1999-07-01 21:11:38 +00:00
troy@netscape.com
05c64ad9a2 Work-in-progress for hash table that maps from content->frame 1999-07-01 14:34:35 +00:00
hyatt@netscape.com
03ce2baa21 Fix for the crash on startup. 1999-07-01 05:16:56 +00:00
pinkerton@netscape.com
9c19fdf9a0 fix build bustage. 1999-07-01 00:20:45 +00:00
evaughan@netscape.com
da24d01f00 Added anonymous node support.
Added splitters
Added Grippies.
1999-06-30 22:17:43 +00:00
troy@netscape.com
7455d5ed15 Removed a NS_WARNING in ContentAppended() that no longer needed to be
there
1999-06-30 00:24:03 +00:00
hyatt@netscape.com
949d33f20b Turning on the lazy mode in the tree widget. It is now the default. Let
the bug filing begin. :(
1999-06-29 20:20:40 +00:00
troy@netscape.com
878b501d2c Fix for bug #8863. Removed some code that was not being used 1999-06-28 22:02:06 +00:00
hyatt@netscape.com
cebe125cdd Number Two: Mail/news performance continued to decline. We thought the
situation with the tree widget was hopeless.  And so we cloned it.  This
new tree widget is exactly like the original in every way... only
1/8 its size.

Dr. Evil: I shall call it... MINI-TREE.

(Translation: Backward scrolling now works in the lazy tree
widget.)
1999-06-28 08:35:10 +00:00
putterman@netscape.com
2a11ce7610 This is hyatt checking in a fix for numerous mail/news tree bugs. 1999-06-23 21:04:14 +00:00