summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mothra/libpanel
AgeCommit message (Collapse)Author
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.
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-05-13libpanel: fix text sliding around in libpanel text entry widgets.james palmer
2021-02-16mothra: tune up entry control logic for easier text editingSigrid
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.
2019-02-25libpanel: fix %.*s format in pl_snarfentry()cinap_lenrek
2016-10-22mothra: avoid flushimage() calls, event() will implicitely flushcinap_lenrek
2015-09-22mothra: <hr> drawingcinap_lenrek
<hr> is handled by drawing replicated bitmap across the with of the page.
2015-09-03mothra: subscript and superscript supportcinap_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-02-04libpanel: remove pointless pointer castsmischief
2014-02-04libpanel: fix pointer casts and format stringsmischief
2013-10-08libpanel: fix memory corruption bug in plinitentry(), add pl_erealloc()cinap_lenrek
2013-08-09mothra: fix nil pointer dereferencecinap_lenrek
2013-05-27mothra: clicking on the url scroll bar, snarfing, or saving a hit when no ↵ppatience0
urls have been loaded (right after running mothra) would crash. this was due to use of w->url and selection when they are actually nil. to fix this, make genwww return 0 if w->url is nil and output an error message when attempting to access selection if it's nil. the problem with the w->url fix is that after clicking on the url scroll bar, an empty url history row could be highlighted by clicking on it. fix this by making sure lp->lo is not less than zero.
2012-09-28mothra: fix select boxes in textviewcinap_lenrek
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-09-24mothra: cache backup bitmap in pl_rtdraw()cinap_lenrek
2012-09-24mothra: forgot to add snarf.ccinap_lenrek
2012-09-23mothra: snarf and pastecinap_lenrek
2012-09-23mothra: dont highlight subpanels in textviewcinap_lenrek
2012-09-23mothra: fast (offscreen) alpha drawing on scrollcinap_lenrek
2012-09-23mothra: cleanup textview codecinap_lenrek
2012-09-22mothra: text selection 2nd attemptcinap_lenrek
2012-09-22mothra: first attempt on text selectioncinap_lenrek
2012-09-13mothra: fix wrong ascent calculation if text element is too large, fix image ↵cinap_lenrek
border layout
2012-07-31mothra: make emalloc zero memory, fix uninitialized nextline pointer crashcinap_lenrek
2012-07-08mothra: edit selection fixcinap_lenrek
2012-07-02mothra: remove 4K snarf limit for edit panelcinap_lenrek
2012-07-01mothra: join underlined linkscinap_lenrek
2012-06-30mothra: fix scrollbar mouse grab behaviourcinap_lenrek
by default, scrollbars captured the mouse unless all mouse buttons where released. this makes sense in mothra main window, but makes drop down menus with scrollbar unusable. the patch lets one select the behaviour using the USERFL-flag. if set, the scrollbar will capture the mouse. if not set, scrollbar will release the mouse when outside the scrollbar rect.
2012-06-19mothra: cleanupcinap_lenrek
2012-06-18mothra/webfs: multipart/form-data and file upload supportcinap_lenrek
2012-04-30mothra/libpanel: fix memory leak in pleditcinap_lenrek
2012-04-14mothra: plpack in any case, even if labels dont fitcinap_lenrek
2012-03-23mothra: let image fragments stay in ther Rtext rectcinap_lenrek
2012-03-23mothra: clip to intersection of r and b->clipr when drawing panelscinap_lenrek
2012-01-01mothra: fix libpanel entry buffer overflow when pasting textcinap_lenrek
2012-01-01mothra: allow plmouse() to update mouse state, use a pipe to signal screen ↵cinap_lenrek
update
2011-11-14mothra: keep scrolling while mouse buttons are downcinap_lenrek
2011-11-08mothra: cut/snarf in entry and edit panelscinap_lenrek
2011-11-06mothra: add USERFLcinap_lenrek
2011-11-06mothra: support <video>, <object>, <input type=password> and <meta ↵cinap_lenrek
http-equiv=refresh>
2011-11-03mothra: fix integer overflow on textview scrollcinap_lenrek