Commit Graph

3829 Commits

Author SHA1 Message Date
Gregory Szorc
c72b0e3879 Bug 1231192 - Only install host fingerprints if not running secure Python+hg; r=smacleod
See inline comment.

--HG--
extra : rebase_source : ea92193e33f35df71d3bc85edc2db4c86efa290c
2015-12-07 13:15:24 -08:00
Gregory Szorc
0fdce19cb8 Bug 1231192 - Offer to install hg wip; r=smacleod
--HG--
extra : rebase_source : 4fa02af4d0f723e1ffb1a5854c4bde1204bec5d7
2015-12-07 13:22:49 -08:00
Gregory Szorc
3ecb03a1a8 Bug 1231192 - Support clonebundles feature; r=smacleod
bundleclone is the Mozilla-specific precursor to the "clonebundles"
feature in Mercurial 3.6. Change the wizard to recognize when
clonebundles is available and to favor it. Activating clonebundles will
also disable bundleclone, as bundleclone is redundant with clonebundles.
(If both are enabled, bundleclone detects this and gets out of the way.)

--HG--
extra : rebase_source : 989a2ed683ca6a3cc31a3ef4e2803d0b8bf19f09
2015-12-07 13:03:17 -08:00
Gregory Szorc
985a496a77 Bug 1231192 - Bump some minimum Mercurial version; r=smacleod
We only support the last 4 releases of Mercurial. 3.6 is out, which
means we only support down to 3.3.

--HG--
extra : rebase_source : 2b097b5cdbbe87efcf2676ac83b5539298604aac
2015-12-07 12:23:56 -08:00
Gregory Szorc
041af1aae1 Bug 1231192 - Mark Mercurial 3.5.2 as oldest non-legacy version; r=smacleod
Main reason for recommending 3.5 is bundle2. The protocol is faster and
we can do things like put extra data in the server exchange. It also
enables generaldelta to be exchanged without pain.

And of course there are tons of performance improvements and bug fixes.

--HG--
extra : rebase_source : 82e4e6416cb16d2d4b5c795cd567e766c3c8b7f7
2015-12-07 12:20:50 -08:00
Matt Howell
421eb47a4b Bug 1079858, Deal with deprecation of SHA1 (SHA-1) Authenticode signatures for Windows signing, part 2 (swap cert), r=catlee, a=lizzard
--HG--
extra : amend_source : 450203e03ee0f46929ca4b4ce1a1e43b4ea6df97
2015-12-08 16:16:55 -05:00
Wes Kocher
39967e9806 Backed out changeset 0ea0832d052d (bug 1079858) for causing bug 1230631 a=backout
--HG--
extra : commitid : GeBy210BpUB
2015-12-04 14:58:55 -08:00
Mike Conley
51d7f5de3d Bug 1193838 - Allow ProfileGatherer to gather profiles from exiting processes. r=BenWa
--HG--
extra : commitid : IhyN838vNVU
extra : rebase_source : a91c87e3f9a087cd789bdb678651ab351357092a
2015-08-18 14:57:35 -04:00
Mike Conley
9811d5b26c Bug 1193838 - Expose ProfileGatherer as an nsISupports through nsIProfiler for process parent actors. r=BenWa
We need to let ContentParent and PluginModuleParent get a reference to the ProfileGatherer
during the window of time that we're profiling so that if they start to die (the actor is
starting to go away), they have a gatherer they can send their last profile data to.

--HG--
extra : commitid : LkcpDsiXmp0
extra : rebase_source : d1c9e6e7640ff759cef25920e2bc17c0484544bd
2015-08-12 14:20:26 -04:00
Mike Conley
0069816212 Bug 1193838 - Make ProfileGatherer exist during the lifetime of a GeckoSampler. r=BenWa
--HG--
extra : commitid : GutYRbuADgV
extra : rebase_source : dc291977bb7ef43a024e26c83abb47b75a82b841
2015-12-01 13:01:27 -05:00
Alex Jordan
ca8be71591 Bug 1228580 - ./mach mercurial-setup should use ~ to set up extension paths, not my literal home directory. r=gps 2015-11-27 14:51:50 -08:00
Ben Hearsum
2658b43d3a Bug 1079858: Enable SHA2 signing for windows. r=catlee rs=rstrong
--HG--
extra : amend_source : c605389facd952635d04a60b15bb14a269d073dc
2015-12-02 14:12:37 -05:00
Bogdan Postelnicu
e98cb50956 Bug 1228339 - Initialize members in class. r=jseward 2015-12-02 02:50:00 +01:00
Nigel Babu
cda29316d8 Backed out changeset 0d6721e243d3 (bug 1228339) for build bustage
CLOSED TREE

--HG--
extra : amend_source : 68000631ca959f6ac64d1ed9d01fe091f933370a
2015-12-02 14:09:40 +05:30
Bogdan Postelnicu
b33bbc96f1 Bug 1228339 - initialize memebers in class. r=jseward
--HG--
extra : rebase_source : e66d5752d36299c357a8ca1fdb737ef010fc67ba
2015-11-26 07:03:00 +01:00
Mike Hommey
3a7b31cfb5 Bug 1228444 - Rename DIST_FILES to FINAL_TARGET_PP_FILES. r=gps
This makes it clearer that really it's the same thing as FINAL_TARGET,
with preprocessing.
We still keep DIST_FILES in backend.mk because it's shorter and doesn't
really matter.
2015-12-01 08:25:22 +09:00
Mike Hommey
655579a1fa Bug 1228444 - Don't silence "no preprocessor directives found" warnings for DIST_FILES. r=gps
and move files without preprocessor directives to FINAL_TARGET_FILES.
2015-12-01 08:25:22 +09:00
Mike Conley
26dff43ec9 Bug 1103094 - Start profiling subprocesses if the parent process is already profiling. r=BenWa
--HG--
extra : commitid : 5WuS9Ur4Lmn
extra : rebase_source : ec3fd280607c5b13090d3c4e902b47ffd5617ec3
2015-08-11 14:26:27 -04:00
Mike Conley
6439f951dc Bug 1103094 - Add accessor for nsIProfilerStartParams to nsIProfiler. r=BenWa
--HG--
extra : commitid : LMGmwgJA3uM
extra : rebase_source : 8d44cc8166996fb31ff4e256a5e050ad45c06611
2015-08-11 14:26:09 -04:00
Mike Hommey
5ab167c3b0 Bug 1224490 - Kill LIBXUL_DIST. r=mshal 2015-11-17 10:00:19 +09:00
Benoit Girard
58a6a87af1 Bug 989499 - Part 2: Use FramePointerStackwalk on windows. r=rjmuizel
--HG--
extra : commitid : ILgHveuWaET
2014-03-28 16:31:15 -04:00
Jeff Muizelaar
1a0db79ef4 Bug 989499 - Part 1: Add a way to get the stack top. r=BenWa
--HG--
extra : commitid : FeZ1v6oPxGh
2014-03-28 16:18:24 -04:00
Andreas Tolfsen
34b2c0c28f Bug 1223459: Serve documentation over HTTP in mach doc
Introduces new flag --http [ADDRESS] that spins up an HTTPD serving
`outdir'.  By default it will spin up a server on 0.0.0.0:6666.

r=ahal

--HG--
extra : commitid : EP5vOiGxJM7
extra : rebase_source : e6a8c4c44ccf45eb3a570d6e0575999c72465fec
2015-11-10 20:37:38 +00:00
Chris Peterson
7d76083902 Bug 1223262 - Fix -Wunreachable-code warning in tools/profiler. r=BenWa
tools/profiler/core/platform-linux.cc:363:11: warning: code will never be executed [-Wunreachable-code]
2015-11-11 21:18:20 -08:00
Chris Peterson
3193160487 Bug 1222887 - Suppress -Wunreachable-code warning in tools/power. r=njn
tools/power/rapl.cpp:844:5 [-Wunreachable-code] code will never be executed

clang reports a -Wunreachable-code warning for sigemptyset() because Darwin's sigemptyset() is a macro that always returns 0. Thus `if (sigemptyset(&sa.sa_mask) < 0)` is always false and `Abort("sigemptyset() failed")` is never called. Linux's sigemptyset() can return 0 or -1. The extra parens around (0) suppress the clang warning.
2015-11-09 01:03:54 -08:00
Andrew Halberstadt
157819bf8d Bug 1220789 - Generalize |mach build-doc| for any arbitrary sphinx projects; rename to |mach doc|, r=gps
Now, running |mach doc <path/to/project>| will generate the sphinx based docs of the project and open them
in the default browser. Mulitple doc paths can be supplied at a time. E.g:
./mach doc testing/mozbase

--HG--
extra : commitid : IOguvvudLzw
extra : rebase_source : c53788d259c7f69be997426227778820ec99dd26
extra : amend_source : 5fa5069d1c7c8d5d93fefb56563af9bd28286b90
2015-11-03 15:39:50 -05:00
Gregory Szorc
202a3968b4 Bug 1213959 - Set SHELL in Read the Docs environment; r=ted
The Read the Docs environment doesn't have SHELL defined. This causes
mach.mixin.process's import to fail, as it insists on finding an active
shell. While we could fix mach.mixin.process to not raise if the
variable is not set, this is a bit more work and has wider build system
and mach implications. So we employ a quick hack instead.

DONTBUILD (NPOTB)

--HG--
extra : commitid : 23fRi9TQht4
extra : rebase_source : 4b3d0833f789a73fee67c0cadcf525434f08f78b
2015-11-04 08:26:26 -08:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
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