Kern Sibbald [Tue, 19 Jun 2007 09:48:44 +0000 (09:48 +0000)]
kes Fix bad return in FD when encryption signature not found.
Probably caused a crash.
kes Inhibit missing encryption signature error messages for
file types where no signature computed.
kes Correct inverted check on autochanger in reservation system.
kes Tweak debug code in autochanger reservation.
Kern Sibbald [Mon, 18 Jun 2007 19:29:26 +0000 (19:29 +0000)]
kes Add some additional locking in the cats directory in subroutines
that modify packet variables called from batch insert.
kes Rework how dcrs are allocated. new_dcr() can now be called
with an existing pointer, and it will simply clean it up.
This allows the reservation system to test various different
devices, and will permit easy device changes.
kes A bunch of changes all over to handle new new_dcr() calling
sequence.
kes Work more on the Volume management in the SD. Remember Volumes
for tape drives and for autochangers (even virtual disk changers).
kes When looking at the Volume list to reserve a drive, handle
autochanger names correctly by interating through the changer
devices. Also call the Director to see if a Volume is suitable
for the current job.
kes Fix some bugs in bscan. Make sure all media records are written.
Make sure that valid JobMedia records are written for disk files.
Previously they were completely wrong.
Kern Sibbald [Mon, 18 Jun 2007 10:43:01 +0000 (10:43 +0000)]
kes Move source tar files for depkgs-mingw32 to www.bacula.org so
that the URLs don't change and so that the developers will all
work off the same copy. Rebuild from scrach.
Kern Sibbald [Sat, 16 Jun 2007 08:25:03 +0000 (08:25 +0000)]
kes Remove a few malloc()s from the encryption code.
kes Use the class calls to bsock in filed/backup.c and restore.c in
place of the old bnet_xxx code.
kes Implement code that does an on the fly calculation of the
signing digest during restore of encrypted files. It makes
a best guess at the algorithm, and if it is not correct, will
then revert to the old code which reads the file after it is
restored.
kes Implement at least one missing crypto stream in stream_to_ascii()
kes Apply patch from William <chowmeined@gmail.com> that fixes bug
#877 where a reload with bad syntax causes Dir to exit.
Kern Sibbald [Thu, 14 Jun 2007 16:54:30 +0000 (16:54 +0000)]
kes Do not free a volume on a tape drive until another volume is
mounted and read, or the autochanger unloads the volume.
This should help the SD re-use volumes that are already mounted,
and should fix bug #886.
kes Apply patch from user brettedgar that allows gnome2-console include
the OpenSSL libraries, and hence work with SSL. Fixes bug #885.
kes Apply patch from Lucien Weller that fixes day of week calculation
because of DST flag problem. Fixes bug #887.
Kern Sibbald [Mon, 11 Jun 2007 10:49:48 +0000 (10:49 +0000)]
10Jun08
kes Move find_next_appendable_volume() to after acquiring a valid device
in reserve.c. This fixes bug #864 -- confirmed by reporter.
09Jun07
kes Unable to reproduce bug 872. However added additional testing for
integer.
kes Bug #874 resolved by documenting SQLite limitations.
kes Bug #882 resolved by documenting mtx-changer script for new drive code.
kes Bug #881 resolved by removing typo in mtx-changer script.
kes Made Frank Sweetser's wiki the official Bacula wiki with his
approval. Added a link to the wiki on the web page, and implemented
a backup from http://paramount.ind.wpi.edu
08Jun07
kes Fix update allfrompool to pass pool name
Kern Sibbald [Sat, 9 Jun 2007 09:25:27 +0000 (09:25 +0000)]
kes Unable to reproduce bug 872. However added additional testing for
integer.
kes Bug #874 resolved by documenting SQLite limitations.
kes Bug #882 resolved by documenting mtx-changer script for new drive code.
kes Bug #881 resolved by removing typo in mtx-changer script.
kes Made Frank Sweetser's wiki the official Bacula wiki with his
approval. Added a link to the wiki on the web page, and implemented
a backup from http://paramount.ind.wpi.edu
Dirk H Bartley [Thu, 7 Jun 2007 20:40:27 +0000 (20:40 +0000)]
Clear list before populating lists in console.
Add a table in restore tree to show what jobs were selected. Use IN keyword
in sql statements to represent better what the selections really are. They
are show me stuff for this condition preselecting a list of jobs.
Kern Sibbald [Thu, 7 Jun 2007 13:21:44 +0000 (13:21 +0000)]
kes Fix sscanf problems reported by Peter Buschman that caused
a bus error on Solaris.
kes Rework (simplify) the select prompt in bat.
kes Move get_jobid_from_tid() into lib and create a
get_jcr_from_tid().
kes Use get_jcr_from_tid() to conver all tls Emsg() to Jmsg(). This
should definitely fix the problem of lost error messages in the
encryption code.
kes Remove over zellous addition of FSFE copyright in a few eggxxx files.
kes Eliminate tcpd.h from the project. Enclose the #include from the
library with extern C ...
kes Add print of signal name when a signal is trapped.
Dirk H Bartley [Mon, 4 Jun 2007 15:11:18 +0000 (15:11 +0000)]
New interface. The intent is to work towards a window which allows the user to
Browse the files in the catalog and see what versions exist for each file, then
be able to mark directories, files and versions for restore. To this point it
is just good at browsing.
Kern Sibbald [Sun, 3 Jun 2007 20:27:52 +0000 (20:27 +0000)]
kes Implement --with-batch-insert in configure and detection of thread
safe libraries. It is on by default, but turned off if no thread
safe library (e.g. SQLite 2) is available.
Kern Sibbald [Sat, 2 Jun 2007 07:57:46 +0000 (07:57 +0000)]
kes Do better checking for NULL results returned from PostgreSQL;
implement retry for failed queries; clear results buffer after
failed query. Hopefully this will correct the PostgreSQL failures.
Kern Sibbald [Fri, 1 Jun 2007 15:57:32 +0000 (15:57 +0000)]
kes Fix PostgreSQL seg fault.
kes Make volume lock recursive.
kes Implement an additional volume reservation algorithm that
starts by considering all reserved volumes then uses the
old brute force algorithm of searching the resources to
find a suitable device.
kes Add new reservations debug code and refine the old code.
kes Update the win32/dll/bacula.defs file.
Dirk H Bartley [Wed, 30 May 2007 20:39:12 +0000 (20:39 +0000)]
A little bit of playing around with icons. Added context sensitve menu to the
restore page in the file tree. Mark and unmark can now be done from right click.
Dirk H Bartley [Wed, 30 May 2007 17:06:58 +0000 (17:06 +0000)]
jobs: add actions and slots for performing commands.
mainwin: small cleanup of 2 line functions only used once.
mainwin clients medialist use const "" when creating jobList instances.
Dirk H Bartley [Wed, 30 May 2007 14:49:52 +0000 (14:49 +0000)]
Joblist: change page select widget name to "JobList"
MediaEdit added months spin. Not sure I like it because 365=yr but 30 days is
not always equal to a month.
JobLog: add Icon for page selector.
mainwin and others. Move dockPage() into the class' constructors so that the
createPage functions in main win are not of benefit.
Jobs: a new page for displaying jobs and job defaults.
Dirk H Bartley [Tue, 29 May 2007 21:09:07 +0000 (21:09 +0000)]
Add the remainder of the editible fields to mediaedit. Also add those
fields to medialist. Querying for recycle pool took another sql trick. I'll test
with mysql on return from vacation. Trick is alias of table.
Kern Sibbald [Tue, 29 May 2007 18:07:26 +0000 (18:07 +0000)]
kes Tweak reservations algorithm to permit a few more cases, i.e.
volume reserved, but on different drive, ...
kes Enhance SD status to include Pool and Media Type for drive in a
more readable format (a bit longer).
Dirk H Bartley [Tue, 29 May 2007 15:34:57 +0000 (15:34 +0000)]
Add icon to label class in page selector.
Turn media edit into a inheritor of the page class to put it on the stack.
Added status tips for buttons in main.ui via designer
Added truly fancy method of editing retention and use duration in media edit.