dbaron%dbaron.org
04b8c33eda
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00
dbaron%dbaron.org
5dcd0b1309
One-line descriptions of files, partly because they show up in LXR.
2006-03-30 05:56:38 +00:00
bzbarsky%mit.edu
4b74ae14f8
Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron
2006-03-16 01:30:38 +00:00
pavlov%pavlov.net
131e8794e2
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
557b089a47
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c2801ebbd7
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
2006-03-09 18:55:21 +00:00
uriber%gmail.com
c7032d59bb
Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
2006-02-21 21:33:47 +00:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
8fa76d37ac
Don't store the "normal" frame state for the root scrollframe, for now. Bug
...
318709, r+sr=roc
2005-12-06 23:56:17 +00:00
timeless%mozdev.org
1c34e68034
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bzbarsky%mit.edu
c259ae0b19
Don't reframe leaf frames just because they don't have generated content that
...
style says they should have -- leaves just don't have generated content. Bug
315541, r+sr=dbaron
2005-11-08 18:20:47 +00:00
bzbarsky%mit.edu
418608b744
Null out the undisplayed map after deleting it so we don't try to mess with it
...
if someone removes nodes while we're coming down. Bug 309981, r+sr=dbaron
2005-10-01 00:36:59 +00:00
bzbarsky%mit.edu
7c5cfe2f80
Remove nsDummyLayoutRequest and use the nsIDocument onload-blocking API
...
instead. Bug 294114, r=dbaron, sr=jst
2005-08-23 01:29:02 +00:00
bzbarsky%mit.edu
e211680aea
Make sure to clear the placeholder map _before_ destroying the frame tree. Bug
...
297850, r+sr=dbaron, a=bsmedberg
2005-07-19 21:09:41 +00:00
peterv%propagandism.org
ea82f1a8a5
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
2005-06-16 13:10:58 +00:00
bzbarsky%mit.edu
7f0d146903
Don't copy/paste code to cast to placeholder frames all over the place; use a
...
utility method instead. Bug 276954, r+sr=roc, a=brendan
2005-04-14 15:30:35 +00:00
bzbarsky%mit.edu
4b26c247db
Removing no-longer-used struct from this file. Should have landed as part of
...
bug 286813.
2005-03-29 15:58:31 +00:00
bzbarsky%mit.edu
9b4aaa3fb3
Move handling of replaced element events from frame manager to presshell, make
...
sure we don't allow reflow flushing while we're constructing the new frames.
Bug 286813, r+sr=dbaron
2005-03-28 23:20:54 +00:00
roc+%cs.cmu.edu
87c224f2cb
Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu
4be318894c
Add a method to ask a content node whether it may have a frame in some
...
presentation. Bug 225941, r=dbaron, sr=jst
2005-03-23 03:07:10 +00:00
bryner%brianryner.com
a29b6c69fa
Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
2005-02-25 22:07:01 +00:00
bzbarsky%mit.edu
d062676ab0
Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
...
presshell args from most frame constructor methods; use the state for the
former and the member for the latter. Bug 281957, r+sr=roc
2005-02-18 16:11:53 +00:00
bzbarsky%mit.edu
e812ede3f7
Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
...
r+sr=roc
2005-02-18 06:06:47 +00:00
bzbarsky%mit.edu
54d585f2af
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
bryner%brianryner.com
d94c0df713
Remove nsIPresState (bug 279699). r+sr=roc.
2005-01-27 22:52:53 +00:00
roc+%cs.cmu.edu
803da53c31
Bug 219444. Certain style changes to tables don't work because table-outer frames inherit style from table-inner frames but are above them in the frame tree. Hack ReResolveStyleContext to make sure table-outer frames get the right style changes. r+sr=bzbarsky
2005-01-25 02:14:31 +00:00
bzbarsky%mit.edu
1d87c3297f
Include the part number inside a multipart document in the state key, so that
...
state restoration works correctly on each part. Bug 47350, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=js
2005-01-15 17:47:23 +00:00
dbaron%dbaron.org
98e05b892d
Remove from primary frame map at the end of frame destruction, in case it got re-added. b=265404 r=bzbarsky sr=brendan a=asa
2004-10-23 02:49:34 +00:00
roc+%cs.cmu.edu
44a2fd5b52
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
b88692c5a1
Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
0c08074b27
Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a
Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
2004-08-22 04:58:44 +00:00
bryner%brianryner.com
8c24cc7e63
Backing out bug 253888 until I can figure out how to fix the crash
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5
Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
2004-08-21 05:09:50 +00:00
bryner%brianryner.com
180b0b7373
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
2004-08-20 20:34:37 +00:00
bryner%brianryner.com
6a8c79a9b2
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu
43221d7395
Subtract out the reflow hint from aMinChange when re-resolving out-of-flow
...
kids, in case they're not our descendants and need a reflow. Bug 170644,
r+sr=dbaron
2004-05-05 00:34:22 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bzbarsky%mit.edu
c91a5ff88b
Don't clobber 'pseudoTag' with random atoms from other style contexts; we need
...
it later on. Bug 231166, r+sr=dbaron
2004-04-12 22:42:50 +00:00
bryner%brianryner.com
bb52c80973
Make GetFrameProperty return NS_IFRAME_MGR_PROP_NOT_THERE when the property is not found (instead of NS_ERROR_FAILURE). Fixes bug 236590. r+sr=dbaron, a=chofmann
2004-03-21 05:22:46 +00:00
bzbarsky%mit.edu
134fed8856
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
2004-03-09 03:57:51 +00:00
roc+%cs.cmu.edu
991ce31fbe
Bustage fix
2004-03-06 14:55:21 +00:00
roc+%cs.cmu.edu
8b6cbebaad
Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner
2004-03-06 04:46:11 +00:00
bryner%brianryner.com
225298a99e
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
bzbarsky%mit.edu
7077fb69a1
Make SVG use the normal attribute mapping codepath (via HasAttributeDependence)
...
by pushing the relevant helpers up to nsGenericElement.. Remove referrer code
in nsSVGDocument, since nsDocument handles that. Bug 233370,
r=alex@croczilla.com , sr=jst
2004-02-09 20:48:20 +00:00
alex.fritze%crocodile-clips.com
5c676d4a47
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
...
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
bryner%brianryner.com
bc74f0b352
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
2004-01-28 00:18:22 +00:00
bzbarsky%mit.edu
88734d1060
Remove the broken nsAttributeContent and just use regular textnodes to
...
implement attr() content. Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst
2004-01-27 04:22:58 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
2004-01-24 00:46:17 +00:00
bryner%brianryner.com
23ecb8ff4e
DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
2004-01-21 23:05:10 +00:00
peterv%propagandism.org
379d6c8a41
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
dbaron%dbaron.org
61d72a988d
Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky
2004-01-15 03:32:06 +00:00
dbaron%dbaron.org
d33950dfac
Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky
2004-01-14 01:36:35 +00:00
roc+%cs.cmu.edu
e7f165c614
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
e65d2d2fe5
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
jst%mozilla.jstenback.com
4183787fa9
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
bzbarsky%mit.edu
625796c41e
Clarify when ReParentStyleContext should be called and remove more bogus style
...
parentage warnings. Bug 217225, r+sr=dbaron
2003-11-13 04:31:04 +00:00
bzbarsky%mit.edu
ce5cf4d481
Fix some bogus style parentage warnings. Bug 224867, r+sr=dbaron
2003-11-13 04:11:38 +00:00
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
605cc06382
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
uid502
d521946094
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
2003-10-17 02:38:37 +00:00
darin%meer.net
77642ae698
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
2003-10-06 01:46:31 +00:00
dbaron%dbaron.org
5cce92dc2a
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
2003-10-01 22:53:56 +00:00
jst%mozilla.jstenback.com
5037b2a4a2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
e2e733b5de
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
jaggernaut%netscape.com
95899387f6
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
dbaron%dbaron.org
3be933897d
Remove comment made obsolete by previous checkin.
2003-06-29 23:39:54 +00:00
roc+%cs.cmu.edu
91f9439805
Ongoing deCOMtamination. r+sr=dbaron
2003-06-29 03:43:05 +00:00
dbaron%dbaron.org
51e6755ccd
Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc
2003-06-20 01:22:44 +00:00
dbaron%dbaron.org
d86c49e21c
Fixing DEBUG-only bustage.
2003-06-20 00:54:57 +00:00
dbaron%dbaron.org
e1e798d3f8
Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
4afcaa0e69
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
dbaron%dbaron.org
2b59f901f7
Handle state and attribute changes on elements without frames more efficiently, and keep the undisplayed map up to date. b=209733 r+sr=bzbarsky
2003-06-18 21:54:51 +00:00
caillon%returnzero.com
2df173e9c8
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
jaggernaut%netscape.com
756d8ef907
Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
2003-05-30 00:21:01 +00:00
dwitte%stanford.edu
270d3909ca
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
dougt%meer.net
5042217cc2
Fixes CantRenderReplacedElementEvent memory leak. b=203596, r+sr=dbaron, a=asa@mozilla.org
2003-05-17 01:10:50 +00:00
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
bzbarsky%mit.edu
d3b47fec8c
Don't check for :before/:after on frames that have pseudo-style-contexts. Bug
...
202917, r+sr=dbaron
2003-04-23 00:43:03 +00:00
bzbarsky%mit.edu
f09182206c
Make nsCSSFrameConstructor::AppendFrames be smarter about looking for :after
...
pseudos. Move some utility functions into nsLayoutUtils; simplify some places
that basically had copies of those functions. Improves perf a bit in bug
145425 and its dependencies, r+sr=roc+moz
2003-04-21 23:06:40 +00:00
roc+%cs.cmu.edu
3936b4c393
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
bzbarsky%mit.edu
cde8938427
ComputeStyleChangeFor does not need to put all the in-flows into the
...
changelist. Propagate the "current" toplevel change as the min change as we go
down the in-flow and special sibling list. Bug 166205, r+sr=dbaron
2003-04-03 21:51:06 +00:00
alecf%netscape.com
8c50d0242a
landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
...
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
alecf%netscape.com
b6584a77fb
backout my static atom patch for now until I figure out the performance loss! :(
...
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com
ecf24a2b78
fix for bug 195262:
...
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin
this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
peterv%netscape.com
bc210f1afe
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
bryner%netscape.com
bfe4e632a5
Fix leaks introduced from bug 114713 (bug 194468). r/sr=dbaron.
2003-02-22 22:21:20 +00:00
dbaron%dbaron.org
4b4f8625f1
Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky
2003-02-22 16:10:53 +00:00
bryner%netscape.com
e43f5a49fd
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
03366794e8
Fix crash (and refix other crashes in a cleaner way) by making UndisplayedMap own references to content nodes, just like frames do. b=161304 r+sr=bzbarsky
2003-01-21 00:47:14 +00:00
dbaron%dbaron.org
14c5b6b776
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 21:19:10 +00:00
bzbarsky%mit.edu
8c8465ff11
ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
...
126072, r=dbaron, sr=roc+moz. Also fixes bug 141259 (incorrect warnings about
style tree integrity).
2003-01-05 05:05:17 +00:00
jkeiser%netscape.com
cb84e04c70
Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
2002-12-18 23:38:09 +00:00
karnaze%netscape.com
0f0042a430
bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov
2002-12-04 00:58:52 +00:00
sicking%bigfoot.com
8d87d5e285
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dbaron%fas.harvard.edu
f6b1702067
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
92d1146ffc
Fix ReplaceChild() on positioned inlines to delegate to
...
nsAbsoluteContainingBlock.h. Bug 176915, r=dbaron, sr=rbs
2002-11-12 03:30:13 +00:00
bzbarsky%mit.edu
279ffda515
Make GetParent on nsStyleContext return an
...
already_AddRefed<nsIStyleContext>. Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
bzbarsky%mit.edu
150664b8b7
Fix some inline-block style-resolution issues. Bug 146409, r=kin, r=dbaron
2002-09-12 20:33:11 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
roc+%cs.cmu.edu
cb32a0f906
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu
8580076d1f
Fix XUL style attribute change regression by making |#ifdef MOZ_SVG| code the default, but moved elsewhere. b=163481 r=bbaetz sr=bryner
2002-08-22 00:01:30 +00:00
jkeiser%netscape.com
6bae0f9512
Rearrange how layout history keys are created (bug 162409), r=sicking@bigfoot.com, sr=bzbarsky@mit.edu
2002-08-13 17:14:18 +00:00
peterlubczynski%netscape.com
0a41f4603d
Fixing bug 152927: can't script any plugin in nested EMBED tag inside an OBJECT tag from onLoad handler -- CNET radio does not play with Real because SetSource is called from onLoad r=kmcclusk sr=dveditz a=asa
2002-07-26 03:48:24 +00:00
jkeiser%netscape.com
c5b0a4280a
Make save/restore work for all forms, not just the first (bug 138892), r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
2002-07-16 22:38:51 +00:00
bzbarsky%mit.edu
fc4c589320
Bug 144479 (crash changing display prefs on pages with position:fixed
...
stuff), r=dbaron, sr=jst
2002-06-28 23:25:57 +00:00
jst%netscape.com
262f28f900
Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
2002-05-20 22:47:02 +00:00
dbaron%fas.harvard.edu
c268e85567
Attempt to refix bug 118014 crash by removing SetUndisplayedPseudoIn and doing run-time checks that we're not inserting the same node into the undisplayed map twice. b=136704 r=attinasi sr=waterson
2002-05-16 13:30:57 +00:00
dbaron%fas.harvard.edu
eb7778a448
Remove ClearUndisplayedContentMap hack from ReconstructStyleData (expanded for bug 118014; see bug 136728). Fix multiple content inserted notifications from XBL (the real cause of bug 118014) by checking the undisplayed content map in addition to the primary frame map. Fix FrameManager::GetUndisplayedContent to work correctly, and remove code in nsCSSFrameConstructor::AttributeChanged that was working around its brokenness. b=136704 sr=waterson r=attinasi
2002-05-01 00:36:50 +00:00
attinasi%netscape.com
8c88845bfc
Backout some diagnostic code. b=134962 sr=waterson r=dbaron
2002-04-14 15:16:40 +00:00
attinasi%netscape.com
16f29f9eff
Attempt to fix topcrash bugs, possibly due to stale cached lookup undisplayed entry (that part by dbaron). Also added some artificial branching to help narrow the problem should crash persist. b=118014 r=attinasi/dbaron, sr=kin a=asa (drivers)
2002-04-02 21:14:43 +00:00
dbaron%fas.harvard.edu
b350a0fd0f
Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
2002-03-31 16:59:00 +00:00
jkeiser%netscape.com
e95bf883e6
Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
2002-03-31 10:14:01 +00:00
jkeiser%netscape.com
31e41094ef
Backing out 108308 due to pageload spike
2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
39fe8af27c
Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org)
2002-03-29 05:35:47 +00:00
dbaron%fas.harvard.edu
8e8fb14ea0
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
2002-03-27 02:38:13 +00:00
dbaron%fas.harvard.edu
66238732c8
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 22:26:36 +00:00
attinasi%netscape.com
8d198eefbd
Be sure to initialize out-param no matter what. b=127360 r=aaronl sr=brendan a=asa (drivers)
2002-03-19 00:32:41 +00:00
dbaron%fas.harvard.edu
4a2e5d0bed
Remove obsolete NEW_CONTEXT_PARENTAGE_INVARIANT ifdefs, and add a few bits of debugging code. b=120888 sr=attinasi r=bzbarsky a=asa
2002-03-16 15:26:56 +00:00
karnaze%netscape.com
303ce25eb2
bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
2002-03-12 15:21:35 +00:00
aaronl%netscape.com
a3606f1a26
Bug 129628. Crash in nsFrameManager::Destroy. r=dbaron, sr=shaver, a=asa
2002-03-10 06:47:42 +00:00
shaver%mozilla.org
146f2a192d
reversion of patch for 92868, to repair severe regression (129827, a=drivers
2002-03-10 06:16:01 +00:00
karnaze%netscape.com
789e7e3040
bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
2002-03-08 15:34:33 +00:00
dbaron%fas.harvard.edu
bd8feefd91
Fix invalid optimization that prevented style changes on inline elements that caused a reflow from applying to more than the first line. b=98783 r=attinasi sr=hyatt
2002-02-16 16:31:49 +00:00
dbaron%fas.harvard.edu
e47cc4c2bc
Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson
2002-01-11 20:10:46 +00:00
dbaron%fas.harvard.edu
40437d1fd6
Fix tabbing through image maps and fix Windows crash right-clicking on image maps by reverting my changes to nsImageMap from bug 110911 and by giving the primary frame map larger entries to accomodate mapping from a content node to a frame with a different |mContent|. b=115481, 114377 r=bryner sr=attinasi
2002-01-05 15:22:52 +00:00
hyatt%netscape.com
0ec3f045d8
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
2001-12-17 22:51:39 +00:00
dbaron%fas.harvard.edu
e46c895524
Fix blocker bug 114675 with null check around assertion code that I meant to check in yesterday (bug 114220).
2001-12-11 19:16:15 +00:00
dbaron%fas.harvard.edu
743e67725c
Backing out changes I didn't mean to check in.
2001-12-11 05:41:43 +00:00
dbaron%fas.harvard.edu
dc85afb6b7
Prevent input elements from adding frames back into the primary frame map during their destruction (and leaving the map with dangling pointers) by passing the frame to functions that will be called during frame destruction to avoid calls to GetPrimaryFrameFor that will repopulate the primary frame map. b=114220 r=jkeiser sr=jst
2001-12-11 05:39:36 +00:00
dbaron%fas.harvard.edu
01f0380aa0
Changing noisy warning I added yesterday from |#ifdef DEBUG| to |#ifdef DEBUG_dbaron|. b=110911 / 113810
2001-12-06 19:53:37 +00:00
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
bryner%netscape.com
7e8137a340
Bug 41119 - Don't waste time notifying the frame manager about frame destruction if it is happening from nsFrameManager::Destroy. r=dbaron, sr=waterson.
2001-12-01 00:22:00 +00:00
hyatt%netscape.com
cec98cc49a
Perf and footprint opt. Make style re-resolution cheaper. r=glazou, sr=hewitt, bug 109261
2001-11-14 08:19:13 +00:00
jst%netscape.com
6d64ded4f2
Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
2001-11-02 07:40:01 +00:00
dbaron%fas.harvard.edu
a041591297
Ensure that we don't re-resolve placeholders to the style context that should be on their out-of-flow frame. Fixes autocomplete popup. b=107744 r=waterson sr=hyatt
2001-11-02 04:14:58 +00:00
dbaron%fas.harvard.edu
c13d4f0b0c
Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi
2001-10-30 06:02:05 +00:00
alecf%netscape.com
4b9b701faf
two more nsUnicharUtils.h stragglers, I think I got r=jag, sr=scc on these in a previous patch - again for bug 100214
2001-10-26 17:51:22 +00:00
jst%netscape.com
5574ddbbfc
No need to be this paranoid, checking for pointers being null once is enough! Checking twise in a row is just overkill.
2001-10-26 03:31:49 +00:00
dbaron%fas.harvard.edu
157c017816
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
2001-10-25 01:08:40 +00:00
hyatt%netscape.com
0c8c1348b3
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +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
dbaron%fas.harvard.edu
ed869c764e
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
2001-10-16 03:53:44 +00:00
vidur%netscape.com
4966d85f91
Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts
2001-09-29 17:50:15 +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
bryner%netscape.com
422834eff1
Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
2001-08-17 08:14:14 +00:00
pollmann%netscape.com
6bf6b98abb
Bug 93972: Don't save form control values in session history if they have an autocomplete attribute set to off, or if their containing form has an autocomplete attribute set to off. This is accomplished by returning an empty 'state key' which indicates that the state should not be stored in session history's hash table. r/sr=jst@netscape.com,vidur@netscape.com
2001-08-16 07:18:24 +00:00
cls%seawood.org
a3c1dd1b09
Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
...
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
pavlov%netscape.com
1e20984ef0
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2001-08-09 20:22:39 +00:00
hyatt%netscape.com
84f1ff48ed
Fix for 90081, r=dbaron, sr=attinasi
2001-07-25 06:33:06 +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
waterson%netscape.com
b0f9d44ead
Bug 79508. If the computed style change is going to cause a reflow (or worse), then don't touch any continuing frames. This keeps us from queuing an incremental reflow to a continuation, but is not ideal (e.g., there may be cases where we don't properly recompute the style contexts for continuations). r=rbs, sr=attinasi
2001-05-23 06:39:34 +00:00
waterson%netscape.com
ee02375ced
Bug 76407. Handle second CantRenderReplacedElement() request for same frame: check to see if we've already posted an event for the frame. r=dbaron, sr=attinasi, a=chofmann
2001-04-24 00:05:33 +00:00
erik%netscape.com
06d55ad850
bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
...
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:29:00 +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
pollmann%netscape.com
7efd062521
Bug 62713: Only save scroll position in SH if offset from origin, only put entries in state table if state was created, cleanups, r=jst@netscape.com, sr=vidur@netscape.com
2001-02-06 02:32:04 +00:00
hyatt%netscape.com
45c08e6635
Fix for 55292, r=ben, sr=brendan
2001-02-02 00:54:47 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +00:00
buster%netscape.com
6a93e50850
bug 56432 ()
...
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson
2001-01-16 22:10:04 +00:00
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
attinasi%netscape.com
09cf5ac2fb
Fixes regression due to Style Data sharing: forcing shared contexts to be unique now when they have to be reresolved. b=63118 r=karnaze@netscape.com a=buster@netscape.com
2000-12-21 22:16:38 +00:00
hyatt%netscape.com
3f9e12209c
Fix insertion point reparentin gissue with blocks. r=hixie, a=ben
2000-11-28 10:10:41 +00:00
hyatt%netscape.com
5af6f6e116
Fix for 51264. r=danm, a=ben
2000-11-27 22:00:33 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
attinasi%netscape.com
1fd5ba1fd2
Added default implementation for frames to allow a frame to specify which frame provides its parent style context. Also reworked ReResolveStyleContext and VerifyStyleTree to allow the style context tree to diverge from the frame tree. b=45210 r=karnaze
2000-09-12 22:47:09 +00:00
pierre%netscape.com
84f381ec78
Fix blocker bug #52039 (crash when resolving pseudo-style for anonymous content).
2000-09-11 03:58:22 +00:00
jst%netscape.com
7aa7ed7f6d
Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com
2000-09-01 07:05:08 +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
d264987b1c
Removed erroneous assertion: b=38768 r=dcone
2000-06-07 23:05:30 +00:00
buster%netscape.com
e1de241d59
bug 38665
...
r=rickg a=rickg
fixed an optimized-only crash that looks like a race condition
where we send a message containing a pointer to a frame back to
the frame manager after the frames have been deleted.
2000-06-05 03:37:33 +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
attinasi%netscape.com
dd07df1f66
Fixed a problem with the method AttributeAffectsStyle: it was erroneously ignoring the fact that HTML attributes can affect style even if there are no CSS rules with thos attributes in the selectors. Changed to restrict the selector evaluation to XML elements. r=shaver, a=karnaze, b=39642
2000-05-25 23:02:31 +00:00
shaver%mozilla.org
26b7a4c5b3
make sure that style attributes get the reresolve dance
2000-05-16 22:05:47 +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
mkaply%us.ibm.com
23620fb329
# 34082
...
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00
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