Ms2ger
40445f7249
Bug 913953 - Part v: Remove unused HWND subclassing functions; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
8354637364
Bug 913953 - Part u: Remove unused HWND user data functions; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
35187deb42
Bug 913953 - Part t: Remove unused HWND creation/destruction functions; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
2e3d886337
Bug 913953 - Part s: Remove unused UserAccountControlIsEnabled function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
05c03d605a
Bug 913953 - Part r: Remove unused GetClassName function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
b861c34a24
Bug 913953 - Part q: Remove unused MatchPattern function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
84148f8da2
Bug 913953 - Part p: Remove unused GetPagefileUsage function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
aeb5c961a6
Bug 913953 - Part o: Remove unused GetPeakPagefileUsage function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
533f1f6f83
Bug 913953 - Part n: Remove unused GetWorkingSetSize function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
3d093a9b97
Bug 913953 - Part m: Remove unused GetPrivateBytes function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
1eea33881e
Bug 913953 - Part l: Remove unused FreeMBytes struct; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
f5d3d71745
Bug 913953 - Part k: Remove unused GetCommittedKBytes function; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
9d4280b585
Bug 913953 - Part j: Remove unused GetWorkingSetKBytes function; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
c12bc71999
Bug 913953 - Part i: Remove unused ReduceWorkingSet and UnReduceWorkingSet functions; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
8b5e587505
Bug 913953 - Part h: Remove unused WaitForExitCode and GetAppOutput functions; r=ehsan
2013-09-10 09:03:33 +02:00
Ms2ger
1a19874da2
Bug 913953 - Part g: Remove unused GetProcessCount function; r=ehsan
2013-09-10 09:03:33 +02:00
Ms2ger
4511c5acc8
Bug 913953 - Part f: Remove unused process cleanup code; r=ehsan
2013-09-10 09:03:33 +02:00
Ms2ger
b7153a9d8a
Bug 913953 - Part e: Remove unused conversion code from CFStringRef and NSString; r=ehsan
2013-09-10 09:03:32 +02:00
Ms2ger
8362c90da1
Bug 913953 - Part d: Remove unused conversion code to CFStringRef and NSString; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
5d75570511
Bug 913953 - Part c: Remove unused FSRef code; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
e9be1996d4
Bug 913953 - Part b: Remove unused override app bundle code; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
da04b6c100
Bug 913953 - Part a: Remove unused JavascriptDoubleQuote functions; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
6eef18d6d4
Bug 909028 - Remove dead chromium code; r=ehsan, rs=bent
2013-09-06 08:42:41 +02:00
Jeff Walden
de9ce95170
Bug 730805 - Provide mozilla/IntegerPrintfMacros.h to implement the PRI* macros portion of the <inttypes.h> interface. r=espindola
...
--HG--
extra : rebase_source : be80333003c6fec659e736a77463568c836d8348
2011-12-15 00:27:42 -05:00
Landry Breuil
9737f5cf31
Bug 909005: use getdents() on OpenBSD now that it is available r=glandium
2013-09-02 08:54:42 +02:00
Steven Michaud
b954caad6c
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
Trevor Saunders
acfc9e9cd6
bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan
2013-08-12 05:51:49 -04:00
Ms2ger
30f4e6e119
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
9d023a67df
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
f702f81916
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
e2ff646a3c
Bug 901414 - Fix ipc/chromium to build for GNU/kFreeBSD. r=bsmedberg
2013-08-10 15:54:00 +09:00
Ehsan Akhgari
2824b29025
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
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Joshua Cranmer
b82a7849fb
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Justin Lebar
eacb45e46d
Bug 893242 - Part 1: Add Unsound_IsClosed() and Unsound_NumQueuedMessages() to AsyncChannel. r=bent
2013-07-17 14:31:10 -07:00
Ryan VanderMeulen
d806e1e244
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ryan VanderMeulen
e396d026b5
Merge birch to m-c.
2013-07-10 09:42:28 -04:00
Shelly Lin
96a46d1102
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
1db230cd9a
Bug 889823 - ipc fail to compile using Visual Studio 2013 r=bsmedberg
2013-07-10 11:19:42 +09:00
Ed Morley
b4e5d925e1
Bug 855686 - Attempt to log cmdline for launched process; r=ted
2013-07-08 18:54:02 +01:00
Ms2ger
dd8f07a495
Bug 888573 - Remove bit_cast; r=Waldo
2013-07-10 11:54:35 +02:00
Catalin Iacob
09cfbe927e
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
8d71159d4c
Bug 883537 - Remove dead testing code from chromium; r=bsmedberg
2013-06-23 09:14:36 +02:00
Ms2ger
d8bad3012d
Bug 883504 - Remove references to EXCLUDE_SKIA_DEPENDENCIES; r=bsmedberg
2013-06-23 09:14:26 +02:00
Justin Lebar
3837ac1912
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
7957b611c2
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
577bfccf43
Bug 853208 - Fix build break on Gentoo
2013-06-15 20:44:37 -04:00
Nathan Froyd
3d5d16ad9c
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
1a69354879
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
46164cd78e
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
f6ad445a82
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Martin Stransky
d8da1b5a38
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00
Mark Hammond
70cbb76fa4
Bug 875210 - child processes on Windows inherit (only) stdout and stderr. r=aklotz
2013-05-30 23:21:36 +10:00
Kyle Huey
0d78767303
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Julian Seward
eb8e819973
Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard.
2013-05-28 14:03:38 +02:00
Matt Woodrow
3690846a48
Bug 870176 - Import chromium bug 20249. r=dvander
2013-05-10 09:02:50 +12:00
Daniel Holbert
ce245d2647
Bug 865766 - Reorder MessageLoop init list to fix build warning. r=jlebar
2013-04-26 10:11:00 -04:00
Jan Beich
fee087f8a9
Bug 864013 - Add libevent config for BSDs. r=landry
2013-04-23 10:58:11 +02:00
Ehsan Akhgari
dbe39a6f7f
Bug 863559 - Do not leak the mach port in PlatformThread::CurrentId; r=jlebar
2013-04-19 14:37:41 -04:00
Ryan VanderMeulen
cd0138cd77
Merge m-c to inbound.
2013-04-18 14:01:31 -04:00
Justin Lebar
3aef51e08f
Bug 857152 - Make IPC channels more robust against use after being closed. r=bent
2013-04-03 15:54:00 +02:00
James Willcox
034fae0ccc
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
72635c5a76
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
4664b7f932
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
29b3a5a2ee
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
f4e6aab526
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
9d6819b392
Bug 861637 - Add workaround for missing clone function. r=blassey
2013-04-16 15:47:41 +02:00
Bas Schouten
839048be74
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
8b1a61762a
Backed out changesets ab64b048ad04 and 025d24d7fee8 (bug 734691) for leaks.
2013-04-08 22:16:21 -04:00
James Willcox
f6c0d380d3
Bug 734691 - Add multi-thread support to profiler r=benwa
...
--HG--
extra : rebase_source : 8367dc61f9f9026d0110ffe43d5d4d0aa9129e24
2013-03-29 15:34:49 -04:00
Ryan VanderMeulen
c22be74874
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
James Willcox
e5ba8fa627
Bug 734691 - Add multi-thread support to profiler r=benwa
2013-03-29 15:34:49 -04:00
Josh Aas
679f395227
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
111695c5e0
Back out 89e99ecdf29f (bug 734691) for leaking
...
CLOSED TREE
2013-03-28 20:52:20 -07:00
James Willcox
f272cdf825
Bug 734691 - Add multi-thread support to profiler. r=benwa
2013-03-28 19:51:15 -04:00
Justin Lebar
0884324942
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
db18757691
Bug 849330 - Camera recording needs AID_SDCARD_RW capability. r=dhylands
2013-03-13 14:44:43 +08:00
Trevor Saunders
dd41b4580f
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
7c08c309ff
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
9f69527406
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
267ba377a4
bug 853682 - rm some vestiges of the chromium build system r=bsmedberg
2013-03-19 18:12:06 -04:00
Trevor Saunders
1bee6a8a3c
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
c9251e6420
bug 853682 - rm ipc/chromium/src/base/data/ r=bsmedberg
2013-03-19 17:48:39 -04:00
Jeff Walden
182723518f
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
a60b979b8e
Bug 824647 - delete histograms when StatisticsRecorder is deleted; r=jlebar
2013-03-07 11:07:12 -05:00
Nathan Froyd
20269a1222
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
81948a9656
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
8876f7e142
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
e0fe4d34b6
Bug 837561 ReadInt16 and WriteInt16 should be paired r=benjamin
2013-02-18 15:19:03 +08:00
Nathan Froyd
ca45b07a60
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
a46f6fab8d
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
a404bec687
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
d48efc0c7a
Bug 834526, r=cjones.
2013-01-24 17:25:01 -08:00
Jan Beich
8fb239fc05
Bug 832723 - Unbreak build on BSDs after bug 786631. r=cjones
2013-01-25 10:10:12 -05:00
Chris Jones
e052c45293
Bug 786631, part 1: Refactor privilege adjustment. r=dhylands
2013-01-17 12:06:36 -08:00
Chris Jones
1d8beb4d30
Back out bug 786631
2013-01-17 12:50:13 -08:00
Chris Jones
75253fec80
Back out bug 786631
2013-01-17 12:49:42 -08:00
Chris Jones
61d931a487
Bustage fix for bug 786631: Need a win no-op too. r=me
2013-01-17 12:46:05 -08:00
Chris Jones
ee3cd37a6e
Bug 786631, part 1: Refactor privilege adjustment. r=dhylands
2013-01-17 12:06:36 -08:00
Charles Chan
b210139731
Bug 710989 - Fix possible memset underflow in Time::Explode(). r=cjones
2012-03-23 21:24:07 -07:00