Seth Fowler
711b24de92
Bug 1148682 - Handle content length correctly for moz-icon channels. r=tn
2015-03-29 17:47:49 -07:00
Seth Fowler
b6704cffc6
Bug 1148397 - Fix data race on imgRequest::mHadInsecureRedirect. r=tanvi
2015-03-29 16:25:48 -07:00
Seth Fowler
2405897776
Bug 1148684 - Compact SourceBuffer even if it contains only one chunk. r=tn
2015-03-29 16:25:15 -07:00
Nicolas Silva
52be9f47b5
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00
Nicolas Silva
e3eaf89e3f
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Seth Fowler
b10e8c2f7f
Bug 1148213 - Implement image locking for VectorImage. r=dholbert
2015-03-27 20:17:23 -07:00
Seth Fowler
cb919c552d
Bug 1148640 - Bail if OnStartRequest is delivered more than once to imgCacheValidator. r=tn
2015-03-27 20:07:20 -07:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
atlanto
abb22998f0
Bug 1137615 - "Some icons are not displayed in the bookmarks sidebar" [r=seth]
2015-03-25 01:00:00 -07:00
Wes Kocher
8ef8d2c097
Backed out changeset 8f5b359fc9fc (bug 1141894) for m-oth failures CLOSED TREE
...
--HG--
extra : amend_source : 8b3a4d36927acc91cce7450e7888aebb24f8cb06
2015-03-24 17:18:10 -07:00
Seth Fowler
5e1bf3762e
Bug 1124088 - Rename decode-on-draw to decode-only-on-draw. r=tn
2015-03-24 15:39:00 -07:00
Seth Fowler
33a2c7e011
Bug 1139225 - Followup - Remove duplicate multiPartChannel variable.
2015-03-24 14:47:01 -07:00
Seth Fowler
824bd1e1a3
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
3faad06490
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
1bb8dfe2ce
Bug 1082837
- Track insecure redirects on imgRequest. r=?
2014-12-15 17:40:43 -08:00
Seth Fowler
1cf6ce3a0f
Bug 1139225 Followup - Replace MOZ_OVERRIDE with override and MOZ_FINAL with final in imgRequest.cpp on a CLOSED TREE.
...
--HG--
extra : amend_source : 253d84d31d87ccc65247031366aa51ce881a9f74
2015-03-23 20:00:42 -07:00
Seth Fowler
156efe1b0a
Bug 1139818 - Merge imgRequest public and private sections. r=baku
2015-03-23 19:37:46 -07:00
Seth Fowler
54f930b0b6
Bug 1139804 (Part 6) - Make imgRequest no longer friends with ProgressTracker. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
e8811199a7
Bug 1139804 (Part 5) - Stop accessing private imgRequest members in imgMemoryReporter. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
45978d466b
Bug 1139804 (Part 4) - Stop accessing private imgRequest members in imgLoader. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
53de0b014b
Bug 1139804 (Part 3) - Stop accessing private imgRequest members in imgCache* classes. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
dd4f7c449e
Bug 1139804 (Part 2) - Stop accessing private imgRequest members in imgRequestProxy. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
6d7a905304
Bug 1139804 (Part 1) - Remove references to nonexistent type imgRequestNotifyRunnable. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
ee25228a98
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
32afe4039f
Bug 1139225 (Part 3) - Make OnDataAvailable threadsafe. r=tn
2015-03-23 19:37:45 -07:00
Seth Fowler
899b53d7ba
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
419d6b14f2
Bug 1139225 (Part 1) - Remove unused imgRequest::mBlockingOnload flag. r=tn
2015-03-23 19:37:45 -07:00
Seth Fowler
e343dc6f71
Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
ba8b95e80d
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
9156a2820a
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
a149c6f69b
Bug 1137019
(Part 0) - Back out bug 1142849.
2015-03-23 19:37:44 -07:00
Ehsan Akhgari
883849ee32
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
721fc1ab52
Backed out changeset c5af69669855 (bug 1124084) for various regressions.
...
CLOSED TREE
2015-03-20 13:01:35 -04:00
Nathan Froyd
6891ac942c
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
85e3815714
Bug 1144899 - Make the perfect match check in LookupBestMatch skip undecoded surfaces. r=dholbert
2015-03-18 20:31:38 -07:00
Seth Fowler
61b88f5a8a
Bug 1141398 - Do not always revalidate image cache entries for file URIs. r=tn
2015-03-18 18:29:32 -07:00
Seth Fowler
ac8d98f8e3
Bug 1139636 - Add BUG_COMPONENT info for ImageLib. r=gps
2015-03-18 18:29:32 -07:00
Seth Fowler
5e56897acb
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
726d770b60
Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn
2015-03-17 19:40:16 -07:00
Seth Fowler
78ab87250d
Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn
2015-03-17 13:56:50 -07:00
Seth Fowler
d956535e9d
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
4c35fb53bc
Bug 1135572 - Disable 944353.jpg crashtest on ASAN. r=me DONTBUILD
...
--HG--
extra : rebase_source : eb17e50d0a0876d61629997ce6b73512b42f36e7
2015-03-16 10:48:09 -07:00
Seth Fowler
604fcc70bb
Bug 1142849 - Upliftable fix for imgRequest TSan violations. r=tn
...
--HG--
extra : rebase_source : aa6f95d1a441478f54de3833fbf2ab4cad10a581
2015-03-13 11:43:32 -07:00
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Ehsan Akhgari
841639e989
Bug 1140766 - Build more files in image/decoders in unified mode; r=jrmuizel
2015-03-11 21:30:03 -04:00
Ryan VanderMeulen
160143e978
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
2c63c17f19
Backed out changeset 75709d46ba3b (bug 1137037)
2015-03-10 16:43:54 -04:00
Seth Fowler
7b7beb8f9b
Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku
2015-03-10 11:21:45 -07:00
Seth Fowler
f2523e36c7
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
98a3c24c58
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
76dd5cd892
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
72d559a1ae
Bug 1134537 - Only support GIO in Linux's nsIconChannel. r=seth
2015-03-03 23:15:08 -07:00
Alexandre Lissy
c00c1b9f7a
Bug 1039834 - Fix PNG suite reftest on mulet. r=dbaron
2015-03-04 10:12:00 +01:00
Seth Fowler
806bf8517e
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
e439c7bb7b
Bug 1135977 (Part 2) - Use threadsafe refcounting for ProxyListener. r=baku
2015-03-04 22:18:12 -08:00
Seth Fowler
3111b2afdd
Bug 1135977 (Part 1) - Use modern Mozilla style for refcounting in imgLoader. r=baku
2015-03-04 22:18:09 -08:00
Anish
4063a569ed
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
2c4f63331f
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
a7d78c82c0
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
f6d8102e81
Bug 1132081 - Speed up ConvertHostARGBRow() in the PNG encoder. r=jmuizelaar
...
--HG--
extra : rebase_source : e76aa8eca8a38a36e347bf6d055c861cadad3e87
2015-02-21 05:54:00 +01:00
Carsten Book
c75e024640
Bug 944353 - crashtest.
2015-02-22 02:41:58 +00:00
Anish
45de248a8b
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
c0d53e2918
Backed out changeset 6885e993936a (bug 1056851) for crashtest failures
2015-02-19 15:02:05 +01:00
Anish
e7006d8a59
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
d658bd2d70
Bug 1132427. Add test.
2015-02-17 19:26:52 -06:00
Matt Woodrow
6d2248d49b
Bug 1133356 - Expand macro in OnImageAvailable to avoid checking NotificationsDeferred. r=roc
2015-02-17 10:15:04 +13:00
Timothy Nikkel
789cc27436
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
532caaa0a1
Bug 1117337 - Properly serialize moz-icon URIs. r=bent
2015-02-12 15:41:21 -08:00
Blake Kaplan
a50bed555a
Bug 1117337 - Make icon URIs constructable via XPCOM. r=seth
...
--HG--
rename : image/decoders/icon/nsIIconURI.idl => image/public/nsIIconURI.idl
2015-02-12 15:41:21 -08:00
Jeff Muizelaar
a1c7482bc4
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.
--HG--
extra : rebase_source : 7233c03e9e4fd0987f3e7c12d5d0e27520ebddae
2015-02-10 13:26:14 +08:00
Chris Peterson
a3a9cf2dc4
Bug 1118076 - Remove obsolete comment about #including Attributes.h for MOZ_THIS_IN_INITIALIZER_LIST. DONTBUILD r=seth
...
--HG--
extra : rebase_source : 75226720f08d50d7aa05e54d61ffaff3250de324
extra : amend_source : ee16e00e9084092d6f4e88c02b6a76e955605213
2015-02-10 19:03:04 -08:00
Seth Fowler
5f989a0979
Bug 1130707 (Followup) - Add missing return statement. r=me
2015-02-10 14:28:14 -08:00
Seth Fowler
d8f09bcf8d
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
6c75ef4d11
Bug 1130707 - Make decode-on-draw-only image notifications more robust. r=tn
2015-02-09 23:50:30 -08:00
Seth Fowler
c582df8664
Bug 1128769 (Part 6) - Remove imgIContainer::IsDecoded and all remaining callers. r=tn
2015-02-09 23:27:40 -08:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Seth Fowler
1ba56787b2
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
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nathan Froyd
e54d2ebfac
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
6600d3ff6a
Bug 1120144 - Disable test_bug641198.html until it can be rewritten. r=me
...
--HG--
extra : rebase_source : 204ab661ec2bccc52aa82a00b912d9914f039560
2015-02-05 18:03:19 -08:00
Seth Fowler
010594b8f6
Bug 1124610 - Call PostHasTransparency for corrupt images that we treat as usable. r=jrmuizel
2015-02-05 14:42:38 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Seth Fowler
9da642763f
Bug 1129818 - Don't call back into DecodePool from NotifyDecodeCompleteWorker. r=tn
...
--HG--
extra : rebase_source : 9e5de2e205620aed955aedd0b5c27f968976fce1
2015-02-05 02:49:08 -08:00
Seth Fowler
a79546917f
Bug 1128225 (Part 1) - Return a result enumeration from imgIContainer::Draw. r=tn
2015-02-04 13:50:56 -08:00
Seth Fowler
8e4618102e
Bug 1126490 (Part 2) - Recover from loss of surfaces in VectorImage. r=dholbert
2015-02-03 16:38:39 -08:00
Seth Fowler
ad05bb5909
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
1b10c9d731
Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo
2015-02-03 18:52:36 +02:00
Seth Fowler
8c97bc6222
Bug 1128223 (Part 4) - Remove DecodeStrategy and WantDecodedFrames. r=tn
2015-02-02 21:40:35 -08:00
Seth Fowler
93452dd653
Bug 1128223 (Part 3) - Add FLAG_ASYNC_NOTIFY. r=tn
2015-02-02 21:40:35 -08:00
Seth Fowler
950ffe6d15
Bug 1128223 (Part 2) - Add FLAG_SYNC_DECODE_IF_FAST. r=tn
2015-02-02 21:40:35 -08:00
Seth Fowler
6e474f2af0
Bug 1128223 (Part 1) - Clean up existing image flags. r=tn
2015-02-02 21:40:35 -08:00
Mike Hommey
a35dbaeebf
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
...
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Seth Fowler
ced6a1cb4c
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
8c19aff332
Backed out changeset e5c85f765f2d (bug 1126739) for bc2 test failures on a CLOSED TREE
2015-01-29 10:42:16 +01:00
Seth Fowler
65e4a121b7
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
594a776fc1
Bug 1126146 - Disable the single-color optimization in reftests. r=tn
2015-01-27 17:43:21 -08:00
Carsten "Tomcat" Book
7516f99824
Backed out changeset bbd77af91d82 (bug 1125490) for reftests failures on a CLOSED TREE
2015-01-27 11:16:28 +01:00
Seth Fowler
bec02510c0
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
407444f3a3
Bug 1126038 - Finish decoding off-main-thread. r=tn
2015-01-26 22:53:20 -08:00
Ehsan Akhgari
0df9e93aa4
Bug 1125180 - Mark some functions in image as override; r=jrmuizel
2015-01-26 08:49:26 -05:00