| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
* Add an extern() call. Maybe it should be defined on client. It
certainly should accept a dictionary instead of the enum type we use
now. Perhaps it should return the error code?
I'll leave it undocumented until I figure this out.
* Refactor enableRawMode, unblockStdin, etc. so that they operate on
the term object instead of global state.
* Move editor to a separate folder, and factor out runprocess into
a different module.
|
| |
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
| |
Introduced by 1.6.14. Warns of undefined behavior.
|
| |
|
|
|
|
| |
Kind of a hack, but better than nothing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Now we use Result for passing exceptions to JS. As a result, we can
finally get rid of the .jserr pragma.
|
|
|
|
| |
It's still kind of a mess, but it kind of works?
|
|
|
|
|
|
| |
* sread now raises EOFError if readData returns too few bytes
* buffer handleError ignores unregistered fds like client
* client handleError ignores unregistered fds like buffer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Quite incomplete canvas implementation. Crucially, the layout engine
can't do much with whatever is drawn because it doesn't support images
yet.
I've re-introduced multipart as well, with the FormData API. For the
append function I've also introduced a hack to the JS binding generator
that allows requesting the JSContext pointer in nim procs. Really I
should just fix the union generator thing and add support for overloading.
In conclusion, for now the only thing canvas can be used for is exporting
it as PNG and uploading it somewhere. Also, we now have PNG encoding and
decoding too. (Now if only we had sixels as well...)
|
| |
|
|
|
|
|
| |
Still far from perfect, but now at least it has a bit more to do
with what the standard mandates.
|
|
|
|
| |
Only document-charset supported for now.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Now the browser shouldn't completely die when a buffer crashes.
|
| |
|
|
|
|
|
| |
No, you can't just use CMSG_SPACE inside the alloc call, it has to
be stored in a variable first.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This gets rid of the inefficient timeout thing. Still, the ideal solution
would be to move the timeout into the container; TODO.
|
| |
|
|
|
|
| |
Also probably other fixes.
|
| |
|
| |
|
|
|
|
|
|
| |
Note that they don't actually work correctly because of rounding errors.
The fd sending hack now emits C directly. Let's hope this actually
works.
|
|
|
|
|
|
|
|
| |
* fix infinite loop after closing buffer
* fix setx not triggering hover updates
* fix D not going back to PREV but to parent
* add M-d, M-,, M-., M-/ for old D behavior, cycle through siblings,
back to parent
|
|
|
|
| |
Write always blocks for now, as it's too big of a footgun not to
|
|
|
|
| |
Also, fix a bug in the
|
|
|
|
|
| |
It's still stupid, but now it also does what it should've in the first
place...
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Editing is implemented using an external editor (like vi).
|
|
|
|
|
| |
Piped input works correctly again!
(Also fix hash's setter not working with url's without a fragment)
|
| |
|
|
|
|
| |
Well, not really proper, but better than nothing? Maybe not.
|
| |
|