Commit Graph

80 Commits

Author SHA1 Message Date
Hiltjo Posthuma 2d2175ff6f config.mk: improve feature test check
this fixes a crash on NetBSD because it requires -D_XOPEN_SOURCE (strdup, usleep).

thanks k0ga and stateless for reporting and fixing this issue!
2015-09-27 22:38:14 +02:00
Hiltjo Posthuma 5feb0c689d config.mk: add FREETYPELIBS and FREETYPEINC
These variables make it simpler to change the paths to this for ports.
`pkg-config` is avoided because it sucks, in particular for cross-compilation.

A commented path for *BSD is added, the Xft includes are located at:
/usr/X11R6/include there.

Also already bump the version number to 4.6, a release will come
approximately in August.
2015-07-19 20:32:08 +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
Connor Lane Smith 38fccafada _POSIX_C_SOURCE=200809L 2012-04-06 16:38:01 +01:00
Connor Lane Smith 7707111c10 remove _POSIX_C_SOURCE cflag 2012-01-18 23:56:13 +00:00
Connor Lane Smith 7f45b3f7aa update version 4.5-hg 2012-01-08 13:13:00 +01:00
anselm@garbe.us 0f91dd1c74 config.mk cleanup 2012-01-04 13:30:47 +01:00
Connor Lane Smith bb4424df07 replace lsx with stest 2011-11-19 19:54:55 +01:00
Connor Lane Smith 3af80cd7d8 change version to 'hg' 2011-09-19 10:40:07 +01:00
Connor Lane Smith 34a816f87d rebind ^N ^P 2011-07-04 16:55:09 +01:00
Connor Lane Smith 2103ae2891 bugfix 2011-05-18 17:01:44 +01:00
Connor Lane Smith 11ea52d170 portability 2011-05-15 21:54:26 +01:00
Connor Lane Smith 1654d6cd62 cleanup 2011-05-15 02:37:49 +01:00
Connor Lane Smith 6cc0b0dc08 increment version 2011-05-14 23:26:41 +01:00
Connor Lane Smith d515d2758f cache option in config.mk 2011-01-07 18:54:40 +00:00
Anselm R Garbe 22cf9626c7 fixed dist target bug 2010-11-20 09:25:04 +00:00
Connor Lane Smith a0a99d10e1 removed libdc dependence 2010-11-11 23:56:39 +00:00
Connor Lane Smith 610a0a8d12 fixed linking bug (thanks Jacob Nixdorf) & iscntrl corner case 2010-09-13 14:22:02 +01:00
Connor Lane Smith caf5246268 simplifications 2010-08-10 13:38:49 +01:00
Connor Lane Smith a7aee433cc fixed bugs, no more config.h, updated manpage, new libdraw 2010-08-02 14:22:54 +01:00
Connor Lane Smith 26b9f3de0f libdraw now has own repo 2010-06-30 01:36:15 +01:00
Connor Lane Smith 4508fd2c4e moved draw.c to libdraw.a 2010-06-24 17:44:35 +01:00
Anselm R Garbe 851672cadc prepared bugfix release 4.1.1 2010-05-29 12:56:33 +01:00
Anselm R Garbe 569a1f925a applied cursor, vertical and paste patches for upcoming 4.1 dmenu version (due to the fact that surf is using dmenu as well) 2009-11-28 12:28:15 +00:00
Anselm R Garbe a1ad9c2a1c applied Matthias Christian Ott's sanity fixes (thanks a lot!) 2009-02-21 19:21:54 +00:00
a@null 51224dcb79 next release will be 4.0 2008-12-12 19:58:52 +00:00
Anselm R Garbe cf7e4c15a9 backported drawtext() simplifications to dmenu 2008-08-18 10:03:28 +01:00
Anselm R Garbe 3f244b1d52 minor fix 2008-06-19 09:18:17 +01:00
Anselm R Garbe 8911aa1060 minor fix 2008-06-18 18:20:21 +01:00
Anselm R Garbe a45f106d3c cosmetic fixes 2008-06-13 11:46:50 +01:00
anselm@anselm1 1f6af5e78f added Xinerama support to dmenu, reverted -b behavior, removed -x, -y, -w 2008-05-19 20:29:32 +01:00
Anselm R Garbe 7195e941c1 re-applied Peter Hartlich's and Jukkas dmenu-related patches, for odd reasons they disappeared 2008-04-09 23:31:49 +01:00
Anselm R Garbe 745c46d8fa fixed match() to prefer prefix-matches to strstr-matches in the match list, extended the -y handling, next version is 3.6 2008-03-18 16:52:51 +00:00
anselm@anselm1 d8688f7a4f added dmenu run 2007-12-22 12:20:20 +00:00
Anselm R. Garbe adc4ec02c0 adapted c99 for pedantic checks, even if those checks are somewhat broken 2007-10-10 18:57:51 +02:00
Anselm R. Garbe 724fe3cf7f applied Michał Janeczek dmenu patch, made dmenu match case-insensitive by default, added -i command line option to enable ido matching, added Michał to Copyright holders 2007-09-23 18:26:41 +02:00
arg@suckless.org ccf4d7166f next version is 3.3 2007-09-17 09:13:21 +02:00
Anselm R. Garbe 8b633bf17d applied Jukka's fix 2007-05-23 13:22:27 +02:00
Anselm R. Garbe 5a3dfb1c40 removed strip, added -s to LDFLAGs 2007-05-15 13:44:41 +02:00
Anselm R. Garbe aa2f73fc88 fixed a small bug in dmenu when an empty font is supplied 2007-05-02 15:25:52 +02:00
Anselm R. Garbe 0e19146d5f making copyright notice more compact 2007-04-13 11:36:44 +02:00
Anselm R. Garbe 85a151c6a4 next version is 2.9 2007-03-28 08:17:57 +02:00
Anselm R. Garbe f555908cef attempt to grab the keyboard only 1000 times, not forever. 2007-03-07 11:01:14 +01:00
Anselm R. Garbe 724f72142f also, don't set the font all the time 2007-03-02 15:16:36 +01:00
Anselm R. Garbe 6c0e05eb0d next is 2.6, but not yet ;) 2007-02-26 10:47:52 +01:00
Anselm R. Garbe 6b5b580aff fixed a bug when dmenu is run with -v 2007-02-23 14:39:54 +01:00
Anselm R. Garbe a71424ac0e ok 2.4.2 2007-02-23 13:51:06 +01:00
Anselm R. Garbe 68a24f5535 hotfix 2007-02-23 13:28:38 +01:00
Anselm R. Garbe de34639883 made Fnt an anonymous struct 2007-02-22 18:16:35 +01:00
Anselm R. Garbe 665488a6ee removed draw.c, implemented C-w handling (backward word deletion) 2007-02-19 15:49:50 +01:00