1 2 xautolock 3 ========= 4 5 Authors : Michel Eyckmans (MCE) & Stefan De Troch (SDT) 6 7 History : - Version 1.0 implemented on 22/07/1990 8 - Version 1.1 for private use only 9 - Version 1.2 for private use only 10 - Version 1.3 for private use only 11 - Version 1.4 for private use only 12 - Version 1.6 for private use only 13 - Version 1.7 released on 07/04/1992 14 - Version 1.8 released on 15/05/1992 15 - Version 1.9 released on 24/01/1995 16 - Version 1.10 released on 22/02/1995 17 - Version 1.11 released on 03/11/1997 18 - Version 1.12 released on 09/08/1998 19 - Version 1.13 released on 13/08/1998 20 - Version 1.14 released on 18/11/1998 21 - Version 1.15 released on 13/03/1999 22 - Version 2.0 released on 06/05/2001 23 - Version 2.1 released on 16/01/2002 24 - Version 2.2 released on 28/12/2007 25 26 Review : - 28/12/2007 (MCE) : 27 . Make `gcc -Wall' shut up about irrelevant stuff, 28 even if it's gcc 4.0 we're talking about. 29 - 30/09/2007 (MCE) : 30 . Updated contact information to reflect some turbulent 31 events of 2006. 32 - 08/09/2004 (MCE) : 33 . Make `gcc -Wall' shut up about irrelevant stuff, 34 even if it's gcc 3.4 we're talking about (patch 35 apparently by Pawel Worach <pawel.worach@telia.com>). 36 - 20/04/2004 (MCE) : 37 . Added the `-detectsleep' option (original patch by 38 Cedric Pradalier <cedric.pradalier@inrialpes.fr>.) 39 - 12/12/2001 (MCE) : 40 . Made the `-notify' option work again. (Bug reported 41 by Matanya Elchanani <matanya@bridgeport.edu>.) 42 - 10/09/2001 (MCE) : 43 . Re-ported to OpenVMS. (Once more thanks to Jouk 44 Jansen <joukj@hrem.stm.tudelft.nl>.) 45 - 05/05/2001 (MCE) : 46 . Disable the reading of $HOME/.Xdefaults files by 47 default. It's a bad idea. Users should always use 48 xrdb to process these. For more information, see 49 the comment in src/options.c. 50 . More general clean up. 51 . Version 2.0 and above are GPL-ed. 52 - 16/04/2001 (MCE) : 53 . Finished the initial 2.0 work by recombining the 54 pieces into a more understandable structure. 55 - 23/03/2001 (MCE) : 56 . Started work on the 2.0 version by finally cutting 57 the big mess into little pieces and ANSIfying them. 58 - 01/11/1999 (MCE) : 59 . Added the "-restart" option. 60 - 02/09/1999 (MCE) : 61 . On UNIX, only prepend the locker commands with `exec' 62 if they actually contain only a single command. (Bug 63 reported by Guenther Grau <Guenther.Grau@bosch.com>.) 64 . Removed some old and no longer used VMS cruft. 65 - 01/06/1999 (MCE) : 66 . Ignore any message found during the very first call 67 to LookForMessages(). 68 - 06/04/1999 (MCE) : 69 . Minor improvements to the VMS port. (Again thanks 70 to Jouk Jansen <joukj@hrem.stm.tudelft.nl>.) 71 - 11/03/1999 (MCE) : 72 . Fixed the communication code to always do the right 73 thing when handling "-exit". 74 - 16/02/1999 (MCE) : 75 . Ripped out the use of signals to communicate with 76 other xautolock processes. This removes the limit 77 on the number of possible messages (yesterday's 78 change was pushing that very hard) and makes things 79 more portable as well. 80 - 15/02/1999 (MCE) : 81 . Added the "-locknow", "-unlocknow", and "-nowlocker" 82 options. (Thanks to Timo J Rinne <tri@iki.fi> for the 83 original patch (slightly modified by me).) 84 . Some minor clean up. 85 - 05/02/1999 (MCE) : 86 . The VMS port should now actually work more or less. 87 (Thanks to Jouk Jansen <joukj@hrem.stm.tudelft.nl> 88 for taking the trouble to actually submit a patch.) 89 . Fixed an include file conflict on AIX. (Also thanks 90 to Jouk Jansen <joukj@hrem.stm.tudelft.nl>.) 91 - 19/10/1998 (MCE) : 92 . Added the "-exit" option. (Based on a patch by 93 Yakov Yukhnovetsky <yakov.yukhnovetsky@telrad.co.il>.) 94 - 11/08/1998 (MCE) : 95 . Include pwd.h to make the $HOME/.Xdefaults stuff 96 compile on more platforms. (Problem reported by 97 Jens Schleusener <Jens.Schleusener@dlr.de>.) 98 - 09/08/1998 (MCE) : 99 . Plugged a memory leak in the $HOME/.Xdefaults code. 100 . Updated this changelog to always mention the full 101 names of people. Provided I know them, that is... 102 - 03/06/1998 (MCE) : 103 . Extended the (unreleased) debugging code somewhat. 104 - 08/04/1998 (MCE) : 105 . Cleaned up some of the stuff that LCLint complained 106 about (but definitely not all of it). 107 - 14/11/1997 (MCE) : 108 . Read resources from $HOME/.Xdefaults as a last resort. 109 (Suggested by Marc Baudoin <Marc.Baudoin@solsoft.com>.) 110 - 27/10/1997 (MCE) : 111 . Added support for the MIT ScreenSaver extension. 112 . Made gcc -Wall shut up on Linux and HP-UX 10. 113 - 25/10/1997 (MCE) : 114 . Merged in lots of VMS portability fixes taken 115 from the latest VMS version. (Original code 116 by Hunter Goatley <goathunter@madgoat.com>.) Untested! 117 . Replaced the "-killpid" option with the "-killer" 118 one to allow for more flexibility. 119 - 10/08/1997 (MCE) : 120 . On VMS, use LIB$SPAWN rather than vfork to work 121 around DECC/VAXC interoperability problems. (Taken 122 from one of the many VMS branch versions.) Untested! 123 . Added code to properly handle the -locker option 124 to the VMS version. (Based on a patch by 125 Erez Gur <gur.erez@a1.tavis.iso.mts.dec.com>.) Untested! 126 - 30/06/1997 (MCE) : 127 . Added the "-resetsaver" option to aid people with 128 DPMS monitors. (Triggered by Ian Rawlings 129 <ian@tarcus.demon.co.uk>.) 130 - 03/04/1997 (MCE) : 131 . Cleaned up the (unreleased) debugging code. 132 . Fixed some minor bugs concerning "-killpid" and 133 "-killtime". 134 - 21/08/1996 (MCE) : 135 . Do not free() the return value of getenv(). 136 (Pointed out by Stefan Jais <stefan.jais@pr-steyr.ac.at>.) 137 - 25/06/1996 (MCE) : 138 . General clean up. 139 - 23/06/1996 (MCE) : 140 . Incorporated the "-secure", "-killtime" and 141 "-killpid" options. (Based on a patch provided 142 by Tony Mione <mione@nbcs.rutgers.edu>.) 143 - 07/05/1996 (MCE) : 144 . Allow the user to exploit the entire range of 145 bell_percent values supported by XBell(). 146 (Suggested by Eddy De Greef <degreef@imec.be>.) 147 - 29/04/1996 (MCE) : 148 . Fixed a serious problem with the Xidle support. 149 (Thanks to Lam N <lamn@cs.cuhk.hk> for attracting my 150 attention to this one.) 151 - 28/01/1996 (MCE) : 152 . Minor stylistic editing. 153 - 15/05/1995 (MCE) : 154 . Removed the INITIAL_SLEEP stuff. 155 - 08/05/1995 (MCE) : 156 . Fixed a race condition in SelectEvents (). 157 - 21/04/1995 (MCE) : 158 . Better wording of the copyright notice 159 (no fundamental change). 160 - 28/02/1995 (MCE) : 161 . Added correct setup of the standard WM properties. 162 - 21/02/1995 (MCE) : 163 . Initial cleaning up of the #ifdef and #include stuff. 164 . Be less pedantic when validating the notification 165 margin if the `corners' feature is not being used. 166 . Fixed a horrificly stupid blooper that was sometimes 167 causing the thing not to work at all. (Thanks to 168 Don Lewis <gdonl@gv.ssi1.com> and Ben Suurmeijer 169 <ben@telecom.ptt.nl> for attracting my attention 170 to this one.) 171 - 01/02/1995 (MCE) : 172 . Added a few unused intialisations because otherwise 173 some compilers complain about them missing. 174 - 23/01/1995 (MCE) : 175 . Fixed various things ProLint complained about. 176 . Fixed yet another minor oversight in option handling. 177 - 20/01/1995 (MCE) : 178 . Take the modifier mask into account when looking 179 for pointer activity. (Idea taken from xscreensaver, 180 which is by Jamie Zawinski <jwz@mcom.com>.) 181 . Fixed a minor oversight in option handling. 182 . Fixed some uninitialised memory problems, a rare 183 null pointer dereference and a small memory leak. 184 (Purify sure is a great tool!) 185 - 03/01/1995 (MCE) : 186 . Finally solved the logout problems under OpenWinDows. 187 (Thanks to the many people who reported this one in 188 the past, and in particular to John Kent 189 <badger@ssd.intel.com> for putting me on the right track.) 190 . Some minor cosmetic changes. 191 - 21/11/1994 (MCE) : 192 . Added "#ifdef"s as needed by Novell Unixware. 193 (Thanks to Thanh Ma <tma@encore.com> for reporting this.) 194 . Plugged a minor memory leak in the resource 195 management code. 196 - 10/11/1994 (MCE) : 197 . Added "-notifier" option. (Based on a suggestion 198 by Steve Woodard <woodard@peach.kodak.com>.) 199 . Made the "xxx_SEMAPHORE_PID" stuff honour the 200 prog_name stuff. 201 . Casting fixes related to use of time_t. 202 - 06/11/1994 (MCE) : 203 . Several minor corrections for VMS. 204 . Added #define _HPUX_SOURCE for c89 on HP/UX. 205 . Totally reworked time-keeping code to protect it 206 against incorrect implementations of sleep (). 207 - 01/11/1994 (MCE) : 208 . Added SIGUSR1 and SIGUSR2 support, as well as "-enable", 209 "-disable", "-toggle" options.(Thanks to Christopher 210 Davis <ckd@loiosh.kei.com> for the initial patch.) 211 . Renamed some stuff for better maintainability. 212 - 14/10/1994 (MCE) : 213 . Finally added Xidle support. 214 . Return value of waitpid () on SYSV was being 215 used incorrectly. 216 - 21/09/1994 (MCE) : 217 . Several minor code embellishments. 218 . Better wording of the copyright statement. 219 . Ported to VMS. (Thanks to Brian D. Reed 220 <bdr@cbnewsg.cb.att.com> for providing the 221 nitty-gritty details.) 222 . Resources now have a (dummy) resource class. 223 (Thanks to JF Bonhomme <johnny@cett.alcatel-alsthom.fr> 224 for pointing out that something had to be done here.) 225 . Reworked resource processing. (Thanks to Joerg Lehrke 226 <jlehrke@wmi.physik.tu-muenchen.de> for providing 227 the original patch (stripped by me).) 228 . Create a dummy window for proper XKillCLient () 229 behaviour when using xdm without XDMCP or similar. 230 . Added "-nocloseout" and "-nocloseerr". 231 - 25/08/1994 (MCE) : 232 . More accurate "usage" message. 233 - 11/05/1994 (MCE) : 234 . Corrected a "really stupid typo" ;-). 235 - 23/12/1993 (MCE) : 236 . Improved "#ifdef"s for SYSV. (Thanks to John Somerfield 237 <John.Somerfield@barclays.co.uk>.) 238 - 13/08/1993 (MCE) : 239 . Added "-cornerredelay" for reasons described in the 240 man page. 241 - 22/06/1993 (MCE) : 242 . Reset screensaver upon locking the screen. 243 (Suggested by Paul Mossip <mossip@vizlab.rutgers.edu>.) 244 . Improved resource usage. 245 - 21/12/1992 (MCE) : 246 . Added code to circumvent a server initialisation bug 247 (OpenWindows 2.0 and 3.0) related to XQueryPointer (). 248 (Thanks to Eric Engstrom <engstrom@src.honeywell.com> 249 for providing the patch.) 250 - 08/07/1992 (MCE) : 251 . Efficiency improvements and code embellishments 252 . Improved conditional "#include"s etc. (Thanks to 253 Jonathan I. Kamens <jik@pit-manager.mit.edu> and 254 Fred J.R. Appelman <fred@cv.ruu.nl>.) 255 . Moved a couple of premature calls to free (). 256 (Purify sure is a great tool!) 257 . Fixed a race condition related to the `corners' 258 feature. 259 . Fixed a minor initialization bug. 260 - 11/05/1992 (MCE) : 261 . Close stdout and stderr instead of using "2>&- 1>&-". 262 (Suggested by Rainer Sinkwitz <sinkwitz@ifi.unizh.ch>.) 263 . Added "-noclose" for debugging. 264 - 06/05/1992 (MCE) : 265 . Fixed a few potential portability problems. (Thanks 266 to Paul Smith <paul_smith@dg.com> again.) 267 . CheckConnection () now works properly on multi-headed 268 displays. (Thanks to Brian ? <brian@natinst.com> for 269 testing the `multi-headed' support.) 270 . Better version of Sleep (). 271 . Recognize X resources for class "Xautolock". 272 . Don't update timer while sighupped. 273 . Switched to vfork () and execl (). 274 . New copyright notice. 275 - 28/04/1992 (MCE) : 276 . Use the X resource manager. 277 - 25/04/1992 (MCE) : 278 . Added the `corners' feature. (Suggested by 279 Neil I. Weisenfeld <weisen@alw.nih.gov>.) 280 . Fixed a problem with pseudo-root windows. 281 (Thnaks to Chris Sherman <sherman@unx.sas.com>, 282 Nathan Edwards <nedwards@titan.trl.oz.au>, Dave 283 Hayes <dave@elxr.jpl.nasa.gov>, and Tom McConnell 284 <tmcconne@sedona.intel.com> for pointing out 285 the problem and testing the patch.) 286 . Added `disable/enable on SIGHUP'. (Suggested by 287 Paul Smith <paul_smith@dg.com>.) 288 . Added support for multi-headed displays. 289 - 20/04/1992 (MCE) : 290 . Cut Main () into more managable pieces. 291 . Periodically call XQueryPointer (). 292 - 15/04/1992 (MCE) : 293 . Changed the default locker to "xlock 2>&- 1>&-". 294 . Fixed a couple of event mask bugs. (Thanks to 295 Jamie Zawinski <jwz@lucid.com> for running into these.) 296 . Corrected a property type bug in CheckConnection (). 297 - 24/03/1992 (MCE) : 298 . Don't reset the timeout counter after receiving a 299 synthetic or otherwise unexpected event. 300 - 10/03/1992 (SDT & MCE) : 301 . Added code to detect broken server connections. 302 - 06/03/1992 (MCE) : 303 . Re-arranged the event loop in order to detect defunct 304 children as soon as possible. 305 - 25/02/1992 (MCE) : 306 . Added code to detect multiple invocations. 307 - 24/02/1992 (MCE) : 308 . Removed an initialization bug. 309 - 21/02/1992 (MCE) : 310 . Major rewrite. 311 - 12/02/1992 (MCE) : 312 . Hacked around a dxcalendar problem. 313 314 --------------------------------------------------------------------------- 315 316 Copyright 1990, 1992-1999, 2001-2002, 2004, 2007 by Stefan De Troch and 317 Michel Eyckmans. 318 319 Versions 2.0 and above of xautolock are available under version 2 of the 320 GNU GPL. Earlier versions are available under other conditions. For more 321 information, see the License file. 322