Commit Graph

1509 Commits

Author SHA1 Message Date
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
Seth Fowler
60a5ebe691 Bug 1119774 (Part 5) - Add SurfaceCache::LookupBestMatch. r=dholbert 2015-01-18 14:02:14 -08:00
Seth Fowler
dffeb1d653 Bug 1119774 (Part 4) - Add an optional alternate flags parameter to SurfaceCache::Lookup. r=dholbert 2015-01-18 14:02:13 -08:00
Seth Fowler
8d8d04bc45 Bug 1119774 (Part 3) - Make it possible to propagate a target size to the decoder. r=tn 2015-01-18 14:02:13 -08:00
Seth Fowler
7c085cf575 Bug 1119774 (Part 2) - Add RequestDecodeForSize to imgIContainer. r=tn 2015-01-18 14:02:13 -08:00
Seth Fowler
ed060fc79e Bug 1119774 (Part 1) - Add a pref and Image init flag for downscale-during-decode. r=tn 2015-01-18 14:02:13 -08:00