Commit Graph

346 Commits

Author SHA1 Message Date
Chris Jones
4dd045f41c Back out bug 786631 2013-01-17 12:50:13 -08:00
Chris Jones
027c95cfba Back out bug 786631 2013-01-17 12:49:42 -08:00
Chris Jones
06d3d2f740 Bustage fix for bug 786631: Need a win no-op too. r=me 2013-01-17 12:46:05 -08:00
Chris Jones
05dd861b40 Bug 786631, part 1: Refactor privilege adjustment. r=dhylands 2013-01-17 12:06:36 -08:00
Charles Chan
a9238e971c Bug 710989 - Fix possible memset underflow in Time::Explode(). r=cjones 2012-03-23 21:24:07 -07:00
Oleg Romashin
42987139b1 Bug 826979 - jsfriendapi.h conflict with qobjectdefs.h slots defines. r=glandium
--HG--
extra : rebase_source : d30852a09858b4f6d62fee627c0dc08ef765dcd8
2013-01-11 15:06:36 -08:00
Chris Jones
6b5dcd125c Bug 828285: Run camera with lower privileges. r=dhylands a=overholt 2013-01-09 14:50:25 +01:00
Nathan Froyd
7e2874607f Bug 826439 - use floats instead of doubles for exponential histogram statistic calculations; r=vdjeric 2013-01-03 16:21:44 -05:00
Ed Morley
11064cae84 Backout 6e391f971a13 (bug 826439) for xpcshell failures 2013-01-04 16:07:27 +00:00
Nathan Froyd
64dc3043ee Bug 826439 - use floats instead of doubles for exponential histogram statistic calculations; r=vdjeric 2013-01-03 16:21:44 -05:00
Nathan Froyd
fbc1407119 Bug 819418 - part 1 - be more selective in exporting aggregate statistics; r=vdjeric 2012-12-07 14:02:39 -05:00
Landry Breuil
3c6bc92164 Bug 823240 - include sys/proc.h on OpenBSD to access P_TRACED flag, needed since r1.127 of sys/sysctl.h. r=cjones 2012-12-20 13:46:39 +01:00
Chris Jones
cd7244c758 Bug 822510: Add specific privilege levels for camera and video, and enable that for video. r=jlebar,kang 2012-12-19 23:41:08 -08:00
Chris Jones
56855bfde2 Bug 820560: Run unprivileged processes with different uids when possible. r=kang a=blocking-basecamp 2012-12-17 15:39:34 -08:00
Nathan Froyd
cb8b2f0371 Bug 819418 - part 0 - Histogram::SampleSet:Add needs to transfer all values, not just sum_; r=vdjeric 2012-12-07 14:52:19 -05:00
Nathan Froyd
e1a86690d0 Bug 816166 - part 1 - record extra information on raw data collected in histograms; r=vdjeric 2012-11-30 15:49:49 -05:00
Nicholas Nethercote
ed656f9623 Bug 811596 - Shrink the IPC message buffer after each message is processed. r=cjones. 2012-11-19 20:52:44 -08:00
Nathan Froyd
0c396a2d27 Bug 810332 - don't include <iostream> in ipc code where it's not necessary; r=cjones 2012-11-09 11:07:09 -05:00
Kartikaya Gupta
c7c138cb12 Bug 808875 - Fix unused variable warning in file_util_posix.cc. r=mwu 2012-11-14 09:36:12 -08:00
Nathan Froyd
da70806c09 Bug 811419 - fix accumulation of the zero bucket in flag histograms; r=taras 2012-11-13 14:55:02 -05:00
Ben Turner
9572705866 Bug 808743 - ' Better protection for PBrowser shutdown and database invalidation in multiprocess scenarios'. r=khuey+cjones.
--HG--
extra : transplant_source : %BD%E4%ADA%09%CE%D9%BE%1C%7C%7B%1A%FC%86%5C%13%24%29%B4%16
2012-11-09 19:29:07 -08:00
Nathan Froyd
4e5b08cbda Backout fe44be80d09f (bug 810332) for Windows build bustage 2012-11-09 21:21:22 -05:00
Nathan Froyd
482199a5d6 Bug 810332 - don't include <iostream> in ipc code where it's not necessary; r=cjones 2012-11-09 11:07:09 -05:00
Steven Lee
429fa76f7e Bug 805478 - Implement MessageLoopForIO::LineWatcher. r=dhylands 2012-11-08 14:35:02 -05:00
044383e50c Bug 804511 - Use WT_EXECUTEDEFAULT instead of WT_EXECUTEWAITINTHREAD to avoid deadlocks while debugging. r=bent 2012-10-24 08:19:00 -04:00
28c4cb987c Bug 804592 - "CreatePipe from Chromium IPC requires Logon Session, fails otherwise" [r=jones.chris.g] 2012-10-24 08:11:00 -04:00
Ehsan Akhgari
f117c7a7b0 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
48b5c1a608 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Ehsan Akhgari
33cbe5d37b Bug 801345 - Give MessageReplyDeserializer a virtual dtor since we delete the base class pointer; r=cjones 2012-10-14 11:11:04 -04:00
Dave Hylands
07e66bd62d Bug 801362 - Fixed typo (>= s/b <=) introduced in bug 797239. r=cjones 2012-10-13 21:25:23 -07:00
Jan Beich
aa084ea292 Bug 799591 - Cleanup stat64 in file_util_posix.cc on BSDs after bug 798377. r=ehsan
--HG--
extra : rebase_source : e22525b9e6b1623bb805be4ad5f2101ac16f984c
2012-10-09 11:17:00 -07:00
Ehsan Akhgari
67cf226c84 Bug 798354 - Remove the sizecheck global variable in ipc_channel_posix.cc since its only needed at compile time, and there are better ways to do this; r=cjones
--HG--
extra : rebase_source : 103ee1d497eb28f997e2d2734c4dc29cfca6c22b
2012-10-05 16:28:21 -04:00
Ehsan Akhgari
50f353ebd7 Backout changeset 9adf5ca922a4 (bug 798354) because it relied on the assumption that C++98 is a sane language and allows sizeof(class::member), but that sanity has just been added to C++11 2012-10-09 17:27:05 -04:00
EKR
9bcb94d7e2 Bug 799246: Conditionally enable webrtc unit tests r=jesup,ted,cjones 2012-10-08 18:56:00 -07:00
Dave Hylands
81dec47c83 Bug 797239 - Fix message loop to allow idle tasks to work in child content processes. r=cjones 2012-10-08 22:46:18 -06:00
Ehsan Akhgari
5bf0caba89 Bug 798354 - Remove the sizecheck global variable in ipc_channel_posix.cc since its only needed at compile time, and there are better ways to do this; r=cjones 2012-10-05 16:28:21 -04:00
Ehsan Akhgari
9b3292879a Bug 798377 - Don't use the deprecated stat64 function in file_util_posix.cc; r=cjones
--HG--
extra : rebase_source : efd7b826e462851d475e7307bd95da29514daec7
2012-10-05 16:17:21 -04:00
Ehsan Akhgari
19d7a97ebd Bug 798355 - Remove the base class conversion operator from MachMsgPortDescriptor because it will never be used; r=cjones
--HG--
extra : rebase_source : d0941e3296856a871d8226b51888f086efd559c4
2012-10-05 16:16:33 -04:00
Ehsan Akhgari
97661866fb Bug 798356 - Do not convert a boolean literal into a null pointer constant in TransportDIB::Map; r=cjones
--HG--
extra : rebase_source : 1d7a6be5ee0b090b9a4cf73158b1588eaef55390
2012-10-05 16:15:34 -04:00
Ehsan Akhgari
5e07c6cbc9 Bug 798349 - Only include TransportDIB::sequence_num_ in Windows, as it is not used in other platforms; r=cjones
--HG--
extra : rebase_source : ecc6f194ea415ba5a112227cc7333a30a654abe5
2012-10-05 16:11:35 -04:00
Ehsan Akhgari
dfca7c5fd6 Bug 798350 - Remove ChildProcessHost::resource_dispatcher_host_ since it is unused, and simplify the ChildProcessHost constructor; r=cjones
--HG--
extra : rebase_source : 4908129a3d9d2e57ebb0e7ef7b31dca14bedd72c
2012-10-05 16:09:46 -04:00
Nathan Froyd
47a8cc6723 Bug 746714 - add a memory reporter for telemetry; r=taras,njn 2012-10-05 12:19:14 -04:00
Ehsan Akhgari
315402fb2a Mark AsyncWaiter as final, no bug, blanket-r=bzbarsky 2012-10-05 10:48:49 -04:00
Jacek Caban
bdc1432276 Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (ipc/ part) r=bent
--HG--
extra : rebase_source : e20bd1677b784a9279db1655dea2bcaffb346774
2012-10-04 10:32:45 +02:00
Ms2ger
b8bde31475 Bug 793263 - Remove #error from base/basictypes.h; r=bsmedberg 2012-10-02 10:24:12 +02:00
Ms2ger
cc84f2c2f2 Bug 792379 - Don't include prtypes.h in base/basictypes.h; r=cjones 2012-10-02 10:24:12 +02:00
Ehsan Akhgari
5fe78337ca Merge the landing of nsresult-enum on mozilla-central 2012-09-21 14:49:57 -04:00
Chris Peterson
e4d054b3e3 Bug 778980 - Part 4a: Fix gcc -Wconversion-null warnings in ipc/chromium. r=bsmedberg
--HG--
extra : rebase_source : f74cecfefcdd599cf888d961906d0c033a9ee786
2012-09-21 09:28:13 -07:00
Jan Beich
c4e89d4b89 Bug 791838 - lwpid_t is defined in sys/types.h, explicitly include it. r=cjones 2012-09-19 20:24:58 -04:00
Aryeh Gregor
40eb076032 Bug 777292 - Make nsresult an enum; r=ehsan,cjones,bsmedberg 2012-08-07 11:27:45 +03:00
Ms2ger
8976774677 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Jan Beich
d8beab43c5 Bug 789817 - Fix BeingDebugged() in IPC on NetBSD/OpenBSD. r=cjones 2012-09-11 21:49:39 -04:00
Jan Beich
cb126a79ea Bug 787588 - d_reclen is dead on DragonFly since 64bit inode support. r=landry 2012-09-06 21:47:27 +02:00
Landry Breuil
14b3b51372 Bug 787040. Fix build warnings under ipc/. r=ms2ger 2012-08-31 10:18:42 +02:00
Jan Beich
bf379d516a Bug 787279 - Unbreak OS_BSD build after bug 782456. r=cjones 2012-08-31 10:17:24 +02:00
Chris Jones
e8aaa33b31 Bug 782456, part 1: Let clients of GeckoChildProcessHost specify privileges. r=bent 2012-08-29 09:24:48 -03:00
Jan Beich
ca0344d8dd Bug 753046 - Apply libc++ fixes after OS_BSD changes. r=cjones 2012-08-28 23:17:07 +02:00
Martin Husemann
f5d1821942 Bug 753046 - Add IPC support for BSDs, build glue. r=khuey,cjones 2012-08-28 23:16:51 +02:00
Martin Husemann
8f95fae421 Bug 753046 - Add IPC support for BSDs, ipc/chromium part. r=cjones 2012-08-28 23:16:41 +02:00
Martin Husemann
a706ab3c7f Bug 753046 - Add IPC support for BSDs, process_util_bsd.cc file. r=cjones 2012-08-28 23:15:29 +02:00
Jan Beich
c410cabb92 Bug 753046 - Add IPC support for BSDs, dir_reader_bsd.h file. rs=cjones 2012-08-28 23:15:18 +02:00
Jan Beich
d77243bea8 Bug 785026 - Merge file_util_linux.cc into file_util_posix.cc. r=cjones 2012-08-25 22:29:06 -04:00
Chris Jones
4ab56b458e Bug 636063, part 2: Backend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Ms2ger
da90b234b1 Back out bug 636063, bug 774988 and bug 784647 for busting all of Android. 2012-08-25 13:18:18 +02:00
Chris Jones
f8943f2217 Bug 636063, part 2: Backend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jan Beich
6d2fe1a5e3 Bug 782521 - Don't use const for pthread_setname_np's 3rd arg on NetBSD. r=cjones 2012-08-15 21:00:50 -04:00
Chris Jones
90125f622d Bug 778382: Don't put anonymous sockets in the PipeMap because they can collide. r=bent 2012-08-07 16:29:32 -07:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ben Turner
0010e82b08 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Oleg Romashin
acd3d18d8f Bug 744121 - Fix bogus issue with QObject::startTimer: QTimer cannot have a negative interval. r=cjones 2012-07-28 17:55:16 -04:00
Guillaume Destuynder
1688b83429 Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones 2012-07-26 21:42:56 -07:00
Chris Jones
47abd59f8e Backed out changeset 201612a0b133 2012-07-26 21:55:41 -07:00
Guillaume Destuynder
bd26065506 Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones 2012-07-26 21:42:56 -07:00
Ehsan Akhgari
54d06abbe0 Bug 777734 - Initialize the type variable in ParamTraits<LogData>::Read; r=cjones
This is mostly to silence compiler warnings.  The uninitialized type itself
won't cause problems because failed Read() prevents dispatch.
2012-07-26 11:23:54 -04:00
Landry Breuil
cc75f7deee Bug 775428: add a long long template for OpenBSD/64bits, fixes build breakage after 745148. r=cjones 2012-07-19 22:54:50 +02:00
Dave Hylands
c01bd473a9 Bug 772734 - Fixes LaunchApp hang when launching. r=cjones
From 8010cffba6e3dec5f792e965aacb9621ef06e0d7 Mon Sep 17 00:00:00 2001
 plugin-container - v5
Added checks in case PR_DuplicateEnvironment or PR_Malloc fail
Added #ifdef so that only Android builds try to call PR_DuplicateEnvironment
Moved PR_DuplicateEnvironment function from mozglue into process_util_linux.cc
so that matched alloc/free calls happen under android.
---
 ipc/chromium/src/base/process_util_linux.cc |  146 +++++++++++++++++++++++++--
 1 file changed, 140 insertions(+), 6 deletions(-)
2012-07-13 08:41:30 -07:00
Ed Morley
6c00eca83e Backout 41f4bdd4b6bd (bug 772734), af578c454d1e (bug 773414) for XUL Android bustage, on a CLOSED TREE 2012-07-18 09:51:44 +01:00
Dave Hylands
4175253873 Bug 772734 - Fixes LaunchApp hang when launching. r=cjones
From c6bdfcf39e3dfe28fe7376f8c0b1b9d07a1d969b Mon Sep 17 00:00:00 2001
 plugin-container - v4
Added checks in case PR_DuplicateEnvironment or PR_Malloc fail
Added #ifdef so that only Android builds try to call PR_DuplicateEnvironment
---
 ipc/chromium/src/base/process_util_linux.cc |  121 +++++++++++++++++++++++++--
 1 file changed, 115 insertions(+), 6 deletions(-)
2012-07-13 08:41:30 -07:00
Chris Jones
beb475c2b3 Bug 745148, part 2: GeckoChildProcessHost can't drop messages on the floor. Queue them and hand them off to the *Channel. r=bent 2012-07-14 14:21:32 -07:00
Brad Lassey
d571f01e38 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones 2012-06-14 09:08:51 -07:00
Gervase Markham
401e2c2f55 Bug 759095 - remove licensing-related query now issue has been resolved. 2012-06-11 16:38:26 +01:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
David Zbarsky
0eaf962962 Bug 754874 - OMTC: Qt MessageLoop should use CurrentThread object for event dispatching. r=dougt 2012-06-09 15:18:05 -07:00
Anselmo Diaz
43af230e57 Bug 655413 - Don't bump timer frequency in the IPC code. r=cjones 2012-06-03 08:09:28 +02:00
Ms2ger
aea359ec17 Bug 558313 - Remove ipc/chromium/src/base/third_party/nspr for great justice; r=ted 2012-06-06 09:24:55 +02:00
Ms2ger
3666f0c55c Bug 758861 - Don't redefine stdin types in basictypes.h; r=bsmedberg 2012-06-06 09:21:50 +02:00
Brad Lassey
0e76ba5434 backout bug 755070 2012-06-04 20:15:37 -04:00
Brad Lassey
0c1edec2c0 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, screenshot only on idle r=kats 2012-06-04 11:56:30 -04:00
Gervase Markham
d4eb7d5782 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
bac7888148 Bug 752067 - Build broken in ipc after prctl changes. r=cjones 2012-05-24 18:45:10 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nathan Froyd
6e12d2a467 Bug 748914 - Part 1: implement Histogram::Clear; r=taras 2012-05-08 15:38:50 -04:00
Nicolas Silva
a20533f057 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
4f2ec63c86 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
b17940d9d7 Bug 749530 - Import atomicops_internals_mips_gcc.h from protobuf. r=cjones 2012-05-03 08:36:42 +02:00
Graeme McCutcheon
444c09308a Bug 747379 - Override Histogram::AddSampleSet for FlagHistograms. r=nfroyd 2012-04-27 11:14:03 +01:00
Joey Armstrong
e32fb827b8 bug 743280: cosmetic edits removed from bug 739710. r=ted 2012-04-10 10:45:15 -07:00