about summary refs log tree commit diff stats
path: root/src/ips/forkserver.nim
Commit message (Collapse)AuthorAgeFilesLines
* move around more modulesbptato2023-09-141-249/+0
| | | | | | | | | | * ips -> io/ * loader related stuff -> loader/ * tempfile -> extern/ * buffer, forkserver -> server/ * lineedit, window -> display/ * cell -> types/ * opt -> types/
* Switch buffer -> client connection to client -> bufferbptato2023-09-141-1/+13
| | | | | | | | | | | | We now connect to buffers from the client, instead of connecting buffers to the client. This has the following advantages: * Simplifies the client event loop. * Makes the client a real client (no more serversocket dependency). * Slightly more secure, as we no longer have to trust buffers not lying about their process ids. * Facilitates the potential future addition of connections from several clients to a single buffer.
* Allow overriding default headersbptato2023-08-261-4/+1
|
* Add mailcap, mime.types & misc refactoringsbptato2023-08-131-7/+11
| | | | | | | | * 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
* Add proxy supportbptato2023-07-041-4/+8
|
* Factor out headers into separate modulebptato2023-07-011-1/+1
|
* Fix crash in openEditor if SIGINT was deliveredbptato2023-06-261-2/+13
| | | | | | | | | | | nvi for example sets ISIG and traps SIGINT. Without this patch, this would propagate to all processes in the same process group and kill them. (It still does, but we set a signalHandler to ignore that.) Still not perfect, because for some reason we receive WIFSIGNALED even if the signal did not actually kill the editor. For now, we just treat this as a success.
* Add setTimeout, setInterval to windowbptato2023-06-011-0/+2
|
* Rewrite new Request bindingbptato2023-05-211-1/+3
| | | | | Still far from perfect, but now at least it has a bit more to do with what the standard mandates.
* Refactor config, add charset optsbptato2023-05-161-4/+4
| | | | Only document-charset supported for now.
* Async resource loading, exception handling fixesbptato2023-05-141-5/+19
|
* WIP fetchbptato2023-04-301-8/+10
|
* Make width table at compile-timebptato2023-01-271-1/+1
|
* client, pager, dom, ...: better error handlingbptato2023-01-041-5/+21
| | | | Now the browser shouldn't completely die when a buffer crashes.
* Add promise support to JSbptato2022-12-311-1/+1
|
* Add referer support, re-render on windowChangebptato2022-12-131-14/+25
|
* Fix stream error handling confusion, title displaybptato2022-12-131-3/+4
| | | | Also probably other fixes.
* Add all sorts of config options and cookiesbptato2022-12-131-5/+9
|
* Add urlfilterbptato2022-12-121-5/+9
|
* Add textareabptato2022-11-281-2/+14
| | | | Editing is implemented using an external editor (like vi).
* Improve status messages, fix regressions, etcbptato2022-11-251-0/+1
|
* Avoid forking child processes from the main processbptato2022-11-241-0/+152
Caveat: this breaks piped streams.