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
Juha Sointusalo
3fd0e8b116
update copyright year
2019-04-08 21:50:03 +03:00
Peppernrino
95070c01a3
Image File Compression
...
Ran a series of lossless compression algorithms to make the images smaller. Total reduction of ~13MB.
2018-10-29 16:27:45 -06:00
Tim Theisen
0ca1dca439
Update GAHP version string
...
The existing code depended on building within a git repository. It
included the GIT_REVISION in the startup message. Unfortunately,
if you built from a downloaded tarball, the build fails. I thought
that the version of BOINC that the GAHP was compiled against would
be useful information as it is logged. The SVN_VERSION is still
available by using the --version command line option. Because of
the small change in behavior, I also bumped the version number of
the GAHP to 1.0.2.
2018-10-03 19:37:10 -05:00
Tim Theisen
4e2f6c66af
HTCondor boinc_gahp should compile with -O2
2018-10-02 10:31:05 -05:00
Kevin Reed
0bd858759e
Merge pull request #2629 from BOINC/dpa_warnings
...
Remove VS2010 compiler warnings. A few remain.
2018-08-14 17:18:42 -05:00
Tim Theisen
f65d656f8b
Update HTCondor sample code
...
In our BOINC adapter, we made a change so that the unzip command
does not produce any output and will not stop to ask questions.
This is appropriate for the HTCondor batch system. We have been using
this change since April 18, 2014.
2018-08-07 16:37:56 -05:00
David Anderson
c1bdf2b673
Remove VS2010 compiler warnings. A few remain.
2018-08-02 12:18:15 -07:00
Laurence Field
82880c90aa
Added support for job params and app version
2018-05-14 11:58:02 +02:00
Vitalii Koshura
44164f3cc0
Fix copyright symbol
...
This fxes #2493
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-04-30 23:29:15 +03:00
Vitalii Koshura
a9d5b8ef1a
Fix copyright year
...
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-02-26 16:49:02 +02:00
Rom Walton
190fa4133d
Merge pull request #1946 from nikolasgianna/prod_version
...
Modifications that have been included in the version that is currently used by LHC@home.
2017-11-06 07:25:21 -08:00
nikolasgianna
841e4f2b90
Implementation of changes requested
2017-11-06 14:59:59 +01:00
Juha Sointusalo
e8d4501f4a
Merge pull request #2198 from romw/master
...
Vboxwrapper: Update COM Interface file to the released version of 5.2.0
2017-11-04 19:41:29 +02:00
Rom Walton
5f05650952
Vboxwrapper: Update COM Interface file to the released version of 5.2.0
2017-10-28 21:39:58 -07:00
Christian Beer
5900360a1f
Build: fix distclean target
2017-10-26 15:13:48 +02:00
Rom Walton
805a3374b3
Vboxwrapper: Fix issue with not being able to create a Vbox 5.2 COM instance to vboxsvc
...
Also update VS2013 project file.
2017-10-08 09:53:37 -07:00
Rom Walton
aaf6499f54
Vboxwrapper: Add support for VirtualBox 5.2 via the published COM Interface
2017-10-07 11:36:10 -07:00
nikolasgianna
2cc8aa1715
Declare state variable within respective function
2017-09-28 09:22:39 +02:00
nikolasgianna
3e9b731f17
Update online and saving in stop() and poweroff(), fix CamelCase
2017-09-27 10:45:49 +02:00
nikolasgianna
1c582cc35b
Merge branch 'prod_version' of https://github.com/nikolasgianna/boinc into prod_version
2017-09-26 13:55:50 +02:00
nikolasgianna
e8777ff60b
Transform state from vm log to lowercase and fix never reached if
2017-09-26 13:53:35 +02:00
David Anderson
acc1662563
Merge pull request #1827 from BOINC/boinc_gahp_protocol_spec
...
Remote job submission: first draft of protocol spec file for BOINC-GAHP
2017-09-21 11:18:05 -07:00
Bernd Machenschalk
563af50792
BOINC GAHP: add git SHA1 to version message
...
- also define BOINC_GAHP_VERSION to conform to GAHP spec (major.minor.subminor)
2017-08-15 09:10:48 +02:00
David Anderson
da64baf29d
Merge pull request #1895 from AenBleidd/PVS_V814_for_pr
...
Move 'strlen' function outside of the loop
2017-08-14 17:37:12 -07:00
David Anderson
b3d8a0c6e9
Merge pull request #1604 from bema-ligo/boinc_gahp_svn_version
...
BOINC GAHP: print SVN_VERSION with --version CLA
2017-08-14 13:52:06 -07:00
David Anderson
bb16c9eb27
Merge pull request #1843 from nikolasgianna/boinc_gahp_submit
...
Fix inconsistency between uploaded files and queried ones in boinc_gahp
2017-07-28 10:10:20 -07:00
nikolasgianna
79c0e75f0c
fix indentation, pointers, sscanf, get_vm_process_id, dump_vmguestlog_entries
2017-06-21 16:22:46 +02:00
nikolasgianna
ef759ed7f1
fix _VBOX_COMMON_H_
2017-06-21 15:26:09 +02:00
nikolasgianna
19f3823902
Update vbox_vboxmanage.cpp
2017-06-21 15:03:43 +02:00
nikolasgianna
8ac79a370c
Merge branch 'master' into prod_version
2017-06-21 14:53:48 +02:00
nikolasgianna
9d8abbb5f0
fix indentation, pointers, sscanf, get_vm_process_id, dump_vmguestlog_entries
2017-06-21 14:24:01 +02:00
nikolasgianna
945035d3f1
version and error displaying improvements
2017-06-20 17:18:07 +02:00
Rom Walton
9d1972aba6
Merge pull request #1860 from nikolasgianna/COM_OFF
...
Give choice between COM and VboxManage interface
2017-06-20 06:46:15 -07:00
nikolasgianna
906481fb64
modifications that have been included in the version that is currently
...
used by LHC@home
modifications that have been included in the version that is currently used from LHC@home
fix compatibility issue caused by C++98 compiler used by travis
2017-06-20 13:25:04 +02:00