Commit Graph

645 Commits

Author SHA1 Message Date
Daniel Holbert
ef4b0b88ba 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
9575c46247 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
7bdd38e74d 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
5dae469d66 Bug 584841 patch 6: Fix whitespace from imgContainer class rename. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
bf34a05c14 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
c562101036 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
9dfa690f63 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
fad731edb0 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
615dfd73de Bug 584841 patch 1: Create mozilla::imagelib::Image abstract class. r=bholley a=blocking 2010-08-13 21:09:48 -07:00
Daniel Holbert
5b754a5516 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
548c074147 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
bb3ebd274f 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
Bobby Holley
108e3fdc74 Bug 513681 - part 17 - remove imgIDecoder.r=joe,sr=shaver,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
d130c66290 Bug 513681 - part 16 - Move end-of-decode logic into Finish() and cleanup into destructor, abolishing Shutdown().r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
a8ba41c37a Bug 513681 - part 15 - Coalesce OnStartFrame/OnStopFrame into superclass.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
ec845f918a Bug 513681 - part 14 - Coalesce size-setting into superclass.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
18722046a2 Bug 513681 - part 13 - switch from "HEADERONLY" flag to IsSizeDecode()/SetSizeDecode().r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
68132bdc6f Bug 513681 - part 12 - Ensure that IsDecodeFinished() is only called with a non-null decoder.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
ffd3ad3887 Bug 513681 - part 11 - make RasterImage carry a pointer to a Decoder.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
2288ea1376 Bug 513681 - part 10 - make decoder implementations inherit from Decoder.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
6d36a28a66 Bug 513681 - part 9 - Move PNG callbacks into decoder class.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
bb57916dc5 Bug 513681 - part 8 - Fold nsJPEGDecoder::Flush() into nsJPEGDecoder::Close().r=joe,a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
d530205f84 Bug 513681 - part 7 - rename mImageContainer to mImage in nsGIFDecoder2 for consistency with the rest of the decoders.r=joe,a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
a5f3d16c03 Bug 513681 - part 6 - Introduce Decoder.cpp and Decoder.h (with virtual destructor).r=joe,a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
277ad1663a 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-22 22:30:45 -04:00
Bobby Holley
aafd48c682 Bug 513681 - part 4 - Get rid of CIDs and friends for decoders.r=joe,a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
315c1087fb Bug 513681 - part 3 - instantiate decoders without using COM goop.r=joe,a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
8d69ad0207 Bug 513681 - part 2 - remove support for the MOZ_IMG_DECODERS build option.r=joe,khuey.a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
404336876f Bug 513681 - part 1 - fix a few warnings.r=joe,a=blocker 2010-08-22 22:30:44 -04:00
Bobby Holley
daad8d9668 Bug 587371 - Image.h PRUint32 getters shouldn't be COM-y. r=joe,a=blocker 2010-08-22 22:30:44 -04:00
Markus Stange
94f1a7ca57 Bug 572680 - Make image drawing use the new gfxDrawable interface. r=joe 2010-08-13 15:30:27 +02:00
Markus Stange
ac97761cb7 Bug 572680 - Create gfxUtils::DrawPixelSnapped and make imgFrame use it. r=joe 2010-08-13 15:30:02 +02:00
Olli Pettay
545eb51b42 Bug 589431 - Crash when using profile manager [@ mozilla::imagelib::DiscardTracker::ReloadTimeout ], r=bholley, a=blocking
--HG--
extra : rebase_source : c5039b467ea61a80ba835767c9dde328db52fb4c
2010-08-22 21:17:25 +03:00
Kyle Huey
c5800700be Backing out Bug 513681 and Bug 587371 for timeouts. 2010-08-22 10:13:09 -04:00
Bobby Holley
54a728146b Bug 513681 - part 17 - remove imgIDecoder.r=joe,sr=shaver,a=blocker 2010-08-14 15:48:06 -04:00
Bobby Holley
2679ea50c1 Bug 513681 - part 16 - Move end-of-decode logic into Finish() and cleanup into destructor, abolishing Shutdown().r=joe,a=blocker 2010-08-14 15:40:21 -04:00
Bobby Holley
2cfa69fe88 bug 513681 - part 15 - Coalesce OnStartFrame/OnStopFrame into superclass.r=joe,a=blocker 2010-08-14 13:41:04 -04:00
Bobby Holley
f7ddf62d00 Bug 513681 - part 14 - Coalesce size-setting into superclass.r=joe,a=blocker 2010-08-14 13:06:35 -04:00
Bobby Holley
46533669e3 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
4fed8a60e8 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
bb217f49d1 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
250ad09167 Bug 513681 - part 10 - make decoder implementations inherit from Decoder.r=joe,a=blocker 2010-08-12 15:58:25 -04:00
Bobby Holley
428182998f ug 513681 - part 9 - Move PNG callbacks into decoder class.r=joe,a=blocker 2010-08-12 15:53:31 -04:00
Bobby Holley
5d773a2acf Bug 513681 - part 8 - Fold nsJPEGDecoder::Flush() into nsJPEGDecoder::Close().r=joe,a=blocker 2010-08-12 14:16:36 -04:00
Bobby Holley
9cbae4f0a2 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
4e9dccf71f Bug 513681 - part 6 - Introduce Decoder.cpp and Decoder.h.r=joe,a=blocker 2010-08-10 20:11:12 -04:00
Bobby Holley
d7bebcd3f1 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
6bb6a9c74b 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
1d73561460 Bug 513681 - part 3 - instantiate decoders without using COM goop.r=joe,a=blocker 2010-08-11 20:49:50 -04:00
Bobby Holley
9de0c252df 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
3ae7b09e52 Bug 513681 - part 1 - fix a few warnings.r=joe,a=blocker 2010-08-13 18:15:20 -04:00
Bobby Holley
4d20b09df3 Bug 587371 - Image.h PRUint32 getters shouldn't be COM-y. r=joe,a=blocker 2010-08-14 18:23:47 -04:00
Bobby Holley
f82f638ea9 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
c52fae20f3 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
Makoto Kato ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
9438e86b4d 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
Bobby Holley
ccbe5fc67b Bug 579122 - imgRequestProxy race condition can fire 2 OnStartDecodes in a row.r=joe 2010-08-02 15:44:49 -04:00
Daniel Holbert
c63155e8f1 (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
100caa546d Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Bobby Holley
7c0c7249a2 Bug 578591 and bug 579139 - Disable test_bug435296.html and test_bug478398.html due to intermittent orange. r=lumpy 2010-07-31 14:39:06 -04:00
L. David Baron
c06c57f6e6 Fix bustage from bug 570329 with s/windowsWidget/winWidget/g. 2010-07-30 20:50:52 -07:00
L. David Baron
9cc2e9ec05 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Makoto Kato
2732a9078d Bug 578588 - Test suite may not work correctly on Win64 because navigator.platform is Win64. r=sayrer, a=Test Only 2010-07-30 17:18:45 +09:00
Joe Drew
42e42531be Bug 572520: step 9, test asynchronous notification for regular loads and channel loads on static, animated, and 404 images. r=jrmuizel,bholley 2010-07-28 14:52:59 -07:00
Joe Drew
9ecbf020a6 Bug 572520: step 8, make LoadImage and LoadImageWithChannel scriptable so they are testable from js unit tests. r=jrmuizel sr=vlad 2010-07-28 14:52:50 -07:00
Joe Drew
364a44e4bd Bug 572520: step 7.1, Add some logging to imgStatusTracker. r=bholley 2010-07-28 14:52:34 -07:00
Joe Drew
e2fa5f1de8 Bug 572520: step 7, delay otherwise-synchronous notifications, and send them asynchronously later. r=jrmuizel,bholley sr=bz 2010-07-28 14:52:14 -07:00
Joe Drew
dce4fe07b6 Bug 572520: step 6, centralize the tracking of load/decode status. Make a single class, imgStatusTracker, which keeps track of the state of an image, and also takes care of calling notifications on imgRequestProxys. r=jrmuizel,bholley 2010-05-14 16:47:59 -04:00
Joe Drew
92722f5a0a Bug 572520: step 5, remove imgContainerRequest because it duplicates the body of NotifyProxyListener. Put its required abilities into imgRequestProxy and imgContainer. r=jrmuizel 2010-05-10 23:27:41 -04:00
Joe Drew
2dcfdc1cef Bug 572520: step 4, don't restart animation in NotifyProxyListener, do it in AddProxy instead. r=jrmuizel,bholley 2010-05-10 23:25:11 -04:00
Joe Drew
e6a143b60a Bug 572520: step 3, remove unused parameters on imgRequestProxy::on*. r=jrmuizel,bholley 2010-05-10 23:25:11 -04:00
Joe Drew
a66fc6b5d5 Bug 572520: step 1, undef LoadImage all over the place. r=jrmuizel,bholley 2010-07-28 14:51:37 -07:00
Bobby Holley
3b9b8747c5 Bug 580669 - Mac Menu icon crash with enabled image discarding.r=joe 2010-07-26 16:45:15 -04:00
Ilpo Ruotsalainen
820e122c88 Bug 489142 - Use fastpath in JPEG decoder when CMS mode is tagged-only. r=joedrew, approval2.0=benjamin
--HG--
extra : rebase_source : 7759b352b6b39c2fd6407e0614cbd342fd4f84db
2010-07-16 14:05:40 -07:00
timeless@mozdev.org
8ad4980739 Bug 577230 nsJPEGEncoder::mImageBufferReadPoint will be initialized after nsJPEGEncoder::mFinished
r=jmuizelaar

--HG--
extra : rebase_source : 4749619bdf1ffad836353da6d22a9f37377d8080
2010-07-07 12:38:40 +03:00
timeless@mozdev.org
9868ec7503 Bug 577992 warning: unused variable ‘isSentinel’ in imgDiscardTracker::Reset
r=bholley

--HG--
extra : rebase_source : 790bb046a21e45ca79c23cfc522cf89430467f8b
2010-07-15 15:55:04 +03:00
Dão Gottwald
844a6ea7d9 remove bogus test for bug 521495 2010-07-15 11:35:33 +02:00
Nils Maier
bc6be3b7e3 Bug 521495 - moz-icon:// protocol does not work with SVG icons. r=joe
--HG--
extra : rebase_source : 4db9f6f86c2a2811d2b21dc28a4ede4216f4e705
2010-07-15 10:14:11 +02:00
Bobby Holley
1bd914f84a Added some checks for the random orange in bug 578591.r=joe 2010-07-14 13:53:01 -04:00
Bobby Holley
4fa9fdbc7e Tests for bug 478398, as well as for a few others, now that we have a discard timer pref.r=joe 2010-07-13 13:30:39 -04:00
timeless@mozdev.org
a2ec57da57 Bug 577229 nsPNGEncoder::mImageBufferReadPoint will be initialized after nsPNGEncoder::mFinished
r=jmuizelaar

--HG--
extra : rebase_source : 20c5eb547b819fde0bdd915f7dc1f9a154e9ea57
2010-07-07 12:35:29 +03:00
deadfones@gmail.com
1e52c216e2 Bug 478398 - Don't hard code get_discard_timer_ms, use a pref instead.r=joe 2010-07-11 21:51:52 -04:00
Bobby Holley
b3dbd599a1 Bug 553982 - myvidoop.com login broken on trunk.r=joe 2010-07-11 21:11:03 -04:00
Bobby Holley
0d93ccdb3d Bug 576621 - clearing cache does NOT clear cached images.r=joe,gavin 2010-07-11 21:01:53 -04:00
Daniel Holbert
987e1c5c55 Bug 276431 helper-patch: Make args to imgIContainer::Draw const. r=joe 2010-07-05 13:49:05 -07:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Jesse Ruderman
14ecbf3e68 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Benjamin Smedberg
b164ed30f3 Followup to bug 568691 landing, QT-specific JS component on a CLOSED TREE. 2010-07-01 15:44:46 -04:00
Benjamin Smedberg
a249678c04 Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan

This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Bobby Holley
83147284c8 Bug 502694 - Images should not have individual discard timers.r=jrmuizel 2010-07-01 10:39:44 -07:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Jeff Muizelaar
c4f1d3499c Bug 570451 - Avoid adding unneeded lines to image; r=joe sr=vlad 2010-06-25 15:20:18 -04:00
Bobby Holley
36d9272186 Bug 517119 - Preallocate image source data buffer based on Content-Length.r=jrmuizel,sr=vlad. 2010-06-25 11:21:40 -07:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Kyle Huey
1b22082b07 Bug 567426: Make image encoders implement nsIAsyncInputStream. r=joedrew sr=bz 2010-06-23 10:24:56 -07:00
Ginn Chen
afb9960ccd Bug 572999 Make reftest recognize Solaris r=roc 2010-06-23 17:33:21 +08:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
f13550a209 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Jesse Ruderman
00adb2a3db Disable test that incorrectly relies on timing (bug 558678) 2010-06-27 21:31:42 -07:00
Jesse Ruderman
f04ef428cb Remove stray line breaks from NS_ERROR messages, since they interfere with log processing. rs=jst
--HG--
extra : rebase_source : 87421691da969e0ebe5fbfbc44cd8f18617d1351
2010-06-17 13:28:38 -07:00
Neil Rashbrook
9b48d90832 Bug 570002 Allow moz-icon://file:/// URIs again as download manager etc. use it r=joedrew 2010-06-17 12:27:14 +01:00
Glenn Randers-Pehrson
704aba7d66 Bug 433047 - Rendering artifacts in APNG frame. r=joedrew 2010-06-16 18:54:18 +02:00
Justin Wood
e4c1a8ba2e Backout Bug 570002 (changeset 218c8700878c) due to test failure. 2010-06-10 18:22:27 -04:00
Neil Rashbrook
23ff4f2785 Bug 570002 Allow moz-icon://file:/// URIs again r=joedrew,josh 2010-06-10 21:44:38 +01:00
Jeff Muizelaar
e88bb567f0 Bug 548612. qcms: Reduce size of output lookup tables. r=bgirard
We currently use a larger output lookup table than we probably need. Switch to
a common define for the table size and lower it. The should also give a small
improvement to startup time because we have fewer lookup table entries to
compute.
2010-06-04 14:48:30 -04:00
Glenn Randers-Pehrson
b3979b6582 Bug 551438 - "Require system libpng to be at version 1.4.1 or later" [r=joedrew]
--HG--
extra : rebase_source : bd1b6257e157ac5109d3dda738a0b1bc4fd8211e
2010-03-12 09:15:00 -05:00
Bobby Holley
d60f7b7849 Bug 573629 - gDiscardable and gDecodeOnDraw should be prefs. r=vlad 2010-06-24 11:33:34 -07:00
Johnny Stenback
9b2e0f4291 Followup fix for bug 565124. Don't write to bits other than the first bit in a 1-bit sized member. r=dholbert@mozilla.com, r=joe@drew.ca 2010-05-25 15:27:29 -07:00
Vladimir Vukicevic
e976fe877d b=563701; add memory reporters for imglib, canvas, and some gfx surfaces; r=joe 2010-05-21 21:10:14 -07:00
Brandon Sterne
bcab21793a Bug 515460 - enforce CSP during image redirects, r=joe 2010-05-20 13:08:02 -07:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Daniel Holbert
dfe84af2b6 typo fix in a comment: s/Thebex/Thebes/ (no bug, rs=#gfx) 2010-05-19 10:38:03 -07:00
Walter Meinl
dfdc8214b2 [OS/2] Bug 565847 - follow-up for icondecoder changes, r=joshmoz 2010-05-15 15:52:44 +03:00
Josh Aas
2beb9f7d50 Improvements for moz-icon URI code. Include a crash fix and tests. b=559496 r=joe r=jst 2010-05-13 16:20:30 -04:00
Timothy Nikkel
d7b3a7ecaf Bug 536495. Arguments to nsLoadGroup::RemoveRequest in imgRequestProxy::RemoveFromLoadGroup are flipped. r=joe 2010-05-11 19:30:42 -05:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Daniel Holbert
3aaa90658c Bug 565124: Use PRPackedBool instead of PRBool for member variables in imgContainer. r=joe 2010-05-12 14:41:47 -07:00
Timothy Nikkel
a9893292b9 back out e40cbab6a972 (Bug 564705) 590da60fd253 (Bug 507628 and bug 507991) b166415b8c3f (Bug 564368) 0dac5d3eeb97 (Bug 564063) 116e56d84770 (Bug 563407) c51c93f5240f (Bug 536495) for some orange 2010-05-11 22:01:08 -05:00
Timothy Nikkel
7ffbe40d5e Bug 536495. Arguments to nsLoadGroup::RemoveRequest in imgRequestProxy::RemoveFromLoadGroup are flipped. r=joe 2010-05-11 19:30:42 -05:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
timeless@mozdev.org
637066f2c1 Bug 562584 - unused variables cachesize and queuesize in imgLoader::VerifyCacheSizes, r=joe 2010-04-28 23:27:00 -07:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Jeff Muizelaar
9ed96a4341 Bug 559660. Mark Windows surfaces dirty when we muck with underlying bits. r=joe
If we don't do this some animated gifs break with the cairo update.
2010-04-26 10:29:59 -04:00
David Baron
945430ee19 Bug 502301 - fix C++0x narrowing conversion inside {} compilation errors [r=benjamin] 2010-04-20 10:41:21 +02:00
Smokey Ardisson
ba91a93b28 Bug 397823 - moz-icon URL for nonexistent content type doesn't return generic icon on Mac OS X; fall back to fetching the icon for NSFileTypeUnknown. r=josh 2010-04-12 00:35:50 -04:00
Joe Drew
66b8305775 Create a test to ensure we properly handle animated images with frames that dispose by clearing. This would have caught some of the regressions with the Cairo update. 2010-04-08 16:10:48 -04:00
Ted Mielczarek
9034abfe3b bug 553635 - link libimgicon into libxul in gtk builds. r=bsmedberg 2010-03-20 12:14:15 -04:00
Brian Crowder
0bd02845cd Another typo, ugh. 2010-03-30 14:05:00 -07:00
Brian Crowder
cc6c908bab Bug 471917 - fix PNG reftests to respect color-management settings, r=mfinkle, sr=dbaron 2010-03-29 14:56:46 -07:00
Neil Rashbrook
85d3ff805d Bug 553874 - Add a reftest that compares blank to blank, to get a chance to remove the file created by bug415761.sjs so the tinderboxes don't fail trying to clean it up for the next run
--HG--
rename : modules/libpr0n/test/reftest/icon/win/bug415761.sjs => modules/libpr0n/test/reftest/icon/win/bug415761cleanup.sjs
2010-03-21 21:33:50 -07:00
Phil Ringnalda
e155b8f7ff Bug 553874 - see whether a non-executable bug415761.ico is enough to let us consistently remove it when it's copied to ☺.ico 2010-03-21 19:51:34 -07:00
Gary Kwong
5852797bd7 Bug 544481 - Build fails on Ubuntu Lucid Lynx using 'dash' shell (# /bin/sh: Syntax error: end of file unexpected (expecting "}")). r=joe 2010-03-21 10:41:26 +01:00
Neil Rashbrook
1dc6cbeca8 Bug 415761 Adding Windows-only test r=waldo 2010-03-20 23:57:57 +00:00
Bas Schouten
493780f68f Bug 550537: Use a different optimal operator for Direct2D. r=jrmuizel 2010-03-12 11:08:25 +01:00
Joe Drew
e4b3d4e2f4 Bug 546272 - Some animated images have cropped frames. Fix several issues that didn't make sense in a world where frames aren't always at (0, 0), and make the GIF decoder report its real sizes. r=roc,vlad 2010-03-10 17:09:06 -05:00
Joe Drew
7e3291a306 Bug 546272 - Tests for images with smaller-than-full-canvas frame sizes. 2010-03-10 17:01:35 -05:00
Ehren Metcalfe
39d4440c7f Bug 536646 - nsJPEGEncoder::errorExit incorrectly reports JERR_OUT_OF_MEMORY as NS_ERROR_FAILURE instead of NS_ERROR_OUT_OF_MEMORY. r=joe
--HG--
extra : rebase_source : f1097aa56ca3c53270ba236df804ea677aaf0df8
2010-03-10 13:50:35 +01:00
Glenn Randers-Pehrson
a16fd7ff34 Bug 544747 - Update libpng to version 1.4.1. r=joe 2010-03-09 13:22:44 -05:00
Boris Zbarsky
2e4e658c7d Bug 488850. Remove imgRequestProxies from the loadgroup asynchronously. r=joedrew, sr=vlad 2010-03-08 14:34:52 -05:00
Joe Drew
8226268b84 Bug 547143 - Basic test. 2010-03-08 14:01:07 -05:00
Joe Drew
a3bca64786 Bug 547143. r=jrmuizel sr=roc 2010-03-08 14:01:04 -05:00
Joe Drew
6bbf88a4b5 Bug 516772 - nsImageFrame ends up using random values for image size if mError set in imgContainer. r=bholley/bz 2010-03-07 10:48:24 +01:00
Mike Kristoffersen
abdb2aa82c Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Brad Lassey
7941559ff8 bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Bas Schouten
10b251fa8d Bug 534787: Properly flush and markdirty image surfaces on Locking/Unlocking image data. r=jrmuizel 2010-03-02 02:04:30 +01:00