Commit Graph

325 Commits

Author SHA1 Message Date
Rom Walton d3cde89d7b - WINSCR: Remove diagnostics screensaver dialog when the screensaver fails to
be able open up the log files.

    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=23810
2011-07-07 14:37:18 +00:00
Rom Walton f8d93187a4 - WINSCR: if we see a WM_QUIT message in the message pump for whatever reason
terminate the screensaver process.
        
    clientscr/
        screensaver_win.cpp

svn path=/branches/boinc_core_release_6_8/; revision=23769
2011-06-22 16:18:10 +00:00
Rom Walton 5fd6ca42cc Quick Updates
svn path=/trunk/boinc/; revision=23768
2011-06-22 16:16:08 +00:00
Charlie Fenton d21be978f8 MGR: Fix link error; SCR: Fix Mac crash bug when user clicks SS Test button in system preferences
svn path=/branches/boinc_core_release_6_8/; revision=23640
2011-06-06 09:43:34 +00:00
Charlie Fenton 5e1b7abf61 SCR: Fix Mac crash bug when user clicks SS Test button in system preferences
svn path=/trunk/boinc/; revision=23574
2011-05-23 02:07:02 +00:00
Charlie Fenton 2c10cceefa SCR: Fix crash bug when user clicks SS Test button in system preferences
svn path=/trunk/boinc/; revision=23572
2011-05-23 01:13:34 +00:00
Rom Walton 50f88192fd Quick Updates
svn path=/trunk/boinc/; revision=23442
2011-04-25 17:21:16 +00:00
Rom Walton c307c3dfe5 - SCR: In certain cases WM_QUIT is sent to the message proc, which is
is causing some type of deadlock and we don't break out of the message
        pump like we are suppose too.  For debug purposes, let us call DebugBreak()
        and see what the other threads are up too.
        
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=23441
2011-04-25 17:17:42 +00:00
Rom Walton d049739cd8 Quick Updates
svn path=/trunk/boinc/; revision=23304
2011-03-31 19:56:47 +00:00
Rom Walton 1c8e7a1feb Quick Updates
svn path=/trunk/boinc/; revision=23295
2011-03-29 21:05:51 +00:00
Rom Walton d8b9b8b268 - WINSCR: So after looking over all the logs from WCG and now from Jacob
Klein a pattern started to emerge.  At the end of the log files the last
        message logged was 0x12 which translates into WM_QUIT.  The latest
        documentation on WM_QUIT states it should never show up in the message
        loop to begin with.
        
        The docs now say that WM_QUIT should not be sent to the message loop by
        way of PostMessage.  We have been doing things this way for over 5 years.
        For all I know, this could have been carried over from the original screen
        saver sample application.
        
        Change the shutdown logic so that only the primary curtain window can call
        PostQuitMessage() and all other curtain windows just exit when they receive
        a WM_DESTROY message.
        
        I'm not sure what causes this to be a problem on some machines and not
        others.  But preliminary results from Jacob are encouraging.
        
    clientscr/
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=23294
2011-03-29 20:59:09 +00:00
Rom Walton 3f8cc63c8f - API: Flush buffers before terminating.
- SCR: Flush buffers before terminating.
    
    api/
        boinc_api.cpp
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=23286
2011-03-28 17:53:43 +00:00
Rom Walton 5c43258384 - SCR: Fix compile breaks.
clientscr/
        mac_saver_module.cpp

svn path=/branches/boinc_core_release_6_8/; revision=23262
2011-03-25 16:01:03 +00:00
Rom Walton 679dd6e9f2 - SCR: Follow the Mac's lead and gracefully exit the Data Management
thread.  Preserve the handle to take more drastic actions should
        that not work.
        
    clientscr/
        mac_saver_module.cpp, .h
        screensaver.cpp
        screensaver_win.cpp, .h

svn path=/branches/boinc_core_release_6_8/; revision=23261
2011-03-25 15:58:41 +00:00
Charlie Fenton acd948e94b SCR: Fix compile breaks
svn path=/trunk/boinc/; revision=23237
2011-03-15 07:09:15 +00:00
Rom Walton efd3c4caf7 - SCR: Follow the Mac's lead and gracefully exit the Data Management
thread.  Preserve the handle to take more drastic actions should
        that not work.
        
    clientscr/
        mac_saver_module.cpp, .h
        screensaver.cpp
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=23233
2011-03-14 18:58:04 +00:00
Charlie Fenton ba7b2d6898 Remove BOINC_RCSID tags from more source files
svn path=/trunk/boinc/; revision=22739
2010-11-23 11:25:36 +00:00
Charlie Fenton f982df4404 Mac SS: Minor tweak for use in debugging
svn path=/trunk/boinc/; revision=22678
2010-11-11 11:55:43 +00:00
Charlie Fenton 73e65cd425 work around bug which prevented default screensaver boincscr from communicating with Mac client
svn path=/trunk/boinc/; revision=22450
2010-10-06 09:00:05 +00:00
Rom Walton 66190aa0fc - MGR: Display the default action in the system tray menu in bold again.
- MGR: If connected to the localhost, don't display the computer name
        in the window title.
    - MGR: Change the exit menu item text to be a little more specific about
        what is being shutdown.  Use the same scheme as the exit text in the
        status bar so that it'll automatically be localized.
    - SCR: Remove some old Win9x code.
    
    clientgui/
        AdvancedFrame.cpp
        BOINCTaskBar.cpp
    clientscr/
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=22402
2010-09-23 18:35:06 +00:00
Rom Walton 0ec362318c - WINSCR: Set the screen saver log directory to the data directory.
- WINSCR: Already create a log file, even on release builds, just don't
        write trace messages.
    - WINSCR: Be a bit more paranoid about not being able to detect keyboard
        and mouse activity.  If the function fails for whatever reason
        shutdown the screensaver.
        
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=22341
2010-09-13 19:47:29 +00:00
Rom Walton 90a2567bb4 Quick Updates
svn path=/branches/boinc_core_release_6_8/; revision=22128
2010-08-04 18:14:54 +00:00
David Anderson 0b26a28259 - Added Linux screensaver from Nils Brause.
Note: I can't get this to build because if requires
    a package (xcb-atom) that I can't find.
    Need to resolve this.

svn path=/trunk/boinc/; revision=22004
2010-07-19 20:06:49 +00:00
Charlie Fenton 05fc0bd522 Ignore SUSPEND_REASON_CPU_USAGE in SS coordinator
svn path=/trunk/boinc/; revision=21159
2010-04-09 23:15:46 +00:00
Charlie Fenton 8e7f5082e2 Mac: don't include graphics apps in non-BOINC CPU time; optimize screensaver for OS 10.6.
svn path=/trunk/boinc/; revision=21132
2010-04-07 11:37:56 +00:00
David Anderson ea56e5df42 - screensaver fix
svn path=/trunk/boinc/; revision=20986
2010-03-23 17:11:33 +00:00
Charlie Fenton 3ca5c8ac21 Mac SS: Fix build break due to RPC changes of std::string to char[n]
svn path=/trunk/boinc/; revision=20985
2010-03-23 09:52:05 +00:00
David Anderson 6e7c91f181 compile fixes
svn path=/trunk/boinc/; revision=20891
2010-03-13 05:42:25 +00:00
David Anderson 9d21389844 compile fixes
svn path=/trunk/boinc/; revision=20888
2010-03-13 04:25:07 +00:00
Rom Walton e14e1cad34 - Remove BOINC_RCSID tags from source files, we are doing branching and tagging
properly.
        
    <Various Files>

svn path=/trunk/boinc/; revision=20873
2010-03-12 16:51:57 +00:00
David Anderson 4054775f35 svn path=/trunk/boinc/; revision=20833 2010-03-11 01:39:14 +00:00
Rom Walton 902e792418 fix build break
svn path=/branches/boinc_core_release_6_8/; revision=20662
2010-02-19 18:13:33 +00:00
Rom Walton 02048d9636 - screensaver: fix bug where sometimes no tasks are shown;
change font sizes for max of 2 sizes at a time

	clientscr/
		ss_app.cpp

svn path=/branches/boinc_core_release_6_8/; revision=20659
2010-02-19 18:04:20 +00:00
David Anderson 81f44cce52 svn path=/trunk/boinc/; revision=20598 2010-02-16 20:10:13 +00:00
Charlie Fenton a418d62918 Mac SS: look for Branding file in BOINC Data folder before the one in Manager (mainly for convenience debugging on build system)
svn path=/branches/boinc_core_release_6_8/; revision=20479
2010-02-10 07:37:17 +00:00
Charlie Fenton 3acd030eb1 Mac SS: change configuration dialog text to match new Windows wording
svn path=/trunk/boinc/; revision=20472
2010-02-09 02:48:07 +00:00
Rom Walton 8ab6352817 - WINSCR: cleanup configuration dialog text.
clientscr/
        boinc_ss.rc

svn path=/trunk/boinc/; revision=20435
2010-02-05 17:28:05 +00:00
Charlie Fenton de566e26e1 Mac SS: look for Branding file in BOINC Data folder before the one in Manager (mainly for convenience debugging on build system)
svn path=/trunk/boinc/; revision=20399
2010-02-03 04:50:24 +00:00
Charlie Fenton 9eca858ac7 ss_app: Allow branding for GR in a cross-platform way; add hi-res GR logo.
svn path=/trunk/boinc/; revision=20358
2010-02-02 12:19:01 +00:00
Charlie Fenton 38f0cf13c3 ss_app: Substitute a higher-resolution background GridRepublic logo
svn path=/branches/boinc_core_release_6_8/; revision=20355
2010-02-02 11:09:59 +00:00
Charlie Fenton b770396eac Mac ss_app: Fix compile break, compile with -D_GRIDREPUBLIC; update GR installer build script
svn path=/branches/boinc_core_release_6_8/; revision=20354
2010-02-02 11:09:19 +00:00
Kevin Reed 0eafaefa81 Add logic for WCG logo to default screen saver within an ifdef.
svn path=/trunk/boinc/; revision=20347
2010-02-01 19:01:31 +00:00
Rom Walton 2900a1449d Complete a GridRepublic friendly default screensaver
svn path=/branches/boinc_core_release_6_8/; revision=20337
2010-02-01 18:03:46 +00:00
Rom Walton 0a5e553773 fit and finish
svn path=/branches/boinc_core_release_6_8/; revision=20317
2010-01-29 16:48:24 +00:00
Rom Walton 887aff86ec - WINSCR: Remove some more crufty code from the screensaver.
clientscr/
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=19992
2009-12-19 22:10:46 +00:00
Rom Walton 73890c2265 bug fix
svn path=/trunk/boinc/; revision=19955
2009-12-17 16:47:55 +00:00
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 746be528fd Mac SS: In Mac screensaver control panel say "overview screensaver" not "BOINC screensaver"
svn path=/trunk/boinc/; revision=19916
2009-12-16 00:17:36 +00:00
Charlie Fenton 40c13eb89e SS: Allow users to set screensaver durations from ss control panel
svn path=/trunk/boinc/; revision=19891
2009-12-14 13:45:08 +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
Charlie Fenton 6bbcdbadf7 Mac SS: Changes for compatibility with OS 10.6
svn path=/trunk/boinc/; revision=18867
2009-08-19 02:49:06 +00:00
Rom Walton c5ff99fb92 Progress Thru Processors stuff
svn path=/trunk/boinc/; revision=18808
2009-08-03 23:13:34 +00:00
Rom Walton 840d07cf34 Quick Updates
svn path=/branches/boinc_core_release_6_8/; revision=18807
2009-08-03 23:07:58 +00:00
Rom Walton 1cf6f63293 Progress Thru Processors stuff
svn path=/branches/boinc_core_release_6_8/; revision=18806
2009-08-03 23:06:45 +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
Rom Walton 306cbd2fae Quick Updates
svn path=/branches/boinc_core_release_6_8/; revision=18515
2009-06-30 03:20:39 +00:00
Rom Walton 211aef0dae Quick Updates
svn path=/trunk/boinc/; revision=18513
2009-06-30 03:08:11 +00:00
Charlie Fenton 124feb478e PTP: check in new PTP Mac icons and images
svn path=/branches/boinc_core_release_6_8/; revision=18497
2009-06-23 23:17:40 +00:00
Charlie Fenton 4387fff5aa PTP: check in new PTP Mac icons and images.
svn path=/trunk/boinc/; revision=18495
2009-06-23 23:14:49 +00:00
David Anderson c7e8891ed6 - SS: remove unused func
svn path=/trunk/boinc/; revision=18444
2009-06-17 23:17:33 +00:00
David Anderson 0b3ce504ff - Win: compile fixes
svn path=/trunk/boinc/; revision=18439
2009-06-16 21:58:38 +00:00
Rom Walton 20b689bd17 - PTPSCR: Updates from Carl
clientscr/progress/win/x86/
        boincscr.exe
        gradient.jpg

svn path=/trunk/boinc/; revision=18398
2009-06-12 17:46:04 +00:00
Charlie Fenton b544a24a74 Mac MGR: strip /n from command field of PROCINFO struct to fix <exclusive_app>; KillClient() gets pid from procinfo_setup() except on Windows; restore boinc.jpg file
svn path=/trunk/boinc/; revision=18385
2009-06-12 00:42:09 +00:00
Rom Walton 89010182c9 - SCR: Update default values per BOINC defaults.
- PTP: Add files needed by the installer(s).
    
	clientscr/progress/
	    <Added and Deleted various files>
	clientscr/
	    screensaver.h
	win_build/installerv2/
	    Progress.ism
	    Progressx64.ism
	win_build/installerv2/redist/0409/
		ptp-eula.rtf
	win_build/installerv2/redist/Progress/
		acct_mgr_url.xml
		progress.ico
		ss_config.xml

svn path=/trunk/boinc/; revision=18383
2009-06-11 20:11:02 +00:00
Rom Walton e66e0e88be PTP: Add the 'Progress Thru Processors' screensaver to the
source tree.
      
    clientscr/progress
        <Added Various Files>

svn path=/trunk/boinc/; revision=18380
2009-06-11 17:21:57 +00:00
Rom Walton e3552a977b PTP: Introduce 'Progress Thru Processors' to the Windows build
environment. Use GridRepublic skin until the new one is available.
      
	client/win/
		boinc_cli.rc
		boinc_cmd.rc
	client/win/res/
		progress.ico (Added)
	clientctrl/
		boincsvcctrl.rc
	clientgui/
		BOINCGUIApp.rc
	clientgui/res/
		progress.ico (Added)
	clientgui/skins/Progress Thru Processors
		<Various Files>
	clientlib/win/
		boinc_dll.rc
	clientscr/
		boinc_ss.rc
	clientscr/res/
		boinc.jpg (Deleted)
	clientscr/res/
		progress.bmp (Added)
		progress.ico (Added)
		Scricon3.ico (Deleted)
	clienttray/
		boinc_tray.rc
	win_build/
		Progress.sln
		ptp_boinc_cli.vcproj
		ptp_boinc_dll.vcproj
		ptp_boinc_ss.vcproj
		ptp_boinccmd.vcproj
		ptp_boincmgr.vcproj
		ptp_boincsvcctrl.vcproj
		ptp_boinctray.vcproj

svn path=/trunk/boinc/; revision=18379
2009-06-11 17:11:47 +00:00
Charlie Fenton 8d9b1d78f4 Mac: Change "ProgressThruProcessors" to "Progress Thru Processors"
svn path=/trunk/boinc/; revision=18362
2009-06-11 00:36:15 +00:00
Charlie Fenton aa2069d0c4 Mac: add screensaver, installer and uninstaller support for ProgressThruProcessors branding
svn path=/trunk/boinc/; revision=18347
2009-06-10 10:49:46 +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
Rom Walton 85066ced1c minor modification
svn path=/trunk/boinc/; revision=17731
2009-04-02 21:18:14 +00:00
Rom Walton 760dc42e12 - WINSCR: It appears newer notebook models with multiple video
chipsets exhibit an interesting situation.  It appears as though
        in certain conditions a single monitor machine actually reports
        itself as having three monitors.  Normally the monitor that
        contains the primary window (coord 0,0) is on monitor 0, but on
        these machines coord 0,0 is actually on monitor 2.  This led to the
        screensaver not properly exiting when keyboard and/or mouse activity
        was detected.  Now when we detect that keyboard and/or mouse activity
        has happened we send the WM_INTERRUPTSAVER event to all windows
        on all monitors.
        
    clientscr/
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=17728
2009-04-02 19:04:10 +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
David Anderson 1acbff19fd - new screensaver: don't show jobs if suspended
svn path=/trunk/boinc/; revision=17646
2009-03-23 17:14:43 +00:00
Charlie Fenton e03e108441 Remove obsolete comment
svn path=/trunk/boinc/; revision=17605
2009-03-17 10:23:20 +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
David Anderson 6a8e754f62 - screensaver: show correct info if CPU throttling;
show correct window title;
		show "no projects" message.

svn path=/trunk/boinc/; revision=17405
2009-02-26 23:32:29 +00:00
Charlie Fenton 602f97f7f2 Restore an important comment
svn path=/trunk/boinc/; revision=17393
2009-02-26 02:12:21 +00:00
Eric J. Korpela 8f3abcc835 - Added checks for net/*.h, arpa/*.h, netinet/*.h and code to figure out
which of those files to include
    - Modified MAC address check to work on some non-Linux unixes.
      (mac_address.cpp)
    - Added suggested change to "already attached to project" checking.
      (ProjectInfoPage.cpp)
    - changed includes of standard c header files to their c++ equivalents
      (i.e. replaced <stdio.h> with <cstdio>) for namespace protection.
    - replaced "using namespace std;" with more explicit "using std::function" in
      several files.
    - Fixed bug in checking whether the os is OS/2 and added conditional OS_OS2
      to the build environment. (boinc_platform.m4,configure.ac)
    - Changed build environment to not use -nostandardlibs unless we are using
      G++ and static linkage is specified. (configure.ac)
    - Added makefiles and package building files for solaris CSW package manager.
    - Fixed bug with attempting to find login name using logname. (configure.ac)
    - Added ifdef HAVE_* protection around some include files commonly found in
      sys.
    - Added support for unified binary for x86_64/i686-pc-solaris.
      (cs_platforms.cpp)
    - generate_host_cpid() now uses MAC address on non-linux unix.
      (hostinfo_network.cpp)
    - Macro BOINC_SET_COMPILE_FLAGS now doesn't check gcc only flags on non-gcc
      compilers. (boinc_set_compile_flags.m4)
    - Library compiles no longer depend upon the library extension or require
      the library to be prefixed with lib.
    - More fixes for fcgi builds.
    - Added declaration of "struct ether_addr" and ether_ntoa().  Have not yet
      implemented ether_ntoa() for machines that don't have it, or where it is
      buggy.  (unix_util.h)
    - Added FCGI::perror() which calls FCGI_perror(). (boinc_fcgi.{h,cpp})
    - Fixed library Makefiles so that all required headers get installed.


svn path=/trunk/boinc/; revision=17388
2009-02-26 00:23:23 +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
Rom Walton 956b06f624 - WINSCR: Remove the progress indication code from the coordinator.
It is not handled by the default screensaver app.
    - WINSCR: Clean-up some of the thread cleanup logic.
    
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=17349
2009-02-24 20:00:02 +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 72e5c0fc0d screensaver: Implement --test and --retry_connect command-line arguments as requested by Rom
svn path=/trunk/boinc/; revision=17321
2009-02-20 02:33:11 +00:00
David Anderson 8b0c7af1bb svn path=/trunk/boinc/; revision=17303 2009-02-19 00:38:34 +00:00
David Anderson b568b7dada - screensaver
svn path=/trunk/boinc/; revision=17302
2009-02-19 00:29:12 +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 6d003c8987 ss_app: Fix compiler warning
svn path=/trunk/boinc/; revision=17221
2009-02-12 01:25:03 +00:00
Charlie Fenton 0fd8517242 ss_app: Remove code which adds a Mac icon
svn path=/trunk/boinc/; revision=17219
2009-02-12 01:21:16 +00:00
Charlie Fenton 03e8940a8a ss_app: Remove code which adds a Mac icon, restore previous permissions for boinscr
svn path=/trunk/boinc/; revision=17218
2009-02-12 01:19:56 +00:00
David Anderson 508626c053 - screensaver tweaks
svn path=/trunk/boinc/; revision=17217
2009-02-12 01:04:59 +00:00
David Anderson b09db4ce9a - tweak screensaver
svn path=/trunk/boinc/; revision=17205
2009-02-11 16:33:08 +00:00
Charlie Fenton e3a35a4340 ss_app: Fix compiler warning
svn path=/trunk/boinc/; revision=17204
2009-02-11 10:47:06 +00:00
Charlie Fenton d49183f125 ss_app: Replace temporary icon with standard BOINC icon
svn path=/trunk/boinc/; revision=17202
2009-02-11 10:35:07 +00:00
David Anderson 4dfa84da81 svn path=/trunk/boinc/; revision=17199 2009-02-11 00:46:57 +00:00
David Anderson 1fc3722e71 - client: add SCHEDULER_OP::rpc_failed();
this gets called when the op fails, either at initialization or later on;
        it clears the project's sched_rpc_pending flag if needed.
        This fixes a bug that caused user-requested RPCs to retry every 10 seconds
        when the network is down.
    - client: if debt-adjust period is too long, reset accounting.
        Otherwise we'll get this infinitely.
    - API: all optional alpha argument to TEXTURE_DESC::draw()

svn path=/trunk/boinc/; revision=17195
2009-02-10 19:30:59 +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
David Anderson 0436973b04 - compile fix
svn path=/trunk/boinc/; revision=17167
2009-02-06 05:37:48 +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
David Anderson 515de57e76 - screensaver: flesh out new SS a bit
svn path=/trunk/boinc/; revision=17162
2009-02-06 00:29:00 +00:00
Charlie Fenton c6bf99b452 SS: Add ss_app to XCode Project, with a temporary icon
svn path=/trunk/boinc/; revision=17148
2009-02-05 13:37: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
David Anderson 455c2f7373 - renamed boinc_ss_opengl to ss_app
svn path=/trunk/boinc/; revision=17131
2009-02-03 19:50:30 +00:00
Rom Walton 5539900569 - SCROPENGL: Checkin the files needed for the new OpenGL based
BOINC screensaver.
        
    clientscr/
        boinc_ss_opengl.h
        boinc_ss_opengl.rc
        screensaver_opengl.cpp
        screensaver_opengl.h
    win_build/
        boinc.sln
        boinc_ss_opengl.vcproj

svn path=/trunk/boinc/; revision=17128
2009-02-03 18:53:48 +00:00
Rom Walton 7652d57839 - MGR: Bug fixes for the new Exit dialog.
clientgui/
        BOINCBaseFrame.cpp
        BOINCClientManager.h
        BOINCGUIApp.cpp, .h
        BOINCTaskBar.cpp
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=16414
2008-11-04 16:51:31 +00:00
Rom Walton 59d0152c9b - MGR: Provide a way to enable/disable launching from the BOINC Manager
at startup from within the BOINC Manager itself.
    - MGR: Add a command line argument which specifies that the Manager was
        launched by the OS.
    - SCR: Remove the code that checks for the BOINC Manager shortcuts.

    clientgui/
        AdvancedFrame.cpp
        BOINCGUIApp.cpp, .h
        DlgOptions.cpp, .h
        boinc_ss.h
        boinc_ss.rc
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=16406
2008-11-04 09:33:03 +00:00
Charlie Fenton 600a391739 Mac SCR: eliminate unused argument, add comments
svn path=/trunk/boinc/; revision=16385
2008-11-01 09:05:23 +00:00
Charlie Fenton 59cd706f8c Mac SCR: fix some real and potential crash bugs
svn path=/trunk/boinc/; revision=16372
2008-10-31 13:44:52 +00:00
Rom Walton 2265da06ed - SCR: Fix the screensaver logo.
clientscr/
        boinc_ss.rc

svn path=/trunk/boinc/; revision=16329
2008-10-28 15:51:04 +00:00
Charlie Fenton d6eea6d46e Removed debugging statements
svn path=/trunk/boinc/; revision=16253
2008-10-22 12:30:16 +00:00
Charlie Fenton 7b41ac8f0e Mac SCR: reinitialize if startanimation() called after stopanimation(), detect if covered by app gfx window under all versions of OS X
svn path=/trunk/boinc/; revision=16252
2008-10-22 12:25:54 +00:00
David Anderson 20d9f92a65 - client: new config flags
<network_test_url>: where to go to see if network is up
    <client_version_check_url>: where to get list of client versions
    <client_download_url>: where to direct user to get new version
- manager: some different text for WCG version


svn path=/trunk/boinc/; revision=16208
2008-10-14 23:07:40 +00:00
David Anderson 98cfb8d3b0 - rename .C files to .cpp so that Doxygen will work
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +00:00
Rom Walton e8688254e2 - SCR: Fix GDI/Memory leak in the screen saver. Pointed out by David
Barnard.
        
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=16001
2008-09-16 01:14:30 +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 d666a7fa07 - WINSCR: Comment updates from Nicolas Alvarez
clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=15871
2008-08-17 17:27:24 +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 f42a753902 Use ANSI encoding, I don't know how it got set to UTF-8.
UTF-8 causes the resource compiler to fail.

svn path=/trunk/boinc/; revision=15838
2008-08-14 18:37:57 +00:00
Rom Walton 106b5f1c92 - WIN: Remove any remaining references to Seed and CPDNBBC.
client/win/
        boinc_cli.rc
        boinc_cmd.rc
    clientgui/
        BOINCGUIApp.rc
    clientgui/res/
        seed16.xpm
        seed32.xpm
        seedamwizard.xpm
        seedapwizard.xpm
    clientlib/win/
        boinc_dll.rc
    clientscr/
        boinc_ss.rc
    clientscr/res/
        seed.bmp

svn path=/trunk/boinc/; revision=15832
2008-08-14 03:08:15 +00:00
Rom Walton 4a6fd43a5c - WIN: Remove Visual Studio 2003 solution and project files
- WIN: Fix build files so all build configurations work again
    - WIN: Create the 'Samples - Debug' and 'Samples - Release'
        configurations to build sample files.  Leave the previous
        configurations to build just the client software.
    - WIN: Remove Seed project files
        
    client/win/
        boinc.exe.manifest
        boinc_cli_2003.rc
        boinc_cmd_2003.rc
        boinccmd.exe.manifest
    clientgui/
        BOINCGUIApp_2003.rc
        boincmgr.exe.manifest
    clientlib/win/
        boinc.dll.manifest
        boinc_dll_2003.rc
    clientscr/
        boinc.scr.manifest
        boinc_ss_2003.rc
    samples/win_build/
        samples_2003.sln
    win_build/
        boinc.sln
        boinc_2003.sln
        seed.sln
        <Various .vcproj files>

svn path=/trunk/boinc/; revision=15831
2008-08-14 02:58:05 +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
Rom Walton df046f6753 - SCR: BOINC's screensaver module in preview mode only displays
the BOINC icon, since the preview window is only 300x200 or
        so. We shouldn't launch the data management thread when
        launched in preview mode.
        
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=15227
2008-05-15 21:39:40 +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