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

209684 Коммитов

Автор SHA1 Сообщение Дата
Jason Duell 9910cfcf97 Necko init patch, with modeline fixes 2009-08-18 12:05:15 -07:00
Benjamin Smedberg 1bbec701d1 Bug 517207 - Implement NPN_GetValue, r?bent. I use separate messages for each getvalue property instead of an integer/enumeration and a variant because for each message, the type returned is static: this avoids a lot of dynamic checking for correct enumeration values and variant types. r=bent 2009-09-15 16:33:24 -04:00
Chris Jones 7a81446e70 bug 516798: fix busted actor-as-return-value handling in IPDL 2009-09-16 21:49:41 -05:00
Chris Jones 158b0df113 fix mismatched expectations of generated vars arrays 2009-09-16 17:41:04 -05:00
Ben Turner c3c18d55f1 Initialize managers asap in child actors 2009-09-16 15:01:00 -07:00
Benjamin Smedberg 63dd6aeab8 Actually implement the geturl/posturl functions on the child-side plugin host. 2009-09-15 15:48:18 -04:00
Ben Turner b063012cae Further fixes for unions 2009-09-14 19:26:17 -07:00
Ben Turner 72f4e6b57b Fix union type stuff for linux too 2009-09-14 17:55:00 -07:00
Ben Turner 366a3cf8ce Add simple tests for NPIdentifiers in testplugin 2009-09-14 15:35:02 -07:00
Ben Turner 5db5f8fa51 Fix union type constructors to be explicit to avoid msvc choosing cheaper code paths 2009-09-14 14:44:06 -07:00
Ben Turner 2941f8ddf4 Fix mem corruption from our different use of ChildProcessHost when child processes crash 2009-09-14 13:02:32 -07:00
Ben Turner af82cf26df Add support for NPIdentifiers to oop plugins 2009-09-14 13:01:31 -07:00
Ben Turner 99033ae764 Fix recursive locking when unblocking an RPC channel for a sync message and add minimal error handling for sync messages. 2009-09-14 13:00:31 -07:00
Ben Turner 77093d31d4 Fix nsTArray deserialization 2009-09-14 12:58:33 -07:00
Benjamin Smedberg d96f7451fa The functions which accept a `NPP instance` parameter don't need the special shim: just make them static functions on PluginModuleParent. This leaves only the following functions which will need special treatment in the Mozilla plugin host:
* NP_Initialize
* NP_GetEntryPoints
* NP_Shutdown
* NP_GetPluginVersion
* NP_GetValue
* NPP_New
* NP_GetMIMEDescription
2009-09-14 14:56:23 -04:00
Chris Jones 3998d8c0b8 modify the generated C++ enum representing the constituent types of IPDL unions so that they can represent a "not assigned" state 2009-09-12 17:18:56 -05:00
Chris Jones 1ba0bbfbd2 fix the internal C++ union of generated IPDL unions so that they can contain non-POD types 2009-09-12 15:40:26 -05:00
Chris Jones 532ab88f33 fix isUnion/isUnionType schizophrenia introduced by d3e90292fd30 2009-09-12 15:11:35 -05:00
Jason Duell afd58eee0c Move necko to tier_gecko, r=bsmedberg 2009-09-11 14:52:19 -07:00
Benjamin Smedberg c23fd76f77 Fix Windows build bustage from the NPN_GetURLNotify patch. 2009-09-11 13:52:53 -04:00
Benjamin Smedberg b11c695563 Implement NPN_GetURLNotify/NPN_PostURLNotify/NPP_URLNotify. Still without any tests! 2009-09-08 17:22:50 -04:00
Benjamin Smedberg 13eb6f3032 Followup to changeset d3e90292fd30, discriminated union types: bustage fix when passing an actor 2009-09-11 12:05:26 -04:00
Chris Jones 334b5bb7d9 unblock RPC waiters for async messages, for realz 2009-09-11 02:28:09 -05:00
Chris Jones b332673a20 fix bug introduced by d0d751ed8c3e where receiving multiple async messages while awaiting an RPC reply could screw things up. async messages no longer unblock RPC waiters. 2009-09-11 01:05:42 -05:00
Chris Jones 11c6e75c70 add discriminated union types to IPDL 2009-09-10 23:55:03 -05:00
Chris Jones 7d52f509f1 make RPC unblock for async and sync, as it supposed to have 2009-09-10 18:54:37 -05:00
Ben Turner 5a0e09b701 Remove 'Protocol' suffix from IPDL-generated files 2009-09-09 15:59:06 -07:00
Ben Turner df0dc3228b Rename remaining protocols
--HG--
rename : dom/ipc/ContentProcess.ipdl => dom/ipc/PContentProcess.ipdl
rename : dom/ipc/IFrameEmbedding.ipdl => dom/ipc/PIFrameEmbedding.ipdl
rename : ipc/test-harness/Test.ipdl => ipc/test-harness/PTest.ipdl
rename : ipc/testshell/TestShell.ipdl => ipc/testshell/PTestShell.ipdl
rename : ipc/testshell/TestShellCommand.ipdl => ipc/testshell/PTestShellCommand.ipdl
2009-09-09 15:00:14 -07:00
Chris Jones 1c592e46b5 bug 515365: fix actor types as message params. also refactor actor naming so that the "Protocol" suffix can be removed. 2009-09-09 15:25:05 -05:00
Benjamin Smedberg 8f891f87cd PPluginStream is badly named: there is going to be a PPluginStream, but it's not this!
--HG--
rename : dom/plugins/PluginStreamChild.cpp => dom/plugins/BrowserStreamChild.cpp
rename : dom/plugins/PluginStreamChild.h => dom/plugins/BrowserStreamChild.h
rename : dom/plugins/PluginStreamParent.cpp => dom/plugins/BrowserStreamParent.cpp
rename : dom/plugins/PluginStreamParent.h => dom/plugins/BrowserStreamParent.h
rename : dom/plugins/PPluginStream.ipdl => dom/plugins/PBrowserStream.ipdl
2009-09-09 10:04:09 -04:00
Chris Jones 258569f503 bug 515242: finish FE support for actor types specified to be in "any" state (by adding State.ANY). fix IPDL handling of carriage return, remove them from new code 2009-09-09 01:58:08 -05:00
Ben Turner 06029219b0 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
Ben Turner 175d63409f Fix crashing iframes due to gtk_init, stop using windows in xpcshell tests 2009-09-08 13:35:12 -07:00
Benjamin Smedberg 069f02260e Revert accidental commit of printf-debugging code in the test plugin. 2009-09-08 16:05:12 -04:00
Benjamin Smedberg 28dfae6b92 Implement browser streams (NPStream from the plugin host to the plugin). Unfortunately, there aren't any tests for this stuff at all. Various related APIs like NPN_GetURLNotify are not yet implemented and will require changes to the protocol structure (you have to be able to associate a browser stream with a notify request through NPStream->notifyData). 2009-08-18 16:20:03 -04:00
Ben Turner 168680f7ad Fix linux builds by giving them a better idea of the executable location 2009-09-04 00:23:06 -07:00
Chris Jones 17a765274c make failed exec() print a loud error message 2009-09-03 17:12:57 -05:00
Ben Turner 7e8db9f9a4 Force child processes to close and wait for them on shutdown 2009-09-02 17:18:27 -07:00
Ben Turner 7ccc076f01 Enable ipcshell tests 2009-09-02 12:35:15 -07:00
Chris Jones 33826dc17d endow xpcshell with the power of GTK 2009-09-01 18:18:40 -05:00
Ben Turner faceddc604 Disable tests until they work 2009-09-01 15:36:38 -07:00
Ben Turner e46cbd79ac Basic xpcshell test for testing IPDL 2009-09-01 15:17:24 -07:00
Chris Jones fcd4f6280c bug 513920: synchronously "connect" to parent process from child process 2009-09-01 11:27:09 -05:00
Chris Jones db8283a880 fix build bustage; include prtime.h in IPDL code and avoid conflicting CaseInsensitiveCompare decls 2009-09-01 10:01:50 -05:00
Ben Turner 9739753cd3 Rework ipcshell to become xpcshell 2009-08-28 16:16:19 -07:00
Chris Jones a4b5dabdd8 bug 511440: leak count the protocol actor classes. Patch from robin_bb, thanks! r=cjones 2009-08-31 12:54:25 -05:00
Ben Turner fef91bb11b Rework chromium initialization, r=beast 2009-08-28 12:46:21 -07:00
Ben Turner b050168417 Backing out stuff that doesn't work 2009-08-27 16:05:38 -07:00
Ben Turner 3028fdfcc0 Fix build bustage? 2009-08-27 15:54:05 -07:00
Ben Turner 976a393509 Fix build bustage 2009-08-27 14:59:00 -07:00