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