]> git.sur5r.net Git - bacula/bacula/blob - bacula/ChangeLog
This commit was manufactured by cvs2svn to create tag
[bacula/bacula] / bacula / ChangeLog
1
2 Release 1.38.5 released 19Jan06:
3 19Jan06
4 - Apply label barcodes fix supplied by Rudolf Cejka.
5 18Jan06
6 - Modify standard rpm installation to set SD group to disk
7   so that SD will by default have access to tape drives.
8 - Allow users to specify user/group and start options
9   for each daemon in /etc/sysconf/bacula file.
10
11 Release 1.38.4 14Jan06 released 17 Jan 06:
12 16Jan06
13 - Add two new queries to query.sql provided by Arno. One
14   list volumes known to the Storage device, and the other
15   lists volumes possibly needing replacement (error, ...).
16 15Jan06
17 - Add periodic (every 24 hours) garbage collection of memory 
18   pool by releasing free buffers.
19 14Jan06
20 - Correct bug counting sized (for display only) in smartall.c
21 - Print FD mempool stats if debug > 0 rather than 5.
22 12Jan06
23 - Correct bug in alist.c that re-allocated the list if the
24   number of items goes to zero.
25 - Move the reservation system thread locking to the top level
26   so that one job at a time tries all possible drives before
27   waiting.
28 - Implement a reservation 'fail' message queue that is built         
29   and destroyed on each pass through the reservation system.
30   These messages are displayed in a 'Jobs waiting to reserve
31   a drive' list during a 'status storage='.  Note, multiple
32   messages will generally print for each JobId because they
33   represent the different problems with either the same drive
34   or different drives.  If this output proves too confusing
35   of voluminous, I will display it only when debug level 1
36   or greater is enabled in the SD.
37 11Jan06
38 - Add enable/disable job=<job-name>.  This command prevents
39   the specified job from being scheduled. Even when disabled,
40   the job can be manually started from the console.
41 - During 'update slots' clear all InChanger flags where the
42   StorageId is zero (old Media records).
43
44
45 Beta release 1.38.4:
46 09Jan06
47 - Fix autochanger code to strip leading spaces from returned
48   slots number. Remove bc from chio-changer.
49 - Back port a bit of 1.39 crypto code to reduce diffs.
50 - Fix first call to autochanger that missed close()ing the
51   drive. Put close() just before each run_program().  Fixes
52   Arno's changer bug.
53 07Jan06
54 - Add PoolId to Job record when updating it at job start time.
55 06Jan06
56 - Pull in more code from 1.39 so that there are fewer file
57   differences (the new ua_dotcmds.c, base64.h, crypto.h
58   hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c 
59   util.c. Aside from ua_dotcmds.c these are mostly crypto
60   upgrades.
61 - Implement new method of walking the jcr chain. The
62   incr/dec of the use_count is done within the walking
63   routines.  This should prevent a jcr from being freed
64   from under the walk routines.
65
66 Release 1.38.3 05Jan06:
67 04Jan06
68 - Move the suitable_drive flag to a better place to prevent
69   premature termination of the reservation if all drives
70   are busy -- should fix Arno's diff/inc pool failures.
71 26Dec05
72 - Add mutex to single thread VSS code in Win32.
73
74 Beta release 23Dec05:
75 22Dec05
76 - Add OPENSSL_INC to console dependencies, lib dependencies, and
77   wx-console dependencies in Makefile.in
78 - Add OPENSSL INC/LIB to gnome2_console Makefile.in.
79 - Simplify code in askdir.c that waits for creating an appendable
80   volume so that it can handle multiple returns from the wait
81   code.
82 - Modify the wait code to permit multiple returns.
83 - Return a zero when "autochanger drives" is called and
84   it is not an autochanger.
85 - Make rewind_dev() a method taking a DCR as an argument.
86   This permits closing and reopening the drive if the
87   rewind fails as happens if the drive was loaded while the
88   file descriptor was open. This refreshes the file descriptor.
89 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
90   if the device is open or not.  This should eliminate
91   Arnos problem.
92 - Return error if reserve cannot find at least one suitable device.
93 - Make wait_for_sysop() return correct state information.
94 - Fix Win32 state file problem. write was not using compat
95   code. This should fix bug #500.
96 21Dec05
97 - Modify gui on command to set only GUI mode and not batch.
98 - Modify .messages command to always print messages regardless
99   of the mode.                
100 - If GUI mode is on, suppress automatic printing of 
101   You have messages. 
102 - Delete old bnet packet code.
103 - Ignore new BNET_START_SELECT and BNET_END_SELECT signals in
104   wx-console.
105 - Modify restore command in wx-console to set gui on and to use
106   only .messages instead of messages.  Hopefully this fixes bug
107   #514.
108 Beta release 20Dec05:
109 20Dec05
110 - Fix seg fault in exit of acquire when canceling a job --
111   reported by Wolfgang Denk
112 19Dec05
113 - Implement load balancing code.
114 - Pull a few files from 1.39 where we can maintain compatibility.
115 - Rewrite reservation algorithm again. Rename variables to be
116   more logical, add HEARTBEAT with Director, allow cancel of
117   jobs stuck in reservation, add last resourt any_drive.
118 17Dec05
119 - Remove quotes from Version table name -- it breaks things.
120 - Fix seg fault if user labels a drive directly bug #513
121 - Remove quotes around Version as it breaks things.
122 16Dec05
123 - Merge in Aleksandar Milivojevic's mods to the spec file.
124 - Apply sparse code fix for raw drives and fifos. Bug 506
125 - Thorsten fixed Unicode cd problem with wx-console bug 505.
126 14Dec05
127 - Correct reservation system to do a last ditch try
128   for any mounted volume, then anyone anywhere.
129 - Add quotes around table Version because of 
130   error in MySQL 4.1.15 -- bug report submitted.
131 - Correct some minor problems with btape in the fill
132   command.
133 - Updates to ssh-tunnel from Joshua Kugler.
134 - Added a report.pl program from Jonas Bjorklund.            
135 - Simplify the O_NONBLOCK open() code for tape drives,
136   and always open nonblocking.
137 - Do not wait for open() if EIO returned (shouldn't happen).
138 - Eliminate 3 argument to tape open().
139 - Correct the slot # edited in the 3995 Bad autochanger unload
140   message.
141 - With -S on bscan (show progress) do not divide by zero.
142 13Dec05
143 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
144 - When dcr is freed, also broadcast dev->wait_next_vol signal.
145 - Remove unused code in wait_for_device.  
146 - Make wait_for_device() always return after 120 seconds of wait.
147 12Dec05
148 - Use localhost if no network configured
149 11Dec05
150 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
151 - Remove debug print.
152 - Add bail_out in error during state file reading.
153 09Dec05
154 - Merge updates into 1.38 branch
155 - Update specs to include mysql4 define.
156 - Stop read_record() if status not ok in second loop.
157 - Return rec->FileIndex in dcr->VolLastIndex for normal
158   and partial records in read_record().  This allows bscan
159   to get FileIndex at EOT correct.
160 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
161 08Dec05
162 - Apply patch supplied by user (slightly modified) to fix
163   correct detection of holes in block devices and FIFOs. 
164   Bug # 506.
165 - Apply patch supplied by user (slightly modified) 
166   to fix SD hang with multiple pools and bad client
167   IP. Fixes bug # 508.
168 07Dec05
169 - Add nagios plugin to the examples directory. Submitted by
170   Christian Masopust.
171 - Remove warning message about multiple saves of hardlinked files
172   from find_one.c as it can generate too many warning messages.
173 06Dec05
174 - Reset timeout values before select() per patch from 
175   Frank Sweetser for problems with non-blocking sockets.
176 - Unlink the state file if either reading or writing it gets
177   errors.  Hopefully this will fix Win32 exit problems.
178 - Add sanity check in append.c to ensure that dcr is not NULL.
179   This can happen if multiple drive autochanger SCSI control
180   channel and drive indicies do not correspond.
181 05Dec05
182 - Get next volume from Scratch pool before creating a volume.
183 - Set new Pool defaults in Vol when moved from Scratch Pool.
184 - Remove argument from create_bacula_database for SQLite as it
185   caused an error.
186 - Add back next_vol index code so that two drive autochangers can get
187   a second tape.
188 - Change a bunch of debug levels to aid debugging autochangers.
189 - Fix reservation so that mutexes are properly applied.
190 - Rework reservation algorithm so that two drives can be used
191   at the same time.
192 04Dec05
193 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at 
194   If this patch is applied, the number of days can be specified with
195   "list nextvol days=xx"
196   or
197   "status dir days=xx"
198   My use case is to be able to preview the next scheduled job (and the 
199   next tape to be used) on fridays if there are no scheduled jobs during 
200   the weekend.
201 03Dec05
202 - Fix font code in gnome2 console user patch. Fixes bug #501.
203 - Fix malformatted bnet error message that caused seg fault
204   fixes bug 502
205 - Applied user patch to improve README.vc8 in src/win32.
206 29Nov05
207 - Correct some more editing of JobId's (for 64 bit compatibility).
208 - Ensure that StorageId is stored in Media record when ever possible.
209 - Add Migration Job to Job.
210 - Change Start Storage daemon job to require read and write storage
211   pointers.
212 - Pass read storage data to SD as well as write storage data.
213 - Remove old code from winservice.cpp
214 - Break on error in scan.
215 - Fix typo in signal.c
216 - Separate read/write DCR in SD.  Add jcr->read_dcr.
217 - Cleanup how find_device() works.
218 - Add read output to Status in SD.
219 21Nov05
220 - Remove abs() in bfile.c so that it compiles on Solaris. Bug #491.
221
222 Changes to 1.38.2: 22 November 2005
223 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
224 - Fix bnet-server bug found on OpenBSD. Bug #486
225 - Fix cancel failure bug. Bug #481
226 - Fix failure when Pool name has spaces. Bug #487   
227 - Fix SD crash in autochanger code. Mutex failure. Bug #488
228 - Fix a couple of free()s in src/filed/acl.c
229 - Fix memory overrun in bfile.c in building OS X resource
230   fork filename. Bug #489 
231 - Add Pool name to SD status output.
232 - Add Python install dir for Solaris to configure. Bug #492
233
234 Changes to 1.38.1: 15 November 2005
235 - Apply SunOS patch for ACLs submitted by David Duchscher.                  
236 - Make sure to set storage before trying to set drive.
237 - Add bacula_mail_summary.sh to examples directory. It makes
238   a single email summary of any number of jobs. Submitted
239   by Adrew J. Millar.
240 - Make sure when we do a mount to unblock the device even
241   if the drive could not be opened.  
242 - Merge Scott's new spec files.
243 - Add doc on setting up Win32 environment variable supplied
244   by Kees van den Broek.               
245 - Turn off API debug output unless debug set to avoid confusing
246   the user.
247 - Add Solaris ACL detection in configure.in as supplied by
248   Attila Fulop. 
249 - Implement "autochanger drives" protocol so that Dir knows
250   how many drives an autochanger has.
251 - Do not request drive number in label, ... if only one drive.
252 - Turn off debug code.
253 - Fix update slots to clear slot number of every slot before
254   setting it.  This fixes (I believe) bug #471
255 - Make unmount unload the autochanger slot.
256 - Modify open() on mount to be read-only and non-blocking,      
257   otherwise the mount can block for a long time.
258 - Make a few error message numbers unique.
259 - Make a few error messages more correct.
260 - Apply patch from Thorsten to fix Win98 stat() command.
261 - Remove delete of CVS from all makefiles.
262 - Fix seg fault when clicking on Add button in wx-console
263   restore panel.  Bug #470.
264 - Fix copyright date and URL typo -- bug #468.
265 - Change autostart install for FreeBSD to look for rc.conf  
266   rather than rc.local as suggested fix for bug #466.
267 - Apply patch supplied by Eric Bollinger to fix PostgreSQL    
268   grant on status. Bug #465
269 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
270   update script. Bug #464
271 - Fix off by one for last Slot of autochanger for label.
272 - Update release date.
273 - Tweak an authentication error message in dir.
274 - Fix autoloader so that mutex is set and released around
275   each run_program().  There was a missing set.
276 - Remove an unnecessary drive release in autochanger.
277 - Modify configure.in to add execute option to sqlite3 catalog  
278   scripts.
279 - Create update_xxx_table_8_to_9 scripts for updatedb
280 - Fix wrong variable in bpipe.c debug output reported by user.
281 - Fix improper placement of encode_and_send_attributes() in
282   FD backup.c causing first file of non-portable Win32 backup
283   to have wrong stream. Reported by Thorsten.
284 - Move the -lcrypt for PostgreSQL after the PostgreSQL libs in
285   autoconf/bacula-macros/db.m4 as suggested by user.  Fixes bug #457.
286 - Remove @STATIC_CONS@ from tray-monitor Makefile as suggested
287   by user. Fixes bug #456.
288
289 Released 1.38.0 (28Oct05): 31 October 2005
290
291 Changes to 1.37.42:
292 26Oct05
293 - Don't overwrite pthreadVCE.dll or msvcr71.dll during Win32 
294   install.
295 - Update README.win32 instructions.
296 25Oct05 
297 - Make db_get_job_record() return Name so that the ACL
298   can be checked.  Fixes bug #446
299 22Oct05
300 - Insure that all the SD tools init the Autochanger
301   resources.
302
303 Changes to 1.37.41:
304 22Oct05
305 - Print error message if no Changer Command found.
306 - Apply fix from Martin Simmons to clear structure before
307   using it in IPADDR -- fixes a bind() bug on AIX.
308 14Oct05
309 - Add NetBSD fstype patch from Geert Hendrickx <ghen@telenet.be>
310 - Update num_parts only when writing to DVD.
311 13Oct05
312 - Fix error conditions in bpipe.c DVD routine (terminate buffer).
313 - Use a bigger buffer 32K as suggested by Arno in bpipe.c.
314 - Increase dvd mount timeout with patch from Arno.
315 - Modify DVD code so that it keeps a state flag that indicates
316   when the freespace variable is valid. freespace_errno, now has
317   either 0 or an errno. There are no negative errnos.
318 - Create is_freespace_ok() to test state flag. Also, set_freespace_ok()
319   and clear_freespace_ok(). Modify code to use them.  This
320   simplifies a bit the logic of the freespace code.
321 - Edit 64bit debug values correctly in dvd.c
322 - Fix %e variable to check num_parts rather than part.
323 - Use static buffer instead of static buffers for FI_to_ascii()
324   and stream_to_ascii() debug routines in SD. This is to prevent
325   possible race conditions between two threads (possibly Phil's
326   unmount problem).
327 12Oct05
328 - Add a .dir command that separates arguments with commas. It
329   is intended to be used in the tree routines to get a 
330   machine readable output for GUIs like wx-console.
331 - Make configure set dvd-handler to have execute permission.
332 - Install dvd-handler as is done for other dvd-xxx scripts.
333 - In block.c call dvd_write_part() to write last part rather
334   than dvd_open_next_part().
335 - Prefix some DVD subroutines with dvd_
336 11Oct05
337 - Add extra debug to Update media error for VolFiles decrease
338   error.
339 - Do not update dev->file on set_ateof() for non-tape.
340 10Oct05
341 - Mark DVD volume in error if part cannot be written.
342 - If a DVD is mounted, unmount it before asking operator
343   to mount an different one.
344 - Add Arno's dvd-handler script to the scripts directory and
345   integrate with configure.  It replaces both existing scripts.
346 - Make default schedule start at 23:10
347 - Implement gui release in Makefile. It creates two .tar.gz
348   bacula-web and bimagemgr.
349 08Oct05
350 - Add README plus tar release to gui project.
351 - Manual documentation
352 - Tweak bacula.man doc
353 - Add PRAGMA synchronous = NORMAL; to SQLite3 tables. This
354   speeds up SQLite3 so it is only about 10% slower than version
355   2.xx.  Thanks to Russell Howe for this tip.
356 - Add msvcr71.dll to pebuilder .inf file as it is needed by
357   Bacula FD.  Thanks to Brandon for passing this fix to Scott.
358 05Oct05
359 - Add VolumePurged method to Python JobEvents class.  Fixes
360   bug #428 (I think).
361 - Add JobId index to File table for MySQL.
362 - Correct tray-monitor crash of bacula-dir. qstatus_cmd()  
363   code referenced the wrong pointer. Fixes bug #438.
364 - Add bacualnovss.mak file from Martin.
365 - Remove Pool from restore string in wbrestorepanel.cpp. Patch
366   from user for bug #433.
367 - Correct code in wbrestorpanel.cpp with misplaced parens. Patch
368   from user for bug #431
369 - Correct printing filenames/date/times in wbrestorepanel.cpp due to bad
370   column alignment. Patch from user for bug #432.
371
372 Changes to 1.37.40:
373 01Oct05
374 - Add fix to compat.h supplied by Martin Simmons that permits
375   building the Win32 FD without VSS.
376 29Sep05
377 - Bring cats/bdb_x.c routines up to version 1.37 (return values
378   are different).
379 28Sep05
380 - Integrate libwrap patch from Szechuan Death. They should
381   also fix bug 423.
382 - Clean up patches directory for next release.
383 - Add PS variable in bacula.in script as recommended by a user.
384 - Correct mtx-changer.in so it only creates a temp file when
385   actually needed.
386 - Add patch supplied by user in a bug report to fix gnome2
387   console buttons.
388 - Add patch from Peter Eriksson <peter@ifm.liu.se> to correct
389   NLS error in tray-monitor.c
390 26Sep05
391 - Add code to catalog_update to detect NULL db pointer.
392 - Remove char *msg argument from catalog_request and   
393   catalog_update().
394 24Sep05
395 - Fix mode change open in btape.c
396 - Use nonblocking opens on Linux only.
397 - Move set_blocking code for tapes into method to
398   simplify main line code.
399 - Cleanup the code for ensuring we advance tape on fsf.
400   This should fix IBM problems -- patch from Adam Thorton
401   was very helpful.
402 - Remove test for BMT_EOD in fixup_device... this eliminates
403   need for status_dev() routine.
404 - Before doing label ensure device is in read-write mode.
405
406 Changes to 1.37.39:
407 20Sep05
408 - Tweak daemon.c berrno, copyright.
409 19Sep05
410 - Fix handling of temp file in mtx_changer.in, reported as
411   a security bug, but it is not really.  Bug #422
412 - Fix security problem of handling temp file in randpass.
413   Bug #422.
414 - During label/relabel, add new_volume to VOLRES list in SD.
415 18Sep05
416 - Apply Landon's patch for the TLS ANS1 API change.
417 - Remove old code.
418 - Make single exit path in first_open_device().
419 17Sep05
420 - Make new_volume walk through all Vols looking for dev 
421   to release.
422 16Sep05
423 - Make "quit" command in console always allowed.
424 - Remove the storage list between each console command to
425   keep Dir from remembering a previously selected SD.
426 - Add code to reservation VOLRES subroutines to try to ensure
427   we don't end up with two Volumes on the same drive.
428 - Simplify the mutex code in VOLRES a bit to reduce the chance
429   of error.
430 15Sep05
431 - Apply Nicolas' dvd-freespace.in patch.
432 - Make sure SQL table names are not translated.
433 - Eliminate incorrect message saying barcodes not
434   found in "label barcodes" -- fixes bug report.
435
436 Changes to 1.37.38:
437 07Sep05
438 - Add ability to have passwords on backup of catalog as
439   alternate 3rd argument. Submitted by Andrew Ford
440   <A.Ford@ford-mason.co.uk>
441 - Turn off TapeAlert by default if user enables a Device
442   and add a note to install mtx.
443 04Sep05
444 - Fix out of order volumes during restore.
445
446 Changes to 1.37.37:
447 30Aug05
448 - Final tweaks to build Win32.
449 - Enable debug code in ua_label.c
450 - Remove devices from the Volume list even if no
451   Volume is in drive.  Hopefully this fixes Arno's problem
452   of multiple volumes listed in the same drive.
453 28Aug05
454 - Apply Landon's patch for TLS default values.
455 - Correct LOCALEDIR problem in build of Win32
456 - Correct ssize_t problem in build of Win32
457 - Add code to llprint pools and volumes to debug next item.
458 - From bug report, fix resetting Pool defaults in Volume. It
459   was a typo "Max" was missing in several places.
460 - Don't allow translation of database Volume Status values.
461
462 Changes to 1.37.37 released 26 Aug 05
463 24Aug05
464 - Ensure that the drive is closed before calling the
465   mtx-changer script so that the script can access the drive.
466 - Add drive name to reserved Volume list printout in SD.
467 23Aug05
468 - Fix bug in acquire.c that incorrectly reported volume
469   busy.
470 - Add additional debug code and messages in reserve.c
471 - Eliminate unwanted warning message in reserve.c
472
473 Changes to 1.37.36 released 22 Aug 05
474 20Aug05
475 - Landon's fix for NLS detection
476 - Eliminate incorrect compiler warning on FreeBSD. 
477 - Move Win32 errno message build into berrno constructor.
478 - Minor Win32 tweaks
479 19Aug05
480 - A number of minor Win32 fixes.
481 - Remove a PostQuitMessage() as suggested by Thorsten so that
482   BartPE restore can work correctly.
483 - Fix for create JobMedia so that VolIndex remains valid even
484   during a delete Job or pruning -- bug 402.
485 - Minor tweak for Win32 build.
486 18Aug05
487 - Win32 fix -- remove debug O_NONBLOCK code.
488 - Fix bug 399 -- make_catalog_backup does not work for sqlite3
489 - Implement unloading a volume in a different drive if it
490   is needed in the current drive.
491 - Implement search for unused autochanger drive.
492 - Implement search for exact Volume in reservation before
493   other searches.
494 - Fix picking up drive in Dir so that it is not done in
495   the status command.
496 - Eliminate double check on "loaded" for autochanger.
497 17Aug05
498 - Start coding better reservation algorithm
499 - Always look for slot for label command.
500 - Add more debug code for autochangers.
501 - Apply fix from Stephan Leemburg <sleemburg@jvc.nl> for
502   improper scanning of schedule resource:
503   Run = Level=Full Pool=Catalog daily at 1:20
504 - Apply patch from Chris Lee <labmonkey42@gmail.com> for 
505   adding --enable-build-dird --enable-build-stored.
506 - Tweak datadir definition in configure.in
507 16Aug05
508 - Fix bug that missed drive=nn specification.
509 - Eliminate nonblocking kludge in heartbeat of FD as
510   it caused high CPU usage.
511 - Pickup loaded slot when doing open() of tape drive.
512 - Make autochanger reservation code go through full list
513   first pass until exact match found.
514 15Aug05
515 - Fix how FileSet is saved in job record to correct continual  
516   Full save.
517 - Make datadir print on config.out listing.
518 - Move get FileSet record up in backup init to eliminate continual
519   Full save seen by Peter Sjoberg.
520 - Add VolumeName to read-only Python variables.
521 - Add VolumePurged event for Python.
522 - Suppress /dev/ Filesystem change prohibited INFO messages.
523 - Do not delete FT_RAW files before restore (allows FIFOs
524   to be used for restore).
525 13Aug05
526 - Add drive specification to mount, unmount, release, label,
527   and relabel for Autochangers.  Note Dir<->SD protocol has
528   changed.
529
530 Changes to 1.37.35:
531 12Aug05
532 - Disable parts of NLS as the configure does not work here.
533 - In job backup init (backup.c) define definitive Job level and
534   since time, *then* apply Job Pool override selection if any.  
535 11Aug05
536 - Modified bconsole script so that it is improperly
537   installed, it will refuse to execute.  This avoids
538   recursive call loops.
539
540 Changes to 1.37.34:
541 06Aug05
542 - Apply David's ACL fix to src/filed/acl.c
543 05Aug05
544 - Apply patches sent by David Duchscher <kreios@gmail.com> for
545   making ACLs work on MacOS X and FreeBSD.
546 04Aug05
547 - Apply patch in bug#397 that improved configure
548   - find readline under $with_readline/include/readline
549   - no libutil under Solaris
550   - no need for -ldl under Solaris 
551 - Make reservation system single threaded during the
552   search to avoid two threads competing for the same
553   resource.
554 - Correct a return code in find_suitable_device_for_job()
555   Possibly cause of "busy writing to another volume".
556 03Aug05
557 - Modify open() for tape so nonblocking really works.  
558 - Use fcntl() to reset blocking status rather than close()
559   and reopen the drive.
560 - Make sure dev->open() is always called so that any change
561   in read/write permissions will occur.
562 - Open drives initially in daemon in read-only mode.
563 - Ensure that each time the VolHdr.VolumeName is zapped
564   or changed that free_volume() is called on the old name.
565
566 Changes to 1.37.33:
567 03Aug05
568 - Require 5 arguments to mtx-changer except list and slots
569 - Turn -EPIPE status returns from bpipe to ETIME
570 - Include Slot in SD status output 
571 - Do not term_dev() during initialization in SD if the device
572   could not be opened.  In the case of a tape drive, there may
573   be no tape in the drive.
574
575 Changes to 1.37.32:
576 02Aug05
577 - Correct PostgreSQL database scripts as suggested by a user.
578 - Add additional info to FATAL message generated when a device
579   is busy writing to another volume.
580 - Suppress an inappropriate NULL Volume name message after a cancel.
581 - Correct a warning message in reserve.c
582 29Jul05
583 - Apply user's patch to make mutiple modifiers for times
584   work correctly.
585 - Make read_dev_volume_label() handle ANSI/IBM labels
586   correctly -- ie space over any label at the beginning
587   of the tape.
588 28Jul05
589 - Make ANSI/IBM writing of HDR1/2 labels ignore any
590   errors if at end of tape.
591 - Apply Martin's patch to improve Python detection in
592   configure.in
593 - Temporarily turn off disk seeking until I find the
594   cause of the problem.
595 27Jul05
596 - Add OSF1 patch supplied by user.
597 - Use number of files selected from write_bsr() only
598   if it is not defined.
599 - Explicitly seek to end of file when getting size for
600   restore test.
601 - Correctly set EndBlock position in JobMedia record
602   for files.
603 - Remove unnecessary set StartBlock in bscan. Caused bscan
604   regression error.
605 26Jul05
606 - Modify mtx-changer to wait a maximum of 300 seconds.
607 - Do restart of failed jobs only for Backups job types.
608 - A number of DVD updates from Nicolas.
609 24Jul05
610 - Turn off old service helper code in Win32.
611 - Correct Messages bug found by Phil in stored.
612 23Jul05
613 - Complete (almost) documentation of 1.38.
614 - Add error messages for error conditions with VSS.
615 - Fix additional problems with VSS backup that I introduced.
616 Changes to 1.37.31:
617 22Jul05
618 - Correct compiler complaints in wx-console and tray-monitor.
619 - Correct VSS problems recognizing c:
620 - Add VSS before job status
621 - Fix output of status from being one big line.
622 - Change cd xx; make to cd xx && make as suggested by Phil.
623 - Cleanup projects file
624 - Remove unnecessary casting of FF_PKT in filed.
625 - Apply Thorsten's bugfix for vss_generic.cpp
626 - Add check for df path for dvd_freespace
627 - Use df to get space used on DVD.
628 - Change sense of flag indicating erase DVD or not before writing.
629 - Fix bpipe so that it never modifies the result pointer.
630 - Replace more dev_name by print_name().
631 - Rewrite edit_device_codes_dev() so it does not overwrite the
632   supplied buffer.
633 - Update printing of labels (for bls) so that critical information
634   is printed (Job name and timestamp).
635 - Cleanup old spool files when starting the SD.
636 - Modify vss.cpp to allow C: as a path name.  Otherwise VSS
637   doesn't work when only a drive name is given.
638 - Modify vss.c to eliminate double / in filenames.
639 - Update doc -- particularly the restore chapter.
640 18Jul05
641 - Make all files in working directory have .xxx at end.
642 - Work on DVD writing.
643 - Fix keepatime bug (bugs database).
644 - Move Python variables from Job to Bacula. They are
645   DirName, Version, ConfigFile, and WorkingDir
646 - Fix delete of bootstrap to only occur on Bacula created
647   filenames.
648 - Allow cancelling a Job name that is not active. It is
649   sent to the daemons.
650 17Jul05
651 - Fix name space pollution by OpenSSL 0.9.8 reported by
652   Matthias Kurz -- applied his patch.
653 - Fix bpipe.c so that it does not modify results pointer.
654   ***FIXME*** calling sequence should be changed.
655 - Remove some remaining references to dev_name.
656 - Fix calls to mount_dev() and unmount_dev() to
657   correspond to returned value (bool instead of int).
658 - Try without success to make DVD writing work.
659 == Nicolas
660 15Aug05
661  - Convert dvd-writepart to Python.
662  - Increase delay from 3 seconds to 5 seconds between SIGTERM and SIGKILL when
663    killing external programs.
664 13Aug05
665  - Add gettext macros in autoconf/gettext-macros.
666  - Modify how localedir is set in configure.in.
667  - Remove setlocale check (useless).
668 10Aug05
669  - Mark translatable strings in all source files.
670 08Aug05
671  - Create French and Italian translation files (fr.po, it.po).
672  - Add support for translation in configure and Makefiles.
673  - Update autoconf/aclocal.m4 so it is automatically created with aclocal
674    (Note: autoconf/gnome-macros is not used anymore, it may be removed).
675 30Jul05
676  - Fix src/lib/bpipe.c:run_program and run_program_full_output to detect if the watchdog
677    killed the program, and return an error if it is the case.
678 26Apr05
679  - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter 
680  - lex_open_file now returns NULL if the file can't be opened. All calling functions have
681    been adapted.
682  - Remove set_exit_on_error function
683 07Apr05
684  - Fix "unknown device type" problem with DVD devices.
685  - Fix crash when there is no media in the DVD drive.
686 09Jan05
687  - Update the documentation and ReleaseNotes.
688 05Jan05
689  - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
690  - Some modifications (again) on how guessed volume names are handled (now it should work).
691  - Part files on the hard disk are removed if they are empty.
692 04Jan05
693  - Major fixes on how guessed volume names are handled.
694  - Minor fix in src/stored/append.c.
695  - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
696  - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
697 03Jan05
698  - Add WritePartAfterJob directive in Job resource (Director)
699  - Add WritePartAfterJob directive in Schedule Resource (Director)
700  - Implement these new directives
701 02Jan05
702  - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
703    name of a mounted device, so the label can be read.  
704  - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
705  - Removed WriteFirstPartCommand directive in Device (SD configuration file).
706  - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
707 01Jan05
708  - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
709  - Implement these directives (volumes can now be restored from a manually written DVD). 
710  - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
711  - Implement these directives (DVD writing now works).
712  - New function run_program_full_output in src/lib/bpipe.c.
713  - Lots of bugfixes and cleanups in the new code.
714 29Dec04
715  - Add VolParts field in Media table
716  - Add MaximumPartSize directive in Device (SD configuration file)
717  - File Volumes can now be splitted in multiple files ("parts")
718  - Fix SQL error in sql_list while doing "llist jobmedia"
719
720 Changes to 1.37.30 released 16 July 2005:
721 14Jul05
722 - Fix "dir" command scanning field misalignment in
723   wx-console.
724 - Switch to using the wxWidgets Unicode library.
725 - Include msvcr71.dll in distribution.
726 - Add VSS to status line in Win32 FD if enabled.
727 - Get VSS build scripts working with Thorsten's help.
728 - Unlink the bootstrap file after sending it to
729   the FD.
730 - Remove sending include/exclude lists to the FD during
731   a restore -- deprecated code.
732 - Cleanup the bootstrap files in the FD.
733
734 Changes to 1.37.29:
735 14Jul05
736 - Remove old commented out code from configure.in
737 - Add baculavssfd.mak file for building VSS version of
738   Win32 FD.
739 - Correct date (year) in vss.cpp and vss_generic.cpp
740 13Jul05
741 - I finally found and squashed the elusive SD crash.        
742   I needed to initialize the used volume list before
743   firing off the device initialization thread.
744 Changes to 1.37.28:
745 11Jul05
746 - Make sure that bpipe results are zapped even on
747   error return.
748 - Lots of documentation.
749 - Do not prune volume marked as append when needing a
750   new Volume.
751 - Print a warning message in SD if a non-used Volume
752   is specified and autolabel not turned on.
753 - Correct a bug in chksum.c concerning SHA1 signatures 
754   (an * should have been & when checking for a bit flag).
755 - Print File:Block for all label records in label.c -- concerns
756   primarily bls when doing Job listings (-j).
757 - Correct is_volume_in_use() to return false if testing
758   on the same device where the Volume is already mounted.
759 - Define a init_done flag in the SD that is set when the
760   devices are initialized and make users connecting wait.
761   This prevents useless connect failure warning messages.
762 - Do additional device locking in ask_op_to_mount_volume()
763   to prevent race conditions with a user labeling a Volume
764   or autolabeling.
765 09Jul05
766 - Add a test for error return from bnet_wait... in heartbeat.c
767   in FD to avoid CPU loop.
768 - Implement TLS in gnome console and wx-console.
769
770 Changes to 1.37.28:
771 08Jul05
772 - Correct a NULL pointer reference in the mount command.
773 - Correct typo in Copyright
774 - Add detection of EOM for IBM drives (i.e. errno == ENOSPC)
775 07Jul05
776 - Remove temp file created in mtx-changer script.
777 - Make fsf_dev() into a class method.
778 06Jul05
779 - Modify mtx-changer.in script to return slot:barcode for
780   Volumes that are loaded in the drives.
781 - Correct some more places where dev->is_blocked() needs
782   to be checked in dircmd.c in SD.
783 - Update doc.
784 05Jul05
785 - Add code to ensure that reserved but unused volumes
786   are freed. 
787 - Correct how Volumes are mounted and handled so that the SD
788   does not get stuck if multiple volumes are used (recycling,
789   relabling, ...)
790 - Correct bug where you could relabel a volume while it
791   was being acquired -- created chaos.
792 04Jul05
793 - Correct seg fault caused by open() calling sequence change.
794 03Jul05
795 - Add new rc-chio-changer script by Rudolf Cejka to 
796   examples/autochangers
797 - Apply Rudolf's changes to bacula.in
798 - Expand the space from 8 to 10 characters in editing
799   file sizes for restore and dir of catalog, otherwise
800   GB sizes are truncated -- fixes bug report.
801 - Modify wx-console to know about 10 character widths.
802 - Allow decending into top level directory if "recurse=no"
803   is set.  Fixes a bug report.
804 - Install pthreadVCE.dll when installing console or wx-console
805   on Win32 systems. Fixes bug report.
806 02Jul05
807 - Tweak dvd-writepart script to prevent door from opening/closing
808   so much.
809 - Remove GROUP BY in several PostgreSQL commands to prevent error.
810   Resolves bug report.
811 - Ensure that < as first character of filename list is not treated
812   as a directory for restore.
813 - Add debug to heartbeat in FD as it seems to go into an
814   infinite loop from time to time during SD failure in DVD writing.
815 - Add more debug code to dvd writing.
816 - Attempt not to destroy existing fs on DVD. 
817 30Jun05
818 - Detect device mounted for DVD and suppress be sure to 
819   mount message after label.
820 - Set Cleaning tape status to "Cleaning" and force no
821   MediaType.
822 - Get DVD writing working with new standard Bacula open()
823   code.
824 - Rename get_filename() to make more sense.
825 - Detect "is already mounted on" on mount command so to avoid
826   error if device is already mounted.
827 - Eliminated guess_name() code. It may be necessary to
828   add it back later.
829 - Eliminate seg fault from printing invalid results.
830 - Make dvd_write_part() bool.
831
832 29Jun05
833 - Attempt to fix DVD writing by eliminating a number of the 
834   DVD subroutines to simplify.
835 - Modify DEVICE::open() to take dcr as first argument. This
836   will permit providing more info to DVD opening.
837 - Fix scanning for time/size items which in some cases
838   ate the next line.
839 - Eliminate read_dvd_volume_label().  New code (not yet written)
840   *must* open dvd appropriately before calling 
841   read_dev_volume_label.
842 - Modify open_first_part() open_next_part() to take DCR as 
843   argument.
844 - Make label command from console work on DVDs.
845 - Make mount command from console work on DVDs.
846   Unmount does not work yet.
847
848 Changes to 1.37.27:
849 27Jun05
850 - Add Database vendor to CatalogRes tuple for Python.
851 - Update doc
852 - Implement DoesVolumeExist(Vol) for Python.
853 - Prevent python command from seg faulting if no arg given.
854
855 Changes to 1.37.26:
856 26Jun05
857 - Add set_mode method in DEVICE.
858 - Correct set_mode method in DEVICE
859 - Add more DVD debug info 
860 23Jun05
861 - Check for incorrect duration and size modifiers in conf files.
862 22Jun05:
863 - Make Version a tuple (version, build-date)
864 - Add CatalogRes tuple (DBName, Address, User, Password,
865     Socket, Port)
866 - Add Version, ConfigFile, and WorkingDir as Python attributes
867   in the Director.
868 - Implement code (principally for Win32) that on failure to
869   create a file, it will cd into the directory and attempt
870   to create the file using a relative path. This avoids creating
871   files with paths which fail on Win32.
872 - Fix parsing of times and sizes with decimal numbers.
873 - Make free_volume_list() in SD work if vol list is not
874   initialized (./bacula-sd -t).
875 21Jun05:
876 - Add debug error printout when open() fails.
877 - If open() of DVD fails in mount.c, return false.
878 - Split open() code for DVD into separate subroutine in dev.c
879
880 Changes to 1.37.25 released on 20 Jun 05:
881 20Jun05:
882 - Fix bug where Storage daemon gets confused about what
883   tape is mounted. (one line of code was inadvertently 
884   deleted).
885
886 Changes to 1.37.24:
887 18Jun05
888 - DVD writing/reading seems to be mostly working.
889 - Set execute bits on dvd-freespace and dvd-writepart
890 - Make dvd-freespace use existing dummy file.
891 - Modify dvd-freespace to pickup size from Track Size:
892 16Jun05
893 - Add Date, Job, level to updates to .bsr file in 
894   dird/backup.c
895 - Add debug info to dvd-freespace.in
896 - Fix hard coded bacula.sql in make_catalog_backup reported
897   by a user.
898 - Make sure a verify volume to catalog never reports an error
899   if there are zero files to verify.
900 - Remove confusing debug info in filed/backup.c on network
901   error.
902 - Make sure output from console is not sent to system log.
903 - Convert open_dev() into a class method.
904 - Change VolHdr.VolName to VolHdr.VolumeName.
905 - Add a flag in the device state word to indicate that
906   we found Media in the drive (DVD). 
907 - Make mount_dev() and unmount_dev() return bool.
908
909 Changes from Nicolas Boichat:
910 26Apr05
911  - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter 
912  - lex_open_file now returns NULL if the file can't be opened. All calling functions have
913    been adapted.
914  - Remove set_exit_on_error function
915 07Apr05
916  - Fix "unknown device type" problem with DVD devices.
917  - Fix crash when there is no media in the DVD drive.
918 09Jan05
919  - Update the documentation and ReleaseNotes.
920 05Jan05
921  - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
922  - Some modifications (again) on how guessed volume names are handled (now it should work).
923  - Part files on the hard disk are removed if they are empty.
924 04Jan05
925  - Major fixes on how guessed volume names are handled.
926  - Minor fix in src/stored/append.c.
927  - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
928  - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
929 03Jan05
930  - Add WritePartAfterJob directive in Job resource (Director)
931  - Add WritePartAfterJob directive in Schedule Resource (Director)
932  - Implement these new directives
933 02Jan05
934  - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
935    name of a mounted device, so the label can be read.  
936  - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
937  - Removed WriteFirstPartCommand directive in Device (SD configuration file).
938  - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
939 01Jan05
940  - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
941  - Implement these directives (volumes can now be restored from a manually written DVD). 
942  - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
943  - Implement these directives (DVD writing now works).
944  - New function run_program_full_output in src/lib/bpipe.c.
945  - Lots of bugfixes and cleanups in the new code.
946 29Dec04
947  - Add VolParts field in Media table
948  - Add MaximumPartSize directive in Device (SD configuration file)
949  - File Volumes can now be splitted in multiple files ("parts")
950  - Fix SQL error in sql_list while doing "llist jobmedia"
951
952 Changes to 1.37.23:
953 - Renamed to make unique version for open_next_part()
954   changes.
955
956 Changes to 1.37.23:
957 - Renamed to make unique version for open_next_part()
958   changes.
959
960 Changes to 1.37.22:
961 14Jun05
962 - Fix the same state variable problem in open_next_part().
963 - C++ify the SD code a bit more.
964 13Jun05
965 - Add more debug code and clarify debug code for DVDs.
966 - Do not save and restore state in open_first_part() 
967   since state should be properly set after open_dev().
968 - Make default mandir /usr/share/man
969 - Install Bacula man page.
970 - Implement passing of FileSet Enable VSS to FD.
971 - Move main body of reserve drive code into subroutine
972   so that it can be called multiple times.
973 12Jun05
974 - Eliminate getpass() for Win32 builds in console as the
975   function does not exist.
976 10Jun05
977 - Correct some reservation problems in SD when no devices
978   are available.
979 - Start removing #ifdef HAVE_TLS by sneaky tricks.
980 - Begin implementation of TLS in wx-console
981 - Remove ignoring SIGCHLD from console.
982 - Rework the dlist binary search routines for implemenation
983   of the Volume reservation code -- make it more general.
984 - Strip double slashes // from Win32 filenames in an attempt
985   to resolve restore problems on some systems.
986 - Fix a minor bugs in the trace code that caused the first
987   line output to be lost.
988 - Implement a good first cut at adding Volume reservation code
989   to the storage daemon (in file reserve.c).
990 - Remove old unused code from the tree.c routines.
991
992 Changes to 1.37.21:
993 06Jun05
994 - Fix compile problems on Win32
995 - Start writing Volume reservation list (already exists, but
996   is not really very good).
997 - Implement attribute caching to put Signature into database     
998   at the same time as the file attributes thus eliminating a
999   number of database accesses.
1000 - Correct a reservation problem.
1001 - Implement full Dir Storage use.
1002 - Reduce a bit of TLS #ifdeffing.
1003
1004 Changes to 1.37.20:
1005 04Jun05
1006 - Minor changes
1007 01Jun05
1008 - Add more documentation to mtx-changer.in
1009 - Correct link to manual in authenticate.c in various
1010   directories.
1011 - Create a new src/stored/reserve.c file where the 
1012   Use Storage command is processed and drives are
1013   reserved.
1014 - Modify src/stored/autochanger.c to keep track of each
1015   Slot that is loaded for each device.
1016 - Ensure that changer_command and changer_name are picked
1017   up from Autochanger resource if not specified, and if
1018   neither is specified, err.
1019 30May05
1020 - Fix bextract.c compile problem
1021 - Create bacula.man 
1022 - Make make distclean clean a bit better
1023 29May05
1024 - Remove old code in jcr.c
1025 - Make testls release jcr chain when terminating.
1026 27May05
1027 - Implement Maximum Job Spool Size (actually DCR based)
1028 26May05
1029 - Use light weight non-recursive locking on jcr chain.
1030 - Make JCR a class and implement inc_use_count() and
1031   dec_use_count() methods that ensure that the jcr is
1032   locked when inc/dec the use count.
1033 - Remove the global jcr lock when traversing the jcr
1034   chain.   
1035 - Use dlist to implement the jcr chain rather than hand
1036   crafted next and prev links.
1037 - Lock the jcr chain inside each function that modifies
1038   the chain.
1039
1040 Changes to 1.37.19:
1041 26May05
1042 - Fix compile problem of ua_restore.c on broken compilers.
1043 - Apply patch from bug 326 to permit bacula status by any user.
1044 - Fix bug 325 -- conversion of 12:30pm to 24hour time.
1045 25May05
1046 - Put Dmsg() on inside if() to avoid calling subroutine.
1047 - Make restore.bsr have unique name.
1048 - Allow user to define bsr filename on restore command line
1049   with bootstrap=xxx.bsr
1050 - Add limit=nnn to "list jobs" command.
1051 - Remove old restore code that did not use .bsr file.
1052 - unlink automatically generated bsr file.
1053 - Cleanup heartbeat code so that duped fd is almost sure
1054   to be released. Previously under certain conditions, the
1055   memory was not released due to race conditions.
1056 - Shorten copyright.
1057 20May05
1058 - Unify the reserve_device() for a single device into one subroutine.
1059 18May05
1060 - Modify wait during use_device to happen only after all devices
1061   have been examined rather than in the reserve_device code.  
1062 - Correct updating count of number of Volumes in a pool.
1063
1064 Changes to 1.37.18:
1065 16May05
1066 - Add more debug to SD for Autochangers + status output.
1067 - Add Scratch to PoolType in PostgreSQL make...tables and do not
1068   permit NULL PoolTypes. Fix for bug 319 reported by Eric.
1069 - Update LICENSE.
1070 - Add quotes around filename in parse_config error message. Bug
1071   reported by Eric.
1072 15May05
1073 - Change nested \include to \input so that sections are properly
1074   included in the pdf manual -- update the Web site.
1075 - Set reconnect flag in MySQL packet to 1 to ensure that connection
1076   is re-established.  MySQL 5 changed default to 0. Fixes bug report.
1077 - Fix Scratch pool handling as reported in a bug by Eric Bollengier
1078   by applying his patch.
1079 - Remove delete job in favor of delete jobid.
1080 - Add = NULL to configfile definitions as reported by Eric in a bug
1081   report.
1082 - Update winbacula.nsi.in to reflect new manual file structure.
1083 10May05
1084 - Correct a minor build problem with wx-console.
1085 - Add cancel() to Dir Python scripting.
1086 - Re-correct bug in parse-config error handling.
1087 - Reorganization of use_command in SD to permit
1088   waiting and multiple drive autochanger support.
1089 09May05
1090 - Correct bug in parse_config error handling.
1091 - Where ever possible mark a volume in error or not   
1092   InChanger in mount.c
1093 - Fix bug in changing tape pools after first backup. Reported
1094   by Peter Sjoberg.
1095 - Enhance mtx-changer to use Working Directory as temp.
1096 - Remove all but initial setup locking of Res in SD.
1097 08May05
1098 - Add Client OS type to Job report.
1099 - Add version to manual 
1100 - Update the Web site to have a single page for
1101   the documentation links.
1102
1103 Changes to 1.37.18 release 08May05:
1104 08May05
1105 - Correct attribute definition compile error in 1.37.17
1106 - Correct inverted order of CreateTime and MD5 pointed out
1107   by a user in a bug report in FileSet db routine causing
1108   the MD5 to print in the output instead of the time/date.
1109
1110 Changes to 1.37.17:
1111 07May05
1112 - Implement cstrlen() in sql list routines.
1113 - Implement caching of attributes to add the        
1114   signature so that only one DB call will be made
1115   per file. Not yet turned on.
1116 - Fix Win32 build for TLS.
1117 - Optimize File pruning to eliminate one database call. 
1118 - Fix bug that prevented File pruning from working.
1119 - Implement a cstrlen() which returns the character
1120   length of a UTF-8 string.
1121 06May05
1122 - Move test for MaxStartDelay as suggested by Peter.
1123 - Implement Python methods (I had to read the Python source
1124   code).
1125 - Implement run() method in Director.
1126 - Add Priority and Scheduled time to Job report.
1127 - Add JobInit and JobRun events.
1128 - Add Priority as Python read/write attribute to Job.
1129 - Correct typo in bsmtp reported by Jo.
1130
1131 Changes to 1.37.16 (07May05): released 07May05
1132 07May05
1133 - Implement cstrlen() in sql list routines.
1134 - Implement caching of attributes to add the        
1135   signature so that only one DB call will be made
1136   per file. Not yet turned on.
1137 - Fix Win32 build for TLS.
1138 - Optimize File pruning to eliminate one database call. 
1139 - Fix bug that prevented File pruning from working.
1140 - Implement a cstrlen() which returns the character
1141   length of a UTF-8 string.
1142 06May05
1143 - Move test for MaxStartDelay as suggested by Peter.
1144 - Implement Python methods (I had to read the Python source
1145   code).
1146 - Implement run() method in Director.
1147 - Add Priority and Scheduled time to Job report.
1148 - Add JobInit and JobRun events.
1149 - Add Priority as Python read/write attribute to Job.
1150 - Correct typo in bsmtp reported by Jo.
1151
1152 Changes to 1.37.16 (03May05): released 05May05
1153 03May05
1154 - Make a few tls ifdef tweaks.
1155 - Fix create_file.c Win32 problem pointed out by
1156   Peter Sjoberg.
1157 - Fix really ugly bstrncpy() but found by Thorsten.
1158 - Move winapi.h/c from findlib to lib for inclusion in 
1159   multiple places.
1160 02May05
1161 - Thorsten Engel finished his work on Win32 Unicode. We
1162   now have a single executable that runs on all Win32 machines.
1163 - Move job initialization code after job scheduling so that
1164   Verify jobs check for the prior JobId after they are really
1165   started rather than before.
1166 - Fix lib/fnmatch.c so that it does proper testing before folding.
1167 - More documentation -- at tls and ansi labels chapters.
1168 - Fix fileset_convert.pl to handle empty Exclude statements.
1169 - Turn regex back off in Win32
1170 01May05
1171 - Fix sign extension problem in lex.c that reads UTF-8 
1172   with Chinese characters incorrectly.
1173
1174 Changes to 1.37.14:
1175 30Apr05
1176 - Remove a few HAVE_TLS #ifdefs
1177 - Implement final Python style interface. More implemention to
1178   be done, but the interface should change little if at all.
1179 28Apr05
1180 - Make default no tls support. You must add 
1181   --with-openssl to get tls support.
1182 27Apr05
1183 - Update Web header to include google search in the search
1184   box -- thanks to input from Michel Meyers.
1185 - Fix md5sum so that it builds with the new openssl stuff.
1186 - Take some enhancements to the md5sum test program proposed
1187   by a user.
1188 26Apr05
1189 - Apply Tru64 patch supplied by Pascal Pederiva <freebsd@paped.com>
1190 - Apply Unicode fixes for Win32 from "Thorsten Engel" 
1191   <thorsten.engel@matrix-computer.com>
1192 - More work on Python read feature in FD.
1193 22Apr05
1194 - Fix (hopefully) the ftello() overflow reported by Peter.
1195 - Landon Fuller committed his TLS patch.
1196 - Fixed two minor warnings in console.c with TLS turned off.
1197 - Updated the Makefile.in for wx-windows and tray-monitor
1198   to handle TLS. I can only build the tray-monitor.
1199 - Fix bscan to open tape in read-only mode (actually fix
1200   it so that it doesn't use the standard open routine).
1201 - Correct what appears to be an error in setting the
1202   return value in dvd.c
1203 21Apr05
1204 - Get FD Python running -- design Python backup interface.
1205 - Fix seg fault in SD when referencing Alert Command.
1206 - More documentation.
1207 - Fix one more thing in Win32 build.
1208 20Apr05
1209 - Doc updates
1210 - Fix Win32 build
1211 - Put in production here
1212
1213 Changes to 1.37.13:
1214 19Apr05
1215 - Fix SQLite and PostgreSQL table creation script syntax
1216   problems.
1217 - Fix new Python code to work for Director.
1218 - Move lib/python.c to lib/pythonlib.c so that debug output
1219   is easier to read (can distinguish lib from dird, ...).
1220 - Cleanup Python build so that Python is not dragged
1221   into programs that don't use it.
1222
1223 Changes to 1.37.12:
1224 02Apr05
1225 - Reset NumVols in Pool record from database on every update
1226   Pool.
1227 - Modify DB to support multiple simultaneous copies and
1228   RAIT stiping.
1229 - Pass copy and stripe between DIR and SD and put into
1230   the JobMedia DB record.
1231 - Update and test SQLite and MySQL datebase creation and
1232   update scripts.
1233 - Implement version 9 of the DB.
1234 31Mar05
1235 - Convert more atoi to str_to_int64() for DB.
1236 - Implement filling in NumVols by querying DB rather
1237   than trying to keep track of it.
1238 - Add storage name to string passed to in use storage=
1239 - Fix newVolume() so that the Python script is always
1240   called.
1241 - Fix handling of pool,PoolId, and storage in ua_output.
1242 - Same fix in ua_status.c
1243 - Remove required locking of resources
1244 - Replace pthread_cond_signal() by pthread_cond_broadcast()
1245   hoping to fix the /lib/tls hang problems (lost signal).
1246 - Move resource locking seaching from parse_conf.c to res.c
1247   in src/lib.
1248 - Modify end of volume handling so that fixup_... does not
1249   redo what block.c has already done -- writing Vol info to
1250   DIR. This fixes a bug with bad numbers of files on a tape
1251   when it filled as reported by Peter.
1252 - In release_device() do not update the DIR on the Volume
1253   info if the the information was already written at the
1254   end of the tape.
1255 28Mar05
1256 - NOTE!!!! This version has a new DIR <--> SD protocol. Both 
1257   must be updated at the same time.
1258 - Begin implementation of passing all the Storage and Device
1259   possibilities to the SD for examination during the reserve 
1260   phase.
1261 - Modify the reserve and acquire code in the SD to make a 
1262   job wait if the device is not available.
1263 - Implement New Volume Each Job in DIR and pass to SD, not yet
1264   used.
1265 - Remove init/update of the Device resource in DIR
1266 - Remove passing PoolId to SD and back.
1267 26Mar05
1268 - Remove \a and -e from error echos in most Makefiles.
1269 - Add more debug code when there are errors on the tape 
1270   to try to find Peter's tape problem.
1271 - Add wait.c (oops forgot previously).
1272 - Move all the reserve/acquire_device_for_read/append to have
1273   only a DCR as the argument.
1274 - Rework the reserve_device_for_append() in stored to wait
1275   if the drive is not available.  Note! This is a short
1276   term solution.
1277 25Mar05
1278 - Comment out Multiple Connections in the document.
1279 - Move the P() and V() to subroutines so that they can be accessed
1280   from class methods. The reference to strerror() caused problems.
1281 - Implement new DEVICE class methods block() and unblock() that
1282   do what was previously done in 3 lines of code.
1283 - Implement wait_for_device(), which will wait for any device
1284   to be released then return. This requires a new global mutex
1285   and condition variable, and is implemented in src/stored/wait.c
1286 - Change the code in reserve_device_for_read(), which previously
1287   failed the job to use the new device wait code.
1288 22Mar05
1289 - Apply reschedule patch to 1.37 code.
1290 - Add copyright to title page of manual so it is clear.
1291 - Create patch for rescheduling problem found by Ludovic. Storage
1292   pointers were lost during rescheduling.
1293 - Attempt to fix 2.6 rescue disk -- failed!
1294 - Start working on adding a wait routine in the SD.
1295 - Cleanup some old invalid doc in watchdog.
1296 - Convert a number of references to dev->dev_name to dev->print_name().
1297 - Add new wait.c file to SD.
1298 - Add a few more methods to DEVICE in SD to cleanup code a
1299   bit -- implement a few of the methods.
1300 18Mar05
1301 - Fix more print_name()s for printing device name.
1302 - Modify open_dev to try 10 times every 6 seconds to
1303   open the device if it gets an I/O error (meaning no
1304   volume mounted). This gives a bit of settling in time
1305   for an autochanger and avoids spurious messages.
1306 - Change all yes/no to yes|no in the manual.
1307 - Fix win32 create_file.c typo.
1308 - Fix a typo in an error message.
1309 17Mar05
1310 - Detect if fseeko exists with autoconf. If so, use it 
1311   and ftello.
1312 - Remove old bacula-*.conf from examples directory (out
1313   of date).
1314 - Remove latex-fr index files from CVS.
1315 - Rewrite code that stops reading the tape so that the
1316   tape is marked at EOT, then once the work is done,
1317   the EOT flag is removed.
1318 - Flush output to file after every send in console.
1319 - Make setting VolFiles to smaller number fatal.
1320 - Disable Multiple Connections code.
1321 - Add patch from user for NetBSD statvsfs() fix to
1322   fstype.c
1323 - Take more care with errors in acquire.c
1324 - Don't run through dvd code in append.c if bad status
1325   returned.
1326 - Modify code so that an autochanger fault is fatal.
1327 - Use dev->print_name() in more places.
1328 - Implement dev->can_steal_lock() to simplify code.
1329 - Make btape re-read first 10000 records on fill command.
1330 - Check error return and fail job from fseeko and ftello
1331   in spool.c.  Don't let a -1 slip in as size.
1332
1333 Changes to 1.37.7:
1334 15Mar05
1335 - Apply NetBSD patch from kardel in bug 258.
1336 14Mar05
1337 - Add a second job and a second client to the default
1338   bacula-dir.conf file.
1339 - Remove old style Include/Excludes.
1340 - Fix ANSI labels to put EOF1 and EOF2 after each file mark.
1341 - Add Python to SD and FD.
1342 12Mar05
1343 - Implement IBM labels
1344 - Implement EOF and EOV labels at the end of a volume.
1345 - Fix a rather ugly problem with the PoolId not getting
1346   passed correctly. Now the DIR passes the Pool name and
1347   Media Type to the SD, who passes them back when requesting
1348   the next Volume. The DIR then looks up the correct PoolId.
1349   This takes more time, but always works, AND allows wild
1350   card Media Types (i.e. the SD can decide).
1351 - The DIR <==> SD protocol has changed.
1352
1353 Changes to 1.37.6:
1354 11Mar05
1355 - Fix scanf of PoolId in catreq to handle 64 bit Ids.
1356 10Mar05
1357 - Add new ua_update.c file and move update_cmd there.
1358 - Modify "update slots" to obtain actual number of slots.
1359 - Tweak autochanger code to handle new slots request.
1360 - Modify autochanger code to lock/unlock around slots and
1361   update slots code.
1362 09Mar05
1363 - Patch the FD so that it does not issue an error message if
1364   it attempts to restore the permissions on a Win32 drive.
1365 - Edit "Resource-name" (physical-name) for the device name
1366   everywhere in the SD.
1367 - Remove .linked.tex files in preparation for cutover to
1368   using .tex in place of .wml.
1369 08Mar05
1370 - Copy latest config.sub and config.guess from autoconf.
1371 - Try new way of identifying drives with:
1372    "resource-name" (physical-name)
1373   More work need to a complete conversion.
1374 07Mar05
1375 - Rework some of the autochanger data so that the DIR has   
1376   the number of drives.
1377 - Modify the way the Device info is returned so that it comes
1378   back as a special message type and can be sent anytime the
1379   Device status changes.
1380 - Copy the change name and changer command into the device
1381   record if none is specified.
1382 - Require the change command and changer name to be specified in
1383   and AutoChanger resource.
1384 - Force all the Media Type records of all devices in an Autochanger
1385   to be the same.
1386 06Mar05
1387 - Add new "run" command to Job resource in DIR. This permits
1388   cloning a job as many times as you want.
1389 - Pass PoolId to SD on Query request. It is now used in the
1390   Find_media catalog request.
1391 - Reworked the Device resource in the DIR. Eliminated num_waiting
1392   and use_count, but added max_writers, reserved, and PoolId.
1393 - This DIR is nolonger compatible with previous SDs.
1394 - Add since and cloned keywords to the Console run command
1395   to support cloning.
1396 - Implemented store_alist_str() to allow multiple string items
1397   to be specified in a .conf file.
1398 - Added %s (since time) to Job code editing.
1399 - Reworked reserving drives in the SD. It now does it much simpler
1400   and correctly. 
1401 05Mar05
1402 - Integrate HP-UX patch from  Olivier Mehani <olivier.mehani@linbox.com>
1403 - Fix FD job.c to test correctly for no level.
1404
1405 Changes to 1.37.4:
1406 04Mar05
1407 - Change Developers to Developer's Guide as requested by Michael.
1408 - Fix developers link in manual
1409 - Add additional dcr changes in SD to allow multiple dcrs.
1410 02Mar05
1411 - Fix a few problems with the MySQL table create in 1.37.
1412 - Delete the new tables in the table delete files.
1413 - Increase the number of items permitted in a conf table.
1414 - Make Director loop over alternative Devices specified in the
1415   Storage resource until one is reserved by SD.
1416 - Fix storing of StorageId in Media records.
1417 - Add AutoSelect = yes|no in bacula-sd.conf
1418 - Add Autochanger support to Label command.
1419 - Do not autoselect devices with autoselect set false 
1420 01Mar05
1421 - Implement setting DIR Storage device to Autochanger
1422   name. 
1423 - Select first available device in Autochanger.
1424 - Pass back actual device name used.
1425 - Allow Query of AutoChanger.
1426 - Modify Query to include name of AutoChanger if 
1427   Device belongs to one.
1428 - Remove old Pool code in jobq.c
1429 - Add Autoselect flag to query and DEVICE class (still
1430   need Directive).
1431 28Feb05
1432 - Lock autochanger script when running.
1433 - Mark Volume not InChanger if correct volume is not     
1434   autoloaded.
1435 - Corrected some typos in the make_xxx_tables.in files.
1436 - Made preliminary split of pre-run and run code for each
1437   job type. This will permit early opening of SD for reserving
1438   drives.
1439 - Add offline and autochanger fields to Device Query record.
1440 - Correct pthread_mutex_init() for autochanger in SD.
1441 - Tweak Makefile for LaTeX manual, plus add nav buttons.
1442 26Feb05
1443 - Clean up drive reservation system. Add more sanity checks.
1444 - Implement a few more methods for the DEVICE class in SD.
1445 - Add latex directories to make clean
1446 - move DEV_BSIZE to B_DEV_BSIZE to avoid conflicts with
1447   certain header files (FreeBSD).
1448 24Feb05
1449 - Fix an ASSERT that was triggering in stored/acquire.c
1450   attempt to fix a bug report.
1451 23Feb05
1452 - Corrected SunOs to SunOS in btraceback (user submitted).
1453 - Applied patch from Roger HaaÂ¥kansson <hson@ludd.luth.se>
1454   to warn the user of defective AWKs during ./configure.
1455 20Feb05
1456 - Add some changes submitted by a user for HP client build.
1457   Not all changes accepted.
1458 - Rework code in filed/backup.c to ease #ifdefing and make
1459   program flow more obvious.
1460 - Split DVD code out of dev.c into dvd.c
1461 - Tweak #ifdefing to add back all the performance measurement
1462   #defines in version.h
1463 - Put most of MTIOCGET code in a subroutine to simplify the
1464   mainline code.
1465 - Make clean remove old CVS files
1466 - Remove unnecessary image files from Latex directory
1467 - Implement remaining parts of Storage DB record and
1468   its use in the Director.
1469 - Implement
1470   FullMaxWaitTime, Differential Max Wait Time, and               
1471   Incremental Max Wait time in Job resource.
1472 - Start work on SD Autochanger code.
1473 19Feb05
1474 - Add back JobId index for MySQL as default -- speeds up 
1475   pruning.
1476 - Add more database fields and fix the update scripts to
1477   include the new items.
1478 - Pass actual level to FD so that ClientRun editing can reflect
1479   correct level -- ditto for job status. This makes the DIR
1480   incompatible with older clients!
1481 - Move jobq.c acquire resources to static subroutine so that
1482   the code logic becomes clearer. This is in preparation for
1483   actually using the new Device resources.
1484 - Fix some lower case problems in sql_cmds.c reported by
1485   Debian.
1486 - Correct a seg fault in the SD reported by a user. Occurred
1487   only when a high debug level was set.
1488 - Modify init_dev() in dev.c to take JCR as first arg so that
1489   proper error messages can be reported in next item.
1490 - Modify the query and use device SD commands to attempt to
1491   open the device if it could not previously be opened.
1492 - Correct error message for Could not reserve device.
1493 - Correct some minor details with Autochanger resource in SD.
1494 18Feb05
1495 - Fix seg fault if debug level 900 set in SD.
1496 - Truncate Win32 child return code to 8 bits.
1497 - Remove some old lld's.
1498
1499 Changes to 1.37.3:
1500 16Feb05
1501 - Make another attempt at fixing the ClientRunXXX return code 
1502   bug on Win32 machines.
1503 - Apply ua_status patch from Carsten Paeth <calle@calle.in-berlin.de>
1504   which enforces console ACLs in the status command for Jobs.
1505 15Feb05
1506 - Fix Media LabelDate and FirstWritten to be correctly set.
1507 - Fix deadlock in multiple simultaneous jobs.
1508 - Fix tape "truncation"/"number of files" after restore bug.
1509 10Feb05
1510 - Ensure that correct error messages are returned when
1511   reading an ANSI label.
1512 09Feb05
1513 - Modified ANSI label code to preserve any ANSI label 
1514   already found by skipping over it rather than rewriting
1515   it.
1516 - Split the ANSI label code into ansi_label.c
1517 - Do not let user relabel an ANSI labeled tape.
1518 - Applied a patch for the console help command supplied
1519   in a bug report. 
1520 - Added some new dev methods. Most notably was
1521   set_eof(), which handles setting all the dev variables
1522   when an EOF is just read. This is now used most everywhere
1523   in the code.
1524 07Feb05
1525 - Added code to detect that no files were inserted into the 
1526   tree for a restore. If a specific JobId was specified, the
1527   user has the option of restoring everything.
1528 - More progress in implementing 64 bit DB Ids.
1529 - Modified the daemon start messages for RH.
1530 - Implement update scripts for all database types.
1531 - First cut at implementing restore directory (it will not
1532   recurse).
1533 04Feb05
1534 - OK, I think ANSI labels work.
1535 - Added Label Type = ANSI|IBM|Bacula to Device resource in SD.
1536   If this is set, it will force writing of the appropriate
1537   label type.
1538 - Added Check Labels = yes|no to Device resource in SD. If this
1539   is set, Bacula will check for ANSI labels and accept them,      
1540   otherwise, ANSI labels will not be accepted when the tape
1541   is first mounted.
1542 02Feb05
1543 - Second cut ANSI labels.
1544 01Feb05
1545 - Merge Preben's patch for ACLs and for Mac OS X resource forks.
1546 - Some doc updates.
1547 - Display more informative message when a device was not
1548   found or could not be opened.
1549 - Add the sqlite3 database scripts. 
1550 - Add some patches for 1.36.1 (note, I have now prepared
1551   a 1.36.2 with all the patches and some new features --
1552   to be documented).
1553 - Some minor doc updates.
1554 - Add Arno's baculareport.pl script to the examples directory.
1555 29Jan05 -- after vacation
1556 - Add support for SQLite3 (it seems to run at 1/2 the speed
1557   of SQLite2).  Use --with-sqlite3 instead of --with-sqlite
1558   to get SQLite3.
1559 - Add target for running qemu to boot Rescue CDROM
1560 - Add code to support kernel 2.6 in Rescue CDROM -- does NOT yet
1561   boot correctly.
1562 - Implement ANSI labels -- not yet tested.
1563   This required changes to DB format. No upgrade script yet.
1564   Note, more work needed to modify "update" command to handle
1565   changing label types, also must restrict volume name lengths
1566   to 6 characters.
1567 - Add new Device, Storage, and MediaType records to DB. No
1568   upgrade script yet.
1569 - Add MediaType to bsr file record types. Not yet used in SD.
1570 - Permit multiple device specifications in Storage resource in 
1571   Dir conf file.
1572 - Implement Device resources. Director requests Device resource
1573   info from SD on startup. 
1574 - Note!!!! DIR->SD incompatible with previous versions.
1575 - Remove multiple Storage definitions in Job resource.  One can
1576   still specify multiple Storage resources, but they all go into
1577   a single alist, and imply sending data to each Storage daemon 
1578   simultaneously.
1579 - Implement Device query command between DIR and SD.
1580 - Allow DIR to "reserve" a Device. It will then be acquired
1581   when the FD connects to the SD.
1582 - Turn all DIR resources into classes, and implement a few class
1583   methods -- more to come.
1584 - Turn DEVICE in SD into a class, and implement a number of inline
1585   class methods -- more to come.
1586 - I had serious problems with ACL errors on my Laptop, and so had
1587   to add the following patch:
1588   @@ -181,7 +181,7 @@
1589       }
1590       /***** Do we really want to silently ignore errors from acl_get_file
1591         and acl_to_text?  *****/
1592   -   return -1;
1593   +   return 0;
1594    }
1595 - Added edit_int64()
1596 - Reworked and tested a bit the htable routines.
1597 - Major changes to SD acquire.c -- DIR can now reserve devices. Needs
1598   lots of testing!!!!
1599 - Made a special state code for DVD -- this simplifies the logic
1600   of the code, but I probably broke it. Testing needed!!!!
1601 - Add AutoChanger resource to SD, but not yet used.
1602
1603 Changes to 1.37.2:
1604 12Jan05
1605 - Integrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
1606   acl patch. Fix case where configured but no ACL exists.
1607   Rework calling arguments to be shorter and positioned
1608   more typically in Bacula usage.
1609 11Jan05
1610 - Fix scripts/bacula.in to have awk on an environment variable
1611   and add comments for Solaris users.
1612 - Turn off inet_aton in src/lib/address_conf.c for Win32
1613 - Add new files to win32 build and eliminate a compiler warning.
1614 - Add sample DVD Device resource to bacula-sd.conf
1615 08Jan05
1616 - Integrate Nicolas' patch for direct DVD support.        
1617 07Jan05
1618 - Fix fstype error returns.
1619 - Apply Preben's cleanup.patch which puts back much of the
1620   cleanup code in src/filed/restore.c
1621 06Jan05
1622 - Apply all of Preben's patches, but revert to old backup.c
1623   and old restore.c in filed. Also turn off code in new
1624   acl.c because of errors.  The new code, when fully implemented
1625   moves platform specific code into acl.c.
1626   One of the patches also implements WildFile and WildDir -- thanks.
1627 01Jan05
1628 - Implement Python in the SD (no events yet though).
1629 - Fix some typos in the previous commit.
1630 30Dec04
1631 - Enhance CDROM boot to include some documentation at boot time.
1632 - NOTE!!!!! The CDROM will not boot 2.6 kernels because the
1633     boot sequence has changed significantly. Updates to come
1634     later.
1635 - Add memtest option to CDROM boot.
1636 - Include Nicolas' changes to fix llist JobMedia records.
1637 - Make sure that ClientRunBefore/After messages from the program
1638   are terminated with a newline. Add strerror to output error
1639   messages.
1640 - Return program exit status code in Win32.
1641 29Dec04
1642 - Add memtest86 to Bacula Rescue disk
1643 - Enhance Rescue disk startup screen
1644 24Dec04
1645 - Move some variables to eliminate Solaris 2.6 compiler warnings.
1646 - Fix the seg fault at the end of a job in the FD when using
1647   old style include/excludes.
1648 22Dec04
1649 - Apply Preben's ACL patch.
1650 - Integrate Preben's restore patch.
1651 - Integrate Preben's verify teaks.
1652 - Fix doc/latex/Makefile to copy/remove .eps files when building
1653   html and web outputs.
1654 21Dec04
1655 - Fix Bacula so that it does not exit if there is a syntax error
1656   in its conf file during a reload command. Bug 182.
1657 - Apply fixes suggested for old Solaris networking.
1658   Fixes bug 190.
1659 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
1660   three patches that clean up white space:
1661   ws.patch.02.strings:
1662     Breaks strings that span lines into concatenated strings. I am not sure
1663     if you like this one. Other code works with concatenated strings, though.
1664   ws.patch.03.trailing:
1665     This removes trailing whitespace. No changes resulted from this for
1666     my setup.
1667   ws.patch.04.leading:
1668     This replaces space runs at the start of line with tabs. No changes
1669     again.
1670 - Fix overriding storage specification to be done
1671   through a subroutine.
1672 - Fix autoconf so it runs with FC3. 
1673 - Add Python4.3 to configure search paths.
1674 - Always copy and delete storage definitions into jcr.
1675 - Check that VolumeName supplied by Python is valid. 
1676   Return 0 if not.
1677 19Dec04
1678 - Fix undefined in non-Python build.
1679 - Update rescue disk to include mkinitrd
1680 - Fix umount_drives in rescue disk (only one arg to umount)
1681 - Ensure that if SD is manually set in Console, it is used.
1682 - Put generate_event on pointer and plug it in init. This
1683   permits using it in /lib
1684 - Correct despooling size reported to be Job specific rather
1685   than for the whole drive.
1686 18Dec04
1687 - Fix bug 207. jcr use count off by one when manually
1688   scheduling jobs.
1689 - Remove FNMATCH test in configure.in and always use
1690   the one in our library to get the FN_CASEFOLD GNU
1691   extensions on all platforms.
1692 - While using the rescue CDROM after my computer would not
1693   boot, I realized that it would be very useful to have
1694   a umount_disks. So, it is not implemented, along with
1695   updates to the READMEs and some minor tweaks.
1696 - Moved mounting the CDROM in the rescue boot from /cdrom
1697   to /mnt/cdrom (more standard location).
1698 - Reboot in CDROM rescue should now work -- requires -d
1699   option (no write) to work.
1700 - Hopefully fixed all the IPV6/4 problems and buffer
1701   problems with networking in lib. Bugs 190 and 204.
1702   Cleaned up a lot of #ifdefing problems by using routines
1703   in address_conf.c
1704 17Dec04
1705 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
1706   alist fix patch.
1707 - Remove duplicate code from chksum.h (mentioned by Preben).
1708 13Dec04
1709 - Integrate Tim Oberfoell <oberfoell@web.de> patch to ACLs
1710   to handle both the "standard" and "default" ACLs.
1711 12Dec04
1712 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1713   three cleanup patches (btest, verify, find).
1714 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1715   three cleanup patches (backup, chksum, and verify)
1716 09Dec04
1717 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1718   patch to avoid doing MTIOCGET on OSes that do not support
1719   it such as OpenBSD.
1720 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1721   patch to add filesystem type matching to FileSets in the
1722   Options resource.
1723 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1724   patch to add Mac OSX resource fork support (save/restore)
1725   to Bacula -- HFS Plus support.
1726 - Add FileSet to client Job listing query.
1727 06Dec04
1728 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1729   patch to backup directories skipped (due to no file system
1730   changes or no recursion), and to add a slash to the end
1731   of the directory name during the match process.
1732 - Implement Jamie ffolliott <jamieff@inline.net>
1733   patch to dird_conf.c that enables Multiple Connections and
1734   fixes a typo in show. The rest of his patch awaits my suggested
1735   changes.
1736 05Dec04 
1737 - Implement run command in Python
1738 04Dec04 
1739 - Implement conversion of the manual, and some minor
1740   tweaks to the script tags.
1741 - Apply a patch supplied by Preben 'Peppe' Guldberg that implements
1742   ignore case in wild cards and regexes.
1743 - Fix a truncated line in the above patch due to my cut and paste.
1744 03Dec04
1745 - Fix it so that the InChanger flag is only changed for Volumes
1746   in the same Pool.
1747 - Add PIDOF configuration path and apply to bacula.in
1748 - Add user supplied patch to add inet_aton() of old Solaris
1749   systems.
1750 - Require pools to match before allowing multiple simultaneous
1751   accesses to same storage resource.
1752 - Add patch supplied by Martin to correct buffer overrun in
1753   bsnprintf() with no library snprintf().
1754 02Dec04
1755 - Apply user supplied patch that implements No Hard Links.
1756 - Document Python interface
1757 - Add hardlink keyword patch supplied by David R Bosso <dbosso@lsit.ucsb.edu>
1758 01Dec04
1759 - Fix non-python prototypes in dummy routines.
1760 - Add python 2.3 to config search list (user submitted patch)
1761 - Add JobStatus to Python variables.
1762 28Nov04
1763 - Add "python restart" command in Console.
1764 - Make built-in variables table driven.
1765 - First cut of Python Events for Bacula. Director only.
1766   StartJob, EndJob, NewVolume events.
1767
1768
1769               Technical notes on version 1.37  
1770                       Nicolas Boichat
1771
1772 General:
1773
1774 Changes to 1.37.*:
1775 26Oct05
1776  - dvd.c: update VolParts when writing the last part.
1777 19Oct05
1778  - configure: add check for dd, remove check for df
1779  - block.c:do_dvd_size_checks: Check we are writing to a dvd before doing tests
1780    (reported by David Raine on the list, "[Bacula-users] LTO drive - End Of Volume error").
1781  - Update bacula-sd.conf.in to use dvd-handler correctly.
1782  - dvd.c:dvd_write_part: Increase timeout when writing the first part (see the code for
1783    more details).
1784 18Oct05
1785  - Modify .backups command to get a fileset parameter (fix bug #444).
1786 17Oct05
1787  - Fix bug when recycling DVD devices (append flag was removed).
1788  - Add tests for dvd+rw-format in configure script.
1789  - scripts/dvd-handler: Reformat DVD-RW when needed. This needs dvd+rw-format.
1790  - Add patch for dvd+rw-tools in patches dir (this should probably be elsewhere).
1791 16Oct05
1792  - Remove scripts/dvd-freespace and scripts/dvd-writepart, as they are now
1793    merged into scripts/dvd-handler. Note: Documentation needs to be updated.
1794  - scripts/dvd-handler: "zero" brand-new DVD+/-RW to fix a problem with some
1795    DVD-writers, thanks to Arno Lehmann for reporting this, and providing the
1796    way to fix it.
1797  - new scripts/dvd-handler. Note: it also needs a patched version of dvd+rw-tools.
1798  - new scripts/dvd-freespace. Note: it needs a patched version of dvd+rw-tools.
1799  - dvd.c:dvd_write_part: Don't write empty part. (Fix 4GB crossing bug reported by Arno Lehmann)
1800 14Oct05
1801  - dvd.c:dvd_write_part: Use part_size and not max_part_size when setting write timeout.
1802  - dvd.c:do_mount_dev: When checking if the DVD is mounted, do not count ., .. and .keep (needed on Gentoo).
1803 15Aug05
1804  - Convert dvd-writepart to Python.
1805  - Increase delay from 3 seconds to 5 seconds between SIGTERM and SIGKILL when
1806    killing external programs.
1807 13Aug05
1808  - Add gettext macros in autoconf/gettext-macros.
1809  - Modify how localedir is set in configure.in.
1810  - Remove setlocale check (useless).
1811 10Aug05
1812  - Mark translatable strings in all source files.
1813 08Aug05
1814  - Create French and Italian translation files (fr.po, it.po).
1815  - Add support for translation in configure and Makefiles.
1816  - Update autoconf/aclocal.m4 so it is automatically created with aclocal
1817    (Note: autoconf/gnome-macros is not used anymore, it may be removed).
1818 30Jul05
1819  - Fix src/lib/bpipe.c:run_program and run_program_full_output to detect if the watchdog
1820    killed the program, and return an error if it is the case.
1821 26Apr05
1822  - Modify parse_config to get a LEX_ERROR_HANDLER as a parameter 
1823  - lex_open_file now returns NULL if the file can't be opened. All calling functions have
1824    been adapted.
1825  - Remove set_exit_on_error function
1826 07Apr05
1827  - Fix "unknown device type" problem with DVD devices.
1828  - Fix crash when there is no media in the DVD drive.
1829 09Jan05
1830  - Update the documentation and ReleaseNotes.
1831 05Jan05
1832  - Add FreeSpaceCommand in Device (SD configuration file) and implement it.
1833  - Some modifications (again) on how guessed volume names are handled (now it should work).
1834  - Part files on the hard disk are removed if they are empty.
1835 04Jan05
1836  - Major fixes on how guessed volume names are handled.
1837  - Minor fix in src/stored/append.c.
1838  - Replace, when possible, POOLMEM by POOL_MEM in the new code of src/stored/dev.c.
1839  - New script, scripts/dvd-freespace, which gets the free space available on a writable DVD.
1840 03Jan05
1841  - Add WritePartAfterJob directive in Job resource (Director)
1842  - Add WritePartAfterJob directive in Schedule Resource (Director)
1843  - Implement these new directives
1844 02Jan05
1845  - New function, open_guess_name_dev in src/stored/dev.c, which tries to guess the volume
1846    name of a mounted device, so the label can be read.  
1847  - New script, scripts/dvd-writepart, which write parts to DVD+/-R(W).
1848  - Removed WriteFirstPartCommand directive in Device (SD configuration file).
1849  - Use readdir_r instead of readdir (src/stored/dev.c:open_guess_name_dev).
1850 01Jan05
1851  - Add RequiresMount, MountPoint, MountCommand, UnmountCommand directives in Device (SD configuration file).
1852  - Implement these directives (volumes can now be restored from a manually written DVD). 
1853  - Add WriteFirstPartCommand, WritePartCommand directives in Device (SD configuration file).
1854  - Implement these directives (DVD writing now works).
1855  - New function run_program_full_output in src/lib/bpipe.c.
1856  - Lots of bugfixes and cleanups in the new code.
1857 29Dec04
1858  - Add VolParts field in Media table
1859  - Add MaximumPartSize directive in Device (SD configuration file)
1860  - File Volumes can now be splitted in multiple files ("parts")
1861  - Fix SQL error in sql_list while doing "llist jobmedia"