summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mothra/rdhtml.c
AgeCommit message (Collapse)Author
2022-10-18mothra: get rid of soft hyphensSigrid Solveig Haflínudóttir
2022-01-22mothra: fix rendering of <samp> tagKristo
Mothra does not currently render text inside <samp> tags inline similar to <code>, but instead treats them like <pre> which is actually incorrect behavior. The following small patch should fixes issue.
2021-02-16mothra: tune up entry control logic for easier text editingSigrid
2021-01-31mothra: don't insert newline after div (thanks phil9)Ori Bernstein
2021-01-19mothra: linkify text starting with gemini:// and ftp://Sigrid
2020-04-21rdhtml.c: restore original fonts. dejavusans was my change, my fault. it ↵stanley lieber
never looked right outside of drawterm on osx (mea culpa). this is easy to change for anyone who prefers something else, but it's difficult to imagine native users preferring our very fuzzy dejavusans to anything else.
2018-06-27Persist 'k' command in mothra and add matching -k flag (thanks piroko)23hiro
"I sometimes find myself on either slow or data-capped network links where downloading images isn't ideal. Attached is a simple patch to mothra that changes the 'k' command to not only remove already-downloaded images from a page, but also toggle a state such that mothra won't attempt to download images on future visited sites until 'k' is toggled again. This also adds a '-k' flag to mothra which enables the flag at startup." --Jeremy O'Brien<neutral@fastmail.com> on 9fans
2016-03-11mothra: dynamically allocate buffer for refresh url (was 20 bytes stack ↵cinap_lenrek
buffer before) (thanks BurnZeZ for reporting)
2015-09-08mothra: make text inside <td> boldcinap_lenrek
2015-09-07mothra: add missing initializations for plaintext html statecinap_lenrek
2015-09-03mothra: subscript and superscript supportcinap_lenrek
2015-08-01mothra: fix nil crash on missing name/src attributes for ↵cinap_lenrek
source/video/audio/embed/frame/iframe
2015-08-01mothra: enable compiler warnings and type checking, cleanupcinap_lenrek
2015-08-01mothra: support for inline images and <image> tagcinap_lenrek
2015-03-15mothra: <del>, <ins>, <wbr>cinap_lenrek
2015-03-15mothra: add <strike> supportcinap_lenrek
2014-03-07mothra: handle blank lines inside <pre> tagsstanley lieber
2014-02-16mothra: remove unused local variables from pl_nextc()cinap_lenrek
2014-02-16mothra: fix unicode rendering for plaintextcinap_lenrek
we did the utf-8 to unicode conversion in pl_nextc(), but the plaintext handler uses pl_readc() which only translates newlines but otherwise returns bytes. move unicode conversion in pl_readc() fixes it.
2013-10-10mothra: handle <input type=image>cinap_lenrek
2013-07-11mothra: handle empty attributes (for base-tag and others...)cinap_lenrek
empty href="" attribute in base-tag causes the page to break. while at it, handle empty attributes in other parts of the code as well. (mostly stuff like id, name shouldnt be empty)
2012-09-26mothra: dont make all images into links (only in mothmode)cinap_lenrek
2012-09-22mothra: text selection 2nd attemptcinap_lenrek
2012-09-11mothra: special parse mode for <script> as parsetag gets confused by long ↵cinap_lenrek
javascript lines
2012-09-10mothra: simpler approach to ignoring <script> tagscinap_lenrek
2012-08-16mothra: bruteforce image src= attributecinap_lenrek
2012-08-15mothra: handle misplaced trailing quotescinap_lenrek
2012-07-31mothra: make emalloc zero memory, fix uninitialized nextline pointer crashcinap_lenrek
2012-07-20mothra: delayed screen updates to reduce flickercinap_lenrek
2012-07-20mothra: work arround mismatched quotes in html attributescinap_lenrek
2012-07-19fix strchr \0 bugscinap_lenrek
2012-07-17mothra: handle relative urls in <base> tagcinap_lenrek
2012-07-08mothra: handle span and div, helps to resynchronization on html errorscinap_lenrek
2012-07-07mothra: fix <br/> <hr/> tagscinap_lenrek
2012-07-01mothra: make sequence of links separated by spacecinap_lenrek
2012-06-24mothra/uhtml: properly handle quoting in tagscinap_lenrek
2012-05-16mothra: </div> line breakscinap_lenrek
2012-05-03mothra: terminus/unicode.12 for smallest fixed fontstanley lieber
2012-04-17mothra: fix bogus strtolengthcinap_lenrek
2012-04-03mothra: <base> tag, nstrcpycinap_lenrek
2012-03-21vga: fix type in vga.font, make vga/unicode.font filecinap_lenrek
2012-03-18mothra: interpret table regardless of nestingcinap_lenrek
2012-02-21mothra: linkifycinap_lenrek
2012-01-01mothra: allow plmouse() to update mouse state, use a pipe to signal screen ↵cinap_lenrek
update
2011-12-08mothra: use dejavusans for regular text and terminus for fixed width textstanley lieber
2011-11-08mothra: treat <div> as <br> instead of <p>stanley lieber
2011-11-08mothra: treat <div> as <p>stanley lieber
2011-11-06mothra: more tagscinap_lenrek
2011-11-06mothra: support <video>, <object>, <input type=password> and <meta ↵cinap_lenrek
http-equiv=refresh>
2011-10-13mothra: support fragment urlscinap_lenrek