Commit Graph

1593 Commits

Author SHA1 Message Date
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