summary refs log tree commit diff
path: root/parse.y
Commit message (Collapse)AuthorAgeFilesLines
* cvsimportokan2014-01-301-5/+1
|\
| * re-add lost free from previousokan2014-01-301-0/+1
| |
| * Switch ignoreq to winname struct since it's basically the same thing;okan2014-01-301-6/+1
| | | | | | | | removes limit on name matching.
* | cvsimportokan2014-01-291-1/+6
|\|
| * Check command name/path for truncation and provide user feedback duringokan2014-01-291-1/+6
| | | | | | | | | | | | 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.
* | cvsimportokan2014-01-281-63/+7
|\|
| * Check ignore windowname for truncation and provide user feedback duringokan2014-01-281-1/+5
| | | | | | | | config parse; based on a discussion with Tiago Cunha.
| * Move conf_init/clear into main - no behaviour change; from Tiago Cunha.okan2014-01-281-6/+1
| |
| * simplify parse_config using assignment; inspired by a very old diff fromokan2014-01-271-57/+2
| | | | | | | | Tiago Cunha.
* | cvsimportokan2014-01-241-4/+7
|\|
| * more range checkingokan2014-01-241-4/+7
| |
* | cvsimportokan2014-01-211-2/+7
|\|
| * constify and rename some confusing variables around cmdq.okan2014-01-201-1/+1
| |
| * - remove redundant range check for buttons in conf_bind_mouse.okan2014-01-201-1/+6
| | | | | | | | | | | | | | | | | | - 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.
* | cvsimportokan2013-12-131-1/+6
|\|
| * Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTIONokan2013-12-131-1/+6
| | | | | | | | | | | | | | 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.
* | Revert "use u_char for buffers in yylex"Christian Neukirchen2013-12-061-5/+5
| | | | | | | | | | | | | | This reverts commit 03b19f1487135d8e8a80e0aad5aef447776c7c11. This merely generates pointer signedness warnings for strtonum() and lookup() and problems with the const char * prototype of xstrdup().
* | cvsimportokan2013-12-021-5/+5
|\|
| * Log message:benno2013-11-251-5/+5
| | | | | | | | | | | | 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@
* | cvsimportokan2013-07-161-1/+1
|\|
| * max -> nitemsokan2013-07-161-1/+1
| |
* | cvsimportokan2013-07-101-2/+2
|\|
| * clarify kbd vs mouse functionsokan2013-07-081-2/+2
| |
* | cvsimportsthen2013-06-031-3/+3
|\|
| * Unlike other parse.y variants, cwm's allowed 'command xx /path/to/xx' withoutsthen2013-06-031-3/+3
| | | | | | | | | | quotes. Reinstate this support lost in recent sync diff and add a comment to show that it's intentional. ok okan@
* | cvsimportChristian Neukirchen2013-05-291-45/+66
|\|
| * move validation of pointer Button into conf_mousebind so we checkokan2013-05-221-1/+6
| | | | | | | | | | | | | | 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.
| * sync with src changesokan2013-05-221-30/+33
| |
| * - switch border colors to Xftokan2013-05-191-12/+9
| | | | | | | | | | | | | | | | | | - 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)
| * negative values for borderwith, moveamount, snapdist and gap areokan2013-05-061-2/+18
| | | | | | | | configuration errors, so warn and load defaults.
* | cvsimportokan2013-04-301-7/+2
|\|
| * add conf_ignore and move group_make_autogroup to conf_autogroup to match.okan2013-04-171-7/+2
| |
* | cvsimportokan2013-01-061-10/+10
|\|
| * really these are just border colors, so adjust the defineokan2013-01-041-1/+1
| |
| * get rid of struct colorokan2013-01-041-9/+9
| |
* | cvsimportokan2012-12-191-8/+17
|\|
| * gc unused cmd 'flags' variableokan2012-12-191-1/+1
| |
| * knfokan2012-12-171-1/+1
| |
| * non-trivial menu drawing rewrite, moving to Xft and solving variousokan2012-12-171-7/+16
| | | | | | | | font/color drawing issues; from Alexander Polakov
* | cvsimportokan2012-11-011-2/+0
|\|
| * no longer a reason to carry conf_path in struct conf, so dice.okan2012-10-311-2/+0
| |
* | define YYSTYPE_IS_DECLARED to work with bison 2.3Christian Neukirchen2012-05-041-0/+2
|/
* allow configurable menu font color; from Alexander Polakov with a tweakokan2011-09-081-1/+6
| | | | | | from me. ok oga@
* allow menufg/menubg to be configurable; from Alexander Polakov.okan2011-09-081-0/+11
| | | | ok oga@
* "defaultfont" is unclear (and confusing while reading code) when it alsookan2011-09-031-3/+3
| | | | | | applies to the user supplied font, so rename. ok oga@
* revert r1.11 of parse.y and create logic in conf_setup instead to dealokan2011-08-221-2/+0
| | | | | | | | with the various scenarios of when to attempt a parse of the config, load defaults, and when to warn and/or exit. triggered by bogus warning first noticed by sobrado@. ok oga@
* We are inconsistent when it comes to function returns, so just go allokan2011-07-251-4/+4
| | | | | | the way with the cwm specific parts. ok oga@
* correct spelling; from Alexander Polakov.okan2011-07-141-2/+2
|
* introduce a new config option to snap to the screen edge. 'snapdist'okan2011-06-241-1/+6
| | | | | | | | keyword taken from a diff from Sviatoslav Chagaev to do the same thing, but implemented in a completely way (based on some very old code from mk@). default set to 0, so no behavior change. ok oga@ (who would also like to take it further...)
* picked a henning diff from src - original log:okan2010-09-251-2/+3
| | | | | | | | fix linecount bug with comments spanning multiple lines problem reported with the obvious fix for bgpd by Sebastian Benoit <benoit-lists at fb12.de>, also PR 6432 ok oga@