Ed Morley
4725c2903e
Bug 977961 - mach mercurial-setup: Avoid prompting to enable mqext auto-commit when already enabled; r=gps
...
DONTBUILD (NPOTB)
2014-02-28 16:43:01 +00:00
Ed Morley
73a2741644
Bug 977414 - mach mercurial-setup: Fix hgrc paths for extensions on Windows; r=gps
2014-02-27 10:10:22 +00:00
Ed Morley
b040d4ca67
Bug 977384 - mach mercurial-setup: Remaining cleanup; r=gps
2014-02-27 10:10:22 +00:00
Ed Morley
3c5fd11b96
Bug 977384 - mach mercurial-setup: Refactor part 2; r=gps
2014-02-27 10:10:21 +00:00
Ed Morley
64447705d7
Bug 977384 - mach mercurial-setup: Refactor part 1; r=gps
2014-02-27 10:10:20 +00:00
L. David Baron
9c9aa42fb5
Bug 331743 patch 5: Fix -Wformat warnings in leaksoup.cpp related to 32-bit vs. 64-bit sizes. r=khuey
2014-02-26 13:36:36 -08:00
L. David Baron
46a4a005b5
Bug 331743 patch 4: Fix -Wshadow warning in leaksoup.cpp. r=khuey
2014-02-26 13:36:36 -08:00
L. David Baron
ce2618e327
Bug 331743 patch 3: Improve trace-malloc memory dumps and their handling on 64-bit. r=khuey
...
There are three categories of improvements:
(1) using size_t* rather than unsigned long* (and "%zX" rather than
"%lX"), to better support platforms where sizeof(long) !=
sizeof(void*), such as Win64 (untested, though). This is a
non-issue for 64-bit Linux (where I tested) and Mac.
(2) Using the correct amount of 0-padding when printing addresses to
show how much memory space is being printed. In other words, using
"%016zX" on 64-bit platforms instead of "%08zX". This change is
cosmetic-only, though it makes the logs much more understandable.
(3) [in leaksoup.cpp only] Fixing an occurrence of assuming that
sizeof(int) == sizeof(void*). This occurrence led to printing only
the lower half of each word in the output, after doing a correct
analysis of the memory graph.
This patch is patching three files:
(A) nsTraceMalloc.cpp, which is the in-process Gecko trace-malloc code
that generates the memory dumps.
(B) adreader.cpp, which is shared utility code for reading such a
memory dump (currently used only by leaksoup.cpp)
(C) leaksoup.cpp, which reads in such a memory dump, performs a
strongly connected components analysis of the memory graph, and
writes it back out, HTML-ized, with the roots listed at the top.
A fourth file appears to need no modification since it only looks at the
stack part of the dump and not the contents of the memory:
(D) diffbloatdump.pl, which diffs two bloat dumps and produces a stack
tree showing the change in allocations between them
2014-02-26 13:36:36 -08:00
L. David Baron
5e307581fa
Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
...
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.
The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.
--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
Ed Morley
39430bc433
Bug 976892 - Update mach mercurial-setup to use qimportbz from it's new home in version-control-tools; r=gps
...
qimportbz is now pulled from its new canonical home. The old location can
be cleaned if the user agrees to it. The new location is updated in the
hgrc.
DONTBUILD (NPOTB)
2014-02-26 17:28:09 +00:00
Viktor Stanchev
34421a7556
Bug 970494 - Markers should be time based and not sample based. r=bgirard
...
--HG--
extra : rebase_source : 5401e1145c771878a1caa384d79e2dc1d0a1855c
2014-02-25 10:40:45 -05:00
L. David Baron
fbe4a24ac9
Back out changeset 72c0c955cf53 (no bug) now that bug 939610 is fixed.
2014-02-24 15:27:53 -08:00
Jim Chen
47f44e0479
Bug 974986 - Always specify stack address in SamplerStackFramePrintfRAII; r=BenWa
2014-02-24 12:27:58 -05:00
Jim Chen
1d7838e5f6
Bug 974980 - Always push a js:RunScript frame in pseudostack; r=BenWa
2014-02-24 12:27:58 -05:00
Chris Peterson
10a0737dbc
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=BenWa r=bsmedberg r=mccr8
2014-02-17 22:10:50 -08:00
Ryan VanderMeulen
73306afda2
Merge inbound to m-c.
2014-02-20 15:13:01 -05:00
Dave Huseby
d95232279f
Bug 972536 - Add a tool for gathering USS memory data for a process over time for memory leak detection. r=dbaron
2014-02-20 08:50:54 -05:00
Chris Peterson
64487f63e2
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Andrew McCreight
f25aeef35c
Back out bug 712939 for not getting fully reviewed.
2014-02-20 06:40:56 -08:00
Emanuel Hoogeveen
8f4969bd77
Bug 971094 - Part 0: Add some null checks to the profiler's usage of Observation::Filename(). r=BenWa
2014-02-20 08:43:55 -05:00
Daniel Holbert
682b66552e
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
796b530a80
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Aaron Klotz
b2f2849ca8
Bug 973899: Fix usage of temporary string that was causing crashes; r=ehsan
2014-02-18 10:13:51 -07:00
L. David Baron
d3ea454fd4
Make fix-linux-stack handle addresses with lowercase hexidecimal, since that seems to be the thing these days. No bug.
...
(mrbkap, I, and ehoogeveen have all seen lowercase lately.)
2014-02-17 20:07:45 -08:00
Masatoshi Kimura
9f0004eb6e
Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc
2014-02-18 07:32:52 +09:00
Benoit Girard
d2ef11b70d
backout e9c0d692b2cf (bug 970494) for warning failures. r=backout
...
CLOSED TREE
2014-02-13 16:13:32 -05:00
Viktor Stanchev
19c4ad3f7f
Bug 970494 - Markers should be time based and not sample based. r=bgirard
...
--HG--
extra : rebase_source : c1e3e77fa8f7ad2c5eec7f092d96bf3719db3a8c
2014-02-13 13:43:48 -05:00
Viktor Stanchev
ac9720bf2c
Bug 962325 - Add filename to profiler I/O markers. r=bgirard
...
--HG--
extra : rebase_source : 6ec4d08834f57946681b65064c1e5764572d28e7
2014-02-13 13:32:38 -05:00
Gregory Szorc
984d098d23
Bug 971683 - Remove tools/l10n; r=bsmedberg
...
--HG--
extra : rebase_source : 12c3b29df1e7333c5abc6768f853ed41291b1ddb
extra : amend_source : 7d0566143465dea662e05bd9351cb02c3eb9e8d4
2014-02-12 14:20:15 -08:00
Jon Coppeard
25c1a75044
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Ehsan Akhgari
d1964b92f6
Bug 970727 - Move DEFFILE to moz.build; r=mshal
2014-02-11 11:28:54 -05:00
Brian O'Keefe
e3f6084e7a
Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal
2013-11-05 13:37:54 -05:00
Ehsan Akhgari
82ebdc883f
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Nathan Froyd
b1902b6e57
Bug 968932 - remove unused <*stream> headers from platform-linux.cc; r=BenWa
2014-02-06 12:49:32 -05:00
Ryan VanderMeulen
9bf72037e1
Merge m-c to inbound on a CLOSED TREE.
2014-02-06 16:29:41 -05:00
Gregory Szorc
c41c3e30ca
Bug 968259 - Update mach mercurial-setup to work with new unified VCS tools repo; r=ted
...
bzexport is now pulled from its new canonical home. The old location can
be cleaned if the user agrees to it. The new location is updated in the
hgrc.
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : f7737bcf7b528df9b8130ecb3cf73f4d74280d3b
extra : amend_source : b9a1a0b656b1e350cf161db386cf7986cac6a430
2014-02-05 14:12:15 -08:00
Ryan VanderMeulen
b6e3d2440f
Backed out changeset f4c91d9262f1 (bug 965373) for test_profiler_activation.js timeouts on Windows debug.
2014-02-06 14:34:05 -05:00
Andrew McCreight
288339af41
Bug 967215 - Fix fix_macosx_stack.py. r=njn DONTBUILD
2014-02-06 11:31:49 -08:00
Ryan VanderMeulen
9cc11c88bd
Backed out changeset 7abb50d91618 (bug 962325) for bustage.
...
CLOSED TREE
2014-02-06 12:29:13 -05:00
Viktor Stanchev
05a67520f6
Bug 965373 - When the profiler stops it doesn't stop the EventTracer thread; r=bgirard
...
---
toolkit/xre/EventTracer.cpp | 48 +++++++++++++++++++++++++++++++------------
tools/profiler/nsProfiler.cpp | 3 +++
2 files changed, 38 insertions(+), 13 deletions(-)
--HG--
extra : rebase_source : 249b164d232320bbec25de2b13d23ed87ffff842
2014-02-06 11:59:25 -05:00
Viktor Stanchev
243df05a74
Bug 962325 - Add filename to profiler I/O markers. r=bgirard
...
--HG--
extra : rebase_source : e823b394eb547bcdf5f6f4970959add8d5a81710
2014-02-06 11:44:46 -05:00
Jim Chen
b8dad8a3fb
Bug 959931 - Use open/mmap for libmozglue unwinding; r=jseward
2014-02-05 12:37:54 -06:00
Aaron Klotz
3e37f64342
Bug 902587 - Part 2B: filename method for PoisonIOInterposer; r=BenWa,ehsan
2014-01-31 20:14:03 -07:00
Viktor Stanchev
dce58d3699
Bug 962731 - Properly save root profiler tags in profiles. r=ehsan
2014-01-30 13:13:23 -05:00
Anthony Jones
e0b4805516
Bug 965120 - Git support for mach clang-format; r=gps
2014-01-30 14:27:44 +13:00
Anthony Jones
9dc5bfae01
Bug 965120 - Use .clang-format to set tree default format; r=gps
2014-01-30 14:27:44 +13:00
Anthony Jones
3217142ab5
Bug 965120 - Add --show option to mach clang-format; r=gps
2014-01-30 14:27:44 +13:00
Anthony Jones
d02ad93210
Bug 962954 - Add clang-format downloading support for OSX; r=gps
2014-01-28 14:11:46 +13:00
Jon Coppeard
7d118df1ce
Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz
2014-01-25 09:31:17 +00:00
Ryan VanderMeulen
f9b09db3f5
Merge b2g-inbound to m-c.
2014-01-24 17:10:15 -05:00
Gregory Szorc
2130cc9d04
Bug 947596 - Install RBTools from Git; r=mconley
...
RBTools as released on PyPI has a number of bugs and deficiencies with
the Mercurial implementation. These have been fixed in an unreleased
version of RBTools.
Until RBTools with the desired patches is released to PyPI, we will
install RBTools direct from its source repository.
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 8fe09b80d8dd5583ba957b4525563cde678b3b3d
extra : amend_source : b41e0d492ff7d1f78bd0462782459c3dc8e95041
2014-01-24 13:06:30 -08:00
Anthony Jones
8a28a0190d
Bug 952379 - Add a clang-format-diff helper to mach; r=gps
2014-01-08 14:51:44 +13:00
Cervantes Yu
4214654038
Bug 961959: fix profiler breakage for the Nuwa process. r=khuey,benwa
2014-01-22 18:56:45 +08:00
Calixte Denizet
d4ba9e7d2a
Bug 944892 - Add uintptr_t casts to fix bustage with -Werror=int-to-pointer-cast set. r=dbaron
2014-01-21 13:53:48 -05:00
Aaron Klotz
92330c401b
Bug 888534: Add missing operations to IOInterposer::Unregister; r=jonasfj
2014-01-20 16:02:51 -07:00
Nick Thomas
dc89eb8104
Backout 4b71e71c27a5 for removing update-settings.ini from installs
2014-01-20 17:14:29 +13:00
Ryan VanderMeulen
b43ef033c1
Merge b2g-inbound to m-c.
2014-01-19 15:40:48 -05:00
Jed Davis
86e54f7c97
Bug 960350 - Display untranslated symbols correctly after merging profiles. r=BenWa
...
Also, set off the pid from the address with a colon instead of
hard-coding a field width, in case we ever get >16-bit pids.
2014-01-17 14:32:22 -05:00
Terrence Cole
3e141bbf5e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Tom Schuster
5e3191afd2
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Nick Thomas
5788c83e54
Bug 908134, exclude update-settings.ini from mar files, r=bhearsum DONTBUILD
2014-01-16 12:24:12 +13:00
Terrence Cole
20431f8abe
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
...
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Gijs Kruitbosch
6d0932f8f1
Bug 958302 - offer the rebase extension through hg-setup, r=gps
...
DONTBUILD
2014-01-10 12:13:37 +00:00
Benoit Girard
5e0630ee9e
Bug 952074 - Add configure option --enable-systrace to b2g. r=vlin,glandium
2014-01-08 11:12:02 -05:00
Birunthan Mohanathas
75d56a8d75
Bug 784739 - Switch from NULL to nullptr in js/src/devtools/vprof/ and tools/{jprof,trace-malloc}/; r=ehsan
...
--HG--
extra : rebase_source : e44e854e1c946c89c38bbef73c53fe8a48510f65
2014-01-06 10:07:38 -05:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ms2ger
6c7c16c6b2
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00
Gregory Szorc
461b5aef7e
Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
...
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.
We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.
--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Gregory Szorc
9f3d7f1a2e
Bug 949906 - Add a callback to modify evaluated moz.build sandboxes, fix Sphinx docs; r=glandium
...
--HG--
extra : rebase_source : 9ef2219145fb754a9cbe9e7e30b6f2841910f13f
2013-12-13 16:06:53 +09:00
Gregory Szorc
8afc2e31c5
Bug 939367 - Part 2: Move requirements.txt into tools/docs
...
Trivial change. No review.
DONTBUILD (NPOTB)
--HG--
rename : build/docs/requirements.txt => tools/docs/requirements.txt
2013-12-12 18:10:04 +09:00
Gregory Szorc
a021b88964
Bug 939367 - Allow Sphinx docs to come from all over the tree; r=glandium
...
--HG--
extra : rebase_source : 1c1a444a78c0dfce110db3890e29543eeb67f3aa
2013-11-20 12:37:22 -08:00
Ehsan Akhgari
733a324986
Bug 948327 - Do not leak the payload object passed to mozilla_sampler_add_marker() if we don't end up using it; r=BenWa
2013-12-10 16:34:19 -05:00
Birunthan Mohanathas
58325c73be
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Gregory Szorc
dde903e862
Bug 945577 - Followup to mach rbt so argument parsing works as expected
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 7923ee6b52aaba9eb3ab205a68517608e43894c8
2013-12-07 09:30:19 +09:00
Gregory Szorc
af2f8c6ed4
Bug 945577 - mach rbt command to run ReviewBoard Tools; r=ahal
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 875c6e602bf459bc99327dba1dc09adc20ac363e
extra : amend_source : 43e0a79f59ff2e68d582a0279bfdfd174c880e6d
2013-12-06 11:35:52 +08:00
Mike Hommey
06d6d3c5cf
Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal
2013-12-03 06:34:21 +09:00
Ehsan Akhgari
955a196f53
Bug 944844 - Disambiguate the printf functions in GeckoProfilerImpl.h so that they don't conflict with the ones defined in chromium's namespace base; r=BenWa
2013-12-02 12:29:49 -05:00
Ehsan Akhgari
c08848cf5a
Bug 944387 - Remove the dead OS X Mutex implementation from the profiler; r=BenWa
2013-11-28 14:35:45 -05:00
Ehsan Akhgari
30ed55ded5
Follow-up to bug 941693 - Fix mac builds
2013-11-28 09:09:57 -05:00
Benoit Girard
6bc767889b
Bug 941693 - Build tools/profiler in unified mode; r=ehsan
2013-11-21 12:08:01 -05:00
Mike Hommey
fdd3247a81
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2f727b6d62
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
b038245b8d
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Jim Chen
962919d092
Bug 935092 - Const-ify profiler pseudostack entries; r=BenWa
2013-11-22 14:17:30 -05:00
Wes Kocher
60d2ec27bd
Merge m-c to inbound
2013-11-21 19:18:18 -08:00
Gregory Szorc
0fe9f79f9d
Bug 941833 - mach mercurial-setup should define host fingerprints during repo operations; r=nalexander
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 64bfe02d9f27009ab896b09c54fe7e48953a280d
2013-11-21 12:19:32 -08:00
Ryan VanderMeulen
3348c203b7
Merge m-c to fx-team.
2013-11-21 15:55:03 -05:00
Gregory Szorc
07f621b716
Bug 940454 - Update hg.mozilla.org certificate fingerprint.
2013-11-19 09:11:53 -08:00
Chris Kitching
43102ed4c2
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Jed Davis
7c934c4325
Bug 940167 - More specificity for which mappings might be libraries on B2G. r=BenWa
...
Note that we don't want this extra check on regular Android, because
there's Dalvik jitcode in ashmem, and any mappings that aren't that
special ashmem file will already be excluded (because everything else is
handled through dl_iterate_phdr).
2013-11-19 09:00:24 -05:00
Mike Hommey
931cb49886
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
636b672657
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
2013-11-19 11:47:45 +09:00
Mike Hommey
b18be7aacd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Jed Davis
7ee3876782
Bug 914190 - Use std::getline instead of C getline to parse /proc/N/maps. r=BenWa
...
Android's C getline (present in JB and up) calls libc's malloc directly,
but its caller in Gecko is linked to jemalloc's free via mozglue; this
caused a crash on profiler startup.
2013-11-12 08:47:23 -05:00
Birunthan Mohanathas
87a8df9112
Bug 784739 - Switch from NULL to nullptr in tools/profiler/; r=ehsan
2013-11-11 14:16:31 -05:00
Joe Olivas
0343449ea7
Bug 769431 - Correlate power data from Intel Power Gadget in performance profiles. r=BenWa
2013-10-08 10:05:25 -04:00
Mike Hommey
53e380d1ff
Bug 935387 - Remove non recursed install targets. r=mshal
2013-11-07 10:37:45 +09:00
Kai-Zhen Li
0f8fc0a9bf
Bug 934924 - Check EI_ABIVERSION for jb4.2.2 build. r=jld
2013-11-06 10:08:42 +08:00
Jonas Finnemann Jensen
698b895a6f
Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa
...
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-11-05 07:45:20 -05:00
Jim Mathies
8381ff844b
Bug 927979 - Follow up to fix bad string null check in profiler. r=benwa
2013-11-04 12:27:40 -06:00
Mike Hommey
0b53da458d
Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal
2013-11-02 08:43:55 +09:00
Daniel Holbert
17bbc689ce
Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg
2013-10-31 19:39:03 -07:00
Nicholas Nethercote
b38b84f869
Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
...
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Ed Morley
d1bfa2dd2c
Merge mozilla-central and inbound
2013-10-25 17:55:18 +01:00
Ed Morley
815b5c0198
Merge mozilla-central and b2g-inbound
2013-10-25 12:12:23 +01:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mason Chang
24a8a3bbcc
Bug 925111 - Enable Profiler to support config options during runtime. r=benwa, jld
2013-10-24 17:09:33 -07:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Ed Morley
89158fb785
Bug 930988 - mercurial-setup: Update the bugzilla.mozilla.org fingerprint to that of the new certificate; r=gps
2013-10-25 14:39:27 +01:00
Ed Morley
d339853f4e
Backed out changeset 2d6c5cbcc213 (bug 902587) for failures during linking on a CLOSED TREE
...
--HG--
rename : xpcom/build/PoisonIOInterposer.h => xpcom/build/mozPoisonWrite.h
rename : xpcom/build/PoisonIOInterposerBase.cpp => xpcom/build/mozPoisonWriteBase.cpp
rename : xpcom/build/PoisonIOInterposerMac.cpp => xpcom/build/mozPoisonWriteMac.cpp
rename : xpcom/build/PoisonIOInterposerWin.cpp => xpcom/build/mozPoisonWriteWin.cpp
2013-10-25 14:24:34 +01:00
Jonas Finnemann Jensen
25dc345fdc
Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer r=BenWa
...
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-10-24 17:02:00 +01:00
Aaron Klotz
ffa98a8a87
Bug 929763: Don't call TickSample::PopulateContext unless native stack walking is enabled; r=BenWa
2013-10-22 21:56:50 -07:00
Wes Kocher
348cfdc998
Merge inbound to m-c
2013-10-22 18:11:06 -04:00
Jim Mathies
e525fd9441
Bug 927979 - Register the gecko thread correctly in the profiler for FxMetro. r=bgirard
2013-10-22 08:30:06 -05:00
Ehsan Akhgari
ca0cdad832
Bug 928712 - Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg
2013-10-20 22:59:48 -04:00
Ehsan Akhgari
1b7df9a2ad
Backed out changeset 0ddbf9b3b20c (bug 928712) because of build bustage
2013-10-20 09:42:51 -04:00
Ehsan Akhgari
a63b803a55
Bug 928712 = Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg
2013-10-20 09:10:07 -04:00
Ms2ger
d122c47c78
Bug 923395 - Part c: Remove some makefiles that set EXPORT_LIBRARY; r=gps
2013-10-20 09:25:19 +02:00
Joshua Cranmer
df0c3131ef
Bug 900526, part 4: Migrate FINAL_TARGET and XPI_NAME to moz.build, r=gps
2013-10-21 13:09:06 -05:00
Jed Davis
faafac57a8
Bug 916106 - Avoid unwind loop when erroneously in leaf. r=BenWa
2013-10-16 14:42:49 -04:00
Anhad Jai Singh
ecd84446bf
Bug 902209 - Add mach pastebin; r=gps
2013-10-16 10:13:00 -07:00
Aaron Klotz
5ce7b54dd1
Bug 899782: Enable NS_StackWalk for obtaining sync stacks in profiler. r=BenWa
2013-10-15 13:06:20 -06:00
Aaron Klotz
e34c65de64
Bug 921330: Fix sync unwind on Mac OS X. r=BenWa
2013-10-15 12:58:52 -06:00
Jed Davis
1d3215af4b
Bug 919078 - Add js to async profiler start options. r=BenWa
2013-10-12 13:56:21 -04:00
Benoit Girard
8add8ce2c1
Bug 918825 - Add frame duration marker. r=ehsan
...
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Ms2ger
ae8c899faf
Merge m-c to inbound.
2013-10-03 11:09:17 +02:00
Jacek Caban
39d73e79f9
Bug 921435 - Use the right TimeStamp in GeckoProfilerFunc.h. r=aklotz
2013-10-03 10:53:07 +02:00
Ms2ger
df62fb8b0f
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Ms2ger
6b293d77c2
Bug 922288 - Remove some unnecessary boilerplate from Makefile.ins; r=mshal
2013-10-03 09:10:00 +02:00
Graeme McCutcheon
8e28e1568d
Bug 893830 - Followup based on feedback: output both forms by default. r=gps DONTBUILD
2013-10-02 09:06:39 +01:00
Phil Ringnalda
5a81259d62
Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes
2013-10-01 22:46:48 -07:00
Benoit Girard
b73cfdb32c
Bug 918825 - Add frame duration marker. r=ehsan
2013-09-27 12:08:45 -04:00
Aaron Klotz
11c9be632f
Bug 888534: Add support for Create, Stat and Close operations to IOInterposer. r=jonasfj
...
--HG--
extra : rebase_source : 6b7e75ae35e3250383f3990dce2680df44f4ec68
2013-10-01 13:53:19 -06:00
Benoit Girard
ce90e19080
Bug 920909 - Fix lossy startTime fields serialization. r=ehsan
2013-09-27 11:51:25 -04:00
Ryan VanderMeulen
0cfa34ad65
Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
...
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Chris Kitching
9eed6c7f16
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
9a58f0b9f9
Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
...
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
0d37cfdd60
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Ed Morley
aac3f11145
Bug 909937 - Output more useful error messages for |mach mercurial-setup| parsing exceptions; r=gps
2013-09-26 13:36:50 +01:00
Benoit Girard
7d09c35b6b
Bug 918833 - Improved profiler thread register. r=ehsan
2013-09-24 15:23:36 -04:00
Aaron Klotz
357cc58abb
Bug 867757, Part 2: Gives SPS the ability to immediately sample the current thread's stack and annotate it. r=BenWa
2013-09-25 09:28:34 -06:00
Benoit Girard
0febbc3b15
No bug. Improve the name of the main thread for profiling. DONTBUILD
...
--HG--
extra : rebase_source : 448d0145200659a67a77acbef36e74ff2c17c934
2013-09-24 15:20:18 -04:00
Ryan VanderMeulen
de22f29668
Merge m-c to inbound.
...
--HG--
rename : widget/gtk2/nsGtkIMModule.cpp => widget/gtk/nsGtkIMModule.cpp
2013-09-23 17:10:33 -04:00
David Major
a23102aee7
Bug 918906 - Add VS2013 debug dll name to trace-malloc. r=dbaron
2013-09-23 09:22:30 -04:00
Ehsan Akhgari
b91ba4ba3a
Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg
2013-09-23 13:29:27 -04:00
Ehsan Akhgari
dee6c12c6f
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Joey Armstrong
838b8f2bba
bug 870406: move CSRCS to mozbuild (file batch #3 ). r=mshal
2013-09-20 17:37:36 -04:00
Benoit Girard
4c574901d6
Bug 918581 - Extend merge-profile.py to support secondary threads. r=vlad
...
--HG--
extra : rebase_source : 28357bbb17b15c7cb40c53ee3442bc6366fcf015
2013-09-19 23:24:07 -04:00
Benoit Girard
f63ea9905e
Bug 867757 - Part 1: Allow markers to carry payload. r=aklotz
...
--HG--
extra : rebase_source : 31904aa5f084283bfc23ecfc53762d275967e34b
2013-07-11 00:27:04 -04:00
Ryan VanderMeulen
5be5179c2d
Merge m-c to fx-team on a CLOSED TREE.
2013-09-17 20:27:03 -04:00
Terrence Cole
77df39999e
Bug 916993 - Handlify the public JSString APIs; r=bz,jonco
...
--HG--
extra : rebase_source : 35c5d7832d794ce37be622db3140309d2605c212
2013-09-16 18:33:40 -07:00
Gijs Kruitbosch
5931cc9ca6
Bug 902529 - Also check mercurial.ini on Windows, r=gps, DONTBUILD (NPOTB)
2013-09-13 10:50:28 +02:00
Ryan VanderMeulen
5ddfa5577c
Merge m-c to fx-team.
2013-09-14 23:08:59 -04:00
Jonas Finnemann Jensen
64da54d218
Bug 902587 - Fix missing destructor in IOInterposer.cpp ifndef MOZ_ENABLE_PROFILER_SPS. r=aklotz
2013-09-14 22:08:11 -04:00
Ryan VanderMeulen
183be64998
Merge m-c to inbound.
2013-09-12 22:30:22 -04:00
Ryan VanderMeulen
0c7227eaf3
Merge m-c to b2g-inbound.
2013-09-12 20:41:54 -04:00
Benoit Girard
c983a530c3
Bug 914815 - Support profiler options when starting the profiler with a signal. r=jld
2013-09-11 14:01:16 -04:00
Benoit Girard
2e9783ceb5
Bug 915857 - Check-in merge-profiles.py. r=vladan
2013-09-12 16:31:40 -04:00
Benoit Girard
d168e230c9
Bug 914348 - Name the SamplerThread on linux. r=jld
2013-09-11 13:57:43 -04:00
Terrence Cole
193cf598ae
Bug 877658 - Exactly root tools/profiler/; r=BenWa
...
--HG--
extra : rebase_source : a7c5bbcb64d7b670e170e3c20dda53d03a4f2cc1
2013-09-05 16:10:37 -07:00
Ryan VanderMeulen
9283daa4fd
Merge b2g-inbound to m-c.
2013-09-11 20:58:14 -04:00
Jed Davis
09e49f7930
Bug 810526 - Add an implementation of ARM EHABI stack unwinding for the profiler. r=BenWa r=huseby
2013-09-11 14:53:14 -04:00
Jed Davis
6f0181facb
Bug 810526 - android-signal-defs.h must include signal.h for stack_t. r=bgirard
2013-09-11 14:52:34 -04:00
Jed Davis
f803ea0002
Bug 810526 - Add multiple-include guard to android-signal-defs.h. r=bgirard
2013-09-11 14:51:59 -04:00
Jed Davis
35927b7e79
Bug 810526 - Factor out native/pseudo stack merging. r=bgirard
2013-09-11 14:51:11 -04:00
Jed Davis
2479e5b162
Bug 810526 - Add stack top to Thread{Info,Profile}. r=bgirard
2013-09-11 14:50:46 -04:00
Dan Gohman
586b9aee99
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Ryan VanderMeulen
60407aa9dc
Backed out changeset 508a916a482a (bug 914348) for suspicion of causing Linux mochitest-bc perma-orange.
2013-09-10 15:32:31 -04:00
Benoit Girard
b73c4d22a4
Bug 914348 - Name SamplerThread on linux. r=jld
...
--HG--
extra : rebase_source : 343dec3b5d4b8eaa4a294c54ae1f74b9e0775401
2013-09-10 11:20:09 -04:00
Jonas Finnemann Jensen
3cc74d7732
Bug 902587 - Part 1: Refactor IO Interposer with filename support. r=aklotz
2013-09-12 10:47:37 -04:00
Ms2ger
279ef8f6af
Bug 870407 - Move final batch of CMMSRCS to moz.build and disallow it in makefiles; r=khuey
2013-09-06 08:40:41 +02:00
Robert O'Callahan
8ca63f18ef
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Jonas Finnemann Jensen
d9916c1618
Bug 910658 - Add "qnew = -U" to defaults section in mach mercurial-setup; r=gps
...
DONTBUILD (NPOTB)
2013-09-04 15:32:00 -07:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Nicholas Nethercote
d74157039d
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
Nicholas Nethercote
b6d6b342af
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
Gregory Szorc
7fffd76ed8
Bug 909867 - Fix case on WhichError in mercurial setup wizard; r=trivial
...
DONTBUILD (NPOTB)
2013-08-27 11:44:54 -07:00
Jan Beich
9f835d498a
Bug 909139 - Define integer types before using them for profiler stubs. r=ms2ger
2013-08-25 22:10:46 +02:00
Gabriele Svelto
619cc7ccf1
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
b5df99e7e3
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
b6e8140bfc
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Jan Beich
a50d6ca967
Bug 908476 - JSObject/JSContext are also used by non-SPS profiler. r=njn
2013-08-23 09:16:02 +02:00
Nicholas Nethercote
601047fd0b
Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
...
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Ms2ger
4af9d89266
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
707d12dbb2
Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage.
2013-08-22 10:16:30 +02:00
Ms2ger
cb6087d9f7
Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
4d0ead0110
Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium
2013-08-22 08:56:01 +02:00
Ms2ger
66214743ad
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
584215995c
Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey
2013-08-22 08:31:21 +02:00
Nicholas Nethercote
27d4a3235f
Bug 905017 (part 3) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
...
--HG--
extra : rebase_source : 8322f1c96b95685912375484172d47f53107947f
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
b89a8ac1c0
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
Cykesiopka
9ded83b1ab
Bug 861761 - Remove <blink> in perf-doc.html. r=dbaron
2013-08-19 08:48:24 -04:00
Julian Seward
033f7603b9
Bug 894264 - Breakpad Stack scan: don't generate frames we aren't going to use. r=ted.
2013-08-16 21:03:54 +02:00
Ms2ger
3d504dcb66
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
c2315a28ab
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
4579943f93
Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
...
* * *
FOLD
2013-08-14 09:00:13 +02:00
Jed Davis
e53abd3d70
Bug 904335 - sem_post on all return paths in ProfilerSignalHandler. r=BenWa
2013-08-13 16:44:46 -04:00
Ed Morley
9a32ee0533
Bug 901898 - Remove codesighs now that it's no longer run in automation; r=gps
2013-08-12 13:10:41 +01:00
Trevor Saunders
b2dc01f1a7
bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium
2013-08-08 20:12:37 -04:00
Benoit Girard
ccf5b21c9c
Bug 820048 - Add microsecond profiling. r=ehsan
...
--HG--
extra : rebase_source : 40fee30c92f7e74dbe1e24778b66813beb8505da
2013-03-26 12:34:27 -04:00
Julian Seward
2e83bdb735
Bug 880158 - Remove glibc backtrace() native unwind on Linux. r=bgirard.
...
--HG--
extra : rebase_source : 0a9e752acfe2cad6ec1995c4d4e823e7d9adef23
2013-08-08 18:48:20 +02:00
Nicholas Nethercote
849635b8f1
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
aa5919539d
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
Gijs Kruitbosch
67a8f23d20
Bug 901481 - add an environment variable to set the number of entries kept by the profiler, r=BenWa
2013-08-05 18:03:22 +02:00
Julian Seward
710e916d72
Bug 892774 - Breakpad Stack scan: speed up MyCodeModules::GetModuleForAddress. r=bgirard.
2013-08-06 10:36:10 +02:00
Jon Coppeard
da8c061053
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Bobby Holley
595cbc9fd5
Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke
2013-08-01 18:38:47 -07:00
Gregory Szorc
6d4af5d774
Bug 899818 - Don't add quotes to values when writing Mercurial configs; r=Gijs
...
DONTBUILD (NPOTB)
2013-07-31 00:07:57 -07:00
Ehsan Akhgari
085494b95d
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
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Gregory Szorc
868c958cee
Bug 794580 - mach mercurial-setup; r=nalexander
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : b5cfc81d1a0537b5ae25a76c3ccc604383f60f6c
2013-07-29 16:58:40 -07:00
Mike Hommey
70e713a366
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
2ef7a9892a
Merge m-c to inbound.
2013-07-29 18:42:45 -04:00
Michael Wu
e015aaa9a9
Bug 898810 - Use bionic's getline where available, r=benwa
2013-07-29 13:17:28 -04:00
Trevor Saunders
64dbc43c4d
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
c069003a4b
Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer
2013-07-18 12:06:38 -04:00
Xavier Fung
f68cd7c08f
Bug 892858 - Fix profiler build in Visual Studio 2013. r=snorp
2013-07-18 10:13:01 +09:00
Benoit Girard
fcfe7f62e4
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
1b75303086
Bug 893830 - implement mach uuid. r=gps DONTBUILD
2013-07-15 18:00:09 +01:00
Jed Davis
f02f703493
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
238525e2d8
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
94f8b791d9
Bug 888473 - Start GeckoJavaSampler early when profiling startup; r=BenWa
2013-07-09 16:34:44 -04:00
Trevor Saunders
ace23958ea
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Mike Shal
8afd7f737d
Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4 ); r=joey
2013-07-01 11:34:30 -04:00
Benoit Girard
2d6bbf0628
Bug 872947 - Release pseudostack when unregister thread. r=snorp
2013-05-16 11:38:23 -04:00
Ehsan Akhgari
15c2073a3a
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-23 20:58:53 -04:00
Benoit Girard
9e23e52a50
Bug 873914 - Allow selecting profiled thread. r=snorp
...
--HG--
extra : rebase_source : 6623126a111b23f8871af1a2e64d077b67cb0930
2013-05-16 16:31:50 -04:00
Brian O'Keefe
20b45036df
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
ed17339221
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
9e17b8825a
b=882906; remove EXTRA_DSO_LIBS; r=ted
2013-06-13 22:58:22 -04:00
Aaron Klotz
a1cf98c04e
Bug 867762: NSPR and SQLite Main Thread I/O Interposing. r=BenWa
2013-06-14 12:01:02 -06:00
Jim Chen
cb655c5149
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
6e0c1a7ec4
Bug 863777 - Letting profiler start/stop from a non-registered thread; r=BenWa
2013-06-14 12:42:10 -04:00
Joey Armstrong
410e37a8c5
bug 872086: move SIMPLE_PROGRAMS to moz.build (file batch #1 ) r=mshal
2013-06-13 12:02:02 -04:00
Andrew McCreight
bef1e65930
Bug 550335 - fix_macosx_stack for 64-bit. r=ted
2012-05-25 09:07:24 -07:00
Florian Quèze
ac15af3aee
Bug 878419 - Syntax error in make_incremental_updates.py since bug 841094, r=glandium.
2013-06-05 18:19:18 +02:00
Boris Zbarsky
897328ff5b
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Trevor Saunders
2d8ba8d27a
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
38e97ed8fa
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
6f32ddf61c
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
b5eb4cb307
bug 870406: move to moz.build (config batch #1 ) r=mshal
2013-05-24 17:21:14 -07:00
L. David Baron
0074731aa4
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
0d49db0381
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Brian O'Keefe
3f66654fdb
Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-05-01 14:05:40 -04:00
Gregory Szorc
2afb3f3369
Bug 856392 - Categorize mach commands; r=jhammel
...
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00