Commit Graph

73 Commits

Author SHA1 Message Date
Nicholas Nethercote
06e901cb9f Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.

The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:

- It adds a comment about the null check in
  gfxGlyphExtents::GetTightGlyphExtentsAppUnits().

- A couple of functions simply had an unused gfxContext or nsRenderingContext
  parameter removed, e.g. SetLineBreaks().

--HG--
extra : rebase_source : 8f56994bb4d254a86788b17ab2864ebc758a7e6b
2015-12-15 13:56:41 -08:00
Mats Palmgren
ed9ed2d61a Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc 2015-03-29 22:38:40 +00:00
Alex Henrie
5b028ed455 Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07:00
L. David Baron
c5b9eee040 Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Jet Villegas
a55ebc12a4 Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert 2012-10-30 16:57:36 +01:00
Boris Zbarsky
a14a96d2cf Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron 2012-10-30 17:14:06 -04:00
Ehsan Akhgari
f22f8b7a49 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mats Palmgren
78d0f2c7ca Bug 515530 - Remove nsHTMLContainerFrame. r=roc 2011-12-27 21:18:48 +01:00
Ehsan Akhgari
461fab9117 Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Felix Fung
0bc71ca85d Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Ehsan Akhgari
2a3dbb4205 Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Ehsan Akhgari
e66b9024c8 Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Craig Topper
62fbc28b95 Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz 2010-08-05 22:32:01 -07:00
Jonathan Kew
68b13a1a71 Bug 475968. Eliminate NS_FRAME_OUTSIDE_CHILDREN flag, store small overflow areas cheaply within the frame. r+sr=roc 2009-04-06 12:31:50 +12:00
dwitte@stanford.edu
7e454eebf6 get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner 2008-01-10 12:56:49 -08:00
dbaron@dbaron.org
18a066bcd0 Fix spelling mistakes to force the Windows unit test box to cycle. 2007-09-29 17:49:57 -07:00
timeless%mozdev.org
46d2b15871 Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan
2006-11-01 23:02:18 +00:00
timeless%mozdev.org
97d86b0df2 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +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
timeless%mozdev.org
9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
17f5f5429f Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless
2005-11-21 06:25:15 +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
dbaron%dbaron.org
8993baf11c Convert CR-LF and CR linebreaks to LF. 2005-01-28 20:01:46 +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
bryner%brianryner.com
0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
technutz%netscape.net
e638f4d2dc Bug 229814. CSS error in layout/doc/obsolete/layout.css. Patch by Bob Clary <bc@bclary.com>. r/sr=dbaron 2004-01-01 17:15:18 +00:00
timeless%mozdev.org
7d644cad46 whitespace change. This should make lxr hits for spacemanager reasonable.
It also makes the html and diffs tolerable.
2003-11-11 19:23:37 +00:00
dbaron%dbaron.org
3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
bmlk%gmx.de
3394bd5194 description of overflow debug facility 2003-04-06 13:01:20 +00:00
bmlk%gmx.de
1715585b52 some more reflow options - for boris 2003-04-03 15:35:06 +00:00
timeless%mozdev.org
697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
dbaron%fas.harvard.edu
a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
bernd.mielke%snafu.de
69656618a9 fix spelling errors, bug 180287 patch by Martin Wulffeld 2002-11-16 10:46:53 +00:00
caillon%returnzero.com
db8037ee9a Update "how to add a style property" to reflect reality: fix the CSS_PROP macro description, add info on nsIDOMCSS2Properties.idl, linkify the bullets in "Implementation" to jump to
anchors within the page.
This is a doc only change and not part of any build.
2002-11-09 19:08:23 +00:00
roc+%cs.cmu.edu
88a7759322 Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
bzbarsky%mit.edu
a197ab7ca6 Fixing link to raptor image. Doc change only, not part of build. 2002-08-08 06:12:35 +00:00
karnaze%netscape.com
3470593036 doc changes, not affecting the build. 2002-08-05 17:37:49 +00:00
karnaze%netscape.com
427dffcdd5 doc changes, not affecting the build. 2002-08-05 00:26:59 +00:00
karnaze%netscape.com
8f2a63ae19 doc changes, not affecting the build. 2002-08-04 06:05:25 +00:00
karnaze%netscape.com
8aefbc5ab0 new doc file, not affecting the build. 2002-08-04 01:37:25 +00:00
dbaron%fas.harvard.edu
11abb0b4ca Oops. 2002-06-19 04:31:43 +00:00
dbaron%fas.harvard.edu
2f4122c931 Correct documentation of initial/inherit values and of last boolean in CheckPropertyData. Note that document misses modifications to nsDOMCSSDeclaration and relevant interfaces. Massive formatting cleanup (especially <br> overuse), but not enough. 2002-06-19 04:29:07 +00:00
bernd.mielke%snafu.de
62e25755e2 running the layout regression tests - a description not part of any build 2002-06-16 10:38:06 +00:00
bernd.mielke%snafu.de
7ef72968f0 layout debug url correction not part of any build 2002-06-07 05:02:15 +00:00
bernd.mielke%snafu.de
e363fcae0f layout docs - url correction not part of any build 2002-06-07 04:58:06 +00:00
bernd.mielke%snafu.de
37c7407f02 debug docs not part of the build 2002-06-06 19:19:16 +00:00
attinasi%netscape.com
eb023e0217 Very High Level (tm) Layout Documentation. Work In Progress, not part of any build or product. Cheers, mates! 2002-05-22 21:07:29 +00:00
attinasi%netscape.com
2e6a55a93f Added How-To doc on debugging table reflow (provided by Bernd - Thanks!) 2002-05-21 23:12:06 +00:00