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

12 Коммитов

Автор SHA1 Сообщение Дата
Tom Tromey 2e37ad3b29 Bug 1273941 - replace uses of promise.defer in devtools/shared; r=jryans
MozReview-Commit-ID: 2n3uJ5QKsKL

--HG--
extra : transplant_source : %E5%29%E0%BA%26%23%7F%CF%B6%2B4%7E%D4%02%21%9B%D8%D51%5C
2016-06-09 09:03:47 -06:00
Nick Fitzgerald e0776670f7 Bug 1278345 - Decouple the LongStringFront from the LongStringActor; r=ejpbruel 2016-06-07 07:53:21 -07:00
Julian Descottes af8533fc17 Bug 1202458 - part3: rename ShortLongString to SimpleStringFront;r=pbro
The current name ShortLongString doesn't reflect the current usage of
this class. When looking at the few clients of this class, the reason
for using it is that the string is already accessible on the client
and does not need to be fetched from the server, while still keeping
the same interface as the LongStringFront.

MozReview-Commit-ID: 7MdgH8GzC7q

--HG--
extra : rebase_source : 80bf8b91d36c796d732840206c3c83417729d9e7
extra : source : e74192b1a9c82ebcb431e5b4c28775a8111c8864
2016-05-31 16:51:27 +02:00
Julian Descottes a3bc664c7e Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN

--HG--
extra : rebase_source : 3f3733928e0b3d2bbc12cb55521acda32a45bd2a
extra : source : f3bdf3ebaf4cbf3bb426d10cf95e702bc8e981f4
2016-06-02 10:41:49 +02:00
James Long e4aeb1c9ee Bug 1265854 - replace uses of nsiDOMNode constants in devtools frontend r=tromey 2016-06-03 09:47:58 -04:00
Carsten "Tomcat" Book 3b31f13666 Backed out changeset f3bdf3ebaf4c (bug 1202458) for test failures in test_inspector-mutations-value.html - missed that changeset in the backout before, sorry 2016-06-02 16:32:05 +02:00
Carsten "Tomcat" Book eb67af1f6f Backed out changeset e74192b1a9c8 (bug 1202458)
--HG--
extra : rebase_source : 95f662b3116ce3c9dc5357578a65672a1f3d5b2a
2016-06-02 16:29:47 +02:00
Julian Descottes 295a067b52 Bug 1202458 - part3: rename ShortLongString to SimpleStringFront;r=pbro
The current name ShortLongString doesn't reflect the current usage of
this class. When looking at the few clients of this class, the reason
for using it is that the string is already accessible on the client
and does not need to be fetched from the server, while still keeping
the same interface as the LongStringFront.

MozReview-Commit-ID: 7MdgH8GzC7q

--HG--
extra : rebase_source : 71a7cbb69f9ccf4d46a6750ed93d8f0ee236177e
extra : histedit_source : 8bad387e697a8288d0ac651d52b8cf8ad9fb0bcb
2016-05-31 16:51:27 +02:00
Julian Descottes fc46d5012b Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN

--HG--
extra : rebase_source : 908ba5c1cab86018116271402c90992c1fca6d62
extra : histedit_source : f0083b1e4c54cde0fdce12e1d139baa41e7d6cda
2016-06-02 10:41:49 +02:00
Tom Tromey 0d398a243a Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ

--HG--
rename : toolkit/modules/Task.jsm => devtools/shared/task.js
extra : transplant_source : %B8h%8A%8C%BD%91%8A%81%1D%F4%F5%2Ap%CFv%BC%963u0
2016-05-17 13:07:55 -06:00
Nicolas Chevobbe 62400e0cd7 Bug 1270215 - Ensure we display properly cased node names all across the devtools. r=jdescottes
Add a displayName property on the NodeActor, which compute from Element.prefix + Element.localName.
The computation is made by a getNodeDisplayName function which can be imported wherever needed.
Edit some tests to ensure we correctly display node names.

MozReview-Commit-ID: 6z0G3ynbMoU

--HG--
extra : transplant_source : %E0%AFM%88D%BC%AD%08%1D%A4%FB%F2%5D%9E%D3%90%DE%94%EC%CD
2016-05-12 07:18:58 +02:00
Eddy Bruel 6e33d93476 Bug 1265722 - Move fronts to shared directory;r=jryans 2016-05-17 14:59:21 +02:00