Ms2ger
4507bc1ead
Bug 913953 - Part ab: Remove unused WriteInto function; r=ehsan
2013-09-10 09:03:37 +02:00
Ms2ger
2ee857480a
Bug 913953 - Part aa: Remove unused GetNonClientMetrics function; r=ehsan
2013-09-10 09:03:37 +02:00
Ms2ger
d7caef66d0
Bug 913953 - Part z: Remove unused GetServicePackLevel function; r=ehsan
2013-09-10 09:03:37 +02:00
Ms2ger
12e5df4340
Bug 913953 - Part y: Remove unused AddAccessToKernelObject function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
98911170b0
Bug 913953 - Part x: Remove unused GetUserSidString function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
d476eebff5
Bug 913953 - Part w: Remove unused GetLogonSessionOnlyDACL function; r=ehsan
2013-09-10 09:03:36 +02:00
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
Ed Morley
1717198314
Merge mozilla-central and b2g-inbound
2013-09-06 12:32:33 +01:00
Thomas Zimmermann
e641d4540e
Bug 912996: Remove memcpy when reading from Unix socket, r=qdot
...
We used to allocate memory on the stack when reading from a file
descriptor and copied the result into an instance of UnixSocketRawData.
This patch
- cleans up the interface of UnixSocketRawData,
- removes the large stack allocation (64KiB), and
- removes the unnecessary memcpy.
Other memcpys for sending data have been moved into the constructor
of UnixSocketRawData.
--HG--
extra : rebase_source : 46ed1c73481732c3f3350bf0bedb56d376c24e98
2013-09-06 10:18:35 +02:00
Thomas Zimmermann
6ab06611af
Bug 912996: Fix whitespaces, r=qdot
...
--HG--
extra : rebase_source : 1494c72c57e9e47dd7e082ef39bc264d348b6224
2013-09-06 10:17:55 +02:00
Ms2ger
6eef18d6d4
Bug 909028 - Remove dead chromium code; r=ehsan, rs=bent
2013-09-06 08:42:41 +02:00
Phil Ringnalda
26ceee4fb5
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
1f32372424
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Wes Kocher
545fbb7bd2
Merge m-c to inbound
2013-09-04 18:04:50 -07:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Thomas Zimmermann
dc68c08511
Bug 853550: Cleanup DBus thread handling, r=qdot
...
For replacing the Bluetooth command thread with a LazyIdleThread,
we need to make sure that the DBus service thread is shutdown from
within the main thread.
This patch changes the DBus stop code to cleanup the DBusThread
structure from the service thread to prevent race conditions during
shutdown. The DBus service thread itself gets shutdown from the main
thread to fulfill the requirements of LazyIdleThread. The patch also
makes sure that it's not possible to accidently dispatch a runnable
while the DBus thread terminates.
2013-08-30 20:18:40 +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
Nicholas Nethercote
01c70c8c97
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Brian O'Keefe
261614859f
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 4; r=mshal
2013-08-15 09:12:40 -04:00
Brian O'Keefe
d118b95a0d
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
1b9e228bfb
Bug 831193 (part 4) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in SharedMemory.cpp. r=cjones.
...
--HG--
extra : rebase_source : 0781ae1c947ba8312bdc7b71d969c3a56b7a7ae4
2013-01-15 21:29:48 -08:00
Nicholas Nethercote
3c5b0c6b29
Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
...
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07: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
Ed Morley
fe89e116ad
Merge latest green b2g-inbound changeset and mozilla-central
2013-08-27 15:17:56 +01:00
Eric Chou
1e2631f053
Bug 902460 - Close socket before NotifyError(), r=qdot
2013-08-27 12:10:48 +08:00
Birunthan Mohanathas
fdbc9a2330
Bug 784739 - Switch from NULL to nullptr in ipc/glue/. r=ehsan
2013-08-23 15:51:58 -04:00
Birunthan Mohanathas
8923c06ee9
Bug 784739 - Switch from NULL to nullptr in ipc/. r=ehsan
2013-08-23 15:51:44 -04:00
Nicholas Nethercote
36ec1052f2
Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
...
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Nathan Froyd
05b3cb417a
Bug 908208 - part 3 - move guts of FatalError out-of-line to ProtocolUtils.cpp; r=bent
2013-08-22 10:39:32 -04:00
Nathan Froyd
5555ce97f3
Bug 908208 - part 2 - declare FatalError as MOZ_NEVER_INLINE rather than virtual; r=bent
2013-08-22 10:06:50 -04:00
Nathan Froyd
f4d8955973
Bug 908208 - part 1 - add support for MOZ_NEVER_INLINE to MethodDecl; r=bent
2013-08-22 10:06:21 -04:00
Ms2ger
f805d8d6eb
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
8040c0cadd
Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage.
2013-08-22 10:16:30 +02:00
Ms2ger
1c4d224f0e
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Nicholas Nethercote
b62bcfa0e3
Bug 905017 (part 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
...
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : ecce9699ddb45535aa94d5e3add901f5a8620c46
2013-08-19 23:43:47 -07:00
Nicholas Nethercote
2585de9a07
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
David Zbarsky
9117aef526
Bug 879475 - Rename the MsgStart messages to MsgStartChild for child protocols r=jlebar
2013-08-20 15:46:41 -04:00
David Zbarsky
7ea8d07357
Bug 885653 - Add support for IPDL bridges that connect two of the same protocol r=jlebar
2013-08-20 15:46:41 -04:00
Jeff Muizelaar
5bfbf126a7
Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
...
This helps us include less.
--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Ryan VanderMeulen
a4125b396c
Backed out changeset 09274cc38453 (bug 869167) for OSX crashes.
2013-08-16 16:56:06 -04:00
Andrey Zaytsev
4cf3ec0900
Bug 869167 - Firefox hangs on Mac when ASan-built plugin is used in non-ASan build. r=bsmedberg
2013-08-16 15:31:03 -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
Nicholas Nethercote
785fe13da4
Bug 904962 (part 5) - Don't #include jsprf.h in three places it isn't needed. r=luke.
...
--HG--
extra : rebase_source : 9fb24d11c47bab29be9bf3027e78a92819a3e3ae
2013-08-11 23:34:14 -07:00
Brian O'Keefe
263f163332
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Brian O'Keefe
61565e4086
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -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
Ms2ger
1a5ae526d9
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +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
Carsten "Tomcat" Book
5aaa5a7aa3
merge mozilla-central to b2g-inbound
2013-08-13 13:57:37 +02:00
David Anderson
97dabc4cb4
Prevent deadlocks when sending sync messages during urgent in-calls (bug 900062, r=cjones).
2013-08-12 16:21:54 -07:00
Kan-Ru Chen (陳侃如)
41345e7739
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Mike Hommey
e2ff646a3c
Bug 901414 - Fix ipc/chromium to build for GNU/kFreeBSD. r=bsmedberg
2013-08-10 15:54:00 +09:00
Mark Hammond
52f4cb206c
Bug 902790 - prevent browser crash if child process fails to start. r=jlebar
2013-08-09 16:23:24 +10:00
Nicholas Nethercote
d8f824e34e
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
8ce53f9ffd
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Ed Morley
e4bcd96d08
Merge mozilla-central and inbound
2013-08-07 16:19:03 -07:00
Terrence Cole
3438cc1b1a
Bug 902236 - Fix an exact rooting hazard in ~XPCShellEnvironment; r=jonco
2013-08-07 16:14:20 -07:00
Terrence Cole
24a5b6b39c
Bug 902231 - Fix two exact rooting hazards in XPCShellEnvironment; r=jonco
2013-08-07 16:13:34 -07:00
Ryan VanderMeulen
b6361891bd
Merge m-c to fx-team.
2013-08-07 14:46:19 -04:00
Jim Mathies
927cdb51b4
Bug 888236 - Add metro specific window classes and messages to ipc defer message processing. r=bsmedberg
2013-08-07 09:55:12 -05:00
Ms2ger
025498f403
No bug - Remove dead assignment from ipc/nfc/Makefile.in.
2013-08-02 09:09:22 +02:00
Ms2ger
ee0442e9f6
Bug 899261 - Use @DEPTH@ more; r=bsmedberg
2013-08-02 09:04:38 +02:00
Nicholas Nethercote
9624be5713
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Gregory Szorc
1340edfe51
Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
...
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.
The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.
Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07: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
Nicolas Silva
8592c4c12d
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
Bobby Holley
98a0425f0f
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Nathan Froyd
dbc0a775d9
Bug 897539 - uninline ProtocolErrorBreakpoint to avoid code and string bloat; r=bent
2013-07-24 12:38:24 -04:00
Jon Coppeard
20fb51afdd
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
ce93df92db
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
9709d43d76
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01: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
Joshua Cranmer
fd7dc9022e
Bug 884061 - Part 3m: Use NS_DECL_THREADSAFE_ISUPPORTS in ipc/, r=bent
...
--HG--
extra : rebase_source : 77f707d086624cc908a4e39935aa2a03f16543fb
2013-07-18 21:23:32 -05:00
Ed Morley
3bcb2143f6
Merge latest green inbound changeset and mozilla-central
2013-07-23 13:56:12 +01:00
Thomas Zimmermann
171a691f3a
Bug 891866: Use AtomicRefCounted for RawDBusConnection, r=Ms2ger
...
RawDBusConnection incorrectly uses detail::RefCounted, which it
shouldn't. This patch converts it to use AtomicRefCounted instead.
--HG--
extra : rebase_source : 229bbbae3b43a47b362ab73dba5d1134a5ae1dac
2013-07-23 11:00:20 +02:00