Commit Graph

1079 Commits

Author SHA1 Message Date
Joe Drew
b6eec2ca8e Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad 2008-12-19 17:35:50 -05:00
Joe Drew
70b2823255 Backed out changeset 4b22cab7e989 2008-12-11 16:47:47 -08:00
Joe Drew
0b04049fcd Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-11 15:28:58 -08:00
Robert Sayre
665787ada2 Backout JOEDREW! patches for bug 89419 and bug 393936. Looks like they make mochitest leak. 2008-12-11 01:27:58 -08:00
Robert Sayre
e4b5130323 Backout JOEDREW! patches for bug 468160 and bug 414259. Looks like they make mochitest leak. 2008-12-11 00:57:49 -08:00
Joe Drew
fea8117847 Fix the obvious mistakes I'd made in the previous patch for bug 468160. 2008-12-10 21:10:03 -08:00
Joe Drew
c263ca57b2 Keep track of the URI we're keyed on in imgRequests. This makes it possible to avoid leaks. b=468160 r=bzbarsky sr=vlad 2008-12-10 20:58:28 -08:00
Joe Drew
65aa86770a Don't discard animated images so we don't have to worry about how to restore them. b=414259 r/sr=vlad 2008-12-10 20:58:28 -08:00
Joe Drew
dfee8c678c Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-10 16:26:15 -08:00
Joe Drew
75a9cd7d92 Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad 2008-12-10 16:25:34 -08:00
Shawn Wilsher
fe66178c10 Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
Shawn Wilsher
205d129c10 Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
2a28a8b2b1 Bug 466582 - smarter handling of remote chrome (and not allowing it)
r=bsmedberg, r=bz, sr=bz
2008-12-08 17:14:14 -05:00
Serge Gautherie
4001c825fe Bug 458847 - colordepth.html TEST-UNEXPECTED-FAIL on my Windows 2000: 24<->32 bit colors mismatch; (Av2a) Allow higher values, on all platforms; r=dbaron 2008-12-02 13:45:09 +01:00
Brad Lassey
2e8581a986 Bug 460767 - Crash in imgRequest.cpp in OOM conditions r=pavlov r=joedrew a19b2=beltzner. CLOSED TREE 2008-11-24 11:57:47 -05:00
Joe Drew
82356d4615 Backed out changeset 6bedb1e92dd0 due to refcount leaks 2008-11-07 15:01:35 -05:00
Joe Drew
16d0ef182e Bug 393936 - Cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call CancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). r=bz, sr=pavlov, a=blocking1.9.1+ 2008-11-07 14:35:22 -05:00
Dave Townsend
af447b1195 Backed out changeset 673d1ba18849 from bug 455057 as the likely cause of the Vista Ts regression 2008-11-07 15:21:35 +00:00
Dave Townsend
ddc73a9bb1 Backed out changeset 673d1ba18849 from bug 455057 as the likely cause of the
Vista Ts regression
2008-11-07 15:21:23 +00:00
Justin Dolske
d970a274b5 Bug 455057 - some chrome images have embedded profiles (sRGB chunk removal). ui-r=faaborg, r=dbaron 2008-11-05 19:19:44 -08:00
Joe Drew
f863e96a75 Crash [@imgRequest::NotifyProxyListener(imgRequestProxy*)] at tokyomango.com - bug 441563 r=vladimir sr=pavlov 2008-11-06 16:31:20 -05:00
Phil Ringnalda
538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Ian
f2cd72a0db Bug 251475. Make sure channels don't return null for the originalURI. Initial work by Daniel Kraft <domob@daniel-kraft.net> and Brandon Ferguson <bnferguson@gmail.com>. r+sr=bzbarsky. 2008-10-15 16:05:23 -04:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Boris Zbarsky
2111950092 Backed out changeset d07aa0d0712a: Relanding: Bug 373701. Make sure to properly cancel multipart image loads when they need canceling. r=joedrew, sr=biesi 2008-10-02 09:53:35 -04:00
Boris Zbarsky
0f00c2e36d Backing out changeset afcc5aa0fb07 to see effect on the Windows Txul 2008-10-01 20:06:48 -04:00
Joe Drew
15abb5060d Bug 455606 - Remove old cache elements when pushing elements with the same key r/sr=stuart 2008-09-30 17:47:47 -04:00
Doug Turner
dfd452942e Merge after pull 2008-09-29 14:20:20 -07:00
Boris Zbarsky
d1d37978a3 Bug 373701. Make sure to properly cancel multipart image loads when they need canceling. r=joedrew, sr=biesi 2008-09-29 16:46:53 -04:00
Doug Turner
aabf3a10dd Bug 457728 - icon decoder wince fixes. patch by blassey, r=stuart/dougt 2008-09-29 11:06:09 -07:00
Oleg Romashin
31aa5e9277 Bug 451263 - Implement moz-icon for Qt port. Add missing icon/qt directory part. r=vladimir. 2008-09-24 18:45:42 -05:00
Oleg Romashin
40ef3f4b57 Bug 451263 - Implement moz-icon for Qt port. r=vladimir. 2008-09-20 04:03:23 -04:00
Bobby Holley
6ae6957614 Turning color management on by default for tagged images - bug 418538. r=vlad
Also updating some reftests whose behavior changes with color management
enabled - bug 453548. r=dolske
2008-09-11 18:45:43 -07:00
Ginn Chen
56507d7453 Bug 454376 imgLoader.cpp does not compile with Sun Studio 12 on Solaris r=joedraw sr=vladimir 2008-09-11 19:34:17 +08:00
Bobby Holley
e6b52dca37 Backed out changeset e7c6d7843e81 due to linux reftest failures 2008-09-10 22:24:41 -07:00
Bobby Holley
eb39826b0f Turning color management on by default - bug 418538. r=vlad
Also updating some reftests whose behavior changes with color management
enabled - bug 453548. r=dolske
2008-09-10 19:35:00 -07:00
Doug Turner
45e735c1b7 Bug 453836 - handle OOM while images decoding. r=jim 2008-09-10 13:23:29 -07:00
Ted Mielczarek
ff7706a544 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Joe Drew
9e23f5afa7 Bug 430061: Don't use necko's memory cache in imglib; r/sr=stuart,vlad,bz
? .fast-update
? _profile
? _tests
? obj-ff-debug
? staticlib
? README/.fast-update
? browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
? build/pgo/automation.py
? build/pgo/profileserver.py
? config/buildid
? config/system_wrappers
? content/base/test/TestNativeXMLHttpRequest
? content/base/test/TestPlainTextSerializer
? embedding/components/printingui/src/mac/printpde/build
? gfx/thebes/public/.gfxContext.h.swp
? gfx/thebes/test/gfxFontSelectionTest
? gfx/thebes/test/gfxSurfaceRefCountTest
? gfx/thebes/test/gfxTextRunPerfTest
? gfx/thebes/test/gfxWordCacheTest
? intl/uconv/tests/TestUConv
? intl/uconv/tests/nsconv
? intl/uconv/tests/plattest
? intl/unicharutil/tests/NormalizationTest
? js/src/host_jskwgen
? js/src/jsautokw.h
? layout/style/test/css_properties.js
? layout/style/test/host_ListCSSProperties
? layout/tools/reftest/autoconf.js
? modules/libpr0n/src/.imgContainer.cpp.swp
? modules/libpr0n/src/.imgLoader.cpp.swp
? modules/libpr0n/src/.imgLoader.h.swp
? modules/libpr0n/src/.imgRequestProxy.cpp.swp
? modules/libpr0n/src/check-all-at-removal-time
? modules/libpr0n/src/currpatch
? modules/libpr0n/src/update-every-time
? modules/plugin/samples/default/mac/build
? netwerk/cache/src/.nsMemoryCacheDevice.cpp.swp
? netwerk/dns/src/etld_data.inc
? netwerk/test/ReadNTLM
? netwerk/test/TestCookie
? netwerk/test/TestIncrementalDownload
? netwerk/test/TestOpen
? netwerk/test/TestServ
? netwerk/test/TestStreamLoader
? netwerk/test/TestUDPSocketProvider
? nsprpub/.fast-update
? nsprpub/unallmakefiles
? parser/htmlparser/robot/test/htmlrobot
? parser/htmlparser/tests/grabpage/grabpage
? parser/htmlparser/tests/html/TestParser
? rdf/tests/triplescat/triplescat
? storage/test/teststorage1
? testing/mochitest/automation.py
? testing/mochitest/automation.pyc
? testing/mochitest/runtests.pl
? testing/mochitest/runtests.py
? testing/mochitest/ssltunnel/ssltunnel
? toolkit/components/url-classifier/tests/TestUrlClassifierUtils
? toolkit/crashreporter/client/crashreporter
? toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms
? toolkit/crashreporter/test/TestCrashReporterAPI
? toolkit/library/XUL
? toolkit/mozapps/update/src/nsUpdateService.js
? toolkit/xre/platform.ini
? tools/rb
? tools/trace-malloc
? widget/src/cocoa/libwidget.rsrc
? xpcom/io/.nsStringStream.cpp.swp
? xpcom/proxy/tests/proxy-create-threadsafety
? xpcom/sample/program/nsTestSample
? xpcom/tests/TestAutoPtr
? xpcom/tests/TestExpirationTracker
? xpcom/tests/TestHashtables
? xpcom/tests/TestINIParser
? xpcom/tests/TestPipe
? xpcom/tests/TestProxies
? xpcom/tests/TestRegistrationOrder
? xpcom/tests/TestStorageStream
? xpcom/tests/TestStringAPI
? xpcom/tests/TestStrings
? xpcom/tests/TestTArray
? xpcom/tests/TestTextFormatter
? xpcom/tests/TestThreadPool
? xpcom/tests/TestVersionComparator
? xpcom/tests/external/TestMinStringAPI
? xpfe/bootstrap/appleevents/mozillaSuite.rsrc
Index: modules/libpr0n/build/nsImageModule.cpp
===================================================================
RCS file: /cvsroot/mozilla/modules/libpr0n/build/nsImageModule.cpp,v
retrieving revision 1.20
2008-09-04 19:00:42 -04:00
Bobby Holley
e61d808205 Removing embedded ICC profiles from reftest reference images - bug 453547. r=me 2008-09-04 10:24:07 -07:00
Boris Zbarsky
952725f458 Backed out changeset aaecc637558e 2008-09-04 12:36:27 -04:00
Joe Drew
00754c4bb4 Bug 430061. Make imglib no longer use necko's memory cache, r/sr=stuart 2008-09-04 11:23:16 -04:00
Marco Bonardo
c7cbc9f577 Bug 442731 - GIF favicons are not resampled in places.sqlite (large icons are stored), r=dietrich, pavlov 2008-09-02 13:59:59 +02:00
honzab@allpeers.com
bb77be6219 Bug 135007, Transfer mode of images should be relevant for shown lock icon state (mixed content)
Based on ideas from Stuart Parmenter and experimental code from Kai Engert
Patch contributed by Honza Bambas
r=kaie, r=pavlov, sr=bz
2008-09-01 22:53:59 +02:00
Bobby Holley
14f571eb7e Bug 452676 - PNG Pseudo-CMS chunks (gAMA and cHRM) aren't handled properly with color management on. r=vlad,joe 2008-08-30 15:54:58 -07:00
Brian Crowder
5d2d007687 Bug 422776 - reduce narrow Windows API calls in imagelib, original patch by Brad Lassey <blassey@mozilla.com>, r=pavlov 2008-08-27 14:44:55 -07:00
Reed Loden
8984f14136 Backed out changeset 6eec92f9276a from bug 416157 because the image tests need to be updated before it can be landed. 2008-08-20 02:03:01 -05:00
Michael Moy
f180304b99 Bug 416157 - "Add JPEG SSE2 color processing for ycc_rgb_convert_argb" [r=stuart sr=vlad] 2008-08-20 00:03:46 -05:00
Dave Camp
fc1687cad1 Backed out changeset e63a23edb90c due to Rlk regression (bug 430061). 2008-08-19 14:42:03 -07:00
Joe Drew
d533375dd9 Bug 430061 - replace imglib use of necko memory cache with an imglib-specific cache, r=pav 2008-08-19 16:28:28 -04:00
Dão Gottwald
1e562af993 backout bug 444898 to fix orange 2008-08-19 13:58:40 +02:00
Glenn Randers-Pehrson
cf21df4ec6 Bug 428045 – Incorrect transparency in .png image. sr=tor, r=pavlov 2008-08-19 10:12:31 +02:00
Glenn Randers-Pehrson
0bcce2ddbf Bug 444898 – JPEG writer uses poor quality default options for compression. r=tor, sr=pavlov 2008-08-19 10:07:09 +02:00
Dave Townsend
87f67ddbf7 Backout of bug 135007 due to Tp regression 2008-08-18 15:08:44 +01:00
Dave Townsend
4f9235f7b3 Backed out changeset cf3eae029913 2008-08-18 15:08:14 +01:00
Bobby Holley
ec2707c4bd Code to fastpath Alpha PNGs in LCMS - part of bug 445552. r=vlad 2008-08-17 22:08:53 -07:00
Bobby Holley
a19ebe3def Floating point path through lcms as part of bug 445552. r=vlad 2008-08-16 14:44:51 -07:00
honzab@allpeers.com
db4bc19d7b Bug 135007, Transfer mode of images should be relevant for shown lock icon state (mixed content)
Based on ideas from Stuart Parmenter and experimental code from Kai Engert
Patch contributed by Honza Bambas
r=kaie, r=pavlov, sr=bz
2008-08-16 09:12:42 +02:00
Bobby Holley
3e81f0a50a Bug 449681 – switch color_management pref from off/on bool to off/on/taggedonly int. r=vlad 2008-08-11 21:55:36 -07:00
Bobby Holley
c06160cfeb Firefox honors embedded ICC intent flag - bug 444014 r=vlad 2008-07-23 10:33:12 -07:00
Robert Longson
30c9633728 Bug 444996 - Compilation broken on various platforms. INT_MAX was not declared in this scope. r+sr=vladimir 2008-07-16 10:20:24 +01:00
Vladimir Vukicevic
8e6047ac2b b=443693, check png info callback correctly; r=joe 2008-07-11 13:52:30 -07:00
gavin@gavinsharp.com
2bc3d7b25e Bug 427978: default to using file extension if file used in moz-icon doesn't exist, patch by Jim Mathies <jmathies@mozilla.com>, r=stuart, a=schrep 2008-04-16 13:16:31 -07:00
dolske@mozilla.com
79fc730611 Reenable pngsuite-corrupted tests, since disabling them didn't help (bug 425987). 2008-04-05 13:10:56 -07:00
dolske@mozilla.com
dcd92ee278 Try disabling pngsuite-corrupted tests (bug 425987). 2008-04-05 01:27:01 -07:00
johnath@mozilla.com
7d3c7a99ee Back out test-landing of JOEDREW!'s bug 425941. 2008-04-04 09:02:44 -07:00
johnath@mozilla.com
623d3203a4 Test-landing of JPEG patch in bug 425941 to gauge perf delta. Should be backed out after a test run. p=joedrew! 2008-04-04 06:03:25 -07:00
reed@reedloden.com
dc64f6bb4c Bug 415273 - "moz-icon failing to display correct icon with contentType parameter specified" [p=jmathies@mozilla.com (Jim Mathies) r=stuart a1.9=beltzner] 2008-04-04 02:16:44 -07:00
dolske@mozilla.com
5181fa825d Bug 411852 - Glitch in an aPNG image rendering and tab thumbnail. r=stuart, a1.9=beltzner 2008-04-03 18:01:17 -07:00
bzbarsky@mit.edu
b52dc9c3d6 Fix a mistake in the fix for bug 363986 that was causing writes to the wrong part of memory. Patch and tests by Fredrik Larsson <nossralf@gmail.com>, r=stuart, sr=bzbarsky. 2008-04-01 16:20:12 -07:00
reed@reedloden.com
febc417c9a Back out Alfred Kayser and Joe Drew's patch from bug 399925 in order to find out if it caused the 7% Tp regression (bug 425941). 2008-03-30 00:17:08 -07:00
dtownsend@oxymoronical.com
9f71a4b939 Disabling mochitests for libpr0n due to test crashing 2008-03-29 03:37:33 -07:00
reed@reedloden.com
fbc041b23d Bug 399925 - "GIF decoder needs to allow its data to be discarded" (mochitest for the bug earlier patches caused) [p=joe@drew.ca (Joe Drew [JOEDREW!]) r=stuart] 2008-03-28 23:53:25 -07:00
reed@reedloden.com
b30d3b6b59 Bug 399925 - "GIF decoder needs to allow its data to be discarded" [p=alfredkayser@gmail.com (Alfred Kayser) / joe@drew.ca (Joe Drew [JOEDREW!]) r=stuart sr=tor a=blocking1.9+] 2008-03-28 01:36:27 -07:00
bzbarsky@mit.edu
be595e9da8 Hold strong ref to ourselves so we don't die while touching members. Bug 421602 followup, r= and a= pending 2008-03-20 23:13:11 -07:00
reed@reedloden.com
142c1c9658 Bug 418796 - "Cleanup imgContainer and decom GetCurrentFrameNoRef" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a1.9=beltzner] 2008-03-19 22:54:30 -07:00
bzbarsky@mit.edu
3eebb3a398 Don't garbage-collect still-loading Image nodes until their onload/onerror has fired. Bug 421602, r=stuart, sr=sicking 2008-03-19 12:07:59 -07:00
jwalden@mit.edu
5d7f3c8860 Add a bunch of forgotten |false| parameters to setHeader calls in httpd.js server handlers; no functionality change because absence defaulted to false. No bug, test-only set of trivial changes so self-reviewing... 2008-03-18 10:42:39 -07:00
blassey@mozilla.com
6cc9d5a4ed backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com
ff89c4a3fb switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
reed@reedloden.com
a4bea78921 Back out Alfred Kayser's patch from bug 399925 due to Tp crashes. 2008-03-09 23:09:37 -07:00
reed@reedloden.com
4030db1be3 Bug 399925 - "GIF decoder needs to allow its data to be discarded" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart sr=tor a=blocking1.9+] 2008-03-09 22:09:24 -07:00
roc+@cs.cmu.edu
4fa241b61a Bug 403181, fix test image 2008-03-09 15:46:40 -07:00
roc+@cs.cmu.edu
b85eb999a0 Bug 403181. Pass the desired source rectangle for background images down into nsThebesImage and ensure we don't sample outside it. Back out a bad pixman patch that caused regressions, and adjust image encoding tests so they don't depend on the regression. Also switchs some reftests to quirks mode so that the 1-appunit width of <br>s doesn't bite us. r=vlad,sr=dbaron 2008-03-09 14:55:05 -07:00
reed@reedloden.com
6f1799c430 Bug 418791 - "Don't try to discard image data when the image is animating" (Don't start the timer when image is animating) [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a=blocking1.9+] 2008-03-09 12:58:40 -07:00
reed@reedloden.com
ff9316c192 Bug 262505 - "image/x-ms-bmp MIME type not recognized as BMP picture" [p=sciguyryan@gmail.com (Ryan Jones) r+sr=stuart a1.9=beltzner] 2008-03-08 03:26:50 -08:00
vladimir@pobox.com
c325e922a7 b=415854, make single-pixel optimized images release memory; patch from joe@drew.ca; r+sr=vlad 2008-03-05 22:51:13 -08:00
blassey@mozilla.com
81d841c1fc backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com
dfd26f92ec switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
joshmoz@gmail.com
b903b64b94 always link against cocoa framework on Mac OS X, cocoa exception wrapping in xpcom file io. b=419392 r=bent sr=roc a=beltzner 2008-02-29 15:24:53 -08:00
dolske@mozilla.com
27845835bf Add explicit colordepth test for bug 414720 - Enable 24-bit display on Windows test boxes. 2008-02-25 21:30:36 -08:00
bent.mozilla@gmail.com
665e45e413 Bug 417562 - 'protect against Obj-C exceptions in "modules" top-level directory'. r=josh, sr=roc, a=blocking1.9+. 2008-02-20 09:32:13 -08:00
dolske@mozilla.com
fdd608125f Bug 414186 - slow loop code in nsICODecoder? r=stuart. a1.9=schrep 2008-02-19 15:40:04 -08:00
jag@tty.nl
dd268604cd Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep 2008-02-18 23:36:50 -08:00
jag@tty.nl
05cdb6aefe Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
dolske@mozilla.com
809a7319cb Bug 411626 - Need regression tests for JPEG image decoding. 2008-02-15 14:13:55 -08:00
reed@reedloden.com
7c0fde4cae Bug 44781 - "Support CMYK, YCCK JPEGs" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a1.9=schrep] 2008-02-14 12:38:19 -08:00
reed@reedloden.com
d9e8be99e8 Bug 413324 - "Not all image decoders call 'DecodingComplete', so for these the image is not 'optimized'" (Make the decoders all (except JPEG) use DecodingComplete) [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a=blocking1.9+] 2008-02-13 02:54:39 -08:00
reed@reedloden.com
fb3491dcf7 Bug 413933 - "APNGs flash while loading" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a=blocking1.9+] 2008-02-13 02:53:17 -08:00
dolske@mozilla.com
58686cf73c Re-Re-Enabling reftests (bug 405384). 2008-02-11 15:57:26 -08:00
jwalden@mit.edu
2101e84d60 Add a test for bug 398066 (image/* should be in the Accept header for <img>-related requests), and add CGI support to the reftest harness. r=dbaron on the harness changes 2008-02-11 12:32:40 -08:00
pavlov@pavlov.net
118d7aa1fa backing out bug 405384. doesn't look like color depth change on windows unit test box stuck 2008-02-09 01:58:34 -08:00
dolske@mozilla.com
718b0ae649 Re-enable pngsuite reftests on Windows (bug 405384 - pngsuite reftest fails on Windows with slight color differences) 2008-02-08 10:35:36 -08:00
mats.palmgren@bredband.net
b8aa96d404 Don't decrement the loop variable when it's zero. b=414854 r+sr=jag approval1.9b3=beltzner 2008-01-30 17:04:36 -08:00
reed@reedloden.com
28aee15596 Bug 412753 - "Speed up JPEG decoding by another 10%" (Replace include "jpegint.h" with some locally copied definitions) [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a1.9b3=beltzner] 2008-01-30 12:46:38 -08:00
jag@tty.nl
40df5467f9 Bug 413143: trunk is broken(sigbus) on SPARC since 20071221. r/sr=pavlov, a=beltzner Unaligned 32-bit memory reads cause a sigbus on SPARC. Turns out that fixing this also gets us a little performance boost on other platforms because we're now mostly doing aligned 32-bit reads. 2008-01-29 22:22:23 -08:00
reed@reedloden.com
8316a03ec0 Bug 412753 - "Speed up JPEG decoding by another 10%" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a=blocking1.9+] 2008-01-29 20:41:42 -08:00
reed@reedloden.com
9d8e2396ac Bug 398066 - "Image requests should include image/* in Accept header" [p=lholst@students.cs.uu.nl (Laurens Holst) r=biesi sr=stuart a1.9=damons] 2008-01-29 20:27:11 -08:00
mozilla@weilbacher.org
d0cb8b7ca7 Bug 412582: remove MOZ_ENABLE_CAIRO_GFX from the build system, r=ted.mielczarek, a=beltzner 2008-01-28 15:07:34 -08:00
mozilla@weilbacher.org
2aa6e66744 [OS/2] Bug 413530: fix icon display of files without extensions in listings, fix=Rich Walsh, r=me 2008-01-28 14:30:45 -08:00
reed@reedloden.com
653def20a5 Bug 413931 - "Crash [@nsGIFDecoder2::DoLzw] when loading GIF file, part 2" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart sr=tor a1.9=beltzner a=blocking1.9+] 2008-01-26 20:45:56 -08:00
vladimir@pobox.com
315fb2498c update test images (pixman rounding changes cause slightly different scaling) 2008-01-25 17:28:31 -08:00
reed@reedloden.com
64aa8e3a97 Bug 363986 - "nsJPEGEncoder::ReadSegments() and nsPNGEncoder::ReadSegments() do not advance read pointer" [p=daim.project@free.fr (David Marteau) r=stuart sr=bzbarsky a1.9=beltzner a=blocking1.9+] 2008-01-25 00:00:18 -08:00
reed@reedloden.com
0b42099c6d Back out akayser's patch from bug 399925 due to Tp crash. 2008-01-24 09:30:17 -08:00
reed@reedloden.com
0cfbfb9f4b Bug 399925 - "GIF decoder needs to allow its data to be discarded" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart sr=tor a=blocking1.9+] 2008-01-24 08:51:30 -08:00
reed@reedloden.com
0240f79a6f Bug 411718 - "Speed up JPEG decoding by 30% by skipping buffer" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart sr=tor a=blocking1.9+] 2008-01-24 07:59:32 -08:00
reed@reedloden.com
116ab0d95a Bug 413373 - "Crash [@nsGIFDecoder2::DoLzw] when loading GIF file" (detect malformed LZW encoding [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart sr=tor a1.9=beltzner] 2008-01-24 01:29:38 -08:00
reed@reedloden.com
dd02518751 Bug 411112 - "AIX Compilation error for trunk build source nsPNGEncoder.cpp : mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.cpp", line 159.14: 1540-0217 (S) "jmpbuf" is not a member of "struct png_struct_def"." [p=shailen.n.jain@gmail.com (Shailen) r+a1.9=stuart] 2008-01-23 23:02:58 -08:00
dolske@mozilla.com
13cf67eae5 Testcase for bug 413512 - Crash loading www.pricerunner.de. 2008-01-22 22:09:21 -08:00
dolske@mozilla.com
e56b63e757 Bug 413512 - Crash loading www.pricerunner.de [@ imgTools::EncodeScaledImage]. r=stuart, a=blocking-ff3+ 2008-01-22 18:14:23 -08:00
dolske@mozilla.com
aaac9bf4aa Bug 413424 - PNG encoder leaks a string. r=stuart, a1.9=schrep, guilty=dolske 2008-01-22 15:15:23 -08:00
mozilla@weilbacher.org
48e1846124 [OS/2] Bug 411332: fix icon handler to work with cairo and add icon logic using RWS, code by Rich Walsh, p=me, r=me/mkaply 2008-01-22 12:08:43 -08:00
reed@reedloden.com
0b8765f83c Bug 410111 - "Catch more cases of frame clipping in AGIF/APNG animations" (Clean up the clipping in drawFrameTo) [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart sr=tor a1.9=schrep] 2008-01-21 23:36:57 -08:00
reed@reedloden.com
7655f7d587 Back out patch from bug 411718 again due to MH regression again. 2008-01-21 01:48:18 -08:00
reed@reedloden.com
dcb7c5eef5 Bug 411718 - "Speed up JPEG decoding by 30% by skipping buffer" (try without the realloc optimization) [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart sr=tor a=blocking1.9+] 2008-01-21 00:18:19 -08:00
Olli.Pettay@helsinki.fi
7e003dd371 Backing out bug 411718 to see if it caused MH regression 2008-01-19 14:41:35 -08:00
reed@reedloden.com
7eb43e7c61 Bug 411718 - "Speed up JPEG decoding by 30% by skipping buffer" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart sr=tor a=blocking1.9+] 2008-01-19 01:04:04 -08:00
reed@reedloden.com
0a8eddee5c Bug 403364 - "APNG animations sometimes loop incorrectly" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a=blocking1.9+] 2008-01-19 00:10:26 -08:00
reed@reedloden.com
55dd306584 Bug 411874 - "Crash [@ ffff068b nsGIFDecoder2::EndImageFrame] while loading MySpace page (hard to repro)" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a1.9=schrep] 2008-01-18 23:00:24 -08:00
dolske@mozilla.com
f1ec467140 Disable problematic tests for Windows. Grr. 2008-01-18 22:33:46 -08:00
dolske@mozilla.com
b54317c8b0 Reenable imgITools tests from bug 389273. 2008-01-18 21:43:19 -08:00
dolske@mozilla.com
b2290ca892 Partially back out bug 389273 while I look into the test failures. 2008-01-12 21:35:29 -08:00
dolske@mozilla.com
6f03d7ff4f Bug 389273 - large favicons (>32 KB) won't show up in url bar autocomplete, history / bookmarks menu, bm organizer. r=sspitzer, stuart. a1.9=schrep 2008-01-12 20:15:20 -08:00
reed@reedloden.com
60cfa07f70 Bug 409012 - "Firefox - trunk build Version 3.0b3pre is crashing on AIX [@ strlen.strlen ] nsMozIconURI::GetIconState" [p=shailen.n.jain@gmail.com (Shailen) r+sr+a1.9=roc] 2008-01-12 18:53:33 -08:00
dolske@mozilla.com
1fc3c7ff4b Fix test bustage. Filed bug 411636 - pngsuite-background reftest fails on Linux with slight color differences. 2008-01-09 23:22:26 -08:00
dolske@mozilla.com
fb9447a2cf Fix test bustage. These tests actually pass on Windows. 2008-01-09 23:11:29 -08:00
dolske@mozilla.com
26a3af81cb Bug 386651 - Need regression tests for PNG image decoding. [Part 5, done!] 2008-01-09 21:49:18 -08:00
reed@reedloden.com
540a3efbfc Bug 409878 - "Garbage displayed for part of bluebar.gif animation" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+a1.9=stuart] 2008-01-08 01:51:13 -08:00
reed@reedloden.com
cdf7b17a45 Bug 408288 - "This particular animated gif looks distorted at the right side" (Really do the clipping in the right way) [p=alfredkayser@nl.ibm.com (Alfred Kayser) r=stuart a=blocking1.9+] 2007-12-21 03:41:59 -08:00
reed@reedloden.com
2da7d2d38d Bug 406580 - "Faster copying of RGB pixel data" (Where Alpha=0xFF, keep RGB values contiguous in pixel copying) [p=swsnyder@insightbb.com (Steve Snyder) r+a1.9=stuart] 2007-12-21 02:26:31 -08:00
dtownsend@oxymoronical.com
e19c95f750 Bug 405982: Improve error handling and consistency with image encoders. r=dolse, r+sr=pavlov, a=beltzner 2007-12-21 01:19:15 -08:00
reed@reedloden.com
47aa446f9a Bug 408310 - "20071213 trunk crash when visiting protopage.com @ all platforms" (Make sure to use the right paletteSize to prevent crashes) [p=alfredkayser@nl.ibm.com (Alfred Kayser) r=stuart sr=tor a=blocking1.9+] 2007-12-20 01:38:53 -08:00
reed@reedloden.com
bbe04f7ef0 Bug 408073 - "Some frames of this animated gif image looks slightly distorted" (Fix the clearing of the 'second' frame) [p=alfredkayser@nl.ibm.com (Alfred Kayser) r=stuart sr=tor a=blocking1.9+] 2007-12-20 01:37:34 -08:00
dwitte@stanford.edu
d3a1fc3baa relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu
8dcce35b39 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu
9a3a4249f4 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu
1d9282cd47 backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu
8345ef1233 implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner 2007-12-18 17:06:34 -08:00
dolske@mozilla.com
a1a68c1cfb Enable 3 tests that I thought were not working (see bug 408622) 2007-12-17 11:46:06 -08:00
dolske@mozilla.com
119ae3ca30 Bug 386651 - Need regression tests for image decoding. [Part 4] 2007-12-16 21:26:13 -08:00
dolske@mozilla.com
5df50bae4a Bustage fix - mark tests as passing which were not actually tickling bug 405384. 2007-12-16 20:15:44 -08:00
dolske@mozilla.com
e26e0222b0 Bug 386651 - Need regression tests for image decoding. [Part 3] 2007-12-16 19:31:07 -08:00
dolske@mozilla.com
a7758bc9fd Workaround bug 405384 (pngsuite reftest fails on Windows with slight color differences) by marking tests as fails-if(MOZ_WIDGET_TOOLKIT=="windows") These are not the crashtests you're looking for. 2007-12-15 22:17:55 -08:00
jonas@sicking.cc
390f6ff8c2 Bug 408123: Use nsTObserverArray rather than array copy to deal with listeners going away while firing event. r=smaug sr=jst 2007-12-13 17:41:48 -08:00
gavin@gavinsharp.com
557b7b8fb0 Bug 408256: use a constant-size buffer in BMP decoder to reduce fragmentation, r+sr=dveditz 2007-12-13 13:49:05 -08:00
martijn.martijn@gmail.com
f142b9fff4 Bug 403578 - glibc detected firefox-bin: malloc(): memory corruption, patch by Alfred Kayser, r=pavlov, sr=tor, a=blocking1.9 2007-12-12 08:56:39 -08:00
reed@reedloden.com
ccef2f5090 Bustage fix #4 for bug 402742. 2007-12-07 17:09:15 -08:00
reed@reedloden.com
ccf0eaa4aa Bustage fix for bug 402742. 2007-12-07 16:21:44 -08:00
reed@reedloden.com
f4fc4c5f32 Bug 402742 - "Stock icons will not display if libgnomeui is not present" (more soft runtime dependencies) [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=vlad sr=roc aM10=schrep] 2007-12-07 16:08:09 -08:00
reed@reedloden.com
d9ec6b9a1f Bug 406871 - "Getting 32x32 px icons using -moz-icon" [p=reed r+sr=biesi a1.9=damons] 2007-12-04 17:08:23 -08:00
reed@reedloden.com
efa3d79734 Bug 402742 - "Stock icons will not display if libgnomeui is not present" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a=blocking1.9+] 2007-12-04 14:08:41 -08:00
reed@reedloden.com
f5d1463a71 Bug 403423 - "PNG files with sRGB chunk displayed improperly when color_management is enabled" [p=glennrp@gmail.com (Glenn Randers-Pehrson) r=tor sr=stuart a1.9=damons] 2007-12-03 20:43:09 -08:00
reed@reedloden.com
bb7ee7e456 Bug 364221 - "[cairo] bad page scrolling performance with large background images" [p=alfredkayser@nl.ibm.com (Alfred Kayser) / vladimir@pobox.com (Vladimir Vukicevic [vlad]) r=stuart sr=tor a=blocking1.9+] 2007-11-27 01:35:18 -08:00
dolske@mozilla.com
23448b59d3 Disabling tests, since Windows is still failing (bug 405384) 2007-11-25 21:41:15 -08:00
dolske@mozilla.com
b13dbd9b4f Bug 386651 - Need regression tests for image decoding. [Part 2] 2007-11-25 20:42:33 -08:00
reed@reedloden.com
1f5e0c64e9 Bug 403363 - "crash loading image [@ imgContainer::DrawFrameTo]" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r=stuart sr=tor a=blocking1.9+] 2007-11-17 01:23:51 -08:00
dolske@mozilla.com
b5d45ed9b6 Bug 399542 - libpng 1.2.21 update broke a unit test. r=stuart. (fixes and reenables test) 2007-11-15 21:47:36 -08:00
dolske@mozilla.com
7f119472d4 Bug 402498 - imgIEncoder documentation is wrong. r=stuart, a1.9=stuart 2007-11-15 21:43:52 -08:00
dolske@mozilla.com
33d6d0dcaa Temporarily disable new reftests until I know why Windows doesn't like them. 2007-11-13 19:08:19 -08:00
dolske@mozilla.com
f69264fe57 Bug 386651 - Need regression tests for image decoding. rs=stuart. [This is part 1 -- framework and initial tests. More to come.] 2007-11-13 17:44:53 -08:00
reed@reedloden.com
332d361cd4 Bug 403239 - "Update libpng to version 1.2.23 and reduce libpng footprint" [p=glennrp@gmail.com (Glenn Randers-Pehrson) r=stuart sr=tor a1.9=schrep] 2007-11-13 03:03:32 -08:00
neil@parkwaycc.co.uk
804df04f18 Bug 400603 Last row of bottom-up bitmap is never updated r+a=pavlov sr=tor 2007-11-09 04:47:50 -08:00
reed@reedloden.com
b322314d2f Bug 399794 - "Remove the use of Atoms of nsIconURI" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r=stuart sr=tor a1.9=stuart] 2007-11-09 00:23:13 -08:00
bzbarsky@mit.edu
edbcbf98d3 Relanding bug 389188. r=pavlov, sr=biesi 2007-11-08 18:55:41 -08:00
pavlov@pavlov.net
feda92f784 bug 143046. Keep GIFs at original 8bit. patch from Alfred Kayser <alfredkayser@nl.ibm.com>. r=me sr=tor 2007-11-07 13:33:57 -08:00
pavlov@pavlov.net
f57086a0a5 bug 399630. Don't decode PNG iCCP/cHRM chunks with color management is disabled. patch from Glenn Randers-Pehrson <glennrp@gmail.com>. r=vlad sr=me 2007-11-06 20:29:37 -08:00
reed@reedloden.com
3e7208069e Bug 402631 - "Need to clear all images on memory-pressure notification" [p=stuart r+aM9=vlad] 2007-11-05 19:41:34 -08:00
dolske@mozilla.com
0de68b166c Bug 402000 - imgContainer's ContainerLoader.mContainer should be a nsCOMPtr. r=pavlov a1.9=pavlov aM9=dsicore 2007-11-01 16:09:42 -07:00
jdaggett@mozilla.com
a2f4cc4bdc Bug 328258. Prevent images larger than 32K pixels in height from loading to workaround Quartz bug. r=pavlov,vlad, a=beltzner 2007-10-23 23:01:16 -07:00
reed@reedloden.com
b832c7532f Bug 391295 - "APNG blending mode APNG_BLEND_OP_SOURCE not implemented" [p=asmith15@littlesvr.ca (Andrew Smith) r=stuart a1.9=damons] 2007-10-23 12:33:20 -07:00
pavlov@pavlov.net
56b4260049 bug 400588. fixing animation regression. r=tor a=beltzner 2007-10-22 09:13:37 -07:00
mats.palmgren@bredband.net
399dc3d54c Make nsPNGEncoder more robust against calls after a libpng error was encountered. b=395542 r+sr+a=pavlov 2007-10-19 21:29:58 -07:00
pavlov@pavlov.net
a9f77f74dc bug 296818. discard uncompressed image data after a period of time. original patch from Federico Mena-Quintero <federico@ximian.com>. Changes from me. r=vlad 2007-10-18 17:36:34 -07:00
dtownsend@oxymoronical.com
b66fc6c976 Backing out bug 296818 to see if it fixes the Tp regression 2007-10-16 08:45:31 -07:00
pavlov@pavlov.net
02e5e3263a fixing whitespace 2007-10-15 18:25:21 -07:00
pavlov@pavlov.net
af9f92ec34 fixing crash from bug 296818. r=vlad 2007-10-15 18:25:12 -07:00
pavlov@pavlov.net
462c8ea142 need null check around mImage incase of an error 2007-10-15 15:47:37 -07:00
pavlov@pavlov.net
b5ad6b5c1f bug 296818. discard uncompressed image data after a period of time. original patch from Federico Mena-Quintero <federico@ximian.com>. Changes from me. r=vlad 2007-10-15 15:06:48 -07:00
reed@reedloden.com
52daf28215 Bug 397373 - "Make &state=disabled work again" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=biesi a1.9=stuart] 2007-10-13 21:48:28 -07:00
dolske@mozilla.com
1684fcef54 Disable failed unit test causing bustage. Tracked in bug 399542 - libpng 1.2.21 update broke a unit test. (likely just a test issue) 2007-10-11 19:17:06 -07:00
reed@reedloden.com
2d7666d6a1 Bug 398369 - "Break friendship between imgContainer and nsGIFDecoder2" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr+a1.9=stuart] 2007-10-03 20:07:38 -07:00
martijn.martijn@gmail.com
b5677e1b9b Bug 398407 - Animated gif images only working once on mouseover/mouseout, patch by Andrew Smith, r=pavlov, a=pavlov (+blocking1.9+) 2007-10-03 14:41:12 -07:00
reed@reedloden.com
f2f2f7be62 Bug 376471 - "Make XBM decoding also write directly to Cairo image buffer" (add back missing OnStartFrame call) [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr+a1.9=tor] 2007-10-03 14:41:06 -07:00
reed@reedloden.com
590a6c4c0c Bug 376471 - "Make XBM decoding also write directly to Cairo image buffer" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+a1.9=stuart] 2007-09-29 12:06:21 -07:00
reed@reedloden.com
716ed86129 Bug 391643 - "Remove GetAlphaBytesPerRow from imgContainer.cpp" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r=stuart sr=tor a1.9=stuart] 2007-09-27 09:42:22 -07:00
dtownsend@oxymoronical.com
01eb76936f Backing out bug 389188 due to potential private bytes increase on talos 2007-09-25 21:30:17 -07:00
bzbarsky@mit.edu
8f798c6fe0 Expose the image's principal on its imgIRequest. Bug 389188, r=pavlov, sr=biesi, a=pavlov. 2007-09-25 08:46:39 -07:00
tor@cs.brown.edu
bdf486cae5 Bug 395170 - with color managment on, grayscale pngs displaying incorrectly. r=vlad, a=pavlov 2007-09-24 14:45:10 -07:00
tor@cs.brown.edu
0c13afb3b0 Bug 396031 - with color management on, ycck/cymk jpeg images crash. r=alfredkayser, sr+a=pavlov 2007-09-24 14:42:39 -07:00
asqueella@gmail.com
a78c95dac8 fix bug 369214 (ASSERTION: The observer list changed while being iterated over!: 'count == mObservers.Count()' in libpr0n) by switching the observers list to use nsTObserverArray. r=stuart a=1.9 blocker 2007-09-22 12:40:57 -07:00