Mike Hommey
e91179eda5
Bug 1344038
- Remove --enable-gnomeui. r=karlt
...
--HG--
extra : rebase_source : 562519f2f6727750afe7d4a8503b41e722222d7d
2017-03-08 15:35:53 +09:00
Mike Hommey
94c16743bb
Bug 1344038
- Remove --disable-gio. r=karlt
...
--HG--
extra : rebase_source : 3b5b820536b0e9b1fb1da3a16c444ed7839770b9
2017-04-05 14:06:25 +09:00
Iris Hsiao
15a34cacd2
Backed out 3 changesets (bug 1344038
) for bustage
...
Backed out changeset 4befea89d81b (bug 1344038
)
Backed out changeset c859506b2e4e (bug 1344038
)
Backed out changeset 5d28a6382285 (bug 1344038
)
--HG--
rename : netwerk/protocol/gio/moz.build => extensions/gio/moz.build
rename : netwerk/protocol/gio/nsGIOProtocolHandler.cpp => extensions/gio/nsGIOProtocolHandler.cpp
2017-04-06 10:35:56 +08:00
Mike Hommey
a96508cc4d
Bug 1344038
- Remove --enable-gnomeui. r=karlt
...
--HG--
extra : rebase_source : cf3cd5795af68fd08ee1e1f0d7b89a67d453fa87
2017-03-08 15:35:53 +09:00
Mike Hommey
0543a25916
Bug 1344038
- Remove --disable-gio. r=karlt
...
--HG--
extra : rebase_source : b380d5ebfc3689a9d8d4e3825c83028f837838f2
2017-04-05 14:06:25 +09:00
Timothy Nikkel
0e7000fdce
Bug 1352282. Always fill in the number of loops when decoding an APNG file. r=aosmond
...
If we were doing a first frame only decode we wouldn't fill in this value. The spec says this chunk must come before any image data so it should always be available at the end of any full decode (whether it be truly full or first frame only).
2017-04-05 11:28:40 -05:00
Brendan Dahl
a1f2e12af8
Bug 1338004 - Add headless browser mode. r=jrmuizel, r=ted
...
Supports creating a windowless browser on Linux without an X server. Most of the
changes are just adding branches to avoid calls in to GTK which calls
into X. Some of the bigger additions were adding a separate headless widget
which implements just enough to render a page. A headless look and
feel were also added since there are many calls into GTK in the platform
specific one.
2017-04-04 10:22:00 -04:00
Makoto Kato
f3c1c49239
Bug 1348177 - Part 1. Remove GetProcAddress for shell32 to use Vista+ API (image part). r=jimm,tnikkel
...
Since we drop XP support, it is unnecessary to use SHGetStockIconInfo via LoadLibrary.
MozReview-Commit-ID: 4lvhVObHv5U
--HG--
extra : rebase_source : 04ac6f97e6a3eff7c52e11e3868da0939efd6ffe
2017-03-17 13:26:57 +09:00
Andrew Osmond
449b1552c1
Bug 1343499 - Expose native image sizes to imagelib users. r=tnikkel
2017-03-22 09:05:36 -04:00
Andrew Osmond
c21c5cb4c8
Backed out changeset 619b5b27ce87 (bug 1343499) for CLOSED TREE build bustage r=backout
2017-03-22 11:04:30 -04:00
Andrew Osmond
a60b290b56
Bug 1343499 - Expose native image sizes to imagelib users. r=tnikkel
2017-03-22 09:05:36 -04:00
Andrew Osmond
9f71f348c1
Backed out changeset 0b797601dc36 (bug 1343499) for build bustages. r=backout
2017-03-22 09:19:05 -04:00
Andrew Osmond
cbf46adaef
Bug 1343499 - Expose native image sizes to imagelib users. r=tnikkel
2017-03-22 09:05:36 -04:00
Andrea Marchesini
1fd1bc3935
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
...
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Vedant Sareen
7d4bd52fae
Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter
...
Changed |print("enum ID : uint32_t {", file=output)| to |print("enum HistogramID : uint32_t {", file=output)| at line 53 of the file |toolkit/components/telemetry/gen-histogram-enum.py|, and then replaced all the textual occurrences of |Telemetry::ID| to |Telemetry::HistogramID| and |ID| to |HistogramID| in 43 other files.
2017-02-16 00:45:15 +05:30
Wes Kocher
017c515285
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
Andrew Osmond
4f8eb1363e
Bug 1339202 - Decode images to shared surfaces for WebRender. r=tnikkel
2017-02-08 15:48:59 -05:00
Sylvestre Ledru
a54302b9d6
Bug 1338086 - Remove useless else blocks in order to reduce complexity image/ r=dholbert
...
MozReview-Commit-ID: 8qUQk8w0QSk
--HG--
extra : rebase_source : c7451383027a14144490d2a8d2639f73cead1a5c
2017-02-10 13:52:27 +01:00
Phil Ringnalda
c7b01ecbda
Backed out 5 changesets (bug 1290292, bug 1290293) for gfx assertions
...
CLOSED TREE
Backed out changeset 652c909b75ad (bug 1290293)
Backed out changeset 90a284ea19e3 (bug 1290292)
Backed out changeset 8401d12fe936 (bug 1290293)
Backed out changeset d87488b69c18 (bug 1290293)
Backed out changeset 7368aa665fae (bug 1290293)
2017-02-13 19:28:45 -08:00
Andrew Osmond
42d8ee76ab
Bug 1290293 - Part 2f. Assert there is no frame on the finish decoding error path. r=tnikkel
2017-02-10 08:33:11 -05:00
Andrew Osmond
e7ce25346c
Bug 1290293 - Part 2c. Make nsGIFDecoder2 use B8G8R8X8 only for unpaletted frames. r=tnikkel
2016-11-03 10:32:21 -04:00
Andrew Osmond
6679005d2a
Bug 1290293 - Part 2e. Make SurfacePipe users clear unwritten pixels if the image is truncated. r=tnikkel
2016-08-18 09:55:45 -04:00
Andrew Osmond
f6a09f3997
Bug 1290293 - Part 2d. Make nsJPEGDecoder clear unwritten pixels if the image is truncated. r=tnikkel
2016-08-18 09:55:45 -04:00
Andrew Osmond
bd54fc7365
Bug 1290293 - Part 2b. Make nsBMPDecoder explicitly write transparent pixels for those skipped by delta encoding. r=tnikkel
2017-02-13 19:51:40 -05:00
Sebastian Hengst
3ce82bcd4f
Backed out changeset 45dd83a63162 (bug 1339202) for crashing in image processing related tests, e.g. xpcshell test test_imgtools.js. r=backout
2017-02-13 22:34:54 +01:00
Andrew Osmond
1683b602b4
Bug 1339202 - Decode images to shared surfaces for WebRender. r=tnikkel
2017-02-08 15:48:59 -05:00
Patrick McManus
d986482512
Bug 1333142 - audit asyncopen2 impls for callback release on failure r=dragana
2017-02-08 12:55:15 -05:00
Andrew Osmond
ca5d0ac0fd
Bug 1290293 - Part 2a. Make nsPNGDecoder clear on which surface format is being used. r=tnikkel
2016-08-18 09:55:45 -04:00
Masatoshi Kimura
0c6dc2ea73
Bug 1323683 - Fold nsIURIWithQuery into nsIURI. r=valentin.gosu
...
MozReview-Commit-ID: BFfgr42sNyx
--HG--
extra : rebase_source : a28d6a3c96f0c86dd7269147f130b3195b1f1faf
2016-12-28 20:40:21 +09:00
Martin Husemann
6a9a8c76b3
Bug 1322112. Use memcpy() instead of dereferencing a casted pointer where the cast would increase alignement requirements on some architectures in nsIconDecoder. r=tnikkel
2016-12-08 14:10:58 -06:00
Andrew Osmond
f944648035
Bug 1315863 - Use PNG_MAXIMUM_INFLATE_WINDOW to ensure maximum compatibility with existing images. r=glennrp
2016-11-16 15:21:33 -05:00
Andrew Osmond
65f399d680
Bug 1315443 - Use the embedded BMPs BPP over the ICOs BPP when available. r=tnikkel
2016-11-16 09:57:35 -05:00
Ehsan Akhgari
ba68896bf9
Bug 1311246 - Remove support for the -moz-samplesize media fragment; r=jrmuizel
...
This removes the feature added in bug 854795 for Tarako b2g devices.
2016-11-16 08:18:56 -05:00
Andrew Osmond
cff4a19210
Bug 1311779 - Part 1. Ensure JPEG and BMP image decoders use B8G8R8X8 surfaces when possible. r=tnikkel
2016-10-20 14:43:26 -04:00
Andrew Osmond
54d6f7e0c4
Bug 1258741 - Part 1. Remove dead/unused image decoder aborted flag. r=tnikkel
2016-09-21 07:13:08 -04:00
Andrew Osmond
1286146b81
Bug 1303427 - Continue parsing buffered LZW codes in GIFs even if input stream is complete. r=tn
2016-09-19 09:16:28 -04:00
Nicholas Nethercote
3ac8aee67f
Bug 1297300 - Add missing checks to GetSpec() calls in image/. r=tnikkel.
2016-08-29 15:34:32 +10:00
Glenn Randers-Pehrson
d0f907ce9b
Bug 1297907 - Wrap long lines in nsPNGDecoder.cpp. r=tn
...
--HG--
extra : rebase_source : 01aba31d91a42a3afe30ea2ddc21118ae779ef79
2016-09-07 09:03:00 -04:00
Nicholas Nethercote
34dcc7b852
Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
...
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.
In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.
> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.
> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");
This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
be true" sense used in assertions.
A common variation on the side-effect-free case is the following.
> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");
--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Glenn Randers-Pehrson
7cd996e732
Bug 1295671 - Detect use of system libpng in nsPNGDecoder.cpp. r=tn
...
--HG--
extra : histedit_source : d6ce06bff319953f2abfa9b3d3acad3386b0a654
2016-08-27 01:23:00 -04:00
Dragana Damjanovic
67635a6600
Bug 1295636 - SetHostPort should reset the port if the host parameter does not have a port number. r=valentin, r=smaug
...
--HG--
extra : rebase_source : 2e63afd5708c55810206f9bc47b6f078a0824400
2016-08-17 23:25:00 -04:00
Seth Fowler
e527c3b511
Bug 1295506 - Don't yield hidden frames in the PNG decoder. r=edwin
2016-08-17 22:19:42 -07:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Glenn Randers-Pehrson
dc0ab41166
Bug 1288588 - Exit on bad CRC in fcTL or fdAT chunk in an APNG file. r=jrmuizel
2016-08-12 21:31:31 -04:00
Seth Fowler
98a9fd7db6
Bug 1291071 (Part 4) - Clean up Decoder::SpeedHistogram() and related code. r=edwin
2016-08-05 18:50:29 -07:00
Seth Fowler
19dc4aba32
Bug 1292505 (Part 2) - Remove remaining references to Downscaler in the SurfacePipe decoders. r=edwin
2016-08-05 13:44:52 -07:00
Seth Fowler
6a44833af8
Bug 1292505 (Part 1c) - Use ExplicitOutputSize() instead of Downscaler::TargetSize() in nsICODecoder. r=edwin
2016-08-05 13:44:48 -07:00
Igor
4efade90d4
Bug 1197331 - remove PR_snprintf calls in miscellaneous directories. r=nfroyd
...
--HG--
extra : rebase_source : a19f77db06e68bd3d69faf56b8bbdc1825f13249
2016-08-04 16:41:00 +02:00
Glenn Randers-Pehrson
a5af07b18b
Bug 1240665 - Log all error returns from the PNG decoder. r=tnikkel
...
--HG--
extra : rebase_source : 373eef390fe03a2559e336539ddc6a546d6ec2d7
2016-07-29 05:11:00 +02:00