/[eclipse]/eclipse/misc.lisp
ViewVC logotype

Log of /eclipse/misc.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.49 - (view) (annotate) - [select for diffs]
Fri Apr 23 14:42:43 2010 UTC (3 years, 11 months ago) by ihatchondo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.48: +2 -2 lines
Diff to previous 1.48
Fix: cosmetic & cleanup changes in the way of handling EOF on the xlib:display object.

Revision 1.48 - (view) (annotate) - [select for diffs]
Fri Apr 2 09:57:53 2010 UTC (4 years ago) by ihatchondo
Branch: MAIN
Changes since 1.47: +23 -8 lines
Diff to previous 1.47
Fix: added some declaration type, and null verification so the clx patch should not be necessary anymore.
Fix: wm-normal-hints returns some inproper values in fields that should be ignored. Now, we replace those obsolote fields values by the window geometry.

Revision 1.47 - (view) (annotate) - [select for diffs]
Tue Nov 17 22:40:49 2009 UTC (4 years, 4 months ago) by ihatchondo
Branch: MAIN
Changes since 1.46: +4 -2 lines
Diff to previous 1.46
Add: backtrace for sbcl and clisp

Revision 1.46 - (view) (annotate) - [select for diffs]
Tue Nov 17 17:30:00 2009 UTC (4 years, 4 months ago) by ihatchondo
Branch: MAIN
Changes since 1.45: +24 -1 lines
Diff to previous 1.45
Add: wrapper functions around hash table to get window as key.

Revision 1.45 - (view) (annotate) - [select for diffs]
Wed Nov 4 19:24:59 2009 UTC (4 years, 5 months ago) by ihatchondo
Branch: MAIN
Changes since 1.44: +6 -5 lines
Diff to previous 1.44
Fix: find-empty might return nil ...

Revision 1.44 - (view) (annotate) - [select for diffs]
Mon Feb 23 00:00:35 2009 UTC (5 years, 1 month ago) by ihatchondo
Branch: MAIN
Changes since 1.43: +3 -2 lines
Diff to previous 1.43
Fix: session management connection: the window manager has to send the value of DESKTOP_AUTOSTART_ID env variable when no client-id has been provided on its command line.
Fix: minor hacking around implementation dependent functions.

Revision 1.43 - (view) (annotate) - [select for diffs]
Mon Apr 28 12:29:39 2008 UTC (5 years, 11 months ago) by ihatchondo
Branch: MAIN
Changes since 1.42: +9 -11 lines
Diff to previous 1.42
fix: nil event window

Revision 1.42 - (view) (annotate) - [select for diffs]
Fri Apr 25 16:02:49 2008 UTC (5 years, 11 months ago) by ihatchondo
Branch: MAIN
Changes since 1.41: +14 -12 lines
Diff to previous 1.41
Fix: hacking around *root-window* ...

Revision 1.41 - (view) (annotate) - [select for diffs]
Wed Apr 23 09:54:46 2008 UTC (5 years, 11 months ago) by ihatchondo
Branch: MAIN
Changes since 1.40: +17 -3 lines
Diff to previous 1.40
Fix: netwm-user-time usage, and some withdrawal glitches.

Revision 1.40 - (view) (annotate) - [select for diffs]
Fri Nov 2 09:33:08 2007 UTC (6 years, 5 months ago) by ihatchondo
Branch: MAIN
Changes since 1.39: +7 -6 lines
Diff to previous 1.39
Fix: bug, desktop window were restacked when one of their modal or transient for were.

Revision 1.39 - (view) (annotate) - [select for diffs]
Mon May 7 13:22:50 2007 UTC (6 years, 11 months ago) by ihatchondo
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38
Fix:
- configure-window when configuring panel window should honor size without guessing anything (misc.lisp).
- map-request race condition (input.lisp & widget.lisp)
Added: - application-panel-p predicate (widget.lisp)

Revision 1.38 - (view) (annotate) - [select for diffs]
Mon May 7 00:19:10 2007 UTC (6 years, 11 months ago) by ihatchondo
Branch: MAIN
Changes since 1.37: +4 -3 lines
Diff to previous 1.37
Fix:
- screen-window-layer computation when the window doesn't have any workspace number associated with.
- make-viewport-property has only one viewport since we don't handled multiple viewport.

Revision 1.37 - (view) (annotate) - [select for diffs]
Fri May 4 17:45:19 2007 UTC (6 years, 11 months ago) by ihatchondo
Branch: MAIN
Changes since 1.36: +7 -6 lines
Diff to previous 1.36
Fix: the max sizes were not properly computed.

Revision 1.36 - (view) (annotate) - [select for diffs]
Fri May 4 08:26:14 2007 UTC (6 years, 11 months ago) by ihatchondo
Branch: MAIN
Changes since 1.35: +11 -1 lines
Diff to previous 1.35
Fix: - _net_wm_state_maximized were improperly handled when an application is newly decorated.
     - recomputation of the application geometry before maximization when the wm-size-hints property is changed.
     - handling of the _net_wm_state_maximized in configure-window (misc.lisp)
     - _net_wm__state property update before put an application in fullscreen to avoid race conditions. (widgets.lisp)

Revision 1.35 - (view) (annotate) - [select for diffs]
Sat Jan 21 19:15:57 2006 UTC (8 years, 2 months ago) by ihatchondo
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
fix typo. Thanks to Luca.

Revision 1.34 - (view) (annotate) - [select for diffs]
Wed Sep 21 16:34:40 2005 UTC (8 years, 6 months ago) by ihatchondo
Branch: MAIN
Changes since 1.33: +18 -22 lines
Diff to previous 1.33
doc formatting update.

Revision 1.33 - (view) (annotate) - [select for diffs]
Mon Jan 17 22:53:39 2005 UTC (9 years, 2 months ago) by ihatchondo
Branch: MAIN
Changes since 1.32: +31 -2 lines
Diff to previous 1.32
Documentation update and minor clean up.

Revision 1.32 - (view) (annotate) - [select for diffs]
Thu Jan 6 16:24:18 2005 UTC (9 years, 3 months ago) by ihatchondo
Branch: MAIN
Changes since 1.31: +81 -50 lines
Diff to previous 1.31
Documentation.

Revision 1.31 - (view) (annotate) - [select for diffs]
Fri Aug 20 21:51:08 2004 UTC (9 years, 7 months ago) by ihatchondo
Branch: MAIN
Changes since 1.30: +7 -7 lines
Diff to previous 1.30
Apply part of Dan Barlow's patch.

Revision 1.30 - (view) (annotate) - [select for diffs]
Fri Jun 18 22:01:53 2004 UTC (9 years, 9 months ago) by ihatchondo
Branch: MAIN
Changes since 1.29: +27 -17 lines
Diff to previous 1.29
widgets.lisp: fix Edi Weitz report on put-on-bottom.
misc.lisp: cosmetic changes in set-window-piority
eclipse.lisp: fix a strange bug that appear sometimes when eclipse restart and has previously grabbed the pointer.

Revision 1.29 - (view) (annotate) - [select for diffs]
Wed Mar 10 17:13:14 2004 UTC (10 years, 1 month ago) by ihatchondo
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28
displaced macro current-desk from virtual-screen to misc where its place is.

Revision 1.28 - (view) (annotate) - [select for diffs]
Tue Mar 9 19:26:27 2004 UTC (10 years, 1 month ago) by ihatchondo
Branch: MAIN
Changes since 1.27: +8 -8 lines
Diff to previous 1.27
some type declaration added.

Revision 1.27 - (view) (annotate) - [select for diffs]
Thu Mar 4 20:15:16 2004 UTC (10 years, 1 month ago) by ihatchondo
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26
remove bogus ash call when calling ppm::color->x-color

Revision 1.26 - (view) (annotate) - [select for diffs]
Thu Mar 4 15:37:49 2004 UTC (10 years, 1 month ago) by ihatchondo
Branch: MAIN
Changes since 1.25: +4 -6 lines
Diff to previous 1.25
Total redesign of the pacakge ppm.

Revision 1.25 - (view) (annotate) - [select for diffs]
Thu Mar 4 12:59:43 2004 UTC (10 years, 1 month ago) by ihatchondo
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
fix invalid array element type in image creation.
fix unsuported (in some implementation &body (decls form).

Revision 1.24 - (view) (annotate) - [select for diffs]
Thu Feb 12 23:30:22 2004 UTC (10 years, 2 months ago) by ihatchondo
Branch: MAIN
Changes since 1.23: +100 -47 lines
Diff to previous 1.23
- change in the movement handlers that allow undecorated windows (xmms
  for example) to moved through mouse strokes or menu.
  (input.lisp gestures.lisp move-resize.lisp wm.lisp)

- group of windows (such as described in the ICCCM) are now honored:
  transient-for windows are supposed to be stack under their
  dialogs. As another effect, iconifying or sending to another desktop
  one window of a group affect the entire group.

- a new option is now available:
    *save-and-restore-pointer-position-during-workspace-switch*
   that allows to save pointer position before switching from a
   desktop to another and restore previous position when arriving on
   the new one. (misc.lisp virtual-screen.lisp) This has been done via
   a private property on the root window named:
     _ECLIPSE_DESKTOP_POINTER_POSITIONS

- _NET_MOVERESIZE_WINDOW client message is now supported.

- _NET_WM_STATE_STICKY is now supported. (is it correct since Eclipse
  does not implements area's ?)

- an ECLIPSE-EXTENSIONS package is defined in order to export all
  symbols provides by future Eclipse extensions.

- bug fix in:
   - (setf window-priority)
   - dead windows during window cycling (gestures.lisp)
   - window placement (wm.lisp) decoration where incorrectly placed
     when user indicates its preferences (via the wm_normal_hints
     property)
   - minor changes in destroy-notify handling on decoration.

- man page, changelog, compliance updated.

Revision 1.23 - (view) (annotate) - [select for diffs]
Mon Feb 2 09:43:58 2004 UTC (10 years, 2 months ago) by ihatchondo
Branch: MAIN
Changes since 1.22: +41 -36 lines
Diff to previous 1.22
add missing test in configure-window when sending synthetic configure-notify.
turn :button-motion into :pointer-motion in +pointer-event-mask+

Revision 1.22 - (view) (annotate) - [select for diffs]
Thu Jan 22 22:02:54 2004 UTC (10 years, 2 months ago) by ihatchondo
Branch: MAIN
Changes since 1.21: +3 -2 lines
Diff to previous 1.21
fix missing type test in configure-window.
more hacking in (setf fullscreen).

Revision 1.21 - (view) (annotate) - [select for diffs]
Tue Jan 20 15:27:42 2004 UTC (10 years, 2 months ago) by ihatchondo
Branch: MAIN
Changes since 1.20: +2 -4 lines
Diff to previous 1.20
removed ignored condition parameter in run-application handler-case.

Revision 1.20 - (view) (annotate) - [select for diffs]
Tue Jan 20 13:08:46 2004 UTC (10 years, 2 months ago) by ihatchondo
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
indentaion.

Revision 1.19 - (view) (annotate) - [select for diffs]
Tue Jan 20 12:58:01 2004 UTC (10 years, 2 months ago) by ihatchondo
Branch: MAIN
Changes since 1.18: +23 -23 lines
Diff to previous 1.18
more hacking.

Revision 1.18 - (view) (annotate) - [select for diffs]
Mon Jan 19 16:19:17 2004 UTC (10 years, 2 months ago) by ihatchondo
Branch: MAIN
Changes since 1.17: +20 -5 lines
Diff to previous 1.17
update-workarea-property [ function ] root-widget
 computes and sets the _net_workarea property for the root-window.

Revision 1.17 - (view) (annotate) - [select for diffs]
Sat Jan 17 18:22:34 2004 UTC (10 years, 3 months ago) by ihatchondo
Branch: MAIN
Changes since 1.16: +54 -1 lines
Diff to previous 1.16
- misc.lisp:
configure-window [ function ]
   (window &key x y width height stack-mode sibling gravity)

Configure a window. The coordinate system in which the location is expressed
is that of the root (irrespective of any reparenting that may have occurred).
The coordinates will be updated according to the given gravity position hint,
or to the most recently requested by the client.

- input.lisp:
 changed configure-request handling to use configure-window.
 add :_NET_MOVERESIZE_WINDOW client message handling.

Revision 1.16 - (view) (annotate) - [select for diffs]
Tue Jan 6 17:02:06 2004 UTC (10 years, 3 months ago) by ihatchondo
Branch: MAIN
Changes since 1.15: +6 -9 lines
Diff to previous 1.15
clean up.
turned in eclipse-internal-loop the handler-bind for a handler-case.
some error handlers had been modified.

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Nov 28 10:13:47 2003 UTC (10 years, 4 months ago) by ihatchondo
Branch: MAIN
Changes since 1.14: +27 -2 lines
Diff to previous 1.14
add support for icon as described in the exwm spec.
 - decode-netwm-icon-pixmap (misc.lisp)
 - small impacts in gestures.lisp & widgets.lisp.

add a new callback on the application list root menu:
 when no window on a desktop then releasing the mouse button on such an entry
 will put you on that desktop. (wm.lisp)

package.lisp updated.

Revision 1.14 - (view) (annotate) - [select for diffs]
Wed Nov 19 10:29:08 2003 UTC (10 years, 4 months ago) by ihatchondo
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13
More hacking.
change get-screen-content for screen-content. Some keyword parameter added.

Revision 1.13 - (view) (annotate) - [select for diffs]
Thu Nov 13 11:12:28 2003 UTC (10 years, 5 months ago) by ihatchondo
Branch: MAIN
Changes since 1.12: +61 -9 lines
Diff to previous 1.12
Fix incorect handling of the states _net_wm_state_{above, below}.

They are permanent as the other states (see inpout.lisp).

It implies that the (setf window-priority) should take those state in account when modifying the stack order (see misc.lisp)

This have as last implication, that we should work with an external list of window for the window circulation keystrokes. Indeed, if one window has the _net_wm_state_above state then it will always be on top of the others. What means, that will stay stuck on this window during circulation. (see minor signature modification of circulate-window in virtual-screen.lisp, and small hack in gestures.lisp)

Revision 1.12 - (view) (annotate) - [select for diffs]
Mon Oct 6 17:57:26 2003 UTC (10 years, 6 months ago) by ihatchondo
Branch: MAIN
Changes since 1.11: +9 -9 lines
Diff to previous 1.11
- Window rotation (Alt-Tab) re-designed. It now works as in almost
  every window managers. Press Alt-Tab once will raise the next
  application, on the current desktop, according to the current
  stacking order. If Alt is released then pressing again Alt-Tab will
  put back the precedent application. Otherwise if you kipped Alt down
  then Tab again and the next application will be brought on top of the
  others, and the precedent one is back on its depth. And so on
  until you come back on the first one.
  The same mechanism is available with say Alt-a. It just rotate
  windows on the other sens.

- The window rotation may be verbose by displaying a small window
  indicating the name and the icon, if provided, of the application
  that comes on top of the others.
  To disable it do (setf *verbose-window-cycling* nil) in your eclipse
  config file.

- The window rotation may also cycle the current desktop iconified
  applications. To disable it do (setf *cycle-icons-p* nil) in
  your eclipse config file.

- Screen edges are now resistant.

- fix menu bug. They don't anymore appear below their applications.

- a maximized window does not allow anymore to be resized in the
  directions in which it has been maximized.

- the message-box may now display a centered pixmap before the text.

- package.lisp updated.

- man page updated.

- changelog updated.

Revision 1.11 - (view) (annotate) - [select for diffs]
Tue Sep 16 14:47:12 2003 UTC (10 years, 7 months ago) by hatchond
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
fix typo.

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue Sep 16 14:24:41 2003 UTC (10 years, 7 months ago) by hatchond
Branch: MAIN
Changes since 1.9: +45 -13 lines
Diff to previous 1.9
- misc.lisp:
  lots documentation added
  gnome-desktop-num turned in window-desktop-num
- input.lisp, wm.lisp, virtual-screen.lisp, package.lisp, global.lisp
  gnome-desktop-num -> window-desktop-num

Revision 1.9 - (view) (annotate) - [select for diffs]
Fri Sep 12 01:15:16 2003 UTC (10 years, 7 months ago) by hatchond
Branch: MAIN
Changes since 1.8: +3 -4 lines
Diff to previous 1.8
delete-root-properties -> delete-properties

Revision 1.8 - (view) (annotate) - [select for diffs]
Wed Sep 10 23:56:19 2003 UTC (10 years, 7 months ago) by hatchond
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
*** empty log message ***

Revision 1.7 - (view) (annotate) - [select for diffs]
Thu Aug 28 14:50:35 2003 UTC (10 years, 7 months ago) by hatchond
Branch: MAIN
Changes since 1.6: +23 -17 lines
Diff to previous 1.6
shade is now implemented (wm.lisp).
  To {un}shade a window double click on title bar.

  shaded-p widget: [generic function]
  return the actual shade state in the sens of the extended wm
  specification.

  timestamp: slot of the title-bar class. (NEW)
  :_net_wm_state_shaded added in +netwm-protocol+

- *double-click-speed*: [global variable]
  use it to customize the time you want for double click.
  Default value: 200 (timestamp unit of the X server)

- added support for the xvidmode extension
  (lib/clx-ext/xvidmode.lisp).

- added support for :net_wm_state_{below, above} in input.lisp

- the following methods have created for manipulating widgets stacking
  order.

  - put-on-top widget [generic function]
    sets the widget stacking order on top of the others.

  - put-on-bottom widget [generic function]
    sets the widget stacking order on bottom of the others (except if
    any widget with :_net_wm_type_desktop is present and widget is or
    an application or a decoration).

- various  bug fix and improvements:

  - typo fix *wRAp-pointer-when-cycle* => *wARp-pointer-when-cycle*

  - set-focus now cares of the map state of the window it is supose to
    gives the focus to. (Should avoid lots of match-error).
    Wrong nil timestamp has been fixed.
    (wm.lisp)

  - minor change in the unmap-notify event handling. Closing an
    application should not any more systematically provoke a
    window-error error. (input.lisp)

  - fullscreen-mode should now be correct: the spec say it would be
    better to undecore the window when in fullscreen. It is now how it
    works. (widgets.lisp)

    (One more feature of this function is still under discussion in
    the freedesktop team that may introduce modifications in the
    future)

    typo fix full-screen-mode => fullscreen-mode

  - maximize-window signature changes (wm.lisp):
    It now expect an application instead of a decoration.
    This have been done because non decorated window should be
    able to be maximized as well as decorated one. It is now the
    case. It has serval side effects:
     - slot initial-geometry in class decoration doesn't exist
       anymore.
     - new private slot added in class application: max-geometry.
     - STROKES USING MAXIMIZE-WINDOW SHOULD BE UPDATED.

  - minor changes in update-edges-geometry, and move-resize.lisp.

  - clean up in eclipse.lisp (delete unused code).

  - virtual-screen.lisp re-implementation. It now use the X server
    data such the root window tree, and window property that hold the
    desktop number instead of a substructure hold by the root object
    that has to be updated each time you destroy, iconify, unicofy,
    shade, unshade, etc.

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed May 14 08:56:17 2003 UTC (10 years, 11 months ago) by hatchond
Branch: MAIN
Changes since 1.5: +5 -1 lines
Diff to previous 1.5
ICCCM complience and extended window manager specification complience.
 - bugs fix relative to ewt wm spec (i.e.: we now should interact correctly with gnome 2.2)
 - added ICCCM session managment complience: we now use/react to the owning of the WM_S{screen number} selection. see ICCCM 2.8

we still need gnome session managment conection.

Revision 1.5 - (view) (annotate) - [select for diffs]
Tue May 13 14:54:01 2003 UTC (10 years, 11 months ago) by hatchond
Branch: MAIN
Changes since 1.4: +28 -2 lines
Diff to previous 1.4
applied Christian Lynbech patch for icon managment:
"Here is a diff that adds what I think is improved icon handling. It
provides an icon box, ie. a configurable place where icons are
stacked. As part of this change, I have changed the default location
of icons from (750,50) to (0,0). If the icon box overflows, icons will
be created ayt (0,0). I have also decreased the default height from 60
to 20 to minimize the space waste (if the application supplies an
icon, it will of course take precedence).

The patch allso adds different kinds of sorting options. Icons can be
sorted by creation time (I have added a new slot in the `icon' class)
or name or class (or whatever else you can think of).

Unrelated to the icon box thing, the patch also contains a set of
application inspection function (see the end of "misc.lisp"), A
disabling of the expression that removes the "Exit" entry in the root
menu so that you can close Eclipse down and finally a new option,
*close-display-p*, that regulates whether exiting Eclipse also kills
the entire X session (if *close-display-p* is nil, Eclipse will just
exit).

It still needs a few things, such as the possibility of disabling the
icon box and other fill orders than :top-right (ie. filling from the
top right corner of the box).

Let me know what you think."

plus small corrections from me (for fullscreen-mode, but it still cause problems).

Revision 1.4 - (view) (annotate) - [select for diffs]
Mon Apr 7 13:35:32 2003 UTC (11 years ago) by hatchond
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3
ignore upadted and added in lib lib/clx-ext.
misc.lisp: wrong type in geometry structure.
input.lisp: Erik Enge patch for focus widget when click on maximize/menu button

The rest is Christian Lynbech patch for eclipse buildings scripts (configure.in Makefile.in ... new file config.lisp.in)

Thanks to both of you for your patches.

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Mar 21 09:54:47 2003 UTC (11 years ago) by hatchond
Branch: MAIN
Changes since 1.2: +22 -1 lines
Diff to previous 1.2
added one missing specialized method focus-widget on push-button.
The rest is more or less some netwm complience improvement (fullscreen, hidden, icon-name, maximized).
 - initial-geometry decoration slot type changed: it is now a struct defined in misc.lisp.
 - the same slot has been add in application for fullscreen purpose.
 - fix bogus undecore-application.

Revision 1.2 - (view) (annotate) - [select for diffs]
Sun Mar 16 01:00:22 2003 UTC (11 years, 1 month ago) by hatchond
Branch: MAIN
Changes since 1.1: +15 -9 lines
Diff to previous 1.1
minor update for netwm complience with net_wm_state_hidden.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Nov 7 15:06:03 2002 UTC (11 years, 5 months ago) by hatchond
Branch: MAIN
to files missing.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5