Markus Teich
27a904c1dd
import new drw and util from libsl.
2016-05-24 19:28:44 +02:00
Markus Teich
268d1968ea
fix include and lib paths for the BSDs
2016-03-15 23:51:30 +01:00
Markus Teich
ceda5d69ac
support FreeBSD
...
On FreeBSD the lib and include directories are in /usr/local rather than /usr.
2016-03-15 20:21:54 +01:00
Markus Teich
c61e9a4b8a
Import arg.h OOB fix from Lucas Gabriel Vuotto.
...
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-06 20:56:29 +01:00
Markus Teich
b954ed4b9f
Fix cmdline argument check
...
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-03-06 20:49:18 +01:00
Markus Teich
616aafdcb9
no need to reimplement cat here
2016-02-06 14:12:47 +01:00
Markus Teich
3019229279
improve error handling
...
- 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-06 14:08:43 +01:00
Markus Teich
77809fae79
style: move function return types to own line
2016-02-05 16:17:43 +01:00
Markus Teich
b0ad67036e
readme: update reference to farbfeld
2016-02-05 15:25:29 +01:00
Markus Teich
11f2c648eb
unbreak the build
2015-12-09 00:52:39 +01:00
Markus Teich
008ff1b88b
fix 2 uninitialized variables and bin == NULL check
2015-12-09 00:50:05 +01:00
Markus Teich
edb4630564
check for bin == NULL
2015-12-08 22:34:48 +01:00
Markus Teich
24762d0172
minor syntax, style and README fixes
2015-12-08 22:09:26 +01:00
Markus Teich
0798e82d23
support transparent images
2015-12-08 21:46:18 +01:00
Markus Teich
7e558105e6
add 'sent: ' prefix to errors
2015-12-03 23:02:14 +01:00
Markus Teich
eac14478e9
fix dying on empty slidefile
2015-11-18 23:24:53 +01:00
Markus Teich
cc57a28eba
die if no font could be loaded
2015-11-18 00:41:38 +01:00
Markus Teich
448fe33370
shorten bulletpoints in example presentation
2015-11-17 02:26:34 +01:00
Markus Teich
31be676486
fix dejavu font name
2015-11-17 02:07:56 +01:00
Markus Teich
4ae761b8be
support even larger screens
2015-11-17 01:39:40 +01:00
Markus Teich
4a828c2d6c
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.
2015-11-17 01:04:04 +01:00
Markus Teich
aa713a8a34
update README
2015-11-17 00:32:45 +01:00
Markus Teich
b1cb3bbc20
fix another index overflow issue
2015-11-17 00:23:51 +01:00
Markus Teich
84734c73e8
fix several number overflow issues
2015-11-17 00:19:39 +01:00
Markus Teich
eb07f3dc10
update version
2015-11-17 00:18:54 +01:00
Markus Teich
22a0a7f255
add multiline support
2015-11-11 23:46:24 +01:00
Markus Teich
d7eac23083
fix more memory leaks
2015-11-11 19:09:13 +01:00
Markus Teich
b23121b4aa
free all fonts correctly
2015-11-11 19:00:54 +01:00
Markus Teich
d302f2efe1
free temporary fontstr arrays
2015-11-11 18:53:54 +01:00
Markus Teich
f6455efd52
simplify png cleanup
2015-11-11 18:50:46 +01:00
Markus Teich
67ec8b1547
make usable screensize config const
2015-11-11 18:41:51 +01:00
Markus Teich
3ce84e7170
don't use EXIT_… cpp defines
2015-11-07 23:52:35 +01:00
Markus Teich
0dc8cb9dab
fix comment wording in drw.c
2015-11-07 23:48:40 +01:00
Markus Teich
9ab88b5935
make colors configurable
2015-11-04 01:43:13 +01:00
Markus Teich
fc82374b03
update license year
2015-11-04 01:40:50 +01:00
Markus Teich
f84e7a585e
fix default fonts in config.def.h
2015-11-01 18:09:22 +01:00
Markus Teich
345b48fe03
remove unused font configuration, update license year
2015-10-31 18:10:47 +01:00
Markus Teich
a9ca2473fd
fix font width calculations
2015-10-31 18:07:07 +01:00
Markus Teich
4a114392bb
remove unused type qualifiers
2015-10-31 16:25:02 +01:00
Markus Teich
0b9b4d2439
update example presentation
2015-10-31 16:24:38 +01:00
Markus Teich
6b002c44b8
fonts are automatically cleaned up
2015-08-29 02:24:42 +02:00
Markus Teich
d06622336b
drw_resize should be called on mapping as well
2015-05-03 22:08:30 +02:00
Markus Teich
8215db707c
remove debug statement
2015-05-02 13:29:03 +02:00
Markus Teich
96e1607e78
typedef image struct
2015-05-01 21:34:52 +02:00
Markus Teich
036d77fffe
minor style adaptions
2015-04-30 22:00:14 +02:00
Markus Teich
8606d72ced
fonts cleanup
2015-04-28 00:27:43 +02:00
Markus Teich
e9261114fe
remove unused dc/gc variables
2015-04-27 23:26:03 +02:00
Markus Teich
9b9dda0f64
remove utf8 support from todo list
2015-04-26 20:40:42 +02:00
Markus Teich
4166516862
remove old stuff and fix warnings
2015-04-25 20:18:43 +02:00
Markus Teich
75081d228e
blank screen before drawing text
2015-04-22 11:57:08 +02:00
Markus Teich
5394f7f539
fix calculation of correct font size to use
2015-04-22 11:56:41 +02:00
Markus Teich
4993b300f3
drw: fixup font handling
2015-04-21 22:57:52 +02:00
Markus Teich
85d25716b0
use new font system from drw
2015-04-20 22:20:16 +02:00
Markus Teich
76d3b0bb95
minor style fix and new var for fonts
2015-04-19 17:36:18 +02:00
Markus Teich
87ef23296b
drw: fixup drw_rect function
2015-04-12 22:56:56 +02:00
Markus Teich
edb657eb96
use die() where it should be used
2015-04-11 12:05:39 +02:00
Markus Teich
4d6dfeb1ad
use drw color scheme fixup
2015-04-10 23:13:33 +02:00
Markus Teich
bd3cfd17e3
drw: fixup color schemes
2015-04-10 23:12:50 +02:00
Markus Teich
de1dc79944
some work on using drw.c done
2015-04-09 19:23:31 +02:00
Markus Teich
da9f788877
drw: fixup font_getexts
2015-04-08 21:13:45 +02:00
Markus Teich
62f5baf7d2
add utf8 support, scaling and positioning missing.
2015-04-07 22:03:02 +02:00
Markus Teich
37a7ca9e2f
init and clear drw context
2015-04-06 23:06:36 +02:00
Markus Teich
b37ef38335
prepare switch to libsl
2015-04-05 15:48:47 +02:00
Markus Teich
c6c12c4f92
update TODO
2015-03-03 19:40:07 +01:00
Markus Teich
44352d8041
update example
2015-01-19 18:39:04 +01:00
Markus Teich
cb16b5d29d
update README
2014-06-29 23:48:49 +02:00
Markus Teich
d61ccea8b9
large jumps don't work well with presenters
2014-06-29 23:45:04 +02:00
Markus Teich
5b4a35ead5
add png support
2014-06-29 23:43:01 +02:00
Markus Teich
501a86cb94
add further instructions for missing font path
2014-06-23 21:41:38 +02:00
Markus Teich
82ad418aac
add explanation to example presentation
2014-06-23 14:30:46 +02:00
Markus Teich
2a8ec74a60
add note to scalable fonts in config.def.h
2014-06-23 11:58:33 +02:00
Markus Teich
ee2c810152
add configuration explanation to README
2014-06-23 11:57:19 +02:00
Markus Teich
db01c2635c
fix Makefile for users w/o cscope
2014-06-23 11:55:38 +02:00
Markus Teich
4c8272d597
add link to takahashi method
2014-06-23 11:54:02 +02:00
Markus Teich
801c9512d4
add example presentation
2014-06-23 11:31:17 +02:00
Markus Teich
800b2ef102
add vim like bindings
2014-06-23 01:55:25 +02:00
Markus Teich
2e435b7da8
update README
2014-06-23 00:53:45 +02:00
Markus Teich
8b5710ff44
add stuff
2014-06-23 00:39:21 +02:00