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