Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-01 | Normalize bind function names, based on a few categories: window, group, menu | Okan Demirmen | |
and pointer. Replace 'bind' and 'mousebind' options with 'bind-key' and 'bind-mouse', respectively, replace special 'unmap' keyword with 'unbind-key' and 'unbind-mouse', and additionally allow unbinding all with 'all' keyword. | |||
2016-11-14 | Define callbacks, then default bindings. | Okan Demirmen | |
2016-10-03 | Defaults are split between defines and conf_init(); normalize these, as | Okan Demirmen | |
well as give 'sticky' groups its own variable. | |||
2015-05-17 | Fix autogroup so name,class doesn't need to be quoted. | Kent R. Spillner | |
ok okan@ on an older version of this diff | |||
2015-05-17 | Make window name and window class separate parameters to conf_autogroup. | Kent R. Spillner | |
No functional change, but will be used shortly. ok okan@ | |||
2015-02-14 | simplify error messages; discussed with doug@ | Okan Demirmen | |
2015-01-19 | Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX | Okan Demirmen | |
and HOST_NAME_MAX+1, respectively. ok doug@ | |||
2015-01-17 | Catch up with src parse.y changes by jsg@: | Okan Demirmen | |
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-16 | Add gcc format attributes for yyerror(); fix a few yyerror() calls. | Okan Demirmen | |
Adapted from src parse.y changes by doug@. OK doug@ | |||
2014-01-30 | re-add lost free from previous | Okan Demirmen | |
2014-01-30 | Switch ignoreq to winname struct since it's basically the same thing; | Okan Demirmen | |
removes limit on name matching. | |||
2014-01-29 | Check command name/path for truncation and provide user feedback during | Okan Demirmen | |
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-28 | Check ignore windowname for truncation and provide user feedback during | Okan Demirmen | |
config parse; based on a discussion with Tiago Cunha. | |||
2014-01-28 | Move conf_init/clear into main - no behaviour change; from Tiago Cunha. | Okan Demirmen | |
2014-01-27 | simplify parse_config using assignment; inspired by a very old diff from | Okan Demirmen | |
Tiago Cunha. | |||
2014-01-24 | more range checking | Okan Demirmen | |
2014-01-20 | constify and rename some confusing variables around cmdq. | Okan Demirmen | |
2014-01-20 | - remove redundant range check for buttons in conf_bind_mouse. | Okan Demirmen | |
- 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. | |||
2013-12-13 | Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTION | Okan Demirmen | |
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-11-25 | Log message: | Sebastian Benoit | |
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-07-16 | max -> nitems | Okan Demirmen | |
2013-07-08 | clarify kbd vs mouse functions | Okan Demirmen | |
2013-06-03 | Unlike other parse.y variants, cwm's allowed 'command xx /path/to/xx' without | Stuart Henderson | |
quotes. Reinstate this support lost in recent sync diff and add a comment to show that it's intentional. ok okan@ | |||
2013-05-22 | move validation of pointer Button into conf_mousebind so we check | Okan Demirmen | |
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 | sync with src changes | Okan Demirmen | |
2013-05-19 | - switch border colors to Xft | Okan Demirmen | |
- 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-06 | negative values for borderwith, moveamount, snapdist and gap are | Okan Demirmen | |
configuration errors, so warn and load defaults. | |||
2013-04-17 | add conf_ignore and move group_make_autogroup to conf_autogroup to match. | Okan Demirmen | |
2013-01-04 | really these are just border colors, so adjust the define | Okan Demirmen | |
2013-01-04 | get rid of struct color | Okan Demirmen | |
2012-12-19 | gc unused cmd 'flags' variable | Okan Demirmen | |
2012-12-17 | knf | Okan Demirmen | |
2012-12-17 | non-trivial menu drawing rewrite, moving to Xft and solving various | Okan Demirmen | |
font/color drawing issues; from Alexander Polakov | |||
2012-10-31 | no longer a reason to carry conf_path in struct conf, so dice. | Okan Demirmen | |
2011-09-08 | allow configurable menu font color; from Alexander Polakov with a tweak | Okan Demirmen | |
from me. ok oga@ | |||
2011-09-08 | allow menufg/menubg to be configurable; from Alexander Polakov. | Okan Demirmen | |
ok oga@ | |||
2011-09-03 | "defaultfont" is unclear (and confusing while reading code) when it also | Okan Demirmen | |
applies to the user supplied font, so rename. ok oga@ | |||
2011-08-22 | revert r1.11 of parse.y and create logic in conf_setup instead to deal | Okan Demirmen | |
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@ | |||
2011-07-25 | We are inconsistent when it comes to function returns, so just go all | Okan Demirmen | |
the way with the cwm specific parts. ok oga@ | |||
2011-07-14 | correct spelling; from Alexander Polakov. | Okan Demirmen | |
2011-06-24 | introduce a new config option to snap to the screen edge. 'snapdist' | Okan Demirmen | |
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...) | |||
2010-09-25 | picked a henning diff from src - original log: | Okan Demirmen | |
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@ | |||
2010-01-27 | - allow per-screen gap; not (yet) user configurable. | Okan Demirmen | |
- teach _NET_WORKAREA about gap. ok oga@ | |||
2009-12-15 | pull all non-X11 headers from calmwm.h and place them only where they | Okan Demirmen | |
are required. encourged to go all the way by oga@ | |||
2009-12-15 | merge the 2 common header files; specific includes to be pulled out as | Okan Demirmen | |
separate commits. ok oga@ | |||
2009-12-11 | Implement _NET_DESKTOP_NAMES, this one was a bit tricky since thespec | Owain Ainsworth | |
says that a pager can change the property at any time (most need a clientmessage). So deal with property updates. Needed to shuffle some of the other code around since we can't just use shortcut_to_name[] everywhere now. ok okan@ | |||
2009-06-20 | unroll XCALLOC/XMALLOC macros; since we use xcalloc/xmalloc all over the | Okan Demirmen | |
place anyway, this makes things a bit more consistent; from Thomas Pfaff ok oga@ | |||
2009-05-17 | a long time coming - re-work the way we deal with colors: since we're | Okan Demirmen | |
using Xft(3), use it to select the font color as well instead of trying to build one; properly allocate and free colors at-will, e.g. we now have configurable colors. feedback and ok's todd@ and oga@ | |||
2009-02-07 | add 'moveamount' to cwmrc; it sets keyboard movement amount, making | Martynas Venckus | |
it more useful on large screens manpage tweak & ok jmc@ ok okan@, oga@ | |||
2009-01-23 | move conf_clear() and add proto. | Okan Demirmen | |
ok todd@ oga@ |