Граф коммитов

3901 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 2db3a9d1ce Bug 1218903 - Update bmo fingerprint. r=fubar, a=Tomcat
--HG--
extra : rebase_source : 111d7f0a25f4822c91a03163dcf13994a2f60559
2015-10-27 10:50:45 -07:00
Kan-Ru Chen 036b83665f Bug 1216970 - Make the copying more obvious in ProfilerImpl::GetStacktrace. r=froydnj 2015-10-23 11:43:00 +08:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Nicholas Nethercote 557e2db669 Bug 1214924 - Add "WindowServer" and "kernel" processes to |mach power|'s output. r=BenWa.
--HG--
extra : rebase_source : c85d0c6b92c82c32b5e194143358956479a477b9
2015-10-16 14:01:22 +11:00
Gregory Szorc 8004ebf048 Bug 1212427 - Reference extra Python paths in Sphinx config; r=mshal
f6d18678498b / bug 1212427 introduced a few more dependencies. Add them
to sys.path in the Sphinx config so Sphinx works on Read the Docs.

--HG--
extra : commitid : I2WmZNyGBLu
extra : rebase_source : 61b7a66c558321fc6550453411744c12fdd49f60
extra : amend_source : 8020e34f6c8a809fb1c323180b3a96433bbc2d2f
2015-10-09 13:03:52 -07:00
Julien Pagès bc8d5d3358 Bug 1209772 - 'mozregression was installed. please re-run your command.' when running ./mach mozregression. r=ahal 2015-10-05 22:08:35 +02:00
Nick Fitzgerald 5808084085 Bug 121027 - Stop manually adding null entries to the profiler's JSON output; r=shu 2015-10-05 14:19:00 +02:00
Xidorn Quan e573430f7d Bug 1186745 part 4 - Make TracedRunnable accept an already_AddRefed instead of a raw pointer. r=froydnj
--HG--
extra : source : 0a748a541a5425602ed0af670ffdb031c11dd627
2015-10-06 13:00:59 +11:00
Wes Kocher c0ddea6e1b Backed out changeset 8f489e406701 (bug 822135) for m(dt) failures CLOSED TREE 2015-10-02 16:07:43 -07:00
Nick Fitzgerald 0066e77f7c Bug 1209779 - Ensure that all null elements are written when streaming profiler JSON; r=shu
--HG--
extra : commitid : 1WUhRQd8QZA
2015-10-02 14:27:40 -04:00
Benoit Girard 9e72c16a5c Bug 822135 - Fix nsProfiler observer strong reference. r=ehsan
--HG--
extra : commitid : 9RUq4o2tH4K
2015-10-02 10:57:03 -04:00
Wes Kocher 1d312920f4 Backed out 6 changesets (bug 1186745) for android Cpp failures
Backed out changeset 237a6acf0709 (bug 1186745)
Backed out changeset 7b530871783a (bug 1186745)
Backed out changeset 73f73b531fc8 (bug 1186745)
Backed out changeset e36909748ddf (bug 1186745)
Backed out changeset 3a31df8787f0 (bug 1186745)
Backed out changeset df9cb8f5f0a5 (bug 1186745)
2015-10-02 10:35:09 -07:00
Xidorn Quan d148f6ae66 Bug 1186745 part 4 - Make TracedRunnable accept an already_AddRefed instead of a raw pointer. r=froydnj
--HG--
extra : source : 343cc4075627fb4dc7c78e8cef590a82e8ef044c
2015-10-03 00:18:24 +10:00
Benoit Girard af526bfc6d Bug 875605 - Add tests to check-moz-style. r=ms2ger
--HG--
rename : tools/check-moz-style/check-moz-style => tools/check-moz-style/checkmozstyle.py
extra : commitid : ASOuDmW8fdP
extra : rebase_source : f39b3c59f62f03dad13f7a9ca9e0353f76657aa0
2013-05-26 09:42:31 -04:00
Benoit Girard a95517121f Bug 875605 - Add HG + update style rules for moz-check-style. r=ms2ger
--HG--
extra : commitid : 5T6M5vDpgg1
extra : rebase_source : 8a7475de4a9694f73a4a654abc96c839fc6ed32c
2013-05-25 19:33:36 -04:00
Benoit Girard f463e140e0 Bug 875605 - Import check-webkit-style. r=ms2ger
--HG--
extra : commitid : 3S2i7teMyIJ
extra : rebase_source : 4765f7a61244696a42a52ab9205a5e46ab16065a
2013-05-25 19:23:47 -04:00
Ted Mielczarek dc4944233c bug 543111 - Fix Mac Breakpad host tools to build in Linux cross-compile. r=mento,glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc
extra : commitid : 1MeVskegqFV
extra : rebase_source : 99fae330b3917e46c380e0c83054790ecd661ea5
2015-10-01 15:04:27 -04:00
Carsten "Tomcat" Book d325d6fc78 Backed out 4 changesets (bug 543111) for mac bustage on a CLOSED TREE
Backed out changeset 81f6fdc25862 (bug 543111)
Backed out changeset d1a73eaa6113 (bug 543111)
Backed out changeset 08c7f9ed5970 (bug 543111)
Backed out changeset 3b323ed3b20a (bug 543111)

--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm
2015-10-01 14:32:11 +02:00
Ted Mielczarek c3b97accbb bug 543111 - Fix Mac Breakpad host tools to build in Linux cross-compile. r=mento,glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc
extra : commitid : 9ALTpfdqmnH
extra : rebase_source : 67000f6e4027b895df096a48f3255e864ac10167
2015-10-01 06:24:58 -04:00
Phil Ringnalda c096566a7e Back out 6 changesets (bug 1186745) for cpptest failure in runnable_utils_unittest, nrappkit_unittest, test_nr_socket_unittest
Backed out changeset c6142b815de0 (bug 1186745)
Backed out changeset d8f740ef2430 (bug 1186745)
Backed out changeset edc0b56d81fa (bug 1186745)
Backed out changeset 383f8ac033ea (bug 1186745)
Backed out changeset ce960a661987 (bug 1186745)
Backed out changeset 3e9783023fb2 (bug 1186745)

--HG--
extra : rebase_source : 4681d6abaaa927ddb863f944efc87e6c6f6c2e26
2015-09-28 19:05:02 -07:00
Xidorn Quan 33369f9d5f Bug 1186745 part 4 - Make TracedRunnable accept an already_AddRefed instead of a raw pointer. r=froydnj
--HG--
extra : source : 8ed5530cadd2199943b073f372d6568ee5d88267
2015-09-29 09:28:22 +10:00
Victor Porof 2c7d6ec854 Bug 1196947 - Performance tools should display a message in private browsing, r=jsantell 2015-09-26 06:21:09 +02:00
Nathan Froyd 5761751aa3 Bug 1207245 - part 1 - move RefCounted<T> to its own file
Various bits depend on RefPtr.h to provide RefCounted<T> and RefPtr<T>.
It will be easier to manage an automatic conversion from RefPtr<T> to
nsRefPtr<T> if we split out the dependency on RefCounted<T> first.
2015-09-22 21:27:34 -04:00
Dylan Roeh ee309b2869 Bug 1189881 - Move GeckoJavaSampler::getProfilerTime out of AndroidJNI.cpp. r=jchen 2015-09-17 16:17:26 -05:00
Nick Fitzgerald 8098307c50 Bug 1204584 - Ensure that entries created by AutoSPSEntry propogate their category information; r=djvj
This commit renames ProfileEntry::set{Js,Cpp}Frame methods to
ProfileEntry::init{Js,Cpp}Frame to highlight the fact that they are intended to
initialize the entry, and that setting other flags should happen after one of
these calls.
2015-09-19 11:19:07 +02:00
sajitk 9aabf6aa5a Bug 1203477 - Moved Mozilla specific files to glue directory, and third party files to hyphen directory. Adjusted moz.build files. r=glandium
--HG--
rename : intl/hyphenation/hnjalloc.h => intl/hyphenation/glue/hnjalloc.h
rename : intl/hyphenation/hnjstdio.cpp => intl/hyphenation/glue/hnjstdio.cpp
rename : intl/hyphenation/moz.build => intl/hyphenation/glue/moz.build
rename : intl/hyphenation/nsHyphenationManager.cpp => intl/hyphenation/glue/nsHyphenationManager.cpp
rename : intl/hyphenation/nsHyphenationManager.h => intl/hyphenation/glue/nsHyphenationManager.h
rename : intl/hyphenation/nsHyphenator.cpp => intl/hyphenation/glue/nsHyphenator.cpp
rename : intl/hyphenation/nsHyphenator.h => intl/hyphenation/glue/nsHyphenator.h
rename : intl/hyphenation/COPYING => intl/hyphenation/hyphen/COPYING
rename : intl/hyphenation/COPYING.LGPL => intl/hyphenation/hyphen/COPYING.LGPL
rename : intl/hyphenation/COPYING.MPL => intl/hyphenation/hyphen/COPYING.MPL
rename : intl/hyphenation/README => intl/hyphenation/hyphen/README
rename : intl/hyphenation/README.compound => intl/hyphenation/hyphen/README.compound
rename : intl/hyphenation/README.hyphen => intl/hyphenation/hyphen/README.hyphen
rename : intl/hyphenation/README.nonstandard => intl/hyphenation/hyphen/README.nonstandard
rename : intl/hyphenation/hyphen.c => intl/hyphenation/hyphen/hyphen.c
rename : intl/hyphenation/hyphen.h => intl/hyphenation/hyphen/hyphen.h
rename : intl/hyphenation/moz.build => intl/hyphenation/hyphen/moz.build
2015-09-16 21:01:00 +02:00
Nicholas Nethercote de59a42fb1 Bug 1204787 - Add |mach power|. r=glandium.
This extracts the most useful browser-related measurements from rapl and
powermetrics.

--HG--
extra : rebase_source : 81ce14acc6c6e1bc7ac6c34bf119d8e619956dd1
2015-09-15 16:23:45 +10:00
Carsten "Tomcat" Book ba9aec3116 Backed out 1 changesets (bug 1189881) for bustage on a CLOSED TREE
Backed out changeset e0b666c198dd (bug 1189881)

--HG--
extra : rebase_source : 56db9306aa89588c795d03f08c7b5ea29a5fb3fd
2015-09-17 14:07:04 +02:00
Dylan Roeh 0ad2686c67 Bug 1189881 - Move GeckoJavaSampler::getProfilerTime out of AndroidJNI.cpp. r=jchen 2015-09-15 11:54:56 -05:00
James Willcox 1f8b781e7f Bug 1205074 - Enable EHABI stack walking on Android r=BenWa 2015-09-16 13:23:28 -05:00
Kan-Ru Chen 4efb6ef006 Bug 1123237 - Part 11. Don't use STL in memory-profiler. r=BenWa,cervantes 2015-09-16 10:31:13 +08:00
Kan-Ru Chen 5c8dec0a0e Bug 1123237 - Part 8. Tracking the memory events. r=BenWa,terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:12 +08:00
Kan-Ru Chen 008c01bd6c Bug 1123237 - Part 7. XPCOM interface for memory profiler. r=smaug
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:12 +08:00
Kan-Ru Chen b4ef7f369b Bug 1123237 - Part 6. A new API to get backtrace without allocating memory in profiler. r=mstange
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:11 +08:00
Gregory Szorc f99d0b9b59 Bug 1200461 - Prompt for Bugzilla API Key instead of password; r=smacleod
All extensions in version-control-tools should support Bugzilla API Keys
now. MozReview requires them. We'll likely remove support for passwords
and cookie auth in the future. This commit transitions the Mercurial
setup wizard to API Keys exclusively.

DONTBUILD (NPOTB)

--HG--
extra : commitid : DM33vGsljQz
extra : rebase_source : 047cd10eb976719ce94478a9a08363dbcd86ae68
2015-09-15 15:57:40 -07:00
sajitk 2b31623cab Bug 1200065 - Split Mozilla specific code from extensions/spellcheck/hunspell directory to glue directory and adjusted moz.build files. r=glandium
--HG--
rename : extensions/spellcheck/hunspell/src/PRemoteSpellcheckEngine.ipdl => extensions/spellcheck/hunspell/glue/PRemoteSpellcheckEngine.ipdl
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineChild.cpp => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineChild.cpp
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineChild.h => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineChild.h
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineParent.cpp => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineParent.cpp
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineParent.h => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineParent.h
rename : extensions/spellcheck/hunspell/src/hunspell_alloc_hooks.h => extensions/spellcheck/hunspell/glue/hunspell_alloc_hooks.h
rename : extensions/spellcheck/hunspell/src/hunspell_fopen_hooks.h => extensions/spellcheck/hunspell/glue/hunspell_fopen_hooks.h
rename : extensions/spellcheck/hunspell/src/moz.build => extensions/spellcheck/hunspell/glue/moz.build
rename : extensions/spellcheck/hunspell/src/mozHunspell.cpp => extensions/spellcheck/hunspell/glue/mozHunspell.cpp
rename : extensions/spellcheck/hunspell/src/mozHunspell.h => extensions/spellcheck/hunspell/glue/mozHunspell.h
rename : extensions/spellcheck/hunspell/src/mozHunspellAllocator.h => extensions/spellcheck/hunspell/glue/mozHunspellAllocator.h
rename : extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp => extensions/spellcheck/hunspell/glue/mozHunspellDirProvider.cpp
rename : extensions/spellcheck/hunspell/src/mozHunspellDirProvider.h => extensions/spellcheck/hunspell/glue/mozHunspellDirProvider.h
2015-09-11 07:44:00 +02:00
Michael Layzell 0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Nicholas Nethercote a919a2d114 Bug 1203811 - Clarify two error messages in tools/power/rapl. r=heycam. 2015-09-10 23:12:31 -07:00
Nicholas Nethercote c93125fd60 Bug 1203834 - Fix's rapl's handling of unsupported power domains. r=glandium.
The "gpu" and "ram" domains aren't supported by all platforms. rapl has a
special constant |kUnsupported_j| to represent this on Linux, but I
accidentally have a minus sign in front of it in several places, which means
that instead of printing "n/a" for unsupported planes we always print "1.0".

I think this happened because I used to hardwire -1 in there and then I later
changed it to a constant but forgot to remove the minus signs.

It sure would be nice to have automated testing for this stuff, but I don't see
how to do it.
2015-09-10 23:12:20 -07:00
Julien Pagès 785505aafb Bug 1200293 - mach target for mozregression. r=ahal 2015-09-05 18:27:23 +02:00
Wes Kocher 2c5f95092c Backed out changeset e1833c2684f0 (bug 1079858) for windows xpcshell failures CLOSED TREE 2015-09-08 12:58:03 -07:00
Ben Hearsum 176963d18e bug 1079858: switch to SHA-2 authenticode signatures. r=catlee 2015-09-08 10:44:17 -04:00
Nicholas Nethercote 51b5ca14d4 Bug 1201811 (part 2) - Don't print distribution stats if there was only 1 sample. r=erahm.
--HG--
extra : rebase_source : aa6b26441c5ca285a15d58d97a62f064e891d09b
2015-09-04 01:45:13 -07:00
Nicholas Nethercote 21be35d70a Bug 1201811 (part 1) - Don't use integer arithmetic when summing totals in rapl. r=erahm.
--HG--
extra : rebase_source : 2c800587f4bc49a492fb85be1e7d6c0c7885052e
2015-09-04 01:04:46 -07:00
Chris Peterson bb3240f4f5 Bug 1200450 - Add libffi, dtoa, openaes, and android/thirdparty to ThirdPartyPaths.txt. r=ehsan 2015-08-31 12:00:35 -07:00
Gregory Szorc 7c77cbc5d3 Bug 1195445 - Update host key fingerprint for bugzilla.mozilla.org
The certificate was updated to a SHA-2 certificate.

DONTBUILD (NPOTB)

--HG--
extra : commitid : 11QMFkjpCTa
extra : rebase_source : b9e005c278ef223066a58d78029ccbb4a1c1c9e4
extra : amend_source : bb1bcd8003fa644ce4c8876ec2aa7ac20790ad9e
2015-09-01 17:52:46 -07:00
Xidorn Quan 5264de316d Bug 1200458 - Skip permission check for .hgrc on Windows in hgsetup wizard. r=gps DONTBUILD
--HG--
extra : source : 8fa50ca328f1204bf5f4a51cf3d74de3200c3c0f
2015-09-01 10:22:45 +10:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Nicholas Nethercote 4e53819fec Bug 1198334 (part 0) - Tighten up warnings-as-errors usage in tools/power/. r=glandium.
--HG--
extra : rebase_source : a8239fd2911e57820eba3c1759365627f669b9d2
2015-08-27 20:40:44 -07:00
Benoit Girard fb86861381 Bug 1122721 - Don't call pthread_get_stackaddr_np during sampling. r=mstange
--HG--
extra : commitid : REhZnhBQ3J
extra : rebase_source : bf4bbc42cb75faa5d2028340396873b78210e52b
2015-08-25 18:03:32 -04:00
Nicholas Nethercote 33d3e011d3 Bug 1198137 (follow-up) - Add a missing #include to unbreak Mac OS builds on a CLOSED TREE. r=me
--HG--
extra : rebase_source : 9704e746704ef614b48b9ebcdb0afd3e729258ad
2015-08-26 11:48:08 +10:00
Nicholas Nethercote cdcc41338a Bug 1198137 - Add some summary stats to tool/power/rapl's output. r=erahm.
"mean" is most useful, then "min" and "max". The rest are moderately useful.

--HG--
extra : rebase_source : 03fda0e0d32081024abd5cdf859f16dac60bbc19
2015-08-25 18:11:03 -07:00
Jim Chen 4149622c41 Bug 1196845 - Fix invalid JSON in saved Java thread profile; r=BenWa
Saved Java thread profiles are missing a pair of braces. As a result,
the output is invalid JSON.
2015-08-25 14:52:16 -04:00
Kan-Ru Chen 4a1f512a13 Backed out 8 changesets (bug 1123237) CLOSED TREE
Backed out changeset 64692c772052 (bug 1123237)
Backed out changeset ed0f3a0186ad (bug 1123237)
Backed out changeset 2ad3b7f12a66 (bug 1123237)
Backed out changeset d069c69c234b (bug 1123237)
Backed out changeset d2c543173155 (bug 1123237)
Backed out changeset 3b8fb02e68ff (bug 1123237)
Backed out changeset 1c97e19f2f5d (bug 1123237)
Backed out changeset a80502c372f1 (bug 1123237)

--HG--
extra : commitid : L05R6SBqcU9
2015-08-25 12:42:01 +08:00
Kan-Ru Chen e1fa14415d Bug 1123237 - Part 8. Tracking the memory events. r=BenWa,terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:10:34 +08:00
Kan-Ru Chen 10b9f95c15 Bug 1123237 - Part 7. XPCOM interface for memory profiler. r=smaug
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:06:43 +08:00
Kan-Ru Chen be8d03c8ee Bug 1123237 - Part 6. A new API to get backtrace without allocating memory in profiler. r=mstange
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:06:42 +08:00
Nicholas Nethercote b7f77af473 Bug 1197694 - fflush() rapl output so it always appears immediately. r=erahm.
--HG--
extra : rebase_source : 2de1c517202616e6daad6e578cfbe89b65cdce0f
2015-08-24 15:59:37 -07:00
Birunthan Mohanathas bc29413b87 Bug 1197527 - Consolidate obtaining hg path into mozversioncontrol.get_hg_path; r=gps
DONTBUILD

--HG--
extra : commitid : LsREOYJSAa7
extra : amend_source : 6f19087188d9c6c009a817c3499c7fd9165bfc6a
extra : histedit_source : 36aa6d1a3e78367d50a3e65ac6f61872b7a635d4
2015-08-24 14:37:42 -04:00
Birunthan Mohanathas 578bb09fd5 Bug 1197527 - Always clone version-control-tools in MercurialSetupWizard; r=gps
--HG--
extra : commitid : EFt8PQR3B2S
extra : histedit_source : 0bea4cef45799c3ce688f4f0caea966b237abcbc
2015-08-24 10:31:55 -07:00
Birunthan Mohanathas 467f93f8fd Bug 1197527 - Don't unnecessarily attempt to create extensions directory in MercurialUpdater; r=gps
--HG--
extra : commitid : 9RzrDPQc3oG
extra : histedit_source : 9b9c33161c67af1b7f577f2a8faeaf196e63f02b
2015-08-22 13:50:05 -07:00
Nicholas Nethercote b83cd56ff9 Bug 1194560 (follow-up) - Only build rapl on Linux if the arch is x86 or x86-64. r=glandium.
--HG--
extra : rebase_source : c115f898cb1ce8129657e3435881e4f220eca566
2015-08-20 17:02:18 -07:00
Aidin Gharibnavaz 17b4bfd61a Bug 1190466 - tools/rb/find-leakers.pl re-written in Python r=mccr8 2015-08-20 14:18:20 -07:00
Nicholas Nethercote 68c09ac436 Bug 1194560 - Add tools/power/rapl, a RAPL-reading program for power profiling. r=erahm,glandium.
--HG--
extra : rebase_source : 7303d7209f6c9ae8bbd911a379078343b7cb5a7b
2015-08-19 22:25:30 -07:00
Rail Aliiev 90cf18ab5a Bug 1173459 - Stop generating partial MAR files and publishing complete MARs to balrog as a part of nightly automation. r=mshal 2015-08-12 09:49:03 -04:00
Birunthan Mohanathas 2b4a52cf2e Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
Birunthan Mohanathas edbcd5e014 Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj 2015-08-11 08:29:46 -07:00
Ehsan Akhgari 08955238cb Bug 1189465 - Make LULStats constructor explicit; r=BenWa 2015-07-30 20:31:08 -04:00
Brian Smith af289e29eb Bug 1188931 - Fix hgsetup wizard. r=gps
--HG--
extra : rebase_source : cecc4d721d77467dfbe384a9bbd0fc6ace3ba6a3
2015-07-29 13:59:18 -04:00
Carsten "Tomcat" Book 36fe6b281d Merge mozilla-central to mozilla-inbound
--HG--
rename : browser/themes/osx/tabbrowser/connecting@2x.png => browser/themes/windows/tabbrowser/connecting@2x.png
rename : browser/themes/osx/tabbrowser/loading@2x.png => browser/themes/windows/tabbrowser/loading@2x.png
rename : browser/themes/windows/tabbrowser/tab-background-end.png => browser/themes/windows/tabbrowser/tab-background-end-preWin10.png
rename : browser/themes/windows/tabbrowser/tab-background-end@2x.png => browser/themes/windows/tabbrowser/tab-background-end-preWin10@2x.png
rename : browser/themes/windows/tabbrowser/tab-background-middle.png => browser/themes/windows/tabbrowser/tab-background-middle-preWin10.png
rename : browser/themes/windows/tabbrowser/tab-background-middle@2x.png => browser/themes/windows/tabbrowser/tab-background-middle-preWin10@2x.png
rename : browser/themes/windows/tabbrowser/tab-background-start.png => browser/themes/windows/tabbrowser/tab-background-start-preWin10.png
rename : browser/themes/windows/tabbrowser/tab-background-start@2x.png => browser/themes/windows/tabbrowser/tab-background-start-preWin10@2x.png
extra : rebase_source : f873d375eae8f1ee22151e5891b4fc3cc576d599
2015-07-28 16:30:58 +02:00
Gregory Szorc b5154c4df4 Bug 1184229 - Detect multiple version-control-tools repos in Mercurial config; r=smacleod
Having multiple version-control-tools repositories references in your
hgrc could lead to one repository importing code from another, depending
on how sys.path modification works from version-control-tools
repositories. Detect it and issue a warning.

--HG--
extra : commitid : 2rfQARjGfu9
extra : rebase_source : 01d221cdc4b462cb52041d1d18f121e09b23125c
extra : amend_source : bac3fd876d6c8f0a3a94f4ae25950f5971dcb869
2015-07-27 13:44:39 -07:00
Peter Elmers 4864ee7269 Bug 1186896 - Fix import statements for mach update-uuids. r=gps 2015-07-23 08:00:02 -07:00
Wes Kocher 8dc017722b Merge fx-team to central, a=merge 2015-07-21 16:08:37 -07:00
Gregory Szorc 93e629ca43 Bug 1185557 - Print relevant config options; r=smacleod
Users may want to know what the wizard is changing before they answer
prompts. Add the names of impacted config options to messages so people
can make more informed decisions.

--HG--
extra : commitid : 6p2kijj68zV
extra : rebase_source : 6468ab56fad7292ac9811c546882693aee8b5922
2015-07-21 10:11:09 -07:00
Gregory Szorc c0dc074f70 Bug 1185557 - Prompt about bzexport after reviewboard; r=smacleod
We want to encourage people to use reviewboard over bzexport.

--HG--
extra : commitid : 4SacVKrLjxU
extra : rebase_source : 8a466b026d273a10e09184a21d14870cfb89b959
2015-07-21 10:10:54 -07:00
Gregory Szorc e9eb7e6445 Bug 1185557 - Only prompt to install progress on Mercurial <3.5; r=smacleod
Progress is enabled by default in Mercurial 3.5. extensions.progress
no-ops. Don't prompt for it on newer Mercurial versions.

--HG--
extra : commitid : 5zyqyanQ64o
extra : rebase_source : 9fe52282b715949b8565683ffce9a7538325b3c6
2015-07-21 10:10:38 -07:00
Gregory Szorc dc31130b11 Bug 1185562 - Print message saying the mercurial-setup failures unblock mach; r=smacleod
The messaging on this could be bikeshedded. Something is better than
nothing, that's for sure.

--HG--
extra : commitid : BIflUCCjwsg
extra : rebase_source : 72913ca7cfeadaf6f3efd1a277282a6786d2ba66
2015-07-21 10:09:49 -07:00
Gregory Szorc af7dd87352 Bug 1185112 - Don't prompt for Bugzilla username/password if cookies defined; r=smacleod
Before, we prompted for Bugzila username/password if the hgrc contained
credentials in cookie form. Don't do that.

--HG--
extra : commitid : 1aGcwtZzsDM
extra : rebase_source : e7a1355f44b641337adb6cefd3c90ef1bf077fbd
2015-07-21 10:09:15 -07:00
Gregory Szorc 1d8ac6998b Bug 1185113 - Support setting more secure file permissions; r=smacleod
~/.hgrc files are likely created with the user's default umask, which
commonly gives default permissions of 644. If the hgrc config contains
sensitive information (such as Bugzilla credentials), these file
permissions could result in others stealing sensitive data.

Detect when the group and other file mode bits are set and prompt to
remove these permissions.

--HG--
extra : commitid : 6vVKQNd9yLi
extra : rebase_source : 860379bfbf8fdb4eef70b069e41a41239d93e40f
2015-07-21 10:08:24 -07:00
Gregory Szorc c0a5c25aeb Bug 1185113 - Clarify language around Bugzilla credentials; r=smacleod
Bugzilla credentials are optional. Make this more obvious by adding
"optional" to the prompt.

Bugzilla credentials are stored in plain text. Explicitly call this out
in the help text so users can make informed decisions about whether to
capture the credentials.

--HG--
extra : commitid : DjPaYeh7oTo
extra : rebase_source : 05439551c097af9407ba15a54ab558637af4658b
2015-07-21 10:08:02 -07:00
Mike Conley 4c8a4acb5f Bug 1185737 - Propagate pause and resume commands to child processes. r=BenWa
When we pause the sampler in the parent, we should pause it in the child as well.
Similarly, when the parent resumes, the child should also resume.

--HG--
extra : commitid : CI7X3B04eB5
extra : rebase_source : 8fdaae4004015fa54747599cff54acd187683a71
extra : amend_source : d5960310c462c208485802d70b1535f09ceaeccf
2015-07-15 12:39:39 -04:00
Gregory Szorc a6bb6ec5af Bug 1178955 - Print line number for parse errors; r=smacleod
It helps users debug problems.

--HG--
extra : commitid : IU6Cw35FEiM
extra : rebase_source : f6ab1ef356bb10b689f2fed034a9f2564ffe0fc3
extra : amend_source : ef52d60ca12796fcfe32392077a7606628a54d29
2015-07-17 10:29:22 -07:00
Gregory Szorc 402674db49 Bug 1178955 - Error when semicolon comments are seen; r=smacleod
configobj doesn't support semicolon comments. Why, I don't know, since
they are pretty common in ini files.

Do a static check for semicolon comments and print a more actionable
error message.

--HG--
extra : commitid : CULjsg4do9Z
extra : rebase_source : f135cc726462c73a8363ebb8c98092177cf7ffd3
extra : amend_source : 0b8c67d5b0be3bc07cf7ff4f136bb58d342368c4
2015-07-17 10:29:09 -07:00
Gregory Szorc 67d8bb157c Bug 1178955 - Print config path on failure; r=smacleod
Actionable error messages are useful.

--HG--
extra : commitid : CDhGEzOJpTk
extra : rebase_source : cb90b3c4c39cc502a4680c1b71fb69b316443688
extra : amend_source : 8f21e837c34138a807f6a8afeefa233e96c56880
2015-07-17 10:28:55 -07:00
Gregory Szorc ab35c26d9e Bug 1178955 - Refactor config path selection; r=smacleod
An upcoming commit will display the path of the config file in the error
message. In order to do this, the calling scope needs to know the path
to the config file.

--HG--
extra : commitid : 5CDrz1hQOOA
extra : rebase_source : 1c29359c9e98b15c99de9efb30add0b0a108aa59
extra : amend_source : 1aa2c504ce72fbdeae1da2f0a6f876e37c46f5f8
2015-07-17 10:28:29 -07:00
Gregory Szorc 9384a4421e Bug 1178955 - Don't pass config paths to updater; r=smacleod
They aren't needed.

--HG--
extra : commitid : 62sGc753PYY
extra : rebase_source : 8fc70f03909e693c20b756828045c4844b43325e
extra : amend_source : aa3e557c6e81824ed8788a8412f7ead09731f42d
2015-07-17 10:28:12 -07:00
Gregory Szorc 095d6a5110 Bug 1183982 - Ensure state directory exists before touching state file; a=me
The creation of the directory used to be handled by the running of the
wizard. Now, since we touch the state file first, we need to create the
directory manually. Derp.

--HG--
extra : commitid : AyZNZgiy6c9
extra : rebase_source : 6deae7653be73f1245a0e1df924f05ccf9cc289c
extra : amend_source : c078de8411e6f6ce2321a03aac071f097beab1b5
2015-07-15 00:42:03 -07:00
Gregory Szorc 1e1df89147 Bug 1182677 - Add doctstring for `mach mercurial-setup`; r=smacleod
Mach grew support for docstrings in `mach help` output a few weeks ago.
Add a docstring for `mach mercurial-setup`.

--HG--
extra : commitid : G9xQeLS1Lo5
extra : rebase_source : 2dca87da7e973317dbce7f715d48c7109f65f922
2015-07-14 13:44:08 -07:00
Gregory Szorc bce07abfe9 Bug 1182677 - Touch last check file before main command invocation; r=smacleod
While not common, there are a few cases where `mach mercurial-setup`
fails. When checking the last time this command was executed, it is
sufficient to record the intent to run the command, not the fact that it
executed to completion.

--HG--
extra : commitid : K9SMNXWNIgl
extra : rebase_source : 3275e2162e0e4cf4e00c66271458b08b4f2e5f7e
2015-07-14 13:42:02 -07:00
Birunthan Mohanathas b0ec6e1295 Bug 1183143 - Add tools/rewriting/ThirdPartyPaths.txt file. r=ehsan
Many of the directories were discovered by searching for README and LICENSE
files.

DONTBUILD
2015-07-13 20:30:26 -07:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Benoit Girard daba448963 Bug 1178892 - Split the profiler into Core & Gecko files and break apart monolithic headers. r=mstange
--HG--
rename : tools/profiler/EHABIStackWalk.cpp => tools/profiler/core/EHABIStackWalk.cpp
rename : tools/profiler/EHABIStackWalk.h => tools/profiler/core/EHABIStackWalk.h
rename : tools/profiler/TableTicker.cpp => tools/profiler/core/GeckoSampler.cpp
rename : tools/profiler/TableTicker.h => tools/profiler/core/GeckoSampler.h
rename : tools/profiler/IntelPowerGadget.cpp => tools/profiler/core/IntelPowerGadget.cpp
rename : tools/profiler/IntelPowerGadget.h => tools/profiler/core/IntelPowerGadget.h
rename : tools/profiler/PlatformMacros.h => tools/profiler/core/PlatformMacros.h
rename : tools/profiler/ProfileEntry.cpp => tools/profiler/core/ProfileEntry.cpp
rename : tools/profiler/ProfileEntry.h => tools/profiler/core/ProfileEntry.h
rename : tools/profiler/ProfileJSONWriter.cpp => tools/profiler/core/ProfileJSONWriter.cpp
rename : tools/profiler/ProfileJSONWriter.h => tools/profiler/core/ProfileJSONWriter.h
rename : tools/profiler/ProfilerBacktrace.cpp => tools/profiler/core/ProfilerBacktrace.cpp
rename : tools/profiler/ProfilerMarkers.cpp => tools/profiler/core/ProfilerMarkers.cpp
rename : tools/profiler/SyncProfile.cpp => tools/profiler/core/SyncProfile.cpp
rename : tools/profiler/SyncProfile.h => tools/profiler/core/SyncProfile.h
rename : tools/profiler/platform-linux.cc => tools/profiler/core/platform-linux.cc
rename : tools/profiler/platform-macos.cc => tools/profiler/core/platform-macos.cc
rename : tools/profiler/platform-win32.cc => tools/profiler/core/platform-win32.cc
rename : tools/profiler/platform.cpp => tools/profiler/core/platform.cpp
rename : tools/profiler/platform.h => tools/profiler/core/platform.h
rename : tools/profiler/shared-libraries-linux.cc => tools/profiler/core/shared-libraries-linux.cc
rename : tools/profiler/shared-libraries-macos.cc => tools/profiler/core/shared-libraries-macos.cc
rename : tools/profiler/shared-libraries-win32.cc => tools/profiler/core/shared-libraries-win32.cc
rename : tools/profiler/shim_mac_dump_syms.h => tools/profiler/core/shim_mac_dump_syms.h
rename : tools/profiler/shim_mac_dump_syms.mm => tools/profiler/core/shim_mac_dump_syms.mm
rename : tools/profiler/v8-support.h => tools/profiler/core/v8-support.h
rename : tools/profiler/ProfileGatherer.cpp => tools/profiler/gecko/ProfileGatherer.cpp
rename : tools/profiler/Profiler.jsm => tools/profiler/gecko/Profiler.jsm
rename : tools/profiler/ProfilerIOInterposeObserver.cpp => tools/profiler/gecko/ProfilerIOInterposeObserver.cpp
rename : tools/profiler/ProfilerIOInterposeObserver.h => tools/profiler/gecko/ProfilerIOInterposeObserver.h
rename : tools/profiler/SaveProfileTask.cpp => tools/profiler/gecko/SaveProfileTask.cpp
rename : tools/profiler/SaveProfileTask.h => tools/profiler/gecko/SaveProfileTask.h
rename : tools/profiler/ThreadResponsiveness.cpp => tools/profiler/gecko/ThreadResponsiveness.cpp
rename : tools/profiler/ThreadResponsiveness.h => tools/profiler/gecko/ThreadResponsiveness.h
rename : tools/profiler/local_debug_info_symbolizer.cc => tools/profiler/gecko/local_debug_info_symbolizer.cc
rename : tools/profiler/local_debug_info_symbolizer.h => tools/profiler/gecko/local_debug_info_symbolizer.h
rename : tools/profiler/nsIProfileSaveEvent.idl => tools/profiler/gecko/nsIProfileSaveEvent.idl
rename : tools/profiler/nsIProfiler.idl => tools/profiler/gecko/nsIProfiler.idl
rename : tools/profiler/nsProfiler.cpp => tools/profiler/gecko/nsProfiler.cpp
rename : tools/profiler/nsProfiler.h => tools/profiler/gecko/nsProfiler.h
rename : tools/profiler/nsProfilerCIID.h => tools/profiler/gecko/nsProfilerCIID.h
rename : tools/profiler/nsProfilerFactory.cpp => tools/profiler/gecko/nsProfilerFactory.cpp
rename : tools/profiler/nsProfilerStartParams.cpp => tools/profiler/gecko/nsProfilerStartParams.cpp
rename : tools/profiler/nsProfilerStartParams.h => tools/profiler/gecko/nsProfilerStartParams.h
rename : tools/profiler/AutoObjectMapper.cpp => tools/profiler/lul/AutoObjectMapper.cpp
rename : tools/profiler/AutoObjectMapper.h => tools/profiler/lul/AutoObjectMapper.h
rename : tools/profiler/LulCommon.cpp => tools/profiler/lul/LulCommon.cpp
rename : tools/profiler/LulCommonExt.h => tools/profiler/lul/LulCommonExt.h
rename : tools/profiler/LulDwarf.cpp => tools/profiler/lul/LulDwarf.cpp
rename : tools/profiler/LulDwarfExt.h => tools/profiler/lul/LulDwarfExt.h
rename : tools/profiler/LulDwarfInt.h => tools/profiler/lul/LulDwarfInt.h
rename : tools/profiler/LulDwarfSummariser.cpp => tools/profiler/lul/LulDwarfSummariser.cpp
rename : tools/profiler/LulDwarfSummariser.h => tools/profiler/lul/LulDwarfSummariser.h
rename : tools/profiler/LulElf.cpp => tools/profiler/lul/LulElf.cpp
rename : tools/profiler/LulElfExt.h => tools/profiler/lul/LulElfExt.h
rename : tools/profiler/LulElfInt.h => tools/profiler/lul/LulElfInt.h
rename : tools/profiler/LulMain.cpp => tools/profiler/lul/LulMain.cpp
rename : tools/profiler/LulMain.h => tools/profiler/lul/LulMain.h
rename : tools/profiler/LulMainInt.h => tools/profiler/lul/LulMainInt.h
rename : tools/profiler/LulPlatformMacros.h => tools/profiler/lul/LulPlatformMacros.h
rename : tools/profiler/platform-linux-lul.cpp => tools/profiler/lul/platform-linux-lul.cpp
rename : tools/profiler/platform-linux-lul.h => tools/profiler/lul/platform-linux-lul.h
rename : tools/profiler/GeckoProfiler.h => tools/profiler/public/GeckoProfiler.h
rename : tools/profiler/GeckoProfilerFunc.h => tools/profiler/public/GeckoProfilerFunc.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/public/GeckoProfilerImpl.h
rename : tools/profiler/ProfileGatherer.h => tools/profiler/public/ProfileGatherer.h
rename : tools/profiler/ProfilerBacktrace.h => tools/profiler/public/ProfilerBacktrace.h
rename : tools/profiler/ProfilerMarkers.h => tools/profiler/public/ProfilerMarkers.h
rename : tools/profiler/PseudoStack.h => tools/profiler/public/PseudoStack.h
rename : tools/profiler/shared-libraries.h => tools/profiler/public/shared-libraries.h
rename : tools/profiler/GeckoTaskTracer.cpp => tools/profiler/tasktracer/GeckoTaskTracer.cpp
rename : tools/profiler/GeckoTaskTracer.h => tools/profiler/tasktracer/GeckoTaskTracer.h
rename : tools/profiler/GeckoTaskTracerImpl.h => tools/profiler/tasktracer/GeckoTaskTracerImpl.h
rename : tools/profiler/SourceEventTypeMap.h => tools/profiler/tasktracer/SourceEventTypeMap.h
rename : tools/profiler/TracedTaskCommon.cpp => tools/profiler/tasktracer/TracedTaskCommon.cpp
rename : tools/profiler/TracedTaskCommon.h => tools/profiler/tasktracer/TracedTaskCommon.h
extra : commitid : EGgqHIgsN6z
2015-06-30 15:03:45 -04:00
Julian Seward 3140f17c1a Bug 1173847 - Remove EXIDX unwinding functionality from LUL. r=mstange. 2015-07-03 11:51:07 +02:00
Shu-yu Guo 4d02b7746d Revert "Bug 1172157 - Save malformed profile JSON to file to help debug." (r=BenWa) 2015-07-01 14:57:55 -07:00
Shu-yu Guo 70bd4a84d9 Bug 1172186 - Followup: revert accidental changes to ProfileJSONWriter.cpp (r=me) 2015-07-01 14:57:55 -07:00
James Willcox 176ebfbbe2 Bug 1178961 - Restore the std::string fix from bug 1167230 r=BenWa 2015-07-01 08:47:46 -05:00
Julian Seward 303045d389 Bug 1157194 - Make LUL able to deal with Dwarf expressions in CFI unwind info. r=jimb.
--HG--
extra : rebase_source : 65cccf289a78d6a0996b220fe6f763a3b70950eb
2015-06-30 16:02:27 +02:00
Andrew McCreight f4abeb8aba Bug 886459, part 1 - Remove unused includes of nsIJSRuntimeService.h. r=bholley 2015-06-26 18:44:13 -07:00
Gregory Szorc 4b8238e9dc Bug 1176642 - Defer import of urllib2; r=chmanchester
This prevents 8 module imports from occurring at mach startup time.

As part of this, I discovered a redundant import of "sys" and eliminated
it.

--HG--
extra : commitid : AsZJHdCVbV0
extra : rebase_source : 53b1d5912ba85c7d363d9da21329a6fa65a2bce2
2015-06-25 12:12:15 -07:00
Gregory Szorc 3e949ee8fe Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.

--HG--
extra : commitid : 6tFME1KKfTD
extra : rebase_source : 78728f82f5487281620e00c2a8004cd5e1968087
2015-06-21 17:39:09 -07:00
Gregory Szorc a19bee3a08 Bug 1176642 - Remove unused imports; r=glandium
--HG--
extra : commitid : IZ7JkH4GKW4
extra : rebase_source : 4c3301c5c353be8afed407df4a003a9cac4583e8
2015-06-25 12:16:38 -07:00
Eric Rahm e03df72f86 Bug 1167230 - Don't pack ProfileEntry on ARM. r=shu
--HG--
extra : commitid : 1bt5joaph6U
extra : rebase_source : 6b62511eef626b3ebbe3f7284e555b98d91cf13f
2015-05-28 15:26:52 -07:00
Benoit Girard 59ad1c9d28 Bug 1172186 - Make the profiler build standalone. r=mstange
--HG--
extra : commitid : BTYjbUK8Kkf
extra : rebase_source : 48b78ab373d4019fb42cc39cdc66586da33eb069
2015-06-18 01:05:42 -04:00
Benoit Girard 8d6a67f6d3 Bug 1172216 - Move nsStackwalk to mozglue. r=glandium
--HG--
rename : xpcom/base/nsStackWalk.cpp => mozglue/misc/StackWalk.cpp
rename : xpcom/base/nsStackWalk.h => mozglue/misc/StackWalk.h
extra : commitid : EMbWGfjKvdq
extra : rebase_source : b7308eb569cc1a019d3b7a92aaff0de7a49b5682
2015-06-10 16:32:45 -04:00
Tom Tromey c924c51529 Bug 1159486 - Make profiler use the process creation time. r=shu, r=jsantell 2015-06-16 22:28:00 -04:00
Shelly Lin 4eff0a1842 Bug 1113562 - Expected delay time of tasks should not be the latency of those kind. r=sinker
--HG--
extra : rebase_source : b5e012fb6570e87270a0924fbe395dc56e6242ec
2015-06-16 10:57:19 +08:00
Mike Shal 3eccca01aa Bug 1173998 - use localized package for previous mar; r=nthomas 2015-06-15 10:45:17 -04:00
Julian Seward 14bc4ccfab Bug 1165833 - LUL testing: import gtest/gmock based Dwarf CFI tests from toolkit/crashreporter/google-breakpad. r=jimb. 2015-06-15 15:47:43 +02:00
Mike Conley 883b7ff2db Bug 1116188 - Add async ProfileGatherer as the mechanism for gathering profiles from subprocesses. r=bgirard,bz
--HG--
extra : commitid : 3ssrVzrWpIy
extra : rebase_source : 5d389ada8f7e4c453c0b7e6a965ee46a7526e06f
2015-06-10 17:58:30 -04:00
Shu-yu Guo d91cf6d108 Bug 1167895 - Escape JS engine SPS profile strings to UTF8 properly. (r=djvj) 2015-06-11 18:30:39 -07:00
Shu-yu Guo 64b5f2f3be Bug 1172157 - Save malformed profile JSON to file to help debug. (r=BenWa) 2015-06-08 12:21:58 -07:00
Nick Thomas 4fbffd3aca Bug 1160514: Use osslsigncode for 32-bit signing r=ted 2015-06-05 12:05:14 +12:00
Shu-yu Guo b013423bb8 Bug 1171240 - Avoid copies when splicing inside ProfileJSONWriter. (r=mstange) 2015-06-05 18:43:16 -07:00
Shu-yu Guo 46b5bdccc4 Bug 1171208 - Fix null-terminating chunks in ChunkedJSONWriteFunc. (r=mstange) 2015-06-04 03:22:56 -07:00
Ting-Yu Chou 1d142a2ed6 Bug 1168784 - Part 1: Fix the script merging profiles to handle new profiler JSON format. r=benwa 2015-06-01 18:09:29 +08:00
Nick Thomas 43c1225280 Bug 1170913, full-update target in tools/update-packaging/ always runs automation-partial-patch, r=glandium DONTBUILD 2015-06-03 16:58:59 +12:00
Chris Manchester 486a47562c Bug 1162093 - Add "push-to-try" from version-control-tools to the mercurial setup wizard prompt.;r=gps
--HG--
extra : commitid : KlfgrTg1e8X
2015-06-02 20:41:29 -07:00
Gregory Szorc 06883e5900 Bug 1168466 - Prompt to install bundleclone extension; r=smacleod
We're about to deploy this to release automation. We might as well have
normal people start using it as well. We could perhaps even have the
extension print out information on how to resume interrupted downloads
someday, so it will pay to have this enabled so they can utilize that
feature some day in the future.

DONTBUILD (NPOTB)

--HG--
extra : commitid : CVW0xQNKjt3
extra : rebase_source : 8c5f609b036ac081c1af5f7428bb8d4a4c2ed476
extra : histedit_source : adb57e6fbb5f50af619fb98e1fbb17c815aca76e
2015-05-26 10:07:32 -07:00
Gregory Szorc 9bb66e65f0 Bug 1168466 - Bump minimum Mercurial version; r=smacleod
We dropped support for Mercurial 3.0 in version-control-tools. Bump
minimum versions in extensions to reflect this.

We highly recommend people run a modern Mercurial. Bump the minimum
non-legacy version to reflect that.

--HG--
extra : commitid : 8YtjoVnYauL
extra : rebase_source : 949c27a376226bbd32430047176012b51e891255
extra : histedit_source : aff04954269ed777c9b26ec3f1fda6526b1ae317
2015-05-26 10:00:52 -07:00
Jim Chen bb60c1781d Bug 1169334 - Fix missing braces in Java thread profile; r=mstange 2015-06-02 16:31:25 -04:00
Eric Rahm a78fbb7376 Bug 1167230 - Don't pack ProfileEntry on ARM. r=shu 2015-05-28 15:26:52 -07:00
Markus Stange 9980cc4eef Back out bug 1150252 (using pthread_kill for OS X profiling) because of bug 1166778 and bug 1166808. r=djvj
--HG--
extra : rebase_source : e6f27c77062ce365361daa06f145761b7f1f1d07
2015-05-19 14:48:44 -04:00
Shu-yu Guo 3e9695abda Bug 1168265 - Clean up ChunkedJSONWriteFunc. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo 9f94c8fcbf Bug 1167230 - Use nsCString instead of std::string in FrameKey in the profiler. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo eca2c2d5bb Bug 1166492 - Return UniquePtr<char[]> from profiler_get_profile to avoid double copying. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo 39b3a7865a Bug 1166492 - Remove dead code in the ProfileBuffer and ThreadProfile. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo c320562635 Bug 1166492 - Handle huge strings in the profile JSON writer. (r=mstange) 2015-05-26 22:58:40 -07:00
Botond Ballo 2e2a504271 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Phil Ringnalda 49dd872168 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo 9934d127c1 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
Carsten "Tomcat" Book 8d7487c92e Merge mozilla-central to fx-team 2015-05-20 16:10:15 +02:00
Shu-yu Guo 0e509e7010 Bug 1166126 - Increase the size of the tag buffer in the profiler. r=mstange 2015-05-18 20:57:00 -04:00
JerryShih 61d50cc4ae Bug 1164785 - Append line number to systrace scopedTrace object name. r=BenWa 2015-05-14 01:41:00 -04:00
Jim Chen dc596951dd Bug 1163135 - Make it safer to start the profiler via signal; r=snorp 2015-05-19 11:27:18 -04:00
Ed Morley 7f51884ce9 Bug 1164812 - mach mercurial-setup: Always mark the v-c-t repo as needing update
Currently we only mark the version-control-tools repo as needing updating, if
we did not pass a path param to prompt_external_extension(). This is because if
no path is passed, the extension is used from the version-control-tools repo,
and so if _no_ path is passed, it's presumed the extension is external to the
repo. However this is not always the case - eg if we need to specify a specific
file for an extension (vs the entire directory), we have to do so be passing in
the path. We hit this case for reviewboard.

With this change, we always mark the version-control-tools repo as needing an
update, no matter where the extension was located.
2015-05-19 09:41:38 +01:00
Ed Morley 18e0893b16 Bug 978514 - mach mercurial-setup: Use mqext from the version-control-tools repo
mqext was moved into the version-control-tools repo some time ago, but mach
mercurial-setup was still pointing at the old repo location, which is no longer
being updated.
2015-05-19 09:41:38 +01:00
Gregory Szorc 4d9db7cba1 Bug 1164315 - Update key fingerprint for bitbucket.org; r=me
Value obtained from
https://blog.bitbucket.org/2015/05/06/bitbuckets-ssl-certificate-is-changing-for-sha-2/
and verified to work.

DONTBUILD (NPOTB)

--HG--
extra : commitid : AyMDr4OieQg
extra : amend_source : fba8a857e6f2a5044955d027620af36a847942d1
2015-05-12 20:21:47 -07:00
Shu-yu Guo 2ad192eabb Bug 1154115 - Fix nsIProfiler xpcshell tests to use the new profiler JSON format. (r=me) 2015-05-11 14:16:44 -07:00
Shu-yu Guo 3390ef56f7 Bug 1154115 - Rewrite profiler JSON streaming. (r=mstange) 2015-05-11 14:16:44 -07:00
Jordan Santell 7b6fec2d8c Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07:00
Gregory Szorc 744bbc11a4 Bug 1128586 - Prefer hg.exe over hg; r=RyanVM
This is needed for compatibility with an upcoming release of
MozillaBuild, which distributes Mercurial as a Python package, not as a
standalone Windows program. As a result, it introduces "hg" into $PATH,
which "which" will happily prefer as the "hg" binary. This upsets
subprocess. So, we explicitly prefer "hg.exe" over "hg".

We could accomplish the same thing by calling which.whichall() and
sorting results. But this is more code and IMO not worth the effort to
implement.

--HG--
extra : rebase_source : 750ba02c02fd4a9fab42ccf128eab4f5e7741564
extra : amend_source : 8fb84c0ed5cd14dd27ad6cd7b78fb2ac1ffc87a2
2015-04-27 10:43:49 -07:00
Carsten "Tomcat" Book 596e5f9960 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Shu-yu Guo 522b073d05 Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange) 2015-04-25 15:56:03 -07:00
Shu-yu Guo fd79d51b74 Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange) 2015-04-25 15:55:56 -07:00
Tooru Fujisawa 87225c43b9 Backed out changeset 5468f1f83ca8 (bug 1145824) for mochitest-other failure 2015-04-25 13:50:27 +09:00
Tooru Fujisawa 6081421830 Backed out changeset a913dca49e73 (bug 1145824) for mochitest-other failure 2015-04-25 13:50:25 +09:00
Tooru Fujisawa da97f25d34 Backed out changeset 9bd76ec482d2 (bug 1145824) for mochitest-other failure 2015-04-25 14:12:25 +09:00
Tooru Fujisawa ddb1bdaf8e Backed out changeset 09b28ebb2216 (bug 1145824) for mochitest-other failure 2015-04-25 14:12:23 +09:00
Shu-yu Guo 0fafc89798 Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange) 2015-04-24 17:30:58 -07:00