Commit Graph

185 Commits

Author SHA1 Message Date
Chao-ying Fu
668eaaca12 Add MIPS support to JaegerMonkey (bug 678154, r=dvander).
--HG--
extra : rebase_source : 8f174670ae068741a1536696e17e3a2a6bb4c7e5
2012-01-12 19:18:05 -08:00
Jacek Caban
bcd83798dc Bug 717220 - Tons of 'comma at end of enumerator list' warnings r=jones.chris.g 2012-01-12 12:07:50 +01:00
aceman
52a2181860 Bug 706724 - Fix for error: ‘ftruncate’ was not declared in this scope. r=benjamin 2012-01-11 10:46:54 +01:00
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