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 |
|
Gregory Szorc
|
6f07211b56
|
Bug 794580 - mach mercurial-setup; r=nalexander
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : b5cfc81d1a0537b5ae25a76c3ccc604383f60f6c
|
2013-07-29 16:58:40 -07:00 |
|
Mike Hommey
|
fa8d1e106e
|
Bug 893976 - Add a mach command to update uuids for specific interfaces and their descendants. r=gps
|
2013-07-30 08:57:28 +09:00 |
|
Ryan VanderMeulen
|
78c8d092c8
|
Merge m-c to inbound.
|
2013-07-29 18:42:45 -04:00 |
|
Michael Wu
|
df4f7c13a0
|
Bug 898810 - Use bionic's getline where available, r=benwa
|
2013-07-29 13:17:28 -04:00 |
|
Trevor Saunders
|
6b3c839046
|
backout bug 886526 because it probably made us use a lot more memory to link on windows
|
2013-07-29 11:03:21 -04:00 |
|
Ehsan Akhgari
|
81b0d336c3
|
Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer
|
2013-07-18 12:06:38 -04:00 |
|
Xavier Fung
|
e6b61de197
|
Bug 892858 - Fix profiler build in Visual Studio 2013. r=snorp
|
2013-07-18 10:13:01 +09:00 |
|
Benoit Girard
|
36c273f61b
|
Bug 887826 - Disable multi-threaded profiling on b2g to reduce memory usage. r=jseward
--HG--
extra : rebase_source : c3403864cd772414ddbf5bbda30e65322832e085
|
2013-07-16 09:56:43 -04:00 |
|
Graeme McCutcheon
|
be31237f1a
|
Bug 893830 - implement mach uuid. r=gps DONTBUILD
|
2013-07-15 18:00:09 +01:00 |
|
Jed Davis
|
54bfab9cb0
|
Bug 892201: replace SPS signal handler completion busy loop with POSIX semaphore. r=benwa
--HG--
extra : rebase_source : 48bfcc1a352ae600dd1294d5b5e122ad0c58a745
|
2013-07-11 23:41:19 -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 |
|
Jim Chen
|
2ce559c4bd
|
Bug 888473 - Start GeckoJavaSampler early when profiling startup; r=BenWa
|
2013-07-09 16:34:44 -04:00 |
|
Trevor Saunders
|
6be251fe42
|
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
|
2013-06-25 11:15:21 -04:00 |
|
Mike Shal
|
37bbfefcec
|
Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4); r=joey
|
2013-07-01 11:34:30 -04:00 |
|
Benoit Girard
|
1a59b1cd2a
|
Bug 872947 - Release pseudostack when unregister thread. r=snorp
|
2013-05-16 11:38:23 -04:00 |
|
Ehsan Akhgari
|
c574bc3e98
|
Bug 579517 follow-up: Remove NSPR types that crept in
|
2013-06-23 20:58:53 -04:00 |
|
Benoit Girard
|
9cee99729d
|
Bug 873914 - Allow selecting profiled thread. r=snorp
--HG--
extra : rebase_source : 6623126a111b23f8871af1a2e64d077b67cb0930
|
2013-05-16 16:31:50 -04:00 |
|
Brian O'Keefe
|
25e65a9445
|
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #2); r=mshal
--HG--
extra : rebase_source : 555b28e5c3412ffc210c60b6fe2fee6f053fd587
|
2013-06-18 08:13:42 -04:00 |
|
Brian O'Keefe
|
5f8b5163e8
|
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
|
2013-06-17 15:21:01 -04:00 |
|
Vladimir Vukicevic
|
3674b7925e
|
b=882906; remove EXTRA_DSO_LIBS; r=ted
|
2013-06-13 22:58:22 -04:00 |
|
Aaron Klotz
|
62efa8de18
|
Bug 867762: NSPR and SQLite Main Thread I/O Interposing. r=BenWa
|
2013-06-14 12:01:02 -06:00 |
|
Jim Chen
|
331bf1f64b
|
Bug 863777 - Add and turn on privacy mode in profiler for ANR reports; r=BenWa
|
2013-06-14 12:42:10 -04:00 |
|
Jim Chen
|
56b59b8f9b
|
Bug 863777 - Letting profiler start/stop from a non-registered thread; r=BenWa
|
2013-06-14 12:42:10 -04:00 |
|
Joey Armstrong
|
e7afc73381
|
bug 872086: move SIMPLE_PROGRAMS to moz.build (file batch #1) r=mshal
|
2013-06-13 12:02:02 -04:00 |
|
Andrew McCreight
|
af8993b4cb
|
Bug 550335 - fix_macosx_stack for 64-bit. r=ted
|
2012-05-25 09:07:24 -07:00 |
|
Florian Quèze
|
d5a30c061a
|
Bug 878419 - Syntax error in make_incremental_updates.py since bug 841094, r=glandium.
|
2013-06-05 18:19:18 +02:00 |
|
Boris Zbarsky
|
7392630c95
|
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
|
2013-05-30 17:46:48 -04:00 |
|
Trevor Saunders
|
1fcd01f9fb
|
bug 876519 - include ostream instead of iostream in the profiler to get rid of static initializers r=ehsan
|
2013-05-27 08:29:24 -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 |
|
Joey Armstrong
|
587e59a37b
|
bug 870406: move to moz.build (config batch #1) r=mshal
|
2013-05-24 17:21:14 -07:00 |
|
L. David Baron
|
880be2823f
|
Bug 855081: Make jprof compile for me by switching from cplus_demangle (which doesn't link) to abi::__cxa_demangle. r=jesup
|
2013-05-13 15:37:00 -07:00 |
|
Joey Armstrong
|
2dbf79e9a4
|
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
|
2013-05-13 16:24:07 -04:00 |
|
Brian O'Keefe
|
2186ab5dce
|
Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps
|
2013-05-01 14:05:40 -04:00 |
|
Gregory Szorc
|
408aacec08
|
Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
|
2013-05-08 17:56:30 -07:00 |
|
Ehsan Akhgari
|
a27ad7fae1
|
Bug 869784 - Fix rooting hazards in the profiler; r=BenWa,till
X-Git-Commit-ID: da732de921f64d9bd6ea028ed384d2d5c80de66f
X-Mailer: git-send-email
|
2013-05-08 20:21:37 -04:00 |
|
Mike Hommey
|
9aab515c1d
|
Bug 777379 - Set .DEFAULT_GOAL unconditionally, override with OVERRIDE_DEFAULT_GOAL, and fix pymake to be on par with GNU make when handling .DEFAULT_GOAL. r=gps
|
2013-05-05 10:16:25 +02:00 |
|
Gregory Szorc
|
865b1ce89b
|
Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal
|
2013-05-03 09:54:45 -07:00 |
|
Ryan VanderMeulen
|
9e80ef1555
|
Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
CLOSED TREE
|
2013-04-30 21:09:41 -04:00 |
|
Brian O'Keefe
|
6cb4a9b9be
|
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
|
2013-04-30 20:46:10 -04:00 |
|
Julian Seward
|
dbc52d6c45
|
Bug 863705 - SPS breakpad: show frame-trust statistics in the debugging log. r=bgirard
|
2013-05-01 01:00:26 +02:00 |
|
Ryan VanderMeulen
|
d1a59f8eab
|
Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures.
|
2013-04-30 10:08:38 -04:00 |
|
Brian O'Keefe
|
43eddbd12b
|
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
|
2013-04-30 09:08:31 -04:00 |
|
Joey Armstrong
|
8e99512c32
|
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
|
2013-04-29 14:49:00 -04:00 |
|
Benoit Girard
|
98a0c63b26
|
Bug 865915 - Fixed unmatched JS_EndRequest. r=mccr8
|
2013-04-29 14:33:47 -04:00 |
|
Benoit Girard
|
37a779f06d
|
Bug 853358 - Add plugin profiling support. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 70dfd31809cb644f6405bd144a2e8373268a461c
|
2013-03-21 10:17:23 +01:00 |
|
Benoit Girard
|
e33ac87898
|
Bug 788022 - Bustage fix for ANDROID define on a CLOSED TREE. r=bustage
|
2013-04-23 14:33:38 -04:00 |
|
Benoit Girard
|
755a4f5c71
|
Bug 788022 - Add support for dalvik profiling. r=snorp,kats
--HG--
extra : rebase_source : 3eb56af40018a546586fd0fb33e343589ddcf207
|
2013-04-23 13:10:29 -04:00 |
|