| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* ips -> io/
* loader related stuff -> loader/
* tempfile -> extern/
* buffer, forkserver -> server/
* lineedit, window -> display/
* cell -> types/
* opt -> types/
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
The same reference is already stored in BufferSource as location.
|
| |
|
|
|
|
|
|
| |
Not exactly the cleanest solution, but it should work for now.
(Ideally it would only be called once after the select IF any of the
three occurred on a fetchable file descriptor.)
|
|
|
|
|
|
|
|
|
| |
Caveats:
* only works in buffers, no navigation yet
* converts the output result into a data URL, but data URLs are
not supported yet...
If JS is disabled, we simply do nothing.
|
| |
|
|
|
|
|
|
|
| |
Mostly a proof of concept. Just bubble it unconditionally for now
and never prevent default.
Also, fix fromJSFunction by Dup'ing its closure JSValue.
|
| |
|
|
|
|
|
|
|
| |
Split out parts of the JS module, because it was starting to confuse
the compiler a little.
(Peakmem is back at 750M. Interesting.)
|
|
|
|
| |
Operation "modularize Chawan somewhat" part 2
|
|
|
|
| |
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
|
|
|
|
|
| |
Fix bug of not setting focus on clicked text area elements, which
would result in the input text being discarded.
|
|
|
|
|
| |
Instead of directly appending nodes to the DOM, use a DOMBuilder
interface.
|
|
|
|
|
|
|
| |
Replaces the weird CSS implementation we have had until now with a
searchable popup menu similar to that of w3m. (The previous
implementation broke on websites that do not expect <select> to
expand on click, had no separate search, and was ugly.)
|
|
|
|
| |
...because that doesn't work at all.
|
| |
|
|
|
|
| |
Introduced by 1.6.14. Warns of undefined behavior.
|
| |
|
|
|
|
| |
Note: setters do not work yet.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Now it's not as horribly broken as before (but it's still far from
perfect). We can at least log in to sr.ht (hooray).
The form multipart part is straightforward, just pass what we used to pass
long ago before I broke multipart.
|
| |
|
|
|
|
| |
Instead of setting the non-standard res variable.
|
| |
|
|
|
|
|
| |
Now we use Result for passing exceptions to JS. As a result, we can
finally get rid of the .jserr pragma.
|
|
|
|
|
| |
Now a promise returning nil doesn't just leave the rest of the then
chain hanging. Hooray.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* 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...)
|
| |
|
|
|
|
| |
Only document-charset supported for now.
|
| |
|
| |
|
| |
|
|
|
|
| |
Now it should work for very basic use-cases
|
|
|
|
| |
It never really worked, and I can't be bothered to fix it now
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Instead of creating a new function for each attribute, use a single
magic function for reflected attributes.
|
| |
|