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