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