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
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
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
Bobby Holley
a9fbb7d491
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
7d7660f740
Fix bustage from bug 570329 with s/windowsWidget/winWidget/g.
2010-07-30 20:50:52 -07:00
L. David Baron
b0ac8dc333
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
ea3c3d0b50
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
f815830de5
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
a0faca38f1
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
5bea9d29a9
Bug 572520: step 7.1, Add some logging to imgStatusTracker. r=bholley
2010-07-28 14:52:34 -07:00
Joe Drew
e37030595b
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
0c39ad9c10
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
f6335ecb84
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
0c58465024
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
251ae15b83
Bug 572520: step 3, remove unused parameters on imgRequestProxy::on*. r=jrmuizel,bholley
2010-05-10 23:25:11 -04:00
Joe Drew
c1ac06a45e
Bug 572520: step 1, undef LoadImage all over the place. r=jrmuizel,bholley
2010-07-28 14:51:37 -07:00
Bobby Holley
0c0db8d51f
Bug 580669 - Mac Menu icon crash with enabled image discarding.r=joe
2010-07-26 16:45:15 -04:00
Ilpo Ruotsalainen
78ccec8be5
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
c32cacc40f
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
429854f1ec
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
c7d6319911
remove bogus test for bug 521495
2010-07-15 11:35:33 +02:00
Nils Maier
9051d6a92c
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
1a25380c15
Added some checks for the random orange in bug 578591.r=joe
2010-07-14 13:53:01 -04:00
Bobby Holley
4d8ef3bd3e
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
ecdf6abded
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
2cbd236609
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
80dbbc7df5
Bug 553982 - myvidoop.com login broken on trunk.r=joe
2010-07-11 21:11:03 -04:00
Bobby Holley
57fe00ab9a
Bug 576621 - clearing cache does NOT clear cached images.r=joe,gavin
2010-07-11 21:01:53 -04:00
Daniel Holbert
ec22b5aebb
Bug 276431 helper-patch: Make args to imgIContainer::Draw const. r=joe
2010-07-05 13:49:05 -07:00
Saint Wesonga
4bd9280674
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-05 11:42:18 +02:00
Dão Gottwald
b2124655df
Backed out changeset 59ace8d80ce8
2010-07-04 22:01:13 +02:00
Saint Wesonga
8952503f91
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-04 21:39:17 +02:00
Jesse Ruderman
3aa2e3fa71
Add bug numbers for all remaining asserts() annotations in crashtests and reftests
2010-07-01 19:33:56 -07:00
Benjamin Smedberg
8391bd98eb
Followup to bug 568691 landing, QT-specific JS component on a CLOSED TREE.
2010-07-01 15:44:46 -04:00
Benjamin Smedberg
a08857c778
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
43f9633453
Bug 502694 - Images should not have individual discard timers.r=jrmuizel
2010-07-01 10:39:44 -07:00
Benjamin Smedberg
e17740e1ab
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
29e089defb
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
105a409ca0
Bug 570451 - Avoid adding unneeded lines to image; r=joe sr=vlad
2010-06-25 15:20:18 -04:00
Bobby Holley
fa74df73e2
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
822ccb0789
Merge mozilla-central into the static-xpcom-registration branch.
2010-06-23 17:26:25 -04:00
Kyle Huey
2ac461c8a4
Bug 567426: Make image encoders implement nsIAsyncInputStream. r=joedrew sr=bz
2010-06-23 10:24:56 -07:00
Ginn Chen
4e372ae7c4
Bug 572999 Make reftest recognize Solaris r=roc
2010-06-23 17:33:21 +08:00
Benjamin Smedberg
0df0345c66
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
a7e67d32ad
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
0978149cf3
Backed out changeset db6f8068e9a5
2010-06-29 17:49:21 +02:00
Saint Wesonga
c81affe35c
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg
2010-06-29 17:14:36 +02:00
Jesse Ruderman
ebe7afb77c
Disable test that incorrectly relies on timing (bug 558678)
2010-06-27 21:31:42 -07:00
Jesse Ruderman
9478c01a40
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
dd3e5b6d94
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
2fdb1a2d73
Bug 433047 - Rendering artifacts in APNG frame. r=joedrew
2010-06-16 18:54:18 +02:00
Justin Wood
6806f73a8a
Backout Bug 570002 (changeset 218c8700878c) due to test failure.
2010-06-10 18:22:27 -04:00
Neil Rashbrook
383968474c
Bug 570002 Allow moz-icon://file:/// URIs again r=joedrew,josh
2010-06-10 21:44:38 +01:00
Jeff Muizelaar
e6b3a462fa
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
18488786d9
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
a1866269b4
Bug 573629 - gDiscardable and gDecodeOnDraw should be prefs. r=vlad
2010-06-24 11:33:34 -07:00
Johnny Stenback
242fcedbea
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
569d29edc3
b=563701; add memory reporters for imglib, canvas, and some gfx surfaces; r=joe
2010-05-21 21:10:14 -07:00
Brandon Sterne
576c1b9813
Bug 515460 - enforce CSP during image redirects, r=joe
2010-05-20 13:08:02 -07:00
Ehsan Akhgari
db9d404619
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
Daniel Holbert
a0334563a8
typo fix in a comment: s/Thebex/Thebes/ (no bug, rs=#gfx)
2010-05-19 10:38:03 -07:00
Walter Meinl
94688afafa
[OS/2] Bug 565847 - follow-up for icondecoder changes, r=joshmoz
2010-05-15 15:52:44 +03:00
Josh Aas
0976642ba4
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
607f771dfc
Bug 536495. Arguments to nsLoadGroup::RemoveRequest in imgRequestProxy::RemoveFromLoadGroup are flipped. r=joe
2010-05-11 19:30:42 -05:00
Michael Kohler
6c0f59f4a6
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Daniel Holbert
9cf40bebf3
Bug 565124: Use PRPackedBool instead of PRBool for member variables in imgContainer. r=joe
2010-05-12 14:41:47 -07:00
Timothy Nikkel
7ba76a2011
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
20fe1fb108
Bug 536495. Arguments to nsLoadGroup::RemoveRequest in imgRequestProxy::RemoveFromLoadGroup are flipped. r=joe
2010-05-11 19:30:42 -05:00
L. David Baron
c4eb38acd9
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
c55c2e623a
Bug 562584 - unused variables cachesize and queuesize in imgLoader::VerifyCacheSizes, r=joe
2010-04-28 23:27:00 -07:00
Mitchell Field
f544d71a9d
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
bd232d2cb8
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
fa87f07d8d
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
c66b15e601
Bug 502301 - fix C++0x narrowing conversion inside {} compilation errors [r=benjamin]
2010-04-20 10:41:21 +02:00
Smokey Ardisson
05cbdf3897
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
2ca9794b62
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
8f38c0f6dc
bug 553635 - link libimgicon into libxul in gtk builds. r=bsmedberg
2010-03-20 12:14:15 -04:00
Brian Crowder
5f797f4c70
Another typo, ugh.
2010-03-30 14:05:00 -07:00
Brian Crowder
ebfc565fa0
Bug 471917 - fix PNG reftests to respect color-management settings, r=mfinkle, sr=dbaron
2010-03-29 14:56:46 -07:00
Neil Rashbrook
7d87ad3155
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
71308ef3e6
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
6153dd7db0
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
bb888ef855
Bug 415761 Adding Windows-only test r=waldo
2010-03-20 23:57:57 +00:00
Bas Schouten
41977ad8e8
Bug 550537: Use a different optimal operator for Direct2D. r=jrmuizel
2010-03-12 11:08:25 +01:00
Joe Drew
f1e59965d9
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
3601f22d9a
Bug 546272 - Tests for images with smaller-than-full-canvas frame sizes.
2010-03-10 17:01:35 -05:00
Ehren Metcalfe
f621b49574
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
ae934ea79f
Bug 544747 - Update libpng to version 1.4.1. r=joe
2010-03-09 13:22:44 -05:00
Boris Zbarsky
a6b567f0b0
Bug 488850. Remove imgRequestProxies from the loadgroup asynchronously. r=joedrew, sr=vlad
2010-03-08 14:34:52 -05:00
Joe Drew
fdddc3e3df
Bug 547143 - Basic test.
2010-03-08 14:01:07 -05:00
Joe Drew
3a31d94f82
Bug 547143. r=jrmuizel sr=roc
2010-03-08 14:01:04 -05:00
Joe Drew
150726db3f
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
cd34b8821b
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
b5f014533e
bug 547521 - enable building for windows mobile with --disable-libxul r=ted
2010-03-04 13:47:35 -05:00
Bas Schouten
930550ada6
Bug 534787: Properly flush and markdirty image surfaces on Locking/Unlocking image data. r=jrmuizel
2010-03-02 02:04:30 +01:00
Bas Schouten
ce3d5e1f69
Bug 527707: Add Direct2D and DirectWrite backend integration to thebes and widget. Preffed off by default r=jrmuizel r=jmathies r=jfkthame
2010-02-25 22:36:07 -08:00
Bas Schouten
706fd07eda
Bug 545513: Flush surfaces and mark them dirty at the correct points. r=jrmuizel
2010-02-25 10:14:30 -08:00
Brandon Sterne
5cd19ec3b5
Bug 452093 - [r=bzbarsky r=joe]
2010-02-11 15:59:00 -06:00
Jesse Ruderman
d78c3163b5
Remove duplicated, out-of-date reftest.list instructions
2010-01-29 03:25:48 -08:00
Jesse Ruderman
0fc8ba572d
Fix bug-number comments in reftest.list files
2010-01-08 19:54:28 -08:00
Glenn Randers-Pehrson
2c053cb495
Bug 532645 - "Upgrade libpng to version 1.4.0" [r+rs=joe]
2010-01-05 15:46:26 -06:00
Metal Sonic
80ae9b3620
Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv.
2009-12-21 21:50:30 +00:00
Bobby Holley
e36296240f
Bug 516334: Track image decode notifications to send correct notifications to late-coming consumers (Tp4 orange fix). r=joe
2009-12-14 10:35:47 +00:00
Jonathan Kew
445bbc5280
Bug 531363: test flags correctly in jpeg decoder. r=bholley
2009-12-14 10:35:46 +00:00
Glenn Randers-Pehrson
5311b03652
Bug 529683 - Code cleanup needed in PNG decoder, r=joe
2009-12-03 18:41:00 -08:00
Olli Pettay
423522c88b
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Joe Drew
38a6c31738
Bug 529732 - Remove bogus NS_ABORT_IF_FALSE and reenable tests. r=jrmuizel
2009-11-19 01:09:28 -05:00
Joe Drew
6c9a3355ec
Bug 529732 - Disable gif crashtests until we remove the NS_ABORT_IF_FALSE that fires on them.
2009-11-19 00:49:10 -05:00
Joe Drew
d380ac2a18
Bug 523528 and Bug 526452 - crashtests.
...
--HG--
extra : rebase_source : dff3ae65f1deb1a411af59ef98b590dba17f46a0
2009-11-18 18:20:31 -05:00
Joe Drew
d52fdaf48d
Bug 523528 - Handle compositing frame initialization failure properly. r=jrmuizel
...
--HG--
extra : rebase_source : dc7fe8226424e5a0622bd97fadcbbd6124d4a1f6
2009-11-18 18:20:27 -05:00
Makoto Kato
00f9db529f
Bug 526452 - imgContainer::ClearFrame() should handle failure to lockImage/null surfaces. r=jrmuizel
...
--HG--
extra : rebase_source : 013117f751f87ab9bbe087793d044bba1b6f02da
2009-11-18 18:20:24 -05:00
Zeev Tarantov
7274fef1e7
Bug 482119 - Remove unused write_icc_profile. r=joe
2009-11-14 19:48:55 +01:00
Joe Drew
b15dd28afe
Bug 523528 - Crashes in imgFrame::Draw(). Handle failure to composite frames gracefully, instead of just asserting that it's impossible to get into a situation where we draw paletted frames. r=jrmuizel,vlad,ak
2009-11-12 18:18:40 -05:00
Joe Drew
dff1dee626
Bug 497665 and Bug 514605 - Tests.
2009-11-12 18:00:31 -05:00
Joe Drew
bd01c452f3
Bug 514605 - Possible for concurrent reloads of images to return old/different results. r=vlad,jrmuizel
...
Only set the load ID when we're sure that the entry we're using is valid/going
to be valid. If we're validating an image over the network, we must only set
its load ID after we've validated it.
2009-11-12 18:00:30 -05:00
Joe Drew
bc47c440a7
Bug 497665 - Images are downloaded multiple times if defined multiple times on force-reload. r=jrmuizel,vlad
...
Don't unconditionally remove from the cache if we're force-reloading. Instead,
refuse to validate images when we're force-reloading, unless we've already
validated them for this context.
2009-11-12 18:00:30 -05:00
Glenn Randers-Pehrson
056937ca8c
Bug 504805 - "Update libpng to version 1.2.40" [rs=joe]
2009-11-10 19:39:31 -06:00
Robert O'Callahan
894f1656d4
Bug 501627. Take out unncessary and harmful surface size check. r=jrmuizelaar
2009-11-10 14:00:36 +13:00
Dave Townsend
11d299dd23
Bug 526651: Interfaces changed between the 1.9.2 branch and trunk with no IID rev. r=joe, r=mak77, r=myk
2009-11-06 14:33:17 -08:00
Jeff Muizelaar
0eface99b7
Add some tests that exercise bug 525326. r=joe
2009-11-02 13:15:09 -05:00
Gijs Kruitbosch
c888c1980e
Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
...
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Jeff Muizelaar
445b58dc3f
Add a test for gif comment parsing.
2009-10-21 13:31:04 -04:00
Ginn Chen
cab124956d
Bug 516665 disorted images with moz-icon://*?size=dialog r=bobbyholley
2009-10-20 14:01:12 +08:00
Jeff Muizelaar
2ad75488a2
Bug 519589. Add some tests for GIF transparency.
...
This is the begining of the long needed GIF test suite.
2009-10-17 00:06:36 -04:00
Bobby Holley
ba24a9018c
Bug 512269 - UUID rev that should have been in the last push.r=joe
2009-10-15 21:17:04 -07:00
Bobby Holley
cd85e741f0
Bug 512269 - imgIDecoder shouldn't use an nsIInputStream for input. r=joe
2009-10-15 19:54:44 -07:00
Alfred Kayser
f979b2af14
Bug 519589 - Restore our handling of transparent pixels outside the colormap's bounds. r=joe
2009-10-15 21:37:39 -04:00
L. David Baron
a64226cb90
Change NS_ABORT_IF_FALSE to NS_ASSERTION since the icon decoder causes it to fire quite a bit. (Bug 518704)
2009-10-07 20:22:42 -07:00
Bobby Holley
b8fc782588
Bug 517543 - need a STATUS_DECODE_COMPLETE for imgIRequest.r=joe
2009-10-06 21:39:30 -07:00
Bobby Holley
ace91c0d7d
Bug 517091 - Don't do an expensive asynchronous RequestDecode() if there's already an active full decoder. r=joe
2009-09-19 12:33:00 -07:00
Phil Ringnalda
6fce97e58d
Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted
2009-09-18 19:59:53 -07:00
Bobby Holley
758b701626
Bug 516335 - Calling lockImage multiple times for borderImage. r=joe
2009-09-15 18:33:14 -06:00
Bobby Holley
78477abd60
Bug 516486 - mDiscardable should be immutable - use lockImage() instead for animated images. r=joe
2009-09-15 18:30:52 -06:00
Bobby Holley
651098e3db
Bug 516335 - Stopgap patch to disable failing assertion. r=bz
2009-09-15 00:09:22 -06:00
Bobby Holley
ee565047f5
orange fix - disabled the wrong test in f34cc41267d8. r=lumpy
2009-09-13 22:00:39 -06:00
Bobby Holley
1bdca9e1fd
Bug 516311 - Disable decode-on-draw and discarding until we can figure out what's going on with perf. r=joe
2009-09-13 19:18:59 -06:00
Bobby Holley
c1225c588a
Bug 516265 - GIF Decoder doesn't send close notifications if it never gets a size. r=joe
2009-09-13 14:53:55 -04:00
Dão Gottwald
bc35c3df59
Backed out experimental code from changeset 455f624cabca (CLOSED TREE)
2009-09-13 11:32:45 +02:00
Joe Drew
fb75811325
Tell imgContainer to decode while/after loading, effectively disabling decode-on-draw. Test commit in a CLOSED TREE to check perf impliciations.
2009-09-12 22:41:50 -04:00
Bobby Holley
c32a1505e2
Bug 435296 - Tests. r=dolske
2009-09-12 16:44:19 -06:00
Bobby Holley
f9b8d27445
Bug 512435 - Tests. r=dolske
2009-09-12 16:44:19 -06:00
Bobby Holley
86dd317584
Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad
2009-09-12 16:44:18 -06:00
Alfred Kayser
004cdccd0f
Bug 514776 - [r=joe sr=vlad]
2009-09-12 00:27:13 -05:00
Alfred Kayser
453dfcf028
Bug 513738 - [r=JOEDREW!]
2009-09-04 20:47:11 -05:00
Joe Drew
1fd72ad1bb
Bug 511689 - Ensure we're always on the correct frame when decoding GIF images. r=jrmuizel,alfredkeyser sr=vlad
2009-09-02 11:50:14 -04:00
Joe Drew
f605743309
Bug 513749 - Mismerge/thinko makes animated images do extra work. r=bholley
2009-09-02 11:48:23 -04:00
Benjamin Smedberg
ba372f3a4c
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Jeff Muizelaar
1b8c2efe61
imported patch jpeg-icc
2009-08-13 18:33:24 -04:00
Bobby Holley
6be6d69d7c
Bug 509929 - Reference cycle between nsProgressNotificationProxy and nsHttpChannel on channel redirect. r=biesi
2009-08-13 13:20:41 +02:00
Bobby Holley
4275f152b5
Bug 507902 - nsImageFrame static Icon Loads should not use the mListener of the first instantiated nsImageFrame.r=bz,joe
2009-08-12 16:23:38 +02:00
Joe Drew
310e7e78c5
Bug 506063. Add rect emptiness check to imgContainer::ExtractCurrentFrame(). r=vlad
...
--HG--
extra : rebase_source : 958125394452e818ea3a797e0848ac04373a7080
2009-08-05 14:39:05 +12:00
Peter Weilbacher
c0eddbab76
[OS/2] Bug 413529 - enable WPS icons again for all apps, r=wuno@lsvw
2009-08-01 22:21:08 +03:00
Bobby Holley
cd0b27cceb
Bug 504822 - Remove XBM support from Mozilla. r=joe sr=vladimir
2009-07-29 10:13:08 -04:00
Justin Dolske
cf30b610c0
Bug 503573 - moz-icon doesn't work on Window CE. r=vlad
2009-07-28 23:19:34 -07:00
Justin Dolske
b141dbb643
Bug 506811 - nsIconChannel assumes writing to non-aligned 32bit int is ok. r=joe
2009-07-28 23:19:31 -07:00
Christian Biesinger
f8b424f36e
Fix memory leaks from changeset dcda49ff1a26 - need to make sure that
...
the destructor gets called for the hashtable entries.
Also fixes a nit (AddRef() -> NS_ADDREF_THIS())
r+sr=bz
2009-07-28 19:46:04 +02:00
Christian Biesinger
3e4562bc01
Bug 487638 - status bar blames wrong resource when downloading slow responding resource
...
- Makes nsDocLoader store the last-sent status message for each request in the
corresponding nsRequestInfo, and keeps a flag to indicate whether the request
is done
- When a request finishes, it looks for a random request that is not done and
has a non-empty status, and if it finds one, sends that status message to the
listeners
- To make this all work, the patch also changes imagelib so that status and
state messages sent for images are sent with the imgIRequest as the request and
not the channel. This is necessary because the channel is not part of the
loadgroup for images, only the imgIRequest is.
- Make the BrowserStatusFilter always update its pending status message if it
is dirty, even when that matches the currently displayed status message
r+sr=bz
2009-07-28 18:13:48 +02:00
Ryo Kawaguchi
091c57b039
Bug 506409: Merge Draw*ImageInternal methods into their Draw*Image callers, and fix a comment in imgIContainer.idl. patch=ryo r=roc
2009-07-27 16:48:13 -07:00
Joe Drew
99c29cce56
Bug 505474 - Restore tracking of whether we've finished decoding a given GIF frame, so we don't call EndImageFrame() twice for a single frame. r=vlad
...
Before bug 753 landed, we implicitly tracked whether we'd called
EndImageFrame() by setting mImageFrame to null inside EndImageFrame(). Once
we stopped doing that, we tried writing to memory that had already been freed.
(This memory is actually freed once we error out on the invalid GIF, but the
internal state-tracking mechanics made it so we never wrote to that memory
even though we have stale pointers to it. Unfortunately when we entered
EndImageFrame() a second time, that state tracking was invalid and we
attempted to write to the stale pointer.)
This patch introduces a tracking variable, mCurrentFrame, which is set to the
frame of the currently-decoding frame when we're in the middle of decoding
it, and -1 otherwise. This ensures we don't enter EndImageFrame() a second
time, restoring the functionality we had prior to bug 753.
2009-07-21 21:20:01 -07:00
Joe Drew
cdf4b6870f
Bug 505473 - Fix alpha handling so we composite animated GIFs properly. r=vlad
2009-07-21 21:19:59 -07:00
Rob Arnold
78c5a292a0
Bug 502711 - imgITools cannot decode images stored in JARs r=joe
...
--HG--
extra : rebase_source : 002851f48d458d7ab0a4bbf87fd79fc893c425cb
2009-07-21 15:57:25 -07:00
Joe Drew
2aa59235f2
Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
...
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Ehsan Akhgari
0ea9820eec
Bug 496292 - Support changing the Accept header via a preference; r=joedrew sr=bzbarsky
2009-07-15 11:52:40 +04:30
Glenn Randers-Pehrson
fb50b68efa
Bug 397593. Reject any ancillary chunks after IDAT that have a bad CRC. r=joe,sr=vlad
...
--HG--
extra : rebase_source : 461bff64a9cff608435520eaab6c78f64e354d51
2009-06-29 11:08:40 +12:00
Kyle Huey
c2e65659f8
Bug 415761. Support Unicode file names in GetHIconFromFile. r=vlad
...
--HG--
extra : rebase_source : 855aeee93d123575f1f98c3d9833d31510feae1e
2009-06-24 17:50:36 -04:00
timeless@mozdev.org
c6754e9e28
Bug 494680 nsMozIconURI::SetSpec warning: comparison between signed and unsigned
...
r+sr=biesi
2009-06-27 18:42:50 -07:00
Steven Michaud
e4958ecdca
get rid of nsIInternetConfigService. b=489864 r=josh sr=roc
2009-06-23 14:09:19 -05:00
Joe Drew
42d5d18bb7
Bug 496593 - Image cache entry comparison is wrong. r=vladimir, sr=bzbarsky
2009-06-15 15:33:48 -07:00
Joe Drew
0fa618a7c1
Bug 472590 - Always call OnStopFrame() from the GIF decoder, even if we didn't decode any rows (due to an invalid GIF). r=vlad
2009-05-14 21:56:54 -04:00
Alfred Kayser
4837cd5ca8
Bug 488685. GIF decoder should pass correct frame width. r=vlad,sr=joe
...
--HG--
extra : rebase_source : 1effad65df83ee2e2e50882f702c159a88fe909b
2009-05-13 22:20:36 +12:00
Joe Drew
32d2e9d9b8
Bug 483407 - Add an ok(true) to ensure we have at least one ok() statement.
2009-05-12 00:07:21 -04:00
Steven Michaud
b323b81296
Backed out changeset add33a95e3ef to fix talos crashes. b=489864
2009-05-11 15:40:32 -05:00
Steven Michaud
d170a6ab3a
Backed out changeset add33a95e3ef to fix talos crashes. b=489864
2009-05-11 15:39:37 -05:00
Joe Drew
3f93bf4541
Bug 490949 - Add missing file.
2009-05-11 15:28:39 -04:00
Joe Drew
3ba9ebd8d4
Bug 490949 - Test to ensure that we reload images when they have Cache-Control: no-cache specified.
2009-05-11 15:15:42 -04:00
Joe Drew
d3a6720b34
Bug 490949 - Take into account the load flags of the image's load group when checking whether we're bypassing the cache. r=vlad
2009-05-11 15:15:36 -04:00
Steven Michaud
580be164cf
get rid of nsIInternetConfigService (patch mostly by joshmoz@mozilla.com). b=489864 r=josh sr=roc
2009-05-11 13:17:35 -05:00
Joe Drew
4ecdd21e8e
Bug 490384 - Disable the ok() test in the test for bug 466586, because it's failing more frequently than it ought, and we can't figure out why. Pushing into a CLOSED TREE to help fix orangeness.
2009-05-08 17:43:03 -04:00
Joe Drew
a9bc9ba859
Bug 490384 - revert debugging code in CLOSED TREE
2009-05-08 17:28:08 -04:00
Joe Drew
6a4496f657
Bug 490384 - Commit some debugging code to a CLOSED TREE in the hopes that we can reproduce the oranges.
2009-05-08 15:24:55 -04:00
Joe Drew
c77ce2595e
Bug 490384 - Only evict unused cache entries when under memory pressure. r=vlad a=sdwilsh for push into CLOSED TREE
...
Prior to thise, when we were under memory pressure, we would remove every
entry from the cache, even ones that were currently held in memory due to
their use on e.g. a web page. Now we only remove things from the cache that
will actually free up memory, further fixing bug 466586.
2009-05-07 16:55:06 -04:00
L. David Baron
f0c43ecb3d
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Benjamin Smedberg
147cdd7058
Bug 486064 - gfxtypes.h and gfxTypes.h conflict in flattened include directories on case-insensitive filesystems, r=joe
...
--HG--
rename : gfx/idl/gfxtypes.idl => gfx/idl/gfxidltypes.idl
2009-05-04 12:38:16 -04:00
Siddharth Agarwal
c61dd94f15
Part 3 of bug 472093 -- fix build system to use NTDDI_VERSION instead of random checks -- add MOZ_NTDDI_* defines, switch code over to use these defines.
...
r=ted for build config parts, r=jmathies for app association and download manager changes, r+sr=bz for helper app service, r=vlad + sr=ted for stock icons.
2009-04-12 20:25:29 +05:30
Serge Gautherie
c17d8fb2ec
Bug 488091 - Review |make check| usages; (Av2a) Remove empty targets; r=ted.mielczarek
2009-04-29 00:57:50 +02:00
timeless@mozdev.org
b394eaaeea
Backed out changeset b1207d1e0ea4
...
reverting commit which breaks computers running antivirus software
2009-04-26 05:34:42 +02:00
Bob Clary
e3b53a78e3
bug 285595 - crash test by Neel Mehta.
2009-04-24 10:08:08 -07:00
Peter Weilbacher
8f59ba8025
Bug 488468: qcms build break with pre-4 GCCs (#if 0 commented text should be C/C++ commented), r=jmuizelaar
2009-04-23 19:38:11 +02:00
Joe Drew
c3671f00b6
Re-enable colour management reftests now that bug 488955 is fixed.
2009-04-22 13:50:02 -04:00
Joe Drew
edc8c9ba18
Disable the colour managment reftests, since they fail.
2009-04-21 23:29:45 -04:00
Jeff Muizelaar
48885a41a6
Bug 489133 - Tests for invalid whitepoints and bad cHRM chunks in PNGs. r=joe
2009-04-21 22:20:56 -04:00
Jeremy Huddleston
27d33cc2a7
Bug 485863 - modules/libpr0n/decoders/icon fails to build nsString problems. r=benjamin
2009-04-20 16:52:03 +02:00
L. David Baron
14909517dc
Free gIconFactory in GTK nsIconChannel implementation. (Bug 488184) r=karlt
2009-04-16 13:55:12 -07:00
Josh Aas
bbda89d20d
Remove unused Carbon icon decoder. b=486907 sr=pav
2009-04-07 16:10:35 -04:00
Jeff Muizelaar
52c97edf1e
Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
...
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Adam Barth
e56a5f719d
Bug 465007. Harmonize content sniffing in HTML5 and Firefox. r=jdrew,sr=bzbarsky
2009-04-06 12:30:03 +12:00
Alfred Kayser
4d1e876ca8
Bug 418871 - Remove unused parts from imgIContainer.idl. r=joe, sr=vlad
2009-04-05 16:52:18 +02:00
Joe Drew
db7246feb6
Backed out changeset 6f3c2171bbb2:
...
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00