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