Commit Graph

7700 Commits

Author SHA1 Message Date
Bobby Holley
4f3ce25630 Bug 513681 - part 13 - switch from "HEADERONLY" flag to IsSizeDecode()/SetSizeDecode().r=joe,a=blocker 2010-08-13 19:10:53 -04:00
Bobby Holley
33b695f06d Bug 513681 - part 12 - Ensure that IsDecodeFinished() is only called with a non-null decoder.r=joe,a=blocker 2010-08-14 11:31:27 -04:00
Bobby Holley
88253260c1 Bug 513681 - part 11 - make RasterImage carry a pointer to a Decoder.r=joe,a=blocker 2010-08-13 18:58:54 -04:00
Bobby Holley
ae735b2c45 Bug 513681 - part 10 - make decoder implementations inherit from Decoder.r=joe,a=blocker 2010-08-12 15:58:25 -04:00
Bobby Holley
0b5eee2035 ug 513681 - part 9 - Move PNG callbacks into decoder class.r=joe,a=blocker 2010-08-12 15:53:31 -04:00
Bobby Holley
4e3cfa6fa0 Bug 513681 - part 8 - Fold nsJPEGDecoder::Flush() into nsJPEGDecoder::Close().r=joe,a=blocker 2010-08-12 14:16:36 -04:00
Bobby Holley
58eced13a9 Bug 513681 - part 7 - rename mImageContainer to mImage in nsGIFDecoder2 for consistency with the rest of the decoders.r=joe,a=blocker 2010-08-12 13:58:44 -04:00
Bobby Holley
d8894c5bd6 Bug 513681 - part 6 - Introduce Decoder.cpp and Decoder.h.r=joe,a=blocker 2010-08-10 20:11:12 -04:00
Bobby Holley
7dd0082309 Bug 513681 - part 5 - move the decoders out of their subdirectories.r=joe,a=blocker
--HG--
rename : modules/libpr0n/decoders/gif/GIF2.h => modules/libpr0n/decoders/GIF2.h
rename : modules/libpr0n/decoders/jpeg/iccjpeg.c => modules/libpr0n/decoders/iccjpeg.c
rename : modules/libpr0n/decoders/jpeg/iccjpeg.h => modules/libpr0n/decoders/iccjpeg.h
rename : modules/libpr0n/decoders/bmp/nsBMPDecoder.cpp => modules/libpr0n/decoders/nsBMPDecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsBMPDecoder.h => modules/libpr0n/decoders/nsBMPDecoder.h
rename : modules/libpr0n/decoders/gif/nsGIFDecoder2.cpp => modules/libpr0n/decoders/nsGIFDecoder2.cpp
rename : modules/libpr0n/decoders/gif/nsGIFDecoder2.h => modules/libpr0n/decoders/nsGIFDecoder2.h
rename : modules/libpr0n/decoders/bmp/nsICODecoder.cpp => modules/libpr0n/decoders/nsICODecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsICODecoder.h => modules/libpr0n/decoders/nsICODecoder.h
rename : modules/libpr0n/decoders/bmp/nsIconDecoder.cpp => modules/libpr0n/decoders/nsIconDecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsIconDecoder.h => modules/libpr0n/decoders/nsIconDecoder.h
rename : modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp => modules/libpr0n/decoders/nsJPEGDecoder.cpp
rename : modules/libpr0n/decoders/jpeg/nsJPEGDecoder.h => modules/libpr0n/decoders/nsJPEGDecoder.h
rename : modules/libpr0n/decoders/png/nsPNGDecoder.cpp => modules/libpr0n/decoders/nsPNGDecoder.cpp
rename : modules/libpr0n/decoders/png/nsPNGDecoder.h => modules/libpr0n/decoders/nsPNGDecoder.h
2010-08-12 00:59:59 -04:00
Bobby Holley
004721be5e Bug 513681 - part 4 - Get rid of CIDs and friends for decoders.r=joe,a=blocker 2010-08-12 00:31:37 -04:00
Bobby Holley
378f86ced3 Bug 513681 - part 3 - instantiate decoders without using COM goop.r=joe,a=blocker 2010-08-11 20:49:50 -04:00
Bobby Holley
1efcc45c3a Bug 513681 - part 2 - remove support for the MOZ_IMG_DECODERS build option.r=joe,khuey.a=blocker 2010-08-11 20:12:24 -04:00
Bobby Holley
3166c2ffde Bug 513681 - part 1 - fix a few warnings.r=joe,a=blocker 2010-08-13 18:15:20 -04:00
Bobby Holley
7558e59464 Bug 587371 - Image.h PRUint32 getters shouldn't be COM-y. r=joe,a=blocker 2010-08-14 18:23:47 -04:00
Joe Drew
15604aee26 Bug 590335 - Add a pref to unconditionally disable Direct2D. r=bas a=blocking2.0:beta5+ 2010-08-27 22:44:37 -04:00
Joe Drew
b7624380b1 Bug 590599 - Change the names of layers acceleration prefs, and how they work. r=roc a=blocking2.0:beta6+ 2010-08-27 22:44:37 -04:00
Bobby Holley
e10f320600 Bug 590252 - part 5 - Make RequestDecode() SyncDecode() on images that are small enough.r=joe,a=blocker 2010-08-26 15:54:21 -07:00
Bobby Holley
3f19ae32b6 Bug 590252 - part 4 - Don't do progressive display on redecodes.r=joe,a=blocker 2010-08-25 19:07:01 -04:00
Bobby Holley
6f995e3bcb Bug 590252 - part 3 - Only flush invalidations when we need to.r=joe,a=blocker 2010-08-25 16:11:09 -04:00
Bobby Holley
c691e4b8a8 Bug 590252 - part 2 - Make decoder implementations use the Decoder superclass invalidation framework.r=joe,a=blocker 2010-08-24 17:12:04 -04:00
Bobby Holley
c6ee2409ab Bug 590252 - part 1 - Add framework to Decoder superclass to handle invalidations.r=joe,a=blocker 2010-08-24 16:40:45 -04:00
Bobby Holley
c55424be79 Bug 590260 - Decode more bytes at a time during image redecodes.r=joe,a=blocker 2010-08-25 18:58:27 -04:00
Dan Witte
5306a8f553 Merge e10s -> m-c. a=patches 2010-08-27 08:04:00 -07:00
Dão Gottwald
d9866fd9ab Bug 581008 - Remove support for appending arbitrary data to the User Agent string. r=jst,khuey sr=dveditz 2010-08-27 09:02:10 +02:00
Joel Maher
adaba45072 Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Daniel Holbert
8aea711d81 Bug 591014: Null-check mImage in imgRequestProxy::GetStaticRequest. r=joe a=blocking-beta5 2010-08-26 20:47:20 +00:00
Atul Apte
3551ca8cb1 Enable basic stereoscopic rendering support for D3D9 layers with 3D Vision. r=bas 2010-08-26 20:44:53 +00:00
Clint Talbert
4fa6358e1b Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
fecae963b6 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Sid Stamm
058ab40bdb Bug 542302 - turn down CSP debugging information, r=dveditz, a=jst 2010-08-25 08:36:26 -07:00
Benoit Jacob
b12e84a5aa Bug 582053 - Integrate WebGL conformance suite as a mochitest - r=ctalbert,vladimir a=blocking2.0
--HG--
rename : content/canvas/test/webgl/test_list.txt => content/canvas/test/webgl/00_testFIXME_list.txt
rename : content/canvas/test/webgl/conformance/00_test_list.txt => content/canvas/test/webgl/conformance/00_testFIXME_list.txt
rename : content/canvas/test/webgl/more/00_test_list.txt => content/canvas/test/webgl/more/00_testFIXME_list.txt
2010-08-25 08:14:12 -04:00
Joel Maher
8015553874 Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Dan Witte
27ff77fa19 Back out bug 520309 part 1. a=#developers for checkin on CLOSED TREE. 2010-08-24 07:59:57 -07:00
Dan Witte
bc83deed21 Merge e10s -> m-c. a=wecanhazbeta 2010-08-23 21:18:09 -07:00
bhsieh@mozilla.com
ee7804329f bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg 2010-08-12 12:37:44 -07:00
Justin Lebar
12fbf7e03e Bug 577950 - Use a hashtable to speed up nsPrefBranch::RemoveObserver. r=bzbarsky, a2.0=jst
--HG--
extra : rebase_source : 217d161649839c809a5e88444b882b056632a38f
2010-07-16 14:10:01 -07:00
Justin Lebar
4fc423d4c3 merge backout, a=khuey 2010-08-18 14:41:09 -07:00
Justin Lebar
b4c8301763 Backed out changeset 63bb61d1416e 2010-08-18 14:38:05 -07:00
Taras Glek
b811791acb Bug 559961 - Reorder jar files as part of PGO, r=bsmedberg a=blocking2.0
--HG--
extra : rebase_source : d8a75545714a131291c74dd79c966150544ff9d1
2010-08-18 10:34:07 -07:00
Justin Lebar
ebc65f0555 Bug 577950 - Use a hashtable to speed up nsPrefBranch::RemoveObserver. r=bzbarsky, a2.0=jst
--HG--
extra : rebase_source : 212dba5bb879bb413609f44ad404849417dff1dc
2010-07-16 14:10:01 -07:00
Robert O'Callahan
fe59073292 Bug 537890. Part 1: Add nsIWidget::GetDPI and nsIWidget::GetDefaultScale and use them to set up device contexts. r=vlad,sr=dbaron 2010-08-13 21:57:48 +12:00
Josh Aas
7c8d5f47f2 Bug 578868: Only load plugin libraries into the main process when absolutely necessary. r=benwa sr=bsmedberg a=blocking-b5+ 2010-08-17 20:05:48 -04:00
Robert O'Callahan
56e3e3cd66 Fix line endings. 2010-08-18 18:04:50 +12:00
Bas Schouten
7769ad7bd1 Bug 587320: Use proper paint counts on D2D due to dual pass rendering. r=joedrew 2010-08-16 09:15:03 +02:00
Martin Stránský
4e31f66933 Bug 574354 - Disable OOP for plugins wrapped by nspluginwrapper. r=josh 2010-08-15 11:10:15 +02:00
Daniel Holbert
c7c3f0f27a Bug 584841 patch 12: Rename variables & methods to use 'image' terminology instead of 'container'. r=bholley a=blocking 2010-08-13 21:09:51 -07:00
Daniel Holbert
ac66bdbfac Bug 584841 patch 11: Move remaining imagelib-private methods from imgIContainer interface to Image abstract class. r=bholley sr=vlad a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
23797c95ad Bug 584841 patch 10: Give imgStatusTracker an Image* instead of imgIContainer*. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
67428f776b Bug 584841 patch 9: Move RasterImage-specific methods from imgIContainer interface to RasterImage class. r=bholley sr=vlad a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
62b307a4a8 Bug 584841 patch 8: Add method imgIContainer::GetImageType to distinguish Raster vs Vector Images. r=bholley sr=vlad a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
474f1b546d Bug 584841 patch 7: Rename imgContainer source files. r=bholley a=blocking
--HG--
rename : modules/libpr0n/src/imgContainer.cpp => modules/libpr0n/src/RasterImage.cpp
rename : modules/libpr0n/src/imgContainer.h => modules/libpr0n/src/RasterImage.h
2010-08-13 21:09:49 -07:00
Daniel Holbert
fe20f90c34 Bug 584841 patch 6: Fix whitespace from imgContainer class rename. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
ffe1886b31 Bug 584841 patch 5: Rename imgContainer class to mozilla::imagelib::RasterImage. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
a4c00c05d2 Bug 584841 patch 4: Rename imgDiscardTracker source files. r=bholley a=blocking
--HG--
rename : modules/libpr0n/src/imgDiscardTracker.cpp => modules/libpr0n/src/DiscardTracker.cpp
rename : modules/libpr0n/src/imgDiscardTracker.h => modules/libpr0n/src/DiscardTracker.h
2010-08-13 21:09:49 -07:00
Daniel Holbert
fe81ef360e Bug 584841 patch 3: Rename imgDiscardTracker class to mozilla::imagelib::DiscardTracker. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
24eb75411c Bug 584841 patch 2: Use Image pointers in place of imgContainer pointers in a few places. r=bholley a=blocking 2010-08-13 21:09:48 -07:00
Daniel Holbert
9213c30fc6 Bug 584841 patch 1: Create mozilla::imagelib::Image abstract class. r=bholley a=blocking 2010-08-13 21:09:48 -07:00
Daniel Holbert
2c2ed663ed Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Daniel Holbert
e442231dd0 Bug 582004 part 1: Make imgStatusTracker::*FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Bobby Holley
0cf63d8593 Bug 586566: Fold nsIconDecoder into decoders/bmp. r=dholbert a=blocking
--HG--
rename : modules/libpr0n/decoders/icon/nsIconDecoder.cpp => modules/libpr0n/decoders/bmp/nsIconDecoder.cpp
rename : modules/libpr0n/decoders/icon/nsIconDecoder.h => modules/libpr0n/decoders/bmp/nsIconDecoder.h
2010-08-13 21:09:48 -07:00
Robert Sayre
84ab1bce0c Merge tracemonkey to mozilla-central. 2010-08-13 12:45:44 -07:00
Robert Sayre
2c5d9c7f92 Merge mozilla-central to tracemonkey. 2010-08-12 10:12:04 -07:00
Bobby Holley
ceac0c4556 Bug 583825 - Progressive decoding/display of images no longer works; r=joe a=blocking
Since really we want to send OnStartContainer once per-proxy, it doesn't make the most sense to have such handling be done in imgRequest and imgStatusTracker. This patch moves all that into imgRequestProxy, and fixes the bug.
2010-08-12 11:59:37 -04:00
Joe Drew
0cb2a190c5 Bug 583028 - Hold on to a runnable while it's outstanding, and add proxies for it to notify when it does get run. This makes us delay onload less. r=bholley a=blocking 2010-08-12 11:59:28 -04:00
Robert Sayre
812d5aaf6a Merge merge. 2010-08-10 17:00:09 -07:00
David Mandelin
a2d3b9fe05 Bug 585501: innerize window before using it as a scope chain in NPN_Evaluate, r=mrbkap 2010-08-10 16:11:32 -07:00
Benedict Hsieh
06c7038301 Bug 535077 - Fixes hang caused by failure to execute sync launch r=cjones a=blocking2.0 2010-08-10 14:14:10 -07:00
Robert O'Callahan
25324c072d Backing out bug 584282 and bug 537890 2010-08-14 02:35:06 +12:00
Markus Stange
c0e4ac43e7 Bug 572680 - Make image drawing use the new gfxDrawable interface. r=joe 2010-08-13 15:30:27 +02:00
Markus Stange
cd5be97592 Bug 572680 - Create gfxUtils::DrawPixelSnapped and make imgFrame use it. r=joe 2010-08-13 15:30:02 +02:00
Ted Mielczarek
0661c42acb bug 573290, bug 583591 - disable crashreporter xpcshell tests on Linux again until we can figure out why they're failing 2010-08-13 08:28:15 -04:00
Josh Aas
eb65c35fef Backed out changeset 452db8c688ba, bug 578868. 2010-08-13 04:23:13 -04:00
Josh Aas
e8f9c53806 Bug 578868: Only load plugin libraries into the main process when absolutely necessary. r=benwa sr=bsmedberg 2010-08-13 02:42:42 -04:00
Byron Milligan
3f3b52d409 Bug 193911. Increase the disk cache size from 50 megs to 250 megs. This will show a significant increase in talos numbers, and it will thus look like a cpu usage regression since all of talos now fits in the cache. r=cbiesinger@gmail.com, sr=bzbarsky@mit.edu, a=jst@mozilla.org 2010-08-12 16:19:59 -07:00
Makoto Kato ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
957a9b78be Use a known failure condition that more closely matches when the tests fail (when we use handwritten SSE2 assembly in the JPEG code), so that they don't produce unexpected pass results on 64-bit Windows. (Bug 582850) r=joedrew / dbaron a2.0=tests 2010-08-11 12:32:53 -07:00
L. David Baron
2416326121 Backed out changeset fef97fa21915 (bug 584582) for causing compilation failures on Windows. 2010-08-11 12:25:55 -07:00
Ted Mielczarek
76e6ca6946 bug 584582 - XP_TTOA not null terminating strings on Linux. r=bsmedberg, a=blocking
--HG--
extra : rebase_source : 17a3fc38dc225906301ebb61a24bf3252634af92
2010-08-11 10:57:44 -04:00
Ted Mielczarek
5dd2127073 bug 584582 - XP_TTOA not null terminating strings on Linux. r=bsmedberg, a=blocking 2010-08-11 10:57:44 -04:00
Michael Wu
766b3cbce1 Bug 556644 - 5. Enumerate prefs in the omnijar, r=bsmedberg a=blocking2.0 2010-08-11 18:10:11 -07:00
L. David Baron
6115b1c973 Mark known random assertion due to bug 585394. 2010-08-07 19:21:44 -07:00
Vladimir Vukicevic
cd7ca8d0fe b=584815; enable WebGL shader validation and remove obsolete texture API; r=bjacob 2010-08-06 22:10:38 -07:00
Shawn Wilsher
eaf126ab41 Backed out changeset 1302220623fd because it needs to land with 0b3af3fef0fd, which I just backed out on a CLOSED TREE. 2010-08-06 11:19:52 -07:00
Shawn Wilsher
0ddeef5779 Bug 580790 - Connection::initialize can access preferences off of the main thread
Makes things go boom when preferences are accessed off of the main thread.
r=dwitte
sr=bsmedberg
a=blocking2.0
2010-08-06 10:27:58 -07:00
Josh Aas
00479ccb44 Bug 584143 - Crashes when streams are open and a plugin instance is closed at/under nsNPAPIPluginInstance::Stop, r=bsmedberg 2010-08-09 14:38:43 -04:00
Neil Deakin
c4ca33a0c8 Bug 577316, add preference to allow form elements to be focused when clicked, r=smaug 2010-08-09 12:15:47 -04:00
Benjamin Smedberg
7c3e8bf65e Merge bug 579178 to mozilla-central. reviews by Mossop/khuey/jwalden/ted 2010-08-09 10:04:10 -04:00
Benjamin Smedberg
9e2bdfd15c Merge mozilla-central into single-chrome-manifest. 2010-08-04 14:23:04 -04:00
Benjamin Smedberg
0503e044c7 Fix omnijar from bug 579178 - move the manifest ziploader code into xpcom/components, and don't load the same JAR a bunch of times.
--HG--
rename : modules/libjar/nsManifestZIPLoader.cpp => xpcom/components/nsManifestZIPLoader.cpp
rename : modules/libjar/nsManifestZIPLoader.h => xpcom/components/nsManifestZIPLoader.h
2010-08-04 14:09:21 -04:00
Benjamin Smedberg
319f11fc9c Bug 579178 part A - Code changes to add a "manifest" directive to read sub-manifests and read only the root chrome.manifest file, instead of enumerating components/*.manifest and chrome/*.manifest. Review comments by Mossop to be addressed in a followup commit. 2010-07-22 10:31:29 -04:00
Glenn Randers-Pehrson
26458c12ef Bug 564792 - Update libpng to version 1.4.3. r=joe 2010-07-22 09:00:30 +02:00
Brad Lassey
17864e61eb bug 576997 - Need to upgrade in-tree FreeType to 2.4.0 once it has been released r=bsmedberg b=2.0+ 2010-07-21 12:59:38 -04:00
Steven Michaud
f3b2471ebf Bug 577967 - Crash [@ NSAddImage ] on startup on 2.0 branch. r=josh 2010-07-21 11:27:13 -05:00
Dave Townsend
ca2c8d238a Disable plugin crash submission tests on all Linux for bug 583591. rs=khuey 2010-08-02 18:02:20 -07:00
Justin Lebar
89ed3b80bb Bug 561076 - Pref callback changes severely slow down reftest and shutdown.
--HG--
extra : rebase_source : bf83192c89f953772d8dbfb530e18402e181a139
2010-07-31 10:17:49 -07:00
Josh Aas
930aa1296a Bug 583506: Remove remaining support for blackwood java from plugins module. r/a=jst 2010-08-02 16:31:31 -04:00
Robert O'Callahan
bb197a6e72 Bug 580160. Test plugin needs to invalidate itself if its size changes. r=josh 2010-08-02 15:07:07 +12:00
Bobby Holley
529ab4bb98 Bug 579122 - imgRequestProxy race condition can fire 2 OnStartDecodes in a row.r=joe 2010-08-02 15:44:49 -04:00
Daniel Holbert
73dbfa4600 (no bug, comment-only) Fix typo in comment with the condensed version of imgContainer's CID. 2010-08-05 07:53:43 -07:00
Bjarne
ed732b9f7f Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Josh Aas
52a0d495b7 Fix a problem in which we fail to load an enabled plugin just because a disabled plugin is a MIME handler for the same MIME type. b=581848 r=jst 2010-08-04 15:16:12 -04:00