141 Commits

Author SHA1 Message Date
e261a7b518 simplify wm_postorder_traversal 2024-04-07 13:43:43 +02:00
cca3845a4d add test for wm_find_client_direction 2024-04-06 18:01:27 +02:00
8d32587144 rename wm_client_get_dir_rel_c to wm_find_client_direction 2024-04-06 17:58:40 +02:00
a1c5adece5 log error if execvp fails in wm_kb_spawn 2024-04-06 15:35:09 +02:00
53a41568b0 do not free entries which will be freed in logentries_free 2024-04-06 15:06:19 +02:00
06c25ff838 free log_entries in wm_exit 2024-04-02 11:42:12 +02:00
5cbe15a899 add comments to function prototype declarations 2024-04-02 11:40:51 +02:00
af4b373478 add titlebar config option tests 2024-03-31 20:11:33 +02:00
760368942a add xft to pkg-config, add cflags pkg-config 2024-03-31 20:06:47 +02:00
0006a90c86 add reparenting and titlebars 2024-03-31 20:05:33 +02:00
f8fe84f839 add tests for keybind parsing and config 2024-03-16 19:56:10 +01:00
58bc1089f2 implement keybind parsing 2024-03-16 19:55:34 +01:00
01e8c16e8b create typedef for keybind function, rename field 2024-03-10 17:54:52 +01:00
f7534a551e add test for keybind parser function 2024-03-10 15:36:29 +01:00
4c17699c14 config: add functions for parsing keybind strings 2024-03-10 15:33:44 +01:00
b7adb5349e update some property identifiers 2024-03-07 17:45:44 +01:00
2f6e191b3b break up logging logic, bugfixes 2024-03-07 11:20:38 +01:00
cc0de7a72e fix logfile_init 2024-03-07 11:17:59 +01:00
836241c014 add tests for tree edit distance and json parsing 2024-02-26 16:39:22 +01:00
42779798fa use config field for log file name 2024-02-26 16:34:18 +01:00
fac46f74f6 add functions for parsing json and reading log files 2024-02-26 16:33:29 +01:00
11636b2754 add tree edit distance implementation and utility functions 2024-02-26 16:30:03 +01:00
0fefb31535 rewrite PtrArray to UIntArray, logging updates 2024-02-26 16:28:08 +01:00
a2384822d8 add log file path to config, initialize default value 2024-02-26 12:32:47 +01:00
46d0bc1670 fix use after free 2023-12-30 14:19:13 +01:00
3f5a3604ac add pointer non null assertions 2023-12-30 14:18:10 +01:00
d9d071344d add memory allocation assertions 2023-12-30 14:16:46 +01:00
38c124b772 use NodeArray instead of PtrArray 2023-12-30 13:45:23 +01:00
653b5112ba add tests for wm_treenode_remove_client 2023-12-29 20:38:00 +01:00
3742a49f32 fix wm_treenode_remove_client 2023-12-29 20:34:04 +01:00
70d06f7888 rewrite NodeArray: use heap allocated struct pointer, remove unused ClientArray functions 2023-12-29 19:08:58 +01:00
ff1c32bb33 add test for wm_treenode_all_keyroots 2023-12-29 15:15:49 +01:00
8629efe06f implement wm_treenode_all_keyroots 2023-12-29 15:14:44 +01:00
d5c745f8e1 add Makefile target for running tests 2023-12-28 16:11:38 +01:00
eaecb59ba8 add tests for tree edit distance utility functions 2023-12-28 16:07:19 +01:00
a0f2f48ef2 implement tree edit distance utility functions 2023-12-28 15:59:07 +01:00
557a43e265 fix warnings 2023-11-25 14:02:07 +01:00
2ea1e96401 logging changes 2023-11-25 13:59:28 +01:00
62bf51d706 add pid field to client 2023-11-25 13:57:49 +01:00
f14a75b83e add wm state logging 2023-11-16 20:19:46 +01:00
35c5a820a1 implement moving client to workspace 2023-09-29 21:52:55 +02:00
3e5f29057f update ws_treenode_remove_node, add printing util function 2023-09-29 21:51:04 +02:00
f8bd395e50 add default keybinds for moving client to workspace 2023-09-29 21:49:52 +02:00
25dbe40cb3 add json-c to makefile libs 2023-09-29 21:39:47 +02:00
9e2070500a implement TreeNode to JSON conversion 2023-09-28 20:21:10 +02:00
0b878dd9d7 remove unused variables and functions 2023-09-17 15:36:28 +02:00
ee88d8a600 remove unused mstack layout function 2023-09-17 15:27:10 +02:00
c220aec518 add wm_treenode_to_str function, remove unnecessary wm_treenode_free 2023-09-17 15:25:40 +02:00
7b2e92d256 zero-initialize Client struct on allocation 2023-09-17 15:18:59 +02:00
56a7a98ed9 move debug flags to new variable, move address sanitizer flags to debug flags 2023-09-17 15:18:13 +02:00