about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* add_eval_variables: do not close over `this' twicebptato2023-10-131-1/+2
| | | | | See https://github.com/bellard/quickjs/issues/192. (Thanks to @dchest for the proposed fix.)
* trans.cgi: minor fixbptato2023-10-091-1/+1
|
* update w3m.tomlbptato2023-10-091-26/+39
|
* config: fix `include` namingbptato2023-10-091-4/+4
| | | | use what is documented
* improve trans.cgibptato2023-10-091-5/+23
| | | | document, simplify, ...
* gmifetch: get rid of globalsbptato2023-10-091-39/+43
| | | | it was horrible code style... (gmifetch still kind of is :/)
* gmifetch: -O3bptato2023-10-091-1/+1
|
* gmifetch: fix buffer overflowbptato2023-10-081-1/+1
| | | | ew
* move workaround from previous commitbptato2023-10-052-2/+4
| | | | agh... it didn't work with GCC
* Workaround for clang 16bptato2023-10-051-0/+2
| | | | | | | Needed to get Chawan to compile on FreeBSD... (clang 16 makes passing incompatible pointer types an error, but that breaks our C bindings.)
* chawan.html: add missing linebreakbptato2023-10-051-2/+2
| | | | needed to avoid the logo overwriting text
* twtstr: optimize widthbptato2023-10-011-34/+17
|
* makefile fixesbptato2023-10-011-2/+6
|
* config: do not copy url with newlinebptato2023-10-011-1/+1
|
* urimethodmap fixesbptato2023-10-011-7/+6
|
* Add w3m-cgi-compat optionbptato2023-10-0111-38/+101
|
* url: fix file slash state mistakebptato2023-10-011-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 searchbptato2023-10-011-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 highlightingbptato2023-10-011-0/+2
| | | | Avoid coloring parts of areas outside the screen.
* container: center column in setCursorXYCenterbptato2023-10-011-0/+3
| | | | Makes searching on long lines work properly.
* more vi/m compatbptato2023-10-014-38/+62
|
* update todobptato2023-10-011-0/+2
|
* term: un-export canvasbptato2023-10-011-1/+1
|
* Improve vi/m compat in scrollingbptato2023-10-014-22/+120
|
* css: change type of rvalue to char (from Rune)bptato2023-10-014-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 insensitivitybptato2023-10-011-10/+16
|
* Use twtstr.join everywherebptato2023-10-014-5/+8
|
* Get rid of unicode.toLowerbptato2023-10-015-10/+11
| | | | | It was used by mistake in a hundred percent of the cases we were using it.
* Update chamebptato2023-09-302-6/+6
|
* update docsbptato2023-09-302-11/+25
|
* Makefile: fix permsbptato2023-09-301-6/+6
|
* buffer: fix cursor unnecessarily jumping to y=0bptato2023-09-302-7/+10
| | | | | then() is called even if a nil Promise is returned, so an Opt is needed here.
* lineedit: fix backspace bugbptato2023-09-301-1/+1
| | | | | We must decrease cursori by `len`, because exactly `len` bytes have been deleted from before the cursor.
* Makefile: fix manpage copybptato2023-09-301-1/+1
|
* Improve implicit form submissionbptato2023-09-302-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 supportbptato2023-09-3023-91/+1298
| | | | yay
* update readme, todobptato2023-09-302-1/+1
|
* buffer: improve submitFormbptato2023-09-302-10/+46
| | | | | * add handlers for javascript, mailto * HTTP-like behavior for unknown protocols
* loader: add local-cgibptato2023-09-3013-36/+380
| | | | | | | | | | | 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 overflowbptato2023-09-281-1/+2
|
* Response.text: assume utf-8bptato2023-09-271-5/+5
|
* Response.text: encode/decode properlybptato2023-09-272-7/+24
| | | | also, use blob() for images
* buffer: simplify contentType handlingbptato2023-09-277-47/+44
| | | | | | * remove contentType member of Buffer object * add ishtml to reduce string comparisons * consistent spelling: contenttype -> contentType
* interface clone: remove unused arg, documentbptato2023-09-272-5/+10
|
* update todobptato2023-09-271-4/+1
|
* small Makefile improvementbptato2023-09-261-2/+5
|
* js: improve optional argument handlingbptato2023-09-262-19/+22
| | | | | | | If a fallback argument has been specified, treat undefined as if no argument had been given. This removes the need for the ?? 1 checks in the config.
* Add precnum support to more functionsbptato2023-09-265-63/+82
|
* pager: show character sequence inputs on status linebptato2023-09-262-31/+44
| | | | pretty useful I think
* Add M-p as "load page on clipboard"bptato2023-09-255-7/+47
|