dmenu.git
9 years agoconfig.mk: add FREETYPELIBS and FREETYPEINC
Hiltjo Posthuma [Sun, 19 Jul 2015 18:32:08 +0000 (20:32 +0200)]
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.

9 years agofix prompt color style how it used to be
Hiltjo Posthuma [Sun, 19 Jul 2015 18:29:26 +0000 (20:29 +0200)]
fix prompt color style how it used to be

This is the style how it was before the big Xft change. The colors were
inverted, this was not the case before the change.

Reported by "zvz" on #suckless IRC, thanks!

9 years agoUse libdraw: add Xft and fallback-fonts support to graphics lib
Hiltjo Posthuma [Mon, 4 May 2015 19:54:46 +0000 (21:54 +0200)]
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

10 years agoapplied Hiltjo's patch as suggested on the ml to fix ControlMask for C-j and C-m
Anselm R Garbe [Wed, 17 Sep 2014 11:40:11 +0000 (13:40 +0200)]
applied Hiltjo's patch as suggested on the ml to fix ControlMask for C-j and C-m

10 years agofix crash with ctrl-enter as input
Hiltjo Posthuma [Thu, 24 Jul 2014 19:10:23 +0000 (19:10 +0000)]
fix crash with ctrl-enter as input

reproduce: ./dmenu; send EOF; press ctrl+enter.

10 years agoupdated copyright notices in LICENSE and dmenu.c file
Anselm R Garbe [Thu, 29 May 2014 16:03:53 +0000 (18:03 +0200)]
updated copyright notices in LICENSE and dmenu.c file

11 years agoapplied Martin Kühl's inverse matching flag to stest
Anselm R Garbe [Tue, 13 Aug 2013 17:15:04 +0000 (19:15 +0200)]
applied Martin Kühl's inverse matching flag to stest

11 years agoapplied Martti Kühne's dmenu monitor patch
Anselm R Garbe [Fri, 2 Aug 2013 20:30:20 +0000 (22:30 +0200)]
applied Martti Kühne's dmenu monitor patch
https://gist.github.com/mar77i/3349298/raw/f6581ca96627f4c71c0bd1faf531daaf2a613b95/monarg.patch becomes upstream now

11 years agoaccepted vi'is exit approach ^[ (suggested by Arkaduisz)
Anselm R Garbe [Fri, 28 Jun 2013 20:06:02 +0000 (22:06 +0200)]
accepted vi'is exit approach ^[ (suggested by Arkaduisz)

11 years agoforgot to add config.def.h, thanks William
Anselm R Garbe [Wed, 17 Apr 2013 19:16:51 +0000 (21:16 +0200)]
forgot to add config.def.h, thanks William

11 years agoadopted Alex Sedov's config.h revival patch to tip
Anselm R Garbe [Wed, 17 Apr 2013 19:04:05 +0000 (21:04 +0200)]
adopted Alex Sedov's config.h revival patch to tip

11 years agoapplied Alex Sedov's Tab buffer termination patch, thanks
Anselm R Garbe [Wed, 17 Apr 2013 18:59:12 +0000 (20:59 +0200)]
applied Alex Sedov's Tab buffer termination patch, thanks

11 years agoapplied multisel patch to mainline
Anselm R Garbe [Wed, 17 Apr 2013 18:56:54 +0000 (20:56 +0200)]
applied multisel patch to mainline

12 years agodmenu_run: Split cache logic to dmenu_path again
Quentin Glidic [Mon, 30 Jul 2012 15:02:12 +0000 (17:02 +0200)]
dmenu_run: Split cache logic to dmenu_path again

This allows to run dmenu_path to update the cache using
a packager manager hook system

12 years agoignore prompt if it is empty in addition to NULL
Moritz Wilhelmy [Tue, 15 May 2012 09:47:54 +0000 (11:47 +0200)]
ignore prompt if it is empty in addition to NULL

12 years ago_POSIX_C_SOURCE=200809L
Connor Lane Smith [Fri, 6 Apr 2012 15:38:01 +0000 (16:38 +0100)]
_POSIX_C_SOURCE=200809L

12 years agolisten for C-S-[jm]
Connor Lane Smith [Fri, 10 Feb 2012 00:37:42 +0000 (00:37 +0000)]
listen for C-S-[jm]

12 years agoadd ^G escape keybinding
Karl F [Thu, 19 Jan 2012 22:52:17 +0000 (22:52 +0000)]
add ^G escape keybinding

12 years agoremove _POSIX_C_SOURCE cflag
Connor Lane Smith [Wed, 18 Jan 2012 23:56:13 +0000 (23:56 +0000)]
remove _POSIX_C_SOURCE cflag

12 years agoupdate version 4.5-hg
Connor Lane Smith [Sun, 8 Jan 2012 12:13:00 +0000 (13:13 +0100)]
update version 4.5-hg

12 years agoconfig.mk cleanup
anselm@garbe.us [Wed, 4 Jan 2012 12:30:47 +0000 (13:30 +0100)]
config.mk cleanup

12 years agoalign M-[hjkl] closer to vi keys
Connor Lane Smith [Mon, 2 Jan 2012 18:48:11 +0000 (19:48 +0100)]
align M-[hjkl] closer to vi keys

12 years agohappy new year!
Connor Lane Smith [Sun, 1 Jan 2012 19:33:56 +0000 (20:33 +0100)]
happy new year!

12 years agoadd Mod1Mask keybindings
Connor Lane Smith [Sun, 1 Jan 2012 19:32:40 +0000 (20:32 +0100)]
add Mod1Mask keybindings

12 years agomerge stest -> default
Connor Lane Smith [Mon, 19 Dec 2011 15:52:48 +0000 (16:52 +0100)]
merge stest -> default

12 years agocomment xdg fallback behaviour
Connor Lane Smith [Mon, 19 Dec 2011 15:05:55 +0000 (16:05 +0100)]
comment xdg fallback behaviour

12 years agostest: restore stream testing
Connor Lane Smith [Fri, 9 Dec 2011 10:49:44 +0000 (11:49 +0100)]
stest: restore stream testing

12 years agofork dmenu_run to disown child shell
Connor Lane Smith [Fri, 9 Dec 2011 10:36:26 +0000 (11:36 +0100)]
fork dmenu_run to disown child shell

13 years agostest: cleanup
Connor Lane Smith [Sun, 27 Nov 2011 22:40:48 +0000 (23:40 +0100)]
stest: cleanup

13 years agostest: remove unneeded lstat
Connor Lane Smith [Sun, 27 Nov 2011 22:37:01 +0000 (23:37 +0100)]
stest: remove unneeded lstat

13 years agosimplify stest
Connor Lane Smith [Sun, 27 Nov 2011 22:35:09 +0000 (23:35 +0100)]
simplify stest

13 years agodmenu_run: use $SHELL
Connor Lane Smith [Wed, 23 Nov 2011 14:17:32 +0000 (15:17 +0100)]
dmenu_run: use $SHELL

13 years agoset window background_pixel
Connor Lane Smith [Wed, 23 Nov 2011 13:40:21 +0000 (14:40 +0100)]
set window background_pixel

13 years agofix dmenu_path exec sh
Connor Lane Smith [Sat, 19 Nov 2011 20:31:18 +0000 (21:31 +0100)]
fix dmenu_path exec sh

13 years agofaster dmenu_run -f
Connor Lane Smith [Sat, 19 Nov 2011 20:24:07 +0000 (21:24 +0100)]
faster dmenu_run -f

13 years agoreplace lsx with stest
Connor Lane Smith [Sat, 19 Nov 2011 18:54:55 +0000 (19:54 +0100)]
replace lsx with stest

13 years agoupdate manpage
Connor Lane Smith [Wed, 16 Nov 2011 10:26:15 +0000 (11:26 +0100)]
update manpage

13 years agolimit direction keys in vline
Connor Lane Smith [Tue, 15 Nov 2011 19:32:39 +0000 (20:32 +0100)]
limit direction keys in vline

13 years agofix C-n / C-p directions (thanks bastien)
Connor Lane Smith [Mon, 14 Nov 2011 19:02:16 +0000 (20:02 +0100)]
fix C-n / C-p directions (thanks bastien)

13 years agonew default colour scheme
Connor Lane Smith [Sun, 13 Nov 2011 23:46:56 +0000 (00:46 +0100)]
new default colour scheme

13 years agomakefile: *.o depend on draw.h
Connor Lane Smith [Wed, 26 Oct 2011 13:16:12 +0000 (14:16 +0100)]
makefile: *.o depend on draw.h

13 years agoadd paste from clipboard
Connor Lane Smith [Wed, 26 Oct 2011 12:28:15 +0000 (13:28 +0100)]
add paste from clipboard

13 years agoadd lots of comments
Connor Lane Smith [Wed, 26 Oct 2011 12:20:14 +0000 (13:20 +0100)]
add lots of comments

13 years agoinput focus: calculate areas of intersection
Connor Lane Smith [Wed, 26 Oct 2011 11:14:50 +0000 (12:14 +0100)]
input focus: calculate areas of intersection

13 years agosimplify dmenu_run
Connor Lane Smith [Mon, 17 Oct 2011 09:22:23 +0000 (10:22 +0100)]
simplify dmenu_run

13 years agomerge xim -> default
Connor Lane Smith [Mon, 17 Oct 2011 09:11:48 +0000 (10:11 +0100)]
merge xim -> default

13 years agomerge lsx -> default
Connor Lane Smith [Mon, 17 Oct 2011 09:08:04 +0000 (10:08 +0100)]
merge lsx -> default

13 years agouse ~/.dmenu_cache if no xdg cache
Connor Lane Smith [Mon, 17 Oct 2011 01:12:33 +0000 (02:12 +0100)]
use ~/.dmenu_cache if no xdg cache

13 years agolsx: detect read errors
Connor Lane Smith [Mon, 17 Oct 2011 00:44:07 +0000 (01:44 +0100)]
lsx: detect read errors

13 years agoxim: check for corner cases
Connor Lane Smith [Mon, 17 Oct 2011 00:18:57 +0000 (01:18 +0100)]
xim: check for corner cases

13 years agofix extra warning
Connor Lane Smith [Sun, 16 Oct 2011 17:26:11 +0000 (18:26 +0100)]
fix extra warning

13 years agolsx: return failure on error
Connor Lane Smith [Sun, 16 Oct 2011 17:14:51 +0000 (18:14 +0100)]
lsx: return failure on error

13 years agomerge default -> lsx
Connor Lane Smith [Sun, 16 Oct 2011 17:13:29 +0000 (18:13 +0100)]
merge default -> lsx

13 years agoadd xim support
Troels Henriksen [Sun, 16 Oct 2011 16:21:33 +0000 (17:21 +0100)]
add xim support

13 years agolimit lines to input
Connor Lane Smith [Thu, 13 Oct 2011 19:43:59 +0000 (20:43 +0100)]
limit lines to input

13 years agoinput focus: fix for reparenting wms
Connor Lane Smith [Tue, 4 Oct 2011 20:39:56 +0000 (21:39 +0100)]
input focus: fix for reparenting wms

13 years agofix monitor select when no focus
Connor Lane Smith [Fri, 30 Sep 2011 20:08:37 +0000 (21:08 +0100)]
fix monitor select when no focus

13 years agomerge token -> default
Connor Lane Smith [Mon, 19 Sep 2011 23:11:01 +0000 (00:11 +0100)]
merge token -> default

13 years agotweak match
Connor Lane Smith [Mon, 19 Sep 2011 23:09:20 +0000 (00:09 +0100)]
tweak match

13 years agoupdate manpage
Connor Lane Smith [Mon, 19 Sep 2011 23:06:13 +0000 (00:06 +0100)]
update manpage

13 years agodetect active monitor using input focus
Connor Lane Smith [Mon, 19 Sep 2011 17:15:03 +0000 (18:15 +0100)]
detect active monitor using input focus

13 years agoadd token matching
Connor Lane Smith [Mon, 19 Sep 2011 09:40:56 +0000 (10:40 +0100)]
add token matching

13 years agochange version to 'hg'
Connor Lane Smith [Mon, 19 Sep 2011 09:40:07 +0000 (10:40 +0100)]
change version to 'hg'

13 years agodmenu_run: sh -c
Connor Lane Smith [Sun, 24 Jul 2011 19:04:58 +0000 (20:04 +0100)]
dmenu_run: sh -c

13 years agofix loadfont
Connor Lane Smith [Fri, 22 Jul 2011 17:16:57 +0000 (18:16 +0100)]
fix loadfont

13 years agoAdded tag 4.4 for changeset 2b105eaae831
Connor Lane Smith [Tue, 19 Jul 2011 20:30:14 +0000 (21:30 +0100)]
Added tag 4.4 for changeset 2b105eaae831

13 years agoadd lsx.1 to dist
Connor Lane Smith [Tue, 19 Jul 2011 20:30:09 +0000 (21:30 +0100)]
add lsx.1 to dist

13 years agotweaks
Connor Lane Smith [Sun, 17 Jul 2011 13:06:53 +0000 (14:06 +0100)]
tweaks

13 years agoefficiency tweaks
Connor Lane Smith [Thu, 14 Jul 2011 19:03:08 +0000 (20:03 +0100)]
efficiency tweaks

13 years agofix extra warning
Connor Lane Smith [Thu, 14 Jul 2011 19:03:00 +0000 (20:03 +0100)]
fix extra warning

13 years agosimpler vline
Connor Lane Smith [Wed, 6 Jul 2011 12:40:36 +0000 (13:40 +0100)]
simpler vline

13 years agorebind ^N ^P
Connor Lane Smith [Mon, 4 Jul 2011 15:55:09 +0000 (16:55 +0100)]
rebind ^N ^P

13 years agoinclude limits.h
Connor Lane Smith [Sat, 25 Jun 2011 16:02:14 +0000 (17:02 +0100)]
include limits.h

13 years agomake clean lsx
Connor Lane Smith [Thu, 23 Jun 2011 21:39:20 +0000 (22:39 +0100)]
make clean lsx

13 years agomerge lsx -> default
Connor Lane Smith [Thu, 23 Jun 2011 19:27:28 +0000 (20:27 +0100)]
merge lsx -> default

13 years agoclose lsx branch
Connor Lane Smith [Thu, 23 Jun 2011 19:26:57 +0000 (20:26 +0100)]
close lsx branch

13 years agolsx: check snprintf
Connor Lane Smith [Thu, 23 Jun 2011 19:04:50 +0000 (20:04 +0100)]
lsx: check snprintf

13 years agoupdate draw.c
Connor Lane Smith [Sat, 18 Jun 2011 21:11:19 +0000 (22:11 +0100)]
update draw.c

13 years agosimpler lsx
Connor Lane Smith [Sat, 18 Jun 2011 06:50:46 +0000 (07:50 +0100)]
simpler lsx

13 years agonew dmenu_run
Connor Lane Smith [Mon, 13 Jun 2011 20:50:31 +0000 (21:50 +0100)]
new dmenu_run

13 years agoadd lsx.1
Connor Lane Smith [Mon, 13 Jun 2011 18:32:45 +0000 (19:32 +0100)]
add lsx.1

13 years agonew lsx branch
Connor Lane Smith [Mon, 13 Jun 2011 18:28:30 +0000 (19:28 +0100)]
new lsx branch

13 years agoadd ^M
Connor Lane Smith [Mon, 13 Jun 2011 18:25:40 +0000 (19:25 +0100)]
add ^M

13 years agoAdded tag 4.3.1 for changeset 34a2d77049a9
Connor Lane Smith [Wed, 18 May 2011 16:01:59 +0000 (17:01 +0100)]
Added tag 4.3.1 for changeset 34a2d77049a9

13 years agobugfix
Connor Lane Smith [Wed, 18 May 2011 16:01:44 +0000 (17:01 +0100)]
bugfix

13 years agoAdded tag 4.3 for changeset 14c79f054bdf
Connor Lane Smith [Wed, 18 May 2011 15:21:45 +0000 (16:21 +0100)]
Added tag 4.3 for changeset 14c79f054bdf

13 years agono -m, cleanup
Connor Lane Smith [Wed, 18 May 2011 15:20:03 +0000 (16:20 +0100)]
no -m, cleanup

13 years agofix possible overflow
Connor Lane Smith [Mon, 16 May 2011 22:35:14 +0000 (23:35 +0100)]
fix possible overflow

13 years agofixed extra warnings
Connor Lane Smith [Mon, 16 May 2011 11:59:31 +0000 (12:59 +0100)]
fixed extra warnings

13 years agoportability
Connor Lane Smith [Sun, 15 May 2011 20:54:26 +0000 (21:54 +0100)]
portability

13 years agoefficient incremental search
Connor Lane Smith [Sun, 15 May 2011 15:05:32 +0000 (16:05 +0100)]
efficient incremental search

13 years agomatch first
Connor Lane Smith [Sun, 15 May 2011 13:21:00 +0000 (14:21 +0100)]
match first

13 years agofaster grab
Connor Lane Smith [Sun, 15 May 2011 13:13:31 +0000 (14:13 +0100)]
faster grab

13 years agocleanup
Connor Lane Smith [Sun, 15 May 2011 12:58:54 +0000 (13:58 +0100)]
cleanup

13 years agofast but inexact
Connor Lane Smith [Sun, 15 May 2011 12:02:33 +0000 (13:02 +0100)]
fast but inexact

13 years agocleanup
Connor Lane Smith [Sun, 15 May 2011 01:37:49 +0000 (02:37 +0100)]
cleanup

13 years agoincrement version
Connor Lane Smith [Sat, 14 May 2011 22:26:41 +0000 (23:26 +0100)]
increment version

13 years agoonly match links
Connor Lane Smith [Sat, 14 May 2011 22:21:38 +0000 (23:21 +0100)]
only match links

13 years agofollow symlinks
Connor Lane Smith [Sat, 14 May 2011 22:14:31 +0000 (23:14 +0100)]
follow symlinks

13 years agocleanup
Connor Lane Smith [Sat, 14 May 2011 21:43:42 +0000 (22:43 +0100)]
cleanup