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