Commit Graph

30002 Commits

Author SHA1 Message Date
Charlie Fenton 96be5aca48 MGR: Fix notices display under Mac OS 10.12.4 2017-04-09 02:50:11 -07:00
David Anderson 6aebbdb213 Web: make TEAM_CREATE_NEED_CREDIT work for team-create RPC too 2017-04-09 00:37:27 -07:00
David Anderson dce6254411 Web: add TEAM_CREATE_NEED_CREDIT option to suppress team spam 2017-04-08 23:40:43 -07:00
David Anderson 3e156ab9a2 BOINC web: fix Live Help db problem. Did it ever work? 2017-04-08 23:40:08 -07:00
David Anderson 13a5b9bf3e change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
David Anderson b717942bb3 API: add debugging mechanism for control messages.
Set MSGS_FROM_FILE in boinc_api.cpp, put msgs in "msgs.txt"
e.g. writing "<quit/>" to msgs.txt tells the app to quit
2017-04-07 17:38:57 -07:00
David Anderson d726d1b0bc API: my revisions to David Kim's Android version 2017-04-07 16:46:45 -07:00
David Anderson 35d40bbfc0 Merge branch 'master' of github.com:BOINC/boinc 2017-04-07 16:44:03 -07:00
David Anderson ce4cd94644 web: fix bug that shows 21 tasks instead of 20. Fixes #1853. 2017-04-07 16:37:11 -07:00
David Anderson 261132b907 Merge pull request #1857 from progger/master
fix PHP 7 Deprecated
2017-04-07 10:46:15 -07:00
Michael Kulabuhov 4dd83c9db4 fix PHP 7 Deprecated 2017-04-07 23:27:06 +07:00
David Anderson 8872445b57 delete_spammers.php: delete team if its founder and all members are null users 2017-04-07 02:41:39 -07:00
David Anderson 904eef50d4 Merge pull request #1848 from AenBleidd/PVS_V730_lib
lib: fix uninitialized class members in constructor
2017-04-05 14:16:46 -07:00
David Anderson 601ae05bd7 Merge pull request #1849 from AenBleidd/PVS_V730_manager
Manager: fix uninitialized class members in constructor
2017-04-05 14:15:14 -07:00
Vitalii Koshura b0034643fe
Manager: fix uninitialized class members in constructor
From PVS Studio:
V730
Not all members of a class are initialized inside the constructor.
Consider inspecting: m_bCancelInProgress.
Consider inspecting: m_bUseDefaultPassword.
https://www.viva64.com/en/w/V730/print/

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-05 23:17:43 +03:00
Vitalii Koshura 57769d47fa
lib: fix uninitialized class members in constructor
From PVS Studio:
V730
Not all members of a class are initialized inside the constructor.
Consider inspecting: present.
Consider inspecting: handle.
https://www.viva64.com/en/w/V730/print/

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-05 23:16:01 +03:00
Charlie Fenton b771170656 MGR: Fix my change (commit 91784e9: replace deprecated Mac API ) lost by merge 3a956aa 2017-04-04 20:56:37 -07:00
David Anderson e342de99fd Merge pull request #1835 from brevilo/android-vagrant
Android: Provide dev/build environment using Vagrant
2017-04-04 01:18:04 -07:00
David Anderson 011efadb28 Merge pull request #1830 from brevilo/fix-android-arm-build
[#1702][android]: remove explicit FPU flags
2017-04-04 01:16:59 -07:00
David Anderson 06db7c8f50 Merge pull request #1844 from BOINC/fix_delete_job_files
Ops: fix delete_job_files
2017-04-03 11:20:20 -07:00
Christian Beer b68e0dafaf Ops: fix delete_job_files
Script was broken after 3f0f36ac5a
2017-04-03 16:07:34 +02:00
David Anderson cdbbc17d27 Merge pull request #1837 from AenBleidd/PVS_V501_vboxwrapper
vboxwrapper: Fix double check of the same flag.
2017-04-02 19:12:05 -07:00
David Anderson b2b83a1150 Merge pull request #1841 from AenBleidd/PVS_V767_client
client: Fix show message cycle
2017-04-02 19:11:23 -07:00
David Anderson d15ebedb92 Merge pull request #1838 from AenBleidd/PVS_V530_manager
Manager: Remove unused function call.
2017-04-02 19:09:09 -07:00
David Anderson 1afc2ca4ee Merge pull request #1840 from AenBleidd/PVS_V667_lib
lib: Fix missed parameters from 'throw' statements.
2017-04-02 19:07:43 -07:00
David Anderson 51f3ec9051 Merge pull request #1839 from AenBleidd/PVS_V646_client
Client: Fix missed 'else' keyword.
2017-04-02 18:33:14 -07:00
Vitalii Koshura 58378915fa
client: Fix show message cycle
From PVS Studio:
V767
Suspicious access to element of 'msgs' array by a constant index inside a loop.
https://www.viva64.com/en/w/V767/print/

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-03 03:28:20 +03:00
Vitalii Koshura 92a1ac7343
lib: Fix missed parameters from 'throw' statements.
From PVS Studio:
V667:
The 'throw' operator does not possess any arguments and is not situated within the 'catch' block.
https://www.viva64.com/en/w/V667/print/

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-02 08:07:44 +03:00
Vitalii Koshura 0bd4556bf6
Client: Fix missed 'else' keyword.
From PVS Studio:
V646
Consider inspecting the application's logic. It's possible that 'else' keyword is missing.
https://www.viva64.com/en/w/V646/print/

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-02 07:41:17 +03:00
Vitalii Koshura 5a590becb2
Manager: Remove unused function call.
From PVS Studio:
V530:
The return value of function 'c_str' is required to be utilized.
https://www.viva64.com/en/w/V530/print/

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-02 06:44:06 +03:00
Vitalii Koshura f8d7c1742d
vboxwrapper: Fix double check of the same flag.
From PVS Studio:
V501:
'There are identical sub-expressions 'enable_isocontextualization' to the left and to the right of the '&&' operator.'
https://www.viva64.com/en/w/V501/print/

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-02 06:12:20 +03:00
Oliver Bock 12424d3151 [#1829][android] Fixed README markdown 2017-03-31 13:56:54 +02:00
Oliver Bock 60935c211a [#1829][android] Fixed README typo 2017-03-31 12:22:55 +02:00
Oliver Bock ac3deca87e [#1829][android] Refined Vagrant README
* Added hardware and download volume to requirements
* Refined HOWTO
2017-03-31 10:28:09 +02:00
David Anderson 6252e8b83b Merge pull request #1833 from brevilo/improve-android-build-scripts
Improve and fix Android build scripts
2017-03-30 17:00:06 -07:00
Oliver Bock c447506cb7 [#1829][android] Added README/HOWTO for Vagrant 2017-03-29 15:37:35 +02:00
Oliver Bock ef2f85b595 [#1829][android] Update cURL and OpenSSL 2017-03-29 15:07:05 +02:00
Oliver Bock 5591c74629 [#1829][android] Development environment provisioning
* Update OS packages
* Install necessary OS packages
* Install Android Studio, SDK, NDK and Android repos
* Install SDKs and build tools required by BOINC (dynamically)
* Install OpenSSL and cURL sources (for BOINC client build)
* Final state:
  * Ready to run andriod/build_all.sh
  * Ready to import android/BOINC in Android Studio (Gradle project)
2017-03-29 14:47:58 +02:00
Oliver Bock 62f88217bc [#1829][android] Configure VM for Android Studio 2017-03-29 14:47:54 +02:00
Oliver Bock 073df23ec4 [#1829][android] Use a better Vagrant box
* Ubuntu's box isn't standard compliant (https://bugs.launchpad.net/cloud-images/+bug/1569237)
* We don't need nightly builds
2017-03-29 14:47:49 +02:00
Oliver Bock 32ae2c2312 [#1829][android] Use ubuntu/xenial64 box
Simplifies Android Studio installation via ubuntu-make
2017-03-29 14:47:46 +02:00
Oliver Bock 4558030197 [#1829][android] vagrant init 2017-03-29 14:47:41 +02:00
Oliver Bock 74d6392651 [android] Updated .gitignore patterns
* Merged Android-specific .gitignore file (cover ProjectApp, avoid redundancies)
* Added assets copied by build scripts (don't track them twice)
* Also ignore staged files
2017-03-29 11:38:09 +00:00
Oliver Bock 115db9e889 [android] Fixed/improved Android build scripts
* Removed hard-coded paths and dependency versions
* Default values can now be overridden via environment variables:
  * NDK_ROOT (recommended)
  * ANDROID_TC[_<arch>] (optional: toolchain folders)
  * CURL_SRC (recommended)
  * OPENSSL_SRC (recommended)
* Fixed cURL mips64 build
* Moved toolchains into common parent directory
* Made asset directory creation idempotent
2017-03-29 09:08:02 +00:00
Oliver Bock c9ff35d5a2 [#1702][android]: remove explicit FPU flags
* Those explicit FPU flags prevent NEON builds
* The whetstone benchmarks (VFP and NEON) are correctly built without those
2017-03-29 08:42:25 +00:00
David Anderson 3a956aad13 Merge branch 'JuhaSointusalo-master' 2017-03-28 01:30:56 -07:00
David Anderson cfc850b919 Merge branch 'master' of https://github.com/JuhaSointusalo/boinc into JuhaSointusalo-master
Conflicts:
	clientgui/MainDocument.cpp
2017-03-28 01:30:03 -07:00
David Anderson c0b0bc0fb0 delete_spammers.php: fix argument parsing
args were parsed in order, so
delete_spammers.php --teams --test
would really delete stuff.
Fix this.
2017-03-27 16:50:23 -07:00
David Anderson 04c3e538c7 disable team creation by web RPC
This was being used by spammers.
I can't think of a legit use of it off the top of my head.
2017-03-27 12:17:38 -07:00
David Anderson bd0fc9a650 web: add recaptcha to team creation
S@h is getting lots of spam teams.
If this doesn't work, we'll add a min credit requirement.
2017-03-27 12:05:51 -07:00