History log of /haiku/src/kits/screensaver/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1e60bdea 30-Mar-2019 Augustin Cavalier <waddlesplash@gmail.com>

Remove all invocations of SetSubDirSupportedPlatformsBeOSCompatible.

e9208b68 13-Apr-2016 John Scipione <jscipione@gmail.com>

ScreenSaver: Rename BuildScreenSaverDefaultSettingsView

...to just DefaultSettingsView

It is just as obvious what it does in context, but shorter.

Rename the function it contains from
BuildDefaultScreenSaverSettingsView to
BuildDefaultSettingsView

3801c37b 13-Apr-2016 John Scipione <jscipione@gmail.com>

Screensaver: Update Default Settings View to use Layout

and standard insets so that they match other screen savers

220d0402 31-Jul-2014 Oliver Tappe <zooey@hirschkaefer.de>

Use libstdc++, libsupc++ and libgcc from gcc_syslibs.

* Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so
from the gcc_syslibs build feature for everything except x86_gcc2.
* Use libgcc_s.so from the gcc_syslibs build feature for everything but
x86_gcc2 (which still carries libgcc as part of libroot.so).
* Drop filtering of libgcc objects for libroot, as that is no longer
necessary since we're only using libgcc-as-single-object for libroot
with x86_gcc2, where the filtered object file doesn't exist. Should
the objects that used to be filtered cause any problems as part of
libgcc_s.so, we can always filter them as part of the gcc build.
* Use libsupc++.so from the gcc_syslibs build feature for everything but
x86_gcc2.
* Adjust all Jamfiles accordingly.
* Deactivate building of faked libstdc++.so for non-x86-gcc2. For
x86_gcc2, we still build libstdc++.so from the sources in the Haiku
source tree as part of the Haiku build .
* Put gcc_syslibs package onto the image, when needed.

e9a0833a 25-Feb-2014 John Scipione <jscipione@gmail.com>

ScreenSaverRunner: Fix segmentation fault loading bad screen saver.

When Settings.ModuleName() returned NULL here we got a segmentation fault
trying to access the pointer.

I ran into this trying to load up a non-screensaver executable in ScreenSaver,
it crashed instead of doing the right thing and refusing to load.

Also, since we go to the trouble of saving this to a variable, we should actually use it.

9d312ae7 25-Feb-2014 John Scipione <jscipione@gmail.com>

ScreenSaverSettings: Check that name is valid

... before trying to use it in GetModuleState() and SetModuleState()

also, rename the stateMsg variable to stateMessage (already correct in header)

94f8ac8c 25-Feb-2014 John Scipione <jscipione@gmail.com>

ScreenSaverRunner: print errors to stderr instead of stdout.

Also print on a couple of new error cases:
* print and error if fSaver is NULL,
* print and error if unload_add_on failed.

06f133c1 25-Feb-2014 John Scipione <jscipione@gmail.com>

ScreenSaverRunner: treat load_add_on return value like an image_id

... rather than a status_t, because that's what it is.

84466cef 25-Feb-2014 John Scipione <jscipione@gmail.com>

ScreenSaverRunner: check return value of methods

d960838b 25-Feb-2014 John Scipione <jscipione@gmail.com>

ScreenSaverRunner: clarify some comments

4116ae4f 25-Feb-2014 John Scipione <jscipione@gmail.com>

ScreenSaverSettings: check find_directory return value

1c776bfe 15-Nov-2013 John Scipione <jscipione@gmail.com>

Lock screensaver window directly

By passing the window pointer to ScreenSaverRunner contructor and using that
to lock the window when drawing instead of getting the window from the
Window() method of the view. This is safer.

d34a680c 14-Nov-2013 John Scipione <jscipione@gmail.com>

Screen Saver: fix race condition

Start the screensaver in the window thread instead of the runner
thread so that there is no lock contention for the window lock in
the runner thread when the saver starts.

The view that gets drawn into is assumed to have been prepared before
being passed to the runner thread, and this assumption has been made
true for the screensaver preview and screen_blanker apps.

Eliminate fHasStarted and the corresponding HasStarted() method in
ScreenSaverRunner as they are no longer needed.

Drawing still happens in the runner thread, and still needs to lock
the window thread potentially causing contention, yet, there
is a timeout here so the contention won't freeze the screensaver window,
only delay drawing the screensaver.

Drawing could be moved to the window thread via message passing to avoid
lock contention with the window but this would defeat a big part of the
purpose of having a separate rendering thread.

This fixes #10125 and #4260

5d023095 14-Nov-2013 John Scipione <jscipione@gmail.com>

ScreenSaverRunner: Suspend() and Resume() return status_t

e22c01af 14-Nov-2013 John Scipione <jscipione@gmail.com>

Screen Saver: style fixes

4b7e2196 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.

9f81ca83 26-Sep-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Merge branch 'package-management'

Conflicts:
src/preferences/network/Jamfile


91de0513 26-Sep-2013 John Scipione <jscipione@gmail.com>

ScreenSaver: Revert the controversial parts of hrev46012

ScreenSaver once again locks up due to the bug described in #4260
awaiting a systemic fix.

cf70d345 12-Sep-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Merge remote-tracking branch 'haiku/master' into package-management

This reverts 8f7f28a7c3db28711920ad5d15df401fae90bcf1 (OpenGL: Upgrade
to
Mesa 9.2).

Conflicts:
build/jam/BuildFeatures
build/jam/HaikuImage
build/jam/OptionalPackages
build/scripts/build_cross_tools_gcc4
src/add-ons/opengl/swpipe/Jamfile
src/apps/diskusage/Jamfile
src/kits/tracker/ContainerWindow.cpp
src/kits/tracker/DeskWindow.cpp
src/kits/tracker/Jamfile


d9acbaf0 02-Sep-2013 John Scipione <jscipione@gmail.com>

ScreenSaver: Timeout if window won't lock. Fixes #4260.

If we fail to lock the window in the kInitialTickRate time, quit the thread.
We were deadlocking causing #4260 because you could open several
threads by moving through the screen saver list quickly all trying to lock
the same window at the same time, classic deadlock.

fa365178 02-Sep-2013 John Scipione <jscipione@gmail.com>

ScreenSaverRunner: Style fixes

Also update copyright info, add myself to authors list alphabetically.

225b6382 05-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Support building most system libraries for secondary arch

Also adjust the HaikuImageGet[Private]SystemLibs rules to support to
return the library targets matching the current architecture.

ff2e5209 30-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove the old "CVS" package rules

... and all their invocations.

323b6546 21-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Filtered flat import of Oliver's svn package management branch

Bring the changes that aren't package management related and the ones
that are but don't take effect as long as they are ignored by the build
system into the master.

Summary of changes:
* Introduce private header <directories.h> with constants for a good
deal of paths that should usually be retrieved via find_directory().
* Replace hard-coded paths by using find_directory() or the
<directories.h> constants (e.g. in drivers and the kernel).
* Add find_directory() constants needed for package management.
* Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros.
* src/apps/deskbar: BeMenu.* -> DeskbarMenu.*,
DeskBarUtils.* -> DeskbarUtils.*
* Change deskbar menu settings directory from ~/config/be to
~/config/settings/deskbar.
* Other smaller cleanups, changes, and fixes.

3dfd9cb9 16-Jun-2011 Oliver Tappe <zooey@hirschkaefer.de>

Flat commit of all changes from package-management branch in svn

d159cdcf 04-Oct-2009 Ryan Leavengood <leavengood@gmail.com>

Apply patch from Caitlin Shaw to allow for smaller screensaver tick times that 50 ms.

This fixes #4628.

I added the TODO because I think this code is getting hairy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33431 a95241bf-73f2-0310-859d-f6bbb57e9c96

1c5a1e55 01-Oct-2009 Ryan Leavengood <leavengood@gmail.com>

Suggestion from Rene:
- Make the BuildScreenSaverDefaultSettingsView function be built into
libscreensaver.so and under the BPrivate namespace. This avoids the repetition
of the compiled code in each screen saver that uses it.
- Updated the ScreenSaver preferences to use this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33403 a95241bf-73f2-0310-859d-f6bbb57e9c96

c7544c13 20-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Enabled default time for shutting off the monitor (after 20 minutes).
* Removed BeOS R5 network password retrieval code.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31652 a95241bf-73f2-0310-859d-f6bbb57e9c96

16d5c24e 07-Jul-2009 Oliver Tappe <zooey@hirschkaefer.de>

* merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96

b876eba2 10-Mar-2009 Ryan Leavengood <leavengood@gmail.com>

Fixing #3022, by enabling the Blackness screensaver by default, with a delay of 15
minutes. The screen will go off after 20. This was recommended by Axel :)

Kudos to the screensaver kit developers for putting the default settings in one
place.

I have also added comments to make the settings more understandable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29467 a95241bf-73f2-0310-859d-f6bbb57e9c96

835e3546 09-Dec-2008 Rene Gollent <anevilyak@gmail.com>

Remove unnecessary comparison.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28796 a95241bf-73f2-0310-859d-f6bbb57e9c96

bdffbce7 09-Dec-2008 Rene Gollent <anevilyak@gmail.com>

Adjust ScreenSaverRunner to make the screen saver draw once before sleeping. This fixes the perceived black screen problem with the Message screensaver. Also cleaned up Message slightly to retrieve its string from fortune more cleanly, and readded it to the build since it will no longer deadlock the screensaver module for 30 seconds at a time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28793 a95241bf-73f2-0310-859d-f6bbb57e9c96

dbcdcf39 09-Dec-2008 Rene Gollent <anevilyak@gmail.com>

Correct slight regression from r28777 - screen saver tick size can be adjusted dynamically, and thus we must update it after each complete tick. Fixes ticket #3211.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28792 a95241bf-73f2-0310-859d-f6bbb57e9c96

4f07e62e 04-Dec-2008 Rene Gollent <anevilyak@gmail.com>

Break up the screen saver update interval into 50 msec ticks. This lets us quickly evaluate if it's time to exit the screen saver, which would previously have blocked until the tick interval was up. This fixes ticket #2339.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28777 a95241bf-73f2-0310-859d-f6bbb57e9c96

99e5e6e8 12-Jul-2006 Jérôme Duval <korli@users.berlios.de>

fix R5 build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18104 a95241bf-73f2-0310-859d-f6bbb57e9c96

642090fd 09-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* ScreenCornerSelector is now a BControl and fully keyboard navigable.
* simplified drawing a bit, and got rid of those scary scale*() stuff (which also
results in better looks). The monitor now looks like the one in Screen; I think
it should either be a very reduced form or a very detailed form, but anything
in between often looks just odd.
* It now also listens to B_MOUSE_DOWN incl. mouse tracking, not only to B_MOUSE_UP.
* Less flickering on state changes (and focus change).
* Loading settings no longer overwrites defaults missing from the settings.
* Renamed ScreenSaverSettings::GetBlankCorner() to BlankCorner(),
LoadSettings() to Load(), GetState() to GetModuleState(), ....
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17783 a95241bf-73f2-0310-859d-f6bbb57e9c96

41158aaf 06-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* Renamed the ScreenSaverPrefs class to the more Be-like ScreenSaverSettings.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17755 a95241bf-73f2-0310-859d-f6bbb57e9c96

d7b390a6 06-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

Damn, I forgot to include this directory when committing the screen saver changes.
This should have been part of r17731. Fixes the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17747 a95241bf-73f2-0310-859d-f6bbb57e9c96

8087170c 22-Apr-2006 Stephan Aßmus <superstippi@gmx.de>

* a bit of code clean up
* some fixes to make screen_blanker wait_for_thread() instead of
killing the screen saver thread, BScreenSaver::Stop() is now called
as well as its destructor


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17206 a95241bf-73f2-0310-859d-f6bbb57e9c96

84b53ca7 12-Apr-2006 Jérôme Duval <korli@users.berlios.de>

clean up


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17111 a95241bf-73f2-0310-859d-f6bbb57e9c96

7840510e 12-Apr-2006 Jérôme Duval <korli@users.berlios.de>

unlock when lock succeeded


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17110 a95241bf-73f2-0310-859d-f6bbb57e9c96

6462ba11 15-Jan-2006 Jérôme Duval <korli@users.berlios.de>

build fix


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15960 a95241bf-73f2-0310-859d-f6bbb57e9c96

338b8dc3 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96

2057015b 14-Sep-2005 Jérôme Duval <korli@users.berlios.de>

added a README file to screensaver kit package


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14185 a95241bf-73f2-0310-859d-f6bbb57e9c96

911290f7 04-Sep-2005 Jérôme Duval <korli@users.berlios.de>

copyright update
fix for blank time in screen_blanker


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14117 a95241bf-73f2-0310-859d-f6bbb57e9c96

008b1d90 01-Sep-2005 Jérôme Duval <korli@users.berlios.de>

fix for network password


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14099 a95241bf-73f2-0310-859d-f6bbb57e9c96

1559de12 29-Aug-2005 Jérôme Duval <korli@users.berlios.de>

added screensaver kit package


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14090 a95241bf-73f2-0310-859d-f6bbb57e9c96

234f6d7c 19-Aug-2005 Jérôme Duval <korli@users.berlios.de>

replaced with DEBUG macro


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13994 a95241bf-73f2-0310-859d-f6bbb57e9c96

c10e4a93 19-Aug-2005 Jérôme Duval <korli@users.berlios.de>

there can be no saver available (blackness)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13989 a95241bf-73f2-0310-859d-f6bbb57e9c96

386d67c7 18-Aug-2005 Jérôme Duval <korli@users.berlios.de>

more fixes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13976 a95241bf-73f2-0310-859d-f6bbb57e9c96

c3c73413 11-Aug-2005 Axel Dörfler <axeld@pinc-software.de>

Removed execute property from source files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13934 a95241bf-73f2-0310-859d-f6bbb57e9c96

cab4e35c 11-Aug-2005 Jérôme Duval <korli@users.berlios.de>

make sure we don't load Blackness addon


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13933 a95241bf-73f2-0310-859d-f6bbb57e9c96

bef4185e 02-Aug-2005 Jérôme Duval <korli@users.berlios.de>

fixes Loadsettings return value
rename pwWindow to PasswordWindow
added ScreenSaver to Jamfile to have Matrix screensaver loaded correctly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13876 a95241bf-73f2-0310-859d-f6bbb57e9c96

1437c09c 31-Jul-2005 Jérôme Duval <korli@users.berlios.de>

screen_blanker signature is at one place
modules tab selection makes the right module selected


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13863 a95241bf-73f2-0310-859d-f6bbb57e9c96

f058feb7 28-Jul-2005 Jérôme Duval <korli@users.berlios.de>

module states are now saved correctly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13851 a95241bf-73f2-0310-859d-f6bbb57e9c96

c566b092 29-Jul-2005 Jérôme Duval <korli@users.berlios.de>

added license headers
changed the way prefs is stored, so that we have default settings
general cleanup
time sliders are now linked together as on R5
password window is centered onscreen


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13849 a95241bf-73f2-0310-859d-f6bbb57e9c96

66dee31a 26-Jul-2005 Jérôme Duval <korli@users.berlios.de>

clean up, style change, unused files are removed
added ScreenSaver.cpp to ScreenSaver preferences to have Matrix working


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13828 a95241bf-73f2-0310-859d-f6bbb57e9c96

a5762b30 09-Oct-2004 Michael Phipps <michaelphipps@nowhere.fake>

Changed the way preferences are stored.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9271 a95241bf-73f2-0310-859d-f6bbb57e9c96

32081c1e 27-Jun-2004 Jérôme Duval <korli@users.berlios.de>

added a link in develop/lib


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8199 a95241bf-73f2-0310-859d-f6bbb57e9c96

1cfaf7b6 12-Jun-2004 beveloper <beveloper@nowhere.fake>

fixed screensave includes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7943 a95241bf-73f2-0310-859d-f6bbb57e9c96

f141dd57 03-May-2004 Michael Phipps <michaelphipps@nowhere.fake>

Re-styled and (hopefully) finalized.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7389 a95241bf-73f2-0310-859d-f6bbb57e9c96

775cef03 19-Apr-2004 Michael Phipps <michaelphipps@nowhere.fake>

Final changes for ScreenSaver Preferences app


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7258 a95241bf-73f2-0310-859d-f6bbb57e9c96

7b526b99 30-Mar-2004 Michael Phipps <michaelphipps@nowhere.fake>

Some minor changes to promote code sharing.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7124 a95241bf-73f2-0310-859d-f6bbb57e9c96

112c0c23 20-Mar-2004 Michael Phipps <michaelphipps@nowhere.fake>

Unpdates, fixes and promoted ScreenSaverPrefs.cpp and ScreenSaverThread.cpp


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7039 a95241bf-73f2-0310-859d-f6bbb57e9c96

6ab18748 23-Jun-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed invocations of UsePublicHeaders, which was a no-op anyway.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3628 a95241bf-73f2-0310-859d-f6bbb57e9c96

35d696ea 11-Jul-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Added the midi and screensaver kits to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@90 a95241bf-73f2-0310-859d-f6bbb57e9c96

52a38012 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96