Jeff Muizelaar
28c29e71fe
Bug 715672. Fix typo in ipc_message_utils.h. r=cjones
...
Caught by a clang warning:
/Users/jrmuizel/source/mozilla-central/ipc/chromium/src/chrome/common/ipc_message_utils.h:782:40: warning: expression result unused [-Wunused-value]
ReadParam(m, iter, &r->dispatch) &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
and fixed upstream in http://codereview.chromium.org/1455001
2012-01-05 17:37:32 -05:00
Landry Breuil
586e9a885b
Bug 714315 - Use DirReaderFallback on OpenBSD, where __NR_getdents64 doesn't exist. r=cjones
2012-01-05 10:15:06 +01:00
Jeff Walden
dc51d61188
Bug 714422 - Don't mark GetCurrentProcessArchitecture as a static inline, fixing 271 warnings when building with clang. rs=dholbert
2011-12-31 01:15:59 -06:00
Jeff Walden
569422c3b1
Bug 714411 - Fix several instances of classes/structs inconsistently declared. rs=dholbert
2011-12-31 01:15:59 -06:00
Raúl Porcel
fcfb606e8d
Bug 713517 - Add IPC support for alpha. r=benjamin
2011-12-30 20:15:19 +01:00
Jeff Walden
57055e14b8
Mark GetCurrentProcessArchitecture as inline, silencing a couple hundred warnings in a build with Clang. No bug, rs=njn
...
--HG--
extra : rebase_source : 12b06827b2aadec9afb70eac06a5d8abbd1c6543
2011-12-18 17:34:52 -05:00
Makoto Kato
10e6018920
Bug 709575 - Remove unnecessary ipc/chromium files. r=cjones
2011-12-15 19:22:06 +09:00
Oleg Romashin
1fad47d551
Bug 704735 - _state is not initialized in Android-MessagePumpForUI ctor. r=cjones
2011-11-26 14:08:27 +01:00
Michael Wu
5dd6a67845
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Gian-Carlo Pascutto
d5f11d731f
Bug 622992 - Remove pre/postfork hack in function that is now safe. r=cjones
2011-10-11 08:16:39 +02:00
Gian-Carlo Pascutto
f27c381781
Bug 622992 - Update Chrome IPC to not allocate memory after forking. r=cjones
2011-10-11 08:14:57 +02:00
Mike Hommey
5b2277a57d
Fixup bug 654056. r=bustage,f=edmorley
2011-10-05 09:39:18 +02:00
Mike Hommey
bc6f265b30
Bug 654056 - Build IPC support for mips, hppa, ia64, s390(x), powerpc64 and sparc. r=bsmedberg
2011-10-05 08:57:58 +02:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Makoto Kato
89bf0597c8
Bug 681202 - Add Android x86 target. r=glandium
2011-09-29 13:39:03 +09:00
Landry Breuil
d11dac2b65
Bug 648735 - On OpenBSD/64 bits we need a typedef for unsigned long long, and reuse the unsigned long template on 32/64 bits; r=cjones
2011-09-21 18:36:52 +01:00
Landry Breuil
44bf114e8f
Bug 648735 - OpenBSD: Include sys/stat.h; r=cjones
...
otherwise fails with:
ipc/chromium/src/base/platform_file_posix.cc:49: error: 'S_IRUSR' was not declared in this scope
ipc/chromium/src/base/platform_file_posix.cc:49: error: 'S_IWUSR' was not declared in this scope
2011-09-21 18:36:52 +01:00
Landry Breuil
6ccad9ce0a
Bug 648735 - OpenBSD: Add missing limits.h and sys/param.h; r=cjones
...
otherwise fails with:
/usr/include/sys/proc.h:64: error: 'MAXLOGNAME' was not declared in this scope
/usr/include/sys/proc.h:287: error: 'MAXCOMLEN' was not declared in this scope
Don't try to include execinfo.h/use backtrace* funcs on OpenBSD too, otherwise fails with
../../dist/system_wrappers/execinfo.h:3:27: error: execinfo.h: No such file or directory
In constructor 'StackTrace::StackTrace()':
/home/landry/src/mozilla-central/ipc/chromium/src/base/debug_util_posix.cc:125: error: 'backtrace' was not declared in this scope
/home/landry/src/mozilla-central/ipc/chromium/src/base/debug_util_posix.cc: In member function 'void StackTrace::PrintBacktrace()':
/home/landry/src/mozilla-central/ipc/chromium/src/base/debug_util_posix.cc:144: error: 'backtrace_symbols_fd' was not declared in this scope
2011-09-21 18:36:52 +01:00
Landry Breuil
3b22a5f93c
Bug 648735 - Fix build failure on OpenBSD/i386 & macppc; r=cjones
...
../../ipc/chromium/src/base/singleton.h:171: error: invalid conversion
from 'base::subtle::AtomicWord*' to 'volatile base::subtle::Atomic32*'
Lifted from www/chromium/patches/patch-base_atomicops_h
2011-09-21 18:36:52 +01:00
Landry Breuil
7fbf67136c
Bug 648735 - On OpenBSD, assume clock is monotonic; r=cjones
...
otherwise fails with:
ipc/chromium/src/base/time_posix.cc:181:2: error: #error No usable tick clock function on this platform.
2011-09-20 13:23:04 +01:00
Landry Breuil
04fed87573
Bug 648735 - Include sys/uio.h to get the definition of struct iovec; r=cjones
...
ipc/chromium/src/chrome/common/ipc_channel_posix.cc:396: error: variable 'iovec iov' has initializer but incomplete type
2011-09-20 13:23:04 +01:00
Landry Breuil
32b3d43162
Bug 648735 - Use pthread_self() on OpenBSD to get current thread id; r=cjones
2011-09-20 13:23:03 +01:00
Landry Breuil
1dd0bdc168
Bug 648735 - Define stat64 to stat on Open/FreeBSD, since they don't have stat64() but stat handles >2Gb files fine; r=cjones
...
lifted from freebsd's www/firefox/files/patch-ipc-chromium-src-base-file_util_posix.cc
and https://bugzilla.mozilla.org/attachment.cgi?id=527621
2011-09-20 13:23:03 +01:00
Landry Breuil
11040674f1
Bug 648735 - Use nspr's prcpucfg.h for OpenBSD; r=cjones
2011-09-20 13:23:03 +01:00
Landry Breuil
891d9865d4
Bug 648735 - Build fails without sys/types.h inclusion; r=cjones
...
/usr/include/fts.h:42: error: 'dev_t' does not name a type
/usr/include/fts.h:45: error: 'size_t' does not name a type
/usr/include/fts.h:73: error: 'size_t' does not name a type
/usr/include/fts.h:74: error: 'size_t' does not name a type
/usr/include/fts.h:76: error: 'ino_t' does not name a type
/usr/include/fts.h:77: error: 'dev_t' does not name a type
/usr/include/fts.h:78: error: 'nlink_t' does not name a type
2011-09-20 13:23:03 +01:00
Landry Breuil
8cb342206d
Bug 648735 - Add missing #defines for OS_OPENBSD, consider it as an OS_POSIX, while here add #defines for sparc64 arch; r=cjones
2011-09-20 13:23:03 +01:00
Jeff Muizelaar
6969654308
Bug 684091. Add the ability to subtract values from Histograms. r=taras
...
This is a copy of Add where we Accumulate with -1 instead of 1.
I'm doing this as a copy instead of factoring out the common code
to make this file easier to compare with chromium's histrogram.cc
2011-09-08 14:05:06 -04:00
Jim Chen
bb78e1b03d
Bug 680190 - Notify jemalloc when forking on Android; r=cjones
2011-08-30 17:11:36 -07:00
Ed Morley
3c59991770
Bug 680864 - Part B - Remove IPC_MESSAGE_ENABLE_RPC/BASE_API defines + histogrammer leftovers; r=cjones
2011-08-23 11:43:04 +01:00
Ed Morley
3236ae9bee
Bug 680864 - Remove CHROMIUM_MOZILLA_BUILD ifdefs, since always defined and #ifndef codepaths broken anyway; r=cjones
2011-08-23 11:43:04 +01:00
Rafael Ávila de Espíndola
d4148d789d
Bug 678024 - Fix build with c++0x and clang. geteuid returns an unsigned value, and in c++0x we need an explicit cast to int in an initializer list; r=roc
2011-08-11 19:22:44 -04:00
Rafael Ávila de Espíndola
4677e74e4d
Bug 678216 - Fix build with clang and c++0x; r=cjones
...
Use tighter types for some fields. These fields are used in
CFGregorianDate gregorian = {
exploded.year,
exploded.month,
exploded.day_of_month,
exploded.hour,
exploded.minute,
seconds
};
and in CFGregorianDate the month, day, hour and minute fields are 8 bits.
2011-08-11 18:44:04 -04:00
Jim Chen
cc94f933c3
Bug 674806 - b. Include ctype.h before referencing tolower. r=cjones
2011-08-04 15:01:49 -07:00
Andrei Kurushin
fe992a7ed5
Bug 665315 - OOPP Contextmenu loses messages; r=jmathies
2011-07-27 14:17:50 +02:00
Jim Chen
23b2e24cfe
Bug 658074 - Optimize string usage in core IPC code; r=cjones
2011-06-29 00:08:57 -07:00
Chris Jones
a17a5d62d4
Bug 564086, part j: Add IPC::Channel support for getting OS-level pipe info and creating from existing pipe descriptors. r=bent
2011-06-03 13:33:55 -05:00
Brad Lassey
c398b11302
bug 617115 - support building with andorid NDKr5 r=ted
2011-04-01 16:47:37 -07:00
Mike Hommey
cd4a4570ef
Bug 620931 part 2.5 - Properly quote arguments on Windows when starting child processes. r=rstrong
2011-05-12 15:44:35 +02:00
Ed Morley
97cc9c4eea
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Jacek Caban
608b81e08c
Bug 651861 - ipc/chromium compilation broken on mingw
...
r=jones.chris.g
2011-04-28 11:36:38 +00:00
Taras Glek
104c38def5
Bug 651262 - Update histogram.h/cc[win build fixes] r=bent
2011-04-27 11:06:57 -07:00
Taras Glek
9b7ade9efd
Bug 651262 - Update histogram.h/cc[build fixes] r=cjones
2011-04-27 11:06:53 -07:00
Taras Glek
45f2caa1d8
Bug 651262 - Update histogram.h/cc r=cjones
2011-04-19 15:18:48 -07:00
Benjamin Stover
85b3a12e07
Bug 650081 Fix ipc_channel_win.cpp WARNING about Connect called twice r=cjones
2011-04-22 10:55:46 -07:00
Mike Hommey
89c6e0c32c
Bug 643112 - Fix IPC build on Linux powerpc. r=bsmedberg
2011-04-13 09:45:42 +02:00
Matheus Kerschbaum
4eb6429f47
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Makoto Kato
1ab756dc2d
Bug 620888 - ReadParam(msg, iter, uint32) is extracted to ReadParam(msg, iter, size_t/intptr_t) on Windows x86; r=cjones
2011-01-28 00:27:00 -05:00
Mike Hommey
e0ba81d2eb
Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted
2011-02-25 15:05:08 +01:00
Dominik Roettsches
7642105ca5
Bug 618810 - Qt Message Pump locks up in case of nested loops in flash plugin. r=dougt a=npodb
2011-01-07 14:18:29 +02:00
Eli Friedman
e16594c52b
Bug 579788 - Qualify access to dependent base in imported Chromium code. r=benjamin, a=benjamin
...
--HG--
extra : rebase_source : b2381678b364a078e554f3ef19afb3ce6d5bc753
2010-12-05 13:24:21 +00:00
Ryan VanderMeulen
5de9ca5fd4
Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin
2010-11-16 10:21:53 +01:00
Ryan VanderMeulen
4580960fc4
Bug 578540 - Fix MSVC warning spam by removing unneeded define from Chromium code. r=cjones
2010-11-13 09:15:07 +01:00
Mike Hommey
df297a3763
Bug 569629 - Don't use std::numeric_limits to initialize static variables. r=bsmedberg,a=bsmedberg
2010-10-06 11:52:22 +02:00
Mike Hommey
df97124ed9
Bug 605146 part 3 - Missing chromium constants for windows builds. r=ted,a=bsmedberg
2010-11-07 09:20:50 +01:00
Mike Hommey
16630d0014
Bug 605146 part 2 - Compile sha512.cc on all platforms. r=ted,a=bsmedberg
2010-11-07 09:20:50 +01:00
Adam Michel
f416b103b4
Bug 570134 - Building with Apples llvm-gcc-4.2 fails on IPC. r+a=bsmedberg
2010-10-24 11:32:43 +02:00
Chris Jones
ebdad5fae2
Bug 606538: Make msgids be 32 bits to stop the insanity. r=bent a=blocking-fennec
2010-10-22 17:28:40 -05:00
Josh Aas
5c84bcf9f6
Bug 590057: Add support for loading plugins of a different architecture than the host browser on Mac OS X. r=cjones a=blocking-b7
2010-09-15 23:09:19 -07:00
Josh Aas
1f83591a78
Bug 592951: Use 'posix_spawnp' to launch child processes on Mac OS X. r=ted a=blocking-b6+
2010-09-10 13:09:30 -04:00
Josh Aas
252c8e9c10
Backed out changeset 52388a9a6337, bug 592951. a=me
2010-09-08 18:19:51 -04:00
Josh Aas
27016c473f
Bug 592951: Use 'posix_spawnp' to launch child processes on Mac OS X. r=ted a=blocking-b6+
2010-09-08 16:24:30 -04:00
Josh Aas
9b2ad55f9a
Bug 590857: Fix problematic usage of 'size_t' in IPC code, 'size_t' size depends on architecture and sending it via IPC directly can break cross-architecture IPC. Part of this patch was written by Ben Turner. r=cjones a=blocking-b6
2010-08-31 13:51:51 -04:00
Josh Aas
b79fce135f
Bug 590052: For values that vary in size by architecture like 'long', 'unsigned long', 'size_t', and pointers, standardize on their longer (64-bit) form for sending via IPC. Part of making cross-architecture IPC work. r=cjones a=blocking-b6
2010-08-31 14:01:21 -04:00
Ted Mielczarek
f4b8a00e3c
bug 587747 - Implement writing of minidumps from hang detection on OS X. r=cjones a=blocking
...
--HG--
extra : rebase_source : fef081b5b0fae828ecc0c2678d83787778dfc70d
2010-08-27 09:32:45 -04:00
Josh Aas
b97601d9e3
Bug 590054: Fix cross-architecture IPC pointer size issues with Cocoa NPAPI events. r=benwa r=cjones a=blocking-b6
2010-08-26 04:21:41 -04:00
Chris Jones
bd671f4d54
Bug 588216: Avoid race between IO-thread loop->PostTask() and main-thread loop->SetNestableTasksAllowed() that led to Tasks being ignored. r=bent
2010-08-19 15:31:47 -05:00
Edmund Wong
c31f357639
Bug 585336: Fix "a the" in comments (for General core code). r=timeless a=NPOTB (comment-only)
2010-08-15 15:50:02 -07:00
Oleg Romashin
afe1f4eb6f
Bug 560630 - NotificationService for e10s fennec initialized and used in different threads. r=bent.mozilla. a+
2010-08-10 13:12:21 -07:00
Chris Jones
74f1ca4d2c
Bug 584580: Delete some unused code imported from chromium. r=bent
2010-08-05 17:11:23 -05:00
Kyle Huey
ef8a1429c9
Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
...
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Benoit Girard
33301ca730
Bug 557225 - Fix TryServer failures. r=cjones r=josh
2010-07-20 00:17:45 -04:00
Benoit Girard
942c80cced
Bug 557225 - Load the plugin-container from the App Bundle. r=cjones
2010-07-19 18:35:45 -04:00
timeless@mozdev.org
b2a92b4b2f
Bug 555690 ThreadData::StartTracking should use #else. r=cjones
2010-07-13 11:56:47 -07:00
Michael Wu
a15fd7b143
Fix windows build after bug 574120 1727bfc11147
2010-06-25 13:03:48 -07:00
Michael Wu
e7a0c46852
Bug 574120 - Add Android support to IPC code, r=cjones
2010-06-25 11:39:02 -07:00
Jason Duell
386a098a89
Merge from m-c.
...
Fair amount of merge conflicts.
Biggest item was changes to nsHttpChannel from web sockets changes.
Other likely suspects if things are borken:
nsFrameLoader.cpp:
- nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
nsnull (m-c) to local process call to new nsFrameMessageManager(),
callback arg? Smaug said null.
- only calling SetCallBackData for local case. also +r smaug.
nsPrefBranch.cpp had fairly extensive merge conflicts.
nsChromeRegistry had lots of changes.
Dougt did most of the non-necko changes (thanks).
--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner
7d42fba019
Bug 570945 - Qt is not compiling. r=me. Slightly modifed based on chris.jones comments
2010-06-09 16:02:38 -07:00
Doug Turner
b2c88178e3
Merging with M-C.
...
Hand merged the following files:
U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h
--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Oleg Romashin
2538039097
Merge with latest mozilla central r 42802:ffbc3baf03ae
2010-05-25 15:19:33 -04:00
Olli Pettay
93984b6736
m-c to e10 merge
2010-05-24 17:45:59 +03:00
Chris Jones
cb5eb283e4
Merge missed nsChromeRegistry change from m-c and fix busted content-process XPCOM/chromium event loop.
2010-05-14 01:41:14 -05:00
Chris Jones
2ed40cd772
Merged m-c
2010-05-13 18:04:53 -05:00
Doug Turner
0dc0f3273e
merge with m-c. resolved conflicts in:
...
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk
--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Benoit Girard
94d6258a5b
Bug 528146: Run plug-in code on the thread that starts in main(). r=cjones
...
--HG--
rename : dom/plugins/PluginThreadChild.cpp => dom/plugins/PluginProcessChild.cpp
rename : dom/plugins/PluginThreadChild.h => dom/plugins/PluginProcessChild.h
rename : ipc/ipdl/test/cxx/IPDLUnitTestThreadChild.cpp => ipc/ipdl/test/cxx/IPDLUnitTestProcessChild.cpp
rename : ipc/ipdl/test/cxx/IPDLUnitTestThreadChild.h => ipc/ipdl/test/cxx/IPDLUnitTestProcessChild.h
2010-05-10 23:18:00 -05:00
Chris Jones
03b01c916d
Bug 562741: Allow |Shmem|s to be shared across different protocol trees. r=bent
2010-05-22 14:35:33 -05:00
Chris Jones
e7c13aeb2d
Bug 563747: Allow building ipc/chromium on PPC, enable MOZ_IPC for mac/ppc. r=bsmedberg
2010-05-04 19:22:34 -05:00
Jim Mathies
0879ff6221
Bug 558986 - detect and resolve races between MS-COM RPC and IPDL RPC by implementing IMessageFilter and processing pending IPDL RPC calls while waiting for MS-COM RPC responses. Original patch by bsmedberg, r=cjones/jimm/ehsan with followup fixes by Jim Mathies, r=bsmedberg
...
--HG--
extra : rebase_source : 214029d3188f8aa00948e0dcdc3c11cd279d1569
2010-05-21 11:48:34 -04:00
Chris Jones
9e8fb2c03a
Bug 551071: Suppress valgrind-reported "mismatched free()" (false alarm) of chromium objects by using mozalloc there (complements STL wrappers). Add a gross hack to prevent mozalloc macros from conflicting with methods in jscntxt.h. r=bent r=bsmedberg dependent-r=brendan
2010-06-04 18:16:34 -05:00
Jim Mathies
e9cf1d1dad
Bug 558986 - Backout of fix for crashes in TSF with Flash/Silverlight on tablets. CLOSED TREE
2010-05-17 14:36:43 -05:00
Benjamin Smedberg
695ab55828
Bug 558986 - Fix for crashes in TSF with Flash/Silverlight on tablets (OLE/COM nested event loops). r=cjones, jimm, ehsan.
2010-05-17 11:33:34 -05:00
Chris Jones
bd6bf48e7a
Merged m-c
2010-04-27 01:53:06 -05:00
Chris Jones
403eae2c27
Bug 555275: Clean up shared memory segments when the top-level actor dies. r=bent
2010-04-26 20:11:42 -05:00
Oleg Romashin
e9043320a2
Bug 553904 - Child tab process crashes on attempt to initialize child plugin process. r=bent.mozilla
2010-04-20 21:43:51 +03:00
Doug Turner
9a784d5dfd
Automerge with mc. no manual changes
2010-04-21 03:31:13 -07:00
Mike Hommey
a3c2b24aa1
Bug 558789 - Allow to build against system libevent [r=benjamin, r=cjones]
...
--HG--
extra : rebase_source : cd964ba40277ebd89dda8392c8a842ca9ef01bf8
2010-04-20 09:06:55 +02:00
Chris Jones
8cd39f1f00
Merge mozilla-central
2010-04-16 01:34:35 -05:00
Jonathan Kew
bfd00b5249
bug 558489 - prevent cocoa object autorelease-leakage during ipc startup. r=josh
2010-04-15 09:31:10 +01:00
Josh Matthews
32dc72e1a5
b=539406 retain existing listener in AyncChannel for GeckoChildProcessHost::OnChannelConnected r=cjones
2010-04-12 12:13:00 +12:00
Jim Mathies
d7b3220b47
Bug 558503 - [OOPP] Watching netflix video: Silverlight crashes the plugin helper. r=bsmedberg.
2010-04-12 15:25:57 -05:00
Doug Turner
0042d3f84e
Bug 570945 - Qt is not compiling. r=me. Slightly modifed based on chris.jones comments
2010-06-09 16:02:38 -07:00
Dão Gottwald
1373cde9a0
Backed out changeset 48e202424e35
2010-05-13 18:26:36 +02:00
Martin Stránský
62adcd87d5
Bug 562029 - ipc fails to build with gcc version 4.1.2. r=chris.jones
2010-05-13 17:38:19 +02:00
Oleg Romashin
d1a1adf01a
Bug 562285 - Rewrite gfxSharedImageSurface class to be compatible with IPC Shmem.r=jones.chris.g, sr=vladimir
...
--HG--
extra : rebase_source : 245e4c8ee52856bcf8900a049132b9f5b4a53bbb
2010-05-13 11:52:59 -04:00
Mike Hommey
4129f47992
Bug 542460 - Remove executable permission on source files [r=ted.mielczarek]
2010-05-06 09:32:50 +02:00
Mike Hommey
8ad40eec03
Bug 563294 - Include memory.h instead of memory to avoid failure to build in gcc C++0x mode [r=benjamin]
2010-05-06 09:16:54 +02:00
Chris Jones
e5b0a6f49d
Bug 563747: Allow building ipc/chromium on PPC, enable MOZ_IPC for mac/ppc. r=bsmedberg
2010-05-05 16:35:09 -05:00
Kai Engert
74c1119dd7
Bug 560615, XPCOM fails to build because of incorrect IPC code
...
r=jones.chris.g
2010-05-03 13:35:19 +02:00
Ben Turner
8271154a90
Bug 521118 - '[OOPP] Need NPAPI threadsafety checks in plugin process'. r=cjones, a=dbaron for CLOSED TREE
2010-03-24 12:30:45 -07:00
Oleg Romashin
5f35f1d096
Bug 564997 - _state is not initialized in QT-MessagePumpForUI ctor. r=dougt
...
--HG--
extra : rebase_source : 07e186531ad8b4d3bd71778d2a0b3d613b8ddc17
2010-05-12 05:46:33 -04:00
Oleg Romashin
b6db5b93e9
Bug 553904 - Child tab process crashes on attempt to initialize child plugin process. r=bent.mozilla
...
--HG--
extra : rebase_source : 2a018b5f9c74a713e493643e611b330e08e1afd8
2010-04-20 21:43:51 +03:00
Martin Stránský
080feb5d07
Make ipc/ build with gcc 4.1.2. r=cjones
2010-05-24 09:36:49 +12:00
Chris Jones
03f2b0ee31
Bug 542053: Set LD_LIBRARY_PATH=[GRE dir] for mozilla-runtime on linux. r=bsmedberg
2010-04-09 15:03:08 -05:00
Dan Witte
1912a6e247
Bug 562198: Namespace NSS & NSPR functions in ipc/chromium code, to avoid stomping on their Mozilla counterparts. r=bsmedberg
2010-06-11 11:03:07 -07:00
Chris Jones
c92f3bf7e0
Bug 533055: Part 1: Add a name field to IPC::Message. r=bent
2010-03-18 17:52:29 -05:00
Josh Aas
8b91ef75b0
Update Mac OS X message pump code for child processes. b=552878 rs=cjones
2010-03-17 20:10:42 -04:00
Josh Aas
36aed1ebfa
Allow Gecko to build and run on Mac OS X with MOZ_IPC defined. b=552862 r=cjones
2010-03-17 14:38:28 -04:00
Oleg Romashin
5291f401f2
Bug 544190 - QCore version needed to replace message_pump_glib.cc. r=dougt
2010-02-18 23:48:50 +02:00
Chris Jones
64a18262f7
Bug 544882, bug 545312: Only tell glib that work is pending if there has been a pollin or timer expiration. Merged from chromium latest, r=chromium
...
--HG--
extra : transplant_source : %E5%C0%3E%24%FEXX%FC%9A%1C%F4%93Pc%05%0AH%91%A1%F7
2010-02-10 22:04:56 -06:00
Jim Mathies
b6a87b5083
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
Benjamin Smedberg
d5eb4d3947
Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
...
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Oleg Romashin
76f524a22a
Bug 534644 - e10s: implement Qt ipc/chromium backend, part 2. r=benjamin.
2010-01-29 08:50:44 +02:00
Oleg Romashin
9a4397fa5b
Bug 534644 - implement Qt ipc/chromium backend, first part. r=benjamin, r=jones.chris.g
2010-01-28 07:22:41 +02:00
Benjamin Smedberg
dd62baca17
Bustage fixup from bad merge of bug 535564
2010-01-27 12:18:36 -05:00
Chris Jones
0db41ce779
IPC socketpair()s should be CLOEXEC (dup2() unsets the flag for the new fd in the child process). irc-r=bsmedberg
...
--HG--
extra : rebase_source : 5946587beff45a6a0afa61469f7ba0288521bcc5
2010-01-26 18:13:43 -06:00
Benjamin Smedberg
13a549e6a9
Bug 535564 part 2: only open the PID for short periods while we're writing to it, r=jgriffin
...
--HG--
extra : rebase_source : 65604f973cc0ea70fc6b61273b8931a0c519c354
2010-01-27 11:17:22 -05:00
Benjamin Smedberg
6e8ca02ce6
Bug 540967 - "missing output line for total leaks" because the parent process isn't waiting for the child process to clean up/write leak logs, r=cjones
...
--HG--
extra : transplant_source : EW%5C-%60M%BCabd%A0%DE%F8%1EG%DF%03%14%B3%24
2010-01-22 10:21:33 -05:00
Chris Jones
f4ec1f80fa
Bug 521929, part 1: Add a "seqno" field to synchronous messages. r=bent
...
--HG--
extra : transplant_source : %D0%5D%CF%0DUv%AC%AD%09%F98%C4%14%E2%F8%14%2CUZ%97
2010-01-21 20:04:09 -06:00
Chris Jones
cf5eee4330
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
Makoto Kato
e2108386c2
Bug 534813 - ipc_message_utils.h causes build error on Windows x64 build. r=jones.chris.g
2009-12-21 18:28:28 +09:00
Chris Jones
8e5648cbee
bug 532983: fix invalid memory reads caused by regressions in shutdown behavior. r=bsmedberg
2009-12-07 00:03:49 -06:00
Chris Jones
8abc83ace0
bug 521949: make valgrind stop complaining about a false-positive uninitialized memory read
2009-12-04 16:45:23 -06:00
Chris Jones
aea3243ee9
bug 523174: add a higher-level Shmem class that implements exclusive access rights between parent/child actors and does over/underflow checking. (Also adds a stop-gap lower-level SharedMemory class in lieu of bug 523172.) r=joedrew
2009-12-04 12:45:15 -06:00
Chris Jones
e767ae72d1
bug 532333: part 2: implement an alternate EnsureChildTerminated() that listens for SIGCHLD (with a timeout) on the IO thread, instead of spawning a cleanup thread
2009-12-02 21:09:47 -06:00
Chris Jones
f8b2e6c35f
bug 532333: part 1: expose libevent signal events through chromium wrappers
2009-12-02 21:09:24 -06:00
Ben Turner
f92346854c
Bug 531821 - Add chromium LICENSE file.
2009-12-01 14:18:27 -08:00
Ben Turner
221a1d753c
Fix PostDelayedTask in the message loop
2009-11-23 16:01:12 -05:00
Chris Jones
37505766aa
include some headers missing in newer gcc/libc builds. r=trivial
2009-11-19 20:08:39 -06:00
Benjamin Smedberg
49150adb6d
Followup to bug 525090 - log new processes to a file based on the environment, instead of unconditionally to stdout, r=cjones
2009-11-19 14:52:11 -05:00
Ben Turner
528fc497a1
Bug 528144 - 'Missing IPC messages cause hang during xpcshell test'
2009-11-13 15:35:33 -08:00
Chris Jones
5c7a5ab290
mac builds and runs with --enable-ipc, but the subprocess nsAppShell dies for an apparently Cocoa-related reason. IPC is fine though
2009-11-10 20:25:10 -06:00
Benjamin Smedberg
84942520d3
Followup to last patch: using the ternary operator doesn't shortcut creating the temporary object, and I can't figure out why it was a ternary anyway: make it an if.
2009-11-09 12:57:32 -05:00
Benjamin Smedberg
71e4c2d085
Fix the chromium logging stuff: make CHECK/LOG release-and-debug (DCHECK/DLOG are debug-only), and make it print warning/error/abort using NS_DebugBreak, which is especially important for release aborts.
2009-11-09 12:03:48 -05:00
Chris Jones
872eb8137d
build fix for gcc <= 4.2
2009-11-06 22:57:13 -06:00
Chris Jones
5412e0bc87
fix build bustage and test SEGFAULTs
2009-11-06 17:07:52 -06:00
Benjamin Smedberg
abde5a790a
Followup to the previous patch: give arguments to CHECK also, to fix Maemo build bustage and be consistent.
2009-11-06 14:45:38 -05:00
Benjamin Smedberg
b289c97b16
Bug 526868 - Drop the dependency on GLIBCXX_3.4.9 by hacking Chromium logging to use NSPR logging instead of ostream. Pending r+ from cjones, but I wanted to get this landed to see what it did to the Linux testerboxes.
2009-11-05 17:47:09 -05:00
Chris Jones
649b4bf497
bug 525677: shuffle some headers to appease gcc 4.2. IRC r=fred23,bsmedberg
2009-11-04 23:11:33 -06:00
Benjamin Smedberg
b32ff65cda
Update chromium code to newer versions (rev 23304) to avoid tr1/function which doesn't compile without RTTI on, and disable RTTI by default.
2009-11-04 15:46:27 -05:00
Jonathan Griffin
b7375e8bd1
Bug 525090. Log the PID's of launched processes. r=cjones
...
--HG--
extra : rebase_source : 69365c5d2f3a96b21efdeea876389027fca6feb5
2009-11-02 14:41:46 -08:00
Ben Turner
f78672f07d
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