Compare commits
No commits in common. "524bdd049af3b499eeb3c848741a2f4049d0123d" and "68766b764383221875f20bd0a66ae658425a37a7" have entirely different histories.
524bdd049a
...
68766b7643
@ -1867,7 +1867,7 @@
|
||||
|
||||
* Release Cthulhu v2.24.0. Somehow I forgot to mark this.
|
||||
The svn version is 4292 and can be found at the tag
|
||||
of CTHULHU_24_0.
|
||||
of ORCA_24_0.
|
||||
|
||||
2008-09-20 Joanmarie Diggs <joanmarie.diggs@gmail.com>
|
||||
|
||||
@ -5747,7 +5747,7 @@
|
||||
* src/cthulhu/app_gui_prefs.py:
|
||||
src/cthulhu/cthulhu_gui_prefs.py:
|
||||
src/cthulhu/cthulhu_state.py:
|
||||
Fix breakage to CTHULHU_MODIFIER-Control-Space to bring up the
|
||||
Fix breakage to ORCA_MODIFIER-Control-Space to bring up the
|
||||
application specific Cthulhu preferences dialog.
|
||||
|
||||
2007-12-12 Willie Walker <william.walker@sun.com>
|
||||
@ -10456,7 +10456,7 @@
|
||||
Fix for bug #372273 - Add ability to configure app-specific
|
||||
settings via GUI.
|
||||
|
||||
Adjusted <CTHULHU MODIFIER>+Control+Space to now bring up
|
||||
Adjusted <ORCA MODIFIER>+Control+Space to now bring up
|
||||
the application specific preferences dialog. The previous
|
||||
usage (reload user settings) is now gone.
|
||||
|
||||
@ -12574,7 +12574,7 @@
|
||||
|
||||
2007-01-07 Willie Walker <william.walker@sun.com>
|
||||
|
||||
* svn+ssh://wwalker@svn.gnome.org/svn/cthulhu/tags/CTHULHU_2_17_5:
|
||||
* svn+ssh://wwalker@svn.gnome.org/svn/cthulhu/tags/ORCA_2_17_5:
|
||||
final prep for v2.17.5. Everything below this line is included
|
||||
in v2.17.5 - many many thanks to all involved.
|
||||
|
||||
@ -17730,7 +17730,7 @@
|
||||
|
||||
* po/POTFILES.in: remove Gecko.py.
|
||||
|
||||
* configure.in: get the CTHULHU_SETUP_GLADE_DIR working better.
|
||||
* configure.in: get the ORCA_SETUP_GLADE_DIR working better.
|
||||
|
||||
* src/cthulhu/mag.py: minor attempt to follow the caret when it
|
||||
moves.
|
||||
@ -19296,7 +19296,7 @@
|
||||
* src/cthulhu/{default.py, gnomespeechfactory.py, cthulhu-setup.in,
|
||||
cthulhu.py, settings.py, speech.py}, src/cthulhu/scripts/Gecko.py:
|
||||
migrate voice defaults to setting.py.
|
||||
NOTE: THIS REQUIRES YOU TO RERUN CTHULHU-SETUP.
|
||||
NOTE: THIS REQUIRES YOU TO RERUN ORCA-SETUP.
|
||||
|
||||
* src/cthulhu/*.py: use string constants to get settings (I got
|
||||
bit by a mispelling when using raw strings).
|
||||
@ -19335,7 +19335,7 @@
|
||||
src/cthulhu/scripts/{Gecko.py,metacity.py}: new speech structure
|
||||
done in collaboration with T.V. Raman of Google who donated
|
||||
code under the LGPL license. NOTE: THIS REQUIRES YOU TO
|
||||
RERUN CTHULHU-SETUP.
|
||||
RERUN ORCA-SETUP.
|
||||
|
||||
2005-11-14 Rich Burridge <rich.burridge@sun.com>
|
||||
|
||||
@ -19359,7 +19359,7 @@
|
||||
src/cthulhu/scripts/Gecko.py, src/cthulhu/scripts/gaim.py,
|
||||
src/cthulhu/scripts/gcalctool.py, src/cthulhu/scripts/metacity.py: First
|
||||
pass at new speech system based on conversations with T.V. Raman.
|
||||
NOTE: THIS REQUIRES YOU TO RERUN CTHULHU-SETUP. If you don't cthulhu
|
||||
NOTE: THIS REQUIRES YOU TO RERUN ORCA-SETUP. If you don't cthulhu
|
||||
will fail on startup.
|
||||
|
||||
2005-11-09 Mike Pedersen <michael.pedersen@sun.com>
|
||||
|
2
HACKING
2
HACKING
@ -1,6 +1,6 @@
|
||||
Welcome to Cthulhu
|
||||
|
||||
We are excited to have you here and welcome your contributions to the Cthulhu screen reader project! This project is a fork of Cthulhu, with a focus on creating an open and collaborative community where contributions are encouraged.
|
||||
We are excited to have you here and welcome your contributions to the Cthulhu screen reader project! This project is a fork of Orca, with a focus on creating an open and collaborative community where contributions are encouraged.
|
||||
|
||||
|
||||
How to Contribute
|
||||
|
@ -44,7 +44,7 @@ dist-hook:
|
||||
echo Creating ChangeLog && \
|
||||
( cd "$(top_srcdir)" && \
|
||||
echo '# Generated by Makefile. Do not edit.'; echo; \
|
||||
$(top_srcdir)/missing --run git log --pretty=format:"%ai %an <%ae>%n%n %s%n" --name-status CTHULHU_2_26_0.. ) > ChangeLog.tmp \
|
||||
$(top_srcdir)/missing --run git log --pretty=format:"%ai %an <%ae>%n%n %s%n" --name-status ORCA_2_26_0.. ) > ChangeLog.tmp \
|
||||
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|
||||
|| ( rm -f ChangeLog.tmp ; \
|
||||
echo Failed to generate ChangeLog >&2 ); \
|
||||
|
10
NEWS
10
NEWS
@ -11255,7 +11255,7 @@ Firefox:
|
||||
|
||||
* Fix for bug 445578 - Link preview information would be desirable for
|
||||
Firefox. This is obtained when performing a "Where Am I" operation
|
||||
(KP_Enter for desktop bindings, CTHULHU_MODIFIER+Return for laptop
|
||||
(KP_Enter for desktop bindings, ORCA_MODIFIER+Return for laptop
|
||||
bindings). Many thanks to new community member Scott Haeger for
|
||||
this functionality!
|
||||
|
||||
@ -11439,7 +11439,7 @@ General Cthulhu:
|
||||
of tool tips
|
||||
|
||||
* Fix for bug 372273 - Add ability to configure app-specific settings
|
||||
via GUI. NOTE: Adjusted CTHULHU_MODIFIER+Control+Space to now bring
|
||||
via GUI. NOTE: Adjusted ORCA_MODIFIER+Control+Space to now bring
|
||||
up the application-specific preferences dialog. The previous usage
|
||||
(reload user settings) is now gone.
|
||||
|
||||
@ -11476,7 +11476,7 @@ Firefox:
|
||||
stylesheet results in bad behavior
|
||||
|
||||
* Partial fix for bug 420540 - Firefox keyboard control wish list.
|
||||
CTHULHU_MODIFIER+Z will now toggle the structural navigation keys
|
||||
ORCA_MODIFIER+Z will now toggle the structural navigation keys
|
||||
on/off.
|
||||
|
||||
* Fix for bug 422924 - Add more support for accessing HTML tables in
|
||||
@ -11493,8 +11493,8 @@ Firefox:
|
||||
of verbiage. Therefore, these are all customizable settings.
|
||||
|
||||
* Fix for bug 423427 - Need to add form field structural navigation in
|
||||
Firefox. CTHULHU_MODIFIER+Tab should move you to the next form field
|
||||
and CTHULHU_MODIFIER+Shift+Tab should move you to the previous form
|
||||
Firefox. ORCA_MODIFIER+Tab should move you to the next form field
|
||||
and ORCA_MODIFIER+Shift+Tab should move you to the previous form
|
||||
field.
|
||||
|
||||
* Fix for bug 423435 - Cthulhu is too chatty when loading a page in
|
||||
|
22
README.md
22
README.md
@ -1,4 +1,4 @@
|
||||
# Cthulhu
|
||||
# Cthulhu v45.3
|
||||
|
||||
## Introduction
|
||||
|
||||
@ -11,12 +11,20 @@ technology service provider interface (AT-SPI), which is the primary
|
||||
assistive technology infrastructure for the Solaris and Linux
|
||||
operating environments. Applications and toolkits supporting the
|
||||
AT-SPI include the GNOME GTK+ toolkit, the Java platform's Swing
|
||||
toolkit, OpenOffice/LibreOffice, Gecko, WebKitGtk, and KDE Qt toolkit.
|
||||
toolkit, OpenOffice/LibreOffice, Gecko, and WebKitGtk. AT-SPI support
|
||||
for the KDE Qt toolkit is currently being pursued.
|
||||
|
||||
See also <http://wiki.gnome.org/Projects/Cthulhu> for detailed information
|
||||
on Cthulhu, including how to run Cthulhu, how to communicate with the Cthulhu user
|
||||
community, and where to log bugs and feature requests.
|
||||
|
||||
## Dependencies
|
||||
|
||||
Cthulhu has the following dependencies:
|
||||
Cthulhu v45.x is supported on GNOME 45.x only. We highly suggest you
|
||||
use the latest releases of GNOME because they contain accessibility
|
||||
infrastructure and application bug fixes that help Cthulhu work better.
|
||||
|
||||
Cthulhu also has the following dependencies:
|
||||
|
||||
* Python 3 - Python platform
|
||||
* pygobject-3.0 - Python bindings for the GObject library
|
||||
@ -31,10 +39,10 @@ Cthulhu has the following dependencies:
|
||||
* gstreamer-1.0 - GStreamer - Streaming media framework (optional)
|
||||
|
||||
You are strongly encouraged to also have the latest stable versions
|
||||
of AT-SPI2 and ATK.
|
||||
of AT-SPI2 and ATK for the GNOME 45.x release.
|
||||
|
||||
|
||||
## Braille
|
||||
## NOTE FOR BRLTTY USERS:
|
||||
|
||||
Cthulhu depends upon the Python bindings for BrlAPI available in BrlTTY v4.5
|
||||
or better. You can determine if the Python bindings for BrlAPI are
|
||||
@ -58,10 +66,10 @@ learn mode, press "Escape." Finally, the preferences dialog contains
|
||||
a "Key Bindings" tab that lists the keyboard binding for Cthulhu.
|
||||
|
||||
For more information, see the Cthulhu documentation which is available
|
||||
within Cthulhu.
|
||||
within Cthulhu as well as at: <https://help.gnome.org/users/cthulhu/stable/>
|
||||
|
||||
## Scripting Cthulhu
|
||||
|
||||
So, you want to write a script for Cthulhu? The best thing to do is
|
||||
start by looking at other scripts under the src/cthulhu/scripts/ hierarchy
|
||||
of the source tree. Cthulhu also has an excellent plugin system, more documentation and examples coming soon.
|
||||
of the source tree.
|
||||
|
@ -22,17 +22,17 @@ Make sure you are up to date:
|
||||
Update ./NEWS with changes from the last tagged release. You can use
|
||||
commands like the following:
|
||||
|
||||
Detailed commits since the CTHULHU_40_BETA tag:
|
||||
Detailed commits since the ORCA_40_BETA tag:
|
||||
|
||||
git log CTHULHU_40_BETA..
|
||||
git log ORCA_40_BETA..
|
||||
|
||||
Short list of translation changes with author names and files:
|
||||
|
||||
git log CTHULHU_40_BETA.. --grep translation --pretty=format:"%s - %an" --name-only
|
||||
git log ORCA_40_BETA.. --grep translation --pretty=format:"%s - %an" --name-only
|
||||
|
||||
Quick-and-dirty formatted list of translation changes:
|
||||
|
||||
git log CTHULHU_40_BETA.. --grep translation --pretty=format:"%s,%an" --name-only |
|
||||
git log ORCA_40_BETA.. --grep translation --pretty=format:"%s,%an" --name-only |
|
||||
awk -F/ '/\.(po|am)/ {gsub("(\.po|Makefile.am)", "", $NF); printf(",%s",$NF); next;}
|
||||
{gsub("(Updated* |Add(ed)* | translation| help)", "", $0); printf("\n%s",$0);}' |
|
||||
awk -F, '!seen[$0]++ {if (NF == 3) printf(" %-15s %-25s %s\n", $3, $1, $2);}' |
|
||||
@ -40,7 +40,7 @@ Quick-and-dirty formatted list of translation changes:
|
||||
|
||||
Short list of non-translation commits:
|
||||
|
||||
git log CTHULHU_40_BETA.. --grep translation --invert-grep --pretty=format:" * %s%n"
|
||||
git log ORCA_40_BETA.. --grep translation --invert-grep --pretty=format:" * %s%n"
|
||||
|
||||
NOTE: You should also make sure the external dependencies listed in
|
||||
configure.ac and README are accurate.
|
||||
@ -56,8 +56,8 @@ COMMIT RELEASE CHANGES AND TAG THE RELEASE:
|
||||
|
||||
git commit -a
|
||||
git push
|
||||
git tag -a -s CTHULHU_40_RC
|
||||
git push origin CTHULHU_40_RC
|
||||
git tag -a -s ORCA_40_RC
|
||||
git push origin ORCA_40_RC
|
||||
|
||||
|
||||
UPLOAD THE RELEASE:
|
||||
|
2
TODO
2
TODO
@ -1,4 +1,4 @@
|
||||
- Add Simple Cthulhu Plugin System as native code for Cthulhu
|
||||
- Add Simple Orca Plugin System as native code for Cthulhu
|
||||
- Merge in sleep mode.
|
||||
- Add in ocrdesktop code so that Cthulhu has native ocr support.
|
||||
- Get rid of build systems. My hope is git clone and run so long as requirements are satisfied.
|
||||
|
@ -35,6 +35,8 @@ makedepends=(
|
||||
itstool
|
||||
yelp-tools
|
||||
)
|
||||
groups=(gnome)
|
||||
_commit=9e77d1baf9bd24b78d7499ad9b2e8bb80c9a0c81 # tags/ORCA_45_1^0
|
||||
source=("git+https://git.stormux.org/storm/cthulhu.git")
|
||||
b2sums=('SKIP')
|
||||
|
||||
|
@ -2710,7 +2710,7 @@ msgstr ""
|
||||
"DENGUNA GARANTÍA; ensin denguna implicación de garantía de COMERCIABILIDÁ o CALIDÁ PA DENGÚN PROPÓSITU PARTICULAR. Consulta la Llicencia Pública Xeneral Reducida GNU pa más\n"
|
||||
"detalles.\n"
|
||||
"\n"
|
||||
"Tendríes de recibir una copia de la Llicencia Pública Xeneral Reducida de GNU xuntu con CTHULHU, de lo contrario, escribi a la Free Software Foundation, Inc, Franklin\n"
|
||||
"Tendríes de recibir una copia de la Llicencia Pública Xeneral Reducida de GNU xuntu con ORCA, de lo contrario, escribi a la Free Software Foundation, Inc, Franklin\n"
|
||||
"Street, Fifth Floor, Boston, MA 02110-1301, EE. UU."
|
||||
|
||||
#. DESCRIP
|
||||
|
4
po/es.po
4
po/es.po
@ -1,6 +1,6 @@
|
||||
# translation of cthulhu.HEAD.po to Español
|
||||
# Traducción de Cthulhu al Español
|
||||
# This file is distributed under the same license as the CTHULHU package.
|
||||
# This file is distributed under the same license as the ORCA package.
|
||||
# Copyright (C) 2005 GNOME Foundation.
|
||||
#
|
||||
# Francisco Javier F. Serrador <serrador@cvs.gnome.org>, 2004, 2006.
|
||||
@ -15099,7 +15099,7 @@ msgstr ""
|
||||
#~ "detalles.\n"
|
||||
#~ "\n"
|
||||
#~ "Debería haber recibido una copia de la Licencia Pública General Reducida "
|
||||
#~ "de GNU junto con CTHULHU, de lo contrario, escriba a la Free Software "
|
||||
#~ "de GNU junto con ORCA, de lo contrario, escriba a la Free Software "
|
||||
#~ "Foundation, Inc, \n"
|
||||
#~ "Franklin Street, Fifth Floor, Boston, MA 02110-1301, EE. UU."
|
||||
|
||||
|
2
po/sq.po
2
po/sq.po
@ -1,6 +1,6 @@
|
||||
# Përkthimi i cthulhu.HEAD në shqip.
|
||||
# Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
# This file is distributed under the same license as the CTHULHU package.
|
||||
# This file is distributed under the same license as the ORCA package.
|
||||
#
|
||||
# Laurent Dhima <laurenti@alblinux.net>, 2007.
|
||||
msgid ""
|
||||
|
@ -81,7 +81,7 @@ class ActionPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"a",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_SHIFT_MODIFIER_MASK,
|
||||
keybindings.ORCA_SHIFT_MODIFIER_MASK,
|
||||
self._handlers.get("show_actions_menu")))
|
||||
|
||||
return bindings
|
||||
|
@ -95,21 +95,21 @@ class Bookmarks:
|
||||
keybindings.KeyBinding(
|
||||
"b",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("goToNextBookmark")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"b",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_SHIFT_MODIFIER_MASK,
|
||||
keybindings.ORCA_SHIFT_MODIFIER_MASK,
|
||||
self._handlers.get("goToPrevBookmark")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"b",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_ALT_MODIFIER_MASK,
|
||||
keybindings.ORCA_ALT_MODIFIER_MASK,
|
||||
self._handlers.get("saveBookmarks")))
|
||||
|
||||
for i in range(6):
|
||||
@ -117,14 +117,14 @@ class Bookmarks:
|
||||
keybindings.KeyBinding(
|
||||
str(i + 1),
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("goToBookmark")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
str(i + 1),
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_ALT_MODIFIER_MASK,
|
||||
keybindings.ORCA_ALT_MODIFIER_MASK,
|
||||
self._handlers.get("addBookmark")))
|
||||
|
||||
return bindings
|
||||
|
@ -144,7 +144,7 @@ class CaretNavigation:
|
||||
keybindings.KeyBinding(
|
||||
"F12",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("toggle_enabled")))
|
||||
|
||||
bindings.add(
|
||||
@ -229,7 +229,7 @@ class CaretNavigation:
|
||||
_settings_manager = settings_manager.getManager()
|
||||
enabled = not _settings_manager.getSetting('caretNavigationEnabled')
|
||||
if enabled:
|
||||
string = messages.CARET_CONTROL_CTHULHU
|
||||
string = messages.CARET_CONTROL_ORCA
|
||||
else:
|
||||
string = messages.CARET_CONTROL_APP
|
||||
|
||||
|
@ -308,7 +308,7 @@ class Chat:
|
||||
#
|
||||
self.messageKeys = \
|
||||
["F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9"]
|
||||
self.messageKeyModifier = keybindings.CTHULHU_MODIFIER_MASK
|
||||
self.messageKeyModifier = keybindings.ORCA_MODIFIER_MASK
|
||||
self.inputEventHandlers = {}
|
||||
self.setupInputEventHandlers()
|
||||
self.keyBindings = self.getKeyBindings()
|
||||
@ -387,7 +387,7 @@ class Chat:
|
||||
keybindings.KeyBinding(
|
||||
messageKey,
|
||||
self.messageKeyModifier,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers["reviewMessage"]))
|
||||
|
||||
return keyBindings
|
||||
|
@ -457,7 +457,7 @@ TOGGLE_SPEECH_VERBOSITY = _("Toggle speech verbosity level")
|
||||
|
||||
# Translators: this string is associated with the keyboard shortcut to quit
|
||||
# Cthulhu.
|
||||
QUIT_CTHULHU = _("Quit the screen reader")
|
||||
QUIT_ORCA = _("Quit the screen reader")
|
||||
|
||||
# Translators: the preferences configuration dialog is the dialog that allows
|
||||
# users to set their preferences for Cthulhu.
|
||||
|
@ -32,26 +32,26 @@ from . import keybindings
|
||||
|
||||
# Storing values
|
||||
defaultModifierMask = keybindings.defaultModifierMask
|
||||
CTHULHU_MODIFIER_MASK = keybindings.CTHULHU_MODIFIER_MASK
|
||||
ORCA_MODIFIER_MASK = keybindings.ORCA_MODIFIER_MASK
|
||||
NO_MODIFIER_MASK = keybindings.NO_MODIFIER_MASK
|
||||
CTHULHU_SHIFT_MODIFIER_MASK = keybindings.CTHULHU_SHIFT_MODIFIER_MASK
|
||||
CTHULHU_CTRL_MODIFIER_MASK = keybindings.CTHULHU_CTRL_MODIFIER_MASK
|
||||
CTHULHU_ALT_MODIFIER_MASK = keybindings.CTHULHU_ALT_MODIFIER_MASK
|
||||
CTHULHU_CTRL_ALT_MODIFIER_MASK = keybindings.CTHULHU_CTRL_ALT_MODIFIER_MASK
|
||||
ORCA_SHIFT_MODIFIER_MASK = keybindings.ORCA_SHIFT_MODIFIER_MASK
|
||||
ORCA_CTRL_MODIFIER_MASK = keybindings.ORCA_CTRL_MODIFIER_MASK
|
||||
ORCA_ALT_MODIFIER_MASK = keybindings.ORCA_ALT_MODIFIER_MASK
|
||||
ORCA_CTRL_ALT_MODIFIER_MASK = keybindings.ORCA_CTRL_ALT_MODIFIER_MASK
|
||||
SHIFT_ALT_MODIFIER_MASK = keybindings.SHIFT_ALT_MODIFIER_MASK
|
||||
|
||||
keymap = (
|
||||
|
||||
("space", defaultModifierMask, CTHULHU_MODIFIER_MASK,
|
||||
("space", defaultModifierMask, ORCA_MODIFIER_MASK,
|
||||
"preferencesSettingsHandler"),
|
||||
|
||||
("space", defaultModifierMask, CTHULHU_CTRL_MODIFIER_MASK,
|
||||
("space", defaultModifierMask, ORCA_CTRL_MODIFIER_MASK,
|
||||
"appPreferencesSettingsHandler"),
|
||||
|
||||
("BackSpace", defaultModifierMask, CTHULHU_MODIFIER_MASK,
|
||||
("BackSpace", defaultModifierMask, ORCA_MODIFIER_MASK,
|
||||
"bypassNextCommandHandler"),
|
||||
|
||||
("q", defaultModifierMask, CTHULHU_MODIFIER_MASK,
|
||||
("q", defaultModifierMask, ORCA_MODIFIER_MASK,
|
||||
"shutdownHandler"),
|
||||
|
||||
|
||||
|
@ -132,7 +132,7 @@ OBJECT_NAVIGATOR = "object-navigator"
|
||||
SAY_ALL = "say-all"
|
||||
|
||||
def getActiveModeAndObjectOfInterest():
|
||||
tokens = ["CTHULHU: Active mode:", cthulhu_state.activeMode,
|
||||
tokens = ["ORCA: Active mode:", cthulhu_state.activeMode,
|
||||
"Object of interest:", cthulhu_state.objOfInterest]
|
||||
debug.printTokens(debug.LEVEL_INFO, tokens, True)
|
||||
return cthulhu_state.activeMode, cthulhu_state.objOfInterest
|
||||
@ -150,42 +150,42 @@ def emitRegionChanged(obj, startOffset=None, endOffset=None, mode=None):
|
||||
try:
|
||||
obj.emit("mode-changed::" + mode, 1, "")
|
||||
except Exception:
|
||||
msg = "CTHULHU: Exception emitting mode-changed notification"
|
||||
msg = "ORCA: Exception emitting mode-changed notification"
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
|
||||
if mode != cthulhu_state.activeMode:
|
||||
tokens = ["CTHULHU: Switching active mode from", cthulhu_state.activeMode, "to", mode]
|
||||
tokens = ["ORCA: Switching active mode from", cthulhu_state.activeMode, "to", mode]
|
||||
debug.printTokens(debug.LEVEL_INFO, tokens, True)
|
||||
cthulhu_state.activeMode = mode
|
||||
|
||||
try:
|
||||
tokens = ["CTHULHU: Region of interest:", obj, "(", startOffset, ")", endOffset]
|
||||
tokens = ["ORCA: Region of interest:", obj, "(", startOffset, ")", endOffset]
|
||||
debug.printTokens(debug.LEVEL_INFO, tokens, True)
|
||||
obj.emit("region-changed", startOffset, endOffset)
|
||||
except Exception:
|
||||
msg = "CTHULHU: Exception emitting region-changed notification"
|
||||
msg = "ORCA: Exception emitting region-changed notification"
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
|
||||
if obj != cthulhu_state.objOfInterest:
|
||||
tokens = ["CTHULHU: Switching object of interest from", cthulhu_state.objOfInterest, "to", obj]
|
||||
tokens = ["ORCA: Switching object of interest from", cthulhu_state.objOfInterest, "to", obj]
|
||||
debug.printTokens(debug.LEVEL_INFO, tokens, True)
|
||||
cthulhu_state.objOfInterest = obj
|
||||
|
||||
def setActiveWindow(frame, app=None, alsoSetLocusOfFocus=False, notifyScript=False):
|
||||
tokens = ["CTHULHU: Request to set active window to", frame]
|
||||
tokens = ["ORCA: Request to set active window to", frame]
|
||||
if app is not None:
|
||||
tokens.extend(["in", app])
|
||||
debug.printTokens(debug.LEVEL_INFO, tokens, True)
|
||||
|
||||
if frame == cthulhu_state.activeWindow:
|
||||
msg = "CTHULHU: Setting activeWindow to existing activeWindow"
|
||||
msg = "ORCA: Setting activeWindow to existing activeWindow"
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
elif frame is None:
|
||||
cthulhu_state.activeWindow = None
|
||||
else:
|
||||
real_app, real_frame = AXObject.find_real_app_and_window_for(frame, app)
|
||||
if real_frame != frame:
|
||||
tokens = ["CTHULHU: Correcting active window to", real_frame, "in", real_app]
|
||||
tokens = ["ORCA: Correcting active window to", real_frame, "in", real_app]
|
||||
debug.printTokens(debug.LEVEL_INFO, tokens, True)
|
||||
cthulhu_state.activeWindow = real_frame
|
||||
else:
|
||||
@ -208,7 +208,7 @@ def setLocusOfFocus(event, obj, notifyScript=True, force=False):
|
||||
"""
|
||||
|
||||
if not force and obj == cthulhu_state.locusOfFocus:
|
||||
msg = "CTHULHU: Setting locusOfFocus to existing locusOfFocus"
|
||||
msg = "ORCA: Setting locusOfFocus to existing locusOfFocus"
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
return
|
||||
|
||||
@ -222,13 +222,13 @@ def setLocusOfFocus(event, obj, notifyScript=True, force=False):
|
||||
oldFocus = None
|
||||
|
||||
if obj is None:
|
||||
msg = "CTHULHU: New locusOfFocus is null (being cleared)"
|
||||
msg = "ORCA: New locusOfFocus is null (being cleared)"
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
cthulhu_state.locusOfFocus = None
|
||||
return
|
||||
|
||||
if cthulhu_state.activeScript:
|
||||
tokens = ["CTHULHU: Active script is:", cthulhu_state.activeScript]
|
||||
tokens = ["ORCA: Active script is:", cthulhu_state.activeScript]
|
||||
debug.printTokens(debug.LEVEL_INFO, tokens, True)
|
||||
if cthulhu_state.activeScript.utilities.isZombie(obj):
|
||||
tokens = ["ERROR: New locusOfFocus (", obj, ") is zombie. Not updating."]
|
||||
@ -239,7 +239,7 @@ def setLocusOfFocus(event, obj, notifyScript=True, force=False):
|
||||
debug.printTokens(debug.LEVEL_INFO, tokens, True)
|
||||
return
|
||||
|
||||
tokens = ["CTHULHU: Changing locusOfFocus from", oldFocus, "to", obj, ". Notify:", notifyScript]
|
||||
tokens = ["ORCA: Changing locusOfFocus from", oldFocus, "to", obj, ". Notify:", notifyScript]
|
||||
debug.printTokens(debug.LEVEL_INFO, tokens, True)
|
||||
cthulhu_state.locusOfFocus = obj
|
||||
|
||||
@ -247,7 +247,7 @@ def setLocusOfFocus(event, obj, notifyScript=True, force=False):
|
||||
return
|
||||
|
||||
if not cthulhu_state.activeScript:
|
||||
msg = "CTHULHU: Cannot notify active script because there isn't one"
|
||||
msg = "ORCA: Cannot notify active script because there isn't one"
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
return
|
||||
|
||||
@ -299,7 +299,7 @@ def deviceChangeHandler(deviceManager, device):
|
||||
so we have to re-apply"""
|
||||
source = device.get_source()
|
||||
if source == Gdk.InputSource.KEYBOARD:
|
||||
msg = "CTHULHU: Keyboard change detected, re-creating the xmodmap"
|
||||
msg = "ORCA: Keyboard change detected, re-creating the xmodmap"
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
_createCthulhuXmodmap()
|
||||
|
||||
@ -409,7 +409,7 @@ def _restoreXmodmap(keyList=[]):
|
||||
to restore the entire saved xmodmap.
|
||||
"""
|
||||
|
||||
msg = "CTHULHU: Attempting to restore original xmodmap"
|
||||
msg = "ORCA: Attempting to restore original xmodmap"
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
|
||||
global _capsLockCleared
|
||||
@ -418,7 +418,7 @@ def _restoreXmodmap(keyList=[]):
|
||||
stdin=subprocess.PIPE, stdout=None, stderr=None)
|
||||
p.communicate(_originalXmodmap)
|
||||
|
||||
msg = "CTHULHU: Original xmodmap restored"
|
||||
msg = "ORCA: Original xmodmap restored"
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
|
||||
def setKeyHandling(new):
|
||||
@ -433,7 +433,7 @@ def loadUserSettings(script=None, inputEvent=None, skipReloadMessage=False):
|
||||
Returns True to indicate the input event has been consumed.
|
||||
"""
|
||||
|
||||
debug.printMessage(debug.LEVEL_INFO, 'CTHULHU: Loading User Settings', True)
|
||||
debug.printMessage(debug.LEVEL_INFO, 'ORCA: Loading User Settings', True)
|
||||
|
||||
global _userSettings
|
||||
|
||||
@ -473,7 +473,7 @@ def loadUserSettings(script=None, inputEvent=None, skipReloadMessage=False):
|
||||
_settingsManager.loadAppSettings(script)
|
||||
|
||||
if _settingsManager.getSetting('enableSpeech'):
|
||||
msg = 'CTHULHU: About to enable speech'
|
||||
msg = 'ORCA: About to enable speech'
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
try:
|
||||
speech.init()
|
||||
@ -482,20 +482,20 @@ def loadUserSettings(script=None, inputEvent=None, skipReloadMessage=False):
|
||||
except Exception:
|
||||
debug.printException(debug.LEVEL_SEVERE)
|
||||
else:
|
||||
msg = 'CTHULHU: Speech is not enabled in settings'
|
||||
msg = 'ORCA: Speech is not enabled in settings'
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
|
||||
if _settingsManager.getSetting('enableBraille'):
|
||||
msg = 'CTHULHU: About to enable braille'
|
||||
msg = 'ORCA: About to enable braille'
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
try:
|
||||
braille.init(_processBrailleEvent)
|
||||
except Exception:
|
||||
debug.printException(debug.LEVEL_WARNING)
|
||||
msg = 'CTHULHU: Could not initialize connection to braille.'
|
||||
msg = 'ORCA: Could not initialize connection to braille.'
|
||||
debug.printMessage(debug.LEVEL_WARNING, msg, True)
|
||||
else:
|
||||
msg = 'CTHULHU: Braille is not enabled in settings'
|
||||
msg = 'ORCA: Braille is not enabled in settings'
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
|
||||
|
||||
@ -526,7 +526,7 @@ def loadUserSettings(script=None, inputEvent=None, skipReloadMessage=False):
|
||||
|
||||
cthulhuApp.getSignalManager().emitSignal('load-setting-completed')
|
||||
|
||||
debug.printMessage(debug.LEVEL_INFO, 'CTHULHU: User Settings Loaded', True)
|
||||
debug.printMessage(debug.LEVEL_INFO, 'ORCA: User Settings Loaded', True)
|
||||
|
||||
return True
|
||||
|
||||
@ -641,12 +641,12 @@ def init():
|
||||
module has already been initialized.
|
||||
"""
|
||||
|
||||
debug.printMessage(debug.LEVEL_INFO, 'CTHULHU: Initializing', True)
|
||||
debug.printMessage(debug.LEVEL_INFO, 'ORCA: Initializing', True)
|
||||
|
||||
global _initialized
|
||||
|
||||
if _initialized and _settingsManager.isScreenReaderServiceEnabled():
|
||||
debug.printMessage(debug.LEVEL_INFO, 'CTHULHU: Already initialized', True)
|
||||
debug.printMessage(debug.LEVEL_INFO, 'ORCA: Already initialized', True)
|
||||
return False
|
||||
|
||||
# Do not hang on initialization if we can help it.
|
||||
@ -667,14 +667,14 @@ def init():
|
||||
if a11yAppSettings:
|
||||
a11yAppSettings.connect('changed', onEnabledChanged)
|
||||
|
||||
debug.printMessage(debug.LEVEL_INFO, 'CTHULHU: Initialized', True)
|
||||
debug.printMessage(debug.LEVEL_INFO, 'ORCA: Initialized', True)
|
||||
|
||||
return True
|
||||
|
||||
def start():
|
||||
"""Starts Cthulhu."""
|
||||
|
||||
debug.printMessage(debug.LEVEL_INFO, 'CTHULHU: Starting', True)
|
||||
debug.printMessage(debug.LEVEL_INFO, 'ORCA: Starting', True)
|
||||
|
||||
if not _initialized:
|
||||
init()
|
||||
@ -698,10 +698,10 @@ def start():
|
||||
devmanager.connect("device-removed", deviceChangeHandler)
|
||||
|
||||
Gdk.notify_startup_complete()
|
||||
msg = 'CTHULHU: Startup complete notification made'
|
||||
msg = 'ORCA: Startup complete notification made'
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
|
||||
debug.printMessage(debug.LEVEL_INFO, 'CTHULHU: Starting Atspi main event loop', True)
|
||||
debug.printMessage(debug.LEVEL_INFO, 'ORCA: Starting Atspi main event loop', True)
|
||||
Atspi.event_main()
|
||||
|
||||
def die(exitCode=1):
|
||||
@ -730,7 +730,7 @@ def shutdown(script=None, inputEvent=None):
|
||||
was never initialized.
|
||||
"""
|
||||
|
||||
debug.printMessage(debug.LEVEL_INFO, 'CTHULHU: Shutting down', True)
|
||||
debug.printMessage(debug.LEVEL_INFO, 'ORCA: Shutting down', True)
|
||||
|
||||
global _initialized
|
||||
|
||||
@ -769,9 +769,9 @@ def shutdown(script=None, inputEvent=None):
|
||||
_initialized = False
|
||||
_restoreXmodmap(_cthulhuModifiers)
|
||||
|
||||
debug.printMessage(debug.LEVEL_INFO, 'CTHULHU: Quitting Atspi main event loop', True)
|
||||
debug.printMessage(debug.LEVEL_INFO, 'ORCA: Quitting Atspi main event loop', True)
|
||||
Atspi.event_quit()
|
||||
debug.printMessage(debug.LEVEL_INFO, 'CTHULHU: Shutdown complete', True)
|
||||
debug.printMessage(debug.LEVEL_INFO, 'ORCA: Shutdown complete', True)
|
||||
|
||||
return True
|
||||
|
||||
@ -780,7 +780,7 @@ def shutdownOnSignal(signum, frame):
|
||||
global exitCount
|
||||
|
||||
signalString = f'({signal.strsignal(signum)})'
|
||||
msg = f"CTHULHU: Shutting down and exiting due to signal={signum} {signalString}"
|
||||
msg = f"ORCA: Shutting down and exiting due to signal={signum} {signalString}"
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
|
||||
# Well...we'll try to exit nicely, but if we keep getting called,
|
||||
@ -818,7 +818,7 @@ def shutdownOnSignal(signum, frame):
|
||||
|
||||
def crashOnSignal(signum, frame):
|
||||
signalString = f'({signal.strsignal(signum)})'
|
||||
msg = f"CTHULHU: Shutting down and exiting due to signal={signum} {signalString}"
|
||||
msg = f"ORCA: Shutting down and exiting due to signal={signum} {signalString}"
|
||||
debug.printMessage(debug.LEVEL_SEVERE, msg, True)
|
||||
debug.printStack(debug.LEVEL_SEVERE)
|
||||
_restoreXmodmap(_cthulhuModifiers)
|
||||
@ -831,7 +831,7 @@ def main():
|
||||
an exit code of 0 means normal completion and an exit code of 50
|
||||
means Cthulhu exited because of a hang."""
|
||||
|
||||
msg = f"CTHULHU: Launching version {cthulhu_platform.version}"
|
||||
msg = f"ORCA: Launching version {cthulhu_platform.version}"
|
||||
if cthulhu_platform.revision:
|
||||
msg += f" (rev {cthulhu_platform.revision})"
|
||||
|
||||
@ -859,13 +859,13 @@ def main():
|
||||
signal.signal(signal.SIGQUIT, shutdownOnSignal)
|
||||
signal.signal(signal.SIGSEGV, crashOnSignal)
|
||||
|
||||
debug.printMessage(debug.LEVEL_INFO, "CTHULHU: Enabling accessibility (if needed).", True)
|
||||
debug.printMessage(debug.LEVEL_INFO, "ORCA: Enabling accessibility (if needed).", True)
|
||||
if not _settingsManager.isAccessibilityEnabled():
|
||||
_settingsManager.setAccessibility(True)
|
||||
|
||||
debug.printMessage(debug.LEVEL_INFO, "CTHULHU: Initializing.", True)
|
||||
debug.printMessage(debug.LEVEL_INFO, "ORCA: Initializing.", True)
|
||||
init()
|
||||
debug.printMessage(debug.LEVEL_INFO, "CTHULHU: Initialized.", True)
|
||||
debug.printMessage(debug.LEVEL_INFO, "ORCA: Initialized.", True)
|
||||
|
||||
script = cthulhu_state.activeScript
|
||||
cthulhuApp.getSignalManager().emitSignal('start-application-completed')
|
||||
@ -883,7 +883,7 @@ def main():
|
||||
_scriptManager.setActiveScript(script, "Launching.")
|
||||
|
||||
focusedObject = AXUtilities.get_focused_object(window)
|
||||
tokens = ["CTHULHU: Focused object is:", focusedObject]
|
||||
tokens = ["ORCA: Focused object is:", focusedObject]
|
||||
debug.printTokens(debug.LEVEL_INFO, tokens, True)
|
||||
if focusedObject:
|
||||
setLocusOfFocus(None, focusedObject)
|
||||
@ -892,11 +892,11 @@ def main():
|
||||
_scriptManager.setActiveScript(script, "Found focused object.")
|
||||
|
||||
try:
|
||||
msg = "CTHULHU: Starting ATSPI registry."
|
||||
msg = "ORCA: Starting ATSPI registry."
|
||||
debug.printMessage(debug.LEVEL_INFO, msg, True)
|
||||
start() # waits until we stop the registry
|
||||
except Exception:
|
||||
msg = "CTHULHU: Exception starting ATSPI registry."
|
||||
msg = "ORCA: Exception starting ATSPI registry."
|
||||
debug.printMessage(debug.LEVEL_SEVERE, msg, True)
|
||||
die(EXIT_CODE_HANG)
|
||||
return 0
|
||||
|
@ -272,7 +272,7 @@ def main():
|
||||
cthulhu.showPreferencesGUI()
|
||||
|
||||
if otherCthulhus():
|
||||
print(messages.CLI_OTHER_CTHULHUS_ERROR)
|
||||
print(messages.CLI_OTHER_ORCAS_ERROR)
|
||||
return 1
|
||||
|
||||
debug.printMessage(debug.LEVEL_INFO, "INFO: About to launch Cthulhu.", True)
|
||||
|
@ -2878,7 +2878,7 @@ class CthulhuSetupGUI(cthulhu_gtkbuilder.GtkBuilderWrapper):
|
||||
|
||||
cthulhuMods = settings.cthulhuModifierKeys
|
||||
if eventString in cthulhuMods:
|
||||
self._capturedKey = ['', keybindings.CTHULHU_MODIFIER_MASK, 0]
|
||||
self._capturedKey = ['', keybindings.ORCA_MODIFIER_MASK, 0]
|
||||
return False
|
||||
|
||||
modifierKeys = ['Alt_L', 'Alt_R', 'Control_L', 'Control_R',
|
||||
@ -2894,9 +2894,9 @@ class CthulhuSetupGUI(cthulhu_gtkbuilder.GtkBuilderWrapper):
|
||||
return True
|
||||
|
||||
string, modifiers, clickCount = self._capturedKey
|
||||
isCthulhuModifier = modifiers & keybindings.CTHULHU_MODIFIER_MASK
|
||||
isCthulhuModifier = modifiers & keybindings.ORCA_MODIFIER_MASK
|
||||
if isCthulhuModifier:
|
||||
eventState |= keybindings.CTHULHU_MODIFIER_MASK
|
||||
eventState |= keybindings.ORCA_MODIFIER_MASK
|
||||
self._capturedKey = [eventString, eventState, clickCount + 1]
|
||||
|
||||
return True
|
||||
@ -2918,7 +2918,7 @@ class CthulhuSetupGUI(cthulhu_gtkbuilder.GtkBuilderWrapper):
|
||||
if not keyName or keyName in ["Return", "Escape"]:
|
||||
return False
|
||||
|
||||
isCthulhuModifier = modifiers & keybindings.CTHULHU_MODIFIER_MASK
|
||||
isCthulhuModifier = modifiers & keybindings.ORCA_MODIFIER_MASK
|
||||
if keyName in ["Delete", "BackSpace"] and not isCthulhuModifier:
|
||||
editable.set_text("")
|
||||
self._presentMessage(messages.KB_DELETED)
|
||||
@ -2983,7 +2983,7 @@ class CthulhuSetupGUI(cthulhu_gtkbuilder.GtkBuilderWrapper):
|
||||
|
||||
mods = mods & Gdk.ModifierType.MODIFIER_MASK
|
||||
if mods & (1 << Atspi.ModifierType.SHIFTLOCK) \
|
||||
and mods & keybindings.CTHULHU_MODIFIER_MASK:
|
||||
and mods & keybindings.ORCA_MODIFIER_MASK:
|
||||
mods ^= (1 << Atspi.ModifierType.SHIFTLOCK)
|
||||
|
||||
treeModel.set(myiter,
|
||||
|
@ -26,7 +26,7 @@ __date__ = "$Date$"
|
||||
__copyright__ = "Copyright (c) 2005-2008 Sun Microsystems Inc."
|
||||
__license__ = "LGPL"
|
||||
|
||||
# $CTHULHU_VERSION
|
||||
# $ORCA_VERSION
|
||||
#
|
||||
version = "@VERSION@"
|
||||
|
||||
|
@ -79,7 +79,7 @@ class DateAndTimePresenter:
|
||||
keybindings.KeyBinding(
|
||||
"t",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("presentTimeHandler"),
|
||||
1))
|
||||
|
||||
@ -87,7 +87,7 @@ class DateAndTimePresenter:
|
||||
keybindings.KeyBinding(
|
||||
"t",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("presentDateHandler"),
|
||||
2))
|
||||
|
||||
|
@ -32,13 +32,13 @@ from . import keybindings
|
||||
|
||||
# Storing values
|
||||
defaultModifierMask = keybindings.defaultModifierMask
|
||||
CTHULHU_MODIFIER_MASK = keybindings.CTHULHU_MODIFIER_MASK
|
||||
ORCA_MODIFIER_MASK = keybindings.ORCA_MODIFIER_MASK
|
||||
NO_MODIFIER_MASK = keybindings.NO_MODIFIER_MASK
|
||||
CTHULHU_SHIFT_MODIFIER_MASK = keybindings.CTHULHU_SHIFT_MODIFIER_MASK
|
||||
ORCA_SHIFT_MODIFIER_MASK = keybindings.ORCA_SHIFT_MODIFIER_MASK
|
||||
|
||||
keymap = (
|
||||
|
||||
("KP_Divide", defaultModifierMask, CTHULHU_MODIFIER_MASK,
|
||||
("KP_Divide", defaultModifierMask, ORCA_MODIFIER_MASK,
|
||||
"routePointerToItemHandler"),
|
||||
|
||||
# We want the user to be able to combine modifiers with the
|
||||
@ -46,10 +46,10 @@ keymap = (
|
||||
# do not "care" about the modifiers -- unless it's the Cthulhu
|
||||
# modifier.
|
||||
#
|
||||
("KP_Divide", CTHULHU_MODIFIER_MASK, NO_MODIFIER_MASK,
|
||||
("KP_Divide", ORCA_MODIFIER_MASK, NO_MODIFIER_MASK,
|
||||
"leftClickReviewItemHandler"),
|
||||
|
||||
("KP_Multiply", CTHULHU_MODIFIER_MASK, NO_MODIFIER_MASK,
|
||||
("KP_Multiply", ORCA_MODIFIER_MASK, NO_MODIFIER_MASK,
|
||||
"rightClickReviewItemHandler"),
|
||||
|
||||
("KP_Add", defaultModifierMask, NO_MODIFIER_MASK,
|
||||
@ -58,9 +58,9 @@ keymap = (
|
||||
("KP_Delete", defaultModifierMask, NO_MODIFIER_MASK,
|
||||
"findHandler"),
|
||||
|
||||
("KP_Delete", defaultModifierMask, CTHULHU_MODIFIER_MASK,
|
||||
("KP_Delete", defaultModifierMask, ORCA_MODIFIER_MASK,
|
||||
"findNextHandler"),
|
||||
|
||||
("KP_Delete", defaultModifierMask, CTHULHU_SHIFT_MODIFIER_MASK,
|
||||
("KP_Delete", defaultModifierMask, ORCA_SHIFT_MODIFIER_MASK,
|
||||
"findPreviousHandler"),
|
||||
)
|
@ -320,7 +320,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"KP_Home",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewHomeHandler")))
|
||||
|
||||
bindings.add(
|
||||
@ -365,7 +365,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"KP_Page_Up",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewEndHandler")))
|
||||
|
||||
bindings.add(
|
||||
@ -379,7 +379,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"KP_Left",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewAboveHandler")))
|
||||
|
||||
bindings.add(
|
||||
@ -410,7 +410,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"KP_Begin",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewCurrentAccessibleHandler")))
|
||||
|
||||
bindings.add(
|
||||
@ -424,7 +424,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"KP_Right",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewBelowHandler")))
|
||||
|
||||
bindings.add(
|
||||
@ -438,7 +438,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"KP_End",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewEndOfLineHandler")))
|
||||
|
||||
bindings.add(
|
||||
@ -511,14 +511,14 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"p",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("toggleFlatReviewModeHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"semicolon",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("flatReviewSayAllHandler"),
|
||||
2))
|
||||
|
||||
@ -526,21 +526,21 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"u",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewPreviousLineHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"u",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("reviewHomeHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"i",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewCurrentLineHandler"),
|
||||
1))
|
||||
|
||||
@ -548,7 +548,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"i",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewSpellCurrentLineHandler"),
|
||||
2))
|
||||
|
||||
@ -556,7 +556,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"i",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewPhoneticCurrentLineHandler"),
|
||||
3))
|
||||
|
||||
@ -564,35 +564,35 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"o",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewNextLineHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"o",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("reviewEndHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"j",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewPreviousItemHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"j",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("reviewAboveHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"k",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewCurrentItemHandler"),
|
||||
1))
|
||||
|
||||
@ -600,7 +600,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"k",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewSpellCurrentItemHandler"),
|
||||
2))
|
||||
|
||||
@ -608,7 +608,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"k",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewPhoneticCurrentItemHandler"),
|
||||
3))
|
||||
|
||||
@ -616,42 +616,42 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"k",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("reviewCurrentAccessibleHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"l",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewNextItemHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"l",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("reviewBelowHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"m",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewPreviousCharacterHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"m",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("reviewEndOfLineHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"comma",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewCurrentCharacterHandler"),
|
||||
1))
|
||||
|
||||
@ -659,7 +659,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"comma",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewSpellCurrentCharacterHandler"),
|
||||
2))
|
||||
|
||||
@ -667,7 +667,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"comma",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewUnicodeCurrentCharacterHandler"),
|
||||
3))
|
||||
|
||||
@ -675,7 +675,7 @@ class FlatReviewPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"period",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("reviewNextCharacterHandler")))
|
||||
|
||||
bindings.add(
|
||||
|
@ -309,7 +309,7 @@ class KeyboardEvent(InputEvent):
|
||||
and not KeyboardEvent.lastCthulhuModifierAlone:
|
||||
doubleEvent = self._getDoubleClickCandidate()
|
||||
if doubleEvent and \
|
||||
doubleEvent.modifiers & keybindings.CTHULHU_MODIFIER_MASK:
|
||||
doubleEvent.modifiers & keybindings.ORCA_MODIFIER_MASK:
|
||||
# this is the second event of a double-click, and sticky Cthulhu
|
||||
# affected the first, so copy over the modifiers to the second
|
||||
KeyboardEvent.cthulhuStickyModifiers = doubleEvent.modifiers
|
||||
@ -395,7 +395,7 @@ class KeyboardEvent(InputEvent):
|
||||
KeyboardEvent.cthulhuModifierPressed = False
|
||||
|
||||
if KeyboardEvent.cthulhuModifierPressed:
|
||||
self.modifiers |= keybindings.CTHULHU_MODIFIER_MASK
|
||||
self.modifiers |= keybindings.ORCA_MODIFIER_MASK
|
||||
|
||||
if KeyboardEvent.stickyKeys:
|
||||
# apply all recorded sticky modifiers
|
||||
@ -482,7 +482,7 @@ class KeyboardEvent(InputEvent):
|
||||
|
||||
if self.modifiers & keybindings.CTRL_MODIFIER_MASK \
|
||||
or self.modifiers & keybindings.ALT_MODIFIER_MASK \
|
||||
or self.modifiers & keybindings.CTHULHU_MODIFIER_MASK:
|
||||
or self.modifiers & keybindings.ORCA_MODIFIER_MASK:
|
||||
return False
|
||||
|
||||
return True
|
||||
@ -627,7 +627,7 @@ class KeyboardEvent(InputEvent):
|
||||
if cthulhu_state.bypassNextCommand:
|
||||
return False
|
||||
|
||||
return self.modifiers & keybindings.CTHULHU_MODIFIER_MASK
|
||||
return self.modifiers & keybindings.ORCA_MODIFIER_MASK
|
||||
|
||||
def isKeyPadKeyWithNumlockOn(self):
|
||||
"""Return True if this is a key pad key with numlock on."""
|
||||
|
@ -43,19 +43,19 @@ from .cthulhu_i18n import _
|
||||
_keysymsCache = {}
|
||||
_keycodeCache = {}
|
||||
|
||||
MODIFIER_CTHULHU = 8
|
||||
MODIFIER_ORCA = 8
|
||||
NO_MODIFIER_MASK = 0
|
||||
ALT_MODIFIER_MASK = 1 << Atspi.ModifierType.ALT
|
||||
CTRL_MODIFIER_MASK = 1 << Atspi.ModifierType.CONTROL
|
||||
CTHULHU_MODIFIER_MASK = 1 << MODIFIER_CTHULHU
|
||||
CTHULHU_ALT_MODIFIER_MASK = (1 << MODIFIER_CTHULHU |
|
||||
ORCA_MODIFIER_MASK = 1 << MODIFIER_ORCA
|
||||
ORCA_ALT_MODIFIER_MASK = (1 << MODIFIER_ORCA |
|
||||
1 << Atspi.ModifierType.ALT)
|
||||
CTHULHU_CTRL_MODIFIER_MASK = (1 << MODIFIER_CTHULHU |
|
||||
ORCA_CTRL_MODIFIER_MASK = (1 << MODIFIER_ORCA |
|
||||
1 << Atspi.ModifierType.CONTROL)
|
||||
CTHULHU_CTRL_ALT_MODIFIER_MASK = (1 << MODIFIER_CTHULHU |
|
||||
ORCA_CTRL_ALT_MODIFIER_MASK = (1 << MODIFIER_ORCA |
|
||||
1 << Atspi.ModifierType.CONTROL |
|
||||
1 << Atspi.ModifierType.ALT)
|
||||
CTHULHU_SHIFT_MODIFIER_MASK = (1 << MODIFIER_CTHULHU |
|
||||
ORCA_SHIFT_MODIFIER_MASK = (1 << MODIFIER_ORCA |
|
||||
1 << Atspi.ModifierType.SHIFT)
|
||||
SHIFT_MODIFIER_MASK = 1 << Atspi.ModifierType.SHIFT
|
||||
SHIFT_ALT_MODIFIER_MASK = (1 << Atspi.ModifierType.SHIFT |
|
||||
@ -71,7 +71,7 @@ NON_LOCKING_MODIFIER_MASK = (1 << Atspi.ModifierType.SHIFT |
|
||||
1 << Atspi.ModifierType.CONTROL |
|
||||
1 << Atspi.ModifierType.META2 |
|
||||
1 << Atspi.ModifierType.META3 |
|
||||
1 << MODIFIER_CTHULHU)
|
||||
1 << MODIFIER_ORCA)
|
||||
defaultModifierMask = NON_LOCKING_MODIFIER_MASK
|
||||
|
||||
def getKeycode(keysym):
|
||||
@ -137,7 +137,7 @@ def getModifierNames(mods):
|
||||
"""
|
||||
|
||||
text = ""
|
||||
if mods & CTHULHU_MODIFIER_MASK:
|
||||
if mods & ORCA_MODIFIER_MASK:
|
||||
if settings.keyboardLayout == settings.GENERAL_KEYBOARD_LAYOUT_DESKTOP:
|
||||
# Translators: this is presented in a GUI to represent the
|
||||
# "insert" key when used as the Cthulhu modifier.
|
||||
@ -280,12 +280,12 @@ class KeyBinding:
|
||||
if not self.keycode:
|
||||
self.keycode = getKeycode(self.keysymstring)
|
||||
|
||||
if self.modifiers & CTHULHU_MODIFIER_MASK:
|
||||
if self.modifiers & ORCA_MODIFIER_MASK:
|
||||
device = cthulhu_state.device
|
||||
if device is None:
|
||||
return ret
|
||||
modList = []
|
||||
otherMods = self.modifiers & ~CTHULHU_MODIFIER_MASK
|
||||
otherMods = self.modifiers & ~ORCA_MODIFIER_MASK
|
||||
numLockMod = device.get_modifier(getKeycode("Num_Lock"))
|
||||
lockedMods = device.get_locked_modifiers()
|
||||
numLockOn = lockedMods & numLockMod
|
||||
|
@ -32,14 +32,14 @@ from . import keybindings
|
||||
|
||||
# Storing values
|
||||
defaultModifierMask = keybindings.defaultModifierMask
|
||||
CTHULHU_MODIFIER_MASK = keybindings.CTHULHU_MODIFIER_MASK
|
||||
ORCA_MODIFIER_MASK = keybindings.ORCA_MODIFIER_MASK
|
||||
NO_MODIFIER_MASK = keybindings.NO_MODIFIER_MASK
|
||||
CTHULHU_SHIFT_MODIFIER_MASK = keybindings.CTHULHU_SHIFT_MODIFIER_MASK
|
||||
CTHULHU_CTRL_MODIFIER_MASK = keybindings.CTHULHU_CTRL_MODIFIER_MASK
|
||||
ORCA_SHIFT_MODIFIER_MASK = keybindings.ORCA_SHIFT_MODIFIER_MASK
|
||||
ORCA_CTRL_MODIFIER_MASK = keybindings.ORCA_CTRL_MODIFIER_MASK
|
||||
|
||||
keymap = (
|
||||
|
||||
("9", defaultModifierMask, CTHULHU_MODIFIER_MASK,
|
||||
("9", defaultModifierMask, ORCA_MODIFIER_MASK,
|
||||
"routePointerToItemHandler"),
|
||||
|
||||
# We want the user to be able to combine modifiers with the
|
||||
@ -48,22 +48,22 @@ keymap = (
|
||||
# modifier).
|
||||
#
|
||||
|
||||
("7", CTHULHU_MODIFIER_MASK, CTHULHU_MODIFIER_MASK,
|
||||
("7", ORCA_MODIFIER_MASK, ORCA_MODIFIER_MASK,
|
||||
"leftClickReviewItemHandler"),
|
||||
|
||||
("8", CTHULHU_MODIFIER_MASK, CTHULHU_MODIFIER_MASK,
|
||||
("8", ORCA_MODIFIER_MASK, ORCA_MODIFIER_MASK,
|
||||
"rightClickReviewItemHandler"),
|
||||
|
||||
("semicolon", defaultModifierMask, CTHULHU_MODIFIER_MASK,
|
||||
("semicolon", defaultModifierMask, ORCA_MODIFIER_MASK,
|
||||
"sayAllHandler", 1),
|
||||
|
||||
("bracketleft", defaultModifierMask, CTHULHU_MODIFIER_MASK,
|
||||
("bracketleft", defaultModifierMask, ORCA_MODIFIER_MASK,
|
||||
"findHandler"),
|
||||
|
||||
("bracketright", defaultModifierMask, CTHULHU_MODIFIER_MASK,
|
||||
("bracketright", defaultModifierMask, ORCA_MODIFIER_MASK,
|
||||
"findNextHandler"),
|
||||
|
||||
("bracketright", defaultModifierMask, CTHULHU_CTRL_MODIFIER_MASK,
|
||||
("bracketright", defaultModifierMask, ORCA_CTRL_MODIFIER_MASK,
|
||||
"findPreviousHandler"),
|
||||
|
||||
)
|
||||
|
@ -94,7 +94,7 @@ class LearnModePresenter:
|
||||
keybindings.KeyBinding(
|
||||
"h",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("enterLearnModeHandler")))
|
||||
|
||||
return bindings
|
||||
|
@ -168,7 +168,7 @@ class LiveRegionManager:
|
||||
keybindings.KeyBinding(
|
||||
"backslash",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_SHIFT_MODIFIER_MASK,
|
||||
keybindings.ORCA_SHIFT_MODIFIER_MASK,
|
||||
self.inputEventHandlers.get("monitorLiveRegions")))
|
||||
|
||||
for key in ["F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9"]:
|
||||
@ -176,7 +176,7 @@ class LiveRegionManager:
|
||||
keybindings.KeyBinding(
|
||||
key,
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers.get("reviewLiveAnnouncement")))
|
||||
|
||||
return keyBindings
|
||||
|
@ -162,7 +162,7 @@ CARET_CONTROL_APP = _("The application is controlling the caret.")
|
||||
# itself controls how the arrow keys move the caret around HTML content. It's
|
||||
# often broken, so Cthulhu needs to provide its own support. As such, Cthulhu offers
|
||||
# the user the ability to toggle which application is controlling the caret.
|
||||
CARET_CONTROL_CTHULHU = _("The screen reader is controlling the caret.")
|
||||
CARET_CONTROL_ORCA = _("The screen reader is controlling the caret.")
|
||||
|
||||
# Translators: this is the name of a cell in a spreadsheet.
|
||||
CELL = _("Cell %s")
|
||||
@ -250,7 +250,7 @@ CLI_SETTINGS_MANAGER_ERROR = \
|
||||
|
||||
# Translators: This message is presented to the user when he/she tries to launch
|
||||
# Cthulhu, but Cthulhu is already running.
|
||||
CLI_OTHER_CTHULHUS_ERROR = \
|
||||
CLI_OTHER_ORCAS_ERROR = \
|
||||
_('Another screen reader process is already running for this ' \
|
||||
'session.\nRun “cthulhu --replace” to replace that ' \
|
||||
'process with a new one.')
|
||||
@ -2291,10 +2291,10 @@ SPEECH_VERBOSITY_VERBOSE = C_("Speech", "Verbosity level: verbose")
|
||||
SPOKEN_ELLIPSIS = _(" dot dot dot")
|
||||
|
||||
# Translators: This message is presented to the user when Cthulhu is launched.
|
||||
START_CTHULHU = _("Cthulhu welcomes you.")
|
||||
START_ORCA = _("Cthulhu welcomes you.")
|
||||
|
||||
# Translators: This message is presented to the user when Cthulhu is quit.
|
||||
STOP_CTHULHU = _("Cthulhu lerks beneath the waves.")
|
||||
STOP_ORCA = _("Cthulhu lerks beneath the waves.")
|
||||
|
||||
# Translators: This message means speech synthesis is not installed or working.
|
||||
SPEECH_UNAVAILABLE = _("Speech is unavailable.")
|
||||
|
@ -68,42 +68,42 @@ class ObjectNavigator:
|
||||
keybindings.KeyBinding(
|
||||
"Up",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("object_navigator_up")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"Down",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("object_navigator_down")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"Right",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("object_navigator_next")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"Left",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("object_navigator_previous")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"Return",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("object_navigator_perform_action")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"s",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_CTRL_MODIFIER_MASK,
|
||||
keybindings.ORCA_CTRL_MODIFIER_MASK,
|
||||
self._handlers.get("object_navigator_toggle_simplify")))
|
||||
|
||||
return bindings
|
||||
|
@ -49,7 +49,7 @@ class PluginType(IntEnum):
|
||||
|
||||
|
||||
class PluginSystemManager():
|
||||
"""Cthulhu Plugin Manager to handle a set of plugins.
|
||||
"""Orca Plugin Manager to handle a set of plugins.
|
||||
Attributes:
|
||||
DEFAULT_LOADERS (tuple): Default loaders used by the plugin manager. For
|
||||
possible values see
|
||||
@ -469,7 +469,7 @@ class APIHelper():
|
||||
|
||||
currModifierMask = keybindings.NO_MODIFIER_MASK
|
||||
if cthulhuKey:
|
||||
currModifierMask = currModifierMask | 1 << keybindings.MODIFIER_CTHULHU
|
||||
currModifierMask = currModifierMask | 1 << keybindings.MODIFIER_ORCA
|
||||
if shiftKey:
|
||||
currModifierMask = currModifierMask | 1 << Atspi.ModifierType.SHIFT
|
||||
if altKey:
|
||||
|
@ -7,7 +7,7 @@ from gi.repository import Peas
|
||||
import time
|
||||
|
||||
|
||||
class ByeCthulhu(GObject.Object, Peas.Activatable, plugin.Plugin):
|
||||
class ByeOrca(GObject.Object, Peas.Activatable, plugin.Plugin):
|
||||
#__gtype_name__ = 'ByeCthulhu'
|
||||
|
||||
object = GObject.Property(type=GObject.Object)
|
||||
@ -24,4 +24,4 @@ class ByeCthulhu(GObject.Object, Peas.Activatable, plugin.Plugin):
|
||||
messages = app.getDynamicApiManager().getAPI('Messages')
|
||||
activeScript = app.getDynamicApiManager().getAPI('CthulhuState').activeScript
|
||||
activeScript.presentationInterrupt()
|
||||
activeScript.presentMessage(messages.STOP_CTHULHU, resetStyles=False)
|
||||
activeScript.presentMessage(messages.STOP_ORCA, resetStyles=False)
|
||||
|
@ -1,7 +1,7 @@
|
||||
cthulhu_python_PYTHON = \
|
||||
orca_python_PYTHON = \
|
||||
__init__.py \
|
||||
ByeCthulhu.plugin \
|
||||
ByeCthulhu.py
|
||||
|
||||
cthulhu_pythondir=$(pkgpythondir)/plugins/ByeCthulhu
|
||||
orca_pythondir=$(pkgpythondir)/plugins/ByeCthulhu
|
||||
|
||||
|
@ -58,16 +58,16 @@ class CapsLockHack(GObject.Object, Peas.Activatable, plugin.Plugin):
|
||||
settings = API.app.getDynamicApiManager().getAPI('Settings')
|
||||
time.sleep(3)
|
||||
while self.isActive():
|
||||
if "Caps_Lock" in settings.cthulhuModifierKeys \
|
||||
or "Shift_Lock" in settings.cthulhuModifierKeys:
|
||||
self.setCapsLockAsCthulhuModifier(True)
|
||||
if "Caps_Lock" in settings.orcaModifierKeys \
|
||||
or "Shift_Lock" in settings.orcaModifierKeys:
|
||||
self.setCapsLockAsOrcaModifier(True)
|
||||
capsLockCleared = True
|
||||
elif capsLockCleared:
|
||||
self.setCapsLockAsCthulhuModifier(False)
|
||||
self.setCapsLockAsOrcaModifier(False)
|
||||
capsLockCleared = False
|
||||
time.sleep(1)
|
||||
|
||||
def setCapsLockAsCthulhuModifier(self, enable):
|
||||
def setCapsLockAsOrcaModifier(self, enable):
|
||||
originalXmodmap = None
|
||||
lines = None
|
||||
try:
|
||||
|
@ -1,7 +1,7 @@
|
||||
cthulhu_python_PYTHON = \
|
||||
orca_python_PYTHON = \
|
||||
__init__.py \
|
||||
CapsLockHack.plugin \
|
||||
CapsLockHack.py
|
||||
|
||||
cthulhu_pythondir=$(pkgpythondir)/plugins/CapsLockHack
|
||||
orca_pythondir=$(pkgpythondir)/plugins/CapsLockHack
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
cthulhu_python_PYTHON = \
|
||||
orca_python_PYTHON = \
|
||||
__init__.py \
|
||||
Clipboard.plugin \
|
||||
Clipboard.py
|
||||
|
||||
cthulhu_pythondir=$(pkgpythondir)/plugins/Clipboard
|
||||
orca_pythondir=$(pkgpythondir)/plugins/Clipboard
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
cthulhu_python_PYTHON = \
|
||||
orca_python_PYTHON = \
|
||||
__init__.py \
|
||||
Date.plugin \
|
||||
Date.py
|
||||
|
||||
cthulhu_pythondir=$(pkgpythondir)/plugins/Date
|
||||
orca_pythondir=$(pkgpythondir)/plugins/Date
|
||||
|
||||
|
@ -20,4 +20,4 @@ class HelloCthulhu(GObject.Object, Peas.Activatable, plugin.Plugin):
|
||||
API = self.object
|
||||
def process(self, app):
|
||||
messages = app.getDynamicApiManager().getAPI('Messages')
|
||||
app.getDynamicApiManager().getAPI('CthulhuState').activeScript.presentMessage(messages.START_CTHULHU, resetStyles=False)
|
||||
app.getDynamicApiManager().getAPI('CthulhuState').activeScript.presentMessage(messages.START_ORCA, resetStyles=False)
|
||||
|
@ -1,7 +1,7 @@
|
||||
cthulhu_python_PYTHON = \
|
||||
orca_python_PYTHON = \
|
||||
__init__.py \
|
||||
HelloCthulhu.plugin \
|
||||
HelloCthulhu.py
|
||||
|
||||
cthulhu_pythondir=$(pkgpythondir)/plugins/HelloCthulhu
|
||||
orca_pythondir=$(pkgpythondir)/plugins/HelloCthulhu
|
||||
|
||||
|
@ -2,5 +2,5 @@
|
||||
Module=HelloWorld
|
||||
Loader=python3
|
||||
Name=Hello World (python3)
|
||||
Description=Test plugin for cthulhu
|
||||
Description=Test plugin for orca
|
||||
Authors=Chrys chrys@linux-a11y.org
|
||||
|
@ -1,7 +1,7 @@
|
||||
cthulhu_python_PYTHON = \
|
||||
orca_python_PYTHON = \
|
||||
__init__.py \
|
||||
HelloWorld.plugin \
|
||||
HelloWorld.py
|
||||
|
||||
cthulhu_pythondir=$(pkgpythondir)/plugins/HelloWorld
|
||||
orca_pythondir=$(pkgpythondir)/plugins/HelloWorld
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
SUBDIRS = Clipboard HelloWorld SelfVoice Time MouseReview Date ByeCthulhu HelloCthulhu PluginManager CapsLockHack
|
||||
|
||||
cthulhu_pythondir=$(pkgpythondir)/plugins
|
||||
orca_pythondir=$(pkgpythondir)/plugins
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
cthulhu_python_PYTHON = \
|
||||
orca_python_PYTHON = \
|
||||
__init__.py \
|
||||
MouseReview.plugin \
|
||||
MouseReview.py
|
||||
|
||||
cthulhu_pythondir=$(pkgpythondir)/plugins/MouseReview
|
||||
orca_pythondir=$(pkgpythondir)/plugins/MouseReview
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Mouse reviewer for Cthulhu
|
||||
# Mouse reviewer for Orca
|
||||
#
|
||||
# Copyright 2008 Eitan Isaacson
|
||||
# Copyright 2016 Igalia, S.L.
|
||||
@ -226,7 +226,7 @@ class _StringContext:
|
||||
voice = self._script.speechGenerator.voice(obj=self._obj, string=self._string)
|
||||
string = self._script.utilities.adjustForRepeats(self._string)
|
||||
# TODO
|
||||
#cthulhu.emitRegionChanged(self._obj, self._start, self._end, cthulhu.MOUSE_REVIEW)
|
||||
#orca.emitRegionChanged(self._obj, self._start, self._end, orca.MOUSE_REVIEW)
|
||||
emitRegionChanged(self._obj, self._start, self._end, "mouse-review")
|
||||
|
||||
|
||||
@ -398,7 +398,7 @@ class _ItemContext:
|
||||
if self._obj and self._obj != prior._obj and not self._isInlineChild(prior):
|
||||
priorObj = prior._obj or self._getContainer()
|
||||
# TODO
|
||||
#cthulhu.emitRegionChanged(self._obj, mode=cthulhu.MOUSE_REVIEW)
|
||||
#orca.emitRegionChanged(self._obj, mode=orca.MOUSE_REVIEW)
|
||||
emitRegionChanged(self._obj, mode="mouse-review")
|
||||
|
||||
self._script.presentObject(self._obj, priorObj=priorObj, inMouseReview=True)
|
||||
|
@ -1,8 +1,8 @@
|
||||
cthulhu_python_PYTHON = \
|
||||
orca_python_PYTHON = \
|
||||
__init__.py \
|
||||
PluginManager.plugin \
|
||||
PluginManager.py \
|
||||
PluginManagerUi.py
|
||||
|
||||
cthulhu_pythondir=$(pkgpythondir)/plugins/PluginManager
|
||||
orca_pythondir=$(pkgpythondir)/plugins/PluginManager
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
cthulhu_python_PYTHON = \
|
||||
orca_python_PYTHON = \
|
||||
__init__.py \
|
||||
SelfVoice.plugin \
|
||||
SelfVoice.py
|
||||
|
||||
cthulhu_pythondir=$(pkgpythondir)/plugins/SelfVoice
|
||||
orca_pythondir=$(pkgpythondir)/plugins/SelfVoice
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
cthulhu_python_PYTHON = \
|
||||
orca_python_PYTHON = \
|
||||
__init__.py \
|
||||
Time.plugin \
|
||||
Time.py
|
||||
|
||||
cthulhu_pythondir=$(pkgpythondir)/plugins/Time
|
||||
orca_pythondir=$(pkgpythondir)/plugins/Time
|
||||
|
||||
|
@ -2942,7 +2942,7 @@ class Utilities:
|
||||
return False
|
||||
|
||||
if len(event.event_string) != 1 \
|
||||
or event.modifiers & keybindings.CTHULHU_CTRL_MODIFIER_MASK:
|
||||
or event.modifiers & keybindings.ORCA_CTRL_MODIFIER_MASK:
|
||||
return False
|
||||
|
||||
if AXUtilities.is_password_text(cthulhu_state.locusOfFocus):
|
||||
@ -4828,7 +4828,7 @@ class Utilities:
|
||||
if mods & keybindings.CTRL_MODIFIER_MASK \
|
||||
or mods & keybindings.SHIFT_MODIFIER_MASK \
|
||||
or mods & keybindings.ALT_MODIFIER_MASK \
|
||||
or mods & keybindings.CTHULHU_MODIFIER_MASK:
|
||||
or mods & keybindings.ORCA_MODIFIER_MASK:
|
||||
return False
|
||||
|
||||
return True
|
||||
@ -4997,7 +4997,7 @@ class Utilities:
|
||||
|
||||
if mods & keybindings.CTRL_MODIFIER_MASK \
|
||||
or mods & keybindings.ALT_MODIFIER_MASK \
|
||||
or mods & keybindings.CTHULHU_MODIFIER_MASK:
|
||||
or mods & keybindings.ORCA_MODIFIER_MASK:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
@ -177,14 +177,14 @@ class Script(default.Script):
|
||||
keybindings.KeyBinding(
|
||||
"a",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers["presentInputLineHandler"]))
|
||||
|
||||
keyBindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"r",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers["setDynamicColumnHeadersHandler"],
|
||||
1))
|
||||
|
||||
@ -192,7 +192,7 @@ class Script(default.Script):
|
||||
keybindings.KeyBinding(
|
||||
"r",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers["clearDynamicColumnHeadersHandler"],
|
||||
2))
|
||||
|
||||
@ -200,7 +200,7 @@ class Script(default.Script):
|
||||
keybindings.KeyBinding(
|
||||
"c",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers["setDynamicRowHeadersHandler"],
|
||||
1))
|
||||
|
||||
@ -208,7 +208,7 @@ class Script(default.Script):
|
||||
keybindings.KeyBinding(
|
||||
"c",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers["clearDynamicRowHeadersHandler"],
|
||||
2))
|
||||
|
||||
|
@ -202,7 +202,7 @@ class Script(script.Script):
|
||||
self.inputEventHandlers["shutdownHandler"] = \
|
||||
input_event.InputEventHandler(
|
||||
cthulhu.quitCthulhu,
|
||||
cmdnames.QUIT_CTHULHU)
|
||||
cmdnames.QUIT_ORCA)
|
||||
|
||||
self.inputEventHandlers["preferencesSettingsHandler"] = \
|
||||
input_event.InputEventHandler(
|
||||
@ -721,7 +721,7 @@ class Script(script.Script):
|
||||
|
||||
########################################################################
|
||||
# #
|
||||
# INPUT EVENT HANDLERS (AKA CTHULHU COMMANDS) #
|
||||
# INPUT EVENT HANDLERS (AKA ORCA COMMANDS) #
|
||||
# #
|
||||
########################################################################
|
||||
|
||||
|
@ -223,7 +223,7 @@ class Utilities(script_utilities.Utilities):
|
||||
return False
|
||||
|
||||
if len(event.event_string) != 1 \
|
||||
or event.modifiers & keybindings.CTHULHU_CTRL_MODIFIER_MASK:
|
||||
or event.modifiers & keybindings.ORCA_CTRL_MODIFIER_MASK:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
@ -149,14 +149,14 @@ class Script(default.Script):
|
||||
keybindings.KeyBinding(
|
||||
"a",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers.get("togglePresentationModeHandler")))
|
||||
|
||||
keyBindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"a",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers.get("enableStickyFocusModeHandler"),
|
||||
2))
|
||||
|
||||
@ -164,7 +164,7 @@ class Script(default.Script):
|
||||
keybindings.KeyBinding(
|
||||
"a",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers.get("enableStickyBrowseModeHandler"),
|
||||
3))
|
||||
|
||||
@ -186,7 +186,7 @@ class Script(default.Script):
|
||||
keybindings.KeyBinding(
|
||||
key,
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers.get("moveToMouseOverHandler")))
|
||||
|
||||
return keyBindings
|
||||
|
@ -231,21 +231,21 @@ class SpeechAndVerbosityManager:
|
||||
keybindings.KeyBinding(
|
||||
"s",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("toggleSilenceSpeechHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"v",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("toggleSpeechVerbosityHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"F11",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("toggleTableCellReadModeHandler")))
|
||||
|
||||
return bindings
|
||||
|
@ -276,7 +276,7 @@ class SpeechServer(speechserver.SpeechServer):
|
||||
|
||||
msg = (
|
||||
f"SPEECH DISPATCHER: {prefix}\n"
|
||||
f"CTHULHU rate {self._current_voice_properties.get(ACSS.RATE)}, "
|
||||
f"ORCA rate {self._current_voice_properties.get(ACSS.RATE)}, "
|
||||
f"pitch {self._current_voice_properties.get(ACSS.AVERAGE_PITCH)}, "
|
||||
f"volume {self._current_voice_properties.get(ACSS.GAIN)}, "
|
||||
f"language {self._get_language_and_dialect(family)[0]}, "
|
||||
|
@ -683,7 +683,7 @@ class StructuralNavigation:
|
||||
keybindings.KeyBinding(
|
||||
"z",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self.inputEventHandlers["toggleStructuralNavigationHandler"]))
|
||||
|
||||
for structuralNavigationObject in self.enabledObjects.values():
|
||||
|
@ -120,14 +120,14 @@ class WhereAmIPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"f",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("readCharAttributesHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"e",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("present_default_button")))
|
||||
|
||||
bindings.add(
|
||||
@ -141,7 +141,7 @@ class WhereAmIPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"KP_Enter",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("getTitleHandler"),
|
||||
1))
|
||||
|
||||
@ -149,7 +149,7 @@ class WhereAmIPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"KP_Enter",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("getStatusBarHandler"),
|
||||
2))
|
||||
|
||||
@ -180,7 +180,7 @@ class WhereAmIPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"Up",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_SHIFT_MODIFIER_MASK,
|
||||
keybindings.ORCA_SHIFT_MODIFIER_MASK,
|
||||
self._handlers.get("whereAmISelectionHandler")))
|
||||
|
||||
return bindings
|
||||
@ -194,14 +194,14 @@ class WhereAmIPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"f",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("readCharAttributesHandler")))
|
||||
|
||||
bindings.add(
|
||||
keybindings.KeyBinding(
|
||||
"e",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("present_default_button")))
|
||||
|
||||
bindings.add(
|
||||
@ -215,7 +215,7 @@ class WhereAmIPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"slash",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("getTitleHandler"),
|
||||
1))
|
||||
|
||||
@ -223,7 +223,7 @@ class WhereAmIPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"slash",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("getStatusBarHandler"),
|
||||
2))
|
||||
|
||||
@ -231,7 +231,7 @@ class WhereAmIPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"Return",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("whereAmIBasicHandler"),
|
||||
1))
|
||||
|
||||
@ -239,7 +239,7 @@ class WhereAmIPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"Return",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_MODIFIER_MASK,
|
||||
keybindings.ORCA_MODIFIER_MASK,
|
||||
self._handlers.get("whereAmIDetailedHandler"),
|
||||
2))
|
||||
|
||||
@ -254,7 +254,7 @@ class WhereAmIPresenter:
|
||||
keybindings.KeyBinding(
|
||||
"Up",
|
||||
keybindings.defaultModifierMask,
|
||||
keybindings.CTHULHU_SHIFT_MODIFIER_MASK,
|
||||
keybindings.ORCA_SHIFT_MODIFIER_MASK,
|
||||
self._handlers.get("whereAmISelectionHandler")))
|
||||
|
||||
return bindings
|
||||
|
@ -1,4 +1,4 @@
|
||||
CTHULHU TEST HARNESS:
|
||||
ORCA TEST HARNESS:
|
||||
------------------
|
||||
|
||||
This document provides a very brief description of the Cthulhu test
|
||||
|
Loading…
Reference in New Issue
Block a user