Commit Graph

42 Commits

Author SHA1 Message Date
Charlie Fenton 67559d2e3c Mac: screensaver check release portion of library version number used to build graphics app
Fix build error on Windows
2024-05-03 04:59:31 -07:00
Charlie Fenton 8924ba43b6 Mac: screensaver fixes for MacOS 14 2024-05-03 01:12:27 -07:00
Charlie Fenton cc2168ce6f Mac screensaver: update for MacOS 14.0 Sonoma 2023-10-28 05:30:49 -07:00
Vitalii Koshura 44742026e2
Remove trailing whitespaces. Add CI script to verify in on every commit
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2023-05-05 20:08:17 +02:00
David Anderson 9fb8bc060b mac build fix 2023-04-12 18:08:10 -07:00
David Anderson ae1496d28a screensaver (mac/win): remove unused RESULT* arg 2023-04-12 17:14:34 -07:00
Charlie Fenton 661983a5d6 Mac: fix compile warnings caused by upgrade to C++11 2021-03-31 03:44:19 -07:00
Charlie Fenton fcbdcc75b7 Mac: cleaner and more efficient screensaver implementation for OS 10.15 Catalina 2020-04-23 07:18:54 -07:00
Charlie Fenton 40ecc0ce9c mac: Fixes for screensaver under OS 10.15 Catalina
* Screensavers can't launch setuid / sergid executables like gfx_switcher
 * Screensavers can't launch executables downloaded from Internet unless vetted by user vis GateKeeper
 * Apple's ScreenSaverEngine doesn't always call stopAnimation before exiting
 * Apple's ScreenSaverEngine always passes true for isPreview argument
 * OpenGL apps built under Xcode 11 & Catalina use window doubled window dimensions on Retina displays (2 pixels per point)
 * The CGWindowList method we have used to display project graphics apps which have not been updated no longer works
* Screensaver output files are put in an obscure sandboxed directory
2019-11-08 03:40:22 -08:00
Charlie Fenton 3c3d8f6f89 Mac Screensaver: fixes for dual GPU MacBook Pros running OS 10.13+ 2018-08-28 03:04:41 -07:00
Charlie Fenton f58819a732 Screensaver: Changes for screensaver to support Mac OS 10.13 2017-09-30 05:01:26 -07:00
Charlie Fenton 72d15ba3b6 SCR: Mac: replace all deprecated Mac APIs as of OS 10.9 2017-02-28 05:16:42 -08:00
Charlie Fenton ab38f2ffa1 SCR: Mac: replace all deprecated Mac APIs as of OS 10.8 2017-02-27 06:31:03 -08:00
Charlie Fenton bcaf986854 SCR: Mac: continue replacing deprecated Mac APIs 2016-12-16 04:28:41 -08:00
Charlie Fenton 1c9c8873d7 SCR: Remove unused code from Mac Screensaver. 2015-03-09 02:53:19 -07:00
Charlie Fenton f08ed91419 SS: Fixes for dual-GPU Macbook Pros.
- Fix a crash bug.
- Don't run boincscr or project screensavers when on battery power because OpenGL apps trigger the use of the power-hungry discrete GPU.
2013-05-29 06:11:14 -07: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 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 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
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 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 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 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 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 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 600a391739 Mac SCR: eliminate unused argument, add comments
svn path=/trunk/boinc/; revision=16385
2008-11-01 09:05:23 +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
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
Charlie Fenton ec5ff1be99 Mac SCR: Add a test to directly determine when a graphics application window obscures our moving logo animation; if so, stop showing moving logo to avoid wasting CPU cycles.
svn path=/trunk/boinc/; revision=14804
2008-02-27 03:21:46 +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
Charlie Fenton 560ae25d55 New Mac screensaver uses Quartz APIs, not deprecated QuickDraw, works more like Windows saver.
svn path=/trunk/boinc/; revision=14743
2008-02-14 12:26:13 +00:00
Charlie Fenton 167da5c015 API: Add executing_as_daemon bool to get_state rpc. SCR: When running V5 GFX applications as a service / daemon, display appropriate error message instead of trying to display graphics.
svn path=/trunk/boinc/; revision=14641
2008-01-30 02:47:06 +00:00
Frank Thomas fbcfeaf456 - Removed the svn:executable property from files that should not be executable,
like source code and text files. I skipped to check most files in html/
  and mac_*/ though.
- Added svn:executable to tools/watch_tcp because it has a shebang.


svn path=/trunk/boinc/; revision=13819
2007-10-10 09:25:40 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
Charlie Fenton badebe8f55 Add handshaking between Mac screensaver threads when updating progress display.
svn path=/trunk/boinc/; revision=13801
2007-10-09 10:00:53 +00:00
Charlie Fenton 28073fd644 V6 SCR: Merge code for Mac and Windows screensavers
svn path=/trunk/boinc/; revision=13783
2007-10-05 15:01:03 +00:00
Charlie Fenton 0a19f38786 V6 SCR: Merge code for Mac and Windows screensavers, adding full functionality for Windows SS.
svn path=/trunk/boinc/; revision=13781
2007-10-05 13:28:11 +00:00