| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
These functions now take a numeric argument to determine how many
cells/lines to move. Also, update the default config so e.g. 9j
now works.
|
|
|
|
| |
The same reference is already stored in BufferSource as location.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* it is now possible to jump to the nth line by typing {n}G
* gotoLine is now 1-based, so to go to the first line you would use
pager.gotoLine(1)
* it is now allowed to return a function from a keybinding (which will be
subsequently executed as a regular keybinding)
|
|
|
|
|
| |
Just as in vi, 0 puts the cursor at the beginning of the current line,
and ^ puts the cursor at the position of the first non-blank character.
|
|
|
|
| |
looks like the compiler can now deal with this by itself.
|
| |
|
| |
|
|
|
|
| |
It was unused; we just set the width and height instead.
|
|
|
|
|
|
| |
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 race condition in updateReadLineISearch
* Disable reshape during isearch
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
This should help with moving to ORC in the future. (Also, finalizers
do not work very well in the first place.)
|
|
|
|
| |
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...)
|
|
|
|
| |
So that the default config actually works again. Also some doc updates.
|