Commit Graph

3405 Commits

Author SHA1 Message Date
Jon Coppeard
bfba7b5146 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
1e0482e1c1 Merge b2g-inbound to m-c. 2014-01-24 17:10:15 -05:00
Gregory Szorc
591866f6e4 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
68d6317eab Bug 952379 - Add a clang-format-diff helper to mach; r=gps 2014-01-08 14:51:44 +13:00
Cervantes Yu
9556ddc7f7 Bug 961959: fix profiler breakage for the Nuwa process. r=khuey,benwa 2014-01-22 18:56:45 +08:00
Calixte Denizet
856b1bc95f 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
1e69fb718a Bug 888534: Add missing operations to IOInterposer::Unregister; r=jonasfj 2014-01-20 16:02:51 -07:00
Nick Thomas
b7f3acf1e1 Backout 4b71e71c27a5 for removing update-settings.ini from installs 2014-01-20 17:14:29 +13:00
Ryan VanderMeulen
fdae3860b4 Merge b2g-inbound to m-c. 2014-01-19 15:40:48 -05:00
Jed Davis
ec74e50e16 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
6beccf2363 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
f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Nick Thomas
43092f83cc Bug 908134, exclude update-settings.ini from mar files, r=bhearsum DONTBUILD 2014-01-16 12:24:12 +13:00
Terrence Cole
d902eeddc8 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
66457ef1c5 Bug 958302 - offer the rebase extension through hg-setup, r=gps
DONTBUILD
2014-01-10 12:13:37 +00:00
Benoit Girard
76ca557e2c Bug 952074 - Add configure option --enable-systrace to b2g. r=vlin,glandium 2014-01-08 11:12:02 -05:00
Birunthan Mohanathas
7a614075df 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
1b83407ce9 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
561cae4a0e Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Gregory Szorc
e396fc159d 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
abf326e01b 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
edbe43df4f 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
95aca92ee2 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
e276af8c8e 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
3440613a39 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
68b00083fd Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Gregory Szorc
ecc0b08de2 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
a7eedb66a5 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
881a7c1554 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
4cefcc3107 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
2bc931e658 Bug 944387 - Remove the dead OS X Mutex implementation from the profiler; r=BenWa 2013-11-28 14:35:45 -05:00
Ehsan Akhgari
5f6d211aec Follow-up to bug 941693 - Fix mac builds 2013-11-28 09:09:57 -05:00
Benoit Girard
9f0592ad5e Bug 941693 - Build tools/profiler in unified mode; r=ehsan 2013-11-21 12:08:01 -05:00
Mike Hommey
8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166 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
682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Jim Chen
0b958846fc Bug 935092 - Const-ify profiler pseudostack entries; r=BenWa 2013-11-22 14:17:30 -05:00
Wes Kocher
0baa2a0d4e Merge m-c to inbound 2013-11-21 19:18:18 -08:00
Gregory Szorc
f3d929fdf3 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
7c4875ed06 Merge m-c to fx-team. 2013-11-21 15:55:03 -05:00
Gregory Szorc
a949cce316 Bug 940454 - Update hg.mozilla.org certificate fingerprint. 2013-11-19 09:11:53 -08:00
Chris Kitching
36c7d139c0 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Jed Davis
3fe1d51986 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
2812d11fce 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
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
b2e90f6233 Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
26bc04d200 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912 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
d687166d14 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
1e45690b3d Bug 784739 - Switch from NULL to nullptr in tools/profiler/; r=ehsan 2013-11-11 14:16:31 -05:00
Joe Olivas
d8f8c06771 Bug 769431 - Correlate power data from Intel Power Gadget in performance profiles. r=BenWa 2013-10-08 10:05:25 -04:00
Mike Hommey
50e2fd01b1 Bug 935387 - Remove non recursed install targets. r=mshal 2013-11-07 10:37:45 +09:00
Kai-Zhen Li
ae437a9d28 Bug 934924 - Check EI_ABIVERSION for jb4.2.2 build. r=jld 2013-11-06 10:08:42 +08:00
Jonas Finnemann Jensen
41edf8980c 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
ca8c3dbab2 Bug 927979 - Follow up to fix bad string null check in profiler. r=benwa 2013-11-04 12:27:40 -06:00
Mike Hommey
3da504d65e Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal 2013-11-02 08:43:55 +09:00
Daniel Holbert
4908bbab5e 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
3b80765894 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
4f7dd51a89 Merge mozilla-central and inbound 2013-10-25 17:55:18 +01:00
Ed Morley
ae834488ea Merge mozilla-central and b2g-inbound 2013-10-25 12:12:23 +01:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mason Chang
35255b2c2b Bug 925111 - Enable Profiler to support config options during runtime. r=benwa, jld 2013-10-24 17:09:33 -07:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Ed Morley
46392786ec 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
019abea10a 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
ef343c0f14 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
4ff2db0e59 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
16d6e76b4e Merge inbound to m-c 2013-10-22 18:11:06 -04:00
Jim Mathies
357604de6e Bug 927979 - Register the gecko thread correctly in the profiler for FxMetro. r=bgirard 2013-10-22 08:30:06 -05:00
Ehsan Akhgari
abcacdab4c Bug 928712 - Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg 2013-10-20 22:59:48 -04:00
Ehsan Akhgari
335322b66d Backed out changeset 0ddbf9b3b20c (bug 928712) because of build bustage 2013-10-20 09:42:51 -04:00
Ehsan Akhgari
36f759e186 Bug 928712 = Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg 2013-10-20 09:10:07 -04:00
Ms2ger
006ccb9a4d Bug 923395 - Part c: Remove some makefiles that set EXPORT_LIBRARY; r=gps 2013-10-20 09:25:19 +02:00
Joshua Cranmer
bd929500c8 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
dfdb1704c2 Bug 916106 - Avoid unwind loop when erroneously in leaf. r=BenWa 2013-10-16 14:42:49 -04:00
Anhad Jai Singh
fbcb415eeb Bug 902209 - Add mach pastebin; r=gps 2013-10-16 10:13:00 -07:00
Aaron Klotz
84c1274b4a Bug 899782: Enable NS_StackWalk for obtaining sync stacks in profiler. r=BenWa 2013-10-15 13:06:20 -06:00
Aaron Klotz
8912cab0f9 Bug 921330: Fix sync unwind on Mac OS X. r=BenWa 2013-10-15 12:58:52 -06:00
Jed Davis
ef7ff21509 Bug 919078 - Add js to async profiler start options. r=BenWa 2013-10-12 13:56:21 -04:00
Benoit Girard
3696e2adc6 Bug 918825 - Add frame duration marker. r=ehsan
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Ms2ger
4c35b806f8 Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Jacek Caban
c98f280e34 Bug 921435 - Use the right TimeStamp in GeckoProfilerFunc.h. r=aklotz 2013-10-03 10:53:07 +02:00
Ms2ger
f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
d1e1fda3b3 Bug 922288 - Remove some unnecessary boilerplate from Makefile.ins; r=mshal 2013-10-03 09:10:00 +02:00
Graeme McCutcheon
6e1e102d0c Bug 893830 - Followup based on feedback: output both forms by default. r=gps DONTBUILD 2013-10-02 09:06:39 +01:00
Phil Ringnalda
a92d1ffb9b Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes 2013-10-01 22:46:48 -07:00
Benoit Girard
43d7d6f444 Bug 918825 - Add frame duration marker. r=ehsan 2013-09-27 12:08:45 -04:00
Aaron Klotz
44e3459f45 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
84c9211fca Bug 920909 - Fix lossy startTime fields serialization. r=ehsan 2013-09-27 11:51:25 -04:00
Ryan VanderMeulen
4875847fa7 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
939077cb0b Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Kartikaya Gupta
6b7e07f87d 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
602a2edbcb Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Ed Morley
226567492a 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
54c9f49b7a Bug 918833 - Improved profiler thread register. r=ehsan 2013-09-24 15:23:36 -04:00
Aaron Klotz
cfa94dca53 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
fb4bfeb5f7 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
26ad3fc54b 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
0765e9cd26 Bug 918906 - Add VS2013 debug dll name to trace-malloc. r=dbaron 2013-09-23 09:22:30 -04:00
Ehsan Akhgari
c8d51e9ce2 Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Ehsan Akhgari
7233ba7103 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
4913c4a933 bug 870406: move CSRCS to mozbuild (file batch #3). r=mshal 2013-09-20 17:37:36 -04:00
Benoit Girard
906e0daa78 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
7afa961994 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
8e0a6c6e41 Merge m-c to fx-team on a CLOSED TREE. 2013-09-17 20:27:03 -04:00
Terrence Cole
7217929024 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
7604127126 Bug 902529 - Also check mercurial.ini on Windows, r=gps, DONTBUILD (NPOTB) 2013-09-13 10:50:28 +02:00
Ryan VanderMeulen
5197249017 Merge m-c to fx-team. 2013-09-14 23:08:59 -04:00
Jonas Finnemann Jensen
63757ffdc4 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
47d90bb47f Merge m-c to inbound. 2013-09-12 22:30:22 -04:00
Ryan VanderMeulen
fd143fc064 Merge m-c to b2g-inbound. 2013-09-12 20:41:54 -04:00
Benoit Girard
836a55c9fa Bug 914815 - Support profiler options when starting the profiler with a signal. r=jld 2013-09-11 14:01:16 -04:00
Benoit Girard
f8a6d08355 Bug 915857 - Check-in merge-profiles.py. r=vladan 2013-09-12 16:31:40 -04:00
Benoit Girard
1dbbbf22af Bug 914348 - Name the SamplerThread on linux. r=jld 2013-09-11 13:57:43 -04:00
Terrence Cole
705a73caba Bug 877658 - Exactly root tools/profiler/; r=BenWa
--HG--
extra : rebase_source : a7c5bbcb64d7b670e170e3c20dda53d03a4f2cc1
2013-09-05 16:10:37 -07:00
Ryan VanderMeulen
a352effd6a Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Jed Davis
42fe9dcb23 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
76e9c91c87 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
7144d49eae Bug 810526 - Add multiple-include guard to android-signal-defs.h. r=bgirard 2013-09-11 14:51:59 -04:00
Jed Davis
12b0e21530 Bug 810526 - Factor out native/pseudo stack merging. r=bgirard 2013-09-11 14:51:11 -04:00
Jed Davis
cbdea10161 Bug 810526 - Add stack top to Thread{Info,Profile}. r=bgirard 2013-09-11 14:50:46 -04:00
Dan Gohman
a50084b38d Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Ryan VanderMeulen
1213755134 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
58be34a343 Bug 914348 - Name SamplerThread on linux. r=jld
--HG--
extra : rebase_source : 343dec3b5d4b8eaa4a294c54ae1f74b9e0775401
2013-09-10 11:20:09 -04:00
Jonas Finnemann Jensen
dac3c3a20c Bug 902587 - Part 1: Refactor IO Interposer with filename support. r=aklotz 2013-09-12 10:47:37 -04:00
Ms2ger
4e96ae49a4 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
03e7828db2 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
65f42bebc9 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
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09: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
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
Gregory Szorc
6186ab6b68 Bug 909867 - Fix case on WhichError in mercurial setup wizard; r=trivial
DONTBUILD (NPOTB)
2013-08-27 11:44:54 -07:00
Jan Beich
cedbc692cf Bug 909139 - Define integer types before using them for profiler stubs. r=ms2ger 2013-08-25 22:10:46 +02:00
Gabriele Svelto
91c1a25d52 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
47f9af7214 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
795d28ed67 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
5fe1a3cf76 Bug 908476 - JSObject/JSContext are also used by non-SPS profiler. r=njn 2013-08-23 09:16:02 +02:00
Nicholas Nethercote
789875a768 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
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
987ec661d3 Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
3a103a7e9f Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +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
Ms2ger
18cd92e9b4 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
5c94c32440 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
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
Cykesiopka
66fbee273a Bug 861761 - Remove <blink> in perf-doc.html. r=dbaron 2013-08-19 08:48:24 -04:00
Julian Seward
d584868453 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
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
e9ac4435fb Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
* * *
FOLD
2013-08-14 09:00:13 +02:00
Jed Davis
9ca814fb74 Bug 904335 - sem_post on all return paths in ProfilerSignalHandler. r=BenWa 2013-08-13 16:44:46 -04:00
Ed Morley
a4ae239c93 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
e62a12b52f 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
beddcdae57 Bug 820048 - Add microsecond profiling. r=ehsan
--HG--
extra : rebase_source : 40fee30c92f7e74dbe1e24778b66813beb8505da
2013-03-26 12:34:27 -04:00
Julian Seward
f03566fcd4 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
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
Gijs Kruitbosch
e360e1c3bc 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
3a424b6297 Bug 892774 - Breakpad Stack scan: speed up MyCodeModules::GetModuleForAddress. r=bgirard. 2013-08-06 10:36:10 +02:00
Jon Coppeard
fb6671743e 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
6f87931f0a Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke 2013-08-01 18:38:47 -07:00
Gregory Szorc
5c5c830a87 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
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
Gregory Szorc
c079fd38e7 Bug 794580 - mach mercurial-setup; r=nalexander
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : b5cfc81d1a0537b5ae25a76c3ccc604383f60f6c
2013-07-29 16:58:40 -07:00
Mike Hommey
7b106e33d2 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
2c49080aca Merge m-c to inbound. 2013-07-29 18:42:45 -04:00
Michael Wu
58609a7075 Bug 898810 - Use bionic's getline where available, r=benwa 2013-07-29 13:17:28 -04:00
Trevor Saunders
108b7dd046 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
192bc42d5e Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Xavier Fung
1a6faaa9b5 Bug 892858 - Fix profiler build in Visual Studio 2013. r=snorp 2013-07-18 10:13:01 +09:00
Benoit Girard
7ad2704ca4 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
26434d8fd3 Bug 893830 - implement mach uuid. r=gps DONTBUILD 2013-07-15 18:00:09 +01:00
Jed Davis
ffff128206 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
f33ade0d68 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
9d1d83bb0f Bug 888473 - Start GeckoJavaSampler early when profiling startup; r=BenWa 2013-07-09 16:34:44 -04:00
Trevor Saunders
4fda35a773 bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Mike Shal
884dee0b5a Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4); r=joey 2013-07-01 11:34:30 -04:00
Benoit Girard
389add8608 Bug 872947 - Release pseudostack when unregister thread. r=snorp 2013-05-16 11:38:23 -04:00
Ehsan Akhgari
47c6136bd4 Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-23 20:58:53 -04:00
Benoit Girard
9a2569ecb3 Bug 873914 - Allow selecting profiled thread. r=snorp
--HG--
extra : rebase_source : 6623126a111b23f8871af1a2e64d077b67cb0930
2013-05-16 16:31:50 -04:00
Brian O'Keefe
f11b19a860 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
11bcc1cd9e 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
f4af325139 b=882906; remove EXTRA_DSO_LIBS; r=ted 2013-06-13 22:58:22 -04:00
Aaron Klotz
e9ad1fd893 Bug 867762: NSPR and SQLite Main Thread I/O Interposing. r=BenWa 2013-06-14 12:01:02 -06:00
Jim Chen
c98b67af47 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
379f413a13 Bug 863777 - Letting profiler start/stop from a non-registered thread; r=BenWa 2013-06-14 12:42:10 -04:00
Joey Armstrong
0c4c92488f bug 872086: move SIMPLE_PROGRAMS to moz.build (file batch #1) r=mshal 2013-06-13 12:02:02 -04:00
Andrew McCreight
a7232f55ed Bug 550335 - fix_macosx_stack for 64-bit. r=ted 2012-05-25 09:07:24 -07:00
Florian Quèze
31502efe24 Bug 878419 - Syntax error in make_incremental_updates.py since bug 841094, r=glandium. 2013-06-05 18:19:18 +02:00
Boris Zbarsky
ac87784e7f Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence 2013-05-30 17:46:48 -04:00
Trevor Saunders
9bdeaf5ccc 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
eb8e819973 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
5169c0a913 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
2c39cbb922 bug 870406: move to moz.build (config batch #1) r=mshal 2013-05-24 17:21:14 -07:00
L. David Baron
a656f45a92 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
26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00