Commit Graph

47 Commits

Author SHA1 Message Date
attinasi%netscape.com
255aa49d63 Fixed PseudoStyle resolution for primary style context in ReResolveStyleContext: was passing child-content when it should be passing parent-content. r=pierre 2000-04-23 03:49:19 +00:00
nisheeth%netscape.com
7b7f9d1021 Fix for bug 30958: Reflow commands are now processed asynchronously all the time. The semantics of the API for queuing and processing reflow commands has changed. Now, AppendReflowCommand() initiates an asynchronous reflow event and all reflow command processing happens when that event fires. It is no longer possible for consumers outside the presentation shell to call ProcessReflowCommands() synchronously. Because of this change, reflow locks are no longer needed and have been removed. 2000-04-17 07:13:57 +00:00
rickg%netscape.com
1d1db214c3 add null ptr check to stop crash seen in talkback 2000-03-28 01:08:36 +00:00
slamm%netscape.com
f9a4756c9a Change "struct" to "class ... { public:" to quiet a warning. 2000-03-24 21:50:40 +00:00
attinasi%netscape.com
91f9e59318 ReResolveStyleContext now checks for the case where a background image is no longer used, in which case it stops the load for the frame. r=buster,pierre b=27042 2000-02-16 02:49:01 +00:00
dveditz%netscape.com
84688e0640 Attempting to fix nsCOMPtr .get() related bustage on Linux 2000-02-15 02:55:23 +00:00
beard%netscape.com
b5072ce22c fixes nsIAtom leaks, bug # 25761, r=waterson 2000-02-15 01:17:18 +00:00
pp%ludusdesign.com
58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
rods%netscape.com
c56fe2a751 when an option contained a comment node and and an attr was unset case a
WipeContainingBlock to be called. This was because the undisplayed node had a psuedo
style that wasn't being properly reolved to this code thought the comment was now visible
instead of being hidden.
b=none r=pierre,attinasi
2000-01-28 15:03:00 +00:00
nisheeth%netscape.com
9c6617b147 r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter. 2000-01-25 16:00:44 +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
hyatt%netscape.com
e740cdb714 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
nisheeth%netscape.com
9d77060d0e a=donm, r=vidur.
- Added support for two prefs:
a) a boolean pref "layout.reflow.async" that turns asynchronous reflow on/off.  The default is off.
b) an integer pref "layout.reflow.timeslice" that specifies a reflow timeslice, in microseconds.  When asynchronous reflow is on, the reflow command processing loop in ProcessReflowCommands() tries to return to the event loop if the time spent processing reflow commands exceeds this timeslice.  The default value is 1 second.
1999-12-23 02:02:33 +00:00
pierre%netscape.com
6cf30a82f9 20042 "crash on www.netscape.com". Back out my change from v1.30 to fix a crash on InfoWorld which was caused by invalid html code and can no longer be reproduced with their current presentation. 1999-12-02 09:19:16 +00:00
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
nisheeth%netscape.com
767ba5b269 Fix for bug 20194. r=beard. Thank to Patrick Beard for finding this leak in CaptureFrameStateFor(). 1999-11-30 00:17:40 +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
pierre%netscape.com
36d3ba78e4 18285: crash on infoworld. When we append a change to the ChangeList, make sure we return its hint, especially if it's a HINT_REFLOW because the reflow may delete some frames that are referred to elsewhere in the ChangeList. r=troy. 1999-11-23 01:08:20 +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
1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +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
nisheeth%netscape.com
04ee464ef6 r=troy. Siblings of frames get traversed iteratively during capturing/restoring of state. Earlier they were traversed recursively which was causing the call stack to grow too large. 1999-10-23 01:43:49 +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
8ed2cc1d26 b=16781, r=vidur@netscape.com
Re-ordered destructor to delete maps after destroying the frame hierarchy
1999-10-19 19:06:37 +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
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
d1f8db9147 b=16615. Two line change. Added check for case of root node being a leaf.
The rest of the changes are NOT yet in use. They willbe reviewed by Kipp before
they're turned on
1999-10-18 19:02:09 +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
2429e3f7e5 Added code to detect generated content that depends on attributes and reflow when the attribute changes
Fix for Bug 15153
r=pierre
Also added namespace ID to the AttributeChanged method
r=troy
1999-10-15 23:14:44 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
peterl%netscape.com
69c028cae8 fixed leak of undisplayed content map nodes (which leak style contexts)
r=kipp
1999-10-04 23:33:23 +00:00
peterl%netscape.com
88203d51ef Don't access undisplayed content map if it isn't there... 1999-10-02 19:45:18 +00:00
peterl%netscape.com
01c3dcd2fe added multimap 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:25:29 +00:00
peterl%netscape.com
bcb317606a remap style contexts that don't get swapped when computing style changes 1999-09-29 03:32:19 +00:00
peterl%netscape.com
fbfc908c89 remove warnings
fix bug 10007 - when style change needs to regenerate frame do not set new context into frame
approved chofman
1999-09-25 05:00:41 +00:00
peterl%netscape.com
2093ce913d made style changes handle floaters and positioned children
added style tree verify
moved re-resolve style logic from frames
1999-09-21 07:53:14 +00:00
pollmann%netscape.com
73c3c9952a Bug 13058: Make global enum a public member. 1999-09-15 02:30:39 +00:00
troy%netscape.com
b80b7939b1 Fix for bug #13700. Removed a warning that's no longer needed 1999-09-14 04:43:16 +00:00
pollmann%netscape.com
ea3c61f2be Bug 13058: Tweaks to StatefulFrame interface - and not keeping state for anonymous content 1999-09-14 02:00:20 +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
ebad18a3c5 Cleanup 1999-08-06 14:34:32 +00:00
mcafee%netscape.com
732c840456 Trying to fix mac bustage. 1999-08-05 21:33:06 +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