Phil Ringnalda
f7950798e0
Back out 530555a2d6d4 (bug 1162064) for debug b2g emulator assertions and failure to thrive
...
CLOSED TREE
2015-05-17 22:42:05 -07:00
David Anderson
4b20fa6b94
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-05-17 23:11:44 -04:00
David Anderson
cadd78802e
Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE
2015-05-17 21:46:30 -04:00
Birunthan Mohanathas
db2ca75447
Bug 1038536 - Flatten image/src/ directory. r=seth
...
--HG--
rename : image/src/BMPFileHeaders.h => image/BMPFileHeaders.h
rename : image/src/ClippedImage.cpp => image/ClippedImage.cpp
rename : image/src/ClippedImage.h => image/ClippedImage.h
rename : image/src/DecodePool.cpp => image/DecodePool.cpp
rename : image/src/DecodePool.h => image/DecodePool.h
rename : image/src/Decoder.cpp => image/Decoder.cpp
rename : image/src/Decoder.h => image/Decoder.h
rename : image/src/Downscaler.cpp => image/Downscaler.cpp
rename : image/src/Downscaler.h => image/Downscaler.h
rename : image/src/DynamicImage.cpp => image/DynamicImage.cpp
rename : image/src/DynamicImage.h => image/DynamicImage.h
rename : image/src/FrameAnimator.cpp => image/FrameAnimator.cpp
rename : image/src/FrameAnimator.h => image/FrameAnimator.h
rename : image/src/FrozenImage.cpp => image/FrozenImage.cpp
rename : image/src/FrozenImage.h => image/FrozenImage.h
rename : image/src/ICOFileHeaders.h => image/ICOFileHeaders.h
rename : image/src/IProgressObserver.h => image/IProgressObserver.h
rename : image/src/Image.cpp => image/Image.cpp
rename : image/src/Image.h => image/Image.h
rename : image/src/ImageFactory.cpp => image/ImageFactory.cpp
rename : image/src/ImageFactory.h => image/ImageFactory.h
rename : image/src/ImageMetadata.cpp => image/ImageMetadata.cpp
rename : image/src/ImageMetadata.h => image/ImageMetadata.h
rename : image/src/ImageOps.cpp => image/ImageOps.cpp
rename : image/src/ImageOps.h => image/ImageOps.h
rename : image/src/ImageRegion.h => image/ImageRegion.h
rename : image/src/ImageURL.h => image/ImageURL.h
rename : image/src/ImageWrapper.cpp => image/ImageWrapper.cpp
rename : image/src/ImageWrapper.h => image/ImageWrapper.h
rename : image/src/MultipartImage.cpp => image/MultipartImage.cpp
rename : image/src/MultipartImage.h => image/MultipartImage.h
rename : image/src/Orientation.h => image/Orientation.h
rename : image/src/OrientedImage.cpp => image/OrientedImage.cpp
rename : image/src/OrientedImage.h => image/OrientedImage.h
rename : image/src/ProgressTracker.cpp => image/ProgressTracker.cpp
rename : image/src/ProgressTracker.h => image/ProgressTracker.h
rename : image/src/RasterImage.cpp => image/RasterImage.cpp
rename : image/src/RasterImage.h => image/RasterImage.h
rename : image/src/SVGDocumentWrapper.cpp => image/SVGDocumentWrapper.cpp
rename : image/src/SVGDocumentWrapper.h => image/SVGDocumentWrapper.h
rename : image/src/ScriptedNotificationObserver.cpp => image/ScriptedNotificationObserver.cpp
rename : image/src/ScriptedNotificationObserver.h => image/ScriptedNotificationObserver.h
rename : image/src/ShutdownTracker.cpp => image/ShutdownTracker.cpp
rename : image/src/ShutdownTracker.h => image/ShutdownTracker.h
rename : image/src/SourceBuffer.cpp => image/SourceBuffer.cpp
rename : image/src/SourceBuffer.h => image/SourceBuffer.h
rename : image/src/SurfaceCache.cpp => image/SurfaceCache.cpp
rename : image/src/SurfaceCache.h => image/SurfaceCache.h
rename : image/src/VectorImage.cpp => image/VectorImage.cpp
rename : image/src/VectorImage.h => image/VectorImage.h
rename : image/src/imgFrame.cpp => image/imgFrame.cpp
rename : image/src/imgFrame.h => image/imgFrame.h
rename : image/src/imgLoader.cpp => image/imgLoader.cpp
rename : image/src/imgLoader.h => image/imgLoader.h
rename : image/src/imgRequest.cpp => image/imgRequest.cpp
rename : image/src/imgRequest.h => image/imgRequest.h
rename : image/src/imgRequestProxy.cpp => image/imgRequestProxy.cpp
rename : image/src/imgRequestProxy.h => image/imgRequestProxy.h
rename : image/src/imgTools.cpp => image/imgTools.cpp
rename : image/src/imgTools.h => image/imgTools.h
2015-05-14 20:52:05 -07:00
Birunthan Mohanathas
fdb1f2330a
Bug 1038536 - Flatten image/decoders/icon/qt/public/ directory. r=seth
...
--HG--
rename : image/decoders/icon/qt/public/nsGtkQtIconsConverter.idl => image/decoders/icon/qt/nsGtkQtIconsConverter.idl
2015-05-14 20:52:05 -07:00
David Anderson
502eb5d3ca
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-05-17 20:44:43 -04:00
Seth Fowler
c59b4e0de1
Bug 1160422 - Prioritize size decodes over full decodes. r=tn
2015-05-07 19:12:00 -07:00
Seth Fowler
7c19ca11ae
Bug 1160421 - Replace nsThreadPool with a custom thread pool implementation in DecodePool. r=tn
2015-05-14 17:08:26 -07:00
Seth Fowler
11b6f7ef0f
Bug 1165009 - Bail in RasterImage::OnAddedFrame if we hit an error during decoding. r=tn
2015-05-14 15:21:42 -07:00
Seth Fowler
4b06f90027
Bug 1160801 - Treat invalid GIF disposal methods as DisposalMethod::NOT_SPECIFIED. r=jrmuizel
2015-05-14 15:19:39 -07:00
Seth Fowler
d57e957cee
Bug 1163878 (Part 1) - Add an IsImageContainerAvailable method to imgIContainer. r=tn
2015-05-13 00:23:44 -07:00
Eric Rahm
0879731e88
Bug 1162751 - Part 3: Wrap expensive calls in PR_LOG_TEST. r=seth
...
Check that logging is enabled before performing potentially expensive
operations.
2015-05-11 13:42:30 -07:00
Eric Rahm
ceeb71f5f9
Bug 1162751 - Part 2: Always disable pallete index checking. r=seth
...
The original assumption was that PR_LOGGING wouldn't be enabled in release
builds. Considering that this warning isn't actionable and PR_LOGGING is now
always defined it's better to just always disable pallete index checking.
2015-05-11 13:42:30 -07:00
Eric Rahm
330f80fa92
Bug 1162751 - Part 1: Remove instances of #ifdef PR_LOGGING in image. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-11 13:42:20 -07:00
Glenn Randers-Pehrson
bb566b111b
Bug 1038536 - Update header guard after flatten image/build. r=seth
...
--HG--
extra : rebase_source : 30cdee7bf9a2a43e3d3dbbfdb18cae38f5550bd5
2015-05-07 19:26:00 +02:00
Steve Singer
cd0b6d6576
Bug 1162350 - Define and use DownscalerInvalidRect for non-skia builds. r=seth
2015-05-07 20:36:00 +02:00
Seth Fowler
26a4965347
Bug 1155332 - If we don't have enough memory to fully decode an image, discard it immediately. r=tn
2015-05-07 09:25:12 -07:00
Seth Fowler
71394a902a
Bug 1161743 - Upgrade 'WARNING: Not expiration-tracking an unlocked surface' to an assertion. r=dholbert
2015-05-06 17:45:55 -07:00
Seth Fowler
f87898e570
Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn
2015-03-17 13:56:50 -07:00
Birunthan Mohanathas
1c8872b6c4
Bug 1038536 - Flatten image/public/ directory. r=seth
...
--HG--
rename : image/public/ImageLogging.h => image/ImageLogging.h
rename : image/public/imgICache.idl => image/imgICache.idl
rename : image/public/imgIContainer.idl => image/imgIContainer.idl
rename : image/public/imgIContainerDebug.idl => image/imgIContainerDebug.idl
rename : image/public/imgIEncoder.idl => image/imgIEncoder.idl
rename : image/public/imgILoader.idl => image/imgILoader.idl
rename : image/public/imgINotificationObserver.idl => image/imgINotificationObserver.idl
rename : image/public/imgIOnloadBlocker.idl => image/imgIOnloadBlocker.idl
rename : image/public/imgIRequest.idl => image/imgIRequest.idl
rename : image/public/imgIScriptedNotificationObserver.idl => image/imgIScriptedNotificationObserver.idl
rename : image/public/imgITools.idl => image/imgITools.idl
rename : image/public/nsIIconURI.idl => image/nsIIconURI.idl
2015-05-06 10:57:19 -07:00
Seth Fowler
b699f89076
Bug 1161859 - Compute the size of animated image frames correctly in the SurfaceCache. r=dholbert
2015-05-05 22:19:30 -07:00
Seth Fowler
a0e714f67c
Bug 1161722 - If we're shutting down, don't warn about untracked unlocked surfaces. r=dholbert
2015-05-05 15:35:36 -07:00
Seth Fowler
eb02069aa5
Bug 1145560 - During downscale-during-decode, compute the original size invalid rect based on the target size invalid rect. r=tn
2015-05-05 15:35:34 -07:00
Seth Fowler
8c1a4b3bb1
Bug 1160592 - Report image source size again in about:memory. r=dholbert
2015-05-04 16:08:51 -07:00
Seth Fowler
743099cc51
(No bug) - Correct blatantly lying comment in imgLoader.cpp. r=me DONTBUILD
2015-05-01 13:01:51 -07:00
Seth Fowler
a66babe683
Bug 1157343 - Protect ProgressTracker::mImage with a mutex. r=tn
2015-04-30 18:13:14 -07:00
Mike Hommey
924c9eb636
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Seth Fowler
7b4c79a6cd
Bug 1159502 - Don't block onload for multipart images. r=tn
2015-04-28 15:51:32 -07:00
Seth Fowler
65e04debbb
Bug 1159409 - (Part 2) - Remove ProgressTrackerInit and register Images with a ProgressTracker in ImageFactory. r=tn
2015-04-28 16:32:02 -07:00
Seth Fowler
e9f3458130
Bug 1159409 - (Part 1-) - Remove Init() from the Image interface. r=tn
2015-04-28 16:07:24 -07:00
Seth Fowler
f3b0607ceb
Bug 1157954 - Report each surface in the ImageLib SurfaceCache individually in about:memory. r=dholbert
2015-04-28 11:46:17 -07:00
Seth Fowler
67aae95b57
Bug 1155429 - Add an explicit ImageCacheKey type for the ImageLib cache. r=baku
2015-04-28 11:45:45 -07:00
Andrew McCreight
0c176ddcff
Bug 1062479 - Use static strings for WeakReference type names. r=ehsan
2015-04-24 09:43:01 -07:00
Ryan VanderMeulen
61750cf7e7
Backed out changeset 5f97bf645c13 (bug 1157343) for tp crashes.
2015-04-24 10:09:23 -04:00
Seth Fowler
b8b6ac7d84
Bug 1157343 - Protect ProgressTracker::mImage with a mutex. r=tn
2015-04-23 15:37:08 -07:00
Boris Zbarsky
9cbb1e7539
Bug 1157451. Make nsCORSListenerProxy::Init take an enum, not a boolean, to indicate what to do with data: URIs. And make it required, not defaulted to disallowing. r=smaug
2015-04-22 20:30:10 -04:00
Boris Zbarsky
6e3069def0
Bug 1109693. More places that use CORS should in fact allow data: URIs. r=smaug
2015-04-22 20:30:10 -04:00
Steve Singer
4a748bd766
Bug 1141642 - Fix disable-skia builds. r=jmuizelaar
...
--HG--
extra : rebase_source : 6c6e1664973547b6131a5f5410bb0eec9afd750d
2015-04-18 19:44:00 +02:00
Andrea Marchesini
cb54385682
Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan
2015-04-22 08:29:20 +02:00
Geoff Brown
d82db4ae91
Bug 1133833 - Skip a few more troublesome tests on Android 4.3; r=trivial,test-only
2015-04-21 09:30:49 -06:00
Nicolas Silva
e887c595eb
Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas
2015-04-21 17:22:30 +02:00
Nicolas Silva
cfff5e52c5
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
Geoff Brown
848c9ba9ee
Bug 1133833 - Disable xpcshell test_async_notification.js on Android 4.3 for frequent failures; r=trivial,test-only
2015-04-20 14:15:27 -06:00
Timothy Nikkel
c2c72dfc25
Bug 1063369. When we clone an imgRequestProxy and it currently has an imgCacheValidator checking if the request is still valid over the network make sure to add the new proxy to the validator so that the validator can update the proxy to point to a new request if it finds the old request to be stale. r=seth
...
Since the CSS image loader (for example background images) always uses a cloned request for painting the image this results in stale images being shown.
This patch is almost the same as the patch Boris Zbarsky posted to bug 432391 in 2011, but I didn't notice that patch until too late. There is one siginificant difference though. We call AddProxy and SetNotificationsDeferred before calling SyncNotifyListener in this patch. Calling them after leads to orange on try server.
2015-04-10 01:15:39 -05:00
Ehsan Akhgari
965174d6d8
Add an assertion for the first argument of NewImageChannel, no bug
2015-04-18 20:18:49 -04:00
Nathan Froyd
1e6cdad33c
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Seth Fowler
c3f939a0e0
Bug 1151309 (Part 2) - Hide errors in multipart image parts both visually and internally. r=tn
2015-04-14 17:47:59 -07:00
Seth Fowler
b9f71b11c0
Bug 1151309 (Part 1) - Block until the previous multipart frame is decoded before processing another. r=tn
2015-04-14 17:47:56 -07:00
Wes Kocher
af34e14f2b
Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE
2015-04-14 14:42:59 -07:00
Nathan Froyd
4e3c075424
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00