Commit Graph

780 Commits

Author SHA1 Message Date
Saint Wesonga
c5d2e640b0 Bug 538816 - Fix typos in "basic" SDK sample plugin. r=josh 2010-01-21 13:16:51 +01:00
Josh Aas
811332f5a6 Fix default plugin drawing on Mac OS X. No bug. r=smichaud 2010-01-20 18:59:38 -05:00
Benjamin Smedberg
83a5e9f243 Followup to bug 530980 - Make the setCookie() method initialize its return value 2010-01-19 17:34:10 -05:00
Josh Aas
dd2c892251 Add a plugin test that sets and then gets a cookie. b=530980 r=roc 2010-01-19 15:45:21 -05:00
Jim Mathies
c816891a55 Bug 539955 - [OOPP] unit test failure in test_plugin_mouse_coords.html. r=bsmedberg.
--HG--
extra : transplant_source : o%008%29%A0%96%60%E1W%7D%1A%C7e%BDJ%B2D%EE%1D%E2
2010-01-15 16:02:01 -06:00
Ben Turner
471d1a3e1b Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind.
--HG--
extra : transplant_source : %F8%7C%B6%C49%24%9A%E0%96%EA%10%E9%C7%C0%EF%EA%D6%7FT%9A
2010-01-15 12:35:57 -08:00
Peter Van der Beken
076d23ead6 Backout 76cdc8296409 and 9baa220b27c0 (Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor') to try fo fix orange. 2010-01-19 13:00:58 +01:00
Ben Turner
37ff4409a5 Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind. 2010-01-15 12:35:57 -08:00
Chris Jones
80b004dd05 Bug 538532: When a plugin crashes, make sure all its instances are "stopped" ASAP. r=bsmedberg r=josh
--HG--
extra : rebase_source : 4355e574e5cf74da76ef5773e16fa3bd9a09225e
2010-01-12 00:45:24 -06:00
Chris Jones
2d1e4c2722 Bug 538532: Add the helper method nsPluginHost::FindTagForPlugin(). r=josh
--HG--
extra : rebase_source : c7192818d9f6e42510e681286a4dda774df8a94c
2010-01-12 00:45:23 -06:00
Josh Aas
9f1683fecf Sent "PluginCrashed" notification when a plugin crashes. b=519541 r=jst r=bsmedberg 2010-01-13 11:42:41 -05:00
Benjamin Smedberg
6d0ab1c884 Bug 538642 part 1: Add a method to the testplugin to set the exception bit, the way some bad plugins/extensions do, r=ted (Windows-only for the moment) 2010-01-08 15:53:04 -05:00
Benjamin Smedberg
84797e72d2 Disable the malformed-data-URI test, since the plugin host is broken and we're double-deleting the urlnotify context pointer in the testplugin.
--HG--
extra : transplant_source : %1Et%11L%F7%13%F6%FCl%C4%0C%C8%95%04%AF-%14%0E%C1%B5
2010-01-11 14:36:11 -05:00
Benjamin Smedberg
100035ff72 Our plugin host has a bug with malformed data URIs: mark this test todo.
--HG--
extra : transplant_source : %F1%3F%BD%26%1E%DF%1De%0E%1A%18%8C%C7%1F%D6m%0CIQ%88
2010-01-07 14:51:37 -05:00
Benjamin Smedberg
095bd7f538 Followup to bug 536437 - fix the test so that we wait for the new tests to complete
--HG--
extra : transplant_source : %B0%87%C6%A1%3C%29%C0e%8C%99%A9%11%7E_%AA%B9r%D8%10%A6
2010-01-07 10:57:18 -05:00
Benjamin Smedberg
66ce889c9b Tests for bug 536437
--HG--
extra : transplant_source : %5D.%3C%D9%90%C6%A9B%5E%F8O4%F5e%95%0AO%BC8%27
2010-01-05 12:12:41 -05:00
Jim Mathies
bd95331a3a Bug 536303 - OOPP: disable oopp for Windows 2000. r=benjamin. 2010-01-10 17:50:36 -06:00
Benjamin Smedberg
43b7734985 Tests for bug 532246, r=jst 2009-12-02 12:02:16 -05:00
Benjamin Smedberg
86980c504e Bug 532246 - Plugins should not be able to obtain an NPObject* belonging to a different NPP, because that instance may go away before this one and the NPObject* may be invalidated and destroyed. Double-wrap in these cases. r=josh sr=jst 2009-12-02 12:02:41 -05:00
Robert O'Callahan
bd19a6fd42 Bug 527864. Add support to the test plugin to detect what width was used at the last paint. r=josh 2010-01-07 14:11:27 +13:00
Josh Aas
0487ff44e4 Minor cleanup, no bug. a=bsmedberg 2010-01-05 13:30:00 -05:00
Chris Jones
a20ac7326a Bug 535687: Fix regression in forwarding NPN_InvalidateRect() for OOPP on linux. r=bent 2010-01-04 15:46:34 -06:00
Makoto Kato
86412ece0c Bug 535495 - build break test plugin on x64 due to changeset 9c16bf14545c. r=josh 2010-01-01 23:00:18 +09:00
Dão Gottwald
023f0431f3 Fix test_painting.html bustage on Win and OS X from changeset 4f5630e68d04 2009-12-31 11:11:17 +01:00
Karl Tomlinson
b3ef40a9ee bug 535687 is not fixed yet so mark todo for mochitest-ipcplugins
--HG--
extra : rebase_source : ff6a13dc4dfbbac62071328bc9202eb2f9169d99
2009-12-31 20:32:51 +13:00
Karl Tomlinson
0794ab1863 test windowless invalidation (b=535687) and expose events with clips (b=445707)
--HG--
extra : rebase_source : 4befde6a6635d53f60e628b74576cc1dcb1fe1c2
2009-12-31 16:20:51 +13:00
Karl Tomlinson
cf708b8138 b=537301 add sanity checks on expose event rectangle and use for drawmode=solid r=roc
--HG--
extra : rebase_source : f2ccccc0d7e16c17f70048b856cf08c4ed20c774
2009-12-31 16:19:30 +13:00
Michael Wu
27fd1e717b Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst] 2009-12-27 14:26:00 -06:00
Jacek Caban
f4e35e2c70 Bug 535872 - Make nptest_windows.cpp compile on new mingw, r=roc 2009-12-29 14:21:49 -05:00
Benjamin Smedberg
a4e17b427f Fix the test for bug 535298 - because plugin instantiation is asynchronous, we are crashing the plugin process after we meant to, which leads to a JS error and a hung test 2009-12-22 10:38:42 -05:00
Benjamin Smedberg
47b4c82551 Test for bug 535298, crashes which occur during NPP_New or NPP_Destroy 2009-12-21 12:37:32 -05:00
Benjamin Smedberg
2d48c3e186 Re-enable test_crashing.html on the electrolysis branch to see how random/reproducible it is. 2009-12-17 13:11:49 -05:00
Oleg Romashin
bd7430f326 b=532627; nsPluginHostImpl::WritePluginInfo should call PR_Sync before PR_Close, r=jst 2009-12-23 13:58:54 +02:00
Blake Kaplan
b03049c0f2 Bug 535641 - Move this declaration around. r=jst 2009-12-22 16:54:06 -05:00
Josh Aas
ac8d51b495 Improve plugin instance stopped/started state management. b=535660 r=roc 2009-12-17 21:09:22 -05:00
Josh Aas
76e1222110 Stop storing xpconnect status in the plugin tag, it isn't used any more. b=535502 r=roc 2009-12-17 12:22:46 -05:00
Benjamin Smedberg
e431d632a4 Disable test_crashing.html because it may be causing hangs still and I have little confidence in it yet. 2009-12-16 22:09:42 -05:00
Benjamin Smedberg
211d3738cb Merge mozilla-central to electrolysis. 2009-12-16 19:02:20 -05:00
Josh Aas
df4585ba38 Fix plugin host so that idle event timer can QI correctly and make the callback. b=535357 r=smichaud 2009-12-16 15:54:16 -05:00
Benjamin Smedberg
e9b0ccabad Bug 532751 - Notify the nsNPAPIPlugin and the related nsNPAPIPluginInstances when a plugin crashes so that reloading will create a new plugin process, r=josh 2009-12-16 15:08:45 -05:00
Benjamin Smedberg
234f5858ff Followup to review comment for bug 534866: don't set fCallbacks.size twice on MacOSX. 2009-12-16 09:10:30 -05:00
Benjamin Smedberg
ffeebc91f0 Merge mozilla-central into electrolysis 2009-12-16 08:38:42 -05:00
Josh Aas
a2cdef8b23 Separate plugin tag code from the plugin host. b=533371 r=jst 2009-12-16 08:16:42 -05:00
Benjamin Smedberg
097c85cae3 Bug 534866 - Fix Java and WMP plugins on Windows by initialize NPPluginFuncs.size before calling NP_Initialize, regression from bug 516509 which landed with the e10s merge, a=blocker-regression r?pending from josh 2009-12-15 21:24:26 -05:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Josh Aas
733399cc7e Windows bustage fix, b=533371 2009-12-15 20:21:57 -05:00
Robert O'Callahan
23ff629cce Backing out test for bug 533371 to try to fix leaks 2009-12-16 12:54:59 +13:00
Robert O'Callahan
b39fa0417b Backed out changeset 682926ebca13 2009-12-16 12:54:30 +13:00
Josh Aas
11a169cbb4 Separate plugin tag code from the plugin host. b=533371 r=jst 2009-12-15 17:47:22 -05:00
Josh Aas
3b4141f69a Back out bug 533371 due to Windows bustage. 2009-12-15 22:16:04 -05:00
Josh Aas
df154de1eb Backed out changeset cbb4f67c6b68 2009-12-15 22:15:39 -05:00
Josh Aas
1417c53753 Backed out changeset 892d3eb10151 2009-12-15 22:14:48 -05:00
Josh Aas
514a6c5e9d Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc 2009-12-15 15:44:52 -05:00
Josh Aas
4f86d84cb3 Add a plugin test that sets and then gets a cookie. b=530980 r=roc 2009-12-15 15:14:03 -05:00
Jim Mathies
23118539a9 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Josh Aas
e4ef56c1b9 Unset the plugin instance on the plugin instance owner if the instance fails to initialize. b=533030 r=jst 2009-12-15 15:28:12 -05:00
Benjamin Smedberg
6cdd11fcd4 test_crashing.html had windows-style line endings. 2009-12-14 09:14:28 -05:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Ben Turner
6e20a64631 Backing out changesets ed8d3323a50d, 3930bbdffdd5, 36e32abd2cc8, f4bcfc703ff9, 21051d997076, and 49f489315dd9 at the request of bsmedberg. 2009-12-11 12:48:37 -08:00
Jonathan Griffin
fb84e3c42c Bug 533482. Let plugin crashtest notify testrunner that no leak log is expected when the plugin process is deliberately crashed. r=bsmedberg 2009-12-09 10:51:38 -08:00
Benjamin Smedberg
fa1b90bc0c Comment out the crash test until we can fix the leaking nsPluginHost as well as tell the test harness that it's ok that the crashing plugin process didn't print leak information. 2009-12-05 13:53:12 -05:00
Chris Jones
93211d4751 rename conflicting crash() symbol that's breaking the mac build 2009-12-04 23:15:18 -06:00
Benjamin Smedberg
cb534efdff Oh snap! nsPluginTag.mEntryPoint became a nsCOMPtr in a merge and ended up being double-released. Victory is mine! 2009-12-04 23:27:32 -05:00
Benjamin Smedberg
8613b91908 Add a .crash() method to the testplugin, and test that crashing throws exceptions in the parent. 2009-12-03 15:33:25 -05:00
Benjamin Smedberg
3e06063b78 !MOZ_IPC build bustage from bug 532751
--HG--
extra : rebase_source : a0b3a3318d3cd3d03fb034ae4d9fd5ab6cb9454a
2009-12-04 13:53:59 -05:00
Benjamin Smedberg
6e3d83cf38 Bug 532751 - Stop cacheing the nsNPAPIPlugin when it crashes, so that refreshing the page immediately reloads the plugin, r=bent pending r?joshmoz 2009-12-04 13:24:57 -05:00
Benjamin Smedberg
487e2582f8 Bug 532700 - nsNPAPIPluginInstance can outlive its nsNPAPIPlugin, sr=jst pending r=josh 2009-12-03 15:33:27 -05:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Benjamin Smedberg
13786e8a04 Bug 532605 - _write conflicts with symbols in the MSVC runtime. Remove all vestiges of PR_BEGIN_EXTERN_C from nsNPAPIPlugin.{h,cpp}, so that these functions are given C++ mangled names in the namespace we actually declared for them. 2009-12-03 09:17:49 -05:00
Ben Turner
ce1bd10179 Don't let plugin return a null window object and NPERR_NO_ERROR, r=jst. 2009-12-01 15:08:16 -08:00
Ben Turner
b17063546e Bug 526401 - Fixup handling of null NPP. r=bsmedberg. 2009-12-01 13:27:13 -08:00
Josh Aas
783c445e79 Fixing bug 520639. Make plugin library unloading independent of the lifetime of nsPluginTag objects. Patch and reviews by jst@mozilla.com and joshmoz@gmail.com, a=blocking1.9.2+ 2009-12-02 21:14:13 -08:00
Benjamin Smedberg
9911c2f99d Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Johnny Stenback
c9d4899294 Fix for bug 531290 (Firefox 3.6b4 [@ PL_strlen | nsNPAPIPluginInstance::Initialize(nsIPluginInstanceOwner*, char const*) ] during npietab.dll initialization [@nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&) | xul.dll@0x9cc3c3 ]). r=josh, a=blocking1.9.2+. 2009-11-30 11:11:20 +01:00
Benjamin Smedberg
f7eb5c27ab Bug 530894 - Clean up TODOs in the plugin stream remoting: if NPN_{Get,Post}URLNotify fail, clean up the actor properly. Also deal with null postdata, which currently causes significant problems for the in-process case (NPN_PostURLNotify succeeds, but NPP_URLNotify is never called). r=bent 2009-11-25 09:26:01 -05:00
Josh Aas
a4b1dd24fa Fix a bug that prevents NPAPI plugins from retrieving cookies. b=526462 r=roc 2009-11-25 02:40:46 -05:00
Benjamin Smedberg
7a581148bc Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Josh Aas
e535f8aad7 Forgot null checks for NPN_MemAlloc in patch for bug 530138. NPOB. 2009-11-23 14:08:41 -05:00
Josh Aas
f949685c4d Bug 530138, npruntime sample plugin not using NPN_MemAlloc when it should. NPOB. 2009-11-23 13:57:27 -05:00
Benjamin Smedberg
bda0f732bc Don't crash if NP_Initialize failed remotely: PluginLibrary::NP_Initialize returns an nsresult, not a NPError; nsNPAPIPlugin::CreatePlugin fails but still sets the outparam; nsPluginHost doesn't properly rv-check nsNPAPIPlugin::CreatePlugin, which causes us to think the bad plugin is actually good. I hate stupid failure chains! 2009-11-20 10:34:20 -05:00
Chris Jones
9a696edbf3 bug 530007: fix crashing edge cases in the hope of getting better diagnostics about failed tests 2009-11-20 02:23:07 -06:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Benjamin Smedberg
453514dea2 Bug 523769 - Don't call into plugin hooks (specifically NPObject.deallocate) while mid-GC, r=jst+mrbkap 2009-11-17 14:51:46 -05:00
Ben Turner
cafe07f11b Bug 525792 - 'Fix leaks running mochitests'. 2009-11-12 14:16:54 -08:00
Benjamin Smedberg
957e2b5042 The test plugin over-retains its scriptable object: NPN_CreateObject returns a retained object, so there's no need to retain it again. This shouldn't fix the leak but it does expose the bug bent just fixed. 2009-11-11 23:46:56 -05:00
Benjamin Smedberg
17cf638aac Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Ben Turner
401a6884be Fix silly bugs 2009-11-09 17:30:02 -08:00
Benjamin Smedberg
281b9fd4a8 Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Benjamin Smedberg
8fad57cfea Disable the NPN_SetException tests for the time being until the e10s bug is fixed. 2009-11-04 13:11:20 -05:00
Chris Jones
f1358e3105 bug 525792: fix leaking PluginModules, call NP_Shutdown() on plugins. minor, no r= 2009-11-03 15:37:07 -06:00
Benjamin Smedberg
eba77abeb6 Merge mozilla-central into e10s. 2009-10-28 11:32:00 -04:00
Josh Aas
39b3aac40a Allow multiple types of OOP plugins to load. b=516509 r=cjones 2009-10-27 15:51:12 -04:00
Ben Turner
c650170292 Don't let people get the order of includes wrong in this horrifying patchwork of chromium and mozilla types 2009-10-21 16:01:16 -07:00
Benjamin Smedberg
15de24f35e Merge mozilla-central to electrolysis. 2009-10-20 12:08:28 -04:00
Jonathan Griffin
861525d628 Bug 522791. Add basic tests for NPN_SetException.
--HG--
extra : rebase_source : 5d4f69cb5c54136775f0752713d055ad9f407c7a
2009-10-19 14:00:59 -07:00
Jonathan Griffin
d9912f5e30 Bug 518940. Amend NPN_InvokeDefault tests to include multiple-argument and no-argument tests.
--HG--
extra : rebase_source : 65df67027083f5474a3a82297b9a597b8458d06f
2009-10-16 15:29:15 -07:00
Jonathan Griffin
dee25456a7 Bug 522400. Fix a typo which prevented the invokedefault method on plugin-defined objects from being called. r+sr=jst 2009-10-16 10:27:33 -07:00
Benjamin Smedberg
fa058fc1f1 Merge mozilla-central to electrolysis to pick up bug 515436. 2009-10-12 10:51:38 -04:00
Ben Turner
80b478e8c5 Bug 516524 - Support NPRuntime across processes. r=bsmedberg. 2009-10-07 16:50:48 -07:00
Ben Turner
62534891fc Merge mozilla-central 2009-10-05 16:08:52 -07:00
Chris Jones
0531f8f96b basic support for windowless X11 plugins. gfx not quite working yet 2009-09-24 21:03:59 -05:00
Ben Turner
29c6cc37ec Merge mozilla-central 2009-09-23 13:14:34 -07:00
Benjamin Smedberg
64a1193a12 Followup to bug 517078 - separate out the plugin tests so that each test is separate. This makes it easier to see what the test is doing, has fewer potential interactions between tests, and made it easier to debug Electrolysis. Reworked slightly and r=griffin
--HG--
extra : rebase_source : 8eaf51a366d7cd08db23a29f2d112351a46e4dc7
2009-09-23 09:49:49 -04:00
Rich Walsh
5c1a94f9fe [OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher 2009-09-22 15:49:26 +02:00
Benjamin Smedberg
8aab401dc1 Merge mozilla-central into electrolysis to pick up new plugin tests. 2009-09-21 10:57:57 -04:00
Doug Turner
16ce7d7c20 Bug 528429 - MOZ_COMPOSITED_PLUGINS should be disabled when building for Qt. r=vlad 2009-11-13 07:10:53 -08:00
Josh Aas
8c81f341a1 Stop loading plugins with the name pattern "npjava*.dll" on Windows - these are old Java DLLs that won't work in Gecko 1.9.2+. b=527543 r=jst 2009-11-13 04:37:25 -05:00
Dave Townsend
8f787ba4fd Bug 471245: Unpacked extensions inadvertently enable plugins when reading chrome file at startup. r+sr=jst 2009-09-22 08:46:32 +01:00
Ben Turner
66a36315ce Merging mozilla-central once more to hopefully clear windows unit tests 2009-09-20 10:47:21 -07:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Benjamin Smedberg
d44f878b56 Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Jonathan Griffin
9891311272 Bug 517078 part I: create mochitests for stream APIs in NPAPI 2009-09-18 10:08:08 -04:00
Robert O'Callahan
69e399486e Disable test_windowed_invalidate.html on non-Windows, since it's only needed for Windows and seems to be failing on GTK2 at least
--HG--
extra : rebase_source : dc4114dfddee4d8714f7d5c881356352791e6400
2009-11-04 09:17:50 +13:00
timeless@mozdev.org
a57f8826c1 Bug 525980 Fix typos in npapi.h
r=joshmoz
2009-11-04 07:39:43 +13:00
Robert O'Callahan
3e0434e672 Bug 510082. Silverlight depends on NPN_InvalidateRect working even when the plugin is in windowed mode (although it should really just call Win32 APIs to invalidate its window), so make NPN_InvalidateRect work for windowed plugins. r=josh 2009-11-04 07:39:42 +13:00
Jory A. Pratt
8abe24e659 Bug 506599 multiple inclusion of nptypes.h causes build error r=joshmoz 2009-11-02 17:41:36 +08:00
Jonathan Griffin
96ff9f6933 Bug 523216. Check for NULL message in NPN_SetException. r=joshmoz 2009-10-30 13:15:22 -07:00
Michael Wu
d38ee96a91 Improve GetURL/PostURL code
Bug 273025 - bad logic results in potential leak xor crash based on flow; v4, (1/2)
r+sr=jst
2009-10-29 01:29:44 +01:00
Jacek Caban
4b876512bd Bug 531300 - Link failure in testplugin on mingw, r=roc 2009-12-13 09:44:15 -08:00
Jae-Seong Lee-Russo
1d5da93973 Bug 530389 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /modules/plugin/, r=joshmoz 2009-12-13 09:32:10 -08:00
Oleg Romashin
786c8adad4 b=512884; nsStringGlue should be used in nsIPluginInstance.h; r+sr=jst 2009-09-18 05:35:49 -04:00
Josh Aas
923b0e293c Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Josh Aas
dd80aa5a05 Fix some spelling mistakes. No bug. 2009-11-10 00:16:05 -05:00
Josh Aas
d069d0092b Cocoa event model: 1) fix spurious NPP_SetWindow calls 2) propagate event model immediately. b=527115 r=smichaud r=roc 2009-11-09 22:58:48 -05:00
Dão Gottwald
bea18b662b Bug 527417 - nsIPluginHost::getPluginTags aPluginCount out param should be optional. r=josh 2009-11-09 22:11:58 +01:00
Josh Aas
a80cc9a8b5 Add test for NPN_ConvertPoint, only enabled for Mac OS X for now. b=500406 r=roc 2009-11-09 13:19:26 -05:00
Robert O'Callahan
5220250e10 Disabling plugin test for bug 520436 to figure out test failures on Windows and Linux
--HG--
extra : rebase_source : a82298cc3463f744f7b577bcc16403a76eac1961
2009-10-15 17:56:24 +13:00
Robert O'Callahan
93541fb15e Bug 514974. Test plugin reads from instanceData just after freeing it. r=joshmoz
--HG--
extra : rebase_source : 21adecafa47b6a476e191df6d0db10909505f02c
2009-09-07 12:35:14 +12:00
Benjamin Smedberg
84f70d6422 Bug 510963 - NPN_GetValue(NPNVPluginElementNPObject) is broken, r=josh
--HG--
extra : rebase_source : e1242620d2adfee22a5c8ede076e4d43916e72d9
2009-09-10 14:11:30 -04:00
Josh Aas
193b0904be Remove unused member variable that should have gone away in bug 506985. r=smichaud 2009-09-08 12:36:19 -04:00
Walter Meinl
c61a75f84d Bug 507807 - Clean up linking on OS/2; clean plugins on trunk for real
r=Weilbacher
2009-09-05 00:29:13 +02:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Ben Turner
fd54229708 Rename plugin protocols and fix up usage
--HG--
rename : dom/plugins/NPP.ipdl => dom/plugins/PPluginInstance.ipdl
rename : dom/plugins/NPAPI.ipdl => dom/plugins/PPluginModule.ipdl
rename : dom/plugins/NPObject.ipdl => dom/plugins/PPluginScriptableObject.ipdl
rename : dom/plugins/NPBrowserStream.ipdl => dom/plugins/PPluginStream.ipdl
rename : dom/plugins/NPPInstanceChild.cpp => dom/plugins/PluginInstanceChild.cpp
rename : dom/plugins/NPPInstanceChild.h => dom/plugins/PluginInstanceChild.h
rename : dom/plugins/NPPInstanceParent.cpp => dom/plugins/PluginInstanceParent.cpp
rename : dom/plugins/NPPInstanceParent.h => dom/plugins/PluginInstanceParent.h
rename : dom/plugins/NPAPIPluginChild.cpp => dom/plugins/PluginModuleChild.cpp
rename : dom/plugins/NPAPIPluginChild.h => dom/plugins/PluginModuleChild.h
rename : dom/plugins/NPAPIPluginParent.cpp => dom/plugins/PluginModuleParent.cpp
rename : dom/plugins/NPAPIPluginParent.h => dom/plugins/PluginModuleParent.h
rename : dom/plugins/NPObjectChild.cpp => dom/plugins/PluginScriptableObjectChild.cpp
rename : dom/plugins/NPObjectChild.h => dom/plugins/PluginScriptableObjectChild.h
rename : dom/plugins/NPObjectParent.cpp => dom/plugins/PluginScriptableObjectParent.cpp
rename : dom/plugins/NPObjectParent.h => dom/plugins/PluginScriptableObjectParent.h
rename : dom/plugins/NPBrowserStreamChild.cpp => dom/plugins/PluginStreamChild.cpp
rename : dom/plugins/NPBrowserStreamChild.h => dom/plugins/PluginStreamChild.h
rename : dom/plugins/NPBrowserStreamParent.cpp => dom/plugins/PluginStreamParent.cpp
rename : dom/plugins/NPBrowserStreamParent.h => dom/plugins/PluginStreamParent.h
2009-09-08 23:31:35 -07:00
Benjamin Smedberg
187a34a633 Merge mozilla-central into Electrolysis 2009-08-26 12:15:27 -04:00
Doug Turner
ea91fe7947 Bug 521257 - Support NPImageExpose on Maemo/Hildon only. r=roc 2009-10-26 22:18:35 -07:00
Jonathan Griffin
5505a545d5 Bug 518940. Add NPN_Evaluate tests. 2009-10-23 13:41:52 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Josh Aas
cc8d9ebb04 Remove java-specific preferences from Firefox UI, hidden prefs. Java should be managed via the addons manager. Also improves accuracy of "window.navigator.javaEnabled()". b=506985 r/sr=jst uireview=faaborg 2009-08-24 15:56:43 -07:00
Mats Palmgren
de859aa548 Make the nsPluginInstanceTag destructor non-recursive to avoid exhausting stack space. b=486349 r+sr=jst 2009-08-19 02:25:36 +02:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Josh Aas
65e80f6eb0 Implement Cocoa NPAPI event model. b=435041 sr=roc 2009-08-26 17:29:47 -07:00
timeless@mozdev.org
0253ddb397 Bug 507404 dialogWindow is unused in DialogOKClicked and DIALOGID is useless
r=karlt
2009-08-26 18:27:59 +02:00
Robert O'Callahan
2194dd18b0 Bug 520462. Test that mouse clicks transfer focus to plugins correctly. r=jmathies 2009-10-08 00:14:12 +13:00
Robert O'Callahan
f98cfc2882 Bug 520436. Interpret NPN_InvalidateRect rectangles as relative to the content-box, not the border-box. r=josh 2009-10-05 23:07:30 +13:00
Ben Turner
cd1d42ffe0 Merge mozilla-central 2009-07-30 11:28:07 -07:00
Rich Walsh
6911caefb0 [OS/2] Bug 500654: sync OS/2 plugin code with Windows version, to hopefully fix some Flash-related crashes, r=pweilbacher 2009-07-30 21:20:44 +03:00
Ben Turner
f038d2457f Revert testplugin changes so that unit tests pass 2009-07-28 14:38:32 -07:00
Ben Turner
442e268257 Fix testplugin on windows to not crash until we support scriptable objects 2009-07-28 11:48:21 -07:00
Josh Aas
39c82ddda0 Document unscheduleAllTimers scriptable method added to test plugin. 2009-07-27 23:37:52 -04:00
Ben Turner
fd28e9de5a Allow out of process tabs and plugins to be disabled via prefs or environment variables, and disable them both by default so that unit tests go green. 2009-07-24 15:21:07 -07:00
Benjamin Smedberg
0501b7a589 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04:00
Benjamin Smedberg
1e808cd4ea Merge mozilla-central into Electrolysis
--HG--
rename : modules/plugin/base/src/nsPluginHostImpl.cpp => modules/plugin/base/src/nsPluginHost.cpp
2009-07-20 09:36:23 -04:00
Vladimir Vukicevic
18db6edf40 b=503902; put back npapi DOM object access for WinCE; r=jst 2009-07-16 14:13:43 -07:00
Peter Weilbacher
eed6512282 Bug 503950: OS/2 bustage fix for bug 503377, p=wuno@lsvw, r=pweilbacher 2009-07-14 13:34:07 +02:00
Benjamin Smedberg
f962f665d1 Windows bustage fix for bug 503377 2009-07-13 12:57:32 -04:00
Benjamin Smedberg
7f34fe29a0 nsIPluginInstance.getMIMEType should be a [shared, const] parameter... it doesn't follow the normal XPCOM rules about allocating memory. r=josh sr=jst 2009-07-13 12:27:46 -04:00
Ginn Chen
bf66108343 Bug 501889 _scheduletimer symbol not found on Solaris r=joshmoz sr=jst 2009-07-13 20:23:41 +08:00
Josh Aas
c124a0981e Remove mIsJavaPlugin variable in nsNPAPIPluginInstance, fix some comments. b=503809 sr=roc 2009-07-12 22:44:48 -04:00
Josh Aas
908cd606b2 Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc 2009-07-10 20:20:32 -04:00
Robert O'Callahan
af2094496b Backed out changeset 91a43fa9b0da
--HG--
extra : rebase_source : 00ee0eac778112a8aac3e19f1f114e8b8b34580c
2009-07-10 20:13:51 +12:00
Robert O'Callahan
8822eb0091 Bug 501295. The Win32 test plugin needs to compute an accurate clip region. r=jmathies 2009-07-10 14:03:00 +12:00
Robert O'Callahan
8ce8b649b2 Bug 501295. pluginGetEdge should return coordinates relative to the window frame in the Win32 test plugin. Then we can enable test_plugin_position on Windows. r=jmathies 2009-07-10 14:03:00 +12:00
Ben Turner
67ac5c13b2 Some windows build fixup 2009-07-02 13:48:33 -07:00
Ben Turner
73f03dff53 merge bent's changes from libchromiumipc. Gtk plugins now drawing 2009-07-01 14:19:32 -07:00
Chris Jones
8aa21b1e90 merge plugin work from libchromiumipc. add env var check for OOP iframe. a few small bugfixes here and there. 2009-07-02 11:54:22 -05:00
Benjamin Smedberg
8620d95413 Plugins stuff: this code is equivalent to electrolysis-tmp revision 61cd9e89fd00, except that I had to merge forward a minor change to the plugin-loading code from Josh's cleanup. 2009-06-30 14:51:05 -04:00
Josh Aas
4a7715939e Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
Josh Aas
c81455d12a Remove plugin instance peers (nsIPluginInstancePeer, nsPIPluginInstancePeer). Second and final part of bug 500889. r/sr=jst 2009-06-29 14:53:52 -04:00
Josh Aas
4e45156e64 Bug 500889 - Remove nsIPluginInstancePeer2 and nsIPluginInstancePeer3, part 1 for removing plugin instance peers. b=500889 r/sr=jst 2009-06-28 19:43:19 -04:00
Robert O'Callahan
dd9d905b7d Bug 500910. GTK2 test plugin should take window shapes into account when computing the effective clip region. r=karlt 2009-07-10 14:02:58 +12:00
Josh Aas
c88c69078b Get rid of nsMIMEType type. b=503025 r/sr=jst 2009-07-08 23:25:20 -04:00
Josh Aas
00f32a1cf6 Remove some code that is no longer necessary for the Java plugin on AIX. b=498148 r/sr=jst 2009-07-07 21:01:38 -04:00
Josh Aas
f6ab658dab nsIPlugin and nsIPluginHost should not inherit from nsIFactory. b=502886 r/sr=jst 2009-07-07 21:00:11 -04:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Josh Aas
a62bb5d726 Various 64-bit fixes for Mac OS X widget and plugin code. b=509947 r=mstange 2009-08-12 18:32:41 -04:00
timeless@mozdev.org
6abbe0e4d8 Bug 508021 nsNPAPIPluginInstance::Print does not need to null check mCallbacks
r=jst
2009-08-12 11:49:55 +02:00
timeless@mozdev.org
d8ae4735cf Bug 505833 NPObjectMember_Convert is the only function that doesn't null check JS_GetInstancePrivate
r=joshmoz@gmail.com
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
5e5171cd35 Bug 499295 NULL crash [@ nsPluginInstancePeerImpl::GetJSContext]
r=jst sr=jst
2009-06-27 18:42:51 -07:00
Peter Weilbacher
fff7a9a9d4 [OS/2] Bug 500938: fix build break in nsPluginNativeWindowOS2.cpp following bug 499431, p=dragtext@e-vertise, r=pweilbacher 2009-06-28 02:02:57 +03:00
Josh Aas
63a294b7fb Get rid of nsIWindowlessPluginInstancePeer. b=500672 r/sr=jst 2009-06-26 13:30:36 -04:00
Johnny Stenback
c773b6331b Fixing bug 484744. Revert an IID change that broke the old Java plugin. r+sr=mrbkap@gmail.com 2009-06-26 07:57:26 -07:00
Josh Aas
8246f24011 Don't allow access to any XPCOM objects view NPAPI's NPN_GetValue. b=500513 r/sr=jst 2009-06-26 10:33:17 -04:00
Josh Aas
e8777a84be Get rid of nsIPluginInstance::Destroy, it doesn't do anything. b=500593 r/sr=jst 2009-06-26 10:32:32 -04:00
Josh Aas
8cb99ebd34 Minor cleanup in nsPluginHostImpl, no bug. 2009-06-25 23:33:34 -04:00
Josh Aas
8f2046d4f3 Do a better job of checking for exceptions in npruntime, part 2. b=474157 r/sr=jst 2009-06-25 20:29:58 -04:00
Josh Aas
efafbe1392 Bustage fix for bug 499431. 2009-06-25 17:45:35 -04:00
Josh Aas
4734a09527 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00
Makoto Kato
8d01acee02 Bug 496504 - Plugin test isn't compatible with Windows x64 build. r=joshmoz, sr=roc 2009-06-24 18:44:20 +09:00
Jim Mathies
94a314575e Bug 493601 - Fix crash involving Flash module unloading. (r=emaijala,joshmoz,bent sr=brendan) 2009-06-23 06:27:44 -05:00
Josh Aas
9c6646e6e1 Remove os2wrapper and associated files. b=499367 r=Peter Weilbacher 2009-06-22 17:25:07 -04:00
Robert O'Callahan
9c186ac605 Bug 500910. GTK2 test plugin should take window shapes into account when computing the effective clip region. r=karlt 2009-07-22 12:44:50 +12:00
Martin Stránský
63b764f9ee Bug 486482 - null deref [@ nsPluginNativeWindowGtk2::CreateXEmbedWindow ]. r=josh, sr=jst 2009-07-21 10:13:38 +02:00
Steven Michaud
8bc55f5541 [OSX] Embedded plugins don't print - NPP_Print not called. b=191046 r=josh,kinetic 2009-07-20 17:10:36 -05:00
Ted Mielczarek
ad775e7a7a bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 76f547c1f055f18f57e09c67f1a2f7b2f548c3cd
2009-05-14 07:37:40 -04:00
Ted Mielczarek
bf94951904 Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures 2009-08-05 15:36:20 -04:00
Ted Mielczarek
b6d8d93b5c bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 7bd4c374609a9eea15d0b244c1415ae853146e84
2009-05-14 07:37:40 -04:00
Robert O'Callahan
a2a72eee58 Bug 506304. Support synthesized mouse events being sent to windowless plugins, support reporting mouse event coordinates from the test plugin, and add tests for mouse events. r=josh
--HG--
extra : rebase_source : 5c97644a6db8454f759bbeab7a1e06295aca8325
2009-08-05 13:36:37 +12:00
Josh Aas
6ee771f1a3 Plugin host cleanup. b=501996 r/sr=jst 2009-07-06 02:10:10 -04:00
Peter Van der Beken
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Robert O'Callahan
4f3d983ad5 Bug 499595. Win32 test plugin needs to double-buffer and look more like other platforms' test plugins. r=jmathies 2009-07-04 21:54:09 +12:00
Robert O'Callahan
faf74419aa Bug 488620. GTK2 test plugin should not assume that ancestor X windows have associated GTK widgets. r=karlt 2009-07-04 21:47:15 +12:00
Josh Aas
b7ddfbb92b Remove XPCOM plugin code from nsPluginsDirUnix. b=502045 r/sr=jst 2009-07-03 09:53:00 -04:00
Mats Palmgren
10964859cf Backout bug 486349, due to regression bug 502135. 2009-07-03 13:48:52 +02:00
Josh Aas
ec67370ccc Comment and formatting cleanup for nsIPlugin. No bug. 2009-07-02 15:32:21 -04:00
Mats Palmgren
9efb0b6e25 Make the nsPluginInstanceTag destructor non-recursive to avoid exhausting stack space. b=486349 r+sr=jst 2009-07-02 11:57:37 +02:00
Josh Aas
50f9732c36 Rename nsPluginHostImpl to nsPluginHost. No bug, discussed with jst.
--HG--
rename : modules/plugin/base/src/nsPluginHostImpl.cpp => modules/plugin/base/src/nsPluginHost.cpp
rename : modules/plugin/base/src/nsPluginHostImpl.h => modules/plugin/base/src/nsPluginHost.h
2009-07-02 01:48:08 -04:00
Josh Aas
70edf7241e Remove nsIPluginInstanceInternal, fold it into nsIPluginInstance. b=501786 r/sr=jst 2009-07-02 00:52:07 -04:00
Josh Aas
d5e66a3fb6 Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst 2009-07-01 20:54:18 -04:00
Makoto Kato
aaa74833af Bug 499460 - Build error in plugin code for Symbian emulator. r=josh, sr=jst 2009-07-02 03:15:22 +09:00
Josh Aas
bd853b5bcf Add new timer APIs to NPAPI, NPN_ScheduleTimer and NPN_UnscheduleTimer. b=499921 r/sr=jst 2009-07-01 11:09:49 -04:00
Benjamin Smedberg
812128ba6a Bug 500660 - Don't load XPT files from plugin directories any more r=josh sr=jst 2009-07-01 09:34:31 -04:00
Johnny Stenback
a511964116 Fixing bug 442399. Remove LiveConnect from the tree. r=joshmoz@gmail.com, bclary@bclary.com, sr=brendan@mozilla.org 2009-06-30 15:55:16 -07:00
Josh Aas
c8ac5d9d83 Change plugin unloading behavior to never unload plugins by default. Prior to this patch plugins were unloaded whenever their last instance was destroyed. The old behavior meant that going from one page with a Flash instance to another page with a Flash instance would shut down the entire Flash plugin instead of just destroying one instance and starting another. The new behavior dramatically cuts down on plugin loading/unloading activity. Set "plugins.unloadASAP" to "true" to enable the old behavior of unloading plugins as soon as their last instance is destroyed. b=500925 r=bz sr=jst 2009-06-30 17:16:34 -04:00
Josh Aas
73eb23eeb9 Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -04:00
Josh Aas
da90f79ce3 Remove nsIEventHandler, part of the XPCOM plugin API. b=499329 sr=sicking 2009-06-19 15:40:31 -04:00
Josh Aas
4e9bc80deb Remove nsIJRILiveConnectPIPeer and nsIJRILiveConnectPlugin. b=499322 sr=sicking 2009-06-19 15:39:22 -04:00
Josh Aas
5dc8045c32 Remove nsIScriptablePlugin, part of the XPCOM plugin API. b=498164 r/sr=sicking 2009-06-19 15:37:09 -04:00
Josh Aas
ed0da293be Minor Mac OS X plugin related cleanup, no bug. r=smichaud 2009-06-19 12:15:23 -04:00
Karl Tomlinson
71d45a3a1a b=489294 XserverRegion leak with composited plugins r=jrmuizel 2009-06-15 12:52:11 +12:00
Josh Aas
86f210e336 Remove nsICookieStorage, part of the XPCOM plugin API. b=432354 r/sr=jst,sicking 2009-06-13 13:16:40 -07:00
Josh Aas
1157f6e11b Remove unused nsIClassicPluginFactory. b=498031 r/sr=sicking 2009-06-12 17:33:34 -07:00
Josh Aas
c68b8251be Remove nsIFileUtilities, part of the XPCOM plugin API. b=487977 r/sr=jst 2009-06-12 11:17:00 -07:00
Josh Aas
48858662d8 Disable XPCOM plugin loading. b=488042 r/sr=jst 2009-06-11 10:40:38 -07:00
Arpad Borsos
589f71c968 Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron 2009-05-26 10:53:15 +02:00
Josh Aas
4bd6720b31 Simplify code for exposing plugin file names vs. full path. Second landing. b=488181 r/sr=jst,bz 2009-06-10 16:47:49 -04:00
Josh Aas
d3151f8707 Fix typo reversing some npruntime logic, fixes some problems with plugins using scripting. b=492924 sr=roc 2009-06-10 16:32:45 -04:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Karl Tomlinson
43d4e0f67e Bug 494027 - Crash @NS_NotifyPluginCall on tinderbox shortly after plugin tests run. r+sr=jst@mozilla.org 2009-05-22 15:24:50 -07:00
Timothy Nikkel
96d0ffa774 Fix crash that can occur with a malformed pluginreg.dat file. b=493545 r=josh sr=bz 2009-05-20 12:21:46 -04:00
Benjamin Smedberg
bb1c33c4ea Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Karl Tomlinson
eeb042f14a test plugin window existence at plugin instance destruction. b=485125,429604,454756 r=roc 2009-05-18 13:53:39 +12:00
Josh Aas
5edcbc52ca Backed out changeset 7cd22106e8d9. Simplify code for exposing plugin file names vs. full path. b=488181 2009-05-16 21:09:48 -04:00
Josh Aas
22c9a18612 Simplify code for exposing plugin file names vs. full path. b=488181 r/sr=jst 2009-05-15 18:26:21 -04:00
Josh Aas
d01189121a Check for more accurate exceptions in npruntime, part 1. b=474157 r/sr=jst 2009-05-08 09:55:04 -04:00
Robert O'Callahan
0d7d241faf Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00
Boris Zbarsky
64b2d5e1bf Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Josh Aas
7882e36f78 Backed out changeset 7df4317278f5, bug 491834. 2009-05-07 09:27:08 -04:00
Josh Aas
c97cb0b630 Disable XPCOM plugin loading, removing support in Gecko 1.9.2. This will disable all non-NPAPI Java plugins (I suggest updating to at least Java 6 Update 12). b=488042 r/sr=jst 2009-05-07 01:17:07 -04:00
Josh Aas
ae7fd85dfa Formatting fixes for the new unix npapi sample plugin. b=486423 2009-05-07 00:22:13 -04:00
Josh Aas
93473161f1 New unix npapi sample plugin, replaces old one. b=486423 r/sr=jst
--HG--
rename : modules/plugin/sdk/samples/basic/unix/plugin.cpp => modules/plugin/sdk/samples/basic/unix/BasicPlugin.c
rename : modules/plugin/sdk/samples/basic/unix/plugin.h => modules/plugin/sdk/samples/basic/unix/BasicPlugin.h
rename : modules/plugin/sdk/samples/basic/unix/Makefile.in => modules/plugin/sdk/samples/basic/unix/Makefile
2009-05-07 00:17:03 -04:00
Robert O'Callahan
1eca41e60c Bug 488416. The GTK2 test plugin needs to clip to its clipRect in windowless mode. r=karlt
--HG--
extra : rebase_source : e391513c9ca0e57ab30b41e6d5bb2c0525a7001f
2009-04-25 20:40:48 +12:00
Ginn Chen
a1c0b74a0c Bug 478845 Disable mochitest of test plugin if test plugin is absent r=ted.mielczarek, jwalden 2009-04-23 14:27:04 +08:00
Dave Townsend
3a27432a29 Bug 427744: List plugin file version number under about:plugins. r=josh, sr=jst 2009-04-22 12:13:10 -07:00
Jeremy Huddleston
2c6c8fb6b9 Bug 486892 - darwin: Use dylib file extension. r=josh 2009-04-20 14:36:49 +02:00
Josh Aas
629cf7f757 64-bit fixes for nsPluginsDirDarwin. b=487972 r=mstange sr=jst 2009-04-14 12:38:11 -04:00
Josh Aas
1669178e09 Fix formatting of nsPluginsDirWin.cpp. b=488163 r/sr=jst 2009-04-14 12:35:35 -04:00
Josh Aas
7d05cb2c64 Remove nsIJVMAuthTools, part of bug 485984. 2009-04-14 12:32:44 -04:00
Serge Gautherie
bf78e8e9da Bug 438331 - Remove WIN16 (support) code everywhere; (Jv1) </modules/plugin/>; r=joshmoz sr=jst 2009-04-14 10:34:59 +02:00
Jim Mathies
22f75979f5 Bug 485120 - Touchup test patch for windows orange. CLOSED TREE bustage fix. 2009-04-13 16:42:01 -05:00
Jim Mathies
49ad540adc Bug 485120 - Test plugin needs to support windowed mode on Windows. r=joshmoz+vlad. 2009-04-13 12:01:22 -05:00
Josh Aas
f1c19744ba Test for error condition when trying to set an unknown variable in NPAPI. b=479979 r=roc 2009-04-10 20:15:42 -04:00
John Wolfe
c016140bb4 Fix WinCE plugin bustage. b=487783 r=jimm 2009-04-10 14:33:32 -04:00
Mark Finkle
8e4a1ce44a Fix mobile plugin bustage. b=487795 r=josh 2009-04-10 12:45:24 -04:00
Josh Aas
c6a41e8074 Remove OJI from the tree. b=485984 r/sr=jst 2009-04-09 22:38:21 -04:00
Johnny Stenback
977b7eacfc Fixing bug 486269. Prevent plugins from being destroyed while calling into them. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-04-07 14:20:57 -07:00
Walter Meinl
854af9da72 Bug 487126: fix OS/2 and Qt test plugins build break, r=joshmoz 2009-04-07 23:41:49 +03:00
Neil Rashbrook
c0e5a3886c Bug 486946 Allocator mismatch between GetVersion and FreePluginInfo r+sr=jst 2009-04-07 10:22:34 +01:00
Arpad Borsos
f7163821d2 Bug 486940 - fix crash in gtk_xtbin_new; r=karlt, sr=roc 2009-04-06 13:30:55 +02:00
Karl Tomlinson
ebadbd17ad b=486630 detect early GtkXtBin destruction r=roc
--HG--
extra : rebase_source : a17a38faaeffebae0d4d8aadf0a3a58397aab8d9
2009-04-06 13:25:28 +12:00
Robert O'Callahan
81a78803aa Bug 485121. Support getting native geometry data from the test plugin on Mac and GTK2/X11. r=joshmoz,karl
--HG--
rename : layout/generic/test/test_character_movement.html => layout/generic/test/test_movement_by_characters.html
rename : layout/generic/test/test_word_movement.html => layout/generic/test/test_movement_by_words.html
2009-04-06 12:04:02 +12:00
Walter Meinl
05e1294c02 Bug 486581 - OS/2 build break in testplugin after enabling of windowed mode; r=joshmoz 2009-04-05 15:03:48 +02:00
Arpad Borsos
8d06591a1b Bug 474369 - get rid of nsVoidArray, plugin part; r=joshmoz, sr=jst 2009-03-28 14:57:13 +01:00
Josh Aas
c44a4edd1f Remove testevents xpcom sample plugin from the tree. b=486345 sr=jst 2009-04-01 15:18:14 -04:00
Robert O'Callahan
d2012e9b33 Noting passing test due to checkin for bug 484923. 2009-04-01 17:27:44 +13:00
Robert O'Callahan
9e57d83ee1 Bug 484923. Test plugin should support 'window' mode on GTK2/X. r=josh,karl
--HG--
extra : rebase_source : 376e102b3401a2d61f26be9643c35be5e2d89ced
2009-04-01 14:07:19 +13:00
Robert O'Callahan
d0c58fb22f Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Michael Ventnor
84d760952c Bug 469831 - need gtk2 drawing code for test plugin. r+sr=roc
--HG--
extra : rebase_source : 408ca77e1b3ff85e049fa8809cb13cc0885c8006
2009-01-26 11:21:46 -05:00
Serge Gautherie
8a9d7bdab5 Bug 476406 - [SeaMonkey] New Chrome test_privatemode.xul fails: "... Components.classes['@mozilla.org/privatebrowsing;1'] is undefined ..."; (Bv1) Add |ok(true, ...);|; r=jst 2009-03-28 03:00:22 +01:00
Walter Meinl
900f82d28c Bug 485073 - OS/2 enable test plugin equivalent to other platforms; r=mozilla@Weilbacher.org 2009-03-27 00:47:43 +01:00
Ted Mielczarek
33fd6f27e3 bug 484780 - need plugin reftest that tests alpha rendering of test plugin. r=josh 2009-03-24 15:28:18 -04:00
Doug Turner
979a387be4 Bug 484918 - Fixes build bustage in plugins on Windows CE. r=blassey 2009-03-23 20:27:27 -07:00
Robert O'Callahan
2b654d962d Bug 484761. Add README file describing test plugin behaviour. r=joshmoz 2009-03-24 13:55:26 +13:00
Ted Mielczarek
aaa58f8d73 Bug 421611 - Need to be able to run tests on arbitrary build - add packaging bits for xpcshell. r=bsmedberg
--HG--
rename : intl/strres/tests/397093.properties => intl/strres/tests/unit/397093.properties
rename : intl/strres/tests/strres.properties => intl/strres/tests/unit/strres.properties
2009-03-21 11:20:00 -04:00
Josh Aas
98bb9244be Remove plugin tester and spy tools. b=484137 r/sr=jst 2009-03-19 15:57:50 -07:00
Josh Aas
db2a897753 NPN_SetValue should return an error when attempting to set a value that does not exist. b=479979 r/sr=jst 2009-03-17 14:20:24 -07:00
Josh Aas
3b5692c885 Formatting cleanup for the plugins module. b=462894 2009-03-17 14:20:02 -07:00
Stuart Parmenter
64dbc2c06b bug 482091. patch from Jeff Muizelaar. fix cash on maemo with plugins 2009-03-12 08:11:10 -07:00
Blake Kaplan
f7fb1c08eb Bug 482625 - Fix some warnings and remove some unneeded type declarations. r+sr=jst 2009-03-10 16:21:40 -07:00
Vladimir Vukicevic
162f8e4fdd b=479104; move windows plugin dir service code to UNICODE; r=jst 2009-03-08 22:07:00 -07:00
Jeff Muizelaar
de647c8035 Bug 442109 - youtube videos don't play; r=vladimir 2009-02-25 16:25:12 +01:00
Johnny Stenback
3d56357332 Fixing bug 475646. Don't call GetPeer() on plugins as it's apparently not safe to do so on all plugins. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-02-24 16:28:35 -08:00
Serge Gautherie
a5a2252e81 Bug 446300 - move tools/test-harness/xpcshell-simple to testing/xpcshell
(Ev2-MC) Rename the object tests directory
2009-02-23 19:28:20 +01:00
Josh Aas
61218c204f Sync NPAPI scrolling constants between files. b=477126 r/sr=jst 2009-02-20 16:10:58 -05:00
John Tapsell
df5b94d492 Bug 474421 - Qt Widget no longer compiles in testplugin; Minor fix for getting the tests compiling; r=joshmoz 2009-02-18 01:01:56 +01:00
Peter Weilbacher
dbb36f6403 Bug 471759 (OS/2-only follow-up): tester code should only be compiled for
builds with OJI, p=wuno@lsvw, r=pweilbacher
2009-02-16 10:20:36 +01:00
Jesse Ruderman
c9eb6349ac Add some crashtests 2009-02-10 16:36:04 -08:00
Blake Kaplan
099408ea29 Bug 477918 - Don't cast the narrower type to a wider type and write to it. r+sr=jst 2009-02-10 16:19:12 -08:00
Jesse Ruderman
5f1cc5c3ce Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Marco Bonardo
391f0b1388 Backed out changeset 92a47ed3d54e - Michael Ventnor — Bug 469831 - need gtk2 drawing code for test plugin - due to mochitest leak failures (crash?) 2009-02-10 01:36:46 +01:00
Michael Ventnor
8ce094f4ec Bug 469831 - need gtk2 drawing code for test plugin. r+sr=roc 2009-01-26 11:21:46 -05:00
Josh Aas
63e2d096d1 Clean up nsPluginHostImpl. Removes an old workaround for mac Flash 6. Stop using the phrase "active plugin" to refer to plugin instances. Dead code and spelling fixes. b=476409 r/sr=jst 2009-02-09 13:48:06 -05:00
Rich Walsh
02717bd898 [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
7c8a12cb18 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
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
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
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
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