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

72 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Seth Fowler 3cca5ff418 Bug 1291054 (Part 3) - Rename Decoder::GetSize() to Decoder::Size() to be consistent with the style guide. r=edwin 2016-08-02 04:10:51 -07:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Seth Fowler 666fc943cb Bug 1287367 - Allow users of StreamingLexer to detect and handle truncation. r=njn 2016-07-18 23:41:20 -07:00
Seth Fowler b4d3a89f33 Bug 1287246 (Part 5) - Add GTests for StreamingLexer's support for yielding. r=njn 2016-07-18 01:25:45 -07:00
Seth Fowler fabd6521fe Bug 1287246 (Part 4) - Make the data checking in TestStreamingLexer more discerning. r=njn 2016-07-18 01:25:43 -07:00
Seth Fowler 938a963f7f Bug 1287246 (Part 1) - Expose LexerResult from the StreamingLexer API and add an explicit Yield type. r=njn 2016-07-18 01:25:37 -07:00
Seth Fowler 342a16f1a3 Bug 1284031 (Part 3) - Remove the FromSourceBuffer suffix from StreamingLexer test names. r=njn 2016-07-16 00:37:06 -07:00
Seth Fowler 71a5e7a304 Bug 1284031 (Part 2) - Add new StreamingLexer tests for zero-length states. r=njn 2016-07-16 00:37:04 -07:00
Seth Fowler 269c03d80e Bug 1284031 (Part 1) - Advance SourceBufferIterator in Lex() per-state. r=njn 2016-07-16 00:37:02 -07:00
Seth Fowler 6fbb8890f0 Bug 1286161 (Part 2) - Add a GTest suite for SourceBuffer. r=edwin 2016-07-16 00:37:00 -07:00
Seth Fowler 8e2ea1af00 Bug 1286165 (Part 3) - Add StreamingLexer tests for the SourceBufferIterator version of Lex(). r=njn 2016-07-15 17:48:57 -07:00
Seth Fowler a92a8b9e06 Bug 1286168 - Add a RAII class to initialize ImageLib services in GTests. r=njn 2016-07-15 17:48:57 -07:00
Seth Fowler 396c016b13 Bug 1285867 (Part 4) - Decide whether we're done decoding by checking if we've reached a terminal state. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler 471a49b72c Bug 1277979 (Followup) - Unfortunately still more fuzz is needed for downscale-during-decode GTests on OS X 10.10. r=me 2016-07-01 23:15:48 -06:00
Seth Fowler f6528fc852 Bug 1282352 - Make DecoderFactory use NotNull where possible. r=edwin 2016-06-29 18:33:22 -07:00
Seth Fowler 41627d474f Bug 1282259 - Run IDecodingTasks instead of Decoders directly in image::DecodePool. r=dholbert 2016-06-29 13:46:27 -07:00
Seth Fowler 7ecbb3a6bf Bug 1255107 (Part 2) - Add a SurfaceFilter for bilinear interpolation for ADAM7 interlaced images. f=glennrp,r=njn 2016-06-25 14:04:03 -07:00
Seth Fowler e9ae1e161e Bug 1255107 (Part 1) - Add a RowHasPixels() utility function to allow tests to compare rows to an arbitrary sequence of BGRAColor values. r=njn 2016-06-25 14:04:01 -07:00
Seth Fowler f3f1ed4efa Bug 1262549 - Refuse to allocate huge deinterlacing buffers. r=edwin 2016-06-23 18:59:58 -07:00
Seth Fowler 020ad7a755 Bug 1279117 - Add SurfacePipe::WritePixelsToRow(). r=njn 2016-06-23 01:42:07 -07:00
Seth Fowler 172d673bcc Bug 1277979 - Add even more fuzz to the downscale-during-decode GTests to fix failures on OS 10.10. r=me DONTBUILD 2016-06-21 21:33:56 -07:00
Seth Fowler 82666db699 Bug 1249578 (Part 2) - Add a test that decoding ICOs with a size mismatch between the BIH header and the ICO directory entry fails. r=njn 2016-06-21 19:48:33 -07:00
Wes Kocher 7e180fa924 Backed out 2 changesets (bug 1249578) for build bustage
Backed out changeset caddb604d934 (bug 1249578)
Backed out changeset a2a645bf7ccf (bug 1249578)
2016-06-21 18:38:46 -07:00
Seth Fowler 20dbc568f3 Bug 1249578 (Part 2) - Add a test that decoding ICOs with a size mismatch between the BIH header and the ICO directory entry fails. r=njn 2016-06-21 18:06:30 -07:00
Seth Fowler bc967b6b86 Bug 1279859 - Correctly skip over extra image sub blocks in the GIF decoder. r=njn 2016-06-20 21:09:29 -07:00
Seth Fowler 72f2253f92 Bug 1279617 - When SurfacePipe::WritePixels() finishes early, zero out the rest of the surface. r=njn 2016-06-17 15:05:00 -07:00
Seth Fowler bf26782297 Bug 1279611 - Document and test the fact that SurfacePipe::WriteEmptyRow() overwrites the entire row. r=njn 2016-06-17 15:05:00 -07:00
Seth Fowler 13254eb215 Bug 1277979 - Add more fuzz to the downscale-during-decode GTests to fix failures on OS 10.10. r=me 2016-06-04 00:32:17 -07:00
Seth Fowler 2e1d5487fb Bug 1276061 (Part 4) - Add GTests for WriteBuffer() and WriteEmptyRow(). r=njn
--HG--
extra : rebase_source : 32628df4518af1fad89c69fa7aa5a87e3c325dc4
2016-06-01 23:01:50 -07:00
Seth Fowler dfd4e97c3d Bug 1276061 (Part 3) - Add ImageLib GTest utility functions for checking paletted image output. r=njn
--HG--
extra : rebase_source : ee6f81899fa7f77b557bc13214d454cf33b122a2
2016-06-01 23:01:50 -07:00
Seth Fowler b65d22bc5c Bug 1276061 (Part 2) - Remove SurfaceFilter::WriteRows(). r=njn
--HG--
extra : rebase_source : f7d65f2cb1398c49f10a5b2849672661c74f1163
2016-06-01 23:01:50 -07:00
Seth Fowler 5c4d63539e Bug 1276413 (Part 2) - Add tests for expected state when initializing a SurfaceSink. r=njn 2016-06-01 11:59:47 -07:00
Seth Fowler be521de253 Bug 1207830 (Part 3) - Add a test that downscaling ICOs with AND mask transparency doesn't cause disaster. r=njn
--HG--
extra : rebase_source : aa8948270b33767eb38a16d8ecc0cb5e9b16d214
2016-05-27 12:59:19 -07:00
Seth Fowler 31a74a2ae6 Bug 1207830 (Part 2) - Add downscale-during-decode GTests for all image formats. r=njn
--HG--
extra : rebase_source : 115942a7d303ee0f9a3e57c5de045fc927a04e0e
2016-05-27 12:59:19 -07:00
Seth Fowler db8c62a32b Bug 1207830 (Part 1) - Make it possible to create an anonymous decoder that downscales. r=njn
--HG--
extra : rebase_source : 620e0380750c8b4fd8752b69320d450067ce385a
2016-05-27 12:59:19 -07:00
Carsten "Tomcat" Book 52d84ab482 Backed out changeset 1bc7102718a9 (bug 1207830) for test failures in ImageDecoders.JPGDownscaleDuringDecode 2016-05-27 09:05:25 +02:00
Carsten "Tomcat" Book 1a05e03bf8 Backed out changeset acbbb2038fdd (bug 1207830) 2016-05-27 09:04:48 +02:00
Carsten "Tomcat" Book 2f5ff9300f Backed out changeset f10f4b5ce594 (bug 1207830) 2016-05-27 09:04:46 +02:00
Seth Fowler 9b08bf373b Bug 1207830 (Part 3) - Add a test that downscaling ICOs with AND mask transparency doesn't cause disaster. r=njn 2016-05-26 22:57:10 -07:00
Seth Fowler 4638631ed9 Bug 1207830 (Part 2) - Add downscale-during-decode GTests for all image formats. r=njn 2016-05-26 22:57:10 -07:00
Seth Fowler 7cac8ebbfd Bug 1207830 (Part 1) - Make it possible to create an anonymous decoder that downscales. r=njn 2016-05-26 22:57:09 -07:00
Seth Fowler 6cec6a812e Bug 1274057 (Part 2) - Add a regression test. r=njn
--HG--
extra : rebase_source : 1d6b2d58c8810cf38d09ae88c6ac612f04a0c24a
2016-05-26 00:19:05 -07:00
Seth Fowler 3e88de4645 Bug 1262338 (Part 4) - Add a new test for downscaling combined with a top-left frame rect. r=njn 2016-05-25 22:48:29 -07:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Nathan Froyd 78256a6966 Bug 1265053 - don't needlessly construct nsAutoCString temporaries in image gtests; r=seth
Passing nsDependentCString gives us the same effect with less memory traffic.
2016-05-09 13:10:09 -04:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Seth Fowler 09c97b5b63 Bug 1250648 - Clean up the style of for loops in TestStreamingLexer. r=njn 2016-02-26 21:01:49 -08:00
Seth Fowler 618f960cdd Bug 1246851 (Part 4) - Add a test suite for SurfacePipes and SurfaceFilters. r=njn 2016-02-25 16:21:29 -08:00
Jan de Mooij 3c3f394c55 Bug 1237201 part 3 - Handle Vector OOM in StreamingLexer. r=njn 2016-01-14 15:19:21 +01:00