Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | twtstr: remove tolower, isWhitespace | bptato | 2023-11-20 | 8 | -34/+23 |
| | | | | | | | | * tolower: strutils toLowerAscii is good enough for the cases where we need it. Also, it's easy to confuse with unicode toLower and vice versa. * isWhitespace: in AsciiWhitespace is more idiomatic. Also has a naming collision with unicode toLower. | ||||
* | renderdocument, cell: fix FormatCell bugs | bptato | 2023-11-20 | 2 | -20/+43 |
| | | | | | | | * No more zero width FormatCells messing up buffer display (yay!) * Assert on setText width a zero-length string * Remove unnecessary FormatCell added to every line on paintBackground start | ||||
* | buffer: optimize findPrevLink | bptato | 2023-11-20 | 1 | -0/+8 |
| | | | | | It's better to not do it perfectly in 100% of all cases than to loop through the entire document in all cases. | ||||
* | fix chakasu submodule ref | bptato | 2023-11-20 | 1 | -0/+0 |
| | |||||
* | gmifetch: fix uninitialized memory access & UAF | bptato | 2023-11-17 | 1 | -10/+9 |
| | | | | C is scary | ||||
* | gmi2html: fix main signature | bptato | 2023-11-17 | 1 | -1/+1 |
| | |||||
* | Update chakasu | bptato | 2023-11-17 | 2 | -1/+1 |
| | |||||
* | update chawan.html | bptato | 2023-11-17 | 1 | -48/+60 |
| | |||||
* | gmifetch: do not decode URLs from query string | bptato | 2023-11-17 | 1 | -2/+0 |
| | |||||
* | cha-finger: bugfixes | bptato | 2023-11-17 | 1 | -10/+3 |
| | | | | | | * Accept port 79, not 73 * Accept ipv6 addresses * We no longer have to URL decode the input | ||||
* | urimethodmap: do not escape substituted URI | bptato | 2023-11-17 | 2 | -3/+5 |
| | | | | This is consistent with what w3m does and is way more convenient. | ||||
* | http: use Accept-Encoding | bptato | 2023-11-17 | 3 | -0/+5 |
| | | | | just ask libcurl to decode | ||||
* | layout: move charwidth into LineBoxState | bptato | 2023-11-17 | 1 | -9/+8 |
| | |||||
* | layout: add floats | bptato | 2023-11-17 | 4 | -223/+569 |
| | | | | | | | | | | | | | yay!!!! * Add support for float: left, float: right Also, misc stuff: * Add support for display: flow-root * Set line width to the maximum allowed width on line wrap * Various refactorings Still todo: support clear | ||||
* | env: add window.frames, window.self | bptato | 2023-11-15 | 1 | -0/+6 |
| | | | | both just return identity | ||||
* | update todo | bptato | 2023-11-15 | 1 | -0/+4 |
| | |||||
* | bonus: add finger adapter | bptato | 2023-11-14 | 1 | -0/+44 |
| | | | | sort of based on lynx's finger URL parsing, except it's dumber | ||||
* | dom: fix lastElementChild | bptato | 2023-11-13 | 1 | -1/+1 |
| | |||||
* | layout: refactor flow margin propagation, sizing | bptato | 2023-11-12 | 4 | -615/+637 |
| | | | | | | | | | * Blocks are now positioned before their text contents would be layouted * Untangle calcAvailableSpaceSizes's results from BlockBox * Move a couple of objects from box -> engine * Use Size in a few more places * Set display to block if float is not none | ||||
* | color: fix 3/6-digit hex color parsing | bptato | 2023-11-11 | 1 | -2/+4 |
| | |||||
* | gmifetch: properly set minimum TLS version, include string.h | bptato | 2023-11-01 | 1 | -4/+2 |
| | | | | | | | * Setting minimum TLS versions by SSL_CTX_set_options is deprecated, and we were doing it wrong anyway. Use SSL_CTX_set_min_proto_version instead. * Include string.h header to reduce clang whining. | ||||
* | gmifetch: fix bugs | bptato | 2023-10-29 | 1 | -10/+19 |
| | | | | | | | * fix invalid file pointer being used after adding certificate (a pointer deref was missing there) * fix compatibility with gemini servers that refuse to interpret URLs that contain the default port (yes, seriously) | ||||
* | layout: refactor block layouting | bptato | 2023-10-28 | 1 | -151/+165 |
| | | | | merge positionBlocks with buildBlocks | ||||
* | layout: refactor | bptato | 2023-10-28 | 2 | -273/+278 |
| | | | | | | * remove Viewport reference from BlockBox * Viewport -> LayoutState (call it what it really is) * move more stuff from box -> engine | ||||
* | buffer: remove viewport reference | bptato | 2023-10-28 | 4 | -22/+16 |
| | | | | | Viewport at this point is basically just the layout state, so it makes no sense to store it in buffer. | ||||
* | Add -C option | bptato | 2023-10-27 | 4 | -177/+209 |
| | |||||
* | toml: fix dquote escaping | bptato | 2023-10-26 | 1 | -1/+1 |
| | |||||
* | manpage: fix incorrect info | bptato | 2023-10-26 | 1 | -1/+1 |
| | |||||
* | renderdocument: slightly refactor, optimize addLines | bptato | 2023-10-26 | 3 | -39/+28 |
| | |||||
* | layout/engine: refactor inline atoms etc. | bptato | 2023-10-26 | 3 | -248/+256 |
| | |||||
* | buffer: close ssock on exit | bptato | 2023-10-26 | 1 | -0/+1 |
| | |||||
* | layout/engine: reformat | bptato | 2023-10-26 | 1 | -26/+45 |
| | |||||
* | layout/engine: add table row group/caption to anon table | bptato | 2023-10-26 | 1 | -0/+2 |
| | | | | bugfix, bugfix... | ||||
* | ua.css: add <s>, <strike> | bptato | 2023-10-25 | 1 | -0/+4 |
| | |||||
* | dom: expose head, body, window (as defaultView) | bptato | 2023-10-25 | 1 | -3/+3 |
| | |||||
* | buffer: call load event on load | bptato | 2023-10-25 | 1 | -1/+13 |
| | |||||
* | js: refine isInstanceOf check in functions | bptato | 2023-10-25 | 3 | -13/+30 |
| | | | | Special case the global object, check for inheritance, etc. | ||||
* | window: inherit from EventTarget | bptato | 2023-10-25 | 1 | -2/+3 |
| | |||||
* | dom: add some CSSStyleDeclaration functions | bptato | 2023-10-25 | 3 | -2/+52 |
| | |||||
* | js: define global properties as CONFIGURABLE | WRITABLE | bptato | 2023-10-25 | 2 | -2/+7 |
| | |||||
* | reduce new() usage | bptato | 2023-10-25 | 12 | -102/+102 |
| | |||||
* | dom: proper relList support | bptato | 2023-10-25 | 1 | -30/+71 |
| | |||||
* | Add jspropnames, CSSStyleDeclaration stub | bptato | 2023-10-25 | 6 | -35/+213 |
| | |||||
* | dom: add cloneNode | bptato | 2023-10-24 | 1 | -2/+89 |
| | |||||
* | Remove trailing spaces | bptato | 2023-10-23 | 8 | -91/+91 |
| | |||||
* | dom: add outerHTML setter | bptato | 2023-10-23 | 2 | -53/+146 |
| | | | | Also, misc. refactorings | ||||
* | Add innerHTML setter | bptato | 2023-10-23 | 4 | -10/+67 |
| | | | | yay | ||||
* | about:chawan: fix markup | bptato | 2023-10-23 | 1 | -8/+8 |
| | |||||
* | dom: use same url in eval filename as in the console.log statement | bptato | 2023-10-22 | 1 | -2/+2 |
| | |||||
* | update chakasu | bptato | 2023-10-22 | 2 | -1/+1 |
| |