summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix include and lib paths for the BSDsMarkus Teich2016-03-151-2/+7
|
* support FreeBSDMarkus Teich2016-03-151-2/+2
| | | | On FreeBSD the lib and include directories are in /usr/local rather than /usr.
* Import arg.h OOB fix from Lucas Gabriel Vuotto.Markus Teich2016-03-061-2/+2
| | | | | This is a small fix for arg.h where it's possible to perform an out-of-boundary memory access in argv's internal string.
* Fix cmdline argument checkMarkus Teich2016-03-062-11/+12
| | | | | There was a segfault when sent was called without arguments. Now we use stdin when there's no argument or - is used. Thanks to izabera for the report.
* no need to reimplement cat hereMarkus Teich2016-02-062-11/+8
|
* improve error handlingMarkus Teich2016-02-061-73/+41
| | | | | | - errors are now fatal - no need to clean up when dying - no need for status return codes => ffread and ffprepare now return void
* style: move function return types to own lineMarkus Teich2016-02-051-26/+52
|
* Use 2ff exclusively in config.def.hFRIGN2016-02-051-2/+1
|
* Fix alpha blendingFRIGN2016-02-051-7/+7
| | | | | - "/ 257", because 255 * 257 = UINT16_MAX - "/ 255", because that's the maximum possible RGB value
* readme: update reference to farbfeldMarkus Teich2016-02-051-1/+1
|
* Change an eprintf to a die to stop child from running its own slideshowDavid Phillips2015-12-241-1/+1
| | | | | | | | | The child thread was created because execlp will not return if successful. The eprintf was placed after the call to execlp to catch any error, but the child continued to return a (closed) fds[0], resulting in a second slideshow being run by the child. This commit fixes the issue by killing the child.
* filter via shell pipelineGrant Mathews2015-12-241-2/+2
| | | | | Instead of requiring an executable, allow building arbitrary shell pipelines to filter filetypes through.
* unbreak the buildMarkus Teich2015-12-091-2/+2
|
* fix 2 uninitialized variables and bin == NULL checkMarkus Teich2015-12-092-9/+10
|
* check for bin == NULLMarkus Teich2015-12-081-1/+2
|
* minor syntax, style and README fixesMarkus Teich2015-12-083-13/+23
|
* support transparent imagesMarkus Teich2015-12-081-3/+16
|
* Support farbfeld as an intermediate formatsin2015-12-086-96/+119
| | | | | | | | | | | | | | | | | Sent now uses farbfeld[0] as an intermediate format. A series of filters is specified in config.h that matches file extensions to filter programs. The programs will convert between formats such as png to farbfeld. Internally in sent we do not need to worry on how to parse png or any other format. This also works with jpg and gif and others. The 2ff wrapper will use imagemagick conversion tools. This is temporary as jpg2ff and gif2ff will also be implemented. To make this work, you will have to clone[0] and put png2ff and 2ff in your PATH. [0] http://git.2f30.org/farbfeld/
* add 'sent: ' prefix to errorsMarkus Teich2015-12-031-0/+2
|
* Add 'n' and 'p' keys to navigate slidesAlexis2015-12-031-0/+2
|
* Refactor die() to use eprintf()Alexis2015-12-031-7/+1
|
* Use consistent wording for error messagesAlexis2015-12-031-19/+19
|
* Use right click as previous and enable scrolling to switch slidesIvan Tham2015-11-191-1/+3
|
* Bail out before allocating slides if file is emptyQuentin Rameau2015-11-181-4/+4
| | | | | | In load() we allocated slides before checking if we actually read anything from the FILE fp and then continue with an allocated but “empty” space wich would lead to errors.
* fix dying on empty slidefileMarkus Teich2015-11-181-1/+1
|
* drw.c: Avoid potential memory leak in drw_cur_create()Quentin Rameau2015-11-181-2/+2
| | | | If drw was NULL, memory was still allocated for cur.
* Add Escape key to quit sentIvan Tham2015-11-181-0/+1
|
* die if no font could be loadedMarkus Teich2015-11-181-1/+2
|
* Register space to advance to the next slideJan Christoph Ebersbach2015-11-171-0/+1
|
* shorten bulletpoints in example presentationMarkus Teich2015-11-171-2/+2
|
* fix dejavu font nameMarkus Teich2015-11-171-1/+1
|
* support even larger screensMarkus Teich2015-11-171-1/+1
|
* prevent flickering when changing slidesMarkus Teich2015-11-171-2/+2
| | | | | | | | When the window background is left at WhitePixel (from initialization) and the user has set a dark background color in config.h, the window shortly displays the white default background when clearing after advancing to another slide. This was very disturbing and is fixed now by setting the default window background color to the bgcol chosen in config.h.
* update READMEMarkus Teich2015-11-171-47/+27
|
* fix another index overflow issueMarkus Teich2015-11-171-1/+2
|
* fix several number overflow issuesMarkus Teich2015-11-171-3/+3
|
* update versionMarkus Teich2015-11-171-1/+1
|
* add multiline supportMarkus Teich2015-11-113-51/+146
|
* fix more memory leaksMarkus Teich2015-11-111-2/+6
|
* free all fonts correctlyMarkus Teich2015-11-112-1/+2
|
* free temporary fontstr arraysMarkus Teich2015-11-111-0/+4
|
* simplify png cleanupMarkus Teich2015-11-111-8/+16
|
* make usable screensize config constMarkus Teich2015-11-111-2/+2
|
* don't assume we get a ConfigureNotify eventTony Lainson2015-11-101-2/+1
| | | | | | | | If the window manager maps our window at the requested size, we may not get a ConfigureNotify event. This happens e.g. under ratpoison. The result is that xw.uw and xw.uh are never set, so text is too small and pngscale() tries to divide by 0.
* initialize .imgSzabolcs Nagy2015-11-101-0/+2
| | | | without the attached patch ./sent example segfaults here
* don't use EXIT_… cpp definesMarkus Teich2015-11-072-2/+2
|
* fix comment wording in drw.cMarkus Teich2015-11-071-2/+2
|
* make colors configurableMarkus Teich2015-11-042-1/+4
|
* update license yearMarkus Teich2015-11-042-3/+3
|
* fix default fonts in config.def.hMarkus Teich2015-11-011-1/+2
|