Commit Graph

6552 Commits

Author SHA1 Message Date
Patrick McManus
abe9b55a58 Bug 454990. On Windows, increase the size of our TCP send window to 128KB, from the default of 8KB. The value is already 128KB on other OSes, and it appears that other browsers on Windows change the default in the same way. r=jduell, r+sr=bzbarsky. 2009-02-09 12:31:44 -05:00
Rich Walsh
6d5b61eafb [OS/2] Bug 476134: allow plugin code to be built with GCC 4.3.x on OS/2 by using the right calling convention, r=josh, sr=jst 2009-02-05 12:21:27 +01:00
Josh Aas
2ccc691da5 Don't run npapi private browsing tests when the private browsing service is not available. b=476406 r/sr=jst 2009-02-04 22:19:31 -05:00
Vladimir Vukicevic
41756850c7 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
f11246a489 Backing out test for bug 466586 2009-02-02 21:14:59 -08:00
Boris Zbarsky
ead1ca7d24 Bug 475897. Rev imgIContainer iid in CLOSED TREE 2009-02-03 15:45:27 -05:00
Arpad Borsos
a7c1dec752 Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
Josh Aas
e1817688f3 Remove unnecessary NPPVprivateModeBool enum. b=468877 2009-02-01 21:15:44 -05:00
Jim Mathies
919964452f Updated reftest.list for Bug 469830. 2009-01-31 15:50:21 -06:00
Jim Mathies
7afc8d94fa Bug 469830 - Windows drawing code for test plugin. r=ted,joshmoz 2009-01-31 15:06:02 -06:00
Joe Drew
c94a154d2b 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
19c3b0ad1a 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
a56af8e625 Add API allowing plugins to participate in private browsing. b=468877 r/sr=jst 2009-01-30 16:40:14 -05:00
Jim Mathies
0b95d763be Bug 455353 - Backout of code added to imagelib in Bug 355555. r=dougt 2009-01-30 13:13:52 -06:00
Peter Weilbacher
8f6551dd04 [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
3b6cf03f73 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
b285f0b91a Remove libreg dependency on morefilesx. b=464362 r=smichaud sr=bsmedberg 2009-01-29 23:49:27 -05:00
L. David Baron
a17bb00856 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
9fe2209b0f 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
8c831651d3 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
308f3c53c3 Backout bug 473161 2009-01-26 17:12:05 -05:00
Joe Drew
cf78faa4e8 Back out tests for bug 466586 2009-01-26 17:09:48 -05:00
Joe Drew
73b0c73878 Backed out changeset 18988bc1c727 2009-01-26 17:08:14 -05:00
Joe Drew
0c06399200 Backed out changeset 72fda0d63f66 2009-01-26 17:07:54 -05:00
Joe Drew
4c7fedee71 Backed out changeset 7d9bea3fa51a 2009-01-26 17:07:38 -05:00
Joe Drew
99c4ffa500 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
852b5dc273 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
b06270e0e0 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
17bd029bd3 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
09acce98d8 Backed out changeset abd5a41c0b70 2009-01-25 11:19:51 -08:00
Johnny Stenback
7bb77ff7d5 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
9068fac007 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
e37f5f5ba6 Backed out changeset a87563d6594e
--HG--
extra : rebase_source : e4687a80f8e88f7f0e156a34ca95f96a1eaf85f6
2009-01-23 17:39:45 +13:00
Walter Meinl
0324974591 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
573e074841 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
c0fae0530d 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
4301671b45 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
424883d380 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
e4a2e70daa Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Edward Lee
1a84fc47cd 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
03ecd5f9cf Bug 456028 - x86_64 Optimization for lcms.r=bholley 2009-01-19 19:35:47 -08:00
Joe Drew
2262ce0e5b Backed out changeset 84c6254be42a; pushing into CLOSED TREE 2009-01-19 13:22:59 -05:00
Joe Drew
068d4908a4 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
140f8c9771 Backed out changeset 56f630c3bdf6 2009-01-17 12:25:17 -05:00
Joe Drew
a511347e48 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
2831ff49d3 Fix onon-FF build bustage from bug 473577 2009-01-17 11:20:40 +00:00
Ted Mielczarek
43ccd51025 bug 473577 - make test plugin usable for reftests. r=josh 2009-01-16 15:03:24 -05:00
Josh Aas
0221450ec2 JS delete operator should invoke npruntime removeProperty on NPObject. b=470291 r/sr=jst 2009-01-16 12:14:43 -05:00
rsx11m
4949ee2287 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
b46bf85337 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
8e0e0e6b15 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
f720b82fc9 Bustage fix for some windows systems following bug 386676 2009-01-14 13:11:08 +00:00
Makoto Kato
2cce8fad67 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
7ac2978af9 A bunch of plugin SDK build fixes. b=471759 r=josh sr=jst 2009-01-13 12:14:40 -05:00
Josh Aas
26012c5e9f bustage fixes for some systems, b=386676 2009-01-13 12:09:08 -05:00
Josh Aas
4b982b87c0 get rid of an incorrect comment 2009-01-13 01:47:13 -05:00
Josh Aas
f3f2ec7f1c System for testing plugins, take 4. b=386676 r=smichaud sr=roc 2009-01-12 22:06:21 -05:00
Johnny Stenback
b6c319c619 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
9ffebcde27 [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
a078fdbbc9 Fix spelling of immediatly, to get more builds going immediately in the CLOSED TREE 2009-01-11 00:06:41 -08:00
Ben Turner
469b560423 Fix leaky cycle between nsNPAPIPluginInstance and nsPluginInstancePeer. b=472439 r=josh sr=jst 2009-01-10 12:13:31 -05:00
Dave Camp
c31f761356 Bug 442809: respect application caches in imgLoader.cpp. r=joedrew, sr=vlad 2009-01-04 21:52:22 -08:00
Robert O'Callahan
9faf032785 Backed out changeset a5587354082a 2009-01-05 16:33:01 +13:00
Chris Pearce
a0f3631895 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
2703858e2a Bug 471439 - Remove long-dead MOZ_SECURITY ifdef, r=ted 2008-12-30 20:53:08 -08:00
Masatoshi Kimura
046423c441 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
0e2831b69d Bug 455508 - Revert experimental change. 2008-12-23 23:17:31 -05:00
Joe Drew
0a934b0b6c 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
04d8cbf6b1 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
4a238ad919 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
29ff4846f0 Update libpng to 1.2.34 - bug 461935 r+sr=joe 2008-12-22 18:40:01 -05:00
Joe Drew
fa48100389 Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-22 17:20:46 -05:00
Justin Dolske
a44722f711 Bug 455057 - some chrome images have embedded profiles. r=dbaron, ui-r=faaborg 2008-12-20 21:46:38 -08:00
Siddharth Agarwal
90a973e5c2 Bug 469739 - Add support for displaying Vista UAC shield icon; r=joe sr=vladimir 2008-12-21 02:31:35 +01:00
Joe Drew
88f530158b 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
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
Josh Aas
fb0a72d214 Backed out changeset e28cd33a0335 2008-12-19 05:30:53 -05:00
Josh Aas
9cbc644971 System for testing plugins, take 3. b=386676 r=smichaud sr=roc 2008-12-19 04:10:09 -05:00
Josh Aas
21607049a7 Backed out changeset 7b8ca8c944f2 2008-12-19 01:59:15 -05:00
Josh Aas
e13d6f3cc1 System for testing plugins, take 2. b=386676 r=smichaud sr=roc 2008-12-19 00:47:08 -05:00
Josh Aas
2ca0b53851 npruntime sample plugin build fix. 2008-12-16 23:01:47 -08:00
Josh Aas
04359072f7 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
5f29d34c1c Backed out changeset 2776db2defa2 2008-12-16 14:38:58 -05:00
Josh Aas
ebd4d78eaf Add a system for testing plugins. b=386676 r=smichaud sr=roc 2008-12-16 10:27:32 -05:00
Robert Kaiser
0e2fc11c72 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
6568e22873 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
30095749ac back out bug 468678 to fix Flash on Mac OS X 2008-12-15 12:29:44 -05:00
Simon Montagu
890194181a 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
4953c244b0 Bug 465892 - Make wholeText noAccess for mailNews, r+sr=bz 2008-12-12 19:45:07 -08:00
Robert O'Callahan
e0206a44c5 Bug 448600. Add prefs to disable Ogg and WAVE backends. r=doublec,sr=bzbarsky 2008-12-12 21:17:57 +13: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
Josh Aas
d93e9205d2 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
d86f764033 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
37a6a2277e Bug 463532 - import freetype2 into the tree r=ted sr=vlad 2008-12-11 11:50:31 -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