Commit Graph
51 Commits
Author SHA1 Message Date
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
Tim Nguyen 21a3e165e0 Bug 1331163 - Fix devtools and eslint bustage in a CLOSED TREE. r=bustage
MozReview-Commit-ID: FiC7VUbH39C
2017-10-02 12:48:07 +01:00
Tim Nguyen 5812a67bac Bug 1331163 - Followup: fix formatting of closing brace. r=me
MozReview-Commit-ID: 1rTgfVR5GrR
2017-10-02 12:06:02 +01:00
Towkir Ahmed c59d4dff62 Bug 1331163 - Refresh button in DOM panel is now an icon; r=ntim
MozReview-Commit-ID: LLQtaTZ7oex
2017-10-02 12:03:40 +01:00
Dan Epstein c958bdf812 Bug 1402394 CamelCase all React component files in \devtools\client\shared\components\. r=pbro
MozReview-Commit-ID: HH4mbqB6RTK
2017-09-27 01:12:13 -04:00
Jan Odvarko 1f13c59eea Bug 1397169 - Properly implement openLink; r=rickychien
MozReview-Commit-ID: HdelvmPW1Zm
2017-09-06 13:57:26 +02: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 946ab8adea 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.

PART3: Manual fixes
- Go manually fix: http://searchfox.org/mozilla-central/source/devtools/client/dom/dom-panel.js
  which has duplicated import of defer symbol (it already used to import it)
- execute eslint, see all the places where we import of 'promise' is no longer use it
  (there may be leftovers not covered by eslint that will be covered in bug 1387128)
  devtools/server/tests/mochitest/inspector-helpers.js needs to keep importing promise as it is a shared test script.
- fix devtools/client/performance/panel.js and devtools/client/webconsole/console-output.js
  which use loader.lazyRequireGetter(this, "promise") and miss the defer import
- fix devtools/server/worker.js to use 'worker.require(devtools/shared/defer")'

MozReview-Commit-ID: HIOB5Et87Wc
2017-08-08 15:19:56 +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&regexp=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
nchevobbe d8840a78b0 Bug 1358103 - Remove createFactory call on Reps; r=jdescottes
The new Reps bundle from Bug 1357341 is all about functions now,
so we should remove all unnecessary `createFactory` calls
we used to do when creating Reps.

MozReview-Commit-ID: 4KvCThhwphv
2017-04-21 08:50:24 +02:00
nchevobbe e6b2727561 Bug 1355454 - Move "createFactories" function from Reps to a shared util. r=jdescottes
MozReview-Commit-ID: LmGBg2HSzOC
2017-04-12 08:33:37 +02: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
Julian Descottes ffa358a329 Bug 1340806 - stop using load-reps wrapper;r=nchevobbe
MozReview-Commit-ID: GL9Sm6W2JCM
2017-02-18 22:43:22 +01:00
Ruturaj K. Vartak 1ce823f0e2 Bug 1314919 - Firebug layout problems. r=ntim.
- CSS Rules
- Background colors of tabs
- Background color of tab buttons
- borders of tabs / buttons
- Variable-izing backgrounds and colors
- netmonitor: cell header color, sorted cell header color
- widgets: cell header color, sorted cell header color
- Toolbar Buttons
- Fixing breadcrumbs in HTML inspector
- JSON View tabs

MozReview-Commit-ID: JqUG5zwvQ0a
2017-01-18 06:35:00 +01:00
Julian Descottes f79f7d5fef Bug 1325401 - Add a reps bundle, disabled by default;r=jlast
MozReview-Commit-ID: IJL8wevR0wo
2017-01-18 14:38:10 +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
Nicolas Chevobbe 3f9b359e8f Bug 1312178 - Make Reps modes constants; r=Honza
Edit tests and component creation accordingly.

MozReview-Commit-ID: Gsj6QwNTjL0
2016-11-20 19:53:16 +01:00
Jared Wein 2dfc7371c2 Bug 1316096 - Change eslint configuration to use string values for rules instead of integers, making it easier for others who are reading the rules to know if a rule is set to off, warn, or error. r=mossop
MozReview-Commit-ID: 2Xuj5nxuQdO
2016-11-08 15:14:19 -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
J. Ryan Stinnett ccaa99fa95 Bug 1311178 - Remove various duplicate DevTools files. r=ntim
MozReview-Commit-ID: ABtuFPC85OQ
2016-10-19 15:59:09 -05: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
Tim Nguyen a01942183d Bug 1309577 - Make DOM panel use shared searchbox component. r=Honza
MozReview-Commit-ID: 99L9oBeLW4s
2016-10-14 19:10:47 +01:00
Tim Nguyen e8c152625c Bug 1306840 - Fix RTL in DOM panel. r=Honza
MozReview-Commit-ID: Djaa4douEBY
2016-10-11 09:54:29 +01:00
Jan Odvarko c45c3f2ae0 Bug 1279454 - Fix position of vertical scrollbar in devtools DOM; r=ntim
MozReview-Commit-ID: 7OfN5ZoWhy8
2016-10-07 15:06:14 +02:00
Brian Grinstead ef7e7f9d9a Bug 1304804 - Don't set a default cropLimit for reps;r=Honza
MozReview-Commit-ID: HVHqkomVrLW
2016-09-26 11:49:54 -07:00
Alexandre Poirot e689948770 Bug 1303288 - Pass the window object instead of current scope to prevent wrapper issues when using the devtools reload addon. r=jlongster
If we happen to pass the current scope (`this`), the browser-loader codebase fails
when passing it as sandboxPrototype. It only works when passing an xray wrapper.
The document scope happen to not be an xray when using the addon, whereas `window`
always is no matter if we are using the addon or not.

MozReview-Commit-ID: GjYHkaCGBDd
2016-09-21 08:07:02 -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
Michael Ratcliffe 5838b922b2 Bug 1286186 - Reps: Test that array indexes are sorted as numbers; r=honza 2016-07-21 14:39:58 +01:00
Michael Ratcliffe ac9172c827 Bug 1281047 - Properly sort array indexes; r=honza
MozReview-Commit-ID: BWQMkPiMkM7
2016-07-12 09:33:07 +01:00
Ruturaj 789137ad80 Bug 1253195 - Separate filter and search boxes visually, and make the text styling consistent. r=ntim
MozReview-Commit-ID: 1KZQA9X44Qi
2016-07-08 23:03:00 +02:00
Tom Tromey e481a1fe5f Bug 1273941 - remove last use of sdk/core/promise from devtools; r=jryans
MozReview-Commit-ID: 23EFkNlv6dN
2016-06-09 09:16:46 -06: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
Benoit Chabod f5f02a8d5b Bug 1258353 - Refactor devtools react components. r=janx 2016-05-17 11:55:49 -07:00
J. Ryan Stinnett 7bdf3cf623 Bug 1270619 - Add missing imports instead of using globals. r=pbro
MozReview-Commit-ID: 28Xn7N9FSZr
2016-05-09 13:35:09 -05:00
J. Ryan Stinnett 8aa03a5d4d Bug 1263258 - Require space before paren for anonymous functions. r=pbro
MozReview-Commit-ID: 2F0j45Vxn2I
2016-04-27 09:06:15 -05:00
Jan Odvarko e50a511405 Bug 1267293 - Turn the DOM panel off by default;r=bgrins
MozReview-Commit-ID: DOYF2vTUEqq
2016-04-25 18:04:47 +02:00
Jan Odvarko 07d5aaa05e Bug 1201475 - Refresh DOM panel only if selected; r=linclark
MozReview-Commit-ID: 3sr85QHQdjS
2016-04-18 17:12:10 +02:00
Jan Odvarko 5b2b84a397 Bug 1201475 - Tests for DOM panel; r=linclark
MozReview-Commit-ID: AmFZNR3Tp7q
2016-04-12 19:56:52 +02:00
Jan Odvarko 116110dc51 Bug 1201475 - Implement DOM Panel; r=linclark, bgrins, helenvholmes
MozReview-Commit-ID: IMYSW7ObOSh
2016-02-09 23:23:29 +01:00
Carsten "Tomcat" Book c927a21d12 Backed out changeset f80643f3c767 (bug 1201475) for test failures in dt1 tests on a CLOSED TREE 2016-04-21 14:26:57 +02:00
Carsten "Tomcat" Book 292f2fead5 Backed out changeset b795087334cb (bug 1201475) 2016-04-21 14:24:12 +02:00
Carsten "Tomcat" Book f39ecd7400 Backed out changeset 50e5abd1f981 (bug 1201475) 2016-04-21 14:24:10 +02:00
Jan Odvarko 23783b8ed1 Bug 1201475 - Refresh DOM panel only if selected; r=linclark
MozReview-Commit-ID: EKvF6WVMkrq
2016-04-18 17:12:10 +02:00
Jan Odvarko 4fa4fead45 Bug 1201475 - Tests for DOM panel; r=linclark
MozReview-Commit-ID: FcYby6OWFAM
2016-04-12 19:56:52 +02:00