Daniel Holbert
723a4f151a
Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth
2013-03-06 00:05:55 -08:00
Mats Palmgren
7532b4e736
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Robert O'Callahan
67b24645e1
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Phil Ringnalda
f40517090e
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b20214218e
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Jeff Muizelaar
dc02503795
Bug 809603. Simplify border radius drawing. r=roc
...
This adds a RoundedRect class that we use to do the offsetting. This class can
probably also be used elsewhere. With this patch we handle the Gmail checkboxes
in a single draw instead of in pieces like we currently do.
2012-11-12 17:55:26 -08:00
Bas Schouten
ea24e0431c
Bug 805831 - Followup: Fix compiler warning.
2012-10-27 16:48:37 +02:00
Bas Schouten
65d650f159
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Phil Ringnalda
7f050604ee
Back out fbd8fdb7c544 (bug 805831) for build failures
2012-10-26 21:53:41 -07:00
Bas Schouten
acf5444217
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ms2ger
c8ea20cf42
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
David Zbarsky
191398e14e
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
9050aef271
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Bas Schouten
3f8b2603e1
Bug 764117 - Part 1: Prefer performance over avoiding seaming in border drawing. r=roc
2012-06-22 16:27:38 +02:00
Ryan VanderMeulen
26514b5e01
Backout b35294da2c4b (bug 764117) due to OSX reftest orange.
2012-06-20 22:56:36 -04:00
Bas Schouten
8ff98ed6ba
Bug 764117: Prefer performance over avoiding seaming. r=roc
2012-06-20 23:41:13 +02:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Thomas Powell
2f386c09d7
Bug 742736 - Change box shadows to match rounded or sharp corners of shadowed object when round/sharp alternate corners; r=dbaron
2012-04-29 22:37:04 -04:00
Jeff Muizelaar
b0f22d77f7
Bug 745864. Add SAMPLE_LABELs to layout code. r=roc, a=joe
2012-04-16 14:37:59 -04:00
Bas Schouten
8b110fc3fd
Bug 711063 - Part 7: Adjust Border rendering code for Azure-Thebes wrapper. r=roc
2012-01-05 08:17:52 +01:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
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
Robert O'Callahan
9a0fb3b428
Bug 637852. Part 15: Don't round mOuterRect/mInnerRect if there's a scale factor in the current transform. r=joe
...
This avoids losing information when we're drawing into a high-resolution ThebesLayer. It works well with the
previous patch; for identity scale, this rounding of the inner/outer rects ensures pixel alignment of the edges,
but with non-identity scale the rectangle snapping ensures pixel alignment of the edges. This fixes reftest failures.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
40e74dbdc9
Bug 637852. Part 14: Try to use snappable rects to draw solid borders instead of using stroke, when a scaling transform is present. r=joe
...
The goal here is to avoid antialiased border edges when drawing into high-resolution ThebesLayers. This fixes test failures.
2011-06-23 00:11:28 +12: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
Robert O'Callahan
22fd8aeac7
Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel
2011-04-19 15:07:51 +12:00
Robert O'Callahan
fdc41c7a5a
Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
Robert O'Callahan
ffd5268cd1
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
2011-04-19 15:07:21 +12:00
Robert O'Callahan
e43243e84a
Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
L. David Baron
3b880ca6b2
Don't try drawing zero-width borders. (Bug 618071) r=roc a=blocking2.0:beta8
...
The allBordersSameWidth codepath for dashed borders will cause a cairo
error when given a width of zero, so we need to avoid hitting that.
It's also a waste of time.
2010-12-09 20:38:52 -08:00
Bas Schouten
6ffdae70cf
Bug 616495: Deal with some sides having no moz-border-colors at all. r=vlad a=blocking-beta8
2010-12-04 05:21:20 +01:00
Bas Schouten
74c5573f30
Bug 588271 - Part 4: Add specialized rendering codepaths for the most common border types. r=vlad a=blocking-betan
2010-12-02 14:17:58 +01:00
L. David Baron
297655fad8
Fix assertion (that should have turned the tree orange). (Bug 608458) r=roc a2.0=blocking(on 500141)
2010-11-16 09:56:03 -08:00
L. David Baron
3d3c347fb4
Fix another case of bad border-radius corners (and document a third that's not fixed). (Bug 500141) r=roc a2.0=blocking
2010-11-10 07:49:53 -08:00
Bas Schouten
0459316272
Bug 598202: Avoid drawing borders which are fully transparent. r=vlad a=vlad
2010-11-08 22:52:02 +01:00
L. David Baron
c363c569ed
Fix border-radius joins with differing styles adjacent to a zero-width border. (Bug 500141) r=roc a2.0=blocking-final
2010-10-26 11:30:42 -07:00
timeless
d8effcff7f
Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats
2010-04-27 18:15:02 +02:00
Craig Topper
076bc13756
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Craig Topper
d130af344a
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
Bernd
223b688a34
bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky
2010-01-09 16:33:03 +01: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
Joe Drew
2919d8a083
Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
2009-07-20 18:50:15 -07:00
Arpad Borsos
471e3e73c0
Bug 492531 - Optimize some CSS and Reflow classes for memory usage; r+sr=dbaron
2009-05-13 10:26:48 +02:00
Zack Weinberg
0cc7758a9f
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
2009-01-09 13:28:32 +13:00
Robert O'Callahan
fb7d95f1e9
Backed out changeset 5041ce453104
2009-01-08 23:19:21 +13:00
Zack Weinberg
440b3cac59
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
2009-01-08 21:10:21 +13:00
L. David Baron
5842094046
bug 464970 - nsCSSBorderRenderer::AreBorderSideFinalStylesSame is too pessimistic. r=vlad, a=beltzner
2008-11-19 11:53:08 -05:00
Vladimir Vukicevic
786ba13abf
b=448193, 3d border effects missing with moz-border-radius; r=zweinberg
2008-10-09 14:49:15 -07:00