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