about summary refs log tree commit diff stats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Refactor Consolebptato2023-10-131-2/+4
| | | | | * merge dom.console & client.Console * move client-specific stuff out of Console (into callbacks when necessary)
* chawan.html: add missing linebreakbptato2023-10-051-2/+2
| | | | needed to avoid the logo overwriting text
* config: do not copy url with newlinebptato2023-10-011-1/+1
|
* Add w3m-cgi-compat optionbptato2023-10-011-0/+1
|
* more vi/m compatbptato2023-10-012-10/+14
|
* Improve vi/m compat in scrollingbptato2023-10-012-3/+13
|
* Add urimethodmap supportbptato2023-09-301-0/+6
| | | | yay
* js: improve optional argument handlingbptato2023-09-261-18/+18
| | | | | | | 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-261-11/+11
|
* Add M-p as "load page on clipboard"bptato2023-09-252-4/+18
|
* Add about:licensebptato2023-09-231-0/+116
|
* fix size for some input typesbptato2023-09-221-1/+2
| | | | | | padToWidth should be called for all input types in InputWithSize. Also, they should be underlined by ua.css.
* add arrow keys to default line edit configbptato2023-09-201-0/+4
|
* improve about:chawan pagebptato2023-09-201-17/+60
|
* config: fix invalid use of externbptato2023-09-131-1/+2
|
* container: accept numbers in cursorLeft, cursorRight, etc.bptato2023-09-091-8/+8
| | | | | | 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.
* add extern, refactor some term functionsbptato2023-09-091-0/+5
| | | | | | | | | | | * 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.
* Add vi-style numeric prefixes, make gotoLine 1-basedbptato2023-09-081-2/+4
| | | | | | | | * 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-081-1/+2
| | | | | 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.
* config: add gotoLine as M-gbptato2023-09-071-0/+1
|
* res: remove unused filesbptato2023-09-0135-79418/+0
| | | | These now live in separate repositories.
* config: allow modification through JSbptato2023-08-271-1/+4
| | | | | | | This used to be possible until I moved everything under separate headers to their respective objects. Now it works again, mostly; modification of some attributes is still missing.
* Allow overriding default headersbptato2023-08-261-0/+7
|
* Add mailcap, mime.types & misc refactoringsbptato2023-08-132-0/+22
| | | | | | | | * add mailcap: works with copiousoutput, needsterminal, etc. * add mime.types (only works with mailcap) * refactor pipeBuffer * remove "dispatcher" * fix bug in directory display where baseurl would not be used
* ua.css: add parens to rt before and afterbptato2023-08-101-0/+8
| | | | | Forgot to add any replacement for rp after setting it to display: none, so parentheses around ruby text were not being displayed.
* Add default background/foreground color overridebptato2023-07-291-0/+2
|
* Add suspend() function (bound to C-z)bptato2023-07-261-0/+1
|
* ua.css: add more block elementsbptato2023-07-251-2/+4
| | | | Additions sourced from the HTML standard.
* Add popup menu for select elementbptato2023-07-051-7/+10
| | | | | | | Replaces the weird CSS implementation we have had until now with a searchable popup menu similar to that of w3m. (The previous implementation broke on websites that do not expect <select> to expand on click, had no separate search, and was ugly.)
* Remove unused config variablebptato2023-06-261-1/+0
|
* Fix crash in openEditor if SIGINT was deliveredbptato2023-06-261-0/+1
| | | | | | | | | | | nvi for example sets ISIG and traps SIGINT. Without this patch, this would propagate to all processes in the same process group and kill them. (It still does, but we set a signalHandler to ignore that.) Still not perfect, because for some reason we receive WIFSIGNALED even if the signal did not actually kill the editor. For now, we just treat this as a success.
* Fix color U, slightly change contrast algorithmbptato2023-06-101-1/+1
|
* Fix some type confusion with colors, fix crash in pagerbptato2023-06-091-1/+1
|
* Add XTERM title renamingbptato2023-06-071-0/+1
|
* Add support for canvas and multipartbptato2023-06-051-0/+0
| | | | | | | | | | | | | | | Quite incomplete canvas implementation. Crucially, the layout engine can't do much with whatever is drawn because it doesn't support images yet. I've re-introduced multipart as well, with the FormData API. For the append function I've also introduced a hack to the JS binding generator that allows requesting the JSContext pointer in nim procs. Really I should just fix the union generator thing and add support for overloading. In conclusion, for now the only thing canvas can be used for is exporting it as PNG and uploading it somewhere. Also, we now have PNG encoding and decoding too. (Now if only we had sixels as well...)
* Set display-charset to autobptato2023-05-201-1/+1
|
* Refactor config, add charset optsbptato2023-05-161-1/+6
| | | | Only document-charset supported for now.
* Update IdnaMappingTable.txtbptato2023-02-051-32/+137
|
* Update character width rangesbptato2023-02-051-0/+2619
| | | | | Use the Unicode 15 EastAsianWidth.txt file instead of an ancient wcwidth implementation's ranges.
* res/config: fix M-c console bindingbptato2023-01-201-4/+1
|
* res/config, doc/config: encode search query stringsbptato2023-01-081-1/+1
|
* res/ua.css: no !important for display: nonebptato2023-01-061-2/+3
| | | | As recommended by the standard.
* Slightly refactor commandModebptato2023-01-061-1/+7
|
* ua.css: fix color, css/values: fix globalsbptato2023-01-041-6/+6
|
* ua.css: add counter-reset to ulbptato2023-01-031-0/+1
|
* ua.css: only highlight a[href]bptato2023-01-021-2/+2
|
* default config: make the search function slightly more robustbptato2022-12-251-1/+1
| | | | For easier copy-pasting...
* pager: proxy values in container; js: bugfixesbptato2022-12-201-1/+5
| | | | Also, a little bonus: w3m keybindings
* Update visual home page, use name consistentlybptato2022-12-163-4/+32
|
* Add discardTree, update docsbptato2022-12-151-2/+2
|