summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mothra/mothra.h
AgeCommit message (Collapse)Author
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.
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
2015-08-01mothra: cleanup url handlingcinap_lenrek
2015-08-01mothra: support for inline images and <image> tagcinap_lenrek
2014-01-07mothra: remove versioncinap_lenrek
2013-12-07mothra: remove debug code, dont create $home/lib/mothra/mothra.err filecinap_lenrek
2013-10-04mothra: avoid intermediate rc shell processes, use rfork(RFREND) to isolate ↵cinap_lenrek
rendezvous group
2013-10-04mothra: run page in own note group, close unneeded filedescriptors after forkingcinap_lenrek
running page in own note group avoids killing it when we exit mothra. copypaste dupfds() function from page and use it to close unneeded file descriptors.
2012-09-24mothra: various improvementscinap_lenrek
* disallow snarf on password entries * remove current title label as it is displayed in the page list (redundant) * avoid redrawing page list just to update the title * check if the chan changed for backup bitmap in pl_rtdraw()
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-17mothra: handle relative urls in <base> tagcinap_lenrek
2012-06-18mothra/webfs: multipart/form-data and file upload supportcinap_lenrek
2012-06-18mothra: refactor form submit codecinap_lenrek
2012-05-25mothra: changes toward multipart/formdatacinap_lenrek
2012-04-30mothra: handle http compression out of bandcinap_lenrek
2012-04-03mothra: <base> tag, nstrcpycinap_lenrek
2012-04-01microsoft ico format conversion supportcinap_lenrek
2012-01-01mothra: allow plmouse() to update mouse state, use a pipe to signal screen ↵cinap_lenrek
update
2011-11-14mothra: limit amount of image data kept in devdraw to 8MBcinap_lenrek
2011-10-04use file(1) in page and mothra to detect file typecinap_lenrek
2011-10-03mothra: ignore http content-type and encoding and just do content sniffingcinap_lenrek
2011-09-05mothra: remove ftp,gopher,file and http code and use /mnt/web insteadcinap_lenrek
2011-09-04add mothracinap_lenrek