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

205 Коммитов

Автор SHA1 Сообщение Дата
Gervase Markham 68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Marco Perez 7765795e84 Bug 752067 - Build broken in ipc after prctl changes. r=cjones 2012-05-24 18:45:10 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nathan Froyd ae7166da99 Bug 748914 - Part 1: implement Histogram::Clear; r=taras 2012-05-08 15:38:50 -04:00
Nicolas Silva 843317626a Bug 750498 - Support IPC Thread::SetName on Linux. r=cjones
--HG--
extra : rebase_source : b7eeef0e1cf7886685675eb25fcb7dbf00da2f0a
2012-05-01 15:34:41 -04:00
Joey Armstrong 6bf8cf559d Bug 739710 - Makefile.in edits to use mkdir_deps function: file batch #2. r=ted 2012-05-03 06:22:33 -04:00
Mike Hommey b220bffd2b Bug 749530 - Import atomicops_internals_mips_gcc.h from protobuf. r=cjones 2012-05-03 08:36:42 +02:00
Graeme McCutcheon 3357bf3e5f Bug 747379 - Override Histogram::AddSampleSet for FlagHistograms. r=nfroyd 2012-04-27 11:14:03 +01:00
Joey Armstrong 6f5491d1ad bug 743280: cosmetic edits removed from bug 739710. r=ted 2012-04-10 10:45:15 -07:00
Mike Hommey 609e12c771 Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Oleg Romashin 84a412fcae Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Mike Hommey 048e8f2656 Bug 736220 - Remove previously unused and broken assert definition from logging.h. r=cjones 2012-03-16 15:56:35 +01:00
Mike Hommey 00b2353a00 Bug 716544 - Include assert.h from logging.h. r=cjones 2012-03-13 09:47:02 +01:00
Benoit Girard 594565d0a8 Bug 734685 - Support IPC Thread::SetName on Mac. r=cjones 2012-03-10 18:08:17 -05:00
Mike Hommey 28f6f080e9 Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey 73db411dd0 Bug 716544 - Include assert.h from logging.h. r=cjones 2012-03-13 09:47:02 +01:00
Nathan Froyd b6ec20a704 Bug 723846 - Part 1: add FlagHistogram to ipc. r=taras 2012-03-01 15:03:11 -05:00
Nathan Froyd b8e1dc11a5 Bug 726761 - don't check count sums when deserializing SampleSets; r=cjones 2012-02-13 13:46:32 -08:00
Martin Stránský fc78edad0a Bug 725655 - gcc 4.7 build failures (missing headers). r=benjamin 2012-02-10 16:07:41 +01:00
Thinker K.F. Li 11b8ef6ea2 Bug 718617 - Move ObserverList of chromium into namespace "base", r=bsmedberg 2012-01-17 05:41:00 -08:00
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