Commit Graph

22560 Commits

Author SHA1 Message Date
gombasg 4b719848dd DC_timeToCheckpoint is no longer part of the API
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@443 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
gombasg 0f3a2cec29 Documentation updates
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@441 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
gombasg 00d8134349 Use _DC_copyFile
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@440 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
gombasg 188525a448 We need _DC_copyFile on the client side too
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@439 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
gombasg 485f26262d First try of subresult sending
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@438 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
gombasg 875c99b07f New internal function: _DC_copyFile
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@437 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
gombasg 52d956c55d New error code: DC_ERR_SYSTEM
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@436 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
vida d153259ba2 Added result.c from boinc section // with little modifications.
Its not finished yet!



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@435 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
vida 0533b1dd0f Added:
_DC_getWUNyName
_DC_searchForEvents // this calls the g_hash_table_foreach
and _DC_testWUEvents // the callback function for g_hash_table_foreach




git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@434 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
vida 294bf210b6 Uniform the name of the callback functions.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@433 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
vida 35c91810d3 Callback functions added for the test master application.
It will be moved into the apps dir if it finished, for a good testing application.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@432 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
gombasg 199abba0e2 Make sure the work unit is marked as done when the DC_Result is destroyed
Remember the database ID of WUs to prevent unneccessary database lookups
Quote the client's command line arguments when creating the command line


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@429 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
gombasg 9933363483 Build fixes
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@428 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
gombasg 525196b0b8 Add the directory for the future condor implementation
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@427 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
gombasg c37cb61e5c Rename DC_Filetype to DC_FileType
Let event handling on the client side be similar to the master side


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@426 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
gombasg 4228d70513 Move documentation to gtk-doc-tools
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@425 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
vida 373cda0374 Nagyobb egyveleg.
Meg nincs kesz, de mar eleg sok, hogy fel kelljen tolteni.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@424 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg b425748b60 closedir() was missing
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@423 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg 2876b89f3a Get rid of wu->name and wu->uuid_str
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@422 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg 846aa6b46f Implement getMaxSubresults()
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@421 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg 6827fc4be5 Disable the clgr and local backends for now
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@420 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg 98a114af39 Clean up backend selection
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@419 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg 4225ca5646 Fix parameter order
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@418 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg 21c649a6cf Implement DC_getWUNumber()
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@417 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg df430074db Escape '_' in queries
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@416 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg e80ed2f2fa Boinc backend update
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@411 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg 6f661dd20d Do not pass --host to configure
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@410 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg d6f981253b Add API support for receiving messages
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@409 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg d819db03fa Add basic messaging support
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@395 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg e6c5d0afe7 Add support for downloading the previous checkpoint
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@394 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg 2aa8075893 We need C++ now
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@393 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg b6bbd16fa6 Retrieve the WU name
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@392 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg a0782cc09d Add support for resolving the checkpoint file name
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@391 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg 84e7e61bb4 Remember the mode of input files
Do file copy in the library itself
Fix result template generation


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@390 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg 91f1589138 Initialize the mode field of DC_PhysicalFile
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@389 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg 277cea55b9 Mark the WU as finished when the canonical result has arrived
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@388 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg 8c5c4f938d Distribute common_defs.h
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@387 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg 87dd679c18 Add definitions common to the client and server side
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@386 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg 5dc21f22f9 Rename DC_processResults() to DC_processEvents()
Add file mode to DC_PhysicalFile


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@385 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +01:00
gombasg c0c767e3e2 Rename assimilator.C to events.C
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@381 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg aac4e70e34 Add more event handling code
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@380 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 4466efc025 Make the client code compile
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@378 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 2fc6b9a92d Rename dc_client.c to client.c
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@377 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 57f6541602 Refactoring updates
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@376 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 723571388d validate_util is no longer needed
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@375 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 2d58e3c535 Add new error codes
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@363 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg d7b32c76a6 Work unit handling refactorization
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@362 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 74e49cc33a Add wrapper code for Boinc DB access
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@358 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 818f028d46 Use glib-2.0
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@357 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 3a4d29cbc3 Add wrapper code for accessing config.xml data
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@356 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00