Commit Graph

685 Commits

Author SHA1 Message Date
Mikhail Zolotukhin
b5a58aa1cc build: 🚨 disable template expression rule 2021-09-17 19:23:58 +03:00
Mikhail Zolotukhin
6e2e54c12a refactor: 🚨 ignore empty Qt interface 2021-09-17 19:23:58 +03:00
Mikhail Zolotukhin
e62b83dadf build: 🚨 ignore unused vars prefixed with _ 2021-09-17 19:23:58 +03:00
Mikhail Zolotukhin
86db2ebf8c refactor: 🚨 use string templates 2021-09-17 19:23:58 +03:00
Mikhail Zolotukhin
cc693602f4 refactor: 🚨 fix function return type rule 2021-09-17 19:23:58 +03:00
Mikhail Zolotukhin
6c586c9033 build: 🚨 turn off any rule
We have to have any types for Qt API anyway.
2021-09-17 19:23:58 +03:00
Mikhail Zolotukhin
714379ff57 build: 🔥 remove one var rule 2021-09-17 19:23:58 +03:00
Mikhail Zolotukhin
f2cbebc9ab build: 🔧 fix eslint configuration 2021-09-17 19:23:58 +03:00
Mikhail Zolotukhin
c2c79f67ea refactor(tests): 🎨 misc artistic changes 2021-09-16 18:25:18 +03:00
Mikhail Zolotukhin
13b1987ee0 test: add a few basic tests with mocks
Tests directory probably will be used for integration tests.
2021-09-16 18:25:18 +03:00
Mikhail Zolotukhin
b759156b3c refactor: 🔥 remove EngineContext 2021-09-15 17:00:59 +03:00
Mikhail Zolotukhin
2800a8d91d refactor: 🎨 rename layout interfaces 2021-09-15 17:00:59 +03:00
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