- SCR: Shuffle headers around so that it'll build on both Windows and
Mac without having to put in duplicate entries.
clientscr/
screensaver.cpp
svn path=/trunk/boinc/; revision=17370
panel applet
- WINSCR: Get rid of the 'Up to 5 second wait' for the data thread
to terminate. Force terminate the thread and clean up the
graphics app in a clean-up routine. Forcing the user to wait
when they return to the system isn't a good idea.
- WINSCR: Fix screensaver issue where the screensaver locks up
when the graphics application deadlocks for one reason or
another.
Create two new threads:
1. Monitor system for keyboard and mouse events.
2. Shuffle window z-order positions if needed.
The keyboard/mouse event monitor is isolated from either
the core client getting stuck in a loop and not returning
the results of an RPC or the window shuffling code which
can get stuck if the graphics application dead locks.
The window shuffle code is isolated due to the
BroadcastSystemMessage() API using something akin to
SendMessage() which waits for a return value from the
target windows winproc. If a graphics application
deadlocks for one reason or another it'll cause
the thread to stall. This isn't terminal and so we
just wait for the next time the data thread chooses
a new application and terminates the old one which
will cause the thread to resume.
This should resolve all outstanding issues with the
screensaver not exiting when the mouse or keyboard
is used.
clientscr/
boinc_ss.rc
screensaver.cpp
screensaver_win.cpp, .h
svn path=/trunk/boinc/; revision=17336
MoveFileEx instead of the RunOnce registry key. It does what
I was originally trying to do directly to:
HKLM\SYSTEM\CurrentControlSet\Control\
Session Manager\PendingFileRenameOperations
But I ran into issues across various versions of Windows.
Thanks to Nicolas Alvarez for pointing out the API.
- scrsave: Some more screensaver clean-up.
- lib: Fix an infinate loop problem in get_exit_status,
luckly BOINC wasn't using it.
clientscr/
screensaver.cpp
lib/
util.C
win_build/installerv2/redist/Windows/src/boinccas/
CAValidateRebootRequest.cpp
svn path=/trunk/boinc/; revision=15945
activity and the notification window check. They should not depend
on whether or not the graphics window has been displayed or not.
clientscr/
screensaver.cpp
screensaver_win.cpp, .h
svn path=/trunk/boinc/; revision=15840
- scheduler: fix bug in adaptive replication:
if send an unreplicated job to untrusted host,
set both wu.target_nresults and wu.min_quorum to app.target_nresults.
svn path=/trunk/boinc/; revision=15762
Fixes#706
- MGR: If the reminder frequency is 0, then don't show any
reminder messages.
clientgui/
BOINCDialupManager.cpp
clientscr/
screensaver.cpp
screensaver_win.cpp
svn path=/trunk/boinc/; revision=15731
- MGR: Launch the graphics app as the user instead of 'boinc_project'.
clientgui/
MainDocument.cpp
clientscr/
screensaver.cpp
svn path=/trunk/boinc/; revision=14917
The problem was that there's a lot of extra stuff needed
for running apps on Windows (e.g. related to sandboxing).
This needed to be a new function.
svn path=/trunk/boinc/; revision=14879