Commit Graph

360 Commits

Author SHA1 Message Date
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
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