Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-05 | page: revert sandbox, breaks postscript fonts for man -P, wrong place | cinap_lenrek | |
The intention is good, but page is the wrong place for this. If ghostscript wants to sandbox, we should do that with a wrapper script so any invocation of ghostscript can be sandboxed. | |||
2022-12-02 | page: put gs in a sandbox | Jacob Moody | |
2022-01-19 | page: performance fixes | qwx | |
- fix showpage1 only decrementing proc counter once limit is reached; this blocked having more than one loadpages process after NPROC calls, since the next one has to wait until the last has exited - allow procs to skip pages currently being loaded by others; this forced processes to wait for each other at the same page - bump NPROC from 4 to 8 - (hack) immediately fork a few times after adding all pages at startup to force loading a batch of pages in parallel | |||
2021-04-09 | page: fix for kerTeX dvi | Humm | |
2016-11-17 | page: remove unused variables | ftrvxmtrx | |
2015-07-24 | page: fix deadlock, nil vs 0 for pointer comparsion, cleanup | cinap_lenrek | |
2015-07-11 | page: make lookahead fetch work in backwards direction | cinap_lenrek | |
2014-07-15 | page: 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-21 | fork filter procs with RFREND in various programs | cinap_lenrek | |
2014-02-14 | page: fix compiler warning | cinap_lenrek | |
2013-12-28 | page: fix page bookmarks for epub files | cinap_lenrek | |
2013-12-23 | page: scrollwheel, better backwards scrolling, fix blit bug when page was ↵ | cinap_lenrek | |
translated offscreen | |||
2013-12-21 | page: 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-04 | page: 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-04 | page: 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-04 | page: dont tell rio our pid | cinap_lenrek | |
$wsys might be from a remote system so pid will not work. new rio errors out on mouse/cons instead. | |||
2013-08-03 | page: maintain a lru list and do unloading from oldest to newest | cinap_lenrek | |
2013-08-03 | page: use less aggressive read ahead and keep track of image memory allocation | cinap_lenrek | |
2013-07-08 | page: handle combination or -w and -R flags (thanks BurnZeZ) | cinap_lenrek | |
2013-07-02 | tif: add tiff decoder | ppatience0 | |
2013-06-17 | page: use resizewin() to change window size for gif display | cinap_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-15 | page: 12 zoom levels should be enougth | cinap_lenrek | |
making zoom too big just causes pagesize() multiplication to overflow passing bogus rectangles to allocimage(). | |||
2013-06-09 | page: handle interrupt note | cinap_lenrek | |
2013-06-09 | page: exit on kill note | cinap_lenrek | |
2013-01-21 | tga: fix bad output channel descriptor for grayscale images and -9 flag, ↵ | cinap_lenrek | |
revert page work arround | |||
2013-01-21 | page: image/tga | ftrvxmtrx | |
2013-01-21 | page: force images to RGB using -3 flag (fixes grey-scale images displaying) | ftrvxmtrx | |
2012-08-12 | page: fix drawpage race | cinap_lenrek | |
2012-08-09 | page: simplify locking, avoid eenter deadlock on resize | cinap_lenrek | |
2012-04-01 | microsoft ico format conversion support | cinap_lenrek | |
2012-03-10 | page: allow running external jpg(1) program for animated gifs, mothra: ↵ | cinap_lenrek | |
handle gif with page | |||
2012-02-20 | page: improve shortname() | cinap_lenrek | |
2012-02-09 | page: can't just cover whole display | cinap_lenrek | |
2012-02-09 | page: don't resize window bigger than the dislay | cinap_lenrek | |
2011-12-21 | page: refactor menu | cinap_lenrek | |
2011-12-21 | page, mothra: corral rogue note groups | cinap_lenrek | |
2011-12-10 | handle initdraw errors | cinap_lenrek | |
2011-11-29 | page: fix noseek detection for files like /dev/screen | cinap_lenrek | |
2011-10-31 | page: add write command to save current page as compressed plan9 bitmap | cinap_lenrek | |
2011-10-24 | can'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-18 | page: nested browsing | cinap_lenrek | |
2011-10-18 | page: avoid drawing background if image has no alpha channel | cinap_lenrek | |
2011-10-12 | page: print readimage error string | cinap_lenrek | |
2011-10-11 | page: fix filedescriptor leakage | cinap_lenrek | |
2011-10-11 | page: properly draw images with alpha channel, cleanup | cinap_lenrek | |
2011-10-10 | page: refactor code, skip dummy pages, faster zoomdraw | cinap_lenrek | |
2011-10-05 | page: fix draw performance problem on t23 | cinap_lenrek | |
2011-10-05 | mothra: animated gifs, page: cleanup | cinap_lenrek | |
2011-10-04 | use file(1) in page and mothra to detect file type | cinap_lenrek | |
2011-10-02 | page: use param f instead of global zoom | cinap_lenrek | |