Auto select console tree widget of current console when a command is entered in the
console command line entry LineEdit box.
Display and dress up the context sensitive command when a popup menu is pressed
causing a console command to be entered. I'd almost prefer to see if there is a
way to have the command entered be BOLD or something to bring it out.
Have the title of undocked window describe the type of window it is like the
page selector and the director that it represents.
Also add bat.pro to svn property svn:ignore to make more svn friendly.
kes Make bat have 'make install' target.
kes Warn during install if old gnome-console binary found.
kes Warn during install if old wx-console binary found.
kes Add -8 option to bsmtp command line to add content type utf-8.
Fixes bug #809. (Character coding problem in bsmtp).
kes If < is found in target (from, to, cc) then do not enclose the
target in < > in bsmtp. Fixes bug #772 (malformed address).
kes When printing certain items in dbcheck, stop after 300000.
Fixes bug #822. (dbcheck loops).
kes Incorrect status in Dir after waiting for mount with poll set.
Fixes bug #825.
Little big change. This fixes the undocked windows becoming active when the
current console is not the console of the ondocked window. Important fix here.
Add a consoleCommand to Pages class
Added Storage class and a FileSet class
Added a context sensitive menu option for status client from client page
Added a context sensitive menu option for status storage from storage page
Added a context sensitive menu option for status fileset from fileset page
Fix incorrectly setting first item to console of top director.
Add feature to identify the active director "console" to be grey background if
inactive and magenta background if active. Pick your colors, it could even be
user configurable when we get there. I just chose magenta and grey as an
example of what looked good in short time.
Removed pages virtual doubleclick from existence and all subclasses that used it.
Resolved writing and reading settings for console fonts. now on a per console
configuration basis. Capitolized "C"lient to work with mysql in clients class.
Change consolelist to consolehash so that it can also be used when a director tree
widget is selected in the page selector to make the conole the current console.
On start, the first console is the selected widget in page selector. Have
signals connecting to the console class be connected and disconnected in tree item
changed.
kes The bgnome-console (gnome-console) and bwx-console (wx-console) are
deprecated. No additional bugs will be fixed, and they will be dropped
in a future release (probably 2.4.0).
kes Change name of wx-console to bwx-console to make it more Bacula
unique.
kes Change the name of gnome-console to bgnome-console to make it
more Bacula unique.
Add refresh medialist in context sensitive of medialist tree. If context
sensitive joblist on media produces no results, inform user with message.
Change text in context sensitive menu's on medilist.
dhb Added joblist to the stack and the page selector. Joblist starts in an all
jobs by default and can be repopulated. If a list of jobs is gotten from
a context sensitive query, it can be closed.
kes Simplify locking in the reservations system.
kes Add more debug code in reservations.
kes Make sure error condition on reserving a volume is handled correctly.
kes Correct handling of volume_in_use.
kes Correct handling of initializing a device.
kes Move handling of broadcasting releasing a device into release_device().
kes Correct attaching dcr to dev so that it is only done if device
is properly initiated.
dhb Succeeded at fixing the FIXME that gave me heartache. When an undocked
window is closed, it will be visible on the top of the stack and the page
selector item that represents it will become active.
If a page selector item becomes active and the window is not docked, it
will be raised to the front.
11Apr07
kes Add exec external-command [wait-seconds] to bconsole. This
executes the external-command. Note! normally external-command
should be enclosed in double quotes.
kes Turn the .die command on only if DEVELOPER is defined -- i.e.
it should normally be off in a production system.
10Apr07
kes Implement die command for SD so that we can force it to dump.
kes Implement SD lock debug code.
kes Implement new algorithm for keeping Volume list in SD. It
is now owned by the device.
dhb Create a class to be a two way hash. This way it is easy to insert a
QTreeWidget* and Pages* combination and then get the item associated with
any item easily.
Use a hash QHash<QTreeWidgetItem*,Pages*> instead of QHash<int,Pages*> m_pagehash
This way, the integer stored in QT::UserRole is not needed at all. The hash
directly allows for conversion from a known treeWidgetItem to a page. Since
the integer is not required to be passed and held in subclasses of the pages
class, clean up the constructors of Subclasses to not get the integer value
and set back to nearly like they were before.
dhb move functions that were not slots from the slots part of mainwin.h
Add code to set the color of undocked treeWidgetItems in the page
selector window to blue if undocked.
dhb use the stack widget signal currentChanged to trigger function
stackItemChanged to call pages virtual function currentStackItem.
This prevents a window becoming the top visible window without getting
the chance to populate it's screen.
dhb The changes in this commit are to make the right click in the page selector
more context sensitive. The intent is to have a menu popup describing the
window that will be docked or undocked and whether it will be docked or
undocked. This works by using treeItemChanged as a slot from the signal
currentItemChanged from the treeWidget. After this, we now have the choice
of removing the virtual functions in the pages class for click and double
click.
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.