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.
Robert Nelson [Wed, 26 Jul 2006 01:36:23 +0000 (01:36 +0000)]
Strip pathname portion off all message routines that print filename:line.
Print additional messages show the elapsed time and transfer rate for the spool portion of a spooled backup job and also for the tape write portion.
Add DriveType directive to the Director's Include Option FileSet resource. Allowed values are: fixed, removable, cdrom, and remote. There is only an implementation for Windows because it is the only platform that has the concept of drives.
Adds EnhancedWild directive to the Director's Include Option FileSet resource. Allowed values are: yes and no.
When EnhancedWild is enabled then the processing of the Wild, WildDir and WildFile is changed in the following ways.
Patterns conform to Posix
\ is not a special character in character classification []
To match a - it must be the first or last character
To match a ] it must be the first character
fnmatch option FNM_FILE_NAME is specified
* doesn't match a / so it won't match multiple directory levels in a path
Relative WildFile patterns (ones without a leading /) match against the filename portion
This in combination with the FNM_FILE_NAME fnmatch() flag makes directives such as WildFile = abc*.def work as expected.
Adds support for the shell's feature of brace expansion.
- Change cats/sql.c to elimate %-*s format, which I think is turned
off in bsnprintf.
- Add Comment field to llist of a volume.
- Allow true/false in some yes/no questions.
- Implement update volume enable=(on|off|true|false|archived|0|1|2)
- Remove a few /n's when scanning commands from another daemon. This
permits adding additional fields later.
- Modify dbcheck to handle ctl-d and to delete Log table entries.
- Update README.mingw
19July06
- Add additional fields as specified by Arno to LocationLog.
- Add comment field to the Media record.
- Add Time field to the Log record.
- Correct migration SQL (thanks to Bill Moran) so that it
runs with PostgreSQL also.
- Add spooling/despooling info in status output of SD.
17July06
- Spend a lot of time integrating mkcdrec with the rescue disk.
- Add VOLMGMT message class for volume management messages (none yet).
- Add CATALOG as a destination. It goes into the LOG table.
- Implement the Log table in the DB.
- Implement the Location Log table in the DB (for user use).
- At Eric's request add a run_scripts() just after blast_data in
src/filed/job.c