src/clfswm-internal.lisp (place-frames-from-xinerama-infos): handle better no xineram...
[clfswm.git] / ChangeLog
blob927932a77fd80d3310297aad714f572902bfb4a5
1 2012-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
3         * src/clfswm-internal.lisp (place-frames-from-xinerama-infos):
4         handle better no xinerama support case.
6 2012-10-04  Philippe Brochard  <pbrochard@common-lisp.net>
8         * contrib/wallpaper.lisp (generate-wallpaper): Force waiting the
9         end of convert.
10         (wallpaper): Open a notify window to wait wallpaper creation.
12         * src/clfswm.lisp (main-mode: configuer request): Call
13         *root-size-change* hook on each root size change. This let CLFSWM
14         refresh background wallpaper on root size changes.
16         * src/clfswm-internal.lisp (place-frames-from-xinerama-infos):
17         Handle root screen resize on the fly when adding or removing a
18         monitor.
20         * src/clfswm-menu.lisp (open-menu): Show key bindings also for
21         menu entry.
23 2012-10-03  Philippe Brochard  <pbrochard@common-lisp.net>
25         * src/clfswm-menu.lisp (open-menu): Show key bindings
26         correspondence in menu for main and second mode.
28         * src/clfswm.lisp (main-loop): Reset X error count only once for
29         all loops.
31 2012-10-02  Philippe Brochard  <pbrochard@common-lisp.net>
33         * src/xlib-util.lisp (handle-event): Ignore synchronous xlib
34         window-error and drawable-error in event handler.
36         * contrib/clfswm: Dump different image from different installation
37         path.
39 2012-09-30  Philippe Brochard  <pbrochard@common-lisp.net>
41         * src/clfswm.lisp (configure-request handler): Send a
42         configuration notify event in a more precise way.
44 2012-09-29  Philippe Brochard  <pbrochard@common-lisp.net>
46         * src/xlib-util.lisp (with-xlib-protect): Limit X errors ignored
47         to prevent freezes and add a backtrace system.
49 2012-09-23  Philippe Brochard  <pbrochard@common-lisp.net>
51         * src/clfswm.lisp (configure-request handler): To be ICCCM
52         compliant, send a fake configuration notify event only when the
53         window has moved and not when it has been resized.
55 2012-09-21  Philippe Brochard  <pbrochard@common-lisp.net>
57         * Relase 1209
59 2012-09-09  Philippe Brochard  <pbrochard@common-lisp.net>
61         * src/clfswm-internal.lisp
62         (delete-child-and-children-in-all-frames): Remove all children in
63         frames and only close windows.
65         * src/*.lisp: Remove uneeded with-xlib-protect.
67 2012-09-06  Philippe Brochard  <pbrochard@common-lisp.net>
69         * contrib/wallpaper.lisp (wallpaper): create/use-background
70         simplification function.
72 2012-09-05  Philippe Brochard  <pbrochard@common-lisp.net>
74         * contrib/wallpaper.lisp: New functionality to handle backgrounds
75         on differents screen heads.
77         * contrib/toolbar.lisp (toolbar-adjust-root-size): Takes care of
78         multiple toolbar on the same root edge.
80 2012-09-04  Philippe Brochard  <pbrochard@common-lisp.net>
82         * src/clfswm-internal.lisp (show-all-children): Hide only children
83         hidden by normal windows or frames (but not :dialog,
84         :transient...).
85         (process-new-window): Remove borders for maxsize windows.
86         (show-all-children): Let the choice to always display children or
87         to optimize by hidding children not seen . The first option is
88         better with transparency support (frames behind orther frames are
89         seen). The second one is faster with many children in the same
90         frame (not seen children are not displayed).
92 2012-08-31  Philippe Brochard  <pbrochard@common-lisp.net>
94         * src/xlib-util.lisp (with-xlib-protect): Handle all Xlib errors
95         for better code protection.
97 2012-08-28  Philippe Brochard  <pbrochard@common-lisp.net>
99         * src/clfswm-expose-mode.lisp (expose-query-key-press-hook): Add
100         an option to immediately select child if they can be directly
101         accessed.
103 2012-08-25  Philippe Brochard  <pbrochard@common-lisp.net>
105         * contrib/volume-mode.lisp: Add mouse buttons actions in volume
106         mode. Add a volume button toolbar module.
108 2012-08-24  Philippe Brochard  <pbrochard@common-lisp.net>
110         * contrib/mpd.lisp: New toolbar modules (available only if
111         toolbar.lisp is loaded).
112         Add a small parameter for toolbar modules useful with vertical
113         toolbars.
115 2012-08-21  Philippe Brochard  <pbrochard@common-lisp.net>
117         * contrib/reboot-halt.lisp: Add configuration command for system
118         actions.
120         * contrib/toolbar.lisp (toggle-toolbar-hide-state): New function.
122 2012-08-20  Philippe Brochard  <pbrochard@common-lisp.net>
124         * src/clfswm-internal.lisp (add-in-never-managed-window-list): New
125         function.
127 2012-08-20  Philipp Kroos  <philipp.kroos@t-online.de>
129         * src/clfswm-placement.lisp (here-placement): Evaluates to current
130         position of pointer.
132 2012-08-20  Philipp Kroos  <philipp.kroos@t-online.de>
134         * contrib/toolbar.lisp: Add an expose-mode-button-module.
136 2012-08-19  Philippe Brochard  <pbrochard@common-lisp.net>
138         * contrib/toolbar.lisp (remove-toolbar): New function.
140 2012-08-18  Philippe Brochard  <pbrochard@common-lisp.net>
142         * contrib/toolbar.lisp: Add configurable colors in toolbar
143         modules.
145 2012-08-16  Philippe Brochard  <pbrochard@common-lisp.net>
147         * src/tools.lisp: Factorize system usage information collection.
148         (start-system-poll): Use a lock file instead of a local variable.
150         * contrib/toolbar.lisp: Add memory, cpu and battery usage module
151         with a poll methode. More responsive but up to date every 10s by
152         default.
154 2012-08-15  Philippe Brochard  <pbrochard@common-lisp.net>
156         * contrib/toolbar.lisp: Add a clickable label module for toolbar.
157         Add a clickable entry to open the CLFSWM main menu.
158         Add memory, cpu and battery usage module.
160         * src/clfswm-menu.lisp (open-menu): Prevent to reopen an opened
161         menu. Fixe a but with negative selected-item.
163 2012-08-14  Philippe Brochard  <pbrochard@common-lisp.net>
165         * src/clfswm-util.lisp (eval-from-query-string): Show a notify
166         window when updating symobls list for REPL completion.
167         (show-current-root): New function and configuration menu to
168         display a message on the current root.
170         * contrib/toolbar.lisp: Add arguments in toolbar modules.
172         * src/xlib-util.lisp (event-hook-name): Intern hook name symbol
173         in :clfswm package.
175 2012-08-13  Philippe Brochard  <pbrochard@common-lisp.net>
177         * contrib/toolbar.lisp (toolbar-module-text): Print a formatted
178         text at module position centered in toolbar.
180         * src/xlib-util.lisp (optimize-event-hook): Remove unused event
181         hooks.
183 2012-08-12  Philippe Brochard  <pbrochard@common-lisp.net>
185         * contrib/toolbar.lisp: End of toolbar framework.
186         (list-toolbar-modules): Add a list toolbar modules function.
188 2012-08-03  Philippe Brochard  <pbrochard@common-lisp.net>
190         * src/clfswm-internal.lisp (show-child): Show unmanaged windows
191         on (maybe) current child in all roots.
193         * src/clfswm-util.lisp (find-child-under-mouse-in-child-tree):
194         Handle children from all roots instead of from  *root-frame*.
196 2012-07-23  Philippe Brochard  <pbrochard@common-lisp.net>
198         * src/clfswm-expose-mode.lisp: New expose mode based on standard
199         query input.
201 2012-06-27  Philippe Brochard  <pbrochard@common-lisp.net>
203         * src/clfswm-util.lisp (eval-from-query-string): Add completion
204         for eval for query string.
206 2012-06-26  Philippe Brochard  <pbrochard@common-lisp.net>
208         * src/clfswm-query.lisp: Add completion for shell commands.
210 2012-06-18  Philippe Brochard  <pbrochard@common-lisp.net>
212         * src/clfswm-placement.lisp: Each child can have its own border
213         size. New binding to change the child border size on the fly.
215 2012-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
217         * src/tools.lisp (process-timers): Call get-internal-real-time
218         only once for all times.
220 2012-06-07  Philippe Brochard  <pbrochard@common-lisp.net>
222         * contrib/toolbar.lisp (define-toolbar-hooks): Add auto-hide
223         clickable toolbar.
224         (define-toolbar-hooks): Add auto-hide toolbar (show/hide on mouse
225         motion event).
227 2012-06-06  Philippe Brochard  <pbrochard@common-lisp.net>
229         * src/xlib-util.lisp (handle-event): Add an additional hook event
230         system to handle events in contrib code.
232 2012-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
234         * src/clfswm-placement.lisp: Add an optional border size in all
235         placement functions.
237 2012-05-30  Philippe Brochard  <pbrochard@common-lisp.net>
239         * contrib/toolbar.lisp (clock): Add a clock module.
241 2012-05-28  Philippe Brochard  <pbrochard@common-lisp.net>
243         * contrib/toolbar.lisp: begining of toolbar support.
245 2012-05-24  Philippe Brochard  <pbrochard@common-lisp.net>
247         * src/clfswm-internal.lisp (rotate-root-geometry): Do not use
248         rotatef but a simpler algorithm.
250 2012-05-19  Philippe Brochard  <pbrochard@common-lisp.net>
252         * src/clfswm-placement.lisp: Adjust width and height in child and
253         root placement to prevent too big child size.
255 2012-05-18  Philippe Brochard  <pbrochard@common-lisp.net>
257         * src/clfswm-placement.lisp: New root placement possibility.
259         * src/clfswm-util.lisp (change-current-root-geometry): New
260         function.
262 2012-05-17  Philippe Brochard  <pbrochard@common-lisp.net>
264         * src/clfswm-util.lisp (exchange-root-geometry-with-mouse): New
265         function and menu.
267 2012-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
269         * src/menu-def.lisp: New root menu.
271 2012-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
273         * src/clfswm-circulate-mode.lisp (rotate-root-geometry-next)
274         (rotate-root-geometry-previous): New second mode binding to change
275         root geometry.
277 2012-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
279         * src/clfswm-internal.lisp: Remove the *current-child* variable
280         and use a setfable function (current-child) instead.
281         (current-child-setter): Store root current child before apllying
282         current child change.
284 2012-05-09  Philippe Brochard  <pbrochard@common-lisp.net>
286         * src/clfswm-internal.lisp: Use xdpyinfo/xinerama informations
287         instead of xrandr informations.
289 2012-05-06  Philippe Brochard  <pbrochard@common-lisp.net>
291         * src/clfswm-internal.lisp : Use only one list for root
292         management.
293         (*root*): Root management API simplification.
295 2012-04-30  Philippe Brochard  <pbrochard@common-lisp.net>
297         * src/clfswm-internal.lisp: Big change to replace *current-root*
298         variable to support multiple root.
300 2012-04-18  Philippe Brochard  <pbrochard@common-lisp.net>
302         * src/tools.lisp (add-new-hook, add-hook): New macro. Do not
303         duplicate hooks by default. Use add-new-hook if you want to
304         duplicate them.
306 2012-04-16  Philippe Brochard  <pbrochard@common-lisp.net>
308         * src/clfswm-corner.lisp (wait-window-in-query-tree): Add a limit
309         of try to wait the command window.
311 2012-02-25  Philippe Brochard  <pbrochard@common-lisp.net>
313         * src/clfswm-util.lisp (place-frames-from-xrandr)
314         (swap-frame-geometry, rotate-frame-geometry): New helper functions
315         for multiple physical screen.
316         (jump-to-slot, add-frame-in-parent-frame): Change *current-root*
317         only when needed.
319 2012-01-18  Philippe Brochard  <pbrochard@common-lisp.net>
321         * src/*.lisp: Use create-symbol and create-symbol-in-package
322         instead of the shorter symb. (Thanks Aad Versteden).
324         * src/bindings-second-mode.lisp (set-default-second-keys): New
325         key binding to set window and frame transparency.
327         * src/bindings.lisp (set-default-main-mouse): New mouse binding to
328         set window and frame transparency.
330         * src/clfswm-keys.lisp (define-keys): New macro to ease multiple
331         keys definitions. (Thanks Valentin Plechinger for the request).
333         * src/*.lisp: Add full transparency support with xcompmgr.
335 2012-01-14  Philippe Brochard  <pbrochard@common-lisp.net>
337         * src/*.lisp: Add transparency support.
339 2012-01-09  Ales Guzik <ales.guzik@gmail.com>
341         * src/clfswm-layout.lisp (tile-layout-mix): New layout to
342         automatically choose between vertival and horizontal tile layout.
343         (tile-space-layout): Fix to have space between screen border and
344         frame the same as between frames.
346 2012-01-04  Philippe Brochard  <pbrochard@common-lisp.net>
348         * load.lisp: Support clisp 2.49+ module system to load CLX.
350 2012-01-04  Ales Guzik <ales.guzik@gmail.com>
352         * src/clfswm-layout.lisp (update-layout-managed-children-keep-position):
353         Fix an inattention error.
355 2012-01-04  Philippe Brochard  <pbrochard@common-lisp.net>
357         * src/xlib-util.lisp (with-xlib-protect): Protect from
358         xlib:lookup-error. This prevent an error in clisp/new-clx when
359         sometimes an xlib:colormap is expected instead of an xlib:window.
361 2012-01-03  Philippe Brochard  <pbrochard@common-lisp.net>
363         * src/xlib-util.lisp (handle-event): Fix a clisp/new-clx error
364         when sometimes window slot of event-slots is a pixmap instead of a
365         window.
367 2011-12-26  Philippe Brochard  <pbrochard@common-lisp.net>
369         * src/clfswm-query.lisp: Fill the history list with a non-nil
370         value.
372 2011-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
374         * src/package.lisp (make-x-drawable): Drawable wrapper to prevent
375         type error in some CLX versions.
376         Replace xlib:drawable-* functions with x-drawable-* equivalents
378 2011-12-14  Philippe Brochard  <pbrochard@common-lisp.net>
380         * src/clfswm-util.lisp (um-create-xdg-section-list): Add at least
381         the 'Utility menu entry.
383         * src/config.lisp (*xdg-section-list*): moved to config.lisp.
385         * src/clfswm-util.lisp (update-menus): Set a default value for
386         searching .desktop files when XDG_DATA_DIRS is not set.
388 2011-10-15  Philippe Brochard  <pbrochard@common-lisp.net>
390         * src/clfswm-internal.lisp (place-window-from-hints): Use
391         with-placement macro to place unmanaged windows in an arbitrary
392         place.
394 2011-06-16  Philippe Brochard  <pbrochard@common-lisp.net>
396         * src/clfswm-internal.lisp (clean-windows-in-all-frames): Prevent
397         current root and current child being equal to child.
399 2011-06-13  Philippe Brochard  <pbrochard@common-lisp.net>
401         * src/keysyms.lisp: Repeat Page_Down/Up keysym definitions at the
402         end of the file to change keysyms priority.
404 2011-06-13  Sylvain HENRY <hsyl20@gmail.com>
406         *  *.*: Minor spelling fix.
408 2011-06-12  Philippe Brochard  <pbrochard@common-lisp.net>
410         * src/clfswm.lisp (:unmap-notify, :destroy-notify): Show all
411         children just after the xlib tree cleanup -> reduce the
412         flickering when a window is deleted or destroyed.
414         * src/clfswm-internal.lisp (process-existing-windows): Do not
415         process the notify window.
417 2011-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
419         * *: **** Release 1106 ****
421 2011-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
423         * src/clfswm-internal.lisp (clean-windows-in-all-frames): New
424         function to prevent xlib error when a window is deleted.
426 2011-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
428         * src/clfswm-internal.lisp
429         (delete-child-and-children-in-all-frames): Delete or destroy
430         children before displaying all children.
432 2011-06-05  Philippe Brochard  <pbrochard@common-lisp.net>
434         * src/clfswm-util.lisp (add-frame-in-parent-frame): New function
435         and binding.
437 2011-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
439         * src/clfswm.lisp (main-unprotected): Destroy all frames windows
440         before closing the display (not really needed).
442 2011-06-02  Philippe Brochard  <pbrochard@common-lisp.net>
444         * src/clfswm-layout.lisp (inc-tile-layout-size)
445         (dec-tile-layout-size, inc-slow-tile-layout-size)
446         (dec-slow-tile-layout-size): New functions and bindings.
448 2011-06-01  Philippe Brochard  <pbrochard@common-lisp.net>
450         * src/clfswm-expose-mode.lisp (define-expose-letter-keys): Add
451         0..1 and A..Z keys to select a child in exposé mode.
453         * src/clfswm-internal.lisp (display-frame-info): Remove hidden
454         infos in frames windows.
456         * src/clfswm-util.lisp (ask-close/kill-current-window): Menu
457         update.
459 2011-05-30  Philippe Brochard  <pbrochard@common-lisp.net>
461         * src/clfswm-internal.lisp (get-parent-layout): Minor fullscreen
462         size tweaking.
464 2011-05-29  Philippe Brochard  <pbrochard@common-lisp.net>
466         * src/clfswm-internal.lisp
467         (delete-child-and-children-in-all-frames): Show all children
468         before deleting/destroying a windows, so prevent a flickering.
469         (get-parent-layout): Return the fullscreen size when the current
470         root is a window.
472 2011-05-28  Philippe Brochard  <pbrochard@common-lisp.net>
474         * src/clfswm-internal.lisp (get-parent-layout): Handle correctly
475         unmanaged windows.
477         * src/clfswm-util.lisp (delete-focus-window-generic): Do not hide
478         child before removing, so prevent a flickering.
480         * src/clfswm-internal.lisp (show-all-children): Rectangular
481         optimization to display only needed children.
482         (show-all-children): Remove flickering on
483         select-next/previous-brother.
485 2011-05-17  Philippe Brochard  <pbrochard@common-lisp.net>
487         * src/clfswm-util.lisp (copy-focus-window, cut-focus-window): New
488         functions and ask-close/kill-current-window menu and bindings
489         entry.
491 2011-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
493         * src/clfswm-util.lisp (ask-close/kill-current-window): Add an
494         *ask-close/kill-placement* placement window variable.
496 2011-05-09  Philippe Brochard  <pbrochard@common-lisp.net>
498         * contrib/osd.lisp (funcall-button-from-code): Display osd
499         documention for buttons and fix some redefining warnings.
501 2011-05-07  Philippe Brochard  <pbrochard@common-lisp.net>
503         * src/clfswm-nw-hooks.lisp (make-permanent-nw-hook-frame): New
504         function. Prevent to add or delete a new window hook for this
505         frame.
507         * src/clfswm-layout.lisp (update-layout-managed-children-position):
508         New function.
510 2011-05-06  Philippe Brochard  <pbrochard@common-lisp.net>
512         * src/bindings-second-mode.lisp (set-default-second-keys):
513         select-brother-spatial-move-* binding update.
515         * src/clfswm-layout.lisp (tile-left|right|top|bottom-layout): Ask
516         to keep children positions or not.
518         * src/clfswm-internal.lisp (fixe-real-size): Takes care of border
519         size.
521         * src/clfswm-layout.lisp (update-layout-managed-children): Fix a
522         bug by using the parent frame instead of the current child.
524         * src/clfswm-circulate-mode.lisp
525         (select-brother-generic-spatial-move+right/left/up/down): New
526         function to select a brother from another in a spatial move.
528 2011-04-19  Philippe Brochard  <pbrochard@common-lisp.net>
530         * src/clfswm-pack.lisp (move-frame-constrained)
531         (resize-frame-constrained): Use pixels instead of floating
532         measure.
534 2011-04-18  Philippe Brochard  <pbrochard@common-lisp.net>
536         * src/clfswm-pack.lisp (resize-frame-constrained): Takes care of
537         border size.
538         (implode-frame, implode-current-frame): New functions. Absorb all
539         frames subchildren in frame. Explode frame opposite.
541 2011-04-17  Philippe Brochard  <pbrochard@common-lisp.net>
543         * src/clfswm-pack.lisp (move-frame-constrained)
544         (resize-frame-constrained): New function. Move and resize frame
545         with the mouse constrained by other frame brothers.
547 2011-04-14  Philippe Brochard  <pbrochard@common-lisp.net>
549         * src/clfswm-util.lisp (with-movement-select-next-brother)
550         (with-movement-select-previous-brother)
551         (with-movement-select-next-child): Use a simple method (do not
552         enter in the circulate mode) to allow to circulate in all children
553         or brothers.
555         * src/clfswm-menu.lisp (open-menu): Save info hash table keys
556         instead of deleting newly created keys.
558 2011-03-21  Philippe Brochard  <pbrochard@common-lisp.net>
560         * src/clfswm-internal.lisp (x-px->fl, y-px->fl): Takes care of
561         border size.
563 2011-03-20  Philippe Brochard  <pbrochard@common-lisp.net>
565         * src/clfswm-info.lisp (show-config-variable): call
566         produce-conf-var-doc.
568 2011-03-18  Philippe Brochard  <pbrochard@common-lisp.net>
570         * src/clfswm-autodoc.lisp (produce-conf-var-doc-html): Produce a
571         documentation for all configurable variables in CLFSWM -
572         HTML version.
574         * src/clfswm-internal.lisp (leave-frame): Hide all children except
575         the current window.
577 2011-03-16  Philippe Brochard  <pbrochard@common-lisp.net>
579         * src/clfswm-autodoc.lisp (produce-all-docs): Produce a
580         documentation for all configurable variables in CLFSWM.
582         * src/clfswm-layout.lisp (set-gimp-layout): Display a notify
583         window with the help on the GIMP layout.
585 2011-03-12  Philippe Brochard  <pbrochard@common-lisp.net>
587         * src/menu-def.lisp: Menu update to prevent cursor keys clash.
589         * clfswm.asd: Change compilation order to prevent undefined
590         variables.
592         * src/clfswm-internal.lisp (show-child(frame)): Handle properly
593         the show-root-frame-p parameter.
595 2011-03-11  Philippe Brochard  <pbrochard@common-lisp.net>
597         * src/clfswm-util.lisp (move-frame, resize-frame): Do not move or
598         resize a frame when it's the current root.
600 2011-03-10  Philippe Brochard  <pbrochard@common-lisp.net>
602         * src/clfswm-internal.lisp (show-all-children): Handle properly
603         duplicated child in multipe frames.
605 2011-03-09  Philippe Brochard  <pbrochard@common-lisp.net>
607         * contrib/volume-mode.lisp (set-default-volume-keys): Add more
608         keybindings (up/down, right/left) to raise/lower the volume.
610         * src/clfswm-layout.lisp: Add a variable border size for frames
611         and windows.
613 2011-03-08  Philippe Brochard  <pbrochard@common-lisp.net>
615         * src/clfswm-util.lisp (cut-current-child, remove-current-child)
616         (delete-current-child): Hide the current child before doing the
617         action.
619         * src/clfswm-internal.lisp (show-all-children): Hide windows not
620         in the current root before displaying those in current root.
621         Remove all hide-all unnecessary calls.
623         * src/clfswm-configuration.lisp (save-variables-in-conf-file):
624         Save only variables with a different value than their original
625         value.
627 2011-03-07  Philippe Brochard  <pbrochard@common-lisp.net>
629         * src/clfswm-info.lisp (show-config-variable): Use the new
630         defconfig method.
632         * src/clfswm-autodoc.lisp (produce-configuration-variables): Use
633         the new defconfig method.
635         * src/clfswm-configuration.lisp (create-configuration-menu):
636         Change the config system with a more lispy one and a less string
637         based one: (defconfig name value group doc).
640 2011-03-06  Philippe Brochard  <pbrochard@common-lisp.net>
642         * src/clfswm-internal.lisp (show-all-children): Simplify the
643         selection method.
644         (show-child): Display an unmanaged window whe  it's the current
645         child.
646         (show-all-children): add the ability to display all child from
647         *root-frame* and hide all those who are not in *current-root*.
648         -> remove hide-all-children when needed.
650         * src/xlib-util.lisp (move-window,resize-window): Add a
651         *color-move-window* border when moving or resizing a window.
653 2011-03-04  Philippe Brochard  <pbrochard@common-lisp.net>
655         * src/clfswm-internal.lisp (show-all-children): Perform only one
656         recusion on the clfswm tree: calculate geometry and place child in
657         one pass.
659 2011-03-03  Philippe Brochard  <pbrochard@common-lisp.net>
661         * src/clfswm-internal.lisp (show-all-children): Rethink of display
662         child order to prevent very annoying flickering.
664 2011-02-27  Philippe Brochard  <pbrochard@common-lisp.net>
666         * src/clfswm-util.lisp (query-yes-or-no): New function.
668         * src/clfswm-configuration.lisp (reset-all-config-variables): New
669         function and menu entry.
670         (query-conf-value): Add the ability to leave the field blank to
671         reset the variable to its default value.
673 2011-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
675         * src/clfswm-configuration.lisp
676         (add-all-configuration-default-value): Add a default value to
677         configurable variables.
679 2011-02-23  Philippe Brochard  <pbrochard@common-lisp.net>
681         * src/clfswm.lisp (main-unprotected): Create the configuration
682         menu only once at startup.
684 2011-02-22  Desmond O. Chang <dochang@gmail.com>
686         * contrib/amixer.lisp: Add a volume mode inspired by the emms
687         volume package. Alsa mixer interface.
689         * contrib/volume-mode.lisp: Add a volume mode inspired by the emms
690         volume package.
692 2011-02-22 Desmond O. Chang <dochang@gmail.com>
694         * src/clfswm.lisp (main): Use ASDF:SYSTEM-SOURCE-DIRECTORY instead
695         of *LOAD-TRUENAME*. *LOAD-TRUENAME* is only bound during a call to
696         LOAD. If one eval CLFSWM:MAIN in repl, BASE-DIR will be an empty
697         string. Use ASDF:SYSTEM-SOURCE-DIRECTORY to fix it.
699 2011-02-16  Philippe Brochard  <pbrochard@common-lisp.net>
701         * src/clfswm.lisp (main-unprotected): Add a close hook. And close
702         the notify window, the virtual keyboard and the clfswm terminal by
703         default.
705 2011-02-15  Philippe Brochard  <pbrochard@common-lisp.net>
707         * src/clfswm.lisp (main-unprotected): Destroy the notify window
708         before closing the display. This fix a bug when resetting/reloading
709         clfswm.
711 2011-02-12  Philippe Brochard  <pbrochard@common-lisp.net>
713         * src/xlib-util.lisp (equal-wm-class-fun, equal-wm-name-fun)
714         (raise-window-fun, raise-and-focus-window-fun): New functions.
716         * src/config.lisp (*clfswm-terminal-cmd*): Switch from xterm to
717         urxvt.
718         (*never-managed-window-list*): Structure change to be more
719         flexible. Let the choice to focus, raise and do nothing on never
720         managed windows.
722 2011-02-09  Philippe Brochard  <pbrochard@common-lisp.net>
724         * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Take
725         care of never managed windows to move or resize them if the raise
726         parameter is true.
728         * src/clfswm-internal.lisp (in-frame, in-window, in-child): New
729         functions.
731 2011-02-08  Philippe Brochard  <pbrochard@common-lisp.net>
733         * src/clfswm.lisp (main-mode): Raise or not unmanaged windows
734         following request in *never-managed-window-list*.
736 2011-02-05  Philippe Brochard  <pbrochard@common-lisp.net>
738         * *: **** Release 1102 ****
740 2011-02-05  Desmond O. Chang <dochang@gmail.com>
742         * src/keysyms.lisp: Add extended keysyms from stumpwm.
744 2011-02-01  Desmond O. Chang <dochang@gmail.com>
746         * src/clfswm-util.lisp (run-or-raise): New function (thanks to
747         Desmond O. Chang).
749         * src/clfswm-internal.lisp (with-all-*): add a nil block.
751 2011-01-28  Desmond O. Chang <dochang@gmail.com>
753         * src/clfswm-util.lisp (xdg-config-home): XDG_CONFIG_HOME should
754         be $HOME/.config by default.
756 2010-12-29  Philippe Brochard  <pbrochard@common-lisp.net>
758         * contrib/osd.lisp (display-doc): Add another method where a
759         CLFSWM native window is used to display the key documentation.
761 2010-12-27  Philippe Brochard  <pbrochard@common-lisp.net>
763         * src/xlib-util.lisp (with-xlib-protect): Force to revert to the
764         main mode state.
766 2010-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
768         * src/clfswm-second-mode.lisp (second-key-mode): Call the second
769         mode leave function only when the generic mode was ended.
771 2010-12-08  Philippe Brochard  <pbrochard@common-lisp.net>
773         * src/clfswm-second-mode.lisp (sm-leave-function): Do not use
774         *second-mode-program* anymore.
776 2010-12-07  Philippe Brochard  <pbrochard@common-lisp.net>
778         * src/clfswm-second-mode.lisp (*second-mode-leave-function*): New
779         variable bound to a function executed (when not null) on second
780         mode leaving.
782 2010-11-14  Philippe Brochard  <pbrochard@common-lisp.net>
784         * src/clfswm-util.lisp (find-child-under-mouse): Do not find
785         hidden windows.
787 2010-11-13  Philippe Brochard  <pbrochard@common-lisp.net>
789         * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
790         Do not display the accel window for unmanaged windows.
792 2010-11-11  Philippe Brochard  <pbrochard@common-lisp.net>
794         * src/clfswm-internal.lisp (set-current-root): Handle
795         window-parent in set-current-root.
797         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Do not
798         focus the parent child when the current root is a window.
800 2010-11-09  Philippe Brochard  <pbrochard@common-lisp.net>
802         * src/clfswm-expose-mode.lisp (expose-windows-current-child-mode):
803         New function an bindings.
805         * src/clfswm-layout.lisp (tile-layout, set-tile-layout): Fill
806         blanks if needed.
808 2010-11-07  Philippe Brochard  <pbrochard@common-lisp.net>
810         * src/clfswm-layout.lisp (tile-layout-ask-keep-position): New
811         function to let the user choose to keep child position with
812         tile layout.
814         * src/clfswm-internal.lisp (remove-frame-data-slot): New
815         function.
817 2010-11-05  Philippe Brochard  <pbrochard@common-lisp.net>
819         * src/clfswm-internal.lisp (frame-select-next-child)
820         (frame-select-previous-child): New functions and bindings. Select
821         the next/previous child in the current frame.
823 2010-10-31  Philippe Brochard  <pbrochard@common-lisp.net>
825         * src/clfswm-query.lisp (query-mode-complet): New function: Handle
826         completion in query-mode.
828 2010-10-30  Philippe Brochard  <pbrochard@common-lisp.net>
830         * src/clfswm-query.lisp (query-print-string): Handle long lines
831         correctly.
833 2010-10-27  Philippe Brochard  <pbrochard@common-lisp.net>
835         * src/clfswm-expose-mode.lisp (expose-create-window): Ensure that
836         all characters are printable.
838 2010-10-25  Philippe Brochard  <pbrochard@common-lisp.net>
840         * contrib/server/server.lisp: Load clfswm client code in the main
841         program and let the user start it with a --client command line
842         option.
844         * src/package.lisp (*main-entrance-hook*): New hook executed after
845         loading configuration file and before opening the display.
847 2010-10-23  Philippe Brochard  <pbrochard@common-lisp.net>
849         * src/xlib-util.lisp: Remove unnecessary xlib:display-finish-output.
851         * src/clfswm-internal.lisp (show-child): Show window only if not
852         hidden.
854         * src/clfswm-keys.lisp (binding-substitute-modifier): Utility to
855         change modifiers after binding definition.
857 2010-10-21  Philippe Brochard  <pbrochard@common-lisp.net>
859         * contrib/osd.lisp: New file: OSD (On Screen Display) for
860         presentations.
862         * src/clfswm-menu.lisp (open-menu): Modularise function.
864 2010-10-13  Philippe Brochard  <pbrochard@common-lisp.net>
866         * src/clfswm-info.lisp (show-first-aid-kit): Display the essential
867         key binding in main and second mode.
869 2010-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
871         * src/clfswm-util.lisp (open-notify-window): Convert hello-window
872         functions to a more generic Notify-window system.
874         * src/tools.lisp (add-timer): Add an id to identify the timer.
876 2010-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
878         * src/tools.lisp (erase-timer): New function.
880         * src/clfswm-util.lisp (display-hello-window): Add a timer to hide
881         the hello window. Add Configuration variables.
883 2010-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
885         * src/clfswm-util.lisp (): Add an Hello window at startup.
887         * src/tools.lisp (process-timers): Add a timer system.
889 2010-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
891         * src/clfswm-query.lisp (add-in-query-string): Handle correctly
892         the mod-5 modifier.
894 2010-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
896         * src/clfswm-query.lisp (query-print-string): Change cursor color
897         and show parenthesis matching with colors (on match and on
898         errors).
900 2010-10-05  Philippe Brochard  <pbrochard@common-lisp.net>
902         * src/clfswm-internal.lisp (show-all-children): Do not raise a
903         child when its parent is hidden.
905 2010-10-02  Philippe Brochard  <pbrochard@common-lisp.net>
907         * src/clfswm-circulate-mode.lisp (select-next-subchild): Add the
908         possibility to circulate over subchild of the current child.
910         * src/clfswm-expose-mode.lisp (expose-all-windows-mode)
911         (expose-windows-generic): Add an escape-body function to return to
912         the original state on escape key.
914         * src/clfswm-util.lisp (bind-on-slot): Add an optional parameter
915         to bind the current child from the configuration file.
917 2010-10-01  Philippe Brochard  <pbrochard@common-lisp.net>
919         * src/clfswm-nw-hooks.lisp (absorb-window-nw-hook): Absorb new
920         window hook: the frame absorb all new windows that match
921         nw-absorb-test frame data slot.
923 2010-09-30  Philippe Brochard  <pbrochard@common-lisp.net>
925         * src/clfswm-expose-mode.lisp (expose-create-window): Show window
926         title in accel window.
928 2010-09-29  Philippe Brochard  <pbrochard@common-lisp.net>
930         * configure: Use the Xavier Maillard clfswm script in contrib to
931         build an executable in the standard way.
933 2010-09-26  Philippe Brochard  <pbrochard@common-lisp.net>
935         * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
936         New functions. Add a window on each child in the expose mode to
937         quickly select them.
939         * src/clfswm-internal.lisp (child-x, child-y, child-width)
940         (child-height): New methods to get real child coordinates.
942 2010-09-25  Philippe Brochard  <pbrochard@common-lisp.net>
944         * src/clfswm-layout.lisp (*-layout): Use child-position.
946         * src/clfswm-internal.lisp (child-position): New function.
948         * src/clfswm-expose-mode.lisp (expose-windows-mode)
949         (expose-all-windows-mode): Use a generic mode.
951         * src/xlib-util.lisp (with-handle-event-symbol): Use a filled list
952         with handle-event-fun symbols instead of inspecting clfswm
953         internals symbols on each mode change.
955         * src/clfswm-expose-mode.lisp: Move and rename present*-windows in
956         a separate clfswm-expose-mode.lisp file.
958         * src/clfswm-util.lisp (speed-mouse-right, speed-mouse-down): Use
959         screen size instead of hardcoded test coordinates.
961 2010-09-24  Philippe Brochard  <pbrochard@common-lisp.net>
963         * src/clfswm-util.lisp (speed-mouse-reset, speed-mouse-left)
964         (speed-mouse-right, speed-mouse-up, speed-mouse-down)
965         (speed-mouse-undo, speed-mouse-first-history): New functions to
966         quickly move the mouse. Implemented for the second mode.
968 2010-09-16  Philippe Brochard  <pbrochard@common-lisp.net>
970         * contrib/clfswm: Move clfswm sources to $tmp_dir if there is no
971         write permission on $clfswm_asd_path. So anybody can start clfswm
972         even if there is no write permission on the source directory.
974 2010-09-12  Philippe Brochard  <pbrochard@common-lisp.net>
976         * contrib/clfswm: Add support to cmucl, ccl and ecl.
978 2010-09-11  Philippe Brochard  <pbrochard@common-lisp.net>
980         * src/clfswm-util.lisp (set-hide-unmanaged-window)
981         (set-show-unmanaged-window, set-default-hide-unmanaged-window):
982         New functions and menu entry.
983         (set-globally-hide-unmanaged-window)
984         (set-globally-show-unmanaged-window): New functions and menu
985         entry.
987         * src/clfswm-internal.lisp (hide-unmanager-window-p): New
988         function.
989         (show-child): Add a data slot on frame to hide or not unmanaged
990         windows.
992         * src/clfswm-corner.lisp (present-clfswm-terminal)
993         (present-virtual-keyboard): Use a function (generic-present-body)
994         instead of a macro (generate-present-body).
996         * src/clfswm-util.lisp (update-menus): List all directories and
997         subdirectories in $XDG_DATA_DIRS/applications.
999 2010-09-10  Philippe Brochard  <pbrochard@common-lisp.net>
1001         * src/clfswm-corner.lisp (generate-present-body): New macro.
1002         (present-clfswm-terminal, present-virtual-keyboard): Use
1003         generate-present-body.
1005 2010-09-09  Philippe Brochard  <pbrochard@common-lisp.net>
1007         * src/clfswm-util.lisp (update-menus): Follow XDG specifications
1008         instead of the non-portable Debian update-menu.
1010 2010-09-07  Philippe Brochard  <pbrochard@common-lisp.net>
1012         * src/clfswm.lisp (error-handler): New function do handle
1013         asynchronous errors and ignore them.
1014         (open-display): Install the new error-handler on display.
1016 2010-09-05  Philippe Brochard  <pbrochard@common-lisp.net>
1018         * src/xlib-util.lisp (with-xlib-protect): Add a
1019         with-simple-restart on top of body execution.
1021 2010-09-04  Philippe Brochard  <pbrochard@common-lisp.net>
1023         * src/clfswm.lisp (main-loop): Protect all xlib functions with an
1024         with-xlib-protect.
1026         * src/xlib-util.lisp (handle-event): use with-xlib-protect only in
1027         handle-event. Add a with-simple-restart to prevent a
1028         clisp/new-lisp infinite loop.
1030 2010-08-30  Philippe Brochard  <pbrochard@common-lisp.net>
1032         * src/clfswm-corner.lisp (present-clfswm-terminal): Make the
1033         clfswm terminal working even on xterm title changes.
1035 2010-08-29  Philippe Brochard  <pbrochard@common-lisp.net>
1037         * src/clfswm-util.lisp (run-other-window-manager): Update for
1038         clisp compatibility.
1040         * src/tools.lisp (do-execute): New parameter io to change the
1041         input/output method.
1043         * src/clfswm-util.lisp (hide-current-child): Prevent from removing
1044         the current root.
1046         * src/clfswm-internal.lisp (child-member): New predicate.
1047         (child-remove): New function.
1049         * src/*.lisp: Use child-member and child-remove everywhere it's
1050         needed.
1052 2010-08-28  Philippe Brochard  <pbrochard@common-lisp.net>
1054         * src/clfswm.lisp (main-loop): Ensure that all events have been
1055         processed after a process-event.
1057         * src/clfswm-internal.lisp (is-in-current-child-p): New function.
1059 2010-08-27  Philippe Brochard  <pbrochard@common-lisp.net>
1061         * src/clfswm.lisp (main-mode:configure-request): Raise the window
1062         only when present on the current child and focus it accordingly.
1064 2010-08-26  Philippe Brochard  <pbrochard@common-lisp.net>
1066         * src/clfswm-circulate-mode.lisp (circulate-loop-function):
1067         Use is-a-key-pressed-p.
1069         * src/xlib-util.lisp (is-a-key-pressed-p): New predicate.
1071         * src/clfswm-keys.lisp (define-ungrab/grab): Use all values
1072         returned by xlib:keysym->keycodes.
1074         * src/*.lisp: Use the new child-equal-p to compare children. This
1075         prevent a bug with sbcl/cmucl when the standard equal function
1076         does not work with xlib:window.
1078         * src/clfswm-internal.lisp (child-equal-p): New predicate.
1080 2010-08-25  Philippe Brochard  <pbrochard@common-lisp.net>
1082         * src/clfswm-generic-mode.lisp (generic-mode): Use an
1083         xlib:event-listen before processing event with
1084         xlib:process-event. This prevent a bug with CLX threaded
1085         implementation like sbcl.
1087         * src/clfswm.lisp (main-loop): Use an xlib:event-listen before
1088         processing event with xlib:process-event. This prevent a bug with
1089         CLX threaded implementation like sbcl.
1091 2010-08-17  Philippe Brochard  <pbrochard@common-lisp.net>
1093         * contrib/server/key.lisp (ushell-sh): Add ccl and ecl support.
1095         * src/xlib-util.lisp (compress-motion-notify): Use a loop instead
1096         of an event-case.
1098         * src/clfswm-internal.lisp (with-find-in-all-frames): New macro.
1099         (find-parent-frame, find-frame-window, find-frame-by-name)
1100         (find-frame-by-number): Use with-find-in-all-frames to search in
1101         frames in the right order.
1103         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Fix an
1104         unwanted flickering with unmanaged windows.
1106 2010-08-16  Philippe Brochard  <pbrochard@common-lisp.net>
1108         * src/package.lisp: Remove event handler hooks as they're not
1109         needed anymore (To replace them: use closure and define-handler).
1111         * src/xlib-util.lisp (move-window, resize-window)
1112         (wait-mouse-button-release): Use a generic mode.
1114         * src/*.lisp: Replace the case to handle event with a more (tricky)
1115         lispy  method which bind a function to each keywords associated
1116         to graphics events.
1118 2010-07-23  Philippe Brochard  <pbrochard@common-lisp.net>
1120         * src/clfswm-util.lisp (delete-current-child): Invert bindings and
1121         menu entry between delete-current-child and remove-current-child.
1122         ie: Delete a child and its children in all frames by default.
1124 2010-07-21  Philippe Brochard  <pbrochard@common-lisp.net>
1126         * src/package.lisp: Add a placement configuration group.
1128         * src/binding*.lisp: Bind control+g to escape the current action
1129         like emacs.
1131         * src/clfswm-internal.lisp
1132         (delete-child-and-children-in-all-frames): New function and
1133         binding: Second mode - Control+Delete delete the current child and
1134         its children in all frames (ie: close the current child and its
1135         children).
1137 2010-07-20  Philippe Brochard  <pbrochard@common-lisp.net>
1139         * src/clfswm-internal.lisp (remove-child-in-frame): Do not destroy
1140         the frame window and the frame gc. Close a very annoying bug when
1141         cuting/pasting a frame or moving a child over frames with the
1142         mouse.
1144         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
1145         all children in *current-root* after moving/resizing a frame.
1147 2010-07-18  Philippe Brochard  <pbrochard@common-lisp.net>
1149         * src/clfswm-util.lisp (delete-focus-window)
1150         (destroy-focus-window): Remove child in parent frame before
1151         stopping it.
1153 2010-07-16  Philippe Brochard  <pbrochard@common-lisp.net>
1155         * src/clfswm-util.lisp (identify-key): Add a timeout in
1156         xlib:process-event.
1157         (mouse-click-to-focus-generic): Use find-child-under-mouse instead
1158         of the window passed by xlib:process-event.
1160         * src/xlib-util.lisp (move-window, resize-window)
1161         (wait-mouse-button-release): Add a timeout in xlib:process-event.
1163 2010-04-11  Philippe Brochard  <pbrochard@common-lisp.net>
1165         * src/clfswm-util.lisp (run-other-window-manager): Add the ability
1166         to launch an other window manager and to return to clfswm.
1168 2010-03-18  Philippe Brochard  <pbrochard@common-lisp.net>
1170         * src/clfswm-layout.lisp (set-tile-space-layout): Set default
1171         to 1%.
1173 2009-12-15  Philippe Brochard  <pbrochard@common-lisp.net>
1175         * src/clfswm.lisp (main-loop): Add a *loop-hook* parameter and a
1176         loop timeout.
1178         * src/clfswm-generic-mode.lisp (generic-mode): Add a loop-hook
1179         parameter and a loop timeout.
1181 2009-12-05  Philippe Brochard  <pbrochard@common-lisp.net>
1183         * src/clfswm.lisp (main): Add an alternate configuration filename
1184         parameter.
1186         * load.lisp: Add a debuging code example.
1188 2009-11-14  Philippe Brochard  <pbrochard@common-lisp.net>
1190         * src/clfswm-configuration.lisp (create-configuration-menu): New
1191         menu to configure all clfswm variables while clfswm is running.
1193 2009-11-12  Philippe Brochard  <pbrochard@common-lisp.net>
1195         * src/clfswm-util.lisp (save-configuration-variables): New
1196         function to save all configuration variables in clfswmrc.
1198 2009-11-11  Philippe Brochard  <pbrochard@common-lisp.net>
1200         * src/clfswm-info.lisp (info-mode): Begining of mouse support in
1201         info mode.
1202         (set-default-info-keys): Add cursor key support in info mode.
1204 2009-11-08  Philippe Brochard  <pbrochard@common-lisp.net>
1206         * contrib/reboot-halt.lisp: Add a Suspend/Reboot/Halt menu in
1207         contrib.
1209         * src/clfswm.lisp (main): Add a read-conf-file-p parameter to
1210         prevent reading the configuration file (this may be useful to
1211         produce the original documentation without user modifications
1212         with the rc configuration file).
1214 2009-11-07  Philippe Brochard  <pbrochard@common-lisp.net>
1216         * src/bindings-second-mode.lisp (set-default-second-keys):
1217         Simplification of Escape key to close/kill/remove the focus window
1218         and unhide all windows.
1220         * src/bindings.lisp (set-default-main-keys): Simplification of
1221         Escape key to close/kill/remove the focus window and unhide all
1222         windows.
1224         * src/clfswm-util.lisp (ask-close/kill-current-window): Add remove
1225         focus and unhide all windows capabilities.
1227 2009-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
1229         * contrib/mpd.lisp (start-gmpc): Add gmpc in the mpd menu.
1231 2009-07-29  Philippe Brochard  <pbrochard@common-lisp.net>
1233         * src/clfswm-layout.lisp (tile-layout, tile-horizontal-layout):
1234         Keep child order and don't make unnecessary child movement.
1235         (one-column-layout, one-line-layout): New layouts.
1237 2009-06-29  Philippe Brochard  <pbrochard@common-lisp.net>
1239         * *: **** Release 0906 ****
1241         * contrib/cd-player.lisp: New file to handle the CD player.
1243         * contrib/xmms.lisp: New file to handle the xmms player.
1245 2009-06-28  Philippe Brochard  <pbrochard@common-lisp.net>
1247         * src/clfswm-layout.lisp (set-no-layout-remember-size): New layout:
1248         Maximize windows in their frame - Leave frames to their actual
1249         size.
1251         * src/bindings-second-mode.lisp (set-default-second-keys): Bind
1252         "o" on set-open-in-new-frame-in-parent-frame-nw-hook.
1254 2009-06-27  Philippe Brochard  <pbrochard@common-lisp.net>
1256         * contrib/keyb_fr.lisp: New file to handle an azerty keyboard.
1258 2009-06-24  Philippe Brochard  <pbrochard@common-lisp.net>
1260         * contrib/mpd.lisp: Use a standard menu.
1262         * src/clfswm-info.lisp: Use a standard menu for the help-menu.
1264 2009-06-22  Philippe Brochard  <pbrochard@common-lisp.net>
1266         * contrib/mpd.lisp: New file to handle the Music Player Daemon (MPD)
1268 2009-06-19  Philippe Brochard  <pbrochard@common-lisp.net>
1270         * src/clfswm-autodoc.lisp (produce-doc, produce-doc-html): Minor
1271         number key cleanup.
1273 2009-06-18  Philippe Brochard  <pbrochard@common-lisp.net>
1275         * src/config.lisp (get-fullscreen-size):  One pixel adjustment
1276         (again).
1278         * src/clfswm-placement.lisp (*-child-placement): One pixel
1279         adjustment (again).
1281 2009-06-16  Philippe Brochard  <pbrochard@common-lisp.net>
1283         * src/clfswm-circulate-mode.lisp (draw-circulate-mode-window):
1284         Ensure that all characters are printable.
1286         * src/config.lisp (get-fullscreen-size): Adjust default fullscreen
1287         sizes.
1289         * src/clfswm-placement.lisp (*-child-placement): Adjust
1290         coordinates to one pixel in the current child.
1292 2009-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
1294         * src/clfswm-query.lisp (query-enter-function): Assign font before
1295         width and height calculation.
1297 2009-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
1299         * src/xlib-util.lisp (banish-pointer): Use with-placement macro to
1300         bannish the pointer in an arbitrary place.
1302         * src/clfswm-info.lisp (info-mode): Use with-placement macro to
1303         place the info window in an arbitrary place.
1305         * src/clfswm-query.lisp (query-enter-function): Use with-placement
1306         macro to place the query window in an arbitrary place.
1308         * src/clfswm-placement.lisp: New file. Allow to place info windows
1309         or query windows on an arbitrary place. Allow to bannish the
1310         pointer on an arbitrary place.
1312 2009-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
1314         * src/clfswm-circulate-mode.lisp (reorder-child)
1315         (reorder-brother): Unfocus windows before reordering children or
1316         brothers.
1318 2009-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
1320         * src/clfswm-circulate-mode.lisp (reorder-brother): Ensure that
1321         the parent is a frame.
1323         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Handle
1324         motion with a default modifier.
1326         * src/clfswm.lisp (handle-motion-notify): Handle motion with a
1327         default modifier.
1329         * src/clfswm-info.lisp (info-mode): Handle motion with a default
1330         modifier.
1331         (info-mode): Optimization in loop function.
1333 2009-05-10  Philippe Brochard  <pbrochard@common-lisp.net>
1335         * src/clfswm-circulate-mode.lisp (reorder-brother): Handle
1336         root-frame correctly.
1338         * clfswm.asd: Dependency fix for clfswm-generic-mode.
1340         * src/clfswm-circulate-mode.lisp (reorder-child)
1341         (reorder-brother): Handle empty frames.
1342         (reorder-brother): Redisplay only the parent frame of the  current
1343         child.
1345         * src/clfswm-util.lisp (frame-toggle-maximize): Redisplay only the
1346         parent frame of the  current frame.
1348 2009-05-09  Philippe Brochard  <pbrochard@common-lisp.net>
1350         * src/clfswm-util.lisp (frame-toggle-maximize): New function:
1351         Maximize/Unmaximize the current frame in its parent frame.
1353         * src/clfswm-layout.lisp (maximize-layout): New layout: Maximize
1354         windows and frames in their parent frame.
1356 2009-05-05  Philippe Brochard  <pbrochard@common-lisp.net>
1358         * src/*.lisp: Add support for Clozure Common Lisp (CCL).
1360         * src/clfswm-circulate-mode.lisp (reorder-child)
1361         (reorder-brother): Reinitialise on circulate type change
1362         child to brother or brother to child.
1364         * src/*.lisp (*): Use map-window instead of xlib:map-window. So
1365         calls xlib:display-finish-output on each map-request. So speed up
1366         the window display.
1368         * src/xlib-util.lisp (map-window): New function. Call
1369         xlib:display-finish-output on each map request.
1371 2009-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
1373         * src/clfswm-second-mode.lisp (sm-handle-motion-notify):
1374         Optimisation when drawing second mode window.
1376 2009-04-27  Philippe Brochard  <pbrochard@common-lisp.net>
1378         * src/clfswm-circulate-mode.lisp (circulate-mode): Optimisation in
1379         window redraw.
1381 2009-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
1383         * src/clfswm-util.lisp (run-program-from-query-string): Launch
1384         command only with a return validation.
1386 2009-04-22  Xavier Maillard  <xma@gnu.org>
1388         * src/clfswm-query.lisp (query-string): Use a generic mode.
1390 2009-04-19  Xavier Maillard  <xma@gnu.org>
1392         * src/clfswm-info.lisp (info-mode): Use generic-mode for info-mode.
1394 2009-04-18  Xavier Maillard  <xma@gnu.org>
1396         * src/clfswm-generic-mode.lisp (generic-mode): Add a generic mode
1397         to define all other modes.
1399 2009-04-05  Philippe Brochard  <pbrochard@common-lisp.net>
1401         * src/package.lisp (): Use *default-font-string* for all
1402         font-string.
1404         * src/clfswm-info.lisp (info-mode): Ensure integer windows size.
1406 2009-02-17  Philippe Brochard  <pbrochard@common-lisp.net>
1408         * src/xlib-util.lisp (null-size-window-p): Better check of null
1409         sized windows.
1411 2009-02-14  Philippe Brochard  <pbrochard@common-lisp.net>
1413         * src/clfswm.lisp (handle-map-request): Add a fix to manage
1414         correctly fullscreen windows (SDL particularly).
1416 2008-12-20  Philippe Brochard  <pbrochard@common-lisp.net>
1418         * src/xlib-util.lisp (get-color): Allocate colors only once -> fix
1419         a segfault with clisp/new-clx.
1421         * src/clfswm.lisp (handle-motion-notify): Add a needed window
1422         argument.
1424         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Add a
1425         needed window argument.
1427 2008-10-30  Philippe Brochard  <pbrochard@common-lisp.net>
1429         * src/xlib-util.lisp (wait-no-key-or-button-press)
1430         (wait-a-key-or-button-press): Check buttons press/release correctly"
1432 2008-10-28  Philippe Brochard  <pbrochard@common-lisp.net>
1434         * src/menu-def.lisp: Add children navigation menu in the movement
1435         menu (select next/previous child/brother/level).
1437 2008-10-26  Philippe Brochard  <pbrochard@common-lisp.net>
1439         *  *: Rename 'sister' frame to 'brother' frame.
1441         * src/clfswm-keys.lisp (unalias-modifiers): Convert a modifier
1442         alias in a real modifier.
1444         * src/package.lisp (*modifier-alias*): New list of modifier alias
1445         For example: :alt is :mod-1, :numlock is :mod-2...
1447         * src/tools.lisp (remove-hook): New function.
1449         * src/clfswm-keys.lisp (with-capslock, without-capslock)
1450         (with-numlock, without-cnumlock): New functions.
1452 2008-10-25  Philippe Brochard  <pbrochard@common-lisp.net>
1454         * src/clfswm-info.lisp: Use the *binding-hook* to create info
1455         keys and mouse bindings.
1457         * src/bindings-second-mode.lisp: Use the *binding-hook* to create
1458         second keys and mouse bindings.
1460         * src/bindings.lisp: Use the *binding-hook* to create main keys
1461         and mouse bindings.
1463 2008-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
1465         * src/clfswm-menu.lisp (open-menu): Remember parent menu to undo
1466         menu opening.
1468 2008-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
1470         * src/menu-def.lisp: Use a menu instead of a function for the
1471         standard menu.
1473 2008-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
1475         * src/clfswm-util.lisp (show-standard-menu): Display the standard
1476         menu from the 'update-menus' command.
1478 2008-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
1480         * src/clfswm-query.lisp (query-string): Do not ungrab keyboard if
1481         it's already grabbed.
1483         * src/clfswm-internal.lisp (display-frame-info): Use configurable
1484         colors and fix a bug with background.
1485         (display-frame-info): Set window background when displaying info.
1487 2008-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
1489         * src/xlib-util.lisp (my-character->keysyms): Use a macro to avoid
1490         warning with clisp/new-clx.
1492 2008-10-04  Philippe Brochard  <pbrochard@common-lisp.net>
1494         * src/clfswm-util.lisp (jump-to-slot): Prevent to jump on a
1495         deleted child.
1497 2008-09-23  Philippe Brochard  <pbrochard@common-lisp.net>
1499         * *: **** Release 0809 ****
1501 2008-09-23  Philippe Brochard  <pbrochard@common-lisp.net>
1503         * src/clfswm-util.lisp (ensure-unique-name): New function and menu
1504         entry.
1505         (ensure-unique-number): New function and menu entry.
1507 2008-09-22  Philippe Brochard  <pbrochard@common-lisp.net>
1509         * src/clfswm-nw-hooks.lisp (named-frame-nw-hook): New new window
1510         hook: open the next window in a named frame.
1511         (numbered-frame-nw-hook): New new window hook: open the next
1512         window in a numbered frame.
1514         * src/clfswm-query.lisp (query-string): Grab the keyboard in all
1515         cases. So query-string can be called even in the main mode.
1517         * src/clfswm-internal.lisp (show-all-children): Do not raise a
1518         child by default => far less flickering.
1520 2008-09-19  Philippe Brochard  <pbrochard@common-lisp.net>
1522         * src/bindings-second-mode.lisp: Bind "t" to tile-current-frame.
1524         * src/menu-def.lisp: Change key binding for the CLFSWM menu
1525         entry.
1527         * src/xlib-util.lisp (xgrab-pointer): Handle the case where cursor
1528         is nil. (workaround on some CLX implementation).
1530 2008-09-12  Philippe Brochard  <pbrochard@common-lisp.net>
1532         * src/menu-def.lisp: Add a menu to set a focus policy for all
1533         frames.
1535         * src/clfswm-util.lisp (set-focus-policy-generic-for-all)
1536         (all-frames-set-*-focus-policy): Set a focus policy for all
1537         frames.
1539         * src/clfswm.lisp (handle-enter-notify): sloppy-select
1540         mode. Select a child and its parents on mouse over.
1542 2008-09-03  Philippe Brochard  <pbrochard@common-lisp.net>
1544         * src/clfswm.lisp (handle-enter-notify): Add a sloppy strict focus
1545         policy -> Sloppy focus only for windows in the current frame.
1546         (main-unprotected): Exit clfswm on init error (ie: when another
1547         window manager is running).
1549         * src/clfswm-util.lisp (reset-clfswm): New function.
1551 2008-09-02  Philippe Brochard  <pbrochard@common-lisp.net>
1553         * src/clfswm-menu.lisp (init-menu): New function.
1555         * src/clfswm-util.lisp (reload-clfswm): New function to reload
1556         CLFSWM.
1557         (exit-clfswm): Rename quit-clfswm to exit-clfswm.
1559         * src/clfswm.lisp (main, main-unprotected): Handle error in a
1560         superior main function. Now CLFSWM can't break the X session. It
1561         just reinitialize the display and run a new main loop.
1563         * src/clfswm-corner.lisp: Make *clfswm-terminal* and
1564         *vt-keyboard-on* global to avoid warnings when loading clfswm.
1566         * src/clfswm-layout.lisp: Add a specific GIMP layout menu.
1567         (help-on-gimp-layout): Describe how to use the GIMP layout.
1569 2008-09-01  Philippe Brochard  <pbrochard@common-lisp.net>
1571         * src/clfswm-layout.lisp (set-gimp-layout): Change the layout to
1572         main-window-right-layout. Change the keybinding for (shift)alt+tab
1573         to not select windows in the main window lisst.
1574         Bind F8 to add a window in the main window list.
1575         Bind F9 to remove a window in the main window list.
1576         Change the focus policy to :sloppy.
1577         (set-previous-layout): Restore the previous layout, keybinding and
1578         focus policy.
1580 2008-08-31  Philippe Brochard  <pbrochard@common-lisp.net>
1582         * src/clfswm-menu.lisp (add-menu-comment): Add comments in menu.
1584         * src/clfswm-layout.lisp (main-window-left-layout)
1585         (main-window-bottom-layout, main-window-top-layout): New
1586         functions.
1587         Factorize layouts in menu.
1589 2008-08-30  Philippe Brochard  <pbrochard@common-lisp.net>
1591         * src/clfswm-layout.lisp (main-window-right-layout): A possible
1592         GIMP layout: one or more main windows on one side of the
1593         frame. Others on the other size.
1595         * src/clfswm-util.lisp
1596         (current-frame-set-click/sloppy-focus-policy): Each frame can have
1597         a different focus policy (one of :click or :sloppy).
1598         The default focus policy is set with *default-focus-policy*.
1600 2008-08-23  Philippe Brochard  <pbrochard@common-lisp.net>
1602         * src/clfswm-info.lisp (show-config-variable): New function.
1604 2008-08-19  Philippe Brochard  <pbrochard@common-lisp.net>
1606         * src/clfswm-layout.lisp (tile-horizontal-layout): New layout.
1608         * src/clfswm-info.lisp: Colored help for key binding and corners
1609         actions.
1611 2008-08-18  Philippe Brochard  <pbrochard@common-lisp.net>
1613         * src/clfswm-util.lisp (delete-focus-window)
1614         (destroy-focus-window): Remove chid only in
1615         handle-unmap/destroy-notify. Focus *current-root* only when
1616         closing/killing the current child.
1618         * src/clfswm-autodoc.lisp (produce-corner-*-doc): New autodoc
1619         functions or corners.
1621 2008-08-17  Philippe Brochard  <pbrochard@common-lisp.net>
1623         * src/clfswm-corner.lisp (present-clfswm-terminal): New corner
1624         action: Hide/Unhide a terminal on mouse corner action. (By default
1625         right mouse button on the top left corner).
1627         * src/config.lisp (*never-managed-window-list*): New config
1628         variable.
1630         * src/clfswm-internal.lisp (never-managed-window-p): New function:
1631         Handle never managed window in a more simple way.
1633         * src/clfswm-corner.lisp: New file and new and more simple method
1634         to define corners actions.
1636 2008-08-15  Philippe Brochard  <pbrochard@common-lisp.net>
1638         * src/clfswm-info.lisp (info-mode): Info line can now be colored.
1640         * src/clfswm-layout.lisp (fast-layout-switch)
1641         (define-fast-layout-switch): New functions: Switch between two
1642         layouts.
1644         * src/clfswm-second-mode.lisp (leave-second-mode): Takes care if
1645         really in the second mode. So leave-second-mode can be used even
1646         in the main mode.
1648         * src/clfswm-util.lisp (switch-to-last-child): New function:
1649         Store the current child and switch to the previous one.
1651 2008-07-16  Philippe Brochard  <pbrochard@common-lisp.net>
1653         * src/clfswm-util.lisp (display-current-window-info): Display the
1654         window id.
1655         (have-to-present-virtual-keyboard): Add a virtual keyboard corner
1656         (top right by default). By default 'xvkbd' is used.
1658 2008-06-28  Philippe Brochard  <pbrochard@common-lisp.net>
1660         * src/xlib-util.lisp (move-window, resize-window): Compress motion
1661         events.
1663         * src/clfswm.lisp (handle-motion-notify): Compress motion events.
1665         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Compress
1666         motion events.
1668         * src/clfswm-info.lisp (info-mode): Compress motion events.
1670 2008-06-21  Philippe Brochard  <pbrochard@common-lisp.net>
1672         * src/clfswm-internal.lisp (show-all-children): Compute geometry
1673         and selection first and then show only necessary children.
1674         (show-child): remove unneeded display-p parameter.
1676         * src/config.lisp (get-fullscreen-size): Place the frame border
1677         outside the screen (this prevent the loose of 2 pixels per
1678         directions :)
1680 2008-06-12  Philippe Brochard  <pbrochard@common-lisp.net>
1682         * src/clfswm-internal.lisp (focus-child): Algorithm change to
1683         raise only the selected child.
1685 2008-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
1687         * src/clfswm-internal.lisp (raise-p-list, show-all-children):
1688         Raise only viewable children.
1690 2008-06-06  Philippe Brochard  <pbrochard@common-lisp.net>
1692         * src/clfswm-internal.lisp (show-all-children): Always raise all
1693         displayed children. Remove all references to raise-p.
1695 2008-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
1697         * src/menu-def.lisp (child-menu): New menu entry on raise/lower
1698         child in its frame.
1700         * src/bindings-second-mode.lisp ("Page_Down", "Page_Up"): New
1701         second mode binding on raise/lower child in its frame.
1703         * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): Adapt
1704         behaviour to the new raise/lower property.
1705         Call clear-nw-hook before the rest of the hook.
1707         * src/bindings.lisp (mouse-click-to-focus-and-move-window)
1708         (mouse-click-to-focus-and-resize-window): Stop button event. This
1709         prevent a keyboard/pointer freeze.
1711 2008-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
1713         * src/clfswm-internal.lisp (frame-lower-child)
1714         (frame-raise-child): New functions to raise/lower a child in its
1715         frame.
1717         * src/clfswm-util.lisp (have-to-present-windows)
1718         (have-to-present-all-windows): New functions to have an MaxOS
1719         expose like on mouse click in screen corner.
1721         * src/clfswm-info.lisp ("Page_Down", "Page_Up"): Add boundaries.
1723 2008-05-30  Philippe Brochard  <pbrochard@common-lisp.net>
1725         * src/clfswm-util.lisp (unhide-a-child-from-all-frames): Unhide a
1726         child from a choice in all frames with hidden children.
1728         * src/clfswm-info.lisp (info-mode-menu): Handle separators.
1730 2008-05-28  Philippe Brochard  <pbrochard@common-lisp.net>
1732         * src/clfswm-util.lisp (hide-current-child, unhide-a-child)
1733         (unhide-all-children): New functions.
1735         * src/clfswm-info.lisp (info-mode-menu): Handle symbols and
1736         functions.
1738         * src/clfswm-util.lisp (hide/show-frame-window): new function and
1739         menu item.
1741 2008-05-23  Philippe Brochard  <pbrochard@common-lisp.net>
1743         * src/clfswm-util.lisp (rename-current-child): Do not display the
1744         frame info for a window.
1746 2008-05-20  Philippe Brochard  <pbrochard@common-lisp.net>
1748         * src/clfswm-internal.lisp (remove-child-in-frame): Destroy the
1749         frame window for the removed child and its children.
1751 2008-05-18  Philippe Brochard  <pbrochard@common-lisp.net>
1753         * src/clfswm-autodoc.lisp (produce-*-doc-*): Add a note to use the
1754         autodoc functions.
1756 2008-05-17  Philippe Brochard  <pbrochard@common-lisp.net>
1758         * src/clfswm-nw-hooks.lisp (default-frame-nw-hook): Do not handle
1759         the ROX pinboard (ie: leave it lowered in the root window as
1760         expected).
1762         * src/clfswm-layout.lisp (tile-left-space-layout): New layout.
1763         (tile-left-layout, tile-right-layout, tile-top-layout)
1764         (tile-bottom-layout): Use all the frame space when there is only
1765         one child.
1767         * src/clfswm-internal.lisp (place-window-from-hints): Center
1768         unmanaged windows in the root screen.
1770         * src/clfswm-nw-hooks.lisp (clear-nw-hook, clear-all-nw-hooks):
1771         new functions.
1773 2008-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
1775         * src/clfswm-util.lisp (current-frame-manage-window-type): Fix a
1776         typo in managed types.
1778         * src/clfswm-internal.lisp (show-child): Always display frame info
1779         even if the frame is hidden.
1781         * src/xlib-util.lisp (resize-window): Use a better algorithme to
1782         resize windows.
1784 2008-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
1786         * src/clfswm-util.lisp (with-movement): Display frame info for all
1787         frames in current root.
1789 2008-05-12  Philippe Brochard  <pbrochard@common-lisp.net>
1791         * src/*.lisp: Rename 'brother' frames to 'sister' frames.
1793         * src/bindings-second-mode.lisp (define-second-key #\a): New
1794         binding on 'add-default-frame'.
1796         * src/clfswm-autodoc.lisp (produce-*-doc-*-in-file): Show a
1797         message to follow the autodocumentation process.
1799 2008-05-10  Philippe Brochard  <pbrochard@common-lisp.net>
1801         * src/clfswm-util.lisp (bind-or-jump): Bind "Tab", "Return" and
1802         "Space" to jump to a child. "B" to bind a slot on the current
1803         child.
1805         * src/bindings-second-mode.lisp: Use "Tab" instead of
1806         "Iso_Left_Tab".
1808 2008-05-07  Philippe Brochard  <pbrochard@common-lisp.net>
1810         * src/clfswm-util.lisp (find-child-under-mouse): Take care of
1811         unmanaged (hidden) windows.
1813         * src/clfswm-internal.lisp (place-window-from-hints): Give a
1814         minimal size for windows.
1815         (with-all-windows-frames-and-parent): New function.
1817         * src/config.lisp (*default-window-width/height*): New parameters.
1819         * src/clfswm-internal.lisp (place-window-from-hints): Center
1820         windows in the screen instead of in their frame.
1822         * src/bindings-second-mode.lisp (tile-space-current-frame): New
1823         binding on C-t.
1825         * src/clfswm-layout.lisp (register-layout): Intern the once name
1826         in the right package.
1828 2008-05-05  Philippe Brochard  <pbrochard@common-lisp.net>
1830         * doc/dot-clfswmrc: Update to  follow the new clfswm way.
1832 2008-05-03  Philippe Brochard  <pbrochard@common-lisp.net>
1834         * src/clfswm-internal.lisp (set-current-child)
1835         (adapt-child-to-parent, show-child, hide-child): Handle the case
1836         where child is not a frame or a window.
1838         * src/clfswm-util.lisp
1839         (mouse-click-to-focus-generic,mouse-focus-move/resize-generic):
1840         Check if child is a frame.
1842         * src/clfswm-internal.lisp (managed-window-p): Handle the case
1843         where frame is null.
1844         (place-frame): Check if frame and parent are frames.
1846         * src/clfswm-info.lisp (info-mode): display all frame info before
1847         leaving.
1849         * src/clfswm-second-mode.lisp (second-key-mode): display all frame
1850         info before leaving.
1852         * src/clfswm-internal.lisp (display-all-frame-info): New function.
1854 2008-05-02  Philippe Brochard  <pbrochard@common-lisp.net>
1856         * src/tools.lisp (getenv): Implemented for ECL.
1857         (urun-prog): Implemented for ECL.
1859         * src/clfswm-util.lisp (identify-key): Use a double buffer to
1860         display text.
1862         * src/clfswm-query.lisp (query-string): Use a double buffer to
1863         display text.
1865         * src/clfswm-info.lisp (draw-info-window): Use a double buffer to
1866         display text.
1868         * src/xlib-util.lisp (clear-pixmap-buffer, copy-pixmap-buffer):
1869         New functions.
1871 2008-05-01  Philippe Brochard  <pbrochard@common-lisp.net>
1873         * src/clfswm-info.lisp (info-mode): Add boundaries in the info mode window.
1875         * src/menu-def.lisp: New file: move all menu definition in
1876         menu-def.lisp.
1878         * src/clfswm-layout.lisp (register-layout): Use a function instead
1879         of a macro.
1881 2008-04-30  Philippe Brochard  <pbrochard@common-lisp.net>
1883         * src/clfswm-autodoc.lisp (produce-menu-doc,
1884         (produce-menu-doc-html): New functions.
1885         (produce-doc-*): Moved to clfswm-autodoc.lisp.
1887         * src/clfswm-util.lisp (paste-selection-no-clear): Prevent to
1888         paste a child on one of its own children. (this prevent a
1889         recursive bug).
1890         (move-child-to): Rename move/copy-current-child-by to
1891         move/copy-child-to.
1892         (mouse-move-window-over-frame): New function to move the window
1893         under the mouse cursor to another frame.
1895         * src/clfswm-internal.lisp (find-child-in-parent): New function.
1897 2008-04-29  Philippe Brochard  <pbrochard@common-lisp.net>
1899         * src/clfswm-internal.lisp (show-all-children): Display unmanaged
1900         windows only when its window parent is the current child.
1902 2008-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
1904         * src/clfswm-util.lisp (manage-current-window)
1905         (unmanage-current-window): New functions: Allow to force to manage
1906         or unmanage a window by its parent frame.
1908         * src/bindings-second-mode.lisp (#\o): binded to
1909         set-open-in-new-frame-in-parent-frame-nw-hook and
1910         (#\o :control) to set-open-in-new-frame-in-root-frame-nw-hook
1912         * src/clfswm-util.lisp (with-current-window): New macro.
1914         * src/xlib-util.lisp (move-window, resize-window): Remove uneeded
1915         exposure and enter-window handle event.
1917         * src/clfswm-util.lisp (move-frame, resize-frame): Show all
1918         children for the current child after the move/resize.
1920 2008-04-27  Philippe Brochard  <pbrochard@common-lisp.net>
1922         * src/xlib-util.lisp (resize-window): Take care of window size
1923         hints.
1925         * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Allow to
1926         move/resize unmanaged windows.
1928         * src/xlib-util.lisp (move-window, resize-window): New functions.
1930 2008-04-25  Philippe Brochard  <pbrochard@common-lisp.net>
1932         * src/clfswm-util.lisp (current-frame-manage-window-type): Let the
1933         user choose what window type the current frame must handle.
1934         (display-current-window-info): New function.
1935         (current-frame-manage-all-window-type)
1936         (current-frame-manage-only-normal-window-type)
1937         (current-frame-manage-no-window-type): New functions.
1939         * src/clfswm-internal.lisp (managed-window-p): New function.
1941         * src/package.lisp (frame): Managed type: new frame
1942         parameter. This allow to choose what window type a frame must
1943         handle.
1945         * src/*.lisp: Rename all 'father' occurrences to 'parent'.
1947         * src/clfswm-nw-hooks.lisp
1948         (open-in-new-frame-in-parent-frame-nw-hook): New new window hook.
1950         * src/clfswm-util.lisp (adapt-current-frame-to-window-hints): New
1951         function.
1953         * src/tools.lisp (ensure-printable): Return always a string even
1954         with a null string.
1956 2008-04-24  Philippe Brochard  <pbrochard@common-lisp.net>
1958         * src/config.lisp (*default-nw-hook*): New variable to change the
1959         default new window hook.
1961 2008-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
1963         * clfswm.asd (clfswm): Add a dependency from
1964         clfswm-second-mode.lisp to clfswm.lisp.
1966         * src/clfswm-util.lisp (identify-key): Show the documentation for
1967         the function bound on a key.
1968         (with-movement): Move with-movement,
1969         current-frame-fill/pack/resize-*  from bindings-second-mode.lisp
1970         to clfswm-util.lisp.
1972         * src/clfswm-menu.lisp: New menu system that let user change keys
1973         or functions associated to keys.
1975 2008-04-18  Philippe Brochard  <pbrochard@common-lisp.net>
1977         * src/clfswm-internal.lisp (show-all-children): Display-child is
1978         the first child by default. Solve a bug with father-p.
1980 2008-04-17  Philippe Brochard  <pbrochard@common-lisp.net>
1982         * src/clfswm-internal.lisp (add-frame): Add frame return the
1983         created frame.
1984         (show-all-children): Move the size computation outside the
1985         show-child part.
1987         * src/bindings-second-mode.lisp (with-movement): Redisplay only
1988         the current child.
1990         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
1991         only the current child.
1993         * src/clfswm-internal.lisp (show-all-children): New display-child
1994         parameter to display only the desired child and its children.
1995         (select-next/previous-child): Only display the current child.
1997 2008-04-14  Philippe Brochard  <pbrochard@common-lisp.net>
1999         * src/clfswm.lisp (init-display): Move the default frame creation
2000         on the default init hook.
2002         * src/clfswm-keys.lisp (define-ungrab/grab): Handle all keysyms in
2003         the main mode (for example: "1" on an azerty keyboard).
2005 2008-04-13  Philippe Brochard  <pbrochard@common-lisp.net>
2007         * src/clfswm-keys.lisp (find-key-from-code): Better handle of
2008         keysyms. Revert to old grabbing method for the main mode.
2010 2008-04-12  Philippe Brochard  <pbrochard@common-lisp.net>
2012         * src/clfswm.lisp (init-display): Add key handling on no focus
2013         window and on frame windows.
2015 2008-04-11  Philippe Brochard  <pbrochard@common-lisp.net>
2017         * src/clfswm.lisp (main): Keyboard handle strategie change: Grab
2018         all keys by default and replay just what is needed. No change for
2019         the second mode.
2021         * src/clfswm-keys.lisp: remove grab/ungrab main keys.
2022         (find-key-from-code): Test for shift and not shift presence.
2024 2008-04-09  Philippe Brochard  <pbrochard@common-lisp.net>
2026         * src/clfswm-internal.lisp (switch-to-root-frame): show later -
2027         new key parameter to have less flickering.
2029 2008-04-07  Philippe Brochard  <pbrochard@common-lisp.net>
2031         * src/bindings-second-mode.lisp (frame-layout-once-menu): Set the
2032         layout only one time and revert to no-layout to freely handle
2033         frames.
2035         * src/clfswm-nw-hooks.lisp
2036         (open-in-new-frame-in-root-frame-nw-hook): Tile layout with spaces
2037         with new created window.
2039         * src/clfswm-layout.lisp (register-layout): Now register
2040         automatically a once layout to set the layout only one time and
2041         revert to no-layout to freely handle frames.
2043 2008-04-05  Philippe Brochard  <pbrochard@common-lisp.net>
2045         * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): New
2046         nw-hook: Open the next window in the current frame and leave the
2047         focus to the current child.
2049 2008-04-04  Philippe Brochard  <pbrochard@common-lisp.net>
2051         * src/bindings-second-mode.lisp: Add keys definitions to
2052         bind-or-jump in the second mode.
2054         * src/clfswm-util.lisp (bind-or-jump): remove the auto-defining
2055         macro for bind-or-jump-(1|2|3...).
2057         * src/clfswm-keys.lisp (define-define-key/mouse): Allow additional
2058         arguments to function. This allow to do things like:
2059         (define-main-key (key) 'my-function 10 20 'foo) -> 10 20 and 'foo
2060         are passed to my-function on key press.
2062 2008-04-03  Philippe Brochard  <pbrochard@common-lisp.net>
2064         * src/clfswm-util.lisp (bind-or-jump): New (great) function.
2066 2008-04-02  Philippe Brochard  <pbrochard@common-lisp.net>
2068         * src/clfswm-internal.lisp (child-fullname): New function
2070         * src/clfswm-info.lisp (info-mode-menu): Add an explicit optional
2071         docstring in info-mode-menu. An item can be
2072         '((key function) (key function)) or with docstring
2073         '((key function "documentation 1") (key function "bla bla") (key function))
2075         * src/tools.lisp (ensure-n-elems): New function.
2077         * src/bindings-second-mode.lisp: Bind Alt+mouse-1/3 to move or
2078         resize a frame or the window's father.
2080         * src/clfswm.lisp (init-display): Remove tile-space-layout by
2081         default on the root frame.
2083         * src/clfswm-util.lisp (move/resize-frame): Add standard event
2084         hooks handlers (map-request, configure-notify...)
2086         * src/clfswm-internal.lisp (adapt-child-to-father): Limit minimal
2087         child size to 1x1.
2089 2008-04-01  Philippe Brochard  <pbrochard@common-lisp.net>
2091         * src/bindings.lisp: Bind Alt+mouse-1/3 to move or resize a frame
2092         or the window's father.
2094         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Stop button
2095         event only if there is a geometry change.
2096         (mouse-focus-move/resize-generic): Generic function to move or
2097         resize a frame or a window father frame.
2099 2008-04-01  Philippe Brochard  <pbrochard@common-lisp.net>
2101         * src/clfswm-internal.lisp (show-all-children): Return t if there
2102         is a geometry change.
2104 2008-03-30  Philippe Brochard  <pbrochard@common-lisp.net>
2106         * src/bindings.lisp (Up/Down): Swap select previous/next level.
2108         * src/bindings-second-mode.lisp (Up/Down): Swap select previous/next level.
2110         * src/clfswm.lisp (init-display): Create a default frame in the root frame.
2112         * src/clfswm-internal.lisp (place-frame): Place frame from real (pixel) coordinates.
2113         (with-all-*): Reverse the child list to manage the first child last (like in
2114         show-all-children).
2116         * src/config.lisp (*create-frame-on-root*): New variable: Create a new frame on the
2117         root window only if true.
2119         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Create a new frame on the
2120         root window only if *create-frame-on-root* is true.
2122         * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Create a new frame
2123         on the root window.
2125 2008-03-29  Philippe Brochard  <pbrochard@common-lisp.net>
2127         * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Focus, move and resize
2128         the current child (even if it's a window).
2130 2008-03-28  Philippe Brochard  <pbrochard@common-lisp.net>
2132         * src/clfswm-util.lisp (mouse-click-to-focus-and-move)
2133         (mouse-click-to-focus-and-resize): New functions.
2135         * src/clfswm-internal.lisp (*-fl->px): Convert float coordinates to pixel.
2136         (*-px->fl): Convert pixel coordinates to float.
2138         * src/tools.lisp (call-hook): Move call-hook to tools.lisp.
2140 2008-03-27  Philippe Brochard  <pbrochard@common-lisp.net>
2142         * src/clfswm-layout.lisp (no-layout): Use :first-only to raise only the
2143         first child.
2145         * src/clfswm-internal.lisp (hide-all): Split hide-all-children in hide-all
2146         and hide-all-children.
2147         (raise-if-needed): New function.
2148         (show-child): Use a first-p parameter to raise windows only when they are
2149         first child.
2151 2008-03-26  Philippe Brochard  <pbrochard@common-lisp.net>
2153         * src/clfswm-internal.lisp (select-next/previous-level): Don't use show-all-children
2154         -> less flickering.
2156 2008-03-25  Philippe Brochard  <pbrochard@common-lisp.net>
2158         * src/clfswm-info.lisp (keys-from-list): new function.
2160         * src/*: rename 'childs' in 'children'.
2162         * src/*: rename 'group' in 'frame'.
2164 2008-03-22  Philippe Brochard  <pbrochard@common-lisp.net>
2166         * src/clfswm-pack.lisp (explode-group/explode-current-group): new functions.
2168 2008-03-21  Philippe Brochard  <pbrochard@common-lisp.net>
2170         * src/clfswm-pack.lisp: Pack, Fill, Resize functions.
2172 2008-03-16  Philippe Brochard  <pbrochard@common-lisp.net>
2174         * src/clfswm-nw-hooks.lisp: Register system for new window hooks.
2175         Bind control+o to open the next window in a new group in the root group
2176          (as open in next window in a new workspace in 0801 version).
2178 2008-03-15  Philippe Brochard  <pbrochard@common-lisp.net>
2180         * src/clfswm-util.lisp (show/hide-all-groups-info/key): Show/hide all groups info
2181         window.
2183 2008-03-14  Philippe Brochard  <pbrochard@common-lisp.net>
2185         * bindings-second-mode.lisp ("ISO_Left_Tab"): Use ISO_Left_Tab
2186         instead of Tab for select-previous-child.
2188 2008-03-13  Philippe Brochard  <pbrochard@common-lisp.net>
2190         * clfswm-util.lisp (force-window-in-group/force-window-center-in-group):
2191         new functions.
2193 2008-03-11  Philippe Brochard  <pbrochard@common-lisp.net>
2195         * clfswm-util.lisp (identify-key): Display the documentation
2196         associated to keys when identifying a key.
2198 2008-03-10  Xavier Maillard  <xma@gnu.org>
2200         * contrib/clfswm: Complete rewrite of the script. Detect error and
2201         act accordingly. Add command line arguments to configure the
2202         script execution. User can now choose different common lisp
2203         implementation (clisp and sbcl only), choose where to store the
2204         dumped image, where to find clfswm source.
2206 2008-03-09  Philippe Brochard  <pbrochard@common-lisp.net>
2208         * clfswm-internal.lisp (process-new-window): Beginning of new
2209         window hook: each group have a hook to tell what he wants to do
2210         with the new created window.
2212 2008-03-08  Xavier Maillard  <xma@gnu.org>
2214         * contrib/clfswm: New script. Dump a CLISP image of CLFSWM then
2215         call the resulting executable.
2217         * clfswm.lisp (read-conf-file): Check for the user config file in
2218         XDG_CONFIG_HOME *first*. Freedesktop.org standards should be
2219         prefered whenever possible.
2221 2008-02-27  Philippe Brochard  <pbrochard@common-lisp.net>
2223         * clfswm-layout.lisp (*-layout): Add an optional raise-p
2224         parameter in each layout.
2226 2008-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
2228         * clfswm-util.lisp (copy/cut-current-child): Does not affect the
2229         root group.
2230         (copy/move-current-child-by-name/number): new functions
2231         (focus-group-by-name/number): new functions
2232         (delete-group-by-name/number): new functions
2234 2008-02-24  Philippe Brochard  <pbrochard@common-lisp.net>
2236         * ************************************************************ *
2237         *: Major update - No more reference  to workspaces. The main   *
2238         structure is a tree of groups or application windows.          *
2239         * ************************************************************ *
2241 2008-02-07  Philippe Brochard  <pbrochard@common-lisp.net>
2243         * clfswm.lisp (read-conf-file): Read configuration in
2244         $HOME/.clfswmrc or in /etc/clfswmrc or in
2245         $XDG_CONFIG_HOME/clfswm/clfswmrc.
2246         (xdg-config-home): Return the content of $XDG-CONFIG-HOME (default
2247         to $HOME/.config/).
2249 2008-01-18  Philippe Brochard  <pbrochard@common-lisp.net>
2251         * clfswm-internal.lisp (show-all-group): Use *root* and *root-gc*
2252         by default.
2254 2008-01-03  Philippe Brochard  <pbrochard@common-lisp.net>
2256         * clfswm-internal.lisp (find-window-group): New function.
2258         * clfswm*: Change to make clfswm run with clisp/new-clx.
2260 2008-01-01  Philippe Brochard  <pbrochard@common-lisp.net>
2262         * clfswm-util.lisp (query-show-paren): Add show parent matching in
2263         query string.
2264         (query-string): Bind control+k to delete end of line.
2266         * clfswm-second-mode.lisp (draw-second-mode-window): Display
2267         the action on mouse motion in second mode.
2269         * clfswm.lisp (handle-exposure): Redisplay groups on exposure
2270         event but do not clear the root window.
2271         (handle-configure-request): Adjust unmanaged window from their
2272         request.
2274         * clfswm-internal.lisp (process-new-window): Adjust new window
2275         with the specified hints (max/min/base width/height).
2277 2007-12-31  Philippe Brochard  <pbrochard@common-lisp.net>
2279         * clfswm.lisp (handle-configure-request): Send an Configuration
2280         Notify event. This solve a bug with xterm and rxvt who takes some
2281         times to be mapped. Now there is no delay.
2283         * bindings-second-mode.lisp (define-shell): Run programs after
2284         living the second mode.
2286 2007-12-30  Philippe Brochard  <pbrochard@common-lisp.net>
2288         * clfswm-internal.lisp (process-new-window): Do not crop transient
2289         window to group size.
2290         (adapt-window-to-group): Do not crop transient window to group
2291         size.
2293         * clfswm.lisp (handle-configure-request): Adapt just the window to
2294         its group and don't take care of the configure request. Remove the
2295         bug with the Gimp outside the group and speed up the window
2296         manipulation.
2297         (handle-exposure): Remove show-all-group on exposure event
2298         -> Speed up.
2300 2007-12-29  Philippe Brochard  <pbrochard@common-lisp.net>
2302         * clfswm-util.lisp (circulate-group-up-copy-window)
2303         (circulate-group-down-copy-window)
2304         (circulate-workspace-up-copy-group)
2305         (circulate-workspace-down-copy-group): Prevent the copy of the
2306         same window in the same workspace.
2308         * bindings-second-mode.lisp (release-copy-selected-window)
2309         (release-copy-selected-group): Prevent the copy of the same window
2310         in the same workspace.
2312         * clfswm-pager.lisp (generic-pager-move-window-on-previous-line)
2313         (generic-pager-move-window-on-next-line): Remove the copy
2314         property.
2315         (generic-pager-move-group-on-next-workspace)
2316         (generic-pager-move-group-on-previous-workspace): Prevent the copy
2317         of the same window in the same workspace.
2319         * bindings-pager.lisp (mouse-pager-copy-selected-window-release)
2320         (mouse-pager-copy-selected-group-release): Prevent the copy of the
2321         same window in the same workspace.
2323         * tools.lisp (setf/=): new macro to set a variable only when
2324         necessary.
2326         * clfswm-internal.lisp (adapt-window-to-group): use set/= to set
2327         x, y... only when necessary.
2329 2007-12-28  Philippe Brochard  <pbrochard@common-lisp.net>
2331         * clfswm.lisp (handle-configure-notify, *configure-notify-hook*):
2332         new function and hook: force windows to stay in its group (solve a
2333         bug with the Gimp).
2335 2007-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
2337         * bindings-second-mode.lisp (mouse-motion): use hide-group to have
2338         less flickering when moving/resizing groups.
2340         * clfswm-internal.lisp (hide-group): new function.
2341         (show-all-group): clear-all: new parameter.
2343 2007-12-22  Philippe Brochard  <pbrochard@common-lisp.net>
2345         * clfswm-keys.lisp (define-define-key): undefine-*-multi-name: new
2346         macro.
2347         * clfswm*: Color change for the pager. Typo or better description
2348         in bindings definitions. Define bindings for a qwerty keyboard by
2349         default. dot-clfswmrc show examples to switch to an azerty
2350         keyboard.
2351         License change to GPL v3.
2352         * config.lisp: new file - group all globals variables in this
2353         file.
2355 2007-08-26  Philippe Brochard  <pbrochard@common-lisp.net>
2357         * xlib-util.lisp (hide-window): Remove structure-notivy events
2358         when hidding a window.
2360 2007-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
2362         * package.lisp (*sm-property-notify-hook*): Readded
2363         property-notify-hook in second mode.
2365 2007-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
2367         * clfswm-keys.lisp (produce-doc-html): Better clean up for strings.
2369 2007-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
2371         * clfswm-pack.lisp (tile-current-workspace-to/right/left/top/bottom):
2372         Tile the current workspace with the current window on one side and
2373         others on the other (this emulate the larswm, dwm, wmii way). See
2374         the default configuration file to enable this mode by default.
2376         * clfswm-pager.lisp (pager-tile-current-workspace-to): idem for
2377         the pager.
2379 2007-05-12  Philippe Brochard  <pbrochard@common-lisp.net>
2381         * clfswm-pager.lisp (pager-draw-window-in-group): Add
2382         ensure-printable to print windows name even with non-ascii
2383         characters.
2385 2007-05-11  Philippe Brochard  <pbrochard@common-lisp.net>
2387         * clfswm-pager.lisp (pager-explode-current-group): Create a new
2388         group for each window in group.
2389         (pager-implode-current-group): Move all windows in workspace to
2390         one group and remove other groups.
2392         * clfswm-pack.lisp (explode-group): Create a new group for each
2393         window in group.
2394         (implode-group): Move all windows in workspace to one group and
2395         remove other groups.
2397         * clfswm-util.lisp (identify-key): Remove local configuration
2398         variables and made them available for configuration from
2399         package.lisp.
2400         (query-string): idem.
2402 2007-04-29  Philippe Brochard  <pbrochard@common-lisp.net>
2404         * netwm-util.lisp: Start of NetWM compliance.
2405         Add a Netwm client list gestion.
2407 2007-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
2409         * clfswm-internal.lisp (create-group-on-request): open a new group
2410         only when the current group is not empty.
2412         * bindings-second-mode.lisp (define-second-key-#\o-control): Fix a
2413         bug with null workspace.
2415         * clfswm-pager.lisp (pager-handle-event): Add a hook
2416         system. This hooks can be changed in the user configuration file.
2418         * package.lisp: All colors and font variables are set in
2419         package.lisp and can be configured in the user configuration
2420         file.
2421         Note: If you have configured some less ugly colors (esp. for the
2422         pager) don't hesitate to let me know :)
2424         * clfswm-second-mode.lisp (sm-handle-event): Add a hook
2425         system. This hooks can be changed in the user configuration file.
2427         * clfswm.lisp (handle-event): Add a hook system. This hooks can be
2428         changed in the user configuration file (~/.clfswmrc)
2430 2007-04-25  Philippe Brochard  <pbrochard@common-lisp.net>
2432         * clfswm-util.lisp (stop-all-pending-actions): new function: reset
2433         arrow action, open next window in new workspace/group.
2435         * bindings.lisp (stop-all-pending-actions): new binding.
2436         (open-next-window-in-new-group-once): Open the next windows in a
2437         new group (only once) or open all new windows in a new group (like
2438         others windows managers).
2440 2007-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
2442         * clfswm.lisp (read-conf-file): New function to read a lisp
2443         configuration file at startup.
2444         (focus-group-under-mouse): Check if group isn't the current group
2445         ( prevent a bug with unclutter ).
2447 2007-03-02  Philippe Brochard  <pbrochard@common-lisp.net>
2449         * bindings.lisp (run-program-from-query-string): A program can be
2450         launch from a input query window.
2452 2007-03-01  Philippe Brochard  <pbrochard@common-lisp.net>
2454         * clfswm-info.lisp: Fix a bug with banish pointer in info mode.
2456 2007-02-28  Philippe Brochard  <pbrochard@common-lisp.net>
2458         * clfswm.lisp (process-new-window): One can now open the next
2459         window in a workspace called by its number.
2461         * clfswm-util.lisp (query-font-string): Minimal editing
2462         capabilities.
2463         (eval-from-string): And an REPL in the window manager... :)
2465 2007-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
2467         * clfswm.lisp (process-new-window): One can now open the next
2468         window in a new workspace or a new group.
2470         * clfswm-pager.lisp (pager-mode): Display the next arrow action
2471         with the hidden windows.
2473         * clfswm.lisp (second-key-mode): Display the current workspace
2474         number and the next arrow action in the state window.
2476         * clfswm-pager.lisp (pager-mode): Hide all windows before leaving
2477         the pager mode and then redisplay only the current workspace.
2479 2007-02-25  Philippe Brochard  <pbrochard@common-lisp.net>
2481         * clfswm.lisp (add-workspace): Workspaces are now numbered. So
2482         they can be focused with a keypress, sorted or renumbered.
2484 2007-02-24  Philippe Brochard  <pbrochard@common-lisp.net>
2486         * clfswm-pager.lisp (pager-mode): Remove multiple silly
2487         pager-draw-display. This prevent a lot of flickering in the
2488         pager.
2490         * clfswm.lisp: Remove all display-force-output and replace them
2491         with only one display-finish-output in the event loop.
2493 2006-11-06  Philippe Brochard  <pbrochard@common-lisp.net>
2495         * clfswm-pager.lisp (pager-center-group): New function - center a
2496         group at the middle of the screen.
2498         * clfswm-pack.lisp (center-group): New function - center a group
2499         at the middle of the screen.
2501         * clfswm.lisp (show-group): Add a cross line under the group.
2502         (show-group): Group are showned even if fullscreened.
2503         (init-display): Add an exposure event on the root window.
2505 2006-11-05  Philippe Brochard  <pbrochard@common-lisp.net>
2507         * package.lisp (*default-group*): Default group is the same size
2508         of a fullscreened group.
2510         * bindings*: Use shift to move, control+shift to copy.
2512         * *.lisp: Add comments for configuration or alternatives. So grep
2513         for CONFIG to see where you can configure clfswm. And grep for
2514         Alternative to use some commented code.
2516         * clfswm.lisp (second-key-mode): Use a single window to show the
2517         second mode. See for alternatives at the end of this file.
2519 2006-11-03  Philippe Brochard  <pbrochard@common-lisp.net>
2521         * clfswm-keys.lisp (define-define-key/mouse): Factorisation in a
2522         macro of key and mouse definitions.
2523         (define-define-key/mouse): Use state instead of modifiers list
2524         this fix a bug when the modifiers list is not in the rigth order.
2526         * clfswm.lisp (second-key-mode): Add a colored border in second mode.
2528 2006-11-02  Philippe Brochard  <pbrochard@common-lisp.net>
2530         * clfswm-info.lisp (info-mode): Add an info mode.
2532 2006-11-01  Philippe Brochard  <pbrochard@common-lisp.net>
2534         * clfswm.lisp (process-new-window): Change border size for
2535         transient windows.
2536         (show-all-windows-in-workspace): Unhide all windows even when the
2537         current group is in fullscreen mode.
2539 2006-10-26  Philippe Brochard  <pbrochard@common-lisp.net>
2541         * clfswm-util.lisp (identify-key): Add an exposure handle-event to
2542         redisplay the identify window after a terminal switch.
2544         * clfswm-pager.lisp (pager-mode): Add an exposure handle-event to
2545         redisplay the pager after a terminal switch.
2547 2006-10-24  Philippe Brochard  <pbrochard@common-lisp.net>
2549         * clfswm-util.lisp (identify-key): Add a window to display
2550         the keys to identify on screen.
2552         * bindings.lisp, bindings-pager.lisp: Define same keys to
2553         move/copy groups/windows in second mode and in pager.
2555         * clfswm.lisp (handle-event*): Same version in all clfswm (fix some
2556         drawing lags).
2557         (show-all-windows-in-workspace): unhide window before adapting it
2558         to group.
2560 2006-10-23  Philippe Brochard  <pbrochard@common-lisp.net>
2562         * clfswm.lisp (handle-event): Revert to an older version.
2564 2006-10-18  Philippe Brochard  <pbrochard@common-lisp.net>
2566         * clfswm-util.lisp (force-window-in-group)
2567         (force-window-center-in-group): New functions for transient windows.
2569         * clfswm-pager.lisp (pager-remove-current-workspace/group):
2570         bugfix: hide all windows before removing group or workspace.
2572 2006-10-17  Philippe Brochard  <pbrochard@common-lisp.net>
2574         * bindings-pager.lisp (mouse-pager-move-selected-group)
2575         (mouse-pager-copy-selected-group)
2576         (mouse-pager-move-selected-window)
2577         (mouse-pager-copy-selected-window, mouse-pager-rotate-window-up)
2578         (mouse-pager-rotate-window-down): New functions to have mouse in
2579         pager mode.
2581         * clfswm-pager.lisp (pager-swap-window)
2582         (pager-copy-group-on-next/previous-workspace)
2583         (pager-copy-window-on-next/previous-line): New functions
2585 2006-10-15  Philippe Brochard  <pbrochard@common-lisp.net>
2587         * clfswm-pager.lisp (pager-move-window-on-next/previous-line,
2588         (pager-move-group-on-next/previous-workspace): new functions.
2590         * clfswm-pack.lisp (resize-half-x-x-current-group): resize group
2591         to its half size (new functions).
2593 2006-10-11  Philippe Brochard  <pbrochard@common-lisp.net>
2595         * clfswm-pager.lisp: workspaces, groups and windows can now be
2596         selectionned with the keyboard or the mouse.
2598 2006-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
2600         * clfswm-pager.lisp (pager-select-workspace-right/left):
2601         workspaces can now be selectionned with the keyboard.
2603 2006-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
2605         * clfswm-keys.lisp (undefine-main-key, undefine-second-key, undefine-mouse-action):
2606         new function to remove a previous defined key or mouse combination.
2608 2006-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
2610         * clfswm.lisp (main): Check for access error in init-display.
2612         * clfswm-keys.lisp (define-ungrab/grab): check for keysym and
2613         keycode before grabbing.
2615         * bindings.lisp: Remove nlambda and use defun to keep the function
2616         documentation with clisp.
2617         (define-shell): new macro to define shell command for the second
2618         mode.
2620 2006-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
2622         * clfswm-keys.lisp (define-ungrab/grab): use a cond instead of a
2623         boggus typecase.
2625 2006-10-05  Philippe Brochard  <pbrochard@common-lisp.net>
2627         * bindings.lisp (accept-motion): Move group bugfix in upper mouse
2628         workspace circulation.
2630         * clfswm-util.lisp (absorb-orphan-window): new function.
2632         * clfswm-keys.lisp: Keysyms support.
2634 2006-10-02  Philippe Brochard  <pbrochard@common-lisp.net>
2636         * clfswm.lisp (show-group): Use one gc for all groups and not one
2637         per group.
2639 2006-10-01  Philippe Brochard  <pbrochard@common-lisp.net>
2641         * bindings.lisp (define-second-key (#\l :mod-1)): fix a typo.
2643         * clfswm.lisp (adapt-window-to-group): Adapt only windows with
2644         width and height outside group.
2646 2006-09-28  Philippe Brochard  <pbrochard@common-lisp.net>
2648         * clfswm.lisp: First public release.