Commit Graph

849 Commits

Author SHA1 Message Date
Fabian Preuß
84a0ac5bbd refactor: move parts of getNeighborByDirection() into separate functions 2021-12-02 16:00:59 +03:00
Fabian Preuß
1570d7c385 refactor: addressing comments for EngineImpl.getNeighborByDirection()
Refactor of the switch statement and variable names.
2021-12-02 16:00:59 +03:00
Fabian Preuß
969cf96e8d fix: select last used window when moving focus up or to the left
When bismuth finds two windows are equally distanced from the current
window, the last used window will be chosen when focus is moved via
keyboard shortcuts.

Before, the closest windows were always determined based on the top-left
corner of each window. This is fine when focusing a window below or to
the right, since adjacent edge aligned windows will have the top-left
corner on the same line either horizontally or vertically.

When moving the focus up or to the left, however, this is no longer
guaranteed. Even though the bottom of two candidate windows might be
edge to edge with the current window, the top-left corners might be on
different levels since the candidate windows don't have to have the same
height. To correctly select the last used adjacent edge aligned window
to the top or to the left, the bottom-right corner will be used to find
the closest windows.
2021-12-02 16:00:59 +03:00
Mikhail Zolotukhin
8023c50384 chore: fix documentation building 2021-12-01 16:38:58 +03:00
Mikhail Zolotukhin
843144af99 chore: pin dependencies to prevent random brakages 2021-12-01 16:12:19 +03:00
Ignacy Kajdan
0ca6bab506 chore: refactor cmake files 2021-11-30 13:23:04 +03:00
Fabian Preuß
4c3b17d492 fix: focus lone window with move focus shortcut
Before, when no window was focused, focusing a window with keyboard
shortcuts would only work if there were two or more windows visible. It
would also only consider tiled windows at all.

Now, any window, floating or tiled, is considered when no window was
focused previously.
2021-11-25 15:28:55 +03:00
Fabian Preuß
3d9c874439 fix: properly maximize windows via window decoration buttons
Apparently pressing the maximize button doesn't actually force the
window into any specific geometry. This resulted in windows staying in their
tiled geometry while all other windows would be rearranged as if the
maximized window would be floating.

This fix makes the maximized window fill the entire working area.
2021-11-24 17:05:42 +03:00
Mikhail Zolotukhin
cc27485d18 chore: support not using npm for some packagers 2021-11-20 04:56:14 +03:00
Mikhail Zolotukhin
54eec739dc chore: add an ption to turn off TSC check step
This also speeds up the recompilation times, since TSC is now used only
if the output is missing or the typescript files are changed.
2021-11-20 04:56:14 +03:00
Mikhail Zolotukhin
3154606047 chore: add eslint_d as a devdep 2021-11-20 04:56:14 +03:00
Mikhail Zolotukhin
54fc9158ce chore: move package search to the top cmakelists 2021-11-20 04:56:14 +03:00
Mikhail Zolotukhin
b065bf6827 chore: remove version from kcm 2021-11-20 04:56:14 +03:00
Mikhail Zolotukhin
1fd49761a3 chore: ignore all clang format files 2021-11-20 04:56:14 +03:00
Ace Christian F. Serraon
9f1beb4152
chore: add KDE Neon to the sysdep-install.sh 2021-11-15 10:51:28 +03:00
Mikhail Zolotukhin
695ed3e63e docs: add roadmap 2021-11-15 01:20:34 +03:00
Mikhail Zolotukhin
39dacf93d3 docs: add api docs link in contrib guide 2021-11-15 01:20:34 +03:00
Mikhail Zolotukhin
80cf1c0b30 docs: add a reminder to enable tiling 2021-11-15 01:20:34 +03:00
Ignacy Kajdan
b0491978fd
feat: display layout icons in the OSD popup
When switching layouts, you can now see icons in the OSD.
2021-11-13 21:52:41 +03:00
Mikhail Zolotukhin
3d1233ea6f chore: pin super linter version 2021-11-13 20:43:58 +03:00
Mikhail Zolotukhin
fd41ea2ec7 chore: add TS sources to build system 2021-11-13 20:10:07 +03:00
Ignacy Kajdan
883d79858f fix: hide the script entry in the system settings 2021-11-13 17:21:50 +03:00
Mikhail Zolotukhin
9996263b3b chore: add depends clause to ui build rule
This way the qml files would be automatically up to date
and would not require the rebuild.
2021-11-12 17:31:46 +03:00
Ignacy Kajdan
584e494628
chore: install icons for layouts' OSD 2021-11-12 17:21:46 +03:00
Ignacy Kajdan
c2bea9547e
feat: new KCM icon
Based on the Breeze icon theme:
https://develop.kde.org/frameworks/breeze-icons
2021-11-12 00:57:02 +03:00
Mikhail Zolotukhin
c2854466cc fix: provide an "enable tiling" option 2021-11-10 18:45:24 +03:00
Mikhail Zolotukhin
ae0a594bb8 fix: behaviour tab is now first 2021-11-10 18:45:24 +03:00
github-actions[bot]
ec362496b7 chore: release 2.1.0 2021-11-10 00:38:10 +03:00
Mikhail Zolotukhin
b82e0b2706 feat: make script installation directory global 2021-11-10 00:34:17 +03:00
Mikhail Zolotukhin
3110c696fe chore: publish install artifacts 2021-11-10 00:34:17 +03:00
Mikhail Zolotukhin
e302cc276e chore: use CMake for building the kwinscript part
CMake has facilities, that will simplify the building process and
prevent reinventing the wheel.
2021-11-10 00:34:17 +03:00
Ignacy Kajdan
a027e5467f feat: add a shortcut for the reverse rotation action 2021-11-08 20:52:01 +03:00
Ignacy Kajdan
83d9efdff0 chore: remove file specific rules from the .editorconfig 2021-11-08 20:42:32 +03:00
Fernando Ayats
a0054096f9
chore: add Gentoo repo as an install option 2021-11-08 15:18:48 +03:00
github-actions[bot]
d467252c73 chore: release 2.0.1 2021-11-08 14:40:49 +03:00
Mikhail Zolotukhin
9a5cbe498c fix: prevent broken tiling, by not including empty stings into rules 2021-11-08 14:34:28 +03:00
Ignacy Kajdan
15f3507f7e
chore: add manjaro to the sysdep-install.sh script 2021-11-07 15:23:07 +03:00
Mikhail Zolotukhin
303fa6c6f9
chore: publish build artifacts on release (#162) 2021-11-06 08:21:17 +03:00
Danil Doroshin
a4ede8d296
docs: add AUR as an install method 2021-11-05 20:05:38 +03:00
Talperud
bf4da307d4
chore: fix permissions for sysdep-install script
Co-authored-by: talperud <c19tad@cs.umu.se>
2021-11-05 00:12:37 +03:00
Hellorge
041393293d
Update sysdep-install.sh (#158)
chore: add void linux support for sysdep-install

Added sysdep-install switch case for void, it was a pain in the ass to find all the packages, the packages in long list may install as dependencies for other packages in the list, but my installation process was in bits I couldn't collect so I put everything prom the package removal process after build is complete.
2021-11-05 00:10:31 +03:00
TheMachine02
165008b9ac fix: do not ignore second windows when resize
Fix issue #135
2021-11-04 19:45:19 +03:00
github-actions[bot]
416d57ecce
chore: release 2.0.0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mikhail Zolotukhin <mail@genda.life>
2021-11-03 17:14:34 +03:00
Mikhail Zolotukhin
c79b382262
chore: don't use container for docs 2021-11-03 16:54:21 +03:00
Mikhail Zolotukhin
05860d5b71
chore: fix docs pipeline 2021-11-03 16:40:23 +03:00
Mikhail Zolotukhin
bd6639dcc5 docs: adjust readme 2021-11-03 16:34:53 +03:00
Mikhail Zolotukhin
1a5d23703c docs: remove config tweak 2021-11-03 16:34:53 +03:00
Mikhail Zolotukhin
50bcca3260 chore: adjust github actions workflows to 2.0 2021-11-03 16:34:53 +03:00
Mikhail Zolotukhin
9be8ea40a6 chore: remove not working anyway installation script 2021-11-03 16:34:53 +03:00
Mikhail Zolotukhin
8c3adf0130 refactor: use qmlformat for qmlfiles 2021-11-03 16:34:53 +03:00