Added shadow precomputation for large-enough windows.
[dana/xcompmgr.git] / ChangeLog
1 2004-09-21  Dan Doel  <dolio@case.edu>
2
3         * xcompmgr.c: (presum_gaussian), (make_shadow), (main):
4         Added precomputation of shadows to make them a little more
5         friendly to slower computers (and make ridiculously huge
6         shadows usable on faster computers).
7
8 2004-09-20  Adam Jackson  <ajax@freedesktop.org>
9
10         * xcompmgr.c:
11         Print the version number in the usage summary.
12
13 2004-09-17  Dan Doel  <dolio@case.edu>
14
15         * xcompmgr.c: (win_extents), (usage), (main):
16         Added various client-side shadow options (opacity, offset, radius)
17         based on the work of Thomas Luebking.
18         * xcompmgr.1:
19         Added descriptions of the options in the man page.
20
21 2004-09-17  Dan Doel  <dolio@case.edu>
22
23         * xcompmgr.c: (usage):
24         Changed the usage function to describe the available options.
25
26 2004-09-17  Dan Doel  <dolio@case.edu>
27
28         * xcompmgr.c: (shadow_picture):
29         Added some tests to check for failed pixmap/picture/gc allocations and
30         exit appropriately.
31
32 2004-09-14  Adam Jackson  <ajax@freedesktop.org>
33
34         * xcompmgr.c:
35         Bug #1360: Fix a segfault by checking the return value of XQueryTree.
36         (Johan Kiviniemi)
37
38 2004-09-10  Adam Jackson  <ajax@freedesktop.org>
39
40         * xcompmgr.c:
41         Bug fixes and more pretty effects from Dan Doel.
42         * xcompmgr.1, Makefile.am:
43         More doc, fix the suffix so the man page installs in a sane place.
44
45 2004-09-08  Adam Jackson  <ajax@freedesktop.org>
46
47         * xcompmgr.man, Makefile.am:
48         Add a man page.
49
50 2004-08-14  Keith Packard  <keithp@keithp.com>
51
52         * xcompmgr.c: (error), (usage), (main):
53         Remove abort call as it's just annoying.
54         Add -a flag to just use Automatic compositing.  No glitz, but no
55         screen mangling either.
56
57 2004-08-13  Keith Packard  <keithp@keithp.com>
58
59         * xcompmgr.c: (paint_all), (repair_win), (map_win),
60         (finish_unmap_win), (add_win), (configure_win), (damage_win),
61         (error), (main):
62         Add name window pixmap support
63
64 2004-07-08  Ely Levy  <elylevy-xserver@cs.huji.ac.il>
65
66         reviewed by: Keith Packard
67
68         * xcompmgr.c: (get_time_in_milliseconds):
69         Eliminate 'struct timezone tz' as it isn't used.
70
71 2004-07-08  Keith Packard  <keithp@keithp.com>
72
73         * xcompmgr.c: (get_time_in_milliseconds), (find_fade),
74         (dequeue_fade), (cleanup_fade), (enqueue_fade), (set_fade),
75         (fade_timeout), (run_fades), (paint_all), (map_win),
76         (finish_unmap_win), (unmap_callback), (unmap_win),
77         (determine_mode), (add_win), (configure_win), (finish_destroy_win),
78         (destroy_callback), (destroy_win), (error), (main):
79         Add fade-in/fade-out support (-f option).
80         Clean up leak of solid alpha picture per redraw of constant-alpha
81         windows.
82
83 2004-06-27  Keith Packard  <keithp@keithp.com>
84
85         * xcompmgr.c: (map_win), (unmap_win), (main):
86         Only use XCompositeNameWindowPixmap when the library provides it
87
88 2004-06-26  Keith Packard  <keithp@keithp.com>
89
90         * xcompmgr.c: (win_extents), (paint_all), (repair_win),
91         (unmap_win), (usage), (main):
92         Make composite manager mode run-time selectable with
93         command line option:
94          -s:    server-side shadows (sharp, but follows window alpha)
95          -c:    client-side shadows (blurred, but uses window extents only)
96          -n:    no shadows (this is the default mode)
97
98 2004-06-26  Keith Packard  <keithp@keithp.com>
99
100         * xcompmgr.c: (make_gaussian_map), (make_shadow), (shadow_picture),
101         (solid_picture), (discard_ignore), (set_ignore), (should_ignore),
102         (win_extents), (border_size), (paint_all), (repair_win), (map_win),
103         (unmap_win), (get_opacity_prop), (determine_mode), (add_win),
104         (destroy_win), (error), (main):
105         Ok, this synchronizes all of my changes for the last many months.
106         Has code to do server-based shadows (SHARP_SHADOW).
107         Has code to try and ignore appropriate errors (helps somewhat).
108         Has code to handle global window translucency.
109         Lots of other minor changes.
110
111 2004-05-17  Eric Anholt  <anholt@FreeBSD.org>
112
113         * configure.ac:
114         Autoconf 2.57 appears to work fine, as well.
115
116 2004-03-31  Philip Blundell  <philb@gnu.org>
117
118         * Makefile.am: Set INCLUDES, not xcompmgr_INCLUDES.
119
120 2004-03-28  Philip Blundell  <philb@gnu.org>
121
122         * autogen.sh: New.
123
124 2004-03-25  Philip Blundell  <philb@gnu.org>
125
126         Autotoolized:
127         * Makefile.am, configure.ac: New files.
128         * NEWS, README, AUTHORS: Likewise.
129         * Makefile: Deleted.
130
131 2003-12-02  Keith Packard  <keithp@keithp.com>
132
133         * xcompmgr.c: (sum_gaussian), (make_shadow), (root_tile),
134         (paint_all), (map_win), (unmap_win), (determine_mode),
135         (configure_win), (circulate_win), (main):
136         Track whether cliplists have changed and avoid computation when not.
137         Shrink shadows.
138         Speed up shadow construction a bit by using memset.
139         Eliminate useless INTERVAL code.
140         Use XSync after paint_all to gather more events per update.
141
142 2003-11-24  Matthew Hawn <hawnpawn@yahoo.com>
143
144         reviewed by: Keith Packard  <keithp@keithp.com>
145
146         * xcompmgr.c: (map_win), (unmap_win), (get_trans_prop),
147         (determine_mode), (add_win), (main):
148         Add support for CM_TRANSLUCENT property.
149
150 2003-11-23  Keith Packard  <keithp@keithp.com>
151
152         * xcompmgr.c: (make_shadow), (root_tile), (win_extents),
153         (border_size), (paint_all), (repair_win), (map_win), (unmap_win),
154         (add_win), (restack_win), (configure_win), (circulate_win),
155         (destroy_win), (ev_serial), (ev_name), (ev_window), (main):
156         
157         Rename gussianMap to gaussianMap (who the heck is gus?)
158         Allow for other names for the root pixmap
159         Handle non-zero border widths better (need Composite change
160         to display them though).
161         Add MONITOR_UPDATE mode that eliminates double buffering and
162         blanks the screen to make sequence of update operations visible.
163         Leave damage object around to catch map damage right.
164         Add CirculateNotify support.
165
166 2003-11-23  Eric Anholt  <anholt@FreeBSD.org>
167
168         * xcompmgr.c: (border_size), (paint_all), (add_damage),
169         (repair_win), (configure_win):
170         Fix for latest Xfixes changes.
171
172         Submitted by: <stephan@wilkogazu.nl>
173
174 2003-11-19  Carl Worth  <cworth@isi.edu>
175
176         * xcompmgr.c: Eliminate several compiler warnings: missing
177         includes, static functions, unused variables.  Remove confusing
178         informational messages with the word "error" in them.
179
180 2003-11-14  Keith Packard  <keithp@keithp.com>
181
182         * xcompmgr.c: (main):
183         Eliminate all delays in updates; let the X server scheduling
184         handle things.
185
186 2003-11-13  Keith Packard  <keithp@keithp.com>
187
188         * xcompmgr.c:
189         Reduce scheduling latency to 10ms
190
191 2003-11-13  Keith Packard  <keithp@keithp.com>
192
193         * xcompmgr.c: (make_gaussian_map), (sum_gaussian), (make_shadow),
194         (shadow_picture), (paint_all), (main):
195         Use an alpha map instead of an ARGB picture for shadows.
196         Update last_update only when actually updating windows.
197
198 2003-11-11  Keith Packard  <keithp@keithp.com>
199
200         * xcompmgr.c: (win_extents), (paint_all), (add_win), (main):
201         Detect ARGB windows, don't give them shadows, compose them
202         correctly.
203
204 2003-11-10  Keith Packard  <keithp@keithp.com>
205
206         * Makefile:
207         * xcompmgr.c: (root_tile), (main):
208         Track changes to _XROOTPMAP_ID property
209
210 2003-11-09  Keith Packard  <keithp@keithp.com>
211
212         * xcompmgr.c: (time_in_millis), (main):
213         Add a bit of scheduling to updates; update every 30 ms
214         instead of waiting for more events.  Smooths out window moving.
215         Interval needs to be configurable probably.
216
217 2003-11-09  Keith Packard  <keithp@keithp.com>
218
219         * xcompmgr.c: (root_tile):
220         Make sure _XROOTPMAP_ID property is right type, format and length
221         before attempting to use the resulting value.
222
223 2003-11-09  Keith Packard  <keithp@keithp.com>
224
225         * xcompmgr.c: (configure_win):
226         Configure damage must include shadow region, not just window.
227         Also, leaking region on each configure.
228
229 2003-11-09  Keith Packard  <keithp@keithp.com>
230
231         * xcompmgr.c: (main):
232         oops.  Left in an XSynchronize call.
233
234 2003-11-09  Keith Packard  <keithp@keithp.com>
235
236         * xcompmgr.c: (paint_root), (paint_all), (map_win), (add_win),
237         (configure_win), (destroy_win), (main):
238
239         Double buffer updates.
240         Check for InputOnly windows and ignore them
241
242 2003-11-09  Keith Packard  <keithp@keithp.com>
243
244         * xcompmgr.c: (root_tile), (paint_root):
245         Detect root pattern with undocumented _XROOTPMAP_ID property
246
247 2003-11-09  Keith Packard  <keithp@keithp.com>
248
249         * Makefile:
250         * xcompmgr.c: (gaussian), (make_gaussian_map), (sum_gaussian),
251         (make_shadow), (shadow_picture), (win_extents), (paint_all),
252         (map_win), (unmap_win), (add_win), (configure_win), (main):
253         Add drop shadows.