Commit Graph

346 Commits

Author SHA1 Message Date
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
Charlie Fenton 4e9cc22f6b SCR: Mac: continue replacing deprecated Mac APIs 2017-02-25 04:56:59 -08:00
David Anderson ca80cac75a Win build: manage compiler warnings better:
VS lets you choose the compiler warning level, 0 to 4.
Higher is good because compiler warnings often indicate bugs.
However, some warnings are noise, and having a lot of them is bad
because they conceal the important ones.
As an example, a recent update to VS2010 causes it to spew warnings of the form
"function _strdup() is deprecated; use _strdup() instead.

So the new policy is:
- everything compiles with warning level 4
- in boinc_win.h we use #pragmas to suppress 3 specific warnings
  that occur a lot in our code, and are not bugs:
  - the _function names as described above
  - constant conditional expression (like while(1))
  - conversion from int to char

And the goal is to build everything with zero warnings
except from outside code like zip.
We're pretty close to that.

The project files for other VS versions should be modified
to also use level 4 everywhere.
2017-01-27 01:27:32 -08:00
Charlie Fenton bcaf986854 SCR: Mac: continue replacing deprecated Mac APIs 2016-12-16 04:28:41 -08:00
Charlie Fenton e0c3d65705 MGR: Mac: continue replacing deprecated Mac APIs
All Mac APIs deprecated through OS 10.6 have now been replaced
2016-12-07 07:58:43 -08:00
David Anderson 3bb3235a83 wrapper: fix Win build (remove --version option) 2016-09-09 15:41:23 -07:00
GITNE 21b8f91eda Fix even more file permissions
* C/C++ files
	* Drupal dummy readme file
	* Xcode project file and *.nib resource files
2016-06-11 19:07:35 +02:00
David Anderson 87769d4acb Merge branch 'master' of github.com:BOINC/boinc
Conflicts:
	clientgui/sg_TaskPanel.cpp
2016-02-17 22:55:57 -08:00
David Anderson 1587dbf71a change some sprintf() to snprintf() in lib code 2016-02-17 22:53:37 -08:00
Rom Walton 8b6fc49e1e SCR: Cleanup low hanging fruit with regards to cleaning up sprintf.
Use snprintf instead.
2016-02-17 21:41:20 -05:00
Charlie Fenton 49fc890ce6 SCR: Fix Mac screensaver for building with libc++ and c++11 2016-02-03 02:33:31 -08:00
Charlie Fenton 5f8c9cdeac SCR: Tweak mac screensaver for slightly better reliability. 2015-09-29 02:10:07 -07:00
Charlie Fenton 8ce413fa31 Mac scr: revert to using Objective-C Garbage Collection instead of Automatic Reference Counting, for compatibility with OS 10.6 and OS 10.7, which require GC in screensavers. It is still compatible with OS 10.8 through OS 10.11. This requires building with Xcode 5 or earlier, because Xcode 6 forces converting to ARC. 2015-09-11 18:46:43 -07:00
Charlie Fenton be7e47ec18 SCR: Fix a bug which prevented default screensaver (clientscr) from running when BOINC client was suspended. 2015-03-09 08:49:44 -07:00
Charlie Fenton 1c9c8873d7 SCR: Remove unused code from Mac Screensaver. 2015-03-09 02:53:19 -07:00
Charlie Fenton 38adc14676 SCR: Improve validity testing of settings on Mac Screensaver control panel. 2015-03-09 01:16:08 -07:00
Charlie Fenton ab59d88af4 SCR: Update to allow building with Xcode 6.1.1 (using Automatic Reference Counting) as well as Xcode 5.0.2.
- Because Xcode 6.1.1 requires ARC, it builds only the 64-bit screensaver, so the screensaver can't run on OS 10.5.
 - Xcode 5.0.2 builds the screensaver without ARC, and builds a combined 32-bit and 64-bit "universal" binary which runs on OS 10.5 through the latest OS X (OS 10.10.)
2015-03-09 01:06:47 -07:00
Charlie Fenton c0f34a49e7 SCR: Fix build break introduced by commit cb0d59b. 2015-03-08 06:13:44 -07:00
David Anderson 55a998fc01 Fix build errors 2015-01-16 09:29:49 -08:00
Charlie Fenton e0a2dfac05 SCR: Fix Mac screen saver to dismiss on mouse move On OS 10.8 and OS 10.9. 2014-04-08 23:41:21 -07:00
Kevin Reed 0ae26a32ef WCG: Add jpeg version of background image for screen saver 2014-03-26 18:17:07 -04:00
Kevin Reed 063f22eaa3 WCG: Update branding images and files for World Community Grid 2014-03-26 18:16:14 -04:00
Kevin Reed 7a6bcee40b Revise the ico files for WCG 2014-03-26 18:16:13 -04:00
Rom Walton 7ef0dbaa3c installer: Update images for WCG installer and skin 2014-03-26 18:15:56 -04:00