Commit Graph

19 Commits

Author SHA1 Message Date
Hiltjo Posthuma 545031a076 util.c: output function might override errno and thus affect perror()
Original patch by Raymond Cole with some modifications, thanks!
2024-10-27 20:08:46 +01:00
Hiltjo Posthuma e35976f4a5 sync code-style patch from libsl 2022-08-08 10:42:54 +02:00
Hiltjo Posthuma a280bdad1f die() on calloc failure
thanks Markus Teich and David!
2016-11-05 11:36:42 +01:00
Hiltjo Posthuma 026827fd65 die() consistency: always add newline 2016-08-12 14:39:30 +02:00
Hiltjo Posthuma 5a20b409c6 add sbase-style ecalloc(), calloc: or die
... remove intermediary variables
2015-10-20 22:51:57 +02:00
Hiltjo Posthuma 4b1fecd44e Use libdraw: add Xft and fallback-fonts support to graphics lib
- libdraw, util: add drw.{c,h}, util.{c,h} and update code.
- libdraw: fix drw_rect(): use w and h parameter.
- libdraw: print errstr if last character in string was ":" (sbase).
- libdraw: drw_clr_free() allow valid free(NULL).
- config.def.h: set default font to monospace.
- cleanup() on exit.
- LICENSE: update license string for dmenu -v to 2015.
- LICENSE: add myself to LICENSE
2015-06-27 21:47:10 +02:00
Anselm R. Garbe 06ae894434 micromizing dmenu step 1 2007-09-16 20:14:09 +02:00
Anselm R. Garbe d27e3c1092 referred to LICENSE file 2007-05-30 12:19:06 +02:00
Anselm R. Garbe 0e19146d5f making copyright notice more compact 2007-04-13 11:36:44 +02:00
Anselm R. Garbe a1913a6af7 readded draw.c again (except getcolor and setfont) 2007-02-20 13:54:00 +01:00
arg@mig29 deea1fb5ab corrected 2007-01-02 15:41:13 +01:00
arg@mig29 771c0cb607 next version will contain updated copyright notice 2007-01-02 15:38:44 +01:00
Anselm R. Garbe 95b19f75cc changing order 2006-10-12 12:59:37 +02:00
Anselm R. Garbe 3d25a327aa simplified util.c 2006-10-12 12:58:34 +02:00
Anselm R. Garbe 5fd7af18c6 removed useless newlines 2006-10-06 11:52:57 +02:00
Anselm R. Garbe 81bcf078f6 made function signatures more consistent to my coding style 2006-09-12 10:59:00 +02:00
Anselm R.Garbe df85dd743c renamed bad_malloc into badmalloc as well 2006-08-21 07:34:16 +02:00
arg@10ksloc.org 5077207088 rearranged several stuff 2006-08-04 10:23:36 +02:00
arg@10ksloc.org 7817523a68 initial import 2006-08-04 09:35:27 +02:00