Commit Graph

36 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Markus Stange
518e725894 Bug 1152838 - Fix BaseRect::InflateToMultiple and move it to nsIntRect. r=mattwoodrow, r=jrmuizel 2015-04-09 15:49:25 -04:00
Seth Fowler
8f003a6821 Bug 1147706 - Warn if we don't use the result of const methods on BaseRect and its subclasses. r=tn 2015-03-26 15:39:47 -07:00
Benoit Girard
b4e8b5a9d6 Bug 1135677 - Deal with overflowing rects. r=bas 2015-02-23 14:09:56 -05:00
Robert Longson
7367377036 Bug 1099197 - Determine the bounds of unstroked polylines/polygons directly. r=jwatt 2014-11-24 14:28:58 +00:00
Jonathan Watt
be2cffe858 Bug 1092222, part 2 - Add CCWCorner, CCWCorner and CWCorner methods to BaseRect. r=roc 2014-11-03 10:01:58 +00:00
Botond Ballo
7da8f0cf40 Bug 1057642 - More convenient formatting of BasePoint. r=BenWa,kats 2014-08-27 19:25:53 -04:00
Matt Woodrow
c1a4d80f90 Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas 2014-08-05 12:17:47 +12:00
Jonathan Watt
574ec5fa38 Bug 1049593 - Make BaseRect::Contains(point) behave correctly for floating point rect/point. r=Bas 2014-08-07 06:24:54 +01:00
Botond Ballo
68635735fb Bug 961289 - Add support for writing a BaseRect to an output stream. r=Bas 2014-05-07 16:29:44 -04:00
Markus Stange
8e5335413d Bug 1008154 - Make BaseRect::Intersects return false if at least one of the rects is empty. r=roc 2014-05-11 17:48:32 +02:00
Doug Sherk
5c2bce7046 Bug 1002289 - Allow adding/subtracting of BaseSize on BaseRect. r=botond, Bas 2014-05-02 11:22:54 -04:00
Benjamin Bouvier
883cd0b123 Bug 939843: Required changes in the rest of the tree; r=froydnj 2014-02-27 16:23:16 +01:00
Anthony Jones
d5eab55709 Bug 951463 - Rename ClampRect to ForceInside; r=botond 2014-01-06 10:05:07 -05:00
Jonathan Watt
2b9e86b215 Bug 934157 - Fix BaseRect::IsFinite() to actually work. r=Bas 2013-11-03 20:47:05 +00:00
Daniel Holbert
1332567df7 Backout e67dad88f860 and assertion-count-tweak followups (bug 914919), since including nsDebug.h in gfx/2d causes issues with some skia headers. 2013-10-09 17:03:35 -07:00
Corey Ford
c329f8e0aa Bug 914919 - Downgrade BaseRect::Set*Edge assertions to be non-fatal. r=dholbert 2013-09-11 16:27:14 -07:00
Kartikaya Gupta
11b35b97fb Bug 907906 - Finish templating the gfx::Margin type, and add a gfx::IntMargin type to go with it. r=Cwiiis 2013-08-22 12:41:51 -04:00
Milan Sreckovic
92e23296b8 Bug 905219 - BaseRect::IsFinite() now uses std::isfinite(), rather than NS_finite(). r=jrmuizel 2013-08-14 12:29:47 -04:00
Milan Sreckovic
6c22d7156a Bug 903526 - Add BaseRect::IsFinite() method. r=bas 2013-08-13 14:48:17 -04:00
Bas Schouten
84ae160987 Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel 2013-06-19 22:48:40 +02:00
Ehsan Akhgari
b53c55af92 Backed out 2 changesets (bug 878032) because of Windows build bustage
Backed out changeset 3cb61a7d5746 (bug 878032)
Backed out changeset 627c03f469d8 (bug 878032)

Landed on a CLOSED TREE
2013-06-19 17:35:21 -04:00
Bas Schouten
86fd3f081f Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel 2013-06-19 22:48:40 +02:00
Kartikaya Gupta
ad26392fbe Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa 2013-06-10 09:05:42 -04:00
Anthony Jones
9ccd8b929d Bug 831237 - Reduce APZC buffer churn; r=BenWa
Prevents the display port from getting smaller as the visible region
approaches the edges of the scrollable rect.
2013-05-28 16:17:09 +12:00
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
8f38dacb3b Bug 834896 - Replace uses of gfx_min/gfx_max with std::min/std::max. r=joe 2013-01-30 17:02:27 +01:00
Mats Palmgren
7222ecebe1 Bug 834896 - Remove the gfx_min/gfx_max templates. r=joe 2013-01-30 17:02:27 +01: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
Doug Sherk
0428a4ac02 Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc 2012-09-28 22:16:34 -04:00
Matt Woodrow
88187a29b1 Bug 741682 - Use nsRegion::ScaleToInsidePixels when computing opaque regions of layers. r=roc 2012-07-23 15:00:36 +12:00
Matt Woodrow
682f9127bc Bug 741682 - Add ScaleToInsidePixels and ScaleToNearestPixels to nsRegion. r=roc 2012-07-23 15:00:36 +12:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Robert O'Callahan
767afdb5e9 Bug 681192. Part 0.1: Add BaseRect::ClampPoint. r=bas 2012-05-10 17:24:17 +12:00
Joe Drew
a2bcc74268 Bug 685326 - Move Round{,In,Out} from gfxRect to BaseRect, and make them no-ops on IntRect. r=Bas 2011-11-14 17:29:14 +13:00
Bas Schouten
ad529f7339 Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc 2011-06-24 19:41:16 +02:00