Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | warn on eprint in release mode | bptato | 2023-10-21 | 3 | -3/+12 | |
| | | | | Maybe it's easier to avoid accidentally including like this | |||||
* | loader: remove stray eprint | bptato | 2023-10-21 | 1 | -1/+0 | |
| | ||||||
* | loader/http: do not choke on 103 early hints, use copyMem | bptato | 2023-10-20 | 1 | -11/+39 | |
| | ||||||
* | term: replace control chars in setTitle | bptato | 2023-10-20 | 1 | -1/+5 | |
| | ||||||
* | WindowAttributes: refactor | bptato | 2023-10-19 | 15 | -67/+75 | |
| | | | | | | * rename module (window -> winattrs, to avoid conflict with env/window) * do not use result * remove unused cell_ratio | |||||
* | dirlist: quote path names in href | bptato | 2023-10-18 | 1 | -1/+1 | |
| | | | | | | | so that it does not choke on files with an apos in them. (We could also htmlEscape it, but this should be enough since we percent-encode the paths already.) | |||||
* | Fix crash on `cha -' | bptato | 2023-10-18 | 1 | -3/+5 | |
| | ||||||
* | socketstream: get rid of pointer arithmetic | bptato | 2023-10-18 | 1 | -2/+4 | |
| | ||||||
* | pager/lineedit: notify lineedit of windowChange | bptato | 2023-10-18 | 2 | -0/+6 | |
| | | | | this was causing crashes | |||||
* | css: fix list style type presentational hints | bptato | 2023-10-14 | 1 | -17/+20 | |
| | | | | third time's the charm | |||||
* | css: support more list types, fix <ul/ol type=... | bptato | 2023-10-14 | 2 | -9/+39 | |
| | | | | | | | Turns out you can't just throw the value into the CSS value parser. (Also, correction for the previous commit message: it is not LI but UL or OL.) | |||||
* | css: support alphabetic list types, support <LI TYPE=... | bptato | 2023-10-14 | 2 | -2/+59 | |
| | ||||||
* | container: add cursorNthLink, cursorRevNthLink | bptato | 2023-10-14 | 3 | -5/+53 | |
| | ||||||
* | remove outdated comment | bptato | 2023-10-14 | 1 | -1/+0 | |
| | ||||||
* | XHR progress | bptato | 2023-10-14 | 3 | -9/+112 | |
| | | | | still non-functional | |||||
* | layout: move Strut from box -> engine | bptato | 2023-10-14 | 2 | -13/+14 | |
| | ||||||
* | layout: remove unused InlineAtom members | bptato | 2023-10-14 | 1 | -2/+0 | |
| | ||||||
* | layout: add LineBoxState | bptato | 2023-10-14 | 2 | -64/+82 | |
| | | | | Makes LineBox objects a bit smaller. | |||||
* | layout: get rid of baseline, firstBaseline functions | bptato | 2023-10-14 | 2 | -25/+22 | |
| | ||||||
* | fix comment | bptato | 2023-10-13 | 1 | -1/+1 | |
| | ||||||
* | layout: refactor InlineContext | bptato | 2023-10-13 | 2 | -162/+187 | |
| | | | | | Most InlineContext members may be discarded after layout, and thus belong in InlineState. | |||||
* | Refactor Console | bptato | 2023-10-13 | 6 | -116/+168 | |
| | | | | | * merge dom.console & client.Console * move client-specific stuff out of Console (into callbacks when necessary) | |||||
* | config: fix `include` naming | bptato | 2023-10-09 | 1 | -4/+4 | |
| | | | | use what is documented | |||||
* | move workaround from previous commit | bptato | 2023-10-05 | 1 | -0/+4 | |
| | | | | agh... it didn't work with GCC | |||||
* | twtstr: optimize width | bptato | 2023-10-01 | 1 | -34/+17 | |
| | ||||||
* | urimethodmap fixes | bptato | 2023-10-01 | 1 | -7/+6 | |
| | ||||||
* | Add w3m-cgi-compat option | bptato | 2023-10-01 | 8 | -32/+64 | |
| | ||||||
* | url: fix file slash state mistake | bptato | 2023-10-01 | 1 | -2/+2 | |
| | | | | | wrong indentation, so file:/abcd was getting stuck in file slash state and returning an empty pathname | |||||
* | Fix cursor x not being updated on backwards search | bptato | 2023-10-01 | 1 | -3/+11 | |
| | | | | | `refresh' does not correlate with the need of moving the cursor X position, `save' is a better choice. | |||||
* | container: fix oob in area highlighting | bptato | 2023-10-01 | 1 | -0/+2 | |
| | | | | Avoid coloring parts of areas outside the screen. | |||||
* | container: center column in setCursorXYCenter | bptato | 2023-10-01 | 1 | -0/+3 | |
| | | | | Makes searching on long lines work properly. | |||||
* | more vi/m compat | bptato | 2023-10-01 | 1 | -16/+26 | |
| | ||||||
* | term: un-export canvas | bptato | 2023-10-01 | 1 | -1/+1 | |
| | ||||||
* | Improve vi/m compat in scrolling | bptato | 2023-10-01 | 1 | -17/+68 | |
| | ||||||
* | css: change type of rvalue to char (from Rune) | bptato | 2023-10-01 | 4 | -52/+62 | |
| | | | | | | | | We did were not using it as a unicode value anywhere, it was just making our life harder. If we ever need unicode delimiter tokens, we can re-introduce them as a different token type. | |||||
* | selectorparser: fix missing case insensitivity | bptato | 2023-10-01 | 1 | -10/+16 | |
| | ||||||
* | Use twtstr.join everywhere | bptato | 2023-10-01 | 4 | -5/+8 | |
| | ||||||
* | Get rid of unicode.toLower | bptato | 2023-10-01 | 5 | -10/+11 | |
| | | | | | It was used by mistake in a hundred percent of the cases we were using it. | |||||
* | Update chame | bptato | 2023-09-30 | 1 | -1/+1 | |
| | ||||||
* | buffer: fix cursor unnecessarily jumping to y=0 | bptato | 2023-09-30 | 2 | -7/+10 | |
| | | | | | then() is called even if a nil Promise is returned, so an Opt is needed here. | |||||
* | lineedit: fix backspace bug | bptato | 2023-09-30 | 1 | -1/+1 | |
| | | | | | We must decrease cursori by `len`, because exactly `len` bytes have been deleted from before the cursor. | |||||
* | Improve implicit form submission | bptato | 2023-09-30 | 2 | -12/+26 | |
| | | | | | | * Implement the "default button" part of the standard. * If the submitter is the form, formmethod may be called on it. Check if this is the case in the function, and if yes, return the form's method. | |||||
* | Add urimethodmap support | bptato | 2023-09-30 | 10 | -86/+196 | |
| | | | | yay | |||||
* | buffer: improve submitForm | bptato | 2023-09-30 | 2 | -10/+46 | |
| | | | | | * add handlers for javascript, mailto * HTTP-like behavior for unknown protocols | |||||
* | loader: add local-cgi | bptato | 2023-09-30 | 9 | -23/+223 | |
| | | | | | | | | | | | Add w3m-style local CGI support. It is not quite as powerful as w3m's local CGI, because it lacks an equivalent to W3m-control. Not sure if it's worth adding; we certainly shouldn't allow passing JS in headers, but a custom language for headers does not sound like a great idea either... eh, idk. also, TODO add multipart | |||||
* | posixstream: fix buffer overflow | bptato | 2023-09-28 | 1 | -1/+2 | |
| | ||||||
* | Response.text: assume utf-8 | bptato | 2023-09-27 | 1 | -5/+5 | |
| | ||||||
* | Response.text: encode/decode properly | bptato | 2023-09-27 | 2 | -7/+24 | |
| | | | | also, use blob() for images | |||||
* | buffer: simplify contentType handling | bptato | 2023-09-27 | 7 | -47/+44 | |
| | | | | | | * remove contentType member of Buffer object * add ishtml to reduce string comparisons * consistent spelling: contenttype -> contentType | |||||
* | interface clone: remove unused arg, document | bptato | 2023-09-27 | 2 | -5/+10 | |
| |