Commit Graph

1099 Commits

Author SHA1 Message Date
Seth Fowler
0dde473422 Bug 997010 (Part 1) - Support dynamic changes to the image-orientation property. r=dbaron 2014-06-27 20:50:26 -07:00
Seth Fowler
bcff2e0531 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
5d273e3e3d Bug 1029781: Set NS_LOAD_CLASSIFY_URI in image loader (r=seth) 2014-06-27 13:57:36 -07:00
Makoto Kato
17426a1b3f Bug 1029981 - Observers should use MOZ_UTF16 to compare someData. r=nfroyd 2014-06-27 17:08:13 +09:00
Jonathan Watt
0f130293e0 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
e3e02506a0 Backed out changeset 8a3fb8fc4d29 (bug 1029781) for android XPCShell failures on a CLOSED TREE 2014-06-25 14:33:35 -07:00
Monica Chew
87b10a92bd Bug 1029781: Set NS_LOAD_CLASSIFY_URI in image loader (r=seth) 2014-06-25 09:08:27 -07:00
Carsten "Tomcat" Book
d3ff9ea4b7 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Carsten "Tomcat" Book
c036601e2f merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Jonathan Watt
a907702fba Bug 940625 follow-up to fix bustage from changing from DiscardAllSurfacesForVectorImages to DiscardAll. CLOSED TREE 2014-06-25 14:28:51 +01:00
CJKu
5175255cb1 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-24 10:20:00 -04:00
Jonathan Watt
fee4385972 Add some documenting comments to the image encoders; no bug 2014-06-25 12:59:55 +01:00
Ed Morley
7f690ea522 Backed out changeset 5f0396c873f3 (bug 1000722) 2014-06-24 15:37:40 +01:00
CJKu
14a0eb0ac4 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-21 01:22:00 +02:00
Jim Blandy
b6b202b6bb 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
bb5d6b4bdb Bug 1028588 - Fix dangerous public destructors in image/ - r=jrmuizel 2014-06-23 14:49:08 -04:00
Milan Sreckovic
884766311e 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
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Jacob
b4866abdf9 Bug 1027251 - Fix or whitelist dangerous public destructors in image/ - r=jrmuizel 2014-06-18 22:29:00 -04:00
Nicholas Nethercote
bb9d51e11e 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
d8f30cbd1f 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
d8b7317932 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
3810169746 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
6682b8f84f Bug 1024166 - Misc header/namespace cleanups in imglib, r=seth 2014-06-16 18:25:43 -04:00
Daniel Stenberg
289d93b851 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
ab64cf27fc Merge b-i to m-c, a=merge 2014-06-15 09:45:59 -07:00
Phil Ringnalda
049f5b7475 Back out 53e5f619cb62 (bug 1025497) for build bustage
CLOSED TREE
2014-06-14 19:04:52 -07:00
Jonathan Watt
086da1aee1 Bug 1025497 - Stop using gfxImageSurface in Cocoa widget code. r=mstange 2014-06-15 01:44:46 +01:00
Michael Wu
3349c2b5b7 Bug 1023194 - Fix stride calculation on 16 bit images, r=seth 2014-06-10 15:44:04 -04:00
Jonathan Watt
1fe689f99d 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
26701fe5b1 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
e432807248 Bug 994081 - [2/3] Convert imgFrame to SourceSurfaces, r=seth 2014-04-19 21:28:38 -04:00
Carsten "Tomcat" Book
5ad3e8194e Backed out changeset 8dc53499b0c0 (bug 1019753) 2014-06-04 10:31:06 +02:00
Jeremy Poulin
ab83f7f8dd 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
92e0979d61 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
915297325e Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Phil Ringnalda
cb35da9c6d Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
928e1cef59 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Robert Longson
e7acf3c842 Bug 1016440 - Stop crashing when failing to allocate draw targets. r=jwatt 2014-05-31 11:26:04 +01:00
Jonathan Watt
a27e65ed71 Bug 1016123 - Make VectorImage::HeapSizeOfVectorImageDocument include the size of the SVGDocument. r=njn 2014-05-28 14:30:52 +01:00
Neil Rashbrook
0b70d2a086 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
740e2ee668 Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Neil Rashbrook
4a282365d2 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
47658629d0 merge b2g-inbound to mozilla-central 2014-05-26 15:26:11 +02:00
Wes Kocher
ba20852950 Merge m-c to b2g-inbound 2014-05-23 17:39:48 -07:00
Vincent Chen
4f8581f3b6 Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal 2014-05-23 15:56:15 -04:00
Daniel Holbert
91b03b340d Bug 1006123, part 2: Add reftest for high-quality image downscaling. r=seth 2014-05-22 09:44:05 -07:00
Vivien Nicolas
60a65e2b52 Bug 1009097 - Report notable images individually. r=jwatt.
--HG--
extra : rebase_source : b29e992294d01c303d322a29404d56dadd7daeef
2014-05-15 16:11:57 -07:00
Birunthan Mohanathas
849371302f Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
f59f0e1fd0 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00