]> git.sur5r.net Git - bacula/rescue/log
bacula/rescue
17 years agokes Implement posix_fadvise in FD, and for reading spool files in SD.
Kern Sibbald [Mon, 23 Apr 2007 16:31:14 +0000 (16:31 +0000)]
kes  Implement posix_fadvise in FD, and for reading spool files in SD.
kes  Add thread timer to bnet_connect() to break from OS if wait time
     expires.

17 years agokes Implement posix_fadvise in FD, and for reading spool files in SD.
Kern Sibbald [Mon, 23 Apr 2007 16:30:53 +0000 (16:30 +0000)]
kes  Implement posix_fadvise in FD, and for reading spool files in SD.
kes  Add thread timer to bnet_connect() to break from OS if wait time
     expires.

17 years agoebl fix error message about TCP_KEEPIDLE
Eric Bollengier [Mon, 23 Apr 2007 15:38:08 +0000 (15:38 +0000)]
ebl  fix error message about TCP_KEEPIDLE

17 years agoFix bnet_connect calling sequence in bat
Kern Sibbald [Mon, 23 Apr 2007 07:12:31 +0000 (07:12 +0000)]
Fix bnet_connect calling sequence in bat

17 years agoAdd six context sensitive menu options to the joblist. I think I got
Dirk H Bartley [Mon, 23 Apr 2007 03:09:12 +0000 (03:09 +0000)]
Add six context sensitive menu options to the joblist.  I think I got
all the ones that made sense doing "jobid=" searches in documentation.
Commented out one passed value in line 122 of console.cpp to get a
successful compilation.

17 years agoAfter tables or trees are created, size the columns.
Dirk H Bartley [Sun, 22 Apr 2007 21:41:37 +0000 (21:41 +0000)]
After tables or trees are created, size the columns.

17 years agoUpdate Win32 build to include new files, new symbols, and
Kern Sibbald [Sun, 22 Apr 2007 21:23:27 +0000 (21:23 +0000)]
Update Win32 build to include new files, new symbols, and
     renamed files.

17 years agoebl add bregtest tool
Eric Bollengier [Sun, 22 Apr 2007 20:00:49 +0000 (20:00 +0000)]
ebl  add bregtest tool

17 years agoebl use regexwhere instead of rwhere
Eric Bollengier [Sun, 22 Apr 2007 19:49:30 +0000 (19:49 +0000)]
ebl  use regexwhere instead of rwhere

17 years agoebl rename rwhere to regexwhere
Eric Bollengier [Sun, 22 Apr 2007 19:45:35 +0000 (19:45 +0000)]
ebl  rename rwhere to regexwhere

17 years agoAuto select console tree widget of current console when a command is entered in the
Dirk H Bartley [Sun, 22 Apr 2007 19:43:11 +0000 (19:43 +0000)]
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.

17 years agoImplement socket level heartbeat (tcp_keepidle)
Kern Sibbald [Sun, 22 Apr 2007 19:08:57 +0000 (19:08 +0000)]
Implement socket level heartbeat (tcp_keepidle)

17 years agoebl update
Eric Bollengier [Sun, 22 Apr 2007 18:18:52 +0000 (18:18 +0000)]
ebl  update

17 years agoebl add a tool to test regexp
Eric Bollengier [Sun, 22 Apr 2007 18:17:16 +0000 (18:17 +0000)]
ebl  add a tool to test regexp

17 years agoebl Commit file relocation
Eric Bollengier [Sun, 22 Apr 2007 18:16:43 +0000 (18:16 +0000)]
ebl  Commit file relocation

17 years agoHave the title of undocked window describe the type of window it is like the
Dirk H Bartley [Sun, 22 Apr 2007 17:03:32 +0000 (17:03 +0000)]
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.

17 years agokes Make bat have 'make install' target.
Kern Sibbald [Sun, 22 Apr 2007 15:19:41 +0000 (15:19 +0000)]
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.

17 years agoLittle big change. This fixes the undocked windows becoming active when the
Dirk H Bartley [Sun, 22 Apr 2007 14:45:42 +0000 (14:45 +0000)]
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.

17 years agoebl fix relocation add_suffix bugs
Eric Bollengier [Sun, 22 Apr 2007 09:55:12 +0000 (09:55 +0000)]
ebl  fix relocation add_suffix bugs

17 years agoebl fix compilation bug
Eric Bollengier [Sun, 22 Apr 2007 08:36:28 +0000 (08:36 +0000)]
ebl  fix compilation bug

17 years agoAdd a consoleCommand to Pages class
Dirk H Bartley [Sun, 22 Apr 2007 01:50:10 +0000 (01:50 +0000)]
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

17 years agoThis implements dynamic pages created on the fly being nested on the tree
Dirk H Bartley [Sat, 21 Apr 2007 23:43:12 +0000 (23:43 +0000)]
This implements dynamic pages created on the fly being nested on the tree
underneath the objects that were used to create them.

17 years agoFix incorrectly setting first item to console of top director.
Dirk H Bartley [Sat, 21 Apr 2007 20:34:06 +0000 (20:34 +0000)]
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.

17 years agoRemoved pages virtual doubleclick from existence and all subclasses that used it.
Dirk H Bartley [Sat, 21 Apr 2007 16:32:01 +0000 (16:32 +0000)]
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.

17 years agoebl tweak ua_run.c to display RWhere or Where before run restore
Eric Bollengier [Sat, 21 Apr 2007 15:39:13 +0000 (15:39 +0000)]
ebl  tweak ua_run.c to display RWhere or Where before run restore
     add comments

17 years agoebl add '/' regexp separator
Eric Bollengier [Sat, 21 Apr 2007 15:27:18 +0000 (15:27 +0000)]
ebl  add '/' regexp separator

17 years agoebl add bregexp_get_build_where_size definition
Eric Bollengier [Sat, 21 Apr 2007 15:08:20 +0000 (15:08 +0000)]
ebl  add bregexp_get_build_where_size definition

17 years agoebl cleanup
Eric Bollengier [Sat, 21 Apr 2007 15:05:27 +0000 (15:05 +0000)]
ebl  cleanup

17 years agoebl update
Eric Bollengier [Sat, 21 Apr 2007 09:34:06 +0000 (09:34 +0000)]
ebl  update

17 years agoExtend idea of Prefer Mounted Volumes to mean a volume about
Kern Sibbald [Sat, 21 Apr 2007 09:21:14 +0000 (09:21 +0000)]
Extend idea of Prefer Mounted Volumes to mean a volume about
     to be mounted.

17 years agoebl fix comments
Eric Bollengier [Sat, 21 Apr 2007 09:10:08 +0000 (09:10 +0000)]
ebl  fix comments

17 years agoPrint waiting to reserve a device every 5 mins.
Kern Sibbald [Sat, 21 Apr 2007 09:09:35 +0000 (09:09 +0000)]
Print waiting to reserve a device every 5 mins.

17 years agokes Don't call close_part in label.c if tape and relabel.
Kern Sibbald [Sat, 21 Apr 2007 05:54:29 +0000 (05:54 +0000)]
kes  Don't call close_part in label.c if tape and relabel.
kes  Don't free volume if busy in close() -- should help with
     bug 801.

17 years agoMultiple directors are working. Still more todo. See TODO file.
Dirk H Bartley [Sat, 21 Apr 2007 03:26:13 +0000 (03:26 +0000)]
Multiple directors are working.  Still more todo.  See TODO file.

17 years agoebl update
Eric Bollengier [Fri, 20 Apr 2007 20:41:10 +0000 (20:41 +0000)]
ebl  update

17 years agoebl fix #824 bug about runscript
Eric Bollengier [Fri, 20 Apr 2007 20:36:47 +0000 (20:36 +0000)]
ebl  fix #824 bug about runscript
     use RunsOnSuccess and RunsOnFailure with Before script (like before, but it's more clear)

17 years agoebl make runscript-test working
Eric Bollengier [Fri, 20 Apr 2007 20:21:33 +0000 (20:21 +0000)]
ebl  make runscript-test working

17 years agoebl cleanup
Eric Bollengier [Fri, 20 Apr 2007 11:58:26 +0000 (11:58 +0000)]
ebl  cleanup

17 years agoCorrect usage of MTIOCLRERR ioctl for clearing persistant errors
Kern Sibbald [Thu, 19 Apr 2007 08:39:23 +0000 (08:39 +0000)]
Correct usage of MTIOCLRERR ioctl for clearing persistant errors
     on Solaris.

17 years agoUpdate
Kern Sibbald [Wed, 18 Apr 2007 20:13:44 +0000 (20:13 +0000)]
Update

17 years agoFirst cut multiple consoles
Kern Sibbald [Wed, 18 Apr 2007 19:45:32 +0000 (19:45 +0000)]
First cut multiple consoles

17 years agokes The bgnome-console (gnome-console) and bwx-console (wx-console) are
Kern Sibbald [Wed, 18 Apr 2007 17:06:43 +0000 (17:06 +0000)]
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.

17 years agoUpdate
Kern Sibbald [Wed, 18 Apr 2007 16:32:46 +0000 (16:32 +0000)]
Update

17 years agoUpdate
Kern Sibbald [Wed, 18 Apr 2007 16:00:15 +0000 (16:00 +0000)]
Update

17 years agodhb Add a storage page to the stack and page selector.
Dirk H Bartley [Tue, 17 Apr 2007 03:03:32 +0000 (03:03 +0000)]
dhb  Add a storage page to the stack and page selector.

17 years agoAdd a feature to be able to get a list of jobs of a specific client. This is
Dirk H Bartley [Tue, 17 Apr 2007 02:00:28 +0000 (02:00 +0000)]
Add a feature to be able to get a list of jobs of a specific client.  This is
accomplished from a context sensitive menu in the client list window.

17 years agodhb Added a clients page to the stack. Do some name changing to be more
Dirk H Bartley [Mon, 16 Apr 2007 02:38:15 +0000 (02:38 +0000)]
dhb  Added a clients page to the stack.  Do some name changing to be more
     consistent.

17 years agodhb Show job bytes in joblist.
Dirk H Bartley [Sun, 15 Apr 2007 18:05:34 +0000 (18:05 +0000)]
dhb  Show job bytes in joblist.

17 years agoAdd refresh medialist in context sensitive of medialist tree. If context
Dirk H Bartley [Sun, 15 Apr 2007 17:03:42 +0000 (17:03 +0000)]
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.

17 years agoFix backup-bacula-test
Kern Sibbald [Sun, 15 Apr 2007 14:14:27 +0000 (14:14 +0000)]
Fix backup-bacula-test

17 years agoFix build without sd lock debug
Kern Sibbald [Sun, 15 Apr 2007 14:00:42 +0000 (14:00 +0000)]
Fix build without sd lock debug

17 years agoUpdate prototype
Kern Sibbald [Sun, 15 Apr 2007 11:46:53 +0000 (11:46 +0000)]
Update prototype

17 years agodhb Added joblist to the stack and the page selector. Joblist starts in an all
Dirk H Bartley [Sun, 15 Apr 2007 03:08:37 +0000 (03:08 +0000)]
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.

17 years agoFix label dialog
Kern Sibbald [Sat, 14 Apr 2007 20:56:11 +0000 (20:56 +0000)]
Fix label dialog

17 years agoUpdate technotes
Kern Sibbald [Sat, 14 Apr 2007 20:11:58 +0000 (20:11 +0000)]
Update technotes

17 years agokes Add new/changed entry points to Win32 build
Kern Sibbald [Sat, 14 Apr 2007 20:02:35 +0000 (20:02 +0000)]
kes  Add new/changed entry points to Win32 build
kes  Create unaccepted-projects for projects that are not accepted.

17 years agoUpdate
Kern Sibbald [Sat, 14 Apr 2007 16:22:04 +0000 (16:22 +0000)]
Update

17 years agoUpdate
Kern Sibbald [Sat, 14 Apr 2007 15:37:11 +0000 (15:37 +0000)]
Update

17 years agoUpdate
Kern Sibbald [Sat, 14 Apr 2007 15:28:28 +0000 (15:28 +0000)]
Update

17 years agoUpdate
Kern Sibbald [Sat, 14 Apr 2007 15:27:19 +0000 (15:27 +0000)]
Update

17 years agoCorrect typo
Kern Sibbald [Sat, 14 Apr 2007 15:20:29 +0000 (15:20 +0000)]
Correct typo

17 years agokes Simplify locking in the reservations system.
Kern Sibbald [Sat, 14 Apr 2007 15:06:02 +0000 (15:06 +0000)]
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.

17 years agoSelect between two options
Kern Sibbald [Sat, 14 Apr 2007 08:12:53 +0000 (08:12 +0000)]
Select between two options

17 years agoUpdate
Kern Sibbald [Sat, 14 Apr 2007 07:56:36 +0000 (07:56 +0000)]
Update

17 years agodhb Possible fix of segfault when cancel is pressed in label dialog.
Dirk H Bartley [Sat, 14 Apr 2007 01:24:24 +0000 (01:24 +0000)]
dhb  Possible fix of segfault when cancel is pressed in label dialog.

17 years agoRemove debug setting
Kern Sibbald [Thu, 12 Apr 2007 20:22:58 +0000 (20:22 +0000)]
Remove debug setting

17 years agokes Locking debug level tweaks in SD.
Kern Sibbald [Thu, 12 Apr 2007 16:19:42 +0000 (16:19 +0000)]
kes  Locking debug level tweaks in SD.
kes  Tweak new Volume code.

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