Birunthan Mohanathas
084be39cfd
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Glenn Randers-Pehrson
e10aeec053
Bug 1151166 - Fix two Coverity warnings in nsPNGDecoder.cpp. r=jrmuizel
2015-05-26 05:48:00 -04:00
Ryan VanderMeulen
2177b9797f
Merge inbound to m-c. a=merge
2015-05-22 14:02:47 -04:00
Cervantes Yu
ab7a49befc
Bug 1151672 - Part 1: Remove the calls to nsThreadManager::SetThreadWorking() and nsThreadManager::SetThreadIdle() due to backout of bug 970307. r=seth
2015-05-19 11:26:21 +08:00
Milan Sreckovic
be9346f37c
Bug 1033090 - Truncate a large URI in the user message about it. r=seth
2015-05-21 16:23:42 -04:00
Seth Fowler
6c37c65ba1
Bug 1166985 - Use two image decoding threads on dual core devices. r=tn
2015-05-20 18:54:16 -07:00
Seth Fowler
6d9c532dd1
Bug 1154974 (Part 2) - Merge image cache entries for blobs URIs with the same underlying blob. r=baku
2015-05-20 18:49:53 -07:00
Seth Fowler
194aa88773
Bug 1160703 (Part 3) - Associate an imgRequest with its ImageCacheKey. r=baku
2015-05-20 10:21:13 -07:00
Seth Fowler
f2c48c6291
Bug 1160703 (Part 2) - Store an ImageURL pointer instead of a URI spec string in ImageCacheKey. r=baku
2015-05-20 10:21:11 -07:00
Seth Fowler
7d35290f7c
Bug 1160703 (Part 1) - Move ImageCacheKey out of imgLoader.h. r=baku
2015-05-20 10:21:09 -07:00
Nathan Froyd
bb51644dac
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Eric Rahm
bac140c6c1
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Eric Rahm
32b4ff6b18
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Phil Ringnalda
46bb542e23
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
d1e2fa0547
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-05-17 23:11:44 -04:00
David Anderson
ad7e67dd62
Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE
2015-05-17 21:46:30 -04:00
Birunthan Mohanathas
a03f0be199
Bug 1038536 - Flatten image/src/ directory. r=seth
2015-05-14 20:52:05 -07:00
Birunthan Mohanathas
9798345e2e
Bug 1038536 - Flatten image/decoders/icon/qt/public/ directory. r=seth
2015-05-14 20:52:05 -07:00
David Anderson
5d41109b11
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-05-17 20:44:43 -04:00
Seth Fowler
8697604e71
Bug 1160422 - Prioritize size decodes over full decodes. r=tn
2015-05-07 19:12:00 -07:00
Seth Fowler
de9562a031
Bug 1160421 - Replace nsThreadPool with a custom thread pool implementation in DecodePool. r=tn
2015-05-14 17:08:26 -07:00
Seth Fowler
80a9e193e3
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
da93119c3d
Bug 1160801 - Treat invalid GIF disposal methods as DisposalMethod::NOT_SPECIFIED. r=jrmuizel
2015-05-14 15:19:39 -07:00
Seth Fowler
23ee589538
Bug 1163878 (Part 1) - Add an IsImageContainerAvailable method to imgIContainer. r=tn
2015-05-13 00:23:44 -07:00
Eric Rahm
1e0ae36c9f
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
1c11239bb2
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
3ce31b3b6a
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
ecd6cd63b0
Bug 1038536 - Update header guard after flatten image/build. r=seth
2015-05-07 19:26:00 +02:00
Steve Singer
7071d6a9b8
Bug 1162350 - Define and use DownscalerInvalidRect for non-skia builds. r=seth
2015-05-07 20:36:00 +02:00
Seth Fowler
425569563b
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
a0f90d3e9b
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
ad75275095
Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn
2015-03-17 13:56:50 -07:00
Birunthan Mohanathas
84b7b55dfd
Bug 1038536 - Flatten image/public/ directory. r=seth
2015-05-06 10:57:19 -07:00
Seth Fowler
0e8949d2df
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
0657271e96
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
a887d7f0ee
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
b9ce8373d1
Bug 1160592 - Report image source size again in about:memory. r=dholbert
2015-05-04 16:08:51 -07:00
Seth Fowler
67e68ab2d2
(No bug) - Correct blatantly lying comment in imgLoader.cpp. r=me DONTBUILD
2015-05-01 13:01:51 -07:00
Seth Fowler
6a7be7a155
Bug 1157343 - Protect ProgressTracker::mImage with a mutex. r=tn
2015-04-30 18:13:14 -07:00
Mike Hommey
b848e4bfcf
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
2016160b29
Bug 1159502 - Don't block onload for multipart images. r=tn
2015-04-28 15:51:32 -07:00
Seth Fowler
9ef48f89fc
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
bf46701f2d
Bug 1159409 - (Part 1-) - Remove Init() from the Image interface. r=tn
2015-04-28 16:07:24 -07:00
Seth Fowler
8e4a491d49
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
fb9d0727c1
Bug 1155429 - Add an explicit ImageCacheKey type for the ImageLib cache. r=baku
2015-04-28 11:45:45 -07:00
Andrew McCreight
3af0e9963c
Bug 1062479 - Use static strings for WeakReference type names. r=ehsan
2015-04-24 09:43:01 -07:00
Ryan VanderMeulen
c9d69c37a2
Backed out changeset 5f97bf645c13 (bug 1157343) for tp crashes.
2015-04-24 10:09:23 -04:00
Seth Fowler
57b1bedf72
Bug 1157343 - Protect ProgressTracker::mImage with a mutex. r=tn
2015-04-23 15:37:08 -07:00
Boris Zbarsky
ee1cd19f1a
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
361b5d3d9a
Bug 1109693. More places that use CORS should in fact allow data: URIs. r=smaug
2015-04-22 20:30:10 -04:00