src/xlib-util.lisp (event-hook-name): Intern hook name symbole in :clfswm package.
[clfswm.git] / ChangeLog
bloba5387d22f74786887d8ac1eb71a132d7baa36b82
1 2012-08-14  Philippe Brochard  <pbrochard@common-lisp.net>
3         * src/xlib-util.lisp (event-hook-name): Intern hook name symbole
4         in :clfswm package.
6 2012-08-13  Philippe Brochard  <pbrochard@common-lisp.net>
8         * contrib/toolbar.lisp (toolbar-module-text): Print a formatted
9         text at module position centered in toolbar.
11         * src/xlib-util.lisp (optimize-event-hook): Remove unused event
12         hooks.
14 2012-08-12  Philippe Brochard  <pbrochard@common-lisp.net>
16         * contrib/toolbar.lisp: End of toolbar framework.
17         (list-toolbar-modules): Add a list toolbar modules function.
19 2012-08-03  Philippe Brochard  <pbrochard@common-lisp.net>
21         * src/clfswm-internal.lisp (show-child): Show unmanaged windows
22         on (maybe) current child in all roots.
24         * src/clfswm-util.lisp (find-child-under-mouse-in-child-tree):
25         Handle children from all roots instead of from  *root-frame*.
27 2012-07-23  Philippe Brochard  <pbrochard@common-lisp.net>
29         * src/clfswm-expose-mode.lisp: New expose mode based on standard
30         query input.
32 2012-06-27  Philippe Brochard  <pbrochard@common-lisp.net>
34         * src/clfswm-util.lisp (eval-from-query-string): Add completion
35         for eval for query string.
37 2012-06-26  Philippe Brochard  <pbrochard@common-lisp.net>
39         * src/clfswm-query.lisp: Add completion for shell commands.
41 2012-06-18  Philippe Brochard  <pbrochard@common-lisp.net>
43         * src/clfswm-placement.lisp: Each child can have its own border
44         size. New binding to change the child border size on the fly.
46 2012-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
48         * src/tools.lisp (process-timers): Call get-internal-real-time
49         only once for all times.
51 2012-06-07  Philippe Brochard  <pbrochard@common-lisp.net>
53         * contrib/toolbar.lisp (define-toolbar-hooks): Add auto-hide
54         clickable toolbar.
55         (define-toolbar-hooks): Add auto-hide toolbar (show/hide on mouse
56         motion event).
58 2012-06-06  Philippe Brochard  <pbrochard@common-lisp.net>
60         * src/xlib-util.lisp (handle-event): Add an additional hook event
61         system to handle events in contrib code.
63 2012-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
65         * src/clfswm-placement.lisp: Add an optional border size in all
66         placement functions.
68 2012-05-30  Philippe Brochard  <pbrochard@common-lisp.net>
70         * contrib/toolbar.lisp (clock): Add a clock module.
72 2012-05-28  Philippe Brochard  <pbrochard@common-lisp.net>
74         * contrib/toolbar.lisp: begining of toolbar support.
76 2012-05-24  Philippe Brochard  <pbrochard@common-lisp.net>
78         * src/clfswm-internal.lisp (rotate-root-geometry): Do not use
79         rotatef but a simpler algorithm.
81 2012-05-19  Philippe Brochard  <pbrochard@common-lisp.net>
83         * src/clfswm-placement.lisp: Adjust width and height in child and
84         root placement to prevent too big child size.
86 2012-05-18  Philippe Brochard  <pbrochard@common-lisp.net>
88         * src/clfswm-placement.lisp: New root placement possibility.
90         * src/clfswm-util.lisp (change-current-root-geometry): New
91         function.
93 2012-05-17  Philippe Brochard  <pbrochard@common-lisp.net>
95         * src/clfswm-util.lisp (exchange-root-geometry-with-mouse): New
96         function and menu.
98 2012-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
100         * src/menu-def.lisp: New root menu.
102 2012-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
104         * src/clfswm-circulate-mode.lisp (rotate-root-geometry-next)
105         (rotate-root-geometry-previous): New second mode binding to change
106         root geometry.
108 2012-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
110         * src/clfswm-internal.lisp: Remove the *current-child* variable
111         and use a setfable function (current-child) instead.
112         (current-child-setter): Store root current child before apllying
113         current child change.
115 2012-05-09  Philippe Brochard  <pbrochard@common-lisp.net>
117         * src/clfswm-internal.lisp: Use xdpyinfo/xinerama informations
118         instead of xrandr informations.
120 2012-05-06  Philippe Brochard  <pbrochard@common-lisp.net>
122         * src/clfswm-internal.lisp : Use only one list for root
123         management.
124         (*root*): Root management API simplification.
126 2012-04-30  Philippe Brochard  <pbrochard@common-lisp.net>
128         * src/clfswm-internal.lisp: Big change to replace *current-root*
129         variable to support multiple root.
131 2012-04-18  Philippe Brochard  <pbrochard@common-lisp.net>
133         * src/tools.lisp (add-new-hook, add-hook): New macro. Do not
134         duplicate hooks by default. Use add-new-hook if you want to
135         duplicate them.
137 2012-04-16  Philippe Brochard  <pbrochard@common-lisp.net>
139         * src/clfswm-corner.lisp (wait-window-in-query-tree): Add a limit
140         of try to wait the command window.
142 2012-02-25  Philippe Brochard  <pbrochard@common-lisp.net>
144         * src/clfswm-util.lisp (place-frames-from-xrandr)
145         (swap-frame-geometry, rotate-frame-geometry): New helper functions
146         for multiple physical screen.
147         (jump-to-slot, add-frame-in-parent-frame): Change *current-root*
148         only when needed.
150 2012-01-18  Philippe Brochard  <pbrochard@common-lisp.net>
152         * src/*.lisp: Use create-symbol and create-symbol-in-package
153         instead of the shorter symb. (Thanks Aad Versteden).
155         * src/bindings-second-mode.lisp (set-default-second-keys): New
156         key binding to set window and frame transparency.
158         * src/bindings.lisp (set-default-main-mouse): New mouse binding to
159         set window and frame transparency.
161         * src/clfswm-keys.lisp (define-keys): New macro to ease multiple
162         keys definitions. (Thanks Valentin Plechinger for the request).
164         * src/*.lisp: Add full transparency support with xcompmgr.
166 2012-01-14  Philippe Brochard  <pbrochard@common-lisp.net>
168         * src/*.lisp: Add transparency support.
170 2012-01-09  Ales Guzik <ales.guzik@gmail.com>
172         * src/clfswm-layout.lisp (tile-layout-mix): New layout to
173         automatically choose between vertival and horizontal tile layout.
174         (tile-space-layout): Fix to have space between screen border and
175         frame the same as between frames.
177 2012-01-04  Philippe Brochard  <pbrochard@common-lisp.net>
179         * load.lisp: Support clisp 2.49+ module system to load CLX.
181 2012-01-04  Ales Guzik <ales.guzik@gmail.com>
183         * src/clfswm-layout.lisp (update-layout-managed-children-keep-position):
184         Fix an inattention error.
186 2012-01-04  Philippe Brochard  <pbrochard@common-lisp.net>
188         * src/xlib-util.lisp (with-xlib-protect): Protect from
189         xlib:lookup-error. This prevent an error in clisp/new-clx when
190         sometimes an xlib:colormap is expected instead of an xlib:window.
192 2012-01-03  Philippe Brochard  <pbrochard@common-lisp.net>
194         * src/xlib-util.lisp (handle-event): Fix a clisp/new-clx error
195         when sometimes window slot of event-slots is a pixmap instead of a
196         window.
198 2011-12-26  Philippe Brochard  <pbrochard@common-lisp.net>
200         * src/clfswm-query.lisp: Fill the history list with a non-nil
201         value.
203 2011-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
205         * src/package.lisp (make-x-drawable): Drawable wrapper to prevent
206         type error in some CLX versions.
207         Replace xlib:drawable-* functions with x-drawable-* equivalents
209 2011-12-14  Philippe Brochard  <pbrochard@common-lisp.net>
211         * src/clfswm-util.lisp (um-create-xdg-section-list): Add at least
212         the 'Utility menu entry.
214         * src/config.lisp (*xdg-section-list*): moved to config.lisp.
216         * src/clfswm-util.lisp (update-menus): Set a default value for
217         searching .desktop files when XDG_DATA_DIRS is not set.
219 2011-10-15  Philippe Brochard  <pbrochard@common-lisp.net>
221         * src/clfswm-internal.lisp (place-window-from-hints): Use
222         with-placement macro to place unmanaged windows in an arbitrary
223         place.
225 2011-06-16  Philippe Brochard  <pbrochard@common-lisp.net>
227         * src/clfswm-internal.lisp (clean-windows-in-all-frames): Prevent
228         current root and current child being equal to child.
230 2011-06-13  Philippe Brochard  <pbrochard@common-lisp.net>
232         * src/keysyms.lisp: Repeat Page_Down/Up keysym definitions at the
233         end of the file to change keysyms priority.
235 2011-06-13  Sylvain HENRY <hsyl20@gmail.com>
237         *  *.*: Minor spelling fix.
239 2011-06-12  Philippe Brochard  <pbrochard@common-lisp.net>
241         * src/clfswm.lisp (:unmap-notify, :destroy-notify): Show all
242         children just after the xlib tree cleanup -> reduce the
243         flickering when a window is deleted or destroyed.
245         * src/clfswm-internal.lisp (process-existing-windows): Do not
246         process the notify window.
248 2011-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
250         * *: **** Release 1106 ****
252 2011-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
254         * src/clfswm-internal.lisp (clean-windows-in-all-frames): New
255         function to prevent xlib error when a window is deleted.
257 2011-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
259         * src/clfswm-internal.lisp
260         (delete-child-and-children-in-all-frames): Delete or destroy
261         children before displaying all children.
263 2011-06-05  Philippe Brochard  <pbrochard@common-lisp.net>
265         * src/clfswm-util.lisp (add-frame-in-parent-frame): New function
266         and binding.
268 2011-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
270         * src/clfswm.lisp (main-unprotected): Destroy all frames windows
271         before closing the display (not really needed).
273 2011-06-02  Philippe Brochard  <pbrochard@common-lisp.net>
275         * src/clfswm-layout.lisp (inc-tile-layout-size)
276         (dec-tile-layout-size, inc-slow-tile-layout-size)
277         (dec-slow-tile-layout-size): New functions and bindings.
279 2011-06-01  Philippe Brochard  <pbrochard@common-lisp.net>
281         * src/clfswm-expose-mode.lisp (define-expose-letter-keys): Add
282         0..1 and A..Z keys to select a child in exposé mode.
284         * src/clfswm-internal.lisp (display-frame-info): Remove hidden
285         infos in frames windows.
287         * src/clfswm-util.lisp (ask-close/kill-current-window): Menu
288         update.
290 2011-05-30  Philippe Brochard  <pbrochard@common-lisp.net>
292         * src/clfswm-internal.lisp (get-parent-layout): Minor fullscreen
293         size tweaking.
295 2011-05-29  Philippe Brochard  <pbrochard@common-lisp.net>
297         * src/clfswm-internal.lisp
298         (delete-child-and-children-in-all-frames): Show all children
299         before deleting/destroying a windows, so prevent a flickering.
300         (get-parent-layout): Return the fullscreen size when the current
301         root is a window.
303 2011-05-28  Philippe Brochard  <pbrochard@common-lisp.net>
305         * src/clfswm-internal.lisp (get-parent-layout): Handle correctly
306         unmanaged windows.
308         * src/clfswm-util.lisp (delete-focus-window-generic): Do not hide
309         child before removing, so prevent a flickering.
311         * src/clfswm-internal.lisp (show-all-children): Rectangular
312         optimization to display only needed children.
313         (show-all-children): Remove flickering on
314         select-next/previous-brother.
316 2011-05-17  Philippe Brochard  <pbrochard@common-lisp.net>
318         * src/clfswm-util.lisp (copy-focus-window, cut-focus-window): New
319         functions and ask-close/kill-current-window menu and bindings
320         entry.
322 2011-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
324         * src/clfswm-util.lisp (ask-close/kill-current-window): Add an
325         *ask-close/kill-placement* placement window variable.
327 2011-05-09  Philippe Brochard  <pbrochard@common-lisp.net>
329         * contrib/osd.lisp (funcall-button-from-code): Display osd
330         documention for buttons and fix some redefining warnings.
332 2011-05-07  Philippe Brochard  <pbrochard@common-lisp.net>
334         * src/clfswm-nw-hooks.lisp (make-permanent-nw-hook-frame): New
335         function. Prevent to add or delete a new window hook for this
336         frame.
338         * src/clfswm-layout.lisp (update-layout-managed-children-position):
339         New function.
341 2011-05-06  Philippe Brochard  <pbrochard@common-lisp.net>
343         * src/bindings-second-mode.lisp (set-default-second-keys):
344         select-brother-spatial-move-* binding update.
346         * src/clfswm-layout.lisp (tile-left|right|top|bottom-layout): Ask
347         to keep children positions or not.
349         * src/clfswm-internal.lisp (fixe-real-size): Takes care of border
350         size.
352         * src/clfswm-layout.lisp (update-layout-managed-children): Fix a
353         bug by using the parent frame instead of the current child.
355         * src/clfswm-circulate-mode.lisp
356         (select-brother-generic-spatial-move+right/left/up/down): New
357         function to select a brother from another in a spatial move.
359 2011-04-19  Philippe Brochard  <pbrochard@common-lisp.net>
361         * src/clfswm-pack.lisp (move-frame-constrained)
362         (resize-frame-constrained): Use pixels instead of floating
363         measure.
365 2011-04-18  Philippe Brochard  <pbrochard@common-lisp.net>
367         * src/clfswm-pack.lisp (resize-frame-constrained): Takes care of
368         border size.
369         (implode-frame, implode-current-frame): New functions. Absorb all
370         frames subchildren in frame. Explode frame opposite.
372 2011-04-17  Philippe Brochard  <pbrochard@common-lisp.net>
374         * src/clfswm-pack.lisp (move-frame-constrained)
375         (resize-frame-constrained): New function. Move and resize frame
376         with the mouse constrained by other frame brothers.
378 2011-04-14  Philippe Brochard  <pbrochard@common-lisp.net>
380         * src/clfswm-util.lisp (with-movement-select-next-brother)
381         (with-movement-select-previous-brother)
382         (with-movement-select-next-child): Use a simple method (do not
383         enter in the circulate mode) to allow to circulate in all children
384         or brothers.
386         * src/clfswm-menu.lisp (open-menu): Save info hash table keys
387         instead of deleting newly created keys.
389 2011-03-21  Philippe Brochard  <pbrochard@common-lisp.net>
391         * src/clfswm-internal.lisp (x-px->fl, y-px->fl): Takes care of
392         border size.
394 2011-03-20  Philippe Brochard  <pbrochard@common-lisp.net>
396         * src/clfswm-info.lisp (show-config-variable): call
397         produce-conf-var-doc.
399 2011-03-18  Philippe Brochard  <pbrochard@common-lisp.net>
401         * src/clfswm-autodoc.lisp (produce-conf-var-doc-html): Produce a
402         documentation for all configurable variables in CLFSWM -
403         HTML version.
405         * src/clfswm-internal.lisp (leave-frame): Hide all children except
406         the current window.
408 2011-03-16  Philippe Brochard  <pbrochard@common-lisp.net>
410         * src/clfswm-autodoc.lisp (produce-all-docs): Produce a
411         documentation for all configurable variables in CLFSWM.
413         * src/clfswm-layout.lisp (set-gimp-layout): Display a notify
414         window with the help on the GIMP layout.
416 2011-03-12  Philippe Brochard  <pbrochard@common-lisp.net>
418         * src/menu-def.lisp: Menu update to prevent cursor keys clash.
420         * clfswm.asd: Change compilation order to prevent undefined
421         variables.
423         * src/clfswm-internal.lisp (show-child(frame)): Handle properly
424         the show-root-frame-p parameter.
426 2011-03-11  Philippe Brochard  <pbrochard@common-lisp.net>
428         * src/clfswm-util.lisp (move-frame, resize-frame): Do not move or
429         resize a frame when it's the current root.
431 2011-03-10  Philippe Brochard  <pbrochard@common-lisp.net>
433         * src/clfswm-internal.lisp (show-all-children): Handle properly
434         duplicated child in multipe frames.
436 2011-03-09  Philippe Brochard  <pbrochard@common-lisp.net>
438         * contrib/volume-mode.lisp (set-default-volume-keys): Add more
439         keybindings (up/down, right/left) to raise/lower the volume.
441         * src/clfswm-layout.lisp: Add a variable border size for frames
442         and windows.
444 2011-03-08  Philippe Brochard  <pbrochard@common-lisp.net>
446         * src/clfswm-util.lisp (cut-current-child, remove-current-child)
447         (delete-current-child): Hide the current child before doing the
448         action.
450         * src/clfswm-internal.lisp (show-all-children): Hide windows not
451         in the current root before displaying those in current root.
452         Remove all hide-all unnecessary calls.
454         * src/clfswm-configuration.lisp (save-variables-in-conf-file):
455         Save only variables with a different value than their original
456         value.
458 2011-03-07  Philippe Brochard  <pbrochard@common-lisp.net>
460         * src/clfswm-info.lisp (show-config-variable): Use the new
461         defconfig method.
463         * src/clfswm-autodoc.lisp (produce-configuration-variables): Use
464         the new defconfig method.
466         * src/clfswm-configuration.lisp (create-configuration-menu):
467         Change the config system with a more lispy one and a less string
468         based one: (defconfig name value group doc).
471 2011-03-06  Philippe Brochard  <pbrochard@common-lisp.net>
473         * src/clfswm-internal.lisp (show-all-children): Simplify the
474         selection method.
475         (show-child): Display an unmanaged window whe  it's the current
476         child.
477         (show-all-children): add the ability to display all child from
478         *root-frame* and hide all those who are not in *current-root*.
479         -> remove hide-all-children when needed.
481         * src/xlib-util.lisp (move-window,resize-window): Add a
482         *color-move-window* border when moving or resizing a window.
484 2011-03-04  Philippe Brochard  <pbrochard@common-lisp.net>
486         * src/clfswm-internal.lisp (show-all-children): Perform only one
487         recusion on the clfswm tree: calculate geometry and place child in
488         one pass.
490 2011-03-03  Philippe Brochard  <pbrochard@common-lisp.net>
492         * src/clfswm-internal.lisp (show-all-children): Rethink of display
493         child order to prevent very annoying flickering.
495 2011-02-27  Philippe Brochard  <pbrochard@common-lisp.net>
497         * src/clfswm-util.lisp (query-yes-or-no): New function.
499         * src/clfswm-configuration.lisp (reset-all-config-variables): New
500         function and menu entry.
501         (query-conf-value): Add the ability to leave the field blank to
502         reset the variable to its default value.
504 2011-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
506         * src/clfswm-configuration.lisp
507         (add-all-configuration-default-value): Add a default value to
508         configurable variables.
510 2011-02-23  Philippe Brochard  <pbrochard@common-lisp.net>
512         * src/clfswm.lisp (main-unprotected): Create the configuration
513         menu only once at startup.
515 2011-02-22  Desmond O. Chang <dochang@gmail.com>
517         * contrib/amixer.lisp: Add a volume mode inspired by the emms
518         volume package. Alsa mixer interface.
520         * contrib/volume-mode.lisp: Add a volume mode inspired by the emms
521         volume package.
523 2011-02-22 Desmond O. Chang <dochang@gmail.com>
525         * src/clfswm.lisp (main): Use ASDF:SYSTEM-SOURCE-DIRECTORY instead
526         of *LOAD-TRUENAME*. *LOAD-TRUENAME* is only bound during a call to
527         LOAD. If one eval CLFSWM:MAIN in repl, BASE-DIR will be an empty
528         string. Use ASDF:SYSTEM-SOURCE-DIRECTORY to fix it.
530 2011-02-16  Philippe Brochard  <pbrochard@common-lisp.net>
532         * src/clfswm.lisp (main-unprotected): Add a close hook. And close
533         the notify window, the virtual keyboard and the clfswm terminal by
534         default.
536 2011-02-15  Philippe Brochard  <pbrochard@common-lisp.net>
538         * src/clfswm.lisp (main-unprotected): Destroy the notify window
539         before closing the display. This fix a bug when resetting/reloading
540         clfswm.
542 2011-02-12  Philippe Brochard  <pbrochard@common-lisp.net>
544         * src/xlib-util.lisp (equal-wm-class-fun, equal-wm-name-fun)
545         (raise-window-fun, raise-and-focus-window-fun): New functions.
547         * src/config.lisp (*clfswm-terminal-cmd*): Switch from xterm to
548         urxvt.
549         (*never-managed-window-list*): Structure change to be more
550         flexible. Let the choice to focus, raise and do nothing on never
551         managed windows.
553 2011-02-09  Philippe Brochard  <pbrochard@common-lisp.net>
555         * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Take
556         care of never managed windows to move or resize them if the raise
557         parameter is true.
559         * src/clfswm-internal.lisp (in-frame, in-window, in-child): New
560         functions.
562 2011-02-08  Philippe Brochard  <pbrochard@common-lisp.net>
564         * src/clfswm.lisp (main-mode): Raise or not unmanaged windows
565         following request in *never-managed-window-list*.
567 2011-02-05  Philippe Brochard  <pbrochard@common-lisp.net>
569         * *: **** Release 1102 ****
571 2011-02-05  Desmond O. Chang <dochang@gmail.com>
573         * src/keysyms.lisp: Add extended keysyms from stumpwm.
575 2011-02-01  Desmond O. Chang <dochang@gmail.com>
577         * src/clfswm-util.lisp (run-or-raise): New function (thanks to
578         Desmond O. Chang).
580         * src/clfswm-internal.lisp (with-all-*): add a nil block.
582 2011-01-28  Desmond O. Chang <dochang@gmail.com>
584         * src/clfswm-util.lisp (xdg-config-home): XDG_CONFIG_HOME should
585         be $HOME/.config by default.
587 2010-12-29  Philippe Brochard  <pbrochard@common-lisp.net>
589         * contrib/osd.lisp (display-doc): Add another method where a
590         CLFSWM native window is used to display the key documentation.
592 2010-12-27  Philippe Brochard  <pbrochard@common-lisp.net>
594         * src/xlib-util.lisp (with-xlib-protect): Force to revert to the
595         main mode state.
597 2010-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
599         * src/clfswm-second-mode.lisp (second-key-mode): Call the second
600         mode leave function only when the generic mode was ended.
602 2010-12-08  Philippe Brochard  <pbrochard@common-lisp.net>
604         * src/clfswm-second-mode.lisp (sm-leave-function): Do not use
605         *second-mode-program* anymore.
607 2010-12-07  Philippe Brochard  <pbrochard@common-lisp.net>
609         * src/clfswm-second-mode.lisp (*second-mode-leave-function*): New
610         variable bound to a function executed (when not null) on second
611         mode leaving.
613 2010-11-14  Philippe Brochard  <pbrochard@common-lisp.net>
615         * src/clfswm-util.lisp (find-child-under-mouse): Do not find
616         hidden windows.
618 2010-11-13  Philippe Brochard  <pbrochard@common-lisp.net>
620         * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
621         Do not display the accel window for unmanaged windows.
623 2010-11-11  Philippe Brochard  <pbrochard@common-lisp.net>
625         * src/clfswm-internal.lisp (set-current-root): Handle
626         window-parent in set-current-root.
628         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Do not
629         focus the parent child when the current root is a window.
631 2010-11-09  Philippe Brochard  <pbrochard@common-lisp.net>
633         * src/clfswm-expose-mode.lisp (expose-windows-current-child-mode):
634         New function an bindings.
636         * src/clfswm-layout.lisp (tile-layout, set-tile-layout): Fill
637         blanks if needed.
639 2010-11-07  Philippe Brochard  <pbrochard@common-lisp.net>
641         * src/clfswm-layout.lisp (tile-layout-ask-keep-position): New
642         function to let the user choose to keep child position with
643         tile layout.
645         * src/clfswm-internal.lisp (remove-frame-data-slot): New
646         function.
648 2010-11-05  Philippe Brochard  <pbrochard@common-lisp.net>
650         * src/clfswm-internal.lisp (frame-select-next-child)
651         (frame-select-previous-child): New functions and bindings. Select
652         the next/previous child in the current frame.
654 2010-10-31  Philippe Brochard  <pbrochard@common-lisp.net>
656         * src/clfswm-query.lisp (query-mode-complet): New function: Handle
657         completion in query-mode.
659 2010-10-30  Philippe Brochard  <pbrochard@common-lisp.net>
661         * src/clfswm-query.lisp (query-print-string): Handle long lines
662         correctly.
664 2010-10-27  Philippe Brochard  <pbrochard@common-lisp.net>
666         * src/clfswm-expose-mode.lisp (expose-create-window): Ensure that
667         all characters are printable.
669 2010-10-25  Philippe Brochard  <pbrochard@common-lisp.net>
671         * contrib/server/server.lisp: Load clfswm client code in the main
672         program and let the user start it with a --client command line
673         option.
675         * src/package.lisp (*main-entrance-hook*): New hook executed after
676         loading configuration file and before opening the display.
678 2010-10-23  Philippe Brochard  <pbrochard@common-lisp.net>
680         * src/xlib-util.lisp: Remove unnecessary xlib:display-finish-output.
682         * src/clfswm-internal.lisp (show-child): Show window only if not
683         hidden.
685         * src/clfswm-keys.lisp (binding-substitute-modifier): Utility to
686         change modifiers after binding definition.
688 2010-10-21  Philippe Brochard  <pbrochard@common-lisp.net>
690         * contrib/osd.lisp: New file: OSD (On Screen Display) for
691         presentations.
693         * src/clfswm-menu.lisp (open-menu): Modularise function.
695 2010-10-13  Philippe Brochard  <pbrochard@common-lisp.net>
697         * src/clfswm-info.lisp (show-first-aid-kit): Display the essential
698         key binding in main and second mode.
700 2010-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
702         * src/clfswm-util.lisp (open-notify-window): Convert hello-window
703         functions to a more generic Notify-window system.
705         * src/tools.lisp (add-timer): Add an id to identify the timer.
707 2010-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
709         * src/tools.lisp (erase-timer): New function.
711         * src/clfswm-util.lisp (display-hello-window): Add a timer to hide
712         the hello window. Add Configuration variables.
714 2010-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
716         * src/clfswm-util.lisp (): Add an Hello window at startup.
718         * src/tools.lisp (process-timers): Add a timer system.
720 2010-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
722         * src/clfswm-query.lisp (add-in-query-string): Handle correctly
723         the mod-5 modifier.
725 2010-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
727         * src/clfswm-query.lisp (query-print-string): Change cursor color
728         and show parenthesis matching with colors (on match and on
729         errors).
731 2010-10-05  Philippe Brochard  <pbrochard@common-lisp.net>
733         * src/clfswm-internal.lisp (show-all-children): Do not raise a
734         child when its parent is hidden.
736 2010-10-02  Philippe Brochard  <pbrochard@common-lisp.net>
738         * src/clfswm-circulate-mode.lisp (select-next-subchild): Add the
739         possibility to circulate over subchild of the current child.
741         * src/clfswm-expose-mode.lisp (expose-all-windows-mode)
742         (expose-windows-generic): Add an escape-body function to return to
743         the original state on escape key.
745         * src/clfswm-util.lisp (bind-on-slot): Add an optional parameter
746         to bind the current child from the configuration file.
748 2010-10-01  Philippe Brochard  <pbrochard@common-lisp.net>
750         * src/clfswm-nw-hooks.lisp (absorb-window-nw-hook): Absorb new
751         window hook: the frame absorb all new windows that match
752         nw-absorb-test frame data slot.
754 2010-09-30  Philippe Brochard  <pbrochard@common-lisp.net>
756         * src/clfswm-expose-mode.lisp (expose-create-window): Show window
757         title in accel window.
759 2010-09-29  Philippe Brochard  <pbrochard@common-lisp.net>
761         * configure: Use the Xavier Maillard clfswm script in contrib to
762         build an executable in the standard way.
764 2010-09-26  Philippe Brochard  <pbrochard@common-lisp.net>
766         * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
767         New functions. Add a window on each child in the expose mode to
768         quickly select them.
770         * src/clfswm-internal.lisp (child-x, child-y, child-width)
771         (child-height): New methods to get real child coordinates.
773 2010-09-25  Philippe Brochard  <pbrochard@common-lisp.net>
775         * src/clfswm-layout.lisp (*-layout): Use child-position.
777         * src/clfswm-internal.lisp (child-position): New function.
779         * src/clfswm-expose-mode.lisp (expose-windows-mode)
780         (expose-all-windows-mode): Use a generic mode.
782         * src/xlib-util.lisp (with-handle-event-symbol): Use a filled list
783         with handle-event-fun symbols instead of inspecting clfswm
784         internals symbols on each mode change.
786         * src/clfswm-expose-mode.lisp: Move and rename present*-windows in
787         a separate clfswm-expose-mode.lisp file.
789         * src/clfswm-util.lisp (speed-mouse-right, speed-mouse-down): Use
790         screen size instead of hardcoded test coordinates.
792 2010-09-24  Philippe Brochard  <pbrochard@common-lisp.net>
794         * src/clfswm-util.lisp (speed-mouse-reset, speed-mouse-left)
795         (speed-mouse-right, speed-mouse-up, speed-mouse-down)
796         (speed-mouse-undo, speed-mouse-first-history): New functions to
797         quickly move the mouse. Implemented for the second mode.
799 2010-09-16  Philippe Brochard  <pbrochard@common-lisp.net>
801         * contrib/clfswm: Move clfswm sources to $tmp_dir if there is no
802         write permission on $clfswm_asd_path. So anybody can start clfswm
803         even if there is no write permission on the source directory.
805 2010-09-12  Philippe Brochard  <pbrochard@common-lisp.net>
807         * contrib/clfswm: Add support to cmucl, ccl and ecl.
809 2010-09-11  Philippe Brochard  <pbrochard@common-lisp.net>
811         * src/clfswm-util.lisp (set-hide-unmanaged-window)
812         (set-show-unmanaged-window, set-default-hide-unmanaged-window):
813         New functions and menu entry.
814         (set-globally-hide-unmanaged-window)
815         (set-globally-show-unmanaged-window): New functions and menu
816         entry.
818         * src/clfswm-internal.lisp (hide-unmanager-window-p): New
819         function.
820         (show-child): Add a data slot on frame to hide or not unmanaged
821         windows.
823         * src/clfswm-corner.lisp (present-clfswm-terminal)
824         (present-virtual-keyboard): Use a function (generic-present-body)
825         instead of a macro (generate-present-body).
827         * src/clfswm-util.lisp (update-menus): List all directories and
828         subdirectories in $XDG_DATA_DIRS/applications.
830 2010-09-10  Philippe Brochard  <pbrochard@common-lisp.net>
832         * src/clfswm-corner.lisp (generate-present-body): New macro.
833         (present-clfswm-terminal, present-virtual-keyboard): Use
834         generate-present-body.
836 2010-09-09  Philippe Brochard  <pbrochard@common-lisp.net>
838         * src/clfswm-util.lisp (update-menus): Follow XDG specifications
839         instead of the non-portable Debian update-menu.
841 2010-09-07  Philippe Brochard  <pbrochard@common-lisp.net>
843         * src/clfswm.lisp (error-handler): New function do handle
844         asynchronous errors and ignore them.
845         (open-display): Install the new error-handler on display.
847 2010-09-05  Philippe Brochard  <pbrochard@common-lisp.net>
849         * src/xlib-util.lisp (with-xlib-protect): Add a
850         with-simple-restart on top of body execution.
852 2010-09-04  Philippe Brochard  <pbrochard@common-lisp.net>
854         * src/clfswm.lisp (main-loop): Protect all xlib functions with an
855         with-xlib-protect.
857         * src/xlib-util.lisp (handle-event): use with-xlib-protect only in
858         handle-event. Add a with-simple-restart to prevent a
859         clisp/new-lisp infinite loop.
861 2010-08-30  Philippe Brochard  <pbrochard@common-lisp.net>
863         * src/clfswm-corner.lisp (present-clfswm-terminal): Make the
864         clfswm terminal working even on xterm title changes.
866 2010-08-29  Philippe Brochard  <pbrochard@common-lisp.net>
868         * src/clfswm-util.lisp (run-other-window-manager): Update for
869         clisp compatibility.
871         * src/tools.lisp (do-execute): New parameter io to change the
872         input/output method.
874         * src/clfswm-util.lisp (hide-current-child): Prevent from removing
875         the current root.
877         * src/clfswm-internal.lisp (child-member): New predicate.
878         (child-remove): New function.
880         * src/*.lisp: Use child-member and child-remove everywhere it's
881         needed.
883 2010-08-28  Philippe Brochard  <pbrochard@common-lisp.net>
885         * src/clfswm.lisp (main-loop): Ensure that all events have been
886         processed after a process-event.
888         * src/clfswm-internal.lisp (is-in-current-child-p): New function.
890 2010-08-27  Philippe Brochard  <pbrochard@common-lisp.net>
892         * src/clfswm.lisp (main-mode:configure-request): Raise the window
893         only when present on the current child and focus it accordingly.
895 2010-08-26  Philippe Brochard  <pbrochard@common-lisp.net>
897         * src/clfswm-circulate-mode.lisp (circulate-loop-function):
898         Use is-a-key-pressed-p.
900         * src/xlib-util.lisp (is-a-key-pressed-p): New predicate.
902         * src/clfswm-keys.lisp (define-ungrab/grab): Use all values
903         returned by xlib:keysym->keycodes.
905         * src/*.lisp: Use the new child-equal-p to compare children. This
906         prevent a bug with sbcl/cmucl when the standard equal function
907         does not work with xlib:window.
909         * src/clfswm-internal.lisp (child-equal-p): New predicate.
911 2010-08-25  Philippe Brochard  <pbrochard@common-lisp.net>
913         * src/clfswm-generic-mode.lisp (generic-mode): Use an
914         xlib:event-listen before processing event with
915         xlib:process-event. This prevent a bug with CLX threaded
916         implementation like sbcl.
918         * src/clfswm.lisp (main-loop): Use an xlib:event-listen before
919         processing event with xlib:process-event. This prevent a bug with
920         CLX threaded implementation like sbcl.
922 2010-08-17  Philippe Brochard  <pbrochard@common-lisp.net>
924         * contrib/server/key.lisp (ushell-sh): Add ccl and ecl support.
926         * src/xlib-util.lisp (compress-motion-notify): Use a loop instead
927         of an event-case.
929         * src/clfswm-internal.lisp (with-find-in-all-frames): New macro.
930         (find-parent-frame, find-frame-window, find-frame-by-name)
931         (find-frame-by-number): Use with-find-in-all-frames to search in
932         frames in the right order.
934         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Fix an
935         unwanted flickering with unmanaged windows.
937 2010-08-16  Philippe Brochard  <pbrochard@common-lisp.net>
939         * src/package.lisp: Remove event handler hooks as they're not
940         needed anymore (To replace them: use closure and define-handler).
942         * src/xlib-util.lisp (move-window, resize-window)
943         (wait-mouse-button-release): Use a generic mode.
945         * src/*.lisp: Replace the case to handle event with a more (tricky)
946         lispy  method which bind a function to each keywords associated
947         to graphics events.
949 2010-07-23  Philippe Brochard  <pbrochard@common-lisp.net>
951         * src/clfswm-util.lisp (delete-current-child): Invert bindings and
952         menu entry between delete-current-child and remove-current-child.
953         ie: Delete a child and its children in all frames by default.
955 2010-07-21  Philippe Brochard  <pbrochard@common-lisp.net>
957         * src/package.lisp: Add a placement configuration group.
959         * src/binding*.lisp: Bind control+g to escape the current action
960         like emacs.
962         * src/clfswm-internal.lisp
963         (delete-child-and-children-in-all-frames): New function and
964         binding: Second mode - Control+Delete delete the current child and
965         its children in all frames (ie: close the current child and its
966         children).
968 2010-07-20  Philippe Brochard  <pbrochard@common-lisp.net>
970         * src/clfswm-internal.lisp (remove-child-in-frame): Do not destroy
971         the frame window and the frame gc. Close a very annoying bug when
972         cuting/pasting a frame or moving a child over frames with the
973         mouse.
975         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
976         all children in *current-root* after moving/resizing a frame.
978 2010-07-18  Philippe Brochard  <pbrochard@common-lisp.net>
980         * src/clfswm-util.lisp (delete-focus-window)
981         (destroy-focus-window): Remove child in parent frame before
982         stopping it.
984 2010-07-16  Philippe Brochard  <pbrochard@common-lisp.net>
986         * src/clfswm-util.lisp (identify-key): Add a timeout in
987         xlib:process-event.
988         (mouse-click-to-focus-generic): Use find-child-under-mouse instead
989         of the window passed by xlib:process-event.
991         * src/xlib-util.lisp (move-window, resize-window)
992         (wait-mouse-button-release): Add a timeout in xlib:process-event.
994 2010-04-11  Philippe Brochard  <pbrochard@common-lisp.net>
996         * src/clfswm-util.lisp (run-other-window-manager): Add the ability
997         to launch an other window manager and to return to clfswm.
999 2010-03-18  Philippe Brochard  <pbrochard@common-lisp.net>
1001         * src/clfswm-layout.lisp (set-tile-space-layout): Set default
1002         to 1%.
1004 2009-12-15  Philippe Brochard  <pbrochard@common-lisp.net>
1006         * src/clfswm.lisp (main-loop): Add a *loop-hook* parameter and a
1007         loop timeout.
1009         * src/clfswm-generic-mode.lisp (generic-mode): Add a loop-hook
1010         parameter and a loop timeout.
1012 2009-12-05  Philippe Brochard  <pbrochard@common-lisp.net>
1014         * src/clfswm.lisp (main): Add an alternate configuration filename
1015         parameter.
1017         * load.lisp: Add a debuging code example.
1019 2009-11-14  Philippe Brochard  <pbrochard@common-lisp.net>
1021         * src/clfswm-configuration.lisp (create-configuration-menu): New
1022         menu to configure all clfswm variables while clfswm is running.
1024 2009-11-12  Philippe Brochard  <pbrochard@common-lisp.net>
1026         * src/clfswm-util.lisp (save-configuration-variables): New
1027         function to save all configuration variables in clfswmrc.
1029 2009-11-11  Philippe Brochard  <pbrochard@common-lisp.net>
1031         * src/clfswm-info.lisp (info-mode): Begining of mouse support in
1032         info mode.
1033         (set-default-info-keys): Add cursor key support in info mode.
1035 2009-11-08  Philippe Brochard  <pbrochard@common-lisp.net>
1037         * contrib/reboot-halt.lisp: Add a Suspend/Reboot/Halt menu in
1038         contrib.
1040         * src/clfswm.lisp (main): Add a read-conf-file-p parameter to
1041         prevent reading the configuration file (this may be useful to
1042         produce the original documentation without user modifications
1043         with the rc configuration file).
1045 2009-11-07  Philippe Brochard  <pbrochard@common-lisp.net>
1047         * src/bindings-second-mode.lisp (set-default-second-keys):
1048         Simplification of Escape key to close/kill/remove the focus window
1049         and unhide all windows.
1051         * src/bindings.lisp (set-default-main-keys): Simplification of
1052         Escape key to close/kill/remove the focus window and unhide all
1053         windows.
1055         * src/clfswm-util.lisp (ask-close/kill-current-window): Add remove
1056         focus and unhide all windows capabilities.
1058 2009-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
1060         * contrib/mpd.lisp (start-gmpc): Add gmpc in the mpd menu.
1062 2009-07-29  Philippe Brochard  <pbrochard@common-lisp.net>
1064         * src/clfswm-layout.lisp (tile-layout, tile-horizontal-layout):
1065         Keep child order and don't make unnecessary child movement.
1066         (one-column-layout, one-line-layout): New layouts.
1068 2009-06-29  Philippe Brochard  <pbrochard@common-lisp.net>
1070         * *: **** Release 0906 ****
1072         * contrib/cd-player.lisp: New file to handle the CD player.
1074         * contrib/xmms.lisp: New file to handle the xmms player.
1076 2009-06-28  Philippe Brochard  <pbrochard@common-lisp.net>
1078         * src/clfswm-layout.lisp (set-no-layout-remember-size): New layout:
1079         Maximize windows in their frame - Leave frames to their actual
1080         size.
1082         * src/bindings-second-mode.lisp (set-default-second-keys): Bind
1083         "o" on set-open-in-new-frame-in-parent-frame-nw-hook.
1085 2009-06-27  Philippe Brochard  <pbrochard@common-lisp.net>
1087         * contrib/keyb_fr.lisp: New file to handle an azerty keyboard.
1089 2009-06-24  Philippe Brochard  <pbrochard@common-lisp.net>
1091         * contrib/mpd.lisp: Use a standard menu.
1093         * src/clfswm-info.lisp: Use a standard menu for the help-menu.
1095 2009-06-22  Philippe Brochard  <pbrochard@common-lisp.net>
1097         * contrib/mpd.lisp: New file to handle the Music Player Daemon (MPD)
1099 2009-06-19  Philippe Brochard  <pbrochard@common-lisp.net>
1101         * src/clfswm-autodoc.lisp (produce-doc, produce-doc-html): Minor
1102         number key cleanup.
1104 2009-06-18  Philippe Brochard  <pbrochard@common-lisp.net>
1106         * src/config.lisp (get-fullscreen-size):  One pixel adjustment
1107         (again).
1109         * src/clfswm-placement.lisp (*-child-placement): One pixel
1110         adjustment (again).
1112 2009-06-16  Philippe Brochard  <pbrochard@common-lisp.net>
1114         * src/clfswm-circulate-mode.lisp (draw-circulate-mode-window):
1115         Ensure that all characters are printable.
1117         * src/config.lisp (get-fullscreen-size): Adjust default fullscreen
1118         sizes.
1120         * src/clfswm-placement.lisp (*-child-placement): Adjust
1121         coordinates to one pixel in the current child.
1123 2009-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
1125         * src/clfswm-query.lisp (query-enter-function): Assign font before
1126         width and height calculation.
1128 2009-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
1130         * src/xlib-util.lisp (banish-pointer): Use with-placement macro to
1131         bannish the pointer in an arbitrary place.
1133         * src/clfswm-info.lisp (info-mode): Use with-placement macro to
1134         place the info window in an arbitrary place.
1136         * src/clfswm-query.lisp (query-enter-function): Use with-placement
1137         macro to place the query window in an arbitrary place.
1139         * src/clfswm-placement.lisp: New file. Allow to place info windows
1140         or query windows on an arbitrary place. Allow to bannish the
1141         pointer on an arbitrary place.
1143 2009-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
1145         * src/clfswm-circulate-mode.lisp (reorder-child)
1146         (reorder-brother): Unfocus windows before reordering children or
1147         brothers.
1149 2009-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
1151         * src/clfswm-circulate-mode.lisp (reorder-brother): Ensure that
1152         the parent is a frame.
1154         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Handle
1155         motion with a default modifier.
1157         * src/clfswm.lisp (handle-motion-notify): Handle motion with a
1158         default modifier.
1160         * src/clfswm-info.lisp (info-mode): Handle motion with a default
1161         modifier.
1162         (info-mode): Optimization in loop function.
1164 2009-05-10  Philippe Brochard  <pbrochard@common-lisp.net>
1166         * src/clfswm-circulate-mode.lisp (reorder-brother): Handle
1167         root-frame correctly.
1169         * clfswm.asd: Dependency fix for clfswm-generic-mode.
1171         * src/clfswm-circulate-mode.lisp (reorder-child)
1172         (reorder-brother): Handle empty frames.
1173         (reorder-brother): Redisplay only the parent frame of the  current
1174         child.
1176         * src/clfswm-util.lisp (frame-toggle-maximize): Redisplay only the
1177         parent frame of the  current frame.
1179 2009-05-09  Philippe Brochard  <pbrochard@common-lisp.net>
1181         * src/clfswm-util.lisp (frame-toggle-maximize): New function:
1182         Maximize/Unmaximize the current frame in its parent frame.
1184         * src/clfswm-layout.lisp (maximize-layout): New layout: Maximize
1185         windows and frames in their parent frame.
1187 2009-05-05  Philippe Brochard  <pbrochard@common-lisp.net>
1189         * src/*.lisp: Add support for Clozure Common Lisp (CCL).
1191         * src/clfswm-circulate-mode.lisp (reorder-child)
1192         (reorder-brother): Reinitialise on circulate type change
1193         child to brother or brother to child.
1195         * src/*.lisp (*): Use map-window instead of xlib:map-window. So
1196         calls xlib:display-finish-output on each map-request. So speed up
1197         the window display.
1199         * src/xlib-util.lisp (map-window): New function. Call
1200         xlib:display-finish-output on each map request.
1202 2009-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
1204         * src/clfswm-second-mode.lisp (sm-handle-motion-notify):
1205         Optimisation when drawing second mode window.
1207 2009-04-27  Philippe Brochard  <pbrochard@common-lisp.net>
1209         * src/clfswm-circulate-mode.lisp (circulate-mode): Optimisation in
1210         window redraw.
1212 2009-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
1214         * src/clfswm-util.lisp (run-program-from-query-string): Launch
1215         command only with a return validation.
1217 2009-04-22  Xavier Maillard  <xma@gnu.org>
1219         * src/clfswm-query.lisp (query-string): Use a generic mode.
1221 2009-04-19  Xavier Maillard  <xma@gnu.org>
1223         * src/clfswm-info.lisp (info-mode): Use generic-mode for info-mode.
1225 2009-04-18  Xavier Maillard  <xma@gnu.org>
1227         * src/clfswm-generic-mode.lisp (generic-mode): Add a generic mode
1228         to define all other modes.
1230 2009-04-05  Philippe Brochard  <pbrochard@common-lisp.net>
1232         * src/package.lisp (): Use *default-font-string* for all
1233         font-string.
1235         * src/clfswm-info.lisp (info-mode): Ensure integer windows size.
1237 2009-02-17  Philippe Brochard  <pbrochard@common-lisp.net>
1239         * src/xlib-util.lisp (null-size-window-p): Better check of null
1240         sized windows.
1242 2009-02-14  Philippe Brochard  <pbrochard@common-lisp.net>
1244         * src/clfswm.lisp (handle-map-request): Add a fix to manage
1245         correctly fullscreen windows (SDL particularly).
1247 2008-12-20  Philippe Brochard  <pbrochard@common-lisp.net>
1249         * src/xlib-util.lisp (get-color): Allocate colors only once -> fix
1250         a segfault with clisp/new-clx.
1252         * src/clfswm.lisp (handle-motion-notify): Add a needed window
1253         argument.
1255         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Add a
1256         needed window argument.
1258 2008-10-30  Philippe Brochard  <pbrochard@common-lisp.net>
1260         * src/xlib-util.lisp (wait-no-key-or-button-press)
1261         (wait-a-key-or-button-press): Check buttons press/release correctly"
1263 2008-10-28  Philippe Brochard  <pbrochard@common-lisp.net>
1265         * src/menu-def.lisp: Add children navigation menu in the movement
1266         menu (select next/previous child/brother/level).
1268 2008-10-26  Philippe Brochard  <pbrochard@common-lisp.net>
1270         *  *: Rename 'sister' frame to 'brother' frame.
1272         * src/clfswm-keys.lisp (unalias-modifiers): Convert a modifier
1273         alias in a real modifier.
1275         * src/package.lisp (*modifier-alias*): New list of modifier alias
1276         For example: :alt is :mod-1, :numlock is :mod-2...
1278         * src/tools.lisp (remove-hook): New function.
1280         * src/clfswm-keys.lisp (with-capslock, without-capslock)
1281         (with-numlock, without-cnumlock): New functions.
1283 2008-10-25  Philippe Brochard  <pbrochard@common-lisp.net>
1285         * src/clfswm-info.lisp: Use the *binding-hook* to create info
1286         keys and mouse bindings.
1288         * src/bindings-second-mode.lisp: Use the *binding-hook* to create
1289         second keys and mouse bindings.
1291         * src/bindings.lisp: Use the *binding-hook* to create main keys
1292         and mouse bindings.
1294 2008-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
1296         * src/clfswm-menu.lisp (open-menu): Remember parent menu to undo
1297         menu opening.
1299 2008-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
1301         * src/menu-def.lisp: Use a menu instead of a function for the
1302         standard menu.
1304 2008-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
1306         * src/clfswm-util.lisp (show-standard-menu): Display the standard
1307         menu from the 'update-menus' command.
1309 2008-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
1311         * src/clfswm-query.lisp (query-string): Do not ungrab keyboard if
1312         it's already grabbed.
1314         * src/clfswm-internal.lisp (display-frame-info): Use configurable
1315         colors and fix a bug with background.
1316         (display-frame-info): Set window background when displaying info.
1318 2008-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
1320         * src/xlib-util.lisp (my-character->keysyms): Use a macro to avoid
1321         warning with clisp/new-clx.
1323 2008-10-04  Philippe Brochard  <pbrochard@common-lisp.net>
1325         * src/clfswm-util.lisp (jump-to-slot): Prevent to jump on a
1326         deleted child.
1328 2008-09-23  Philippe Brochard  <pbrochard@common-lisp.net>
1330         * *: **** Release 0809 ****
1332 2008-09-23  Philippe Brochard  <pbrochard@common-lisp.net>
1334         * src/clfswm-util.lisp (ensure-unique-name): New function and menu
1335         entry.
1336         (ensure-unique-number): New function and menu entry.
1338 2008-09-22  Philippe Brochard  <pbrochard@common-lisp.net>
1340         * src/clfswm-nw-hooks.lisp (named-frame-nw-hook): New new window
1341         hook: open the next window in a named frame.
1342         (numbered-frame-nw-hook): New new window hook: open the next
1343         window in a numbered frame.
1345         * src/clfswm-query.lisp (query-string): Grab the keyboard in all
1346         cases. So query-string can be called even in the main mode.
1348         * src/clfswm-internal.lisp (show-all-children): Do not raise a
1349         child by default => far less flickering.
1351 2008-09-19  Philippe Brochard  <pbrochard@common-lisp.net>
1353         * src/bindings-second-mode.lisp: Bind "t" to tile-current-frame.
1355         * src/menu-def.lisp: Change key binding for the CLFSWM menu
1356         entry.
1358         * src/xlib-util.lisp (xgrab-pointer): Handle the case where cursor
1359         is nil. (workaround on some CLX implementation).
1361 2008-09-12  Philippe Brochard  <pbrochard@common-lisp.net>
1363         * src/menu-def.lisp: Add a menu to set a focus policy for all
1364         frames.
1366         * src/clfswm-util.lisp (set-focus-policy-generic-for-all)
1367         (all-frames-set-*-focus-policy): Set a focus policy for all
1368         frames.
1370         * src/clfswm.lisp (handle-enter-notify): sloppy-select
1371         mode. Select a child and its parents on mouse over.
1373 2008-09-03  Philippe Brochard  <pbrochard@common-lisp.net>
1375         * src/clfswm.lisp (handle-enter-notify): Add a sloppy strict focus
1376         policy -> Sloppy focus only for windows in the current frame.
1377         (main-unprotected): Exit clfswm on init error (ie: when another
1378         window manager is running).
1380         * src/clfswm-util.lisp (reset-clfswm): New function.
1382 2008-09-02  Philippe Brochard  <pbrochard@common-lisp.net>
1384         * src/clfswm-menu.lisp (init-menu): New function.
1386         * src/clfswm-util.lisp (reload-clfswm): New function to reload
1387         CLFSWM.
1388         (exit-clfswm): Rename quit-clfswm to exit-clfswm.
1390         * src/clfswm.lisp (main, main-unprotected): Handle error in a
1391         superior main function. Now CLFSWM can't break the X session. It
1392         just reinitialize the display and run a new main loop.
1394         * src/clfswm-corner.lisp: Make *clfswm-terminal* and
1395         *vt-keyboard-on* global to avoid warnings when loading clfswm.
1397         * src/clfswm-layout.lisp: Add a specific GIMP layout menu.
1398         (help-on-gimp-layout): Describe how to use the GIMP layout.
1400 2008-09-01  Philippe Brochard  <pbrochard@common-lisp.net>
1402         * src/clfswm-layout.lisp (set-gimp-layout): Change the layout to
1403         main-window-right-layout. Change the keybinding for (shift)alt+tab
1404         to not select windows in the main window lisst.
1405         Bind F8 to add a window in the main window list.
1406         Bind F9 to remove a window in the main window list.
1407         Change the focus policy to :sloppy.
1408         (set-previous-layout): Restore the previous layout, keybinding and
1409         focus policy.
1411 2008-08-31  Philippe Brochard  <pbrochard@common-lisp.net>
1413         * src/clfswm-menu.lisp (add-menu-comment): Add comments in menu.
1415         * src/clfswm-layout.lisp (main-window-left-layout)
1416         (main-window-bottom-layout, main-window-top-layout): New
1417         functions.
1418         Factorize layouts in menu.
1420 2008-08-30  Philippe Brochard  <pbrochard@common-lisp.net>
1422         * src/clfswm-layout.lisp (main-window-right-layout): A possible
1423         GIMP layout: one or more main windows on one side of the
1424         frame. Others on the other size.
1426         * src/clfswm-util.lisp
1427         (current-frame-set-click/sloppy-focus-policy): Each frame can have
1428         a different focus policy (one of :click or :sloppy).
1429         The default focus policy is set with *default-focus-policy*.
1431 2008-08-23  Philippe Brochard  <pbrochard@common-lisp.net>
1433         * src/clfswm-info.lisp (show-config-variable): New function.
1435 2008-08-19  Philippe Brochard  <pbrochard@common-lisp.net>
1437         * src/clfswm-layout.lisp (tile-horizontal-layout): New layout.
1439         * src/clfswm-info.lisp: Colored help for key binding and corners
1440         actions.
1442 2008-08-18  Philippe Brochard  <pbrochard@common-lisp.net>
1444         * src/clfswm-util.lisp (delete-focus-window)
1445         (destroy-focus-window): Remove chid only in
1446         handle-unmap/destroy-notify. Focus *current-root* only when
1447         closing/killing the current child.
1449         * src/clfswm-autodoc.lisp (produce-corner-*-doc): New autodoc
1450         functions or corners.
1452 2008-08-17  Philippe Brochard  <pbrochard@common-lisp.net>
1454         * src/clfswm-corner.lisp (present-clfswm-terminal): New corner
1455         action: Hide/Unhide a terminal on mouse corner action. (By default
1456         right mouse button on the top left corner).
1458         * src/config.lisp (*never-managed-window-list*): New config
1459         variable.
1461         * src/clfswm-internal.lisp (never-managed-window-p): New function:
1462         Handle never managed window in a more simple way.
1464         * src/clfswm-corner.lisp: New file and new and more simple method
1465         to define corners actions.
1467 2008-08-15  Philippe Brochard  <pbrochard@common-lisp.net>
1469         * src/clfswm-info.lisp (info-mode): Info line can now be colored.
1471         * src/clfswm-layout.lisp (fast-layout-switch)
1472         (define-fast-layout-switch): New functions: Switch between two
1473         layouts.
1475         * src/clfswm-second-mode.lisp (leave-second-mode): Takes care if
1476         really in the second mode. So leave-second-mode can be used even
1477         in the main mode.
1479         * src/clfswm-util.lisp (switch-to-last-child): New function:
1480         Store the current child and switch to the previous one.
1482 2008-07-16  Philippe Brochard  <pbrochard@common-lisp.net>
1484         * src/clfswm-util.lisp (display-current-window-info): Display the
1485         window id.
1486         (have-to-present-virtual-keyboard): Add a virtual keyboard corner
1487         (top right by default). By default 'xvkbd' is used.
1489 2008-06-28  Philippe Brochard  <pbrochard@common-lisp.net>
1491         * src/xlib-util.lisp (move-window, resize-window): Compress motion
1492         events.
1494         * src/clfswm.lisp (handle-motion-notify): Compress motion events.
1496         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Compress
1497         motion events.
1499         * src/clfswm-info.lisp (info-mode): Compress motion events.
1501 2008-06-21  Philippe Brochard  <pbrochard@common-lisp.net>
1503         * src/clfswm-internal.lisp (show-all-children): Compute geometry
1504         and selection first and then show only necessary children.
1505         (show-child): remove unneeded display-p parameter.
1507         * src/config.lisp (get-fullscreen-size): Place the frame border
1508         outside the screen (this prevent the loose of 2 pixels per
1509         directions :)
1511 2008-06-12  Philippe Brochard  <pbrochard@common-lisp.net>
1513         * src/clfswm-internal.lisp (focus-child): Algorithm change to
1514         raise only the selected child.
1516 2008-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
1518         * src/clfswm-internal.lisp (raise-p-list, show-all-children):
1519         Raise only viewable children.
1521 2008-06-06  Philippe Brochard  <pbrochard@common-lisp.net>
1523         * src/clfswm-internal.lisp (show-all-children): Always raise all
1524         displayed children. Remove all references to raise-p.
1526 2008-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
1528         * src/menu-def.lisp (child-menu): New menu entry on raise/lower
1529         child in its frame.
1531         * src/bindings-second-mode.lisp ("Page_Down", "Page_Up"): New
1532         second mode binding on raise/lower child in its frame.
1534         * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): Adapt
1535         behaviour to the new raise/lower property.
1536         Call clear-nw-hook before the rest of the hook.
1538         * src/bindings.lisp (mouse-click-to-focus-and-move-window)
1539         (mouse-click-to-focus-and-resize-window): Stop button event. This
1540         prevent a keyboard/pointer freeze.
1542 2008-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
1544         * src/clfswm-internal.lisp (frame-lower-child)
1545         (frame-raise-child): New functions to raise/lower a child in its
1546         frame.
1548         * src/clfswm-util.lisp (have-to-present-windows)
1549         (have-to-present-all-windows): New functions to have an MaxOS
1550         expose like on mouse click in screen corner.
1552         * src/clfswm-info.lisp ("Page_Down", "Page_Up"): Add boundaries.
1554 2008-05-30  Philippe Brochard  <pbrochard@common-lisp.net>
1556         * src/clfswm-util.lisp (unhide-a-child-from-all-frames): Unhide a
1557         child from a choice in all frames with hidden children.
1559         * src/clfswm-info.lisp (info-mode-menu): Handle separators.
1561 2008-05-28  Philippe Brochard  <pbrochard@common-lisp.net>
1563         * src/clfswm-util.lisp (hide-current-child, unhide-a-child)
1564         (unhide-all-children): New functions.
1566         * src/clfswm-info.lisp (info-mode-menu): Handle symbols and
1567         functions.
1569         * src/clfswm-util.lisp (hide/show-frame-window): new function and
1570         menu item.
1572 2008-05-23  Philippe Brochard  <pbrochard@common-lisp.net>
1574         * src/clfswm-util.lisp (rename-current-child): Do not display the
1575         frame info for a window.
1577 2008-05-20  Philippe Brochard  <pbrochard@common-lisp.net>
1579         * src/clfswm-internal.lisp (remove-child-in-frame): Destroy the
1580         frame window for the removed child and its children.
1582 2008-05-18  Philippe Brochard  <pbrochard@common-lisp.net>
1584         * src/clfswm-autodoc.lisp (produce-*-doc-*): Add a note to use the
1585         autodoc functions.
1587 2008-05-17  Philippe Brochard  <pbrochard@common-lisp.net>
1589         * src/clfswm-nw-hooks.lisp (default-frame-nw-hook): Do not handle
1590         the ROX pinboard (ie: leave it lowered in the root window as
1591         expected).
1593         * src/clfswm-layout.lisp (tile-left-space-layout): New layout.
1594         (tile-left-layout, tile-right-layout, tile-top-layout)
1595         (tile-bottom-layout): Use all the frame space when there is only
1596         one child.
1598         * src/clfswm-internal.lisp (place-window-from-hints): Center
1599         unmanaged windows in the root screen.
1601         * src/clfswm-nw-hooks.lisp (clear-nw-hook, clear-all-nw-hooks):
1602         new functions.
1604 2008-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
1606         * src/clfswm-util.lisp (current-frame-manage-window-type): Fix a
1607         typo in managed types.
1609         * src/clfswm-internal.lisp (show-child): Always display frame info
1610         even if the frame is hidden.
1612         * src/xlib-util.lisp (resize-window): Use a better algorithme to
1613         resize windows.
1615 2008-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
1617         * src/clfswm-util.lisp (with-movement): Display frame info for all
1618         frames in current root.
1620 2008-05-12  Philippe Brochard  <pbrochard@common-lisp.net>
1622         * src/*.lisp: Rename 'brother' frames to 'sister' frames.
1624         * src/bindings-second-mode.lisp (define-second-key #\a): New
1625         binding on 'add-default-frame'.
1627         * src/clfswm-autodoc.lisp (produce-*-doc-*-in-file): Show a
1628         message to follow the autodocumentation process.
1630 2008-05-10  Philippe Brochard  <pbrochard@common-lisp.net>
1632         * src/clfswm-util.lisp (bind-or-jump): Bind "Tab", "Return" and
1633         "Space" to jump to a child. "B" to bind a slot on the current
1634         child.
1636         * src/bindings-second-mode.lisp: Use "Tab" instead of
1637         "Iso_Left_Tab".
1639 2008-05-07  Philippe Brochard  <pbrochard@common-lisp.net>
1641         * src/clfswm-util.lisp (find-child-under-mouse): Take care of
1642         unmanaged (hidden) windows.
1644         * src/clfswm-internal.lisp (place-window-from-hints): Give a
1645         minimal size for windows.
1646         (with-all-windows-frames-and-parent): New function.
1648         * src/config.lisp (*default-window-width/height*): New parameters.
1650         * src/clfswm-internal.lisp (place-window-from-hints): Center
1651         windows in the screen instead of in their frame.
1653         * src/bindings-second-mode.lisp (tile-space-current-frame): New
1654         binding on C-t.
1656         * src/clfswm-layout.lisp (register-layout): Intern the once name
1657         in the right package.
1659 2008-05-05  Philippe Brochard  <pbrochard@common-lisp.net>
1661         * doc/dot-clfswmrc: Update to  follow the new clfswm way.
1663 2008-05-03  Philippe Brochard  <pbrochard@common-lisp.net>
1665         * src/clfswm-internal.lisp (set-current-child)
1666         (adapt-child-to-parent, show-child, hide-child): Handle the case
1667         where child is not a frame or a window.
1669         * src/clfswm-util.lisp
1670         (mouse-click-to-focus-generic,mouse-focus-move/resize-generic):
1671         Check if child is a frame.
1673         * src/clfswm-internal.lisp (managed-window-p): Handle the case
1674         where frame is null.
1675         (place-frame): Check if frame and parent are frames.
1677         * src/clfswm-info.lisp (info-mode): display all frame info before
1678         leaving.
1680         * src/clfswm-second-mode.lisp (second-key-mode): display all frame
1681         info before leaving.
1683         * src/clfswm-internal.lisp (display-all-frame-info): New function.
1685 2008-05-02  Philippe Brochard  <pbrochard@common-lisp.net>
1687         * src/tools.lisp (getenv): Implemented for ECL.
1688         (urun-prog): Implemented for ECL.
1690         * src/clfswm-util.lisp (identify-key): Use a double buffer to
1691         display text.
1693         * src/clfswm-query.lisp (query-string): Use a double buffer to
1694         display text.
1696         * src/clfswm-info.lisp (draw-info-window): Use a double buffer to
1697         display text.
1699         * src/xlib-util.lisp (clear-pixmap-buffer, copy-pixmap-buffer):
1700         New functions.
1702 2008-05-01  Philippe Brochard  <pbrochard@common-lisp.net>
1704         * src/clfswm-info.lisp (info-mode): Add boundaries in the info mode window.
1706         * src/menu-def.lisp: New file: move all menu definition in
1707         menu-def.lisp.
1709         * src/clfswm-layout.lisp (register-layout): Use a function instead
1710         of a macro.
1712 2008-04-30  Philippe Brochard  <pbrochard@common-lisp.net>
1714         * src/clfswm-autodoc.lisp (produce-menu-doc,
1715         (produce-menu-doc-html): New functions.
1716         (produce-doc-*): Moved to clfswm-autodoc.lisp.
1718         * src/clfswm-util.lisp (paste-selection-no-clear): Prevent to
1719         paste a child on one of its own children. (this prevent a
1720         recursive bug).
1721         (move-child-to): Rename move/copy-current-child-by to
1722         move/copy-child-to.
1723         (mouse-move-window-over-frame): New function to move the window
1724         under the mouse cursor to another frame.
1726         * src/clfswm-internal.lisp (find-child-in-parent): New function.
1728 2008-04-29  Philippe Brochard  <pbrochard@common-lisp.net>
1730         * src/clfswm-internal.lisp (show-all-children): Display unmanaged
1731         windows only when its window parent is the current child.
1733 2008-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
1735         * src/clfswm-util.lisp (manage-current-window)
1736         (unmanage-current-window): New functions: Allow to force to manage
1737         or unmanage a window by its parent frame.
1739         * src/bindings-second-mode.lisp (#\o): binded to
1740         set-open-in-new-frame-in-parent-frame-nw-hook and
1741         (#\o :control) to set-open-in-new-frame-in-root-frame-nw-hook
1743         * src/clfswm-util.lisp (with-current-window): New macro.
1745         * src/xlib-util.lisp (move-window, resize-window): Remove uneeded
1746         exposure and enter-window handle event.
1748         * src/clfswm-util.lisp (move-frame, resize-frame): Show all
1749         children for the current child after the move/resize.
1751 2008-04-27  Philippe Brochard  <pbrochard@common-lisp.net>
1753         * src/xlib-util.lisp (resize-window): Take care of window size
1754         hints.
1756         * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Allow to
1757         move/resize unmanaged windows.
1759         * src/xlib-util.lisp (move-window, resize-window): New functions.
1761 2008-04-25  Philippe Brochard  <pbrochard@common-lisp.net>
1763         * src/clfswm-util.lisp (current-frame-manage-window-type): Let the
1764         user choose what window type the current frame must handle.
1765         (display-current-window-info): New function.
1766         (current-frame-manage-all-window-type)
1767         (current-frame-manage-only-normal-window-type)
1768         (current-frame-manage-no-window-type): New functions.
1770         * src/clfswm-internal.lisp (managed-window-p): New function.
1772         * src/package.lisp (frame): Managed type: new frame
1773         parameter. This allow to choose what window type a frame must
1774         handle.
1776         * src/*.lisp: Rename all 'father' occurrences to 'parent'.
1778         * src/clfswm-nw-hooks.lisp
1779         (open-in-new-frame-in-parent-frame-nw-hook): New new window hook.
1781         * src/clfswm-util.lisp (adapt-current-frame-to-window-hints): New
1782         function.
1784         * src/tools.lisp (ensure-printable): Return always a string even
1785         with a null string.
1787 2008-04-24  Philippe Brochard  <pbrochard@common-lisp.net>
1789         * src/config.lisp (*default-nw-hook*): New variable to change the
1790         default new window hook.
1792 2008-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
1794         * clfswm.asd (clfswm): Add a dependency from
1795         clfswm-second-mode.lisp to clfswm.lisp.
1797         * src/clfswm-util.lisp (identify-key): Show the documentation for
1798         the function bound on a key.
1799         (with-movement): Move with-movement,
1800         current-frame-fill/pack/resize-*  from bindings-second-mode.lisp
1801         to clfswm-util.lisp.
1803         * src/clfswm-menu.lisp: New menu system that let user change keys
1804         or functions associated to keys.
1806 2008-04-18  Philippe Brochard  <pbrochard@common-lisp.net>
1808         * src/clfswm-internal.lisp (show-all-children): Display-child is
1809         the first child by default. Solve a bug with father-p.
1811 2008-04-17  Philippe Brochard  <pbrochard@common-lisp.net>
1813         * src/clfswm-internal.lisp (add-frame): Add frame return the
1814         created frame.
1815         (show-all-children): Move the size computation outside the
1816         show-child part.
1818         * src/bindings-second-mode.lisp (with-movement): Redisplay only
1819         the current child.
1821         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
1822         only the current child.
1824         * src/clfswm-internal.lisp (show-all-children): New display-child
1825         parameter to display only the desired child and its children.
1826         (select-next/previous-child): Only display the current child.
1828 2008-04-14  Philippe Brochard  <pbrochard@common-lisp.net>
1830         * src/clfswm.lisp (init-display): Move the default frame creation
1831         on the default init hook.
1833         * src/clfswm-keys.lisp (define-ungrab/grab): Handle all keysyms in
1834         the main mode (for example: "1" on an azerty keyboard).
1836 2008-04-13  Philippe Brochard  <pbrochard@common-lisp.net>
1838         * src/clfswm-keys.lisp (find-key-from-code): Better handle of
1839         keysyms. Revert to old grabbing method for the main mode.
1841 2008-04-12  Philippe Brochard  <pbrochard@common-lisp.net>
1843         * src/clfswm.lisp (init-display): Add key handling on no focus
1844         window and on frame windows.
1846 2008-04-11  Philippe Brochard  <pbrochard@common-lisp.net>
1848         * src/clfswm.lisp (main): Keyboard handle strategie change: Grab
1849         all keys by default and replay just what is needed. No change for
1850         the second mode.
1852         * src/clfswm-keys.lisp: remove grab/ungrab main keys.
1853         (find-key-from-code): Test for shift and not shift presence.
1855 2008-04-09  Philippe Brochard  <pbrochard@common-lisp.net>
1857         * src/clfswm-internal.lisp (switch-to-root-frame): show later -
1858         new key parameter to have less flickering.
1860 2008-04-07  Philippe Brochard  <pbrochard@common-lisp.net>
1862         * src/bindings-second-mode.lisp (frame-layout-once-menu): Set the
1863         layout only one time and revert to no-layout to freely handle
1864         frames.
1866         * src/clfswm-nw-hooks.lisp
1867         (open-in-new-frame-in-root-frame-nw-hook): Tile layout with spaces
1868         with new created window.
1870         * src/clfswm-layout.lisp (register-layout): Now register
1871         automatically a once layout to set the layout only one time and
1872         revert to no-layout to freely handle frames.
1874 2008-04-05  Philippe Brochard  <pbrochard@common-lisp.net>
1876         * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): New
1877         nw-hook: Open the next window in the current frame and leave the
1878         focus to the current child.
1880 2008-04-04  Philippe Brochard  <pbrochard@common-lisp.net>
1882         * src/bindings-second-mode.lisp: Add keys definitions to
1883         bind-or-jump in the second mode.
1885         * src/clfswm-util.lisp (bind-or-jump): remove the auto-defining
1886         macro for bind-or-jump-(1|2|3...).
1888         * src/clfswm-keys.lisp (define-define-key/mouse): Allow additional
1889         arguments to function. This allow to do things like:
1890         (define-main-key (key) 'my-function 10 20 'foo) -> 10 20 and 'foo
1891         are passed to my-function on key press.
1893 2008-04-03  Philippe Brochard  <pbrochard@common-lisp.net>
1895         * src/clfswm-util.lisp (bind-or-jump): New (great) function.
1897 2008-04-02  Philippe Brochard  <pbrochard@common-lisp.net>
1899         * src/clfswm-internal.lisp (child-fullname): New function
1901         * src/clfswm-info.lisp (info-mode-menu): Add an explicit optional
1902         docstring in info-mode-menu. An item can be
1903         '((key function) (key function)) or with docstring
1904         '((key function "documentation 1") (key function "bla bla") (key function))
1906         * src/tools.lisp (ensure-n-elems): New function.
1908         * src/bindings-second-mode.lisp: Bind Alt+mouse-1/3 to move or
1909         resize a frame or the window's father.
1911         * src/clfswm.lisp (init-display): Remove tile-space-layout by
1912         default on the root frame.
1914         * src/clfswm-util.lisp (move/resize-frame): Add standard event
1915         hooks handlers (map-request, configure-notify...)
1917         * src/clfswm-internal.lisp (adapt-child-to-father): Limit minimal
1918         child size to 1x1.
1920 2008-04-01  Philippe Brochard  <pbrochard@common-lisp.net>
1922         * src/bindings.lisp: Bind Alt+mouse-1/3 to move or resize a frame
1923         or the window's father.
1925         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Stop button
1926         event only if there is a geometry change.
1927         (mouse-focus-move/resize-generic): Generic function to move or
1928         resize a frame or a window father frame.
1930 2008-04-01  Philippe Brochard  <pbrochard@common-lisp.net>
1932         * src/clfswm-internal.lisp (show-all-children): Return t if there
1933         is a geometry change.
1935 2008-03-30  Philippe Brochard  <pbrochard@common-lisp.net>
1937         * src/bindings.lisp (Up/Down): Swap select previous/next level.
1939         * src/bindings-second-mode.lisp (Up/Down): Swap select previous/next level.
1941         * src/clfswm.lisp (init-display): Create a default frame in the root frame.
1943         * src/clfswm-internal.lisp (place-frame): Place frame from real (pixel) coordinates.
1944         (with-all-*): Reverse the child list to manage the first child last (like in
1945         show-all-children).
1947         * src/config.lisp (*create-frame-on-root*): New variable: Create a new frame on the
1948         root window only if true.
1950         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Create a new frame on the
1951         root window only if *create-frame-on-root* is true.
1953         * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Create a new frame
1954         on the root window.
1956 2008-03-29  Philippe Brochard  <pbrochard@common-lisp.net>
1958         * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Focus, move and resize
1959         the current child (even if it's a window).
1961 2008-03-28  Philippe Brochard  <pbrochard@common-lisp.net>
1963         * src/clfswm-util.lisp (mouse-click-to-focus-and-move)
1964         (mouse-click-to-focus-and-resize): New functions.
1966         * src/clfswm-internal.lisp (*-fl->px): Convert float coordinates to pixel.
1967         (*-px->fl): Convert pixel coordinates to float.
1969         * src/tools.lisp (call-hook): Move call-hook to tools.lisp.
1971 2008-03-27  Philippe Brochard  <pbrochard@common-lisp.net>
1973         * src/clfswm-layout.lisp (no-layout): Use :first-only to raise only the
1974         first child.
1976         * src/clfswm-internal.lisp (hide-all): Split hide-all-children in hide-all
1977         and hide-all-children.
1978         (raise-if-needed): New function.
1979         (show-child): Use a first-p parameter to raise windows only when they are
1980         first child.
1982 2008-03-26  Philippe Brochard  <pbrochard@common-lisp.net>
1984         * src/clfswm-internal.lisp (select-next/previous-level): Don't use show-all-children
1985         -> less flickering.
1987 2008-03-25  Philippe Brochard  <pbrochard@common-lisp.net>
1989         * src/clfswm-info.lisp (keys-from-list): new function.
1991         * src/*: rename 'childs' in 'children'.
1993         * src/*: rename 'group' in 'frame'.
1995 2008-03-22  Philippe Brochard  <pbrochard@common-lisp.net>
1997         * src/clfswm-pack.lisp (explode-group/explode-current-group): new functions.
1999 2008-03-21  Philippe Brochard  <pbrochard@common-lisp.net>
2001         * src/clfswm-pack.lisp: Pack, Fill, Resize functions.
2003 2008-03-16  Philippe Brochard  <pbrochard@common-lisp.net>
2005         * src/clfswm-nw-hooks.lisp: Register system for new window hooks.
2006         Bind control+o to open the next window in a new group in the root group
2007          (as open in next window in a new workspace in 0801 version).
2009 2008-03-15  Philippe Brochard  <pbrochard@common-lisp.net>
2011         * src/clfswm-util.lisp (show/hide-all-groups-info/key): Show/hide all groups info
2012         window.
2014 2008-03-14  Philippe Brochard  <pbrochard@common-lisp.net>
2016         * bindings-second-mode.lisp ("ISO_Left_Tab"): Use ISO_Left_Tab
2017         instead of Tab for select-previous-child.
2019 2008-03-13  Philippe Brochard  <pbrochard@common-lisp.net>
2021         * clfswm-util.lisp (force-window-in-group/force-window-center-in-group):
2022         new functions.
2024 2008-03-11  Philippe Brochard  <pbrochard@common-lisp.net>
2026         * clfswm-util.lisp (identify-key): Display the documentation
2027         associated to keys when identifying a key.
2029 2008-03-10  Xavier Maillard  <xma@gnu.org>
2031         * contrib/clfswm: Complete rewrite of the script. Detect error and
2032         act accordingly. Add command line arguments to configure the
2033         script execution. User can now choose different common lisp
2034         implementation (clisp and sbcl only), choose where to store the
2035         dumped image, where to find clfswm source.
2037 2008-03-09  Philippe Brochard  <pbrochard@common-lisp.net>
2039         * clfswm-internal.lisp (process-new-window): Beginning of new
2040         window hook: each group have a hook to tell what he wants to do
2041         with the new created window.
2043 2008-03-08  Xavier Maillard  <xma@gnu.org>
2045         * contrib/clfswm: New script. Dump a CLISP image of CLFSWM then
2046         call the resulting executable.
2048         * clfswm.lisp (read-conf-file): Check for the user config file in
2049         XDG_CONFIG_HOME *first*. Freedesktop.org standards should be
2050         prefered whenever possible.
2052 2008-02-27  Philippe Brochard  <pbrochard@common-lisp.net>
2054         * clfswm-layout.lisp (*-layout): Add an optional raise-p
2055         parameter in each layout.
2057 2008-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
2059         * clfswm-util.lisp (copy/cut-current-child): Does not affect the
2060         root group.
2061         (copy/move-current-child-by-name/number): new functions
2062         (focus-group-by-name/number): new functions
2063         (delete-group-by-name/number): new functions
2065 2008-02-24  Philippe Brochard  <pbrochard@common-lisp.net>
2067         * ************************************************************ *
2068         *: Major update - No more reference  to workspaces. The main   *
2069         structure is a tree of groups or application windows.          *
2070         * ************************************************************ *
2072 2008-02-07  Philippe Brochard  <pbrochard@common-lisp.net>
2074         * clfswm.lisp (read-conf-file): Read configuration in
2075         $HOME/.clfswmrc or in /etc/clfswmrc or in
2076         $XDG_CONFIG_HOME/clfswm/clfswmrc.
2077         (xdg-config-home): Return the content of $XDG-CONFIG-HOME (default
2078         to $HOME/.config/).
2080 2008-01-18  Philippe Brochard  <pbrochard@common-lisp.net>
2082         * clfswm-internal.lisp (show-all-group): Use *root* and *root-gc*
2083         by default.
2085 2008-01-03  Philippe Brochard  <pbrochard@common-lisp.net>
2087         * clfswm-internal.lisp (find-window-group): New function.
2089         * clfswm*: Change to make clfswm run with clisp/new-clx.
2091 2008-01-01  Philippe Brochard  <pbrochard@common-lisp.net>
2093         * clfswm-util.lisp (query-show-paren): Add show parent matching in
2094         query string.
2095         (query-string): Bind control+k to delete end of line.
2097         * clfswm-second-mode.lisp (draw-second-mode-window): Display
2098         the action on mouse motion in second mode.
2100         * clfswm.lisp (handle-exposure): Redisplay groups on exposure
2101         event but do not clear the root window.
2102         (handle-configure-request): Adjust unmanaged window from their
2103         request.
2105         * clfswm-internal.lisp (process-new-window): Adjust new window
2106         with the specified hints (max/min/base width/height).
2108 2007-12-31  Philippe Brochard  <pbrochard@common-lisp.net>
2110         * clfswm.lisp (handle-configure-request): Send an Configuration
2111         Notify event. This solve a bug with xterm and rxvt who takes some
2112         times to be mapped. Now there is no delay.
2114         * bindings-second-mode.lisp (define-shell): Run programs after
2115         living the second mode.
2117 2007-12-30  Philippe Brochard  <pbrochard@common-lisp.net>
2119         * clfswm-internal.lisp (process-new-window): Do not crop transient
2120         window to group size.
2121         (adapt-window-to-group): Do not crop transient window to group
2122         size.
2124         * clfswm.lisp (handle-configure-request): Adapt just the window to
2125         its group and don't take care of the configure request. Remove the
2126         bug with the Gimp outside the group and speed up the window
2127         manipulation.
2128         (handle-exposure): Remove show-all-group on exposure event
2129         -> Speed up.
2131 2007-12-29  Philippe Brochard  <pbrochard@common-lisp.net>
2133         * clfswm-util.lisp (circulate-group-up-copy-window)
2134         (circulate-group-down-copy-window)
2135         (circulate-workspace-up-copy-group)
2136         (circulate-workspace-down-copy-group): Prevent the copy of the
2137         same window in the same workspace.
2139         * bindings-second-mode.lisp (release-copy-selected-window)
2140         (release-copy-selected-group): Prevent the copy of the same window
2141         in the same workspace.
2143         * clfswm-pager.lisp (generic-pager-move-window-on-previous-line)
2144         (generic-pager-move-window-on-next-line): Remove the copy
2145         property.
2146         (generic-pager-move-group-on-next-workspace)
2147         (generic-pager-move-group-on-previous-workspace): Prevent the copy
2148         of the same window in the same workspace.
2150         * bindings-pager.lisp (mouse-pager-copy-selected-window-release)
2151         (mouse-pager-copy-selected-group-release): Prevent the copy of the
2152         same window in the same workspace.
2154         * tools.lisp (setf/=): new macro to set a variable only when
2155         necessary.
2157         * clfswm-internal.lisp (adapt-window-to-group): use set/= to set
2158         x, y... only when necessary.
2160 2007-12-28  Philippe Brochard  <pbrochard@common-lisp.net>
2162         * clfswm.lisp (handle-configure-notify, *configure-notify-hook*):
2163         new function and hook: force windows to stay in its group (solve a
2164         bug with the Gimp).
2166 2007-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
2168         * bindings-second-mode.lisp (mouse-motion): use hide-group to have
2169         less flickering when moving/resizing groups.
2171         * clfswm-internal.lisp (hide-group): new function.
2172         (show-all-group): clear-all: new parameter.
2174 2007-12-22  Philippe Brochard  <pbrochard@common-lisp.net>
2176         * clfswm-keys.lisp (define-define-key): undefine-*-multi-name: new
2177         macro.
2178         * clfswm*: Color change for the pager. Typo or better description
2179         in bindings definitions. Define bindings for a qwerty keyboard by
2180         default. dot-clfswmrc show examples to switch to an azerty
2181         keyboard.
2182         License change to GPL v3.
2183         * config.lisp: new file - group all globals variables in this
2184         file.
2186 2007-08-26  Philippe Brochard  <pbrochard@common-lisp.net>
2188         * xlib-util.lisp (hide-window): Remove structure-notivy events
2189         when hidding a window.
2191 2007-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
2193         * package.lisp (*sm-property-notify-hook*): Readded
2194         property-notify-hook in second mode.
2196 2007-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
2198         * clfswm-keys.lisp (produce-doc-html): Better clean up for strings.
2200 2007-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
2202         * clfswm-pack.lisp (tile-current-workspace-to/right/left/top/bottom):
2203         Tile the current workspace with the current window on one side and
2204         others on the other (this emulate the larswm, dwm, wmii way). See
2205         the default configuration file to enable this mode by default.
2207         * clfswm-pager.lisp (pager-tile-current-workspace-to): idem for
2208         the pager.
2210 2007-05-12  Philippe Brochard  <pbrochard@common-lisp.net>
2212         * clfswm-pager.lisp (pager-draw-window-in-group): Add
2213         ensure-printable to print windows name even with non-ascii
2214         characters.
2216 2007-05-11  Philippe Brochard  <pbrochard@common-lisp.net>
2218         * clfswm-pager.lisp (pager-explode-current-group): Create a new
2219         group for each window in group.
2220         (pager-implode-current-group): Move all windows in workspace to
2221         one group and remove other groups.
2223         * clfswm-pack.lisp (explode-group): Create a new group for each
2224         window in group.
2225         (implode-group): Move all windows in workspace to one group and
2226         remove other groups.
2228         * clfswm-util.lisp (identify-key): Remove local configuration
2229         variables and made them available for configuration from
2230         package.lisp.
2231         (query-string): idem.
2233 2007-04-29  Philippe Brochard  <pbrochard@common-lisp.net>
2235         * netwm-util.lisp: Start of NetWM compliance.
2236         Add a Netwm client list gestion.
2238 2007-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
2240         * clfswm-internal.lisp (create-group-on-request): open a new group
2241         only when the current group is not empty.
2243         * bindings-second-mode.lisp (define-second-key-#\o-control): Fix a
2244         bug with null workspace.
2246         * clfswm-pager.lisp (pager-handle-event): Add a hook
2247         system. This hooks can be changed in the user configuration file.
2249         * package.lisp: All colors and font variables are set in
2250         package.lisp and can be configured in the user configuration
2251         file.
2252         Note: If you have configured some less ugly colors (esp. for the
2253         pager) don't hesitate to let me know :)
2255         * clfswm-second-mode.lisp (sm-handle-event): Add a hook
2256         system. This hooks can be changed in the user configuration file.
2258         * clfswm.lisp (handle-event): Add a hook system. This hooks can be
2259         changed in the user configuration file (~/.clfswmrc)
2261 2007-04-25  Philippe Brochard  <pbrochard@common-lisp.net>
2263         * clfswm-util.lisp (stop-all-pending-actions): new function: reset
2264         arrow action, open next window in new workspace/group.
2266         * bindings.lisp (stop-all-pending-actions): new binding.
2267         (open-next-window-in-new-group-once): Open the next windows in a
2268         new group (only once) or open all new windows in a new group (like
2269         others windows managers).
2271 2007-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
2273         * clfswm.lisp (read-conf-file): New function to read a lisp
2274         configuration file at startup.
2275         (focus-group-under-mouse): Check if group isn't the current group
2276         ( prevent a bug with unclutter ).
2278 2007-03-02  Philippe Brochard  <pbrochard@common-lisp.net>
2280         * bindings.lisp (run-program-from-query-string): A program can be
2281         launch from a input query window.
2283 2007-03-01  Philippe Brochard  <pbrochard@common-lisp.net>
2285         * clfswm-info.lisp: Fix a bug with banish pointer in info mode.
2287 2007-02-28  Philippe Brochard  <pbrochard@common-lisp.net>
2289         * clfswm.lisp (process-new-window): One can now open the next
2290         window in a workspace called by its number.
2292         * clfswm-util.lisp (query-font-string): Minimal editing
2293         capabilities.
2294         (eval-from-string): And an REPL in the window manager... :)
2296 2007-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
2298         * clfswm.lisp (process-new-window): One can now open the next
2299         window in a new workspace or a new group.
2301         * clfswm-pager.lisp (pager-mode): Display the next arrow action
2302         with the hidden windows.
2304         * clfswm.lisp (second-key-mode): Display the current workspace
2305         number and the next arrow action in the state window.
2307         * clfswm-pager.lisp (pager-mode): Hide all windows before leaving
2308         the pager mode and then redisplay only the current workspace.
2310 2007-02-25  Philippe Brochard  <pbrochard@common-lisp.net>
2312         * clfswm.lisp (add-workspace): Workspaces are now numbered. So
2313         they can be focused with a keypress, sorted or renumbered.
2315 2007-02-24  Philippe Brochard  <pbrochard@common-lisp.net>
2317         * clfswm-pager.lisp (pager-mode): Remove multiple silly
2318         pager-draw-display. This prevent a lot of flickering in the
2319         pager.
2321         * clfswm.lisp: Remove all display-force-output and replace them
2322         with only one display-finish-output in the event loop.
2324 2006-11-06  Philippe Brochard  <pbrochard@common-lisp.net>
2326         * clfswm-pager.lisp (pager-center-group): New function - center a
2327         group at the middle of the screen.
2329         * clfswm-pack.lisp (center-group): New function - center a group
2330         at the middle of the screen.
2332         * clfswm.lisp (show-group): Add a cross line under the group.
2333         (show-group): Group are showned even if fullscreened.
2334         (init-display): Add an exposure event on the root window.
2336 2006-11-05  Philippe Brochard  <pbrochard@common-lisp.net>
2338         * package.lisp (*default-group*): Default group is the same size
2339         of a fullscreened group.
2341         * bindings*: Use shift to move, control+shift to copy.
2343         * *.lisp: Add comments for configuration or alternatives. So grep
2344         for CONFIG to see where you can configure clfswm. And grep for
2345         Alternative to use some commented code.
2347         * clfswm.lisp (second-key-mode): Use a single window to show the
2348         second mode. See for alternatives at the end of this file.
2350 2006-11-03  Philippe Brochard  <pbrochard@common-lisp.net>
2352         * clfswm-keys.lisp (define-define-key/mouse): Factorisation in a
2353         macro of key and mouse definitions.
2354         (define-define-key/mouse): Use state instead of modifiers list
2355         this fix a bug when the modifiers list is not in the rigth order.
2357         * clfswm.lisp (second-key-mode): Add a colored border in second mode.
2359 2006-11-02  Philippe Brochard  <pbrochard@common-lisp.net>
2361         * clfswm-info.lisp (info-mode): Add an info mode.
2363 2006-11-01  Philippe Brochard  <pbrochard@common-lisp.net>
2365         * clfswm.lisp (process-new-window): Change border size for
2366         transient windows.
2367         (show-all-windows-in-workspace): Unhide all windows even when the
2368         current group is in fullscreen mode.
2370 2006-10-26  Philippe Brochard  <pbrochard@common-lisp.net>
2372         * clfswm-util.lisp (identify-key): Add an exposure handle-event to
2373         redisplay the identify window after a terminal switch.
2375         * clfswm-pager.lisp (pager-mode): Add an exposure handle-event to
2376         redisplay the pager after a terminal switch.
2378 2006-10-24  Philippe Brochard  <pbrochard@common-lisp.net>
2380         * clfswm-util.lisp (identify-key): Add a window to display
2381         the keys to identify on screen.
2383         * bindings.lisp, bindings-pager.lisp: Define same keys to
2384         move/copy groups/windows in second mode and in pager.
2386         * clfswm.lisp (handle-event*): Same version in all clfswm (fix some
2387         drawing lags).
2388         (show-all-windows-in-workspace): unhide window before adapting it
2389         to group.
2391 2006-10-23  Philippe Brochard  <pbrochard@common-lisp.net>
2393         * clfswm.lisp (handle-event): Revert to an older version.
2395 2006-10-18  Philippe Brochard  <pbrochard@common-lisp.net>
2397         * clfswm-util.lisp (force-window-in-group)
2398         (force-window-center-in-group): New functions for transient windows.
2400         * clfswm-pager.lisp (pager-remove-current-workspace/group):
2401         bugfix: hide all windows before removing group or workspace.
2403 2006-10-17  Philippe Brochard  <pbrochard@common-lisp.net>
2405         * bindings-pager.lisp (mouse-pager-move-selected-group)
2406         (mouse-pager-copy-selected-group)
2407         (mouse-pager-move-selected-window)
2408         (mouse-pager-copy-selected-window, mouse-pager-rotate-window-up)
2409         (mouse-pager-rotate-window-down): New functions to have mouse in
2410         pager mode.
2412         * clfswm-pager.lisp (pager-swap-window)
2413         (pager-copy-group-on-next/previous-workspace)
2414         (pager-copy-window-on-next/previous-line): New functions
2416 2006-10-15  Philippe Brochard  <pbrochard@common-lisp.net>
2418         * clfswm-pager.lisp (pager-move-window-on-next/previous-line,
2419         (pager-move-group-on-next/previous-workspace): new functions.
2421         * clfswm-pack.lisp (resize-half-x-x-current-group): resize group
2422         to its half size (new functions).
2424 2006-10-11  Philippe Brochard  <pbrochard@common-lisp.net>
2426         * clfswm-pager.lisp: workspaces, groups and windows can now be
2427         selectionned with the keyboard or the mouse.
2429 2006-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
2431         * clfswm-pager.lisp (pager-select-workspace-right/left):
2432         workspaces can now be selectionned with the keyboard.
2434 2006-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
2436         * clfswm-keys.lisp (undefine-main-key, undefine-second-key, undefine-mouse-action):
2437         new function to remove a previous defined key or mouse combination.
2439 2006-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
2441         * clfswm.lisp (main): Check for access error in init-display.
2443         * clfswm-keys.lisp (define-ungrab/grab): check for keysym and
2444         keycode before grabbing.
2446         * bindings.lisp: Remove nlambda and use defun to keep the function
2447         documentation with clisp.
2448         (define-shell): new macro to define shell command for the second
2449         mode.
2451 2006-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
2453         * clfswm-keys.lisp (define-ungrab/grab): use a cond instead of a
2454         boggus typecase.
2456 2006-10-05  Philippe Brochard  <pbrochard@common-lisp.net>
2458         * bindings.lisp (accept-motion): Move group bugfix in upper mouse
2459         workspace circulation.
2461         * clfswm-util.lisp (absorb-orphan-window): new function.
2463         * clfswm-keys.lisp: Keysyms support.
2465 2006-10-02  Philippe Brochard  <pbrochard@common-lisp.net>
2467         * clfswm.lisp (show-group): Use one gc for all groups and not one
2468         per group.
2470 2006-10-01  Philippe Brochard  <pbrochard@common-lisp.net>
2472         * bindings.lisp (define-second-key (#\l :mod-1)): fix a typo.
2474         * clfswm.lisp (adapt-window-to-group): Adapt only windows with
2475         width and height outside group.
2477 2006-09-28  Philippe Brochard  <pbrochard@common-lisp.net>
2479         * clfswm.lisp: First public release.