Changesets: bareos
bareos-14.2 1cce4344 2014-07-30 17:22 Ported: N/A Details Diff |
Tweak layout. | ||
mod - src/stored/askdir.c | Diff File | ||
mod - src/stored/autochanger.c | Diff File | ||
mod - src/stored/dir_cmd.c | Diff File | ||
mod - src/stored/protos.h | Diff File | ||
master 4382f52d 2014-07-29 15:04 Marco van Wieringen Ported: N/A Details Diff |
Rebuild configure and config.h.in | ||
mod - autoconf/config.h.in | Diff File | ||
mod - configure | Diff File | ||
master 41af4be8 2014-07-29 14:47 Marco van Wieringen Ported: N/A Details Diff |
Add support for newer APIs The API world hasn't been frozen over the years and POSIX nowadays defines some new APIs which we might want to start exploring. This patch adds support for the following new APIs: fchown()/lchown() replacing the chown call. fchmod()/lchmod() replacing the chmod call. utimes()/futimes()/futimens()/lutimes() replacing the utime call. If those APIs are available they are prefered rather then using the standard chown(), chmod() and utime() APIs. We move away from using utime when possible because POSIX.1-2008 marks utime() as obsolete. |
||
mod - autoconf/configure.in | Diff File | ||
mod - src/findlib/attribs.c | Diff File | ||
mod - src/findlib/find.h | Diff File | ||
mod - src/findlib/find_one.c | Diff File | ||
mod - src/findlib/mkpath.c | Diff File | ||
mod - src/findlib/protos.h | Diff File | ||
playground 2b90a153 2014-07-29 13:04 Ported: N/A Details Diff |
Rebuild configure and config.h.in | ||
mod - autoconf/config.h.in | Diff File | ||
mod - configure | Diff File | ||
master 00edd10e 2014-07-29 13:04 Ported: N/A Details Diff |
Rebuild configure and config.h.in | ||
mod - autoconf/config.h.in | Diff File | ||
mod - configure | Diff File | ||
bareos-14.2 53fa7025 2014-07-29 13:04 Ported: N/A Details Diff |
Rebuild configure and config.h.in | ||
mod - autoconf/config.h.in | Diff File | ||
mod - configure | Diff File | ||
playground 246a2003 2014-07-29 12:47 Ported: N/A Details Diff |
Add support for newer APIs The API world hasn't been frozen over the years and POSIX nowadays defines some new APIs which we might want to start exploring. This patch adds support for the following new APIs: fchown()/lchown() replacing the chown call. fchmod()/lchmod() replacing the chmod call. utimes()/futimes()/futimens()/lutimes() replacing the utime call. If those APIs are available they are prefered rather then using the standard chown(), chmod() and utime() APIs. We move away from using utime when possible because POSIX.1-2008 marks utime() as obsolete. |
||
mod - autoconf/configure.in | Diff File | ||
mod - src/findlib/attribs.c | Diff File | ||
mod - src/findlib/find.h | Diff File | ||
mod - src/findlib/find_one.c | Diff File | ||
mod - src/findlib/mkpath.c | Diff File | ||
mod - src/findlib/protos.h | Diff File | ||
master 4f9735b4 2014-07-29 12:47 Ported: N/A Details Diff |
Add support for newer APIs The API world hasn't been frozen over the years and POSIX nowadays defines some new APIs which we might want to start exploring. This patch adds support for the following new APIs: fchown()/lchown() replacing the chown call. fchmod()/lchmod() replacing the chmod call. utimes()/futimes()/futimens()/lutimes() replacing the utime call. If those APIs are available they are prefered rather then using the standard chown(), chmod() and utime() APIs. We move away from using utime when possible because POSIX.1-2008 marks utime() as obsolete. |
||
mod - autoconf/configure.in | Diff File | ||
mod - src/findlib/attribs.c | Diff File | ||
mod - src/findlib/find.h | Diff File | ||
mod - src/findlib/find_one.c | Diff File | ||
mod - src/findlib/mkpath.c | Diff File | ||
mod - src/findlib/protos.h | Diff File | ||
bareos-14.2 f0ea5031 2014-07-29 12:47 Ported: N/A Details Diff |
Add support for newer APIs The API world hasn't been frozen over the years and POSIX nowadays defines some new APIs which we might want to start exploring. This patch adds support for the following new APIs: fchown()/lchown() replacing the chown call. fchmod()/lchmod() replacing the chmod call. utimes()/futimes()/futimens()/lutimes() replacing the utime call. If those APIs are available they are prefered rather then using the standard chown(), chmod() and utime() APIs. We move away from using utime when possible because POSIX.1-2008 marks utime() as obsolete. |
||
mod - autoconf/configure.in | Diff File | ||
mod - src/findlib/attribs.c | Diff File | ||
mod - src/findlib/find.h | Diff File | ||
mod - src/findlib/find_one.c | Diff File | ||
mod - src/findlib/mkpath.c | Diff File | ||
mod - src/findlib/protos.h | Diff File | ||
bareos-14.2 4173da1f 2014-07-28 18:59 Marco van Wieringen Ported: N/A Details Diff |
Sync LMDB code. | ||
mod - src/lmdb/lmdb.h | Diff File | ||
mod - src/lmdb/mdb.c | Diff File | ||
master 3cdcb513 2014-07-28 18:59 Marco van Wieringen Ported: N/A Details Diff |
Sync LMDB code. | ||
mod - src/lmdb/lmdb.h | Diff File | ||
mod - src/lmdb/mdb.c | Diff File | ||
master edcfbfc2 2014-07-28 16:59 Ported: N/A Details Diff |
Sync LMDB code. | ||
mod - src/lmdb/lmdb.h | Diff File | ||
mod - src/lmdb/mdb.c | Diff File | ||
bareos-14.2 ca4fc1ba 2014-07-28 16:59 Ported: N/A Details Diff |
Sync LMDB code. | ||
mod - src/lmdb/lmdb.h | Diff File | ||
mod - src/lmdb/mdb.c | Diff File | ||
master 1fa34a2d 2014-07-28 13:51 Marco van Wieringen Ported: N/A Details Diff |
First attempt at making things somewhat cleaner. - On windows also compile all shared objects into a dll. - Implement the DCR (Device Control Record) as an inherited class of SMARTALLOC just like most others and implement a proper constructor for it. The new_dcr function is now replaced with a instantiate of the class and then a call to setup_new_dcr_device() - Abstract the askdir functions as methods of the DCR (Device Control Record) and implement a special derived class for the stored and btape that abstracts the special functions for those and make the rest use the default dummy methods. This way we can nice and cleanly implement this for the different programs. - Drop the wait_device_release conditional global variable, instead create a single function entry point release_device_cond() that gets called when we want the conditional variable to be signaled. |
||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos.nsi | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
mod - src/stored/acquire.c | Diff File | ||
mod - src/stored/append.c | Diff File | ||
mod - src/stored/askdir.c | Diff File | ||
mod - src/stored/autochanger.c | Diff File | ||
mod - src/stored/bcopy.c | Diff File | ||
mod - src/stored/bextract.c | Diff File | ||
mod - src/stored/block.c | Diff File | ||
mod - src/stored/bls.c | Diff File | ||
mod - src/stored/bscan.c | Diff File | ||
mod - src/stored/btape.c | Diff File | ||
mod - src/stored/butil.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/device.c | Diff File | ||
mod - src/stored/dir_cmd.c | Diff File | ||
rm - src/stored/dummy.c | Diff File | ||
mod - src/stored/label.c | Diff File | ||
mod - src/stored/mount.c | Diff File | ||
mod - src/stored/ndmp_tape.c | Diff File | ||
mod - src/stored/protos.h | Diff File | ||
mod - src/stored/reserve.c | Diff File | ||
mod - src/stored/scan.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File | ||
mod - src/stored/sd_stats.c | Diff File | ||
mod - src/stored/spool.c | Diff File | ||
mod - src/stored/stored.c | Diff File | ||
mod - src/stored/stored.h | Diff File | ||
mod - src/stored/wait.c | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
add - src/win32/stored/make_def | Diff File | ||
playground 8a90b586 2014-07-28 11:51 Ported: N/A Details Diff |
First attempt at making things somewhat cleaner. - On windows also compile all shared objects into a dll. - Implement the DCR (Device Control Record) as an inherited class of SMARTALLOC just like most others and implement a proper constructor for it. The new_dcr function is now replaced with a instantiate of the class and then a call to setup_new_dcr_device() - Abstract the askdir functions as methods of the DCR (Device Control Record) and implement a special derived class for the stored and btape that abstracts the special functions for those and make the rest use the default dummy methods. This way we can nice and cleanly implement this for the different programs. - Drop the wait_device_release conditional global variable, instead create a single function entry point release_device_cond() that gets called when we want the conditional variable to be signaled. |
||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos.nsi | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
mod - src/stored/acquire.c | Diff File | ||
mod - src/stored/append.c | Diff File | ||
mod - src/stored/askdir.c | Diff File | ||
mod - src/stored/autochanger.c | Diff File | ||
mod - src/stored/bcopy.c | Diff File | ||
mod - src/stored/bextract.c | Diff File | ||
mod - src/stored/block.c | Diff File | ||
mod - src/stored/bls.c | Diff File | ||
mod - src/stored/bscan.c | Diff File | ||
mod - src/stored/btape.c | Diff File | ||
mod - src/stored/butil.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/device.c | Diff File | ||
mod - src/stored/dir_cmd.c | Diff File | ||
rm - src/stored/dummy.c | Diff File | ||
mod - src/stored/label.c | Diff File | ||
mod - src/stored/mount.c | Diff File | ||
mod - src/stored/ndmp_tape.c | Diff File | ||
mod - src/stored/protos.h | Diff File | ||
mod - src/stored/reserve.c | Diff File | ||
mod - src/stored/scan.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File | ||
mod - src/stored/sd_stats.c | Diff File | ||
mod - src/stored/spool.c | Diff File | ||
mod - src/stored/stored.c | Diff File | ||
mod - src/stored/stored.h | Diff File | ||
mod - src/stored/wait.c | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
add - src/win32/stored/make_def | Diff File | ||
bareos-14.2 aaf3e213 2014-07-28 11:51 Ported: N/A Details Diff |
First attempt at making things somewhat cleaner. - On windows also compile all shared objects into a dll. - Implement the DCR (Device Control Record) as an inherited class of SMARTALLOC just like most others and implement a proper constructor for it. The new_dcr function is now replaced with a instantiate of the class and then a call to setup_new_dcr_device() - Abstract the askdir functions as methods of the DCR (Device Control Record) and implement a special derived class for the stored and btape that abstracts the special functions for those and make the rest use the default dummy methods. This way we can nice and cleanly implement this for the different programs. - Drop the wait_device_release conditional global variable, instead create a single function entry point release_device_cond() that gets called when we want the conditional variable to be signaled. |
||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos.nsi | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
mod - src/stored/acquire.c | Diff File | ||
mod - src/stored/append.c | Diff File | ||
mod - src/stored/askdir.c | Diff File | ||
mod - src/stored/autochanger.c | Diff File | ||
mod - src/stored/bcopy.c | Diff File | ||
mod - src/stored/bextract.c | Diff File | ||
mod - src/stored/block.c | Diff File | ||
mod - src/stored/bls.c | Diff File | ||
mod - src/stored/bscan.c | Diff File | ||
mod - src/stored/btape.c | Diff File | ||
mod - src/stored/butil.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/device.c | Diff File | ||
mod - src/stored/dir_cmd.c | Diff File | ||
rm - src/stored/dummy.c | Diff File | ||
mod - src/stored/label.c | Diff File | ||
mod - src/stored/mount.c | Diff File | ||
mod - src/stored/ndmp_tape.c | Diff File | ||
mod - src/stored/protos.h | Diff File | ||
mod - src/stored/reserve.c | Diff File | ||
mod - src/stored/scan.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File | ||
mod - src/stored/sd_stats.c | Diff File | ||
mod - src/stored/spool.c | Diff File | ||
mod - src/stored/stored.c | Diff File | ||
mod - src/stored/stored.h | Diff File | ||
mod - src/stored/wait.c | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
add - src/win32/stored/make_def | Diff File | ||
bareos-14.2 b47cc868 2014-07-26 22:24 Marco van Wieringen Ported: N/A Details Diff |
Fix Windows build. | ||
mod - src/win32/compat/include/mingwconfig.h | Diff File | ||
mod - src/win32/dird/Makefile | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
master 18b60cac 2014-07-26 22:24 Marco van Wieringen Ported: N/A Details Diff |
Fix Windows build. | ||
mod - src/win32/compat/include/mingwconfig.h | Diff File | ||
mod - src/win32/dird/Makefile | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
master 8227ecaa 2014-07-26 20:24 Ported: N/A Details Diff |
Fix Windows build. | ||
mod - src/win32/compat/include/mingwconfig.h | Diff File | ||
mod - src/win32/dird/Makefile | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
bareos-14.2 44a636e3 2014-07-26 20:24 Ported: N/A Details Diff |
Fix Windows build. | ||
mod - src/win32/compat/include/mingwconfig.h | Diff File | ||
mod - src/win32/dird/Makefile | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
bareos-14.2 a6ffd437 2014-07-25 00:56 Marco van Wieringen Ported: N/A Details Diff |
Fix compiler warnings when not using dynamic backend loading. | ||
mod - src/dird/dbcheck.c | Diff File | ||
mod - src/stored/bscan.c | Diff File | ||
mod - src/tests/bbatch.c | Diff File | ||
mod - src/tests/bvfs_test.c | Diff File | ||
master cf470d8b 2014-07-25 00:56 Marco van Wieringen Ported: N/A Details Diff |
Fix compiler warnings when not using dynamic backend loading. | ||
mod - src/dird/dbcheck.c | Diff File | ||
mod - src/stored/bscan.c | Diff File | ||
mod - src/tests/bbatch.c | Diff File | ||
mod - src/tests/bvfs_test.c | Diff File | ||
bareos-14.2 2614a9c1 2014-07-25 00:44 Marco van Wieringen Ported: N/A Details Diff |
Cleanup tape error reporting. Use always clrerror(mt_com.mt_op) where possible to never make an error on what we do the error reporting on. The mt_com.mt_op contains the last ioctl operation that failed. Also add some missing error reporting which makes converity happy. |
||
mod - src/stored/backends/generic_tape_device.c | Diff File | ||
master a67cefb6 2014-07-25 00:44 Marco van Wieringen Ported: N/A Details Diff |
Cleanup tape error reporting. Use always clrerror(mt_com.mt_op) where possible to never make an error on what we do the error reporting on. The mt_com.mt_op contains the last ioctl operation that failed. Also add some missing error reporting which makes converity happy. |
||
mod - src/stored/backends/generic_tape_device.c | Diff File | ||
master 14dea19b 2014-07-24 22:56 Ported: N/A Details Diff |
Fix compiler warnings when not using dynamic backend loading. | ||
mod - src/dird/dbcheck.c | Diff File | ||
mod - src/stored/bscan.c | Diff File | ||
mod - src/tests/bbatch.c | Diff File | ||
mod - src/tests/bvfs_test.c | Diff File |