Jonathan Watt
caff46f6c8
Bug 1358690, part 1 - Allow SVGImageContext::MaybeInitAndStoreContextPaint to be passed an existing SVGImageContext. r=dholbert
2017-03-28 11:43:15 +01:00
Wes Kocher
e6c3565fe5
Merge inbound to m-c a=merge
2017-03-28 13:30:56 -07:00
KuoE0
8b543a5a1c
Bug 1342874 - (Part 1) DocGroup labeling for runnables dispatched by NS_DispatchTo(Main|Current)Thread in XUL frames. r=dholbert
...
MozReview-Commit-ID: JR28J1weiL4
2017-03-16 18:09:13 +08:00
Jonathan Watt
84c785eea9
Bug 1058040, part 18 - Minimize the cost of context paint when it is not available. r=dholbert
...
MozReview-Commit-ID: 5MVW37Vd1aK
2017-03-06 13:49:21 +00:00
Paul Bignier
c23f8e1893
Bug 1350703 - Typo fixes in code-comments within layout/XUL. r=dholbert
...
DONTBUILD because comment-only.
2017-03-26 18:37:10 +02:00
Mats Palmgren
4729a520a5
Bug 1333482 part 2 - [css-ui] Change all consumers of StyleDisplay::mAppearance to use the accessor UsedAppearance() instead, and make mAppearance/mMozAppearance private. r=dholbert
...
MozReview-Commit-ID: 8JwLsY1CLDJ
2017-03-23 22:11:18 -07:00
Jonathan Watt
2eaa4d0e51
Bug 1058040, part 14 - Have nsImageBoxFrame pass context paint to VectorImage. r=dholbert
2017-02-03 22:21:29 +00:00
Tom Tromey
48da5b7de4
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
2016-12-09 10:00:01 -10:00
Jonathan Watt
8b4dac7b4f
Bug 1058040, part 11 - Convert DrawImage/DrawImageInternal's SVGImageContext param from pointer to Maybe<>. r=dholbert
2017-01-11 01:48:29 +00:00
Ehsan Akhgari
ec238285dd
Bug 1319908 - Load the menu icons for the bookmarks menu with the correct content type and principal on OSX; r=baku
...
This patch makes nsMenuItemIconX also participate in the setup
introduced in bug 1277803.
2017-01-20 10:55:23 -05:00
Timothy Nikkel
13f4b01598
Bug 1327294. When drawing XUL images allow some decoding if it's fast. r=aosmond
...
We aren't likely to implement predictive size decoding for XUL images. So instead do some sync decoding when we Draw them at their specified size. This will avoid a paint where we don't draw the image, or draw it at the wrong size, followed later by the correctly sized image.
2017-01-16 14:12:51 -06:00
Timothy Nikkel
9a90c8dd14
Bug 1317562. Allow flags to be passed to StartDecoding for the sole purpose of allowing async notifications to be requested. r=aosmond
2016-11-26 01:56:26 -06:00
Tim Huang
d57ffaeda2
Bug 1277803 - Part 2 : Make favicons loaded through XUL:image use the correct principal. r=Gijs, tnikkel
2016-10-13 15:43:56 +08:00
Wes Kocher
85edded572
Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout
...
Backed out changeset 477890efdb88 (bug 1277803)
Backed out changeset 49da326bfe68 (bug 1277803)
Backed out changeset 2d17a40a9077 (bug 1277803)
Backed out changeset b1cb0a195ca1 (bug 1277803)
Backed out changeset c7d82459d152 (bug 1277803)
Backed out changeset 3be9a06248af (bug 1277803)
Backed out changeset 8d119ca96999 (bug 1277803)
Backed out changeset be767a6f7ecd (bug 1277803)
2016-10-12 14:26:00 -07:00
Tim Huang
418953a72b
Bug 1277803 - Part 2 : Make favicons loaded through XUL:image use the correct principal. r=Gijs, tnikkel
2016-10-12 17:32:05 +08:00
Jonathan Watt
fa7b69b631
Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas
2016-05-25 17:01:18 +01:00
Timothy Nikkel
d68133b8a4
Bug 1267489. nsImageBoxFrame should unlock old image when changing to a new image. r=dholbert
2016-05-17 03:13:28 -05:00
Christoph Kerschbaumer
2fdf936e15
Bug 1206961 - Use channel->AsyncOpen2() for imageLoader; Remove security checks from callsites (r=bz)
2016-04-27 19:41:13 +02:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
L. David Baron
678819f59f
Bug 1053986 - Rename nsIFrame::AddCSSPrefSize, AddCSSMinSize, AddCSSMaxSize, and AddCSSFlex by replacing CSS with XUL. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: BTsQw1EMqvY
2016-04-20 21:28:34 -07:00
L. David Baron
67c37d07c5
Bug 1053986 - Rename nsIFrame::Redraw to XULRedraw. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/, except for
the removal of one comment change in nsSliderFrame.cpp.
MozReview-Commit-ID: 2jpzaby0S9r
2016-04-20 21:28:34 -07:00
L. David Baron
6230207f72
Bug 1053986 - Rename nsIFrame::GetClientRect to GetXULClientRect. r=dholbert
...
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.
MozReview-Commit-ID: 2F7Bt3i4ogu
2016-04-20 21:28:33 -07:00
L. David Baron
b94d981327
Bug 1053986 - Rename nsIFrame::GetBorderAndPadding to GetXULBorderAndPadding. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: A8rWLW213Uo
2016-04-20 21:28:32 -07:00
L. David Baron
15df9934a9
Bug 1053986 - Rename nsIFrame::GetBoxAscent to GetXULBoxAscent. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: EDkbMQKqPg6
2016-04-20 21:28:32 -07:00
L. David Baron
8f4665f9af
Bug 1053986 - Rename nsIFrame::GetMaxSize to GetXULMaxSize, and related methods. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: 39fYXMz7kqR
2016-04-20 21:28:31 -07:00
L. David Baron
0527201e1d
Bug 1053986 - Rename nsIFrame::GetPrefSize to GetXULPrefSize, and related methods. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: yvcAZ8rndu
2016-04-20 21:28:31 -07:00
L. David Baron
4419f3e86b
Bug 1053986 - Rename nsIFrame::GetMinSize to GetXULMinSize, and related methods. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: Jhe3o3kIOe0
2016-04-20 21:28:31 -07:00
Jonathan Watt
947f9705a7
Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku
2016-03-31 12:46:32 +01:00
Christoph Kerschbaumer
8ffee19dd7
Bug 1256999 - Pass the right context to new channels for image loads. r=bz r=seth
2016-04-11 10:58:03 +02:00
Matt Woodrow
35a6d1ae18
Bug 852754 - Part 3: Share the implementation of ConfigureLayer. r=mstange
2016-04-07 18:54:33 +12:00
Matt Woodrow
824d125a52
Bug 852754 - Part 2: Share the implementation of GetContainer. r=mstange
2016-04-07 18:53:15 +12:00
Matt Woodrow
ed1801d715
Bug 852754 - Part 1: Share the code for limiting scale factors to all image types. r=mstange
2016-04-07 18:52:35 +12:00
Seth Fowler
d5b59e6987
Bug 1255362 - Null-check GetContainer() before using it in image-related ConfigureLayer() methods. r=mstange a=Tomcat
2016-03-11 15:12:07 +08:00
Seth Fowler
ff14d33f49
Bug 1251804 - Use the ImageContainer's size and not the intrinsic size when computing the transform in nsDisplayImage::ConfigureLayer. r=tn
2016-03-07 17:06:04 -08:00
Daniel Holbert
6bb804754d
Bug 1192376: Make nsImageBoxFrame check whether image size is available before trying to paint an image. r=seth
2016-02-29 15:09:13 -08:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Masayuki Nakano
106a58fd31
Bug 895274 part.61 Rename NS_LOAD to eLoad r=smaug
2015-09-02 15:07:59 +09:00
Masayuki Nakano
7237ce0ad1
Bug 895274 part.57 Rename NS_LOAD_ERROR to eLoadError r=smaug
2015-09-02 15:07:59 +09:00
Masayuki Nakano
d36f87a852
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Birunthan Mohanathas
a0f7c73250
Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Dragana Damjanovic
f5e3e71a6d
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Seth Fowler
fe46d7b2f6
Bug 1177604 - Stop delaying the load event for XUL images until the image is decoded. r=tn
2015-07-06 17:11:11 -07:00
Daniel Holbert
13699a0dd2
Bug 1170052 part 2: Support object-fit & object-position on XUL <image src=""> elements. r=seth
2015-06-12 17:31:21 -07:00
Daniel Holbert
8e731ee041
Bug 1170052 part 1: Refactor nsImageBoxFrame::PaintImage() so its final failure case is an early return. r=seth
2015-06-12 17:31:21 -07:00
Wes Kocher
0f1f6894ac
Backed out 4 changesets (bug 1170052) for mulet reftest failures in conditions-05.svg CLOSED TREE
...
Backed out changeset 198a12989a34 (bug 1170052)
Backed out changeset 629a920112ee (bug 1170052)
Backed out changeset b84154e35c77 (bug 1170052)
Backed out changeset d3a9981cf858 (bug 1170052)
2015-06-12 12:52:47 -07:00
Daniel Holbert
3ec4f7a5da
Bug 1170052 part 2: Support object-fit & object-position on XUL <image src=""> elements. r=seth
2015-06-12 11:40:36 -07:00
Daniel Holbert
fa0896a4e1
Bug 1170052 part 1: Refactor nsImageBoxFrame::PaintImage() so its final failure case is an early return. r=seth
2015-06-12 11:40:36 -07:00
Seth Fowler
69bd34af46
Bug 1163878 (Part 2) - Use IsImageContainerAvailable() when making layerization decisions and only call GetImageContainer() if we layerize. r=tn
2015-05-13 00:23:46 -07:00
Nathan Froyd
45872195fe
Bug 1153253 - move nsImageBoxFrame::mRequestRegistered to pack better with other members; r=dholbert
...
Given alignment requirements on most platforms, there will be at least 3
bytes of padding after mRequestRegistered in its current location, and
at least one unused byte at the end of the structure. We can move
mRequestRegistered after mLoadFlags so that it packs properly with the
boolean flags already there for less wasted space.
2015-04-09 12:56:25 -04:00
Seth Fowler
610a6bff26
Bug 1150774 (Part 2) - Use the correct units in nsDisplayImageContainer::ConfigureLayer and related code. r=botond
2015-04-07 18:55:28 -07:00