Commit Graph

673 Commits

Author SHA1 Message Date
Mikhail Zolotukhin
92cdf1edfc refactor: 🎨 reorganize imports 2021-09-15 17:00:59 +03:00
Mikhail Zolotukhin
354e6b43ad refactor: 🔥 cleanup imports 2021-09-13 03:25:21 +03:00
Mikhail Zolotukhin
24b4cce8ac refactor: 🎨 remove unneeded pass of driver in the controller callbacks
Will I finish refactoring? It's 3 AM and I want to sleep
2021-09-13 03:25:21 +03:00
Mikhail Zolotukhin
a320567c3d refactor: 🎨 introduce interface for controller 2021-09-13 03:25:21 +03:00
Mikhail Zolotukhin
ca1909c4c8 refactor: 🎨 create interface for tiling engine
This way we will be able to substitute it in tests
2021-09-13 03:25:21 +03:00
Mikhail Zolotukhin
62e6382285 refactor: 🔥 purge driver context from engine
Hands are useful.
2021-09-13 02:28:51 +03:00
Mikhail Zolotukhin
6e3db51a7f refactor: 🔥 purge driver context from engine context 2021-09-13 02:28:51 +03:00
Mikhail Zolotukhin
351d69af45 refactor: 🎨 pass tiling controller to egine context 2021-09-13 02:28:51 +03:00
Mikhail Zolotukhin
ee686f0086 refactor: 🎨 pass controller to engine and use it for gaining screens 2021-09-13 02:28:51 +03:00
Mikhail Zolotukhin
f24caff379 refactor: 🎨 move entry point to controller
Idea in the TODO was not the best. In the end classes will be ported to interfaces, that we can replace in the tests.
2021-09-13 02:28:51 +03:00
Mikhail Zolotukhin
88ce93b4a2 refactor: 🔥 remove unused ctx param in engine fuction 2021-09-13 02:28:51 +03:00
Mikhail Zolotukhin
a1957a6578 refactor: 🎨 decouple driver from engine
MVC ftw
2021-09-13 02:28:51 +03:00
Mikhail Zolotukhin
9debfb41a1 refactor: 🎨 create MVC in the init script
This is a foundation of the later separation via callbacks.
2021-09-12 20:34:38 +03:00
Mikhail Zolotukhin
d7f83a181e refactor: 🎨 move layouts folder into engine
Engine is a model (like in MVC). Layouts is only its consern.
2021-09-12 20:34:38 +03:00
Mikhail Zolotukhin
bb6dbe6cf1 refactor: 🎨 rename tiling engine file 2021-09-12 20:34:38 +03:00
Mikhail Zolotukhin
73e0474adf refactor: 🎨 move shortcut into controller
Processing user inputs is controller responsibility
2021-09-12 20:34:38 +03:00
Mikhail Zolotukhin
f71bb270d9 refactor: 🎨 rename config interface 2021-09-12 20:34:38 +03:00
Mikhail Zolotukhin
80e5b41248 refactor: 🎨 move controller to its own folder 2021-09-12 20:34:38 +03:00
Mikhail Zolotukhin
d342559798 refactor: 🔥 merge driver window interface 2021-09-12 19:57:57 +03:00
Mikhail Zolotukhin
d5ed3aa154 refactor: merge driver surface interface 2021-09-12 19:57:57 +03:00
Mikhail Zolotukhin
4cb51a8635 refactor: move KWinDriver interface into impl file 2021-09-12 19:57:57 +03:00
Mikhail Zolotukhin
e0e6269841 docs: state, that you need to install dev deps before installing 2021-09-11 13:01:40 +03:00
Mikhail Zolotukhin
3f65866b9d fix: check plugin info after installation 2021-09-11 13:01:40 +03:00
Mikhail Zolotukhin
b185f375f8 fix(build): add tsc type checking before bundling 2021-09-10 23:46:07 +03:00
Mikhail Zolotukhin
3a98b8cf63 fix(driver): remove enter import 2021-09-10 23:46:07 +03:00
Mikhail Zolotukhin
f5e04a8294 fix(KWinDriver): clients iteration for ES6 2021-09-10 23:46:07 +03:00
Mikhail Zolotukhin
584555191b feat!: use esbuild for compiling script 2021-09-10 23:46:07 +03:00
Mikhail Zolotukhin
393d1bbf1a feat: prevent npm pushing 2021-09-10 23:46:07 +03:00
Mikhail Zolotukhin
41b70a8fde fix(driver): rename local screens var to fix ES6 compilation 2021-09-10 23:46:07 +03:00
Mikhail Zolotukhin
911fa8f624 fix(engine_window): rename local vars to fix ES6 compilation 2021-09-10 23:46:07 +03:00
Mikhail Zolotukhin
a9486def57 refactor: create a better setTimeout function 2021-09-10 23:46:07 +03:00
Mikhail Zolotukhin
1684a970c9 refactor: remove backend name prop 2021-09-10 23:46:07 +03:00
Mikhail Zolotukhin
7c5dbbcea5 build: mode eslint to a separate file 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
53b2f79186 refactor: minor things in driver 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
8c08e5f6d0 refactor: split bind events handlers and connect functions 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
813972b285 build: remove test pre-commit hook because it is slow 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
ca0f963506 refactor(tiling controller): mark args as unused 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
77c01cd214 refactor: reorder functions in KWinDriver 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
285a750e85 docs: add prettier badge 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
fb7bbb033f refactor: move WrapperMap to driver file 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
137da2793c refactor: mode driver context 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
a6c37ec87a refactor: move driver window interface 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
7ef0acded6 refactor: move surface interface 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
0871ce0bf0 refactor: move layout interface 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
6b7a21ad57 refactor: remove nesting for driver directory 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
cf698bd00e refactor: split manageWindows function 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
972c3c83b3 docs: document KWin::AbstractClient it d.ts 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
ae95dde13b ci: validate typescript via ES lint 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
ca90c418eb refactor(main): extract manage windows function 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
085bdcb8e3 docs: use renamer plugin to make docs a little bit more sane 2021-09-07 13:45:39 +03:00