Commit Graph

283 Commits

Author SHA1 Message Date
Luna Nova
ee6b48ac32
Add github actions workflows (#267)
* Run linters and unit tests with github actions

* Reformat with black, 22.1.0 (compiled: yes)

* Remove native deps as should no longer be needed

* Remove pylint from workflows

* Remove unused Gtk dependency in test_daemon.py

* Install subset of python deps with apt-get for ci
2022-02-07 17:52:41 +01:00
sezanzeb
162e7fcbf7 Avoiding GObject dependencies for unit tests 2022-02-06 23:52:27 +01:00
jonasBoss
3732d9e1e6
#278 Fix compatability with python 3.8 (#280) 2022-02-02 12:30:09 +01:00
jonasBoss
b3e1e4ca19
Refactorings (#275) 2022-01-31 20:58:37 +01:00
sezanzeb
3fe52d9c99 Moved numlock test to integration folder, black 2022-01-31 14:02:03 +01:00
sezanzeb
1f92ac086b Avoiding some redundant calls in the GUI, improved test lags 2022-01-31 13:42:42 +01:00
sezanzeb
753ce5319f Logging process name and coloring logs based on file path 2022-01-18 21:20:42 +01:00
sezanzeb
dda3bd2d81 Removed unused imports, updated badges, updated test instructions 2022-01-18 01:08:38 +01:00
sezanzeb
271c250337 Split tests into unit and integration 2022-01-18 00:55:01 +01:00
Luna Nova
e316c6f36c
Use non-zero exit code if tests fail (#265) 2022-01-18 00:35:31 +01:00
Luna Nova
43731875ad
Use tempfiles instead of hardcoded /tmp (#264) 2022-01-18 00:32:13 +01:00
jonasBoss
5588cbf3c5
the ui no longer records keycodes if the preset is active (#257)
* the ui no longer records keycodes if the preset is active

since there can be multiple evdev devices in the same grup it was possible to record keycodes even if the injection was active. This was confusing behaviour.

* updated docstring

* fixed test_can_modify_mapping
2022-01-16 11:03:07 +01:00
sezanzeb
d6de1bbd3d One more check for invalid cwd setups 2022-01-15 15:08:05 +01:00
sezanzeb
60960aa095 Made tests in PyCharm work 2022-01-15 15:03:21 +01:00
sezanzeb
334d73b437 increased timeout for TestDBusDaemon 2022-01-14 18:55:11 +01:00
jonasBoss
3cd30c4bf3
Independent uinput (#228) 2022-01-14 18:50:57 +01:00
sezanzeb
47bcefa7f3 #109 New mapping editor with multiline input and improved autocompletion 2022-01-10 20:37:22 +01:00
sezanzeb
063e4bc8b4 Updated copyright year 2022-01-01 13:52:33 +01:00
Tobi
a2ed3696ca
Renamed to Input Remapper 2022-01-01 13:00:49 +01:00
sezanzeb
d3d1d9124f #247 Fixed autoload after rename 2021-12-31 11:59:06 +01:00
jonasBoss
4713511035
Refactored Migrations (#232)
* refactored migrations

moved migration functions to a common migrations file

* moved migration tests to test_migrations.py

* Simplify all_presets() in keymapper/migrations.py

Co-authored-by: Tobi <to.213692@protonmail.ch>

* simplifications/style improvements in migrations.py

Co-authored-by: Tobi <to.213692@protonmail.ch>

* migrations now use version number

and we have some new tests for migrations

* Added docstrings and updated migrations()

* badges, 1.2.2

Co-authored-by: Tobi <to.213692@protonmail.ch>
Co-authored-by: sezanzeb <proxima@sezanzeb.de>
2021-12-15 15:06:23 +01:00
sezanzeb
716b4bb921 #222 Showing the keycode instead of "unknown" 2021-12-02 22:43:14 +01:00
sezanzeb
ef3970f33e #197 Not attempting to autoload if no user is logged in yet 2021-11-22 23:19:59 +01:00
sezanzeb
0017531b22 #197 Lazy loading groups and system_mapping 2021-11-21 21:45:02 +01:00
sezanzeb
d3c955fe04 Renamed EventProducer to JoystickToMouse 2021-11-21 14:58:16 +01:00
sezanzeb
e13780a208 #197 Not running the SharedDict for macros in key-mapper-control 2021-11-20 13:41:34 +01:00
sezanzeb
320fd37ca7 #197 Improved logs 2021-11-20 13:20:46 +01:00
sezanzeb
a150b06748 #197 timeouts, service Requires, added key-mapper-control debug log file 2021-11-14 14:32:22 +01:00
sezanzeb
10700d8ece #200 Fix wheel macro timeout 2021-11-07 10:38:06 +01:00
sezanzeb
1d79ad369b #197 Using timeouts for calls to the daemon in key-mapper-control 2021-11-04 11:41:13 +01:00
sezanzeb
f9e7ef1445 #197 Services started via sudo know the correct config path 2021-10-22 16:07:16 +02:00
sezanzeb
92bb4b1471 calling set_config_dir when the gui starts the service 2021-10-22 15:37:04 +02:00
sezanzeb
2803bb841e 1.2.1 2021-10-20 23:05:50 +02:00
sezanzeb
0f2129712c #194 Fixes nested if_tap macros 2021-10-16 11:38:54 +02:00
sezanzeb
1b2373133e Support for comments in macros 2021-10-07 00:10:11 +02:00
sezanzeb
b233e93eae Support for strings in macros 2021-10-06 01:12:52 +02:00
sezanzeb
79f11b4e34 #183 timeout for if_single, TestMacros split 2021-10-02 22:42:32 +02:00
sezanzeb
3dcacfeced SharedDict unittests 2021-10-02 20:16:17 +02:00
sezanzeb
f5f1e2048a Checking for problematic variable names in set macros 2021-10-02 20:16:07 +02:00
sezanzeb
26d4e04104 keyword arguments, $variables, improved macro docs 2021-10-02 00:55:10 +02:00
sezanzeb
f812710bd0 macros.py split, improved type checking 2021-09-29 23:00:50 +02:00
sezanzeb
fc57ccb361 update badges, fixed and extended test_mapping 2021-09-29 21:22:04 +02:00
sezanzeb
e82f48ac18 split state.py 2021-09-29 20:50:32 +02:00
sezanzeb
0726ccfea3 #183 #120 #49 if_single and if_tap 2021-09-29 20:17:45 +02:00
sezanzeb
b44861b396 black 2021-09-26 12:44:56 +02:00
Pablo Lopez-Jamar
444342f5cc Use the appropriate user home directory. 2021-09-01 08:59:38 -07:00
sezanzeb
ca1b14d55c fixing pipes for systems with multiple users 2021-09-03 16:37:15 +02:00
sezanzeb
0d990fc7a5 #168 add xmodmap fixture 2021-10-02 13:04:17 +02:00
sezanzeb
408beeff7c renamed to TestUser 2021-08-17 23:11:26 +02:00
sezanzeb
2991aa8bc9 test_user.py 2021-08-17 23:06:14 +02:00