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
Steve Singer
ce8af5f6ca
Bug 1141642 - Fix disable-skia builds. r=jmuizelaar
2015-04-18 19:44:00 +02:00
Andrea Marchesini
eff949a801
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
ab29ec007b
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
aa850abbcd
Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas
2015-04-21 17:22:30 +02:00
Nicolas Silva
d93b5d5970
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
aa63c44665
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
0392ce1c6a
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
a053ffd138
Add an assertion for the first argument of NewImageChannel, no bug
2015-04-18 20:18:49 -04:00
Nathan Froyd
fba75178ed
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
a51893ca8a
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
1a5b05ef78
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
599525318e
Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE
2015-04-14 14:42:59 -07:00
Nathan Froyd
5ba322e426
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
Glenn Randers-Pehrson
5d8dda054b
Bug 1102048 (Part 35, Downscaler) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-01-22 05:38:00 -08:00
Carsten "Tomcat" Book
fd7ef34719
Backed out changeset 43af95e75ece (bug 1063369) for bc1 test failures
2015-04-10 11:31:35 +02:00
Carsten "Tomcat" Book
6c97b9b7b3
Backed out changeset eaf1b350adf9 (bug 1063369)
2015-04-10 11:29:51 +02:00
Timothy Nikkel
6acb1670db
Bug 1063369. Forgot missing include.
2015-04-10 01:56:22 -05:00
Timothy Nikkel
1218aaf468
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
Seth Fowler
66629162cd
Bug 1146335 (Part 2) - Fix an off-by-one error in image::Downscaler. r=tn
2015-04-09 17:52:23 -07:00
Seth Fowler
5450f73022
Bug 1146335 (Part 1) - Add assertions and fix style issues in image::Downscaler. r=tn
2015-04-09 17:52:23 -07:00
Chris Peterson
c46812c42d
Bug 1143994 - Fix some -Wunreachable-code and -Wswitch warnings in imagelib. r=seth
2015-03-16 21:02:15 -07:00
Seth Fowler
e326aefd61
Bug 1149893 - Add a pref that makes us decode all images immediately. r=baku
2015-04-07 16:44:29 -07:00
Glenn Randers-Pehrson
2d13dfa2f6
Bug 1102048 (Part 20, imgLoader) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-04-07 14:49:00 -07:00
Glenn Randers-Pehrson
5b06f4967b
Bug 1102048 (Part 23, encoders) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-04-06 19:19:00 -07:00
Glenn Randers-Pehrson
f4eed2926a
Bug 1102048 (Part 39, decoders/icon) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-04-06 19:12:00 -07:00
Glenn Randers-Pehrson
011a3c8933
Bug 1102048 (Part 24, decoders) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-04-05 16:22:00 -07:00
Glenn Randers-Pehrson
3019fccc78
Bug 1102048 (Part 15, VectorImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-04-04 12:58:00 -07:00
Glenn Randers-Pehrson
e55135822b
Bug 1102048 (Part 04, ClippedImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-04-04 12:57:00 -07:00
Glenn Randers-Pehrson
af63bce4d1
Bug 1102048 (Part 30, imgTools) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-04-02 13:41:00 -07:00
Glenn Randers-Pehrson
1353980c3d
Bug 1102048 (Part 11, imgRequest) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-31 11:06:00 -07:00
Glenn Randers-Pehrson
921f40137f
Bug 1102048 (Part 38, ShutdownTracker) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-31 10:57:00 -07:00
Glenn Randers-Pehrson
4721a5466c
Bug 1102048 (Part 37, ProgressTracker) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-31 10:56:00 -07:00
Glenn Randers-Pehrson
311dffda45
Bug 1102048 (Part 14, NotificationObserver) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-31 10:50:00 -07:00
Glenn Randers-Pehrson
a05253d19a
Bug 1102048 (Part 13, RasterImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-31 10:49:00 -07:00
Glenn Randers-Pehrson
20071ed15c
Bug 1102048 (Part 10, imgFrame) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-31 10:48:00 -07:00
Glenn Randers-Pehrson
a21ff3867f
Bug 1102048 (Part 36, DynamicImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-25 19:39:00 -07:00
Glenn Randers-Pehrson
e14eea766e
Bug 1102048 (Part 09, Image) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-25 19:36:00 -07:00
Glenn Randers-Pehrson
e9092c97e8
Bug 1102048 (Part 29, imgRequestProxy) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-25 10:59:00 -07:00
Glenn Randers-Pehrson
f14b496ea7
Bug 1102048 (Part 31, SurfaceCache) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-24 13:16:00 -07:00
Glenn Randers-Pehrson
db8250a655
Bug 1102048 (Part 25, header guards) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-23 16:59:00 -07:00
Glenn Randers-Pehrson
bf546a88ce
Bug 1102048 (Part 33, SVGDocument) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-04 04:18:00 -08:00
Glenn Randers-Pehrson
beda8b9e2b
Bug 1102048 (Part 05, Decoder) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-02-10 16:47:00 -08:00
Glenn Randers-Pehrson
a964ccfa41
Bug 1102048 (Part 28, DecoderPool) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-02-08 14:43:00 -08:00
Glenn Randers-Pehrson
32d50bda4c
Bug 1102048 (Part 34, Multipart) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-02-05 21:34:00 -08:00
Glenn Randers-Pehrson
250fb6536b
Bug 1102048 (Part 19, ImageMetadata) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-01-19 10:29:00 -08:00
Glenn Randers-Pehrson
d7f1105283
Bug 1102048 (Part 32, FrameAnimator) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-01-16 09:27:00 -08:00
Glenn Randers-Pehrson
5074a324cd
Bug 1102048 (Part 26) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-01-10 10:49:00 -08:00
Glenn Randers-Pehrson
b1d1e33e9a
Bug 1102048 (Part 03) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2014-12-11 17:03:00 -08:00
Seth Fowler
1ce29b8ec9
Bug 1150127 - Stop leaking windows via imgCacheValidator. r=baku
...
CLOSED TREE
2015-04-07 13:02:02 -04:00
Ryan VanderMeulen
54e226b6c9
Backed out changeset 0e7488db2bd3 (bug 1150127) for suspicion of causing various Gip failures.
...
CLOSED TREE
2015-04-07 12:00:35 -04:00
Seth Fowler
a74fe9d0f2
Bug 1150127 - Stop leaking windows via imgCacheValidator. r=baku
2015-04-06 19:34:00 -07:00
Nicolas Silva
17671eabdb
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Glenn Randers-Pehrson
899caf509e
Bug 1147909 - Part 2 - (nsPNGDecoder) Update embedded libpng to version 1.6.17. r=jmuizelaar
2015-03-28 11:07:00 +01:00
Mats Palmgren
400128b6ce
Bug 1149222 part 1 - Make nsLayoutUtils::DrawBackgroundImage and SVGImageContext use CSSIntSize instead of unitless nsIntSize. r=dholbert
2015-04-03 19:48:12 +00:00
Nathan Froyd
4181765caf
Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan
2015-03-12 13:20:29 -04:00
Mike Hommey
ee117642af
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Mike Hommey
95e047925a
Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Ehsan Akhgari
0ebb42b9bf
Bug 1147699 - Part 4: Add a test for FetchEvent.request.context when intercepting a responsive image load; r=nsm
2015-03-30 08:42:35 -04:00
Seth Fowler
4b30b6f71c
Bug 1148682 - Handle content length correctly for moz-icon channels. r=tn
2015-03-29 17:47:49 -07:00
Seth Fowler
14afd5bdbb
Bug 1148397 - Fix data race on imgRequest::mHadInsecureRedirect. r=tanvi
2015-03-29 16:25:48 -07:00
Seth Fowler
2a857eabb1
Bug 1148684 - Compact SourceBuffer even if it contains only one chunk. r=tn
2015-03-29 16:25:15 -07:00
Nicolas Silva
360af5d1db
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00
Nicolas Silva
4a4a87a4a5
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Seth Fowler
1ae653b3c4
Bug 1148213 - Implement image locking for VectorImage. r=dholbert
2015-03-27 20:17:23 -07:00
Seth Fowler
f7ba6f4d94
Bug 1148640 - Bail if OnStartRequest is delivered more than once to imgCacheValidator. r=tn
2015-03-27 20:07:20 -07:00
Andrea Marchesini
94545cbb2e
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
atlanto
895dfcc47b
Bug 1137615 - "Some icons are not displayed in the bookmarks sidebar" [r=seth]
2015-03-25 01:00:00 -07:00
Wes Kocher
4c4e6cd8db
Backed out changeset 8f5b359fc9fc (bug 1141894) for m-oth failures CLOSED TREE
2015-03-24 17:18:10 -07:00
Seth Fowler
beeb49d974
Bug 1124088 - Rename decode-on-draw to decode-only-on-draw. r=tn
2015-03-24 15:39:00 -07:00
Seth Fowler
913bd799e1
Bug 1139225 - Followup - Remove duplicate multiPartChannel variable.
2015-03-24 14:47:01 -07:00
Seth Fowler
9af7f42c24
Bug 1141894 - Do not bother to attempt to validate non-HTTP image cache entries. r=tn
2015-03-24 14:46:58 -07:00
Tanvi Vyas
6455ea6848
Bug 1082837 - Call content policies on cached image redirects in imgLoader::ValidateSecurityInfo. Content policies check the last hop (final uri) of the cached image. For Mixed Content Blocker, we do an additional check to see if any of the intermediary hops went through an insecure redirect. r=smaug, feedback=seth
2015-03-24 09:18:48 -07:00
Tanvi Vyas
d5125a43ae
Bug 1082837 - Track insecure redirects on imgRequest. r=?
2014-12-15 17:40:43 -08:00
Seth Fowler
c041c8b459
Bug 1139225 Followup - Replace MOZ_OVERRIDE with override and MOZ_FINAL with final in imgRequest.cpp on a CLOSED TREE.
2015-03-23 20:00:42 -07:00
Seth Fowler
6a5d44fdeb
Bug 1139818 - Merge imgRequest public and private sections. r=baku
2015-03-23 19:37:46 -07:00
Seth Fowler
74cd6bd1eb
Bug 1139804 (Part 6) - Make imgRequest no longer friends with ProgressTracker. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
92545a8efe
Bug 1139804 (Part 5) - Stop accessing private imgRequest members in imgMemoryReporter. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
e5503c5962
Bug 1139804 (Part 4) - Stop accessing private imgRequest members in imgLoader. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
2351077c02
Bug 1139804 (Part 3) - Stop accessing private imgRequest members in imgCache* classes. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
97409e8453
Bug 1139804 (Part 2) - Stop accessing private imgRequest members in imgRequestProxy. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
15b97a073f
Bug 1139804 (Part 1) - Remove references to nonexistent type imgRequestNotifyRunnable. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
8890bc34c1
Bug 1141819 - Don't implicitly dispatch a runnable to the main thread in RasterImage::StartDecoding. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
5465d1c9e4
Bug 1139225 (Part 3) - Make OnDataAvailable threadsafe. r=tn
2015-03-23 19:37:45 -07:00
Seth Fowler
5c100fc464
Bug 1139225 (Part 2) - Dispatch OnImageAvailable to the main thread manually in imgRequest. r=tn
2015-03-23 19:37:45 -07:00
Seth Fowler
fa047d9c6d
Bug 1139225 (Part 1) - Remove unused imgRequest::mBlockingOnload flag. r=tn
2015-03-23 19:37:45 -07:00
Seth Fowler
5da4b2703b
Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
2e7bc146e4
Bug 1137019 (Part 2) - Replace imgRequest's image decoding methods with a single minimal method that updates an atomic. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
190b4798ef
Bug 1137019 (Part 1) - Get rid of unused LockImage forwarding methods on imgRequest. r=baku
2015-03-23 19:37:44 -07:00
Seth Fowler
d86e060a7a
Bug 1137019 (Part 0) - Back out bug 1142849.
2015-03-23 19:37:44 -07:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ryan VanderMeulen
d296d3f9ca
Backed out changeset c5af69669855 (bug 1124084) for various regressions.
...
CLOSED TREE
2015-03-20 13:01:35 -04:00
Nathan Froyd
c88b0aa913
Bug 1145167 - make imgIContainer::type getter infallible; r=seth
...
Rather than writing out a separate GetType() for every concrete
imgIContainer, we can tag the attribute as [infallible] in the IDL file.
The IDL code generator takes care of generating the correct GetType,
leading to less code duplication.
2015-03-19 10:12:52 -04:00
Seth Fowler
c7e806b5cd
Bug 1144899 - Make the perfect match check in LookupBestMatch skip undecoded surfaces. r=dholbert
2015-03-18 20:31:38 -07:00
Seth Fowler
431609ad4a
Bug 1141398 - Do not always revalidate image cache entries for file URIs. r=tn
2015-03-18 18:29:32 -07:00
Seth Fowler
2c9ec2cdda
Bug 1139636 - Add BUG_COMPONENT info for ImageLib. r=gps
2015-03-18 18:29:32 -07:00
Seth Fowler
a2b6a8221d
Bug 1137058 - Increment RasterImage::mLockCount to ensure that non-discardable images don't eventually become unlocked. r=tn
2015-03-17 19:40:17 -07:00
Seth Fowler
eebec0f7d6
Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn
2015-03-17 19:40:16 -07:00
Seth Fowler
0b505f011b
Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn
2015-03-17 13:56:50 -07:00
Seth Fowler
3be45d0bcc
Bug 1143509 - Unlock surfaces for downscale-during-decode before creating a new decoder. r=dholbert
2015-03-17 13:56:49 -07:00
Seth Fowler
f49f593021
Bug 1135572 - Disable 944353.jpg crashtest on ASAN. r=me DONTBUILD
2015-03-16 10:48:09 -07:00
Seth Fowler
72645b77ed
Bug 1142849 - Upliftable fix for imgRequest TSan violations. r=tn
2015-03-13 11:43:32 -07:00
Jonathan Griffin
8873726f67
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Ehsan Akhgari
16b4114ff2
Bug 1140766 - Build more files in image/decoders in unified mode; r=jrmuizel
2015-03-11 21:30:03 -04:00
Ryan VanderMeulen
4fdbfff255
Backed out changesets febbccd1cd1e and d834e57b0352 (bug 1137019) for making bug 1123563 permafail on Android 2.3.
...
CLOSED TREE
2015-03-10 16:45:01 -04:00
Ryan VanderMeulen
2168dd98ca
Backed out changeset 75709d46ba3b (bug 1137037)
2015-03-10 16:43:54 -04:00
Seth Fowler
c763071cf1
Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku
2015-03-10 11:21:45 -07:00
Seth Fowler
5512fd2b25
Bug 1137019 (Part 2) - Replace imgRequest's image decoding methods with a single minimal method that updates an atomic. r=baku
2015-03-10 11:21:45 -07:00
Seth Fowler
b378f7854a
Bug 1137019 (Part 1) - Get rid of unused LockImage forwarding methods on imgRequest. r=baku
2015-03-10 11:21:45 -07:00
Milan Sreckovic
ae310469c2
Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange
2015-03-09 15:48:20 -04:00
Alex Henrie
52f2b50487
Bug 1134537 - Only support GIO in Linux's nsIconChannel. r=seth
2015-03-03 23:15:08 -07:00
Alexandre Lissy
dd35eaa14c
Bug 1039834 - Fix PNG suite reftest on mulet. r=dbaron
2015-03-04 10:12:00 +01:00
Seth Fowler
a32d61e9b6
Bug 1130607 - Cancel our imgRequest if we get an unexpected duplicate imgRequest event. r=tn
2015-03-04 22:18:14 -08:00
Seth Fowler
e9e1603dbc
Bug 1135977 (Part 2) - Use threadsafe refcounting for ProxyListener. r=baku
2015-03-04 22:18:12 -08:00
Seth Fowler
5306f07c44
Bug 1135977 (Part 1) - Use modern Mozilla style for refcounting in imgLoader. r=baku
2015-03-04 22:18:09 -08:00
Anish
9b39f2745a
Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers
2015-03-03 08:46:37 -05:00
Andrea Marchesini
5a32f7fa5a
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Boris Zbarsky
897168be1d
Bug 1136388. Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*. r=smaug
2015-02-25 10:26:51 -05:00
Glenn Randers-Pehrson
620d67cd5f
Bug 1132081 - Speed up ConvertHostARGBRow() in the PNG encoder. r=jmuizelaar
2015-02-21 05:54:00 +01:00
Carsten Book
bbd47ba64d
Bug 944353 - crashtest.
2015-02-22 02:41:58 +00:00
Anish
d6962a9b5b
Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers
2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
24df8222d0
Backed out changeset 6885e993936a (bug 1056851) for crashtest failures
2015-02-19 15:02:05 +01:00
Anish
e982da177f
Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher
2015-02-19 07:26:41 -05:00
Timothy Nikkel
dd3fed6f09
Bug 1132427. Add test.
2015-02-17 19:26:52 -06:00
Matt Woodrow
cde1d90f5f
Bug 1133356 - Expand macro in OnImageAvailable to avoid checking NotificationsDeferred. r=roc
2015-02-17 10:15:04 +13:00
Timothy Nikkel
09dabd46dc
Bug 1132427. Make sure that the first frame refresh area for an animated image gets updated based on the refresh area of all subsequent frames, not just the second. r=jrmuizel
2015-02-13 02:26:41 -06:00
Blake Kaplan
1d30248d08
Bug 1117337 - Properly serialize moz-icon URIs. r=bent
2015-02-12 15:41:21 -08:00
Blake Kaplan
3627a368c3
Bug 1117337 - Make icon URIs constructable via XPCOM. r=seth
2015-02-12 15:41:21 -08:00
Jeff Muizelaar
738a667bbd
Bug 1131446. mFrameHasNoAlpha is mostly pointless. r=seth
...
Starting with bug 391583 we detect whether a png image has any transparency
during decode. I don't think this is worth doing anymore. We choose the format
of image based on the png header, that should be sufficient for the performance
improvement we desire from opaque images. This gets us faster image decoding.
2015-02-10 13:26:14 +08:00
Chris Peterson
b00d104bb6
Bug 1118076 - Remove obsolete comment about #including Attributes.h for MOZ_THIS_IN_INITIALIZER_LIST. DONTBUILD r=seth
2015-02-10 19:03:04 -08:00
Seth Fowler
0b596c149c
Bug 1130707 (Followup) - Add missing return statement. r=me
2015-02-10 14:28:14 -08:00
Seth Fowler
e92e773792
Bug 1130802 - Always prefer decoded surfaces when substituting surfaces for downscale-during-decode. r=dholbert
2015-02-10 04:20:45 -08:00
Seth Fowler
59f6986711
Bug 1130707 - Make decode-on-draw-only image notifications more robust. r=tn
2015-02-09 23:50:30 -08:00
Seth Fowler
9c9d5eb0e3
Bug 1128769 (Part 6) - Remove imgIContainer::IsDecoded and all remaining callers. r=tn
2015-02-09 23:27:40 -08:00
Nicholas Nethercote
ee41df7dc2
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Seth Fowler
dbbbebaaac
Bug 1128188 - Allow creation of animated frames that do not fit inside the bounds of their image. r=jrmuizel
2015-02-07 03:51:40 -08:00
Andrew McCreight
1ee96e7527
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nathan Froyd
8c6644f116
Bug 1128989 - part 2 - forward-declare Telemetry::ID in Decoder.h; r=seth
...
This change means that Decoder.h (and any files that include it) no
longer depend on Telemetry.h. And since Telemetry.h can change rather
frequently, this change helps minimize the number of files that need to
be rebuilt when Telemetry.h does change.
2015-02-03 10:05:49 -05:00
Seth Fowler
f09d7defb3
Bug 1120144 - Disable test_bug641198.html until it can be rewritten. r=me
2015-02-05 18:03:19 -08:00
Seth Fowler
44ef00c675
Bug 1124610 - Call PostHasTransparency for corrupt images that we treat as usable. r=jrmuizel
2015-02-05 14:42:38 -08:00
Nicholas Nethercote
0a02b5d31c
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Seth Fowler
c93363a9a2
Bug 1129818 - Don't call back into DecodePool from NotifyDecodeCompleteWorker. r=tn
2015-02-05 02:49:08 -08:00
Seth Fowler
88ad0ef2bc
Bug 1128225 (Part 1) - Return a result enumeration from imgIContainer::Draw. r=tn
2015-02-04 13:50:56 -08:00
Seth Fowler
ab9ff477f2
Bug 1126490 (Part 2) - Recover from loss of surfaces in VectorImage. r=dholbert
2015-02-03 16:38:39 -08:00
Seth Fowler
cb0613ce84
Bug 1126490 (Part 1) - Recover when catastrophic circumstances cause us to lose frames in RasterImage. r=tn
2015-02-03 16:38:36 -08:00
Birunthan Mohanathas
48741e37ed
Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo
2015-02-03 18:52:36 +02:00
Seth Fowler
8ddea6b8d4
Bug 1128223 (Part 4) - Remove DecodeStrategy and WantDecodedFrames. r=tn
2015-02-02 21:40:35 -08:00
Seth Fowler
775caa912a
Bug 1128223 (Part 3) - Add FLAG_ASYNC_NOTIFY. r=tn
2015-02-02 21:40:35 -08:00
Seth Fowler
6a2e58737c
Bug 1128223 (Part 2) - Add FLAG_SYNC_DECODE_IF_FAST. r=tn
2015-02-02 21:40:35 -08:00
Seth Fowler
f9a0a76bf1
Bug 1128223 (Part 1) - Clean up existing image flags. r=tn
2015-02-02 21:40:35 -08:00
Mike Hommey
50e6916b40
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
2015-02-02 09:56:13 +09:00
Seth Fowler
b1db14a6a4
Bug 1126739 - Add locking to SurfaceCache entry points that bypass the public API. r=tn
2015-01-31 15:29:48 -08:00
Carsten "Tomcat" Book
0277da5a08
Backed out changeset e5c85f765f2d (bug 1126739) for bc2 test failures on a CLOSED TREE
2015-01-29 10:42:16 +01:00
Seth Fowler
ed3bf41491
Bug 1126739 - Add locking to SurfaceCache entry points that bypass the public API. r=tn
2015-01-28 23:50:06 -08:00
Seth Fowler
679d31537c
Bug 1126146 - Disable the single-color optimization in reftests. r=tn
2015-01-27 17:43:21 -08:00
Carsten "Tomcat" Book
de0288825d
Backed out changeset bbd77af91d82 (bug 1125490) for reftests failures on a CLOSED TREE
2015-01-27 11:16:28 +01:00
Seth Fowler
27c3cc775e
Bug 1125490 (Part 1) - Make sure we request discarding for images in PresShell::Destroy. r=tn
2015-01-26 22:53:21 -08:00
Seth Fowler
5e3ae1bf36
Bug 1126038 - Finish decoding off-main-thread. r=tn
2015-01-26 22:53:20 -08:00
Ehsan Akhgari
3d1fd4d8ca
Bug 1125180 - Mark some functions in image as override; r=jrmuizel
2015-01-26 08:49:26 -05:00
Masatoshi Kimura
f1b5ace064
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Masatoshi Kimura
222483b6f4
Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo
2015-01-26 07:22:07 +09:00
Phil Ringnalda
ee16847fd9
Back out 2 changesets (bug 1125490) for Windows and Android reftest failures
...
CLOSED TREE
Backed out changeset 042523d55ed8 (bug 1125490)
Backed out changeset fa3e911c2941 (bug 1125490)
2015-01-25 08:03:52 -08:00
Seth Fowler
23d04ca48c
Bug 1125401 - Replace ProgressTracker::IsLoading() with checks of the correct progress flags. r=tn
2015-01-24 23:16:46 -08:00
Seth Fowler
c9b3eed52c
Bug 1125490 (Part 1) - Make sure we request discarding for images in PresShell::Destroy. r=tn
2015-01-24 23:14:10 -08:00
Seth Fowler
0f21d63f6f
Bug 1125491 - Only lock the image during the initial decode. r=tn
2015-01-24 20:26:40 -08:00
Seth Fowler
c233268f64
Bug 1125457 - Fix a couple of issues in Downscaler.h that broke the build with --disable-skia. r=me
2015-01-24 17:50:21 -08:00
Glenn Randers-Pehrson
22ecaaa6a2
Bug 1117406 - Fix handling of out-of-range PNG tRNS values. r=jmuizelaar
2015-01-24 12:43:49 -05:00
Xidorn Quan
85b7361ce5
Bug 1124029
- Fix 64bit shift warning in imgFrame. r=tn
2015-01-23 08:29:36 +11:00
Nathan Froyd
32193baa64
Bug 1124180 - use MOZ_BIG_ENDIAN in nsJPEGDecoder.cpp; r=seth
2015-01-21 09:16:41 -05:00
Seth Fowler
884570b29d
Bug 1124535 - Check if we have a downscaler before using it in nsJPEGDecoder. r=tn
2015-01-21 19:35:47 -08:00
Seth Fowler
ece456f53b
Bug 1120149 - Add a hack to resolve an AWSY regression in Gecko 37 and 38. r=tn
2015-01-21 17:36:20 -08:00
Jonathan Watt
809b8b2fc9
Bug 1112533 - Get rid of SVGDocumentWrapper::GetWidthOrHeight(). r=dholbert
2015-01-20 19:12:54 +00:00
Jonathan Watt
e619807378
Bug 1086284 - Avoid using refcounting when determining an SVG-as-an-image's intrinsic size so that the image doesn't end up in the CC graph. r=dholbert
2015-01-20 14:27:16 +00:00
James Kitchener
6a912052bb
Bug 1100184 - Flatten netwerk/base/{public,src}/ directories. r=mcmanus, r=poiru
2015-01-20 03:58:00 -05:00
Patrick McManus
fdaefb68d6
bug 1116867 - make nsIProgressEventSink and nsITransportEventSink safely scriptable r=mayhemer r=bz
...
These scriptable interfaces use uint_64 arguments with sentinel values
of UINT64_MAX. However, UINT64_MAX exceeds MAX_SAFE_INTEGER and cannot
be gatewayed to/from javascript - so they cannot be used
correctly. Change them to use signed 64 bit numbers and -1 as the
sentinnel. C++ implementations ought to be enough to audit as the
special value could never be used correctly in JS anyhow - also
audited OnProgressChange() uses for downstream use of this data.
---
dom/base/nsXMLHttpRequest.cpp | 19 +++++++----
dom/base/nsXMLHttpRequest.h | 10 +++---
dom/plugins/base/nsPluginStreamListenerPeer.cpp | 4 +--
.../webbrowserpersist/nsWebBrowserPersist.cpp | 14 ++++----
image/src/imgLoader.cpp | 4 +--
modules/libjar/nsJARChannel.cpp | 3 +-
netwerk/base/public/nsIProgressEventSink.idl | 8 ++---
netwerk/base/public/nsITransport.idl | 8 ++---
netwerk/base/public/nsNetUtil.h | 24 ++++++++++++++
netwerk/base/src/Dashboard.cpp | 2 +-
netwerk/base/src/nsBaseChannel.cpp | 12 +++----
netwerk/base/src/nsIncrementalDownload.cpp | 4 +--
netwerk/base/src/nsSocketTransport2.cpp | 5 +--
netwerk/base/src/nsStreamTransportService.cpp | 38 +++++++++++++---------
netwerk/base/src/nsTransportUtils.cpp | 12 +++----
netwerk/protocol/file/nsFileChannel.cpp | 8 +++--
netwerk/protocol/ftp/nsFtpConnectionThread.cpp | 4 +--
netwerk/protocol/http/Http2Push.cpp | 2 +-
netwerk/protocol/http/Http2Session.cpp | 2 +-
netwerk/protocol/http/HttpChannelChild.cpp | 31 +++++++++---------
netwerk/protocol/http/HttpChannelChild.h | 6 ++--
netwerk/protocol/http/HttpChannelParent.cpp | 4 +--
netwerk/protocol/http/HttpChannelParent.h | 4 +--
netwerk/protocol/http/NullHttpTransaction.cpp | 2 +-
netwerk/protocol/http/PHttpChannel.ipdl | 2 +-
netwerk/protocol/http/SpdyPush31.cpp | 2 +-
netwerk/protocol/http/SpdySession31.cpp | 2 +-
netwerk/protocol/http/TunnelUtils.cpp | 2 +-
netwerk/protocol/http/nsAHttpTransaction.h | 4 +--
netwerk/protocol/http/nsHttpChannel.cpp | 30 +++++++++++------
netwerk/protocol/http/nsHttpConnection.cpp | 4 +--
netwerk/protocol/http/nsHttpConnectionMgr.cpp | 4 +--
netwerk/protocol/http/nsHttpPipeline.cpp | 4 +--
netwerk/protocol/http/nsHttpPipeline.h | 6 ++--
netwerk/protocol/http/nsHttpResponseHead.cpp | 2 +-
netwerk/protocol/http/nsHttpResponseHead.h | 2 +-
netwerk/protocol/http/nsHttpTransaction.cpp | 32 +++++++++---------
netwerk/protocol/http/nsHttpTransaction.h | 2 +-
netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp | 2 +-
netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp | 3 +-
netwerk/test/TestIncrementalDownload.cpp | 7 ++--
uriloader/base/nsDocLoader.cpp | 14 ++++----
42 files changed, 203 insertions(+), 151 deletions(-)
2015-01-08 14:48:52 -05:00
Seth Fowler
d472d2fbf5
Bug 1045929 (Part 2) - Implement downscale-during-decode for JPEG images. r=tn
2015-01-20 03:06:37 -08:00
Seth Fowler
7cd4579890
Bug 1045929 (Part 1) - Add a streaming downscaler to ImageLib. r=tn
2015-01-20 03:06:37 -08:00
Seth Fowler
65bfa3a6bb
Bug 1122446 - Give cached surfaces a chance to expire, when starting a downscale-during-decode. r=dholbert
2015-01-20 03:06:37 -08:00
Seth Fowler
6bbece46f8
Bug 1118655 - Use decode-on-draw only, and ignore RequestDecode and the like, when APZ and downscale-during-decode are enabled. r=tn
2015-01-19 15:46:55 -08:00
Trevor Saunders
d4b4499949
bug 1122065 - use MOZ_OVERRIDE more in gfxish things r=jrmuizel
2015-01-19 17:41:12 -05:00
Phil Ringnalda
941f93b4e5
Bug 1123195 - skip image/test/crashtests/694165-1.xhtml on OS X 10.10 debug, where it hangs
2015-01-18 22:56:02 -08:00
Seth Fowler
b3a46336d5
Bug 1119774 (Part 7) - Make it possible to pass a target size to Decoder::AllocateFrame. r=tn
2015-01-18 14:02:14 -08:00
Seth Fowler
af363869ec
Bug 1119774 (Part 6) - Add downscale-during-decode support to RasterImage::LookupFrame. r=tn
2015-01-18 14:02:14 -08:00