sent.git
9 years agoUse right click as previous and enable scrolling to switch slides
Ivan Tham [Thu, 19 Nov 2015 13:13:25 +0000 (21:13 +0800)]
Use right click as previous and enable scrolling to switch slides

9 years agoBail out before allocating slides if file is empty
Quentin Rameau [Wed, 18 Nov 2015 22:21:33 +0000 (23:21 +0100)]
Bail out before allocating slides if file is empty

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.

9 years agofix dying on empty slidefile
Markus Teich [Wed, 18 Nov 2015 22:24:53 +0000 (23:24 +0100)]
fix dying on empty slidefile

9 years agodrw.c: Avoid potential memory leak in drw_cur_create()
Quentin Rameau [Wed, 18 Nov 2015 21:45:26 +0000 (22:45 +0100)]
drw.c: Avoid potential memory leak in drw_cur_create()

If drw was NULL, memory was still allocated for cur.

9 years agoAdd Escape key to quit sent
Ivan Tham [Wed, 18 Nov 2015 02:01:50 +0000 (10:01 +0800)]
Add Escape key to quit sent

9 years agodie if no font could be loaded
Markus Teich [Tue, 17 Nov 2015 23:41:38 +0000 (00:41 +0100)]
die if no font could be loaded

9 years agoRegister space to advance to the next slide
Jan Christoph Ebersbach [Tue, 17 Nov 2015 05:42:34 +0000 (06:42 +0100)]
Register space to advance to the next slide

9 years agoshorten bulletpoints in example presentation
Markus Teich [Tue, 17 Nov 2015 01:26:34 +0000 (02:26 +0100)]
shorten bulletpoints in example presentation

9 years agofix dejavu font name
Markus Teich [Tue, 17 Nov 2015 01:07:56 +0000 (02:07 +0100)]
fix dejavu font name

9 years agosupport even larger screens
Markus Teich [Tue, 17 Nov 2015 00:39:40 +0000 (01:39 +0100)]
support even larger screens

9 years agoprevent flickering when changing slides
Markus Teich [Tue, 17 Nov 2015 00:00:30 +0000 (01:00 +0100)]
prevent flickering when changing slides

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.

9 years agoupdate README
Markus Teich [Mon, 16 Nov 2015 23:32:45 +0000 (00:32 +0100)]
update README

9 years agofix another index overflow issue
Markus Teich [Mon, 16 Nov 2015 23:23:51 +0000 (00:23 +0100)]
fix another index overflow issue

9 years agofix several number overflow issues
Markus Teich [Mon, 16 Nov 2015 23:19:39 +0000 (00:19 +0100)]
fix several number overflow issues

9 years agoupdate version
Markus Teich [Mon, 16 Nov 2015 23:18:54 +0000 (00:18 +0100)]
update version

9 years agoadd multiline support
Markus Teich [Sat, 7 Nov 2015 22:54:23 +0000 (23:54 +0100)]
add multiline support

9 years agofix more memory leaks
Markus Teich [Wed, 11 Nov 2015 18:09:13 +0000 (19:09 +0100)]
fix more memory leaks

9 years agofree all fonts correctly
Markus Teich [Wed, 11 Nov 2015 18:00:54 +0000 (19:00 +0100)]
free all fonts correctly

9 years agofree temporary fontstr arrays
Markus Teich [Wed, 11 Nov 2015 17:53:54 +0000 (18:53 +0100)]
free temporary fontstr arrays

9 years agosimplify png cleanup
Markus Teich [Wed, 11 Nov 2015 17:49:57 +0000 (18:49 +0100)]
simplify png cleanup

9 years agomake usable screensize config const
Markus Teich [Wed, 11 Nov 2015 17:41:51 +0000 (18:41 +0100)]
make usable screensize config const

9 years agodon't assume we get a ConfigureNotify event
Tony Lainson [Tue, 10 Nov 2015 03:54:16 +0000 (14:54 +1100)]
don't assume we get a ConfigureNotify event

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.

9 years agoinitialize .img
Szabolcs Nagy [Mon, 9 Nov 2015 01:58:26 +0000 (02:58 +0100)]
initialize .img

without the attached patch ./sent example segfaults here

9 years agodon't use EXIT_… cpp defines
Markus Teich [Sat, 7 Nov 2015 22:52:35 +0000 (23:52 +0100)]
don't use EXIT_… cpp defines

9 years agofix comment wording in drw.c
Markus Teich [Sat, 7 Nov 2015 22:48:40 +0000 (23:48 +0100)]
fix comment wording in drw.c

9 years agomake colors configurable
Markus Teich [Wed, 4 Nov 2015 00:43:13 +0000 (01:43 +0100)]
make colors configurable

9 years agoupdate license year
Markus Teich [Wed, 4 Nov 2015 00:40:50 +0000 (01:40 +0100)]
update license year

9 years agofix default fonts in config.def.h
Markus Teich [Sun, 1 Nov 2015 17:09:22 +0000 (18:09 +0100)]
fix default fonts in config.def.h

9 years agoremove unused font configuration, update license year
Markus Teich [Sat, 31 Oct 2015 17:10:47 +0000 (18:10 +0100)]
remove unused font configuration, update license year

9 years agofix font width calculations
Markus Teich [Sat, 31 Oct 2015 17:07:07 +0000 (18:07 +0100)]
fix font width calculations

9 years agoremove unused type qualifiers
Markus Teich [Sat, 31 Oct 2015 15:25:02 +0000 (16:25 +0100)]
remove unused type qualifiers

9 years agoupdate example presentation
Markus Teich [Sat, 31 Oct 2015 15:24:38 +0000 (16:24 +0100)]
update example presentation

9 years agofonts are automatically cleaned up
Markus Teich [Sat, 29 Aug 2015 00:24:42 +0000 (02:24 +0200)]
fonts are automatically cleaned up

10 years agodrw_resize should be called on mapping as well
Markus Teich [Sun, 3 May 2015 20:07:51 +0000 (22:07 +0200)]
drw_resize should be called on mapping as well

10 years agoremove debug statement
Markus Teich [Sat, 2 May 2015 11:29:03 +0000 (13:29 +0200)]
remove debug statement

10 years agotypedef image struct
Markus Teich [Fri, 1 May 2015 19:34:52 +0000 (21:34 +0200)]
typedef image struct

10 years agominor style adaptions
Markus Teich [Thu, 30 Apr 2015 20:00:14 +0000 (22:00 +0200)]
minor style adaptions

10 years agofonts cleanup
Markus Teich [Mon, 27 Apr 2015 22:27:43 +0000 (00:27 +0200)]
fonts cleanup

10 years agoremove unused dc/gc variables
Markus Teich [Mon, 27 Apr 2015 21:26:03 +0000 (23:26 +0200)]
remove unused dc/gc variables

10 years agoremove utf8 support from todo list
Markus Teich [Sun, 26 Apr 2015 18:40:42 +0000 (20:40 +0200)]
remove utf8 support from todo list

10 years agoremove old stuff and fix warnings
Markus Teich [Sat, 25 Apr 2015 18:18:43 +0000 (20:18 +0200)]
remove old stuff and fix warnings

10 years agoblank screen before drawing text
Markus Teich [Wed, 22 Apr 2015 09:57:08 +0000 (11:57 +0200)]
blank screen before drawing text

10 years agofix calculation of correct font size to use
Markus Teich [Wed, 22 Apr 2015 09:56:41 +0000 (11:56 +0200)]
fix calculation of correct font size to use

10 years agodrw: fixup font handling
Markus Teich [Tue, 21 Apr 2015 20:57:52 +0000 (22:57 +0200)]
drw: fixup font handling

10 years agouse new font system from drw
Markus Teich [Mon, 20 Apr 2015 20:20:16 +0000 (22:20 +0200)]
use new font system from drw

10 years agominor style fix and new var for fonts
Markus Teich [Sun, 19 Apr 2015 15:36:18 +0000 (17:36 +0200)]
minor style fix and new var for fonts

10 years agodrw: fixup drw_rect function
Markus Teich [Sun, 12 Apr 2015 20:56:56 +0000 (22:56 +0200)]
drw: fixup drw_rect function

10 years agouse die() where it should be used
Markus Teich [Sat, 11 Apr 2015 10:05:39 +0000 (12:05 +0200)]
use die() where it should be used

10 years agouse drw color scheme fixup
Markus Teich [Fri, 10 Apr 2015 21:13:33 +0000 (23:13 +0200)]
use drw color scheme fixup

10 years agodrw: fixup color schemes
Markus Teich [Fri, 10 Apr 2015 21:12:50 +0000 (23:12 +0200)]
drw: fixup color schemes

10 years agosome work on using drw.c done
Markus Teich [Thu, 9 Apr 2015 17:23:31 +0000 (19:23 +0200)]
some work on using drw.c done

10 years agodrw: fixup font_getexts
Markus Teich [Wed, 8 Apr 2015 19:13:45 +0000 (21:13 +0200)]
drw: fixup font_getexts

10 years agoadd utf8 support, scaling and positioning missing.
Markus Teich [Tue, 7 Apr 2015 20:03:02 +0000 (22:03 +0200)]
add utf8 support, scaling and positioning missing.

10 years agoinit and clear drw context
Markus Teich [Mon, 6 Apr 2015 21:06:36 +0000 (23:06 +0200)]
init and clear drw context

10 years agoprepare switch to libsl
Markus Teich [Sun, 5 Apr 2015 13:48:47 +0000 (15:48 +0200)]
prepare switch to libsl

10 years agoupdate TODO
Markus Teich [Tue, 3 Mar 2015 18:40:07 +0000 (19:40 +0100)]
update TODO

10 years agoupdate example
Markus Teich [Mon, 19 Jan 2015 17:39:04 +0000 (18:39 +0100)]
update example

10 years agosupport for comments to ignore lines
Jonas Jelten [Mon, 19 Jan 2015 03:28:24 +0000 (04:28 +0100)]
support for comments to ignore lines

use # as first character in a line to skip this line
from the slides.

10 years agomake: fix warnings because of BSD_SOURCE
Jonas Jelten [Mon, 19 Jan 2015 03:28:11 +0000 (04:28 +0100)]
make: fix warnings because of BSD_SOURCE

10 years agomake: don't build cscope by default
Jonas Jelten [Mon, 19 Jan 2015 03:27:54 +0000 (04:27 +0100)]
make: don't build cscope by default

11 years agoupdate README
Markus Teich [Sun, 29 Jun 2014 21:48:49 +0000 (23:48 +0200)]
update README

11 years agolarge jumps don't work well with presenters
Markus Teich [Sun, 29 Jun 2014 21:45:04 +0000 (23:45 +0200)]
large jumps don't work well with presenters

11 years agoadd png support
Markus Teich [Sun, 29 Jun 2014 21:43:01 +0000 (23:43 +0200)]
add png support

11 years agoadd further instructions for missing font path
Markus Teich [Mon, 23 Jun 2014 19:41:38 +0000 (21:41 +0200)]
add further instructions for missing font path

11 years agoadd explanation to example presentation
Markus Teich [Mon, 23 Jun 2014 12:30:46 +0000 (14:30 +0200)]
add explanation to example presentation

11 years agoadd note to scalable fonts in config.def.h
Markus Teich [Mon, 23 Jun 2014 09:58:33 +0000 (11:58 +0200)]
add note to scalable fonts in config.def.h

11 years agoadd configuration explanation to README
Markus Teich [Mon, 23 Jun 2014 09:57:19 +0000 (11:57 +0200)]
add configuration explanation to README

11 years agofix Makefile for users w/o cscope
Markus Teich [Mon, 23 Jun 2014 09:55:38 +0000 (11:55 +0200)]
fix Makefile for users w/o cscope

11 years agoadd link to takahashi method
Markus Teich [Mon, 23 Jun 2014 09:54:02 +0000 (11:54 +0200)]
add link to takahashi method

11 years agoadd example presentation
Markus Teich [Mon, 23 Jun 2014 09:31:17 +0000 (11:31 +0200)]
add example presentation

11 years agoadd vim like bindings
Markus Teich [Sun, 22 Jun 2014 23:55:25 +0000 (01:55 +0200)]
add vim like bindings

11 years agoupdate README
Markus Teich [Sun, 22 Jun 2014 22:53:45 +0000 (00:53 +0200)]
update README

11 years agoadd stuff
Markus Teich [Sun, 22 Jun 2014 22:39:21 +0000 (00:39 +0200)]
add stuff

11 years agoInitial commit
schachmat [Sun, 22 Jun 2014 22:18:28 +0000 (00:18 +0200)]
Initial commit