src/clfswm-util.lisp (update-menus): Set a default value for searching .desktop files...
[clfswm.git] / ChangeLog
bloba3bbf34a3e5a2ff2d9cd4531da398213d0619ab9
1 2011-12-14  Philippe Brochard  <pbrochard@common-lisp.net>
3         * src/clfswm-util.lisp (update-menus): Set a default value for
4         searching .desktop files when XDG_DATA_DIRS is not set.
6 2011-10-15  Philippe Brochard  <pbrochard@common-lisp.net>
8         * src/clfswm-internal.lisp (place-window-from-hints): Use
9         with-placement macro to place unmanaged windows in an arbitrary
10         place.
12 2011-06-16  Philippe Brochard  <pbrochard@common-lisp.net>
14         * src/clfswm-internal.lisp (clean-windows-in-all-frames): Prevent
15         current root and current child being equal to child.
17 2011-06-13  Philippe Brochard  <pbrochard@common-lisp.net>
19         * src/keysyms.lisp: Repeat Page_Down/Up keysym definitions at the
20         end of the file to change keysyms priority.
22 2011-06-13  Sylvain HENRY <hsyl20@gmail.com>
24         *  *.*: Minor spelling fix.
26 2011-06-12  Philippe Brochard  <pbrochard@common-lisp.net>
28         * src/clfswm.lisp (:unmap-notify, :destroy-notify): Show all
29         children just after the xlib tree cleanup -> reduce the
30         flickering when a window is deleted or destroyed.
32         * src/clfswm-internal.lisp (process-existing-windows): Do not
33         process the notify window.
35 2011-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
37         * *: **** Release 1106 ****
39 2011-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
41         * src/clfswm-internal.lisp (clean-windows-in-all-frames): New
42         function to prevent xlib error when a window is deleted.
44 2011-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
46         * src/clfswm-internal.lisp
47         (delete-child-and-children-in-all-frames): Delete or destroy
48         children before displaying all children.
50 2011-06-05  Philippe Brochard  <pbrochard@common-lisp.net>
52         * src/clfswm-util.lisp (add-frame-in-parent-frame): New function
53         and binding.
55 2011-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
57         * src/clfswm.lisp (main-unprotected): Destroy all frames windows
58         before closing the display (not really needed).
60 2011-06-02  Philippe Brochard  <pbrochard@common-lisp.net>
62         * src/clfswm-layout.lisp (inc-tile-layout-size)
63         (dec-tile-layout-size, inc-slow-tile-layout-size)
64         (dec-slow-tile-layout-size): New functions and bindings.
66 2011-06-01  Philippe Brochard  <pbrochard@common-lisp.net>
68         * src/clfswm-expose-mode.lisp (define-expose-letter-keys): Add
69         0..1 and A..Z keys to select a child in exposé mode.
71         * src/clfswm-internal.lisp (display-frame-info): Remove hidden
72         infos in frames windows.
74         * src/clfswm-util.lisp (ask-close/kill-current-window): Menu
75         update.
77 2011-05-30  Philippe Brochard  <pbrochard@common-lisp.net>
79         * src/clfswm-internal.lisp (get-parent-layout): Minor fullscreen
80         size tweaking.
82 2011-05-29  Philippe Brochard  <pbrochard@common-lisp.net>
84         * src/clfswm-internal.lisp
85         (delete-child-and-children-in-all-frames): Show all children
86         before deleting/destroying a windows, so prevent a flickering.
87         (get-parent-layout): Return the fullscreen size when the current
88         root is a window.
90 2011-05-28  Philippe Brochard  <pbrochard@common-lisp.net>
92         * src/clfswm-internal.lisp (get-parent-layout): Handle correctly
93         unmanaged windows.
95         * src/clfswm-util.lisp (delete-focus-window-generic): Do not hide
96         child before removing, so prevent a flickering.
98         * src/clfswm-internal.lisp (show-all-children): Rectangular
99         optimization to display only needed children.
100         (show-all-children): Remove flickering on
101         select-next/previous-brother.
103 2011-05-17  Philippe Brochard  <pbrochard@common-lisp.net>
105         * src/clfswm-util.lisp (copy-focus-window, cut-focus-window): New
106         functions and ask-close/kill-current-window menu and bindings
107         entry.
109 2011-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
111         * src/clfswm-util.lisp (ask-close/kill-current-window): Add an
112         *ask-close/kill-placement* placement window variable.
114 2011-05-09  Philippe Brochard  <pbrochard@common-lisp.net>
116         * contrib/osd.lisp (funcall-button-from-code): Display osd
117         documention for buttons and fix some redefining warnings.
119 2011-05-07  Philippe Brochard  <pbrochard@common-lisp.net>
121         * src/clfswm-nw-hooks.lisp (make-permanent-nw-hook-frame): New
122         function. Prevent to add or delete a new window hook for this
123         frame.
125         * src/clfswm-layout.lisp (update-layout-managed-children-position):
126         New function.
128 2011-05-06  Philippe Brochard  <pbrochard@common-lisp.net>
130         * src/bindings-second-mode.lisp (set-default-second-keys):
131         select-brother-spatial-move-* binding update.
133         * src/clfswm-layout.lisp (tile-left|right|top|bottom-layout): Ask
134         to keep children positions or not.
136         * src/clfswm-internal.lisp (fixe-real-size): Takes care of border
137         size.
139         * src/clfswm-layout.lisp (update-layout-managed-children): Fix a
140         bug by using the parent frame instead of the current child.
142         * src/clfswm-circulate-mode.lisp
143         (select-brother-generic-spatial-move+right/left/up/down): New
144         function to select a brother from another in a spatial move.
146 2011-04-19  Philippe Brochard  <pbrochard@common-lisp.net>
148         * src/clfswm-pack.lisp (move-frame-constrained)
149         (resize-frame-constrained): Use pixels instead of floating
150         measure.
152 2011-04-18  Philippe Brochard  <pbrochard@common-lisp.net>
154         * src/clfswm-pack.lisp (resize-frame-constrained): Takes care of
155         border size.
156         (implode-frame, implode-current-frame): New functions. Absorb all
157         frames subchildren in frame. Explode frame opposite.
159 2011-04-17  Philippe Brochard  <pbrochard@common-lisp.net>
161         * src/clfswm-pack.lisp (move-frame-constrained)
162         (resize-frame-constrained): New function. Move and resize frame
163         with the mouse constrained by other frame brothers.
165 2011-04-14  Philippe Brochard  <pbrochard@common-lisp.net>
167         * src/clfswm-util.lisp (with-movement-select-next-brother)
168         (with-movement-select-previous-brother)
169         (with-movement-select-next-child): Use a simple method (do not
170         enter in the circulate mode) to allow to circulate in all children
171         or brothers.
173         * src/clfswm-menu.lisp (open-menu): Save info hash table keys
174         instead of deleting newly created keys.
176 2011-03-21  Philippe Brochard  <pbrochard@common-lisp.net>
178         * src/clfswm-internal.lisp (x-px->fl, y-px->fl): Takes care of
179         border size.
181 2011-03-20  Philippe Brochard  <pbrochard@common-lisp.net>
183         * src/clfswm-info.lisp (show-config-variable): call
184         produce-conf-var-doc.
186 2011-03-18  Philippe Brochard  <pbrochard@common-lisp.net>
188         * src/clfswm-autodoc.lisp (produce-conf-var-doc-html): Produce a
189         documentation for all configurable variables in CLFSWM -
190         HTML version.
192         * src/clfswm-internal.lisp (leave-frame): Hide all children except
193         the current window.
195 2011-03-16  Philippe Brochard  <pbrochard@common-lisp.net>
197         * src/clfswm-autodoc.lisp (produce-all-docs): Produce a
198         documentation for all configurable variables in CLFSWM.
200         * src/clfswm-layout.lisp (set-gimp-layout): Display a notify
201         window with the help on the GIMP layout.
203 2011-03-12  Philippe Brochard  <pbrochard@common-lisp.net>
205         * src/menu-def.lisp: Menu update to prevent cursor keys clash.
207         * clfswm.asd: Change compilation order to prevent undefined
208         variables.
210         * src/clfswm-internal.lisp (show-child(frame)): Handle properly
211         the show-root-frame-p parameter.
213 2011-03-11  Philippe Brochard  <pbrochard@common-lisp.net>
215         * src/clfswm-util.lisp (move-frame, resize-frame): Do not move or
216         resize a frame when it's the current root.
218 2011-03-10  Philippe Brochard  <pbrochard@common-lisp.net>
220         * src/clfswm-internal.lisp (show-all-children): Handle properly
221         duplicated child in multipe frames.
223 2011-03-09  Philippe Brochard  <pbrochard@common-lisp.net>
225         * contrib/volume-mode.lisp (set-default-volume-keys): Add more
226         keybindings (up/down, right/left) to raise/lower the volume.
228         * src/clfswm-layout.lisp: Add a variable border size for frames
229         and windows.
231 2011-03-08  Philippe Brochard  <pbrochard@common-lisp.net>
233         * src/clfswm-util.lisp (cut-current-child, remove-current-child)
234         (delete-current-child): Hide the current child before doing the
235         action.
237         * src/clfswm-internal.lisp (show-all-children): Hide windows not
238         in the current root before displaying those in current root.
239         Remove all hide-all unnecessary calls.
241         * src/clfswm-configuration.lisp (save-variables-in-conf-file):
242         Save only variables with a different value than their original
243         value.
245 2011-03-07  Philippe Brochard  <pbrochard@common-lisp.net>
247         * src/clfswm-info.lisp (show-config-variable): Use the new
248         defconfig method.
250         * src/clfswm-autodoc.lisp (produce-configuration-variables): Use
251         the new defconfig method.
253         * src/clfswm-configuration.lisp (create-configuration-menu):
254         Change the config system with a more lispy one and a less string
255         based one: (defconfig name value group doc).
258 2011-03-06  Philippe Brochard  <pbrochard@common-lisp.net>
260         * src/clfswm-internal.lisp (show-all-children): Simplify the
261         selection method.
262         (show-child): Display an unmanaged window whe  it's the current
263         child.
264         (show-all-children): add the ability to display all child from
265         *root-frame* and hide all those who are not in *current-root*.
266         -> remove hide-all-children when needed.
268         * src/xlib-util.lisp (move-window,resize-window): Add a
269         *color-move-window* border when moving or resizing a window.
271 2011-03-04  Philippe Brochard  <pbrochard@common-lisp.net>
273         * src/clfswm-internal.lisp (show-all-children): Perform only one
274         recusion on the clfswm tree: calculate geometry and place child in
275         one pass.
277 2011-03-03  Philippe Brochard  <pbrochard@common-lisp.net>
279         * src/clfswm-internal.lisp (show-all-children): Rethink of display
280         child order to prevent very annoying flickering.
282 2011-02-27  Philippe Brochard  <pbrochard@common-lisp.net>
284         * src/clfswm-util.lisp (query-yes-or-no): New function.
286         * src/clfswm-configuration.lisp (reset-all-config-variables): New
287         function and menu entry.
288         (query-conf-value): Add the ability to leave the field blank to
289         reset the variable to its default value.
291 2011-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
293         * src/clfswm-configuration.lisp
294         (add-all-configuration-default-value): Add a default value to
295         configurable variables.
297 2011-02-23  Philippe Brochard  <pbrochard@common-lisp.net>
299         * src/clfswm.lisp (main-unprotected): Create the configuration
300         menu only once at startup.
302 2011-02-22  Desmond O. Chang <dochang@gmail.com>
304         * contrib/amixer.lisp: Add a volume mode inspired by the emms
305         volume package. Alsa mixer interface.
307         * contrib/volume-mode.lisp: Add a volume mode inspired by the emms
308         volume package.
310 2011-02-22 Desmond O. Chang <dochang@gmail.com>
312         * src/clfswm.lisp (main): Use ASDF:SYSTEM-SOURCE-DIRECTORY instead
313         of *LOAD-TRUENAME*. *LOAD-TRUENAME* is only bound during a call to
314         LOAD. If one eval CLFSWM:MAIN in repl, BASE-DIR will be an empty
315         string. Use ASDF:SYSTEM-SOURCE-DIRECTORY to fix it.
317 2011-02-16  Philippe Brochard  <pbrochard@common-lisp.net>
319         * src/clfswm.lisp (main-unprotected): Add a close hook. And close
320         the notify window, the virtual keyboard and the clfswm terminal by
321         default.
323 2011-02-15  Philippe Brochard  <pbrochard@common-lisp.net>
325         * src/clfswm.lisp (main-unprotected): Destroy the notify window
326         before closing the display. This fix a bug when resetting/reloading
327         clfswm.
329 2011-02-12  Philippe Brochard  <pbrochard@common-lisp.net>
331         * src/xlib-util.lisp (equal-wm-class-fun, equal-wm-name-fun)
332         (raise-window-fun, raise-and-focus-window-fun): New functions.
334         * src/config.lisp (*clfswm-terminal-cmd*): Switch from xterm to
335         urxvt.
336         (*never-managed-window-list*): Structure change to be more
337         flexible. Let the choice to focus, raise and do nothing on never
338         managed windows.
340 2011-02-09  Philippe Brochard  <pbrochard@common-lisp.net>
342         * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Take
343         care of never managed windows to move or resize them if the raise
344         parameter is true.
346         * src/clfswm-internal.lisp (in-frame, in-window, in-child): New
347         functions.
349 2011-02-08  Philippe Brochard  <pbrochard@common-lisp.net>
351         * src/clfswm.lisp (main-mode): Raise or not unmanaged windows
352         following request in *never-managed-window-list*.
354 2011-02-05  Philippe Brochard  <pbrochard@common-lisp.net>
356         * *: **** Release 1102 ****
358 2011-02-05  Desmond O. Chang <dochang@gmail.com>
360         * src/keysyms.lisp: Add extended keysyms from stumpwm.
362 2011-02-01  Desmond O. Chang <dochang@gmail.com>
364         * src/clfswm-util.lisp (run-or-raise): New function (thanks to
365         Desmond O. Chang).
367         * src/clfswm-internal.lisp (with-all-*): add a nil block.
369 2011-01-28  Desmond O. Chang <dochang@gmail.com>
371         * src/clfswm-util.lisp (xdg-config-home): XDG_CONFIG_HOME should
372         be $HOME/.config by default.
374 2010-12-29  Philippe Brochard  <pbrochard@common-lisp.net>
376         * contrib/osd.lisp (display-doc): Add another method where a
377         CLFSWM native window is used to display the key documentation.
379 2010-12-27  Philippe Brochard  <pbrochard@common-lisp.net>
381         * src/xlib-util.lisp (with-xlib-protect): Force to revert to the
382         main mode state.
384 2010-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
386         * src/clfswm-second-mode.lisp (second-key-mode): Call the second
387         mode leave function only when the generic mode was ended.
389 2010-12-08  Philippe Brochard  <pbrochard@common-lisp.net>
391         * src/clfswm-second-mode.lisp (sm-leave-function): Do not use
392         *second-mode-program* anymore.
394 2010-12-07  Philippe Brochard  <pbrochard@common-lisp.net>
396         * src/clfswm-second-mode.lisp (*second-mode-leave-function*): New
397         variable bound to a function executed (when not null) on second
398         mode leaving.
400 2010-11-14  Philippe Brochard  <pbrochard@common-lisp.net>
402         * src/clfswm-util.lisp (find-child-under-mouse): Do not find
403         hidden windows.
405 2010-11-13  Philippe Brochard  <pbrochard@common-lisp.net>
407         * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
408         Do not display the accel window for unmanaged windows.
410 2010-11-11  Philippe Brochard  <pbrochard@common-lisp.net>
412         * src/clfswm-internal.lisp (set-current-root): Handle
413         window-parent in set-current-root.
415         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Do not
416         focus the parent child when the current root is a window.
418 2010-11-09  Philippe Brochard  <pbrochard@common-lisp.net>
420         * src/clfswm-expose-mode.lisp (expose-windows-current-child-mode):
421         New function an bindings.
423         * src/clfswm-layout.lisp (tile-layout, set-tile-layout): Fill
424         blanks if needed.
426 2010-11-07  Philippe Brochard  <pbrochard@common-lisp.net>
428         * src/clfswm-layout.lisp (tile-layout-ask-keep-position): New
429         function to let the user choose to keep child position with
430         tile layout.
432         * src/clfswm-internal.lisp (remove-frame-data-slot): New
433         function.
435 2010-11-05  Philippe Brochard  <pbrochard@common-lisp.net>
437         * src/clfswm-internal.lisp (frame-select-next-child)
438         (frame-select-previous-child): New functions and bindings. Select
439         the next/previous child in the current frame.
441 2010-10-31  Philippe Brochard  <pbrochard@common-lisp.net>
443         * src/clfswm-query.lisp (query-mode-complet): New function: Handle
444         completion in query-mode.
446 2010-10-30  Philippe Brochard  <pbrochard@common-lisp.net>
448         * src/clfswm-query.lisp (query-print-string): Handle long lines
449         correctly.
451 2010-10-27  Philippe Brochard  <pbrochard@common-lisp.net>
453         * src/clfswm-expose-mode.lisp (expose-create-window): Ensure that
454         all characters are printable.
456 2010-10-25  Philippe Brochard  <pbrochard@common-lisp.net>
458         * contrib/server/server.lisp: Load clfswm client code in the main
459         program and let the user start it with a --client command line
460         option.
462         * src/package.lisp (*main-entrance-hook*): New hook executed after
463         loading configuration file and before opening the display.
465 2010-10-23  Philippe Brochard  <pbrochard@common-lisp.net>
467         * src/xlib-util.lisp: Remove unnecessary xlib:display-finish-output.
469         * src/clfswm-internal.lisp (show-child): Show window only if not
470         hidden.
472         * src/clfswm-keys.lisp (binding-substitute-modifier): Utility to
473         change modifiers after binding definition.
475 2010-10-21  Philippe Brochard  <pbrochard@common-lisp.net>
477         * contrib/osd.lisp: New file: OSD (On Screen Display) for
478         presentations.
480         * src/clfswm-menu.lisp (open-menu): Modularise function.
482 2010-10-13  Philippe Brochard  <pbrochard@common-lisp.net>
484         * src/clfswm-info.lisp (show-first-aid-kit): Display the essential
485         key binding in main and second mode.
487 2010-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
489         * src/clfswm-util.lisp (open-notify-window): Convert hello-window
490         functions to a more generic Notify-window system.
492         * src/tools.lisp (add-timer): Add an id to identify the timer.
494 2010-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
496         * src/tools.lisp (erase-timer): New function.
498         * src/clfswm-util.lisp (display-hello-window): Add a timer to hide
499         the hello window. Add Configuration variables.
501 2010-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
503         * src/clfswm-util.lisp (): Add an Hello window at startup.
505         * src/tools.lisp (process-timers): Add a timer system.
507 2010-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
509         * src/clfswm-query.lisp (add-in-query-string): Handle correctly
510         the mod-5 modifier.
512 2010-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
514         * src/clfswm-query.lisp (query-print-string): Change cursor color
515         and show parenthesis matching with colors (on match and on
516         errors).
518 2010-10-05  Philippe Brochard  <pbrochard@common-lisp.net>
520         * src/clfswm-internal.lisp (show-all-children): Do not raise a
521         child when its parent is hidden.
523 2010-10-02  Philippe Brochard  <pbrochard@common-lisp.net>
525         * src/clfswm-circulate-mode.lisp (select-next-subchild): Add the
526         possibility to circulate over subchild of the current child.
528         * src/clfswm-expose-mode.lisp (expose-all-windows-mode)
529         (expose-windows-generic): Add an escape-body function to return to
530         the original state on escape key.
532         * src/clfswm-util.lisp (bind-on-slot): Add an optional parameter
533         to bind the current child from the configuration file.
535 2010-10-01  Philippe Brochard  <pbrochard@common-lisp.net>
537         * src/clfswm-nw-hooks.lisp (absorb-window-nw-hook): Absorb new
538         window hook: the frame absorb all new windows that match
539         nw-absorb-test frame data slot.
541 2010-09-30  Philippe Brochard  <pbrochard@common-lisp.net>
543         * src/clfswm-expose-mode.lisp (expose-create-window): Show window
544         title in accel window.
546 2010-09-29  Philippe Brochard  <pbrochard@common-lisp.net>
548         * configure: Use the Xavier Maillard clfswm script in contrib to
549         build an executable in the standard way.
551 2010-09-26  Philippe Brochard  <pbrochard@common-lisp.net>
553         * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
554         New functions. Add a window on each child in the expose mode to
555         quickly select them.
557         * src/clfswm-internal.lisp (child-x, child-y, child-width)
558         (child-height): New methods to get real child coordinates.
560 2010-09-25  Philippe Brochard  <pbrochard@common-lisp.net>
562         * src/clfswm-layout.lisp (*-layout): Use child-position.
564         * src/clfswm-internal.lisp (child-position): New function.
566         * src/clfswm-expose-mode.lisp (expose-windows-mode)
567         (expose-all-windows-mode): Use a generic mode.
569         * src/xlib-util.lisp (with-handle-event-symbol): Use a filled list
570         with handle-event-fun symbols instead of inspecting clfswm
571         internals symbols on each mode change.
573         * src/clfswm-expose-mode.lisp: Move and rename present*-windows in
574         a separate clfswm-expose-mode.lisp file.
576         * src/clfswm-util.lisp (speed-mouse-right, speed-mouse-down): Use
577         screen size instead of hardcoded test coordinates.
579 2010-09-24  Philippe Brochard  <pbrochard@common-lisp.net>
581         * src/clfswm-util.lisp (speed-mouse-reset, speed-mouse-left)
582         (speed-mouse-right, speed-mouse-up, speed-mouse-down)
583         (speed-mouse-undo, speed-mouse-first-history): New functions to
584         quickly move the mouse. Implemented for the second mode.
586 2010-09-16  Philippe Brochard  <pbrochard@common-lisp.net>
588         * contrib/clfswm: Move clfswm sources to $tmp_dir if there is no
589         write permission on $clfswm_asd_path. So anybody can start clfswm
590         even if there is no write permission on the source directory.
592 2010-09-12  Philippe Brochard  <pbrochard@common-lisp.net>
594         * contrib/clfswm: Add support to cmucl, ccl and ecl.
596 2010-09-11  Philippe Brochard  <pbrochard@common-lisp.net>
598         * src/clfswm-util.lisp (set-hide-unmanaged-window)
599         (set-show-unmanaged-window, set-default-hide-unmanaged-window):
600         New functions and menu entry.
601         (set-globally-hide-unmanaged-window)
602         (set-globally-show-unmanaged-window): New functions and menu
603         entry.
605         * src/clfswm-internal.lisp (hide-unmanager-window-p): New
606         function.
607         (show-child): Add a data slot on frame to hide or not unmanaged
608         windows.
610         * src/clfswm-corner.lisp (present-clfswm-terminal)
611         (present-virtual-keyboard): Use a function (generic-present-body)
612         instead of a macro (generate-present-body).
614         * src/clfswm-util.lisp (update-menus): List all directories and
615         subdirectories in $XDG_DATA_DIRS/applications.
617 2010-09-10  Philippe Brochard  <pbrochard@common-lisp.net>
619         * src/clfswm-corner.lisp (generate-present-body): New macro.
620         (present-clfswm-terminal, present-virtual-keyboard): Use
621         generate-present-body.
623 2010-09-09  Philippe Brochard  <pbrochard@common-lisp.net>
625         * src/clfswm-util.lisp (update-menus): Follow XDG specifications
626         instead of the non-portable Debian update-menu.
628 2010-09-07  Philippe Brochard  <pbrochard@common-lisp.net>
630         * src/clfswm.lisp (error-handler): New function do handle
631         asynchronous errors and ignore them.
632         (open-display): Install the new error-handler on display.
634 2010-09-05  Philippe Brochard  <pbrochard@common-lisp.net>
636         * src/xlib-util.lisp (with-xlib-protect): Add a
637         with-simple-restart on top of body execution.
639 2010-09-04  Philippe Brochard  <pbrochard@common-lisp.net>
641         * src/clfswm.lisp (main-loop): Protect all xlib functions with an
642         with-xlib-protect.
644         * src/xlib-util.lisp (handle-event): use with-xlib-protect only in
645         handle-event. Add a with-simple-restart to prevent a
646         clisp/new-lisp infinite loop.
648 2010-08-30  Philippe Brochard  <pbrochard@common-lisp.net>
650         * src/clfswm-corner.lisp (present-clfswm-terminal): Make the
651         clfswm terminal working even on xterm title changes.
653 2010-08-29  Philippe Brochard  <pbrochard@common-lisp.net>
655         * src/clfswm-util.lisp (run-other-window-manager): Update for
656         clisp compatibility.
658         * src/tools.lisp (do-execute): New parameter io to change the
659         input/output method.
661         * src/clfswm-util.lisp (hide-current-child): Prevent from removing
662         the current root.
664         * src/clfswm-internal.lisp (child-member): New predicate.
665         (child-remove): New function.
667         * src/*.lisp: Use child-member and child-remove everywhere it's
668         needed.
670 2010-08-28  Philippe Brochard  <pbrochard@common-lisp.net>
672         * src/clfswm.lisp (main-loop): Ensure that all events have been
673         processed after a process-event.
675         * src/clfswm-internal.lisp (is-in-current-child-p): New function.
677 2010-08-27  Philippe Brochard  <pbrochard@common-lisp.net>
679         * src/clfswm.lisp (main-mode:configure-request): Raise the window
680         only when present on the current child and focus it accordingly.
682 2010-08-26  Philippe Brochard  <pbrochard@common-lisp.net>
684         * src/clfswm-circulate-mode.lisp (circulate-loop-function):
685         Use is-a-key-pressed-p.
687         * src/xlib-util.lisp (is-a-key-pressed-p): New predicate.
689         * src/clfswm-keys.lisp (define-ungrab/grab): Use all values
690         returned by xlib:keysym->keycodes.
692         * src/*.lisp: Use the new child-equal-p to compare children. This
693         prevent a bug with sbcl/cmucl when the standard equal function
694         does not work with xlib:window.
696         * src/clfswm-internal.lisp (child-equal-p): New predicate.
698 2010-08-25  Philippe Brochard  <pbrochard@common-lisp.net>
700         * src/clfswm-generic-mode.lisp (generic-mode): Use an
701         xlib:event-listen before processing event with
702         xlib:process-event. This prevent a bug with CLX threaded
703         implementation like sbcl.
705         * src/clfswm.lisp (main-loop): Use an xlib:event-listen before
706         processing event with xlib:process-event. This prevent a bug with
707         CLX threaded implementation like sbcl.
709 2010-08-17  Philippe Brochard  <pbrochard@common-lisp.net>
711         * contrib/server/key.lisp (ushell-sh): Add ccl and ecl support.
713         * src/xlib-util.lisp (compress-motion-notify): Use a loop instead
714         of an event-case.
716         * src/clfswm-internal.lisp (with-find-in-all-frames): New macro.
717         (find-parent-frame, find-frame-window, find-frame-by-name)
718         (find-frame-by-number): Use with-find-in-all-frames to search in
719         frames in the right order.
721         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Fix an
722         unwanted flickering with unmanaged windows.
724 2010-08-16  Philippe Brochard  <pbrochard@common-lisp.net>
726         * src/package.lisp: Remove event handler hooks as they're not
727         needed anymore (To replace them: use closure and define-handler).
729         * src/xlib-util.lisp (move-window, resize-window)
730         (wait-mouse-button-release): Use a generic mode.
732         * src/*.lisp: Replace the case to handle event with a more (tricky)
733         lispy  method which bind a function to each keywords associated
734         to graphics events.
736 2010-07-23  Philippe Brochard  <pbrochard@common-lisp.net>
738         * src/clfswm-util.lisp (delete-current-child): Invert bindings and
739         menu entry between delete-current-child and remove-current-child.
740         ie: Delete a child and its children in all frames by default.
742 2010-07-21  Philippe Brochard  <pbrochard@common-lisp.net>
744         * src/package.lisp: Add a placement configuration group.
746         * src/binding*.lisp: Bind control+g to escape the current action
747         like emacs.
749         * src/clfswm-internal.lisp
750         (delete-child-and-children-in-all-frames): New function and
751         binding: Second mode - Control+Delete delete the current child and
752         its children in all frames (ie: close the current child and its
753         children).
755 2010-07-20  Philippe Brochard  <pbrochard@common-lisp.net>
757         * src/clfswm-internal.lisp (remove-child-in-frame): Do not destroy
758         the frame window and the frame gc. Close a very annoying bug when
759         cuting/pasting a frame or moving a child over frames with the
760         mouse.
762         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
763         all children in *current-root* after moving/resizing a frame.
765 2010-07-18  Philippe Brochard  <pbrochard@common-lisp.net>
767         * src/clfswm-util.lisp (delete-focus-window)
768         (destroy-focus-window): Remove child in parent frame before
769         stopping it.
771 2010-07-16  Philippe Brochard  <pbrochard@common-lisp.net>
773         * src/clfswm-util.lisp (identify-key): Add a timeout in
774         xlib:process-event.
775         (mouse-click-to-focus-generic): Use find-child-under-mouse instead
776         of the window passed by xlib:process-event.
778         * src/xlib-util.lisp (move-window, resize-window)
779         (wait-mouse-button-release): Add a timeout in xlib:process-event.
781 2010-04-11  Philippe Brochard  <pbrochard@common-lisp.net>
783         * src/clfswm-util.lisp (run-other-window-manager): Add the ability
784         to launch an other window manager and to return to clfswm.
786 2010-03-18  Philippe Brochard  <pbrochard@common-lisp.net>
788         * src/clfswm-layout.lisp (set-tile-space-layout): Set default
789         to 1%.
791 2009-12-15  Philippe Brochard  <pbrochard@common-lisp.net>
793         * src/clfswm.lisp (main-loop): Add a *loop-hook* parameter and a
794         loop timeout.
796         * src/clfswm-generic-mode.lisp (generic-mode): Add a loop-hook
797         parameter and a loop timeout.
799 2009-12-05  Philippe Brochard  <pbrochard@common-lisp.net>
801         * src/clfswm.lisp (main): Add an alternate configuration filename
802         parameter.
804         * load.lisp: Add a debuging code example.
806 2009-11-14  Philippe Brochard  <pbrochard@common-lisp.net>
808         * src/clfswm-configuration.lisp (create-configuration-menu): New
809         menu to configure all clfswm variables while clfswm is running.
811 2009-11-12  Philippe Brochard  <pbrochard@common-lisp.net>
813         * src/clfswm-util.lisp (save-configuration-variables): New
814         function to save all configuration variables in clfswmrc.
816 2009-11-11  Philippe Brochard  <pbrochard@common-lisp.net>
818         * src/clfswm-info.lisp (info-mode): Begining of mouse support in
819         info mode.
820         (set-default-info-keys): Add cursor key support in info mode.
822 2009-11-08  Philippe Brochard  <pbrochard@common-lisp.net>
824         * contrib/reboot-halt.lisp: Add a Suspend/Reboot/Halt menu in
825         contrib.
827         * src/clfswm.lisp (main): Add a read-conf-file-p parameter to
828         prevent reading the configuration file (this may be useful to
829         produce the original documentation without user modifications
830         with the rc configuration file).
832 2009-11-07  Philippe Brochard  <pbrochard@common-lisp.net>
834         * src/bindings-second-mode.lisp (set-default-second-keys):
835         Simplification of Escape key to close/kill/remove the focus window
836         and unhide all windows.
838         * src/bindings.lisp (set-default-main-keys): Simplification of
839         Escape key to close/kill/remove the focus window and unhide all
840         windows.
842         * src/clfswm-util.lisp (ask-close/kill-current-window): Add remove
843         focus and unhide all windows capabilities.
845 2009-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
847         * contrib/mpd.lisp (start-gmpc): Add gmpc in the mpd menu.
849 2009-07-29  Philippe Brochard  <pbrochard@common-lisp.net>
851         * src/clfswm-layout.lisp (tile-layout, tile-horizontal-layout):
852         Keep child order and don't make unnecessary child movement.
853         (one-column-layout, one-line-layout): New layouts.
855 2009-06-29  Philippe Brochard  <pbrochard@common-lisp.net>
857         * *: **** Release 0906 ****
859         * contrib/cd-player.lisp: New file to handle the CD player.
861         * contrib/xmms.lisp: New file to handle the xmms player.
863 2009-06-28  Philippe Brochard  <pbrochard@common-lisp.net>
865         * src/clfswm-layout.lisp (set-no-layout-remember-size): New layout:
866         Maximize windows in their frame - Leave frames to their actual
867         size.
869         * src/bindings-second-mode.lisp (set-default-second-keys): Bind
870         "o" on set-open-in-new-frame-in-parent-frame-nw-hook.
872 2009-06-27  Philippe Brochard  <pbrochard@common-lisp.net>
874         * contrib/keyb_fr.lisp: New file to handle an azerty keyboard.
876 2009-06-24  Philippe Brochard  <pbrochard@common-lisp.net>
878         * contrib/mpd.lisp: Use a standard menu.
880         * src/clfswm-info.lisp: Use a standard menu for the help-menu.
882 2009-06-22  Philippe Brochard  <pbrochard@common-lisp.net>
884         * contrib/mpd.lisp: New file to handle the Music Player Daemon (MPD)
886 2009-06-19  Philippe Brochard  <pbrochard@common-lisp.net>
888         * src/clfswm-autodoc.lisp (produce-doc, produce-doc-html): Minor
889         number key cleanup.
891 2009-06-18  Philippe Brochard  <pbrochard@common-lisp.net>
893         * src/config.lisp (get-fullscreen-size):  One pixel adjustment
894         (again).
896         * src/clfswm-placement.lisp (*-child-placement): One pixel
897         adjustment (again).
899 2009-06-16  Philippe Brochard  <pbrochard@common-lisp.net>
901         * src/clfswm-circulate-mode.lisp (draw-circulate-mode-window):
902         Ensure that all characters are printable.
904         * src/config.lisp (get-fullscreen-size): Adjust default fullscreen
905         sizes.
907         * src/clfswm-placement.lisp (*-child-placement): Adjust
908         coordinates to one pixel in the current child.
910 2009-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
912         * src/clfswm-query.lisp (query-enter-function): Assign font before
913         width and height calculation.
915 2009-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
917         * src/xlib-util.lisp (banish-pointer): Use with-placement macro to
918         bannish the pointer in an arbitrary place.
920         * src/clfswm-info.lisp (info-mode): Use with-placement macro to
921         place the info window in an arbitrary place.
923         * src/clfswm-query.lisp (query-enter-function): Use with-placement
924         macro to place the query window in an arbitrary place.
926         * src/clfswm-placement.lisp: New file. Allow to place info windows
927         or query windows on an arbitrary place. Allow to bannish the
928         pointer on an arbitrary place.
930 2009-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
932         * src/clfswm-circulate-mode.lisp (reorder-child)
933         (reorder-brother): Unfocus windows before reordering children or
934         brothers.
936 2009-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
938         * src/clfswm-circulate-mode.lisp (reorder-brother): Ensure that
939         the parent is a frame.
941         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Handle
942         motion with a default modifier.
944         * src/clfswm.lisp (handle-motion-notify): Handle motion with a
945         default modifier.
947         * src/clfswm-info.lisp (info-mode): Handle motion with a default
948         modifier.
949         (info-mode): Optimization in loop function.
951 2009-05-10  Philippe Brochard  <pbrochard@common-lisp.net>
953         * src/clfswm-circulate-mode.lisp (reorder-brother): Handle
954         root-frame correctly.
956         * clfswm.asd: Dependency fix for clfswm-generic-mode.
958         * src/clfswm-circulate-mode.lisp (reorder-child)
959         (reorder-brother): Handle empty frames.
960         (reorder-brother): Redisplay only the parent frame of the  current
961         child.
963         * src/clfswm-util.lisp (frame-toggle-maximize): Redisplay only the
964         parent frame of the  current frame.
966 2009-05-09  Philippe Brochard  <pbrochard@common-lisp.net>
968         * src/clfswm-util.lisp (frame-toggle-maximize): New function:
969         Maximize/Unmaximize the current frame in its parent frame.
971         * src/clfswm-layout.lisp (maximize-layout): New layout: Maximize
972         windows and frames in their parent frame.
974 2009-05-05  Philippe Brochard  <pbrochard@common-lisp.net>
976         * src/*.lisp: Add support for Clozure Common Lisp (CCL).
978         * src/clfswm-circulate-mode.lisp (reorder-child)
979         (reorder-brother): Reinitialise on circulate type change
980         child to brother or brother to child.
982         * src/*.lisp (*): Use map-window instead of xlib:map-window. So
983         calls xlib:display-finish-output on each map-request. So speed up
984         the window display.
986         * src/xlib-util.lisp (map-window): New function. Call
987         xlib:display-finish-output on each map request.
989 2009-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
991         * src/clfswm-second-mode.lisp (sm-handle-motion-notify):
992         Optimisation when drawing second mode window.
994 2009-04-27  Philippe Brochard  <pbrochard@common-lisp.net>
996         * src/clfswm-circulate-mode.lisp (circulate-mode): Optimisation in
997         window redraw.
999 2009-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
1001         * src/clfswm-util.lisp (run-program-from-query-string): Launch
1002         command only with a return validation.
1004 2009-04-22  Xavier Maillard  <xma@gnu.org>
1006         * src/clfswm-query.lisp (query-string): Use a generic mode.
1008 2009-04-19  Xavier Maillard  <xma@gnu.org>
1010         * src/clfswm-info.lisp (info-mode): Use generic-mode for info-mode.
1012 2009-04-18  Xavier Maillard  <xma@gnu.org>
1014         * src/clfswm-generic-mode.lisp (generic-mode): Add a generic mode
1015         to define all other modes.
1017 2009-04-05  Philippe Brochard  <pbrochard@common-lisp.net>
1019         * src/package.lisp (): Use *default-font-string* for all
1020         font-string.
1022         * src/clfswm-info.lisp (info-mode): Ensure integer windows size.
1024 2009-02-17  Philippe Brochard  <pbrochard@common-lisp.net>
1026         * src/xlib-util.lisp (null-size-window-p): Better check of null
1027         sized windows.
1029 2009-02-14  Philippe Brochard  <pbrochard@common-lisp.net>
1031         * src/clfswm.lisp (handle-map-request): Add a fix to manage
1032         correctly fullscreen windows (SDL particularly).
1034 2008-12-20  Philippe Brochard  <pbrochard@common-lisp.net>
1036         * src/xlib-util.lisp (get-color): Allocate colors only once -> fix
1037         a segfault with clisp/new-clx.
1039         * src/clfswm.lisp (handle-motion-notify): Add a needed window
1040         argument.
1042         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Add a
1043         needed window argument.
1045 2008-10-30  Philippe Brochard  <pbrochard@common-lisp.net>
1047         * src/xlib-util.lisp (wait-no-key-or-button-press)
1048         (wait-a-key-or-button-press): Check buttons press/release correctly"
1050 2008-10-28  Philippe Brochard  <pbrochard@common-lisp.net>
1052         * src/menu-def.lisp: Add children navigation menu in the movement
1053         menu (select next/previous child/brother/level).
1055 2008-10-26  Philippe Brochard  <pbrochard@common-lisp.net>
1057         *  *: Rename 'sister' frame to 'brother' frame.
1059         * src/clfswm-keys.lisp (unalias-modifiers): Convert a modifier
1060         alias in a real modifier.
1062         * src/package.lisp (*modifier-alias*): New list of modifier alias
1063         For example: :alt is :mod-1, :numlock is :mod-2...
1065         * src/tools.lisp (remove-hook): New function.
1067         * src/clfswm-keys.lisp (with-capslock, without-capslock)
1068         (with-numlock, without-cnumlock): New functions.
1070 2008-10-25  Philippe Brochard  <pbrochard@common-lisp.net>
1072         * src/clfswm-info.lisp: Use the *binding-hook* to create info
1073         keys and mouse bindings.
1075         * src/bindings-second-mode.lisp: Use the *binding-hook* to create
1076         second keys and mouse bindings.
1078         * src/bindings.lisp: Use the *binding-hook* to create main keys
1079         and mouse bindings.
1081 2008-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
1083         * src/clfswm-menu.lisp (open-menu): Remember parent menu to undo
1084         menu opening.
1086 2008-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
1088         * src/menu-def.lisp: Use a menu instead of a function for the
1089         standard menu.
1091 2008-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
1093         * src/clfswm-util.lisp (show-standard-menu): Display the standard
1094         menu from the 'update-menus' command.
1096 2008-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
1098         * src/clfswm-query.lisp (query-string): Do not ungrab keyboard if
1099         it's already grabbed.
1101         * src/clfswm-internal.lisp (display-frame-info): Use configurable
1102         colors and fix a bug with background.
1103         (display-frame-info): Set window background when displaying info.
1105 2008-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
1107         * src/xlib-util.lisp (my-character->keysyms): Use a macro to avoid
1108         warning with clisp/new-clx.
1110 2008-10-04  Philippe Brochard  <pbrochard@common-lisp.net>
1112         * src/clfswm-util.lisp (jump-to-slot): Prevent to jump on a
1113         deleted child.
1115 2008-09-23  Philippe Brochard  <pbrochard@common-lisp.net>
1117         * *: **** Release 0809 ****
1119 2008-09-23  Philippe Brochard  <pbrochard@common-lisp.net>
1121         * src/clfswm-util.lisp (ensure-unique-name): New function and menu
1122         entry.
1123         (ensure-unique-number): New function and menu entry.
1125 2008-09-22  Philippe Brochard  <pbrochard@common-lisp.net>
1127         * src/clfswm-nw-hooks.lisp (named-frame-nw-hook): New new window
1128         hook: open the next window in a named frame.
1129         (numbered-frame-nw-hook): New new window hook: open the next
1130         window in a numbered frame.
1132         * src/clfswm-query.lisp (query-string): Grab the keyboard in all
1133         cases. So query-string can be called even in the main mode.
1135         * src/clfswm-internal.lisp (show-all-children): Do not raise a
1136         child by default => far less flickering.
1138 2008-09-19  Philippe Brochard  <pbrochard@common-lisp.net>
1140         * src/bindings-second-mode.lisp: Bind "t" to tile-current-frame.
1142         * src/menu-def.lisp: Change key binding for the CLFSWM menu
1143         entry.
1145         * src/xlib-util.lisp (xgrab-pointer): Handle the case where cursor
1146         is nil. (workaround on some CLX implementation).
1148 2008-09-12  Philippe Brochard  <pbrochard@common-lisp.net>
1150         * src/menu-def.lisp: Add a menu to set a focus policy for all
1151         frames.
1153         * src/clfswm-util.lisp (set-focus-policy-generic-for-all)
1154         (all-frames-set-*-focus-policy): Set a focus policy for all
1155         frames.
1157         * src/clfswm.lisp (handle-enter-notify): sloppy-select
1158         mode. Select a child and its parents on mouse over.
1160 2008-09-03  Philippe Brochard  <pbrochard@common-lisp.net>
1162         * src/clfswm.lisp (handle-enter-notify): Add a sloppy strict focus
1163         policy -> Sloppy focus only for windows in the current frame.
1164         (main-unprotected): Exit clfswm on init error (ie: when another
1165         window manager is running).
1167         * src/clfswm-util.lisp (reset-clfswm): New function.
1169 2008-09-02  Philippe Brochard  <pbrochard@common-lisp.net>
1171         * src/clfswm-menu.lisp (init-menu): New function.
1173         * src/clfswm-util.lisp (reload-clfswm): New function to reload
1174         CLFSWM.
1175         (exit-clfswm): Rename quit-clfswm to exit-clfswm.
1177         * src/clfswm.lisp (main, main-unprotected): Handle error in a
1178         superior main function. Now CLFSWM can't break the X session. It
1179         just reinitialize the display and run a new main loop.
1181         * src/clfswm-corner.lisp: Make *clfswm-terminal* and
1182         *vt-keyboard-on* global to avoid warnings when loading clfswm.
1184         * src/clfswm-layout.lisp: Add a specific GIMP layout menu.
1185         (help-on-gimp-layout): Describe how to use the GIMP layout.
1187 2008-09-01  Philippe Brochard  <pbrochard@common-lisp.net>
1189         * src/clfswm-layout.lisp (set-gimp-layout): Change the layout to
1190         main-window-right-layout. Change the keybinding for (shift)alt+tab
1191         to not select windows in the main window lisst.
1192         Bind F8 to add a window in the main window list.
1193         Bind F9 to remove a window in the main window list.
1194         Change the focus policy to :sloppy.
1195         (set-previous-layout): Restore the previous layout, keybinding and
1196         focus policy.
1198 2008-08-31  Philippe Brochard  <pbrochard@common-lisp.net>
1200         * src/clfswm-menu.lisp (add-menu-comment): Add comments in menu.
1202         * src/clfswm-layout.lisp (main-window-left-layout)
1203         (main-window-bottom-layout, main-window-top-layout): New
1204         functions.
1205         Factorize layouts in menu.
1207 2008-08-30  Philippe Brochard  <pbrochard@common-lisp.net>
1209         * src/clfswm-layout.lisp (main-window-right-layout): A possible
1210         GIMP layout: one or more main windows on one side of the
1211         frame. Others on the other size.
1213         * src/clfswm-util.lisp
1214         (current-frame-set-click/sloppy-focus-policy): Each frame can have
1215         a different focus policy (one of :click or :sloppy).
1216         The default focus policy is set with *default-focus-policy*.
1218 2008-08-23  Philippe Brochard  <pbrochard@common-lisp.net>
1220         * src/clfswm-info.lisp (show-config-variable): New function.
1222 2008-08-19  Philippe Brochard  <pbrochard@common-lisp.net>
1224         * src/clfswm-layout.lisp (tile-horizontal-layout): New layout.
1226         * src/clfswm-info.lisp: Colored help for key binding and corners
1227         actions.
1229 2008-08-18  Philippe Brochard  <pbrochard@common-lisp.net>
1231         * src/clfswm-util.lisp (delete-focus-window)
1232         (destroy-focus-window): Remove chid only in
1233         handle-unmap/destroy-notify. Focus *current-root* only when
1234         closing/killing the current child.
1236         * src/clfswm-autodoc.lisp (produce-corner-*-doc): New autodoc
1237         functions or corners.
1239 2008-08-17  Philippe Brochard  <pbrochard@common-lisp.net>
1241         * src/clfswm-corner.lisp (present-clfswm-terminal): New corner
1242         action: Hide/Unhide a terminal on mouse corner action. (By default
1243         right mouse button on the top left corner).
1245         * src/config.lisp (*never-managed-window-list*): New config
1246         variable.
1248         * src/clfswm-internal.lisp (never-managed-window-p): New function:
1249         Handle never managed window in a more simple way.
1251         * src/clfswm-corner.lisp: New file and new and more simple method
1252         to define corners actions.
1254 2008-08-15  Philippe Brochard  <pbrochard@common-lisp.net>
1256         * src/clfswm-info.lisp (info-mode): Info line can now be colored.
1258         * src/clfswm-layout.lisp (fast-layout-switch)
1259         (define-fast-layout-switch): New functions: Switch between two
1260         layouts.
1262         * src/clfswm-second-mode.lisp (leave-second-mode): Takes care if
1263         really in the second mode. So leave-second-mode can be used even
1264         in the main mode.
1266         * src/clfswm-util.lisp (switch-to-last-child): New function:
1267         Store the current child and switch to the previous one.
1269 2008-07-16  Philippe Brochard  <pbrochard@common-lisp.net>
1271         * src/clfswm-util.lisp (display-current-window-info): Display the
1272         window id.
1273         (have-to-present-virtual-keyboard): Add a virtual keyboard corner
1274         (top right by default). By default 'xvkbd' is used.
1276 2008-06-28  Philippe Brochard  <pbrochard@common-lisp.net>
1278         * src/xlib-util.lisp (move-window, resize-window): Compress motion
1279         events.
1281         * src/clfswm.lisp (handle-motion-notify): Compress motion events.
1283         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Compress
1284         motion events.
1286         * src/clfswm-info.lisp (info-mode): Compress motion events.
1288 2008-06-21  Philippe Brochard  <pbrochard@common-lisp.net>
1290         * src/clfswm-internal.lisp (show-all-children): Compute geometry
1291         and selection first and then show only necessary children.
1292         (show-child): remove unneeded display-p parameter.
1294         * src/config.lisp (get-fullscreen-size): Place the frame border
1295         outside the screen (this prevent the loose of 2 pixels per
1296         directions :)
1298 2008-06-12  Philippe Brochard  <pbrochard@common-lisp.net>
1300         * src/clfswm-internal.lisp (focus-child): Algorithm change to
1301         raise only the selected child.
1303 2008-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
1305         * src/clfswm-internal.lisp (raise-p-list, show-all-children):
1306         Raise only viewable children.
1308 2008-06-06  Philippe Brochard  <pbrochard@common-lisp.net>
1310         * src/clfswm-internal.lisp (show-all-children): Always raise all
1311         displayed children. Remove all references to raise-p.
1313 2008-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
1315         * src/menu-def.lisp (child-menu): New menu entry on raise/lower
1316         child in its frame.
1318         * src/bindings-second-mode.lisp ("Page_Down", "Page_Up"): New
1319         second mode binding on raise/lower child in its frame.
1321         * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): Adapt
1322         behaviour to the new raise/lower property.
1323         Call clear-nw-hook before the rest of the hook.
1325         * src/bindings.lisp (mouse-click-to-focus-and-move-window)
1326         (mouse-click-to-focus-and-resize-window): Stop button event. This
1327         prevent a keyboard/pointer freeze.
1329 2008-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
1331         * src/clfswm-internal.lisp (frame-lower-child)
1332         (frame-raise-child): New functions to raise/lower a child in its
1333         frame.
1335         * src/clfswm-util.lisp (have-to-present-windows)
1336         (have-to-present-all-windows): New functions to have an MaxOS
1337         expose like on mouse click in screen corner.
1339         * src/clfswm-info.lisp ("Page_Down", "Page_Up"): Add boundaries.
1341 2008-05-30  Philippe Brochard  <pbrochard@common-lisp.net>
1343         * src/clfswm-util.lisp (unhide-a-child-from-all-frames): Unhide a
1344         child from a choice in all frames with hidden children.
1346         * src/clfswm-info.lisp (info-mode-menu): Handle separators.
1348 2008-05-28  Philippe Brochard  <pbrochard@common-lisp.net>
1350         * src/clfswm-util.lisp (hide-current-child, unhide-a-child)
1351         (unhide-all-children): New functions.
1353         * src/clfswm-info.lisp (info-mode-menu): Handle symbols and
1354         functions.
1356         * src/clfswm-util.lisp (hide/show-frame-window): new function and
1357         menu item.
1359 2008-05-23  Philippe Brochard  <pbrochard@common-lisp.net>
1361         * src/clfswm-util.lisp (rename-current-child): Do not display the
1362         frame info for a window.
1364 2008-05-20  Philippe Brochard  <pbrochard@common-lisp.net>
1366         * src/clfswm-internal.lisp (remove-child-in-frame): Destroy the
1367         frame window for the removed child and its children.
1369 2008-05-18  Philippe Brochard  <pbrochard@common-lisp.net>
1371         * src/clfswm-autodoc.lisp (produce-*-doc-*): Add a note to use the
1372         autodoc functions.
1374 2008-05-17  Philippe Brochard  <pbrochard@common-lisp.net>
1376         * src/clfswm-nw-hooks.lisp (default-frame-nw-hook): Do not handle
1377         the ROX pinboard (ie: leave it lowered in the root window as
1378         expected).
1380         * src/clfswm-layout.lisp (tile-left-space-layout): New layout.
1381         (tile-left-layout, tile-right-layout, tile-top-layout)
1382         (tile-bottom-layout): Use all the frame space when there is only
1383         one child.
1385         * src/clfswm-internal.lisp (place-window-from-hints): Center
1386         unmanaged windows in the root screen.
1388         * src/clfswm-nw-hooks.lisp (clear-nw-hook, clear-all-nw-hooks):
1389         new functions.
1391 2008-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
1393         * src/clfswm-util.lisp (current-frame-manage-window-type): Fix a
1394         typo in managed types.
1396         * src/clfswm-internal.lisp (show-child): Always display frame info
1397         even if the frame is hidden.
1399         * src/xlib-util.lisp (resize-window): Use a better algorithme to
1400         resize windows.
1402 2008-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
1404         * src/clfswm-util.lisp (with-movement): Display frame info for all
1405         frames in current root.
1407 2008-05-12  Philippe Brochard  <pbrochard@common-lisp.net>
1409         * src/*.lisp: Rename 'brother' frames to 'sister' frames.
1411         * src/bindings-second-mode.lisp (define-second-key #\a): New
1412         binding on 'add-default-frame'.
1414         * src/clfswm-autodoc.lisp (produce-*-doc-*-in-file): Show a
1415         message to follow the autodocumentation process.
1417 2008-05-10  Philippe Brochard  <pbrochard@common-lisp.net>
1419         * src/clfswm-util.lisp (bind-or-jump): Bind "Tab", "Return" and
1420         "Space" to jump to a child. "B" to bind a slot on the current
1421         child.
1423         * src/bindings-second-mode.lisp: Use "Tab" instead of
1424         "Iso_Left_Tab".
1426 2008-05-07  Philippe Brochard  <pbrochard@common-lisp.net>
1428         * src/clfswm-util.lisp (find-child-under-mouse): Take care of
1429         unmanaged (hidden) windows.
1431         * src/clfswm-internal.lisp (place-window-from-hints): Give a
1432         minimal size for windows.
1433         (with-all-windows-frames-and-parent): New function.
1435         * src/config.lisp (*default-window-width/height*): New parameters.
1437         * src/clfswm-internal.lisp (place-window-from-hints): Center
1438         windows in the screen instead of in their frame.
1440         * src/bindings-second-mode.lisp (tile-space-current-frame): New
1441         binding on C-t.
1443         * src/clfswm-layout.lisp (register-layout): Intern the once name
1444         in the right package.
1446 2008-05-05  Philippe Brochard  <pbrochard@common-lisp.net>
1448         * doc/dot-clfswmrc: Update to  follow the new clfswm way.
1450 2008-05-03  Philippe Brochard  <pbrochard@common-lisp.net>
1452         * src/clfswm-internal.lisp (set-current-child)
1453         (adapt-child-to-parent, show-child, hide-child): Handle the case
1454         where child is not a frame or a window.
1456         * src/clfswm-util.lisp
1457         (mouse-click-to-focus-generic,mouse-focus-move/resize-generic):
1458         Check if child is a frame.
1460         * src/clfswm-internal.lisp (managed-window-p): Handle the case
1461         where frame is null.
1462         (place-frame): Check if frame and parent are frames.
1464         * src/clfswm-info.lisp (info-mode): display all frame info before
1465         leaving.
1467         * src/clfswm-second-mode.lisp (second-key-mode): display all frame
1468         info before leaving.
1470         * src/clfswm-internal.lisp (display-all-frame-info): New function.
1472 2008-05-02  Philippe Brochard  <pbrochard@common-lisp.net>
1474         * src/tools.lisp (getenv): Implemented for ECL.
1475         (urun-prog): Implemented for ECL.
1477         * src/clfswm-util.lisp (identify-key): Use a double buffer to
1478         display text.
1480         * src/clfswm-query.lisp (query-string): Use a double buffer to
1481         display text.
1483         * src/clfswm-info.lisp (draw-info-window): Use a double buffer to
1484         display text.
1486         * src/xlib-util.lisp (clear-pixmap-buffer, copy-pixmap-buffer):
1487         New functions.
1489 2008-05-01  Philippe Brochard  <pbrochard@common-lisp.net>
1491         * src/clfswm-info.lisp (info-mode): Add boundaries in the info mode window.
1493         * src/menu-def.lisp: New file: move all menu definition in
1494         menu-def.lisp.
1496         * src/clfswm-layout.lisp (register-layout): Use a function instead
1497         of a macro.
1499 2008-04-30  Philippe Brochard  <pbrochard@common-lisp.net>
1501         * src/clfswm-autodoc.lisp (produce-menu-doc,
1502         (produce-menu-doc-html): New functions.
1503         (produce-doc-*): Moved to clfswm-autodoc.lisp.
1505         * src/clfswm-util.lisp (paste-selection-no-clear): Prevent to
1506         paste a child on one of its own children. (this prevent a
1507         recursive bug).
1508         (move-child-to): Rename move/copy-current-child-by to
1509         move/copy-child-to.
1510         (mouse-move-window-over-frame): New function to move the window
1511         under the mouse cursor to another frame.
1513         * src/clfswm-internal.lisp (find-child-in-parent): New function.
1515 2008-04-29  Philippe Brochard  <pbrochard@common-lisp.net>
1517         * src/clfswm-internal.lisp (show-all-children): Display unmanaged
1518         windows only when its window parent is the current child.
1520 2008-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
1522         * src/clfswm-util.lisp (manage-current-window)
1523         (unmanage-current-window): New functions: Allow to force to manage
1524         or unmanage a window by its parent frame.
1526         * src/bindings-second-mode.lisp (#\o): binded to
1527         set-open-in-new-frame-in-parent-frame-nw-hook and
1528         (#\o :control) to set-open-in-new-frame-in-root-frame-nw-hook
1530         * src/clfswm-util.lisp (with-current-window): New macro.
1532         * src/xlib-util.lisp (move-window, resize-window): Remove uneeded
1533         exposure and enter-window handle event.
1535         * src/clfswm-util.lisp (move-frame, resize-frame): Show all
1536         children for the current child after the move/resize.
1538 2008-04-27  Philippe Brochard  <pbrochard@common-lisp.net>
1540         * src/xlib-util.lisp (resize-window): Take care of window size
1541         hints.
1543         * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Allow to
1544         move/resize unmanaged windows.
1546         * src/xlib-util.lisp (move-window, resize-window): New functions.
1548 2008-04-25  Philippe Brochard  <pbrochard@common-lisp.net>
1550         * src/clfswm-util.lisp (current-frame-manage-window-type): Let the
1551         user choose what window type the current frame must handle.
1552         (display-current-window-info): New function.
1553         (current-frame-manage-all-window-type)
1554         (current-frame-manage-only-normal-window-type)
1555         (current-frame-manage-no-window-type): New functions.
1557         * src/clfswm-internal.lisp (managed-window-p): New function.
1559         * src/package.lisp (frame): Managed type: new frame
1560         parameter. This allow to choose what window type a frame must
1561         handle.
1563         * src/*.lisp: Rename all 'father' occurrences to 'parent'.
1565         * src/clfswm-nw-hooks.lisp
1566         (open-in-new-frame-in-parent-frame-nw-hook): New new window hook.
1568         * src/clfswm-util.lisp (adapt-current-frame-to-window-hints): New
1569         function.
1571         * src/tools.lisp (ensure-printable): Return always a string even
1572         with a null string.
1574 2008-04-24  Philippe Brochard  <pbrochard@common-lisp.net>
1576         * src/config.lisp (*default-nw-hook*): New variable to change the
1577         default new window hook.
1579 2008-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
1581         * clfswm.asd (clfswm): Add a dependency from
1582         clfswm-second-mode.lisp to clfswm.lisp.
1584         * src/clfswm-util.lisp (identify-key): Show the documentation for
1585         the function bound on a key.
1586         (with-movement): Move with-movement,
1587         current-frame-fill/pack/resize-*  from bindings-second-mode.lisp
1588         to clfswm-util.lisp.
1590         * src/clfswm-menu.lisp: New menu system that let user change keys
1591         or functions associated to keys.
1593 2008-04-18  Philippe Brochard  <pbrochard@common-lisp.net>
1595         * src/clfswm-internal.lisp (show-all-children): Display-child is
1596         the first child by default. Solve a bug with father-p.
1598 2008-04-17  Philippe Brochard  <pbrochard@common-lisp.net>
1600         * src/clfswm-internal.lisp (add-frame): Add frame return the
1601         created frame.
1602         (show-all-children): Move the size computation outside the
1603         show-child part.
1605         * src/bindings-second-mode.lisp (with-movement): Redisplay only
1606         the current child.
1608         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
1609         only the current child.
1611         * src/clfswm-internal.lisp (show-all-children): New display-child
1612         parameter to display only the desired child and its children.
1613         (select-next/previous-child): Only display the current child.
1615 2008-04-14  Philippe Brochard  <pbrochard@common-lisp.net>
1617         * src/clfswm.lisp (init-display): Move the default frame creation
1618         on the default init hook.
1620         * src/clfswm-keys.lisp (define-ungrab/grab): Handle all keysyms in
1621         the main mode (for example: "1" on an azerty keyboard).
1623 2008-04-13  Philippe Brochard  <pbrochard@common-lisp.net>
1625         * src/clfswm-keys.lisp (find-key-from-code): Better handle of
1626         keysyms. Revert to old grabbing method for the main mode.
1628 2008-04-12  Philippe Brochard  <pbrochard@common-lisp.net>
1630         * src/clfswm.lisp (init-display): Add key handling on no focus
1631         window and on frame windows.
1633 2008-04-11  Philippe Brochard  <pbrochard@common-lisp.net>
1635         * src/clfswm.lisp (main): Keyboard handle strategie change: Grab
1636         all keys by default and replay just what is needed. No change for
1637         the second mode.
1639         * src/clfswm-keys.lisp: remove grab/ungrab main keys.
1640         (find-key-from-code): Test for shift and not shift presence.
1642 2008-04-09  Philippe Brochard  <pbrochard@common-lisp.net>
1644         * src/clfswm-internal.lisp (switch-to-root-frame): show later -
1645         new key parameter to have less flickering.
1647 2008-04-07  Philippe Brochard  <pbrochard@common-lisp.net>
1649         * src/bindings-second-mode.lisp (frame-layout-once-menu): Set the
1650         layout only one time and revert to no-layout to freely handle
1651         frames.
1653         * src/clfswm-nw-hooks.lisp
1654         (open-in-new-frame-in-root-frame-nw-hook): Tile layout with spaces
1655         with new created window.
1657         * src/clfswm-layout.lisp (register-layout): Now register
1658         automatically a once layout to set the layout only one time and
1659         revert to no-layout to freely handle frames.
1661 2008-04-05  Philippe Brochard  <pbrochard@common-lisp.net>
1663         * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): New
1664         nw-hook: Open the next window in the current frame and leave the
1665         focus to the current child.
1667 2008-04-04  Philippe Brochard  <pbrochard@common-lisp.net>
1669         * src/bindings-second-mode.lisp: Add keys definitions to
1670         bind-or-jump in the second mode.
1672         * src/clfswm-util.lisp (bind-or-jump): remove the auto-defining
1673         macro for bind-or-jump-(1|2|3...).
1675         * src/clfswm-keys.lisp (define-define-key/mouse): Allow additional
1676         arguments to function. This allow to do things like:
1677         (define-main-key (key) 'my-function 10 20 'foo) -> 10 20 and 'foo
1678         are passed to my-function on key press.
1680 2008-04-03  Philippe Brochard  <pbrochard@common-lisp.net>
1682         * src/clfswm-util.lisp (bind-or-jump): New (great) function.
1684 2008-04-02  Philippe Brochard  <pbrochard@common-lisp.net>
1686         * src/clfswm-internal.lisp (child-fullname): New function
1688         * src/clfswm-info.lisp (info-mode-menu): Add an explicit optional
1689         docstring in info-mode-menu. An item can be
1690         '((key function) (key function)) or with docstring
1691         '((key function "documentation 1") (key function "bla bla") (key function))
1693         * src/tools.lisp (ensure-n-elems): New function.
1695         * src/bindings-second-mode.lisp: Bind Alt+mouse-1/3 to move or
1696         resize a frame or the window's father.
1698         * src/clfswm.lisp (init-display): Remove tile-space-layout by
1699         default on the root frame.
1701         * src/clfswm-util.lisp (move/resize-frame): Add standard event
1702         hooks handlers (map-request, configure-notify...)
1704         * src/clfswm-internal.lisp (adapt-child-to-father): Limit minimal
1705         child size to 1x1.
1707 2008-04-01  Philippe Brochard  <pbrochard@common-lisp.net>
1709         * src/bindings.lisp: Bind Alt+mouse-1/3 to move or resize a frame
1710         or the window's father.
1712         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Stop button
1713         event only if there is a geometry change.
1714         (mouse-focus-move/resize-generic): Generic function to move or
1715         resize a frame or a window father frame.
1717 2008-04-01  Philippe Brochard  <pbrochard@common-lisp.net>
1719         * src/clfswm-internal.lisp (show-all-children): Return t if there
1720         is a geometry change.
1722 2008-03-30  Philippe Brochard  <pbrochard@common-lisp.net>
1724         * src/bindings.lisp (Up/Down): Swap select previous/next level.
1726         * src/bindings-second-mode.lisp (Up/Down): Swap select previous/next level.
1728         * src/clfswm.lisp (init-display): Create a default frame in the root frame.
1730         * src/clfswm-internal.lisp (place-frame): Place frame from real (pixel) coordinates.
1731         (with-all-*): Reverse the child list to manage the first child last (like in
1732         show-all-children).
1734         * src/config.lisp (*create-frame-on-root*): New variable: Create a new frame on the
1735         root window only if true.
1737         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Create a new frame on the
1738         root window only if *create-frame-on-root* is true.
1740         * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Create a new frame
1741         on the root window.
1743 2008-03-29  Philippe Brochard  <pbrochard@common-lisp.net>
1745         * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Focus, move and resize
1746         the current child (even if it's a window).
1748 2008-03-28  Philippe Brochard  <pbrochard@common-lisp.net>
1750         * src/clfswm-util.lisp (mouse-click-to-focus-and-move)
1751         (mouse-click-to-focus-and-resize): New functions.
1753         * src/clfswm-internal.lisp (*-fl->px): Convert float coordinates to pixel.
1754         (*-px->fl): Convert pixel coordinates to float.
1756         * src/tools.lisp (call-hook): Move call-hook to tools.lisp.
1758 2008-03-27  Philippe Brochard  <pbrochard@common-lisp.net>
1760         * src/clfswm-layout.lisp (no-layout): Use :first-only to raise only the
1761         first child.
1763         * src/clfswm-internal.lisp (hide-all): Split hide-all-children in hide-all
1764         and hide-all-children.
1765         (raise-if-needed): New function.
1766         (show-child): Use a first-p parameter to raise windows only when they are
1767         first child.
1769 2008-03-26  Philippe Brochard  <pbrochard@common-lisp.net>
1771         * src/clfswm-internal.lisp (select-next/previous-level): Don't use show-all-children
1772         -> less flickering.
1774 2008-03-25  Philippe Brochard  <pbrochard@common-lisp.net>
1776         * src/clfswm-info.lisp (keys-from-list): new function.
1778         * src/*: rename 'childs' in 'children'.
1780         * src/*: rename 'group' in 'frame'.
1782 2008-03-22  Philippe Brochard  <pbrochard@common-lisp.net>
1784         * src/clfswm-pack.lisp (explode-group/explode-current-group): new functions.
1786 2008-03-21  Philippe Brochard  <pbrochard@common-lisp.net>
1788         * src/clfswm-pack.lisp: Pack, Fill, Resize functions.
1790 2008-03-16  Philippe Brochard  <pbrochard@common-lisp.net>
1792         * src/clfswm-nw-hooks.lisp: Register system for new window hooks.
1793         Bind control+o to open the next window in a new group in the root group
1794          (as open in next window in a new workspace in 0801 version).
1796 2008-03-15  Philippe Brochard  <pbrochard@common-lisp.net>
1798         * src/clfswm-util.lisp (show/hide-all-groups-info/key): Show/hide all groups info
1799         window.
1801 2008-03-14  Philippe Brochard  <pbrochard@common-lisp.net>
1803         * bindings-second-mode.lisp ("ISO_Left_Tab"): Use ISO_Left_Tab
1804         instead of Tab for select-previous-child.
1806 2008-03-13  Philippe Brochard  <pbrochard@common-lisp.net>
1808         * clfswm-util.lisp (force-window-in-group/force-window-center-in-group):
1809         new functions.
1811 2008-03-11  Philippe Brochard  <pbrochard@common-lisp.net>
1813         * clfswm-util.lisp (identify-key): Display the documentation
1814         associated to keys when identifying a key.
1816 2008-03-10  Xavier Maillard  <xma@gnu.org>
1818         * contrib/clfswm: Complete rewrite of the script. Detect error and
1819         act accordingly. Add command line arguments to configure the
1820         script execution. User can now choose different common lisp
1821         implementation (clisp and sbcl only), choose where to store the
1822         dumped image, where to find clfswm source.
1824 2008-03-09  Philippe Brochard  <pbrochard@common-lisp.net>
1826         * clfswm-internal.lisp (process-new-window): Beginning of new
1827         window hook: each group have a hook to tell what he wants to do
1828         with the new created window.
1830 2008-03-08  Xavier Maillard  <xma@gnu.org>
1832         * contrib/clfswm: New script. Dump a CLISP image of CLFSWM then
1833         call the resulting executable.
1835         * clfswm.lisp (read-conf-file): Check for the user config file in
1836         XDG_CONFIG_HOME *first*. Freedesktop.org standards should be
1837         prefered whenever possible.
1839 2008-02-27  Philippe Brochard  <pbrochard@common-lisp.net>
1841         * clfswm-layout.lisp (*-layout): Add an optional raise-p
1842         parameter in each layout.
1844 2008-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
1846         * clfswm-util.lisp (copy/cut-current-child): Does not affect the
1847         root group.
1848         (copy/move-current-child-by-name/number): new functions
1849         (focus-group-by-name/number): new functions
1850         (delete-group-by-name/number): new functions
1852 2008-02-24  Philippe Brochard  <pbrochard@common-lisp.net>
1854         * ************************************************************ *
1855         *: Major update - No more reference  to workspaces. The main   *
1856         structure is a tree of groups or application windows.          *
1857         * ************************************************************ *
1859 2008-02-07  Philippe Brochard  <pbrochard@common-lisp.net>
1861         * clfswm.lisp (read-conf-file): Read configuration in
1862         $HOME/.clfswmrc or in /etc/clfswmrc or in
1863         $XDG_CONFIG_HOME/clfswm/clfswmrc.
1864         (xdg-config-home): Return the content of $XDG-CONFIG-HOME (default
1865         to $HOME/.config/).
1867 2008-01-18  Philippe Brochard  <pbrochard@common-lisp.net>
1869         * clfswm-internal.lisp (show-all-group): Use *root* and *root-gc*
1870         by default.
1872 2008-01-03  Philippe Brochard  <pbrochard@common-lisp.net>
1874         * clfswm-internal.lisp (find-window-group): New function.
1876         * clfswm*: Change to make clfswm run with clisp/new-clx.
1878 2008-01-01  Philippe Brochard  <pbrochard@common-lisp.net>
1880         * clfswm-util.lisp (query-show-paren): Add show parent matching in
1881         query string.
1882         (query-string): Bind control+k to delete end of line.
1884         * clfswm-second-mode.lisp (draw-second-mode-window): Display
1885         the action on mouse motion in second mode.
1887         * clfswm.lisp (handle-exposure): Redisplay groups on exposure
1888         event but do not clear the root window.
1889         (handle-configure-request): Adjust unmanaged window from their
1890         request.
1892         * clfswm-internal.lisp (process-new-window): Adjust new window
1893         with the specified hints (max/min/base width/height).
1895 2007-12-31  Philippe Brochard  <pbrochard@common-lisp.net>
1897         * clfswm.lisp (handle-configure-request): Send an Configuration
1898         Notify event. This solve a bug with xterm and rxvt who takes some
1899         times to be mapped. Now there is no delay.
1901         * bindings-second-mode.lisp (define-shell): Run programs after
1902         living the second mode.
1904 2007-12-30  Philippe Brochard  <pbrochard@common-lisp.net>
1906         * clfswm-internal.lisp (process-new-window): Do not crop transient
1907         window to group size.
1908         (adapt-window-to-group): Do not crop transient window to group
1909         size.
1911         * clfswm.lisp (handle-configure-request): Adapt just the window to
1912         its group and don't take care of the configure request. Remove the
1913         bug with the Gimp outside the group and speed up the window
1914         manipulation.
1915         (handle-exposure): Remove show-all-group on exposure event
1916         -> Speed up.
1918 2007-12-29  Philippe Brochard  <pbrochard@common-lisp.net>
1920         * clfswm-util.lisp (circulate-group-up-copy-window)
1921         (circulate-group-down-copy-window)
1922         (circulate-workspace-up-copy-group)
1923         (circulate-workspace-down-copy-group): Prevent the copy of the
1924         same window in the same workspace.
1926         * bindings-second-mode.lisp (release-copy-selected-window)
1927         (release-copy-selected-group): Prevent the copy of the same window
1928         in the same workspace.
1930         * clfswm-pager.lisp (generic-pager-move-window-on-previous-line)
1931         (generic-pager-move-window-on-next-line): Remove the copy
1932         property.
1933         (generic-pager-move-group-on-next-workspace)
1934         (generic-pager-move-group-on-previous-workspace): Prevent the copy
1935         of the same window in the same workspace.
1937         * bindings-pager.lisp (mouse-pager-copy-selected-window-release)
1938         (mouse-pager-copy-selected-group-release): Prevent the copy of the
1939         same window in the same workspace.
1941         * tools.lisp (setf/=): new macro to set a variable only when
1942         necessary.
1944         * clfswm-internal.lisp (adapt-window-to-group): use set/= to set
1945         x, y... only when necessary.
1947 2007-12-28  Philippe Brochard  <pbrochard@common-lisp.net>
1949         * clfswm.lisp (handle-configure-notify, *configure-notify-hook*):
1950         new function and hook: force windows to stay in its group (solve a
1951         bug with the Gimp).
1953 2007-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
1955         * bindings-second-mode.lisp (mouse-motion): use hide-group to have
1956         less flickering when moving/resizing groups.
1958         * clfswm-internal.lisp (hide-group): new function.
1959         (show-all-group): clear-all: new parameter.
1961 2007-12-22  Philippe Brochard  <pbrochard@common-lisp.net>
1963         * clfswm-keys.lisp (define-define-key): undefine-*-multi-name: new
1964         macro.
1965         * clfswm*: Color change for the pager. Typo or better description
1966         in bindings definitions. Define bindings for a qwerty keyboard by
1967         default. dot-clfswmrc show examples to switch to an azerty
1968         keyboard.
1969         License change to GPL v3.
1970         * config.lisp: new file - group all globals variables in this
1971         file.
1973 2007-08-26  Philippe Brochard  <pbrochard@common-lisp.net>
1975         * xlib-util.lisp (hide-window): Remove structure-notivy events
1976         when hidding a window.
1978 2007-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
1980         * package.lisp (*sm-property-notify-hook*): Readded
1981         property-notify-hook in second mode.
1983 2007-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
1985         * clfswm-keys.lisp (produce-doc-html): Better clean up for strings.
1987 2007-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
1989         * clfswm-pack.lisp (tile-current-workspace-to/right/left/top/bottom):
1990         Tile the current workspace with the current window on one side and
1991         others on the other (this emulate the larswm, dwm, wmii way). See
1992         the default configuration file to enable this mode by default.
1994         * clfswm-pager.lisp (pager-tile-current-workspace-to): idem for
1995         the pager.
1997 2007-05-12  Philippe Brochard  <pbrochard@common-lisp.net>
1999         * clfswm-pager.lisp (pager-draw-window-in-group): Add
2000         ensure-printable to print windows name even with non-ascii
2001         characters.
2003 2007-05-11  Philippe Brochard  <pbrochard@common-lisp.net>
2005         * clfswm-pager.lisp (pager-explode-current-group): Create a new
2006         group for each window in group.
2007         (pager-implode-current-group): Move all windows in workspace to
2008         one group and remove other groups.
2010         * clfswm-pack.lisp (explode-group): Create a new group for each
2011         window in group.
2012         (implode-group): Move all windows in workspace to one group and
2013         remove other groups.
2015         * clfswm-util.lisp (identify-key): Remove local configuration
2016         variables and made them available for configuration from
2017         package.lisp.
2018         (query-string): idem.
2020 2007-04-29  Philippe Brochard  <pbrochard@common-lisp.net>
2022         * netwm-util.lisp: Start of NetWM compliance.
2023         Add a Netwm client list gestion.
2025 2007-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
2027         * clfswm-internal.lisp (create-group-on-request): open a new group
2028         only when the current group is not empty.
2030         * bindings-second-mode.lisp (define-second-key-#\o-control): Fix a
2031         bug with null workspace.
2033         * clfswm-pager.lisp (pager-handle-event): Add a hook
2034         system. This hooks can be changed in the user configuration file.
2036         * package.lisp: All colors and font variables are set in
2037         package.lisp and can be configured in the user configuration
2038         file.
2039         Note: If you have configured some less ugly colors (esp. for the
2040         pager) don't hesitate to let me know :)
2042         * clfswm-second-mode.lisp (sm-handle-event): Add a hook
2043         system. This hooks can be changed in the user configuration file.
2045         * clfswm.lisp (handle-event): Add a hook system. This hooks can be
2046         changed in the user configuration file (~/.clfswmrc)
2048 2007-04-25  Philippe Brochard  <pbrochard@common-lisp.net>
2050         * clfswm-util.lisp (stop-all-pending-actions): new function: reset
2051         arrow action, open next window in new workspace/group.
2053         * bindings.lisp (stop-all-pending-actions): new binding.
2054         (open-next-window-in-new-group-once): Open the next windows in a
2055         new group (only once) or open all new windows in a new group (like
2056         others windows managers).
2058 2007-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
2060         * clfswm.lisp (read-conf-file): New function to read a lisp
2061         configuration file at startup.
2062         (focus-group-under-mouse): Check if group isn't the current group
2063         ( prevent a bug with unclutter ).
2065 2007-03-02  Philippe Brochard  <pbrochard@common-lisp.net>
2067         * bindings.lisp (run-program-from-query-string): A program can be
2068         launch from a input query window.
2070 2007-03-01  Philippe Brochard  <pbrochard@common-lisp.net>
2072         * clfswm-info.lisp: Fix a bug with banish pointer in info mode.
2074 2007-02-28  Philippe Brochard  <pbrochard@common-lisp.net>
2076         * clfswm.lisp (process-new-window): One can now open the next
2077         window in a workspace called by its number.
2079         * clfswm-util.lisp (query-font-string): Minimal editing
2080         capabilities.
2081         (eval-from-string): And an REPL in the window manager... :)
2083 2007-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
2085         * clfswm.lisp (process-new-window): One can now open the next
2086         window in a new workspace or a new group.
2088         * clfswm-pager.lisp (pager-mode): Display the next arrow action
2089         with the hidden windows.
2091         * clfswm.lisp (second-key-mode): Display the current workspace
2092         number and the next arrow action in the state window.
2094         * clfswm-pager.lisp (pager-mode): Hide all windows before leaving
2095         the pager mode and then redisplay only the current workspace.
2097 2007-02-25  Philippe Brochard  <pbrochard@common-lisp.net>
2099         * clfswm.lisp (add-workspace): Workspaces are now numbered. So
2100         they can be focused with a keypress, sorted or renumbered.
2102 2007-02-24  Philippe Brochard  <pbrochard@common-lisp.net>
2104         * clfswm-pager.lisp (pager-mode): Remove multiple silly
2105         pager-draw-display. This prevent a lot of flickering in the
2106         pager.
2108         * clfswm.lisp: Remove all display-force-output and replace them
2109         with only one display-finish-output in the event loop.
2111 2006-11-06  Philippe Brochard  <pbrochard@common-lisp.net>
2113         * clfswm-pager.lisp (pager-center-group): New function - center a
2114         group at the middle of the screen.
2116         * clfswm-pack.lisp (center-group): New function - center a group
2117         at the middle of the screen.
2119         * clfswm.lisp (show-group): Add a cross line under the group.
2120         (show-group): Group are showned even if fullscreened.
2121         (init-display): Add an exposure event on the root window.
2123 2006-11-05  Philippe Brochard  <pbrochard@common-lisp.net>
2125         * package.lisp (*default-group*): Default group is the same size
2126         of a fullscreened group.
2128         * bindings*: Use shift to move, control+shift to copy.
2130         * *.lisp: Add comments for configuration or alternatives. So grep
2131         for CONFIG to see where you can configure clfswm. And grep for
2132         Alternative to use some commented code.
2134         * clfswm.lisp (second-key-mode): Use a single window to show the
2135         second mode. See for alternatives at the end of this file.
2137 2006-11-03  Philippe Brochard  <pbrochard@common-lisp.net>
2139         * clfswm-keys.lisp (define-define-key/mouse): Factorisation in a
2140         macro of key and mouse definitions.
2141         (define-define-key/mouse): Use state instead of modifiers list
2142         this fix a bug when the modifiers list is not in the rigth order.
2144         * clfswm.lisp (second-key-mode): Add a colored border in second mode.
2146 2006-11-02  Philippe Brochard  <pbrochard@common-lisp.net>
2148         * clfswm-info.lisp (info-mode): Add an info mode.
2150 2006-11-01  Philippe Brochard  <pbrochard@common-lisp.net>
2152         * clfswm.lisp (process-new-window): Change border size for
2153         transient windows.
2154         (show-all-windows-in-workspace): Unhide all windows even when the
2155         current group is in fullscreen mode.
2157 2006-10-26  Philippe Brochard  <pbrochard@common-lisp.net>
2159         * clfswm-util.lisp (identify-key): Add an exposure handle-event to
2160         redisplay the identify window after a terminal switch.
2162         * clfswm-pager.lisp (pager-mode): Add an exposure handle-event to
2163         redisplay the pager after a terminal switch.
2165 2006-10-24  Philippe Brochard  <pbrochard@common-lisp.net>
2167         * clfswm-util.lisp (identify-key): Add a window to display
2168         the keys to identify on screen.
2170         * bindings.lisp, bindings-pager.lisp: Define same keys to
2171         move/copy groups/windows in second mode and in pager.
2173         * clfswm.lisp (handle-event*): Same version in all clfswm (fix some
2174         drawing lags).
2175         (show-all-windows-in-workspace): unhide window before adapting it
2176         to group.
2178 2006-10-23  Philippe Brochard  <pbrochard@common-lisp.net>
2180         * clfswm.lisp (handle-event): Revert to an older version.
2182 2006-10-18  Philippe Brochard  <pbrochard@common-lisp.net>
2184         * clfswm-util.lisp (force-window-in-group)
2185         (force-window-center-in-group): New functions for transient windows.
2187         * clfswm-pager.lisp (pager-remove-current-workspace/group):
2188         bugfix: hide all windows before removing group or workspace.
2190 2006-10-17  Philippe Brochard  <pbrochard@common-lisp.net>
2192         * bindings-pager.lisp (mouse-pager-move-selected-group)
2193         (mouse-pager-copy-selected-group)
2194         (mouse-pager-move-selected-window)
2195         (mouse-pager-copy-selected-window, mouse-pager-rotate-window-up)
2196         (mouse-pager-rotate-window-down): New functions to have mouse in
2197         pager mode.
2199         * clfswm-pager.lisp (pager-swap-window)
2200         (pager-copy-group-on-next/previous-workspace)
2201         (pager-copy-window-on-next/previous-line): New functions
2203 2006-10-15  Philippe Brochard  <pbrochard@common-lisp.net>
2205         * clfswm-pager.lisp (pager-move-window-on-next/previous-line,
2206         (pager-move-group-on-next/previous-workspace): new functions.
2208         * clfswm-pack.lisp (resize-half-x-x-current-group): resize group
2209         to its half size (new functions).
2211 2006-10-11  Philippe Brochard  <pbrochard@common-lisp.net>
2213         * clfswm-pager.lisp: workspaces, groups and windows can now be
2214         selectionned with the keyboard or the mouse.
2216 2006-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
2218         * clfswm-pager.lisp (pager-select-workspace-right/left):
2219         workspaces can now be selectionned with the keyboard.
2221 2006-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
2223         * clfswm-keys.lisp (undefine-main-key, undefine-second-key, undefine-mouse-action):
2224         new function to remove a previous defined key or mouse combination.
2226 2006-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
2228         * clfswm.lisp (main): Check for access error in init-display.
2230         * clfswm-keys.lisp (define-ungrab/grab): check for keysym and
2231         keycode before grabbing.
2233         * bindings.lisp: Remove nlambda and use defun to keep the function
2234         documentation with clisp.
2235         (define-shell): new macro to define shell command for the second
2236         mode.
2238 2006-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
2240         * clfswm-keys.lisp (define-ungrab/grab): use a cond instead of a
2241         boggus typecase.
2243 2006-10-05  Philippe Brochard  <pbrochard@common-lisp.net>
2245         * bindings.lisp (accept-motion): Move group bugfix in upper mouse
2246         workspace circulation.
2248         * clfswm-util.lisp (absorb-orphan-window): new function.
2250         * clfswm-keys.lisp: Keysyms support.
2252 2006-10-02  Philippe Brochard  <pbrochard@common-lisp.net>
2254         * clfswm.lisp (show-group): Use one gc for all groups and not one
2255         per group.
2257 2006-10-01  Philippe Brochard  <pbrochard@common-lisp.net>
2259         * bindings.lisp (define-second-key (#\l :mod-1)): fix a typo.
2261         * clfswm.lisp (adapt-window-to-group): Adapt only windows with
2262         width and height outside group.
2264 2006-09-28  Philippe Brochard  <pbrochard@common-lisp.net>
2266         * clfswm.lisp: First public release.