Commit Graph
232 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 242383fb50 Merge m-c to fx-team 2015-10-20 12:33:28 +02:00
Carsten "Tomcat" Book aaf9bc8b29 merge mozilla-inbound to mozilla-central a=merge 2015-10-20 12:00:53 +02:00
Nick Fitzgerald 73f23da991 Bug 1215606 - Ensure that DevToolsUtils.assert is properly exported; r=jsantell 2015-10-20 10:56:03 +05:30
Nick Fitzgerald e2368529d7 Bug 1214867 - Add HeapSnapshot.prototype.creationTime; r=bholley 2015-10-20 10:55:49 +05:30
Jordan Santell bfcab06bb6 Bug 1215397 - Add state and UI for breakdowns in memory tool. r=fitzgen 2015-10-19 13:57:33 -07:00
Carsten "Tomcat" Book 3cb0f429a7 Backed out changeset 43d44f938388 (bug 1214867) for xpcshell test failures 2015-10-19 10:58:01 +02:00
Tom Tromey 0c086f3d01 Bug 1217328 - let filter editor work on invalid values. r=pbrosset 2015-10-26 06:22:00 +01:00
Nick Fitzgerald f2ee8a53e0 Bug 1214867 - Add HeapSnapshot.prototype.creationTimeStamp. r=bholley 2015-10-16 08:42:00 -04:00
Kate McKinley a8c9960fca 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 ac3b14b54d Bug 1215203 - Log a deprecation warning when DevToolsUtils.dbg_assert is called. r=jlongster 2015-10-15 16:04:00 -04:00
Nathan Froyd 4e6d8f6705 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
2015-10-18 01:24:48 -04:00
Nathan Froyd bf7f6dda03 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 f326c49467 Merge m-c to inbound, a=merge 2015-10-16 12:30:35 -07:00
Eddy Bruel 93dd701490 Bug 1178726 - Simplify how we deal with freezing/thawing workers;r=jlongster,khuey 2015-10-16 18:48:26 +02:00
Nick Fitzgerald d75f14e388 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
Nick Fitzgerald 07a8305141 Bug 1214775 - Add DevToolsUtils.assert and deprecate DevToolsUtils.dbg_assert; r=jlongster 2015-10-14 10:58:00 +02:00
Nick Fitzgerald 071b2f41b8 Bug 1214070 - Add support for diffing census reports to HeapAnalysesWorker; r=jsantell 2015-10-15 08:23:00 +02:00
Nick Fitzgerald 1784a308ee Bug 1213436 - Reject core dumps with node IDs that don't fit in an IEEE 754 double; r=sfink 2015-10-13 11:59:00 +02:00
Jordan Santell 6e681e686b Bug 1215251 - Add redux middleware for managing async action creators via generators and promises. r=fitzgen 2015-10-15 17:04:02 -07:00
Alexandre Poirot f1439bdbe8 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
Jordan Santell 4f4df30aa5 Bug 1214231 - Provide an option to generate census tree nodes in a worker when taking a census. r=fitzgen 2015-10-13 16:41:10 -07:00
Carsten "Tomcat" Book 11136e7320 Merge m-c to fx-team 2015-10-13 12:43:53 +02:00
Nick Fitzgerald eba3a93688 Bug 1201621 - Add support for allocation stack breakdowns to the heap analysis worker; r=jsantell 2015-10-12 13:29:49 -07:00
Jan Odvarko e99b5de022 Bug 1132203 - Load JSON viewer only for top level documents; r=bz 2015-09-28 13:48:33 +02:00
Nick Fitzgerald 956e2ac6a1 Bug 1226225 - Allow backups of size zero in ZeroCopyNSIOutputStream::BackUp; r=jimb 2015-11-20 11:36:10 -08:00
Nick Fitzgerald 526bf1ab61 Bug 1226176 - Compute retained sizes in dominator trees and expose them to JavaScript; r=bz,sfink 2015-11-20 09:08:15 -08:00
Tom Tromey 84f96ec2ca Bug 1029459 - remove output-parser iteration limit. r=pbrosset 2015-10-11 20:24:31 +02:00
J. Ryan Stinnett 13dd75d0ae Bug 1196047 - Move tern to client/sourceeditor. r=bgrins 2015-10-09 18:26:10 -05:00
J. Ryan Stinnett 6511a6c240 Bug 1196047 - Move shared/shared perf files to server/performance. r=jsantell 2015-10-09 18:26:09 -05:00
J. Ryan Stinnett 47167154ef Bug 1196047 - Move most of shared/performance to client or server. r=jsantell 2015-10-09 18:26:08 -05:00
J. Ryan Stinnett 09157a5cd2 Bug 1196047 - Move worker*.js to devtools/shared. r=jsantell 2015-10-09 18:26:07 -05:00
J. Ryan Stinnett 005f5c452c Bug 1196047 - Move async-storage.js to devtools/shared. r=bgrins 2015-10-09 18:26:06 -05:00
J. Ryan Stinnett 065eecc2f3 Bug 1196047 - Move indentation.js to devtools/shared. r=bgrins 2015-10-09 18:26:05 -05:00
J. Ryan Stinnett 80b83da4ac Bug 1196047 - Move system.js to devtools/shared. r=jsantell 2015-10-09 18:26:04 -05:00
J. Ryan Stinnett 42fe8fc67b Bug 1212653 - Fix Simulator.jsm exports. r=ochameau 2015-10-09 12:11:45 -05:00
J. Ryan Stinnett 0d06e68c7f Backout "Bug 1196047 - Fix Simulator.jsm exports. r=ochameau", wrong bug. 2015-10-09 12:09:04 -05:00
J. Ryan Stinnett 776f70f456 Bug 1196047 - Fix Simulator.jsm exports. r=ochameau 2015-10-09 12:04:30 -05:00
Tom Tromey 3979c713cc Bug 1124210 - preserve color case when using color picker; r=mratcliffe 2015-10-08 07:54:00 +02:00
Tom Tromey b8328a90e9 Bug 965181 - respect default color unit when choosing a color. r=mratcliffe 2015-10-07 12:04:00 +02:00
Johan K. Jensen 2ed00e5f10 Bug 1207544 - Rename DPI to DPR in schreenshot gcli. r=jryans 2015-09-23 16:46:34 +02:00
Carsten "Tomcat" Book 036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst 190bccea7d Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book 12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo 474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo a021cebc10 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Jonas Sicking bb0dc3507b Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb 2015-10-19 11:14:54 -07:00
Carsten "Tomcat" Book e258c4fe83 Merge m-c to fx-team 2015-10-01 14:16:12 +02:00
Carsten "Tomcat" Book 8e4b85e6dd merge mozilla-inbound to mozilla-central a=merge 2015-10-01 12:39:25 +02:00
Nick Fitzgerald 1d821c15c6 Bug 1196461 - De-duplicate strings in heap snapshot core dumps; r=shu,jimb
This changeset replaces all of the

    // char16_t[]
    optional bytes someProperty = 1;

one- and two-byte string properties in the CoreDump.proto protobuf definition
file with:

    oneof {
        // char16_t[]
        bytes  someProperty    = 1;
        uint64 somePropertyRef = 2;
    }

The first time the N^th unique string is serialized, then someProperty is used
and the full string is serialized in the protobuf message. All following times
that string is serialized, somePropertyRef is used and its value is N.

Among the other things, this also changes JS::ubi::Edge::name from a raw pointer
with commented rules about who does or doesn't own and should and shouldn't free
the raw pointer to a UniquePtr that enforces those rules rather than relying on
developers reading and obeying the rules in the comments.
2015-09-30 16:03:31 -07:00
Wes Kocher 04308082d0 Merge m-c to inbound a=merge 2015-09-30 14:10:21 -07:00