Commit Graph

1101 Commits

Author SHA1 Message Date
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
Seth Fowler
f7b120fcb7 Bug 997010 (Part 1) - Support dynamic changes to the image-orientation property. r=dbaron 2014-06-27 20:50:26 -07:00
Seth Fowler
49199e74fd Bug 997604 - Add invalidation rect support to ImageWrappers, and use it in nsImageFrame. r=tn,sr=bz
--HG--
extra : rebase_source : a0b0f79c2bfab604f13e1098d09b2ec61e578a37
2014-06-26 16:02:04 -07:00
Monica Chew
f0f0728800 Bug 1029781: Set NS_LOAD_CLASSIFY_URI in image loader (r=seth) 2014-06-27 13:57:36 -07:00
Makoto Kato
bb7664bd5c Bug 1029981 - Observers should use MOZ_UTF16 to compare someData. r=nfroyd 2014-06-27 17:08:13 +09:00
Jonathan Watt
77c21d8bd6 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
4d9e33f028 Backed out changeset 8a3fb8fc4d29 (bug 1029781) for android XPCShell failures on a CLOSED TREE 2014-06-25 14:33:35 -07:00
Monica Chew
ab2b9b8ae0 Bug 1029781: Set NS_LOAD_CLASSIFY_URI in image loader (r=seth) 2014-06-25 09:08:27 -07:00
Carsten "Tomcat" Book
d9163b2931 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Carsten "Tomcat" Book
ff26ea326c merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Jonathan Watt
647519f29a Bug 940625 follow-up to fix bustage from changing from DiscardAllSurfacesForVectorImages to DiscardAll. CLOSED TREE 2014-06-25 14:28:51 +01:00
CJKu
9691cf3136 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-24 10:20:00 -04:00
Jonathan Watt
f886ddcddc Add some documenting comments to the image encoders; no bug 2014-06-25 12:59:55 +01:00
Ed Morley
026fe9a703 Backed out changeset 5f0396c873f3 (bug 1000722) 2014-06-24 15:37:40 +01:00
CJKu
7fa109db0b Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-21 01:22:00 +02:00
Jim Blandy
7e20285e70 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
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
Benoit Jacob
e6f9a16c61 Bug 1027251 - Fix or whitelist dangerous public destructors in image/ - r=jrmuizel 2014-06-18 22:29:00 -04:00
Nicholas Nethercote
aaf6fb2124 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
2586dd3cb2 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
eaeeb6d003 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
c371700a13 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
ced60d7954 Bug 1024166 - Misc header/namespace cleanups in imglib, r=seth 2014-06-16 18:25:43 -04:00
Daniel Stenberg
43f0c8ec63 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
a3c4c53eed Merge b-i to m-c, a=merge 2014-06-15 09:45:59 -07:00
Phil Ringnalda
680edf00b4 Back out 53e5f619cb62 (bug 1025497) for build bustage
CLOSED TREE
2014-06-14 19:04:52 -07:00
Jonathan Watt
7a72915068 Bug 1025497 - Stop using gfxImageSurface in Cocoa widget code. r=mstange 2014-06-15 01:44:46 +01:00
Michael Wu
2667ce024f Bug 1023194 - Fix stride calculation on 16 bit images, r=seth 2014-06-10 15:44:04 -04:00
Jonathan Watt
03ce6fee26 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
064fe625cf 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
9e075daedc Bug 994081 - [2/3] Convert imgFrame to SourceSurfaces, r=seth 2014-04-19 21:28:38 -04:00
Carsten "Tomcat" Book
a535027de6 Backed out changeset 8dc53499b0c0 (bug 1019753) 2014-06-04 10:31:06 +02:00
Jeremy Poulin
21428535f7 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
c2c91ac963 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
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Phil Ringnalda
3e5340dd29 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Robert Longson
289ee87838 Bug 1016440 - Stop crashing when failing to allocate draw targets. r=jwatt 2014-05-31 11:26:04 +01:00
Jonathan Watt
4336a6bfeb Bug 1016123 - Make VectorImage::HeapSizeOfVectorImageDocument include the size of the SVGDocument. r=njn 2014-05-28 14:30:52 +01: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
Carsten "Tomcat" Book
5f4bdd154a merge b2g-inbound to mozilla-central 2014-05-26 15:26:11 +02:00
Wes Kocher
4fef3cddfb Merge m-c to b2g-inbound 2014-05-23 17:39:48 -07:00
Vincent Chen
c53b5f77a8 Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal 2014-05-23 15:56:15 -04:00
Daniel Holbert
4296ce21ad Bug 1006123, part 2: Add reftest for high-quality image downscaling. r=seth 2014-05-22 09:44:05 -07:00
Vivien Nicolas
528916e191 Bug 1009097 - Report notable images individually. r=jwatt.
--HG--
extra : rebase_source : b29e992294d01c303d322a29404d56dadd7daeef
2014-05-15 16:11:57 -07:00