Kern Sibbald [Tue, 15 Aug 2006 20:43:54 +0000 (20:43 +0000)]
kes If doing a mount, look for a slot, and if specified pass it to
the SD so that it can load the autochanger.
kes Return DVD=1 flag if a label command is done to a DVD. This
permits setting VolParts to 1.
kes Apply DVD patch from Richard Mortimer <richm@oldelvet.org.uk>, but
rework ua_label code based on DVD media type to use DVD flag returned.
Kern Sibbald [Tue, 15 Aug 2006 13:51:22 +0000 (13:51 +0000)]
kes Eliminate some compile warnings in dird_conf.c
kes Format the bytes field in the terminated jobs part of the status
command for the three daemons with suffixes to reduce print size
of backup bytes. Suggested by a user.
kes When not descending into a directory, print the File= name that
triggered it -- makes why not descending a bit clearer.
kes Do not unload autochanger when doing a list command -- basic code
from Eric Bollengier.
Robert Nelson [Sat, 12 Aug 2006 23:18:24 +0000 (23:18 +0000)]
Reworked the MinGW32 build-dependencies script, it has been renamed to build-depkgs-mingw32. It now handles two options -h to display help and -C to reextract the source and apply the patches. The -C option is useful for updating the source after new patches are released.
Moved the 3rd party package URLs to a separate file External-mingw32. This allows us to update to new versions without having to modify the script and makes it easier to figure out which packages and which versions are used.
Added a new script build-depkgs-msvc.cmd which does the same thing as build-depkgs-mingw32 except they are built using Microsoft Visual C and placed in the depkgs-msvc directory. There is also an External-msvc file to describe the packages.
Updated README.mingw32 with the updated instructions.
Added a couple of missing files to the installer for PostgreSQL.
Kern Sibbald [Mon, 7 Aug 2006 09:17:25 +0000 (09:17 +0000)]
kes Fix bug #462 incorrect error message printed when client script called
from File= was not found.
kes Fix bug #558 (waiting for feedback) where Bacula needs too much time to
do a rewind on Solaris when no tape is in the drive (Solaris does not
have the detailed errno found on Linux). Added Solaris specific code.
Note, this may apply to other OSes as well.
Robert Nelson [Sat, 5 Aug 2006 22:27:03 +0000 (22:27 +0000)]
Move the definition of catalog_db[] into cats. Change it to db_get_type() which is implemented
in the database specific files: bdb.c, mysql.c, postgresql.c and sqlite.c.
Change cats.h so that database specific sections are only visible which building the cats directory.
Kern Sibbald [Thu, 3 Aug 2006 16:02:16 +0000 (16:02 +0000)]
kes Attempt to fix problems with the msg_queue crashing on Solaris
when Bacula is terminating, but problems remain.
kes Add WIN32_VSS to HAVES in src/Makefile.inc.in to correct VSS
name editing problems with too many \?\es.
kes Fix some Bacula source code stlye problems in compat.cpp.
kes Turn off 3 lines of code at line 331 of compat.cpp
kes Add debug code to compat.cpp and convert non-Bacula debug code
to Bacula style.
Kern Sibbald [Wed, 2 Aug 2006 15:42:45 +0000 (15:42 +0000)]
kes Change the name of the technical notes file from kes-1.39 to
technotes-1.39. Prefix my messages with 'kes '.
kes Allow dequeue_messages() to be called twice. Should fix bug
# 649.
kes Add Job type to bscan Job information output.
kes Make a first cut at a ReleaseNotes and ChangeLog for a
beta release.
kes Make make clean decend into the src/win32 directory.
kes Fix some #ifdefing so that Solaris and FreeBSD compile
sys/stat.h was turned off.
kes Use suffix editing for new transfer rate messages.
kes Attempt to come up with a workaround which seems to be an OS
bug where write() returns EBUSY. IMO this should not happen.
It triggered in truncatebug test. The workaround retries using
a 100 ms wait.
kes Eliminate a strerror() call in a class method that failed with
older C++ compilers.
kes Use rm -rf rather than rmdir to delete the src/win32/release
directory during make clean.
kes Make bscan ignore ACL streams.
kes Update projects files with new Feature Requests.
kes Generate current English and French manuals and upload
them to the site.
kes Update the home page to include the new British/French flags to
switch between translations. Work done by Alexandre Baron.
kes Make disk-changer script print an error message if the changer
directory is not defined.
kes Create a generic DB routine for getting an int (32/64 bit) from
the DB.
kes Add more migration code.
kes Add a few more files to .cvsignore here and there.
Add french/english flag for Bacula web site
Modified Files:
fr/inc/header.php inc/header.php
Added Files:
images/english-flag.jpg images/french-flag.jpg
- Several important commits from Robert Nelson for code cleanup and
Win32 build.
- Modify console.c so that when conio is enabled, it converts \n to
\n\r before outputting to the console. Hopefully this will fix
the problems with expect in Perl that Eric saw.