Commit Graph

674 Commits

Author SHA1 Message Date
Georg Fritzsche
d3be2bc9c4 Bug 823533 - Reject plugins with a different architecture in 32bit Mac builds. r=bsmedberg,smichaud 2012-12-20 21:30:19 +01:00
Josh Matthews
fbf5889d74 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer 2012-12-05 02:33:20 -05:00
Ed Morley
c9fbc69d96 Backout 3bcd9a5a33a2 (bug 814247), d9546d42054c & 8b6edf9f6b87 (bug 814638) for failures in test_bug814638.xul and also crashes on a CLOSED TREE 2012-12-19 23:46:07 +00:00
Josh Matthews
f3cffe3040 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Ed Morley
04df34db2b Backout 4faa85ebbbf7 (bug 814247) for build bustage on a CLOSED TREE 2012-12-19 20:20:30 +00:00
Josh Matthews
709ee1417f Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Jim Mathies
f5694be27d Bug 817881 - Move test plugin to dist/plugins, and touch up tests and test logic to support the change. r=glandium, dtownsend 2012-12-17 12:08:00 -06:00
James Willcox
d2d4f31d32 Bug 809055 - Restore fullscreen plugins after document becomes active r=blassey 2012-12-17 10:05:59 -05:00
James Willcox
617f9013a3 Bug 821777 - Get some kind of version information into nsPluginTag for Flash on Android r=josh 2012-12-17 10:05:53 -05:00
James Willcox
75266bb73b Bug 800838 - remove unnecessary delay when unscheduling plugin timers r=blassey 2012-12-17 10:05:49 -05:00
Masayuki Nakano
dae57396e3 Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Jeff Walden
120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Daniel Holbert
32b7f90b27 Bug 821843: Remove no-longer-used variable 'isJava' from nsPluginHost.cpp, to fix GCC 4.7 warning (treated as error in enable-warnings-as-errors builds). r=johns 2012-12-14 13:08:49 -08:00
John Schoenick
50c6347ec0 Bug 767638 - Rename InitializeEmbedded* plugin functions to just Initialize*. r=josh 2012-12-13 13:51:28 -08:00
John Schoenick
42acd585bc Bug 767638 - Greatly simplify loading full-page plugins. r=josh 2012-12-13 13:51:27 -08:00
John Schoenick
e760168e43 Bug 767633 - Bonus - Clean up whitespace in nsPluginHost. r=josh 2012-12-13 13:51:26 -08:00
John Schoenick
ac4ec9936e Bug 767633 - Part 3 - Remove a ton of obsolete nsPluginHost code. r=josh 2012-12-13 13:51:23 -08:00
John Schoenick
84f92e6c9e Bug 767633 - Part 2 - nsObjectLoadingContent should handle all initial streams for plugins. r=josh 2012-12-13 13:51:23 -08:00
James Willcox
650e1ba147 Bug 820905 - backout ea1643fd4285
--HG--
extra : rebase_source : 50ddda21ab6942b6397366b9823b36df257b9482
2012-12-13 14:23:07 -05:00
Kartikaya Gupta
036e2a1541 Bug 780831 - Guard against plugin code leaking refs in the JNI local ref table. r=snorp 2012-12-13 00:32:17 -05:00
Bobby Holley
be465ba470 Bug 820666 - Tag XBL script for <field> elements and child scripts. r=jorendorff 2012-12-12 17:09:37 -08:00
James Willcox
0d666f4946 Bug 800838 - Remove unnecessary delay when unscheduling plugin timers on Android r=blassey
--HG--
extra : rebase_source : 430d21db7ca1d513c1cd401f86d36a21e36e5f30
2012-12-10 10:00:44 -05:00
Robert O'Callahan
bff2be0517 Bug 785348. Part 1: Track when we've called into plugin code. While we're in plugin code, never run the refresh driver. r=mats
--HG--
extra : rebase_source : 2ddabda92acc1364d3c24cf20f7d45896ac09849
2012-12-07 12:58:14 +13:00
Trevor Saunders
b6cf9728ce bug 801466 - part 3.1 remove some prmem usage from dom/ and content/ r=mounir 2012-12-05 02:55:37 -05:00
Georg Fritzsche
c75dbc4fe0 Bug 813906 - Resolve base URLs correctly for plugin streams. r=bz 2012-11-27 15:14:38 +01:00
Trevor Saunders
bac28f7e18 backout 2bb432c47170 for debug asserts 2012-12-05 04:19:33 -05:00
Trevor Saunders
35ab865598 bug 801466 - part 3 1/2 remove some prmem usage from dom/ and docshell/ r=mounir 2012-12-05 02:55:37 -05:00
Tom Schuster
9271842e43 Bug 676619 - Implementation of the download attribute for links. r=smaug 2012-12-02 21:55:52 +01:00
Ms2ger
0a0b1561d2 Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Kartikaya Gupta
215585f6a7 Bug 814418 - Fix some warnings about unused variables. r=ehsan 2012-11-30 11:06:37 -05:00
Kartikaya Gupta
65829fa7c4 Bug 814418 - Disable warnings-as-errors in dom/plugins/base on Android because of switch errors in android when building with gcc 4.6. r=joshmoz 2012-11-30 11:05:28 -05:00
Boris Zbarsky
22f1c17e89 Bug 815671 part 5. Various miscellaneous fixups in dom/ and hal/ code to copy arrays only when we explicitly want to. r=jlebar 2012-11-29 11:14:14 -05:00
mmakrai
9ae048d084 Bug 770864 - NPAPI stream destroyed with reason NPRES_NETWORK_ERR when the user leaves the page. r=gfritzsche 2012-11-28 12:15:47 +01:00
David Keeler
df08f8d094 bug 746374 - differentiate click-to-play plugin permissions by type and vulnerability status r=jaws r=joshmoz 2012-11-27 10:09:10 -08:00
Jeff Gilbert
601bff1c6f Bug 811958 - Fix and move ShateType type - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
1039582660 Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android 2012-11-26 13:48:20 -08:00
Jeff Gilbert
f8b6d7d465 Bug 811958 - Fix and move ShareType type - r=bgirard 2012-11-26 12:51:57 -08:00
Masayuki Nakano
8aa5135506 Bug 812427 part.2 Make event struct type named enumeration r=roc+smaug 2012-11-20 15:05:56 +09:00
David Keeler
3fb3263ebe bug 811375 - decouple nsIPluginTag::clicktoplay from click-to-play blocklisting r=joshmoz 2012-11-19 14:03:24 -08:00
John Schoenick
afe0548a59 Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-11-19 11:38:03 -08:00
Josh Matthews
2b9102e38b Bug 722850 - Part 4: Make plugins provide the channel of the owning document when manipulating cookies. r=bsmedberg 2012-11-16 16:40:22 +00:00
Ed Morley
fd965f5f0b Backout 7a0fe388a24b, 2a9fbd15cad4, 320c1567e431 & d907ac7bf669 (bug 722850) for xpcshell & browser-chrome failures 2012-11-16 14:18:41 +00:00
Josh Matthews
f9972cffe7 Bug 722850 - Part 4: Make plugins provide the channel of the owning document when manipulating cookies. r=bsmedberg 2012-11-16 12:32:57 +00:00
Matt Joras
da70d3f085 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Bobby Holley
7c36e30523 Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Masatoshi Kimura
a87ade4d88 Bug 562091 - Remove the EUC-KR conveter and rename x-windows-949 to EUC-KR. r=smontagu 2012-11-13 18:58:48 -05:00
John Schoenick
6860ce9323 Bug 766886 - Cleanup plugin streams earlier to avoid shutdown leak. r=bsmedberg 2012-11-12 14:11:40 -08:00
Peter Van der Beken
b2ba5959ec Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Ryan VanderMeulen
30d168a3da Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage. 2012-11-10 11:52:15 -05:00
Matt Joras
80ff2e8190 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Karl Tomlinson
6c2d56db76 b=797568 update the ImageContainer in RecvShow instead of GetImageContainer, for CAIRO images r=roc
--HG--
extra : transplant_source : %CF%C2%B8%97%E3%14%95F%3A%F9%25%A0vw.%E9%D4Ml%E6
2012-10-31 15:54:06 +13:00
Karl Tomlinson
bd975a8cda b=797568 remove obsolete nsObjectFrame::GetImageContainer() r=roc
--HG--
extra : transplant_source : h%CB%86%8A%E4%9B%1A%7DqS9%AC6%93s%0D%099%0A%B2
2012-10-31 15:53:37 +13:00
Josh Matthews
7fec23aef0 Bug 769283 - Add a separate HTTP auth cache for private channels. r=mayhemer 2012-10-29 16:20:03 -04:00
James Willcox
95171e9e50 Bug 777460 - Guard against null plugin instance on Android r=blassey 2012-10-26 13:49:50 -04:00
Andrew Quartey
5d03f6af91 Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan 2012-10-25 19:25:59 -04:00
Nick Hurley
3b308213ec Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Peter Van der Beken
f52e02e082 Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz.
--HG--
extra : rebase_source : fe059b8ad3b98df9e611899832584cc866db0479
2012-09-26 16:17:47 +02:00
Isaac Aggrey
c984edf823 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Aryeh Gregor
9582ec9bf0 Bug 802069 - Make "macintosh" the canonical name of its encoding, not "x-mac-roman"; r=smontagu
--HG--
rename : intl/uconv/tests/unit/test_decode_x_mac_roman.js => intl/uconv/tests/unit/test_decode_macintosh.js
rename : intl/uconv/tests/unit/test_encode_x_mac_roman.js => intl/uconv/tests/unit/test_encode_macintosh.js
2012-10-17 12:15:23 +02:00
Steven Michaud
90b6155078 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Josh Aas
1f16e46c3e Bug 598397: Remove support for Carbon NPAPI. r=smichaud 2012-10-15 08:38:34 -04:00
Robert O'Callahan
5dd3f01893 Bug 799078. Part 2: Get Mac plugin content scale factor from the device context instead of guessing. r=smichaud
--HG--
extra : rebase_source : e6157857bb6a3b698fc1d22383cdb05d259a0d1b
2012-10-09 00:24:18 +13:00
Andrew Quartey
8191e9c8c1 Bug 792581 - part 18: Replace LL_L2D macro with double cast. r=ehsan 2012-10-12 13:29:11 -04:00
Nathan Froyd
dd427057c4 Bug 798573 - remove prtypes.h #includes in dom/; r=ehsan 2012-10-05 17:28:24 -04:00
Georg Fritzsche
4882e0a1f9 Bug 791798 - topcrash in mozilla::plugins::parent::_releaseobject because of incremental GC: we're creating a new wrapper before teardown which races with the release event. r=bsmedberg 2012-10-01 19:53:35 +02:00
Masatoshi Kimura
f76b5ca746 Bug 797385 - Part 2: Remove ibm864 usage. r=smontagu 2012-10-10 06:32:37 -04:00
Robert O'Callahan
c4be5d89d9 Bug 798607. Ensure GetContentsScaleFactor is 1.0 on all non-Mac platforms. r=smichaud 2012-10-08 23:36:06 +13:00
Georg Fritzsche
f96366d84b Bug 750480 - Workaround for empty Java applets hanging with click-to-play. r=bsmedberg 2012-10-03 17:49:04 +02:00
Jacek Caban
227413bab8 Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (dom/plugins part) r=joshmoz
--HG--
extra : rebase_source : c62bc730aa7c1d4f8c00c41b3e5d21b1a6f59604
2012-10-04 10:31:37 +02:00
Andrew Quartey
54074fe47f Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey
fe71f25457 Bug 792581 - part 3: Replace LL_NE macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Andrew Quartey
6f2fa28373 Bug 792581 - part 2: Replace LL_EQ macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Andrew Quartey
816b3752e7 Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Josh Aas
5c8036aa52 Bug 797100: Replace internal usage of nsIPluginInstanceOwner with nsPluginInstanceOwner. r=jst 2012-10-02 22:43:18 -04:00
Steven Michaud
144130a844 Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard 2012-10-02 14:48:05 -05:00
Alexander Surkov
faae05f1a0 Bug 785047 - force disable oop when JAWS is running, r=joshmoz 2012-10-02 22:24:51 +09:00
Patrick McManus
b858e87bce bug 769764 - followup fix error check and whitespace r=josh 2012-09-30 21:29:42 -04:00
Isaac Aggrey
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
5730a3f4b2 Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc 2012-08-29 17:47:18 +12:00
Matt Woodrow
cee1aa3599 Bug 539356 - Part 9c - Remove old invalidation code. r=bz 2012-08-29 17:39:31 +12:00
Patrick McManus
d70af841f6 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ed Morley
aba3a8f5ef Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
4d096475d2 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Karl Tomlinson
6ce22299bc b=788399 always use async drawing for OOP windowless plugins r=bsmedberg
--HG--
extra : transplant_source : d%B9m%A5%DB%A7%128g%B8%1C%1D%EC1%DE%BD%F8%E8b%A1
2012-09-27 12:22:51 +12:00
Bill McCloskey
c53e57f4b2 Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett) 2012-09-03 16:42:17 -07:00
Santtu Lakkala
96053589c9 Bug 790198 - Cleanup local JNI references in Android plugins r=snorp 2012-09-11 05:19:00 -04:00
Mike Hommey
a94a46d3c8 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Ms2ger
abf742d34d Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
e734d6f1a2 Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (second batch); r=mounir 2012-09-20 09:55:36 +02:00
Karl Tomlinson
baea98c529 b=777946 remove no-op code remaining from size change invalidation r=roc
--HG--
extra : transplant_source : %92%E0%C3d%25BA%BC%EC%22%B5%B2%83%FFW%11%DC%03V%2C
2012-09-18 15:16:33 +12:00
James Willcox
13b153eed7 Bug 778442 - Cache the plugin size for ANPWindow::visibleRect r=blassey 2012-09-18 14:52:15 -04:00
Timothy Nikkel
f51aca379b Bug 788436. In the mac plugin code if the event model changes we may need to add/remove our scroll position listener. r=josh 2012-09-17 20:00:29 -05:00
Ryan VanderMeulen
8e73b6461f Backout e5289d3dce71 and f9a587042ea0 (bug 788436) due to OSX bustage. 2012-09-17 20:20:08 -04:00
Timothy Nikkel
90d9ce6673 Bug 788436. Bustage followup. r=me 2012-09-17 19:07:26 -05:00
Timothy Nikkel
bbaab1c1e6 Bug 788436. In the mac plugin code if the event model changes we may need to add/remove our scroll position listener. r=josh 2012-09-17 18:43:08 -05:00
Ed Morley
fb64dc10dd Backout 6d71ff5b4b36 (bug 347307), 75a3c47a3fe7 (bug 507578), 828f91de7143 (bug 769764) for near permaorange OS X 10.8 leaks 2012-09-17 16:54:09 +01:00
Ed Morley
9045d73d8a Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs 2012-09-17 14:17:02 +01:00
Karl Tomlinson
13a2eac501 b=777946 remove no-op code remaining from size change invalidation r=roc
--HG--
extra : transplant_source : %DF%8D8%3AuG%80%2B%A8%DFFm%C8%28%1F%C7A%DB.J
2012-09-17 18:50:25 +12:00
Patrick McManus
d64080bb5a bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ed Morley
483772a3a4 Backout 3182f9d08c2d (bug 347307), 2a30593cca79 (bug 507578), b87b27f5a417 (bug 769764) for m-oth permaorange in browser_463205.js 2012-09-13 22:42:29 +01:00
Patrick McManus
2fbed15e29 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-13 15:22:56 -04:00
James Willcox
fc4e8be46f Bug 786248 - Followup to add a small comment 2012-09-12 10:20:27 -04:00
James Willcox
69ccf194c5 Bug 786248 - Always invert Flash video on Honeycomb r=blassey 2012-09-12 10:17:22 -04:00
James Willcox
a66fa12b04 Bug 750217 - Don't schedule plugin timers if the plugin isn't running r=josh
--HG--
extra : rebase_source : 9eb8316c48705b01c72b46dab993439f37a5607b
2012-09-11 10:24:25 -04:00
James Willcox
b6f92bf3d1 Bug 778442 - Add some null guards in nsPluginInstanceOwner::GetVisibleRect r=blassey
--HG--
extra : rebase_source : 314d6defe42a0908f071eb7ca78393470b854f05
2012-09-11 10:20:44 -04:00
John Schoenick
5a765bdd2c Bug 786650 - Abort load of channel-having plugins without frames at the appropriate point (second attempt). r=josh 2012-09-10 13:30:45 -07:00
Ehsan Akhgari
ed75b79d89 Backout changeset ebd274828b7f (bug 791378) because it seems like the channel created is associated with a load context 2012-09-19 15:56:08 -04:00
Ehsan Akhgari
daac9a12c9 Bug 791378 - nsPluginHost::NewPluginURLStream needs to take the privacy information into account when creating a channel on behalf of a plugin; r=bzbarsky 2012-09-19 14:30:25 -04:00
Mounir Lamouri
37425e57ca Bug 787534 - Remove Portrait and Landscape special ScreenOrientation values. r=jlebar 2012-09-19 17:28:16 +01:00
John Schoenick
fe3a180392 Backout 827807082790 (bug 786650) for causing bug 789033 2012-09-06 19:03:22 -07:00
Ehsan Akhgari
4a8bc9fd25 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Makoto Kato
1356f06137 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
John Schoenick
3a1354f5ba Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
John Schoenick
88f434e646 Bug 786650 - Abort load of channel-having plugins without frames at the appropriate point. r=josh 2012-09-05 14:02:07 -07:00
John Schoenick
0cb7e069a2 Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Justin Dolske
6addb88878 Bug 747300 - Add mimetype info to nsIPluginTag. r=josh 2012-08-24 12:04:15 -07:00
Josh Aas
b5fd385545 Bug 598401: Remove support for the Quickdraw NPAPI drawing model. r=smichaud 2012-08-30 15:10:55 -04:00
Landry Breuil
3f08ff498e Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Georg Fritzsche
d5a643b3c3 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
Yury
4d8df099e9 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-25 17:18:44 -04:00
Benjamin Smedberg
75b52bafcd Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

CLOSED TREE
2012-08-24 13:08:15 -04:00
Yury
66d7f566fa Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-24 16:18:16 -04:00
Benjamin Smedberg
a859c5ef74 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

--HG--
extra : rebase_source : e000988677d466b4796c5b2a51968f586743e6db
2012-08-24 13:08:15 -04:00
Yury
a1e1a451e4 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret sr=joshmoz
--HG--
extra : rebase_source : f9b13bbda1318dbdaa71b04b3e04736655e65081
2012-08-23 17:11:51 -04:00
Luke Wagner
ad90af9ca5 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
KO Myung-Hun
e09e2c790e Bug 773958 - Define NP_CALLBACK as NP_LOADDS for a calling convention consistency. r=josh 2012-08-23 06:18:45 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Benjamin Smedberg
bb945839b4 Bug 700583 - Null-check our way out of crashes on both mobile and desktop in pr_FindSymbolInLib caused by plugin code where the plugin fails to load correctly, r=josh 2012-08-21 14:38:51 -04:00
Matt Woodrow
7cf26992d4 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Nicolas Silva
75542595f3 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Ryan VanderMeulen
5867af3068 Merge the last PGO-green inbound changeset to m-c. 2012-08-18 19:10:45 -04:00
Kyle Huey
e5307f0a9a Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar 2012-08-18 12:15:04 -07:00
Ed Morley
5a6cb3b570 Backout 6943b37c68cc (bug 751809) for bug 783723 2012-08-18 14:11:13 +01:00
Georg Fritzsche
f90c630c44 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
James Willcox
23fcf9afac Bug 776334 - Don't double free shared texture handles for Flash on Android r=blassey 2012-08-16 12:48:35 -04:00
James Willcox
79a29e5a6d Bug 781542 - Don't require a layer invalidation for Flash video on Android r=blassey 2012-08-16 12:47:22 -04:00
Aryeh Gregor
0722990c72 Bug 782605 - Make nsNPAPIPluginInstance::SetCached infallible; r=roc 2012-08-14 12:10:42 +03:00
Neil Deakin
6b29afdf4b Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Aryeh Gregor
719dcb2097 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Ms2ger
996594bed8 Bug 781058 - Part a: Fix -Werror=int-to-pointer-cast in nsPluginNativeWindowGtk2; r=mounir 2012-08-09 09:20:18 +02:00
Ms2ger
56673a53df Merge m-c to m-i. 2012-08-07 10:30:48 +02:00
Ms2ger
94bf1722ed Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Josh Aas
7e4448be80 Bug 780489: Fix some compiler warnings in plugin and mac code. r=smichaud 2012-08-07 00:09:23 -04:00
John Schoenick
b65356608c Bug 745030 - Refactor nsObjectLoadingContent loading paths. r=josh,sr=jst 2012-08-06 13:48:25 -07:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
03af8b0c50 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
7096160830 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Bill McCloskey
46cc0e9bd9 Bug 779849 - Fix NPAPI wrapping (r=bholley) 2012-08-03 12:41:49 -07:00
Makoto Kato
06ac561eae Bug 779408 - error: cannot convert 'std::nullptr_t' to 'mozilla::gl::SharedTextureHandle {aka unsigned int} on gcc 4.6 in NDK r8b. f=ayg r=roc 2012-08-02 13:25:10 +09:00
Eric Faust
b0323e13a7 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Martin Stransky
41f2e1b46d Bug 544088 - UseAsyncPainting() -> IsOOP(). r=joshmoz 2012-08-01 16:34:08 -04:00
Martin Stransky
67790755e0 Bug 544088 - Support Xt plugins OOP. r=karlt 2012-08-01 16:34:08 -04:00
Chris Peterson
b477c10c9b Backout f6aff596b0ff (bug 779287). r=me
--HG--
extra : rebase_source : 38526eac16b3eef5fd0e006784fa61a3d37598f6
2012-08-01 13:01:35 -07:00
Chris Peterson
111951c62e Bug 779287 - widget/android: Replace NULL with nullptr. r=mfinkle 2012-07-31 09:36:30 -07:00
Karl Tomlinson
f8fc648682 b=778031 add FinishX to XSync less frequently and use it r=cjones
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
Benoit Girard
f7f7db01d2 Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
--HG--
rename : gfx/thebes/nsIOSurface.h => gfx/2d/MacIOSurface.h
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-07-31 11:11:57 -04:00
Aryeh Gregor
24ee8099d6 Bug 777292 - dom/plugins/: Fix incorrect conversions to nsresult; r=roc 2012-07-30 12:24:36 +03:00
Ehsan Akhgari
3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brian Hackett
aa69831ee5 Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Nicolas Silva
abe6f904ce Bug 773462 - Rename calls to ImageContainer::SetCurrentImage into ImageContainer::SetCurrentImageInTransaction when the method is used within a layer transaction. r=roc 2012-07-26 14:11:22 -04:00
Bobby Holley
69a662969e Bug 777098 - Null check private of NPObjWrapper in nsJSObjWrapper::GetNewOrUsed. r=bsmedberg 2012-07-27 11:15:43 +02:00
Ehsan Akhgari
e7c36e9389 Bug 777796 - Remove PluginPRLibrary::mNPP_GetValue; r=josh 2012-07-26 17:54:11 -04:00
Brian R. Bondy
21c143f097 Bug 774140 - Remove code duplication for IsVistaOrLater. r=bsmedberg 2012-07-25 10:23:26 -04:00
James Willcox
fa70604fdd Bug 776331 - Avoid crash when trying to redraw a destroyed plugin on Android r=josh 2012-07-26 09:39:21 -04:00
Ms2ger
3941714312 Back out bug 771666 and bug 745030. 2012-07-25 22:39:01 +02:00
John Schoenick
cc7cc66729 Bug 745030 - Refactor nsObjectLoadingContent loading paths. r=josh,sr=jst 2012-07-25 09:51:02 -07:00
Georg Fritzsche
b014f107c4 Bug 776923 - Fix tag management by (1) not loading duplicate plugins if they are in-process and (2) not repeatedly adding plugin tags that haven't changed. r=josh 2012-07-23 19:52:51 +02:00
Joshua Cranmer
d539846cab Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
James Willcox
30e0f551ce Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley
320a116efd Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox
752928c2eb Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Aryeh Gregor
65eef91085 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Mark Capella
eddd048c93 Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Ms2ger
cb94cc2ce1 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
James Willcox
5517ea9fde Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Bobby Holley
adde5ac394 Bug 775435 - Wrap-by-default in GetNPObjectWrapper. r=bsmedberg 2012-07-20 09:17:43 +02:00
Steve Fink
6914108ba0 Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds 2012-07-19 14:55:48 -07:00
James Willcox
08eb1f216b Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad 2012-07-19 16:15:40 -04:00
Mark Capella
ab782c26b2 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Bobby Holley
73c0e4e0c2 Bug 771202 - Don't double-call OnWrapperDestroyed. r=bsmedberg
Calling OnWrapperDestroyed at this point in OnDestroy doesn't make sense, because the JS objects have a finalize hook that also calls OnWrapperDestroyed regardless of whether or not they still have a pointer stashed in their private. So when we do this, we get a bunch of assertions about unmatched calls to OnWrapperDestroyed.

AFAICT the only reason this worked before is that this code never ran: I put a MOZ_ASSERT just before call to OnWrappedDestroyed in OnDestroy, and it never fired during the dom/plugins mochitests.
2012-07-13 10:56:38 +02:00
Bobby Holley
d6a1234188 Bug 771202 - Unwrap object arguments passed to plugins. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
31b22f2653 Bug 771202 - Implement post-transplant plugin behavior. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
bfecdaee41 Bug 771202 - Make the prototype climbing code in nsJSNPRuntime unwrap security wrappers. r=bsmedberg 2012-07-13 10:55:14 +02:00
Ryan VanderMeulen
cd30f80bb5 Backout de697e323b39, b778d551c9e5, and 4b9414cba94d (bug 544088) due to build bustage. 2012-07-12 19:52:15 -04:00
Martin Stransky
f9d8b2202b Bug 544088 - UseAsyncPainting() -> IsOOP(). r=joshmoz 2012-07-12 19:28:53 -04:00
Martin Stransky
8939497d80 Bug 544088 - Support Xt plugins OOP. r=karlt 2012-07-12 19:28:53 -04:00
David Keeler
6f37861531 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
David Zbarsky
5a7819ef71 Bug 773025 - fix 2 warnings in dom/plugins r=jst 2012-07-11 20:55:59 -07:00
John Schoenick
c530cc45c2 Bug 772590 - The plugin category manager registration should account for multiple plugins per MIME, r=josh 2012-07-10 17:06:17 -07:00
John Schoenick
9355891385 Bug 755551 - Followup, check if the preference has a value, not necessarily a user value, r=josh 2012-07-10 17:06:17 -07:00
John Schoenick
3d7aa47ef8 Bug 755551 - Implement plugin.allowed_types whitelist 2012-07-06 17:20:15 -07:00
Bill McCloskey
4093aff673 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Ehsan Akhgari
cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Benjamin Smedberg
e1307ad204 Bug 769721 - Minimal patch to force OOPP mode on for Windows Vista+ users, because Flash is not tested with the IPP configuration and has known bugs, r=josh 2012-07-03 17:04:45 -04:00
John Schoenick
dc0bbdc2b0 Backout Bug 406451 for regressions 2012-06-19 16:25:56 -07:00
Jim Mathies
17f7d077f4 Bug 723133 - Protect against recursive calls in nsPluginNativeWindowWin's PluginWndProc. r=bsmedberg 2012-07-02 12:15:17 -05:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00