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