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