Commit Graph

328 Commits

Author SHA1 Message Date
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
Charlie Fenton c7c296a4ee SCR: Reverse build breaks from commit eb46872. These files are used by the Mac Screensaver Coordinator. 2014-03-20 19:43:35 -07:00
Rom Walton eb46872508 SCR: Convert images used by the default screensaver to jpeg. TEXTURE_DESC only decodes jpeg files.
SCR: Fill out logo stuff for WCG and PTP on Windows.
2014-03-20 16:32:32 -04:00
Rom Walton 65c6252a9f SCR: Create a diagnostics log file for the default screensaver app. 2014-03-19 17:55:00 -04:00
Charlie Fenton f61d2168fe SCR: on Mac, don't overwrite old log files 2014-03-07 16:34:15 -08:00
Charlie Fenton d4292370e3 MGR: Fixes for fast user switching support
- Fix a crash bug which prevented "Launch another BOINC Manager" from working
 - Fix compiler warnings of possible buffer overflow due to incorrect calls to strncat()
 - Adjust directories for per-user files on Macintosh
2014-03-07 00:30:48 -08:00
Rom Walton 2f83235e0c LIB: Introduce the notion of per-user account log files. Setup the manager, tray applet, and screen saver to use per-user account log files. Technically the default screen saver should be as well.
Log Locations:
WIN   : %APPDATA%\BOINC
MAC   : $(HOME)/Library/Logs/BOINC
Linux : $(HOME)/.BOINC
2014-03-06 23:02:04 -05:00
Rom Walton 00aa8b4dbf MGR: Update BOINC icon set to v5. 2014-03-05 15:29:51 -05:00
Rom Walton 7471b381f7 client & manager: Update icons for all client-side components. (v4) 2014-02-23 23:12:30 -05:00
Rom Walton aa7af4c966 client & manager: Update icons for all client-side components. (v3b) 2014-02-22 20:04:40 -05:00
Rom Walton 36fce3f9db client & manager: Update icons for all client-side components. (v2) 2014-02-17 16:20:29 -05:00
Rom Walton 95a45dee5a client & manager: Update icons for all client-side components. 2014-02-14 16:05:42 -05:00
Rom Walton 352cdabe3f MGR: Update the native BOINC icons on Windows. VS2010 now supports compressed PNG icon images. 2014-01-06 17:06:29 -05:00
Charlie Fenton 0341a5d0a0 Mac installer: Make checks for OS X version consistent 2013-11-18 00:56:44 -08:00
Charlie Fenton 64fce21c93 Mac screensaver: Fix compiler warnings 2013-11-16 01:28:41 -08:00
Charlie Fenton 7c70f89b80 Mac: Fixes to allow minor OS versions > 9 and major OS versions > 10 2013-11-15 05:02:04 -08:00
Charlie Fenton 9784416a23 Mac SS: Add thumbnail images for OS 10.8 and 10.9 System Preferences screen saver picker 2013-10-25 23:40:27 -07:00
Charlie Fenton 7d372d2803 Fix warnings of class or global variables shadowed by local variables or arguments 2013-07-29 01:31:09 -07:00
Rom Walton a1e2422499 WINBUILD: New project files (Progress Thru Processors) 2013-06-27 02:08:16 -04:00