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