Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: clean up/simplify | bptato | 2024-03-17 | 1 | -13/+13 |
| | | | | | | | | | * Parse the default config at runtime. There's no significant performance difference, but this makes it much less painful to write config code. * Add better error reporting * Make fromJS2 easier to use * Unquote ChaPaths while parsing config | ||||
* | Move SIGCHLD ignore call to forkserver | bptato | 2024-03-17 | 1 | -4/+0 |
| | | | | seems like it confuses popen() | ||||
* | main: ignore SIGCHLD | bptato | 2024-03-17 | 1 | -0/+4 |
| | | | | to avoid zombies | ||||
* | Move around some modules | bptato | 2024-03-14 | 1 | -1/+1 |
| | | | | | | | | * extern -> gone, runproc absorbed by pager, others moved into io/ * display -> local/ (where else would we display?) * xhr -> html/ * move out WindowAttributes from term, so we don't depend on local from server | ||||
* | Replace Chakasu with Chagashi | bptato | 2024-02-22 | 1 | -1/+1 |
| | | | | | | The API is horrid :( but at least it copies less. TODO: think of a better API. | ||||
* | forkserver: clean up | bptato | 2024-01-29 | 1 | -2/+1 |
| | | | | | Move forkBuffer into forkserver (why was it in container anyway), remove unused mainproc variable, etc. | ||||
* | Remove std/terminal dependency | bptato | 2024-01-17 | 1 | -1/+1 |
| | | | | It is mostly unnecessary, and conflicts with our use of termcap anyway. | ||||
* | Use std/* imports everywhere | bptato | 2024-01-07 | 1 | -7/+4 |
| | |||||
* | break up twtstr somewhat | bptato | 2023-12-13 | 1 | -0/+1 |
| | | | | | Avoid computing e.g. charwidth data for http which does not need it at all. | ||||
* | config: better path handling; fix array parsing bug | bptato | 2023-12-10 | 1 | -1/+8 |
| | | | | | | | | | * Paths are now parsed through an unified code path with some useful additions like environment variable substitution. * Fix a bug in parseConfigValue where strings would be appended to existing arrays (and not override them). * Fix beforeLast calling afterLast for some reason. * Add a default CGI directory. | ||||
* | Move clang workaround to config.nims | bptato | 2023-11-21 | 1 | -4/+0 |
| | |||||
* | Add -C option | bptato | 2023-10-27 | 1 | -144/+162 |
| | |||||
* | Fix crash on `cha -' | bptato | 2023-10-18 | 1 | -3/+5 |
| | |||||
* | move workaround from previous commit | bptato | 2023-10-05 | 1 | -0/+4 |
| | | | | agh... it didn't work with GCC | ||||
* | Accept bare strings in -o, fix -o with missing newline | bptato | 2023-09-20 | 1 | -1/+1 |
| | | | | | | | | * Bare strings are now allowed when specifying config options through -o. * Fix a bug where options specified with -o would be disregarded unless a newline was included. * (Also, add a TOML stringifier routine for debugging.) | ||||
* | main: set tmpdir for main process | bptato | 2023-09-16 | 1 | -0/+2 |
| | |||||
* | move around more modules | bptato | 2023-09-14 | 1 | -2/+2 |
| | | | | | | | | | | * ips -> io/ * loader related stuff -> loader/ * tempfile -> extern/ * buffer, forkserver -> server/ * lineedit, window -> display/ * cell -> types/ * opt -> types/ | ||||
* | move some modules to local/ | bptato | 2023-09-14 | 1 | -1/+1 |
| | | | | makes a bit more sense than the previous arrangement | ||||
* | main: remove stray eprint, update -o info text | bptato | 2023-09-06 | 1 | -2/+1 |
| | | | | | QUIT was old-style declarative keybinding syntax, this is no longer supported. | ||||
* | fix typo | bptato | 2023-09-06 | 1 | -2/+2 |
| | |||||
* | main: allow grouped single-letter params | bptato | 2023-09-05 | 1 | -59/+94 |
| | | | | | so for example now -MV sets monochrome + visual mode instead of erroring out | ||||
* | config: fix overriding default headers | bptato | 2023-08-26 | 1 | -2/+0 |
| | | | | | * simplify ActionMap reading * introduce separate case for Table | ||||
* | Move charsets into chakasu | bptato | 2023-08-14 | 1 | -1/+4 |
| | | | | Operation "modularize Chawan somewhat" part 1 | ||||
* | Add mailcap, mime.types & misc refactorings | bptato | 2023-08-13 | 1 | -9/+8 |
| | | | | | | | | * add mailcap: works with copiousoutput, needsterminal, etc. * add mime.types (only works with mailcap) * refactor pipeBuffer * remove "dispatcher" * fix bug in directory display where baseurl would not be used | ||||
* | Option -> Opt in config, return error in compileSearchRegex | bptato | 2023-06-24 | 1 | -2/+3 |
| | |||||
* | Add display/output encoding | bptato | 2023-05-19 | 1 | -1/+12 |
| | | | | Some encodings are still missing | ||||
* | Refactor config, add charset opts | bptato | 2023-05-16 | 1 | -12/+25 |
| | | | | Only document-charset supported for now. | ||||
* | Improve debugging, reduce crashes | bptato | 2023-05-09 | 1 | -1/+6 |
| | | | | Loader no longer dies when not everything is read from the stream. | ||||
* | Make width table at compile-time | bptato | 2023-01-27 | 1 | -1/+1 |
| | |||||
* | Get rid of eprint in place of stderr.write | bptato | 2023-01-05 | 1 | -2/+2 |
| | | | | eprint should only be used for debugging. | ||||
* | Add visual-home, rename undocumented config values | bptato | 2022-12-11 | 1 | -1/+1 |
| | |||||
* | Add -M, -V | bptato | 2022-12-05 | 1 | -4/+14 |
| | |||||
* | *_HOME should be disabled when stdin *is* a tty | bptato | 2022-11-30 | 1 | -1/+1 |
| | |||||
* | Disable *_HOME when stdin is a tty | bptato | 2022-11-30 | 1 | -1/+1 |
| | |||||
* | Load fork-server config after parsing arguments | bptato | 2022-11-30 | 1 | -1/+1 |
| | |||||
* | Support WWW_HOME, HTTP_HOME | bptato | 2022-11-30 | 1 | -0/+7 |
| | |||||
* | Add textarea | bptato | 2022-11-28 | 1 | -14/+10 |
| | | | | Editing is implemented using an external editor (like vi). | ||||
* | Fix some regressions, add loading progress bar | bptato | 2022-11-27 | 1 | -1/+3 |
| | |||||
* | Avoid forking child processes from the main process | bptato | 2022-11-24 | 1 | -6/+14 |
| | | | | Caveat: this breaks piped streams. | ||||
* | Color & term improvements | bptato | 2022-11-21 | 1 | -0/+1 |
| | |||||
* | Rewrite buffer/pager for multi-processing | bptato | 2022-11-19 | 1 | -3/+4 |
| | |||||
* | WIP pager | bptato | 2022-10-04 | 1 | -12/+19 |
| | |||||
* | Tweaks/bugfixes for arm | bptato | 2022-09-14 | 1 | -1/+1 |
| | |||||
* | More JS bindings | bptato | 2022-09-13 | 1 | -1/+7 |
| | |||||
* | Add JS binding generation | bptato | 2022-09-12 | 1 | -2/+2 |
| | |||||
* | Update docs | bptato | 2022-07-30 | 1 | -0/+2 |
| | |||||
* | Implement --, handle empty arguments | bptato | 2022-02-19 | 1 | -5/+14 |
| | |||||
* | Remove some unused variables | bptato | 2022-02-12 | 1 | -2/+0 |
| | |||||
* | Add some command line fixes, fix related bugs | bptato | 2022-01-25 | 1 | -4/+25 |
| | |||||
* | Rebrand program | bptato | 2022-01-22 | 1 | -1/+49 |
| |