Commit Graph

425 Commits

Author SHA1 Message Date
Charlie Fenton a4979f3ad4 Mac: Fix another error in first build after cloning the BOINC source tree. (Fixed by changing order in which Xcode builds the targets.) 2019-02-01 17:35:35 -08:00
Charlie Fenton f429ab5c8b Mac: Fix error in first build after cloning the BOINC source tree. (Fixed by changing order in which Xcode builds the targets.) 2019-02-01 04:52:38 -08:00
Charlie Fenton c4d9ed0a33 Mac: Update symbol table generation for compatibility with the atos utility supplied with Xcode 10 2019-01-31 06:10:02 -08:00
Charlie Fenton a72d72913a Mac: fix some warnings from Xcode 2019-01-29 06:53:56 -08:00
Charlie Fenton faf389c02a Mac: Remove unused group from Xcode project 2019-01-29 06:10:13 -08:00
Charlie Fenton 21f42e44bf Mac: Add missing target dependency in Xcode project 2019-01-29 04:38:15 -08:00
Charlie Fenton a01f42e780 Mac: Fix error "cycle in dependencies between targets" when Xcode 10 option "Parallelize Build" is off. 2019-01-29 04:17:55 -08:00
Charlie Fenton f1a44ddb90 Mac: Changes to Xcode project to allow building under Xcode 10 2018-10-14 03:16:14 -07:00
Charlie Fenton dcab93b69a Mac installer: Finish implementing changes to avoid Mojave security dialog 2018-10-10 04:44:56 -07:00
Charlie Fenton 06d2a1f1fa Mac installer: Changes to avoid Mojave security dialog 2018-10-07 06:49:45 -07: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
Charlie Fenton c84a4134c4 Mac: continue implementing fixes to installer for issues under OS 10.13 High Sierra when multiple users are to be allowed to run BOINC Manager 2018-06-25 05:35:48 -07:00
Vitalii Koshura e236613753
Remove hostinfo_linux.cpp file from Scode project
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-06-01 14:52:54 +03:00
Vitalii Koshura 19a13d1e80
Move common linux detection functions to separate file.
Move WSL detection functions to separate file.
Update projet files for Windows, linux and MacOS

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-05-27 20:06:16 +03:00
Charlie Fenton 39aaa4c13d Mac: update party library dependencies 2018-01-25 04:47:18 -08:00
Kevin Reed 500790f8c7 Merge branch 'master' into dpa_autologin_client 2017-11-14 09:10:46 -06:00
Charlie Fenton 2d6404c16c Mac: Add files project_list.cpp, project_list.h to Xcode project for building client 2017-11-06 00:30:10 -08:00
Charlie Fenton 5967ee6299 Manager: update Xcode project and scripts for wxWidgets 3.1.0 because wxWidgets 3.0.0 can not be built using Xcode 9 due to APIs no longer supported by the header files in the OS 10.13 SDK 2017-10-26 02:38:25 -07:00
Charlie Fenton 15c1b035f3 Mac: Update Xcode project to build everything 64-bit, in preparation for future removal of 32-bit support in OS 10.14. 2017-10-20 18:27:29 +02:00
Charlie Fenton 58360ef54b Mac: Add keyword.cpp,.h to targets screensaver, ss_app, libboinc, client and manager in Xcode project for compatibility with master branch 2017-10-02 18:28:37 -07:00
Charlie Fenton f8e45b7c92 Mac: Changes to Xcode project to support screensaver changes for Mac OS 10.13.
NOTE: This needs to be merged into both master and 7.8 branch. Xcode project in master builds and links keyword.cpp and keyword.h, which are not present i 7.8 branch, so this commit does not include those.
2017-09-30 05:05:23 -07:00
Charlie Fenton 11b6ccc561 Mac: Add keyword.cpp,.h to targets screensaver, ss_app and manager in Xcode project 2017-07-31 02:56:41 -07:00
Charlie Fenton 039fd904a4 Mac: Add new files keyword.cpp,.h to Xcode project 2017-07-16 21:14:01 -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 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 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 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 1dd81c0208 Mac: Add project_init.cpp, project_init.h to Xcode project. 2016-02-10 01:50:36 -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 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 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 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