xlockmore-5.31 as of 30 May 2010, the maintained version of xlock Adapted from Patrick J. Naughton's original xlock Primary site: ftp://ftp.tux.org/pub/tux/bagleyd/xlockmore Secondary site: http://www.tux.org/~bagleyd/xlock Alternate site: ftp://ibiblio.org/pub/Linux/X11/screensavers Web page: http://www.tux.org/~bagleyd/xlockmore.html Maintainer: David A. Bagley Primary key fingerprint: 1B79 C847 8F23 6DCD ADC0 D6AC CF15 9707 3779 19AE Mailman lists: http://calypso.tux.org/cgi-bin/mailman/listinfo If you are interested in contributing to XLock development and/or maintenance or just want to be notified when the latest stable version comes out. choices brief description ------- ----------------- xlock-announce Xlock beta and production announcements xlock-discuss Xlock/Xlockmore development discussion Xlock alpha release announcements now part of development discussion Please send all bug reports to bagleyd@tux.org . Alpha versions may be available through web page or ftp site. Adapted from Patrick J. Naughton's original xlock, with lots of help from others. BUGS to fix and other stuff to do see docs/TODO. 5.31 -xinerama option added off by default. cppcheck ran for xlock subdirectory, most complaints cleaned up. It finds leaks and other problems in paths not usually visited so would not usually show up in purify, which does a runtime check. I have not seen a false positive yet, so seems like a good tool. 'make cppcheck' added. 5.30 atlantis, atunnel, biof, bubble3d, cage, fire, gears, invert, lament, moebius, morph3d, noof, pipes, rubik, sballs, sierpinski3d, skewb, sproingies, stairs, and superquadrics added to Windows version (atunnel, fire, lament, and sballs lack textures). skewb mode now scrambles, taken out of unstable category. Undo a cleanup in vroot.h, as xlock exits on startup with a BadWindow on pievwm and tvtwm. 5.29 juggler3d mode stolen from xscreensaver with help from Tim Auckland. Jouk Jansen made safe for VMS and fixed colour problem. nose: cleaned up for win32. Still do not know why this mode has bottom task bar. petri: crashed due to shift of int, fix from Dr Nigel Warr . petri improved for win32, should not be red all the time now. penrose should be working again. Other small fixes for life, etc. image: image set right away and added option -icononly to only display image when in password window Xinerama patch so the password window will be displayed on one screen thanks to Kaelyn Uhrain . (On the wish list would be to have password window on screen with mouse instead of first screen. SuSE patch set thanks to Stanislav Brabec and Petr Gajdos . For problems in code and compiler warnings: fixes build with GLTT and FTGL modules, return if fontset is null instead of crash, fixes strict-aliasing compiler warning, makes void function not returning anything. life3d: resync with my Java code for new patterns. xlockrc (use of xlock without system password) did not actually check if Key portion matched Again portion. Also now deletes null .xlockrc file when there is a mismatch. 5.28 invert: build failures from Sun Studio Express C++ like this: Error, manymatchover: Overloading ambiguity between "operator^(const TwoJet, double)" and "built-in operator^(int, int)" fixed by casting to double, thanks to Tim Mooney . life3d: 4 more rhombic dodecahedron S3/B3 patterns including a period 4 pattern (only S3/B3 period 2 and less patterns left from Bays' papers). Glider code revamped to make more maintainable, using populateGlider(). unsigned int fix thanks to Jouk Jansen. Added new cube gliders from Bays 2006 3D Life paper and found a few patterns for the gliders to crash into. (S23B5, S25B5, S27B5, S35B5, S36B5, S37B5, S38B5, S4B5, S47B5, S57B6, S58B5, S8B5). New mode option added "+draw", this turns off drawing to the screen to speed up searches, and more importantly, make less annoying :) life: resyncing with my Java code. Switched how static triangular forms are stored Added a lots of new triangular patterns, including 2 gunship triangular patterns. Also added handful of other patterns. Reading memory on uninitialized variables fix thanks to Jouk Jansen. "+draw" mode option added. Pentagonal (Cairo Tiling) life added with glider shooters. "xlock -mode life -rule S23B346 -neighbors 7" or "xlock -mode life -pent2". New gliders found by David Bagley, one in 5 neighbors pentagonal life (-rule S24B2) "xlock -mode life -pent", the other in 9 neighbor triangular life "xlock -mode life -neighbors 9" (-rule S3B34). Associated periodic patterns for each added. Added more symmetries and now have all the random symmetries (at least I think so) for squares, hexagaons, triangles, and pentagons. Proportions fixed for pentagons. New live chars accepted by -lifefile . One more triangular life form shooter added. Macro FTGL213 added for new FTGL library. If you need it to compile text3d2.cc, make sure it compiles with -DFTGL213. Should work automatically for VMS though, thanks to Jouk Jansen. 5.27 PAM_putText() would set pointer resp->resp to buffer. This will work until memory is reused. Thanks to Howard Kash . ico updated to show the two edge transitive Catalan solids, i.e. the rhombic dodecahedron and the rhombic triacontahedron. Added __linux__ to define list to allow newer sig masking to get rid of pesky deprecated message. configure checks for libXdpms libXext has the DPMS functionality on both XFree86 4 and X.org. (libXdpms may be Xfree86 3.x). Added /usr/pkg/lib and /usr/pkg/include to long list of paths it checks in. life added more life forms triangular life from Bays' paper and added S245B3 with glider (-neighbors 8) from Bays' paper. Found some patterns in S245B3 for the glider to crash into. life3d -rule S45/B4 -neighbors 18 and -rule S45/B4 -neighbors 20 from Bays' paper. Found some patterns for the gliders to crash into. life3d -search added. Need to add more symmetries for 3D. life3d -rule S3/B3 -neighbors 12 and -rule S456/B3 -neighbors 12. Added a bunch of patterns from Bays' papers but not all. -neighbors 12 now a rhombic dodecahedron instead of a cube. ant3d -neighbors 12 (3d bees). Added eyes option to this. Just noticed solitaire a mode I added was spelled wrong, ie it was spelled without the second "i". Fixed a goof in solitaire.cc. 5.26 "Esc" key now resets password entry. Do not put an escape in your password. This should behave the same as Control-U. -showdate added. +showdate allows you to turn off date in password window. Also fixed centering for this. Inverted bitmap for xlock. Added a icon for VMS. Updated the Java launcher in xlock. antic cleanups. It found a few minor bugs but mostly makes the code more readable (without being too overbearing IMHO). The current version trips on #ifdefs though. New mode pyro2: -mode pyro2 -msg 'MSGSTR' -fnt 'FONT' MSGSTR consists of following elements: EXPLOSION is one of &0, &1, ... &9, &a, .. &f each of which presents a different type of explosion. TEXT is a text string like 'linux'. the string may contain blanks. '\n' is interpreted as a new line. '\\' is a backslash. '\&' is an ampersand. LOGO is the sign #. An exploding penguin or other icon will be shown. FONT is something like '-*-helvetica-bold-r-*-240-*' the font to be used. Thanks to Pezhman Givy . Modifications for +install, -mono, and Windows. New resource files for Chinese... Xlock-zh_TW.ad, resource-msg-zh_TW.h, xlock-msg-zh_TW.h. Thanks to Wei-Lun Chao . Following this example, I split out the different languages from XLock.ad as it seemed odd when editing and did not want to corrupt anything, especially if I could not verify it. Automata modes now have triangular tilings drawn with a black triangle around it. Fixed dilemma, for it only is interesting with 4 or 8 neighbors. 5.25 Renamed xlockrc.rc to xlock95.rc. win95 settings fixes from Frank Fesevur 'Enabled' checkbox set in the savers configuration for is honored when the random mode is selected. Dialog rearranged to allow more room for Delay/Count/Cycles. Version is now displayed. ant3d,ant,life1d now with better colors. Really looked bad on Windows 95. rain a new mode from Frank Fesevur. Patch for running stuff like "xlock95.scr -s ant3d" thanks to Frank Fesevur which makes testing and showing a particular mode much easier. Fix for xlock -resource in life.c. Added a compile-time option "-DNO_TIME if you do not want the time in the password window. 5.24 penrose added to xlock95 ("far" changed to "faraway" to compile). xcl added with a fix for DefaultScreen, which should not be there since xlock is a multiscreen program. Created packaging scripts in etc with input of releases to make it easier for me for release and zip. It gets version from xlock/version.h . Changed pgsz and txsz variables in my man2html so it does not cause corruption in generated xlock.html from man page. Patch for solitare and reducing binary size for xlock95 thanks to Frank Fesevur . dilemma, voters, wator hexagonal/triangular drawing improvements. More triangular/hexagonal life from Carter Bays. http://www.cse.sc.edu/~bays/CAhomePage Fixes for old options for command line -rule S2b34B2a and -rule S2a2b4aB2a3a4b using -neighbors 6 . Fixes for hexagonal diagonal shooters. Added new hexagonal life -rule S35B2 and S3B245. Added many new triangular life rules with gliders. Updated random soup to include multiple symmetries. Added options runtime -glidersearch and -patternsearch, to be used with big values of cycles and count ie. -cycles 1000 -count 100000000 Added -repeat num option to help find patterns that do not repeat in num periods. This will output a pattern in cycles - num . If compared to the output of cycles, one can see if a new pattern may have been discovered. Added -vertical option to ant, bug, demon, dilemma, dragon, life, loop, voters, wator, wire, these affect triangles and hexagons and crystal which affects parallelograms. DirectColor fixes for password window thanks to Jouk Jansen [still under development under DIRECTCOLOR_FIX]. 5.23 Fixed core for toneclock (fixed similar code in ico). Remove XSetFont on global GC dclock, marquee, nose, puzzle, xjack, bomb. image now can handle messages xlock -mode image -message "unicycle" If message is too big for little window it will randomly move around. solitare draw line errors fixed. dclock to handle user defined messages (nothing really to do with a clock, actually, but the man page already says "Shows a floating digital clock or message"). nose mode tried to simplify talking code and fix small bugs like do not print tabs (it prints a box char for me) or not handling linefeeds correctly at end of message. DirectColor fix thanks to Jouk Jansen. Mallocing for error should check success pointed out by Dan Lukes. Using method in xlock.c, with some changes, did similar changes for passwd.c and resources.c PAM checking allocation fix and null resistant ReadXString thanks to Dan Lukes . Added stipples to life3d. Noticed ant3d would probably leak if in mono... fixed. thick option for maze thanks to Alex Austin . Also changed MINGRIDSIZE to 2. Removed extra pixel space to the right and bottom of path... some people may like this so its an option... threed (not really 3D, a better name would be nice). fzort fix for uninitialized memory read thanks to Mauro Persano Fix to avoid running OpenGL on a StaticGray, GrayScale, and StaticColor on Sun. Sun's glxCreateContext core dumps on Solaris 10. Turned off XRaiseWindow for Cygwin as it was stopping me from logging in. Added -DSYNCHRONIZE option to config.h.in for help in debugging X errors. Fixed a problem with random colors from petri mode PseudoColor. 5.22 fiberlamp fix for array bounds read and leak fix for deluxe magick and raster file (ras) fixes for True Color by Jouk Jansen Removed some compiler/lint warnings. deluxe mode ported from xscreensaver by Jouk Jansen. anemone mode ported from xscreensaver by Jouk Jansen win32 changes from Petey Leinonen: added XPutPixel() pacman now works by changing the initialization and now can create a 1 bit depth bitmap when asked for. ------------------------------------------------------------------------------- Original author: Patrick J. Naughton Site: ftp.x.org in /R5contrib The changes in the original xlock Copyright (c) 1988-91 by Patrick J. Naughton. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This file is provided AS IS with no warranties of any kind. The author shall have no liability with respect to the infringement of copyrights, trade secrets or any patents by this file or any part thereof. In no event will the author be liable for any lost revenue or profits or other special, indirect and consequential damages. ______________________________________________________________________ Patrick J. Naughton email: naughton AT sun.com Sun Microsystems Laboratories, Inc. voice: (415) 336 - 1080 Maintainer: David A. Bagley