148 Commits

Author SHA1 Message Date
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
hyatt%netscape.com
d6494b515f Landing the tree widget branch.
git-svn-id: svn://10.0.0.236/trunk@36435 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:02:21 +00:00
kmcclusk%netscape.com
040ca9ca76 Numerous changes to support gfx-rendered form elements.
git-svn-id: svn://10.0.0.236/trunk@36078 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 20:41:56 +00:00
peterl%netscape.com
935f987b36 force display type of viewport frame to BLOCK
git-svn-id: svn://10.0.0.236/trunk@35848 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 05:36:58 +00:00
evaughan%netscape.com
228c4d1aef Integrated a new XP scrollbar
Added tri state behavior to titled buttons.


git-svn-id: svn://10.0.0.236/trunk@35342 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:02:43 +00:00
buster%netscape.com
5c2c4b30e5 added support for ender GFX-Rendered text control
git-svn-id: svn://10.0.0.236/trunk@35045 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:32:41 +00:00
hyatt%netscape.com
e95c0a1e71 Tweak to the tree frame construction code.
git-svn-id: svn://10.0.0.236/trunk@34589 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 09:31:30 +00:00
peterl%netscape.com
0c076004c8 added support for attribute namespaces on generated content
stubed out improvements to style change painting code


git-svn-id: svn://10.0.0.236/trunk@34564 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:24:00 +00:00
hyatt%netscape.com
5079f0a9d2 Fixing a bug with allowevents in the tree view.
git-svn-id: svn://10.0.0.236/trunk@34319 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:04:25 +00:00
hyatt%netscape.com
8e9a2f05ce Fix for bug 5602.
git-svn-id: svn://10.0.0.236/trunk@31893 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 09:02:45 +00:00
kipp%netscape.com
de60169b67 Reworked frame factory methods; fixed bug 4519
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
karnaze%netscape.com
573cea30a7 incremental reflow correctly targets cell's area frame - bugs 4577, 5126, 5759
git-svn-id: svn://10.0.0.236/trunk@30590 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 22:29:28 +00:00
pinkerton%netscape.com
f034860fbf make <tristatecheckbox> now be <checkbox>
git-svn-id: svn://10.0.0.236/trunk@30477 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:53:22 +00:00
kipp%netscape.com
2fc1f1138e Fixed bug #4309 - propogated handling of floating image frames to floating object frame code during CantRenderReplacedElemen to avoid assertion check in block code
git-svn-id: svn://10.0.0.236/trunk@29954 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 16:07:47 +00:00
karnaze%netscape.com
e9f7d6655d fixed crash in bug 5190, allowing a table to be the top level XML element.
git-svn-id: svn://10.0.0.236/trunk@29877 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:51:59 +00:00
troy%netscape.com
b185fa6d08 Aded nsFrameConstructorState structure
git-svn-id: svn://10.0.0.236/trunk@29738 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 19:08:14 +00:00
alecf%netscape.com
81dddc60b3 fix script C++ const-ness problem (pedantic bustage)
git-svn-id: svn://10.0.0.236/trunk@29653 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:27:03 +00:00
kipp%netscape.com
89df2f564f Use correct content when creating first-letter and related frames so that style resolution works beyond the first time
git-svn-id: svn://10.0.0.236/trunk@29629 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:55:11 +00:00
kipp%netscape.com
f195dfeae4 Fixed bug in floater placement; use correct content object to get style for inline frames that contain first letter frames
git-svn-id: svn://10.0.0.236/trunk@29604 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:21:51 +00:00
kipp%netscape.com
baaf0b6211 Create first-letter frames as needed
git-svn-id: svn://10.0.0.236/trunk@29557 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:14:54 +00:00
troy%netscape.com
fa5ebe1487 Factored some common code out into a separate function
git-svn-id: svn://10.0.0.236/trunk@29374 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 03:58:46 +00:00
troy%netscape.com
c739da95bd Added code to ContentRemoved() to walk the child frames and look for
placeholder frames; the corresponding out-of-flow frames need to be
removed as well


git-svn-id: svn://10.0.0.236/trunk@29364 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 03:10:45 +00:00
troy%netscape.com
1aee40e685 Added flag bit NS_FRAME_OUT_OF_FLOW, and changed the frame construction code
to set it for floated and absolutely positioned frames


git-svn-id: svn://10.0.0.236/trunk@29120 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 17:20:53 +00:00
troy%netscape.com
fc762f49b8 Change so we use nsPlaceholderFrame frames for all placeholders
git-svn-id: svn://10.0.0.236/trunk@29116 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 16:58:42 +00:00
troy%netscape.com
87a1db0805 Added GetFrameType() and renamed GetAnchoredItem() to GetOutOfFrameFlow()
git-svn-id: svn://10.0.0.236/trunk@28837 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:34:48 +00:00