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