summaryrefslogtreecommitdiff
path: root/src/collage.c
AgeCommit message (Collapse)AuthorLines
2018-10-17Use random() instead of rand() to increase portabilityDaniel Friesel-2/+2
Quoting glibc rand(3): The versions of rand() and srand() in the Linux C Library use the same random number generator as random(3) and srandom(3), so the lower-order bits should be as random as the higher-order bits. However, on older rand() implementations, and on current implementations on different systems, the lower-order bits are much less random than the higher-order bits. Do not use this function in applications intended to be portable when good randomness is needed. (Use random(3) instead.)
2018-05-11Update copyright noticeDaniel Friesel-1/+1
2018-01-24Simplify window title generationulteq-10/+2
2017-04-02Always terminate strncpy results with '\0'.Tobias Stoeckmann-2/+4
The strncpy function does not guarantee to end the resulting character sequence with a terminating nul character if not enough space is available. This could be triggered by supplying a sufficiently long output_file option. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2014-08-03make all opt.verbose messages print to stderrNoah Birnel-5/+5
manually changed in collage, imlib, filelist, thumbnail, slideshow, index feh_display_status also changed
2012-08-12Add %o, %r and %z format specifiers (see #95)Daniel Friesel-1/+1
2012-01-25Use 'feh: foo' instead of mixed 'feh: foo' and 'feh - foo' messagesDaniel Friesel-3/+3
2011-08-23Deprecate the --collage option (aka collage mode)Daniel Friesel-0/+3
It is pretty random and I doubt anyone actually uses it. Also, after removing it, there are only two duplicates of the image index code instead of three...
2011-04-30Replace some printf calls by fputs/putcDaniel Friesel-7/+7
2011-01-17Copyright FooDaniel Friesel-0/+1
2010-07-17--debug-level → --debugDaniel Friesel-6/+6
2010-06-10Remove D_ENTER/D_RETURN, use gdb tracepoints + readelf/awk magic insteadDaniel Friesel-3/+2
2010-03-25Actually detect an empty filelistDaniel Friesel-1/+0
This fixes imlib2 warnings (and occasional X errors/segfaults), which used to occur when all files in feh's filelist were suddenly deleted by an external application. Now, feh simply quits with "No more slides in show" (which makes more sense, IMHO).
2010-02-13Change source code indentation (indent -kr -i8 -hnl, mainly)Daniel Friesel-208/+180
2010-02-12Fix some minor indenting issuesDaniel Friesel-5/+5
2010-02-05Initial commit (upstream 1.3.4)Daniel Friesel-0/+240