Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| caa934d8 | 2020-02-27 14:56:39 | Unrelated style fixes, consistency changes and sorting, appropriate dosage/removal of wrappers, simplification of name queue, client cycle joins other kb/mb bound functions. | ||
| 17954eae | 2018-02-02 13:27:25 | Simplification; use asprintf where appropriate now. | ||
| a1afcb28 | 2018-01-23 13:51:39 | Shrink tier[] by one after removing matchname in r1.55. | ||
| cd4212fc | 2017-12-29 20:03:46 | Convert menu-exec-wm from an abritrary exec menu, into a config-based menu from which one may configure (wm <name> <path_and_args>) (and choose) specific window managers to replace the running one. 'wm cwm cwm' is included by default. No objections and seems sensible to sthen. | ||
| 7944040c | 2017-12-13 15:10:17 | move variable declarations up, to match everything else | ||
| 4210dba2 | 2017-12-07 16:03:10 | give command and group menus their own match callbacks | ||
| bf367431 | 2017-12-07 15:40:54 | organize this a bit better | ||
| b8533542 | 2017-09-06 14:15:13 | Case matters for menu matching on executables; from ben@lloyd.im. | ||
| 8ed62b19 | 2017-04-25 13:40:33 | The r1.36 menuq_add() conversion did this one wrong; fix by reverting to the original code which adds to resultentry list, as opposed to the wrong one in menuq_add(). Fixes crash noticed by at least Rickard Gustafsson. | ||
| 021d728d | 2017-04-24 15:06:11 | search_match_path() isn't supposed to return anything. | ||
| 193dcb45 | 2017-04-24 13:35:25 | Move queue init to caller so it's only called once in a few cases. | ||
| 62c01a2e | 2016-12-06 21:54:10 | Add search_print_text(), a default callback for mi->print in menu_filter(). While here, normalize the remaining search_print_* argument paramters. | ||
| c6068df3 | 2016-12-01 20:28:19 | Tame the number of 'exec' and 'path' search_match wrappers. No functional change now, though more can likely go later, losing the (paritally complete or incomplete/broken) argument completion bits. | ||
| b4901845 | 2016-10-24 18:57:12 | Remove duplicate check that strsubmatch() already does; while here, fix a comment. | ||
| 6eaec44a | 2016-10-24 17:39:38 | Sprinkle __func__ in appropriate error messages. | ||
| 66d541d7 | 2016-10-24 17:16:23 | Get rid of 'matchname'; it's too surprising to have the menu change during client search as different potential str matches are cycled through. If there's interest, the only string that doesn't exist in the listing is the window's class - that can be added of course, but it makes the line too long imho. | ||
| 9cb17b0e | 2016-10-22 19:16:43 | clean up search_match_client(); no behaviour change | ||
| 4811ec04 | 2016-10-18 17:03:30 | Refactor callbacks to take a void * so as to not try and generalize into client_ctx in keypress and buttonpress event handlers; pass appropriate *ctx's based on context. While here, limit some globals, replace defines with appropriate variables and fix some naming. | ||
| b0ab7f2e | 2016-09-14 19:45:33 | Fix-up a few simple uses of client_current(): check CLIENT_ACTIVE flag instead of relying on curcc. | ||
| cc66816c | 2015-08-27 18:53:14 | Mechanical change: group->gc | ||
| 8809c816 | 2015-08-21 16:05:55 | Instead of special casing the 'term' and 'lock' commands, go back to keeping them hidden; showing them has apparently caused confusion/angst. | ||
| 8529d9a1 | 2015-07-12 14:31:47 | introduce 'groupsearch' for group menu search; matches on either group number/shortcut and/or name. | ||
| 56fb99c7 | 2015-07-01 14:36:42 | style | ||
| ee0e8d68 | 2015-07-01 14:29:36 | only special case label matches (and still list); get rid of the rest - matchname is complete enough | ||
| 6e095b76 | 2015-06-30 18:54:12 | Introduce a callback for cmd menu printing, special-casing 'lock' and 'term'. | ||
| 5fede6d7 | 2015-06-30 18:42:50 | style and spacing nits | ||
| a585206d | 2015-06-28 19:50:46 | replace assert usage | ||
| 0a2c4b19 | 2015-06-08 15:34:03 | add client label | ||
| c199720b | 2015-01-19 14:54:16 | Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX and HOST_NAME_MAX+1, respectively. ok doug@ | ||
| 50da66bd | 2014-09-15 13:00:49 | use similiar style for client flags | ||
| c4e86dac | 2014-09-07 19:27:30 | more style nits | ||
| 95674549 | 2014-08-22 19:04:00 | Fix nogroup regression, where nogroup became an actual group - the symantics between cwm groups and ewmh got in the way. Ensure a client that wants to be in nogroup stays in nogroup (thus stays in view), even when (re)reading NET_WM_DESKTOP. Paritially reverts patchset 644 (2014-02-07 13:09 PST) which deals with a NULL cc->group. All to be revisited when NET_WM_STATE_STICKY hits cwm. Reported by many; testing and ok phessler. | ||
| b7cd8019 | 2014-08-20 15:15:29 | Purely mechanical; unify 'num', 'no' and 'shortcut'. | ||
| 92bf6935 | 2014-02-07 21:59:56 | all mapped clients now should have a group, so simplify some cases | ||
| 83b0cbf1 | 2014-01-20 18:58:03 | Add a function that adds an entry to a menuq, normalizing a common code path; from Tiago Cunha. | ||
| 72ccee09 | 2014-01-03 15:29:06 | use consistent types | ||
| 33eb08de | 2013-12-11 14:09:21 | Stash Class and WM Hints in client_ctx | ||
| a6e6db76 | 2013-12-08 13:51:38 | If not using sticky mode (the default), clients aren't automagically assigned a group, thus cc->group will be NULL - fix the client group shortcut in menu lists; crash reported by Christian Neukirchen. | ||
| d7f3078e | 2013-12-02 19:30:27 | Prepend the group shortcut in the client search menu; from Thomas Adam. Likewise, prepend shortcut in unhide menu. | ||
| 66a7b7fb | 2013-04-30 21:11:07 | missing proto | ||
| ec8c1c2f | 2013-04-05 17:36:02 | add missing proto; replace magic number | ||
| 13a11c87 | 2013-04-05 17:07:25 | zap stray whitespace | ||
| 01d25075 | 2013-04-03 19:28:00 | honor PATH search order for exec; from Andres Perera. | ||
| 118cf232 | 2013-03-09 21:55:56 | replace handrolled for loop with TAILQ_FOREACH; from andres.p@zoho.com | ||
| 4f78cb68 | 2012-11-09 03:52:02 | sort | ||
| 8bbba5ae | 2012-11-07 14:39:44 | tab completion support for menus; from Alexander Polakov. ok sthen@ on an older incarnation | ||
| bd65f031 | 2011-07-25 15:10:24 | We are inconsistent when it comes to function returns, so just go all the way with the cwm specific parts. ok oga@ | ||
| 4fb00eca | 2011-05-11 13:53:51 | tag and comment cleanup; ok oga@ | ||
| 1494c3e4 | 2011-03-22 10:57:31 | introduce nitems macro, with the appropriate ifndef. ok oga@ | ||
| 2efae64c | 2010-09-25 20:01:27 | spacing nits | ||
| ba93a73a | 2009-12-15 04:10:42 | pull all non-X11 headers from calmwm.h and place them only where they are required. encourged to go all the way by oga@ | ||
| 0c7627b2 | 2009-12-15 03:34:34 | pull these headers only into files that need them. ok oga@ | ||
| 9dfa8ad1 | 2009-12-15 03:24:36 | merge the 2 common header files; specific includes to be pulled out as separate commits. ok oga@ | ||
| 7230692a | 2009-06-26 12:45:12 | use fnmatch to glob the entries in the exec menu. allows shell globbing constructs such as *ctl, etc in the exec menu (m-? by default). Adapted from a diff from Thomas Pfaff, okan@ got almost the same diff as me when reworking it, and oked this one. | ||
| 96b7d95a | 2009-06-17 12:30:17 | move like defines to a central, logical location; no binary change. aok oga@ | ||
| 403de064 | 2009-05-18 00:23:35 | nuke the leading underscore notation for local static functions - there are far better ways to know. "go for it" oga@ | ||
| 0f0542ac | 2008-09-22 14:15:03 | Display the current window title not a previous one in the case of ``show all'' in the window search dialogue. Noticed and diff from Tim van der Molen, thanks! | ||
| 0f1b286a | 2008-09-03 04:39:12 | Keep the exec menu entries sorted. Go for it okan@ | ||
| cfb9c394 | 2008-07-11 14:21:28 | spacing, declaration lineup to be consistent throughout cwm, readability, and a bit of knf. ok oga@ | ||
| ca512ce7 | 2008-05-20 14:50:51 | Pull out the behaviour in grab_label and search_start into one utility function menu_filter(). The plan is to eventually merge in grab_menu too. Shrinks the code a fair bit. Also, change XMaskEvent for XWindowEvent to prevent getting exposes for other windows. This is particuarly noticable on slow machines with a LOT of xterms (todd, you're an odd man). ok okan@, todd@. | ||
| 88bce60b | 2008-05-19 18:07:53 | stop normalizing search input; searching and matching are still case-insensitive. since this was the only use of normalizing input, simplify as well. allows one to exec with mixed case unmatched commands. "works for me" oga@ | ||
| 45395219 | 2008-05-15 22:18:00 | KNF, no binary change. From Pierre Riteau. Thanks! | ||
| 26beb05a | 2008-04-15 20:24:41 | hit it with the knf stick. | ||
| 420d083a | 2008-03-22 14:09:02 | Remove a bunch of unused variables and incorrect comments. "ok with me" okan@. | ||
| 78d22200 | 2008-01-16 11:39:20 | huge amount of cleanup and dead code removal. full description of changes: -remove fontlist, and all associated structures/calls, it's not needed. this also removes any doubt about leftover 9wm code (the list was borrowed from it). Since cwm now uses Xft for everything, the legacy font handling is just not needed. -add /* FALLTHROUGH */ comments into grab_{label,menu}. I actually didn't intend grab_menu to be a fallthrough, but it actually works quite well there, so remove the extra rectangle drawing. I love it when that happens. -remove a couple of unused prototypes that were obviously missed before. -remove a bunch of commented out or if 0ed out code. It doesn't look to be coming back anytime soon. -several functions returned an int, but this was never checked. most of them only failed if they failed to grab the pointer (thus the internal state didn't change), so just make them void and return early if this is the case. -remove several unused functions and some useless variables. knocks something like 200bytes off the stripped binary size for me. ok marc@, tested by several others. | ||
| 1385b565 | 2008-01-11 16:06:44 | - Remove the "all rights reserved" tag at the top of most of the source files, and replace them with the actual ISC license. - add license to the manpage (it was lacking before) - correct license statement in the README Permission given by Marius (copyright holder): "1. please replace with the standard ISC license 2. you may add the ISC license to the man page 3. feel free to replace the information in the README as well" and Dros (copyright holder for group.c): "Please switch group.c to the ISC License." ok ian@ | ||
| 8974a1ab | 2007-10-02 18:01:45 | When cycling, only the end of the window names will be printed if the name is too long. so show the beginning instead. from Pierre Riteau <pierre.riteau at free.fr> "looks correct" matthieu@ | ||
| b321a79f | 2007-06-26 19:34:26 | modify "exec" dialog so that it auto-completes based on executables in _PATH_DEFPATH add an "ssh-to" dialog which auto-completes based on contents of ~/.ssh/known_hosts (M-.) testing and eyeballing by Simon Kuhnle <simonkuhnle at web.de>, todd@, pedro@ mk@ and David Cathcart <david at cathcart.cx> ok todd@ | ||
| 857d1a8d | 2007-05-28 18:34:27 | convert globals from G_foo to Foo, as per TODO. "looks good" pedro@, ok matthieu@ | ||
| 1d12f3d8 | 2007-04-27 17:58:48 | Initial import of cwm-3. tested by sturm@, ok matthieu@ |