okan
4454948f21
cvsimport
2015-06-09 13:02:15 +00:00
kspillner
b9db4486da
Fix autogroup so name,class doesn't need to be quoted.
...
ok okan@ on an older version of this diff
2015-05-17 04:39:50 +00:00
kspillner
d328f63c7d
Make window name and window class separate parameters to conf_autogroup.
...
No functional change, but will be used shortly.
ok okan@
2015-05-17 04:34:01 +00:00
okan
bc21e4aa37
cvsimport
2015-03-29 00:21:05 +00:00
okan
ac42dff6c1
simplify error messages; discussed with doug@
2015-02-14 18:24:12 +00:00
Christian Neukirchen
742732a1c8
cvsimport
2015-01-22 11:06:01 +01:00
okan
7936b9b2a7
Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX
...
and HOST_NAME_MAX+1, respectively.
ok doug@
2015-01-19 14:54:16 +00:00
okan
c412f040df
Catch up with src parse.y changes by jsg@:
...
Don't allow embedded nul characters in strings.
Fixes a pfctl crash with an anchor name containing
an embedded nul found with the afl fuzzer.
pfctl parse.y patch from and ok deraadt@
2015-01-17 02:05:03 +00:00
okan
8d1eb202bf
Add gcc format attributes for yyerror(); fix a few yyerror() calls.
...
Adapted from src parse.y changes by doug@. OK doug@
2015-01-16 18:28:08 +00:00
okan
24f9bfb3ec
cvsimport
2014-01-30 22:41:16 +00:00
okan
34477b8a35
re-add lost free from previous
2014-01-30 22:41:16 +00:00
okan
cc1902f57c
Switch ignoreq to winname struct since it's basically the same thing;
...
removes limit on name matching.
2014-01-30 22:17:22 +00:00
okan
1fd3fc4997
cvsimport
2014-01-29 22:30:00 +00:00
okan
1f8f19b4d5
Check command name/path for truncation and provide user feedback during
...
config parse (and use conf_cmd_add to populate defaults); based on a
discussion with Tiago Cunha. While this looks ugly, there are likely
some other changes here to come.
2014-01-29 18:34:22 +00:00
okan
2b233f0548
cvsimport
2014-01-28 20:22:21 +00:00
okan
c28467cda5
Check ignore windowname for truncation and provide user feedback during
...
config parse; based on a discussion with Tiago Cunha.
2014-01-28 20:22:21 +00:00
okan
51b3fbee52
Move conf_init/clear into main - no behaviour change; from Tiago Cunha.
2014-01-28 00:42:20 +00:00
okan
469db5f371
simplify parse_config using assignment; inspired by a very old diff from
...
Tiago Cunha.
2014-01-27 14:49:40 +00:00
okan
5fd119daea
cvsimport
2014-01-24 22:38:02 +00:00
okan
6f10349843
more range checking
2014-01-24 22:38:02 +00:00
okan
371902b3c9
cvsimport
2014-01-21 15:42:44 +00:00
okan
d91571c567
constify and rename some confusing variables around cmdq.
2014-01-20 21:34:32 +00:00
okan
7263fb4c84
- remove redundant range check for buttons in conf_bind_mouse.
...
- make conf_bind_kbd return error on non-matches to match what
conf_bind_mouse does.
- rename some variables while here for clarity.
- constify bind and cmd.
from Tiago Cunha.
2014-01-20 19:06:04 +00:00
okan
ddb67559f6
cvsimport
2013-12-13 15:56:44 +00:00
okan
34ae428cec
Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTION
...
ewmh hint; urgencyborder is configurable. The urgency flag will stick,
even while on a client in a non-viewable group, until the client
receives focus (where the border is reset). Initial diff from Thomas
Adam with some changes/enhancements from me.
2013-12-13 14:40:52 +00:00
Christian Neukirchen
27513daee2
Revert "use u_char for buffers in yylex"
...
This reverts commit 03b19f1487
.
This merely generates pointer signedness warnings for strtonum() and
lookup() and problems with the const char * prototype of xstrdup().
2013-12-06 23:16:54 +01:00
okan
873763f4c6
cvsimport
2013-12-02 20:01:19 +00:00
benno
03b19f1487
Log message:
...
use u_char for buffers in yylex, for ctype calls, as done in all other
parse.y in the tree
found by millert@, ok okan@
2013-11-25 18:21:55 +00:00
okan
0dec9e849d
cvsimport
2013-07-16 14:30:48 +00:00
okan
ca416b6b82
max -> nitems
2013-07-16 14:04:44 +00:00
okan
93bfc4a5c1
cvsimport
2013-07-10 14:15:58 +00:00
okan
a493734066
clarify kbd vs mouse functions
2013-07-08 16:32:51 +00:00
sthen
c30653b1c3
cvsimport
2013-06-03 20:33:17 +00:00
sthen
09f3275561
Unlike other parse.y variants, cwm's allowed 'command xx /path/to/xx' without
...
quotes. Reinstate this support lost in recent sync diff and add a comment to
show that it's intentional. ok okan@
2013-06-03 20:33:17 +00:00
Christian Neukirchen
5515a365ba
cvsimport
2013-05-29 22:41:51 +02:00
okan
532f132194
move validation of pointer Button into conf_mousebind so we check
...
validity during the parse phase and not bother adding it to the queue,
instead of each time a client needs to grab (when it's too late);
furthermore, make this a config error, stop parsing and load the
default config.
2013-05-22 16:32:15 +00:00
okan
866f5af9c7
sync with src changes
2013-05-22 13:02:14 +00:00
okan
dac00a232f
- switch border colors to Xft
...
- merge border/menu color structures/functions since they now both use Xft
- switch xu_xorcolor to operating on XftColor instead of just
XRenderColor (basically adding pixel)
- if color name allocation fails, revert back to default (this, along
with font validation should occur during config parse, but we don't
have screens setup yet - likely to change at some point)
2013-05-19 23:09:59 +00:00
okan
1a06f09fa0
negative values for borderwith, moveamount, snapdist and gap are
...
configuration errors, so warn and load defaults.
2013-05-06 19:09:19 +00:00
okan
843f18aaee
cvsimport
2013-04-30 21:12:20 +00:00
okan
a899d267fe
add conf_ignore and move group_make_autogroup to conf_autogroup to match.
2013-04-17 13:30:38 +00:00
okan
104c7d5de3
cvsimport
2013-01-06 01:01:26 +00:00
okan
579f981718
really these are just border colors, so adjust the define
2013-01-04 16:27:58 +00:00
okan
698530155d
get rid of struct color
2013-01-04 16:23:04 +00:00
okan
f77166194f
cvsimport
2012-12-19 15:21:34 +00:00
okan
dc1e3a8843
gc unused cmd 'flags' variable
2012-12-19 15:21:34 +00:00
okan
96cd288a2a
knf
2012-12-17 02:53:29 +00:00
okan
6900cd3612
non-trivial menu drawing rewrite, moving to Xft and solving various
...
font/color drawing issues; from Alexander Polakov
2012-12-17 02:28:45 +00:00
okan
e27f649ae7
cvsimport
2012-11-01 01:10:47 +00:00
okan
620af2e52d
no longer a reason to carry conf_path in struct conf, so dice.
2012-10-31 22:06:24 +00:00