Commit Graph

771 Commits

Author SHA1 Message Date
Charlie Fenton 039fd904a4 Mac: Add new files keyword.cpp,.h to Xcode project 2017-07-16 21:14:01 -07:00
Charlie Fenton e2e1115a7c Mac: update build instructions to show they apply to version 7.7.3 and later 2017-06-08 04:31:47 -07:00
Charlie Fenton 9a92474055 Mac: update build instructions 2017-06-05 03:10:14 -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 aaa0254e4c Mac: modify Xcode project and build script setupForBOINC.sh for new approach to compatibility between production builds and Travis CI builds. The paths to the correct dependent library are now specified entirely in the Header Search Paths and Library SearchPaths for each target instead of the LD Flags, and we no longer use symbolic links in a mac3rdParty directory. 2017-03-16 02:42:50 -07:00
Charlie Fenton 554c1d41bc Mac: Remove references to the obsolete targets MakeAppIcon_h and WaitPermissions from build script. 2017-03-11 16:24:35 -08:00
Charlie Fenton 75179d8ca1 Mac replace all Mac APIs deprecated in OS 10.10, except in MacAccessibility.mm. Updating the accessibility support will require a complete rewrite to use Apple's new NSAccessibility APIs, which are not available on systems prior to OS 10.10, while retaining the current code for use with older versions of OS X. This will require far more time and effort than I can spend at this time.
Note also that Apple has deprecated the UNIX standard call system(const char *) as ofd OS 10.10 and says to use posix_spawn() calls instead. I have added a macro to the precompiled header MacGUI.pch for the Manager builds that converts the calls automatically, but have not been able to do so for the other BOINC modules. If future code in the client, libraries, etc. calls system(), this will have to be handled on a case by case basis, as I have done in boinc_rename_aux() in lib/filesys.cpp and CLIENT_STATE::write_state_file() in client/cs_statefile.cpp.
2017-03-03 06:05:09 -08:00
Charlie Fenton 103eb0ce5e Mac: add new mac_spawn.cpp to project to facilitate replacing system() calls with posix_spawn() calls as instructed by Apple, since system() is deprecated in mac OS 10.10. 2017-03-01 04:53:24 -08:00
Charlie Fenton 7e213cf2f6 Mac: Remove targets from Xcode project for building obsolete applications MakeAppIcon_h and WaitPermissions.
Note: See comments in make_app_icon_h.cpp and mac_icon.cpp for new instructions for adding icons to science applications.
2017-02-28 05:28:12 -08:00
Charlie Fenton 400f7a0cd2 Mac: Update Xcode project to support replacement of all deprecated Mac APIs as of OS 10.8 2017-02-27 06:33:50 -08:00
Charlie Fenton d6ff95d1ec Mac installer & uninstaller: replace all deprecated Mac APIs as of OS 10.12 2017-01-06 01:53:47 -08:00
Charlie Fenton 640e8a9ff8 Mac uninstaller: replace all deprecated Mac APIs as of OS 10.12 2016-12-21 06:08:36 -08:00
Charlie Fenton 82856b4be9 SCR: Mac: continue replacing deprecated Mac APIs 2016-12-16 04:30:20 -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
Charlie Fenton c314bf23dd MGR: Mac: begin replacing deprecated Mac APIs 2016-12-02 04:08:43 -08:00
Charlie Fenton 8037ace5e9 Mac: fix typos in comments in build scripts ad build instructions 2016-09-10 06:06:04 -07:00
Charlie Fenton 369097390d Mac: Minor clean up of Xcode project from previous commit 2016-09-10 03:50:25 -07:00
Charlie Fenton 7b6c68c169 Mac: Update to build with openssl 1.1.0, c-ares 1.11.0 and curl 7.50.2. 2016-09-10 03:26:46 -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
Charlie Fenton 64eff512b5 Mac: Fix bug in script to build curl-7.47.1 with ssl v2 disabled. 2016-03-02 05:56:47 -08:00
Charlie Fenton c0a71e6c37 Mac: update Xcode project, build scripts and build instructions to use cURL-7.47.1, OpenSSL-1.0.2g and SQLite 3.11.0.
Note: OpenSSL-1.0.2g eliminates support for SSLv2, but cURL expects that support, so using their default builds causes link errors in the client. I work around this by having the build script patch curl-7.47.1/lib/curl_config.h to remove SSLv2 from cURL. An alternate solution would be to pass the enable-ssl2 argument to configure when building OpenSSL-1.0.2g,
2016-03-02 04:37:41 -08:00
Charlie Fenton 0205b15d87 Mac: Fix comments in build script 2016-02-15 02:31:56 -08:00
Charlie Fenton 1dd81c0208 Mac: Add project_init.cpp, project_init.h to Xcode project. 2016-02-10 01:50:36 -08:00
Charlie Fenton e9c7291b95 Mac: Modify build script to allow building using libc++ instead of default libstdc++ and / or using c++11 language dialect instead of default 2016-02-03 02:35:38 -08:00
Charlie Fenton f594e1018c Mac: update build scripts, Xcode project and build instructions for new third party libraries curl 7.46.0, openssl 1.0.2e, sqlite 3.9.2, FreeType-2.6.2. 2016-01-06 00:41:36 -08:00
Charlie Fenton d598dc3968 Mac: Revert my commit f3f2ac4: sched_msgs is not needed in libbooinc on the Macintosh. This allows the Xcode project in master branch to be identical to the one in client_release/7/7.6 branch. 2015-12-03 02:21:18 -08:00
Charlie Fenton 918475a2b1 Mac: Update Xcode project for compatibility with Travis-CI: expect third party packages (or symbolic links to them) to be in ../mac3rdParty directory. 2015-11-30 02:53:28 -08:00
Charlie Fenton 90ce1a45fd Mac: Update script for compatibility with Travis-CI:
- Allow putting third party packages in ../mac3rdParty/ as an alternative to putting them in a parent directory.
 - If the packages are placed in the parent directory, this script creates symbolic links to them in ../mac3rdParty/.
 - Return an error code indicating which build failed (or 0 if all OK.)
2015-11-30 02:51:18 -08:00
Charlie Fenton 161a63de64 Mac: Modify build script to allow building Screensaver with Xcode 6 or later. It will build as "Fat" 32-bit / 64-bit binary with Garbage Collection under Xcode 5 and earlier (for backward compatibility to OS 10.6) or as 64-bit only binary with Automatic Reference Counting under Xcode 6 or later. Xcode 6 and later won't build objective-C sources with GC and so will build screensaver only as a 64-bit binary. 2015-11-28 04:50:05 -08:00
Charlie Fenton a356de11ed Mac: Modify Xcode project to allow all third party libraries to be accessed either directly or through symbolic links 2015-11-28 04:39:14 -08:00
Charlie Fenton 2c87e5b598 Mac scr: add change I omitted from my commit 8ce413f: build 32-bit and 64-bit fat binary for compatibility with OS 10.6 and OS 10.7. This requires building with Xcode 5 or earlier, because Xcode 6 forces converting to ARC, which does not support 32-bit binaries. 2015-11-24 03:12:16 -08:00
Charlie Fenton 9daf91b367 Mac: update build instructions to explain how to build with Xcode 5 if you have installed multiple versions of Xcode. 2015-09-11 21:51:11 -07:00
Charlie Fenton bd8f8ca85e Mac: update build instructions to explain the need to build with Xcode 5 or earlier if you need the screensaver to work with OS 10.7 and OS 10.6. 2015-09-11 19:13:43 -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 f3f2ac40b2 Mac: Add sched_msgs.cpp,.h to target libboinc in Xcode project. 2015-09-09 02:57:35 -07:00
Charlie Fenton fcf915523d MGR: Remove files WelcomePage.cpp, WelcomePage.h from Xcode project. 2015-04-29 18:58:15 -07:00
Charlie Fenton 7be208e5ea Mac: tweaks to build instructions. 2015-04-20 05:26:51 -07:00
Charlie Fenton d55d6dd363 Mac: update build instructions, incorporating feedback from testers. 2015-04-20 04:38:10 -07:00
Charlie Fenton 7d31c5a37c Mac: tweaks to build instructions for trunk 2015-04-09 00:22:58 -07:00
Charlie Fenton e31798d393 Mac: add a hint about entering file pr folder paths in the Terminal application 2015-04-08 06:11:16 -07:00
Charlie Fenton fd27d5ec62 Mac: update build scripts and instructions for trunk 2015-04-08 04:56:28 -07:00
Charlie Fenton cb61af8fe9 Mac: Correction to build instructions for trunk (BOINC 7.5.0 and later): wxWidgets can be built under Xcode 6 by using our provided build script. 2015-04-07 03:16:17 -07:00
Charlie Fenton ff0c8642c2 Mac: Corrections to build instructions for trunk (BOINC 7.5.0 and later.) 2015-03-23 02:25:47 -07:00
Charlie Fenton 973a8cb977 Mac: minor update to build instructions for trunk (BOINC 7.5.0 and later.) 2015-03-22 02:43:17 -07:00
Charlie Fenton d52d7cb660 Mac: update Xcode project for building BOINC 7.5 under Xcode 6.1.1.
- Rom: do not port this commit to the 7.4 branch; the screensaver this builds won't run on OS 10.5.
2015-03-09 06:55:37 -07:00
Charlie Fenton 5efea748a4 MGR: Add new files DlgHiddenColumns.cpp, DlgHiddenColumns.h to Xcode project. 2014-12-11 06:24:46 -08:00
Charlie Fenton 65448baaa3 MGR: Updates to Advanced Prefs dialog:
- Eliminate unnecessary instance variables.
 - Add text that BOINC will use the most restrictive of the 3 disk usage settings.
 - Break out exclusive apps into a separate dialog.
 - Add GUI for exclusive GPU apps.
2014-11-25 03:24:07 -08:00
Charlie Fenton 8fb082beda client: update Mac client to use curl 7.39.0 and openssl 1.0.1j 2014-11-17 16:21:03 -08:00
Charlie Fenton a5ff85e505 Mac: Add new source files ProjectWelcomePage.cpp, ProjectWelcomePage.h to Xcode project. 2014-10-04 16:50:15 -07:00
Charlie Fenton 8e7c4625cf Mac: Change client symbol table name from boinc_i386 to boinc_x86_64 (this is a cosmetic fix only.) 2014-10-02 04:35:18 -07:00