Commit Graph

806 Commits

Author SHA1 Message Date
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
Josh Aas
f1b1a53408 Remove unnecessary NPPVprivateModeBool enum. b=468877 2009-02-01 21:15:44 -05:00
Jim Mathies
8ddad5ef5d Updated reftest.list for Bug 469830. 2009-01-31 15:50:21 -06:00
Jim Mathies
df49001deb Bug 469830 - Windows drawing code for test plugin. r=ted,joshmoz 2009-01-31 15:06:02 -06: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
Josh Aas
015a5c7e76 Add API allowing plugins to participate in private browsing. b=468877 r/sr=jst 2009-01-30 16:40:14 -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
Peter Weilbacher
15fe4f92fb [OS/2] Bug 476029: fix build break in wrap_XPCOM.cpp (with GCC 3.3.5) following bug 474866 2009-01-30 09:59:26 +01:00
Ehsan Akhgari
d2b5ccb3ce Bug 467672 - need additional bidi.numerals setting for Persian (eastern Arabic-Indic) numerals; r=roc,jfkthame sr=roc 2009-01-30 11:43:17 +03:30
Josh Aas
d98282c9bc Remove libreg dependency on morefilesx. b=464362 r=smichaud sr=bsmedberg 2009-01-29 23:49:27 -05:00
L. David Baron
62e280a661 Remove default value for gfx.downloadable_fonts.enforce_same_site_origin pref, which is no longer implemented. (Bug 457825) r=jdaggett 2009-01-29 12:39:19 -08: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
Johnny Stenback
b1945926a3 Fixing bug 474866. Make the plugin instance peer have a weak reference to its owner, and make the owner tell the peer once it's no longer its owner so we don't have reference cycles, yet the instance can hold on to its peer while being cached between pages. r+sr=mrbkap@gmail.com 2009-01-25 22:00:12 -08:00
Johnny Stenback
389a938400 Backed out changeset abd5a41c0b70 2009-01-25 11:19:51 -08:00
Johnny Stenback
7b13ea308c Fixing bug 474866. Don't null out the peer when stopping plugins to break reference cycles, as cached plugins depend on the peer remaining set. Null out the owner instead. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-01-25 09:05:00 -08:00
Chris Pearce
3b0b1c6e28 Bug 451958. Support Access-Controls for media loads. r+sr=roc
--HG--
extra : rebase_source : 4a180379a401040f16c4fce80ef116da139ba2cb
2009-01-25 00:00:17 +13:00
Robert O'Callahan
876f275609 Backed out changeset a87563d6594e
--HG--
extra : rebase_source : e4687a80f8e88f7f0e156a34ca95f96a1eaf85f6
2009-01-23 17:39:45 +13:00
Walter Meinl
627190cf07 Don't try to build plugin tests unless platform is specifically marked as ready. b=474503 r=josh sr=jst 2009-01-22 23:18:47 -05:00
Chris Pearce
f816163290 Bug 451958. Support Access-Controls for media loads. r+sr=roc
--HG--
extra : rebase_source : ab0be3a0dc18e6accfb4059c5d0f3e252b890afc
2009-01-23 16:13:19 +13:00
Martijn Wargers
3aeca987aa Bug 458158 - Crash [@ nsJAR::Open] when passing null argument to open method of zip-reader, r+sr=cbiesinger and r=jwalden+bmo 2009-01-22 16:12:00 +01: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
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13: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
Edward Lee
a0fa2b97c8 Bug 471903 - pref urlbar.autocomplete.enabled is no longer implemented. r=dietrich
Bug 472943 - Two confusable preferences, "browser.urlbar.search.sources" and "browser.urlbar.default.behavior", should be unified

--HG--
rename : toolkit/components/places/tests/autocomplete/test_search_sources.js => toolkit/components/places/tests/autocomplete/test_enabled.js
2009-01-21 02:00:04 -06:00
Makoto Kato
54d479a36e Bug 456028 - x86_64 Optimization for lcms.r=bholley 2009-01-19 19:35:47 -08: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
fd21e0b388 Backed out changeset 56f630c3bdf6 2009-01-17 12:25:17 -05:00
Joe Drew
1c2f4fde6c But 455508 - Perf test. Up the image cache to 15 MB to see if it affects Tp. CLOSED TREE for perf tests. 2009-01-17 10:27:26 -05:00
Mark Banner
d1a3b2d08b Fix onon-FF build bustage from bug 473577 2009-01-17 11:20:40 +00:00
Ted Mielczarek
ca38450994 bug 473577 - make test plugin usable for reftests. r=josh 2009-01-16 15:03:24 -05:00
Josh Aas
37e61ae8a0 JS delete operator should invoke npruntime removeProperty on NPObject. b=470291 r/sr=jst 2009-01-16 12:14:43 -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
timeless@mozdev.org
8d52a24340 Bug 101294 - make sure that nsPref is never unhappy at construction time, r=caillon, sr=dveditz 2009-01-15 20:02:22 -08:00
Josh Aas
15d1bd14a4 Fix: npruntime NPN_HasMethod forwards to wrong plugin function (hasProperty). b=467945 r/sr=jst 2009-01-15 15:20:10 -05:00
Mark Banner
ab8d03d8dd Bustage fix for some windows systems following bug 386676 2009-01-14 13:11:08 +00:00
Makoto Kato
d3cefcbb3b Should use LONG_PTR for plugin code due to Win64. b=472025 r=josh sr=jst 2009-01-13 13:15:39 -05:00
Walter Meinl
21b7a78f21 A bunch of plugin SDK build fixes. b=471759 r=josh sr=jst 2009-01-13 12:14:40 -05:00
Josh Aas
ac38ef99e1 bustage fixes for some systems, b=386676 2009-01-13 12:09:08 -05:00
Josh Aas
56dc1ce64c get rid of an incorrect comment 2009-01-13 01:47:13 -05:00
Josh Aas
539fcc967d System for testing plugins, take 4. b=386676 r=smichaud sr=roc 2009-01-12 22:06:21 -05:00
Johnny Stenback
71c558dbe8 Fixing bug 470993. Expose the remainder of the Java plugins XPCOM dependency through the NPAPI. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-01-12 16:55:52 -08:00
Peter Weilbacher
f4df6e9155 [OS/2] Bug 467250: modify font alias list to include other special OS/2 platform fonts that we cannot directly resolve, r=wuno@lsvw 2009-01-12 17:48:24 +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
Ben Turner
6eaa912dc9 Fix leaky cycle between nsNPAPIPluginInstance and nsPluginInstancePeer. b=472439 r=josh sr=jst 2009-01-10 12:13:31 -05:00
Dave Camp
790d678de5 Bug 442809: respect application caches in imgLoader.cpp. r=joedrew, sr=vlad 2009-01-04 21:52:22 -08:00
Robert O'Callahan
c149ac33a2 Backed out changeset a5587354082a 2009-01-05 16:33:01 +13:00
Chris Pearce
5f79974815 Bug 451958. Implement load policy for media elements. r+sr=roc
--HG--
extra : rebase_source : 6554a080e91e0cf61807dd29ca5103dd35531cd8
2009-01-05 13:50:33 +13:00
Phil Ringnalda
4a7e8ada57 Bug 471439 - Remove long-dead MOZ_SECURITY ifdef, r=ted 2008-12-30 20:53:08 -08:00
Masatoshi Kimura
46abd5b87e Bug 470209 - intl.charsetmenu.browser.unicode should not be included in localizable file; r=smontagu sr=dbaron 2008-12-25 00:47:51 +01:00
Joe Drew
45aaededca Bug 455508 - Revert experimental change. 2008-12-23 23:17:31 -05:00
Joe Drew
4013a75b8d Bug 455508 - Double the image cache size to see if that has a material effect
on fast Tp as theorized. CLOSED TREE for perf numbers.
2008-12-23 22:26:41 -05: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
Glenn Randers-Pehrson
3a04be0690 Update libpng to 1.2.34 - bug 461935 r+sr=joe 2008-12-22 18:40:01 -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
Josh Aas
4c4299efbe Backed out changeset e28cd33a0335 2008-12-19 05:30:53 -05:00
Josh Aas
170e6896d3 System for testing plugins, take 3. b=386676 r=smichaud sr=roc 2008-12-19 04:10:09 -05:00
Josh Aas
c5d2456c12 Backed out changeset 7b8ca8c944f2 2008-12-19 01:59:15 -05:00
Josh Aas
dd716baaec System for testing plugins, take 2. b=386676 r=smichaud sr=roc 2008-12-19 00:47:08 -05:00
Josh Aas
f23f281e83 npruntime sample plugin build fix. 2008-12-16 23:01:47 -08:00
Josh Aas
d22f132370 NPAPI header updates - comments, cleanup, and webkit compat change. Part of the patch for 386676. r=smichaud sr=roc 2008-12-16 23:48:42 -05:00
Josh Aas
e79f540ada Backed out changeset 2776db2defa2 2008-12-16 14:38:58 -05:00
Josh Aas
6e9c3576aa Add a system for testing plugins. b=386676 r=smichaud sr=roc 2008-12-16 10:27:32 -05:00
Robert Kaiser
91c83d1de9 bug 468337 - Remove "what's related" module, supplementary patch for OS/2 and RDF cleanup, r=pweilbacher sr=Neil 2008-12-15 19:07:42 +01:00
Doug Turner
4d98b5410e Bug 461847 - Windows Mobile build bustage in BZ2. Patch forwarded to bz2 owner, local change reviewed by blassey/bsmedberg 2008-12-15 09:55:29 -08:00
Josh Aas
765a564b23 back out bug 468678 to fix Flash on Mac OS X 2008-12-15 12:29:44 -05:00
Simon Montagu
70d49c14fa Make display of the directional hook on the caret dependent on the bidi.browser.ui pref. Bug 418513, r=uriber, sr=roc (for core) r=mano, gavin.sharp (for browser) 2008-12-14 01:05:39 -08:00
Phil Ringnalda
786f846a65 Bug 465892 - Make wholeText noAccess for mailNews, r+sr=bz 2008-12-12 19:45:07 -08:00
Robert O'Callahan
8786ac7740 Bug 448600. Add prefs to disable Ogg and WAVE backends. r=doublec,sr=bzbarsky 2008-12-12 21:17:57 +13: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
Josh Aas
5295053066 remove support for resource (.rsrc) files in Mac OS X plugins. b=468678 r=smichaud sr=roc 2008-12-11 16:52:42 -05:00
Brad Lassey
13d8550000 Bug 463532 - build changes needed to import freetype2 into the tree r=ted sr=vlad 2008-12-11 11:50:31 -08:00
Brad Lassey
6bb3ad6730 Bug 463532 - import freetype2 into the tree r=ted sr=vlad 2008-12-11 11:50:31 -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