172 Commits

Author SHA1 Message Date
hyatt%netscape.com
ddea5b3a8d Introduced an infinite loop (sigh). Fixing the problem.
git-svn-id: svn://10.0.0.236/trunk@40381 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 00:11:23 +00:00
hyatt%netscape.com
80b55ebc3a Had messed up tree widget code on removal, insertion, and append. Fixed now.
git-svn-id: svn://10.0.0.236/trunk@40350 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 23:24:10 +00:00
kmcclusk%netscape.com
d08711ed3a 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.


git-svn-id: svn://10.0.0.236/trunk@40339 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 22:32:41 +00:00
hyatt%netscape.com
346cda5cc9 Forget the scrolling frame on menus. I don't need it to make this work.
git-svn-id: svn://10.0.0.236/trunk@40255 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 07:29:22 +00:00
hyatt%netscape.com
a4a8b1dbd0 Making sure the pseudo stuff gets handled for the XP menu object.
git-svn-id: svn://10.0.0.236/trunk@40251 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 07:19:22 +00:00
hyatt%netscape.com
3a24527b7b Making sure some of the XUL frames get properly wrapped in scroll frames.
git-svn-id: svn://10.0.0.236/trunk@40249 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 07:03:16 +00:00
troy%netscape.com
07edd78233 Fix for bug #10176: changed ConstructFrameByDisplayType() to be smarter
when handling relatively positioned elements


git-svn-id: svn://10.0.0.236/trunk@40232 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 04:16:56 +00:00
rickg%netscape.com
541f805b78 switch to faster string search API
git-svn-id: svn://10.0.0.236/trunk@40073 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 03:29:56 +00:00
hyatt%netscape.com
7a9c5575bf Adding the menu bar frame.
git-svn-id: svn://10.0.0.236/trunk@39993 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 07:07:55 +00:00
hyatt%netscape.com
c7921b6d99 Adding the menu frame instantiation code for XP menus.
git-svn-id: svn://10.0.0.236/trunk@39986 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 06:37:06 +00:00
hyatt%netscape.com
e3c7257324 Working on making the menu popup frame for XP menus.
git-svn-id: svn://10.0.0.236/trunk@39982 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 06:29:43 +00:00
hyatt%netscape.com
5be1bc51ca Turning on XP menus.
git-svn-id: svn://10.0.0.236/trunk@39973 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 03:16:58 +00:00
peterl%netscape.com
bc7283d61d fix atom api
git-svn-id: svn://10.0.0.236/trunk@39946 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:25:54 +00:00
troy%netscape.com
fc9bf2dc32 Clean up in InitializeScrollFrame() to make sure floated and positioned elements
have their parent frame pointer set correctly


git-svn-id: svn://10.0.0.236/trunk@39800 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 00:49:54 +00:00
troy%netscape.com
60b7c50e4c 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


git-svn-id: svn://10.0.0.236/trunk@39781 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 23:04:27 +00:00
troy%netscape.com
e2d9dca9d9 Minor cleanup
git-svn-id: svn://10.0.0.236/trunk@39720 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 18:17:14 +00:00
troy%netscape.com
ed43b4b6d4 Fix for bug #9891: added NULL pointer check in ContentInserted()
git-svn-id: svn://10.0.0.236/trunk@39621 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 02:14:26 +00:00
kmcclusk%netscape.com
12a07070be 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.


git-svn-id: svn://10.0.0.236/trunk@39401 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:00:24 +00:00
hyatt%netscape.com
082dac3d45 Fix for bugs 9601 and 9698.
git-svn-id: svn://10.0.0.236/trunk@39339 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 19:21:27 +00:00
kipp%netscape.com
fdd82059af Tweaked an improper if then else code from troy
git-svn-id: svn://10.0.0.236/trunk@39312 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:31:43 +00:00
troy%netscape.com
21f88c6a33 Fix for bug #9733. Changed CantRenderReplacedElement() so it resets the primary
frame mapping for the image


git-svn-id: svn://10.0.0.236/trunk@39256 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:11:37 +00:00
troy%netscape.com
1d2daccaae Fixed a problem in ConstructFrameByTag() where the parent frame was wrong
for floated elements


git-svn-id: svn://10.0.0.236/trunk@39255 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:10:10 +00:00
sspitzer%netscape.com
c49f0c0a17 fix for #9698. check pointer before dereferencing.
git-svn-id: svn://10.0.0.236/trunk@39013 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-12 19:41:03 +00:00
hyatt%netscape.com
94d84e7328 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).


git-svn-id: svn://10.0.0.236/trunk@38948 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 01:10:40 +00:00
hyatt%netscape.com
4993b080f5 Fix for bug 9503.
git-svn-id: svn://10.0.0.236/trunk@38944 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 00:51:35 +00:00
hyatt%netscape.com
c629e6ba46 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).


git-svn-id: svn://10.0.0.236/trunk@38926 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 20:58:16 +00:00
troy%netscape.com
d0623722a3 Fix for bug #9354, crash when typing into an empty document
git-svn-id: svn://10.0.0.236/trunk@38721 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 20:33:07 +00:00
peterl%netscape.com
3e3191c713 sync to content api change
git-svn-id: svn://10.0.0.236/trunk@38547 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:28:43 +00:00
troy%netscape.com
7e20d1a10e Removed one call to SetPrimaryFrameFor() that was redundant
git-svn-id: svn://10.0.0.236/trunk@38437 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 22:45:13 +00:00
troy%netscape.com
cd133fcb8b Changed GetPrimaryFrameFor() to use a hash table to improve performance
git-svn-id: svn://10.0.0.236/trunk@38387 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 03:52:33 +00:00
kipp%netscape.com
b3c3552149 Fixed bug #8905 by moving a copy of the first-letter construction code into the bowels of the generated content frame generation code
git-svn-id: svn://10.0.0.236/trunk@38361 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-05 18:46:09 +00:00
troy%netscape.com
23e69a6fd8 Fixed a compiler warning
git-svn-id: svn://10.0.0.236/trunk@38173 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 22:41:42 +00:00
kipp%netscape.com
a03e581250 Only check for creating a first-letter frame when we have a frame (bug #8878)
git-svn-id: svn://10.0.0.236/trunk@38145 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 21:18:29 +00:00
sspitzer%netscape.com
f6c30db66f fix build bustage
git-svn-id: svn://10.0.0.236/trunk@38007 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 06:16:29 +00:00
hyatt%netscape.com
0b331a0f57 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.


git-svn-id: svn://10.0.0.236/trunk@37994 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 05:28:32 +00:00
troy%netscape.com
0acb415edc Work-in-progress for hash table that maps from content->frame
git-svn-id: svn://10.0.0.236/trunk@37983 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 04:47:05 +00:00
rods%netscape.com
57fdc5649d added nsToolbarItem to constructing code
git-svn-id: svn://10.0.0.236/trunk@37870 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 21:11:38 +00:00
troy%netscape.com
4c569ae681 Work-in-progress for hash table that maps from content->frame
git-svn-id: svn://10.0.0.236/trunk@37699 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 14:34:35 +00:00
hyatt%netscape.com
18be5e494e Fix for the crash on startup.
git-svn-id: svn://10.0.0.236/trunk@37646 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 05:16:56 +00:00
pinkerton%netscape.com
8b155d3ee2 fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@37612 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 00:20:45 +00:00
evaughan%netscape.com
09d003848a Added anonymous node support.
Added splitters
Added Grippies.


git-svn-id: svn://10.0.0.236/trunk@37561 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 22:17:43 +00:00
troy%netscape.com
2ef81cee26 Removed a NS_WARNING in ContentAppended() that no longer needed to be
there


git-svn-id: svn://10.0.0.236/trunk@37500 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 00:24:03 +00:00
hyatt%netscape.com
8dece188fd Turning on the lazy mode in the tree widget. It is now the default. Let
the bug filing begin. :(


git-svn-id: svn://10.0.0.236/trunk@37428 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:20:40 +00:00
troy%netscape.com
d8d34c796f Fix for bug #8863. Removed some code that was not being used
git-svn-id: svn://10.0.0.236/trunk@37246 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 22:02:06 +00:00
hyatt%netscape.com
ab20bcc3c9 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.)


git-svn-id: svn://10.0.0.236/trunk@37168 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 08:35:10 +00:00
putterman%netscape.com
0f1d136c43 This is hyatt checking in a fix for numerous mail/news tree bugs.
git-svn-id: svn://10.0.0.236/trunk@36602 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 21:04:14 +00:00
hyatt%netscape.com
dba51b76a4 More savory tree widget goodness.
git-svn-id: svn://10.0.0.236/trunk@36547 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 09:07:59 +00:00
hyatt%netscape.com
0a11fed54c Fix for build bustage.
git-svn-id: svn://10.0.0.236/trunk@36503 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 04:50:31 +00:00
hyatt%netscape.com
1b15e312b7 Fix Linux build bustage.
git-svn-id: svn://10.0.0.236/trunk@36500 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 04:27:50 +00:00
troy%netscape.com
be89261178 Fix for bug #6937: changed ConstructFrameByDisplayType() to use the correct
parent frame pointer for floated elements


git-svn-id: svn://10.0.0.236/trunk@36439 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:14:24 +00:00