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