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