| 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/
|
|
|
|
| |
makes a bit more sense than the previous arrangement
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Increasing the index breaks parsing, because that is already done
in getParam().
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|