Commit Graph

1493 Commits

Author SHA1 Message Date
Masatoshi Kimura
40a556102e Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Chris Peterson
90751d5a6c Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Jim Chen
67f8ab8931 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Ehsan Akhgari
bd52bd3f4e Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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 MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Nicholas Nethercote
b7b5e21cfd Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Ehsan Akhgari
0c5dd70e0a Bug 1118411 - Mark virtual overridden functions as MOZ_OVERRIDE in Gecko Profiler; r=BenWa 2015-01-06 16:30:03 -05:00
Gregory Szorc
7860b372e8 Bug 1115278 - Add virtualenv to Sphinx environment; r=glandium
Python API documentation requires the ability to import modules. So, we
set up a virtualenv in our Sphinx environment so module loading works.

This solution isn't perfect: a number of modules fail to import when run
under sphinx-build.

--HG--
extra : rebase_source : fce732e0b8aefe0e9a2ee594b8a08ac02e27579a
extra : histedit_source : bef27c947b95c3182fbc6cd656ae8c96acaaa6f4
2014-12-24 10:17:02 -08:00
Gregory Szorc
3c8383bfb1 Bug 1115278 - Move Sphinx documentation staging into Sphinx extension; r=glandium
Previously, code for staging the Sphinx documentation from moz.build
metadata lived in a mach command and in the moztreedocs module. This
patch moves the invocation to the Sphinx extension.

When the code is part of the Sphinx extension, it will run when executed
with sphinx-build. This is a prerequisite to getting RTD working, since
sphinx-build is the only supported entrypoint for generating
documentation there.

With this patch, we can now invoke sphinx-build to build the
documentation. The `mach build-docs` command is no longer needed.

--HG--
extra : rebase_source : 86e76c7d598ffa23dae858254eecedbdd12706a4
extra : histedit_source : 1826aa5ddfafdff62847cc293d1f0950b236caac
2014-12-24 09:46:41 -08:00
Gregory Szorc
7453184b35 Bug 1115278 - Store docs directory in a variable; r=glandium
--HG--
extra : rebase_source : b23e3e6202a2ea4b6f8ed24cdcf2698dededf6b6
extra : histedit_source : bfa988fb2259a03439700dfc894eefdeb2bb4a98
2014-12-23 23:18:48 -08:00
Gregory Szorc
4d46f8645a Bug 1115278 - Move Sphinx build scanning into moztreedocs; r=glandium
In order for Sphinx documentation to work with Read The Docs, we need
the code for scanning the build config for Sphinx documentation to live
in an importable module. This patch moves some code from the
|build-docs| mach command into an importable module.

--HG--
extra : rebase_source : 263972d1415419c59c25058ca2cb90b3c31eda89
extra : histedit_source : e120aa117c63d54f6b293ae63d9bd1338ea0e808
2014-12-23 22:53:50 -08:00
Gina Yeh
52d4bc5972 Bug 1111949 - [TaskTracer] Bulid error: mozilla-central/tools/profiler/GeckoTaskTracer.cpp:115:31: error: expected ')' before 'false', r=sinker. 2014-12-22 10:04:44 +08:00
Landry Breuil
b9d0a03471 Bug 1113973 - include <stdarg.h> to get struct va_list definition r=bgirard 2014-12-21 17:38:21 +01:00
Benoit Girard
62f0f1fd3d Bug 1112756 - Pass display list and layers data directly to the profiler. r=mstange
--HG--
extra : rebase_source : 5c7295e80105b0db43651553c1b901836571cbbb
2014-12-18 13:32:53 -05:00
Benoit Girard
190d0d9f31 Bug 1111258 - Let the profiler turn on layout.display-list.dump. r=mstange 2014-12-13 15:40:18 -05:00
Benoit Girard
311ed27756 Bug 1111830 - b2g profiling shouldn't delegate to child processes like e10s. r=mconley
--HG--
extra : rebase_source : 8dd4735fa38227890760c3781d78ce809abcc703
2014-12-15 18:17:25 -05:00
Ehsan Akhgari
c2e5b072b5 Bug 1111230 - Remove the library names for unsupported MSVC versions from trace-malloc; r=dbaron
--HG--
extra : amend_source : 3526194443a4b60a8d0b9b9fccb3ddb92e435c8b
2014-12-14 14:55:41 -05:00
Ehsan Akhgari
989b69c3c1 Bug 1111228 - Remove the MSVC2005 special casing from PseudoStack.h; r=BenWa
--HG--
extra : amend_source : c6adbc3ff76b040433e5b8af342a4aa4575f4bf0
2014-12-14 14:55:00 -05:00
Benoit Girard
8e5e6ad0c4 No bug - Fix type error breaking microsecond profiling. r=me
--HG--
extra : rebase_source : a7d36729969d95c7f9c79bedf4d825282231d7c2
2014-12-12 16:49:00 -05:00
Benoit Girard
eadab25b84 Bug 1110998 - Let the profiler turn on layers.dump-texture. r=mstange
--HG--
extra : rebase_source : 05cd593beaf75999aed7c274410dfac422dc6696
2014-12-12 16:11:57 -05:00
Tom Tromey
4e2842eb7f Bug 1047124 - Clean up memory leaks. r=BenWa 2014-12-11 09:41:00 -05:00
Kai-Zhen Li
e19fc32fe2 Bug 1104653 - Add api level 21 for gonk-l. r=glandium 2014-11-26 17:37:09 +08:00
Benoit Girard
85fb200107 Bug 1087435 - Fix accidental return. r=me 2014-12-09 14:44:10 -05:00
Chris Peterson
47091050b7 Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
Trevor Saunders
dfe4aecd6f bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Dawid Pura
fb45f25e6b Bug 1077326 - Change mercurial-setup process by adding run test for each external extension before prompting about it. r=glandium 2014-11-25 10:53:00 +01:00
Andrew Halberstadt
60f64fc9b0 Bug 1101773 - Add an --update-only option to |mach mercurial-setup| for updating extensions without running the wizard, r=gps
--HG--
extra : rebase_source : 93de55544f2f907255a286b1074ed201de62a46b
2014-11-19 15:01:04 -05:00
Gina Yeh
c94df689f2 Bug 1091479, Patch2: Rename enum members, r=sinker. 2014-11-24 09:47:39 +08:00
Gina Yeh
d6d29c0b52 Bug 1091479, Patch 1: Log dispatch time when creating a source event, r=sinker. 2014-11-24 09:47:13 +08:00
Gregory Szorc
54266615c4 Bug 1103052 - Remove traces of RBTools; r=mconley
We previous added support for RBTools in bug 943747 and bug 945577. Now
that we have MozReview, this functionality is next to useless. MozReview
is the future. So, we remove the old RBTools code.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 2b307c31a5c484cb0bd785f582e3c248c3cb11da
2014-11-21 10:49:56 -08:00
Shelly Lin
bc6b24418f Bug 1100259 - Add TaskTracer labels in EventDispatcher and console.log of message with special prefix. r=sinker. 2014-11-20 10:57:27 +08:00
Mike Conley
79166ae2dc Bug 1008435 - Let the Gecko Profiler work with child processes. r=BenWa,smaug.
We now allow profiling the content process for e10s, and plugin processes.

--HG--
extra : rebase_source : 1f2e35d4d55b33b56160132893dbf7d4787925fa
extra : amend_source : d03465d4318f8e50c7624ad0eeb681b30c068b11
2014-11-18 12:50:25 -05:00
Julian Seward
dde41080ff Bug 788974 - Don't disable elfhack when enabling profiling on platforms supporting dl_iterate_phdr. r=glandium.
--HG--
extra : rebase_source : b89c14b8a11473e34707447656d8616dd90075c5
2014-11-17 23:43:14 +01:00
Cervantes Yu
e49d50a0fe Bug 1091533, Part 3: Reset thread id in SPS when a content process is forked. r=BenWa 2014-11-06 19:34:07 +08:00
Cervantes Yu
9b723812ad Bug 1091533, Part 1: Don't wrap tgkill() on the Nuwa process. r=BenWa 2014-11-06 19:10:52 +08:00
Nicholas Nethercote
ab64d9f1f6 Bug 1089441 - Update the refcount-balancer docs link. r=dbaron.
DONTBUILD because NPOTB.

--HG--
extra : rebase_source : 7e415ac8fd4f028f0cb56f9c5b3949a65a68849e
2014-11-13 14:02:21 -08:00
Nicholas Nethercote
add374fab0 Bug 1089441 - Move bloattable.pl and bloatdiff.pl into tools/bloatview/. r=dbaron.
DONTBUILD because NPOTB.

--HG--
rename : tools/rb/bloatdiff.pl => tools/bloatview/bloatdiff.pl
rename : tools/memory/bloattable.pl => tools/bloatview/bloattable.pl
extra : rebase_source : cc067b5c5db4b5975629d7ade384f964302f0ee4
2014-11-13 14:02:11 -08:00
Kan-Ru Chen (陳侃如)
170c13b1dd Bug 1097577 - CreateFakeTracedTask should return a already_AddRefed. r=thinker 2014-11-13 16:57:11 +08:00
Julian Seward
48a6729fd1 Bug 788974 - Don't disable elfhack when enabling profiling on platforms supporting dl_iterate_phdr. r=glandium. 2014-11-10 09:31:09 +01:00
Gina Yeh
f1da10aaba Bug 1089514, Patch 1: Some traced tasks/runnables have record of dispatch, but no records of execution, r=thinker.
---
 tools/profiler/TracedTaskCommon.cpp |   19 +++++--------------
 tools/profiler/TracedTaskCommon.h   |   12 ++++++++----
 xpcom/threads/TimerThread.cpp       |    2 ++
 xpcom/threads/nsTimerImpl.cpp       |    3 +++
 xpcom/threads/nsTimerImpl.h         |    2 +-
 5 files changed, 19 insertions(+), 19 deletions(-)
2014-11-04 17:42:03 +08:00
Gregory Szorc
5e8084f225 Bug 1091722 - Don't require configure before generating docs; r=glandium
Ever since Sphinx variable reading operates at the AST level (bug
1071012), we don't technically need a fully configured environment in
order to generate the documentation!

This patch stubs out the config environment object with a fake one that
provides the only needed context to generate the Sphinx docs. This
allows us to build the Sphinx docs on a fresh clone of the tree with no
configure and with no object directory.

--HG--
extra : rebase_source : f44513f01706391a5932a20c1437fcc8697611cd
2014-10-30 10:37:00 -07:00
Gregory Szorc
64dc8ea51f Bug 1091722 - Use Read The Docs theme for Sphinx; r=glandium
Read the Docs has a lovely Sphinx theme that beats the pants off the
built-in and default theme. And since it looks like MDN's Sphinx theme
is dead in the water, this gets us a nice UI win until the MDN theme
comes back from the dead.

--HG--
extra : rebase_source : b4f92cf8263843d3118a85a7d9b59b98d5dd0613
2014-10-30 10:09:29 -07:00
Gregory Szorc
fa64705931 Bug 1091722 - Remove requirements.txt; r=glandium
requirements.txt isn't being used by the documentation infrastructure.
We nuke it.

--HG--
extra : rebase_source : d53ee5c329790d0ed7d75d6d9f451269dda6c485
2014-10-30 10:51:17 -07:00
Andrew Halberstadt
b26b26e3fa Bug 1092149 - Use LooseVersion instead of StrictVersion in |mach mercurial-setup| so release candidates work, r=gps 2014-10-31 15:09:39 -04:00
Mike Hommey
21ec48314e Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Cervantes Yu
396c13e571 Bug 1064673: Use mozilla::TimeDuration in TaskTracer. r=tlee 2014-10-17 17:33:03 +08:00
Tom Tromey
a5a3aa5d5f Bug 1088731 - initialize all members of TickSample. r=bgirard 2014-10-24 09:47:00 +02:00
Mike Shal
05f31efcce Bug 1087104 - Implement partial mar generation in make for 'mach build'; r=glandium 2014-10-24 18:24:33 -04:00
Rémy Ferré
125d3cbc29 Bug 1058845 - Decode raw_input() as UTF-8; r=gps
DONTBUILD (NPOTB)

--HG--
extra : amend_source : cf4f5e29de43f714ae62f247227b17e65debc710
2014-10-24 15:27:40 -07:00
Nicholas Nethercote
fb9ca47779 Bug 1081815 - Remove tools/performance/memtest/, which is ancient and unused. r=ted.
DONTBUILD because NPOTB.
2014-10-23 15:00:27 -07:00
Nicholas Nethercote
e27096c23c Bug 1081788 - Remove tools/httptester/, which is ancient and unused. r=ted.
DONTBUILD because NPOTB.
2014-10-23 15:00:26 -07:00