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

736 Коммитов

Автор SHA1 Сообщение Дата
Jim Mathies f391eb7ac0 Bug 538918 - [OOPP] Modal system dialogs cause UI freeze w/windowless controls. r=bent, cjones.
--HG--
extra : transplant_source : %28B%08h%F29L%BE%BBEh%E8%92%22%2A%8E%A8%00F%83
2010-02-09 16:34:38 -06:00
Chris Jones 4f3fa55836 Follow-up to bug 540886: address review comments I forgot to before pushing.
--HG--
extra : transplant_source : a%25%DF%90g%8A%F0%5C%F7%9B%BEtX%13p9%3Fq%E8%E2
2010-01-27 02:17:17 -06:00
Chris Jones 4c3fbfda9c Bug 540886, part 3: IPDL/C++ test for BlockChild()/UnblockChild(). r=bnewman
--HG--
extra : transplant_source : h%0DM%F8%C5s%82%97%28%AEH%91%86%00%0E%99%A0%05T%1B
2010-01-27 00:41:33 -06:00
Chris Jones cc46bd5e77 Bug 540886, part 2: Offer a BlockChild() interface to RPC protocols that allows parents to prevent children from sending messages back of their own volition until the parent calls UnblockChild(). r=bent
--HG--
extra : transplant_source : %2A%A7%D7%2C%7B%90%1B%9BZS%E5%3E%E1%A1M%F2%A7P%99E
2010-01-27 00:41:32 -06:00
Chris Jones f78a371ee1 Bug 540886, part 1: Refactor "special message" dispatch in AsyncChannel. r=bent
--HG--
extra : transplant_source : %81%F6%01%EB%0CE%B0%04R%02%A8%0B%F8c%EF/%1D%CC%3Ep
2010-01-27 00:41:31 -06:00
Chris Jones f5a459e539 Bug 540111, part 5: IPDL/C++ test of multi-managers. r=bnewman
--HG--
extra : transplant_source : %3B%83%10%FC%C3%5D%F7%22%B4%07WB7u%F6%8A4%D8%16%01
2010-01-26 22:56:14 -06:00
Chris Jones c697772f9a Bug 540111, part 4: IPDL-only tests of multi-managers.
--HG--
extra : transplant_source : %D7%A3C%09%80XAvz%BF%AB%E1%D9%CFiG%B4%F4%D6%00
2010-01-26 22:56:13 -06:00
Chris Jones 635b352381 Bug 540111, part 3: Allow IPDL actors to be managed by one of a set of possible managers. r=bent
--HG--
extra : transplant_source : %DE%1A%20%E5%21%F8%A0.%A2%3A%B1%B8A%BEi%8A%85%0C%3C%60
2010-01-26 22:56:12 -06:00
Chris Jones e031e35e5a Bug 540111, part 2: Subsume direct calls to manager->Dealloc*() into RemoveManagee(). r=bent
--HG--
extra : transplant_source : %FF%FC%CA%FD%82%7F%C2%CC%E4%0Ca%85%C4a%CB%CCM%CE%06%83
2010-01-26 22:56:11 -06:00
Chris Jones d6e94a4945 Bug 540111, part 1: Add a new IProtocolManager::RemoveManagee interface to break reliance on the |Manager()| interface. r=bent
--HG--
extra : transplant_source : %D8%135V%07%DD%9C%40%D9y%01%12%07%E1%BA%20%CFE%256
2010-01-26 22:56:09 -06:00
Benjamin Smedberg 15452c3d4a Commit remaining piece of bug 543788, r=jimm 2010-02-11 15:50:32 -05:00
Jason Duell 9a3a9ea726 Necko init patch, with modeline fixes 2009-08-18 12:05:15 -07:00
Chris Jones c19eaf95f9 bug 516798: fix busted actor-as-return-value handling in IPDL 2009-09-16 21:49:41 -05:00
Chris Jones 00393a2456 fix mismatched expectations of generated vars arrays 2009-09-16 17:41:04 -05:00
Ben Turner 2dc4373d72 Initialize managers asap in child actors 2009-09-16 15:01:00 -07:00
Ben Turner e92d4e68c3 Further fixes for unions 2009-09-14 19:26:17 -07:00
Ben Turner 01787830ed Fix union type stuff for linux too 2009-09-14 17:55:00 -07:00
Ben Turner 3030edf49d Fix union type constructors to be explicit to avoid msvc choosing cheaper code paths 2009-09-14 14:44:06 -07:00
Ben Turner a26c7c4b42 Fix mem corruption from our different use of ChildProcessHost when child processes crash 2009-09-14 13:02:32 -07:00
Ben Turner 6e60758ac5 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 70e97708ae Fix nsTArray deserialization 2009-09-14 12:58:33 -07:00
Chris Jones 8bd9f31a0e 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 9933ff0ae5 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 e67749fd80 fix isUnion/isUnionType schizophrenia introduced by d3e90292fd30 2009-09-12 15:11:35 -05:00
Benjamin Smedberg 6c9c4d5578 Followup to changeset d3e90292fd30, discriminated union types: bustage fix when passing an actor 2009-09-11 12:05:26 -04:00
Chris Jones 7fdb44540e unblock RPC waiters for async messages, for realz 2009-09-11 02:28:09 -05:00
Chris Jones 45238cc4a4 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 dd1940dc7b add discriminated union types to IPDL 2009-09-10 23:55:03 -05:00
Chris Jones 9988d69938 make RPC unblock for async and sync, as it supposed to have 2009-09-10 18:54:37 -05:00
Ben Turner c9da13e27d Remove 'Protocol' suffix from IPDL-generated files 2009-09-09 15:59:06 -07:00
Ben Turner 761a7fffb6 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 123af8fa57 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
Chris Jones ec9d2c6dbc 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 36101eae31 Fix crashing iframes due to gtk_init, stop using windows in xpcshell tests 2009-09-08 13:35:12 -07:00
Ben Turner 0077c0c8e8 Fix linux builds by giving them a better idea of the executable location 2009-09-04 00:23:06 -07:00
Chris Jones 9daef93c7b make failed exec() print a loud error message 2009-09-03 17:12:57 -05:00
Ben Turner 9be6ab9a0b Force child processes to close and wait for them on shutdown 2009-09-02 17:18:27 -07:00
Ben Turner 672525db17 Enable ipcshell tests 2009-09-02 12:35:15 -07:00
Ben Turner 285460bc18 Disable tests until they work 2009-09-01 15:36:38 -07:00
Ben Turner d127d39066 Basic xpcshell test for testing IPDL 2009-09-01 15:17:24 -07:00
Chris Jones b1a481f984 bug 513920: synchronously "connect" to parent process from child process 2009-09-01 11:27:09 -05:00
Chris Jones 7c66ade25e fix build bustage; include prtime.h in IPDL code and avoid conflicting CaseInsensitiveCompare decls 2009-09-01 10:01:50 -05:00
Ben Turner 52304392d9 Rework ipcshell to become xpcshell 2009-08-28 16:16:19 -07:00
Chris Jones 277ec34983 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 5e40a9c813 Rework chromium initialization, r=beast 2009-08-28 12:46:21 -07:00
Ben Turner 1094ca0d54 Backing out stuff that doesn't work 2009-08-27 16:05:38 -07:00
Ben Turner 1452dae7df Fix build bustage? 2009-08-27 15:54:05 -07:00
Ben Turner 04629837fd Rework chromium initialization, revert accidental change 2009-08-27 14:17:01 -07:00
Ben Turner d1fe55ed88 Rework chromium initialization 2009-08-27 14:11:10 -07:00
Chris Jones 20d542c5c3 drop the banhammer on sync parent-to-child messages 2009-08-25 18:52:12 -05:00
Ben Turner 447b61265c Fix testshell to use the new callback commands, and shut down properly 2009-08-25 16:07:22 -07:00
Chris Jones 19629c5061 add IPDL front-end support for transitioning to one of a set of states 2009-08-19 21:21:46 -05:00
Chris Jones c3dba716ad add real front-end support for multiple start states in IPDL 2009-08-19 18:35:22 -05:00
Chris Jones 4dccfc13d8 enable the actor before calling the ctor hook 2009-08-19 18:14:24 -05:00
Chris Jones 1a75cee8b5 add RecvCtor() hooks to match RecvDtor() 2009-08-19 17:54:54 -05:00
Chris Jones 1e8c583fb6 require IPDL filename Foo.ipdl to define protocol Foo 2009-08-19 16:08:21 -05:00
Chris Jones fa5e2b9c2f allow empty sub-protocols 2009-08-19 15:50:46 -05:00
Chris Jones af3a6b6b7a add "power-user" ctor interface method that accepts pre-constructed actors 2009-08-19 15:39:10 -05:00
Robin Bate Beorop fd2302af3b 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 94ef1ca8f4 simplify some *Channel code. enforce more SyncChannel invariants 2009-08-19 10:44:56 -05:00
Chris Jones f410d28b87 add race detection to RPC channels. simplify message processing, be stricter about layering guarantees. add more comments and assertions to channel code. 2009-08-19 00:22:01 -05:00
Chris Jones 700f636da4 s/String/nsCString/ for IPDL example 2009-08-18 11:08:38 -05:00
Chris Jones 77d9a06005 allow implementations to be notified when a dtor message is received 2009-08-14 16:46:49 -05:00
Chris Jones 656f57c5a0 add dummy |start state| syntax 2009-08-14 15:38:25 -05:00
Chris Jones 995d0de9bb bug 510344: each translation unit needs its own symbol table. also fixed some parser error reporting and removed debugging |print|s 2009-08-13 21:22:55 -05:00
Benjamin Smedberg e0aa6caead 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 553aefc962 bug 510041: subprotocols should implement the toplevel-protocols listener interface even if they do not need that send semantics. dummy methods that error out are generated 2009-08-12 17:53:08 -05:00
Chris Jones 58871e6442 forward-declare non-managed actors 2009-08-12 15:51:39 -05:00
Chris Jones d942e7244d fix regression from refactoring error message construction 2009-08-12 13:59:00 -05:00
Chris Jones e0028e6bd6 fix typos in type error format args 2009-08-12 13:46:05 -05:00
Chris Jones a15eba0e32 generate C++ typdefs for namespaced protocols 2009-08-12 13:40:09 -05:00
Chris Jones 4be8ab111d build on 64-bit linux 2009-08-12 00:41:55 -05:00
Chris Jones 7f0e216653 bug 509588: in actor ctor skeleton, return null instead of NS_ERROR_NYI 2009-08-11 17:26:06 -05:00
Chris Jones 4ccbd20c77 bug 509581: generate direct error return stmt instead of switch stmt with only default case when there are no dispatched messages. 2009-08-11 17:20:28 -05:00
Chris Jones 32981407ab backout bad fix 2009-08-11 17:12:42 -05:00
Chris Jones 30e712adf3 bug 509581: only generate dispatch statement if we have a non-default case 2009-08-11 17:09:13 -05:00
Chris Jones 0bc5083a6d bug 509579: use ALLOW_THIS() macro to squash msvc warnings 2009-08-11 16:52:37 -05:00
Ben Turner 7f122e6a77 Add extremely basic support for unblocking in the event of a bad message 2009-08-07 16:13:20 -07:00
Chris Jones 91afc7471f make it easier to control whether logging code is emitted 2009-08-07 16:10:57 -05:00
Ben Turner d078811b87 Add test plugin for ipc, make sure it works 2009-08-05 15:36:33 -07:00
Chris Jones d5a299b199 Fix Windows build busted by 2e3e142612b1.
--HG--
extra : transplant_source : -z%FD%996%7D%89%BD%09%E8%E2L%23%0E%1CK%21%AC%28%1C
2010-01-20 22:58:47 -06:00
Chris Jones 949aa34f1a Bug 538239: Guard against async messages unblocking sync message waits. r=bent
--HG--
extra : transplant_source : .%3E%14%26%12%B1%80%BC%60%5D%E5%27%DE%11%C6uRY%F36
2010-01-20 21:50:36 -06:00
Chris Jones a54b659d48 Test for bug 538239.
--HG--
extra : transplant_source : 8e%9E%87%3F%D1%EE%A7%3A%AB%19%84%AD%C1%DD%13%CE%82%E3w
2010-01-20 21:50:07 -06:00
Chris Jones 3980439f14 bug 539552 - Add a GetMinidump() method to top-level, parent-side IPDL classes. r=bent
--HG--
extra : transplant_source : i%EF%D7%5Ep%CA%B1%40%40%0C%F6%B0%21%D6G%B5%A6%8C%1B%93
2010-01-13 20:17:00 -05:00
Chris Jones 09b6b251bb Followup to bug 539856: Save actors' IDs in all message handlers to avoid use-after-free when the actor is deleted above the handler in the stack. IRC r=bent
--HG--
extra : transplant_source : %BF%A5%80%B1%A0%E0%8FcZ%9D%02%84%FC%9F%E5%A1R%91n%BD
2010-01-15 15:15:52 -06:00
Chris Jones 01198c0013 Test for followup to bug 539856.
--HG--
extra : transplant_source : f%83f%28%DC%A9%09%ADm%C3Ra%C5%D4%A7%A5%B2%D8%EDb
2010-01-15 15:15:51 -06:00
Chris Jones c1e3e74ead Bug 539343: Call DeallocSubtree() on subprotocol actors after being __delete__-ed. r=bent
--HG--
extra : transplant_source : d%BE5%28%8D%EE%E3%D2Q%14%FB8%8Co%D5U%2C%19W%C4
2010-01-13 21:08:36 -06:00
Chris Jones ea9b688256 Test for bug 539343.
--HG--
extra : transplant_source : J0p%C1%D3%7F%A5%D5%7Ds%F3%3F%8EG%B4%DD%D5%2A_%B2
2010-01-13 21:08:35 -06:00
Ben Turner f146c8a479 Bug 539061 - 'OOPP: ASSERTION: Received "nonqueued" message 31, 10'. r=jimm. 2010-01-15 12:35:53 -08:00
Chris Jones a5ffd09a63 Bug 539856: Avoid use-after-free of |mId| when constructing replies to destructor messages by saving |mId| on the stack. no r=, minor
--HG--
extra : transplant_source : %A5V%D3%C6%8D%87%BF%1B%F7%90%FB%88%81l%8Cu%D2ga%7F
2010-01-14 23:25:57 -06:00
Chris Jones 1052c22a4c Test for bug 539856.
--HG--
extra : transplant_source : %20%83%FE%ED1N%00Xg6D%A9%FC%1E%B1%7E%BD%14xQ
2010-01-14 23:25:56 -06:00
Chris Jones 786ca38668 Bug 539295: Use lenient child reaping in NS_BUILD_REFCNT_LOGGING builds. r=bsmedberg
--HG--
extra : transplant_source : %FE%1B%07%A0%E4G%A2%F9%90%1Dc8J%3FP%E7%0A%DDL%05
2010-01-13 14:57:52 -06:00
Chris Jones c384f8a406 Bug 539295: Add an extra EnsureProcessTerminated() parameter to control how lenient to be wrt child shutdown. r=bent
--HG--
extra : transplant_source : E%D9%F1%AE%DA%A6%FF%96%81F%FB%0F%92v%A3%27%8CE%D5%25
2010-01-13 14:57:51 -06:00
Benjamin Smedberg 6760e001c8 Followup to bug 516759 (multi-process crash reporting), make childCrashNotificationPipe a leaked char* instead of a leaked nsString, so that it doesn't show up in leakstats. r=ted (Filed bug 539451 as a followup.)
--HG--
extra : rebase_source : e143e12ea5babc78fd95bf799aff2920e1915481
2010-01-13 10:44:10 -05:00
Chris Jones 392961a7d7 Bustage fix: work around XRE hackery.
--HG--
extra : rebase_source : 369e571b7e2dcd78bb6d1cd4c0aa470f43b623bf
2010-01-12 17:42:58 -06:00
Chris Jones b866163542 Bug 516759: Use OOP crash reporting in Gecko. r=luser
--HG--
extra : rebase_source : 1949d23a5ce0c15c266d9e67e6a6be7d650a51df
2010-01-12 15:14:38 -06:00
Chris Jones 876686b842 Small edit to comment. No r=, just want another set of talos runs.
--HG--
extra : rebase_source : 1316e80d35d9640b249be2f0d393c5a76dd7bd87
2010-01-12 02:25:18 -06:00
Chris Jones 2ce053f220 Bug 538586: Notify clients of channel errors if they call Close() before deleting themselves, but before the error notification event is delivered from the IO thread. r=bent
--HG--
extra : rebase_source : b363f3ab257e3aac3801c09e26ca2d9bf6cc3353
2010-01-12 00:14:32 -06:00
Chris Jones 6a9dc3595e Test for bug 538586.
--HG--
extra : rebase_source : 806feb88f71efe10512b084156b88534bc6236bf
2010-01-12 00:14:31 -06:00
Chris Jones 287601902b Don't run TestLatency if the timing resolution is too low and use the new TimeDuration::ToSecondsSigDigits() method to display durations to humans. No r=, test only.
--HG--
extra : rebase_source : 34ee3b04c128da20d035cb6e4d92418f5870cccd
2010-01-11 23:46:17 -06:00
Ben Turner c19378d405 Use mozilla strings instead of std::string in IPDL 2009-07-29 14:12:15 -07:00
Ben Turner 6cd4778971 Fix chromium statics for apps that don't run through XRE_Main 2009-07-29 14:11:42 -07:00
Chris Jones 36940cd2fa bug 506983: allow template types in param lists 2009-07-28 17:04:01 -05:00
Chris Jones 4cbd0bb1ff bug 506983: bare minimum support for C++ template types in IPDL 2009-07-28 16:26:14 -05:00
Chris Jones f85f99564f bug 506788: fix stupid typo 2009-07-27 20:49:32 -05:00
Ben Newman 00bac04909 Build and IPDL groundwork for the multi-process Jetpack API (bug 556846). r=bsmedberg 2010-06-25 08:00:35 -07:00
Chris Jones aca5ff7a41 Bug 506075: eliminate handshaking async constructor protocol, use smarter routing ID assignment 2009-07-24 18:24:27 -05:00
Chris Jones ea889e714b bug 506075: shoehorn support for async ctors/dtors into IPDL. 2009-07-23 20:31:56 -05:00
Ben Turner 1f7607eb15 Allow ipcshell to receive a response from its child process 2009-07-23 15:27:17 -07:00
Chris Jones 30422c1719 windows build fix, v2 2009-07-21 09:28:36 -05:00
Chris Jones 6e1a98de49 windows build fix 2009-07-21 08:58:28 -05:00
Chris Jones ac9811a9be add message logging, as far as is possible with current build setup; -fshort-char breaks it. reinstate async/sync message dispatchers. fix 64-bit int printf bug in chromium. 2009-07-21 01:14:58 -05:00
Benjamin Smedberg 6bfd63b0f4 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04:00
Chris Jones ba8102bb18 add SyncLaunch() method to GeckoChildProcess class. remove much newly obseleted code. 2009-07-20 13:14:41 -05:00
Chris Jones f9e219f619 implement protocol manager support for all channel types, not just RPC 2009-07-20 11:59:51 -05:00
Chris Jones eb2de9cd73 stop flirting with MSVC8 name resolution bug. 2009-07-20 11:37:18 -05:00
Chris Jones b7b5e04438 fix small parser regression. edit test-harness code to match online guide 2009-07-17 23:00:01 -05:00
Chris Jones 5e0ac14df7 check that protocol state machines are race-free. fix race in test-harness (whoops). 2009-07-17 18:10:10 -05:00
Chris Jones bd995a5943 check reachability of states in IPDL protocols. clean up type checking a little. 2009-07-17 14:22:18 -05:00
Benjamin Smedberg f947271db8 Use a different hack to make the Linux tinderboxes green until we can upgrade to GCC 4.3 2009-07-17 13:39:40 -04:00
cjones@dm-oink01.mozilla.org ee43452862 BAND-AID: compile chromium base lib with -fno-inline to fix linker bustage. bye bye performance. 2009-07-16 14:59:49 -07:00
Chris Jones 0a10ba6828 >--> @ MSVC8, v4 2009-07-15 17:33:37 -05:00
Chris Jones f58acdf8ef another stab at fixing MSVC8 build bustage. 2009-07-15 17:06:30 -05:00
Chris Jones 8f8ee13069 another stab in the dark at fixing MSVC8 bustage: put Result code enum in anonymous namespace 2009-07-15 16:38:55 -05:00
Chris Jones 816df711fd attempt to fix build bustage when using MSVC8. 2009-07-15 13:41:09 -05:00
Chris Jones 195e92a5d7 fix gcc <= 4.1 builds by removing mysterious template syntax 2009-07-15 13:21:06 -05:00
Benjamin Smedberg 9dac167e06 IPCMessageStart.h shouldn't be checked in... should fix Windows build bustage. 2009-07-14 10:37:38 -04:00
Chris Jones 717f0e725f update rgnrectallocator changes to match pending m-c patch. 2009-07-14 03:09:23 -05:00
Chris Jones b1ba73e3bc 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 d93aefa911 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
Chris Jones dc50039a28 first cut at AsyncChannel and SyncChannel. only RPCChannel is currently under warranty. 2009-07-13 16:55:04 -05:00
Chris Jones 2e18128825 fix build bustage 2009-07-13 12:16:40 -05:00
Chris Jones 8823ec3a2c IPDL: add colons back to state declarations 2009-07-13 12:10:02 -05:00
Benjamin Smedberg 598f5f2ff4 Build system for .ipdl files. 2009-07-13 12:14:56 -04:00
Chris Jones 4758e25603 make parse errors behave like type errors 2009-07-13 11:12:08 -05:00
Ben Turner abebe9e0e9 Linux bustage fix? 2009-07-11 03:04:20 -04:00
Ben Turner 74101c49a8 Adds the ipcshell application to test IPC 2009-07-11 02:33:10 -04:00
Chris Jones 688954310f change state declaration syntax to be more different than parent:/child:/both: labels 2009-07-10 19:40:17 -05:00
Chris Jones 9df6786f55 remove in/out/inout syntax in favor of parent:, child:, and both: labels 2009-07-10 19:19:54 -05:00
Chris Jones a52c37a673 generate skeleton IPDL actor impls, like the IDL compiler does for interfaces. also fix the C++ visitor. 2009-07-10 15:56:40 -05:00
Chris Jones 68c012d229 add files that should have been in last cset 2009-07-10 14:58:14 -05:00
Chris Jones 1dfa893e50 use a single binary, mozilla-runtime, for all child processes 2009-07-10 14:03:09 -05:00
Chris Jones 8e88e8c3e2 final frontend support for protocol state machines. patch includes a minor refactoring as well. 2009-07-09 13:11:52 -05:00
Chris Jones 6fcfe5da8f add parsing and type-checking of protocol state machines in preparation for codegen of dynamic FSM checker. fix a couple of bugs here and there. 2009-07-08 18:03:56 -05:00
Chris Jones 5bf62d6a7d check that ctors and dtors have been declared for managed protocols 2009-07-08 10:37:32 -05:00
Chris Jones fdf30f0207 add gcc-like -I include dir options to ipdl compiler 2009-07-07 17:52:38 -05:00
Chris Jones 8a14372237 bug 502921: check NS_FAILED when calling into implementor code 2009-07-07 16:45:27 -05:00
Chris Jones 9a7937e988 bugs 502003, 502634: compile multiple IPDL specs in one invocation
--HG--
rename : ipc/ipdl/ipdlc => ipc/ipdl/ipdl.py
2009-07-07 15:52:10 -05:00
Benjamin Smedberg 20387f1c3f Goodbye, NO_NSPR_10 weirdness. 2009-07-07 12:25:00 -04:00
Benjamin Smedberg 316b578b0d Windows fixup: Windows does actually have 2-byte wchar_t. Also there was a possible missing PR_BEGIN_EXTERN_C that we really did need. 2009-07-07 12:20:02 -04:00
Benjamin Smedberg 8226d6db07 Windows fixup: write files in binary mode so we have consistent Unix-style line endings, and always use forward slashes instead of os.path.sep 2009-07-07 11:17:48 -04:00
Chris Jones aaaf792e9e port IFrame protocol to new interface. fix small IPDL bug. 2009-07-02 19:24:02 -05:00
Chris Jones e470263248 use static_cast instead of dynamic_cast. silly cjones. 2009-07-02 19:02:06 -05: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 06281ae69d Require Windows XP SP2, and disable a compile-time check which doesn't make much sense in the chromium code. 2009-07-02 11:57:55 -04:00
Chris Jones cb0768730e add initial support for protocol management in IPDL. small changes to existing protocols in preparation for merge from libchromiumipc. 2009-07-02 00:45:19 -05:00
Benjamin Smedberg dc5be22981 Import IPDL from cjones' working repo, revision 282b4211d881. New IPDL work will take place in electrolysis. 2009-06-30 15:38:59 -04:00
Benjamin Smedberg 897e6f190d Build fixes: * enable RTTI by default when building with GCC to work around the tr1/functional error * link with -lrt * Tell chromium that it's always using wide wchar on Linux 2009-06-30 13:21:26 -04:00
Benjamin Smedberg 03a0a0cda0 Hook up the event loop changes and fix the build
--HG--
rename : ipc/chromium/src/base/file_version_info_linux.h.version => ipc/chromium/base/file_version_info_linux.h
2009-06-30 12:02:37 -04:00
Benjamin Smedberg c31bc6a22d ipc/glue imported verbatim from http://hg.mozilla.org/users/bturner_mozilla.com/libchromiumipc/ 2009-06-29 14:38:29 -04:00
Benjamin Smedberg 295b17f1d1 Mozilla-specific changes to the Chromium code, imported verbatim from http://hg.mozilla.org/users/bturner_mozilla.com/libchromiumipc/ 2009-06-29 14:37:52 -04:00
Benjamin Smedberg 385460ca31 Build the pieces of the chromium code we actually need. Many thanks to bent for doing this the first time: I redid the Makefile to be all in one directory and use vpath directives so that dependencies work correctly. 2009-06-29 14:31:58 -04:00
Benjamin Smedberg 6545af0f08 Import Chromium sources r15462 2009-06-29 08:35:58 -04:00
Benjamin Smedberg 8b1eabc80a Script to import chromium code from upstream. 2009-06-26 13:46:25 -04:00
Chris Jones 95623c8719 bug 535867: fix threadsafety problem causing windows tinderbox error. r=trivial 2009-12-18 18:09:56 -06:00
Benjamin Smedberg b47d4a493d Bug 535298: Cancel the NotifyMaybeChannelError event if the AsyncChannel is destroyed, and allow AsyncChannel::Close() to be called after a channel error (e.g. child process crash). r=cjones 2009-12-17 18:12:03 -06:00
Chris Jones 2da4b486cf bug 535298: IPDL unit test for use-after-free crashes after RPC errors. r=test-only 2009-12-17 18:12:01 -06:00
Benjamin Smedberg e39c5b277f Bug 534736, and perhaps some others: parent crash within mozilla::plugins::PPluginInstanceParent::DestroySubtree, r=cjones 2009-12-17 16:39:22 -05:00
Benjamin Smedberg bad093c6b3 Bug 561817 part A: Entered/ExitedCall callbacks for toplevel actors upon RPC in-calls. r=bsmedberg 2010-04-29 11:49:00 -05:00
Chris Jones d31a05968d Bug 568366: Allow copy-constructing and assigning from T__None-typed unions. r=benjamn 2010-06-02 12:56:34 -05:00
Mark Finkle 61df9866d3 Backing out 704e77dcb303 2010-06-02 01:40:56 -04:00
Oleg Romashin 8b2f186437 Bug 560630 - NotificationService for e10s fennec initialized and used in different threads. r=bent.mozilla 2010-06-02 05:25:46 -04:00
Arpad Borsos 22cd8d5550 Bug 462438 - kill MOZ_PROFILESHARING and MOZ_IPCD; build system cleanup + removes, v2; r+sr=benjamin 2008-12-04 15:37:37 +01: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
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
jwalden@mit.edu 12e960c504 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
blassey%mozilla.com b8929025f0 backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 22:46:32 +00:00
blassey%mozilla.com fc37ea022b switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 21:49:58 +00:00
blassey%mozilla.com d66d0b8772 backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 22:56:48 +00:00
blassey%mozilla.com fbc9687a30 switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 21:39:35 +00:00
jwalden%mit.edu ef68fcf595 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 07:08:56 +00:00
benjamin%smedbergs.us 7b434c0d06 Bug 349002, try #2 - Refactor xptcall into a frozen API, r=timeless - with OS/2 fixup by Peter Weilbacher 2006-11-20 17:03:38 +00:00
benjamin%smedbergs.us 09d80a0a6f Backout xptcall because linux tboxes are stupid, I think. 2006-11-16 20:17:24 +00:00
benjamin%smedbergs.us 8b41b7fdd0 Bug 349002 - Refactor xptcall into a frozen API, r=timeless. Includes OS/2 fixup by Peter Weilbacher 2006-11-16 18:29:33 +00:00
timeless%mozdev.org 1846fd9c62 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
dveditz%cruzio.com f3e1ecabf0 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin
2006-06-22 19:07:30 +00:00
darin%meer.net 7d3e7d7acd landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
timeless%mozdev.org 3db428f6ac Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org b78d0c2416 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
bsmedberg%covad.net a38f42348d Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-05 12:36:03 +00:00
bsmedberg%covad.net 3cdb0f0d65 Clean up missing LIBXUL_LIBRARY calls: transmgr/src is linked to client/src which is part of libxul (from bug 273876) 2005-04-04 13:27:43 +00:00
bryner%brianryner.com 1733c3ad7c Additional REQUIRES cleanup for mailnews, mac, and suite directories (bug 73353). r+sr=dbaron. 2005-02-04 21:10:45 +00:00
bsmedberg%covad.net 7ccf6e4965 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
bryner%brianryner.com 1435145ce6 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
timeless%mozdev.org d17ed11b0c Bug 256983 Crash [E] NPR: NULL pointer read in PL_HashTableAdd {1 occurrence}
r=darin sr=darin
2004-11-16 04:29:15 +00:00
timeless%mozdev.org ea2f3df3b9 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
darin%meer.net d2b6b5501e working around broken usage of XPCOM for bug 256911 "bind lifetime of
child stubs to that of the master stub" (based on similar patch by
Javier Pedemonte for nsJavaXPTCStub.cpp)
2004-09-09 22:57:24 +00:00
darin%meer.net 832a0a496d removing bogus, unused interface declaration 2004-07-21 19:56:42 +00:00
darin%meer.net 2d0eab59a0 add license headers 2004-07-19 20:22:48 +00:00
darin%meer.net af4ed39d27 compile away printfs in non-debug builds 2004-07-19 20:21:17 +00:00
darin%meer.net f497100aa3 fixing bustage 2004-07-14 01:40:23 +00:00
darin%meer.net 1f7fe76664 fixing scriptability of IPC interfaces
fixing critical bug in DConnectStub::QueryInterface
adding JavaScript testcase for DConnect

NOT PART OF THE BUILD
2004-07-14 00:14:45 +00:00
darin%meer.net 8b1b3583ff make --disable-tests disable dconnect/test, thanks to Frank Wiegerinck for reporting this bug. 2004-07-12 15:33:19 +00:00
darin%meer.net 43ad698976 fixing shutdown crash. this code should not have been calling IPC_Shutdown.
not part of the build
2004-06-30 18:49:34 +00:00
darin%meer.net 769f8c152e do not wrap null valued interface pointers.
NOT PART OF THE BUILD
2004-06-25 14:27:57 +00:00
darin%meer.net d169af1caf Bad array addressing in GetIIDForMethodParam when passed a nsXPTCVariant
array.  Thanks to Javier Pedemonte for discovering this bug.

Not part of the default build.
2004-06-23 23:22:56 +00:00
darin%meer.net 7a96cb68e8 Fixes a major bug that occurs when passing a remote object to a method call
on another remote object.  We now unwrap the local DConnectStub and send
the address of the remote object instead, which avoids the creation of an
unnecessary DConnectStub on the remote side.  Thanks to Frank Wiegerinck
for finding this bug.

This patch also makes it so that all of the IPC tests depend on no more
than XPCOM.  That way it is possible to build IPCDC and XPCOM standalone
without needing disable tests.

These changes do not affect the default build.
2004-06-23 18:10:11 +00:00
darin%meer.net 396ca60999 more buffer overrun fixes 2004-05-18 20:18:29 +00:00
darin%meer.net 297ab54142 fixing brad tinderbox warnings 2004-05-18 07:05:20 +00:00
darin%meer.net 72afa036a8 fixing mingw build bustage 2004-05-17 21:17:38 +00:00
darin%meer.net 3931fee47c compiling dconnect extension by default, but only including it in the
final component library if BUILD_DCONNECT is set in the build environment.
fixing a buffer overrun in ipcMessageWriter (it was not initializing itself
properly)
2004-05-17 19:49:42 +00:00
darin%meer.net 28793746b8 initial checkin for d-xpcom support using the ipc daemon, b=242530 (NOT PART OF THE BUILD) 2004-05-14 06:19:28 +00:00
darin%meer.net c3e64e93c5 fixing IPC MT bugs. adding aggressive MT testcase for ipcILockService. 2004-05-11 21:27:28 +00:00
darin%meer.net 03bfb5a27f fixing BeOS bustage 2004-05-10 23:21:22 +00:00
darin%meer.net 5a03ce3ad0 attempting to fix static build bustage 2004-05-09 22:04:12 +00:00
darin%meer.net f1a7e32241 removing dead code 2004-05-09 19:48:25 +00:00
darin%meer.net 7610cba11c landing patch for bug 243107 "make ipcIService and ipcILockService threadsafe" (this code is not currently used for anything) 2004-05-09 19:08:57 +00:00
darin%meer.net 9908682c58 removing dead file 2004-05-08 01:08:36 +00:00
darin%meer.net 3a51e284d6 fixing bustage 2004-05-03 19:21:51 +00:00
darin%meer.net fc2379ee7b fixing win32 bustage 2004-05-03 18:55:40 +00:00
darin%meer.net 327b4a3081 fixing win32 bustage 2004-05-03 18:50:36 +00:00
darin%meer.net eeaa4c5ae0 fixing bustage 2004-05-03 18:49:10 +00:00
darin%meer.net 5dcb71e1d6 patch for bug 242248 "IPC synchronous message support needs to be reworked" (not yet used for anything) 2004-05-03 18:40:33 +00:00
leaf%mozilla.org d5ba2d6212 removing unused variable. patch from gautheri, r=me, sr=scc. bug 90906 2004-04-22 17:57:07 +00:00
darin%meer.net a115413fc8 fixes bug 226481 "please rename mozipcd to mozilla-ipcd so it doesn't break shell autocompletion" r=dbaron 2004-01-28 21:31:47 +00:00
dbaron%dbaron.org ca4e64fa50 Remove users of deprecated, no-op, NS_INIT_ISUPPORTS macro from tree. b=178643 r+sr=bryner 2004-01-23 23:12:44 +00:00
bsmedberg%covad.net 1f4ab81acd Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net f0bfff2628 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
cbiesinger%web.de 917cb790bf bug 229988. fix beos build bustage 2004-01-04 00:15:16 +00:00
cls%seawood.org d4f0d83c34 If libraries are not exported to $DIST, they should not be exported to $prefix either. Fixing history bustage when using 'make install'.
Bug #229362 r=bsmedberg
2003-12-31 23:35:26 +00:00
mkaply%us.ibm.com ab1d895723 #226369
r=darin, a=mkaply
Rename transmngr to transmgr
2003-11-21 22:25:22 +00:00
darin%meer.net b9630144ad fixes bug 225016 "make IPC startup handshake (send CLIENT_HELLO, wait for CLIENT_ID) synchronous" r=timeless 2003-11-09 23:49:24 +00:00
bsmedberg%covad.net f246267f90 Moving IPC code from the IPC_BRANCH_20030304 to the trunk. No actual code changes.
r/sr=leaf+darin
2003-11-07 13:50:30 +00:00