Landry Breuil
076d9518ae
Bug 909005: use getdents() on OpenBSD now that it is available r=glandium
2013-09-02 08:54:42 +02:00
Brian O'Keefe
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Steven Michaud
b9200cab9d
Bug 884471 - Backport upstream libevent patch to hopefully work around the OSX "code -20" mochitest failures. r=bsmedberg
2013-08-27 14:15:49 -04:00
Ms2ger
dba42e4001
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Trevor Saunders
bddf017039
bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan
2013-08-12 05:51:49 -04:00
Brian O'Keefe
3fd496e231
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Ms2ger
a04009b5b7
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
6d567ab3cc
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Nathan Froyd
4c88bf658c
Bug 904619 - move dummy event to its sole use in ipc_sync_message.cc; r=bent
2013-08-13 10:56:44 -04:00
Mike Hommey
8ef12794b7
Bug 901414 - Fix ipc/chromium to build for GNU/kFreeBSD. r=bsmedberg
2013-08-10 15:54:00 +09:00
Ehsan Akhgari
5ee21d6d3f
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
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 "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Joshua Cranmer
7b9a04da79
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Justin Lebar
7f59d02c37
Bug 893242 - Part 1: Add Unsound_IsClosed() and Unsound_NumQueuedMessages() to AsyncChannel. r=bent
2013-07-17 14:31:10 -07:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Ryan VanderMeulen
aaee3cf638
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ryan VanderMeulen
838b1a51b6
Merge birch to m-c.
2013-07-10 09:42:28 -04:00
Shelly Lin
3fde9d9b2f
Bug 811636 - Close the child FD in the parent asap in order to detect when the child closes its FD. r=dhylands
2013-07-09 10:37:33 +08:00
Xavier Fung
094b68436d
Bug 889823 - ipc fail to compile using Visual Studio 2013 r=bsmedberg
2013-07-10 11:19:42 +09:00
Ed Morley
64b7f2b571
Bug 855686 - Attempt to log cmdline for launched process; r=ted
2013-07-08 18:54:02 +01:00
Joey Armstrong
a6b9800cfb
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Ms2ger
74fe3aaffd
Bug 888573 - Remove bit_cast; r=Waldo
2013-07-10 11:54:35 +02:00
Joey Armstrong
b931149ad7
bug 870407: move CMMSRCS to mozbuild (file batch #3 ). r=mshal
2013-07-02 17:09:08 -04:00
Catalin Iacob
5a54745891
Bug 798914 (part 2) - Use newly introduced mozilla::MallocSizeOf in chromium. r=njn.
...
--HG--
extra : rebase_source : 3488c0e9140919a78b9a8658f54a6dc162935653
2013-06-16 14:12:19 +02:00
Ms2ger
0f460a818f
Bug 883537 - Remove dead testing code from chromium; r=bsmedberg
2013-06-23 09:14:36 +02:00
Ms2ger
95fafbc199
Bug 883504 - Remove references to EXCLUDE_SKIA_DEPENDENCIES; r=bsmedberg
2013-06-23 09:14:26 +02:00
Justin Lebar
a8c47ff24e
Bug 885158 - If a message is sent on a closed IPC channel, delete it immediately. r=bent
...
Our old behavior was to enqueue it until the channel gets destructed.
--HG--
extra : rebase_source : 9766774838257d9e1a6adc15d3b4cf9e38fefcbe
2013-06-21 13:58:47 -07:00
David Anderson
01d48b90ce
Bug 868919 - Confirm that the child process has received fd handles on OSX before releasing them. r=bent
2013-06-21 09:32:02 +12:00
Alex Xu
cda2e13746
Bug 853208 - Fix build break on Gentoo
2013-06-15 20:44:37 -04:00
Nathan Froyd
d359c0fb10
Bug 871596 - part 3 - replace memcpys of POD datatypes in Pickle with something smarter; r=bent
2013-06-05 13:01:05 -04:00
Nathan Froyd
7cbfd93a69
Bug 871596 - part 2 - add a new memberAlignmentType to replace the scattered uint32_t alignments; r=bent
2013-05-30 11:31:35 -04:00
Nathan Froyd
861b8f6bf5
Bug 871596 - part 1 - rewrite Pickle's alignment mechanism to be more obviously optimizable; r=bent
2013-05-30 11:29:45 -04:00
Ehsan Akhgari
0cae3ba5bd
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Martin Stransky
f672df1462
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00
Mark Hammond
98e862d699
Bug 875210 - child processes on Windows inherit (only) stdout and stderr. r=aklotz
2013-05-30 23:21:36 +10:00
Kyle Huey
3cc4ccd2f5
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Jan Beich
a791932024
Bug 877139 - Fix a few freebsd typos in bug 864774. r=glandium
2013-05-29 20:56:09 -04:00
Julian Seward
004a71f006
Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard.
2013-05-28 14:03:38 +02:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Matt Woodrow
9938325069
Bug 870176 - Import chromium bug 20249. r=dvander
2013-05-10 09:02:50 +12:00
Daniel Holbert
25acc9d0ec
Bug 865766 - Reorder MessageLoop init list to fix build warning. r=jlebar
2013-04-26 10:11:00 -04:00
Bill McCloskey
3fb72f4c67
Bug 860885 - Turn off Chromium IPC [debug] spew (r=glandium)
2013-04-23 12:14:47 -07:00
Jan Beich
eccb99edf8
Bug 864013 - Add libevent config for BSDs. r=landry
2013-04-23 10:58:11 +02:00
Ehsan Akhgari
d8b0a9189b
Bug 863559 - Do not leak the mach port in PlatformThread::CurrentId; r=jlebar
2013-04-19 14:37:41 -04:00
Ryan VanderMeulen
85ce4dba4b
Merge m-c to inbound.
2013-04-18 14:01:31 -04:00
Justin Lebar
1ef45ff3f8
Bug 857152 - Make IPC channels more robust against use after being closed. r=bent
2013-04-03 15:54:00 +02:00
James Willcox
07acfb74dc
Bug 734691 - Add multi-thread support to profiler r=benwa
...
--HG--
extra : rebase_source : 04021da9d3d871f51f931b6e6f57a0bbbbaa6393
2013-03-29 15:34:49 -04:00
Ryan VanderMeulen
5f40d14478
Backed out 3 changesets (bug 734691, bug 862500) for leaks.
...
Backed out changeset 4444510d672f (bug 862500)
Backed out changeset 5c321bc4dc63 (bug 734691)
Backed out changeset e045934f78be (bug 734691)
2013-04-18 08:15:09 -04:00
James Willcox
7fb0f556cd
Bug 734691 - Add multi-thread support to profiler r=benwa
...
--HG--
extra : rebase_source : b9ecaa62430dc4f04a2d00a742c4b2d30e479bb5
2013-03-29 15:34:49 -04:00
Ryan VanderMeulen
4dfeea9c71
Backed out 2 changesets (bug 734691) for leaks.
...
Backed out changeset ba88d9730af6 (bug 734691)
Backed out changeset 7d2fbf7b0372 (bug 734691)
2013-04-16 13:45:53 -04:00
James Willcox
a9072ded93
Bug 734691 - Add multi-thread support to profiler r=benwa
...
--HG--
extra : rebase_source : 71db00ee222713fd60ba42be14226b52535a4f1e
2013-03-29 15:34:49 -04:00
Gian-Carlo Pascutto
c0120a36d4
Bug 861637 - Add workaround for missing clone function. r=blassey
2013-04-16 15:47:41 +02:00
Bas Schouten
341383c413
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
...
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Ryan VanderMeulen
bae0323cba
Backed out changesets ab64b048ad04 and 025d24d7fee8 (bug 734691) for leaks.
2013-04-08 22:16:21 -04:00
James Willcox
62450c587b
Bug 734691 - Add multi-thread support to profiler r=benwa
...
--HG--
extra : rebase_source : 8367dc61f9f9026d0110ffe43d5d4d0aa9129e24
2013-03-29 15:34:49 -04:00
Mike Hommey
9c12af53ce
Bug 858204 - Enable libevent logging on debug builds. r=jlebar
2013-04-08 08:36:01 +02:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Ryan VanderMeulen
88b3687da5
Backed out changeset 7112a6c1efee (bug 734691) for Win8 xpcshell hangs and possible leaks on a CLOSED TREE.
2013-03-29 18:18:38 -04:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
James Willcox
80f7ea8c39
Bug 734691 - Add multi-thread support to profiler r=benwa
2013-03-29 15:34:49 -04:00
Josh Aas
fdbcfcc26e
Bug 842887 - Update Mozilla's copy of libevent from 1.4.7 to 2.0.21. r=bsmedberg
2013-03-29 09:34:53 -05:00
Phil Ringnalda
80524b85aa
Back out 89e99ecdf29f (bug 734691) for leaking
...
CLOSED TREE
2013-03-28 20:52:20 -07:00
James Willcox
79399bb1c9
Bug 734691 - Add multi-thread support to profiler. r=benwa
2013-03-28 19:51:15 -04:00
Justin Lebar
59bcf2e0a3
Bug 854880 - Make canceling a RunnableFunction actually cancel the task. r=bent
...
--HG--
extra : rebase_source : 1de3006089152141d838e6896acba21307b2620c
2013-03-28 14:25:58 -04:00
vliu
4ebeba387e
Bug 849330 - Camera recording needs AID_SDCARD_RW capability. r=dhylands
2013-03-13 14:44:43 +08:00
Trevor Saunders
57a2df4dd8
bug 853682 - remove most of the chromium gfx stuff since it isn't used we need to keep a few headers because they're included, but we don't even need to define the functions they declare. r=bsmedberg
2013-03-19 18:34:23 -04:00
Trevor Saunders
03a78d8a30
bug 853682 - remove a include of the chromium gfx rect because its the only thing causing us to need the chromium gfx rect stuff r=bsmedberg
2013-03-19 18:31:27 -04:00
Trevor Saunders
b170fd288d
bug 853682 - rm some chromium keyboard stuff and a scoped_vector thing both of which we don't use r=bsmedberg
2013-03-19 18:17:24 -04:00
Trevor Saunders
e64a3224ff
bug 853682 - rm some vestiges of the chromium build system r=bsmedberg
2013-03-19 18:12:06 -04:00
Trevor Saunders
389f5eddcf
bug 853682 - rm ipc/chromium/src/base/crypto/ which wasn't being built r=bsmedberg
2013-03-19 17:57:22 -04:00
Trevor Saunders
0321edc9be
bug 853682 - rm ipc/chromium/src/base/data/ r=bsmedberg
2013-03-19 17:48:39 -04:00
Jeff Walden
6814abdb40
Bug 851237 - Convert a static-assertion typedef to MOZ_STATIC_ASSERT. r=dholbert
...
--HG--
extra : rebase_source : cb98976842ed2324a6bc93238b28653baacdd083
2013-03-21 18:27:16 -07:00
Nathan Froyd
5dfa4c999e
Bug 824647 - delete histograms when StatisticsRecorder is deleted; r=jlebar
2013-03-07 11:07:12 -05:00
Phil Ringnalda
938afd9786
Back out 7f12ca5e6d0a (bug 750303) on suspicion of breaking l10n builds
2013-03-10 20:03:28 -07:00
Joey Armstrong
b273c1badb
bug 750303: mkdir_deps - target specific enhancement
2013-03-04 14:34:02 -05:00
Gregory Szorc
89d297a677
Merge mozilla-central into build-system
...
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
2416390562
Bug 784841 - Part 18r: Convert /ipc; r=ted f=Ms2ger
2013-02-25 12:47:22 -08:00
Nathan Froyd
715a3df5d3
Bug 844146 - add BooleanHistogram::Accumulate to properly canonicalize values for boolean histograms; r=taras
2013-02-22 13:52:40 -05:00
stuartmorgan@chromium.org
28dd3246aa
Bug 842550: Simplify ScheduleDelayedWork implementation on Mac. rs=cjones
...
Imported from:
> From: stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
> Date: Wed, 25 Apr 2012 15:28:55 +0000 (+0000)
> Subject: Simplify ScheduleDelayedWork implementation on Mac
> X-Git-Url: http://git.chromium.org/gitweb/?p=chromium.git;a=commitdiff_plain;h=18e6c782965d2784995b011977777b10687bb9c0
>
> Simplify ScheduleDelayedWork implementation on Mac
>
> Instead of round-tripping through Time::Exploded, which seems to be a legacy of the method having a different argument type, just calculate the new timer firing time directly from the difference in time ticks.
>
> BUG=None
> TEST=None
>
>
> Review URL: http://codereview.chromium.org/10227001
>
> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133916 0039d316-1c4b-4281-b951-d872f2087c98
2013-02-21 18:10:59 -08:00
jar@chromium.org, L. David Baron
340774e150
Bug 842550: Switch to using TimeTicks rather than Time in message loops. rs=cjones
...
The ipc/chromium/src/base/ changes here (except those mentioned below)
are the majority of the base/ changes (excluding those that patch code
that does not exist yet in our copy) in:
> From: jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
> Date: Sat, 6 Nov 2010 22:23:29 +0000 (+0000)
> Subject: Switch to using TimeTicks rather than Time in message loops
> X-Git-Url: http://git.chromium.org/gitweb/?p=chromium.git;a=commitdiff_plain;h=f592c218c18bd1f8308489aaef2e329244ced330
>
> Switch to using TimeTicks rather than Time in message loops
>
> Switch to using TimeTicks rather than Time so that we
> are not dependent on changes in the system clock.
>
> r=mbelshe,darin
> Review URL: http://codereview.chromium.org/3884001
>
> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65322 0039d316-1c4b-4281-b951-d872f2087c98
The ipc/glue changes, and the message_pump_android.* and
message_pump_qt.* changes in ipc/chromium/src/base/, change signatures
to match.
2013-02-21 18:10:59 -08:00
Ginn Chen
ccea6f8d02
Bug 837561 ReadInt16 and WriteInt16 should be paired r=benjamin
2013-02-18 15:19:03 +08:00
Nathan Froyd
2c74fde464
Bug 837271 - part 1 - add means to control computation of extended statistics to histogram code; r=vladan
2013-02-13 10:31:25 -05:00
Trevor Saunders
c6acb62c6c
bug 834552 - remove a bunch of ipc/chromium/ that we don't even build r=bsmedberg
2013-01-22 11:55:07 -05:00
Jeff Walden
f28fd07803
Bug 836438 - Refactor IPC::ParamTraits specializations so that we don't have to manually guard against the possibility of multiple parameter types being the same type. r=ehsan
...
--HG--
extra : rebase_source : 9a3b8c13f9999cbdae025e87688bd6e95fef75f5
2013-01-31 14:08:16 -08:00
Ben Turner
206f990359
Bug 834526, r=cjones.
2013-01-24 17:25:01 -08:00
Jan Beich
294b53d8bc
Bug 832723 - Unbreak build on BSDs after bug 786631. r=cjones
2013-01-25 10:10:12 -05:00
Nicholas Nethercote
1d5169b3d1
Bug 394311 - Stop building with -pedantic. r=ted,dbaron.
...
--HG--
rename : content/svg/content/nsISVGPoint.cpp => content/svg/content/src/DOMSVGPoint.cpp
rename : docshell/test/browser/browser_bug234628-9.js => docshell/test/browser/browser_bug134911.js
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
extra : rebase_source : 012df725d55b031ccc03d9bfcf785056d95a2ebe
2013-01-20 14:12:42 -08:00
Chris Jones
1d378e6460
Bug 786631, part 1: Refactor privilege adjustment. r=dhylands
2013-01-17 12:06:36 -08:00
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
Mike Hommey
46646a522a
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
e8955b072d
Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt
2012-03-22 16:24:40 -07:00
Mike Hommey
6baca1829b
Bug 736220 - Remove previously unused and broken assert definition from logging.h. r=cjones
2012-03-16 15:56:35 +01:00
Mike Hommey
866afeeb84
Bug 716544 - Include assert.h from logging.h. r=cjones
2012-03-13 09:47:02 +01:00
Benoit Girard
0123b51ae8
Bug 734685 - Support IPC Thread::SetName on Mac. r=cjones
2012-03-10 18:08:17 -05:00
Mike Hommey
7bf6b46bc7
Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red
2012-03-13 10:29:26 +01:00
Mike Hommey
efd1e6cb12
Bug 716544 - Include assert.h from logging.h. r=cjones
2012-03-13 09:47:02 +01:00
Nathan Froyd
2cbd8085c0
Bug 723846 - Part 1: add FlagHistogram to ipc. r=taras
2012-03-01 15:03:11 -05:00
Nathan Froyd
5cdaa1fb93
Bug 726761 - don't check count sums when deserializing SampleSets; r=cjones
2012-02-13 13:46:32 -08:00
Martin Stránský
4c8f717e35
Bug 725655 - gcc 4.7 build failures (missing headers). r=benjamin
2012-02-10 16:07:41 +01:00