uriber%gmail.com
994fccbcf5
Bug 331958: Crash when selecting text, using rtl object with css generated content and designMode. r+sr=dbaron
2006-04-08 14:17:35 +00:00
dbaron%dbaron.org
ac49c790c1
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
8b90a8ebf4
One-line descriptions of files, partly because they show up in LXR.
2006-03-30 05:56:38 +00:00
bzbarsky%mit.edu
c50f975dda
Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron
2006-03-16 01:30:38 +00:00
pavlov%pavlov.net
f33ad65b06
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
f4d2e578db
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
d0abdc1385
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
c3e489445d
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
a898e666b8
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
b4b5adfb40
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
b20620f6ab
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
f0f3259bd3
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
71212a03d8
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
c55be881ae
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
d6b900c80c
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
c8dcb1a2d2
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
0a5f9a50f3
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
9432fa53ed
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
87e448d51e
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
30604288b9
Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu
ba6fa8e00c
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
001952215b
Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
2005-02-25 22:07:01 +00:00
bzbarsky%mit.edu
e22c7d9fac
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
ed362b6cbb
Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
...
r+sr=roc
2005-02-18 06:06:47 +00:00
bzbarsky%mit.edu
b626abc29c
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
5b8aeed3b1
Remove nsIPresState (bug 279699). r+sr=roc.
2005-01-27 22:52:53 +00:00
roc+%cs.cmu.edu
267694855c
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
d185bdf1ce
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
d663278964
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
6146e49d29
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
6f61ffd0d2
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
014fbde518
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
87894dfad3
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
0509dcce92
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
fd39847c12
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
efcc221ee4
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
2004-08-20 20:34:37 +00:00
bryner%brianryner.com
18fa617572
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
cc807b07b1
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu
07f8d63578
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
85ce8c146b
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bzbarsky%mit.edu
7305fc5758
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
49fb65d5f2
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
684f965503
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
b06016c66d
Bustage fix
2004-03-06 14:55:21 +00:00
roc+%cs.cmu.edu
3367d05d49
Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner
2004-03-06 04:46:11 +00:00
bryner%brianryner.com
745944525d
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
20bef6960b
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
910659d1c9
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
fd6fed0d82
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
1100669bd5
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
d62aed44c4
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
93f6dc27e6
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
b73f7d8861
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
dbaron%dbaron.org
95c1a4e503
Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky
2004-01-15 03:32:06 +00:00
dbaron%dbaron.org
f0a3a7da49
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
2a50602bc0
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
9c81944cb6
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
6380d7fd12
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
8b1b76c827
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
e455d8c51e
Fix some bogus style parentage warnings. Bug 224867, r+sr=dbaron
2003-11-13 04:11:38 +00:00
uid502
50383ff50a
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
a0e219b348
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
b83221b617
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
325b3c6de7
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
19a12727ec
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
8aa7b563d2
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
1c89273d3a
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
jaggernaut%netscape.com
f1efc20ae6
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
7318257470
Remove comment made obsolete by previous checkin.
2003-06-29 23:39:54 +00:00
roc+%cs.cmu.edu
55a49cd4d6
Ongoing deCOMtamination. r+sr=dbaron
2003-06-29 03:43:05 +00:00
dbaron%dbaron.org
9b1d1eed2b
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
6d22d3c842
Fixing DEBUG-only bustage.
2003-06-20 00:54:57 +00:00
dbaron%dbaron.org
adce84c7af
Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
42b06cc4f5
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
46aba0f3e8
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
ba75de772b
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
1decc3f74c
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
149f719c00
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
d9f7fd70f9
Fixes CantRenderReplacedElementEvent memory leak. b=203596, r+sr=dbaron, a=asa@mozilla.org
2003-05-17 01:10:50 +00:00
dbaron%dbaron.org
a15b9f2cf4
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
42d3112d35
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
1d9d07a002
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
f2dc5c2442
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
618e66b5eb
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
925955c81d
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
16af458ceb
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
c4ea07bc53
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
b3d575fd9b
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
8cd3e31161
Fix leaks introduced from bug 114713 (bug 194468). r/sr=dbaron.
2003-02-22 22:21:20 +00:00
dbaron%dbaron.org
c32b76ad84
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
cc390fbe51
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
c51fe8f39d
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
1419b5fd03
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
712030493b
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
6c504f96e1
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
d6801ac37b
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
8fa4129fc1
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dbaron%fas.harvard.edu
b2f992acb9
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
5f0c6d63b3
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
a272a96238
Make GetParent on nsStyleContext return an
...
already_AddRefed<nsIStyleContext>. Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00