Commit Graph

173 Commits

Author SHA1 Message Date
Gian-Carlo Pascutto
31455c7757 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
fcf045e4d4 Bug 622992 - Update Chrome IPC to not allocate memory after forking. r=cjones 2011-10-11 08:14:57 +02:00
Mike Hommey
4b9a083cd2 Fixup bug 654056. r=bustage,f=edmorley 2011-10-05 09:39:18 +02:00
Mike Hommey
79c45cb0da 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
d8e503c38b 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
760958734d Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00
Landry Breuil
75cd71ba69 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
ef61f08998 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
6e7fe377a8 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
b48a671937 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
8a75e0dbc8 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
6449e39421 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
11679e1057 Bug 648735 - Use pthread_self() on OpenBSD to get current thread id; r=cjones 2011-09-20 13:23:03 +01:00
Landry Breuil
80dedfe262 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
1be751295e Bug 648735 - Use nspr's prcpucfg.h for OpenBSD; r=cjones 2011-09-20 13:23:03 +01:00
Landry Breuil
fc5c80d710 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
47bf34cdbd 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
fa337a58c6 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
1214bdb110 Bug 680190 - Notify jemalloc when forking on Android; r=cjones 2011-08-30 17:11:36 -07:00
Ed Morley
db9df7db64 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
e35bf93fb1 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
e7a2202774 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
7b4d8f506f 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
95f9647972 Bug 674806 - b. Include ctype.h before referencing tolower. r=cjones 2011-08-04 15:01:49 -07:00
Andrei Kurushin
c2535be8cd Bug 665315 - OOPP Contextmenu loses messages; r=jmathies 2011-07-27 14:17:50 +02:00
Jim Chen
2f35494dc0 Bug 658074 - Optimize string usage in core IPC code; r=cjones 2011-06-29 00:08:57 -07:00
Chris Jones
e822730997 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
66de27b901 bug 617115 - support building with andorid NDKr5 r=ted 2011-04-01 16:47:37 -07:00
Mike Hommey
0268686b84 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
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Jacek Caban
0d02596cb7 Bug 651861 - ipc/chromium compilation broken on mingw
r=jones.chris.g
2011-04-28 11:36:38 +00:00
Taras Glek
94d8d441b4 Bug 651262 - Update histogram.h/cc[win build fixes] r=bent 2011-04-27 11:06:57 -07:00
Taras Glek
fd7d02c908 Bug 651262 - Update histogram.h/cc[build fixes] r=cjones 2011-04-27 11:06:53 -07:00
Taras Glek
db4fe4f5cd Bug 651262 - Update histogram.h/cc r=cjones 2011-04-19 15:18:48 -07:00
Benjamin Stover
a2586fcf46 Bug 650081 Fix ipc_channel_win.cpp WARNING about Connect called twice r=cjones 2011-04-22 10:55:46 -07:00
Mike Hommey
00b2d5e3a7 Bug 643112 - Fix IPC build on Linux powerpc. r=bsmedberg 2011-04-13 09:45:42 +02:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Makoto Kato
96269b6d02 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
6ef83c9db5 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
58eaaab9b9 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
d73fe8b3c6 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
b3c91154cb 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
725ef76341 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
202d1296a8 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
04526b453e Bug 605146 part 3 - Missing chromium constants for windows builds. r=ted,a=bsmedberg 2010-11-07 09:20:50 +01:00
Mike Hommey
78fb333b5c Bug 605146 part 2 - Compile sha512.cc on all platforms. r=ted,a=bsmedberg 2010-11-07 09:20:50 +01:00
Adam Michel
8244e0148e 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
e0830d554e 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
526f55239a 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
ccef2eb783 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