Nicolas Chevobbe
fee723d060
Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
...
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.
MozReview-Commit-ID: 2uWjTnAMAU0
2017-09-29 15:24:14 +02:00
Alexandre Poirot
0acfa676ff
Bug 1402779 - Force using privileged Promise in panels. r=tromey
...
MozReview-Commit-ID: IDAZeHlluH6
2017-09-24 22:45:16 +02:00
Tom Tromey
2c4ab81b95
Bug 1395262 - use plain console.error in devtools promise catches; r=bgrins
...
MozReview-Commit-ID: C8IhVPckQJ7
2017-08-30 12:05:41 -06:00
ZER0
d78f1c54ef
Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
...
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher
aa1caed330
Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
...
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0
c91b128704
Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
...
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Alexandre Poirot
3d76320218
Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
...
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.
PART2: Substitutes promise.defer usages with defer
$ sed -i 's/promise.defer/defer/gI' $(egrep -lir "promise.defer\(\)" devtools)
Reset modification to the following files as they are using deprecated syncable promises as we don't want to touch them.
http://searchfox.org/mozilla-central/search?q=deprecated-sync-thenables&case=true®exp=false&path=
$ git checkout devtools/client/debugger/test/mochitest/
$ git checkout devtools/shared/client/main.js
$ git checkout devtools/client/debugger/
$ git checkout devtools/server/main.js
MozReview-Commit-ID: DGN5ae68wtn
2017-08-08 15:24:04 +02:00
Alexandre Poirot
1f1a801a56
Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
...
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.
PART1: Import devtools/shared/defer
$ sed -i '/require("promise")/a const defer = require("devtools/shared/defer");' $(egrep -lir "promise.defer\(\)" $(egrep -rl "require\(\"promise\"\)" devtools))
But ignore debugger as it still uses sync promises and would better be handled manually
$ git checkout devtools/client/debugger/
MozReview-Commit-ID: 7FvhNxULB2x
2017-08-08 15:33:56 +02:00
Paolo Amadini
7afba17088
Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
...
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.
MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +01:00
Masatoshi Kimura
4f2e64ad3d
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Florian Quèze
91f7a2ef3a
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Florian Quèze
63de711857
Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
2017-01-17 11:50:25 +01:00
Joel Maher
0f0373cde1
Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans
...
MozReview-Commit-ID: Bd0ca7f6QE6
2017-01-13 08:40:35 -05:00
Tom Tromey
1976c3df85
Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
...
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher
20d9f9713d
Backed out 2 changesets (bug 1312041) for mass failures a=backout
...
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey
d1b2d82846
Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
...
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Mark Banner
233309fbe2
Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
...
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Gabriel Luong
876454c8a9
Bug 1307481 - Part 1: Move Tooltip.js and HTMLTooltip.js into widgets/tooltip/ r=jdescottes
2016-10-04 22:48:49 -04:00
Gabriel Luong
5715007275
Bug 1307193 - Move swatch based tooltip editors into their individual file from Tooltip.js r=jdescottes
2016-10-04 10:22:47 -04:00
Alexandre Poirot
c1cbbf4f49
Bug 1300822 - Fix tab load event wait in devtools test helpers. r=tromey
...
MozReview-Commit-ID: 8vSSaDloJND
2016-09-06 07:05:32 -07:00
Julian Descottes
3479010529
Bug 1298012 - update references to devtools/client/shared/l10n -> devtools/shared/l10n;r=bgrins
...
MozReview-Commit-ID: 6p5ADjlbsHu
2016-08-25 17:02:50 +02:00
Julian Descottes
91ae3dcc39
Bug 1294220 - part5: Remove the "chrome://" protocol when using LocalizationHelper;r=tromey
...
MozReview-Commit-ID: JzT8RyPhHwA
2016-08-20 21:59:34 +02:00
James Long
24266d6355
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
J. Ryan Stinnett
169c44d5f6
Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
...
A few miscellaneous linting issues also addressed near the lines involved.
MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
Nick Fitzgerald
b9dff3a9a7
Bug 1277707 - Decouple the fronts from the actors in the shader editor; r=ejpbruel
2016-06-03 10:45:10 -07:00
Jarda Snajdr
c7c65ad61e
Bug 1270111 - Part 1: TooltipToggle doesn't hide the tooltip when mouse is over, shows and hides after a short delay. r=jdescottes
2016-05-27 05:09:00 +02:00
Tom Tromey
86974842a1
Bug 1265869 - Add task.js and use in devtools. r=jryans
...
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett
530b903fcf
Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
...
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.
To generate this patch, I ran:
./mach eslint devtools --no-ignore --fix
After this, I reverted any changes to third party files that we really do want
to ignore.
MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Alexandre Poirot
e39e7b8130
Bug 1266828 - Convert ViewHelpers.jsm into a module. r=tromey
2016-05-16 03:13:30 -07:00
James Long
ece81a7a77
Bug 1265775 - replace Cu.reportError with console.error in devtools client code r=tromey
2016-05-06 11:29:10 -04:00
Tom Tromey
4ce916dafd
Bug 1265772 - don't use Services.console or Console.jsm in devtools; r=bgrins
...
MozReview-Commit-ID: Ax4EwhRVE0R
2016-04-19 14:05:35 -06:00
Ryan VanderMeulen
9026b4fefd
No bug - Re-enable some more tests that were disabled on e10s without a tracking bug.
2016-04-25 21:45:46 -04:00
Victor Porof
bfccfa9153
Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell
2016-03-22 10:17:21 +01:00
J. Ryan Stinnett
de2f55cad7
Bug 1253125 - Stop duplicating telemetry from inside tools. r=mratcliffe
...
MozReview-Commit-ID: IRidYhLsJpy
2016-03-03 16:16:39 -06:00
Alexandre Poirot
4db6ed1c94
Bug 1245875 - Add missing createCanvas function in webgl-utils to fix mochitest-dt5 failures. r=me
2016-03-03 07:55:36 -08:00
Alexandre Poirot
22634695f4
Bug 1245875 - Factor out webgl helpers out of tilt. r=vporof
2016-03-03 02:27:22 -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
Brian Grinstead
03b245db06
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
Alexandre Poirot
c278a0c6db
Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans
2016-02-11 04:29:47 -08:00
Gijs Kruitbosch
7c40709723
Bug 1228032 - restore chrome://global/skin/ where chrome://browser/skin/ was removed, r=jryans
2015-11-25 22:22:19 +00:00
J. Ryan Stinnett
2f4c1fa22c
Bug 1226570 - Remove chrome://browser/skin/ from DevTools. r=bgrins
2015-11-23 18:10:11 -06:00
Jonathan Griffin
8c3b2615d4
Bug 1221499 - Disable tests that fail on e10s windows, r=jmaher
2015-11-05 07:36:09 -08:00
J. Ryan Stinnett
1aca2c542b
Bug 1182722 - Move DevTools l10n files. r=ochameau,glandium,Pike,bgrins
...
Move DevTools l10n files under /devtools/client and /devtools/shared.
A script is attached to the bug for l10n repos to migrate their strings.
2015-11-04 15:35:53 -06:00
J. Ryan Stinnett
4e51063c4a
Bug 1207976 - Remove /themes from DevTools URLs. r=ochameau
2015-11-04 12:04:20 -06:00
J. Ryan Stinnett
687866dde2
Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau
2015-10-21 12:48:53 -05:00
Alexandre Poirot
f1439bdbe8
Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
2015-10-15 03:45:22 -07:00
Carsten "Tomcat" Book
036e6d2fa3
Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902 )
Backed out changeset d70c7fe532c6 (bug 1202902 )
2015-10-07 14:03:21 +02:00
Sebastian Hengst
190bccea7d
Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE
2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book
12369728f5
Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902 )
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7
Bug 1202902 - Scripted fix the world.
2015-10-06 14:00:31 -07:00