Commit Graph

319 Commits

Author SHA1 Message Date
Patrick Brosset
302a2e7384 Bug 1194639 part 0 - Filter out changed animation mutations in devtools; r=mratcliffe 2015-10-19 15:51:24 +02:00
Tom Tromey
937bb67b3c Bug 1217328 - let filter editor work on invalid values. r=pbrosset 2015-10-26 06:22:00 +01:00
Tom Tromey
a3b03e9e95 Bug 1217328 - make FilterWidget.js eslint-clean. r=pbrosset 2015-10-26 06:22:00 +01:00
Michael Ratcliffe
97c2615aec Bug 1205814 - mozilla eslint plug: allow top level var only r=pbrosset
--HG--
extra : transplant_source : %F2%20%B4%BB%C6%E6%1C%9A%89c%FC%8E%3Bv%0C%E6%95%F9H8
2015-10-26 14:39:47 +00:00
Jordan Santell
ede6f4040a Bug 1217239 - Style the heap widget in memory tools. r=fitzgen 2015-10-26 22:40:45 -07: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
Jan Odvarko
c77bb5f29b Bug 1214629 - Lazy load modules for the JSON Viewer; r=jryans 2015-10-14 16:12:03 +02:00
Jordan Santell
c9656c9187 Bug 1213137 - Initial react app for memory tool with its snapshot list view. r=jlong 2015-10-14 11:31:59 -07:00
Brian Grinstead
5f553b202c Bug 1214663 - Make CodeMirror not break when encountering a <constructor> tag;r=Gijs
--HG--
extra : commitid : 5eSuUmwUSK6
2015-10-14 11:29:19 -07:00
Jordan Santell
cd1103e7d0 Bug 1213138 - Add react-redux library to developer tools. r=gerv 2015-10-14 10:07:59 -07:00
Patrick Brosset
ddce066416 Bug 1199589 - Display the current timeline time in the toolbar; r=bgrins
--HG--
extra : commitid : EUwwgmqS8bd
extra : rebase_source : eeff4cbcf4409f7bb35801782fc3345738220473
2015-10-14 10:03:29 +02:00
Jordan Santell
c4ed200669 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
Henrik Tjäder
990b69d9bd Bug 1161698 - Imported profiles should use their filename as the display label. r=jsantell 2015-10-13 16:27:12 -07:00
Simon Lindholm
dde8eb4d15 Bug 1192421 - Don't clear rule-view when changing selection; r=pbro
This is to prevent the rule-view from flickering when a new node is
selected.
This also makes the rule-vuew non-interactive (not responsding to
user events) during the refresh time.
If this takes too long, the rule-view is hidden after a delay.
This also fixes a race condition in style-inspector-overlay's
highlighters due to _hideCurrent being unnecessarily async.

--HG--
extra : rebase_source : 87232abdd49cd149a482d6212aa80e960e8918c6
2015-10-13 09:37:57 +02:00
Brian Grinstead
8f12b46988 Bug 1189464 - Add test coverage to make sure theme-fg-contrast class is removed on edit outer html;r=me
--HG--
extra : commitid : CvgS76dH3Al
2015-10-13 07:20:05 -07:00
Andrew Krawchyk
87925d2d5f Bug 1189464 - Remove theme-fg-contrast class from closing tag in markup view after editing outer html;r=bgrins
--HG--
extra : commitid : AbdW16hJZ9S
2015-10-13 07:19:26 -07:00
Patrick Brosset
b444450c45 Bug 1205681 - 3 - Tests for the timeline rewind button; r=tromey
--HG--
extra : commitid : CfIyUt9zNdF
extra : rebase_source : 507760c9f3922745d1625f082a07a581baab0b4f
extra : histedit_source : c98fa919bba4e70a43ad02147496e890829fd22b
2015-10-12 11:39:21 +02:00
Patrick Brosset
f67efc0216 Bug 1205681 - 2 - Implement the rewind timeline button behavior; r=tromey
--HG--
extra : commitid : 1DAcDD0XEp7
extra : rebase_source : a6127a80af0ba2954c04358d553ba17f5324791c
extra : histedit_source : f9eb3e5c2ed97ff43791d330ffe8b2d880139087
2015-10-12 11:34:59 +02:00
Patrick Brosset
e1a9bcfe57 Bug 1205681 - 1 - Add a timeline rewind button to the toolbar; r=zer0
--HG--
extra : commitid : 6b6vZmm889f
extra : rebase_source : acc55838af1a0f0c4a24bc7843cecb8afdbf0bf4
extra : histedit_source : 33ceda5c558bb4196a2a739b388b73e47c4de9c8
2015-10-09 14:08:07 +02:00
Carsten "Tomcat" Book
2803b80084 Merge m-c to fx-team 2015-10-13 12:43:53 +02:00
Nick Fitzgerald
af3b702acd 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
68664c950e Bug 1132203 - Fixing theme and intermittent test failure; r=jryans 2015-10-05 13:14:07 +02:00
Jan Odvarko
85b82c274f Bug 1132203 - Load JSON viewer only for top level documents; r=bz 2015-09-28 13:48:33 +02:00
Jan Odvarko
3a684bba72 Bug 1132203 - Load JSON viewer dynamically on demand; r=jryans 2015-09-28 13:34:03 +02:00
Jan Odvarko
ef579c42e5 Bug 1132203 - Tests for JSON Viewer; r=jryans 2015-09-28 13:33:45 +02:00
Jan Odvarko
dd664dced5 Bug 1132203 - JSON Viewer for application/json documents; r=jlong 2015-09-28 13:33:20 +02:00
Jan Odvarko
aee53352df Bug 1132203 - Libs for JSON Viewer; r=jlong 2015-09-28 13:32:37 +02:00
Jan Odvarko
faa0ffa408 Bug 1206618 - Properly set HAR response mime type; r=jryans 2015-10-12 13:52:27 +02:00
Tom Tromey
a10b5a346e Bug 1029459 - remove output-parser iteration limit. r=pbrosset 2015-10-11 20:24:31 +02:00
mitchfriedman
99e7c30959 Bug 852931 - cmd+click jumps to function defintion in the debugger. r=jlongster 2015-10-11 20:24:31 +02:00
J. Ryan Stinnett
555622129c Bug 1196047 - Move tern to client/sourceeditor. r=bgrins
--HG--
rename : devtools/shared/tern/README => devtools/client/sourceeditor/tern/README
rename : devtools/shared/tern/browser.js => devtools/client/sourceeditor/tern/browser.js
rename : devtools/shared/tern/comment.js => devtools/client/sourceeditor/tern/comment.js
rename : devtools/shared/tern/condense.js => devtools/client/sourceeditor/tern/condense.js
rename : devtools/shared/tern/def.js => devtools/client/sourceeditor/tern/def.js
rename : devtools/shared/tern/ecma5.js => devtools/client/sourceeditor/tern/ecma5.js
rename : devtools/shared/tern/infer.js => devtools/client/sourceeditor/tern/infer.js
rename : devtools/shared/tern/signal.js => devtools/client/sourceeditor/tern/signal.js
rename : devtools/shared/tern/tern.js => devtools/client/sourceeditor/tern/tern.js
rename : devtools/shared/tern/tests/unit/head_tern.js => devtools/client/sourceeditor/tern/tests/unit/head_tern.js
2015-10-09 18:26:10 -05:00
J. Ryan Stinnett
959c1c861a Bug 1196047 - Move shared/shared perf files to server/performance. r=jsantell
--HG--
rename : devtools/shared/shared/framerate.js => devtools/server/performance/framerate.js
rename : devtools/shared/shared/memory.js => devtools/server/performance/memory.js
rename : devtools/shared/shared/profiler.js => devtools/server/performance/profiler.js
2015-10-09 18:26:09 -05:00
J. Ryan Stinnett
6b3d9a67b6 Bug 1196047 - Move most of shared/performance to client or server. r=jsantell
--HG--
rename : devtools/shared/performance/legacy/compatibility.js => devtools/client/performance/legacy/compatibility.js
rename : devtools/shared/performance/utils.js => devtools/shared/performance/recording-utils.js
2015-10-09 18:26:08 -05:00
J. Ryan Stinnett
efa19c21f3 Bug 1196047 - Move worker*.js to devtools/shared. r=jsantell
--HG--
rename : devtools/shared/worker-loader.js => devtools/shared/worker/loader.js
rename : devtools/shared/shared/tests/browser/browser.ini => devtools/shared/worker/tests/browser/browser.ini
2015-10-09 18:26:07 -05:00
J. Ryan Stinnett
e0e2e60e56 Bug 1196047 - Move async-storage.js to devtools/shared. r=bgrins
--HG--
rename : devtools/shared/shared/async-storage.js => devtools/shared/async-storage.js
2015-10-09 18:26:06 -05:00
J. Ryan Stinnett
4a4e300f9f Bug 1196047 - Move indentation.js to devtools/shared. r=bgrins
--HG--
rename : devtools/shared/shared/indentation.js => devtools/shared/indentation.js
2015-10-09 18:26:05 -05:00
J. Ryan Stinnett
71e780cfde Bug 1196047 - Move system.js to devtools/shared. r=jsantell
--HG--
rename : devtools/shared/shared/system.js => devtools/shared/system.js
2015-10-09 18:26:04 -05:00
jarjun
36d657cc6f Bug 1039482 - Properly position and style the file name edit field in the projecteditor. r=bgrins
---
 devtools/client/projecteditor/lib/tree.js          | 41 +++++++++++++++++++---
 .../test/browser_projecteditor_rename_file.js      |  2 +-
 devtools/client/shared/inplace-editor.js           | 11 ++++--
 .../client/themes/projecteditor/projecteditor.css  |  2 +-
 4 files changed, 48 insertions(+), 8 deletions(-)

--HG--
extra : commitid : AWJCCRyJ98e
2015-10-09 12:46:13 -07:00
Hallvord R. M. Steen
2932cac017 Bug 1183325 - Allow use of debugger shortcut keys when split console has focus;r=bgrins
--HG--
extra : commitid : AqeVkKWIGnh
2015-10-07 22:09:55 +02:00
Jordan Santell
9cb63cfda3 Bug 1173775 - Tests for bug 1173775. r=vporof 2015-10-06 15:50:19 -07:00
Nounours Heureux
f68b9db724 Bug 1173775 - Right-clicking a file in the call tree doesn't open it anymore. r=jsantell
From 6615e770e8c00ee4f4dfb3fbdd5d12e2032c9161 Mon Sep 17 00:00:00 2001
2015-10-06 15:48:00 -07:00
J. Ryan Stinnett
daa2f51396 Bug 1212653 - Fix Simulator.jsm exports. r=ochameau 2015-10-09 12:11:45 -05:00
J. Ryan Stinnett
2483ebaeef Backout "Bug 1196047 - Fix Simulator.jsm exports. r=ochameau", wrong bug. 2015-10-09 12:09:04 -05:00
rocik
51def8e4c9 Bug 1070719 - Autosave project files before running. r=jryans 2015-10-09 12:06:20 -05:00
J. Ryan Stinnett
490aa3a40e Bug 1196047 - Fix Simulator.jsm exports. r=ochameau 2015-10-09 12:04:30 -05:00
Carsten "Tomcat" Book
6c4a01562d Merge m-c to fx-team 2015-10-09 14:33:28 +02:00
Carsten "Tomcat" Book
d652ecd66e merge mozilla-inbound to mozilla-central a=merge 2015-10-09 11:43:07 +02:00
Patrick Brosset
7e0eabe18d Bug 1211810 - Add a way to lock the highlighter on animated nodes from animation-inspector; r=tromey
--HG--
extra : commitid : H2H26BTLLOT
extra : rebase_source : 155342428c44479443c1b9a417e43832179022c7
extra : histedit_source : 45837d3618030f12ba0b7591a36982a345f73404%2C7ff7e3e34af19172bfeb7d551423f9bab7af10f0
2015-10-09 10:44:53 +02:00
Tom Tromey
0d4d173791 Bug 1124210 - preserve color case when using color picker; r=mratcliffe
--HG--
extra : rebase_source : 4da39290d03c945f801c485145409312165cc480
2015-10-08 07:54:00 +02:00
J. Ryan Stinnett
3eb296673f Bug 1210956 - Clean up missed theme references after migration. r=bgrins 2015-10-08 13:43:05 -05:00
Avik Pal
122b33db00 Bug 1157789 - Add a test for the Inspector's collapse/expandAll context menu items. r=janx 2015-10-07 11:33:00 +02:00
Tom Tromey
dc9144d57d Bug 965181 - respect default color unit when choosing a color. r=mratcliffe 2015-10-07 12:04:00 +02:00
Eddy Bruel
f39b849fea Bug 1205305 - Fix a race condition in browser_dbg_server-conditional-bp-02.js;r=jlong 2015-10-08 16:33:37 +02:00
Carsten "Tomcat" Book
6e07fc601b Merge m-c to fx-team 2015-10-08 16:11:56 +02:00
Carsten "Tomcat" Book
634dc488d6 merge mozilla-inbound to mozilla-central a=merge 2015-10-08 15:26:54 +02:00
Wes Kocher
c23069f318 Merge m-c to fx-team a=merge
--HG--
rename : mobile/android/config/tooltool-manifests/android/releng.manifest => mobile/android/config/tooltool-manifests/b2gdroid/releng.manifest
extra : rebase_source : 10508628a76cecbf86b54dd2e27fca8c39cfa37b
2015-10-07 11:33:10 -07:00
Wes Kocher
399a23b6c1 Merge inbound to m-c a=merge 2015-10-07 10:29:41 -07:00
Wes Kocher
92eaf64910 Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
Wes Kocher
75ff20f5af Backed out changeset 91d4539e00ce (bug 1207245)
--HG--
rename : mfbt/RefPtr.h => mfbt/nsRefPtr.h
2015-10-07 10:19:19 -07:00
Wes Kocher
9d0985e9fd Merge fx-team to central, a=merge 2015-10-07 09:58:09 -07:00
Nathan Froyd
89a69c829a 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.

 # 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-07 16:50:25 -04:00
Nathan Froyd
1f70f620da 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' | \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-07 15:05:02 -04:00
Carsten "Tomcat" Book
58e0d2ac7d Backed out 6 changesets (bug 1132203) for e10s-dt2 test failures
Backed out changeset d6e2d567d8c3 (bug 1132203)
Backed out changeset 8a90df6a9ae7 (bug 1132203)
Backed out changeset 0677c5169e05 (bug 1132203)
Backed out changeset f3023ebc9881 (bug 1132203)
Backed out changeset f00c53c8ffd4 (bug 1132203)
Backed out changeset 2a6416177736 (bug 1132203)

--HG--
extra : rebase_source : 90d20637f825c7fbd144cb5a8beb2962064c157d
2015-10-07 15:35:31 +02:00
Carsten "Tomcat" Book
08997000eb 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
cdcff6d0a7 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
Tom Tromey
92c5a313e2 Bug 1195995 - merge css-tokenizer into css-parsing-utils; r=mratcliffe
--HG--
rename : devtools/client/styleinspector/css-parsing-utils.js => devtools/client/shared/css-parsing-utils.js
rename : devtools/client/styleinspector/test/unit/test_escapeCSSComment.js => devtools/client/shared/test/unit/test_escapeCSSComment.js
rename : devtools/client/styleinspector/test/unit/test_parseDeclarations.js => devtools/client/shared/test/unit/test_parseDeclarations.js
rename : devtools/client/styleinspector/test/unit/test_parsePseudoClassesAndAttributes.js => devtools/client/shared/test/unit/test_parsePseudoClassesAndAttributes.js
rename : devtools/client/styleinspector/test/unit/test_parseSingleValue.js => devtools/client/shared/test/unit/test_parseSingleValue.js
rename : devtools/client/styleinspector/test/unit/test_rewriteDeclarations.js => devtools/client/shared/test/unit/test_rewriteDeclarations.js
extra : commitid : Ip6qFxTZHJb
2015-10-06 10:13:00 -04:00
Brian Grinstead
3ac14ea3a6 Bug 1210954 - Move devtools variables into a single variables.css file;r=jryans;r=jsantell
--HG--
extra : commitid : 3wYHIWq4LXT
2015-10-07 08:19:44 -07:00
Brian Grinstead
fa199187dc Bug 1198039 - Don't modify the DOM after dragging an element and putting it back where it started;r=pbrosset
--HG--
extra : commitid : Loe49p9JYT7
2015-10-07 08:19:09 -07:00
Jan Odvarko
64a0ec014f Bug 1132203 - Fixing theme and intermittent test failure; r=jryans
--HG--
extra : rebase_source : 6c00287d9acf958270b0abfcc53ba5a57b35b654
2015-10-05 13:14:07 +02:00
Tom Tromey
bc328979f0 Bug 984880 - as-authored styles in the rule view; r=pbrosset,r=bgrins
--HG--
extra : commitid : Io2mbcAjYMx
2015-10-06 09:35:31 -07:00
Patrick Brosset
3a80549c1f Bug 1197100 - 3 - Remove code duplication in animation actor tests; r=miker
--HG--
extra : commitid : 28E4LlbrlUP
extra : rebase_source : 78ee9ba47adbc92e2cfbfb43f45209510745a61b
2015-09-29 16:43:48 +02:00
Patrick Brosset
7c6721fbc2 Bug 1197100 - 2 - Rename all animation actor tests so the filenames actually make sense; r= miker
--HG--
rename : devtools/server/tests/browser/browser_animation_actors_13.js => devtools/server/tests/browser/browser_animation_emitMutations.js
rename : devtools/server/tests/browser/browser_animation_actors_17.js => devtools/server/tests/browser/browser_animation_getFrames.js
rename : devtools/server/tests/browser/browser_animation_actors_06.js => devtools/server/tests/browser/browser_animation_getMultipleStates.js
rename : devtools/server/tests/browser/browser_animation_actors_02.js => devtools/server/tests/browser/browser_animation_getPlayers.js
rename : devtools/server/tests/browser/browser_animation_actors_10.js => devtools/server/tests/browser/browser_animation_getStateAfterFinished.js
rename : devtools/server/tests/browser/browser_animation_actors_16.js => devtools/server/tests/browser/browser_animation_getSubTreeAnimations.js
rename : devtools/server/tests/browser/browser_animation_actors_14.js => devtools/server/tests/browser/browser_animation_keepFinished.js
rename : devtools/server/tests/browser/browser_animation_actors_09.js => devtools/server/tests/browser/browser_animation_playPauseIframe.js
rename : devtools/server/tests/browser/browser_animation_actors_08.js => devtools/server/tests/browser/browser_animation_playPauseSeveral.js
rename : devtools/server/tests/browser/browser_animation_actors_03.js => devtools/server/tests/browser/browser_animation_playerState.js
rename : devtools/server/tests/browser/browser_animation_actors_07.js => devtools/server/tests/browser/browser_animation_reconstructState.js
rename : devtools/server/tests/browser/browser_animation_actors_15.js => devtools/server/tests/browser/browser_animation_refreshTransitions.js
rename : devtools/server/tests/browser/browser_animation_actors_11.js => devtools/server/tests/browser/browser_animation_setCurrentTime.js
rename : devtools/server/tests/browser/browser_animation_actors_12.js => devtools/server/tests/browser/browser_animation_setPlaybackRate.js
rename : devtools/server/tests/browser/browser_animation_actors_01.js => devtools/server/tests/browser/browser_animation_simple.js
rename : devtools/server/tests/browser/browser_animation_actors_04.js => devtools/server/tests/browser/browser_animation_updatedState.js
extra : commitid : Hj801v7jGQa
extra : rebase_source : 901666ed623d7e4fa3dfb4cfaefb5db80e2adef8
2015-09-29 15:51:23 +02:00
Patrick Brosset
9c03fd64ad Bug 1197100 - 1 - Add getFrames method to the AnimationPlayerActor; r=miker
--HG--
extra : commitid : H7CgQW0CBvU
extra : rebase_source : c27d9b80ed2b2d0bada83d18d7e5ff0eae18b43a
2015-09-29 14:53:15 +02:00
Patrick Brosset
c811398f2a Bug 1211796 - Do not convert CSS filters to computed values before opening the Filter Widget; r=tromey
--HG--
extra : commitid : 78naPu4GRAT
extra : rebase_source : 481d7c9fcd356383a73a32d611a0dfccb081f1f9
extra : histedit_source : dffa29006c4240b60950ab8aa9ee901bd6107a19
2015-10-06 10:29:55 +02:00
Brian Grinstead
6d0bc49563 Bug 1211017 - Show URL as the title in worker toolboxes;r=ejpbruel
--HG--
extra : commitid : GRkbqjQHCQG
2015-10-06 08:04:36 -07:00
Jan Odvarko
1a8cc9ec95 Bug 1132203 - Load JSON viewer only for top level documents; r=bz
--HG--
extra : rebase_source : b58c0faf87ae906f592e068aa2f54cb2acc38152
2015-09-28 13:48:33 +02:00
Jan Odvarko
eb00d68fbe Bug 1132203 - Load JSON viewer dynamically on demand; r=jryans
--HG--
extra : rebase_source : 2ba0d2a806ae4a1d048a7ca940fd24193011993f
2015-09-28 13:34:03 +02:00
Jan Odvarko
3c441380c6 Bug 1132203 - Tests for JSON Viewer; r=jryans
--HG--
extra : rebase_source : 834d1a92a36640cd704f9618ab6cd7b4187b64d8
2015-09-28 13:33:45 +02:00
Jan Odvarko
e1e3cb3ebb Bug 1132203 - JSON Viewer for application/json documents; r=jlong
--HG--
extra : rebase_source : 0d9bd8b4f731d0a5219efac7db998bcaab69bea2
2015-09-28 13:33:20 +02:00
Jan Odvarko
43a0a80b68 Bug 1132203 - Libs for JSON Viewer; r=jlong
--HG--
extra : rebase_source : ceb585c432785ca26b80e541fc75e89653695dc7
2015-09-28 13:32:37 +02:00
Jennifer Fong
889dacee39 Bug 1209641 - Remove dropdown layout and use sidebars layout. r=jryans 2015-10-06 14:52:00 +02:00
Raphaël Lustin
b8bf225840 Bug 1209023 - Debugger tabs should handle longer labels correctly. r=pbrosset 2015-10-05 09:29:00 +02:00
Jordan Santell
5c2ed0de8a Bug 1155295 - Fix off-center search clear button in devtools. r=bgrins 2015-10-06 16:26:00 +02:00
Tom Tromey
2b511b9bdf Bug 1195357 - make stringifyProperty escape text for CSS comment; r=pbrosset 2015-09-28 09:49:00 +02:00
Manav Batra
7cec3f27cb Bug 1206426 - Updated WebIDE's unrestricted help URL. r=jryans 2015-10-05 13:32:46 -05:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Johan K. Jensen
6561fc54bc Bug 1207544 - Rename DPI to DPR in schreenshot gcli. r=jryans 2015-09-23 16:46:34 +02:00
J. Ryan Stinnett
996d007b7c Bug 1209634 - Reformat target.js to match ESLint rules. r=past
--HG--
extra : transplant_source : %01%7E%E9%C1%82%FC%04b%80%5Cm%29J%F0%01C%5B%C4%CA%5E
2015-10-01 18:13:24 -05:00
J. Ryan Stinnett
feb20ac00d Bug 1209634 - Remove unused target.version. r=past
--HG--
extra : transplant_source : 2A%0A8%F9Rg3R%06%05p4%17%AE%8B%AD%2BGZ
2015-10-01 18:13:24 -05:00
J. Ryan Stinnett
0e58cc9028 Bug 1209634 - Remove unused WindowTarget. r=past
--HG--
extra : transplant_source : %F0%FE%C9v%C9%FA%E4%5D%EC%B7%9B.f%C2P%ACC%A5%7Bn
2015-10-01 18:13:24 -05:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Bill McCloskey
1b6da7ed71 Back out bug 967873 - Test changes for async removeTab 2015-10-07 11:15:11 -07:00
Carsten "Tomcat" Book
15c18ce28f Merge m-c to fx-team on a CLOSED TREE 2015-10-05 13:54:17 +02:00
Alexandre Poirot
780670b318 Bug 1207977 - Ensure that node are correctly highlighted. r=zer0
Assert that each cardinal point of the node is within the box model
and fix the tests that has broken/weak assertions.
2015-10-05 02:51:39 -07:00
Alexandre Poirot
23cc266a7e Bug 1191868 - Tweak WebIDE to support Simulator based on Mulet. r=jryans 2015-10-05 02:51:38 -07:00
Ehsan Akhgari
24206c71bd Bug 1180349 - Increase the timeout for browser_markupview_links_01.js 2015-10-04 13:29:36 -04:00
Jan Keromnes
18cd9e5493 Bug 1196785 - Create an about:debugging page to list debuggable devtools targets. r=jryans 2015-10-02 08:10:00 +02:00
Jan Keromnes
5c99ac30f7 Bug 1200534 - Upgrade devtools version of React to 0.14-rc1. r=jlongster 2015-09-30 04:40:00 +02:00
Tom Tromey
878a9ab4f6 Bug 1195356 - make parseDeclarations handle comments; add rewriteDeclarations; r=pbrosset 2015-10-01 09:31:00 +02:00
Tom Tromey
e4ab25ee5a Bug 979574 - don't let inherited properties override with !important. r=bgrins 2015-10-01 09:36:00 +02:00
Carsten "Tomcat" Book
3f4ea95cfa Merge m-c to mozilla-inbound 2015-10-26 11:29:00 +01:00
Tom Tromey
17654ddd0f Bug 863089 - replace Debugger.Script.getOffsetLine with getOffsetLocation; r=fitzgen 2015-10-22 09:35:00 +02:00
Jonas Sicking
4316c13003 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
Wes Kocher
45375c9d90 Merge m-c to inbound, a=merge 2015-10-08 14:35:43 -07:00
Daniel Holbert
a0bff8fc6f Bug 1212680: Simplify gradient in browser_ruleview_authored.js, & avoid depending on supportedness of -moz & -webkit prefixed gradients. r=tromey 2015-10-08 11:58:26 -07:00
Carsten "Tomcat" Book
e91d5a31b6 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
ca77b70a8d merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Helen V. Holmes
3170cfbdab Bug 1205046 - Replace devtools panel icons with new ones;r=bgrins
--HG--
extra : commitid : 5rbJ0lJSm2Y
2015-10-01 17:16:15 -07:00
Brian Grinstead
81e3ec6e02 Bug 1210430 - Use Promise.jsm to make beta doorhanger work again;r=jsantell
--HG--
extra : commitid : 6TaYGyIat0m
2015-10-01 13:26:53 -07:00
Brian Grinstead
ca3ad23ec4 Bug 1210375 - Use correct GRAB_DELAY in the markup view;r=pbrosset
--HG--
extra : commitid : ABZ4sRFrE7H
2015-10-01 13:26:11 -07:00
Jordan Santell
24bd756f1d Bug 1210287 - Align twisties in the web console when a stack is displayed. r=ochameau 2015-09-30 21:12:08 -07:00
Carsten "Tomcat" Book
6db5f58151 Merge m-c to fx-team
--HG--
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_11.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_11_partner_sample1.py
rename : testing/taskcluster/tasks/builds/android_api_11.yml => testing/taskcluster/tasks/builds/android_api_11_partner_sample1.yml
extra : rebase_source : c4eedd0e67e1271c3faa6294abefbdbea6ee4fd0
2015-10-01 14:16:12 +02:00
Carsten "Tomcat" Book
07ed19e582 merge mozilla-inbound to mozilla-central a=merge 2015-10-01 12:39:25 +02:00
Nick Fitzgerald
30e17cfd82 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
Brian Grinstead
0957a11e6c Bug 1208544 - Listen to nativeAnonymousChildList changes from devtools;r=pbrosset
--HG--
extra : commitid : DOZUfglfNIy
2015-09-24 08:23:34 -07:00
Wes Kocher
296abd21ee Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 38a51b2c491658bc19cfac0d227b04ef6e5f6718
2015-09-30 14:10:21 -07:00
Tooru Fujisawa
347f644495 Bug 1207499 - Part 14: Remove use of expression closure from devtools/. r=pbrosset
--HG--
extra : commitid : 5hWCVtCcRzD
extra : rebase_source : 50c89db21c46a03563e6b6a3e2d2e7d628e461ae
2015-09-24 21:31:45 +09:00
Tooru Fujisawa
09d2efec2f Bug 1207490 - Part 6: Remove use of expression closure from browser/devtools/. r=vporof
--HG--
extra : commitid : 6e020fSx4WI
extra : rebase_source : 1a202ee1b6dbf9eacae06f1200e66aa6d98ce05b
2015-09-21 02:25:07 +09:00
Bill McCloskey
633d4a3ecf Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-10-01 21:18:05 -07:00
Michael Ratcliffe
3efb3a9e6f Bug 1203520 - We need a DevTools ESLint plugin containing our ruleset r=gps
--HG--
extra : commitid : FrMOnVBUxmY
extra : rebase_source : c38511e94177f651a0decad41180991c54cb0f33
2015-09-30 14:44:48 +01:00
Raphaël Lustin
4a206f7c3c Bug 1198331 - Titles in sidebar aren't cropped and cross borders between tabs (titles are to long in some locales). r=pbrosset 2015-09-28 15:25:00 +02:00
Patrick Brosset
41dc555dc0 Bug 1174437 - Run the gcli media emulation command run on the server; r=jwalker 2015-09-29 11:01:48 +02:00
Tom Tromey
ab00bd72c5 Bug 1209077 - handle cached empty string in StyleSheetActor._getText; r=bgrins,pbrosset 2015-09-28 07:28:00 +02:00
Tom Tromey
f553914c78 Bug 1197967 - preserve spelling of urls in output-parser.js; r=pbrosset 2015-09-28 07:10:00 +02:00