clfswm-query.lisp, clfswm-info.lisp: redefine keys before entering in the mode
[clfswm.git] / ChangeLog
blobed929c4061db9c5f540931d4f7a6468528457467
1 2011-03-21  Philippe Brochard  <pbrochard@common-lisp.net>
3         * src/clfswm-internal.lisp (x-px->fl, y-px->fl): Takes care of
4         border size.
6 2011-03-20  Philippe Brochard  <pbrochard@common-lisp.net>
8         * src/clfswm-info.lisp (show-config-variable): call
9         produce-conf-var-doc.
11 2011-03-18  Philippe Brochard  <pbrochard@common-lisp.net>
13         * src/clfswm-autodoc.lisp (produce-conf-var-doc-html): Produce a
14         documentation for all configurable variables in CLFSWM -
15         HTML version.
17         * src/clfswm-internal.lisp (leave-frame): Hide all children except
18         the current window.
20 2011-03-16  Philippe Brochard  <pbrochard@common-lisp.net>
22         * src/clfswm-autodoc.lisp (produce-all-docs): Produce a
23         documentation for all configurable variables in CLFSWM.
25         * src/clfswm-layout.lisp (set-gimp-layout): Display a notify
26         window with the help on the GIMP layout.
28 2011-03-12  Philippe Brochard  <pbrochard@common-lisp.net>
30         * src/menu-def.lisp: Menu update to prevent cursor keys clash.
32         * clfswm.asd: Change compilation order to prevent undefined
33         variables.
35         * src/clfswm-internal.lisp (show-child(frame)): Handle properly
36         the show-root-frame-p parameter.
38 2011-03-11  Philippe Brochard  <pbrochard@common-lisp.net>
40         * src/clfswm-util.lisp (move-frame, resize-frame): Do not move or
41         resize a frame when it's the current root.
43 2011-03-10  Philippe Brochard  <pbrochard@common-lisp.net>
45         * src/clfswm-internal.lisp (show-all-children): Handle properly
46         duplicated child in multipe frames.
48 2011-03-09  Philippe Brochard  <pbrochard@common-lisp.net>
50         * contrib/volume-mode.lisp (set-default-volume-keys): Add more
51         keybindings (up/down, right/left) to raise/lower the volume.
53         * src/clfswm-layout.lisp: Add a variable border size for frames
54         and windows.
56 2011-03-08  Philippe Brochard  <pbrochard@common-lisp.net>
58         * src/clfswm-util.lisp (cut-current-child, remove-current-child)
59         (delete-current-child): Hide the current child before doing the
60         action.
62         * src/clfswm-internal.lisp (show-all-children): Hide windows not
63         in the current root before displaying those in current root.
64         Remove all hide-all unnecessary calls.
66         * src/clfswm-configuration.lisp (save-variables-in-conf-file):
67         Save only variables with a different value than there original
68         value.
70 2011-03-07  Philippe Brochard  <pbrochard@common-lisp.net>
72         * src/clfswm-info.lisp (show-config-variable): Use the new
73         defconfig method.
75         * src/clfswm-autodoc.lisp (produce-configuration-variables): Use
76         the new defconfig method.
78         * src/clfswm-configuration.lisp (create-configuration-menu):
79         Change the config system with a more lispy one and a less string
80         based one: (defconfig name value group doc).
83 2011-03-06  Philippe Brochard  <pbrochard@common-lisp.net>
85         * src/clfswm-internal.lisp (show-all-children): Simplify the
86         selection method.
87         (show-child): Display an unmanaged window whe  it's the current
88         child.
89         (show-all-children): add the ability to display all child from
90         *root-frame* and hide all those who are not in *current-root*.
91         -> remove hide-all-children when needed.
93         * src/xlib-util.lisp (move-window,resize-window): Add a
94         *color-move-window* border when moving or resizing a window.
96 2011-03-04  Philippe Brochard  <pbrochard@common-lisp.net>
98         * src/clfswm-internal.lisp (show-all-children): Perform only one
99         recusion on the clfswm tree: calculate geometry and place child in
100         one pass.
102 2011-03-03  Philippe Brochard  <pbrochard@common-lisp.net>
104         * src/clfswm-internal.lisp (show-all-children): Rethink of display
105         child order to prevent very annoying flickering.
107 2011-02-27  Philippe Brochard  <pbrochard@common-lisp.net>
109         * src/clfswm-util.lisp (query-yes-or-no): New function.
111         * src/clfswm-configuration.lisp (reset-all-config-variables): New
112         function and menu entry.
113         (query-conf-value): Add the ability to leave the field blank to
114         reset the variable to its default value.
116 2011-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
118         * src/clfswm-configuration.lisp
119         (add-all-configuration-default-value): Add a default value to
120         configurable variables.
122 2011-02-23  Philippe Brochard  <pbrochard@common-lisp.net>
124         * src/clfswm.lisp (main-unprotected): Create the configuration
125         menu only once at startup.
127 2011-02-22  Desmond O. Chang <dochang@gmail.com>
129         * contrib/amixer.lisp: Add a volume mode inspired by the emms
130         volume package. Alsa mixer interface.
132         * contrib/volume-mode.lisp: Add a volume mode inspired by the emms
133         volume package.
135 2011-02-22 Desmond O. Chang <dochang@gmail.com>
137         * src/clfswm.lisp (main): Use ASDF:SYSTEM-SOURCE-DIRECTORY instead
138         of *LOAD-TRUENAME*. *LOAD-TRUENAME* is only bound during a call to
139         LOAD. If one eval CLFSWM:MAIN in repl, BASE-DIR will be an empty
140         string. Use ASDF:SYSTEM-SOURCE-DIRECTORY to fix it.
142 2011-02-16  Philippe Brochard  <pbrochard@common-lisp.net>
144         * src/clfswm.lisp (main-unprotected): Add a close hook. And close
145         the notify window, the virtual keyboard and the clfswm terminal by
146         default.
148 2011-02-15  Philippe Brochard  <pbrochard@common-lisp.net>
150         * src/clfswm.lisp (main-unprotected): Destroy the notify window
151         before closing the display. This fix a bug when resetting/reloading
152         clfswm.
154 2011-02-12  Philippe Brochard  <pbrochard@common-lisp.net>
156         * src/xlib-util.lisp (equal-wm-class-fun, equal-wm-name-fun)
157         (raise-window-fun, raise-and-focus-window-fun): New functions.
159         * src/config.lisp (*clfswm-terminal-cmd*): Switch from xterm to
160         urxvt.
161         (*never-managed-window-list*): Structure change to be more
162         flexible. Let the choice to focus, raise and do nothing on never
163         managed windows.
165 2011-02-09  Philippe Brochard  <pbrochard@common-lisp.net>
167         * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Take
168         care of never managed windows to move or resize them if the raise
169         parameter is true.
171         * src/clfswm-internal.lisp (in-frame, in-window, in-child): New
172         functions.
174 2011-02-08  Philippe Brochard  <pbrochard@common-lisp.net>
176         * src/clfswm.lisp (main-mode): Raise or not unmanaged windows
177         following request in *never-managed-window-list*.
179 2011-02-05  Philippe Brochard  <pbrochard@common-lisp.net>
181         * *: **** Release 1102 ****
183 2011-02-05  Desmond O. Chang <dochang@gmail.com>
185         * src/keysyms.lisp: Add extended keysyms from stumpwm.
187 2011-02-01  Desmond O. Chang <dochang@gmail.com>
189         * src/clfswm-util.lisp (run-or-raise): New function (thanks to
190         Desmond O. Chang).
192         * src/clfswm-internal.lisp (with-all-*): add a nil block.
194 2011-01-28  Desmond O. Chang <dochang@gmail.com>
196         * src/clfswm-util.lisp (xdg-config-home): XDG_CONFIG_HOME should
197         be $HOME/.config by default.
199 2010-12-29  Philippe Brochard  <pbrochard@common-lisp.net>
201         * contrib/osd.lisp (display-doc): Add another method where a
202         CLFSWM native window is used to display the key documentation.
204 2010-12-27  Philippe Brochard  <pbrochard@common-lisp.net>
206         * src/xlib-util.lisp (with-xlib-protect): Force to revert to the
207         main mode state.
209 2010-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
211         * src/clfswm-second-mode.lisp (second-key-mode): Call the second
212         mode leave function only when the generic mode was ended.
214 2010-12-08  Philippe Brochard  <pbrochard@common-lisp.net>
216         * src/clfswm-second-mode.lisp (sm-leave-function): Do not use
217         *second-mode-program* anymore.
219 2010-12-07  Philippe Brochard  <pbrochard@common-lisp.net>
221         * src/clfswm-second-mode.lisp (*second-mode-leave-function*): New
222         variable bound to a function executed (when not null) on second
223         mode leaving.
225 2010-11-14  Philippe Brochard  <pbrochard@common-lisp.net>
227         * src/clfswm-util.lisp (find-child-under-mouse): Do not find
228         hidden windows.
230 2010-11-13  Philippe Brochard  <pbrochard@common-lisp.net>
232         * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
233         Do not display the accel window for unmanaged windows.
235 2010-11-11  Philippe Brochard  <pbrochard@common-lisp.net>
237         * src/clfswm-internal.lisp (set-current-root): Handle
238         window-parent in set-current-root.
240         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Do not
241         focus the parent child when the current root is a window.
243 2010-11-09  Philippe Brochard  <pbrochard@common-lisp.net>
245         * src/clfswm-expose-mode.lisp (expose-windows-current-child-mode):
246         New function an bindings.
248         * src/clfswm-layout.lisp (tile-layout, set-tile-layout): Fill
249         blanks if needed.
251 2010-11-07  Philippe Brochard  <pbrochard@common-lisp.net>
253         * src/clfswm-layout.lisp (tile-layout-ask-keep-position): New
254         function to let the user choose to keep child position with
255         tile layout.
257         * src/clfswm-internal.lisp (remove-frame-data-slot): New
258         function.
260 2010-11-05  Philippe Brochard  <pbrochard@common-lisp.net>
262         * src/clfswm-internal.lisp (frame-select-next-child)
263         (frame-select-previous-child): New functions and bindings. Select
264         the next/previous child in the current frame.
266 2010-10-31  Philippe Brochard  <pbrochard@common-lisp.net>
268         * src/clfswm-query.lisp (query-mode-complet): New function: Handle
269         completion in query-mode.
271 2010-10-30  Philippe Brochard  <pbrochard@common-lisp.net>
273         * src/clfswm-query.lisp (query-print-string): Handle long lines
274         correctly.
276 2010-10-27  Philippe Brochard  <pbrochard@common-lisp.net>
278         * src/clfswm-expose-mode.lisp (expose-create-window): Ensure that
279         all characters are printable.
281 2010-10-25  Philippe Brochard  <pbrochard@common-lisp.net>
283         * contrib/server/server.lisp: Load clfswm client code in the main
284         program and let the user start it with a --client command line
285         option.
287         * src/package.lisp (*main-entrance-hook*): New hook executed after
288         loading configuration file and before opening the display.
290 2010-10-23  Philippe Brochard  <pbrochard@common-lisp.net>
292         * src/xlib-util.lisp: Remove unnecessary xlib:display-finish-output.
294         * src/clfswm-internal.lisp (show-child): Show window only if not
295         hidden.
297         * src/clfswm-keys.lisp (binding-substitute-modifier): Utility to
298         change modifiers after binding definition.
300 2010-10-21  Philippe Brochard  <pbrochard@common-lisp.net>
302         * contrib/osd.lisp: New file: OSD (On Screen Display) for
303         presentations.
305         * src/clfswm-menu.lisp (open-menu): Modularise function.
307 2010-10-13  Philippe Brochard  <pbrochard@common-lisp.net>
309         * src/clfswm-info.lisp (show-first-aid-kit): Display the essential
310         key binding in main and second mode.
312 2010-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
314         * src/clfswm-util.lisp (open-notify-window): Convert hello-window
315         functions to a more generic Notify-window system.
317         * src/tools.lisp (add-timer): Add an id to identify the timer.
319 2010-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
321         * src/tools.lisp (erase-timer): New function.
323         * src/clfswm-util.lisp (display-hello-window): Add a timer to hide
324         the hello window. Add Configuration variables.
326 2010-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
328         * src/clfswm-util.lisp (): Add an Hello window at startup.
330         * src/tools.lisp (process-timers): Add a timer system.
332 2010-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
334         * src/clfswm-query.lisp (add-in-query-string): Handle correctly
335         the mod-5 modifier.
337 2010-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
339         * src/clfswm-query.lisp (query-print-string): Change cursor color
340         and show parenthesis matching with colors (on match and on
341         errors).
343 2010-10-05  Philippe Brochard  <pbrochard@common-lisp.net>
345         * src/clfswm-internal.lisp (show-all-children): Do not raise a
346         child when its parent is hidden.
348 2010-10-02  Philippe Brochard  <pbrochard@common-lisp.net>
350         * src/clfswm-circulate-mode.lisp (select-next-subchild): Add the
351         possibility to circulate over subchild of the current child.
353         * src/clfswm-expose-mode.lisp (expose-all-windows-mode)
354         (expose-windows-generic): Add an escape-body function to return to
355         the original state on escape key.
357         * src/clfswm-util.lisp (bind-on-slot): Add an optional parameter
358         to bind the current child from the configuration file.
360 2010-10-01  Philippe Brochard  <pbrochard@common-lisp.net>
362         * src/clfswm-nw-hooks.lisp (absorb-window-nw-hook): Absorb new
363         window hook: the frame absorb all new windows that match
364         nw-absorb-test frame data slot.
366 2010-09-30  Philippe Brochard  <pbrochard@common-lisp.net>
368         * src/clfswm-expose-mode.lisp (expose-create-window): Show window
369         title in accel window.
371 2010-09-29  Philippe Brochard  <pbrochard@common-lisp.net>
373         * configure: Use the Xavier Maillard clfswm script in contrib to
374         build an executable in the standard way.
376 2010-09-26  Philippe Brochard  <pbrochard@common-lisp.net>
378         * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
379         New functions. Add a window on each child in the expose mode to
380         quickly select them.
382         * src/clfswm-internal.lisp (child-x, child-y, child-width)
383         (child-height): New methods to get real child coordinates.
385 2010-09-25  Philippe Brochard  <pbrochard@common-lisp.net>
387         * src/clfswm-layout.lisp (*-layout): Use child-position.
389         * src/clfswm-internal.lisp (child-position): New function.
391         * src/clfswm-expose-mode.lisp (expose-windows-mode)
392         (expose-all-windows-mode): Use a generic mode.
394         * src/xlib-util.lisp (with-handle-event-symbol): Use a filled list
395         with handle-event-fun symbols instead of inspecting clfswm
396         internals symbols on each mode change.
398         * src/clfswm-expose-mode.lisp: Move and rename present*-windows in
399         a separate clfswm-expose-mode.lisp file.
401         * src/clfswm-util.lisp (speed-mouse-right, speed-mouse-down): Use
402         screen size instead of hardcoded test coordinates.
404 2010-09-24  Philippe Brochard  <pbrochard@common-lisp.net>
406         * src/clfswm-util.lisp (speed-mouse-reset, speed-mouse-left)
407         (speed-mouse-right, speed-mouse-up, speed-mouse-down)
408         (speed-mouse-undo, speed-mouse-first-history): New functions to
409         quickly move the mouse. Implemented for the second mode.
411 2010-09-16  Philippe Brochard  <pbrochard@common-lisp.net>
413         * contrib/clfswm: Move clfswm sources to $tmp_dir if there is no
414         write permission on $clfswm_asd_path. So anybody can start clfswm
415         even if there is no write permission on the source directory.
417 2010-09-12  Philippe Brochard  <pbrochard@common-lisp.net>
419         * contrib/clfswm: Add support to cmucl, ccl and ecl.
421 2010-09-11  Philippe Brochard  <pbrochard@common-lisp.net>
423         * src/clfswm-util.lisp (set-hide-unmanaged-window)
424         (set-show-unmanaged-window, set-default-hide-unmanaged-window):
425         New functions and menu entry.
426         (set-globally-hide-unmanaged-window)
427         (set-globally-show-unmanaged-window): New functions and menu
428         entry.
430         * src/clfswm-internal.lisp (hide-unmanager-window-p): New
431         function.
432         (show-child): Add a data slot on frame to hide or not unmanaged
433         windows.
435         * src/clfswm-corner.lisp (present-clfswm-terminal)
436         (present-virtual-keyboard): Use a function (generic-present-body)
437         instead of a macro (generate-present-body).
439         * src/clfswm-util.lisp (update-menus): List all directories and
440         subdirectories in $XDG_DATA_DIRS/applications.
442 2010-09-10  Philippe Brochard  <pbrochard@common-lisp.net>
444         * src/clfswm-corner.lisp (generate-present-body): New macro.
445         (present-clfswm-terminal, present-virtual-keyboard): Use
446         generate-present-body.
448 2010-09-09  Philippe Brochard  <pbrochard@common-lisp.net>
450         * src/clfswm-util.lisp (update-menus): Follow XDG specifications
451         instead of the non-portable Debian update-menu.
453 2010-09-07  Philippe Brochard  <pbrochard@common-lisp.net>
455         * src/clfswm.lisp (error-handler): New function do handle
456         asynchronous errors and ignore them.
457         (open-display): Install the new error-handler on display.
459 2010-09-05  Philippe Brochard  <pbrochard@common-lisp.net>
461         * src/xlib-util.lisp (with-xlib-protect): Add a
462         with-simple-restart on top of body execution.
464 2010-09-04  Philippe Brochard  <pbrochard@common-lisp.net>
466         * src/clfswm.lisp (main-loop): Protect all xlib functions with an
467         with-xlib-protect.
469         * src/xlib-util.lisp (handle-event): use with-xlib-protect only in
470         handle-event. Add a with-simple-restart to prevent a
471         clisp/new-lisp infinite loop.
473 2010-08-30  Philippe Brochard  <pbrochard@common-lisp.net>
475         * src/clfswm-corner.lisp (present-clfswm-terminal): Make the
476         clfswm terminal working even on xterm title changes.
478 2010-08-29  Philippe Brochard  <pbrochard@common-lisp.net>
480         * src/clfswm-util.lisp (run-other-window-manager): Update for
481         clisp compatibility.
483         * src/tools.lisp (do-execute): New parameter io to change the
484         input/output method.
486         * src/clfswm-util.lisp (hide-current-child): Prevent from removing
487         the current root.
489         * src/clfswm-internal.lisp (child-member): New predicate.
490         (child-remove): New function.
492         * src/*.lisp: Use child-member and child-remove everywhere it's
493         needed.
495 2010-08-28  Philippe Brochard  <pbrochard@common-lisp.net>
497         * src/clfswm.lisp (main-loop): Ensure that all events have been
498         processed after a process-event.
500         * src/clfswm-internal.lisp (is-in-current-child-p): New function.
502 2010-08-27  Philippe Brochard  <pbrochard@common-lisp.net>
504         * src/clfswm.lisp (main-mode:configure-request): Raise the window
505         only when present on the current child and focus it accordingly.
507 2010-08-26  Philippe Brochard  <pbrochard@common-lisp.net>
509         * src/clfswm-circulate-mode.lisp (circulate-loop-function):
510         Use is-a-key-pressed-p.
512         * src/xlib-util.lisp (is-a-key-pressed-p): New predicate.
514         * src/clfswm-keys.lisp (define-ungrab/grab): Use all values
515         returned by xlib:keysym->keycodes.
517         * src/*.lisp: Use the new child-equal-p to compare children. This
518         prevent a bug with sbcl/cmucl when the standard equal function
519         does not work with xlib:window.
521         * src/clfswm-internal.lisp (child-equal-p): New predicate.
523 2010-08-25  Philippe Brochard  <pbrochard@common-lisp.net>
525         * src/clfswm-generic-mode.lisp (generic-mode): Use an
526         xlib:event-listen before processing event with
527         xlib:process-event. This prevent a bug with CLX threaded
528         implementation like sbcl.
530         * src/clfswm.lisp (main-loop): Use an xlib:event-listen before
531         processing event with xlib:process-event. This prevent a bug with
532         CLX threaded implementation like sbcl.
534 2010-08-17  Philippe Brochard  <pbrochard@common-lisp.net>
536         * contrib/server/key.lisp (ushell-sh): Add ccl and ecl support.
538         * src/xlib-util.lisp (compress-motion-notify): Use a loop instead
539         of an event-case.
541         * src/clfswm-internal.lisp (with-find-in-all-frames): New macro.
542         (find-parent-frame, find-frame-window, find-frame-by-name)
543         (find-frame-by-number): Use with-find-in-all-frames to search in
544         frames in the right order.
546         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Fix an
547         unwanted flickering with unmanaged windows.
549 2010-08-16  Philippe Brochard  <pbrochard@common-lisp.net>
551         * src/package.lisp: Remove event handler hooks as they're not
552         needed anymore (To replace them: use closure and define-handler).
554         * src/xlib-util.lisp (move-window, resize-window)
555         (wait-mouse-button-release): Use a generic mode.
557         * src/*.lisp: Replace the case to handle event with a more (tricky)
558         lispy  method which bind a function to each keywords associated
559         to graphics events.
561 2010-07-23  Philippe Brochard  <pbrochard@common-lisp.net>
563         * src/clfswm-util.lisp (delete-current-child): Invert bindings and
564         menu entry between delete-current-child and remove-current-child.
565         ie: Delete a child and its children in all frames by default.
567 2010-07-21  Philippe Brochard  <pbrochard@common-lisp.net>
569         * src/package.lisp: Add a placement configuration group.
571         * src/binding*.lisp: Bind control+g to escape the current action
572         like emacs.
574         * src/clfswm-internal.lisp
575         (delete-child-and-children-in-all-frames): New function and
576         binding: Second mode - Control+Delete delete the current child and
577         its children in all frames (ie: close the current child and its
578         children).
580 2010-07-20  Philippe Brochard  <pbrochard@common-lisp.net>
582         * src/clfswm-internal.lisp (remove-child-in-frame): Do not destroy
583         the frame window and the frame gc. Close a very annoying bug when
584         cuting/pasting a frame or moving a child over frames with the
585         mouse.
587         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
588         all children in *current-root* after moving/resizing a frame.
590 2010-07-18  Philippe Brochard  <pbrochard@common-lisp.net>
592         * src/clfswm-util.lisp (delete-focus-window)
593         (destroy-focus-window): Remove child in parent frame before
594         stopping it.
596 2010-07-16  Philippe Brochard  <pbrochard@common-lisp.net>
598         * src/clfswm-util.lisp (identify-key): Add a timeout in
599         xlib:process-event.
600         (mouse-click-to-focus-generic): Use find-child-under-mouse instead
601         of the window passed by xlib:process-event.
603         * src/xlib-util.lisp (move-window, resize-window)
604         (wait-mouse-button-release): Add a timeout in xlib:process-event.
606 2010-04-11  Philippe Brochard  <pbrochard@common-lisp.net>
608         * src/clfswm-util.lisp (run-other-window-manager): Add the ability
609         to launch an other window manager and to return to clfswm.
611 2010-03-18  Philippe Brochard  <pbrochard@common-lisp.net>
613         * src/clfswm-layout.lisp (set-tile-space-layout): Set default
614         to 1%.
616 2009-12-15  Philippe Brochard  <pbrochard@common-lisp.net>
618         * src/clfswm.lisp (main-loop): Add a *loop-hook* parameter and a
619         loop timeout.
621         * src/clfswm-generic-mode.lisp (generic-mode): Add a loop-hook
622         parameter and a loop timeout.
624 2009-12-05  Philippe Brochard  <pbrochard@common-lisp.net>
626         * src/clfswm.lisp (main): Add an alternate configuration filename
627         parameter.
629         * load.lisp: Add a debuging code example.
631 2009-11-14  Philippe Brochard  <pbrochard@common-lisp.net>
633         * src/clfswm-configuration.lisp (create-configuration-menu): New
634         menu to configure all clfswm variables while clfswm is running.
636 2009-11-12  Philippe Brochard  <pbrochard@common-lisp.net>
638         * src/clfswm-util.lisp (save-configuration-variables): New
639         function to save all configuration variables in clfswmrc.
641 2009-11-11  Philippe Brochard  <pbrochard@common-lisp.net>
643         * src/clfswm-info.lisp (info-mode): Begining of mouse support in
644         info mode.
645         (set-default-info-keys): Add cursor key support in info mode.
647 2009-11-08  Philippe Brochard  <pbrochard@common-lisp.net>
649         * contrib/reboot-halt.lisp: Add a Suspend/Reboot/Halt menu in
650         contrib.
652         * src/clfswm.lisp (main): Add a read-conf-file-p parameter to
653         prevent reading the configuration file (this may be useful to
654         produce the original documentation without user modifications
655         with the rc configuration file).
657 2009-11-07  Philippe Brochard  <pbrochard@common-lisp.net>
659         * src/bindings-second-mode.lisp (set-default-second-keys):
660         Simplification of Escape key to close/kill/remove the focus window
661         and unhide all windows.
663         * src/bindings.lisp (set-default-main-keys): Simplification of
664         Escape key to close/kill/remove the focus window and unhide all
665         windows.
667         * src/clfswm-util.lisp (ask-close/kill-current-window): Add remove
668         focus and unhide all windows capabilities.
670 2009-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
672         * contrib/mpd.lisp (start-gmpc): Add gmpc in the mpd menu.
674 2009-07-29  Philippe Brochard  <pbrochard@common-lisp.net>
676         * src/clfswm-layout.lisp (tile-layout, tile-horizontal-layout):
677         Keep child order and don't make unnecessary child movement.
678         (one-column-layout, one-line-layout): New layouts.
680 2009-06-29  Philippe Brochard  <pbrochard@common-lisp.net>
682         * *: **** Release 0906 ****
684         * contrib/cd-player.lisp: New file to handle the CD player.
686         * contrib/xmms.lisp: New file to handle the xmms player.
688 2009-06-28  Philippe Brochard  <pbrochard@common-lisp.net>
690         * src/clfswm-layout.lisp (set-no-layout-remember-size): New layout:
691         Maximize windows in there frame - Leave frames to there actual
692         size.
694         * src/bindings-second-mode.lisp (set-default-second-keys): Bind
695         "o" on set-open-in-new-frame-in-parent-frame-nw-hook.
697 2009-06-27  Philippe Brochard  <pbrochard@common-lisp.net>
699         * contrib/keyb_fr.lisp: New file to handle an azerty keyboard.
701 2009-06-24  Philippe Brochard  <pbrochard@common-lisp.net>
703         * contrib/mpd.lisp: Use a standard menu.
705         * src/clfswm-info.lisp: Use a standard menu for the help-menu.
707 2009-06-22  Philippe Brochard  <pbrochard@common-lisp.net>
709         * contrib/mpd.lisp: New file to handle the Music Player Daemon (MPD)
711 2009-06-19  Philippe Brochard  <pbrochard@common-lisp.net>
713         * src/clfswm-autodoc.lisp (produce-doc, produce-doc-html): Minor
714         number key cleanup.
716 2009-06-18  Philippe Brochard  <pbrochard@common-lisp.net>
718         * src/config.lisp (get-fullscreen-size):  One pixel adjustment
719         (again).
721         * src/clfswm-placement.lisp (*-child-placement): One pixel
722         adjustment (again).
724 2009-06-16  Philippe Brochard  <pbrochard@common-lisp.net>
726         * src/clfswm-circulate-mode.lisp (draw-circulate-mode-window):
727         Ensure that all characters are printable.
729         * src/config.lisp (get-fullscreen-size): Adjust default fullscreen
730         sizes.
732         * src/clfswm-placement.lisp (*-child-placement): Adjust
733         coordinates to one pixel in the current child.
735 2009-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
737         * src/clfswm-query.lisp (query-enter-function): Assign font before
738         width and height calculation.
740 2009-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
742         * src/xlib-util.lisp (banish-pointer): Use with-placement macro to
743         bannish the pointer in an arbitrary place.
745         * src/clfswm-info.lisp (info-mode): Use with-placement macro to
746         place the info window in an arbitrary place.
748         * src/clfswm-query.lisp (query-enter-function): Use with-placement
749         macro to place the query window in an arbitrary place.
751         * src/clfswm-placement.lisp: New file. Allow to place info windows
752         or query windows on an arbitrary place. Allow to bannish the
753         pointer on an arbitrary place.
755 2009-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
757         * src/clfswm-circulate-mode.lisp (reorder-child)
758         (reorder-brother): Unfocus windows before reordering children or
759         brothers.
761 2009-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
763         * src/clfswm-circulate-mode.lisp (reorder-brother): Ensure that
764         the parent is a frame.
766         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Handle
767         motion with a default modifier.
769         * src/clfswm.lisp (handle-motion-notify): Handle motion with a
770         default modifier.
772         * src/clfswm-info.lisp (info-mode): Handle motion with a default
773         modifier.
774         (info-mode): Optimization in loop function.
776 2009-05-10  Philippe Brochard  <pbrochard@common-lisp.net>
778         * src/clfswm-circulate-mode.lisp (reorder-brother): Handle
779         root-frame correctly.
781         * clfswm.asd: Dependency fix for clfswm-generic-mode.
783         * src/clfswm-circulate-mode.lisp (reorder-child)
784         (reorder-brother): Handle empty frames.
785         (reorder-brother): Redisplay only the parent frame of the  current
786         child.
788         * src/clfswm-util.lisp (frame-toggle-maximize): Redisplay only the
789         parent frame of the  current frame.
791 2009-05-09  Philippe Brochard  <pbrochard@common-lisp.net>
793         * src/clfswm-util.lisp (frame-toggle-maximize): New function:
794         Maximize/Unmaximize the current frame in its parent frame.
796         * src/clfswm-layout.lisp (maximize-layout): New layout: Maximize
797         windows and frames in there parent frame.
799 2009-05-05  Philippe Brochard  <pbrochard@common-lisp.net>
801         * src/*.lisp: Add support for Clozure Common Lisp (CCL).
803         * src/clfswm-circulate-mode.lisp (reorder-child)
804         (reorder-brother): Reinitialise on circulate type change
805         child to brother or brother to child.
807         * src/*.lisp (*): Use map-window instead of xlib:map-window. So
808         calls xlib:display-finish-output on each map-request. So speed up
809         the window display.
811         * src/xlib-util.lisp (map-window): New function. Call
812         xlib:display-finish-output on each map request.
814 2009-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
816         * src/clfswm-second-mode.lisp (sm-handle-motion-notify):
817         Optimisation when drawing second mode window.
819 2009-04-27  Philippe Brochard  <pbrochard@common-lisp.net>
821         * src/clfswm-circulate-mode.lisp (circulate-mode): Optimisation in
822         window redraw.
824 2009-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
826         * src/clfswm-util.lisp (run-program-from-query-string): Launch
827         command only with a return validation.
829 2009-04-22  Xavier Maillard  <xma@gnu.org>
831         * src/clfswm-query.lisp (query-string): Use a generic mode.
833 2009-04-19  Xavier Maillard  <xma@gnu.org>
835         * src/clfswm-info.lisp (info-mode): Use generic-mode for info-mode.
837 2009-04-18  Xavier Maillard  <xma@gnu.org>
839         * src/clfswm-generic-mode.lisp (generic-mode): Add a generic mode
840         to define all other modes.
842 2009-04-05  Philippe Brochard  <pbrochard@common-lisp.net>
844         * src/package.lisp (): Use *default-font-string* for all
845         font-string.
847         * src/clfswm-info.lisp (info-mode): Ensure integer windows size.
849 2009-02-17  Philippe Brochard  <pbrochard@common-lisp.net>
851         * src/xlib-util.lisp (null-size-window-p): Better check of null
852         sized windows.
854 2009-02-14  Philippe Brochard  <pbrochard@common-lisp.net>
856         * src/clfswm.lisp (handle-map-request): Add a fix to manage
857         correctly fullscreen windows (SDL particularly).
859 2008-12-20  Philippe Brochard  <pbrochard@common-lisp.net>
861         * src/xlib-util.lisp (get-color): Allocate colors only once -> fix
862         a segfault with clisp/new-clx.
864         * src/clfswm.lisp (handle-motion-notify): Add a needed window
865         argument.
867         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Add a
868         needed window argument.
870 2008-10-30  Philippe Brochard  <pbrochard@common-lisp.net>
872         * src/xlib-util.lisp (wait-no-key-or-button-press)
873         (wait-a-key-or-button-press): Check buttons press/release correctly"
875 2008-10-28  Philippe Brochard  <pbrochard@common-lisp.net>
877         * src/menu-def.lisp: Add children navigation menu in the movement
878         menu (select next/previous child/brother/level).
880 2008-10-26  Philippe Brochard  <pbrochard@common-lisp.net>
882         *  *: Rename 'sister' frame to 'brother' frame.
884         * src/clfswm-keys.lisp (unalias-modifiers): Convert a modifier
885         alias in a real modifier.
887         * src/package.lisp (*modifier-alias*): New list of modifier alias
888         For example: :alt is :mod-1, :numlock is :mod-2...
890         * src/tools.lisp (remove-hook): New function.
892         * src/clfswm-keys.lisp (with-capslock, without-capslock)
893         (with-numlock, without-cnumlock): New functions.
895 2008-10-25  Philippe Brochard  <pbrochard@common-lisp.net>
897         * src/clfswm-info.lisp: Use the *binding-hook* to create info
898         keys and mouse bindings.
900         * src/bindings-second-mode.lisp: Use the *binding-hook* to create
901         second keys and mouse bindings.
903         * src/bindings.lisp: Use the *binding-hook* to create main keys
904         and mouse bindings.
906 2008-10-10  Philippe Brochard  <pbrochard@common-lisp.net>
908         * src/clfswm-menu.lisp (open-menu): Remember parent menu to undo
909         menu opening.
911 2008-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
913         * src/menu-def.lisp: Use a menu instead of a function for the
914         standard menu.
916 2008-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
918         * src/clfswm-util.lisp (show-standard-menu): Display the standard
919         menu from the 'update-menus' command.
921 2008-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
923         * src/clfswm-query.lisp (query-string): Do not ungrab keyboard if
924         it's already grabbed.
926         * src/clfswm-internal.lisp (display-frame-info): Use configurable
927         colors and fix a bug with background.
928         (display-frame-info): Set window background when displaying info.
930 2008-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
932         * src/xlib-util.lisp (my-character->keysyms): Use a macro to avoid
933         warning with clisp/new-clx.
935 2008-10-04  Philippe Brochard  <pbrochard@common-lisp.net>
937         * src/clfswm-util.lisp (jump-to-slot): Prevent to jump on a
938         deleted child.
940 2008-09-23  Philippe Brochard  <pbrochard@common-lisp.net>
942         * *: **** Release 0809 ****
944 2008-09-23  Philippe Brochard  <pbrochard@common-lisp.net>
946         * src/clfswm-util.lisp (ensure-unique-name): New function and menu
947         entry.
948         (ensure-unique-number): New function and menu entry.
950 2008-09-22  Philippe Brochard  <pbrochard@common-lisp.net>
952         * src/clfswm-nw-hooks.lisp (named-frame-nw-hook): New new window
953         hook: open the next window in a named frame.
954         (numbered-frame-nw-hook): New new window hook: open the next
955         window in a numbered frame.
957         * src/clfswm-query.lisp (query-string): Grab the keyboard in all
958         cases. So query-string can be called even in the main mode.
960         * src/clfswm-internal.lisp (show-all-children): Do not raise a
961         child by default => far less flickering.
963 2008-09-19  Philippe Brochard  <pbrochard@common-lisp.net>
965         * src/bindings-second-mode.lisp: Bind "t" to tile-current-frame.
967         * src/menu-def.lisp: Change key binding for the CLFSWM menu
968         entry.
970         * src/xlib-util.lisp (xgrab-pointer): Handle the case where cursor
971         is nil. (workaround on some CLX implementation).
973 2008-09-12  Philippe Brochard  <pbrochard@common-lisp.net>
975         * src/menu-def.lisp: Add a menu to set a focus policy for all
976         frames.
978         * src/clfswm-util.lisp (set-focus-policy-generic-for-all)
979         (all-frames-set-*-focus-policy): Set a focus policy for all
980         frames.
982         * src/clfswm.lisp (handle-enter-notify): sloppy-select
983         mode. Select a child and its parents on mouse over.
985 2008-09-03  Philippe Brochard  <pbrochard@common-lisp.net>
987         * src/clfswm.lisp (handle-enter-notify): Add a sloppy strict focus
988         policy -> Sloppy focus only for windows in the current frame.
989         (main-unprotected): Exit clfswm on init error (ie: when another
990         window manager is running).
992         * src/clfswm-util.lisp (reset-clfswm): New function.
994 2008-09-02  Philippe Brochard  <pbrochard@common-lisp.net>
996         * src/clfswm-menu.lisp (init-menu): New function.
998         * src/clfswm-util.lisp (reload-clfswm): New function to reload
999         CLFSWM.
1000         (exit-clfswm): Rename quit-clfswm to exit-clfswm.
1002         * src/clfswm.lisp (main, main-unprotected): Handle error in a
1003         superior main function. Now CLFSWM can't break the X session. It
1004         just reinitialize the display and run a new main loop.
1006         * src/clfswm-corner.lisp: Make *clfswm-terminal* and
1007         *vt-keyboard-on* global to avoid warnings when loading clfswm.
1009         * src/clfswm-layout.lisp: Add a specific GIMP layout menu.
1010         (help-on-gimp-layout): Describe how to use the GIMP layout.
1012 2008-09-01  Philippe Brochard  <pbrochard@common-lisp.net>
1014         * src/clfswm-layout.lisp (set-gimp-layout): Change the layout to
1015         main-window-right-layout. Change the keybinding for (shift)alt+tab
1016         to not select windows in the main window lisst.
1017         Bind F8 to add a window in the main window list.
1018         Bind F9 to remove a window in the main window list.
1019         Change the focus policy to :sloppy.
1020         (set-previous-layout): Restore the previous layout, keybinding and
1021         focus policy.
1023 2008-08-31  Philippe Brochard  <pbrochard@common-lisp.net>
1025         * src/clfswm-menu.lisp (add-menu-comment): Add comments in menu.
1027         * src/clfswm-layout.lisp (main-window-left-layout)
1028         (main-window-bottom-layout, main-window-top-layout): New
1029         functions.
1030         Factorize layouts in menu.
1032 2008-08-30  Philippe Brochard  <pbrochard@common-lisp.net>
1034         * src/clfswm-layout.lisp (main-window-right-layout): A possible
1035         GIMP layout: one or more main windows on one side of the
1036         frame. Others on the other size.
1038         * src/clfswm-util.lisp
1039         (current-frame-set-click/sloppy-focus-policy): Each frame can have
1040         a different focus policy (one of :click or :sloppy).
1041         The default focus policy is set with *default-focus-policy*.
1043 2008-08-23  Philippe Brochard  <pbrochard@common-lisp.net>
1045         * src/clfswm-info.lisp (show-config-variable): New function.
1047 2008-08-19  Philippe Brochard  <pbrochard@common-lisp.net>
1049         * src/clfswm-layout.lisp (tile-horizontal-layout): New layout.
1051         * src/clfswm-info.lisp: Colored help for key binding and corners
1052         actions.
1054 2008-08-18  Philippe Brochard  <pbrochard@common-lisp.net>
1056         * src/clfswm-util.lisp (delete-focus-window)
1057         (destroy-focus-window): Remove chid only in
1058         handle-unmap/destroy-notify. Focus *current-root* only when
1059         closing/killing the current child.
1061         * src/clfswm-autodoc.lisp (produce-corner-*-doc): New autodoc
1062         functions or corners.
1064 2008-08-17  Philippe Brochard  <pbrochard@common-lisp.net>
1066         * src/clfswm-corner.lisp (present-clfswm-terminal): New corner
1067         action: Hide/Unhide a terminal on mouse corner action. (By default
1068         right mouse button on the top left corner).
1070         * src/config.lisp (*never-managed-window-list*): New config
1071         variable.
1073         * src/clfswm-internal.lisp (never-managed-window-p): New function:
1074         Handle never managed window in a more simple way.
1076         * src/clfswm-corner.lisp: New file and new and more simple method
1077         to define corners actions.
1079 2008-08-15  Philippe Brochard  <pbrochard@common-lisp.net>
1081         * src/clfswm-info.lisp (info-mode): Info line can now be colored.
1083         * src/clfswm-layout.lisp (fast-layout-switch)
1084         (define-fast-layout-switch): New functions: Switch between two
1085         layouts.
1087         * src/clfswm-second-mode.lisp (leave-second-mode): Takes care if
1088         really in the second mode. So leave-second-mode can be used even
1089         in the main mode.
1091         * src/clfswm-util.lisp (switch-to-last-child): New function:
1092         Store the current child and switch to the previous one.
1094 2008-07-16  Philippe Brochard  <pbrochard@common-lisp.net>
1096         * src/clfswm-util.lisp (display-current-window-info): Display the
1097         window id.
1098         (have-to-present-virtual-keyboard): Add a virtual keyboard corner
1099         (top right by default). By default 'xvkbd' is used.
1101 2008-06-28  Philippe Brochard  <pbrochard@common-lisp.net>
1103         * src/xlib-util.lisp (move-window, resize-window): Compress motion
1104         events.
1106         * src/clfswm.lisp (handle-motion-notify): Compress motion events.
1108         * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Compress
1109         motion events.
1111         * src/clfswm-info.lisp (info-mode): Compress motion events.
1113 2008-06-21  Philippe Brochard  <pbrochard@common-lisp.net>
1115         * src/clfswm-internal.lisp (show-all-children): Compute geometry
1116         and selection first and then show only necessary children.
1117         (show-child): remove unneeded display-p parameter.
1119         * src/config.lisp (get-fullscreen-size): Place the frame border
1120         outside the screen (this prevent the loose of 2 pixels per
1121         directions :)
1123 2008-06-12  Philippe Brochard  <pbrochard@common-lisp.net>
1125         * src/clfswm-internal.lisp (focus-child): Algorithm change to
1126         raise only the selected child.
1128 2008-06-08  Philippe Brochard  <pbrochard@common-lisp.net>
1130         * src/clfswm-internal.lisp (raise-p-list, show-all-children):
1131         Raise only viewable children.
1133 2008-06-06  Philippe Brochard  <pbrochard@common-lisp.net>
1135         * src/clfswm-internal.lisp (show-all-children): Always raise all
1136         displayed children. Remove all references to raise-p.
1138 2008-06-04  Philippe Brochard  <pbrochard@common-lisp.net>
1140         * src/menu-def.lisp (child-menu): New menu entry on raise/lower
1141         child in its frame.
1143         * src/bindings-second-mode.lisp ("Page_Down", "Page_Up"): New
1144         second mode binding on raise/lower child in its frame.
1146         * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): Adapt
1147         behaviour to the new raise/lower property.
1148         Call clear-nw-hook before the rest of the hook.
1150         * src/bindings.lisp (mouse-click-to-focus-and-move-window)
1151         (mouse-click-to-focus-and-resize-window): Stop button event. This
1152         prevent a keyboard/pointer freeze.
1154 2008-06-03  Philippe Brochard  <pbrochard@common-lisp.net>
1156         * src/clfswm-internal.lisp (frame-lower-child)
1157         (frame-raise-child): New functions to raise/lower a child in its
1158         frame.
1160         * src/clfswm-util.lisp (have-to-present-windows)
1161         (have-to-present-all-windows): New functions to have an MaxOS
1162         expose like on mouse click in screen corner.
1164         * src/clfswm-info.lisp ("Page_Down", "Page_Up"): Add boundaries.
1166 2008-05-30  Philippe Brochard  <pbrochard@common-lisp.net>
1168         * src/clfswm-util.lisp (unhide-a-child-from-all-frames): Unhide a
1169         child from a choice in all frames with hidden children.
1171         * src/clfswm-info.lisp (info-mode-menu): Handle separators.
1173 2008-05-28  Philippe Brochard  <pbrochard@common-lisp.net>
1175         * src/clfswm-util.lisp (hide-current-child, unhide-a-child)
1176         (unhide-all-children): New functions.
1178         * src/clfswm-info.lisp (info-mode-menu): Handle symbols and
1179         functions.
1181         * src/clfswm-util.lisp (hide/show-frame-window): new function and
1182         menu item.
1184 2008-05-23  Philippe Brochard  <pbrochard@common-lisp.net>
1186         * src/clfswm-util.lisp (rename-current-child): Do not display the
1187         frame info for a window.
1189 2008-05-20  Philippe Brochard  <pbrochard@common-lisp.net>
1191         * src/clfswm-internal.lisp (remove-child-in-frame): Destroy the
1192         frame window for the removed child and its children.
1194 2008-05-18  Philippe Brochard  <pbrochard@common-lisp.net>
1196         * src/clfswm-autodoc.lisp (produce-*-doc-*): Add a note to use the
1197         autodoc functions.
1199 2008-05-17  Philippe Brochard  <pbrochard@common-lisp.net>
1201         * src/clfswm-nw-hooks.lisp (default-frame-nw-hook): Do not handle
1202         the ROX pinboard (ie: leave it lowered in the root window as
1203         expected).
1205         * src/clfswm-layout.lisp (tile-left-space-layout): New layout.
1206         (tile-left-layout, tile-right-layout, tile-top-layout)
1207         (tile-bottom-layout): Use all the frame space when there is only
1208         one child.
1210         * src/clfswm-internal.lisp (place-window-from-hints): Center
1211         unmanaged windows in the root screen.
1213         * src/clfswm-nw-hooks.lisp (clear-nw-hook, clear-all-nw-hooks):
1214         new functions.
1216 2008-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
1218         * src/clfswm-util.lisp (current-frame-manage-window-type): Fix a
1219         typo in managed types.
1221         * src/clfswm-internal.lisp (show-child): Always display frame info
1222         even if the frame is hidden.
1224         * src/xlib-util.lisp (resize-window): Use a better algorithme to
1225         resize windows.
1227 2008-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
1229         * src/clfswm-util.lisp (with-movement): Display frame info for all
1230         frames in current root.
1232 2008-05-12  Philippe Brochard  <pbrochard@common-lisp.net>
1234         * src/*.lisp: Rename 'brother' frames to 'sister' frames.
1236         * src/bindings-second-mode.lisp (define-second-key #\a): New
1237         binding on 'add-default-frame'.
1239         * src/clfswm-autodoc.lisp (produce-*-doc-*-in-file): Show a
1240         message to follow the autodocumentation process.
1242 2008-05-10  Philippe Brochard  <pbrochard@common-lisp.net>
1244         * src/clfswm-util.lisp (bind-or-jump): Bind "Tab", "Return" and
1245         "Space" to jump to a child. "B" to bind a slot on the current
1246         child.
1248         * src/bindings-second-mode.lisp: Use "Tab" instead of
1249         "Iso_Left_Tab".
1251 2008-05-07  Philippe Brochard  <pbrochard@common-lisp.net>
1253         * src/clfswm-util.lisp (find-child-under-mouse): Take care of
1254         unmanaged (hidden) windows.
1256         * src/clfswm-internal.lisp (place-window-from-hints): Give a
1257         minimal size for windows.
1258         (with-all-windows-frames-and-parent): New function.
1260         * src/config.lisp (*default-window-width/height*): New parameters.
1262         * src/clfswm-internal.lisp (place-window-from-hints): Center
1263         windows in the screen instead of in there frame.
1265         * src/bindings-second-mode.lisp (tile-space-current-frame): New
1266         binding on C-t.
1268         * src/clfswm-layout.lisp (register-layout): Intern the once name
1269         in the right package.
1271 2008-05-05  Philippe Brochard  <pbrochard@common-lisp.net>
1273         * doc/dot-clfswmrc: Update to  follow the new clfswm way.
1275 2008-05-03  Philippe Brochard  <pbrochard@common-lisp.net>
1277         * src/clfswm-internal.lisp (set-current-child)
1278         (adapt-child-to-parent, show-child, hide-child): Handle the case
1279         where child is not a frame or a window.
1281         * src/clfswm-util.lisp
1282         (mouse-click-to-focus-generic,mouse-focus-move/resize-generic):
1283         Check if child is a frame.
1285         * src/clfswm-internal.lisp (managed-window-p): Handle the case
1286         where frame is null.
1287         (place-frame): Check if frame and parent are frames.
1289         * src/clfswm-info.lisp (info-mode): display all frame info before
1290         leaving.
1292         * src/clfswm-second-mode.lisp (second-key-mode): display all frame
1293         info before leaving.
1295         * src/clfswm-internal.lisp (display-all-frame-info): New function.
1297 2008-05-02  Philippe Brochard  <pbrochard@common-lisp.net>
1299         * src/tools.lisp (getenv): Implemented for ECL.
1300         (urun-prog): Implemented for ECL.
1302         * src/clfswm-util.lisp (identify-key): Use a double buffer to
1303         display text.
1305         * src/clfswm-query.lisp (query-string): Use a double buffer to
1306         display text.
1308         * src/clfswm-info.lisp (draw-info-window): Use a double buffer to
1309         display text.
1311         * src/xlib-util.lisp (clear-pixmap-buffer, copy-pixmap-buffer):
1312         New functions.
1314 2008-05-01  Philippe Brochard  <pbrochard@common-lisp.net>
1316         * src/clfswm-info.lisp (info-mode): Add boundaries in the info mode window.
1318         * src/menu-def.lisp: New file: move all menu definition in
1319         menu-def.lisp.
1321         * src/clfswm-layout.lisp (register-layout): Use a function instead
1322         of a macro.
1324 2008-04-30  Philippe Brochard  <pbrochard@common-lisp.net>
1326         * src/clfswm-autodoc.lisp (produce-menu-doc,
1327         (produce-menu-doc-html): New functions.
1328         (produce-doc-*): Moved to clfswm-autodoc.lisp.
1330         * src/clfswm-util.lisp (paste-selection-no-clear): Prevent to
1331         paste a child on one of its own children. (this prevent a
1332         recursive bug).
1333         (move-child-to): Rename move/copy-current-child-by to
1334         move/copy-child-to.
1335         (mouse-move-window-over-frame): New function to move the window
1336         under the mouse cursor to another frame.
1338         * src/clfswm-internal.lisp (find-child-in-parent): New function.
1340 2008-04-29  Philippe Brochard  <pbrochard@common-lisp.net>
1342         * src/clfswm-internal.lisp (show-all-children): Display unmanaged
1343         windows only when its window parent is the current child.
1345 2008-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
1347         * src/clfswm-util.lisp (manage-current-window)
1348         (unmanage-current-window): New functions: Allow to force to manage
1349         or unmanage a window by its parent frame.
1351         * src/bindings-second-mode.lisp (#\o): binded to
1352         set-open-in-new-frame-in-parent-frame-nw-hook and
1353         (#\o :control) to set-open-in-new-frame-in-root-frame-nw-hook
1355         * src/clfswm-util.lisp (with-current-window): New macro.
1357         * src/xlib-util.lisp (move-window, resize-window): Remove uneeded
1358         exposure and enter-window handle event.
1360         * src/clfswm-util.lisp (move-frame, resize-frame): Show all
1361         children for the current child after the move/resize.
1363 2008-04-27  Philippe Brochard  <pbrochard@common-lisp.net>
1365         * src/xlib-util.lisp (resize-window): Take care of window size
1366         hints.
1368         * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Allow to
1369         move/resize unmanaged windows.
1371         * src/xlib-util.lisp (move-window, resize-window): New functions.
1373 2008-04-25  Philippe Brochard  <pbrochard@common-lisp.net>
1375         * src/clfswm-util.lisp (current-frame-manage-window-type): Let the
1376         user choose what window type the current frame must handle.
1377         (display-current-window-info): New function.
1378         (current-frame-manage-all-window-type)
1379         (current-frame-manage-only-normal-window-type)
1380         (current-frame-manage-no-window-type): New functions.
1382         * src/clfswm-internal.lisp (managed-window-p): New function.
1384         * src/package.lisp (frame): Managed type: new frame
1385         parameter. This allow to choose what window type a frame must
1386         handle.
1388         * src/*.lisp: Rename all 'father' occurrences to 'parent'.
1390         * src/clfswm-nw-hooks.lisp
1391         (open-in-new-frame-in-parent-frame-nw-hook): New new window hook.
1393         * src/clfswm-util.lisp (adapt-current-frame-to-window-hints): New
1394         function.
1396         * src/tools.lisp (ensure-printable): Return always a string even
1397         with a null string.
1399 2008-04-24  Philippe Brochard  <pbrochard@common-lisp.net>
1401         * src/config.lisp (*default-nw-hook*): New variable to change the
1402         default new window hook.
1404 2008-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
1406         * clfswm.asd (clfswm): Add a dependency from
1407         clfswm-second-mode.lisp to clfswm.lisp.
1409         * src/clfswm-util.lisp (identify-key): Show the documentation for
1410         the function bound on a key.
1411         (with-movement): Move with-movement,
1412         current-frame-fill/pack/resize-*  from bindings-second-mode.lisp
1413         to clfswm-util.lisp.
1415         * src/clfswm-menu.lisp: New menu system that let user change keys
1416         or functions associated to keys.
1418 2008-04-18  Philippe Brochard  <pbrochard@common-lisp.net>
1420         * src/clfswm-internal.lisp (show-all-children): Display-child is
1421         the first child by default. Solve a bug with father-p.
1423 2008-04-17  Philippe Brochard  <pbrochard@common-lisp.net>
1425         * src/clfswm-internal.lisp (add-frame): Add frame return the
1426         created frame.
1427         (show-all-children): Move the size computation outside the
1428         show-child part.
1430         * src/bindings-second-mode.lisp (with-movement): Redisplay only
1431         the current child.
1433         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
1434         only the current child.
1436         * src/clfswm-internal.lisp (show-all-children): New display-child
1437         parameter to display only the desired child and its children.
1438         (select-next/previous-child): Only display the current child.
1440 2008-04-14  Philippe Brochard  <pbrochard@common-lisp.net>
1442         * src/clfswm.lisp (init-display): Move the default frame creation
1443         on the default init hook.
1445         * src/clfswm-keys.lisp (define-ungrab/grab): Handle all keysyms in
1446         the main mode (for example: "1" on an azerty keyboard).
1448 2008-04-13  Philippe Brochard  <pbrochard@common-lisp.net>
1450         * src/clfswm-keys.lisp (find-key-from-code): Better handle of
1451         keysyms. Revert to old grabbing method for the main mode.
1453 2008-04-12  Philippe Brochard  <pbrochard@common-lisp.net>
1455         * src/clfswm.lisp (init-display): Add key handling on no focus
1456         window and on frame windows.
1458 2008-04-11  Philippe Brochard  <pbrochard@common-lisp.net>
1460         * src/clfswm.lisp (main): Keyboard handle strategie change: Grab
1461         all keys by default and replay just what is needed. No change for
1462         the second mode.
1464         * src/clfswm-keys.lisp: remove grab/ungrab main keys.
1465         (find-key-from-code): Test for shift and not shift presence.
1467 2008-04-09  Philippe Brochard  <pbrochard@common-lisp.net>
1469         * src/clfswm-internal.lisp (switch-to-root-frame): show later -
1470         new key parameter to have less flickering.
1472 2008-04-07  Philippe Brochard  <pbrochard@common-lisp.net>
1474         * src/bindings-second-mode.lisp (frame-layout-once-menu): Set the
1475         layout only one time and revert to no-layout to freely handle
1476         frames.
1478         * src/clfswm-nw-hooks.lisp
1479         (open-in-new-frame-in-root-frame-nw-hook): Tile layout with spaces
1480         with new created window.
1482         * src/clfswm-layout.lisp (register-layout): Now register
1483         automatically a once layout to set the layout only one time and
1484         revert to no-layout to freely handle frames.
1486 2008-04-05  Philippe Brochard  <pbrochard@common-lisp.net>
1488         * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): New
1489         nw-hook: Open the next window in the current frame and leave the
1490         focus to the current child.
1492 2008-04-04  Philippe Brochard  <pbrochard@common-lisp.net>
1494         * src/bindings-second-mode.lisp: Add keys definitions to
1495         bind-or-jump in the second mode.
1497         * src/clfswm-util.lisp (bind-or-jump): remove the auto-defining
1498         macro for bind-or-jump-(1|2|3...).
1500         * src/clfswm-keys.lisp (define-define-key/mouse): Allow additional
1501         arguments to function. This allow to do things like:
1502         (define-main-key (key) 'my-function 10 20 'foo) -> 10 20 and 'foo
1503         are passed to my-function on key press.
1505 2008-04-03  Philippe Brochard  <pbrochard@common-lisp.net>
1507         * src/clfswm-util.lisp (bind-or-jump): New (great) function.
1509 2008-04-02  Philippe Brochard  <pbrochard@common-lisp.net>
1511         * src/clfswm-internal.lisp (child-fullname): New function
1513         * src/clfswm-info.lisp (info-mode-menu): Add an explicit optional
1514         docstring in info-mode-menu. An item can be
1515         '((key function) (key function)) or with docstring
1516         '((key function "documentation 1") (key function "bla bla") (key function))
1518         * src/tools.lisp (ensure-n-elems): New function.
1520         * src/bindings-second-mode.lisp: Bind Alt+mouse-1/3 to move or
1521         resize a frame or the window's father.
1523         * src/clfswm.lisp (init-display): Remove tile-space-layout by
1524         default on the root frame.
1526         * src/clfswm-util.lisp (move/resize-frame): Add standard event
1527         hooks handlers (map-request, configure-notify...)
1529         * src/clfswm-internal.lisp (adapt-child-to-father): Limit minimal
1530         child size to 1x1.
1532 2008-04-01  Philippe Brochard  <pbrochard@common-lisp.net>
1534         * src/bindings.lisp: Bind Alt+mouse-1/3 to move or resize a frame
1535         or the window's father.
1537         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Stop button
1538         event only if there is a geometry change.
1539         (mouse-focus-move/resize-generic): Generic function to move or
1540         resize a frame or a window father frame.
1542 2008-04-01  Philippe Brochard  <pbrochard@common-lisp.net>
1544         * src/clfswm-internal.lisp (show-all-children): Return t if there
1545         is a geometry change.
1547 2008-03-30  Philippe Brochard  <pbrochard@common-lisp.net>
1549         * src/bindings.lisp (Up/Down): Swap select previous/next level.
1551         * src/bindings-second-mode.lisp (Up/Down): Swap select previous/next level.
1553         * src/clfswm.lisp (init-display): Create a default frame in the root frame.
1555         * src/clfswm-internal.lisp (place-frame): Place frame from real (pixel) coordinates.
1556         (with-all-*): Reverse the child list to manage the first child last (like in
1557         show-all-children).
1559         * src/config.lisp (*create-frame-on-root*): New variable: Create a new frame on the
1560         root window only if true.
1562         * src/clfswm-util.lisp (mouse-click-to-focus-generic): Create a new frame on the
1563         root window only if *create-frame-on-root* is true.
1565         * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Create a new frame
1566         on the root window.
1568 2008-03-29  Philippe Brochard  <pbrochard@common-lisp.net>
1570         * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Focus, move and resize
1571         the current child (even if it's a window).
1573 2008-03-28  Philippe Brochard  <pbrochard@common-lisp.net>
1575         * src/clfswm-util.lisp (mouse-click-to-focus-and-move)
1576         (mouse-click-to-focus-and-resize): New functions.
1578         * src/clfswm-internal.lisp (*-fl->px): Convert float coordinates to pixel.
1579         (*-px->fl): Convert pixel coordinates to float.
1581         * src/tools.lisp (call-hook): Move call-hook to tools.lisp.
1583 2008-03-27  Philippe Brochard  <pbrochard@common-lisp.net>
1585         * src/clfswm-layout.lisp (no-layout): Use :first-only to raise only the
1586         first child.
1588         * src/clfswm-internal.lisp (hide-all): Split hide-all-children in hide-all
1589         and hide-all-children.
1590         (raise-if-needed): New function.
1591         (show-child): Use a first-p parameter to raise windows only when they are
1592         first child.
1594 2008-03-26  Philippe Brochard  <pbrochard@common-lisp.net>
1596         * src/clfswm-internal.lisp (select-next/previous-level): Don't use show-all-children
1597         -> less flickering.
1599 2008-03-25  Philippe Brochard  <pbrochard@common-lisp.net>
1601         * src/clfswm-info.lisp (keys-from-list): new function.
1603         * src/*: rename 'childs' in 'children'.
1605         * src/*: rename 'group' in 'frame'.
1607 2008-03-22  Philippe Brochard  <pbrochard@common-lisp.net>
1609         * src/clfswm-pack.lisp (explode-group/explode-current-group): new functions.
1611 2008-03-21  Philippe Brochard  <pbrochard@common-lisp.net>
1613         * src/clfswm-pack.lisp: Pack, Fill, Resize functions.
1615 2008-03-16  Philippe Brochard  <pbrochard@common-lisp.net>
1617         * src/clfswm-nw-hooks.lisp: Register system for new window hooks.
1618         Bind control+o to open the next window in a new group in the root group
1619          (as open in next window in a new workspace in 0801 version).
1621 2008-03-15  Philippe Brochard  <pbrochard@common-lisp.net>
1623         * src/clfswm-util.lisp (show/hide-all-groups-info/key): Show/hide all groups info
1624         window.
1626 2008-03-14  Philippe Brochard  <pbrochard@common-lisp.net>
1628         * bindings-second-mode.lisp ("ISO_Left_Tab"): Use ISO_Left_Tab
1629         instead of Tab for select-previous-child.
1631 2008-03-13  Philippe Brochard  <pbrochard@common-lisp.net>
1633         * clfswm-util.lisp (force-window-in-group/force-window-center-in-group):
1634         new functions.
1636 2008-03-11  Philippe Brochard  <pbrochard@common-lisp.net>
1638         * clfswm-util.lisp (identify-key): Display the documentation
1639         associated to keys when identifying a key.
1641 2008-03-10  Xavier Maillard  <xma@gnu.org>
1643         * contrib/clfswm: Complete rewrite of the script. Detect error and
1644         act accordingly. Add command line arguments to configure the
1645         script execution. User can now choose different common lisp
1646         implementation (clisp and sbcl only), choose where to store the
1647         dumped image, where to find clfswm source.
1649 2008-03-09  Philippe Brochard  <pbrochard@common-lisp.net>
1651         * clfswm-internal.lisp (process-new-window): Beginning of new
1652         window hook: each group have a hook to tell what he wants to do
1653         with the new created window.
1655 2008-03-08  Xavier Maillard  <xma@gnu.org>
1657         * contrib/clfswm: New script. Dump a CLISP image of CLFSWM then
1658         call the resulting executable.
1660         * clfswm.lisp (read-conf-file): Check for the user config file in
1661         XDG_CONFIG_HOME *first*. Freedesktop.org standards should be
1662         prefered whenever possible.
1664 2008-02-27  Philippe Brochard  <pbrochard@common-lisp.net>
1666         * clfswm-layout.lisp (*-layout): Add an optional raise-p
1667         parameter in each layout.
1669 2008-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
1671         * clfswm-util.lisp (copy/cut-current-child): Does not affect the
1672         root group.
1673         (copy/move-current-child-by-name/number): new functions
1674         (focus-group-by-name/number): new functions
1675         (delete-group-by-name/number): new functions
1677 2008-02-24  Philippe Brochard  <pbrochard@common-lisp.net>
1679         * ************************************************************ *
1680         *: Major update - No more reference  to workspaces. The main   *
1681         structure is a tree of groups or application windows.          *
1682         * ************************************************************ *
1684 2008-02-07  Philippe Brochard  <pbrochard@common-lisp.net>
1686         * clfswm.lisp (read-conf-file): Read configuration in
1687         $HOME/.clfswmrc or in /etc/clfswmrc or in
1688         $XDG_CONFIG_HOME/clfswm/clfswmrc.
1689         (xdg-config-home): Return the content of $XDG-CONFIG-HOME (default
1690         to $HOME/.config/).
1692 2008-01-18  Philippe Brochard  <pbrochard@common-lisp.net>
1694         * clfswm-internal.lisp (show-all-group): Use *root* and *root-gc*
1695         by default.
1697 2008-01-03  Philippe Brochard  <pbrochard@common-lisp.net>
1699         * clfswm-internal.lisp (find-window-group): New function.
1701         * clfswm*: Change to make clfswm run with clisp/new-clx.
1703 2008-01-01  Philippe Brochard  <pbrochard@common-lisp.net>
1705         * clfswm-util.lisp (query-show-paren): Add show parent matching in
1706         query string.
1707         (query-string): Bind control+k to delete end of line.
1709         * clfswm-second-mode.lisp (draw-second-mode-window): Display
1710         the action on mouse motion in second mode.
1712         * clfswm.lisp (handle-exposure): Redisplay groups on exposure
1713         event but do not clear the root window.
1714         (handle-configure-request): Adjust unmanaged window from there
1715         request.
1717         * clfswm-internal.lisp (process-new-window): Adjust new window
1718         with the specified hints (max/min/base width/height).
1720 2007-12-31  Philippe Brochard  <pbrochard@common-lisp.net>
1722         * clfswm.lisp (handle-configure-request): Send an Configuration
1723         Notify event. This solve a bug with xterm and rxvt who takes some
1724         times to be mapped. Now there is no delay.
1726         * bindings-second-mode.lisp (define-shell): Run programs after
1727         living the second mode.
1729 2007-12-30  Philippe Brochard  <pbrochard@common-lisp.net>
1731         * clfswm-internal.lisp (process-new-window): Do not crop transient
1732         window to group size.
1733         (adapt-window-to-group): Do not crop transient window to group
1734         size.
1736         * clfswm.lisp (handle-configure-request): Adapt just the window to
1737         its group and don't take care of the configure request. Remove the
1738         bug with the Gimp outside the group and speed up the window
1739         manipulation.
1740         (handle-exposure): Remove show-all-group on exposure event
1741         -> Speed up.
1743 2007-12-29  Philippe Brochard  <pbrochard@common-lisp.net>
1745         * clfswm-util.lisp (circulate-group-up-copy-window)
1746         (circulate-group-down-copy-window)
1747         (circulate-workspace-up-copy-group)
1748         (circulate-workspace-down-copy-group): Prevent the copy of the
1749         same window in the same workspace.
1751         * bindings-second-mode.lisp (release-copy-selected-window)
1752         (release-copy-selected-group): Prevent the copy of the same window
1753         in the same workspace.
1755         * clfswm-pager.lisp (generic-pager-move-window-on-previous-line)
1756         (generic-pager-move-window-on-next-line): Remove the copy
1757         property.
1758         (generic-pager-move-group-on-next-workspace)
1759         (generic-pager-move-group-on-previous-workspace): Prevent the copy
1760         of the same window in the same workspace.
1762         * bindings-pager.lisp (mouse-pager-copy-selected-window-release)
1763         (mouse-pager-copy-selected-group-release): Prevent the copy of the
1764         same window in the same workspace.
1766         * tools.lisp (setf/=): new macro to set a variable only when
1767         necessary.
1769         * clfswm-internal.lisp (adapt-window-to-group): use set/= to set
1770         x, y... only when necessary.
1772 2007-12-28  Philippe Brochard  <pbrochard@common-lisp.net>
1774         * clfswm.lisp (handle-configure-notify, *configure-notify-hook*):
1775         new function and hook: force windows to stay in its group (solve a
1776         bug with the Gimp).
1778 2007-12-25  Philippe Brochard  <pbrochard@common-lisp.net>
1780         * bindings-second-mode.lisp (mouse-motion): use hide-group to have
1781         less flickering when moving/resizing groups.
1783         * clfswm-internal.lisp (hide-group): new function.
1784         (show-all-group): clear-all: new parameter.
1786 2007-12-22  Philippe Brochard  <pbrochard@common-lisp.net>
1788         * clfswm-keys.lisp (define-define-key): undefine-*-multi-name: new
1789         macro.
1790         * clfswm*: Color change for the pager. Typo or better description
1791         in bindings definitions. Define bindings for a qwerty keyboard by
1792         default. dot-clfswmrc show examples to switch to an azerty
1793         keyboard.
1794         License change to GPL v3.
1795         * config.lisp: new file - group all globals variables in this
1796         file.
1798 2007-08-26  Philippe Brochard  <pbrochard@common-lisp.net>
1800         * xlib-util.lisp (hide-window): Remove structure-notivy events
1801         when hidding a window.
1803 2007-05-16  Philippe Brochard  <pbrochard@common-lisp.net>
1805         * package.lisp (*sm-property-notify-hook*): Readded
1806         property-notify-hook in second mode.
1808 2007-05-15  Philippe Brochard  <pbrochard@common-lisp.net>
1810         * clfswm-keys.lisp (produce-doc-html): Better clean up for strings.
1812 2007-05-13  Philippe Brochard  <pbrochard@common-lisp.net>
1814         * clfswm-pack.lisp (tile-current-workspace-to/right/left/top/bottom):
1815         Tile the current workspace with the current window on one side and
1816         others on the other (this emulate the larswm, dwm, wmii way). See
1817         the default configuration file to enable this mode by default.
1819         * clfswm-pager.lisp (pager-tile-current-workspace-to): idem for
1820         the pager.
1822 2007-05-12  Philippe Brochard  <pbrochard@common-lisp.net>
1824         * clfswm-pager.lisp (pager-draw-window-in-group): Add
1825         ensure-printable to print windows name even with non-ascii
1826         characters.
1828 2007-05-11  Philippe Brochard  <pbrochard@common-lisp.net>
1830         * clfswm-pager.lisp (pager-explode-current-group): Create a new
1831         group for each window in group.
1832         (pager-implode-current-group): Move all windows in workspace to
1833         one group and remove other groups.
1835         * clfswm-pack.lisp (explode-group): Create a new group for each
1836         window in group.
1837         (implode-group): Move all windows in workspace to one group and
1838         remove other groups.
1840         * clfswm-util.lisp (identify-key): Remove local configuration
1841         variables and made them available for configuration from
1842         package.lisp.
1843         (query-string): idem.
1845 2007-04-29  Philippe Brochard  <pbrochard@common-lisp.net>
1847         * netwm-util.lisp: Start of NetWM compliance.
1848         Add a Netwm client list gestion.
1850 2007-04-28  Philippe Brochard  <pbrochard@common-lisp.net>
1852         * clfswm-internal.lisp (create-group-on-request): open a new group
1853         only when the current group is not empty.
1855         * bindings-second-mode.lisp (define-second-key-#\o-control): Fix a
1856         bug with null workspace.
1858         * clfswm-pager.lisp (pager-handle-event): Add a hook
1859         system. This hooks can be changed in the user configuration file.
1861         * package.lisp: All colors and font variables are set in
1862         package.lisp and can be configured in the user configuration
1863         file.
1864         Note: If you have configured some less ugly colors (esp. for the
1865         pager) don't hesitate to let me know :)
1867         * clfswm-second-mode.lisp (sm-handle-event): Add a hook
1868         system. This hooks can be changed in the user configuration file.
1870         * clfswm.lisp (handle-event): Add a hook system. This hooks can be
1871         changed in the user configuration file (~/.clfswmrc)
1873 2007-04-25  Philippe Brochard  <pbrochard@common-lisp.net>
1875         * clfswm-util.lisp (stop-all-pending-actions): new function: reset
1876         arrow action, open next window in new workspace/group.
1878         * bindings.lisp (stop-all-pending-actions): new binding.
1879         (open-next-window-in-new-group-once): Open the next windows in a
1880         new group (only once) or open all new windows in a new group (like
1881         others windows managers).
1883 2007-04-22  Philippe Brochard  <pbrochard@common-lisp.net>
1885         * clfswm.lisp (read-conf-file): New function to read a lisp
1886         configuration file at startup.
1887         (focus-group-under-mouse): Check if group isn't the current group
1888         ( prevent a bug with unclutter ).
1890 2007-03-02  Philippe Brochard  <pbrochard@common-lisp.net>
1892         * bindings.lisp (run-program-from-query-string): A program can be
1893         launch from a input query window.
1895 2007-03-01  Philippe Brochard  <pbrochard@common-lisp.net>
1897         * clfswm-info.lisp: Fix a bug with banish pointer in info mode.
1899 2007-02-28  Philippe Brochard  <pbrochard@common-lisp.net>
1901         * clfswm.lisp (process-new-window): One can now open the next
1902         window in a workspace called by its number.
1904         * clfswm-util.lisp (query-font-string): Minimal editing
1905         capabilities.
1906         (eval-from-string): And an REPL in the window manager... :)
1908 2007-02-26  Philippe Brochard  <pbrochard@common-lisp.net>
1910         * clfswm.lisp (process-new-window): One can now open the next
1911         window in a new workspace or a new group.
1913         * clfswm-pager.lisp (pager-mode): Display the next arrow action
1914         with the hidden windows.
1916         * clfswm.lisp (second-key-mode): Display the current workspace
1917         number and the next arrow action in the state window.
1919         * clfswm-pager.lisp (pager-mode): Hide all windows before leaving
1920         the pager mode and then redisplay only the current workspace.
1922 2007-02-25  Philippe Brochard  <pbrochard@common-lisp.net>
1924         * clfswm.lisp (add-workspace): Workspaces are now numbered. So
1925         they can be focused with a keypress, sorted or renumbered.
1927 2007-02-24  Philippe Brochard  <pbrochard@common-lisp.net>
1929         * clfswm-pager.lisp (pager-mode): Remove multiple silly
1930         pager-draw-display. This prevent a lot of flickering in the
1931         pager.
1933         * clfswm.lisp: Remove all display-force-output and replace them
1934         with only one display-finish-output in the event loop.
1936 2006-11-06  Philippe Brochard  <pbrochard@common-lisp.net>
1938         * clfswm-pager.lisp (pager-center-group): New function - center a
1939         group at the middle of the screen.
1941         * clfswm-pack.lisp (center-group): New function - center a group
1942         at the middle of the screen.
1944         * clfswm.lisp (show-group): Add a cross line under the group.
1945         (show-group): Group are showned even if fullscreened.
1946         (init-display): Add an exposure event on the root window.
1948 2006-11-05  Philippe Brochard  <pbrochard@common-lisp.net>
1950         * package.lisp (*default-group*): Default group is the same size
1951         of a fullscreened group.
1953         * bindings*: Use shift to move, control+shift to copy.
1955         * *.lisp: Add comments for configuration or alternatives. So grep
1956         for CONFIG to see where you can configure clfswm. And grep for
1957         Alternative to use some commented code.
1959         * clfswm.lisp (second-key-mode): Use a single window to show the
1960         second mode. See for alternatives at the end of this file.
1962 2006-11-03  Philippe Brochard  <pbrochard@common-lisp.net>
1964         * clfswm-keys.lisp (define-define-key/mouse): Factorisation in a
1965         macro of key and mouse definitions.
1966         (define-define-key/mouse): Use state instead of modifiers list
1967         this fix a bug when the modifiers list is not in the rigth order.
1969         * clfswm.lisp (second-key-mode): Add a colored border in second mode.
1971 2006-11-02  Philippe Brochard  <pbrochard@common-lisp.net>
1973         * clfswm-info.lisp (info-mode): Add an info mode.
1975 2006-11-01  Philippe Brochard  <pbrochard@common-lisp.net>
1977         * clfswm.lisp (process-new-window): Change border size for
1978         transient windows.
1979         (show-all-windows-in-workspace): Unhide all windows even when the
1980         current group is in fullscreen mode.
1982 2006-10-26  Philippe Brochard  <pbrochard@common-lisp.net>
1984         * clfswm-util.lisp (identify-key): Add an exposure handle-event to
1985         redisplay the identify window after a terminal switch.
1987         * clfswm-pager.lisp (pager-mode): Add an exposure handle-event to
1988         redisplay the pager after a terminal switch.
1990 2006-10-24  Philippe Brochard  <pbrochard@common-lisp.net>
1992         * clfswm-util.lisp (identify-key): Add a window to display
1993         the keys to identify on screen.
1995         * bindings.lisp, bindings-pager.lisp: Define same keys to
1996         move/copy groups/windows in second mode and in pager.
1998         * clfswm.lisp (handle-event*): Same version in all clfswm (fix some
1999         drawing lags).
2000         (show-all-windows-in-workspace): unhide window before adapting it
2001         to group.
2003 2006-10-23  Philippe Brochard  <pbrochard@common-lisp.net>
2005         * clfswm.lisp (handle-event): Revert to an older version.
2007 2006-10-18  Philippe Brochard  <pbrochard@common-lisp.net>
2009         * clfswm-util.lisp (force-window-in-group)
2010         (force-window-center-in-group): New functions for transient windows.
2012         * clfswm-pager.lisp (pager-remove-current-workspace/group):
2013         bugfix: hide all windows before removing group or workspace.
2015 2006-10-17  Philippe Brochard  <pbrochard@common-lisp.net>
2017         * bindings-pager.lisp (mouse-pager-move-selected-group)
2018         (mouse-pager-copy-selected-group)
2019         (mouse-pager-move-selected-window)
2020         (mouse-pager-copy-selected-window, mouse-pager-rotate-window-up)
2021         (mouse-pager-rotate-window-down): New functions to have mouse in
2022         pager mode.
2024         * clfswm-pager.lisp (pager-swap-window)
2025         (pager-copy-group-on-next/previous-workspace)
2026         (pager-copy-window-on-next/previous-line): New functions
2028 2006-10-15  Philippe Brochard  <pbrochard@common-lisp.net>
2030         * clfswm-pager.lisp (pager-move-window-on-next/previous-line,
2031         (pager-move-group-on-next/previous-workspace): new functions.
2033         * clfswm-pack.lisp (resize-half-x-x-current-group): resize group
2034         to its half size (new functions).
2036 2006-10-11  Philippe Brochard  <pbrochard@common-lisp.net>
2038         * clfswm-pager.lisp: workspaces, groups and windows can now be
2039         selectionned with the keyboard or the mouse.
2041 2006-10-09  Philippe Brochard  <pbrochard@common-lisp.net>
2043         * clfswm-pager.lisp (pager-select-workspace-right/left):
2044         workspaces can now be selectionned with the keyboard.
2046 2006-10-08  Philippe Brochard  <pbrochard@common-lisp.net>
2048         * clfswm-keys.lisp (undefine-main-key, undefine-second-key, undefine-mouse-action):
2049         new function to remove a previous defined key or mouse combination.
2051 2006-10-07  Philippe Brochard  <pbrochard@common-lisp.net>
2053         * clfswm.lisp (main): Check for access error in init-display.
2055         * clfswm-keys.lisp (define-ungrab/grab): check for keysym and
2056         keycode before grabbing.
2058         * bindings.lisp: Remove nlambda and use defun to keep the function
2059         documentation with clisp.
2060         (define-shell): new macro to define shell command for the second
2061         mode.
2063 2006-10-06  Philippe Brochard  <pbrochard@common-lisp.net>
2065         * clfswm-keys.lisp (define-ungrab/grab): use a cond instead of a
2066         boggus typecase.
2068 2006-10-05  Philippe Brochard  <pbrochard@common-lisp.net>
2070         * bindings.lisp (accept-motion): Move group bugfix in upper mouse
2071         workspace circulation.
2073         * clfswm-util.lisp (absorb-orphan-window): new function.
2075         * clfswm-keys.lisp: Keysyms support.
2077 2006-10-02  Philippe Brochard  <pbrochard@common-lisp.net>
2079         * clfswm.lisp (show-group): Use one gc for all groups and not one
2080         per group.
2082 2006-10-01  Philippe Brochard  <pbrochard@common-lisp.net>
2084         * bindings.lisp (define-second-key (#\l :mod-1)): fix a typo.
2086         * clfswm.lisp (adapt-window-to-group): Adapt only windows with
2087         width and height outside group.
2089 2006-09-28  Philippe Brochard  <pbrochard@common-lisp.net>
2091         * clfswm.lisp: First public release.