Commit Graph

453 Commits

Author SHA1 Message Date
Charlie Fenton 8571569afc mac installer: change pkill() calls to killall() because pkill() was not available before OS 10.8 2018-07-30 19:33:51 -07:00
Charlie Fenton f381456376 Revert "mac installer: change pkill() calls to killall() because pkill() was not available before OS 10.8"
This reverts commit 51ccd9215f.
2018-07-30 19:26:41 -07:00
Charlie Fenton 51ccd9215f mac installer: change pkill() calls to killall() because pkill() was not available before OS 10.8 2018-07-30 19:24:21 -07:00
Charlie Fenton a4eccce899 Mac installer: fix typo in code to remove any previous nvc_config.xml file 2018-07-26 19:46:56 -07:00
Charlie Fenton eadd350987 Mac installer: remove any previous nvc_config.xml file 2018-07-26 10:44:15 -07:00
Charlie Fenton e34b68379e Mac installer: remove code I added earlier which renamed previous nvc_config.xml to old_nvc_config.xml. 2018-07-26 02:38:59 -07:00
Kevin Reed eee34216d4
Merge pull request #2603 from BOINC/caf_New_version_check_config
Add support for new nvc_config.xml file for branded installers
2018-07-20 13:51:09 -05:00
Charlie Fenton fc02420dd4 To allow customized new version message to be translatable, allow only the branded name of BOINC to be customized in the message.
Emphasize this difference by changing NVC_CONFIG struct member new_version_text to new_version_name.
Fix a bug I introduced in release_brand.sh script.
2018-07-15 03:24:59 -07:00
Charlie Fenton a03075c73c If version check URL has changed, reset any past new version information
This may happen due to installing a build of BOINC with different branding than before
2018-07-15 02:20:50 -07:00
Charlie Fenton 4f09c1979b Move client_version_check_url, client_download_url and client_new_version_text tags from cc_config.xml into new nvc_config.xml file.
If nvc_config.cml file is absent, use default values.
Branded installers can create or replace this file to customize these values.
Standard (unbranded) BOINC installers should either delete the file or create or replace it with one containing default values.
2018-07-14 04:59:06 -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 b2a51d7821 Fix checks for optional -dev argument ($5 not $4), tweak comments and update copyright year. 2018-07-09 03:43:34 -07:00
Charlie Fenton 2e4d61a11a Fixed logic for Dock "snooze" and "disconnected badges" to properly follow branded status bar (taskbar) icon.
Display branded icon in About dialog.
Fixed comment in script to reflect change from BRANDINGFILE to BRANDING_INFO in explanation of format of brand description file.
Fixed bugs in script when signing client, manager, installer, uninstaller and / or installer package.
Changed name of destination directory for built script products to avoid overwriting builds for other brands or unbranded builds.
2018-06-29 01:13:16 -07:00
Jonathan Armstrong 999cd0bfcd Merge branch 'mac_branded_installer_build_script' of https://github.com/armstrdj/boinc into mac_branded_installer_build_script 2018-06-28 09:23:46 -05:00
Jonathan Armstrong 0ce507eefb Moved Branding out of file and into enviornment variable and moved modification of plist and distribution file to temporary intaller directory 2018-06-28 09:22:38 -05:00
Charlie Fenton c4869051a9 Merge commit '5bedd6bf4afc39fea08e5e44c2e074221b0cc826' into mac_branded_installer_build_script
* commit '5bedd6bf4afc39fea08e5e44c2e074221b0cc826':
  Mac: Finish implementing fixes to installer for issues under OS 10.13 High Sierra when multiple users are to be allowed to run BOINC Manager
  [Client] [WSL] Fix xml output
  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
  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
  [Client] [WSL] Add missed CloseHandle()
  Mac: begin fixes to installer for issues under OS 10.13 High Sierra when multiple users are to be allowed to run BOINC Manager  - fix setting or deleting Login Items for users other than the one running the installer  - fix setting the screensaver for users other than the one running the installer
  [Client] [WSL] Fix Windows build
  [Client] [WSL] Extend detection.
  web: let project customize "Want to help more?" list
  web: home page: don't show credit as FLOPS.  Might not be correct.
  web: finish (I think) handling all the "join" scenarios sensibly. The degrees of freedom include - whether the project is vetted, has an ID an therefore can use autoattach - whether the user already has an account - whether the user is logged in
  web: tweaks to sample home page
  web: change semantics of download.php?dev=1 so that it uses the dev version if there is one, else the recommended version
  - add some tra()s
  - parse project ID correctly
  Web: tweaks to signup logic and forum tables
2018-06-28 03:31:14 -07:00
Jonathan Armstrong 2260ee5392 Fixed copying branding file to PostInstall.app and added copy of new installer icns file to PostInstall app. 2018-06-27 14:19:58 -05:00
Charlie Fenton 6e1690f84e Mac: Finish 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-27 05:37:53 -07:00
Charlie Fenton b4a14a50a0 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-26 06:38:51 -07:00
Jonathan Armstrong 54ce6eb82d Adding generic script to build a branded mac installer and files needed for WCG brand 2018-06-26 07:54:56 -05: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
Charlie Fenton e26a513033 Mac: begin fixes to installer for issues under OS 10.13 High Sierra when multiple users are to be allowed to run BOINC Manager
- fix setting or deleting Login Items for users other than the one running the installer
 - fix setting the screensaver for users other than the one running the installer
2018-06-24 04:01:49 -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
Charlie Fenton bed23b6b6f Mac certificate updater script: create directory to receive the built installer if it does not already exist 2018-04-28 17:20:39 -07:00
Charlie Fenton cd7131cdc8 Mac certificate updater script: fix typo 2018-04-28 04:56:12 -07:00
Charlie Fenton 9317d92902 Mac: script which builds installer to update ca-bundle.crt certificate on very old BOINC clients running under OS 10.3.9 - OS 10.5
NOTE: this script must be run on an OS 10.5 or OS 10.6 system which has Xcode 3 and PackageMaker 3 installed.
2018-04-28 04:45:19 -07:00
Vitalii Koshura fc1aaebe80
Fix fsf.org links
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-02-18 03:29:48 +02:00
Vitalii Koshura b13f09d066
Update links in license files to point correct link to sources
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-02-18 00:53:30 +02:00
CharlieFenton 038d274f23
Merge branch 'master' into dpa_autologin_client 2017-12-01 02:17:04 -08:00
Charlie Fenton 7eec5f3d94 Mac installer: correctly determine package name and branding if installer file name has been modified 2017-11-16 06:06:26 -08:00
Charlie Fenton 5296088108 Mac installer: correctly replace screensaver when installing an older version of BOINC to replace a newer version 2017-11-16 03:48:43 -08:00
Kevin Reed 252b825f38 Client - Fix bad paste of variable name. 2017-11-14 21:16:33 -06:00
Kevin Reed c6c1038f63 Client - Change comment that referred to old autologin filename 2017-11-14 20:44:35 -06:00
Kevin Reed f96246ae3f Client - Change constant INSTALLER_FILENAME_FILENAME TO
ACCOUNT_DATA_FILENAME for mac installer
2017-11-14 20:33:20 -06:00
Kevin Reed 500790f8c7 Merge branch 'master' into dpa_autologin_client 2017-11-14 09:10:46 -06:00
Charlie Fenton 048e9e4800 Mac installer: check whether the project server provided the installer_filename.txt file by putting it in the same parent directory as our installer bundle (the bundle's default name is "BOINC Installer.app"). If yes, copy the provided file into the BOINC Data directory. Otherwise create the installer_filename.txt file and write the name of our installer bundle in it. 2017-11-12 03:37:52 -08:00
Charlie Fenton c324052576 Mac installer: Make everything in zipped top-level directory user-writable so project web code using auto-attach can delete it after inflating, modifying installer name and recompressing it. 2017-11-11 05:37:15 -08:00
Charlie Fenton e32c54619c Mac installer: write name of installer to installer_filename.txt in BOINC Data directory 2017-11-11 03:35:48 -08:00
Charlie Fenton 8f9ff45c23 Mac: fix installer build script to allow spaces in paths 2017-10-27 03:45:14 -07:00
Charlie Fenton f7bea49eb0 Mac: Update installer build script to get boinc_logo_black.jpg from a different path because it is no long in the doc directory. 2017-10-20 18:31:48 +02:00
Charlie Fenton 0fb2c708d5 Mac installer: Fixes to allow building 64-bit application on Macintosh. 2017-10-20 18:27:29 +02:00
Charlie Fenton 15680d88a2 Mac uninstaller: better optimization and error checking 2017-07-16 20:50:03 -07:00
Charlie Fenton 926dd53836 Mac installer: ensure that temporary directories created by Mac installer and uninstaller have unique names 2017-07-15 05:11:32 -07:00
Charlie Fenton a909b421e4 Mac uninstaller: fix small cosmetic issue 2017-07-15 02:40:44 -07:00
Charlie Fenton baafd72e19 Mac installer: Prevent displaying "OSAScript" in menu bar on newer versions of OS X 2017-07-14 04:12:16 -07:00
Charlie Fenton 618d1d2a4d Mac installer: improve logging of diagnostic information 2017-07-12 05:06:12 -07:00
Charlie Fenton 7daab0b047 Mac installer: create temporary files in a directory unique to the user running the installer or uninstaller, to avoid permission problems if it was recently run from a different user.
Don't try to automatically launch the BOINC Manager if it is being installed from a user who is not authorized to run the Manager.
2017-07-11 07:31:41 -07:00
Charlie Fenton b4b0a6406f Mac installer: create temporary files in a directory unique to the user running the installer or uninstaller, to avoid permission problems if it was recently run from a different user. 2017-07-11 07:29: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 d98533241c Mac installer: add better error reporting 2017-06-05 01:58:46 -07:00
Charlie Fenton e2ed684459 Mac installer: fix bugs introduced in my commits bbc1c40 when replacing deprecated system() calls with posix_spawnp() calls 2017-06-04 06:05:58 -07:00
Charlie Fenton f1ceeab610 Mac: fix compile error from Xcode 8. All APIs deprecated as of OS 10.12 are now replaced, except for the following:
[1] MGR: 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.
[2] API: Apple has deprecated many  OpenGL  / GLUT APIs as of OS 10.12. This affects these files in libboinc_graphics2.a: graphics2_unix.cpp, gutil_text.cpp and gutil.cpp. Apple recommends their proprietary APIs to replace OpenGL  / GLUT.
[3] All: Apple has deprecated libstdc++ and recommends switching to libc++ with a minimum deployment target of OS X 10.9, but that would eliminate support for OS 10.6 through OS 10.8.
2017-03-07 06:21:03 -08:00
Charlie Fenton bbc1c40d06 Mac installer: replace Mac APIs deprecated in OS 10.10, fix bug in AddRemoveUser utility 2017-03-01 04:45:38 -08:00
Charlie Fenton f50638109b Mac: Replace all deprecated APIs (as of OS 10.12) in AddRemoveUser command line utility 2017-02-28 05:19:45 -08:00
Charlie Fenton c64a99e32b Mac installer: replace all deprecated Mac APIs as of OS 10.8 2017-02-27 06:32:17 -08:00
Charlie Fenton c19e1a20e0 Mac installer: continue replacing deprecated Mac APIs 2017-02-25 04:58:13 -08:00
Charlie Fenton 2d63fc2b91 Mac installer: update comments explaining how to install BOINC Manager from the command line. 2017-01-09 21:43:59 -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 3b355d1574 Mac uninstaller: minor bug fix affecting only OS 10.6 2016-12-21 06:53:34 -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
Christian Beer 70dd29ed09 Locale: refactor template update process
* Automatically build templates from source files and push them to transifex. Templates are automatically created in the right place, no more manual copying files.
* Use a consistent header for all template files
* Only Android and Drupal are still updated on their own because this needs interactive tools.
2016-11-28 19:10:33 +01:00
funkydude 71831ee639 Expand usage of HTTPS and fix a few URLs 2016-03-08 20:04:28 +00:00
Charlie Fenton c63204bf08 Mac uninstaller: Fix a hang bug on some older versions of OS X (including 10.6.8.) 2015-08-14 06:20:49 -07:00
Charlie Fenton 7c9a76bb70 Mac installer: attempt to prevent a rare installer crash when system is set for a language other than English. 2015-08-14 04:05:19 -07:00
Charlie Fenton d6a5ab2241 Mac installer: Fix bug introduced in my commit 3e1428c which prevents installing on OS X older than OS 10.9 unless BOINC users and groups already exist (i.e., which causes a clean install to fail.) 2015-08-13 04:21:19 -07:00
Charlie Fenton 3586e4044a Mac installer: make my changes for OS 10.11 El Capitan compatibility work with branded versions of BOINC (GridRepublic, etc.) 2015-07-02 18:09:15 -07:00
Charlie Fenton 3e1428c8ce Mac installer: improved changes for compatibility with OS 10.11 El Capitan. 2015-07-02 04:24:16 -07:00
Charlie Fenton 4e361ab507 Mac installer: changes for compatibility with OS 10.11 El Capitan. 2015-07-01 04:21:08 -07:00
Charlie Fenton 3cbeaa493a Mac installer: Add change I inadvertently omitted from my commit 6a85e37: Require OS 10.6 or later for BOINC 7.5. 2015-06-01 02:04:19 -07:00
Charlie Fenton 9962455ae6 Mac installer: add comment on problem with BOINC+VBox installer 2015-04-07 19:41:48 -07:00
Charlie Fenton 6a85e37c5a Mac installer: Require OS 10.6 or later for BOINC 7.5.
- Rom: do not port this commit to the 7.4 branch.
2015-03-09 07:08:22 -07:00
Charlie Fenton 470a3fc44d Mac installer: fix typos in script which builds BOINC+VBox installer, update VirtualBox version number in script. 2014-12-17 07:01:03 -08:00
Charlie Fenton 098c15682d Mac installer: name install folders with "x86_64+ instead of "i686" to show that they require a 64-bit capable Mac. Also code sign the installer package so a lock icon appears in the installer window. 2014-12-16 06:50:45 -08:00
Charlie Fenton 169a0c261f Mac installer: Fix URL to wiki for information on GPU computing. 2014-12-15 17:02:03 -08:00
Charlie Fenton 58d40b72e2 Mac installer: add info on how to find and install pre-6.5 CUDA drivers. 2014-10-29 01:19:28 -07:00
Charlie Fenton 23f95c513d Mac installer: warn users not to upgrade to CUDA 6.5 or later if their GPU has Compute Capability 1.3 or less. 2014-10-27 18:06:47 -07:00
Charlie Fenton 0f1e4e3794 Mac Installer: If we have a valid code signing identity, code sign the BOINC client and Manager as well as the installer and uninstaller. OS X's software firewall can interfere with RPCs between the client and Manager. Signing them may make this less likely to be a problem. 2014-09-30 05:18:10 -07:00
Charlie Fenton f0487e88f4 Mac installer: fix a bug which prevented localizing BOINC installer dialogs. 2014-09-29 05:14:15 -07:00
Charlie Fenton 13aa32baa2 Mac Installer & MGR: delete BOINC Manager's wxSingleInstanceChecker lock file in case wxSingleInstanceChecker failed to delete it (such as due to a crash.) 2014-09-08 03:59:35 -07:00
Charlie Fenton b9156c17c2 Mac installer: don't require restart after a clean install on OS 10.9 Mavericks or later. 2014-08-21 05:48:17 -07:00
Charlie Fenton 9b639b3307 Mac installer: fix 15 second delay after finishing installation before launching BOINC Manager (launches immediately if user closes installer) 2014-03-12 01:20:55 -07:00
Charlie Fenton a0d392a6b7 Mac installer: fix setting of screensaver 2014-03-11 07:04:37 -07:00
Charlie Fenton a5731f9200 Mac installer: fix automatic launching of Manager after installation on OS 10.5 2014-03-10 03:30:26 -07:00
Charlie Fenton 0d7909a3f9 Mac uninstaller: Fixes for fast user switching support 2014-03-07 04:28:32 -08:00
Charlie Fenton 28268086a7 Mac uninstaller: remove reference to obsolete LoginItemAPI.h 2014-02-28 03:14:34 -08:00
Charlie Fenton 1216404fdd Mac: delete obsolete LoginItemAPI code 2014-02-27 03:19:12 -08:00
Charlie Fenton 7868584774 Mac installer: update AddRemoveUser command-line utility for compatibility with OS 10.5 - OS 10.9
- eliminate obsolete LoginItemAPI code
2014-02-27 03:17:26 -08:00
Charlie Fenton f8fcf01d1f Mac installer: update an obsolete comment 2014-02-26 06:48:49 -08:00
Charlie Fenton 89159f8b67 Mac installer: fixes for Mac installer and uninstaller for BOINC 7.3 series on OS 10.5 through OS 10.9
-  also remove obsolete methods of removing and adding Login Items
2014-02-25 07:44:13 -08:00
Charlie Fenton 223531fddd client & Mac Installer: Convert several files to UTF-8 encoding and change “smart” quotation marks to ASCII quotation marks 2014-01-29 01:43:31 -08:00
Charlie Fenton ff48a0a753 Mac installer: improve reliability under OS 10.9.1 mavericks 2014-01-27 04:39:12 -08:00
Charlie Fenton 9344752544 Mac uninstaller: embed a copy of VirtualBox_Uninstall.tool inside BOINC Uninstaller application (only for BOINC+VBox installer) so that BOINC uninstaller can remove VirtualBox even if BOINC Uninstaller application has been moved 2014-01-22 03:04:16 -08:00
Charlie Fenton 936fad0beb Mac uninstaller: optionally remove VirtualBox if combined BOINC+VirtualBox Installer was used to install 2014-01-21 04:20:53 -08:00
Charlie Fenton b797064f0b Mac: Changes to allow building with Xcode 5.0.2 2013-11-18 05:41:28 -08:00
Charlie Fenton 0341a5d0a0 Mac installer: Make checks for OS X version consistent 2013-11-18 00:56:44 -08:00
Charlie Fenton 58170a12e8 Mac installer: Better fix of check for OS X version < 10.5 if OS X version is less than 10.4 2013-11-17 17:30:47 -08:00
Charlie Fenton fb79017e1d Mac installer: Fix check for OS X version < 10.5 if OS X version is less than 10.4 2013-11-17 17:27:44 -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 0ae7df7cd5 Mac + VirtualBox installer: add copyright notice 2013-11-02 02:45:36 -07:00
Charlie Fenton 7255c57d2a Mac installer build scripts: add copyright notice, clean up temporary files 2013-11-01 02:57:39 -07:00