Commit Graph

34289 Commits

Author SHA1 Message Date
David Anderson 82e2e492af
Merge pull request #3990 from AenBleidd/fix_build
Fix build after libexpat update on vcpkg
2020-08-28 00:29:16 -07:00
CharlieFenton 548cf03615
Merge pull request #3988 from BOINC/dpa_priority2
client and wrapper: fix process priority mismatch
2020-08-28 00:25:17 -07:00
Vitalii Koshura 266ee80145
Fix build after libexpat update on vcpkg
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-08-28 09:11:01 +02:00
David Anderson bcf6261ece
Merge pull request #3962 from AenBleidd/vko_fix_vs2019_build_ci
[VS2019] Fix VS2019 CI build cache
2020-08-27 23:57:21 -07:00
David Anderson f616edc60a client and wrapper: fix process priority mismatch
It turns out we have two different encodings of process priority:
1) specified in cc_config.xml and used by the client: 0 (low) to 4 (high)
2) specified in job.xml and used by the wrapper: 1 (low) to 5 (high).

This didn't cause any problems until recently when I added code
to pass the cc_config.xml info to the wrapper;
it was interpreting it on the 1-5 scale.

Fix: have the wrapper convert it (add one).

Also: I forgot to have the client actually put the priority into
in the app_init_data.xml file.
2020-08-27 23:20:12 -07:00
Isira Seneviratne f8841585f9 Use setImageResource() instead of setImageDrawable(). 2020-08-28 04:53:56 +05:30
Isira Seneviratne f05cecb157 Call AppCompatResources.getDrawable() instead of ContextCompat.getDrawable(). 2020-08-28 04:53:53 +05:30
Isira Seneviratne 1f50fac756 Remove call to AppCompatDelegate.setCompatVectorFromResourcesEnabled(). 2020-08-28 04:53:51 +05:30
David Anderson f6d191ccdd
Merge pull request #3986 from LocutusOfBorg/patch-2
Update switcher.cpp to include mac_spawn only if the system is APPLE
2020-08-27 15:42:11 -07:00
Gianfranco Costamagna f9135118ab
Update switcher.cpp to include mac_spawn only if the system is APPLE
this fixes a build failure on Linux/Debian systems where mac/* directory is stripped from the source tarball.
2020-08-27 23:29:56 +02:00
Isira Seneviratne 3ac6ed2fd0 Use newer ActionBarDrawerToggle class. 2020-08-27 20:58:52 +05:30
Charlie Fenton f451430bab Update copyright dates in source files I recently modified 2020-08-26 01:10:14 -07:00
Charlie Fenton 6fa4f23776 client: Remove obsolete code
I had removed in commit e2ec61e47f but it was accidentally restored by commit b2ca098750
2020-08-26 01:07:57 -07:00
Vitalii Koshura 8cb5db3c97
[VS2019] Fix VS2019 CI build cache
Fixes #3959

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-08-26 02:48:44 +02:00
Kevin Reed 7e614c1ed6
Merge pull request #3954 from BOINC/dpa_proj_init
Manager: clean up "Welcome page"
2020-08-25 14:30:12 -05:00
David Anderson 78c2c46709
Merge pull request #3983 from BOINC/cf_fix_procinfo_non-English-Mgr
Manager: Fix failure to connect to client with non-English language
2020-08-22 11:58:12 -07:00
Charlie Fenton 6368494bb8 Mac: Turn off forced rebuilding of PR Cache 2020-08-22 07:06:08 -07:00
Charlie Fenton 505fb0d9db Mac: Try yet again to fix CI Travis build failure 2020-08-22 06:00:40 -07:00
Charlie Fenton 649b950f27 Mac: Try again to fix CI Travis build failure 2020-08-22 02:08:30 -07:00
Charlie Fenton e24ef6926a Mac: Force rebuild of PR Cache (specifically, OpenSSL) 2020-08-21 19:31:59 -07:00
Charlie Fenton d5ead05663 Mac: Fix CI Travis build failure (due to openssl issue) 2020-08-21 19:31:20 -07:00
Charlie Fenton ee54b93817 Manager: Fix procinfo_setup() when called from CBOINCClientManager::IsBOINCCoreRunning().
When a non-English language was set, the %lf format expected a comma for the decimal point, but ps command always uses a period. This caused IsBOINCCoreRunning() to always return false.
2020-08-21 05:21:14 -07:00
davidpanderson d754c09d47 client: if project_init.xml specifies project and account, attach to it
without involving the Manager.
2020-08-20 17:49:29 -07:00
Vitalii Koshura ed3747db5c
Fix wrappture_example build
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-08-20 01:59:17 +02:00
RichardHaselgrove 7fbdeda9a3 Manager: Add option to restore 'shutdown client' confirmation. 2020-08-19 18:12:06 +01:00
David Anderson 62f25e4016 Web: make some strings translatable 2020-08-18 23:57:42 -07:00
Vitalii Koshura 429f5b3d11
Merge pull request #3968 from delta1513/solved-3933
[Manager] Stopped shutdown client dialog from showing when told not to
2020-08-18 20:58:04 +02:00
RichardHaselgrove f46fe7b01b
Merge pull request #3980 from BOINC/mac_fix_ss_error_msg
Mac: restore updated error message lost by my commit fcbdcc75b7
2020-08-18 15:39:41 +01:00
Charlie Fenton 5d0142984f Mac: restore updated error message lost by my commit fcbdcc75b7 (which was from PR# 3631) 2020-08-18 06:47:06 -07:00
Vitalii Koshura af00e25911
Merge pull request #3979 from talregev/TalR_Fix_exception_state_null
Fix it will no throw an exception when the state == null.
2020-08-18 13:22:13 +02:00
Tal Regev 03f756cf94 Fix that it will no throw an exception when the state == null.
Will print the log this error.
2020-08-18 13:38:10 +03:00
Vitalii Koshura 9fffc8b8a4
Merge pull request #3946 from talregev/TalR_remove_warning
[Android] Remove warnings in compilation time.
2020-08-18 12:03:09 +02:00
David Anderson bcd16e9bf6 Make DB work with MySQL 8.0
Change all tables to InnoDB.
It now supports fulltext indices.
2020-08-17 20:34:52 -07:00
David Anderson 43e78255b8
Merge pull request #3975 from BOINC/mgr_add_stop_graphics_button_2
Fix bugs in my PR #3970 mgr_add_stop_graphics_button
2020-08-17 10:56:22 -07:00
Charlie Fenton ee9a5d0657 Fix bugs in my PR #3970 mgr_add_stop_graphics_button 2020-08-17 04:44:48 -07:00
David Anderson b2ca098750
Merge pull request #3956 from BOINC/mac_build_arm64_x86_64_Universal
Mac: Automatically build Universal x86_64 / arm64 binaries
2020-08-16 00:50:32 -07:00
David Anderson d9526db990
Merge branch 'master' into mac_build_arm64_x86_64_Universal 2020-08-16 00:17:44 -07:00
David Anderson 4510473408
Merge pull request #3970 from BOINC/cf_mgr_add_stop_graphics_button
Manager: change  "Show graphics" button to "Stop graphics" when gfx running
2020-08-15 21:51:11 -07:00
David Anderson 571ada8041 Merge branch 'master' of github.com:BOINC/boinc 2020-08-15 18:39:45 -07:00
David Anderson cdb7acd7de update translation 2020-08-15 18:39:21 -07:00
Rosen Penev 64d78ad7c5 fix compilation without deprecated OpenSSL APIs
Initialization is deprecated.
2020-08-15 17:23:35 -07:00
Marcus Belcastro 040c37fe65 Shutdown connected client menu item will be disabled when not connected
[Manager] Short description of change

"Shutdown connected client" menu item will now only be enabled when a client is connected.
Also commented the code appropriately.

Detailed description of the change (if necessary)

N/A

Fixes #3933
2020-08-16 09:54:17 +10:00
Vitalii Koshura 35ea7034e0
Merge pull request #3870 from Biswa96/exclude-sysctl-linux
exclude sysctl.h in linux
2020-08-16 01:42:22 +02:00
Vitalii Koshura 67882075d4
Merge pull request #3924 from Isira-Seneviratne/Use_Okio_in_RpcClient
[Android] Use Okio to handle RPC.
2020-08-16 01:08:49 +02:00
Charlie Fenton e2ec61e47f Mac: Don't offer to run graphics apps if architecture incompatible with CPU type and OS version
- For example, MacOS 10.15 or later can't run 32-bit apps; Intel macs can't run arm apps, etc.
2020-08-13 02:29:13 -07:00
Charlie Fenton 1ab508f3d8 Manager: Change "Show graphics" button to "Stop graphics" when gfx is running
- provides another GUI to stop graphics apps
2020-08-13 02:25:08 -07:00
Charlie Fenton d4ea9271f2 Mac: add x86_64-apple-darwin platform to arm64 Macs, since Apple's Rosetta 2 emulator will run x86_64 apps 2020-08-12 04:53:43 -07:00
Vitalii Koshura 0edaa7d12a
[VS2019] Fix freetype linkage
Looks like now freetype is additionaly dependent from brotli library.
Also fix boinccas building for Debug because of missing atlsd.lib file

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-08-12 00:55:19 +02:00
davidpanderson 0aaae5d765 Fix VS2019 error about redefine of snprintf.
Stuff like this should be done in windows.h, not in .cpp files
2020-08-11 13:36:02 -07:00
Rytis Slatkevičius 4b9456adac
Merge pull request #3955 from BOINC/dpa_script_val
script_validator: make scripts optional.
2020-08-11 15:33:21 +03:00