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