Commit Graph
100 Commits
Author SHA1 Message Date
Tasos Sahanidis 43d86ce205 Release v0.4.3 2020-12-18 06:39:28 +02:00
Tasos Sahanidis b6012627b1 Update translations 2020-12-18 06:13:30 +02:00
Tasos Sahanidis c8d917df28 Remove unused variable 2020-12-18 04:11:32 +02:00
Tasos Sahanidis 58de191a8b Add config downgrade warning 2020-12-18 04:06:44 +02:00
Tasos Sahanidis 125ace80b0 Fix Qt 5.14 deprecations 2020-12-10 00:35:54 +02:00
Tasos Sahanidis 4bbde7ce51 Fix daemon warnings 2020-12-10 00:13:18 +02:00
Tasos Sahanidis 655083f0e2 Fix Qt 5.5 builds 2020-12-09 03:30:11 +02:00
Tasos Sahanidis fe8c9c73c4 Update greek translation 2020-12-09 02:43:13 +02:00
Tasos Sahanidis 1c140bb113 Update translation files 2020-12-09 01:45:11 +02:00
Tasos Sahanidis de7d646852 Merge branch 'xcb-profile-switch-v3' 2020-12-09 01:44:31 +02:00
Tasos Sahanidis 449f5cbe97 Squashed commit of the following:
commit 4dfe9ad09f9cae9b8ac3519bef5f770c48330ff7
Author: Tasos Sahanidis <[email protected]>
Date:   Wed Dec 9 01:35:24 2020 +0200

    Fix build errors without xcb

commit 4ac12f64fc28d5e7527a022722fd2e897210ffa1
Author: Tasos Sahanidis <[email protected]>
Date:   Tue Dec 8 23:55:34 2020 +0200

    Follow window title changes

commit 761213dbafdeaace4d34209334f5949e04efd4db
Author: Tasos Sahanidis <[email protected]>
Date:   Mon Dec 7 01:55:08 2020 +0200

    Enable drag and drop in eventmgr

commit 51976f702ab8779f16c24de1f834d3f0f43cb64c
Author: Tasos Sahanidis <[email protected]>
Date:   Mon Dec 7 01:46:57 2020 +0200

    Rewrite window info backend and redesign ui

commit e8c4843bede3a9ea2e1cc08946c7bbad89aed16a
Author: Tasos Sahanidis <[email protected]>
Date:   Fri Dec 4 20:28:22 2020 +0200

    Re-enable event mode switching on double click

commit d963b8f7d41b96e3be3a0e76a5ddaf9828a633d8
Author: Tasos Sahanidis <[email protected]>
Date:   Fri Dec 4 20:21:52 2020 +0200

    Add wayland warning to event manager

commit 8a87d8212f55007be5cbab0d99295ea8bcaaa8a0
Author: Tasos Sahanidis <[email protected]>
Date:   Fri Dec 4 19:19:47 2020 +0200

    Add floating eventmgr tableview

commit 935843e88fe3aa1048d5ba9db8c5951196afb9fe
Author: Tasos Sahanidis <[email protected]>
Date:   Wed Dec 2 19:46:02 2020 +0200

    Switch modes based on XCB focus
2020-12-09 01:42:09 +02:00
Tasos Sahanidis 608c0e190e Fix nightsword indentation in usb.c 2020-11-24 11:37:01 +02:00
Tasos Sahanidis 84e73e2f88 Silence unused result warning for SIGUSR2 handler 2020-11-24 07:17:17 +02:00
Tasos Sahanidis a8437ad0e2 Fix alignment warning in KStatusNotifierItem 2020-11-24 07:12:49 +02:00
Tasos Sahanidis c84d7decc7 Disable colour picker lockup warning 2020-11-21 23:08:20 +02:00
Tasos Sahanidis eef033f9dd Merge 'ckb-next-openaiken/nightsword-rgb' 2020-11-21 00:32:24 +02:00
Tasos Sahanidis d7ec4f55d1 Add nightsword to FW table 2020-11-21 00:31:39 +02:00
Tasos Sahanidis b9b258b4a4 Check for gpg SHA512 support 2020-11-20 21:24:46 +02:00
Tasos Sahanidis 60f5c3f092 Make QNetworkAccessManager non-static 2020-11-20 19:40:51 +02:00
Tasos Sahanidis d7bd30026a Finish up nightsword support 2020-11-20 03:56:27 +02:00
Tasos Sahanidis c2617d24a7 Run libpulse loop on the main thread
There were data races with the threaded loop and there was no real
reason to have the mute state libpulse loop on its own thread
2020-11-19 05:10:03 +02:00
Tasos Sahanidis 5c75afca10 Merge 'ckb-next-penguineer/source-mute-backend' 2020-11-16 21:12:14 +02:00
Tasos Sahanidis 542b4d894d Fix macrotablemodel clear() with len == 0 2020-11-16 04:58:18 +02:00
Tasos Sahanidis f15f5b027b Don't delete a malloc'd pointer in IdleTimer 2020-11-15 18:59:10 +02:00
Tasos Sahanidis 62e027bac4 Fix FW table and add signing script 2020-11-15 16:57:29 +02:00
Tasos Sahanidis 7480a2989b Rewrite the pipe animation's command parser
It can now handle cases where multiple commands have been sent while
waiting for the next frame to be requested.
2020-11-13 03:48:33 +02:00
Tasos Sahanidis aa6cf61037 Do not advertise macOS support 2020-11-13 00:46:19 +02:00
Tasos Sahanidis 85a863ca16 Merge branch 'macro-gui-improvements' 2020-10-26 03:23:14 +02:00
Tasos Sahanidis 1a697a6962 Update translations 2020-10-26 03:22:35 +02:00
Tasos Sahanidis cf05f05192 Rework macro code
GUI code has been completely rewritten and UI has been redesigned

Daemon no longer supports the global delay, and the command for it
is removed

Random delays are now supported for each key by specifying it as
min_max in the delay field

Various daemon issues regarding macros have been fixed, including
memory leaks
2020-10-26 03:20:29 +02:00
Tasos Sahanidis af369ce56f Add QuaZip 1.0 detection 2020-10-10 17:59:24 +03:00
Tasos Sahanidis 44686f686d Fix builds without mviz 2020-10-10 12:59:03 +03:00
Tasos Sahanidis e0d3cd5a7f Return if string is only spaces in strtrim 2020-10-07 23:13:36 +03:00
Tasos Sahanidis 877d884e52 Fix segfault with empty serial string 2020-10-07 23:09:35 +03:00
Tasos Sahanidis 65b9471ea7 Add reset command to daemon 2020-10-07 23:09:32 +03:00
Tasos Sahanidis b1ff8d6a27 Update FIRMWARE table with K55 fw 2020-10-07 20:57:44 +03:00
Tasos Sahanidis 7abbe536df Make more strings translatable 2020-09-20 20:48:38 +03:00
Tasos Sahanidis 524990e7ce Merge 'ckb-next-neeldug/jobs-env-var-quickinstall' 2020-09-20 17:22:09 +03:00
Tasos Sahanidis 2d515dca61 Fix ignoring multiple devs and leak 2020-09-18 02:08:07 +03:00
Tasos Sahanidis 08aaf7086e Add --ignore flag to daemon 2020-09-17 17:21:32 +03:00
Tasos Sahanidis 569a9f3af3 Fix more shadow warnings 2020-09-04 21:04:32 +03:00
Tasos Sahanidis b43b1cdcd9 Properly quit indicator led thread 2020-09-04 20:26:30 +03:00
Tasos Sahanidis c200b0d21d Fix devices not being initialised 2020-09-03 19:18:33 +03:00
Tasos Sahanidis cf468bc8d8 Properly compare pthread_t 2020-09-03 14:43:38 +03:00
Tasos Sahanidis c44bb1c5bd Fix Shadow warnings 2020-09-03 02:54:27 +03:00
Tasos Sahanidis e961dd02df Merge branch 'mouse-dpi-suspend-fix' 2020-08-30 21:34:46 +03:00
Tasos Sahanidis cca639f688 Restore mouse settings when resuming 2020-08-30 21:34:35 +03:00
Tasos Sahanidis 2362caa343 Add format string comment
Closes #549
2020-08-30 08:40:04 +03:00
Tasos Sahanidis dca340d1dd Automatically add newlines to logging macros 2020-08-30 03:13:14 +03:00
Tasos Sahanidis 47b368e246 Enable -Wshadow 2020-08-28 19:39:23 +03:00
Tasos Sahanidis ad3cf3e31e Fix string truncation warning for animations 2020-08-28 19:11:19 +03:00
Tasos Sahanidis c31adc6bb0 Add animations cmake target 2020-08-28 18:55:40 +03:00
Tasos Sahanidis e461889f5b Fix qrand() deprecation warning 2020-08-28 10:01:13 +03:00
Tasos Sahanidis 627ccd8402 Fix incompatible-pointer-types is not valid for C++ 2020-08-26 01:43:15 +03:00
Tasos Sahanidis b2214e952f Remove unneeded MainWindow pointer workaround 2020-08-26 01:24:49 +03:00
Tasos Sahanidis 80caa43438 Don't wait if expecting a URB from the input thread 2020-08-18 23:52:14 +03:00
Tasos Sahanidis 3c639f45cb Fix xenial builds 2020-08-16 15:57:10 +03:00
Tasos Sahanidis 71c87e2d7c Work around a KStatusNotifierWatcher implementation 2020-08-16 15:21:17 +03:00
Tasos Sahanidis 08082240e8 Fix single key press macro repeating
The thread would check if the key was still pressed down before the
user had a chance to release it.
2020-08-10 08:53:52 +03:00
Tasos Sahanidis 94967d872d Implement macro looping when key is held down
New macros are still queued if the key is pressed repeatedly
2020-08-10 08:03:55 +03:00
Tasos Sahanidis 54f356b3f9 Add a couple of specific Werrors
Specifically, Werror=incompatible-pointer-types protects from
accidentally calling pthread_mutex_lock() on a queued_mutex_t
and vice versa.
2020-08-10 07:57:39 +03:00
Tasos Sahanidis 2dbf7221c4 Merge profile import/export functions with internal ones
Additionally, a bug was found and the profile version was bumped up
to fix and work around it.
2020-08-08 15:42:17 +03:00
Tasos Sahanidis 3f7d658bc1 Restart ckb-next when sent SIGHUP 2020-08-07 07:21:07 +03:00
Tasos Sahanidis 205b66e420 Fix indicators having the wrong sized icons 2020-08-07 04:15:55 +03:00
Tasos Sahanidis cfcb04b3bb Enable Wcast-align=strict for compatible gcc 2020-08-06 14:45:25 +03:00
Tasos Sahanidis 1c3ca772a3 Move monochrome tray option to settings 2020-08-06 09:39:19 +03:00
Tasos Sahanidis 01fd9a24d1 Raise minimum Qt version to 5.5.1 (xenial)
It might still compile under earlier versions,
but 5.5.1 was released in 2015
2020-08-06 09:13:24 +03:00
Tasos Sahanidis ba063cedb7 Merge branch 'mutex-queueing' 2020-08-05 23:32:48 +03:00
Tasos Sahanidis 00e2598a7a Fix libpulse check 2020-08-05 15:50:08 +03:00
Tasos Sahanidis aa5b07169d Merge branch 'kstatusnotifier' 2020-08-05 14:43:21 +03:00
Tasos Sahanidis 4c070c5d36 Replace AppIndicator with minimal KStatusNotifier 2020-08-05 12:08:14 +03:00
Tasos Sahanidis 7d7cae92cb Fix per mode lighting auto dimming 2020-08-05 05:09:31 +03:00
Tasos Sahanidis 2a5bb88654 Fix remaining thread leak 2020-08-05 01:59:54 +03:00
Tasos Sahanidis fdafa39ea0 Merge branch 'mutex-new-fixes' 2020-08-05 01:46:31 +03:00
Tasos Sahanidis ac35f7ae66 Fix various threading and data race issues
Mutexes are locked and unlocked in the correct order
A warning is now being thrown whenever the main thread tries to
join itself
Added optional debug logging
Other tsan warnings have been fixed
2020-08-05 01:42:54 +03:00
Tasos Sahanidis ce3747d826 Merge branch 'scimitar-elite' 2020-07-19 23:47:54 +03:00
Tasos Sahanidis ca9bf572f2 Merge 'ckb-next-zeekec/gcc-10' 2020-05-14 22:20:16 +03:00
Tasos Sahanidis 0ae46be1dd Don't enable keys we don't need in uinput
Specifically, enabling KEY_ALS_TOGGLE causes the kernel to complain
2020-05-12 16:02:32 +03:00
Tasos Sahanidis c5d3588ef4 Constify strings in invaders 2020-04-24 12:39:18 +03:00
Tasos Sahanidis 322ce6974f Merge 'ckb-next-ryanfitzsimon/systemd-unit-install-dir' 2020-04-23 15:48:23 +03:00
Tasos Sahanidis 1ad315e211 Slight coding style fix 2020-04-19 14:18:09 +03:00
Tasos Sahanidis b1f6aa30f9 Merge branch 'macro-trigger-fix' 2020-04-19 14:16:35 +03:00
Tasos Sahanidis b7cfe46c4f Fix macro behaviour
Allow macros to trigger while other keys are pressed
Allow keystrokes and other input while a macro is playing
Mark macro threads as detached as they are never explicitly joined
2020-04-18 16:46:33 +03:00
Tasos Sahanidis f7f9315975 Don't focus existing GUI if started with -b 2020-03-29 17:07:38 +03:00
Tasos Sahanidis 50865dc8e4 Don't send commands to daemon while idle 2020-03-16 10:50:23 +02:00
Tasos Sahanidis afd0e19f1d Enable only mouse buttons on the mouse device
This is needed as a workaround to prevent libgdx games from crashing
whenever a mouse button is pressed
2020-03-15 22:53:13 +02:00
Tasos Sahanidis e5fa8686c8 Update DPI SpinBoxes if slider is scrolled on 2020-03-14 06:22:08 +02:00
Tasos Sahanidis f2da62a385 Update DPI only when the user stops moving the slider
This makes editing the DPI easier, as it doesn't update in realtime
and also prevents spamming the device with DPI commands
2020-03-13 23:11:11 +02:00
Tasos Sahanidis 65abc55ee4 Revert "Use PTHREAD_PRIO_PROTECT for dmutex"
This reverts commit f4c918477e.
Back to the drawing board. It seems to create invalid mutexes
according to tsan
2020-03-13 19:11:42 +02:00
Tasos Sahanidis 63810c1c37 Add delay to URB controls 2020-03-13 18:12:35 +02:00
Tasos Sahanidis 940dc42c3f Merge branch 'PR-544' 2020-03-01 18:26:18 +02:00
Tasos Sahanidis a9e23faa1c Merge remote-tracking branch 'dkorkmazturk/master' 2020-03-01 18:20:14 +02:00
Tasos Sahanidis f4c918477e Use PTHREAD_PRIO_PROTECT for dmutex
Should work around the delayed indicators
2020-02-15 02:46:25 +02:00
Tasos Sahanidis 7e13ad1e85 Add proper instructions on generating a report 2020-01-20 12:23:54 +02:00
Tasos Sahanidis 4bf32bd512 Merge branch 'override-session-arg' 2020-01-19 06:29:00 +02:00
Tasos Sahanidis 729904db6e Add markdown backticks in dev detect 2020-01-17 00:45:48 +02:00
Tasos Sahanidis 23f6176ac6 Add ldd output of gui to dev detect 2020-01-17 00:40:44 +02:00
Tasos Sahanidis 7288df66b1 Implement Qt Creator detection properly 2020-01-16 04:27:59 +02:00
Tasos Sahanidis cbc42667f0 Override -session argument 2020-01-16 04:08:21 +02:00
Tasos Sahanidis 66bd6c1912 Merge branch 'drop-k95-rgb' 2020-01-16 01:55:58 +02:00