Граф коммитов

2581 Коммитов

Автор SHA1 Сообщение Дата
Josh Aas 4ff4558786 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 1c0c3d31aa test_crashing.html had windows-style line endings. 2009-12-14 09:14:28 -05:00
Benjamin Smedberg c274ce87d8 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Ben Turner 78fcc09c48 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 542914ba7c 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 b137714cd1 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 bb3fadfda5 rename conflicting crash() symbol that's breaking the mac build 2009-12-04 23:15:18 -06:00
Benjamin Smedberg e0e78bb905 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 5fbea02594 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 5843f64779 !MOZ_IPC build bustage from bug 532751
--HG--
extra : rebase_source : a0b3a3318d3cd3d03fb034ae4d9fd5ab6cb9454a
2009-12-04 13:53:59 -05:00
Benjamin Smedberg 663016e74b 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 d82f3ac756 Bug 532700 - nsNPAPIPluginInstance can outlive its nsNPAPIPlugin, sr=jst pending r=josh 2009-12-03 15:33:27 -05:00
Benjamin Smedberg 5cc5de47c0 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Benjamin Smedberg 62511d645e 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 0610fd6349 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 fb7820fa39 Bug 526401 - Fixup handling of null NPP. r=bsmedberg. 2009-12-01 13:27:13 -08:00
Josh Aas f409847808 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 ebb5f3fbbd Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Johnny Stenback f5e9f61b7b 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 70fc9c0f28 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 5d79872b6a Fix a bug that prevents NPAPI plugins from retrieving cookies. b=526462 r=roc 2009-11-25 02:40:46 -05:00
Benjamin Smedberg e0b27abbbf Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Josh Aas 547cb610a2 Forgot null checks for NPN_MemAlloc in patch for bug 530138. NPOB. 2009-11-23 14:08:41 -05:00
Josh Aas 4f6014cb7b Bug 530138, npruntime sample plugin not using NPN_MemAlloc when it should. NPOB. 2009-11-23 13:57:27 -05:00
Benjamin Smedberg 4fafe32fb3 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 6d25cf367a 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 7e40d6c15f Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Benjamin Smedberg be6024f6bb 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 ea90e1d517 Bug 525792 - 'Fix leaks running mochitests'. 2009-11-12 14:16:54 -08:00
Benjamin Smedberg bbfa82dbd9 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 8b4fbf702c Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Ben Turner f993dfcfe8 Fix silly bugs 2009-11-09 17:30:02 -08:00
Benjamin Smedberg db5385a0a2 Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Benjamin Smedberg 380ed446a9 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 dfe557b425 bug 525792: fix leaking PluginModules, call NP_Shutdown() on plugins. minor, no r= 2009-11-03 15:37:07 -06:00
Benjamin Smedberg d3a1c8cd1f Merge mozilla-central into e10s. 2009-10-28 11:32:00 -04:00
Josh Aas 2cbfedd4a8 Allow multiple types of OOP plugins to load. b=516509 r=cjones 2009-10-27 15:51:12 -04:00
Ben Turner 97a09ee2c7 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 1ddd6a47d6 Merge mozilla-central to electrolysis. 2009-10-20 12:08:28 -04:00
Jonathan Griffin 70187bd76e Bug 522791. Add basic tests for NPN_SetException.
--HG--
extra : rebase_source : 5d4f69cb5c54136775f0752713d055ad9f407c7a
2009-10-19 14:00:59 -07:00
Jonathan Griffin 535b97bce6 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 639f6bdb00 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 8fda4a36b6 Merge mozilla-central to electrolysis to pick up bug 515436. 2009-10-12 10:51:38 -04:00
Ben Turner 9c4b8d88e9 Bug 516524 - Support NPRuntime across processes. r=bsmedberg. 2009-10-07 16:50:48 -07:00
Ben Turner bb78c40ad1 Merge mozilla-central 2009-10-05 16:08:52 -07:00
Chris Jones 97761142b5 basic support for windowless X11 plugins. gfx not quite working yet 2009-09-24 21:03:59 -05:00
Ben Turner bb8b8c2df9 Merge mozilla-central 2009-09-23 13:14:34 -07:00
Benjamin Smedberg f483632546 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 fa245d1e70 [OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher 2009-09-22 15:49:26 +02:00
Benjamin Smedberg 6b947c11ea Merge mozilla-central into electrolysis to pick up new plugin tests. 2009-09-21 10:57:57 -04:00
Doug Turner 10bfb36c19 Bug 528429 - MOZ_COMPOSITED_PLUGINS should be disabled when building for Qt. r=vlad 2009-11-13 07:10:53 -08:00
Josh Aas a0ace6469c 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 26384bd1cb 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 6c3f529f87 Merging mozilla-central once more to hopefully clear windows unit tests 2009-09-20 10:47:21 -07:00
Phil Ringnalda fceecee8a4 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Benjamin Smedberg 181f308c2e Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Jonathan Griffin 3d3ede6116 Bug 517078 part I: create mochitests for stream APIs in NPAPI 2009-09-18 10:08:08 -04:00
Robert O'Callahan 73543d21d9 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 84eec33f05 Bug 525980 Fix typos in npapi.h
r=joshmoz
2009-11-04 07:39:43 +13:00
Robert O'Callahan 25ba94f200 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 0f953a7528 Bug 506599 multiple inclusion of nptypes.h causes build error r=joshmoz 2009-11-02 17:41:36 +08:00
Jonathan Griffin 837782495d Bug 523216. Check for NULL message in NPN_SetException. r=joshmoz 2009-10-30 13:15:22 -07:00
Michael Wu 1b6037f474 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 17744f9499 Bug 531300 - Link failure in testplugin on mingw, r=roc 2009-12-13 09:44:15 -08:00
Jae-Seong Lee-Russo ef0b733071 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 873eab1aec b=512884; nsStringGlue should be used in nsIPluginInstance.h; r+sr=jst 2009-09-18 05:35:49 -04:00
Josh Aas cd29d35d13 Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Josh Aas f642d357ad Fix some spelling mistakes. No bug. 2009-11-10 00:16:05 -05:00
Josh Aas 807405db81 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 9295d91410 Bug 527417 - nsIPluginHost::getPluginTags aPluginCount out param should be optional. r=josh 2009-11-09 22:11:58 +01:00
Josh Aas d3c4e212f0 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 882f1cb1ba 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 fe40c5e291 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 e58da4b612 Bug 510963 - NPN_GetValue(NPNVPluginElementNPObject) is broken, r=josh
--HG--
extra : rebase_source : e1242620d2adfee22a5c8ede076e4d43916e72d9
2009-09-10 14:11:30 -04:00
Josh Aas bee5f313ff Remove unused member variable that should have gone away in bug 506985. r=smichaud 2009-09-08 12:36:19 -04:00
Walter Meinl 4ac0986839 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 6399d22ef3 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Ben Turner e86ce2971e 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 8f00e422eb Merge mozilla-central into Electrolysis 2009-08-26 12:15:27 -04:00
Doug Turner 65586d144b Bug 521257 - Support NPImageExpose on Maemo/Hildon only. r=roc 2009-10-26 22:18:35 -07:00
Jonathan Griffin c2bf1f1170 Bug 518940. Add NPN_Evaluate tests. 2009-10-23 13:41:52 -07:00
Benjamin Smedberg 28fb767bd1 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 6ab4a1d474 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 3db17e0fb0 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 c4ea86fa0e 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 ab7c8b7d33 Implement Cocoa NPAPI event model. b=435041 sr=roc 2009-08-26 17:29:47 -07:00
timeless@mozdev.org 791ae3c496 Bug 507404 dialogWindow is unused in DialogOKClicked and DIALOGID is useless
r=karlt
2009-08-26 18:27:59 +02:00
Robert O'Callahan 4f34173e9a Bug 520462. Test that mouse clicks transfer focus to plugins correctly. r=jmathies 2009-10-08 00:14:12 +13:00
Robert O'Callahan 477073a566 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 93e1ae0620 Merge mozilla-central 2009-07-30 11:28:07 -07:00
Rich Walsh c8d0b23aa5 [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 482a2d89f6 Revert testplugin changes so that unit tests pass 2009-07-28 14:38:32 -07:00
Ben Turner 368ea0e277 Fix testplugin on windows to not crash until we support scriptable objects 2009-07-28 11:48:21 -07:00
Josh Aas 6c0f932a89 Document unscheduleAllTimers scriptable method added to test plugin. 2009-07-27 23:37:52 -04:00
Ben Turner dd24daaec7 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 6bfd63b0f4 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04:00
Benjamin Smedberg d7e4cb7fef 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 3bdb68785c b=503902; put back npapi DOM object access for WinCE; r=jst 2009-07-16 14:13:43 -07:00
Peter Weilbacher b55bdf1d0c Bug 503950: OS/2 bustage fix for bug 503377, p=wuno@lsvw, r=pweilbacher 2009-07-14 13:34:07 +02:00
Benjamin Smedberg 2bc7e8c59a Windows bustage fix for bug 503377 2009-07-13 12:57:32 -04:00
Benjamin Smedberg 6b2ae89df2 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 2f67902043 Bug 501889 _scheduletimer symbol not found on Solaris r=joshmoz sr=jst 2009-07-13 20:23:41 +08:00
Josh Aas bda5d5825f Remove mIsJavaPlugin variable in nsNPAPIPluginInstance, fix some comments. b=503809 sr=roc 2009-07-12 22:44:48 -04:00
Josh Aas a790c00274 Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc 2009-07-10 20:20:32 -04:00
Robert O'Callahan 5f4a397603 Backed out changeset 91a43fa9b0da
--HG--
extra : rebase_source : 00ee0eac778112a8aac3e19f1f114e8b8b34580c
2009-07-10 20:13:51 +12:00
Robert O'Callahan 6f17c4e4a5 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 70308cfd2b 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 42225efe1a Some windows build fixup 2009-07-02 13:48:33 -07:00
Ben Turner 808c61f598 merge bent's changes from libchromiumipc. Gtk plugins now drawing 2009-07-01 14:19:32 -07:00
Chris Jones dfbd660460 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 8919850d30 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 35d3f49bc3 Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
Josh Aas 03e8417745 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 871f98ac16 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 ced987b58f 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 52d340c441 Get rid of nsMIMEType type. b=503025 r/sr=jst 2009-07-08 23:25:20 -04:00
Josh Aas 8f211a8bc6 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 ca37de3d5e nsIPlugin and nsIPluginHost should not inherit from nsIFactory. b=502886 r/sr=jst 2009-07-07 21:00:11 -04:00
Hashem Masoud 44f7f9d413 Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Josh Aas b799c5f197 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 0cd940c5da Bug 508021 nsNPAPIPluginInstance::Print does not need to null check mCallbacks
r=jst
2009-08-12 11:49:55 +02:00
timeless@mozdev.org 7a36d5ec13 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 f79e2d1f5b Bug 499295 NULL crash [@ nsPluginInstancePeerImpl::GetJSContext]
r=jst sr=jst
2009-06-27 18:42:51 -07:00
Peter Weilbacher c3c0fc051f [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 2a910d6584 Get rid of nsIWindowlessPluginInstancePeer. b=500672 r/sr=jst 2009-06-26 13:30:36 -04:00
Johnny Stenback 13a495c569 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 fd5e7647cf 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 7451241e08 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 782b2e2bed Minor cleanup in nsPluginHostImpl, no bug. 2009-06-25 23:33:34 -04:00
Josh Aas 56a029bfbd 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 bdb99fbd9a Bustage fix for bug 499431. 2009-06-25 17:45:35 -04:00
Josh Aas 3ff84ea250 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00
Makoto Kato dbea17e34f 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 0891ca02fd Bug 493601 - Fix crash involving Flash module unloading. (r=emaijala,joshmoz,bent sr=brendan) 2009-06-23 06:27:44 -05:00
Josh Aas 24b65e60c5 Remove os2wrapper and associated files. b=499367 r=Peter Weilbacher 2009-06-22 17:25:07 -04:00
Robert O'Callahan 93a12375f7 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ý 71484d8958 Bug 486482 - null deref [@ nsPluginNativeWindowGtk2::CreateXEmbedWindow ]. r=josh, sr=jst 2009-07-21 10:13:38 +02:00
Steven Michaud 91a134de7c [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 e681fe983b 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 a52d7c4fc6 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 506b5a5bca 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 457bd15d2a 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 e0b2aa0f90 Plugin host cleanup. b=501996 r/sr=jst 2009-07-06 02:10:10 -04:00
Peter Van der Beken a4b3ca413c Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Robert O'Callahan eb37a0a0a4 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 7008c5ffd3 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 ae1a6660ff Remove XPCOM plugin code from nsPluginsDirUnix. b=502045 r/sr=jst 2009-07-03 09:53:00 -04:00
Mats Palmgren 91e6321954 Backout bug 486349, due to regression bug 502135. 2009-07-03 13:48:52 +02:00
Josh Aas 3446fff9ef Comment and formatting cleanup for nsIPlugin. No bug. 2009-07-02 15:32:21 -04:00
Mats Palmgren b7033d8cc1 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 b7623b03f7 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 dfcd432e66 Remove nsIPluginInstanceInternal, fold it into nsIPluginInstance. b=501786 r/sr=jst 2009-07-02 00:52:07 -04:00
Josh Aas f0487beaad Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst 2009-07-01 20:54:18 -04:00
Makoto Kato 00565c45e7 Bug 499460 - Build error in plugin code for Symbian emulator. r=josh, sr=jst 2009-07-02 03:15:22 +09:00
Josh Aas 47ecfe28c4 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 6732560a10 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 fae33caf0b 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 95822822da 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 a9126f5910 Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -04:00
Josh Aas 05514e36df Remove nsIEventHandler, part of the XPCOM plugin API. b=499329 sr=sicking 2009-06-19 15:40:31 -04:00
Josh Aas 9ce1e16b85 Remove nsIJRILiveConnectPIPeer and nsIJRILiveConnectPlugin. b=499322 sr=sicking 2009-06-19 15:39:22 -04:00
Josh Aas 604005df36 Remove nsIScriptablePlugin, part of the XPCOM plugin API. b=498164 r/sr=sicking 2009-06-19 15:37:09 -04:00
Josh Aas 655bac0769 Minor Mac OS X plugin related cleanup, no bug. r=smichaud 2009-06-19 12:15:23 -04:00
Karl Tomlinson c3953b5cc9 b=489294 XserverRegion leak with composited plugins r=jrmuizel 2009-06-15 12:52:11 +12:00
Josh Aas aaec45417e Remove nsICookieStorage, part of the XPCOM plugin API. b=432354 r/sr=jst,sicking 2009-06-13 13:16:40 -07:00
Josh Aas 15945585bd Remove unused nsIClassicPluginFactory. b=498031 r/sr=sicking 2009-06-12 17:33:34 -07:00
Josh Aas 895d50dcc2 Remove nsIFileUtilities, part of the XPCOM plugin API. b=487977 r/sr=jst 2009-06-12 11:17:00 -07:00
Josh Aas bc5028bb47 Disable XPCOM plugin loading. b=488042 r/sr=jst 2009-06-11 10:40:38 -07:00
Arpad Borsos cb08371dfd Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron 2009-05-26 10:53:15 +02:00
Josh Aas d233bb55a1 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 b721ace5a9 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 c78cc06ad6 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 950bb4905f 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 05ea424041 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 2b75f94db4 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 3b94830dd0 test plugin window existence at plugin instance destruction. b=485125,429604,454756 r=roc 2009-05-18 13:53:39 +12:00
Josh Aas 64c3657816 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 4123df32bf 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 919f95355a 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 081257d0d7 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 c4e1b94fda Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Josh Aas 73bf93a1b6 Backed out changeset 7df4317278f5, bug 491834. 2009-05-07 09:27:08 -04:00
Josh Aas a9a5292145 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 ec01f7fc32 Formatting fixes for the new unix npapi sample plugin. b=486423 2009-05-07 00:22:13 -04:00
Josh Aas 35b660af49 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 ef014f4c7f 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 4ac464bb8c 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 ff75a9de7f Bug 427744: List plugin file version number under about:plugins. r=josh, sr=jst 2009-04-22 12:13:10 -07:00
Jeremy Huddleston 756aeea24c Bug 486892 - darwin: Use dylib file extension. r=josh 2009-04-20 14:36:49 +02:00
Josh Aas 6afeb3d889 64-bit fixes for nsPluginsDirDarwin. b=487972 r=mstange sr=jst 2009-04-14 12:38:11 -04:00
Josh Aas 6945aa07e2 Fix formatting of nsPluginsDirWin.cpp. b=488163 r/sr=jst 2009-04-14 12:35:35 -04:00
Josh Aas f4f3d7b61b Remove nsIJVMAuthTools, part of bug 485984. 2009-04-14 12:32:44 -04:00
Serge Gautherie 85332ce17e Bug 438331 - Remove WIN16 (support) code everywhere; (Jv1) </modules/plugin/>; r=joshmoz sr=jst 2009-04-14 10:34:59 +02:00
Jim Mathies 7ffcd645c8 Bug 485120 - Touchup test patch for windows orange. CLOSED TREE bustage fix. 2009-04-13 16:42:01 -05:00
Jim Mathies a24685004b Bug 485120 - Test plugin needs to support windowed mode on Windows. r=joshmoz+vlad. 2009-04-13 12:01:22 -05:00
Josh Aas a5d1b9a7eb 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 97f2a6d2ea Fix WinCE plugin bustage. b=487783 r=jimm 2009-04-10 14:33:32 -04:00
Mark Finkle dbf51af320 Fix mobile plugin bustage. b=487795 r=josh 2009-04-10 12:45:24 -04:00
Josh Aas e1f29205b9 Remove OJI from the tree. b=485984 r/sr=jst 2009-04-09 22:38:21 -04:00
Johnny Stenback 5f2dc79736 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 153bac259f Bug 487126: fix OS/2 and Qt test plugins build break, r=joshmoz 2009-04-07 23:41:49 +03:00
Neil Rashbrook 7007195358 Bug 486946 Allocator mismatch between GetVersion and FreePluginInfo r+sr=jst 2009-04-07 10:22:34 +01:00
Arpad Borsos 3b21acede0 Bug 486940 - fix crash in gtk_xtbin_new; r=karlt, sr=roc 2009-04-06 13:30:55 +02:00
Karl Tomlinson 51793fe4d1 b=486630 detect early GtkXtBin destruction r=roc
--HG--
extra : rebase_source : a17a38faaeffebae0d4d8aadf0a3a58397aab8d9
2009-04-06 13:25:28 +12:00
Robert O'Callahan 365806313f 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 0b8e60a0f4 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 dd54424693 Bug 474369 - get rid of nsVoidArray, plugin part; r=joshmoz, sr=jst 2009-03-28 14:57:13 +01:00
Josh Aas 4524d2ff2a Remove testevents xpcom sample plugin from the tree. b=486345 sr=jst 2009-04-01 15:18:14 -04:00
Robert O'Callahan 48154dac0c Noting passing test due to checkin for bug 484923. 2009-04-01 17:27:44 +13:00
Robert O'Callahan 4948ce44eb 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 e1aa426920 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 6e040dd1c1 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 4c529635f3 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 a3772fe23a 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 b9822e35d0 bug 484780 - need plugin reftest that tests alpha rendering of test plugin. r=josh 2009-03-24 15:28:18 -04:00
Doug Turner 4277155b2d Bug 484918 - Fixes build bustage in plugins on Windows CE. r=blassey 2009-03-23 20:27:27 -07:00
Robert O'Callahan 99d2fc72ae Bug 484761. Add README file describing test plugin behaviour. r=joshmoz 2009-03-24 13:55:26 +13:00
Ted Mielczarek a2f28bc235 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 5775d3f423 Remove plugin tester and spy tools. b=484137 r/sr=jst 2009-03-19 15:57:50 -07:00
Josh Aas 591b6e552a 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 0b6019440b Formatting cleanup for the plugins module. b=462894 2009-03-17 14:20:02 -07:00
Stuart Parmenter ae67fdbbc6 bug 482091. patch from Jeff Muizelaar. fix cash on maemo with plugins 2009-03-12 08:11:10 -07:00
Blake Kaplan e301b54816 Bug 482625 - Fix some warnings and remove some unneeded type declarations. r+sr=jst 2009-03-10 16:21:40 -07:00
Vladimir Vukicevic a795d22323 b=479104; move windows plugin dir service code to UNICODE; r=jst 2009-03-08 22:07:00 -07:00
Jeff Muizelaar 410e53149e Bug 442109 - youtube videos don't play; r=vladimir 2009-02-25 16:25:12 +01:00
Johnny Stenback b6e4256d62 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 ca145dbf74 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 a23d9e71cc Sync NPAPI scrolling constants between files. b=477126 r/sr=jst 2009-02-20 16:10:58 -05:00
John Tapsell fe85742cee 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 a8b3772702 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 aab1c02b20 Add some crashtests 2009-02-10 16:36:04 -08:00
Blake Kaplan 598cdd7a3b 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 d10d1967a8 Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Marco Bonardo f72ba8e98c 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 0119891115 Bug 469831 - need gtk2 drawing code for test plugin. r+sr=roc 2009-01-26 11:21:46 -05:00
Josh Aas 7d78f40925 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 9043879337 [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 e9e98e4f88 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 760ddfdea5 Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
Josh Aas ca78c132e1 Remove unnecessary NPPVprivateModeBool enum. b=468877 2009-02-01 21:15:44 -05:00
Jim Mathies 115dc74b34 Updated reftest.list for Bug 469830. 2009-01-31 15:50:21 -06:00
Jim Mathies b1eb90c3f5 Bug 469830 - Windows drawing code for test plugin. r=ted,joshmoz 2009-01-31 15:06:02 -06:00
Josh Aas 023787822c Add API allowing plugins to participate in private browsing. b=468877 r/sr=jst 2009-01-30 16:40:14 -05:00
Peter Weilbacher 64bacca1ea [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 133470f2bc 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 07c46af0fe Backed out changeset abd5a41c0b70 2009-01-25 11:19:51 -08:00
Johnny Stenback e246f1bee7 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
Walter Meinl 432b5e2ed9 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
Daniel Holbert c755eee8e7 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
Mark Banner b19731b935 Fix onon-FF build bustage from bug 473577 2009-01-17 11:20:40 +00:00
Ted Mielczarek c6beb154b2 bug 473577 - make test plugin usable for reftests. r=josh 2009-01-16 15:03:24 -05:00
Josh Aas 06a33031ee JS delete operator should invoke npruntime removeProperty on NPObject. b=470291 r/sr=jst 2009-01-16 12:14:43 -05:00
Josh Aas 7c60932833 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 09b676fb0f Bustage fix for some windows systems following bug 386676 2009-01-14 13:11:08 +00:00
Boris Zbarsky 6378e597d0 Backed out changeset e22b5d4e8ce9 (bug 518940) on suspicion of causing Linux orange.
--HG--
extra : rebase_source : 431d4f6349808163322ff48cfb32d85cc8beefe5
2009-09-30 23:17:36 -04:00
Jonathan Griffin f265057fd9 Bug 518940. Adding tests for NPN_Invoke. r=bsmedberg 2009-09-30 15:11:57 -07:00
Jonathan Griffin 961adb8964 Bug 517078. New test for NPN_NewStream and NPN_Write. 2009-09-30 11:17:39 -07:00
Jonathan Griffin c899d75f14 Bug 484729. Fix NPN_Write. r=joshmoz;sr=jst 2009-09-29 16:52:29 -07:00
Jonathan Griffin a481eebac3 Bug 518004. Workaround a link problem on 64-bit linux with the test plugin by removing use of <fstream>. r=smaug
--HG--
extra : rebase_source : af6a48cca2eb0807ab30c2f6e63a5b2b4bf52c06
2009-09-24 15:23:35 -07:00
Jonathan Griffin 94e5e113fd Bug 517078. Document stream-related functionality of test plugin. 2009-09-24 12:10:19 -07:00
Makoto Kato 401fabf26b 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 134c2256e4 A bunch of plugin SDK build fixes. b=471759 r=josh sr=jst 2009-01-13 12:14:40 -05:00
Josh Aas 5682b69d27 bustage fixes for some systems, b=386676 2009-01-13 12:09:08 -05:00
Josh Aas 5bbbc0e8a9 get rid of an incorrect comment 2009-01-13 01:47:13 -05:00
Josh Aas 0c9ea3a237 System for testing plugins, take 4. b=386676 r=smichaud sr=roc 2009-01-12 22:06:21 -05:00
Johnny Stenback 6e27805f14 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
Ben Turner 84edb95eb6 Fix leaky cycle between nsNPAPIPluginInstance and nsPluginInstancePeer. b=472439 r=josh sr=jst 2009-01-10 12:13:31 -05:00
Josh Aas 4559b70b00 Backed out changeset e28cd33a0335 2008-12-19 05:30:53 -05:00
Josh Aas c67d3cb9b8 System for testing plugins, take 3. b=386676 r=smichaud sr=roc 2008-12-19 04:10:09 -05:00
Josh Aas 1b253977af Backed out changeset 7b8ca8c944f2 2008-12-19 01:59:15 -05:00
Josh Aas e6c00ce321 System for testing plugins, take 2. b=386676 r=smichaud sr=roc 2008-12-19 00:47:08 -05:00
Josh Aas b65f45b777 npruntime sample plugin build fix. 2008-12-16 23:01:47 -08:00
Josh Aas 02c031a944 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 cde5cca6e3 Backed out changeset 2776db2defa2 2008-12-16 14:38:58 -05:00
Josh Aas 875bd9b133 Add a system for testing plugins. b=386676 r=smichaud sr=roc 2008-12-16 10:27:32 -05:00
Robert Kaiser 74845e7078 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
Josh Aas 98607789bb back out bug 468678 to fix Flash on Mac OS X 2008-12-15 12:29:44 -05:00
Josh Aas 91e241ffe5 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
Josh Aas 52a0519c86 windows bustage fix for bug 462023 2008-12-09 14:00:09 -05:00
Steven Michaud bc4a591954 Don't allow plugin to set NPPVpluginWindowBool on OS X. b=466495 r=josh sr=roc 2008-12-09 11:22:51 -06:00
Josh Aas aef505717a Fix error case leak in nsPluginFile::GetPluginInfo. b=462023 r=mstange sr=jst 2008-12-09 12:15:49 -05:00
Josh Aas 91c974c746 whitespace/minor cleanup for nsPluginsDirDarwin.cpp, no bug 2008-12-09 12:01:29 -05:00
Josh Aas 6190b4dc28 Remove support for "main" as a plugin initialization function. b=467429 r=smichaud sr=roc 2008-12-08 23:52:02 -05:00
Josh Aas 406f97d59b remove support for CFM binary plugins. b=467417 r=smichaud sr=roc 2008-12-08 21:34:21 -05:00
Arno Renevier 85df867238 npruntime sample does not compile on linux (FALSE not declared). b=464485 r=josh sr=roc 2008-12-08 21:26:51 -05:00
Josh Aas 8b7a671f90 fix a drawing order glitch in the mac default plugin. b=467580 sr=jst 2008-12-02 16:05:36 -05:00
Arno Renevier a7a19848d9 Fix npruntime sample compile problem, npupp.h -> npfunctions.h. b=464481 r=josh sr=jst 2008-12-02 14:12:54 -05:00
Josh Aas a684966862 npfunctions should reflect different NP_Initialize signature for Mac OS X. r=smichaud sr=jst a=beltzner 2008-11-28 18:17:36 -05:00
Phil Ringnalda 5ac69655c0 Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Josh Aas 37cb26eb2e NPAPI impl formatting cleanup, round one. no bug, rs=jst 2008-11-03 14:23:07 -05:00
Dave Townsend 00436c926f Bug 455213: Plugins get enabled when updating to Firefox 3.1. r=jst, r=josh 2008-11-02 15:49:03 +00:00
Dave Townsend 46f9bc23be Bug 455906: Support severities for blocklist entries. r=robstrong, r=jst
--HG--
rename : toolkit/mozapps/extensions/content/list.xul => toolkit/mozapps/extensions/content/blocklist.xul
rename : toolkit/mozapps/extensions/public/nsIBlocklistService.idl => xpcom/system/nsIBlocklistService.idl
2008-11-02 12:13:48 +00:00
Dave Townsend f590e53e28 Backed out changeset bbccbf2c7456 2008-11-02 03:27:18 +00:00
Dave Townsend beadde8ab9 Bug 455906: Support severities for blocklist entries. r=robstrong, r=jst
--HG--
rename : toolkit/mozapps/extensions/content/list.xul => toolkit/mozapps/extensions/content/blocklist.xul
rename : toolkit/mozapps/extensions/public/nsIBlocklistService.idl => xpcom/system/nsIBlocklistService.idl
2008-11-02 01:34:45 +00:00
Josh Aas 98f9401bf5 don't target a specific sdk in the default plugin, bustage fix, b=428973 2008-10-29 14:54:51 -07:00
Josh Aas 8357a24e7e bustage fix for opt builds, b=428973 2008-10-29 11:00:47 -07:00
Josh Aas f683a2545b New default plugin for Mac OS X. b=428973 r/sr=jst 2008-10-29 10:43:47 -07:00
Jesse Ruderman b754bb1dbf Add bug number to FIXME comment 2008-10-28 14:42:21 -07:00
Josh Aas 4e48b4371e fix new/malloc/delete/free mismatches. b=458104 r=mstange sr=dougt 2008-10-28 12:29:16 -07:00
Josh Aas dab00abb17 fix typo in npapi headers, no bug 2008-10-26 12:57:36 -07:00
Peter Van der Beken a4775d493a Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking. 2008-10-22 15:35:34 +02:00
Josh Aas 9f0748b408 Default plugin should communicate type via plist instead of PkgInfo. b=460836 r=smichaud sr=roc 2008-10-21 12:12:13 -04:00
Peter Van der Beken 41b69a17f4 Backed out changeset 4bc3dc1f6e11 2008-10-21 11:43:01 +02:00
Peter Van der Beken 684b3df07c Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking. 2008-10-21 11:10:47 +02:00
Josh Aas 49b9822d12 correctly construct PkgInfo so the default plugin can load on Mac OS X. b=460812 r=ted 2008-10-20 16:43:21 -04:00
Josh Aas e9b093500e build fixes for the Mac OS X basic plugin in our plugin SDK. b=459091 sr=dougt 2008-10-16 16:21:54 -04:00
Ginn Chen 8688df82fc Bug 453883, ensure true/false marcos are available, r=joshmoz, sr=jst 2008-10-13 13:25:20 +08:00
Peter Weilbacher ef1685d002 [OS/2] Bug 454956: fix OS/2 build break with GCC 3.4.6 or newer, part 2 2008-10-11 14:49:03 +03:00
Peter Weilbacher fde27110d2 [OS/2] Bug 459429: OS/2 build brakes after rename of npupp.h to npfunctions.h 2008-10-11 10:35:51 +03:00
Arpad Borsos 4460c617be Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Dave Townsend 7b49470ca1 Backing out changeset 62274f98ccf8 from bug 455213 due to test failures 2008-10-09 12:55:47 +01:00
Dave Townsend c5a3e018a7 Bug 455213: Plugins get enabled when updating to Firefox 3.1. r=jst, r=josh 2008-10-09 10:35:20 +01:00
Josh Aas 5c458ac51a Clean up npupp.h and rename it to npfunctions.h, part 2. b=455458 r/sr=jst 2008-10-07 21:53:02 -04:00
Josh Aas 975f2b7c6d Clean up npupp.h and rename it to npfunctions.h. b=455458 r/sr=jst
--HG--
rename : modules/plugin/base/public/npupp.h => modules/plugin/base/public/npfunctions.h
2008-10-07 21:50:25 -04:00
Boris Zbarsky a5999683b3 Bug 458100. Make sure that we'll also instantiate the plug-in even if the nsPluginDocument has no presshell yet at OnStartRequest time. Thanks to Evgeny <evg.salmin@gmail.com> for pointing out the problem. r+sr=jst 2008-10-07 14:53:23 -04:00
Peter Weilbacher f8c89450f5 [OS/2] fix up more plugin build bustage following bug 453883
(for some reason this only affects TB builds and went unnoticed until now)
2008-09-28 10:45:09 +03:00
Peter Weilbacher 610d7e145d [OS/2] fix plugin build bustage following bug 453883 (and clean up whitespace) 2008-09-17 00:12:14 +03:00
Josh Aas f2c0e7e1e9 Stop referring to NPAPI plugins as "4x". b=454807 r/sr=jst 2008-09-15 08:45:01 -04:00
Josh Aas 1ec3913e0c replace TRUE/FALSE usage with PR_TRUE/PR_FALSE. Patch by Antonio Gomes. b=454860 r/sr=jst 2008-09-12 16:49:43 -04:00
Josh Aas ca038abf8c Clean up ns4xPluginInstance code. b=454809 r/sr=jst 2008-09-12 16:23:30 -04:00
Josh Aas 596b8db755 New Mac OS X sample plugin for NPAPI SDK. b=453785 r/sr=jst 2008-09-12 15:53:26 -04:00
Josh Aas 07fde60d4b clean up ns4xPlugin. b=454279 r/sr=jst 2008-09-11 11:10:26 -04:00
Josh Aas 96d4ee9620 fix npapi types bustage, b=453883 2008-09-11 02:45:35 -04:00
Josh Aas 2c7d0fd218 fix npapi types bustage, b=453883 2008-09-11 01:10:49 -04:00
Josh Aas e315ee9d98 fix npapi types bustage, b=453883 2008-09-11 00:36:07 -04:00
Josh Aas b71ad2aca7 fix npapi types bustage, b=453883 2008-09-11 00:12:43 -04:00
Josh Aas 4f3b1179d7 fix npapi types bustage, b=453883 2008-09-10 23:51:45 -04:00
Josh Aas fbfbc2d89e fix npapi types bustage, b=453883 2008-09-10 23:40:58 -04:00
Josh Aas a09351207f Remove npapi dependency on nspr and use C99 integer types in npapi instead of defining our own. b=453883 r/sr=jst 2008-09-10 22:32:36 -04:00
Dave Townsend cb1e1c96d8 Bug 391728: No placeholder for disabled plugins. r=jst, r=josh, sr=bz 2008-09-09 16:43:21 +01:00
Ginn Chen 6ce50e3a1a Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00
Arpad Borsos 2cc3af109a Bug 398946 - Remove JS_STATIC_DLL_CALLBACK and JS_DLL_CALLBACK from the tree; r=(benjamin + bent.mozilla) 2008-09-07 00:21:43 +02:00
Josh Aas a00d49c475 don't try to build dead scriptable plugin on windows, bustage fix 2008-09-05 16:54:31 -04:00
Josh Aas 5ea8471a89 remove xpcom plugin api samples from npapi sdk. b=453857,453862 rs=jst 2008-09-05 15:35:57 -04:00
Josh Aas 46c27aa3c8 Clean up NPAPI SDK common code. b=453493 r/sr=jst 2008-09-03 17:11:51 -04:00
Josh Aas a381af7ebc remove xpcom plugin api samples, sdk documentation updates, mac build updates. b=360955 rs=jst 2008-09-03 00:39:55 -04:00
Josh Aas 8b2a8a1a99 bustage fix, don't build the sdk simple plugin 2008-09-02 15:55:03 -04:00
Josh Aas 44b5ab9622 put all sample plugins into the npapi sdk. b=360955 rs=jst
--HG--
rename : modules/plugin/samples/4x-scriptable/acmeIScriptObject.idl => modules/plugin/sdk/samples/4x-scriptable/acmeIScriptObject.idl
rename : modules/plugin/samples/4x-scriptable/doc.html => modules/plugin/sdk/samples/4x-scriptable/doc.html
rename : modules/plugin/samples/4x-scriptable/makefile.win => modules/plugin/sdk/samples/4x-scriptable/makefile.win
rename : modules/plugin/samples/4x-scriptable/np4xscr.def => modules/plugin/sdk/samples/4x-scriptable/np4xscr.def
rename : modules/plugin/samples/4x-scriptable/np4xscr.rc => modules/plugin/sdk/samples/4x-scriptable/np4xscr.rc
rename : modules/plugin/samples/4x-scriptable/np_entry.cpp => modules/plugin/sdk/samples/4x-scriptable/np_entry.cpp
rename : modules/plugin/samples/4x-scriptable/npmac.cpp => modules/plugin/sdk/samples/4x-scriptable/npmac.cpp
rename : modules/plugin/samples/4x-scriptable/npn_gate.cpp => modules/plugin/sdk/samples/4x-scriptable/npn_gate.cpp
rename : modules/plugin/samples/4x-scriptable/npp_gate.cpp => modules/plugin/sdk/samples/4x-scriptable/npp_gate.cpp
rename : modules/plugin/samples/4x-scriptable/nsI4xScriptablePlugin.idl => modules/plugin/sdk/samples/4x-scriptable/nsI4xScriptablePlugin.idl
rename : modules/plugin/samples/4x-scriptable/nsScriptablePeer.cpp => modules/plugin/sdk/samples/4x-scriptable/nsScriptablePeer.cpp
rename : modules/plugin/samples/4x-scriptable/nsScriptablePeer.h => modules/plugin/sdk/samples/4x-scriptable/nsScriptablePeer.h
rename : modules/plugin/samples/4x-scriptable/nsScriptablePeer1.cpp => modules/plugin/sdk/samples/4x-scriptable/nsScriptablePeer1.cpp
rename : modules/plugin/samples/4x-scriptable/nsScriptablePeer1.h => modules/plugin/sdk/samples/4x-scriptable/nsScriptablePeer1.h
rename : modules/plugin/samples/4x-scriptable/plugin.cpp => modules/plugin/sdk/samples/4x-scriptable/plugin.cpp
rename : modules/plugin/samples/4x-scriptable/plugin.h => modules/plugin/sdk/samples/4x-scriptable/plugin.h
rename : modules/plugin/samples/4x-scriptable/readme.txt => modules/plugin/sdk/samples/4x-scriptable/readme.txt
rename : modules/plugin/samples/4x-scriptable/resource.h => modules/plugin/sdk/samples/4x-scriptable/resource.h
rename : modules/plugin/samples/4x-scriptable/script-test.html => modules/plugin/sdk/samples/4x-scriptable/script-test.html
rename : modules/plugin/samples/4x-scriptable/test.html => modules/plugin/sdk/samples/4x-scriptable/test.html
rename : modules/plugin/samples/SanePlugin/Makefile.in => modules/plugin/sdk/samples/SanePlugin/Makefile.in
rename : modules/plugin/samples/SanePlugin/README => modules/plugin/sdk/samples/SanePlugin/README
rename : modules/plugin/samples/SanePlugin/nsSanePlugin.cpp => modules/plugin/sdk/samples/SanePlugin/nsSanePlugin.cpp
rename : modules/plugin/samples/SanePlugin/nsSanePlugin.h => modules/plugin/sdk/samples/SanePlugin/nsSanePlugin.h
rename : modules/plugin/samples/SanePlugin/nsSanePluginControl.idl => modules/plugin/sdk/samples/SanePlugin/nsSanePluginControl.idl
rename : modules/plugin/samples/SanePlugin/nsSanePluginFactory.cpp => modules/plugin/sdk/samples/SanePlugin/nsSanePluginFactory.cpp
rename : modules/plugin/samples/SanePlugin/nsSanePluginFactory.h => modules/plugin/sdk/samples/SanePlugin/nsSanePluginFactory.h
rename : modules/plugin/samples/SanePlugin/nsSanePlugin_CID.h => modules/plugin/sdk/samples/SanePlugin/nsSanePlugin_CID.h
rename : modules/plugin/samples/SanePlugin/test/camera.html => modules/plugin/sdk/samples/SanePlugin/test/camera.html
rename : modules/plugin/samples/SanePlugin/test/scanner.html => modules/plugin/sdk/samples/SanePlugin/test/scanner.html
rename : modules/plugin/samples/npruntime/Makefile.in => modules/plugin/sdk/samples/npruntime/Makefile.in
rename : modules/plugin/samples/npruntime/np_entry.cpp => modules/plugin/sdk/samples/npruntime/np_entry.cpp
rename : modules/plugin/samples/npruntime/npn_gate.cpp => modules/plugin/sdk/samples/npruntime/npn_gate.cpp
rename : modules/plugin/samples/npruntime/npp_gate.cpp => modules/plugin/sdk/samples/npruntime/npp_gate.cpp
rename : modules/plugin/samples/npruntime/nprt.def => modules/plugin/sdk/samples/npruntime/nprt.def
rename : modules/plugin/samples/npruntime/nprt.rc => modules/plugin/sdk/samples/npruntime/nprt.rc
rename : modules/plugin/samples/npruntime/plugin.cpp => modules/plugin/sdk/samples/npruntime/plugin.cpp
rename : modules/plugin/samples/npruntime/plugin.h => modules/plugin/sdk/samples/npruntime/plugin.h
rename : modules/plugin/samples/npruntime/resource.h => modules/plugin/sdk/samples/npruntime/resource.h
rename : modules/plugin/samples/npruntime/test.html => modules/plugin/sdk/samples/npruntime/test.html
rename : modules/plugin/samples/npthread/windows/action.cpp => modules/plugin/sdk/samples/npthread/windows/action.cpp
rename : modules/plugin/samples/npthread/windows/action.h => modules/plugin/sdk/samples/npthread/windows/action.h
rename : modules/plugin/samples/npthread/windows/dbg.cpp => modules/plugin/sdk/samples/npthread/windows/dbg.cpp
rename : modules/plugin/samples/npthread/windows/dbg.h => modules/plugin/sdk/samples/npthread/windows/dbg.h
rename : modules/plugin/samples/npthread/windows/np_entry.cpp => modules/plugin/sdk/samples/npthread/windows/np_entry.cpp
rename : modules/plugin/samples/npthread/windows/npn_gate.cpp => modules/plugin/sdk/samples/npthread/windows/npn_gate.cpp
rename : modules/plugin/samples/npthread/windows/npp_gate.cpp => modules/plugin/sdk/samples/npthread/windows/npp_gate.cpp
rename : modules/plugin/samples/npthread/windows/npthread.def => modules/plugin/sdk/samples/npthread/windows/npthread.def
rename : modules/plugin/samples/npthread/windows/npthread.dsp => modules/plugin/sdk/samples/npthread/windows/npthread.dsp
rename : modules/plugin/samples/npthread/windows/npthread.dsw => modules/plugin/sdk/samples/npthread/windows/npthread.dsw
rename : modules/plugin/samples/npthread/windows/npthread.rc => modules/plugin/sdk/samples/npthread/windows/npthread.rc
rename : modules/plugin/samples/npthread/windows/plugin.cpp => modules/plugin/sdk/samples/npthread/windows/plugin.cpp
rename : modules/plugin/samples/npthread/windows/plugin.h => modules/plugin/sdk/samples/npthread/windows/plugin.h
rename : modules/plugin/samples/npthread/windows/plugload.cpp => modules/plugin/sdk/samples/npthread/windows/plugload.cpp
rename : modules/plugin/samples/npthread/windows/plugload.h => modules/plugin/sdk/samples/npthread/windows/plugload.h
rename : modules/plugin/samples/npthread/windows/readme.txt => modules/plugin/sdk/samples/npthread/windows/readme.txt
rename : modules/plugin/samples/npthread/windows/resource.h => modules/plugin/sdk/samples/npthread/windows/resource.h
rename : modules/plugin/samples/npthread/windows/thread.cpp => modules/plugin/sdk/samples/npthread/windows/thread.cpp
rename : modules/plugin/samples/npthread/windows/thread.h => modules/plugin/sdk/samples/npthread/windows/thread.h
rename : modules/plugin/samples/testevents/Makefile => modules/plugin/sdk/samples/testevents/Makefile
rename : modules/plugin/samples/testevents/Makefile.in => modules/plugin/sdk/samples/testevents/Makefile.in
rename : modules/plugin/samples/testevents/README.txt => modules/plugin/sdk/samples/testevents/README.txt
rename : modules/plugin/samples/testevents/SimpleEventsTest.html => modules/plugin/sdk/samples/testevents/SimpleEventsTest.html
rename : modules/plugin/samples/testevents/npevents.cpp => modules/plugin/sdk/samples/testevents/npevents.cpp
rename : modules/plugin/samples/testevents/nsIEventsPluginInstance.idl => modules/plugin/sdk/samples/testevents/nsIEventsPluginInstance.idl
rename : modules/plugin/samples/unixprinting/Makefile.in => modules/plugin/sdk/samples/unixprinting/Makefile.in
rename : modules/plugin/samples/unixprinting/npprint.pkg => modules/plugin/sdk/samples/unixprinting/npprint.pkg
rename : modules/plugin/samples/unixprinting/npshell.c => modules/plugin/sdk/samples/unixprinting/npshell.c
rename : modules/plugin/samples/unixprinting/npunix.c => modules/plugin/sdk/samples/unixprinting/npunix.c
rename : modules/plugin/samples/unixprinting/printplugin.c => modules/plugin/sdk/samples/unixprinting/printplugin.c
rename : modules/plugin/samples/unixprinting/printplugin.h => modules/plugin/sdk/samples/unixprinting/printplugin.h
rename : modules/plugin/samples/unixprinting/unixprintplugin_test1.html => modules/plugin/sdk/samples/unixprinting/unixprintplugin_test1.html
rename : modules/plugin/samples/unixprinting/unixprintplugin_test2.html => modules/plugin/sdk/samples/unixprinting/unixprintplugin_test2.html
2008-09-02 14:51:32 -04:00
Josh Aas 0ae0411f85 merge simple plugin into sdk, remove old sdk simple plugin. b=360955 rs=jst 2008-09-02 14:39:03 -04:00
Josh Aas 04a81992e4 move npapi sdk up a directory, b=360955 rs=jst
--HG--
rename : modules/plugin/tools/sdk/Makefile.in => modules/plugin/sdk/Makefile.in
rename : modules/plugin/tools/sdk/readme.txt => modules/plugin/sdk/readme.txt
rename : modules/plugin/tools/sdk/samples/Makefile.in => modules/plugin/sdk/samples/Makefile.in
rename : modules/plugin/tools/sdk/samples/basic/mac/Basic Plugin.mcp => modules/plugin/sdk/samples/basic/mac/Basic Plugin.mcp
rename : modules/plugin/tools/sdk/samples/basic/mac/Basic Plugin.xml => modules/plugin/sdk/samples/basic/mac/Basic Plugin.xml
rename : modules/plugin/tools/sdk/samples/basic/mac/Basic.rsrc => modules/plugin/sdk/samples/basic/mac/Basic.rsrc
rename : modules/plugin/tools/sdk/samples/basic/mac/plugin.cpp => modules/plugin/sdk/samples/basic/mac/plugin.cpp
rename : modules/plugin/tools/sdk/samples/basic/mac/plugin.h => modules/plugin/sdk/samples/basic/mac/plugin.h
rename : modules/plugin/tools/sdk/samples/basic/mac/pluginCarbonPrefix.h => modules/plugin/sdk/samples/basic/mac/pluginCarbonPrefix.h
rename : modules/plugin/tools/sdk/samples/basic/mac/pluginPrefix.h => modules/plugin/sdk/samples/basic/mac/pluginPrefix.h
rename : modules/plugin/tools/sdk/samples/basic/test.html => modules/plugin/sdk/samples/basic/test.html
rename : modules/plugin/tools/sdk/samples/basic/unix/Makefile.in => modules/plugin/sdk/samples/basic/unix/Makefile.in
rename : modules/plugin/tools/sdk/samples/basic/unix/plugin.cpp => modules/plugin/sdk/samples/basic/unix/plugin.cpp
rename : modules/plugin/tools/sdk/samples/basic/unix/plugin.h => modules/plugin/sdk/samples/basic/unix/plugin.h
rename : modules/plugin/tools/sdk/samples/basic/windows/Makefile.in => modules/plugin/sdk/samples/basic/windows/Makefile.in
rename : modules/plugin/tools/sdk/samples/basic/windows/basic.def => modules/plugin/sdk/samples/basic/windows/basic.def
rename : modules/plugin/tools/sdk/samples/basic/windows/basic.rc => modules/plugin/sdk/samples/basic/windows/basic.rc
rename : modules/plugin/tools/sdk/samples/basic/windows/npbasic.dsp => modules/plugin/sdk/samples/basic/windows/npbasic.dsp
rename : modules/plugin/tools/sdk/samples/basic/windows/npbasic.dsw => modules/plugin/sdk/samples/basic/windows/npbasic.dsw
rename : modules/plugin/tools/sdk/samples/basic/windows/plugin.cpp => modules/plugin/sdk/samples/basic/windows/plugin.cpp
rename : modules/plugin/tools/sdk/samples/basic/windows/plugin.h => modules/plugin/sdk/samples/basic/windows/plugin.h
rename : modules/plugin/tools/sdk/samples/basic/windows/resource.h => modules/plugin/sdk/samples/basic/windows/resource.h
rename : modules/plugin/tools/sdk/samples/common/Makefile.in => modules/plugin/sdk/samples/common/Makefile.in
rename : modules/plugin/tools/sdk/samples/common/np_entry.cpp => modules/plugin/sdk/samples/common/np_entry.cpp
rename : modules/plugin/tools/sdk/samples/common/npn_gate.cpp => modules/plugin/sdk/samples/common/npn_gate.cpp
rename : modules/plugin/tools/sdk/samples/common/npp_gate.cpp => modules/plugin/sdk/samples/common/npp_gate.cpp
rename : modules/plugin/tools/sdk/samples/include/npplat.h => modules/plugin/sdk/samples/include/npplat.h
rename : modules/plugin/tools/sdk/samples/include/pluginbase.h => modules/plugin/sdk/samples/include/pluginbase.h
rename : modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable Plugin.mcp => modules/plugin/sdk/samples/scriptable/mac/Scriptable Plugin.mcp
rename : modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable Plugin.xml => modules/plugin/sdk/samples/scriptable/mac/Scriptable Plugin.xml
rename : modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable PluginIDL.mcp => modules/plugin/sdk/samples/scriptable/mac/Scriptable PluginIDL.mcp
rename : modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable PluginIDL.xml => modules/plugin/sdk/samples/scriptable/mac/Scriptable PluginIDL.xml
rename : modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable.rsrc => modules/plugin/sdk/samples/scriptable/mac/Scriptable.rsrc
rename : modules/plugin/tools/sdk/samples/scriptable/mac/nsIScriptablePluginSample.idl => modules/plugin/sdk/samples/scriptable/mac/nsIScriptablePluginSample.idl
rename : modules/plugin/tools/sdk/samples/scriptable/mac/nsScriptablePeer.cpp => modules/plugin/sdk/samples/scriptable/mac/nsScriptablePeer.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/mac/nsScriptablePeer.h => modules/plugin/sdk/samples/scriptable/mac/nsScriptablePeer.h
rename : modules/plugin/tools/sdk/samples/scriptable/mac/plugin.cpp => modules/plugin/sdk/samples/scriptable/mac/plugin.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/mac/plugin.h => modules/plugin/sdk/samples/scriptable/mac/plugin.h
rename : modules/plugin/tools/sdk/samples/scriptable/mac/pluginCarbonPrefix.h => modules/plugin/sdk/samples/scriptable/mac/pluginCarbonPrefix.h
rename : modules/plugin/tools/sdk/samples/scriptable/mac/pluginPrefix.h => modules/plugin/sdk/samples/scriptable/mac/pluginPrefix.h
rename : modules/plugin/tools/sdk/samples/scriptable/test.html => modules/plugin/sdk/samples/scriptable/test.html
rename : modules/plugin/tools/sdk/samples/scriptable/unix/Makefile.in => modules/plugin/sdk/samples/scriptable/unix/Makefile.in
rename : modules/plugin/tools/sdk/samples/scriptable/unix/nsIScriptablePluginSample.idl => modules/plugin/sdk/samples/scriptable/unix/nsIScriptablePluginSample.idl
rename : modules/plugin/tools/sdk/samples/scriptable/unix/nsScriptablePeer.cpp => modules/plugin/sdk/samples/scriptable/unix/nsScriptablePeer.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/unix/nsScriptablePeer.h => modules/plugin/sdk/samples/scriptable/unix/nsScriptablePeer.h
rename : modules/plugin/tools/sdk/samples/scriptable/unix/plugin.cpp => modules/plugin/sdk/samples/scriptable/unix/plugin.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/unix/plugin.h => modules/plugin/sdk/samples/scriptable/unix/plugin.h
rename : modules/plugin/tools/sdk/samples/scriptable/windows/Makefile.in => modules/plugin/sdk/samples/scriptable/windows/Makefile.in
rename : modules/plugin/tools/sdk/samples/scriptable/windows/npscriptable.def => modules/plugin/sdk/samples/scriptable/windows/npscriptable.def
rename : modules/plugin/tools/sdk/samples/scriptable/windows/npscriptable.dsp => modules/plugin/sdk/samples/scriptable/windows/npscriptable.dsp
rename : modules/plugin/tools/sdk/samples/scriptable/windows/npscriptable.dsw => modules/plugin/sdk/samples/scriptable/windows/npscriptable.dsw
rename : modules/plugin/tools/sdk/samples/scriptable/windows/npscriptable.rc => modules/plugin/sdk/samples/scriptable/windows/npscriptable.rc
rename : modules/plugin/tools/sdk/samples/scriptable/windows/nsIScriptablePluginSample.idl => modules/plugin/sdk/samples/scriptable/windows/nsIScriptablePluginSample.idl
rename : modules/plugin/tools/sdk/samples/scriptable/windows/nsScriptablePeer.cpp => modules/plugin/sdk/samples/scriptable/windows/nsScriptablePeer.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/windows/nsScriptablePeer.h => modules/plugin/sdk/samples/scriptable/windows/nsScriptablePeer.h
rename : modules/plugin/tools/sdk/samples/scriptable/windows/plugin.cpp => modules/plugin/sdk/samples/scriptable/windows/plugin.cpp
rename : modules/plugin/tools/sdk/samples/scriptable/windows/plugin.h => modules/plugin/sdk/samples/scriptable/windows/plugin.h
rename : modules/plugin/tools/sdk/samples/scriptable/windows/readme.txt => modules/plugin/sdk/samples/scriptable/windows/readme.txt
rename : modules/plugin/tools/sdk/samples/scriptable/windows/resource.h => modules/plugin/sdk/samples/scriptable/windows/resource.h
rename : modules/plugin/tools/sdk/samples/simple/Makefile.in => modules/plugin/sdk/samples/simple/Makefile.in
rename : modules/plugin/tools/sdk/samples/simple/npsimple.def => modules/plugin/sdk/samples/simple/npsimple.def
rename : modules/plugin/tools/sdk/samples/simple/npsimple.dsp => modules/plugin/sdk/samples/simple/npsimple.dsp
rename : modules/plugin/tools/sdk/samples/simple/npsimple.dsw => modules/plugin/sdk/samples/simple/npsimple.dsw
rename : modules/plugin/tools/sdk/samples/simple/npsimple.rc => modules/plugin/sdk/samples/simple/npsimple.rc
rename : modules/plugin/tools/sdk/samples/simple/nsISimplePlugin.idl => modules/plugin/sdk/samples/simple/nsISimplePlugin.idl
rename : modules/plugin/tools/sdk/samples/simple/nsScriptablePeer.cpp => modules/plugin/sdk/samples/simple/nsScriptablePeer.cpp
rename : modules/plugin/tools/sdk/samples/simple/nsScriptablePeer.h => modules/plugin/sdk/samples/simple/nsScriptablePeer.h
rename : modules/plugin/tools/sdk/samples/simple/plugin.cpp => modules/plugin/sdk/samples/simple/plugin.cpp
rename : modules/plugin/tools/sdk/samples/simple/plugin.h => modules/plugin/sdk/samples/simple/plugin.h
rename : modules/plugin/tools/sdk/samples/simple/readme.txt => modules/plugin/sdk/samples/simple/readme.txt
rename : modules/plugin/tools/sdk/samples/simple/resource.h => modules/plugin/sdk/samples/simple/resource.h
rename : modules/plugin/tools/sdk/samples/simple/test.html => modules/plugin/sdk/samples/simple/test.html
rename : modules/plugin/tools/sdk/samples/winless/test.html => modules/plugin/sdk/samples/winless/test.html
rename : modules/plugin/tools/sdk/samples/winless/windows/Makefile.in => modules/plugin/sdk/samples/winless/windows/Makefile.in
rename : modules/plugin/tools/sdk/samples/winless/windows/npwinless.def => modules/plugin/sdk/samples/winless/windows/npwinless.def
rename : modules/plugin/tools/sdk/samples/winless/windows/npwinless.dsp => modules/plugin/sdk/samples/winless/windows/npwinless.dsp
rename : modules/plugin/tools/sdk/samples/winless/windows/npwinless.dsw => modules/plugin/sdk/samples/winless/windows/npwinless.dsw
rename : modules/plugin/tools/sdk/samples/winless/windows/npwinless.rc => modules/plugin/sdk/samples/winless/windows/npwinless.rc
rename : modules/plugin/tools/sdk/samples/winless/windows/plugin.cpp => modules/plugin/sdk/samples/winless/windows/plugin.cpp
rename : modules/plugin/tools/sdk/samples/winless/windows/plugin.h => modules/plugin/sdk/samples/winless/windows/plugin.h
rename : modules/plugin/tools/sdk/samples/winless/windows/resource.h => modules/plugin/sdk/samples/winless/windows/resource.h
2008-09-02 14:05:34 -04:00
Josh Aas 160af370f8 fix include paths for opt builds in the default plugin xcode project. b=360955 2008-09-02 13:15:10 -04:00
Josh Aas aafa671518 move default plugin out of samples into modules/plugin. b=360955 rs=jst
--HG--
rename : modules/plugin/samples/default/mac/DefaultPlugin.xcodeproj/project.pbxproj => modules/plugin/default/mac/DefaultPlugin.xcodeproj/project.pbxproj
rename : modules/plugin/samples/default/mac/DefaultPluginPrefix.h => modules/plugin/default/mac/DefaultPluginPrefix.h
rename : modules/plugin/samples/default/mac/English.lproj/InfoPlist.strings => modules/plugin/default/mac/English.lproj/InfoPlist.strings
rename : modules/plugin/samples/default/mac/Info-DefaultPlugin.plist => modules/plugin/default/mac/Info-DefaultPlugin.plist
rename : modules/plugin/samples/default/mac/Makefile.in => modules/plugin/default/mac/Makefile.in
rename : modules/plugin/samples/default/mac/NullPlugin.cpp => modules/plugin/default/mac/NullPlugin.cpp
rename : modules/plugin/samples/default/mac/NullPlugin.rsrc => modules/plugin/default/mac/NullPlugin.rsrc
rename : modules/plugin/samples/default/mac/npmac.cpp => modules/plugin/default/mac/npmac.cpp
rename : modules/plugin/samples/default/mac/npnul.pkg => modules/plugin/default/mac/npnul.pkg
rename : modules/plugin/samples/default/os2/Makefile.in => modules/plugin/default/os2/Makefile.in
rename : modules/plugin/samples/default/os2/dbg.cpp => modules/plugin/default/os2/dbg.cpp
rename : modules/plugin/samples/default/os2/dbg.h => modules/plugin/default/os2/dbg.h
rename : modules/plugin/samples/default/os2/dialogs.cpp => modules/plugin/default/os2/dialogs.cpp
rename : modules/plugin/samples/default/os2/dialogs.h => modules/plugin/default/os2/dialogs.h
rename : modules/plugin/samples/default/os2/maindll.cpp => modules/plugin/default/os2/maindll.cpp
rename : modules/plugin/samples/default/os2/npnul.pkg => modules/plugin/default/os2/npnul.pkg
rename : modules/plugin/samples/default/os2/npnulos2.h => modules/plugin/default/os2/npnulos2.h
rename : modules/plugin/samples/default/os2/npnulos2.ico => modules/plugin/default/os2/npnulos2.ico
rename : modules/plugin/samples/default/os2/npnulos2.rc => modules/plugin/default/os2/npnulos2.rc
rename : modules/plugin/samples/default/os2/npos2.cpp => modules/plugin/default/os2/npos2.cpp
rename : modules/plugin/samples/default/os2/npshell.cpp => modules/plugin/default/os2/npshell.cpp
rename : modules/plugin/samples/default/os2/plugin.cpp => modules/plugin/default/os2/plugin.cpp
rename : modules/plugin/samples/default/os2/plugin.h => modules/plugin/default/os2/plugin.h
rename : modules/plugin/samples/default/os2/utils.cpp => modules/plugin/default/os2/utils.cpp
rename : modules/plugin/samples/default/os2/utils.h => modules/plugin/default/os2/utils.h
rename : modules/plugin/samples/default/unix/Makefile.in => modules/plugin/default/unix/Makefile.in
rename : modules/plugin/samples/default/unix/npnul.pkg => modules/plugin/default/unix/npnul.pkg
rename : modules/plugin/samples/default/unix/npshell.c => modules/plugin/default/unix/npshell.c
rename : modules/plugin/samples/default/unix/npunix.c => modules/plugin/default/unix/npunix.c
rename : modules/plugin/samples/default/unix/nullplugin.c => modules/plugin/default/unix/nullplugin.c
rename : modules/plugin/samples/default/unix/nullplugin.h => modules/plugin/default/unix/nullplugin.h
rename : modules/plugin/samples/default/windows/Makefile.in => modules/plugin/default/windows/Makefile.in
rename : modules/plugin/samples/default/windows/Npnul32.dsp => modules/plugin/default/windows/Npnul32.dsp
rename : modules/plugin/samples/default/windows/dbg.cpp => modules/plugin/default/windows/dbg.cpp
rename : modules/plugin/samples/default/windows/dbg.h => modules/plugin/default/windows/dbg.h
rename : modules/plugin/samples/default/windows/dialogs.cpp => modules/plugin/default/windows/dialogs.cpp
rename : modules/plugin/samples/default/windows/dialogs.h => modules/plugin/default/windows/dialogs.h
rename : modules/plugin/samples/default/windows/maindll.cpp => modules/plugin/default/windows/maindll.cpp
rename : modules/plugin/samples/default/windows/npnul.pkg => modules/plugin/default/windows/npnul.pkg
rename : modules/plugin/samples/default/windows/npnul32.def => modules/plugin/default/windows/npnul32.def
rename : modules/plugin/samples/default/windows/npnul32.dsw => modules/plugin/default/windows/npnul32.dsw
rename : modules/plugin/samples/default/windows/npnul32.rc => modules/plugin/default/windows/npnul32.rc
rename : modules/plugin/samples/default/windows/npshell.cpp => modules/plugin/default/windows/npshell.cpp
rename : modules/plugin/samples/default/windows/npwin.cpp => modules/plugin/default/windows/npwin.cpp
rename : modules/plugin/samples/default/windows/plugicon.ico => modules/plugin/default/windows/plugicon.ico
rename : modules/plugin/samples/default/windows/plugin.cpp => modules/plugin/default/windows/plugin.cpp
rename : modules/plugin/samples/default/windows/plugin.h => modules/plugin/default/windows/plugin.h
rename : modules/plugin/samples/default/windows/resource.h => modules/plugin/default/windows/resource.h
rename : modules/plugin/samples/default/windows/utils.cpp => modules/plugin/default/windows/utils.cpp
rename : modules/plugin/samples/default/windows/utils.h => modules/plugin/default/windows/utils.h
2008-09-02 12:57:44 -04:00
Neil Rashbrook 48d2794626 Bug 420310 Unable to display uncached unnamed full-page plugin r+sr=jst 2008-08-26 12:40:13 +01:00
Josh Aas e649965e56 Don't stop plugins from loading just because they don't have a resource file. b=451234 r=smichaud sr=roc 2008-08-20 00:23:19 -04:00
Boris Zbarsky f6286eecfb Bug 434163. Make sure to not let our hashtable mutate while we're iterating it. r+sr=jst 2008-08-18 13:06:16 -04:00
Josh Aas b2a0cff985 Fix gcc4.2 compile error. Patch by Simon Howes. b=450880 r=josh sr=roc 2008-08-18 02:25:35 -04:00
Josh Aas 3f7701e11f add ability to pull plugin info from a plugin's bundle plist file. allows us to load modern plugins that do not use resource forks. b=350109 r=smichaud sr=roc 2008-08-14 08:47:04 -04:00
Vladimir Vukicevic 94c623f7f9 [dfb,422221] Gtk/DirectFB: half-fix/enable plugins for DirectFB port 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic d37b3620f0 Backing out d883ab4b8f41:7540abc35c97 2008-08-06 16:24:13 -07:00
Vladimir Vukicevic beecf17887 [dfb,422221] Gtk/DirectFB: half-fix/enable plugins for DirectFB port 2008-08-06 13:48:55 -07:00