Commit Graph

167 Commits

Author SHA1 Message Date
Michael Ratcliffe
1ee39b0945 Bug 1248563 - eslint cleanup of storage inspector code r=pbrosset
--HG--
extra : rebase_source : f9acfe711678f232e60beb2452a69218484dc013
extra : amend_source : 6ff3261de332d8123b1bce6fcf8f75e04321a95a
2016-02-16 16:12:55 +00:00
J. Ryan Stinnett
7db57df8eb Bug 1240494 - AMD support for DevTools loaders. r=jwalker,Honza
MozReview-Commit-ID: 7IemsaijHNc
2016-02-17 07:00:09 -06:00
Brian Grinstead
ad34c237e8 Bug 1246733 - Remove stylesheet references of 'devtools/skin/common.css' and instead import it in theme files;r=ntim,r=ochameau
MozReview-Commit-ID: AwS9aJ4dypm
2016-02-16 16:10:25 -08:00
Julian Descottes
9f2c1134db Bug 1243695 - ensure caret is visible in ruleview prop editor;r=miker
--HG--
extra : rebase_source : c937e24c0814314149c5f5b0763cb4ca459660d1
2016-02-12 01:43:44 +01:00
Julian Descottes
8a5bb348c4 Bug 1243131 - memory tool: select snapshot using ACCEL+{UP/DOWN};r=fitzgen
Adds a keydown listener on the memory panel window. Select previous/next snapshot
when user presses UP/DOWN with the accelKey modifier (metaKey on OSX, ctrlKey on
windows).

Keydown events with modifiers are no longer listened to by the tree node elements.

Updated tree node test.
Added new mochitest to test the new keyboard navigation on the census view. )
2016-02-12 11:03:34 +01:00
Alexandre Poirot
1f8b8fe58c Bug 1241050 - Cleanup developer-toolbar imports. r=jwalker 2016-02-16 07:23:57 -08:00
Alexandre Poirot
03af4376f7 Bug 1241050 - Convert DeveloperToolbar.jsm to commonjs module. r=jwalker
--HG--
rename : devtools/client/shared/DeveloperToolbar.jsm => devtools/client/shared/developer-toolbar.js
2016-02-16 07:23:56 -08:00
Julian Descottes
6a60cf1528 Bug 1166956 - add valid unit when incrementing CSS value "0";r=tromey 2016-02-11 14:49:52 +01:00
Phil Ringnalda
e877ebe734 Back out c578a05bb9d6 (bug 1243131) for browser_memory_keyboard-snapshot-list.js timeout threshold exceeded on Linux32 debug 2016-02-11 21:50:07 -08:00
Julian Descottes
383c4ab364 Bug 1243131 - memory tool: select snapshot using ACCEL+{UP/DOWN};r=fitzgen
Adds a keydown listener on the memory panel window. Select previous/next snapshot
when user presses UP/DOWN with the accelKey modifier (metaKey on OSX, ctrlKey on
windows).

Keydown events with modifiers are no longer listened to by the tree node elements.

Updated tree node test.
Added new mochitest to test the new keyboard navigation on the census view. )

--HG--
extra : commitid : 20wu80BaRXB
2016-02-08 16:30:01 +01:00
Alexandre Poirot
a2341d65e4 Bug 1245462 - Cleanup various require/import in devtools. r=jryans 2016-02-11 04:29:47 -08:00
Alexandre Poirot
51759742d1 Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Julian Descottes
ce45b02f5e Bug 1246650 - upgrade redux to version 3.3.0; r=jsantell
--HG--
extra : rebase_source : 29e4f09e691a43d7a29293af3da5601dab338da3
2016-02-08 16:23:10 +01:00
Victor Porof
28b8bbfbd3 Bug 1120623 - Make the flamegraph keyboard accessible, r=jsantell 2016-02-09 13:45:37 +02:00
J. Ryan Stinnett
e7d6c84c0a Bug 1204127 - Clean up paths added after migration. r=ochameau 2016-02-08 17:32:07 -06:00
Julian Descottes
ac7fca4ef2 Bug 1030712 - Ruleview: Skip apply() after clicking suggestion. r=pbro
When using the inplace editor, clicking on an autocomplete suggestion
no longer triggers apply() and no longer calls the done() callback.
This way the inplace editor behavas similarly when using the keyboard
and when using the mouse.
2016-01-28 21:22:33 +01:00
Julian Descottes
073eab9c8f Bug 1243695 - reduce inplace editor size in ruleview;r=miker 2016-01-28 12:17:57 +01:00
Alexandre Poirot
5a1faaaf7f Bug 1214352 - Add telemetry for Scratchpad as top level window. r=jryans,p=bsmedberg 2016-02-04 02:20:55 -08:00
Jordan Santell
0e5e1d2b01 Bug 1176056 - Tests for the JITOptimizations react component. r=fitzgen 2016-02-03 12:04:51 -08:00
Lin Clark
73e999449b Bug 1243777 - Remove skip-if lines for mulet. r=jryans
--HG--
extra : commitid : 4RODJ20QS6G
extra : rebase_source : d5bcc4cffe93816bd333e411344cbc9b3c661382
2016-02-02 08:50:00 -08:00
J. Ryan Stinnett
0e4da7b1f1 Bug 1239562 - Use explicit events to fix test races in responsive design. r=ochameau 2016-02-01 19:29:43 -06:00
James Long
17347a3234 Bug 1243490 - fix leak in devtools hot reloading code r=jryans 2016-01-29 22:53:29 -05:00
Jordan Santell
5b4a50f7d7 Bug 1226319 - Part 3 - Land JIT Viewer implemented in react. r=fitzgen 2016-01-28 13:00:54 -08:00
Alexandre Poirot
5e0d485465 Bug 1239276 - Convert DebuggerClient.connect to promise. r=jryans 2016-01-28 10:11:31 -08:00
Shivang Nagaria
45157ed060 Bug 768469 - [gcli] implement a "mdn" command. r=pbrosset 2016-01-23 02:59:00 +01:00
James Long
4bec8149a9 Bug 1239018 - add file watching and hot reloading for devtools files r=jryans 2016-01-26 11:29:32 -05:00
James Long
b299ca191c Bug 1239060 - add exports hook in loader r=zer0 2016-01-25 20:23:04 -05:00
Alexandre Poirot
6f8120903d Bug 1235780 - Remove preprocessing from floating scrollbar css. r=jryans
--HG--
rename : devtools/client/themes/floating-scrollbars.css => devtools/client/themes/floating-scrollbars-dark-theme.css
rename : devtools/client/themes/floating-scrollbars.css => devtools/client/themes/floating-scrollbars-responsive-design.css
2016-01-25 06:06:47 -08:00
Jan Odvarko
0e4a869104 Bug 1241884 - Introduce new requestHeaders field for promiseXHR. r=jryans 2016-01-22 15:24:21 +01:00
Jordan Santell
71b80d896b Bug 1226319 - part 2 - move the common localized strings from the heap view into the frame component itself. Also make the frame component configurable to optionally display the function name and host, and handle scenarios where the column does not exist -- all in preparation for the JIT optimizations view. r=fitzgen 2016-01-22 12:47:03 -08:00
Julian Descottes
7bff6c515d Bug 1239673 - memorytable: set tree-node-odd from JS. r=vporof
Only visible table rows are rendered, therefore we
cannot rely on :nth-child(2) to create background stripes.

This commit adds the source index to the treeNode props.
Using this index, the treeNode can add a "tree-node-odd"
className to its element.

In css, tree-node-odd is then used to add the alternate
background color to a row,

--HG--
extra : rebase_source : 9ce30781c0e7a2197486a7e0271283f87fc8dff5
2016-01-19 01:44:44 +01:00
Patrick Brosset
f8fbd60618 Bug 1241527 - 1 - Fix some unhandled rejected promises in colorpicker, cubicbezier and cssfilter ruleview tests; r=gl
--HG--
extra : commitid : 2Sdt8Wmae64
2016-01-21 17:35:04 +01:00
Carsten "Tomcat" Book
adbf945ebf merge mozilla-inbound to mozilla-central a=merge 2016-01-21 11:49:16 +01:00
James Long
7e04a1838f Bug 1238881 - force the devtools version of React to always generate HTML elements r=Honza 2016-01-20 13:00:30 -05:00
J. Ryan Stinnett
8773016574 Bug 1224751 - Use the window's console in BrowserLoader. r=jlongster
--HG--
extra : rebase_source : cd01f7bfacf5d8799a2d843475c4a1475ef8ffe5
2016-01-20 12:34:44 -06:00
Julian Descottes
65365c60df Bug 1198326 - Prevent event propagation on click events of the inplace editor;r=bgrins
--HG--
extra : commitid : DPSJT29C4L4
2016-01-20 01:49:50 +01:00
Victor Porof
c8e2fed243 Bug 1169035 - AbstractCanvasGraph.prototype._getRelativeEventCoordinates causes very costly layouts, r=jsantell 2016-01-20 14:16:27 +01:00
Patrick Brosset
5e68bd4942 Bug 1181837 - 8 - Include inspector's head.js in markup view to remove duplication; r=bgrins
--HG--
extra : commitid : 6ABB5e1Ufsq
extra : rebase_source : 040604ea01606d9a43b85656a979bb80ad229ae7
2016-01-20 09:42:16 +01:00
Tim Nguyen
66d777bfab Bug 1171903 - Add endless scrolling to storage inspector to view more items. r=miker 2016-01-07 14:15:00 +01:00
James Long
8b55567bdc Bug 1224765 - add production version of React for devtools and use it in release modes r=fitzgen 2016-01-19 16:55:06 -05:00
Jan Odvarko
e64b60457f Bug 1237253 - Support define in BrowserLoader; r=jlongster r=jryans 2016-01-15 14:15:28 +01:00
Julian Descottes
e337d68642 Bug 1238941 - Remove caching in devtools tree widget (react). r=fitzgen
--HG--
extra : source : 3cea1d886e9e6861a8720de42825185381a208a3
2016-01-14 20:33:09 +01:00
Wes Kocher
a330ff03a6 Backed out changeset 3cea1d886e9e (bug 1238941) for being a possible cause of frequent devtools failures in browser_profiler_tree-abstract-02.js a=backout
--HG--
extra : commitid : 3MYM5fevzDQ
2016-01-15 10:42:50 -08:00
Julian Descottes
d2af8685f1 Bug 1238941 - Remove caching in devtools tree widget (react). r=fitzgen 2016-01-14 20:33:09 +01:00
Julian Descottes
f38ed72a4a Bug 1238467 - add tooltiptext on SideMenuWidget group checkbox. r=vporof 2016-01-13 19:24:09 +01:00
Nick Fitzgerald
46ec4d3cc4 Bug 1229229 - Display dominator trees in the memory tool's UI; r=jsantell
This patch overhauls the memory tool's frontend from being in a state of viewing
a snapshot's census (the implicit default) or viewing a census diff (a special
cased kind of thing) to one of three recognized view states: (1) census, (2)
diffing, or (3) dominator tree. The logic surrounding our current view is more
explicit now. View option (3) is the new one, whose introduction required those
clean ups.

Dominator trees are too large to render in full, all at once. Instead, we
eagerly load and render a few levels deep and then incrementally fetch further
subtrees as their parents are expanded in the UI. This means that we get new
Tree component instances across incremental fetches. Before this commit, the
Tree component stored a bunch of state internally (in this.state rather than
this.props) and we would lose focus and expansion state across incremental
fetches. This internal state has been pulled out and made as explicit props,
which are now managed by actions and reducers just like the rest of the state.

--HG--
rename : devtools/client/memory/components/tree-item.js => devtools/client/memory/components/census-tree-item.js
2016-01-13 12:27:30 -08:00
Carsten "Tomcat" Book
0a0515f495 Merge mozilla-central to fx-team 2016-01-13 11:59:17 +01:00
Carsten "Tomcat" Book
d833f9ba1a merge mozilla-inbound to mozilla-central a=merge 2016-01-13 11:57:15 +01:00
Alexandre Poirot
1b9225fa6c Bug 1235781 - Fix per platform css and browser css rule for eyedropper. r=bgrins 2016-01-13 02:55:32 -08:00
Alexandre Poirot
56737ce42b Bug 1236452 - Fix DOMHelpers.onceDOMReady against already loaded documents. r=jryans 2016-01-13 02:55:32 -08:00