summaryrefslogtreecommitdiff
path: root/sent.c
AgeCommit message (Collapse)Author
2015-12-03Refactor die() to use eprintf()Alexis
2015-12-03Use consistent wording for error messagesAlexis
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-18die if no font could be loadedMarkus 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-17fix another index overflow issueMarkus Teich
2015-11-17fix several number overflow issuesMarkus 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-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-04make colors configurableMarkus Teich
2015-11-04update license yearMarkus Teich
2015-10-31remove unused font configuration, update license yearMarkus Teich
2015-10-31fix font width calculationsMarkus Teich
2015-10-31remove unused type qualifiersMarkus Teich
2015-08-29fonts are automatically cleaned upMarkus Teich
2015-05-03drw_resize should be called on mapping as wellMarkus Teich
2015-05-02remove debug statementMarkus Teich
2015-05-01typedef image structMarkus Teich
2015-04-30minor style adaptionsMarkus Teich
2015-04-28fonts cleanupMarkus Teich
2015-04-27remove unused dc/gc variablesMarkus Teich
2015-04-25remove old stuff and fix warningsMarkus Teich
2015-04-22blank screen before drawing textMarkus Teich
2015-04-22fix calculation of correct font size to useMarkus Teich
2015-04-20use new font system from drwMarkus Teich
2015-04-19minor style fix and new var for fontsMarkus Teich
2015-04-11use die() where it should be usedMarkus Teich
2015-04-10use drw color scheme fixupMarkus Teich
2015-04-09some work on using drw.c doneMarkus Teich
2015-04-07add utf8 support, scaling and positioning missing.Markus Teich
2015-04-06init and clear drw contextMarkus Teich
2015-01-19support for comments to ignore linesJonas Jelten
use # as first character in a line to skip this line from the slides.
2014-06-29add png supportMarkus Teich
2014-06-23add stuffMarkus Teich