Commit Graph

1411 Commits

Author SHA1 Message Date
Benjamin Smedberg
0c3c67bde3 Fix Windows build bustage from the NPN_GetURLNotify patch. 2009-09-11 13:52:53 -04:00
Benjamin Smedberg
79d7e994f0 Implement NPN_GetURLNotify/NPN_PostURLNotify/NPP_URLNotify. Still without any tests! 2009-09-08 17:22:50 -04:00
Chris Jones
e20692ab9b add discriminated union types to IPDL 2009-09-10 23:55:03 -05:00
Ben Turner
c6ad60ed4d Remove 'Protocol' suffix from IPDL-generated files 2009-09-09 15:59:06 -07:00
Ben Turner
dccb0805dd 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
Benjamin Smedberg
09ee5262ac 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
9b4c68bafb 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
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
21fc0c7806 Revert accidental commit of printf-debugging code in the test plugin. 2009-09-08 16:05:12 -04:00
Benjamin Smedberg
2d9e19df05 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
0f1d5c36a0 Force child processes to close and wait for them on shutdown 2009-09-02 17:18:27 -07:00
Ben Turner
99f1c34f15 Rework ipcshell to become xpcshell 2009-08-28 16:16:19 -07:00
Benjamin Smedberg
187a34a633 Merge mozilla-central into Electrolysis 2009-08-26 12:15:27 -04:00
Ben Turner
b5348a3322 Fix build bustage 2009-08-25 16:39:30 -07:00
Ben Turner
1521c7b109 Fix testshell to use the new callback commands, and shut down properly 2009-08-25 16:07:22 -07:00
Benjamin Smedberg
fc13eedc7c Package test.xul so that it ends up at chrome://global/content/test-ipc.xul. This allows it to be tested with nightly builds, as well as giving it chrome permissions so that jdm can work on hooking up typeaheadfind. 2009-08-19 13:59:58 -04:00
Robin Bate Beorop
b7c4e982b3 Bug 507218 - Expose the process type (chrome/content) to client code via XRE_GetProcessType and nsIXULRuntime, r=bent 2009-08-19 13:09:51 -04:00
Chris Jones
dc16b0c031 export ContentProcess* headers 2009-08-14 18:21:21 -05:00
Peter Van der Beken
8b5c239aac Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Benjamin Smedberg
bca8ff5efc Remove #ifdef 0 functions in nsNPAPIPluginParent which definitely won't live there. Some (memory allocation/deallocation) are local, while others should just be instance methods on the NPP wrappers. 2009-08-14 14:47:30 -04:00
Peter Van der Beken
06a3290ed7 Fix for bug 510673 (Add a quickstub for document.write). r/sr=jst.
--HG--
extra : rebase_source : 10b08ef2c45a0db19122851cd105a7580e499d0a
2009-08-14 19:55:43 +02:00
Doug Turner
72c70cdea8 Bug 512520 - remove Maemo geolocation providers. r=staurt 2009-08-25 15:08:56 -07:00
Honza Bambas
21ec27d986 Bug 509683 - nsDOMStorageMemoryDB::GetItemsTable inits hashtable twice, r=peterv 2009-08-25 21:25:32 +02:00
Benjamin Smedberg
3727beac48 Bug 510025 - make TestShell a subprotocol of ContentProcess so that it is useful for prototyping 2009-08-12 14:31:48 -04:00
Chris Jones
c22919e979 add ContentProcessChild singleton and accessor 2009-08-12 19:32:50 -05:00
Benjamin Smedberg
a12e66c042 More Returning NS_OK from non-void functions. 2009-08-12 16:20:42 -04:00
Benjamin Smedberg
6746d13000 Return NS_OK from non-void function 2009-08-12 15:12:47 -04:00
Benjamin Smedberg
0e0931b400 Bug 509798 - Create a ContentProcess protocol which manages IFrameEmbedding. ContentProcessChild is a globally-accessible singleton in the content process. For the moment, ContentProcessParent is a global singleton in the parent process, but that will change once we have process-per-domain or something similar.
--HG--
rename : dom/ipc/TabThread.cpp => dom/ipc/ContentProcessThread.cpp
rename : dom/ipc/TabThread.h => dom/ipc/ContentProcessThread.h
2009-08-12 12:18:08 -04:00
Chris Jones
f09e5b1b04 build on 64-bit linux 2009-08-12 00:41:55 -05:00
Ben Turner
5e45b0c25d Skeleton implementation for NPObject remoting 2009-08-10 16:28:22 -07:00
Ben Turner
1088815043 Add extremely basic support for unblocking in the event of a bad message 2009-08-07 16:13:20 -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
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04: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
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Doug Turner
db1a20b897 Bug 485943 - Device Orientation Support. r=olli 2009-08-21 07:42:37 -07:00
Jonathon Jongsma ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
219a2fe88e Implement CSS transitions: implement the parsing and computation of the transition properties. (Bug 435441) r=bzbarsky 2009-08-20 14:52:47 -07:00
Martin McNickle
ad029e7ea6 Bug 488629 - Fails silently (i.e. never reports a position) when network is unreachable. r=dougt 2009-08-20 11:23:22 -07:00
Martin McNickle
03531f8a33 Bug 492328 - Add GPSD as a geolocation provider. r=dougt 2009-08-20 11:21:58 -07:00
Olli Pettay
39e59a0771 Bug 502818 - Property access on DOMMouseScroll events does not propagate to Event.prototype, r+sr=jst
--HG--
extra : rebase_source : a6c0082a9ba2f0689ec359ae5f6a2fa9322a2d0d
2009-08-20 13:13:06 +03:00
Ben Turner
2f24daa576 Add test plugin for ipc, make sure it works 2009-08-05 15:36:33 -07:00
Ben Turner
5cb28b62f1 Don't abort if more than one arg is passed to a plugin 2009-08-05 13:49:13 -07:00
Ben Turner
cd1d42ffe0 Merge mozilla-central 2009-07-30 11:28:07 -07:00
Ben Turner
d4bb2883d3 Use mozilla strings instead of std::string in IPDL 2009-07-29 14:12:15 -07:00
Benjamin Smedberg
0501b7a589 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04:00
Chris Jones
cc9c58dbcb add SyncLaunch() method to GeckoChildProcess class. remove much newly obseleted code. 2009-07-20 13:14:41 -05: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
Chris Jones
14b0696047 fix up phase 1 browser: (i) suppress spurious RgnRectAlloc error msgs; (ii) make IFrameEmbedding protocol sync/async instead of rpc; (iii) fix bug that prevented child iframe from drawing 2009-07-14 02:33:50 -05:00
Chris Jones
d7947d5455 add IPDL test harness and the mountains of code that entails. add |bool| type to IPDL. fix bugs in nascent async/sync channels. 2009-07-14 00:12:50 -05:00
Benjamin Smedberg
28d4675b23 Build system for .ipdl files. 2009-07-13 12:14:56 -04:00