kes Modify job report to include director name and Build OS.
kes Move drop and check_catalog() before fork.
kes Add update database scripts (version 9 to 10) to updatedb directory
Dirk H Bartley [Sat, 31 Mar 2007 12:40:15 +0000 (12:40 +0000)]
dhb removed regex which is no longer needed.
renamed m_popuptext to m_currently selected
set m_currentlyselected in new treeItemChanged member function.
renamed memeber pointers to mp_ prefix
mp_treewidget was an inherited member, renamed in ui and removed from .h
Dirk H Bartley [Sat, 31 Mar 2007 03:06:44 +0000 (03:06 +0000)]
dhb Added comments for each function. There are questions above
a couple of them. Added treeItemChanged signal and slot for the sake
of the context sensitive menu.
Kern Sibbald [Fri, 30 Mar 2007 10:07:33 +0000 (10:07 +0000)]
kes Implement dir_sql() which issues an SQL query.
kes Modify bat medialist to use dir_sql() and do some minor C++
formatting as well as eliminating a number of pointers, simplifing
the code.
Kern Sibbald [Thu, 29 Mar 2007 09:27:54 +0000 (09:27 +0000)]
kes Fix some of the mtx-changer grep commands for tape label readers.
kes Convert a number of bsendmsg into the appropriate send/warning/error
message class calls.
kes Suppress the using database message in the .sql command.
kes Correct an incorrect bnet_tls_client prototype -- patch from Martin.
Dirk H Bartley [Wed, 28 Mar 2007 02:42:58 +0000 (02:42 +0000)]
dhb Added lots of comments to batstack.cpp and .h
Re-added virtual functions. Removing them broke the ability
for medialist, and any future class that populates on click
to populate. Could find another way if needed.
Kern Sibbald [Tue, 27 Mar 2007 20:32:38 +0000 (20:32 +0000)]
kes Add context menu for floating a window.
kes Some minor cleanup and name changes in qt-console
kes Add doing mt setblk 0 in Win32 mtx-changer.
kes Apply Martin's bug fix to move definition of ENODATA for
FreeBSD to bsock.c
Dirk H Bartley [Tue, 27 Mar 2007 15:12:23 +0000 (15:12 +0000)]
dhb Having a frustrating time. This compliles and runs fine. Have the
iterating when the index can be pulled from the tree widget item sort
of accomplished. Need to think more about how to consistently get to
a window in the list
Kern Sibbald [Mon, 26 Mar 2007 16:32:56 +0000 (16:32 +0000)]
kes Turn on Batch insert code by default as it now passes regression.
kes Add ./configure --enable-bat to enable building of Bat.
No install yet though.
Dirk H Bartley [Sun, 25 Mar 2007 22:01:54 +0000 (22:01 +0000)]
dhb this is a rewrite of the populate tree function. It uses the brand
spanky new .sql "select ... from ..." console capabilities in the director
It also uses a new dosql function in the console to return the results
of the command as a QListString. This simplifies the data access.
Dirk H Bartley [Sun, 25 Mar 2007 15:05:08 +0000 (15:05 +0000)]
dhb I have the issue of m_medialist and m_brestore resolved. The only one
used was the m_medialist to populate after the console connected. So now
I created a virtual function for clicked and double clicked in BatStack.
All classes that want to do something based on a click in it's widget
in the page selector can just use the virtual function.
So in medialist, a single click will populate if not populated, and a double
will repopulate from a clear.
Kern Sibbald [Sun, 25 Mar 2007 13:11:55 +0000 (13:11 +0000)]
Implement code to turn off pruning in obtaining the next volume.
Pruning is turned off for the status dir command, but turned on
for SD requests and for the list nextvolume command.
Dirk H Bartley [Sun, 25 Mar 2007 01:38:40 +0000 (01:38 +0000)]
dhb I've got most of the user interface issues working as I was hoping to see
them working. Now it is time to get another window into the stack and the
tree. And also work on actual functionality.
Kern Sibbald [Sat, 24 Mar 2007 21:55:54 +0000 (21:55 +0000)]
kes Write new subroutine is_volume_purged() that explicitly checks
if the Volume is purged, and if so marks it as such. This should
resolve problems reported about needing to mount twice to recycle
volumes.
kes Rewrite pruning algorithm to do more work in the SQL engine, and
to pass a list of JobIds to be deleted to SQL. Also, minimize the
amount of duplicated code.
kes Do volume pruning only for the Media Type desired (reduces pruning time
if multiple Media Types are in the same pool).
kes Implement more detailed info in the Job report for the Bacula version
and architecture.
kes Switch from POOLMEM to POOL_MEM (a real class) in ua_prune.c and
ua_purge.c.
Dirk H Bartley [Sat, 24 Mar 2007 20:05:09 +0000 (20:05 +0000)]
dhb This solves the really not elegant at all way to determine what tree item
goes with what stacked widget item. ( When a tree item is clicked )
This begins the framework for being able to add and destroy tree widget
items and associated stacked widget items on the fly.
I still need to fix a few items such as the ability to close a window and
never get it back, ... ever.
Dirk H Bartley [Sat, 24 Mar 2007 15:14:18 +0000 (15:14 +0000)]
dhb This may be a way to fix the issues of windows that can
be removed from the main window. Not finished yet, but
a double click can bring a window out. I think the trigger
of double click should change in the near future. The
elegance of the changes needs to be improved for future
add ons of many stacked windows.