Commit graph

83 commits

Author SHA1 Message Date
fa97c73522 add NFLAGS to ct_node
NFLAGS will be used to avoid unnecessary CPU usage for events like resizing windows, a bitflag will be instead set to notify cursetree at the end of each ct_update
2025-09-14 00:13:55 +10:00
759920a9cc (UNDER CONSTRUCTION) cursetree is now a non-binary tree yippiegit add .
also abstracted ncurses WINDOW into the ct_surface structure. and added ct_bounds to complement ct_dims.
2025-09-13 23:45:56 +10:00
b04f0b4aa3 hide <ncursesw/ncurses.h> behind ncrswrap.*
isolate ct_dims implementation to dims.*
2025-09-13 12:44:58 +10:00
1dd5dd79c8 rename crs_* types to ct_* 2025-09-13 11:21:34 +10:00
2d76f8221e refactor cursetree into node.c & tree.c 2025-09-13 11:16:28 +10:00
daaaaf979c change DORNE_*_H namespacing to CURSETREE_*_H 2025-09-13 10:58:31 +10:00
69745c81f7 mv cursetree/pty subdir 2025-09-13 10:47:48 +10:00
878be07a71 rename cli/ -> cursetree/ 2025-09-13 10:39:58 +10:00
2ad6e4e104 AUTO RESIZING NOW WORKS WELL 2025-09-12 01:54:21 +10:00
6cc80f32a3 README should specify ncurses extensions 2025-09-12 01:52:35 +10:00
373081a1b3 add (terrible) support for auto window resizing 2025-09-12 00:17:48 +10:00
a90b99baa3 fix Makefile attempts to build shfx (removed) 2025-09-12 00:15:53 +10:00
4dcd8f09f5 update TODO 2025-09-12 00:15:29 +10:00
fc43b6a8de fix scripts/test doesn't re-init termios(3x) attrs (ie on SIGSEGV) 2025-09-11 22:19:30 +10:00
8451df7c92 scripts/test now outputs a valgrind log 2025-09-11 22:18:35 +10:00
15650ef26c fix scripts/test not compiling with DWARF symbols 2025-09-11 22:18:06 +10:00
f2d4060b2b fix scripts/test fail if program doesn't exist before build phase 2025-09-11 22:17:17 +10:00
973cefeeb8 ignore logging directory 2025-09-11 22:16:09 +10:00
0eb08bb04e rename init_tree -> init_cursetree 2025-09-11 21:12:40 +10:00
d35e200488 fix pipewire linked with everything + rename ilovecurses -> cursetree 2025-09-11 20:50:55 +10:00
0fcb8143cf remove shfx subproject 2025-09-11 20:35:08 +10:00
3c2977d76b BIFURCATION IMPLEMENTED 2025-09-11 19:27:49 +10:00
fce84f1844 fix bifurcation AXIS_Y bug 2025-09-11 19:27:02 +10:00
79f5c5235a add term_dims() func 2025-09-11 19:26:28 +10:00
f73dbd7d8a ensure initscr(3x) & use newwin(3x) not stdscr(3x) for root node 2025-09-11 19:24:48 +10:00
8c4f288a97 finish bulk of tree.* implementation 2025-09-11 17:41:14 +10:00
669f620a6a add resizemv_window() method to curse.* interface 2025-09-11 17:40:25 +10:00
206f1e6a09 comment old curse.c main function 2025-09-11 17:39:49 +10:00
1f26441c71 fix bad inline usage 2025-09-11 17:38:31 +10:00
a04cc6a6e5 generalise test script 2025-09-11 17:36:10 +10:00
2db9e5d141 ignore valgrind artefacts 2025-09-11 17:35:06 +10:00
4d7402fa52 add curses.c WINDOW init funcs 2025-09-10 23:05:07 +10:00
a55c25d319 separate initscr(3x) wrapper to new function 2025-09-10 22:54:20 +10:00
79272e8421 structure dorne cli as a binary tree 2025-09-10 22:49:24 +10:00
c3074a75eb add ncurses wrapper 2025-09-10 22:49:05 +10:00
361d63be94 TODO.md --with-pthread question 2025-09-10 22:47:59 +10:00
c1e28f2f2e add child related TODO items 2025-09-10 01:25:52 +10:00
2e10e88504 begin simple child process interface 2025-09-10 01:25:34 +10:00
8991d8ec04 fix epty includes mkpty.h not _pty.h 2025-09-10 01:24:41 +10:00
3f9b404012 simplify Makefile using macros 2025-09-10 01:23:38 +10:00
b2f204a2cb add epty.* to extend _pty.*
stdout/stderr independence for child process
2025-09-09 21:07:34 +10:00
ac590806bf rename mkpty.* -> _pty.* 2025-09-09 21:05:42 +10:00
d04f14c038 reformat and refactor mkpty.* 2025-09-09 21:03:40 +10:00
2893caf8ab fix mkpty function declarations 2025-09-09 19:43:54 +10:00
a1e34376de begin removing Makefile boilerplate 2025-09-09 19:42:41 +10:00
e599801f2e finish mkpty.c 2025-09-09 17:35:37 +10:00
8adc42aabc add glibc licenses (for next commit) 2025-09-09 17:34:55 +10:00
c040219350 dorne GPLv3 license 2025-09-09 17:34:30 +10:00
c68fc6de5e add custom pty interface 2025-09-09 15:43:54 +10:00
bd87f194f2 begin shfx (shell f(x)), graphing cli 2025-09-09 15:43:20 +10:00