Commit Graph

1130 Commits

Author SHA1 Message Date
Mike Hommey
4da5ed0b71 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
7648ae690d 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
8a27bd4af6 Bug 1148397 - Fix data race on imgRequest::mHadInsecureRedirect. r=tanvi 2015-03-29 16:25:48 -07:00
Seth Fowler
6732425048 Bug 1148684 - Compact SourceBuffer even if it contains only one chunk. r=tn 2015-03-29 16:25:15 -07:00
Nicolas Silva
e140a853f2 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva
eae4d10b4d Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Seth Fowler
d29daf519b Bug 1148213 - Implement image locking for VectorImage. r=dholbert 2015-03-27 20:17:23 -07:00
Seth Fowler
438bc43d95 Bug 1148640 - Bail if OnStartRequest is delivered more than once to imgCacheValidator. r=tn 2015-03-27 20:07:20 -07:00
Andrea Marchesini
b212600c95 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Wes Kocher
0127234ae9 Backed out changeset 8f5b359fc9fc (bug 1141894) for m-oth failures CLOSED TREE 2015-03-24 17:18:10 -07:00
Seth Fowler
5464037382 Bug 1124088 - Rename decode-on-draw to decode-only-on-draw. r=tn 2015-03-24 15:39:00 -07:00
Seth Fowler
880f49ba52 Bug 1139225 - Followup - Remove duplicate multiPartChannel variable. 2015-03-24 14:47:01 -07:00
Seth Fowler
157b94c0a7 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
963f23d8ca 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
1878204520 Bug 1082837 - Track insecure redirects on imgRequest. r=? 2014-12-15 17:40:43 -08:00
Seth Fowler
d9470e37c2 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
25ae5582f7 Bug 1139818 - Merge imgRequest public and private sections. r=baku 2015-03-23 19:37:46 -07:00
Seth Fowler
44af78f119 Bug 1139804 (Part 6) - Make imgRequest no longer friends with ProgressTracker. r=baku 2015-03-23 19:37:45 -07:00
Seth Fowler
7eb61c7747 Bug 1139804 (Part 5) - Stop accessing private imgRequest members in imgMemoryReporter. r=baku 2015-03-23 19:37:45 -07:00
Seth Fowler
32a164f89f Bug 1139804 (Part 4) - Stop accessing private imgRequest members in imgLoader. r=baku 2015-03-23 19:37:45 -07:00
Seth Fowler
9c627ae7a4 Bug 1139804 (Part 3) - Stop accessing private imgRequest members in imgCache* classes. r=baku 2015-03-23 19:37:45 -07:00
Seth Fowler
6b99d60c1d Bug 1139804 (Part 2) - Stop accessing private imgRequest members in imgRequestProxy. r=baku 2015-03-23 19:37:45 -07:00
Seth Fowler
0b255897ec Bug 1139804 (Part 1) - Remove references to nonexistent type imgRequestNotifyRunnable. r=baku 2015-03-23 19:37:45 -07:00
Seth Fowler
cbe0a19dbd 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
2a90817c04 Bug 1139225 (Part 3) - Make OnDataAvailable threadsafe. r=tn 2015-03-23 19:37:45 -07:00
Seth Fowler
2a94dad23b 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
426f19ae18 Bug 1139225 (Part 1) - Remove unused imgRequest::mBlockingOnload flag. r=tn 2015-03-23 19:37:45 -07:00
Seth Fowler
cfb41f76db Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku 2015-03-23 19:37:45 -07:00
Seth Fowler
d8ec62d938 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
c49c0d2954 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
e3633e2ea9 Bug 1137019 (Part 0) - Back out bug 1142849. 2015-03-23 19:37:44 -07:00
Ehsan Akhgari
33bb32f549 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
Nathan Froyd
d588938696 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
b3b3730969 Bug 1144899 - Make the perfect match check in LookupBestMatch skip undecoded surfaces. r=dholbert 2015-03-18 20:31:38 -07:00
Seth Fowler
c0fee4202e Bug 1141398 - Do not always revalidate image cache entries for file URIs. r=tn 2015-03-18 18:29:32 -07:00
Seth Fowler
cbefeb4ac9 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
a6c30c7c5f Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Seth Fowler
12e9745d27 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
1b72ce6da1 Bug 1142849 - Upliftable fix for imgRequest TSan violations. r=tn 2015-03-13 11:43:32 -07:00
Ryan VanderMeulen
5c46df90e1 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
2f92d267be Backed out changeset 75709d46ba3b (bug 1137037) 2015-03-10 16:43:54 -04:00
Seth Fowler
eb3148dda2 Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku 2015-03-10 11:21:45 -07:00
Seth Fowler
2260ea79c1 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
d67f6ae817 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
50350de860 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
Seth Fowler
0f43915e26 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
71265524e7 Bug 1135977 (Part 2) - Use threadsafe refcounting for ProxyListener. r=baku 2015-03-04 22:18:12 -08:00
Seth Fowler
914c22e853 Bug 1135977 (Part 1) - Use modern Mozilla style for refcounting in imgLoader. r=baku 2015-03-04 22:18:09 -08:00
Andrea Marchesini
454d9140a2 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
8d06e45b3d 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