]> git.sur5r.net Git - bacula/bacula/blob - bacula/ChangeLog
This commit was manufactured by cvs2svn to create tag
[bacula/bacula] / bacula / ChangeLog
1
2 Release 1.38.10 (08Jun06) released 12JunO6
3 08Jun06
4 - Modify setting ACLs to suppress error message if the file is a
5   symbolic link since the file linked to may not yet be created,
6   and symbolic links really should not have attributes ...
7 06Jun06
8 - Complete implementation of acl.c error message during restore.
9   During backups, errors getting acls are silently ignored, as was
10   previously the case.
11 04Jun06
12 - Modify configure.in to check for typeof().
13 - Better detection of postgresql installation if pg_conf works.
14 - Fix RescheduleTimes = 0 bug (should not reschedule).
15 - Down port from 1.39: fixes for reload, autochanger error messages,
16   scheduler fixes for reload and day light savings change, 
17 01Jun06
18 - Implement partial error messages for src/filed/acl.c
19 - Fix return code to fail when doing update barcodes and
20   Pool resource is not found. This previously caused Volumes
21   to be labeled as cleaning tapes.
22 - Small updates to projects file.
23 26May06
24 - Prevent DVD code from rewriting label if the device cannot be
25   opened read/write.
26 - Used __GNUC__ to detect GNU g++ as suggested by John Goerzen to
27   fix Debian build bug.
28 - Fix Dir/SD run race in migrate.c, verify.c, and restore.c
29 - Update projects file.
30 24May06
31 - Applied patch posted by Jaime Ventura to bug #570 to correct failure
32   of restarted jobs to complete (due to a destroyed pthreads conditional
33   variable used by the message thread).
34 - Fixed bug #619 where Bacula would not restart jobs with MaxRestartTimes
35   set to zero. 
36 - Apply patch from John Goerzen bug #611 to fix bad manual links in the code.
37 - Apply patch from Rudolf Cejka bug #614 to removed trailing
38   colons in query.sql file.
39 - Apply patch from Rudolf Cejka bug #613 to correct prunning of files
40   not to create orphans.
41 - Apply patch from Rudolf Cejka bug #617 to use mtime instead of ctime
42   in restore long listing.
43 - Apply patch from Rudolf Cejka bug #609 to use MarkId in verify.c instead
44   of incorrect MarkedId.
45 - Apply patch from adioso bug #616 to correct text in manual (replace
46   Director with File daemon).
47 21May06
48 - Move DIR "run" command to SD before starting the message thread
49   as suggested by Cristopher Hull to avoid a race deadlock from
50   two threads using the bsock structure.
51 - Modify LICENSE to correct some problems pointed out by Debian.
52 05May06
53 - Correct EOF with no \n lex.c problem.
54 - Add additional INFO messages if autochanger cannot be used.
55 - Add Eric Bollengier's lex error handler fix, which corrects most
56   of the reload problems.
57
58 Release 1.38.9 (02May06)
59 02May06
60 - Added code to strip backslashes from Windows filenames during
61   a restore.
62 - Corrected Win32 License to use the correct LICENSE file.
63 - Corrected the buffer count and bytes reported in the heap 
64   statistics.
65 26Apr06
66 - Implement an NT_() macro to indicate that text should NOT
67   be translated.
68 - Fix a number of incorrect strings marked for translation, when
69   they should not be (e.g. commands).
70 - Fix StartTime bug reported for ClientRunBeforeJob and RunBeforeJob
71   Patches supplied by user in bugs #608 and #599.
72 - Use most recent of st_ctime and st_mtime in restore tree DIR
73   listing. This fixes some problems with Win32 printing incorrect
74   values.
75 - Correct the clock shift comm time calculation between the DIR
76   and the FD. It was added rather than subtracted.
77 - Strip all backslashes in filenames to be restored on Win32
78   machines -- the names should all be in Unix format, and if
79   there are any backslashes it is most likely due to an improper
80   FileSet definition, and the files will not otherwise be 
81   restorable.
82 - Remove lib/regex.c (replaced by bregex.c).
83 - Delete src/win32/License.txt
84 - Modify installer to install LICENSE
85 25Apr06
86 - Add back ua_label barcode fix from Rufolf Cejka.
87 23Apr06
88 - Add 'Dir Status' button to the gnome console.
89 - Display heap stats in Storage daemon without debug level.
90 22Apr06
91 - Integrate most of the MinGW changes -- more to do.
92 21Apr06
93 - Implement using pg_config for finding PostgreSQL files.
94   Fixes bug #600. Patch supplied by user.
95 - Remove -t option from mktemp in mtx_changer.in and use
96   working directory. Fixes bug #578.
97 - Update job start time after the any run before job so that
98   files created by the script are only backed up once. Fixes
99   bug #599.
100 - Strip trailing newline only from filenames entered in
101   the restore command when reading a file. This permits
102   the user to enter filenames with trailing spaces. Fixes
103   bug #549. The user supplied a patch that I modified slightly.
104 - Use the most recent time (st_mtime, st_ctime) in the dir
105   command in restore. This gives the user a better idea of what
106   the newest file really is. This fixes bug #574. The fix
107   was suggested by the user.
108 18Apr06
109 - Remove the -f option from the chown in Makefile.in for more
110   portability.
111 - Change setting the group in Makefile.in to use chgrp for
112   more portability.
113 - Implement a Bacula read/write lock for Python rather
114   than using the Python lock to avoid recursive problems.
115 - Correct the uninstall directory names in filed/Makefile.in
116   as reported by a user.
117
118 Release 1.38.8 (14Apr06)               
119 14Apr06
120 - Correct Makefile for Solaris /bin/sh
121 - Correct mtx-changer.in for Solaris /bin/sh
122 - Abort if a conf resource does not have a Name =
123 12Apr06
124 - Change the name of the regex program to bregex.
125 - Add the bwild program to the tools directory. It is similar
126   to the bregex program.
127 - Implement create bregex.h and bregex.c in src/lib from the
128   Python regexp program.  
129 - Use the new bregex.c to implement Regex expressions on Win32.
130 11Apr06
131 - Modify Makefile to change the permissions on Working Directory
132   to 770 if the directory is created.
133 - Do not fail the Makefile if changing the permissions or 
134   owner/group on WorkingDir fails.
135 - Correct the old recycling algorithm so that Scratch Volumes
136   are selected when looking for a Volume in the changer.
137 - Correct a typo in the Verify SQL reported by Joe Park.
138 10Apr06
139 - Remove automatic case folding on Windows FDs. You must
140   explictly use the 'Ignore Case = yes' option.
141 - Remove the code added to 1.38.6 and 1.38.7 that pulls a
142   scratch volume in an Autochanger early in the 'recycling'
143   algorithm.  
144 08Apr06
145 - Tweak license to include Microsoft restrictions.
146 - Move mysql.reconnect to after real_connect().  Thanks to
147   Frank Sweetser for the patch.
148 - Disallow a backslash in a File = directive (Windows junk)
149   unless the string is quoted.
150 - Apply Eric's patch to ua_label.c so that daemon protocol
151   is not translated.
152
153 Release 1.38.7 (06Apr06) released 07Apr06 
154 - Remove timed wait for VSS on Win2K3 as it is not yet
155   implemented.
156 - Correct bacula.in script to reference bacula-ctl-xx in the
157   sysconfig directory rather than the bin directory.
158
159 Release 1.38.6 (28Mar06) released 29Mar06
160 28Mar06
161 - Back port from 1.39 fixes to lib/jcr.c to use foreach_jcr() 
162   and new jcr chain locking.
163 26Mar06
164 - Fix a long standing bug in the bacula start/stop scripts.
165 - Attempt to add the new bacula-ctl-* files to the rpm.
166 - Switch to using typeof() for list traversing to avoid
167   as many FC5 g++ compiler warnings as possible.
168 25Mar06
169 - Split the bacula start/start script into four files:
170    bacula         -- starts and stops calling other scripts
171    bacula-ctl-dir -- starts/stops the director
172    bacula-ctl-fd  -- starts/stops the File daemon
173    bacula-ctl-sd  -- starts/stops the Storage daemon
174 24Mar06
175 - Create datestyle fix for PostgreSQL. Fixes bug #574.
176 - Correct editing of JobId from int to int64 in fd_cmds.c
177 - Eliminate FileSet name race with bash_spaces() and multiple
178   threads by bashing in a local.
179 - Fix error return from 'use storage' to print a correct error
180   message rather than nothing.
181 - Correct false re-read last block error message when two jobs 
182   are simultaneously writing at the end of a tape.
183 - Simplify exit conditions in the reserve.c code to avoid  
184   possible non-release of reservation_lock().
185 - Suffle lock order in reserve to avoid deadlock between
186   reservation lock and device mutex.
187 - Add Thorsten's VSS timeout code to 1.38 branch.
188 21Mar06
189 - Initialize jcr mutex before first use. Thanks to Thorsten for
190   tracking this down for me !!!! as it broke the Win32 build.
191 20Mar06
192 - Integrate addition of line count limitation to bsmtp -l from
193   Sebastian Stark <stark at tuebingen.mpg.de>
194 17Mar06
195 - Implement regex test program in tools directory.
196 - Attempt to fix time problem with bsmtp with foreign langs.
197 - Add strip_trailing_newline() submitted by user.
198
199 Release 1.38.6 beta6
200 16Mar06
201 - Fix bug #537 to allow arbitrary time to mount a volume for
202   restore, if polling is turned on.     
203 - Disallow multiple storage specifications for a job. Should fix Arno's
204   problem.
205 - Add back a missing store of poolid in jr.poolid.    
206 - If dir_user or dir-group is specified in ./configure apply it to
207   the working-dir. Fixes bug #533.
208 - If rescheduling a job cancel the previous incarnation with the SD.
209   Fixes bugs #566 and 557.
210 - Fix bug #567 do_message() definition type conflict.
211
212 Release 1.38.6 beta5
213 14Mar06
214 - Add more jcr methods and make mutex and use_count private.
215 - Create lock/unlock methods for jcr.
216 - Fix PostgreSQL bug doing sql_data_seeek() by explicitly reading
217   records to get to seek position.
218 - Integrate patch from bug #561 to correct conio.c signal definitions.
219 - Fix Rescheduling failed Jobs. Ensure that SD message thread 
220   terminates correctly by doing pthread_kill(). Do not destroy
221   SD cond wait variable between executions of the job. Use local
222   mutex for cond variable to avoid blocking jcr chain. Fix poor 
223   use of jcr use count in jobq.c for restarted jobs.
224 - Fix obsolete usage of foreach_dlist() to use foreach_jcr() in
225   lib/jcr.c -- prevents locking the jcr chaing.
226 - Apply patch from bug #564, which corrects listing volumes with
227   multiple autochangers. Apply same fix to next volume list.
228 - Fix bug #562 where restore bootstrap file is not unique.
229 - Use new routine lock_reservations() to lock the reservations
230   system, and call it while looking for a volume in askdir.c.
231   This could possibly fix bug #543.
232 - Stop SD command loop if job is canceled.
233
234 Beta4 attached to a bug report but not distributed.
235 04Mar06
236 - Fix new sql_use_result() code to properly release the
237   buffers in all cases.
238 - Convert to using new Python class definitons with (object).
239 - Use the keyword ujobid to mean the unique job id; job or jobname
240   to mean the Job name given on the Name directive, and jobid to
241   be the numeric (non-unique) job id.
242 - Allow listing by any of the above.
243 - Add the user friendly job report code for reporting job elapsed time
244   and rates with suffexes.
245 - Add Priority and JobLevel as Python settable items.
246 - Use TEMPORARY table creation where the table is created by
247   Bacula.
248 - Add new code submitted by Eric for waiting on specific jobid.
249 - Add ACL checking for the dot commands.
250 - Fix restore of writable FIFOs.
251 - Fix a bug in bpipe where the string was freed too early.
252
253 26Feb06
254 - Fix bug reported by Arno listing blocks with bls
255 - Update the po files at Eric's request.
256
257 Release 1.38.6-beta2 25Feb06
258 25Feb06
259 - Add sql_use_result() define.
260
261 Release 1.38.6 beta1 24Feb06
262 24Feb06
263 - Don't open default catalog if not in ACL.
264 22Feb06
265 - Add virtual disk autochanger code.
266 - Add user supplied bug fix to make two autochangers work
267   correctly using StorageId with InChanger checks.
268 - Correct new/old_jcr confusion in copy_storage().
269 - Remove & from Job during scan in msgchan.c -- probably
270   trashed the stack.
271 - When getting the next Volume if no Volume in Append mode   
272   exists and we are dealing with an Autochanger, search
273   for a Scratch Volume.  
274 - Check for missing value in dot commands -- bug fix.
275 - Fix bug in update barcodes command line scanning.
276 - Make sure Pool Max Vols is respected.
277 - Check that user supplied a value before referencing
278   it in restore -- pointed out by Karl Hakimian. 
279 - Add Karl Hakimian's table insert code.
280 - Don't ask user to select a specific Volume when
281   updating all volumes in a Pool.
282 - Remove reservation if set for read when removing dcr.
283 - Lock code that requests next appendable volume so that
284   two jobs to get the same Volume at the same time.
285 - Add new Device Type = xxx code. Values are file, tape,
286   dvd, and fifo.
287 - Preserve certain modes (ST_LABEL|ST_APPEND|ST_READ) across
288   a re-open to change read/write permission on a device.
289 - Correct a misplaced double quote in certain autochanger  
290   scripts.
291 - Make make_catalog_backup.in a bit more portable.
292 - Implement Karl Hakimian's sql_use_result(), which speeds
293   up restore tree building and reduces the memory load.
294 - Correct a number of minor bugs in getting a Volume from  
295   the Scratch Pool.
296 - Implement additional command line options for update Volume.
297 - Don't require user to enter a Volume name when updating
298   all Volumes in a pool.
299
300 Release 1.38.5 released 19Jan06:
301 19Jan06
302 - Apply label barcodes fix supplied by Rudolf Cejka.
303 18Jan06
304 - Modify standard rpm installation to set SD group to disk
305   so that SD will by default have access to tape drives.
306 - Allow users to specify user/group and start options
307   for each daemon in /etc/sysconf/bacula file.
308
309 Release 1.38.4 14Jan06 released 17 Jan 06:
310 16Jan06
311 - Add two new queries to query.sql provided by Arno. One
312   list volumes known to the Storage device, and the other
313   lists volumes possibly needing replacement (error, ...).
314 15Jan06
315 - Add periodic (every 24 hours) garbage collection of memory 
316   pool by releasing free buffers.
317 14Jan06
318 - Correct bug counting sized (for display only) in smartall.c
319 - Print FD mempool stats if debug > 0 rather than 5.
320 12Jan06
321 - Correct bug in alist.c that re-allocated the list if the
322   number of items goes to zero.
323 - Move the reservation system thread locking to the top level
324   so that one job at a time tries all possible drives before
325   waiting.
326 - Implement a reservation 'fail' message queue that is built         
327   and destroyed on each pass through the reservation system.
328   These messages are displayed in a 'Jobs waiting to reserve
329   a drive' list during a 'status storage='.  Note, multiple
330   messages will generally print for each JobId because they
331   represent the different problems with either the same drive
332   or different drives.  If this output proves too confusing
333   of voluminous, I will display it only when debug level 1
334   or greater is enabled in the SD.
335 11Jan06
336 - Add enable/disable job=<job-name>.  This command prevents
337   the specified job from being scheduled. Even when disabled,
338   the job can be manually started from the console.
339 - During 'update slots' clear all InChanger flags where the
340   StorageId is zero (old Media records).
341
342
343 Beta release 1.38.4:
344 09Jan06
345 - Fix autochanger code to strip leading spaces from returned
346   slots number. Remove bc from chio-changer.
347 - Back port a bit of 1.39 crypto code to reduce diffs.
348 - Fix first call to autochanger that missed close()ing the
349   drive. Put close() just before each run_program().  Fixes
350   Arno's changer bug.
351 07Jan06
352 - Add PoolId to Job record when updating it at job start time.
353 06Jan06
354 - Pull in more code from 1.39 so that there are fewer file
355   differences (the new ua_dotcmds.c, base64.h, crypto.h
356   hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c 
357   util.c. Aside from ua_dotcmds.c these are mostly crypto
358   upgrades.
359 - Implement new method of walking the jcr chain. The
360   incr/dec of the use_count is done within the walking
361   routines.  This should prevent a jcr from being freed
362   from under the walk routines.
363
364 Release 1.38.3 05Jan06:
365 04Jan06
366 - Move the suitable_drive flag to a better place to prevent
367   premature termination of the reservation if all drives
368   are busy -- should fix Arno's diff/inc pool failures.
369 26Dec05
370 - Add mutex to single thread VSS code in Win32.
371
372 Beta release 23Dec05:
373 22Dec05
374 - Add OPENSSL_INC to console dependencies, lib dependencies, and
375   wx-console dependencies in Makefile.in
376 - Add OPENSSL INC/LIB to gnome2_console Makefile.in.
377 - Simplify code in askdir.c that waits for creating an appendable
378   volume so that it can handle multiple returns from the wait
379   code.
380 - Modify the wait code to permit multiple returns.
381 - Return a zero when 'autochanger drives' is called and
382   it is not an autochanger.
383 - Make rewind_dev() a method taking a DCR as an argument.
384   This permits closing and reopening the drive if the
385   rewind fails as happens if the drive was loaded while the
386   file descriptor was open. This refreshes the file descriptor.
387 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
388   if the device is open or not.  This should eliminate
389   Arnos problem.
390 - Return error if reserve cannot find at least one suitable device.
391 - Make wait_for_sysop() return correct state information.
392 - Fix Win32 state file problem. write was not using compat
393   code. This should fix bug #500.
394 21Dec05
395 - Modify gui on command to set only GUI mode and not batch.
396 - Modify .messages command to always print messages regardless
397   of the mode.                
398 - If GUI mode is on, suppress automatic printing of 
399   You have messages. 
400 - Delete old bnet packet code.
401 - Ignore new BNET_START_SELECT and BNET_END_SELECT signals in
402   wx-console.
403 - Modify restore command in wx-console to set gui on and to use
404   only .messages instead of messages.  Hopefully this fixes bug
405   #514.
406 Beta release 20Dec05:
407 20Dec05
408 - Fix seg fault in exit of acquire when canceling a job --
409   reported by Wolfgang Denk
410 19Dec05
411 - Implement load balancing code.
412 - Pull a few files from 1.39 where we can maintain compatibility.
413 - Rewrite reservation algorithm again. Rename variables to be
414   more logical, add HEARTBEAT with Director, allow cancel of
415   jobs stuck in reservation, add last resourt any_drive.
416 17Dec05
417 - Remove quotes from Version table name -- it breaks things.
418 - Fix seg fault if user labels a drive directly bug #513
419 - Remove quotes around Version as it breaks things.
420 16Dec05
421 - Merge in Aleksandar Milivojevic's mods to the spec file.
422 - Apply sparse code fix for raw drives and fifos. Bug 506
423 - Thorsten fixed Unicode cd problem with wx-console bug 505.
424 14Dec05
425 - Correct reservation system to do a last ditch try
426   for any mounted volume, then anyone anywhere.
427 - Add quotes around table Version because of 
428   error in MySQL 4.1.15 -- bug report submitted.
429 - Correct some minor problems with btape in the fill
430   command.
431 - Updates to ssh-tunnel from Joshua Kugler.
432 - Added a report.pl program from Jonas Bjorklund.            
433 - Simplify the O_NONBLOCK open() code for tape drives,
434   and always open nonblocking.
435 - Do not wait for open() if EIO returned (shouldn't happen).
436 - Eliminate 3 argument to tape open().
437 - Correct the slot # edited in the 3995 Bad autochanger unload
438   message.
439 - With -S on bscan (show progress) do not divide by zero.
440 13Dec05
441 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
442 - When dcr is freed, also broadcast dev->wait_next_vol signal.
443 - Remove unused code in wait_for_device.  
444 - Make wait_for_device() always return after 120 seconds of wait.
445 12Dec05
446 - Use localhost if no network configured
447 11Dec05
448 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
449 - Remove debug print.
450 - Add bail_out in error during state file reading.
451 09Dec05
452 - Merge updates into 1.38 branch
453 - Update specs to include mysql4 define.
454 - Stop read_record() if status not ok in second loop.
455 - Return rec->FileIndex in dcr->VolLastIndex for normal
456   and partial records in read_record().  This allows bscan
457   to get FileIndex at EOT correct.
458 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
459 08Dec05
460 - Apply patch supplied by user (slightly modified) to fix
461   correct detection of holes in block devices and FIFOs. 
462   Bug # 506.
463 - Apply patch supplied by user (slightly modified) 
464   to fix SD hang with multiple pools and bad client
465   IP. Fixes bug # 508.
466 07Dec05
467 - Add nagios plugin to the examples directory. Submitted by
468   Christian Masopust.
469 - Remove warning message about multiple saves of hardlinked files
470   from find_one.c as it can generate too many warning messages.
471 06Dec05
472 - Reset timeout values before select() per patch from 
473   Frank Sweetser for problems with non-blocking sockets.
474 - Unlink the state file if either reading or writing it gets
475   errors.  Hopefully this will fix Win32 exit problems.
476 - Add sanity check in append.c to ensure that dcr is not NULL.
477   This can happen if multiple drive autochanger SCSI control
478   channel and drive indicies do not correspond.
479 05Dec05
480 - Get next volume from Scratch pool before creating a volume.
481 - Set new Pool defaults in Vol when moved from Scratch Pool.
482 - Remove argument from create_bacula_database for SQLite as it
483   caused an error.
484 - Add back next_vol index code so that two drive autochangers can get
485   a second tape.
486 - Change a bunch of debug levels to aid debugging autochangers.
487 - Fix reservation so that mutexes are properly applied.
488 - Rework reservation algorithm so that two drives can be used
489   at the same time.
490 04Dec05
491 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at 
492   If this patch is applied, the number of days can be specified with
493   'list nextvol days=xx'
494   or
495   'status dir days=xx'
496   My use case is to be able to preview the next scheduled job (and the 
497   next tape to be used) on fridays if there are no scheduled jobs during 
498   the weekend.
499 03Dec05
500 - Fix font code in gnome2 console user patch. Fixes bug #501.
501 - Fix malformatted bnet error message that caused seg fault
502   fixes bug 502
503 - Applied user patch to improve README.vc8 in src/win32.
504 29Nov05
505 - Correct some more editing of JobId's (for 64 bit compatibility).
506 - Ensure that StorageId is stored in Media record when ever possible.
507 - Add Migration Job to Job.
508 - Change Start Storage daemon job to require read and write storage
509   pointers.
510 - Pass read storage data to SD as well as write storage data.
511 - Remove old code from winservice.cpp
512 - Break on error in scan.
513 - Fix typo in signal.c
514 - Separate read/write DCR in SD.  Add jcr->read_dcr.
515 - Cleanup how find_device() works.
516 - Add read output to Status in SD.
517 21Nov05
518 - Remove abs() in bfile.c so that it compiles on Solaris. Bug #491.
519
520 Changes to 1.38.2: 22 November 2005
521 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
522 - Fix bnet-server bug found on OpenBSD. Bug #486
523 - Fix cancel failure bug. Bug #481
524 - Fix failure when Pool name has spaces. Bug #487   
525 - Fix SD crash in autochanger code. Mutex failure. Bug #488
526 - Fix a couple of free()s in src/filed/acl.c
527 - Fix memory overrun in bfile.c in building OS X resource
528   fork filename. Bug #489 
529 - Add Pool name to SD status output.
530 - Add Python install dir for Solaris to configure. Bug #492
531
532 Changes to 1.38.1: 15 November 2005
533 - Apply SunOS patch for ACLs submitted by David Duchscher.                  
534 - Make sure to set storage before trying to set drive.
535 - Add bacula_mail_summary.sh to examples directory. It makes
536   a single email summary of any number of jobs. Submitted
537   by Adrew J. Millar.
538 - Make sure when we do a mount to unblock the device even
539   if the drive could not be opened.  
540 - Merge Scott's new spec files.
541 - Add doc on setting up Win32 environment variable supplied
542   by Kees van den Broek.               
543 - Turn off API debug output unless debug set to avoid confusing
544   the user.
545 - Add Solaris ACL detection in configure.in as supplied by
546   Attila Fulop. 
547 - Implement 'autochanger drives' protocol so that Dir knows
548   how many drives an autochanger has.
549 - Do not request drive number in label, ... if only one drive.
550 - Turn off debug code.
551 - Fix update slots to clear slot number of every slot before
552   setting it.  This fixes (I believe) bug #471
553 - Make unmount unload the autochanger slot.
554 - Modify open() on mount to be read-only and non-blocking,      
555   otherwise the mount can block for a long time.
556 - Make a few error message numbers unique.
557 - Make a few error messages more correct.
558 - Apply patch from Thorsten to fix Win98 stat() command.
559 - Remove delete of CVS from all makefiles.
560 - Fix seg fault when clicking on Add button in wx-console
561   restore panel.  Bug #470.
562 - Fix copyright date and URL typo -- bug #468.
563 - Change autostart install for FreeBSD to look for rc.conf  
564   rather than rc.local as suggested fix for bug #466.
565 - Apply patch supplied by Eric Bollinger to fix PostgreSQL    
566   grant on status. Bug #465
567 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
568   update script. Bug #464
569 - Fix off by one for last Slot of autochanger for label.
570 - Update release date.
571 - Tweak an authentication error message in dir.
572 - Fix autoloader so that mutex is set and released around
573   each run_program().  There was a missing set.
574 - Remove an unnecessary drive release in autochanger.
575 - Modify configure.in to add execute option to sqlite3 catalog  
576   scripts.
577 - Create update_xxx_table_8_to_9 scripts for updatedb
578 - Fix wrong variable in bpipe.c debug output reported by user.
579 - Fix improper placement of encode_and_send_attributes() in
580   FD backup.c causing first file of non-portable Win32 backup
581   to have wrong stream. Reported by Thorsten.
582 - Move the -lcrypt for PostgreSQL after the PostgreSQL libs in
583   autoconf/bacula-macros/db.m4 as suggested by user.  Fixes bug #457.
584 - Remove @STATIC_CONS@ from tray-monitor Makefile as suggested
585   by user. Fixes bug #456.
586
587 Released 1.38.0 (28Oct05): 31 October 2005
588
589 Changes to 1.37.42:
590 26Oct05
591 - Don't overwrite pthreadVCE.dll or msvcr71.dll during Win32 
592   install.
593 - Update README.win32 instructions.
594 25Oct05 
595 - Make db_get_job_record() return Name so that the ACL
596   can be checked.  Fixes bug #446
597 22Oct05
598 - Insure that all the SD tools init the Autochanger
599   resources.
600
601 Changes to 1.37.41:
602 22Oct05
603 - Print error message if no Changer Command found.
604 - Apply fix from Martin Simmons to clear structure before
605   using it in IPADDR -- fixes a bind() bug on AIX.
606 14Oct05
607 - Add NetBSD fstype patch from Geert Hendrickx <ghen@telenet.be>
608 - Update num_parts only when writing to DVD.
609 13Oct05
610 - Fix error conditions in bpipe.c DVD routine (terminate buffer).
611 - Use a bigger buffer 32K as suggested by Arno in bpipe.c.
612 - Increase dvd mount timeout with patch from Arno.
613 - Modify DVD code so that it keeps a state flag that indicates
614   when the freespace variable is valid. freespace_errno, now has
615   either 0 or an errno. There are no negative errnos.
616 - Create is_freespace_ok() to test state flag. Also, set_freespace_ok()
617   and clear_freespace_ok(). Modify code to use them.  This
618   simplifies a bit the logic of the freespace code.
619 - Edit 64bit debug values correctly in dvd.c
620 - Fix %e variable to check num_parts rather than part.
621 - Use static buffer instead of static buffers for FI_to_ascii()
622   and stream_to_ascii() debug routines in SD. This is to prevent
623   possible race conditions between two threads (possibly Phil's
624   unmount problem).
625 12Oct05
626 - Add a .dir command that separates arguments with commas. It
627   is intended to be used in the tree routines to get a 
628   machine readable output for GUIs like wx-console.
629 - Make configure set dvd-handler to have execute permission.
630 - Install dvd-handler as is done for other dvd-xxx scripts.
631 - In block.c call dvd_write_part() to write last part rather
632   than dvd_open_next_part().
633 - Prefix some DVD subroutines with dvd_
634 11Oct05
635 - Add extra debug to Update media error for VolFiles decrease
636   error.
637 - Do not update dev->file on set_ateof() for non-tape.
638 10Oct05
639 - Mark DVD volume in error if part cannot be written.
640 - If a DVD is mounted, unmount it before asking operator
641   to mount an different one.
642 - Add Arno's dvd-handler script to the scripts directory and
643   integrate with configure.  It replaces both existing scripts.
644 - Make default schedule start at 23:10
645 - Implement gui release in Makefile. It creates two .tar.gz
646   bacula-web and bimagemgr.
647 08Oct05
648 - Add README plus tar release to gui project.
649 - Manual documentation
650 - Tweak bacula.man doc
651 - Add PRAGMA synchronous = NORMAL; to SQLite3 tables. This
652   speeds up SQLite3 so it is only about 10% slower than version
653   2.xx.  Thanks to Russell Howe for this tip.
654 - Add msvcr71.dll to pebuilder .inf file as it is needed by
655   Bacula FD.  Thanks to Brandon for passing this fix to Scott.
656 05Oct05
657 - Add VolumePurged method to Python JobEvents class.  Fixes
658   bug #428 (I think).
659 - Add JobId index to File table for MySQL.
660 - Correct tray-monitor crash of bacula-dir. qstatus_cmd()  
661   code referenced the wrong pointer. Fixes bug #438.
662 - Add bacualnovss.mak file from Martin.
663 - Remove Pool from restore string in wbrestorepanel.cpp. Patch
664   from user for bug #433.
665 - Correct code in wbrestorpanel.cpp with misplaced parens. Patch
666   from user for bug #431
667 - Correct printing filenames/date/times in wbrestorepanel.cpp due to bad
668   column alignment. Patch from user for bug #432.
669
670 Changes to 1.37.40:
671 01Oct05
672 - Add fix to compat.h supplied by Martin Simmons that permits
673   building the Win32 FD without VSS.
674 29Sep05
675 - Bring cats/bdb_x.c routines up to version 1.37 (return values
676   are different).
677 28Sep05
678 - Integrate libwrap patch from Szechuan Death. They should
679   also fix bug 423.
680 - Clean up patches directory for next release.
681 - Add PS variable in bacula.in script as recommended by a user.
682 - Correct mtx-changer.in so it only creates a temp file when
683   actually needed.
684 - Add patch supplied by user in a bug report to fix gnome2
685   console buttons.
686 - Add patch from Peter Eriksson <peter@ifm.liu.se> to correct
687   NLS error in tray-monitor.c
688 26Sep05
689 - Add code to catalog_update to detect NULL db pointer.
690 - Remove char *msg argument from catalog_request and   
691   catalog_update().
692 24Sep05
693 - Fix mode change open in btape.c
694 - Use nonblocking opens on Linux only.
695 - Move set_blocking code for tapes into method to
696   simplify main line code.
697 - Cleanup the code for ensuring we advance tape on fsf.
698   This should fix IBM problems -- patch from Adam Thorton
699   was very helpful.
700 - Remove test for BMT_EOD in fixup_device... this eliminates
701   need for status_dev() routine.
702 - Before doing label ensure device is in read-write mode.
703
704 Changes to 1.37.39:
705 20Sep05
706 - Tweak daemon.c berrno, copyright.
707 19Sep05
708 - Fix handling of temp file in mtx_changer.in, reported as
709   a security bug, but it is not really.  Bug #422
710 - Fix security problem of handling temp file in randpass.
711   Bug #422.
712 - During label/relabel, add new_volume to VOLRES list in SD.
713 18Sep05
714 - Apply Landon's patch for the TLS ANS1 API change.
715 - Remove old code.
716 - Make single exit path in first_open_device().
717 17Sep05
718 - Make new_volume walk through all Vols looking for dev 
719   to release.
720 16Sep05
721 - Make 'quit' command in console always allowed.
722 - Remove the storage list between each console command to
723   keep Dir from remembering a previously selected SD.
724 - Add code to reservation VOLRES subroutines to try to ensure
725   we don't end up with two Volumes on the same drive.
726 - Simplify the mutex code in VOLRES a bit to reduce the chance
727   of error.
728 15Sep05
729 - Apply Nicolas' dvd-freespace.in patch.
730 - Make sure SQL table names are not translated.
731 - Eliminate incorrect message saying barcodes not
732   found in 'label barcodes' -- fixes bug report.
733
734 Changes to 1.37.38:
735 07Sep05
736 - Add ability to have passwords on backup of catalog as
737   alternate 3rd argument. Submitted by Andrew Ford
738   <A.Ford@ford-mason.co.uk>
739 - Turn off TapeAlert by default if user enables a Device
740   and add a note to install mtx.
741 04Sep05
742 - Fix out of order volumes during restore.
743
744 Changes to 1.37.37:
745 30Aug05
746 - Final tweaks to build Win32.
747 - Enable debug code in ua_label.c
748 - Remove devices from the Volume list even if no
749   Volume is in drive.  Hopefully this fixes Arno's problem
750   of multiple volumes listed in the same drive.
751 28Aug05
752 - Apply Landon's patch for TLS default values.
753 - Correct LOCALEDIR problem in build of Win32
754 - Correct ssize_t problem in build of Win32
755 - Add code to llprint pools and volumes to debug next item.
756 - From bug report, fix resetting Pool defaults in Volume. It
757   was a typo 'Max' was missing in several places.
758 - Don't allow translation of database Volume Status values.
759
760 Changes to 1.37.37 released 26 Aug 05
761 24Aug05
762 - Ensure that the drive is closed before calling the
763   mtx-changer script so that the script can access the drive.
764 - Add drive name to reserved Volume list printout in SD.
765 23Aug05
766 - Fix bug in acquire.c that incorrectly reported volume
767   busy.
768 - Add additional debug code and messages in reserve.c
769 - Eliminate unwanted warning message in reserve.c
770
771 Changes to 1.37.36 released 22 Aug 05
772 20Aug05
773 - Landon's fix for NLS detection
774 - Eliminate incorrect compiler warning on FreeBSD. 
775 - Move Win32 errno message build into berrno constructor.
776 - Minor Win32 tweaks
777 19Aug05
778 - A number of minor Win32 fixes.
779 - Remove a PostQuitMessage() as suggested by Thorsten so that
780   BartPE restore can work correctly.
781 - Fix for create JobMedia so that VolIndex remains valid even
782   during a delete Job or pruning -- bug 402.
783 - Minor tweak for Win32 build.
784 18Aug05
785 - Win32 fix -- remove debug O_NONBLOCK code.
786 - Fix bug 399 -- make_catalog_backup does not work for sqlite3
787 - Implement unloading a volume in a different drive if it
788   is needed in the current drive.
789 - Implement search for unused autochanger drive.
790 - Implement search for exact Volume in reservation before
791   other searches.
792 - Fix picking up drive in Dir so that it is not done in
793   the status command.
794 - Eliminate double check on 'loaded' for autochanger.
795 17Aug05
796 - Start coding better reservation algorithm
797 - Always look for slot for label command.
798 - Add more debug code for autochangers.
799 - Apply fix from Stephan Leemburg <sleemburg@jvc.nl> for
800   improper scanning of schedule resource:
801   Run = Level=Full Pool=Catalog daily at 1:20
802 - Apply patch from Chris Lee <labmonkey42@gmail.com> for 
803   adding --enable-build-dird --enable-build-stored.
804 - Tweak datadir definition in configure.in
805 16Aug05
806 - Fix bug that missed drive=nn specification.
807 - Eliminate nonblocking kludge in heartbeat of FD as
808   it caused high CPU usage.
809 - Pickup loaded slot when doing open() of tape drive.
810 - Make autochanger reservation code go through full list
811   first pass until exact match found.
812 15Aug05
813 - Fix how FileSet is saved in job record to correct continual  
814   Full save.
815 - Make datadir print on config.out listing.
816 - Move get FileSet record up in backup init to eliminate continual
817   Full save seen by Peter Sjoberg.
818 - Add VolumeName to read-only Python variables.
819 - Add VolumePurged event for Python.
820 - Suppress /dev/ Filesystem change prohibited INFO messages.
821 - Do not delete FT_RAW files before restore (allows FIFOs
822   to be used for restore).
823 13Aug05
824 - Add drive specification to mount, unmount, release, label,
825   and relabel for Autochangers.  Note Dir<->SD protocol has
826   changed.
827
828 Changes to 1.37.35:
829 12Aug05
830 - Disable parts of NLS as the configure does not work here.
831 - In job backup init (backup.c) define definitive Job level and
832   since time, *then* apply Job Pool override selection if any.  
833 11Aug05
834 - Modified bconsole script so that it is improperly
835   installed, it will refuse to execute.  This avoids
836   recursive call loops.
837
838 Changes to 1.37.34:
839 06Aug05
840 - Apply David's ACL fix to src/filed/acl.c
841 05Aug05
842 - Apply patches sent by David Duchscher <kreios@gmail.com> for
843   making ACLs work on MacOS X and FreeBSD.
844 04Aug05
845 - Apply patch in bug#397 that improved configure
846   - find readline under $with_readline/include/readline
847   - no libutil under Solaris
848   - no need for -ldl under Solaris 
849 - Make reservation system single threaded during the
850   search to avoid two threads competing for the same
851   resource.
852 - Correct a return code in find_suitable_device_for_job()
853   Possibly cause of 'busy writing to another volume'.
854 03Aug05
855 - Modify open() for tape so nonblocking really works.  
856 - Use fcntl() to reset blocking status rather than close()
857   and reopen the drive.
858 - Make sure dev->open() is always called so that any change
859   in read/write permissions will occur.
860 - Open drives initially in daemon in read-only mode.
861 - Ensure that each time the VolHdr.VolumeName is zapped
862   or changed that free_volume() is called on the old name.
863
864 Changes to 1.37.33:
865 03Aug05
866 - Require 5 arguments to mtx-changer except list and slots
867 - Turn -EPIPE status returns from bpipe to ETIME
868 - Include Slot in SD status output 
869 - Do not term_dev() during initialization in SD if the device
870   could not be opened.  In the case of a tape drive, there may
871   be no tape in the drive.
872
873 Changes to 1.37.32:
874 02Aug05
875 - Correct PostgreSQL database scripts as suggested by a user.
876 - Add additional info to FATAL message generated when a device
877   is busy writing to another volume.
878 - Suppress an inappropriate NULL Volume name message after a cancel.
879 - Correct a warning message in reserve.c
880 29Jul05
881 - Apply user's patch to make mutiple modifiers for times
882   work correctly.
883 - Make read_dev_volume_label() handle ANSI/IBM labels
884   correctly -- ie space over any label at the beginning
885   of the tape.
886 28Jul05
887 - Make ANSI/IBM writing of HDR1/2 labels ignore any
888   errors if at end of tape.
889 - Apply Martin's patch to improve Python detection in
890   configure.in
891 - Temporarily turn off disk seeking until I find the
892   cause of the problem.
893 27Jul05
894 - Add OSF1 patch supplied by user.
895 - Use number of files selected from write_bsr() only
896   if it is not defined.
897 - Explicitly seek to end of file when getting size for
898   restore test.
899 - Correctly set EndBlock position in JobMedia record
900   for files.
901 - Remove unnecessary set StartBlock in bscan. Caused bscan
902   regression error.
903 26Jul05
904 - Modify mtx-changer to wait a maximum of 300 seconds.
905 - Do restart of failed jobs only for Backups job types.
906 - A number of DVD updates from Nicolas.
907 24Jul05
908 - Turn off old service helper code in Win32.
909 - Correct Messages bug found by Phil in stored.
910 23Jul05
911 - Complete (almost) documentation of 1.38.
912 - Add error messages for error conditions with VSS.
913 - Fix additional problems with VSS backup that I introduced.
914 Changes to 1.37.31:
915 22Jul05
916 - Correct compiler complaints in wx-console and tray-monitor.
917 - Correct VSS problems recognizing c:
918 - Add VSS before job status
919 - Fix output of status from being one big line.
920 - Change cd xx; make to cd xx && make as suggested by Phil.
921 - Cleanup projects file
922 - Remove unnecessary casting of FF_PKT in filed.
923 - Apply Thorsten's bugfix for vss_generic.cpp
924 - Add check for df path for dvd_freespace
925 - Use df to get space used on DVD.
926 - Change sense of flag indicating erase DVD or not before writing.
927 - Fix bpipe so that it never modifies the result pointer.
928 - Replace more dev_name by print_name().
929 - Rewrite edit_device_codes_dev() so it does not overwrite the
930   supplied buffer.
931 - Update printing of labels (for bls) so that critical information
932   is printed (Job name and timestamp).
933 - Cleanup old spool files when starting the SD.
934 - Modify vss.cpp to allow C: as a path name.  Otherwise VSS
935   doesn't work when only a drive name is given.
936 - Modify vss.c to eliminate double / in filenames.
937 - Update doc -- particularly the restore chapter.
938 18Jul05
939 - Make all files in working directory have .xxx at end.
940 - Work on DVD writing.
941 - Fix keepatime bug (bugs database).
942 - Move Python variables from Job to Bacula. They are
943   DirName, Version, ConfigFile, and WorkingDir
944 - Fix delete of bootstrap to only occur on Bacula created
945   filenames.
946 - Allow cancelling a Job name that is not active. It is
947   sent to the daemons.
948 17Jul05
949 - Fix name space pollution by OpenSSL 0.9.8 reported by
950   Matthias Kurz -- applied his patch.
951 - Fix bpipe.c so that it does not modify results pointer.
952   ***FIXME*** calling sequence should be changed.
953 - Remove some remaining references to dev_name.
954 - Fix calls to mount_dev() and unmount_dev() to
955   correspond to returned value (bool instead of int).
956 - Try without success to make DVD writing work.
957 == Nicolas
958 15Aug05
959  - Convert dvd-writepart to Python.
960  - Increase delay from 3 seconds to 5 seconds between SIGTERM and SIGKILL when
961    killing external programs.
962 13Aug05
963  - Add gettext macros in autoconf/gettext-macros.
964  - Modify how localedir is set in configure.in.
965  - Remove setlocale check (useless).
966 10Aug05
967  - Mark translatable strings in all source files.
968 08Aug05
969  - Create French and Italian translation files (fr.po, it.po).
970  - Add support for translation in configure and Makefiles.
971  - Update autoconf/aclocal.m4 so it is automatically created with aclocal
972    (Note: autoconf/gnome-macros is not used anymore, it may be removed).
973 30Jul05
974  - Fix src/lib/bpipe.c:run_program and run_program_full_output to detect if the watchdog
975    killed the program, and return an error if it is the case.
976 26Apr05
977  - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter 
978  - lex_open_file now returns NULL if the file can't be opened. All calling functions have
979    been adapted.
980  - Remove set_exit_on_error function
981 07Apr05
982  - Fix 'unknown device type' problem with DVD devices.
983  - Fix crash when there is no media in the DVD drive.
984 09Jan05
985  - Update the documentation and ReleaseNotes.
986 05Jan05
987  - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
988  - Some modifications (again) on how guessed volume names are handled (now it should work).
989  - Part files on the hard disk are removed if they are empty.
990 04Jan05
991  - Major fixes on how guessed volume names are handled.
992  - Minor fix in src/stored/append.c.
993  - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
994  - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
995 03Jan05
996  - Add WritePartAfterJob directive in Job resource (Director)
997  - Add WritePartAfterJob directive in Schedule Resource (Director)
998  - Implement these new directives
999 02Jan05
1000  - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
1001    name of a mounted device, so the label can be read.  
1002  - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
1003  - Removed WriteFirstPartCommand directive in Device (SD configuration file).
1004  - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
1005 01Jan05
1006  - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
1007  - Implement these directives (volumes can now be restored from a manually written DVD). 
1008  - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
1009  - Implement these directives (DVD writing now works).
1010  - New function run_program_full_output in src/lib/bpipe.c.
1011  - Lots of bugfixes and cleanups in the new code.
1012 29Dec04
1013  - Add VolParts field in Media table
1014  - Add MaximumPartSize directive in Device (SD configuration file)
1015  - File Volumes can now be splitted in multiple files ('parts')
1016  - Fix SQL error in sql_list while doing 'llist jobmedia'
1017
1018 Changes to 1.37.30 released 16 July 2005:
1019 14Jul05
1020 - Fix 'dir' command scanning field misalignment in
1021   wx-console.
1022 - Switch to using the wxWidgets Unicode library.
1023 - Include msvcr71.dll in distribution.
1024 - Add VSS to status line in Win32 FD if enabled.
1025 - Get VSS build scripts working with Thorsten's help.
1026 - Unlink the bootstrap file after sending it to
1027   the FD.
1028 - Remove sending include/exclude lists to the FD during
1029   a restore -- deprecated code.
1030 - Cleanup the bootstrap files in the FD.
1031
1032 Changes to 1.37.29:
1033 14Jul05
1034 - Remove old commented out code from configure.in
1035 - Add baculavssfd.mak file for building VSS version of
1036   Win32 FD.
1037 - Correct date (year) in vss.cpp and vss_generic.cpp
1038 13Jul05
1039 - I finally found and squashed the elusive SD crash.        
1040   I needed to initialize the used volume list before
1041   firing off the device initialization thread.
1042 Changes to 1.37.28:
1043 11Jul05
1044 - Make sure that bpipe results are zapped even on
1045   error return.
1046 - Lots of documentation.
1047 - Do not prune volume marked as append when needing a
1048   new Volume.
1049 - Print a warning message in SD if a non-used Volume
1050   is specified and autolabel not turned on.
1051 - Correct a bug in chksum.c concerning SHA1 signatures 
1052   (an * should have been & when checking for a bit flag).
1053 - Print File:Block for all label records in label.c -- concerns
1054   primarily bls when doing Job listings (-j).
1055 - Correct is_volume_in_use() to return false if testing
1056   on the same device where the Volume is already mounted.
1057 - Define a init_done flag in the SD that is set when the
1058   devices are initialized and make users connecting wait.
1059   This prevents useless connect failure warning messages.
1060 - Do additional device locking in ask_op_to_mount_volume()
1061   to prevent race conditions with a user labeling a Volume
1062   or autolabeling.
1063 09Jul05
1064 - Add a test for error return from bnet_wait... in heartbeat.c
1065   in FD to avoid CPU loop.
1066 - Implement TLS in gnome console and wx-console.
1067
1068 Changes to 1.37.28:
1069 08Jul05
1070 - Correct a NULL pointer reference in the mount command.
1071 - Correct typo in Copyright
1072 - Add detection of EOM for IBM drives (i.e. errno == ENOSPC)
1073 07Jul05
1074 - Remove temp file created in mtx-changer script.
1075 - Make fsf_dev() into a class method.
1076 06Jul05
1077 - Modify mtx-changer.in script to return slot:barcode for
1078   Volumes that are loaded in the drives.
1079 - Correct some more places where dev->is_blocked() needs
1080   to be checked in dircmd.c in SD.
1081 - Update doc.
1082 05Jul05
1083 - Add code to ensure that reserved but unused volumes
1084   are freed. 
1085 - Correct how Volumes are mounted and handled so that the SD
1086   does not get stuck if multiple volumes are used (recycling,
1087   relabling, ...)
1088 - Correct bug where you could relabel a volume while it
1089   was being acquired -- created chaos.
1090 04Jul05
1091 - Correct seg fault caused by open() calling sequence change.
1092 03Jul05
1093 - Add new rc-chio-changer script by Rudolf Cejka to 
1094   examples/autochangers
1095 - Apply Rudolf's changes to bacula.in
1096 - Expand the space from 8 to 10 characters in editing
1097   file sizes for restore and dir of catalog, otherwise
1098   GB sizes are truncated -- fixes bug report.
1099 - Modify wx-console to know about 10 character widths.
1100 - Allow decending into top level directory if 'recurse=no'
1101   is set.  Fixes a bug report.
1102 - Install pthreadVCE.dll when installing console or wx-console
1103   on Win32 systems. Fixes bug report.
1104 02Jul05
1105 - Tweak dvd-writepart script to prevent door from opening/closing
1106   so much.
1107 - Remove GROUP BY in several PostgreSQL commands to prevent error.
1108   Resolves bug report.
1109 - Ensure that < as first character of filename list is not treated
1110   as a directory for restore.
1111 - Add debug to heartbeat in FD as it seems to go into an
1112   infinite loop from time to time during SD failure in DVD writing.
1113 - Add more debug code to dvd writing.
1114 - Attempt not to destroy existing fs on DVD. 
1115 30Jun05
1116 - Detect device mounted for DVD and suppress be sure to 
1117   mount message after label.
1118 - Set Cleaning tape status to 'Cleaning' and force no
1119   MediaType.
1120 - Get DVD writing working with new standard Bacula open()
1121   code.
1122 - Rename get_filename() to make more sense.
1123 - Detect 'is already mounted on' on mount command so to avoid
1124   error if device is already mounted.
1125 - Eliminated guess_name() code. It may be necessary to
1126   add it back later.
1127 - Eliminate seg fault from printing invalid results.
1128 - Make dvd_write_part() bool.
1129
1130 29Jun05
1131 - Attempt to fix DVD writing by eliminating a number of the 
1132   DVD subroutines to simplify.
1133 - Modify DEVICE::open() to take dcr as first argument. This
1134   will permit providing more info to DVD opening.
1135 - Fix scanning for time/size items which in some cases
1136   ate the next line.
1137 - Eliminate read_dvd_volume_label().  New code (not yet written)
1138   *must* open dvd appropriately before calling 
1139   read_dev_volume_label.
1140 - Modify open_first_part() open_next_part() to take DCR as 
1141   argument.
1142 - Make label command from console work on DVDs.
1143 - Make mount command from console work on DVDs.
1144   Unmount does not work yet.
1145
1146 Changes to 1.37.27:
1147 27Jun05
1148 - Add Database vendor to CatalogRes tuple for Python.
1149 - Update doc
1150 - Implement DoesVolumeExist(Vol) for Python.
1151 - Prevent python command from seg faulting if no arg given.
1152
1153 Changes to 1.37.26:
1154 26Jun05
1155 - Add set_mode method in DEVICE.
1156 - Correct set_mode method in DEVICE
1157 - Add more DVD debug info 
1158 23Jun05
1159 - Check for incorrect duration and size modifiers in conf files.
1160 22Jun05:
1161 - Make Version a tuple (version, build-date)
1162 - Add CatalogRes tuple (DBName, Address, User, Password,
1163     Socket, Port)
1164 - Add Version, ConfigFile, and WorkingDir as Python attributes
1165   in the Director.
1166 - Implement code (principally for Win32) that on failure to
1167   create a file, it will cd into the directory and attempt
1168   to create the file using a relative path. This avoids creating
1169   files with paths which fail on Win32.
1170 - Fix parsing of times and sizes with decimal numbers.
1171 - Make free_volume_list() in SD work if vol list is not
1172   initialized (./bacula-sd -t).
1173 21Jun05:
1174 - Add debug error printout when open() fails.
1175 - If open() of DVD fails in mount.c, return false.
1176 - Split open() code for DVD into separate subroutine in dev.c
1177
1178 Changes to 1.37.25 released on 20 Jun 05:
1179 20Jun05:
1180 - Fix bug where Storage daemon gets confused about what
1181   tape is mounted. (one line of code was inadvertently 
1182   deleted).
1183
1184 Changes to 1.37.24:
1185 18Jun05
1186 - DVD writing/reading seems to be mostly working.
1187 - Set execute bits on dvd-freespace and dvd-writepart
1188 - Make dvd-freespace use existing dummy file.
1189 - Modify dvd-freespace to pickup size from Track Size:
1190 16Jun05
1191 - Add Date, Job, level to updates to .bsr file in 
1192   dird/backup.c
1193 - Add debug info to dvd-freespace.in
1194 - Fix hard coded bacula.sql in make_catalog_backup reported
1195   by a user.
1196 - Make sure a verify volume to catalog never reports an error
1197   if there are zero files to verify.
1198 - Remove confusing debug info in filed/backup.c on network
1199   error.
1200 - Make sure output from console is not sent to system log.
1201 - Convert open_dev() into a class method.
1202 - Change VolHdr.VolName to VolHdr.VolumeName.
1203 - Add a flag in the device state word to indicate that
1204   we found Media in the drive (DVD). 
1205 - Make mount_dev() and unmount_dev() return bool.
1206
1207 Changes from Nicolas Boichat:
1208 26Apr05
1209  - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter 
1210  - lex_open_file now returns NULL if the file can't be opened. All calling functions have
1211    been adapted.
1212  - Remove set_exit_on_error function
1213 07Apr05
1214  - Fix 'unknown device type' problem with DVD devices.
1215  - Fix crash when there is no media in the DVD drive.
1216 09Jan05
1217  - Update the documentation and ReleaseNotes.
1218 05Jan05
1219  - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
1220  - Some modifications (again) on how guessed volume names are handled (now it should work).
1221  - Part files on the hard disk are removed if they are empty.
1222 04Jan05
1223  - Major fixes on how guessed volume names are handled.
1224  - Minor fix in src/stored/append.c.
1225  - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
1226  - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
1227 03Jan05
1228  - Add WritePartAfterJob directive in Job resource (Director)
1229  - Add WritePartAfterJob directive in Schedule Resource (Director)
1230  - Implement these new directives
1231 02Jan05
1232  - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
1233    name of a mounted device, so the label can be read.  
1234  - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
1235  - Removed WriteFirstPartCommand directive in Device (SD configuration file).
1236  - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
1237 01Jan05
1238  - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
1239  - Implement these directives (volumes can now be restored from a manually written DVD). 
1240  - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
1241  - Implement these directives (DVD writing now works).
1242  - New function run_program_full_output in src/lib/bpipe.c.
1243  - Lots of bugfixes and cleanups in the new code.
1244 29Dec04
1245  - Add VolParts field in Media table
1246  - Add MaximumPartSize directive in Device (SD configuration file)
1247  - File Volumes can now be splitted in multiple files ('parts')
1248  - Fix SQL error in sql_list while doing 'llist jobmedia'
1249
1250 Changes to 1.37.23:
1251 - Renamed to make unique version for open_next_part()
1252   changes.
1253
1254 Changes to 1.37.23:
1255 - Renamed to make unique version for open_next_part()
1256   changes.
1257
1258 Changes to 1.37.22:
1259 14Jun05
1260 - Fix the same state variable problem in open_next_part().
1261 - C++ify the SD code a bit more.
1262 13Jun05
1263 - Add more debug code and clarify debug code for DVDs.
1264 - Do not save and restore state in open_first_part() 
1265   since state should be properly set after open_dev().
1266 - Make default mandir /usr/share/man
1267 - Install Bacula man page.
1268 - Implement passing of FileSet Enable VSS to FD.
1269 - Move main body of reserve drive code into subroutine
1270   so that it can be called multiple times.
1271 12Jun05
1272 - Eliminate getpass() for Win32 builds in console as the
1273   function does not exist.
1274 10Jun05
1275 - Correct some reservation problems in SD when no devices
1276   are available.
1277 - Start removing #ifdef HAVE_TLS by sneaky tricks.
1278 - Begin implementation of TLS in wx-console
1279 - Remove ignoring SIGCHLD from console.
1280 - Rework the dlist binary search routines for implemenation
1281   of the Volume reservation code -- make it more general.
1282 - Strip double slashes // from Win32 filenames in an attempt
1283   to resolve restore problems on some systems.
1284 - Fix a minor bugs in the trace code that caused the first
1285   line output to be lost.
1286 - Implement a good first cut at adding Volume reservation code
1287   to the storage daemon (in file reserve.c).
1288 - Remove old unused code from the tree.c routines.
1289
1290 Changes to 1.37.21:
1291 06Jun05
1292 - Fix compile problems on Win32
1293 - Start writing Volume reservation list (already exists, but
1294   is not really very good).
1295 - Implement attribute caching to put Signature into database     
1296   at the same time as the file attributes thus eliminating a
1297   number of database accesses.
1298 - Correct a reservation problem.
1299 - Implement full Dir Storage use.
1300 - Reduce a bit of TLS #ifdeffing.
1301
1302 Changes to 1.37.20:
1303 04Jun05
1304 - Minor changes
1305 01Jun05
1306 - Add more documentation to mtx-changer.in
1307 - Correct link to manual in authenticate.c in various
1308   directories.
1309 - Create a new src/stored/reserve.c file where the 
1310   Use Storage command is processed and drives are
1311   reserved.
1312 - Modify src/stored/autochanger.c to keep track of each
1313   Slot that is loaded for each device.
1314 - Ensure that changer_command and changer_name are picked
1315   up from Autochanger resource if not specified, and if
1316   neither is specified, err.
1317 30May05
1318 - Fix bextract.c compile problem
1319 - Create bacula.man 
1320 - Make make distclean clean a bit better
1321 29May05
1322 - Remove old code in jcr.c
1323 - Make testls release jcr chain when terminating.
1324 27May05
1325 - Implement Maximum Job Spool Size (actually DCR based)
1326 26May05
1327 - Use light weight non-recursive locking on jcr chain.
1328 - Make JCR a class and implement inc_use_count() and
1329   dec_use_count() methods that ensure that the jcr is
1330   locked when inc/dec the use count.
1331 - Remove the global jcr lock when traversing the jcr
1332   chain.   
1333 - Use dlist to implement the jcr chain rather than hand
1334   crafted next and prev links.
1335 - Lock the jcr chain inside each function that modifies
1336   the chain.
1337
1338 Changes to 1.37.19:
1339 26May05
1340 - Fix compile problem of ua_restore.c on broken compilers.
1341 - Apply patch from bug 326 to permit bacula status by any user.
1342 - Fix bug 325 -- conversion of 12:30pm to 24hour time.
1343 25May05
1344 - Put Dmsg() on inside if() to avoid calling subroutine.
1345 - Make restore.bsr have unique name.
1346 - Allow user to define bsr filename on restore command line
1347   with bootstrap=xxx.bsr
1348 - Add limit=nnn to 'list jobs' command.
1349 - Remove old restore code that did not use .bsr file.
1350 - unlink automatically generated bsr file.
1351 - Cleanup heartbeat code so that duped fd is almost sure
1352   to be released. Previously under certain conditions, the
1353   memory was not released due to race conditions.
1354 - Shorten copyright.
1355 20May05
1356 - Unify the reserve_device() for a single device into one subroutine.
1357 18May05
1358 - Modify wait during use_device to happen only after all devices
1359   have been examined rather than in the reserve_device code.  
1360 - Correct updating count of number of Volumes in a pool.
1361
1362 Changes to 1.37.18:
1363 16May05
1364 - Add more debug to SD for Autochangers + status output.
1365 - Add Scratch to PoolType in PostgreSQL make...tables and do not
1366   permit NULL PoolTypes. Fix for bug 319 reported by Eric.
1367 - Update LICENSE.
1368 - Add quotes around filename in parse_config error message. Bug
1369   reported by Eric.
1370 15May05
1371 - Change nested \include to \input so that sections are properly
1372   included in the pdf manual -- update the Web site.
1373 - Set reconnect flag in MySQL packet to 1 to ensure that connection
1374   is re-established.  MySQL 5 changed default to 0. Fixes bug report.
1375 - Fix Scratch pool handling as reported in a bug by Eric Bollengier
1376   by applying his patch.
1377 - Remove delete job in favor of delete jobid.
1378 - Add = NULL to configfile definitions as reported by Eric in a bug
1379   report.
1380 - Update winbacula.nsi.in to reflect new manual file structure.
1381 10May05
1382 - Correct a minor build problem with wx-console.
1383 - Add cancel() to Dir Python scripting.
1384 - Re-correct bug in parse-config error handling.
1385 - Reorganization of use_command in SD to permit
1386   waiting and multiple drive autochanger support.
1387 09May05
1388 - Correct bug in parse_config error handling.
1389 - Where ever possible mark a volume in error or not   
1390   InChanger in mount.c
1391 - Fix bug in changing tape pools after first backup. Reported
1392   by Peter Sjoberg.
1393 - Enhance mtx-changer to use Working Directory as temp.
1394 - Remove all but initial setup locking of Res in SD.
1395 08May05
1396 - Add Client OS type to Job report.
1397 - Add version to manual 
1398 - Update the Web site to have a single page for
1399   the documentation links.
1400
1401 Changes to 1.37.18 release 08May05:
1402 08May05
1403 - Correct attribute definition compile error in 1.37.17
1404 - Correct inverted order of CreateTime and MD5 pointed out
1405   by a user in a bug report in FileSet db routine causing
1406   the MD5 to print in the output instead of the time/date.
1407
1408 Changes to 1.37.17:
1409 07May05
1410 - Implement cstrlen() in sql list routines.
1411 - Implement caching of attributes to add the        
1412   signature so that only one DB call will be made
1413   per file. Not yet turned on.
1414 - Fix Win32 build for TLS.
1415 - Optimize File pruning to eliminate one database call. 
1416 - Fix bug that prevented File pruning from working.
1417 - Implement a cstrlen() which returns the character
1418   length of a UTF-8 string.
1419 06May05
1420 - Move test for MaxStartDelay as suggested by Peter.
1421 - Implement Python methods (I had to read the Python source
1422   code).
1423 - Implement run() method in Director.
1424 - Add Priority and Scheduled time to Job report.
1425 - Add JobInit and JobRun events.
1426 - Add Priority as Python read/write attribute to Job.
1427 - Correct typo in bsmtp reported by Jo.
1428
1429 Changes to 1.37.16 (07May05): released 07May05
1430 07May05
1431 - Implement cstrlen() in sql list routines.
1432 - Implement caching of attributes to add the        
1433   signature so that only one DB call will be made
1434   per file. Not yet turned on.
1435 - Fix Win32 build for TLS.
1436 - Optimize File pruning to eliminate one database call. 
1437 - Fix bug that prevented File pruning from working.
1438 - Implement a cstrlen() which returns the character
1439   length of a UTF-8 string.
1440 06May05
1441 - Move test for MaxStartDelay as suggested by Peter.
1442 - Implement Python methods (I had to read the Python source
1443   code).
1444 - Implement run() method in Director.
1445 - Add Priority and Scheduled time to Job report.
1446 - Add JobInit and JobRun events.
1447 - Add Priority as Python read/write attribute to Job.
1448 - Correct typo in bsmtp reported by Jo.
1449
1450 Changes to 1.37.16 (03May05): released 05May05
1451 03May05
1452 - Make a few tls ifdef tweaks.
1453 - Fix create_file.c Win32 problem pointed out by
1454   Peter Sjoberg.
1455 - Fix really ugly bstrncpy() but found by Thorsten.
1456 - Move winapi.h/c from findlib to lib for inclusion in 
1457   multiple places.
1458 02May05
1459 - Thorsten Engel finished his work on Win32 Unicode. We
1460   now have a single executable that runs on all Win32 machines.
1461 - Move job initialization code after job scheduling so that
1462   Verify jobs check for the prior JobId after they are really
1463   started rather than before.
1464 - Fix lib/fnmatch.c so that it does proper testing before folding.
1465 - More documentation -- at tls and ansi labels chapters.
1466 - Fix fileset_convert.pl to handle empty Exclude statements.
1467 - Turn regex back off in Win32
1468 01May05
1469 - Fix sign extension problem in lex.c that reads UTF-8 
1470   with Chinese characters incorrectly.
1471
1472 Changes to 1.37.14:
1473 30Apr05
1474 - Remove a few HAVE_TLS #ifdefs
1475 - Implement final Python style interface. More implemention to
1476   be done, but the interface should change little if at all.
1477 28Apr05
1478 - Make default no tls support. You must add 
1479   --with-openssl to get tls support.
1480 27Apr05
1481 - Update Web header to include google search in the search
1482   box -- thanks to input from Michel Meyers.
1483 - Fix md5sum so that it builds with the new openssl stuff.
1484 - Take some enhancements to the md5sum test program proposed
1485   by a user.
1486 26Apr05
1487 - Apply Tru64 patch supplied by Pascal Pederiva <freebsd@paped.com>
1488 - Apply Unicode fixes for Win32 from 'Thorsten Engel' 
1489   <thorsten.engel@matrix-computer.com>
1490 - More work on Python read feature in FD.
1491 22Apr05
1492 - Fix (hopefully) the ftello() overflow reported by Peter.
1493 - Landon Fuller committed his TLS patch.
1494 - Fixed two minor warnings in console.c with TLS turned off.
1495 - Updated the Makefile.in for wx-windows and tray-monitor
1496   to handle TLS. I can only build the tray-monitor.
1497 - Fix bscan to open tape in read-only mode (actually fix
1498   it so that it doesn't use the standard open routine).
1499 - Correct what appears to be an error in setting the
1500   return value in dvd.c
1501 21Apr05
1502 - Get FD Python running -- design Python backup interface.
1503 - Fix seg fault in SD when referencing Alert Command.
1504 - More documentation.
1505 - Fix one more thing in Win32 build.
1506 20Apr05
1507 - Doc updates
1508 - Fix Win32 build
1509 - Put in production here
1510
1511 Changes to 1.37.13:
1512 19Apr05
1513 - Fix SQLite and PostgreSQL table creation script syntax
1514   problems.
1515 - Fix new Python code to work for Director.
1516 - Move lib/python.c to lib/pythonlib.c so that debug output
1517   is easier to read (can distinguish lib from dird, ...).
1518 - Cleanup Python build so that Python is not dragged
1519   into programs that don't use it.
1520
1521 Changes to 1.37.12:
1522 02Apr05
1523 - Reset NumVols in Pool record from database on every update
1524   Pool.
1525 - Modify DB to support multiple simultaneous copies and
1526   RAIT stiping.
1527 - Pass copy and stripe between DIR and SD and put into
1528   the JobMedia DB record.
1529 - Update and test SQLite and MySQL datebase creation and
1530   update scripts.
1531 - Implement version 9 of the DB.
1532 31Mar05
1533 - Convert more atoi to str_to_int64() for DB.
1534 - Implement filling in NumVols by querying DB rather
1535   than trying to keep track of it.
1536 - Add storage name to string passed to in use storage=
1537 - Fix newVolume() so that the Python script is always
1538   called.
1539 - Fix handling of pool,PoolId, and storage in ua_output.
1540 - Same fix in ua_status.c
1541 - Remove required locking of resources
1542 - Replace pthread_cond_signal() by pthread_cond_broadcast()
1543   hoping to fix the /lib/tls hang problems (lost signal).
1544 - Move resource locking seaching from parse_conf.c to res.c
1545   in src/lib.
1546 - Modify end of volume handling so that fixup_... does not
1547   redo what block.c has already done -- writing Vol info to
1548   DIR. This fixes a bug with bad numbers of files on a tape
1549   when it filled as reported by Peter.
1550 - In release_device() do not update the DIR on the Volume
1551   info if the the information was already written at the
1552   end of the tape.
1553 28Mar05
1554 - NOTE!!!! This version has a new DIR <--> SD protocol. Both 
1555   must be updated at the same time.
1556 - Begin implementation of passing all the Storage and Device
1557   possibilities to the SD for examination during the reserve 
1558   phase.
1559 - Modify the reserve and acquire code in the SD to make a 
1560   job wait if the device is not available.
1561 - Implement New Volume Each Job in DIR and pass to SD, not yet
1562   used.
1563 - Remove init/update of the Device resource in DIR
1564 - Remove passing PoolId to SD and back.
1565 26Mar05
1566 - Remove \a and -e from error echos in most Makefiles.
1567 - Add more debug code when there are errors on the tape 
1568   to try to find Peter's tape problem.
1569 - Add wait.c (oops forgot previously).
1570 - Move all the reserve/acquire_device_for_read/append to have
1571   only a DCR as the argument.
1572 - Rework the reserve_device_for_append() in stored to wait
1573   if the drive is not available.  Note! This is a short
1574   term solution.
1575 25Mar05
1576 - Comment out Multiple Connections in the document.
1577 - Move the P() and V() to subroutines so that they can be accessed
1578   from class methods. The reference to strerror() caused problems.
1579 - Implement new DEVICE class methods block() and unblock() that
1580   do what was previously done in 3 lines of code.
1581 - Implement wait_for_device(), which will wait for any device
1582   to be released then return. This requires a new global mutex
1583   and condition variable, and is implemented in src/stored/wait.c
1584 - Change the code in reserve_device_for_read(), which previously
1585   failed the job to use the new device wait code.
1586 22Mar05
1587 - Apply reschedule patch to 1.37 code.
1588 - Add copyright to title page of manual so it is clear.
1589 - Create patch for rescheduling problem found by Ludovic. Storage
1590   pointers were lost during rescheduling.
1591 - Attempt to fix 2.6 rescue disk -- failed!
1592 - Start working on adding a wait routine in the SD.
1593 - Cleanup some old invalid doc in watchdog.
1594 - Convert a number of references to dev->dev_name to dev->print_name().
1595 - Add new wait.c file to SD.
1596 - Add a few more methods to DEVICE in SD to cleanup code a
1597   bit -- implement a few of the methods.
1598 18Mar05
1599 - Fix more print_name()s for printing device name.
1600 - Modify open_dev to try 10 times every 6 seconds to
1601   open the device if it gets an I/O error (meaning no
1602   volume mounted). This gives a bit of settling in time
1603   for an autochanger and avoids spurious messages.
1604 - Change all yes/no to yes|no in the manual.
1605 - Fix win32 create_file.c typo.
1606 - Fix a typo in an error message.
1607 17Mar05
1608 - Detect if fseeko exists with autoconf. If so, use it 
1609   and ftello.
1610 - Remove old bacula-*.conf from examples directory (out
1611   of date).
1612 - Remove latex-fr index files from CVS.
1613 - Rewrite code that stops reading the tape so that the
1614   tape is marked at EOT, then once the work is done,
1615   the EOT flag is removed.
1616 - Flush output to file after every send in console.
1617 - Make setting VolFiles to smaller number fatal.
1618 - Disable Multiple Connections code.
1619 - Add patch from user for NetBSD statvsfs() fix to
1620   fstype.c
1621 - Take more care with errors in acquire.c
1622 - Don't run through dvd code in append.c if bad status
1623   returned.
1624 - Modify code so that an autochanger fault is fatal.
1625 - Use dev->print_name() in more places.
1626 - Implement dev->can_steal_lock() to simplify code.
1627 - Make btape re-read first 10000 records on fill command.
1628 - Check error return and fail job from fseeko and ftello
1629   in spool.c.  Don't let a -1 slip in as size.
1630
1631 Changes to 1.37.7:
1632 15Mar05
1633 - Apply NetBSD patch from kardel in bug 258.
1634 14Mar05
1635 - Add a second job and a second client to the default
1636   bacula-dir.conf file.
1637 - Remove old style Include/Excludes.
1638 - Fix ANSI labels to put EOF1 and EOF2 after each file mark.
1639 - Add Python to SD and FD.
1640 12Mar05
1641 - Implement IBM labels
1642 - Implement EOF and EOV labels at the end of a volume.
1643 - Fix a rather ugly problem with the PoolId not getting
1644   passed correctly. Now the DIR passes the Pool name and
1645   Media Type to the SD, who passes them back when requesting
1646   the next Volume. The DIR then looks up the correct PoolId.
1647   This takes more time, but always works, AND allows wild
1648   card Media Types (i.e. the SD can decide).
1649 - The DIR <==> SD protocol has changed.
1650
1651 Changes to 1.37.6:
1652 11Mar05
1653 - Fix scanf of PoolId in catreq to handle 64 bit Ids.
1654 10Mar05
1655 - Add new ua_update.c file and move update_cmd there.
1656 - Modify 'update slots' to obtain actual number of slots.
1657 - Tweak autochanger code to handle new slots request.
1658 - Modify autochanger code to lock/unlock around slots and
1659   update slots code.
1660 09Mar05
1661 - Patch the FD so that it does not issue an error message if
1662   it attempts to restore the permissions on a Win32 drive.
1663 - Edit 'Resource-name' (physical-name) for the device name
1664   everywhere in the SD.
1665 - Remove .linked.tex files in preparation for cutover to
1666   using .tex in place of .wml.
1667 08Mar05
1668 - Copy latest config.sub and config.guess from autoconf.
1669 - Try new way of identifying drives with:
1670    'resource-name' (physical-name)
1671   More work need to a complete conversion.
1672 07Mar05
1673 - Rework some of the autochanger data so that the DIR has   
1674   the number of drives.
1675 - Modify the way the Device info is returned so that it comes
1676   back as a special message type and can be sent anytime the
1677   Device status changes.
1678 - Copy the change name and changer command into the device
1679   record if none is specified.
1680 - Require the change command and changer name to be specified in
1681   and AutoChanger resource.
1682 - Force all the Media Type records of all devices in an Autochanger
1683   to be the same.
1684 06Mar05
1685 - Add new 'run' command to Job resource in DIR. This permits
1686   cloning a job as many times as you want.
1687 - Pass PoolId to SD on Query request. It is now used in the
1688   Find_media catalog request.
1689 - Reworked the Device resource in the DIR. Eliminated num_waiting
1690   and use_count, but added max_writers, reserved, and PoolId.
1691 - This DIR is nolonger compatible with previous SDs.
1692 - Add since and cloned keywords to the Console run command
1693   to support cloning.
1694 - Implemented store_alist_str() to allow multiple string items
1695   to be specified in a .conf file.
1696 - Added %s (since time) to Job code editing.
1697 - Reworked reserving drives in the SD. It now does it much simpler
1698   and correctly. 
1699 05Mar05
1700 - Integrate HP-UX patch from  Olivier Mehani <olivier.mehani@linbox.com>
1701 - Fix FD job.c to test correctly for no level.
1702
1703 Changes to 1.37.4:
1704 04Mar05
1705 - Change Developers to Developer's Guide as requested by Michael.
1706 - Fix developers link in manual
1707 - Add additional dcr changes in SD to allow multiple dcrs.
1708 02Mar05
1709 - Fix a few problems with the MySQL table create in 1.37.
1710 - Delete the new tables in the table delete files.
1711 - Increase the number of items permitted in a conf table.
1712 - Make Director loop over alternative Devices specified in the
1713   Storage resource until one is reserved by SD.
1714 - Fix storing of StorageId in Media records.
1715 - Add AutoSelect = yes|no in bacula-sd.conf
1716 - Add Autochanger support to Label command.
1717 - Do not autoselect devices with autoselect set false 
1718 01Mar05
1719 - Implement setting DIR Storage device to Autochanger
1720   name. 
1721 - Select first available device in Autochanger.
1722 - Pass back actual device name used.
1723 - Allow Query of AutoChanger.
1724 - Modify Query to include name of AutoChanger if 
1725   Device belongs to one.
1726 - Remove old Pool code in jobq.c
1727 - Add Autoselect flag to query and DEVICE class (still
1728   need Directive).
1729 28Feb05
1730 - Lock autochanger script when running.
1731 - Mark Volume not InChanger if correct volume is not     
1732   autoloaded.
1733 - Corrected some typos in the make_xxx_tables.in files.
1734 - Made preliminary split of pre-run and run code for each
1735   job type. This will permit early opening of SD for reserving
1736   drives.
1737 - Add offline and autochanger fields to Device Query record.
1738 - Correct pthread_mutex_init() for autochanger in SD.
1739 - Tweak Makefile for LaTeX manual, plus add nav buttons.
1740 26Feb05
1741 - Clean up drive reservation system. Add more sanity checks.
1742 - Implement a few more methods for the DEVICE class in SD.
1743 - Add latex directories to make clean
1744 - move DEV_BSIZE to B_DEV_BSIZE to avoid conflicts with
1745   certain header files (FreeBSD).
1746 24Feb05
1747 - Fix an ASSERT that was triggering in stored/acquire.c
1748   attempt to fix a bug report.
1749 23Feb05
1750 - Corrected SunOs to SunOS in btraceback (user submitted).
1751 - Applied patch from Roger Haakansson <hson@ludd.luth.se>
1752   to warn the user of defective AWKs during ./configure.
1753 20Feb05
1754 - Add some changes submitted by a user for HP client build.
1755   Not all changes accepted.
1756 - Rework code in filed/backup.c to ease #ifdefing and make
1757   program flow more obvious.
1758 - Split DVD code out of dev.c into dvd.c
1759 - Tweak #ifdefing to add back all the performance measurement
1760   #defines in version.h
1761 - Put most of MTIOCGET code in a subroutine to simplify the
1762   mainline code.
1763 - Make clean remove old CVS files
1764 - Remove unnecessary image files from Latex directory
1765 - Implement remaining parts of Storage DB record and
1766   its use in the Director.
1767 - Implement
1768   FullMaxWaitTime, Differential Max Wait Time, and               
1769   Incremental Max Wait time in Job resource.
1770 - Start work on SD Autochanger code.
1771 19Feb05
1772 - Add back JobId index for MySQL as default -- speeds up 
1773   pruning.
1774 - Add more database fields and fix the update scripts to
1775   include the new items.
1776 - Pass actual level to FD so that ClientRun editing can reflect
1777   correct level -- ditto for job status. This makes the DIR
1778   incompatible with older clients!
1779 - Move jobq.c acquire resources to static subroutine so that
1780   the code logic becomes clearer. This is in preparation for
1781   actually using the new Device resources.
1782 - Fix some lower case problems in sql_cmds.c reported by
1783   Debian.
1784 - Correct a seg fault in the SD reported by a user. Occurred
1785   only when a high debug level was set.
1786 - Modify init_dev() in dev.c to take JCR as first arg so that
1787   proper error messages can be reported in next item.
1788 - Modify the query and use device SD commands to attempt to
1789   open the device if it could not previously be opened.
1790 - Correct error message for Could not reserve device.
1791 - Correct some minor details with Autochanger resource in SD.
1792 18Feb05
1793 - Fix seg fault if debug level 900 set in SD.
1794 - Truncate Win32 child return code to 8 bits.
1795 - Remove some old lld's.
1796
1797 Changes to 1.37.3:
1798 16Feb05
1799 - Make another attempt at fixing the ClientRunXXX return code 
1800   bug on Win32 machines.
1801 - Apply ua_status patch from Carsten Paeth <calle@calle.in-berlin.de>
1802   which enforces console ACLs in the status command for Jobs.
1803 15Feb05
1804 - Fix Media LabelDate and FirstWritten to be correctly set.
1805 - Fix deadlock in multiple simultaneous jobs.
1806 - Fix tape 'truncation'/'number of files' after restore bug.
1807 10Feb05
1808 - Ensure that correct error messages are returned when
1809   reading an ANSI label.
1810 09Feb05
1811 - Modified ANSI label code to preserve any ANSI label 
1812   already found by skipping over it rather than rewriting
1813   it.
1814 - Split the ANSI label code into ansi_label.c
1815 - Do not let user relabel an ANSI labeled tape.
1816 - Applied a patch for the console help command supplied
1817   in a bug report. 
1818 - Added some new dev methods. Most notably was
1819   set_eof(), which handles setting all the dev variables
1820   when an EOF is just read. This is now used most everywhere
1821   in the code.
1822 07Feb05
1823 - Added code to detect that no files were inserted into the 
1824   tree for a restore. If a specific JobId was specified, the
1825   user has the option of restoring everything.
1826 - More progress in implementing 64 bit DB Ids.
1827 - Modified the daemon start messages for RH.
1828 - Implement update scripts for all database types.
1829 - First cut at implementing restore directory (it will not
1830   recurse).
1831 04Feb05
1832 - OK, I think ANSI labels work.
1833 - Added Label Type = ANSI|IBM|Bacula to Device resource in SD.
1834   If this is set, it will force writing of the appropriate
1835   label type.
1836 - Added Check Labels = yes|no to Device resource in SD. If this
1837   is set, Bacula will check for ANSI labels and accept them,      
1838   otherwise, ANSI labels will not be accepted when the tape
1839   is first mounted.
1840 02Feb05
1841 - Second cut ANSI labels.
1842 01Feb05
1843 - Merge Preben's patch for ACLs and for Mac OS X resource forks.
1844 - Some doc updates.
1845 - Display more informative message when a device was not
1846   found or could not be opened.
1847 - Add the sqlite3 database scripts. 
1848 - Add some patches for 1.36.1 (note, I have now prepared
1849   a 1.36.2 with all the patches and some new features --
1850   to be documented).
1851 - Some minor doc updates.
1852 - Add Arno's baculareport.pl script to the examples directory.
1853 29Jan05 -- after vacation
1854 - Add support for SQLite3 (it seems to run at 1/2 the speed
1855   of SQLite2).  Use --with-sqlite3 instead of --with-sqlite
1856   to get SQLite3.
1857 - Add target for running qemu to boot Rescue CDROM
1858 - Add code to support kernel 2.6 in Rescue CDROM -- does NOT yet
1859   boot correctly.
1860 - Implement ANSI labels -- not yet tested.
1861   This required changes to DB format. No upgrade script yet.
1862   Note, more work needed to modify 'update' command to handle
1863   changing label types, also must restrict volume name lengths
1864   to 6 characters.
1865 - Add new Device, Storage, and MediaType records to DB. No
1866   upgrade script yet.
1867 - Add MediaType to bsr file record types. Not yet used in SD.
1868 - Permit multiple device specifications in Storage resource in 
1869   Dir conf file.
1870 - Implement Device resources. Director requests Device resource
1871   info from SD on startup. 
1872 - Note!!!! DIR->SD incompatible with previous versions.
1873 - Remove multiple Storage definitions in Job resource.  One can
1874   still specify multiple Storage resources, but they all go into
1875   a single alist, and imply sending data to each Storage daemon 
1876   simultaneously.
1877 - Implement Device query command between DIR and SD.
1878 - Allow DIR to 'reserve' a Device. It will then be acquired
1879   when the FD connects to the SD.
1880 - Turn all DIR resources into classes, and implement a few class
1881   methods -- more to come.
1882 - Turn DEVICE in SD into a class, and implement a number of inline
1883   class methods -- more to come.
1884 - I had serious problems with ACL errors on my Laptop, and so had
1885   to add the following patch:
1886   @@ -181,7 +181,7 @@
1887       }
1888       /***** Do we really want to silently ignore errors from acl_get_file
1889         and acl_to_text?  *****/
1890   -   return -1;
1891   +   return 0;
1892    }
1893 - Added edit_int64()
1894 - Reworked and tested a bit the htable routines.
1895 - Major changes to SD acquire.c -- DIR can now reserve devices. Needs
1896   lots of testing!!!!
1897 - Made a special state code for DVD -- this simplifies the logic
1898   of the code, but I probably broke it. Testing needed!!!!
1899 - Add AutoChanger resource to SD, but not yet used.
1900
1901 Changes to 1.37.2:
1902 12Jan05
1903 - Integrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
1904   acl patch. Fix case where configured but no ACL exists.
1905   Rework calling arguments to be shorter and positioned
1906   more typically in Bacula usage.
1907 11Jan05
1908 - Fix scripts/bacula.in to have awk on an environment variable
1909   and add comments for Solaris users.
1910 - Turn off inet_aton in src/lib/address_conf.c for Win32
1911 - Add new files to win32 build and eliminate a compiler warning.
1912 - Add sample DVD Device resource to bacula-sd.conf
1913 08Jan05
1914 - Integrate Nicolas' patch for direct DVD support.        
1915 07Jan05
1916 - Fix fstype error returns.
1917 - Apply Preben's cleanup.patch which puts back much of the
1918   cleanup code in src/filed/restore.c
1919 06Jan05
1920 - Apply all of Preben's patches, but revert to old backup.c
1921   and old restore.c in filed. Also turn off code in new
1922   acl.c because of errors.  The new code, when fully implemented
1923   moves platform specific code into acl.c.
1924   One of the patches also implements WildFile and WildDir -- thanks.
1925 01Jan05
1926 - Implement Python in the SD (no events yet though).
1927 - Fix some typos in the previous commit.
1928 30Dec04
1929 - Enhance CDROM boot to include some documentation at boot time.
1930 - NOTE!!!!! The CDROM will not boot 2.6 kernels because the
1931     boot sequence has changed significantly. Updates to come
1932     later.
1933 - Add memtest option to CDROM boot.
1934 - Include Nicolas' changes to fix llist JobMedia records.
1935 - Make sure that ClientRunBefore/After messages from the program
1936   are terminated with a newline. Add strerror to output error
1937   messages.
1938 - Return program exit status code in Win32.
1939 29Dec04
1940 - Add memtest86 to Bacula Rescue disk
1941 - Enhance Rescue disk startup screen
1942 24Dec04
1943 - Move some variables to eliminate Solaris 2.6 compiler warnings.
1944 - Fix the seg fault at the end of a job in the FD when using
1945   old style include/excludes.
1946 22Dec04
1947 - Apply Preben's ACL patch.
1948 - Integrate Preben's restore patch.
1949 - Integrate Preben's verify teaks.
1950 - Fix doc/latex/Makefile to copy/remove .eps files when building
1951   html and web outputs.
1952 21Dec04
1953 - Fix Bacula so that it does not exit if there is a syntax error
1954   in its conf file during a reload command. Bug 182.
1955 - Apply fixes suggested for old Solaris networking.
1956   Fixes bug 190.
1957 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
1958   three patches that clean up white space:
1959   ws.patch.02.strings:
1960     Breaks strings that span lines into concatenated strings. I am not sure
1961     if you like this one. Other code works with concatenated strings, though.
1962   ws.patch.03.trailing:
1963     This removes trailing whitespace. No changes resulted from this for
1964     my setup.
1965   ws.patch.04.leading:
1966     This replaces space runs at the start of line with tabs. No changes
1967     again.
1968 - Fix overriding storage specification to be done
1969   through a subroutine.
1970 - Fix autoconf so it runs with FC3. 
1971 - Add Python4.3 to configure search paths.
1972 - Always copy and delete storage definitions into jcr.
1973 - Check that VolumeName supplied by Python is valid. 
1974   Return 0 if not.
1975 19Dec04
1976 - Fix undefined in non-Python build.
1977 - Update rescue disk to include mkinitrd
1978 - Fix umount_drives in rescue disk (only one arg to umount)
1979 - Ensure that if SD is manually set in Console, it is used.
1980 - Put generate_event on pointer and plug it in init. This
1981   permits using it in /lib
1982 - Correct despooling size reported to be Job specific rather
1983   than for the whole drive.
1984 18Dec04
1985 - Fix bug 207. jcr use count off by one when manually
1986   scheduling jobs.
1987 - Remove FNMATCH test in configure.in and always use
1988   the one in our library to get the FN_CASEFOLD GNU
1989   extensions on all platforms.
1990 - While using the rescue CDROM after my computer would not
1991   boot, I realized that it would be very useful to have
1992   a umount_disks. So, it is not implemented, along with
1993   updates to the READMEs and some minor tweaks.
1994 - Moved mounting the CDROM in the rescue boot from /cdrom
1995   to /mnt/cdrom (more standard location).
1996 - Reboot in CDROM rescue should now work -- requires -d
1997   option (no write) to work.
1998 - Hopefully fixed all the IPV6/4 problems and buffer
1999   problems with networking in lib. Bugs 190 and 204.
2000   Cleaned up a lot of #ifdefing problems by using routines
2001   in address_conf.c
2002 17Dec04
2003 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
2004   alist fix patch.
2005 - Remove duplicate code from chksum.h (mentioned by Preben).
2006 13Dec04
2007 - Integrate Tim Oberfoell <oberfoell@web.de> patch to ACLs
2008   to handle both the 'standard' and 'default' ACLs.
2009 12Dec04
2010 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
2011   three cleanup patches (btest, verify, find).
2012 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
2013   three cleanup patches (backup, chksum, and verify)
2014 09Dec04
2015 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
2016   patch to avoid doing MTIOCGET on OSes that do not support
2017   it such as OpenBSD.
2018 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
2019   patch to add filesystem type matching to FileSets in the
2020   Options resource.
2021 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
2022   patch to add Mac OSX resource fork support (save/restore)
2023   to Bacula -- HFS Plus support.
2024 - Add FileSet to client Job listing query.
2025 06Dec04
2026 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
2027   patch to backup directories skipped (due to no file system
2028   changes or no recursion), and to add a slash to the end
2029   of the directory name during the match process.
2030 - Implement Jamie ffolliott <jamieff@inline.net>
2031   patch to dird_conf.c that enables Multiple Connections and
2032   fixes a typo in show. The rest of his patch awaits my suggested
2033   changes.
2034 05Dec04 
2035 - Implement run command in Python
2036 04Dec04 
2037 - Implement conversion of the manual, and some minor
2038   tweaks to the script tags.
2039 - Apply a patch supplied by Preben 'Peppe' Guldberg that implements
2040   ignore case in wild cards and regexes.
2041 - Fix a truncated line in the above patch due to my cut and paste.
2042 03Dec04
2043 - Fix it so that the InChanger flag is only changed for Volumes
2044   in the same Pool.
2045 - Add PIDOF configuration path and apply to bacula.in
2046 - Add user supplied patch to add inet_aton() of old Solaris
2047   systems.
2048 - Require pools to match before allowing multiple simultaneous
2049   accesses to same storage resource.
2050 - Add patch supplied by Martin to correct buffer overrun in
2051   bsnprintf() with no library snprintf().
2052 02Dec04
2053 - Apply user supplied patch that implements No Hard Links.
2054 - Document Python interface
2055 - Add hardlink keyword patch supplied by David R Bosso <dbosso@lsit.ucsb.edu>
2056 01Dec04
2057 - Fix non-python prototypes in dummy routines.
2058 - Add python 2.3 to config search list (user submitted patch)
2059 - Add JobStatus to Python variables.
2060 28Nov04
2061 - Add 'python restart' command in Console.
2062 - Make built-in variables table driven.
2063 - First cut of Python Events for Bacula. Director only.
2064   StartJob, EndJob, NewVolume events.
2065
2066
2067               Technical notes on version 1.37  
2068                       Nicolas Boichat
2069
2070 General:
2071
2072 Changes to 1.37.*:
2073 26Oct05
2074  - dvd.c: update VolParts when writing the last part.
2075 19Oct05
2076  - configure: add check for dd, remove check for df
2077  - block.c:do_dvd_size_checks: Check we are writing to a dvd before doing tests
2078    (reported by David Raine on the list, '[Bacula-users] LTO drive - End Of Volume error').
2079  - Update bacula-sd.conf.in to use dvd-handler correctly.
2080  - dvd.c:dvd_write_part: Increase timeout when writing the first part (see the code for
2081    more details).
2082 18Oct05
2083  - Modify .backups command to get a fileset parameter (fix bug #444).
2084 17Oct05
2085  - Fix bug when recycling DVD devices (append flag was removed).
2086  - Add tests for dvd+rw-format in configure script.
2087  - scripts/dvd-handler: Reformat DVD-RW when needed. This needs dvd+rw-format.
2088  - Add patch for dvd+rw-tools in patches dir (this should probably be elsewhere).
2089 16Oct05
2090  - Remove scripts/dvd-freespace and scripts/dvd-writepart, as they are now
2091    merged into scripts/dvd-handler. Note: Documentation needs to be updated.
2092  - scripts/dvd-handler: 'zero' brand-new DVD+/-RW to fix a problem with some
2093    DVD-writers, thanks to Arno Lehmann for reporting this, and providing the
2094    way to fix it.
2095  - new scripts/dvd-handler. Note: it also needs a patched version of dvd+rw-tools.
2096  - new scripts/dvd-freespace. Note: it needs a patched version of dvd+rw-tools.
2097  - dvd.c:dvd_write_part: Don't write empty part. (Fix 4GB crossing bug reported by Arno Lehmann)
2098 14Oct05
2099  - dvd.c:dvd_write_part: Use part_size and not max_part_size when setting write timeout.
2100  - dvd.c:do_mount_dev: When checking if the DVD is mounted, do not count ., .. and .keep (needed on Gentoo).
2101 15Aug05
2102  - Convert dvd-writepart to Python.
2103  - Increase delay from 3 seconds to 5 seconds between SIGTERM and SIGKILL when
2104    killing external programs.
2105 13Aug05
2106  - Add gettext macros in autoconf/gettext-macros.
2107  - Modify how localedir is set in configure.in.
2108  - Remove setlocale check (useless).
2109 10Aug05
2110  - Mark translatable strings in all source files.
2111 08Aug05
2112  - Create French and Italian translation files (fr.po, it.po).
2113  - Add support for translation in configure and Makefiles.
2114  - Update autoconf/aclocal.m4 so it is automatically created with aclocal
2115    (Note: autoconf/gnome-macros is not used anymore, it may be removed).
2116 30Jul05
2117  - Fix src/lib/bpipe.c:run_program and run_program_full_output to detect if the watchdog
2118    killed the program, and return an error if it is the case.
2119 26Apr05
2120  - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter 
2121  - lex_open_file now returns NULL if the file can't be opened. All calling functions have
2122    been adapted.
2123  - Remove set_exit_on_error function
2124 07Apr05
2125  - Fix 'unknown device type' problem with DVD devices.
2126  - Fix crash when there is no media in the DVD drive.
2127 09Jan05
2128  - Update the documentation and ReleaseNotes.
2129 05Jan05
2130  - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
2131  - Some modifications (again) on how guessed volume names are handled (now it should work).
2132  - Part files on the hard disk are removed if they are empty.
2133 04Jan05
2134  - Major fixes on how guessed volume names are handled.
2135  - Minor fix in src/stored/append.c.
2136  - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
2137  - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
2138 03Jan05
2139  - Add WritePartAfterJob directive in Job resource (Director)
2140  - Add WritePartAfterJob directive in Schedule Resource (Director)
2141  - Implement these new directives
2142 02Jan05
2143  - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
2144    name of a mounted device, so the label can be read.  
2145  - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
2146  - Removed WriteFirstPartCommand directive in Device (SD configuration file).
2147  - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
2148 01Jan05
2149  - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
2150  - Implement these directives (volumes can now be restored from a manually written DVD). 
2151  - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
2152  - Implement these directives (DVD writing now works).
2153  - New function run_program_full_output in src/lib/bpipe.c.
2154  - Lots of bugfixes and cleanups in the new code.
2155 29Dec04
2156  - Add VolParts field in Media table
2157  - Add MaximumPartSize directive in Device (SD configuration file)
2158  - File Volumes can now be splitted in multiple files ('parts')
2159  - Fix SQL error in sql_list while doing 'llist jobmedia'