Граф коммитов

1666 Коммитов

Автор SHA1 Сообщение Дата
Glenn Randers-Pehrson e2552625e5 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 f530a7a9e8 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 9dac554373 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 34d6cb6f43 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 d308a1d6f2 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 c051fd5cb8 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 24a2dbfc20 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 a3894be4f5 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 f4222bd0f8 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 e68838c027 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 0f2f7f769e 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 aea7db954d 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 a2da6fa1e6 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 a55743d056 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 6cfbead9f0 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 d07fc48566 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 e7d0cccef2 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 c65555f59b 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 ae3f008388 Bug 1150127 - Stop leaking windows via imgCacheValidator. r=baku
CLOSED TREE
2015-04-07 13:02:02 -04:00
Ryan VanderMeulen b9ff11e8b7 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 22c7c55031 Bug 1150127 - Stop leaking windows via imgCacheValidator. r=baku 2015-04-06 19:34:00 -07:00
Nicolas Silva 0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Glenn Randers-Pehrson c43f439843 Bug 1147909 - Part 2 - (nsPNGDecoder) Update embedded libpng to version 1.6.17. r=jmuizelaar
--HG--
extra : rebase_source : 98295e9675e10890c68f93e39202c0c410ec6b35
2015-03-28 11:07:00 +01:00
Mats Palmgren eb4243e0c6 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 4c7234747e 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 b077d9624d 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 c39e359c7d 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 f479f50502 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 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