turn some crazy printfs in puts/putc combinations |
|
More...
|
almost 3 years ago
|
switch vistree to uprntmbs-based as this works now |
|
More...
|
almost 3 years ago
|
trim trailing whitespace from p->command and put one back in its users for truncation tolerance; also, use file-local knowledge to size buffers |
|
More...
|
almost 3 years ago
|
move vistree() from tree.c to jobs.c |
|
More...
|
almost 3 years ago
|
make use of some shf_scheck to avoid splitting some multibyte chars |
|
More...
|
almost 3 years ago
|
another tiny I/O optimisation |
|
More...
|
almost 3 years ago
|
inline what little is needed off that macro body |
|
More...
|
almost 3 years ago
|
let shf_write (and its wrapper shf_puts) truncate when writing to string; before, it refused to write due to lack of space but didn’t close the destination for further writing, allowing loss of information in the middle |
|
More...
|
almost 3 years ago
|
let shf_write (and its wrapper shf_puts) truncate when writing to string; before, it refused to write due to lack of space but didn’t close the destination for further writing, allowing loss of information in the middle |
|
More...
|
almost 3 years ago
|
let shf_write (and its wrapper shf_puts) truncate when writing to string; before, it refused to write due to lack of space but didn’t close the destination for further writing, allowing loss of information in the middle |
|
More...
|
almost 3 years ago
|
introduce shf_scheck for shf objects (like XcheckN for dynamic strings) which we can use to “close up” an SHF_STRING shf for any further writes if n bytes cannot be made to fit (by growing); this ensures we can avoid multibyte character truncating in the middle (when used properly) |
|
More...
|
almost 3 years ago
|
ensure direct builtin calls unwind properly |
|
More...
|
almost 3 years ago
|
ensure direct builtin calls unwind properly |
|
More...
|
almost 3 years ago
|
ensure direct builtin calls unwind properly |
|
More...
|
almost 3 years ago
|
partial escaping work: |
|
More...
|
almost 3 years ago
|
optimise initialisation size of dynamic string for bind |
|
More...
|
almost 3 years ago
|
use an on-stack buffer, much less malloc overhead |
|
More...
|
almost 3 years ago
|
inline ksh_toctrl into its two users |
|
More...
|
almost 3 years ago
|
use a terminated buffer on the odd chance of a hi-bit7 intr char |
|
More...
|
almost 3 years ago
|
use a terminated buffer on the odd chance of a hi-bit7 intr char |
|
More...
|
almost 3 years ago
|
use a terminated buffer on the odd chance of a hi-bit7 intr char |
|
More...
|
almost 3 years ago
|
mask prototypes for #ifdef DEBUG-only functions the same |
|
More...
|
almost 3 years ago
|
in prep of things to come, factor out dumpchar in a loop |
|
More...
|
almost 3 years ago
|
more EBCDIC sanity checks as I begin drafting new escaping APIs |
|
More...
|
almost 3 years ago
|
• inline utf_skipcols into the only remaining user shf_vfprintf • but fix it so "%.21s" cuts off 2-column chars correctly at the end |
|
More...
|
almost 3 years ago
|
no side effects in macro invocation |
|
More...
|
almost 3 years ago
|
no side effects in macro invocation |
|
More...
|
almost 3 years ago
|
no side effects in macro invocation |
|
More...
|
almost 3 years ago
|
drop utf_skipcols call: |
|
More...
|
almost 3 years ago
|
fix the possible “backspacing too much” in UTF8MODE with raw octets |
|
More...
|
almost 3 years ago
|