]> git.sur5r.net Git - bacula/bacula/blob - bacula/kes-1.37
b1e9f021fbded8bf4e4e3ffa6de14fd93d812a89
[bacula/bacula] / bacula / kes-1.37
1               Technical notes on version 1.37  
2                         Kern Sibbald
3
4 General:
5
6 Changes to 1.37.31:
7 18Jul05
8 - Fix keepatime bug (bugs database).
9 - Move Python variables from Job to Bacula. They are
10   DirName, Version, ConfigFile, and WorkingDir
11 - Fix delete of bootstrap to only occur on Bacula created
12   filenames.
13 - Allow cancelling a Job name that is not active. It is
14   sent to the daemons.
15 17Jul05
16 - Fix name space pollution by OpenSSL 0.9.8 reported by
17   Matthias Kurz -- applied his patch.
18 - Fix bpipe.c so that it does not modify results pointer.
19   ***FIXME*** calling sequence should be changed.
20 - Remove some remaining references to dev_name.
21 - Fix calls to mount_dev() and unmount_dev() to
22   correspond to returned value (bool instead of int).
23 - Try without success to make DVD writing work.
24
25 Changes to 1.37.30 released 16 July 05:
26 14Jul05
27 - Fix "dir" command scanning field misalignment in
28   wx-console.
29 - Switch to using the wxWidgets Unicode library.
30 - Include msvcr71.dll in distribution.
31 - Add VSS to status line in Win32 FD if enabled.
32 - Get VSS build scripts working with Thorsten's help.
33 - Unlink the bootstrap file after sending it to
34   the FD.
35 - Remove sending include/exclude lists to the FD during
36   a restore -- deprecated code.
37 - Cleanup the bootstrap files in the FD.
38
39 Changes to 1.37.29:
40 14Jul05
41 - Remove old commented out code from configure.in
42 - Add baculavssfd.mak file for building VSS version of
43   Win32 FD.
44 - Correct date (year) in vss.cpp and vss_generic.cpp
45 13Jul05
46 - I finally found and squashed the elusive SD crash.        
47   I needed to initialize the used volume list before
48   firing off the device initialization thread.
49 Changes to 1.37.28:
50 11Jul05
51 - Make sure that bpipe results are zapped even on
52   error return.
53 - Lots of documentation.
54 - Do not prune volume marked as append when needing a
55   new Volume.
56 - Print a warning message in SD if a non-used Volume
57   is specified and autolabel not turned on.
58 - Correct a bug in chksum.c concerning SHA1 signatures 
59   (an * should have been & when checking for a bit flag).
60 - Print File:Block for all label records in label.c -- concerns
61   primarily bls when doing Job listings (-j).
62 - Correct is_volume_in_use() to return false if testing
63   on the same device where the Volume is already mounted.
64 - Define a init_done flag in the SD that is set when the
65   devices are initialized and make users connecting wait.
66   This prevents useless connect failure warning messages.
67 - Do additional device locking in ask_op_to_mount_volume()
68   to prevent race conditions with a user labeling a Volume
69   or autolabeling.
70 09Jul05
71 - Add a test for error return from bnet_wait... in heartbeat.c
72   in FD to avoid CPU loop.
73 - Implement TLS in gnome console and wx-console.
74 08Jul05
75 - Correct a NULL pointer reference in the mount command.
76 - Correct typo in Copyright
77 - Add detection of EOM for IBM drives (i.e. errno == ENOSPC)
78 07Jul05
79 - Remove temp file created in mtx-changer script.
80 - Make fsf_dev() into a class method.
81 06Jul05
82 - Modify mtx-changer.in script to return slot:barcode for
83   Volumes that are loaded in the drives.
84 - Correct some more places where dev->is_blocked() needs
85   to be checked in dircmd.c in SD.
86 - Update doc.
87 05Jul05
88 - Add code to ensure that reserved but unused volumes
89   are freed. 
90 - Correct how Volumes are mounted and handled so that the SD
91   does not get stuck if multiple volumes are used (recycling,
92   relabling, ...)
93 - Correct bug where you could relabel a volume while it
94   was being acquired -- created chaos.
95 04Jul05
96 - Correct seg fault caused by open() calling sequence change.
97 03Jul05
98 - Add new rc-chio-changer script by Rudolf Cejka to 
99   examples/autochangers
100 - Apply Rudolf's changes to bacula.in
101 - Expand the space from 8 to 10 characters in editing
102   file sizes for restore and dir of catalog, otherwise
103   GB sizes are truncated -- fixes bug report.
104 - Modify wx-console to know about 10 character widths.
105 - Allow decending into top level directory if "recurse=no"
106   is set.  Fixes a bug report.
107 - Install pthreadVCE.dll when installing console or wx-console
108   on Win32 systems. Fixes bug report.
109 02Jul05
110 - Tweak dvd-writepart script to prevent door from opening/closing
111   so much.
112 - Remove GROUP BY in several PostgreSQL commands to prevent error.
113   Resolves bug report.
114 - Ensure that < as first character of filename list is not treated
115   as a directory for restore.
116 - Add debug to heartbeat in FD as it seems to go into an
117   infinite loop from time to time during SD failure in DVD writing.
118 - Add more debug code to dvd writing.
119 - Attempt not to destroy existing fs on DVD. 
120 30Jun05
121 - Detect device mounted for DVD and suppress be sure to 
122   mount message after label.
123 - Set Cleaning tape status to "Cleaning" and force no
124   MediaType.
125 - Get DVD writing working with new standard Bacula open()
126   code.
127 - Rename get_filename() to make more sense.
128 - Detect "is already mounted on" on mount command so to avoid
129   error if device is already mounted.
130 - Eliminated guess_name() code. It may be necessary to
131   add it back later.
132 - Eliminate seg fault from printing invalid results.
133 - Make dvd_write_part() bool.
134
135 29Jun05
136 - Attempt to fix DVD writing by eliminating a number of the 
137   DVD subroutines to simplify.
138 - Modify DEVICE::open() to take dcr as first argument. This
139   will permit providing more info to DVD opening.
140 - Fix scanning for time/size items which in some cases
141   ate the next line.
142 - Eliminate read_dvd_volume_label().  New code (not yet written)
143   *must* open dvd appropriately before calling 
144   read_dev_volume_label.
145 - Modify open_first_part() open_next_part() to take DCR as 
146   argument.
147 - Make label command from console work on DVDs.
148 - Make mount command from console work on DVDs.
149   Unmount does not work yet.
150
151 Changes to 1.37.27:
152 27Jun05
153 - Add Database vendor to CatalogRes tuple for Python.
154 - Update doc
155 - Implement DoesVolumeExist(Vol) for Python.
156 - Prevent python command from seg faulting if no arg given.
157
158 Changes to 1.37.26:
159 26Jun05
160 - Add set_mode method in DEVICE.
161 - Correct set_mode method in DEVICE
162 - Add more DVD debug info 
163 23Jun05
164 - Check for incorrect duration and size modifiers in conf files.
165 22Jun05:
166 - Make Version a tuple (version, build-date)
167 - Add CatalogRes tuple (DBName, Address, User, Password,
168     Socket, Port)
169 - Add Version, ConfigFile, and WorkingDir as Python attributes
170   in the Director.
171 - Implement code (principally for Win32) that on failure to
172   create a file, it will cd into the directory and attempt
173   to create the file using a relative path. This avoids creating
174   files with paths which fail on Win32.
175 - Fix parsing of times and sizes with decimal numbers.
176 - Make free_volume_list() in SD work if vol list is not
177   initialized (./bacula-sd -t).
178 21Jun05:
179 - Add debug error printout when open() fails.
180 - If open() of DVD fails in mount.c, return false.
181 - Split open() code for DVD into separate subroutine in dev.c
182
183 Changes to 1.37.25 released on 20 Jun 05:
184 20Jun05:
185 - Remove (cd gnome-console; make clean) from src/Makefile.in
186 - Fix bug where Storage daemon gets confused about what
187   tape is mounted. (one line of code was inadvertently 
188   deleted).
189
190 Changes to 1.37.24:
191 18Jun05
192 - DVD writing/reading seems to be mostly working.
193 - Set execute bits on dvd-freespace and dvd-writepart
194 - Make dvd-freespace use existing dummy file.
195 - Modify dvd-freespace to pickup size from Track Size:
196 16Jun05
197 - Add Date, Job, level to updates to .bsr file in 
198   dird/backup.c
199 - Add debug info to dvd-freespace.in
200 - Fix hard coded bacula.sql in make_catalog_backup reported
201   by a user.
202 - Make sure a verify volume to catalog never reports an error
203   if there are zero files to verify.
204 - Remove confusing debug info in filed/backup.c on network
205   error.
206 - Make sure output from console is not sent to system log.
207 - Convert open_dev() into a class method.
208 - Change VolHdr.VolName to VolHdr.VolumeName.
209 - Add a flag in the device state word to indicate that
210   we found Media in the drive (DVD). 
211 - Make mount_dev() and unmount_dev() return bool.
212
213 Changes to 1.37.22:
214 14Jun05
215 - Fix the same state variable problem in open_next_part().
216 - C++ify the SD code a bit more.
217 13Jun05
218 - Add more debug code and clarify debug code for DVDs.
219 - Do not save and restore state in open_first_part() 
220   since state should be properly set after open_dev().
221 - Make default mandir /usr/share/man
222 - Install Bacula man page.
223 - Implement passing of FileSet Enable VSS to FD.
224 - Move main body of reserve drive code into subroutine
225   so that it can be called multiple times.
226 12Jun05
227 - Eliminate getpass() for Win32 builds in console as the
228   function does not exist.
229 10Jun05
230 - Correct some reservation problems in SD when no devices
231   are available.
232 - Start removing #ifdef HAVE_TLS by sneaky tricks.
233 - Begin implementation of TLS in wx-console
234 - Remove ignoring SIGCHLD from console.
235 - Rework the dlist binary search routines for implemenation
236   of the Volume reservation code -- make it more general.
237 - Strip double slashes // from Win32 filenames in an attempt
238   to resolve restore problems on some systems.
239 - Fix a minor bugs in the trace code that caused the first
240   line output to be lost.
241 - Implement a good first cut at adding Volume reservation code
242   to the storage daemon (in file reserve.c).
243 - Remove old unused code from the tree.c routines.
244
245 Changes to 1.37.21:
246 06Jun05
247 - Fix compile problems on Win32
248 - Start writing Volume reservation list (already exists, but
249   is not really very good).
250 - Implement attribute caching to put Signature into database     
251   at the same time as the file attributes thus eliminating a
252   number of database accesses.
253 - Correct a reservation problem.
254 - Implement full Dir Storage use.
255 - Reduce a bit of TLS #ifdeffing.
256
257 Changes to 1.37.20:
258 04Jun05
259 - Minor changes
260 01Jun05
261 - Add more documentation to mtx-changer.in
262 - Correct link to manual in authenticate.c in various
263   directories.
264 - Create a new src/stored/reserve.c file where the 
265   Use Storage command is processed and drives are
266   reserved.
267 - Modify src/stored/autochanger.c to keep track of each
268   Slot that is loaded for each device.
269 - Ensure that changer_command and changer_name are picked
270   up from Autochanger resource if not specified, and if
271   neither is specified, err.
272 30May05
273 - Fix bextract.c compile problem
274 - Create bacula.man 
275 - Make make distclean clean a bit better
276 29May05
277 - Remove old code in jcr.c
278 - Make testls release jcr chain when terminating.
279 27May05
280 - Implement Maximum Job Spool Size (actually DCR based)
281 26May05
282 - Use light weight non-recursive locking on jcr chain.
283 - Make JCR a class and implement inc_use_count() and
284   dec_use_count() methods that ensure that the jcr is
285   locked when inc/dec the use count.
286 - Remove the global jcr lock when traversing the jcr
287   chain.   
288 - Use dlist to implement the jcr chain rather than hand
289   crafted next and prev links.
290 - Lock the jcr chain inside each function that modifies
291   the chain.
292
293 Changes to 1.37.19:
294 26May05
295 - Fix compile problem of ua_restore.c on broken compilers.
296 - Apply patch from bug 326 to permit bacula status by any user.
297 - Fix bug 325 -- conversion of 12:30pm to 24hour time.
298 25May05
299 - Put Dmsg() on inside if() to avoid calling subroutine.
300 - Make restore.bsr have unique name.
301 - Allow user to define bsr filename on restore command line
302   with bootstrap=xxx.bsr
303 - Add limit=nnn to "list jobs" command.
304 - Remove old restore code that did not use .bsr file.
305 - unlink automatically generated bsr file.
306 - Cleanup heartbeat code so that duped fd is almost sure
307   to be released. Previously under certain conditions, the
308   memory was not released due to race conditions.
309 - Shorten copyright.
310 20May05
311 - Unify the reserve_device() for a single device into one subroutine.
312 18May05
313 - Modify wait during use_device to happen only after all devices
314   have been examined rather than in the reserve_device code.  
315 - Correct updating count of number of Volumes in a pool.
316
317 Changes to 1.37.18:
318 16May05
319 - Add more debug to SD for Autochangers + status output.
320 - Add Scratch to PoolType in PostgreSQL make...tables and do not
321   permit NULL PoolTypes. Fix for bug 319 reported by Eric.
322 - Update LICENSE.
323 - Add quotes around filename in parse_config error message. Bug
324   reported by Eric.
325 15May05
326 - Change nested \include to \input so that sections are properly
327   included in the pdf manual -- update the Web site.
328 - Set reconnect flag in MySQL packet to 1 to ensure that connection
329   is re-established.  MySQL 5 changed default to 0. Fixes bug report.
330 - Fix Scratch pool handling as reported in a bug by Eric Bollengier
331   by applying his patch.
332 - Remove delete job in favor of delete jobid.
333 - Add = NULL to configfile definitions as reported by Eric in a bug
334   report.
335 - Update winbacula.nsi.in to reflect new manual file structure.
336 10May05
337 - Correct a minor build problem with wx-console.
338 - Add cancel() to Dir Python scripting.
339 - Re-correct bug in parse-config error handling.
340 - Reorganization of use_command in SD to permit
341   waiting and multiple drive autochanger support.
342 09May05
343 - Correct bug in parse_config error handling.
344 - Where ever possible mark a volume in error or not   
345   InChanger in mount.c
346 - Fix bug in changing tape pools after first backup. Reported
347   by Peter Sjoberg.
348 - Enhance mtx-changer to use Working Directory as temp.
349 - Remove all but initial setup locking of Res in SD.
350 08May05
351 - Add Client OS type to Job report.
352 - Add version to manual 
353 - Update the Web site to have a single page for
354   the documentation links.
355
356 Changes to 1.37.18 release 08May05:
357 08May05
358 - Correct attribute definition compile error in 1.37.17
359 - Correct inverted order of CreateTime and MD5 pointed out
360   by a user in a bug report in FileSet db routine causing
361   the MD5 to print in the output instead of the time/date.
362
363 Changes to 1.37.17:
364 07May05
365 - Implement cstrlen() in sql list routines.
366 - Implement caching of attributes to add the        
367   signature so that only one DB call will be made
368   per file. Not yet turned on.
369 - Fix Win32 build for TLS.
370 - Optimize File pruning to eliminate one database call. 
371 - Fix bug that prevented File pruning from working.
372 - Implement a cstrlen() which returns the character
373   length of a UTF-8 string.
374 06May05
375 - Move test for MaxStartDelay as suggested by Peter.
376 - Implement Python methods (I had to read the Python source
377   code).
378 - Implement run() method in Director.
379 - Add Priority and Scheduled time to Job report.
380 - Add JobInit and JobRun events.
381 - Add Priority as Python read/write attribute to Job.
382 - Correct typo in bsmtp reported by Jo.
383
384 Changes to 1.37.16 released 05May05
385 03May05
386 - Make a few tls ifdef tweaks.
387 - Fix create_file.c Win32 problem pointed out by
388   Peter Sjoberg.
389 - Fix really ugly bstrncpy() but found by Thorsten.
390 - Move winapi.h/c from findlib to lib for inclusion in 
391   multiple places.
392 02May05
393 - Thorsten Engel finished his work on Win32 Unicode. We
394   now have a single executable that runs on all Win32 machines.
395 - Move job initialization code after job scheduling so that
396   Verify jobs check for the prior JobId after they are really
397   started rather than before.
398 - Fix lib/fnmatch.c so that it does proper testing before folding.
399 - More documentation -- at tls and ansi labels chapters.
400 - Fix fileset_convert.pl to handle empty Exclude statements.
401 - Turn regex back off in Win32
402 01May05
403 - Fix sign extension problem in lex.c that reads UTF-8 
404   with Chinese characters incorrectly.
405
406 Changes to 1.37.14:
407 30Apr05
408 - Remove a few HAVE_TLS #ifdefs
409 - Implement final Python style interface. More implemention to
410   be done, but the interface should change little if at all.
411 28Apr05
412 - Make default no tls support. You must add 
413   --with-openssl to get tls support.
414 27Apr05
415 - Update Web header to include google search in the search
416   box -- thanks to input from Michel Meyers.
417 - Fix md5sum so that it builds with the new openssl stuff.
418 - Take some enhancements to the md5sum test program proposed
419   by a user.
420 26Apr05
421 - Make option 2 of restore work better (list last 20
422   locations for a file).
423 - Make SD re-open a device with the right permissions if
424   it was previously opened with something different.  This
425   should allow reading read-only Volumes under all circumstances.
426 - Implement restore of a single directory.
427 - Apply Tru64 patch supplied by Pascal Pederiva <freebsd@paped.com>
428 - Apply Unicode fixes for Win32 from "Thorsten Engel" 
429   <thorsten.engel@matrix-computer.com>
430 - More work on Python read feature in FD.
431 22Apr05
432 - Fix (hopefully) the ftello() overflow reported by Peter.
433 - Landon Fuller committed his TLS patch.
434 - Fixed two minor warnings in console.c with TLS turned off.
435 - Updated the Makefile.in for wx-windows and tray-monitor
436   to handle TLS. I can only build the tray-monitor.
437 - Fix bscan to open tape in read-only mode (actually fix
438   it so that it doesn't use the standard open routine).
439 - Correct what appears to be an error in setting the
440   return value in dvd.c
441 21Apr05
442 - Get FD Python running -- design Python backup interface.
443 - Fix seg fault in SD when referencing Alert Command.
444 - More documentation.
445 - Fix one more thing in Win32 build.
446 20Apr05
447 - Doc updates
448 - Fix Win32 build
449 - Put in production here
450
451 Changes to 1.37.13:
452 19Apr05
453 - Fix SQLite and PostgreSQL table creation script syntax
454   problems.
455 - Fix new Python code to work for Director.
456 - Move lib/python.c to lib/pythonlib.c so that debug output
457   is easier to read (can distinguish lib from dird, ...).
458 - Cleanup Python build so that Python is not dragged
459   into programs that don't use it.
460
461 Changes to 1.37.12:
462 18Apr05
463 - Make Bacula build without Python
464 - Drop Status table in drop_ scripts -- bug 283.
465 17Apr05
466 - First cut of new Python implementation.
467 - Doc updates
468 - Correct SuSE autostart installation directory name --
469   supplied by a user.
470 - Fix director crash if Name directive not supplied
471   in a Job.
472 - More cleanup of changing %u to %s for DB IDs.
473 - Replace dev_can_write(dev) with dev->can_write().
474 11Apr05
475 - Make fsr_dev() a method dev->fsr()
476 - Remove Created new FileSet message as it always comes out in
477   the daemon messages.
478 - eliminate dev_is_tape() in favor of method dev->is_tape()
479 - Turn on disk seeking during restore for Disk Volumes. This
480   required some changes to bscan -- they seem a bit suspect as
481   they are not symmetrical for tape/files.
482 - Remove some of the recursion in stored/parse_bsr.c
483 - Move rescue out to a new Bacula project.
484 08Apr05
485 - Update of web site to replace old released doc with LaTeX 
486   version.
487 - Replace logo in doc with new bat logo.
488 - Make a good number of updates to the manual.
489 - Implement Python scripting using a Python object.
490   This makes interfacing with Bacula cleaner (object
491   oriented).
492 - Add Phil's Status table to the database -- used
493   for getting a text description of the status     
494   codes.
495 - Modify FileSet so that an empty Options (no
496   pattern matching) with an exclude will exclude
497   all files.                       
498 - Modify FileSet so that no top level included File
499   item can be excluded by a matching pattern.
500 - Suppress Created new FileSet record in daemon output.
501 - Implement Python in FD.
502 - Turn off old bfile reader code -- to be replaced
503   by Python.
504 05Apr05
505 - Remove more recursion in src/dird/bsr.c as pointed out
506   by Peter.
507 04Apr05
508 - Increase the index width of Filename and Path entries
509   to 255 chars -- suggestion of Meno Abels.
510 - Change remaining VARCHARS to TINYBLOBs.
511 - Remove recursion from is_volume_selected() following
512   bug report from Peter.
513 - Implement mostly correct handling of use_storage in the
514   SD with full lists, ...
515 02Apr05
516 - Reset NumVols in Pool record from database on every update
517   Pool.
518 - Modify DB to support multiple simultaneous copies and
519   RAIT stiping.
520 - Pass copy and stripe between DIR and SD and put into
521   the JobMedia DB record.
522 - Update and test SQLite and MySQL datebase creation and
523   update scripts.
524 - Implement version 9 of the DB.
525 31Mar05
526 - Convert more atoi to str_to_int64() for DB.
527 - Implement filling in NumVols by querying DB rather
528   than trying to keep track of it.
529 - Add storage name to string passed to in use storage=
530 - Fix newVolume() so that the Python script is always
531   called.
532 - Fix handling of pool,PoolId, and storage in ua_output.
533 - Same fix in ua_status.c
534 - Remove required locking of resources
535 - Replace pthread_cond_signal() by pthread_cond_broadcast()
536   hoping to fix the /lib/tls hang problems (lost signal).
537 - Move resource locking seaching from parse_conf.c to res.c
538   in src/lib.
539 - Modify end of volume handling so that fixup_... does not
540   redo what block.c has already done -- writing Vol info to
541   DIR. This fixes a bug with bad numbers of files on a tape
542   when it filled as reported by Peter.
543 - In release_device() do not update the DIR on the Volume
544   info if the the information was already written at the
545   end of the tape.
546 28Mar05
547 - NOTE!!!! This version has a new DIR <--> SD protocol. Both 
548   must be updated at the same time.
549 - Begin implementation of passing all the Storage and Device
550   possibilities to the SD for examination during the reserve 
551   phase.
552 - Modify the reserve and acquire code in the SD to make a 
553   job wait if the device is not available.
554 - Implement New Volume Each Job in DIR and pass to SD, not yet
555   used.
556 - Remove init/update of the Device resource in DIR
557 - Remove passing PoolId to SD and back.
558 26Mar05
559 - Remove \a and -e from error echos in most Makefiles.
560 - Add more debug code when there are errors on the tape 
561   to try to find Peter's tape problem.
562 - Add wait.c (oops forgot previously).
563 - Move all the reserve/acquire_device_for_read/append to have
564   only a DCR as the argument.
565 - Rework the reserve_device_for_append() in stored to wait
566   if the drive is not available.  Note! This is a short
567   term solution.
568 25Mar05
569 - Comment out Multiple Connections in the document.
570 - Move the P() and V() to subroutines so that they can be accessed
571   from class methods. The reference to strerror() caused problems.
572 - Implement new DEVICE class methods block() and unblock() that
573   do what was previously done in 3 lines of code.
574 - Implement wait_for_device(), which will wait for any device
575   to be released then return. This requires a new global mutex
576   and condition variable, and is implemented in src/stored/wait.c
577 - Change the code in reserve_device_for_read(), which previously
578   failed the job to use the new device wait code.
579 22Mar05
580 - Apply reschedule patch to 1.37 code.
581 - Add copyright to title page of manual so it is clear.
582 - Create patch for rescheduling problem found by Ludovic. Storage
583   pointers were lost during rescheduling.
584 - Attempt to fix 2.6 rescue disk -- failed!
585 - Start working on adding a wait routine in the SD.
586 - Cleanup some old invalid doc in watchdog.
587 - Convert a number of references to dev->dev_name to dev->print_name().
588 - Add new wait.c file to SD.
589 - Add a few more methods to DEVICE in SD to cleanup code a
590   bit -- implement a few of the methods.
591 18Mar05
592 - Fix more print_name()s for printing device name.
593 - Modify open_dev to try 10 times every 6 seconds to
594   open the device if it gets an I/O error (meaning no
595   volume mounted). This gives a bit of settling in time
596   for an autochanger and avoids spurious messages.
597 - Change all yes/no to yes|no in the manual.
598 - Fix win32 create_file.c typo.
599 - Fix a typo in an error message.
600 17Mar05
601 - Detect if fseeko exists with autoconf. If so, use it 
602   and ftello.
603 - Remove old bacula-*.conf from examples directory (out
604   of date).
605 - Remove latex-fr index files from CVS.
606 - Rewrite code that stops reading the tape so that the
607   tape is marked at EOT, then once the work is done,
608   the EOT flag is removed.
609 - Flush output to file after every send in console.
610 - Make setting VolFiles to smaller number fatal.
611 - Disable Multiple Connections code.
612 - Add patch from user for NetBSD statvsfs() fix to
613   fstype.c
614 - Take more care with errors in acquire.c
615 - Don't run through dvd code in append.c if bad status
616   returned.
617 - Modify code so that an autochanger fault is fatal.
618 - Use dev->print_name() in more places.
619 - Implement dev->can_steal_lock() to simplify code.
620 - Make btape re-read first 10000 records on fill command.
621 - Check error return and fail job from fseeko and ftello
622   in spool.c.  Don't let a -1 slip in as size.
623
624 Changes to 1.37.7:
625 15Mar05
626 - Apply NetBSD patch from kardel in bug 258.
627 14Mar05
628 - Add a second job and a second client to the default
629   bacula-dir.conf file.
630 - Remove old style Include/Excludes.
631 - Fix ANSI labels to put EOF1 and EOF2 after each file mark.
632 - Add Python to SD and FD.
633 12Mar05
634 - Implement IBM labels
635 - Implement EOF and EOV labels at the end of a volume.
636 - Fix a rather ugly problem with the PoolId not getting
637   passed correctly. Now the DIR passes the Pool name and
638   Media Type to the SD, who passes them back when requesting
639   the next Volume. The DIR then looks up the correct PoolId.
640   This takes more time, but always works, AND allows wild
641   card Media Types (i.e. the SD can decide).
642 - The DIR <==> SD protocol has changed.
643
644 Changes to 1.37.6:
645 11Mar05
646 - Fix scanf of PoolId in catreq to handle 64 bit Ids.
647 10Mar05
648 - Add new ua_update.c file and move update_cmd there.
649 - Modify "update slots" to obtain actual number of slots.
650 - Tweak autochanger code to handle new slots request.
651 - Modify autochanger code to lock/unlock around slots and
652   update slots code.
653 09Mar05
654 - Patch the FD so that it does not issue an error message if
655   it attempts to restore the permissions on a Win32 drive.
656 - Edit "Resource-name" (physical-name) for the device name
657   everywhere in the SD.
658 - Remove .linked.tex files in preparation for cutover to
659   using .tex in place of .wml.
660 08Mar05
661 - Copy latest config.sub and config.guess from autoconf.
662 - Try new way of identifying drives with:
663    "resource-name" (physical-name)
664   More work need to a complete conversion.
665 07Mar05
666 - Rework some of the autochanger data so that the DIR has   
667   the number of drives.
668 - Modify the way the Device info is returned so that it comes
669   back as a special message type and can be sent anytime the
670   Device status changes.
671 - Copy the change name and changer command into the device
672   record if none is specified.
673 - Require the change command and changer name to be specified in
674   and AutoChanger resource.
675 - Force all the Media Type records of all devices in an Autochanger
676   to be the same.
677 06Mar05
678 - Add new "run" command to Job resource in DIR. This permits
679   cloning a job as many times as you want.
680 - Pass PoolId to SD on Query request. It is now used in the
681   Find_media catalog request.
682 - Reworked the Device resource in the DIR. Eliminated num_waiting
683   and use_count, but added max_writers, reserved, and PoolId.
684 - This DIR is nolonger compatible with previous SDs.
685 - Add since and cloned keywords to the Console run command
686   to support cloning.
687 - Implemented store_alist_str() to allow multiple string items
688   to be specified in a .conf file.
689 - Added %s (since time) to Job code editing.
690 - Reworked reserving drives in the SD. It now does it much simpler
691   and correctly. 
692 05Mar05
693 - Integrate HP-UX patch from  Olivier Mehani <olivier.mehani@linbox.com>
694 - Fix FD job.c to test correctly for no level.
695
696 Changes to 1.37.4:
697 04Mar05
698 - Change Developers to Developer's Guide as requested by Michael.
699 - Fix developers link in manual
700 - Add additional dcr changes in SD to allow multiple dcrs.
701 02Mar05
702 - Fix a few problems with the MySQL table create in 1.37.
703 - Delete the new tables in the table delete files.
704 - Increase the number of items permitted in a conf table.
705 - Make Director loop over alternative Devices specified in the
706   Storage resource until one is reserved by SD.
707 - Fix storing of StorageId in Media records.
708 - Add AutoSelect = yes|no in bacula-sd.conf
709 - Add Autochanger support to Label command.
710 - Do not autoselect devices with autoselect set false 
711 01Mar05
712 - Implement setting DIR Storage device to Autochanger
713   name. 
714 - Select first available device in Autochanger.
715 - Pass back actual device name used.
716 - Allow Query of AutoChanger.
717 - Modify Query to include name of AutoChanger if 
718   Device belongs to one.
719 - Remove old Pool code in jobq.c
720 - Add Autoselect flag to query and DEVICE class (still
721   need Directive).
722 28Feb05
723 - Lock autochanger script when running.
724 - Mark Volume not InChanger if correct volume is not     
725   autoloaded.
726 - Corrected some typos in the make_xxx_tables.in files.
727 - Made preliminary split of pre-run and run code for each
728   job type. This will permit early opening of SD for reserving
729   drives.
730 - Add offline and autochanger fields to Device Query record.
731 - Correct pthread_mutex_init() for autochanger in SD.
732 - Tweak Makefile for LaTeX manual, plus add nav buttons.
733 26Feb05
734 - Clean up drive reservation system. Add more sanity checks.
735 - Implement a few more methods for the DEVICE class in SD.
736 - Add latex directories to make clean
737 - move DEV_BSIZE to B_DEV_BSIZE to avoid conflicts with
738   certain header files (FreeBSD).
739 24Feb05
740 - Fix an ASSERT that was triggering in stored/acquire.c
741   attempt to fix a bug report.
742 23Feb05
743 - Corrected SunOs to SunOS in btraceback (user submitted).
744 - Applied patch from Roger HÃ¥kansson <hson@ludd.luth.se>
745   to warn the user of defective AWKs during ./configure.
746 20Feb05
747 - Add some changes submitted by a user for HP client build.
748   Not all changes accepted.
749 - Rework code in filed/backup.c to ease #ifdefing and make
750   program flow more obvious.
751 - Split DVD code out of dev.c into dvd.c
752 - Tweak #ifdefing to add back all the performance measurement
753   #defines in version.h
754 - Put most of MTIOCGET code in a subroutine to simplify the
755   mainline code.
756 - Make clean remove old CVS files
757 - Remove unnecessary image files from Latex directory
758 - Implement remaining parts of Storage DB record and
759   its use in the Director.
760 - Implement
761   FullMaxWaitTime, Differential Max Wait Time, and               
762   Incremental Max Wait time in Job resource.
763 - Start work on SD Autochanger code.
764 19Feb05
765 - Add back JobId index for MySQL as default -- speeds up 
766   pruning.
767 - Add more database fields and fix the update scripts to
768   include the new items.
769 - Pass actual level to FD so that ClientRun editing can reflect
770   correct level -- ditto for job status. This makes the DIR
771   incompatible with older clients!
772 - Move jobq.c acquire resources to static subroutine so that
773   the code logic becomes clearer. This is in preparation for
774   actually using the new Device resources.
775 - Fix some lower case problems in sql_cmds.c reported by
776   Debian.
777 - Correct a seg fault in the SD reported by a user. Occurred
778   only when a high debug level was set.
779 - Modify init_dev() in dev.c to take JCR as first arg so that
780   proper error messages can be reported in next item.
781 - Modify the query and use device SD commands to attempt to
782   open the device if it could not previously be opened.
783 - Correct error message for Could not reserve device.
784 - Correct some minor details with Autochanger resource in SD.
785 18Feb05
786 - Fix seg fault if debug level 900 set in SD.
787 - Truncate Win32 child return code to 8 bits.
788 - Remove some old lld's.
789
790 Changes to 1.37.3:
791 16Feb05
792 - Make another attempt at fixing the ClientRunXXX return code 
793   bug on Win32 machines.
794 - Apply ua_status patch from Carsten Paeth <calle@calle.in-berlin.de>
795   which enforces console ACLs in the status command for Jobs.
796 15Feb05
797 - Fix Media LabelDate and FirstWritten to be correctly set.
798 - Fix deadlock in multiple simultaneous jobs.
799 - Fix tape "truncation"/"number of files" after restore bug.
800 10Feb05
801 - Ensure that correct error messages are returned when
802   reading an ANSI label.
803 09Feb05
804 - Modified ANSI label code to preserve any ANSI label 
805   already found by skipping over it rather than rewriting
806   it.
807 - Split the ANSI label code into ansi_label.c
808 - Do not let user relabel an ANSI labeled tape.
809 - Applied a patch for the console help command supplied
810   in a bug report. 
811 - Added some new dev methods. Most notably was
812   set_eof(), which handles setting all the dev variables
813   when an EOF is just read. This is now used most everywhere
814   in the code.
815 07Feb05
816 - Added code to detect that no files were inserted into the 
817   tree for a restore. If a specific JobId was specified, the
818   user has the option of restoring everything.
819 - More progress in implementing 64 bit DB Ids.
820 - Modified the daemon start messages for RH.
821 - Implement update scripts for all database types.
822 - First cut at implementing restore directory (it will not
823   recurse).
824 04Feb05
825 - OK, I think ANSI labels work.
826 - Added Label Type = ANSI|IBM|Bacula to Device resource in SD.
827   If this is set, it will force writing of the appropriate
828   label type.
829 - Added Check Labels = yes|no to Device resource in SD. If this
830   is set, Bacula will check for ANSI labels and accept them,      
831   otherwise, ANSI labels will not be accepted when the tape
832   is first mounted.
833 02Feb05
834 - Second cut ANSI labels.
835 01Feb05
836 - Merge Preben's patch for ACLs and for Mac OS X resource forks.
837 - Some doc updates.
838 - Display more informative message when a device was not
839   found or could not be opened.
840 - Add the sqlite3 database scripts. 
841 - Add some patches for 1.36.1 (note, I have now prepared
842   a 1.36.2 with all the patches and some new features --
843   to be documented).
844 - Some minor doc updates.
845 - Add Arno's baculareport.pl script to the examples directory.
846 29Jan05 -- after vacation
847 - Add support for SQLite3 (it seems to run at 1/2 the speed
848   of SQLite2).  Use --with-sqlite3 instead of --with-sqlite
849   to get SQLite3.
850 - Add target for running qemu to boot Rescue CDROM
851 - Add code to support kernel 2.6 in Rescue CDROM -- does NOT yet
852   boot correctly.
853 - Implement ANSI labels -- not yet tested.
854   This required changes to DB format. No upgrade script yet.
855   Note, more work needed to modify "update" command to handle
856   changing label types, also must restrict volume name lengths
857   to 6 characters.
858 - Add new Device, Storage, and MediaType records to DB. No
859   upgrade script yet.
860 - Add MediaType to bsr file record types. Not yet used in SD.
861 - Permit multiple device specifications in Storage resource in 
862   Dir conf file.
863 - Implement Device resources. Director requests Device resource
864   info from SD on startup. 
865 - Note!!!! DIR->SD incompatible with previous versions.
866 - Remove multiple Storage definitions in Job resource.  One can
867   still specify multiple Storage resources, but they all go into
868   a single alist, and imply sending data to each Storage daemon 
869   simultaneously.
870 - Implement Device query command between DIR and SD.
871 - Allow DIR to "reserve" a Device. It will then be acquired
872   when the FD connects to the SD.
873 - Turn all DIR resources into classes, and implement a few class
874   methods -- more to come.
875 - Turn DEVICE in SD into a class, and implement a number of inline
876   class methods -- more to come.
877 - I had serious problems with ACL errors on my Laptop, and so had
878   to add the following patch:
879   @@ -181,7 +181,7 @@
880       }
881       /***** Do we really want to silently ignore errors from acl_get_file
882         and acl_to_text?  *****/
883   -   return -1;
884   +   return 0;
885    }
886 - Added edit_int64()
887 - Reworked and tested a bit the htable routines.
888 - Major changes to SD acquire.c -- DIR can now reserve devices. Needs
889   lots of testing!!!!
890 - Made a special state code for DVD -- this simplifies the logic
891   of the code, but I probably broke it. Testing needed!!!!
892 - Add AutoChanger resource to SD, but not yet used.
893
894 Changes to 1.37.2:
895 12Jan05
896 - Integrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
897   acl patch. Fix case where configured but no ACL exists.
898   Rework calling arguments to be shorter and positioned
899   more typically in Bacula usage.
900 11Jan05
901 - Fix scripts/bacula.in to have awk on an environment variable
902   and add comments for Solaris users.
903 - Turn off inet_aton in src/lib/address_conf.c for Win32
904 - Add new files to win32 build and eliminate a compiler warning.
905 - Add sample DVD Device resource to bacula-sd.conf
906 08Jan05
907 - Integrate Nicolas' patch for direct DVD support.        
908 07Jan05
909 - Fix fstype error returns.
910 - Apply Preben's cleanup.patch which puts back much of the
911   cleanup code in src/filed/restore.c
912 06Jan05
913 - Apply all of Preben's patches, but revert to old backup.c
914   and old restore.c in filed. Also turn off code in new
915   acl.c because of errors.  The new code, when fully implemented
916   moves platform specific code into acl.c.
917   One of the patches also implements WildFile and WildDir -- thanks.
918 01Jan05
919 - Implement Python in the SD (no events yet though).
920 - Fix some typos in the previous commit.
921 30Dec04
922 - Enhance CDROM boot to include some documentation at boot time.
923 - NOTE!!!!! The CDROM will not boot 2.6 kernels because the
924     boot sequence has changed significantly. Updates to come
925     later.
926 - Add memtest option to CDROM boot.
927 - Include Nicolas' changes to fix llist JobMedia records.
928 - Make sure that ClientRunBefore/After messages from the program
929   are terminated with a newline. Add strerror to output error
930   messages.
931 - Return program exit status code in Win32.
932 29Dec04
933 - Add memtest86 to Bacula Rescue disk
934 - Enhance Rescue disk startup screen
935 24Dec04
936 - Move some variables to eliminate Solaris 2.6 compiler warnings.
937 - Fix the seg fault at the end of a job in the FD when using
938   old style include/excludes.
939 22Dec04
940 - Apply Preben's ACL patch.
941 - Integrate Preben's restore patch.
942 - Integrate Preben's verify teaks.
943 - Fix doc/latex/Makefile to copy/remove .eps files when building
944   html and web outputs.
945 21Dec04
946 - Fix Bacula so that it does not exit if there is a syntax error
947   in its conf file during a reload command. Bug 182.
948 - Apply fixes suggested for old Solaris networking.
949   Fixes bug 190.
950 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
951   three patches that clean up white space:
952   ws.patch.02.strings:
953     Breaks strings that span lines into concatenated strings. I am not sure
954     if you like this one. Other code works with concatenated strings, though.
955   ws.patch.03.trailing:
956     This removes trailing whitespace. No changes resulted from this for
957     my setup.
958   ws.patch.04.leading:
959     This replaces space runs at the start of line with tabs. No changes
960     again.
961 - Fix overriding storage specification to be done
962   through a subroutine.
963 - Fix autoconf so it runs with FC3. 
964 - Add Python4.3 to configure search paths.
965 - Always copy and delete storage definitions into jcr.
966 - Check that VolumeName supplied by Python is valid. 
967   Return 0 if not.
968 19Dec04
969 - Fix undefined in non-Python build.
970 - Update rescue disk to include mkinitrd
971 - Fix umount_drives in rescue disk (only one arg to umount)
972 - Ensure that if SD is manually set in Console, it is used.
973 - Put generate_event on pointer and plug it in init. This
974   permits using it in /lib
975 - Correct despooling size reported to be Job specific rather
976   than for the whole drive.
977 18Dec04
978 - Fix bug 207. jcr use count off by one when manually
979   scheduling jobs.
980 - Remove FNMATCH test in configure.in and always use
981   the one in our library to get the FN_CASEFOLD GNU
982   extensions on all platforms.
983 - While using the rescue CDROM after my computer would not
984   boot, I realized that it would be very useful to have
985   a umount_disks. So, it is not implemented, along with
986   updates to the READMEs and some minor tweaks.
987 - Moved mounting the CDROM in the rescue boot from /cdrom
988   to /mnt/cdrom (more standard location).
989 - Reboot in CDROM rescue should now work -- requires -d
990   option (no write) to work.
991 - Hopefully fixed all the IPV6/4 problems and buffer
992   problems with networking in lib. Bugs 190 and 204.
993   Cleaned up a lot of #ifdefing problems by using routines
994   in address_conf.c
995 17Dec04
996 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
997   alist fix patch.
998 - Remove duplicate code from chksum.h (mentioned by Preben).
999 13Dec04
1000 - Integrate Tim Oberfoell <oberfoell@web.de> patch to ACLs
1001   to handle both the "standard" and "default" ACLs.
1002 12Dec04
1003 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1004   three cleanup patches (btest, verify, find).
1005 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1006   three cleanup patches (backup, chksum, and verify)
1007 09Dec04
1008 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1009   patch to avoid doing MTIOCGET on OSes that do not support
1010   it such as OpenBSD.
1011 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1012   patch to add filesystem type matching to FileSets in the
1013   Options resource.
1014 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1015   patch to add Mac OSX resource fork support (save/restore)
1016   to Bacula -- HFS Plus support.
1017 - Add FileSet to client Job listing query.
1018 06Dec04
1019 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
1020   patch to backup directories skipped (due to no file system
1021   changes or no recursion), and to add a slash to the end
1022   of the directory name during the match process.
1023 - Implement Jamie ffolliott <jamieff@inline.net>
1024   patch to dird_conf.c that enables Multiple Connections and
1025   fixes a typo in show. The rest of his patch awaits my suggested
1026   changes.
1027 05Dec04 
1028 - Implement run command in Python
1029 04Dec04 
1030 - Implement conversion of the manual, and some minor
1031   tweaks to the script tags.
1032 - Apply a patch supplied by Preben 'Peppe' Guldberg that implements
1033   ignore case in wild cards and regexes.
1034 - Fix a truncated line in the above patch due to my cut and paste.
1035 03Dec04
1036 - Fix it so that the InChanger flag is only changed for Volumes
1037   in the same Pool.
1038 - Add PIDOF configuration path and apply to bacula.in
1039 - Add user supplied patch to add inet_aton() of old Solaris
1040   systems.
1041 - Require pools to match before allowing multiple simultaneous
1042   accesses to same storage resource.
1043 - Add patch supplied by Martin to correct buffer overrun in
1044   bsnprintf() with no library snprintf().
1045 02Dec04
1046 - Apply user supplied patch that implements No Hard Links.
1047 - Document Python interface
1048 - Add hardlink keyword patch supplied by David R Bosso <dbosso@lsit.ucsb.edu>
1049 01Dec04
1050 - Fix non-python prototypes in dummy routines.
1051 - Add python 2.3 to config search list (user submitted patch)
1052 - Add JobStatus to Python variables.
1053 28Nov04
1054 - Add "python restart" command in Console.
1055 - Make built-in variables table driven.
1056 - First cut of Python Events for Bacula. Director only.
1057   StartJob, EndJob, NewVolume events.
1058
1059 Version 1.36.1 Released 26Nov04:
1060 24Nov04
1061 - Take Dan's fix to the fix_postgresql_tables (thanks Dan)
1062 - Increase Maximum Concurrent Jobs to 20 in SD and FD!
1063 - Fix improper handling of autochanger Volumes that are not
1064   marked InChanger. Bug 170.
1065 22Nov04
1066 - Update authentication failure message to indicate possible
1067   problem with Maximum Concurrent Jobs. Add to doc too.
1068 - Commit PostgreSQL BIGINT fix -- apparently some people didn't
1069   get it.
1070 - Do not use a slot unless it is InChanger in the autochanger
1071   code, otherwise autochanger gets upset not finding the Volume.
1072   Bug 170 (need fix above too).
1073 21Nov04
1074 - Make authentication timeout compile time configurable.
1075   The value is set in src/baconfig.h
1076 - Fix removing items from watchdog queue, which apparently
1077   screwed up if there was more than one item.
1078 - Rework mediaformat part of manual to separate out old
1079   tape format for easier reading.
1080 - Add a lot of debug code to the authentication code.
1081 - Add seconds to the start/end times printed in the job report.
1082 19Nov04
1083 - Fix mutex deadlock in dequeue of messages.
1084 - Add debug code to FD authorization.
1085 18Nov04
1086 - Increase authentication timeouts to 10 minutes.  
1087 15Nov04
1088 - Fix cancel bug in FD on /lib/tls with zero pid in 
1089   pthread_kill.
1090 - Add date/time to all messages.
1091 - Make Qmsg use time message was queued rather than time
1092   printed.
1093 - Indent job output two spaces.
1094 13Nov04
1095 - Fix web page links for new manual.
1096 - Grant postgresql permission to cdimages.
1097 - Correct crash after "list nextvol" "list media" bug 160
1098 12Nov04
1099 - Fix scripts/Makefile.in missing ;\  -- thanks Martin
1100 - A bit of work on btape to keep if from going into infinite
1101   loops when things do not work well, and to print a bit
1102   better info.
1103 11Nov04
1104 - JobDefs Storage resource completely overrode anything
1105   specified in Job resource -- bug 159 -- fixed.
1106 - Fix syntax of renaming postgresql per Dan.
1107 - Add working_directory to be /tmp for wx_console.
1108 10Nov04
1109 - Allow both a JobId and a filename or list of files to be
1110   specified on a restore command line.
1111 - Save old mtx-changer before installing new one: bug 156
1112 - Fix errors in CDROM file pointed out by Scott.
1113 09Nov04
1114 - Fix exepath when Bacula executed without path.
1115 - Move test for socket libraries for Solaris in configure.in
1116   before tcp wrapper tests so that linking works.
1117 - Add "make copy-static-fd" to makefile in CDROM file to
1118   copy existing static fd to CDROM rather than building it.
1119 08Nov04
1120 - More doc updates
1121 - Fix ps command for OpenBSD
1122 - Rework the creation of indexes for SQL -- fall back
1123   to the old code, but document what can be added.
1124 06Nov04
1125 - Add new Daemon message handler in default DIR conf.
1126 05Nov04
1127 - Fix Seg Fault with -D100 in bpipe.c.    
1128 - Fix Seg Fault in run specifying a JobId.
1129 - Make mail from daemon with a Messages Resource use
1130   the MailCommand with editing rather than the default
1131   sendmail.
1132 - Replace Jmsg in dispatch_message() with Qmsg.
1133 - Make edit_job_codes handle NULL jcr.
1134 04Nov04
1135 - Add M_ALERT class and put tape alerts into it.
1136 - Fix Verify count vs found by not double counting files
1137   that are split across files/Volumes.
1138 30Oct04
1139 - Fix count returned from write_bsr_file() to handle multiple
1140   volumes. This fixes most cases of the Verify VolumeToCatalog.
1141 - Cleanup a bit the make clean for the rescue cdrom and remove
1142   unneeded files from the CVS.
1143 28Oct04
1144 - Fixed acquiring a tape so that it does not block all acquires
1145   when operator intervention is needed.
1146 - Platform build script updates from Scott
1147 - Doc updates
1148 - Add patch to force Linux LD_ASSUME_KERNEL to avoid using the
1149   new /lib/tls. This is done in the startup scripts.
1150 - Modify mtx-changer so that it checks for ONLINE while
1151   waiting.
1152 - Modify make_postgresql_tables.in so that EndBlock is stored
1153   as a bigint. Prevents job failures when a disk volume is
1154   larger than 2GB.
1155 24Oct04
1156 - Add grep ONLINE to wait_for_drive() in mtx-changer.in
1157 - More doc.
1158 - Rebuild Scott's new configure