Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2021-01-20
19:00
Font change Leaf check-in: 90003266b0 user: sdk tags: trunk, refs/stash
2020-12-10
08:14
WIP on master: 8e81a9b rework patches check-in: 7b5d595308 user: sh+github@codevoid.de tags: trunk, refs/stash
08:14
index on master: 8e81a9b rework patches check-in: 62f9989a46 user: sh+github@codevoid.de tags: trunk, refs/stash
2020-12-01
19:41
rework patches Leaf check-in: c4ced238b3 user: sh+github@codevoid.de tags: master, trunk
2019-11-03
11:17
Progress bar patch + %retab check-in: 75026f1ad4 user: sh+git@codevoid.de tags: master, trunk
2017-09-07
21:40
update license check-in: f1427fbc40 user: teichm@fs.tum.de tags: master, trunk
21:37
Correctly handle files that contain no slides Otherwise, on reloading sent would segfault. Move the check-logic to load() rather than doing it in main() to prevent other misuses of it in the future. check-in: c7bcdb48fe user: teichm@fs.tum.de tags: master, trunk
2017-09-03
22:23
update license check-in: 06edce0b19 user: teichm@fs.tum.de tags: master, trunk
21:57
release v1 check-in: 7193cb30c3 user: teichm@fs.tum.de tags: master, trunk
2017-09-02
17:30
allow to reload file check-in: c6a5a6ee00 user: markus.teich@stusta.mhn.de tags: master, trunk
17:20
fix some spelling in man page check-in: db876ae8a8 user: markus.teich@stusta.mhn.de tags: master, trunk
00:17
update manpage check-in: dc3bd6f868 user: markus.teich@stusta.mhn.de tags: master, trunk
2017-09-01
23:24
migrate to new arg.h check-in: 945d1281b4 user: markus.teich@stusta.mhn.de tags: master, trunk
23:09
load all images before starting the preso check-in: 0b9ad73dda user: markus.teich@stusta.mhn.de tags: master, trunk
2016-11-04
18:50
replace malloc() with ecalloc() check-in: 8699df7988 user: markus.teich@stusta.mhn.de tags: master, trunk
18:45
die() on calloc failure check-in: 9d1a6c7168 user: markus.teich@stusta.mhn.de tags: master, trunk
2016-10-10
18:51
check memory allocation for calloc, die on failure check-in: a0b68e35bf user: markus.teich@stusta.mhn.de tags: master, trunk
18:51
README: add Xft to dependencies check-in: e89c51bf9d user: markus.teich@stusta.mhn.de tags: master, trunk
2016-09-26
10:26
always redraw images Previously when covering the sent window with an image slide selected and exposing it again, the image was lost. This change always redraws the image and also removes the now redundant bit flag in the state enum. check-in: b0286a9545 user: markus.teich@stusta.mhn.de tags: master, trunk
2016-08-12
12:58
improve some more error messages - remove \n in die() messages in drw.c - add a few more ':' suffix for functions that set errno. - minor typo. check-in: 95c0a17fc7 user: markus.teich@stusta.mhn.de tags: master, trunk
11:20
Add a manpage check-in: 910d0a0022 user: markus.teich@stusta.mhn.de tags: master, trunk
08:02
Use Plan 9 style for ARGEND check-in: b4d729c59f user: markus.teich@stusta.mhn.de tags: master, trunk
08:01
Fix error-messages check-in: d75b13b730 user: markus.teich@stusta.mhn.de tags: master, trunk
2016-08-11
21:42
Fix memory leak and print a warning on invalid regex This will minimize the already low memory usage of sent. check-in: 113050d153 user: markus.teich@stusta.mhn.de tags: master, trunk
21:42
_exit() instead of exit() after failed exec die() calls exit(), but actually at this point the program could be in a state not allowing this. It's better to call _exit to stop the libc from calling any handlers that might fail at this moment anyway. check-in: 3d8b2635bb user: markus.teich@stusta.mhn.de tags: master, trunk
2016-07-18
14:09
Simplify LICENSE wording Now, before you call your lawyers, here is some explanation: The MIT/X Consortium-License and ISC-License are equivalent according to the Berne-convention. This means that a court of law presented with either licenses will act the same. The advantage of the ISC license is that it has a simpler wording and is recommended by the OpenBSD-project for new projects[0]. And as we at suckless.org love removing cruft, this also includes removing legal cruft wording that is not needed any more. [0]: http://www.openbsd.org/policy.html check-in: 7166b2e1da user: markus.teich@stusta.mhn.de tags: master, trunk
2016-07-14
20:23
Simplify usage() check-in: f17e1a890c user: markus.teich@stusta.mhn.de tags: master, trunk
10:44
Update example presentation - Add a small transparent farbfeld test image check-in: 16123137a1 user: markus.teich@stusta.mhn.de tags: master, trunk
10:23
add ff and ff.bz2 support in config.def.h check-in: d231a5b3b4 user: markus.teich@stusta.mhn.de tags: master, trunk
2016-06-30
14:57
Also call ffload on the current slide in advance() This fixes a bug where the image would not be loaded if the user setup a keybinding which advances multiple slides at once. Then the preloading for the previous/next slide in advance() would not catch that case and instead of an image the text version (`@filename`) would be rendered on the slide. check-in: afe70bf5da user: markus.teich@stusta.mhn.de tags: master, trunk
14:42
clean ffread and rename to ffload - also remove unneeded memmove in load() check-in: e53c79c591 user: markus.teich@stusta.mhn.de tags: master, trunk
2016-06-06
15:26
load slide image on-demand On Sat, Jun 04, 2016 at 05:28:31PM +0200, Markus Teich wrote: > Hiltjo Posthuma wrote: > > previously an image file would be opened but only ffread when advancing to > > the slide, but when the slide was not used it gave an error: > > > > /usr/local/bin/2ff: failed to convert image/png > > Heyho Hiltjo, > > thanks for the patch. Unfortunately it does not work if the first slide contains > an image (ffopen is only called in advance). I think it would be good to merge > ffopen and ffread instead into a single function ffload. This makes the `LOADED` > state clearer and also enforces that the fd is closed in the same function where > it is opened. This ffload function should then be called in advance() replacing > the ffread() calls if the image is not loaded yet and once in load() for the > first slide if it is an image. > Ah yes, sorry for the oversight. > If you want to take this new approach, go for it, otherwise I'll look into it > myself. > I have attached a patch that does this, I hope you'll like it. Also I'm not sure if we need the below code in advance(), I have removed it in the patch: if (slidecount > idx + 1 && slides[idx + 1].img) ffread(slides[idx + 1].img); if (0 < idx && slides[idx - 1].img) ffread(slides[idx - 1].img); That seems to preload the next and previous slide image right? A minor issue I notice also is that images seem to flicker, it uses XPutImage directly to xw.win. Maybe it can be replaced with a backbuffer then XCopyArea? What do you think? In advance() it should also not always be needed to rescale the image. -- Kind regards, Hiltjo From 97bebdcab4003f9acdfdd4bdf424449299ffd61d Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 4 Jun 2016 21:34:25 +0200 Subject: [PATCH] merge ffread and ffopen into one function check-in: 1d0e937f5b user: markus.teich@stusta.mhn.de tags: master, trunk
2016-06-04
15:26
load slide image on-demand previously an image file would be opened but only ffread when advancing to the slide, but when the slide was not used it gave an error: /usr/local/bin/2ff: failed to convert image/png this changes it to load the image on-demand once and "cache" it. check-in: 99c9bfdade user: markus.teich@stusta.mhn.de tags: master, trunk
2016-05-24
17:28
import new drw and util from libsl. check-in: 7154d47d20 user: markus.teich@stusta.mhn.de tags: master, trunk
2016-03-15
22:51
fix include and lib paths for the BSDs check-in: 8a06bf296c user: markus.teich@stusta.mhn.de tags: master, trunk
19:21
support FreeBSD On FreeBSD the lib and include directories are in /usr/local rather than /usr. check-in: 8987402d96 user: markus.teich@stusta.mhn.de tags: master, trunk
2016-03-06
19:56
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. check-in: 42f8cf8e02 user: markus.teich@stusta.mhn.de tags: master, trunk
19:49
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. check-in: 27070541a5 user: markus.teich@stusta.mhn.de tags: master, trunk
2016-02-06
13:12
no need to reimplement cat here check-in: ec7c95e952 user: markus.teich@stusta.mhn.de tags: master, trunk
13:08
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 check-in: cbfe54ace6 user: markus.teich@stusta.mhn.de tags: master, trunk
2016-02-05
15:17
style: move function return types to own line check-in: 0343a359a4 user: markus.teich@stusta.mhn.de tags: master, trunk
14:39
Use 2ff exclusively in config.def.h check-in: de55e8a712 user: markus.teich@stusta.mhn.de tags: master, trunk
14:35
Fix alpha blending - "/ 257", because 255 * 257 = UINT16_MAX - "/ 255", because that's the maximum possible RGB value check-in: c703ecce8e user: markus.teich@stusta.mhn.de tags: master, trunk
14:25
readme: update reference to farbfeld check-in: a463c93e11 user: markus.teich@stusta.mhn.de tags: master, trunk
2015-12-24
00:57
Change an eprintf to a die to stop child from running its own slideshow 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. check-in: 009f3ede45 user: markus.teich@stusta.mhn.de tags: master, trunk
00:51
filter via shell pipeline Instead of requiring an executable, allow building arbitrary shell pipelines to filter filetypes through. check-in: 0ec3093f34 user: markus.teich@stusta.mhn.de tags: master, trunk
2015-12-08
23:52
unbreak the build check-in: a87d876cd4 user: markus.teich@stusta.mhn.de tags: master, trunk
23:50
fix 2 uninitialized variables and bin == NULL check check-in: e90cdd9d51 user: markus.teich@stusta.mhn.de tags: master, trunk
21:34
check for bin == NULL check-in: 2483a6a9e5 user: markus.teich@stusta.mhn.de tags: master, trunk
21:09
minor syntax, style and README fixes check-in: 1e36a84173 user: markus.teich@stusta.mhn.de tags: master, trunk