1 2011-06-08 Philippe Brochard <pbrochard@common-lisp.net>
3 * *: **** Release 1106 ****
5 2011-06-08 Philippe Brochard <pbrochard@common-lisp.net>
7 * src/clfswm-internal.lisp (clean-windows-in-all-frames): New
8 function to prevent xlib error when a window is deleted.
10 2011-06-08 Philippe Brochard <pbrochard@common-lisp.net>
12 * src/clfswm-internal.lisp
13 (delete-child-and-children-in-all-frames): Delete or destroy
14 children before displaying all children.
16 2011-06-05 Philippe Brochard <pbrochard@common-lisp.net>
18 * src/clfswm-util.lisp (add-frame-in-parent-frame): New function
21 2011-06-04 Philippe Brochard <pbrochard@common-lisp.net>
23 * src/clfswm.lisp (main-unprotected): Destroy all frames windows
24 before closing the display (not really needed).
26 2011-06-02 Philippe Brochard <pbrochard@common-lisp.net>
28 * src/clfswm-layout.lisp (inc-tile-layout-size)
29 (dec-tile-layout-size, inc-slow-tile-layout-size)
30 (dec-slow-tile-layout-size): New functions and bindings.
32 2011-06-01 Philippe Brochard <pbrochard@common-lisp.net>
34 * src/clfswm-expose-mode.lisp (define-expose-letter-keys): Add
35 0..1 and A..Z keys to select a child in exposé mode.
37 * src/clfswm-internal.lisp (display-frame-info): Remove hidden
38 infos in frames windows.
40 * src/clfswm-util.lisp (ask-close/kill-current-window): Menu
43 2011-05-30 Philippe Brochard <pbrochard@common-lisp.net>
45 * src/clfswm-internal.lisp (get-parent-layout): Minor fullscreen
48 2011-05-29 Philippe Brochard <pbrochard@common-lisp.net>
50 * src/clfswm-internal.lisp
51 (delete-child-and-children-in-all-frames): Show all children
52 before deleting/destroying a windows, so prevent a flickering.
53 (get-parent-layout): Return the fullscreen size when the current
56 2011-05-28 Philippe Brochard <pbrochard@common-lisp.net>
58 * src/clfswm-internal.lisp (get-parent-layout): Handle correctly
61 * src/clfswm-util.lisp (delete-focus-window-generic): Do not hide
62 child before removing, so prevent a flickering.
64 * src/clfswm-internal.lisp (show-all-children): Rectangular
65 optimization to display only needed children.
66 (show-all-children): Remove flickering on
67 select-next/previous-brother.
69 2011-05-17 Philippe Brochard <pbrochard@common-lisp.net>
71 * src/clfswm-util.lisp (copy-focus-window, cut-focus-window): New
72 functions and ask-close/kill-current-window menu and bindings
75 2011-05-16 Philippe Brochard <pbrochard@common-lisp.net>
77 * src/clfswm-util.lisp (ask-close/kill-current-window): Add an
78 *ask-close/kill-placement* placement window variable.
80 2011-05-09 Philippe Brochard <pbrochard@common-lisp.net>
82 * contrib/osd.lisp (funcall-button-from-code): Display osd
83 documention for buttons and fix some redefining warnings.
85 2011-05-07 Philippe Brochard <pbrochard@common-lisp.net>
87 * src/clfswm-nw-hooks.lisp (make-permanent-nw-hook-frame): New
88 function. Prevent to add or delete a new window hook for this
91 * src/clfswm-layout.lisp (update-layout-managed-children-position):
94 2011-05-06 Philippe Brochard <pbrochard@common-lisp.net>
96 * src/bindings-second-mode.lisp (set-default-second-keys):
97 select-brother-spatial-move-* binding update.
99 * src/clfswm-layout.lisp (tile-left|right|top|bottom-layout): Ask
100 to keep children positions or not.
102 * src/clfswm-internal.lisp (fixe-real-size): Takes care of border
105 * src/clfswm-layout.lisp (update-layout-managed-children): Fix a
106 bug by using the parent frame instead of the current child.
108 * src/clfswm-circulate-mode.lisp
109 (select-brother-generic-spatial-move+right/left/up/down): New
110 function to select a brother from another in a spatial move.
112 2011-04-19 Philippe Brochard <pbrochard@common-lisp.net>
114 * src/clfswm-pack.lisp (move-frame-constrained)
115 (resize-frame-constrained): Use pixels instead of floating
118 2011-04-18 Philippe Brochard <pbrochard@common-lisp.net>
120 * src/clfswm-pack.lisp (resize-frame-constrained): Takes care of
122 (implode-frame, implode-current-frame): New functions. Absorb all
123 frames subchildren in frame. Explode frame opposite.
125 2011-04-17 Philippe Brochard <pbrochard@common-lisp.net>
127 * src/clfswm-pack.lisp (move-frame-constrained)
128 (resize-frame-constrained): New function. Move and resize frame
129 with the mouse constrained by other frame brothers.
131 2011-04-14 Philippe Brochard <pbrochard@common-lisp.net>
133 * src/clfswm-util.lisp (with-movement-select-next-brother)
134 (with-movement-select-previous-brother)
135 (with-movement-select-next-child): Use a simple method (do not
136 enter in the circulate mode) to allow to circulate in all children
139 * src/clfswm-menu.lisp (open-menu): Save info hash table keys
140 instead of deleting newly created keys.
142 2011-03-21 Philippe Brochard <pbrochard@common-lisp.net>
144 * src/clfswm-internal.lisp (x-px->fl, y-px->fl): Takes care of
147 2011-03-20 Philippe Brochard <pbrochard@common-lisp.net>
149 * src/clfswm-info.lisp (show-config-variable): call
150 produce-conf-var-doc.
152 2011-03-18 Philippe Brochard <pbrochard@common-lisp.net>
154 * src/clfswm-autodoc.lisp (produce-conf-var-doc-html): Produce a
155 documentation for all configurable variables in CLFSWM -
158 * src/clfswm-internal.lisp (leave-frame): Hide all children except
161 2011-03-16 Philippe Brochard <pbrochard@common-lisp.net>
163 * src/clfswm-autodoc.lisp (produce-all-docs): Produce a
164 documentation for all configurable variables in CLFSWM.
166 * src/clfswm-layout.lisp (set-gimp-layout): Display a notify
167 window with the help on the GIMP layout.
169 2011-03-12 Philippe Brochard <pbrochard@common-lisp.net>
171 * src/menu-def.lisp: Menu update to prevent cursor keys clash.
173 * clfswm.asd: Change compilation order to prevent undefined
176 * src/clfswm-internal.lisp (show-child(frame)): Handle properly
177 the show-root-frame-p parameter.
179 2011-03-11 Philippe Brochard <pbrochard@common-lisp.net>
181 * src/clfswm-util.lisp (move-frame, resize-frame): Do not move or
182 resize a frame when it's the current root.
184 2011-03-10 Philippe Brochard <pbrochard@common-lisp.net>
186 * src/clfswm-internal.lisp (show-all-children): Handle properly
187 duplicated child in multipe frames.
189 2011-03-09 Philippe Brochard <pbrochard@common-lisp.net>
191 * contrib/volume-mode.lisp (set-default-volume-keys): Add more
192 keybindings (up/down, right/left) to raise/lower the volume.
194 * src/clfswm-layout.lisp: Add a variable border size for frames
197 2011-03-08 Philippe Brochard <pbrochard@common-lisp.net>
199 * src/clfswm-util.lisp (cut-current-child, remove-current-child)
200 (delete-current-child): Hide the current child before doing the
203 * src/clfswm-internal.lisp (show-all-children): Hide windows not
204 in the current root before displaying those in current root.
205 Remove all hide-all unnecessary calls.
207 * src/clfswm-configuration.lisp (save-variables-in-conf-file):
208 Save only variables with a different value than there original
211 2011-03-07 Philippe Brochard <pbrochard@common-lisp.net>
213 * src/clfswm-info.lisp (show-config-variable): Use the new
216 * src/clfswm-autodoc.lisp (produce-configuration-variables): Use
217 the new defconfig method.
219 * src/clfswm-configuration.lisp (create-configuration-menu):
220 Change the config system with a more lispy one and a less string
221 based one: (defconfig name value group doc).
224 2011-03-06 Philippe Brochard <pbrochard@common-lisp.net>
226 * src/clfswm-internal.lisp (show-all-children): Simplify the
228 (show-child): Display an unmanaged window whe it's the current
230 (show-all-children): add the ability to display all child from
231 *root-frame* and hide all those who are not in *current-root*.
232 -> remove hide-all-children when needed.
234 * src/xlib-util.lisp (move-window,resize-window): Add a
235 *color-move-window* border when moving or resizing a window.
237 2011-03-04 Philippe Brochard <pbrochard@common-lisp.net>
239 * src/clfswm-internal.lisp (show-all-children): Perform only one
240 recusion on the clfswm tree: calculate geometry and place child in
243 2011-03-03 Philippe Brochard <pbrochard@common-lisp.net>
245 * src/clfswm-internal.lisp (show-all-children): Rethink of display
246 child order to prevent very annoying flickering.
248 2011-02-27 Philippe Brochard <pbrochard@common-lisp.net>
250 * src/clfswm-util.lisp (query-yes-or-no): New function.
252 * src/clfswm-configuration.lisp (reset-all-config-variables): New
253 function and menu entry.
254 (query-conf-value): Add the ability to leave the field blank to
255 reset the variable to its default value.
257 2011-02-26 Philippe Brochard <pbrochard@common-lisp.net>
259 * src/clfswm-configuration.lisp
260 (add-all-configuration-default-value): Add a default value to
261 configurable variables.
263 2011-02-23 Philippe Brochard <pbrochard@common-lisp.net>
265 * src/clfswm.lisp (main-unprotected): Create the configuration
266 menu only once at startup.
268 2011-02-22 Desmond O. Chang <dochang@gmail.com>
270 * contrib/amixer.lisp: Add a volume mode inspired by the emms
271 volume package. Alsa mixer interface.
273 * contrib/volume-mode.lisp: Add a volume mode inspired by the emms
276 2011-02-22 Desmond O. Chang <dochang@gmail.com>
278 * src/clfswm.lisp (main): Use ASDF:SYSTEM-SOURCE-DIRECTORY instead
279 of *LOAD-TRUENAME*. *LOAD-TRUENAME* is only bound during a call to
280 LOAD. If one eval CLFSWM:MAIN in repl, BASE-DIR will be an empty
281 string. Use ASDF:SYSTEM-SOURCE-DIRECTORY to fix it.
283 2011-02-16 Philippe Brochard <pbrochard@common-lisp.net>
285 * src/clfswm.lisp (main-unprotected): Add a close hook. And close
286 the notify window, the virtual keyboard and the clfswm terminal by
289 2011-02-15 Philippe Brochard <pbrochard@common-lisp.net>
291 * src/clfswm.lisp (main-unprotected): Destroy the notify window
292 before closing the display. This fix a bug when resetting/reloading
295 2011-02-12 Philippe Brochard <pbrochard@common-lisp.net>
297 * src/xlib-util.lisp (equal-wm-class-fun, equal-wm-name-fun)
298 (raise-window-fun, raise-and-focus-window-fun): New functions.
300 * src/config.lisp (*clfswm-terminal-cmd*): Switch from xterm to
302 (*never-managed-window-list*): Structure change to be more
303 flexible. Let the choice to focus, raise and do nothing on never
306 2011-02-09 Philippe Brochard <pbrochard@common-lisp.net>
308 * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Take
309 care of never managed windows to move or resize them if the raise
312 * src/clfswm-internal.lisp (in-frame, in-window, in-child): New
315 2011-02-08 Philippe Brochard <pbrochard@common-lisp.net>
317 * src/clfswm.lisp (main-mode): Raise or not unmanaged windows
318 following request in *never-managed-window-list*.
320 2011-02-05 Philippe Brochard <pbrochard@common-lisp.net>
322 * *: **** Release 1102 ****
324 2011-02-05 Desmond O. Chang <dochang@gmail.com>
326 * src/keysyms.lisp: Add extended keysyms from stumpwm.
328 2011-02-01 Desmond O. Chang <dochang@gmail.com>
330 * src/clfswm-util.lisp (run-or-raise): New function (thanks to
333 * src/clfswm-internal.lisp (with-all-*): add a nil block.
335 2011-01-28 Desmond O. Chang <dochang@gmail.com>
337 * src/clfswm-util.lisp (xdg-config-home): XDG_CONFIG_HOME should
338 be $HOME/.config by default.
340 2010-12-29 Philippe Brochard <pbrochard@common-lisp.net>
342 * contrib/osd.lisp (display-doc): Add another method where a
343 CLFSWM native window is used to display the key documentation.
345 2010-12-27 Philippe Brochard <pbrochard@common-lisp.net>
347 * src/xlib-util.lisp (with-xlib-protect): Force to revert to the
350 2010-12-25 Philippe Brochard <pbrochard@common-lisp.net>
352 * src/clfswm-second-mode.lisp (second-key-mode): Call the second
353 mode leave function only when the generic mode was ended.
355 2010-12-08 Philippe Brochard <pbrochard@common-lisp.net>
357 * src/clfswm-second-mode.lisp (sm-leave-function): Do not use
358 *second-mode-program* anymore.
360 2010-12-07 Philippe Brochard <pbrochard@common-lisp.net>
362 * src/clfswm-second-mode.lisp (*second-mode-leave-function*): New
363 variable bound to a function executed (when not null) on second
366 2010-11-14 Philippe Brochard <pbrochard@common-lisp.net>
368 * src/clfswm-util.lisp (find-child-under-mouse): Do not find
371 2010-11-13 Philippe Brochard <pbrochard@common-lisp.net>
373 * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
374 Do not display the accel window for unmanaged windows.
376 2010-11-11 Philippe Brochard <pbrochard@common-lisp.net>
378 * src/clfswm-internal.lisp (set-current-root): Handle
379 window-parent in set-current-root.
381 * src/clfswm-util.lisp (mouse-click-to-focus-generic): Do not
382 focus the parent child when the current root is a window.
384 2010-11-09 Philippe Brochard <pbrochard@common-lisp.net>
386 * src/clfswm-expose-mode.lisp (expose-windows-current-child-mode):
387 New function an bindings.
389 * src/clfswm-layout.lisp (tile-layout, set-tile-layout): Fill
392 2010-11-07 Philippe Brochard <pbrochard@common-lisp.net>
394 * src/clfswm-layout.lisp (tile-layout-ask-keep-position): New
395 function to let the user choose to keep child position with
398 * src/clfswm-internal.lisp (remove-frame-data-slot): New
401 2010-11-05 Philippe Brochard <pbrochard@common-lisp.net>
403 * src/clfswm-internal.lisp (frame-select-next-child)
404 (frame-select-previous-child): New functions and bindings. Select
405 the next/previous child in the current frame.
407 2010-10-31 Philippe Brochard <pbrochard@common-lisp.net>
409 * src/clfswm-query.lisp (query-mode-complet): New function: Handle
410 completion in query-mode.
412 2010-10-30 Philippe Brochard <pbrochard@common-lisp.net>
414 * src/clfswm-query.lisp (query-print-string): Handle long lines
417 2010-10-27 Philippe Brochard <pbrochard@common-lisp.net>
419 * src/clfswm-expose-mode.lisp (expose-create-window): Ensure that
420 all characters are printable.
422 2010-10-25 Philippe Brochard <pbrochard@common-lisp.net>
424 * contrib/server/server.lisp: Load clfswm client code in the main
425 program and let the user start it with a --client command line
428 * src/package.lisp (*main-entrance-hook*): New hook executed after
429 loading configuration file and before opening the display.
431 2010-10-23 Philippe Brochard <pbrochard@common-lisp.net>
433 * src/xlib-util.lisp: Remove unnecessary xlib:display-finish-output.
435 * src/clfswm-internal.lisp (show-child): Show window only if not
438 * src/clfswm-keys.lisp (binding-substitute-modifier): Utility to
439 change modifiers after binding definition.
441 2010-10-21 Philippe Brochard <pbrochard@common-lisp.net>
443 * contrib/osd.lisp: New file: OSD (On Screen Display) for
446 * src/clfswm-menu.lisp (open-menu): Modularise function.
448 2010-10-13 Philippe Brochard <pbrochard@common-lisp.net>
450 * src/clfswm-info.lisp (show-first-aid-kit): Display the essential
451 key binding in main and second mode.
453 2010-10-10 Philippe Brochard <pbrochard@common-lisp.net>
455 * src/clfswm-util.lisp (open-notify-window): Convert hello-window
456 functions to a more generic Notify-window system.
458 * src/tools.lisp (add-timer): Add an id to identify the timer.
460 2010-10-09 Philippe Brochard <pbrochard@common-lisp.net>
462 * src/tools.lisp (erase-timer): New function.
464 * src/clfswm-util.lisp (display-hello-window): Add a timer to hide
465 the hello window. Add Configuration variables.
467 2010-10-08 Philippe Brochard <pbrochard@common-lisp.net>
469 * src/clfswm-util.lisp (): Add an Hello window at startup.
471 * src/tools.lisp (process-timers): Add a timer system.
473 2010-10-07 Philippe Brochard <pbrochard@common-lisp.net>
475 * src/clfswm-query.lisp (add-in-query-string): Handle correctly
478 2010-10-06 Philippe Brochard <pbrochard@common-lisp.net>
480 * src/clfswm-query.lisp (query-print-string): Change cursor color
481 and show parenthesis matching with colors (on match and on
484 2010-10-05 Philippe Brochard <pbrochard@common-lisp.net>
486 * src/clfswm-internal.lisp (show-all-children): Do not raise a
487 child when its parent is hidden.
489 2010-10-02 Philippe Brochard <pbrochard@common-lisp.net>
491 * src/clfswm-circulate-mode.lisp (select-next-subchild): Add the
492 possibility to circulate over subchild of the current child.
494 * src/clfswm-expose-mode.lisp (expose-all-windows-mode)
495 (expose-windows-generic): Add an escape-body function to return to
496 the original state on escape key.
498 * src/clfswm-util.lisp (bind-on-slot): Add an optional parameter
499 to bind the current child from the configuration file.
501 2010-10-01 Philippe Brochard <pbrochard@common-lisp.net>
503 * src/clfswm-nw-hooks.lisp (absorb-window-nw-hook): Absorb new
504 window hook: the frame absorb all new windows that match
505 nw-absorb-test frame data slot.
507 2010-09-30 Philippe Brochard <pbrochard@common-lisp.net>
509 * src/clfswm-expose-mode.lisp (expose-create-window): Show window
510 title in accel window.
512 2010-09-29 Philippe Brochard <pbrochard@common-lisp.net>
514 * configure: Use the Xavier Maillard clfswm script in contrib to
515 build an executable in the standard way.
517 2010-09-26 Philippe Brochard <pbrochard@common-lisp.net>
519 * src/clfswm-expose-mode.lisp (expose-mode-display-accel-windows):
520 New functions. Add a window on each child in the expose mode to
523 * src/clfswm-internal.lisp (child-x, child-y, child-width)
524 (child-height): New methods to get real child coordinates.
526 2010-09-25 Philippe Brochard <pbrochard@common-lisp.net>
528 * src/clfswm-layout.lisp (*-layout): Use child-position.
530 * src/clfswm-internal.lisp (child-position): New function.
532 * src/clfswm-expose-mode.lisp (expose-windows-mode)
533 (expose-all-windows-mode): Use a generic mode.
535 * src/xlib-util.lisp (with-handle-event-symbol): Use a filled list
536 with handle-event-fun symbols instead of inspecting clfswm
537 internals symbols on each mode change.
539 * src/clfswm-expose-mode.lisp: Move and rename present*-windows in
540 a separate clfswm-expose-mode.lisp file.
542 * src/clfswm-util.lisp (speed-mouse-right, speed-mouse-down): Use
543 screen size instead of hardcoded test coordinates.
545 2010-09-24 Philippe Brochard <pbrochard@common-lisp.net>
547 * src/clfswm-util.lisp (speed-mouse-reset, speed-mouse-left)
548 (speed-mouse-right, speed-mouse-up, speed-mouse-down)
549 (speed-mouse-undo, speed-mouse-first-history): New functions to
550 quickly move the mouse. Implemented for the second mode.
552 2010-09-16 Philippe Brochard <pbrochard@common-lisp.net>
554 * contrib/clfswm: Move clfswm sources to $tmp_dir if there is no
555 write permission on $clfswm_asd_path. So anybody can start clfswm
556 even if there is no write permission on the source directory.
558 2010-09-12 Philippe Brochard <pbrochard@common-lisp.net>
560 * contrib/clfswm: Add support to cmucl, ccl and ecl.
562 2010-09-11 Philippe Brochard <pbrochard@common-lisp.net>
564 * src/clfswm-util.lisp (set-hide-unmanaged-window)
565 (set-show-unmanaged-window, set-default-hide-unmanaged-window):
566 New functions and menu entry.
567 (set-globally-hide-unmanaged-window)
568 (set-globally-show-unmanaged-window): New functions and menu
571 * src/clfswm-internal.lisp (hide-unmanager-window-p): New
573 (show-child): Add a data slot on frame to hide or not unmanaged
576 * src/clfswm-corner.lisp (present-clfswm-terminal)
577 (present-virtual-keyboard): Use a function (generic-present-body)
578 instead of a macro (generate-present-body).
580 * src/clfswm-util.lisp (update-menus): List all directories and
581 subdirectories in $XDG_DATA_DIRS/applications.
583 2010-09-10 Philippe Brochard <pbrochard@common-lisp.net>
585 * src/clfswm-corner.lisp (generate-present-body): New macro.
586 (present-clfswm-terminal, present-virtual-keyboard): Use
587 generate-present-body.
589 2010-09-09 Philippe Brochard <pbrochard@common-lisp.net>
591 * src/clfswm-util.lisp (update-menus): Follow XDG specifications
592 instead of the non-portable Debian update-menu.
594 2010-09-07 Philippe Brochard <pbrochard@common-lisp.net>
596 * src/clfswm.lisp (error-handler): New function do handle
597 asynchronous errors and ignore them.
598 (open-display): Install the new error-handler on display.
600 2010-09-05 Philippe Brochard <pbrochard@common-lisp.net>
602 * src/xlib-util.lisp (with-xlib-protect): Add a
603 with-simple-restart on top of body execution.
605 2010-09-04 Philippe Brochard <pbrochard@common-lisp.net>
607 * src/clfswm.lisp (main-loop): Protect all xlib functions with an
610 * src/xlib-util.lisp (handle-event): use with-xlib-protect only in
611 handle-event. Add a with-simple-restart to prevent a
612 clisp/new-lisp infinite loop.
614 2010-08-30 Philippe Brochard <pbrochard@common-lisp.net>
616 * src/clfswm-corner.lisp (present-clfswm-terminal): Make the
617 clfswm terminal working even on xterm title changes.
619 2010-08-29 Philippe Brochard <pbrochard@common-lisp.net>
621 * src/clfswm-util.lisp (run-other-window-manager): Update for
624 * src/tools.lisp (do-execute): New parameter io to change the
627 * src/clfswm-util.lisp (hide-current-child): Prevent from removing
630 * src/clfswm-internal.lisp (child-member): New predicate.
631 (child-remove): New function.
633 * src/*.lisp: Use child-member and child-remove everywhere it's
636 2010-08-28 Philippe Brochard <pbrochard@common-lisp.net>
638 * src/clfswm.lisp (main-loop): Ensure that all events have been
639 processed after a process-event.
641 * src/clfswm-internal.lisp (is-in-current-child-p): New function.
643 2010-08-27 Philippe Brochard <pbrochard@common-lisp.net>
645 * src/clfswm.lisp (main-mode:configure-request): Raise the window
646 only when present on the current child and focus it accordingly.
648 2010-08-26 Philippe Brochard <pbrochard@common-lisp.net>
650 * src/clfswm-circulate-mode.lisp (circulate-loop-function):
651 Use is-a-key-pressed-p.
653 * src/xlib-util.lisp (is-a-key-pressed-p): New predicate.
655 * src/clfswm-keys.lisp (define-ungrab/grab): Use all values
656 returned by xlib:keysym->keycodes.
658 * src/*.lisp: Use the new child-equal-p to compare children. This
659 prevent a bug with sbcl/cmucl when the standard equal function
660 does not work with xlib:window.
662 * src/clfswm-internal.lisp (child-equal-p): New predicate.
664 2010-08-25 Philippe Brochard <pbrochard@common-lisp.net>
666 * src/clfswm-generic-mode.lisp (generic-mode): Use an
667 xlib:event-listen before processing event with
668 xlib:process-event. This prevent a bug with CLX threaded
669 implementation like sbcl.
671 * src/clfswm.lisp (main-loop): Use an xlib:event-listen before
672 processing event with xlib:process-event. This prevent a bug with
673 CLX threaded implementation like sbcl.
675 2010-08-17 Philippe Brochard <pbrochard@common-lisp.net>
677 * contrib/server/key.lisp (ushell-sh): Add ccl and ecl support.
679 * src/xlib-util.lisp (compress-motion-notify): Use a loop instead
682 * src/clfswm-internal.lisp (with-find-in-all-frames): New macro.
683 (find-parent-frame, find-frame-window, find-frame-by-name)
684 (find-frame-by-number): Use with-find-in-all-frames to search in
685 frames in the right order.
687 * src/clfswm-util.lisp (mouse-click-to-focus-generic): Fix an
688 unwanted flickering with unmanaged windows.
690 2010-08-16 Philippe Brochard <pbrochard@common-lisp.net>
692 * src/package.lisp: Remove event handler hooks as they're not
693 needed anymore (To replace them: use closure and define-handler).
695 * src/xlib-util.lisp (move-window, resize-window)
696 (wait-mouse-button-release): Use a generic mode.
698 * src/*.lisp: Replace the case to handle event with a more (tricky)
699 lispy method which bind a function to each keywords associated
702 2010-07-23 Philippe Brochard <pbrochard@common-lisp.net>
704 * src/clfswm-util.lisp (delete-current-child): Invert bindings and
705 menu entry between delete-current-child and remove-current-child.
706 ie: Delete a child and its children in all frames by default.
708 2010-07-21 Philippe Brochard <pbrochard@common-lisp.net>
710 * src/package.lisp: Add a placement configuration group.
712 * src/binding*.lisp: Bind control+g to escape the current action
715 * src/clfswm-internal.lisp
716 (delete-child-and-children-in-all-frames): New function and
717 binding: Second mode - Control+Delete delete the current child and
718 its children in all frames (ie: close the current child and its
721 2010-07-20 Philippe Brochard <pbrochard@common-lisp.net>
723 * src/clfswm-internal.lisp (remove-child-in-frame): Do not destroy
724 the frame window and the frame gc. Close a very annoying bug when
725 cuting/pasting a frame or moving a child over frames with the
728 * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
729 all children in *current-root* after moving/resizing a frame.
731 2010-07-18 Philippe Brochard <pbrochard@common-lisp.net>
733 * src/clfswm-util.lisp (delete-focus-window)
734 (destroy-focus-window): Remove child in parent frame before
737 2010-07-16 Philippe Brochard <pbrochard@common-lisp.net>
739 * src/clfswm-util.lisp (identify-key): Add a timeout in
741 (mouse-click-to-focus-generic): Use find-child-under-mouse instead
742 of the window passed by xlib:process-event.
744 * src/xlib-util.lisp (move-window, resize-window)
745 (wait-mouse-button-release): Add a timeout in xlib:process-event.
747 2010-04-11 Philippe Brochard <pbrochard@common-lisp.net>
749 * src/clfswm-util.lisp (run-other-window-manager): Add the ability
750 to launch an other window manager and to return to clfswm.
752 2010-03-18 Philippe Brochard <pbrochard@common-lisp.net>
754 * src/clfswm-layout.lisp (set-tile-space-layout): Set default
757 2009-12-15 Philippe Brochard <pbrochard@common-lisp.net>
759 * src/clfswm.lisp (main-loop): Add a *loop-hook* parameter and a
762 * src/clfswm-generic-mode.lisp (generic-mode): Add a loop-hook
763 parameter and a loop timeout.
765 2009-12-05 Philippe Brochard <pbrochard@common-lisp.net>
767 * src/clfswm.lisp (main): Add an alternate configuration filename
770 * load.lisp: Add a debuging code example.
772 2009-11-14 Philippe Brochard <pbrochard@common-lisp.net>
774 * src/clfswm-configuration.lisp (create-configuration-menu): New
775 menu to configure all clfswm variables while clfswm is running.
777 2009-11-12 Philippe Brochard <pbrochard@common-lisp.net>
779 * src/clfswm-util.lisp (save-configuration-variables): New
780 function to save all configuration variables in clfswmrc.
782 2009-11-11 Philippe Brochard <pbrochard@common-lisp.net>
784 * src/clfswm-info.lisp (info-mode): Begining of mouse support in
786 (set-default-info-keys): Add cursor key support in info mode.
788 2009-11-08 Philippe Brochard <pbrochard@common-lisp.net>
790 * contrib/reboot-halt.lisp: Add a Suspend/Reboot/Halt menu in
793 * src/clfswm.lisp (main): Add a read-conf-file-p parameter to
794 prevent reading the configuration file (this may be useful to
795 produce the original documentation without user modifications
796 with the rc configuration file).
798 2009-11-07 Philippe Brochard <pbrochard@common-lisp.net>
800 * src/bindings-second-mode.lisp (set-default-second-keys):
801 Simplification of Escape key to close/kill/remove the focus window
802 and unhide all windows.
804 * src/bindings.lisp (set-default-main-keys): Simplification of
805 Escape key to close/kill/remove the focus window and unhide all
808 * src/clfswm-util.lisp (ask-close/kill-current-window): Add remove
809 focus and unhide all windows capabilities.
811 2009-10-10 Philippe Brochard <pbrochard@common-lisp.net>
813 * contrib/mpd.lisp (start-gmpc): Add gmpc in the mpd menu.
815 2009-07-29 Philippe Brochard <pbrochard@common-lisp.net>
817 * src/clfswm-layout.lisp (tile-layout, tile-horizontal-layout):
818 Keep child order and don't make unnecessary child movement.
819 (one-column-layout, one-line-layout): New layouts.
821 2009-06-29 Philippe Brochard <pbrochard@common-lisp.net>
823 * *: **** Release 0906 ****
825 * contrib/cd-player.lisp: New file to handle the CD player.
827 * contrib/xmms.lisp: New file to handle the xmms player.
829 2009-06-28 Philippe Brochard <pbrochard@common-lisp.net>
831 * src/clfswm-layout.lisp (set-no-layout-remember-size): New layout:
832 Maximize windows in there frame - Leave frames to there actual
835 * src/bindings-second-mode.lisp (set-default-second-keys): Bind
836 "o" on set-open-in-new-frame-in-parent-frame-nw-hook.
838 2009-06-27 Philippe Brochard <pbrochard@common-lisp.net>
840 * contrib/keyb_fr.lisp: New file to handle an azerty keyboard.
842 2009-06-24 Philippe Brochard <pbrochard@common-lisp.net>
844 * contrib/mpd.lisp: Use a standard menu.
846 * src/clfswm-info.lisp: Use a standard menu for the help-menu.
848 2009-06-22 Philippe Brochard <pbrochard@common-lisp.net>
850 * contrib/mpd.lisp: New file to handle the Music Player Daemon (MPD)
852 2009-06-19 Philippe Brochard <pbrochard@common-lisp.net>
854 * src/clfswm-autodoc.lisp (produce-doc, produce-doc-html): Minor
857 2009-06-18 Philippe Brochard <pbrochard@common-lisp.net>
859 * src/config.lisp (get-fullscreen-size): One pixel adjustment
862 * src/clfswm-placement.lisp (*-child-placement): One pixel
865 2009-06-16 Philippe Brochard <pbrochard@common-lisp.net>
867 * src/clfswm-circulate-mode.lisp (draw-circulate-mode-window):
868 Ensure that all characters are printable.
870 * src/config.lisp (get-fullscreen-size): Adjust default fullscreen
873 * src/clfswm-placement.lisp (*-child-placement): Adjust
874 coordinates to one pixel in the current child.
876 2009-06-04 Philippe Brochard <pbrochard@common-lisp.net>
878 * src/clfswm-query.lisp (query-enter-function): Assign font before
879 width and height calculation.
881 2009-06-03 Philippe Brochard <pbrochard@common-lisp.net>
883 * src/xlib-util.lisp (banish-pointer): Use with-placement macro to
884 bannish the pointer in an arbitrary place.
886 * src/clfswm-info.lisp (info-mode): Use with-placement macro to
887 place the info window in an arbitrary place.
889 * src/clfswm-query.lisp (query-enter-function): Use with-placement
890 macro to place the query window in an arbitrary place.
892 * src/clfswm-placement.lisp: New file. Allow to place info windows
893 or query windows on an arbitrary place. Allow to bannish the
894 pointer on an arbitrary place.
896 2009-05-16 Philippe Brochard <pbrochard@common-lisp.net>
898 * src/clfswm-circulate-mode.lisp (reorder-child)
899 (reorder-brother): Unfocus windows before reordering children or
902 2009-05-13 Philippe Brochard <pbrochard@common-lisp.net>
904 * src/clfswm-circulate-mode.lisp (reorder-brother): Ensure that
905 the parent is a frame.
907 * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Handle
908 motion with a default modifier.
910 * src/clfswm.lisp (handle-motion-notify): Handle motion with a
913 * src/clfswm-info.lisp (info-mode): Handle motion with a default
915 (info-mode): Optimization in loop function.
917 2009-05-10 Philippe Brochard <pbrochard@common-lisp.net>
919 * src/clfswm-circulate-mode.lisp (reorder-brother): Handle
920 root-frame correctly.
922 * clfswm.asd: Dependency fix for clfswm-generic-mode.
924 * src/clfswm-circulate-mode.lisp (reorder-child)
925 (reorder-brother): Handle empty frames.
926 (reorder-brother): Redisplay only the parent frame of the current
929 * src/clfswm-util.lisp (frame-toggle-maximize): Redisplay only the
930 parent frame of the current frame.
932 2009-05-09 Philippe Brochard <pbrochard@common-lisp.net>
934 * src/clfswm-util.lisp (frame-toggle-maximize): New function:
935 Maximize/Unmaximize the current frame in its parent frame.
937 * src/clfswm-layout.lisp (maximize-layout): New layout: Maximize
938 windows and frames in there parent frame.
940 2009-05-05 Philippe Brochard <pbrochard@common-lisp.net>
942 * src/*.lisp: Add support for Clozure Common Lisp (CCL).
944 * src/clfswm-circulate-mode.lisp (reorder-child)
945 (reorder-brother): Reinitialise on circulate type change
946 child to brother or brother to child.
948 * src/*.lisp (*): Use map-window instead of xlib:map-window. So
949 calls xlib:display-finish-output on each map-request. So speed up
952 * src/xlib-util.lisp (map-window): New function. Call
953 xlib:display-finish-output on each map request.
955 2009-04-28 Philippe Brochard <pbrochard@common-lisp.net>
957 * src/clfswm-second-mode.lisp (sm-handle-motion-notify):
958 Optimisation when drawing second mode window.
960 2009-04-27 Philippe Brochard <pbrochard@common-lisp.net>
962 * src/clfswm-circulate-mode.lisp (circulate-mode): Optimisation in
965 2009-04-22 Philippe Brochard <pbrochard@common-lisp.net>
967 * src/clfswm-util.lisp (run-program-from-query-string): Launch
968 command only with a return validation.
970 2009-04-22 Xavier Maillard <xma@gnu.org>
972 * src/clfswm-query.lisp (query-string): Use a generic mode.
974 2009-04-19 Xavier Maillard <xma@gnu.org>
976 * src/clfswm-info.lisp (info-mode): Use generic-mode for info-mode.
978 2009-04-18 Xavier Maillard <xma@gnu.org>
980 * src/clfswm-generic-mode.lisp (generic-mode): Add a generic mode
981 to define all other modes.
983 2009-04-05 Philippe Brochard <pbrochard@common-lisp.net>
985 * src/package.lisp (): Use *default-font-string* for all
988 * src/clfswm-info.lisp (info-mode): Ensure integer windows size.
990 2009-02-17 Philippe Brochard <pbrochard@common-lisp.net>
992 * src/xlib-util.lisp (null-size-window-p): Better check of null
995 2009-02-14 Philippe Brochard <pbrochard@common-lisp.net>
997 * src/clfswm.lisp (handle-map-request): Add a fix to manage
998 correctly fullscreen windows (SDL particularly).
1000 2008-12-20 Philippe Brochard <pbrochard@common-lisp.net>
1002 * src/xlib-util.lisp (get-color): Allocate colors only once -> fix
1003 a segfault with clisp/new-clx.
1005 * src/clfswm.lisp (handle-motion-notify): Add a needed window
1008 * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Add a
1009 needed window argument.
1011 2008-10-30 Philippe Brochard <pbrochard@common-lisp.net>
1013 * src/xlib-util.lisp (wait-no-key-or-button-press)
1014 (wait-a-key-or-button-press): Check buttons press/release correctly"
1016 2008-10-28 Philippe Brochard <pbrochard@common-lisp.net>
1018 * src/menu-def.lisp: Add children navigation menu in the movement
1019 menu (select next/previous child/brother/level).
1021 2008-10-26 Philippe Brochard <pbrochard@common-lisp.net>
1023 * *: Rename 'sister' frame to 'brother' frame.
1025 * src/clfswm-keys.lisp (unalias-modifiers): Convert a modifier
1026 alias in a real modifier.
1028 * src/package.lisp (*modifier-alias*): New list of modifier alias
1029 For example: :alt is :mod-1, :numlock is :mod-2...
1031 * src/tools.lisp (remove-hook): New function.
1033 * src/clfswm-keys.lisp (with-capslock, without-capslock)
1034 (with-numlock, without-cnumlock): New functions.
1036 2008-10-25 Philippe Brochard <pbrochard@common-lisp.net>
1038 * src/clfswm-info.lisp: Use the *binding-hook* to create info
1039 keys and mouse bindings.
1041 * src/bindings-second-mode.lisp: Use the *binding-hook* to create
1042 second keys and mouse bindings.
1044 * src/bindings.lisp: Use the *binding-hook* to create main keys
1047 2008-10-10 Philippe Brochard <pbrochard@common-lisp.net>
1049 * src/clfswm-menu.lisp (open-menu): Remember parent menu to undo
1052 2008-10-09 Philippe Brochard <pbrochard@common-lisp.net>
1054 * src/menu-def.lisp: Use a menu instead of a function for the
1057 2008-10-08 Philippe Brochard <pbrochard@common-lisp.net>
1059 * src/clfswm-util.lisp (show-standard-menu): Display the standard
1060 menu from the 'update-menus' command.
1062 2008-10-07 Philippe Brochard <pbrochard@common-lisp.net>
1064 * src/clfswm-query.lisp (query-string): Do not ungrab keyboard if
1065 it's already grabbed.
1067 * src/clfswm-internal.lisp (display-frame-info): Use configurable
1068 colors and fix a bug with background.
1069 (display-frame-info): Set window background when displaying info.
1071 2008-10-06 Philippe Brochard <pbrochard@common-lisp.net>
1073 * src/xlib-util.lisp (my-character->keysyms): Use a macro to avoid
1074 warning with clisp/new-clx.
1076 2008-10-04 Philippe Brochard <pbrochard@common-lisp.net>
1078 * src/clfswm-util.lisp (jump-to-slot): Prevent to jump on a
1081 2008-09-23 Philippe Brochard <pbrochard@common-lisp.net>
1083 * *: **** Release 0809 ****
1085 2008-09-23 Philippe Brochard <pbrochard@common-lisp.net>
1087 * src/clfswm-util.lisp (ensure-unique-name): New function and menu
1089 (ensure-unique-number): New function and menu entry.
1091 2008-09-22 Philippe Brochard <pbrochard@common-lisp.net>
1093 * src/clfswm-nw-hooks.lisp (named-frame-nw-hook): New new window
1094 hook: open the next window in a named frame.
1095 (numbered-frame-nw-hook): New new window hook: open the next
1096 window in a numbered frame.
1098 * src/clfswm-query.lisp (query-string): Grab the keyboard in all
1099 cases. So query-string can be called even in the main mode.
1101 * src/clfswm-internal.lisp (show-all-children): Do not raise a
1102 child by default => far less flickering.
1104 2008-09-19 Philippe Brochard <pbrochard@common-lisp.net>
1106 * src/bindings-second-mode.lisp: Bind "t" to tile-current-frame.
1108 * src/menu-def.lisp: Change key binding for the CLFSWM menu
1111 * src/xlib-util.lisp (xgrab-pointer): Handle the case where cursor
1112 is nil. (workaround on some CLX implementation).
1114 2008-09-12 Philippe Brochard <pbrochard@common-lisp.net>
1116 * src/menu-def.lisp: Add a menu to set a focus policy for all
1119 * src/clfswm-util.lisp (set-focus-policy-generic-for-all)
1120 (all-frames-set-*-focus-policy): Set a focus policy for all
1123 * src/clfswm.lisp (handle-enter-notify): sloppy-select
1124 mode. Select a child and its parents on mouse over.
1126 2008-09-03 Philippe Brochard <pbrochard@common-lisp.net>
1128 * src/clfswm.lisp (handle-enter-notify): Add a sloppy strict focus
1129 policy -> Sloppy focus only for windows in the current frame.
1130 (main-unprotected): Exit clfswm on init error (ie: when another
1131 window manager is running).
1133 * src/clfswm-util.lisp (reset-clfswm): New function.
1135 2008-09-02 Philippe Brochard <pbrochard@common-lisp.net>
1137 * src/clfswm-menu.lisp (init-menu): New function.
1139 * src/clfswm-util.lisp (reload-clfswm): New function to reload
1141 (exit-clfswm): Rename quit-clfswm to exit-clfswm.
1143 * src/clfswm.lisp (main, main-unprotected): Handle error in a
1144 superior main function. Now CLFSWM can't break the X session. It
1145 just reinitialize the display and run a new main loop.
1147 * src/clfswm-corner.lisp: Make *clfswm-terminal* and
1148 *vt-keyboard-on* global to avoid warnings when loading clfswm.
1150 * src/clfswm-layout.lisp: Add a specific GIMP layout menu.
1151 (help-on-gimp-layout): Describe how to use the GIMP layout.
1153 2008-09-01 Philippe Brochard <pbrochard@common-lisp.net>
1155 * src/clfswm-layout.lisp (set-gimp-layout): Change the layout to
1156 main-window-right-layout. Change the keybinding for (shift)alt+tab
1157 to not select windows in the main window lisst.
1158 Bind F8 to add a window in the main window list.
1159 Bind F9 to remove a window in the main window list.
1160 Change the focus policy to :sloppy.
1161 (set-previous-layout): Restore the previous layout, keybinding and
1164 2008-08-31 Philippe Brochard <pbrochard@common-lisp.net>
1166 * src/clfswm-menu.lisp (add-menu-comment): Add comments in menu.
1168 * src/clfswm-layout.lisp (main-window-left-layout)
1169 (main-window-bottom-layout, main-window-top-layout): New
1171 Factorize layouts in menu.
1173 2008-08-30 Philippe Brochard <pbrochard@common-lisp.net>
1175 * src/clfswm-layout.lisp (main-window-right-layout): A possible
1176 GIMP layout: one or more main windows on one side of the
1177 frame. Others on the other size.
1179 * src/clfswm-util.lisp
1180 (current-frame-set-click/sloppy-focus-policy): Each frame can have
1181 a different focus policy (one of :click or :sloppy).
1182 The default focus policy is set with *default-focus-policy*.
1184 2008-08-23 Philippe Brochard <pbrochard@common-lisp.net>
1186 * src/clfswm-info.lisp (show-config-variable): New function.
1188 2008-08-19 Philippe Brochard <pbrochard@common-lisp.net>
1190 * src/clfswm-layout.lisp (tile-horizontal-layout): New layout.
1192 * src/clfswm-info.lisp: Colored help for key binding and corners
1195 2008-08-18 Philippe Brochard <pbrochard@common-lisp.net>
1197 * src/clfswm-util.lisp (delete-focus-window)
1198 (destroy-focus-window): Remove chid only in
1199 handle-unmap/destroy-notify. Focus *current-root* only when
1200 closing/killing the current child.
1202 * src/clfswm-autodoc.lisp (produce-corner-*-doc): New autodoc
1203 functions or corners.
1205 2008-08-17 Philippe Brochard <pbrochard@common-lisp.net>
1207 * src/clfswm-corner.lisp (present-clfswm-terminal): New corner
1208 action: Hide/Unhide a terminal on mouse corner action. (By default
1209 right mouse button on the top left corner).
1211 * src/config.lisp (*never-managed-window-list*): New config
1214 * src/clfswm-internal.lisp (never-managed-window-p): New function:
1215 Handle never managed window in a more simple way.
1217 * src/clfswm-corner.lisp: New file and new and more simple method
1218 to define corners actions.
1220 2008-08-15 Philippe Brochard <pbrochard@common-lisp.net>
1222 * src/clfswm-info.lisp (info-mode): Info line can now be colored.
1224 * src/clfswm-layout.lisp (fast-layout-switch)
1225 (define-fast-layout-switch): New functions: Switch between two
1228 * src/clfswm-second-mode.lisp (leave-second-mode): Takes care if
1229 really in the second mode. So leave-second-mode can be used even
1232 * src/clfswm-util.lisp (switch-to-last-child): New function:
1233 Store the current child and switch to the previous one.
1235 2008-07-16 Philippe Brochard <pbrochard@common-lisp.net>
1237 * src/clfswm-util.lisp (display-current-window-info): Display the
1239 (have-to-present-virtual-keyboard): Add a virtual keyboard corner
1240 (top right by default). By default 'xvkbd' is used.
1242 2008-06-28 Philippe Brochard <pbrochard@common-lisp.net>
1244 * src/xlib-util.lisp (move-window, resize-window): Compress motion
1247 * src/clfswm.lisp (handle-motion-notify): Compress motion events.
1249 * src/clfswm-second-mode.lisp (sm-handle-motion-notify): Compress
1252 * src/clfswm-info.lisp (info-mode): Compress motion events.
1254 2008-06-21 Philippe Brochard <pbrochard@common-lisp.net>
1256 * src/clfswm-internal.lisp (show-all-children): Compute geometry
1257 and selection first and then show only necessary children.
1258 (show-child): remove unneeded display-p parameter.
1260 * src/config.lisp (get-fullscreen-size): Place the frame border
1261 outside the screen (this prevent the loose of 2 pixels per
1264 2008-06-12 Philippe Brochard <pbrochard@common-lisp.net>
1266 * src/clfswm-internal.lisp (focus-child): Algorithm change to
1267 raise only the selected child.
1269 2008-06-08 Philippe Brochard <pbrochard@common-lisp.net>
1271 * src/clfswm-internal.lisp (raise-p-list, show-all-children):
1272 Raise only viewable children.
1274 2008-06-06 Philippe Brochard <pbrochard@common-lisp.net>
1276 * src/clfswm-internal.lisp (show-all-children): Always raise all
1277 displayed children. Remove all references to raise-p.
1279 2008-06-04 Philippe Brochard <pbrochard@common-lisp.net>
1281 * src/menu-def.lisp (child-menu): New menu entry on raise/lower
1284 * src/bindings-second-mode.lisp ("Page_Down", "Page_Up"): New
1285 second mode binding on raise/lower child in its frame.
1287 * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): Adapt
1288 behaviour to the new raise/lower property.
1289 Call clear-nw-hook before the rest of the hook.
1291 * src/bindings.lisp (mouse-click-to-focus-and-move-window)
1292 (mouse-click-to-focus-and-resize-window): Stop button event. This
1293 prevent a keyboard/pointer freeze.
1295 2008-06-03 Philippe Brochard <pbrochard@common-lisp.net>
1297 * src/clfswm-internal.lisp (frame-lower-child)
1298 (frame-raise-child): New functions to raise/lower a child in its
1301 * src/clfswm-util.lisp (have-to-present-windows)
1302 (have-to-present-all-windows): New functions to have an MaxOS
1303 expose like on mouse click in screen corner.
1305 * src/clfswm-info.lisp ("Page_Down", "Page_Up"): Add boundaries.
1307 2008-05-30 Philippe Brochard <pbrochard@common-lisp.net>
1309 * src/clfswm-util.lisp (unhide-a-child-from-all-frames): Unhide a
1310 child from a choice in all frames with hidden children.
1312 * src/clfswm-info.lisp (info-mode-menu): Handle separators.
1314 2008-05-28 Philippe Brochard <pbrochard@common-lisp.net>
1316 * src/clfswm-util.lisp (hide-current-child, unhide-a-child)
1317 (unhide-all-children): New functions.
1319 * src/clfswm-info.lisp (info-mode-menu): Handle symbols and
1322 * src/clfswm-util.lisp (hide/show-frame-window): new function and
1325 2008-05-23 Philippe Brochard <pbrochard@common-lisp.net>
1327 * src/clfswm-util.lisp (rename-current-child): Do not display the
1328 frame info for a window.
1330 2008-05-20 Philippe Brochard <pbrochard@common-lisp.net>
1332 * src/clfswm-internal.lisp (remove-child-in-frame): Destroy the
1333 frame window for the removed child and its children.
1335 2008-05-18 Philippe Brochard <pbrochard@common-lisp.net>
1337 * src/clfswm-autodoc.lisp (produce-*-doc-*): Add a note to use the
1340 2008-05-17 Philippe Brochard <pbrochard@common-lisp.net>
1342 * src/clfswm-nw-hooks.lisp (default-frame-nw-hook): Do not handle
1343 the ROX pinboard (ie: leave it lowered in the root window as
1346 * src/clfswm-layout.lisp (tile-left-space-layout): New layout.
1347 (tile-left-layout, tile-right-layout, tile-top-layout)
1348 (tile-bottom-layout): Use all the frame space when there is only
1351 * src/clfswm-internal.lisp (place-window-from-hints): Center
1352 unmanaged windows in the root screen.
1354 * src/clfswm-nw-hooks.lisp (clear-nw-hook, clear-all-nw-hooks):
1357 2008-05-15 Philippe Brochard <pbrochard@common-lisp.net>
1359 * src/clfswm-util.lisp (current-frame-manage-window-type): Fix a
1360 typo in managed types.
1362 * src/clfswm-internal.lisp (show-child): Always display frame info
1363 even if the frame is hidden.
1365 * src/xlib-util.lisp (resize-window): Use a better algorithme to
1368 2008-05-13 Philippe Brochard <pbrochard@common-lisp.net>
1370 * src/clfswm-util.lisp (with-movement): Display frame info for all
1371 frames in current root.
1373 2008-05-12 Philippe Brochard <pbrochard@common-lisp.net>
1375 * src/*.lisp: Rename 'brother' frames to 'sister' frames.
1377 * src/bindings-second-mode.lisp (define-second-key #\a): New
1378 binding on 'add-default-frame'.
1380 * src/clfswm-autodoc.lisp (produce-*-doc-*-in-file): Show a
1381 message to follow the autodocumentation process.
1383 2008-05-10 Philippe Brochard <pbrochard@common-lisp.net>
1385 * src/clfswm-util.lisp (bind-or-jump): Bind "Tab", "Return" and
1386 "Space" to jump to a child. "B" to bind a slot on the current
1389 * src/bindings-second-mode.lisp: Use "Tab" instead of
1392 2008-05-07 Philippe Brochard <pbrochard@common-lisp.net>
1394 * src/clfswm-util.lisp (find-child-under-mouse): Take care of
1395 unmanaged (hidden) windows.
1397 * src/clfswm-internal.lisp (place-window-from-hints): Give a
1398 minimal size for windows.
1399 (with-all-windows-frames-and-parent): New function.
1401 * src/config.lisp (*default-window-width/height*): New parameters.
1403 * src/clfswm-internal.lisp (place-window-from-hints): Center
1404 windows in the screen instead of in there frame.
1406 * src/bindings-second-mode.lisp (tile-space-current-frame): New
1409 * src/clfswm-layout.lisp (register-layout): Intern the once name
1410 in the right package.
1412 2008-05-05 Philippe Brochard <pbrochard@common-lisp.net>
1414 * doc/dot-clfswmrc: Update to follow the new clfswm way.
1416 2008-05-03 Philippe Brochard <pbrochard@common-lisp.net>
1418 * src/clfswm-internal.lisp (set-current-child)
1419 (adapt-child-to-parent, show-child, hide-child): Handle the case
1420 where child is not a frame or a window.
1422 * src/clfswm-util.lisp
1423 (mouse-click-to-focus-generic,mouse-focus-move/resize-generic):
1424 Check if child is a frame.
1426 * src/clfswm-internal.lisp (managed-window-p): Handle the case
1427 where frame is null.
1428 (place-frame): Check if frame and parent are frames.
1430 * src/clfswm-info.lisp (info-mode): display all frame info before
1433 * src/clfswm-second-mode.lisp (second-key-mode): display all frame
1434 info before leaving.
1436 * src/clfswm-internal.lisp (display-all-frame-info): New function.
1438 2008-05-02 Philippe Brochard <pbrochard@common-lisp.net>
1440 * src/tools.lisp (getenv): Implemented for ECL.
1441 (urun-prog): Implemented for ECL.
1443 * src/clfswm-util.lisp (identify-key): Use a double buffer to
1446 * src/clfswm-query.lisp (query-string): Use a double buffer to
1449 * src/clfswm-info.lisp (draw-info-window): Use a double buffer to
1452 * src/xlib-util.lisp (clear-pixmap-buffer, copy-pixmap-buffer):
1455 2008-05-01 Philippe Brochard <pbrochard@common-lisp.net>
1457 * src/clfswm-info.lisp (info-mode): Add boundaries in the info mode window.
1459 * src/menu-def.lisp: New file: move all menu definition in
1462 * src/clfswm-layout.lisp (register-layout): Use a function instead
1465 2008-04-30 Philippe Brochard <pbrochard@common-lisp.net>
1467 * src/clfswm-autodoc.lisp (produce-menu-doc,
1468 (produce-menu-doc-html): New functions.
1469 (produce-doc-*): Moved to clfswm-autodoc.lisp.
1471 * src/clfswm-util.lisp (paste-selection-no-clear): Prevent to
1472 paste a child on one of its own children. (this prevent a
1474 (move-child-to): Rename move/copy-current-child-by to
1476 (mouse-move-window-over-frame): New function to move the window
1477 under the mouse cursor to another frame.
1479 * src/clfswm-internal.lisp (find-child-in-parent): New function.
1481 2008-04-29 Philippe Brochard <pbrochard@common-lisp.net>
1483 * src/clfswm-internal.lisp (show-all-children): Display unmanaged
1484 windows only when its window parent is the current child.
1486 2008-04-28 Philippe Brochard <pbrochard@common-lisp.net>
1488 * src/clfswm-util.lisp (manage-current-window)
1489 (unmanage-current-window): New functions: Allow to force to manage
1490 or unmanage a window by its parent frame.
1492 * src/bindings-second-mode.lisp (#\o): binded to
1493 set-open-in-new-frame-in-parent-frame-nw-hook and
1494 (#\o :control) to set-open-in-new-frame-in-root-frame-nw-hook
1496 * src/clfswm-util.lisp (with-current-window): New macro.
1498 * src/xlib-util.lisp (move-window, resize-window): Remove uneeded
1499 exposure and enter-window handle event.
1501 * src/clfswm-util.lisp (move-frame, resize-frame): Show all
1502 children for the current child after the move/resize.
1504 2008-04-27 Philippe Brochard <pbrochard@common-lisp.net>
1506 * src/xlib-util.lisp (resize-window): Take care of window size
1509 * src/clfswm-util.lisp (mouse-focus-move/resize-generic): Allow to
1510 move/resize unmanaged windows.
1512 * src/xlib-util.lisp (move-window, resize-window): New functions.
1514 2008-04-25 Philippe Brochard <pbrochard@common-lisp.net>
1516 * src/clfswm-util.lisp (current-frame-manage-window-type): Let the
1517 user choose what window type the current frame must handle.
1518 (display-current-window-info): New function.
1519 (current-frame-manage-all-window-type)
1520 (current-frame-manage-only-normal-window-type)
1521 (current-frame-manage-no-window-type): New functions.
1523 * src/clfswm-internal.lisp (managed-window-p): New function.
1525 * src/package.lisp (frame): Managed type: new frame
1526 parameter. This allow to choose what window type a frame must
1529 * src/*.lisp: Rename all 'father' occurrences to 'parent'.
1531 * src/clfswm-nw-hooks.lisp
1532 (open-in-new-frame-in-parent-frame-nw-hook): New new window hook.
1534 * src/clfswm-util.lisp (adapt-current-frame-to-window-hints): New
1537 * src/tools.lisp (ensure-printable): Return always a string even
1540 2008-04-24 Philippe Brochard <pbrochard@common-lisp.net>
1542 * src/config.lisp (*default-nw-hook*): New variable to change the
1543 default new window hook.
1545 2008-04-22 Philippe Brochard <pbrochard@common-lisp.net>
1547 * clfswm.asd (clfswm): Add a dependency from
1548 clfswm-second-mode.lisp to clfswm.lisp.
1550 * src/clfswm-util.lisp (identify-key): Show the documentation for
1551 the function bound on a key.
1552 (with-movement): Move with-movement,
1553 current-frame-fill/pack/resize-* from bindings-second-mode.lisp
1554 to clfswm-util.lisp.
1556 * src/clfswm-menu.lisp: New menu system that let user change keys
1557 or functions associated to keys.
1559 2008-04-18 Philippe Brochard <pbrochard@common-lisp.net>
1561 * src/clfswm-internal.lisp (show-all-children): Display-child is
1562 the first child by default. Solve a bug with father-p.
1564 2008-04-17 Philippe Brochard <pbrochard@common-lisp.net>
1566 * src/clfswm-internal.lisp (add-frame): Add frame return the
1568 (show-all-children): Move the size computation outside the
1571 * src/bindings-second-mode.lisp (with-movement): Redisplay only
1574 * src/clfswm-util.lisp (mouse-click-to-focus-generic): Redisplay
1575 only the current child.
1577 * src/clfswm-internal.lisp (show-all-children): New display-child
1578 parameter to display only the desired child and its children.
1579 (select-next/previous-child): Only display the current child.
1581 2008-04-14 Philippe Brochard <pbrochard@common-lisp.net>
1583 * src/clfswm.lisp (init-display): Move the default frame creation
1584 on the default init hook.
1586 * src/clfswm-keys.lisp (define-ungrab/grab): Handle all keysyms in
1587 the main mode (for example: "1" on an azerty keyboard).
1589 2008-04-13 Philippe Brochard <pbrochard@common-lisp.net>
1591 * src/clfswm-keys.lisp (find-key-from-code): Better handle of
1592 keysyms. Revert to old grabbing method for the main mode.
1594 2008-04-12 Philippe Brochard <pbrochard@common-lisp.net>
1596 * src/clfswm.lisp (init-display): Add key handling on no focus
1597 window and on frame windows.
1599 2008-04-11 Philippe Brochard <pbrochard@common-lisp.net>
1601 * src/clfswm.lisp (main): Keyboard handle strategie change: Grab
1602 all keys by default and replay just what is needed. No change for
1605 * src/clfswm-keys.lisp: remove grab/ungrab main keys.
1606 (find-key-from-code): Test for shift and not shift presence.
1608 2008-04-09 Philippe Brochard <pbrochard@common-lisp.net>
1610 * src/clfswm-internal.lisp (switch-to-root-frame): show later -
1611 new key parameter to have less flickering.
1613 2008-04-07 Philippe Brochard <pbrochard@common-lisp.net>
1615 * src/bindings-second-mode.lisp (frame-layout-once-menu): Set the
1616 layout only one time and revert to no-layout to freely handle
1619 * src/clfswm-nw-hooks.lisp
1620 (open-in-new-frame-in-root-frame-nw-hook): Tile layout with spaces
1621 with new created window.
1623 * src/clfswm-layout.lisp (register-layout): Now register
1624 automatically a once layout to set the layout only one time and
1625 revert to no-layout to freely handle frames.
1627 2008-04-05 Philippe Brochard <pbrochard@common-lisp.net>
1629 * src/clfswm-nw-hooks.lisp (leave-focus-frame-nw-hook): New
1630 nw-hook: Open the next window in the current frame and leave the
1631 focus to the current child.
1633 2008-04-04 Philippe Brochard <pbrochard@common-lisp.net>
1635 * src/bindings-second-mode.lisp: Add keys definitions to
1636 bind-or-jump in the second mode.
1638 * src/clfswm-util.lisp (bind-or-jump): remove the auto-defining
1639 macro for bind-or-jump-(1|2|3...).
1641 * src/clfswm-keys.lisp (define-define-key/mouse): Allow additional
1642 arguments to function. This allow to do things like:
1643 (define-main-key (key) 'my-function 10 20 'foo) -> 10 20 and 'foo
1644 are passed to my-function on key press.
1646 2008-04-03 Philippe Brochard <pbrochard@common-lisp.net>
1648 * src/clfswm-util.lisp (bind-or-jump): New (great) function.
1650 2008-04-02 Philippe Brochard <pbrochard@common-lisp.net>
1652 * src/clfswm-internal.lisp (child-fullname): New function
1654 * src/clfswm-info.lisp (info-mode-menu): Add an explicit optional
1655 docstring in info-mode-menu. An item can be
1656 '((key function) (key function)) or with docstring
1657 '((key function "documentation 1") (key function "bla bla") (key function))
1659 * src/tools.lisp (ensure-n-elems): New function.
1661 * src/bindings-second-mode.lisp: Bind Alt+mouse-1/3 to move or
1662 resize a frame or the window's father.
1664 * src/clfswm.lisp (init-display): Remove tile-space-layout by
1665 default on the root frame.
1667 * src/clfswm-util.lisp (move/resize-frame): Add standard event
1668 hooks handlers (map-request, configure-notify...)
1670 * src/clfswm-internal.lisp (adapt-child-to-father): Limit minimal
1673 2008-04-01 Philippe Brochard <pbrochard@common-lisp.net>
1675 * src/bindings.lisp: Bind Alt+mouse-1/3 to move or resize a frame
1676 or the window's father.
1678 * src/clfswm-util.lisp (mouse-click-to-focus-generic): Stop button
1679 event only if there is a geometry change.
1680 (mouse-focus-move/resize-generic): Generic function to move or
1681 resize a frame or a window father frame.
1683 2008-04-01 Philippe Brochard <pbrochard@common-lisp.net>
1685 * src/clfswm-internal.lisp (show-all-children): Return t if there
1686 is a geometry change.
1688 2008-03-30 Philippe Brochard <pbrochard@common-lisp.net>
1690 * src/bindings.lisp (Up/Down): Swap select previous/next level.
1692 * src/bindings-second-mode.lisp (Up/Down): Swap select previous/next level.
1694 * src/clfswm.lisp (init-display): Create a default frame in the root frame.
1696 * src/clfswm-internal.lisp (place-frame): Place frame from real (pixel) coordinates.
1697 (with-all-*): Reverse the child list to manage the first child last (like in
1700 * src/config.lisp (*create-frame-on-root*): New variable: Create a new frame on the
1701 root window only if true.
1703 * src/clfswm-util.lisp (mouse-click-to-focus-generic): Create a new frame on the
1704 root window only if *create-frame-on-root* is true.
1706 * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Create a new frame
1709 2008-03-29 Philippe Brochard <pbrochard@common-lisp.net>
1711 * src/bindings-second-mode.lisp (sm-mouse-click-to-focus-generic): Focus, move and resize
1712 the current child (even if it's a window).
1714 2008-03-28 Philippe Brochard <pbrochard@common-lisp.net>
1716 * src/clfswm-util.lisp (mouse-click-to-focus-and-move)
1717 (mouse-click-to-focus-and-resize): New functions.
1719 * src/clfswm-internal.lisp (*-fl->px): Convert float coordinates to pixel.
1720 (*-px->fl): Convert pixel coordinates to float.
1722 * src/tools.lisp (call-hook): Move call-hook to tools.lisp.
1724 2008-03-27 Philippe Brochard <pbrochard@common-lisp.net>
1726 * src/clfswm-layout.lisp (no-layout): Use :first-only to raise only the
1729 * src/clfswm-internal.lisp (hide-all): Split hide-all-children in hide-all
1730 and hide-all-children.
1731 (raise-if-needed): New function.
1732 (show-child): Use a first-p parameter to raise windows only when they are
1735 2008-03-26 Philippe Brochard <pbrochard@common-lisp.net>
1737 * src/clfswm-internal.lisp (select-next/previous-level): Don't use show-all-children
1740 2008-03-25 Philippe Brochard <pbrochard@common-lisp.net>
1742 * src/clfswm-info.lisp (keys-from-list): new function.
1744 * src/*: rename 'childs' in 'children'.
1746 * src/*: rename 'group' in 'frame'.
1748 2008-03-22 Philippe Brochard <pbrochard@common-lisp.net>
1750 * src/clfswm-pack.lisp (explode-group/explode-current-group): new functions.
1752 2008-03-21 Philippe Brochard <pbrochard@common-lisp.net>
1754 * src/clfswm-pack.lisp: Pack, Fill, Resize functions.
1756 2008-03-16 Philippe Brochard <pbrochard@common-lisp.net>
1758 * src/clfswm-nw-hooks.lisp: Register system for new window hooks.
1759 Bind control+o to open the next window in a new group in the root group
1760 (as open in next window in a new workspace in 0801 version).
1762 2008-03-15 Philippe Brochard <pbrochard@common-lisp.net>
1764 * src/clfswm-util.lisp (show/hide-all-groups-info/key): Show/hide all groups info
1767 2008-03-14 Philippe Brochard <pbrochard@common-lisp.net>
1769 * bindings-second-mode.lisp ("ISO_Left_Tab"): Use ISO_Left_Tab
1770 instead of Tab for select-previous-child.
1772 2008-03-13 Philippe Brochard <pbrochard@common-lisp.net>
1774 * clfswm-util.lisp (force-window-in-group/force-window-center-in-group):
1777 2008-03-11 Philippe Brochard <pbrochard@common-lisp.net>
1779 * clfswm-util.lisp (identify-key): Display the documentation
1780 associated to keys when identifying a key.
1782 2008-03-10 Xavier Maillard <xma@gnu.org>
1784 * contrib/clfswm: Complete rewrite of the script. Detect error and
1785 act accordingly. Add command line arguments to configure the
1786 script execution. User can now choose different common lisp
1787 implementation (clisp and sbcl only), choose where to store the
1788 dumped image, where to find clfswm source.
1790 2008-03-09 Philippe Brochard <pbrochard@common-lisp.net>
1792 * clfswm-internal.lisp (process-new-window): Beginning of new
1793 window hook: each group have a hook to tell what he wants to do
1794 with the new created window.
1796 2008-03-08 Xavier Maillard <xma@gnu.org>
1798 * contrib/clfswm: New script. Dump a CLISP image of CLFSWM then
1799 call the resulting executable.
1801 * clfswm.lisp (read-conf-file): Check for the user config file in
1802 XDG_CONFIG_HOME *first*. Freedesktop.org standards should be
1803 prefered whenever possible.
1805 2008-02-27 Philippe Brochard <pbrochard@common-lisp.net>
1807 * clfswm-layout.lisp (*-layout): Add an optional raise-p
1808 parameter in each layout.
1810 2008-02-26 Philippe Brochard <pbrochard@common-lisp.net>
1812 * clfswm-util.lisp (copy/cut-current-child): Does not affect the
1814 (copy/move-current-child-by-name/number): new functions
1815 (focus-group-by-name/number): new functions
1816 (delete-group-by-name/number): new functions
1818 2008-02-24 Philippe Brochard <pbrochard@common-lisp.net>
1820 * ************************************************************ *
1821 *: Major update - No more reference to workspaces. The main *
1822 structure is a tree of groups or application windows. *
1823 * ************************************************************ *
1825 2008-02-07 Philippe Brochard <pbrochard@common-lisp.net>
1827 * clfswm.lisp (read-conf-file): Read configuration in
1828 $HOME/.clfswmrc or in /etc/clfswmrc or in
1829 $XDG_CONFIG_HOME/clfswm/clfswmrc.
1830 (xdg-config-home): Return the content of $XDG-CONFIG-HOME (default
1833 2008-01-18 Philippe Brochard <pbrochard@common-lisp.net>
1835 * clfswm-internal.lisp (show-all-group): Use *root* and *root-gc*
1838 2008-01-03 Philippe Brochard <pbrochard@common-lisp.net>
1840 * clfswm-internal.lisp (find-window-group): New function.
1842 * clfswm*: Change to make clfswm run with clisp/new-clx.
1844 2008-01-01 Philippe Brochard <pbrochard@common-lisp.net>
1846 * clfswm-util.lisp (query-show-paren): Add show parent matching in
1848 (query-string): Bind control+k to delete end of line.
1850 * clfswm-second-mode.lisp (draw-second-mode-window): Display
1851 the action on mouse motion in second mode.
1853 * clfswm.lisp (handle-exposure): Redisplay groups on exposure
1854 event but do not clear the root window.
1855 (handle-configure-request): Adjust unmanaged window from there
1858 * clfswm-internal.lisp (process-new-window): Adjust new window
1859 with the specified hints (max/min/base width/height).
1861 2007-12-31 Philippe Brochard <pbrochard@common-lisp.net>
1863 * clfswm.lisp (handle-configure-request): Send an Configuration
1864 Notify event. This solve a bug with xterm and rxvt who takes some
1865 times to be mapped. Now there is no delay.
1867 * bindings-second-mode.lisp (define-shell): Run programs after
1868 living the second mode.
1870 2007-12-30 Philippe Brochard <pbrochard@common-lisp.net>
1872 * clfswm-internal.lisp (process-new-window): Do not crop transient
1873 window to group size.
1874 (adapt-window-to-group): Do not crop transient window to group
1877 * clfswm.lisp (handle-configure-request): Adapt just the window to
1878 its group and don't take care of the configure request. Remove the
1879 bug with the Gimp outside the group and speed up the window
1881 (handle-exposure): Remove show-all-group on exposure event
1884 2007-12-29 Philippe Brochard <pbrochard@common-lisp.net>
1886 * clfswm-util.lisp (circulate-group-up-copy-window)
1887 (circulate-group-down-copy-window)
1888 (circulate-workspace-up-copy-group)
1889 (circulate-workspace-down-copy-group): Prevent the copy of the
1890 same window in the same workspace.
1892 * bindings-second-mode.lisp (release-copy-selected-window)
1893 (release-copy-selected-group): Prevent the copy of the same window
1894 in the same workspace.
1896 * clfswm-pager.lisp (generic-pager-move-window-on-previous-line)
1897 (generic-pager-move-window-on-next-line): Remove the copy
1899 (generic-pager-move-group-on-next-workspace)
1900 (generic-pager-move-group-on-previous-workspace): Prevent the copy
1901 of the same window in the same workspace.
1903 * bindings-pager.lisp (mouse-pager-copy-selected-window-release)
1904 (mouse-pager-copy-selected-group-release): Prevent the copy of the
1905 same window in the same workspace.
1907 * tools.lisp (setf/=): new macro to set a variable only when
1910 * clfswm-internal.lisp (adapt-window-to-group): use set/= to set
1911 x, y... only when necessary.
1913 2007-12-28 Philippe Brochard <pbrochard@common-lisp.net>
1915 * clfswm.lisp (handle-configure-notify, *configure-notify-hook*):
1916 new function and hook: force windows to stay in its group (solve a
1919 2007-12-25 Philippe Brochard <pbrochard@common-lisp.net>
1921 * bindings-second-mode.lisp (mouse-motion): use hide-group to have
1922 less flickering when moving/resizing groups.
1924 * clfswm-internal.lisp (hide-group): new function.
1925 (show-all-group): clear-all: new parameter.
1927 2007-12-22 Philippe Brochard <pbrochard@common-lisp.net>
1929 * clfswm-keys.lisp (define-define-key): undefine-*-multi-name: new
1931 * clfswm*: Color change for the pager. Typo or better description
1932 in bindings definitions. Define bindings for a qwerty keyboard by
1933 default. dot-clfswmrc show examples to switch to an azerty
1935 License change to GPL v3.
1936 * config.lisp: new file - group all globals variables in this
1939 2007-08-26 Philippe Brochard <pbrochard@common-lisp.net>
1941 * xlib-util.lisp (hide-window): Remove structure-notivy events
1942 when hidding a window.
1944 2007-05-16 Philippe Brochard <pbrochard@common-lisp.net>
1946 * package.lisp (*sm-property-notify-hook*): Readded
1947 property-notify-hook in second mode.
1949 2007-05-15 Philippe Brochard <pbrochard@common-lisp.net>
1951 * clfswm-keys.lisp (produce-doc-html): Better clean up for strings.
1953 2007-05-13 Philippe Brochard <pbrochard@common-lisp.net>
1955 * clfswm-pack.lisp (tile-current-workspace-to/right/left/top/bottom):
1956 Tile the current workspace with the current window on one side and
1957 others on the other (this emulate the larswm, dwm, wmii way). See
1958 the default configuration file to enable this mode by default.
1960 * clfswm-pager.lisp (pager-tile-current-workspace-to): idem for
1963 2007-05-12 Philippe Brochard <pbrochard@common-lisp.net>
1965 * clfswm-pager.lisp (pager-draw-window-in-group): Add
1966 ensure-printable to print windows name even with non-ascii
1969 2007-05-11 Philippe Brochard <pbrochard@common-lisp.net>
1971 * clfswm-pager.lisp (pager-explode-current-group): Create a new
1972 group for each window in group.
1973 (pager-implode-current-group): Move all windows in workspace to
1974 one group and remove other groups.
1976 * clfswm-pack.lisp (explode-group): Create a new group for each
1978 (implode-group): Move all windows in workspace to one group and
1979 remove other groups.
1981 * clfswm-util.lisp (identify-key): Remove local configuration
1982 variables and made them available for configuration from
1984 (query-string): idem.
1986 2007-04-29 Philippe Brochard <pbrochard@common-lisp.net>
1988 * netwm-util.lisp: Start of NetWM compliance.
1989 Add a Netwm client list gestion.
1991 2007-04-28 Philippe Brochard <pbrochard@common-lisp.net>
1993 * clfswm-internal.lisp (create-group-on-request): open a new group
1994 only when the current group is not empty.
1996 * bindings-second-mode.lisp (define-second-key-#\o-control): Fix a
1997 bug with null workspace.
1999 * clfswm-pager.lisp (pager-handle-event): Add a hook
2000 system. This hooks can be changed in the user configuration file.
2002 * package.lisp: All colors and font variables are set in
2003 package.lisp and can be configured in the user configuration
2005 Note: If you have configured some less ugly colors (esp. for the
2006 pager) don't hesitate to let me know :)
2008 * clfswm-second-mode.lisp (sm-handle-event): Add a hook
2009 system. This hooks can be changed in the user configuration file.
2011 * clfswm.lisp (handle-event): Add a hook system. This hooks can be
2012 changed in the user configuration file (~/.clfswmrc)
2014 2007-04-25 Philippe Brochard <pbrochard@common-lisp.net>
2016 * clfswm-util.lisp (stop-all-pending-actions): new function: reset
2017 arrow action, open next window in new workspace/group.
2019 * bindings.lisp (stop-all-pending-actions): new binding.
2020 (open-next-window-in-new-group-once): Open the next windows in a
2021 new group (only once) or open all new windows in a new group (like
2022 others windows managers).
2024 2007-04-22 Philippe Brochard <pbrochard@common-lisp.net>
2026 * clfswm.lisp (read-conf-file): New function to read a lisp
2027 configuration file at startup.
2028 (focus-group-under-mouse): Check if group isn't the current group
2029 ( prevent a bug with unclutter ).
2031 2007-03-02 Philippe Brochard <pbrochard@common-lisp.net>
2033 * bindings.lisp (run-program-from-query-string): A program can be
2034 launch from a input query window.
2036 2007-03-01 Philippe Brochard <pbrochard@common-lisp.net>
2038 * clfswm-info.lisp: Fix a bug with banish pointer in info mode.
2040 2007-02-28 Philippe Brochard <pbrochard@common-lisp.net>
2042 * clfswm.lisp (process-new-window): One can now open the next
2043 window in a workspace called by its number.
2045 * clfswm-util.lisp (query-font-string): Minimal editing
2047 (eval-from-string): And an REPL in the window manager... :)
2049 2007-02-26 Philippe Brochard <pbrochard@common-lisp.net>
2051 * clfswm.lisp (process-new-window): One can now open the next
2052 window in a new workspace or a new group.
2054 * clfswm-pager.lisp (pager-mode): Display the next arrow action
2055 with the hidden windows.
2057 * clfswm.lisp (second-key-mode): Display the current workspace
2058 number and the next arrow action in the state window.
2060 * clfswm-pager.lisp (pager-mode): Hide all windows before leaving
2061 the pager mode and then redisplay only the current workspace.
2063 2007-02-25 Philippe Brochard <pbrochard@common-lisp.net>
2065 * clfswm.lisp (add-workspace): Workspaces are now numbered. So
2066 they can be focused with a keypress, sorted or renumbered.
2068 2007-02-24 Philippe Brochard <pbrochard@common-lisp.net>
2070 * clfswm-pager.lisp (pager-mode): Remove multiple silly
2071 pager-draw-display. This prevent a lot of flickering in the
2074 * clfswm.lisp: Remove all display-force-output and replace them
2075 with only one display-finish-output in the event loop.
2077 2006-11-06 Philippe Brochard <pbrochard@common-lisp.net>
2079 * clfswm-pager.lisp (pager-center-group): New function - center a
2080 group at the middle of the screen.
2082 * clfswm-pack.lisp (center-group): New function - center a group
2083 at the middle of the screen.
2085 * clfswm.lisp (show-group): Add a cross line under the group.
2086 (show-group): Group are showned even if fullscreened.
2087 (init-display): Add an exposure event on the root window.
2089 2006-11-05 Philippe Brochard <pbrochard@common-lisp.net>
2091 * package.lisp (*default-group*): Default group is the same size
2092 of a fullscreened group.
2094 * bindings*: Use shift to move, control+shift to copy.
2096 * *.lisp: Add comments for configuration or alternatives. So grep
2097 for CONFIG to see where you can configure clfswm. And grep for
2098 Alternative to use some commented code.
2100 * clfswm.lisp (second-key-mode): Use a single window to show the
2101 second mode. See for alternatives at the end of this file.
2103 2006-11-03 Philippe Brochard <pbrochard@common-lisp.net>
2105 * clfswm-keys.lisp (define-define-key/mouse): Factorisation in a
2106 macro of key and mouse definitions.
2107 (define-define-key/mouse): Use state instead of modifiers list
2108 this fix a bug when the modifiers list is not in the rigth order.
2110 * clfswm.lisp (second-key-mode): Add a colored border in second mode.
2112 2006-11-02 Philippe Brochard <pbrochard@common-lisp.net>
2114 * clfswm-info.lisp (info-mode): Add an info mode.
2116 2006-11-01 Philippe Brochard <pbrochard@common-lisp.net>
2118 * clfswm.lisp (process-new-window): Change border size for
2120 (show-all-windows-in-workspace): Unhide all windows even when the
2121 current group is in fullscreen mode.
2123 2006-10-26 Philippe Brochard <pbrochard@common-lisp.net>
2125 * clfswm-util.lisp (identify-key): Add an exposure handle-event to
2126 redisplay the identify window after a terminal switch.
2128 * clfswm-pager.lisp (pager-mode): Add an exposure handle-event to
2129 redisplay the pager after a terminal switch.
2131 2006-10-24 Philippe Brochard <pbrochard@common-lisp.net>
2133 * clfswm-util.lisp (identify-key): Add a window to display
2134 the keys to identify on screen.
2136 * bindings.lisp, bindings-pager.lisp: Define same keys to
2137 move/copy groups/windows in second mode and in pager.
2139 * clfswm.lisp (handle-event*): Same version in all clfswm (fix some
2141 (show-all-windows-in-workspace): unhide window before adapting it
2144 2006-10-23 Philippe Brochard <pbrochard@common-lisp.net>
2146 * clfswm.lisp (handle-event): Revert to an older version.
2148 2006-10-18 Philippe Brochard <pbrochard@common-lisp.net>
2150 * clfswm-util.lisp (force-window-in-group)
2151 (force-window-center-in-group): New functions for transient windows.
2153 * clfswm-pager.lisp (pager-remove-current-workspace/group):
2154 bugfix: hide all windows before removing group or workspace.
2156 2006-10-17 Philippe Brochard <pbrochard@common-lisp.net>
2158 * bindings-pager.lisp (mouse-pager-move-selected-group)
2159 (mouse-pager-copy-selected-group)
2160 (mouse-pager-move-selected-window)
2161 (mouse-pager-copy-selected-window, mouse-pager-rotate-window-up)
2162 (mouse-pager-rotate-window-down): New functions to have mouse in
2165 * clfswm-pager.lisp (pager-swap-window)
2166 (pager-copy-group-on-next/previous-workspace)
2167 (pager-copy-window-on-next/previous-line): New functions
2169 2006-10-15 Philippe Brochard <pbrochard@common-lisp.net>
2171 * clfswm-pager.lisp (pager-move-window-on-next/previous-line,
2172 (pager-move-group-on-next/previous-workspace): new functions.
2174 * clfswm-pack.lisp (resize-half-x-x-current-group): resize group
2175 to its half size (new functions).
2177 2006-10-11 Philippe Brochard <pbrochard@common-lisp.net>
2179 * clfswm-pager.lisp: workspaces, groups and windows can now be
2180 selectionned with the keyboard or the mouse.
2182 2006-10-09 Philippe Brochard <pbrochard@common-lisp.net>
2184 * clfswm-pager.lisp (pager-select-workspace-right/left):
2185 workspaces can now be selectionned with the keyboard.
2187 2006-10-08 Philippe Brochard <pbrochard@common-lisp.net>
2189 * clfswm-keys.lisp (undefine-main-key, undefine-second-key, undefine-mouse-action):
2190 new function to remove a previous defined key or mouse combination.
2192 2006-10-07 Philippe Brochard <pbrochard@common-lisp.net>
2194 * clfswm.lisp (main): Check for access error in init-display.
2196 * clfswm-keys.lisp (define-ungrab/grab): check for keysym and
2197 keycode before grabbing.
2199 * bindings.lisp: Remove nlambda and use defun to keep the function
2200 documentation with clisp.
2201 (define-shell): new macro to define shell command for the second
2204 2006-10-06 Philippe Brochard <pbrochard@common-lisp.net>
2206 * clfswm-keys.lisp (define-ungrab/grab): use a cond instead of a
2209 2006-10-05 Philippe Brochard <pbrochard@common-lisp.net>
2211 * bindings.lisp (accept-motion): Move group bugfix in upper mouse
2212 workspace circulation.
2214 * clfswm-util.lisp (absorb-orphan-window): new function.
2216 * clfswm-keys.lisp: Keysyms support.
2218 2006-10-02 Philippe Brochard <pbrochard@common-lisp.net>
2220 * clfswm.lisp (show-group): Use one gc for all groups and not one
2223 2006-10-01 Philippe Brochard <pbrochard@common-lisp.net>
2225 * bindings.lisp (define-second-key (#\l :mod-1)): fix a typo.
2227 * clfswm.lisp (adapt-window-to-group): Adapt only windows with
2228 width and height outside group.
2230 2006-09-28 Philippe Brochard <pbrochard@common-lisp.net>
2232 * clfswm.lisp: First public release.