Commit Graph

1041 Commits

Author SHA1 Message Date
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
nikolasgianna 8fe5b5fe0f Since the machine is going to be deleted as a whole
there is no real reason to delete it piece by piece
first. VirtualBox takes care of deleting everything.
Mentioning something that is already deleted results in
unexpected behavior (ghost mediums)

remove ghost mediums from the media registry

deleted comments and commands
2017-06-20 08:39:33 +02:00
Vitalii Koshura 9cdec17525
samples: Move 'strlen' function outside of the loop
From PVS Studio:
V814
Decreased performance. The 'strlen' function was called multiple times inside the body of a loop.
https://www.viva64.com/en/w/V814/print

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-05-02 16:10:13 +03:00
Vitalii Koshura 78613e4326
vboxwrapper: Remove unused variables
From PVS Studio:
V808
'vm_machine_uuid' object of 'CComBSTR' type was created but was not utilized.
'clean_mediums' object of 'vector' type was created but was not utilized.
https://www.viva64.com/en/w/V808/print

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-30 08:59:49 +03:00
nikolasgianna 2b4605c5cb Fix indentation 2017-04-18 09:58:21 +02:00
nikolasgianna 2420c31902 Give choice between COM and VboxManage interface 2017-04-10 10:50:42 +02:00
David Anderson 13a5b9bf3e change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
nikolasgianna 9604aef06c Fix inconsistency between uploaded files and queried ones in boinc_gahp 2017-04-03 14:39:28 +02: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
Christian Beer a00bafea21 Remote job submission: first draft of protocol spec file for BOINC-GAHP
Based on http://research.cs.wisc.edu/htcondor/gahp/gce_gahp_protocol.txt version 0.1, http://boinc.berkeley.edu/trac/wiki/CondorBoinc version 27 and f640f89bb2/samples/condor/boinc_gahp.cpp
2017-03-24 12:19:22 +01:00
David Anderson 176e819c42 Vbox wrapper: if write shared/cmdline, don't end with \n
... it writes \r\n on Win.  Also, just to make sure, open file "wb".
2017-02-02 11:38:57 -08:00
David Anderson ca80cac75a Win build: manage compiler warnings better:
VS lets you choose the compiler warning level, 0 to 4.
Higher is good because compiler warnings often indicate bugs.
However, some warnings are noise, and having a lot of them is bad
because they conceal the important ones.
As an example, a recent update to VS2010 causes it to spew warnings of the form
"function _strdup() is deprecated; use _strdup() instead.

So the new policy is:
- everything compiles with warning level 4
- in boinc_win.h we use #pragmas to suppress 3 specific warnings
  that occur a lot in our code, and are not bugs:
  - the _function names as described above
  - constant conditional expression (like while(1))
  - conversion from int to char

And the goal is to build everything with zero warnings
except from outside code like zip.
We're pretty close to that.

The project files for other VS versions should be modified
to also use level 4 everywhere.
2017-01-27 01:27:32 -08:00
David Anderson d626dfd8d5 client/wrappers, Win: consolidate defines for _getcwd etc in boinc_win.h
They belong here, not in .cpp files
2017-01-26 20:59:11 -08:00
David Anderson 4b9a55b438 vboxwrapper: add <copy_cmdline_to_shared> option to job file
Tells vboxwrapper to copy its cmdline args to shared/cmdline.

This lets you use the cmdline mechanism as a way to pass
info to the VM that would otherwise have to go in a file.

Note: the cmdline can be fairly large.
It shares the wu.xml_doc field with file descriptions.
This field can be up to 64KB (MySQL blob size)
2017-01-26 20:08:35 -08:00
David Anderson 48f1720085 Merge pull request #1671 from DAD-Grid/android-wrapper
Fixed wrapper execution time error in android
2016-11-25 02:41:02 -08:00
Boincacm f6001b3d68 Fixed execution time error in android 2016-10-09 17:41:03 +00:00
David Anderson 3bb3235a83 wrapper: fix Win build (remove --version option) 2016-09-09 15:41:23 -07:00
Christian Beer 9b74b54f76 Merge pull request #1642 from lfield/gahp-fast-looping-fix
Fixing Gridmanager fast looping issue
2016-09-09 13:05:30 +02:00
Laurence Field 0e4f30d9f1 Fixing Gridmanager fast lopping issue 2016-09-07 11:13:44 +02:00
David Anderson 1d82913b80 Scheduler: fix bug in parsing project prefs. 2016-08-20 15:01:44 -07:00
Rom Walton 527ce4cb67 VBOX: Update COM interface file to 5.1.2 version. It looks like something changed and now all 5.1.2 clients are failing with older vboxwrappers. 2016-08-08 08:00:36 -07:00
Rom Walton c9fcd4e356 VBOX: Make the screen shot feature optional. It is now turned on via a vbox_job.xml flag.
We assume it is causing errors within VirtualBox after use based on OPS error reports.
2016-08-08 07:59:01 -07:00
Bernd Machenschalk cf5ace1a71 BOINC GAHP: print SVN_VERSION with --version CLA 2016-08-04 07:33:08 +02:00
David Anderson d94fe5bcde Merge pull request #1592 from bema-ligo/boinc_gahp_fixes
Boinc gahp fixes
2016-07-31 11:42:28 -07:00
David Anderson 89dc25bc6c Condor interface: compile fix 2016-07-27 23:18:30 -07:00
David Anderson b6c0d75a8c remote job submission: fix bugs, improve error reporting 2016-07-27 01:07:07 -07:00
Bernd Machenschalk 9c15fd2183 BOINC GAHP: assign output files by order, if not found by matching name 2016-07-27 08:41:54 +02:00