Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Masayuki Nakano
249d3a0682
Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:13 +09:00
L. David Baron
143fad3018
Remove the multiple-parameter versions of nsRenderingContext::SetFont. (Bug 678671, patch 5) r=roc
...
This changes the only remaining callers (in nsMathMLChar) to pass the
correct language, which they were not previously doing, which should
improve the correctness of font selection and also reduce the number of
unique font metrics objects requested (which helps nsFontCache
effectiveness). Those callers, however, remain the odd font users
within all of layout.
2011-08-14 10:08:04 -07:00
Frédéric Wang
e297ffae05
support drawing non-BMP characters for stretchy operators (bug 407439). r=karlt
2011-06-22 11:49:11 -04:00
Frédéric Wang
c49f17d797
Always start the lookup of largeop variants at size=1 (bug 584332). r=karlt
2011-06-22 11:48:56 -04:00
Masayuki Nakano
7d44d9ec0e
Bug 663041 layout should use mozilla::Preferences r=roc
2011-06-12 11:30:16 +09:00
Dominic Fandrey
532ec73933
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Ed Morley
ccefac1d72
Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg
2011-05-17 16:01:36 +02:00
Zack Weinberg
145a79dd39
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
2011-04-16 18:22:41 -07:00
Zack Weinberg
63aa6196ff
Bug 174055, part 5: prune unused and unimplemented methods.
2011-04-07 20:07:27 -07:00
Zack Weinberg
e93c385aef
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Zack Weinberg
95432ef919
Bug 648197 (1/2): remove the #ifdef ALERT_MISSING_FONTS blocks in nsMathMLChar.cpp.
2011-04-07 14:47:04 -07:00
Zack Weinberg
2ebd73c82d
Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
2011-04-07 18:04:40 -07:00
Zack Weinberg
fc6685866d
Bug 266236 part 6: Change out-parameters to return values and remove a bunch of default parameters that were never called with non-default values.
2011-04-07 18:04:40 -07:00
Zack Weinberg
7c125b8ad1
Bug 266236 part 4: Aggressively prune unused methods and dead #ifdefs from nsRenderingContext.
2011-04-07 18:04:40 -07:00
Jan Küchler
8774547613
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
2011-04-07 18:04:40 -07:00
Jan Küchler
ed48629385
Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
2011-04-07 18:04:39 -07:00
Frédéric Wang
7b4a4a1580
b=605605 Uninitialised value used in nsMathMLChar r=karlt
2011-03-25 16:38:59 +13:00
Robert O'Callahan
83db9b61a3
Bug 602757. Part 5: Change HasText to GetComponentAlphaBounds. r=tnikkel,sr=dbaron,a=blocking
2011-01-03 14:48:09 +13:00
Matt Woodrow
fbc97ba90b
Bug 594983. Look inside display sublists to determine whether there is text for the layer. r=roc,a=blocking
2010-10-11 13:58:20 +13:00
Robert O'Callahan
b2f6635dcb
Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
2010-08-13 22:01:58 +12:00
Robert O'Callahan
6994544c46
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
2010-08-13 22:01:13 +12:00
Frédéric Wang
ddec16773d
Bug 414277 - scale stretchy operators when there is no glyph of suitable size. r=karlt a=dbaron
2010-08-20 15:44:07 +12:00
Frédéric Wang
1b8f94319e
Bug 524275 - Make nsStretchDirection available for any operators. r=karlt a=dbaron
2009-11-21 22:11:05 +01:00
Robert O'Callahan
0b7f75a585
Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron
2010-08-13 21:58:04 +12:00
Michael Ventnor
c40f8edbb0
Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel
2010-07-16 09:07:49 +12:00
Michael Kohler
63fe671944
Bug 506041 - Correct misspellings in source code (Patch 3)
...
r=timeless
2010-07-07 15:33:52 +02:00
f2e516f204
Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver
2010-05-14 18:24:41 +09:00
Michael Kohler
61fec64afe
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Justin Dolske
08142ea828
Bug 563114 - Remove nsINonBlockingAlertService. r=karlt, r=bsmedberg, sr=roc
2010-05-04 17:41:07 -07:00
54a52d28c9
Bug 562420 - unused variable border in nsDisplayMathMLCharDebug::Paint, r=karlt
2010-04-28 12:36:00 -07:00
Mitchell Field
033ca6df32
Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov
2010-04-29 18:59:13 +02:00
L. David Baron
5d547bc63e
Use the appropriate color based on visitedness for 'outline-color'. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
L. David Baron
4c83580927
Use the appropriate color based on visitedness for nsCSSRendering::PaintBorder users of the 'border-*-color' properties. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
L. David Baron
21c8a7d37e
Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
Jonathan Kew
6fc148747f
Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats
2010-02-24 09:57:44 -08:00
Frédéric Wang
c3b64dbc94
b=536438 Fix creation of keys in GetFontExtensionPref r=karlt
2010-02-18 13:51:33 +13:00
Ehren Metcalfe
86932e5797
b=536438 add missing breaks to switch statement r=fred.wang
2010-02-18 13:49:56 +13:00
Daniel Holbert
0ec39376f1
bug 522779: use nsTArray::Contains() instead of checking nsTArray::IndexOf() against various sentinel values, in three places in layout. r=dbaron
2009-10-16 15:49:30 -07:00
Robert O'Callahan
9d5b5ae49a
Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
2009-09-07 12:35:14 +12:00
Mats Palmgren
f82eedba5a
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Bobby Holley
684e46c218
Bug 435296 - Sync decode handling for decode-on-draw. r=roc
2009-09-12 16:44:18 -06:00
Robert O'Callahan
0d073a71fe
Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner
2009-05-28 17:01:42 +12:00
Robert O'Callahan
a2208f5ccd
Bug 484766. Clean up MathML directory structure. r=karlt,ted
2009-03-30 13:48:52 +13:00