about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* doc: add needsterminal to mailcapbptato2023-08-201-2/+5
|
* doc: fix incorrect pathbptato2023-08-201-1/+1
| | | | s/mailcap/mime.types/g
* javascript: remove stray eprintbptato2023-08-201-2/+0
| | | | oops
* client: make `client.client' a getterbptato2023-08-201-1/+3
| | | | This way we do not need the ugly getProperty call.
* javascript: finish LegacyUnforgeable + misc fixesbptato2023-08-205-77/+118
| | | | | | | | Add jsuffget, jsuffunc for setting LegacyUnforgeable on functions. Misc fixes: * define LegacyUnforgeable properties for native object shims * replace some macros with templates
* javascript: update Events, misc fixes & additionsbptato2023-08-205-205/+617
| | | | | | | | | | | | | | Events: just implement the interfaces, no events are triggered yet. JS changes: * add LegacyUnforgeable * make consts enumerable * fix crash in isInstanceOf * fix destructor warnings * refactor registerType As a result, peakmem is now 1G+ on 1.6.14. It stays ~750M on 2.0.0. Hmm. Well, better upgrade to 2.0.0 I guess.
* toml: fix quotation chars in multiline stringsbptato2023-08-191-7/+9
|
* Update todobptato2023-08-171-0/+1
|
* dom: remove dead codebptato2023-08-161-7/+0
|
* Update todobptato2023-08-151-1/+0
|
* chadombuilder: implement restartbptato2023-08-151-0/+12
| | | | | Now pages (once again) do not break when a meta charset tag is defined. Hooray!
* Move HTML parsing into Chamebptato2023-08-1519-4597/+33
| | | | Operation "modularize Chawan somewhat" part 2
* Update chakasubptato2023-08-151-0/+0
|
* readme: wordingbptato2023-08-141-1/+1
|
* Move charsets into chakasubptato2023-08-1425-1878/+85
| | | | Operation "modularize Chawan somewhat" part 1
* mediaquery: fix logic errorbptato2023-08-141-1/+1
| | | | Not isAscii means we cannot convert to char. Oops.
* mimetypes: small optimizationbptato2023-08-131-2/+1
|
* Simplify mailcap entry matchingbptato2023-08-131-25/+14
|
* Do not replace existing mime typesbptato2023-08-131-1/+2
| | | | | Make mime.types behavior consistent with mailcap: that is, the *first* match counts.
* mailcap: fix typobptato2023-08-131-1/+1
| | | | It's not quite the same thing :P
* Link to todo filebptato2023-08-131-1/+1
|
* Update todo filebptato2023-08-131-5/+3
|
* Update docsbptato2023-08-134-6/+41
|
* makefile: fix qjsobj not being createdbptato2023-08-131-1/+2
|
* Revert "Makefile: add ./ to rm -rf"bptato2023-08-131-1/+1
| | | | | | On a second thought, this makes no sense. This reverts commit 3c8d95fefb678155d0c923aac8240b575ce79d5f.
* Add mailcap, mime.types & misc refactoringsbptato2023-08-1330-378/+1431
| | | | | | | | * 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.
* Makefile: add ./ to rm -rfbptato2023-08-101-1/+1
| | | | just to be sure
* css: implement case insensitivitybptato2023-08-103-135/+142
| | | | For some reason I forgot about this.
* Makefile: fix conflicts with directoriesbptato2023-08-101-8/+8
|
* serialize: add missing prepareMutationbptato2023-08-011-0/+1
|
* Update version information in READMEbptato2023-08-011-2/+2
|
* Fixes & workarounds to compile on Nim 2.0.0bptato2023-08-0113-36/+257
| | | | | | | | | | | | | | * Import punycode, as it has been removed from stdlib. * Fix some syntax errors * Apparently you can no longer compare distinct pointers with nil. Add explicit comparisons with typeof(nil) instead. * htmlparser: rename _ to other, as semantics of _ have changed. (Quite a shame, it looked better with _. Oh well.) * Explicitly specify mm:refc, as the browser OOMs with orc for some reason. Confirmed to compile & run on 2.0.0, 1.6.14, 1.6.12, 1.6.10 and 1.6.8. (<1.6.8 it's broken & wontfix.)
* Fix double line bug in dump modebptato2023-07-292-3/+4
|
* Add default background/foreground color overridebptato2023-07-296-39/+82
|
* css: very minor optimizationsbptato2023-07-282-19/+15
| | | | probably insignificant overall
* Update makefilebptato2023-07-281-4/+8
| | | | small re-organization
* mediaquery: fix some missing has checks in parserbptato2023-07-281-0/+2
|
* layout: count spacing before inline padding toobptato2023-07-281-2/+10
|
* Fix twtstr.cmpbptato2023-07-281-2/+2
| | | | We were comparing the wrong sides of ranges here.
* htmlparser: replace stray insert callbptato2023-07-271-1/+1
|
* dom: fix hasChildbptato2023-07-271-1/+1
| | | | Return true instead of false when a node with nodeType was found.
* layout: remove incorrect commentbptato2023-07-271-2/+0
|
* htmlparser: fix <th> not closing table cellsbptato2023-07-271-1/+1
| | | | | <th> should close table cells, but was missing from the table cell closing list for some reason.
* layout: distinguish padding from spacingbptato2023-07-272-5/+23
| | | | | Re-consideration of 1e0506adb: we do need to explicitly specify padding after all, so the rendering engine knows of it too.
* layout: fix incorrect parenthesesbptato2023-07-271-1/+1
| | | | | | In the tab width case, only whitespacenum was being divided instead of charwidth + whitespacenum, which resulted in an exponential growth of both charwidth and whitespacenum.
* layout: do not treat inline padding as spacingbptato2023-07-271-5/+6
| | | | | So e.g. padding: 1px does not inhibit automatic addition of spaces for inline blocks.
* htmlparser: remove stray nil comparisonbptato2023-07-271-4/+3
|
* layout: remove unused variablesbptato2023-07-271-3/+0
|
* htmlparser: remove nil comparisons for Handlebptato2023-07-272-41/+52
| | | | This makes it possible to use non-reference types as Handle.