Commit Graph

43 Commits

Author SHA1 Message Date
Oliver Tappe
323b65468e 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.
2011-11-25 06:17:07 +01:00
Ryan Leavengood
d159cdcf4e 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
2009-10-05 01:01:35 +00:00
Ryan Leavengood
1c5a1e55c1 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
2009-10-01 20:48:14 +00:00
Axel Dörfler
c7544c1390 * 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
2009-07-20 14:03:30 +00:00
Oliver Tappe
16d5c24e53 * 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
2009-07-07 10:30:09 +00:00
Ryan Leavengood
b876eba2f9 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
2009-03-10 23:05:41 +00:00
Rene Gollent
835e354694 Remove unnecessary comparison.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 02:28:00 +00:00
Rene Gollent
bdffbce7af 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
2008-12-10 00:44:14 +00:00
Rene Gollent
dbcdcf3950 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
2008-12-10 00:33:55 +00:00
Rene Gollent
4f07e62e33 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
2008-12-04 23:52:28 +00:00
Jérôme Duval
99e5e6e8d2 fix R5 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 09:58:23 +00:00
Axel Dörfler
642090fdc6 * 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
2006-06-09 16:03:16 +00:00
Axel Dörfler
41158aaf91 * 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
2006-06-07 12:43:31 +00:00
Axel Dörfler
d7b390a6c0 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
2006-06-06 19:47:23 +00:00
Stephan Aßmus
8087170c53 * 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
2006-04-22 20:18:52 +00:00
Jérôme Duval
84b53ca7a0 clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 15:45:52 +00:00
Jérôme Duval
7840510e4f unlock when lock succeeded
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 15:38:18 +00:00
Jérôme Duval
6462ba1115 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 22:12:07 +00:00
Ingo Weinhold
338b8dc301 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
2005-10-29 16:27:43 +00:00
Jérôme Duval
2057015b2f added a README file to screensaver kit package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-14 15:14:52 +00:00
Jérôme Duval
911290f701 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
2005-09-05 12:54:15 +00:00
Jérôme Duval
008b1d9008 fix for network password
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-01 15:04:18 +00:00
Jérôme Duval
1559de1285 added screensaver kit package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-30 12:22:22 +00:00
Jérôme Duval
234f6d7cfc replaced with DEBUG macro
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 19:33:49 +00:00
Jérôme Duval
c10e4a93bd there can be no saver available (blackness)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 14:23:57 +00:00
Jérôme Duval
386d67c7c4 more fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 15:30:25 +00:00
Axel Dörfler
c3c73413e8 Removed execute property from source files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-11 17:37:44 +00:00
Jérôme Duval
cab4e35c22 make sure we don't load Blackness addon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-11 15:17:47 +00:00
Jérôme Duval
bef4185e93 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
2005-08-02 09:57:45 +00:00
Jérôme Duval
1437c09cb7 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
2005-08-01 12:53:23 +00:00
Jérôme Duval
f058feb72f module states are now saved correctly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 12:05:22 +00:00
Jérôme Duval
c566b0927d 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
2005-07-29 07:41:58 +00:00
Jérôme Duval
66dee31a87 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
2005-07-26 16:12:05 +00:00
Michael Phipps
a5762b3071 Changed the way preferences are stored.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-09 23:17:47 +00:00
Jérôme Duval
32081c1ebb added a link in develop/lib
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:20:06 +00:00
beveloper
1cfaf7b6c5 fixed screensave includes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 22:59:59 +00:00
Michael Phipps
f141dd5709 Re-styled and (hopefully) finalized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:41:30 +00:00
Michael Phipps
775cef0314 Final changes for ScreenSaver Preferences app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-20 02:06:39 +00:00
Michael Phipps
7b526b9937 Some minor changes to promote code sharing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 00:32:27 +00:00
Michael Phipps
112c0c2389 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
2004-03-20 18:53:33 +00:00
Ingo Weinhold
6ab18748f3 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
2003-06-23 16:53:22 +00:00
Ingo Weinhold
35d696eaba 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
2002-07-11 21:05:38 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00