summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mothra
AgeCommit message (Collapse)Author
2023-03-16auth/none, mothra, news, libttf: unused variable removalJacob Moody
2022-10-18mothra: get rid of soft hyphensSigrid Solveig Haflínudóttir
2022-04-06mothra: make scrollbar style consistent with other applicationsphil9
Scrollbar was drawn using a wide dark gutter over a white background whereas other applications (window, sam, ...) use a thinner scrollbar with an inverse colorscheme. This makes the scrollbar more consistent with other 9front applications.
2022-04-06mothra: enable mousewheel scrolling in history listphil9
In the history list, scrolling was only possible using the scrollbar but not the mousewheel like in the text panel.
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-08-03libpanel: rename to match clean ruleOri Bernstein
when running 'mk clean', we get a stray libpanel.$O.a, because our 'mk clean' rule expects libpanel.a$O. This causes build failures after mk clean on a symbol change.
2021-06-12mothra: read the content-type header over file(1) to determine type (thanks ↵Ori Bernstein
james palmer) this fixes some pages being classified as xml by file(1), meaning they would be rendered as plain text rather than as html.
2021-05-13libpanel: fix text sliding around in libpanel text entry widgets.james palmer
2021-03-02mothra: "d": use lite version, disable redirectSigrid
2021-03-02mothra: add "d" command to search for a text on the internet (using duckduckgo)Sigrid
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
2021-01-19mothra: resolve urls on middle click. helps with snarfing of relative urlsSigrid
2020-04-28facelift for mothra: flat ui is in.Ori Bernstein
Remove false 3d, add borders for visual separation between content area and navigation area.
2020-04-26mothra: fix a few errors in previous patchqwx
- nil check pl_blue allocation, and don't do it every time pl_rtdraw is called - fix re-adding previously removed flushimage calls - correct format for pointer - sysfatal in pl_drawinit on error
2020-04-25mothra: make user interface monochromestanley lieber
2020-04-25mothra: remove extraneous lines and decoration (fake 3d). patch extracted ↵stanley lieber
from my forked mess by Ori_B.
2020-04-21mothra.c: add Plumb menu item, and update man page. my original changes ↵stanley lieber
sanity-checked by Ori_B.
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.
2020-03-10improve usage messages (thanks henesy)Ori Bernstein
Fix inconsistencies between programs and their usage messages, correct instances where information seems to be missing or lost. This includes missing arguments, making usage consistent with manuals, and so on.
2019-02-25libpanel: fix %.*s format in pl_snarfentry()cinap_lenrek
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-10-22mothra: avoid flushimage() calls, event() will implicitely flushcinap_lenrek
2016-03-11mothra: dynamically allocate buffer for refresh url (was 20 bytes stack ↵cinap_lenrek
buffer before) (thanks BurnZeZ for reporting)
2015-09-22mothra: <hr> drawingcinap_lenrek
<hr> is handled by drawing replicated bitmap across the with of the page.
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-16mothra: fix crashcinap_lenrek
2015-08-01mothra: show <source> tag within <video>/<audio> tagscinap_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: fix double button hitcinap_lenrek
dolink() was hitting the button a second time!
2015-08-01mothra: cleanup url handlingcinap_lenrek
2015-08-01mothra: fix selurl()cinap_lenrek
2015-08-01mothra: support for inline images and <image> tagcinap_lenrek
2015-03-27mothra: remove unused confirmcurs; move confirmcursor up with the other cursors.ethan
2015-03-15mothra: <del>, <ins>, <wbr>cinap_lenrek
2015-03-15mothra: add <strike> supportcinap_lenrek
2015-02-08mothra: add side scrolling, controlled by left and right buttons on the ↵stanley lieber
keyboard. if desired, x-scrollbar can be set visible via the visxbar variable in mothra.c. (thanks, jpm_)
2015-01-31mothra: people do not like it. revertingcinap_lenrek
2015-01-31mothra: wrap long text and images to fitcinap_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.
2014-02-05fix wrong type for terminating nil argument for execl()cinap_lenrek
we have to use (void*)0 instead of (int)0 otherwise the upper bits are uninitialized on amd64.
2014-02-04libpanel: remove pointless pointer castsmischief
2014-02-05mergecinap_lenrek
2014-02-05mothra: better handling of malformed search regexcinap_lenrek