Commit Graph

11765 Commits

Author SHA1 Message Date
Nicolas Chevobbe
d006e653e5 Bug 1024913 - Enable reverse search in jsterm; r=bgrins,flod.
Differential Revision: https://phabricator.services.mozilla.com/D3114

--HG--
extra : moz-landing-system : lando
2018-09-10 10:24:40 +00:00
Nicolas Chevobbe
b31b75d4af Bug 1024913 - Move jsterm auto-focus handling into App.js; r=bgrins.
The App component takes the whole document space, so we can move the
code that listen for every click in the console UI to decide if the
jsterm should be focused or not.
This feels more like the React way, and will also provide us better
access to the store and the props when we need them in this focus
handling (like this will be the case for hiding the reverse search UI).

Depends on D5150

Differential Revision: https://phabricator.services.mozilla.com/D5152

--HG--
extra : moz-landing-system : lando
2018-09-10 10:22:47 +00:00
Nicolas Chevobbe
3206553f2d Bug 1024913 - Add SVG images for the Reverse Search input; r=bgrins.
This adds 2 arrowhead images to navigate to the next and previous result
in the reverse search UI.
The search.svg icon is modified to accept fill through CSS.

Depends on D5149

Differential Revision: https://phabricator.services.mozilla.com/D5150

--HG--
extra : moz-landing-system : lando
2018-09-10 10:22:15 +00:00
Nicolas Chevobbe
72a5fb2664 Bug 1024913 - Add a preference to enable the reverse search UI; r=bgrins.
Retrieve this preference in the console to pass it as a prop to the root
App component.

Differential Revision: https://phabricator.services.mozilla.com/D5149

--HG--
extra : moz-landing-system : lando
2018-09-10 10:21:46 +00:00
Nicolas Chevobbe
de878243c9 Bug 1489554 - Do not open the autocomplete popup if there's a letter right after the cursor; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D5396

--HG--
extra : moz-landing-system : lando
2018-09-10 10:17:12 +00:00
Margareta Eliza Balazs
4133050728 Backed out 5 changesets (bug 1024913) for causing perma damp failures. CLOSED TREE
Backed out changeset 1c18e0422ffa (bug 1024913)
Backed out changeset c4e5a7ff8e53 (bug 1024913)
Backed out changeset 7f269add6e54 (bug 1024913)
Backed out changeset ccd6afc2a739 (bug 1024913)
Backed out changeset 1613377c1b43 (bug 1024913)
2018-09-10 10:25:32 +03:00
Nicolas Chevobbe
e038259bed Bug 1024913 - Add tests for Reverse search; r=bgrins.
Depends on D3114

Differential Revision: https://phabricator.services.mozilla.com/D5153

--HG--
extra : moz-landing-system : lando
2018-09-10 05:16:25 +00:00
Nicolas Chevobbe
bde2339d57 Bug 1024913 - Enable reverse search in jsterm; r=bgrins,flod.
Differential Revision: https://phabricator.services.mozilla.com/D3114

--HG--
extra : moz-landing-system : lando
2018-09-10 05:16:00 +00:00
Nicolas Chevobbe
bed5de4c51 Bug 1024913 - Move jsterm auto-focus handling into App.js; r=bgrins.
The App component takes the whole document space, so we can move the
code that listen for every click in the console UI to decide if the
jsterm should be focused or not.
This feels more like the React way, and will also provide us better
access to the store and the props when we need them in this focus
handling (like this will be the case for hiding the reverse search UI).

Depends on D5150

Differential Revision: https://phabricator.services.mozilla.com/D5152

--HG--
extra : moz-landing-system : lando
2018-09-10 05:15:58 +00:00
Nicolas Chevobbe
dda4917471 Bug 1024913 - Add SVG images for the Reverse Search input; r=bgrins.
This adds 2 arrowhead images to navigate to the next and previous result
in the reverse search UI.
The search.svg icon is modified to accept fill through CSS.

Depends on D5149

Differential Revision: https://phabricator.services.mozilla.com/D5150

--HG--
extra : moz-landing-system : lando
2018-09-10 05:15:56 +00:00
Nicolas Chevobbe
4f4c30f9e0 Bug 1024913 - Add a preference to enable the reverse search UI; r=bgrins.
Retrieve this preference in the console to pass it as a prop to the root
App component.

Differential Revision: https://phabricator.services.mozilla.com/D5149

--HG--
extra : moz-landing-system : lando
2018-09-10 05:14:14 +00:00
Gabriel Luong
77b3ad5206 Bug 1478397 - Part 8: Refactor the flex item shown to prevent it from being hidden on reflow updates. r=rcaliman
- This removes the "shown" property from the flexItem types, and introduces a flexItemShown
property in the flexbox state that keeps track of the node actor ID of the flex item that is shown.
2018-09-07 20:00:30 -04:00
Gabriel Luong
74d7f402ee Bug 1478397 - Part 7: Add a flex item selector in the flexbox panel. r=rcaliman 2018-09-07 20:00:27 -04:00
Dorel Luca
37663bb870 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-07 19:35:34 +03:00
Gabriel Luong
c6d97e79f2 Bug 1487806 - Add a null check for the flex argument in getFlexData. r=jdescottes 2018-09-07 10:20:28 -04:00
Julian Descottes
7be03c4f9e Bug 1486703 - Display correct hostOnly values in storage inspector;r=miker
Differential Revision: https://phabricator.services.mozilla.com/D4712

--HG--
extra : moz-landing-system : lando
2018-09-07 10:41:42 +00:00
Razvan Caliman
5de11b6599 Bug 1489109 - Accept negative values in font editor if axis range allows it. r=gl
MozReview-Commit-ID: 7ABne1snpSW

Differential Revision: https://phabricator.services.mozilla.com/D5161

--HG--
extra : moz-landing-system : lando
2018-09-06 16:58:51 +00:00
Jan Odvarko
d548370809 Bug 1487274 - Use nsIHttpChannel.isThirdPartyTrackingResource to identify trackers; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D5018

--HG--
extra : moz-landing-system : lando
2018-09-07 06:55:19 +00:00
Bogdan Tara
30c8b1bee3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-07 00:59:25 +03:00
Julian Descottes
e82936d001 Bug 1487284 - Update message manager in actors spawned in parent after browserSwap;r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D5028

--HG--
extra : moz-landing-system : lando
2018-09-06 16:06:34 +00:00
yulia
9611217838 Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

Differential Revision: https://phabricator.services.mozilla.com/D3618

--HG--
extra : moz-landing-system : lando
2018-09-06 11:42:57 +00:00
arthur.iakab
4862d62ddf Backed out changeset 5e21be5fdf9d (bug 1429421)for build busteges CLOSED TREE 2018-09-06 12:12:40 +03:00
yulia
139e4e0b9a Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

Differential Revision: https://phabricator.services.mozilla.com/D3618

--HG--
extra : moz-landing-system : lando
2018-09-06 08:55:50 +00:00
Nicolas Chevobbe
d2aa396d28 Bug 1487457 - Make console reflows faster; r=bgrins.
This patch remove some unused dom elements and CSS rules
that might negatively influence reflow times.
Also, we set an hidden overflow to all the element we know
for sure won't ever have a scrollbar, which seems to speed
up the reflow significantly.

Differential Revision: https://phabricator.services.mozilla.com/D4695

--HG--
extra : moz-landing-system : lando
2018-08-31 12:51:36 +00:00
Nicolas Chevobbe
3d61a36abf Bug 1479373 - Refactor autocomplete popup for performance; r=jdescottes.
This patch introduces some options that can be passed to
setItems and openPopup to prevent doing unecessary work.
The main ideas here are to create all the popup items and
put them in a document fragment which then will be appended
to the popup, so we don't add them one by one which can be costly.
When creatingthe items, we also create one directly with the
selected class if autoSelect is set to true. This way, we don't have
to toggle the class later (which led to another reflow).

We take this work as an opportinuity to clean up the component.
Unused function (like appendItem and removeItem) are removed,
selectedIndex does not use a getter/setter anymore.

Some of the consumers calls are updated and so is the component test.

Differential Revision: https://phabricator.services.mozilla.com/D4848

--HG--
extra : moz-landing-system : lando
2018-09-06 05:48:02 +00:00
Gabriel Luong
7e6297bc79 Bug 1478397 - Part 6: Refactor the styles in the layout panel. r=rcaliman 2018-09-05 16:04:16 -04:00
Zibi Braniecki
4bf900d584 Bug 1455649 - DocumentL10n, part 4 - Switch Preferences to use DocumentL10n API. r=smaug
--HG--
extra : rebase_source : 969d8ac56c3a033b707fab4508423407386abd35
2018-09-06 18:30:37 -07:00
Dorel Luca
97066da84e Merge mozilla-central to mozilla-inbound 2018-09-05 19:07:40 +03:00
Gabriel Luong
62e2370222 Bug 1471764 - Add unit tests for the toggling the flexbox and grid highlighter from the markup display badges. r=jdescottes 2018-09-03 13:11:24 -04:00
Dorel Luca
a036d8964b Backed out changeset ff6b5bae0da4 (bug 1479373) for devtools failures on devtools/client/inspector/rules/test/browser_rules_completion-new-property_04.js. CLOSED TREE 2018-09-05 15:10:37 +03:00
Nicolas Chevobbe
f0d64d744d Bug 1217198 - Better autocompletion for template literals; r=Honza.
Add a new template literal state to findCompletionBeginning so we can
better handle the autocompletion for them.

Differential Revision: https://phabricator.services.mozilla.com/D4853

--HG--
extra : moz-landing-system : lando
2018-09-05 11:37:33 +00:00
Nicolas Chevobbe
13d59f5645 Bug 1479373 - Refactor autocomplete popup for performance; r=jdescottes.
This patch introduces some options that can be passed to
setItems and openPopup to prevent doing unecessary work.
The main ideas here are to create all the popup items and
put them in a document fragment which then will be appended
to the popup, so we don't add them one by one which can be costly.
When creatingthe items, we also create one directly with the
selected class if autoSelect is set to true. This way, we don't have
to toggle the class later (which led to another reflow).

We take this work as an opportinuity to clean up the component.
Unused function (like appendItem and removeItem) are removed,
selectedIndex does not use a getter/setter anymore.

Some of the consumers calls are updated and so is the component test.

Differential Revision: https://phabricator.services.mozilla.com/D4848

--HG--
extra : moz-landing-system : lando
2018-09-05 08:34:47 +00:00
Nicolas Chevobbe
eef06be71f Bug 1488336 - Group clear mark and markText for completion text; r=bgrins.
This way, codeMirror does not trigger so many reflows and
makes setAutocompletionText faster.
An unwanted side-effect was that it made closing the console
a lot slower. Looking at the closing code of the JsTerm, we
do call setAutocompletionText("") in the end, which we don't
really need since we destroy the editor shortly after. Removing
this call keeps closing time the same as before.

Differential Revision: https://phabricator.services.mozilla.com/D4905

--HG--
extra : moz-landing-system : lando
2018-09-04 16:19:23 +00:00
Sebastian Hengst
e5d9fb7164 Backed out changeset 4fc8d640d0f9 (bug 1488450) because it depends on bug 1471764 which got backed out. a=backout CLOSED TREE
--HG--
extra : amend_source : 78c794ae4a518be3642828e9902f1a1675307ab5
2018-09-05 02:42:10 +03:00
Bogdan Tara
f302cbb0b3 Merge inbound to mozilla-central. a=merge 2018-09-05 02:24:27 +03:00
Bogdan Tara
8b38c1ae85 Merge autoland to mozilla-central. a=merge 2018-09-05 01:53:44 +03:00
Mark Banner
c6885f5391 Bug 1488445 - Remove and replace obsolete ESLint rules. r=mossop
This removes a number of references to rules that are now deprecated or removed from ESLint.

- no-native-reassign is replaced with no-global-assign
- no-spaced-func is replaced with func-call-spacing (where enabled)

Depends on D4944

Differential Revision: https://phabricator.services.mozilla.com/D4946

--HG--
extra : moz-landing-system : lando
2018-09-04 18:08:43 +00:00
Mark Banner
56437d9aed Bug 1488445 - Change the ESLint configuration to extend from eslint:recommended. r=mossop
This enables the following extra rules over the current configuration:

- for-direction
- no-compare-neg-zero
- no-new-symbol
- no-this-before-super

Other rules that are in eslint:recommended but not in our configuration are turned off for now.

Differential Revision: https://phabricator.services.mozilla.com/D4944

--HG--
extra : moz-landing-system : lando
2018-09-04 18:08:41 +00:00
Sebastian Hengst
a74f45da4b Backed out changeset d8ff6c1c6f3a (bug 1471764) for failing devtools' browser_markup_flex_display_badge.js in beta simulations. a=backout 2018-09-04 18:21:03 +03:00
Yura Zenevich
8d537bb798 Bug 1488508 - update help icon to use Photon style system. r=gl
MozReview-Commit-ID: 75efDzRq187

Differential Revision: https://phabricator.services.mozilla.com/D4958

--HG--
extra : moz-landing-system : lando
2018-09-04 17:21:44 +00:00
Daniel Varga
3c3e9e37c6 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 65372156c004c649109b08227f8aa6a91cb22969
2018-09-04 01:05:40 +03:00
Daniel Varga
f46d581d52 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-04 00:54:07 +03:00
Gabriel Luong
cd3c5d7ba6 Bug 1471764 - Add unit tests for the toggling the flexbox and grid highlighter from the markup display badges. r=jdescottes 2018-09-03 13:11:24 -04:00
Razvan Caliman
07b71aa68f Bug 1488157 - Tweak the font editor warning message shown when no fonts were used. r=gl
MozReview-Commit-ID: 5dFEkTvbIKm

Differential Revision: https://phabricator.services.mozilla.com/D4843

--HG--
extra : moz-landing-system : lando
2018-09-03 14:12:24 +00:00
yulia
e43fffae44 Bug 1462399 - remove GCLI commands; r=ochameau
This patch removes remaining files and traces of GCLI panel commands.

Differential Revision: https://phabricator.services.mozilla.com/D3615

--HG--
extra : moz-landing-system : lando
2018-09-03 17:24:32 +00:00
yulia
5ecbde0627 Bug 1447490 - replace GCLI toolbox buttons with highlighters and appropriate actors; r=ochameau
GCLI has been handling the state of our buttons as well as managing shared highlighters.
Since the gcli removal, we no longer share the rulers and measure with any other UI, so a location
for shared state is no longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D3506

--HG--
extra : moz-landing-system : lando
2018-09-03 14:54:04 +00:00
Luca Greco
1ca131a754 Bug 1487836 - Fix innerWindowID used for the WebExtensions devtools API eval denied errors. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4782

--HG--
extra : moz-landing-system : lando
2018-09-03 06:29:21 +00:00
Belén Albeza
2d4733b9f8 Bug 1449955 - Server-side test for walker + shadow DOM r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4675

--HG--
extra : moz-landing-system : lando
2018-09-01 08:31:35 +00:00
Brian Hackett
0f3aa39754 Bug 1479909 Part 1 - Tolerate multiple scripts with the same source when replaying, r=jimb.
--HG--
extra : rebase_source : 4d87612a5b1ee78f461d536f4227865e67efe24a
2018-08-30 11:58:33 -10:00
Jan de Mooij
cbb67627a3 Bug 722345 part 3 - Remove request API. r=luke
Differential Revision: https://phabricator.services.mozilla.com/D4424

--HG--
extra : rebase_source : 1842588c00dbc8fb4294ce5436cdb787190909b4
2018-08-28 09:53:30 +02:00