| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
And use that in extern().
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
A capture size of 0 (e.g. |) no longer sends the regex matcher into an
infinite loop.
|
| |
|
|
|
|
|
| |
Certain functions were returning types that do not align with the
WebIDL defined in the dom standard.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* remove unused parseURL overload
* slightly refactor URL ctor and parseURL
|
|
|
|
| |
looks like the compiler can now deal with this by itself.
|
| |
|
| |
|
|
|
|
| |
The base.isSome branch was missing the searchParams initialization.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Older versions have some issues with non-exported symbols in macros
that I'm not really interested in working around.
|
| |
|
| |
|
|
|
|
| |
It was unused; we just set the width and height instead.
|
| |
|
|
|
|
|
|
|
| |
HTMLInputElement.inputString depends on inputType not being unknown.
(Maybe we should move this logic out of the html parser module
entirely and just set text as the default value...)
|
|
|
|
|
|
|
| |
* substr for Rune with 1 param: gone, ideally the other should be
removed too
* clearControls: gone, not used anymore.
* split for Rune: gone, not used anymore.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* get rid of a copy by the initial strip() call
* get rid of a copy by an avoidable substr() call
Also, replace Letters with AsciiAlpha for consistency's sake.
|
|
|
|
|
|
| |
For some reason we were only stripping tabs and newlines from the
beginning/end of the string. The standard says they should be ignored
completely.
|
| |
|
|
|
|
|
| |
sig is injected into the template body, but then never used, so we
discard it.
|
|
|
|
| |
also, replace the todo comment
|
|
|
|
|
| |
QUIT was old-style declarative keybinding syntax, this is no longer
supported.
|
| |
|
|
|
|
|
| |
so for example now -MV sets monochrome + visual mode instead of
erroring out
|
|
|
|
|
| |
Conceptually, seqs are by-value. In practice I they are by-ref,
but let's not depend on this.
|
|
|
|
|
|
| |
Welp.
GC_ref should only be called if a new reference is being created.
This is what we did until 48f1306f, where this regression slipped in.
|
|
|
|
| |
Before Nim 2.0, addr could only be used with mutable variables.
|
| |
|
| |
|
|
|
|
|
|
| |
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.)
|
| |
|
|
|
|
| |
These now live in separate repositories.
|
|
|
|
|
| |
Chawan has no use for validation errors. Either the URL parses or it
does not.
|
|
|
|
| |
for consistency
|
|
|
|
|
|
|
|
| |
* Opaque host parsing: it was not returning the output value. Also,
special was not being passed to the host parser so in effect it
wasn't even being used at all.
* Authority case: it was checking for c without checking for has,
that might cause an OOB exception.
|
|
|
|
| |
Simplify & reword.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|