Commit Graph

436 Commits

Author SHA1 Message Date
Joe Drew
a49559a6a7 Bug 481753 - imgRequests call imgLoader functions assuming that they're in the cache when they aren't
Teach imgRequest to keep track of when it's in the cache, and not do cache
operations when it isn't.
2009-03-11 21:31:26 -04:00
Joe Drew
f7bd752ce7 Bug 481553 - Make imgRequests not try to update their status in the image cache when they aren't stored in it. r=vlad 2009-03-04 22:56:14 -05:00
Joe Drew
508f9839eb Bug 479502 - Hold on to a reference to the entry when NotifyExpired is called. r=vlad
The expiration tracker doesn't hold on to references to imgCacheEntries, so if
we're deleting it from the cache, that'll bring its refcount to zero. We
always assume that, when we're calling a function, there exists a reference
that lasts as long as the function does. This patch just makes that true for
the NotifyExpired case.
2009-02-25 14:09:44 -05:00
Doug Turner
cdcc58d70c Bug 461849 - enable icon decoder on Windows Mobile. r=stuart 2009-02-19 18:56:49 -08:00
Joe Drew
2774b195e4 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-30 21:17:47 -05:00
Joe Drew
664b5a4343 Bug 466586 - Test to ensure that we don't have to reload an image that exists in a document. 2009-01-30 21:17:35 -05:00
Boris Zbarsky
ac1ce67cea Bug 455367. Don't just assume that all image loads get data; ask imagelib instead. r=kaie, r=joedrew, sr=jst 2009-02-16 09:11:30 -05:00
Neil Rashbrook
2b7a424a9b Bug 475344 Need a cancellation code to indicate successful load from cache r+sr=bz 2009-02-16 11:27:22 +00:00
Joe Drew
0b154c324c Backed out changeset af9270b650e6 2009-02-13 18:24:22 -05:00
Joe Drew
7ee4e55b58 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-30 21:17:47 -05:00
Jesse Ruderman
5f1cc5c3ce Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Vladimir Vukicevic
ff530b54bb Back out bug 466586 (eBay preview image occasionally disappears after briefly appearing), due to 476349 crashes 2009-02-02 21:23:09 -08:00
Vladimir Vukicevic
5491a16c93 Backing out test for bug 466586 2009-02-02 21:14:59 -08:00
Boris Zbarsky
749a81258a Bug 475897. Rev imgIContainer iid in CLOSED TREE 2009-02-03 15:45:27 -05:00
Arpad Borsos
51bf75177c Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
Joe Drew
ca2541f607 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-30 21:17:47 -05:00
Joe Drew
a7a5803b59 Bug 466586 - Test to ensure that we don't have to reload an image that exists in a document. 2009-01-30 21:17:35 -05:00
Jim Mathies
fc1a190574 Bug 455353 - Backout of code added to imagelib in Bug 355555. r=dougt 2009-01-30 13:13:52 -06:00
L. David Baron
d6d6914e7a Conditionally adjust two reftest references to match the non-assembly version of the code. (Bug 465088) r=bholley 2009-01-29 12:39:17 -08:00
Joe Drew
d5cccedfce Bug 473161 - Fix imgRequest::Cancel() to call Cancel() on the loadgroup instead of the channel. The fix to bug 89419 included a mistaken change from cancelling the loadgroup to cancelling the channel. r=bzbarsky, sr=vladimir, a=blocking1.9.1+ 2009-01-29 14:18:56 -05:00
Joe Drew
763c2531bd Backout bug 473161 2009-01-26 17:12:05 -05:00
Joe Drew
4b8233638e Back out tests for bug 466586 2009-01-26 17:09:48 -05:00
Joe Drew
40b7703a1f Backed out changeset 18988bc1c727 2009-01-26 17:08:14 -05:00
Joe Drew
962cd7d3c1 Backed out changeset 72fda0d63f66 2009-01-26 17:07:54 -05:00
Joe Drew
daedbb0955 Backed out changeset 7d9bea3fa51a 2009-01-26 17:07:38 -05:00
Joe Drew
2528fd153b Bug 473161 - Fix imgRequest::Cancel() to call Cancel() on the loadgroup instead of the channel. The fix to bug 89419 included a mistaken change from cancelling the loadgroup to cancelling the channel. r=bzbarsky, sr=vladimir, a=blocking1.9.1+ 2009-01-26 15:34:03 -05:00
Joe Drew
a3bb205467 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-26 15:34:01 -05:00
Joe Drew
480285ad5f Bug 466586 - Test to ensure that we don't have to reload an image that exists in a document. 2009-01-26 15:33:59 -05:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Arpad Borsos
89096c497d Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Joe Drew
a42f4c7dae Backed out changeset 84c6254be42a; pushing into CLOSED TREE 2009-01-19 13:22:59 -05:00
Joe Drew
ec27a55772 Bug 455508 - Investigating 20% Tp regression on fast Talos machines. Up the image cache to 50 MB and turn off time-based expiry. CLOSED TREE for perf testing. 2009-01-19 12:37:11 -05:00
Joe Drew
97cfb1a65a Backed out changeset bc77b82becfc 2009-01-17 12:25:43 -05:00
Joe Drew
d4b7f712c7 Bug 455508 - Perf test. Disable the time-based expiry of cache elements to see
if it has an effect. CLOSED TREE for perf tests.
2009-01-17 11:06:28 -05:00
rsx11m
1e88f9ff71 Bug 444898 - JPEG writer uses poor quality default options for compression. r=tor+dolske, sr=pavlov 2009-01-16 15:16:32 +01:00
Phil Ringnalda
d5e6a4296b Fix spelling of immediatly, to get more builds going immediately in the CLOSED TREE 2009-01-11 00:06:41 -08:00
Dave Camp
790d678de5 Bug 442809: respect application caches in imgLoader.cpp. r=joedrew, sr=vlad 2009-01-04 21:52:22 -08:00
Joe Drew
141960a0b9 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-23 20:31:30 -05:00
Joe Drew
aac2d03952 Bug 468160 - Add test that does a redirect to a PNG inside an <object> tag. Our Mochitest framework will test for leaks for us. 2008-12-23 20:31:30 -05:00
Joe Drew
ba5f4381c0 Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-22 17:20:46 -05:00
Justin Dolske
5c689a4061 Bug 455057 - some chrome images have embedded profiles. r=dbaron, ui-r=faaborg 2008-12-20 21:46:38 -08:00
Siddharth Agarwal
67bb2aad37 Bug 469739 - Add support for displaying Vista UAC shield icon; r=joe sr=vladimir 2008-12-21 02:31:35 +01:00
Joe Drew
b3ed052b57 Don't discard animated images so we don't have to worry about how to restore them. b=414259 r/sr=vlad 2008-12-19 17:35:50 -05:00
Joe Drew
a29562512b 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
c77de5254f Backed out changeset 4b22cab7e989 2008-12-11 16:47:47 -08:00
Joe Drew
3670f5ac6c Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-11 15:28:58 -08:00
Robert Sayre
58f4455a2a 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
a72651bef5 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
cf5541dc63 Fix the obvious mistakes I'd made in the previous patch for bug 468160. 2008-12-10 21:10:03 -08:00
Joe Drew
0f5fffdcd6 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
b1879ea25f 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
004fd475bb Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-10 16:26:15 -08:00
Joe Drew
294499eab5 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
bf0e65a35b 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
6ea17d3edc Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
52fa025019 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
be4694b633 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
cc9f2ff870 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
a2b8f5356f Backed out changeset 6bedb1e92dd0 due to refcount leaks 2008-11-07 15:01:35 -05:00
Joe Drew
8fd1536f32 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
68663a73e2 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
2545ad97e1 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
23299930f7 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
6683bd098a Crash [@imgRequest::NotifyProxyListener(imgRequestProxy*)] at tokyomango.com - bug 441563 r=vladimir sr=pavlov 2008-11-06 16:31:20 -05:00
Phil Ringnalda
bbe7e1d08a 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
ee43bba9c1 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
8b11d938d2 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
5964ca6e14 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
a1df483e98 Backing out changeset afcc5aa0fb07 to see effect on the Windows Txul 2008-10-01 20:06:48 -04:00
Joe Drew
0e14c97490 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
e06e303ba0 Merge after pull 2008-09-29 14:20:20 -07:00
Boris Zbarsky
82a62c8b90 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
921312204b Bug 457728 - icon decoder wince fixes. patch by blassey, r=stuart/dougt 2008-09-29 11:06:09 -07:00
Oleg Romashin
88bcb5a900 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
2f3f67b169 Bug 451263 - Implement moz-icon for Qt port. r=vladimir. 2008-09-20 04:03:23 -04:00
Bobby Holley
106aaaae97 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
3d8a8e5ede 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
b750bcc898 Backed out changeset e7c6d7843e81 due to linux reftest failures 2008-09-10 22:24:41 -07:00
Bobby Holley
1bcc99f8b1 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
a49e520740 Bug 453836 - handle OOM while images decoding. r=jim 2008-09-10 13:23:29 -07:00
Ted Mielczarek
468a3823fc 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
e917f1c904 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
b587524e03 Removing embedded ICC profiles from reftest reference images - bug 453547. r=me 2008-09-04 10:24:07 -07:00
Boris Zbarsky
64fa469cc7 Backed out changeset aaecc637558e 2008-09-04 12:36:27 -04:00
Joe Drew
5e0c0fbf08 Bug 430061. Make imglib no longer use necko's memory cache, r/sr=stuart 2008-09-04 11:23:16 -04:00
Marco Bonardo
fed5a1056a 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
2eba452039 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
87c0ed791b 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
075862a92a 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
b89ad17341 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
f9e264bb68 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
73041a5aa1 Backed out changeset e63a23edb90c due to Rlk regression (bug 430061). 2008-08-19 14:42:03 -07:00
Joe Drew
7330eb1491 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
5e5814d2b9 backout bug 444898 to fix orange 2008-08-19 13:58:40 +02:00
Glenn Randers-Pehrson
743e5b22f5 Bug 428045 – Incorrect transparency in .png image. sr=tor, r=pavlov 2008-08-19 10:12:31 +02:00
Glenn Randers-Pehrson
4c06ce90fa 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
330ddd2b79 Backout of bug 135007 due to Tp regression 2008-08-18 15:08:44 +01:00
Dave Townsend
9cb6773784 Backed out changeset cf3eae029913 2008-08-18 15:08:14 +01:00
Bobby Holley
f0efbd4775 Code to fastpath Alpha PNGs in LCMS - part of bug 445552. r=vlad 2008-08-17 22:08:53 -07:00
Bobby Holley
ead2727c2c Floating point path through lcms as part of bug 445552. r=vlad 2008-08-16 14:44:51 -07:00
honzab@allpeers.com
a19d587018 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
3b34cb4ebc 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
4a0c36fc63 Firefox honors embedded ICC intent flag - bug 444014 r=vlad 2008-07-23 10:33:12 -07:00
Robert Longson
be6dcc3eb6 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
04fc36140f b=443693, check png info callback correctly; r=joe 2008-07-11 13:52:30 -07:00
gavin@gavinsharp.com
e74996a506 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
cca6ad8675 Reenable pngsuite-corrupted tests, since disabling them didn't help (bug 425987). 2008-04-05 13:10:56 -07:00
dolske@mozilla.com
3e3d6293f7 Try disabling pngsuite-corrupted tests (bug 425987). 2008-04-05 01:27:01 -07:00
johnath@mozilla.com
7d1d211b40 Back out test-landing of JOEDREW!'s bug 425941. 2008-04-04 09:02:44 -07:00
johnath@mozilla.com
f010a55cf2 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
242e29b1f2 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
743678b1aa 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
eff8edca50 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
67056548e6 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
6513decccd Disabling mochitests for libpr0n due to test crashing 2008-03-29 03:37:33 -07:00
reed@reedloden.com
93d22bbf70 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
e24e952a2b 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
72f7db6e18 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
7a6025e7f1 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
c7132d3d58 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
9156d6bbff 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
3c99833e3e 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
eeea24bde6 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
223ffcf984 Back out Alfred Kayser's patch from bug 399925 due to Tp crashes. 2008-03-09 23:09:37 -07:00
reed@reedloden.com
fd30224781 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
7ee2d30596 Bug 403181, fix test image 2008-03-09 15:46:40 -07:00
roc+@cs.cmu.edu
11aa232422 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
82531bad28 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
265a939d63 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
104f6a38a1 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
92c51991b0 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
9bc9e44b40 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
9d15dd6a9e 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
88f7abe48c 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
988b2f61df 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
0a1d2a6b29 Bug 414186 - slow loop code in nsICODecoder? r=stuart. a1.9=schrep 2008-02-19 15:40:04 -08:00
jag@tty.nl
2fbcb59ed7 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
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
dolske@mozilla.com
c9f4c663b6 Bug 411626 - Need regression tests for JPEG image decoding. 2008-02-15 14:13:55 -08:00
reed@reedloden.com
fd9e477a32 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
99e85089c1 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
86175b0c32 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
40ef92e8ae Re-Re-Enabling reftests (bug 405384). 2008-02-11 15:57:26 -08:00
jwalden@mit.edu
2873b90ecc 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
f373d75168 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
efdce45420 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
9d4e123ff6 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
02307473cf 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
7bbff4292c 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
79085d9d3d 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
56e474d4eb 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
0a7ee49586 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
fce6b77d96 [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
9d5e82db62 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
aac57ee0a6 update test images (pixman rounding changes cause slightly different scaling) 2008-01-25 17:28:31 -08:00
reed@reedloden.com
7ac67f5845 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
ea5d5976bc Back out akayser's patch from bug 399925 due to Tp crash. 2008-01-24 09:30:17 -08:00
reed@reedloden.com
a1e2ae5e2c 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
e813fe5f38 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
b980913cfe 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
efc7a30f99 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
03b8bceab4 Testcase for bug 413512 - Crash loading www.pricerunner.de. 2008-01-22 22:09:21 -08:00
dolske@mozilla.com
8a93f98f2a 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
ef9bd56830 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
d63fc3957a [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
60d9f2b7d9 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
6f04e2cbd2 Back out patch from bug 411718 again due to MH regression again. 2008-01-21 01:48:18 -08:00
reed@reedloden.com
1e5e81d05b 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
d121da98db Backing out bug 411718 to see if it caused MH regression 2008-01-19 14:41:35 -08:00
reed@reedloden.com
d99b4d9ac1 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
c62f3cb576 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
a2bce09846 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
35ee6e8f98 Disable problematic tests for Windows. Grr. 2008-01-18 22:33:46 -08:00
dolske@mozilla.com
1075a6b8f1 Reenable imgITools tests from bug 389273. 2008-01-18 21:43:19 -08:00
dolske@mozilla.com
312f215559 Partially back out bug 389273 while I look into the test failures. 2008-01-12 21:35:29 -08:00
dolske@mozilla.com
97a57a7769 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
efbdfff6ff 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
1eb8d12ab7 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
3f913cd568 Fix test bustage. These tests actually pass on Windows. 2008-01-09 23:11:29 -08:00
dolske@mozilla.com
9b7d4db5ba Bug 386651 - Need regression tests for PNG image decoding. [Part 5, done!] 2008-01-09 21:49:18 -08:00
reed@reedloden.com
56c4d2753e 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
b2a38f8cb5 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
100f2a76b4 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
76d0d01daa 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
0bd3fbe93c 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
c0e026e0ed 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
e1f9209274 relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu
2b31364ac3 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu
63050186f2 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu
8b3567b59d backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu
3b75d76adb 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
fbbebe2844 Enable 3 tests that I thought were not working (see bug 408622) 2007-12-17 11:46:06 -08:00
dolske@mozilla.com
100d53749d Bug 386651 - Need regression tests for image decoding. [Part 4] 2007-12-16 21:26:13 -08:00
dolske@mozilla.com
1f944d58a9 Bustage fix - mark tests as passing which were not actually tickling bug 405384. 2007-12-16 20:15:44 -08:00
dolske@mozilla.com
40ee4d55d8 Bug 386651 - Need regression tests for image decoding. [Part 3] 2007-12-16 19:31:07 -08:00
dolske@mozilla.com
6314a3d519 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
5378dfb532 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
743a6dd269 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
ed2ac513cb 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
1b8dbc3500 Bustage fix #4 for bug 402742. 2007-12-07 17:09:15 -08:00