126 Commits

Author SHA1 Message Date
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
1aace4baa9 add debug target 2023-09-12 19:54:08 +02:00
4d0e9218e5 update DEBUG_PRINT macro definition 2023-09-12 19:53:50 +02:00
588f9e0c60 clean up targets 2023-09-12 19:21:17 +02:00
3eee3ea684 add tests.c 2023-09-09 14:14:53 +02:00
f885f08dcc add targets for building tests 2023-09-09 14:13:51 +02:00
8c49238e95 implement moving clients directionally 2023-09-09 14:11:27 +02:00
449911a089 Merge branch 'treenode_heap' 2023-08-10 12:05:04 +02:00
57cfbe4496 fix client removal edge case 2023-08-10 12:02:43 +02:00
ce2fb27ccb fix XGetWMName leak 2023-08-10 12:01:38 +02:00
077c2b5f69 update TreeNode function usages to use pointers 2023-08-09 20:00:06 +02:00
b0f446a514 make TreeNode struct heap-allocated 2023-08-09 19:59:05 +02:00
beaa017c87 formatting: remove trailing whitespace and commented code 2023-07-06 16:07:29 +02:00
a0e2f2d7df add undefined behavior sanitizer and address sanitizer to Makefile 2023-07-06 14:57:29 +02:00
f822c400e5 replace old client linked list code 2023-07-06 14:54:33 +02:00
4b1a638633 fix memory leaks 2023-07-06 14:41:54 +02:00