Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upadd reload keyboard shortcut #11735
add reload keyboard shortcut #11735
Conversation
highfive
commented
Jun 13, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Jun 13, 2016
|
This fails tidy and is missing the preferences that @paulrouget specified in the issue. |
|
From travis:
|
highfive
commented
Jun 13, 2016
|
New code was committed to pull request. |
|
@KiChjang Sorry for that I missed this tidy |
|
The preference has been renamed and guarded the key shortcut. |
|
Review status: 0 of 7 files reviewed at latest revision, 1 unresolved discussion. components/script/script_thread.rs, line 2053 [r1] (raw file):
nit: could we move these Comments from Reviewable |
|
@ConnorGBrewster I used to write |
highfive
commented
Jun 13, 2016
|
New code was committed to pull request. |
|
@jdm -reply |
|
My apologies for the delay - I was at an event all last week. I'll review this today. |
| @@ -822,7 +822,7 @@ impl WindowMethods for Window { | |||
| } | |||
|
|
|||
| (NONE, Key::Escape) => { | |||
| if let Some(true) = prefs::get_pref("shell.quit-on-escape.enabled").as_boolean() { | |||
| if let Some(true) = prefs::get_pref("shell.builtin-key-shortcuts.enable").as_boolean() { | |||
This comment has been minimized.
This comment has been minimized.
|
This looks fine; just a few small changes required to merge. Thanks for doing this work! Reviewed 6 of 6 files at r1, 3 of 3 files at r2, 1 of 1 files at r3. components/constellation/constellation.rs, line 1399 [r1] (raw file):
This can be an components/script/script_thread.rs, line 2055 [r1] (raw file):
Let's use components/script_traits/lib.rs, line 192 [r1] (raw file):
Comments from Reviewable |
|
@jdm -reply |
|
You also need to change
|
rename the preference to shell.builtin-key-shortcuts.enabled
|
@mrmiywj Just so you know, when you push new changes to a branch there's a github notification and emails that are sent out. You don't need to explicitly do the "-reply" thing each time. |
|
@bors-servo: r+ Reviewed 4 of 4 files at r4, 8 of 8 files at r5. Comments from Reviewable |
|
|
add reload keyboard shortcut <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11686 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because this cannot be automated tested. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11735) <!-- Reviewable:end -->
|
|
Fix preference name <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because not testable <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Follow up of #11735. `.enabled` is missing in the python scripts. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11849) <!-- Reviewable:end -->
…date); r=jdm <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because not testable <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Follow up of servo/servo#11735. `.enabled` is missing in the python scripts. Source-Repo: https://github.com/servo/servo Source-Revision: 86d65b60647c185e656e3ae607a3762e667974ad UltraBlame original commit: 57b84af25bae5af4b5f407f74017319d5695d829
…date); r=jdm <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because not testable <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Follow up of servo/servo#11735. `.enabled` is missing in the python scripts. Source-Repo: https://github.com/servo/servo Source-Revision: 86d65b60647c185e656e3ae607a3762e667974ad UltraBlame original commit: 57b84af25bae5af4b5f407f74017319d5695d829
…date); r=jdm <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because not testable <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Follow up of servo/servo#11735. `.enabled` is missing in the python scripts. Source-Repo: https://github.com/servo/servo Source-Revision: 86d65b60647c185e656e3ae607a3762e667974ad UltraBlame original commit: 57b84af25bae5af4b5f407f74017319d5695d829
mrmiywj commentedJun 13, 2016
•
edited by larsbergstrom
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is