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

236 Коммитов

Автор SHA1 Сообщение Дата
Patrick Brosset 302a2e7384 Bug 1194639 part 0 - Filter out changed animation mutations in devtools; r=mratcliffe 2015-10-19 15:51:24 +02: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 6335fd7480 Bug 1203159 - Clean up various incorrect paths. r=ochameau 2015-10-21 12:48:55 -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 978cb5107a Bug 1203159 - Update each product's DevTools inclusion. r=glandium
A new configure option --with-devtools (which sets MOZ_DEVTOOLS) is added to
control whether all DevTools, just the server, or no DevTools are included.
This defaults to just the server.

Applications should also include /devtools within their moz.build tree, so that
DIST_SUBDIR is in effect for all DevTools files if it is used by the app.
2015-10-21 12:22:59 -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
Jordan Santell d7a6ae0f7b Bug 1214800 - Add MPL 2.0 licensing information to all memory tool files. r=fitzgen 2015-10-21 07:57:10 -07: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
Grisha Pushkov 2e6d42949a Bug 994555 - Adds contextmenu items to edit add and delete attributes; r=pbro
--HG--
rename : devtools/client/inspector/test/browser_inspector_menu-05-other.js => devtools/client/inspector/test/browser_inspector_menu-06-other.js
extra : commitid : C48q4NasVs6
extra : rebase_source : 52d61d54492772c296b433e4f145fea8862fa9f5
2015-10-20 16:47:02 +02:00
Nick Fitzgerald 1995b160e9 Bug 1201542 - Implement `allocationSite` breakdown for CensusTreeNode; r=jsantell 2015-10-20 10:21:33 -07:00
Tim Nguyen c1ba6f6f41 Bug 1208864 - Tests for duplicate node context menu item in markup view. r=pbro
--HG--
extra : commitid : YsgJ6hXJtQ
2015-10-18 14:30:00 +02:00
Tim Nguyen 6ac6649cf7 Bug 1208864 - Duplicate node context menu item in markup view. r=pbro
--HG--
extra : commitid : 9hFeFcxFiEG
2015-10-19 14:04:00 +02: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
Brian Grinstead cd653f8601 Bug 1216217 - Make selecting a worker from the debugger's worker list work;r=jlongster
--HG--
extra : commitid : 1rx2Uje7Ikp
2015-10-19 15:27:19 -07:00
Jordan Santell c6ee0927bd Bug 1215397 - Add state and UI for breakdowns in memory tool. r=fitzgen 2015-10-19 13:57:33 -07:00
Tim Nguyen b3e946522d Bug 1211190 - Convert hardcoded colors to CSS variables in devtools. r=bgrins, jsantell 2015-10-19 22:28:54 +02:00
Carsten "Tomcat" Book fd7eba648c Backed out changeset 43d44f938388 (bug 1214867) for xpcshell test failures 2015-10-19 10:58:01 +02:00
Nick Fitzgerald cf9cf4c17c Bug 1214867 - Add HeapSnapshot.prototype.creationTimeStamp. r=bholley 2015-10-16 08:42:00 -04:00
J. Ryan Stinnett 425069ac07 Bug 1200485 - Repair view source URL in waterfall details. r=jsantell 2015-10-16 06:17: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
Brian Grinstead aa01e4bd0a Bug 1200073 - Use extra space before the computed view checkbox so it's not touching the sibling text input. r=pbrosset
--HG--
extra : transplant_source : c%94Z%EE3%E2e%0A%D5Y%AC%ED%7F%0045%2B%1F%09%99
2015-10-16 15:36:54 -07:00
Jan Odvarko b263c97f16 Bug 1211918 - Expose variables.css and use it in the JSON Viewer. r=jryans 2015-10-16 12:44:47 +02: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
Jan Odvarko 22ef52a8fa Bug 1199180 - Fix arguments for executeInContent; r=pbrosset 2015-10-12 15:24:32 +02: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
Phil Ringnalda 9ea53214d8 Merge f-t to m-c, a=merge 2015-10-17 11:19:46 -07:00
Patrick Brosset 4cd7fec6a8 Bug 1197100 - 4 - Move time-block UI to its own component; r=tromey
--HG--
extra : commitid : 4mQlE4kX9gS
extra : rebase_source : 23c28b8051688d52c14577fd69da4a43cb958f73
2015-10-16 22:35:28 +02:00
Jordan Santell c84dda70dd Bug 1214872 - Set up state changes in the memory tool. r=fitzgen 2015-10-16 15:16:55 -07:00
Wes Kocher 1662b03a4f Merge m-c to inbound, a=merge 2015-10-16 12:30:35 -07:00
Ryan VanderMeulen d789bc6326 Backed out changeset a6d52da2c539 (bug 1197100) because it was pushed accidentally. 2015-10-16 16:30:00 -04:00
Patrick Brosset b7f8aa3061 Bug 1197100 - 4 - Move time-block UI to its own component; r=tromey
--HG--
extra : commitid : 1BauWR7Emqk
extra : rebase_source : 6a7300049cd51ce3943c103fbbb6b5d1510548c2
2015-10-16 17:10:21 +02:00
Jordan Santell be73b8eda8 Bug 1215418 - Fix regression of margin: 0 on all body, should only apply to html documents. r=bgrins 2015-10-16 08:57:46 -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
Nick Fitzgerald f109f2ac30 Bug 1214775 - Add DevToolsUtils.assert and deprecate DevToolsUtils.dbg_assert; r=jlongster 2015-10-14 10:58:00 +02:00
Nick Fitzgerald 77e69b57b8 Bug 1214070 - Add support for diffing census reports to HeapAnalysesWorker; r=jsantell 2015-10-15 08:23:00 +02:00
Nick Fitzgerald 842b5596e6 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 e4c6c069b8 Bug 1215251 - Add redux middleware for managing async action creators via generators and promises. r=fitzgen 2015-10-15 17:04:02 -07:00
J. Ryan Stinnett f6d574e30e Bug 1215081 - Namespace URLs don't like robots prepending random strings. r=bgrins 2015-10-15 18:42:52 -05:00
Alexandre Poirot d874c1f117 Bug 1204808 - Move devtools prefs to its own file in /devtools folder. r=jryans 2015-10-15 03:47:21 -07:00
Alexandre Poirot 89cb263b54 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
--HG--
rename : devtools/shared/Console.jsm => toolkit/modules/Console.jsm
2015-10-15 03:45:22 -07:00
Patrick Brosset 0b132638a2 Bug 1197192 - Allow dragging the scrubber not just from the timeline header; r=ochameau
This adds a new invisible element centered around the scrubber and
thick enough for users to drag from.

--HG--
extra : commitid : 8T6UnzIMd35
extra : rebase_source : 4076198dae2bd3cf9fce7ad68f5f5615d98ef5bf
extra : histedit_source : e1b038a2dc1f9a6bca504c207886d67e75636e8f%2C26ac318b25a7abd516fedfbced3ced3359af58c4
2015-10-15 10:14:35 +02:00