]> git.sur5r.net Git - bacula/rescue/log
bacula/rescue
17 years agoTweaks
Kern Sibbald [Thu, 12 Apr 2007 07:55:45 +0000 (07:55 +0000)]
Tweaks

17 years agoUpdate technotes to remove double quote
Kern Sibbald [Thu, 12 Apr 2007 07:42:22 +0000 (07:42 +0000)]
Update technotes to remove double quote

17 years agoLocking debug level tweaks in SD.
Kern Sibbald [Thu, 12 Apr 2007 07:41:37 +0000 (07:41 +0000)]
Locking debug level tweaks in SD.

17 years agoebl add relocation options
Eric Bollengier [Thu, 12 Apr 2007 07:11:30 +0000 (07:11 +0000)]
ebl  add relocation options

17 years agoebl add relocation code
Eric Bollengier [Thu, 12 Apr 2007 07:10:56 +0000 (07:10 +0000)]
ebl  add relocation code

17 years agodhb Succeeded at fixing the FIXME that gave me heartache. When an undocked
Dirk H Bartley [Thu, 12 Apr 2007 02:02:30 +0000 (02:02 +0000)]
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.

17 years ago11Apr07
Kern Sibbald [Wed, 11 Apr 2007 20:09:25 +0000 (20:09 +0000)]
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.

17 years agodhb Removal of PageHash class as requested.
Dirk H Bartley [Wed, 11 Apr 2007 00:59:01 +0000 (00:59 +0000)]
dhb  Removal of PageHash class as requested.

17 years agoupdate
Kern Sibbald [Tue, 10 Apr 2007 16:09:12 +0000 (16:09 +0000)]
update

17 years agoFix incorrect syntax in header file
Kern Sibbald [Tue, 10 Apr 2007 15:48:16 +0000 (15:48 +0000)]
Fix incorrect syntax in header file

17 years agoebl fix compilation
Eric Bollengier [Tue, 10 Apr 2007 15:22:56 +0000 (15:22 +0000)]
ebl  fix compilation

17 years agoebl update
Eric Bollengier [Tue, 10 Apr 2007 15:06:42 +0000 (15:06 +0000)]
ebl  update

17 years agodhb Create a class to be a two way hash. This way it is easy to insert a
Dirk H Bartley [Mon, 9 Apr 2007 02:48:46 +0000 (02:48 +0000)]
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.

17 years agoUse a hash QHash<QTreeWidgetItem*,Pages*> instead of QHash<int,Pages*> m_pagehash
Dirk H Bartley [Mon, 9 Apr 2007 01:47:56 +0000 (01:47 +0000)]
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.

17 years agodhb move functions that were not slots from the slots part of mainwin.h
Dirk H Bartley [Mon, 9 Apr 2007 00:25:21 +0000 (00:25 +0000)]
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.

17 years agodhb On close, check all pages to see if it is currently undocked. If it is
Dirk H Bartley [Sun, 8 Apr 2007 17:28:10 +0000 (17:28 +0000)]
dhb  On close, check all pages to see if it is currently undocked.  If it is
     Then close the window.

17 years agodhb use the stack widget signal currentChanged to trigger function
Dirk H Bartley [Sun, 8 Apr 2007 17:17:33 +0000 (17:17 +0000)]
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.

17 years agoMerge Otto Mueller's patch for FSH compat. Add scientific linux target.
Scott Barninger [Sun, 8 Apr 2007 14:24:04 +0000 (14:24 +0000)]
Merge Otto Mueller's patch for FSH compat. Add scientific linux target.

17 years agodhb The changes in this commit are to make the right click in the page selector
Dirk H Bartley [Sun, 8 Apr 2007 13:51:02 +0000 (13:51 +0000)]
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.

17 years agoebl fix rx.where usage
Eric Bollengier [Sat, 7 Apr 2007 14:23:32 +0000 (14:23 +0000)]
ebl  fix rx.where usage

17 years agoebl use bfree instead of free
Eric Bollengier [Sat, 7 Apr 2007 10:43:59 +0000 (10:43 +0000)]
ebl  use bfree instead of free
     add bregexp_get_build_where_size and avoid malloc in build_where

17 years agoebl use bmalloc instead of malloc
Eric Bollengier [Sat, 7 Apr 2007 10:21:52 +0000 (10:21 +0000)]
ebl  use bmalloc instead of malloc

17 years agoUpdates
Kern Sibbald [Sat, 7 Apr 2007 07:24:39 +0000 (07:24 +0000)]
Updates

17 years agoebl add user interface in ua_restore.c
Eric Bollengier [Fri, 6 Apr 2007 21:50:41 +0000 (21:50 +0000)]
ebl  add user interface in ua_restore.c
     check if arguments are NULL in breg.c

17 years agoebl fix spaces
Eric Bollengier [Thu, 5 Apr 2007 19:35:18 +0000 (19:35 +0000)]
ebl  fix spaces

17 years agoebl add restore command line options
Eric Bollengier [Thu, 5 Apr 2007 19:28:57 +0000 (19:28 +0000)]
ebl  add restore command line options
     add Job {} file options

17 years agoebl fix missing free()
Eric Bollengier [Thu, 5 Apr 2007 19:26:53 +0000 (19:26 +0000)]
ebl  fix missing free()
     make strip_prefix case independent

17 years agodhb Medialist : created context menu function and moved lines which create
Dirk H Bartley [Thu, 5 Apr 2007 02:41:42 +0000 (02:41 +0000)]
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.

17 years agoebl update
Eric Bollengier [Wed, 4 Apr 2007 21:30:57 +0000 (21:30 +0000)]
ebl  update

17 years agoebl fix
Eric Bollengier [Wed, 4 Apr 2007 21:30:20 +0000 (21:30 +0000)]
ebl  fix

17 years agoebl add build_where and escape_string functions
Eric Bollengier [Wed, 4 Apr 2007 20:55:02 +0000 (20:55 +0000)]
ebl  add build_where and escape_string functions

17 years agoAnother tweak for bug 801
Kern Sibbald [Wed, 4 Apr 2007 18:34:15 +0000 (18:34 +0000)]
Another tweak for bug 801

17 years agoUpdate notes
Kern Sibbald [Wed, 4 Apr 2007 18:18:28 +0000 (18:18 +0000)]
Update notes

17 years agokes Implement new code for freeing in use volumes that should
Kern Sibbald [Wed, 4 Apr 2007 18:18:12 +0000 (18:18 +0000)]
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.

17 years agoUpdate technotes
Kern Sibbald [Tue, 3 Apr 2007 16:29:44 +0000 (16:29 +0000)]
Update technotes

17 years agoFix bacula web images
Kern Sibbald [Tue, 3 Apr 2007 16:27:05 +0000 (16:27 +0000)]
Fix bacula web images

17 years agodhb Fix of a segfault. The clear() function would execute triggering
Dirk H Bartley [Tue, 3 Apr 2007 02:32:29 +0000 (02:32 +0000)]
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.

17 years agoebl small fix
Eric Bollengier [Mon, 2 Apr 2007 21:01:13 +0000 (21:01 +0000)]
ebl  small fix

17 years agoebl Add file with a newline and file with a tab
Eric Bollengier [Mon, 2 Apr 2007 20:48:02 +0000 (20:48 +0000)]
ebl  Add file with a newline and file with a tab

17 years agoebl update
Eric Bollengier [Mon, 2 Apr 2007 19:34:31 +0000 (19:34 +0000)]
ebl  update

17 years agoebl first working cup of tea
Eric Bollengier [Mon, 2 Apr 2007 19:32:36 +0000 (19:32 +0000)]
ebl  first working cup of tea

17 years agoebl update
Eric Bollengier [Mon, 2 Apr 2007 19:31:49 +0000 (19:31 +0000)]
ebl  update

17 years agoebl rename esc_name2 with esc_path
Eric Bollengier [Mon, 2 Apr 2007 18:16:35 +0000 (18:16 +0000)]
ebl  rename esc_name2 with esc_path

17 years agoebl fix batch escape string bug
Eric Bollengier [Mon, 2 Apr 2007 15:08:22 +0000 (15:08 +0000)]
ebl  fix batch escape string bug

17 years agoebl fix escape bug
Eric Bollengier [Mon, 2 Apr 2007 15:06:42 +0000 (15:06 +0000)]
ebl  fix escape bug

17 years agoebl remove brestore_missing_path
Eric Bollengier [Mon, 2 Apr 2007 14:17:27 +0000 (14:17 +0000)]
ebl  remove brestore_missing_path

17 years agoSQLite3 tweaks
Kern Sibbald [Mon, 2 Apr 2007 13:50:27 +0000 (13:50 +0000)]
SQLite3 tweaks

17 years agoUpdate technotes and version
Kern Sibbald [Mon, 2 Apr 2007 11:02:46 +0000 (11:02 +0000)]
Update technotes and version

17 years agoCorrect migration prune SQL typo
Kern Sibbald [Mon, 2 Apr 2007 11:01:23 +0000 (11:01 +0000)]
Correct migration prune SQL typo

17 years agoMore reserve debug code
Kern Sibbald [Sun, 1 Apr 2007 13:30:13 +0000 (13:30 +0000)]
More reserve debug code

17 years agoMove bnet_despool() into class in bsock.c
Kern Sibbald [Sun, 1 Apr 2007 13:19:03 +0000 (13:19 +0000)]
Move bnet_despool() into class in bsock.c

17 years agoPut techdocs in right place
Kern Sibbald [Sun, 1 Apr 2007 12:10:38 +0000 (12:10 +0000)]
Put techdocs in right place

17 years agoUpdate date
Kern Sibbald [Sun, 1 Apr 2007 09:47:08 +0000 (09:47 +0000)]
Update date

17 years agokes Modify job report to include director name and Build OS.
Kern Sibbald [Sun, 1 Apr 2007 09:44:32 +0000 (09:44 +0000)]
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

17 years agoIgnore non-svn conf files
Kern Sibbald [Sun, 1 Apr 2007 09:14:46 +0000 (09:14 +0000)]
Ignore non-svn conf files

17 years agoebl cleanup
Eric Bollengier [Sun, 1 Apr 2007 08:49:10 +0000 (08:49 +0000)]
ebl  cleanup

17 years agoebl add
Eric Bollengier [Sun, 1 Apr 2007 07:38:32 +0000 (07:38 +0000)]
ebl  add

17 years agoebl move it to doc
Eric Bollengier [Sun, 1 Apr 2007 07:22:14 +0000 (07:22 +0000)]
ebl  move it to doc

17 years agoebl add
Eric Bollengier [Sun, 1 Apr 2007 07:18:25 +0000 (07:18 +0000)]
ebl  add

17 years agoebl fix regexp separator
Eric Bollengier [Sat, 31 Mar 2007 21:03:45 +0000 (21:03 +0000)]
ebl  fix regexp separator

17 years agoSimplify Job report first line + move debug code
Kern Sibbald [Sat, 31 Mar 2007 15:34:43 +0000 (15:34 +0000)]
Simplify Job report first line + move debug code

17 years agodhb turn joblist from a dummy class to a working class querying the database
Dirk H Bartley [Sat, 31 Mar 2007 15:27:37 +0000 (15:27 +0000)]
dhb  turn joblist from a dummy class to a working class querying the database
     for jobs on a specific media.

17 years agoAvoid time race condition in restores
Kern Sibbald [Sat, 31 Mar 2007 12:50:23 +0000 (12:50 +0000)]
Avoid time race condition in restores

17 years agodhb removed regex which is no longer needed.
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

17 years agoebl cleanup
Eric Bollengier [Sat, 31 Mar 2007 11:35:22 +0000 (11:35 +0000)]
ebl  cleanup

17 years agoRemove local mysql start
Kern Sibbald [Sat, 31 Mar 2007 11:33:20 +0000 (11:33 +0000)]
Remove local mysql start

17 years agoebl update
Eric Bollengier [Sat, 31 Mar 2007 11:32:32 +0000 (11:32 +0000)]
ebl  update

17 years agoRework debug flags a bit
Kern Sibbald [Sat, 31 Mar 2007 11:30:51 +0000 (11:30 +0000)]
Rework debug flags a bit

17 years agoUpdate version
Kern Sibbald [Sat, 31 Mar 2007 11:22:28 +0000 (11:22 +0000)]
Update version

17 years agoUse regress as database name with user regress
Kern Sibbald [Sat, 31 Mar 2007 11:21:33 +0000 (11:21 +0000)]
Use regress as database name with user regress

17 years agoebl add checkfilechanges doc
Eric Bollengier [Sat, 31 Mar 2007 08:20:11 +0000 (08:20 +0000)]
ebl  add checkfilechanges doc

17 years agoebl Check size, age of each file after their backup to see if
Eric Bollengier [Sat, 31 Mar 2007 08:05:13 +0000 (08:05 +0000)]
ebl  Check size, age of each file after their backup to see if
     they have changed during backup.

17 years agodhb Added comments for each function. There are questions above
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.

17 years agoChange name of db to regress
Kern Sibbald [Fri, 30 Mar 2007 22:01:29 +0000 (22:01 +0000)]
Change name of db to regress

17 years agoRelease catalog_db buffer on exit
Kern Sibbald [Fri, 30 Mar 2007 21:58:45 +0000 (21:58 +0000)]
Release catalog_db buffer on exit

17 years agokes Make database name and user configurable
Kern Sibbald [Fri, 30 Mar 2007 21:46:04 +0000 (21:46 +0000)]
kes  Make database name and user configurable
     --with-db-name=xxx --with-db-user=xxx
kes  Add back database type to message.c for debugging.

17 years agoAdd context menu to media tree item
Kern Sibbald [Fri, 30 Mar 2007 16:59:23 +0000 (16:59 +0000)]
Add context menu to media tree item

17 years agoebl update
Eric Bollengier [Fri, 30 Mar 2007 14:51:07 +0000 (14:51 +0000)]
ebl  update

17 years agoebl add a disconnect function
Eric Bollengier [Fri, 30 Mar 2007 14:50:18 +0000 (14:50 +0000)]
ebl  add a disconnect function

17 years agoMore tweaks to names
Kern Sibbald [Fri, 30 Mar 2007 11:36:19 +0000 (11:36 +0000)]
More tweaks to names

17 years agoMore tweaks for medialist
Kern Sibbald [Fri, 30 Mar 2007 11:29:28 +0000 (11:29 +0000)]
More tweaks for medialist

17 years agokes Implement dir_sql() which issues an SQL query.
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.

17 years agodhb Simplify MainWin::undockWindowButton. Make the columns in medialist
Dirk H Bartley [Fri, 30 Mar 2007 01:00:22 +0000 (01:00 +0000)]
dhb  Simplify MainWin::undockWindowButton.  Make the columns in medialist
     resemble the columns in list media at a console command.

17 years agoebl update
Eric Bollengier [Thu, 29 Mar 2007 16:21:41 +0000 (16:21 +0000)]
ebl  update

17 years agoebl update
Eric Bollengier [Thu, 29 Mar 2007 16:20:27 +0000 (16:20 +0000)]
ebl  update

17 years agoebl update
Eric Bollengier [Thu, 29 Mar 2007 16:19:17 +0000 (16:19 +0000)]
ebl  update

17 years agoebl update
Eric Bollengier [Thu, 29 Mar 2007 16:17:43 +0000 (16:17 +0000)]
ebl  update

17 years agoebl fix bug which display a directory 2 times
Eric Bollengier [Thu, 29 Mar 2007 16:14:53 +0000 (16:14 +0000)]
ebl  fix bug which display a directory 2 times
     fix revision bug

17 years agokes Fix some of the mtx-changer grep commands for tape label readers.
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.

17 years agoImplement dir_cmd with QString argument
Kern Sibbald [Thu, 29 Mar 2007 09:01:32 +0000 (09:01 +0000)]
Implement dir_cmd with QString argument

17 years agodhb Use of QHash instead of QList, solves all the issues of Items being
Dirk H Bartley [Thu, 29 Mar 2007 02:46:14 +0000 (02:46 +0000)]
dhb  Use of QHash instead of QList, solves all the issues of Items being
     removed from QList and the key pointing to the wrong object.

17 years agodhb left console.cpp uncompileable. Modified a comment in mainwin.cpp
Dirk H Bartley [Thu, 29 Mar 2007 01:33:45 +0000 (01:33 +0000)]
dhb  left console.cpp uncompileable.  Modified a comment in mainwin.cpp

17 years agodhb Implement dir_cmd in medialist remove dosql from console
Dirk H Bartley [Thu, 29 Mar 2007 00:59:27 +0000 (00:59 +0000)]
dhb  Implement dir_cmd in medialist  remove dosql from console

17 years agoRename bstack class and functions
Kern Sibbald [Wed, 28 Mar 2007 17:32:55 +0000 (17:32 +0000)]
Rename bstack class and functions

17 years agoebl fix accent
Eric Bollengier [Wed, 28 Mar 2007 13:53:27 +0000 (13:53 +0000)]
ebl  fix accent

17 years agodhb Added lots of comments to batstack.cpp and .h
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.

17 years agokes Add context menu for floating a window.
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

17 years agoEliminate unused variable
Kern Sibbald [Tue, 27 Mar 2007 20:08:56 +0000 (20:08 +0000)]
Eliminate unused variable

17 years agoTweak names
Kern Sibbald [Tue, 27 Mar 2007 20:07:07 +0000 (20:07 +0000)]
Tweak names

17 years agoebl update
Eric Bollengier [Tue, 27 Mar 2007 20:07:06 +0000 (20:07 +0000)]
ebl  update