about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* Makefile: add debugger:native to debug targetbptato2023-09-111-1/+1
|
* layout: fix table row group regressionbptato2023-09-101-9/+29
| | | | | Turns out we had the row groups separated for a reason: we need them so we can implicitly sort rows based on their row group type.
* container: accept numbers in cursorLeft, cursorRight, etc.bptato2023-09-093-25/+25
| | | | | | 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.
* layout: simplify preBuildTableRowsbptato2023-09-091-36/+13
| | | | the iterator here was rather pointless
* layout: remove commented out hackbptato2023-09-091-10/+0
| | | | | | Specifically, we used to set the width computed value of table cells manually in the past. It was a hack that never worked very well, and has been unnecessary ever since we switched to SizeConstraints.
* layout: add table rowspanbptato2023-09-093-13/+57
|
* fix compilation on 1.6.14bptato2023-09-091-3/+3
| | | | changing addr semantics strikes again
* buffer: remove url referencebptato2023-09-091-2/+3
| | | | The same reference is already stored in BufferSource as location.
* javascript: fix a GC bugbptato2023-09-092-5/+23
| | | | | | | GC_unref may indirectly call nim_finalize_for_js, which could mess up execution of checkDestroy. I haven't encountered it in refc, but it's definitely present in orc.
* blob: use JSDictbptato2023-09-091-10/+14
|
* tojs: remove JSDictbptato2023-09-091-12/+0
| | | | it's broken anyway, and unused currently
* remove obsolete commentbptato2023-09-091-1/+0
|
* event: use JSDictbptato2023-09-091-20/+18
|
* fetch: use JSDictbptato2023-09-094-46/+139
|
* javascript: add JSDict typebptato2023-09-094-14/+46
| | | | And use that in extern().
* add extern, refactor some term functionsbptato2023-09-097-71/+127
| | | | | | | | | | | * 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.
* ouchbptato2023-09-081-1/+1
|
* regex: avoid infinite loopbptato2023-09-081-1/+7
| | | | | A capture size of 0 (e.g. |) no longer sends the regex matcher into an infinite loop.
* update readmebptato2023-09-081-5/+9
|
* dom: align some return values with their webidlbptato2023-09-082-13/+13
| | | | | Certain functions were returning types that do not align with the WebIDL defined in the dom standard.
* Add vi-style numeric prefixes, make gotoLine 1-basedbptato2023-09-085-19/+118
| | | | | | | | * 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)
* container: add separate commands for 0 and ^bptato2023-09-083-1/+16
| | | | | 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.
* url: simplifybptato2023-09-081-26/+10
| | | | | * remove unused parseURL overload * slightly refactor URL ctor and parseURL
* cell: remove old hackbptato2023-09-081-4/+0
| | | | looks like the compiler can now deal with this by itself.
* fetch: allow string input, allow init dictionarybptato2023-09-082-4/+9
|
* buffer.click: implement preventDefaultbptato2023-09-081-8/+16
|
* URL: fix missing searchParams when baseURL is givenbptato2023-09-081-0/+3
| | | | The base.isSome branch was missing the searchParams initialization.
* atob, btoa: handle latin-1 correctlybptato2023-09-081-12/+36
|
* update todobptato2023-09-071-2/+1
|
* Add btoa, atobbptato2023-09-073-0/+38
|
* readme: note lack of Windows supportbptato2023-09-071-0/+1
|
* readme: clarifybptato2023-09-071-2/+2
|
* readme: update minimum required versionbptato2023-09-071-1/+1
| | | | | Older versions have some issues with non-exported symbols in macros that I'm not really interested in working around.
* toml: complain more on unexpected EOFbptato2023-09-071-2/+3
|
* container: remove strformat dependencybptato2023-09-071-2/+4
|
* container: remove attrsbptato2023-09-071-3/+0
| | | | It was unused; we just set the width and height instead.
* config: add gotoLine as M-gbptato2023-09-071-0/+1
|
* dom: set input type to text if not givenbptato2023-09-071-0/+2
| | | | | | | 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...)
* twtstr: remove some unused procsbptato2023-09-071-22/+0
| | | | | | | * 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.
* twtstr: remove toLowerAscii2bptato2023-09-072-23/+10
|
* update todobptato2023-09-071-0/+1
|
* url: optimizebptato2023-09-071-15/+21
| | | | | | | * 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.
* url: fix \n, \t not being properly removedbptato2023-09-071-1/+3
| | | | | | 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.
* toml: remove unused importbptato2023-09-071-1/+0
|
* loader: get rid of xdeclaredbutnotused warningbptato2023-09-071-0/+1
| | | | | sig is injected into the template body, but then never used, so we discard it.
* toml: fix newline counting in multiline stringsbptato2023-09-071-2/+4
| | | | also, replace the todo comment
* main: remove stray eprint, update -o info textbptato2023-09-061-2/+1
| | | | | QUIT was old-style declarative keybinding syntax, this is no longer supported.
* fix typobptato2023-09-061-2/+2
|
* main: allow grouped single-letter paramsbptato2023-09-051-59/+94
| | | | | so for example now -MV sets monochrome + visual mode instead of erroring out
* javascript: reference unforgeables in tablebptato2023-09-041-1/+1
| | | | | Conceptually, seqs are by-value. In practice I they are by-ref, but let's not depend on this.