summaryrefslogtreecommitdiff
path: root/app/cwm/parse.y
AgeCommit message (Collapse)Author
2009-01-11better comparison idiom; found with -WallOkan Demirmen
ok oga@
2008-06-16Make this not crash when compiled with -g.Michael Knudsen
Found by myself, analysis by kurt@, fix by me with input from otto. ``Just get some fix in...'' deraadt
2008-06-15Rip out and burn the HASH_* stuff. We don't need a SPLAY tree for one font.Owain Ainsworth
makes the code a lot simpler. While here rearrange the font handling functions to be less shit. ok and help okan@.
2008-06-14slightly alter the semantics of config files:Okan Demirmen
- if no config file, continue silently and apply defaults - if config file, parse and move on - if config file specified but not found, error out ok oga@
2008-06-14confable menu and window mouse bindings from rivo nurges (thanks!) withOkan Demirmen
some minor fixups, man page bits and knf. ok oga@
2008-05-19allow an autogroup value of 0 to mean no group. This means you can setOwain Ainsworth
automatically "sticky" (in the traditional sense of the word) windows in autogroup mode. Based on an initial diff from Andrew Fresh, thanks! ok okan@.
2008-05-18Kill conf_get_int(), it was a silly function anyway.Owain Ainsworth
Since it's only used once just put the (simplified) logic into conf_client() instead. This means we can kill an enum and CONF_IGNORECASE, too. ok okan@
2008-05-18When we're cleaning out the lists in parse_config and conf_clear it's aOwain Ainsworth
lot simpler just to do while (entry = TAILQ_FIRST(head)) than to do a for () over the whole lot. Simpler, shorter and probably faster. ok okan@
2008-04-29Allow slashes in unquoted strings.Simon Bertrang
From Pierre Riteau Makes sense to oga@
2008-04-16Replace a few leftover calls to strdup and calloc with xstrdup and xcallocOwain Ainsworth
respectively. ok okan.
2008-04-15hit it with the knf stick.Owain Ainsworth
2008-04-15Add "gap" support to .cwmrc. The options put in here make gaps on the edgeOwain Ainsworth
of the screen where an application won't be {,vert}maximized over. used for placing a statusbar or something like xclock. Patch from Edd Barrett, with input from myself and okan. Thanks! ok okan@.
2008-04-15malloc -> callocOkan Demirmen
suggested by and ok oga@
2008-03-23Replace the symlink configuration scheme with a simple yacc parser asSimon Bertrang
found in other places of the tree. Remove sticky and font commandline options and add another one for alternative config locations. Split off cwmrc(5) from cwm(1), nuke #ifdef __OpenBSD__ while there. tested by various kind people, feedback from oga@ and okan@ - thanks! ok oga@, jasper@, okan@