annotate CREDITS @ 4139:568c9b3c0167 SDL-1.2

* Added configure option --enable-screensaver, to allow enabling the screensaver by default. * Use XResetScreenSaver() instead of disabling screensaver entirely. Full discussion summary from Erik on the SDL mailing list: Current behaviour ================= SDL changes the user's display power management settings without permission from the user and without telling the user. The interface that it uses to do so is DPMSDisable/DPMSEnable, which should only ever be used by configuration utilities like KControl, never by normal application programs, let alone by the libraries that they use. Using an interface that is not at all intended for what SDL tries to achieve means that it will not work as it should. Firstly, the power management is completely disabled during the whole lifetime of the SDL program, not only when it should be. Secondly, it makes SDL non-reentrant, meaning that things will break when multiple SDL programs are clients of the same X server simultaneously. Thirdly, no cleanup mechanism ensures that the setting is restored if the client does not do that (for example if it crashes). In addition to that, this interface is broken on xorg, [http://bugs.freedesktop.org/show_bug.cgi?id=13962], so what SDL tries to do does not work at all on that implementation of the X Window System. (The reason that the DPMSEnable works in KControl is that it calls DPMSSetTimeout immediately after, [http://websvn.kde.org/tags/KDE/3.5.9/kdebase/kcontrol/energy/energy.cpp?annotate=774532#l343]). The problems that the current behaviour causes ============================================== 1. Information leak. When the user is away, someone might see what the user has on the display when the user counts on the screensaver preventing this. This does not even require physical access to the workstation, it is enough to see it from a distance. 2. Draining battery. An SDL program that runs on a laptop will quickly drain the battery while the user is away. The system will soon shut down and require recharging before being usable again, while it should in fact have consumed very little energy if the user's settings would have been obeyed. 3. Wasting energy. Even if battery issues are not considered, energy as such is wasted. 4. Display wear. The display may be worn out. The problems that the current behaviour tries to solve ====================================================== 1. Preventing screensaver while playing movies. Many SDL applications are media players. They have reasons to prevent screensavers from being activated while a movie is being played. When a user clicks on the play button it can be interpreted as saying "play this movie, but do not turn off the display while playing it, because I will watch it even though I do not interact with the system". 2. Preventing screensaver when some input bypasses X. Sometimes SDL uses input from another source than the X server, so that the X server is bypassed. This obviously breaks the screensaver handling. SDL tries to work around that. 3. Preventing screensaver when all input bypasses X. There is something called Direct Graphics Access mode, where a program takes control of both the display and the input devices from the X server. This obviously means that the X server can not handle the screensaver alone, since screensaver handling depends on input handling. SDL does not do what it should to help the X server to handle the screensaver. Nor does SDL take care of screeensaver handling itself. SDL simply disables the screensaver completely. How the problems should be solved ================================= The correct way for an application program to prevent the screensaver under X is to call XResetScreenSaver. This was recently discovered and implemented by the mplayer developers, [http://svn.mplayerhq.hu/mplayer?view=rev&revision=25637]. SDL needs to wrap this in an API call (SDL_ResetScreenSaver) and implement it for the other video targets (if they do not have a corresponding call, SDL should do what it takes on that particular target, for example sending fake key events). 1. When a movie is played, the player should reset the screensaver when the animation is advanced to a new frame. The same applies to anything similar, like slideshows. 2. When the X server is handling input, it must handle all input (keyboards, mice, gamepads, ...). This is necessary, not only to be able to handle the screensaver, but also so that it can send the events to the correct (the currently active) client. If there is an input device that the X server can not handle for some reason (such as lack of Plug and Play capability), the program that handles the device as a workaround must simulate what would happen if the X server would have handled the device, by calling XResetScreenSaver when input is received from the device. 3. When the X server is not handling the input, it depends on the program that does to call XResetScreenSaver whenever an input event occurs. Alternatively the program must handle the screensaver countdown internally and call XActivateScreenSaver.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 29 Feb 2008 13:55:44 +0000
parents fb74445b4d19
children 72a00fe65ffe
rev   line source
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
1
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
2 Simple DirectMedia Layer CREDITS
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
3 Thanks to everyone who made this possible, including:
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
4
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
5 * Cliff Matthews, for giving me a reason to start this project. :)
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
6 -- Executor rocks! *grin*
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
7
159
9841293e9e86 Time to recognize everyone again. :)
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
8 * Scott Call, for making a home for SDL on the 'Net... Thanks! :)
9841293e9e86 Time to recognize everyone again. :)
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
9
828
85ba077211bc Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents: 827
diff changeset
10 * The Linux Fund, C Magazine, Educational Technology Resources Inc.,
85ba077211bc Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents: 827
diff changeset
11 Gareth Noyce, Jesse Pavel, Keith Kitchin, Jeremy Horvath, Thomas Nicholson,
85ba077211bc Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents: 827
diff changeset
12 Hans-Peter Gygax, the Eternal Lands Development Team, Lars Brubaker,
85ba077211bc Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents: 827
diff changeset
13 and Phoenix Kokido for financial contributions
470
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
14
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
15 * Gaëtan de Menten for writing the PHP and SQL behind the SDL website
159
9841293e9e86 Time to recognize everyone again. :)
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
16
827
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
17 * Tim Jones for the new look of the SDL website
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
18
828
85ba077211bc Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents: 827
diff changeset
19 * Marco Kraus for setting up SDL merchandise
85ba077211bc Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents: 827
diff changeset
20
470
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
21 * Martin Donlon for his work on the SDL Documentation Project
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
22
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
23 * Ryan Gordon for helping everybody out and keeping the dream alive. :)
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
24
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
25 * Mattias Engdegård, for help with the Solaris port and lots of other help
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
26
159
9841293e9e86 Time to recognize everyone again. :)
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
27 * Max Watson, Matt Slot, and Kyle for help with the MacOS Classic port
9841293e9e86 Time to recognize everyone again. :)
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
28
1621
f12379c41042 Fixes bug #195:
Sam Lantinga <slouken@libsdl.org>
parents: 1581
diff changeset
29 * Stan Shebs, for the initial Mac OS X port
159
9841293e9e86 Time to recognize everyone again. :)
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
30
1621
f12379c41042 Fixes bug #195:
Sam Lantinga <slouken@libsdl.org>
parents: 1581
diff changeset
31 * Eric Wing, Max Horn, and Darrell Walisser for unflagging work on the Mac OS X port
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
32
470
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
33 * Patrick Trainor, Jim Boucher, and Mike Gorchak for the QNX Neutrino port
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
34
281
c5010ab8ba35 Added initial support for Atari (thanks Patrice!)
Sam Lantinga <slouken@libsdl.org>
parents: 250
diff changeset
35 * Carsten Griwodz for the AIX port
250
74a8f672f2f8 Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents: 159
diff changeset
36
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
37 * Gabriele Greco, for the Amiga port
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
38
281
c5010ab8ba35 Added initial support for Atari (thanks Patrice!)
Sam Lantinga <slouken@libsdl.org>
parents: 250
diff changeset
39 * Patrice Mandin, for the Atari port
c5010ab8ba35 Added initial support for Atari (thanks Patrice!)
Sam Lantinga <slouken@libsdl.org>
parents: 250
diff changeset
40
c5010ab8ba35 Added initial support for Atari (thanks Patrice!)
Sam Lantinga <slouken@libsdl.org>
parents: 250
diff changeset
41 * Hannu Viitala for the EPOC port
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
42
4005
fb74445b4d19 Added Markus Mertama to the CREDITS file for the S60 port.
Ryan C. Gordon <icculus@icculus.org>
parents: 1621
diff changeset
43 * Marcus Mertama for the S60 port.
fb74445b4d19 Added Markus Mertama to the CREDITS file for the S60 port.
Ryan C. Gordon <icculus@icculus.org>
parents: 1621
diff changeset
44
159
9841293e9e86 Time to recognize everyone again. :)
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
45 * Peter Valchev for nagging me about the OpenBSD port until I got it right. :)
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
46
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
47 * Kent B Mein, for a place to do the IRIX port
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
48
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
49 * Ash, for a place to do the OSF/1 Alpha port
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
50
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
51 * David Sowsy, for help with the BeOS port
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
52
159
9841293e9e86 Time to recognize everyone again. :)
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
53 * Eugenia Loli, for endless work on porting SDL games to BeOS
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
54
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
55 * Jon Taylor for the GGI front-end
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
56
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
57 * Paulus Esterhazy, for the Visual C++ testing and libraries
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
58
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
59 * Brenda Tantzen, for Metrowerks CodeWarrior on MacOS
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
60
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
61 * Chris Nentwich, for the Hermes assembly blitters
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
62
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
63 * Michael Vance and Jim Kutter for the X11 OpenGL support
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
64
470
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
65 * Stephane Peter, for the AAlib front-end and multi-threaded timer idea.
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
66
827
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
67 * Jon Atkins for SDL_image, SDL_mixer and SDL_net documentation
470
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
68
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
69 * Peter Wiklund, for the 1998 winning SDL logo,
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
70 and Arto Hamara, Steven Wong, and Kent Mein for other logo entries.
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
71
827
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
72 * Arne Claus, for the 2004 winning SDL logo,
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
73 and Shandy Brown, Jac, Alex Lyman, Mikkel Gjoel, #Guy, Jonas Hartmann,
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
74 Daniel Liljeberg, Ronald Sowa, DocD, Pekka Jaervinen, Patrick Avella,
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
75 Erkki Kontilla, Levon Gavalian, Hal Emerich, David Wiktorsson,
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
76 S. Schury and F. Hufsky, Ciska de Ruyver, Shredweat, Tyler Montbriand,
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
77 Martin Andersson, Merlyn Wysard, Fernando Ibanez, David Miller,
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
78 Andre Bommele, lovesby.com, Francisco Camenforte Torres, and David Igreja
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
79 for other logo entries.
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
80
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
81 * Bob Pendleton and David Olofson for being long time contributors to
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
82 the SDL mailing list.
b10aeac509ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 470
diff changeset
83
470
877b992f2d0c Updated the credits
Sam Lantinga <slouken@libsdl.org>
parents: 281
diff changeset
84 * Everybody at Loki Software, Inc. for their great contributions!
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
85
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
86 And a big hand to everyone else who gave me appreciation, advice,
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
87 and suggestions, especially the good folks on the SDL mailing list.
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
88
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
89 THANKS! :)
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
90
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
91 -- Sam Lantinga <slouken@libsdl.org>
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
92