Tasos Sahanidis
60f5c3f092
Make QNetworkAccessManager non-static
2020-11-20 19:40:51 +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
Stefan Haun
f855529f1b
Set the mute indicator based on the device in the profile
2020-11-16 19:45:42 +01:00
Stefan Haun
89a9605c08
Extend the kb profile to contain the mute device
2020-11-16 19:45:42 +01:00
Stefan Haun
664189ee83
Acquire mute state for default source and sink
...
I cannot implement this for MAC, so it says "not supported" right now.
2020-11-16 19:45:42 +01: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
nd419
71dd8ebd87
feat: add jobs environment variable
2020-09-20 13:44:29 +01: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
Doğukan Korkmaztürk
df692d7d80
Replace deprecated QString::sprintf with QTextStream
2020-08-30 08:18:35 +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
Doğukan Korkmaztürk
380c48f975
Replace QAtomicInteger::load() with QAtomicInteger::loadRelaxed()
...
Replace obsolete QAtomicInteger::load() with QAtomicInteger::loadRelaxed() for Qt versions >= 5.14
2020-08-28 19:19:29 +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