-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explode 2016.2 version of add-on from AMO
* Compatibility changes necessary since Dorando's last release in 2011. * Add icons. * Move files from the "src" subdirectory into the top-level directory. * Get rid of README and merge its contents into README.md, stating explicitly there that the current maintainers of the add-on are not asserting any new copyright over and above Dorando's. * The current version of the add-on no longer packages any files in a ZIP file within the XPI (good!). * Remove the pre-compiled, committed version of the XPI, since we're commiting all the files in it as top-level files now. * Update README.md: * This add-on is not compatible with Firefox 57 and newer. * Remind people to uninstall Dorando's version of keyconfig before installing this one. * Add instructions for running the add-on from source code.
- Loading branch information
Showing
47 changed files
with
195 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
keyconfig.xpi | ||
keyconfig.zip | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
keyconfig.xpi: keyconfig.zip | ||
keyconfig.xpi: | ||
rm -f $@.tmp | ||
zip -r $@.tmp install.rdf chrome.manifest defaults components $< | ||
zip -r $@.tmp install.rdf chrome.manifest README.md icon.png icon64.png defaults components content locale skin | ||
mv -f $@.tmp $@ | ||
|
||
keyconfig.zip: | ||
rm -f $@.tmp | ||
cd src; zip -r ../$@.tmp * | ||
mv -f $@.tmp $@ | ||
|
||
clean: ; -rm -rf keyconfig.xpi keyconfig.zip | ||
clean: ; -rm -rf keyconfig.xpi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,44 @@ | ||
# dorando-keyconfig | ||
|
||
A modified version of Dorando's tool to rebind keys in Mozilla apps. It is designed to be a drop-in replacement, and will keep your old settings. (See official version webpage for upgrade instructions.) | ||
A modified version of [Dorando](http://mozilla.dorando.at/readme.html)'s tool to rebind keys in Mozilla apps. It is designed to be a drop-in replacement, and will keep your old settings. (See official version webpage for upgrade instructions.) | ||
|
||
[Official version available here](https://addons.mozilla.org/en-US/firefox/addon/dorando-keyconfig/). | ||
The only changes here are non-functional changes for compatibility with newer app versions, since Dorando is no longer maintaining the add-on. | ||
|
||
To install the development version, open the compiled folder and follow the instructions. Note that, if the version numbers are the same as the official version, then it is the same addon. | ||
Note that this add-on is _not_ compatible with Firefox 57 and newer, since it uses old add-on APIs that are no longer supported as of Firefox 57. However, it remains compatible with current versions of Thunderbird and SeaMonkey. | ||
|
||
You can install this add-on [from addons.mozilla.org](https://addons.mozilla.org/firefox/addon/dorando-keyconfig/). **If you are replacing Dorando's version of the add-on from 2011 or earlier with this version, make sure to uninstall Dorando's version before installing this one.** | ||
|
||
## Working with the source code | ||
|
||
To deploy the source code directly into Firefox, Thunderbird, or Mozilla, so that you can make changes here and then test them in the application without having to create and install a new XPI file: | ||
|
||
1. Install the add-on normally from addons.mozilla.org. | ||
|
||
2. Shut down the app. | ||
|
||
3. Locate the "extensions" subdirectory of your app profile directory. | ||
|
||
4. Locate the file "[email protected]" in that directory and delete it. | ||
|
||
5. Create a new text file called "[email protected]" (note: no ".xpi" extension). In that file, put the full path to the directory this source code is in. | ||
|
||
6. Locate the "prefs.js" file in your app profile directory. | ||
|
||
7. Put this in it: | ||
|
||
user_pref("extensions.startupScanScopes", 5); | ||
|
||
8. Restart the app from the command line with the argument `-purgecaches`. | ||
|
||
9. Confirm that the add-on shows up in the add-ons listing. | ||
|
||
Whenever you start the app with `-purgecaches` from this point forward, it will reload the current version of the add-on code from your source directory. It may also pick up your changes even when you don't specify `-purgecaches`, but the only way to be _certain_ that it will notice your changes is to specify that argument. | ||
|
||
## Copyright | ||
|
||
Dorando's original copyright is as follows: | ||
|
||
>Copyright (c) 2004-2011 Dorando. | ||
>Permission is granted to copy, distribute, and/or modify any part of this package. | ||
The maintainers of this updated version of the add-on do not claim any additional copyright. In other words, the copyright above still applies. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
src/content/edit.xul → content/edit.xul
100644 → 100755
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
src/content/menumanipulator.js → content/menumanipulator.js
100644 → 100755
File renamed without changes.
0
src/content/overlay.xul → content/overlay.xul
100644 → 100755
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
pref("keyconfig.devmode", false); | ||
pref("keyconfig.nicenames.reverse_order", false); | ||
pref("keyconfig.profile", "main"); | ||
pref("keyconfig.warnOnDuplicate", true); | ||
pref("keyconfig.allowAltCodes", true); | ||
pref("keyconfig.global.20110522", "Module('Detect');"); | ||
pref("keyconfig.UIHook", ""); | ||
pref("keyconfig.hideDisabled", false); | ||
pref("extensions.dorandoKeyConfig.devmode", false); | ||
pref("extensions.dorandoKeyConfig.nicenames.reverse_order", false); | ||
pref("extensions.dorandoKeyConfig.profile", "main"); | ||
pref("extensions.dorandoKeyConfig.warnOnDuplicate", true); | ||
pref("extensions.dorandoKeyConfig.allowAltCodes", true); | ||
pref("extensions.dorandoKeyConfig.hideDisabled", false); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,35 +4,59 @@ | |
xmlns="http://www.mozilla.org/2004/em-rdf#"> | ||
|
||
<rdf:Description rdf:about="urn:mozilla:install-manifest"> | ||
<id>keyconfig@dorando</id> | ||
<name>keyconfig</name> | ||
<version>20110522</version> | ||
<id>keyconfig@mozilla.dorando.at</id> | ||
<name>Dorando keyconfig</name> | ||
<version>2016.2</version> | ||
<creator>Dorando</creator> | ||
<contributor>Hadar Hagai</contributor> | ||
<contributor>MatrixIsAllOver of eXtenZilla.it (it-IT)</contributor> | ||
<contributor>Mori (fr-FR)</contributor> | ||
<contributor>SHIMODA Hiroshi (ja-JP)</contributor> | ||
<contributor>SlovakSoft (sk-SK)</contributor> | ||
<contributor>Tomáš Kopečný (cs-CZ)</contributor> | ||
<contributor>ReinekeFux - erweiterungen.de (de-DE)</contributor> | ||
<contributor>stoneflash (ru-RU)</contributor> | ||
<contributor>ZuGro (es-AR)</contributor> | ||
<contributor>rexx26 (zh-TW)</contributor> | ||
<contributor>kyo (ko-KR)</contributor> | ||
<contributor>Cye3s (zh-CN)</contributor> | ||
<contributor>Jørgen Rasmussen (da-DK)</contributor> | ||
<contributor>Jack Black (fr-FR)</contributor> | ||
<contributor>trlkly</contributor> | ||
<translator>MatrixIsAllOver of eXtenZilla.it (it-IT)</translator> | ||
<translator>Mori (fr-FR)</translator> | ||
<translator>SHIMODA Hiroshi (ja-JP)</translator> | ||
<translator>SlovakSoft (sk-SK)</translator> | ||
<translator>Tomáš Kopečný (cs-CZ)</translator> | ||
<translator>ReinekeFux - erweiterungen.de (de-DE)</translator> | ||
<translator>stoneflash (ru-RU)</translator> | ||
<translator>ZuGro (es-AR)</translator> | ||
<translator>rexx26 (zh-TW)</translator> | ||
<translator>kyo (ko-KR)</translator> | ||
<translator>Cye3s (zh-CN)</translator> | ||
<translator>Jørgen Rasmussen (da-DK)</translator> | ||
<translator>Jack Black (fr-FR)</translator> | ||
<homepageURL>http://mozilla.dorando.at/</homepageURL> | ||
<description>Rebind your keys.</description> | ||
<optionsURL>chrome://keyconfig/content/</optionsURL> | ||
<updateURL>http://mozilla.dorando.at/keyconfig/update.rdf</updateURL> | ||
<updateKey>MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDK6mnSoPBfEHUfK+8UiWIXmfS5mP+ZBV+w0s0i40FCG5G609oo7aOEgkFSNiGCmzCibLF1 | ||
rS0mHY6GGKAEJmQwJ8WA/QNaHsS4mTAeINPMeSlm+Pw3hN61/9IaU+RjuukKPedICrY09tm8zQEJu1VtTx4KMg1GWSLaAQxIQzxJQIDAQAB</updateKey> | ||
<type>2</type> <!-- type=extension --> | ||
<multiprocessCompatible>true</multiprocessCompatible> | ||
|
||
<targetApplication><rdf:Description> | ||
<id>[email protected]</id> | ||
<minVersion>1.9a8</minVersion> | ||
<maxVersion>2.0.1</maxVersion> | ||
<id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id> <!--Firefox--> | ||
<minVersion>4.0</minVersion> | ||
<maxVersion>43.*</maxVersion> | ||
</rdf:Description></targetApplication> | ||
|
||
<targetApplication><rdf:Description> | ||
<id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</id> <!--Thunderbird--> | ||
<minVersion>5.0b1</minVersion> | ||
<maxVersion>37.*</maxVersion> | ||
</rdf:Description></targetApplication> | ||
|
||
<targetApplication><rdf:Description> | ||
<id>{aa3c5121-dab2-40e2-81ca-7ea25febc110}</id> <!--Firefox (Android)--> | ||
<minVersion>10.0a1</minVersion> | ||
<maxVersion>37.*</maxVersion> | ||
</rdf:Description></targetApplication> | ||
|
||
<targetApplication><rdf:Description> | ||
<id>{a23983c0-fd0e-11dc-95ff-0800200c9a66}</id> <!--Mobile--> | ||
<minVersion>4.0</minVersion> | ||
<maxVersion>37.*</maxVersion> | ||
</rdf:Description></targetApplication> | ||
|
||
<targetApplication><rdf:Description> | ||
<id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</id> <!--SeaMonkey--> | ||
<minVersion>2.1</minVersion> | ||
<maxVersion>2.33.*</maxVersion> | ||
</rdf:Description></targetApplication> | ||
|
||
</rdf:Description> | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.