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