Commit Graph

369 Commits

Author SHA1 Message Date
Charlie Fenton be82b2e299 Mac: Fix command-line (stand-alone) version for newer MacOS versions.
Code-sign command-line executables, add info.plist file  with identifier to boinccmd, package as DMG instead of Zip so Apple will "notarize" it.
Set minimum MacOS version to OS 10.9 to eliminate most warnings from Xcode version 12.2.
Fix a problem running BOINC screensaver on MacOS 11 Big Sur when built with Xcode version earlier than Xcode 11.
2020-11-23 04:43:14 -08:00
davidpanderson 8b852cb2c9 Win code cleanup; no functional changes
Platform-wide #defines belong in .h files, not .cpp
Also fixed a couple of compiler warnings.
2020-08-31 13:56:15 -07:00
Charlie Fenton 5d0142984f Mac: restore updated error message lost by my commit fcbdcc75b7 (which was from PR# 3631) 2020-08-18 06:47:06 -07:00
Charlie Fenton 3e18fc3b20 Mac: FIx screensaver coordinator to run properly under Mac OS 11 Big Sur 2020-08-06 04:48:19 -07:00
David Anderson 88c3a96af5 Mac build fix 2020-05-15 23:37:42 -07:00
David Anderson c1d28459dc Mac build fix 2020-05-15 22:21:00 -07:00
David Anderson befd835e09 Mac build fixes 2020-05-15 21:02:15 -07:00
Charlie Fenton fa3b0ed9a1 Mac: better comments explaining the OpenGL / GLUT issues introduced by Xcode 11 and OS 10.15 Catalina with Retina displays. 2020-05-06 05:44:36 -07:00
Charlie Fenton 37d0114eb2 Mac default screensaver: don't redirect logs to user's directories. Under Sandbox Security, graphics apps do not have access to user's directories. 2020-05-06 05:37:35 -07:00
Charlie Fenton e040aec92d Mac: update copyright dates 2020-05-01 04:59:37 -07:00
Charlie Fenton c3c6d505ea mac: fix build errors 2020-05-01 04:19:09 -07:00
Charlie Fenton e091b98d07 Mac: fix BOINC graphics library libboinc_graphics2.a built with Xcode 11 to properly display graphics apps when invoked from "Show graphics" button on BOINC Manager. 2020-05-01 03:51:09 -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 a22ae85a57 Mac: new screensaver helper shell script 2020-04-23 06:36:45 -07:00
Charlie Fenton d77904076e Mac: replace unreliable getlogin() calls with getenv("USER") 2019-12-20 03:59:13 -08:00
Charlie Fenton a918b54b60 Fix comments to be more accurate 2019-11-11 00:08:40 -08:00
Charlie Fenton 2acb9b7af2 Fix errors building on MS Windows found by Appveyor 2019-11-09 01:50:45 -08:00
Charlie Fenton b1987ef43d Fix comments 2019-11-09 01:12:20 -08: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
lfield 18aa95e084
Merge pull request #2786 from Peppernrino/image-file-compression
Image File Compression
2019-04-12 10:27:35 +02:00
Juha Sointusalo 3fd0e8b116 update copyright year 2019-04-08 21:50:03 +03:00
Peppernrino 95070c01a3 Image File Compression
Ran a series of lossless compression algorithms to make the images smaller. Total reduction of ~13MB.
2018-10-29 16:27:45 -06:00
Juha Sointusalo f3a4f62a08 scr: fix argv in calls to run_program()
argv is supposed to be Unix-style and in Unix-style argv[0] is program
name. Let's try to have it that way.

Also clean up a comment that is not relevant to Windows code path.
2018-10-09 21:24:12 +03:00
Charlie Fenton a938e964a8 Mac screensaver: On OS 10.13+, allow a bit more time for graphics apps to launch 2018-10-04 03:39:24 -07:00
Charlie Fenton 78dc381a17 Mac screensaver: If no application screensaver is running, don't display "screensaver is not compatible with this version of OS X." 2018-10-04 01:49:49 -07:00
Charlie Fenton fdeac61f5c Mac: finish implementing screensaver fixes for OS 10.14 Mojave 2018-10-01 05:17:43 -07:00
Charlie Fenton 0b458e0960 Mac: continue implementing screensaver fixes for OS 10.14 Mojave 2018-09-29 06:15:33 -07:00
Charlie Fenton 7acac3295d Mac: screensaver fixes for OS 10.14 Mojave 2018-09-28 06:39:11 -07:00
Kevin Reed 3a8f1e2b22
Merge pull request #2673 from armstrdj/wcgrid_branding_updates
Updates for the wcgrid brand to support the mac installer
2018-09-07 09:10:34 -05:00
Jonathan Armstrong 5460f2d50a Updates for the wcgrid brand to support the mac installer 2018-08-29 09:25:42 -05:00
Charlie Fenton e2e0438674 Mac screensaver: Remove commented-out instruction as requested by @AenBleidd 2018-08-28 04:03:51 -07:00
Charlie Fenton fe483e2780 Mac screensaver: Fix minor typo in comment 2018-08-28 03:16:57 -07:00
Charlie Fenton 3c3d8f6f89 Mac Screensaver: fixes for dual GPU MacBook Pros running OS 10.13+ 2018-08-28 03:04:41 -07:00
David Anderson e50cc3a6d9
Merge pull request #2598 from LocutusOfBorg/patch-1
Update screensaver_x11.cpp to new /var/lib/boinc working directory
2018-07-20 13:18:07 -07:00
Gianfranco Costamagna be149bc945
Update screensaver_x11.cpp to new /var/lib/boinc working directory
Thanks Gord Sipko for the report!
2018-07-11 14:23:50 +02:00
Charlie Fenton 7ea4a81865 Mac: Consolidate branding strings in one source file and one header file shared among all files which use them; add checks for missing branding strings. 2018-07-11 03:59:34 -07:00
Jonathan Armstrong c98ee539e5 Code changes needed to add the wcg brand for the mac manager,screen saver,installer 2018-05-23 10:10:02 -05:00
Vitalii Koshura 44164f3cc0
Fix copyright symbol
This fxes #2493

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-04-30 23:29:15 +03:00
Vitalii Koshura a9d5b8ef1a
Fix copyright year
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-02-26 16:49:02 +02:00
Charlie Fenton 49ce406e98 Mac screensaver: under OS 10.13+ if the BOINC screensaver cannot display a graphics app with hardware acceleration using the IOSurface APIs because the app has not been linked with the current graphics libraries, then display it using the much slower CGWindowListCreateImage API. 2018-01-10 02:13:44 -08:00
Charlie Fenton f58819a732 Screensaver: Changes for screensaver to support Mac OS 10.13 2017-09-30 05:01:26 -07:00
Charlie Fenton 01c90ad350 Mac scr: fix comment 2017-06-09 19:04:59 -07:00
Charlie Fenton 902cb31436 Mac screensaver built with Garbage Collection for use with OS 10.6 and OS 10.7 2017-06-05 07:52:56 -07:00
Charlie Fenton 030a55796e Mac installer & screensaver: Allow building on newer versions of Xcode while preserving compatibility back to OS 10.6.
Problem: OS 10.6 and OS 10.7 require screensavers to be built with Garbage Collection (GC) enabled, but Xcode versions after 5.0.2 do not support GC.

Solution: save a compressed copy of the screensaver executable built with GC on GIT as BOINCSaver_MacOS10_6_7.zip, and update the Xcode project to build the screensaver with Automatic Reference Counting (ARC). Modify the Mac installer build script to add a copy of BOINCSaver_MacOS10_6_7 to the BOINCSaver bundle, so the installer installs the screen saver with both versions of the executable. Modify PostInstall.app to select the appropriate executable for the version of OS X at install time, rename it if necessary and delete the other one.
2017-06-05 02:16:06 -07:00
Charlie Fenton 58f6978c1e SCR: Mac: replace all deprecated Mac APIs as of OS 10.12. 2017-03-07 06:01:26 -08:00
Charlie Fenton d29a166204 SCR: Mac: continue replacing deprecated Mac APIs 2017-03-06 05:23:38 -08:00
Charlie Fenton 1065b6287a SCR: Mac: replace all deprecated Mac APIs as of OS 10.9 2017-03-01 04:47:09 -08: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 e1300dc88f SCR: Mac: Fix bug I introduced in commit ab38f2f earlier today. 2017-02-27 08:09:05 -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