src/clfswm-layout.lisp (set-gimp-layout): Display a notify window with the help on...
[clfswm.git] / ChangeLog
blobf1c544c58ae27f656efa1753d7cdee94cfb11aa1
1 2011-03-16  Philippe Brochard  <pbrochard@common-lisp.net>
3         * src/clfswm-layout.lisp (set-gimp-layout): Display a notify
4         window with the help on the GIMP layout.
6 2011-03-12  Philippe Brochard  <pbrochard@common-lisp.net>
8         * src/menu-def.lisp: Menu update to prevent cursor keys clash.
10         * clfswm.asd: Change compilation order to prevent undefined
11         variables.
13         * src/clfswm-internal.lisp (show-child(frame)): Handle properly
14         the show-root-frame-p parameter.
16 2011-03-11  Philippe Brochard  <pbrochard@common-lisp.net>
18         * src/clfswm-util.lisp (move-frame, resize-frame): Do not move or
19         resize a frame when it's the current root.
21 2011-03-10  Philippe Brochard  <pbrochard@common-lisp.net>
23         * src/clfswm-internal.lisp (show-all-children): Handle properly
24         duplicated child in multipe frames.
26 2011-03-09  Philippe Brochard  <pbrochard@common-lisp.net>
28         * contrib/volume-mode.lisp (set-default-volume-keys): Add more
29         keybindings (up/down, right/left) to raise/lower the volume.
31         * src/clfswm-layout.lisp: Add a variable border size for frames
32         and windows.
34 2011-03-08  Philippe Brochard  <pbrochard@common-lisp.net>
36         * src/clfswm-util.lisp (cut-current-child, remove-current-child)
37         (delete-current-child): Hide the current child before doing the
38         action.
40         * src/clfswm-internal.lisp (show-all-children): Hide windows not
41         in the current root before displaying those in current root.
42         Remove all hide-all unnecessary calls.
44         * src/clfswm-configuration.lisp (save-variables-in-conf-file):
45         Save only variables with a different value than there original
46         value.
48 2011-03-07  Philippe Brochard  <pbrochard@common-lisp.net>
50         * src/clfswm-info.lisp (show-config-variable): Use the new
51         defconfig method.
53         * src/clfswm-autodoc.lisp (produce-configuration-variables): Use
54         the new defconfig method.
56         * src/clfswm-configuration.lisp (create-configuration-menu):
57         Change the config system with a more lispy one and a less string
58         based one: (defconfig name value group doc).
61 2011-03-06  Philippe Brochard  <pbrochard@common-lisp.net>
63         * src/clfswm-internal.lisp (show-all-children): Simplify the
64         selection method.
65         (show-child): Display an unmanaged window whe  it's the current
66         child.
67         (show-all-children): add the ability to display all child from
68         *root-frame* and hide all those who are not in *current-root*.
69         -> remove hide-all-children when needed.
71         * src/xlib-util.lisp (move-window,resize-window): Add a
72         *color-move-window* border when moving or resizing a window.
74 2011-03-04  Philippe Brochard  <pbrochard@common-lisp.net>
76         * src/clfswm-internal.lisp (show-all-children): Perform only one
77         recusion on the clfswm tree: calculate geometry and place child in
78         one pass.
80 2011-03-03  Philippe Brochard  <pbrochard@common-lisp.net>
82         * src/clfswm-internal.lisp (show-all-children): Rethink of display
83         child order to prevent very annoying flickering.
85 2011-02-27  Philippe Brochard  <pbrochard@common-lisp.net>
87         * src/clfswm-util.lisp (query-yes-or-no): New function.
89         * src/clfswm-configuration.lisp (reset-all-config-variables): New
90         function and menu entry.
91         (query-conf-value): Add the ability to leave the field blank to
92         reset the variable to its default value.
94 2011-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
96         * src/clfswm-configuration.lisp
97         (add-all-configuration-default-value): Add a default value to
98         configurable variables.
100 2011-02-23  Philippe Brochard  <pbrochard@common-lisp.net>
102         * src/clfswm.lisp (main-unprotected): Create the configuration
103         menu only once at startup.
105 2011-02-22  Desmond O. Chang <dochang@gmail.com>
107         * contrib/amixer.lisp: Add a volume mode inspired by the emms
108         volume package. Alsa mixer interface.
110         * contrib/volume-mode.lisp: Add a volume mode inspired by the emms
111         volume package.
113 2011-02-22 Desmond O. Chang <dochang@gmail.com>
115         * src/clfswm.lisp (main): Use ASDF:SYSTEM-SOURCE-DIRECTORY instead
116         of *LOAD-TRUENAME*. *LOAD-TRUENAME* is only bound during a call to
117         LOAD. If one eval CLFSWM:MAIN in repl, BASE-DIR will be an empty
118         string. Use ASDF:SYSTEM-SOURCE-DIRECTORY to fix it.
120 2011-02-16  Philippe Brochard  <pbrochard@common-lisp.net>
122         * src/clfswm.lisp (main-unprotected): Add a close hook. And close
123         the notify window, the virtual keyboard and the clfswm terminal by
124         default.
126 2011-02-15  Philippe Brochard  <pbrochard@common-lisp.net>
128         * src/clfswm.lisp (main-unprotected): Destroy the notify window
129         before closing the display. This fix a bug when resetting/reloading
130         clfswm.
132 2011-02-12  Philippe Brochard  <pbrochard@common-lisp.net>
134         * src/xlib-util.lisp (equal-wm-class-fun, equal-wm-name-fun)
135         (raise-window-fun, raise-and-focus-window-fun): New functions.
137         * src/config.lisp (*clfswm-terminal-cmd*): Switch from xterm to
138         urxvt.
139         (*never-managed-window-list*): Structure change to be more
140         flexible. Let the choice to focus, raise and do nothing on never
141         managed windows.
143 2011-02-09  Philippe Brochard  <pbrochard@common-lisp.net>
145         * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Take
146         care of never managed windows to move or resize them if the raise
147         parameter is true.
149         * src/clfswm-internal.lisp (in-frame, in-window, in-child): New
150         functions.
152 2011-02-08  Philippe Brochard  <pbrochard@common-lisp.net>
154         * src/clfswm.lisp (main-mode): Raise or not unmanaged windows
155         following request in *never-managed-window-list*.
157 2011-02-05  Philippe Brochard  <pbrochard@common-lisp.net>
159         * *: **** Release 1102 ****
161 2011-02-05  Desmond O. Chang <dochang@gmail.com>
163         * src/keysyms.lisp: Add extended keysyms from stumpwm.
165 2011-02-01  Desmond O. Chang <dochang@gmail.com>
167         * src/clfswm-util.lisp (run-or-raise): New function (thanks to
168         Desmond O. Chang).
170         * src/clfswm-internal.lisp (with-all-*): add a nil block.
172 2011-01-28  Desmond O. Chang <dochang@gmail.com>
174         * src/clfswm-util.lisp (xdg-config-home): XDG_CONFIG_HOME should
175         be $HOME/.config by default.
177 2010-12-29  Philippe Brochard  <pbrochard@common-lisp.net>
179         * contrib/osd.lisp (display-doc): Add another method where a
180         CLFSWM native window is used to display the key documentation.
182 2010-12-27  Philippe Brochard  <pbrochard@common-lisp.net>
184         * src/xlib-util.lisp (with-xlib-protect): Force to revert to the
185         main mode state.
187 2010-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
189         * src/clfswm-second-mode.lisp (second-key-mode): Call the second
190         mode leave function only when the generic mode was ended.
192 2010-12-08  Philippe Brochard  <pbrochard@common-lisp.net>
194         * src/clfswm-second-mode.lisp (sm-leave-function): Do not use
195         *second-mode-program* anymore.
197 2010-12-07  Philippe Brochard  <pbrochard@common-lisp.net>
199         * src/clfswm-second-mode.lisp (*second-mode-leave-function*): New
200         variable bound to a function executed (when not null) on second
201         mode leaving.
203 2010-11-14  Philippe Brochard  <pbrochard@common-lisp.net>
205         * src/clfswm-util.lisp (find-child-under-mouse): Do not find
206         hidden windows.
208 2010-11-13  Philippe Brochard  <pbrochard@common-lisp.net>
210         * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
211         Do not display the accel window for unmanaged windows.
213 2010-11-11  Philippe Brochard  <pbrochard@common-lisp.net>
215         * src/clfswm-internal.lisp (set-current-root): Handle
216         window-parent in set-current-root.
218         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Do not
219         focus the parent child when the current root is a window.
221 2010-11-09  Philippe Brochard  <pbrochard@common-lisp.net>
223         * src/clfswm-expose-mode.lisp (expose-windows-current-child-mode):
224         New function an bindings.
226         * src/clfswm-layout.lisp (tile-layout, set-tile-layout): Fill
227         blanks if needed.
229 2010-11-07  Philippe Brochard  <pbrochard@common-lisp.net>
231         * src/clfswm-layout.lisp (tile-layout-ask-keep-position): New
232         function to let the user choose to keep child position with
233         tile layout.
235         * src/clfswm-internal.lisp (remove-frame-data-slot): New
236         function.
238 2010-11-05  Philippe Brochard  <pbrochard@common-lisp.net>
240         * src/clfswm-internal.lisp (frame-select-next-child)
241         (frame-select-previous-child): New functions and bindings. Select
242         the next/previous child in the current frame.
244 2010-10-31  Philippe Brochard  <pbrochard@common-lisp.net>
246         * src/clfswm-query.lisp (query-mode-complet): New function: Handle
247         completion in query-mode.
249 2010-10-30  Philippe Brochard  <pbrochard@common-lisp.net>
251         * src/clfswm-query.lisp (query-print-string): Handle long lines
252         correctly.
254 2010-10-27  Philippe Brochard  <pbrochard@common-lisp.net>
256         * src/clfswm-expose-mode.lisp (expose-create-window): Ensure that
257         all characters are printable.
259 2010-10-25  Philippe Brochard  <pbrochard@common-lisp.net>
261         * contrib/server/server.lisp: Load clfswm client code in the main
262         program and let the user start it with a --client command line
263         option.
265         * src/package.lisp (*main-entrance-hook*): New hook executed after
266         loading configuration file and before opening the display.
268 2010-10-23  Philippe Brochard  <pbrochard@common-lisp.net>
270         * src/xlib-util.lisp: Remove unnecessary xlib:display-finish-output.
272         * src/clfswm-internal.lisp (show-child): Show window only if not
273         hidden.
275         * src/clfswm-keys.lisp (binding-substitute-modifier): Utility to
276         change modifiers after binding definition.
278 2010-10-21  Philippe Brochard  <pbrochard@common-lisp.net>
280         * contrib/osd.lisp: New file: OSD (On Screen Display) for
281         presentations.
283         * src/clfswm-menu.lisp (open-menu): Modularise function.
285 2010-10-13  Philippe Brochard  <pbrochard@common-lisp.net>
287         * src/clfswm-info.lisp (show-first-aid-kit): Display the essential
288         key binding in main and second mode.
290 2010-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
292         * src/clfswm-util.lisp (open-notify-window): Convert hello-window
293         functions to a more generic Notify-window system.
295         * src/tools.lisp (add-timer): Add an id to identify the timer.
297 2010-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
299         * src/tools.lisp (erase-timer): New function.
301         * src/clfswm-util.lisp (display-hello-window): Add a timer to hide
302         the hello window. Add Configuration variables.
304 2010-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
306         * src/clfswm-util.lisp (): Add an Hello window at startup.
308         * src/tools.lisp (process-timers): Add a timer system.
310 2010-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
312         * src/clfswm-query.lisp (add-in-query-string): Handle correctly
313         the mod-5 modifier.
315 2010-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
317         * src/clfswm-query.lisp (query-print-string): Change cursor color
318         and show parenthesis matching with colors (on match and on
319         errors).
321 2010-10-05  Philippe Brochard  <pbrochard@common-lisp.net>
323         * src/clfswm-internal.lisp (show-all-children): Do not raise a
324         child when its parent is hidden.
326 2010-10-02  Philippe Brochard  <pbrochard@common-lisp.net>
328         * src/clfswm-circulate-mode.lisp (select-next-subchild): Add the
329         possibility to circulate over subchild of the current child.
331         * src/clfswm-expose-mode.lisp (expose-all-windows-mode)
332         (expose-windows-generic): Add an escape-body function to return to
333         the original state on escape key.
335         * src/clfswm-util.lisp (bind-on-slot): Add an optional parameter
336         to bind the current child from the configuration file.
338 2010-10-01  Philippe Brochard  <pbrochard@common-lisp.net>
340         * src/clfswm-nw-hooks.lisp (absorb-window-nw-hook): Absorb new
341         window hook: the frame absorb all new windows that match
342         nw-absorb-test frame data slot.
344 2010-09-30  Philippe Brochard  <pbrochard@common-lisp.net>
346         * src/clfswm-expose-mode.lisp (expose-create-window): Show window
347         title in accel window.
349 2010-09-29  Philippe Brochard  <pbrochard@common-lisp.net>
351         * configure: Use the Xavier Maillard clfswm script in contrib to
352         build an executable in the standard way.
354 2010-09-26  Philippe Brochard  <pbrochard@common-lisp.net>
356         * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
357         New functions. Add a window on each child in the expose mode to
358         quickly select them.
360         * src/clfswm-internal.lisp (child-x, child-y, child-width)
361         (child-height): New methods to get real child coordinates.
363 2010-09-25  Philippe Brochard  <pbrochard@common-lisp.net>
365         * src/clfswm-layout.lisp (*-layout): Use child-position.
367         * src/clfswm-internal.lisp (child-position): New function.
369         * src/clfswm-expose-mode.lisp (expose-windows-mode)
370         (expose-all-windows-mode): Use a generic mode.
372         * src/xlib-util.lisp (with-handle-event-symbol): Use a filled list
373         with handle-event-fun symbols instead of inspecting clfswm
374         internals symbols on each mode change.
376         * src/clfswm-expose-mode.lisp: Move and rename present*-windows in
377         a separate clfswm-expose-mode.lisp file.
379         * src/clfswm-util.lisp (speed-mouse-right, speed-mouse-down): Use
380         screen size instead of hardcoded test coordinates.
382 2010-09-24  Philippe Brochard  <pbrochard@common-lisp.net>
384         * src/clfswm-util.lisp (speed-mouse-reset, speed-mouse-left)
385         (speed-mouse-right, speed-mouse-up, speed-mouse-down)
386         (speed-mouse-undo, speed-mouse-first-history): New functions to
387         quickly move the mouse. Implemented for the second mode.
389 2010-09-16  Philippe Brochard  <pbrochard@common-lisp.net>
391         * contrib/clfswm: Move clfswm sources to $tmp_dir if there is no
392         write permission on $clfswm_asd_path. So anybody can start clfswm
393         even if there is no write permission on the source directory.
395 2010-09-12  Philippe Brochard  <pbrochard@common-lisp.net>
397         * contrib/clfswm: Add support to cmucl, ccl and ecl.
399 2010-09-11  Philippe Brochard  <pbrochard@common-lisp.net>
401         * src/clfswm-util.lisp (set-hide-unmanaged-window)
402         (set-show-unmanaged-window, set-default-hide-unmanaged-window):
403         New functions and menu entry.
404         (set-globally-hide-unmanaged-window)
405         (set-globally-show-unmanaged-window): New functions and menu
406         entry.
408         * src/clfswm-internal.lisp (hide-unmanager-window-p): New
409         function.
410         (show-child): Add a data slot on frame to hide or not unmanaged
411         windows.
413         * src/clfswm-corner.lisp (present-clfswm-terminal)
414         (present-virtual-keyboard): Use a function (generic-present-body)
415         instead of a macro (generate-present-body).
417         * src/clfswm-util.lisp (update-menus): List all directories and
418         subdirectories in $XDG_DATA_DIRS/applications.
420 2010-09-10  Philippe Brochard  <pbrochard@common-lisp.net>
422         * src/clfswm-corner.lisp (generate-present-body): New macro.
423         (present-clfswm-terminal, present-virtual-keyboard): Use
424         generate-present-body.
426 2010-09-09  Philippe Brochard  <pbrochard@common-lisp.net>
428         * src/clfswm-util.lisp (update-menus): Follow XDG specifications
429         instead of the non-portable Debian update-menu.
431 2010-09-07  Philippe Brochard  <pbrochard@common-lisp.net>
433         * src/clfswm.lisp (error-handler): New function do handle
434         asynchronous errors and ignore them.
435         (open-display): Install the new error-handler on display.
437 2010-09-05  Philippe Brochard  <pbrochard@common-lisp.net>
439         * src/xlib-util.lisp (with-xlib-protect): Add a
440         with-simple-restart on top of body execution.
442 2010-09-04  Philippe Brochard  <pbrochard@common-lisp.net>
444         * src/clfswm.lisp (main-loop): Protect all xlib functions with an
445         with-xlib-protect.
447         * src/xlib-util.lisp (handle-event): use with-xlib-protect only in
448         handle-event. Add a with-simple-restart to prevent a
449         clisp/new-lisp infinite loop.
451 2010-08-30  Philippe Brochard  <pbrochard@common-lisp.net>
453         * src/clfswm-corner.lisp (present-clfswm-terminal): Make the
454         clfswm terminal working even on xterm title changes.
456 2010-08-29  Philippe Brochard  <pbrochard@common-lisp.net>
458         * src/clfswm-util.lisp (run-other-window-manager): Update for
459         clisp compatibility.
461         * src/tools.lisp (do-execute): New parameter io to change the
462         input/output method.
464         * src/clfswm-util.lisp (hide-current-child): Prevent from removing
465         the current root.
467         * src/clfswm-internal.lisp (child-member): New predicate.
468         (child-remove): New function.
470         * src/*.lisp: Use child-member and child-remove everywhere it's
471         needed.
473 2010-08-28  Philippe Brochard  <pbrochard@common-lisp.net>
475         * src/clfswm.lisp (main-loop): Ensure that all events have been
476         processed after a process-event.
478         * src/clfswm-internal.lisp (is-in-current-child-p): New function.
480 2010-08-27  Philippe Brochard  <pbrochard@common-lisp.net>
482         * src/clfswm.lisp (main-mode:configure-request): Raise the window
483         only when present on the current child and focus it accordingly.
485 2010-08-26  Philippe Brochard  <pbrochard@common-lisp.net>
487         * src/clfswm-circulate-mode.lisp (circulate-loop-function):
488         Use is-a-key-pressed-p.
490         * src/xlib-util.lisp (is-a-key-pressed-p): New predicate.
492         * src/clfswm-keys.lisp (define-ungrab/grab): Use all values
493         returned by xlib:keysym->keycodes.
495         * src/*.lisp: Use the new child-equal-p to compare children. This
496         prevent a bug with sbcl/cmucl when the standard equal function
497         does not work with xlib:window.
499         * src/clfswm-internal.lisp (child-equal-p): New predicate.
501 2010-08-25  Philippe Brochard  <pbrochard@common-lisp.net>
503         * src/clfswm-generic-mode.lisp (generic-mode): Use an
504         xlib:event-listen before processing event with
505         xlib:process-event. This prevent a bug with CLX threaded
506         implementation like sbcl.
508         * src/clfswm.lisp (main-loop): Use an xlib:event-listen before
509         processing event with xlib:process-event. This prevent a bug with
510         CLX threaded implementation like sbcl.
512 2010-08-17  Philippe Brochard  <pbrochard@common-lisp.net>
514         * contrib/server/key.lisp (ushell-sh): Add ccl and ecl support.
516         * src/xlib-util.lisp (compress-motion-notify): Use a loop instead
517         of an event-case.
519         * src/clfswm-internal.lisp (with-find-in-all-frames): New macro.
520         (find-parent-frame, find-frame-window, find-frame-by-name)
521         (find-frame-by-number): Use with-find-in-all-frames to search in
522         frames in the right order.
524         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Fix an
525         unwanted flickering with unmanaged windows.
527 2010-08-16  Philippe Brochard  <pbrochard@common-lisp.net>
529         * src/package.lisp: Remove event handler hooks as they're not
530         needed anymore (To replace them: use closure and define-handler).
532         * src/xlib-util.lisp (move-window, resize-window)
533         (wait-mouse-button-release): Use a generic mode.
535         * src/*.lisp: Replace the case to handle event with a more (tricky)
536         lispy  method which bind a function to each keywords associated
537         to graphics events.
539 2010-07-23  Philippe Brochard  <pbrochard@common-lisp.net>
541         * src/clfswm-util.lisp (delete-current-child): Invert bindings and
542         menu entry between delete-current-child and remove-current-child.
543         ie: Delete a child and its children in all frames by default.
545 2010-07-21  Philippe Brochard  <pbrochard@common-lisp.net>
547         * src/package.lisp: Add a placement configuration group.
549         * src/binding*.lisp: Bind control+g to escape the current action
550         like emacs.
552         * src/clfswm-internal.lisp
553         (delete-child-and-children-in-all-frames): New function and
554         binding: Second mode - Control+Delete delete the current child and
555         its children in all frames (ie: close the current child and its
556         children).
558 2010-07-20  Philippe Brochard  <pbrochard@common-lisp.net>
560         * src/clfswm-internal.lisp (remove-child-in-frame): Do not destroy
561         the frame window and the frame gc. Close a very annoying bug when
562         cuting/pasting a frame or moving a child over frames with the
563         mouse.
565         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
566         all children in *current-root* after moving/resizing a frame.
568 2010-07-18  Philippe Brochard  <pbrochard@common-lisp.net>
570         * src/clfswm-util.lisp (delete-focus-window)
571         (destroy-focus-window): Remove child in parent frame before
572         stopping it.
574 2010-07-16  Philippe Brochard  <pbrochard@common-lisp.net>
576         * src/clfswm-util.lisp (identify-key): Add a timeout in
577         xlib:process-event.
578         (mouse-click-to-focus-generic): Use find-child-under-mouse instead
579         of the window passed by xlib:process-event.
581         * src/xlib-util.lisp (move-window, resize-window)
582         (wait-mouse-button-release): Add a timeout in xlib:process-event.
584 2010-04-11  Philippe Brochard  <pbrochard@common-lisp.net>
586         * src/clfswm-util.lisp (run-other-window-manager): Add the ability
587         to launch an other window manager and to return to clfswm.
589 2010-03-18  Philippe Brochard  <pbrochard@common-lisp.net>
591         * src/clfswm-layout.lisp (set-tile-space-layout): Set default
592         to 1%.
594 2009-12-15  Philippe Brochard  <pbrochard@common-lisp.net>
596         * src/clfswm.lisp (main-loop): Add a *loop-hook* parameter and a
597         loop timeout.
599         * src/clfswm-generic-mode.lisp (generic-mode): Add a loop-hook
600         parameter and a loop timeout.
602 2009-12-05  Philippe Brochard  <pbrochard@common-lisp.net>
604         * src/clfswm.lisp (main): Add an alternate configuration filename
605         parameter.
607         * load.lisp: Add a debuging code example.
609 2009-11-14  Philippe Brochard  <pbrochard@common-lisp.net>
611         * src/clfswm-configuration.lisp (create-configuration-menu): New
612         menu to configure all clfswm variables while clfswm is running.
614 2009-11-12  Philippe Brochard  <pbrochard@common-lisp.net>
616         * src/clfswm-util.lisp (save-configuration-variables): New
617         function to save all configuration variables in clfswmrc.
619 2009-11-11  Philippe Brochard  <pbrochard@common-lisp.net>
621         * src/clfswm-info.lisp (info-mode): Begining of mouse support in
622         info mode.
623         (set-default-info-keys): Add cursor key support in info mode.
625 2009-11-08  Philippe Brochard  <pbrochard@common-lisp.net>
627         * contrib/reboot-halt.lisp: Add a Suspend/Reboot/Halt menu in
628         contrib.
630         * src/clfswm.lisp (main): Add a read-conf-file-p parameter to
631         prevent reading the configuration file (this may be useful to
632         produce the original documentation without user modifications
633         with the rc configuration file).
635 2009-11-07  Philippe Brochard  <pbrochard@common-lisp.net>
637         * src/bindings-second-mode.lisp (set-default-second-keys):
638         Simplification of Escape key to close/kill/remove the focus window
639         and unhide all windows.
641         * src/bindings.lisp (set-default-main-keys): Simplification of
642         Escape key to close/kill/remove the focus window and unhide all
643         windows.
645         * src/clfswm-util.lisp (ask-close/kill-current-window): Add remove
646         focus and unhide all windows capabilities.
648 2009-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
650         * contrib/mpd.lisp (start-gmpc): Add gmpc in the mpd menu.
652 2009-07-29  Philippe Brochard  <pbrochard@common-lisp.net>
654         * src/clfswm-layout.lisp (tile-layout, tile-horizontal-layout):
655         Keep child order and don't make unnecessary child movement.
656         (one-column-layout, one-line-layout): New layouts.
658 2009-06-29  Philippe Brochard  <pbrochard@common-lisp.net>
660         * *: **** Release 0906 ****
662         * contrib/cd-player.lisp: New file to handle the CD player.
664         * contrib/xmms.lisp: New file to handle the xmms player.
666 2009-06-28  Philippe Brochard  <pbrochard@common-lisp.net>
668         * src/clfswm-layout.lisp (set-no-layout-remember-size): New layout:
669         Maximize windows in there frame - Leave frames to there actual
670         size.
672         * src/bindings-second-mode.lisp (set-default-second-keys): Bind
673         "o" on set-open-in-new-frame-in-parent-frame-nw-hook.
675 2009-06-27  Philippe Brochard  <pbrochard@common-lisp.net>
677         * contrib/keyb_fr.lisp: New file to handle an azerty keyboard.
679 2009-06-24  Philippe Brochard  <pbrochard@common-lisp.net>
681         * contrib/mpd.lisp: Use a standard menu.
683         * src/clfswm-info.lisp: Use a standard menu for the help-menu.
685 2009-06-22  Philippe Brochard  <pbrochard@common-lisp.net>
687         * contrib/mpd.lisp: New file to handle the Music Player Daemon (MPD)
689 2009-06-19  Philippe Brochard  <pbrochard@common-lisp.net>
691         * src/clfswm-autodoc.lisp (produce-doc, produce-doc-html): Minor
692         number key cleanup.
694 2009-06-18  Philippe Brochard  <pbrochard@common-lisp.net>
696         * src/config.lisp (get-fullscreen-size):  One pixel adjustment
697         (again).
699         * src/clfswm-placement.lisp (*-child-placement): One pixel
700         adjustment (again).
702 2009-06-16  Philippe Brochard  <pbrochard@common-lisp.net>
704         * src/clfswm-circulate-mode.lisp (draw-circulate-mode-window):
705         Ensure that all characters are printable.
707         * src/config.lisp (get-fullscreen-size): Adjust default fullscreen
708         sizes.
710         * src/clfswm-placement.lisp (*-child-placement): Adjust
711         coordinates to one pixel in the current child.
713 2009-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
715         * src/clfswm-query.lisp (query-enter-function): Assign font before
716         width and height calculation.
718 2009-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
720         * src/xlib-util.lisp (banish-pointer): Use with-placement macro to
721         bannish the pointer in an arbitrary place.
723         * src/clfswm-info.lisp (info-mode): Use with-placement macro to
724         place the info window in an arbitrary place.
726         * src/clfswm-query.lisp (query-enter-function): Use with-placement
727         macro to place the query window in an arbitrary place.
729         * src/clfswm-placement.lisp: New file. Allow to place info windows
730         or query windows on an arbitrary place. Allow to bannish the
731         pointer on an arbitrary place.
733 2009-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
735         * src/clfswm-circulate-mode.lisp (reorder-child)
736         (reorder-brother): Unfocus windows before reordering children or
737         brothers.
739 2009-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
741         * src/clfswm-circulate-mode.lisp (reorder-brother): Ensure that
742         the parent is a frame.
744         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Handle
745         motion with a default modifier.
747         * src/clfswm.lisp (handle-motion-notify): Handle motion with a
748         default modifier.
750         * src/clfswm-info.lisp (info-mode): Handle motion with a default
751         modifier.
752         (info-mode): Optimization in loop function.
754 2009-05-10  Philippe Brochard  <pbrochard@common-lisp.net>
756         * src/clfswm-circulate-mode.lisp (reorder-brother): Handle
757         root-frame correctly.
759         * clfswm.asd: Dependency fix for clfswm-generic-mode.
761         * src/clfswm-circulate-mode.lisp (reorder-child)
762         (reorder-brother): Handle empty frames.
763         (reorder-brother): Redisplay only the parent frame of the  current
764         child.
766         * src/clfswm-util.lisp (frame-toggle-maximize): Redisplay only the
767         parent frame of the  current frame.
769 2009-05-09  Philippe Brochard  <pbrochard@common-lisp.net>
771         * src/clfswm-util.lisp (frame-toggle-maximize): New function:
772         Maximize/Unmaximize the current frame in its parent frame.
774         * src/clfswm-layout.lisp (maximize-layout): New layout: Maximize
775         windows and frames in there parent frame.
777 2009-05-05  Philippe Brochard  <pbrochard@common-lisp.net>
779         * src/*.lisp: Add support for Clozure Common Lisp (CCL).
781         * src/clfswm-circulate-mode.lisp (reorder-child)
782         (reorder-brother): Reinitialise on circulate type change
783         child to brother or brother to child.
785         * src/*.lisp (*): Use map-window instead of xlib:map-window. So
786         calls xlib:display-finish-output on each map-request. So speed up
787         the window display.
789         * src/xlib-util.lisp (map-window): New function. Call
790         xlib:display-finish-output on each map request.
792 2009-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
794         * src/clfswm-second-mode.lisp (sm-handle-motion-notify):
795         Optimisation when drawing second mode window.
797 2009-04-27  Philippe Brochard  <pbrochard@common-lisp.net>
799         * src/clfswm-circulate-mode.lisp (circulate-mode): Optimisation in
800         window redraw.
802 2009-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
804         * src/clfswm-util.lisp (run-program-from-query-string): Launch
805         command only with a return validation.
807 2009-04-22  Xavier Maillard  <xma@gnu.org>
809         * src/clfswm-query.lisp (query-string): Use a generic mode.
811 2009-04-19  Xavier Maillard  <xma@gnu.org>
813         * src/clfswm-info.lisp (info-mode): Use generic-mode for info-mode.
815 2009-04-18  Xavier Maillard  <xma@gnu.org>
817         * src/clfswm-generic-mode.lisp (generic-mode): Add a generic mode
818         to define all other modes.
820 2009-04-05  Philippe Brochard  <pbrochard@common-lisp.net>
822         * src/package.lisp (): Use *default-font-string* for all
823         font-string.
825         * src/clfswm-info.lisp (info-mode): Ensure integer windows size.
827 2009-02-17  Philippe Brochard  <pbrochard@common-lisp.net>
829         * src/xlib-util.lisp (null-size-window-p): Better check of null
830         sized windows.
832 2009-02-14  Philippe Brochard  <pbrochard@common-lisp.net>
834         * src/clfswm.lisp (handle-map-request): Add a fix to manage
835         correctly fullscreen windows (SDL particularly).
837 2008-12-20  Philippe Brochard  <pbrochard@common-lisp.net>
839         * src/xlib-util.lisp (get-color): Allocate colors only once -> fix
840         a segfault with clisp/new-clx.
842         * src/clfswm.lisp (handle-motion-notify): Add a needed window
843         argument.
845         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Add a
846         needed window argument.
848 2008-10-30  Philippe Brochard  <pbrochard@common-lisp.net>
850         * src/xlib-util.lisp (wait-no-key-or-button-press)
851         (wait-a-key-or-button-press): Check buttons press/release correctly"
853 2008-10-28  Philippe Brochard  <pbrochard@common-lisp.net>
855         * src/menu-def.lisp: Add children navigation menu in the movement
856         menu (select next/previous child/brother/level).
858 2008-10-26  Philippe Brochard  <pbrochard@common-lisp.net>
860         *  *: Rename 'sister' frame to 'brother' frame.
862         * src/clfswm-keys.lisp (unalias-modifiers): Convert a modifier
863         alias in a real modifier.
865         * src/package.lisp (*modifier-alias*): New list of modifier alias
866         For example: :alt is :mod-1, :numlock is :mod-2...
868         * src/tools.lisp (remove-hook): New function.
870         * src/clfswm-keys.lisp (with-capslock, without-capslock)
871         (with-numlock, without-cnumlock): New functions.
873 2008-10-25  Philippe Brochard  <pbrochard@common-lisp.net>
875         * src/clfswm-info.lisp: Use the *binding-hook* to create info
876         keys and mouse bindings.
878         * src/bindings-second-mode.lisp: Use the *binding-hook* to create
879         second keys and mouse bindings.
881         * src/bindings.lisp: Use the *binding-hook* to create main keys
882         and mouse bindings.
884 2008-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
886         * src/clfswm-menu.lisp (open-menu): Remember parent menu to undo
887         menu opening.
889 2008-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
891         * src/menu-def.lisp: Use a menu instead of a function for the
892         standard menu.
894 2008-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
896         * src/clfswm-util.lisp (show-standard-menu): Display the standard
897         menu from the 'update-menus' command.
899 2008-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
901         * src/clfswm-query.lisp (query-string): Do not ungrab keyboard if
902         it's already grabbed.
904         * src/clfswm-internal.lisp (display-frame-info): Use configurable
905         colors and fix a bug with background.
906         (display-frame-info): Set window background when displaying info.
908 2008-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
910         * src/xlib-util.lisp (my-character->keysyms): Use a macro to avoid
911         warning with clisp/new-clx.
913 2008-10-04  Philippe Brochard  <pbrochard@common-lisp.net>
915         * src/clfswm-util.lisp (jump-to-slot): Prevent to jump on a
916         deleted child.
918 2008-09-23  Philippe Brochard  <pbrochard@common-lisp.net>
920         * *: **** Release 0809 ****
922 2008-09-23  Philippe Brochard  <pbrochard@common-lisp.net>
924         * src/clfswm-util.lisp (ensure-unique-name): New function and menu
925         entry.
926         (ensure-unique-number): New function and menu entry.
928 2008-09-22  Philippe Brochard  <pbrochard@common-lisp.net>
930         * src/clfswm-nw-hooks.lisp (named-frame-nw-hook): New new window
931         hook: open the next window in a named frame.
932         (numbered-frame-nw-hook): New new window hook: open the next
933         window in a numbered frame.
935         * src/clfswm-query.lisp (query-string): Grab the keyboard in all
936         cases. So query-string can be called even in the main mode.
938         * src/clfswm-internal.lisp (show-all-children): Do not raise a
939         child by default => far less flickering.
941 2008-09-19  Philippe Brochard  <pbrochard@common-lisp.net>
943         * src/bindings-second-mode.lisp: Bind "t" to tile-current-frame.
945         * src/menu-def.lisp: Change key binding for the CLFSWM menu
946         entry.
948         * src/xlib-util.lisp (xgrab-pointer): Handle the case where cursor
949         is nil. (workaround on some CLX implementation).
951 2008-09-12  Philippe Brochard  <pbrochard@common-lisp.net>
953         * src/menu-def.lisp: Add a menu to set a focus policy for all
954         frames.
956         * src/clfswm-util.lisp (set-focus-policy-generic-for-all)
957         (all-frames-set-*-focus-policy): Set a focus policy for all
958         frames.
960         * src/clfswm.lisp (handle-enter-notify): sloppy-select
961         mode. Select a child and its parents on mouse over.
963 2008-09-03  Philippe Brochard  <pbrochard@common-lisp.net>
965         * src/clfswm.lisp (handle-enter-notify): Add a sloppy strict focus
966         policy -> Sloppy focus only for windows in the current frame.
967         (main-unprotected): Exit clfswm on init error (ie: when another
968         window manager is running).
970         * src/clfswm-util.lisp (reset-clfswm): New function.
972 2008-09-02  Philippe Brochard  <pbrochard@common-lisp.net>
974         * src/clfswm-menu.lisp (init-menu): New function.
976         * src/clfswm-util.lisp (reload-clfswm): New function to reload
977         CLFSWM.
978         (exit-clfswm): Rename quit-clfswm to exit-clfswm.
980         * src/clfswm.lisp (main, main-unprotected): Handle error in a
981         superior main function. Now CLFSWM can't break the X session. It
982         just reinitialize the display and run a new main loop.
984         * src/clfswm-corner.lisp: Make *clfswm-terminal* and
985         *vt-keyboard-on* global to avoid warnings when loading clfswm.
987         * src/clfswm-layout.lisp: Add a specific GIMP layout menu.
988         (help-on-gimp-layout): Describe how to use the GIMP layout.
990 2008-09-01  Philippe Brochard  <pbrochard@common-lisp.net>
992         * src/clfswm-layout.lisp (set-gimp-layout): Change the layout to
993         main-window-right-layout. Change the keybinding for (shift)alt+tab
994         to not select windows in the main window lisst.
995         Bind F8 to add a window in the main window list.
996         Bind F9 to remove a window in the main window list.
997         Change the focus policy to :sloppy.
998         (set-previous-layout): Restore the previous layout, keybinding and
999         focus policy.
1001 2008-08-31  Philippe Brochard  <pbrochard@common-lisp.net>
1003         * src/clfswm-menu.lisp (add-menu-comment): Add comments in menu.
1005         * src/clfswm-layout.lisp (main-window-left-layout)
1006         (main-window-bottom-layout, main-window-top-layout): New
1007         functions.
1008         Factorize layouts in menu.
1010 2008-08-30  Philippe Brochard  <pbrochard@common-lisp.net>
1012         * src/clfswm-layout.lisp (main-window-right-layout): A possible
1013         GIMP layout: one or more main windows on one side of the
1014         frame. Others on the other size.
1016         * src/clfswm-util.lisp
1017         (current-frame-set-click/sloppy-focus-policy): Each frame can have
1018         a different focus policy (one of :click or :sloppy).
1019         The default focus policy is set with *default-focus-policy*.
1021 2008-08-23  Philippe Brochard  <pbrochard@common-lisp.net>
1023         * src/clfswm-info.lisp (show-config-variable): New function.
1025 2008-08-19  Philippe Brochard  <pbrochard@common-lisp.net>
1027         * src/clfswm-layout.lisp (tile-horizontal-layout): New layout.
1029         * src/clfswm-info.lisp: Colored help for key binding and corners
1030         actions.
1032 2008-08-18  Philippe Brochard  <pbrochard@common-lisp.net>
1034         * src/clfswm-util.lisp (delete-focus-window)
1035         (destroy-focus-window): Remove chid only in
1036         handle-unmap/destroy-notify. Focus *current-root* only when
1037         closing/killing the current child.
1039         * src/clfswm-autodoc.lisp (produce-corner-*-doc): New autodoc
1040         functions or corners.
1042 2008-08-17  Philippe Brochard  <pbrochard@common-lisp.net>
1044         * src/clfswm-corner.lisp (present-clfswm-terminal): New corner
1045         action: Hide/Unhide a terminal on mouse corner action. (By default
1046         right mouse button on the top left corner).
1048         * src/config.lisp (*never-managed-window-list*): New config
1049         variable.
1051         * src/clfswm-internal.lisp (never-managed-window-p): New function:
1052         Handle never managed window in a more simple way.
1054         * src/clfswm-corner.lisp: New file and new and more simple method
1055         to define corners actions.
1057 2008-08-15  Philippe Brochard  <pbrochard@common-lisp.net>
1059         * src/clfswm-info.lisp (info-mode): Info line can now be colored.
1061         * src/clfswm-layout.lisp (fast-layout-switch)
1062         (define-fast-layout-switch): New functions: Switch between two
1063         layouts.
1065         * src/clfswm-second-mode.lisp (leave-second-mode): Takes care if
1066         really in the second mode. So leave-second-mode can be used even
1067         in the main mode.
1069         * src/clfswm-util.lisp (switch-to-last-child): New function:
1070         Store the current child and switch to the previous one.
1072 2008-07-16  Philippe Brochard  <pbrochard@common-lisp.net>
1074         * src/clfswm-util.lisp (display-current-window-info): Display the
1075         window id.
1076         (have-to-present-virtual-keyboard): Add a virtual keyboard corner
1077         (top right by default). By default 'xvkbd' is used.
1079 2008-06-28  Philippe Brochard  <pbrochard@common-lisp.net>
1081         * src/xlib-util.lisp (move-window, resize-window): Compress motion
1082         events.
1084         * src/clfswm.lisp (handle-motion-notify): Compress motion events.
1086         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Compress
1087         motion events.
1089         * src/clfswm-info.lisp (info-mode): Compress motion events.
1091 2008-06-21  Philippe Brochard  <pbrochard@common-lisp.net>
1093         * src/clfswm-internal.lisp (show-all-children): Compute geometry
1094         and selection first and then show only necessary children.
1095         (show-child): remove unneeded display-p parameter.
1097         * src/config.lisp (get-fullscreen-size): Place the frame border
1098         outside the screen (this prevent the loose of 2 pixels per
1099         directions :)
1101 2008-06-12  Philippe Brochard  <pbrochard@common-lisp.net>
1103         * src/clfswm-internal.lisp (focus-child): Algorithm change to
1104         raise only the selected child.
1106 2008-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
1108         * src/clfswm-internal.lisp (raise-p-list, show-all-children):
1109         Raise only viewable children.
1111 2008-06-06  Philippe Brochard  <pbrochard@common-lisp.net>
1113         * src/clfswm-internal.lisp (show-all-children): Always raise all
1114         displayed children. Remove all references to raise-p.
1116 2008-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
1118         * src/menu-def.lisp (child-menu): New menu entry on raise/lower
1119         child in its frame.
1121         * src/bindings-second-mode.lisp ("Page_Down", "Page_Up"): New
1122         second mode binding on raise/lower child in its frame.
1124         * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): Adapt
1125         behaviour to the new raise/lower property.
1126         Call clear-nw-hook before the rest of the hook.
1128         * src/bindings.lisp (mouse-click-to-focus-and-move-window)
1129         (mouse-click-to-focus-and-resize-window): Stop button event. This
1130         prevent a keyboard/pointer freeze.
1132 2008-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
1134         * src/clfswm-internal.lisp (frame-lower-child)
1135         (frame-raise-child): New functions to raise/lower a child in its
1136         frame.
1138         * src/clfswm-util.lisp (have-to-present-windows)
1139         (have-to-present-all-windows): New functions to have an MaxOS
1140         expose like on mouse click in screen corner.
1142         * src/clfswm-info.lisp ("Page_Down", "Page_Up"): Add boundaries.
1144 2008-05-30  Philippe Brochard  <pbrochard@common-lisp.net>
1146         * src/clfswm-util.lisp (unhide-a-child-from-all-frames): Unhide a
1147         child from a choice in all frames with hidden children.
1149         * src/clfswm-info.lisp (info-mode-menu): Handle separators.
1151 2008-05-28  Philippe Brochard  <pbrochard@common-lisp.net>
1153         * src/clfswm-util.lisp (hide-current-child, unhide-a-child)
1154         (unhide-all-children): New functions.
1156         * src/clfswm-info.lisp (info-mode-menu): Handle symbols and
1157         functions.
1159         * src/clfswm-util.lisp (hide/show-frame-window): new function and
1160         menu item.
1162 2008-05-23  Philippe Brochard  <pbrochard@common-lisp.net>
1164         * src/clfswm-util.lisp (rename-current-child): Do not display the
1165         frame info for a window.
1167 2008-05-20  Philippe Brochard  <pbrochard@common-lisp.net>
1169         * src/clfswm-internal.lisp (remove-child-in-frame): Destroy the
1170         frame window for the removed child and its children.
1172 2008-05-18  Philippe Brochard  <pbrochard@common-lisp.net>
1174         * src/clfswm-autodoc.lisp (produce-*-doc-*): Add a note to use the
1175         autodoc functions.
1177 2008-05-17  Philippe Brochard  <pbrochard@common-lisp.net>
1179         * src/clfswm-nw-hooks.lisp (default-frame-nw-hook): Do not handle
1180         the ROX pinboard (ie: leave it lowered in the root window as
1181         expected).
1183         * src/clfswm-layout.lisp (tile-left-space-layout): New layout.
1184         (tile-left-layout, tile-right-layout, tile-top-layout)
1185         (tile-bottom-layout): Use all the frame space when there is only
1186         one child.
1188         * src/clfswm-internal.lisp (place-window-from-hints): Center
1189         unmanaged windows in the root screen.
1191         * src/clfswm-nw-hooks.lisp (clear-nw-hook, clear-all-nw-hooks):
1192         new functions.
1194 2008-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
1196         * src/clfswm-util.lisp (current-frame-manage-window-type): Fix a
1197         typo in managed types.
1199         * src/clfswm-internal.lisp (show-child): Always display frame info
1200         even if the frame is hidden.
1202         * src/xlib-util.lisp (resize-window): Use a better algorithme to
1203         resize windows.
1205 2008-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
1207         * src/clfswm-util.lisp (with-movement): Display frame info for all
1208         frames in current root.
1210 2008-05-12  Philippe Brochard  <pbrochard@common-lisp.net>
1212         * src/*.lisp: Rename 'brother' frames to 'sister' frames.
1214         * src/bindings-second-mode.lisp (define-second-key #\a): New
1215         binding on 'add-default-frame'.
1217         * src/clfswm-autodoc.lisp (produce-*-doc-*-in-file): Show a
1218         message to follow the autodocumentation process.
1220 2008-05-10  Philippe Brochard  <pbrochard@common-lisp.net>
1222         * src/clfswm-util.lisp (bind-or-jump): Bind "Tab", "Return" and
1223         "Space" to jump to a child. "B" to bind a slot on the current
1224         child.
1226         * src/bindings-second-mode.lisp: Use "Tab" instead of
1227         "Iso_Left_Tab".
1229 2008-05-07  Philippe Brochard  <pbrochard@common-lisp.net>
1231         * src/clfswm-util.lisp (find-child-under-mouse): Take care of
1232         unmanaged (hidden) windows.
1234         * src/clfswm-internal.lisp (place-window-from-hints): Give a
1235         minimal size for windows.
1236         (with-all-windows-frames-and-parent): New function.
1238         * src/config.lisp (*default-window-width/height*): New parameters.
1240         * src/clfswm-internal.lisp (place-window-from-hints): Center
1241         windows in the screen instead of in there frame.
1243         * src/bindings-second-mode.lisp (tile-space-current-frame): New
1244         binding on C-t.
1246         * src/clfswm-layout.lisp (register-layout): Intern the once name
1247         in the right package.
1249 2008-05-05  Philippe Brochard  <pbrochard@common-lisp.net>
1251         * doc/dot-clfswmrc: Update to  follow the new clfswm way.
1253 2008-05-03  Philippe Brochard  <pbrochard@common-lisp.net>
1255         * src/clfswm-internal.lisp (set-current-child)
1256         (adapt-child-to-parent, show-child, hide-child): Handle the case
1257         where child is not a frame or a window.
1259         * src/clfswm-util.lisp
1260         (mouse-click-to-focus-generic,mouse-focus-move/resize-generic):
1261         Check if child is a frame.
1263         * src/clfswm-internal.lisp (managed-window-p): Handle the case
1264         where frame is null.
1265         (place-frame): Check if frame and parent are frames.
1267         * src/clfswm-info.lisp (info-mode): display all frame info before
1268         leaving.
1270         * src/clfswm-second-mode.lisp (second-key-mode): display all frame
1271         info before leaving.
1273         * src/clfswm-internal.lisp (display-all-frame-info): New function.
1275 2008-05-02  Philippe Brochard  <pbrochard@common-lisp.net>
1277         * src/tools.lisp (getenv): Implemented for ECL.
1278         (urun-prog): Implemented for ECL.
1280         * src/clfswm-util.lisp (identify-key): Use a double buffer to
1281         display text.
1283         * src/clfswm-query.lisp (query-string): Use a double buffer to
1284         display text.
1286         * src/clfswm-info.lisp (draw-info-window): Use a double buffer to
1287         display text.
1289         * src/xlib-util.lisp (clear-pixmap-buffer, copy-pixmap-buffer):
1290         New functions.
1292 2008-05-01  Philippe Brochard  <pbrochard@common-lisp.net>
1294         * src/clfswm-info.lisp (info-mode): Add boundaries in the info mode window.
1296         * src/menu-def.lisp: New file: move all menu definition in
1297         menu-def.lisp.
1299         * src/clfswm-layout.lisp (register-layout): Use a function instead
1300         of a macro.
1302 2008-04-30  Philippe Brochard  <pbrochard@common-lisp.net>
1304         * src/clfswm-autodoc.lisp (produce-menu-doc,
1305         (produce-menu-doc-html): New functions.
1306         (produce-doc-*): Moved to clfswm-autodoc.lisp.
1308         * src/clfswm-util.lisp (paste-selection-no-clear): Prevent to
1309         paste a child on one of its own children. (this prevent a
1310         recursive bug).
1311         (move-child-to): Rename move/copy-current-child-by to
1312         move/copy-child-to.
1313         (mouse-move-window-over-frame): New function to move the window
1314         under the mouse cursor to another frame.
1316         * src/clfswm-internal.lisp (find-child-in-parent): New function.
1318 2008-04-29  Philippe Brochard  <pbrochard@common-lisp.net>
1320         * src/clfswm-internal.lisp (show-all-children): Display unmanaged
1321         windows only when its window parent is the current child.
1323 2008-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
1325         * src/clfswm-util.lisp (manage-current-window)
1326         (unmanage-current-window): New functions: Allow to force to manage
1327         or unmanage a window by its parent frame.
1329         * src/bindings-second-mode.lisp (#\o): binded to
1330         set-open-in-new-frame-in-parent-frame-nw-hook and
1331         (#\o :control) to set-open-in-new-frame-in-root-frame-nw-hook
1333         * src/clfswm-util.lisp (with-current-window): New macro.
1335         * src/xlib-util.lisp (move-window, resize-window): Remove uneeded
1336         exposure and enter-window handle event.
1338         * src/clfswm-util.lisp (move-frame, resize-frame): Show all
1339         children for the current child after the move/resize.
1341 2008-04-27  Philippe Brochard  <pbrochard@common-lisp.net>
1343         * src/xlib-util.lisp (resize-window): Take care of window size
1344         hints.
1346         * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Allow to
1347         move/resize unmanaged windows.
1349         * src/xlib-util.lisp (move-window, resize-window): New functions.
1351 2008-04-25  Philippe Brochard  <pbrochard@common-lisp.net>
1353         * src/clfswm-util.lisp (current-frame-manage-window-type): Let the
1354         user choose what window type the current frame must handle.
1355         (display-current-window-info): New function.
1356         (current-frame-manage-all-window-type)
1357         (current-frame-manage-only-normal-window-type)
1358         (current-frame-manage-no-window-type): New functions.
1360         * src/clfswm-internal.lisp (managed-window-p): New function.
1362         * src/package.lisp (frame): Managed type: new frame
1363         parameter. This allow to choose what window type a frame must
1364         handle.
1366         * src/*.lisp: Rename all 'father' occurrences to 'parent'.
1368         * src/clfswm-nw-hooks.lisp
1369         (open-in-new-frame-in-parent-frame-nw-hook): New new window hook.
1371         * src/clfswm-util.lisp (adapt-current-frame-to-window-hints): New
1372         function.
1374         * src/tools.lisp (ensure-printable): Return always a string even
1375         with a null string.
1377 2008-04-24  Philippe Brochard  <pbrochard@common-lisp.net>
1379         * src/config.lisp (*default-nw-hook*): New variable to change the
1380         default new window hook.
1382 2008-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
1384         * clfswm.asd (clfswm): Add a dependency from
1385         clfswm-second-mode.lisp to clfswm.lisp.
1387         * src/clfswm-util.lisp (identify-key): Show the documentation for
1388         the function bound on a key.
1389         (with-movement): Move with-movement,
1390         current-frame-fill/pack/resize-*  from bindings-second-mode.lisp
1391         to clfswm-util.lisp.
1393         * src/clfswm-menu.lisp: New menu system that let user change keys
1394         or functions associated to keys.
1396 2008-04-18  Philippe Brochard  <pbrochard@common-lisp.net>
1398         * src/clfswm-internal.lisp (show-all-children): Display-child is
1399         the first child by default. Solve a bug with father-p.
1401 2008-04-17  Philippe Brochard  <pbrochard@common-lisp.net>
1403         * src/clfswm-internal.lisp (add-frame): Add frame return the
1404         created frame.
1405         (show-all-children): Move the size computation outside the
1406         show-child part.
1408         * src/bindings-second-mode.lisp (with-movement): Redisplay only
1409         the current child.
1411         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
1412         only the current child.
1414         * src/clfswm-internal.lisp (show-all-children): New display-child
1415         parameter to display only the desired child and its children.
1416         (select-next/previous-child): Only display the current child.
1418 2008-04-14  Philippe Brochard  <pbrochard@common-lisp.net>
1420         * src/clfswm.lisp (init-display): Move the default frame creation
1421         on the default init hook.
1423         * src/clfswm-keys.lisp (define-ungrab/grab): Handle all keysyms in
1424         the main mode (for example: "1" on an azerty keyboard).
1426 2008-04-13  Philippe Brochard  <pbrochard@common-lisp.net>
1428         * src/clfswm-keys.lisp (find-key-from-code): Better handle of
1429         keysyms. Revert to old grabbing method for the main mode.
1431 2008-04-12  Philippe Brochard  <pbrochard@common-lisp.net>
1433         * src/clfswm.lisp (init-display): Add key handling on no focus
1434         window and on frame windows.
1436 2008-04-11  Philippe Brochard  <pbrochard@common-lisp.net>
1438         * src/clfswm.lisp (main): Keyboard handle strategie change: Grab
1439         all keys by default and replay just what is needed. No change for
1440         the second mode.
1442         * src/clfswm-keys.lisp: remove grab/ungrab main keys.
1443         (find-key-from-code): Test for shift and not shift presence.
1445 2008-04-09  Philippe Brochard  <pbrochard@common-lisp.net>
1447         * src/clfswm-internal.lisp (switch-to-root-frame): show later -
1448         new key parameter to have less flickering.
1450 2008-04-07  Philippe Brochard  <pbrochard@common-lisp.net>
1452         * src/bindings-second-mode.lisp (frame-layout-once-menu): Set the
1453         layout only one time and revert to no-layout to freely handle
1454         frames.
1456         * src/clfswm-nw-hooks.lisp
1457         (open-in-new-frame-in-root-frame-nw-hook): Tile layout with spaces
1458         with new created window.
1460         * src/clfswm-layout.lisp (register-layout): Now register
1461         automatically a once layout to set the layout only one time and
1462         revert to no-layout to freely handle frames.
1464 2008-04-05  Philippe Brochard  <pbrochard@common-lisp.net>
1466         * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): New
1467         nw-hook: Open the next window in the current frame and leave the
1468         focus to the current child.
1470 2008-04-04  Philippe Brochard  <pbrochard@common-lisp.net>
1472         * src/bindings-second-mode.lisp: Add keys definitions to
1473         bind-or-jump in the second mode.
1475         * src/clfswm-util.lisp (bind-or-jump): remove the auto-defining
1476         macro for bind-or-jump-(1|2|3...).
1478         * src/clfswm-keys.lisp (define-define-key/mouse): Allow additional
1479         arguments to function. This allow to do things like:
1480         (define-main-key (key) 'my-function 10 20 'foo) -> 10 20 and 'foo
1481         are passed to my-function on key press.
1483 2008-04-03  Philippe Brochard  <pbrochard@common-lisp.net>
1485         * src/clfswm-util.lisp (bind-or-jump): New (great) function.
1487 2008-04-02  Philippe Brochard  <pbrochard@common-lisp.net>
1489         * src/clfswm-internal.lisp (child-fullname): New function
1491         * src/clfswm-info.lisp (info-mode-menu): Add an explicit optional
1492         docstring in info-mode-menu. An item can be
1493         '((key function) (key function)) or with docstring
1494         '((key function "documentation 1") (key function "bla bla") (key function))
1496         * src/tools.lisp (ensure-n-elems): New function.
1498         * src/bindings-second-mode.lisp: Bind Alt+mouse-1/3 to move or
1499         resize a frame or the window's father.
1501         * src/clfswm.lisp (init-display): Remove tile-space-layout by
1502         default on the root frame.
1504         * src/clfswm-util.lisp (move/resize-frame): Add standard event
1505         hooks handlers (map-request, configure-notify...)
1507         * src/clfswm-internal.lisp (adapt-child-to-father): Limit minimal
1508         child size to 1x1.
1510 2008-04-01  Philippe Brochard  <pbrochard@common-lisp.net>
1512         * src/bindings.lisp: Bind Alt+mouse-1/3 to move or resize a frame
1513         or the window's father.
1515         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Stop button
1516         event only if there is a geometry change.
1517         (mouse-focus-move/resize-generic): Generic function to move or
1518         resize a frame or a window father frame.
1520 2008-04-01  Philippe Brochard  <pbrochard@common-lisp.net>
1522         * src/clfswm-internal.lisp (show-all-children): Return t if there
1523         is a geometry change.
1525 2008-03-30  Philippe Brochard  <pbrochard@common-lisp.net>
1527         * src/bindings.lisp (Up/Down): Swap select previous/next level.
1529         * src/bindings-second-mode.lisp (Up/Down): Swap select previous/next level.
1531         * src/clfswm.lisp (init-display): Create a default frame in the root frame.
1533         * src/clfswm-internal.lisp (place-frame): Place frame from real (pixel) coordinates.
1534         (with-all-*): Reverse the child list to manage the first child last (like in
1535         show-all-children).
1537         * src/config.lisp (*create-frame-on-root*): New variable: Create a new frame on the
1538         root window only if true.
1540         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Create a new frame on the
1541         root window only if *create-frame-on-root* is true.
1543         * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Create a new frame
1544         on the root window.
1546 2008-03-29  Philippe Brochard  <pbrochard@common-lisp.net>
1548         * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Focus, move and resize
1549         the current child (even if it's a window).
1551 2008-03-28  Philippe Brochard  <pbrochard@common-lisp.net>
1553         * src/clfswm-util.lisp (mouse-click-to-focus-and-move)
1554         (mouse-click-to-focus-and-resize): New functions.
1556         * src/clfswm-internal.lisp (*-fl->px): Convert float coordinates to pixel.
1557         (*-px->fl): Convert pixel coordinates to float.
1559         * src/tools.lisp (call-hook): Move call-hook to tools.lisp.
1561 2008-03-27  Philippe Brochard  <pbrochard@common-lisp.net>
1563         * src/clfswm-layout.lisp (no-layout): Use :first-only to raise only the
1564         first child.
1566         * src/clfswm-internal.lisp (hide-all): Split hide-all-children in hide-all
1567         and hide-all-children.
1568         (raise-if-needed): New function.
1569         (show-child): Use a first-p parameter to raise windows only when they are
1570         first child.
1572 2008-03-26  Philippe Brochard  <pbrochard@common-lisp.net>
1574         * src/clfswm-internal.lisp (select-next/previous-level): Don't use show-all-children
1575         -> less flickering.
1577 2008-03-25  Philippe Brochard  <pbrochard@common-lisp.net>
1579         * src/clfswm-info.lisp (keys-from-list): new function.
1581         * src/*: rename 'childs' in 'children'.
1583         * src/*: rename 'group' in 'frame'.
1585 2008-03-22  Philippe Brochard  <pbrochard@common-lisp.net>
1587         * src/clfswm-pack.lisp (explode-group/explode-current-group): new functions.
1589 2008-03-21  Philippe Brochard  <pbrochard@common-lisp.net>
1591         * src/clfswm-pack.lisp: Pack, Fill, Resize functions.
1593 2008-03-16  Philippe Brochard  <pbrochard@common-lisp.net>
1595         * src/clfswm-nw-hooks.lisp: Register system for new window hooks.
1596         Bind control+o to open the next window in a new group in the root group
1597          (as open in next window in a new workspace in 0801 version).
1599 2008-03-15  Philippe Brochard  <pbrochard@common-lisp.net>
1601         * src/clfswm-util.lisp (show/hide-all-groups-info/key): Show/hide all groups info
1602         window.
1604 2008-03-14  Philippe Brochard  <pbrochard@common-lisp.net>
1606         * bindings-second-mode.lisp ("ISO_Left_Tab"): Use ISO_Left_Tab
1607         instead of Tab for select-previous-child.
1609 2008-03-13  Philippe Brochard  <pbrochard@common-lisp.net>
1611         * clfswm-util.lisp (force-window-in-group/force-window-center-in-group):
1612         new functions.
1614 2008-03-11  Philippe Brochard  <pbrochard@common-lisp.net>
1616         * clfswm-util.lisp (identify-key): Display the documentation
1617         associated to keys when identifying a key.
1619 2008-03-10  Xavier Maillard  <xma@gnu.org>
1621         * contrib/clfswm: Complete rewrite of the script. Detect error and
1622         act accordingly. Add command line arguments to configure the
1623         script execution. User can now choose different common lisp
1624         implementation (clisp and sbcl only), choose where to store the
1625         dumped image, where to find clfswm source.
1627 2008-03-09  Philippe Brochard  <pbrochard@common-lisp.net>
1629         * clfswm-internal.lisp (process-new-window): Beginning of new
1630         window hook: each group have a hook to tell what he wants to do
1631         with the new created window.
1633 2008-03-08  Xavier Maillard  <xma@gnu.org>
1635         * contrib/clfswm: New script. Dump a CLISP image of CLFSWM then
1636         call the resulting executable.
1638         * clfswm.lisp (read-conf-file): Check for the user config file in
1639         XDG_CONFIG_HOME *first*. Freedesktop.org standards should be
1640         prefered whenever possible.
1642 2008-02-27  Philippe Brochard  <pbrochard@common-lisp.net>
1644         * clfswm-layout.lisp (*-layout): Add an optional raise-p
1645         parameter in each layout.
1647 2008-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
1649         * clfswm-util.lisp (copy/cut-current-child): Does not affect the
1650         root group.
1651         (copy/move-current-child-by-name/number): new functions
1652         (focus-group-by-name/number): new functions
1653         (delete-group-by-name/number): new functions
1655 2008-02-24  Philippe Brochard  <pbrochard@common-lisp.net>
1657         * ************************************************************ *
1658         *: Major update - No more reference  to workspaces. The main   *
1659         structure is a tree of groups or application windows.          *
1660         * ************************************************************ *
1662 2008-02-07  Philippe Brochard  <pbrochard@common-lisp.net>
1664         * clfswm.lisp (read-conf-file): Read configuration in
1665         $HOME/.clfswmrc or in /etc/clfswmrc or in
1666         $XDG_CONFIG_HOME/clfswm/clfswmrc.
1667         (xdg-config-home): Return the content of $XDG-CONFIG-HOME (default
1668         to $HOME/.config/).
1670 2008-01-18  Philippe Brochard  <pbrochard@common-lisp.net>
1672         * clfswm-internal.lisp (show-all-group): Use *root* and *root-gc*
1673         by default.
1675 2008-01-03  Philippe Brochard  <pbrochard@common-lisp.net>
1677         * clfswm-internal.lisp (find-window-group): New function.
1679         * clfswm*: Change to make clfswm run with clisp/new-clx.
1681 2008-01-01  Philippe Brochard  <pbrochard@common-lisp.net>
1683         * clfswm-util.lisp (query-show-paren): Add show parent matching in
1684         query string.
1685         (query-string): Bind control+k to delete end of line.
1687         * clfswm-second-mode.lisp (draw-second-mode-window): Display
1688         the action on mouse motion in second mode.
1690         * clfswm.lisp (handle-exposure): Redisplay groups on exposure
1691         event but do not clear the root window.
1692         (handle-configure-request): Adjust unmanaged window from there
1693         request.
1695         * clfswm-internal.lisp (process-new-window): Adjust new window
1696         with the specified hints (max/min/base width/height).
1698 2007-12-31  Philippe Brochard  <pbrochard@common-lisp.net>
1700         * clfswm.lisp (handle-configure-request): Send an Configuration
1701         Notify event. This solve a bug with xterm and rxvt who takes some
1702         times to be mapped. Now there is no delay.
1704         * bindings-second-mode.lisp (define-shell): Run programs after
1705         living the second mode.
1707 2007-12-30  Philippe Brochard  <pbrochard@common-lisp.net>
1709         * clfswm-internal.lisp (process-new-window): Do not crop transient
1710         window to group size.
1711         (adapt-window-to-group): Do not crop transient window to group
1712         size.
1714         * clfswm.lisp (handle-configure-request): Adapt just the window to
1715         its group and don't take care of the configure request. Remove the
1716         bug with the Gimp outside the group and speed up the window
1717         manipulation.
1718         (handle-exposure): Remove show-all-group on exposure event
1719         -> Speed up.
1721 2007-12-29  Philippe Brochard  <pbrochard@common-lisp.net>
1723         * clfswm-util.lisp (circulate-group-up-copy-window)
1724         (circulate-group-down-copy-window)
1725         (circulate-workspace-up-copy-group)
1726         (circulate-workspace-down-copy-group): Prevent the copy of the
1727         same window in the same workspace.
1729         * bindings-second-mode.lisp (release-copy-selected-window)
1730         (release-copy-selected-group): Prevent the copy of the same window
1731         in the same workspace.
1733         * clfswm-pager.lisp (generic-pager-move-window-on-previous-line)
1734         (generic-pager-move-window-on-next-line): Remove the copy
1735         property.
1736         (generic-pager-move-group-on-next-workspace)
1737         (generic-pager-move-group-on-previous-workspace): Prevent the copy
1738         of the same window in the same workspace.
1740         * bindings-pager.lisp (mouse-pager-copy-selected-window-release)
1741         (mouse-pager-copy-selected-group-release): Prevent the copy of the
1742         same window in the same workspace.
1744         * tools.lisp (setf/=): new macro to set a variable only when
1745         necessary.
1747         * clfswm-internal.lisp (adapt-window-to-group): use set/= to set
1748         x, y... only when necessary.
1750 2007-12-28  Philippe Brochard  <pbrochard@common-lisp.net>
1752         * clfswm.lisp (handle-configure-notify, *configure-notify-hook*):
1753         new function and hook: force windows to stay in its group (solve a
1754         bug with the Gimp).
1756 2007-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
1758         * bindings-second-mode.lisp (mouse-motion): use hide-group to have
1759         less flickering when moving/resizing groups.
1761         * clfswm-internal.lisp (hide-group): new function.
1762         (show-all-group): clear-all: new parameter.
1764 2007-12-22  Philippe Brochard  <pbrochard@common-lisp.net>
1766         * clfswm-keys.lisp (define-define-key): undefine-*-multi-name: new
1767         macro.
1768         * clfswm*: Color change for the pager. Typo or better description
1769         in bindings definitions. Define bindings for a qwerty keyboard by
1770         default. dot-clfswmrc show examples to switch to an azerty
1771         keyboard.
1772         License change to GPL v3.
1773         * config.lisp: new file - group all globals variables in this
1774         file.
1776 2007-08-26  Philippe Brochard  <pbrochard@common-lisp.net>
1778         * xlib-util.lisp (hide-window): Remove structure-notivy events
1779         when hidding a window.
1781 2007-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
1783         * package.lisp (*sm-property-notify-hook*): Readded
1784         property-notify-hook in second mode.
1786 2007-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
1788         * clfswm-keys.lisp (produce-doc-html): Better clean up for strings.
1790 2007-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
1792         * clfswm-pack.lisp (tile-current-workspace-to/right/left/top/bottom):
1793         Tile the current workspace with the current window on one side and
1794         others on the other (this emulate the larswm, dwm, wmii way). See
1795         the default configuration file to enable this mode by default.
1797         * clfswm-pager.lisp (pager-tile-current-workspace-to): idem for
1798         the pager.
1800 2007-05-12  Philippe Brochard  <pbrochard@common-lisp.net>
1802         * clfswm-pager.lisp (pager-draw-window-in-group): Add
1803         ensure-printable to print windows name even with non-ascii
1804         characters.
1806 2007-05-11  Philippe Brochard  <pbrochard@common-lisp.net>
1808         * clfswm-pager.lisp (pager-explode-current-group): Create a new
1809         group for each window in group.
1810         (pager-implode-current-group): Move all windows in workspace to
1811         one group and remove other groups.
1813         * clfswm-pack.lisp (explode-group): Create a new group for each
1814         window in group.
1815         (implode-group): Move all windows in workspace to one group and
1816         remove other groups.
1818         * clfswm-util.lisp (identify-key): Remove local configuration
1819         variables and made them available for configuration from
1820         package.lisp.
1821         (query-string): idem.
1823 2007-04-29  Philippe Brochard  <pbrochard@common-lisp.net>
1825         * netwm-util.lisp: Start of NetWM compliance.
1826         Add a Netwm client list gestion.
1828 2007-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
1830         * clfswm-internal.lisp (create-group-on-request): open a new group
1831         only when the current group is not empty.
1833         * bindings-second-mode.lisp (define-second-key-#\o-control): Fix a
1834         bug with null workspace.
1836         * clfswm-pager.lisp (pager-handle-event): Add a hook
1837         system. This hooks can be changed in the user configuration file.
1839         * package.lisp: All colors and font variables are set in
1840         package.lisp and can be configured in the user configuration
1841         file.
1842         Note: If you have configured some less ugly colors (esp. for the
1843         pager) don't hesitate to let me know :)
1845         * clfswm-second-mode.lisp (sm-handle-event): Add a hook
1846         system. This hooks can be changed in the user configuration file.
1848         * clfswm.lisp (handle-event): Add a hook system. This hooks can be
1849         changed in the user configuration file (~/.clfswmrc)
1851 2007-04-25  Philippe Brochard  <pbrochard@common-lisp.net>
1853         * clfswm-util.lisp (stop-all-pending-actions): new function: reset
1854         arrow action, open next window in new workspace/group.
1856         * bindings.lisp (stop-all-pending-actions): new binding.
1857         (open-next-window-in-new-group-once): Open the next windows in a
1858         new group (only once) or open all new windows in a new group (like
1859         others windows managers).
1861 2007-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
1863         * clfswm.lisp (read-conf-file): New function to read a lisp
1864         configuration file at startup.
1865         (focus-group-under-mouse): Check if group isn't the current group
1866         ( prevent a bug with unclutter ).
1868 2007-03-02  Philippe Brochard  <pbrochard@common-lisp.net>
1870         * bindings.lisp (run-program-from-query-string): A program can be
1871         launch from a input query window.
1873 2007-03-01  Philippe Brochard  <pbrochard@common-lisp.net>
1875         * clfswm-info.lisp: Fix a bug with banish pointer in info mode.
1877 2007-02-28  Philippe Brochard  <pbrochard@common-lisp.net>
1879         * clfswm.lisp (process-new-window): One can now open the next
1880         window in a workspace called by its number.
1882         * clfswm-util.lisp (query-font-string): Minimal editing
1883         capabilities.
1884         (eval-from-string): And an REPL in the window manager... :)
1886 2007-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
1888         * clfswm.lisp (process-new-window): One can now open the next
1889         window in a new workspace or a new group.
1891         * clfswm-pager.lisp (pager-mode): Display the next arrow action
1892         with the hidden windows.
1894         * clfswm.lisp (second-key-mode): Display the current workspace
1895         number and the next arrow action in the state window.
1897         * clfswm-pager.lisp (pager-mode): Hide all windows before leaving
1898         the pager mode and then redisplay only the current workspace.
1900 2007-02-25  Philippe Brochard  <pbrochard@common-lisp.net>
1902         * clfswm.lisp (add-workspace): Workspaces are now numbered. So
1903         they can be focused with a keypress, sorted or renumbered.
1905 2007-02-24  Philippe Brochard  <pbrochard@common-lisp.net>
1907         * clfswm-pager.lisp (pager-mode): Remove multiple silly
1908         pager-draw-display. This prevent a lot of flickering in the
1909         pager.
1911         * clfswm.lisp: Remove all display-force-output and replace them
1912         with only one display-finish-output in the event loop.
1914 2006-11-06  Philippe Brochard  <pbrochard@common-lisp.net>
1916         * clfswm-pager.lisp (pager-center-group): New function - center a
1917         group at the middle of the screen.
1919         * clfswm-pack.lisp (center-group): New function - center a group
1920         at the middle of the screen.
1922         * clfswm.lisp (show-group): Add a cross line under the group.
1923         (show-group): Group are showned even if fullscreened.
1924         (init-display): Add an exposure event on the root window.
1926 2006-11-05  Philippe Brochard  <pbrochard@common-lisp.net>
1928         * package.lisp (*default-group*): Default group is the same size
1929         of a fullscreened group.
1931         * bindings*: Use shift to move, control+shift to copy.
1933         * *.lisp: Add comments for configuration or alternatives. So grep
1934         for CONFIG to see where you can configure clfswm. And grep for
1935         Alternative to use some commented code.
1937         * clfswm.lisp (second-key-mode): Use a single window to show the
1938         second mode. See for alternatives at the end of this file.
1940 2006-11-03  Philippe Brochard  <pbrochard@common-lisp.net>
1942         * clfswm-keys.lisp (define-define-key/mouse): Factorisation in a
1943         macro of key and mouse definitions.
1944         (define-define-key/mouse): Use state instead of modifiers list
1945         this fix a bug when the modifiers list is not in the rigth order.
1947         * clfswm.lisp (second-key-mode): Add a colored border in second mode.
1949 2006-11-02  Philippe Brochard  <pbrochard@common-lisp.net>
1951         * clfswm-info.lisp (info-mode): Add an info mode.
1953 2006-11-01  Philippe Brochard  <pbrochard@common-lisp.net>
1955         * clfswm.lisp (process-new-window): Change border size for
1956         transient windows.
1957         (show-all-windows-in-workspace): Unhide all windows even when the
1958         current group is in fullscreen mode.
1960 2006-10-26  Philippe Brochard  <pbrochard@common-lisp.net>
1962         * clfswm-util.lisp (identify-key): Add an exposure handle-event to
1963         redisplay the identify window after a terminal switch.
1965         * clfswm-pager.lisp (pager-mode): Add an exposure handle-event to
1966         redisplay the pager after a terminal switch.
1968 2006-10-24  Philippe Brochard  <pbrochard@common-lisp.net>
1970         * clfswm-util.lisp (identify-key): Add a window to display
1971         the keys to identify on screen.
1973         * bindings.lisp, bindings-pager.lisp: Define same keys to
1974         move/copy groups/windows in second mode and in pager.
1976         * clfswm.lisp (handle-event*): Same version in all clfswm (fix some
1977         drawing lags).
1978         (show-all-windows-in-workspace): unhide window before adapting it
1979         to group.
1981 2006-10-23  Philippe Brochard  <pbrochard@common-lisp.net>
1983         * clfswm.lisp (handle-event): Revert to an older version.
1985 2006-10-18  Philippe Brochard  <pbrochard@common-lisp.net>
1987         * clfswm-util.lisp (force-window-in-group)
1988         (force-window-center-in-group): New functions for transient windows.
1990         * clfswm-pager.lisp (pager-remove-current-workspace/group):
1991         bugfix: hide all windows before removing group or workspace.
1993 2006-10-17  Philippe Brochard  <pbrochard@common-lisp.net>
1995         * bindings-pager.lisp (mouse-pager-move-selected-group)
1996         (mouse-pager-copy-selected-group)
1997         (mouse-pager-move-selected-window)
1998         (mouse-pager-copy-selected-window, mouse-pager-rotate-window-up)
1999         (mouse-pager-rotate-window-down): New functions to have mouse in
2000         pager mode.
2002         * clfswm-pager.lisp (pager-swap-window)
2003         (pager-copy-group-on-next/previous-workspace)
2004         (pager-copy-window-on-next/previous-line): New functions
2006 2006-10-15  Philippe Brochard  <pbrochard@common-lisp.net>
2008         * clfswm-pager.lisp (pager-move-window-on-next/previous-line,
2009         (pager-move-group-on-next/previous-workspace): new functions.
2011         * clfswm-pack.lisp (resize-half-x-x-current-group): resize group
2012         to its half size (new functions).
2014 2006-10-11  Philippe Brochard  <pbrochard@common-lisp.net>
2016         * clfswm-pager.lisp: workspaces, groups and windows can now be
2017         selectionned with the keyboard or the mouse.
2019 2006-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
2021         * clfswm-pager.lisp (pager-select-workspace-right/left):
2022         workspaces can now be selectionned with the keyboard.
2024 2006-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
2026         * clfswm-keys.lisp (undefine-main-key, undefine-second-key, undefine-mouse-action):
2027         new function to remove a previous defined key or mouse combination.
2029 2006-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
2031         * clfswm.lisp (main): Check for access error in init-display.
2033         * clfswm-keys.lisp (define-ungrab/grab): check for keysym and
2034         keycode before grabbing.
2036         * bindings.lisp: Remove nlambda and use defun to keep the function
2037         documentation with clisp.
2038         (define-shell): new macro to define shell command for the second
2039         mode.
2041 2006-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
2043         * clfswm-keys.lisp (define-ungrab/grab): use a cond instead of a
2044         boggus typecase.
2046 2006-10-05  Philippe Brochard  <pbrochard@common-lisp.net>
2048         * bindings.lisp (accept-motion): Move group bugfix in upper mouse
2049         workspace circulation.
2051         * clfswm-util.lisp (absorb-orphan-window): new function.
2053         * clfswm-keys.lisp: Keysyms support.
2055 2006-10-02  Philippe Brochard  <pbrochard@common-lisp.net>
2057         * clfswm.lisp (show-group): Use one gc for all groups and not one
2058         per group.
2060 2006-10-01  Philippe Brochard  <pbrochard@common-lisp.net>
2062         * bindings.lisp (define-second-key (#\l :mod-1)): fix a typo.
2064         * clfswm.lisp (adapt-window-to-group): Adapt only windows with
2065         width and height outside group.
2067 2006-09-28  Philippe Brochard  <pbrochard@common-lisp.net>
2069         * clfswm.lisp: First public release.