Commit Graph

30 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
c3d6b55ca5 Remove nsDST and convert its users (PresShell::mSubShellMap, FrameManager::mPrimaryFrameMap, and FrameManager::PropertyList::mFrameValueMap) to PLDHash. Also convert FrameManager::mPlaceholderMap to PLDHash. Give image map area structures a pointer back to their image frame rather than (mis)using the primary frame map. Change API for changing placeholder map to reflect hash entry that accesses key through value by passing only the value and not the key. Give the root frame a proper mContent. b=110911 r=attinasi sr=brendan 2001-12-06 05:45:07 +00:00
dougt%netscape.com
b5ba390898 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
waterson%netscape.com
d76d3fdf0d Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt 2001-09-12 20:19:41 +00:00
hyatt%netscape.com
6c393ae2f4 Fixes for 80512 and 83707. r=blake, sr=waterson, a=asa 2001-06-04 00:22:43 +00:00
hyatt%netscape.com
b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
pollmann%netscape.com
1ac7a3715e Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org) 2001-05-30 11:26:21 +00:00
dbaron%fas.harvard.edu
5496fd604a Remove attempted workaround for CantRenderReplacedElement crash that didn't fix the crash (which is now fixed the right way).
Clean up the FrameManager a bit, mainly by moving the destruction of the frame tree into the |Destroy| method rather than doing it in the destructor.  This would make it safer to convert nsIFrameManager to IDL and use the frame manager from JS.  It also reduces the risk of leaks caused by having something owned by a frame own the frame manager.  Breaking cycles in a destructor can be risky because the objects entrained by the cycle could include the object whose destructor would break the cycle.
b=65800  r=waterson@netscape.com  sr=attinasi@netscape.com
2001-03-06 01:46:03 +00:00
hyatt%netscape.com
5af6f6e116 Fix for 51264. r=danm, a=ben 2000-11-27 22:00:33 +00:00
pollmann%netscape.com
3f1d49a015 Bug 32770: Save scroll position in session history r=nisheeth 2000-06-15 00:35:46 +00:00
attinasi%netscape.com
009460e9a7 Added a new method GetCanvasFrame which walks down from the root frame looking for the frame that represents the canvas. b=40217 r=kmcclusk a=karnaze 2000-05-31 22:33:12 +00:00
shaver%mozilla.org
2da0ab457d Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
troy%netscape.com
8a78d916a5 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
troy%netscape.com
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
0959b411de r=kipp@netscape.com
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
troy%netscape.com
abf8a1ff80 Changes to frame property API (code's not being used yet) 1999-10-19 14:41:55 +00:00
troy%netscape.com
75aaae40bb Changed a comment 1999-10-19 05:00:30 +00:00
troy%netscape.com
c81762bdd1 Change to code that's not currently being used. Before it gets used it
will get code reviewed
1999-10-19 04:52:33 +00:00
troy%netscape.com
153e50eb7f r=kipp@netscape.com Moved ownership of root frame (and frame hierarchy) over to
the frame manager
1999-10-18 22:20:37 +00:00
troy%netscape.com
bc981fba0d Added some new code that's not in use yet 1999-10-16 00:55:48 +00:00
peterl%netscape.com
a6adfea707 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
peterl%netscape.com
9dfc2c381c added API to track content that didn't get a frame
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:26:24 +00:00
peterl%netscape.com
0534eb9124 Added compute style change
Added style tree verify
1999-09-21 07:48:57 +00:00
peterl%netscape.com
b5b37d859e added reparent style context 1999-09-03 23:35:41 +00:00
nisheeth%netscape.com
dfd7b5d559 - Added setter for history state to nsIPresShell
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters  in nsIStateful frame
  so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.
1999-08-31 14:35:50 +00:00
troy%netscape.com
0489aa0c60 Moved cantrenderreplacedelememt code over to the frame manager 1999-08-05 20:17:44 +00:00
troy%netscape.com
71d5c08256 Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
troy%netscape.com
886f6583d3 Initial check-in 1999-08-04 03:39:34 +00:00