summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-15fix include and lib paths for the BSDsMarkus Teich
2016-03-15support FreeBSDMarkus Teich
On FreeBSD the lib and include directories are in /usr/local rather than /usr.
2016-03-06Import arg.h OOB fix from Lucas Gabriel Vuotto.Markus Teich
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.
2016-03-06Fix cmdline argument checkMarkus Teich
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.
2016-02-06no need to reimplement cat hereMarkus Teich
2016-02-06improve error handlingMarkus Teich
- errors are now fatal - no need to clean up when dying - no need for status return codes => ffread and ffprepare now return void
2016-02-05style: move function return types to own lineMarkus Teich
2016-02-05Use 2ff exclusively in config.def.hFRIGN
2016-02-05Fix alpha blendingFRIGN
- "/ 257", because 255 * 257 = UINT16_MAX - "/ 255", because that's the maximum possible RGB value
2016-02-05readme: update reference to farbfeldMarkus Teich
2015-12-24Change an eprintf to a die to stop child from running its own slideshowDavid Phillips
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.
2015-12-24filter via shell pipelineGrant Mathews
Instead of requiring an executable, allow building arbitrary shell pipelines to filter filetypes through.
2015-12-09unbreak the buildMarkus Teich
2015-12-09fix 2 uninitialized variables and bin == NULL checkMarkus Teich
2015-12-08check for bin == NULLMarkus Teich
2015-12-08minor syntax, style and README fixesMarkus Teich
2015-12-08support transparent imagesMarkus Teich
2015-12-08Support farbfeld as an intermediate formatsin
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/
2015-12-03add 'sent: ' prefix to errorsMarkus Teich
2015-12-03Add 'n' and 'p' keys to navigate slidesAlexis
2015-12-03Refactor die() to use eprintf()Alexis
2015-12-03Use consistent wording for error messagesAlexis
2015-11-19Use right click as previous and enable scrolling to switch slidesIvan Tham
2015-11-18Bail out before allocating slides if file is emptyQuentin Rameau
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.
2015-11-18fix dying on empty slidefileMarkus Teich
2015-11-18drw.c: Avoid potential memory leak in drw_cur_create()Quentin Rameau
If drw was NULL, memory was still allocated for cur.
2015-11-18Add Escape key to quit sentIvan Tham
2015-11-18die if no font could be loadedMarkus Teich
2015-11-17Register space to advance to the next slideJan Christoph Ebersbach
2015-11-17shorten bulletpoints in example presentationMarkus Teich
2015-11-17fix dejavu font nameMarkus Teich
2015-11-17support even larger screensMarkus Teich
2015-11-17prevent flickering when changing slidesMarkus Teich
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.
2015-11-17update READMEMarkus Teich
2015-11-17fix another index overflow issueMarkus Teich
2015-11-17fix several number overflow issuesMarkus Teich
2015-11-17update versionMarkus Teich
2015-11-11add multiline supportMarkus Teich
2015-11-11fix more memory leaksMarkus Teich
2015-11-11free all fonts correctlyMarkus Teich
2015-11-11free temporary fontstr arraysMarkus Teich
2015-11-11simplify png cleanupMarkus Teich
2015-11-11make usable screensize config constMarkus Teich
2015-11-10don't assume we get a ConfigureNotify eventTony Lainson
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.
2015-11-10initialize .imgSzabolcs Nagy
without the attached patch ./sent example segfaults here
2015-11-07don't use EXIT_… cpp definesMarkus Teich
2015-11-07fix comment wording in drw.cMarkus Teich
2015-11-04make colors configurableMarkus Teich
2015-11-04update license yearMarkus Teich
2015-11-01fix default fonts in config.def.hMarkus Teich
Software created with 💖