Commit Graph

246 Commits

Author SHA1 Message Date
Rom Walton 42b5a85731 - WINSCR: Attempt to gracefully shutdown a graphics application first
clientscr/
        screensaver.cpp

svn path=/trunk/boinc/; revision=24569
2011-11-10 17:00:51 +00:00
Charlie Fenton ae839a75f4 WINSCR: Fix compile error
svn path=/trunk/boinc/; revision=24568
2011-11-10 01:14:04 +00:00
Rom Walton e934982cf8 Quick Updates
svn path=/trunk/boinc/; revision=24562
2011-11-09 16:31:39 +00:00
Rom Walton f64ed84e36 - WINSCR: Sync up the timer IDs.
clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=24561
2011-11-09 16:28:25 +00:00
Rom Walton b7be27cc2a - WINSCR: In the ResetProc message pump, change the call for CloseWindow()
to DestroyWindow().
       
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=24560
2011-11-09 16:22:47 +00:00
Rom Walton 09428f0633 - WINSCR: Add a reference to SCRAPPERR_BOINCNOGRAPHICSAPPSEXECUTING
in the message lookup table.
       
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=24559
2011-11-09 15:35:18 +00:00
Rom Walton 4cc8b3d4e8 Quick Updates
svn path=/trunk/boinc/; revision=24554
2011-11-09 00:22:10 +00:00
Rom Walton afb727eba3 - Remove dead code related to v5 graphics applications from the
client software.
    
    client/
        boinc_cmd.cpp
    clientgui/
        AsyncRPC.cpp, .h
        BOINCGUIApp.cpp, .h
        MainDocument.cpp
    clientgui/gtk/
        taskbarex.cpp
    clientscr/
        screensaver.cpp
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp
    win_build/
        win-config.h

svn path=/trunk/boinc/; revision=24398
2011-10-14 19:02:43 +00:00
Rom Walton bfea72054e - WINSCR: Move the reset display call to the end of the full screensaver
section.  We do not need to perform a display reset in the various
        test modes.
        
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=24389
2011-10-13 14:41:24 +00:00
Rom Walton 0671d2ed97 - WINSCR: Before shutting down the screensaver, quickly reinitialize the OpenGL device
on the primary display.  Some of the issues being reported with the screensaver
        is a left over ghost image of the OpenGL display before the graphics application
        was terminated because keyboard/mouse activity was detected.

    clientscr/
        screensaver_win.cpp
    win_build/
        boinc_os_ss.vcproj

svn path=/trunk/boinc/; revision=24331
2011-10-04 18:39:02 +00:00
David Anderson e279b59913 - Updates Linux notifications to use current libnotify.
- Fix build problems on Mac OS X using autotools
- Consistently use #if HAVE_X for platform checks,
    rather than #ifdef HAVE_X or #if defined(HAVE_X)
- In Unix build, make lots of compiler checks standard
- Fix some compile warnings

From Matt Arsenault.

Note: there are now lots of compile warnings in clientgui/ on Unix,
    mostly in WxWidgets code


svn path=/trunk/boinc/; revision=24303
2011-09-27 19:45:27 +00:00
Rom Walton e8fe929958 Quick Updates
svn path=/trunk/boinc/; revision=24115
2011-09-02 16:54:46 +00:00
David Anderson 5fe6622001 - fix build error in Linux screensaver (at least on FC14)
svn path=/trunk/boinc/; revision=24055
2011-08-27 14:48:22 +00:00
Rom Walton 16b2a83b41 - WINSCR: Based on feedback from WCG about the screensaver lock-up
problem attempt to provoke Windows into redrawing the primary
        display.  It turns out that the screensaver image is a ghost
        image, so create a blank top-most window and close it after
        the graphics application has been terminated.
        
    clientscr/
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=24013
2011-08-18 09:56:11 +00:00
Rom Walton 1bc7c85d65 - Changes for Charity Engine Desktop.
client/win/res/
        ce.ico
    clientctrl/
        boincsvcctrl.rc
    clientgui/
        BOINCGUIApp.rc
    clientgui/res/
        ce.ico
    clientlib/win/
        boinc_dll.rc
    clientscr/
        boinc_ss.rc
    clientscr/
        boinc_ss_opengl.rc
    clientscr/res/
        ce.bmp
        ce.ico
    clienttray/
        boinc_tray.rc
    win_build/
        ce_boinc_cli.vcproj
        ce_boinc_dll.vcproj
        ce_boinc_ss.vcproj
        ce_boinccmd.vcproj
        ce_boincmgr.vcproj
        ce_boincsvcctrl.vcproj
        ce_boinctray.vcproj
        ce_ss_app.vcproj
        CharityEngine.sln
    win_build/installerv2/
        CharityEngine.ism
    win_build/installerv2/redist/0409/
        ce-eula.rtf
    win_build/installerv2/redist/CharityEngine/
        acct_mgr_url.xml
        ce.ico
        CE_IsDialogBanner.bmp
        CE_IsDialogBitmap.bmp
        CE_Splash.bmp

svn path=/trunk/boinc/; revision=23977
2011-08-10 16:51:58 +00:00
Charlie Fenton af8d165400 Changes for Charity Engine Desktop
svn path=/trunk/boinc/; revision=23964
2011-08-09 00:38:30 +00:00
Rom Walton 9ac520985a - Changes for Charity Engine Desktop.
client/win/res/
        ce.ico
    clientctrl/
        boincsvcctrl.rc
    clientgui/
        BOINCGUIApp.rc
    clientgui/res/
        ce.ico
    clientlib/win/
        boinc_dll.rc
    clientscr/
        boinc_ss.rc
    clientscr/
        boinc_ss_opengl.rc
    clientscr/res/
        ce.bmp
        ce.ico
    clienttray/
        boinc_tray.rc
    win_build/
        ce_boinc_cli.vcproj
        ce_boinc_dll.vcproj
        ce_boinc_ss.vcproj
        ce_boinccmd.vcproj
        ce_boincmgr.vcproj
        ce_boincsvcctrl.vcproj
        ce_boinctray.vcproj
        ce_ss_app.vcproj
        CharityEngine.sln
    win_build/installerv2/
        CharityEngine.ism
    win_build/installerv2/redist/0409/
        ce-eula.rtf
    win_build/installerv2/redist/CharityEngine/
        acct_mgr_url.xml
        ce.ico
        CE_IsDialogBanner.bmp
        CE_IsDialogBitmap.bmp
        CE_Splash.bmp

svn path=/branches/boinc_core_release_6_8/; revision=23955
2011-08-08 17:32:20 +00:00
Charlie Fenton 0b6a67dc24 Changes for Charity Engine Desktop
svn path=/branches/boinc_core_release_6_8/; revision=23949
2011-08-08 12:54:28 +00:00
Charlie Fenton 1b7c83f224 Mac: Updates for compatibility with current CUDA software and OS X through OS 10.7 Lion, etc.
svn path=/branches/boinc_core_release_6_8/; revision=23936
2011-08-05 12:08:34 +00:00
Charlie Fenton ad2da4c015 Mac SCR: Fix vertical range of moving logo
svn path=/trunk/boinc/; revision=23887
2011-07-28 12:40:11 +00:00
Charlie Fenton df68213efb SCR: Fix delay dismissing screensaver under Mac OS10.7
svn path=/trunk/boinc/; revision=23884
2011-07-27 11:42:22 +00:00
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