Commit Graph

1101 Commits

Author SHA1 Message Date
Tal Regev c4780563b4 Arrange apps makefiles 2021-04-10 11:02:39 +03:00
Vitalii Koshura 6bffda0485
Merge pull request #4309 from talregev/TalR_compile_with_vcpkg
[Android][vcpkg] Compile android with vcpkg
2021-04-10 02:00:42 +02:00
Tal Regev e01073d585 Compile android with vcpkg (rappture, curl and openssl) 2021-04-10 01:41:57 +03:00
talregev 197ec5b266 Change vcpkg dir and vcpkg cache dir location 2021-04-03 20:45:06 +03:00
Tal Regev 4ca980f5c3 Compile wrappture app for linux and android 2021-03-30 00:41:03 +03:00
Tal Regev 64439ec446 Compile samples apps for android. 2021-03-22 00:31:43 +02:00
Tal Regev 336825cd02 Fix opencl check 2021-03-16 17:35:58 +02:00
Tal Regev 5cae2d5c31 Compile openclapp with opencl package on the ci 2021-03-09 20:16:12 +02:00
Tal Regev 93b72e27c0 Add openclapp to ci 2021-03-09 20:00:08 +02:00
Tal Regev 4270669de1 Add openclapp to ci build 2021-03-09 15:46:35 +02:00
Vitalii Koshura 73b540a3b0
[Android] Add libs and apps builds to CI.
Do some scripts refactoring.
Clean-up outdated files.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2021-03-08 20:38:47 +01:00
winkies 0045872f53 build: add files to make maintainer-clean command 2021-01-30 16:01:46 +01:00
David Anderson 24548b00cc
Merge pull request #3999 from BOINC/dpa_wrapper_prio
wrapper: interpret priority value in cc_config.xml correctly
2020-09-25 01:04:46 -07:00
David Anderson 7910cb16b4 wrapper: use defined constant instead of 0 2020-09-25 00:33:02 -07:00
David Anderson 1c257a1141 wrapper: interpret priority value in cc_config.xml correctly 2020-08-31 12:19:48 -07:00
Charlie Fenton 9cc7fda6e0 Mac: Update building wrapper app for compatibility with Xcode 10 2020-08-28 03:22:54 -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
David Anderson 80b70128f9 The user can specify 3 priority-related prefs in cc_config.h:
bool no_priority_change
int process_priority
int process_priority_special

Wrappers should honor these prefs,
but currently they don't have access to them.
Pass them in the APP_INIT_DATA structure.

Modify wrapper.cpp to use these prefs if they exist;
this overrides the priority specified in the job file, if any.
2020-07-24 00:58:45 -07:00
Charlie Fenton 1f2a84b17c Mac: fix path to IOSurface framework in Xcode project for example_app sample. 2020-05-06 05:51:25 -07:00
Vitalii Koshura dca6f4acef
Merge pull request #3650 from smoe/patch-7
samples/worker: added install target, $(CXX)
2020-05-02 15:45:47 +02:00
Vitalii Koshura 6aca01b5a4
Merge pull request #3649 from smoe/patch-6
samples/wrapper: don't fail "make install"
2020-05-02 15:45:21 +02:00
Vitalii Koshura 0cd571cb8f
Merge pull request #3651 from smoe/patch-8
added install target, $(CXX)
2020-05-02 02:22:42 +02:00
Charlie Fenton e040aec92d Mac: update copyright dates 2020-05-01 04:59:37 -07:00
Charlie Fenton e8eba06dbf mac: update samples/example_app for compatibility with xcode 11 and with updated BOINC graphics library 2020-05-01 03:56:32 -07:00
Steffen Möller ff1fdb516d
samples/wrapper: no message with install 2020-04-27 20:28:36 +02:00
Steffen Möller 28d11cdfba
samples/worker: not message with install 2020-04-27 20:26:23 +02:00
Steffen Möller 761eaaedd3
samples/sleeper: don't say you don't install 2020-04-27 20:23:20 +02:00
Steffen Möller a27d481277
added install target, $(CXX) 2020-04-27 18:21:26 +02:00
Steffen Möller 49e073cfcd
PROG -> PROGS 2020-04-27 18:00:05 +02:00
Steffen Möller ee78422ff6
samples/worker: added install target, $(CXX) 2020-04-27 17:57:15 +02:00
Steffen Möller 6328ba038e
samples/wrapper: don't fail "make install"
added install target
2020-04-27 17:54:47 +02:00
Vitalii Koshura 4594160ffb
[Windows] Add MSVS 2019 with vcpkg support
Added new projects to build with Microsoft Visual Studio 2019.
Added vcpkg support for 3rd party libraries.
For simplification all executables use static linked libraries
(impact +0.5 MB or < 3%).
Enable build for all projects (including examples for opencl, cuda etc).
Configuration is not tested yet, so no CI added.
Also because of the reason above projects for VS 2013 are not removed yet too.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-03-16 02:32:35 +01:00
David Anderson db0977090d client: fix bug that broke HTTP GUI RPC for authenticated ops
electron sample GUI: add support for starting the client,
and for attaching a project
2019-11-19 17:22:54 -08:00
David Anderson 1858d1ed51 Make the electron-based GUI work again.
RPC requests need to be enclosed in <boinc_gui_rpc_request>.
I'm not sure how it ever worked.

Also: improve GUI RPC error reporting in the client.
2019-11-06 21:17:53 -08:00
Rytis Slatkevičius daa9b8441a
Fix wrapper not ending critical section
In case checkpoint file fopen fails, BOINC stays in critical section
2019-10-09 16:57:59 +03:00
Kevin Reed f5359df0b8
Merge pull request #3191 from BOINC/dpa_gui_rpc_http
Client: support GUI RPCs via HTTP POST requests,
2019-07-10 14:06:55 -05:00
Vitalii Koshura 7b3a683f68
Merge pull request #3168 from BOINC/cb_fix_small_issues
Quality: fix small issues
2019-06-27 15:32:02 +02:00
David Anderson d5c9a7b362 Client: fix bugs in HTTP GUI RPC
- change seqno only on authenticated request,
  so that bad guys make a bunch of bad calls and lock out actual calls
- Fix %ld format for long
  (seqnos are long in case GUI makes > 2B calls)
- Print message if validation fails
- end of HTTP header is marked by \r\n\r\n, not \n\n

Also put some error checking into the client-side Javascript.
E.g. things should still work if password file is absent;
you just can't make RPCs that require authentication.
Much work still to be done here.
2019-06-26 20:45:47 -07:00
David Anderson 63860bd95f Add files for rudimentary Electron GUI 2019-06-21 16:22:55 -07:00
Adam Radocz ea00ec75e3
Merge pull request #3181 from BOINC/dpa_vboxwrapper
vboxwrapper: if control op fails, exit for 5 min instead of 1 day
2019-06-20 20:25:04 +02:00
Kevin Reed 58b44085f1
Merge pull request #3141 from BOINC/dpa_vbox60
update vboxwrapper (COM version) for Vbox 6.0
2019-06-20 11:55:12 -05:00
David Anderson 3271148607 vboxwrapper: fix shadowed-var compile warnings.
No need to pass a member variable to a member function.

Also: fix confused variable names: "current_cpu_time" is just this episode.
"total_cpu_time" is total since start of job.

Also: fix code formatting.
2019-06-09 23:19:48 -07:00
David Anderson 0dadd51733 vboxwrapper: if control operation (suspend, resume, snapshot) fails,
restart after 5 minutes rather than 1 day.
Also fix message to say what operation failed.
2019-06-09 23:00:46 -07:00
Christian Beer b31b63e7c1 GAHP Condor: initialize struct members
found by Coverity (CID 34533)
2019-05-28 21:33:18 +02:00
Christian Beer 24c307a1c4 Vboxwrapper: initialize class members
found by Coverity (CIDs 278299 34531)
2019-05-28 21:21:13 +02:00
Christian Beer 7cfd7296f8 Vboxwrapper: ignore coverity defect
The function vbm_popen() already logs an error in those cases and it is non critical.
2019-05-28 21:05:37 +02:00
Christian Beer f1fd265fda GAHP Condor: fix sprintf arg mismatch
found by Coverity (CID 165280)
2019-05-28 20:25:49 +02:00
David Anderson 97ab812169 Add COM interface for VBox 6.0.
This was complicated by the fact that VBox changed the API a little:
GetChildrenCount() is now get_ChildrenCount(),
and CreateSharedFolder() takes a new AutoMountPoint argument
(where the folder goes in the guest system) which I'm assuming should be /.

I handled these using #ifdefs in vbox_mscom_impl.cpp.
2019-05-10 01:42:00 -07:00
Rytis Slatkevičius eb829b65d9
Typo fix in vbox_common.cpp
Just a typo in one word
2019-05-07 10:26:48 +03:00
lfield 18aa95e084
Merge pull request #2786 from Peppernrino/image-file-compression
Image File Compression
2019-04-12 10:27:35 +02:00