Commit Graph
32 Commits
Author SHA1 Message Date
Jan Odvarko 5225066e71 Bug 1247065 - Implement Tree Component. r=bgrins, r=linclark, r=jlongster 2016-02-09 22:38:20 +01:00
Jordan Santell 61fe57499b Bug 1254736 - Do not link to unlinkable frames in Frame component. r=fitzgen 2016-03-09 23:29:48 -08:00
Jordan Santell 4aca82d820 Bug 1251033 - Part 3 - Fix unmerged chunk from eb9b84702b2c. a=philor 2016-03-08 21:58:47 -08:00
Jordan Santell 712f649133 Bug 1251033 - Part 2 - FrameComponent should correctly handle erroneous line/column formats. r=fitzgen 2016-03-08 19:19:10 -08:00
Jordan Santell 9632efd3fe Bug 1251033 - Part 1 - BrowserLoader now has an option to only load shared components and not require an additional directory. r=jryans 2016-03-08 19:19:09 -08:00
Nick Fitzgerald f3fd8e443b Bug 1251492 - Don't prevent default behavior of unrelated mouse events in HSplitBox. r=linclark 2016-03-02 11:05:00 -05:00
Jordan Santell 8215bc31f3 Bug 1251084 - Remove WebConsoleUtils.abbreviateSourceURL with source-utils function. r=linclark 2016-03-01 14:32:11 -08:00
Alexandre Poirot bb787b541e Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
Nick Fitzgerald d6e7fdb408 Bug 1249147 - Add a resizable split pane component to devtools/client/shared/components; r=jsantell,linclark
This commit adds HSplitBox which gives two panes aligned horizontally and a
splitter between them to resize their relative widths as needed.
2016-02-23 15:38:29 -08:00
Jan Odvarko 00430c8621 Bug 1247434 - fix eslint, add comments and remove Locale; r=jryans, pbrosset
MozReview-Commit-ID: LDYftQOw35M
2016-02-19 16:17:50 +01:00
Jan Odvarko 2ddda3ece5 Bug 1247434 - Move all rep component into shared directory; r=jryans
MozReview-Commit-ID: 9G6TpiJhCPd
2016-02-18 12:58:51 +01:00
Julian Descottes 159f327bd4 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
Phil Ringnalda ef09fca19a 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 00572f935a 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-08 16:30:01 +01:00
Alexandre Poirot 5bd5cfbc73 Bug 1245462 - Cleanup various require/import in devtools. r=jryans 2016-02-11 04:29:47 -08:00
Alexandre Poirot c278a0c6db Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
J. Ryan Stinnett 93670c52c7 Bug 1204127 - Clean up paths added after migration. r=ochameau 2016-02-08 17:32:07 -06:00
Jordan Santell 12579c63f8 Bug 1176056 - Tests for the JITOptimizations react component. r=fitzgen 2016-02-03 12:04:51 -08:00
Jordan Santell 55b0638c25 Bug 1226319 - Part 3 - Land JIT Viewer implemented in react. r=fitzgen 2016-01-28 13:00:54 -08:00
Jordan Santell beed2269f7 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 b3e95be975 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,
2016-01-19 01:44:44 +01:00
Julian Descottes 1d7187b248 Bug 1238941 - Remove caching in devtools tree widget (react). r=fitzgen 2016-01-14 20:33:09 +01:00
Wes Kocher 470b7ace05 Backed out changeset 3cea1d886e9e (bug 1238941) for being a possible cause of frequent devtools failures in browser_profiler_tree-abstract-02.js a=backout 2016-01-15 10:42:50 -08:00
Julian Descottes d0ec43d4f1 Bug 1238941 - Remove caching in devtools tree widget (react). r=fitzgen 2016-01-14 20:33:09 +01:00
Nick Fitzgerald 07140c5952 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.
2016-01-13 12:27:30 -08:00
Nick Fitzgerald 3aaacb85e4 Bug 1236053 - Remove the filtering functionality from the Tree component; r=jsantell
In practice, we filter trees off-main-thread in a worker and the tree that we
pass to the Tree component is already filtered, which is a better architecture
anyways. Additionally, we lack any kind of tests for the Tree component's
built-in filtering. And finally, there isn't even a single user of the built-in
filtering functionality.

Dead it!
2016-01-06 13:57:12 -08:00
Nick Fitzgerald 800b5a8f0c Bug 1235933 - Fix auto expansion of nodes in the Tree component; r=jsantell 2016-01-06 13:57:12 -08:00
Nick Fitzgerald 5f4a6990e5 Bug 1235909 - Add optional props for expand/collapse event handlers to the Tree component; r=jsantell 2016-01-06 13:57:12 -08:00
Alexandre Poirot 4bee897036 Bug 1236457 - Stop using deprecated dbg-server.jsm/dbg-client.jsm from /devtools. r=jryans 2016-01-05 02:41:50 -08:00
Jordan Santell 7c2a9c7bfe Bug 1219544 - Decouple the react Frame component from the memory view and pull out source utilities from frame utilities in performance tool. r=fitzgen 2015-12-29 13:23:05 -05:00
J. Ryan Stinnett 2f4c1fa22c Bug 1226570 - Remove chrome://browser/skin/ from DevTools. r=bgrins 2015-11-23 18:10:11 -06:00
Jordan Santell 6a789d3281 Bug 1226319 - pt1 - Move react tree widget in memory tool to shared components. r=fitzgen 2015-11-20 17:50:31 -08:00