Commit Graph

1631 Commits

Author SHA1 Message Date
Charlie Fenton 6ba6e038c4 Add default nvc_config.xml file for use in MS Windows installer 2018-07-26 11:11:48 -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
Kevin Reed f5590348ad (branding) Change network_test_url for WCG from http to https 2018-07-20 13:48:55 -05:00
Charlie Fenton b1e629a5fb Move network_test_url tag from cc_config.xml into new nvc_config.xml file, since WCG modifies this for their branded builds (along with new version check info) and it is probably never modified for standard (unbranded) BOINC 2018-07-18 19:10:30 -07:00
David Anderson 1bffea8aaf update installshield files; update version #s; fix Win custom action build 2018-07-17 12:42:39 -07: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
David Anderson f951ecfb49 update Installshield files 2018-06-28 22:47:04 -07:00
Vitalii Koshura 5e926bbdac
[Client] [WSL] Fix Windows build
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-06-24 03:45:46 +03:00
Vitalii Koshura f8f6443074
[Client] [WSL] Extend detection.
Move WSL detection to get_host_info().
Enumerate available WSLs from registry.
Add wslapi library loading.
Add support of multiple installed wsl distros detection.
Detect only installed and configured distros.
Add extra information parse.
Add wslinfo files to save and parse wsl info.
Add dont_use_wsl param to cc_config.
Add missed hostinfo_wsl.cpp when building win client using gcc.
Fix small issues.
Small refactoring.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-06-24 03:08:11 +03:00
David Anderson 777c25b7e6
Merge pull request #2491 from AenBleidd/wsl_detect
WSL detect initial implementation
2018-05-31 14:06:10 -07: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
David Anderson 61b6068596 Win installer: update project list 2018-04-16 22:03:20 -07: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
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
Vitalii Koshura 55348af5db
[VS2010] Build boincsim project by default in Debug|Win32 and Debug|x64 configurations
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-01-28 22:26:52 +02:00
Vitalii Koshura fa796d448d
[VS2013] Build boincsim project by default in Debug|Win32 and Debug|x64 configurations
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-01-28 14:43:43 +02:00
Vitalii Koshura b593645e68
Fix windows build using VS2013.
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-01-25 14:14:22 +02:00
David Anderson 05e3ad68b9 Make 32-bit builds work again by massive editing of project files. 2018-01-25 02:02:05 -08:00
David Anderson 159ef61f21 Update project files to work for Release mode also 2018-01-25 01:16:42 -08:00
David Anderson 1a55b4dad2 Client simulator: fix Win build 2018-01-20 14:51:58 -08:00
David Anderson 4a759ba246 Win build: include win_build in include directory list.
That way can include "config.h" in Win builds
2018-01-19 21:19:39 -08:00
David Anderson 0d1c8f855a Win installer: don't overwrite project list file.
People doing early testing of autologin may need to delete old files.
2017-11-16 00:12:10 -08:00
David Anderson 5c4fea1e7a Client: make autologin work for account managers as well as projects.
The login_token_lookup RPC returns different things in the 2 cases
2017-11-15 22:36:54 -08:00
David Anderson 45a8dce80f several autologin fixes
- get user/team names from lookup-token reply to populate project info
- fix build error in custom action
- mark all_projects_list.xml as "overwrite" in Installshield file.
  Otherwise it leaves the old one there sometimes.
- use a project list with test items
2017-11-15 00:44:14 -08:00
Kevin Reed 37ed5eb53d Merge branch 'master' into dpa_autologin_client 2017-11-14 14:40:43 -06:00
Kevin Reed 500790f8c7 Merge branch 'master' into dpa_autologin_client 2017-11-14 09:10:46 -06:00
David Anderson 4a83cae554 Windows installer: change custom action to write installer filename to file
Also add missing image file and update .ism for win 64
2017-11-09 01:20:56 -08:00
Rom Walton c5bb4c4231 WINBUILD: Make the custom action project build again 2017-11-06 21:13:46 -08:00
David Anderson 1d1ca8250e VBoxwrapper: bump version # 2017-11-04 16:19:34 -07:00
David Anderson a3adb24671 client, Win: add new file to project files 2017-11-02 14:41:08 -07:00
David Anderson bbc352881b client: add support for streamlined register/download/attach
- on startup, look for and parse a file containing the installer filename,
    which encodes a project ID and login token.
- look up the project ID in the all-projects list
- do an RPC to that project, mapping the login token to weak auth
- attach to that project using weak auth
2017-11-02 14:08:05 -07:00
Rom Walton 805a3374b3 Vboxwrapper: Fix issue with not being able to create a Vbox 5.2 COM instance to vboxsvc
Also update VS2013 project file.
2017-10-08 09:53:37 -07:00
Rom Walton aaf6499f54 Vboxwrapper: Add support for VirtualBox 5.2 via the published COM Interface 2017-10-07 11:36:10 -07:00
David Anderson bdbbd5458b Add new files to VS2010 project files 2017-08-26 15:16:48 -07:00
Christian Beer fd68b1cbc8 Merge pull request #1886 from AenBleidd/AppVeyorSupport-for-pr
Build Windows: Add AppVeyor support for Windows CI builds.
2017-08-10 09:23:39 +02:00
Juha Sointusalo 95932f84b4 winbuild: add keyword.{h,cpp} to VS2013 solution 2017-07-31 23:21:24 +03:00
David Anderson e8d0453d47 Manager: if a job has keywords, show them in task properties 2017-07-30 14:10:38 -07:00
David Anderson 930f58e1c6 Add new file to Win project; fix compile warning
Also update Installshield files for VBox 5.1.22
2017-07-16 12:08:21 -07:00
David Anderson f75f91d860 Update project files
The project file in the Win build directory has to be updated
before making an installer.
I added instructions to the wiki:
https://boinc.berkeley.edu/trac/wiki/AdminInstallerWin
2017-07-05 01:14:39 -07:00
Vitalii Koshura f3facced64
Build Windows: Use cache during AppVeyor build
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-28 03:19:07 +03:00
Vitalii Koshura 1c7c64ea47
vboxwrapper: Fix vboxwrapper_vs2013.vcxproj build.
Add missed vbox_mscom51.cpp and vbox_mscom51.h files to the project.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-25 00:07:31 +03:00
David Anderson 2c493f50c1 Update Installshield files and vboxwrapper version 2017-03-25 23:28:35 -07:00
David Anderson b58bf7978b vboxwrapper: bump version# to 26198 2017-02-02 13:46:37 -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
David Anderson 33baa0bca1 client: fix compile errors and warnings 2016-12-22 11:25:44 -08:00
Rom Walton b5d1119972 BUILD: Revert the changes for VS2012 2016-12-18 12:23:30 -08:00
Rom Walton db235ff199 BUILD: Update vboxwrappers version to 26197. 2016-08-08 08:10:17 -07:00