Commit Graph

114 Commits

Author SHA1 Message Date
Nick Fitzgerald
17a223b221 Bug 1219066 - Make sure to traverse and unlink HeapSnapshot::mParent in cycle collection; r=mccr8 2015-10-28 02:11:06 -07:00
Nick Fitzgerald
dce01b0b6f Bug 1218560 - Fix heap tree view with allocation stack breakdown; r=jsantell 2015-10-27 14:20:09 -07:00
Nick Fitzgerald
f3271df0b6 Bug 1218597 - Limit the number of stack frames serialized in core dumps; r=froydnj 2015-10-27 14:13:39 -07:00
Carsten "Tomcat" Book
8fe71db627 Merge mozilla-central to fx-team 2015-10-27 10:59:26 +01:00
Carsten "Tomcat" Book
6dfc4c0fb5 merge mozilla-inbound to mozilla-central a=merge 2015-10-27 10:55:48 +01:00
Xidorn Quan
1a693cf130 Bug 962249 part 3 - Add Window.scrollMin{X,Y} (chrome-only) and convert most of scrollMaxX uses and part of scrollMaxY uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : a07399cae357020c4f6dd33dac16eae82882cc83
2015-10-27 13:38:02 +09:00
Phil Ringnalda
df78b897da Back out 2 changesets (bug 1217500, bug 1218560) for devtools leaks
Backed out changeset 15acea2927e2 (bug 1218560)
Backed out changeset e3b623fd16bf (bug 1217500)
2015-10-26 18:28:24 -07:00
Nick Fitzgerald
9e925569a5 Bug 1218560 - Fix heap tree view item rendering when using an allocation stack breakdown; r=jsantell 2015-10-26 14:58:03 -07:00
Brian Grinstead
00584c089e Bug 1217591 - Run autocomplete tests in worker console;r=fitzgen
--HG--
extra : commitid : 2MnaHsLiZe1
2015-10-26 11:55:41 -07:00
Brian Grinstead
f2795041dc Bug 1217591 - Make JS autocompletion in the console work inside of a worker toolbox;r=fitzgen
--HG--
rename : devtools/shared/webconsole/utils.js => devtools/shared/webconsole/js-property-provider.js
extra : commitid : Am93ZaJlGjE
2015-10-26 11:55:40 -07:00
Jordan Santell
97e65e8041 Bug 960776 2015-10-26 10:13:49 -07:00
Brian Grinstead
1e63b6e777 Bug 1215117 - Make console input field work inside a worker toolbox;r=ejpbruel
--HG--
extra : commitid : 284VqUOwCvf
2015-10-26 09:13:11 -07:00
Sebastian Hengst
e3172430f6 Backed out changeset 335ea7a95492 (bug 960776) for XPCShell failures. r=backout 2015-10-24 10:43:41 +02:00
Jordan Santell
7da4708a2f Bug 960776 - Render a tree widget to display heap data. r=fitzgen 2015-10-23 15:59:11 -07:00
Brian Grinstead
8ffd3835bb Bug 1025778 - Save value as global variable in console;r=jlongster
--HG--
extra : commitid : 9DkNFF3d4jE
2015-10-23 14:04:29 -07:00
Tom Tromey
64050c40ce Bug 1200832 - make Console.trace follow async parents; r=baku,bgrins
--HG--
extra : rebase_source : a39ad1bdc73ac53d0f611c3b5e43327aea36ec6f
2015-10-21 08:40:00 +02:00
Nick Fitzgerald
e2f0c08d79 Bug 1217495 - HeapAnalyses{Client,Worker} should support requests for inverted trees; r=jsantell 2015-10-22 13:43:30 -07:00
Nick Fitzgerald
ee34994904 Bug 1217248 - Add the ability to invert CensusTreeNode trees; r=jsantell 2015-10-22 09:12:36 -07:00
Nick Fitzgerald
ada3f2a447 Bug 1217158 - Aggregate total counts/bytes in CensusTreeNode; r=jsantell 2015-10-22 09:12:36 -07:00
Nick Fitzgerald
72eeda6375 Bug 1201542 - Implement allocationSite breakdown for CensusTreeNode; r=jsantell 2015-10-22 09:12:36 -07:00
Alexandre Poirot
c7602be539 Bug 1216555 - Makes client.close() failsafe by handling correctly closing connections. r=jryans 2015-10-22 08:06:16 -07:00
Alexandre Poirot
5f8cd037a2 Bug 1216554 - Reject requests immediately when the connection is already closed. r=jryans 2015-10-22 08:06:16 -07:00
Nigel Babu
42d3bcb273 Backed out changeset 3e148d8f5e05 (bug 1201542) for XPCShell bustage 2015-10-22 09:57:08 +05:30
Nigel Babu
cc27a923bd Backed out changeset be72055dc7ac (bug 1217158) for XPCShell bustage 2015-10-22 09:56:58 +05:30
Nick Fitzgerald
2c3ff2df1a Bug 1217158 - Aggregate total counts/bytes in CensusTreeNode; r=jsantell 2015-10-21 12:53:00 -04:00
Nick Fitzgerald
108a9e9c03 Bug 1201542 - Implement allocationSite breakdown for CensusTreeNode. r=jsantell 2015-10-21 08:25:00 -04:00
J. Ryan Stinnett
7eceb8f4c5 Bug 1203159 - Clean up various tests after DevTools resource move. r=me 2015-10-21 14:18:29 -05:00
J. Ryan Stinnett
b1937a0add Bug 1203159 - Update install location for external libs. r=ochameau
External libs that do not yet use DevToolsModules need manual updating to match
the new system.
2015-10-21 12:48:54 -05:00
J. Ryan Stinnett
4d22d4a91b Bug 1203159 - Update shim install locations. r=glandium,ochameau
Add more shim paths for JSM locations used during the 44 cycle for add-ons that
already migrated.  Also, clear any DIST_SUBDIR value for the shim directory only
to ensure the old paths are reachable.
2015-10-21 12:48:53 -05:00
J. Ryan Stinnett
986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
J. Ryan Stinnett
fb886b5b5c Bug 1203159 - Add resource:// mapping in all DevTools directories. r=glandium,ochameau
Add resource mapping jar.mn for DevTools.  The DevToolsModules template method
is modified to install the files in their new flattened add-on location.
2015-10-21 12:22:58 -05:00
Brian Grinstead
af2c9af581 Bug 1216668 - Implement console autocomplete for inline arrays and multiline strings;r=fitzgen
--HG--
extra : commitid : AM3h7WgZXX5
2015-10-21 07:10:38 -07:00
Brian Grinstead
8352c7d8cb Bug 1216668 - Move Parser.jsm to devtools/shared so the webconsole server can use it;r=jryans
--HG--
rename : devtools/client/shared/Parser.jsm => devtools/shared/Parser.jsm
extra : commitid : Ddx5rp5dpvH
2015-10-21 07:09:39 -07:00
Wes Kocher
77ed8ce5ac Backed out changeset 3a73b2d41ed5 (bug 1201542) for test_census-view-01.html failures 2015-10-20 12:40:13 -07:00
Nick Fitzgerald
1995b160e9 Bug 1201542 - Implement allocationSite breakdown for CensusTreeNode; r=jsantell 2015-10-20 10:21:33 -07:00
Carsten "Tomcat" Book
c6d3789b06 Merge m-c to fx-team 2015-10-20 12:33:28 +02:00
Carsten "Tomcat" Book
3198b767f9 merge mozilla-inbound to mozilla-central a=merge 2015-10-20 12:00:53 +02:00
Nick Fitzgerald
6a89e87496 Bug 1215606 - Ensure that DevToolsUtils.assert is properly exported; r=jsantell 2015-10-20 10:56:03 +05:30
Nick Fitzgerald
9793e9dfd8 Bug 1214867 - Add HeapSnapshot.prototype.creationTime; r=bholley 2015-10-20 10:55:49 +05:30
Jordan Santell
c6ee0927bd Bug 1215397 - Add state and UI for breakdowns in memory tool. r=fitzgen 2015-10-19 13:57:33 -07:00
Carsten "Tomcat" Book
fd7eba648c Backed out changeset 43d44f938388 (bug 1214867) for xpcshell test failures 2015-10-19 10:58:01 +02:00
Tom Tromey
937bb67b3c Bug 1217328 - let filter editor work on invalid values. r=pbrosset 2015-10-26 06:22:00 +01:00
Nick Fitzgerald
cf9cf4c17c Bug 1214867 - Add HeapSnapshot.prototype.creationTimeStamp. r=bholley 2015-10-16 08:42:00 -04:00
Kate McKinley
c4ba172faa Bug 1207838 - Update text used for the security referrer command. r=ckerschb, r=jwalker, r=fkiefer 2015-09-28 15:11:02 -07:00
Nick Fitzgerald
eb9c66b1b4 Bug 1215203 - Log a deprecation warning when DevToolsUtils.dbg_assert is called. r=jlongster 2015-10-15 16:04:00 -04: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
Wes Kocher
1662b03a4f Merge m-c to inbound, a=merge 2015-10-16 12:30:35 -07:00
Eddy Bruel
f7c6589364 Bug 1178726 - Simplify how we deal with freezing/thawing workers;r=jlongster,khuey 2015-10-16 18:48:26 +02:00
Nick Fitzgerald
942910c27a Bug 1215206 - Enable DevToolsUtils.assert assertions when in a DEBUG build or DevToolsUtils.testing is set; r=jlongster 2015-10-15 10:32:00 +02:00