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

144 Коммитов

Автор SHA1 Сообщение Дата
Jordan Santell afb1708698 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
Lin Clark 05225c81fc Bug 1253650 - Fix React propType warnings. r=fitzgen 2016-03-04 18:23:00 +01:00
Julian Descottes 523168a54c Bug 1253881 - memory profiler: toggle diffing when clearing snapshots;r=fitzgen
When clearing all snapshots, if currently displaying a diff, dispatch the
diffing.toggleDiffing action.

MozReview-Commit-ID: 1DyPZ7tHC1X

--HG--
extra : rebase_source : 595d182023567c01fc14b7fb25fc65406296466d
2016-03-07 21:23:32 +01:00
J. Ryan Stinnett c943bbac07 Bug 1253125 - Stop duplicating telemetry from inside tools. r=mratcliffe
MozReview-Commit-ID: IRidYhLsJpy
2016-03-03 16:16:39 -06:00
Nick Fitzgerald a9e7879204 Bug 1249779 - Remove the "invert tree" checkbox and make inverting a property of the "group by" selection; r=jsantell
Effectively, this moves `inverted` from a global and per-census state, to a
per-`breakdownModel` state. Additionally, a `breakdownModel` is not just a
breakdown spec anymore, but also some extra associated metadata. As such, it has
been split in two and renamed to "censusDisplayModel" and
"dominatorTreeDisplayModel".

--HG--
rename : devtools/client/memory/reducers/breakdown.js => devtools/client/memory/reducers/census-display.js
rename : devtools/client/memory/reducers/dominatorTreeBreakdown.js => devtools/client/memory/reducers/dominator-tree-display.js
rename : devtools/client/memory/test/browser/browser_memory_allocationStackBreakdown_01.js => devtools/client/memory/test/browser/browser_memory_allocationStackDisplay_01.js
rename : devtools/client/memory/test/browser/browser_memory_breakdowns_01.js => devtools/client/memory/test/browser/browser_memory_displays_01.js
rename : devtools/client/memory/test/unit/test_action-set-breakdown-and-refresh-02.js => devtools/client/memory/test/unit/test_action-set-display-and-refresh-02.js
2016-03-01 16:20:45 -08:00
Jordan Santell 677cbcffcd Bug 1251084 - Remove WebConsoleUtils.abbreviateSourceURL with source-utils function. r=linclark 2016-03-01 14:32:11 -08:00
Oussama Ben Guirat b2c1742f60 Bug 1206341 - Fix memory tool direction for rtl locales. r=ntim
MozReview-Commit-ID: JgjF5tfllt5
2016-03-01 06:36:00 +01:00
Alexandre Poirot d3b05e8c5a Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
Nick Fitzgerald a954e27a9e Bug 1149385 - Render retaining paths in the dominators view; r=jsantell
This commit extends the devtools' memory panel's dominators view with a sidebar
that displays the 5 shortest retaining paths from the GC roots for the selected
node in the dominator tree.
2016-02-23 15:38:29 -08:00
Nick Fitzgerald ef00b09062 Bug 1249453 - Add arrows from parent to children in census trees; r=jsantell
MozReview-Commit-ID: LFo4jJot2Sr
2016-02-23 14:14:37 -08:00
Nick Fitzgerald 8b8554f2a5 Bug 1249789, 1249791, 1249792, 1249796, 1249798 - Clean up memory tool breakdowns; r=jsantell
This commit does the following:

- Rename "Group By: {Allocation => Call} Stack" in memory tool
- Rename "Label By: {Allocation => Call} Stack" in memory tool
- Get rid of "Internal Type" for labeling and grouping nodes
- Get rid of group by "Object Class" in memory tool
- Rename group/label by "Coarse Type" to plain "Type" in memory tool
2016-02-22 14:27:51 -08: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 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
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 51759742d1 Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Julian Descottes 698c26c08d Bug 1246570 - mem.tool parentMap maps nodeId->node, remove verbose xpcshell logs;r=fitzgen 2016-02-10 17:57:37 +01:00
Sebastian Hengst b77d966c3d Backed out changeset e1576fc08c1c (bug 1246570) for XPCshell failures. r=backout 2016-02-10 12:55:11 +01:00
Julian Descottes 058c215317 Bug 1246570 - memory tool: parentMap should map nodeId->node. r=fitzgen 2016-02-08 21:16:22 +01:00
Nick Fitzgerald b8817f5424 Bug 1246017 - Create the parent map in the HeapAnalysesWorker; r=jimb 2016-02-05 15:11:48 -08:00
Nick Fitzgerald 9c6665ea7f Bug 1245739 - Disable the browser_memory_allocationStackBreakdown_01.js test on DEBUG builds. r=jsantell
Unfortunately, this test is frequently reporting the doc_steady_allocation.html
test tab window as leaking. Let's disable it for now, and re-enable it along
with the other leaky tests in bug 1219554.
2016-02-05 09:24:00 -05:00
Carsten "Tomcat" Book 045e9f2c83 Backed out changeset 92889fed3b3b (bug 1246017) for xpcshell bustage 2016-02-05 14:06:27 +01:00
Nick Fitzgerald d1e9e25dc5 Bug 1246036 - Don't let the "hey there's no allocation stacks" message throw and break rendering; r=jsantell 2016-02-04 17:05:00 +01:00
Nick Fitzgerald 34215b63aa Bug 1246017 - Create the parent map in the HeapAnalysesWorker; r=jimb 2016-02-04 18:05:00 +01:00
Nick Fitzgerald f96d54f1b4 Bug 1246016 - Speed up parent map creation in the memory tool; r=jimb
The iterator protocol is really slow and puts a crap ton of pressure on the GC
-- who would have guessed!?
2016-02-04 16:25:00 +01:00
Nick Fitzgerald 0d656a45b0 Bug 1221619 - Add telemetry to memory tool. r=jsantell, data-review=bsmedberg
--HG--
extra : rebase_source : 60ac72c8e18871226c60cbe984b15bed21042ad4
2016-02-03 15:17:00 +01:00
Nick Fitzgerald e940a0fe49 Bug 1219554 - Follow up: clean up memory panel open/destroy; r=jsantell
This commit removes the assignment expression in a return statement thing that
was going on. It is easy to misread and we don't usually use this idiom anywhere
else in the codebase. Additionally, it makes the destroy method clean up some
more members set when opening the tool.
2016-02-04 11:53:00 +01:00
Nick Fitzgerald ce433b1242 Bug 1219554 - Remove the unused waitUntilSnapshotState test utility; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald c210210dc3 Bug 1219554 - Clean up the browser_memory_no_auto_expand.js test; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald e23d6783f4 Bug 1219554 - Enable the browser_memory_filter_01.js test on DEBUG builds; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald 11a7de173d Bug 1219554 - Enable the browser_memory_diff_01.js test on DEBUG builds; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald cc2ac8ee1b Bug 1219554 - Enable the browser_memory_clear_snapshots.js test on DEBUG builds; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald 3e72f494a9 Bug 1219554 - Enable the browser_memory_breakdowns_01.js test on DEBUG builds; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald d963ddb960 Bug 1219554 - Enable the browser_memory_simple_01.js test on DEBUG builds; r=jsantell 2016-02-04 11:52:00 +01:00
Nick Fitzgerald e9084b82df Bug 1245302 - Wait for the HeapAnalysesWorker to reply before considering deleting a snapshot done; r=jsantell 2016-02-02 15:09:00 +01:00
Nick Fitzgerald 085857d538 Bug 1245301 - Alphabetize memory tool's browser tests and use consistent naming; r=jimb
--HG--
rename : devtools/client/memory/test/browser/browser_memory-breakdowns-01.js => devtools/client/memory/test/browser/browser_memory_breakdowns_01.js
rename : devtools/client/memory/test/browser/browser_memory-clear-snapshots.js => devtools/client/memory/test/browser/browser_memory_clear_snapshots.js
rename : devtools/client/memory/test/browser/browser_memory-simple-01.js => devtools/client/memory/test/browser/browser_memory_simple_01.js
2016-02-02 15:09:00 +01:00
Nick Fitzgerald 262912967a Bug 1242763 - Add a bunch of tooltips to the devtools' memory panel; r=jsantell
--HG--
extra : commitid : 67c3Fcxp6ey
2016-02-01 16:00:00 -08:00
Fabien Casters b0d8c1a148 Bug 1224660 - New icon for snapshot diff view button. r=ntim 2016-02-01 01:59:00 +01:00
Jordan Santell 5b4a50f7d7 Bug 1226319 - Part 3 - Land JIT Viewer implemented in react. r=fitzgen 2016-01-28 13:00:54 -08:00
Julian Descottes 2c2030d252 Bug 1241070 - refresh dominatortreeitem if expand state changed;r=fitzgen
In DominatorTreeItem check props.expanded in shouldComponentUpdate.
Added integration/sanity test to check that a node can be collapsed
and expanded using mouse events.
Added a DominatorTree component unit test to check the expanded nodes
are correctly updated.

--HG--
extra : rebase_source : 35eeca14296f81b6c8deec1d375b2a98467a460f
2016-01-20 23:21:54 +01:00
Julian Descottes 7fd0d42449 Bug 1242296 - mem. profiler: clear snapshots icon; r=ntim
Added a new icon clear.svg, use as clear button for the
memory profiler. Updated title for the button.
2016-01-25 00:40:47 +01:00
J. Ryan Stinnett bc17ebb4d3 Bug 1239437 - xpcshell tests for responsive.html. r=pbrosset 2016-01-25 19:44:08 -06:00
Julian Descottes 7d88e0623c Bug 1240344 - Fix filter propname used when creating toolbar. r=fitzgen
This commit fixes the prop name used when creating the Toolbar component
from app.js : Toolbar expects fitlerString, app was providing filter.

Extended browser_memory_filter_01.js to check the filter value is preserved
after switching views.
2016-01-22 12:23:44 +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
Nick Fitzgerald 5ebda02861 Bug 1219584 - Test that we show the allocations recording hint at the correct times. r=jsantell 2016-01-21 22:15:39 -05:00
Nick Fitzgerald d09fc47e9a Bug 1239495 - Label the GC roots in the dominator tree. r=jdescottes
Before this patch, we used the underlying root list's C++ type as the label of
the GC roots node in the dominator tree. This patch changes that label to "GC
Roots", which does not require knowing our implementation of heap snapshots to
understand.
2016-01-19 16:29:00 +01:00
Julian Descottes 88ef962b60 Bug 1215955 - Add clear snapshots button to devtools memory tool. r=fitzgen 2016-01-12 19:14:15 +01:00
Julian Descottes 3161857339 Bug 1239730 - memory table formatNumber/Percent : add space every 3 digits. r=jsantell 2016-01-18 16:24:36 +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 137b0dc6d1 Backed out changeset c457397a08bb (bug 1215955) for being a possible cause of frequent devtools failures in browser_profiler_tree-abstract-02.js a=backout
--HG--
extra : commitid : 9hiF1ztDIiJ
extra : histedit_source : 6388bc5df724f62b90c3309794bde9df82fa5631%2C131cc268c81bccca87b5dfc6ce58ae21230768cf
2016-01-15 10:43:01 -08:00