Commit Graph

1054 Commits

Author SHA1 Message Date
Seth Fowler
679d31537c Bug 1126146 - Disable the single-color optimization in reftests. r=tn 2015-01-27 17:43: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
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
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
Xidorn Quan
85b7361ce5 Bug 1124029 - Fix 64bit shift warning in imgFrame. r=tn 2015-01-23 08:29:36 +11: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
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
Seth Fowler
29a704eea3 Bug 1119158 - Retarget OnDataAvailable to a new I/O thread instead of the image decoding thread pool. r=sworkman 2015-01-18 01:27:16 -08:00
Seth Fowler
766fe0f845 Bug 1118694 - Always retarget OnDataAvailable for RasterImage. r=sworkman 2015-01-17 13:18:26 -08:00
Seth Fowler
af143b10fe Bug 985193 - Stop holding a strong reference to RasterImage's ImageContainer. r=mattwoodrow 2015-01-16 14:11:23 -08:00
Seth Fowler
fcd9052ef8 Bug 1120271 - Add compacting support for SourceBuffer. r=tn 2015-01-15 20:28:38 -08:00
Seth Fowler
0ac39350bf Bug 1079627 (Part 6) - Lock the image during decoding. r=tn 2015-01-15 15:11:36 -08:00
Seth Fowler
c6ef9bdbfb Bug 1079627 (Part 5) - Allow recursive notifications in NotifyProgress. r=tn 2015-01-15 15:11:36 -08:00
Seth Fowler
25cd258d64 Bug 1079627 (Part 4) - Support multiple decoders in the presence of frame preallocation. r=tn 2015-01-15 15:11:36 -08:00
Seth Fowler
59329b9aa6 Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-15 15:11:36 -08:00
Seth Fowler
f245e814b3 Bug 1079627 (Part 2) - Add SourceBuffer. r=tn 2015-01-15 15:11:35 -08:00
Seth Fowler
a32f8c729a Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn 2015-01-15 15:11:35 -08:00
Ehsan Akhgari
a43b88b0eb Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
Wes Kocher
c78183d68d Backout c034dba7a417 2015-01-12 14:46:48 -08:00
Ehsan Akhgari
2696a40dc5 Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 16:35:06 -05:00
Ryan VanderMeulen
2a163a5532 Backed out 5 changesets (bug 1079627) for causing B2G crashes on a CLOSED TREE.
Backed out changeset e8ddeaeb82ee (bug 1079627)
Backed out changeset 14cc155b0d6e (bug 1079627)
Backed out changeset e7add8446221 (bug 1079627)
Backed out changeset 44b622a479b6 (bug 1079627)
Backed out changeset c86c43915254 (bug 1079627)

--HG--
extra : rebase_source : bdb8d9fa39e8745127ccc635b6d7d65cf6af170c
2015-01-12 13:17:52 -05:00
Ryan VanderMeulen
9b0514c98b Backed out 2 changesets (bug 1119158, bug 1118694) for B2G Nuwa test failures on a CLOSED TREE.
Backed out changeset a15929ba55cd (bug 1119158)
Backed out changeset 0b1b75d692bf (bug 1118694)
2015-01-12 12:07:13 -05:00
Carsten "Tomcat" Book
57a2dc001b Backed out changeset c65de66fe0aa (bug 1119774) since this needs to be backedout too otherwise you will have a bustage or so :) on a CLOSED TREE 2015-01-12 15:36:36 +01:00
Carsten "Tomcat" Book
3ada65bf37 Backed out changeset 0257e0be8c42 (bug 1119774) 2015-01-12 15:35:21 +01:00
Carsten "Tomcat" Book
e50e5a7174 Backed out changeset 9e9c62f86ca3 (bug 1119774) 2015-01-12 15:35:19 +01:00
Carsten "Tomcat" Book
e382541aa1 Backed out changeset 02d04afc91b5 (bug 1119774) 2015-01-12 15:35:17 +01:00
Carsten "Tomcat" Book
aaa6ff9286 Backed out changeset 560042809ee7 (bug 1119774) 2015-01-12 15:35:16 +01:00
Carsten "Tomcat" Book
e4c64ede7a Backed out changeset 2eefd792306d (bug 1118655) 2015-01-12 15:35:14 +01:00
Carsten "Tomcat" Book
241b7b9e7e Backed out changeset 9e4626f6062b (bug 1045929) 2015-01-12 15:35:12 +01:00
Carsten "Tomcat" Book
24e92eafad Backed out changeset 66a9a3b1aadb (bug 1045929) 2015-01-12 15:35:10 +01:00
Seth Fowler
ce229c0571 Bug 1079627 (Followup) - Switch to fallible allocator in SourceBuffer and disable GIF webcam test. r=me 2015-01-12 04:22:01 -08:00