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