dhb Medialist : created context menu function and moved lines which create
the context menu function there. Call this function from
MediaList::PgSeltreeWidgetClicked() so that the menu items only get added
once instead of every time the tree gets repopulated. Otherwise the popup
menu ends up with repeats.
Joblist : Set all flags of the table items to 0 so that the defaults of
editable are not active.
kes Implement new code for freeing in use volumes that should
resolve if not all, some of the problems of multiple drive
tape conflicts described in bug 801.
dhb Fix of a segfault. The clear() function would execute triggering
a treeItemChanged when no tree item exits because of the clear. There
is probably a cleaner way to accomplish this prevent of segfault.
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.