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