Gijs Kruitbosch
1aa68e8c0f
Bug 1173214, r=seth,bz
...
--HG--
extra : commitid : 4vG71pjrBIY
2015-08-26 10:24:04 +01:00
Seth Fowler
3460e34af9
Bug 1194900 - Stop deciding when to send invalidations in nsPNGDecoder and let Decoder handle it. r=tn
2015-08-24 19:49:36 -07:00
Glenn Randers-Pehrson
feec7ca127
Bug 1187569
- PNGs getting stuck in a pixelated state. r=seth
...
--HG--
extra : amend_source : 9efb698c7535f8817618da390c6316e86306a735
2015-08-20 14:17:10 -07:00
Michael Layzell
945c9a35f4
Bug 1195415 - Add asciiHostPort field to nsIURI, and use it in the implementation of nsPrincipal::GetOriginForURI, r=bholley
2015-08-18 14:52:24 -04:00
Seth Fowler
f89ca1d90f
Bug 1185800 - Add DecoderFlags and SurfaceFlags enum classes and use them instead of imgIContainer flags in all decoder-related code. r=tn
2015-08-14 17:56:44 -07:00
Seth Fowler
7e909725b3
Bug 1194059 (Part 2) - Always detect IS_ANIMATED during the metadata decode. r=tn
2015-08-14 00:37:13 -07:00
Christoph Kerschbaumer
a2927d618d
Bug 1193924 - Add assertion to AsyncOpen to make sure asyncOpen2() was called first when securityflags in loadInfo are set (r=sicking)
2015-08-12 21:36:33 -07:00
Ryan VanderMeulen
ec552557f5
Backed out changeset f99b27e40987 (bug 1193924) for B2G emulator bustage.
...
CLOSED TREE
2015-08-13 12:45:05 -04:00
Christoph Kerschbaumer
ecdc701ca0
Bug 1193924 - Add assertion to AsyncOpen to make sure asyncOpen2() was called first when securityflags in loadInfo are set (r=sicking)
2015-08-12 21:36:33 -07:00
Seth Fowler
c012dc0aa9
Bug 1191114 (Part 1) - Always detect HAS_TRANSPARENCY during the metadata decode. r=tn
...
--HG--
extra : rebase_source : 97c8568f33abd1f2a8d9ef5679ce3ac904f0758f
2015-08-12 10:41:02 -07:00
Seth Fowler
c0f83249c8
Bug 1191090 - Use the normal PNG decoder for PNG metadata decodes. r=tn
...
--HG--
extra : rebase_source : c0d1f9f8e376cbe4ebf1921d3e1edf85234e8f7b
2015-08-10 15:34:27 -07:00
Seth Fowler
c17342d0b4
Bug 1187546 - Make it possible to ask image decoders to only decode the first frame. r=tn
2015-07-31 18:10:23 -07:00
Seth Fowler
947de7376b
Bug 1187386 (Part 2) - Rework decoder code to avoid calling Decode::GetImage(). r=tn
...
--HG--
extra : rebase_source : 6fc835a3468e846cb59474efcfea5355914a9dc4
2015-07-31 07:29:03 -07:00
Seth Fowler
5a46946f86
Bug 1187386 (Part 1) - Make most decoder state private. r=tn
...
--HG--
extra : rebase_source : 0d9179626707ac70e772ed3d768ce4d802a144be
2015-07-31 07:29:00 -07:00
Wes Kocher
84dc3c46ed
Backed out changesets f6d75433812f,7864cbaa9e5d (bug 1173214) for reftest failures CLOSED TREE
...
--HG--
extra : amend_source : ca7728a234390116922c2390f748afcc87f6a082
extra : histedit_source : 7864cbaa9e5d105f4c758025ccbe51317f35b108%2C00b8364cdec6b60907bd71508c092df02878a834
2015-07-28 15:20:25 -07:00
Gijs Kruitbosch
c02e9dd583
Bug 1173214. Be a little more more careful with moz-icon URIs. r=bzbarsky
2015-07-16 15:24:51 +01:00
Seth Fowler
88affc4d10
Bug 1184996 (Part 4) - Forbid instantiation of decoders except via DecoderFactory. r=tn
2015-07-22 22:39:56 -07:00
Seth Fowler
1732630df1
Bug 1184996 (Part 3) - Replace all remaining references to 'size decodes' with 'metadata decodes'. r=tn
2015-07-22 22:39:54 -07:00
Seth Fowler
2697700b81
Bug 1186112 - Get rid of the #define'd constants in BMPFileHeaders.h. r=tn
...
--HG--
extra : rebase_source : f9b19180e1a09adff4695a50eb65612f337392f3
2015-07-22 15:49:49 -07:00
Christoph Kerschbaumer
2ddb4064ec
Bug 1143922 - Add AsyncOpen2 to nsIChannel and perform security checks when opening a channel - channel changes (r=mcmanus,sicking)
2015-05-15 13:21:20 -07:00
Seth Fowler
d564a3b0a5
Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn
2015-07-10 19:26:15 -07:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Eric Rahm
75c4bebb79
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Carsten "Tomcat" Book
5471309381
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher
4e9f80ed2e
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Glenn Randers-Pehrson
3bcffa9215
Bug 1151166 - Fix two Coverity warnings in nsPNGDecoder.cpp. r=jrmuizel
2015-05-26 05:48:00 -04:00
Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Birunthan Mohanathas
db2ca75447
Bug 1038536 - Flatten image/src/ directory. r=seth
...
--HG--
rename : image/src/BMPFileHeaders.h => image/BMPFileHeaders.h
rename : image/src/ClippedImage.cpp => image/ClippedImage.cpp
rename : image/src/ClippedImage.h => image/ClippedImage.h
rename : image/src/DecodePool.cpp => image/DecodePool.cpp
rename : image/src/DecodePool.h => image/DecodePool.h
rename : image/src/Decoder.cpp => image/Decoder.cpp
rename : image/src/Decoder.h => image/Decoder.h
rename : image/src/Downscaler.cpp => image/Downscaler.cpp
rename : image/src/Downscaler.h => image/Downscaler.h
rename : image/src/DynamicImage.cpp => image/DynamicImage.cpp
rename : image/src/DynamicImage.h => image/DynamicImage.h
rename : image/src/FrameAnimator.cpp => image/FrameAnimator.cpp
rename : image/src/FrameAnimator.h => image/FrameAnimator.h
rename : image/src/FrozenImage.cpp => image/FrozenImage.cpp
rename : image/src/FrozenImage.h => image/FrozenImage.h
rename : image/src/ICOFileHeaders.h => image/ICOFileHeaders.h
rename : image/src/IProgressObserver.h => image/IProgressObserver.h
rename : image/src/Image.cpp => image/Image.cpp
rename : image/src/Image.h => image/Image.h
rename : image/src/ImageFactory.cpp => image/ImageFactory.cpp
rename : image/src/ImageFactory.h => image/ImageFactory.h
rename : image/src/ImageMetadata.cpp => image/ImageMetadata.cpp
rename : image/src/ImageMetadata.h => image/ImageMetadata.h
rename : image/src/ImageOps.cpp => image/ImageOps.cpp
rename : image/src/ImageOps.h => image/ImageOps.h
rename : image/src/ImageRegion.h => image/ImageRegion.h
rename : image/src/ImageURL.h => image/ImageURL.h
rename : image/src/ImageWrapper.cpp => image/ImageWrapper.cpp
rename : image/src/ImageWrapper.h => image/ImageWrapper.h
rename : image/src/MultipartImage.cpp => image/MultipartImage.cpp
rename : image/src/MultipartImage.h => image/MultipartImage.h
rename : image/src/Orientation.h => image/Orientation.h
rename : image/src/OrientedImage.cpp => image/OrientedImage.cpp
rename : image/src/OrientedImage.h => image/OrientedImage.h
rename : image/src/ProgressTracker.cpp => image/ProgressTracker.cpp
rename : image/src/ProgressTracker.h => image/ProgressTracker.h
rename : image/src/RasterImage.cpp => image/RasterImage.cpp
rename : image/src/RasterImage.h => image/RasterImage.h
rename : image/src/SVGDocumentWrapper.cpp => image/SVGDocumentWrapper.cpp
rename : image/src/SVGDocumentWrapper.h => image/SVGDocumentWrapper.h
rename : image/src/ScriptedNotificationObserver.cpp => image/ScriptedNotificationObserver.cpp
rename : image/src/ScriptedNotificationObserver.h => image/ScriptedNotificationObserver.h
rename : image/src/ShutdownTracker.cpp => image/ShutdownTracker.cpp
rename : image/src/ShutdownTracker.h => image/ShutdownTracker.h
rename : image/src/SourceBuffer.cpp => image/SourceBuffer.cpp
rename : image/src/SourceBuffer.h => image/SourceBuffer.h
rename : image/src/SurfaceCache.cpp => image/SurfaceCache.cpp
rename : image/src/SurfaceCache.h => image/SurfaceCache.h
rename : image/src/VectorImage.cpp => image/VectorImage.cpp
rename : image/src/VectorImage.h => image/VectorImage.h
rename : image/src/imgFrame.cpp => image/imgFrame.cpp
rename : image/src/imgFrame.h => image/imgFrame.h
rename : image/src/imgLoader.cpp => image/imgLoader.cpp
rename : image/src/imgLoader.h => image/imgLoader.h
rename : image/src/imgRequest.cpp => image/imgRequest.cpp
rename : image/src/imgRequest.h => image/imgRequest.h
rename : image/src/imgRequestProxy.cpp => image/imgRequestProxy.cpp
rename : image/src/imgRequestProxy.h => image/imgRequestProxy.h
rename : image/src/imgTools.cpp => image/imgTools.cpp
rename : image/src/imgTools.h => image/imgTools.h
2015-05-14 20:52:05 -07:00
Birunthan Mohanathas
fdb1f2330a
Bug 1038536 - Flatten image/decoders/icon/qt/public/ directory. r=seth
...
--HG--
rename : image/decoders/icon/qt/public/nsGtkQtIconsConverter.idl => image/decoders/icon/qt/nsGtkQtIconsConverter.idl
2015-05-14 20:52:05 -07:00
Seth Fowler
4b06f90027
Bug 1160801 - Treat invalid GIF disposal methods as DisposalMethod::NOT_SPECIFIED. r=jrmuizel
2015-05-14 15:19:39 -07:00
Eric Rahm
ceeb71f5f9
Bug 1162751 - Part 2: Always disable pallete index checking. r=seth
...
The original assumption was that PR_LOGGING wouldn't be enabled in release
builds. Considering that this warning isn't actionable and PR_LOGGING is now
always defined it's better to just always disable pallete index checking.
2015-05-11 13:42:30 -07:00
Eric Rahm
330f80fa92
Bug 1162751 - Part 1: Remove instances of #ifdef PR_LOGGING in image. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-11 13:42:20 -07:00
Seth Fowler
eb02069aa5
Bug 1145560 - During downscale-during-decode, compute the original size invalid rect based on the target size invalid rect. r=tn
2015-05-05 15:35:34 -07:00
Mike Hommey
924c9eb636
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Nathan Froyd
1e6cdad33c
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Wes Kocher
af34e14f2b
Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE
2015-04-14 14:42:59 -07:00
Nathan Froyd
4e3c075424
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Chris Peterson
66b64b4907
Bug 1143994 - Fix some -Wunreachable-code and -Wswitch warnings in imagelib. r=seth
2015-03-16 21:02:15 -07:00
Glenn Randers-Pehrson
0a6edee37c
Bug 1102048 (Part 39, decoders/icon) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-04-06 19:12:00 -07:00
Glenn Randers-Pehrson
7def1c3af9
Bug 1102048 (Part 24, decoders) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-04-05 16:22:00 -07: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
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
Seth Fowler
711b24de92
Bug 1148682 - Handle content length correctly for moz-icon channels. r=tn
2015-03-29 17:47:49 -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
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
Ehsan Akhgari
841639e989
Bug 1140766 - Build more files in image/decoders in unified mode; r=jrmuizel
2015-03-11 21:30:03 -04:00
Alex Henrie
72d559a1ae
Bug 1134537 - Only support GIO in Linux's nsIconChannel. r=seth
2015-03-03 23:15:08 -07: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
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
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
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
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
Masatoshi Kimura
6cc5dabbee
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
be535304d8
Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo
2015-01-26 07:22:07 +09:00
Glenn Randers-Pehrson
05455fdadb
Bug 1117406 - Fix handling of out-of-range PNG tRNS values. r=jmuizelaar
2015-01-24 12:43:49 -05:00
Nathan Froyd
c5c812bd1d
Bug 1124180 - use MOZ_BIG_ENDIAN in nsJPEGDecoder.cpp; r=seth
2015-01-21 09:16:41 -05:00
Seth Fowler
02e46513f6
Bug 1124535 - Check if we have a downscaler before using it in nsJPEGDecoder. r=tn
...
--HG--
extra : rebase_source : 8bcde149c51dc1ab731d7f331a80cf016983c79e
2015-01-21 19:35:47 -08:00
Seth Fowler
89a1c6658e
Bug 1045929 (Part 2) - Implement downscale-during-decode for JPEG images. r=tn
2015-01-20 03:06:37 -08:00
Seth Fowler
a5391a2011
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
66b57f086b
Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn
2015-01-15 15:11:35 -08:00
Ryan VanderMeulen
4064af07f7
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
Carsten "Tomcat" Book
f0998d414e
Backed out changeset 560042809ee7 (bug 1119774)
2015-01-12 15:35:16 +01:00
Carsten "Tomcat" Book
2f468c47a2
Backed out changeset 66a9a3b1aadb (bug 1045929)
2015-01-12 15:35:10 +01:00
Seth Fowler
109e1af6fb
Bug 1045929 (Part 2) - Implement downscale-during-decode for JPEG images. r=tn
2015-01-12 03:24:26 -08:00
Seth Fowler
6f4ee7a17a
Bug 1119774 (Part 5) - Make it possible to pass a target size to Decoder::AllocateFrame. r=tn
2015-01-12 03:24:26 -08:00
Seth Fowler
4689da7699
Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn
2015-01-12 01:20:22 -08:00
Seth Fowler
9fff103bae
Bug 1118092 - Manage invalidation policy directly in the image decoder. r=tn
2015-01-11 22:29:32 -08:00
Tom Schuster
967d0d250a
Backout changeset b4ebefd0f7e3:a8044fd506db Bug 1117607, Bug 1118087, Bug 1118092, Bug 1118105, Bug 1030372, Bug 1079627 on CLOSED TREE
2015-01-11 20:43:32 +01:00
Seth Fowler
c575069c34
Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn
2015-01-11 05:34:20 -08:00
Seth Fowler
bd5a6c7b28
Bug 1118092 - Manage invalidation policy directly in the image decoder. r=tn
2015-01-10 20:47:38 -08:00
Seth Fowler
13ecf8f345
Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn
2015-01-10 18:47:44 -08:00
Wes Kocher
a1bfc06c8c
Backout 17fc30214d84 (bug 1117607) for reftest orange
2015-01-09 18:48:43 -08:00
Seth Fowler
57b28877bf
Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn
2015-01-09 15:02:48 -08:00
Seth Fowler
e723960bef
Bug 1116733 (Part 2) - Remove DecodeStrategy and frame allocation handling outside of Decoder. r=tn
2015-01-08 00:04:31 -08:00
Seth Fowler
2308938365
Bug 1116733 (Part 1) - Allocate frames off-main-thread. r=tn
2015-01-08 00:04:31 -08:00
Seth Fowler
3aabf959b6
Bug 1116735 - Allocate frames in the decoder. r=tn
...
--HG--
extra : rebase_source : df5c3cbe4e8a8ad40e4a7fa04a2c53e1c3bad559
2015-01-08 00:01:25 -08:00
Seth Fowler
f5c7051077
Bug 1116737 - Merge FrameBlender into FrameAnimator. r=tn
...
--HG--
extra : rebase_source : f2021135cf82e35273095f8e96373bcbee304710
2015-01-07 13:07:23 -08:00
Ehsan Akhgari
4d845d4829
Bug 1117248 - Mark virtual overridden functions as MOZ_OVERRIDE in image/; r=jrmuizel
2015-01-03 12:24:49 -05:00
Christoph Kerschbaumer
b3d1653ff6
Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - image/ changes (r=seth)
2014-12-12 09:06:54 -08:00
Phil Ringnalda
f7aea19aae
Backed out 15 changesets (bug 1087442)
...
Backed out changeset 3f4166fb5e37 (bug 1087442)
Backed out changeset 0c9c9123a0a9 (bug 1087442)
Backed out changeset 1d85d298042d (bug 1087442)
Backed out changeset 51f3ce397d68 (bug 1087442)
Backed out changeset f3b81a623692 (bug 1087442)
Backed out changeset 472e8fa74596 (bug 1087442)
Backed out changeset 12f97df7b79c (bug 1087442)
Backed out changeset 253cde88d3c5 (bug 1087442)
Backed out changeset b44f9ebd56cb (bug 1087442)
Backed out changeset 48e412887726 (bug 1087442)
Backed out changeset a2c76343f7a9 (bug 1087442)
Backed out changeset 0b5b07cfef0e (bug 1087442)
Backed out changeset 2931c35342a4 (bug 1087442)
Backed out changeset 681ce9dcad64 (bug 1087442)
Backed out changeset 47c505856954 (bug 1087442)
2014-12-11 21:58:21 -08:00
Christoph Kerschbaumer
3cb88a3412
Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - image/ changes (r=seth)
2014-12-11 20:46:22 -08:00
Seth Fowler
fc5233fbbd
Bug 1060869 (Part 2) - Store the first frame of a RasterImage in the SurfaceCache. r=tn
2014-11-26 13:22:10 -08:00
Carsten "Tomcat" Book
f7bc004ff0
Backed out changeset 0a67a7799022 (bug 1060869)
2014-11-26 11:57:09 +01:00
Seth Fowler
3e7327ec18
Bug 1060869 (Part 2) - Store the first frame of a RasterImage in the SurfaceCache. r=tn
2014-11-26 01:37:56 -08:00
Carsten "Tomcat" Book
299ac96904
Backed out changeset f6989ebe8e1c (bug 1060869)
2014-11-25 14:13:56 +01:00
Seth Fowler
05b62c59d5
Bug 1060869 (Part 2) - Store the first frame of a RasterImage in the SurfaceCache. r=tn
...
--HG--
extra : rebase_source : 3dcbc1258ab36634859c739c8e3c0d464cc52711
2014-11-25 00:10:11 -08:00
Seth Fowler
7bfc5f9689
Bug 1103328 (Part 3) - Fire HAS_TRANSPARENCY in nsIconDecoder. r=tn
2014-11-24 23:42:43 -08:00
Seth Fowler
e116540fe3
Bug 1103328 (Part 2) - Fire HAS_TRANSPARENCY for PNGs with first frame padding. r=tn
2014-11-24 23:42:43 -08:00
Seth Fowler
caa45fe3ec
Bug 1103328 (Part 1) - Fire HAS_TRANSPARENCY for clear disposal methods. r=tn
2014-11-24 23:42:43 -08:00
Seth Fowler
550967dd4b
Bug 1079653 (Part 3) - Make decoders track whether they need to flush data after getting a new frame. r=tn
2014-11-18 12:06:27 -08:00
Seth Fowler
673dd952a5
Bug 1100725 (Part 4) - Assert that we always consume all decoder progress and invalidations. r=tn
2014-11-18 01:48:49 -08:00
Seth Fowler
f79d8bad3b
Bug 1100725 (Part 2) - Consume all the contained decoder's invalidations in nsICODecoder. r=tn
2014-11-18 01:48:48 -08:00
Seth Fowler
5376541aef
Bug 1089880 (Part 1) - Add a HAS_TRANSPARENCY notification to ImageLib. r=tn
2014-11-17 11:16:45 -08:00
Seth Fowler
14f1a742fb
Bug 1098108 (Part 1) - Don't overwrite nsICODecoder's progress with the contained decoder's progress. r=tn
2014-11-14 20:10:48 -08:00
Seth Fowler
03cc795af0
Bug 1097432 (Part 3) - Rename imgStatusTracker to ProgressTracker and ImageStatusDiff to Progress. r=tn
...
--HG--
rename : image/src/imgStatusTracker.cpp => image/src/ProgressTracker.cpp
rename : image/src/imgStatusTracker.h => image/src/ProgressTracker.h
2014-11-14 20:10:47 -08:00
Seth Fowler
d9d70fd0bf
Bug 1089046 (Part 1) - Remove imgDecoderObserver and related code. r=tn
2014-11-14 20:06:19 -08:00
Glenn Randers-Pehrson
af6365f04f
Bug 991149 - Improve image/* source compliance with Mozilla Coding Style. r=seth
2014-11-14 12:59:00 -05:00
Christoph Kerschbaumer
33a07fa544
Bug 1067471 - Add newChannel2 to nsIProtocolHandler that takes a loadinfo as an argument (r=sicking)
2014-10-22 17:16:57 -07:00
Christoph Kerschbaumer
9764bce61f
Bug 1063197 - Callsites of NS_NewInputStreamChannel in /image/ (r=seth)
2014-10-16 11:15:47 -07:00
Glenn Randers-Pehrson
bac1ccd8ee
Bug 1072340 - Clean up PNG codecs in image/encoders,decoders. r=jmuizelaar
...
--HG--
extra : rebase_source : e8789fd34910ae510483034a769e77e70e644198
2014-09-24 17:38:00 -04:00
Christoph Kerschbaumer
0d523437b3
Bug 1073282 - Proxy release of mLoadInfo in cannel dtors (r=jduell)
2014-09-29 08:48:11 -07:00
Seth Fowler
66dd048dda
Back out bug 1057904, bug 1060869, bug 923302 for bustage
...
--HG--
extra : rebase_source : fe24318671f3fd9cccb822c65a9581f09612d8c6
2014-10-01 17:33:49 -07:00
Seth Fowler
e9226a8d8c
Bug 1060869 (Part 2) - Store the first frame of a RasterImage in the SurfaceCache. r=tn
...
--HG--
extra : rebase_source : a342c3212d1ce3dcc69be11517abea3d88cad217
2014-10-01 17:16:41 -07:00
Benoit Girard
26e2c0e96e
Bug 1063084 - BMP with compression can be transparent. r=seth
2014-09-04 16:08:33 -04:00
Anuj Agarwal
960a045946
Bug 1028147 - Privatize public destructor of image::Decoder. r=seth
2014-09-09 19:47:02 -07:00
Ehsan Akhgari
c382f0d21d
Bug 1061047 - Fix some bad implicit constructors in imagelib; r=jrmuizel
2014-09-02 12:20:24 -04:00
Nathan Froyd
4507f5db75
Bug 1058678 - remove unused variable in EXIF.cpp; r=seth
2014-08-26 11:34:56 -04:00
Glenn Randers-Pehrson
0692f931bc
Bug 1021713 - Update in-tree libpng to version 1.6.13. r=jmuizelaar
2014-08-22 07:11:00 -04:00
Jim Chen
3dcbdea53a
Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey
2014-08-26 15:07:59 -04:00
Seth Fowler
0339df9d8d
Bug 1054076 - Make imgFrame reference counted. r=tn
2014-08-22 13:49:54 -07:00
Trevor Saunders
fd5e9d1fcc
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
Birunthan Mohanathas
3e8abfd2e8
Bug 1049997
- Separate statements declaring multiple pointers into separate statements. r=froydnj
2014-08-08 07:04:45 -07:00
Nathan Froyd
12c76f15f7
Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium
2014-07-24 11:55:33 -04:00
Mike Hommey
622bf09730
Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal
2014-07-23 08:39:56 +09:00
Mike Hommey
bc5d6801bb
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Walter Litwinczyk
8fa1484f79
Bug 1024226 - Fix leak of |buf| in nsIconChannel.cpp. r=jrmuizel
2014-07-17 10:51:50 -07:00
Tom Schuster
eeed6749e0
Bug 1041311 - Fix Qt compilation. r=romaxa
2014-07-20 12:55:00 -04:00
Ehsan Akhgari
479c536484
Bug 1039838 - Give the Windows nsIconChannel a private destructor; r=bjacob
...
--HG--
extra : rebase_source : 6481a2f0b48496a1f36937ec266bfec0e1161105
2014-07-17 16:41:41 -04:00
Boris Zbarsky
2d81966ba3
Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus
2014-07-10 02:56:36 -04:00
Benoit Jacob
9b83c2d49b
Bug 1028588 - Fix dangerous public destructors of Mac-specific reference-counted classes - r=mstange
2014-07-06 11:25:31 -04:00
Walter Litwinczyk
28f18d3f1c
Bug 1024803 - Added comments and asserts to nsBMPDecoder to make it clearer that an overflow is not possible. r=milan
2014-07-03 09:56:11 -07:00
Benoit Jacob
9a1a886bf7
Bug 1028588 - Fix dangerous public destructors in image/ - r=jrmuizel
2014-06-23 14:49:08 -04:00
Milan Sreckovic
4458de2641
Bug 1027093 - Rename int32_t mCurrentFrame in nsGIFDecoder2 to avoid mixups with parent class' imgFrame* mCurrentFrame. r=jmuizelaar
2014-06-18 10:54:59 -04:00
Birunthan Mohanathas
bc0233fe47
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Michael Wu
9e075daedc
Bug 994081 - [2/3] Convert imgFrame to SourceSurfaces, r=seth
2014-04-19 21:28:38 -04:00
Robert O'Callahan
cbb8fdebfc
Bug 1015664
. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Neil Rashbrook
ef8d375d0b
Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
Relading with correct bug number so DONTBUILD.
--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
7ed88d413a
Backout 8b8bbe7aa1cc due to wrong bug number
2014-05-27 14:42:13 +03:00
Neil Rashbrook
71828ecc1c
Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
952b834c76
Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
a5ab25c973
Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...)
. r=ehsan
2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Glenn Randers-Pehrson
0f9ec1bc43
Bug 987625 - Conditionally define MOZ_PNG_MAX_DIMENSION. r=jrmuizel
2014-04-01 09:14:14 -04:00
Ryan VanderMeulen
3d4a3285e3
Bug 980488 - Remove duplicate MOZ_PNG_MAX_DIMENSION definition in nsPNGDecoder.cpp.
...
CLOSED TREE
2014-03-24 17:14:10 -04:00
Nathan Froyd
8ab9329761
Bug 976566 - use Endian.h for image decoders; r=seth
2014-02-25 06:23:05 -05:00
Jeff Muizelaar
10643c16e5
Bug 854795. Add support for -moz-samplesize. r=seth
...
-moz-samplesize allows decoding at a lower resolution.
This is valuable for saving memory when we know that
we don't need a large version of the image.
--HG--
extra : rebase_source : 0373c23bd4a8b5963329ea1ccf13f075c1264909
2014-02-28 16:43:14 -05:00
Oleg Romashin
5b8bccef6f
Bug 974335 - Refactor Qt Widget Backend implementation. Qt Only changes NPDB. r=romaxa
...
--HG--
rename : dom/system/unix/Makefile.in => dom/system/qt/Makefile.in
rename : dom/system/unix/QTMLocationProvider.cpp => dom/system/qt/QTMLocationProvider.cpp
rename : dom/system/unix/QTMLocationProvider.h => dom/system/qt/QTMLocationProvider.h
rename : dom/system/unix/nsHapticFeedback.cpp => dom/system/qt/QtHapticFeedback.cpp
rename : dom/system/unix/nsHapticFeedback.h => dom/system/qt/QtHapticFeedback.h
rename : dom/system/unix/moz.build => dom/system/qt/moz.build
2014-02-20 18:09:02 -08:00
Masatoshi Kimura
8ddf7de8a5
Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc
2014-02-18 07:32:52 +09:00