sync
This commit is contained in:
parent
c186314ac4
commit
5936465037
59
TODO v2.0
59
TODO v2.0
@ -3,7 +3,14 @@ Things needing little knowledge are marked with "(Easy for contribution)". so ju
|
|||||||
[] = ToDo
|
[] = ToDo
|
||||||
[W] = WIP
|
[W] = WIP
|
||||||
[X] = Done
|
[X] = Done
|
||||||
|
[S] = Stopped
|
||||||
|
|
||||||
|
BUGS:
|
||||||
|
[] Sometimes Numblock hangs and make shortcuts not detect (critical)
|
||||||
|
[] PTY attribtues not all available at beginning just to current curser (normal)
|
||||||
|
[] review can run out of screen in PTY pressing next char (normal)
|
||||||
|
[W] Hilight Tracking not accurate
|
||||||
|
[W] make PTY better react to shortcuts when a lot of output apears
|
||||||
|
|
||||||
Cleanups:
|
Cleanups:
|
||||||
[] Migrate *Data.py to classes and use getter/setter (Easy for contribution)
|
[] Migrate *Data.py to classes and use getter/setter (Easy for contribution)
|
||||||
@ -28,7 +35,7 @@ General (Easy for contribution)
|
|||||||
Imporove attribute handling
|
Imporove attribute handling
|
||||||
[X] improve attributes_curr_char (Easy for contribution)
|
[X] improve attributes_curr_char (Easy for contribution)
|
||||||
[X] add an attribute sound (Easy for contribution)
|
[X] add an attribute sound (Easy for contribution)
|
||||||
[W] beep on cursor/ review by char (capital wins) (Easy for contribution)
|
[X] beep on cursor/ review by char (capital wins) (Easy for contribution)
|
||||||
[W] beep on review by word (once for multiple, capital wins) (Easy for contribution)
|
[W] beep on review by word (once for multiple, capital wins) (Easy for contribution)
|
||||||
[W] configurable (by char, by word, none) (Easy for contribution)
|
[W] configurable (by char, by word, none) (Easy for contribution)
|
||||||
[W] make heiglight tracking more accurate
|
[W] make heiglight tracking more accurate
|
||||||
@ -74,28 +81,12 @@ Braille Support:
|
|||||||
https://wiki.gnome.org/Attic/LSR/ScratchPad/Braille/BrlAPI
|
https://wiki.gnome.org/Attic/LSR/ScratchPad/Braille/BrlAPI
|
||||||
https://github.com/google/brailleback/blob/master/third_party/brltty/Bindings/Python/brlapi.pyx
|
https://github.com/google/brailleback/blob/master/third_party/brltty/Bindings/Python/brlapi.pyx
|
||||||
|
|
||||||
Driver (screen, input):
|
|
||||||
[W] PTY Screen driver (to use gnome-terminal and other terminal emulators)
|
|
||||||
[X] emulation
|
|
||||||
[X] basic reading
|
|
||||||
[X] detect colum/ lines
|
|
||||||
[X] resize on colum / line change
|
|
||||||
[X] make shell command configurable (or detect it)
|
|
||||||
[X] stop emulation properly
|
|
||||||
[X] attributes
|
|
||||||
[X] unify hilgight tracking
|
|
||||||
[X] make pasteing text work again
|
|
||||||
[X] make double tap work again
|
|
||||||
https://docs.python.org/3.2/library/pty.html
|
|
||||||
http://sqizit.bartletts.id.au/2011/02/14/pseudo-terminals-in-python/
|
|
||||||
https://blog.konpat.me/pythons-pseudo-terminal-pty-examples/
|
|
||||||
|
|
||||||
[] ATK input driver (don't grab on graphical interface)
|
[] ATK input driver (don't grab on graphical interface)
|
||||||
https://git.linux-a11y.org/AIT/pyatspi2/src/master/examples/keypress.py
|
https://git.linux-a11y.org/AIT/pyatspi2/src/master/examples/keypress.py
|
||||||
|
|
||||||
Driver (speech):
|
Driver (speech):
|
||||||
[] talkey driver
|
[S] talkey driver ( verry unresponsive for espeak in linux)
|
||||||
[W] emacspeak driver
|
[S] emacspeak driver (breaks for a whole screen)
|
||||||
https://pypi.python.org/pypi/ptyprocess#downloads
|
https://pypi.python.org/pypi/ptyprocess#downloads
|
||||||
[] Dectalk SpeechDriver (Easy for contribution, device needed - i dont own one)
|
[] Dectalk SpeechDriver (Easy for contribution, device needed - i dont own one)
|
||||||
https://github.com/tvraman/emacspeak/blob/master/servers/obsolete/python/dectalk.py
|
https://github.com/tvraman/emacspeak/blob/master/servers/obsolete/python/dectalk.py
|
||||||
@ -104,19 +95,6 @@ Settings:
|
|||||||
[] write settings (Easy for contribution)
|
[] write settings (Easy for contribution)
|
||||||
[] menue for settings configuration (Easy for contribution)
|
[] menue for settings configuration (Easy for contribution)
|
||||||
|
|
||||||
Application Profiles (low priority):
|
|
||||||
- reimplement process detection without subprocessing
|
|
||||||
- fenrir is not able to detect the current application inside of screen.
|
|
||||||
ps -e -H -o pid,pgrp,ppid,tty,cmd
|
|
||||||
http://stackoverflow.com/questions/24861351/how-to-detect-if-python-script-is-being-run-as-a-background-process/24862213
|
|
||||||
fd = os.open("/dev/tty5", os.O_RDONLY )
|
|
||||||
os.tcgetpgrp(fd)
|
|
||||||
- add perApplicationTrigger trigger
|
|
||||||
per application commands
|
|
||||||
per application onScreenChange
|
|
||||||
per application onInput
|
|
||||||
- per application shortcuts
|
|
||||||
|
|
||||||
-----------DONE----------------
|
-----------DONE----------------
|
||||||
Cleanups:
|
Cleanups:
|
||||||
[X] re.sub(' +,' ',text) -> text.lstrip()? check this?
|
[X] re.sub(' +,' ',text) -> text.lstrip()? check this?
|
||||||
@ -146,7 +124,18 @@ Braille Support:
|
|||||||
Driver:
|
Driver:
|
||||||
[X] evdev InputDriver
|
[X] evdev InputDriver
|
||||||
[X] grab/ ungrab devices on ignored screens
|
[X] grab/ ungrab devices on ignored screens
|
||||||
[X] PTY Input driver
|
Driver (screen, input):
|
||||||
|
[X] PTY Screen driver (to use gnome-terminal and other terminal emulators)
|
||||||
|
[X] emulation
|
||||||
|
[X] basic reading
|
||||||
|
[X] detect colum/ lines
|
||||||
|
[X] resize on colum / line change
|
||||||
|
[X] make shell command configurable (or detect it)
|
||||||
|
[X] stop emulation properly
|
||||||
|
[X] attributes
|
||||||
|
[X] unify hilgight tracking
|
||||||
|
[X] make pasteing text work again
|
||||||
|
[X] make double tap work again
|
||||||
[X] new event for byte shortcuts (escape sequences)
|
[X] new event for byte shortcuts (escape sequences)
|
||||||
[X] create driver
|
[X] create driver
|
||||||
[X] handle byte shortcuts
|
[X] handle byte shortcuts
|
||||||
@ -156,6 +145,10 @@ Driver:
|
|||||||
[X] create keyboard layout
|
[X] create keyboard layout
|
||||||
[X]set flag that it is used in emulation
|
[X]set flag that it is used in emulation
|
||||||
[X] write/ consume them (controll it at all)
|
[X] write/ consume them (controll it at all)
|
||||||
|
https://docs.python.org/3.2/library/pty.html
|
||||||
|
http://sqizit.bartletts.id.au/2011/02/14/pseudo-terminals-in-python/
|
||||||
|
https://blog.konpat.me/pythons-pseudo-terminal-pty-examples/
|
||||||
|
|
||||||
[X] make generic speech driver default
|
[X] make generic speech driver default
|
||||||
[X] pyttsx3 speech driver
|
[X] pyttsx3 speech driver
|
||||||
- get information already in watchdogs insteed of mainloop (use eventloop to transport)
|
- get information already in watchdogs insteed of mainloop (use eventloop to transport)
|
||||||
|
22
TODOv3.0
Normal file
22
TODOv3.0
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
ToDo list for Fenrir Version 3.0
|
||||||
|
Things needing little knowledge are marked with "(Easy for contribution)". so just start with those :).
|
||||||
|
[] = ToDo
|
||||||
|
[W] = WIP
|
||||||
|
[X] = Done
|
||||||
|
[S] = Stopped
|
||||||
|
|
||||||
|
__TOD___
|
||||||
|
Application Profiles (low priority):
|
||||||
|
- reimplement process detection without subprocessing
|
||||||
|
- fenrir is not able to detect the current application inside of screen.
|
||||||
|
ps -e -H -o pid,pgrp,ppid,tty,cmd
|
||||||
|
http://stackoverflow.com/questions/24861351/how-to-detect-if-python-script-is-being-run-as-a-background-process/24862213
|
||||||
|
fd = os.open("/dev/tty5", os.O_RDONLY )
|
||||||
|
os.tcgetpgrp(fd)
|
||||||
|
- add perApplicationTrigger trigger
|
||||||
|
per application commands
|
||||||
|
per application onScreenChange
|
||||||
|
per application onInput
|
||||||
|
- per application shortcuts
|
||||||
|
|
||||||
|
___DONE___
|
@ -18,9 +18,10 @@ class command():
|
|||||||
return _('Reads attributes of current cursor position')
|
return _('Reads attributes of current cursor position')
|
||||||
def run(self):
|
def run(self):
|
||||||
cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor()
|
cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor()
|
||||||
|
try:
|
||||||
attributes = self.env['runtime']['attributeManager'].getAttributeByXY( cursorPos['x'], cursorPos['y'])
|
attributes = self.env['runtime']['attributeManager'].getAttributeByXY( cursorPos['x'], cursorPos['y'])
|
||||||
|
except Exception as e:
|
||||||
|
print(e)
|
||||||
attributeFormatString = self.env['runtime']['settingsManager'].getSetting('general', 'attributeFormatString')
|
attributeFormatString = self.env['runtime']['settingsManager'].getSetting('general', 'attributeFormatString')
|
||||||
attributeFormatString = self.env['runtime']['attributeManager'].formatAttributes(attributes, attributeFormatString)
|
attributeFormatString = self.env['runtime']['attributeManager'].formatAttributes(attributes, attributeFormatString)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user