Commit Graph

3406 Commits

Author SHA1 Message Date
davidpanderson ff7ea08957 Client: don't crash when <exclude_gpu> has bad device # 2022-08-28 01:26:16 -07:00
Charlie Fenton 31352444d2 Fix typos, update copyright dates 2022-08-10 03:28:44 -07:00
Charlie Fenton 7b49e10737 Mac: make initialization logic easier to understand 2022-08-10 00:20:00 -07:00
Charlie Fenton 6cb3e3b8a5 Mac: compute non-BOINC CPU usage in a more accurate way 2022-08-09 02:22:53 -07:00
computezrmle 821ef461e4
Replace sprintf with snprintf 2022-08-03 11:21:59 +02:00
David Anderson a036709578
Merge pull request #4859 from BOINC/dpa_cpu_usage2
fix non-BOINC CPU usage limit on Win and Linux
2022-08-02 13:53:31 -07:00
davidpanderson 46d489cc92 add error checking for Linux get_cpu_time() 2022-08-02 13:13:03 -07:00
computezrmle 76ef51f483
replace sprintf with snprintf 2022-08-01 15:41:56 +02:00
computezrmle 765d46dfb2
Increase msg_buf size 2022-08-01 12:45:18 +02:00
davidpanderson 8f6e800277 Win fix 2022-07-29 22:31:43 -07:00
David Anderson ac52f73953 client (Win and Linux): compute non-BOINC CPU usage in a more accurate way
client: if suspend because of non-BOINC CPU usage,
don't resume for at least 20 sec, since (even with the above)
a one-time false negative is possible;
consecutive false negatives are less likely.
2022-07-29 12:42:42 -07:00
Vulpine05 f6c23fe69a Added estimated transfer time remaining to boinccmd 2022-07-03 14:34:13 -05:00
Vulpine05 57a6e3ac29 Added estimated transfer time remaining 2022-07-03 14:33:47 -05:00
Tal Regev 32b9ccfe1d
Compile boinc as webassembly 2022-06-09 16:05:47 +03:00
Tal Regev 758d93d65c
Unify manifests vcpkg files 2022-06-05 23:58:04 +03:00
Anna “CyberTailor” 6301314600
Install headers required to build wrapper app
Signed-off-by: Anna Vyalkova <cyber@sysrq.in>
2022-05-30 22:38:01 +05:00
Tal Regev cbd38d4c93
Test android openssl fix 2022-05-21 01:18:00 +03:00
Tal Regev 2da6abec68
Add android libs cmake 2022-04-18 16:22:33 +03:00
Vulpine05 45feea61df Remove unused variable in GLOBAL_PREFS. 2022-04-15 20:47:33 -05:00
Tal Regev 6246166fd8
Compile boinc libs with cmake 2022-04-08 21:36:02 +03:00
Charlie Fenton 8ff6eee9d8 Fix Xcode 13 (Apple clang version 13.1.6) compiler warnings in Mac-specific source files 2022-04-06 01:26:49 -07:00
Vitalii Koshura f760f1c1bb
Merge pull request #4576 from CyberTailor/pkgconfig
Add pkg-config files
2022-03-22 21:34:19 +01:00
Vulpine05 8b7078ce74 Add global pref for idle time to suspend. 2021-12-26 21:13:12 -06:00
Anna “CyberTailor” 319e2d5360
Add libboinc_fcgi.pc pkg-config file 2021-11-10 01:49:38 +05:00
Anna “CyberTailor” 2680b24b83
Add libboinc_crypt.pc pkg-config file 2021-11-10 01:49:06 +05:00
Anna “CyberTailor” 0dea61d825
Add libboinc.pc pkg-config file 2021-11-10 01:48:25 +05:00
Charlie Fenton 689dc20ede Mac: update dependent libraries to latest: c-ares-1.17.2, curl-7.79.1, freetype-2.11.0, openssl-3.0.0
Previously updated to wxWidgets-3.1.5. FTGL version ftgl-2.1.3~rc5  is still the current version.
2021-10-18 01:43:08 -07:00
barton26 4ee2403752 fix typos I missed 2021-10-12 03:04:25 -04:00
barton26 9e5ff22dfd
Merge branch 'BOINC:master' into spelling 2021-10-11 03:55:52 -04:00
Vitalii Koshura c1248078b3
[CI] Add CI workflow to check source code for illegal symbols
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2021-10-09 00:17:47 +02:00
barton26 985cecddca lib typos 2021-10-06 14:42:17 -04:00
barton26 d22ed53f6a Remove semicolons in python code 2021-10-01 00:23:26 -04:00
Vitalii Koshura 3328871e22
[Windows] Build using ARM64
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2021-09-10 12:34:20 +02:00
Tal Regev 03011e8f30
Add mingw apps_gui 2021-08-16 21:56:56 +03:00
Tal Regev 3342d0c3d8
Compile mingw apps 2021-08-16 18:43:11 +03:00
RichardHaselgrove 07d2862427 Client: fix work_fetch after app_config write from RPC
Treat project_max_concurrent=0 as 'unspecified'.
2021-04-20 16:25:15 +01:00
RichardHaselgrove 8aff24a36e Client: fix app_config write from RPC
In May 2017, a new RPC was added for reading and writing remote app_config.xml files (commit 5b6f648570, no associated PR). The file written contained unparsable XML with unrecognised tags. This patch restores compliance with the existing documentation at

https://boinc.berkeley.edu/wiki/Client_configuration#Project-level_configuration
https://scienceunited.org/trac/wiki/ClientAppConfig
2021-03-29 09:35:29 +01:00
David Anderson 73fb1cde7f
Merge pull request #4277 from AenBleidd/lib_md5_file_tests
Add test class for md5 library using Google test suite.
2021-03-22 12:55:16 -07:00
Vitalii Koshura c28adcc374
Merge pull request #4245 from bema-aei/fix_API_for_C_apps
fix API build for C apps
2021-03-22 12:54:18 +01:00
Vitalii Koshura 9b1b528580
[Windows] Fix md5 unit tests
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2021-03-22 11:48:39 +01:00
Vitalii Koshura f4ecb14ddc
Merge pull request #4274 from BOINC/dpa_notice_xml
client: put CDATA around link field of notice; may have &
2021-03-18 08:09:50 +01:00
David Anderson 3cd980f73e client: put CDATA around link field of notice; may have & 2021-03-17 17:44:30 -07:00
David Anderson ba45bb9f29
Merge pull request #4259 from BOINC/dpa_hostinfo_rpc
Add a GUI RPC "reset_host_info" that tells the client to get host params again (RAM size, disk, NCPUs, etc.).
2021-03-16 10:59:44 -07:00
Vitalii Koshura 4af1360faa
Merge pull request #4206 from BOINC/dpa_cleanup
Fix compile warnings in client/ and lib/.
2021-03-12 14:52:32 +01:00
David Anderson d0cd8e28bc Add a GUI RPC "reset_host_info" that tells the client to get host params again
(RAM size, disk, NCPUs, etc.).

This is so that if you're running the client in a container,
and you change the params of the container (e.g. reduce its memory size)
the client can learn of this.
2021-03-11 21:19:15 -08:00
Bernd Machenschalk 0b6f3678e5 fix API build for C apps
-  protect bool variable in cplusplus in diagnostics.h
2021-03-04 16:06:26 +01:00
Vitalii Koshura 51047f275a
Merge pull request #4031 from BOINC/RH_GPU_NVdetect2
client/scheduler: update NVidia detection again
2021-02-20 06:27:07 +01:00
David Anderson d90f48e6ea
Merge pull request #4063 from AenBleidd/vko_2964_remove_config_h_from_installable_headers
[linux] Remove config.h from installable headers.
2021-02-19 13:25:57 -08:00
David Anderson 5310652f30 Fix compile warnings in client/ and lib/.
Check returns from fgets(), sscanf() etc.
Use %.*s to fix truncation warnings.
Fix code formatting.
Fix Makefile.linux
2021-02-18 19:47:36 -08:00
Vitalii Koshura ccd591ab3f
Merge pull request #3262 from smoe/maxpathlen_sprintf
Revisited Debian patch 'more_maxpathlen.patch'
2021-01-27 23:33:12 +01:00