99 Commits
Author SHA1 Message Date
Oleksii Vilchanskyi 3508084e4f Merge #294 from jbendig/no-animation-idle-cpu
Reduce ckb CPU usage when mute state polling is not necessary
2017-10-12 11:18:57 +02:00
Oleksii Vilchanskyi cfd3688d16 Update the list of supported devices 2017-09-27 16:33:54 +02:00
Oleksii Vilchanskyi 6af27735f7 daemon: add -fsigned-char to compile flags
References: #266, 33a9607
2017-08-07 16:42:21 +02:00
Oleksii Vilchanskyi 173a5a32b8 Better name and describition for USB debug defines 2017-08-06 01:24:37 +02:00
Oleksii Vilchanskyi 4cbae8e4c2 daemon: fix -Wimplicit-fallthrough inspection
By default GCC 7.1.1 contains -Wimplicit-fallthrough=3 in the group
-Wextra, which means that the warning can be ommitted by comment
that matches defined regular expression.

The documentation says:
> The comment needs to be followed after optional whitespace and other
  comments by `case` or `default` keywords or by a user label that precedes
  some `case` or `default` label.

That's why /* FALLTHRU */ occurs right above the `case` under which
the expression will fall.

GCC versions below 7 do not implement -Wimplicit-fallthrough.
Clang does not implement -Wimplicit-fallthrough for C code.

References: #268
2017-08-05 12:30:42 +02:00
Oleksii Vilchanskyi 24e8f01849 gui: use Qt5::Widgets, C++11 with GNU extensions
Qt 5.2 is required to build ckb-next, therefore
`greaterThan(QT_MAJOR_VERSION, 4)` makes no sense.

GNU++11 is used with bunch of inspections.
2017-08-05 11:13:49 +02:00
Oleksii Vilchanskyi d1afc0d840 daemon: build with C11 Standard and GNU extensions
When -std=gnu99 is used the daemon builds with errors using gcc 5.3.1
and clang 4.0.1, however no errors/warnings happen with gcc 7.1.1.

When -std=gnu11 is used, the daemon builds without errors/warnings
using gcc 7.1.1 and clang 4.0.1.

Also, the fallthrough statement was reformatted to emphasize the macro.

References: #268
2017-08-05 09:12:58 +02:00
Oleksii Vilchanskyi 709b164ebe daemon: add -Wall -Wextra flags
Cast unused parameters to void to omit -Wunused-parameter inspection.
Mark implicit fallthrough as desirable.
2017-08-04 14:42:59 +02:00
Oleksii Vilchanskyi 4a914788fd macOS: fix the app not showing up after quickinstall 2017-08-03 14:59:29 +02:00
Oleksii Vilchanskyi e0dc88f3d2 Provide qmake bug woraround for macOS
Workaround unknown qmake bug on macOS at configuration stage
which happens at generation stage. Assumes Homebrew is installed.
Assumes 'qt' package by 'brew' command is installed.

References https://github.com/mattanger/ckb-next/issues/232
2017-08-03 14:59:00 +02:00
Oleksii Vilchanskyi b204cde735 README: mac: discourage official Qt5 package usage 2017-08-02 17:01:30 +02:00
Oleksii Vilchanskyi 9dc8216b61 README: mac: discourage official Qt5 package usage 2017-07-25 12:56:12 +02:00
Oleksii Vilchanskyi af0c191274 Merge pull request #261 from ck4xa/master
Adding a segment for linux troubleshooting for a solution for F26
2017-07-24 23:07:08 +02:00
Oleksii Vilchanskyi 8fd8005f44 macOS: fix the app not showing up after quickinstall 2017-07-22 03:02:17 +02:00
Oleksii Vilchanskyi 542a542167 Provide qmake bug woraround for macOS
Workaround unknown qmake bug on macOS at configuration stage
which happens at generation stage. Assumes Homebrew is installed.
Assumes 'qt' package by 'brew' command is installed.

References https://github.com/mattanger/ckb-next/issues/232
2017-07-22 02:50:01 +02:00
Oleksii Vilchanskyi a3c98b516c ckb-dev-detect: fix boot offset 2017-07-20 10:40:58 +02:00
Oleksii Vilchanskyi c375b5a6a3 ckb-dev-detect: apply default locale to everything 2017-07-11 12:20:59 +02:00
Oleksii Vilchanskyi 5753d31064 Fix ckb-dev-detect
* fix broken escaping
* portable shebang
* cosmetic changes
2017-07-10 20:09:22 +02:00
Oleksii Vilchanskyi fd9fa750ba Merge pull request #252 from iotashan/iotashan-readme-patch-1
Update README.md
2017-07-09 07:32:05 +02:00
Oleksii Vilchanskyi c6c30a3480 Merge pull request #133 from mattanger/issue-template
Issue template
2017-06-29 17:04:27 +02:00
Oleksii Vilchanskyi 399264f5ac ckb-dev-detect: grep for usbhid too 2017-06-29 17:00:43 +02:00
Oleksii Vilchanskyi 7c771076c2 Fix copy-paste typo & formatting 2017-06-28 17:31:55 +02:00
Oleksii Vilchanskyi 3afae6fdb3 Use clock_nanosleep() instead of usleep()
usleep() was deprecated by SUSv3.
2017-06-28 16:03:01 +02:00
Oleksii Vilchanskyi c4abafa3e3 Update README
* remove link to testing repository
* add new AUR package link
* update testing -> newdev on latest
2017-06-28 02:55:53 +02:00
Oleksii Vilchanskyi 13beb3944a ckb-dev-detect: new revision
Changes to the script:
* use Unix newlines instead of Windows' ones
* use journalctl instead of dmesg for better output control
* add current and last boot logs from kernel ring buffer
* shorten the length of a log message line
2017-06-23 23:06:18 +02:00
Oleksii Vilchanskyi 6a0745aeac ckb-dev-detect: new revision
Changes to the script:
* use Unix newlines instead of Windows' ones
* use journalctl instead of dmesg for better output control
* add current and last boot logs from kernel ring buffer
* shorten the length of a log message line
2017-06-23 22:50:23 +02:00
Oleksii Vilchanskyi faf7c2c9c2 Update issue template based on ckb-dev-detect 2017-06-19 16:36:50 +02:00
Oleksii Vilchanskyi de9b6e0d0d Merge pull request #237 from mattanger/dev-detect-improvement
ckb-dev-detect improvement

Some improvements based on suggestions from #133 and own concerns:
* don't grep for hid-generic
* add daemon info on current and last boots
2017-06-19 15:22:43 +02:00
Oleksii Vilchanskyi 9c25fdd682 Remove hid-generic from dmesg grep
The reason is that it takes all other devices with it, but in reality
every hid-generic message already contains "corsair".
2017-06-18 20:10:33 +02:00
Oleksii Vilchanskyi 02b0ce1011 Update gitignore 2017-06-18 20:09:52 +02:00
Oleksii Vilchanskyi dc9f84132c Add daemon status for current and last boots 2017-06-18 20:07:39 +02:00
Oleksii Vilchanskyi cfc175070f Add Fn key for K65 instead of Right Win 2017-06-18 14:03:18 +02:00
Oleksii Vilchanskyi 5a34841bac Fix TOC, move "What happened" to the end 2017-05-10 11:12:38 +02:00
Oleksii Vilchanskyi ae5f1a4401 README: minor updates
* remove "Current status"
* update info on Qt 5.7 GTK3 bug
* recommend Qt 5.8 instead of 5.6
2017-05-10 11:07:29 +02:00
Oleksii Vilchanskyi eccfef24f6 Update gitignore 2017-05-06 20:01:08 +02:00
Oleksii Vilchanskyi 55e0e24480 Update macOS packaging config 2017-05-06 19:59:26 +02:00
Oleksii Vilchanskyi dcc451d081 Bump version to v0.2.8
See the change log in a tag or in GitHub Releases.
2017-05-06 18:51:44 +02:00
Oleksii Vilchanskyi 39be885739 Create CHANGELOG.md and add change log for v0.2.8 2017-05-06 18:46:34 +02:00
Oleksii Vilchanskyi 3fce4164a1 Edit macOS installation instructions
Workaround the error:
"could not resolve SDK Path for 'macosx'".
SDK has to be chosen manually.
2017-05-06 17:14:39 +02:00
Oleksii Vilchanskyi 5347ac9c0f Link against official Qt first on macOS
In case there are multiple Qt installations, this will ensure the
application will be linked against the official Qt, which has
the default installation path in `~/Qt' and not Homebrew's Qt,
for example. This is done because of the Qt bug fixed in 5.10.

See also: #46,
https://bugreports.qt.io/browse/QTBUG-56814
2017-05-06 16:57:44 +02:00
Oleksii Vilchanskyi c8cef782d9 Add macOS packaging config
The .pkgproj config is intended to be used with Packages application.
To build .pkg, `cd' into the directory where the config is and choose
Build -> Build in the upper menu. It will generate a .pkg in the root
folder.
2017-05-06 16:45:05 +02:00
Oleksii Vilchanskyi 22036ae248 Merge branch 'testing' 2017-05-05 22:25:12 +02:00
Oleksii Vilchanskyi 29bdcb0c13 Return Scimitar Pro support back
This commit is the continuation of the previous one (1a2dfe2) and
is the consequence of a not very careful merge conflict resolution.
2017-05-05 21:50:17 +02:00
Oleksii Vilchanskyi 1a2dfe2988 Revert "Added Harpoon (0x1b3c) as a Sabre to see if it works."
This reverts commit 84e195caba.
Harpoon is not working when treated as Sabre, therefore removed
until a proper support is added.

See also: #54,
https://github.com/mattanger/ckb-next/issues/2#issuecomment-276316445
2017-05-05 21:42:03 +02:00
Oleksii Vilchanskyi 8ed1aebeab Add "Contact us" section 2017-05-04 00:48:43 +02:00
Oleksii Vilchanskyi f4f08a2704 Add auto-generated TOC, make slight style changes 2017-05-04 00:34:20 +02:00
Oleksii Vilchanskyi 7c0831c6d4 Merge #174 into testing 2017-05-04 00:01:40 +02:00
Oleksii Vilchanskyi a8b77e68e0 Merge quickinstall hotfix (#173) 2017-05-03 18:48:49 +02:00
Oleksii Vilchanskyi 4605daa6a5 Fix typos, spelling errors and style
Suggested by: @ZirconiumX
2017-05-03 10:10:33 +02:00
Oleksii Vilchanskyi 73658d4b2c Use alternative spelling
Suggested by: @tatokis
2017-05-02 12:26:40 +02:00
Oleksii Vilchanskyi a3cbce3312 Fix spelling error 2017-05-02 12:17:19 +02:00
Oleksii Vilchanskyi a1ac1706db Unclutter TOC 2017-05-02 12:12:17 +02:00
Oleksii Vilchanskyi e3549c0230 Add auto-generated-and-updated table of contents 2017-05-02 11:53:04 +02:00
Oleksii Vilchanskyi 9f3547ca29 Various changes and improvements
* add device sections
* simplify structure
* remove 'ifs'
* be more rigorous
* provide better and more complete instructions
2017-05-02 11:45:15 +02:00
Oleksii Vilchanskyi 975f7512d5 Specify what to upload
Signed-off-by: Oleksii Vilchanskyi <[email protected]>
2017-05-01 00:36:16 +02:00
Oleksii Vilchanskyi c9afda47d5 README: add link to the issue 2017-04-25 22:47:34 +02:00
Oleksii Vilchanskyi d3ecb7ffb2 README: remove old ckb Gentoo ebuild
Ashes to ashes,
Dust to dust.
Not liable for ckb,
As it's all in the past.
2017-04-25 22:37:41 +02:00
Oleksii Vilchanskyi e8f3c9a746 README: edit Current Status 2017-04-25 22:30:55 +02:00
Oleksii Vilchanskyi 577d7ce6aa Use rm -f instead of rm for deleting makefiles
Originally proposed by @thblt at ccMSC/ckb#508
Revisited at #4
2017-04-10 02:46:41 +02:00
Oleksii Vilchanskyi 26f90f3e52 README: Merge #141
Add uinput flag name

Knowing the proper flag name is helpful to check if you have it enabled, e.g. `grep -F CONFIG_INPUT_UINPUT /usr/src/linux/.config`
2017-04-09 21:04:59 +02:00
Oleksii Vilchanskyi 4b105ee784 fix compilation warnings on sierra 2017-04-04 00:10:26 +02:00
Oleksii Vilchanskyi 1c77cd53ed fix compilation warnings on sierra 2017-04-03 23:50:51 +02:00
Oleksii Vilchanskyi 7a40d7b392 Add an issue template
* Shorten developers' time spent on the issue
* Ease issue sorting and cathegorizing
* Make users make their homework
* Tell users precisely what developers want

Closes #110
See also: #75
2017-04-02 20:11:43 +02:00
Oleksii Vilchanskyi e8285270f7 Update .gitinore
Do not ignore .github
2017-04-02 20:09:26 +02:00
Oleksii Vilchanskyi abc7d3908f README: remove misleading double-clicking for Linux
Doble-clicking the quickinstall script does nothing for the author of
this commit. The script probably idles waiting for the user input or
if it doesn't, the mechanism which would guarantee a flawless execution
automatically answering Y on all the questions is broken.

A possibility to execute a new terminal window was considered, but this
is too complicated to implement because of the zoo of terminals and
their launch options on Linux.

If the argument against this is "what if the user doesn't have a working
keyboard", then the answer is "yes, but then the user still needs to
interact with the script in case of launching a new terminal window".
When the script is not launched in the terminal window, the uses sees no
output and basically cannot predict when the installation is finished.

Nevertheless, as has been already stated, the automatic execution is
broken and the user also doesn't see any output which may be useful
for him. Until it is fixed/solved, the instructions tell them to use
the terminal directly.

See also: #129
2017-03-31 17:09:48 +02:00
Oleksii Vilchanskyi c74a1acd8a README: fix links not rendering automatically
Related to: #116
2017-03-22 15:18:10 +01:00
Oleksii Vilchanskyi d5c80ee04f README: add a list of Glib-related issues
Related to: #116
2017-03-22 15:11:02 +01:00
Oleksii Vilchanskyi 7ae642b380 purge old paths in quickinstall, update readme 2017-03-13 19:58:53 +01:00
Oleksii Vilchanskyi f347e60df2 move animations under /usr/lib by default 2017-03-13 19:23:10 +01:00
Oleksii Vilchanskyi 13fb8f176e Merge pull request #111 from joemulray/master
Update README.md
2017-03-12 22:33:32 +01:00
Oleksii Vilchanskyi 22cfd77e91 fix misleading mac binary installation instruction 2017-03-11 02:02:42 +01:00
Oleksii Vilchanskyi 7a13207d80 merge #88, fixes #38
Merge branch
'frickler24-testing-issue-38-SIGSEGV_when_deleting_copied_profile'
into testing
2017-03-04 02:24:30 +01:00
Oleksii Vilchanskyi a9ff3397b7 merge remote to local
Merge branch 'testing-issue-38-SIGSEGV_when_deleting_copied_profile'
of git://github.com/frickler24/ckb-next into
frickler24-testing-issue-38-SIGSEGV_when_deleting_copied_profile
2017-03-04 02:20:07 +01:00
Oleksii Vilchanskyi a2d4d7e5ac fixes "libpng iCCP: known incorrect sRGB profile" 2017-03-03 22:30:33 +01:00
Oleksii Vilchanskyi b59d179dc6 update pre-made packages info 2017-02-19 01:14:20 +01:00
Oleksii Vilchanskyi 8d643734c0 Merge pull request #77 from mattanger/add-#29-to-known-issues
Add `CMD/Shift+select` issue to Known Issues
2017-02-18 23:45:47 +01:00
Oleksii Vilchanskyi d509ff8af7 binaries are still called ckb 2017-02-18 23:42:38 +01:00
Oleksii Vilchanskyi 5c48d9304c Merge pull request #80 from makz27/aur-package
AUR Package based on qmake
2017-02-18 22:56:39 +01:00
Oleksii Vilchanskyi b729569b56 clarify project status 2017-02-10 18:07:13 +01:00
Oleksii Vilchanskyi 91ce033956 plist is not executable 2017-02-10 01:00:52 +01:00
Oleksii Vilchanskyi ef4535f0b0 try to fix markdown 2017-01-31 00:11:15 +01:00
Oleksii Vilchanskyi 045dac7332 document qt5.7 gtk issue on linux 2017-01-30 22:43:44 +01:00
Oleksii Vilchanskyi 030548fe53 add irc badge 2017-01-30 19:39:38 +01:00
Oleksii Vilchanskyi 77e530d437 move network object instantiation to the constructor 2017-01-29 15:49:44 +01:00
Oleksii Vilchanskyi 9182de1313 Merge pull request #43 from ambadoom/systemd-restart
Fix systemd automatic restarting
2017-01-28 04:53:40 +01:00
Oleksii Vilchanskyi f61daf9da8 add networkmanager destructor back (can be sloppy) 2017-01-26 01:37:19 +01:00
Oleksii Vilchanskyi 297e939d8e remove donation links, fix the language 2017-01-24 00:30:06 +01:00
Oleksii Vilchanskyi 8c9cbfea10 Merge pull request #41 from light2yellow/readme-improvement
Add Fedora package, fix document link
2017-01-23 15:23:12 +01:00
Oleksii Vilchanskyi 9182ee6f59 add rhel 2017-01-23 01:15:21 +01:00
Oleksii Vilchanskyi f84a9c66b4 fix internal link, add fedora package 2017-01-23 01:05:42 +01:00
Oleksii Vilchanskyi f9315461bb few corrections 2017-01-21 22:31:12 +01:00
Oleksii Vilchanskyi cfab75e018 sanitize more variables 2017-01-16 19:38:43 +01:00
Oleksii Vilchanskyi e8cdba0aa1 fix variable escaping 2017-01-12 17:02:41 +01:00
Oleksii Vilchanskyi 05bb000181 typo 2017-01-04 22:52:49 +01:00
Oleksii Vilchanskyi e09966e5e9 shellcheck fixes and few style fixes 2017-01-04 22:52:41 +01:00
Oleksii Vilchanskyi 5d925b0fd1 add check for xcode, make quickinstall portable 2017-01-04 22:52:33 +01:00
Oleksii Vilchanskyi 7190d46774 prompt for clt install on osx 2017-01-04 22:52:25 +01:00
Oleksii Vilchanskyi 23b680b70a Add proposition on readme improvement 2017-01-04 22:45:01 +01:00
Oleksii Vilchanskyi c8094414d3 update readme
Describe the situation around ckb, update package links, add more
information on the topic, fix whitespaces, add further improvement notes
2017-01-04 22:44:53 +01:00