Changesets: bareos

master f9074fff

2014-07-31 23:01

mvwieringen

Ported: N/A

Details Diff
Fix problem now we use call a real constructor for the DCR.

We can no longer use the side effect of an assignment calling a
constructor to fill two variables so do it in two steps.
mod - src/stored/butil.c Diff File
mod - src/stored/stored.c Diff File

bareos-14.2 5a071741

2014-07-31 23:01

mvwieringen

Ported: N/A

Details Diff
Fix problem now we use call a real constructor for the DCR.

We can no longer use the side effect of an assignment calling a
constructor to fill two variables so do it in two steps.
mod - src/stored/butil.c Diff File
mod - src/stored/stored.c Diff File

master 94d4e0ef

2014-07-31 22:50

mvwieringen

Ported: N/A

Details Diff
Change the socket constructors.

As all BSOCK_XX classes are a derived class of BSOCK it makes more sense
to initialize the shared members in the BSOCK constructor. As on
creation of a devived class the base class constructor gets called
anyway this will work nicely. We also don't have to intialize everything
to zero as the BSOCK class is a derived class from the SMARTALLOC class
and as such the constructor of that class will initialize the memory to
zero.
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
mod - src/lib/bsock_udt.c Diff File
mod - src/lib/bsock_udt.h Diff File

bareos-14.2 cb9b1e3e

2014-07-31 22:50

mvwieringen

Ported: N/A

Details Diff
Change the socket constructors.

As all BSOCK_XX classes are a derived class of BSOCK it makes more sense
to initialize the shared members in the BSOCK constructor. As on
creation of a devived class the base class constructor gets called
anyway this will work nicely. We also don't have to intialize everything
to zero as the BSOCK class is a derived class from the SMARTALLOC class
and as such the constructor of that class will initialize the memory to
zero.
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
mod - src/lib/bsock_udt.c Diff File
mod - src/lib/bsock_udt.h Diff File

master b42206ed

2014-07-31 22:48

mvwieringen

Ported: N/A

Details Diff
Fix problem with new DCR constructor.

Coverity found a valid problem with the new DCR constructor that cannot
use the dev variable as that is a non initialized variable in the
constructor so use a proper local error buffer.
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File

bareos-14.2 3bee8cb0

2014-07-31 22:48

mvwieringen

Ported: N/A

Details Diff
Fix problem with new DCR constructor.

Coverity found a valid problem with the new DCR constructor that cannot
use the dev variable as that is a non initialized variable in the
constructor so use a proper local error buffer.
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File

master 1390c559

2014-07-30 19:22

Marco van Wieringen

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

playground 4520bea5

2014-07-30 17:22

mvwieringen

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

bareos-14.2 1cce4344

2014-07-30 17:22

mvwieringen

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

mvwieringen

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

mvwieringen

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

mvwieringen

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

mvwieringen

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

mvwieringen

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

mvwieringen

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

mvwieringen

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

mvwieringen

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

mvwieringen

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

mvwieringen

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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 570 571 572 573 574 575 576 ... 600 ... 641 642 643  Next  Last