| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
* add $LOGNAME to the tmp directory name, so that tmpdirs of separate
users don't conflict
* use separate directory for sockets, so that we do not have to give
buffers access to all cached pages
|
|
|
|
| |
no point in having identical overloads
|
|
|
|
|
|
|
| |
* unwind the QJS stack with an uncatchable exception when quit is called
* clean up JS references in JSRuntime free even when the Nim
counterparts are still alive
* simplify some tests
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's the sandboxing system of FreeBSD. Quite pleasant to work with.
(Just trying to figure out the basics with this one before tackling the
abomination that is seccomp.)
Indeed, the only non-trivial part was getting newSelector to work with
Capsicum. Long story short it doesn't, so we use an ugly pointer cast +
assignment. But even that is stdlib's "fault", not Capsicum's.
This also gets rid of that ugly SocketPath global.
|
|
|
|
| |
as described in <https://todo.sr.ht/~bptato/chawan/6>
|
|
|
|
|
|
| |
* put forkServer into main()
* use a ctx type instead of closures
* get rid of types/opt import
|
|
|
|
| |
This way, we can use it everywhere (e.g. in mailcap).
|
|
|
|
|
| |
* move mouse handling to term
* do not use File for input just to disable buffering anyway
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
seems like it confuses popen()
|
|
|
|
| |
to avoid zombies
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
The API is horrid :( but at least it copies less.
TODO: think of a better API.
|
|
|
|
|
| |
Move forkBuffer into forkserver (why was it in container anyway), remove
unused mainproc variable, etc.
|
|
|
|
| |
It is mostly unnecessary, and conflicts with our use of termcap anyway.
|
| |
|
|
|
|
|
| |
Avoid computing e.g. charwidth data for http which does not need it
at all.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
| |
agh... it didn't work with GCC
|
|
|
|
|
|
|
|
| |
* 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.)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* ips -> io/
* loader related stuff -> loader/
* tempfile -> extern/
* buffer, forkserver -> server/
* lineedit, window -> display/
* cell -> types/
* opt -> types/
|
|
|
|
| |
makes a bit more sense than the previous arrangement
|
|
|
|
|
| |
QUIT was old-style declarative keybinding syntax, this is no longer
supported.
|
| |
|
|
|
|
|
| |
so for example now -MV sets monochrome + visual mode instead of
erroring out
|
|
|
|
|
| |
* simplify ActionMap reading
* introduce separate case for Table
|
|
|
|
| |
Operation "modularize Chawan somewhat" part 1
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
Some encodings are still missing
|
|
|
|
| |
Only document-charset supported for now.
|
|
|
|
| |
Loader no longer dies when not everything is read from the stream.
|
| |
|
|
|
|
| |
eprint should only be used for debugging.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Editing is implemented using an external editor (like vi).
|
| |
|
|
|
|
| |
Caveat: this breaks piped streams.
|
| |
|
| |
|