Commit Graph

19 Commits

Author SHA1 Message Date
atisu 6c10ad3a94 - prepare for new release (...)
- add support for sticky files on clients



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2530 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:02 +01:00
atisu fb918d73e0 - revert to r2524 and new release: 0.12-1 broke handling of remote files
when invoked from previously compiled binaries/ libraries.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2527 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:01 +01:00
atisu 2910b42687 - introduced persistent on clients option for
input files: DC_FILE_PERSISTENT_CLIENT 
   (not documented/ unofficial)
 - added static prefix for replace_regex() (it should not be exposed)



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2525 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:01 +01:00
zfarkas 44e9fbf44c Use size_t instead of int for remote file size.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2407 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
zfarkas 1397ae1a2b Added support for "remote" files at least in BOINC.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2385 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
smith 39e5415019 Adding new public function DC_addWUInputAdvanced to support the definition of physical file name and its hash.
Implemented only for boinc. Other backends drop error.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2321 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
smith 0d143bf7c7 Modifying md5 has file creation for DC_addWUInput():
Hash file is created directly in the boinc download directory instead of the DC-API workunit working directory.


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2316 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
gombasg 7072a982f5 Move the error logging to _DC_copyFile()
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@1939 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:54 +01:00
kadam 54026c495c Rev 904 was unnecessary - Win compiler was joking only
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@905 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:45 +01:00
kadam 9ee72385ec Fixed typos
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@904 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:45 +01:00
gombasg a849e080b2 Fix boolean parsing return value
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@818 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:40 +01:00
gombasg 99f976459a Use alternate _DC_CopyFile() implementation on Windows
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@721 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:36 +01:00
gombasg 411305cddc Use proper return values in _DC_CopyFile()
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@720 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:36 +01:00
gombasg ca2ab1d0be New helper functions: DC_getCfgBool(), DC_getClientCfgBool()
Move _DC_createPhysicalFile() and _DC_destroyPhysicalFile() to common/util.c


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@679 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:33 +01:00
drdani 74f36c323c copy permissions of the source file too
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@589 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg a3e599332e Add DC_getClientCfgDouble() because BOINC sometimes requires configuration
values that do not fit in an 'int'


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@539 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
gombasg f15ecb6d62 Fix some typos
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@485 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:23 +01:00
gombasg 81b579c6f8 - New functions: DC_getCfgInt(), DC_getClientCfgStr(), DC_getClientCfgInt()
- DC_getCfgStr() now returns dynamically allocated memory
- Use glib's key-vale-file parsing on the master side
- Allow unit suffixes for numeric values (like "1GB")


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@479 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:23 +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