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

91 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 886ea34f17 Bug 1492700 - Move Devices.jsm to devtools/shared/adb folder;r=daisuke
Depends on D12759

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

--HG--
rename : devtools/shared/apps/Devices.jsm => devtools/shared/adb/Devices.jsm
extra : moz-landing-system : lando
2018-11-27 12:49:49 +00:00
Nazım Can Altınova e88550b119 Bug 1476775 - Part 2: Change the profiler usage in devtools after API change r=julienw,gregtatum
Depends on D6267

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

--HG--
extra : moz-landing-system : lando
2018-11-23 16:10:08 +00:00
yulia 4a8f74eb3e Bug 1473513 - create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor; r=ochameau
Summary:
create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor;

Depends on D6468

Reviewers: ochameau

Reviewed By: ochameau

Bug #: 1473513

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

--HG--
rename : devtools/server/actors/common.js => devtools/shared/protocol/lazy-pool.js
extra : rebase_source : 09a1c8eac3cbb5856a5e3e61a1c0540efe32e5bd
2018-09-26 10:03:33 +02: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
Michael Ratcliffe f99d1fce0e Bug 1435429 - Android 'mach mochitest' fails: 'A cross-directory support file path noted in a test manifest does not appear in any other manifest.' r=bc,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D4214

--HG--
extra : moz-landing-system : lando
2018-08-28 20:29:58 +00:00
yulia e259742bdf Bug 1483173 - introduce screenshot actor; r=ochameau
This patch introduces a screenshot actor, which allows the screenshot functionality to be
shared across tools, and also implements it for the toolbox itself

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

--HG--
rename : devtools/server/actors/webconsole/screenshot.js => devtools/shared/screenshot/capture.js
rename : devtools/shared/webconsole/screenshot-helper.js => devtools/shared/screenshot/save.js
extra : moz-landing-system : lando
2018-08-27 15:14:10 +00:00
arthur.iakab 457fa2b8ab Backed out 7 changesets (bug 1473513) for failing devtools e.g. leakcheck | default process: 1618727 bytes leaked
Backed out changeset deb8812556ef (bug 1473513)
Backed out changeset 5bf38cfa04f9 (bug 1473513)
Backed out changeset 6e157bea362a (bug 1473513)
Backed out changeset 12eb1139a802 (bug 1473513)
Backed out changeset ce86ea60a31c (bug 1473513)
Backed out changeset 7acc52a7f81f (bug 1473513)
Backed out changeset 4e1e283b347e (bug 1473513)

--HG--
extra : rebase_source : a79787b05e0cf6c837e08c9541d559e4509b0deb
2018-08-22 18:23:46 +03:00
yulia e69880da61 Bug 1473513 - create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor; r=ochameau
MozReview-Commit-ID: LRuhNzBLrZh

--HG--
rename : devtools/server/actors/common.js => devtools/shared/protocol/lazy-pool.js
extra : rebase_source : c47f8dd558a308905637bee2e8681f51db448487
2018-07-11 18:34:22 +02:00
Ciure Andrei a52997851e Backed out changeset 4f7d58a640b8 (bug 1483173) for browser_jsterm_screenshot_command_clipboard.js failures CLOSED TREE
--HG--
rename : devtools/shared/screenshot/capture.js => devtools/server/actors/webconsole/screenshot.js
2018-08-21 22:03:10 +03:00
yulia 9cbf625f78 Bug 1483173 - introduce screenshot actor; r=ochameau
This patch introduces a screenshot actor, which allows the screenshot functionality to be
shared across tools, and also implements it for the toolbox itself

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

--HG--
rename : devtools/server/actors/webconsole/screenshot.js => devtools/shared/screenshot/capture.js
extra : moz-landing-system : lando
2018-08-21 13:10:52 +00:00
Hiroyuki Ikezoe 49a6bd373e Bug 1469054 - Extract adb binary and related files into local profile directory from the extension. r=jdescottes
The new devtools-adb-extension should have adb.json on the top of the extension
directory, and devtools fetches the adb.json and parses it then copies the blobs
into local profile directory.

NOTE: Though we are going to use the same adb.json for all platforms, we will
pack only the corresponding blobs for each platform.  E.g. the extension for
Linux64 will have only linux64/adb.

The adb.json should look like this;

  {
    "Linux": {
      "x86": [
        "linux/adb"
      ],
      "x86_64": [
        "linux64/adb"
      ]
    },
    "Darwin": {
      "x86_64": [
        "mac64/adb"
      ]
    },
    "WINNT": {
      "x86": [
        "win32/adb.exe",
        "win32/AdbWinApi.dll",
        "win32/AdbWinUsbApi.dll"
      ],
      "x86_64": [
        "win32/adb.exe",
        "win32/AdbWinApi.dll",
        "win32/AdbWinUsbApi.dll"
      ]
    }
  }

unpackFile() here is mostly the same as in binary-manager.js in the adbhelper
addon.

MozReview-Commit-ID: 7aprfaaeTAT

--HG--
extra : rebase_source : 64c55066207a21782c0cbd0ca2294baf1ab61d40
2018-08-09 14:27:55 +09:00
Sebastian Hengst 82bbb42c90 Bug 1469872 - update bugzilla products and components in moz.build files: devtools. r=nalexander
MozReview-Commit-ID: 6bs0jkTP6rP

--HG--
extra : rebase_source : 4e554f8e710aea1fb372a0f21d7539cf568baa17
2018-06-20 21:34:40 +03:00
yulia 9da92b564a Bug 1382580 - Delete old event emitter; r=nchevobbe
MozReview-Commit-ID: 1g3ax7KP2vf

--HG--
extra : rebase_source : fbcdf4b6ea88c43c40447460238b5fb11f886cd8
2018-05-03 13:01:31 +02:00
Coroiu Cristina 586aed9d72 Backed out 4 changesets (bug 1448077) for xpcshell failures at toolkit/components/osfile/tests/xpcshell/test_creationDate.js on a CLOSED TREE
Backed out changeset 456166433c71 (bug 1448077)
Backed out changeset a826e8871e9f (bug 1448077)
Backed out changeset 42b4ccfcb9c4 (bug 1448077)
Backed out changeset c61caf7df6c7 (bug 1448077)

--HG--
rename : devtools/client/preferences/devtools-client.js => devtools/client/preferences/devtools.js
rename : devtools/client/webide/preferences/webide.js => devtools/client/webide/webide-prefs.js
rename : devtools/startup/preferences/devtools-startup.js => devtools/startup/devtools-startup-prefs.js
2018-04-09 18:58:40 +03:00
Julian Descottes f532155f8c Bug 1448077 - move DevTools prefs from libpref/init/all.js to devtools/shared;r=jryans
See RFC https://github.com/devtools-html/rfcs/issues/43

MozReview-Commit-ID: 8YMWCFsJM7A

--HG--
extra : rebase_source : ecfaa71a305fd8031ff49021465001cce943fa90
2018-04-06 12:22:53 +02:00
Alexandre Poirot 3522ce42d1 Bug 1423517 - Helps tracking JS allocations when running DevTools tests. r=jdescottes
MozReview-Commit-ID: 7PWgsUyR54Q

--HG--
extra : rebase_source : d620f8b704e9da6e8ee7326715a21addeb08bd06
2017-12-06 01:36:51 -08:00
Julian Descottes 28cdc89976 Bug 1171482 - extract throttle to dedicated util;r=bgrins
MozReview-Commit-ID: L0CVtw2w03a

--HG--
extra : rebase_source : d5633baf56d6afefbb2a0d7cd631a8c7cb5b898b
2017-10-18 13:05:32 +02:00
J. Ryan Stinnett efbf4624b2 Bug 1305777 - Clean up touch simulator after old RDM removal. r=ochameau
Only `simulator-core` is used by new RDM via the Emulation actor, so I've moved
this server side and renamed it to `touch-simulator`.

MozReview-Commit-ID: 5YgpYNDwBvw

--HG--
rename : devtools/shared/touch/moz.build => devtools/server/actors/emulation/moz.build
rename : devtools/shared/touch/simulator-core.js => devtools/server/actors/emulation/touch-simulator.js
extra : rebase_source : d38f3fa09c8e187440be716e993d42c88a10da2a
2017-09-27 16:53:23 -05:00
Sebastian Hengst 87301165a8 Backed out changeset 0169ee5c78fb (bug 1305777)
--HG--
rename : devtools/server/actors/emulation/moz.build => devtools/shared/touch/moz.build
rename : devtools/server/actors/emulation/touch-simulator.js => devtools/shared/touch/simulator-core.js
2017-09-29 10:43:24 +02:00
J. Ryan Stinnett ac9fd81122 Bug 1305777 - Clean up touch simulator after old RDM removal. r=ochameau
Only `simulator-core` is used by new RDM via the Emulation actor, so I've moved
this server side and renamed it to `touch-simulator`.

MozReview-Commit-ID: 5YgpYNDwBvw

--HG--
rename : devtools/shared/touch/moz.build => devtools/server/actors/emulation/moz.build
rename : devtools/shared/touch/simulator-core.js => devtools/server/actors/emulation/touch-simulator.js
extra : rebase_source : 1925070349e322aeff8673effe49079ea8c57530
2017-09-27 16:53:23 -05:00
Alexandre Poirot 3fd18d75b4 Bug 1386535 - Remove all DevTools shims used to support legacy add-ons. r=jryans
MozReview-Commit-ID: GemkTPQHl0L

--HG--
extra : rebase_source : 7c66a883230a2de9cbbd6a66fee1c10e69a43f04
2017-09-26 10:56:53 +02:00
Alexandre Poirot 67e0287de3 Bug 1392602 - Copy SDK Loader to devtools. r=jdescottes
MozReview-Commit-ID: 6INu38Wqvt

--HG--
extra : rebase_source : b140f8932bf141abae29f42a13dc4eef58a84d6f
2017-08-24 15:17:33 +02:00
ZER0 7dca53648e Bug 1381542 - refactored EventEmitter with old SDK event/core capabilities; r=ochameau
`EventEmitter` now can be used in the same way `sdk/event/core`, it also
integrates some of the SDK capabilities.
In addition the `emit` method is now unified in functionality, and is more
consistent with the nodejs counterpart (the listener doesn't receive the event
type anymore as first argument).

MozReview-Commit-ID: DNxnjwmcC4W
2017-08-11 22:21:28 +02:00
ZER0 ba9681c84a Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8


--HG--
rename : devtools/shared/event-emitter.js => devtools/shared/old-event-emitter.js
2017-08-11 03:47:30 +02:00
Wes Kocher db97e61fc7 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc

--HG--
rename : devtools/shared/old-event-emitter.js => devtools/shared/event-emitter.js
2017-08-10 18:23:14 -07:00
ZER0 93e1efc17d Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8


--HG--
rename : devtools/shared/event-emitter.js => devtools/shared/old-event-emitter.js
2017-08-11 02:43:47 +02:00
Julian Descottes dc05133f8b Bug 1361333 - move sdk/util/indexed-db to devtools;r=ochameau
MozReview-Commit-ID: Lt4V6kmQACq

--HG--
extra : rebase_source : 80bdaa517bdfa6863f963c7ed8a5275ba7415c18
2017-07-31 21:55:33 +02:00
sole 1914870141 Bug 1378824 - Stop using sdk/util/uuid in DevTools. r=jdescottes
MozReview-Commit-ID: KdIK4Vlrp4s

--HG--
extra : rebase_source : 6f83f9afbfda464979a9dbccffc23c5a22eacadb
2017-07-28 14:36:33 +01:00
Sebastian Hengst c2192ec889 Backed out changeset c0f919689e48 (bug 1378824) for failing eslint at devtools/client/inspector/webpack.config.js:166:3 with: Newline required at end of file but not found. r=backout on a CLOSED TREE 2017-07-27 18:34:21 +02:00
Sebastian Hengst 7ea64bd7aa merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-07-27 18:18:54 +02:00
Sebastian Hengst 205843f800 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
sole 8877005317 Bug 1378824 - Stop using sdk/util/uuid in DevTools. r=jdescottes
MozReview-Commit-ID: 18nh2NT5fEE

--HG--
extra : rebase_source : 090b83b70f158d291337abbf2dedb898ef941c84
2017-07-27 11:28:45 +01:00
Julian Descottes df95b72117 Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t

--HG--
extra : rebase_source : 05d41abb69a34f0f5b8241c26684ed53a88b6df5
2017-07-11 12:30:22 +02:00
sole b7601c1b53 Bug 1378817 - Stop using sdk/lang/functional in DevTools. r=jdescottes
MozReview-Commit-ID: CXMu5a0KNGT

--HG--
extra : rebase_source : acdb62a83a4f27c566ea6c9dabf0d0dce9b253e0
2017-07-20 17:57:28 +01:00
Jan Odvarko 5ca5637750 Bug 1378850 - Stop using sdk/core/heritage in DevTools webconsole hudservice; r=sole,zer0
MozReview-Commit-ID: GWH1hYt3pUr

--HG--
extra : rebase_source : 6a7bb4177977116b699bcd1775622fa81e47677c
2017-07-07 13:37:56 +02:00
Ryan VanderMeulen 83d18df973 Backed out changeset 68c5012ba344 (bug 1378850) for ESlint no-unused-vars failures on a CLOSED TREE. 2017-07-19 12:26:25 -04:00
Jan Odvarko 61b874e65a Bug 1378850 - Stop using sdk/core/heritage in DevTools webconsole hudservice; r=sole,zer0
MozReview-Commit-ID: GWH1hYt3pUr

--HG--
extra : rebase_source : 18c62b347a8c86c3067c280475cc05dfaff7560c
2017-07-07 13:37:56 +02:00
Yury Delendik 3c4f86517b Bug 1364535 - Inverse source mapping for WebAssembly maps. r=jlast
MozReview-Commit-ID: JqEkdLpIv2o

--HG--
extra : rebase_source : 381c8ff7b754299c468c0e790177aace74bab44f
2017-06-19 10:55:20 -05:00
Joel Maher 41529739bc Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans
MozReview-Commit-ID: Bd0ca7f6QE6
2017-01-13 08:40:35 -05:00
Greg Tatum 1e5a5a50e2 Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8

--HG--
rename : devtools/shared/css-color-db.js => devtools/shared/css/color-db.js
rename : devtools/shared/css-color.js => devtools/shared/css/color.js
rename : devtools/shared/css-lexer.js => devtools/shared/css/lexer.js
rename : devtools/shared/css-parsing-utils.js => devtools/shared/css/parsing-utils.js
rename : devtools/shared/css-properties-db.js => devtools/shared/css/properties-db.js
extra : rebase_source : 51d8d92db0ae91a7368b109aae9a509ba8012b3f
extra : histedit_source : ee3409615461cba0c656b32fee7f80d4b72a09d1
2016-09-14 10:00:27 -05:00
Sebastian Hengst d11146270a Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout
--HG--
rename : devtools/shared/css/color-db.js => devtools/shared/css-color-db.js
rename : devtools/shared/css/lexer.js => devtools/shared/css-lexer.js
rename : devtools/shared/css/properties-db.js => devtools/shared/css-properties-db.js
2016-09-13 17:43:44 +02:00
Greg Tatum da1990f19b Bug 1290988 - Collect devtools/shared/css-* files into a folder; r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8

--HG--
rename : devtools/shared/css-color-db.js => devtools/shared/css/color-db.js
rename : devtools/shared/css-lexer.js => devtools/shared/css/lexer.js
rename : devtools/shared/css-properties-db.js => devtools/shared/css/properties-db.js
extra : rebase_source : b73bbe7fcf8177a25b41ecdd6d6c760ed1472fb7
2016-08-29 11:02:34 -05:00
Julian Descottes 0119deafa0 Bug 1265887 - port PluralForm.jsm to plural-form.js without chrome APIs;r=tromey
MozReview-Commit-ID: GpGFgtdnzek

--HG--
extra : rebase_source : 0ce54b2809c83a9dad4cc27f7adb0e52f4ad0c75
extra : histedit_source : b8f28a3865f0f25379efbecda657f3354551d6ce
2016-08-29 12:17:42 +02:00
Julian Descottes fa1078eae2 Bug 1298012 - move l10n.js from devtools/client/shared to devtools/shared;r=bgrins
MozReview-Commit-ID: 1HX0g7AoJwt

--HG--
rename : devtools/client/shared/l10n.js => devtools/shared/l10n.js
rename : devtools/client/shared/vendor/NODE_PROPERTIES_UPGRADING => devtools/shared/node-properties/UPGRADING.md
rename : devtools/client/shared/vendor/node-properties.js => devtools/shared/node-properties/node-properties.js
rename : devtools/client/shared/vendor/SPRINTF_JS_UPGRADING => devtools/shared/sprintfjs/UPGRADING.md
rename : devtools/client/shared/vendor/sprintf.js => devtools/shared/sprintfjs/sprintf.js
extra : rebase_source : 9ace2a98a0a158db502087954775971dc962a168
extra : intermediate-source : 69f9cf04d5c89d498a589e03dee73217c4adec7d
extra : source : 6b4cada962aaa543279112b01ed800f3ca9315e4
2016-08-25 17:51:42 +02:00
Tom Tromey 39f7f2c862 Bug 1287910 - move devtools stack-related APIs to per-platform require; r=jryans
MozReview-Commit-ID: CgT1VGJnJqB

--HG--
extra : rebase_source : 14c52fe412675d9442d8d723cc3e8da55b169079
2016-08-05 13:17:17 -06:00
James Long 0b2677dddc Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
Tom Tromey dcacc7afac Bug 1287915 - support webpack "raw!" requires in devtools loader; r=jryans
MozReview-Commit-ID: 1H6ogaMrZPV

--HG--
extra : rebase_source : b5e35bb035a2bf9927d4ee6416e4b8b86c38006b
2016-07-28 12:11:42 -06:00
Tom Tromey ea95071431 Bug 1288147 - move event-parsers.js to devtools/server; r=bgrins
MozReview-Commit-ID: 9ijC0wAinMs

--HG--
rename : devtools/shared/event-parsers.js => devtools/server/event-parsers.js
extra : rebase_source : 6e865cad2f70ca99824ccab77e95c6f001386606
2016-07-26 09:32:21 -06:00