Commit Graph

35262 Commits

Author SHA1 Message Date
Vitalii Koshura b37f2ac23a
Merge pull request #4894 from AenBleidd/vko_update_wrapper_version
[wrapper] Update version
2022-08-19 23:38:02 +02:00
Vitalii Koshura df9f5cd83a
[wrapper] Update version
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2022-08-19 23:09:04 +02:00
Vitalii Koshura 1357fa5dcd
Merge pull request #4891 from BOINC/mac_universal_wrapper
Mac wrapper: build Universal M1 / x86_64 binary
2022-08-19 15:05:36 +02:00
Charlie Fenton 4e48eb05de Mac wrapper: build Universal M1 / x86_64 binary 2022-08-19 03:49:07 -07:00
David Anderson bec1bdda68
Merge pull request #4889 from AenBleidd/vko_build_apps_for_arm64
[CI] Add scripts to build libboinc and samples for linux arm64.
2022-08-18 18:53:29 -07:00
Vitalii Koshura 442a017eb3
[CI] Add scripts to build libboinc and samples for linux arm64.
This fixes #4782.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2022-08-18 23:00:45 +02:00
Vitalii Koshura c620fbf3f8
Merge pull request #4881 from AenBleidd/vko_fix_windows_debug_build
[Windows] Fix Debug build
2022-08-12 20:49:03 +02:00
Vitalii Koshura 393686b406
[Windows] Fix Debug build
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2022-08-12 17:46:57 +02:00
Vitalii Koshura c0c58151bc
Merge pull request #4875 from BOINC/mac_get_total_cpu_usage
Mac: compute non-BOINC CPU usage in a more accurate way
2022-08-10 13:03:50 +02:00
Charlie Fenton 31352444d2 Fix typos, update copyright dates 2022-08-10 03:28:44 -07:00
Charlie Fenton 63f3acc114 If new total_cpu_time() method has error, revert to the old method 2022-08-10 00:33:53 -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
Vitalii Koshura a597329987
Merge pull request #4874 from computezrmle/revoke_previous_change
Revoke previous change
2022-08-08 09:31:37 +02:00
computezrmle c1414a0a12
Revoke previous change 2022-08-07 22:23:54 +02:00
Vitalii Koshura ce3cf4dfe1
Merge pull request #4869 from computezrmle/patch-3
Increase buffer size
2022-08-05 15:22:50 +02:00
Vitalii Koshura 135d39beb2
Merge pull request #4867 from computezrmle/patch-1
Fix gcc compiler warnings
2022-08-05 14:25:44 +02:00
Vitalii Koshura 5583bc89f5
Merge pull request #4868 from computezrmle/patch-2
Fix pragma warning
2022-08-05 13:52:43 +02:00
computezrmle 2dfe08788f
Increase buffer size 2022-08-05 13:47:05 +02:00
computezrmle dc5a7f4928
Remove previous change 2022-08-04 21:39:45 +02:00
computezrmle 7532aac691
Update DlgHiddenColumns.cpp 2022-08-04 21:33:08 +02:00
computezrmle 731795e4a5
Fix pragma warning 2022-08-04 20:37:23 +02:00
computezrmle 23c9affb4a
Fix gcc compiler warnings
... like these:

MainDocument.cpp: In member function ‘void CMainDocument::KillGraphicsApp(int)’:
MainDocument.cpp:1715:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 1715 |         argv[0] = "switcher";
      |                   ^~~~~~~~~~
MainDocument.cpp: In function ‘void color_cycle(int, int, wxColour&)’:
MainDocument.cpp:2655:42: warning: ‘b’ may be used uninitialized [-Wmaybe-uninitialized]
 2655 |     unsigned char cb = (unsigned char) (b*256);
2022-08-04 19:19:10 +02:00
Vitalii Koshura 76dffd0dda
Merge pull request #4866 from computezrmle/vboxwrapper_replace_sprintf
[vboxwrapper] Replace sprintf with snprintf
2022-08-04 12:31:43 +02:00
computezrmle 35b4d7b02d
[vboxwrapper] Replace sprintf with snprintf 2022-08-04 11:25:55 +02:00
Vitalii Koshura 0709610faa
Merge pull request #4864 from computezrmle/replace_sprintf
[client] Replace sprintf with snprintf
2022-08-03 23:29:06 +02:00
Vitalii Koshura 0f470cfa43
Merge pull request #4865 from AenBleidd/vko_fix_missing_z_library
Fix missing '-lz' parameter when building 'stage_file_native' tool
2022-08-03 15:33:10 +02:00
Vitalii Koshura 21531692f6
Fix missing '-lz' parameter when building 'stage_file_native' tool
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2022-08-03 13:37:06 +02: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
Vitalii Koshura 40548c5dd5
Merge pull request #4862 from computezrmle/patch-1
Increase msg_buf size
2022-08-01 19:52:20 +02:00
computezrmle 76ef51f483
replace sprintf with snprintf 2022-08-01 15:41:56 +02:00
computezrmle 0fd561aade
increase buffer size to avoid warnings 2022-08-01 15:41:54 +02:00
computezrmle 765d46dfb2
Increase msg_buf size 2022-08-01 12:45:18 +02:00
Vitalii Koshura a5ca65590c
Merge pull request #4843 from computezrmle/vboxwrapper_improvements
Vboxwrapper improvements
2022-08-01 10:34:36 +02:00
computezrmle 5b44ed2e60
Cancel previous change 2022-07-31 21:20:03 +02:00
computezrmle 57d6556b9e
Avoid an enless loop condition 2022-07-31 19:31:50 +02:00
computezrmle 89cd1148b7
Ensure correct logging
Enables logging if loop is executed a 2nd time.
2022-07-31 17:34:50 +02:00
davidpanderson 8f6e800277 Win fix 2022-07-29 22:31:43 -07:00
Vitalii Koshura 658935694e
Merge pull request #4858 from Vulpine05/Vulpine05_VT_col_ID_reorder
Revise column ID order.
2022-07-29 21:55:59 +02: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 f40f8f8d92 Revise column ID order. 2022-07-29 14:25:53 -05:00
Vitalii Koshura a0f9d1d8b4
Merge pull request #4857 from computezrmle/patch-1
Remove redundant test in if-statement
2022-07-29 19:12:29 +02:00
computezrmle 344de7fca2
Remove redundant test in if-statement
While compiling the BOINC client on Linux using gcc I stumbled over another warning:

<code>http_curl.cpp: In member function ‘int HTTP_OP::libcurl_exec(const char*, const char*, const char*, double, double, bool)’:
http_curl.cpp:605:13: warning: the address of ‘HTTP_OP::infile’ will never be NULL [-Waddress]
  605 |         if (infile && strlen(infile)>0) {
      |             ^~~~~~
In file included from gui_http.h:53,
                 from cs_notice.h:58,
                 from client_types.h:45,
                 from client_msgs.h:26,
                 from http_curl.cpp:44:
http_curl.h:86:10: note: ‘HTTP_OP::infile’ declared here
   86 |     char infile[256];
      |          ^~~~~~</code>

      
Wouldn't it be enough to just test:
<code>if (strlen(infile)>0) {</code>
2022-07-29 14:04:04 +02:00
Vitalii Koshura 856707951c
Merge pull request #4856 from AenBleidd/vko_cleanup_linux_ci
[CI] Remove redundant packages from the list
2022-07-28 18:21:53 +02:00
Vitalii Koshura 9f5fc9fe61
[CI] Remove redundant package from the list
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2022-07-28 17:25:35 +02:00
Vitalii Koshura 3df4f63f2f
Merge pull request #4854 from computezrmle/patch-2
Ensure to compile switcher only for Macintosh
2022-07-28 13:29:23 +02:00
Vitalii Koshura 5295eb9932
Merge pull request #4855 from AenBleidd/vko_fix_build_with_wxwidgets_32
[CI][Windows][linux] Fix build with wxWidgets 3.2.0
2022-07-28 13:29:00 +02:00
Vitalii Koshura f9e6493826
[CI][Windows][linux] Fix build with wxWidgets 3.2.0
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2022-07-28 12:48:21 +02:00