Commit Graph

929 Commits

Author SHA1 Message Date
Kannan Vijayan
809746b013 Backout 5a0801040b54, 5bedd82346b4, 4d8068fd3271, and bc31e05eddb8 for b2g build breakage. CLOSED TREE. 2013-10-21 14:39:33 -04:00
Seth Fowler
e83ca4c706 Bug 764299 (Part 4) - Cache rasterized surfaces in VectorImage. r=dholbert 2013-10-21 18:10:50 +02:00
Seth Fowler
9c00cfe937 Bug 764299 (Part 3) - Add memory reporting to the surface cache. r=njn 2013-10-21 18:10:45 +02:00
Seth Fowler
4076d6db32 Bug 764299 (Part 2) - Add a temporary surface cache to imagelib. r=dholbert 2013-10-21 18:10:43 +02:00
Ms2ger
5eda8396d3 Bug 923395 - Part d: Remove some Makefiles in image/; r=gps 2013-10-20 09:25:19 +02:00
Stephen Pohl
0ef46a7cfa Bug 817700 - Fix animSVGImage test. r=roc 2013-10-16 22:55:33 -04:00
Steve Workman
ce59aa6392 Bug 924117 - Wrap access to RasterImage::mSourceData in mDecodingMutex r=seth 2013-10-16 08:56:08 -07:00
Matt Woodrow
71902a7d0a Bug 922942 - Do image scaling in imgTools using azure. r=seth 2013-10-16 14:00:31 +13:00
Wes Kocher
ac2a7d628f Backed out changeset c0e5db20b655 (bug 922942) for xpcshell bustage 2013-10-15 19:20:17 -07:00
Matt Woodrow
0dff40d838 Bug 922942 - Do image scaling in imgTools using azure. r=seth 2013-10-16 14:00:31 +13:00
Matt Woodrow
36b38e7eda Bug 922942 - Updated cached surface in ClippedImage using azure. r=seth 2013-10-16 14:00:30 +13:00
Steve Workman
000699ecd8 Bug 924967 - Dispatch nsIRequest::Cancel to main thread in imgRequest::Cancel r=seth 2013-10-15 16:33:11 -07:00
Ryan VanderMeulen
d2f8285bf4 Backed out changesets 5fa68d64f749, 103b40656e24, b1ff3efb43cf, 096455736704, and 4afd6fa3da19 (bug 817700) for mochitest-1 failures.
CLOSED TREE
2013-10-08 15:00:17 -04:00
Stephen Pohl
75edca5315 Bug 817700 - Fix animSVGImage test. r=roc 2013-10-08 13:27:49 -04:00
Ehsan Akhgari
eff9a278ad Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Glenn Randers-Pehrson
eeac129b08 Bug 922471 - Remove MOZ_PNG_READ-WRITE global defines. r=jmuizelaar 2013-10-06 15:30:32 -04:00
Masatoshi Kimura
ab2dd4c4b2 Bug 922931 - Display a placeholder for broken images if the alt attribute is unset even in no-quirks mode. r=bz 2013-10-06 05:25:49 +09:00
Milan Sreckovic
78ce31c17b Bug 922603 - Avoid signed integer overflow. r=bjacob 2013-10-02 10:44:53 -04:00
Ms2ger
f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
1ee1f27aa3 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Ehsan Akhgari
b155782d0a Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Ehsan Akhgari
290feb1ade Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
  be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
  nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
  places which require it implicitly.
2013-09-30 17:26:04 -04:00
Trevor Saunders
6e22b00095 bug 920754 - rm more makefiles r=mshal 2013-09-25 16:39:06 -04:00
Ryan VanderMeulen
af288628a8 Merge m-c to inbound. 2013-09-30 16:51:06 -04:00
Ryan VanderMeulen
ad7d17c453 Merge m-c to b2g-inbound. 2013-09-30 16:30:26 -04:00
Gregory Szorc
54c1de66d6 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
e6acf6270f Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
1cff342d15 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
18a411a55c Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley
53a451894a Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Ed Morley
2c7dd24541 Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Gregory Szorc
8344d8a946 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
0b4364c6f3 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
6ed63cb064 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Timothy Nikkel
79f86039ed Bug 918220. Part 1. Rename the pref content.image.allow_locking to make it clear that it only applies to content processes. r=jmuizelaar 2013-09-30 12:53:46 -05:00
Steve Workman
63de937a98 Bug 867755 - Add strong refcnting for derived classes of mozilla::image::Image r=seth 2013-09-28 11:28:44 -07:00
Steve Workman
9f54d2c390 Bug 867755 - Return already_AddRefed from GetStatusTracker instead of C++ ref r=seth 2013-09-28 11:28:44 -07:00
Steve Workman
5d7442e954 Bug 867755 - Detect if DiscardTracker has shutdown r=seth 2013-09-28 11:28:44 -07:00
Steve Workman
a15a4e8e26 Bug 867755 - Dispatch imgRequestProxy notifications r=seth 2013-09-28 11:28:43 -07:00
Steve Workman
8bc9e8de94 Bug 867755 - Make DiscardTracker thread-safe r=seth 2013-09-28 11:28:43 -07:00
Steve Workman
e9a5dd723a Bug 867755 - Support OnDataAvailable and OnStopRequest off main thread for image loading r=seth 2013-09-28 11:28:42 -07:00
Martijn Wargers
a3d1617473 Bug 918604 - Remove more enablePrivilege calls. r=jmaher 2013-09-25 19:32:20 +02:00
Ryan VanderMeulen
df60bfed7e Backed out changeset 356ba083bb5f (bug 918604) for frequent OSX test_window_bar.html timeouts.
CLOSED TREE
2013-09-27 18:28:43 -04:00
Martijn Wargers
01fd8c8bbd Bug 918604 - Remove more enablePrivilege calls. r=jmaher 2013-09-25 19:32:20 +02:00
Milan Sreckovic
dac32cb6ee Bug 856616 - Post size in the global header, rather than continuing with the processing, if all we need is a size decode. r=seth 2013-09-25 13:06:22 -04:00
Neil Rashbrook
fec95dc2b5 Bug 920073 Switch back to #including nsStringGlue.h in headers that need to work with the external string API r=ehsan 2013-09-25 08:27:54 +01:00
Nicholas Nethercote
dc5c29f71c Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
CLOSED TREE
2013-09-19 15:52:30 -07:00
Phil Ringnalda
12216d4f00 Backed out 3 changesets (bug 913260)
CLOSED TREE

Backed out changeset 9195be8a50cb (bug 913260)
Backed out changeset 09c71a3e7b85 (bug 913260)
Backed out changeset 8a8691a26012 (bug 913260)
2013-09-24 20:31:00 -07:00
Nicholas Nethercote
a51a1d18a4 Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
--HG--
extra : rebase_source : 0e9db51b137770ba7db15a99a4ec1e87071d2f47
2013-09-19 15:52:30 -07:00
Benoit Jacob
eb8b1d73bb Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -04:00
Benoit Jacob
55d6cf1e20 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Benoit Jacob
e5f7d1d148 Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel 2013-09-24 16:45:13 -04:00
Gregory Szorc
7bd3c0ae36 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Ryan VanderMeulen
26ad3fc54b Merge m-c to inbound.
--HG--
rename : widget/gtk2/nsGtkIMModule.cpp => widget/gtk/nsGtkIMModule.cpp
2013-09-23 17:10:33 -04:00
Martin Stransky
158c3250f0 Bug 914607 - Remove MOZ_WIDGET_GTK2. r=karlt 2013-09-23 09:21:35 -04:00
Ehsan Akhgari
7233ba7103 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Ehsan Akhgari
a1b0ce2dbd Bug 579517 follow-up: Remove NSPR types that crept in 2013-09-22 19:14:24 -04:00
Matt Woodrow
ea50fadeaf Bug 917703 - Mark gfxSubimageSurface as opaque if it is within the opaque rect of the parent surface. r=roc 2013-09-20 21:50:05 +12:00
Honza Bambas
894ba59236 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Mike Hommey
fdcd66734e Bug 917622 - Use INSTALL_TARGETS for mochitests. r=gps 2013-09-19 07:39:58 +09:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
f5213d3e66 Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Stephen Pohl
4914dcba49 Backout bug 817700 for causing various regressions. r=me 2013-09-13 14:14:36 -04:00
Seth Fowler
2ef014c792 Bug 910881 - Do not call RasterImage::DoError off the main thread. r=jdm
--HG--
extra : rebase_source : 9d76763242a351dfbdcf8a35db98a5dceed0d838
2013-09-12 14:40:16 -07:00
Stephen Pohl
b7ecfddf96 Bug 817700 - Fix animSVGImage test. r=roc 2013-09-12 17:04:26 -04:00
Seth Fowler
69dfe65991 Bug 912514 - Don't release nsIURIs off-main-thread. r=jdm 2013-09-11 17:01:59 -07:00
Nicholas Nethercote
7983bb2a7f Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Ed Morley
f7bce95a91 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Ms2ger
b336ed5c33 Merge backout. 2013-09-09 16:56:18 +02:00
Ms2ger
7154345fcf Backout changesets 194d051724a8:89e680f30d31 (bug 817700) for insufficient review. 2013-09-09 16:56:00 +02:00
Stephen Pohl
b1e84e8aad Bug 817700 - Fix animSVGImage test. r=roc 2013-09-06 12:30:40 -04:00
Nicholas Nethercote
cc604f4854 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Ehsan Akhgari
cfc4d18351 Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Ryan VanderMeulen
66808396a3 Backed out changeset 35575118c650 (bug 912794) for asserts. 2013-09-06 23:08:36 -04:00
Benoit Jacob
4dbb3d0ca3 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Seth Fowler
2d68cf9437 Bug 908514 (Part 2) - Fix "variable may be used uninitialized" warning in nsICODecoder.cpp. r=jrmuizel 2013-09-05 15:55:13 -07:00
Seth Fowler
6b56ec47c8 Bug 908514 (Part 1) - Replace imagelib endian macros with MFBT's endian functions. r=jrmuizel 2013-09-05 15:55:13 -07:00
Josh Matthews
85eb883a1f Bug 906813 - Make private image channel test relying on cache wait until the cache is cleared. r=ehsan 2013-09-03 10:45:50 -04:00
Milan Sreckovic
5413b28258 Bug 912794 - Separate out the CMS globals and prefs into a singleton gfxColorManagement. r=ncameron
Preferences are now initialized at startup, then updated with callbacks. The methods that access the cached values are not checking the preferences. This lets us better control which thread reads the prefs.

--HG--
rename : gfx/thebes/gfxPlatform.cpp => gfx/thebes/gfxColorManagement.cpp
rename : gfx/thebes/gfxPlatform.h => gfx/thebes/gfxColorManagement.h
2013-09-06 12:48:17 -07:00
Robert O'Callahan
03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
26ceee4fb5 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
1f32372424 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Masatoshi Kimura
e06d8f88fa Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Jonathan Watt
e2e906c582 Bug 907503 - Test that invalidation works for SMIL animation in SVG-as-an-image. r=longsonr 2013-09-04 11:39:32 +01:00
Jonathan Watt
774ee65e35 Bug 911862 - Make VectorImage use the refresh driver to send out frame change notifications. r=dholbert 2013-09-04 11:39:30 +01:00
Simon Lindholm
5c911188e0 Bug 885277 - Fix animation timing and resetAnimation in the presence of changing animationMode. r=seth 2013-09-03 13:20:15 -07:00
Seth Fowler
e87a993f4a Backout bug 867183 due to intermittent oranges. (See bug 910533.) r=me 2013-08-29 17:47:39 -07:00
Ehsan Akhgari
7fcc6b89fc Bug 910857 - Minimize #includes in content/events; r=smaug 2013-08-29 17:18:25 -04:00
Seth Fowler
190904a6b2 Bug 867183 - Don't recursively notify in FinishedSomeDecoding. r=jlebar 2013-08-28 15:39:05 -07:00
Seth Fowler
83081b2d54 Bug 905468 (Part 2) - Replace SyncNotifyDecodeState with DecodeStateAsDifference. r=jdm 2013-08-28 15:39:05 -07:00
Seth Fowler
319f8740f0 Bug 905468 (Part 1) - Make imgStatusTracker state diffing a cleaner process. r=jdm 2013-08-28 15:39:04 -07:00
Adam Dane [:hobophobe]
1183264382 Bug 907575 - mResniffMimeType not properly reset. r=seth 2013-08-27 18:39:54 -05:00
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
46a5d99103 Bug 831193 (part 13) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in image/. r=jmuizelaar.
--HG--
extra : rebase_source : 25e1c8dad9905df01eb18f300ddab98b24fde7dc
2013-01-17 16:45:11 -08:00
Ryan VanderMeulen
6349254839 Backed out changeset 5acab2576a56 (bug 885277) for intermittent mochitest-other failures. 2013-08-27 20:52:18 -04:00
Justin Lebar
35a65ed466 Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Max Stepin
07f72fe0e1 Bug 900200 - Fix strange transparent areas appearing in some APNG files. r=seth 2013-08-27 14:50:59 -07:00
Simon Lindholm
9e116dddaa Bug 885277 - Fix animation timing and resetAnimation in the presence of changing animationMode 2013-08-14 12:29:55 +02:00
Seth Fowler
d3ff72ca6a Bug 869723 (Part 4) - Add OrientedImage. r=joe 2013-08-25 00:19:43 -07:00
Seth Fowler
337d1b4d5f Bug 869723 (Part 3) - Parse EXIF orientation in nsJPEGDecoder. r=joe 2013-08-25 00:19:43 -07:00