]> git.sur5r.net Git - bacula/bacula/blob - bacula/kes-1.39
- add stringlength cache to improve comparison in Win32UTF8->UCS2 cache
[bacula/bacula] / bacula / kes-1.39
1               Technical notes on version 1.39  
2                         Kern Sibbald
3
4 General:
5 21May06
6 - Move DIR "run" command to SD before starting the message thread
7   as suggested by Cristopher Hull to avoid a race deadlock from
8   two threads using the bsock structure.
9 - Modify LICENSE to correct some problems pointed out by Debian.
10 05May06
11 - Correct EOF with no \n lex.c problem.
12 - Tweak compat.h compat.cpp and merge with apcupsd
13 - Add additional INFO messages if autochanger cannot be used.
14 02May06
15 - Simplify Win32 Makefile
16 - Correct count of buffers/bytes used by smartall.c
17 - Updated compat.h after porting apcupsd to MinGW.
18 01May06
19 - Work on getting wx-console building on MinGW. wxWidgets now builds
20   started adding Makefile ...
21 - Moved MinGW library objects to src/win32/lib to reduce clutter.
22 30Apr06
23 - Reloading a bad configuration file doesn't kill director any more.
24   Thanks to fix from Eric Bollengier.
25 29Apr06
26 - Fix problem of accents with new Win32 code.
27 - Integrate Howard's VSS patch. Tweak it a bit. VSS now
28   works in the MinGW build with the exception that there
29   is a problem with accented characters -- i.e. there is
30   some mapping problem with wide characters.
31 - The code no longer compiles with Microsoft VC++.
32 28Apr06
33 - Start implementing Christopher's St.Bernard code.
34 - Add Christopher's mods for opening files.
35 - Strip \r \n from Win32 error messages (Christopher)
36 - Add more info about Win32 system if unknown (Christopher)
37 - Use bstrn(cpy, cat) routines to avoid overrun in compat.cpp
38 - Fix a number of incorrect strings marked for translation, when
39   they should not be (e.g. commands).
40 - Fix StartTime bug reported for ClientRunBeforeJob and RunBeforeJob
41   Patches supplied by user in bugs #608 and #599.
42 - Use most recent of st_ctime and st_mtime in restore tree DIR
43   listing. This fixes some problems with Win32 printing incorrect
44   values.
45 - Correct the clock shift comm time calculation between the DIR
46   and the FD. It was added rather than subtracted.
47 - Strip all backslashes in filenames to be restored on Win32
48   machines -- the names should all be in Unix format, and if
49   there are any backslashes it is most likely due to an improper
50   FileSet definition, and the files will not otherwise be 
51   restorable.
52 - Remove lib/regex.c (replaced by bregex.c).
53 - Delete src/win32/License.txt
54 - Modify installer to install LICENSE
55 26Apr06
56 - Fix bug in build-win32-cross-tools script reported by Howard
57 - Implement cross compiled bconsole
58 25Apr06
59 - Fix barcode test, eliminate BOOL (doesn't exist on Linux).
60 - Write first cut of README.mingw32
61 - Add back ua_label barcode fix from Rufolf Cejka.
62 - Integrate the majority of the Mingw cross-tools submission
63   made by Howard Thomson. Everything compiles, with zlib, openssl,
64   and VSS turned off. Linking needs a pthreads library ...
65 23Apr06
66 - Add 'Dir Status' button to the gnome console.
67 - More work on migration.
68 - Restore non-compatible base64 coding to permit compatibility.
69 - Display heap stats in Storage daemon without debug level.
70 22Apr06
71 - Integrate most of the MinGW changes -- more to do.
72 21Apr06
73 - Implement using pg_config for finding PostgreSQL files.
74   Fixes bug #600. Patch supplied by user.
75 - Remove -t option from mktemp in mtx_changer.in and use
76   working directory. Fixes bug #578.
77 - Update job start time after the any run before job so that
78   files created by the script are only backed up once. Fixes
79   bug #599.
80 - Strip trailing newline only from filenames entered in
81   the restore command when reading a file. This permits
82   the user to enter filenames with trailing spaces. Fixes
83   bug #549. The user supplied a patch that I modified slightly.
84 - Use the most recent time (st_mtime, st_ctime) in the dir
85   command in restore. This gives the user a better idea of what
86   the newest file really is. This fixes bug #574. The fix
87   was suggested by the user.
88 - Implement a compatible version of base64. This permits external
89   programs to duplicate Bacula's base64 algorithm using standard
90   routines. This fixes bugs #296, and 565. Patch submitted by   
91   author of bug #565.  
92   ================= Note ========================
93   Previous Signatures stored in the database are no longer
94   compatible with this. The main downside is for Verify jobs,
95   and doing an InitCatalog run will fix the problem. Also, the
96   authentication between the deamons is changed, so all daemons
97   must be simultaneously upgraded.
98   ==============================================
99   If you don't like this fix, set:
100     const bool compatible = true;
101   to
102     const bool compatible = false;
103   in src/lib/base64.c
104 20Apr06
105 - Ensure that DB signature is never NULL.
106 - Ensure that DB table names are not translated.
107 - Fix scheduler to handle time skew (eg daylight savings).
108 - Fix scheduler to use lock_jobs() to avoid most problems
109   with reload. Window is now milliseconds.
110 19Apr06
111 - Apply patch from Christopher Hull
112   - Allow multiple connections to database with different
113     parameters.
114   - Invalidate the scheduler when doing a reload. Fixes seg
115     fault, but still 60 second window.
116   - Additional info in Reschedule message.
117   - Use set_jcr_job_status() everywhere to prevent loss of
118     cancel, error.
119   - Display peer IP in FD if error from connecting DIR.
120   - Don't increment file count for DIRBEGIN.
121   - Replace illegal characters in Win32 filename by _.
122   - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
123   - Hash hard link filenames rather than linked list.
124   - Fix for security failure in chdir on Win32.
125   - Add CreateDirectoryA/W win32 API entry points.
126 - Add /silent option to Win32 FD for Install/Remove service.
127 - Always print Heap statistics in FD.
128 18Apr06
129 - Remove the -f option from the chown in Makefile.in for more
130   portability.
131 - Change setting the group in Makefile.in to use chgrp for
132   more portability.
133 - Implement a write_store and read_store to replace
134   dirstore in reserve.c
135 - Implement a Bacula read/write lock for Python rather
136   than using the Python lock to avoid recursive problems.
137 - Correct the uninstall directory names in filed/Makefile.in
138   as reported by a user.
139 17Apr06
140 - Correct some problems with database creation (new tables).
141 - Replace a bunch of old 0x%x by %p.
142 - Get first cut of Migration with Job selection working.
143 16Apr06
144 - Change store_bit() to store_bool() for the Spooling in 
145   dird_conf.c -- bug reported by Robert Nelson.
146 15Apr06
147 - Correct Makefile bug found by Dan Langille.
148 14Apr06
149 - Correct Makefile for Solaris /bin/sh
150 - Correct mtx-changer.in for Solaris /bin/sh
151 - Abort if a conf resource does not have a Name =
152 12Apr06
153 - Change the name of the regex program to bregex.
154 - Add the bwild program to the tools directory. It is similar
155   to the bregex program.
156 - Implement create bregex.h and bregex.c in src/lib from the
157   Python regexp program.  
158 - Use the new bregex.c to implement Regex expressions on Win32.
159 11Apr06
160 - More work on migration.
161 - Implement wild program in tools directory for testing
162   wild-cards. Almost identical to the regex program.
163 - Up port VSS single thread locking code.
164 - Replace N_(..) by NT_(...) to inhibit translation of
165   commands.
166 - Modify Makefile to change the permissions on Working Directory
167   to 770 if the directory is created.
168 - Do not fail the Makefile if changing the permissions or 
169   owner/group on WorkingDir fails.
170 - Remove early selection of Scratch Volumes in the recycling
171   algorithm.
172 - Correct the old recycling algorithm so that Scratch Volumes
173   are selected when looking for a Volume in the changer.
174 - Correct a typo in the Verify SQL reported by Joe Park.
175 10Apr06
176 - Remove automatic case folding on Windows FDs. You must
177   explictly use the 'Ignore Case = yes' option.
178 - Remove the code added to 1.38.6 and 1.38.7 that pulls a
179   scratch volume in an Autochanger early in the 'recycling'
180   algorithm.  
181 09Apr06
182 - Make weof() and clrerror() methods of class DEVICE.
183 08Apr06
184 - Tweak license to include Microsoft restrictions.
185 - Move mysql.reconnect to after real_connect().  Thanks to
186   Frank Sweetser for the patch.
187 - Disallow a backslash in a File = directive (Windows junk)
188   unless the string is quoted.                     
189 - Apply Eric's patch to ua_label.c so that daemon protocol
190   is not translated.
191 - Add NT_ definition for strings that should not be translated.
192 - Apply NT_() to ua_label.c
193
194 - Remove timed wait for VSS on Win2K3 as it is not yet
195   implemented.
196 - Correct bacula.in script to reference bacula-ctl-xx in the
197   sysconfig directory rather than the bin directory.
198 26Mar06
199 - Fix a long standing bug in the bacula start/stop scripts.
200 - Attempt to add the new bacula-ctl-* files to the rpm.
201 - Switch to using typeof() for list traversing to avoid
202   as many FC5 g++ compiler warnings as possible.
203 25Mar06
204 - Split the bacula start/start script into four files:
205    bacula         -- starts and stops calling other scripts
206    bacula-ctl-dir -- starts/stops the director
207    bacula-ctl-fd  -- starts/stops the File daemon
208    bacula-ctl-sd  -- starts/stops the Storage daemon
209 24Mar06
210 - Create datestyle fix for PostgreSQL. Fixes bug #574.
211 - Correct editing of JobId from int to int64 in fd_cmds.c
212 - Eliminate FileSet name race with bash_spaces() and multiple
213   threads by bashing in a local.
214 - Fix error return from 'use storage' to print a correct error
215   message rather than nothing.
216 - Correct false re-read last block error message when two jobs 
217   are simultaneously writing at the end of a tape.
218 - Simplify exit conditions in the reserve.c code to avoid  
219   possible non-release of reservation_lock().
220 - Suffle lock order in reserve to avoid deadlock between
221   reservation lock and device mutex.
222 21Mar06
223 - Initialize jcr mutex before first use. Thanks to Thorsten for
224   tracking this down for me !!!! as it broke the Win32 build.
225 20Mar06
226 - Integrate addition of line count limitation to bsmtp -l from
227   Sebastian Stark <stark at tuebingen.mpg.de>
228 17Mar06
229 - Implement regex test program in tools directory.
230 - Attempt to fix time problem with bsmtp with foreign langs.
231 - Add strip_trailing_newline() submitted by user.
232 - Implement regex matching in migrate.c
233 16Mar06
234 - Fix bug #537 to allow arbitrary time to mount a volume for
235   restore, if polling is turned on.     
236 - If dir_user or dir-group is specified in ./configure apply it to
237   the working-dir. Fixes bug #533.
238 - If rescheduling a job cancel the previous incarnation with the SD.
239   Fixes bugs #566 and 557.
240 - Fix bug #567 do_message() definition type conflict.
241
242 14Mar06
243 - Add more jcr methods and make mutex and use_count private.
244 - Create lock/unlock methods for jcr.
245 - Fix PostgreSQL bug doing sql_data_seeek() by explicitly reading
246   records to get to seek position.
247 - Integrate patch from bug #561 to correct conio.c signal definitions.
248 - Fix Rescheduling failed Jobs. Ensure that SD message thread 
249   terminates correctly by doing pthread_kill(). Do not destroy
250   SD cond wait variable between executions of the job. Use local
251   mutex for cond variable to avoid blocking jcr chain. Fix poor 
252   use of jcr use count in jobq.c for restarted jobs.
253 - Fix obsolete usage of foreach_dlist() to use foreach_jcr() in
254   lib/jcr.c -- prevents locking the jcr chaing.
255 - Apply patch from bug #564, which corrects listing volumes with
256   multiple autochangers. Apply same fix to next volume list.
257 - Fix bug #562 where restore bootstrap file is not unique.
258 - More details in implementing David's migration syntax proposal.
259 - Save and restore dcr when swapping drives so that if we have
260   a write dcr it is not lost.
261 - Use new routine lock_reservations() to lock the reservations
262   system, and call it while looking for a volume in askdir.c.
263   This could possibly fix bug #543.
264 - Stop SD command loop if job is canceled.
265
266 08Mar06
267 - Remove old code from findlib/create_file.c
268 - Rename mac.c migrate.c
269 - Add user friendly display of VolBytes in job report.
270 - Rename target... to previous... to make it a bit easier to
271   understand.
272 - Add selection type and selection pattern to Migration (idea
273   given by David Boyes). 
274
275 04Mar06
276 - The po files should now be current.
277 - Fix new sql_use_result() code to properly release the
278   buffers in all cases.
279 - Use the keyword ujobid to mean the unique job id; job or jobname
280   to mean the Job name given on the Name directive, and jobid to
281   be the numeric (non-unique) job id.
282 - Allow listing by any of the above.
283 - Add the user friendly job report code for reporting job elapsed time
284   and rates with suffexes from John Kodis <kodis at comcast.net>.
285 - Add Priority and JobLevel as Python settable items.
286 - Use TEMPORARY table creation where the table is created by
287   Bacula.
288 - Add new code submitted by Eric for waiting on specific jobid.
289 - Add ACL checking for the dot commands.
290 - Fix restore of writable FIFOs.
291 - Fix a bug in bpipe where the string was freed too early.
292 27Feb06
293 - Modify the Python class examples to inherit object -- new way
294   of defining classes. Patch from Felix Schwarz.
295 - Implement jobuid to replace old usage of job in keywords as
296   suggested by Eric Bollengier.
297 - Apply patch for enhancing wait from Eric Bollengier. On can now:
298    wait  (wait for all jobs to stop)
299    wait jobid=nn
300    wait jobuid=unique id
301    wait job=job-name
302 - Implement write variables for Python to set Priority (anytime), and
303   Job Level, only during JobInit event.
304 26Feb06
305 - Fix the block listing bug pointed out by Arno.
306 - Update the po files at Eric's request.
307 24Feb06
308 - Fix Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to 
309   accept time qualifiers.
310 - Make catalog respect ACL.
311 - Add recycle count to Media record.
312
313 Changes to 1.39.6-beta1 24Feb04
314 23Feb06
315 - Add Rudolf Cejka's new rc-chio-changer.
316 - Implement pulling Volume from Scratch Pool if the
317   Volume is in the autochanger.
318 - Implement additional command arguments for update Volume.
319
320 Changes to 1.39.5 
321 22Feb06
322 - Back port changes to 1.38.5
323 - Fix recycle SQL for StorageId.
324 - Fix misplaced quote in mtx-changer script.
325 20Feb06
326 - Note. Your database must be updated, or you must create 
327   a new database. I have not yet incremented the database level.
328 - Add Location table. 
329 - Add LocationId, DeviceId, and MediaTypeId to Media record.
330 18Feb06
331 - Implement create/get mac record in database for adding extended
332   Migration data to the job record.
333 - Add new MAC table to update/make database scripts.
334 - Return Storage name used when getting VolumeNames for a job.
335 - Change bsr file keyword Storage to Device, which is more accurate.
336 - Ensure that Mac records are pruned/purged.
337 - Tweak SD tools to deal with changing media type.
338 - Integrate more dev.c subroutines as methods (e.g. strerror, bsr, ...)
339 - Pass pointer to dcr pointer to acquire_device_for_read() so
340   that the subroutine can switch devices, and hence dcrs.
341 - Modify the multiple MediaType read code to re-use the same
342   dcr when switching devices. This makes the code much more
343   robust.
344 - Integrate patch from Karl Hakimian that reads JobIds, FileIndexes
345   from a table for restore.
346 - Add Storage name to VolParams, but it really should be Device.
347 14Feb06
348 - Add disk-changer to scripts directory + configure/Makefile
349 - Eliminate PoolId from jcr -- it is in jcr->jr.PoolId
350 - Implement store_bit scanner to replace store_yesno.  Mostly done.
351 - Implement new store_bool that stores in a bool. 
352 - Add true/false to yes/no conf directives.
353 - Make first cut at changing appropriate store_yesno to store_bool.
354 - Complete implementation of Pool storage devices.
355 - Move starting clones to job.c
356 - Move create_restore_bootstrap_file() to job.c
357 - Make copy_storage() more general to be able to handle
358   Pool storage.
359 - Cleanup a lot of migration code for manual running, including
360   using Pool storage.
361 - Move getting a scratch Volume into a subroutine.
362 - Make all places a Volume that is added to a pool to 
363   respect max vols.
364 - Fix bug in autochanger recycle code (improper edit 64 bit).
365 - Fix segfault in restore command when no value specified.
366 - Start adding code to handle multiple MediaTypes in restore.
367 - Eliminate race condition in getting Volume name for
368   two drive autochanger.
369 - More debug code in autochanger.
370 - Add storage keyword to bootstrap file, add parsing.
371 - Move slot in bsr file into Volume record as there will be
372   a different slot for each Volume.
373 - Create reserve.h
374 07Feb06
375 - Implement Pool storage overrides.
376 06Feb06
377 - Implement first cut of Migration.
378 - Implement mysql_use_result() from patch by Karl Hakimian.
379   This reduces significantly the memory consumption during
380   the restore tree building, and hence runs faster too.
381 - Implement StorageId patch supplied by user (reggie) in bug
382   #536.  This should permit Bacula to work correctly with two
383   autochangers.
384 - Implement Job listing variations suggested by a user.
385 - Move updating bootstrap code in backup.c to subroutine
386   update_bootstrap_file().
387 - Add new job status elapsed time and bytes written user
388   friendly job report output patch sent by John Kodis
389   <kodis at comcast.ne>.
390 - Implement a storage list in Pools.
391 - Separate out setup_job() code from run_job().
392 - Get migration working -- lots of changes in mac.c in both
393   DIR and SD.
394 - Apply patch from user (Eric Bollinger I think) that fixes a  
395   DIR crash when no arguments are supplied to a dot command.
396 - Fix typo (strcpy->strcmp) in ua_prune.c as reported by Martin.
397 - Fix command arg name->volume in label command of gnome-console.
398 - Fix SD acquire.c to release correct DCR by explicitly testing
399   on the dcr address rather than trying to devine if it is a read
400   or write dcr.  This failed in error conditions when the device was
401   not fully setup.
402  
403 30Jan06
404 - Apply user supplied patch for more readable rate output
405   in job report.
406 - Continue implementing migration.
407 - Implement support for removable filesystems in SD.
408 - Ensure that btraceback scripts can be read by anyone.
409 - Replace dvd-freespace and dvd-writepart by dvd-handler.
410 - Correct bug where canceling restore before the FD contacts
411   the SD causes the drive to be left in read mode.
412 - Move ofline_or_rewind into DEVICE::close().
413 - Eliminate close_device.
414 - Convert several dev subroutines to methods (e.g. bsf,
415   eod, ...)
416 - Eliminate force_close_device().
417 - Implement Device Type directive in Device resource that
418   can have values File, Tape, Fifo, DVD, or Prog.
419 - Add has_cap() method to Device.
420 Changes to 1.39.4
421 17Jan06
422 - Add patch from bug #527 to allow RedHat user to specify
423   options/user/group for starting each daemon in      
424   /etc/sysconf/bacula.
425 16Jan06
426 - Add two new queries to query.sql provided by Arno. One
427   list volumes known to the Storage device, and the other
428   lists volumes possibly needing replacement (error, ...).
429 15Jan06
430 - Add periodic (every 24 hours) garbage collection of memory 
431   pool by releasing free buffers.
432 14Jan06
433 - Correct bug counting sized (for display only) in smartall.c
434 - Print FD mempool stats if debug > 0 rather than 5.
435 12Jan06
436 - Make db_lock() mutex error fail the job rather than abort
437   Bacula.  Canceling the job caused the mutex to fail.
438 - Correct bug in alist.c that re-allocated the list if the
439   number of items goes to zero.
440 - Move the reservation system thread locking to the top level
441   so that one job at a time tries all possible drives before
442   waiting.
443 - Implement a reservation 'fail' message queue that is built         
444   and destroyed on each pass through the reservation system.
445   These messages are displayed in a 'Jobs waiting to reserve
446   a drive' list during a 'status storage='.  Note, multiple
447   messages will generally print for each JobId because they
448   represent the different problems with either the same drive
449   or different drives.  If this output proves too confusing
450   of voluminous, I will display it only when debug level 1
451   or greater is enabled in the SD.
452 11Jan06
453 - Add enable/disable job=<job-name>.  This command prevents
454   the specified job from being scheduled. Even when disabled,
455   the job can be manually started from the console.
456 - During 'update slots' clear all InChanger flags where the
457   StorageId is zero (old Media records).
458
459 Beta release 1.38.4:
460 09Jan06
461 - Fix autochanger code to strip leading spaces from returned
462   slots number. Remove bc from chio-changer.
463 - Back port a bit of 1.39 crypto code to reduce diffs.
464 - Fix first call to autochanger that missed close()ing the
465   drive. Put close() just before each run_program().  Fixes
466   Arno's changer bug.
467 07Jan06
468 - Add PoolId to Job record when updating it at job start time.
469 06Jan06
470 - Pull in more code from 1.39 so that there are fewer file
471   differences (the new ua_dotcmds.c, base64.h, crypto.h
472   hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c 
473   util.c. Aside from ua_dotcmds.c these are mostly crypto
474   upgrades.
475 - Implement new method of walking the jcr chain. The
476   incr/dec of the use_count is done within the walking
477   routines.  This should prevent a jcr from being freed
478   from under the walk routines.
479
480
481 Changes to 1.39.3:
482 04Jan06
483 - Start implementing Verify list output.
484 - Move the suitable_drive flag to a better place to prevent
485   premature termination of the reservation if all drives
486   are busy -- should fix Arno's diff/inc pool failures.
487 26Dec05
488 - Add mutex to single thread VSS code in Win32.
489 22Dec05
490 - Simplify code in askdir.c that waits for creating an appendable
491   volume so that it can handle multiple returns from the wait
492   code.
493 - Modify the wait code to permit multiple returns.
494 - Return a zero when "autochanger drives" is called and
495   it is not an autochanger.
496 - Make rewind_dev() a method taking a DCR as an argument.
497   This permits closing and reopening the drive if the
498   rewind fails as happens if the drive was loaded while the
499   file descriptor was open. This refreshes the file descriptor.
500 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
501   if the device is open or not.  This should eliminate
502   Arnos problem.
503 - Return error if reserve cannot find at least one suitable device.
504 - Make wait_for_sysop() return correct state information.
505 - Fix Win32 state file problem. write was not using compat
506   code. This should fix bug #500.
507 21Dec05
508 - Modify gui on command to set only GUI mode and not batch.
509 - Modify .messages command to always print messages regardless
510   of the mode.
511 - If GUI mode is on, suppress automatic printing of 
512   You have messages. 
513 - Delete old bnet packet code.
514 - Ignore new BNET_START_SELECT and BNET_END_SELECT signals in
515   wx-console.
516 - Modify restore command in wx-console to set gui on and to use
517   only .messages instead of messages.  Hopefully this fixes bug
518   #514.
519 - Fix seg fault in exit of acquire when canceling a job --
520   reported by Wolfgang Denk
521 - Pull in latest reservation system changes from 1.38
522 - Make .messages command always print messages regardless
523   of the automessages flag.
524 17Dec05
525 - Fix seg fault if user labels a drive directory bug #513
526 - Remove quotes around Version as it breaks things.
527 16Dec05
528 - Merge in Aleksandar Milivojevic's mods to the spec file.
529 - Apply sparse code fix for raw drives and fifos. Bug 506
530 - Thorsten fixed Unicode cd problem with wx-console bug 505.
531 14Dec05
532 - Correct reservation system to do a last ditch try
533   for any mounted volume, then anyone anywhere.
534 - Add quotes around table Version because of
535   error in MySQL 4.1.15 -- bug report submitted.
536 - Correct some minor problems with btape in the fill
537   command.
538 - Updates to ssh-tunnel from Joshua Kugler.
539 - Added a report.pl program from Jonas Bjorklund.            
540 - Simplify the O_NONBLOCK open() code for tape drives,
541   and always open nonblocking.
542 - Do not wait for open() if EIO returned (shouldn't happen).
543 - Eliminate 3 argument to tape open().
544 - Correct the slot # edited in the 3995 Bad autochanger unload
545   message.
546 - With -S on bscan (show progress) do not divide by zero.
547 13Dec05
548 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
549 - When dcr is freed, also broadcast dev->wait_next_vol signal.
550 - Remove unused code in wait_for_device.  
551 - Make wait_for_device() always return after 60 seconds of wait.
552
553 Changes to 1.39.2:
554 13Dec05
555 - Add stubs for non-crypto build.
556 12Dec05
557 - Use localhost if no network configured
558 11Dec05
559 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
560 - Remove debug print.
561 - Add bail_out in error during state file reading.
562 10Dec05
563 - Merge changes made to 1.38.3 into HEAD
564 - Add stubs for pygtk-console code
565 - Create Makefile.in for pygtk-console code
566 09Dec05
567 - Merge updates into 1.38 branch
568 - Update specs to include mysql4 define.
569 - Fix when attributes are sent, must be after binit().
570 - Stop read_record() if status not ok in second loop.
571 - Return rec->FileIndex in dcr->VolLastIndex for normal
572   and partial records in read_record().  This allows bscan
573   to get FileIndex at EOT correct.
574 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
575 08Dec05
576 - Fix Win32 built to work with new crypto code.
577 - Apply patch supplied by user (slightly modified) to fix
578   correct detection of holes in block devices and FIFOs. 
579   Bug # 506.
580 - Apply patch supplied by user (slightly modified) 
581   to fix SD hang with multiple pools and bad client
582   IP. Fixes bug # 508.
583 07Dec05
584 - Add nagios plugin to the examples directory. Submitted by
585   Christian Masopust.
586 - Remove warning message about multiple saves of hardlinked files
587   from find_one.c as it can generate too many warning messages.
588 - Modify most restore error messages to be queued so that they
589   appear at the end of the job rather than mixted with the restore
590   listing where they could be "lost".
591 06Dec05
592 - Reset timeout values before select() per patch from 
593   Frank Sweetser for problems with non-blocking sockets.
594 - Unlink the state file if either reading or writing it gets
595   errors.  Hopefully this will fix Win32 exit problems.
596 - Add sanity check in append.c to ensure that dcr is not NULL.
597   This can happen if multiple drive autochanger SCSI control
598   channel and drive indicies do not correspond.
599 05Dec05
600 - Get next volume from Scratch pool before creating a volume.
601 - Set new Pool defaults in Vol when moved from Scratch Pool.
602 - Remove argument from create_bacula_database for SQLite as it
603   caused an error.
604 - Add back index code so that two drive autochangers can get
605   a second tape.
606 - Change a bunch of debug levels to aid debugging autochangers.
607 - Fix reservation so that mutexes are properly applied.
608 - Rework reservation algorithm so that two drives can be used
609   at the same time.
610 04Dec05
611 - Landon merged his data encription changes into the HEAD
612 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at 
613   If this patch is applied, the number of days can be specified with
614   "list nextvol days=xx"
615   or
616   "status dir days=xx"
617   My use case is to be able to preview the next scheduled job (and the 
618   next tape to be used) on fridays if there are no scheduled jobs during 
619   the weekend.
620 Changes to 1.39.1:
621 03Dec05
622 - Fix font code in gnome2 console user patch. Fixes bug #501.
623 - Fix malformatted bnet error message that caused seg fault
624   fixes bug 502
625 - Applied user patch to improve README.vc8 in src/win32.
626 29Nov05
627 - Add Migrate, Copy, Archive Job types (some where there)
628 - Correct some more editing of JobId's (for 64 bit compatibility).
629 - Ensure that StorageId is stored in Media record when ever possible.
630 - Add Migration Job to Job.
631 - Add Migration Time, Migration High Bytes, Migration Low Bytes
632   Next Pool to Pool resource.
633 - Add more code to mac.c (migration archive copy).
634 - Change Start Storage daemon job to require read and write storage
635   pointers.
636 - Pass read storage data to SD as well as write storage data.
637 - Remove old code from winservice.cpp
638 - Break on error in scan.
639 - Fix typo in signal.c
640 - Separate read/write DCR in SD.  Add jcr->read_dcr.
641 - Cleanup how find_device() works.
642 - Add read output to Status in SD.
643 Changes to 1.39.0:
644 23Nov05
645 - Add red-black btree routines
646 21Nov05
647 - Remove abs() in bfile.c so that it compiles on Solaris. 
648   Bug #491.
649 20Nov05
650 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
651 - Fix bnet-server bug found on OpenBSD. Bug #486
652 - Fix cancel failure bug. Bug #481
653 - Fix failure when Pool name has spaces. Bug #487   
654 - Fix SD crash in autochanger code. Mutex failure. Bug #488
655 - Fix a couple of free()s in src/filed/acl.c
656 - Fix memory overrun in bfile.c in building OS X resource
657   fork filename. Bug #489 
658 - Add Pool name to SD status output.
659 14Nov05
660 - Apply SunOS patch for ACLs submitted by David Duchscher.                  
661 - Make sure to set storage before trying to set drive.
662 - Add bacula_mail_summary.sh to examples directory. It makes
663   a single email summary of any number of jobs. Submitted
664   by Adrew J. Millar.
665 - Make sure when we do a mount to unblock the device even
666   if the drive could not be opened.  
667 13Nov05
668 - Remove the USE_WIN32STREAMEXTRACTION #defines (always on)
669   and correct a few minor problems to make it build on Linux.
670 10Nov05
671 - Remove delete of CVS from all Makefiles
672 - Fix seg fault when clicking on Add button in wx-console
673   restore panel.  Bug #470.
674 - Fix copyright date and URL typo -- bug #468.
675 - Change autostart install for FreeBSD to look for rc.conf  
676   rather than rc.local as suggested fix for bug #466.
677 - Apply patch supplied by Eric Bollinger to fix PostgreSQL    
678   grant on status. Bug #465
679 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
680   update script. Bug #464
681 - Tweak #ifdefing a bit in new Win32 stream code.
682 - Fix #ifdeffing for FD_NO_SEND_TEST.
683 - Add documentation of performance #defines