Commit Graph

35631 Commits

Author SHA1 Message Date
David Anderson 964a074485
Update README.md 2023-03-26 13:50:40 -07:00
Vitalii Koshura 4db1c2b63d
Merge pull request #5163 from BOINC/dpa_win_cleanup2
Fix some compile warnings on Win (VS 2022).
2023-03-23 08:46:39 +01:00
David Anderson c29a4dac80 Fix a few compile warnings in client simulator.
Use snprintf() instead of sprintf() in a few places
(should eventually do it everywhere)

Notes:

(void)x;
seems to work (cross-platform) for suppressing unused arg warnings.

int n;
n = snprintf(buf, sizeof(buf), ....)
(void)n;

works in some cases for suppressing buffer-size warnings.
But not all cases.  Not sure why.
2023-03-22 17:09:43 -07:00
davidpanderson b0993f7cb7 Fix warnings in Win client simulator build 2023-03-22 16:30:04 -07:00
David Anderson 7874b96217 Fix warnings in client simulator build 2023-03-22 16:25:26 -07:00
David Anderson bd3bf72dbd Linux: compile fix 2023-03-22 15:22:03 -07:00
davidpanderson 6f4b8e5d43 Fix some compile warnings on Win (VS 2022).
Remove outdated stuff (e.g. VS has snprintf() now).

I'd like to have a clean build (no warnings) on both VS and gcc.
Currently VS has a bunch of printf code warnings in
diagnostics.cpp, diagnostics_win.cpp, and stackwalker_win.cpp.
These should be easy to fix.
gcc has a bunch of sprintf buffer-size warnings, not easy to fix.
There are lots of warnings in zip (to be fixed with vcpkg?)
and in old graphics code.
2023-03-22 14:23:14 -07:00
Vitalii Koshura b8b95c34c9
Merge pull request #5162 from AenBleidd/vko_fix_build_nanosvg
[Windows] Fix build error after wxWidgets update
2023-03-22 14:06:39 +01:00
Vitalii Koshura bcb786b980
Merge pull request #5161 from BOINC/dpa_api_log
API: print Y/M/D as well as time in log messages
2023-03-22 14:01:47 +01:00
Vitalii Koshura 0b37e44cbd
Merge pull request #5160 from BOINC/dpa_download2
web: fix problems with download page on project sites
2023-03-22 14:00:02 +01:00
Vitalii Koshura 839a74e788
[Windows] Fix build error after wxWidgets update
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2023-03-22 11:49:13 +01:00
David Anderson 5764f8a355 API: print Y/M/D as well as time in log messages 2023-03-22 01:35:38 -07:00
David Anderson b7295c287c web: fix problems with download page on project sites
The Linux installers on the BOINC web site (.sh files)
have out-of-date binaries, and are not real installers.
We shouldn't direct users to them.
But projects and AMs that use auto-attach were directing
Linux users to these installers.

This change fixes that.
Linux users are not shown a download button, but are instead directed to
https://boinc.berkeley.edu/wiki/Installing_on_Linux
which lists various options for installing BOINC on Linux
(starting with package managers).

Also: the download page (download_software.php) is also used
by account managers (Science United).
In this case, it should show instructions for
adding an account manager, not attaching to a project.

Note: there's an analogous update to download.php on the BOINC web site:
if the machine is Linux,
show a link to the Linux instructions rather than a download button.
2023-03-20 15:40:00 -07:00
Charlie Fenton 1f7b709487 Mac: update link to "tools for MacOS" web page in ReadMe files 2023-03-19 16:52:08 -07:00
Vitalii Koshura 36d5b1ef95
Merge pull request #5158 from talregev/TalR/vcpkg_windows_linux
[CI][Windows] Add vcpkg link also for windows
2023-03-18 23:46:17 +01:00
Vitalii Koshura 52fb295e4f
Merge pull request #5157 from talregev/TalR/android_manifest_fix
[Android] Remove hard coded Android manifest string
2023-03-18 23:45:17 +01:00
Tal Regev e1a6b9a292 Remove hard coded Android manifest string 2023-03-18 22:19:27 +02:00
Vitalii Koshura 4b8c226294
Merge pull request #5156 from talregev/TalR/deprecated_native_android
[CI][Android] Deprecated android native in ci
2023-03-18 20:58:48 +01:00
Tal Regev 4f3d55312c
Deprecated android native in ci 2023-03-18 21:23:59 +02:00
Tal Regev 47873ff36e
Add vcpkg link also for windows 2023-03-18 03:30:24 +02:00
Vitalii Koshura 43a883060d
Merge pull request #5153 from BOINC/dpa_pid
fix potential bug in building process tree on Win
2023-03-17 11:40:33 +01:00
davidpanderson 210f403995 client, win: when building the global process tree,
don't make a parent->child link if the parent is newer than the child
(this can happen in Win because a process's parentID isn't changed
when its parent exits).
This prevents two potential problems:
- when killing a runaway app, killing unrelated processes too
- incorrect CPU time accounting
2023-03-17 02:25:53 -07:00
Vitalii Koshura 1b721f9583
Merge pull request #5150 from AenBleidd/vko_update_translations
Update Transifex config to the latest version
2023-03-15 12:05:35 +01:00
Vitalii Koshura ce5dae0c72
Update Transifex config to the latest version
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2023-03-15 11:36:23 +01:00
lfield 090ca2f14c
Merge pull request #5149 from BOINC/dpa_sort_by
Web: remove XSS vulnerability.
2023-03-15 09:40:50 +01:00
Vitalii Koshura 5948920c35
Merge pull request #5127 from talregev/TalR/fix_upfate_vcpkg_wasm_vcpkg_link
[ci] Fix: vcpkg will clone from $VCPKG_LINK
2023-03-15 09:23:16 +01:00
David Anderson 21ec387a0d Web: remove XSS vulnerability.
team_members.php and top_*.php have a textual parameter "sort"by".
Validate it.
2023-03-14 17:39:29 -07:00
Tal Regev 924b85c1a8
Fix: vcpkg will clone from $VCPKG_LINK 2023-03-15 01:52:21 +02:00
CharlieFenton 66bae9a2fa
Merge pull request #5146 from BOINC/dpa_prefs4
Manager: enhance computing prefs dialog
2023-03-14 04:21:20 -07:00
davidpanderson ff6156a512 Manager: enhance computing prefs dialog
- If a checkbox for a value is unchecked,
  don't clear the value.

- If suspend while in use, write suspend_cpu_usage
  (even though it won't be used)

- For fields with checkboxes, when box is checked,
  set to default value only currently blank
2023-03-14 01:37:04 -07:00
Vitalii Koshura d0faf00701
Merge pull request #5144 from BOINC/dpa_rdp_gpu
client, Win: add a cc_config.xml option <no_rdp_check>.
2023-03-13 22:17:01 +01:00
David Anderson 245f93c22e client, Win: add a cc_config.xml option <no_rdp_check>.
If set, it skips the check to see if Remote Desktop Protocol (RDP) is in use,
allowing GPU apps to run while using RDP.
This should be done only if you have configured RDP as described here:
https://knowledge.civilgeo.com/knowledge-base/enabling-gpu-rendering-for-microsoft-remote-desktop/
2023-03-13 13:50:40 -07:00
Vitalii Koshura 5a7779b230
Merge pull request #5140 from mcagriaksoy/branch_copyrightYearFix
Update copyright year
2023-03-13 21:02:14 +01:00
mcagriaksoy c81c461216 update copyright year 2023-03-13 21:43:34 +03:00
Vitalii Koshura 28bb7aaf88
Merge pull request #5142 from BOINC/mac_streamline_CI_build
Mac CI: Simplify and generalize logic in the Mac CI build script
2023-03-13 12:56:50 +01:00
Charlie Fenton 5ddca91257 Mac CI: Don't hard-code the names of targets and built executables in the Mac CI build script
- Don't unnecessary rebuild libraries for uc2, zip apps or vboxwrapper
 - Simplify and generalize logic in the Mac CI build script
2023-03-13 02:29:28 -07:00
Vitalii Koshura 5374f8121b
Merge pull request #5135 from BOINC/dpa_task_summary 2023-03-13 04:54:13 +01:00
David Anderson 86889292cc Win compile fix 2023-03-12 18:54:09 -07:00
David Anderson 22f85f7c9b Fix some typos 2023-03-11 23:54:17 -08:00
Vitalii Koshura 2e21ec5303
Merge pull request #5136 from AenBleidd/vko_osx_ci_improvement
[OSX][CI] Refactor CI to decrease cache build time and avoid unnecessary cache invalidation
2023-03-12 03:25:45 +01:00
Vitalii Koshura 6c04520c84
[OSX][CI] Refactor CI to decrease cache build time and avoid unnecessary cache invalidation
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2023-03-12 02:13:05 +01:00
David Anderson 4f6cbcb385 boinccmd: add options for --get_task_summary:
you can select which columns to display
2023-03-11 11:43:34 -08:00
David Anderson 4e98e1f435 boinc_cmd: add --get_task_summary command.
Shows task summaries, one per line
2023-03-10 21:19:52 -08:00
Vitalii Koshura 5dbb7463d7
Merge pull request #5125 from BOINC/mac_fix_login_item_display 2023-03-08 16:24:37 +01:00
Charlie Fenton 62cb5861e5 Mac Installer & Uninstaller: Fix display of name of helper apps under MacOS 13 Ventura 2023-03-08 07:06:50 -08:00
Charlie Fenton 4171a48c17 BOINC Fix problem in script which runs CI builds introduced by commit 797cbc8d9d for PR #4892 2023-03-07 20:08:11 -08:00
Charlie Fenton 7a813d94a7 Mac Installer & Uninstaller: fix compilation errors 2023-03-07 06:20:41 -08:00
Charlie Fenton cdcc767f82 Fix minor typo: extra space in short display name 2023-03-06 05:24:30 -08:00
Charlie Fenton c88301a3ef Mac Installer & Uninstaller: Fix display of name of helper apps under MacOS 13 Ventura
- Fix installing a branded build over unbranded or an unbranded build over branded.
2023-03-06 03:57:06 -08:00
Vitalii Koshura 8494e832e6
Merge pull request #5123 from BOINC/dpa_p_features2 2023-03-04 14:32:07 +01:00