summaryrefslogtreecommitdiff
path: root/sys/src/cmd/page.c
AgeCommit message (Collapse)Author
2015-07-24page: fix deadlock, nil vs 0 for pointer comparsion, cleanupcinap_lenrek
2015-07-11page: make lookahead fetch work in backwards directioncinap_lenrek
2014-07-15page: fix deadlock with addpage (thanks BurnZeZ for the stacktraces)cinap_lenrek
addpage() should not be called with the display locked as it calls showpage1() which sleeps when there are too many processes active. the bug was triggered by plumbing to trigger the addpage().
2014-02-21fork filter procs with RFREND in various programscinap_lenrek
2014-02-14page: fix compiler warningcinap_lenrek
2013-12-28page: fix page bookmarks for epub filescinap_lenrek
2013-12-23page: scrollwheel, better backwards scrolling, fix blit bug when page was ↵cinap_lenrek
translated offscreen
2013-12-21page: implement bookmarks (thanks trav_ for starting it)cinap_lenrek
add new functions pageaddr() that returns a string describing the page to be loaded. it is in the form of: /path/to/file!pagename!subpage!.... one can jump to such a page by calling trywalk(name, addr) where name and addr get concatinated with ! to form a page address and then the currently loaded pages are walked up to the nearest page which is then returned. (or nil when not found). the remaining address will be set in the global pagewalk variable. once pages get loaded (asynchronously), pagewalk1() gets called again on addpage() and continues the walking up to the last page. new program flag -j <addr> was added to jump to a page on startup. page address (without filename) can also be supplied in plumb message with the "addr" attribute.
2013-10-04page: avoid intermediate rc shell processes with using exec, move ↵cinap_lenrek
newwindow() before forking namespace use exec to avoid intermediate rc processes. avoid capturing old namespace in the waiting process by doing the newwindow() call before it.
2013-10-04page: close stdout, reopen stdout/stderr for external viewer and removed ↵cinap_lenrek
useless RFNAMEG flag we are not using stdout (fd=1) and it, so dup nullfd over it. this drops the old window reference when using with -w flag. the RFNAMEG flag isnt needed because we are calling newwindow() which forks the namespace for us. reopen stdin/stdout for the external viewer to the new window.
2013-10-04page: dont tell rio our pidcinap_lenrek
$wsys might be from a remote system so pid will not work. new rio errors out on mouse/cons instead.
2013-08-03page: maintain a lru list and do unloading from oldest to newestcinap_lenrek
2013-08-03page: use less aggressive read ahead and keep track of image memory allocationcinap_lenrek
2013-07-08page: handle combination or -w and -R flags (thanks BurnZeZ)cinap_lenrek
2013-07-02tif: add tiff decoderppatience0
2013-06-17page: use resizewin() to change window size for gif displaycinap_lenrek
resizewin() has some extra logic making sure the rect doesnt get too big. rio would otherwise refuse to create the window and the operation will fail completely.
2013-06-15page: 12 zoom levels should be enougthcinap_lenrek
making zoom too big just causes pagesize() multiplication to overflow passing bogus rectangles to allocimage().
2013-06-09page: handle interrupt notecinap_lenrek
2013-06-09page: exit on kill notecinap_lenrek
2013-01-21tga: fix bad output channel descriptor for grayscale images and -9 flag, ↵cinap_lenrek
revert page work arround
2013-01-21page: image/tgaftrvxmtrx
2013-01-21page: force images to RGB using -3 flag (fixes grey-scale images displaying)ftrvxmtrx
2012-08-12page: fix drawpage racecinap_lenrek
2012-08-09page: simplify locking, avoid eenter deadlock on resizecinap_lenrek
2012-04-01microsoft ico format conversion supportcinap_lenrek
2012-03-10page: allow running external jpg(1) program for animated gifs, mothra: ↵cinap_lenrek
handle gif with page
2012-02-20page: improve shortname()cinap_lenrek
2012-02-09page: can't just cover whole displaycinap_lenrek
2012-02-09page: don't resize window bigger than the dislaycinap_lenrek
2011-12-21page: refactor menucinap_lenrek
2011-12-21page, mothra: corral rogue note groupscinap_lenrek
2011-12-10handle initdraw errorscinap_lenrek
2011-11-29page: fix noseek detection for files like /dev/screencinap_lenrek
2011-10-31page: add write command to save current page as compressed plan9 bitmapcinap_lenrek
2011-10-24can't use rfork without RFMEM from shared memory procs and then use heap as ↵cinap_lenrek
it might be cow in a inconsistent state
2011-10-18page: nested browsingcinap_lenrek
2011-10-18page: avoid drawing background if image has no alpha channelcinap_lenrek
2011-10-12page: print readimage error stringcinap_lenrek
2011-10-11page: fix filedescriptor leakagecinap_lenrek
2011-10-11page: properly draw images with alpha channel, cleanupcinap_lenrek
2011-10-10page: refactor code, skip dummy pages, faster zoomdrawcinap_lenrek
2011-10-05page: fix draw performance problem on t23cinap_lenrek
2011-10-05mothra: animated gifs, page: cleanupcinap_lenrek
2011-10-04use file(1) in page and mothra to detect file typecinap_lenrek
2011-10-02page: use param f instead of global zoomcinap_lenrek
2011-09-21html2ms: table supportcinap_lenrek
2011-09-20uhtml: remove trailing utf BOM marker, html2ms: fix underline handling and ↵cinap_lenrek
escaping
2011-09-20uhtml: add html to unicode converter, used by mothra and page/html2mscinap_lenrek
2011-09-18html2ms: rewrite from scratchcinap_lenrek
2011-09-17page: generalize html supportcinap_lenrek