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
Josh Aas
026fa64495
windows bustage fix for bug 462023
2008-12-09 14:00:09 -05:00
Steven Michaud
a6e2974fc4
Don't allow plugin to set NPPVpluginWindowBool on OS X. b=466495 r=josh sr=roc
2008-12-09 11:22:51 -06:00
Josh Aas
e25e7f6560
Fix error case leak in nsPluginFile::GetPluginInfo. b=462023 r=mstange sr=jst
2008-12-09 12:15:49 -05:00
Josh Aas
95febf4b8c
whitespace/minor cleanup for nsPluginsDirDarwin.cpp, no bug
2008-12-09 12:01:29 -05:00
Josh Aas
dc31683568
Remove support for "main" as a plugin initialization function. b=467429 r=smichaud sr=roc
2008-12-08 23:52:02 -05:00
Josh Aas
95648c862d
remove support for CFM binary plugins. b=467417 r=smichaud sr=roc
2008-12-08 21:34:21 -05:00
Arno Renevier
4c1e936539
npruntime sample does not compile on linux (FALSE not declared). b=464485 r=josh sr=roc
2008-12-08 21:26:51 -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
Ben Newman
2f001df19f
Turn on lcms assertions in debug builds - bug 454519.r=bholley,sr=vlad
2008-12-06 23:17:49 -08:00
Vladimir Vukicevic
4b86e322d9
b=455169, PNG rendering problem with color management with null cms xform. r=joe,r=bholley
2008-12-06 23:06:33 -08:00
Bobby Holley
263791c64a
LCMS LI16F_FORWARD renamed to LI8F_FORWARD - bug 457626.r=vlad
2008-12-06 22:55:10 -08:00
timeless@mozdev.org
a517ec4d3e
crash on loading PNG or JPEG image - bug 463306. r=joe,r=bholley,sr=vlad
2008-12-06 22:46:17 -08:00
Glenn Randers-Pehrson
ce8c35232d
Bug 460520 - LCMS detection code for bogus cHRM chunks. r=bholley
2008-12-06 22:36:45 -08:00
Bobby Holley
6a4d40ce2a
LCMS bogus profile detection - Bug 460629. r=vlad
2008-12-06 22:32:24 -08:00
Chris Bishop
e05fbb65c7
Bug 465592 - To enable PGO on Thunderbird a module in the Mozilla core needs to have PGO disabled; r=ted.mielczarek
2008-12-06 16:34:59 +01:00
Arpad Borsos
f3e11b0624
Bug 414551 - gCallbacksEnabled in prefapi.cpp is unused and should be killed; r+sr=benjamin
2008-12-06 15:44:35 +01:00
Arpad Borsos
c1c477b539
Bug 462438 - kill MOZ_PROFILESHARING and MOZ_IPCD; build system cleanup + removes, v2; r+sr=benjamin
2008-12-04 15:37:37 +01:00
Arpad Borsos
9c7bb609d5
Bug 462438 - kill MOZ_PROFILESHARING and MOZ_IPCD; libpref cleanup, v3; r+sr=benjamin
2008-12-04 15:31:53 +01:00
Doug Turner
18c468b341
Bug 461845 - windows mobile minor cleanup of lcms r=pavlov
2008-12-03 08:42:03 -05:00
Doug Turner
e1f2c7a82c
Bug 461848 - libjar wince cleanup r+sr=dveditz
2008-12-03 08:41:12 -05:00
Josh Aas
11ea2c36ca
fix a drawing order glitch in the mac default plugin. b=467580 sr=jst
2008-12-02 16:05:36 -05:00
Arno Renevier
155b03d3b7
Fix npruntime sample compile problem, npupp.h -> npfunctions.h. b=464481 r=josh sr=jst
2008-12-02 14:12:54 -05:00