Jonathan Watt
e6aa7cdf90
Bug 1003505 - Fix printing of SVG images so that they're no longer pixelated. r=seth
2014-06-26 08:40:12 +01:00
Wes Kocher
a71846c73d
Backed out changeset 8a3fb8fc4d29 (bug 1029781) for android XPCShell failures on a CLOSED TREE
2014-06-25 14:33:35 -07:00
Monica Chew
2dba86511f
Bug 1029781: Set NS_LOAD_CLASSIFY_URI in image loader (r=seth)
2014-06-25 09:08:27 -07:00
Carsten "Tomcat" Book
23d6a7ded4
Merge mozilla-central to mozilla-inbound
2014-06-25 15:42:28 +02:00
Carsten "Tomcat" Book
a2cf6bb6f1
merge b2g-inbound to mozilla-central a=merge
2014-06-25 15:38:40 +02:00
Jonathan Watt
5e4ad0943c
Bug 940625 follow-up to fix bustage from changing from DiscardAllSurfacesForVectorImages to DiscardAll. CLOSED TREE
2014-06-25 14:28:51 +01:00
CJKu
29759c0d55
Bug 1000722 - Rollback close reftest in bug 981477. r=ahal
2014-06-24 10:20:00 -04:00
Jonathan Watt
1f3d08cbbf
Add some documenting comments to the image encoders; no bug
2014-06-25 12:59:55 +01:00
Ed Morley
b91811f205
Backed out changeset 5f0396c873f3 (bug 1000722)
2014-06-24 15:37:40 +01:00
CJKu
32c94506d9
Bug 1000722 - Rollback close reftest in bug 981477. r=ahal
2014-06-21 01:22:00 +02:00
Jim Blandy
4d6a633bba
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
2d78cefb06
Bug 1028588 - Fix dangerous public destructors in image/ - r=jrmuizel
2014-06-23 14:49:08 -04:00
Milan Sreckovic
6987624055
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
f475f7189b
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Benoit Jacob
a42c2de422
Bug 1027251 - Fix or whitelist dangerous public destructors in image/ - r=jrmuizel
2014-06-18 22:29:00 -04:00
Nicholas Nethercote
39f29c384a
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jonathan Watt
0324bd5749
Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas
2014-06-17 18:35:51 +01:00
Boris Chiou
2a2eea8b5b
Bug 1003893 - Ensure that the delete of RasterImage occurs on the main thread. r=seth
...
Dispatch nsRefPtr<RasterImage> to the main thread by NS_ProxyRelease
to avoid RasterImage from being destructed by the DecodeJob thread.
(If gMultithreadedDecoding is true.)
Therefore, DiscardTracker can safely access RasterImage::Discard()
by the raw pointer in DiscardTracker::Node.
2014-06-16 22:05:00 -04:00
George Wright
429fd8834c
Bug 913805 - Hold a lock on the RasterImage in ScaleRequest so that the srcFrame doesn't go away if we need to discard images to free up memory r=seth
2014-06-06 14:26:21 -04:00
Michael Wu
eb62b17d81
Bug 1024166 - Misc header/namespace cleanups in imglib, r=seth
2014-06-16 18:25:43 -04:00
Daniel Stenberg
a29ee21efd
Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
...
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.
Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER
In HTTP1.1 for Content-Length: and chunked-encoding underruns
In http2 and SPDY for framing errors when data has already been received.
imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Phil Ringnalda
ebbeebd17b
Merge b-i to m-c, a=merge
2014-06-15 09:45:59 -07:00
Phil Ringnalda
09bbd3df0c
Back out 53e5f619cb62 (bug 1025497) for build bustage
...
CLOSED TREE
2014-06-14 19:04:52 -07:00
Jonathan Watt
78c58e82c7
Bug 1025497 - Stop using gfxImageSurface in Cocoa widget code. r=mstange
2014-06-15 01:44:46 +01:00
Michael Wu
36d06b0748
Bug 1023194 - Fix stride calculation on 16 bit images, r=seth
2014-06-10 15:44:04 -04:00
Jonathan Watt
bc22d1d489
Bug 1019753, part 2 - Use Moz2D DataSourceSurfaces instead of Thebes gfxImageSurfaces in DocumentRendererParent.cpp and ImageEncoder.cpp. r=mattwoodrow
...
--HG--
extra : rebase_source : fc39f0aede22e48ea853b1978eddeb8cc8c43a60
2014-06-04 08:08:39 +01:00
Jonathan Watt
cdb7e21837
Bug 1022930 - Fix crash in imgFrame::Draw() when drawing for an SVG mask. r=mwu
2014-06-10 07:02:22 +01:00
Michael Wu
82821675ed
Bug 994081 - [2/3] Convert imgFrame to SourceSurfaces, r=seth
2014-04-19 21:28:38 -04:00
Carsten "Tomcat" Book
3645127e55
Backed out changeset 8dc53499b0c0 (bug 1019753)
2014-06-04 10:31:06 +02:00
Jeremy Poulin
4c8dd6d4b2
Bug 1016622: Renaming mozilla::network::Seer to mozilla::network Predictor. r=hurley
...
--HG--
rename : netwerk/base/public/nsINetworkSeer.idl => netwerk/base/public/nsINetworkPredictor.idl
rename : netwerk/base/public/nsINetworkSeerVerifier.idl => netwerk/base/public/nsINetworkPredictorVerifier.idl
rename : netwerk/base/src/Seer.cpp => netwerk/base/src/Predictor.cpp
rename : netwerk/base/src/Seer.h => netwerk/base/src/Predictor.h
rename : netwerk/test/unit/test_seer.js => netwerk/test/unit/test_predictor.js
2014-06-03 13:37:46 -07:00
Jonathan Watt
4bd806b7d0
Bug 1019753, part 2 - Use Moz2D DataSourceSurfaces instead of Thebes gfxImageSurfaces in DocumentRendererParent.cpp and ImageEncoder.cpp. r=mattwoodrow
2014-06-04 08:08:39 +01:00
Robert O'Callahan
9170085906
Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Phil Ringnalda
61966eed95
Merge f-t to m-c
2014-05-31 20:31:07 -07:00
Victor Porof
5643294005
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Robert Longson
f4c58b2672
Bug 1016440 - Stop crashing when failing to allocate draw targets. r=jwatt
2014-05-31 11:26:04 +01:00
Jonathan Watt
39444ea405
Bug 1016123 - Make VectorImage::HeapSizeOfVectorImageDocument include the size of the SVGDocument. r=njn
2014-05-28 14:30:52 +01:00
Neil Rashbrook
9cfd58c16f
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
f3421c776b
Backout 8b8bbe7aa1cc due to wrong bug number
2014-05-27 14:42:13 +03:00
Neil Rashbrook
12b4869c02
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
Carsten "Tomcat" Book
c509721e94
merge b2g-inbound to mozilla-central
2014-05-26 15:26:11 +02:00
Wes Kocher
64719ccbd2
Merge m-c to b2g-inbound
2014-05-23 17:39:48 -07:00
Vincent Chen
7e90a06615
Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal
2014-05-23 15:56:15 -04:00
Daniel Holbert
19ba5c855b
Bug 1006123, part 2: Add reftest for high-quality image downscaling. r=seth
2014-05-22 09:44:05 -07:00
Vivien Nicolas
5a9355d5a0
Bug 1009097 - Report notable images individually. r=jwatt.
...
--HG--
extra : rebase_source : b29e992294d01c303d322a29404d56dadd7daeef
2014-05-15 16:11:57 -07:00
Birunthan Mohanathas
6f68094e30
Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
2deaba6d91
Bug 869836 - Part 8: Use Append('c')
instead of Append("c")
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
76ca8ec617
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
c4568a7085
Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
5d51a7d58f
Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...)
. r=ehsan
2014-05-22 06:48:50 +03:00
Kyle Huey
8a1ded0d50
Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan
2014-05-23 12:53:17 -07:00