Julian Noble
|
55c426be68
|
repl shutdown/eof fixes, PUNK_PIPE_EOF policy, console query guards, opunk::console voo class, test framework fixes
punk::repl (0.1.4):
- cancel the deferred (after idle) stdin reader registration when the repl finishes - a stale
registration could re-attach a reader to a completed repl (piped stdin racing shutdown produced
'error2 in repl_process_data: invalid thread handle ""')
- repl_process_data drops input arriving after codethread teardown instead of erroring
- repl::init constructs the process-default console object (anchored opunk::console instance
'default') and settles can_respond 1 for interactive stdin
app-punkshell:
- eof on the input channel now follows env(PUNK_PIPE_EOF): exit | interactive | unset=heuristic
(reopen console if available, else terminate) - replaces the unconditional CONIN$/dev-tty repl
restart that hung automated callers forever; documented in punk::config punk_env_vars_config
('help env')
punk::console (0.1.4):
- input_at_eof (certainty, with non-blocking probe read for deferred pipe eof) and
is_input_console_or_tty (heuristic incl. mintty-without-winpty env hints)
- get_size skips ANSI cursor-report mechanisms for non-terminal input (tput then 80x24 default)
- removed erroneous repl-restart attempts from get_ansi_response_payload eof handling (re-entrancy,
bypassed eof policy; one call was a typo repl::reopen)
- console_spec_resolve: -console (and legacy positional inoutchannels) accepts a channel pair, an
anchored opunk::console instance name, or an ::opunk::Console object value; settled can_respond 0
refuses query emission and supplies the object's default size; default_console proc + auto-attach
of the anchored 'default' instance for matching channel pairs
opunk::console (new, 0.1.0):
- voo-based -virtual class ::opunk::Console: console as an in/out channel pair with settled
capability facts; canonical instances anchored at ::opunk::console::instances::<name> with
value semantics as snapshots; subclass dispatch via slot-0 tag for future channel-environment
consoles (ssh, tk-widget terminals); added to bootsupport (with voo) for boot-level use
tests:
- src/tests/shell/testsuites/punkexe: hang-proof punk_run/punk_run_expect_alive harness; termination
guards, exitcode propagation, help-env render with piped stdin, default-console smoke test,
PUNK_TEST_GOALS-gated interactive drop-in goal tests
- src/tests/modules/punk/console: probe helper and console-spec/integration suites
- src/tests/modules/opunk/console: Console class suite incl. virtual dispatch
- runtests.tcl testinterp: 'package prefer latest' (dev 999999 alpha modules no longer shadowed by
stable bootsupport copies) and src/vendormodules on the module path (voo etc resolvable)
AGENTS: punk::args usage policy, -console migration contract, bootsupport update workflow
correction, opunk voo conventions, testinterp contracts
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
4 weeks ago |
Julian Noble
|
0455efd614
|
startup behaviour,punk::path fixes, AGENTS guidance
|
1 month ago |
Julian Noble
|
e796135b2c
|
executable stdin handline, + various
|
1 month ago |
Julian Noble
|
d264c284e4
|
fcat improvements, test framework work
|
1 month ago |
Julian Noble
|
877e8df9ad
|
change some module filenames for better version control, basic xbin support in overtype
|
2 months ago |
Julian Noble
|
2b5cef9d36
|
fifo2 & startup interim fixes. sqids lib. vfs tidy
|
2 months ago |
Julian Noble
|
6128fb4f5b
|
detect unicode support by char display width and use ascii if necessary in repl mode raw boxes
|
3 months ago |
Julian Noble
|
e67566bfdf
|
overtype fixes, raw-mode repl fixes - literal tab handling, punk::ansi fixes
|
3 months ago |
Julian Noble
|
36cb87b0dd
|
punk::lib - tclscript_info tclscript_showparse, remove line continuations for better cmdtrace support
|
3 months ago |
Julian Noble
|
b8f57878f2
|
overtype and ansi changes, untabify, opunk, experimental punk::lib::tclscript_info static analysis beginnings
|
3 months ago |
Julian Noble
|
4c6a3058c3
|
punk::ansi and overtype fixes and tests, grepstr fixes, punk::args synopsis improvements, voo module
|
4 months ago |
Julian Noble
|
d6d6ea8de5
|
overtype,punk::winlnk,punk::args,punk::console etc fixes.
|
4 months ago |
Julian Noble
|
413d25c065
|
fix ::env(SHELL) more posixy,mintty fixes,fglob -patterndebug,dirfiles_dict collection changes for links,remove punk::args stderr debug output
|
4 months ago |
Julian Noble
|
7af968865a
|
agent hints, test package changes, pattern module changes, new module punk::net::vxlan, etc (late checkin)
|
6 months ago |
Julian Noble
|
50d264eb53
|
punk::console DECRQM DECRPM updates
|
7 months ago |
Julian Noble
|
f658fbee63
|
ansi work - sauce,binarytext
|
8 months ago |
Julian Noble
|
d814e7e283
|
misc ansi fixes, refactoring
|
8 months ago |
Julian Noble
|
927017a7dc
|
punk::repl more stderr debug output
|
8 months ago |
Julian Noble
|
d405689e28
|
punk::repl debug
|
8 months ago |
Julian Noble
|
ce9c44c3c3
|
repl debug, updated shellfilter,shellthread,punk::netbox
|
8 months ago |
Julian Noble
|
bc9bacd82b
|
tclcore doc updates, punk::args fixes, cmdtrace
|
9 months ago |
Julian Noble
|
37bbe92cf8
|
fix some overtype issues, fix modpod and libunknown global var pollution
|
9 months ago |
Julian Noble
|
e331ddff11
|
help and documentation additions/fixes
|
9 months ago |
Julian Noble
|
b5a586fcc3
|
add updated pattern and tarjar modules, overhaul of punk::ns and punk::args to better support synopses and autodef generation, punk::ns tests
|
10 months ago |
Julian Noble
|
8e2707ae11
|
fix ansi merge for nounderline underline, rawmode without twapi on windows using powershesll
|
10 months ago |
Julian Noble
|
963a5a788b
|
make.tcl and console rawmode fixes
|
11 months ago |
Julian Noble
|
6b7cfa1843
|
make.tcl and scriptwrap fixes
|
11 months ago |
Julian Noble
|
7c40f63c2a
|
subshell and subprocess work
|
1 year ago |
Julian Noble
|
c5dc332e18
|
make.tcl fixes and scriptwrap fixes, sdx.kit
|
1 year ago |
Julian Noble
|
d4284083a2
|
add punk::args::tclcore to bootsupport, but make it a soft dependency in punk::repl interps
|
1 year ago |
Julian Noble
|
fac00026fb
|
ansi and make.tcl fixes
|
1 year ago |
Julian Noble
|
d926570b8c
|
make.tcl bootsupport fixes etc
|
1 year ago |
Julian Noble
|
2f787109d8
|
main.tcl dev-os-internal pkIndex and tm package ordering, punk::args tests/fixes, docs and misc
|
1 year ago |
Julian Noble
|
71f26e0465
|
more punk::args fixes/tests docs etc
|
1 year ago |
Julian Noble
|
4773a6a562
|
misc fixes, punk::args, repl timing, tclcore & tkcore docs, libunknown, test::punk::ansi testsuite beginning
|
1 year ago |
Julian Noble
|
cc5300400d
|
punk::libunknown - package unknown system
|
1 year ago |
Julian Noble
|
f65d8f7c02
|
optimised package loading in zipfs, various fixes
|
1 year ago |
Julian Noble
|
ea8531f86e
|
punk::ansi::ansiwrap and shellfilter::ansiwrap improvements, punk::config improvements
|
1 year ago |
Julian Noble
|
1ab0de6cef
|
update modules & vendormodules - netbox,tomlish + minor edits in others
|
1 year ago |
Julian Noble
|
fe03c0652b
|
whitespace (end of line) fixes and fconfigure->chan configure fileevent->chan event, minor expr tweaks
|
1 year ago |
Julian Noble
|
e8c1de935e
|
whitespace changes and tclint.toml config for tclint LSP
|
1 year ago |
Julian Noble
|
ab43137c29
|
add punk::imap4 pkg, promise pkg, console/cesu/args updates
|
1 year ago |
Julian Noble
|
ae83749222
|
punk::args and ansi fixes, another vfs
|
1 year ago |
Julian Noble
|
24c788b646
|
punk::args fixes, package override check of info loaded
|
2 years ago |
Julian Noble
|
1f68b9aa62
|
punk::args fixes, auto_execok override
|
2 years ago |
Julian Noble
|
ca1d9f422f
|
textblock unicode and table work, function documentation (i command)
|
2 years ago |
Julian Noble
|
de8c5ff7ad
|
punk::args and punk::ns improvements, command help with 'i'
|
2 years ago |
Julian Noble
|
7e890a8eb2
|
punk::args leading positionals
|
2 years ago |
Julian Noble
|
9ad29680c3
|
misc ansi and console fixes
|
2 years ago |
Julian Noble
|
80239a0246
|
many punk::args and textblock changes
|
2 years ago |