about summary refs log tree commit diff stats
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* eprint: make it a functionbptato2023-02-051-1/+1
| | | | This makes the compiler complain less.
* Update character width rangesbptato2023-02-051-168/+102
| | | | | Use the Unicode 15 EastAsianWidth.txt file instead of an ancient wcwidth implementation's ranges.
* Make width table at compile-timebptato2023-01-271-63/+100
|
* utils/twtstr: simplify mnormalizebptato2023-01-061-4/+1
| | | | Use the isAscii function for early return.
* twtstr: fix oversightbptato2023-01-051-6/+1
|
* data/idna, utils/twtstr: clean up, fix bugsbptato2023-01-051-50/+62
| | | | | | | Looks like lazily loading the idna table doesn't work, so now it's statically loaded. Also, bugfixes in idna handling.
* convert_size: truncate resultbptato2023-01-011-13/+18
|
* buffer: fix some search bugs & refactor regex stuffbptato2023-01-011-18/+24
| | | | | | | | cursorBytes uses twidth now. cursorNextMatch matches the byte *after* the cursor (somewhat more consistently than before). match() no longer counts capture groups. LRE_FLAG_GLOBAL now goes through the entire string.
* Proper support for tabsbptato2022-12-271-4/+16
|
* Correct attribute functions, de-extern jserrbptato2022-12-261-3/+9
| | | | | | Instead of unnecessarily marking every jserr function as *, add the used pragma (so the C compiler can get rid of them later.) Also, use the correct definition of attribute namespace.
* dom: correct constructors, more create functionsbptato2022-12-261-0/+9
|
* DOM: implement many new methodsbptato2022-12-261-0/+56
|
* Add unicode normalization, etcbptato2022-12-191-16/+75
|
* More DOM workbptato2022-12-191-0/+4
|
* More work on DOM (incl. bugfixes)bptato2022-12-191-13/+1
|
* Add JS support to documentsbptato2022-12-181-0/+28
|
* makeCRLF: move to twtstr, write last charbptato2022-12-151-0/+23
|
* Fix path mime type detectionbptato2022-12-131-2/+2
|
* Add network.max-redirect, prepend-https optionsbptato2022-12-131-2/+2
|
* Add support for the encoding standard, fix parseLegacyColorbptato2022-12-101-1/+1
| | | | Also, fix a bug in the
* Fix a punycode decoding bugbptato2022-12-051-1/+1
|
* Remove unused twtstr functionsbptato2022-12-051-28/+1
|
* Fix some regressions, add loading progress barbptato2022-11-271-0/+13
|
* Also, implement proper asyncbptato2022-11-271-4/+5
| | | | Well, not really proper, but better than nothing? Maybe not.
* Fix lineedit bugsbptato2022-11-261-13/+0
|
* Terminal refactoringsbptato2022-11-201-19/+0
|
* Rewrite buffer/pager for multi-processingbptato2022-11-191-0/+20
|
* Implement tree buffers, fix a js bug, refactorbptato2022-10-191-1/+0
|
* More JS bindingsbptato2022-09-131-43/+38
|
* Add a network stream wrapper, improve eprintbptato2022-09-051-1/+1
|
* Remove httpclient dependencybptato2022-08-041-0/+8
|
* Update CSS tokenizerbptato2022-07-291-1/+1
| | | | It was slightly outdated and in many places incorrect.
* Add missing pop pragmabptato2022-07-291-0/+1
|
* Improved incremental search: support unicodebptato2022-07-231-0/+9
|
* Implement select element displaybptato2022-07-171-0/+12
| | | | | You can't actually use them yet. But at least they don't flood the screen with options now.
* Throw out unused functionsbptato2022-07-131-101/+0
|
* Don't zero-fill makewidthtablebptato2022-07-131-1/+1
|
* Fix a tokenizer bug, clean up some warningsbptato2022-07-121-14/+14
|
* Fix and clean up some dom-based featuresbptato2022-07-111-0/+17
|
* Implement HTML5 parsingbptato2022-07-112-19/+27
| | | | | | | Completely replaced the previous HTML2 (?) parser, which was a bad re-implementation of w3m's parser in the first place. Now we have a (sort of) compliant HTML5 parser. Needs tests, badly.
* Implement standard-compliant HTML tokenizerbptato2022-06-272-12/+25
| | | | | | Seems performant enough, though I'm not sure whether it is actually producing correct output. Still missing: tests and the actual parsing.
* twtstr: replace bisearch with stdlib binarySearchbptato2022-02-191-20/+2
|
* Fix not being able to load local files with ?, #, etcbptato2022-02-191-0/+8
|
* Implement formsbptato2022-01-291-13/+25
| | | | | | Note: for now, only input tags are supported. Also the implementation is extremely hacky and needs refactoring... But it works, I think.
* Implement text-align and <center>bptato2022-01-291-6/+5
|
* Fix potential crash in next link commandbptato2022-01-261-1/+1
|
* Zero-width characters don't break wordsbptato2022-01-251-3/+3
|
* Fix some path bugs and misc. warningsbptato2022-01-251-4/+1
|
* Make non-alphabetic characters break wordsbptato2022-01-241-9/+3
|
* Fix page navigationbptato2022-01-221-0/+8
|