Commit Graph

68 Commits

Author SHA1 Message Date
Rom Walton 2d25b6698d - Cleanup various warnings
- WINSCR: Implement new configuration dialog with new parameters
    - WINSCR: Remove crufty code
    - WINSCR: Update copyrights in resource files
    
    client/
        app.cpp
    clientscr/
        boinc_ss.h
        boinc_ss.rc
        boinc_ss_opengl.h
        boinc_ss_opengl.rc
    clientscr/
        screensaver.cpp, .h
        screensaver_win.cpp, .h
    lib/
        common_defs.h
        crypt.cpp
        idlemon_win.cpp
        win_util.cpp
    samples/worker/
        worker.cpp
    win_build/
        boinc_ss.vcproj
        multi_thread.vcproj
        sleeper.vcproj
        ss_app.vcproj
        uc2_graphics.vcproj

svn path=/trunk/boinc/; revision=19923
2009-12-16 19:55:09 +00:00
Charlie Fenton 317e240b46 SS: Allow users to set screensaver durations from ss control panel
svn path=/trunk/boinc/; revision=19890
2009-12-14 13:10:49 +00:00
Charlie Fenton dc43748b5c Mac: Update XCode project and build scripts to build under XCode 3.2.1 and OS 10.6 Snow Leopard
svn path=/trunk/boinc/; revision=19781
2009-12-04 14:39:35 +00:00
David Anderson d34cc69d45 - user web: remove "enforced by version X+" for X < 6.0
- screensaver: added some comments

svn path=/trunk/boinc/; revision=19167
2009-09-25 17:39:50 +00:00
Rom Walton c7587fea9d - WINSCR: Remove Win9x compatibility code from the screen saver.
clientscr/    
        screensaver.cpp
        screensaver_win.cpp
        screensaver_win.h

svn path=/trunk/boinc/; revision=18719
2009-07-25 03:53:25 +00:00
David Anderson 0b3ce504ff - Win: compile fixes
svn path=/trunk/boinc/; revision=18439
2009-06-16 21:58:38 +00:00
Charlie Fenton df0f1ca968 SS: Add new optional boolean xml tag <default_ss_first>
svn path=/trunk/boinc/; revision=18222
2009-05-29 08:36:42 +00:00
Charlie Fenton c05e303e58 SS: launch default screensaver graphics app as user and group boinc_project, not boinc_master
svn path=/trunk/boinc/; revision=17815
2009-04-15 08:28:51 +00:00
Charlie Fenton 7a5f238a9f SS: Under Mac Sandbox security, terminate default screensaver graphics app via gfx_switcher
svn path=/trunk/boinc/; revision=17723
2009-04-02 10:37:48 +00:00
Charlie Fenton 3840b814b7 SS: Under Mac Sandbox security, terminate default screensaver graphics app via gfx_switcher
svn path=/trunk/boinc/; revision=17722
2009-04-02 10:25:16 +00:00
Charlie Fenton e1a9129b48 SS: Under Mac Sandbox security, gfx_switcher launches default ss app as user and group boinc_master; don't setgid boincscr
svn path=/trunk/boinc/; revision=17720
2009-04-02 01:48:44 +00:00
Charlie Fenton 2bf1427dce WINSCR: fix a bug. Mac screensaver: logic to stop Data Management thread even if hung on an RPC.
svn path=/trunk/boinc/; revision=17444
2009-03-03 12:08:49 +00:00
Rom Walton a280514e82 Remove unneeded header
svn path=/trunk/boinc/; revision=17424
2009-03-02 20:44:55 +00:00
Charlie Fenton 1b39ca2315 screensaver: remove error codes & messages handled by new default gfx app, add new error codes; better logic when coordinator window covered on Mac
svn path=/trunk/boinc/; revision=17408
2009-02-27 11:20:08 +00:00
Charlie Fenton 602f97f7f2 Restore an important comment
svn path=/trunk/boinc/; revision=17393
2009-02-26 02:12:21 +00:00
Rom Walton e778824e81 - WINSCR: Remove unneeded header files
- 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
2009-02-25 14:56:48 +00:00
Charlie Fenton 8d84e7cacc Added a comment warning not to change order of included headers.
svn path=/trunk/boinc/; revision=17369
2009-02-25 13:42:23 +00:00
Charlie Fenton 6ff6bda42d screensaver: Fix a bug I introduced during code consolidation
svn path=/trunk/boinc/; revision=17346
2009-02-24 12:47:54 +00:00
Charlie Fenton 345214bcfd Fix comment
svn path=/trunk/boinc/; revision=17340
2009-02-23 23:16:02 +00:00
Charlie Fenton fd1e7b33ca screensaver: Code consolidation, fix bug terminating default graphics app on screensaver exit
svn path=/trunk/boinc/; revision=17339
2009-02-23 23:06:03 +00:00
Rom Walton b402864705 - WINSCR: Fix the BOINC text displayed is the screensaver control
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
2009-02-23 06:09:16 +00:00
David Anderson 16ca7cd359 svn path=/trunk/boinc/; revision=17332 2009-02-22 04:05:34 +00:00
Charlie Fenton 73dc776567 pdate various source filed to GPL 3
svn path=/trunk/boinc/; revision=17330
2009-02-21 02:42:50 +00:00
Charlie Fenton b4c78c27b4 screensaver: Implement new screensaver coordinator logic as requested by Rom.
svn path=/trunk/boinc/; revision=17322
2009-02-20 11:49:49 +00:00
Charlie Fenton ab8d50e594 SS: On Windows, make path strings Unicode compatible in ss coordinator
svn path=/trunk/boinc/; revision=17273
2009-02-14 01:43:08 +00:00
Charlie Fenton 0668305208 SS: On Windows, get paths to BOINC data and executable directories from Windows registry
svn path=/trunk/boinc/; revision=17256
2009-02-13 11:08:32 +00:00
Charlie Fenton 7d1edca650 Fix comments
svn path=/trunk/boinc/; revision=17225
2009-02-12 13:25:47 +00:00
Charlie Fenton 5d66b22b3b SS: Continue refining screensaver coordinator logic
svn path=/trunk/boinc/; revision=17224
2009-02-12 12:58:24 +00:00
Charlie Fenton 6edb534164 SS: Minor fix to screensaver coordinator
svn path=/trunk/boinc/; revision=17223
2009-02-12 11:54:57 +00:00
Charlie Fenton 1686bfbb1e SS: Fix new screensaver coordinator to work properly on Windows
svn path=/trunk/boinc/; revision=17194
2009-02-10 13:45:43 +00:00
Charlie Fenton 8b056b7845 SS: Fix new screensaver coordinator to work properly on Windows
svn path=/trunk/boinc/; revision=17193
2009-02-10 12:35:12 +00:00
Charlie Fenton 5d3ab73570 SS: Screensaver coordinator reads ss_config.xml file; if default ss ran during science phase, shorten next default phase
svn path=/trunk/boinc/; revision=17168
2009-02-06 11:17:13 +00:00
Charlie Fenton b3d6f09444 SS: Fix ss_app compile errors on Mac, continue work on screensaver coordinator
svn path=/trunk/boinc/; revision=17163
2009-02-06 02:17:45 +00:00
Charlie Fenton 25c5eb2617 SS: Implement basic new functionality in screensaver coordinator (tested on Mac only so far)
svn path=/trunk/boinc/; revision=17147
2009-02-05 12:44:39 +00:00
Charlie Fenton 2c89b4103e SS: Implement basic new functionality in screensaver coordinator (tested on Mac only so far)
svn path=/trunk/boinc/; revision=17146
2009-02-05 12:32:16 +00:00
Charlie Fenton 229650ec15 SCR: Fix trace statements in screensaver.cpp; enable diagnostics in Mac screensaver
svn path=/trunk/boinc/; revision=15967
2008-09-05 02:47:10 +00:00
Rom Walton 90d1109bfe - winsetup: Change the delete file after reboot code to use
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
2008-08-29 19:06:04 +00:00
Charlie Fenton 17cd1c5f19 screensaver.cpp: add comments and indentation fixes
svn path=/trunk/boinc/; revision=15885
2008-08-18 23:39:50 +00:00
Charlie Fenton 437ca715b6 Additional screensaver bug fix
svn path=/trunk/boinc/; revision=15879
2008-08-18 22:18:22 +00:00
Charlie Fenton 440ae7d73d Additional screensaver bug fix
svn path=/trunk/boinc/; revision=15877
2008-08-18 22:09:22 +00:00
Rom Walton ed8000459d - SCR: Fix my checkin that causes the CPU util to spike on Macs and
possibly Windows.
        
    clientscr/
        screensaver.cpp

svn path=/trunk/boinc/; revision=15874
2008-08-18 19:14:28 +00:00
Rom Walton 8b5adc903a - WINSCR: Certain checks should be done regularly like keyboard/mouse
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
2008-08-14 19:09:01 +00:00
Rom Walton 5d915bf830 - Update copyright strings in various Windows resource files.
client/win/
        boinc_cli.rc
        boinc_cli_2003.rc
        boinc_cmd.rc
    clientgui/
        BOINCGUIApp.rc
        BOINCGUIApp_2003.rc
    clientlib/win/
        boinc_dll.rc
        boinc_dll_2003.rc
    clientscr/
        boinc_ss.rc
        boinc_ss_2003.rc
    clienttray/
        boinc_tray.rc

svn path=/trunk/boinc/; revision=15827
2008-08-13 20:44:08 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- 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
2008-08-06 18:36:30 +00:00
Rom Walton 7e7486a34b - SCR: Don't treat CPU throttling as BOINC beeing suspended.
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
2008-08-01 02:58:20 +00:00
Charlie Fenton 3fd4d8cd27 Compile fix.
svn path=/trunk/boinc/; revision=14933
2008-03-17 21:51:42 +00:00
Rom Walton d08320ca4f - SS: Launch the graphics app as the user instead of 'boinc_project'.
- MGR: Launch the graphics app as the user instead of 'boinc_project'.
    
    clientgui/
        MainDocument.cpp
    clientscr/
        screensaver.cpp

svn path=/trunk/boinc/; revision=14917
2008-03-14 22:17:37 +00:00
David Anderson 671524df2a - Second pass at the above. We still need run_program() in util.C.
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
2008-03-10 22:36:22 +00:00
Charlie Fenton e53d0a480b Mac SCR: Display "Starting screensaver graphics. Please wait ..." for 45 seconds each time we start graphics from a different application
svn path=/trunk/boinc/; revision=14793
2008-02-26 01:53:36 +00:00
Charlie Fenton 7f10249377 MAC SCR: Further changes and cleanup of new Mac screensaver
svn path=/trunk/boinc/; revision=14759
2008-02-19 13:26:26 +00:00