Commit Graph

991 Commits

Author SHA1 Message Date
Storm Dragon
4ed32299f9 Revert "try to improve the differ"
This reverts commit db7bc95d1a.

Reverted changes.
2016-10-23 20:01:18 -04:00
Storm Dragon
5a46b3320e Revert "change the sorting of events may not be a good idea"
This reverts commit 1fa9259bd7.
2016-10-23 19:58:04 -04:00
chrys87
1fa9259bd7 change the sorting of events may not be a good idea 2016-10-23 23:43:39 +02:00
chrys87
05f44f9fb9 optimize input 2016-10-23 18:44:09 +02:00
chrys
db7bc95d1a try to improve the differ 2016-10-23 09:30:47 +02:00
chrys
4ca904f8ed Merge branch 'master' into wordWrappingEndOfScreenBell 2016-10-23 01:58:02 +02:00
chrys
269a96d2ca numlock/capslock/scrolllock should interrupt, not append 2016-10-23 01:57:45 +02:00
chrys
28494517e6 merge 2016-10-22 20:31:37 +02:00
chrys
5e70179b8c announce toggle of Numlock, Capslock and Scrolllock 2016-10-22 20:27:58 +02:00
chrys
1747b9b752 Revert "move scripts back to screenupdate trigger"
This reverts commit b08a07bfab.
2016-10-22 13:14:50 +02:00
chrys
b08a07bfab move scripts back to screenupdate trigger 2016-10-22 13:12:51 +02:00
chrys
457c6aa769 add some more debug 2016-10-22 12:58:34 +02:00
chrys
483fd21952 add debut to speech-drivers 2016-10-22 12:55:21 +02:00
chrys
141377b7b8 word start produce a delta of 2 |c |, move the echos back to input 2016-10-22 12:36:28 +02:00
chrys
e3f736cb4f another drunken try 2016-10-22 03:34:14 +02:00
chrys
2c0e6907db try to fix race while echo and delete_echo 2016-10-22 03:27:18 +02:00
chrys
591511fc75 port onInput to new return values 2016-10-21 17:21:39 +02:00
chrys
4a46858bd0 Merge branch 'master' into wordWrappingEndOfScreenBell 2016-10-21 16:02:01 +02:00
chrys87
8731955ac2 Rename cursor_end_of_line.py to cursor_read_to_end_of_line.py 2016-10-21 14:15:20 +02:00
chrys87
5fd6ed2bbc Create cursor_end_of_line.py 2016-10-21 14:05:36 +02:00
chrys
60d0a9cc4c Merge branch 'master' into wordWrappingEndOfScreenBell 2016-10-21 01:16:01 +02:00
chrys
8846527639 new commands: cursor_line and cursor_column for announce current position 2016-10-21 01:14:46 +02:00
chrys
6668832eda port onInput to new parameters and modolarize some stuff 2016-10-20 21:52:36 +02:00
chrys
74aee822a3 clean up broken word wrap, add , endOfScreen return value 2016-10-20 21:10:49 +02:00
chrys
763a1a26b5 clean up broken word wrap, add , endOfScreen return value 2016-10-20 21:10:39 +02:00
chrys
db3e5f912f some more debug 2016-10-20 14:25:51 +02:00
chrys
8e3deef6e4 add some debug to input handling 2016-10-20 14:23:10 +02:00
chrys
3150893dc6 fix debug 2016-10-20 14:02:16 +02:00
chrys
70e79224b4 sync 2016-10-20 11:33:38 +02:00
chrys
df3c574201 sync 2016-10-20 11:31:18 +02:00
chrys
e8bb7e6b40 sync 2016-10-20 11:30:35 +02:00
chrys87
d3f46fe3cf Update punctuationManager.py 2016-10-20 10:11:29 +02:00
chrys87
13a184cc31 Update punctuation.py 2016-10-20 10:04:20 +02:00
jticket1024
4b3dbd65ef General source tree cleanup. 2016-10-19 14:29:18 -08:00
jticket1024
9359e264c1 Changed pid file location. 2016-10-19 14:16:32 -08:00
chrys
022d09ff44 get initial daemonize working 2016-10-19 23:53:09 +02:00
chrys
553317d34c remove X from fenrir.py 2016-10-19 23:35:14 +02:00
chrys
686958ca02 rename fenrir-daemon 2016-10-19 23:32:52 +02:00
chrys
12765c4039 rename pid to pidfile 2016-10-19 23:31:25 +02:00
chrys
a973d5515d add simple daeomon wrapper 2016-10-19 23:29:40 +02:00
chrys
3c438b5262 Revert "remove debug file on start"
This reverts commit f7ce113557.
2016-10-19 22:52:32 +02:00
chrys
f7ce113557 remove debug file on start 2016-10-19 22:49:40 +02:00
chrys
e3ce8c31f8 improve debugging 2016-10-19 22:29:06 +02:00
chrys
e52f8fe685 fallback for script folder to config/scripts, remove debug code that runs any script on startup lol 2016-10-19 20:58:56 +02:00
chrys
1aabb253bc filter out bogous evdev devices 2016-10-19 20:33:23 +02:00
chrys
3aa80e41d6 allow multitble devices for named keyboard devices 2016-10-19 17:02:40 +02:00
chrys
8067702858 run script threaded 2016-10-19 14:59:34 +02:00
chrys
707b120cba add sanity check for valid keys 2016-10-19 13:06:57 +02:00
chrys
e44bbc6c07 decode subprocess call correctly 2016-10-18 22:24:10 +02:00
chrys
6799a558e5 make fenrir find /usr/share/sounds/fenrir/ soundpath 2016-10-18 22:14:14 +02:00
chrys
92677eaef4 fix emoticon toggle 2016-10-18 20:54:41 +02:00
chrys
096b477d16 fix typo in soundpath 2016-10-18 20:38:12 +02:00
chrys
ce93c54812 add initial script support 2016-10-18 20:25:27 +02:00
chrys
c99c45436e load scripts 2016-10-18 20:08:16 +02:00
chrys
02ef75d966 look at /usr/share/sounds/fenrir for sound 2016-10-18 19:42:04 +02:00
chrys
f1365f21ae polish subprocess command 2016-10-18 19:16:58 +02:00
chrys
227bd99fb4 add subprcess_command for external calling 2016-10-18 19:04:04 +02:00
chrys
c5642c4118 add KEY_SCRIPT, and make fenrir load it from settings. Fenrir also understand its press currently 2016-10-18 17:58:37 +02:00
chrys
b144ec06a7 improve trigger 2016-10-18 15:32:07 +02:00
chrys
fc0eec157f remove unused command 2016-10-18 15:30:52 +02:00
chrys
3f0d8ea671 sync with my repo 2016-10-18 15:25:55 +02:00
chrys
bd4cbce395 filter out invalid shortcuts 2016-10-18 15:23:51 +02:00
chrys
d4402d13cf add pause after line 2016-10-18 15:17:20 +02:00
chrys
f42eafd816 more pause tweaks 2016-10-18 14:10:56 +02:00
chrys
fe264e8d96 tell the TTS system the pause without messinng config files 2016-10-18 14:03:10 +02:00
chrys
d8f4446ab0 more tweaks for pause 2016-10-18 12:10:27 +02:00
chrys
f09fe39b61 improve punctuation manager for pause 2016-10-18 11:40:37 +02:00
chrys
bf7598723a add pause to punctuation 2016-10-18 11:27:26 +02:00
chrys
b36d19ca78 do not allert on ' and ´ in spellchecker 2016-10-18 10:46:22 +02:00
chrys
db6c21625d announce capitals in phonetic 2016-10-18 10:28:48 +02:00
chrys
1eed2e3479 add nex/prev word phonetic 2016-10-17 23:08:19 +02:00
chrys
e65f880dfb add next/pref char phoneteic 2016-10-17 20:11:56 +02:00
chrys
ccc4a2776a fix some fallback settings 2016-10-16 23:03:50 +02:00
chrys
c80f523ce5 dont overflow double tap -> reset to 1 2016-10-16 22:27:12 +02:00
chrys
1a9959727f make punctuation configurable, add emoticons 2016-10-16 22:02:42 +02:00
chrys
f8da0af676 fix spellchecking noise 2016-10-16 21:41:15 +02:00
chrys
3c80e5c0a4 rename doubleTapDelay to doubleTapTimeout 2016-10-13 00:35:03 +02:00
chrys
1e1510dd54 leve the old code until the new one is better tested 2016-10-13 00:30:07 +02:00
chrys
26ab1701d2 Merge branch 'master' of github.com:chrys87/fenrir 2016-10-13 00:11:40 +02:00
chrys
c80e93abab respect doubleTapDelay 2016-10-13 00:05:05 +02:00
chrys
876be9a6d3 improve debug 2016-10-12 23:14:58 +02:00
chrys
f785b3e6db replace own implementation of from_device by new mainstream function 2016-10-12 22:56:02 +02:00
chrys
7d457e6d54 typo 2016-10-12 22:35:00 +02:00
chrys
f42ae05e55 typo 2016-10-12 22:33:41 +02:00
chrys
d6e9676c8c typo 2016-10-12 22:27:29 +02:00
chrys
f6912ce14a merge 2016-10-12 22:26:19 +02:00
root
bc396a9223 add toggle_emoticon 2016-10-12 22:22:02 +02:00
chrys
f817c12618 fix custom dict 2016-10-12 22:14:18 +02:00
chrys
fcf212d715 harderner config importer 2016-10-12 21:45:27 +02:00
root
7d0a465ed7 initial punctuation and dict import 2016-10-12 21:37:19 +02:00
root
0c0564012c initial punctuation and dict import 2016-10-12 21:36:11 +02:00
Storm Dragon
78cc1a76e5 Added some more emoticons. 2016-10-09 18:36:48 -04:00
chrys
adec95c8c2 ignore screenChange on fenrir start 2016-10-08 15:08:53 +02:00
chrys
3212d1da26 fix brlapi typo 2016-10-08 14:58:48 +02:00
chrys
4bf61dc986 restrict len for tests 2016-10-08 13:18:30 +02:00
chrys
fa45cdf5da enter/ leve braille screen correctly 2016-10-08 12:15:38 +02:00
chrys
adc5384249 do cleanups 2016-10-08 11:45:17 +02:00
chrys
b52784d860 do some cleanups in braille 2016-10-08 04:01:39 +02:00
chrys
fcf2a61dbc inital try for braille 2016-10-08 03:22:56 +02:00
chrys
562fa78795 set second mark magical when copy to clipboard 2016-10-07 23:01:43 +02:00
chrys
8041e8809f boil out history 2016-10-06 07:50:46 +02:00
chrys
2f1d2ba13f boil out history 2016-10-06 07:46:09 +02:00
chrys
da7d2dda62 boil out history 2016-10-06 07:42:06 +02:00
chrys
317dd303b7 fix tintin history 2016-10-06 06:56:57 +02:00
chrys
8d500f1470 fix clipboard 2016-10-05 23:28:52 +02:00
chrys
7bebe30744 upload initial history 2016-10-05 23:12:42 +02:00
chrys
ee7eb3a9c6 upload initial history 2016-10-05 23:11:43 +02:00
chrys
f56847797f history 2016-10-05 22:12:31 +02:00
chrys
ef71fb385c fix setup.py with script 2016-10-05 20:04:14 +02:00
chrys87
913b870360 Update fenrir.py 2016-10-05 11:22:41 +02:00
chrys87
804cfca9b6 Update commandManager.py 2016-10-05 11:18:16 +02:00
chrys87
a10fa156ef Update settingsManager.py 2016-10-05 11:17:51 +02:00
chrys87
491b981f03 Update settingsManager.py 2016-10-05 11:14:01 +02:00
chrys87
203266af18 Update commandManager.py 2016-10-05 11:12:19 +02:00
chrys
3428192499 update setup.py 2016-10-04 23:46:25 +02:00
chrys
a6d101327b update setup.py 2016-10-04 23:46:02 +02:00
chrys
98fb60df60 improve clipboard 2016-10-04 23:30:47 +02:00
chrys
c49a1b318a create wav sound theme, make more use of soundicons 2016-10-04 23:15:38 +02:00
Jeremiah Ticket
7fe60f819f Merge branch 'master' of https://github.com/chrys87/fenrir 2016-10-04 12:22:58 -08:00
Jeremiah Ticket
d1c51266ab Hopefully add __init__.py files in all sub folders of src/fenrir/ 2016-10-04 12:18:37 -08:00
chrys
1e3719ebff add get first char in line, fix cycle punctuation 2016-10-04 21:53:29 +02:00
Jeremiah Ticket
40b18c9c49 renamed fenrir-package to fenrir to satisfy packaging requirements. 2016-10-04 11:20:49 -08:00
Jeremiah Ticket
e8032a3b30 Revert "Renamed fenrir-package to fenrir to satisfy packaging deps."
This reverts commit 33edce7c82.
2016-10-04 11:18:09 -08:00
Jeremiah Ticket
33edce7c82 Renamed fenrir-package to fenrir to satisfy packaging deps. 2016-10-04 10:52:39 -08:00
chrys87
dfaf31ffb5 Update punctuationManager.py 2016-10-04 17:20:23 +02:00
chrys87
9017009a70 Rename cycle_punctuation_level.py to toggle_punctuation_level.py 2016-10-04 17:12:02 +02:00
chrys87
474a15c51d Create cycle_punctuation_level.py 2016-10-04 17:07:26 +02:00
chrys87
8e924249d4 Update punctuationManager.py 2016-10-04 17:00:08 +02:00
chrys87
5ce91abb5a create cyclePunctuation 2016-10-04 16:57:17 +02:00
chrys
9dd2ec0522 fix spellchekck 2016-10-03 20:05:36 +02:00
chrys
1576a41f34 ignore fenrir for spellcheck 2016-10-03 19:48:11 +02:00
chrys
ca1a6be58a tweak performance 2016-10-03 19:25:59 +02:00
chrys
9a844faa5e tweak performance 2016-10-03 19:21:14 +02:00
chrys
e7fb542980 ignore also shell buildins 2016-10-03 18:02:02 +02:00
chrys
682105b96d ignore commands that are in /bin /sbin and /usr/bin; remove debug print 2016-10-03 17:26:29 +02:00
chrys
d4b86d38f2 fix window mode 2016-10-03 01:34:46 +02:00
chrys
9c2ef357c8 improve app detection 2016-10-03 00:29:36 +02:00
chrys
0b7f58b654 improve app detection 2016-10-03 00:29:24 +02:00
chrys
94317eefac fix typo while restructure to isspace breaks prev word 2016-10-03 00:06:36 +02:00
chrys
0ec1a0e56d we dont want to use while(true) lol 2016-10-03 00:04:50 +02:00
chrys
f231f72cbe improve application detection and speed up 2016-10-03 00:01:52 +02:00
chrys
bc5bc3d1ef fix application detection, remove debugging print 2016-10-02 23:27:29 +02:00
chrys
90129d4161 fix application detection, remove debugging print 2016-10-02 23:24:50 +02:00
chrys
1c2d0caa56 ignore parameters, foldes, numeric, decimal and some more in spellcheck, replace strip == empty check with faster isspace 2016-10-02 22:10:27 +02:00
chrys
f6209f8b4c replace any nonused punctuation with space but grave, apostrophe, dot and comma in punctuationmanager 2016-10-02 21:44:07 +02:00
chrys
d63b21a50f Merge branch 'master' of github.com:chrys87/fenrir 2016-10-02 21:33:59 +02:00
chrys
7fab080d66 replace minus and underscore with space in punctuationmanager 2016-10-02 21:33:54 +02:00
Storm Dragon
b0692088b7 added bookmarks 2-10 2016-10-02 14:51:14 -04:00
Jeremiah Ticket
91c9260570 Edited phrasing 2016-10-02 10:28:51 -08:00
Jeremiah Ticket
0c3c8354ba Added more smileys and corrected others. 2016-10-02 10:15:36 -08:00
chrys
1d7ba49e92 add review_up and review_donw commands 2016-10-02 19:53:58 +02:00
chrys
0d2c095b62 add review_line_last_char 2016-10-02 18:08:21 +02:00
chrys
1720ab78e2 fix autoread Enable/disable command 2016-10-02 16:48:06 +02:00
chrys
c6562281da announce content of begin/end of line 2016-10-02 16:38:52 +02:00
chrys
3eb5fb0f47 name line begin/end commands more consistent 2016-10-02 16:25:53 +02:00
chrys
c6d6587d82 fix soundicons with different settingsroot 2016-10-02 14:34:19 +02:00
chrys
c56bde1c61 fix read screen after current cursor 2016-10-02 14:22:20 +02:00
chrys
41fe26d7a3 add review begin of line command 2016-10-02 14:19:22 +02:00
chrys
9b442c7dab add review to end of line command 2016-10-02 14:01:54 +02:00
chrys
e84956e48a update readme 2016-10-02 02:43:31 +02:00
chrys
988672d2d9 improve debugging 2016-10-01 18:07:51 +02:00
chrys
654794de61 add debug 2016-10-01 18:05:23 +02:00
chrys
fa33b21758 add more debug 2016-10-01 17:55:09 +02:00
chrys
182309c531 fix always replace colon with space for seperate words 2016-10-01 16:06:24 +02:00
chrys
cc2e5860c5 always replace colon with space for seperate words 2016-10-01 16:01:34 +02:00
chrys
2c539ba0f8 announce capital letters in keyecho, deleteecho, char review next,prev/current and arrow left right 2016-10-01 15:22:34 +02:00
Storm Dragon
2b93302f2c Merge branch 'master' of https://github.com/chrys87/fenrir
As usual, I didn't pull before pushing.
2016-09-30 22:19:21 -04:00
Storm Dragon
edc05d274b Added a 'most' setting for punctuation. Some now reads less punctuation than before, but still the important stuff. 2016-09-30 22:19:07 -04:00
chrys
9f85c0af57 reset review on screen change 2016-10-01 04:12:29 +02:00
chrys
d39db88efd fix irssi reading with empty screen 2016-10-01 03:55:30 +02:00
chrys
3eb380700f remove duplicate diff 2016-10-01 03:36:10 +02:00
root
b431af8413 clean up 2016-10-01 03:14:14 +02:00
chrys
ee24881169 respect device setting for keyboard values are AUTO, ALL, and a device name 2016-10-01 03:06:16 +02:00
chrys
dc6a635e1f respect grap keyboard setting 2016-10-01 02:54:56 +02:00
chrys
4b5d12c91d respect punctuation level in settings file, levels and dicts are not configurable now 2016-10-01 01:56:09 +02:00
chrys
aa5d438ab4 add prototype commands for announce capslock, scrolllock and numlock 2016-10-01 01:14:40 +02:00
chrys
442146aaba improve input commands, remove spellcheck while deleting 2016-10-01 01:00:12 +02:00
chrys
9afe310620 wait for input, move many scripts to input trigger 2016-10-01 00:51:32 +02:00
chrys
f1c3e25d91 dont interrupt sound 2016-10-01 00:16:26 +02:00
chrys
7ac04d992b reduce regex calculation to improve speed 2016-10-01 00:11:32 +02:00
chrys
37d1d3f6c5 fix another window related bug 2016-09-30 23:38:51 +02:00
chrys
202717026e fix another window related bug 2016-09-30 23:37:22 +02:00
chrys
8014a46825 get rid of window mode 2016-09-30 23:35:12 +02:00
chrys
6b5f0f49f2 interrupt on screen change 2016-09-30 23:24:04 +02:00
chrys
2a373306c5 try to improve speed 2016-09-30 23:21:30 +02:00
chrys87
01f28b28f6 Update punctuationManager.py 2016-09-30 14:18:28 +02:00
chrys
33491136bf add some emoticons 2016-09-29 23:40:37 +02:00
chrys
24c1018314 add +*-/\@ to temporary hardcoded punctuation setting 2016-09-29 23:21:05 +02:00
chrys
187f45e868 add : and - to punctuation level 2016-09-29 23:12:56 +02:00
chrys
598ef8d96c fix playing change screen sound, directly bypass keypress on ignorescreen 2016-09-29 23:11:57 +02:00
chrys
51e5935e19 remove command repeat hack 2016-09-29 22:46:02 +02:00
chrys
8bedf94073 filter out unneeded events, improve interrupt commands 2016-09-29 22:34:44 +02:00
chrys
40b257f4e7 fix interrupt on keypress 2016-09-29 21:38:45 +02:00
chrys
fcea64865b Merge branch 'master' of github.com:chrys87/fenrir 2016-09-29 20:39:24 +02:00
chrys
0ee990eb62 fix punctuation inside of a word seperate the word 2016-09-29 20:35:53 +02:00
Jeremiah Ticket
1ef8ade7fc Recorrected semicolon. 2016-09-28 13:29:32 -08:00
Jeremiah Ticket
d409bd3e99 Corrected some grammar in the text and return. 2016-09-28 13:24:20 -08:00
Jeremiah Ticket
ad51b15f85 Corrected spelling in the inc_speech_rate command description. 2016-09-28 13:19:17 -08:00
Jeremiah Ticket
bf930d537e Added the equals sign to punctuation manager. 2016-09-28 13:15:40 -08:00
chrys
2fd167e510 Merge branch 'master' of github.com:chrys87/fenrir 2016-09-28 22:53:46 +02:00